   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 0x0000aaab32545788> -> %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 0x0000aaab32545788> -> %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  getfield_gc_r %r1, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_lock> -> %r3
 100  getfield_gc_r %r3, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_lock> -> %r0
 105  inline_call_ir_i <JitCode 'Lock.acquire'>, I[$False], R[%r0] -> %i0
 113  -live- %i0, %r1, %r2, %r3
 116  goto_if_not %i0, L8
 120  L9:
 120  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
 128  setfield_gc_i %r3, %i0, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_owner>
 133  -live- %r1, %r2, %r3
 136  guard_class %r2 -> %i0
 139  getfield_raw_i %i0, FieldDescr<pypy.module._io.interp_iobase.W_IOBase_vtable.cls__closed> -> %i0
 144  -live- %i0, %r1, %r3
 147  int_guard_value %i0
 149  residual_call_r_i %i0, <IndirectCallTargets>, R[%r1], <CallDescr(r) EF=7> -> %i0
 156  -live- %i0, %r1, %r3
 159  catch_exception L10
 162  -live- %i0, %r1, %r3
 165  goto_if_not %i0, L11
 169  setfield_gc_i %r3, $0, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_owner>
 174  getfield_gc_r %r3, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_lock> -> %r0
 179  getfield_gc_i_pure %r0, FieldDescr<rpython.rlib.rthread.Lock.inst__lock> -> %i0
 184  residual_call_ir_i $<* fn RPyThreadReleaseLock>, I[%i0], R[], <CallDescr(i) EF=2> -> %i0
 192  -live- %i0
 195  goto_if_not_int_is_true %i0, L12
 199  raise $<* struct object>
 201  ---
 201  L12:
 201  ref_return $<* struct pypy.interpreter.baseobjspace.W_Root>
 203  ---
 203  L11:
 203  setfield_gc_i %r3, $0, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_owner>
 208  getfield_gc_r %r3, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_lock> -> %r0
 213  getfield_gc_i_pure %r0, FieldDescr<rpython.rlib.rthread.Lock.inst__lock> -> %i0
 218  residual_call_ir_i $<* fn RPyThreadReleaseLock>, I[%i0], R[], <CallDescr(i) EF=2> -> %i0
 226  -live- %i0, %r1
 229  goto_if_not_int_is_true %i0, L13
 233  raise $<* struct object>
 235  ---
 235  L13:
 235  inline_call_r_r <JitCode 'call_method__star_0'>, R[%r1, $<* struct rpy_string>] -> %r0
 242  -live- %r1
 245  catch_exception L14
 248  getfield_gc_r %r1, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_lock> -> %r2
 253  getfield_gc_r %r2, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_lock> -> %r0
 258  inline_call_ir_i <JitCode 'Lock.acquire'>, I[$False], R[%r0] -> %i0
 266  -live- %i0, %r1, %r2
 269  goto_if_not %i0, L15
 273  L16:
 273  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
 281  setfield_gc_i %r2, %i0, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_owner>
 286  getfield_gc_r %r1, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_w_raw> -> %r0
 291  inline_call_r_r <JitCode 'call_method__star_0'>, R[%r0, $<* struct rpy_string>] -> %r0
 298  -live- %r1, %r2
 301  catch_exception L17
 304  setfield_gc_i %r2, $0, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_owner>
 309  getfield_gc_r %r2, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_lock> -> %r0
 314  getfield_gc_i_pure %r0, FieldDescr<rpython.rlib.rthread.Lock.inst__lock> -> %i0
 319  residual_call_ir_i $<* fn RPyThreadReleaseLock>, I[%i0], R[], <CallDescr(i) EF=2> -> %i0
 327  -live- %i0, %r1
 330  goto_if_not_int_is_true %i0, L18
 334  raise $<* struct object>
 336  ---
 336  L18:
 336  setfield_gc_r %r1, $<* struct rpython.rlib.buffer.ByteBuffer>, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_buffer>
 341  ref_return $<* struct pypy.interpreter.baseobjspace.W_Root>
 343  ---
 343  L17:
 343  last_exception -> %i1
 345  last_exc_value -> %r0
 347  setfield_gc_i %r2, $0, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_owner>
 352  getfield_gc_r %r2, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_lock> -> %r1
 357  getfield_gc_i_pure %r1, FieldDescr<rpython.rlib.rthread.Lock.inst__lock> -> %i0
 362  residual_call_ir_i $<* fn RPyThreadReleaseLock>, I[%i0], R[], <CallDescr(i) EF=2> -> %i0
 370  -live- %i0, %r0
 373  goto_if_not_int_is_true %i0, L19
 377  raise $<* struct object>
 379  ---
 379  L19:
 379  -live- %r0
 382  raise %r0
 384  ---
 384  L15:
 384  getfield_gc_i %r2, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_owner> -> %i0
 389  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
 397  -live- %i0, %i1, %r1, %r2
 400  goto_if_not_int_eq %i0, %i1, L20
 405  getfield_gc_r %r2, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_operr> -> %r0
 410  assert_not_none %r0
 412  -live- %r0
 415  guard_class %r0 -> %i1
 418  -live- %r0
 421  raise %r0
 423  ---
 423  L20:
 423  getfield_gc_r %r2, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_lock> -> %r0
 428  inline_call_ir_i <JitCode 'Lock.acquire'>, I[$True], R[%r0] -> %i0
 436  -live- %r1, %r2
 439  goto L16
 442  ---
 442  L14:
 442  last_exception -> %i1
 444  last_exc_value -> %r0
 446  getfield_gc_r %r1, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_lock> -> %r3
 451  getfield_gc_r %r3, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_lock> -> %r2
 456  inline_call_ir_i <JitCode 'Lock.acquire'>, I[$False], R[%r2] -> %i0
 464  -live- %i0, %r0, %r1, %r3
 467  goto_if_not %i0, L21
 471  L22:
 471  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
 479  setfield_gc_i %r3, %i0, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_owner>
 484  getfield_gc_r %r1, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_w_raw> -> %r1
 489  inline_call_r_r <JitCode 'call_method__star_0'>, R[%r1, $<* struct rpy_string>] -> %r1
 496  -live- %r0, %r3
 499  catch_exception L23
 502  setfield_gc_i %r3, $0, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_owner>
 507  getfield_gc_r %r3, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_lock> -> %r1
 512  getfield_gc_i_pure %r1, FieldDescr<rpython.rlib.rthread.Lock.inst__lock> -> %i0
 517  residual_call_ir_i $<* fn RPyThreadReleaseLock>, I[%i0], R[], <CallDescr(i) EF=2> -> %i0
 525  -live- %i0, %r0
 528  goto_if_not_int_is_true %i0, L24
 532  raise $<* struct object>
 534  ---
 534  L24:
 534  -live- %r0
 537  raise %r0
 539  ---
 539  L23:
 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
 569  goto_if_not_int_is_true %i0, L25
 573  raise $<* struct object>
 575  ---
 575  L25:
 575  -live- %r0
 578  raise %r0
 580  ---
 580  L21:
 580  getfield_gc_i %r3, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_owner> -> %i0
 585  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
 593  -live- %i0, %i2, %r0, %r1, %r3
 596  goto_if_not_int_eq %i0, %i2, L26
 601  getfield_gc_r %r3, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_operr> -> %r0
 606  assert_not_none %r0
 608  -live- %r0
 611  guard_class %r0 -> %i1
 614  -live- %r0
 617  raise %r0
 619  ---
 619  L26:
 619  getfield_gc_r %r3, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_lock> -> %r2
 624  inline_call_ir_i <JitCode 'Lock.acquire'>, I[$True], R[%r2] -> %i0
 632  -live- %r0, %r1, %r3
 635  goto L22
 638  ---
 638  L10:
 638  last_exception -> %i1
 640  last_exc_value -> %r0
 642  setfield_gc_i %r3, $0, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_owner>
 647  getfield_gc_r %r3, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_lock> -> %r1
 652  getfield_gc_i_pure %r1, FieldDescr<rpython.rlib.rthread.Lock.inst__lock> -> %i0
 657  residual_call_ir_i $<* fn RPyThreadReleaseLock>, I[%i0], R[], <CallDescr(i) EF=2> -> %i0
 665  -live- %i0, %r0
 668  goto_if_not_int_is_true %i0, L27
 672  raise $<* struct object>
 674  ---
 674  L27:
 674  -live- %r0
 677  raise %r0
 679  ---
 679  L8:
 679  getfield_gc_i %r3, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_owner> -> %i0
 684  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
 692  -live- %i0, %i1, %r1, %r2, %r3
 695  goto_if_not_int_eq %i0, %i1, L28
 700  getfield_gc_r %r3, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_operr> -> %r0
 705  assert_not_none %r0
 707  -live- %r0
 710  guard_class %r0 -> %i1
 713  -live- %r0
 716  raise %r0
 718  ---
 718  L28:
 718  getfield_gc_r %r3, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_lock> -> %r0
 723  inline_call_ir_i <JitCode 'Lock.acquire'>, I[$True], R[%r0] -> %i0
 731  -live- %r1, %r2, %r3
 734  goto L9
 737  ---
 737  L2:
 737  -live- %r0
 740  ref_copy %r0 -> %r2
 743  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_state> -> %i0
 748  -live- %i0, %r0, %r2
 751  goto_if_not_int_is_zero %i0, L29
 755  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x0000aaab32545788> -> %r0
 759  setfield_gc_r %r0, $<* struct rpy_string>, FieldDescr<pypy.interpreter.error.OpErrFmtNoArgs.inst__value>
 764  setfield_gc_r %r0, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
 769  assert_not_none %r0
 771  -live- %r0
 774  raise %r0
 776  ---
 776  L29:
 776  ref_copy %r0 -> %r1
 779  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_state> -> %i0
 784  -live- %i0, %r1, %r2
 787  goto_if_not_int_eq %i0, $2, L30
 792  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x0000aaab32545788> -> %r0
 796  setfield_gc_r %r0, $<* struct rpy_string>, FieldDescr<pypy.interpreter.error.OpErrFmtNoArgs.inst__value>
 801  setfield_gc_r %r0, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
 806  assert_not_none %r0
 808  -live- %r0
 811  raise %r0
 813  ---
 813  L30:
 813  goto L7
 816  ---
 816  L3:
 816  -live- %r0
 819  ref_copy %r0 -> %r2
 822  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_state> -> %i0
 827  -live- %i0, %r0, %r2
 830  goto_if_not_int_is_zero %i0, L31
 834  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x0000aaab32545788> -> %r0
 838  setfield_gc_r %r0, $<* struct rpy_string>, FieldDescr<pypy.interpreter.error.OpErrFmtNoArgs.inst__value>
 843  setfield_gc_r %r0, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
 848  assert_not_none %r0
 850  -live- %r0
 853  raise %r0
 855  ---
 855  L31:
 855  ref_copy %r0 -> %r1
 858  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_state> -> %i0
 863  -live- %i0, %r1, %r2
 866  goto_if_not_int_eq %i0, $2, L32
 871  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x0000aaab32545788> -> %r0
 875  setfield_gc_r %r0, $<* struct rpy_string>, FieldDescr<pypy.interpreter.error.OpErrFmtNoArgs.inst__value>
 880  setfield_gc_r %r0, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
 885  assert_not_none %r0
 887  -live- %r0
 890  raise %r0
 892  ---
 892  L32:
 892  goto L7
 895  ---
 895  L4:
 895  -live-
 898  raise $<* struct object>
