   0  setfield_gc_i %r0, $False, FieldDescr<rpython.rlib.streamio.BufferingOutputStream.inst_error>
   5  strlen %r1 -> %i0
   8  residual_call_ir_i $<* fn ll_rfind_char__rpy_stringPtr_Char_Signed_Signed>, I[$'\n', $0, %i0], R[%r1], <CallDescr(riii) EF=0> -> %i0
  19  int_add %i0, $1 -> %i2
  23  getfield_gc_i %r0, FieldDescr<rpython.rlib.streamio.BufferingOutputStream.inst_buflen> -> %i0
  28  strlen %r1 -> %i1
  31  int_add %i0, %i1 -> %i0
  35  getfield_gc_i %r0, FieldDescr<rpython.rlib.streamio.BufferingOutputStream.inst_bufsize> -> %i1
  40  -live- %i0, %i1, %i2, %r0, %r1
  40  goto_if_not_int_lt %i0, %i1, L1
  45  -live- %i2, %r0, %r1
  45  goto_if_not_int_is_zero %i2, L2
  49  getfield_gc_r %r0, FieldDescr<rpython.rlib.streamio.BufferingOutputStream.inst_buf> -> %r2
  54  getfield_gc_i %r2, FieldDescr<list.length> -> %i0
  59  int_add %i0, $1 -> %i1
  63  inline_call_ir_v <JitCode '_ll_list_resize_ge__listPtr_Signed'>, I[%i1], R[%r2]
  70  -live- %i0, %r0, %r1, %r2
  70  setlistitem_gc_r %r2, %i0, %r1, FieldDescr<list.items>, <rpython.jit.backend.llsupport.descr.ArrayDescr object at 0x7fff52d1c5f0>
  78  getfield_gc_i %r0, FieldDescr<rpython.rlib.streamio.BufferingOutputStream.inst_buflen> -> %i0
  83  strlen %r1 -> %i1
  86  int_add %i0, %i1 -> %i0
  90  setfield_gc_i %r0, %i0, FieldDescr<rpython.rlib.streamio.BufferingOutputStream.inst_buflen>
  95  void_return
  96  ---
  96  L2:
  96  getfield_gc_i %r0, FieldDescr<rpython.rlib.streamio.BufferingOutputStream.inst_buflen> -> %i0
 101  -live- %i0, %i2, %r0, %r1
 101  goto_if_not_int_is_true %i0, L3
 105  ref_copy %r0 -> %r3
 108  getfield_gc_r %r3, FieldDescr<rpython.rlib.streamio.BufferingOutputStream.inst_buf> -> %r4
 113  ref_copy %r3 -> %r0
 116  strlen %r1 -> %i0
 119  -live- %i0, %i2, %r0, %r1, %r3, %r4
 119  goto_if_not_int_gt %i2, %i0, L4
 124  int_copy %i2 -> %i0
 127  strlen %r1 -> %i2
 130  L5:
 130  residual_call_ir_r $<* fn _ll_stringslice__rpy_stringPtr_Signed_Signed>, I[$0, %i2], R[%r1], <CallDescr(rii) EF=3 OS_STR_SLICE> -> %r2
 140  -live- %i0, %r0, %r1, %r2, %r3, %r4
 140  getfield_gc_i %r4, FieldDescr<list.length> -> %i1
 145  int_add %i1, $1 -> %i2
 149  inline_call_ir_v <JitCode '_ll_list_resize_ge__listPtr_Signed'>, I[%i2], R[%r4]
 156  -live- %i0, %i1, %r0, %r1, %r2, %r3, %r4
 156  setlistitem_gc_r %r4, %i1, %r2, FieldDescr<list.items>, <rpython.jit.backend.llsupport.descr.ArrayDescr object at 0x7fff52d1c5f0>
 164  getfield_gc_r %r3, FieldDescr<rpython.rlib.streamio.BufferingOutputStream.inst_buf> -> %r2
 169  getfield_gc_i %r2, FieldDescr<list.length> -> %i2
 174  getfield_gc_r %r2, FieldDescr<list.items> -> %r2
 179  -live- %i0, %i2, %r0, %r1, %r2, %r3
 179  goto_if_not_int_is_zero %i2, L6
 183  L7:
 183  inline_call_ir_r <JitCode 'll_join_strs__v1316___simple_call__function_'>, I[%i2], R[%r2] -> %r4
 191  -live- %i0, %r0, %r1, %r3, %r4
 191  L8:
 191  getfield_gc_r %r3, FieldDescr<rpython.rlib.streamio.BufferingOutputStream.inst_base> -> %r2
 196  -live- %i0, %r0, %r1, %r2, %r3, %r4
 196  guard_class %r2 -> %i1
 199  getfield_raw_i %i1, FieldDescr<rpython.rlib.streamio.Stream_vtable.cls_write> -> %i1
 204  -live- %i0, %i1, %r0, %r1, %r2, %r3, %r4
 204  int_guard_value %i1
 206  residual_call_r_v %i1, <IndirectCallTargets>, R[%r2, %r4], <CallDescr(rr) EF=7>
 213  -live- %i0, %r0, %r1, %r3
 213  catch_exception L9
 216  L10:
 216  strlen %r1 -> %i1
 219  residual_call_ir_r $<* fn _ll_stringslice__rpy_stringPtr_Signed_Signed>, I[%i0, %i1], R[%r1], <CallDescr(rii) EF=3 OS_STR_SLICE> -> %r2
 229  -live- %r0, %r2
 229  newlist $1, <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x7fff4b7fbd20>, FieldDescr<list.length>, FieldDescr<list.items>, <rpython.jit.backend.llsupport.descr.ArrayDescr object at 0x7fff52d1c5f0> -> %r3
 240  setlistitem_gc_r %r3, $0, %r2, FieldDescr<list.items>, <rpython.jit.backend.llsupport.descr.ArrayDescr object at 0x7fff52d1c5f0>
 248  setfield_gc_r %r0, %r3, FieldDescr<rpython.rlib.streamio.BufferingOutputStream.inst_buf>
 253  getlistitem_gc_r %r3, $0, FieldDescr<list.items>, <rpython.jit.backend.llsupport.descr.ArrayDescr object at 0x7fff52d1c5f0> -> %r2
 261  strlen %r2 -> %i0
 264  setfield_gc_i %r0, %i0, FieldDescr<rpython.rlib.streamio.BufferingOutputStream.inst_buflen>
 269  void_return
 270  ---
 270  L9:
 270  last_exception -> %i0
 272  last_exc_value -> %r2
 274  setfield_gc_i %r3, $True, FieldDescr<rpython.rlib.streamio.BufferingOutputStream.inst_error>
 279  -live- %r2
 279  raise %r2
 281  ---
 281  L6:
 281  ref_isvirtual %r2 -> %i1
 284  -live- %i0, %i1, %i2, %r0, %r1, %r2, %r3
 284  goto_if_not %i1, L11
 288  goto L7
 291  ---
 291  L11:
 291  int_isconstant %i2 -> %i1
 294  -live- %i0, %i1, %i2, %r0, %r1, %r2, %r3
 294  goto_if_not %i1, L12
 298  -live- %i0, %i2, %r0, %r1, %r2, %r3
 298  goto_if_not_int_le %i2, $2, L13
 303  goto L7
 306  ---
 306  L13:
 306  L14:
 306  residual_call_ir_r $<* fn ll_join_strs_trampoline__v1321___simple_call__function_>, I[%i2], R[%r2], <CallDescr(ir) EF=5> -> %r4
 315  -live- %i0, %r0, %r1, %r3, %r4
 315  goto L8
 318  ---
 318  L12:
 318  goto L14
 321  ---
 321  L4:
 321  int_copy %i2 -> %i0
 324  goto L5
 327  ---
 327  L3:
 327  ref_copy %r0 -> %r4
 330  strlen %r1 -> %i0
 333  -live- %i0, %i2, %r0, %r1, %r4
 333  goto_if_not_int_gt %i2, %i0, L15
 338  int_copy %i2 -> %i0
 341  strlen %r1 -> %i2
 344  L16:
 344  residual_call_ir_r $<* fn _ll_stringslice__rpy_stringPtr_Signed_Signed>, I[$0, %i2], R[%r1], <CallDescr(rii) EF=3 OS_STR_SLICE> -> %r2
 354  -live- %i0, %r0, %r1, %r2, %r4
 354  getfield_gc_r %r4, FieldDescr<rpython.rlib.streamio.BufferingOutputStream.inst_base> -> %r3
 359  -live- %i0, %r0, %r1, %r2, %r3, %r4
 359  guard_class %r3 -> %i1
 362  getfield_raw_i %i1, FieldDescr<rpython.rlib.streamio.Stream_vtable.cls_write> -> %i1
 367  -live- %i0, %i1, %r0, %r1, %r2, %r3, %r4
 367  int_guard_value %i1
 369  residual_call_r_v %i1, <IndirectCallTargets>, R[%r3, %r2], <CallDescr(rr) EF=7>
 376  -live- %i0, %r0, %r1, %r4
 376  catch_exception L17
 379  goto L10
 382  ---
 382  L17:
 382  last_exception -> %i0
 384  last_exc_value -> %r2
 386  setfield_gc_i %r4, $True, FieldDescr<rpython.rlib.streamio.BufferingOutputStream.inst_error>
 391  -live- %r2
 391  raise %r2
 393  ---
 393  L15:
 393  int_copy %i2 -> %i0
 396  goto L16
 399  ---
 399  L1:
 399  getfield_gc_i %r0, FieldDescr<rpython.rlib.streamio.BufferingOutputStream.inst_buflen> -> %i0
 404  int_add %i0, %i2 -> %i0
 408  getfield_gc_i %r0, FieldDescr<rpython.rlib.streamio.BufferingOutputStream.inst_bufsize> -> %i1
 413  -live- %i0, %i1, %i2, %r0, %r1
 413  goto_if_not_int_lt %i0, %i1, L18
 418  getfield_gc_i %r0, FieldDescr<rpython.rlib.streamio.BufferingOutputStream.inst_bufsize> -> %i0
 423  getfield_gc_i %r0, FieldDescr<rpython.rlib.streamio.BufferingOutputStream.inst_buflen> -> %i1
 428  int_sub %i0, %i1 -> %i2
 432  L19:
 432  getfield_gc_i %r0, FieldDescr<rpython.rlib.streamio.BufferingOutputStream.inst_buflen> -> %i0
 437  -live- %i0, %i2, %r0, %r1
 437  goto_if_not_int_is_true %i0, L20
 441  ref_copy %r0 -> %r3
 444  getfield_gc_r %r3, FieldDescr<rpython.rlib.streamio.BufferingOutputStream.inst_buf> -> %r2
 449  getfield_gc_i %r2, FieldDescr<list.length> -> %i1
 454  getfield_gc_r %r2, FieldDescr<list.items> -> %r2
 459  ref_copy %r3 -> %r0
 462  -live- %i1, %i2, %r0, %r1, %r2, %r3
 462  goto_if_not_int_is_zero %i1, L21
 466  L22:
 466  inline_call_ir_r <JitCode 'll_join_strs__v1316___simple_call__function_'>, I[%i1], R[%r2] -> %r4
 474  -live- %i2, %r0, %r1, %r3, %r4
 474  L23:
 474  getfield_gc_r %r3, FieldDescr<rpython.rlib.streamio.BufferingOutputStream.inst_base> -> %r2
 479  -live- %i2, %r0, %r1, %r2, %r3, %r4
 479  guard_class %r2 -> %i0
 482  getfield_raw_i %i0, FieldDescr<rpython.rlib.streamio.Stream_vtable.cls_write> -> %i0
 487  -live- %i0, %i2, %r0, %r1, %r2, %r3, %r4
 487  int_guard_value %i0
 489  residual_call_r_v %i0, <IndirectCallTargets>, R[%r2, %r4], <CallDescr(rr) EF=7>
 496  -live- %i2, %r0, %r1, %r3
 496  catch_exception L24
 499  L25:
 499  strlen %r1 -> %i0
 502  -live- %i0, %i2, %r0, %r1
 502  goto_if_not_int_gt %i2, %i0, L26
 507  int_copy %i2 -> %i0
 510  strlen %r1 -> %i2
 513  L27:
 513  residual_call_ir_r $<* fn _ll_stringslice__rpy_stringPtr_Signed_Signed>, I[$0, %i2], R[%r1], <CallDescr(rii) EF=3 OS_STR_SLICE> -> %r2
 523  -live- %i0, %r0, %r1, %r2
 523  getfield_gc_r %r0, FieldDescr<rpython.rlib.streamio.BufferingOutputStream.inst_base> -> %r3
 528  -live- %i0, %r0, %r1, %r2, %r3
 528  guard_class %r3 -> %i1
 531  getfield_raw_i %i1, FieldDescr<rpython.rlib.streamio.Stream_vtable.cls_write> -> %i1
 536  -live- %i0, %i1, %r0, %r1, %r2, %r3
 536  int_guard_value %i1
 538  residual_call_r_v %i1, <IndirectCallTargets>, R[%r3, %r2], <CallDescr(rr) EF=7>
 545  -live- %i0, %r0, %r1
 545  catch_exception L28
 548  strlen %r1 -> %i1
 551  residual_call_ir_r $<* fn _ll_stringslice__rpy_stringPtr_Signed_Signed>, I[%i0, %i1], R[%r1], <CallDescr(rii) EF=3 OS_STR_SLICE> -> %r2
 561  -live- %r0, %r2
 561  newlist $1, <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x7fff4b7fbd20>, FieldDescr<list.length>, FieldDescr<list.items>, <rpython.jit.backend.llsupport.descr.ArrayDescr object at 0x7fff52d1c5f0> -> %r3
 572  setlistitem_gc_r %r3, $0, %r2, FieldDescr<list.items>, <rpython.jit.backend.llsupport.descr.ArrayDescr object at 0x7fff52d1c5f0>
 580  setfield_gc_r %r0, %r3, FieldDescr<rpython.rlib.streamio.BufferingOutputStream.inst_buf>
 585  getlistitem_gc_r %r3, $0, FieldDescr<list.items>, <rpython.jit.backend.llsupport.descr.ArrayDescr object at 0x7fff52d1c5f0> -> %r2
 593  strlen %r2 -> %i0
 596  setfield_gc_i %r0, %i0, FieldDescr<rpython.rlib.streamio.BufferingOutputStream.inst_buflen>
 601  void_return
 602  ---
 602  L28:
 602  last_exception -> %i0
 604  last_exc_value -> %r2
 606  setfield_gc_i %r0, $True, FieldDescr<rpython.rlib.streamio.BufferingOutputStream.inst_error>
 611  -live- %r2
 611  raise %r2
 613  ---
 613  L26:
 613  int_copy %i2 -> %i0
 616  goto L27
 619  ---
 619  L24:
 619  last_exception -> %i0
 621  last_exc_value -> %r2
 623  setfield_gc_i %r3, $True, FieldDescr<rpython.rlib.streamio.BufferingOutputStream.inst_error>
 628  -live- %r2
 628  raise %r2
 630  ---
 630  L21:
 630  ref_isvirtual %r2 -> %i0
 633  -live- %i0, %i1, %i2, %r0, %r1, %r2, %r3
 633  goto_if_not %i0, L29
 637  goto L22
 640  ---
 640  L29:
 640  int_isconstant %i1 -> %i0
 643  -live- %i0, %i1, %i2, %r0, %r1, %r2, %r3
 643  goto_if_not %i0, L30
 647  -live- %i1, %i2, %r0, %r1, %r2, %r3
 647  goto_if_not_int_le %i1, $2, L31
 652  goto L22
 655  ---
 655  L31:
 655  L32:
 655  residual_call_ir_r $<* fn ll_join_strs_trampoline__v1321___simple_call__function_>, I[%i1], R[%r2], <CallDescr(ir) EF=5> -> %r4
 664  -live- %i2, %r0, %r1, %r3, %r4
 664  goto L23
 667  ---
 667  L30:
 667  goto L32
 670  ---
 670  L20:
 670  goto L25
 673  ---
 673  L18:
 673  goto L19
