   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  L2:
  25  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x00000100a3a75408> -> %r3
  29  setfield_gc_r %r3, $<* struct rpy_string>, FieldDescr<pypy.objspace.std.bytesobject.W_BytesObject.inst__value>
  34  L3:
  34  setfield_gc_r %r0, %r3, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_w_errors>
  39  -live- %i0, %r0, %r1, %r3, %r4
  39  goto_if_not_ptr_iszero %r4, L4
  43  ref_copy $<* struct rpy_unicode> -> %r2
  46  L5:
  46  setfield_gc_i %r0, %i0, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_line_buffering>
  51  -live- %r0, %r1, %r2, %r3
  51  goto_if_not_ptr_nonzero %r2, L6
  55  unicodelen %r2 -> %i1
  58  -live- %i1, %r0, %r1, %r2, %r3
  58  goto_if_not_int_is_true %i1, L7
  62  int_copy $False -> %i1
  65  L8:
  65  setfield_gc_i %r0, %i1, FieldDescr<pypy.module._io.interp_textio.W_TextIOBase.inst_readuniversal>
  70  ptr_iszero %r2 -> %i1
  73  setfield_gc_i %r0, %i1, FieldDescr<pypy.module._io.interp_textio.W_TextIOBase.inst_readtranslate>
  78  setfield_gc_r %r0, %r2, FieldDescr<pypy.module._io.interp_textio.W_TextIOBase.inst_readnl>
  83  residual_call_r_i $<* fn ll_streq__rpy_unicodePtr_rpy_unicodePtr>, R[%r2, $<* struct rpy_unicode>], <CallDescr(rr) EF=0 OS_UNI_EQUAL> -> %i1
  91  int_is_zero %i1 -> %i1
  94  setfield_gc_i %r0, %i1, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_writetranslate>
  99  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_textio.W_TextIOBase.inst_readuniversal> -> %i1
 104  -live- %i1, %r0, %r1, %r3
 104  goto_if_not %i1, L9
 108  setfield_gc_r %r0, $<* struct rpy_unicode>, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_writenl>
 113  L10:
 113  inline_call_r_r <JitCode 'call_method_opt__star_0'>, R[%r1, $<* struct rpy_string>] -> %r4
 120  -live- %r0, %r1, %r3, %r4
 120  -live- %r0, %r1, %r3, %r4
 120  goto_if_not_ptr_nonzero %r4, L11
 124  ref_copy %r4 -> %r2
 127  -live- %r0, %r1, %r2, %r3, %r4
 127  guard_class %r2 -> %i1
 130  -live- %i1, %r0, %r1, %r3, %r4
 130  goto_if_not_int_eq %i1, $<* struct object_vtable>, L12
 135  getfield_gc_i_pure %r4, FieldDescr<pypy.objspace.std.intobject.W_IntObject.inst_intval> -> %i1
 140  int_is_true %i1 -> %i1
 143  L13:
 143  -live- %i1, %r0, %r1, %r3
 143  goto_if_not %i1, L14
 147  getfield_gc_r %r0, FieldDescr<pypy.module._io.interp_textio.W_TextIOBase.inst_w_encoding> -> %r2
 152  -live- %r0, %r1, %r2, %r3
 152  guard_class %r2 -> %i1
 155  getfield_raw_i %i1, FieldDescr<pypy.interpreter.baseobjspace.W_Root_vtable.cls_str_w> -> %i1
 160  -live- %i1, %r0, %r1, %r2, %r3
 160  switch %i1, <SwitchDictDescr 0:L15, 1:L16, 2:L17>
 164  unreachable
 165  ---
 165  L15:
 165  -live- %r0, %r1, %r2, %r3
 165  ref_copy %r0 -> %r4
 168  getfield_gc_r_pure %r2, FieldDescr<pypy.objspace.std.bytesobject.W_BytesObject.inst__value> -> %r2
 173  L18:
 173  inline_call_r_r <JitCode 'lookup_codec'>, R[%r2] -> %r2
 179  -live- %r0, %r1, %r2, %r3, %r4
 179  inline_call_r_r <JitCode 'call_method_opt__star_1'>, R[%r2, $<* struct rpy_string>, %r3] -> %r2
 187  -live- %r0, %r1, %r2, %r3, %r4
 187  setfield_gc_r %r0, %r2, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_w_decoder>
 192  getfield_gc_i %r4, FieldDescr<pypy.module._io.interp_textio.W_TextIOBase.inst_readuniversal> -> %i1
 197  -live- %i1, %r0, %r1, %r2, %r3
 197  goto_if_not %i1, L19
 201  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_textio.W_TextIOBase.inst_readtranslate> -> %i1
 206  -live- %i1, %r0, %r1, %r2, %r3
 206  goto_if_not %i1, L20
 210  ref_copy $<* struct pypy.interpreter.baseobjspace.W_Root> -> %r4
 213  L21:
 213  inline_call_r_r <JitCode 'call_function__star_2'>, R[$<* struct pypy.interpreter.baseobjspace.W_Root>, %r2, %r4] -> %r2
 221  -live- %r0, %r1, %r2, %r3
 221  setfield_gc_r %r0, %r2, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_w_decoder>
 226  L22:
 226  inline_call_r_r <JitCode 'call_method_opt__star_0'>, R[%r1, $<* struct rpy_string>] -> %r4
 233  -live- %r0, %r1, %r3, %r4
 233  -live- %r0, %r1, %r3, %r4
 233  goto_if_not_ptr_nonzero %r4, L23
 237  ref_copy %r4 -> %r2
 240  -live- %r0, %r1, %r2, %r3, %r4
 240  guard_class %r2 -> %i1
 243  -live- %i1, %r0, %r1, %r3, %r4
 243  goto_if_not_int_eq %i1, $<* struct object_vtable>, L24
 248  getfield_gc_i_pure %r4, FieldDescr<pypy.objspace.std.intobject.W_IntObject.inst_intval> -> %i1
 253  int_is_true %i1 -> %i1
 256  L25:
 256  -live- %i1, %r0, %r1, %r3
 256  goto_if_not %i1, L26
 260  getfield_gc_r %r0, FieldDescr<pypy.module._io.interp_textio.W_TextIOBase.inst_w_encoding> -> %r2
 265  -live- %r0, %r1, %r2, %r3
 265  guard_class %r2 -> %i1
 268  getfield_raw_i %i1, FieldDescr<pypy.interpreter.baseobjspace.W_Root_vtable.cls_str_w> -> %i1
 273  -live- %i1, %r0, %r1, %r2, %r3
 273  switch %i1, <SwitchDictDescr 0:L27, 1:L28, 2:L29>
 277  unreachable
 278  ---
 278  L27:
 278  -live- %r0, %r1, %r2, %r3
 278  getfield_gc_r_pure %r2, FieldDescr<pypy.objspace.std.bytesobject.W_BytesObject.inst__value> -> %r2
 283  L30:
 283  inline_call_r_r <JitCode 'lookup_codec'>, R[%r2] -> %r2
 289  -live- %r0, %r1, %r2, %r3
 289  inline_call_r_r <JitCode 'call_method_opt__star_1'>, R[%r2, $<* struct rpy_string>, %r3] -> %r2
 297  -live- %r0, %r1, %r2
 297  setfield_gc_r %r0, %r2, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_w_encoder>
 302  L31:
 302  inline_call_r_r <JitCode 'call_method_opt__star_0'>, R[%r1, $<* struct rpy_string>] -> %r1
 309  -live- %r0, %r1
 309  -live- %r0, %r1
 309  goto_if_not_ptr_nonzero %r1, L32
 313  ref_copy %r1 -> %r2
 316  -live- %r0, %r1, %r2
 316  guard_class %r2 -> %i1
 319  -live- %i1, %r0, %r1
 319  goto_if_not_int_eq %i1, $<* struct object_vtable>, L33
 324  getfield_gc_i_pure %r1, FieldDescr<pypy.objspace.std.intobject.W_IntObject.inst_intval> -> %i1
 329  int_is_true %i1 -> %i1
 332  L34:
 332  setfield_gc_i %r0, %i1, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_seekable>
 337  setfield_gc_i %r0, %i1, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_telling>
 342  setfield_gc_i %r0, $False, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_encoding_start_of_stream>
 347  -live- %i1, %r0
 347  goto_if_not %i1, L35
 351  getfield_gc_r %r0, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_w_encoder> -> %r2
 356  -live- %r0, %r2
 356  goto_if_not_ptr_nonzero %r2, L36
 360  setfield_gc_i %r0, $True, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_encoding_start_of_stream>
 365  getfield_gc_r %r0, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_w_buffer> -> %r2
 370  inline_call_r_r <JitCode 'call_method_opt__star_0'>, R[%r2, $<* struct rpy_string>] -> %r2
 377  -live- %r0, %r2
 377  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x00000100a3a6b750> -> %r1
 381  setfield_gc_i %r1, $0, FieldDescr<pypy.objspace.std.intobject.W_IntObject.inst_intval>
 386  inline_call_r_i <JitCode 'eq_w'>, R[%r2, %r1] -> %i1
 393  -live- %i1, %r0
 393  -live- %i1, %r0
 393  goto_if_not %i1, L37
 397  L38:
 397  setfield_gc_i %r0, $1, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_state>
 402  void_return
 403  ---
 403  L37:
 403  setfield_gc_i %r0, $False, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_encoding_start_of_stream>
 408  getfield_gc_r %r0, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_w_encoder> -> %r2
 413  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x00000100a3a6b750> -> %r1
 417  setfield_gc_i %r1, $0, FieldDescr<pypy.objspace.std.intobject.W_IntObject.inst_intval>
 422  inline_call_r_r <JitCode 'call_method_opt__star_1'>, R[%r2, $<* struct rpy_string>, %r1] -> %r2
 430  -live- %r0
 430  goto L38
 433  ---
 433  L36:
 433  goto L38
 436  ---
 436  L35:
 436  goto L38
 439  ---
 439  L33:
 439  L39:
 439  inline_call_r_i <JitCode 'is_true'>, R[%r1] -> %i1
 445  -live- %i1, %r0
 445  goto L34
 448  ---
 448  L32:
 448  goto L39
 451  ---
 451  L28:
 451  -live- %r0, %r1, %r2, %r3
 451  inline_call_r_r <JitCode 'W_UnicodeObject.str_w'>, R[%r2] -> %r2
 457  -live- %r0, %r1, %r2, %r3
 457  goto L30
 460  ---
 460  L29:
 460  -live- %r2
 460  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
 469  -live- %r2
 469  assert_not_none %r2
 471  -live- %r2
 471  guard_class %r2 -> %i1
 474  -live- %r2
 474  raise %r2
 476  ---
 476  L26:
 476  goto L31
 479  ---
 479  L24:
 479  L40:
 479  inline_call_r_i <JitCode 'is_true'>, R[%r4] -> %i1
 485  -live- %i1, %r0, %r1, %r3
 485  goto L25
 488  ---
 488  L23:
 488  goto L40
 491  ---
 491  L20:
 491  ref_copy $<* struct pypy.interpreter.baseobjspace.W_Root> -> %r4
 494  goto L21
 497  ---
 497  L19:
 497  goto L22
 500  ---
 500  L16:
 500  -live- %r0, %r1, %r2, %r3
 500  ref_copy %r0 -> %r4
 503  inline_call_r_r <JitCode 'W_UnicodeObject.str_w'>, R[%r2] -> %r2
 509  -live- %r0, %r1, %r2, %r3, %r4
 509  goto L18
 512  ---
 512  L17:
 512  -live- %r2
 512  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
 521  -live- %r2
 521  assert_not_none %r2
 523  -live- %r2
 523  guard_class %r2 -> %i1
 526  -live- %r2
 526  raise %r2
 528  ---
 528  L14:
 528  goto L22
 531  ---
 531  L12:
 531  L41:
 531  inline_call_r_i <JitCode 'is_true'>, R[%r4] -> %i1
 537  -live- %i1, %r0, %r1, %r3
 537  goto L13
 540  ---
 540  L11:
 540  goto L41
 543  ---
 543  L9:
 543  getfield_gc_r %r0, FieldDescr<pypy.module._io.interp_textio.W_TextIOBase.inst_readnl> -> %r2
 548  setfield_gc_r %r0, %r2, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_writenl>
 553  residual_call_r_i $<* fn ll_streq__rpy_unicodePtr_rpy_unicodePtr>, R[%r2, $<* struct rpy_unicode>], <CallDescr(rr) EF=0 OS_UNI_EQUAL> -> %i1
 561  -live- %i1, %r0, %r1, %r3
 561  goto_if_not %i1, L42
 565  setfield_gc_r %r0, $<* struct rpy_unicode>, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_writenl>
 570  goto L10
 573  ---
 573  L42:
 573  goto L10
 576  ---
 576  L7:
 576  int_copy $True -> %i1
 579  goto L8
 582  ---
 582  L6:
 582  int_copy $True -> %i1
 585  goto L8
 588  ---
 588  L4:
 588  inline_call_r_i <JitCode 'W_Root.is_w'>, R[$<* struct pypy.interpreter.baseobjspace.W_Root>, %r4] -> %i1
 595  -live- %i0, %i1, %r0, %r1, %r3, %r4
 595  -live- %i0, %i1, %r0, %r1, %r3, %r4
 595  goto_if_not %i1, L43
 599  ref_copy $<* struct rpy_unicode> -> %r2
 602  goto L5
 605  ---
 605  L43:
 605  -live- %i0, %r0, %r1, %r3, %r4
 605  guard_class %r4 -> %i1
 608  getfield_raw_i %i1, FieldDescr<pypy.interpreter.baseobjspace.W_Root_vtable.cls_unicode_w> -> %i1
 613  -live- %i0, %i1, %r0, %r1, %r3, %r4
 613  switch %i1, <SwitchDictDescr 0:L44, 1:L45, 2:L46>
 617  unreachable
 618  ---
 618  L44:
 618  -live- %i0, %r0, %r1, %r3, %r4
 618  inline_call_r_r <JitCode 'W_AbstractBytesObject.unicode_w'>, R[%r4] -> %r2
 624  -live- %i0, %r0, %r1, %r2, %r3, %r4
 624  L47:
 624  unicodelen %r2 -> %i1
 627  -live- %i0, %i1, %r0, %r1, %r2, %r3, %r4
 627  goto_if_not_int_is_true %i1, L48
 631  residual_call_r_i $<* fn ll_streq__rpy_unicodePtr_rpy_unicodePtr>, R[%r2, $<* struct rpy_unicode>], <CallDescr(rr) EF=0 OS_UNI_EQUAL> -> %i1
 639  residual_call_r_i $<* fn ll_streq__rpy_unicodePtr_rpy_unicodePtr>, R[%r2, $<* struct rpy_unicode>], <CallDescr(rr) EF=0 OS_UNI_EQUAL> -> %i2
 647  int_or %i1, %i2 -> %i1
 651  residual_call_r_i $<* fn ll_streq__rpy_unicodePtr_rpy_unicodePtr>, R[%r2, $<* struct rpy_unicode>], <CallDescr(rr) EF=0 OS_UNI_EQUAL> -> %i2
 659  int_or %i1, %i2 -> %i1
 663  -live- %i0, %i1, %r0, %r1, %r2, %r3, %r4
 663  goto_if_not %i1, L49
 667  goto L5
 670  ---
 670  L49:
 670  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x000001009013c480> -> %r2
 674  setfield_gc_r %r2, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
 679  setfield_gc_r %r2, $<* struct tuple2>, FieldDescr<pypy.interpreter.error.OpErrFmt.inst_xstrings>
 684  setfield_gc_r %r2, %r4, FieldDescr<pypy.interpreter.error.OpErrFmt.inst_x0>
 689  assert_not_none %r2
 691  -live- %r2
 691  guard_class %r2 -> %i1
 694  -live- %r2
 694  raise %r2
 696  ---
 696  L48:
 696  goto L5
 699  ---
 699  L45:
 699  -live- %i0, %r0, %r1, %r3, %r4
 699  getfield_gc_r_pure %r4, FieldDescr<pypy.objspace.std.unicodeobject.W_UnicodeObject.inst__value> -> %r2
 704  goto L47
 707  ---
 707  L46:
 707  -live- %r4
 707  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
 716  -live- %r2
 716  assert_not_none %r2
 718  -live- %r2
 718  guard_class %r2 -> %i1
 721  -live- %r2
 721  raise %r2
 723  ---
 723  L1:
 723  inline_call_r_i <JitCode 'W_Root.is_w'>, R[$<* struct pypy.interpreter.baseobjspace.W_Root>, %r3] -> %i1
 730  -live- %i0, %i1, %r0, %r1, %r3, %r4
 730  -live- %i0, %i1, %r0, %r1, %r3, %r4
 730  goto_if_not %i1, L50
 734  goto L2
 737  ---
 737  L50:
 737  goto L3
