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

/* Variables and functions */
size_t fread(unsigned char *, int, int, int /*<<< orphan*/);
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ stdin;
int main(int argc, char *argv[]) {
  int i, j;
  int sample = 0;
  int val, last_val = 0;
  size_t len = 0;
  unsigned char buf[1024];
  printf("$date Sat Aug 25 11:46:27 2012 $end\n");
  printf("$version fx2_logger 0.1 $end\n");
  printf("$timescale 41667 ns $end\n");
  printf("$scope module fx2 $end\n");
  printf("$var wire 1 ! 1 $end\n");
  printf("$upscope $end\n");
  printf("$enddefinitions $end\n");
  printf("$dumpvars\n");
  while ((len = fread(buf, 1, sizeof(buf), stdin)) > 0) {
    for (i = 0; i < len; i++) {
      for (j = 0; j < 8; j++) {
        if ((buf[i] << j) & 0x80) {
          val = 1;
        } else {
          val = 0;
        }
        if (val != last_val || sample == 0) {
          printf("#%u\n%u!\n", sample, val);
        }
        last_val = val;
        sample++;
      }
    }
  }
  printf("$dumpoff\n");
  printf("$end\n");
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x430,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movl   $0x0,-0x1c(%rbp)
movl   $0x0,-0x24(%rbp)
movq   $0x0,-0x30(%rbp)
lea    0xeaa(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xec1(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xed1(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xedd(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xee7(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xeef(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xef0(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xef8(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    -0x430(%rbp),%rdi
mov    0x2e1b(%rip),%rax
mov    (%rax),%ecx
mov    $0x1,%esi
mov    $0x400,%edx
call   1030 <fread@plt>
mov    %rax,-0x30(%rbp)
cmp    $0x0,%rax
jbe    12a3 <main+0x183>
movl   $0x0,-0x14(%rbp)
movslq -0x14(%rbp),%rax
cmp    -0x30(%rbp),%rax
jae    129e <main+0x17e>
movl   $0x0,-0x18(%rbp)
cmpl   $0x8,-0x18(%rbp)
jge    128b <main+0x16b>
movslq -0x14(%rbp),%rax
movzbl -0x430(%rbp,%rax,1),%eax
ff
mov    -0x18(%rbp),%ecx
shl    %cl,%eax
and    $0x80,%eax
cmp    $0x0,%eax
je     123d <main+0x11d>
movl   $0x1,-0x20(%rbp)
jmp    1244 <main+0x124>
movl   $0x0,-0x20(%rbp)
mov    -0x20(%rbp),%eax
cmp    -0x24(%rbp),%eax
jne    125a <main+0x13a>
cmpl   $0x0,-0x1c(%rbp)
jne    126e <main+0x14e>
mov    -0x1c(%rbp),%esi
mov    -0x20(%rbp),%edx
lea    0xe54(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x20(%rbp),%eax
mov    %eax,-0x24(%rbp)
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    1208 <main+0xe8>
jmp    1290 <main+0x170>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    11f3 <main+0xd3>
jmp    11bf <main+0x9f>
lea    0xe1a(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xdcd(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
xor    %eax,%eax
add    $0x430,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x418,%rsp
lea    0xec1(%rip),%rdi
call   1030 <puts@plt>
lea    0xed9(%rip),%rdi
call   1030 <puts@plt>
lea    0xeea(%rip),%rdi
call   1030 <puts@plt>
lea    0xef7(%rip),%rdi
call   1030 <puts@plt>
lea    0xf02(%rip),%rdi
call   1030 <puts@plt>
lea    0xf0b(%rip),%rdi
call   1030 <puts@plt>
lea    0xf0d(%rip),%rdi
call   1030 <puts@plt>
lea    0xf16(%rip),%rdi
call   1030 <puts@plt>
mov    0x2e40(%rip),%rax
mov    (%rax),%ecx
lea    0x10(%rsp),%rdi
mov    $0x1,%esi
mov    $0x400,%edx
call   1040 <fread@plt>
mov    %rax,0x8(%rsp)
test   %rax,%rax
je     1370 <main+0x240>
lea    0xe2d(%rip),%r12
xor    %r14d,%r14d
xor    %r13d,%r13d
jmp    120b <main+0xdb>
nopl   0x0(%rax,%rax,1)
mov    0x2e01(%rip),%rax
mov    (%rax),%ecx
lea    0x10(%rsp),%rdi
mov    $0x1,%esi
mov    $0x400,%edx
call   1040 <fread@plt>
mov    %rax,0x8(%rsp)
test   %rax,%rax
je     1370 <main+0x240>
xor    %r15d,%r15d
jmp    1230 <main+0x100>
lea    0x7(%r13),%esi
mov    %r12,%rdi
mov    %r14d,%edx
xor    %eax,%eax
call   1050 <printf@plt>
add    $0x8,%r13d
add    $0x1,%r15
cmp    %r15,0x8(%rsp)
je     11e0 <main+0xb0>
movzbl 0x10(%rsp,%r15,1),%eax
mov    %eax,%ebx
shr    $0x7,%ebx
cmp    %ebx,%r14d
jne    1245 <main+0x115>
test   %r13d,%r13d
jne    125a <main+0x12a>
mov    %r12,%rdi
mov    %r13d,%esi
mov    %ebx,%edx
xor    %eax,%eax
call   1050 <printf@plt>
movzbl 0x10(%rsp,%r15,1),%eax
mov    %r13d,%esi
inc    %esi
sete   %cl
mov    %eax,%r14d
shr    $0x6,%r14d
and    $0x1,%r14d
cmp    %r14d,%ebx
jne    1276 <main+0x146>
test   %cl,%cl
je     1289 <main+0x159>
mov    %r12,%rdi
mov    %r14d,%edx
xor    %eax,%eax
call   1050 <printf@plt>
movzbl 0x10(%rsp,%r15,1),%eax
mov    %eax,%ebp
shr    $0x5,%ebp
and    $0x1,%ebp
cmp    %ebp,%r14d
jne    129c <main+0x16c>
cmp    $0xfffffffe,%r13d
jne    12b2 <main+0x182>
lea    0x2(%r13),%esi
mov    %r12,%rdi
mov    %ebp,%edx
xor    %eax,%eax
call   1050 <printf@plt>
movzbl 0x10(%rsp,%r15,1),%eax
mov    %eax,%ebx
shr    $0x4,%ebx
and    $0x1,%ebx
cmp    %ebx,%ebp
jne    12c4 <main+0x194>
cmp    $0xfffffffd,%r13d
jne    12da <main+0x1aa>
lea    0x3(%r13),%esi
mov    %r12,%rdi
mov    %ebx,%edx
xor    %eax,%eax
call   1050 <printf@plt>
movzbl 0x10(%rsp,%r15,1),%eax
mov    %eax,%ebp
shr    $0x3,%ebp
and    $0x1,%ebp
cmp    %ebp,%ebx
jne    12ec <main+0x1bc>
cmp    $0xfffffffc,%r13d
jne    1302 <main+0x1d2>
lea    0x4(%r13),%esi
mov    %r12,%rdi
mov    %ebp,%edx
xor    %eax,%eax
call   1050 <printf@plt>
movzbl 0x10(%rsp,%r15,1),%eax
mov    %eax,%ebx
shr    $0x2,%ebx
and    $0x1,%ebx
cmp    %ebx,%ebp
jne    1314 <main+0x1e4>
cmp    $0xfffffffb,%r13d
jne    132a <main+0x1fa>
lea    0x5(%r13),%esi
mov    %r12,%rdi
mov    %ebx,%edx
xor    %eax,%eax
call   1050 <printf@plt>
movzbl 0x10(%rsp,%r15,1),%eax
mov    %eax,%ebp
shr    %ebp
and    $0x1,%ebp
cmp    %ebp,%ebx
jne    133b <main+0x20b>
cmp    $0xfffffffa,%r13d
jne    1351 <main+0x221>
lea    0x6(%r13),%esi
mov    %r12,%rdi
mov    %ebp,%edx
xor    %eax,%eax
call   1050 <printf@plt>
movzbl 0x10(%rsp,%r15,1),%eax
mov    %eax,%r14d
and    $0x1,%r14d
cmp    %r14d,%ebp
jne    1210 <main+0xe0>
cmp    $0xfffffff9,%r13d
jne    1221 <main+0xf1>
jmp    1210 <main+0xe0>
lea    0xd45(%rip),%rdi
call   1030 <puts@plt>
lea    0xd07(%rip),%rdi
call   1030 <puts@plt>
xor    %eax,%eax
add    $0x418,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [37 x i8] c"$date Sat Aug 25 11:46:27 2012 $end\0A\00"
@.str.1 = [30 x i8] c"$version fx2_logger 0.1 $end\0A\00"
@.str.2 = [26 x i8] c"$timescale 41667 ns $end\0A\00"
@.str.3 = [24 x i8] c"$scope module fx2 $end\0A\00"
@.str.4 = [22 x i8] c"$var wire 1 ! 1 $end\0A\00"
@.str.5 = [15 x i8] c"$upscope $end\0A\00"
@.str.6 = [22 x i8] c"$enddefinitions $end\0A\00"
@.str.7 = [11 x i8] c"$dumpvars\0A\00"
@stdin = global i32 0
@.str.8 = [9 x i8] c"#%u\0A%u!\0A\00"
@.str.9 = [10 x i8] c"$dumpoff\0A\00"
@.str.10 = [6 x i8] c"$end\0A\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
%9 = alloca i32
%10 = alloca i32
%11 = alloca i64
%12 = alloca [1024 x i8]
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
store i32 0, i32* %8
store i32 0, i32* %10
store i64 0, i64* %11
%13 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str, i64 0, i64 0))
%14 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.1, i64 0, i64 0))
%15 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.2, i64 0, i64 0))
%16 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.3, i64 0, i64 0))
%17 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.4, i64 0, i64 0))
%18 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.5, i64 0, i64 0))
%19 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.6, i64 0, i64 0))
%20 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.7, i64 0, i64 0))
br label %21
21: ; preds = %70, %2
%22 = getelementptr inbounds [1024 x i8], [1024 x i8]* %12, i64 0, i64 0
%23 = load i32, i32* @stdin
%24 = call i64 @fread(i8* %22, i32 1, i32 1024, i32 %23)
store i64 %24, i64* %11
%25 = icmp ugt i64 %24, 0
br i1 %25, label %26, label %71
26: ; preds = %21
store i32 0, i32* %6
br label %27
27: ; preds = %67, %26
%28 = load i32, i32* %6
%29 = sext i32 %28 to i64
%30 = load i64, i64* %11
%31 = icmp ult i64 %29, %30
br i1 %31, label %32, label %70
32: ; preds = %27
store i32 0, i32* %7
br label %33
33: ; preds = %63, %32
%34 = load i32, i32* %7
%35 = icmp slt i32 %34, 8
br i1 %35, label %36, label %66
36: ; preds = %33
%37 = load i32, i32* %6
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds [1024 x i8], [1024 x i8]* %12, i64 0, i64 %38
%40 = load i8, i8* %39
%41 = zext i8 %40 to i32
%42 = load i32, i32* %7
%43 = shl i32 %41, %42
%44 = and i32 %43, 128
%45 = icmp ne i32 %44, 0
br i1 %45, label %46, label %47
46: ; preds = %36
store i32 1, i32* %9
br label %48
47: ; preds = %36
store i32 0, i32* %9
br label %48
48: ; preds = %47, %46
%49 = load i32, i32* %9
%50 = load i32, i32* %10
%51 = icmp ne i32 %49, %50
br i1 %51, label %55, label %52
52: ; preds = %48
%53 = load i32, i32* %8
%54 = icmp eq i32 %53, 0
br i1 %54, label %55, label %59
55: ; preds = %52, %48
%56 = load i32, i32* %8
%57 = load i32, i32* %9
%58 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.8, i64 0, i64 0), i32 %56, i32 %57)
br label %59
59: ; preds = %55, %52
%60 = load i32, i32* %9
store i32 %60, i32* %10
%61 = load i32, i32* %8
%62 = add nsw i32 %61, 1
store i32 %62, i32* %8
br label %63
63: ; preds = %59
%64 = load i32, i32* %7
%65 = add nsw i32 %64, 1
store i32 %65, i32* %7
br label %33
66: ; preds = %33
br label %67
67: ; preds = %66
%68 = load i32, i32* %6
%69 = add nsw i32 %68, 1
store i32 %69, i32* %6
br label %27
70: ; preds = %27
br label %21
71: ; preds = %21
%72 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.9, i64 0, i64 0))
%73 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.10, i64 0, i64 0))
ret i32 0
}

LLVM IR (-O2):
@stdin = global i32 0
@.str.8 = [9 x i8] c"#%u\0A%u!\0A\00"
@str = [36 x i8] c"$date Sat Aug 25 11:46:27 2012 $end\00"
@str.11 = [29 x i8] c"$version fx2_logger 0.1 $end\00"
@str.12 = [25 x i8] c"$timescale 41667 ns $end\00"
@str.13 = [23 x i8] c"$scope module fx2 $end\00"
@str.14 = [21 x i8] c"$var wire 1 ! 1 $end\00"
@str.15 = [14 x i8] c"$upscope $end\00"
@str.16 = [21 x i8] c"$enddefinitions $end\00"
@str.17 = [10 x i8] c"$dumpvars\00"
@str.18 = [9 x i8] c"$dumpoff\00"
@str.19 = [5 x i8] c"$end\00"
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = alloca [1024 x i8]
%4 = getelementptr inbounds [1024 x i8], [1024 x i8]* %3, i64 0, i64 0
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([36 x i8], [36 x i8]* @str, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @str.11, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @str.12, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @str.13, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @str.14, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @str.15, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @str.16, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @str.17, i64 0, i64 0))
%13 = load i32, i32* @stdin
%14 = call i64 @fread(i8* %4, i32 1, i32 1024, i32 %13)
%15 = icmp eq i64 %14, 0
br i1 %15, label %124, label %20
16: ; preds = %120
%17 = load i32, i32* @stdin
%18 = call i64 @fread(i8* %4, i32 1, i32 1024, i32 %17)
%19 = icmp eq i64 %18, 0
br i1 %19, label %124, label %20
20: ; preds = %2, %16
%21 = phi i64 [ %18, %16 ], [ %14, %2 ]
%22 = phi i32 [ %114, %16 ], [ 0, %2 ]
%23 = phi i32 [ %121, %16 ], [ 0, %2 ]
br label %24
24: ; preds = %20, %120
%25 = phi i64 [ 0, %20 ], [ %122, %120 ]
%26 = phi i32 [ %22, %20 ], [ %114, %120 ]
%27 = phi i32 [ %23, %20 ], [ %121, %120 ]
%28 = getelementptr inbounds [1024 x i8], [1024 x i8]* %3, i64 0, i64 %25
%29 = load i8, i8* %28
%30 = zext i8 %29 to i32
%31 = lshr i32 %30, 7
%32 = icmp ne i32 %26, %31
%33 = icmp eq i32 %27, 0
%34 = select i1 %32, i1 true, i1 %33
br i1 %34, label %35, label %39
35: ; preds = %24
%36 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.8, i64 0, i64 0), i32 %27, i32 %31)
%37 = load i8, i8* %28
%38 = zext i8 %37 to i32
br label %39
39: ; preds = %24, %35
%40 = phi i32 [ %30, %24 ], [ %38, %35 ]
%41 = add nsw i32 %27, 1
%42 = lshr i32 %40, 6
%43 = and i32 %42, 1
%44 = icmp ne i32 %31, %43
%45 = icmp eq i32 %41, 0
%46 = select i1 %44, i1 true, i1 %45
br i1 %46, label %47, label %51
47: ; preds = %39
%48 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.8, i64 0, i64 0), i32 %41, i32 %43)
%49 = load i8, i8* %28
%50 = zext i8 %49 to i32
br label %51
51: ; preds = %47, %39
%52 = phi i32 [ %50, %47 ], [ %40, %39 ]
%53 = add nsw i32 %27, 2
%54 = lshr i32 %52, 5
%55 = and i32 %54, 1
%56 = icmp ne i32 %43, %55
%57 = icmp eq i32 %53, 0
%58 = select i1 %56, i1 true, i1 %57
br i1 %58, label %59, label %63
59: ; preds = %51
%60 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.8, i64 0, i64 0), i32 %53, i32 %55)
%61 = load i8, i8* %28
%62 = zext i8 %61 to i32
br label %63
63: ; preds = %59, %51
%64 = phi i32 [ %62, %59 ], [ %52, %51 ]
%65 = add nsw i32 %27, 3
%66 = lshr i32 %64, 4
%67 = and i32 %66, 1
%68 = icmp ne i32 %55, %67
%69 = icmp eq i32 %65, 0
%70 = select i1 %68, i1 true, i1 %69
br i1 %70, label %71, label %75
71: ; preds = %63
%72 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.8, i64 0, i64 0), i32 %65, i32 %67)
%73 = load i8, i8* %28
%74 = zext i8 %73 to i32
br label %75
75: ; preds = %71, %63
%76 = phi i32 [ %74, %71 ], [ %64, %63 ]
%77 = add nsw i32 %27, 4
%78 = lshr i32 %76, 3
%79 = and i32 %78, 1
%80 = icmp ne i32 %67, %79
%81 = icmp eq i32 %77, 0
%82 = select i1 %80, i1 true, i1 %81
br i1 %82, label %83, label %87
83: ; preds = %75
%84 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.8, i64 0, i64 0), i32 %77, i32 %79)
%85 = load i8, i8* %28
%86 = zext i8 %85 to i32
br label %87
87: ; preds = %83, %75
%88 = phi i32 [ %86, %83 ], [ %76, %75 ]
%89 = add nsw i32 %27, 5
%90 = lshr i32 %88, 2
%91 = and i32 %90, 1
%92 = icmp ne i32 %79, %91
%93 = icmp eq i32 %89, 0
%94 = select i1 %92, i1 true, i1 %93
br i1 %94, label %95, label %99
95: ; preds = %87
%96 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.8, i64 0, i64 0), i32 %89, i32 %91)
%97 = load i8, i8* %28
%98 = zext i8 %97 to i32
br label %99
99: ; preds = %95, %87
%100 = phi i32 [ %98, %95 ], [ %88, %87 ]
%101 = add nsw i32 %27, 6
%102 = lshr i32 %100, 1
%103 = and i32 %102, 1
%104 = icmp ne i32 %91, %103
%105 = icmp eq i32 %101, 0
%106 = select i1 %104, i1 true, i1 %105
br i1 %106, label %107, label %111
107: ; preds = %99
%108 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.8, i64 0, i64 0), i32 %101, i32 %103)
%109 = load i8, i8* %28
%110 = zext i8 %109 to i32
br label %111
111: ; preds = %107, %99
%112 = phi i32 [ %110, %107 ], [ %100, %99 ]
%113 = add nsw i32 %27, 7
%114 = and i32 %112, 1
%115 = icmp ne i32 %103, %114
%116 = icmp eq i32 %113, 0
%117 = select i1 %115, i1 true, i1 %116
br i1 %117, label %118, label %120
118: ; preds = %111
%119 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.8, i64 0, i64 0), i32 %113, i32 %114)
br label %120
120: ; preds = %118, %111
%121 = add nsw i32 %27, 8
%122 = add nuw i64 %25, 1
%123 = icmp eq i64 %122, %21
br i1 %123, label %16, label %24
124: ; preds = %16, %2
%125 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @str.18, i64 0, i64 0))
%126 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @str.19, i64 0, i64 0))
ret i32 0
}