   0  -live- %r0
   0  guard_class %r0 -> %i0
   3  getfield_raw_i %i0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase_vtable.cls__check_init> -> %i0
   8  -live- %i0, %r0
   8  switch %i0, <SwitchDictDescr 0:L1, 1:L2, 2:L3, 3:L4>
  12  unreachable
  13  ---
  13  L1:
  13  -live- %r0
  13  ref_copy %r0 -> %r2
  16  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_state> -> %i0
  21  -live- %i0, %r0, %r2
  21  goto_if_not_int_is_zero %i0, L5
  25  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x000002aabbb1b8a0> -> %r0
  29  setfield_gc_r %r0, $<* struct rpy_string>, FieldDescr<pypy.interpreter.error.OpErrFmtNoArgs.inst__value>
  34  setfield_gc_r %r0, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
  39  assert_not_none %r0
  41  -live- %r0
  41  guard_class %r0 -> %i1
  44  -live- %r0
  44  raise %r0
  46  ---
  46  L5:
  46  ref_copy %r0 -> %r1
  49  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_state> -> %i0
  54  -live- %i0, %r1, %r2
  54  goto_if_not_int_eq %i0, $2, L6
  59  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x000002aabbb1b8a0> -> %r0
  63  setfield_gc_r %r0, $<* struct rpy_string>, FieldDescr<pypy.interpreter.error.OpErrFmtNoArgs.inst__value>
  68  setfield_gc_r %r0, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
  73  assert_not_none %r0
  75  -live- %r0
  75  guard_class %r0 -> %i1
  78  -live- %r0
  78  raise %r0
  80  ---
  80  L6:
  80  L7:
  80  -live- %r1, %r2
  80  guard_class %r2 -> %i0
  83  getfield_raw_i %i0, FieldDescr<pypy.module._io.interp_iobase.W_IOBase_vtable.cls__check_closed> -> %i0
  88  -live- %i0, %r1
  88  int_guard_value %i0
  90  residual_call_r_v %i0, <IndirectCallTargets>, R[%r1, $<* struct rpy_string>], <CallDescr(rr) EF=7>
  97  -live- %r1
  97  getfield_gc_r %r1, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_lock> -> %r2
 102  getfield_gc_r %r2, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_lock> -> %r0
 107  inline_call_ir_i <JitCode 'Lock.acquire'>, I[$False], R[%r0] -> %i0
 115  -live- %i0, %r1, %r2
 115  -live- %i0, %r1, %r2
 115  goto_if_not %i0, L8
 119  L9:
 119  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
 127  setfield_gc_i %r2, %i0, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_owner>
 132  getfield_gc_i %r1, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_writable> -> %i0
 137  -live- %i0, %r1, %r2
 137  goto_if_not %i0, L10
 141  -live- %r1, %r2
 141  guard_class %r1 -> %i0
 144  getfield_raw_i %i0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase_vtable.cls__flush_and_rewind_unlocked> -> %i0
 149  inline_call_ir_v <JitCode 'dispatcher'>, I[%i0], R[%r1]
 156  -live- %r1, %r2
 156  catch_exception L11
 159  L12:
 159  -live- %r1, %r2
 159  guard_class %r1 -> %i0
 162  getfield_raw_i %i0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase_vtable.cls__readahead> -> %i0
 167  -live- %i0, %r1, %r2
 167  switch %i0, <SwitchDictDescr 0:L13, 1:L14, 2:L15>
 171  unreachable
 172  ---
 172  L13:
 172  -live- %r1, %r2
 172  getfield_gc_i %r1, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_readable> -> %i0
 177  -live- %i0, %r1, %r2
 177  goto_if_not %i0, L16
 181  ref_copy %r1 -> %r0
 184  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_read_end> -> %i0
 189  -live- %i0, %r0, %r1, %r2
 189  goto_if_not_int_ne %i0, $-1, L17
 194  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_read_end> -> %i0
 199  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_pos> -> %i1
 204  int_sub %i0, %i1 -> %i1
 208  L18:
 208  -live- %i1, %r1, %r2
 208  goto_if_not_int_gt %i1, $0, L19
 213  getfield_gc_r %r1, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_buffer> -> %r0
 218  getfield_gc_i %r1, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_pos> -> %i0
 223  int_add %i0, %i1 -> %i1
 227  inline_call_ir_r <JitCode 'Buffer.__getslice__'>, I[%i0, %i1], R[%r0] -> %r0
 236  -live- %r0, %r2
 236  inline_call_r_r <JitCode 'newbytes'>, R[%r0] -> %r0
 242  -live- %r0, %r2
 242  catch_exception L20
 245  L21:
 245  setfield_gc_i %r2, $0, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_owner>
 250  getfield_gc_r %r2, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_lock> -> %r1
 255  getfield_gc_i_pure %r1, FieldDescr<rpython.rlib.rthread.Lock.inst__lock> -> %i0
 260  residual_call_ir_i $<* fn RPyThreadReleaseLock>, I[%i0], R[], <CallDescr(i) EF=2> -> %i0
 268  -live- %i0, %r0
 268  goto_if_not_int_is_true %i0, L22
 272  raise $<* struct object>
 274  ---
 274  L22:
 274  ref_return %r0
 276  ---
 276  L20:
 276  last_exception -> %i1
 278  last_exc_value -> %r0
 280  L23:
 280  setfield_gc_i %r2, $0, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_owner>
 285  getfield_gc_r %r2, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_lock> -> %r1
 290  getfield_gc_i_pure %r1, FieldDescr<rpython.rlib.rthread.Lock.inst__lock> -> %i0
 295  residual_call_ir_i $<* fn RPyThreadReleaseLock>, I[%i0], R[], <CallDescr(i) EF=2> -> %i0
 303  -live- %i0, %r0
 303  goto_if_not_int_is_true %i0, L24
 307  raise $<* struct object>
 309  ---
 309  L24:
 309  -live- %r0
 309  raise %r0
 311  ---
 311  L19:
 311  L25:
 311  -live- %r1, %r2
 311  guard_class %r1 -> %i0
 314  getfield_raw_i %i0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase_vtable.cls__reader_reset_buf> -> %i0
 319  -live- %i0, %r1, %r2
 319  switch %i0, <SwitchDictDescr 0:L26, 1:L27, 2:L28>
 323  unreachable
 324  ---
 324  L26:
 324  -live- %r1, %r2
 324  setfield_gc_i %r1, $-1, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_read_end>
 329  L29:
 329  -live- %r1, %r2
 329  guard_class %r1 -> %i0
 332  getfield_raw_i %i0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase_vtable.cls__fill_buffer> -> %i0
 337  inline_call_ir_i <JitCode 'dispatcher'>, I[%i0], R[%r1] -> %i0
 345  -live- %i0, %r1, %r2
 345  catch_exception L30
 348  L31:
 348  setfield_gc_i %r1, $0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_pos>
 353  getfield_gc_r %r1, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_buffer> -> %r0
 358  inline_call_ir_r <JitCode 'Buffer.__getslice__'>, I[$0, %i0], R[%r0] -> %r0
 367  -live- %r0, %r2
 367  inline_call_r_r <JitCode 'newbytes'>, R[%r0] -> %r0
 373  -live- %r0, %r2
 373  catch_exception L32
 376  goto L21
 379  ---
 379  L32:
 379  last_exception -> %i1
 381  last_exc_value -> %r0
 383  goto L23
 386  ---
 386  L30:
 386  goto_if_exception_mismatch $<* struct object_vtable>, L33
 390  int_copy $0 -> %i0
 393  goto L31
 396  ---
 396  L33:
 396  last_exception -> %i1
 398  last_exc_value -> %r0
 400  setfield_gc_i %r2, $0, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_owner>
 405  getfield_gc_r %r2, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_lock> -> %r1
 410  getfield_gc_i_pure %r1, FieldDescr<rpython.rlib.rthread.Lock.inst__lock> -> %i0
 415  residual_call_ir_i $<* fn RPyThreadReleaseLock>, I[%i0], R[], <CallDescr(i) EF=2> -> %i0
 423  -live- %i0, %r0
 423  goto_if_not_int_is_true %i0, L34
 427  raise $<* struct object>
 429  ---
 429  L34:
 429  -live- %r0
 429  raise %r0
 431  ---
 431  L27:
 431  -live- %r1, %r2
 431  setfield_gc_i %r1, $-1, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_read_end>
 436  goto L29
 439  ---
 439  L28:
 439  -live- %r1, %r2
 439  setfield_gc_i %r1, $-1, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_read_end>
 444  goto L29
 447  ---
 447  L17:
 447  goto L25
 450  ---
 450  L16:
 450  goto L25
 453  ---
 453  L14:
 453  -live- %r1, %r2
 453  getfield_gc_i %r1, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_readable> -> %i0
 458  -live- %i0, %r1, %r2
 458  goto_if_not %i0, L35
 462  ref_copy %r1 -> %r0
 465  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_read_end> -> %i0
 470  -live- %i0, %r0, %r1, %r2
 470  goto_if_not_int_ne %i0, $-1, L36
 475  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_read_end> -> %i0
 480  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_pos> -> %i1
 485  int_sub %i0, %i1 -> %i1
 489  goto L18
 492  ---
 492  L36:
 492  goto L25
 495  ---
 495  L35:
 495  goto L25
 498  ---
 498  L15:
 498  -live- %r1, %r2
 498  getfield_gc_i %r1, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_readable> -> %i0
 503  -live- %i0, %r1, %r2
 503  goto_if_not %i0, L37
 507  ref_copy %r1 -> %r0
 510  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_read_end> -> %i0
 515  -live- %i0, %r0, %r1, %r2
 515  goto_if_not_int_ne %i0, $-1, L38
 520  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_read_end> -> %i0
 525  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_pos> -> %i1
 530  int_sub %i0, %i1 -> %i1
 534  goto L18
 537  ---
 537  L38:
 537  goto L25
 540  ---
 540  L37:
 540  goto L25
 543  ---
 543  L11:
 543  last_exception -> %i1
 545  last_exc_value -> %r0
 547  goto L23
 550  ---
 550  L10:
 550  goto L12
 553  ---
 553  L8:
 553  getfield_gc_i %r2, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_owner> -> %i0
 558  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
 566  -live- %i0, %i1, %r1, %r2
 566  goto_if_not_int_eq %i0, %i1, L39
 571  getfield_gc_r %r2, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_operr> -> %r0
 576  assert_not_none %r0
 578  -live- %r0
 578  guard_class %r0 -> %i1
 581  -live- %r0
 581  raise %r0
 583  ---
 583  L39:
 583  getfield_gc_r %r2, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_lock> -> %r0
 588  inline_call_ir_i <JitCode 'Lock.acquire'>, I[$True], R[%r0] -> %i0
 596  -live- %r1, %r2
 596  goto L9
 599  ---
 599  L2:
 599  -live- %r0
 599  ref_copy %r0 -> %r2
 602  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_state> -> %i0
 607  -live- %i0, %r0, %r2
 607  goto_if_not_int_is_zero %i0, L40
 611  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x000002aabbb1b8a0> -> %r0
 615  setfield_gc_r %r0, $<* struct rpy_string>, FieldDescr<pypy.interpreter.error.OpErrFmtNoArgs.inst__value>
 620  setfield_gc_r %r0, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
 625  assert_not_none %r0
 627  -live- %r0
 627  guard_class %r0 -> %i1
 630  -live- %r0
 630  raise %r0
 632  ---
 632  L40:
 632  ref_copy %r0 -> %r1
 635  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_state> -> %i0
 640  -live- %i0, %r1, %r2
 640  goto_if_not_int_eq %i0, $2, L41
 645  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x000002aabbb1b8a0> -> %r0
 649  setfield_gc_r %r0, $<* struct rpy_string>, FieldDescr<pypy.interpreter.error.OpErrFmtNoArgs.inst__value>
 654  setfield_gc_r %r0, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
 659  assert_not_none %r0
 661  -live- %r0
 661  guard_class %r0 -> %i1
 664  -live- %r0
 664  raise %r0
 666  ---
 666  L41:
 666  goto L7
 669  ---
 669  L3:
 669  -live- %r0
 669  ref_copy %r0 -> %r2
 672  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_state> -> %i0
 677  -live- %i0, %r0, %r2
 677  goto_if_not_int_is_zero %i0, L42
 681  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x000002aabbb1b8a0> -> %r0
 685  setfield_gc_r %r0, $<* struct rpy_string>, FieldDescr<pypy.interpreter.error.OpErrFmtNoArgs.inst__value>
 690  setfield_gc_r %r0, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
 695  assert_not_none %r0
 697  -live- %r0
 697  guard_class %r0 -> %i1
 700  -live- %r0
 700  raise %r0
 702  ---
 702  L42:
 702  ref_copy %r0 -> %r1
 705  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_state> -> %i0
 710  -live- %i0, %r1, %r2
 710  goto_if_not_int_eq %i0, $2, L43
 715  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x000002aabbb1b8a0> -> %r0
 719  setfield_gc_r %r0, $<* struct rpy_string>, FieldDescr<pypy.interpreter.error.OpErrFmtNoArgs.inst__value>
 724  setfield_gc_r %r0, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
 729  assert_not_none %r0
 731  -live- %r0
 731  guard_class %r0 -> %i1
 734  -live- %r0
 734  raise %r0
 736  ---
 736  L43:
 736  goto L7
 739  ---
 739  L4:
 739  -live-
 739  raise $<* struct object>
