#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 */
char *BinString(int, char *, int);
int /*<<< orphan*/ assert(int);
int /*<<< orphan*/ printf(char *, ...);
scalar_t__ strcmp(char const *, char *);
void TestBinString() {
  printf("\n-------------------------------------------------------------------"
         "---------\n");
  printf("  Test BinString()\n");
  printf("---------------------------------------------------------------------"
         "-------\n");
  {
    char buf[9];
    printf("Get Binary string %02x = \"%s\": ", 0x00, "00000000");
    const char *res = BinString(0x00, buf, 9);
    assert(strcmp(res, "00000000") == 0);
    printf("[OK]\n");
  };
  {
    char buf[9];
    printf("Get Binary string %02x = \"%s\": ", 0xFF, "11111111");
    const char *res = BinString(0xFF, buf, 9);
    assert(strcmp(res, "11111111") == 0);
    printf("[OK]\n");
  };
  {
    char buf[9];
    printf("Get Binary string %02x = \"%s\": ", 0x7F, "01111111");
    const char *res = BinString(0x7F, buf, 9);
    assert(strcmp(res, "01111111") == 0);
    printf("[OK]\n");
  };
  {
    char buf[9];
    printf("Get Binary string %02x = \"%s\": ", 0xFE, "11111110");
    const char *res = BinString(0xFE, buf, 9);
    assert(strcmp(res, "11111110") == 0);
    printf("[OK]\n");
  };
  {
    char buf[9];
    printf("Get Binary string %02x = \"%s\": ", 0x77, "01110111");
    const char *res = BinString(0x77, buf, 9);
    assert(strcmp(res, "01110111") == 0);
    printf("[OK]\n");
  };
  {
    char buf[9];
    printf("Get Binary string %02x = \"%s\": ", 0x88, "10001000");
    const char *res = BinString(0x88, buf, 9);
    assert(strcmp(res, "10001000") == 0);
    printf("[OK]\n");
  };
  printf("---------------------------------------------------------------------"
         "-------\n");
  printf("  Done.\n");
  printf("---------------------------------------------------------------------"
         "-------\n\n");
}


x86 assembly (clang, -O0):
<TestBinString>:
push   %rbp
mov    %rsp,%rbp
sub    $0x90,%rsp
lea    0xeae(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xeef(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe93(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xee7(%rip),%rdi
xor    %esi,%esi
lea    0xefe(%rip),%rdx
mov    $0x0,%al
call   1030 <printf@plt>
lea    -0x9(%rbp),%rsi
xor    %edi,%edi
mov    $0x9,%edx
call   1060 <BinString@plt>
mov    %rax,-0x18(%rbp)
mov    -0x18(%rbp),%rdi
lea    0xed8(%rip),%rsi
call   1040 <strcmp@plt>
cmp    $0x0,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1050 <assert@plt>
lea    0xec4(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe8d(%rip),%rdi
mov    $0xff,%esi
lea    0xeb0(%rip),%rdx
mov    $0x0,%al
call   1030 <printf@plt>
lea    -0x21(%rbp),%rsi
mov    $0xff,%edi
mov    $0x9,%edx
call   1060 <BinString@plt>
mov    %rax,-0x30(%rbp)
mov    -0x30(%rbp),%rdi
lea    0xe87(%rip),%rsi
call   1040 <strcmp@plt>
cmp    $0x0,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1050 <assert@plt>
lea    0xe64(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe2d(%rip),%rdi
mov    $0x7f,%esi
lea    0xe59(%rip),%rdx
mov    $0x0,%al
call   1030 <printf@plt>
lea    -0x39(%rbp),%rsi
mov    $0x7f,%edi
mov    $0x9,%edx
call   1060 <BinString@plt>
mov    %rax,-0x48(%rbp)
mov    -0x48(%rbp),%rdi
lea    0xe30(%rip),%rsi
call   1040 <strcmp@plt>
cmp    $0x0,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1050 <assert@plt>
lea    0xe04(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xdcd(%rip),%rdi
mov    $0xfe,%esi
lea    0xe02(%rip),%rdx
mov    $0x0,%al
call   1030 <printf@plt>
lea    -0x51(%rbp),%rsi
mov    $0xfe,%edi
mov    $0x9,%edx
call   1060 <BinString@plt>
mov    %rax,-0x60(%rbp)
mov    -0x60(%rbp),%rdi
lea    0xdd9(%rip),%rsi
call   1040 <strcmp@plt>
cmp    $0x0,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1050 <assert@plt>
lea    0xda4(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xd6d(%rip),%rdi
mov    $0x77,%esi
lea    0xdab(%rip),%rdx
mov    $0x0,%al
call   1030 <printf@plt>
lea    -0x69(%rbp),%rsi
mov    $0x77,%edi
mov    $0x9,%edx
call   1060 <BinString@plt>
mov    %rax,-0x78(%rbp)
mov    -0x78(%rbp),%rdi
lea    0xd82(%rip),%rsi
call   1040 <strcmp@plt>
cmp    $0x0,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1050 <assert@plt>
lea    0xd44(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xd0d(%rip),%rdi
mov    $0x88,%esi
lea    0xd54(%rip),%rdx
mov    $0x0,%al
call   1030 <printf@plt>
lea    -0x81(%rbp),%rsi
mov    $0x88,%edi
mov    $0x9,%edx
call   1060 <BinString@plt>
mov    %rax,-0x90(%rbp)
mov    -0x90(%rbp),%rdi
lea    0xd22(%rip),%rsi
call   1040 <strcmp@plt>
cmp    $0x0,%rax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1050 <assert@plt>
lea    0xcdb(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xc42(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xcf2(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xced(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
add    $0x90,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<TestBinString>:
push   %r15
push   %r14
push   %r12
push   %rbx
sub    $0x18,%rsp
lea    0xef4(%rip),%rdi
call   1030 <puts@plt>
lea    0xf36(%rip),%rdi
call   1030 <puts@plt>
lea    0xedd(%rip),%r14
mov    %r14,%rdi
call   1030 <puts@plt>
lea    0xe77(%rip),%r15
lea    0xe90(%rip),%rbx
mov    %r15,%rdi
xor    %esi,%esi
mov    %rbx,%rdx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xf(%rsp),%rsi
xor    %edi,%edi
mov    $0x9,%edx
call   1070 <BinString@plt>
mov    %rax,%rdi
mov    %rbx,%rsi
call   1050 <strcmp@plt>
xor    %edi,%edi
test   %rax,%rax
sete   %dil
call   1060 <assert@plt>
lea    0xee7(%rip),%r12
mov    %r12,%rdi
call   1030 <puts@plt>
lea    0xe4a(%rip),%rbx
mov    %r15,%rdi
mov    $0xff,%esi
mov    %rbx,%rdx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xf(%rsp),%rsi
mov    $0xff,%edi
mov    $0x9,%edx
call   1070 <BinString@plt>
mov    %rax,%rdi
mov    %rbx,%rsi
call   1050 <strcmp@plt>
xor    %edi,%edi
test   %rax,%rax
sete   %dil
call   1060 <assert@plt>
mov    %r12,%rdi
call   1030 <puts@plt>
lea    0xe05(%rip),%rbx
mov    %r15,%rdi
mov    $0x7f,%esi
mov    %rbx,%rdx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xf(%rsp),%rsi
mov    $0x7f,%edi
mov    $0x9,%edx
call   1070 <BinString@plt>
mov    %rax,%rdi
mov    %rbx,%rsi
call   1050 <strcmp@plt>
xor    %edi,%edi
test   %rax,%rax
sete   %dil
call   1060 <assert@plt>
mov    %r12,%rdi
call   1030 <puts@plt>
lea    0xdc0(%rip),%rbx
mov    %r15,%rdi
mov    $0xfe,%esi
mov    %rbx,%rdx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xf(%rsp),%rsi
mov    $0xfe,%edi
mov    $0x9,%edx
call   1070 <BinString@plt>
mov    %rax,%rdi
mov    %rbx,%rsi
call   1050 <strcmp@plt>
xor    %edi,%edi
test   %rax,%rax
sete   %dil
call   1060 <assert@plt>
mov    %r12,%rdi
call   1030 <puts@plt>
lea    0xd7b(%rip),%rbx
mov    %r15,%rdi
mov    $0x77,%esi
mov    %rbx,%rdx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xf(%rsp),%rsi
mov    $0x77,%edi
mov    $0x9,%edx
call   1070 <BinString@plt>
mov    %rax,%rdi
mov    %rbx,%rsi
call   1050 <strcmp@plt>
xor    %edi,%edi
test   %rax,%rax
sete   %dil
call   1060 <assert@plt>
mov    %r12,%rdi
call   1030 <puts@plt>
lea    0xd36(%rip),%rbx
mov    %r15,%rdi
mov    $0x88,%esi
mov    %rbx,%rdx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xf(%rsp),%rsi
mov    $0x88,%edi
mov    $0x9,%edx
call   1070 <BinString@plt>
mov    %rax,%rdi
mov    %rbx,%rsi
call   1050 <strcmp@plt>
xor    %edi,%edi
test   %rax,%rax
sete   %dil
call   1060 <assert@plt>
mov    %r12,%rdi
call   1030 <puts@plt>
mov    %r14,%rdi
call   1030 <puts@plt>
lea    0xd4f(%rip),%rdi
call   1030 <puts@plt>
lea    0xd4b(%rip),%rdi
call   1030 <puts@plt>
add    $0x18,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
@.str = [79 x i8] c"\0A----------------------------------------------------------------------------\0A\00"
@.str.1 = [20 x i8] c" Test BinString()\0A\00"
@.str.2 = [78 x i8] c"----------------------------------------------------------------------------\0A\00"
@.str.3 = [32 x i8] c"Get Binary string %02x = \22%s\22: \00"
@.str.4 = [9 x i8] c"00000000\00"
@.str.5 = [6 x i8] c"[OK]\0A\00"
@.str.6 = [9 x i8] c"11111111\00"
@.str.7 = [9 x i8] c"01111111\00"
@.str.8 = [9 x i8] c"11111110\00"
@.str.9 = [9 x i8] c"01110111\00"
@.str.10 = [9 x i8] c"10001000\00"
@.str.11 = [9 x i8] c" Done.\0A\00"
@.str.12 = [79 x i8] c"----------------------------------------------------------------------------\0A\0A\00"
define void @TestBinString() {
%1 = alloca [9 x i8]
%2 = alloca i8*
%3 = alloca [9 x i8]
%4 = alloca i8*
%5 = alloca [9 x i8]
%6 = alloca i8*
%7 = alloca [9 x i8]
%8 = alloca i8*
%9 = alloca [9 x i8]
%10 = alloca i8*
%11 = alloca [9 x i8]
%12 = alloca i8*
%13 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([79 x i8], [79 x i8]* @.str, i64 0, i64 0))
%14 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.1, i64 0, i64 0))
%15 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([78 x i8], [78 x i8]* @.str.2, i64 0, i64 0))
%16 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.3, i64 0, i64 0), i32 0, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0))
%17 = getelementptr inbounds [9 x i8], [9 x i8]* %1, i64 0, i64 0
%18 = call i8* @BinString(i32 0, i8* %17, i32 9)
store i8* %18, i8** %2
%19 = load i8*, i8** %2
%20 = call i64 @strcmp(i8* %19, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0))
%21 = icmp eq i64 %20, 0
%22 = zext i1 %21 to i32
%23 = call i32 @assert(i32 %22)
%24 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0))
%25 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.3, i64 0, i64 0), i32 255, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.6, i64 0, i64 0))
%26 = getelementptr inbounds [9 x i8], [9 x i8]* %3, i64 0, i64 0
%27 = call i8* @BinString(i32 255, i8* %26, i32 9)
store i8* %27, i8** %4
%28 = load i8*, i8** %4
%29 = call i64 @strcmp(i8* %28, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.6, i64 0, i64 0))
%30 = icmp eq i64 %29, 0
%31 = zext i1 %30 to i32
%32 = call i32 @assert(i32 %31)
%33 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0))
%34 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.3, i64 0, i64 0), i32 127, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.7, i64 0, i64 0))
%35 = getelementptr inbounds [9 x i8], [9 x i8]* %5, i64 0, i64 0
%36 = call i8* @BinString(i32 127, i8* %35, i32 9)
store i8* %36, i8** %6
%37 = load i8*, i8** %6
%38 = call i64 @strcmp(i8* %37, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.7, i64 0, i64 0))
%39 = icmp eq i64 %38, 0
%40 = zext i1 %39 to i32
%41 = call i32 @assert(i32 %40)
%42 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0))
%43 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.3, i64 0, i64 0), i32 254, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.8, i64 0, i64 0))
%44 = getelementptr inbounds [9 x i8], [9 x i8]* %7, i64 0, i64 0
%45 = call i8* @BinString(i32 254, i8* %44, i32 9)
store i8* %45, i8** %8
%46 = load i8*, i8** %8
%47 = call i64 @strcmp(i8* %46, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.8, i64 0, i64 0))
%48 = icmp eq i64 %47, 0
%49 = zext i1 %48 to i32
%50 = call i32 @assert(i32 %49)
%51 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0))
%52 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.3, i64 0, i64 0), i32 119, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.9, i64 0, i64 0))
%53 = getelementptr inbounds [9 x i8], [9 x i8]* %9, i64 0, i64 0
%54 = call i8* @BinString(i32 119, i8* %53, i32 9)
store i8* %54, i8** %10
%55 = load i8*, i8** %10
%56 = call i64 @strcmp(i8* %55, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.9, i64 0, i64 0))
%57 = icmp eq i64 %56, 0
%58 = zext i1 %57 to i32
%59 = call i32 @assert(i32 %58)
%60 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0))
%61 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.3, i64 0, i64 0), i32 136, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.10, i64 0, i64 0))
%62 = getelementptr inbounds [9 x i8], [9 x i8]* %11, i64 0, i64 0
%63 = call i8* @BinString(i32 136, i8* %62, i32 9)
store i8* %63, i8** %12
%64 = load i8*, i8** %12
%65 = call i64 @strcmp(i8* %64, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.10, i64 0, i64 0))
%66 = icmp eq i64 %65, 0
%67 = zext i1 %66 to i32
%68 = call i32 @assert(i32 %67)
%69 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0))
%70 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([78 x i8], [78 x i8]* @.str.2, i64 0, i64 0))
%71 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.11, i64 0, i64 0))
%72 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([79 x i8], [79 x i8]* @.str.12, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str.3 = [32 x i8] c"Get Binary string %02x = \22%s\22: \00"
@.str.4 = [9 x i8] c"00000000\00"
@.str.6 = [9 x i8] c"11111111\00"
@.str.7 = [9 x i8] c"01111111\00"
@.str.8 = [9 x i8] c"11111110\00"
@.str.9 = [9 x i8] c"01110111\00"
@.str.10 = [9 x i8] c"10001000\00"
@str = [78 x i8] c"\0A----------------------------------------------------------------------------\00"
@str.13 = [19 x i8] c" Test BinString()\00"
@str.20 = [5 x i8] c"[OK]\00"
@str.21 = [77 x i8] c"----------------------------------------------------------------------------\00"
@str.22 = [8 x i8] c" Done.\00"
@str.23 = [78 x i8] c"----------------------------------------------------------------------------\0A\00"
define void @TestBinString() {
%1 = alloca [9 x i8]
%2 = alloca [9 x i8]
%3 = alloca [9 x i8]
%4 = alloca [9 x i8]
%5 = alloca [9 x i8]
%6 = alloca [9 x i8]
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([78 x i8], [78 x i8]* @str, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @str.13, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([77 x i8], [77 x i8]* @str.21, i64 0, i64 0))
%10 = getelementptr inbounds [9 x i8], [9 x i8]* %1, i64 0, i64 0
%11 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str.3, i64 0, i64 0), i32 0, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0))
%12 = call i8* @BinString(i32 0, i8* %10, i32 9)
%13 = call i64 @strcmp(i8* %12, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0))
%14 = icmp eq i64 %13, 0
%15 = zext i1 %14 to i32
%16 = call i32 @assert(i32 %15)
%17 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @str.20, i64 0, i64 0))
%18 = getelementptr inbounds [9 x i8], [9 x i8]* %2, i64 0, i64 0
%19 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str.3, i64 0, i64 0), i32 255, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.6, i64 0, i64 0))
%20 = call i8* @BinString(i32 255, i8* %18, i32 9)
%21 = call i64 @strcmp(i8* %20, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.6, i64 0, i64 0))
%22 = icmp eq i64 %21, 0
%23 = zext i1 %22 to i32
%24 = call i32 @assert(i32 %23)
%25 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @str.20, i64 0, i64 0))
%26 = getelementptr inbounds [9 x i8], [9 x i8]* %3, i64 0, i64 0
%27 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str.3, i64 0, i64 0), i32 127, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.7, i64 0, i64 0))
%28 = call i8* @BinString(i32 127, i8* %26, i32 9)
%29 = call i64 @strcmp(i8* %28, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.7, i64 0, i64 0))
%30 = icmp eq i64 %29, 0
%31 = zext i1 %30 to i32
%32 = call i32 @assert(i32 %31)
%33 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @str.20, i64 0, i64 0))
%34 = getelementptr inbounds [9 x i8], [9 x i8]* %4, i64 0, i64 0
%35 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str.3, i64 0, i64 0), i32 254, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.8, i64 0, i64 0))
%36 = call i8* @BinString(i32 254, i8* %34, i32 9)
%37 = call i64 @strcmp(i8* %36, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.8, i64 0, i64 0))
%38 = icmp eq i64 %37, 0
%39 = zext i1 %38 to i32
%40 = call i32 @assert(i32 %39)
%41 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @str.20, i64 0, i64 0))
%42 = getelementptr inbounds [9 x i8], [9 x i8]* %5, i64 0, i64 0
%43 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str.3, i64 0, i64 0), i32 119, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.9, i64 0, i64 0))
%44 = call i8* @BinString(i32 119, i8* %42, i32 9)
%45 = call i64 @strcmp(i8* %44, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.9, i64 0, i64 0))
%46 = icmp eq i64 %45, 0
%47 = zext i1 %46 to i32
%48 = call i32 @assert(i32 %47)
%49 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @str.20, i64 0, i64 0))
%50 = getelementptr inbounds [9 x i8], [9 x i8]* %6, i64 0, i64 0
%51 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str.3, i64 0, i64 0), i32 136, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.10, i64 0, i64 0))
%52 = call i8* @BinString(i32 136, i8* %50, i32 9)
%53 = call i64 @strcmp(i8* %52, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.10, i64 0, i64 0))
%54 = icmp eq i64 %53, 0
%55 = zext i1 %54 to i32
%56 = call i32 @assert(i32 %55)
%57 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @str.20, i64 0, i64 0))
%58 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([77 x i8], [77 x i8]* @str.21, i64 0, i64 0))
%59 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @str.22, i64 0, i64 0))
%60 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([78 x i8], [78 x i8]* @str.23, i64 0, i64 0))
ret void
}