   0  -live- %r0, %r1, %r2
   0  goto_if_not_ptr_iszero %r2, L1
   4  L2:
   4  -live- %r0, %r1, %r2
   4  goto_if_not_ptr_iszero %r1, L3
   8  -live- %r0, %r2
   8  record_quasiimmut_field $<* struct pypy.module.sys.moduledef.Module>, FieldDescr<pypy.module.sys.moduledef.Module.inst_defaultencoding>, FieldDescr<pypy.module.sys.moduledef.Module.mutate_defaultencoding>
  14  getfield_gc_r_pure $<* struct pypy.module.sys.moduledef.Module>, FieldDescr<pypy.module.sys.moduledef.Module.inst_defaultencoding> -> %r1
  19  residual_call_r_i $<* fn ll_streq__rpy_stringPtr_rpy_stringPtr>, R[%r1, $<* struct rpy_string>], <CallDescr(rr) EF=0 OS_STR_EQUAL> -> %i0
  27  -live- %i0, %r0, %r2
  27  goto_if_not %i0, L4
  31  L5:
  31  -live- %r0
  31  guard_class %r0 -> %i0
  34  getfield_raw_i %i0, FieldDescr<pypy.interpreter.baseobjspace.W_Root_vtable.cls_utf8_w> -> %i0
  39  -live- %i0, %r0
  39  switch %i0, <SwitchDictDescr 0:L6, 1:L7, 2:L8>
  43  unreachable
  44  ---
  44  L6:
  44  -live- %r0
  44  getfield_gc_r_pure %r0, FieldDescr<pypy.objspace.std.unicodeobject.W_UnicodeObject.inst__utf8> -> %r2
  49  L9:
  49  inline_call_r_v <JitCode 'check_ascii'>, R[%r2]
  54  -live- %r0, %r2
  54  catch_exception L10
  57  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x00000000a90adec0> -> %r1
  61  setfield_gc_r %r1, %r2, FieldDescr<pypy.objspace.std.bytesobject.W_BytesObject.inst__value>
  66  ref_return %r1
  68  ---
  68  L10:
  68  goto_if_exception_mismatch $<* struct object_vtable>, L11
  72  last_exc_value -> %r1
  74  -live- %r0, %r1, %r2
  74  guard_class %r0 -> %i0
  77  getfield_raw_i %i0, FieldDescr<object_vtable.subclassrange_min> -> %i0
  82  int_between $TotalOrderSymbolic('compute_fn'), %i0, $TotalOrderSymbolic('compute_fn') -> %i0
  87  -live- %i0, %r0, %r1, %r2
  87  goto_if_not %i0, L12
  91  int_copy $'\x00' -> %i0
  94  L13:
  94  getfield_gc_i %r1, FieldDescr<rpython.rlib.rutf8.CheckError.inst_pos> -> %i1
  99  int_add %i1, $1 -> %i2
 103  -live- %i0, %i1, %i2, %r2
 103  switch %i0, <SwitchDictDescr 0:L14, 1:L15>
 107  unreachable
 108  ---
 108  L14:
 108  -live- %i1, %i2, %r2
 108  inline_call_ir_r <JitCode 'raise_unicode_exception_encode'>, I[%i1, %i2], R[$<* struct rpy_string>, $<* struct rpy_string>, $<* struct rpy_string>, %r2] -> %r1
 120  -live-
 120  raise $<* struct object>
 122  ---
 122  L15:
 122  -live- %i1, %i2, %r2
 122  inline_call_ir_r <JitCode 'raise_unicode_exception_decode'>, I[%i1, %i2], R[$<* struct rpy_string>, $<* struct rpy_string>, $<* struct rpy_string>, %r2] -> %r1
 134  -live-
 134  raise $<* struct object>
 136  ---
 136  L12:
 136  -live- %r0, %r1, %r2
 136  guard_class %r0 -> %i0
 139  -live- %i0, %r0, %r1, %r2
 139  int_guard_value %i0
 141  -live- %r0, %r1, %r2
 141  guard_class %r0 -> %i0
 144  getfield_raw_i %i0, FieldDescr<pypy.interpreter.baseobjspace.W_Root_vtable.cls_getclass> -> %i0
 149  getfield_raw_i %i0, FieldDescr<specfunc.variant0> -> %i0
 154  -live- %i0, %r0, %r1, %r2
 154  int_guard_value %i0
 156  residual_call_r_r %i0, <IndirectCallTargets>, R[%r0], <CallDescr(r) EF=2> -> %r0
 163  -live- %r0, %r1, %r2
 163  inline_call_r_i <JitCode 'W_TypeObject.issubtype'>, R[%r0, $<* struct pypy.objspace.std.typeobject.W_TypeObject>] -> %i0
 170  -live- %i0, %r1, %r2
 170  -live- %i0, %r1, %r2
 170  goto_if_not %i0, L16
 174  int_copy $'\x00' -> %i0
 177  goto L13
 180  ---
 180  L16:
 180  int_copy $'\x01' -> %i0
 183  goto L13
 186  ---
 186  L11:
 186  reraise
 187  ---
 187  L7:
 187  -live- %r0
 187  getfield_gc_r_pure %r0, FieldDescr<pypy.objspace.std.bytesobject.W_BytesObject.inst__value> -> %r2
 192  goto L9
 195  ---
 195  L8:
 195  -live- %r0
 195  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>, %r0] -> %r1
 204  -live- %r1
 204  assert_not_none %r1
 206  -live- %r1
 206  guard_class %r1 -> %i0
 209  -live- %r1
 209  raise %r1
 211  ---
 211  L4:
 211  ref_copy $<* struct rpy_string> -> %r1
 214  L17:
 214  residual_call_r_i $<* fn ll_streq__rpy_stringPtr_rpy_stringPtr>, R[%r1, $<* struct rpy_string>], <CallDescr(rr) EF=0 OS_STR_EQUAL> -> %i0
 222  -live- %i0, %r0, %r1, %r2
 222  goto_if_not %i0, L18
 226  goto L5
 229  ---
 229  L18:
 229  -live- %r0, %r1, %r2
 229  goto_if_not_ptr_iszero %r1, L19
 233  -live- %r0, %r2
 233  record_quasiimmut_field $<* struct pypy.module.sys.moduledef.Module>, FieldDescr<pypy.module.sys.moduledef.Module.inst_defaultencoding>, FieldDescr<pypy.module.sys.moduledef.Module.mutate_defaultencoding>
 239  getfield_gc_r_pure $<* struct pypy.module.sys.moduledef.Module>, FieldDescr<pypy.module.sys.moduledef.Module.inst_defaultencoding> -> %r1
 244  residual_call_r_i $<* fn ll_streq__rpy_stringPtr_rpy_stringPtr>, R[%r1, $<* struct rpy_string>], <CallDescr(rr) EF=0 OS_STR_EQUAL> -> %i0
 252  -live- %i0, %r0, %r2
 252  goto_if_not %i0, L20
 256  L21:
 256  -live- %r0
 256  guard_class %r0 -> %i0
 259  getfield_raw_i %i0, FieldDescr<pypy.interpreter.baseobjspace.W_Root_vtable.cls_utf8_w> -> %i0
 264  -live- %i0, %r0
 264  switch %i0, <SwitchDictDescr 0:L22, 1:L23, 2:L24>
 268  unreachable
 269  ---
 269  L22:
 269  -live- %r0
 269  getfield_gc_r_pure %r0, FieldDescr<pypy.objspace.std.unicodeobject.W_UnicodeObject.inst__utf8> -> %r2
 274  L25:
 274  residual_call_r_i $<* fn surrogate_in_utf8>, R[%r2], <CallDescr(r) EF=4> -> %i0
 281  -live- %i0, %r2
 281  -live- %i0, %r2
 281  goto_if_not_int_ge %i0, $0, L26
 286  residual_call_r_r $<* fn reencode_utf8_with_surrogates>, R[%r2], <CallDescr(r) EF=5> -> %r2
 293  -live- %r2
 293  L27:
 293  new_with_vtable <rpython.jit.backend.llsupport.descr.SizeDescr object at 0x00000000a90adec0> -> %r1
 297  setfield_gc_r %r1, %r2, FieldDescr<pypy.objspace.std.bytesobject.W_BytesObject.inst__value>
 302  ref_return %r1
 304  ---
 304  L26:
 304  goto L27
 307  ---
 307  L23:
 307  -live- %r0
 307  getfield_gc_r_pure %r0, FieldDescr<pypy.objspace.std.bytesobject.W_BytesObject.inst__value> -> %r2
 312  goto L25
 315  ---
 315  L24:
 315  -live- %r0
 315  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>, %r0] -> %r1
 324  -live- %r1
 324  assert_not_none %r1
 326  -live- %r1
 326  guard_class %r1 -> %i0
 329  -live- %r1
 329  raise %r1
 331  ---
 331  L20:
 331  ref_copy $<* struct rpy_string> -> %r1
 334  L28:
 334  residual_call_r_i $<* fn ll_streq__rpy_stringPtr_rpy_stringPtr>, R[%r1, $<* struct rpy_string>], <CallDescr(rr) EF=0 OS_STR_EQUAL> -> %i0
 342  -live- %i0, %r0, %r1, %r2
 342  goto_if_not %i0, L29
 346  goto L21
 349  ---
 349  L29:
 349  residual_call_r_i $<* fn ll_streq__rpy_stringPtr_rpy_stringPtr>, R[%r1, $<* struct rpy_string>], <CallDescr(rr) EF=0 OS_STR_EQUAL> -> %i0
 357  -live- %i0, %r0, %r1, %r2
 357  goto_if_not %i0, L30
 361  goto L21
 364  ---
 364  L30:
 364  residual_call_r_i $<* fn ll_streq__rpy_stringPtr_rpy_stringPtr>, R[%r1, $<* struct rpy_string>], <CallDescr(rr) EF=0 OS_STR_EQUAL> -> %i0
 372  -live- %i0, %r0, %r1, %r2
 372  goto_if_not %i0, L31
 376  goto L21
 379  ---
 379  L31:
 379  L32:
 379  inline_call_r_r <JitCode 'encode'>, R[%r0, %r1, %r2] -> %r1
 387  -live- %r1
 387  ref_return %r1
 389  ---
 389  L19:
 389  goto L28
 392  ---
 392  L3:
 392  goto L17
 395  ---
 395  L1:
 395  residual_call_r_i $<* fn ll_streq__rpy_stringPtr_rpy_stringPtr>, R[%r2, $<* struct rpy_string>], <CallDescr(rr) EF=0 OS_STR_EQUAL> -> %i0
 403  -live- %i0, %r0, %r1, %r2
 403  goto_if_not %i0, L33
 407  goto L2
 410  ---
 410  L33:
 410  goto L32
