#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 /*<<< orphan*/ SEEK_END;
int /*<<< orphan*/ SEEK_SET;
int /*<<< orphan*/ assert(int);
int /*<<< orphan*/ fclose(int /*<<< orphan*/ *);
int /*<<< orphan*/ *fopen(char *, char *);
size_t fread(void *, int, int, int /*<<< orphan*/ *);
int /*<<< orphan*/ free(void *);
int /*<<< orphan*/ fseek(int /*<<< orphan*/ *, long, int /*<<< orphan*/);
int ftell(int /*<<< orphan*/ *);
size_t fwrite(void *, int, int, int /*<<< orphan*/ *);
void *malloc(int);
int /*<<< orphan*/ printf(char *, ...);
int main(int argc, char *argv[]) {
  FILE *sp = NULL;
  FILE *dp = NULL;
  long skip_len = 0;
  void *content = NULL;
  size_t ret = -1;
  if (argc != 3) {
    printf("usage: %s <srcfile> <destfile>\n", argv[0]);
    return -1;
  }
  sp = fopen(argv[1], "rb");
  if (!sp) {
    printf("can't open source file\n");
    goto exit1;
  }
  dp = fopen(argv[2], "wb");
  if (!dp) {
    printf("can't open dest file\n");
    goto exit2;
  }
  fseek(sp, 0, SEEK_END);
  skip_len = ftell(sp) - (4045564);
  assert(skip_len > 0);
  fseek(sp, skip_len, SEEK_SET);
  content = malloc((4045564));
  if (!content) {
    printf("malloc failure\n");
    goto exit3;
  }
  ret = fread(content, (4045564), 1, sp);
  if (ret != 1) {
    printf("read %ld error: %ld\n", (4045564), (long)1);
    goto exit4;
  }
  {
    long i = 0;
    char *p = content;
    for (i = 0; i < (4045564); i += 4) {
      char tmp;
      tmp = p[3];
      p[3] = p[0];
      p[0] = tmp;
      tmp = p[2];
      p[2] = p[1];
      p[1] = tmp;
      p = &p[4];
    }
  }
  ret = fwrite(content, (4045564), 1, dp);
  if (ret != 1) {
    printf("write error\n");
    goto exit4;
  }
exit4:
  free(content);
exit3:
  fclose(dp);
exit2:
  fclose(sp);
exit1:
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movq   $0x0,-0x18(%rbp)
movq   $0x0,-0x20(%rbp)
movq   $0x0,-0x28(%rbp)
movq   $0x0,-0x30(%rbp)
movq   $0xffffffffffffffff,-0x38(%rbp)
ff
cmpl   $0x3,-0x8(%rbp)
je     1209 <main+0x69>
mov    -0x10(%rbp),%rax
mov    (%rax),%rsi
lea    0xe0a(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
movl   $0xffffffff,-0x4(%rbp)
jmp    141b <main+0x27b>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xe08(%rip),%rsi
call   10b0 <fopen@plt>
mov    %rax,-0x18(%rbp)
cmpq   $0x0,-0x18(%rbp)
jne    123f <main+0x9f>
lea    0xdf0(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
jmp    1414 <main+0x274>
mov    -0x10(%rbp),%rax
mov    0x10(%rax),%rdi
lea    0xded(%rip),%rsi
call   10b0 <fopen@plt>
mov    %rax,-0x20(%rbp)
cmpq   $0x0,-0x20(%rbp)
jne    1275 <main+0xd5>
lea    0xdd5(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
jmp    140b <main+0x26b>
mov    -0x18(%rbp),%rdi
mov    0x2d68(%rip),%rax
mov    (%rax),%edx
xor    %eax,%eax
mov    %eax,%esi
call   10a0 <fseek@plt>
mov    -0x18(%rbp),%rdi
call   1080 <ftell@plt>
sub    $0x3dbafc,%eax
cltq
mov    %rax,-0x28(%rbp)
cmpq   $0x0,-0x28(%rbp)
setg   %al
and    $0x1,%al
movzbl %al,%edi
call   1070 <assert@plt>
mov    -0x18(%rbp),%rdi
mov    -0x28(%rbp),%rsi
mov    0x2d18(%rip),%rax
mov    (%rax),%edx
call   10a0 <fseek@plt>
mov    $0x3dbafc,%edi
call   1090 <malloc@plt>
mov    %rax,-0x30(%rbp)
cmpq   $0x0,-0x30(%rbp)
jne    12f3 <main+0x153>
lea    0xd6d(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
jmp    1402 <main+0x262>
mov    -0x30(%rbp),%rdi
mov    -0x18(%rbp),%rcx
mov    $0x3dbafc,%esi
mov    $0x1,%edx
call   1040 <fread@plt>
mov    %rax,-0x38(%rbp)
cmpq   $0x1,-0x38(%rbp)
je     1336 <main+0x196>
lea    0xd44(%rip),%rdi
mov    $0x3dbafc,%esi
mov    $0x1,%edx
mov    $0x0,%al
call   1060 <printf@plt>
jmp    13f9 <main+0x259>
movq   $0x0,-0x40(%rbp)
mov    -0x30(%rbp),%rax
mov    %rax,-0x48(%rbp)
movq   $0x0,-0x40(%rbp)
cmpq   $0x3dbafc,-0x40(%rbp)
jge    13bb <main+0x21b>
mov    -0x48(%rbp),%rax
mov    0x3(%rax),%al
mov    %al,-0x49(%rbp)
mov    -0x48(%rbp),%rax
mov    (%rax),%cl
mov    -0x48(%rbp),%rax
mov    %cl,0x3(%rax)
mov    -0x49(%rbp),%cl
mov    -0x48(%rbp),%rax
mov    %cl,(%rax)
mov    -0x48(%rbp),%rax
mov    0x2(%rax),%al
mov    %al,-0x49(%rbp)
mov    -0x48(%rbp),%rax
mov    0x1(%rax),%cl
mov    -0x48(%rbp),%rax
mov    %cl,0x2(%rax)
mov    -0x49(%rbp),%cl
mov    -0x48(%rbp),%rax
mov    %cl,0x1(%rax)
mov    -0x48(%rbp),%rax
add    $0x4,%rax
mov    %rax,-0x48(%rbp)
mov    -0x40(%rbp),%rax
add    $0x4,%rax
mov    %rax,-0x40(%rbp)
jmp    134e <main+0x1ae>
mov    -0x30(%rbp),%rdi
mov    -0x20(%rbp),%rcx
mov    $0x3dbafc,%esi
mov    $0x1,%edx
call   10c0 <fwrite@plt>
mov    %rax,-0x38(%rbp)
cmpq   $0x1,-0x38(%rbp)
je     13f4 <main+0x254>
lea    0xc91(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
jmp    13f9 <main+0x259>
jmp    13f9 <main+0x259>
mov    -0x30(%rbp),%rdi
call   1030 <free@plt>
mov    -0x20(%rbp),%rdi
call   1050 <fclose@plt>
mov    -0x18(%rbp),%rdi
call   1050 <fclose@plt>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r15
push   %r14
push   %rbx
mov    %rsi,%rbx
cmp    $0x3,%edi
jne    12bc <main+0x10c>
mov    0x8(%rbx),%rdi
lea    0xe54(%rip),%rsi
call   10c0 <fopen@plt>
test   %rax,%rax
je     12d7 <main+0x127>
mov    %rax,%r15
mov    0x10(%rbx),%rdi
lea    0xe3b(%rip),%rsi
call   10c0 <fopen@plt>
test   %rax,%rax
je     12e5 <main+0x135>
mov    %rax,%r14
mov    0x2de8(%rip),%rax
mov    (%rax),%edx
mov    %r15,%rdi
xor    %esi,%esi
call   10b0 <fseek@plt>
mov    %r15,%rdi
call   1090 <ftell@plt>
lea    -0x3dbafc(%rax),%ecx
movslq %ecx,%rbx
xor    %edi,%edi
cmp    $0x3dbafd,%eax
setge  %dil
call   1080 <assert@plt>
mov    0x2da4(%rip),%rax
mov    (%rax),%edx
mov    %r15,%rdi
mov    %rbx,%rsi
call   10b0 <fseek@plt>
mov    $0x3dbafc,%edi
call   10a0 <malloc@plt>
test   %rax,%rax
je     12f3 <main+0x143>
mov    %rax,%rbx
mov    %rax,%rdi
mov    $0x3dbafc,%esi
mov    $0x1,%edx
mov    %r15,%rcx
call   1050 <fread@plt>
cmp    $0x1,%rax
jne    1301 <main+0x151>
xor    %eax,%eax
nopl   0x0(%rax,%rax,1)
movzbl (%rbx,%rax,1),%ecx
movzbl 0x3(%rbx,%rax,1),%edx
mov    %cl,0x3(%rbx,%rax,1)
mov    %dl,(%rbx,%rax,1)
rolw   $0x8,0x1(%rbx,%rax,1)
cmp    $0x3dbaf7,%rax
ja     131b <main+0x16b>
movzbl 0x4(%rbx,%rax,1),%ecx
movzbl 0x7(%rbx,%rax,1),%edx
mov    %cl,0x7(%rbx,%rax,1)
mov    %dl,0x4(%rbx,%rax,1)
rolw   $0x8,0x5(%rbx,%rax,1)
add    $0x8,%rax
jmp    1280 <main+0xd0>
mov    (%rbx),%rsi
lea    0xd3a(%rip),%rdi
xor    %eax,%eax
call   1070 <printf@plt>
mov    $0xffffffff,%eax
jmp    135c <main+0x1ac>
lea    0xd5d(%rip),%rdi
call   1040 <puts@plt>
jmp    135a <main+0x1aa>
lea    0xd66(%rip),%rdi
call   1040 <puts@plt>
jmp    1352 <main+0x1a2>
lea    0xd6d(%rip),%rdi
call   1040 <puts@plt>
jmp    134a <main+0x19a>
lea    0xd1e(%rip),%rdi
mov    $0x1,%edx
mov    $0x3dbafc,%esi
xor    %eax,%eax
call   1070 <printf@plt>
jmp    1342 <main+0x192>
mov    %rbx,%rdi
mov    $0x3dbafc,%esi
mov    $0x1,%edx
mov    %r14,%rcx
call   10d0 <fwrite@plt>
cmp    $0x1,%rax
je     1342 <main+0x192>
lea    0xd39(%rip),%rdi
call   1040 <puts@plt>
mov    %rbx,%rdi
call   1030 <free@plt>
mov    %r14,%rdi
call   1060 <fclose@plt>
mov    %r15,%rdi
call   1060 <fclose@plt>
xor    %eax,%eax
pop    %rbx
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
@.str = [32 x i8] c"usage: %s <srcfile> <destfile>\0A\00"
@.str.1 = [3 x i8] c"rb\00"
@.str.2 = [24 x i8] c"can't open source file\0A\00"
@.str.3 = [3 x i8] c"wb\00"
@.str.4 = [22 x i8] c"can't open dest file\0A\00"
@SEEK_END = global i32 0
@SEEK_SET = global i32 0
@.str.5 = [16 x i8] c"malloc failure\0A\00"
@.str.6 = [21 x i8] c"read %ld error: %ld\0A\00"
@.str.7 = [13 x i8] c"write error\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 i64
%9 = alloca i8*
%10 = alloca i64
%11 = alloca i64
%12 = alloca i8*
%13 = alloca i8
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
store i32* null, i32** %6
store i32* null, i32** %7
store i64 0, i64* %8
store i8* null, i8** %9
store i64 -1, i64* %10
%14 = load i32, i32* %4
%15 = icmp ne i32 %14, 3
br i1 %15, label %16, label %21
16: ; preds = %2
%17 = load i8**, i8*** %5
%18 = getelementptr inbounds i8*, i8** %17, i64 0
%19 = load i8*, i8** %18
%20 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str, i64 0, i64 0), i8* %19)
store i32 -1, i32* %3
br label %120
21: ; preds = %2
%22 = load i8**, i8*** %5
%23 = getelementptr inbounds i8*, i8** %22, i64 1
%24 = load i8*, i8** %23
%25 = call i32* @fopen(i8* %24, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0))
store i32* %25, i32** %6
%26 = load i32*, i32** %6
%27 = icmp ne i32* %26, null
br i1 %27, label %30, label %28
28: ; preds = %21
%29 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.2, i64 0, i64 0))
br label %119
30: ; preds = %21
%31 = load i8**, i8*** %5
%32 = getelementptr inbounds i8*, i8** %31, i64 2
%33 = load i8*, i8** %32
%34 = call i32* @fopen(i8* %33, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0))
store i32* %34, i32** %7
%35 = load i32*, i32** %7
%36 = icmp ne i32* %35, null
br i1 %36, label %39, label %37
37: ; preds = %30
%38 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.4, i64 0, i64 0))
br label %116
39: ; preds = %30
%40 = load i32*, i32** %6
%41 = load i32, i32* @SEEK_END
%42 = call i32 @fseek(i32* %40, i64 0, i32 %41)
%43 = load i32*, i32** %6
%44 = call i32 @ftell(i32* %43)
%45 = sub nsw i32 %44, 4045564
%46 = sext i32 %45 to i64
store i64 %46, i64* %8
%47 = load i64, i64* %8
%48 = icmp sgt i64 %47, 0
%49 = zext i1 %48 to i32
%50 = call i32 @assert(i32 %49)
%51 = load i32*, i32** %6
%52 = load i64, i64* %8
%53 = load i32, i32* @SEEK_SET
%54 = call i32 @fseek(i32* %51, i64 %52, i32 %53)
%55 = call i8* @malloc(i32 4045564)
store i8* %55, i8** %9
%56 = load i8*, i8** %9
%57 = icmp ne i8* %56, null
br i1 %57, label %60, label %58
58: ; preds = %39
%59 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.5, i64 0, i64 0))
br label %113
60: ; preds = %39
%61 = load i8*, i8** %9
%62 = load i32*, i32** %6
%63 = call i64 @fread(i8* %61, i32 4045564, i32 1, i32* %62)
store i64 %63, i64* %10
%64 = load i64, i64* %10
%65 = icmp ne i64 %64, 1
br i1 %65, label %66, label %68
66: ; preds = %60
%67 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.6, i64 0, i64 0), i32 4045564, i64 1)
br label %110
68: ; preds = %60
store i64 0, i64* %11
%69 = load i8*, i8** %9
store i8* %69, i8** %12
store i64 0, i64* %11
br label %70
70: ; preds = %98, %68
%71 = load i64, i64* %11
%72 = icmp slt i64 %71, 4045564
br i1 %72, label %73, label %101
73: ; preds = %70
%74 = load i8*, i8** %12
%75 = getelementptr inbounds i8, i8* %74, i64 3
%76 = load i8, i8* %75
store i8 %76, i8* %13
%77 = load i8*, i8** %12
%78 = getelementptr inbounds i8, i8* %77, i64 0
%79 = load i8, i8* %78
%80 = load i8*, i8** %12
%81 = getelementptr inbounds i8, i8* %80, i64 3
store i8 %79, i8* %81
%82 = load i8, i8* %13
%83 = load i8*, i8** %12
%84 = getelementptr inbounds i8, i8* %83, i64 0
store i8 %82, i8* %84
%85 = load i8*, i8** %12
%86 = getelementptr inbounds i8, i8* %85, i64 2
%87 = load i8, i8* %86
store i8 %87, i8* %13
%88 = load i8*, i8** %12
%89 = getelementptr inbounds i8, i8* %88, i64 1
%90 = load i8, i8* %89
%91 = load i8*, i8** %12
%92 = getelementptr inbounds i8, i8* %91, i64 2
store i8 %90, i8* %92
%93 = load i8, i8* %13
%94 = load i8*, i8** %12
%95 = getelementptr inbounds i8, i8* %94, i64 1
store i8 %93, i8* %95
%96 = load i8*, i8** %12
%97 = getelementptr inbounds i8, i8* %96, i64 4
store i8* %97, i8** %12
br label %98
98: ; preds = %73
%99 = load i64, i64* %11
%100 = add nsw i64 %99, 4
store i64 %100, i64* %11
br label %70
101: ; preds = %70
%102 = load i8*, i8** %9
%103 = load i32*, i32** %7
%104 = call i64 @fwrite(i8* %102, i32 4045564, i32 1, i32* %103)
store i64 %104, i64* %10
%105 = load i64, i64* %10
%106 = icmp ne i64 %105, 1
br i1 %106, label %107, label %109
107: ; preds = %101
%108 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.7, i64 0, i64 0))
br label %110
109: ; preds = %101
br label %110
110: ; preds = %109, %107, %66
%111 = load i8*, i8** %9
%112 = call i32 @free(i8* %111)
br label %113
113: ; preds = %110, %58
%114 = load i32*, i32** %7
%115 = call i32 @fclose(i32* %114)
br label %116
116: ; preds = %113, %37
%117 = load i32*, i32** %6
%118 = call i32 @fclose(i32* %117)
br label %119
119: ; preds = %116, %28
store i32 0, i32* %3
br label %120
120: ; preds = %119, %16
%121 = load i32, i32* %3
ret i32 %121
}

LLVM IR (-O2):
@.str = [32 x i8] c"usage: %s <srcfile> <destfile>\0A\00"
@.str.1 = [3 x i8] c"rb\00"
@.str.3 = [3 x i8] c"wb\00"
@SEEK_END = global i32 0
@SEEK_SET = global i32 0
@.str.6 = [21 x i8] c"read %ld error: %ld\0A\00"
@str = [23 x i8] c"can't open source file\00"
@str.8 = [21 x i8] c"can't open dest file\00"
@str.9 = [15 x i8] c"malloc failure\00"
@str.10 = [12 x i8] c"write error\00"
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = icmp eq i32 %0, 3
br i1 %3, label %7, label %4
4: ; preds = %2
%5 = load i8*, i8** %1
%6 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str, i64 0, i64 0), i8* %5)
br label %74
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 ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0))
%11 = icmp eq i32* %10, null
br i1 %11, label %12, label %14
12: ; preds = %7
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @str, i64 0, i64 0))
br label %74
14: ; preds = %7
%15 = getelementptr inbounds i8*, i8** %1, i64 2
%16 = load i8*, i8** %15
%17 = tail call i32* @fopen(i8* %16, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0))
%18 = icmp eq i32* %17, null
br i1 %18, label %19, label %21
19: ; preds = %14
%20 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @str.8, i64 0, i64 0))
br label %72
21: ; preds = %14
%22 = load i32, i32* @SEEK_END
%23 = tail call i32 @fseek(i32* %10, i64 0, i32 %22)
%24 = tail call i32 @ftell(i32* %10)
%25 = add nsw i32 %24, -4045564
%26 = sext i32 %25 to i64
%27 = icmp sgt i32 %24, 4045564
%28 = zext i1 %27 to i32
%29 = tail call i32 @assert(i32 %28)
%30 = load i32, i32* @SEEK_SET
%31 = tail call i32 @fseek(i32* %10, i64 %26, i32 %30)
%32 = tail call dereferenceable_or_null(4045564) i8* @malloc(i32 4045564)
%33 = icmp eq i8* %32, null
br i1 %33, label %34, label %36
34: ; preds = %21
%35 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @str.9, i64 0, i64 0))
br label %70
36: ; preds = %21
%37 = tail call i64 @fread(i8* %32, i32 4045564, i32 1, i32* %10)
%38 = icmp eq i64 %37, 1
br i1 %38, label %41, label %39
39: ; preds = %36
%40 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @.str.6, i64 0, i64 0), i32 4045564, i64 1)
br label %68
41: ; preds = %36, %53
%42 = phi i8* [ %61, %53 ], [ %32, %36 ]
%43 = phi i64 [ %62, %53 ], [ 0, %36 ]
%44 = getelementptr inbounds i8, i8* %42, i64 3
%45 = load i8, i8* %44
%46 = load i8, i8* %42
store i8 %46, i8* %44
store i8 %45, i8* %42
%47 = getelementptr inbounds i8, i8* %42, i64 2
%48 = load i8, i8* %47
%49 = getelementptr inbounds i8, i8* %42, i64 1
%50 = load i8, i8* %49
store i8 %50, i8* %47
store i8 %48, i8* %49
%51 = getelementptr inbounds i8, i8* %42, i64 4
%52 = icmp ult i64 %43, 4045560
br i1 %52, label %53, label %63
53: ; preds = %41
%54 = getelementptr inbounds i8, i8* %42, i64 7
%55 = load i8, i8* %54
%56 = load i8, i8* %51
store i8 %56, i8* %54
store i8 %55, i8* %51
%57 = getelementptr inbounds i8, i8* %42, i64 6
%58 = load i8, i8* %57
%59 = getelementptr inbounds i8, i8* %42, i64 5
%60 = load i8, i8* %59
store i8 %60, i8* %57
store i8 %58, i8* %59
%61 = getelementptr inbounds i8, i8* %42, i64 8
%62 = add nuw nsw i64 %43, 8
br label %41
63: ; preds = %41
%64 = tail call i64 @fwrite(i8* %32, i32 4045564, i32 1, i32* %17)
%65 = icmp eq i64 %64, 1
br i1 %65, label %68, label %66
66: ; preds = %63
%67 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @str.10, i64 0, i64 0))
br label %68
68: ; preds = %63, %66, %39
%69 = tail call i32 @free(i8* %32)
br label %70
70: ; preds = %68, %34
%71 = tail call i32 @fclose(i32* %17)
br label %72
72: ; preds = %70, %19
%73 = tail call i32 @fclose(i32* %10)
br label %74
74: ; preds = %12, %72, %4
%75 = phi i32 [ -1, %4 ], [ 0, %72 ], [ 0, %12 ]
ret i32 %75
}