unsigned int main(int argc, char **argv) {
  unsigned int n = 0xae4d2a19;
  int count = 0;
  unsigned char uc;
  unsigned ui1 = 0x01023040;
  unsigned ui2 = 017;
  _Bool b1 = 1;
  char ch1;
  signed char ch2;
  unsigned char uch1;
  ch1 = 0x80;
  printf("ch1=%d\n", ch1);
  get_bit1_amount(&ch1);
  ch2 = -128;
  printf("ch2=%d\n", ch2);
  get_bit1_amount(&ch2);
  ch2 = 127;
  printf("ch2=%d\n", ch2);
  get_bit1_amount(&ch2);
  ch2 = 130;
  printf("ch2=%d\n", ch2);
  get_bit1_amount(&ch2);
  uch1 = 255;
  printf("uch1=%d\n", uch1);
  get_bit1_amount(&uch1);
  printf("ui1=%d\n", ui1);
  printf("ui2=%d\n", ui2);
  printf("sizeof(char)=%d\n", sizeof(char));
  printf("sizeof(int)=%d\n", sizeof(int));
  printf("sizeof(float)=%d\n", sizeof(float));
  printf("sizeof(double)=%d\n", sizeof(double));
  printf("sizeof(long double)=%d\n", sizeof(long double));
  printf("sizeof(short)=%d\n", sizeof(short));
  printf("sizeof(long)=%d\n", sizeof(long));
  printf("sizeof(long long)=%d\n", sizeof(long long));
  printf("sizeof(unsigned)=%d, sizeof(unsigned int)=%d\n", sizeof(unsigned),
         sizeof(unsigned int));
  printf("sizeof(_Bool)=%d, b1=%d\n", sizeof(_Bool), b1);
  while (n) {
    uc = n & 0xFF;
    count += get_bit1_amount(&uc);
    n >>= 8;
    printf("count: %d\n", count);
  }
  printf("total count: %d\n", count);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
mov    %edi,-0x4(%rbp)
mov    %rsi,-0x10(%rbp)
movl   $0xae4d2a19,-0x14(%rbp)
movl   $0x0,-0x18(%rbp)
movl   $0x1023040,-0x20(%rbp)
movl   $0xf,-0x24(%rbp)
movb   $0x1,-0x25(%rbp)
movb   $0x80,-0x26(%rbp)
movsbl -0x26(%rbp),%esi
lea    0xeab(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    -0x26(%rbp),%rdi
mov    $0x0,%al
call   1040 <get_bit1_amount@plt>
movb   $0x80,-0x27(%rbp)
movsbl -0x27(%rbp),%esi
lea    0xe81(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    -0x27(%rbp),%rdi
mov    $0x0,%al
call   1040 <get_bit1_amount@plt>
movb   $0x7f,-0x27(%rbp)
movsbl -0x27(%rbp),%esi
lea    0xe60(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    -0x27(%rbp),%rdi
mov    $0x0,%al
call   1040 <get_bit1_amount@plt>
movb   $0x82,-0x27(%rbp)
movsbl -0x27(%rbp),%esi
lea    0xe3f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    -0x27(%rbp),%rdi
mov    $0x0,%al
call   1040 <get_bit1_amount@plt>
movb   $0xff,-0x28(%rbp)
movzbl -0x28(%rbp),%esi
lea    0xe26(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    -0x28(%rbp),%rdi
mov    $0x0,%al
call   1040 <get_bit1_amount@plt>
mov    -0x20(%rbp),%esi
lea    0xe13(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x24(%rbp),%esi
lea    0xe0a(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe04(%rip),%rdi
mov    $0x1,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe02(%rip),%rdi
mov    $0x4,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xdff(%rip),%rdi
mov    $0x4,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xdfe(%rip),%rdi
mov    $0x8,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xdfe(%rip),%rdi
mov    $0x10,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe03(%rip),%rdi
mov    $0x2,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe02(%rip),%rdi
mov    $0x8,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe00(%rip),%rdi
mov    $0x8,%esi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe03(%rip),%rdi
mov    $0x4,%edx
mov    %rdx,%rsi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x25(%rbp),%al
and    $0x1,%al
movzbl %al,%edx
lea    0xe13(%rip),%rdi
mov    $0x1,%esi
mov    $0x0,%al
call   1030 <printf@plt>
cmpl   $0x0,-0x14(%rbp)
je     1324 <main+0x204>
mov    -0x14(%rbp),%eax
and    $0xff,%eax
mov    %al,-0x19(%rbp)
lea    -0x19(%rbp),%rdi
mov    $0x0,%al
call   1040 <get_bit1_amount@plt>
add    -0x18(%rbp),%eax
mov    %eax,-0x18(%rbp)
mov    -0x14(%rbp),%eax
shr    $0x8,%eax
mov    %eax,-0x14(%rbp)
mov    -0x18(%rbp),%esi
lea    0xded(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    12df <main+0x1bf>
mov    -0x18(%rbp),%esi
lea    0xdd1(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r15
push   %r14
push   %rbx
sub    $0x10,%rsp
movb   $0x80,0xf(%rsp)
lea    0xed4(%rip),%rdi
mov    $0xffffff80,%esi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xf(%rsp),%rdi
xor    %eax,%eax
call   1040 <get_bit1_amount@plt>
movb   $0x80,0xd(%rsp)
lea    0xea7(%rip),%r14
mov    %r14,%rdi
mov    $0xffffff80,%esi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xd(%rsp),%rbx
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <get_bit1_amount@plt>
movb   $0x7f,0xd(%rsp)
mov    %r14,%rdi
mov    $0x7f,%esi
xor    %eax,%eax
call   1030 <printf@plt>
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <get_bit1_amount@plt>
movb   $0x82,0xd(%rsp)
mov    %r14,%rdi
mov    $0xffffff82,%esi
xor    %eax,%eax
call   1030 <printf@plt>
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <get_bit1_amount@plt>
movb   $0xff,0xe(%rsp)
lea    0xe49(%rip),%rdi
mov    $0xff,%esi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xe(%rsp),%rdi
xor    %eax,%eax
call   1040 <get_bit1_amount@plt>
lea    0xe33(%rip),%rdi
mov    $0x1023040,%esi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xe28(%rip),%rdi
mov    $0xf,%esi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xe1d(%rip),%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xe1b(%rip),%rdi
mov    $0x4,%esi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xe18(%rip),%rdi
mov    $0x4,%esi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xe17(%rip),%rdi
mov    $0x8,%esi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xe17(%rip),%rdi
mov    $0x10,%esi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xe1c(%rip),%rdi
mov    $0x2,%esi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xe1b(%rip),%rdi
mov    $0x8,%esi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xe19(%rip),%rdi
mov    $0x8,%esi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xe1c(%rip),%rdi
mov    $0x4,%esi
mov    $0x4,%edx
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xe32(%rip),%rdi
mov    $0x1,%esi
mov    $0x1,%edx
xor    %eax,%eax
call   1030 <printf@plt>
movb   $0x19,0xc(%rsp)
lea    0xc(%rsp),%r15
mov    %r15,%rdi
xor    %eax,%eax
call   1040 <get_bit1_amount@plt>
mov    %eax,%ebx
lea    0xe23(%rip),%r14
mov    %r14,%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1030 <printf@plt>
movb   $0x2a,0xc(%rsp)
mov    %r15,%rdi
xor    %eax,%eax
call   1040 <get_bit1_amount@plt>
add    %eax,%ebx
mov    %r14,%rdi
mov    %ebx,%esi
xor    %eax,%eax
call   1030 <printf@plt>
movb   $0x4d,0xc(%rsp)
mov    %r15,%rdi
xor    %eax,%eax
call   1040 <get_bit1_amount@plt>
add    %eax,%ebx
mov    %r14,%rdi
mov    %ebx,%esi
xor    %eax,%eax
call   1030 <printf@plt>
movb   $0xae,0xc(%rsp)
mov    %r15,%rdi
xor    %eax,%eax
call   1040 <get_bit1_amount@plt>
add    %eax,%ebx
mov    %r14,%rdi
mov    %ebx,%esi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xdb3(%rip),%rdi
mov    %ebx,%esi
xor    %eax,%eax
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbx
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
@.str = [8 x i8] c"ch1=%d\0A\00"
@.str.1 = [8 x i8] c"ch2=%d\0A\00"
@.str.2 = [9 x i8] c"uch1=%d\0A\00"
@.str.3 = [8 x i8] c"ui1=%d\0A\00"
@.str.4 = [8 x i8] c"ui2=%d\0A\00"
@.str.5 = [17 x i8] c"sizeof(char)=%d\0A\00"
@.str.6 = [16 x i8] c"sizeof(int)=%d\0A\00"
@.str.7 = [18 x i8] c"sizeof(float)=%d\0A\00"
@.str.8 = [19 x i8] c"sizeof(double)=%d\0A\00"
@.str.9 = [24 x i8] c"sizeof(long double)=%d\0A\00"
@.str.10 = [18 x i8] c"sizeof(short)=%d\0A\00"
@.str.11 = [17 x i8] c"sizeof(long)=%d\0A\00"
@.str.12 = [22 x i8] c"sizeof(long long)=%d\0A\00"
@.str.13 = [46 x i8] c"sizeof(unsigned)=%d, sizeof(unsigned int)=%d\0A\00"
@.str.14 = [25 x i8] c"sizeof(_Bool)=%d, b1=%d\0A\00"
@.str.15 = [11 x i8] c"count: %d\0A\00"
@.str.16 = [17 x i8] c"total count: %d\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i8**
%5 = alloca i32
%6 = alloca i32
%7 = alloca i8
%8 = alloca i32
%9 = alloca i32
%10 = alloca i8
%11 = alloca i8
%12 = alloca i8
%13 = alloca i8
store i32 %0, i32* %3
store i8** %1, i8*** %4
store i32 -1370674663, i32* %5
store i32 0, i32* %6
store i32 16920640, i32* %8
store i32 15, i32* %9
store i8 1, i8* %10
store i8 -128, i8* %11
%14 = load i8, i8* %11
%15 = sext i8 %14 to i32
%16 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i32 %15)
%17 = call i32 (i8*, ...) bitcast (i32 (...)* @get_bit1_amount to i32 (i8*, ...)*)(i8* %11)
store i8 -128, i8* %12
%18 = load i8, i8* %12
%19 = sext i8 %18 to i32
%20 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0), i32 %19)
%21 = call i32 (i8*, ...) bitcast (i32 (...)* @get_bit1_amount to i32 (i8*, ...)*)(i8* %12)
store i8 127, i8* %12
%22 = load i8, i8* %12
%23 = sext i8 %22 to i32
%24 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0), i32 %23)
%25 = call i32 (i8*, ...) bitcast (i32 (...)* @get_bit1_amount to i32 (i8*, ...)*)(i8* %12)
store i8 -126, i8* %12
%26 = load i8, i8* %12
%27 = sext i8 %26 to i32
%28 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0), i32 %27)
%29 = call i32 (i8*, ...) bitcast (i32 (...)* @get_bit1_amount to i32 (i8*, ...)*)(i8* %12)
store i8 -1, i8* %13
%30 = load i8, i8* %13
%31 = zext i8 %30 to i32
%32 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.2, i64 0, i64 0), i32 %31)
%33 = call i32 (i8*, ...) bitcast (i32 (...)* @get_bit1_amount to i32 (i8*, ...)*)(i8* %13)
%34 = load i32, i32* %8
%35 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.3, i64 0, i64 0), i32 %34)
%36 = load i32, i32* %9
%37 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.4, i64 0, i64 0), i32 %36)
%38 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.5, i64 0, i64 0), i64 1)
%39 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.6, i64 0, i64 0), i64 4)
%40 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.7, i64 0, i64 0), i64 4)
%41 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.8, i64 0, i64 0), i64 8)
%42 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.9, i64 0, i64 0), i64 16)
%43 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.10, i64 0, i64 0), i64 2)
%44 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.11, i64 0, i64 0), i64 8)
%45 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.12, i64 0, i64 0), i64 8)
%46 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.13, i64 0, i64 0), i64 4, i64 4)
%47 = load i8, i8* %10
%48 = trunc i8 %47 to i1
%49 = zext i1 %48 to i32
%50 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.14, i64 0, i64 0), i64 1, i32 %49)
br label %51
51: ; preds = %54, %2
%52 = load i32, i32* %5
%53 = icmp ne i32 %52, 0
br i1 %53, label %54, label %65
54: ; preds = %51
%55 = load i32, i32* %5
%56 = and i32 %55, 255
%57 = trunc i32 %56 to i8
store i8 %57, i8* %7
%58 = call i32 (i8*, ...) bitcast (i32 (...)* @get_bit1_amount to i32 (i8*, ...)*)(i8* %7)
%59 = load i32, i32* %6
%60 = add nsw i32 %59, %58
store i32 %60, i32* %6
%61 = load i32, i32* %5
%62 = lshr i32 %61, 8
store i32 %62, i32* %5
%63 = load i32, i32* %6
%64 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.15, i64 0, i64 0), i32 %63)
br label %51
65: ; preds = %51
%66 = load i32, i32* %6
%67 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.16, i64 0, i64 0), i32 %66)
ret i32 0
}

LLVM IR (-O2):
@.str = [8 x i8] c"ch1=%d\0A\00"
@.str.1 = [8 x i8] c"ch2=%d\0A\00"
@.str.2 = [9 x i8] c"uch1=%d\0A\00"
@.str.3 = [8 x i8] c"ui1=%d\0A\00"
@.str.4 = [8 x i8] c"ui2=%d\0A\00"
@.str.5 = [17 x i8] c"sizeof(char)=%d\0A\00"
@.str.6 = [16 x i8] c"sizeof(int)=%d\0A\00"
@.str.7 = [18 x i8] c"sizeof(float)=%d\0A\00"
@.str.8 = [19 x i8] c"sizeof(double)=%d\0A\00"
@.str.9 = [24 x i8] c"sizeof(long double)=%d\0A\00"
@.str.10 = [18 x i8] c"sizeof(short)=%d\0A\00"
@.str.11 = [17 x i8] c"sizeof(long)=%d\0A\00"
@.str.12 = [22 x i8] c"sizeof(long long)=%d\0A\00"
@.str.13 = [46 x i8] c"sizeof(unsigned)=%d, sizeof(unsigned int)=%d\0A\00"
@.str.14 = [25 x i8] c"sizeof(_Bool)=%d, b1=%d\0A\00"
@.str.15 = [11 x i8] c"count: %d\0A\00"
@.str.16 = [17 x i8] c"total count: %d\0A\00"
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = alloca i8
%4 = alloca i8
%5 = alloca i8
%6 = alloca i8
store i8 -128, i8* %4
%7 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i32 -128)
%8 = call i32 (i8*, ...) bitcast (i32 (...)* @get_bit1_amount to i32 (i8*, ...)*)(i8* %4)
store i8 -128, i8* %5
%9 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0), i32 -128)
%10 = call i32 (i8*, ...) bitcast (i32 (...)* @get_bit1_amount to i32 (i8*, ...)*)(i8* %5)
store i8 127, i8* %5
%11 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0), i32 127)
%12 = call i32 (i8*, ...) bitcast (i32 (...)* @get_bit1_amount to i32 (i8*, ...)*)(i8* %5)
store i8 -126, i8* %5
%13 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0), i32 -126)
%14 = call i32 (i8*, ...) bitcast (i32 (...)* @get_bit1_amount to i32 (i8*, ...)*)(i8* %5)
store i8 -1, i8* %6
%15 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.2, i64 0, i64 0), i32 255)
%16 = call i32 (i8*, ...) bitcast (i32 (...)* @get_bit1_amount to i32 (i8*, ...)*)(i8* %6)
%17 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.3, i64 0, i64 0), i32 16920640)
%18 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.4, i64 0, i64 0), i32 15)
%19 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @.str.5, i64 0, i64 0), i64 1)
%20 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str.6, i64 0, i64 0), i64 4)
%21 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @.str.7, i64 0, i64 0), i64 4)
%22 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @.str.8, i64 0, i64 0), i64 8)
%23 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @.str.9, i64 0, i64 0), i64 16)
%24 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @.str.10, i64 0, i64 0), i64 2)
%25 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @.str.11, i64 0, i64 0), i64 8)
%26 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.12, i64 0, i64 0), i64 8)
%27 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @.str.13, i64 0, i64 0), i64 4, i64 4)
%28 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @.str.14, i64 0, i64 0), i64 1, i32 1)
store i8 25, i8* %3
%29 = call i32 (i8*, ...) bitcast (i32 (...)* @get_bit1_amount to i32 (i8*, ...)*)(i8* %3)
%30 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.15, i64 0, i64 0), i32 %29)
store i8 42, i8* %3
%31 = call i32 (i8*, ...) bitcast (i32 (...)* @get_bit1_amount to i32 (i8*, ...)*)(i8* %3)
%32 = add nsw i32 %31, %29
%33 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.15, i64 0, i64 0), i32 %32)
store i8 77, i8* %3
%34 = call i32 (i8*, ...) bitcast (i32 (...)* @get_bit1_amount to i32 (i8*, ...)*)(i8* %3)
%35 = add nsw i32 %34, %32
%36 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.15, i64 0, i64 0), i32 %35)
store i8 -82, i8* %3
%37 = call i32 (i8*, ...) bitcast (i32 (...)* @get_bit1_amount to i32 (i8*, ...)*)(i8* %3)
%38 = add nsw i32 %37, %35
%39 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.15, i64 0, i64 0), i32 %38)
%40 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @.str.16, i64 0, i64 0), i32 %38)
ret i32 0
}