   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 0x503446d0> -> %r2
  17  setfield_gc_r %r2, $<* struct rpy_string>, FieldDescr<pypy.interpreter.error.OpErrFmtNoArgs.inst__value>
  22  setfield_gc_r %r2, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
  27  assert_not_none %r2
  29  -live- %r2
  29  guard_class %r2 -> %i0
  32  -live- %r2
  32  raise %r2
  34  ---
  34  L3:
  34  ref_copy %r0 -> %r2
  37  inline_call_r_v <JitCode 'W_IOBase._check_closed'>, R[%r2, $<* struct rpy_string>]
  43  -live- %r0, %r1
  43  getfield_gc_r %r0, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_w_encoder> -> %r2
  48  -live- %r0, %r1, %r2
  48  goto_if_not_ptr_nonzero %r2, L4
  52  -live- %r0, %r1
  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, %r0, %r1
  65  goto_if_not %i0, L5
  69  L6:
  69  -live- %r0, %r1
  69  guard_class %r1 -> %i0
  72  getfield_raw_i %i0, FieldDescr<pypy.interpreter.baseobjspace.W_Root_vtable.cls_unicode_w> -> %i0
  77  -live- %i0, %r0, %r1
  77  switch %i0, <SwitchDictDescr 0:L7, 1:L8, 2:L9>
  81  unreachable
  82  ---
  82  L7:
  82  -live- %r0, %r1
  82  inline_call_r_r <JitCode 'W_AbstractBytesObject.unicode_w'>, R[%r1] -> %r3
  88  -live- %r0, %r1, %r3
  88  L10:
  88  unicodelen %r3 -> %i1
  91  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_writetranslate> -> %i0
  96  -live- %i0, %i1, %r0, %r1, %r3
  96  goto_if_not %i0, L11
 100  getfield_gc_r %r0, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_writenl> -> %r2
 105  -live- %i1, %r0, %r1, %r2, %r3
 105  goto_if_not_ptr_nonzero %r2, L12
 109  unicodelen %r2 -> %i0
 112  -live- %i0, %i1, %r0, %r1, %r3
 112  goto_if_not_int_is_true %i0, L13
 116  L14:
 116  unicodelen %r3 -> %i0
 119  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
 130  -live- %i0, %i1, %r0, %r1, %r3
 130  goto_if_not_int_ge %i0, $0, L15
 135  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_writetranslate> -> %i0
 140  -live- %i0, %i1, %r0, %r1, %r3
 140  goto_if_not %i0, L16
 144  getfield_gc_r %r0, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_writenl> -> %r2
 149  -live- %i1, %r0, %r1, %r2, %r3
 149  goto_if_not_ptr_nonzero %r2, L17
 153  unicodelen %r2 -> %i0
 156  -live- %i0, %i1, %r0, %r1, %r2, %r3
 156  goto_if_not_int_is_true %i0, L18
 160  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x50c46db0> -> %r3
 164  setfield_gc_r %r3, $<* struct rpy_unicode>, FieldDescr<pypy.objspace.std.unicodeobject.W_UnicodeObject.inst__value>
 169  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x50c46db0> -> %r4
 173  setfield_gc_r %r4, %r2, FieldDescr<pypy.objspace.std.unicodeobject.W_UnicodeObject.inst__value>
 178  inline_call_r_r <JitCode 'call_method_opt__star_2'>, R[%r1, $<* struct rpy_string>, %r3, %r4] -> %r1
 187  -live- %i1, %r0, %r1
 187  -live- %i1, %r0, %r1
 187  guard_class %r1 -> %i0
 190  getfield_raw_i %i0, FieldDescr<pypy.interpreter.baseobjspace.W_Root_vtable.cls_unicode_w> -> %i0
 195  -live- %i0, %i1, %r0, %r1
 195  switch %i0, <SwitchDictDescr 0:L19, 1:L20, 2:L21>
 199  unreachable
 200  ---
 200  L19:
 200  -live- %i1, %r0, %r1
 200  inline_call_r_r <JitCode 'W_AbstractBytesObject.unicode_w'>, R[%r1] -> %r3
 206  -live- %i1, %r0, %r1, %r3
 206  int_copy $True -> %i0
 209  L22:
 209  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_line_buffering> -> %i2
 214  -live- %i0, %i1, %i2, %r0, %r1, %r3
 214  goto_if_not_int_is_true %i2, L23
 218  -live- %i0, %i1, %r0, %r1, %r3
 218  goto_if_not %i0, L24
 222  int_copy $True -> %i2
 225  L25:
 225  getfield_gc_r %r0, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_w_encoder> -> %r2
 230  inline_call_r_r <JitCode 'call_method_opt__star_1'>, R[%r2, $<* struct rpy_string>, %r1] -> %r2
 238  -live- %i1, %i2, %r0, %r2
 238  -live- %i1, %i2, %r0, %r2
 238  guard_class %r2 -> %i0
 241  getfield_raw_i %i0, FieldDescr<pypy.interpreter.baseobjspace.W_Root_vtable.cls_str_w> -> %i0
 246  -live- %i0, %i1, %i2, %r0, %r2
 246  switch %i0, <SwitchDictDescr 0:L26, 1:L27, 2:L28>
 250  unreachable
 251  ---
 251  L26:
 251  -live- %i1, %i2, %r0, %r2
 251  inline_call_r_r <JitCode 'W_UnicodeObject.str_w'>, R[%r2] -> %r1
 257  -live- %i1, %i2, %r0, %r1
 257  L29:
 257  getfield_gc_r %r0, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_pending_bytes> -> %r2
 262  -live- %i1, %i2, %r0, %r1, %r2
 262  goto_if_not_ptr_nonzero %r2, L30
 266  getfield_gc_i %r2, FieldDescr<list.length> -> %i0
 271  -live- %i0, %i1, %i2, %r0, %r1
 271  goto_if_not_int_is_true %i0, L31
 275  L32:
 275  getfield_gc_r %r0, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_pending_bytes> -> %r2
 280  getfield_gc_i %r2, FieldDescr<list.length> -> %i0
 285  int_add %i0, $1 -> %i3
 289  inline_call_ir_v <JitCode '_ll_list_resize_ge__listPtr_Signed'>, I[%i3], R[%r2]
 296  -live- %i0, %i1, %i2, %r0, %r1, %r2
 296  setlistitem_gc_r %r2, %i0, %r1, FieldDescr<list.items>, <rpython.jit.backend.llsupport.descr.ArrayDescr object at 0x50876650>
 304  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_pending_bytes_count> -> %i0
 309  strlen %r1 -> %i3
 312  int_add %i0, %i3 -> %i0
 316  setfield_gc_i %r0, %i0, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_pending_bytes_count>
 321  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_chunk_size> -> %i3
 326  -live- %i0, %i1, %i2, %i3, %r0
 326  goto_if_not_int_gt %i0, %i3, L33
 331  L34:
 331  residual_call_r_v $<* fn W_TextIOWrapper._writeflush>, R[%r0], <CallDescr(r) EF=7>
 337  -live- %i1, %i2, %r0
 337  -live- %i1, %i2, %r0
 337  goto_if_not %i2, L35
 341  getfield_gc_r %r0, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_w_buffer> -> %r2
 346  inline_call_r_r <JitCode 'call_method_opt__star_0'>, R[%r2, $<* struct rpy_string>] -> %r2
 353  -live- %i1, %r0
 353  L36:
 353  setfield_gc_r %r0, $<* struct pypy.module._io.interp_textio.PositionSnapshot>, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_snapshot>
 358  getfield_gc_r %r0, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_w_decoder> -> %r2
 363  -live- %i1, %r2
 363  goto_if_not_ptr_nonzero %r2, L37
 367  inline_call_r_r <JitCode 'call_method_opt__star_0'>, R[%r2, $<* struct rpy_string>] -> %r2
 374  -live- %i1
 374  L38:
 374  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x50c45db0> -> %r2
 378  setfield_gc_i %r2, %i1, FieldDescr<pypy.objspace.std.intobject.W_IntObject.inst_intval>
 383  ref_return %r2
 385  ---
 385  L37:
 385  goto L38
 388  ---
 388  L35:
 388  goto L36
 391  ---
 391  L33:
 391  -live- %i1, %i2, %r0
 391  goto_if_not %i2, L39
 395  int_copy $True -> %i2
 398  goto L34
 401  ---
 401  L39:
 401  goto L36
 404  ---
 404  L31:
 404  L40:
 404  newlist $0, <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x508679b0>, FieldDescr<list.length>, FieldDescr<list.items>, <rpython.jit.backend.llsupport.descr.ArrayDescr object at 0x50876650> -> %r2
 415  setfield_gc_r %r0, %r2, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_pending_bytes>
 420  setfield_gc_i %r0, $0, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_pending_bytes_count>
 425  goto L32
 428  ---
 428  L30:
 428  goto L40
 431  ---
 431  L27:
 431  -live- %i1, %i2, %r0, %r2
 431  getfield_gc_r_pure %r2, FieldDescr<pypy.objspace.std.bytesobject.W_BytesObject.inst__value> -> %r1
 436  goto L29
 439  ---
 439  L28:
 439  -live- %r2
 439  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>, %r2] -> %r2
 448  -live- %r2
 448  assert_not_none %r2
 450  -live- %r2
 450  guard_class %r2 -> %i0
 453  -live- %r2
 453  raise %r2
 455  ---
 455  L24:
 455  unicodelen %r3 -> %i0
 458  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
 469  -live- %i0, %i1, %r0, %r1
 469  goto_if_not_int_ge %i0, $0, L41
 474  int_copy $True -> %i2
 477  goto L25
 480  ---
 480  L41:
 480  int_copy $False -> %i2
 483  goto L25
 486  ---
 486  L23:
 486  int_copy $False -> %i2
 489  goto L25
 492  ---
 492  L20:
 492  -live- %i1, %r0, %r1
 492  getfield_gc_r_pure %r1, FieldDescr<pypy.objspace.std.unicodeobject.W_UnicodeObject.inst__value> -> %r3
 497  int_copy $True -> %i0
 500  goto L22
 503  ---
 503  L21:
 503  -live- %r1
 503  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] -> %r2
 512  -live- %r2
 512  assert_not_none %r2
 514  -live- %r2
 514  guard_class %r2 -> %i0
 517  -live- %r2
 517  raise %r2
 519  ---
 519  L18:
 519  int_copy $True -> %i0
 522  goto L22
 525  ---
 525  L17:
 525  int_copy $True -> %i0
 528  goto L22
 531  ---
 531  L16:
 531  int_copy $True -> %i0
 534  goto L22
 537  ---
 537  L15:
 537  int_copy $False -> %i0
 540  goto L22
 543  ---
 543  L13:
 543  L42:
 543  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_line_buffering> -> %i0
 548  -live- %i0, %i1, %r0, %r1, %r3
 548  goto_if_not_int_is_true %i0, L43
 552  goto L14
 555  ---
 555  L43:
 555  int_copy $False -> %i0
 558  goto L22
 561  ---
 561  L12:
 561  goto L42
 564  ---
 564  L11:
 564  goto L42
 567  ---
 567  L8:
 567  -live- %r0, %r1
 567  getfield_gc_r_pure %r1, FieldDescr<pypy.objspace.std.unicodeobject.W_UnicodeObject.inst__value> -> %r3
 572  goto L10
 575  ---
 575  L9:
 575  -live- %r1
 575  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] -> %r2
 584  -live- %r2
 584  assert_not_none %r2
 586  -live- %r2
 586  guard_class %r2 -> %i0
 589  -live- %r2
 589  raise %r2
 591  ---
 591  L5:
 591  -live- %r0, %r1
 591  guard_class %r1 -> %i0
 594  -live- %i0, %r0, %r1
 594  int_guard_value %i0
 596  -live- %r0, %r1
 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, %r0, %r1
 609  int_guard_value %i0
 611  residual_call_r_r %i0, <IndirectCallTargets>, R[%r1], <CallDescr(r) EF=2> -> %r2
 618  -live- %r0, %r1, %r2
 618  inline_call_r_i <JitCode 'W_TypeObject.issubtype'>, R[%r2, $<* struct pypy.objspace.std.typeobject.W_TypeObject>] -> %i0
 625  -live- %i0, %r0, %r1
 625  -live- %i0, %r0, %r1
 625  goto_if_not %i0, L44
 629  goto L6
 632  ---
 632  L44:
 632  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x5073a3f0> -> %r2
 636  setfield_gc_r %r2, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
 641  setfield_gc_r %r2, $<* struct tuple2>, FieldDescr<pypy.interpreter.error.OpErrFmt.inst_xstrings>
 646  setfield_gc_r %r2, %r1, FieldDescr<pypy.interpreter.error.OpErrFmt.inst_x0>
 651  assert_not_none %r2
 653  -live- %r2
 653  guard_class %r2 -> %i0
 656  -live- %r2
 656  raise %r2
 658  ---
 658  L4:
 658  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x503446d0> -> %r2
 662  setfield_gc_r %r2, $<* struct rpy_string>, FieldDescr<pypy.interpreter.error.OpErrFmtNoArgs.inst__value>
 667  setfield_gc_r %r2, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
 672  assert_not_none %r2
 674  -live- %r2
 674  guard_class %r2 -> %i0
 677  -live- %r2
 677  raise %r2
 679  ---
 679  L1:
 679  -live-
 679  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x503446d0> -> %r2
 683  setfield_gc_r %r2, $<* struct rpy_string>, FieldDescr<pypy.interpreter.error.OpErrFmtNoArgs.inst__value>
 688  setfield_gc_r %r2, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
 693  assert_not_none %r2
 695  -live- %r2
 695  guard_class %r2 -> %i0
 698  -live- %r2
 698  raise %r2
 700  ---
 700  L2:
 700  -live-
 700  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x503446d0> -> %r2
 704  setfield_gc_r %r2, $<* struct rpy_string>, FieldDescr<pypy.interpreter.error.OpErrFmtNoArgs.inst__value>
 709  setfield_gc_r %r2, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
 714  assert_not_none %r2
 716  -live- %r2
 716  guard_class %r2 -> %i0
 719  -live- %r2
 719  raise %r2
