#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 getchar();
char *malloc(int);
int /*<<< orphan*/ printf(char *, char, char, char, ...);
int main(int argc, char **argv) {
  signed char *c = malloc(3 * sizeof(char)), i;
  while (1) {
    for (i = 0; i < 3; i++)
      c[i] = getchar();
    printf("%2x %2x %2x ", (unsigned char)c[0], (unsigned char)c[1],
           (unsigned char)c[2]);
    printf(": "
           "%d%d%d%d%d%d%d%d"
           "%d%d%d%d%d%d%d%d"
           "%d%d%d%d%d%d%d%d"
           " ",
           (c[0] & 0x80 ? 1 : 0), (c[0] & 0x40 ? 1 : 0), (c[0] & 0x20 ? 1 : 0),
           (c[0] & 0x10 ? 1 : 0), (c[0] & 0x08 ? 1 : 0), (c[0] & 0x04 ? 1 : 0),
           (c[0] & 0x02 ? 1 : 0), (c[0] & 0x01 ? 1 : 0), (c[1] & 0x80 ? 1 : 0),
           (c[1] & 0x40 ? 1 : 0), (c[1] & 0x20 ? 1 : 0), (c[1] & 0x10 ? 1 : 0),
           (c[1] & 0x08 ? 1 : 0), (c[1] & 0x04 ? 1 : 0), (c[1] & 0x02 ? 1 : 0),
           (c[1] & 0x01 ? 1 : 0), (c[2] & 0x80 ? 1 : 0), (c[2] & 0x40 ? 1 : 0),
           (c[2] & 0x20 ? 1 : 0), (c[2] & 0x10 ? 1 : 0), (c[2] & 0x08 ? 1 : 0),
           (c[2] & 0x04 ? 1 : 0), (c[2] & 0x02 ? 1 : 0), (c[2] & 0x01 ? 1 : 0));
    printf(": %d %d %d\n", (signed char)c[0], (signed char)c[1],
           (signed char)c[2]);
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0xf8,%rsp
movl   $0x0,-0x2c(%rbp)
mov    %edi,-0x30(%rbp)
mov    %rsi,-0x38(%rbp)
mov    $0x3,%edi
call   1050 <malloc@plt>
mov    %rax,-0x40(%rbp)
movb   $0x0,-0x41(%rbp)
movsbl -0x41(%rbp),%eax
cmp    $0x3,%eax
jge    1193 <main+0x63>
mov    $0x0,%al
call   1040 <getchar@plt>
mov    %al,%dl
mov    -0x40(%rbp),%rax
movsbq -0x41(%rbp),%rcx
mov    %dl,(%rax,%rcx,1)
mov    -0x41(%rbp),%al
add    $0x1,%al
mov    %al,-0x41(%rbp)
jmp    1164 <main+0x34>
mov    -0x40(%rbp),%rax
mov    (%rax),%dl
mov    -0x40(%rbp),%rax
mov    0x1(%rax),%cl
mov    -0x40(%rbp),%rax
lea    0xe55(%rip),%rdi
movsbl %dl,%esi
movsbl %cl,%edx
movsbl 0x2(%rax),%ecx
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x40(%rbp),%rax
movsbl (%rax),%edx
and    $0x80,%edx
xor    %eax,%eax
mov    $0x1,%ecx
cmp    $0x0,%edx
cmovne %ecx,%eax
mov    %al,%sil
mov    -0x40(%rbp),%rax
movsbl (%rax),%edx
and    $0x40,%edx
xor    %eax,%eax
mov    $0x1,%ecx
cmp    $0x0,%edx
cmovne %ecx,%eax
mov    %al,%dl
mov    -0x40(%rbp),%rax
movsbl (%rax),%edi
and    $0x20,%edi
xor    %eax,%eax
mov    $0x1,%ecx
cmp    $0x0,%edi
cmovne %ecx,%eax
mov    %al,%cl
mov    -0x40(%rbp),%rax
movsbl (%rax),%edi
and    $0x10,%edi
xor    %r8d,%r8d
mov    $0x1,%eax
cmp    $0x0,%edi
cmovne %eax,%r8d
mov    -0x40(%rbp),%rax
movsbl (%rax),%edi
and    $0x8,%edi
xor    %r9d,%r9d
mov    $0x1,%eax
cmp    $0x0,%edi
cmovne %eax,%r9d
mov    -0x40(%rbp),%rax
movsbl (%rax),%r10d
and    $0x4,%r10d
xor    %eax,%eax
mov    $0x1,%edi
cmp    $0x0,%r10d
cmovne %edi,%eax
mov    %eax,-0x74(%rbp)
mov    -0x40(%rbp),%rax
movsbl (%rax),%r10d
and    $0x2,%r10d
xor    %eax,%eax
mov    $0x1,%edi
cmp    $0x0,%r10d
cmovne %edi,%eax
mov    %eax,-0x70(%rbp)
mov    -0x40(%rbp),%rax
movsbl (%rax),%r10d
and    $0x1,%r10d
xor    %eax,%eax
mov    $0x1,%edi
cmp    $0x0,%r10d
cmovne %edi,%eax
mov    %eax,-0x6c(%rbp)
mov    -0x40(%rbp),%rax
movsbl 0x1(%rax),%r10d
and    $0x80,%r10d
xor    %eax,%eax
mov    $0x1,%edi
cmp    $0x0,%r10d
cmovne %edi,%eax
mov    %eax,-0x68(%rbp)
mov    -0x40(%rbp),%rax
movsbl 0x1(%rax),%r10d
and    $0x40,%r10d
xor    %eax,%eax
mov    $0x1,%edi
cmp    $0x0,%r10d
cmovne %edi,%eax
mov    %eax,-0x64(%rbp)
mov    -0x40(%rbp),%rax
movsbl 0x1(%rax),%r10d
and    $0x20,%r10d
xor    %eax,%eax
mov    $0x1,%edi
cmp    $0x0,%r10d
cmovne %edi,%eax
mov    %eax,-0x60(%rbp)
mov    -0x40(%rbp),%rax
movsbl 0x1(%rax),%r10d
and    $0x10,%r10d
xor    %eax,%eax
mov    $0x1,%edi
cmp    $0x0,%r10d
cmovne %edi,%eax
mov    %eax,-0x5c(%rbp)
mov    -0x40(%rbp),%rax
movsbl 0x1(%rax),%r10d
and    $0x8,%r10d
xor    %eax,%eax
mov    $0x1,%edi
cmp    $0x0,%r10d
cmovne %edi,%eax
mov    %eax,-0x58(%rbp)
mov    -0x40(%rbp),%rax
movsbl 0x1(%rax),%r10d
and    $0x4,%r10d
xor    %eax,%eax
mov    $0x1,%edi
cmp    $0x0,%r10d
cmovne %edi,%eax
mov    %eax,-0x54(%rbp)
mov    -0x40(%rbp),%rax
movsbl 0x1(%rax),%r10d
and    $0x2,%r10d
xor    %eax,%eax
mov    $0x1,%edi
cmp    $0x0,%r10d
cmovne %edi,%eax
mov    %eax,-0x50(%rbp)
mov    -0x40(%rbp),%rax
movsbl 0x1(%rax),%r10d
and    $0x1,%r10d
xor    %eax,%eax
mov    $0x1,%edi
cmp    $0x0,%r10d
cmovne %edi,%eax
mov    %eax,-0x4c(%rbp)
mov    -0x40(%rbp),%rax
movsbl 0x2(%rax),%edi
and    $0x80,%edi
xor    %r13d,%r13d
mov    $0x1,%eax
cmp    $0x0,%edi
cmovne %eax,%r13d
mov    -0x40(%rbp),%rax
movsbl 0x2(%rax),%edi
and    $0x40,%edi
xor    %r12d,%r12d
mov    $0x1,%eax
cmp    $0x0,%edi
cmovne %eax,%r12d
mov    -0x40(%rbp),%rax
movsbl 0x2(%rax),%edi
and    $0x20,%edi
xor    %r15d,%r15d
mov    $0x1,%eax
cmp    $0x0,%edi
cmovne %eax,%r15d
mov    -0x40(%rbp),%rax
movsbl 0x2(%rax),%edi
and    $0x10,%edi
xor    %r14d,%r14d
mov    $0x1,%eax
cmp    $0x0,%edi
cmovne %eax,%r14d
mov    -0x40(%rbp),%rax
movsbl 0x2(%rax),%edi
and    $0x8,%edi
xor    %ebx,%ebx
mov    $0x1,%eax
cmp    $0x0,%edi
cmovne %eax,%ebx
mov    -0x40(%rbp),%rax
movsbl 0x2(%rax),%edi
and    $0x4,%edi
xor    %r11d,%r11d
mov    $0x1,%eax
cmp    $0x0,%edi
cmovne %eax,%r11d
mov    -0x40(%rbp),%rax
movsbl 0x2(%rax),%edi
and    $0x2,%edi
xor    %r10d,%r10d
mov    $0x1,%eax
cmp    $0x0,%edi
cmovne %eax,%r10d
mov    -0x40(%rbp),%rax
movsbl 0x2(%rax),%eax
and    $0x1,%eax
mov    %eax,-0x7c(%rbp)
xor    %edi,%edi
mov    $0x1,%eax
mov    %eax,-0x78(%rbp)
mov    -0x7c(%rbp),%eax
cmp    $0x0,%eax
mov    -0x78(%rbp),%eax
cmovne %eax,%edi
mov    -0x74(%rbp),%eax
mov    %edi,-0x48(%rbp)
lea    0xb9e(%rip),%rdi
movsbl %sil,%esi
movsbl %dl,%edx
movsbl %cl,%ecx
mov    %eax,(%rsp)
mov    -0x70(%rbp),%eax
mov    %eax,0x8(%rsp)
mov    -0x6c(%rbp),%eax
mov    %eax,0x10(%rsp)
mov    -0x68(%rbp),%eax
mov    %eax,0x18(%rsp)
mov    -0x64(%rbp),%eax
mov    %eax,0x20(%rsp)
mov    -0x60(%rbp),%eax
mov    %eax,0x28(%rsp)
mov    -0x5c(%rbp),%eax
mov    %eax,0x30(%rsp)
mov    -0x58(%rbp),%eax
mov    %eax,0x38(%rsp)
mov    -0x54(%rbp),%eax
mov    %eax,0x40(%rsp)
mov    -0x50(%rbp),%eax
mov    %eax,0x48(%rsp)
mov    -0x4c(%rbp),%eax
mov    %eax,0x50(%rsp)
mov    -0x48(%rbp),%eax
mov    %r13d,0x58(%rsp)
mov    %r12d,0x60(%rsp)
mov    %r15d,0x68(%rsp)
mov    %r14d,0x70(%rsp)
mov    %ebx,0x78(%rsp)
mov    %r11d,0x80(%rsp)
mov    %r10d,0x88(%rsp)
mov    %eax,0x90(%rsp)
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x40(%rbp),%rax
mov    (%rax),%dl
mov    -0x40(%rbp),%rax
mov    0x1(%rax),%cl
mov    -0x40(%rbp),%rax
lea    0xb2e(%rip),%rdi
movsbl %dl,%esi
movsbl %cl,%edx
movsbl 0x2(%rax),%ecx
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1160 <main+0x30>

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x68,%rsp
xchg   %ax,%ax
xor    %eax,%eax
call   1040 <getchar@plt>
mov    %eax,%ebp
xor    %eax,%eax
call   1040 <getchar@plt>
mov    %eax,%ebx
xor    %eax,%eax
call   1040 <getchar@plt>
movsbl %bpl,%ebp
movsbl %bl,%edx
movsbl %al,%ecx
lea    0xea6(%rip),%rdi
mov    %ebp,%esi
mov    %edx,%ebx
mov    %edx,0x8(%rsp)
mov    %ecx,%r14d
mov    %ecx,0x4(%rsp)
xor    %eax,%eax
call   1030 <printf@plt>
mov    %ebp,0xc(%rsp)
movzbl %bpl,%esi
mov    %ebp,%edx
shr    $0x7,%dl
mov    %ebp,%ecx
shr    $0x6,%cl
and    $0x1,%cl
mov    %ebp,%eax
shr    $0x5,%al
and    $0x1,%al
mov    %esi,%r8d
shr    $0x4,%r8d
and    $0x1,%r8d
mov    %esi,%r9d
shr    $0x3,%r9d
and    $0x1,%r9d
mov    %esi,%edi
shr    $0x2,%edi
and    $0x1,%edi
mov    %rdi,0x60(%rsp)
mov    %esi,%edi
shr    %edi
and    $0x1,%edi
mov    %rdi,0x58(%rsp)
and    $0x1,%esi
mov    %rsi,0x50(%rsp)
movzbl %bl,%r13d
mov    %r13d,%esi
shr    $0x7,%esi
mov    %rsi,0x48(%rsp)
mov    %r13d,%esi
shr    $0x6,%esi
and    $0x1,%esi
mov    %rsi,0x40(%rsp)
mov    %r13d,%esi
shr    $0x5,%esi
and    $0x1,%esi
mov    %rsi,0x38(%rsp)
mov    %r13d,%esi
shr    $0x4,%esi
and    $0x1,%esi
mov    %rsi,0x30(%rsp)
mov    %r13d,%esi
shr    $0x3,%esi
and    $0x1,%esi
mov    %rsi,0x28(%rsp)
mov    %r13d,%esi
shr    $0x2,%esi
and    $0x1,%esi
mov    %rsi,0x20(%rsp)
mov    %r13d,%esi
shr    %esi
and    $0x1,%esi
mov    %rsi,0x18(%rsp)
and    $0x1,%r13d
movzbl %r14b,%r14d
mov    %r14d,%esi
shr    $0x7,%esi
mov    %rsi,0x10(%rsp)
mov    %r14d,%ebx
shr    $0x6,%ebx
and    $0x1,%ebx
mov    %r14d,%r12d
shr    $0x5,%r12d
and    $0x1,%r12d
mov    %r14d,%r11d
shr    $0x4,%r11d
and    $0x1,%r11d
mov    %r14d,%r15d
shr    $0x3,%r15d
and    $0x1,%r15d
mov    %r14d,%r10d
shr    $0x2,%r10d
and    $0x1,%r10d
mov    %r14d,%ebp
shr    %ebp
and    $0x1,%ebp
and    $0x1,%r14d
sub    $0x8,%rsp
movzbl %dl,%esi
movzbl %cl,%edx
movzbl %al,%ecx
lea    0xd80(%rip),%rdi
mov    $0x0,%eax
push   %r14
push   %rbp
push   %r10
push   %r15
push   %r11
push   %r12
push   %rbx
push   0x50(%rsp)
push   %r13
push   0x68(%rsp)
push   0x78(%rsp)
push   0x88(%rsp)
push   0x98(%rsp)
push   0xa8(%rsp)
push   0xb8(%rsp)
push   0xc8(%rsp)
push   0xd8(%rsp)
push   0xe8(%rsp)
push   0xf8(%rsp)
call   1030 <printf@plt>
add    $0xa0,%rsp
lea    0xd4a(%rip),%rdi
mov    0xc(%rsp),%esi
mov    0x8(%rsp),%edx
mov    0x4(%rsp),%ecx
xor    %eax,%eax
call   1030 <printf@plt>
jmp    1130 <main+0x10>

LLVM IR (-O0):
@.str = [13 x i8] c"%2x %2x %2x \00"
@.str.1 = [52 x i8] c": %d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d \00"
@.str.2 = [12 x i8] c": %d %d %d\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i8*
%7 = alloca i8
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%8 = call i8* @malloc(i32 3)
store i8* %8, i8** %6
br label %9
9: ; preds = %2, %23
store i8 0, i8* %7
br label %10
10: ; preds = %20, %9
%11 = load i8, i8* %7
%12 = sext i8 %11 to i32
%13 = icmp slt i32 %12, 3
br i1 %13, label %14, label %23
14: ; preds = %10
%15 = call signext i8 (...) @getchar()
%16 = load i8*, i8** %6
%17 = load i8, i8* %7
%18 = sext i8 %17 to i64
%19 = getelementptr inbounds i8, i8* %16, i64 %18
store i8 %15, i8* %19
br label %20
20: ; preds = %14
%21 = load i8, i8* %7
%22 = add i8 %21, 1
store i8 %22, i8* %7
br label %10
23: ; preds = %10
%24 = load i8*, i8** %6
%25 = getelementptr inbounds i8, i8* %24, i64 0
%26 = load i8, i8* %25
%27 = load i8*, i8** %6
%28 = getelementptr inbounds i8, i8* %27, i64 1
%29 = load i8, i8* %28
%30 = load i8*, i8** %6
%31 = getelementptr inbounds i8, i8* %30, i64 2
%32 = load i8, i8* %31
%33 = call i32 (i8*, i8, i8, i8, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str, i64 0, i64 0), i8 signext %26, i8 signext %29, i8 signext %32)
%34 = load i8*, i8** %6
%35 = getelementptr inbounds i8, i8* %34, i64 0
%36 = load i8, i8* %35
%37 = sext i8 %36 to i32
%38 = and i32 %37, 128
%39 = icmp ne i32 %38, 0
%40 = zext i1 %39 to i64
%41 = select i1 %39, i32 1, i32 0
%42 = trunc i32 %41 to i8
%43 = load i8*, i8** %6
%44 = getelementptr inbounds i8, i8* %43, i64 0
%45 = load i8, i8* %44
%46 = sext i8 %45 to i32
%47 = and i32 %46, 64
%48 = icmp ne i32 %47, 0
%49 = zext i1 %48 to i64
%50 = select i1 %48, i32 1, i32 0
%51 = trunc i32 %50 to i8
%52 = load i8*, i8** %6
%53 = getelementptr inbounds i8, i8* %52, i64 0
%54 = load i8, i8* %53
%55 = sext i8 %54 to i32
%56 = and i32 %55, 32
%57 = icmp ne i32 %56, 0
%58 = zext i1 %57 to i64
%59 = select i1 %57, i32 1, i32 0
%60 = trunc i32 %59 to i8
%61 = load i8*, i8** %6
%62 = getelementptr inbounds i8, i8* %61, i64 0
%63 = load i8, i8* %62
%64 = sext i8 %63 to i32
%65 = and i32 %64, 16
%66 = icmp ne i32 %65, 0
%67 = zext i1 %66 to i64
%68 = select i1 %66, i32 1, i32 0
%69 = load i8*, i8** %6
%70 = getelementptr inbounds i8, i8* %69, i64 0
%71 = load i8, i8* %70
%72 = sext i8 %71 to i32
%73 = and i32 %72, 8
%74 = icmp ne i32 %73, 0
%75 = zext i1 %74 to i64
%76 = select i1 %74, i32 1, i32 0
%77 = load i8*, i8** %6
%78 = getelementptr inbounds i8, i8* %77, i64 0
%79 = load i8, i8* %78
%80 = sext i8 %79 to i32
%81 = and i32 %80, 4
%82 = icmp ne i32 %81, 0
%83 = zext i1 %82 to i64
%84 = select i1 %82, i32 1, i32 0
%85 = load i8*, i8** %6
%86 = getelementptr inbounds i8, i8* %85, i64 0
%87 = load i8, i8* %86
%88 = sext i8 %87 to i32
%89 = and i32 %88, 2
%90 = icmp ne i32 %89, 0
%91 = zext i1 %90 to i64
%92 = select i1 %90, i32 1, i32 0
%93 = load i8*, i8** %6
%94 = getelementptr inbounds i8, i8* %93, i64 0
%95 = load i8, i8* %94
%96 = sext i8 %95 to i32
%97 = and i32 %96, 1
%98 = icmp ne i32 %97, 0
%99 = zext i1 %98 to i64
%100 = select i1 %98, i32 1, i32 0
%101 = load i8*, i8** %6
%102 = getelementptr inbounds i8, i8* %101, i64 1
%103 = load i8, i8* %102
%104 = sext i8 %103 to i32
%105 = and i32 %104, 128
%106 = icmp ne i32 %105, 0
%107 = zext i1 %106 to i64
%108 = select i1 %106, i32 1, i32 0
%109 = load i8*, i8** %6
%110 = getelementptr inbounds i8, i8* %109, i64 1
%111 = load i8, i8* %110
%112 = sext i8 %111 to i32
%113 = and i32 %112, 64
%114 = icmp ne i32 %113, 0
%115 = zext i1 %114 to i64
%116 = select i1 %114, i32 1, i32 0
%117 = load i8*, i8** %6
%118 = getelementptr inbounds i8, i8* %117, i64 1
%119 = load i8, i8* %118
%120 = sext i8 %119 to i32
%121 = and i32 %120, 32
%122 = icmp ne i32 %121, 0
%123 = zext i1 %122 to i64
%124 = select i1 %122, i32 1, i32 0
%125 = load i8*, i8** %6
%126 = getelementptr inbounds i8, i8* %125, i64 1
%127 = load i8, i8* %126
%128 = sext i8 %127 to i32
%129 = and i32 %128, 16
%130 = icmp ne i32 %129, 0
%131 = zext i1 %130 to i64
%132 = select i1 %130, i32 1, i32 0
%133 = load i8*, i8** %6
%134 = getelementptr inbounds i8, i8* %133, i64 1
%135 = load i8, i8* %134
%136 = sext i8 %135 to i32
%137 = and i32 %136, 8
%138 = icmp ne i32 %137, 0
%139 = zext i1 %138 to i64
%140 = select i1 %138, i32 1, i32 0
%141 = load i8*, i8** %6
%142 = getelementptr inbounds i8, i8* %141, i64 1
%143 = load i8, i8* %142
%144 = sext i8 %143 to i32
%145 = and i32 %144, 4
%146 = icmp ne i32 %145, 0
%147 = zext i1 %146 to i64
%148 = select i1 %146, i32 1, i32 0
%149 = load i8*, i8** %6
%150 = getelementptr inbounds i8, i8* %149, i64 1
%151 = load i8, i8* %150
%152 = sext i8 %151 to i32
%153 = and i32 %152, 2
%154 = icmp ne i32 %153, 0
%155 = zext i1 %154 to i64
%156 = select i1 %154, i32 1, i32 0
%157 = load i8*, i8** %6
%158 = getelementptr inbounds i8, i8* %157, i64 1
%159 = load i8, i8* %158
%160 = sext i8 %159 to i32
%161 = and i32 %160, 1
%162 = icmp ne i32 %161, 0
%163 = zext i1 %162 to i64
%164 = select i1 %162, i32 1, i32 0
%165 = load i8*, i8** %6
%166 = getelementptr inbounds i8, i8* %165, i64 2
%167 = load i8, i8* %166
%168 = sext i8 %167 to i32
%169 = and i32 %168, 128
%170 = icmp ne i32 %169, 0
%171 = zext i1 %170 to i64
%172 = select i1 %170, i32 1, i32 0
%173 = load i8*, i8** %6
%174 = getelementptr inbounds i8, i8* %173, i64 2
%175 = load i8, i8* %174
%176 = sext i8 %175 to i32
%177 = and i32 %176, 64
%178 = icmp ne i32 %177, 0
%179 = zext i1 %178 to i64
%180 = select i1 %178, i32 1, i32 0
%181 = load i8*, i8** %6
%182 = getelementptr inbounds i8, i8* %181, i64 2
%183 = load i8, i8* %182
%184 = sext i8 %183 to i32
%185 = and i32 %184, 32
%186 = icmp ne i32 %185, 0
%187 = zext i1 %186 to i64
%188 = select i1 %186, i32 1, i32 0
%189 = load i8*, i8** %6
%190 = getelementptr inbounds i8, i8* %189, i64 2
%191 = load i8, i8* %190
%192 = sext i8 %191 to i32
%193 = and i32 %192, 16
%194 = icmp ne i32 %193, 0
%195 = zext i1 %194 to i64
%196 = select i1 %194, i32 1, i32 0
%197 = load i8*, i8** %6
%198 = getelementptr inbounds i8, i8* %197, i64 2
%199 = load i8, i8* %198
%200 = sext i8 %199 to i32
%201 = and i32 %200, 8
%202 = icmp ne i32 %201, 0
%203 = zext i1 %202 to i64
%204 = select i1 %202, i32 1, i32 0
%205 = load i8*, i8** %6
%206 = getelementptr inbounds i8, i8* %205, i64 2
%207 = load i8, i8* %206
%208 = sext i8 %207 to i32
%209 = and i32 %208, 4
%210 = icmp ne i32 %209, 0
%211 = zext i1 %210 to i64
%212 = select i1 %210, i32 1, i32 0
%213 = load i8*, i8** %6
%214 = getelementptr inbounds i8, i8* %213, i64 2
%215 = load i8, i8* %214
%216 = sext i8 %215 to i32
%217 = and i32 %216, 2
%218 = icmp ne i32 %217, 0
%219 = zext i1 %218 to i64
%220 = select i1 %218, i32 1, i32 0
%221 = load i8*, i8** %6
%222 = getelementptr inbounds i8, i8* %221, i64 2
%223 = load i8, i8* %222
%224 = sext i8 %223 to i32
%225 = and i32 %224, 1
%226 = icmp ne i32 %225, 0
%227 = zext i1 %226 to i64
%228 = select i1 %226, i32 1, i32 0
%229 = call i32 (i8*, i8, i8, i8, ...) @printf(i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.1, i64 0, i64 0), i8 signext %42, i8 signext %51, i8 signext %60, i32 %68, i32 %76, i32 %84, i32 %92, i32 %100, i32 %108, i32 %116, i32 %124, i32 %132, i32 %140, i32 %148, i32 %156, i32 %164, i32 %172, i32 %180, i32 %188, i32 %196, i32 %204, i32 %212, i32 %220, i32 %228)
%230 = load i8*, i8** %6
%231 = getelementptr inbounds i8, i8* %230, i64 0
%232 = load i8, i8* %231
%233 = load i8*, i8** %6
%234 = getelementptr inbounds i8, i8* %233, i64 1
%235 = load i8, i8* %234
%236 = load i8*, i8** %6
%237 = getelementptr inbounds i8, i8* %236, i64 2
%238 = load i8, i8* %237
%239 = call i32 (i8*, i8, i8, i8, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.2, i64 0, i64 0), i8 signext %232, i8 signext %235, i8 signext %238)
br label %9
}

LLVM IR (-O2):
@.str = [13 x i8] c"%2x %2x %2x \00"
@.str.1 = [52 x i8] c": %d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d%d \00"
@.str.2 = [12 x i8] c": %d %d %d\0A\00"
define i32 @main(i32 %0, i8** nocapture readnone %1) {
br label %3
3: ; preds = %3, %2
%4 = tail call signext i8 (...) @getchar()
%5 = tail call signext i8 (...) @getchar()
%6 = tail call signext i8 (...) @getchar()
%7 = tail call i32 (i8*, i8, i8, i8, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str, i64 0, i64 0), i8 signext %4, i8 signext %5, i8 signext %6)
%8 = zext i8 %4 to i32
%9 = lshr i8 %4, 7
%10 = lshr i8 %4, 6
%11 = and i8 %10, 1
%12 = lshr i8 %4, 5
%13 = and i8 %12, 1
%14 = lshr i32 %8, 4
%15 = and i32 %14, 1
%16 = lshr i32 %8, 3
%17 = and i32 %16, 1
%18 = lshr i32 %8, 2
%19 = and i32 %18, 1
%20 = lshr i32 %8, 1
%21 = and i32 %20, 1
%22 = and i32 %8, 1
%23 = zext i8 %5 to i32
%24 = lshr i32 %23, 7
%25 = lshr i32 %23, 6
%26 = and i32 %25, 1
%27 = lshr i32 %23, 5
%28 = and i32 %27, 1
%29 = lshr i32 %23, 4
%30 = and i32 %29, 1
%31 = lshr i32 %23, 3
%32 = and i32 %31, 1
%33 = lshr i32 %23, 2
%34 = and i32 %33, 1
%35 = lshr i32 %23, 1
%36 = and i32 %35, 1
%37 = and i32 %23, 1
%38 = zext i8 %6 to i32
%39 = lshr i32 %38, 7
%40 = lshr i32 %38, 6
%41 = and i32 %40, 1
%42 = lshr i32 %38, 5
%43 = and i32 %42, 1
%44 = lshr i32 %38, 4
%45 = and i32 %44, 1
%46 = lshr i32 %38, 3
%47 = and i32 %46, 1
%48 = lshr i32 %38, 2
%49 = and i32 %48, 1
%50 = lshr i32 %38, 1
%51 = and i32 %50, 1
%52 = and i32 %38, 1
%53 = tail call i32 (i8*, i8, i8, i8, ...) @printf(i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.1, i64 0, i64 0), i8 signext %9, i8 signext %11, i8 signext %13, i32 %15, i32 %17, i32 %19, i32 %21, i32 %22, i32 %24, i32 %26, i32 %28, i32 %30, i32 %32, i32 %34, i32 %36, i32 %37, i32 %39, i32 %41, i32 %43, i32 %45, i32 %47, i32 %49, i32 %51, i32 %52)
%54 = tail call i32 (i8*, i8, i8, i8, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.2, i64 0, i64 0), i8 signext %4, i8 signext %5, i8 signext %6)
br label %3
}