   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 0x7fff4a07fb90> -> %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, %r2
  82  getfield_gc_r_pure %r1, FieldDescr<pypy.objspace.std.unicodeobject.W_UnicodeObject.inst__value> -> %r3
  87  L10:
  87  unicodelen %r3 -> %i1
  90  getfield_gc_i %r2, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_writetranslate> -> %i0
  95  -live- %i0, %i1, %r1, %r2, %r3
  95  goto_if_not %i0, L11
  99  getfield_gc_r %r2, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_writenl> -> %r0
 104  -live- %i1, %r0, %r1, %r2, %r3
 104  goto_if_not_ptr_nonzero %r0, L12
 108  unicodelen %r0 -> %i0
 111  -live- %i0, %i1, %r1, %r2, %r3
 111  goto_if_not_int_is_true %i0, L13
 115  L14:
 115  unicodelen %r3 -> %i0
 118  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
 129  -live- %i0, %i1, %r1, %r2, %r3
 129  goto_if_not_int_ge %i0, $0, L15
 134  getfield_gc_i %r2, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_writetranslate> -> %i0
 139  -live- %i0, %i1, %r1, %r2, %r3
 139  goto_if_not %i0, L16
 143  getfield_gc_r %r2, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_writenl> -> %r0
 148  -live- %i1, %r0, %r1, %r2, %r3
 148  goto_if_not_ptr_nonzero %r0, L17
 152  unicodelen %r0 -> %i0
 155  -live- %i0, %i1, %r0, %r1, %r2, %r3
 155  goto_if_not_int_is_true %i0, L18
 159  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x7fff4a581190> -> %r3
 163  setfield_gc_r %r3, $<* struct rpy_unicode>, FieldDescr<pypy.objspace.std.unicodeobject.W_UnicodeObject.inst__value>
 168  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x7fff4a581190> -> %r4
 172  setfield_gc_r %r4, %r0, FieldDescr<pypy.objspace.std.unicodeobject.W_UnicodeObject.inst__value>
 177  inline_call_r_r <JitCode 'call_method_opt__star_2'>, R[%r1, $<* struct rpy_string>, %r3, %r4] -> %r1
 186  -live- %i1, %r1, %r2
 186  -live- %i1, %r1, %r2
 186  guard_class %r1 -> %i0
 189  getfield_raw_i %i0, FieldDescr<pypy.interpreter.baseobjspace.W_Root_vtable.cls_unicode_w> -> %i0
 194  -live- %i0, %i1, %r1, %r2
 194  switch %i0, <SwitchDictDescr 0:L19, 1:L20, 2:L21>
 198  unreachable
 199  ---
 199  L19:
 199  -live- %i1, %r1, %r2
 199  getfield_gc_r_pure %r1, FieldDescr<pypy.objspace.std.unicodeobject.W_UnicodeObject.inst__value> -> %r3
 204  int_copy $True -> %i0
 207  L22:
 207  getfield_gc_i %r2, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_line_buffering> -> %i2
 212  -live- %i0, %i1, %i2, %r1, %r2, %r3
 212  goto_if_not_int_is_true %i2, L23
 216  -live- %i0, %i1, %r1, %r2, %r3
 216  goto_if_not %i0, L24
 220  int_copy $True -> %i2
 223  L25:
 223  getfield_gc_r %r2, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_w_encoder> -> %r0
 228  inline_call_r_r <JitCode 'call_method_opt__star_1'>, R[%r0, $<* struct rpy_string>, %r1] -> %r0
 236  -live- %i1, %i2, %r0, %r2
 236  -live- %i1, %i2, %r0, %r2
 236  guard_class %r0 -> %i0
 239  getfield_raw_i %i0, FieldDescr<pypy.interpreter.baseobjspace.W_Root_vtable.cls_str_w> -> %i0
 244  -live- %i0, %i1, %i2, %r0, %r2
 244  switch %i0, <SwitchDictDescr 0:L26, 1:L27, 2:L28>
 248  unreachable
 249  ---
 249  L26:
 249  -live- %r0
 249  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
 258  -live- %r0
 258  assert_not_none %r0
 260  -live- %r0
 260  guard_class %r0 -> %i0
 263  -live- %r0
 263  raise %r0
 265  ---
 265  L27:
 265  -live- %i1, %i2, %r0, %r2
 265  inline_call_r_r <JitCode 'W_UnicodeObject.str_w'>, R[%r0] -> %r1
 271  -live- %i1, %i2, %r1, %r2
 271  L29:
 271  getfield_gc_r %r2, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_pending_bytes> -> %r0
 276  -live- %i1, %i2, %r0, %r1, %r2
 276  goto_if_not_ptr_nonzero %r0, L30
 280  getfield_gc_i %r0, FieldDescr<list.length> -> %i0
 285  -live- %i0, %i1, %i2, %r1, %r2
 285  goto_if_not_int_is_true %i0, L31
 289  L32:
 289  getfield_gc_r %r2, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_pending_bytes> -> %r0
 294  getfield_gc_i %r0, FieldDescr<list.length> -> %i0
 299  int_add %i0, $1 -> %i3
 303  inline_call_ir_v <JitCode '_ll_list_resize_ge__listPtr_Signed'>, I[%i3], R[%r0]
 310  -live- %i0, %i1, %i2, %r0, %r1, %r2
 310  setlistitem_gc_r %r0, %i0, %r1, FieldDescr<list.items>, <rpython.jit.backend.llsupport.descr.ArrayDescr object at 0x7fff458f2500>
 318  getfield_gc_i %r2, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_pending_bytes_count> -> %i0
 323  strlen %r1 -> %i3
 326  int_add %i0, %i3 -> %i0
 330  setfield_gc_i %r2, %i0, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_pending_bytes_count>
 335  getfield_gc_i %r2, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_chunk_size> -> %i3
 340  -live- %i0, %i1, %i2, %i3, %r2
 340  goto_if_not_int_gt %i0, %i3, L33
 345  L34:
 345  residual_call_r_v $<* fn W_TextIOWrapper._writeflush>, R[%r2], <CallDescr(r) EF=7>
 351  -live- %i1, %i2, %r2
 351  -live- %i1, %i2, %r2
 351  goto_if_not %i2, L35
 355  getfield_gc_r %r2, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_w_buffer> -> %r0
 360  inline_call_r_r <JitCode 'call_method_opt__star_0'>, R[%r0, $<* struct rpy_string>] -> %r0
 367  -live- %i1, %r2
 367  L36:
 367  setfield_gc_r %r2, $<* struct pypy.module._io.interp_textio.PositionSnapshot>, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_snapshot>
 372  getfield_gc_r %r2, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_w_decoder> -> %r0
 377  -live- %i1, %r0
 377  goto_if_not_ptr_nonzero %r0, L37
 381  inline_call_r_r <JitCode 'call_method_opt__star_0'>, R[%r0, $<* struct rpy_string>] -> %r0
 388  -live- %i1
 388  L38:
 388  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x7fff47af5a00> -> %r0
 392  setfield_gc_i %r0, %i1, FieldDescr<pypy.objspace.std.intobject.W_IntObject.inst_intval>
 397  ref_return %r0
 399  ---
 399  L37:
 399  goto L38
 402  ---
 402  L35:
 402  goto L36
 405  ---
 405  L33:
 405  -live- %i1, %i2, %r2
 405  goto_if_not %i2, L39
 409  int_copy $True -> %i2
 412  goto L34
 415  ---
 415  L39:
 415  goto L36
 418  ---
 418  L31:
 418  L40:
 418  newlist $0, <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x7fff51ef81e0>, FieldDescr<list.length>, FieldDescr<list.items>, <rpython.jit.backend.llsupport.descr.ArrayDescr object at 0x7fff458f2500> -> %r0
 429  setfield_gc_r %r2, %r0, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_pending_bytes>
 434  setfield_gc_i %r2, $0, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_pending_bytes_count>
 439  goto L32
 442  ---
 442  L30:
 442  goto L40
 445  ---
 445  L28:
 445  -live- %i1, %i2, %r0, %r2
 445  getfield_gc_r_pure %r0, FieldDescr<pypy.objspace.std.bytesobject.W_BytesObject.inst__value> -> %r1
 450  goto L29
 453  ---
 453  L24:
 453  unicodelen %r3 -> %i0
 456  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
 467  -live- %i0, %i1, %r1, %r2
 467  goto_if_not_int_ge %i0, $0, L41
 472  int_copy $True -> %i2
 475  goto L25
 478  ---
 478  L41:
 478  int_copy $False -> %i2
 481  goto L25
 484  ---
 484  L23:
 484  int_copy $False -> %i2
 487  goto L25
 490  ---
 490  L20:
 490  -live- %r1
 490  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
 499  -live- %r0
 499  assert_not_none %r0
 501  -live- %r0
 501  guard_class %r0 -> %i0
 504  -live- %r0
 504  raise %r0
 506  ---
 506  L21:
 506  -live- %i1, %r1, %r2
 506  inline_call_r_r <JitCode 'W_AbstractBytesObject.unicode_w'>, R[%r1] -> %r3
 512  -live- %i1, %r1, %r2, %r3
 512  int_copy $True -> %i0
 515  goto L22
 518  ---
 518  L18:
 518  int_copy $True -> %i0
 521  goto L22
 524  ---
 524  L17:
 524  int_copy $True -> %i0
 527  goto L22
 530  ---
 530  L16:
 530  int_copy $True -> %i0
 533  goto L22
 536  ---
 536  L15:
 536  int_copy $False -> %i0
 539  goto L22
 542  ---
 542  L13:
 542  L42:
 542  getfield_gc_i %r2, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_line_buffering> -> %i0
 547  -live- %i0, %i1, %r1, %r2, %r3
 547  goto_if_not_int_is_true %i0, L43
 551  goto L14
 554  ---
 554  L43:
 554  int_copy $False -> %i0
 557  goto L22
 560  ---
 560  L12:
 560  goto L42
 563  ---
 563  L11:
 563  goto L42
 566  ---
 566  L8:
 566  -live- %r1
 566  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
 575  -live- %r0
 575  assert_not_none %r0
 577  -live- %r0
 577  guard_class %r0 -> %i0
 580  -live- %r0
 580  raise %r0
 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 0x7fff4698c9b0> -> %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 0x7fff4a07fb90> -> %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 0x7fff4a07fb90> -> %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 0x7fff4a07fb90> -> %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
