#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 */

/* Variables and functions */
int re_log2floor(unsigned int);
void re_escape_utf8(char **sp, unsigned int c) {
  char *s = *sp;
  if (c < 128)
    *s++ = c;
  else {
    int n = re_log2floor((unsigned)c) / 6;
    int m = 6 * n;
    *s++ = (0xff << (7 - n)) + (c >> m);
    while ((m -= 6) >= 0)
      *s++ = 0x80 + ((c >> m) & 0x3F);
  }
  *sp = s;
}


x86 assembly (clang, -O0):
<re_escape_utf8>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    %rdi,-0x8(%rbp)
mov    %esi,-0xc(%rbp)
mov    -0x8(%rbp),%rax
mov    (%rax),%rax
mov    %rax,-0x18(%rbp)
cmpl   $0x80,-0xc(%rbp)
jae    1152 <re_escape_utf8+0x42>
mov    -0xc(%rbp),%eax
mov    %al,%cl
mov    -0x18(%rbp),%rax
mov    %rax,%rdx
add    $0x1,%rdx
mov    %rdx,-0x18(%rbp)
mov    %cl,(%rax)
jmp    11d9 <re_escape_utf8+0xc9>
mov    -0xc(%rbp),%edi
call   1030 <re_log2floor@plt>
mov    $0x6,%ecx
cltd
idiv   %ecx
mov    %eax,-0x1c(%rbp)
imul   $0x6,-0x1c(%rbp),%eax
mov    %eax,-0x20(%rbp)
mov    $0x7,%ecx
sub    -0x1c(%rbp),%ecx
mov    $0xff,%eax
shl    %cl,%eax
mov    -0xc(%rbp),%edx
mov    -0x20(%rbp),%ecx
shr    %cl,%edx
mov    %edx,%ecx
add    %ecx,%eax
mov    %al,%cl
mov    -0x18(%rbp),%rax
mov    %rax,%rdx
add    $0x1,%rdx
mov    %rdx,-0x18(%rbp)
mov    %cl,(%rax)
mov    -0x20(%rbp),%eax
sub    $0x6,%eax
mov    %eax,-0x20(%rbp)
cmp    $0x0,%eax
jl     11d4 <re_escape_utf8+0xc4>
mov    -0xc(%rbp),%eax
mov    -0x20(%rbp),%ecx
shr    %cl,%eax
and    $0x3f,%eax
add    $0x80,%eax
mov    %al,%cl
mov    -0x18(%rbp),%rax
mov    %rax,%rdx
add    $0x1,%rdx
mov    %rdx,-0x18(%rbp)
mov    %cl,(%rax)
jmp    119a <re_escape_utf8+0x8a>
jmp    11d9 <re_escape_utf8+0xc9>
mov    -0x18(%rbp),%rcx
mov    -0x8(%rbp),%rax
mov    %rcx,(%rax)
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<re_escape_utf8>:
push   %rbp
push   %r14
push   %rbx
mov    %esi,%ebp
mov    %rdi,%r14
mov    (%rdi),%rbx
cmp    $0x7f,%esi
ja     1130 <re_escape_utf8+0x20>
mov    %bpl,(%rbx)
add    $0x1,%rbx
mov    %rbx,%rdx
jmp    170e <re_escape_utf8+0x5fe>
mov    %ebp,%edi
call   1030 <re_log2floor@plt>
cltq
imul   $0x2aaaaaab,%rax,%rax
mov    %rax,%rcx
shr    $0x3f,%rcx
shr    $0x20,%rax
add    %ecx,%eax
lea    (%rax,%rax,1),%edx
mov    $0x7,%cl
sub    %al,%cl
mov    $0xff,%esi
shl    %cl,%esi
lea    (%rdx,%rdx,2),%eax
mov    %ebp,%edx
mov    %eax,%ecx
shr    %cl,%edx
add    %esi,%edx
mov    %dl,(%rbx)
lea    0x1(%rbx),%rdx
cmp    $0x6,%eax
jl     170e <re_escape_utf8+0x5fe>
xor    %esi,%esi
mov    %eax,%ecx
sub    $0xb,%ecx
cmovb  %esi,%ecx
add    $0x5,%ecx
cmp    $0x5a,%ecx
jb     16e5 <re_escape_utf8+0x5d5>
mov    $0xaaaaaaab,%r9d
imul   %rcx,%r9
shr    $0x22,%r9
add    $0x1,%r9d
mov    %r9d,%r8d
and    $0xfffffff0,%r8d
movd   %eax,%xmm0
pshufd $0x0,%xmm0,%xmm14
movdqa 0xe49(%rip),%xmm10
paddd  %xmm14,%xmm10
movdqa 0xe4b(%rip),%xmm8
paddd  %xmm14,%xmm8
movdqa 0xe4d(%rip),%xmm15
paddd  %xmm14,%xmm15
paddd  0xe4f(%rip),%xmm14
movd   %ebp,%xmm0
pshufd $0x0,%xmm0,%xmm11
lea    -0x10(%r8),%rsi
mov    %rsi,%rcx
shr    $0x4,%rcx
add    $0x1,%rcx
test   %rsi,%rsi
je     1716 <re_escape_utf8+0x606>
mov    %rcx,%rsi
and    $0xfffffffffffffffe,%rsi
xor    %edi,%edi
movaps 0xe3c(%rip),%xmm13
movdqa 0xe53(%rip),%xmm12
nopl   (%rax)
movdqa %xmm14,%xmm7
movdqa 0xe13(%rip),%xmm3
paddd  %xmm3,%xmm7
movdqa %xmm15,%xmm2
paddd  %xmm3,%xmm2
movdqa %xmm8,%xmm0
movdqa %xmm10,%xmm5
paddd  %xmm3,%xmm5
pshuflw $0xfe,%xmm5,%xmm1
movdqa %xmm11,%xmm4
psrld  %xmm1,%xmm4
paddd  %xmm3,%xmm0
pshuflw $0x54,%xmm5,%xmm9
movdqa %xmm11,%xmm1
psrld  %xmm9,%xmm1
pshufd $0xee,%xmm5,%xmm5
pshuflw $0xfe,%xmm5,%xmm6
movdqa %xmm11,%xmm3
psrld  %xmm6,%xmm3
punpcklqdq %xmm4,%xmm1
pshuflw $0x54,%xmm5,%xmm4
movdqa %xmm11,%xmm5
psrld  %xmm4,%xmm5
punpckhqdq %xmm3,%xmm5
pshuflw $0xfe,%xmm0,%xmm3
movdqa %xmm11,%xmm4
psrld  %xmm3,%xmm4
shufps $0xcc,%xmm5,%xmm1
pshuflw $0x54,%xmm0,%xmm3
movdqa %xmm11,%xmm5
psrld  %xmm3,%xmm5
pshufd $0xee,%xmm0,%xmm0
pshuflw $0xfe,%xmm0,%xmm3
movdqa %xmm11,%xmm6
psrld  %xmm3,%xmm6
punpcklqdq %xmm4,%xmm5
pshuflw $0x54,%xmm0,%xmm0
movdqa %xmm11,%xmm3
psrld  %xmm0,%xmm3
punpckhqdq %xmm6,%xmm3
pshuflw $0xfe,%xmm2,%xmm0
movdqa %xmm11,%xmm4
psrld  %xmm0,%xmm4
shufps $0xcc,%xmm3,%xmm5
pshuflw $0x54,%xmm2,%xmm3
movdqa %xmm11,%xmm0
psrld  %xmm3,%xmm0
pshufd $0xee,%xmm2,%xmm2
pshuflw $0xfe,%xmm2,%xmm3
movdqa %xmm11,%xmm6
psrld  %xmm3,%xmm6
punpcklqdq %xmm4,%xmm0
pshuflw $0x54,%xmm2,%xmm2
movdqa %xmm11,%xmm3
psrld  %xmm2,%xmm3
punpckhqdq %xmm6,%xmm3
pshuflw $0xfe,%xmm7,%xmm2
movdqa %xmm11,%xmm4
psrld  %xmm2,%xmm4
shufps $0xcc,%xmm3,%xmm0
pshuflw $0x54,%xmm7,%xmm3
movdqa %xmm11,%xmm2
psrld  %xmm3,%xmm2
pshufd $0xee,%xmm7,%xmm3
pshuflw $0xfe,%xmm3,%xmm6
movdqa %xmm11,%xmm7
psrld  %xmm6,%xmm7
punpcklqdq %xmm4,%xmm2
pshuflw $0x54,%xmm3,%xmm3
movdqa %xmm11,%xmm4
psrld  %xmm3,%xmm4
punpckhqdq %xmm7,%xmm4
shufps $0xcc,%xmm4,%xmm2
andps  %xmm13,%xmm2
andps  %xmm13,%xmm0
packuswb %xmm0,%xmm2
andps  %xmm13,%xmm5
andps  %xmm13,%xmm1
packuswb %xmm1,%xmm5
packuswb %xmm5,%xmm2
movdqa 0xcc9(%rip),%xmm9
pand   %xmm9,%xmm2
por    %xmm12,%xmm2
movdqu %xmm2,0x1(%rbx,%rdi,1)
movdqa %xmm14,%xmm5
movdqa 0xccc(%rip),%xmm1
paddd  %xmm1,%xmm5
movdqa %xmm15,%xmm2
paddd  %xmm1,%xmm2
movdqa %xmm8,%xmm0
paddd  %xmm1,%xmm0
movdqa %xmm10,%xmm3
paddd  %xmm1,%xmm3
pshuflw $0xfe,%xmm3,%xmm1
movdqa %xmm11,%xmm4
psrld  %xmm1,%xmm4
pshuflw $0x54,%xmm3,%xmm6
movdqa %xmm11,%xmm1
psrld  %xmm6,%xmm1
punpcklqdq %xmm4,%xmm1
pshufd $0xee,%xmm3,%xmm3
pshuflw $0xfe,%xmm3,%xmm4
movdqa %xmm11,%xmm6
psrld  %xmm4,%xmm6
pshuflw $0x54,%xmm3,%xmm3
movdqa %xmm11,%xmm4
psrld  %xmm3,%xmm4
punpckhqdq %xmm6,%xmm4
shufps $0xcc,%xmm4,%xmm1
pshuflw $0xfe,%xmm0,%xmm3
movdqa %xmm11,%xmm4
psrld  %xmm3,%xmm4
pshuflw $0x54,%xmm0,%xmm3
movdqa %xmm11,%xmm7
psrld  %xmm3,%xmm7
punpcklqdq %xmm4,%xmm7
pshufd $0xee,%xmm0,%xmm0
pshuflw $0xfe,%xmm0,%xmm3
movdqa %xmm11,%xmm4
psrld  %xmm3,%xmm4
pshuflw $0x54,%xmm0,%xmm0
movdqa %xmm11,%xmm3
psrld  %xmm0,%xmm3
punpckhqdq %xmm4,%xmm3
shufps $0xcc,%xmm3,%xmm7
pshuflw $0xfe,%xmm2,%xmm0
movdqa %xmm11,%xmm3
psrld  %xmm0,%xmm3
pshuflw $0x54,%xmm2,%xmm4
movdqa %xmm11,%xmm0
psrld  %xmm4,%xmm0
punpcklqdq %xmm3,%xmm0
pshufd $0xee,%xmm2,%xmm2
pshuflw $0xfe,%xmm2,%xmm3
movdqa %xmm11,%xmm4
psrld  %xmm3,%xmm4
pshuflw $0x54,%xmm2,%xmm2
movdqa %xmm11,%xmm3
psrld  %xmm2,%xmm3
punpckhqdq %xmm4,%xmm3
shufps $0xcc,%xmm3,%xmm0
pshuflw $0xfe,%xmm5,%xmm2
movdqa %xmm11,%xmm3
psrld  %xmm2,%xmm3
pshuflw $0x54,%xmm5,%xmm4
movdqa %xmm11,%xmm2
psrld  %xmm4,%xmm2
punpcklqdq %xmm3,%xmm2
pshufd $0xee,%xmm5,%xmm3
pshuflw $0xfe,%xmm3,%xmm4
movdqa %xmm11,%xmm5
psrld  %xmm4,%xmm5
pshuflw $0x54,%xmm3,%xmm3
movdqa %xmm11,%xmm4
psrld  %xmm3,%xmm4
punpckhqdq %xmm5,%xmm4
shufps $0xcc,%xmm4,%xmm2
andps  %xmm13,%xmm2
andps  %xmm13,%xmm0
packuswb %xmm0,%xmm2
andps  %xmm13,%xmm7
andps  %xmm13,%xmm1
packuswb %xmm1,%xmm7
packuswb %xmm7,%xmm2
pand   %xmm9,%xmm2
por    %xmm12,%xmm2
movdqu %xmm2,0x11(%rbx,%rdi,1)
add    $0x20,%rdi
movdqa 0xb61(%rip),%xmm0
paddd  %xmm0,%xmm14
paddd  %xmm0,%xmm15
paddd  %xmm0,%xmm8
paddd  %xmm0,%xmm10
add    $0xfffffffffffffffe,%rsi
jne    1220 <re_escape_utf8+0x110>
test   $0x1,%cl
je     16d4 <re_escape_utf8+0x5c4>
movdqa 0xae2(%rip),%xmm0
paddd  %xmm0,%xmm14
paddd  %xmm0,%xmm15
paddd  %xmm0,%xmm10
pshuflw $0xfe,%xmm10,%xmm1
movdqa %xmm11,%xmm2
psrld  %xmm1,%xmm2
paddd  %xmm0,%xmm8
pshuflw $0x54,%xmm10,%xmm0
movdqa %xmm11,%xmm1
psrld  %xmm0,%xmm1
pshufd $0xee,%xmm10,%xmm0
pshuflw $0xfe,%xmm0,%xmm3
movdqa %xmm11,%xmm4
psrld  %xmm3,%xmm4
punpcklqdq %xmm2,%xmm1
pshuflw $0x54,%xmm0,%xmm0
movdqa %xmm11,%xmm2
psrld  %xmm0,%xmm2
punpckhqdq %xmm4,%xmm2
pshuflw $0xfe,%xmm8,%xmm0
movdqa %xmm11,%xmm3
psrld  %xmm0,%xmm3
shufps $0xcc,%xmm2,%xmm1
pshuflw $0x54,%xmm8,%xmm2
movdqa %xmm11,%xmm0
psrld  %xmm2,%xmm0
pshufd $0xee,%xmm8,%xmm2
pshuflw $0xfe,%xmm2,%xmm4
movdqa %xmm11,%xmm5
psrld  %xmm4,%xmm5
punpcklqdq %xmm3,%xmm0
pshuflw $0x54,%xmm2,%xmm2
movdqa %xmm11,%xmm3
psrld  %xmm2,%xmm3
punpckhqdq %xmm5,%xmm3
pshuflw $0xfe,%xmm15,%xmm2
movdqa %xmm11,%xmm4
psrld  %xmm2,%xmm4
shufps $0xcc,%xmm3,%xmm0
pshuflw $0x54,%xmm15,%xmm3
movdqa %xmm11,%xmm2
psrld  %xmm3,%xmm2
pshufd $0xee,%xmm15,%xmm3
pshuflw $0xfe,%xmm3,%xmm5
movdqa %xmm11,%xmm6
psrld  %xmm5,%xmm6
punpcklqdq %xmm4,%xmm2
pshuflw $0x54,%xmm3,%xmm3
movdqa %xmm11,%xmm4
psrld  %xmm3,%xmm4
punpckhqdq %xmm6,%xmm4
pshuflw $0xfe,%xmm14,%xmm3
movdqa %xmm11,%xmm5
psrld  %xmm3,%xmm5
shufps $0xcc,%xmm4,%xmm2
pshuflw $0x54,%xmm14,%xmm3
movdqa %xmm11,%xmm4
psrld  %xmm3,%xmm4
pshufd $0xee,%xmm14,%xmm3
pshuflw $0xfe,%xmm3,%xmm6
movdqa %xmm11,%xmm7
psrld  %xmm6,%xmm7
punpcklqdq %xmm5,%xmm4
pshuflw $0x54,%xmm3,%xmm3
psrld  %xmm3,%xmm11
punpckhqdq %xmm7,%xmm11
shufps $0xcc,%xmm11,%xmm4
movaps 0x9a9(%rip),%xmm3
andps  %xmm3,%xmm4
andps  %xmm3,%xmm2
packuswb %xmm2,%xmm4
andps  %xmm3,%xmm0
andps  %xmm3,%xmm1
packuswb %xmm1,%xmm0
packuswb %xmm0,%xmm4
pand   0x999(%rip),%xmm4
por    0x9a1(%rip),%xmm4
movdqu %xmm4,(%rdx,%rdi,1)
add    %r8,%rdx
cmp    %r9,%r8
je     170e <re_escape_utf8+0x5fe>
add    %r8d,%r8d
lea    (%r8,%r8,2),%ecx
sub    %ecx,%eax
add    $0x6,%eax
nopl   0x0(%rax,%rax,1)
lea    -0xc(%rax),%ecx
mov    %ebp,%esi
shr    %cl,%esi
and    $0x3f,%sil
or     $0x80,%sil
mov    %sil,(%rdx)
add    $0x1,%rdx
add    $0xfffffffa,%eax
cmp    $0xb,%eax
ja     16f0 <re_escape_utf8+0x5e0>
mov    %rdx,(%r14)
pop    %rbx
pop    %r14
pop    %rbp
ret
xor    %edi,%edi
test   $0x1,%cl
jne    1556 <re_escape_utf8+0x446>
jmp    16d4 <re_escape_utf8+0x5c4>

LLVM IR (-O0):
define void @re_escape_utf8(i8** %0, i32 %1) {
%3 = alloca i8**
%4 = alloca i32
%5 = alloca i8*
%6 = alloca i32
%7 = alloca i32
store i8** %0, i8*** %3
store i32 %1, i32* %4
%8 = load i8**, i8*** %3
%9 = load i8*, i8** %8
store i8* %9, i8** %5
%10 = load i32, i32* %4
%11 = icmp ult i32 %10, 128
br i1 %11, label %12, label %17
12: ; preds = %2
%13 = load i32, i32* %4
%14 = trunc i32 %13 to i8
%15 = load i8*, i8** %5
%16 = getelementptr inbounds i8, i8* %15, i32 1
store i8* %16, i8** %5
store i8 %14, i8* %15
br label %47
17: ; preds = %2
%18 = load i32, i32* %4
%19 = call i32 @re_log2floor(i32 %18)
%20 = sdiv i32 %19, 6
store i32 %20, i32* %6
%21 = load i32, i32* %6
%22 = mul nsw i32 6, %21
store i32 %22, i32* %7
%23 = load i32, i32* %6
%24 = sub nsw i32 7, %23
%25 = shl i32 255, %24
%26 = load i32, i32* %4
%27 = load i32, i32* %7
%28 = lshr i32 %26, %27
%29 = add i32 %25, %28
%30 = trunc i32 %29 to i8
%31 = load i8*, i8** %5
%32 = getelementptr inbounds i8, i8* %31, i32 1
store i8* %32, i8** %5
store i8 %30, i8* %31
br label %33
33: ; preds = %37, %17
%34 = load i32, i32* %7
%35 = sub nsw i32 %34, 6
store i32 %35, i32* %7
%36 = icmp sge i32 %35, 0
br i1 %36, label %37, label %46
37: ; preds = %33
%38 = load i32, i32* %4
%39 = load i32, i32* %7
%40 = lshr i32 %38, %39
%41 = and i32 %40, 63
%42 = add i32 128, %41
%43 = trunc i32 %42 to i8
%44 = load i8*, i8** %5
%45 = getelementptr inbounds i8, i8* %44, i32 1
store i8* %45, i8** %5
store i8 %43, i8* %44
br label %33
46: ; preds = %33
br label %47
47: ; preds = %46, %12
%48 = load i8*, i8** %5
%49 = load i8**, i8*** %3
store i8* %48, i8** %49
ret void
}

LLVM IR (-O2):
define void @re_escape_utf8(i8** nocapture %0, i32 %1) {
%3 = load i8*, i8** %0
%4 = icmp ult i32 %1, 128
br i1 %4, label %5, label %8
5: ; preds = %2
%6 = trunc i32 %1 to i8
%7 = getelementptr inbounds i8, i8* %3, i64 1
store i8 %6, i8* %3
br label %95
8: ; preds = %2
%9 = tail call i32 @re_log2floor(i32 %1)
%10 = sdiv i32 %9, 6
%11 = mul i32 %10, 6
%12 = sub nsw i32 7, %10
%13 = shl i32 255, %12
%14 = lshr i32 %1, %11
%15 = add i32 %13, %14
%16 = trunc i32 %15 to i8
store i8 %16, i8* %3
%17 = getelementptr inbounds i8, i8* %3, i64 1
%18 = icmp sgt i32 %11, 5
br i1 %18, label %19, label %95
19: ; preds = %8
%20 = add i32 %11, 5
%21 = call i32 @llvm.umin.i32(i32 %11, i32 11)
%22 = sub i32 %20, %21
%23 = udiv i32 %22, 6
%24 = add nuw nsw i32 %23, 1
%25 = zext i32 %24 to i64
%26 = icmp ult i32 %22, 90
br i1 %26, label %82, label %27
27: ; preds = %19
%28 = and i64 %25, 2147483632
%29 = trunc i64 %28 to i32
%30 = mul i32 %29, -6
%31 = add i32 %11, %30
%32 = getelementptr i8, i8* %17, i64 %28
%33 = insertelement <16 x i32> poison, i32 %11, i64 0
%34 = shufflevector <16 x i32> %33, <16 x i32> poison, <16 x i32> zeroinitializer
%35 = add <16 x i32> %34, <i32 0, i32 -6, i32 -12, i32 -18, i32 -24, i32 -30, i32 -36, i32 -42, i32 -48, i32 -54, i32 -60, i32 -66, i32 -72, i32 -78, i32 -84, i32 -90>
%36 = insertelement <16 x i32> poison, i32 %1, i64 0
%37 = shufflevector <16 x i32> %36, <16 x i32> poison, <16 x i32> zeroinitializer
%38 = add nsw i64 %28, -16
%39 = lshr exact i64 %38, 4
%40 = add nuw nsw i64 %39, 1
%41 = and i64 %40, 1
%42 = icmp eq i64 %38, 0
br i1 %42, label %68, label %43
43: ; preds = %27
%44 = and i64 %40, 2305843009213693950
br label %45
45: ; preds = %45, %43
%46 = phi i64 [ 0, %43 ], [ %64, %45 ]
%47 = phi <16 x i32> [ %35, %43 ], [ %65, %45 ]
%48 = phi i64 [ 0, %43 ], [ %66, %45 ]
%49 = getelementptr i8, i8* %17, i64 %46
%50 = add nsw <16 x i32> %47, <i32 -6, i32 -6, i32 -6, i32 -6, i32 -6, i32 -6, i32 -6, i32 -6, i32 -6, i32 -6, i32 -6, i32 -6, i32 -6, i32 -6, i32 -6, i32 -6>
%51 = lshr <16 x i32> %37, %50
%52 = trunc <16 x i32> %51 to <16 x i8>
%53 = and <16 x i8> %52, <i8 63, i8 63, i8 63, i8 63, i8 63, i8 63, i8 63, i8 63, i8 63, i8 63, i8 63, i8 63, i8 63, i8 63, i8 63, i8 63>
%54 = or <16 x i8> %53, <i8 -128, i8 -128, i8 -128, i8 -128, i8 -128, i8 -128, i8 -128, i8 -128, i8 -128, i8 -128, i8 -128, i8 -128, i8 -128, i8 -128, i8 -128, i8 -128>
%55 = bitcast i8* %49 to <16 x i8>*
store <16 x i8> %54, <16 x i8>* %55
%56 = or i64 %46, 16
%57 = getelementptr i8, i8* %17, i64 %56
%58 = add <16 x i32> %47, <i32 -102, i32 -102, i32 -102, i32 -102, i32 -102, i32 -102, i32 -102, i32 -102, i32 -102, i32 -102, i32 -102, i32 -102, i32 -102, i32 -102, i32 -102, i32 -102>
%59 = lshr <16 x i32> %37, %58
%60 = trunc <16 x i32> %59 to <16 x i8>
%61 = and <16 x i8> %60, <i8 63, i8 63, i8 63, i8 63, i8 63, i8 63, i8 63, i8 63, i8 63, i8 63, i8 63, i8 63, i8 63, i8 63, i8 63, i8 63>
%62 = or <16 x i8> %61, <i8 -128, i8 -128, i8 -128, i8 -128, i8 -128, i8 -128, i8 -128, i8 -128, i8 -128, i8 -128, i8 -128, i8 -128, i8 -128, i8 -128, i8 -128, i8 -128>
%63 = bitcast i8* %57 to <16 x i8>*
store <16 x i8> %62, <16 x i8>* %63
%64 = add nuw i64 %46, 32
%65 = add <16 x i32> %47, <i32 -192, i32 -192, i32 -192, i32 -192, i32 -192, i32 -192, i32 -192, i32 -192, i32 -192, i32 -192, i32 -192, i32 -192, i32 -192, i32 -192, i32 -192, i32 -192>
%66 = add i64 %48, 2
%67 = icmp eq i64 %66, %44
br i1 %67, label %68, label %45
68: ; preds = %45, %27
%69 = phi i64 [ 0, %27 ], [ %64, %45 ]
%70 = phi <16 x i32> [ %35, %27 ], [ %65, %45 ]
%71 = icmp eq i64 %41, 0
br i1 %71, label %80, label %72
72: ; preds = %68
%73 = getelementptr i8, i8* %17, i64 %69
%74 = add nsw <16 x i32> %70, <i32 -6, i32 -6, i32 -6, i32 -6, i32 -6, i32 -6, i32 -6, i32 -6, i32 -6, i32 -6, i32 -6, i32 -6, i32 -6, i32 -6, i32 -6, i32 -6>
%75 = lshr <16 x i32> %37, %74
%76 = trunc <16 x i32> %75 to <16 x i8>
%77 = and <16 x i8> %76, <i8 63, i8 63, i8 63, i8 63, i8 63, i8 63, i8 63, i8 63, i8 63, i8 63, i8 63, i8 63, i8 63, i8 63, i8 63, i8 63>
%78 = or <16 x i8> %77, <i8 -128, i8 -128, i8 -128, i8 -128, i8 -128, i8 -128, i8 -128, i8 -128, i8 -128, i8 -128, i8 -128, i8 -128, i8 -128, i8 -128, i8 -128, i8 -128>
%79 = bitcast i8* %73 to <16 x i8>*
store <16 x i8> %78, <16 x i8>* %79
br label %80
80: ; preds = %68, %72
%81 = icmp eq i64 %28, %25
br i1 %81, label %95, label %82
82: ; preds = %19, %80
%83 = phi i32 [ %11, %19 ], [ %31, %80 ]
%84 = phi i8* [ %17, %19 ], [ %32, %80 ]
br label %85
85: ; preds = %82, %85
%86 = phi i32 [ %88, %85 ], [ %83, %82 ]
%87 = phi i8* [ %93, %85 ], [ %84, %82 ]
%88 = add nsw i32 %86, -6
%89 = lshr i32 %1, %88
%90 = trunc i32 %89 to i8
%91 = and i8 %90, 63
%92 = or i8 %91, -128
store i8 %92, i8* %87
%93 = getelementptr inbounds i8, i8* %87, i64 1
%94 = icmp ugt i32 %86, 11
br i1 %94, label %85, label %95
95: ; preds = %85, %80, %8, %5
%96 = phi i8* [ %7, %5 ], [ %17, %8 ], [ %32, %80 ], [ %93, %85 ]
store i8* %96, i8** %0
ret void
}