   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-
  13  raise $<* struct object>
  15  ---
  15  L2:
  15  -live- %r0
  15  ref_copy %r0 -> %r1
  18  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_state> -> %i0
  23  -live- %i0, %r0, %r1
  23  goto_if_not_int_is_zero %i0, L5
  27  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x7fff4a07fb90> -> %r0
  31  setfield_gc_r %r0, $<* struct rpy_string>, FieldDescr<pypy.interpreter.error.OpErrFmtNoArgs.inst__value>
  36  setfield_gc_r %r0, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
  41  assert_not_none %r0
  43  -live- %r0
  43  guard_class %r0 -> %i1
  46  -live- %r0
  46  raise %r0
  48  ---
  48  L5:
  48  ref_copy %r0 -> %r2
  51  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_state> -> %i0
  56  -live- %i0, %r1, %r2
  56  goto_if_not_int_eq %i0, $2, L6
  61  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x7fff4a07fb90> -> %r0
  65  setfield_gc_r %r0, $<* struct rpy_string>, FieldDescr<pypy.interpreter.error.OpErrFmtNoArgs.inst__value>
  70  setfield_gc_r %r0, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
  75  assert_not_none %r0
  77  -live- %r0
  77  guard_class %r0 -> %i1
  80  -live- %r0
  80  raise %r0
  82  ---
  82  L6:
  82  L7:
  82  -live- %r1, %r2
  82  guard_class %r1 -> %i0
  85  getfield_raw_i %i0, FieldDescr<pypy.module._io.interp_iobase.W_IOBase_vtable.cls__check_closed> -> %i0
  90  -live- %i0, %r1, %r2
  90  int_guard_value %i0
  92  residual_call_r_v %i0, <IndirectCallTargets>, R[%r2, $<* struct rpy_string>], <CallDescr(rr) EF=7>
  99  -live- %r1, %r2
  99  getfield_gc_r %r2, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_lock> -> %r3
 104  getfield_gc_r %r3, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_lock> -> %r0
 109  inline_call_ir_i <JitCode 'Lock.acquire'>, I[$False], R[%r0] -> %i0
 117  -live- %i0, %r1, %r2, %r3
 117  -live- %i0, %r1, %r2, %r3
 117  goto_if_not %i0, L8
 121  L9:
 121  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
 129  setfield_gc_i %r3, %i0, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_owner>
 134  -live- %r1, %r2, %r3
 134  guard_class %r1 -> %i0
 137  getfield_raw_i %i0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase_vtable.cls__flush_and_rewind_unlocked> -> %i0
 142  inline_call_ir_v <JitCode 'dispatcher'>, I[%i0], R[%r2]
 149  -live- %r3
 149  catch_exception L10
 152  setfield_gc_i %r3, $0, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_owner>
 157  getfield_gc_r %r3, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_lock> -> %r0
 162  getfield_gc_i_pure %r0, FieldDescr<rpython.rlib.rthread.Lock.inst__lock> -> %i0
 167  residual_call_ir_i $<* fn RPyThreadReleaseLock>, I[%i0], R[], <CallDescr(i) EF=2> -> %i0
 175  -live- %i0
 175  goto_if_not_int_is_true %i0, L11
 179  raise $<* struct object>
 181  ---
 181  L11:
 181  ref_return $<* struct pypy.interpreter.baseobjspace.W_Root>
 183  ---
 183  L10:
 183  last_exception -> %i1
 185  last_exc_value -> %r0
 187  setfield_gc_i %r3, $0, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_owner>
 192  getfield_gc_r %r3, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_lock> -> %r1
 197  getfield_gc_i_pure %r1, FieldDescr<rpython.rlib.rthread.Lock.inst__lock> -> %i0
 202  residual_call_ir_i $<* fn RPyThreadReleaseLock>, I[%i0], R[], <CallDescr(i) EF=2> -> %i0
 210  -live- %i0, %r0
 210  goto_if_not_int_is_true %i0, L12
 214  raise $<* struct object>
 216  ---
 216  L12:
 216  -live- %r0
 216  raise %r0
 218  ---
 218  L8:
 218  getfield_gc_i %r3, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_owner> -> %i0
 223  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
 231  -live- %i0, %i1, %r1, %r2, %r3
 231  goto_if_not_int_eq %i0, %i1, L13
 236  getfield_gc_r %r3, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_operr> -> %r0
 241  assert_not_none %r0
 243  -live- %r0
 243  guard_class %r0 -> %i1
 246  -live- %r0
 246  raise %r0
 248  ---
 248  L13:
 248  getfield_gc_r %r3, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_lock> -> %r0
 253  inline_call_ir_i <JitCode 'Lock.acquire'>, I[$True], R[%r0] -> %i0
 261  -live- %r1, %r2, %r3
 261  goto L9
 264  ---
 264  L3:
 264  -live- %r0
 264  ref_copy %r0 -> %r1
 267  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_state> -> %i0
 272  -live- %i0, %r0, %r1
 272  goto_if_not_int_is_zero %i0, L14
 276  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x7fff4a07fb90> -> %r0
 280  setfield_gc_r %r0, $<* struct rpy_string>, FieldDescr<pypy.interpreter.error.OpErrFmtNoArgs.inst__value>
 285  setfield_gc_r %r0, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
 290  assert_not_none %r0
 292  -live- %r0
 292  guard_class %r0 -> %i1
 295  -live- %r0
 295  raise %r0
 297  ---
 297  L14:
 297  ref_copy %r0 -> %r2
 300  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_state> -> %i0
 305  -live- %i0, %r1, %r2
 305  goto_if_not_int_eq %i0, $2, L15
 310  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x7fff4a07fb90> -> %r0
 314  setfield_gc_r %r0, $<* struct rpy_string>, FieldDescr<pypy.interpreter.error.OpErrFmtNoArgs.inst__value>
 319  setfield_gc_r %r0, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
 324  assert_not_none %r0
 326  -live- %r0
 326  guard_class %r0 -> %i1
 329  -live- %r0
 329  raise %r0
 331  ---
 331  L15:
 331  goto L7
 334  ---
 334  L4:
 334  -live- %r0
 334  ref_copy %r0 -> %r1
 337  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_state> -> %i0
 342  -live- %i0, %r0, %r1
 342  goto_if_not_int_is_zero %i0, L16
 346  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x7fff4a07fb90> -> %r0
 350  setfield_gc_r %r0, $<* struct rpy_string>, FieldDescr<pypy.interpreter.error.OpErrFmtNoArgs.inst__value>
 355  setfield_gc_r %r0, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
 360  assert_not_none %r0
 362  -live- %r0
 362  guard_class %r0 -> %i1
 365  -live- %r0
 365  raise %r0
 367  ---
 367  L16:
 367  ref_copy %r0 -> %r2
 370  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_state> -> %i0
 375  -live- %i0, %r1, %r2
 375  goto_if_not_int_eq %i0, $2, L17
 380  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x7fff4a07fb90> -> %r0
 384  setfield_gc_r %r0, $<* struct rpy_string>, FieldDescr<pypy.interpreter.error.OpErrFmtNoArgs.inst__value>
 389  setfield_gc_r %r0, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
 394  assert_not_none %r0
 396  -live- %r0
 396  guard_class %r0 -> %i1
 399  -live- %r0
 399  raise %r0
 401  ---
 401  L17:
 401  goto L7
