#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 */
struct utsname {
  int /*<<< orphan*/ machine;
  int /*<<< orphan*/ version;
  int /*<<< orphan*/ release;
  int /*<<< orphan*/ nodename;
  int /*<<< orphan*/ sysname;
};
typedef int /*<<< orphan*/ FILE;

/* Variables and functions */
int EOF;
int /*<<< orphan*/ EXIT_FAILURE;
int EXIT_SUCCESS;
int /*<<< orphan*/ errno;
int /*<<< orphan*/ exit(int /*<<< orphan*/);
int /*<<< orphan*/ fclose(int /*<<< orphan*/ *);
int fgetc(int /*<<< orphan*/ *);
int /*<<< orphan*/ *fopen(char *, char *);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/ *, char *, char *);
int /*<<< orphan*/ fputc(int, int /*<<< orphan*/ *);
int /*<<< orphan*/ set_hostname_info(int /*<<< orphan*/, char **);
int /*<<< orphan*/ *stderr;
int /*<<< orphan*/ *stdout;
char *strerror(int /*<<< orphan*/);
int uname(struct utsname *);
int main(void) {
  struct utsname buf;
  char *hostinfo[5];
  char fname[] = "db.txt";
  FILE *fin, *fout;
  int ch;
  if ((fout = fopen(fname, "w")) == NULL) {
    fprintf(stderr, "Err.writing file, fopen(), %s\n", strerror(errno));
    exit(EXIT_FAILURE);
  }
  if (uname(&buf) == -1) {
    fprintf(stderr, "Err. uname(), %s\n", strerror(errno));
    exit(EXIT_FAILURE);
  }
  set_hostname_info(buf.sysname, &hostinfo[0]);
  set_hostname_info(buf.nodename, &hostinfo[1]);
  set_hostname_info(buf.release, &hostinfo[2]);
  set_hostname_info(buf.version, &hostinfo[3]);
  set_hostname_info(buf.machine, &hostinfo[4]);
  for (int i = 0; i < 5; i++) {
    fprintf(fout, "%s\n", hostinfo[i]);
  }
  fclose(fout);
  fprintf(stdout, "(Reading from filename: \'%s\')\n", fname);
  if ((fin = fopen(fname, "r")) == NULL) {
    fprintf(stderr, "Err.reading file fopen(), %s\n", strerror(errno));
    exit(EXIT_FAILURE);
  }
  while ((ch = fgetc(fin)) != EOF)
    fputc(ch, stdout);
  fclose(fin);
  return (EXIT_SUCCESS);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x80,%rsp
movl   $0x0,-0x4(%rbp)
mov    0xe58(%rip),%eax
mov    %eax,-0x47(%rbp)
mov    0xe52(%rip),%ax
mov    %ax,-0x43(%rbp)
mov    0xe4a(%rip),%al
mov    %al,-0x41(%rbp)
lea    -0x47(%rbp),%rdi
lea    0xe3d(%rip),%rsi
call   1090 <fopen@plt>
mov    %rax,-0x58(%rbp)
cmp    $0x0,%rax
jne    121a <main+0x8a>
mov    0x2df4(%rip),%rax
mov    (%rax),%rax
mov    %rax,-0x68(%rbp)
mov    0x2dde(%rip),%rax
mov    (%rax),%edi
call   10b0 <strerror@plt>
mov    -0x68(%rbp),%rdi
mov    %rax,%rdx
lea    0xe02(%rip),%rsi
call   1080 <fprintf@plt>
mov    0x2db5(%rip),%rax
mov    (%rax),%edi
call   10a0 <exit@plt>
lea    -0x18(%rbp),%rdi
call   1040 <uname@plt>
cmp    $0xffffffff,%eax
jne    1269 <main+0xd9>
mov    0x2da5(%rip),%rax
mov    (%rax),%rax
mov    %rax,-0x70(%rbp)
mov    0x2d8f(%rip),%rax
mov    (%rax),%edi
call   10b0 <strerror@plt>
mov    -0x70(%rbp),%rdi
mov    %rax,%rdx
lea    0xdd2(%rip),%rsi
call   1080 <fprintf@plt>
mov    0x2d66(%rip),%rax
mov    (%rax),%edi
call   10a0 <exit@plt>
mov    -0x8(%rbp),%edi
lea    -0x40(%rbp),%rsi
call   1070 <set_hostname_info@plt>
mov    -0xc(%rbp),%edi
lea    -0x40(%rbp),%rsi
add    $0x8,%rsi
call   1070 <set_hostname_info@plt>
mov    -0x10(%rbp),%edi
lea    -0x40(%rbp),%rsi
add    $0x10,%rsi
call   1070 <set_hostname_info@plt>
mov    -0x14(%rbp),%edi
lea    -0x40(%rbp),%rsi
add    $0x18,%rsi
call   1070 <set_hostname_info@plt>
mov    -0x18(%rbp),%edi
lea    -0x40(%rbp),%rsi
add    $0x20,%rsi
call   1070 <set_hostname_info@plt>
movl   $0x0,-0x60(%rbp)
cmpl   $0x5,-0x60(%rbp)
jge    12ed <main+0x15d>
mov    -0x58(%rbp),%rdi
movslq -0x60(%rbp),%rax
mov    -0x40(%rbp,%rax,8),%rdx
lea    0xd5c(%rip),%rsi
call   1080 <fprintf@plt>
mov    -0x60(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x60(%rbp)
jmp    12bc <main+0x12c>
mov    -0x58(%rbp),%rdi
call   1030 <fclose@plt>
mov    0x2cc3(%rip),%rax
mov    (%rax),%rdi
lea    -0x47(%rbp),%rdx
lea    0xd2f(%rip),%rsi
call   1080 <fprintf@plt>
lea    -0x47(%rbp),%rdi
lea    0xd3e(%rip),%rsi
call   1090 <fopen@plt>
mov    %rax,-0x50(%rbp)
cmp    $0x0,%rax
jne    136b <main+0x1db>
mov    0x2ca3(%rip),%rax
mov    (%rax),%rax
mov    %rax,-0x78(%rbp)
mov    0x2c8d(%rip),%rax
mov    (%rax),%edi
call   10b0 <strerror@plt>
mov    -0x78(%rbp),%rdi
mov    %rax,%rdx
lea    0xd03(%rip),%rsi
call   1080 <fprintf@plt>
mov    0x2c64(%rip),%rax
mov    (%rax),%edi
call   10a0 <exit@plt>
jmp    1370 <main+0x1e0>
mov    -0x50(%rbp),%rdi
call   1050 <fgetc@plt>
mov    %eax,-0x5c(%rbp)
mov    0x2c65(%rip),%rcx
cmp    (%rcx),%eax
je     13a2 <main+0x212>
mov    -0x5c(%rbp),%edi
mov    0x2c2b(%rip),%rax
mov    (%rax),%rsi
call   1060 <fputc@plt>
jmp    1370 <main+0x1e0>
mov    -0x50(%rbp),%rdi
call   1030 <fclose@plt>
mov    0x2c06(%rip),%rax
mov    (%rax),%eax
add    $0x80,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r15
push   %r14
push   %rbx
sub    $0x50,%rsp
movl   $0x747874,0x3(%rsp)
movl   $0x742e6264,(%rsp)
lea    0xe58(%rip),%rsi
mov    %rsp,%rdi
call   1090 <fopen@plt>
test   %rax,%rax
je     1302 <main+0x172>
mov    %rax,%rbx
lea    0x8(%rsp),%rdi
call   1040 <uname@plt>
cmp    $0xffffffff,%eax
je     1323 <main+0x193>
mov    0x18(%rsp),%edi
lea    0x20(%rsp),%rsi
call   1070 <set_hostname_info@plt>
mov    0x14(%rsp),%edi
lea    0x28(%rsp),%rsi
call   1070 <set_hostname_info@plt>
mov    0x10(%rsp),%edi
lea    0x30(%rsp),%rsi
call   1070 <set_hostname_info@plt>
mov    0xc(%rsp),%edi
lea    0x38(%rsp),%rsi
call   1070 <set_hostname_info@plt>
mov    0x8(%rsp),%edi
lea    0x40(%rsp),%rsi
call   1070 <set_hostname_info@plt>
mov    0x20(%rsp),%rdx
lea    0xe0e(%rip),%r14
mov    %rbx,%rdi
mov    %r14,%rsi
call   1080 <fprintf@plt>
mov    0x28(%rsp),%rdx
mov    %rbx,%rdi
mov    %r14,%rsi
call   1080 <fprintf@plt>
mov    0x30(%rsp),%rdx
mov    %rbx,%rdi
mov    %r14,%rsi
call   1080 <fprintf@plt>
mov    0x38(%rsp),%rdx
mov    %rbx,%rdi
mov    %r14,%rsi
call   1080 <fprintf@plt>
mov    0x40(%rsp),%rdx
mov    %rbx,%rdi
mov    %r14,%rsi
call   1080 <fprintf@plt>
mov    %rbx,%rdi
call   1030 <fclose@plt>
mov    0x2d3e(%rip),%r14
mov    (%r14),%rdi
lea    0xdae(%rip),%rsi
mov    %rsp,%rbx
mov    %rbx,%rdx
call   1080 <fprintf@plt>
lea    0xdbb(%rip),%rsi
mov    %rbx,%rdi
call   1090 <fopen@plt>
test   %rax,%rax
je     1344 <main+0x1b4>
mov    %rax,%rbx
mov    %rax,%rdi
call   1050 <fgetc@plt>
mov    0x2d27(%rip),%r15
cmp    (%r15),%eax
je     12e7 <main+0x157>
cs nopw 0x0(%rax,%rax,1)
mov    (%r14),%rsi
mov    %eax,%edi
call   1060 <fputc@plt>
mov    %rbx,%rdi
call   1050 <fgetc@plt>
cmp    (%r15),%eax
jne    12d0 <main+0x140>
mov    %rbx,%rdi
call   1030 <fclose@plt>
mov    0x2cc2(%rip),%rax
mov    (%rax),%eax
add    $0x50,%rsp
pop    %rbx
pop    %r14
pop    %r15
ret
mov    0x2ccf(%rip),%rax
mov    (%rax),%rbx
mov    0x2cbd(%rip),%rax
mov    (%rax),%edi
call   10b0 <strerror@plt>
lea    0xce8(%rip),%rsi
jmp    1363 <main+0x1d3>
mov    0x2cae(%rip),%rax
mov    (%rax),%rbx
mov    0x2c9c(%rip),%rax
mov    (%rax),%edi
call   10b0 <strerror@plt>
lea    0xce6(%rip),%rsi
jmp    1363 <main+0x1d3>
mov    0x2c8d(%rip),%rax
mov    (%rax),%rbx
mov    0x2c7b(%rip),%rax
mov    (%rax),%edi
call   10b0 <strerror@plt>
lea    0xcf8(%rip),%rsi
mov    %rbx,%rdi
mov    %rax,%rdx
call   1080 <fprintf@plt>
mov    0x2c53(%rip),%rax
mov    (%rax),%edi
call   10a0 <exit@plt>

LLVM IR (-O0):
%struct.utsname = type { i32, i32, i32, i32, i32 }
@__const.main.fname = [7 x i8] c"db.txt\00"
@.str = [2 x i8] c"w\00"
@stderr = global i32* null
@.str.1 = [31 x i8] c"Err.writing file, fopen(), %s\0A\00"
@errno = global i32 0
@EXIT_FAILURE = global i32 0
@.str.2 = [18 x i8] c"Err. uname(), %s\0A\00"
@.str.3 = [4 x i8] c"%s\0A\00"
@stdout = global i32* null
@.str.4 = [31 x i8] c"(Reading from filename: '%s')\0A\00"
@.str.5 = [2 x i8] c"r\00"
@.str.6 = [30 x i8] c"Err.reading file fopen(), %s\0A\00"
@EOF = global i32 0
@EXIT_SUCCESS = global i32 0
define i32 @main() {
%1 = alloca i32
%2 = alloca %struct.utsname
%3 = alloca [5 x i8*]
%4 = alloca [7 x i8]
%5 = alloca i32*
%6 = alloca i32*
%7 = alloca i32
%8 = alloca i32
store i32 0, i32* %1
%9 = bitcast [7 x i8]* %4 to i8*
%10 = getelementptr inbounds [7 x i8], [7 x i8]* %4, i64 0, i64 0
%11 = call i32* @fopen(i8* %10, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
store i32* %11, i32** %6
%12 = icmp eq i32* %11, null
br i1 %12, label %13, label %20
13: ; preds = %0
%14 = load i32*, i32** @stderr
%15 = load i32, i32* @errno
%16 = call i8* @strerror(i32 %15)
%17 = call i32 @fprintf(i32* %14, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.1, i64 0, i64 0), i8* %16)
%18 = load i32, i32* @EXIT_FAILURE
%19 = call i32 @exit(i32 %18)
unreachable
20: ; preds = %0
%21 = call i32 @uname(%struct.utsname* %2)
%22 = icmp eq i32 %21, -1
br i1 %22, label %23, label %30
23: ; preds = %20
%24 = load i32*, i32** @stderr
%25 = load i32, i32* @errno
%26 = call i8* @strerror(i32 %25)
%27 = call i32 @fprintf(i32* %24, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.2, i64 0, i64 0), i8* %26)
%28 = load i32, i32* @EXIT_FAILURE
%29 = call i32 @exit(i32 %28)
unreachable
30: ; preds = %20
%31 = getelementptr inbounds %struct.utsname, %struct.utsname* %2, i32 0, i32 4
%32 = load i32, i32* %31
%33 = getelementptr inbounds [5 x i8*], [5 x i8*]* %3, i64 0, i64 0
%34 = call i32 @set_hostname_info(i32 %32, i8** %33)
%35 = getelementptr inbounds %struct.utsname, %struct.utsname* %2, i32 0, i32 3
%36 = load i32, i32* %35
%37 = getelementptr inbounds [5 x i8*], [5 x i8*]* %3, i64 0, i64 1
%38 = call i32 @set_hostname_info(i32 %36, i8** %37)
%39 = getelementptr inbounds %struct.utsname, %struct.utsname* %2, i32 0, i32 2
%40 = load i32, i32* %39
%41 = getelementptr inbounds [5 x i8*], [5 x i8*]* %3, i64 0, i64 2
%42 = call i32 @set_hostname_info(i32 %40, i8** %41)
%43 = getelementptr inbounds %struct.utsname, %struct.utsname* %2, i32 0, i32 1
%44 = load i32, i32* %43
%45 = getelementptr inbounds [5 x i8*], [5 x i8*]* %3, i64 0, i64 3
%46 = call i32 @set_hostname_info(i32 %44, i8** %45)
%47 = getelementptr inbounds %struct.utsname, %struct.utsname* %2, i32 0, i32 0
%48 = load i32, i32* %47
%49 = getelementptr inbounds [5 x i8*], [5 x i8*]* %3, i64 0, i64 4
%50 = call i32 @set_hostname_info(i32 %48, i8** %49)
store i32 0, i32* %8
br label %51
51: ; preds = %61, %30
%52 = load i32, i32* %8
%53 = icmp slt i32 %52, 5
br i1 %53, label %54, label %64
54: ; preds = %51
%55 = load i32*, i32** %6
%56 = load i32, i32* %8
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds [5 x i8*], [5 x i8*]* %3, i64 0, i64 %57
%59 = load i8*, i8** %58
%60 = call i32 @fprintf(i32* %55, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i8* %59)
br label %61
61: ; preds = %54
%62 = load i32, i32* %8
%63 = add nsw i32 %62, 1
store i32 %63, i32* %8
br label %51
64: ; preds = %51
%65 = load i32*, i32** %6
%66 = call i32 @fclose(i32* %65)
%67 = load i32*, i32** @stdout
%68 = getelementptr inbounds [7 x i8], [7 x i8]* %4, i64 0, i64 0
%69 = call i32 @fprintf(i32* %67, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.4, i64 0, i64 0), i8* %68)
%70 = getelementptr inbounds [7 x i8], [7 x i8]* %4, i64 0, i64 0
%71 = call i32* @fopen(i8* %70, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0))
store i32* %71, i32** %5
%72 = icmp eq i32* %71, null
br i1 %72, label %73, label %80
73: ; preds = %64
%74 = load i32*, i32** @stderr
%75 = load i32, i32* @errno
%76 = call i8* @strerror(i32 %75)
%77 = call i32 @fprintf(i32* %74, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.6, i64 0, i64 0), i8* %76)
%78 = load i32, i32* @EXIT_FAILURE
%79 = call i32 @exit(i32 %78)
unreachable
80: ; preds = %64
br label %81
81: ; preds = %86, %80
%82 = load i32*, i32** %5
%83 = call i32 @fgetc(i32* %82)
store i32 %83, i32* %7
%84 = load i32, i32* @EOF
%85 = icmp ne i32 %83, %84
br i1 %85, label %86, label %90
86: ; preds = %81
%87 = load i32, i32* %7
%88 = load i32*, i32** @stdout
%89 = call i32 @fputc(i32 %87, i32* %88)
br label %81
90: ; preds = %81
%91 = load i32*, i32** %5
%92 = call i32 @fclose(i32* %91)
%93 = load i32, i32* @EXIT_SUCCESS
ret i32 %93
}

LLVM IR (-O2):
%struct.utsname = type { i32, i32, i32, i32, i32 }
@__const.main.fname = [7 x i8] c"db.txt\00"
@.str = [2 x i8] c"w\00"
@stderr = global i32* null
@.str.1 = [31 x i8] c"Err.writing file, fopen(), %s\0A\00"
@errno = global i32 0
@EXIT_FAILURE = global i32 0
@.str.2 = [18 x i8] c"Err. uname(), %s\0A\00"
@.str.3 = [4 x i8] c"%s\0A\00"
@stdout = global i32* null
@.str.4 = [31 x i8] c"(Reading from filename: '%s')\0A\00"
@.str.5 = [2 x i8] c"r\00"
@.str.6 = [30 x i8] c"Err.reading file fopen(), %s\0A\00"
@EOF = global i32 0
@EXIT_SUCCESS = global i32 0
define i32 @main() {
%1 = alloca %struct.utsname
%2 = alloca [5 x i8*]
%3 = alloca [7 x i8]
%4 = bitcast %struct.utsname* %1 to i8*
%5 = bitcast [5 x i8*]* %2 to i8*
%6 = getelementptr inbounds [7 x i8], [7 x i8]* %3, i64 0, i64 0
%7 = call i32* @fopen(i8* %6, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%8 = icmp eq i32* %7, null
br i1 %8, label %9, label %16
9: ; preds = %0
%10 = load i32*, i32** @stderr
%11 = load i32, i32* @errno
%12 = tail call i8* @strerror(i32 %11)
%13 = tail call i32 @fprintf(i32* %10, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.1, i64 0, i64 0), i8* %12)
%14 = load i32, i32* @EXIT_FAILURE
%15 = tail call i32 @exit(i32 %14)
unreachable
16: ; preds = %0
%17 = call i32 @uname(%struct.utsname* %1)
%18 = icmp eq i32 %17, -1
br i1 %18, label %19, label %26
19: ; preds = %16
%20 = load i32*, i32** @stderr
%21 = load i32, i32* @errno
%22 = tail call i8* @strerror(i32 %21)
%23 = tail call i32 @fprintf(i32* %20, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.2, i64 0, i64 0), i8* %22)
%24 = load i32, i32* @EXIT_FAILURE
%25 = tail call i32 @exit(i32 %24)
unreachable
26: ; preds = %16
%27 = getelementptr inbounds %struct.utsname, %struct.utsname* %1, i64 0, i32 4
%28 = load i32, i32* %27
%29 = getelementptr inbounds [5 x i8*], [5 x i8*]* %2, i64 0, i64 0
%30 = call i32 @set_hostname_info(i32 %28, i8** %29)
%31 = getelementptr inbounds %struct.utsname, %struct.utsname* %1, i64 0, i32 3
%32 = load i32, i32* %31
%33 = getelementptr inbounds [5 x i8*], [5 x i8*]* %2, i64 0, i64 1
%34 = call i32 @set_hostname_info(i32 %32, i8** %33)
%35 = getelementptr inbounds %struct.utsname, %struct.utsname* %1, i64 0, i32 2
%36 = load i32, i32* %35
%37 = getelementptr inbounds [5 x i8*], [5 x i8*]* %2, i64 0, i64 2
%38 = call i32 @set_hostname_info(i32 %36, i8** %37)
%39 = getelementptr inbounds %struct.utsname, %struct.utsname* %1, i64 0, i32 1
%40 = load i32, i32* %39
%41 = getelementptr inbounds [5 x i8*], [5 x i8*]* %2, i64 0, i64 3
%42 = call i32 @set_hostname_info(i32 %40, i8** %41)
%43 = getelementptr inbounds %struct.utsname, %struct.utsname* %1, i64 0, i32 0
%44 = load i32, i32* %43
%45 = getelementptr inbounds [5 x i8*], [5 x i8*]* %2, i64 0, i64 4
%46 = call i32 @set_hostname_info(i32 %44, i8** %45)
%47 = load i8*, i8** %29
%48 = call i32 @fprintf(i32* %7, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i8* %47)
%49 = load i8*, i8** %33
%50 = call i32 @fprintf(i32* %7, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i8* %49)
%51 = load i8*, i8** %37
%52 = call i32 @fprintf(i32* %7, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i8* %51)
%53 = load i8*, i8** %41
%54 = call i32 @fprintf(i32* %7, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i8* %53)
%55 = load i8*, i8** %45
%56 = call i32 @fprintf(i32* %7, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i8* %55)
%57 = call i32 @fclose(i32* %7)
%58 = load i32*, i32** @stdout
%59 = call i32 @fprintf(i32* %58, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.4, i64 0, i64 0), i8* %6)
%60 = call i32* @fopen(i8* %6, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0))
%61 = icmp eq i32* %60, null
br i1 %61, label %66, label %62
62: ; preds = %26
%63 = call i32 @fgetc(i32* %60)
%64 = load i32, i32* @EOF
%65 = icmp eq i32 %63, %64
br i1 %65, label %80, label %73
66: ; preds = %26
%67 = load i32*, i32** @stderr
%68 = load i32, i32* @errno
%69 = call i8* @strerror(i32 %68)
%70 = call i32 @fprintf(i32* %67, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.6, i64 0, i64 0), i8* %69)
%71 = load i32, i32* @EXIT_FAILURE
%72 = call i32 @exit(i32 %71)
unreachable
73: ; preds = %62, %73
%74 = phi i32 [ %77, %73 ], [ %63, %62 ]
%75 = load i32*, i32** @stdout
%76 = call i32 @fputc(i32 %74, i32* %75)
%77 = call i32 @fgetc(i32* %60)
%78 = load i32, i32* @EOF
%79 = icmp eq i32 %77, %78
br i1 %79, label %80, label %73
80: ; preds = %73, %62
%81 = call i32 @fclose(i32* %60)
%82 = load i32, i32* @EXIT_SUCCESS
ret i32 %82
}