   0  -live- %i0, %i1, %i2, %r0, %r1, %r2
   3  goto_if_not_ptr_nonzero %r2, L1
   7  ref_copy %r2 -> %r3
  10  -live- %i0, %i1, %i2, %r0, %r1, %r2, %r3
  13  guard_class %r3 -> %i3
  16  -live- %i0, %i1, %i2, %i3, %r0, %r1, %r2
  19  goto_if_not_int_eq %i3, $<* struct object_vtable>, L2
  24  getfield_gc_i_pure %r2, FieldDescr<pypy.objspace.std.unicodeobject.W_UnicodeObject.inst__length> -> %i5
  29  getfield_gc_r_pure %r2, FieldDescr<pypy.objspace.std.unicodeobject.W_UnicodeObject.inst__utf8> -> %r3
  34  strlen %r3 -> %i4
  37  -live- %i0, %i1, %i2, %i3, %i4, %i5, %r0, %r1, %r2, %r3
  40  goto_if_not_int_eq %i5, %i4, L3
  45  ref_copy %r2 -> %r4
  48  getfield_raw_i %i3, FieldDescr<pypy.interpreter.baseobjspace.W_Root_vtable.cls_utf8_w> -> %i3
  53  -live- %i0, %i1, %i2, %i3, %i5, %r0, %r1, %r2, %r3, %r4
  56  switch %i3, <SwitchDictDescr 0:L4, 1:L5, 2:L6>
  60  unreachable
  61  ---
  61  L4:
  61  -live- %i0, %i1, %i2, %i5, %r0, %r1, %r3, %r4
  64  record_known_result_i_ir_v %i5, $<* fn _check_utf8>, I[$True, $0, $-1], R[%r3], <CallDescr(riii) EF=4>
  75  -live- %i0, %i1, %i2, %r0, %r1, %r4
  78  getfield_gc_r_pure %r4, FieldDescr<pypy.objspace.std.unicodeobject.W_UnicodeObject.inst__utf8> -> %r3
  83  L7:
  83  residual_call_ir_i $<* fn AsciiListStrategy._safe_find_or_count>, I[%i0, %i1, %i2], R[%r0, %r1, %r3], <CallDescr(rrriii) EF=5> -> %i3
  96  -live- %i3
  99  int_return %i3
 101  ---
 101  L5:
 101  -live- %i0, %i1, %i2, %r0, %r1, %r2
 104  getfield_gc_r_pure %r2, FieldDescr<pypy.objspace.std.bytesobject.W_BytesObject.inst__value> -> %r3
 109  goto L7
 112  ---
 112  L6:
 112  -live- %r2
 115  inline_call_r_r <JitCode 'oefmt__expected__s__got__T_object_star_2'>, R[$<* struct pypy.objspace.std.typeobject.W_TypeObject>, $<* struct rpy_string>, $<* struct rpy_string>, %r2] -> %r3
 124  -live- %r3
 127  assert_not_none %r3
 129  -live- %r3
 132  guard_class %r3 -> %i3
 135  -live- %r3
 138  raise %r3
 140  ---
 140  L3:
 140  L8:
 140  inline_call_ir_i <JitCode 'ListStrategy.find_or_count'>, I[%i0, %i1, %i2], R[%r0, %r1, %r2] -> %i3
 152  -live- %i3
 155  int_return %i3
 157  ---
 157  L2:
 157  goto L8
 160  ---
 160  L1:
 160  goto L8
