   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 0x0000aaab6b658de8> -> %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 0x0000aaab6b658de8> -> %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  -live- %r1, %r2
  98  guard_class %r2 -> %i0
 101  getfield_raw_i %i0, FieldDescr<pypy.module._io.interp_iobase.W_IOBase_vtable.cls__check_closed> -> %i0
 106  -live- %i0, %r1
 109  int_guard_value %i0
 111  residual_call_r_v %i0, <IndirectCallTargets>, R[%r1, $<* struct rpy_string>], <CallDescr(rr) EF=7>
 118  -live- %r1
 121  getfield_gc_r %r1, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_lock> -> %r2
 126  getfield_gc_r %r2, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_lock> -> %r0
 131  inline_call_ir_i <JitCode 'Lock.acquire'>, I[$False], R[%r0] -> %i0
 139  -live- %i0, %r1, %r2
 142  goto_if_not %i0, L8
 146  L9:
 146  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
 154  setfield_gc_i %r2, %i0, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_owner>
 159  getfield_gc_i %r1, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_writable> -> %i0
 164  -live- %i0, %r1, %r2
 167  goto_if_not %i0, L10
 171  -live- %r1, %r2
 174  guard_class %r1 -> %i0
 177  getfield_raw_i %i0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase_vtable.cls__flush_and_rewind_unlocked> -> %i0
 182  inline_call_ir_v <JitCode 'dispatcher'>, I[%i0], R[%r1]
 189  -live- %r1, %r2
 192  catch_exception L11
 195  L12:
 195  -live- %r1, %r2
 198  guard_class %r1 -> %i0
 201  getfield_raw_i %i0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase_vtable.cls__readahead> -> %i0
 206  -live- %i0, %r1, %r2
 209  switch %i0, <SwitchDictDescr 0:L13, 1:L14, 2:L15>
 213  unreachable
 214  ---
 214  L13:
 214  -live- %r1, %r2
 217  getfield_gc_i %r1, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_readable> -> %i0
 222  -live- %i0, %r1, %r2
 225  goto_if_not %i0, L16
 229  ref_copy %r1 -> %r0
 232  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_read_end> -> %i0
 237  -live- %i0, %r0, %r1, %r2
 240  goto_if_not_int_ne %i0, $-1, L17
 245  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_read_end> -> %i0
 250  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_pos> -> %i1
 255  int_sub %i0, %i1 -> %i1
 259  L18:
 259  -live- %i1, %r1, %r2
 262  goto_if_not_int_gt %i1, $0, L19
 267  getfield_gc_r %r1, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_buffer> -> %r0
 272  getfield_gc_i %r1, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_pos> -> %i0
 277  int_add %i0, %i1 -> %i1
 281  inline_call_ir_r <JitCode 'Buffer.__getslice__'>, I[%i0, %i1], R[%r0] -> %r0
 290  -live- %r0, %r2
 293  inline_call_r_r <JitCode 'newbytes'>, R[%r0] -> %r0
 299  -live- %r0, %r2
 302  catch_exception L20
 305  L21:
 305  setfield_gc_i %r2, $0, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_owner>
 310  getfield_gc_r %r2, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_lock> -> %r1
 315  getfield_gc_i_pure %r1, FieldDescr<rpython.rlib.rthread.Lock.inst__lock> -> %i0
 320  residual_call_ir_i $<* fn RPyThreadReleaseLock>, I[%i0], R[], <CallDescr(i) EF=2> -> %i0
 328  -live- %i0, %r0
 331  goto_if_not_int_is_true %i0, L22
 335  raise $<* struct object>
 337  ---
 337  L22:
 337  ref_return %r0
 339  ---
 339  L20:
 339  last_exception -> %i1
 341  last_exc_value -> %r0
 343  L23:
 343  setfield_gc_i %r2, $0, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_owner>
 348  getfield_gc_r %r2, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_lock> -> %r1
 353  getfield_gc_i_pure %r1, FieldDescr<rpython.rlib.rthread.Lock.inst__lock> -> %i0
 358  residual_call_ir_i $<* fn RPyThreadReleaseLock>, I[%i0], R[], <CallDescr(i) EF=2> -> %i0
 366  -live- %i0, %r0
 369  goto_if_not_int_is_true %i0, L24
 373  raise $<* struct object>
 375  ---
 375  L24:
 375  -live- %r0
 378  raise %r0
 380  ---
 380  L19:
 380  L25:
 380  -live- %r1, %r2
 383  guard_class %r1 -> %i0
 386  getfield_raw_i %i0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase_vtable.cls__reader_reset_buf> -> %i0
 391  -live- %i0, %r1, %r2
 394  switch %i0, <SwitchDictDescr 0:L26, 1:L27, 2:L28>
 398  unreachable
 399  ---
 399  L26:
 399  -live- %r1, %r2
 402  setfield_gc_i %r1, $-1, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_read_end>
 407  L29:
 407  -live- %r1, %r2
 410  guard_class %r1 -> %i0
 413  getfield_raw_i %i0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase_vtable.cls__fill_buffer> -> %i0
 418  inline_call_ir_i <JitCode 'dispatcher'>, I[%i0], R[%r1] -> %i0
 426  -live- %i0, %r1, %r2
 429  catch_exception L30
 432  L31:
 432  setfield_gc_i %r1, $0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_pos>
 437  getfield_gc_r %r1, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_buffer> -> %r0
 442  inline_call_ir_r <JitCode 'Buffer.__getslice__'>, I[$0, %i0], R[%r0] -> %r0
 451  -live- %r0, %r2
 454  inline_call_r_r <JitCode 'newbytes'>, R[%r0] -> %r0
 460  -live- %r0, %r2
 463  catch_exception L32
 466  goto L21
 469  ---
 469  L32:
 469  last_exception -> %i1
 471  last_exc_value -> %r0
 473  goto L23
 476  ---
 476  L30:
 476  goto_if_exception_mismatch $<* struct object_vtable>, L33
 480  int_copy $0 -> %i0
 483  goto L31
 486  ---
 486  L33:
 486  last_exception -> %i1
 488  last_exc_value -> %r0
 490  setfield_gc_i %r2, $0, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_owner>
 495  getfield_gc_r %r2, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_lock> -> %r1
 500  getfield_gc_i_pure %r1, FieldDescr<rpython.rlib.rthread.Lock.inst__lock> -> %i0
 505  residual_call_ir_i $<* fn RPyThreadReleaseLock>, I[%i0], R[], <CallDescr(i) EF=2> -> %i0
 513  -live- %i0, %r0
 516  goto_if_not_int_is_true %i0, L34
 520  raise $<* struct object>
 522  ---
 522  L34:
 522  -live- %r0
 525  raise %r0
 527  ---
 527  L27:
 527  -live- %r1, %r2
 530  setfield_gc_i %r1, $-1, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_read_end>
 535  goto L29
 538  ---
 538  L28:
 538  -live- %r1, %r2
 541  setfield_gc_i %r1, $-1, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_read_end>
 546  goto L29
 549  ---
 549  L17:
 549  goto L25
 552  ---
 552  L16:
 552  goto L25
 555  ---
 555  L14:
 555  -live- %r1, %r2
 558  getfield_gc_i %r1, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_readable> -> %i0
 563  -live- %i0, %r1, %r2
 566  goto_if_not %i0, L35
 570  ref_copy %r1 -> %r0
 573  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_read_end> -> %i0
 578  -live- %i0, %r0, %r1, %r2
 581  goto_if_not_int_ne %i0, $-1, L36
 586  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_read_end> -> %i0
 591  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_pos> -> %i1
 596  int_sub %i0, %i1 -> %i1
 600  goto L18
 603  ---
 603  L36:
 603  goto L25
 606  ---
 606  L35:
 606  goto L25
 609  ---
 609  L15:
 609  -live- %r1, %r2
 612  getfield_gc_i %r1, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_readable> -> %i0
 617  -live- %i0, %r1, %r2
 620  goto_if_not %i0, L37
 624  ref_copy %r1 -> %r0
 627  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_read_end> -> %i0
 632  -live- %i0, %r0, %r1, %r2
 635  goto_if_not_int_ne %i0, $-1, L38
 640  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_read_end> -> %i0
 645  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_pos> -> %i1
 650  int_sub %i0, %i1 -> %i1
 654  goto L18
 657  ---
 657  L38:
 657  goto L25
 660  ---
 660  L37:
 660  goto L25
 663  ---
 663  L11:
 663  last_exception -> %i1
 665  last_exc_value -> %r0
 667  goto L23
 670  ---
 670  L10:
 670  goto L12
 673  ---
 673  L8:
 673  getfield_gc_i %r2, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_owner> -> %i0
 678  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
 686  -live- %i0, %i1, %r1, %r2
 689  goto_if_not_int_eq %i0, %i1, L39
 694  getfield_gc_r %r2, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_operr> -> %r0
 699  assert_not_none %r0
 701  -live- %r0
 704  guard_class %r0 -> %i1
 707  -live- %r0
 710  raise %r0
 712  ---
 712  L39:
 712  getfield_gc_r %r2, FieldDescr<pypy.module._io.interp_bufferedio.TryLock.inst_lock> -> %r0
 717  inline_call_ir_i <JitCode 'Lock.acquire'>, I[$True], R[%r0] -> %i0
 725  -live- %r1, %r2
 728  goto L9
 731  ---
 731  L2:
 731  -live- %r0
 734  ref_copy %r0 -> %r2
 737  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_state> -> %i0
 742  -live- %i0, %r0, %r2
 745  goto_if_not_int_is_zero %i0, L40
 749  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x0000aaab6b658de8> -> %r0
 753  setfield_gc_r %r0, $<* struct rpy_string>, FieldDescr<pypy.interpreter.error.OpErrFmtNoArgs.inst__value>
 758  setfield_gc_r %r0, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
 763  assert_not_none %r0
 765  -live- %r0
 768  raise %r0
 770  ---
 770  L40:
 770  ref_copy %r0 -> %r1
 773  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_state> -> %i0
 778  -live- %i0, %r1, %r2
 781  goto_if_not_int_eq %i0, $2, L41
 786  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x0000aaab6b658de8> -> %r0
 790  setfield_gc_r %r0, $<* struct rpy_string>, FieldDescr<pypy.interpreter.error.OpErrFmtNoArgs.inst__value>
 795  setfield_gc_r %r0, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
 800  assert_not_none %r0
 802  -live- %r0
 805  raise %r0
 807  ---
 807  L41:
 807  goto L7
 810  ---
 810  L3:
 810  -live- %r0
 813  ref_copy %r0 -> %r2
 816  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_state> -> %i0
 821  -live- %i0, %r0, %r2
 824  goto_if_not_int_is_zero %i0, L42
 828  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x0000aaab6b658de8> -> %r0
 832  setfield_gc_r %r0, $<* struct rpy_string>, FieldDescr<pypy.interpreter.error.OpErrFmtNoArgs.inst__value>
 837  setfield_gc_r %r0, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
 842  assert_not_none %r0
 844  -live- %r0
 847  raise %r0
 849  ---
 849  L42:
 849  ref_copy %r0 -> %r1
 852  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_bufferedio.W_BufferedIOBase.inst_state> -> %i0
 857  -live- %i0, %r1, %r2
 860  goto_if_not_int_eq %i0, $2, L43
 865  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x0000aaab6b658de8> -> %r0
 869  setfield_gc_r %r0, $<* struct rpy_string>, FieldDescr<pypy.interpreter.error.OpErrFmtNoArgs.inst__value>
 874  setfield_gc_r %r0, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
 879  assert_not_none %r0
 881  -live- %r0
 884  raise %r0
 886  ---
 886  L43:
 886  goto L7
 889  ---
 889  L4:
 889  -live-
 892  raise $<* struct object>
