   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  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_state> -> %i0
  18  -live- %i0, %r0, %r1
  18  goto_if_not_int_is_zero %i0, L5
  22  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x7fff713b8960> -> %r0
  26  setfield_gc_r %r0, $<* struct rpy_string>, FieldDescr<pypy.interpreter.error.OpErrFmtNoArgs.inst__value>
  31  setfield_gc_r %r0, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
  36  assert_not_none %r0
  38  -live- %r0
  38  guard_class %r0 -> %i1
  41  -live- %r0
  41  raise %r0
  43  ---
  43  L5:
  43  ref_copy %r0 -> %r2
  46  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_state> -> %i0
  51  -live- %i0, %r1, %r2
  51  goto_if_not_int_eq %i0, $2, L6
  56  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x7fff713b8960> -> %r0
  60  setfield_gc_r %r0, $<* struct rpy_string>, FieldDescr<pypy.interpreter.error.OpErrFmtNoArgs.inst__value>
  65  setfield_gc_r %r0, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
  70  assert_not_none %r0
  72  -live- %r0
  72  guard_class %r0 -> %i1
  75  -live- %r0
  75  raise %r0
  77  ---
  77  L6:
  77  L7:
  77  getfield_gc_r %r2, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_lock> -> %r3
  82  getfield_gc_r %r3, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_lock> -> %r0
  87  inline_call_ir_i <JitCode 'Lock.acquire'>, I[$False], R[%r0] -> %i0
  95  -live- %i0, %r1, %r2, %r3
  95  -live- %i0, %r1, %r2, %r3
  95  goto_if_not %i0, L8
  99  L9:
  99  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
 107  setfield_gc_i %r3, %i0, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_owner>
 112  getfield_gc_i %r2, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_writable> -> %i0
 117  -live- %i0, %r1, %r2, %r3
 117  goto_if_not %i0, L10
 121  -live- %r1, %r2, %r3
 121  guard_class %r2 -> %i0
 124  getfield_raw_i %i0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase_vtable.cls__flush_and_rewind_unlocked> -> %i0
 129  inline_call_ir_v <JitCode 'dispatcher'>, I[%i0], R[%r2]
 136  -live- %r1, %r2, %r3
 136  catch_exception L11
 139  L12:
 139  setfield_gc_i %r2, $-1, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_abs_pos>
 144  getfield_gc_r %r2, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_w_raw> -> %r0
 149  inline_call_r_r <JitCode 'call_method__star_1'>, R[%r0, $<* struct rpy_string>, %r1] -> %r0
 157  -live- %r0, %r3
 157  catch_exception L13
 160  setfield_gc_i %r3, $0, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_owner>
 165  getfield_gc_r %r3, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_lock> -> %r2
 170  getfield_gc_i_pure %r2, FieldDescr<rpython.rlib.rthread.Lock.inst__lock> -> %i0
 175  residual_call_ir_i $<* fn RPyThreadReleaseLock>, I[%i0], R[], <CallDescr(i) EF=2> -> %i0
 183  -live- %i0, %r0
 183  goto_if_not_int_is_true %i0, L14
 187  raise $<* struct object>
 189  ---
 189  L14:
 189  ref_return %r0
 191  ---
 191  L13:
 191  last_exception -> %i1
 193  last_exc_value -> %r0
 195  L15:
 195  setfield_gc_i %r3, $0, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_owner>
 200  getfield_gc_r %r3, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_lock> -> %r2
 205  getfield_gc_i_pure %r2, FieldDescr<rpython.rlib.rthread.Lock.inst__lock> -> %i0
 210  residual_call_ir_i $<* fn RPyThreadReleaseLock>, I[%i0], R[], <CallDescr(i) EF=2> -> %i0
 218  -live- %i0, %r0
 218  goto_if_not_int_is_true %i0, L16
 222  raise $<* struct object>
 224  ---
 224  L16:
 224  -live- %r0
 224  raise %r0
 226  ---
 226  L11:
 226  last_exception -> %i1
 228  last_exc_value -> %r0
 230  goto L15
 233  ---
 233  L10:
 233  goto L12
 236  ---
 236  L8:
 236  getfield_gc_i %r3, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_owner> -> %i0
 241  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
 249  -live- %i0, %i1, %r1, %r2, %r3
 249  goto_if_not_int_eq %i0, %i1, L17
 254  getfield_gc_r %r3, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_operr> -> %r0
 259  assert_not_none %r0
 261  -live- %r0
 261  guard_class %r0 -> %i1
 264  -live- %r0
 264  raise %r0
 266  ---
 266  L17:
 266  getfield_gc_r %r3, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_lock> -> %r0
 271  inline_call_ir_i <JitCode 'Lock.acquire'>, I[$True], R[%r0] -> %i0
 279  -live- %r1, %r2, %r3
 279  goto L9
 282  ---
 282  L2:
 282  -live- %r0, %r1
 282  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_state> -> %i0
 287  -live- %i0, %r0, %r1
 287  goto_if_not_int_is_zero %i0, L18
 291  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x7fff713b8960> -> %r0
 295  setfield_gc_r %r0, $<* struct rpy_string>, FieldDescr<pypy.interpreter.error.OpErrFmtNoArgs.inst__value>
 300  setfield_gc_r %r0, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
 305  assert_not_none %r0
 307  -live- %r0
 307  guard_class %r0 -> %i1
 310  -live- %r0
 310  raise %r0
 312  ---
 312  L18:
 312  ref_copy %r0 -> %r2
 315  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_state> -> %i0
 320  -live- %i0, %r1, %r2
 320  goto_if_not_int_eq %i0, $2, L19
 325  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x7fff713b8960> -> %r0
 329  setfield_gc_r %r0, $<* struct rpy_string>, FieldDescr<pypy.interpreter.error.OpErrFmtNoArgs.inst__value>
 334  setfield_gc_r %r0, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
 339  assert_not_none %r0
 341  -live- %r0
 341  guard_class %r0 -> %i1
 344  -live- %r0
 344  raise %r0
 346  ---
 346  L19:
 346  goto L7
 349  ---
 349  L3:
 349  -live- %r0, %r1
 349  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_state> -> %i0
 354  -live- %i0, %r0, %r1
 354  goto_if_not_int_is_zero %i0, L20
 358  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x7fff713b8960> -> %r0
 362  setfield_gc_r %r0, $<* struct rpy_string>, FieldDescr<pypy.interpreter.error.OpErrFmtNoArgs.inst__value>
 367  setfield_gc_r %r0, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
 372  assert_not_none %r0
 374  -live- %r0
 374  guard_class %r0 -> %i1
 377  -live- %r0
 377  raise %r0
 379  ---
 379  L20:
 379  ref_copy %r0 -> %r2
 382  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_state> -> %i0
 387  -live- %i0, %r1, %r2
 387  goto_if_not_int_eq %i0, $2, L21
 392  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x7fff713b8960> -> %r0
 396  setfield_gc_r %r0, $<* struct rpy_string>, FieldDescr<pypy.interpreter.error.OpErrFmtNoArgs.inst__value>
 401  setfield_gc_r %r0, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
 406  assert_not_none %r0
 408  -live- %r0
 408  guard_class %r0 -> %i1
 411  -live- %r0
 411  raise %r0
 413  ---
 413  L21:
 413  goto L7
 416  ---
 416  L4:
 416  -live-
 416  raise $<* struct object>
