   0  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_fileio.W_FileIO.inst_fd> -> %i0
   5  -live- %i0, %r0, %r1
   8  goto_if_not_int_lt %i0, $0, L1
  13  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x0000aaab0037f018> -> %r1
  17  setfield_gc_r %r1, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
  22  setfield_gc_r %r1, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst__w_value>
  27  setfield_gc_r %r1, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst__application_traceback>
  32  assert_not_none %r1
  34  -live- %r1
  37  raise %r1
  39  ---
  39  L1:
  39  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_fileio.W_FileIO.inst_writable> -> %i0
  44  -live- %i0, %r0, %r1
  47  goto_if_not %i0, L2
  51  inline_call_r_r <JitCode 'getarg_w__s_'>, R[$<* struct rpy_string>, %r1] -> %r1
  58  -live- %r0, %r1
  61  guard_class %r1 -> %i0
  64  getfield_raw_i %i0, FieldDescr<rpython.rlib.buffer.Buffer_vtable.cls_as_str> -> %i1
  69  -live- %i0, %i1, %r0, %r1
  72  switch %i1, <SwitchDictDescr 0:L3, 1:L4, 2:L5>
  76  unreachable
  77  ---
  77  L3:
  77  -live- %r0, %r1
  80  getfield_gc_r_pure %r1, FieldDescr<rpython.rlib.buffer.StringBuffer.inst_value> -> %r1
  85  L6:
  85  getfield_gc_i %r0, FieldDescr<pypy.module._io.interp_fileio.W_FileIO.inst_fd> -> %i0
  90  inline_call_ir_i <JitCode 'write'>, I[%i0], R[%r1] -> %i0
  98  -live- %i0
 101  catch_exception L7
 104  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x0000aaab01c05398> -> %r1
 108  setfield_gc_i %r1, %i0, FieldDescr<pypy.objspace.std.intobject.W_IntObject.inst_intval>
 113  ref_return %r1
 115  ---
 115  L7:
 115  goto_if_exception_mismatch $<* struct object_vtable>, L8
 119  last_exc_value -> %r1
 121  getfield_gc_i %r1, FieldDescr<exceptions.EnvironmentError.inst_errno> -> %i0
 126  -live- %i0, %r1
 129  goto_if_not_int_eq %i0, $11, L9
 134  ref_return $<* struct pypy.interpreter.baseobjspace.W_Root>
 136  ---
 136  L9:
 136  inline_call_r_r <JitCode 'wrap_oserror2__exceptions_IOError'>, R[%r1, $<* struct pypy.interpreter.baseobjspace.W_Root>, $<* struct pypy.objspace.std.typeobject.W_TypeObject>] -> %r1
 144  -live- %r1
 147  assert_not_none %r1
 149  -live- %r1
 152  guard_class %r1 -> %i0
 155  -live- %r1
 158  raise %r1
 160  ---
 160  L8:
 160  reraise
 161  ---
 161  L4:
 161  -live-
 164  raise $<* struct object>
 166  ---
 166  L5:
 166  -live- %i0, %r0, %r1
 169  ref_copy %r1 -> %r2
 172  getfield_raw_i %i0, FieldDescr<rpython.rlib.buffer.Buffer_vtable.cls_getlength> -> %i0
 177  -live- %i0, %r0, %r1, %r2
 180  int_guard_value %i0
 182  residual_call_r_i %i0, <IndirectCallTargets>, R[%r1], <CallDescr(r) EF=5> -> %i0
 189  -live- %i0, %r0, %r1, %r2
 192  guard_class %r2 -> %i1
 195  getfield_raw_i %i1, FieldDescr<rpython.rlib.buffer.Buffer_vtable.cls_getslice> -> %i1
 200  -live- %i0, %i1, %r0, %r1
 203  int_guard_value %i1
 205  residual_call_ir_r %i1, <IndirectCallTargets>, I[$0, $1, %i0], R[%r1], <CallDescr(riii) EF=7> -> %r1
 216  -live- %r0, %r1
 219  goto L6
 222  ---
 222  L2:
 222  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x0000aaab00389e50> -> %r1
 226  setfield_gc_r %r1, $<* struct rpy_string>, FieldDescr<pypy.interpreter.error.OpErrFmtNoArgs.inst__value>
 231  setfield_gc_r %r1, $<* struct pypy.interpreter.baseobjspace.W_Root>, FieldDescr<pypy.interpreter.error.OperationError.inst_w_type>
 236  assert_not_none %r1
 238  -live- %r1
 241  raise %r1
