   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 0x4bb517b0> -> %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- %r0, %r1, %r2, %r3
 165  inline_call_r_r <JitCode 'W_UnicodeObject.str_w'>, R[%r2] -> %r2
 171  -live- %r0, %r1, %r2, %r3
 171  L18:
 171  inline_call_r_r <JitCode 'lookup_codec'>, R[%r2] -> %r2
 177  -live- %r0, %r1, %r2, %r3
 177  inline_call_r_r <JitCode 'call_method_opt__star_1'>, R[%r2, $<* struct rpy_string>, %r3] -> %r2
 185  -live- %r0, %r1, %r2, %r3
 185  setfield_gc_r %r0, %r2, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_w_decoder>
 190  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_readuniversal> -> %i1
 195  -live- %i1, %r0, %r1, %r2, %r3
 195  goto_if_not %i1, L19
 199  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_readtranslate> -> %i1
 204  -live- %i1, %r0, %r1, %r2, %r3
 204  goto_if_not %i1, L20
 208  ref_copy $<* struct pypy.interpreter.baseobjspace.W_Root> -> %r4
 211  L21:
 211  inline_call_r_r <JitCode 'call_function__star_2'>, R[$<* struct pypy.interpreter.baseobjspace.W_Root>, %r2, %r4] -> %r2
 219  -live- %r0, %r1, %r2, %r3
 219  setfield_gc_r %r0, %r2, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_w_decoder>
 224  L22:
 224  inline_call_r_r <JitCode 'call_method_opt__star_0'>, R[%r1, $<* struct rpy_string>] -> %r4
 231  -live- %r0, %r1, %r3, %r4
 231  -live- %r0, %r1, %r3, %r4
 231  goto_if_not_ptr_nonzero %r4, L23
 235  ref_copy %r4 -> %r2
 238  -live- %r0, %r1, %r2, %r3, %r4
 238  guard_class %r2 -> %i1
 241  -live- %i1, %r0, %r1, %r3, %r4
 241  goto_if_not_int_eq %i1, $<* struct object_vtable>, L24
 246  getfield_gc_i_pure %r4, FieldDescr<pypy.objspace.std.intobject.W_IntObject.inst_intval> -> %i1
 251  int_is_true %i1 -> %i1
 254  L25:
 254  -live- %i1, %r0, %r1, %r3
 254  goto_if_not %i1, L26
 258  getfield_gc_r %r0, FieldDescr<pypy.module._io.interp_textio.W_TextIOBase.inst_w_encoding> -> %r2
 263  -live- %r0, %r1, %r2, %r3
 263  guard_class %r2 -> %i1
 266  getfield_raw_i %i1, FieldDescr<pypy.interpreter.baseobjspace.W_Root_vtable.cls_str_w> -> %i1
 271  -live- %i1, %r0, %r1, %r2, %r3
 271  switch %i1, <SwitchDictDescr 0:L27, 1:L28, 2:L29>
 275  unreachable
 276  ---
 276  L27:
 276  -live- %r0, %r1, %r2, %r3
 276  inline_call_r_r <JitCode 'W_UnicodeObject.str_w'>, R[%r2] -> %r2
 282  -live- %r0, %r1, %r2, %r3
 282  L30:
 282  inline_call_r_r <JitCode 'lookup_codec'>, R[%r2] -> %r2
 288  -live- %r0, %r1, %r2, %r3
 288  inline_call_r_r <JitCode 'call_method_opt__star_1'>, R[%r2, $<* struct rpy_string>, %r3] -> %r2
 296  -live- %r0, %r1, %r2
 296  setfield_gc_r %r0, %r2, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_w_encoder>
 301  L31:
 301  inline_call_r_r <JitCode 'call_method_opt__star_0'>, R[%r1, $<* struct rpy_string>] -> %r1
 308  -live- %r0, %r1
 308  -live- %r0, %r1
 308  goto_if_not_ptr_nonzero %r1, L32
 312  ref_copy %r1 -> %r2
 315  -live- %r0, %r1, %r2
 315  guard_class %r2 -> %i1
 318  -live- %i1, %r0, %r1
 318  goto_if_not_int_eq %i1, $<* struct object_vtable>, L33
 323  getfield_gc_i_pure %r1, FieldDescr<pypy.objspace.std.intobject.W_IntObject.inst_intval> -> %i1
 328  int_is_true %i1 -> %i1
 331  L34:
 331  setfield_gc_i %r0, %i1, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_seekable>
 336  setfield_gc_i %r0, %i1, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_telling>
 341  setfield_gc_i %r0, $False, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_encoding_start_of_stream>
 346  -live- %i1, %r0
 346  goto_if_not %i1, L35
 350  getfield_gc_r %r0, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_w_encoder> -> %r2
 355  -live- %r0, %r2
 355  goto_if_not_ptr_nonzero %r2, L36
 359  setfield_gc_i %r0, $True, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_encoding_start_of_stream>
 364  getfield_gc_r %r0, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_w_buffer> -> %r2
 369  inline_call_r_r <JitCode 'call_method_opt__star_0'>, R[%r2, $<* struct rpy_string>] -> %r2
 376  -live- %r0, %r2
 376  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x4bb51730> -> %r1
 380  setfield_gc_i %r1, $0, FieldDescr<pypy.objspace.std.intobject.W_IntObject.inst_intval>
 385  inline_call_r_i <JitCode 'eq_w'>, R[%r2, %r1] -> %i1
 392  -live- %i1, %r0
 392  -live- %i1, %r0
 392  goto_if_not %i1, L37
 396  L38:
 396  setfield_gc_i %r0, $1, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_state>
 401  void_return
 402  ---
 402  L37:
 402  setfield_gc_i %r0, $False, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_encoding_start_of_stream>
 407  getfield_gc_r %r0, FieldDescr<pypy.module._io.interp_textio.W_TextIOWrapper.inst_w_encoder> -> %r2
 412  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x4bb51730> -> %r1
 416  setfield_gc_i %r1, $0, FieldDescr<pypy.objspace.std.intobject.W_IntObject.inst_intval>
 421  inline_call_r_r <JitCode 'call_method_opt__star_1'>, R[%r2, $<* struct rpy_string>, %r1] -> %r2
 429  -live- %r0
 429  goto L38
 432  ---
 432  L36:
 432  goto L38
 435  ---
 435  L35:
 435  goto L38
 438  ---
 438  L33:
 438  L39:
 438  inline_call_r_i <JitCode 'is_true'>, R[%r1] -> %i1
 444  -live- %i1, %r0
 444  goto L34
 447  ---
 447  L32:
 447  goto L39
 450  ---
 450  L28:
 450  -live- %r0, %r1, %r2, %r3
 450  getfield_gc_r_pure %r2, FieldDescr<pypy.objspace.std.bytesobject.W_BytesObject.inst__value> -> %r2
 455  goto L30
 458  ---
 458  L29:
 458  -live- %r2
 458  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
 467  -live- %r2
 467  assert_not_none %r2
 469  -live- %r2
 469  guard_class %r2 -> %i1
 472  -live- %r2
 472  raise %r2
 474  ---
 474  L26:
 474  goto L31
 477  ---
 477  L24:
 477  L40:
 477  inline_call_r_i <JitCode 'is_true'>, R[%r4] -> %i1
 483  -live- %i1, %r0, %r1, %r3
 483  goto L25
 486  ---
 486  L23:
 486  goto L40
 489  ---
 489  L20:
 489  ref_copy $<* struct pypy.interpreter.baseobjspace.W_Root> -> %r4
 492  goto L21
 495  ---
 495  L19:
 495  goto L22
 498  ---
 498  L16:
 498  -live- %r0, %r1, %r2, %r3
 498  getfield_gc_r_pure %r2, FieldDescr<pypy.objspace.std.bytesobject.W_BytesObject.inst__value> -> %r2
 503  goto L18
 506  ---
 506  L17:
 506  -live- %r2
 506  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
 515  -live- %r2
 515  assert_not_none %r2
 517  -live- %r2
 517  guard_class %r2 -> %i1
 520  -live- %r2
 520  raise %r2
 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- %i0, %r0, %r1, %r3, %r4
 612  inline_call_r_r <JitCode 'W_AbstractBytesObject.unicode_w'>, R[%r4] -> %r2
 618  -live- %i0, %r0, %r1, %r2, %r3, %r4
 618  L47:
 618  unicodelen %r2 -> %i1
 621  -live- %i0, %i1, %r0, %r1, %r2, %r3, %r4
 621  goto_if_not_int_is_true %i1, L48
 625  residual_call_r_i $<* fn ll_streq__rpy_unicodePtr_rpy_unicodePtr>, R[%r2, $<* struct rpy_unicode>], <CallDescr(rr) EF=0 OS_UNI_EQUAL> -> %i1
 633  residual_call_r_i $<* fn ll_streq__rpy_unicodePtr_rpy_unicodePtr>, R[%r2, $<* struct rpy_unicode>], <CallDescr(rr) EF=0 OS_UNI_EQUAL> -> %i2
 641  int_or %i1, %i2 -> %i1
 645  residual_call_r_i $<* fn ll_streq__rpy_unicodePtr_rpy_unicodePtr>, R[%r2, $<* struct rpy_unicode>], <CallDescr(rr) EF=0 OS_UNI_EQUAL> -> %i2
 653  int_or %i1, %i2 -> %i1
 657  -live- %i0, %i1, %r0, %r1, %r2, %r3, %r4
 657  goto_if_not %i1, L49
 661  goto L5
 664  ---
 664  L49:
 664  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x439787b0> -> %r2
 668  setfield_gc_r %r2, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
 673  setfield_gc_r %r2, $<* struct tuple2>, FieldDescr<pypy.interpreter.error.OpErrFmt.inst_xstrings>
 678  setfield_gc_r %r2, %r4, FieldDescr<pypy.interpreter.error.OpErrFmt.inst_x0>
 683  assert_not_none %r2
 685  -live- %r2
 685  guard_class %r2 -> %i1
 688  -live- %r2
 688  raise %r2
 690  ---
 690  L48:
 690  goto L5
 693  ---
 693  L45:
 693  -live- %i0, %r0, %r1, %r3, %r4
 693  getfield_gc_r_pure %r4, FieldDescr<pypy.objspace.std.unicodeobject.W_UnicodeObject.inst__value> -> %r2
 698  goto L47
 701  ---
 701  L46:
 701  -live- %r4
 701  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
 710  -live- %r2
 710  assert_not_none %r2
 712  -live- %r2
 712  guard_class %r2 -> %i1
 715  -live- %r2
 715  raise %r2
 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
