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

/* Variables and functions */
int EOF;
int fgetc(int /*<<< orphan*/ *);
int /*<<< orphan*/ *fopen(char *, char *);
int /*<<< orphan*/ fputc(char, int /*<<< orphan*/ *);
int /*<<< orphan*/ printf(char *, ...);
void main(int argc, char *argv[]) {
  if (argc < 3) {
    printf("Usage: %s <source> <destination>\n", argv[0]);
    return;
  }
  FILE *mem_in;
  FILE *vals_out;
  if ((mem_in = fopen(argv[1], "r")) == NULL) {
    printf("couldn't open first source %s for writing\n", argv[1]);
    return;
  }
  if ((vals_out = fopen(argv[2], "w")) == NULL) {
    printf("couldn't  open destination %s for writing\n", argv[2]);
    return;
  }
  int c1, c2, c3, c4;
  int count = 0;
  fputc(' ', vals_out);
  fputc(' ', vals_out);
  fputc(' ', vals_out);
  fputc(' ', vals_out);
  while ((c1 = fgetc(mem_in)) != EOF) {
    if ((c2 = fgetc(mem_in)) != EOF) {
      if ((c3 = fgetc(mem_in)) != EOF) {
        if ((c4 = fgetc(mem_in)) != EOF) {
        } else {
          printf("unexpected end at char 4\n");
          break;
        }
      } else {
        printf("unexpected end at char 3\n");
        break;
      }
    } else {
      printf("unexpected end at char 2\n");
      break;
    }
    fputc('0', vals_out);
    fputc('x', vals_out);
    fputc(c3, vals_out);
    fputc(c4, vals_out);
    fputc(c1, vals_out);
    fputc(c2, vals_out);
    fputc(',', vals_out);
    fputc(' ', vals_out);
    count++;
    if (count >= 10) {
      count = 0;
      fputc('\n', vals_out);
      fputc(' ', vals_out);
      fputc(' ', vals_out);
      fputc(' ', vals_out);
      fputc(' ', vals_out);
    }
  }
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
mov    %edi,-0x4(%rbp)
mov    %rsi,-0x10(%rbp)
cmpl   $0x3,-0x4(%rbp)
jge    1173 <main+0x33>
mov    -0x10(%rbp),%rax
mov    (%rax),%rsi
lea    0xe99(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    13b9 <main+0x279>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xea0(%rip),%rsi
call   1060 <fopen@plt>
mov    %rax,-0x18(%rbp)
cmp    $0x0,%rax
jne    11b0 <main+0x70>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rsi
lea    0xe80(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    13b9 <main+0x279>
mov    -0x10(%rbp),%rax
mov    0x10(%rax),%rdi
lea    0xe90(%rip),%rsi
call   1060 <fopen@plt>
mov    %rax,-0x20(%rbp)
cmp    $0x0,%rax
jne    11ed <main+0xad>
mov    -0x10(%rbp),%rax
mov    0x10(%rax),%rsi
lea    0xe70(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    13b9 <main+0x279>
movl   $0x0,-0x34(%rbp)
mov    -0x20(%rbp),%rsi
mov    $0x20,%edi
call   1050 <fputc@plt>
mov    -0x20(%rbp),%rsi
mov    $0x20,%edi
call   1050 <fputc@plt>
mov    -0x20(%rbp),%rsi
mov    $0x20,%edi
call   1050 <fputc@plt>
mov    -0x20(%rbp),%rsi
mov    $0x20,%edi
call   1050 <fputc@plt>
mov    -0x18(%rbp),%rdi
call   1040 <fgetc@plt>
mov    %eax,-0x24(%rbp)
mov    0x2da9(%rip),%rcx
cmp    (%rcx),%eax
je     13b9 <main+0x279>
mov    -0x18(%rbp),%rdi
call   1040 <fgetc@plt>
mov    %eax,-0x28(%rbp)
mov    0x2d8e(%rip),%rcx
cmp    (%rcx),%eax
je     12cd <main+0x18d>
mov    -0x18(%rbp),%rdi
call   1040 <fgetc@plt>
mov    %eax,-0x2c(%rbp)
mov    0x2d73(%rip),%rcx
cmp    (%rcx),%eax
je     12b5 <main+0x175>
mov    -0x18(%rbp),%rdi
call   1040 <fgetc@plt>
mov    %eax,-0x30(%rbp)
mov    0x2d58(%rip),%rcx
cmp    (%rcx),%eax
je     129d <main+0x15d>
jmp    12b0 <main+0x170>
lea    0xdd8(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    13b9 <main+0x279>
jmp    12c8 <main+0x188>
lea    0xdda(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    13b9 <main+0x279>
jmp    12e0 <main+0x1a0>
lea    0xddc(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    13b9 <main+0x279>
mov    -0x20(%rbp),%rsi
mov    $0x30,%edi
call   1050 <fputc@plt>
mov    -0x20(%rbp),%rsi
mov    $0x78,%edi
call   1050 <fputc@plt>
mov    -0x2c(%rbp),%eax
mov    -0x20(%rbp),%rsi
movsbl %al,%edi
call   1050 <fputc@plt>
mov    -0x30(%rbp),%eax
mov    -0x20(%rbp),%rsi
movsbl %al,%edi
call   1050 <fputc@plt>
mov    -0x24(%rbp),%eax
mov    -0x20(%rbp),%rsi
movsbl %al,%edi
call   1050 <fputc@plt>
mov    -0x28(%rbp),%eax
mov    -0x20(%rbp),%rsi
movsbl %al,%edi
call   1050 <fputc@plt>
mov    -0x20(%rbp),%rsi
mov    $0x2c,%edi
call   1050 <fputc@plt>
mov    -0x20(%rbp),%rsi
mov    $0x20,%edi
call   1050 <fputc@plt>
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
cmpl   $0xa,-0x34(%rbp)
jl     13b4 <main+0x274>
movl   $0x0,-0x34(%rbp)
mov    -0x20(%rbp),%rsi
mov    $0xa,%edi
call   1050 <fputc@plt>
mov    -0x20(%rbp),%rsi
mov    $0x20,%edi
call   1050 <fputc@plt>
mov    -0x20(%rbp),%rsi
mov    $0x20,%edi
call   1050 <fputc@plt>
mov    -0x20(%rbp),%rsi
mov    $0x20,%edi
call   1050 <fputc@plt>
mov    -0x20(%rbp),%rsi
mov    $0x20,%edi
call   1050 <fputc@plt>
jmp    122c <main+0xec>
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x18,%rsp
mov    %rsi,%rbp
cmp    $0x2,%edi
jg     1176 <main+0x26>
mov    0x0(%rbp),%rsi
lea    0xe8f(%rip),%rdi
jmp    121c <main+0xcc>
mov    0x8(%rbp),%rdi
lea    0xea1(%rip),%rsi
call   1070 <fopen@plt>
mov    %rax,0x8(%rsp)
test   %rax,%rax
je     1204 <main+0xb4>
mov    0x10(%rbp),%rdi
lea    0xeb4(%rip),%rsi
call   1070 <fopen@plt>
test   %rax,%rax
je     1211 <main+0xc1>
mov    %rax,%r12
mov    $0x20,%edi
mov    %rax,%rsi
call   1060 <fputc@plt>
mov    $0x20,%edi
mov    %r12,%rsi
call   1060 <fputc@plt>
mov    $0x20,%edi
mov    %r12,%rsi
call   1060 <fputc@plt>
mov    $0x20,%edi
mov    %r12,%rsi
call   1060 <fputc@plt>
mov    0x8(%rsp),%rbp
mov    %rbp,%rdi
call   1050 <fgetc@plt>
mov    0x2df8(%rip),%r14
cmp    (%r14),%eax
jne    1231 <main+0xe1>
add    $0x18,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
mov    0x8(%rbp),%rsi
lea    0xe15(%rip),%rdi
jmp    121c <main+0xcc>
mov    0x10(%rbp),%rsi
lea    0xe35(%rip),%rdi
xor    %eax,%eax
add    $0x18,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1040 <printf@plt>
mov    %eax,%r15d
xor    %ebx,%ebx
jmp    1258 <main+0x108>
nopl   0x0(%rax,%rax,1)
add    $0x1,%ebx
mov    0x8(%rsp),%rbp
mov    %rbp,%rdi
call   1050 <fgetc@plt>
mov    %eax,%r15d
cmp    (%r14),%eax
je     11f5 <main+0xa5>
mov    %rbp,%rdi
call   1050 <fgetc@plt>
cmp    (%r14),%eax
je     1351 <main+0x201>
mov    %eax,%r13d
mov    %ebx,0x14(%rsp)
mov    %rbp,%rdi
call   1050 <fgetc@plt>
cmp    (%r14),%eax
je     135a <main+0x20a>
mov    %eax,%ebx
mov    %rbp,%rdi
call   1050 <fgetc@plt>
mov    %r14,%rcx
cmp    (%r14),%eax
je     1363 <main+0x213>
mov    %eax,%ebp
mov    $0x30,%edi
mov    %r12,%rsi
call   1060 <fputc@plt>
mov    $0x78,%edi
mov    %r12,%rsi
call   1060 <fputc@plt>
movsbl %bl,%edi
mov    %r12,%rsi
call   1060 <fputc@plt>
movsbl %bpl,%edi
mov    %r12,%rsi
call   1060 <fputc@plt>
movsbl %r15b,%edi
mov    %r12,%rsi
call   1060 <fputc@plt>
movsbl %r13b,%edi
mov    %r12,%rsi
call   1060 <fputc@plt>
mov    $0x2c,%edi
mov    %r12,%rsi
call   1060 <fputc@plt>
mov    $0x20,%edi
mov    %r12,%rsi
call   1060 <fputc@plt>
mov    0x14(%rsp),%ebx
cmp    $0x9,%ebx
jl     1240 <main+0xf0>
mov    $0xa,%edi
mov    %r12,%rsi
call   1060 <fputc@plt>
mov    $0x20,%edi
mov    %r12,%rsi
call   1060 <fputc@plt>
mov    $0x20,%edi
mov    %r12,%rsi
call   1060 <fputc@plt>
mov    $0x20,%edi
mov    %r12,%rsi
call   1060 <fputc@plt>
mov    $0x20,%edi
mov    %r12,%rsi
call   1060 <fputc@plt>
xor    %ebx,%ebx
jmp    1243 <main+0xf3>
lea    0xd24(%rip),%rdi
jmp    136a <main+0x21a>
lea    0xd34(%rip),%rdi
jmp    136a <main+0x21a>
lea    0xd44(%rip),%rdi
add    $0x18,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [34 x i8] c"Usage: %s <source> <destination>\0A\00"
@.str.1 = [2 x i8] c"r\00"
@.str.2 = [43 x i8] c"couldn't open first source %s for writing\0A\00"
@.str.3 = [2 x i8] c"w\00"
@.str.4 = [43 x i8] c"couldn't open destination %s for writing\0A\00"
@EOF = global i32 0
@.str.5 = [26 x i8] c"unexpected end at char 4\0A\00"
@.str.6 = [26 x i8] c"unexpected end at char 3\0A\00"
@.str.7 = [26 x i8] c"unexpected end at char 2\0A\00"
define void @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i8**
%5 = alloca i32*
%6 = alloca i32*
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
%10 = alloca i32
%11 = alloca i32
store i32 %0, i32* %3
store i8** %1, i8*** %4
%12 = load i32, i32* %3
%13 = icmp slt i32 %12, 3
br i1 %13, label %14, label %19
14: ; preds = %2
%15 = load i8**, i8*** %4
%16 = getelementptr inbounds i8*, i8** %15, i64 0
%17 = load i8*, i8** %16
%18 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str, i64 0, i64 0), i8* %17)
br label %120
19: ; preds = %2
%20 = load i8**, i8*** %4
%21 = getelementptr inbounds i8*, i8** %20, i64 1
%22 = load i8*, i8** %21
%23 = call i32* @fopen(i8* %22, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
store i32* %23, i32** %5
%24 = icmp eq i32* %23, null
br i1 %24, label %25, label %30
25: ; preds = %19
%26 = load i8**, i8*** %4
%27 = getelementptr inbounds i8*, i8** %26, i64 1
%28 = load i8*, i8** %27
%29 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.2, i64 0, i64 0), i8* %28)
br label %120
30: ; preds = %19
%31 = load i8**, i8*** %4
%32 = getelementptr inbounds i8*, i8** %31, i64 2
%33 = load i8*, i8** %32
%34 = call i32* @fopen(i8* %33, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
store i32* %34, i32** %6
%35 = icmp eq i32* %34, null
br i1 %35, label %36, label %41
36: ; preds = %30
%37 = load i8**, i8*** %4
%38 = getelementptr inbounds i8*, i8** %37, i64 2
%39 = load i8*, i8** %38
%40 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.4, i64 0, i64 0), i8* %39)
br label %120
41: ; preds = %30
store i32 0, i32* %11
%42 = load i32*, i32** %6
%43 = call i32 @fputc(i8 signext 32, i32* %42)
%44 = load i32*, i32** %6
%45 = call i32 @fputc(i8 signext 32, i32* %44)
%46 = load i32*, i32** %6
%47 = call i32 @fputc(i8 signext 32, i32* %46)
%48 = load i32*, i32** %6
%49 = call i32 @fputc(i8 signext 32, i32* %48)
br label %50
50: ; preds = %119, %41
%51 = load i32*, i32** %5
%52 = call i32 @fgetc(i32* %51)
store i32 %52, i32* %7
%53 = load i32, i32* @EOF
%54 = icmp ne i32 %52, %53
br i1 %54, label %55, label %120
55: ; preds = %50
%56 = load i32*, i32** %5
%57 = call i32 @fgetc(i32* %56)
store i32 %57, i32* %8
%58 = load i32, i32* @EOF
%59 = icmp ne i32 %57, %58
br i1 %59, label %60, label %77
60: ; preds = %55
%61 = load i32*, i32** %5
%62 = call i32 @fgetc(i32* %61)
store i32 %62, i32* %9
%63 = load i32, i32* @EOF
%64 = icmp ne i32 %62, %63
br i1 %64, label %65, label %74
65: ; preds = %60
%66 = load i32*, i32** %5
%67 = call i32 @fgetc(i32* %66)
store i32 %67, i32* %10
%68 = load i32, i32* @EOF
%69 = icmp ne i32 %67, %68
br i1 %69, label %70, label %71
70: ; preds = %65
br label %73
71: ; preds = %65
%72 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.5, i64 0, i64 0))
br label %120
73: ; preds = %70
br label %76
74: ; preds = %60
%75 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.6, i64 0, i64 0))
br label %120
76: ; preds = %73
br label %79
77: ; preds = %55
%78 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.7, i64 0, i64 0))
br label %120
79: ; preds = %76
%80 = load i32*, i32** %6
%81 = call i32 @fputc(i8 signext 48, i32* %80)
%82 = load i32*, i32** %6
%83 = call i32 @fputc(i8 signext 120, i32* %82)
%84 = load i32, i32* %9
%85 = trunc i32 %84 to i8
%86 = load i32*, i32** %6
%87 = call i32 @fputc(i8 signext %85, i32* %86)
%88 = load i32, i32* %10
%89 = trunc i32 %88 to i8
%90 = load i32*, i32** %6
%91 = call i32 @fputc(i8 signext %89, i32* %90)
%92 = load i32, i32* %7
%93 = trunc i32 %92 to i8
%94 = load i32*, i32** %6
%95 = call i32 @fputc(i8 signext %93, i32* %94)
%96 = load i32, i32* %8
%97 = trunc i32 %96 to i8
%98 = load i32*, i32** %6
%99 = call i32 @fputc(i8 signext %97, i32* %98)
%100 = load i32*, i32** %6
%101 = call i32 @fputc(i8 signext 44, i32* %100)
%102 = load i32*, i32** %6
%103 = call i32 @fputc(i8 signext 32, i32* %102)
%104 = load i32, i32* %11
%105 = add nsw i32 %104, 1
store i32 %105, i32* %11
%106 = load i32, i32* %11
%107 = icmp sge i32 %106, 10
br i1 %107, label %108, label %119
108: ; preds = %79
store i32 0, i32* %11
%109 = load i32*, i32** %6
%110 = call i32 @fputc(i8 signext 10, i32* %109)
%111 = load i32*, i32** %6
%112 = call i32 @fputc(i8 signext 32, i32* %111)
%113 = load i32*, i32** %6
%114 = call i32 @fputc(i8 signext 32, i32* %113)
%115 = load i32*, i32** %6
%116 = call i32 @fputc(i8 signext 32, i32* %115)
%117 = load i32*, i32** %6
%118 = call i32 @fputc(i8 signext 32, i32* %117)
br label %119
119: ; preds = %108, %79
br label %50
120: ; preds = %14, %25, %36, %77, %74, %71, %50
ret void
}

LLVM IR (-O2):
@.str = [34 x i8] c"Usage: %s <source> <destination>\0A\00"
@.str.1 = [2 x i8] c"r\00"
@.str.2 = [43 x i8] c"couldn't open first source %s for writing\0A\00"
@.str.3 = [2 x i8] c"w\00"
@.str.4 = [43 x i8] c"couldn't open destination %s for writing\0A\00"
@EOF = global i32 0
@str = [25 x i8] c"unexpected end at char 2\00"
@str.8 = [25 x i8] c"unexpected end at char 3\00"
@str.9 = [25 x i8] c"unexpected end at char 4\00"
define void @main(i32 %0, i8** nocapture %1) {
%3 = icmp slt i32 %0, 3
br i1 %3, label %4, label %7
4: ; preds = %2
%5 = load i8*, i8** %1
%6 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([34 x i8], [34 x i8]* @.str, i64 0, i64 0), i8* %5)
br label %77
7: ; preds = %2
%8 = getelementptr inbounds i8*, i8** %1, i64 1
%9 = load i8*, i8** %8
%10 = tail call i32* @fopen(i8* %9, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%11 = icmp eq i32* %10, null
br i1 %11, label %12, label %15
12: ; preds = %7
%13 = load i8*, i8** %8
%14 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([43 x i8], [43 x i8]* @.str.2, i64 0, i64 0), i8* %13)
br label %77
15: ; preds = %7
%16 = getelementptr inbounds i8*, i8** %1, i64 2
%17 = load i8*, i8** %16
%18 = tail call i32* @fopen(i8* %17, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
%19 = icmp eq i32* %18, null
br i1 %19, label %20, label %23
20: ; preds = %15
%21 = load i8*, i8** %16
%22 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([43 x i8], [43 x i8]* @.str.4, i64 0, i64 0), i8* %21)
br label %77
23: ; preds = %15
%24 = tail call i32 @fputc(i8 signext 32, i32* %18)
%25 = tail call i32 @fputc(i8 signext 32, i32* %18)
%26 = tail call i32 @fputc(i8 signext 32, i32* %18)
%27 = tail call i32 @fputc(i8 signext 32, i32* %18)
%28 = tail call i32 @fgetc(i32* %10)
%29 = load i32, i32* @EOF
%30 = icmp eq i32 %28, %29
br i1 %30, label %77, label %31
31: ; preds = %23, %72
%32 = phi i32 [ %74, %72 ], [ %28, %23 ]
%33 = phi i32 [ %73, %72 ], [ 0, %23 ]
%34 = tail call i32 @fgetc(i32* %10)
%35 = load i32, i32* @EOF
%36 = icmp eq i32 %34, %35
br i1 %36, label %49, label %37
37: ; preds = %31
%38 = tail call i32 @fgetc(i32* %10)
%39 = load i32, i32* @EOF
%40 = icmp eq i32 %38, %39
br i1 %40, label %47, label %41
41: ; preds = %37
%42 = tail call i32 @fgetc(i32* %10)
%43 = load i32, i32* @EOF
%44 = icmp eq i32 %42, %43
br i1 %44, label %45, label %51
45: ; preds = %41
%46 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @str.9, i64 0, i64 0))
br label %77
47: ; preds = %37
%48 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @str.8, i64 0, i64 0))
br label %77
49: ; preds = %31
%50 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @str, i64 0, i64 0))
br label %77
51: ; preds = %41
%52 = tail call i32 @fputc(i8 signext 48, i32* %18)
%53 = tail call i32 @fputc(i8 signext 120, i32* %18)
%54 = trunc i32 %38 to i8
%55 = tail call i32 @fputc(i8 signext %54, i32* %18)
%56 = trunc i32 %42 to i8
%57 = tail call i32 @fputc(i8 signext %56, i32* %18)
%58 = trunc i32 %32 to i8
%59 = tail call i32 @fputc(i8 signext %58, i32* %18)
%60 = trunc i32 %34 to i8
%61 = tail call i32 @fputc(i8 signext %60, i32* %18)
%62 = tail call i32 @fputc(i8 signext 44, i32* %18)
%63 = tail call i32 @fputc(i8 signext 32, i32* %18)
%64 = add nsw i32 %33, 1
%65 = icmp sgt i32 %33, 8
br i1 %65, label %66, label %72
66: ; preds = %51
%67 = tail call i32 @fputc(i8 signext 10, i32* %18)
%68 = tail call i32 @fputc(i8 signext 32, i32* %18)
%69 = tail call i32 @fputc(i8 signext 32, i32* %18)
%70 = tail call i32 @fputc(i8 signext 32, i32* %18)
%71 = tail call i32 @fputc(i8 signext 32, i32* %18)
br label %72
72: ; preds = %66, %51
%73 = phi i32 [ 0, %66 ], [ %64, %51 ]
%74 = tail call i32 @fgetc(i32* %10)
%75 = load i32, i32* @EOF
%76 = icmp eq i32 %74, %75
br i1 %76, label %77, label %31
77: ; preds = %72, %23, %12, %20, %49, %47, %45, %4
ret void
}