   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 0x000002aabbb1b8a0> -> %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  inline_call_r_r <JitCode 'convert_arg_to_w_unicode'>, R[%r1, $<* struct rpy_string>] -> %r2
  76  -live- %r0, %r1, %r2
  76  getfield_gc_r_pure %r2, FieldDescr<pypy.objspace.std.unicodeobject.W_UnicodeObject.inst__utf8> -> %r3
  81  getfield_gc_i %r2, FieldDescr<pypy.objspace.std.unicodeobject.W_UnicodeObject.inst__length> -> %i1
  86  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_writetranslate> -> %i0
  91  -live- %i0, %i1, %r0, %r1, %r3
  91  goto_if_not %i0, L7
  95  getfield_gc_r %r0, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_writenl> -> %r2
 100  -live- %i1, %r0, %r1, %r2, %r3
 100  goto_if_not_ptr_nonzero %r2, L8
 104  strlen %r2 -> %i0
 107  -live- %i0, %i1, %r0, %r1, %r3
 107  goto_if_not_int_is_true %i0, L9
 111  L10:
 111  strlen %r3 -> %i0
 114  residual_call_ir_i $<* fn ll_find_char__rpy_stringPtr_Char_Signed_Signed>, I[$'\n', $0, %i0], R[%r3], <CallDescr(riii) EF=0> -> %i0
 125  -live- %i0, %i1, %r0, %r1, %r3
 125  goto_if_not_int_ge %i0, $0, L11
 130  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_writetranslate> -> %i0
 135  -live- %i0, %i1, %r0, %r1, %r3
 135  goto_if_not %i0, L12
 139  getfield_gc_r %r0, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_writenl> -> %r2
 144  -live- %i1, %r0, %r1, %r2, %r3
 144  goto_if_not_ptr_nonzero %r2, L13
 148  strlen %r2 -> %i0
 151  -live- %i0, %i1, %r0, %r1, %r2, %r3
 151  goto_if_not_int_is_true %i0, L14
 155  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x000002aac551d398> -> %r3
 159  setfield_gc_r %r3, $<* struct rpy_string>, FieldDescr<pypy.objspace.std.unicodeobject.W_UnicodeObject.inst__utf8>
 164  setfield_gc_i %r3, $1, FieldDescr<pypy.objspace.std.unicodeobject.W_UnicodeObject.inst__length>
 169  setfield_gc_r %r3, $<* None>, FieldDescr<pypy.objspace.std.unicodeobject.W_UnicodeObject.inst__index_storage>
 174  residual_call_ir_i $<* fn codepoints_in_utf8>, I[$0, $9223372036854775807], R[%r2], <CallDescr(rii) EF=4> -> %i0
 184  -live- %i0, %i1, %r0, %r1, %r2, %r3
 184  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x000002aac551d398> -> %r4
 188  setfield_gc_r %r4, %r2, FieldDescr<pypy.objspace.std.unicodeobject.W_UnicodeObject.inst__utf8>
 193  setfield_gc_i %r4, %i0, FieldDescr<pypy.objspace.std.unicodeobject.W_UnicodeObject.inst__length>
 198  setfield_gc_r %r4, $<* None>, FieldDescr<pypy.objspace.std.unicodeobject.W_UnicodeObject.inst__index_storage>
 203  inline_call_r_r <JitCode 'call_method_opt__star_2'>, R[%r1, $<* struct rpy_string>, %r3, %r4] -> %r1
 212  -live- %i1, %r0, %r1
 212  -live- %i1, %r0, %r1
 212  guard_class %r1 -> %i0
 215  getfield_raw_i %i0, FieldDescr<pypy.interpreter.baseobjspace.W_Root_vtable.cls_utf8_w> -> %i0
 220  -live- %i0, %i1, %r0, %r1
 220  switch %i0, <SwitchDictDescr 0:L15, 1:L16, 2:L17>
 224  unreachable
 225  ---
 225  L15:
 225  -live- %i1, %r0, %r1
 225  getfield_gc_r_pure %r1, FieldDescr<pypy.objspace.std.unicodeobject.W_UnicodeObject.inst__utf8> -> %r3
 230  int_copy $True -> %i0
 233  L18:
 233  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_line_buffering> -> %i2
 238  -live- %i0, %i1, %i2, %r0, %r1, %r3
 238  goto_if_not_int_is_true %i2, L19
 242  -live- %i0, %i1, %r0, %r1, %r3
 242  goto_if_not %i0, L20
 246  int_copy $True -> %i2
 249  L21:
 249  getfield_gc_r %r0, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_w_encoder> -> %r2
 254  inline_call_r_r <JitCode 'call_method_opt__star_1'>, R[%r2, $<* struct rpy_string>, %r1] -> %r1
 262  -live- %i1, %i2, %r0, %r1
 262  -live- %i1, %i2, %r0, %r1
 262  guard_class %r1 -> %i0
 265  getfield_raw_i %i0, FieldDescr<object_vtable.subclassrange_min> -> %i0
 270  int_between $TotalOrderSymbolic('compute_fn'), %i0, $TotalOrderSymbolic('compute_fn') -> %i0
 275  -live- %i0, %i1, %i2, %r0, %r1
 275  goto_if_not %i0, L22
 279  L23:
 279  -live- %i1, %i2, %r0, %r1
 279  guard_class %r1 -> %i0
 282  getfield_raw_i %i0, FieldDescr<pypy.interpreter.baseobjspace.W_Root_vtable.cls_str_w> -> %i0
 287  -live- %i0, %i1, %i2, %r0, %r1
 287  switch %i0, <SwitchDictDescr 0:L24, 1:L25, 2:L26>
 291  unreachable
 292  ---
 292  L24:
 292  -live- %i1, %i2, %r0, %r1
 292  inline_call_r_r <JitCode 'W_UnicodeObject.str_w'>, R[%r1] -> %r1
 298  -live- %i1, %i2, %r0, %r1
 298  L27:
 298  getfield_gc_r %r0, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_pending_bytes> -> %r2
 303  -live- %i1, %i2, %r0, %r1, %r2
 303  goto_if_not_ptr_nonzero %r2, L28
 307  getfield_gc_i %r2, FieldDescr<list.length> -> %i0
 312  -live- %i0, %i1, %i2, %r0, %r1
 312  goto_if_not_int_is_true %i0, L29
 316  L30:
 316  getfield_gc_r %r0, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_pending_bytes> -> %r2
 321  getfield_gc_i %r2, FieldDescr<list.length> -> %i0
 326  int_add %i0, $1 -> %i3
 330  inline_call_ir_v <JitCode '_ll_list_resize_ge__listPtr_Signed'>, I[%i3], R[%r2]
 337  -live- %i0, %i1, %i2, %r0, %r1, %r2
 337  setlistitem_gc_r %r2, %i0, %r1, FieldDescr<list.items>, <rpython.jit.backend.llsupport.descr.ArrayDescr object at 0x000002aac3d277f8>
 345  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_pending_bytes_count> -> %i0
 350  strlen %r1 -> %i3
 353  int_add %i0, %i3 -> %i0
 357  setfield_gc_i %r0, %i0, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_pending_bytes_count>
 362  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_chunk_size> -> %i3
 367  -live- %i0, %i1, %i2, %i3, %r0
 367  goto_if_not_int_gt %i0, %i3, L31
 372  L32:
 372  getfield_gc_r %r0, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_pending_bytes> -> %r2
 377  -live- %i1, %i2, %r0, %r2
 377  goto_if_not_ptr_nonzero %r2, L33
 381  getfield_gc_i %r2, FieldDescr<list.length> -> %i0
 386  -live- %i0, %i1, %i2, %r0
 386  goto_if_not_int_is_true %i0, L34
 390  residual_call_r_v $<* fn W_TextIOWrapper._really_flush>, R[%r0], <CallDescr(r) EF=7>
 396  -live- %i1, %i2, %r0
 396  L35:
 396  -live- %i1, %i2, %r0
 396  goto_if_not %i2, L36
 400  getfield_gc_r %r0, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_w_buffer> -> %r2
 405  inline_call_r_r <JitCode 'call_method_opt__star_0'>, R[%r2, $<* struct rpy_string>] -> %r2
 412  -live- %i1, %r0
 412  L37:
 412  getfield_gc_r %r0, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_decoded> -> %r2
 417  setfield_gc_r %r2, $<* struct rpy_string>, FieldDescr<pypy.module._io.interp_textio.DecodeBuffer.inst_text>
 422  setfield_gc_i %r2, $0, FieldDescr<pypy.module._io.interp_textio.DecodeBuffer.inst_pos>
 427  setfield_gc_i %r2, $0, FieldDescr<pypy.module._io.interp_textio.DecodeBuffer.inst_upos>
 432  setfield_gc_i %r2, $-1, FieldDescr<pypy.module._io.interp_textio.DecodeBuffer.inst_ulen>
 437  setfield_gc_r %r0, $<* struct pypy.module._io.interp_textio.PositionSnapshot>, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_snapshot>
 442  getfield_gc_r %r0, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_w_decoder> -> %r2
 447  -live- %i1, %r2
 447  goto_if_not_ptr_nonzero %r2, L38
 451  inline_call_r_r <JitCode 'call_method_opt__star_0'>, R[%r2, $<* struct rpy_string>] -> %r2
 458  -live- %i1
 458  L39:
 458  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x000002aac55491a0> -> %r2
 462  setfield_gc_i %r2, %i1, FieldDescr<pypy.objspace.std.intobject.W_IntObject.inst_intval>
 467  ref_return %r2
 469  ---
 469  L38:
 469  goto L39
 472  ---
 472  L36:
 472  goto L37
 475  ---
 475  L34:
 475  goto L35
 478  ---
 478  L33:
 478  goto L35
 481  ---
 481  L31:
 481  -live- %i1, %i2, %r0
 481  goto_if_not %i2, L40
 485  int_copy $True -> %i2
 488  goto L32
 491  ---
 491  L40:
 491  goto L37
 494  ---
 494  L29:
 494  L41:
 494  newlist $0, <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x000002aab8f21a98>, FieldDescr<list.length>, FieldDescr<list.items>, <rpython.jit.backend.llsupport.descr.ArrayDescr object at 0x000002aac3d277f8> -> %r2
 505  setfield_gc_r %r0, %r2, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_pending_bytes>
 510  setfield_gc_i %r0, $0, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_pending_bytes_count>
 515  goto L30
 518  ---
 518  L28:
 518  goto L41
 521  ---
 521  L25:
 521  -live- %i1, %i2, %r0, %r1
 521  getfield_gc_r_pure %r1, FieldDescr<pypy.objspace.std.bytesobject.W_BytesObject.inst__value> -> %r1
 526  goto L27
 529  ---
 529  L26:
 529  -live- %r1
 529  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
 538  -live- %r2
 538  assert_not_none %r2
 540  -live- %r2
 540  guard_class %r2 -> %i0
 543  -live- %r2
 543  raise %r2
 545  ---
 545  L22:
 545  -live- %i1, %i2, %r0, %r1
 545  guard_class %r1 -> %i0
 548  -live- %i0, %i1, %i2, %r0, %r1
 548  int_guard_value %i0
 550  -live- %i1, %i2, %r0, %r1
 550  guard_class %r1 -> %i0
 553  getfield_raw_i %i0, FieldDescr<pypy.interpreter.baseobjspace.W_Root_vtable.cls_getclass> -> %i0
 558  getfield_raw_i %i0, FieldDescr<specfunc.variant0> -> %i0
 563  -live- %i0, %i1, %i2, %r0, %r1
 563  int_guard_value %i0
 565  residual_call_r_r %i0, <IndirectCallTargets>, R[%r1], <CallDescr(r) EF=2> -> %r2
 572  -live- %i1, %i2, %r0, %r1, %r2
 572  inline_call_r_i <JitCode 'W_TypeObject.issubtype'>, R[%r2, $<* struct pypy.objspace.std.typeobject.W_TypeObject>] -> %i0
 579  -live- %i0, %i1, %i2, %r0, %r1
 579  -live- %i0, %i1, %i2, %r0, %r1
 579  goto_if_not %i0, L42
 583  goto L23
 586  ---
 586  L42:
 586  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x000002aac0e869c0> -> %r2
 590  setfield_gc_r %r2, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
 595  setfield_gc_r %r2, $<* struct tuple2>, FieldDescr<pypy.interpreter.error.OpErrFmt.inst_xstrings>
 600  setfield_gc_r %r2, %r1, FieldDescr<pypy.interpreter.error.OpErrFmt.inst_x0>
 605  assert_not_none %r2
 607  -live- %r2
 607  guard_class %r2 -> %i0
 610  -live- %r2
 610  raise %r2
 612  ---
 612  L20:
 612  strlen %r3 -> %i0
 615  residual_call_ir_i $<* fn ll_find_char__rpy_stringPtr_Char_Signed_Signed>, I[$'\r', $0, %i0], R[%r3], <CallDescr(riii) EF=0> -> %i0
 626  -live- %i0, %i1, %r0, %r1
 626  goto_if_not_int_ge %i0, $0, L43
 631  int_copy $True -> %i2
 634  goto L21
 637  ---
 637  L43:
 637  int_copy $False -> %i2
 640  goto L21
 643  ---
 643  L19:
 643  int_copy $False -> %i2
 646  goto L21
 649  ---
 649  L16:
 649  -live- %i1, %r0, %r1
 649  getfield_gc_r_pure %r1, FieldDescr<pypy.objspace.std.bytesobject.W_BytesObject.inst__value> -> %r3
 654  int_copy $True -> %i0
 657  goto L18
 660  ---
 660  L17:
 660  -live- %r1
 660  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
 669  -live- %r2
 669  assert_not_none %r2
 671  -live- %r2
 671  guard_class %r2 -> %i0
 674  -live- %r2
 674  raise %r2
 676  ---
 676  L14:
 676  int_copy $True -> %i0
 679  goto L18
 682  ---
 682  L13:
 682  int_copy $True -> %i0
 685  goto L18
 688  ---
 688  L12:
 688  int_copy $True -> %i0
 691  goto L18
 694  ---
 694  L11:
 694  int_copy $False -> %i0
 697  goto L18
 700  ---
 700  L9:
 700  L44:
 700  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_line_buffering> -> %i0
 705  -live- %i0, %i1, %r0, %r1, %r3
 705  goto_if_not_int_is_true %i0, L45
 709  goto L10
 712  ---
 712  L45:
 712  int_copy $False -> %i0
 715  goto L18
 718  ---
 718  L8:
 718  goto L44
 721  ---
 721  L7:
 721  goto L44
 724  ---
 724  L5:
 724  -live- %r0, %r1
 724  guard_class %r1 -> %i0
 727  -live- %i0, %r0, %r1
 727  int_guard_value %i0
 729  -live- %r0, %r1
 729  guard_class %r1 -> %i0
 732  getfield_raw_i %i0, FieldDescr<pypy.interpreter.baseobjspace.W_Root_vtable.cls_getclass> -> %i0
 737  getfield_raw_i %i0, FieldDescr<specfunc.variant0> -> %i0
 742  -live- %i0, %r0, %r1
 742  int_guard_value %i0
 744  residual_call_r_r %i0, <IndirectCallTargets>, R[%r1], <CallDescr(r) EF=2> -> %r2
 751  -live- %r0, %r1, %r2
 751  inline_call_r_i <JitCode 'W_TypeObject.issubtype'>, R[%r2, $<* struct pypy.objspace.std.typeobject.W_TypeObject>] -> %i0
 758  -live- %i0, %r0, %r1
 758  -live- %i0, %r0, %r1
 758  goto_if_not %i0, L46
 762  goto L6
 765  ---
 765  L46:
 765  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x000002aac0e869c0> -> %r2
 769  setfield_gc_r %r2, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
 774  setfield_gc_r %r2, $<* struct tuple2>, FieldDescr<pypy.interpreter.error.OpErrFmt.inst_xstrings>
 779  setfield_gc_r %r2, %r1, FieldDescr<pypy.interpreter.error.OpErrFmt.inst_x0>
 784  assert_not_none %r2
 786  -live- %r2
 786  guard_class %r2 -> %i0
 789  -live- %r2
 789  raise %r2
 791  ---
 791  L4:
 791  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x000002aabbb1b8a0> -> %r2
 795  setfield_gc_r %r2, $<* struct rpy_string>, FieldDescr<pypy.interpreter.error.OpErrFmtNoArgs.inst__value>
 800  setfield_gc_r %r2, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
 805  assert_not_none %r2
 807  -live- %r2
 807  guard_class %r2 -> %i0
 810  -live- %r2
 810  raise %r2
 812  ---
 812  L1:
 812  -live-
 812  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x000002aabbb1b8a0> -> %r2
 816  setfield_gc_r %r2, $<* struct rpy_string>, FieldDescr<pypy.interpreter.error.OpErrFmtNoArgs.inst__value>
 821  setfield_gc_r %r2, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
 826  assert_not_none %r2
 828  -live- %r2
 828  guard_class %r2 -> %i0
 831  -live- %r2
 831  raise %r2
 833  ---
 833  L2:
 833  -live-
 833  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x000002aabbb1b8a0> -> %r2
 837  setfield_gc_r %r2, $<* struct rpy_string>, FieldDescr<pypy.interpreter.error.OpErrFmtNoArgs.inst__value>
 842  setfield_gc_r %r2, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
 847  assert_not_none %r2
 849  -live- %r2
 849  guard_class %r2 -> %i0
 852  -live- %r2
 852  raise %r2
