   0  -live- %r0, %r1
   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, %r1
   8  switch %i0, <SwitchDictDescr 0:L1, 1:L2, 2:L3, 3:L4>
  12  unreachable
  13  ---
  13  L1:
  13  -live- %r0, %r1
  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, %r1, %r2
  21  goto_if_not_int_is_zero %i0, L5
  25  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x7fff713b8960> -> %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 -> %r3
  49  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_state> -> %i0
  54  -live- %i0, %r1, %r2, %r3
  54  goto_if_not_int_eq %i0, $2, L6
  59  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x7fff713b8960> -> %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, %r3
  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, %r3
  88  int_guard_value %i0
  90  residual_call_r_v %i0, <IndirectCallTargets>, R[%r3, $<* struct rpy_string>], <CallDescr(rr) EF=7>
  97  -live- %r1, %r3
  97  inline_call_r_i <JitCode 'convert_size'>, R[%r1] -> %i1
 103  -live- %i1, %r3
 103  -live- %i1, %r3
 103  goto_if_not_int_eq %i1, $-1, L8
 108  getfield_gc_r %r3, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_lock> -> %r2
 113  getfield_gc_r %r2, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_lock> -> %r0
 118  inline_call_ir_i <JitCode 'Lock.acquire'>, I[$False], R[%r0] -> %i0
 126  -live- %i0, %r2, %r3
 126  -live- %i0, %r2, %r3
 126  goto_if_not %i0, L9
 130  L10:
 130  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
 138  setfield_gc_i %r2, %i0, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_owner>
 143  -live- %r2, %r3
 143  guard_class %r3 -> %i0
 146  getfield_raw_i %i0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase_vtable.cls__read_all> -> %i0
 151  inline_call_ir_r <JitCode 'dispatcher'>, I[%i0], R[%r3] -> %r3
 159  -live- %r2, %r3
 159  catch_exception L11
 162  setfield_gc_i %r2, $0, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_owner>
 167  getfield_gc_r %r2, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_lock> -> %r0
 172  getfield_gc_i_pure %r0, FieldDescr<rpython.rlib.rthread.Lock.inst__lock> -> %i0
 177  residual_call_ir_i $<* fn RPyThreadReleaseLock>, I[%i0], R[], <CallDescr(i) EF=2> -> %i0
 185  -live- %i0, %r3
 185  goto_if_not_int_is_true %i0, L12
 189  raise $<* struct object>
 191  ---
 191  L12:
 191  ref_return %r3
 193  ---
 193  L11:
 193  last_exception -> %i1
 195  last_exc_value -> %r0
 197  setfield_gc_i %r2, $0, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_owner>
 202  getfield_gc_r %r2, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_lock> -> %r3
 207  getfield_gc_i_pure %r3, FieldDescr<rpython.rlib.rthread.Lock.inst__lock> -> %i0
 212  residual_call_ir_i $<* fn RPyThreadReleaseLock>, I[%i0], R[], <CallDescr(i) EF=2> -> %i0
 220  -live- %i0, %r0
 220  goto_if_not_int_is_true %i0, L13
 224  raise $<* struct object>
 226  ---
 226  L13:
 226  -live- %r0
 226  raise %r0
 228  ---
 228  L9:
 228  getfield_gc_i %r2, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_owner> -> %i0
 233  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
 241  -live- %i0, %i1, %r2, %r3
 241  goto_if_not_int_eq %i0, %i1, L14
 246  getfield_gc_r %r2, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_operr> -> %r0
 251  assert_not_none %r0
 253  -live- %r0
 253  guard_class %r0 -> %i1
 256  -live- %r0
 256  raise %r0
 258  ---
 258  L14:
 258  getfield_gc_r %r2, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_lock> -> %r0
 263  inline_call_ir_i <JitCode 'Lock.acquire'>, I[$True], R[%r0] -> %i0
 271  -live- %r2, %r3
 271  goto L10
 274  ---
 274  L8:
 274  -live- %i1, %r3
 274  goto_if_not_int_ge %i1, $0, L15
 279  -live- %i1, %r3
 279  guard_class %r3 -> %i0
 282  getfield_raw_i %i0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase_vtable.cls__read_fast> -> %i0
 287  -live- %i0, %i1, %r3
 287  switch %i0, <SwitchDictDescr 0:L16, 1:L17, 2:L18>
 291  unreachable
 292  ---
 292  L16:
 292  -live- %i1, %r3
 292  inline_call_ir_r <JitCode 'W_BufferedWriter._read_fast'>, I[%i1], R[%r3] -> %r0
 300  -live- %i1, %r0, %r3
 300  L19:
 300  -live- %i1, %r0, %r3
 300  goto_if_not_ptr_iszero %r0, L20
 304  getfield_gc_r %r3, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_lock> -> %r2
 309  getfield_gc_r %r2, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_lock> -> %r0
 314  inline_call_ir_i <JitCode 'Lock.acquire'>, I[$False], R[%r0] -> %i0
 322  -live- %i0, %i1, %r2, %r3
 322  -live- %i0, %i1, %r2, %r3
 322  goto_if_not %i0, L21
 326  L22:
 326  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
 334  setfield_gc_i %r2, %i0, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_owner>
 339  -live- %i1, %r2, %r3
 339  guard_class %r3 -> %i0
 342  getfield_raw_i %i0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase_vtable.cls__read_generic> -> %i0
 347  inline_call_ir_r <JitCode 'dispatcher'>, I[%i0, %i1], R[%r3] -> %r0
 356  -live- %r0, %r2
 356  catch_exception L23
 359  setfield_gc_i %r2, $0, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_owner>
 364  getfield_gc_r %r2, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_lock> -> %r3
 369  getfield_gc_i_pure %r3, FieldDescr<rpython.rlib.rthread.Lock.inst__lock> -> %i0
 374  residual_call_ir_i $<* fn RPyThreadReleaseLock>, I[%i0], R[], <CallDescr(i) EF=2> -> %i0
 382  -live- %i0, %r0
 382  goto_if_not_int_is_true %i0, L24
 386  raise $<* struct object>
 388  ---
 388  L24:
 388  L25:
 388  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x7fff4f52efa0> -> %r3
 392  setfield_gc_r %r3, %r0, FieldDescr<pypy.objspace.std.bytesobject.W_BytesObject.inst__value>
 397  ref_return %r3
 399  ---
 399  L23:
 399  last_exception -> %i1
 401  last_exc_value -> %r0
 403  setfield_gc_i %r2, $0, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_owner>
 408  getfield_gc_r %r2, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_lock> -> %r3
 413  getfield_gc_i_pure %r3, FieldDescr<rpython.rlib.rthread.Lock.inst__lock> -> %i0
 418  residual_call_ir_i $<* fn RPyThreadReleaseLock>, I[%i0], R[], <CallDescr(i) EF=2> -> %i0
 426  -live- %i0, %r0
 426  goto_if_not_int_is_true %i0, L26
 430  raise $<* struct object>
 432  ---
 432  L26:
 432  -live- %r0
 432  raise %r0
 434  ---
 434  L21:
 434  getfield_gc_i %r2, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_owner> -> %i0
 439  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> -> %i2
 447  -live- %i0, %i1, %i2, %r2, %r3
 447  goto_if_not_int_eq %i0, %i2, L27
 452  getfield_gc_r %r2, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_operr> -> %r0
 457  assert_not_none %r0
 459  -live- %r0
 459  guard_class %r0 -> %i1
 462  -live- %r0
 462  raise %r0
 464  ---
 464  L27:
 464  getfield_gc_r %r2, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_lock> -> %r0
 469  inline_call_ir_i <JitCode 'Lock.acquire'>, I[$True], R[%r0] -> %i0
 477  -live- %i1, %r2, %r3
 477  goto L22
 480  ---
 480  L20:
 480  goto L25
 483  ---
 483  L17:
 483  -live- %i1, %r3
 483  inline_call_ir_r <JitCode 'W_BufferedWriter._read_fast'>, I[%i1], R[%r3] -> %r0
 491  -live- %i1, %r0, %r3
 491  goto L19
 494  ---
 494  L18:
 494  -live- %i1, %r3
 494  inline_call_ir_r <JitCode 'W_BufferedWriter._read_fast'>, I[%i1], R[%r3] -> %r0
 502  -live- %i1, %r0, %r3
 502  goto L19
 505  ---
 505  L15:
 505  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x7fff713b8960> -> %r0
 509  setfield_gc_r %r0, $<* struct rpy_string>, FieldDescr<pypy.interpreter.error.OpErrFmtNoArgs.inst__value>
 514  setfield_gc_r %r0, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
 519  assert_not_none %r0
 521  -live- %r0
 521  guard_class %r0 -> %i1
 524  -live- %r0
 524  raise %r0
 526  ---
 526  L2:
 526  -live- %r0, %r1
 526  ref_copy %r0 -> %r2
 529  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_state> -> %i0
 534  -live- %i0, %r0, %r1, %r2
 534  goto_if_not_int_is_zero %i0, L28
 538  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x7fff713b8960> -> %r0
 542  setfield_gc_r %r0, $<* struct rpy_string>, FieldDescr<pypy.interpreter.error.OpErrFmtNoArgs.inst__value>
 547  setfield_gc_r %r0, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
 552  assert_not_none %r0
 554  -live- %r0
 554  guard_class %r0 -> %i1
 557  -live- %r0
 557  raise %r0
 559  ---
 559  L28:
 559  ref_copy %r0 -> %r3
 562  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_state> -> %i0
 567  -live- %i0, %r1, %r2, %r3
 567  goto_if_not_int_eq %i0, $2, L29
 572  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x7fff713b8960> -> %r0
 576  setfield_gc_r %r0, $<* struct rpy_string>, FieldDescr<pypy.interpreter.error.OpErrFmtNoArgs.inst__value>
 581  setfield_gc_r %r0, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
 586  assert_not_none %r0
 588  -live- %r0
 588  guard_class %r0 -> %i1
 591  -live- %r0
 591  raise %r0
 593  ---
 593  L29:
 593  goto L7
 596  ---
 596  L3:
 596  -live- %r0, %r1
 596  ref_copy %r0 -> %r2
 599  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_state> -> %i0
 604  -live- %i0, %r0, %r1, %r2
 604  goto_if_not_int_is_zero %i0, L30
 608  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x7fff713b8960> -> %r0
 612  setfield_gc_r %r0, $<* struct rpy_string>, FieldDescr<pypy.interpreter.error.OpErrFmtNoArgs.inst__value>
 617  setfield_gc_r %r0, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
 622  assert_not_none %r0
 624  -live- %r0
 624  guard_class %r0 -> %i1
 627  -live- %r0
 627  raise %r0
 629  ---
 629  L30:
 629  ref_copy %r0 -> %r3
 632  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_state> -> %i0
 637  -live- %i0, %r1, %r2, %r3
 637  goto_if_not_int_eq %i0, $2, L31
 642  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x7fff713b8960> -> %r0
 646  setfield_gc_r %r0, $<* struct rpy_string>, FieldDescr<pypy.interpreter.error.OpErrFmtNoArgs.inst__value>
 651  setfield_gc_r %r0, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
 656  assert_not_none %r0
 658  -live- %r0
 658  guard_class %r0 -> %i1
 661  -live- %r0
 661  raise %r0
 663  ---
 663  L31:
 663  goto L7
 666  ---
 666  L4:
 666  -live-
 666  raise $<* struct object>
