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

/* Variables and functions */
int bitCount(int);
int clearBit(int, int);
scalar_t__ getBit(int, int);
int /*<<< orphan*/ printBin(int);
int /*<<< orphan*/ printTwoSetBitNums(int);
int /*<<< orphan*/ printf(char *, ...);
int setBit(int, int);
int main(int argc, char *argv[]) {
  int i = 0xff;
  printf("i= 0x%x RightMost Bit %s\n", i, getBit(i, 0) ? "SET" : "UNSET");
  printf("i= 0x%x LeftMost Bit %s\n", i,
         getBit(i, sizeof(i) * 8) ? "SET" : "UNSET");
  i = 0;
  printf("i= 0x%x RightMost Bit %s\n", i, getBit(i, 0) ? "SET" : "UNSET");
  printf("i= 0x%x LeftMost Bit %s\n", i,
         getBit(i, sizeof(int) * 8) ? "SET" : "UNSET");
  printf("i= 0x%x RightMost SetBit 0x%x\n", i, setBit(i, 0));
  printf("i= 0x%x LeftMost SetBit 0x%x\n", i, setBit(i, 8 * sizeof(int) - 1));
  i = 0xffff;
  printf("i= 0x%x LeftMost ClearBit 0x%x\n", i,
         clearBit(i, 8 * sizeof(int) - 1));
  for (i = 0; i < 20; i++) {
    printf("\ni = %d, bit count %d  ", i, bitCount(i));
    printBin(i);
  }
  printf("\nPrinting first 4 number whose 2 bits are set:\n");
  printTwoSetBitNums(4);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movl   $0xff,-0x14(%rbp)
mov    -0x14(%rbp),%eax
mov    %eax,-0x30(%rbp)
mov    -0x14(%rbp),%edi
xor    %esi,%esi
call   1080 <getBit@plt>
mov    -0x30(%rbp),%esi
mov    %rax,%rcx
lea    0xe70(%rip),%rdx
lea    0xe6b(%rip),%rax
cmp    $0x0,%rcx
cmovne %rax,%rdx
lea    0xe40(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x14(%rbp),%eax
mov    %eax,-0x2c(%rbp)
mov    -0x14(%rbp),%edi
mov    $0x20,%esi
call   1080 <getBit@plt>
mov    -0x2c(%rbp),%esi
mov    %rax,%rcx
lea    0xe33(%rip),%rdx
lea    0xe2e(%rip),%rax
cmp    $0x0,%rcx
cmovne %rax,%rdx
lea    0xe23(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movl   $0x0,-0x14(%rbp)
mov    -0x14(%rbp),%eax
mov    %eax,-0x28(%rbp)
mov    -0x14(%rbp),%edi
xor    %esi,%esi
call   1080 <getBit@plt>
mov    -0x28(%rbp),%esi
mov    %rax,%rcx
lea    0xdf2(%rip),%rdx
lea    0xded(%rip),%rax
cmp    $0x0,%rcx
cmovne %rax,%rdx
lea    0xdc2(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x14(%rbp),%eax
mov    %eax,-0x24(%rbp)
mov    -0x14(%rbp),%edi
mov    $0x20,%esi
call   1080 <getBit@plt>
mov    -0x24(%rbp),%esi
mov    %rax,%rcx
lea    0xdb5(%rip),%rdx
lea    0xdb0(%rip),%rax
cmp    $0x0,%rcx
cmovne %rax,%rdx
lea    0xda5(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x14(%rbp),%eax
mov    %eax,-0x20(%rbp)
mov    -0x14(%rbp),%edi
xor    %esi,%esi
call   1090 <setBit@plt>
mov    -0x20(%rbp),%esi
mov    %eax,%edx
lea    0xd9b(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x14(%rbp),%eax
mov    %eax,-0x1c(%rbp)
mov    -0x14(%rbp),%edi
mov    $0x1f,%esi
call   1090 <setBit@plt>
mov    -0x1c(%rbp),%esi
mov    %eax,%edx
lea    0xd94(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movl   $0xffff,-0x14(%rbp)
mov    -0x14(%rbp),%eax
mov    %eax,-0x18(%rbp)
mov    -0x14(%rbp),%edi
mov    $0x1f,%esi
call   1050 <clearBit@plt>
mov    -0x18(%rbp),%esi
mov    %eax,%edx
lea    0xd85(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movl   $0x0,-0x14(%rbp)
cmpl   $0x14,-0x14(%rbp)
jge    1340 <main+0x1d0>
mov    -0x14(%rbp),%eax
mov    %eax,-0x34(%rbp)
mov    -0x14(%rbp),%edi
call   1070 <bitCount@plt>
mov    -0x34(%rbp),%esi
mov    %eax,%edx
lea    0xd73(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x14(%rbp),%edi
call   1030 <printBin@plt>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    12ff <main+0x18f>
lea    0xd67(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    $0x4,%edi
call   1060 <printTwoSetBitNums@plt>
mov    -0x4(%rbp),%eax
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r15
push   %r14
push   %r12
push   %rbx
push   %rax
mov    $0xff,%edi
xor    %esi,%esi
call   1090 <getBit@plt>
test   %rax,%rax
lea    0xe7c(%rip),%r12
lea    0xe77(%rip),%rbx
mov    %rbx,%rdx
cmove  %r12,%rdx
lea    0xe4d(%rip),%r14
mov    %r14,%rdi
mov    $0xff,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0xff,%edi
mov    $0x20,%esi
call   1090 <getBit@plt>
test   %rax,%rax
mov    %rbx,%rdx
cmove  %r12,%rdx
lea    0xe3e(%rip),%r15
mov    %r15,%rdi
mov    $0xff,%esi
xor    %eax,%eax
call   1050 <printf@plt>
xor    %edi,%edi
xor    %esi,%esi
call   1090 <getBit@plt>
test   %rax,%rax
mov    %rbx,%rdx
cmove  %r12,%rdx
mov    %r14,%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1050 <printf@plt>
xor    %edi,%edi
mov    $0x20,%esi
call   1090 <getBit@plt>
test   %rax,%rax
cmove  %r12,%rbx
mov    %r15,%rdi
xor    %esi,%esi
mov    %rbx,%rdx
xor    %eax,%eax
call   1050 <printf@plt>
xor    %edi,%edi
xor    %esi,%esi
call   10a0 <setBit@plt>
lea    0xdf7(%rip),%rdi
xor    %esi,%esi
mov    %eax,%edx
xor    %eax,%eax
call   1050 <printf@plt>
xor    %edi,%edi
mov    $0x1f,%esi
call   10a0 <setBit@plt>
lea    0xdf8(%rip),%rdi
xor    %esi,%esi
mov    %eax,%edx
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0xffff,%edi
mov    $0x1f,%esi
call   1060 <clearBit@plt>
lea    0xdf5(%rip),%rdi
mov    $0xffff,%esi
mov    %eax,%edx
xor    %eax,%eax
call   1050 <printf@plt>
xor    %edi,%edi
call   1080 <bitCount@plt>
lea    0xdf9(%rip),%rbx
mov    %rbx,%rdi
xor    %esi,%esi
mov    %eax,%edx
xor    %eax,%eax
call   1050 <printf@plt>
xor    %edi,%edi
call   1040 <printBin@plt>
mov    $0x1,%edi
call   1080 <bitCount@plt>
mov    %rbx,%rdi
mov    $0x1,%esi
mov    %eax,%edx
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0x1,%edi
call   1040 <printBin@plt>
mov    $0x2,%edi
call   1080 <bitCount@plt>
mov    %rbx,%rdi
mov    $0x2,%esi
mov    %eax,%edx
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0x2,%edi
call   1040 <printBin@plt>
mov    $0x3,%edi
call   1080 <bitCount@plt>
mov    %rbx,%rdi
mov    $0x3,%esi
mov    %eax,%edx
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0x3,%edi
call   1040 <printBin@plt>
mov    $0x4,%edi
call   1080 <bitCount@plt>
mov    %rbx,%rdi
mov    $0x4,%esi
mov    %eax,%edx
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0x4,%edi
call   1040 <printBin@plt>
mov    $0x5,%edi
call   1080 <bitCount@plt>
mov    %rbx,%rdi
mov    $0x5,%esi
mov    %eax,%edx
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0x5,%edi
call   1040 <printBin@plt>
mov    $0x6,%edi
call   1080 <bitCount@plt>
mov    %rbx,%rdi
mov    $0x6,%esi
mov    %eax,%edx
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0x6,%edi
call   1040 <printBin@plt>
mov    $0x7,%edi
call   1080 <bitCount@plt>
mov    %rbx,%rdi
mov    $0x7,%esi
mov    %eax,%edx
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0x7,%edi
call   1040 <printBin@plt>
mov    $0x8,%edi
call   1080 <bitCount@plt>
mov    %rbx,%rdi
mov    $0x8,%esi
mov    %eax,%edx
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0x8,%edi
call   1040 <printBin@plt>
mov    $0x9,%edi
call   1080 <bitCount@plt>
mov    %rbx,%rdi
mov    $0x9,%esi
mov    %eax,%edx
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0x9,%edi
call   1040 <printBin@plt>
mov    $0xa,%edi
call   1080 <bitCount@plt>
mov    %rbx,%rdi
mov    $0xa,%esi
mov    %eax,%edx
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0xa,%edi
call   1040 <printBin@plt>
mov    $0xb,%edi
call   1080 <bitCount@plt>
mov    %rbx,%rdi
mov    $0xb,%esi
mov    %eax,%edx
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0xb,%edi
call   1040 <printBin@plt>
mov    $0xc,%edi
call   1080 <bitCount@plt>
mov    %rbx,%rdi
mov    $0xc,%esi
mov    %eax,%edx
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0xc,%edi
call   1040 <printBin@plt>
mov    $0xd,%edi
call   1080 <bitCount@plt>
mov    %rbx,%rdi
mov    $0xd,%esi
mov    %eax,%edx
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0xd,%edi
call   1040 <printBin@plt>
mov    $0xe,%edi
call   1080 <bitCount@plt>
mov    %rbx,%rdi
mov    $0xe,%esi
mov    %eax,%edx
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0xe,%edi
call   1040 <printBin@plt>
mov    $0xf,%edi
call   1080 <bitCount@plt>
mov    %rbx,%rdi
mov    $0xf,%esi
mov    %eax,%edx
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0xf,%edi
call   1040 <printBin@plt>
mov    $0x10,%edi
call   1080 <bitCount@plt>
mov    %rbx,%rdi
mov    $0x10,%esi
mov    %eax,%edx
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0x10,%edi
call   1040 <printBin@plt>
mov    $0x11,%edi
call   1080 <bitCount@plt>
mov    %rbx,%rdi
mov    $0x11,%esi
mov    %eax,%edx
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0x11,%edi
call   1040 <printBin@plt>
mov    $0x12,%edi
call   1080 <bitCount@plt>
mov    %rbx,%rdi
mov    $0x12,%esi
mov    %eax,%edx
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0x12,%edi
call   1040 <printBin@plt>
mov    $0x13,%edi
call   1080 <bitCount@plt>
mov    %rbx,%rdi
mov    $0x13,%esi
mov    %eax,%edx
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0x13,%edi
call   1040 <printBin@plt>
lea    0xb36(%rip),%rdi
call   1030 <puts@plt>
mov    $0x4,%edi
call   1070 <printTwoSetBitNums@plt>
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
@.str = [26 x i8] c"i= 0x%x RightMost Bit %s\0A\00"
@.str.1 = [4 x i8] c"SET\00"
@.str.2 = [6 x i8] c"UNSET\00"
@.str.3 = [25 x i8] c"i= 0x%x LeftMost Bit %s\0A\00"
@.str.4 = [31 x i8] c"i= 0x%x RightMost SetBit 0x%x\0A\00"
@.str.5 = [30 x i8] c"i= 0x%x LeftMost SetBit 0x%x\0A\00"
@.str.6 = [32 x i8] c"i= 0x%x LeftMost ClearBit 0x%x\0A\00"
@.str.7 = [24 x i8] c"\0Ai = %d, bit count %d \00"
@.str.8 = [48 x i8] c"\0APrinting first 4 number whose 2 bits are set:\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i32
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
store i32 255, i32* %6
%7 = load i32, i32* %6
%8 = load i32, i32* %6
%9 = call i64 @getBit(i32 %8, i32 0)
%10 = icmp ne i64 %9, 0
%11 = zext i1 %10 to i64
%12 = select i1 %10, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0)
%13 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str, i64 0, i64 0), i32 %7, i8* %12)
%14 = load i32, i32* %6
%15 = load i32, i32* %6
%16 = call i64 @getBit(i32 %15, i32 32)
%17 = icmp ne i64 %16, 0
%18 = zext i1 %17 to i64
%19 = select i1 %17, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0)
%20 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.3, i64 0, i64 0), i32 %14, i8* %19)
store i32 0, i32* %6
%21 = load i32, i32* %6
%22 = load i32, i32* %6
%23 = call i64 @getBit(i32 %22, i32 0)
%24 = icmp ne i64 %23, 0
%25 = zext i1 %24 to i64
%26 = select i1 %24, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0)
%27 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str, i64 0, i64 0), i32 %21, i8* %26)
%28 = load i32, i32* %6
%29 = load i32, i32* %6
%30 = call i64 @getBit(i32 %29, i32 32)
%31 = icmp ne i64 %30, 0
%32 = zext i1 %31 to i64
%33 = select i1 %31, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0)
%34 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.3, i64 0, i64 0), i32 %28, i8* %33)
%35 = load i32, i32* %6
%36 = load i32, i32* %6
%37 = call i32 @setBit(i32 %36, i32 0)
%38 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.4, i64 0, i64 0), i32 %35, i32 %37)
%39 = load i32, i32* %6
%40 = load i32, i32* %6
%41 = call i32 @setBit(i32 %40, i32 31)
%42 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.5, i64 0, i64 0), i32 %39, i32 %41)
store i32 65535, i32* %6
%43 = load i32, i32* %6
%44 = load i32, i32* %6
%45 = call i32 @clearBit(i32 %44, i32 31)
%46 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.6, i64 0, i64 0), i32 %43, i32 %45)
store i32 0, i32* %6
br label %47
47: ; preds = %57, %2
%48 = load i32, i32* %6
%49 = icmp slt i32 %48, 20
br i1 %49, label %50, label %60
50: ; preds = %47
%51 = load i32, i32* %6
%52 = load i32, i32* %6
%53 = call i32 @bitCount(i32 %52)
%54 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.7, i64 0, i64 0), i32 %51, i32 %53)
%55 = load i32, i32* %6
%56 = call i32 @printBin(i32 %55)
br label %57
57: ; preds = %50
%58 = load i32, i32* %6
%59 = add nsw i32 %58, 1
store i32 %59, i32* %6
br label %47
60: ; preds = %47
%61 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.8, i64 0, i64 0))
%62 = call i32 @printTwoSetBitNums(i32 4)
%63 = load i32, i32* %3
ret i32 %63
}

LLVM IR (-O2):
@.str = [26 x i8] c"i= 0x%x RightMost Bit %s\0A\00"
@.str.1 = [4 x i8] c"SET\00"
@.str.2 = [6 x i8] c"UNSET\00"
@.str.3 = [25 x i8] c"i= 0x%x LeftMost Bit %s\0A\00"
@.str.4 = [31 x i8] c"i= 0x%x RightMost SetBit 0x%x\0A\00"
@.str.5 = [30 x i8] c"i= 0x%x LeftMost SetBit 0x%x\0A\00"
@.str.6 = [32 x i8] c"i= 0x%x LeftMost ClearBit 0x%x\0A\00"
@.str.7 = [24 x i8] c"\0Ai = %d, bit count %d \00"
@str = [47 x i8] c"\0APrinting first 4 number whose 2 bits are set:\00"
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = tail call i64 @getBit(i32 255, i32 0)
%4 = icmp eq i64 %3, 0
%5 = select i1 %4, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0)
%6 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str, i64 0, i64 0), i32 255, i8* %5)
%7 = tail call i64 @getBit(i32 255, i32 32)
%8 = icmp eq i64 %7, 0
%9 = select i1 %8, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0)
%10 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @.str.3, i64 0, i64 0), i32 255, i8* %9)
%11 = tail call i64 @getBit(i32 0, i32 0)
%12 = icmp eq i64 %11, 0
%13 = select i1 %12, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0)
%14 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str, i64 0, i64 0), i32 0, i8* %13)
%15 = tail call i64 @getBit(i32 0, i32 32)
%16 = icmp eq i64 %15, 0
%17 = select i1 %16, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0)
%18 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @.str.3, i64 0, i64 0), i32 0, i8* %17)
%19 = tail call i32 @setBit(i32 0, i32 0)
%20 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @.str.4, i64 0, i64 0), i32 0, i32 %19)
%21 = tail call i32 @setBit(i32 0, i32 31)
%22 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @.str.5, i64 0, i64 0), i32 0, i32 %21)
%23 = tail call i32 @clearBit(i32 65535, i32 31)
%24 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str.6, i64 0, i64 0), i32 65535, i32 %23)
%25 = tail call i32 @bitCount(i32 0)
%26 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @.str.7, i64 0, i64 0), i32 0, i32 %25)
%27 = tail call i32 @printBin(i32 0)
%28 = tail call i32 @bitCount(i32 1)
%29 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @.str.7, i64 0, i64 0), i32 1, i32 %28)
%30 = tail call i32 @printBin(i32 1)
%31 = tail call i32 @bitCount(i32 2)
%32 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @.str.7, i64 0, i64 0), i32 2, i32 %31)
%33 = tail call i32 @printBin(i32 2)
%34 = tail call i32 @bitCount(i32 3)
%35 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @.str.7, i64 0, i64 0), i32 3, i32 %34)
%36 = tail call i32 @printBin(i32 3)
%37 = tail call i32 @bitCount(i32 4)
%38 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @.str.7, i64 0, i64 0), i32 4, i32 %37)
%39 = tail call i32 @printBin(i32 4)
%40 = tail call i32 @bitCount(i32 5)
%41 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @.str.7, i64 0, i64 0), i32 5, i32 %40)
%42 = tail call i32 @printBin(i32 5)
%43 = tail call i32 @bitCount(i32 6)
%44 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @.str.7, i64 0, i64 0), i32 6, i32 %43)
%45 = tail call i32 @printBin(i32 6)
%46 = tail call i32 @bitCount(i32 7)
%47 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @.str.7, i64 0, i64 0), i32 7, i32 %46)
%48 = tail call i32 @printBin(i32 7)
%49 = tail call i32 @bitCount(i32 8)
%50 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @.str.7, i64 0, i64 0), i32 8, i32 %49)
%51 = tail call i32 @printBin(i32 8)
%52 = tail call i32 @bitCount(i32 9)
%53 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @.str.7, i64 0, i64 0), i32 9, i32 %52)
%54 = tail call i32 @printBin(i32 9)
%55 = tail call i32 @bitCount(i32 10)
%56 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @.str.7, i64 0, i64 0), i32 10, i32 %55)
%57 = tail call i32 @printBin(i32 10)
%58 = tail call i32 @bitCount(i32 11)
%59 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @.str.7, i64 0, i64 0), i32 11, i32 %58)
%60 = tail call i32 @printBin(i32 11)
%61 = tail call i32 @bitCount(i32 12)
%62 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @.str.7, i64 0, i64 0), i32 12, i32 %61)
%63 = tail call i32 @printBin(i32 12)
%64 = tail call i32 @bitCount(i32 13)
%65 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @.str.7, i64 0, i64 0), i32 13, i32 %64)
%66 = tail call i32 @printBin(i32 13)
%67 = tail call i32 @bitCount(i32 14)
%68 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @.str.7, i64 0, i64 0), i32 14, i32 %67)
%69 = tail call i32 @printBin(i32 14)
%70 = tail call i32 @bitCount(i32 15)
%71 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @.str.7, i64 0, i64 0), i32 15, i32 %70)
%72 = tail call i32 @printBin(i32 15)
%73 = tail call i32 @bitCount(i32 16)
%74 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @.str.7, i64 0, i64 0), i32 16, i32 %73)
%75 = tail call i32 @printBin(i32 16)
%76 = tail call i32 @bitCount(i32 17)
%77 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @.str.7, i64 0, i64 0), i32 17, i32 %76)
%78 = tail call i32 @printBin(i32 17)
%79 = tail call i32 @bitCount(i32 18)
%80 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @.str.7, i64 0, i64 0), i32 18, i32 %79)
%81 = tail call i32 @printBin(i32 18)
%82 = tail call i32 @bitCount(i32 19)
%83 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @.str.7, i64 0, i64 0), i32 19, i32 %82)
%84 = tail call i32 @printBin(i32 19)
%85 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([47 x i8], [47 x i8]* @str, i64 0, i64 0))
%86 = tail call i32 @printTwoSetBitNums(i32 4)
ret i32 0
}