   0  -live- %r0, %r1
   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, %r1
  14  switch %i0, <SwitchDictDescr 0:L1, 1:L2, 2:L3, 3:L4>
  18  unreachable
  19  ---
  19  L1:
  19  -live- %r0, %r1
  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, %r1, %r2
  33  goto_if_not_int_is_zero %i0, L5
  37  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x00005609330fe8a8> -> %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 -> %r3
  61  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_state> -> %i0
  66  -live- %i0, %r1, %r2, %r3
  69  goto_if_not_int_eq %i0, $2, L6
  74  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x00005609330fe8a8> -> %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, %r3
  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, %r3
 109  int_guard_value %i0
 111  residual_call_r_v %i0, <IndirectCallTargets>, R[%r3, $<* struct rpy_string>], <CallDescr(rr) EF=7>
 118  -live- %r1, %r3
 121  getfield_gc_r %r3, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_lock> -> %r2
 126  getfield_gc_r %r2, 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 %r2, %i0, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_owner>
 159  getfield_gc_i %r3, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_writable> -> %i0
 164  -live- %i0, %r1, %r2, %r3
 167  goto_if_not %i0, L10
 171  -live- %r1, %r2, %r3
 174  guard_class %r3 -> %i0
 177  getfield_raw_i %i0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase_vtable.cls__flush_and_rewind_unlocked> -> %i0
 182  inline_call_ir_v <JitCode 'dispatcher__flush_and_rewind_unlocked'>, I[%i0], R[%r3]
 189  -live- %r1, %r2, %r3
 192  catch_exception L11
 195  L12:
 195  setfield_gc_i %r3, $-1, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_abs_pos>
 200  getfield_gc_r %r3, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_w_raw> -> %r0
 205  inline_call_r_r <JitCode 'call_method__star_1'>, R[%r0, $<* struct rpy_string>, %r1] -> %r0
 213  -live- %r0, %r2
 216  catch_exception L13
 219  setfield_gc_i %r2, $0, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_owner>
 224  getfield_gc_r %r2, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_lock> -> %r3
 229  getfield_gc_i_pure %r3, FieldDescr<rpython.rlib.rthread.Lock.inst__lock> -> %i0
 234  residual_call_ir_i $<* fn RPyThreadReleaseLock>, I[%i0], R[], <CallDescr(i) EF=2> -> %i0
 242  -live- %i0, %r0
 245  goto_if_not_int_is_true %i0, L14
 249  raise $<* struct object>
 251  ---
 251  L14:
 251  ref_return %r0
 253  ---
 253  L13:
 253  last_exception -> %i1
 255  last_exc_value -> %r0
 257  L15:
 257  setfield_gc_i %r2, $0, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_owner>
 262  getfield_gc_r %r2, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_lock> -> %r3
 267  getfield_gc_i_pure %r3, FieldDescr<rpython.rlib.rthread.Lock.inst__lock> -> %i0
 272  residual_call_ir_i $<* fn RPyThreadReleaseLock>, I[%i0], R[], <CallDescr(i) EF=2> -> %i0
 280  -live- %i0, %r0
 283  goto_if_not_int_is_true %i0, L16
 287  raise $<* struct object>
 289  ---
 289  L16:
 289  -live- %r0
 292  raise %r0
 294  ---
 294  L11:
 294  last_exception -> %i1
 296  last_exc_value -> %r0
 298  goto L15
 301  ---
 301  L10:
 301  goto L12
 304  ---
 304  L8:
 304  getfield_gc_i %r2, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_owner> -> %i0
 309  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
 317  -live- %i0, %i1, %r1, %r2, %r3
 320  goto_if_not_int_eq %i0, %i1, L17
 325  getfield_gc_r %r2, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_operr> -> %r0
 330  assert_not_none %r0
 332  -live- %r0
 335  guard_class %r0 -> %i1
 338  -live- %r0
 341  raise %r0
 343  ---
 343  L17:
 343  getfield_gc_r %r2, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_lock> -> %r0
 348  inline_call_ir_i <JitCode 'Lock.acquire'>, I[$True], R[%r0] -> %i0
 356  -live- %r1, %r2, %r3
 359  goto L9
 362  ---
 362  L2:
 362  -live- %r0, %r1
 365  ref_copy %r0 -> %r2
 368  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_state> -> %i0
 373  -live- %i0, %r0, %r1, %r2
 376  goto_if_not_int_is_zero %i0, L18
 380  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x00005609330fe8a8> -> %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
 399  raise %r0
 401  ---
 401  L18:
 401  ref_copy %r0 -> %r3
 404  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_state> -> %i0
 409  -live- %i0, %r1, %r2, %r3
 412  goto_if_not_int_eq %i0, $2, L19
 417  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x00005609330fe8a8> -> %r0
 421  setfield_gc_r %r0, $<* struct rpy_string>, FieldDescr<pypy.interpreter.error.OpErrFmtNoArgs.inst__value>
 426  setfield_gc_r %r0, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
 431  assert_not_none %r0
 433  -live- %r0
 436  raise %r0
 438  ---
 438  L19:
 438  goto L7
 441  ---
 441  L3:
 441  -live- %r0, %r1
 444  ref_copy %r0 -> %r2
 447  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_state> -> %i0
 452  -live- %i0, %r0, %r1, %r2
 455  goto_if_not_int_is_zero %i0, L20
 459  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x00005609330fe8a8> -> %r0
 463  setfield_gc_r %r0, $<* struct rpy_string>, FieldDescr<pypy.interpreter.error.OpErrFmtNoArgs.inst__value>
 468  setfield_gc_r %r0, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
 473  assert_not_none %r0
 475  -live- %r0
 478  raise %r0
 480  ---
 480  L20:
 480  ref_copy %r0 -> %r3
 483  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_state> -> %i0
 488  -live- %i0, %r1, %r2, %r3
 491  goto_if_not_int_eq %i0, $2, L21
 496  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x00005609330fe8a8> -> %r0
 500  setfield_gc_r %r0, $<* struct rpy_string>, FieldDescr<pypy.interpreter.error.OpErrFmtNoArgs.inst__value>
 505  setfield_gc_r %r0, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
 510  assert_not_none %r0
 512  -live- %r0
 515  raise %r0
 517  ---
 517  L21:
 517  goto L7
 520  ---
 520  L4:
 520  -live-
 523  raise $<* struct object>
