#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 */
unsigned int pow(int, int);
void int_to_binary_string(unsigned int input, char *output,
                          int number_of_bits) {
  int value;
  int element;
  if (input >= pow(2, number_of_bits)) {
    return;
  }
  output[number_of_bits] = '\0';
  for (int i = (number_of_bits - 1); i >= 0; --i) {
    value = input >> i;
    element = number_of_bits - i - 1;
    output[element] = (value & 1) + '0';
  }
}


x86 assembly (clang, -O0):
<int_to_binary_string>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
mov    %edi,-0x4(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %edx,-0x14(%rbp)
mov    -0x4(%rbp),%eax
mov    %eax,-0x24(%rbp)
mov    -0x14(%rbp),%esi
mov    $0x2,%edi
call   1030 <pow@plt>
mov    %eax,%ecx
mov    -0x24(%rbp),%eax
cmp    %ecx,%eax
jb     1147 <int_to_binary_string+0x37>
jmp    11a1 <int_to_binary_string+0x91>
mov    -0x10(%rbp),%rax
movslq -0x14(%rbp),%rcx
movb   $0x0,(%rax,%rcx,1)
mov    -0x14(%rbp),%eax
sub    $0x1,%eax
mov    %eax,-0x20(%rbp)
cmpl   $0x0,-0x20(%rbp)
jl     11a1 <int_to_binary_string+0x91>
mov    -0x4(%rbp),%eax
mov    -0x20(%rbp),%ecx
shr    %cl,%eax
mov    %eax,-0x18(%rbp)
mov    -0x14(%rbp),%eax
sub    -0x20(%rbp),%eax
sub    $0x1,%eax
mov    %eax,-0x1c(%rbp)
mov    -0x18(%rbp),%eax
and    $0x1,%eax
add    $0x30,%eax
mov    %al,%dl
mov    -0x10(%rbp),%rax
movslq -0x1c(%rbp),%rcx
mov    %dl,(%rax,%rcx,1)
mov    -0x20(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x20(%rbp)
jmp    115c <int_to_binary_string+0x4c>
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<int_to_binary_string>:
push   %rbp
push   %r14
push   %rbx
sub    $0x80,%rsp
mov    %edx,%r14d
mov    %rsi,%rbx
mov    %edi,%ebp
mov    $0x2,%edi
mov    %edx,%esi
call   1030 <pow@plt>
cmp    %ebp,%eax
jbe    179b <int_to_binary_string+0x68b>
movslq %r14d,%rax
movb   $0x0,(%rbx,%rax,1)
test   %r14d,%r14d
jle    179b <int_to_binary_string+0x68b>
mov    %rax,%rdx
cmp    $0x10,%r14d
jb     176e <int_to_binary_string+0x65e>
mov    %rax,%rcx
and    $0xfffffffffffffff0,%rcx
movq   %rax,%xmm0
pshufd $0x44,%xmm0,%xmm8
movdqa 0xe92(%rip),%xmm1
paddq  %xmm8,%xmm1
movdqa 0xe95(%rip),%xmm3
paddq  %xmm8,%xmm3
movdqa 0xe98(%rip),%xmm2
paddq  %xmm8,%xmm2
movdqa 0xe9a(%rip),%xmm9
paddq  %xmm8,%xmm9
movdqa 0xe9d(%rip),%xmm4
paddq  %xmm8,%xmm4
movdqa 0xea0(%rip),%xmm7
paddq  %xmm8,%xmm7
movdqa 0xea3(%rip),%xmm5
paddq  %xmm8,%xmm5
paddq  0xea5(%rip),%xmm8
movd   %ebp,%xmm0
pshufd $0x0,%xmm0,%xmm13
lea    -0x10(%rcx),%rdx
mov    %rdx,%rsi
shr    $0x4,%rsi
add    $0x1,%rsi
test   %rdx,%rdx
je     17a7 <int_to_binary_string+0x697>
mov    %rsi,%rdi
and    $0xfffffffffffffffe,%rdi
xor    %edx,%edx
cs nopw 0x0(%rax,%rax,1)
movdqa %xmm4,0x30(%rsp)
movdqa %xmm5,0x40(%rsp)
movdqa %xmm2,0x50(%rsp)
movdqa %xmm1,0x60(%rsp)
movdqa %xmm3,0x70(%rsp)
movdqa %xmm9,(%rsp)
movdqa %xmm7,0x10(%rsp)
movdqa %xmm8,0x20(%rsp)
movdqa %xmm3,%xmm9
shufps $0x88,%xmm1,%xmm9
movaps (%rsp),%xmm12
shufps $0x88,%xmm2,%xmm12
movaps 0x10(%rsp),%xmm11
shufps $0x88,%xmm4,%xmm11
movaps 0x20(%rsp),%xmm10
shufps $0x88,%xmm5,%xmm10
movaps %xmm10,%xmm8
pcmpeqd %xmm5,%xmm5
paddd  %xmm5,%xmm8
movaps %xmm11,%xmm15
paddd  %xmm5,%xmm15
movaps %xmm12,%xmm2
movaps %xmm9,%xmm0
paddd  %xmm5,%xmm0
pshuflw $0xfe,%xmm0,%xmm1
movdqa %xmm13,%xmm3
psrld  %xmm1,%xmm3
paddd  %xmm5,%xmm2
pshuflw $0x54,%xmm0,%xmm14
movdqa %xmm13,%xmm1
psrld  %xmm14,%xmm1
pshufd $0xee,%xmm0,%xmm0
pshuflw $0xfe,%xmm0,%xmm5
movdqa %xmm13,%xmm4
psrld  %xmm5,%xmm4
punpcklqdq %xmm3,%xmm1
pshuflw $0x54,%xmm0,%xmm0
movdqa %xmm13,%xmm3
psrld  %xmm0,%xmm3
punpckhqdq %xmm4,%xmm3
pshuflw $0xfe,%xmm2,%xmm0
movdqa %xmm13,%xmm4
psrld  %xmm0,%xmm4
shufps $0xcc,%xmm3,%xmm1
pshuflw $0x54,%xmm2,%xmm3
movdqa %xmm13,%xmm0
psrld  %xmm3,%xmm0
pshufd $0xee,%xmm2,%xmm2
pshuflw $0xfe,%xmm2,%xmm3
movdqa %xmm13,%xmm5
psrld  %xmm3,%xmm5
punpcklqdq %xmm4,%xmm0
pshuflw $0x54,%xmm2,%xmm2
movdqa %xmm13,%xmm3
psrld  %xmm2,%xmm3
punpckhqdq %xmm5,%xmm3
pshuflw $0xfe,%xmm15,%xmm2
movdqa %xmm13,%xmm4
psrld  %xmm2,%xmm4
shufps $0xcc,%xmm3,%xmm0
pshuflw $0x54,%xmm15,%xmm3
movdqa %xmm13,%xmm2
psrld  %xmm3,%xmm2
pshufd $0xee,%xmm15,%xmm3
pshuflw $0xfe,%xmm3,%xmm5
movdqa %xmm13,%xmm6
psrld  %xmm5,%xmm6
punpcklqdq %xmm4,%xmm2
pshuflw $0x54,%xmm3,%xmm3
movdqa %xmm13,%xmm4
psrld  %xmm3,%xmm4
punpckhqdq %xmm6,%xmm4
pshuflw $0xfe,%xmm8,%xmm3
movdqa %xmm13,%xmm5
psrld  %xmm3,%xmm5
shufps $0xcc,%xmm4,%xmm2
pshuflw $0x54,%xmm8,%xmm4
movdqa %xmm13,%xmm3
psrld  %xmm4,%xmm3
pshufd $0xee,%xmm8,%xmm4
pshuflw $0xfe,%xmm4,%xmm6
movdqa %xmm13,%xmm7
psrld  %xmm6,%xmm7
punpcklqdq %xmm5,%xmm3
pshuflw $0x54,%xmm4,%xmm4
movdqa %xmm13,%xmm5
psrld  %xmm4,%xmm5
punpckhqdq %xmm7,%xmm5
shufps $0xcc,%xmm5,%xmm3
movaps 0xccb(%rip),%xmm15
andps  %xmm15,%xmm3
andps  %xmm15,%xmm2
packuswb %xmm2,%xmm3
andps  %xmm15,%xmm0
andps  %xmm15,%xmm1
packuswb %xmm1,%xmm0
packuswb %xmm0,%xmm3
movdqa 0xcb6(%rip),%xmm14
pand   %xmm14,%xmm3
movdqa 0xcb9(%rip),%xmm0
por    %xmm0,%xmm3
movdqu %xmm3,(%rbx,%rdx,1)
movdqa 0xcb8(%rip),%xmm0
paddd  %xmm0,%xmm10
paddd  %xmm0,%xmm11
paddd  %xmm0,%xmm12
paddd  %xmm0,%xmm9
pshuflw $0xfe,%xmm9,%xmm0
movdqa %xmm13,%xmm2
psrld  %xmm0,%xmm2
pshuflw $0x54,%xmm9,%xmm0
movdqa %xmm13,%xmm1
psrld  %xmm0,%xmm1
punpcklqdq %xmm2,%xmm1
pshufd $0xee,%xmm9,%xmm0
pshuflw $0xfe,%xmm0,%xmm2
movdqa %xmm13,%xmm3
psrld  %xmm2,%xmm3
pshuflw $0x54,%xmm0,%xmm0
movdqa %xmm13,%xmm2
psrld  %xmm0,%xmm2
punpckhqdq %xmm3,%xmm2
shufps $0xcc,%xmm2,%xmm1
pshuflw $0xfe,%xmm12,%xmm0
movdqa %xmm13,%xmm2
psrld  %xmm0,%xmm2
pshuflw $0x54,%xmm12,%xmm3
movdqa %xmm13,%xmm0
psrld  %xmm3,%xmm0
punpcklqdq %xmm2,%xmm0
pshufd $0xee,%xmm12,%xmm2
movdqa (%rsp),%xmm9
pshuflw $0xfe,%xmm2,%xmm3
movdqa %xmm13,%xmm4
psrld  %xmm3,%xmm4
pshuflw $0x54,%xmm2,%xmm2
movdqa %xmm13,%xmm3
psrld  %xmm2,%xmm3
punpckhqdq %xmm4,%xmm3
shufps $0xcc,%xmm3,%xmm0
pshuflw $0xfe,%xmm11,%xmm2
movdqa %xmm13,%xmm3
psrld  %xmm2,%xmm3
pshuflw $0x54,%xmm11,%xmm4
movdqa %xmm13,%xmm2
psrld  %xmm4,%xmm2
punpcklqdq %xmm3,%xmm2
pshufd $0xee,%xmm11,%xmm3
movdqa 0x10(%rsp),%xmm7
pshuflw $0xfe,%xmm3,%xmm4
movdqa %xmm13,%xmm5
psrld  %xmm4,%xmm5
pshuflw $0x54,%xmm3,%xmm3
movdqa %xmm13,%xmm4
psrld  %xmm3,%xmm4
punpckhqdq %xmm5,%xmm4
shufps $0xcc,%xmm4,%xmm2
pshuflw $0xfe,%xmm10,%xmm3
movdqa %xmm13,%xmm4
psrld  %xmm3,%xmm4
pshuflw $0x54,%xmm10,%xmm5
movdqa %xmm13,%xmm3
psrld  %xmm5,%xmm3
punpcklqdq %xmm4,%xmm3
pshufd $0xee,%xmm10,%xmm4
movdqa 0x20(%rsp),%xmm8
pshuflw $0xfe,%xmm4,%xmm5
movdqa %xmm13,%xmm6
psrld  %xmm5,%xmm6
pshuflw $0x54,%xmm4,%xmm4
movdqa %xmm13,%xmm5
psrld  %xmm4,%xmm5
movdqa 0x30(%rsp),%xmm4
punpckhqdq %xmm6,%xmm5
shufps $0xcc,%xmm5,%xmm3
movdqa 0x40(%rsp),%xmm5
andps  %xmm15,%xmm3
andps  %xmm15,%xmm2
packuswb %xmm2,%xmm3
movdqa 0x50(%rsp),%xmm2
andps  %xmm15,%xmm0
andps  %xmm15,%xmm1
packuswb %xmm1,%xmm0
movdqa 0x60(%rsp),%xmm1
packuswb %xmm0,%xmm3
pand   %xmm14,%xmm3
por    0xb10(%rip),%xmm3
movdqu %xmm3,0x10(%rbx,%rdx,1)
movdqa 0x70(%rsp),%xmm3
add    $0x20,%rdx
movdqa 0xb18(%rip),%xmm0
paddq  %xmm0,%xmm8
paddq  %xmm0,%xmm5
paddq  %xmm0,%xmm7
paddq  %xmm0,%xmm4
paddq  %xmm0,%xmm9
paddq  %xmm0,%xmm2
paddq  %xmm0,%xmm3
paddq  %xmm0,%xmm1
add    $0xfffffffffffffffe,%rdi
jne    1200 <int_to_binary_string+0xf0>
test   $0x1,%sil
je     1762 <int_to_binary_string+0x652>
shufps $0x88,%xmm1,%xmm3
shufps $0x88,%xmm2,%xmm9
shufps $0x88,%xmm4,%xmm7
shufps $0x88,%xmm5,%xmm8
pcmpeqd %xmm0,%xmm0
paddd  %xmm0,%xmm8
paddd  %xmm0,%xmm7
paddd  %xmm0,%xmm3
pshuflw $0xfe,%xmm3,%xmm1
movdqa %xmm13,%xmm2
psrld  %xmm1,%xmm2
paddd  %xmm0,%xmm9
pshuflw $0x54,%xmm3,%xmm0
movdqa %xmm13,%xmm1
psrld  %xmm0,%xmm1
pshufd $0xee,%xmm3,%xmm0
pshuflw $0xfe,%xmm0,%xmm3
movdqa %xmm13,%xmm4
psrld  %xmm3,%xmm4
punpcklqdq %xmm2,%xmm1
pshuflw $0x54,%xmm0,%xmm0
movdqa %xmm13,%xmm2
psrld  %xmm0,%xmm2
punpckhqdq %xmm4,%xmm2
pshuflw $0xfe,%xmm9,%xmm0
movdqa %xmm13,%xmm3
psrld  %xmm0,%xmm3
shufps $0xcc,%xmm2,%xmm1
pshuflw $0x54,%xmm9,%xmm2
movdqa %xmm13,%xmm0
psrld  %xmm2,%xmm0
pshufd $0xee,%xmm9,%xmm2
pshuflw $0xfe,%xmm2,%xmm4
movdqa %xmm13,%xmm5
psrld  %xmm4,%xmm5
punpcklqdq %xmm3,%xmm0
pshuflw $0x54,%xmm2,%xmm2
movdqa %xmm13,%xmm3
psrld  %xmm2,%xmm3
punpckhqdq %xmm5,%xmm3
pshuflw $0xfe,%xmm7,%xmm2
movdqa %xmm13,%xmm4
psrld  %xmm2,%xmm4
shufps $0xcc,%xmm3,%xmm0
pshuflw $0x54,%xmm7,%xmm3
movdqa %xmm13,%xmm2
psrld  %xmm3,%xmm2
pshufd $0xee,%xmm7,%xmm3
pshuflw $0xfe,%xmm3,%xmm5
movdqa %xmm13,%xmm6
psrld  %xmm5,%xmm6
punpcklqdq %xmm4,%xmm2
pshuflw $0x54,%xmm3,%xmm3
movdqa %xmm13,%xmm4
psrld  %xmm3,%xmm4
punpckhqdq %xmm6,%xmm4
pshuflw $0xfe,%xmm8,%xmm3
movdqa %xmm13,%xmm5
psrld  %xmm3,%xmm5
shufps $0xcc,%xmm4,%xmm2
pshuflw $0x54,%xmm8,%xmm4
movdqa %xmm13,%xmm3
psrld  %xmm4,%xmm3
pshufd $0xee,%xmm8,%xmm4
pshuflw $0xfe,%xmm4,%xmm6
movdqa %xmm13,%xmm7
psrld  %xmm6,%xmm7
punpcklqdq %xmm5,%xmm3
pshuflw $0x54,%xmm4,%xmm4
psrld  %xmm4,%xmm13
punpckhqdq %xmm7,%xmm13
shufps $0xcc,%xmm13,%xmm3
movaps 0x94b(%rip),%xmm4
andps  %xmm4,%xmm3
andps  %xmm4,%xmm2
packuswb %xmm2,%xmm3
andps  %xmm4,%xmm0
andps  %xmm4,%xmm1
packuswb %xmm1,%xmm0
packuswb %xmm0,%xmm3
pand   0x93b(%rip),%xmm3
por    0x943(%rip),%xmm3
movdqu %xmm3,(%rbx,%rdx,1)
cmp    %rax,%rcx
je     179b <int_to_binary_string+0x68b>
and    $0xf,%r14d
mov    %r14,%rdx
sub    %rdx,%rax
add    %rax,%rbx
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
lea    -0x1(%rdx),%rcx
mov    %ebp,%eax
shr    %cl,%eax
and    $0x1,%al
or     $0x30,%al
mov    %al,(%rbx)
add    $0x1,%rbx
cmp    $0x1,%rdx
mov    %rcx,%rdx
jg     1780 <int_to_binary_string+0x670>
add    $0x80,%rsp
pop    %rbx
pop    %r14
pop    %rbp
ret
xor    %edx,%edx
test   $0x1,%sil
jne    15de <int_to_binary_string+0x4ce>
jmp    1762 <int_to_binary_string+0x652>

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

LLVM IR (-O2):
define void @int_to_binary_string(i32 %0, i8* nocapture writeonly %1, i32 %2) {
%4 = tail call i32 @pow(i32 2, i32 %2)
%5 = icmp ugt i32 %4, %0
br i1 %5, label %6, label %80
6: ; preds = %3
%7 = sext i32 %2 to i64
%8 = getelementptr inbounds i8, i8* %1, i64 %7
store i8 0, i8* %8
%9 = icmp sgt i32 %2, 0
br i1 %9, label %10, label %80
10: ; preds = %6
%11 = icmp ult i32 %2, 16
br i1 %11, label %67, label %12
12: ; preds = %10
%13 = and i64 %7, -16
%14 = and i64 %7, 15
%15 = insertelement <16 x i64> poison, i64 %7, i64 0
%16 = shufflevector <16 x i64> %15, <16 x i64> poison, <16 x i32> zeroinitializer
%17 = add <16 x i64> %16, <i64 0, i64 -1, i64 -2, i64 -3, i64 -4, i64 -5, i64 -6, i64 -7, i64 -8, i64 -9, i64 -10, i64 -11, i64 -12, i64 -13, i64 -14, i64 -15>
%18 = insertelement <16 x i32> poison, i32 %0, i64 0
%19 = shufflevector <16 x i32> %18, <16 x i32> poison, <16 x i32> zeroinitializer
%20 = add nsw i64 %13, -16
%21 = lshr exact i64 %20, 4
%22 = add nuw nsw i64 %21, 1
%23 = and i64 %22, 1
%24 = icmp eq i64 %20, 0
br i1 %24, label %52, label %25
25: ; preds = %12
%26 = and i64 %22, 2305843009213693950
br label %27
27: ; preds = %27, %25
%28 = phi i64 [ 0, %25 ], [ %48, %27 ]
%29 = phi <16 x i64> [ %17, %25 ], [ %49, %27 ]
%30 = phi i64 [ 0, %25 ], [ %50, %27 ]
%31 = trunc <16 x i64> %29 to <16 x i32>
%32 = add <16 x i32> %31, <i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1>
%33 = lshr <16 x i32> %19, %32
%34 = trunc <16 x i32> %33 to <16 x i8>
%35 = and <16 x i8> %34, <i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1>
%36 = or <16 x i8> %35, <i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48>
%37 = getelementptr inbounds i8, i8* %1, i64 %28
%38 = bitcast i8* %37 to <16 x i8>*
store <16 x i8> %36, <16 x i8>* %38
%39 = or i64 %28, 16
%40 = trunc <16 x i64> %29 to <16 x i32>
%41 = add <16 x i32> %40, <i32 -17, i32 -17, i32 -17, i32 -17, i32 -17, i32 -17, i32 -17, i32 -17, i32 -17, i32 -17, i32 -17, i32 -17, i32 -17, i32 -17, i32 -17, i32 -17>
%42 = lshr <16 x i32> %19, %41
%43 = trunc <16 x i32> %42 to <16 x i8>
%44 = and <16 x i8> %43, <i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1>
%45 = or <16 x i8> %44, <i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48>
%46 = getelementptr inbounds i8, i8* %1, i64 %39
%47 = bitcast i8* %46 to <16 x i8>*
store <16 x i8> %45, <16 x i8>* %47
%48 = add nuw i64 %28, 32
%49 = add <16 x i64> %29, <i64 -32, i64 -32, i64 -32, i64 -32, i64 -32, i64 -32, i64 -32, i64 -32, i64 -32, i64 -32, i64 -32, i64 -32, i64 -32, i64 -32, i64 -32, i64 -32>
%50 = add i64 %30, 2
%51 = icmp eq i64 %50, %26
br i1 %51, label %52, label %27
52: ; preds = %27, %12
%53 = phi i64 [ 0, %12 ], [ %48, %27 ]
%54 = phi <16 x i64> [ %17, %12 ], [ %49, %27 ]
%55 = icmp eq i64 %23, 0
br i1 %55, label %65, label %56
56: ; preds = %52
%57 = trunc <16 x i64> %54 to <16 x i32>
%58 = add <16 x i32> %57, <i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1>
%59 = lshr <16 x i32> %19, %58
%60 = trunc <16 x i32> %59 to <16 x i8>
%61 = and <16 x i8> %60, <i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1, i8 1>
%62 = or <16 x i8> %61, <i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48, i8 48>
%63 = getelementptr inbounds i8, i8* %1, i64 %53
%64 = bitcast i8* %63 to <16 x i8>*
store <16 x i8> %62, <16 x i8>* %64
br label %65
65: ; preds = %52, %56
%66 = icmp eq i64 %13, %7
br i1 %66, label %80, label %67
67: ; preds = %10, %65
%68 = phi i64 [ %7, %10 ], [ %14, %65 ]
br label %69
69: ; preds = %67, %69
%70 = phi i64 [ %71, %69 ], [ %68, %67 ]
%71 = add nsw i64 %70, -1
%72 = trunc i64 %71 to i32
%73 = lshr i32 %0, %72
%74 = sub nuw nsw i64 %7, %70
%75 = trunc i32 %73 to i8
%76 = and i8 %75, 1
%77 = or i8 %76, 48
%78 = getelementptr inbounds i8, i8* %1, i64 %74
store i8 %77, i8* %78
%79 = icmp sgt i64 %70, 1
br i1 %79, label %69, label %80
80: ; preds = %69, %65, %6, %3
ret void
}