#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */
typedef unsigned long utf8;

/* Variables and functions */
int utf8_to_string(unsigned char buf[], unsigned long utf8) {
  unsigned long val = 0;
  static char hex[16] = "0123456789abcdef";
  if (utf8 & 0x80UL) {
    unsigned long x1, x2, x3, x4;
    x1 = (utf8 >> 24) & 0x7fUL;
    x2 = (utf8 >> 16) & 0x7fUL;
    x3 = (utf8 >> 8) & 0x7fUL;
    x4 = (utf8)&0x3fUL;
    x1 &= 0x07UL;
    if (x2 & 0x40UL)
      x2 &= 0x0fUL;
    if (x3 & 0x40UL)
      x3 &= 0x1fUL;
    val = x4 | (x3 << 6) | (x2 << 12) | (x1 << 16);
  } else
    val = utf8;
  if (val < 128) {
    buf[0] = val;
    buf[1] = 0;
    return 1;
  } else if (val < 0xffffUL) {
    buf[0] = '\\';
    buf[1] = 'u';
    buf[2] = hex[(size_t)(val >> 12)];
    buf[3] = hex[(size_t)((val >> 8) & 0xfU)];
    buf[4] = hex[(size_t)((val >> 4) & 0xfU)];
    buf[5] = hex[(size_t)(val & 0xfU)];
    buf[6] = 0;
    return 6;
  }
  buf[0] = '\\';
  buf[1] = 'U';
  buf[2] = '0';
  buf[3] = '0';
  buf[4] = hex[(size_t)(val >> 20)];
  buf[5] = hex[(size_t)((val >> 16) & 0xfU)];
  buf[6] = hex[(size_t)((val >> 12) & 0xfU)];
  buf[7] = hex[(size_t)((val >> 8) & 0xfU)];
  buf[8] = hex[(size_t)((val >> 4) & 0xfU)];
  buf[9] = hex[(size_t)(val & 0xfU)];
  buf[10] = 0;
  return 10;
}


x86 assembly (clang, -O0):
<utf8_to_string>:
push   %rbp
mov    %rsp,%rbp
mov    %rdi,-0x10(%rbp)
mov    %rsi,-0x18(%rbp)
movq   $0x0,-0x20(%rbp)
mov    -0x18(%rbp),%rax
and    $0x80,%rax
cmp    $0x0,%rax
je     11da <utf8_to_string+0xda>
mov    -0x18(%rbp),%rax
shr    $0x18,%rax
and    $0x7f,%rax
mov    %rax,-0x28(%rbp)
mov    -0x18(%rbp),%rax
shr    $0x10,%rax
and    $0x7f,%rax
mov    %rax,-0x30(%rbp)
mov    -0x18(%rbp),%rax
shr    $0x8,%rax
and    $0x7f,%rax
mov    %rax,-0x38(%rbp)
mov    -0x18(%rbp),%rax
and    $0x3f,%rax
mov    %rax,-0x40(%rbp)
mov    -0x28(%rbp),%rax
and    $0x7,%rax
mov    %rax,-0x28(%rbp)
mov    -0x30(%rbp),%rax
and    $0x40,%rax
cmp    $0x0,%rax
je     118e <utf8_to_string+0x8e>
mov    -0x30(%rbp),%rax
and    $0xf,%rax
mov    %rax,-0x30(%rbp)
mov    -0x38(%rbp),%rax
and    $0x40,%rax
cmp    $0x0,%rax
je     11ac <utf8_to_string+0xac>
mov    -0x38(%rbp),%rax
and    $0x1f,%rax
mov    %rax,-0x38(%rbp)
mov    -0x40(%rbp),%rax
mov    -0x38(%rbp),%rcx
shl    $0x6,%rcx
or     %rcx,%rax
mov    -0x30(%rbp),%rcx
shl    $0xc,%rcx
or     %rcx,%rax
mov    -0x28(%rbp),%rcx
shl    $0x10,%rcx
or     %rcx,%rax
mov    %rax,-0x20(%rbp)
jmp    11e2 <utf8_to_string+0xe2>
mov    -0x18(%rbp),%rax
mov    %rax,-0x20(%rbp)
cmpq   $0x80,-0x20(%rbp)
jae    1210 <utf8_to_string+0x110>
mov    -0x20(%rbp),%rax
mov    %al,%cl
mov    -0x10(%rbp),%rax
mov    %cl,(%rax)
mov    -0x10(%rbp),%rax
movb   $0x0,0x1(%rax)
movl   $0x1,-0x4(%rbp)
jmp    1386 <utf8_to_string+0x286>
cmpq   $0xffff,-0x20(%rbp)
jae    12ad <utf8_to_string+0x1ad>
mov    -0x10(%rbp),%rax
movb   $0x5c,(%rax)
mov    -0x10(%rbp),%rax
movb   $0x75,0x1(%rax)
mov    -0x20(%rbp),%rcx
shr    $0xc,%rcx
lea    0x2df4(%rip),%rax
mov    (%rax,%rcx,1),%cl
mov    -0x10(%rbp),%rax
mov    %cl,0x2(%rax)
mov    -0x20(%rbp),%rcx
shr    $0x8,%rcx
and    $0xf,%rcx
lea    0x2dd7(%rip),%rax
mov    (%rax,%rcx,1),%cl
mov    -0x10(%rbp),%rax
mov    %cl,0x3(%rax)
mov    -0x20(%rbp),%rcx
shr    $0x4,%rcx
and    $0xf,%rcx
lea    0x2dba(%rip),%rax
mov    (%rax,%rcx,1),%cl
mov    -0x10(%rbp),%rax
mov    %cl,0x4(%rax)
mov    -0x20(%rbp),%rcx
and    $0xf,%rcx
lea    0x2da1(%rip),%rax
mov    (%rax,%rcx,1),%cl
mov    -0x10(%rbp),%rax
mov    %cl,0x5(%rax)
mov    -0x10(%rbp),%rax
movb   $0x0,0x6(%rax)
movl   $0x6,-0x4(%rbp)
jmp    1386 <utf8_to_string+0x286>
jmp    12b2 <utf8_to_string+0x1b2>
mov    -0x10(%rbp),%rax
movb   $0x5c,(%rax)
mov    -0x10(%rbp),%rax
movb   $0x55,0x1(%rax)
mov    -0x10(%rbp),%rax
movb   $0x30,0x2(%rax)
mov    -0x10(%rbp),%rax
movb   $0x30,0x3(%rax)
mov    -0x20(%rbp),%rcx
shr    $0x14,%rcx
lea    0x2d50(%rip),%rax
mov    (%rax,%rcx,1),%cl
mov    -0x10(%rbp),%rax
mov    %cl,0x4(%rax)
mov    -0x20(%rbp),%rcx
shr    $0x10,%rcx
and    $0xf,%rcx
lea    0x2d33(%rip),%rax
mov    (%rax,%rcx,1),%cl
mov    -0x10(%rbp),%rax
mov    %cl,0x5(%rax)
mov    -0x20(%rbp),%rcx
shr    $0xc,%rcx
and    $0xf,%rcx
lea    0x2d16(%rip),%rax
mov    (%rax,%rcx,1),%cl
mov    -0x10(%rbp),%rax
mov    %cl,0x6(%rax)
mov    -0x20(%rbp),%rcx
shr    $0x8,%rcx
and    $0xf,%rcx
lea    0x2cf9(%rip),%rax
mov    (%rax,%rcx,1),%cl
mov    -0x10(%rbp),%rax
mov    %cl,0x7(%rax)
mov    -0x20(%rbp),%rcx
shr    $0x4,%rcx
and    $0xf,%rcx
lea    0x2cdc(%rip),%rax
mov    (%rax,%rcx,1),%cl
mov    -0x10(%rbp),%rax
mov    %cl,0x8(%rax)
mov    -0x20(%rbp),%rcx
and    $0xf,%rcx
lea    0x2cc3(%rip),%rax
mov    (%rax,%rcx,1),%cl
mov    -0x10(%rbp),%rax
mov    %cl,0x9(%rax)
mov    -0x10(%rbp),%rax
movb   $0x0,0xa(%rax)
movl   $0xa,-0x4(%rbp)
mov    -0x4(%rbp),%eax
pop    %rbp
ret

x86 assembly (clang, -O2):
<utf8_to_string>:
test   $0x80,%sil
je     115c <utf8_to_string+0x5c>
mov    %rsi,%rcx
shr    $0x10,%rcx
mov    %rsi,%rax
shr    $0x8,%rax
mov    %esi,%r9d
and    $0x3f,%r9d
test   $0x400000,%esi
mov    $0x7f,%r8d
mov    $0xf,%edx
cmove  %r8d,%edx
and    %edx,%ecx
test   $0x4000,%esi
mov    $0x1f,%edx
cmove  %r8d,%edx
and    %eax,%edx
shl    $0x6,%rdx
or     %r9,%rdx
shl    $0xc,%rcx
and    $0x70000,%eax
or     %rcx,%rax
or     %rdx,%rax
mov    %rax,%rsi
cmp    $0x7f,%rsi
ja     1174 <utf8_to_string+0x74>
mov    %sil,(%rdi)
mov    $0x1,%eax
mov    $0x1,%ecx
movb   $0x0,(%rdi,%rcx,1)
ret
movb   $0x5c,(%rdi)
cmp    $0xfffe,%rsi
ja     11cc <utf8_to_string+0xcc>
movb   $0x75,0x1(%rdi)
mov    %rsi,%rax
shr    $0xc,%rax
lea    0xe6e(%rip),%rcx
mov    (%rax,%rcx,1),%al
mov    %al,0x2(%rdi)
mov    %esi,%eax
shr    $0x8,%eax
and    $0xf,%eax
mov    (%rax,%rcx,1),%al
mov    %al,0x3(%rdi)
mov    %esi,%eax
shr    $0x4,%eax
and    $0xf,%eax
mov    (%rax,%rcx,1),%al
mov    %al,0x4(%rdi)
and    $0xf,%esi
mov    (%rsi,%rcx,1),%al
mov    %al,0x5(%rdi)
mov    $0x6,%eax
mov    $0x6,%ecx
movb   $0x0,(%rdi,%rcx,1)
ret
movw   $0x3055,0x1(%rdi)
movb   $0x30,0x3(%rdi)
mov    %rsi,%rcx
shr    $0x14,%rcx
lea    0xe1c(%rip),%rax
mov    (%rcx,%rax,1),%cl
mov    %cl,0x4(%rdi)
mov    %esi,%ecx
shr    $0x10,%ecx
and    $0xf,%ecx
mov    (%rcx,%rax,1),%cl
mov    %cl,0x5(%rdi)
mov    %esi,%ecx
shr    $0xc,%ecx
and    $0xf,%ecx
mov    (%rcx,%rax,1),%cl
mov    %cl,0x6(%rdi)
mov    %esi,%ecx
shr    $0x8,%ecx
and    $0xf,%ecx
mov    (%rcx,%rax,1),%cl
mov    %cl,0x7(%rdi)
mov    %esi,%ecx
shr    $0x4,%ecx
and    $0xf,%ecx
mov    (%rcx,%rax,1),%cl
mov    %cl,0x8(%rdi)
and    $0xf,%esi
mov    (%rsi,%rax,1),%al
mov    %al,0x9(%rdi)
mov    $0xa,%eax
mov    $0xa,%ecx
movb   $0x0,(%rdi,%rcx,1)
ret

LLVM IR (-O0):
@utf8_to_string.hex = internal global [16 x i8] c"0123456789abcdef"
define i32 @utf8_to_string(i8* %0, i64 %1) {
%3 = alloca i32
%4 = alloca i8*
%5 = alloca i64
%6 = alloca i64
%7 = alloca i64
%8 = alloca i64
%9 = alloca i64
%10 = alloca i64
store i8* %0, i8** %4
store i64 %1, i64* %5
store i64 0, i64* %6
%11 = load i64, i64* %5
%12 = and i64 %11, 128
%13 = icmp ne i64 %12, 0
br i1 %13, label %14, label %52
14: ; preds = %2
%15 = load i64, i64* %5
%16 = lshr i64 %15, 24
%17 = and i64 %16, 127
store i64 %17, i64* %7
%18 = load i64, i64* %5
%19 = lshr i64 %18, 16
%20 = and i64 %19, 127
store i64 %20, i64* %8
%21 = load i64, i64* %5
%22 = lshr i64 %21, 8
%23 = and i64 %22, 127
store i64 %23, i64* %9
%24 = load i64, i64* %5
%25 = and i64 %24, 63
store i64 %25, i64* %10
%26 = load i64, i64* %7
%27 = and i64 %26, 7
store i64 %27, i64* %7
%28 = load i64, i64* %8
%29 = and i64 %28, 64
%30 = icmp ne i64 %29, 0
br i1 %30, label %31, label %34
31: ; preds = %14
%32 = load i64, i64* %8
%33 = and i64 %32, 15
store i64 %33, i64* %8
br label %34
34: ; preds = %31, %14
%35 = load i64, i64* %9
%36 = and i64 %35, 64
%37 = icmp ne i64 %36, 0
br i1 %37, label %38, label %41
38: ; preds = %34
%39 = load i64, i64* %9
%40 = and i64 %39, 31
store i64 %40, i64* %9
br label %41
41: ; preds = %38, %34
%42 = load i64, i64* %10
%43 = load i64, i64* %9
%44 = shl i64 %43, 6
%45 = or i64 %42, %44
%46 = load i64, i64* %8
%47 = shl i64 %46, 12
%48 = or i64 %45, %47
%49 = load i64, i64* %7
%50 = shl i64 %49, 16
%51 = or i64 %48, %50
store i64 %51, i64* %6
br label %54
52: ; preds = %2
%53 = load i64, i64* %5
store i64 %53, i64* %6
br label %54
54: ; preds = %52, %41
%55 = load i64, i64* %6
%56 = icmp ult i64 %55, 128
br i1 %56, label %57, label %64
57: ; preds = %54
%58 = load i64, i64* %6
%59 = trunc i64 %58 to i8
%60 = load i8*, i8** %4
%61 = getelementptr inbounds i8, i8* %60, i64 0
store i8 %59, i8* %61
%62 = load i8*, i8** %4
%63 = getelementptr inbounds i8, i8* %62, i64 1
store i8 0, i8* %63
store i32 1, i32* %3
br label %152
64: ; preds = %54
%65 = load i64, i64* %6
%66 = icmp ult i64 %65, 65535
br i1 %66, label %67, label %100
67: ; preds = %64
%68 = load i8*, i8** %4
%69 = getelementptr inbounds i8, i8* %68, i64 0
store i8 92, i8* %69
%70 = load i8*, i8** %4
%71 = getelementptr inbounds i8, i8* %70, i64 1
store i8 117, i8* %71
%72 = load i64, i64* %6
%73 = lshr i64 %72, 12
%74 = getelementptr inbounds [16 x i8], [16 x i8]* @utf8_to_string.hex, i64 0, i64 %73
%75 = load i8, i8* %74
%76 = load i8*, i8** %4
%77 = getelementptr inbounds i8, i8* %76, i64 2
store i8 %75, i8* %77
%78 = load i64, i64* %6
%79 = lshr i64 %78, 8
%80 = and i64 %79, 15
%81 = getelementptr inbounds [16 x i8], [16 x i8]* @utf8_to_string.hex, i64 0, i64 %80
%82 = load i8, i8* %81
%83 = load i8*, i8** %4
%84 = getelementptr inbounds i8, i8* %83, i64 3
store i8 %82, i8* %84
%85 = load i64, i64* %6
%86 = lshr i64 %85, 4
%87 = and i64 %86, 15
%88 = getelementptr inbounds [16 x i8], [16 x i8]* @utf8_to_string.hex, i64 0, i64 %87
%89 = load i8, i8* %88
%90 = load i8*, i8** %4
%91 = getelementptr inbounds i8, i8* %90, i64 4
store i8 %89, i8* %91
%92 = load i64, i64* %6
%93 = and i64 %92, 15
%94 = getelementptr inbounds [16 x i8], [16 x i8]* @utf8_to_string.hex, i64 0, i64 %93
%95 = load i8, i8* %94
%96 = load i8*, i8** %4
%97 = getelementptr inbounds i8, i8* %96, i64 5
store i8 %95, i8* %97
%98 = load i8*, i8** %4
%99 = getelementptr inbounds i8, i8* %98, i64 6
store i8 0, i8* %99
store i32 6, i32* %3
br label %152
100: ; preds = %64
br label %101
101: ; preds = %100
%102 = load i8*, i8** %4
%103 = getelementptr inbounds i8, i8* %102, i64 0
store i8 92, i8* %103
%104 = load i8*, i8** %4
%105 = getelementptr inbounds i8, i8* %104, i64 1
store i8 85, i8* %105
%106 = load i8*, i8** %4
%107 = getelementptr inbounds i8, i8* %106, i64 2
store i8 48, i8* %107
%108 = load i8*, i8** %4
%109 = getelementptr inbounds i8, i8* %108, i64 3
store i8 48, i8* %109
%110 = load i64, i64* %6
%111 = lshr i64 %110, 20
%112 = getelementptr inbounds [16 x i8], [16 x i8]* @utf8_to_string.hex, i64 0, i64 %111
%113 = load i8, i8* %112
%114 = load i8*, i8** %4
%115 = getelementptr inbounds i8, i8* %114, i64 4
store i8 %113, i8* %115
%116 = load i64, i64* %6
%117 = lshr i64 %116, 16
%118 = and i64 %117, 15
%119 = getelementptr inbounds [16 x i8], [16 x i8]* @utf8_to_string.hex, i64 0, i64 %118
%120 = load i8, i8* %119
%121 = load i8*, i8** %4
%122 = getelementptr inbounds i8, i8* %121, i64 5
store i8 %120, i8* %122
%123 = load i64, i64* %6
%124 = lshr i64 %123, 12
%125 = and i64 %124, 15
%126 = getelementptr inbounds [16 x i8], [16 x i8]* @utf8_to_string.hex, i64 0, i64 %125
%127 = load i8, i8* %126
%128 = load i8*, i8** %4
%129 = getelementptr inbounds i8, i8* %128, i64 6
store i8 %127, i8* %129
%130 = load i64, i64* %6
%131 = lshr i64 %130, 8
%132 = and i64 %131, 15
%133 = getelementptr inbounds [16 x i8], [16 x i8]* @utf8_to_string.hex, i64 0, i64 %132
%134 = load i8, i8* %133
%135 = load i8*, i8** %4
%136 = getelementptr inbounds i8, i8* %135, i64 7
store i8 %134, i8* %136
%137 = load i64, i64* %6
%138 = lshr i64 %137, 4
%139 = and i64 %138, 15
%140 = getelementptr inbounds [16 x i8], [16 x i8]* @utf8_to_string.hex, i64 0, i64 %139
%141 = load i8, i8* %140
%142 = load i8*, i8** %4
%143 = getelementptr inbounds i8, i8* %142, i64 8
store i8 %141, i8* %143
%144 = load i64, i64* %6
%145 = and i64 %144, 15
%146 = getelementptr inbounds [16 x i8], [16 x i8]* @utf8_to_string.hex, i64 0, i64 %145
%147 = load i8, i8* %146
%148 = load i8*, i8** %4
%149 = getelementptr inbounds i8, i8* %148, i64 9
store i8 %147, i8* %149
%150 = load i8*, i8** %4
%151 = getelementptr inbounds i8, i8* %150, i64 10
store i8 0, i8* %151
store i32 10, i32* %3
br label %152
152: ; preds = %101, %67, %57
%153 = load i32, i32* %3
ret i32 %153
}

LLVM IR (-O2):
@utf8_to_string.hex = internal unnamed_addr constant [16 x i8] c"0123456789abcdef"
define i32 @utf8_to_string(i8* nocapture writeonly %0, i64 %1) {
%3 = and i64 %1, 128
%4 = icmp eq i64 %3, 0
br i1 %4, label %23, label %5
5: ; preds = %2
%6 = lshr i64 %1, 16
%7 = lshr i64 %1, 8
%8 = and i64 %1, 63
%9 = and i64 %1, 4194304
%10 = icmp eq i64 %9, 0
%11 = select i1 %10, i64 127, i64 15
%12 = and i64 %11, %6
%13 = and i64 %1, 16384
%14 = icmp eq i64 %13, 0
%15 = select i1 %14, i64 127, i64 31
%16 = and i64 %15, %7
%17 = shl nuw nsw i64 %16, 6
%18 = or i64 %17, %8
%19 = shl nuw nsw i64 %12, 12
%20 = and i64 %7, 458752
%21 = or i64 %19, %20
%22 = or i64 %21, %18
br label %23
23: ; preds = %2, %5
%24 = phi i64 [ %22, %5 ], [ %1, %2 ]
%25 = icmp ult i64 %24, 128
br i1 %25, label %26, label %28
26: ; preds = %23
%27 = trunc i64 %24 to i8
store i8 %27, i8* %0
br label %81
28: ; preds = %23
%29 = icmp ult i64 %24, 65535
store i8 92, i8* %0
%30 = getelementptr inbounds i8, i8* %0, i64 1
br i1 %29, label %31, label %50
31: ; preds = %28
store i8 117, i8* %30
%32 = lshr i64 %24, 12
%33 = getelementptr inbounds [16 x i8], [16 x i8]* @utf8_to_string.hex, i64 0, i64 %32
%34 = load i8, i8* %33
%35 = getelementptr inbounds i8, i8* %0, i64 2
store i8 %34, i8* %35
%36 = lshr i64 %24, 8
%37 = and i64 %36, 15
%38 = getelementptr inbounds [16 x i8], [16 x i8]* @utf8_to_string.hex, i64 0, i64 %37
%39 = load i8, i8* %38
%40 = getelementptr inbounds i8, i8* %0, i64 3
store i8 %39, i8* %40
%41 = lshr i64 %24, 4
%42 = and i64 %41, 15
%43 = getelementptr inbounds [16 x i8], [16 x i8]* @utf8_to_string.hex, i64 0, i64 %42
%44 = load i8, i8* %43
%45 = getelementptr inbounds i8, i8* %0, i64 4
store i8 %44, i8* %45
%46 = and i64 %24, 15
%47 = getelementptr inbounds [16 x i8], [16 x i8]* @utf8_to_string.hex, i64 0, i64 %46
%48 = load i8, i8* %47
%49 = getelementptr inbounds i8, i8* %0, i64 5
store i8 %48, i8* %49
br label %81
50: ; preds = %28
store i8 85, i8* %30
%51 = getelementptr inbounds i8, i8* %0, i64 2
store i8 48, i8* %51
%52 = getelementptr inbounds i8, i8* %0, i64 3
store i8 48, i8* %52
%53 = lshr i64 %24, 20
%54 = getelementptr inbounds [16 x i8], [16 x i8]* @utf8_to_string.hex, i64 0, i64 %53
%55 = load i8, i8* %54
%56 = getelementptr inbounds i8, i8* %0, i64 4
store i8 %55, i8* %56
%57 = lshr i64 %24, 16
%58 = and i64 %57, 15
%59 = getelementptr inbounds [16 x i8], [16 x i8]* @utf8_to_string.hex, i64 0, i64 %58
%60 = load i8, i8* %59
%61 = getelementptr inbounds i8, i8* %0, i64 5
store i8 %60, i8* %61
%62 = lshr i64 %24, 12
%63 = and i64 %62, 15
%64 = getelementptr inbounds [16 x i8], [16 x i8]* @utf8_to_string.hex, i64 0, i64 %63
%65 = load i8, i8* %64
%66 = getelementptr inbounds i8, i8* %0, i64 6
store i8 %65, i8* %66
%67 = lshr i64 %24, 8
%68 = and i64 %67, 15
%69 = getelementptr inbounds [16 x i8], [16 x i8]* @utf8_to_string.hex, i64 0, i64 %68
%70 = load i8, i8* %69
%71 = getelementptr inbounds i8, i8* %0, i64 7
store i8 %70, i8* %71
%72 = lshr i64 %24, 4
%73 = and i64 %72, 15
%74 = getelementptr inbounds [16 x i8], [16 x i8]* @utf8_to_string.hex, i64 0, i64 %73
%75 = load i8, i8* %74
%76 = getelementptr inbounds i8, i8* %0, i64 8
store i8 %75, i8* %76
%77 = and i64 %24, 15
%78 = getelementptr inbounds [16 x i8], [16 x i8]* @utf8_to_string.hex, i64 0, i64 %77
%79 = load i8, i8* %78
%80 = getelementptr inbounds i8, i8* %0, i64 9
store i8 %79, i8* %80
br label %81
81: ; preds = %50, %31, %26
%82 = phi i64 [ 10, %50 ], [ 6, %31 ], [ 1, %26 ]
%83 = phi i32 [ 10, %50 ], [ 6, %31 ], [ 1, %26 ]
%84 = getelementptr inbounds i8, i8* %0, i64 %82
store i8 0, i8* %84
ret i32 %83
}