#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*/ exit(int);
int /*<<< orphan*/ int2bin(int);
int /*<<< orphan*/ printf(char *, ...);
int str2int(char *);
int main(int argc, char *argv[]) {
  int x, y;
  if (argc == 3) {
    x = str2int(argv[1]);
    y = str2int(argv[2]);
  } else {
    printf("To integer arguments x,y missing!\n");
    exit(1);
  }
  printf("Complement (bit flip)\n");
  printf("%c      = ", 'x');
  int2bin(x);
  printf("%s", "~x     = ");
  int2bin(~x);
  printf("Binary AND\n");
  printf("%c      = ", 'x');
  int2bin(x);
  printf("%c      = ", 'y');
  int2bin(y);
  printf("%s", "x & y  = ");
  int2bin(x & y);
  printf("Binary OR\n");
  printf("%c      = ", 'x');
  int2bin(x);
  printf("%c      = ", 'y');
  int2bin(y);
  printf("%s", "x | y  = ");
  int2bin(x | y);
  printf("Binary XOR\n");
  printf("%c      = ", 'x');
  int2bin(x);
  printf("%c      = ", 'y');
  int2bin(y);
  printf("%s", "x ^ y  = ");
  int2bin(x ^ y);
  printf("Shift left:\n");
  int n = 0;
  for (n = 0; n < 8; n++) {
    printf("x << %i = ", n);
    int2bin(x << n);
  }
  printf("Shift right:\n");
  for (n = 0; n < 8; n++) {
    printf("x >> %i = ", n);
    int2bin(x >> n);
  }
  exit(0);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
cmpl   $0x3,-0x8(%rbp)
jne    1185 <main+0x45>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
call   1030 <str2int@plt>
mov    %eax,-0x14(%rbp)
mov    -0x10(%rbp),%rax
mov    0x10(%rax),%rdi
call   1030 <str2int@plt>
mov    %eax,-0x18(%rbp)
jmp    119d <main+0x5d>
lea    0xe74(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    $0x1,%edi
call   1060 <exit@plt>
lea    0xe7f(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xe88(%rip),%rdi
mov    $0x78,%esi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x14(%rbp),%edi
call   1040 <int2bin@plt>
lea    0xe78(%rip),%rdi
lea    0xe74(%rip),%rsi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x14(%rbp),%edi
xor    $0xffffffff,%edi
call   1040 <int2bin@plt>
lea    0xe65(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xe3f(%rip),%rdi
mov    $0x78,%esi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x14(%rbp),%edi
call   1040 <int2bin@plt>
lea    0xe24(%rip),%rdi
mov    $0x79,%esi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x18(%rbp),%edi
call   1040 <int2bin@plt>
lea    0xe14(%rip),%rdi
lea    0xe26(%rip),%rsi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x14(%rbp),%edi
and    -0x18(%rbp),%edi
call   1040 <int2bin@plt>
lea    0xe17(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xddb(%rip),%rdi
mov    $0x78,%esi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x14(%rbp),%edi
call   1040 <int2bin@plt>
lea    0xdc0(%rip),%rdi
mov    $0x79,%esi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x18(%rbp),%edi
call   1040 <int2bin@plt>
lea    0xdb0(%rip),%rdi
lea    0xdd7(%rip),%rsi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x14(%rbp),%edi
or     -0x18(%rbp),%edi
call   1040 <int2bin@plt>
lea    0xdc8(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xd77(%rip),%rdi
mov    $0x78,%esi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x14(%rbp),%edi
call   1040 <int2bin@plt>
lea    0xd5c(%rip),%rdi
mov    $0x79,%esi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x18(%rbp),%edi
call   1040 <int2bin@plt>
lea    0xd4c(%rip),%rdi
lea    0xd89(%rip),%rsi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x14(%rbp),%edi
xor    -0x18(%rbp),%edi
call   1040 <int2bin@plt>
lea    0xd7a(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
movl   $0x0,-0x1c(%rbp)
movl   $0x0,-0x1c(%rbp)
cmpl   $0x8,-0x1c(%rbp)
jge    1364 <main+0x224>
mov    -0x1c(%rbp),%esi
lea    0xd5e(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x14(%rbp),%edi
mov    -0x1c(%rbp),%ecx
shl    %cl,%edi
call   1040 <int2bin@plt>
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    132e <main+0x1ee>
lea    0xd40(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
movl   $0x0,-0x1c(%rbp)
cmpl   $0x8,-0x1c(%rbp)
jge    13af <main+0x26f>
mov    -0x1c(%rbp),%esi
lea    0xd2c(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x14(%rbp),%edi
mov    -0x1c(%rbp),%ecx
sar    %cl,%edi
call   1040 <int2bin@plt>
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    1379 <main+0x239>
xor    %edi,%edi
call   1060 <exit@plt>

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %rbx
push   %rax
cmp    $0x3,%edi
jne    146b <main+0x31b>
mov    %rsi,%rbp
mov    0x8(%rsi),%rdi
call   1040 <str2int@plt>
mov    %eax,%ebx
mov    0x10(%rbp),%rdi
call   1040 <str2int@plt>
mov    %eax,%ebp
lea    0xeee(%rip),%rdi
call   1030 <puts@plt>
lea    0xe74(%rip),%r14
mov    %r14,%rdi
mov    $0x78,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %ebx,%edi
call   1050 <int2bin@plt>
lea    0xe62(%rip),%r15
lea    0xe5e(%rip),%rsi
mov    %r15,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %ebx,%edi
not    %edi
call   1050 <int2bin@plt>
lea    0xeba(%rip),%rdi
call   1030 <puts@plt>
mov    %r14,%rdi
mov    $0x78,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %ebx,%edi
call   1050 <int2bin@plt>
mov    %r14,%rdi
mov    $0x79,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %ebp,%edi
call   1050 <int2bin@plt>
lea    0xe16(%rip),%rsi
mov    %r15,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %ebp,%edi
and    %ebx,%edi
call   1050 <int2bin@plt>
lea    0xe73(%rip),%rdi
call   1030 <puts@plt>
mov    %r14,%rdi
mov    $0x78,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %ebx,%edi
call   1050 <int2bin@plt>
mov    %r14,%rdi
mov    $0x79,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %ebp,%edi
call   1050 <int2bin@plt>
lea    0xdce(%rip),%rsi
mov    %r15,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %ebp,%edi
or     %ebx,%edi
call   1050 <int2bin@plt>
lea    0xe2b(%rip),%rdi
call   1030 <puts@plt>
mov    %r14,%rdi
mov    $0x78,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %ebx,%edi
call   1050 <int2bin@plt>
mov    %r14,%rdi
mov    $0x79,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %ebp,%edi
call   1050 <int2bin@plt>
lea    0xd86(%rip),%rsi
mov    %r15,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
xor    %ebx,%ebp
mov    %ebp,%edi
call   1050 <int2bin@plt>
lea    0xde4(%rip),%rdi
call   1030 <puts@plt>
lea    0xd6a(%rip),%rbp
mov    %rbp,%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %ebx,%edi
call   1050 <int2bin@plt>
mov    %rbp,%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1060 <printf@plt>
lea    (%rbx,%rbx,1),%edi
call   1050 <int2bin@plt>
mov    %rbp,%rdi
mov    $0x2,%esi
xor    %eax,%eax
call   1060 <printf@plt>
lea    0x0(,%rbx,4),%edi
call   1050 <int2bin@plt>
mov    %rbp,%rdi
mov    $0x3,%esi
xor    %eax,%eax
call   1060 <printf@plt>
lea    0x0(,%rbx,8),%edi
call   1050 <int2bin@plt>
mov    %rbp,%rdi
mov    $0x4,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %ebx,%edi
shl    $0x4,%edi
call   1050 <int2bin@plt>
mov    %rbp,%rdi
mov    $0x5,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %ebx,%edi
shl    $0x5,%edi
call   1050 <int2bin@plt>
mov    %rbp,%rdi
mov    $0x6,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %ebx,%edi
shl    $0x6,%edi
call   1050 <int2bin@plt>
mov    %rbp,%rdi
mov    $0x7,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %ebx,%edi
shl    $0x7,%edi
call   1050 <int2bin@plt>
lea    0xd19(%rip),%rdi
call   1030 <puts@plt>
lea    0xc9e(%rip),%rbp
mov    %rbp,%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %ebx,%edi
call   1050 <int2bin@plt>
mov    %rbp,%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %ebx,%edi
sar    %edi
call   1050 <int2bin@plt>
mov    %rbp,%rdi
mov    $0x2,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %ebx,%edi
sar    $0x2,%edi
call   1050 <int2bin@plt>
mov    %rbp,%rdi
mov    $0x3,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %ebx,%edi
sar    $0x3,%edi
call   1050 <int2bin@plt>
mov    %rbp,%rdi
mov    $0x4,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %ebx,%edi
sar    $0x4,%edi
call   1050 <int2bin@plt>
mov    %rbp,%rdi
mov    $0x5,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %ebx,%edi
sar    $0x5,%edi
call   1050 <int2bin@plt>
mov    %rbp,%rdi
mov    $0x6,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %ebx,%edi
sar    $0x6,%edi
call   1050 <int2bin@plt>
mov    %rbp,%rdi
mov    $0x7,%esi
xor    %eax,%eax
call   1060 <printf@plt>
sar    $0x7,%ebx
mov    %ebx,%edi
call   1050 <int2bin@plt>
xor    %edi,%edi
call   1070 <exit@plt>
lea    0xbda(%rip),%rdi
call   1030 <puts@plt>
mov    $0x1,%edi
call   1070 <exit@plt>

LLVM IR (-O0):
@.str = [35 x i8] c"To integer arguments x,y missing!\0A\00"
@.str.1 = [23 x i8] c"Complement (bit flip)\0A\00"
@.str.2 = [11 x i8] c"%c = \00"
@.str.3 = [3 x i8] c"%s\00"
@.str.4 = [10 x i8] c"~x = \00"
@.str.5 = [12 x i8] c"Binary AND\0A\00"
@.str.6 = [10 x i8] c"x & y = \00"
@.str.7 = [11 x i8] c"Binary OR\0A\00"
@.str.8 = [10 x i8] c"x | y = \00"
@.str.9 = [12 x i8] c"Binary XOR\0A\00"
@.str.10 = [10 x i8] c"x ^ y = \00"
@.str.11 = [13 x i8] c"Shift left:\0A\00"
@.str.12 = [11 x i8] c"x << %i = \00"
@.str.13 = [14 x i8] c"Shift right:\0A\00"
@.str.14 = [11 x i8] c"x >> %i = \00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i32
%7 = alloca i32
%8 = alloca i32
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%9 = load i32, i32* %4
%10 = icmp eq i32 %9, 3
br i1 %10, label %11, label %20
11: ; preds = %2
%12 = load i8**, i8*** %5
%13 = getelementptr inbounds i8*, i8** %12, i64 1
%14 = load i8*, i8** %13
%15 = call i32 @str2int(i8* %14)
store i32 %15, i32* %6
%16 = load i8**, i8*** %5
%17 = getelementptr inbounds i8*, i8** %16, i64 2
%18 = load i8*, i8** %17
%19 = call i32 @str2int(i8* %18)
store i32 %19, i32* %7
br label %23
20: ; preds = %2
%21 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str, i64 0, i64 0))
%22 = call i32 @exit(i32 1)
unreachable
23: ; preds = %11
%24 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.1, i64 0, i64 0))
%25 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.2, i64 0, i64 0), i32 120)
%26 = load i32, i32* %6
%27 = call i32 @int2bin(i32 %26)
%28 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0))
%29 = load i32, i32* %6
%30 = xor i32 %29, -1
%31 = call i32 @int2bin(i32 %30)
%32 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.5, i64 0, i64 0))
%33 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.2, i64 0, i64 0), i32 120)
%34 = load i32, i32* %6
%35 = call i32 @int2bin(i32 %34)
%36 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.2, i64 0, i64 0), i32 121)
%37 = load i32, i32* %7
%38 = call i32 @int2bin(i32 %37)
%39 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.6, i64 0, i64 0))
%40 = load i32, i32* %6
%41 = load i32, i32* %7
%42 = and i32 %40, %41
%43 = call i32 @int2bin(i32 %42)
%44 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.7, i64 0, i64 0))
%45 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.2, i64 0, i64 0), i32 120)
%46 = load i32, i32* %6
%47 = call i32 @int2bin(i32 %46)
%48 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.2, i64 0, i64 0), i32 121)
%49 = load i32, i32* %7
%50 = call i32 @int2bin(i32 %49)
%51 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.8, i64 0, i64 0))
%52 = load i32, i32* %6
%53 = load i32, i32* %7
%54 = or i32 %52, %53
%55 = call i32 @int2bin(i32 %54)
%56 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.9, i64 0, i64 0))
%57 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.2, i64 0, i64 0), i32 120)
%58 = load i32, i32* %6
%59 = call i32 @int2bin(i32 %58)
%60 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.2, i64 0, i64 0), i32 121)
%61 = load i32, i32* %7
%62 = call i32 @int2bin(i32 %61)
%63 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.10, i64 0, i64 0))
%64 = load i32, i32* %6
%65 = load i32, i32* %7
%66 = xor i32 %64, %65
%67 = call i32 @int2bin(i32 %66)
%68 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.11, i64 0, i64 0))
store i32 0, i32* %8
store i32 0, i32* %8
br label %69
69: ; preds = %79, %23
%70 = load i32, i32* %8
%71 = icmp slt i32 %70, 8
br i1 %71, label %72, label %82
72: ; preds = %69
%73 = load i32, i32* %8
%74 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.12, i64 0, i64 0), i32 %73)
%75 = load i32, i32* %6
%76 = load i32, i32* %8
%77 = shl i32 %75, %76
%78 = call i32 @int2bin(i32 %77)
br label %79
79: ; preds = %72
%80 = load i32, i32* %8
%81 = add nsw i32 %80, 1
store i32 %81, i32* %8
br label %69
82: ; preds = %69
%83 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.13, i64 0, i64 0))
store i32 0, i32* %8
br label %84
84: ; preds = %94, %82
%85 = load i32, i32* %8
%86 = icmp slt i32 %85, 8
br i1 %86, label %87, label %97
87: ; preds = %84
%88 = load i32, i32* %8
%89 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.14, i64 0, i64 0), i32 %88)
%90 = load i32, i32* %6
%91 = load i32, i32* %8
%92 = ashr i32 %90, %91
%93 = call i32 @int2bin(i32 %92)
br label %94
94: ; preds = %87
%95 = load i32, i32* %8
%96 = add nsw i32 %95, 1
store i32 %96, i32* %8
br label %84
97: ; preds = %84
%98 = call i32 @exit(i32 0)
unreachable
}

LLVM IR (-O2):
@.str.2 = [11 x i8] c"%c = \00"
@.str.3 = [3 x i8] c"%s\00"
@.str.4 = [10 x i8] c"~x = \00"
@.str.6 = [10 x i8] c"x & y = \00"
@.str.8 = [10 x i8] c"x | y = \00"
@.str.10 = [10 x i8] c"x ^ y = \00"
@.str.12 = [11 x i8] c"x << %i = \00"
@.str.14 = [11 x i8] c"x >> %i = \00"
@str = [34 x i8] c"To integer arguments x,y missing!\00"
@str.15 = [22 x i8] c"Complement (bit flip)\00"
@str.16 = [11 x i8] c"Binary AND\00"
@str.17 = [10 x i8] c"Binary OR\00"
@str.18 = [11 x i8] c"Binary XOR\00"
@str.19 = [12 x i8] c"Shift left:\00"
@str.20 = [13 x i8] c"Shift right:\00"
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = icmp eq i32 %0, 3
br i1 %3, label %4, label %90
4: ; preds = %2
%5 = getelementptr inbounds i8*, i8** %1, i64 1
%6 = load i8*, i8** %5
%7 = tail call i32 @str2int(i8* %6)
%8 = getelementptr inbounds i8*, i8** %1, i64 2
%9 = load i8*, i8** %8
%10 = tail call i32 @str2int(i8* %9)
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @str.15, i64 0, i64 0))
%12 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.2, i64 0, i64 0), i32 120)
%13 = tail call i32 @int2bin(i32 %7)
%14 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0))
%15 = xor i32 %7, -1
%16 = tail call i32 @int2bin(i32 %15)
%17 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @str.16, i64 0, i64 0))
%18 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.2, i64 0, i64 0), i32 120)
%19 = tail call i32 @int2bin(i32 %7)
%20 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.2, i64 0, i64 0), i32 121)
%21 = tail call i32 @int2bin(i32 %10)
%22 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.6, i64 0, i64 0))
%23 = and i32 %10, %7
%24 = tail call i32 @int2bin(i32 %23)
%25 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @str.17, i64 0, i64 0))
%26 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.2, i64 0, i64 0), i32 120)
%27 = tail call i32 @int2bin(i32 %7)
%28 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.2, i64 0, i64 0), i32 121)
%29 = tail call i32 @int2bin(i32 %10)
%30 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.8, i64 0, i64 0))
%31 = or i32 %10, %7
%32 = tail call i32 @int2bin(i32 %31)
%33 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @str.18, i64 0, i64 0))
%34 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.2, i64 0, i64 0), i32 120)
%35 = tail call i32 @int2bin(i32 %7)
%36 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.2, i64 0, i64 0), i32 121)
%37 = tail call i32 @int2bin(i32 %10)
%38 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.10, i64 0, i64 0))
%39 = xor i32 %10, %7
%40 = tail call i32 @int2bin(i32 %39)
%41 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @str.19, i64 0, i64 0))
%42 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.12, i64 0, i64 0), i32 0)
%43 = tail call i32 @int2bin(i32 %7)
%44 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.12, i64 0, i64 0), i32 1)
%45 = shl i32 %7, 1
%46 = tail call i32 @int2bin(i32 %45)
%47 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.12, i64 0, i64 0), i32 2)
%48 = shl i32 %7, 2
%49 = tail call i32 @int2bin(i32 %48)
%50 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.12, i64 0, i64 0), i32 3)
%51 = shl i32 %7, 3
%52 = tail call i32 @int2bin(i32 %51)
%53 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.12, i64 0, i64 0), i32 4)
%54 = shl i32 %7, 4
%55 = tail call i32 @int2bin(i32 %54)
%56 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.12, i64 0, i64 0), i32 5)
%57 = shl i32 %7, 5
%58 = tail call i32 @int2bin(i32 %57)
%59 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.12, i64 0, i64 0), i32 6)
%60 = shl i32 %7, 6
%61 = tail call i32 @int2bin(i32 %60)
%62 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.12, i64 0, i64 0), i32 7)
%63 = shl i32 %7, 7
%64 = tail call i32 @int2bin(i32 %63)
%65 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @str.20, i64 0, i64 0))
%66 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.14, i64 0, i64 0), i32 0)
%67 = tail call i32 @int2bin(i32 %7)
%68 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.14, i64 0, i64 0), i32 1)
%69 = ashr i32 %7, 1
%70 = tail call i32 @int2bin(i32 %69)
%71 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.14, i64 0, i64 0), i32 2)
%72 = ashr i32 %7, 2
%73 = tail call i32 @int2bin(i32 %72)
%74 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.14, i64 0, i64 0), i32 3)
%75 = ashr i32 %7, 3
%76 = tail call i32 @int2bin(i32 %75)
%77 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.14, i64 0, i64 0), i32 4)
%78 = ashr i32 %7, 4
%79 = tail call i32 @int2bin(i32 %78)
%80 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.14, i64 0, i64 0), i32 5)
%81 = ashr i32 %7, 5
%82 = tail call i32 @int2bin(i32 %81)
%83 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.14, i64 0, i64 0), i32 6)
%84 = ashr i32 %7, 6
%85 = tail call i32 @int2bin(i32 %84)
%86 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.14, i64 0, i64 0), i32 7)
%87 = ashr i32 %7, 7
%88 = tail call i32 @int2bin(i32 %87)
%89 = tail call i32 @exit(i32 0)
unreachable
90: ; preds = %2
%91 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([34 x i8], [34 x i8]* @str, i64 0, i64 0))
%92 = tail call i32 @exit(i32 1)
unreachable
}