#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*/ exit(int /*<<< orphan*/);
int /*<<< orphan*/ fclose(int /*<<< orphan*/ *);
scalar_t__ feof(int /*<<< orphan*/ *);
int /*<<< orphan*/ *fopen(char *, char *);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/ *, char *, double, double, double,
                           double);
int /*<<< orphan*/ fscanf(int /*<<< orphan*/ *, char *, char *, char *,
                          double *, double *);
int /*<<< orphan*/ printf(char *, ...);
int main(void) {
  FILE *fp = fopen("orig.txt", "r");
  FILE *output = fopen("output.txt", "w");
  if (!fp) {
    printf("ERROR opening input file orig.txt\n");
    exit(0);
  }
  int i = 0;
  char append[50], find[50];
  double orig_sum_a = 0.0, orig_sum_f = 0.0, orig_a, orig_f;
  for (i = 0; i < 100; i++) {
    if (feof(fp)) {
      printf("ERROR: You need 100 datum instead of %d\n", i);
      printf("run 'make run' longer to get enough information\n\n");
      exit(0);
    }
    fscanf(fp, "%s %s %lf %lf\n", append, find, &orig_a, &orig_f);
    orig_sum_a += orig_a;
    orig_sum_f += orig_f;
  }
  fclose(fp);
  fp = fopen("opt.txt", "r");
  if (!fp) {
    fp = fopen("orig.txt", "r");
    if (!fp) {
      printf("ERROR opening input file opt.txt\n");
      exit(0);
    }
  }
  double opt_sum_a = 0.0, opt_sum_f = 0.0, opt_a, opt_f;
  for (i = 0; i < 100; i++) {
    if (feof(fp)) {
      printf("ERROR: You need 100 datum instead of %d\n", i);
      printf("run 'make run' longer to get enough information\n\n");
      exit(0);
    }
    fscanf(fp, "%s %s %lf %lf\n", append, find, &opt_a, &opt_f);
    opt_sum_a += opt_a;
    opt_sum_f += opt_f;
  }
  fp = fopen("hash.txt", "r");
  if (!fp) {
    fp = fopen("orig.txt", "r");
    if (!fp) {
      printf("ERROR opening input file opt.txt\n");
      exit(0);
    }
  }
  double hash_sum_a = 0.0, hash_sum_f = 0.0, hash_a, hash_f;
  for (i = 0; i < 100; i++) {
    if (feof(fp)) {
      printf("ERROR: You need 100 datum instead of %d\n", i);
      printf("run 'make run' longer to get enough information\n\n");
      exit(0);
    }
    fscanf(fp, "%s %s %lf %lf\n", append, find, &hash_a, &hash_f);
    hash_sum_a += hash_a;
    hash_sum_f += hash_f;
  }
  fp = fopen("smaz.txt", "r");
  if (!fp) {
    fp = fopen("orig.txt", "r");
    if (!fp) {
      printf("ERROR opening input file opt.txt\n");
      exit(0);
    }
  }
  double smaz_sum_a = 0.0, smaz_sum_f = 0.0, smaz_a, smaz_f;
  for (i = 0; i < 100; i++) {
    if (feof(fp)) {
      printf("ERROR: You need 100 datum instead of %d\n", i);
      printf("run 'make run' longer to get enough information\n\n");
      exit(0);
    }
    fscanf(fp, "%s %s %lf %lf\n", append, find, &smaz_a, &smaz_f);
    smaz_sum_a += smaz_a;
    smaz_sum_f += smaz_f;
  }
  fprintf(output, "append() %lf %lf %lf %lf\n", orig_sum_a / 100.0,
          opt_sum_a / 100.0, hash_sum_a / 100.0, smaz_sum_a / 100.0);
  fprintf(output, "findName() %lf %lf %lf %lf\n", orig_sum_f / 100.0,
          opt_sum_f / 100.0, hash_sum_f / 100.0, smaz_sum_f / 100.0);
  fclose(output);
  fclose(fp);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x110,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xe7f(%rip),%rdi
lea    0xe81(%rip),%rsi
call   1080 <fopen@plt>
mov    %rax,-0x10(%rbp)
lea    0xe73(%rip),%rdi
lea    0xe77(%rip),%rsi
call   1080 <fopen@plt>
mov    %rax,-0x18(%rbp)
cmpq   $0x0,-0x10(%rbp)
jne    11d0 <main+0x60>
lea    0xe5e(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
xor    %edi,%edi
call   1090 <exit@plt>
movl   $0x0,-0x1c(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
xorps  %xmm0,%xmm0
movsd  %xmm0,-0xa0(%rbp)
ff
movl   $0x0,-0x1c(%rbp)
cmpl   $0x64,-0x1c(%rbp)
jge    129e <main+0x12e>
mov    -0x10(%rbp),%rdi
call   1070 <feof@plt>
cmp    $0x0,%rax
je     1237 <main+0xc7>
mov    -0x1c(%rbp),%esi
lea    0xe28(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xe43(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
xor    %edi,%edi
call   1090 <exit@plt>
mov    -0x10(%rbp),%rdi
lea    -0x50(%rbp),%rdx
lea    -0x90(%rbp),%rcx
lea    0xe51(%rip),%rsi
lea    -0xa8(%rbp),%r8
lea    -0xb0(%rbp),%r9
call   1050 <fscanf@plt>
movsd  -0xa8(%rbp),%xmm0
ff
addsd  -0x98(%rbp),%xmm0
ff
movsd  %xmm0,-0x98(%rbp)
ff
movsd  -0xb0(%rbp),%xmm0
ff
addsd  -0xa0(%rbp),%xmm0
ff
movsd  %xmm0,-0xa0(%rbp)
ff
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    11f4 <main+0x84>
mov    -0x10(%rbp),%rdi
call   1030 <fclose@plt>
lea    0xdff(%rip),%rdi
lea    0xd5c(%rip),%rsi
call   1080 <fopen@plt>
mov    %rax,-0x10(%rbp)
cmpq   $0x0,-0x10(%rbp)
jne    1305 <main+0x195>
lea    0xd38(%rip),%rdi
lea    0xd3a(%rip),%rsi
call   1080 <fopen@plt>
mov    %rax,-0x10(%rbp)
cmpq   $0x0,-0x10(%rbp)
jne    1300 <main+0x190>
lea    0xdc3(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
xor    %edi,%edi
call   1090 <exit@plt>
jmp    1305 <main+0x195>
xorps  %xmm0,%xmm0
movsd  %xmm0,-0xb8(%rbp)
ff
xorps  %xmm0,%xmm0
movsd  %xmm0,-0xc0(%rbp)
ff
movl   $0x0,-0x1c(%rbp)
cmpl   $0x64,-0x1c(%rbp)
jge    13cc <main+0x25c>
mov    -0x10(%rbp),%rdi
call   1070 <feof@plt>
cmp    $0x0,%rax
je     1365 <main+0x1f5>
mov    -0x1c(%rbp),%esi
lea    0xcfa(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xd15(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
xor    %edi,%edi
call   1090 <exit@plt>
mov    -0x10(%rbp),%rdi
lea    -0x50(%rbp),%rdx
lea    -0x90(%rbp),%rcx
lea    0xd23(%rip),%rsi
lea    -0xc8(%rbp),%r8
lea    -0xd0(%rbp),%r9
call   1050 <fscanf@plt>
movsd  -0xc8(%rbp),%xmm0
ff
addsd  -0xb8(%rbp),%xmm0
ff
movsd  %xmm0,-0xb8(%rbp)
ff
movsd  -0xd0(%rbp),%xmm0
ff
addsd  -0xc0(%rbp),%xmm0
ff
movsd  %xmm0,-0xc0(%rbp)
ff
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    1322 <main+0x1b2>
lea    0xd04(%rip),%rdi
lea    0xc37(%rip),%rsi
call   1080 <fopen@plt>
mov    %rax,-0x10(%rbp)
cmpq   $0x0,-0x10(%rbp)
jne    142a <main+0x2ba>
lea    0xc13(%rip),%rdi
lea    0xc15(%rip),%rsi
call   1080 <fopen@plt>
mov    %rax,-0x10(%rbp)
cmpq   $0x0,-0x10(%rbp)
jne    1425 <main+0x2b5>
lea    0xc9e(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
xor    %edi,%edi
call   1090 <exit@plt>
jmp    142a <main+0x2ba>
xorps  %xmm0,%xmm0
movsd  %xmm0,-0xd8(%rbp)
ff
xorps  %xmm0,%xmm0
movsd  %xmm0,-0xe0(%rbp)
ff
movl   $0x0,-0x1c(%rbp)
cmpl   $0x64,-0x1c(%rbp)
jge    14f1 <main+0x381>
mov    -0x10(%rbp),%rdi
call   1070 <feof@plt>
cmp    $0x0,%rax
je     148a <main+0x31a>
mov    -0x1c(%rbp),%esi
lea    0xbd5(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xbf0(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
xor    %edi,%edi
call   1090 <exit@plt>
mov    -0x10(%rbp),%rdi
lea    -0x50(%rbp),%rdx
lea    -0x90(%rbp),%rcx
lea    0xbfe(%rip),%rsi
lea    -0xe8(%rbp),%r8
lea    -0xf0(%rbp),%r9
call   1050 <fscanf@plt>
movsd  -0xe8(%rbp),%xmm0
ff
addsd  -0xd8(%rbp),%xmm0
ff
movsd  %xmm0,-0xd8(%rbp)
ff
movsd  -0xf0(%rbp),%xmm0
ff
addsd  -0xe0(%rbp),%xmm0
ff
movsd  %xmm0,-0xe0(%rbp)
ff
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    1447 <main+0x2d7>
lea    0xbe8(%rip),%rdi
lea    0xb12(%rip),%rsi
call   1080 <fopen@plt>
mov    %rax,-0x10(%rbp)
cmpq   $0x0,-0x10(%rbp)
jne    154f <main+0x3df>
lea    0xaee(%rip),%rdi
lea    0xaf0(%rip),%rsi
call   1080 <fopen@plt>
mov    %rax,-0x10(%rbp)
cmpq   $0x0,-0x10(%rbp)
jne    154a <main+0x3da>
lea    0xb79(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
xor    %edi,%edi
call   1090 <exit@plt>
jmp    154f <main+0x3df>
xorps  %xmm0,%xmm0
movsd  %xmm0,-0xf8(%rbp)
ff
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x100(%rbp)
ff
movl   $0x0,-0x1c(%rbp)
cmpl   $0x64,-0x1c(%rbp)
jge    1616 <main+0x4a6>
mov    -0x10(%rbp),%rdi
call   1070 <feof@plt>
cmp    $0x0,%rax
je     15af <main+0x43f>
mov    -0x1c(%rbp),%esi
lea    0xab0(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xacb(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
xor    %edi,%edi
call   1090 <exit@plt>
mov    -0x10(%rbp),%rdi
lea    -0x50(%rbp),%rdx
lea    -0x90(%rbp),%rcx
lea    0xad9(%rip),%rsi
lea    -0x108(%rbp),%r8
lea    -0x110(%rbp),%r9
call   1050 <fscanf@plt>
movsd  -0x108(%rbp),%xmm0
ff
addsd  -0xf8(%rbp),%xmm0
ff
movsd  %xmm0,-0xf8(%rbp)
ff
movsd  -0x110(%rbp),%xmm0
ff
addsd  -0x100(%rbp),%xmm0
ff
movsd  %xmm0,-0x100(%rbp)
ff
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    156c <main+0x3fc>
mov    -0x18(%rbp),%rdi
movsd  -0x98(%rbp),%xmm0
ff
movsd  0x9d6(%rip),%xmm1
divsd  %xmm1,%xmm0
movsd  -0xb8(%rbp),%xmm1
ff
movsd  0x9c2(%rip),%xmm2
divsd  %xmm2,%xmm1
movsd  -0xd8(%rbp),%xmm2
ff
movsd  0x9ae(%rip),%xmm3
divsd  %xmm3,%xmm2
movsd  -0xf8(%rbp),%xmm3
ff
movsd  0x99a(%rip),%xmm4
divsd  %xmm4,%xmm3
lea    0xa78(%rip),%rsi
call   1060 <fprintf@plt>
mov    -0x18(%rbp),%rdi
movsd  -0xa0(%rbp),%xmm0
ff
movsd  0x976(%rip),%xmm1
divsd  %xmm1,%xmm0
movsd  -0xc0(%rbp),%xmm1
ff
movsd  0x962(%rip),%xmm2
divsd  %xmm2,%xmm1
movsd  -0xe0(%rbp),%xmm2
ff
movsd  0x94e(%rip),%xmm3
divsd  %xmm3,%xmm2
movsd  -0x100(%rbp),%xmm3
ff
movsd  0x93a(%rip),%xmm4
divsd  %xmm4,%xmm3
lea    0xa32(%rip),%rsi
call   1060 <fprintf@plt>
mov    -0x18(%rbp),%rdi
call   1030 <fclose@plt>
mov    -0x10(%rbp),%rdi
call   1030 <fclose@plt>
xor    %eax,%eax
add    $0x110,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x108,%rsp
lea    0xf18(%rip),%rdi
lea    0xe69(%rip),%rsi
call   1090 <fopen@plt>
mov    %rax,%rbx
lea    0xe5c(%rip),%rdi
lea    0xe60(%rip),%rsi
call   1090 <fopen@plt>
mov    %rax,0x40(%rsp)
test   %rbx,%rbx
je     1580 <main+0x400>
xor    %ebp,%ebp
xorpd  %xmm0,%xmm0
movsd  %xmm0,0x38(%rsp)
lea    0xd0(%rsp),%r12
lea    0x90(%rsp),%r13
lea    0x88(%rsp),%r14
lea    0x80(%rsp),%r15
xorpd  %xmm0,%xmm0
movsd  %xmm0,0x30(%rsp)
xchg   %ax,%ax
mov    %rbx,%rdi
call   1080 <feof@plt>
test   %rax,%rax
jne    155d <main+0x3dd>
mov    %rbx,%rdi
lea    0xe25(%rip),%rsi
mov    %r12,%rdx
mov    %r13,%rcx
mov    %r14,%r8
mov    %r15,%r9
call   1060 <fscanf@plt>
movsd  0x30(%rsp),%xmm0
addsd  0x88(%rsp),%xmm0
movsd  %xmm0,0x30(%rsp)
movsd  0x38(%rsp),%xmm0
addsd  0x80(%rsp),%xmm0
movsd  %xmm0,0x38(%rsp)
add    $0x1,%ebp
cmp    $0x64,%ebp
jne    1200 <main+0x80>
mov    %rbx,%rdi
call   1040 <fclose@plt>
lea    0xe65(%rip),%rdi
lea    0xd94(%rip),%rsi
call   1090 <fopen@plt>
mov    %rax,%rbx
test   %rax,%rax
jne    12a0 <main+0x120>
lea    0xe28(%rip),%rdi
lea    0xd79(%rip),%rsi
call   1090 <fopen@plt>
mov    %rax,%rbx
test   %rax,%rax
je     1589 <main+0x409>
xor    %ebp,%ebp
xorpd  %xmm0,%xmm0
movsd  %xmm0,0x28(%rsp)
lea    0xd0(%rsp),%r12
lea    0x90(%rsp),%r13
lea    0x78(%rsp),%r14
lea    0x70(%rsp),%r15
xorpd  %xmm0,%xmm0
movsd  %xmm0,0x20(%rsp)
mov    %rbx,%rdi
call   1080 <feof@plt>
test   %rax,%rax
jne    155d <main+0x3dd>
mov    %rbx,%rdi
lea    0xd55(%rip),%rsi
mov    %r12,%rdx
mov    %r13,%rcx
mov    %r14,%r8
mov    %r15,%r9
call   1060 <fscanf@plt>
movsd  0x20(%rsp),%xmm0
addsd  0x78(%rsp),%xmm0
movsd  %xmm0,0x20(%rsp)
movsd  0x28(%rsp),%xmm0
addsd  0x70(%rsp),%xmm0
movsd  %xmm0,0x28(%rsp)
add    $0x1,%ebp
cmp    $0x64,%ebp
jne    12d0 <main+0x150>
lea    0xd20(%rip),%rdi
lea    0xcd2(%rip),%rsi
call   1090 <fopen@plt>
mov    %rax,%rbx
test   %rax,%rax
jne    1362 <main+0x1e2>
lea    0xd66(%rip),%rdi
lea    0xcb7(%rip),%rsi
call   1090 <fopen@plt>
mov    %rax,%rbx
test   %rax,%rax
je     1589 <main+0x409>
xor    %ebp,%ebp
xorpd  %xmm0,%xmm0
movsd  %xmm0,0x18(%rsp)
lea    0xd0(%rsp),%r12
lea    0x90(%rsp),%r13
lea    0x68(%rsp),%r14
lea    0x60(%rsp),%r15
xorpd  %xmm0,%xmm0
movsd  %xmm0,0x10(%rsp)
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
mov    %rbx,%rdi
call   1080 <feof@plt>
test   %rax,%rax
jne    155d <main+0x3dd>
mov    %rbx,%rdi
lea    0xc85(%rip),%rsi
mov    %r12,%rdx
mov    %r13,%rcx
mov    %r14,%r8
mov    %r15,%r9
call   1060 <fscanf@plt>
movsd  0x10(%rsp),%xmm0
addsd  0x68(%rsp),%xmm0
movsd  %xmm0,0x10(%rsp)
movsd  0x18(%rsp),%xmm0
addsd  0x60(%rsp),%xmm0
movsd  %xmm0,0x18(%rsp)
add    $0x1,%ebp
cmp    $0x64,%ebp
jne    13a0 <main+0x220>
lea    0xc59(%rip),%rdi
lea    0xc02(%rip),%rsi
call   1090 <fopen@plt>
mov    %rax,%rbx
test   %rax,%rax
jne    1432 <main+0x2b2>
lea    0xc96(%rip),%rdi
lea    0xbe7(%rip),%rsi
call   1090 <fopen@plt>
mov    %rax,%rbx
test   %rax,%rax
je     1589 <main+0x409>
xor    %ebp,%ebp
xorpd  %xmm0,%xmm0
movsd  %xmm0,0x8(%rsp)
lea    0xd0(%rsp),%r12
lea    0x90(%rsp),%r13
lea    0x58(%rsp),%r14
lea    0x50(%rsp),%r15
xorpd  %xmm3,%xmm3
nopl   0x0(%rax)
movsd  %xmm3,0x48(%rsp)
mov    %rbx,%rdi
call   1080 <feof@plt>
test   %rax,%rax
jne    155d <main+0x3dd>
mov    %rbx,%rdi
lea    0xbbf(%rip),%rsi
mov    %r12,%rdx
mov    %r13,%rcx
mov    %r14,%r8
mov    %r15,%r9
call   1060 <fscanf@plt>
movsd  0x48(%rsp),%xmm3
addsd  0x58(%rsp),%xmm3
movsd  0x8(%rsp),%xmm0
addsd  0x50(%rsp),%xmm0
movsd  %xmm0,0x8(%rsp)
add    $0x1,%ebp
cmp    $0x64,%ebp
jne    1460 <main+0x2e0>
movsd  0xb40(%rip),%xmm4
movsd  0x30(%rsp),%xmm0
divsd  %xmm4,%xmm0
movsd  0x20(%rsp),%xmm1
divsd  %xmm4,%xmm1
movsd  0x10(%rsp),%xmm2
divsd  %xmm4,%xmm2
divsd  %xmm4,%xmm3
lea    0xb78(%rip),%rsi
mov    0x40(%rsp),%rbp
mov    %rbp,%rdi
call   1070 <fprintf@plt>
movsd  0x38(%rsp),%xmm0
movsd  0xafc(%rip),%xmm3
divsd  %xmm3,%xmm0
movsd  0x28(%rsp),%xmm1
divsd  %xmm3,%xmm1
movsd  0x18(%rsp),%xmm2
divsd  %xmm3,%xmm2
movapd %xmm3,%xmm4
movsd  0x8(%rsp),%xmm3
divsd  %xmm4,%xmm3
lea    0xb4a(%rip),%rsi
mov    %rbp,%rdi
call   1070 <fprintf@plt>
mov    %rbp,%rdi
call   1040 <fclose@plt>
mov    %rbx,%rdi
call   1040 <fclose@plt>
xor    %eax,%eax
add    $0x108,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
lea    0xab3(%rip),%rdi
mov    %ebp,%esi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xb66(%rip),%rdi
call   1030 <puts@plt>
xor    %edi,%edi
call   10a0 <exit@plt>
lea    0xb10(%rip),%rdi
jmp    1574 <main+0x3f4>
lea    0xb29(%rip),%rdi
jmp    1574 <main+0x3f4>

LLVM IR (-O0):
@.str = [9 x i8] c"orig.txt\00"
@.str.1 = [2 x i8] c"r\00"
@.str.2 = [11 x i8] c"output.txt\00"
@.str.3 = [2 x i8] c"w\00"
@.str.4 = [35 x i8] c"ERROR opening input file orig.txt\0A\00"
@.str.5 = [41 x i8] c"ERROR: You need 100 datum instead of %d\0A\00"
@.str.6 = [50 x i8] c"run 'make run' longer to get enough information\0A\0A\00"
@.str.7 = [15 x i8] c"%s %s %lf %lf\0A\00"
@.str.8 = [8 x i8] c"opt.txt\00"
@.str.9 = [34 x i8] c"ERROR opening input file opt.txt\0A\00"
@.str.10 = [9 x i8] c"hash.txt\00"
@.str.11 = [9 x i8] c"smaz.txt\00"
@.str.12 = [26 x i8] c"append() %lf %lf %lf %lf\0A\00"
@.str.13 = [28 x i8] c"findName() %lf %lf %lf %lf\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32*
%3 = alloca i32*
%4 = alloca i32
%5 = alloca [50 x i8]
%6 = alloca [50 x i8]
%7 = alloca double
%8 = alloca double
%9 = alloca double
%10 = alloca double
%11 = alloca double
%12 = alloca double
%13 = alloca double
%14 = alloca double
%15 = alloca double
%16 = alloca double
%17 = alloca double
%18 = alloca double
%19 = alloca double
%20 = alloca double
%21 = alloca double
%22 = alloca double
store i32 0, i32* %1
%23 = call i32* @fopen(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
store i32* %23, i32** %2
%24 = call i32* @fopen(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
store i32* %24, i32** %3
%25 = load i32*, i32** %2
%26 = icmp ne i32* %25, null
br i1 %26, label %30, label %27
27: ; preds = %0
%28 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.4, i64 0, i64 0))
%29 = call i32 @exit(i32 0)
unreachable
30: ; preds = %0
store i32 0, i32* %4
store double 0.000000e+00, double* %7
store double 0.000000e+00, double* %8
store i32 0, i32* %4
br label %31
31: ; preds = %54, %30
%32 = load i32, i32* %4
%33 = icmp slt i32 %32, 100
br i1 %33, label %34, label %57
34: ; preds = %31
%35 = load i32*, i32** %2
%36 = call i64 @feof(i32* %35)
%37 = icmp ne i64 %36, 0
br i1 %37, label %38, label %43
38: ; preds = %34
%39 = load i32, i32* %4
%40 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.5, i64 0, i64 0), i32 %39)
%41 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.6, i64 0, i64 0))
%42 = call i32 @exit(i32 0)
unreachable
43: ; preds = %34
%44 = load i32*, i32** %2
%45 = getelementptr inbounds [50 x i8], [50 x i8]* %5, i64 0, i64 0
%46 = getelementptr inbounds [50 x i8], [50 x i8]* %6, i64 0, i64 0
%47 = call i32 @fscanf(i32* %44, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.7, i64 0, i64 0), i8* %45, i8* %46, double* %9, double* %10)
%48 = load double, double* %9
%49 = load double, double* %7
%50 = fadd double %49, %48
store double %50, double* %7
%51 = load double, double* %10
%52 = load double, double* %8
%53 = fadd double %52, %51
store double %53, double* %8
br label %54
54: ; preds = %43
%55 = load i32, i32* %4
%56 = add nsw i32 %55, 1
store i32 %56, i32* %4
br label %31
57: ; preds = %31
%58 = load i32*, i32** %2
%59 = call i32 @fclose(i32* %58)
%60 = call i32* @fopen(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
store i32* %60, i32** %2
%61 = load i32*, i32** %2
%62 = icmp ne i32* %61, null
br i1 %62, label %71, label %63
63: ; preds = %57
%64 = call i32* @fopen(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
store i32* %64, i32** %2
%65 = load i32*, i32** %2
%66 = icmp ne i32* %65, null
br i1 %66, label %70, label %67
67: ; preds = %63
%68 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.9, i64 0, i64 0))
%69 = call i32 @exit(i32 0)
unreachable
70: ; preds = %63
br label %71
71: ; preds = %70, %57
store double 0.000000e+00, double* %11
store double 0.000000e+00, double* %12
store i32 0, i32* %4
br label %72
72: ; preds = %95, %71
%73 = load i32, i32* %4
%74 = icmp slt i32 %73, 100
br i1 %74, label %75, label %98
75: ; preds = %72
%76 = load i32*, i32** %2
%77 = call i64 @feof(i32* %76)
%78 = icmp ne i64 %77, 0
br i1 %78, label %79, label %84
79: ; preds = %75
%80 = load i32, i32* %4
%81 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.5, i64 0, i64 0), i32 %80)
%82 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.6, i64 0, i64 0))
%83 = call i32 @exit(i32 0)
unreachable
84: ; preds = %75
%85 = load i32*, i32** %2
%86 = getelementptr inbounds [50 x i8], [50 x i8]* %5, i64 0, i64 0
%87 = getelementptr inbounds [50 x i8], [50 x i8]* %6, i64 0, i64 0
%88 = call i32 @fscanf(i32* %85, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.7, i64 0, i64 0), i8* %86, i8* %87, double* %13, double* %14)
%89 = load double, double* %13
%90 = load double, double* %11
%91 = fadd double %90, %89
store double %91, double* %11
%92 = load double, double* %14
%93 = load double, double* %12
%94 = fadd double %93, %92
store double %94, double* %12
br label %95
95: ; preds = %84
%96 = load i32, i32* %4
%97 = add nsw i32 %96, 1
store i32 %97, i32* %4
br label %72
98: ; preds = %72
%99 = call i32* @fopen(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
store i32* %99, i32** %2
%100 = load i32*, i32** %2
%101 = icmp ne i32* %100, null
br i1 %101, label %110, label %102
102: ; preds = %98
%103 = call i32* @fopen(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
store i32* %103, i32** %2
%104 = load i32*, i32** %2
%105 = icmp ne i32* %104, null
br i1 %105, label %109, label %106
106: ; preds = %102
%107 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.9, i64 0, i64 0))
%108 = call i32 @exit(i32 0)
unreachable
109: ; preds = %102
br label %110
110: ; preds = %109, %98
store double 0.000000e+00, double* %15
store double 0.000000e+00, double* %16
store i32 0, i32* %4
br label %111
111: ; preds = %134, %110
%112 = load i32, i32* %4
%113 = icmp slt i32 %112, 100
br i1 %113, label %114, label %137
114: ; preds = %111
%115 = load i32*, i32** %2
%116 = call i64 @feof(i32* %115)
%117 = icmp ne i64 %116, 0
br i1 %117, label %118, label %123
118: ; preds = %114
%119 = load i32, i32* %4
%120 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.5, i64 0, i64 0), i32 %119)
%121 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.6, i64 0, i64 0))
%122 = call i32 @exit(i32 0)
unreachable
123: ; preds = %114
%124 = load i32*, i32** %2
%125 = getelementptr inbounds [50 x i8], [50 x i8]* %5, i64 0, i64 0
%126 = getelementptr inbounds [50 x i8], [50 x i8]* %6, i64 0, i64 0
%127 = call i32 @fscanf(i32* %124, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.7, i64 0, i64 0), i8* %125, i8* %126, double* %17, double* %18)
%128 = load double, double* %17
%129 = load double, double* %15
%130 = fadd double %129, %128
store double %130, double* %15
%131 = load double, double* %18
%132 = load double, double* %16
%133 = fadd double %132, %131
store double %133, double* %16
br label %134
134: ; preds = %123
%135 = load i32, i32* %4
%136 = add nsw i32 %135, 1
store i32 %136, i32* %4
br label %111
137: ; preds = %111
%138 = call i32* @fopen(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
store i32* %138, i32** %2
%139 = load i32*, i32** %2
%140 = icmp ne i32* %139, null
br i1 %140, label %149, label %141
141: ; preds = %137
%142 = call i32* @fopen(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
store i32* %142, i32** %2
%143 = load i32*, i32** %2
%144 = icmp ne i32* %143, null
br i1 %144, label %148, label %145
145: ; preds = %141
%146 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.9, i64 0, i64 0))
%147 = call i32 @exit(i32 0)
unreachable
148: ; preds = %141
br label %149
149: ; preds = %148, %137
store double 0.000000e+00, double* %19
store double 0.000000e+00, double* %20
store i32 0, i32* %4
br label %150
150: ; preds = %173, %149
%151 = load i32, i32* %4
%152 = icmp slt i32 %151, 100
br i1 %152, label %153, label %176
153: ; preds = %150
%154 = load i32*, i32** %2
%155 = call i64 @feof(i32* %154)
%156 = icmp ne i64 %155, 0
br i1 %156, label %157, label %162
157: ; preds = %153
%158 = load i32, i32* %4
%159 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.5, i64 0, i64 0), i32 %158)
%160 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.6, i64 0, i64 0))
%161 = call i32 @exit(i32 0)
unreachable
162: ; preds = %153
%163 = load i32*, i32** %2
%164 = getelementptr inbounds [50 x i8], [50 x i8]* %5, i64 0, i64 0
%165 = getelementptr inbounds [50 x i8], [50 x i8]* %6, i64 0, i64 0
%166 = call i32 @fscanf(i32* %163, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.7, i64 0, i64 0), i8* %164, i8* %165, double* %21, double* %22)
%167 = load double, double* %21
%168 = load double, double* %19
%169 = fadd double %168, %167
store double %169, double* %19
%170 = load double, double* %22
%171 = load double, double* %20
%172 = fadd double %171, %170
store double %172, double* %20
br label %173
173: ; preds = %162
%174 = load i32, i32* %4
%175 = add nsw i32 %174, 1
store i32 %175, i32* %4
br label %150
176: ; preds = %150
%177 = load i32*, i32** %3
%178 = load double, double* %7
%179 = fdiv double %178, 1.000000e+02
%180 = load double, double* %11
%181 = fdiv double %180, 1.000000e+02
%182 = load double, double* %15
%183 = fdiv double %182, 1.000000e+02
%184 = load double, double* %19
%185 = fdiv double %184, 1.000000e+02
%186 = call i32 @fprintf(i32* %177, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.12, i64 0, i64 0), double %179, double %181, double %183, double %185)
%187 = load i32*, i32** %3
%188 = load double, double* %8
%189 = fdiv double %188, 1.000000e+02
%190 = load double, double* %12
%191 = fdiv double %190, 1.000000e+02
%192 = load double, double* %16
%193 = fdiv double %192, 1.000000e+02
%194 = load double, double* %20
%195 = fdiv double %194, 1.000000e+02
%196 = call i32 @fprintf(i32* %187, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.13, i64 0, i64 0), double %189, double %191, double %193, double %195)
%197 = load i32*, i32** %3
%198 = call i32 @fclose(i32* %197)
%199 = load i32*, i32** %2
%200 = call i32 @fclose(i32* %199)
ret i32 0
}

LLVM IR (-O2):
@.str = [9 x i8] c"orig.txt\00"
@.str.1 = [2 x i8] c"r\00"
@.str.2 = [11 x i8] c"output.txt\00"
@.str.3 = [2 x i8] c"w\00"
@.str.5 = [41 x i8] c"ERROR: You need 100 datum instead of %d\0A\00"
@.str.7 = [15 x i8] c"%s %s %lf %lf\0A\00"
@.str.8 = [8 x i8] c"opt.txt\00"
@.str.10 = [9 x i8] c"hash.txt\00"
@.str.11 = [9 x i8] c"smaz.txt\00"
@.str.12 = [26 x i8] c"append() %lf %lf %lf %lf\0A\00"
@.str.13 = [28 x i8] c"findName() %lf %lf %lf %lf\0A\00"
@str = [34 x i8] c"ERROR opening input file orig.txt\00"
@str.16 = [33 x i8] c"ERROR opening input file opt.txt\00"
@str.20 = [49 x i8] c"run 'make run' longer to get enough information\0A\00"
define i32 @main() {
%1 = alloca [50 x i8]
%2 = alloca [50 x i8]
%3 = alloca double
%4 = alloca double
%5 = alloca double
%6 = alloca double
%7 = alloca double
%8 = alloca double
%9 = alloca double
%10 = alloca double
%11 = tail call i32* @fopen(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%12 = tail call i32* @fopen(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
%13 = icmp eq i32* %11, null
br i1 %13, label %14, label %17
14: ; preds = %0
%15 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([34 x i8], [34 x i8]* @str, i64 0, i64 0))
%16 = tail call i32 @exit(i32 0)
unreachable
17: ; preds = %0
%18 = getelementptr inbounds [50 x i8], [50 x i8]* %1, i64 0, i64 0
%19 = getelementptr inbounds [50 x i8], [50 x i8]* %2, i64 0, i64 0
%20 = bitcast double* %3 to i8*
%21 = bitcast double* %4 to i8*
br label %22
22: ; preds = %17, %32
%23 = phi double [ 0.000000e+00, %17 ], [ %37, %32 ]
%24 = phi double [ 0.000000e+00, %17 ], [ %35, %32 ]
%25 = phi i32 [ 0, %17 ], [ %38, %32 ]
%26 = call i64 @feof(i32* %11)
%27 = icmp eq i64 %26, 0
br i1 %27, label %32, label %28
28: ; preds = %22
%29 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([41 x i8], [41 x i8]* @.str.5, i64 0, i64 0), i32 %25)
%30 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([49 x i8], [49 x i8]* @str.20, i64 0, i64 0))
%31 = call i32 @exit(i32 0)
unreachable
32: ; preds = %22
%33 = call i32 @fscanf(i32* %11, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.7, i64 0, i64 0), i8* %18, i8* %19, double* %3, double* %4)
%34 = load double, double* %3
%35 = fadd double %24, %34
%36 = load double, double* %4
%37 = fadd double %23, %36
%38 = add nuw nsw i32 %25, 1
%39 = icmp eq i32 %38, 100
br i1 %39, label %40, label %22
40: ; preds = %32
%41 = call i32 @fclose(i32* %11)
%42 = call i32* @fopen(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%43 = icmp eq i32* %42, null
br i1 %43, label %44, label %50
44: ; preds = %40
%45 = call i32* @fopen(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%46 = icmp eq i32* %45, null
br i1 %46, label %47, label %50
47: ; preds = %44
%48 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @str.16, i64 0, i64 0))
%49 = call i32 @exit(i32 0)
unreachable
50: ; preds = %44, %40
%51 = phi i32* [ %42, %40 ], [ %45, %44 ]
%52 = bitcast double* %5 to i8*
%53 = bitcast double* %6 to i8*
br label %54
54: ; preds = %50, %64
%55 = phi double [ 0.000000e+00, %50 ], [ %69, %64 ]
%56 = phi double [ 0.000000e+00, %50 ], [ %67, %64 ]
%57 = phi i32 [ 0, %50 ], [ %70, %64 ]
%58 = call i64 @feof(i32* %51)
%59 = icmp eq i64 %58, 0
br i1 %59, label %64, label %60
60: ; preds = %54
%61 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([41 x i8], [41 x i8]* @.str.5, i64 0, i64 0), i32 %57)
%62 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([49 x i8], [49 x i8]* @str.20, i64 0, i64 0))
%63 = call i32 @exit(i32 0)
unreachable
64: ; preds = %54
%65 = call i32 @fscanf(i32* %51, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.7, i64 0, i64 0), i8* %18, i8* %19, double* %5, double* %6)
%66 = load double, double* %5
%67 = fadd double %56, %66
%68 = load double, double* %6
%69 = fadd double %55, %68
%70 = add nuw nsw i32 %57, 1
%71 = icmp eq i32 %70, 100
br i1 %71, label %72, label %54
72: ; preds = %64
%73 = call i32* @fopen(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%74 = icmp eq i32* %73, null
br i1 %74, label %75, label %81
75: ; preds = %72
%76 = call i32* @fopen(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%77 = icmp eq i32* %76, null
br i1 %77, label %78, label %81
78: ; preds = %75
%79 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @str.16, i64 0, i64 0))
%80 = call i32 @exit(i32 0)
unreachable
81: ; preds = %75, %72
%82 = phi i32* [ %73, %72 ], [ %76, %75 ]
%83 = bitcast double* %7 to i8*
%84 = bitcast double* %8 to i8*
br label %85
85: ; preds = %81, %95
%86 = phi double [ 0.000000e+00, %81 ], [ %100, %95 ]
%87 = phi double [ 0.000000e+00, %81 ], [ %98, %95 ]
%88 = phi i32 [ 0, %81 ], [ %101, %95 ]
%89 = call i64 @feof(i32* %82)
%90 = icmp eq i64 %89, 0
br i1 %90, label %95, label %91
91: ; preds = %85
%92 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([41 x i8], [41 x i8]* @.str.5, i64 0, i64 0), i32 %88)
%93 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([49 x i8], [49 x i8]* @str.20, i64 0, i64 0))
%94 = call i32 @exit(i32 0)
unreachable
95: ; preds = %85
%96 = call i32 @fscanf(i32* %82, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.7, i64 0, i64 0), i8* %18, i8* %19, double* %7, double* %8)
%97 = load double, double* %7
%98 = fadd double %87, %97
%99 = load double, double* %8
%100 = fadd double %86, %99
%101 = add nuw nsw i32 %88, 1
%102 = icmp eq i32 %101, 100
br i1 %102, label %103, label %85
103: ; preds = %95
%104 = call i32* @fopen(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%105 = icmp eq i32* %104, null
br i1 %105, label %106, label %112
106: ; preds = %103
%107 = call i32* @fopen(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%108 = icmp eq i32* %107, null
br i1 %108, label %109, label %112
109: ; preds = %106
%110 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @str.16, i64 0, i64 0))
%111 = call i32 @exit(i32 0)
unreachable
112: ; preds = %106, %103
%113 = phi i32* [ %104, %103 ], [ %107, %106 ]
%114 = bitcast double* %9 to i8*
%115 = bitcast double* %10 to i8*
br label %116
116: ; preds = %112, %126
%117 = phi double [ 0.000000e+00, %112 ], [ %131, %126 ]
%118 = phi double [ 0.000000e+00, %112 ], [ %129, %126 ]
%119 = phi i32 [ 0, %112 ], [ %132, %126 ]
%120 = call i64 @feof(i32* %113)
%121 = icmp eq i64 %120, 0
br i1 %121, label %126, label %122
122: ; preds = %116
%123 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([41 x i8], [41 x i8]* @.str.5, i64 0, i64 0), i32 %119)
%124 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([49 x i8], [49 x i8]* @str.20, i64 0, i64 0))
%125 = call i32 @exit(i32 0)
unreachable
126: ; preds = %116
%127 = call i32 @fscanf(i32* %113, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.7, i64 0, i64 0), i8* %18, i8* %19, double* %9, double* %10)
%128 = load double, double* %9
%129 = fadd double %118, %128
%130 = load double, double* %10
%131 = fadd double %117, %130
%132 = add nuw nsw i32 %119, 1
%133 = icmp eq i32 %132, 100
br i1 %133, label %134, label %116
134: ; preds = %126
%135 = fdiv double %35, 1.000000e+02
%136 = fdiv double %67, 1.000000e+02
%137 = fdiv double %98, 1.000000e+02
%138 = fdiv double %129, 1.000000e+02
%139 = call i32 @fprintf(i32* %12, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.12, i64 0, i64 0), double %135, double %136, double %137, double %138)
%140 = fdiv double %37, 1.000000e+02
%141 = fdiv double %69, 1.000000e+02
%142 = fdiv double %100, 1.000000e+02
%143 = fdiv double %131, 1.000000e+02
%144 = call i32 @fprintf(i32* %12, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.13, i64 0, i64 0), double %140, double %141, double %142, double %143)
%145 = call i32 @fclose(i32* %12)
%146 = call i32 @fclose(i32* %113)
ret i32 0
}