#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 */
int /*<<< orphan*/ exit(int);
int /*<<< orphan*/ fclose(int /*<<< orphan*/);
int /*<<< orphan*/ fflush(int /*<<< orphan*/);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *, ...);
int read(int /*<<< orphan*/, unsigned char *, int);
int /*<<< orphan*/ stderr;
int /*<<< orphan*/ stdout;
main(int argc, char *argv[]) {
  int i, cnt, pos, len;
  unsigned char *lp;
  unsigned char buf[8192];
  if (argc != 1) {
    fprintf(stderr, "usage: %s <in-file >out-file\n", argv[0]);
    exit(1);
  }
  fprintf(stdout, "#\n");
  fprintf(stdout, "# Miscellaneous data structures:\n");
  fprintf(stdout, "# WARNING - this file is automatically generated!\n");
  fprintf(stdout, "#\n");
  fprintf(stdout, "\n");
  fprintf(stdout, "\t.data\n");
  fprintf(stdout, "\t.globl input_data\n");
  fprintf(stdout, "input_data:\n");
  pos = 0;
  while ((len = read(0, buf, sizeof(buf))) > 0) {
    cnt = 0;
    lp = (unsigned char *)buf;
    len = (len + 3) & ~3;
    for (i = 0; i < len; i += 4) {
      if (cnt == 0) {
        fprintf(stdout, "\t.long\t");
      }
      fprintf(stdout, "0x%02X%02X%02X%02X", lp[0], lp[1], lp[2], lp[3]);
      lp += 4;
      if (++cnt == 4) {
        cnt = 0;
        fprintf(stdout, " # %x \n", pos + i - 12);
        fflush(stdout);
      } else {
        fprintf(stdout, ",");
      }
    }
    if (cnt) {
      fprintf(stdout, "0\n");
    }
    pos += len;
  }
  fprintf(stdout, "\t.globl input_len\n");
  fprintf(stdout, "input_len:\t.long\t0x%x\n", pos);
  fflush(stdout);
  fclose(stdout);
  exit(0);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x2030,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
cmpl   $0x1,-0x8(%rbp)
je     119b <main+0x4b>
mov    0x2e66(%rip),%rax
mov    (%rax),%edi
mov    -0x10(%rbp),%rax
mov    (%rax),%rdx
lea    0xe76(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
mov    $0x1,%edi
call   1070 <exit@plt>
mov    0x2e36(%rip),%rax
mov    (%rax),%edi
lea    0xe73(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
mov    0x2e1f(%rip),%rax
mov    (%rax),%edi
lea    0xe5f(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
mov    0x2e08(%rip),%rax
mov    (%rax),%edi
lea    0xe6a(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
mov    0x2df1(%rip),%rax
mov    (%rax),%edi
lea    0xe2e(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
mov    0x2dda(%rip),%rax
mov    (%rax),%edi
lea    0xeb9(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
mov    0x2dc3(%rip),%rax
mov    (%rax),%edi
lea    0xe58(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
mov    0x2dac(%rip),%rax
mov    (%rax),%edi
lea    0xe49(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
mov    0x2d95(%rip),%rax
mov    (%rax),%edi
lea    0xe46(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
movl   $0x0,-0x1c(%rbp)
lea    -0x2030(%rbp),%rsi
xor    %edi,%edi
mov    $0x2000,%edx
call   1040 <read@plt>
mov    %eax,-0x20(%rbp)
cmp    $0x0,%eax
jle    13b4 <main+0x264>
movl   $0x0,-0x18(%rbp)
lea    -0x2030(%rbp),%rax
mov    %rax,-0x28(%rbp)
mov    -0x20(%rbp),%eax
add    $0x3,%eax
and    $0xfffffffc,%eax
mov    %eax,-0x20(%rbp)
movl   $0x0,-0x14(%rbp)
mov    -0x14(%rbp),%eax
cmp    -0x20(%rbp),%eax
jge    1385 <main+0x235>
cmpl   $0x0,-0x18(%rbp)
jne    12cb <main+0x17b>
mov    0x2d1d(%rip),%rax
mov    (%rax),%edi
lea    0xddb(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
mov    0x2d06(%rip),%rax
mov    (%rax),%edi
mov    -0x28(%rbp),%rax
movzbl (%rax),%edx
mov    -0x28(%rbp),%rax
movzbl 0x1(%rax),%ecx
mov    -0x28(%rbp),%rax
movzbl 0x2(%rax),%r8d
mov    -0x28(%rbp),%rax
movzbl 0x3(%rax),%r9d
lea    0xdab(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
mov    -0x28(%rbp),%rax
add    $0x4,%rax
mov    %rax,-0x28(%rbp)
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
cmp    $0x4,%eax
jne    135b <main+0x20b>
movl   $0x0,-0x18(%rbp)
mov    0x2ca9(%rip),%rax
mov    (%rax),%edi
mov    -0x1c(%rbp),%edx
add    -0x14(%rbp),%edx
sub    $0xc,%edx
lea    0xd79(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
mov    0x2c89(%rip),%rax
mov    (%rax),%edi
call   1060 <fflush@plt>
jmp    1372 <main+0x222>
mov    0x2c76(%rip),%rax
mov    (%rax),%edi
lea    0xd57(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
jmp    1377 <main+0x227>
mov    -0x14(%rbp),%eax
add    $0x4,%eax
mov    %eax,-0x14(%rbp)
jmp    129e <main+0x14e>
cmpl   $0x0,-0x18(%rbp)
je     13a6 <main+0x256>
mov    0x2c42(%rip),%rax
mov    (%rax),%edi
lea    0xd25(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
mov    -0x20(%rbp),%eax
add    -0x1c(%rbp),%eax
mov    %eax,-0x1c(%rbp)
jmp    125a <main+0x10a>
mov    0x2c1d(%rip),%rax
mov    (%rax),%edi
lea    0xd03(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
mov    0x2c06(%rip),%rax
mov    (%rax),%edi
mov    -0x1c(%rbp),%edx
lea    0xcfc(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
mov    0x2bec(%rip),%rax
mov    (%rax),%edi
call   1060 <fflush@plt>
mov    0x2bde(%rip),%rax
mov    (%rax),%edi
call   1030 <fclose@plt>
xor    %edi,%edi
call   1070 <exit@plt>

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x2018,%rsp
cmp    $0x1,%edi
jne    1325 <main+0x1d5>
mov    0x2e67(%rip),%r13
mov    0x0(%r13),%edi
lea    0xea2(%rip),%rbx
xor    %r14d,%r14d
mov    %rbx,%rsi
xor    %eax,%eax
call   1050 <fprintf@plt>
mov    0x0(%r13),%edi
lea    0xe8d(%rip),%rsi
xor    %eax,%eax
call   1050 <fprintf@plt>
mov    0x0(%r13),%edi
lea    0xe9d(%rip),%rsi
xor    %eax,%eax
call   1050 <fprintf@plt>
mov    0x0(%r13),%edi
mov    %rbx,%rsi
xor    %eax,%eax
call   1050 <fprintf@plt>
mov    0x0(%r13),%edi
lea    0xefa(%rip),%rsi
xor    %eax,%eax
call   1050 <fprintf@plt>
mov    0x0(%r13),%edi
lea    0xe9e(%rip),%rsi
xor    %eax,%eax
call   1050 <fprintf@plt>
mov    0x0(%r13),%edi
lea    0xe94(%rip),%rsi
xor    %eax,%eax
call   1050 <fprintf@plt>
mov    0x0(%r13),%edi
lea    0xe96(%rip),%rsi
xor    %eax,%eax
call   1050 <fprintf@plt>
lea    0x10(%rsp),%rsi
xor    %edi,%edi
mov    $0x2000,%edx
call   1040 <read@plt>
test   %eax,%eax
jle    1349 <main+0x1f9>
mov    %eax,%ebp
lea    0xe82(%rip),%rbx
xor    %r14d,%r14d
jmp    124e <main+0xfe>
nopw   0x0(%rax,%rax,1)
add    %ebp,%r14d
xor    %edi,%edi
lea    0x10(%rsp),%rsi
mov    $0x2000,%edx
call   1040 <read@plt>
mov    %eax,%ebp
test   %eax,%eax
jle    1349 <main+0x1f9>
add    $0x3,%ebp
and    $0xfffffffc,%ebp
je     1230 <main+0xe0>
mov    %r14,0x8(%rsp)
lea    -0xc(%r14),%r15d
xor    %r12d,%r12d
xor    %r14d,%r14d
jmp    12bb <main+0x16b>
nopw   0x0(%rax,%rax,1)
mov    0x0(%r13),%edi
movzbl 0x10(%rsp,%r12,1),%edx
movzbl 0x11(%rsp,%r12,1),%ecx
movzbl 0x12(%rsp,%r12,1),%r8d
movzbl 0x13(%rsp,%r12,1),%r9d
mov    %rbx,%rsi
xor    %eax,%eax
call   1050 <fprintf@plt>
add    $0x1,%r14d
mov    0x0(%r13),%edi
cmp    $0x4,%r14d
je     12e0 <main+0x190>
lea    0xe17(%rip),%rsi
xor    %eax,%eax
call   1050 <fprintf@plt>
add    $0x4,%r12
cmp    %ebp,%r12d
jge    1300 <main+0x1b0>
test   %r14d,%r14d
jne    1270 <main+0x120>
mov    0x0(%r13),%edi
lea    0xdd4(%rip),%rsi
xor    %eax,%eax
call   1050 <fprintf@plt>
jmp    1270 <main+0x120>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
lea    (%r15,%r12,1),%edx
xor    %r14d,%r14d
lea    0xdcc(%rip),%rsi
xor    %eax,%eax
call   1050 <fprintf@plt>
mov    0x0(%r13),%edi
call   1060 <fflush@plt>
jmp    12b2 <main+0x162>
test   %r14d,%r14d
mov    0x8(%rsp),%r14
je     1230 <main+0xe0>
mov    0x0(%r13),%edi
lea    0xdab(%rip),%rsi
xor    %eax,%eax
call   1050 <fprintf@plt>
jmp    1230 <main+0xe0>
mov    0x2cb4(%rip),%rax
mov    (%rax),%edi
mov    (%rsi),%rdx
lea    0xcc8(%rip),%rsi
xor    %eax,%eax
call   1050 <fprintf@plt>
mov    $0x1,%edi
call   1070 <exit@plt>
mov    0x0(%r13),%edi
lea    0xd73(%rip),%rsi
xor    %eax,%eax
call   1050 <fprintf@plt>
mov    0x0(%r13),%edi
lea    0xd74(%rip),%rsi
mov    %r14d,%edx
xor    %eax,%eax
call   1050 <fprintf@plt>
mov    0x0(%r13),%edi
call   1060 <fflush@plt>
mov    0x0(%r13),%edi
call   1030 <fclose@plt>
xor    %edi,%edi
call   1070 <exit@plt>

LLVM IR (-O0):
@stderr = global i32 0
@.str = [30 x i8] c"usage: %s <in-file >out-file\0A\00"
@stdout = global i32 0
@.str.1 = [3 x i8] c"#\0A\00"
@.str.2 = [34 x i8] c"# Miscellaneous data structures:\0A\00"
@.str.3 = [51 x i8] c"# WARNING - this file is automatically generated!\0A\00"
@.str.4 = [2 x i8] c"\0A\00"
@.str.5 = [8 x i8] c"\09.data\0A\00"
@.str.6 = [20 x i8] c"\09.globl input_data\0A\00"
@.str.7 = [13 x i8] c"input_data:\0A\00"
@.str.8 = [8 x i8] c"\09.long\09\00"
@.str.9 = [19 x i8] c"0x%02X%02X%02X%02X\00"
@.str.10 = [8 x i8] c" # %x \0A\00"
@.str.11 = [2 x i8] c",\00"
@.str.12 = [3 x i8] c"0\0A\00"
@.str.13 = [19 x i8] c"\09.globl input_len\0A\00"
@.str.14 = [23 x i8] c"input_len:\09.long\090x%x\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 i8*
%11 = alloca [8192 x i8]
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%12 = load i32, i32* %4
%13 = icmp ne i32 %12, 1
br i1 %13, label %14, label %21
14: ; preds = %2
%15 = load i32, i32* @stderr
%16 = load i8**, i8*** %5
%17 = getelementptr inbounds i8*, i8** %16, i64 0
%18 = load i8*, i8** %17
%19 = call i32 (i32, i8*, ...) @fprintf(i32 %15, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str, i64 0, i64 0), i8* %18)
%20 = call i32 @exit(i32 1)
unreachable
21: ; preds = %2
%22 = load i32, i32* @stdout
%23 = call i32 (i32, i8*, ...) @fprintf(i32 %22, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0))
%24 = load i32, i32* @stdout
%25 = call i32 (i32, i8*, ...) @fprintf(i32 %24, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.2, i64 0, i64 0))
%26 = load i32, i32* @stdout
%27 = call i32 (i32, i8*, ...) @fprintf(i32 %26, i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.3, i64 0, i64 0))
%28 = load i32, i32* @stdout
%29 = call i32 (i32, i8*, ...) @fprintf(i32 %28, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0))
%30 = load i32, i32* @stdout
%31 = call i32 (i32, i8*, ...) @fprintf(i32 %30, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0))
%32 = load i32, i32* @stdout
%33 = call i32 (i32, i8*, ...) @fprintf(i32 %32, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.5, i64 0, i64 0))
%34 = load i32, i32* @stdout
%35 = call i32 (i32, i8*, ...) @fprintf(i32 %34, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.6, i64 0, i64 0))
%36 = load i32, i32* @stdout
%37 = call i32 (i32, i8*, ...) @fprintf(i32 %36, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.7, i64 0, i64 0))
store i32 0, i32* %8
br label %38
38: ; preds = %103, %21
%39 = getelementptr inbounds [8192 x i8], [8192 x i8]* %11, i64 0, i64 0
%40 = call i32 @read(i32 0, i8* %39, i32 8192)
store i32 %40, i32* %9
%41 = icmp sgt i32 %40, 0
br i1 %41, label %42, label %107
42: ; preds = %38
store i32 0, i32* %7
%43 = getelementptr inbounds [8192 x i8], [8192 x i8]* %11, i64 0, i64 0
store i8* %43, i8** %10
%44 = load i32, i32* %9
%45 = add nsw i32 %44, 3
%46 = and i32 %45, -4
store i32 %46, i32* %9
store i32 0, i32* %6
br label %47
47: ; preds = %94, %42
%48 = load i32, i32* %6
%49 = load i32, i32* %9
%50 = icmp slt i32 %48, %49
br i1 %50, label %51, label %97
51: ; preds = %47
%52 = load i32, i32* %7
%53 = icmp eq i32 %52, 0
br i1 %53, label %54, label %57
54: ; preds = %51
%55 = load i32, i32* @stdout
%56 = call i32 (i32, i8*, ...) @fprintf(i32 %55, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.8, i64 0, i64 0))
br label %57
57: ; preds = %54, %51
%58 = load i32, i32* @stdout
%59 = load i8*, i8** %10
%60 = getelementptr inbounds i8, i8* %59, i64 0
%61 = load i8, i8* %60
%62 = zext i8 %61 to i32
%63 = load i8*, i8** %10
%64 = getelementptr inbounds i8, i8* %63, i64 1
%65 = load i8, i8* %64
%66 = zext i8 %65 to i32
%67 = load i8*, i8** %10
%68 = getelementptr inbounds i8, i8* %67, i64 2
%69 = load i8, i8* %68
%70 = zext i8 %69 to i32
%71 = load i8*, i8** %10
%72 = getelementptr inbounds i8, i8* %71, i64 3
%73 = load i8, i8* %72
%74 = zext i8 %73 to i32
%75 = call i32 (i32, i8*, ...) @fprintf(i32 %58, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.9, i64 0, i64 0), i32 %62, i32 %66, i32 %70, i32 %74)
%76 = load i8*, i8** %10
%77 = getelementptr inbounds i8, i8* %76, i64 4
store i8* %77, i8** %10
%78 = load i32, i32* %7
%79 = add nsw i32 %78, 1
store i32 %79, i32* %7
%80 = icmp eq i32 %79, 4
br i1 %80, label %81, label %90
81: ; preds = %57
store i32 0, i32* %7
%82 = load i32, i32* @stdout
%83 = load i32, i32* %8
%84 = load i32, i32* %6
%85 = add nsw i32 %83, %84
%86 = sub nsw i32 %85, 12
%87 = call i32 (i32, i8*, ...) @fprintf(i32 %82, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.10, i64 0, i64 0), i32 %86)
%88 = load i32, i32* @stdout
%89 = call i32 @fflush(i32 %88)
br label %93
90: ; preds = %57
%91 = load i32, i32* @stdout
%92 = call i32 (i32, i8*, ...) @fprintf(i32 %91, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.11, i64 0, i64 0))
br label %93
93: ; preds = %90, %81
br label %94
94: ; preds = %93
%95 = load i32, i32* %6
%96 = add nsw i32 %95, 4
store i32 %96, i32* %6
br label %47
97: ; preds = %47
%98 = load i32, i32* %7
%99 = icmp ne i32 %98, 0
br i1 %99, label %100, label %103
100: ; preds = %97
%101 = load i32, i32* @stdout
%102 = call i32 (i32, i8*, ...) @fprintf(i32 %101, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.12, i64 0, i64 0))
br label %103
103: ; preds = %100, %97
%104 = load i32, i32* %9
%105 = load i32, i32* %8
%106 = add nsw i32 %105, %104
store i32 %106, i32* %8
br label %38
107: ; preds = %38
%108 = load i32, i32* @stdout
%109 = call i32 (i32, i8*, ...) @fprintf(i32 %108, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.13, i64 0, i64 0))
%110 = load i32, i32* @stdout
%111 = load i32, i32* %8
%112 = call i32 (i32, i8*, ...) @fprintf(i32 %110, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.14, i64 0, i64 0), i32 %111)
%113 = load i32, i32* @stdout
%114 = call i32 @fflush(i32 %113)
%115 = load i32, i32* @stdout
%116 = call i32 @fclose(i32 %115)
%117 = call i32 @exit(i32 0)
unreachable
}

LLVM IR (-O2):
@stderr = global i32 0
@.str = [30 x i8] c"usage: %s <in-file >out-file\0A\00"
@stdout = global i32 0
@.str.1 = [3 x i8] c"#\0A\00"
@.str.2 = [34 x i8] c"# Miscellaneous data structures:\0A\00"
@.str.3 = [51 x i8] c"# WARNING - this file is automatically generated!\0A\00"
@.str.4 = [2 x i8] c"\0A\00"
@.str.5 = [8 x i8] c"\09.data\0A\00"
@.str.6 = [20 x i8] c"\09.globl input_data\0A\00"
@.str.7 = [13 x i8] c"input_data:\0A\00"
@.str.8 = [8 x i8] c"\09.long\09\00"
@.str.9 = [19 x i8] c"0x%02X%02X%02X%02X\00"
@.str.10 = [8 x i8] c" # %x \0A\00"
@.str.11 = [2 x i8] c",\00"
@.str.12 = [3 x i8] c"0\0A\00"
@.str.13 = [19 x i8] c"\09.globl input_len\0A\00"
@.str.14 = [23 x i8] c"input_len:\09.long\090x%x\0A\00"
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = alloca [8192 x i8]
%4 = getelementptr inbounds [8192 x i8], [8192 x i8]* %3, i64 0, i64 0
%5 = icmp eq i32 %0, 1
br i1 %5, label %11, label %6
6: ; preds = %2
%7 = load i32, i32* @stderr
%8 = load i8*, i8** %1
%9 = tail call i32 (i32, i8*, ...) @fprintf(i32 %7, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str, i64 0, i64 0), i8* %8)
%10 = tail call i32 @exit(i32 1)
unreachable
11: ; preds = %2
%12 = load i32, i32* @stdout
%13 = tail call i32 (i32, i8*, ...) @fprintf(i32 %12, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0))
%14 = load i32, i32* @stdout
%15 = tail call i32 (i32, i8*, ...) @fprintf(i32 %14, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.2, i64 0, i64 0))
%16 = load i32, i32* @stdout
%17 = tail call i32 (i32, i8*, ...) @fprintf(i32 %16, i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.3, i64 0, i64 0))
%18 = load i32, i32* @stdout
%19 = tail call i32 (i32, i8*, ...) @fprintf(i32 %18, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0))
%20 = load i32, i32* @stdout
%21 = tail call i32 (i32, i8*, ...) @fprintf(i32 %20, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0))
%22 = load i32, i32* @stdout
%23 = tail call i32 (i32, i8*, ...) @fprintf(i32 %22, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.5, i64 0, i64 0))
%24 = load i32, i32* @stdout
%25 = tail call i32 (i32, i8*, ...) @fprintf(i32 %24, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.6, i64 0, i64 0))
%26 = load i32, i32* @stdout
%27 = tail call i32 (i32, i8*, ...) @fprintf(i32 %26, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.7, i64 0, i64 0))
%28 = call i32 @read(i32 0, i8* %4, i32 8192)
%29 = icmp sgt i32 %28, 0
br i1 %29, label %30, label %84
30: ; preds = %11, %80
%31 = phi i32 [ %82, %80 ], [ %28, %11 ]
%32 = phi i32 [ %81, %80 ], [ 0, %11 ]
%33 = add nuw nsw i32 %31, 3
%34 = and i32 %33, -4
%35 = icmp eq i32 %34, 0
br i1 %35, label %80, label %36
36: ; preds = %30
%37 = add i32 %32, -12
br label %38
38: ; preds = %36, %71
%39 = phi i8* [ %4, %36 ], [ %60, %71 ]
%40 = phi i32 [ 0, %36 ], [ %72, %71 ]
%41 = phi i32 [ 0, %36 ], [ %73, %71 ]
%42 = icmp eq i32 %40, 0
br i1 %42, label %43, label %46
43: ; preds = %38
%44 = load i32, i32* @stdout
%45 = tail call i32 (i32, i8*, ...) @fprintf(i32 %44, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.8, i64 0, i64 0))
br label %46
46: ; preds = %43, %38
%47 = load i32, i32* @stdout
%48 = load i8, i8* %39
%49 = zext i8 %48 to i32
%50 = getelementptr inbounds i8, i8* %39, i64 1
%51 = load i8, i8* %50
%52 = zext i8 %51 to i32
%53 = getelementptr inbounds i8, i8* %39, i64 2
%54 = load i8, i8* %53
%55 = zext i8 %54 to i32
%56 = getelementptr inbounds i8, i8* %39, i64 3
%57 = load i8, i8* %56
%58 = zext i8 %57 to i32
%59 = tail call i32 (i32, i8*, ...) @fprintf(i32 %47, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.9, i64 0, i64 0), i32 %49, i32 %52, i32 %55, i32 %58)
%60 = getelementptr inbounds i8, i8* %39, i64 4
%61 = add nsw i32 %40, 1
%62 = icmp eq i32 %61, 4
%63 = load i32, i32* @stdout
br i1 %62, label %64, label %69
64: ; preds = %46
%65 = add i32 %37, %41
%66 = tail call i32 (i32, i8*, ...) @fprintf(i32 %63, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.10, i64 0, i64 0), i32 %65)
%67 = load i32, i32* @stdout
%68 = tail call i32 @fflush(i32 %67)
br label %71
69: ; preds = %46
%70 = tail call i32 (i32, i8*, ...) @fprintf(i32 %63, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.11, i64 0, i64 0))
br label %71
71: ; preds = %64, %69
%72 = phi i32 [ 0, %64 ], [ %61, %69 ]
%73 = add nuw nsw i32 %41, 4
%74 = icmp slt i32 %73, %34
br i1 %74, label %38, label %75
75: ; preds = %71
%76 = icmp eq i32 %72, 0
br i1 %76, label %80, label %77
77: ; preds = %75
%78 = load i32, i32* @stdout
%79 = tail call i32 (i32, i8*, ...) @fprintf(i32 %78, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.12, i64 0, i64 0))
br label %80
80: ; preds = %30, %77, %75
%81 = add nsw i32 %34, %32
%82 = call i32 @read(i32 0, i8* %4, i32 8192)
%83 = icmp sgt i32 %82, 0
br i1 %83, label %30, label %84
84: ; preds = %80, %11
%85 = phi i32 [ 0, %11 ], [ %81, %80 ]
%86 = load i32, i32* @stdout
%87 = tail call i32 (i32, i8*, ...) @fprintf(i32 %86, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.13, i64 0, i64 0))
%88 = load i32, i32* @stdout
%89 = tail call i32 (i32, i8*, ...) @fprintf(i32 %88, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.14, i64 0, i64 0), i32 %85)
%90 = load i32, i32* @stdout
%91 = tail call i32 @fflush(i32 %90)
%92 = load i32, i32* @stdout
%93 = tail call i32 @fclose(i32 %92)
%94 = tail call i32 @exit(i32 0)
unreachable
}