   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 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 -> %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 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, %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  getfield_gc_r %r3, 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, %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 %r2, %i0, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_owner>
 132  getfield_gc_i %r3, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_writable> -> %i0
 137  -live- %i0, %r1, %r2, %r3
 137  goto_if_not %i0, L10
 141  -live- %r1, %r2, %r3
 141  guard_class %r3 -> %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[%r3]
 156  -live- %r1, %r2, %r3
 156  catch_exception L11
 159  L12:
 159  setfield_gc_i %r3, $-1, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_abs_pos>
 164  getfield_gc_r %r3, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_w_raw> -> %r0
 169  inline_call_r_r <JitCode 'call_method__star_1'>, R[%r0, $<* struct rpy_string>, %r1] -> %r0
 177  -live- %r0, %r2
 177  catch_exception L13
 180  setfield_gc_i %r2, $0, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_owner>
 185  getfield_gc_r %r2, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_lock> -> %r3
 190  getfield_gc_i_pure %r3, FieldDescr<rpython.rlib.rthread.Lock.inst__lock> -> %i0
 195  residual_call_ir_i $<* fn RPyThreadReleaseLock>, I[%i0], R[], <CallDescr(i) EF=2> -> %i0
 203  -live- %i0, %r0
 203  goto_if_not_int_is_true %i0, L14
 207  raise $<* struct object>
 209  ---
 209  L14:
 209  ref_return %r0
 211  ---
 211  L13:
 211  last_exception -> %i1
 213  last_exc_value -> %r0
 215  L15:
 215  setfield_gc_i %r2, $0, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_owner>
 220  getfield_gc_r %r2, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_lock> -> %r3
 225  getfield_gc_i_pure %r3, FieldDescr<rpython.rlib.rthread.Lock.inst__lock> -> %i0
 230  residual_call_ir_i $<* fn RPyThreadReleaseLock>, I[%i0], R[], <CallDescr(i) EF=2> -> %i0
 238  -live- %i0, %r0
 238  goto_if_not_int_is_true %i0, L16
 242  raise $<* struct object>
 244  ---
 244  L16:
 244  -live- %r0
 244  raise %r0
 246  ---
 246  L11:
 246  last_exception -> %i1
 248  last_exc_value -> %r0
 250  goto L15
 253  ---
 253  L10:
 253  goto L12
 256  ---
 256  L8:
 256  getfield_gc_i %r2, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_owner> -> %i0
 261  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
 269  -live- %i0, %i1, %r1, %r2, %r3
 269  goto_if_not_int_eq %i0, %i1, L17
 274  getfield_gc_r %r2, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_operr> -> %r0
 279  assert_not_none %r0
 281  -live- %r0
 281  guard_class %r0 -> %i1
 284  -live- %r0
 284  raise %r0
 286  ---
 286  L17:
 286  getfield_gc_r %r2, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_lock> -> %r0
 291  inline_call_ir_i <JitCode 'Lock.acquire'>, I[$True], R[%r0] -> %i0
 299  -live- %r1, %r2, %r3
 299  goto L9
 302  ---
 302  L2:
 302  -live- %r0, %r1
 302  ref_copy %r0 -> %r2
 305  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_state> -> %i0
 310  -live- %i0, %r0, %r1, %r2
 310  goto_if_not_int_is_zero %i0, L18
 314  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x000002aabbb1b8a0> -> %r0
 318  setfield_gc_r %r0, $<* struct rpy_string>, FieldDescr<pypy.interpreter.error.OpErrFmtNoArgs.inst__value>
 323  setfield_gc_r %r0, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
 328  assert_not_none %r0
 330  -live- %r0
 330  guard_class %r0 -> %i1
 333  -live- %r0
 333  raise %r0
 335  ---
 335  L18:
 335  ref_copy %r0 -> %r3
 338  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_state> -> %i0
 343  -live- %i0, %r1, %r2, %r3
 343  goto_if_not_int_eq %i0, $2, L19
 348  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x000002aabbb1b8a0> -> %r0
 352  setfield_gc_r %r0, $<* struct rpy_string>, FieldDescr<pypy.interpreter.error.OpErrFmtNoArgs.inst__value>
 357  setfield_gc_r %r0, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
 362  assert_not_none %r0
 364  -live- %r0
 364  guard_class %r0 -> %i1
 367  -live- %r0
 367  raise %r0
 369  ---
 369  L19:
 369  goto L7
 372  ---
 372  L3:
 372  -live- %r0, %r1
 372  ref_copy %r0 -> %r2
 375  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_state> -> %i0
 380  -live- %i0, %r0, %r1, %r2
 380  goto_if_not_int_is_zero %i0, L20
 384  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x000002aabbb1b8a0> -> %r0
 388  setfield_gc_r %r0, $<* struct rpy_string>, FieldDescr<pypy.interpreter.error.OpErrFmtNoArgs.inst__value>
 393  setfield_gc_r %r0, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
 398  assert_not_none %r0
 400  -live- %r0
 400  guard_class %r0 -> %i1
 403  -live- %r0
 403  raise %r0
 405  ---
 405  L20:
 405  ref_copy %r0 -> %r3
 408  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_state> -> %i0
 413  -live- %i0, %r1, %r2, %r3
 413  goto_if_not_int_eq %i0, $2, L21
 418  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x000002aabbb1b8a0> -> %r0
 422  setfield_gc_r %r0, $<* struct rpy_string>, FieldDescr<pypy.interpreter.error.OpErrFmtNoArgs.inst__value>
 427  setfield_gc_r %r0, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
 432  assert_not_none %r0
 434  -live- %r0
 434  guard_class %r0 -> %i1
 437  -live- %r0
 437  raise %r0
 439  ---
 439  L21:
 439  goto L7
 442  ---
 442  L4:
 442  -live-
 442  raise $<* struct object>
