   0  -live- %r0
   3  guard_class %r0 -> %i0
   6  getfield_raw_i %i0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase_vtable.cls__check_init> -> %i0
  11  -live- %i0, %r0
  14  switch %i0, <SwitchDictDescr 0:L1, 1:L2, 2:L3, 3:L4>
  18  unreachable
  19  ---
  19  L1:
  19  -live- %r0
  22  ref_copy %r0 -> %r2
  25  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_state> -> %i0
  30  -live- %i0, %r0, %r2
  33  goto_if_not_int_is_zero %i0, L5
  37  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x0000aaab0c7fdde0> -> %r0
  41  setfield_gc_r %r0, $<* struct rpy_string>, FieldDescr<pypy.interpreter.error.OpErrFmtNoArgs.inst__value>
  46  setfield_gc_r %r0, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
  51  assert_not_none %r0
  53  -live- %r0
  56  raise %r0
  58  ---
  58  L5:
  58  ref_copy %r0 -> %r1
  61  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_state> -> %i0
  66  -live- %i0, %r1, %r2
  69  goto_if_not_int_eq %i0, $2, L6
  74  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x0000aaab0c7fdde0> -> %r0
  78  setfield_gc_r %r0, $<* struct rpy_string>, FieldDescr<pypy.interpreter.error.OpErrFmtNoArgs.inst__value>
  83  setfield_gc_r %r0, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
  88  assert_not_none %r0
  90  -live- %r0
  93  raise %r0
  95  ---
  95  L6:
  95  L7:
  95  -live- %r1, %r2
  98  guard_class %r2 -> %i0
 101  getfield_raw_i %i0, FieldDescr<pypy.module._io.interp_iobase.W_IOBase_vtable.cls__check_closed> -> %i0
 106  -live- %i0, %r1, %r2
 109  int_guard_value %i0
 111  residual_call_r_v %i0, <IndirectCallTargets>, R[%r1, $<* struct rpy_string>], <CallDescr(rr) EF=7>
 118  -live- %r1, %r2
 121  getfield_gc_r %r1, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_lock> -> %r3
 126  getfield_gc_r %r3, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_lock> -> %r0
 131  inline_call_ir_i <JitCode 'Lock.acquire'>, I[$False], R[%r0] -> %i0
 139  -live- %i0, %r1, %r2, %r3
 142  goto_if_not %i0, L8
 146  L9:
 146  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
 154  setfield_gc_i %r3, %i0, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_owner>
 159  -live- %r1, %r2, %r3
 162  guard_class %r2 -> %i0
 165  getfield_raw_i %i0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase_vtable.cls__flush_and_rewind_unlocked> -> %i0
 170  inline_call_ir_v <JitCode 'dispatcher__flush_and_rewind_unlocked'>, I[%i0], R[%r1]
 177  -live- %r3
 180  catch_exception L10
 183  setfield_gc_i %r3, $0, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_owner>
 188  getfield_gc_r %r3, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_lock> -> %r0
 193  getfield_gc_i_pure %r0, FieldDescr<rpython.rlib.rthread.Lock.inst__lock> -> %i0
 198  residual_call_ir_i $<* fn RPyThreadReleaseLock>, I[%i0], R[], <CallDescr(i) EF=2> -> %i0
 206  -live- %i0
 209  goto_if_not_int_is_true %i0, L11
 213  raise $<* struct object>
 215  ---
 215  L11:
 215  ref_return $<* struct pypy.interpreter.baseobjspace.W_Root>
 217  ---
 217  L10:
 217  last_exception -> %i1
 219  last_exc_value -> %r0
 221  setfield_gc_i %r3, $0, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_owner>
 226  getfield_gc_r %r3, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_lock> -> %r1
 231  getfield_gc_i_pure %r1, FieldDescr<rpython.rlib.rthread.Lock.inst__lock> -> %i0
 236  residual_call_ir_i $<* fn RPyThreadReleaseLock>, I[%i0], R[], <CallDescr(i) EF=2> -> %i0
 244  -live- %i0, %r0
 247  goto_if_not_int_is_true %i0, L12
 251  raise $<* struct object>
 253  ---
 253  L12:
 253  -live- %r0
 256  raise %r0
 258  ---
 258  L8:
 258  getfield_gc_i %r3, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_owner> -> %i0
 263  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
 271  -live- %i0, %i1, %r1, %r2, %r3
 274  goto_if_not_int_eq %i0, %i1, L13
 279  getfield_gc_r %r3, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_operr> -> %r0
 284  assert_not_none %r0
 286  -live- %r0
 289  guard_class %r0 -> %i1
 292  -live- %r0
 295  raise %r0
 297  ---
 297  L13:
 297  getfield_gc_r %r3, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_lock> -> %r0
 302  inline_call_ir_i <JitCode 'Lock.acquire'>, I[$True], R[%r0] -> %i0
 310  -live- %r1, %r2, %r3
 313  goto L9
 316  ---
 316  L2:
 316  -live- %r0
 319  ref_copy %r0 -> %r2
 322  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_state> -> %i0
 327  -live- %i0, %r0, %r2
 330  goto_if_not_int_is_zero %i0, L14
 334  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x0000aaab0c7fdde0> -> %r0
 338  setfield_gc_r %r0, $<* struct rpy_string>, FieldDescr<pypy.interpreter.error.OpErrFmtNoArgs.inst__value>
 343  setfield_gc_r %r0, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
 348  assert_not_none %r0
 350  -live- %r0
 353  raise %r0
 355  ---
 355  L14:
 355  ref_copy %r0 -> %r1
 358  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_state> -> %i0
 363  -live- %i0, %r1, %r2
 366  goto_if_not_int_eq %i0, $2, L15
 371  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x0000aaab0c7fdde0> -> %r0
 375  setfield_gc_r %r0, $<* struct rpy_string>, FieldDescr<pypy.interpreter.error.OpErrFmtNoArgs.inst__value>
 380  setfield_gc_r %r0, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
 385  assert_not_none %r0
 387  -live- %r0
 390  raise %r0
 392  ---
 392  L15:
 392  goto L7
 395  ---
 395  L3:
 395  -live- %r0
 398  ref_copy %r0 -> %r2
 401  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_state> -> %i0
 406  -live- %i0, %r0, %r2
 409  goto_if_not_int_is_zero %i0, L16
 413  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x0000aaab0c7fdde0> -> %r0
 417  setfield_gc_r %r0, $<* struct rpy_string>, FieldDescr<pypy.interpreter.error.OpErrFmtNoArgs.inst__value>
 422  setfield_gc_r %r0, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
 427  assert_not_none %r0
 429  -live- %r0
 432  raise %r0
 434  ---
 434  L16:
 434  ref_copy %r0 -> %r1
 437  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_state> -> %i0
 442  -live- %i0, %r1, %r2
 445  goto_if_not_int_eq %i0, $2, L17
 450  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x0000aaab0c7fdde0> -> %r0
 454  setfield_gc_r %r0, $<* struct rpy_string>, FieldDescr<pypy.interpreter.error.OpErrFmtNoArgs.inst__value>
 459  setfield_gc_r %r0, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
 464  assert_not_none %r0
 466  -live- %r0
 469  raise %r0
 471  ---
 471  L17:
 471  goto L7
 474  ---
 474  L4:
 474  -live-
 477  raise $<* struct object>
