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

/* Variables and functions */
int /*<<< orphan*/ SEEK_END;
int /*<<< orphan*/ SEEK_SET;
int /*<<< orphan*/ fclose(int /*<<< orphan*/ *);
scalar_t__ feof(int /*<<< orphan*/ *);
int /*<<< orphan*/ *fopen(char *, char *);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/ *, char *, unsigned long long);
int /*<<< orphan*/ fread(unsigned long long *, int, int, int /*<<< orphan*/ *);
int /*<<< orphan*/ fseek(int /*<<< orphan*/ *, int /*<<< orphan*/,
                         int /*<<< orphan*/);
int /*<<< orphan*/ fwrite(void const *, int, int, int /*<<< orphan*/ *);
int /*<<< orphan*/ printf(char *, unsigned long long, unsigned long long);
int main() {
  unsigned long long int i, j, max, buffer, count;
  short br, wr;
  FILE *output, *fp;
  fp = fopen("primes.bin", "wb+");
  max = 10;
  wr = 0;
  buffer = 2;
  count = 1;
  fwrite((const void *)&buffer, sizeof(ULLONG_MAX), 1, fp);
  fseek(fp, 0, SEEK_SET);
  for (i = 3; i <= max; i += 2) {
    double guess = 1;
    br = 0;
    {
      for (j = 0; j < 15; j++) {
        guess = (0.5) * (guess + ((double)i / guess));
      }
    }
    fseek(fp, 0, SEEK_SET);
    while (1) {
      fread(&buffer, sizeof(ULLONG_MAX), 1, fp);
      if (i % buffer == 0) {
        br = 1;
        break;
      }
      if ((double)buffer > guess || feof(fp)) {
        break;
      }
    }
    if (br == 0) {
      fseek(fp, 0, SEEK_END);
      fwrite((const void *)&i, sizeof(ULLONG_MAX), 1, fp);
      count++;
    }
  }
  printf("Total primes from 2 to %llu: %llu", max, count);
  if (wr) {
    output = fopen("primes.txt", "w");
    fseek(fp, 0, SEEK_SET);
    while (count > 0) {
      count--;
      fread(&buffer, sizeof(ULLONG_MAX), 1, fp);
      fprintf(output, "%llu\n", buffer);
    }
    fclose(output);
  }
  fclose(fp);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xe9a(%rip),%rdi
lea    0xe9e(%rip),%rsi
call   1090 <fopen@plt>
mov    %rax,-0x48(%rbp)
movq   $0xa,-0x20(%rbp)
movw   $0x0,-0x34(%rbp)
movq   $0x2,-0x28(%rbp)
movq   $0x1,-0x30(%rbp)
lea    -0x28(%rbp),%rdi
mov    -0x48(%rbp),%rcx
mov    $0x4,%esi
mov    $0x1,%edx
call   10a0 <fwrite@plt>
mov    -0x48(%rbp),%rdi
mov    0x2df2(%rip),%rax
mov    (%rax),%edx
xor    %esi,%esi
call   1080 <fseek@plt>
movq   $0x3,-0x10(%rbp)
mov    -0x10(%rbp),%rax
cmp    -0x20(%rbp),%rax
ja     1377 <main+0x1f7>
movsd  0xdf3(%rip),%xmm0
movsd  %xmm0,-0x50(%rbp)
movw   $0x0,-0x32(%rbp)
movq   $0x0,-0x18(%rbp)
cmpq   $0xf,-0x18(%rbp)
jae    1282 <main+0x102>
movsd  -0x50(%rbp),%xmm1
movaps 0xdd9(%rip),%xmm2
movq   -0x10(%rbp),%xmm0
punpckldq %xmm2,%xmm0
movapd 0xdd8(%rip),%xmm2
subpd  %xmm2,%xmm0
movaps %xmm0,%xmm2
unpckhpd %xmm0,%xmm0
addsd  %xmm2,%xmm0
divsd  -0x50(%rbp),%xmm0
addsd  %xmm0,%xmm1
movsd  0xda0(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x50(%rbp)
mov    -0x18(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x18(%rbp)
jmp    1220 <main+0xa0>
mov    -0x48(%rbp),%rdi
mov    0x2d4b(%rip),%rax
mov    (%rax),%edx
xor    %esi,%esi
call   1080 <fseek@plt>
mov    -0x48(%rbp),%rcx
lea    -0x28(%rbp),%rdi
mov    $0x4,%esi
mov    $0x1,%edx
call   1030 <fread@plt>
mov    -0x10(%rbp),%rax
xor    %ecx,%ecx
mov    %ecx,%edx
divq   -0x28(%rbp)
cmp    $0x0,%rdx
jne    12ce <main+0x14e>
movw   $0x1,-0x32(%rbp)
jmp    131d <main+0x19d>
movaps 0xd3b(%rip),%xmm1
movq   -0x28(%rbp),%xmm0
punpckldq %xmm1,%xmm0
movapd 0xd3a(%rip),%xmm1
subpd  %xmm1,%xmm0
movaps %xmm0,%xmm1
unpckhpd %xmm0,%xmm0
addsd  %xmm1,%xmm0
ucomisd -0x50(%rbp),%xmm0
ja     1313 <main+0x193>
mov    -0x48(%rbp),%rdi
call   1070 <feof@plt>
cmp    $0x0,%rax
je     1318 <main+0x198>
jmp    131d <main+0x19d>
jmp    1296 <main+0x116>
movswl -0x32(%rbp),%eax
cmp    $0x0,%eax
jne    1361 <main+0x1e1>
mov    -0x48(%rbp),%rdi
mov    0x2cb3(%rip),%rax
mov    (%rax),%edx
xor    %esi,%esi
call   1080 <fseek@plt>
lea    -0x10(%rbp),%rdi
mov    -0x48(%rbp),%rcx
mov    $0x4,%esi
mov    $0x1,%edx
call   10a0 <fwrite@plt>
mov    -0x30(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x30(%rbp)
jmp    1366 <main+0x1e6>
mov    -0x10(%rbp),%rax
add    $0x2,%rax
mov    %rax,-0x10(%rbp)
jmp    11f7 <main+0x77>
mov    -0x20(%rbp),%rsi
mov    -0x30(%rbp),%rdx
lea    0xcb9(%rip),%rdi
call   1050 <printf@plt>
cmpw   $0x0,-0x34(%rbp)
je     1411 <main+0x291>
lea    0xcc4(%rip),%rdi
lea    0xcc8(%rip),%rsi
call   1090 <fopen@plt>
mov    %rax,-0x40(%rbp)
mov    -0x48(%rbp),%rdi
mov    0x2c20(%rip),%rax
mov    (%rax),%edx
xor    %esi,%esi
call   1080 <fseek@plt>
cmpq   $0x0,-0x30(%rbp)
jbe    1408 <main+0x288>
mov    -0x30(%rbp),%rax
add    $0xffffffffffffffff,%rax
mov    %rax,-0x30(%rbp)
mov    -0x48(%rbp),%rcx
lea    -0x28(%rbp),%rdi
mov    $0x4,%esi
mov    $0x1,%edx
call   1030 <fread@plt>
mov    -0x40(%rbp),%rdi
mov    -0x28(%rbp),%rdx
lea    0xc70(%rip),%rsi
call   1060 <fprintf@plt>
jmp    13c1 <main+0x241>
mov    -0x40(%rbp),%rdi
call   1040 <fclose@plt>
mov    -0x48(%rbp),%rdi
call   1040 <fclose@plt>
mov    -0x4(%rbp),%eax
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x28,%rsp
lea    0xeab(%rip),%rdi
lea    0xeaf(%rip),%rsi
call   1080 <fopen@plt>
mov    %rax,%r13
movq   $0x2,0x8(%rsp)
lea    0x8(%rsp),%r14
mov    %r14,%rdi
mov    $0x4,%esi
mov    $0x1,%edx
mov    %rax,%rcx
call   1090 <fwrite@plt>
mov    0x2e1a(%rip),%rbp
mov    0x0(%rbp),%edx
mov    %r13,%rdi
xor    %esi,%esi
call   1070 <fseek@plt>
movq   $0x3,(%rsp)
mov    $0x3,%ebx
mov    $0x1,%r15d
mov    %rsp,%r12
jmp    1232 <main+0xc2>
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
mov    0x2df1(%rip),%rax
mov    (%rax),%edx
mov    %r13,%rdi
xor    %esi,%esi
call   1070 <fseek@plt>
mov    %r12,%rdi
mov    $0x4,%esi
mov    $0x1,%edx
mov    %r13,%rcx
call   1090 <fwrite@plt>
add    $0x1,%r15
mov    (%rsp),%rbx
add    $0x2,%rbx
mov    %rbx,(%rsp)
cmp    $0xb,%rbx
jae    13f2 <main+0x282>
movq   %rbx,%xmm0
punpckldq 0xdc1(%rip),%xmm0
subpd  0xdc9(%rip),%xmm0
movapd %xmm0,%xmm3
unpckhpd %xmm0,%xmm3
addsd  %xmm0,%xmm3
movapd %xmm3,%xmm0
addsd  0xdc1(%rip),%xmm0
movsd  0xdc1(%rip),%xmm2
mulsd  %xmm2,%xmm0
movapd %xmm3,%xmm1
divsd  %xmm0,%xmm1
addsd  %xmm0,%xmm1
mulsd  %xmm2,%xmm1
movapd %xmm3,%xmm0
divsd  %xmm1,%xmm0
addsd  %xmm1,%xmm0
mulsd  %xmm2,%xmm0
movapd %xmm3,%xmm1
divsd  %xmm0,%xmm1
addsd  %xmm0,%xmm1
mulsd  %xmm2,%xmm1
movapd %xmm3,%xmm0
divsd  %xmm1,%xmm0
addsd  %xmm1,%xmm0
mulsd  %xmm2,%xmm0
movapd %xmm3,%xmm1
divsd  %xmm0,%xmm1
addsd  %xmm0,%xmm1
mulsd  %xmm2,%xmm1
movapd %xmm3,%xmm0
divsd  %xmm1,%xmm0
addsd  %xmm1,%xmm0
mulsd  %xmm2,%xmm0
movapd %xmm3,%xmm1
divsd  %xmm0,%xmm1
addsd  %xmm0,%xmm1
mulsd  %xmm2,%xmm1
movapd %xmm3,%xmm0
divsd  %xmm1,%xmm0
addsd  %xmm1,%xmm0
mulsd  %xmm2,%xmm0
movapd %xmm3,%xmm1
divsd  %xmm0,%xmm1
addsd  %xmm0,%xmm1
mulsd  %xmm2,%xmm1
movapd %xmm3,%xmm0
divsd  %xmm1,%xmm0
addsd  %xmm1,%xmm0
mulsd  %xmm2,%xmm0
movapd %xmm3,%xmm1
divsd  %xmm0,%xmm1
addsd  %xmm0,%xmm1
mulsd  %xmm2,%xmm1
movapd %xmm3,%xmm0
divsd  %xmm1,%xmm0
addsd  %xmm1,%xmm0
mulsd  %xmm2,%xmm0
movapd %xmm3,%xmm1
divsd  %xmm0,%xmm1
addsd  %xmm0,%xmm1
mulsd  %xmm2,%xmm1
divsd  %xmm1,%xmm3
addsd  %xmm1,%xmm3
mulsd  %xmm2,%xmm3
movapd %xmm3,0x10(%rsp)
mov    0x0(%rbp),%edx
mov    %r13,%rdi
xor    %esi,%esi
call   1070 <fseek@plt>
nopw   0x0(%rax,%rax,1)
mov    %r14,%rdi
mov    $0x4,%esi
mov    $0x1,%edx
mov    %r13,%rcx
call   1030 <fread@plt>
mov    0x8(%rsp),%rcx
mov    %rbx,%rax
or     %rcx,%rax
shr    $0x20,%rax
je     13a0 <main+0x230>
mov    %rbx,%rax
xor    %edx,%edx
div    %rcx
test   %rdx,%rdx
jne    13af <main+0x23f>
jmp    1220 <main+0xb0>
nopl   0x0(%rax,%rax,1)
mov    %ebx,%eax
xor    %edx,%edx
div    %ecx
test   %rdx,%rdx
je     1220 <main+0xb0>
movq   %rcx,%xmm0
punpckldq 0xc44(%rip),%xmm0
subpd  0xc4c(%rip),%xmm0
movapd %xmm0,%xmm1
unpckhpd %xmm0,%xmm1
addsd  %xmm0,%xmm1
ucomisd 0x10(%rsp),%xmm1
ja     11f0 <main+0x80>
mov    %r13,%rdi
call   1060 <feof@plt>
test   %rax,%rax
je     1360 <main+0x1f0>
jmp    11f0 <main+0x80>
lea    0xc46(%rip),%rdi
mov    $0xa,%esi
mov    %r15,%rdx
call   1050 <printf@plt>
mov    %r13,%rdi
call   1040 <fclose@plt>
xor    %eax,%eax
add    $0x28,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [11 x i8] c"primes.bin\00"
@.str.1 = [4 x i8] c"wb+\00"
@SEEK_SET = global i32 0
@SEEK_END = global i32 0
@.str.2 = [34 x i8] c"Total primes from 2 to %llu: %llu\00"
@.str.3 = [11 x i8] c"primes.txt\00"
@.str.4 = [2 x i8] c"w\00"
@.str.5 = [6 x i8] c"%llu\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i64
%3 = alloca i64
%4 = alloca i64
%5 = alloca i64
%6 = alloca i64
%7 = alloca i16
%8 = alloca i16
%9 = alloca i32*
%10 = alloca i32*
%11 = alloca double
store i32 0, i32* %1
%12 = call i32* @fopen(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0))
store i32* %12, i32** %10
store i64 10, i64* %4
store i16 0, i16* %8
store i64 2, i64* %5
store i64 1, i64* %6
%13 = bitcast i64* %5 to i8*
%14 = load i32*, i32** %10
%15 = call i32 @fwrite(i8* %13, i32 4, i32 1, i32* %14)
%16 = load i32*, i32** %10
%17 = load i32, i32* @SEEK_SET
%18 = call i32 @fseek(i32* %16, i32 0, i32 %17)
store i64 3, i64* %2
br label %19
19: ; preds = %75, %0
%20 = load i64, i64* %2
%21 = load i64, i64* %4
%22 = icmp ule i64 %20, %21
br i1 %22, label %23, label %78
23: ; preds = %19
store double 1.000000e+00, double* %11
store i16 0, i16* %7
store i64 0, i64* %3
br label %24
24: ; preds = %35, %23
%25 = load i64, i64* %3
%26 = icmp ult i64 %25, 15
br i1 %26, label %27, label %38
27: ; preds = %24
%28 = load double, double* %11
%29 = load i64, i64* %2
%30 = uitofp i64 %29 to double
%31 = load double, double* %11
%32 = fdiv double %30, %31
%33 = fadd double %28, %32
%34 = fmul double 5.000000e-01, %33
store double %34, double* %11
br label %35
35: ; preds = %27
%36 = load i64, i64* %3
%37 = add i64 %36, 1
store i64 %37, i64* %3
br label %24
38: ; preds = %24
%39 = load i32*, i32** %10
%40 = load i32, i32* @SEEK_SET
%41 = call i32 @fseek(i32* %39, i32 0, i32 %40)
br label %42
42: ; preds = %38, %60
%43 = load i32*, i32** %10
%44 = call i32 @fread(i64* %5, i32 4, i32 1, i32* %43)
%45 = load i64, i64* %2
%46 = load i64, i64* %5
%47 = urem i64 %45, %46
%48 = icmp eq i64 %47, 0
br i1 %48, label %49, label %50
49: ; preds = %42
store i16 1, i16* %7
br label %61
50: ; preds = %42
%51 = load i64, i64* %5
%52 = uitofp i64 %51 to double
%53 = load double, double* %11
%54 = fcmp ogt double %52, %53
br i1 %54, label %59, label %55
55: ; preds = %50
%56 = load i32*, i32** %10
%57 = call i64 @feof(i32* %56)
%58 = icmp ne i64 %57, 0
br i1 %58, label %59, label %60
59: ; preds = %55, %50
br label %61
60: ; preds = %55
br label %42
61: ; preds = %59, %49
%62 = load i16, i16* %7
%63 = sext i16 %62 to i32
%64 = icmp eq i32 %63, 0
br i1 %64, label %65, label %74
65: ; preds = %61
%66 = load i32*, i32** %10
%67 = load i32, i32* @SEEK_END
%68 = call i32 @fseek(i32* %66, i32 0, i32 %67)
%69 = bitcast i64* %2 to i8*
%70 = load i32*, i32** %10
%71 = call i32 @fwrite(i8* %69, i32 4, i32 1, i32* %70)
%72 = load i64, i64* %6
%73 = add i64 %72, 1
store i64 %73, i64* %6
br label %74
74: ; preds = %65, %61
br label %75
75: ; preds = %74
%76 = load i64, i64* %2
%77 = add i64 %76, 2
store i64 %77, i64* %2
br label %19
78: ; preds = %19
%79 = load i64, i64* %4
%80 = load i64, i64* %6
%81 = call i32 @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.2, i64 0, i64 0), i64 %79, i64 %80)
%82 = load i16, i16* %8
%83 = icmp ne i16 %82, 0
br i1 %83, label %84, label %103
84: ; preds = %78
%85 = call i32* @fopen(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0))
store i32* %85, i32** %9
%86 = load i32*, i32** %10
%87 = load i32, i32* @SEEK_SET
%88 = call i32 @fseek(i32* %86, i32 0, i32 %87)
br label %89
89: ; preds = %92, %84
%90 = load i64, i64* %6
%91 = icmp ugt i64 %90, 0
br i1 %91, label %92, label %100
92: ; preds = %89
%93 = load i64, i64* %6
%94 = add i64 %93, -1
store i64 %94, i64* %6
%95 = load i32*, i32** %10
%96 = call i32 @fread(i64* %5, i32 4, i32 1, i32* %95)
%97 = load i32*, i32** %9
%98 = load i64, i64* %5
%99 = call i32 @fprintf(i32* %97, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), i64 %98)
br label %89
100: ; preds = %89
%101 = load i32*, i32** %9
%102 = call i32 @fclose(i32* %101)
br label %103
103: ; preds = %100, %78
%104 = load i32*, i32** %10
%105 = call i32 @fclose(i32* %104)
%106 = load i32, i32* %1
ret i32 %106
}

LLVM IR (-O2):
@.str = [11 x i8] c"primes.bin\00"
@.str.1 = [4 x i8] c"wb+\00"
@SEEK_SET = global i32 0
@SEEK_END = global i32 0
@.str.2 = [34 x i8] c"Total primes from 2 to %llu: %llu\00"
define i32 @main() {
%1 = alloca i64
%2 = alloca i64
%3 = bitcast i64* %1 to i8*
%4 = bitcast i64* %2 to i8*
%5 = tail call i32* @fopen(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0))
store i64 2, i64* %2
%6 = call i32 @fwrite(i8* %4, i32 4, i32 1, i32* %5)
%7 = load i32, i32* @SEEK_SET
%8 = tail call i32 @fseek(i32* %5, i32 0, i32 %7)
store i64 3, i64* %1
br label %9
9: ; preds = %0, %76
%10 = phi i64 [ 1, %0 ], [ %78, %76 ]
%11 = phi i64 [ 3, %0 ], [ %79, %76 ]
%12 = uitofp i64 %11 to double
%13 = fadd double %12, 1.000000e+00
%14 = fmul double %13, 5.000000e-01
%15 = fdiv double %12, %14
%16 = fadd double %14, %15
%17 = fmul double %16, 5.000000e-01
%18 = fdiv double %12, %17
%19 = fadd double %17, %18
%20 = fmul double %19, 5.000000e-01
%21 = fdiv double %12, %20
%22 = fadd double %20, %21
%23 = fmul double %22, 5.000000e-01
%24 = fdiv double %12, %23
%25 = fadd double %23, %24
%26 = fmul double %25, 5.000000e-01
%27 = fdiv double %12, %26
%28 = fadd double %26, %27
%29 = fmul double %28, 5.000000e-01
%30 = fdiv double %12, %29
%31 = fadd double %29, %30
%32 = fmul double %31, 5.000000e-01
%33 = fdiv double %12, %32
%34 = fadd double %32, %33
%35 = fmul double %34, 5.000000e-01
%36 = fdiv double %12, %35
%37 = fadd double %35, %36
%38 = fmul double %37, 5.000000e-01
%39 = fdiv double %12, %38
%40 = fadd double %38, %39
%41 = fmul double %40, 5.000000e-01
%42 = fdiv double %12, %41
%43 = fadd double %41, %42
%44 = fmul double %43, 5.000000e-01
%45 = fdiv double %12, %44
%46 = fadd double %44, %45
%47 = fmul double %46, 5.000000e-01
%48 = fdiv double %12, %47
%49 = fadd double %47, %48
%50 = fmul double %49, 5.000000e-01
%51 = fdiv double %12, %50
%52 = fadd double %50, %51
%53 = fmul double %52, 5.000000e-01
%54 = fdiv double %12, %53
%55 = fadd double %53, %54
%56 = fmul double %55, 5.000000e-01
%57 = load i32, i32* @SEEK_SET
%58 = tail call i32 @fseek(i32* %5, i32 0, i32 %57)
br label %59
59: ; preds = %67, %9
%60 = call i32 @fread(i64* %2, i32 4, i32 1, i32* %5)
%61 = load i64, i64* %2
%62 = urem i64 %11, %61
%63 = icmp eq i64 %62, 0
br i1 %63, label %76, label %64
64: ; preds = %59
%65 = uitofp i64 %61 to double
%66 = fcmp olt double %56, %65
br i1 %66, label %70, label %67
67: ; preds = %64
%68 = tail call i64 @feof(i32* %5)
%69 = icmp eq i64 %68, 0
br i1 %69, label %59, label %70
70: ; preds = %67, %64
%71 = load i32, i32* @SEEK_END
%72 = tail call i32 @fseek(i32* %5, i32 0, i32 %71)
%73 = call i32 @fwrite(i8* %3, i32 4, i32 1, i32* %5)
%74 = add i64 %10, 1
%75 = load i64, i64* %1
br label %76
76: ; preds = %59, %70
%77 = phi i64 [ %75, %70 ], [ %11, %59 ]
%78 = phi i64 [ %74, %70 ], [ %10, %59 ]
%79 = add i64 %77, 2
store i64 %79, i64* %1
%80 = icmp ult i64 %79, 11
br i1 %80, label %9, label %81
81: ; preds = %76
%82 = tail call i32 @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.2, i64 0, i64 0), i64 10, i64 %78)
%83 = tail call i32 @fclose(i32* %5)
ret i32 0
}