#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 /*<<< orphan*/ printf(char *);
int /*<<< orphan*/ sprintf(char *, char *, unsigned char);
void printBinary(void *hex, int numBytes) {
  char hexaDecimal[16];
  int i;
  if (numBytes == 8) {
    unsigned long long int *hex2 = hex;
    sprintf(hexaDecimal, "%16.16LX", *hex2);
  } else if (numBytes == 4) {
    unsigned int *hex2 = hex;
    sprintf(hexaDecimal, "%8.8X", *hex2);
  } else if (numBytes == 2) {
    unsigned short int *hex2 = hex;
    sprintf(hexaDecimal, "%4.4X", *hex2);
  } else if (numBytes == 1) {
    unsigned char *hex2 = hex;
    sprintf(hexaDecimal, "%2.2X", *hex2);
  } else {
    return;
  }
  for (i = 0; i < 2 * numBytes; i++) {
    switch (hexaDecimal[i]) {
    case '0':
      printf("0000");
      break;
    case '1':
      printf("0001");
      break;
    case '2':
      printf("0010");
      break;
    case '3':
      printf("0011");
      break;
    case '4':
      printf("0100");
      break;
    case '5':
      printf("0101");
      break;
    case '6':
      printf("0110");
      break;
    case '7':
      printf("0111");
      break;
    case '8':
      printf("1000");
      break;
    case '9':
      printf("1001");
      break;
    case 'A':
      printf("1010");
      break;
    case 'B':
      printf("1011");
      break;
    case 'C':
      printf("1100");
      break;
    case 'D':
      printf("1101");
      break;
    case 'E':
      printf("1110");
      break;
    case 'F':
      printf("1111");
      break;
    }
  }
  printf("\n");
}


x86 assembly (clang, -O0):
<printBinary>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
mov    %rdi,-0x8(%rbp)
mov    %esi,-0xc(%rbp)
cmpl   $0x8,-0xc(%rbp)
jne    1160 <printBinary+0x40>
mov    -0x8(%rbp),%rax
mov    %rax,-0x30(%rbp)
lea    -0x20(%rbp),%rdi
mov    -0x30(%rbp),%rax
mov    (%rax),%rax
lea    0xf09(%rip),%rsi
movzbl %al,%edx
call   1040 <sprintf@plt>
jmp    1203 <printBinary+0xe3>
cmpl   $0x4,-0xc(%rbp)
jne    1190 <printBinary+0x70>
mov    -0x8(%rbp),%rax
mov    %rax,-0x38(%rbp)
lea    -0x20(%rbp),%rdi
mov    -0x38(%rbp),%rax
mov    (%rax),%eax
lea    0xee2(%rip),%rsi
movzbl %al,%edx
call   1040 <sprintf@plt>
jmp    11fe <printBinary+0xde>
cmpl   $0x2,-0xc(%rbp)
jne    11c1 <printBinary+0xa1>
mov    -0x8(%rbp),%rax
mov    %rax,-0x40(%rbp)
lea    -0x20(%rbp),%rdi
mov    -0x40(%rbp),%rax
mov    (%rax),%ax
lea    0xeb7(%rip),%rsi
movzbl %al,%edx
call   1040 <sprintf@plt>
jmp    11f9 <printBinary+0xd9>
cmpl   $0x1,-0xc(%rbp)
jne    11ef <printBinary+0xcf>
mov    -0x8(%rbp),%rax
mov    %rax,-0x48(%rbp)
lea    -0x20(%rbp),%rdi
mov    -0x48(%rbp),%rax
lea    0xe8f(%rip),%rsi
movzbl (%rax),%edx
call   1040 <sprintf@plt>
jmp    11f4 <printBinary+0xd4>
jmp    1374 <printBinary+0x254>
jmp    11f9 <printBinary+0xd9>
jmp    11fe <printBinary+0xde>
jmp    1203 <printBinary+0xe3>
movl   $0x0,-0x24(%rbp)
mov    -0x24(%rbp),%eax
mov    -0xc(%rbp),%ecx
shl    $0x1,%ecx
cmp    %ecx,%eax
jge    1368 <printBinary+0x248>
movslq -0x24(%rbp),%rax
movsbl -0x20(%rbp,%rax,1),%eax
add    $0xffffffd0,%eax
mov    %eax,%ecx
mov    %rcx,-0x50(%rbp)
sub    $0x16,%eax
ja     1355 <printBinary+0x235>
mov    -0x50(%rbp),%rax
lea    0xdbf(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
lea    0xe26(%rip),%rdi
call   1030 <printf@plt>
jmp    1355 <printBinary+0x235>
lea    0xe1a(%rip),%rdi
call   1030 <printf@plt>
jmp    1355 <printBinary+0x235>
lea    0xe0e(%rip),%rdi
call   1030 <printf@plt>
jmp    1355 <printBinary+0x235>
lea    0xe02(%rip),%rdi
call   1030 <printf@plt>
jmp    1355 <printBinary+0x235>
lea    0xdf6(%rip),%rdi
call   1030 <printf@plt>
jmp    1355 <printBinary+0x235>
lea    0xdea(%rip),%rdi
call   1030 <printf@plt>
jmp    1355 <printBinary+0x235>
lea    0xdde(%rip),%rdi
call   1030 <printf@plt>
jmp    1355 <printBinary+0x235>
lea    0xdd2(%rip),%rdi
call   1030 <printf@plt>
jmp    1355 <printBinary+0x235>
lea    0xdc6(%rip),%rdi
call   1030 <printf@plt>
jmp    1355 <printBinary+0x235>
lea    0xdba(%rip),%rdi
call   1030 <printf@plt>
jmp    1355 <printBinary+0x235>
lea    0xdae(%rip),%rdi
call   1030 <printf@plt>
jmp    1355 <printBinary+0x235>
lea    0xda2(%rip),%rdi
call   1030 <printf@plt>
jmp    1355 <printBinary+0x235>
lea    0xd96(%rip),%rdi
call   1030 <printf@plt>
jmp    1355 <printBinary+0x235>
lea    0xd8a(%rip),%rdi
call   1030 <printf@plt>
jmp    1355 <printBinary+0x235>
lea    0xd7e(%rip),%rdi
call   1030 <printf@plt>
jmp    1355 <printBinary+0x235>
lea    0xd72(%rip),%rdi
call   1030 <printf@plt>
jmp    135a <printBinary+0x23a>
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    120a <printBinary+0xea>
lea    0xd58(%rip),%rdi
call   1030 <printf@plt>
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<printBinary>:
push   %rbp
push   %r15
push   %r14
push   %rbx
sub    $0x18,%rsp
mov    %esi,%r14d
lea    -0x1(%r14),%eax
cmp    $0x7,%eax
ja     116e <printBinary+0x3e>
lea    0xeb3(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
movzbl (%rdi),%edx
lea    0xf31(%rip),%rsi
jmp    118f <printBinary+0x5f>
movzbl (%rdi),%edx
lea    0xf1f(%rip),%rsi
jmp    118f <printBinary+0x5f>
add    $0x18,%rsp
pop    %rbx
pop    %r14
pop    %r15
pop    %rbp
ret
movzbl (%rdi),%edx
lea    0xf02(%rip),%rsi
jmp    118f <printBinary+0x5f>
movzbl (%rdi),%edx
lea    0xeed(%rip),%rsi
mov    %rsp,%rdi
call   1050 <sprintf@plt>
add    %r14d,%r14d
xor    %ebx,%ebx
mov    $0x7e03ff,%r15d
lea    0xe77(%rip),%rbp
jmp    11b9 <printBinary+0x89>
nopl   0x0(%rax,%rax,1)
add    $0x1,%rbx
cmp    %rbx,%r14
je     11dc <printBinary+0xac>
movsbq (%rsp,%rbx,1),%rax
add    $0xffffffffffffffd0,%rax
cmp    $0x16,%eax
ja     11b0 <printBinary+0x80>
bt     %eax,%r15d
jae    11b0 <printBinary+0x80>
movslq 0x0(%rbp,%rax,4),%rdi
add    %rbp,%rdi
call   1040 <printf@plt>
jmp    11b0 <printBinary+0x80>
mov    $0xa,%edi
add    $0x18,%rsp
pop    %rbx
pop    %r14
pop    %r15
pop    %rbp
jmp    1030 <putchar@plt>

LLVM IR (-O0):
@.str = [9 x i8] c"%16.16LX\00"
@.str.1 = [6 x i8] c"%8.8X\00"
@.str.2 = [6 x i8] c"%4.4X\00"
@.str.3 = [6 x i8] c"%2.2X\00"
@.str.4 = [5 x i8] c"0000\00"
@.str.5 = [5 x i8] c"0001\00"
@.str.6 = [5 x i8] c"0010\00"
@.str.7 = [5 x i8] c"0011\00"
@.str.8 = [5 x i8] c"0100\00"
@.str.9 = [5 x i8] c"0101\00"
@.str.10 = [5 x i8] c"0110\00"
@.str.11 = [5 x i8] c"0111\00"
@.str.12 = [5 x i8] c"1000\00"
@.str.13 = [5 x i8] c"1001\00"
@.str.14 = [5 x i8] c"1010\00"
@.str.15 = [5 x i8] c"1011\00"
@.str.16 = [5 x i8] c"1100\00"
@.str.17 = [5 x i8] c"1101\00"
@.str.18 = [5 x i8] c"1110\00"
@.str.19 = [5 x i8] c"1111\00"
@.str.20 = [2 x i8] c"\0A\00"
define void @printBinary(i8* %0, i32 %1) {
%3 = alloca i8*
%4 = alloca i32
%5 = alloca [16 x i8]
%6 = alloca i32
%7 = alloca i64*
%8 = alloca i32*
%9 = alloca i16*
%10 = alloca i8*
store i8* %0, i8** %3
store i32 %1, i32* %4
%11 = load i32, i32* %4
%12 = icmp eq i32 %11, 8
br i1 %12, label %13, label %21
13: ; preds = %2
%14 = load i8*, i8** %3
%15 = bitcast i8* %14 to i64*
store i64* %15, i64** %7
%16 = getelementptr inbounds [16 x i8], [16 x i8]* %5, i64 0, i64 0
%17 = load i64*, i64** %7
%18 = load i64, i64* %17
%19 = trunc i64 %18 to i8
%20 = call i32 @sprintf(i8* %16, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8 zeroext %19)
br label %56
21: ; preds = %2
%22 = load i32, i32* %4
%23 = icmp eq i32 %22, 4
br i1 %23, label %24, label %32
24: ; preds = %21
%25 = load i8*, i8** %3
%26 = bitcast i8* %25 to i32*
store i32* %26, i32** %8
%27 = getelementptr inbounds [16 x i8], [16 x i8]* %5, i64 0, i64 0
%28 = load i32*, i32** %8
%29 = load i32, i32* %28
%30 = trunc i32 %29 to i8
%31 = call i32 @sprintf(i8* %27, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8 zeroext %30)
br label %55
32: ; preds = %21
%33 = load i32, i32* %4
%34 = icmp eq i32 %33, 2
br i1 %34, label %35, label %43
35: ; preds = %32
%36 = load i8*, i8** %3
%37 = bitcast i8* %36 to i16*
store i16* %37, i16** %9
%38 = getelementptr inbounds [16 x i8], [16 x i8]* %5, i64 0, i64 0
%39 = load i16*, i16** %9
%40 = load i16, i16* %39
%41 = trunc i16 %40 to i8
%42 = call i32 @sprintf(i8* %38, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0), i8 zeroext %41)
br label %54
43: ; preds = %32
%44 = load i32, i32* %4
%45 = icmp eq i32 %44, 1
br i1 %45, label %46, label %52
46: ; preds = %43
%47 = load i8*, i8** %3
store i8* %47, i8** %10
%48 = getelementptr inbounds [16 x i8], [16 x i8]* %5, i64 0, i64 0
%49 = load i8*, i8** %10
%50 = load i8, i8* %49
%51 = call i32 @sprintf(i8* %48, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0), i8 zeroext %50)
br label %53
52: ; preds = %43
br label %106
53: ; preds = %46
br label %54
54: ; preds = %53, %35
br label %55
55: ; preds = %54, %24
br label %56
56: ; preds = %55, %13
store i32 0, i32* %6
br label %57
57: ; preds = %101, %56
%58 = load i32, i32* %6
%59 = load i32, i32* %4
%60 = mul nsw i32 2, %59
%61 = icmp slt i32 %58, %60
br i1 %61, label %62, label %104
62: ; preds = %57
%63 = load i32, i32* %6
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds [16 x i8], [16 x i8]* %5, i64 0, i64 %64
%66 = load i8, i8* %65
%67 = sext i8 %66 to i32
switch i32 %67, label %100 [
i32 48, label %68
i32 49, label %70
i32 50, label %72
i32 51, label %74
i32 52, label %76
i32 53, label %78
i32 54, label %80
i32 55, label %82
i32 56, label %84
i32 57, label %86
i32 65, label %88
i32 66, label %90
i32 67, label %92
i32 68, label %94
i32 69, label %96
i32 70, label %98
]
68: ; preds = %62
%69 = call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0))
br label %100
70: ; preds = %62
%71 = call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0))
br label %100
72: ; preds = %62
%73 = call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0))
br label %100
74: ; preds = %62
%75 = call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0))
br label %100
76: ; preds = %62
%77 = call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0))
br label %100
78: ; preds = %62
%79 = call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.9, i64 0, i64 0))
br label %100
80: ; preds = %62
%81 = call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.10, i64 0, i64 0))
br label %100
82: ; preds = %62
%83 = call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.11, i64 0, i64 0))
br label %100
84: ; preds = %62
%85 = call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.12, i64 0, i64 0))
br label %100
86: ; preds = %62
%87 = call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.13, i64 0, i64 0))
br label %100
88: ; preds = %62
%89 = call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.14, i64 0, i64 0))
br label %100
90: ; preds = %62
%91 = call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.15, i64 0, i64 0))
br label %100
92: ; preds = %62
%93 = call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.16, i64 0, i64 0))
br label %100
94: ; preds = %62
%95 = call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.17, i64 0, i64 0))
br label %100
96: ; preds = %62
%97 = call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.18, i64 0, i64 0))
br label %100
98: ; preds = %62
%99 = call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.19, i64 0, i64 0))
br label %100
100: ; preds = %62, %98, %96, %94, %92, %90, %88, %86, %84, %82, %80, %78, %76, %74, %72, %70, %68
br label %101
101: ; preds = %100
%102 = load i32, i32* %6
%103 = add nsw i32 %102, 1
store i32 %103, i32* %6
br label %57
104: ; preds = %57
%105 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.20, i64 0, i64 0))
br label %106
106: ; preds = %104, %52
ret void
}

LLVM IR (-O2):
@.str = [9 x i8] c"%16.16LX\00"
@.str.1 = [6 x i8] c"%8.8X\00"
@.str.2 = [6 x i8] c"%4.4X\00"
@.str.3 = [6 x i8] c"%2.2X\00"
@.str.4 = [5 x i8] c"0000\00"
@.str.5 = [5 x i8] c"0001\00"
@.str.6 = [5 x i8] c"0010\00"
@.str.7 = [5 x i8] c"0011\00"
@.str.8 = [5 x i8] c"0100\00"
@.str.9 = [5 x i8] c"0101\00"
@.str.10 = [5 x i8] c"0110\00"
@.str.11 = [5 x i8] c"0111\00"
@.str.12 = [5 x i8] c"1000\00"
@.str.13 = [5 x i8] c"1001\00"
@.str.14 = [5 x i8] c"1010\00"
@.str.15 = [5 x i8] c"1011\00"
@.str.16 = [5 x i8] c"1100\00"
@.str.17 = [5 x i8] c"1101\00"
@.str.18 = [5 x i8] c"1110\00"
@.str.19 = [5 x i8] c"1111\00"
@reltable.printBinary = [23 x i32] [i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str.4 to i64), i64 ptrtoint ([23 x i32]* @reltable.printBinary to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str.5 to i64), i64 ptrtoint ([23 x i32]* @reltable.printBinary to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str.6 to i64), i64 ptrtoint ([23 x i32]* @reltable.printBinary to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str.7 to i64), i64 ptrtoint ([23 x i32]* @reltable.printBinary to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str.8 to i64), i64 ptrtoint ([23 x i32]* @reltable.printBinary to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str.9 to i64), i64 ptrtoint ([23 x i32]* @reltable.printBinary to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str.10 to i64), i64 ptrtoint ([23 x i32]* @reltable.printBinary to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str.11 to i64), i64 ptrtoint ([23 x i32]* @reltable.printBinary to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str.12 to i64), i64 ptrtoint ([23 x i32]* @reltable.printBinary to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str.13 to i64), i64 ptrtoint ([23 x i32]* @reltable.printBinary to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str.4 to i64), i64 ptrtoint ([23 x i32]* @reltable.printBinary to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str.4 to i64), i64 ptrtoint ([23 x i32]* @reltable.printBinary to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str.4 to i64), i64 ptrtoint ([23 x i32]* @reltable.printBinary to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str.4 to i64), i64 ptrtoint ([23 x i32]* @reltable.printBinary to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str.4 to i64), i64 ptrtoint ([23 x i32]* @reltable.printBinary to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str.4 to i64), i64 ptrtoint ([23 x i32]* @reltable.printBinary to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str.4 to i64), i64 ptrtoint ([23 x i32]* @reltable.printBinary to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str.14 to i64), i64 ptrtoint ([23 x i32]* @reltable.printBinary to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str.15 to i64), i64 ptrtoint ([23 x i32]* @reltable.printBinary to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str.16 to i64), i64 ptrtoint ([23 x i32]* @reltable.printBinary to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str.17 to i64), i64 ptrtoint ([23 x i32]* @reltable.printBinary to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str.18 to i64), i64 ptrtoint ([23 x i32]* @reltable.printBinary to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str.19 to i64), i64 ptrtoint ([23 x i32]* @reltable.printBinary to i64)) to i32)]
define void @printBinary(i8* nocapture %0, i32 %1) {
%3 = alloca [16 x i8]
%4 = getelementptr inbounds [16 x i8], [16 x i8]* %3, i64 0, i64 0
switch i32 %1, label %47 [
i32 8, label %5
i32 4, label %10
i32 2, label %15
i32 1, label %20
]
5: ; preds = %2
%6 = bitcast i8* %0 to i64*
%7 = load i64, i64* %6
%8 = trunc i64 %7 to i8
%9 = call i32 @sprintf(i8* %4, i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8 zeroext %8)
br label %23
10: ; preds = %2
%11 = bitcast i8* %0 to i32*
%12 = load i32, i32* %11
%13 = trunc i32 %12 to i8
%14 = call i32 @sprintf(i8* %4, i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8 zeroext %13)
br label %23
15: ; preds = %2
%16 = bitcast i8* %0 to i16*
%17 = load i16, i16* %16
%18 = trunc i16 %17 to i8
%19 = call i32 @sprintf(i8* %4, i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0), i8 zeroext %18)
br label %23
20: ; preds = %2
%21 = load i8, i8* %0
%22 = call i32 @sprintf(i8* %4, i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0), i8 zeroext %21)
br label %23
23: ; preds = %5, %15, %20, %10
%24 = shl nuw nsw i32 %1, 1
%25 = zext i32 %24 to i64
br label %26
26: ; preds = %23, %42
%27 = phi i64 [ 0, %23 ], [ %43, %42 ]
%28 = getelementptr inbounds [16 x i8], [16 x i8]* %3, i64 0, i64 %27
%29 = load i8, i8* %28
%30 = sext i8 %29 to i32
%31 = add nsw i32 %30, -48
%32 = icmp ult i32 %31, 23
br i1 %32, label %33, label %42
33: ; preds = %26
%34 = lshr i32 8258559, %31
%35 = and i32 %34, 1
%36 = icmp eq i32 %35, 0
br i1 %36, label %42, label %37
37: ; preds = %33
%38 = sext i32 %31 to i64
%39 = shl i64 %38, 2
%40 = call i8* @llvm.load.relative.i64(i8* bitcast ([23 x i32]* @reltable.printBinary to i8*), i64 %39)
%41 = tail call i32 @printf(i8* dereferenceable(1) %40)
br label %42
42: ; preds = %33, %26, %37
%43 = add nuw nsw i64 %27, 1
%44 = icmp eq i64 %43, %25
br i1 %44, label %45, label %26
45: ; preds = %42
%46 = tail call i32 @putchar(i32 10)
br label %47
47: ; preds = %2, %45
ret void
}