   0  -live- %r0, %r1
   0  guard_class %r1 -> %i0
   3  getfield_raw_i %i0, FieldDescr<pypy.interpreter.baseobjspace.W_Root_vtable.cls_unicode_w> -> %i0
   8  -live- %i0, %r0, %r1
   8  switch %i0, <SwitchDictDescr 0:L1, 1:L2, 2:L3>
  12  unreachable
  13  ---
  13  L1:
  13  -live- %r1
  13  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>, %r1] -> %r1
  22  -live- %r1
  22  assert_not_none %r1
  24  -live- %r1
  24  guard_class %r1 -> %i0
  27  -live- %r1
  27  raise %r1
  29  ---
  29  L2:
  29  -live- %r0, %r1
  29  getfield_gc_r_pure %r1, FieldDescr<pypy.objspace.std.unicodeobject.W_UnicodeObject.inst__value> -> %r1
  34  L4:
  34  unicodelen %r1 -> %i0
  37  -live- %i0, %r0, %r1
  37  goto_if_not_int_eq %i0, $1, L5
  42  unicodegetitem %r1, $0 -> %i0
  46  int_return %i0
  48  ---
  48  L5:
  48  unicodelen %r1 -> %i0
  51  getfield_gc_r_pure %r0, FieldDescr<pypy.module._cffi_backend.ctypeobj.W_CType.inst_name> -> %r1
  56  inline_call_ir_r <JitCode 'oefmt__cannot_cast_unicode_string_of_length__d_to_ctype___s__star_2'>, I[%i0], R[$<* struct pypy.objspace.std.typeobject.W_TypeObject>, $<* struct rpy_string>, %r1] -> %r1
  66  -live- %r1
  66  assert_not_none %r1
  68  -live- %r1
  68  guard_class %r1 -> %i0
  71  -live- %r1
  71  raise %r1
  73  ---
  73  L3:
  73  -live- %r0, %r1
  73  inline_call_r_r <JitCode 'W_AbstractBytesObject.unicode_w'>, R[%r1] -> %r1
  79  -live- %r0, %r1
  79  goto L4
