   0  -live- %r0
   3  guard_class %r0 -> %i0
   6  getfield_raw_i %i0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase_vtable.cls__check_init> -> %i0
  11  -live- %i0, %r0
  14  switch %i0, <SwitchDictDescr 0:L1, 1:L2, 2:L3, 3:L4>
  18  unreachable
  19  ---
  19  L1:
  19  -live- %r0
  22  ref_copy %r0 -> %r2
  25  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_state> -> %i0
  30  -live- %i0, %r0, %r2
  33  goto_if_not_int_is_zero %i0, L5
  37  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x0000563a60ed2100> -> %r0
  41  setfield_gc_r %r0, $<* struct rpy_string>, FieldDescr<pypy.interpreter.error.OpErrFmtNoArgs.inst__value>
  46  setfield_gc_r %r0, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
  51  assert_not_none %r0
  53  -live- %r0
  56  raise %r0
  58  ---
  58  L5:
  58  ref_copy %r0 -> %r1
  61  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_state> -> %i0
  66  -live- %i0, %r1, %r2
  69  goto_if_not_int_eq %i0, $2, L6
  74  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x0000563a60ed2100> -> %r0
  78  setfield_gc_r %r0, $<* struct rpy_string>, FieldDescr<pypy.interpreter.error.OpErrFmtNoArgs.inst__value>
  83  setfield_gc_r %r0, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
  88  assert_not_none %r0
  90  -live- %r0
  93  raise %r0
  95  ---
  95  L6:
  95  L7:
  95  -live- %r1, %r2
  98  guard_class %r2 -> %i0
 101  getfield_raw_i %i0, FieldDescr<pypy.module._io.interp_iobase.W_IOBase_vtable.cls__check_closed> -> %i0
 106  -live- %i0, %r1
 109  int_guard_value %i0
 111  residual_call_r_v %i0, <IndirectCallTargets>, R[%r1, $<* struct rpy_string>], <CallDescr(rr) EF=7>
 118  -live- %r1
 121  getfield_gc_r %r1, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_lock> -> %r2
 126  getfield_gc_r %r2, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_lock> -> %r0
 131  inline_call_ir_i <JitCode 'Lock.acquire'>, I[$False], R[%r0] -> %i0
 139  -live- %i0, %r1, %r2
 142  goto_if_not %i0, L8
 146  L9:
 146  residual_call_ir_i $<* fn _ll_1_threadlocalref_get__SignedLlT_Signed>, I[$CDefinedIntSymbolic('RPY_TLOFS_thread_ident')], R[], <CallDescr(i) EF=1 OS_THREADLOCALREF_GET> -> %i0
 154  setfield_gc_i %r2, %i0, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_owner>
 159  getfield_gc_i %r1, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_writable> -> %i0
 164  -live- %i0, %r1, %r2
 167  goto_if_not %i0, L10
 171  -live- %r1, %r2
 174  guard_class %r1 -> %i0
 177  getfield_raw_i %i0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase_vtable.cls__flush_and_rewind_unlocked> -> %i0
 182  inline_call_ir_v <JitCode 'dispatcher__flush_and_rewind_unlocked'>, I[%i0], R[%r1]
 189  -live- %r1, %r2
 192  catch_exception L11
 195  L12:
 195  -live- %r1, %r2
 198  guard_class %r1 -> %i0
 201  getfield_raw_i %i0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase_vtable.cls__readahead> -> %i0
 206  -live- %i0, %r1, %r2
 209  switch %i0, <SwitchDictDescr 0:L13, 1:L14, 2:L15>
 213  unreachable
 214  ---
 214  L13:
 214  -live- %r1, %r2
 217  getfield_gc_i %r1, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_readable> -> %i0
 222  -live- %i0, %r1, %r2
 225  goto_if_not %i0, L16
 229  ref_copy %r1 -> %r0
 232  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_read_end> -> %i0
 237  -live- %i0, %r0, %r1, %r2
 240  goto_if_not_int_ne %i0, $-1, L17
 245  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_pos> -> %i1
 250  int_sub %i0, %i1 -> %i1
 254  L18:
 254  -live- %i1, %r1, %r2
 257  goto_if_not_int_gt %i1, $0, L19
 262  getfield_gc_r %r1, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_buffer> -> %r0
 267  getfield_gc_i %r1, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_pos> -> %i0
 272  int_add %i0, %i1 -> %i1
 276  inline_call_ir_r <JitCode 'Buffer.__getslice__'>, I[%i0, %i1], R[%r0] -> %r0
 285  -live- %r0, %r2
 288  inline_call_r_r <JitCode 'newbytes'>, R[%r0] -> %r0
 294  -live- %r0, %r2
 297  catch_exception L20
 300  L21:
 300  setfield_gc_i %r2, $0, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_owner>
 305  getfield_gc_r %r2, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_lock> -> %r1
 310  getfield_gc_i_pure %r1, FieldDescr<rpython.rlib.rthread.Lock.inst__lock> -> %i0
 315  residual_call_ir_i $<* fn RPyThreadReleaseLock>, I[%i0], R[], <CallDescr(i) EF=2> -> %i0
 323  -live- %i0, %r0
 326  goto_if_not_int_is_true %i0, L22
 330  raise $<* struct object>
 332  ---
 332  L22:
 332  ref_return %r0
 334  ---
 334  L20:
 334  last_exception -> %i1
 336  last_exc_value -> %r0
 338  L23:
 338  setfield_gc_i %r2, $0, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_owner>
 343  getfield_gc_r %r2, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_lock> -> %r1
 348  getfield_gc_i_pure %r1, FieldDescr<rpython.rlib.rthread.Lock.inst__lock> -> %i0
 353  residual_call_ir_i $<* fn RPyThreadReleaseLock>, I[%i0], R[], <CallDescr(i) EF=2> -> %i0
 361  -live- %i0, %r0
 364  goto_if_not_int_is_true %i0, L24
 368  raise $<* struct object>
 370  ---
 370  L24:
 370  -live- %r0
 373  raise %r0
 375  ---
 375  L19:
 375  L25:
 375  -live- %r1, %r2
 378  guard_class %r1 -> %i0
 381  getfield_raw_i %i0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase_vtable.cls__reader_reset_buf> -> %i0
 386  -live- %i0, %r1, %r2
 389  switch %i0, <SwitchDictDescr 0:L26, 1:L27, 2:L28>
 393  unreachable
 394  ---
 394  L26:
 394  -live- %r1, %r2
 397  setfield_gc_i %r1, $-1, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_read_end>
 402  L29:
 402  -live- %r1, %r2
 405  guard_class %r1 -> %i0
 408  getfield_raw_i %i0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase_vtable.cls__fill_buffer> -> %i0
 413  inline_call_ir_i <JitCode 'dispatcher__fill_buffer'>, I[%i0], R[%r1] -> %i0
 421  -live- %i0, %r1, %r2
 424  catch_exception L30
 427  L31:
 427  setfield_gc_i %r1, $0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_pos>
 432  getfield_gc_r %r1, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_buffer> -> %r0
 437  inline_call_ir_r <JitCode 'Buffer.__getslice__'>, I[$0, %i0], R[%r0] -> %r0
 446  -live- %r0, %r2
 449  inline_call_r_r <JitCode 'newbytes'>, R[%r0] -> %r0
 455  -live- %r0, %r2
 458  catch_exception L32
 461  goto L21
 464  ---
 464  L32:
 464  last_exception -> %i1
 466  last_exc_value -> %r0
 468  goto L23
 471  ---
 471  L30:
 471  goto_if_exception_mismatch $<* struct object_vtable>, L33
 475  int_copy $0 -> %i0
 478  goto L31
 481  ---
 481  L33:
 481  last_exception -> %i1
 483  last_exc_value -> %r0
 485  setfield_gc_i %r2, $0, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_owner>
 490  getfield_gc_r %r2, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_lock> -> %r1
 495  getfield_gc_i_pure %r1, FieldDescr<rpython.rlib.rthread.Lock.inst__lock> -> %i0
 500  residual_call_ir_i $<* fn RPyThreadReleaseLock>, I[%i0], R[], <CallDescr(i) EF=2> -> %i0
 508  -live- %i0, %r0
 511  goto_if_not_int_is_true %i0, L34
 515  raise $<* struct object>
 517  ---
 517  L34:
 517  -live- %r0
 520  raise %r0
 522  ---
 522  L27:
 522  -live- %r1, %r2
 525  setfield_gc_i %r1, $-1, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_read_end>
 530  goto L29
 533  ---
 533  L28:
 533  -live- %r1, %r2
 536  setfield_gc_i %r1, $-1, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_read_end>
 541  goto L29
 544  ---
 544  L17:
 544  goto L25
 547  ---
 547  L16:
 547  goto L25
 550  ---
 550  L14:
 550  -live- %r1, %r2
 553  getfield_gc_i %r1, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_readable> -> %i0
 558  -live- %i0, %r1, %r2
 561  goto_if_not %i0, L35
 565  ref_copy %r1 -> %r0
 568  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_read_end> -> %i0
 573  -live- %i0, %r0, %r1, %r2
 576  goto_if_not_int_ne %i0, $-1, L36
 581  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_pos> -> %i1
 586  int_sub %i0, %i1 -> %i1
 590  goto L18
 593  ---
 593  L36:
 593  goto L25
 596  ---
 596  L35:
 596  goto L25
 599  ---
 599  L15:
 599  -live- %r1, %r2
 602  getfield_gc_i %r1, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_readable> -> %i0
 607  -live- %i0, %r1, %r2
 610  goto_if_not %i0, L37
 614  ref_copy %r1 -> %r0
 617  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_read_end> -> %i0
 622  -live- %i0, %r0, %r1, %r2
 625  goto_if_not_int_ne %i0, $-1, L38
 630  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_pos> -> %i1
 635  int_sub %i0, %i1 -> %i1
 639  goto L18
 642  ---
 642  L38:
 642  goto L25
 645  ---
 645  L37:
 645  goto L25
 648  ---
 648  L11:
 648  last_exception -> %i1
 650  last_exc_value -> %r0
 652  goto L23
 655  ---
 655  L10:
 655  goto L12
 658  ---
 658  L8:
 658  getfield_gc_i %r2, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_owner> -> %i0
 663  residual_call_ir_i $<* fn _ll_1_threadlocalref_get__SignedLlT_Signed>, I[$CDefinedIntSymbolic('RPY_TLOFS_thread_ident')], R[], <CallDescr(i) EF=1 OS_THREADLOCALREF_GET> -> %i1
 671  -live- %i0, %i1, %r1, %r2
 674  goto_if_not_int_eq %i0, %i1, L39
 679  getfield_gc_r %r2, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_operr> -> %r0
 684  assert_not_none %r0
 686  -live- %r0
 689  guard_class %r0 -> %i1
 692  -live- %r0
 695  raise %r0
 697  ---
 697  L39:
 697  getfield_gc_r %r2, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_lock> -> %r0
 702  inline_call_ir_i <JitCode 'Lock.acquire'>, I[$True], R[%r0] -> %i0
 710  -live- %r1, %r2
 713  goto L9
 716  ---
 716  L2:
 716  -live- %r0
 719  ref_copy %r0 -> %r2
 722  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_state> -> %i0
 727  -live- %i0, %r0, %r2
 730  goto_if_not_int_is_zero %i0, L40
 734  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x0000563a60ed2100> -> %r0
 738  setfield_gc_r %r0, $<* struct rpy_string>, FieldDescr<pypy.interpreter.error.OpErrFmtNoArgs.inst__value>
 743  setfield_gc_r %r0, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
 748  assert_not_none %r0
 750  -live- %r0
 753  raise %r0
 755  ---
 755  L40:
 755  ref_copy %r0 -> %r1
 758  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_state> -> %i0
 763  -live- %i0, %r1, %r2
 766  goto_if_not_int_eq %i0, $2, L41
 771  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x0000563a60ed2100> -> %r0
 775  setfield_gc_r %r0, $<* struct rpy_string>, FieldDescr<pypy.interpreter.error.OpErrFmtNoArgs.inst__value>
 780  setfield_gc_r %r0, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
 785  assert_not_none %r0
 787  -live- %r0
 790  raise %r0
 792  ---
 792  L41:
 792  goto L7
 795  ---
 795  L3:
 795  -live- %r0
 798  ref_copy %r0 -> %r2
 801  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_state> -> %i0
 806  -live- %i0, %r0, %r2
 809  goto_if_not_int_is_zero %i0, L42
 813  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x0000563a60ed2100> -> %r0
 817  setfield_gc_r %r0, $<* struct rpy_string>, FieldDescr<pypy.interpreter.error.OpErrFmtNoArgs.inst__value>
 822  setfield_gc_r %r0, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
 827  assert_not_none %r0
 829  -live- %r0
 832  raise %r0
 834  ---
 834  L42:
 834  ref_copy %r0 -> %r1
 837  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_state> -> %i0
 842  -live- %i0, %r1, %r2
 845  goto_if_not_int_eq %i0, $2, L43
 850  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x0000563a60ed2100> -> %r0
 854  setfield_gc_r %r0, $<* struct rpy_string>, FieldDescr<pypy.interpreter.error.OpErrFmtNoArgs.inst__value>
 859  setfield_gc_r %r0, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
 864  assert_not_none %r0
 866  -live- %r0
 869  raise %r0
 871  ---
 871  L43:
 871  goto L7
 874  ---
 874  L4:
 874  -live-
 877  raise $<* struct object>
