   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-
  13  raise $<* struct object>
  15  ---
  15  L2:
  15  -live- %r0, %r1
  15  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_state> -> %i0
  20  -live- %i0, %r0, %r1
  20  goto_if_not_int_is_zero %i0, L5
  24  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x7fff4a07fb90> -> %r0
  28  setfield_gc_r %r0, $<* struct rpy_string>, FieldDescr<pypy.interpreter.error.OpErrFmtNoArgs.inst__value>
  33  setfield_gc_r %r0, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
  38  assert_not_none %r0
  40  -live- %r0
  40  guard_class %r0 -> %i1
  43  -live- %r0
  43  raise %r0
  45  ---
  45  L5:
  45  ref_copy %r0 -> %r2
  48  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_state> -> %i0
  53  -live- %i0, %r1, %r2
  53  goto_if_not_int_eq %i0, $2, L6
  58  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x7fff4a07fb90> -> %r0
  62  setfield_gc_r %r0, $<* struct rpy_string>, FieldDescr<pypy.interpreter.error.OpErrFmtNoArgs.inst__value>
  67  setfield_gc_r %r0, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
  72  assert_not_none %r0
  74  -live- %r0
  74  guard_class %r0 -> %i1
  77  -live- %r0
  77  raise %r0
  79  ---
  79  L6:
  79  L7:
  79  getfield_gc_r %r2, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_lock> -> %r3
  84  getfield_gc_r %r3, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_lock> -> %r0
  89  inline_call_ir_i <JitCode 'Lock.acquire'>, I[$False], R[%r0] -> %i0
  97  -live- %i0, %r1, %r2, %r3
  97  -live- %i0, %r1, %r2, %r3
  97  goto_if_not %i0, L8
 101  L9:
 101  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
 109  setfield_gc_i %r3, %i0, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_owner>
 114  getfield_gc_i %r2, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_writable> -> %i0
 119  -live- %i0, %r1, %r2, %r3
 119  goto_if_not %i0, L10
 123  -live- %r1, %r2, %r3
 123  guard_class %r2 -> %i0
 126  getfield_raw_i %i0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase_vtable.cls__flush_and_rewind_unlocked> -> %i0
 131  inline_call_ir_v <JitCode 'dispatcher'>, I[%i0], R[%r2]
 138  -live- %r1, %r2, %r3
 138  catch_exception L11
 141  L12:
 141  setfield_gc_i %r2, $-1, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_abs_pos>
 146  getfield_gc_r %r2, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_w_raw> -> %r0
 151  inline_call_r_r <JitCode 'call_method__star_1'>, R[%r0, $<* struct rpy_string>, %r1] -> %r0
 159  -live- %r0, %r3
 159  catch_exception L13
 162  setfield_gc_i %r3, $0, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_owner>
 167  getfield_gc_r %r3, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_lock> -> %r2
 172  getfield_gc_i_pure %r2, 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, %r0
 185  goto_if_not_int_is_true %i0, L14
 189  raise $<* struct object>
 191  ---
 191  L14:
 191  ref_return %r0
 193  ---
 193  L13:
 193  last_exception -> %i1
 195  last_exc_value -> %r0
 197  L15:
 197  setfield_gc_i %r3, $0, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_owner>
 202  getfield_gc_r %r3, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_lock> -> %r2
 207  getfield_gc_i_pure %r2, 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, L16
 224  raise $<* struct object>
 226  ---
 226  L16:
 226  -live- %r0
 226  raise %r0
 228  ---
 228  L11:
 228  last_exception -> %i1
 230  last_exc_value -> %r0
 232  goto L15
 235  ---
 235  L10:
 235  goto L12
 238  ---
 238  L8:
 238  getfield_gc_i %r3, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_owner> -> %i0
 243  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
 251  -live- %i0, %i1, %r1, %r2, %r3
 251  goto_if_not_int_eq %i0, %i1, L17
 256  getfield_gc_r %r3, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_operr> -> %r0
 261  assert_not_none %r0
 263  -live- %r0
 263  guard_class %r0 -> %i1
 266  -live- %r0
 266  raise %r0
 268  ---
 268  L17:
 268  getfield_gc_r %r3, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_lock> -> %r0
 273  inline_call_ir_i <JitCode 'Lock.acquire'>, I[$True], R[%r0] -> %i0
 281  -live- %r1, %r2, %r3
 281  goto L9
 284  ---
 284  L3:
 284  -live- %r0, %r1
 284  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_state> -> %i0
 289  -live- %i0, %r0, %r1
 289  goto_if_not_int_is_zero %i0, L18
 293  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x7fff4a07fb90> -> %r0
 297  setfield_gc_r %r0, $<* struct rpy_string>, FieldDescr<pypy.interpreter.error.OpErrFmtNoArgs.inst__value>
 302  setfield_gc_r %r0, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
 307  assert_not_none %r0
 309  -live- %r0
 309  guard_class %r0 -> %i1
 312  -live- %r0
 312  raise %r0
 314  ---
 314  L18:
 314  ref_copy %r0 -> %r2
 317  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_state> -> %i0
 322  -live- %i0, %r1, %r2
 322  goto_if_not_int_eq %i0, $2, L19
 327  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x7fff4a07fb90> -> %r0
 331  setfield_gc_r %r0, $<* struct rpy_string>, FieldDescr<pypy.interpreter.error.OpErrFmtNoArgs.inst__value>
 336  setfield_gc_r %r0, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
 341  assert_not_none %r0
 343  -live- %r0
 343  guard_class %r0 -> %i1
 346  -live- %r0
 346  raise %r0
 348  ---
 348  L19:
 348  goto L7
 351  ---
 351  L4:
 351  -live- %r0, %r1
 351  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_state> -> %i0
 356  -live- %i0, %r0, %r1
 356  goto_if_not_int_is_zero %i0, L20
 360  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x7fff4a07fb90> -> %r0
 364  setfield_gc_r %r0, $<* struct rpy_string>, FieldDescr<pypy.interpreter.error.OpErrFmtNoArgs.inst__value>
 369  setfield_gc_r %r0, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
 374  assert_not_none %r0
 376  -live- %r0
 376  guard_class %r0 -> %i1
 379  -live- %r0
 379  raise %r0
 381  ---
 381  L20:
 381  ref_copy %r0 -> %r2
 384  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_state> -> %i0
 389  -live- %i0, %r1, %r2
 389  goto_if_not_int_eq %i0, $2, L21
 394  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x7fff4a07fb90> -> %r0
 398  setfield_gc_r %r0, $<* struct rpy_string>, FieldDescr<pypy.interpreter.error.OpErrFmtNoArgs.inst__value>
 403  setfield_gc_r %r0, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
 408  assert_not_none %r0
 410  -live- %r0
 410  guard_class %r0 -> %i1
 413  -live- %r0
 413  raise %r0
 415  ---
 415  L21:
 415  goto L7
