   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 0x7fff4f52efa0> -> %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_TextIOWrapper.inst_readuniversal>
  70  ptr_iszero %r2 -> %i1
  73  setfield_gc_i %r0, %i1, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_readtranslate>
  78  setfield_gc_r %r0, %r2, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.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_TextIOWrapper.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- %r2
 165  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
 174  -live- %r2
 174  assert_not_none %r2
 176  -live- %r2
 176  guard_class %r2 -> %i1
 179  -live- %r2
 179  raise %r2
 181  ---
 181  L16:
 181  -live- %r0, %r1, %r2, %r3
 181  inline_call_r_r <JitCode 'W_UnicodeObject.str_w'>, R[%r2] -> %r2
 187  -live- %r0, %r1, %r2, %r3
 187  L18:
 187  inline_call_r_r <JitCode 'lookup_codec'>, R[%r2] -> %r2
 193  -live- %r0, %r1, %r2, %r3
 193  inline_call_r_r <JitCode 'call_method_opt__star_1'>, R[%r2, $<* struct rpy_string>, %r3] -> %r2
 201  -live- %r0, %r1, %r2, %r3
 201  setfield_gc_r %r0, %r2, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_w_decoder>
 206  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_readuniversal> -> %i1
 211  -live- %i1, %r0, %r1, %r2, %r3
 211  goto_if_not %i1, L19
 215  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_readtranslate> -> %i1
 220  -live- %i1, %r0, %r1, %r2, %r3
 220  goto_if_not %i1, L20
 224  ref_copy $<* struct pypy.interpreter.baseobjspace.W_Root> -> %r4
 227  L21:
 227  inline_call_r_r <JitCode 'call_function__star_2'>, R[$<* struct pypy.interpreter.baseobjspace.W_Root>, %r2, %r4] -> %r2
 235  -live- %r0, %r1, %r2, %r3
 235  setfield_gc_r %r0, %r2, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_w_decoder>
 240  L22:
 240  inline_call_r_r <JitCode 'call_method_opt__star_0'>, R[%r1, $<* struct rpy_string>] -> %r4
 247  -live- %r0, %r1, %r3, %r4
 247  -live- %r0, %r1, %r3, %r4
 247  goto_if_not_ptr_nonzero %r4, L23
 251  ref_copy %r4 -> %r2
 254  -live- %r0, %r1, %r2, %r3, %r4
 254  guard_class %r2 -> %i1
 257  -live- %i1, %r0, %r1, %r3, %r4
 257  goto_if_not_int_eq %i1, $<* struct object_vtable>, L24
 262  getfield_gc_i_pure %r4, FieldDescr<pypy.objspace.std.intobject.W_IntObject.inst_intval> -> %i1
 267  int_is_true %i1 -> %i1
 270  L25:
 270  -live- %i1, %r0, %r1, %r3
 270  goto_if_not %i1, L26
 274  getfield_gc_r %r0, FieldDescr<pypy.module._io.interp_textio.W_TextIOBase.inst_w_encoding> -> %r2
 279  -live- %r0, %r1, %r2, %r3
 279  guard_class %r2 -> %i1
 282  getfield_raw_i %i1, FieldDescr<pypy.interpreter.baseobjspace.W_Root_vtable.cls_str_w> -> %i1
 287  -live- %i1, %r0, %r1, %r2, %r3
 287  switch %i1, <SwitchDictDescr 0:L27, 1:L28, 2:L29>
 291  unreachable
 292  ---
 292  L27:
 292  -live- %r2
 292  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
 301  -live- %r2
 301  assert_not_none %r2
 303  -live- %r2
 303  guard_class %r2 -> %i1
 306  -live- %r2
 306  raise %r2
 308  ---
 308  L28:
 308  -live- %r0, %r1, %r2, %r3
 308  inline_call_r_r <JitCode 'W_UnicodeObject.str_w'>, R[%r2] -> %r2
 314  -live- %r0, %r1, %r2, %r3
 314  L30:
 314  inline_call_r_r <JitCode 'lookup_codec'>, R[%r2] -> %r2
 320  -live- %r0, %r1, %r2, %r3
 320  inline_call_r_r <JitCode 'call_method_opt__star_1'>, R[%r2, $<* struct rpy_string>, %r3] -> %r2
 328  -live- %r0, %r1, %r2
 328  setfield_gc_r %r0, %r2, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_w_encoder>
 333  L31:
 333  inline_call_r_r <JitCode 'call_method_opt__star_0'>, R[%r1, $<* struct rpy_string>] -> %r1
 340  -live- %r0, %r1
 340  -live- %r0, %r1
 340  goto_if_not_ptr_nonzero %r1, L32
 344  ref_copy %r1 -> %r2
 347  -live- %r0, %r1, %r2
 347  guard_class %r2 -> %i1
 350  -live- %i1, %r0, %r1
 350  goto_if_not_int_eq %i1, $<* struct object_vtable>, L33
 355  getfield_gc_i_pure %r1, FieldDescr<pypy.objspace.std.intobject.W_IntObject.inst_intval> -> %i1
 360  int_is_true %i1 -> %i1
 363  L34:
 363  setfield_gc_i %r0, %i1, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_seekable>
 368  setfield_gc_i %r0, %i1, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_telling>
 373  setfield_gc_i %r0, $False, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_encoding_start_of_stream>
 378  -live- %i1, %r0
 378  goto_if_not %i1, L35
 382  getfield_gc_r %r0, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_w_encoder> -> %r2
 387  -live- %r0, %r2
 387  goto_if_not_ptr_nonzero %r2, L36
 391  setfield_gc_i %r0, $True, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_encoding_start_of_stream>
 396  getfield_gc_r %r0, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_w_buffer> -> %r2
 401  inline_call_r_r <JitCode 'call_method_opt__star_0'>, R[%r2, $<* struct rpy_string>] -> %r2
 408  -live- %r0, %r2
 408  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x7fff5768f2d0> -> %r1
 412  setfield_gc_i %r1, $0, FieldDescr<pypy.objspace.std.intobject.W_IntObject.inst_intval>
 417  inline_call_r_i <JitCode 'ObjSpace.eq_w'>, R[%r2, %r1] -> %i1
 424  -live- %i1, %r0
 424  -live- %i1, %r0
 424  goto_if_not %i1, L37
 428  L38:
 428  setfield_gc_i %r0, $1, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_state>
 433  void_return
 434  ---
 434  L37:
 434  setfield_gc_i %r0, $False, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_encoding_start_of_stream>
 439  getfield_gc_r %r0, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_w_encoder> -> %r2
 444  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x7fff5768f2d0> -> %r1
 448  setfield_gc_i %r1, $0, FieldDescr<pypy.objspace.std.intobject.W_IntObject.inst_intval>
 453  inline_call_r_r <JitCode 'call_method_opt__star_1'>, R[%r2, $<* struct rpy_string>, %r1] -> %r2
 461  -live- %r0
 461  goto L38
 464  ---
 464  L36:
 464  goto L38
 467  ---
 467  L35:
 467  goto L38
 470  ---
 470  L33:
 470  L39:
 470  inline_call_r_i <JitCode 'is_true'>, R[%r1] -> %i1
 476  -live- %i1, %r0
 476  goto L34
 479  ---
 479  L32:
 479  goto L39
 482  ---
 482  L29:
 482  -live- %r0, %r1, %r2, %r3
 482  getfield_gc_r_pure %r2, FieldDescr<pypy.objspace.std.bytesobject.W_BytesObject.inst__value> -> %r2
 487  goto L30
 490  ---
 490  L26:
 490  goto L31
 493  ---
 493  L24:
 493  L40:
 493  inline_call_r_i <JitCode 'is_true'>, R[%r4] -> %i1
 499  -live- %i1, %r0, %r1, %r3
 499  goto L25
 502  ---
 502  L23:
 502  goto L40
 505  ---
 505  L20:
 505  ref_copy $<* struct pypy.interpreter.baseobjspace.W_Root> -> %r4
 508  goto L21
 511  ---
 511  L19:
 511  goto L22
 514  ---
 514  L17:
 514  -live- %r0, %r1, %r2, %r3
 514  getfield_gc_r_pure %r2, FieldDescr<pypy.objspace.std.bytesobject.W_BytesObject.inst__value> -> %r2
 519  goto L18
 522  ---
 522  L14:
 522  goto L22
 525  ---
 525  L12:
 525  L41:
 525  inline_call_r_i <JitCode 'is_true'>, R[%r4] -> %i1
 531  -live- %i1, %r0, %r1, %r3
 531  goto L13
 534  ---
 534  L11:
 534  goto L41
 537  ---
 537  L9:
 537  getfield_gc_r %r0, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_readnl> -> %r2
 542  setfield_gc_r %r0, %r2, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_writenl>
 547  residual_call_r_i $<* fn ll_streq__rpy_unicodePtr_rpy_unicodePtr>, R[%r2, $<* struct rpy_unicode>], <CallDescr(rr) EF=0 OS_UNI_EQUAL> -> %i1
 555  -live- %i1, %r0, %r1, %r3
 555  goto_if_not %i1, L42
 559  setfield_gc_r %r0, $<* struct rpy_unicode>, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_writenl>
 564  goto L10
 567  ---
 567  L42:
 567  goto L10
 570  ---
 570  L7:
 570  int_copy $True -> %i1
 573  goto L8
 576  ---
 576  L6:
 576  int_copy $True -> %i1
 579  goto L8
 582  ---
 582  L4:
 582  inline_call_r_i <JitCode 'W_Root.is_w'>, R[$<* struct pypy.interpreter.baseobjspace.W_Root>, %r4] -> %i1
 589  -live- %i0, %i1, %r0, %r1, %r3, %r4
 589  -live- %i0, %i1, %r0, %r1, %r3, %r4
 589  goto_if_not %i1, L43
 593  ref_copy $<* struct rpy_unicode> -> %r2
 596  goto L5
 599  ---
 599  L43:
 599  -live- %i0, %r0, %r1, %r3, %r4
 599  guard_class %r4 -> %i1
 602  getfield_raw_i %i1, FieldDescr<pypy.interpreter.baseobjspace.W_Root_vtable.cls_unicode_w> -> %i1
 607  -live- %i0, %i1, %r0, %r1, %r3, %r4
 607  switch %i1, <SwitchDictDescr 0:L44, 1:L45, 2:L46>
 611  unreachable
 612  ---
 612  L44:
 612  -live- %r4
 612  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
 621  -live- %r2
 621  assert_not_none %r2
 623  -live- %r2
 623  guard_class %r2 -> %i1
 626  -live- %r2
 626  raise %r2
 628  ---
 628  L45:
 628  -live- %i0, %r0, %r1, %r3, %r4
 628  getfield_gc_r_pure %r4, FieldDescr<pypy.objspace.std.unicodeobject.W_UnicodeObject.inst__value> -> %r2
 633  L47:
 633  unicodelen %r2 -> %i1
 636  -live- %i0, %i1, %r0, %r1, %r2, %r3, %r4
 636  goto_if_not_int_is_true %i1, L48
 640  residual_call_r_i $<* fn ll_streq__rpy_unicodePtr_rpy_unicodePtr>, R[%r2, $<* struct rpy_unicode>], <CallDescr(rr) EF=0 OS_UNI_EQUAL> -> %i1
 648  residual_call_r_i $<* fn ll_streq__rpy_unicodePtr_rpy_unicodePtr>, R[%r2, $<* struct rpy_unicode>], <CallDescr(rr) EF=0 OS_UNI_EQUAL> -> %i2
 656  int_or %i1, %i2 -> %i1
 660  residual_call_r_i $<* fn ll_streq__rpy_unicodePtr_rpy_unicodePtr>, R[%r2, $<* struct rpy_unicode>], <CallDescr(rr) EF=0 OS_UNI_EQUAL> -> %i2
 668  int_or %i1, %i2 -> %i1
 672  -live- %i0, %i1, %r0, %r1, %r2, %r3, %r4
 672  goto_if_not %i1, L49
 676  goto L5
 679  ---
 679  L49:
 679  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x7fff4f296e60> -> %r2
 683  setfield_gc_r %r2, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
 688  setfield_gc_r %r2, $<* struct tuple2>, FieldDescr<pypy.interpreter.error.OpErrFmt.inst_xstrings>
 693  setfield_gc_r %r2, %r4, FieldDescr<pypy.interpreter.error.OpErrFmt.inst_x0>
 698  assert_not_none %r2
 700  -live- %r2
 700  guard_class %r2 -> %i1
 703  -live- %r2
 703  raise %r2
 705  ---
 705  L48:
 705  goto L5
 708  ---
 708  L46:
 708  -live- %i0, %r0, %r1, %r3, %r4
 708  inline_call_r_r <JitCode 'W_AbstractBytesObject.unicode_w'>, R[%r4] -> %r2
 714  -live- %i0, %r0, %r1, %r2, %r3, %r4
 714  goto L47
 717  ---
 717  L1:
 717  inline_call_r_i <JitCode 'W_Root.is_w'>, R[$<* struct pypy.interpreter.baseobjspace.W_Root>, %r3] -> %i1
 724  -live- %i0, %i1, %r0, %r1, %r3, %r4
 724  -live- %i0, %i1, %r0, %r1, %r3, %r4
 724  goto_if_not %i1, L50
 728  goto L2
 731  ---
 731  L50:
 731  goto L3
