   0  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_state> -> %i0
   5  -live- %i0, %r0, %r1
   5  switch %i0, <SwitchDictDescr 0:L1, 2:L2>
   9  -live- %i0, %r0, %r1
   9  goto_if_not_int_is_zero %i0, L3
  13  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x7fff713b8960> -> %r0
  17  setfield_gc_r %r0, $<* struct rpy_string>, FieldDescr<pypy.interpreter.error.OpErrFmtNoArgs.inst__value>
  22  setfield_gc_r %r0, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
  27  assert_not_none %r0
  29  -live- %r0
  29  guard_class %r0 -> %i0
  32  -live- %r0
  32  raise %r0
  34  ---
  34  L3:
  34  ref_copy %r0 -> %r2
  37  inline_call_r_v <JitCode 'W_IOBase._check_closed'>, R[%r0, $<* struct rpy_string>]
  43  -live- %r1, %r2
  43  getfield_gc_r %r2, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_w_encoder> -> %r0
  48  -live- %r0, %r1, %r2
  48  goto_if_not_ptr_nonzero %r0, L4
  52  -live- %r1, %r2
  52  guard_class %r1 -> %i0
  55  getfield_raw_i %i0, FieldDescr<object_vtable.subclassrange_min> -> %i0
  60  int_between $TotalOrderSymbolic('compute_fn'), %i0, $TotalOrderSymbolic('compute_fn') -> %i0
  65  -live- %i0, %r1, %r2
  65  goto_if_not %i0, L5
  69  L6:
  69  -live- %r1, %r2
  69  guard_class %r1 -> %i0
  72  getfield_raw_i %i0, FieldDescr<pypy.interpreter.baseobjspace.W_Root_vtable.cls_unicode_w> -> %i0
  77  -live- %i0, %r1, %r2
  77  switch %i0, <SwitchDictDescr 0:L7, 1:L8, 2:L9>
  81  unreachable
  82  ---
  82  L7:
  82  -live- %r1
  82  inline_call_r_r <JitCode 'oefmt__expected__s__got__T_object_star_2'>, R[$<* struct pypy.objspace.std.typeobject.W_TypeObject>, $<* struct rpy_string>, $<* struct rpy_string>, %r1] -> %r0
  91  -live- %r0
  91  assert_not_none %r0
  93  -live- %r0
  93  guard_class %r0 -> %i0
  96  -live- %r0
  96  raise %r0
  98  ---
  98  L8:
  98  -live- %r1, %r2
  98  getfield_gc_r_pure %r1, FieldDescr<pypy.objspace.std.unicodeobject.W_UnicodeObject.inst__value> -> %r3
 103  L10:
 103  unicodelen %r3 -> %i1
 106  getfield_gc_i %r2, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_writetranslate> -> %i0
 111  -live- %i0, %i1, %r1, %r2, %r3
 111  goto_if_not %i0, L11
 115  getfield_gc_r %r2, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_writenl> -> %r0
 120  -live- %i1, %r0, %r1, %r2, %r3
 120  goto_if_not_ptr_nonzero %r0, L12
 124  unicodelen %r0 -> %i0
 127  -live- %i0, %i1, %r1, %r2, %r3
 127  goto_if_not_int_is_true %i0, L13
 131  L14:
 131  unicodelen %r3 -> %i0
 134  residual_call_ir_i $<* fn ll_find_char__rpy_unicodePtr_UniChar_Signed_Signed>, I[$u'\n', $0, %i0], R[%r3], <CallDescr(riii) EF=0> -> %i0
 145  -live- %i0, %i1, %r1, %r2, %r3
 145  goto_if_not_int_ge %i0, $0, L15
 150  getfield_gc_i %r2, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_writetranslate> -> %i0
 155  -live- %i0, %i1, %r1, %r2, %r3
 155  goto_if_not %i0, L16
 159  getfield_gc_r %r2, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_writenl> -> %r0
 164  -live- %i1, %r0, %r1, %r2, %r3
 164  goto_if_not_ptr_nonzero %r0, L17
 168  unicodelen %r0 -> %i0
 171  -live- %i0, %i1, %r0, %r1, %r2, %r3
 171  goto_if_not_int_is_true %i0, L18
 175  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x7fff5a09f0f0> -> %r3
 179  setfield_gc_r %r3, $<* struct rpy_unicode>, FieldDescr<pypy.objspace.std.unicodeobject.W_UnicodeObject.inst__value>
 184  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x7fff5a09f0f0> -> %r4
 188  setfield_gc_r %r4, %r0, FieldDescr<pypy.objspace.std.unicodeobject.W_UnicodeObject.inst__value>
 193  inline_call_r_r <JitCode 'call_method_opt__star_2'>, R[%r1, $<* struct rpy_string>, %r3, %r4] -> %r1
 202  -live- %i1, %r1, %r2
 202  -live- %i1, %r1, %r2
 202  guard_class %r1 -> %i0
 205  getfield_raw_i %i0, FieldDescr<pypy.interpreter.baseobjspace.W_Root_vtable.cls_unicode_w> -> %i0
 210  -live- %i0, %i1, %r1, %r2
 210  switch %i0, <SwitchDictDescr 0:L19, 1:L20, 2:L21>
 214  unreachable
 215  ---
 215  L19:
 215  -live- %r1
 215  inline_call_r_r <JitCode 'oefmt__expected__s__got__T_object_star_2'>, R[$<* struct pypy.objspace.std.typeobject.W_TypeObject>, $<* struct rpy_string>, $<* struct rpy_string>, %r1] -> %r0
 224  -live- %r0
 224  assert_not_none %r0
 226  -live- %r0
 226  guard_class %r0 -> %i0
 229  -live- %r0
 229  raise %r0
 231  ---
 231  L20:
 231  -live- %i1, %r1, %r2
 231  getfield_gc_r_pure %r1, FieldDescr<pypy.objspace.std.unicodeobject.W_UnicodeObject.inst__value> -> %r3
 236  int_copy $True -> %i0
 239  L22:
 239  getfield_gc_i %r2, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_line_buffering> -> %i2
 244  -live- %i0, %i1, %i2, %r1, %r2, %r3
 244  goto_if_not_int_is_true %i2, L23
 248  -live- %i0, %i1, %r1, %r2, %r3
 248  goto_if_not %i0, L24
 252  int_copy $True -> %i2
 255  L25:
 255  getfield_gc_r %r2, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_w_encoder> -> %r0
 260  inline_call_r_r <JitCode 'call_method_opt__star_1'>, R[%r0, $<* struct rpy_string>, %r1] -> %r0
 268  -live- %i1, %i2, %r0, %r2
 268  -live- %i1, %i2, %r0, %r2
 268  guard_class %r0 -> %i0
 271  getfield_raw_i %i0, FieldDescr<pypy.interpreter.baseobjspace.W_Root_vtable.cls_str_w> -> %i0
 276  -live- %i0, %i1, %i2, %r0, %r2
 276  switch %i0, <SwitchDictDescr 0:L26, 1:L27, 2:L28>
 280  unreachable
 281  ---
 281  L26:
 281  -live- %r0
 281  inline_call_r_r <JitCode 'oefmt__expected__s__got__T_object_star_2'>, R[$<* struct pypy.objspace.std.typeobject.W_TypeObject>, $<* struct rpy_string>, $<* struct rpy_string>, %r0] -> %r0
 290  -live- %r0
 290  assert_not_none %r0
 292  -live- %r0
 292  guard_class %r0 -> %i0
 295  -live- %r0
 295  raise %r0
 297  ---
 297  L27:
 297  -live- %i1, %i2, %r0, %r2
 297  inline_call_r_r <JitCode 'W_UnicodeObject.str_w'>, R[%r0] -> %r1
 303  -live- %i1, %i2, %r1, %r2
 303  L29:
 303  getfield_gc_r %r2, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_pending_bytes> -> %r0
 308  -live- %i1, %i2, %r0, %r1, %r2
 308  goto_if_not_ptr_nonzero %r0, L30
 312  getfield_gc_i %r0, FieldDescr<list.length> -> %i0
 317  -live- %i0, %i1, %i2, %r1, %r2
 317  goto_if_not_int_is_true %i0, L31
 321  L32:
 321  getfield_gc_r %r2, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_pending_bytes> -> %r0
 326  getfield_gc_i %r0, FieldDescr<list.length> -> %i0
 331  int_add %i0, $1 -> %i3
 335  inline_call_ir_v <JitCode '_ll_list_resize_ge__listPtr_Signed'>, I[%i3], R[%r0]
 342  -live- %i0, %i1, %i2, %r0, %r1, %r2
 342  setlistitem_gc_r %r0, %i0, %r1, FieldDescr<list.items>, <rpython.jit.backend.llsupport.descr.ArrayDescr object at 0x7fff52d1c5f0>
 350  getfield_gc_i %r2, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_pending_bytes_count> -> %i0
 355  strlen %r1 -> %i3
 358  int_add %i0, %i3 -> %i0
 362  setfield_gc_i %r2, %i0, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_pending_bytes_count>
 367  getfield_gc_i %r2, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_chunk_size> -> %i3
 372  -live- %i0, %i1, %i2, %i3, %r2
 372  goto_if_not_int_gt %i0, %i3, L33
 377  L34:
 377  residual_call_r_v $<* fn W_TextIOWrapper._writeflush>, R[%r2], <CallDescr(r) EF=7>
 383  -live- %i1, %i2, %r2
 383  -live- %i1, %i2, %r2
 383  goto_if_not %i2, L35
 387  getfield_gc_r %r2, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_w_buffer> -> %r0
 392  inline_call_r_r <JitCode 'call_method_opt__star_0'>, R[%r0, $<* struct rpy_string>] -> %r0
 399  -live- %i1, %r2
 399  L36:
 399  setfield_gc_r %r2, $<* struct pypy.module._io.interp_textio.PositionSnapshot>, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_snapshot>
 404  getfield_gc_r %r2, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_w_decoder> -> %r0
 409  -live- %i1, %r0
 409  goto_if_not_ptr_nonzero %r0, L37
 413  inline_call_r_r <JitCode 'call_method_opt__star_0'>, R[%r0, $<* struct rpy_string>] -> %r0
 420  -live- %i1
 420  L38:
 420  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x7fff5768f2d0> -> %r0
 424  setfield_gc_i %r0, %i1, FieldDescr<pypy.objspace.std.intobject.W_IntObject.inst_intval>
 429  ref_return %r0
 431  ---
 431  L37:
 431  goto L38
 434  ---
 434  L35:
 434  goto L36
 437  ---
 437  L33:
 437  -live- %i1, %i2, %r2
 437  goto_if_not %i2, L39
 441  int_copy $True -> %i2
 444  goto L34
 447  ---
 447  L39:
 447  goto L36
 450  ---
 450  L31:
 450  L40:
 450  newlist $0, <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x7fff4b7fbd20>, FieldDescr<list.length>, FieldDescr<list.items>, <rpython.jit.backend.llsupport.descr.ArrayDescr object at 0x7fff52d1c5f0> -> %r0
 461  setfield_gc_r %r2, %r0, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_pending_bytes>
 466  setfield_gc_i %r2, $0, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_pending_bytes_count>
 471  goto L32
 474  ---
 474  L30:
 474  goto L40
 477  ---
 477  L28:
 477  -live- %i1, %i2, %r0, %r2
 477  getfield_gc_r_pure %r0, FieldDescr<pypy.objspace.std.bytesobject.W_BytesObject.inst__value> -> %r1
 482  goto L29
 485  ---
 485  L24:
 485  unicodelen %r3 -> %i0
 488  residual_call_ir_i $<* fn ll_find_char__rpy_unicodePtr_UniChar_Signed_Signed>, I[$u'\r', $0, %i0], R[%r3], <CallDescr(riii) EF=0> -> %i0
 499  -live- %i0, %i1, %r1, %r2
 499  goto_if_not_int_ge %i0, $0, L41
 504  int_copy $True -> %i2
 507  goto L25
 510  ---
 510  L41:
 510  int_copy $False -> %i2
 513  goto L25
 516  ---
 516  L23:
 516  int_copy $False -> %i2
 519  goto L25
 522  ---
 522  L21:
 522  -live- %i1, %r1, %r2
 522  inline_call_r_r <JitCode 'W_AbstractBytesObject.unicode_w'>, R[%r1] -> %r3
 528  -live- %i1, %r1, %r2, %r3
 528  int_copy $True -> %i0
 531  goto L22
 534  ---
 534  L18:
 534  int_copy $True -> %i0
 537  goto L22
 540  ---
 540  L17:
 540  int_copy $True -> %i0
 543  goto L22
 546  ---
 546  L16:
 546  int_copy $True -> %i0
 549  goto L22
 552  ---
 552  L15:
 552  int_copy $False -> %i0
 555  goto L22
 558  ---
 558  L13:
 558  L42:
 558  getfield_gc_i %r2, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_line_buffering> -> %i0
 563  -live- %i0, %i1, %r1, %r2, %r3
 563  goto_if_not_int_is_true %i0, L43
 567  goto L14
 570  ---
 570  L43:
 570  int_copy $False -> %i0
 573  goto L22
 576  ---
 576  L12:
 576  goto L42
 579  ---
 579  L11:
 579  goto L42
 582  ---
 582  L9:
 582  -live- %r1, %r2
 582  inline_call_r_r <JitCode 'W_AbstractBytesObject.unicode_w'>, R[%r1] -> %r3
 588  -live- %r1, %r2, %r3
 588  goto L10
 591  ---
 591  L5:
 591  -live- %r1, %r2
 591  guard_class %r1 -> %i0
 594  -live- %i0, %r1, %r2
 594  int_guard_value %i0
 596  -live- %r1, %r2
 596  guard_class %r1 -> %i0
 599  getfield_raw_i %i0, FieldDescr<pypy.interpreter.baseobjspace.W_Root_vtable.cls_getclass> -> %i0
 604  getfield_raw_i %i0, FieldDescr<specfunc.variant0> -> %i0
 609  -live- %i0, %r1, %r2
 609  int_guard_value %i0
 611  residual_call_r_r %i0, <IndirectCallTargets>, R[%r1], <CallDescr(r) EF=2> -> %r0
 618  -live- %r0, %r1, %r2
 618  inline_call_r_i <JitCode 'W_TypeObject.issubtype'>, R[%r0, $<* struct pypy.objspace.std.typeobject.W_TypeObject>] -> %i0
 625  -live- %i0, %r1, %r2
 625  -live- %i0, %r1, %r2
 625  goto_if_not %i0, L44
 629  goto L6
 632  ---
 632  L44:
 632  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x7fff4b30e050> -> %r0
 636  setfield_gc_r %r0, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
 641  setfield_gc_r %r0, $<* struct tuple2>, FieldDescr<pypy.interpreter.error.OpErrFmt.inst_xstrings>
 646  setfield_gc_r %r0, %r1, FieldDescr<pypy.interpreter.error.OpErrFmt.inst_x0>
 651  assert_not_none %r0
 653  -live- %r0
 653  guard_class %r0 -> %i0
 656  -live- %r0
 656  raise %r0
 658  ---
 658  L4:
 658  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x7fff713b8960> -> %r0
 662  setfield_gc_r %r0, $<* struct rpy_string>, FieldDescr<pypy.interpreter.error.OpErrFmtNoArgs.inst__value>
 667  setfield_gc_r %r0, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
 672  assert_not_none %r0
 674  -live- %r0
 674  guard_class %r0 -> %i0
 677  -live- %r0
 677  raise %r0
 679  ---
 679  L1:
 679  -live-
 679  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x7fff713b8960> -> %r0
 683  setfield_gc_r %r0, $<* struct rpy_string>, FieldDescr<pypy.interpreter.error.OpErrFmtNoArgs.inst__value>
 688  setfield_gc_r %r0, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
 693  assert_not_none %r0
 695  -live- %r0
 695  guard_class %r0 -> %i0
 698  -live- %r0
 698  raise %r0
 700  ---
 700  L2:
 700  -live-
 700  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x7fff713b8960> -> %r0
 704  setfield_gc_r %r0, $<* struct rpy_string>, FieldDescr<pypy.interpreter.error.OpErrFmtNoArgs.inst__value>
 709  setfield_gc_r %r0, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
 714  assert_not_none %r0
 716  -live- %r0
 716  guard_class %r0 -> %i0
 719  -live- %r0
 719  raise %r0
