   0  -live- %i0, %r0
   0  guard_class %r0 -> %i1
   3  getfield_raw_i %i1, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase_vtable.cls__check_init> -> %i1
   8  -live- %i0, %i1, %r0
   8  switch %i1, <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- %i0, %r0
  15  ref_copy %r0 -> %r2
  18  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_state> -> %i1
  23  -live- %i0, %i1, %r0, %r2
  23  goto_if_not_int_is_zero %i1, 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 -> %i0
  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> -> %i1
  56  -live- %i0, %i1, %r1, %r2
  56  goto_if_not_int_eq %i1, $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 -> %i0
  80  -live- %r0
  80  raise %r0
  82  ---
  82  L6:
  82  L7:
  82  -live- %i0, %r1, %r2
  82  guard_class %r2 -> %i1
  85  getfield_raw_i %i1, FieldDescr<pypy.module._io.interp_iobase.W_IOBase_vtable.cls__check_closed> -> %i1
  90  -live- %i0, %i1, %r1
  90  int_guard_value %i1
  92  residual_call_r_v %i1, <IndirectCallTargets>, R[%r1, $<* struct rpy_string>], <CallDescr(rr) EF=7>
  99  -live- %i0, %r1
  99  -live- %i0, %r1
  99  goto_if_not_int_lt %i0, $0, L8
 104  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x7fff4a07fb90> -> %r0
 108  setfield_gc_r %r0, $<* struct rpy_string>, FieldDescr<pypy.interpreter.error.OpErrFmtNoArgs.inst__value>
 113  setfield_gc_r %r0, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
 118  assert_not_none %r0
 120  -live- %r0
 120  guard_class %r0 -> %i0
 123  -live- %r0
 123  raise %r0
 125  ---
 125  L8:
 125  -live- %i0, %r1
 125  goto_if_not_int_is_zero %i0, L9
 129  inline_call_r_r <JitCode 'newbytes'>, R[$<* struct rpy_string>] -> %r0
 135  -live- %r0
 135  ref_return %r0
 137  ---
 137  L9:
 137  getfield_gc_r %r1, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_lock> -> %r2
 142  getfield_gc_r %r2, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_lock> -> %r0
 147  inline_call_ir_i <JitCode 'Lock.acquire'>, I[$False], R[%r0] -> %i1
 155  -live- %i0, %i1, %r1, %r2
 155  -live- %i0, %i1, %r1, %r2
 155  goto_if_not %i1, L10
 159  L11:
 159  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
 167  setfield_gc_i %r2, %i1, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_owner>
 172  -live- %i0, %r1, %r2
 172  guard_class %r1 -> %i1
 175  getfield_raw_i %i1, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase_vtable.cls__readahead> -> %i1
 180  -live- %i0, %i1, %r1, %r2
 180  switch %i1, <SwitchDictDescr 0:L12, 1:L13, 2:L14>
 184  unreachable
 185  ---
 185  L12:
 185  -live- %i0, %r1, %r2
 185  getfield_gc_i %r1, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_readable> -> %i1
 190  -live- %i0, %i1, %r1, %r2
 190  goto_if_not %i1, L15
 194  ref_copy %r1 -> %r0
 197  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_read_end> -> %i1
 202  -live- %i0, %i1, %r0, %r1, %r2
 202  goto_if_not_int_ne %i1, $-1, L16
 207  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_read_end> -> %i1
 212  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_pos> -> %i2
 217  int_sub %i1, %i2 -> %i1
 221  L17:
 221  -live- %i0, %i1, %r1, %r2
 221  goto_if_not_int_is_zero %i1, L18
 225  L19:
 225  getfield_gc_i %r1, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_writable> -> %i1
 230  -live- %i0, %i1, %r1, %r2
 230  goto_if_not %i1, L20
 234  -live- %i0, %r1, %r2
 234  guard_class %r1 -> %i1
 237  getfield_raw_i %i1, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase_vtable.cls__flush_and_rewind_unlocked> -> %i1
 242  inline_call_ir_v <JitCode 'dispatcher'>, I[%i1], R[%r1]
 249  -live- %i0, %r1, %r2
 249  catch_exception L21
 252  L22:
 252  -live- %i0, %r1, %r2
 252  guard_class %r1 -> %i1
 255  getfield_raw_i %i1, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase_vtable.cls__reader_reset_buf> -> %i1
 260  -live- %i0, %i1, %r1, %r2
 260  switch %i1, <SwitchDictDescr 0:L23, 1:L24, 2:L25>
 264  unreachable
 265  ---
 265  L23:
 265  -live- %i0, %r1, %r2
 265  setfield_gc_i %r1, $-1, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_read_end>
 270  L26:
 270  setfield_gc_i %r1, $0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_pos>
 275  -live- %i0, %r1, %r2
 275  guard_class %r1 -> %i1
 278  getfield_raw_i %i1, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase_vtable.cls__fill_buffer> -> %i1
 283  inline_call_ir_i <JitCode 'dispatcher'>, I[%i1], R[%r1] -> %i1
 291  -live- %i0, %i1, %r1, %r2
 291  catch_exception L27
 294  L28:
 294  -live- %i0, %i1, %r1, %r2
 294  goto_if_not_int_gt %i0, %i1, L29
 299  int_copy %i1 -> %i0
 302  L30:
 302  getfield_gc_i %r1, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_pos> -> %i1
 307  int_add %i1, %i0 -> %i0
 311  getfield_gc_r %r1, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_buffer> -> %r0
 316  int_sub %i0, %i1 -> %i2
 320  -live- %i0, %i1, %i2, %r0, %r1, %r2
 320  guard_class %r0 -> %i3
 323  getfield_raw_i %i3, FieldDescr<rpython.rlib.buffer.Buffer_vtable.cls_getslice> -> %i3
 328  -live- %i0, %i1, %i2, %i3, %r0, %r1, %r2
 328  int_guard_value %i3
 330  residual_call_ir_r %i3, <IndirectCallTargets>, I[%i1, %i0, $1, %i2], R[%r0], <CallDescr(riiii) EF=7> -> %r0
 342  -live- %i0, %r0, %r1, %r2
 342  setfield_gc_i %r1, %i0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_pos>
 347  inline_call_r_r <JitCode 'newbytes'>, R[%r0] -> %r0
 353  -live- %r0, %r2
 353  catch_exception L31
 356  setfield_gc_i %r2, $0, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_owner>
 361  getfield_gc_r %r2, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_lock> -> %r1
 366  getfield_gc_i_pure %r1, FieldDescr<rpython.rlib.rthread.Lock.inst__lock> -> %i1
 371  residual_call_ir_i $<* fn RPyThreadReleaseLock>, I[%i1], R[], <CallDescr(i) EF=2> -> %i1
 379  -live- %i1, %r0
 379  goto_if_not_int_is_true %i1, L32
 383  raise $<* struct object>
 385  ---
 385  L32:
 385  ref_return %r0
 387  ---
 387  L31:
 387  last_exception -> %i0
 389  last_exc_value -> %r0
 391  L33:
 391  setfield_gc_i %r2, $0, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_owner>
 396  getfield_gc_r %r2, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_lock> -> %r1
 401  getfield_gc_i_pure %r1, FieldDescr<rpython.rlib.rthread.Lock.inst__lock> -> %i1
 406  residual_call_ir_i $<* fn RPyThreadReleaseLock>, I[%i1], R[], <CallDescr(i) EF=2> -> %i1
 414  -live- %i1, %r0
 414  goto_if_not_int_is_true %i1, L34
 418  raise $<* struct object>
 420  ---
 420  L34:
 420  -live- %r0
 420  raise %r0
 422  ---
 422  L29:
 422  goto L30
 425  ---
 425  L27:
 425  goto_if_exception_mismatch $<* struct object_vtable>, L35
 429  int_copy $0 -> %i1
 432  goto L28
 435  ---
 435  L35:
 435  last_exception -> %i0
 437  last_exc_value -> %r0
 439  setfield_gc_i %r2, $0, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_owner>
 444  getfield_gc_r %r2, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_lock> -> %r1
 449  getfield_gc_i_pure %r1, FieldDescr<rpython.rlib.rthread.Lock.inst__lock> -> %i1
 454  residual_call_ir_i $<* fn RPyThreadReleaseLock>, I[%i1], R[], <CallDescr(i) EF=2> -> %i1
 462  -live- %i1, %r0
 462  goto_if_not_int_is_true %i1, L36
 466  raise $<* struct object>
 468  ---
 468  L36:
 468  -live- %r0
 468  raise %r0
 470  ---
 470  L24:
 470  -live- %i0, %r1, %r2
 470  setfield_gc_i %r1, $-1, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_read_end>
 475  goto L26
 478  ---
 478  L25:
 478  -live- %i0, %r1, %r2
 478  setfield_gc_i %r1, $-1, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_read_end>
 483  goto L26
 486  ---
 486  L21:
 486  last_exception -> %i0
 488  last_exc_value -> %r0
 490  goto L33
 493  ---
 493  L20:
 493  goto L22
 496  ---
 496  L18:
 496  goto L28
 499  ---
 499  L16:
 499  goto L19
 502  ---
 502  L15:
 502  goto L19
 505  ---
 505  L13:
 505  -live- %i0, %r1, %r2
 505  getfield_gc_i %r1, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_readable> -> %i1
 510  -live- %i0, %i1, %r1, %r2
 510  goto_if_not %i1, L37
 514  ref_copy %r1 -> %r0
 517  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_read_end> -> %i1
 522  -live- %i0, %i1, %r0, %r1, %r2
 522  goto_if_not_int_ne %i1, $-1, L38
 527  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_read_end> -> %i1
 532  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_pos> -> %i2
 537  int_sub %i1, %i2 -> %i1
 541  goto L17
 544  ---
 544  L38:
 544  goto L19
 547  ---
 547  L37:
 547  goto L19
 550  ---
 550  L14:
 550  -live- %i0, %r1, %r2
 550  getfield_gc_i %r1, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_readable> -> %i1
 555  -live- %i0, %i1, %r1, %r2
 555  goto_if_not %i1, L39
 559  ref_copy %r1 -> %r0
 562  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_read_end> -> %i1
 567  -live- %i0, %i1, %r0, %r1, %r2
 567  goto_if_not_int_ne %i1, $-1, L40
 572  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_read_end> -> %i1
 577  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_pos> -> %i2
 582  int_sub %i1, %i2 -> %i1
 586  goto L17
 589  ---
 589  L40:
 589  goto L19
 592  ---
 592  L39:
 592  goto L19
 595  ---
 595  L10:
 595  getfield_gc_i %r2, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_owner> -> %i1
 600  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
 608  -live- %i0, %i1, %i2, %r1, %r2
 608  goto_if_not_int_eq %i1, %i2, L41
 613  getfield_gc_r %r2, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_operr> -> %r0
 618  assert_not_none %r0
 620  -live- %r0
 620  guard_class %r0 -> %i0
 623  -live- %r0
 623  raise %r0
 625  ---
 625  L41:
 625  getfield_gc_r %r2, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_lock> -> %r0
 630  inline_call_ir_i <JitCode 'Lock.acquire'>, I[$True], R[%r0] -> %i1
 638  -live- %i0, %r1, %r2
 638  goto L11
 641  ---
 641  L3:
 641  -live- %i0, %r0
 641  ref_copy %r0 -> %r2
 644  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_state> -> %i1
 649  -live- %i0, %i1, %r0, %r2
 649  goto_if_not_int_is_zero %i1, L42
 653  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x7fff4a07fb90> -> %r0
 657  setfield_gc_r %r0, $<* struct rpy_string>, FieldDescr<pypy.interpreter.error.OpErrFmtNoArgs.inst__value>
 662  setfield_gc_r %r0, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
 667  assert_not_none %r0
 669  -live- %r0
 669  guard_class %r0 -> %i0
 672  -live- %r0
 672  raise %r0
 674  ---
 674  L42:
 674  ref_copy %r0 -> %r1
 677  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_state> -> %i1
 682  -live- %i0, %i1, %r1, %r2
 682  goto_if_not_int_eq %i1, $2, L43
 687  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x7fff4a07fb90> -> %r0
 691  setfield_gc_r %r0, $<* struct rpy_string>, FieldDescr<pypy.interpreter.error.OpErrFmtNoArgs.inst__value>
 696  setfield_gc_r %r0, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
 701  assert_not_none %r0
 703  -live- %r0
 703  guard_class %r0 -> %i0
 706  -live- %r0
 706  raise %r0
 708  ---
 708  L43:
 708  goto L7
 711  ---
 711  L4:
 711  -live- %i0, %r0
 711  ref_copy %r0 -> %r2
 714  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_state> -> %i1
 719  -live- %i0, %i1, %r0, %r2
 719  goto_if_not_int_is_zero %i1, L44
 723  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x7fff4a07fb90> -> %r0
 727  setfield_gc_r %r0, $<* struct rpy_string>, FieldDescr<pypy.interpreter.error.OpErrFmtNoArgs.inst__value>
 732  setfield_gc_r %r0, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
 737  assert_not_none %r0
 739  -live- %r0
 739  guard_class %r0 -> %i0
 742  -live- %r0
 742  raise %r0
 744  ---
 744  L44:
 744  ref_copy %r0 -> %r1
 747  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_state> -> %i1
 752  -live- %i0, %i1, %r1, %r2
 752  goto_if_not_int_eq %i1, $2, L45
 757  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x7fff4a07fb90> -> %r0
 761  setfield_gc_r %r0, $<* struct rpy_string>, FieldDescr<pypy.interpreter.error.OpErrFmtNoArgs.inst__value>
 766  setfield_gc_r %r0, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
 771  assert_not_none %r0
 773  -live- %r0
 773  guard_class %r0 -> %i0
 776  -live- %r0
 776  raise %r0
 778  ---
 778  L45:
 778  goto L7
