   0  -live- %r0
   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
   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
  15  ref_copy %r0 -> %r2
  18  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_state> -> %i0
  23  -live- %i0, %r0, %r2
  23  goto_if_not_int_is_zero %i0, L5
  27  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x7fff4a07fb90> -> %r0
  31  setfield_gc_r %r0, $<* struct rpy_string>, FieldDescr<pypy.interpreter.error.OpErrFmtNoArgs.inst__value>
  36  setfield_gc_r %r0, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
  41  assert_not_none %r0
  43  -live- %r0
  43  guard_class %r0 -> %i1
  46  -live- %r0
  46  raise %r0
  48  ---
  48  L5:
  48  ref_copy %r0 -> %r1
  51  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_state> -> %i0
  56  -live- %i0, %r1, %r2
  56  goto_if_not_int_eq %i0, $2, L6
  61  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x7fff4a07fb90> -> %r0
  65  setfield_gc_r %r0, $<* struct rpy_string>, FieldDescr<pypy.interpreter.error.OpErrFmtNoArgs.inst__value>
  70  setfield_gc_r %r0, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
  75  assert_not_none %r0
  77  -live- %r0
  77  guard_class %r0 -> %i1
  80  -live- %r0
  80  raise %r0
  82  ---
  82  L6:
  82  L7:
  82  getfield_gc_r %r1, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_lock> -> %r3
  87  getfield_gc_r %r3, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_lock> -> %r0
  92  inline_call_ir_i <JitCode 'Lock.acquire'>, I[$False], R[%r0] -> %i0
 100  -live- %i0, %r1, %r2, %r3
 100  -live- %i0, %r1, %r2, %r3
 100  goto_if_not %i0, L8
 104  L9:
 104  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
 112  setfield_gc_i %r3, %i0, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_owner>
 117  -live- %r1, %r2, %r3
 117  guard_class %r2 -> %i0
 120  getfield_raw_i %i0, FieldDescr<pypy.module._io.interp_iobase.W_IOBase_vtable.cls__closed> -> %i0
 125  -live- %i0, %r1, %r3
 125  int_guard_value %i0
 127  residual_call_r_i %i0, <IndirectCallTargets>, R[%r1], <CallDescr(r) EF=7> -> %i0
 134  -live- %i0, %r1, %r3
 134  catch_exception L10
 137  -live- %i0, %r1, %r3
 137  goto_if_not %i0, L11
 141  setfield_gc_i %r3, $0, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_owner>
 146  getfield_gc_r %r3, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_lock> -> %r0
 151  getfield_gc_i_pure %r0, FieldDescr<rpython.rlib.rthread.Lock.inst__lock> -> %i0
 156  residual_call_ir_i $<* fn RPyThreadReleaseLock>, I[%i0], R[], <CallDescr(i) EF=2> -> %i0
 164  -live- %i0
 164  goto_if_not_int_is_true %i0, L12
 168  raise $<* struct object>
 170  ---
 170  L12:
 170  ref_return $<* struct pypy.interpreter.baseobjspace.W_Root>
 172  ---
 172  L11:
 172  setfield_gc_i %r3, $0, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_owner>
 177  getfield_gc_r %r3, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_lock> -> %r0
 182  getfield_gc_i_pure %r0, FieldDescr<rpython.rlib.rthread.Lock.inst__lock> -> %i0
 187  residual_call_ir_i $<* fn RPyThreadReleaseLock>, I[%i0], R[], <CallDescr(i) EF=2> -> %i0
 195  -live- %i0, %r1
 195  goto_if_not_int_is_true %i0, L13
 199  raise $<* struct object>
 201  ---
 201  L13:
 201  inline_call_r_r <JitCode 'call_method__star_0'>, R[%r1, $<* struct rpy_string>] -> %r0
 208  -live- %r1
 208  catch_exception L14
 211  getfield_gc_r %r1, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_lock> -> %r2
 216  getfield_gc_r %r2, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_lock> -> %r0
 221  inline_call_ir_i <JitCode 'Lock.acquire'>, I[$False], R[%r0] -> %i0
 229  -live- %i0, %r1, %r2
 229  -live- %i0, %r1, %r2
 229  goto_if_not %i0, L15
 233  L16:
 233  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
 241  setfield_gc_i %r2, %i0, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_owner>
 246  getfield_gc_r %r1, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_w_raw> -> %r0
 251  inline_call_r_r <JitCode 'call_method__star_0'>, R[%r0, $<* struct rpy_string>] -> %r0
 258  -live- %r2
 258  catch_exception L17
 261  setfield_gc_i %r2, $0, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_owner>
 266  getfield_gc_r %r2, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_lock> -> %r0
 271  getfield_gc_i_pure %r0, FieldDescr<rpython.rlib.rthread.Lock.inst__lock> -> %i0
 276  residual_call_ir_i $<* fn RPyThreadReleaseLock>, I[%i0], R[], <CallDescr(i) EF=2> -> %i0
 284  -live- %i0
 284  goto_if_not_int_is_true %i0, L18
 288  raise $<* struct object>
 290  ---
 290  L18:
 290  ref_return $<* struct pypy.interpreter.baseobjspace.W_Root>
 292  ---
 292  L17:
 292  last_exception -> %i1
 294  last_exc_value -> %r0
 296  setfield_gc_i %r2, $0, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_owner>
 301  getfield_gc_r %r2, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_lock> -> %r1
 306  getfield_gc_i_pure %r1, FieldDescr<rpython.rlib.rthread.Lock.inst__lock> -> %i0
 311  residual_call_ir_i $<* fn RPyThreadReleaseLock>, I[%i0], R[], <CallDescr(i) EF=2> -> %i0
 319  -live- %i0, %r0
 319  goto_if_not_int_is_true %i0, L19
 323  raise $<* struct object>
 325  ---
 325  L19:
 325  -live- %r0
 325  raise %r0
 327  ---
 327  L15:
 327  getfield_gc_i %r2, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_owner> -> %i0
 332  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
 340  -live- %i0, %i1, %r1, %r2
 340  goto_if_not_int_eq %i0, %i1, L20
 345  getfield_gc_r %r2, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_operr> -> %r0
 350  assert_not_none %r0
 352  -live- %r0
 352  guard_class %r0 -> %i1
 355  -live- %r0
 355  raise %r0
 357  ---
 357  L20:
 357  getfield_gc_r %r2, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_lock> -> %r0
 362  inline_call_ir_i <JitCode 'Lock.acquire'>, I[$True], R[%r0] -> %i0
 370  -live- %r1, %r2
 370  goto L16
 373  ---
 373  L14:
 373  last_exception -> %i1
 375  last_exc_value -> %r0
 377  getfield_gc_r %r1, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_lock> -> %r3
 382  getfield_gc_r %r3, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_lock> -> %r2
 387  inline_call_ir_i <JitCode 'Lock.acquire'>, I[$False], R[%r2] -> %i0
 395  -live- %i0, %r0, %r1, %r3
 395  -live- %i0, %r0, %r1, %r3
 395  goto_if_not %i0, L21
 399  L22:
 399  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
 407  setfield_gc_i %r3, %i0, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_owner>
 412  getfield_gc_r %r1, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_w_raw> -> %r1
 417  inline_call_r_r <JitCode 'call_method__star_0'>, R[%r1, $<* struct rpy_string>] -> %r1
 424  -live- %r0, %r3
 424  catch_exception L23
 427  setfield_gc_i %r3, $0, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_owner>
 432  getfield_gc_r %r3, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_lock> -> %r1
 437  getfield_gc_i_pure %r1, FieldDescr<rpython.rlib.rthread.Lock.inst__lock> -> %i0
 442  residual_call_ir_i $<* fn RPyThreadReleaseLock>, I[%i0], R[], <CallDescr(i) EF=2> -> %i0
 450  -live- %i0, %r0
 450  goto_if_not_int_is_true %i0, L24
 454  raise $<* struct object>
 456  ---
 456  L24:
 456  -live- %r0
 456  raise %r0
 458  ---
 458  L23:
 458  last_exception -> %i1
 460  last_exc_value -> %r0
 462  setfield_gc_i %r3, $0, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_owner>
 467  getfield_gc_r %r3, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_lock> -> %r1
 472  getfield_gc_i_pure %r1, FieldDescr<rpython.rlib.rthread.Lock.inst__lock> -> %i0
 477  residual_call_ir_i $<* fn RPyThreadReleaseLock>, I[%i0], R[], <CallDescr(i) EF=2> -> %i0
 485  -live- %i0, %r0
 485  goto_if_not_int_is_true %i0, L25
 489  raise $<* struct object>
 491  ---
 491  L25:
 491  -live- %r0
 491  raise %r0
 493  ---
 493  L21:
 493  getfield_gc_i %r3, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_owner> -> %i0
 498  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> -> %i2
 506  -live- %i0, %i2, %r0, %r1, %r3
 506  goto_if_not_int_eq %i0, %i2, L26
 511  getfield_gc_r %r3, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_operr> -> %r0
 516  assert_not_none %r0
 518  -live- %r0
 518  guard_class %r0 -> %i1
 521  -live- %r0
 521  raise %r0
 523  ---
 523  L26:
 523  getfield_gc_r %r3, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_lock> -> %r2
 528  inline_call_ir_i <JitCode 'Lock.acquire'>, I[$True], R[%r2] -> %i0
 536  -live- %r0, %r1, %r3
 536  goto L22
 539  ---
 539  L10:
 539  last_exception -> %i1
 541  last_exc_value -> %r0
 543  setfield_gc_i %r3, $0, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_owner>
 548  getfield_gc_r %r3, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_lock> -> %r1
 553  getfield_gc_i_pure %r1, FieldDescr<rpython.rlib.rthread.Lock.inst__lock> -> %i0
 558  residual_call_ir_i $<* fn RPyThreadReleaseLock>, I[%i0], R[], <CallDescr(i) EF=2> -> %i0
 566  -live- %i0, %r0
 566  goto_if_not_int_is_true %i0, L27
 570  raise $<* struct object>
 572  ---
 572  L27:
 572  -live- %r0
 572  raise %r0
 574  ---
 574  L8:
 574  getfield_gc_i %r3, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_owner> -> %i0
 579  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
 587  -live- %i0, %i1, %r1, %r2, %r3
 587  goto_if_not_int_eq %i0, %i1, L28
 592  getfield_gc_r %r3, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_operr> -> %r0
 597  assert_not_none %r0
 599  -live- %r0
 599  guard_class %r0 -> %i1
 602  -live- %r0
 602  raise %r0
 604  ---
 604  L28:
 604  getfield_gc_r %r3, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_lock> -> %r0
 609  inline_call_ir_i <JitCode 'Lock.acquire'>, I[$True], R[%r0] -> %i0
 617  -live- %r1, %r2, %r3
 617  goto L9
 620  ---
 620  L3:
 620  -live- %r0
 620  ref_copy %r0 -> %r2
 623  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_state> -> %i0
 628  -live- %i0, %r0, %r2
 628  goto_if_not_int_is_zero %i0, L29
 632  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x7fff4a07fb90> -> %r0
 636  setfield_gc_r %r0, $<* struct rpy_string>, FieldDescr<pypy.interpreter.error.OpErrFmtNoArgs.inst__value>
 641  setfield_gc_r %r0, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
 646  assert_not_none %r0
 648  -live- %r0
 648  guard_class %r0 -> %i1
 651  -live- %r0
 651  raise %r0
 653  ---
 653  L29:
 653  ref_copy %r0 -> %r1
 656  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_state> -> %i0
 661  -live- %i0, %r1, %r2
 661  goto_if_not_int_eq %i0, $2, L30
 666  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x7fff4a07fb90> -> %r0
 670  setfield_gc_r %r0, $<* struct rpy_string>, FieldDescr<pypy.interpreter.error.OpErrFmtNoArgs.inst__value>
 675  setfield_gc_r %r0, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
 680  assert_not_none %r0
 682  -live- %r0
 682  guard_class %r0 -> %i1
 685  -live- %r0
 685  raise %r0
 687  ---
 687  L30:
 687  goto L7
 690  ---
 690  L4:
 690  -live- %r0
 690  ref_copy %r0 -> %r2
 693  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_state> -> %i0
 698  -live- %i0, %r0, %r2
 698  goto_if_not_int_is_zero %i0, L31
 702  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x7fff4a07fb90> -> %r0
 706  setfield_gc_r %r0, $<* struct rpy_string>, FieldDescr<pypy.interpreter.error.OpErrFmtNoArgs.inst__value>
 711  setfield_gc_r %r0, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
 716  assert_not_none %r0
 718  -live- %r0
 718  guard_class %r0 -> %i1
 721  -live- %r0
 721  raise %r0
 723  ---
 723  L31:
 723  ref_copy %r0 -> %r1
 726  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_state> -> %i0
 731  -live- %i0, %r1, %r2
 731  goto_if_not_int_eq %i0, $2, L32
 736  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x7fff4a07fb90> -> %r0
 740  setfield_gc_r %r0, $<* struct rpy_string>, FieldDescr<pypy.interpreter.error.OpErrFmtNoArgs.inst__value>
 745  setfield_gc_r %r0, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
 750  assert_not_none %r0
 752  -live- %r0
 752  guard_class %r0 -> %i1
 755  -live- %r0
 755  raise %r0
 757  ---
 757  L32:
 757  goto L7
