   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- %i0, %r0
  13  ref_copy %r0 -> %r2
  16  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_state> -> %i1
  21  -live- %i0, %i1, %r0, %r2
  21  goto_if_not_int_is_zero %i1, L5
  25  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x7fff713b8960> -> %r0
  29  setfield_gc_r %r0, $<* struct rpy_string>, FieldDescr<pypy.interpreter.error.OpErrFmtNoArgs.inst__value>
  34  setfield_gc_r %r0, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
  39  assert_not_none %r0
  41  -live- %r0
  41  guard_class %r0 -> %i0
  44  -live- %r0
  44  raise %r0
  46  ---
  46  L5:
  46  ref_copy %r0 -> %r1
  49  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_state> -> %i1
  54  -live- %i0, %i1, %r1, %r2
  54  goto_if_not_int_eq %i1, $2, L6
  59  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x7fff713b8960> -> %r0
  63  setfield_gc_r %r0, $<* struct rpy_string>, FieldDescr<pypy.interpreter.error.OpErrFmtNoArgs.inst__value>
  68  setfield_gc_r %r0, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
  73  assert_not_none %r0
  75  -live- %r0
  75  guard_class %r0 -> %i0
  78  -live- %r0
  78  raise %r0
  80  ---
  80  L6:
  80  L7:
  80  -live- %i0, %r1, %r2
  80  guard_class %r2 -> %i1
  83  getfield_raw_i %i1, FieldDescr<pypy.module._io.interp_iobase.W_IOBase_vtable.cls__check_closed> -> %i1
  88  -live- %i0, %i1, %r1
  88  int_guard_value %i1
  90  residual_call_r_v %i1, <IndirectCallTargets>, R[%r1, $<* struct rpy_string>], <CallDescr(rr) EF=7>
  97  -live- %i0, %r1
  97  -live- %i0, %r1
  97  goto_if_not_int_lt %i0, $0, L8
 102  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x7fff713b8960> -> %r0
 106  setfield_gc_r %r0, $<* struct rpy_string>, FieldDescr<pypy.interpreter.error.OpErrFmtNoArgs.inst__value>
 111  setfield_gc_r %r0, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
 116  assert_not_none %r0
 118  -live- %r0
 118  guard_class %r0 -> %i0
 121  -live- %r0
 121  raise %r0
 123  ---
 123  L8:
 123  -live- %i0, %r1
 123  goto_if_not_int_is_zero %i0, L9
 127  inline_call_r_r <JitCode 'newbytes'>, R[$<* struct rpy_string>] -> %r0
 133  -live- %r0
 133  ref_return %r0
 135  ---
 135  L9:
 135  getfield_gc_r %r1, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_lock> -> %r2
 140  getfield_gc_r %r2, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_lock> -> %r0
 145  inline_call_ir_i <JitCode 'Lock.acquire'>, I[$False], R[%r0] -> %i1
 153  -live- %i0, %i1, %r1, %r2
 153  -live- %i0, %i1, %r1, %r2
 153  goto_if_not %i1, L10
 157  L11:
 157  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
 165  setfield_gc_i %r2, %i1, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_owner>
 170  -live- %i0, %r1, %r2
 170  guard_class %r1 -> %i1
 173  getfield_raw_i %i1, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase_vtable.cls__readahead> -> %i1
 178  -live- %i0, %i1, %r1, %r2
 178  switch %i1, <SwitchDictDescr 0:L12, 1:L13, 2:L14>
 182  unreachable
 183  ---
 183  L12:
 183  -live- %i0, %r1, %r2
 183  getfield_gc_i %r1, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_readable> -> %i1
 188  -live- %i0, %i1, %r1, %r2
 188  goto_if_not %i1, L15
 192  ref_copy %r1 -> %r0
 195  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_read_end> -> %i1
 200  -live- %i0, %i1, %r0, %r1, %r2
 200  goto_if_not_int_ne %i1, $-1, L16
 205  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_read_end> -> %i1
 210  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_pos> -> %i2
 215  int_sub %i1, %i2 -> %i1
 219  L17:
 219  -live- %i0, %i1, %r1, %r2
 219  goto_if_not_int_is_zero %i1, L18
 223  L19:
 223  getfield_gc_i %r1, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_writable> -> %i1
 228  -live- %i0, %i1, %r1, %r2
 228  goto_if_not %i1, L20
 232  -live- %i0, %r1, %r2
 232  guard_class %r1 -> %i1
 235  getfield_raw_i %i1, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase_vtable.cls__flush_and_rewind_unlocked> -> %i1
 240  inline_call_ir_v <JitCode 'dispatcher'>, I[%i1], R[%r1]
 247  -live- %i0, %r1, %r2
 247  catch_exception L21
 250  L22:
 250  -live- %i0, %r1, %r2
 250  guard_class %r1 -> %i1
 253  getfield_raw_i %i1, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase_vtable.cls__reader_reset_buf> -> %i1
 258  -live- %i0, %i1, %r1, %r2
 258  switch %i1, <SwitchDictDescr 0:L23, 1:L24, 2:L25>
 262  unreachable
 263  ---
 263  L23:
 263  -live- %i0, %r1, %r2
 263  setfield_gc_i %r1, $-1, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_read_end>
 268  L26:
 268  setfield_gc_i %r1, $0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_pos>
 273  -live- %i0, %r1, %r2
 273  guard_class %r1 -> %i1
 276  getfield_raw_i %i1, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase_vtable.cls__fill_buffer> -> %i1
 281  inline_call_ir_i <JitCode 'dispatcher'>, I[%i1], R[%r1] -> %i1
 289  -live- %i0, %i1, %r1, %r2
 289  catch_exception L27
 292  L28:
 292  -live- %i0, %i1, %r1, %r2
 292  goto_if_not_int_gt %i0, %i1, L29
 297  int_copy %i1 -> %i0
 300  L30:
 300  getfield_gc_i %r1, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_pos> -> %i1
 305  int_add %i1, %i0 -> %i0
 309  getfield_gc_r %r1, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_buffer> -> %r0
 314  int_sub %i0, %i1 -> %i2
 318  -live- %i0, %i1, %i2, %r0, %r1, %r2
 318  guard_class %r0 -> %i3
 321  getfield_raw_i %i3, FieldDescr<rpython.rlib.buffer.Buffer_vtable.cls_getslice> -> %i3
 326  -live- %i0, %i1, %i2, %i3, %r0, %r1, %r2
 326  int_guard_value %i3
 328  residual_call_ir_r %i3, <IndirectCallTargets>, I[%i1, %i0, $1, %i2], R[%r0], <CallDescr(riiii) EF=7> -> %r0
 340  -live- %i0, %r0, %r1, %r2
 340  setfield_gc_i %r1, %i0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_pos>
 345  inline_call_r_r <JitCode 'newbytes'>, R[%r0] -> %r0
 351  -live- %r0, %r2
 351  catch_exception L31
 354  setfield_gc_i %r2, $0, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_owner>
 359  getfield_gc_r %r2, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_lock> -> %r1
 364  getfield_gc_i_pure %r1, FieldDescr<rpython.rlib.rthread.Lock.inst__lock> -> %i1
 369  residual_call_ir_i $<* fn RPyThreadReleaseLock>, I[%i1], R[], <CallDescr(i) EF=2> -> %i1
 377  -live- %i1, %r0
 377  goto_if_not_int_is_true %i1, L32
 381  raise $<* struct object>
 383  ---
 383  L32:
 383  ref_return %r0
 385  ---
 385  L31:
 385  last_exception -> %i0
 387  last_exc_value -> %r0
 389  L33:
 389  setfield_gc_i %r2, $0, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_owner>
 394  getfield_gc_r %r2, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_lock> -> %r1
 399  getfield_gc_i_pure %r1, FieldDescr<rpython.rlib.rthread.Lock.inst__lock> -> %i1
 404  residual_call_ir_i $<* fn RPyThreadReleaseLock>, I[%i1], R[], <CallDescr(i) EF=2> -> %i1
 412  -live- %i1, %r0
 412  goto_if_not_int_is_true %i1, L34
 416  raise $<* struct object>
 418  ---
 418  L34:
 418  -live- %r0
 418  raise %r0
 420  ---
 420  L29:
 420  goto L30
 423  ---
 423  L27:
 423  goto_if_exception_mismatch $<* struct object_vtable>, L35
 427  int_copy $0 -> %i1
 430  goto L28
 433  ---
 433  L35:
 433  last_exception -> %i0
 435  last_exc_value -> %r0
 437  setfield_gc_i %r2, $0, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_owner>
 442  getfield_gc_r %r2, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_lock> -> %r1
 447  getfield_gc_i_pure %r1, FieldDescr<rpython.rlib.rthread.Lock.inst__lock> -> %i1
 452  residual_call_ir_i $<* fn RPyThreadReleaseLock>, I[%i1], R[], <CallDescr(i) EF=2> -> %i1
 460  -live- %i1, %r0
 460  goto_if_not_int_is_true %i1, L36
 464  raise $<* struct object>
 466  ---
 466  L36:
 466  -live- %r0
 466  raise %r0
 468  ---
 468  L24:
 468  -live- %i0, %r1, %r2
 468  setfield_gc_i %r1, $-1, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_read_end>
 473  goto L26
 476  ---
 476  L25:
 476  -live- %i0, %r1, %r2
 476  setfield_gc_i %r1, $-1, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_read_end>
 481  goto L26
 484  ---
 484  L21:
 484  last_exception -> %i0
 486  last_exc_value -> %r0
 488  goto L33
 491  ---
 491  L20:
 491  goto L22
 494  ---
 494  L18:
 494  goto L28
 497  ---
 497  L16:
 497  goto L19
 500  ---
 500  L15:
 500  goto L19
 503  ---
 503  L13:
 503  -live- %i0, %r1, %r2
 503  getfield_gc_i %r1, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_readable> -> %i1
 508  -live- %i0, %i1, %r1, %r2
 508  goto_if_not %i1, L37
 512  ref_copy %r1 -> %r0
 515  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_read_end> -> %i1
 520  -live- %i0, %i1, %r0, %r1, %r2
 520  goto_if_not_int_ne %i1, $-1, L38
 525  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_read_end> -> %i1
 530  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_pos> -> %i2
 535  int_sub %i1, %i2 -> %i1
 539  goto L17
 542  ---
 542  L38:
 542  goto L19
 545  ---
 545  L37:
 545  goto L19
 548  ---
 548  L14:
 548  -live- %i0, %r1, %r2
 548  getfield_gc_i %r1, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_readable> -> %i1
 553  -live- %i0, %i1, %r1, %r2
 553  goto_if_not %i1, L39
 557  ref_copy %r1 -> %r0
 560  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_read_end> -> %i1
 565  -live- %i0, %i1, %r0, %r1, %r2
 565  goto_if_not_int_ne %i1, $-1, L40
 570  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_read_end> -> %i1
 575  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_pos> -> %i2
 580  int_sub %i1, %i2 -> %i1
 584  goto L17
 587  ---
 587  L40:
 587  goto L19
 590  ---
 590  L39:
 590  goto L19
 593  ---
 593  L10:
 593  getfield_gc_i %r2, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_owner> -> %i1
 598  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
 606  -live- %i0, %i1, %i2, %r1, %r2
 606  goto_if_not_int_eq %i1, %i2, L41
 611  getfield_gc_r %r2, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_operr> -> %r0
 616  assert_not_none %r0
 618  -live- %r0
 618  guard_class %r0 -> %i0
 621  -live- %r0
 621  raise %r0
 623  ---
 623  L41:
 623  getfield_gc_r %r2, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_lock> -> %r0
 628  inline_call_ir_i <JitCode 'Lock.acquire'>, I[$True], R[%r0] -> %i1
 636  -live- %i0, %r1, %r2
 636  goto L11
 639  ---
 639  L2:
 639  -live- %i0, %r0
 639  ref_copy %r0 -> %r2
 642  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_state> -> %i1
 647  -live- %i0, %i1, %r0, %r2
 647  goto_if_not_int_is_zero %i1, L42
 651  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x7fff713b8960> -> %r0
 655  setfield_gc_r %r0, $<* struct rpy_string>, FieldDescr<pypy.interpreter.error.OpErrFmtNoArgs.inst__value>
 660  setfield_gc_r %r0, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
 665  assert_not_none %r0
 667  -live- %r0
 667  guard_class %r0 -> %i0
 670  -live- %r0
 670  raise %r0
 672  ---
 672  L42:
 672  ref_copy %r0 -> %r1
 675  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_state> -> %i1
 680  -live- %i0, %i1, %r1, %r2
 680  goto_if_not_int_eq %i1, $2, L43
 685  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x7fff713b8960> -> %r0
 689  setfield_gc_r %r0, $<* struct rpy_string>, FieldDescr<pypy.interpreter.error.OpErrFmtNoArgs.inst__value>
 694  setfield_gc_r %r0, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
 699  assert_not_none %r0
 701  -live- %r0
 701  guard_class %r0 -> %i0
 704  -live- %r0
 704  raise %r0
 706  ---
 706  L43:
 706  goto L7
 709  ---
 709  L3:
 709  -live- %i0, %r0
 709  ref_copy %r0 -> %r2
 712  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_state> -> %i1
 717  -live- %i0, %i1, %r0, %r2
 717  goto_if_not_int_is_zero %i1, L44
 721  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x7fff713b8960> -> %r0
 725  setfield_gc_r %r0, $<* struct rpy_string>, FieldDescr<pypy.interpreter.error.OpErrFmtNoArgs.inst__value>
 730  setfield_gc_r %r0, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
 735  assert_not_none %r0
 737  -live- %r0
 737  guard_class %r0 -> %i0
 740  -live- %r0
 740  raise %r0
 742  ---
 742  L44:
 742  ref_copy %r0 -> %r1
 745  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_state> -> %i1
 750  -live- %i0, %i1, %r1, %r2
 750  goto_if_not_int_eq %i1, $2, L45
 755  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x7fff713b8960> -> %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
 771  guard_class %r0 -> %i0
 774  -live- %r0
 774  raise %r0
 776  ---
 776  L45:
 776  goto L7
 779  ---
 779  L4:
 779  -live-
 779  raise $<* struct object>
