   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
  16  setfield_gc_r %r0, %r2, FieldDescr<pypy.module._io.interp_textio.W_TextIOBase.inst_w_encoding>
  21  -live- %i0, %r0, %r1, %r3, %r4
  21  goto_if_not_ptr_iszero %r3, L1
  25  ref_copy $<* struct pypy.interpreter.baseobjspace.W_Root> -> %r3
  28  L2:
  28  setfield_gc_r %r0, %r3, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_w_errors>
  33  -live- %i0, %r0, %r1, %r3, %r4
  33  goto_if_not_ptr_iszero %r4, L3
  37  ref_copy $<* struct rpy_string> -> %r2
  40  L4:
  40  setfield_gc_i %r0, %i0, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_line_buffering>
  45  -live- %r0, %r1, %r2, %r3
  45  goto_if_not_ptr_nonzero %r2, L5
  49  strlen %r2 -> %i1
  52  -live- %i1, %r0, %r1, %r2, %r3
  52  goto_if_not_int_is_true %i1, L6
  56  int_copy $False -> %i1
  59  L7:
  59  setfield_gc_i %r0, %i1, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_readuniversal>
  64  ptr_iszero %r2 -> %i1
  67  setfield_gc_i %r0, %i1, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_readtranslate>
  72  setfield_gc_r %r0, %r2, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_readnl>
  77  residual_call_r_i $<* fn ll_streq__rpy_stringPtr_rpy_stringPtr>, R[%r2, $<* struct rpy_string>], <CallDescr(rr) EF=0 OS_STR_EQUAL> -> %i1
  85  int_is_zero %i1 -> %i1
  88  setfield_gc_i %r0, %i1, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_writetranslate>
  93  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_readuniversal> -> %i1
  98  -live- %i1, %r0, %r1, %r3
  98  goto_if_not %i1, L8
 102  setfield_gc_r %r0, $<* struct rpy_string>, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_writenl>
 107  L9:
 107  inline_call_r_r <JitCode 'call_method_opt__star_0'>, R[%r1, $<* struct rpy_string>] -> %r4
 114  -live- %r0, %r1, %r3, %r4
 114  -live- %r0, %r1, %r3, %r4
 114  goto_if_not_ptr_nonzero %r4, L10
 118  ref_copy %r4 -> %r2
 121  -live- %r0, %r1, %r2, %r3, %r4
 121  guard_class %r2 -> %i1
 124  -live- %i1, %r0, %r1, %r3, %r4
 124  goto_if_not_int_eq %i1, $<* struct object_vtable>, L11
 129  getfield_gc_i_pure %r4, FieldDescr<pypy.objspace.std.intobject.W_IntObject.inst_intval> -> %i1
 134  int_is_true %i1 -> %i1
 137  L12:
 137  -live- %i1, %r0, %r1, %r3
 137  goto_if_not %i1, L13
 141  getfield_gc_r %r0, FieldDescr<pypy.module._io.interp_textio.W_TextIOBase.inst_w_encoding> -> %r2
 146  -live- %r0, %r1, %r2, %r3
 146  guard_class %r2 -> %i1
 149  getfield_raw_i %i1, FieldDescr<pypy.interpreter.baseobjspace.W_Root_vtable.cls_str_w> -> %i1
 154  -live- %i1, %r0, %r1, %r2, %r3
 154  switch %i1, <SwitchDictDescr 0:L14, 1:L15, 2:L16>
 158  unreachable
 159  ---
 159  L14:
 159  -live- %r0, %r1, %r2, %r3
 159  inline_call_r_r <JitCode 'W_UnicodeObject.str_w'>, R[%r2] -> %r2
 165  -live- %r0, %r1, %r2, %r3
 165  L17:
 165  inline_call_r_r <JitCode 'lookup_codec'>, R[%r2] -> %r2
 171  -live- %r0, %r1, %r2, %r3
 171  inline_call_r_r <JitCode 'call_method_opt__star_1'>, R[%r2, $<* struct rpy_string>, %r3] -> %r2
 179  -live- %r0, %r1, %r2, %r3
 179  setfield_gc_r %r0, %r2, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_w_decoder>
 184  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_readuniversal> -> %i1
 189  -live- %i1, %r0, %r1, %r2, %r3
 189  goto_if_not %i1, L18
 193  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_readtranslate> -> %i1
 198  -live- %i1, %r0, %r1, %r2, %r3
 198  goto_if_not %i1, L19
 202  ref_copy $<* struct pypy.interpreter.baseobjspace.W_Root> -> %r4
 205  L20:
 205  inline_call_r_r <JitCode 'call_function__star_2'>, R[$<* struct pypy.interpreter.baseobjspace.W_Root>, %r2, %r4] -> %r2
 213  -live- %r0, %r1, %r2, %r3
 213  setfield_gc_r %r0, %r2, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_w_decoder>
 218  L21:
 218  inline_call_r_r <JitCode 'call_method_opt__star_0'>, R[%r1, $<* struct rpy_string>] -> %r4
 225  -live- %r0, %r1, %r3, %r4
 225  -live- %r0, %r1, %r3, %r4
 225  goto_if_not_ptr_nonzero %r4, L22
 229  ref_copy %r4 -> %r2
 232  -live- %r0, %r1, %r2, %r3, %r4
 232  guard_class %r2 -> %i1
 235  -live- %i1, %r0, %r1, %r3, %r4
 235  goto_if_not_int_eq %i1, $<* struct object_vtable>, L23
 240  getfield_gc_i_pure %r4, FieldDescr<pypy.objspace.std.intobject.W_IntObject.inst_intval> -> %i1
 245  int_is_true %i1 -> %i1
 248  L24:
 248  -live- %i1, %r0, %r1, %r3
 248  goto_if_not %i1, L25
 252  getfield_gc_r %r0, FieldDescr<pypy.module._io.interp_textio.W_TextIOBase.inst_w_encoding> -> %r2
 257  -live- %r0, %r1, %r2, %r3
 257  guard_class %r2 -> %i1
 260  getfield_raw_i %i1, FieldDescr<pypy.interpreter.baseobjspace.W_Root_vtable.cls_str_w> -> %i1
 265  -live- %i1, %r0, %r1, %r2, %r3
 265  switch %i1, <SwitchDictDescr 0:L26, 1:L27, 2:L28>
 269  unreachable
 270  ---
 270  L26:
 270  -live- %r0, %r1, %r2, %r3
 270  inline_call_r_r <JitCode 'W_UnicodeObject.str_w'>, R[%r2] -> %r2
 276  -live- %r0, %r1, %r2, %r3
 276  L29:
 276  inline_call_r_r <JitCode 'lookup_codec'>, R[%r2] -> %r2
 282  -live- %r0, %r1, %r2, %r3
 282  inline_call_r_r <JitCode 'call_method_opt__star_1'>, R[%r2, $<* struct rpy_string>, %r3] -> %r2
 290  -live- %r0, %r1, %r2
 290  setfield_gc_r %r0, %r2, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_w_encoder>
 295  L30:
 295  inline_call_r_r <JitCode 'call_method_opt__star_0'>, R[%r1, $<* struct rpy_string>] -> %r1
 302  -live- %r0, %r1
 302  -live- %r0, %r1
 302  goto_if_not_ptr_nonzero %r1, L31
 306  ref_copy %r1 -> %r2
 309  -live- %r0, %r1, %r2
 309  guard_class %r2 -> %i1
 312  -live- %i1, %r0, %r1
 312  goto_if_not_int_eq %i1, $<* struct object_vtable>, L32
 317  getfield_gc_i_pure %r1, FieldDescr<pypy.objspace.std.intobject.W_IntObject.inst_intval> -> %i1
 322  int_is_true %i1 -> %i1
 325  L33:
 325  setfield_gc_i %r0, %i1, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_seekable>
 330  setfield_gc_i %r0, %i1, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_telling>
 335  setfield_gc_i %r0, $False, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_encoding_start_of_stream>
 340  -live- %i1, %r0
 340  goto_if_not %i1, L34
 344  getfield_gc_r %r0, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_w_encoder> -> %r2
 349  -live- %r0, %r2
 349  goto_if_not_ptr_nonzero %r2, L35
 353  setfield_gc_i %r0, $True, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_encoding_start_of_stream>
 358  getfield_gc_r %r0, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_w_buffer> -> %r2
 363  inline_call_r_r <JitCode 'call_method_opt__star_0'>, R[%r2, $<* struct rpy_string>] -> %r2
 370  -live- %r0, %r2
 370  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x000002aac55491a0> -> %r1
 374  setfield_gc_i %r1, $0, FieldDescr<pypy.objspace.std.intobject.W_IntObject.inst_intval>
 379  inline_call_r_i <JitCode 'eq_w'>, R[%r2, %r1] -> %i1
 386  -live- %i1, %r0
 386  -live- %i1, %r0
 386  goto_if_not %i1, L36
 390  L37:
 390  setfield_gc_i %r0, $1, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_state>
 395  void_return
 396  ---
 396  L36:
 396  setfield_gc_i %r0, $False, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_encoding_start_of_stream>
 401  getfield_gc_r %r0, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_w_encoder> -> %r2
 406  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x000002aac55491a0> -> %r1
 410  setfield_gc_i %r1, $0, FieldDescr<pypy.objspace.std.intobject.W_IntObject.inst_intval>
 415  inline_call_r_r <JitCode 'call_method_opt__star_1'>, R[%r2, $<* struct rpy_string>, %r1] -> %r2
 423  -live- %r0
 423  goto L37
 426  ---
 426  L35:
 426  goto L37
 429  ---
 429  L34:
 429  goto L37
 432  ---
 432  L32:
 432  L38:
 432  inline_call_r_i <JitCode 'is_true'>, R[%r1] -> %i1
 438  -live- %i1, %r0
 438  goto L33
 441  ---
 441  L31:
 441  goto L38
 444  ---
 444  L27:
 444  -live- %r0, %r1, %r2, %r3
 444  getfield_gc_r_pure %r2, FieldDescr<pypy.objspace.std.bytesobject.W_BytesObject.inst__value> -> %r2
 449  goto L29
 452  ---
 452  L28:
 452  -live- %r2
 452  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
 461  -live- %r2
 461  assert_not_none %r2
 463  -live- %r2
 463  guard_class %r2 -> %i1
 466  -live- %r2
 466  raise %r2
 468  ---
 468  L25:
 468  goto L30
 471  ---
 471  L23:
 471  L39:
 471  inline_call_r_i <JitCode 'is_true'>, R[%r4] -> %i1
 477  -live- %i1, %r0, %r1, %r3
 477  goto L24
 480  ---
 480  L22:
 480  goto L39
 483  ---
 483  L19:
 483  ref_copy $<* struct pypy.interpreter.baseobjspace.W_Root> -> %r4
 486  goto L20
 489  ---
 489  L18:
 489  goto L21
 492  ---
 492  L15:
 492  -live- %r0, %r1, %r2, %r3
 492  getfield_gc_r_pure %r2, FieldDescr<pypy.objspace.std.bytesobject.W_BytesObject.inst__value> -> %r2
 497  goto L17
 500  ---
 500  L16:
 500  -live- %r2
 500  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
 509  -live- %r2
 509  assert_not_none %r2
 511  -live- %r2
 511  guard_class %r2 -> %i1
 514  -live- %r2
 514  raise %r2
 516  ---
 516  L13:
 516  goto L21
 519  ---
 519  L11:
 519  L40:
 519  inline_call_r_i <JitCode 'is_true'>, R[%r4] -> %i1
 525  -live- %i1, %r0, %r1, %r3
 525  goto L12
 528  ---
 528  L10:
 528  goto L40
 531  ---
 531  L8:
 531  getfield_gc_r %r0, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_readnl> -> %r2
 536  setfield_gc_r %r0, %r2, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_writenl>
 541  residual_call_r_i $<* fn ll_streq__rpy_stringPtr_rpy_stringPtr>, R[%r2, $<* struct rpy_string>], <CallDescr(rr) EF=0 OS_STR_EQUAL> -> %i1
 549  -live- %i1, %r0, %r1, %r3
 549  goto_if_not %i1, L41
 553  setfield_gc_r %r0, $<* struct rpy_string>, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_writenl>
 558  goto L9
 561  ---
 561  L41:
 561  goto L9
 564  ---
 564  L6:
 564  int_copy $True -> %i1
 567  goto L7
 570  ---
 570  L5:
 570  int_copy $True -> %i1
 573  goto L7
 576  ---
 576  L3:
 576  inline_call_r_i <JitCode 'W_Root.is_w'>, R[$<* struct pypy.interpreter.baseobjspace.W_Root>, %r4] -> %i1
 583  -live- %i0, %i1, %r0, %r1, %r3, %r4
 583  -live- %i0, %i1, %r0, %r1, %r3, %r4
 583  goto_if_not %i1, L42
 587  ref_copy $<* struct rpy_string> -> %r2
 590  goto L4
 593  ---
 593  L42:
 593  -live- %i0, %r0, %r1, %r3, %r4
 593  guard_class %r4 -> %i1
 596  getfield_raw_i %i1, FieldDescr<pypy.interpreter.baseobjspace.W_Root_vtable.cls_utf8_w> -> %i1
 601  -live- %i0, %i1, %r0, %r1, %r3, %r4
 601  switch %i1, <SwitchDictDescr 0:L43, 1:L44, 2:L45>
 605  unreachable
 606  ---
 606  L43:
 606  -live- %i0, %r0, %r1, %r3, %r4
 606  getfield_gc_r_pure %r4, FieldDescr<pypy.objspace.std.unicodeobject.W_UnicodeObject.inst__utf8> -> %r2
 611  L46:
 611  strlen %r2 -> %i1
 614  -live- %i0, %i1, %r0, %r1, %r2, %r3, %r4
 614  goto_if_not_int_is_true %i1, L47
 618  residual_call_r_i $<* fn ll_streq__rpy_stringPtr_rpy_stringPtr>, R[%r2, $<* struct rpy_string>], <CallDescr(rr) EF=0 OS_STR_EQUAL> -> %i1
 626  residual_call_r_i $<* fn ll_streq__rpy_stringPtr_rpy_stringPtr>, R[%r2, $<* struct rpy_string>], <CallDescr(rr) EF=0 OS_STR_EQUAL> -> %i2
 634  int_or %i1, %i2 -> %i1
 638  residual_call_r_i $<* fn ll_streq__rpy_stringPtr_rpy_stringPtr>, R[%r2, $<* struct rpy_string>], <CallDescr(rr) EF=0 OS_STR_EQUAL> -> %i2
 646  int_or %i1, %i2 -> %i1
 650  -live- %i0, %i1, %r0, %r1, %r2, %r3, %r4
 650  goto_if_not %i1, L48
 654  goto L4
 657  ---
 657  L48:
 657  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x000002aab02aa480> -> %r2
 661  setfield_gc_r %r2, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
 666  setfield_gc_r %r2, $<* struct tuple2>, FieldDescr<pypy.interpreter.error.OpErrFmt.inst_xstrings>
 671  setfield_gc_r %r2, %r4, FieldDescr<pypy.interpreter.error.OpErrFmt.inst_x0>
 676  assert_not_none %r2
 678  -live- %r2
 678  guard_class %r2 -> %i1
 681  -live- %r2
 681  raise %r2
 683  ---
 683  L47:
 683  goto L4
 686  ---
 686  L44:
 686  -live- %i0, %r0, %r1, %r3, %r4
 686  getfield_gc_r_pure %r4, FieldDescr<pypy.objspace.std.bytesobject.W_BytesObject.inst__value> -> %r2
 691  goto L46
 694  ---
 694  L45:
 694  -live- %r4
 694  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
 703  -live- %r2
 703  assert_not_none %r2
 705  -live- %r2
 705  guard_class %r2 -> %i1
 708  -live- %r2
 708  raise %r2
 710  ---
 710  L1:
 710  inline_call_r_i <JitCode 'W_Root.is_w'>, R[$<* struct pypy.interpreter.baseobjspace.W_Root>, %r3] -> %i1
 717  -live- %i0, %i1, %r0, %r1, %r3, %r4
 717  -live- %i0, %i1, %r0, %r1, %r3, %r4
 717  goto_if_not %i1, L49
 721  ref_copy $<* struct pypy.interpreter.baseobjspace.W_Root> -> %r3
 724  goto L2
 727  ---
 727  L49:
 727  goto L2
