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

/* Variables and functions */
int /*<<< orphan*/ exit(int);
int /*<<< orphan*/ fclose(int /*<<< orphan*/ *);
int fileno(int /*<<< orphan*/ *);
int /*<<< orphan*/ *fopen(char *, char *);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/ *, char *, ...);
int fread(char *, int, int, int /*<<< orphan*/ *);
int /*<<< orphan*/ free(char *);
int /*<<< orphan*/ fstat(int, struct stat *);
int /*<<< orphan*/ fwrite(char *, int, int, int /*<<< orphan*/ *);
scalar_t__ malloc(int);
int /*<<< orphan*/ perror(char *);
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ stderr;
int main(int argc, char *argv[]) {
  char *imgFileName = argv[1];
  char *archFileName = argv[2];
  char *outFileName = argv[3];
  char *imgBuffer, *archiveBuffer;
  FILE *imgFile, *archFile, *outFile;
  struct stat imgFileStats, archFileStats;
  int iFD, aFD, readBytes;
  if (argc != 4) {
    fprintf(stderr, "Usage: %s <jpgFileName> <archiveFileName> <outFileName>\n",
            argv[0]);
    exit(0);
  }
  imgFile = fopen(imgFileName, "r");
  if (imgFile == NULL) {
    perror("Couldn't open file");
    exit(1);
  }
  archFile = fopen(archFileName, "r");
  if (archFile == NULL) {
    perror("Couldn't open file");
    fclose(imgFile);
    exit(2);
  }
  outFile = fopen(outFileName, "w");
  if (outFile == NULL) {
    perror("Couldn't open file");
    fclose(imgFile);
    fclose(archFile);
    exit(3);
  }
  iFD = fileno(imgFile);
  aFD = fileno(archFile);
  fstat(iFD, &imgFileStats);
  fstat(aFD, &archFileStats);
  printf("File size: %ld\n", imgFileStats.st_size);
  imgBuffer = (char *)malloc(imgFileStats.st_size * sizeof(char));
  readBytes = fread(imgBuffer, imgFileStats.st_size, 1, imgFile);
  fclose(imgFile);
  archiveBuffer = (char *)malloc(archFileStats.st_size * sizeof(char));
  readBytes = fread(archiveBuffer, archFileStats.st_size, 1, archFile);
  fclose(archFile);
  fwrite(imgBuffer, imgFileStats.st_size, 1, outFile);
  free(imgBuffer);
  fwrite(archiveBuffer, archFileStats.st_size, 1, outFile);
  free(archiveBuffer);
  fprintf(outFile, "%x", 0xFFD9);
  fclose(outFile);
  printf("Operations successful\n");
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x70,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rax
mov    %rax,-0x18(%rbp)
mov    -0x10(%rbp),%rax
mov    0x10(%rax),%rax
mov    %rax,-0x20(%rbp)
mov    -0x10(%rbp),%rax
mov    0x18(%rax),%rax
mov    %rax,-0x28(%rbp)
cmpl   $0x4,-0x8(%rbp)
je     122a <main+0x6a>
mov    0x2dd5(%rip),%rax
movslq (%rax),%rdi
mov    -0x10(%rbp),%rax
mov    (%rax),%rdx
lea    0xde4(%rip),%rsi
mov    $0x0,%al
call   1070 <fprintf@plt>
xor    %edi,%edi
call   10c0 <exit@plt>
mov    -0x18(%rbp),%rdi
lea    0xe04(%rip),%rsi
call   10a0 <fopen@plt>
mov    %rax,-0x40(%rbp)
cmpq   $0x0,-0x40(%rbp)
jne    125f <main+0x9f>
lea    0xdeb(%rip),%rdi
call   10b0 <perror@plt>
mov    $0x1,%edi
call   10c0 <exit@plt>
mov    -0x20(%rbp),%rdi
lea    0xdcf(%rip),%rsi
call   10a0 <fopen@plt>
mov    %rax,-0x48(%rbp)
cmpq   $0x0,-0x48(%rbp)
jne    129d <main+0xdd>
lea    0xdb6(%rip),%rdi
call   10b0 <perror@plt>
mov    -0x40(%rbp),%rdi
call   1050 <fclose@plt>
mov    $0x2,%edi
call   10c0 <exit@plt>
mov    -0x28(%rbp),%rdi
lea    0xda6(%rip),%rsi
call   10a0 <fopen@plt>
mov    %rax,-0x50(%rbp)
cmpq   $0x0,-0x50(%rbp)
jne    12e4 <main+0x124>
lea    0xd78(%rip),%rdi
call   10b0 <perror@plt>
mov    -0x40(%rbp),%rdi
call   1050 <fclose@plt>
mov    -0x48(%rbp),%rdi
call   1050 <fclose@plt>
mov    $0x3,%edi
call   10c0 <exit@plt>
mov    -0x40(%rbp),%rdi
call   1080 <fileno@plt>
mov    %eax,-0x64(%rbp)
mov    -0x48(%rbp),%rdi
call   1080 <fileno@plt>
mov    %eax,-0x68(%rbp)
mov    -0x64(%rbp),%edi
lea    -0x58(%rbp),%rsi
call   10e0 <fstat@plt>
mov    -0x68(%rbp),%edi
lea    -0x60(%rbp),%rsi
call   10e0 <fstat@plt>
mov    -0x58(%rbp),%esi
lea    0xd32(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
movslq -0x58(%rbp),%rax
shl    $0x0,%rax
mov    %eax,%edi
call   1090 <malloc@plt>
mov    %rax,-0x30(%rbp)
mov    -0x30(%rbp),%rdi
mov    -0x58(%rbp),%esi
mov    -0x40(%rbp),%rcx
mov    $0x1,%edx
call   1040 <fread@plt>
mov    %eax,-0x6c(%rbp)
mov    -0x40(%rbp),%rdi
call   1050 <fclose@plt>
movslq -0x60(%rbp),%rax
shl    $0x0,%rax
mov    %eax,%edi
call   1090 <malloc@plt>
mov    %rax,-0x38(%rbp)
mov    -0x38(%rbp),%rdi
mov    -0x60(%rbp),%esi
mov    -0x48(%rbp),%rcx
mov    $0x1,%edx
call   1040 <fread@plt>
mov    %eax,-0x6c(%rbp)
mov    -0x48(%rbp),%rdi
call   1050 <fclose@plt>
mov    -0x30(%rbp),%rdi
mov    -0x58(%rbp),%esi
mov    -0x50(%rbp),%rcx
mov    $0x1,%edx
call   10d0 <fwrite@plt>
mov    -0x30(%rbp),%rdi
call   1030 <free@plt>
mov    -0x38(%rbp),%rdi
mov    -0x60(%rbp),%esi
mov    -0x50(%rbp),%rcx
mov    $0x1,%edx
call   10d0 <fwrite@plt>
mov    -0x38(%rbp),%rdi
call   1030 <free@plt>
mov    -0x50(%rbp),%rdi
lea    0xc8c(%rip),%rsi
mov    $0xffd9,%edx
mov    $0x0,%al
call   1070 <fprintf@plt>
mov    -0x50(%rbp),%rdi
call   1050 <fclose@plt>
lea    0xc73(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
xor    %eax,%eax
add    $0x70,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x18,%rsp
cmp    $0x4,%edi
jne    1347 <main+0x177>
mov    0x8(%rsi),%rdi
mov    0x10(%rsi),%rbp
mov    0x18(%rsi),%rbx
lea    0xe3f(%rip),%rsi
call   10b0 <fopen@plt>
test   %rax,%rax
je     1369 <main+0x199>
mov    %rax,%r15
lea    0xe27(%rip),%rsi
mov    %rbp,%rdi
call   10b0 <fopen@plt>
test   %rax,%rax
je     137f <main+0x1af>
mov    %rax,%r14
lea    0xe21(%rip),%rsi
mov    %rbx,%rdi
call   10b0 <fopen@plt>
test   %rax,%rax
je     139d <main+0x1cd>
mov    %rax,%r12
mov    %r15,%rdi
call   1090 <fileno@plt>
mov    %eax,%ebx
mov    %r14,%rdi
call   1090 <fileno@plt>
mov    %eax,%ebp
lea    0x10(%rsp),%rsi
mov    %ebx,%edi
call   10f0 <fstat@plt>
lea    0x8(%rsp),%rsi
mov    %ebp,%edi
call   10f0 <fstat@plt>
mov    %r15,%rbx
mov    %r14,%r15
mov    0x10(%rsp),%r14d
lea    0xdd1(%rip),%rdi
mov    %r14d,%esi
xor    %eax,%eax
call   1070 <printf@plt>
mov    %r14d,%edi
call   10a0 <malloc@plt>
mov    %rax,%r13
mov    %rax,%rdi
mov    %r14d,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1050 <fread@plt>
mov    %rbx,%rdi
call   1060 <fclose@plt>
mov    0x8(%rsp),%ebp
mov    %ebp,%edi
call   10a0 <malloc@plt>
mov    %rax,%rbx
mov    %rax,%rdi
mov    %ebp,%esi
mov    $0x1,%edx
mov    %r15,%rcx
call   1050 <fread@plt>
mov    %r15,%rdi
call   1060 <fclose@plt>
mov    %r13,%rdi
mov    %r14d,%esi
mov    $0x1,%edx
mov    %r12,%rcx
call   10e0 <fwrite@plt>
mov    %r13,%rdi
call   1030 <free@plt>
mov    %rbx,%rdi
mov    %ebp,%esi
mov    $0x1,%edx
mov    %r12,%rcx
call   10e0 <fwrite@plt>
mov    %rbx,%rdi
call   1030 <free@plt>
lea    0xd4d(%rip),%rsi
mov    %r12,%rdi
mov    $0xffd9,%edx
xor    %eax,%eax
call   1080 <fprintf@plt>
mov    %r12,%rdi
call   1060 <fclose@plt>
lea    0xd32(%rip),%rdi
call   1040 <puts@plt>
xor    %eax,%eax
add    $0x18,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
mov    0x2c92(%rip),%rax
movslq (%rax),%rdi
mov    (%rsi),%rdx
lea    0xca5(%rip),%rsi
xor    %eax,%eax
call   1080 <fprintf@plt>
xor    %edi,%edi
call   10d0 <exit@plt>
lea    0xccb(%rip),%rdi
call   10c0 <perror@plt>
mov    $0x1,%edi
call   10d0 <exit@plt>
lea    0xcb5(%rip),%rdi
call   10c0 <perror@plt>
mov    %r15,%rdi
call   1060 <fclose@plt>
mov    $0x2,%edi
call   10d0 <exit@plt>
lea    0xc97(%rip),%rdi
call   10c0 <perror@plt>
mov    %r15,%rdi
call   1060 <fclose@plt>
mov    %r14,%rdi
call   1060 <fclose@plt>
mov    $0x3,%edi
call   10d0 <exit@plt>

LLVM IR (-O0):
%struct.stat = type { i32 }
@stderr = global i32 0
@.str = [57 x i8] c"Usage: %s <jpgFileName> <archiveFileName> <outFileName>\0A\00"
@.str.1 = [2 x i8] c"r\00"
@.str.2 = [19 x i8] c"Couldn't open file\00"
@.str.3 = [2 x i8] c"w\00"
@.str.4 = [16 x i8] c"File size: %ld\0A\00"
@.str.5 = [3 x i8] c"%x\00"
@.str.6 = [23 x i8] c"Operations successful\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i8*
%7 = alloca i8*
%8 = alloca i8*
%9 = alloca i8*
%10 = alloca i8*
%11 = alloca i32*
%12 = alloca i32*
%13 = alloca i32*
%14 = alloca %struct.stat
%15 = alloca %struct.stat
%16 = alloca i32
%17 = alloca i32
%18 = alloca i32
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%19 = load i8**, i8*** %5
%20 = getelementptr inbounds i8*, i8** %19, i64 1
%21 = load i8*, i8** %20
store i8* %21, i8** %6
%22 = load i8**, i8*** %5
%23 = getelementptr inbounds i8*, i8** %22, i64 2
%24 = load i8*, i8** %23
store i8* %24, i8** %7
%25 = load i8**, i8*** %5
%26 = getelementptr inbounds i8*, i8** %25, i64 3
%27 = load i8*, i8** %26
store i8* %27, i8** %8
%28 = load i32, i32* %4
%29 = icmp ne i32 %28, 4
br i1 %29, label %30, label %39
30: ; preds = %2
%31 = load i32, i32* @stderr
%32 = sext i32 %31 to i64
%33 = inttoptr i64 %32 to i32*
%34 = load i8**, i8*** %5
%35 = getelementptr inbounds i8*, i8** %34, i64 0
%36 = load i8*, i8** %35
%37 = call i32 (i32*, i8*, ...) @fprintf(i32* %33, i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str, i64 0, i64 0), i8* %36)
%38 = call i32 @exit(i32 0)
unreachable
39: ; preds = %2
%40 = load i8*, i8** %6
%41 = call i32* @fopen(i8* %40, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
store i32* %41, i32** %11
%42 = load i32*, i32** %11
%43 = icmp eq i32* %42, null
br i1 %43, label %44, label %47
44: ; preds = %39
%45 = call i32 @perror(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.2, i64 0, i64 0))
%46 = call i32 @exit(i32 1)
unreachable
47: ; preds = %39
%48 = load i8*, i8** %7
%49 = call i32* @fopen(i8* %48, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
store i32* %49, i32** %12
%50 = load i32*, i32** %12
%51 = icmp eq i32* %50, null
br i1 %51, label %52, label %57
52: ; preds = %47
%53 = call i32 @perror(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.2, i64 0, i64 0))
%54 = load i32*, i32** %11
%55 = call i32 @fclose(i32* %54)
%56 = call i32 @exit(i32 2)
unreachable
57: ; preds = %47
%58 = load i8*, i8** %8
%59 = call i32* @fopen(i8* %58, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
store i32* %59, i32** %13
%60 = load i32*, i32** %13
%61 = icmp eq i32* %60, null
br i1 %61, label %62, label %69
62: ; preds = %57
%63 = call i32 @perror(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.2, i64 0, i64 0))
%64 = load i32*, i32** %11
%65 = call i32 @fclose(i32* %64)
%66 = load i32*, i32** %12
%67 = call i32 @fclose(i32* %66)
%68 = call i32 @exit(i32 3)
unreachable
69: ; preds = %57
%70 = load i32*, i32** %11
%71 = call i32 @fileno(i32* %70)
store i32 %71, i32* %16
%72 = load i32*, i32** %12
%73 = call i32 @fileno(i32* %72)
store i32 %73, i32* %17
%74 = load i32, i32* %16
%75 = call i32 @fstat(i32 %74, %struct.stat* %14)
%76 = load i32, i32* %17
%77 = call i32 @fstat(i32 %76, %struct.stat* %15)
%78 = getelementptr inbounds %struct.stat, %struct.stat* %14, i32 0, i32 0
%79 = load i32, i32* %78
%80 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.4, i64 0, i64 0), i32 %79)
%81 = getelementptr inbounds %struct.stat, %struct.stat* %14, i32 0, i32 0
%82 = load i32, i32* %81
%83 = sext i32 %82 to i64
%84 = mul i64 %83, 1
%85 = trunc i64 %84 to i32
%86 = call i64 @malloc(i32 %85)
%87 = inttoptr i64 %86 to i8*
store i8* %87, i8** %9
%88 = load i8*, i8** %9
%89 = getelementptr inbounds %struct.stat, %struct.stat* %14, i32 0, i32 0
%90 = load i32, i32* %89
%91 = load i32*, i32** %11
%92 = call i32 @fread(i8* %88, i32 %90, i32 1, i32* %91)
store i32 %92, i32* %18
%93 = load i32*, i32** %11
%94 = call i32 @fclose(i32* %93)
%95 = getelementptr inbounds %struct.stat, %struct.stat* %15, i32 0, i32 0
%96 = load i32, i32* %95
%97 = sext i32 %96 to i64
%98 = mul i64 %97, 1
%99 = trunc i64 %98 to i32
%100 = call i64 @malloc(i32 %99)
%101 = inttoptr i64 %100 to i8*
store i8* %101, i8** %10
%102 = load i8*, i8** %10
%103 = getelementptr inbounds %struct.stat, %struct.stat* %15, i32 0, i32 0
%104 = load i32, i32* %103
%105 = load i32*, i32** %12
%106 = call i32 @fread(i8* %102, i32 %104, i32 1, i32* %105)
store i32 %106, i32* %18
%107 = load i32*, i32** %12
%108 = call i32 @fclose(i32* %107)
%109 = load i8*, i8** %9
%110 = getelementptr inbounds %struct.stat, %struct.stat* %14, i32 0, i32 0
%111 = load i32, i32* %110
%112 = load i32*, i32** %13
%113 = call i32 @fwrite(i8* %109, i32 %111, i32 1, i32* %112)
%114 = load i8*, i8** %9
%115 = call i32 @free(i8* %114)
%116 = load i8*, i8** %10
%117 = getelementptr inbounds %struct.stat, %struct.stat* %15, i32 0, i32 0
%118 = load i32, i32* %117
%119 = load i32*, i32** %13
%120 = call i32 @fwrite(i8* %116, i32 %118, i32 1, i32* %119)
%121 = load i8*, i8** %10
%122 = call i32 @free(i8* %121)
%123 = load i32*, i32** %13
%124 = call i32 (i32*, i8*, ...) @fprintf(i32* %123, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i32 65497)
%125 = load i32*, i32** %13
%126 = call i32 @fclose(i32* %125)
%127 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.6, i64 0, i64 0))
ret i32 0
}

LLVM IR (-O2):
%struct.stat = type { i32 }
@stderr = global i32 0
@.str = [57 x i8] c"Usage: %s <jpgFileName> <archiveFileName> <outFileName>\0A\00"
@.str.1 = [2 x i8] c"r\00"
@.str.2 = [19 x i8] c"Couldn't open file\00"
@.str.3 = [2 x i8] c"w\00"
@.str.4 = [16 x i8] c"File size: %ld\0A\00"
@.str.5 = [3 x i8] c"%x\00"
@str = [22 x i8] c"Operations successful\00"
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = alloca %struct.stat
%4 = alloca %struct.stat
%5 = getelementptr inbounds i8*, i8** %1, i64 1
%6 = load i8*, i8** %5
%7 = getelementptr inbounds i8*, i8** %1, i64 2
%8 = load i8*, i8** %7
%9 = getelementptr inbounds i8*, i8** %1, i64 3
%10 = load i8*, i8** %9
%11 = bitcast %struct.stat* %3 to i8*
%12 = bitcast %struct.stat* %4 to i8*
%13 = icmp eq i32 %0, 4
br i1 %13, label %21, label %14
14: ; preds = %2
%15 = load i32, i32* @stderr
%16 = sext i32 %15 to i64
%17 = inttoptr i64 %16 to i32*
%18 = load i8*, i8** %1
%19 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %17, i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str, i64 0, i64 0), i8* %18)
%20 = tail call i32 @exit(i32 0)
unreachable
21: ; preds = %2
%22 = tail call i32* @fopen(i8* %6, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%23 = icmp eq i32* %22, null
br i1 %23, label %24, label %27
24: ; preds = %21
%25 = tail call i32 @perror(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.2, i64 0, i64 0))
%26 = tail call i32 @exit(i32 1)
unreachable
27: ; preds = %21
%28 = tail call i32* @fopen(i8* %8, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%29 = icmp eq i32* %28, null
br i1 %29, label %30, label %34
30: ; preds = %27
%31 = tail call i32 @perror(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.2, i64 0, i64 0))
%32 = tail call i32 @fclose(i32* %22)
%33 = tail call i32 @exit(i32 2)
unreachable
34: ; preds = %27
%35 = tail call i32* @fopen(i8* %10, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
%36 = icmp eq i32* %35, null
br i1 %36, label %37, label %42
37: ; preds = %34
%38 = tail call i32 @perror(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.2, i64 0, i64 0))
%39 = tail call i32 @fclose(i32* %22)
%40 = tail call i32 @fclose(i32* %28)
%41 = tail call i32 @exit(i32 3)
unreachable
42: ; preds = %34
%43 = tail call i32 @fileno(i32* %22)
%44 = tail call i32 @fileno(i32* %28)
%45 = call i32 @fstat(i32 %43, %struct.stat* %3)
%46 = call i32 @fstat(i32 %44, %struct.stat* %4)
%47 = getelementptr inbounds %struct.stat, %struct.stat* %3, i64 0, i32 0
%48 = load i32, i32* %47
%49 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str.4, i64 0, i64 0), i32 %48)
%50 = tail call i64 @malloc(i32 %48)
%51 = inttoptr i64 %50 to i8*
%52 = tail call i32 @fread(i8* %51, i32 %48, i32 1, i32* %22)
%53 = tail call i32 @fclose(i32* %22)
%54 = getelementptr inbounds %struct.stat, %struct.stat* %4, i64 0, i32 0
%55 = load i32, i32* %54
%56 = tail call i64 @malloc(i32 %55)
%57 = inttoptr i64 %56 to i8*
%58 = tail call i32 @fread(i8* %57, i32 %55, i32 1, i32* %28)
%59 = tail call i32 @fclose(i32* %28)
%60 = tail call i32 @fwrite(i8* %51, i32 %48, i32 1, i32* %35)
%61 = tail call i32 @free(i8* %51)
%62 = tail call i32 @fwrite(i8* %57, i32 %55, i32 1, i32* %35)
%63 = tail call i32 @free(i8* %57)
%64 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %35, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i32 65497)
%65 = tail call i32 @fclose(i32* %35)
%66 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @str, i64 0, i64 0))
ret i32 0
}