#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;
typedef int /*<<< orphan*/ FILE;

/* Variables and functions */
int BUFSIZ;
int /*<<< orphan*/ clear_buf(char *);
int /*<<< orphan*/ fclose(int /*<<< orphan*/ *);
scalar_t__ fgets(char *, int, int /*<<< orphan*/ *);
int /*<<< orphan*/ *fopen(char *, char *);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/ *, char *, char *);
int append_symbols(char input_file[], char output_file[]) {
  char buf[BUFSIZ];
  FILE *fp_in;
  FILE *fp_out;
  int i = 0;
  int index = 0;
  clear_buf(buf);
  fp_in = fopen(input_file, "r");
  fp_out = fopen(output_file, "w+");
  while (fgets(buf, sizeof(buf), fp_in)) {
    while (buf[index] != '\n' && index < BUFSIZ)
      index++;
    for (i = 32; i < 48; i++) {
      buf[index] = i;
      buf[index + 1] = '\n';
      buf[index + 2] = 0;
      fprintf(fp_out, "%s", buf);
    }
    for (i = 58; i < 65; i++) {
      buf[index] = i;
      buf[index + 1] = '\n';
      buf[index + 2] = 0;
      fprintf(fp_out, "%s", buf);
    }
    for (i = 91; i < 97; i++) {
      buf[index] = i;
      buf[index + 1] = '\n';
      buf[index + 2] = 0;
      fprintf(fp_out, "%s", buf);
    }
    for (i = 123; i < 127; i++) {
      buf[index] = i;
      buf[index + 1] = '\n';
      buf[index + 2] = 0;
      fprintf(fp_out, "%s", buf);
    }
    index = 0;
    clear_buf(buf);
  }
  fclose(fp_in);
  fclose(fp_out);
  return 0;
}


x86 assembly (clang, -O0):
<append_symbols>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    0x2e79(%rip),%rax
mov    (%rax),%eax
mov    %rax,-0x48(%rbp)
mov    %rsp,%rcx
mov    %rcx,-0x18(%rbp)
mov    %rax,%rcx
add    $0xf,%rcx
and    $0xfffffffffffffff0,%rcx
mov    %rsp,%rdi
sub    %rcx,%rdi
mov    %rdi,-0x40(%rbp)
mov    %rdi,%rsp
mov    %rax,-0x20(%rbp)
movl   $0x0,-0x34(%rbp)
movl   $0x0,-0x38(%rbp)
call   1070 <clear_buf@plt>
mov    -0x8(%rbp),%rdi
lea    0xe52(%rip),%rsi
call   1060 <fopen@plt>
mov    %rax,-0x28(%rbp)
mov    -0x10(%rbp),%rdi
lea    0xe40(%rip),%rsi
call   1060 <fopen@plt>
mov    %rax,-0x30(%rbp)
mov    -0x40(%rbp),%rdi
mov    -0x48(%rbp),%rax
mov    %eax,%esi
mov    -0x28(%rbp),%rdx
call   1040 <fgets@plt>
cmp    $0x0,%rax
je     13a8 <append_symbols+0x258>
jmp    11ed <append_symbols+0x9d>
mov    -0x40(%rbp),%rax
movslq -0x38(%rbp),%rcx
movsbl (%rax,%rcx,1),%ecx
xor    %eax,%eax
cmp    $0xa,%ecx
mov    %al,-0x49(%rbp)
je     1219 <append_symbols+0xc9>
mov    -0x38(%rbp),%eax
mov    0x2dcf(%rip),%rcx
cmp    (%rcx),%eax
setl   %al
mov    %al,-0x49(%rbp)
mov    -0x49(%rbp),%al
test   $0x1,%al
jne    1229 <append_symbols+0xd9>
jmp    1237 <append_symbols+0xe7>
mov    -0x38(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x38(%rbp)
jmp    11ed <append_symbols+0x9d>
movl   $0x20,-0x34(%rbp)
cmpl   $0x30,-0x34(%rbp)
jge    128e <append_symbols+0x13e>
mov    -0x40(%rbp),%rdx
mov    -0x34(%rbp),%eax
mov    %al,%cl
movslq -0x38(%rbp),%rax
mov    %cl,(%rdx,%rax,1)
mov    -0x38(%rbp),%eax
add    $0x1,%eax
cltq
movb   $0xa,(%rdx,%rax,1)
mov    -0x38(%rbp),%eax
add    $0x2,%eax
cltq
movb   $0x0,(%rdx,%rax,1)
mov    -0x30(%rbp),%rdi
lea    0xd8a(%rip),%rsi
call   1050 <fprintf@plt>
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
jmp    123e <append_symbols+0xee>
movl   $0x3a,-0x34(%rbp)
cmpl   $0x41,-0x34(%rbp)
jge    12e5 <append_symbols+0x195>
mov    -0x40(%rbp),%rdx
mov    -0x34(%rbp),%eax
mov    %al,%cl
movslq -0x38(%rbp),%rax
mov    %cl,(%rdx,%rax,1)
mov    -0x38(%rbp),%eax
add    $0x1,%eax
cltq
movb   $0xa,(%rdx,%rax,1)
mov    -0x38(%rbp),%eax
add    $0x2,%eax
cltq
movb   $0x0,(%rdx,%rax,1)
mov    -0x30(%rbp),%rdi
lea    0xd33(%rip),%rsi
call   1050 <fprintf@plt>
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
jmp    1295 <append_symbols+0x145>
movl   $0x5b,-0x34(%rbp)
cmpl   $0x61,-0x34(%rbp)
jge    133c <append_symbols+0x1ec>
mov    -0x40(%rbp),%rdx
mov    -0x34(%rbp),%eax
mov    %al,%cl
movslq -0x38(%rbp),%rax
mov    %cl,(%rdx,%rax,1)
mov    -0x38(%rbp),%eax
add    $0x1,%eax
cltq
movb   $0xa,(%rdx,%rax,1)
mov    -0x38(%rbp),%eax
add    $0x2,%eax
cltq
movb   $0x0,(%rdx,%rax,1)
mov    -0x30(%rbp),%rdi
lea    0xcdc(%rip),%rsi
call   1050 <fprintf@plt>
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
jmp    12ec <append_symbols+0x19c>
movl   $0x7b,-0x34(%rbp)
cmpl   $0x7f,-0x34(%rbp)
jge    1393 <append_symbols+0x243>
mov    -0x40(%rbp),%rdx
mov    -0x34(%rbp),%eax
mov    %al,%cl
movslq -0x38(%rbp),%rax
mov    %cl,(%rdx,%rax,1)
mov    -0x38(%rbp),%eax
add    $0x1,%eax
cltq
movb   $0xa,(%rdx,%rax,1)
mov    -0x38(%rbp),%eax
add    $0x2,%eax
cltq
movb   $0x0,(%rdx,%rax,1)
mov    -0x30(%rbp),%rdi
lea    0xc85(%rip),%rsi
call   1050 <fprintf@plt>
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
jmp    1343 <append_symbols+0x1f3>
mov    -0x40(%rbp),%rdi
movl   $0x0,-0x38(%rbp)
call   1070 <clear_buf@plt>
jmp    11cb <append_symbols+0x7b>
mov    -0x28(%rbp),%rdi
call   1030 <fclose@plt>
mov    -0x30(%rbp),%rdi
call   1030 <fclose@plt>
mov    -0x18(%rbp),%rax
mov    %rax,%rsp
xor    %eax,%eax
mov    %rbp,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<append_symbols>:
push   %rbp
mov    %rsp,%rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
mov    %rsi,%r12
mov    %rdi,%r15
mov    0x2e75(%rip),%rax
mov    (%rax),%r14d
mov    %rsp,%rbx
mov    %r14,%rax
add    $0xf,%rax
and    $0xfffffffffffffff0,%rax
sub    %rax,%rbx
mov    %rbx,%rsp
mov    %rbx,%rdi
call   1070 <clear_buf@plt>
lea    0xe6f(%rip),%rsi
mov    %r15,%rdi
call   1060 <fopen@plt>
mov    %rax,%r15
lea    0xe5f(%rip),%rsi
mov    %r12,%rdi
call   1060 <fopen@plt>
mov    %rax,%r12
mov    %rbx,%rdi
mov    %r14,-0x30(%rbp)
mov    %r14d,%esi
nopl   0x0(%rax,%rax,1)
mov    %r15,%rdx
call   1050 <fgets@plt>
test   %rax,%rax
je     13dd <append_symbols+0x28d>
mov    0x2e08(%rip),%rax
movslq (%rax),%rax
xor    %ecx,%ecx
nopl   (%rax)
lea    0x1(%rcx),%r13
cmpb   $0xa,(%rbx,%rcx,1)
je     11f2 <append_symbols+0xa2>
cmp    %rax,%rcx
mov    %r13,%rcx
jl     11e0 <append_symbols+0x90>
mov    $0xfffffff0,%r14d
nopl   0x0(%rax,%rax,1)
lea    0x30(%r14),%eax
mov    %al,-0x1(%rbx,%r13,1)
movw   $0xa,(%rbx,%r13,1)
mov    %rbx,%rdi
mov    %r12,%rsi
call   1040 <fputs@plt>
inc    %r14d
jne    1200 <append_symbols+0xb0>
movw   $0xa3a,-0x1(%rbx,%r13,1)
0a
movb   $0x0,0x1(%rbx,%r13,1)
mov    %rbx,%rdi
mov    %r12,%rsi
call   1040 <fputs@plt>
movw   $0xa3b,-0x1(%rbx,%r13,1)
0a
movb   $0x0,0x1(%rbx,%r13,1)
mov    %rbx,%rdi
mov    %r12,%rsi
call   1040 <fputs@plt>
movw   $0xa3c,-0x1(%rbx,%r13,1)
0a
movb   $0x0,0x1(%rbx,%r13,1)
mov    %rbx,%rdi
mov    %r12,%rsi
call   1040 <fputs@plt>
movw   $0xa3d,-0x1(%rbx,%r13,1)
0a
movb   $0x0,0x1(%rbx,%r13,1)
mov    %rbx,%rdi
mov    %r12,%rsi
call   1040 <fputs@plt>
movw   $0xa3e,-0x1(%rbx,%r13,1)
0a
movb   $0x0,0x1(%rbx,%r13,1)
mov    %rbx,%rdi
mov    %r12,%rsi
call   1040 <fputs@plt>
movw   $0xa3f,-0x1(%rbx,%r13,1)
0a
movb   $0x0,0x1(%rbx,%r13,1)
mov    %rbx,%rdi
mov    %r12,%rsi
call   1040 <fputs@plt>
movw   $0xa40,-0x1(%rbx,%r13,1)
0a
movb   $0x0,0x1(%rbx,%r13,1)
mov    %rbx,%rdi
mov    %r12,%rsi
call   1040 <fputs@plt>
movw   $0xa5b,-0x1(%rbx,%r13,1)
0a
movb   $0x0,0x1(%rbx,%r13,1)
mov    %rbx,%rdi
mov    %r12,%rsi
call   1040 <fputs@plt>
movw   $0xa5c,-0x1(%rbx,%r13,1)
0a
movb   $0x0,0x1(%rbx,%r13,1)
mov    %rbx,%rdi
mov    %r12,%rsi
call   1040 <fputs@plt>
movw   $0xa5d,-0x1(%rbx,%r13,1)
0a
movb   $0x0,0x1(%rbx,%r13,1)
mov    %rbx,%rdi
mov    %r12,%rsi
call   1040 <fputs@plt>
movw   $0xa5e,-0x1(%rbx,%r13,1)
0a
movb   $0x0,0x1(%rbx,%r13,1)
mov    %rbx,%rdi
mov    %r12,%rsi
call   1040 <fputs@plt>
movw   $0xa5f,-0x1(%rbx,%r13,1)
0a
movb   $0x0,0x1(%rbx,%r13,1)
mov    %rbx,%rdi
mov    %r12,%rsi
call   1040 <fputs@plt>
movw   $0xa60,-0x1(%rbx,%r13,1)
0a
movb   $0x0,0x1(%rbx,%r13,1)
mov    %rbx,%rdi
mov    %r12,%rsi
call   1040 <fputs@plt>
movw   $0xa7b,-0x1(%rbx,%r13,1)
0a
movb   $0x0,0x1(%rbx,%r13,1)
mov    %rbx,%rdi
mov    %r12,%rsi
call   1040 <fputs@plt>
movw   $0xa7c,-0x1(%rbx,%r13,1)
0a
movb   $0x0,0x1(%rbx,%r13,1)
mov    %rbx,%rdi
mov    %r12,%rsi
call   1040 <fputs@plt>
movw   $0xa7d,-0x1(%rbx,%r13,1)
0a
movb   $0x0,0x1(%rbx,%r13,1)
mov    %rbx,%rdi
mov    %r12,%rsi
call   1040 <fputs@plt>
movw   $0xa7e,-0x1(%rbx,%r13,1)
0a
movb   $0x0,0x1(%rbx,%r13,1)
mov    %rbx,%rdi
mov    %r12,%rsi
call   1040 <fputs@plt>
mov    %rbx,%rdi
call   1070 <clear_buf@plt>
mov    %rbx,%rdi
mov    -0x30(%rbp),%rsi
jmp    11c0 <append_symbols+0x70>
mov    %r15,%rdi
call   1030 <fclose@plt>
mov    %r12,%rdi
call   1030 <fclose@plt>
xor    %eax,%eax
lea    -0x28(%rbp),%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@BUFSIZ = global i32 0
@.str = [2 x i8] c"r\00"
@.str.1 = [3 x i8] c"w+\00"
@.str.2 = [3 x i8] c"%s\00"
define i32 @append_symbols(i8* %0, i8* %1) {
%3 = alloca i8*
%4 = alloca i8*
%5 = alloca i8*
%6 = alloca i64
%7 = alloca i32*
%8 = alloca i32*
%9 = alloca i32
%10 = alloca i32
store i8* %0, i8** %3
store i8* %1, i8** %4
%11 = load i32, i32* @BUFSIZ
%12 = zext i32 %11 to i64
%13 = call i8* @llvm.stacksave()
store i8* %13, i8** %5
%14 = alloca i8, i64 %12
store i64 %12, i64* %6
store i32 0, i32* %9
store i32 0, i32* %10
%15 = call i32 @clear_buf(i8* %14)
%16 = load i8*, i8** %3
%17 = call i32* @fopen(i8* %16, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
store i32* %17, i32** %7
%18 = load i8*, i8** %4
%19 = call i32* @fopen(i8* %18, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0))
store i32* %19, i32** %8
br label %20
20: ; preds = %134, %2
%21 = trunc i64 %12 to i32
%22 = load i32*, i32** %7
%23 = call i64 @fgets(i8* %14, i32 %21, i32* %22)
%24 = icmp ne i64 %23, 0
br i1 %24, label %25, label %136
25: ; preds = %20
br label %26
26: ; preds = %39, %25
%27 = load i32, i32* %10
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i8, i8* %14, i64 %28
%30 = load i8, i8* %29
%31 = sext i8 %30 to i32
%32 = icmp ne i32 %31, 10
br i1 %32, label %33, label %37
33: ; preds = %26
%34 = load i32, i32* %10
%35 = load i32, i32* @BUFSIZ
%36 = icmp slt i32 %34, %35
br label %37
37: ; preds = %33, %26
%38 = phi i1 [ false, %26 ], [ %36, %33 ]
br i1 %38, label %39, label %42
39: ; preds = %37
%40 = load i32, i32* %10
%41 = add nsw i32 %40, 1
store i32 %41, i32* %10
br label %26
42: ; preds = %37
store i32 32, i32* %9
br label %43
43: ; preds = %62, %42
%44 = load i32, i32* %9
%45 = icmp slt i32 %44, 48
br i1 %45, label %46, label %65
46: ; preds = %43
%47 = load i32, i32* %9
%48 = trunc i32 %47 to i8
%49 = load i32, i32* %10
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds i8, i8* %14, i64 %50
store i8 %48, i8* %51
%52 = load i32, i32* %10
%53 = add nsw i32 %52, 1
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i8, i8* %14, i64 %54
store i8 10, i8* %55
%56 = load i32, i32* %10
%57 = add nsw i32 %56, 2
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds i8, i8* %14, i64 %58
store i8 0, i8* %59
%60 = load i32*, i32** %8
%61 = call i32 @fprintf(i32* %60, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i8* %14)
br label %62
62: ; preds = %46
%63 = load i32, i32* %9
%64 = add nsw i32 %63, 1
store i32 %64, i32* %9
br label %43
65: ; preds = %43
store i32 58, i32* %9
br label %66
66: ; preds = %85, %65
%67 = load i32, i32* %9
%68 = icmp slt i32 %67, 65
br i1 %68, label %69, label %88
69: ; preds = %66
%70 = load i32, i32* %9
%71 = trunc i32 %70 to i8
%72 = load i32, i32* %10
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds i8, i8* %14, i64 %73
store i8 %71, i8* %74
%75 = load i32, i32* %10
%76 = add nsw i32 %75, 1
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds i8, i8* %14, i64 %77
store i8 10, i8* %78
%79 = load i32, i32* %10
%80 = add nsw i32 %79, 2
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds i8, i8* %14, i64 %81
store i8 0, i8* %82
%83 = load i32*, i32** %8
%84 = call i32 @fprintf(i32* %83, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i8* %14)
br label %85
85: ; preds = %69
%86 = load i32, i32* %9
%87 = add nsw i32 %86, 1
store i32 %87, i32* %9
br label %66
88: ; preds = %66
store i32 91, i32* %9
br label %89
89: ; preds = %108, %88
%90 = load i32, i32* %9
%91 = icmp slt i32 %90, 97
br i1 %91, label %92, label %111
92: ; preds = %89
%93 = load i32, i32* %9
%94 = trunc i32 %93 to i8
%95 = load i32, i32* %10
%96 = sext i32 %95 to i64
%97 = getelementptr inbounds i8, i8* %14, i64 %96
store i8 %94, i8* %97
%98 = load i32, i32* %10
%99 = add nsw i32 %98, 1
%100 = sext i32 %99 to i64
%101 = getelementptr inbounds i8, i8* %14, i64 %100
store i8 10, i8* %101
%102 = load i32, i32* %10
%103 = add nsw i32 %102, 2
%104 = sext i32 %103 to i64
%105 = getelementptr inbounds i8, i8* %14, i64 %104
store i8 0, i8* %105
%106 = load i32*, i32** %8
%107 = call i32 @fprintf(i32* %106, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i8* %14)
br label %108
108: ; preds = %92
%109 = load i32, i32* %9
%110 = add nsw i32 %109, 1
store i32 %110, i32* %9
br label %89
111: ; preds = %89
store i32 123, i32* %9
br label %112
112: ; preds = %131, %111
%113 = load i32, i32* %9
%114 = icmp slt i32 %113, 127
br i1 %114, label %115, label %134
115: ; preds = %112
%116 = load i32, i32* %9
%117 = trunc i32 %116 to i8
%118 = load i32, i32* %10
%119 = sext i32 %118 to i64
%120 = getelementptr inbounds i8, i8* %14, i64 %119
store i8 %117, i8* %120
%121 = load i32, i32* %10
%122 = add nsw i32 %121, 1
%123 = sext i32 %122 to i64
%124 = getelementptr inbounds i8, i8* %14, i64 %123
store i8 10, i8* %124
%125 = load i32, i32* %10
%126 = add nsw i32 %125, 2
%127 = sext i32 %126 to i64
%128 = getelementptr inbounds i8, i8* %14, i64 %127
store i8 0, i8* %128
%129 = load i32*, i32** %8
%130 = call i32 @fprintf(i32* %129, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i8* %14)
br label %131
131: ; preds = %115
%132 = load i32, i32* %9
%133 = add nsw i32 %132, 1
store i32 %133, i32* %9
br label %112
134: ; preds = %112
store i32 0, i32* %10
%135 = call i32 @clear_buf(i8* %14)
br label %20
136: ; preds = %20
%137 = load i32*, i32** %7
%138 = call i32 @fclose(i32* %137)
%139 = load i32*, i32** %8
%140 = call i32 @fclose(i32* %139)
%141 = load i8*, i8** %5
ret i32 0
}

LLVM IR (-O2):
@BUFSIZ = global i32 0
@.str = [2 x i8] c"r\00"
@.str.1 = [3 x i8] c"w+\00"
define i32 @append_symbols(i8* nocapture %0, i8* nocapture %1) {
%3 = load i32, i32* @BUFSIZ
%4 = zext i32 %3 to i64
%5 = alloca i8, i64 %4
%6 = call i32 @clear_buf(i8* %5)
%7 = call i32* @fopen(i8* %0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%8 = call i32* @fopen(i8* %1, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0))
%9 = call i64 @fgets(i8* %5, i32 %3, i32* %7)
%10 = icmp eq i64 %9, 0
br i1 %10, label %58, label %11
11: ; preds = %2, %31
%12 = load i32, i32* @BUFSIZ
%13 = sext i32 %12 to i64
br label %14
14: ; preds = %14, %11
%15 = phi i64 [ %21, %14 ], [ 0, %11 ]
%16 = getelementptr inbounds i8, i8* %5, i64 %15
%17 = load i8, i8* %16
%18 = icmp ne i8 %17, 10
%19 = icmp slt i64 %15, %13
%20 = select i1 %18, i1 %19, i1 false
%21 = add nuw nsw i64 %15, 1
br i1 %20, label %14, label %22
22: ; preds = %14
%23 = and i64 %15, 4294967295
%24 = getelementptr inbounds i8, i8* %5, i64 %23
%25 = add nuw i64 %15, 1
%26 = and i64 %25, 4294967295
%27 = getelementptr inbounds i8, i8* %5, i64 %26
%28 = add nuw i64 %15, 2
%29 = and i64 %28, 4294967295
%30 = getelementptr inbounds i8, i8* %5, i64 %29
br label %52
31: ; preds = %52
store i8 58, i8* %24
store i8 10, i8* %27
store i8 0, i8* %30
%32 = call i32 @fputs(i8* %5, i32* %8)
store i8 59, i8* %24
store i8 10, i8* %27
store i8 0, i8* %30
%33 = call i32 @fputs(i8* %5, i32* %8)
store i8 60, i8* %24
store i8 10, i8* %27
store i8 0, i8* %30
%34 = call i32 @fputs(i8* %5, i32* %8)
store i8 61, i8* %24
store i8 10, i8* %27
store i8 0, i8* %30
%35 = call i32 @fputs(i8* %5, i32* %8)
store i8 62, i8* %24
store i8 10, i8* %27
store i8 0, i8* %30
%36 = call i32 @fputs(i8* %5, i32* %8)
store i8 63, i8* %24
store i8 10, i8* %27
store i8 0, i8* %30
%37 = call i32 @fputs(i8* %5, i32* %8)
store i8 64, i8* %24
store i8 10, i8* %27
store i8 0, i8* %30
%38 = call i32 @fputs(i8* %5, i32* %8)
store i8 91, i8* %24
store i8 10, i8* %27
store i8 0, i8* %30
%39 = call i32 @fputs(i8* %5, i32* %8)
store i8 92, i8* %24
store i8 10, i8* %27
store i8 0, i8* %30
%40 = call i32 @fputs(i8* %5, i32* %8)
store i8 93, i8* %24
store i8 10, i8* %27
store i8 0, i8* %30
%41 = call i32 @fputs(i8* %5, i32* %8)
store i8 94, i8* %24
store i8 10, i8* %27
store i8 0, i8* %30
%42 = call i32 @fputs(i8* %5, i32* %8)
store i8 95, i8* %24
store i8 10, i8* %27
store i8 0, i8* %30
%43 = call i32 @fputs(i8* %5, i32* %8)
store i8 96, i8* %24
store i8 10, i8* %27
store i8 0, i8* %30
%44 = call i32 @fputs(i8* %5, i32* %8)
store i8 123, i8* %24
store i8 10, i8* %27
store i8 0, i8* %30
%45 = call i32 @fputs(i8* %5, i32* %8)
store i8 124, i8* %24
store i8 10, i8* %27
store i8 0, i8* %30
%46 = call i32 @fputs(i8* %5, i32* %8)
store i8 125, i8* %24
store i8 10, i8* %27
store i8 0, i8* %30
%47 = call i32 @fputs(i8* %5, i32* %8)
store i8 126, i8* %24
store i8 10, i8* %27
store i8 0, i8* %30
%48 = call i32 @fputs(i8* %5, i32* %8)
%49 = call i32 @clear_buf(i8* %5)
%50 = call i64 @fgets(i8* %5, i32 %3, i32* %7)
%51 = icmp eq i64 %50, 0
br i1 %51, label %58, label %11
52: ; preds = %22, %52
%53 = phi i32 [ 32, %22 ], [ %56, %52 ]
%54 = trunc i32 %53 to i8
store i8 %54, i8* %24
store i8 10, i8* %27
store i8 0, i8* %30
%55 = call i32 @fputs(i8* %5, i32* %8)
%56 = add nuw nsw i32 %53, 1
%57 = icmp eq i32 %56, 48
br i1 %57, label %31, label %52
58: ; preds = %31, %2
%59 = call i32 @fclose(i32* %7)
%60 = call i32 @fclose(i32* %8)
ret i32 0
}