#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*/ O_RDONLY;
int /*<<< orphan*/ close(int);
int /*<<< orphan*/ errno;
int open(char *, int /*<<< orphan*/);
int /*<<< orphan*/ printf(char *, ...);
int read(int, unsigned char *, int);
char *strerror(int /*<<< orphan*/);
int main(int argc, char **argv) {
  printf("%s begins...\n", argv[0]);
  int fd = open("/dev/input/mouse0", O_RDONLY);
  if (fd == -1) {
    printf("open %s error: %s\n", "/dev/input/mouse0", strerror(errno));
    return -1;
  }
  unsigned char data[3] = {0};
  int size = 0;
  while (1) {
    size = read(fd, data, 3);
    if (size == -1) {
      printf("read %s error: %s\n", "/dev/input/mouse0", strerror(errno));
      close(fd);
      return -1;
    } else if (size == 3) {
      printf("%d %02x%02x%02x", size, data[0], data[1], data[2]);
      int i;
      for (i = 0; i < 3; ++i) {
        unsigned char d = data[i];
        int mask = 7;
        printf(" ");
        while (mask >= 0) {
          printf("%d", (d & (1 << mask)) >> mask);
          --mask;
        }
      }
      printf("\n");
    } else {
      printf("%d unknown error\n", size);
    }
  }
  close(fd);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    -0x10(%rbp),%rax
mov    (%rax),%rsi
lea    0xe7c(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x2e56(%rip),%rax
mov    (%rax),%esi
lea    0xe73(%rip),%rdi
call   1070 <open@plt>
mov    %eax,-0x14(%rbp)
cmpl   $0xffffffff,-0x14(%rbp)
jne    11df <main+0x7f>
mov    0x2e24(%rip),%rax
mov    (%rax),%edi
call   1080 <strerror@plt>
mov    %rax,%rdx
lea    0xe5b(%rip),%rdi
lea    0xe42(%rip),%rsi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0xffffffff,-0x4(%rbp)
jmp    1323 <main+0x1c3>
lea    -0x17(%rbp),%rdi
xor    %esi,%esi
mov    $0x3,%edx
call   1040 <memset@plt>
movl   $0x0,-0x1c(%rbp)
mov    -0x14(%rbp),%edi
lea    -0x17(%rbp),%rsi
mov    $0x3,%edx
call   1060 <read@plt>
mov    %eax,-0x1c(%rbp)
cmpl   $0xffffffff,-0x1c(%rbp)
jne    124e <main+0xee>
mov    0x2dbd(%rip),%rax
mov    (%rax),%edi
call   1080 <strerror@plt>
mov    %rax,%rdx
lea    0xe07(%rip),%rdi
lea    0xddb(%rip),%rsi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x14(%rbp),%edi
call   1050 <close@plt>
movl   $0xffffffff,-0x4(%rbp)
jmp    1323 <main+0x1c3>
cmpl   $0x3,-0x1c(%rbp)
jne    1308 <main+0x1a8>
mov    -0x1c(%rbp),%esi
movzbl -0x17(%rbp),%edx
movzbl -0x16(%rbp),%ecx
movzbl -0x15(%rbp),%r8d
lea    0xdd7(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x20(%rbp)
cmpl   $0x3,-0x20(%rbp)
jge    12f5 <main+0x195>
movslq -0x20(%rbp),%rax
mov    -0x17(%rbp,%rax,1),%al
mov    %al,-0x21(%rbp)
movl   $0x7,-0x28(%rbp)
lea    0xdb6(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
cmpl   $0x0,-0x28(%rbp)
jl     12e2 <main+0x182>
movzbl -0x21(%rbp),%esi
mov    -0x28(%rbp),%ecx
mov    $0x1,%eax
shl    %cl,%eax
and    %eax,%esi
mov    -0x28(%rbp),%ecx
sar    %cl,%esi
lea    0xd8b(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x28(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x28(%rbp)
jmp    12a7 <main+0x147>
jmp    12e7 <main+0x187>
mov    -0x20(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x20(%rbp)
jmp    127d <main+0x11d>
lea    0xd10(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1319 <main+0x1b9>
mov    -0x1c(%rbp),%esi
lea    0xd49(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    131e <main+0x1be>
jmp    11f6 <main+0x96>
mov    -0x4(%rbp),%eax
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
mov    (%rsi),%rsi
lea    0xe8b(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x2e65(%rip),%rax
mov    (%rax),%esi
lea    0xe82(%rip),%rdi
call   1070 <open@plt>
cmp    $0xffffffff,%eax
je     1422 <main+0x2c2>
mov    %eax,%r13d
movb   $0x0,0x6(%rsp)
movw   $0x0,0x4(%rsp)
lea    0x4(%rsp),%r14
lea    0xea1(%rip),%rbx
jmp    13c2 <main+0x262>
nopw   0x0(%rax,%rax,1)
movzbl 0x4(%rsp),%r12d
movzbl 0x5(%rsp),%r15d
movzbl 0x6(%rsp),%ebp
lea    0xe6e(%rip),%rdi
mov    $0x3,%esi
mov    %r12d,%edx
mov    %r15d,%ecx
mov    %ebp,%r8d
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0x20,%edi
call   1030 <putchar@plt>
mov    %r12d,%esi
shr    $0x7,%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r12d,%esi
shr    $0x6,%esi
and    $0x1,%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r12d,%esi
shr    $0x5,%esi
and    $0x1,%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r12d,%esi
shr    $0x4,%esi
and    $0x1,%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r12d,%esi
shr    $0x3,%esi
and    $0x1,%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r12d,%esi
shr    $0x2,%esi
and    $0x1,%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r12d,%esi
shr    %esi
and    $0x1,%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
and    $0x1,%r12d
mov    %rbx,%rdi
mov    %r12d,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0x20,%edi
call   1030 <putchar@plt>
mov    %r15d,%esi
shr    $0x7,%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15d,%esi
shr    $0x6,%esi
and    $0x1,%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15d,%esi
shr    $0x5,%esi
and    $0x1,%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15d,%esi
shr    $0x4,%esi
and    $0x1,%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15d,%esi
shr    $0x3,%esi
and    $0x1,%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15d,%esi
shr    $0x2,%esi
and    $0x1,%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15d,%esi
shr    %esi
and    $0x1,%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
and    $0x1,%r15d
mov    %rbx,%rdi
mov    %r15d,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0x20,%edi
call   1030 <putchar@plt>
mov    %ebp,%esi
shr    $0x7,%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %ebp,%esi
shr    $0x6,%esi
and    $0x1,%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %ebp,%esi
shr    $0x5,%esi
and    $0x1,%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %ebp,%esi
shr    $0x4,%esi
and    $0x1,%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %ebp,%esi
shr    $0x3,%esi
and    $0x1,%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %ebp,%esi
shr    $0x2,%esi
and    $0x1,%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %ebp,%esi
shr    %esi
and    $0x1,%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
and    $0x1,%ebp
mov    %rbx,%rdi
mov    %ebp,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    %r13d,%edi
mov    %r14,%rsi
mov    $0x3,%edx
call   1060 <read@plt>
cmp    $0x3,%eax
je     11c0 <main+0x60>
cmp    $0xffffffff,%eax
je     13f2 <main+0x292>
lea    0xc72(%rip),%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1040 <printf@plt>
jmp    13c2 <main+0x262>
mov    0x2bdf(%rip),%rax
mov    (%rax),%edi
call   1080 <strerror@plt>
lea    0xc2c(%rip),%rdi
lea    0xc00(%rip),%rsi
mov    %rax,%rdx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r13d,%edi
call   1050 <close@plt>
jmp    1448 <main+0x2e8>
mov    0x2baf(%rip),%rax
mov    (%rax),%edi
call   1080 <strerror@plt>
lea    0xbe9(%rip),%rdi
lea    0xbd0(%rip),%rsi
mov    %rax,%rdx
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0xffffffff,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [14 x i8] c"%s begins...\0A\00"
@.str.1 = [18 x i8] c"/dev/input/mouse0\00"
@O_RDONLY = global i32 0
@.str.2 = [19 x i8] c"open %s error: %s\0A\00"
@errno = global i32 0
@.str.3 = [19 x i8] c"read %s error: %s\0A\00"
@.str.4 = [16 x i8] c"%d %02x%02x%02x\00"
@.str.5 = [2 x i8] c" \00"
@.str.6 = [3 x i8] c"%d\00"
@.str.7 = [2 x i8] c"\0A\00"
@.str.8 = [18 x i8] c"%d unknown error\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i32
%7 = alloca [3 x i8]
%8 = alloca i32
%9 = alloca i32
%10 = alloca i8
%11 = alloca i32
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%12 = load i8**, i8*** %5
%13 = getelementptr inbounds i8*, i8** %12, i64 0
%14 = load i8*, i8** %13
%15 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str, i64 0, i64 0), i8* %14)
%16 = load i32, i32* @O_RDONLY
%17 = call i32 @open(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.1, i64 0, i64 0), i32 %16)
store i32 %17, i32* %6
%18 = load i32, i32* %6
%19 = icmp eq i32 %18, -1
br i1 %19, label %20, label %24
20: ; preds = %2
%21 = load i32, i32* @errno
%22 = call i8* @strerror(i32 %21)
%23 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.1, i64 0, i64 0), i8* %22)
store i32 -1, i32* %3
br label %87
24: ; preds = %2
%25 = bitcast [3 x i8]* %7 to i8*
store i32 0, i32* %8
br label %26
26: ; preds = %24, %86
%27 = load i32, i32* %6
%28 = getelementptr inbounds [3 x i8], [3 x i8]* %7, i64 0, i64 0
%29 = call i32 @read(i32 %27, i8* %28, i32 3)
store i32 %29, i32* %8
%30 = load i32, i32* %8
%31 = icmp eq i32 %30, -1
br i1 %31, label %32, label %38
32: ; preds = %26
%33 = load i32, i32* @errno
%34 = call i8* @strerror(i32 %33)
%35 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.1, i64 0, i64 0), i8* %34)
%36 = load i32, i32* %6
%37 = call i32 @close(i32 %36)
store i32 -1, i32* %3
br label %87
38: ; preds = %26
%39 = load i32, i32* %8
%40 = icmp eq i32 %39, 3
br i1 %40, label %41, label %82
41: ; preds = %38
%42 = load i32, i32* %8
%43 = getelementptr inbounds [3 x i8], [3 x i8]* %7, i64 0, i64 0
%44 = load i8, i8* %43
%45 = zext i8 %44 to i32
%46 = getelementptr inbounds [3 x i8], [3 x i8]* %7, i64 0, i64 1
%47 = load i8, i8* %46
%48 = zext i8 %47 to i32
%49 = getelementptr inbounds [3 x i8], [3 x i8]* %7, i64 0, i64 2
%50 = load i8, i8* %49
%51 = zext i8 %50 to i32
%52 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.4, i64 0, i64 0), i32 %42, i32 %45, i32 %48, i32 %51)
store i32 0, i32* %9
br label %53
53: ; preds = %77, %41
%54 = load i32, i32* %9
%55 = icmp slt i32 %54, 3
br i1 %55, label %56, label %80
56: ; preds = %53
%57 = load i32, i32* %9
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds [3 x i8], [3 x i8]* %7, i64 0, i64 %58
%60 = load i8, i8* %59
store i8 %60, i8* %10
store i32 7, i32* %11
%61 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0))
br label %62
62: ; preds = %65, %56
%63 = load i32, i32* %11
%64 = icmp sge i32 %63, 0
br i1 %64, label %65, label %76
65: ; preds = %62
%66 = load i8, i8* %10
%67 = zext i8 %66 to i32
%68 = load i32, i32* %11
%69 = shl i32 1, %68
%70 = and i32 %67, %69
%71 = load i32, i32* %11
%72 = ashr i32 %70, %71
%73 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0), i32 %72)
%74 = load i32, i32* %11
%75 = add nsw i32 %74, -1
store i32 %75, i32* %11
br label %62
76: ; preds = %62
br label %77
77: ; preds = %76
%78 = load i32, i32* %9
%79 = add nsw i32 %78, 1
store i32 %79, i32* %9
br label %53
80: ; preds = %53
%81 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.7, i64 0, i64 0))
br label %85
82: ; preds = %38
%83 = load i32, i32* %8
%84 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.8, i64 0, i64 0), i32 %83)
br label %85
85: ; preds = %82, %80
br label %86
86: ; preds = %85
br label %26
87: ; preds = %32, %20
%88 = load i32, i32* %3
ret i32 %88
}

LLVM IR (-O2):
@.str = [14 x i8] c"%s begins...\0A\00"
@.str.1 = [18 x i8] c"/dev/input/mouse0\00"
@O_RDONLY = global i32 0
@.str.2 = [19 x i8] c"open %s error: %s\0A\00"
@errno = global i32 0
@.str.3 = [19 x i8] c"read %s error: %s\0A\00"
@.str.4 = [16 x i8] c"%d %02x%02x%02x\00"
@.str.6 = [3 x i8] c"%d\00"
@.str.8 = [18 x i8] c"%d unknown error\0A\00"
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = alloca [3 x i8]
%4 = load i8*, i8** %1
%5 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @.str, i64 0, i64 0), i8* %4)
%6 = load i32, i32* @O_RDONLY
%7 = tail call i32 @open(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.1, i64 0, i64 0), i32 %6)
%8 = icmp eq i32 %7, -1
br i1 %8, label %9, label %13
9: ; preds = %2
%10 = load i32, i32* @errno
%11 = tail call i8* @strerror(i32 %10)
%12 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.1, i64 0, i64 0), i8* %11)
br label %105
13: ; preds = %2
%14 = getelementptr inbounds [3 x i8], [3 x i8]* %3, i64 0, i64 0
%15 = getelementptr inbounds [3 x i8], [3 x i8]* %3, i64 0, i64 1
%16 = getelementptr inbounds [3 x i8], [3 x i8]* %3, i64 0, i64 2
br label %17
17: ; preds = %102, %13
%18 = call i32 @read(i32 %7, i8* %14, i32 3)
switch i32 %18, label %103 [
i32 -1, label %19
i32 3, label %24
]
19: ; preds = %17
%20 = load i32, i32* @errno
%21 = tail call i8* @strerror(i32 %20)
%22 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.1, i64 0, i64 0), i8* %21)
%23 = tail call i32 @close(i32 %7)
br label %105
24: ; preds = %17
%25 = load i8, i8* %14
%26 = zext i8 %25 to i32
%27 = load i8, i8* %15
%28 = zext i8 %27 to i32
%29 = load i8, i8* %16
%30 = zext i8 %29 to i32
%31 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str.4, i64 0, i64 0), i32 3, i32 %26, i32 %28, i32 %30)
%32 = tail call i32 @putchar(i32 32)
%33 = lshr i32 %26, 7
%34 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0), i32 %33)
%35 = lshr i32 %26, 6
%36 = and i32 %35, 1
%37 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0), i32 %36)
%38 = lshr i32 %26, 5
%39 = and i32 %38, 1
%40 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0), i32 %39)
%41 = lshr i32 %26, 4
%42 = and i32 %41, 1
%43 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0), i32 %42)
%44 = lshr i32 %26, 3
%45 = and i32 %44, 1
%46 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0), i32 %45)
%47 = lshr i32 %26, 2
%48 = and i32 %47, 1
%49 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0), i32 %48)
%50 = lshr i32 %26, 1
%51 = and i32 %50, 1
%52 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0), i32 %51)
%53 = and i32 %26, 1
%54 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0), i32 %53)
%55 = tail call i32 @putchar(i32 32)
%56 = lshr i32 %28, 7
%57 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0), i32 %56)
%58 = lshr i32 %28, 6
%59 = and i32 %58, 1
%60 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0), i32 %59)
%61 = lshr i32 %28, 5
%62 = and i32 %61, 1
%63 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0), i32 %62)
%64 = lshr i32 %28, 4
%65 = and i32 %64, 1
%66 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0), i32 %65)
%67 = lshr i32 %28, 3
%68 = and i32 %67, 1
%69 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0), i32 %68)
%70 = lshr i32 %28, 2
%71 = and i32 %70, 1
%72 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0), i32 %71)
%73 = lshr i32 %28, 1
%74 = and i32 %73, 1
%75 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0), i32 %74)
%76 = and i32 %28, 1
%77 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0), i32 %76)
%78 = tail call i32 @putchar(i32 32)
%79 = lshr i32 %30, 7
%80 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0), i32 %79)
%81 = lshr i32 %30, 6
%82 = and i32 %81, 1
%83 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0), i32 %82)
%84 = lshr i32 %30, 5
%85 = and i32 %84, 1
%86 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0), i32 %85)
%87 = lshr i32 %30, 4
%88 = and i32 %87, 1
%89 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0), i32 %88)
%90 = lshr i32 %30, 3
%91 = and i32 %90, 1
%92 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0), i32 %91)
%93 = lshr i32 %30, 2
%94 = and i32 %93, 1
%95 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0), i32 %94)
%96 = lshr i32 %30, 1
%97 = and i32 %96, 1
%98 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0), i32 %97)
%99 = and i32 %30, 1
%100 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0), i32 %99)
%101 = tail call i32 @putchar(i32 10)
br label %102
102: ; preds = %24, %103
br label %17
103: ; preds = %17
%104 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @.str.8, i64 0, i64 0), i32 %18)
br label %102
105: ; preds = %19, %9
ret i32 -1
}