   0  setfield_gc_i %r0, $0, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_state>
   5  setfield_gc_r %r0, %r1, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_w_buffer>
  10  inline_call_r_r <JitCode '_determine_encoding'>, R[%r2] -> %r2
  16  -live- %i0, %r0, %r1, %r2, %r3, %r4
  19  setfield_gc_r %r0, %r2, FieldDescr<pypy.module._io.interp_textio.W_TextIOBase.inst_w_encoding>
  24  -live- %i0, %r0, %r1, %r3, %r4
  27  goto_if_not_ptr_iszero %r3, L1
  31  ref_copy $<* struct pypy.interpreter.baseobjspace.W_Root> -> %r3
  34  L2:
  34  setfield_gc_r %r0, %r3, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_w_errors>
  39  -live- %i0, %r0, %r1, %r3, %r4
  42  goto_if_not_ptr_iszero %r4, L3
  46  ref_copy $<* struct rpy_string> -> %r2
  49  L4:
  49  setfield_gc_i %r0, %i0, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_line_buffering>
  54  -live- %r0, %r1, %r2, %r3
  57  goto_if_not_ptr_nonzero %r2, L5
  61  strlen %r2 -> %i1
  64  -live- %i1, %r0, %r1, %r2, %r3
  67  goto_if_not_int_is_true %i1, L6
  71  int_copy $False -> %i1
  74  L7:
  74  setfield_gc_i %r0, %i1, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_readuniversal>
  79  ptr_iszero %r2 -> %i1
  82  setfield_gc_i %r0, %i1, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_readtranslate>
  87  setfield_gc_r %r0, %r2, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_readnl>
  92  residual_call_r_i $<* fn ll_streq__rpy_stringPtr_rpy_stringPtr>, R[%r2, $<* struct rpy_string>], <CallDescr(rr) EF=0 OS_STR_EQUAL> -> %i1
 100  int_is_zero %i1 -> %i1
 103  setfield_gc_i %r0, %i1, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_writetranslate>
 108  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_readuniversal> -> %i1
 113  -live- %i1, %r0, %r1, %r3
 116  goto_if_not %i1, L8
 120  setfield_gc_r %r0, $<* struct rpy_string>, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_writenl>
 125  L9:
 125  inline_call_r_r <JitCode 'call_method_opt__star_0'>, R[%r1, $<* struct rpy_string>] -> %r4
 132  -live- %r0, %r1, %r3, %r4
 135  goto_if_not_ptr_nonzero %r4, L10
 139  ref_copy %r4 -> %r2
 142  -live- %r0, %r1, %r2, %r3, %r4
 145  guard_class %r2 -> %i1
 148  -live- %i1, %r0, %r1, %r3, %r4
 151  goto_if_not_int_eq %i1, $<* struct object_vtable>, L11
 156  getfield_gc_i_pure %r4, FieldDescr<pypy.objspace.std.intobject.W_IntObject.inst_intval> -> %i1
 161  int_is_true %i1 -> %i1
 164  L12:
 164  -live- %i1, %r0, %r1, %r3
 167  goto_if_not %i1, L13
 171  getfield_gc_r %r0, FieldDescr<pypy.module._io.interp_textio.W_TextIOBase.inst_w_encoding> -> %r2
 176  -live- %r0, %r1, %r2, %r3
 179  guard_class %r2 -> %i1
 182  getfield_raw_i %i1, FieldDescr<pypy.interpreter.baseobjspace.W_Root_vtable.cls_str_w> -> %i1
 187  -live- %i1, %r0, %r1, %r2, %r3
 190  switch %i1, <SwitchDictDescr 0:L14, 1:L15, 2:L16>
 194  unreachable
 195  ---
 195  L14:
 195  -live- %r0, %r1, %r2, %r3
 198  inline_call_r_r <JitCode 'W_UnicodeObject.str_w'>, R[%r2] -> %r2
 204  L17:
 204  -live- %r0, %r1, %r2, %r3
 207  inline_call_r_r <JitCode 'lookup_codec'>, R[%r2] -> %r2
 213  -live- %r0, %r1, %r2, %r3
 216  inline_call_r_r <JitCode 'call_method_opt__star_1'>, R[%r2, $<* struct rpy_string>, %r3] -> %r2
 224  -live- %r0, %r1, %r2, %r3
 227  setfield_gc_r %r0, %r2, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_w_decoder>
 232  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_readuniversal> -> %i1
 237  -live- %i1, %r0, %r1, %r2, %r3
 240  goto_if_not %i1, L18
 244  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_readtranslate> -> %i1
 249  -live- %i1, %r0, %r1, %r2, %r3
 252  goto_if_not %i1, L19
 256  ref_copy $<* struct pypy.interpreter.baseobjspace.W_Root> -> %r4
 259  L20:
 259  inline_call_r_r <JitCode 'call_function__star_2'>, R[$<* struct pypy.interpreter.baseobjspace.W_Root>, %r2, %r4] -> %r2
 267  -live- %r0, %r1, %r2, %r3
 270  setfield_gc_r %r0, %r2, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_w_decoder>
 275  L21:
 275  inline_call_r_r <JitCode 'call_method_opt__star_0'>, R[%r1, $<* struct rpy_string>] -> %r4
 282  -live- %r0, %r1, %r3, %r4
 285  goto_if_not_ptr_nonzero %r4, L22
 289  ref_copy %r4 -> %r2
 292  -live- %r0, %r1, %r2, %r3, %r4
 295  guard_class %r2 -> %i1
 298  -live- %i1, %r0, %r1, %r3, %r4
 301  goto_if_not_int_eq %i1, $<* struct object_vtable>, L23
 306  getfield_gc_i_pure %r4, FieldDescr<pypy.objspace.std.intobject.W_IntObject.inst_intval> -> %i1
 311  int_is_true %i1 -> %i1
 314  L24:
 314  -live- %i1, %r0, %r1, %r3
 317  goto_if_not %i1, L25
 321  getfield_gc_r %r0, FieldDescr<pypy.module._io.interp_textio.W_TextIOBase.inst_w_encoding> -> %r2
 326  -live- %r0, %r1, %r2, %r3
 329  guard_class %r2 -> %i1
 332  getfield_raw_i %i1, FieldDescr<pypy.interpreter.baseobjspace.W_Root_vtable.cls_str_w> -> %i1
 337  -live- %i1, %r0, %r1, %r2, %r3
 340  switch %i1, <SwitchDictDescr 0:L26, 1:L27, 2:L28>
 344  unreachable
 345  ---
 345  L26:
 345  -live- %r0, %r1, %r2, %r3
 348  inline_call_r_r <JitCode 'W_UnicodeObject.str_w'>, R[%r2] -> %r2
 354  L29:
 354  -live- %r0, %r1, %r2, %r3
 357  inline_call_r_r <JitCode 'lookup_codec'>, R[%r2] -> %r2
 363  -live- %r0, %r1, %r2, %r3
 366  inline_call_r_r <JitCode 'call_method_opt__star_1'>, R[%r2, $<* struct rpy_string>, %r3] -> %r2
 374  -live- %r0, %r1, %r2
 377  setfield_gc_r %r0, %r2, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_w_encoder>
 382  L30:
 382  inline_call_r_r <JitCode 'call_method_opt__star_0'>, R[%r1, $<* struct rpy_string>] -> %r4
 389  -live- %r0, %r4
 392  goto_if_not_ptr_nonzero %r4, L31
 396  ref_copy %r4 -> %r2
 399  -live- %r0, %r2, %r4
 402  guard_class %r2 -> %i1
 405  -live- %i1, %r0, %r4
 408  goto_if_not_int_eq %i1, $<* struct object_vtable>, L32
 413  getfield_gc_i_pure %r4, FieldDescr<pypy.objspace.std.intobject.W_IntObject.inst_intval> -> %i1
 418  int_is_true %i1 -> %i1
 421  L33:
 421  setfield_gc_i %r0, %i1, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_seekable>
 426  setfield_gc_i %r0, %i1, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_telling>
 431  setfield_gc_i %r0, $False, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_encoding_start_of_stream>
 436  -live- %i1, %r0
 439  goto_if_not %i1, L34
 443  getfield_gc_r %r0, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_w_encoder> -> %r2
 448  -live- %r0, %r2
 451  goto_if_not_ptr_nonzero %r2, L35
 455  setfield_gc_i %r0, $True, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_encoding_start_of_stream>
 460  getfield_gc_r %r0, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_w_buffer> -> %r2
 465  inline_call_r_r <JitCode 'call_method_opt__star_0'>, R[%r2, $<* struct rpy_string>] -> %r2
 472  -live- %r0, %r2
 475  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x0000aaab01c05398> -> %r4
 479  setfield_gc_i %r4, $0, FieldDescr<pypy.objspace.std.intobject.W_IntObject.inst_intval>
 484  inline_call_r_i <JitCode 'eq_w'>, R[%r2, %r4] -> %i1
 491  -live- %i1, %r0
 494  goto_if_not %i1, L36
 498  L37:
 498  setfield_gc_i %r0, $1, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_state>
 503  void_return
 504  ---
 504  L36:
 504  setfield_gc_i %r0, $False, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_encoding_start_of_stream>
 509  getfield_gc_r %r0, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_w_encoder> -> %r2
 514  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x0000aaab01c05398> -> %r4
 518  setfield_gc_i %r4, $0, FieldDescr<pypy.objspace.std.intobject.W_IntObject.inst_intval>
 523  inline_call_r_r <JitCode 'call_method_opt__star_1'>, R[%r2, $<* struct rpy_string>, %r4] -> %r2
 531  -live- %r0
 534  goto L37
 537  ---
 537  L35:
 537  goto L37
 540  ---
 540  L34:
 540  goto L37
 543  ---
 543  L32:
 543  L38:
 543  inline_call_r_i <JitCode 'is_true'>, R[%r4] -> %i1
 549  -live- %i1, %r0
 552  goto L33
 555  ---
 555  L31:
 555  goto L38
 558  ---
 558  L27:
 558  -live- %r0, %r1, %r2, %r3
 561  getfield_gc_r_pure %r2, FieldDescr<pypy.objspace.std.bytesobject.W_BytesObject.inst__value> -> %r2
 566  goto L29
 569  ---
 569  L28:
 569  -live- %r2
 572  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
 581  -live- %r2
 584  assert_not_none %r2
 586  -live- %r2
 589  guard_class %r2 -> %i1
 592  -live- %r2
 595  raise %r2
 597  ---
 597  L25:
 597  goto L30
 600  ---
 600  L23:
 600  L39:
 600  inline_call_r_i <JitCode 'is_true'>, R[%r4] -> %i1
 606  -live- %i1, %r0, %r1, %r3
 609  goto L24
 612  ---
 612  L22:
 612  goto L39
 615  ---
 615  L19:
 615  ref_copy $<* struct pypy.interpreter.baseobjspace.W_Root> -> %r4
 618  goto L20
 621  ---
 621  L18:
 621  goto L21
 624  ---
 624  L15:
 624  -live- %r0, %r1, %r2, %r3
 627  getfield_gc_r_pure %r2, FieldDescr<pypy.objspace.std.bytesobject.W_BytesObject.inst__value> -> %r2
 632  goto L17
 635  ---
 635  L16:
 635  -live- %r2
 638  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
 647  -live- %r2
 650  assert_not_none %r2
 652  -live- %r2
 655  guard_class %r2 -> %i1
 658  -live- %r2
 661  raise %r2
 663  ---
 663  L13:
 663  goto L21
 666  ---
 666  L11:
 666  L40:
 666  inline_call_r_i <JitCode 'is_true'>, R[%r4] -> %i1
 672  -live- %i1, %r0, %r1, %r3
 675  goto L12
 678  ---
 678  L10:
 678  goto L40
 681  ---
 681  L8:
 681  getfield_gc_r %r0, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_readnl> -> %r2
 686  setfield_gc_r %r0, %r2, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_writenl>
 691  residual_call_r_i $<* fn ll_streq__rpy_stringPtr_rpy_stringPtr>, R[%r2, $<* struct rpy_string>], <CallDescr(rr) EF=0 OS_STR_EQUAL> -> %i1
 699  -live- %i1, %r0, %r1, %r3
 702  goto_if_not %i1, L41
 706  setfield_gc_r %r0, $<* struct rpy_string>, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_writenl>
 711  goto L9
 714  ---
 714  L41:
 714  goto L9
 717  ---
 717  L6:
 717  int_copy $True -> %i1
 720  goto L7
 723  ---
 723  L5:
 723  int_copy $True -> %i1
 726  goto L7
 729  ---
 729  L3:
 729  inline_call_r_i <JitCode 'W_Root.is_w'>, R[$<* struct pypy.interpreter.baseobjspace.W_Root>, %r4] -> %i1
 736  -live- %i0, %i1, %r0, %r1, %r3, %r4
 739  goto_if_not %i1, L42
 743  ref_copy $<* struct rpy_string> -> %r2
 746  goto L4
 749  ---
 749  L42:
 749  -live- %i0, %r0, %r1, %r3, %r4
 752  guard_class %r4 -> %i1
 755  getfield_raw_i %i1, FieldDescr<pypy.interpreter.baseobjspace.W_Root_vtable.cls_utf8_w> -> %i1
 760  -live- %i0, %i1, %r0, %r1, %r3, %r4
 763  switch %i1, <SwitchDictDescr 0:L43, 1:L44, 2:L45>
 767  unreachable
 768  ---
 768  L43:
 768  -live- %i0, %r0, %r1, %r3, %r4
 771  getfield_gc_i_pure %r4, FieldDescr<pypy.objspace.std.unicodeobject.W_UnicodeObject.inst__length> -> %i1
 776  getfield_gc_r_pure %r4, FieldDescr<pypy.objspace.std.unicodeobject.W_UnicodeObject.inst__utf8> -> %r2
 781  ref_copy %r4 -> %r5
 784  record_known_result_i_ir_v %i1, $<* fn _check_utf8>, I[$True, $0, $-1], R[%r2], <CallDescr(riii) EF=4>
 795  -live- %i0, %r0, %r1, %r3, %r4, %r5
 798  getfield_gc_r_pure %r4, FieldDescr<pypy.objspace.std.unicodeobject.W_UnicodeObject.inst__utf8> -> %r2
 803  L46:
 803  strlen %r2 -> %i1
 806  -live- %i0, %i1, %r0, %r1, %r2, %r3, %r5
 809  goto_if_not_int_is_true %i1, L47
 813  residual_call_r_i $<* fn ll_streq__rpy_stringPtr_rpy_stringPtr>, R[%r2, $<* struct rpy_string>], <CallDescr(rr) EF=0 OS_STR_EQUAL> -> %i1
 821  residual_call_r_i $<* fn ll_streq__rpy_stringPtr_rpy_stringPtr>, R[%r2, $<* struct rpy_string>], <CallDescr(rr) EF=0 OS_STR_EQUAL> -> %i2
 829  int_or %i1, %i2 -> %i1
 833  residual_call_r_i $<* fn ll_streq__rpy_stringPtr_rpy_stringPtr>, R[%r2, $<* struct rpy_string>], <CallDescr(rr) EF=0 OS_STR_EQUAL> -> %i2
 841  int_or %i1, %i2 -> %i1
 845  -live- %i0, %i1, %r0, %r1, %r2, %r3, %r5
 848  goto_if_not %i1, L48
 852  goto L4
 855  ---
 855  L48:
 855  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x0000aaab2adaf910> -> %r2
 859  setfield_gc_r %r2, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
 864  setfield_gc_r %r2, $<* struct tuple2>, FieldDescr<pypy.interpreter.error.OpErrFmt.inst_xstrings>
 869  setfield_gc_r %r2, %r5, FieldDescr<pypy.interpreter.error.OpErrFmt.inst_x0>
 874  assert_not_none %r2
 876  -live- %r2
 879  raise %r2
 881  ---
 881  L47:
 881  goto L4
 884  ---
 884  L44:
 884  -live- %i0, %r0, %r1, %r3, %r4
 887  ref_copy %r4 -> %r5
 890  getfield_gc_r_pure %r5, FieldDescr<pypy.objspace.std.bytesobject.W_BytesObject.inst__value> -> %r2
 895  goto L46
 898  ---
 898  L45:
 898  -live- %r4
 901  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>, %r4] -> %r2
 910  -live- %r2
 913  assert_not_none %r2
 915  -live- %r2
 918  guard_class %r2 -> %i1
 921  -live- %r2
 924  raise %r2
 926  ---
 926  L1:
 926  inline_call_r_i <JitCode 'W_Root.is_w'>, R[$<* struct pypy.interpreter.baseobjspace.W_Root>, %r3] -> %i1
 933  -live- %i0, %i1, %r0, %r1, %r3, %r4
 936  goto_if_not %i1, L49
 940  ref_copy $<* struct pypy.interpreter.baseobjspace.W_Root> -> %r3
 943  goto L2
 946  ---
 946  L49:
 946  goto L2
