   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 0x000000018e6b98a0> -> %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 0x000000018e6b98a0> -> %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, %r2
  88  int_guard_value %i0
  90  residual_call_r_v %i0, <IndirectCallTargets>, R[%r1, $<* struct rpy_string>], <CallDescr(rr) EF=7>
  97  -live- %r1, %r2
  97  getfield_gc_r %r1, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_lock> -> %r3
 102  getfield_gc_r %r3, 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, %r3
 115  -live- %i0, %r1, %r2, %r3
 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 %r3, %i0, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_owner>
 132  -live- %r1, %r2, %r3
 132  guard_class %r2 -> %i0
 135  getfield_raw_i %i0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase_vtable.cls__flush_and_rewind_unlocked> -> %i0
 140  inline_call_ir_v <JitCode 'dispatcher'>, I[%i0], R[%r1]
 147  -live- %r3
 147  catch_exception L10
 150  setfield_gc_i %r3, $0, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_owner>
 155  getfield_gc_r %r3, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_lock> -> %r0
 160  getfield_gc_i_pure %r0, FieldDescr<rpython.rlib.rthread.Lock.inst__lock> -> %i0
 165  residual_call_ir_i $<* fn RPyThreadReleaseLock>, I[%i0], R[], <CallDescr(i) EF=2> -> %i0
 173  -live- %i0
 173  goto_if_not_int_is_true %i0, L11
 177  raise $<* struct object>
 179  ---
 179  L11:
 179  ref_return $<* struct pypy.interpreter.baseobjspace.W_Root>
 181  ---
 181  L10:
 181  last_exception -> %i1
 183  last_exc_value -> %r0
 185  setfield_gc_i %r3, $0, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_owner>
 190  getfield_gc_r %r3, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_lock> -> %r1
 195  getfield_gc_i_pure %r1, FieldDescr<rpython.rlib.rthread.Lock.inst__lock> -> %i0
 200  residual_call_ir_i $<* fn RPyThreadReleaseLock>, I[%i0], R[], <CallDescr(i) EF=2> -> %i0
 208  -live- %i0, %r0
 208  goto_if_not_int_is_true %i0, L12
 212  raise $<* struct object>
 214  ---
 214  L12:
 214  -live- %r0
 214  raise %r0
 216  ---
 216  L8:
 216  getfield_gc_i %r3, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_owner> -> %i0
 221  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
 229  -live- %i0, %i1, %r1, %r2, %r3
 229  goto_if_not_int_eq %i0, %i1, L13
 234  getfield_gc_r %r3, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_operr> -> %r0
 239  assert_not_none %r0
 241  -live- %r0
 241  guard_class %r0 -> %i1
 244  -live- %r0
 244  raise %r0
 246  ---
 246  L13:
 246  getfield_gc_r %r3, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_lock> -> %r0
 251  inline_call_ir_i <JitCode 'Lock.acquire'>, I[$True], R[%r0] -> %i0
 259  -live- %r1, %r2, %r3
 259  goto L9
 262  ---
 262  L2:
 262  -live- %r0
 262  ref_copy %r0 -> %r2
 265  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_state> -> %i0
 270  -live- %i0, %r0, %r2
 270  goto_if_not_int_is_zero %i0, L14
 274  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x000000018e6b98a0> -> %r0
 278  setfield_gc_r %r0, $<* struct rpy_string>, FieldDescr<pypy.interpreter.error.OpErrFmtNoArgs.inst__value>
 283  setfield_gc_r %r0, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
 288  assert_not_none %r0
 290  -live- %r0
 290  guard_class %r0 -> %i1
 293  -live- %r0
 293  raise %r0
 295  ---
 295  L14:
 295  ref_copy %r0 -> %r1
 298  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_state> -> %i0
 303  -live- %i0, %r1, %r2
 303  goto_if_not_int_eq %i0, $2, L15
 308  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x000000018e6b98a0> -> %r0
 312  setfield_gc_r %r0, $<* struct rpy_string>, FieldDescr<pypy.interpreter.error.OpErrFmtNoArgs.inst__value>
 317  setfield_gc_r %r0, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
 322  assert_not_none %r0
 324  -live- %r0
 324  guard_class %r0 -> %i1
 327  -live- %r0
 327  raise %r0
 329  ---
 329  L15:
 329  goto L7
 332  ---
 332  L3:
 332  -live- %r0
 332  ref_copy %r0 -> %r2
 335  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_state> -> %i0
 340  -live- %i0, %r0, %r2
 340  goto_if_not_int_is_zero %i0, L16
 344  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x000000018e6b98a0> -> %r0
 348  setfield_gc_r %r0, $<* struct rpy_string>, FieldDescr<pypy.interpreter.error.OpErrFmtNoArgs.inst__value>
 353  setfield_gc_r %r0, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
 358  assert_not_none %r0
 360  -live- %r0
 360  guard_class %r0 -> %i1
 363  -live- %r0
 363  raise %r0
 365  ---
 365  L16:
 365  ref_copy %r0 -> %r1
 368  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_state> -> %i0
 373  -live- %i0, %r1, %r2
 373  goto_if_not_int_eq %i0, $2, L17
 378  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x000000018e6b98a0> -> %r0
 382  setfield_gc_r %r0, $<* struct rpy_string>, FieldDescr<pypy.interpreter.error.OpErrFmtNoArgs.inst__value>
 387  setfield_gc_r %r0, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
 392  assert_not_none %r0
 394  -live- %r0
 394  guard_class %r0 -> %i1
 397  -live- %r0
 397  raise %r0
 399  ---
 399  L17:
 399  goto L7
 402  ---
 402  L4:
 402  -live-
 402  raise $<* struct object>
