#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 int /*<<< orphan*/ FILE;

/* Variables and functions */
int /*<<< orphan*/ fprintf(int /*<<< orphan*/ *, char *, ...);
void dump_bin(int x, int digits, FILE *f) {
  int i;
  char s[33];
  if (!digits) {
    fprintf(f, "0");
    return;
  }
  digits = ((((digits) < (32) ? (digits) : (32))) > (1)
                ? (((digits) < (32) ? (digits) : (32)))
                : (1));
  for (i = 0; i < digits; i++)
    s[i] = x & (1 << (digits - i - 1)) ? '1' : '0';
  s[digits] = 0;
  fprintf(f, "%s", s);
}


x86 assembly (clang, -O0):
<dump_bin>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
mov    %edi,-0x4(%rbp)
mov    %esi,-0x8(%rbp)
mov    %rdx,-0x10(%rbp)
cmpl   $0x0,-0x8(%rbp)
jne    1143 <dump_bin+0x33>
mov    -0x10(%rbp),%rdi
lea    0xec9(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
jmp    1220 <dump_bin+0x110>
cmpl   $0x20,-0x8(%rbp)
jge    1158 <dump_bin+0x48>
mov    -0x8(%rbp),%eax
mov    %eax,-0x44(%rbp)
jmp    1165 <dump_bin+0x55>
mov    $0x20,%eax
mov    %eax,-0x44(%rbp)
jmp    1165 <dump_bin+0x55>
mov    -0x44(%rbp),%eax
cmp    $0x1,%eax
jle    119e <dump_bin+0x8e>
cmpl   $0x20,-0x8(%rbp)
jge    1186 <dump_bin+0x76>
mov    -0x8(%rbp),%eax
mov    %eax,-0x48(%rbp)
jmp    1193 <dump_bin+0x83>
mov    $0x20,%eax
mov    %eax,-0x48(%rbp)
jmp    1193 <dump_bin+0x83>
mov    -0x48(%rbp),%eax
mov    %eax,-0x4c(%rbp)
jmp    11ab <dump_bin+0x9b>
mov    $0x1,%eax
mov    %eax,-0x4c(%rbp)
jmp    11ab <dump_bin+0x9b>
mov    -0x4c(%rbp),%eax
mov    %eax,-0x8(%rbp)
movl   $0x0,-0x14(%rbp)
mov    -0x14(%rbp),%eax
cmp    -0x8(%rbp),%eax
jge    1201 <dump_bin+0xf1>
mov    -0x4(%rbp),%edx
mov    -0x8(%rbp),%ecx
sub    -0x14(%rbp),%ecx
sub    $0x1,%ecx
mov    $0x1,%eax
shl    %cl,%eax
and    %eax,%edx
mov    $0x30,%eax
mov    $0x31,%ecx
cmp    $0x0,%edx
cmovne %ecx,%eax
mov    %al,%cl
movslq -0x14(%rbp),%rax
mov    %cl,-0x40(%rbp,%rax,1)
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    11b8 <dump_bin+0xa8>
movslq -0x8(%rbp),%rax
movb   $0x0,-0x40(%rbp,%rax,1)
mov    -0x10(%rbp),%rdi
lea    -0x40(%rbp),%rdx
lea    0xde9(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<dump_bin>:
test   %esi,%esi
je     114f <dump_bin+0x2f>
sub    $0x88,%rsp
cmp    $0x20,%esi
mov    $0x20,%eax
cmovl  %esi,%eax
test   %eax,%eax
mov    $0x1,%r9d
cmovg  %eax,%r9d
cmp    $0x10,%r9d
jae    115c <dump_bin+0x3c>
xor    %esi,%esi
jmp    15d7 <dump_bin+0x4b7>
mov    $0x30,%edi
mov    %rdx,%rsi
jmp    1040 <fputc@plt>
movd   %r9d,%xmm0
mov    %r9d,%esi
and    $0x7ffffff0,%esi
pshufd $0x0,%xmm0,%xmm5
movd   %edi,%xmm0
pshufd $0x0,%xmm0,%xmm6
lea    -0x10(%rsi),%rax
mov    %rax,%r8
shr    $0x4,%r8
add    $0x1,%r8
test   %rax,%rax
je     1613 <dump_bin+0x4f3>
mov    %r8,%rax
and    $0xfffffffffffffffe,%rax
movdqa 0xea1(%rip),%xmm4
movdqa 0xea9(%rip),%xmm2
movdqa 0xeb0(%rip),%xmm12
movdqa 0xeb7(%rip),%xmm14
xor    %ecx,%ecx
movdqa 0xecc(%rip),%xmm13
movdqa 0xeb3(%rip),%xmm10
nopl   (%rax)
movdqa %xmm2,0x70(%rsp)
movdqa %xmm4,(%rsp)
movdqa %xmm2,%xmm15
movdqa %xmm12,%xmm7
movdqa %xmm12,0x60(%rsp)
movdqa %xmm14,%xmm9
movdqa %xmm14,%xmm2
pcmpeqd %xmm3,%xmm3
pxor   %xmm3,%xmm2
pxor   %xmm3,%xmm7
movdqa %xmm15,%xmm0
pxor   %xmm3,%xmm0
movdqa %xmm4,%xmm1
pxor   %xmm3,%xmm1
paddd  %xmm5,%xmm1
paddd  %xmm5,%xmm0
paddd  %xmm5,%xmm7
paddd  %xmm5,%xmm2
pslld  $0x17,%xmm2
paddd  %xmm10,%xmm2
cvttps2dq %xmm2,%xmm2
pshufd $0xf5,%xmm2,%xmm11
pmuludq %xmm13,%xmm2
pshufd $0xe8,%xmm2,%xmm8
pmuludq %xmm13,%xmm11
pshufd $0xe8,%xmm11,%xmm2
punpckldq %xmm2,%xmm8
pslld  $0x17,%xmm7
paddd  %xmm10,%xmm7
cvttps2dq %xmm7,%xmm2
pshufd $0xf5,%xmm2,%xmm3
pmuludq %xmm13,%xmm2
pshufd $0xe8,%xmm2,%xmm7
pmuludq %xmm13,%xmm3
pshufd $0xe8,%xmm3,%xmm2
punpckldq %xmm2,%xmm7
pslld  $0x17,%xmm0
paddd  %xmm10,%xmm0
cvttps2dq %xmm0,%xmm0
pshufd $0xf5,%xmm0,%xmm2
pmuludq %xmm13,%xmm0
pshufd $0xe8,%xmm0,%xmm0
pmuludq %xmm13,%xmm2
pshufd $0xe8,%xmm2,%xmm2
punpckldq %xmm2,%xmm0
pslld  $0x17,%xmm1
paddd  %xmm10,%xmm1
cvttps2dq %xmm1,%xmm1
pshufd $0xf5,%xmm1,%xmm2
pmuludq %xmm13,%xmm1
pshufd $0xe8,%xmm1,%xmm1
pmuludq %xmm13,%xmm2
pshufd $0xe8,%xmm2,%xmm2
punpckldq %xmm2,%xmm1
pand   %xmm6,%xmm1
pand   %xmm6,%xmm0
pand   %xmm6,%xmm7
pand   %xmm6,%xmm8
pxor   %xmm11,%xmm11
pcmpeqd %xmm11,%xmm8
pcmpeqd %xmm11,%xmm7
packssdw %xmm7,%xmm8
pcmpeqd %xmm11,%xmm0
pcmpeqd %xmm11,%xmm1
packssdw %xmm1,%xmm0
packsswb %xmm0,%xmm8
movdqa 0xd8d(%rip),%xmm0
paddb  %xmm0,%xmm8
movdqa %xmm8,0x10(%rsp,%rcx,1)
movdqa %xmm4,%xmm8
movdqa %xmm5,%xmm1
psubd  %xmm4,%xmm1
movdqa 0xd7c(%rip),%xmm4
paddd  %xmm4,%xmm1
movdqa %xmm5,%xmm2
movdqa %xmm15,0x50(%rsp)
psubd  %xmm15,%xmm2
movdqa 0x60(%rsp),%xmm15
paddd  %xmm4,%xmm2
movdqa %xmm5,%xmm0
psubd  %xmm15,%xmm0
paddd  %xmm4,%xmm0
movdqa %xmm5,%xmm3
movdqa %xmm14,0x40(%rsp)
psubd  %xmm14,%xmm3
paddd  %xmm4,%xmm3
pslld  $0x17,%xmm3
paddd  %xmm10,%xmm3
cvttps2dq %xmm3,%xmm3
pshufd $0xf5,%xmm3,%xmm4
pmuludq %xmm13,%xmm3
pshufd $0xe8,%xmm3,%xmm7
pmuludq %xmm13,%xmm4
pshufd $0xe8,%xmm4,%xmm3
punpckldq %xmm3,%xmm7
pslld  $0x17,%xmm0
paddd  %xmm10,%xmm0
cvttps2dq %xmm0,%xmm0
pshufd $0xf5,%xmm0,%xmm3
pmuludq %xmm13,%xmm0
pshufd $0xe8,%xmm0,%xmm0
pmuludq %xmm13,%xmm3
pshufd $0xe8,%xmm3,%xmm3
punpckldq %xmm3,%xmm0
pslld  $0x17,%xmm2
paddd  %xmm10,%xmm2
cvttps2dq %xmm2,%xmm2
pshufd $0xf5,%xmm2,%xmm3
pmuludq %xmm13,%xmm2
pshufd $0xe8,%xmm2,%xmm2
pmuludq %xmm13,%xmm3
pshufd $0xe8,%xmm3,%xmm3
punpckldq %xmm3,%xmm2
pslld  $0x17,%xmm1
paddd  %xmm10,%xmm1
cvttps2dq %xmm1,%xmm1
pshufd $0xf5,%xmm1,%xmm3
pmuludq %xmm13,%xmm1
pshufd $0xe8,%xmm1,%xmm1
pmuludq %xmm13,%xmm3
pshufd $0xe8,%xmm3,%xmm3
punpckldq %xmm3,%xmm1
pand   %xmm6,%xmm0
pand   %xmm6,%xmm7
pcmpeqd %xmm11,%xmm7
pcmpeqd %xmm11,%xmm0
packssdw %xmm0,%xmm7
pand   %xmm6,%xmm1
pand   %xmm6,%xmm2
pcmpeqd %xmm11,%xmm2
pcmpeqd %xmm11,%xmm1
packssdw %xmm1,%xmm2
packsswb %xmm2,%xmm7
movdqa 0x70(%rsp),%xmm2
paddb  0xc42(%rip),%xmm7
movdqa %xmm7,0x20(%rsp,%rcx,1)
add    $0x20,%rcx
movdqa 0xc50(%rip),%xmm0
paddd  %xmm0,%xmm14
paddd  %xmm0,%xmm12
paddd  %xmm0,%xmm2
movdqa (%rsp),%xmm1
paddd  %xmm0,%xmm1
movdqa %xmm1,(%rsp)
movdqa (%rsp),%xmm4
add    $0xfffffffffffffffe,%rax
jne    11d0 <dump_bin+0xb0>
movdqa 0xc2d(%rip),%xmm2
movdqa %xmm2,%xmm0
psubd  0x40(%rsp),%xmm0
movdqa %xmm2,%xmm4
psubd  %xmm15,%xmm4
movdqa %xmm2,%xmm3
psubd  0x50(%rsp),%xmm3
psubd  %xmm8,%xmm2
test   $0x1,%r8b
je     15d2 <dump_bin+0x4b2>
paddd  %xmm5,%xmm2
paddd  %xmm5,%xmm3
paddd  %xmm5,%xmm4
paddd  %xmm5,%xmm0
pslld  $0x17,%xmm0
movdqa 0xb93(%rip),%xmm8
paddd  %xmm8,%xmm0
cvttps2dq %xmm0,%xmm0
movdqa 0xb92(%rip),%xmm5
pshufd $0xf5,%xmm0,%xmm7
pmuludq %xmm5,%xmm0
pshufd $0xe8,%xmm0,%xmm1
pmuludq %xmm5,%xmm7
pshufd $0xe8,%xmm7,%xmm0
punpckldq %xmm0,%xmm1
pslld  $0x17,%xmm4
paddd  %xmm8,%xmm4
cvttps2dq %xmm4,%xmm0
pshufd $0xf5,%xmm0,%xmm7
pmuludq %xmm5,%xmm0
pshufd $0xe8,%xmm0,%xmm4
pmuludq %xmm5,%xmm7
pshufd $0xe8,%xmm7,%xmm0
punpckldq %xmm0,%xmm4
pslld  $0x17,%xmm3
paddd  %xmm8,%xmm3
cvttps2dq %xmm3,%xmm0
pshufd $0xf5,%xmm0,%xmm3
pmuludq %xmm5,%xmm0
pshufd $0xe8,%xmm0,%xmm0
pmuludq %xmm5,%xmm3
pshufd $0xe8,%xmm3,%xmm3
punpckldq %xmm3,%xmm0
pslld  $0x17,%xmm2
paddd  %xmm8,%xmm2
cvttps2dq %xmm2,%xmm2
pshufd $0xf5,%xmm2,%xmm3
pmuludq %xmm5,%xmm2
pshufd $0xe8,%xmm2,%xmm2
pmuludq %xmm5,%xmm3
pshufd $0xe8,%xmm3,%xmm3
punpckldq %xmm3,%xmm2
pand   %xmm6,%xmm2
pand   %xmm6,%xmm0
pand   %xmm6,%xmm4
pand   %xmm6,%xmm1
pxor   %xmm3,%xmm3
pcmpeqd %xmm3,%xmm1
pcmpeqd %xmm3,%xmm4
packssdw %xmm4,%xmm1
pcmpeqd %xmm3,%xmm0
pcmpeqd %xmm3,%xmm2
packssdw %xmm2,%xmm0
packsswb %xmm0,%xmm1
paddb  0xad4(%rip),%xmm1
movdqa %xmm1,0x10(%rsp,%rcx,1)
cmp    %r9,%rsi
je     15f8 <dump_bin+0x4d8>
mov    %esi,%eax
not    %eax
add    %r9d,%eax
xchg   %ax,%ax
bt     %eax,%edi
mov    $0x31,%cl
adc    $0xff,%cl
mov    %cl,0x10(%rsp,%rsi,1)
add    $0x1,%rsi
add    $0xffffffff,%eax
cmp    %rsi,%r9
jne    15e0 <dump_bin+0x4c0>
movb   $0x0,0x10(%rsp,%r9,1)
lea    0x10(%rsp),%rdi
mov    %rdx,%rsi
call   1030 <fputs@plt>
add    $0x88,%rsp
ret
movdqa 0x9e5(%rip),%xmm2
movdqa 0x9ed(%rip),%xmm3
movdqa 0x9f5(%rip),%xmm4
movdqa 0x9fd(%rip),%xmm0
xor    %ecx,%ecx
test   $0x1,%r8b
jne    14cf <dump_bin+0x3af>
jmp    15d2 <dump_bin+0x4b2>

LLVM IR (-O0):
@.str = [2 x i8] c"0\00"
@.str.1 = [3 x i8] c"%s\00"
define void @dump_bin(i32 %0, i32 %1, i32* %2) {
%4 = alloca i32
%5 = alloca i32
%6 = alloca i32*
%7 = alloca i32
%8 = alloca [33 x i8]
store i32 %0, i32* %4
store i32 %1, i32* %5
store i32* %2, i32** %6
%9 = load i32, i32* %5
%10 = icmp ne i32 %9, 0
br i1 %10, label %14, label %11
11: ; preds = %3
%12 = load i32*, i32** %6
%13 = call i32 (i32*, i8*, ...) @fprintf(i32* %12, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
br label %63
14: ; preds = %3
%15 = load i32, i32* %5
%16 = icmp slt i32 %15, 32
br i1 %16, label %17, label %19
17: ; preds = %14
%18 = load i32, i32* %5
br label %20
19: ; preds = %14
br label %20
20: ; preds = %19, %17
%21 = phi i32 [ %18, %17 ], [ 32, %19 ]
%22 = icmp sgt i32 %21, 1
br i1 %22, label %23, label %31
23: ; preds = %20
%24 = load i32, i32* %5
%25 = icmp slt i32 %24, 32
br i1 %25, label %26, label %28
26: ; preds = %23
%27 = load i32, i32* %5
br label %29
28: ; preds = %23
br label %29
29: ; preds = %28, %26
%30 = phi i32 [ %27, %26 ], [ 32, %28 ]
br label %32
31: ; preds = %20
br label %32
32: ; preds = %31, %29
%33 = phi i32 [ %30, %29 ], [ 1, %31 ]
store i32 %33, i32* %5
store i32 0, i32* %7
br label %34
34: ; preds = %53, %32
%35 = load i32, i32* %7
%36 = load i32, i32* %5
%37 = icmp slt i32 %35, %36
br i1 %37, label %38, label %56
38: ; preds = %34
%39 = load i32, i32* %4
%40 = load i32, i32* %5
%41 = load i32, i32* %7
%42 = sub nsw i32 %40, %41
%43 = sub nsw i32 %42, 1
%44 = shl i32 1, %43
%45 = and i32 %39, %44
%46 = icmp ne i32 %45, 0
%47 = zext i1 %46 to i64
%48 = select i1 %46, i32 49, i32 48
%49 = trunc i32 %48 to i8
%50 = load i32, i32* %7
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds [33 x i8], [33 x i8]* %8, i64 0, i64 %51
store i8 %49, i8* %52
br label %53
53: ; preds = %38
%54 = load i32, i32* %7
%55 = add nsw i32 %54, 1
store i32 %55, i32* %7
br label %34
56: ; preds = %34
%57 = load i32, i32* %5
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds [33 x i8], [33 x i8]* %8, i64 0, i64 %58
store i8 0, i8* %59
%60 = load i32*, i32** %6
%61 = getelementptr inbounds [33 x i8], [33 x i8]* %8, i64 0, i64 0
%62 = call i32 (i32*, i8*, ...) @fprintf(i32* %60, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i8* %61)
br label %63
63: ; preds = %56, %11
ret void
}

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