#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 */

/* Variables and functions */
scalar_t__ calloc(int, int);
int read_formatted(char *, char *, int *, int *, int *, int *, int ***,
                   double **, double **, double **, double **, double **,
                   double **, double **, double **);
int initialization(char *file_in, char *file_format, int *nintci, int *nintcf,
                   int *nextci, int *nextcf, int ***lcc, double **bs,
                   double **be, double **bn, double **bw, double **bl,
                   double **bh, double **bp, double **su, double **var,
                   double **cgup, double **oc, double **cnorm) {
  int i = 0;
  int f_status = read_formatted(file_in, file_format, &*nintci, &*nintcf,
                                &*nextci, &*nextcf, &*lcc, &*bs, &*be, &*bn,
                                &*bw, &*bl, &*bh, &*bp, &*su);
  if (f_status != 0)
    return f_status;
  *var = (double *)calloc((*nextcf + 1), sizeof(double));
  *cgup = (double *)calloc((*nextcf + 1), sizeof(double));
  *cnorm = (double *)calloc((*nintcf + 1), sizeof(double));
  for (i = 0; i <= 10; i++) {
    (*cnorm)[i] = 1.0;
  }
  for (i = (*nintci); i <= (*nintcf); i++) {
    (*var)[i] = 0.0;
  }
  for (i = (*nintci); i <= (*nintcf); i++) {
    (*cgup)[i] = 1.0 / ((*bp)[i]);
  }
  for (i = (*nextci); i <= (*nextcf); i++) {
    (*var)[i] = 0.0;
    (*cgup)[i] = 0.0;
    (*bs)[i] = 0.0;
    (*be)[i] = 0.0;
    (*bn)[i] = 0.0;
    (*bw)[i] = 0.0;
    (*bh)[i] = 0.0;
    (*bl)[i] = 0.0;
  }
  return 0;
}


x86 assembly (clang, -O0):
<initialization>:
push   %rbp
mov    %rsp,%rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x98,%rsp
mov    0x70(%rbp),%rax
mov    0x68(%rbp),%rax
mov    0x60(%rbp),%rax
mov    0x58(%rbp),%rax
mov    0x50(%rbp),%rax
mov    0x48(%rbp),%rax
mov    0x40(%rbp),%rax
mov    0x38(%rbp),%rax
mov    0x30(%rbp),%rax
mov    0x28(%rbp),%rax
mov    0x20(%rbp),%rax
mov    0x18(%rbp),%rax
mov    0x10(%rbp),%rax
mov    %rdi,-0x38(%rbp)
mov    %rsi,-0x40(%rbp)
mov    %rdx,-0x48(%rbp)
mov    %rcx,-0x50(%rbp)
mov    %r8,-0x58(%rbp)
mov    %r9,-0x60(%rbp)
movl   $0x0,-0x64(%rbp)
mov    -0x38(%rbp),%rdi
mov    -0x40(%rbp),%rsi
mov    -0x48(%rbp),%rdx
mov    -0x50(%rbp),%rcx
mov    -0x58(%rbp),%r8
mov    -0x60(%rbp),%r9
mov    0x10(%rbp),%rax
mov    %rax,-0x78(%rbp)
mov    0x18(%rbp),%r13
mov    0x20(%rbp),%r12
mov    0x28(%rbp),%r15
mov    0x30(%rbp),%r14
mov    0x38(%rbp),%rbx
mov    0x40(%rbp),%r11
mov    0x48(%rbp),%r10
mov    0x50(%rbp),%rax
mov    %rax,-0x70(%rbp)
mov    -0x78(%rbp),%rax
mov    %rax,(%rsp)
mov    -0x70(%rbp),%rax
mov    %r13,0x8(%rsp)
mov    %r12,0x10(%rsp)
mov    %r15,0x18(%rsp)
mov    %r14,0x20(%rsp)
mov    %rbx,0x28(%rsp)
mov    %r11,0x30(%rsp)
mov    %r10,0x38(%rsp)
mov    %rax,0x40(%rsp)
call   1040 <read_formatted@plt>
mov    %eax,-0x68(%rbp)
cmpl   $0x0,-0x68(%rbp)
je     121c <initialization+0xfc>
mov    -0x68(%rbp),%eax
mov    %eax,-0x2c(%rbp)
jmp    13f6 <initialization+0x2d6>
mov    -0x60(%rbp),%rax
mov    (%rax),%edi
add    $0x1,%edi
mov    $0x8,%esi
call   1030 <calloc@plt>
mov    %rax,%rcx
mov    0x58(%rbp),%rax
mov    %rcx,(%rax)
mov    -0x60(%rbp),%rax
mov    (%rax),%edi
add    $0x1,%edi
mov    $0x8,%esi
call   1030 <calloc@plt>
mov    %rax,%rcx
mov    0x60(%rbp),%rax
mov    %rcx,(%rax)
mov    -0x50(%rbp),%rax
mov    (%rax),%edi
add    $0x1,%edi
mov    $0x8,%esi
call   1030 <calloc@plt>
mov    %rax,%rcx
mov    0x70(%rbp),%rax
mov    %rcx,(%rax)
movl   $0x0,-0x64(%rbp)
cmpl   $0xa,-0x64(%rbp)
jg     12aa <initialization+0x18a>
mov    0x70(%rbp),%rax
mov    (%rax),%rax
movslq -0x64(%rbp),%rcx
movsd  0xd69(%rip),%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x64(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x64(%rbp)
jmp    127a <initialization+0x15a>
mov    -0x48(%rbp),%rax
mov    (%rax),%eax
mov    %eax,-0x64(%rbp)
mov    -0x64(%rbp),%eax
mov    -0x50(%rbp),%rcx
cmp    (%rcx),%eax
jg     12e3 <initialization+0x1c3>
mov    0x58(%rbp),%rax
mov    (%rax),%rax
movslq -0x64(%rbp),%rcx
xorps  %xmm0,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x64(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x64(%rbp)
jmp    12b3 <initialization+0x193>
mov    -0x48(%rbp),%rax
mov    (%rax),%eax
mov    %eax,-0x64(%rbp)
mov    -0x64(%rbp),%eax
mov    -0x50(%rbp),%rcx
cmp    (%rcx),%eax
jg     1331 <initialization+0x211>
mov    0x48(%rbp),%rax
mov    (%rax),%rax
movslq -0x64(%rbp),%rcx
movsd  0xcf2(%rip),%xmm0
divsd  (%rax,%rcx,8),%xmm0
mov    0x60(%rbp),%rax
mov    (%rax),%rax
movslq -0x64(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x64(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x64(%rbp)
jmp    12ec <initialization+0x1cc>
mov    -0x58(%rbp),%rax
mov    (%rax),%eax
mov    %eax,-0x64(%rbp)
mov    -0x64(%rbp),%eax
mov    -0x60(%rbp),%rcx
cmp    (%rcx),%eax
jg     13ef <initialization+0x2cf>
mov    0x58(%rbp),%rax
mov    (%rax),%rax
movslq -0x64(%rbp),%rcx
xorps  %xmm0,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    0x60(%rbp),%rax
mov    (%rax),%rax
movslq -0x64(%rbp),%rcx
xorps  %xmm0,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    0x18(%rbp),%rax
mov    (%rax),%rax
movslq -0x64(%rbp),%rcx
xorps  %xmm0,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    0x20(%rbp),%rax
mov    (%rax),%rax
movslq -0x64(%rbp),%rcx
xorps  %xmm0,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    0x28(%rbp),%rax
mov    (%rax),%rax
movslq -0x64(%rbp),%rcx
xorps  %xmm0,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    0x30(%rbp),%rax
mov    (%rax),%rax
movslq -0x64(%rbp),%rcx
xorps  %xmm0,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    0x40(%rbp),%rax
mov    (%rax),%rax
movslq -0x64(%rbp),%rcx
xorps  %xmm0,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    0x38(%rbp),%rax
mov    (%rax),%rax
movslq -0x64(%rbp),%rcx
xorps  %xmm0,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x64(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x64(%rbp)
jmp    133a <initialization+0x21a>
movl   $0x0,-0x2c(%rbp)
mov    -0x2c(%rbp),%eax
add    $0x98,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

x86 assembly (clang, -O2):
<initialization>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
mov    %r9,%r15
mov    %r8,%r14
mov    %rcx,%rbx
mov    %rdx,%r12
sub    $0x8,%rsp
push   0x88(%rsp)
push   0x88(%rsp)
push   0x88(%rsp)
push   0x88(%rsp)
push   0x88(%rsp)
push   0x88(%rsp)
push   0x88(%rsp)
push   0x88(%rsp)
push   0x88(%rsp)
call   1050 <read_formatted@plt>
add    $0x50,%rsp
test   %eax,%eax
jne    1479 <initialization+0x349>
mov    0x90(%rsp),%rbp
mov    0x88(%rsp),%r13
mov    (%r15),%edi
add    $0x1,%edi
mov    $0x8,%esi
call   1040 <calloc@plt>
mov    %rax,0x0(%r13)
mov    (%r15),%edi
add    $0x1,%edi
mov    $0x8,%esi
call   1040 <calloc@plt>
mov    %rax,0x0(%rbp)
mov    (%rbx),%edi
add    $0x1,%edi
mov    $0x8,%esi
call   1040 <calloc@plt>
mov    0xa0(%rsp),%rcx
mov    %rax,(%rcx)
movapd 0xe0b(%rip),%xmm0
movupd %xmm0,(%rax)
movupd %xmm0,0x10(%rax)
movupd %xmm0,0x20(%rax)
movupd %xmm0,0x30(%rax)
movupd %xmm0,0x40(%rax)
movabs $0x3ff0000000000000,%rcx
mov    %rcx,0x50(%rax)
movslq (%r12),%rbp
mov    (%rbx),%r12d
cmp    %ebp,%r12d
jl     13a6 <initialization+0x276>
lea    0x0(,%rbp,8),%rdi
mov    0x88(%rsp),%rax
add    (%rax),%rdi
mov    %r12d,%eax
sub    %ebp,%eax
lea    0x8(,%rax,8),%rdx
xor    %esi,%esi
call   1030 <memset@plt>
mov    0x78(%rsp),%rax
mov    (%rax),%rax
mov    0x90(%rsp),%rcx
mov    (%rcx),%rcx
mov    %r12d,%r10d
sub    %ebp,%r10d
je     133f <initialization+0x20f>
lea    (%rcx,%rbp,8),%rsi
mov    %r12d,%edx
sub    %ebp,%edx
add    %rbp,%rdx
lea    (%rax,%rdx,8),%rdi
add    $0x8,%rdi
cmp    %rdi,%rsi
jae    129f <initialization+0x16f>
lea    (%rcx,%rdx,8),%rdx
add    $0x8,%rdx
lea    (%rax,%rbp,8),%rsi
cmp    %rdx,%rsi
jb     133f <initialization+0x20f>
add    $0x1,%r10
mov    %r10,%r8
and    $0xfffffffffffffffe,%r8
lea    -0x2(%r8),%rdx
mov    %rdx,%r9
shr    %r9
add    $0x1,%r9
test   %rdx,%rdx
je     1488 <initialization+0x358>
mov    %r9,%rdi
and    $0xfffffffffffffffe,%rdi
lea    (%rcx,%rbp,8),%rdx
add    $0x10,%rdx
lea    (%rax,%rbp,8),%rbx
add    $0x10,%rbx
xor    %esi,%esi
movapd 0xd1e(%rip),%xmm2
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
movupd -0x10(%rbx,%rsi,8),%xmm0
movapd %xmm2,%xmm1
divpd  %xmm0,%xmm1
movupd %xmm1,-0x10(%rdx,%rsi,8)
movupd (%rbx,%rsi,8),%xmm0
movapd %xmm2,%xmm1
divpd  %xmm0,%xmm1
movupd %xmm1,(%rdx,%rsi,8)
add    $0x4,%rsi
add    $0xfffffffffffffffe,%rdi
jne    12f0 <initialization+0x1c0>
test   $0x1,%r9b
je     1337 <initialization+0x207>
add    %rbp,%rsi
movupd (%rax,%rsi,8),%xmm0
divpd  %xmm0,%xmm2
movupd %xmm2,(%rcx,%rsi,8)
cmp    %r8,%r10
je     13a6 <initialization+0x276>
add    %r8,%rbp
lea    0x1(%r12),%esi
mov    %esi,%edx
sub    %ebp,%edx
test   $0x1,%dl
jne    1357 <initialization+0x227>
mov    %rbp,%rdx
cmp    %ebp,%r12d
jne    1375 <initialization+0x245>
jmp    13a6 <initialization+0x276>
movsd  0xcb1(%rip),%xmm0
divsd  (%rax,%rbp,8),%xmm0
movsd  %xmm0,(%rcx,%rbp,8)
mov    %rbp,%rdx
add    $0x1,%rdx
cmp    %ebp,%r12d
je     13a6 <initialization+0x276>
mov    %esi,%esi
movsd  0xc91(%rip),%xmm0
nop
movapd %xmm0,%xmm1
divsd  (%rax,%rdx,8),%xmm1
movsd  %xmm1,(%rcx,%rdx,8)
movapd %xmm0,%xmm1
divsd  0x8(%rax,%rdx,8),%xmm1
movsd  %xmm1,0x8(%rcx,%rdx,8)
add    $0x2,%rdx
cmp    %edx,%esi
jne    1380 <initialization+0x250>
movslq (%r14),%r8
mov    (%r15),%r10d
xor    %eax,%eax
cmp    %r10d,%r8d
mov    0x68(%rsp),%rbp
jg     1479 <initialization+0x349>
mov    %r8,%rdx
shl    $0x3,%rdx
mov    0x88(%rsp),%rax
mov    (%rax),%r9
add    %rdx,%r9
mov    0x90(%rsp),%rax
mov    (%rax),%r11
add    %rdx,%r11
mov    0x48(%rsp),%rax
mov    (%rax),%r14
add    %rdx,%r14
mov    0x50(%rsp),%rax
mov    (%rax),%rbx
add    %rdx,%rbx
mov    0x58(%rsp),%rax
mov    (%rax),%rsi
add    %rdx,%rsi
mov    0x60(%rsp),%rax
mov    (%rax),%rcx
add    %rdx,%rcx
mov    0x70(%rsp),%rax
mov    (%rax),%rdi
add    %rdx,%rdi
add    0x0(%rbp),%rdx
sub    %r8d,%r10d
add    $0x1,%r10d
xor    %eax,%eax
xor    %ebp,%ebp
cs nopw 0x0(%rax,%rax,1)
nop
movq   $0x0,(%r9,%rbp,8)
movq   $0x0,(%r11,%rbp,8)
movq   $0x0,(%r14,%rbp,8)
movq   $0x0,(%rbx,%rbp,8)
movq   $0x0,(%rsi,%rbp,8)
movq   $0x0,(%rcx,%rbp,8)
movq   $0x0,(%rdi,%rbp,8)
movq   $0x0,(%rdx,%rbp,8)
add    $0x1,%rbp
cmp    %ebp,%r10d
jne    1430 <initialization+0x300>
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
xor    %esi,%esi
movapd 0xb6e(%rip),%xmm2
test   $0x1,%r9b
jne    1326 <initialization+0x1f6>
jmp    1337 <initialization+0x207>

LLVM IR (-O0):
define i32 @initialization(i8* %0, i8* %1, i32* %2, i32* %3, i32* %4, i32* %5, i32*** %6, double** %7, double** %8, double** %9, double** %10, double** %11, double** %12, double** %13, double** %14, double** %15, double** %16, double** %17, double** %18) {
%20 = alloca i32
%21 = alloca i8*
%22 = alloca i8*
%23 = alloca i32*
%24 = alloca i32*
%25 = alloca i32*
%26 = alloca i32*
%27 = alloca i32***
%28 = alloca double**
%29 = alloca double**
%30 = alloca double**
%31 = alloca double**
%32 = alloca double**
%33 = alloca double**
%34 = alloca double**
%35 = alloca double**
%36 = alloca double**
%37 = alloca double**
%38 = alloca double**
%39 = alloca double**
%40 = alloca i32
%41 = alloca i32
store i8* %0, i8** %21
store i8* %1, i8** %22
store i32* %2, i32** %23
store i32* %3, i32** %24
store i32* %4, i32** %25
store i32* %5, i32** %26
store i32*** %6, i32**** %27
store double** %7, double*** %28
store double** %8, double*** %29
store double** %9, double*** %30
store double** %10, double*** %31
store double** %11, double*** %32
store double** %12, double*** %33
store double** %13, double*** %34
store double** %14, double*** %35
store double** %15, double*** %36
store double** %16, double*** %37
store double** %17, double*** %38
store double** %18, double*** %39
store i32 0, i32* %40
%42 = load i8*, i8** %21
%43 = load i8*, i8** %22
%44 = load i32*, i32** %23
%45 = load i32*, i32** %24
%46 = load i32*, i32** %25
%47 = load i32*, i32** %26
%48 = load i32***, i32**** %27
%49 = load double**, double*** %28
%50 = load double**, double*** %29
%51 = load double**, double*** %30
%52 = load double**, double*** %31
%53 = load double**, double*** %32
%54 = load double**, double*** %33
%55 = load double**, double*** %34
%56 = load double**, double*** %35
%57 = call i32 @read_formatted(i8* %42, i8* %43, i32* %44, i32* %45, i32* %46, i32* %47, i32*** %48, double** %49, double** %50, double** %51, double** %52, double** %53, double** %54, double** %55, double** %56)
store i32 %57, i32* %41
%58 = load i32, i32* %41
%59 = icmp ne i32 %58, 0
br i1 %59, label %60, label %62
60: ; preds = %19
%61 = load i32, i32* %41
store i32 %61, i32* %20
br label %187
62: ; preds = %19
%63 = load i32*, i32** %26
%64 = load i32, i32* %63
%65 = add nsw i32 %64, 1
%66 = call i64 @calloc(i32 %65, i32 8)
%67 = inttoptr i64 %66 to double*
%68 = load double**, double*** %36
store double* %67, double** %68
%69 = load i32*, i32** %26
%70 = load i32, i32* %69
%71 = add nsw i32 %70, 1
%72 = call i64 @calloc(i32 %71, i32 8)
%73 = inttoptr i64 %72 to double*
%74 = load double**, double*** %37
store double* %73, double** %74
%75 = load i32*, i32** %24
%76 = load i32, i32* %75
%77 = add nsw i32 %76, 1
%78 = call i64 @calloc(i32 %77, i32 8)
%79 = inttoptr i64 %78 to double*
%80 = load double**, double*** %39
store double* %79, double** %80
store i32 0, i32* %40
br label %81
81: ; preds = %90, %62
%82 = load i32, i32* %40
%83 = icmp sle i32 %82, 10
br i1 %83, label %84, label %93
84: ; preds = %81
%85 = load double**, double*** %39
%86 = load double*, double** %85
%87 = load i32, i32* %40
%88 = sext i32 %87 to i64
%89 = getelementptr inbounds double, double* %86, i64 %88
store double 1.000000e+00, double* %89
br label %90
90: ; preds = %84
%91 = load i32, i32* %40
%92 = add nsw i32 %91, 1
store i32 %92, i32* %40
br label %81
93: ; preds = %81
%94 = load i32*, i32** %23
%95 = load i32, i32* %94
store i32 %95, i32* %40
br label %96
96: ; preds = %107, %93
%97 = load i32, i32* %40
%98 = load i32*, i32** %24
%99 = load i32, i32* %98
%100 = icmp sle i32 %97, %99
br i1 %100, label %101, label %110
101: ; preds = %96
%102 = load double**, double*** %36
%103 = load double*, double** %102
%104 = load i32, i32* %40
%105 = sext i32 %104 to i64
%106 = getelementptr inbounds double, double* %103, i64 %105
store double 0.000000e+00, double* %106
br label %107
107: ; preds = %101
%108 = load i32, i32* %40
%109 = add nsw i32 %108, 1
store i32 %109, i32* %40
br label %96
110: ; preds = %96
%111 = load i32*, i32** %23
%112 = load i32, i32* %111
store i32 %112, i32* %40
br label %113
113: ; preds = %131, %110
%114 = load i32, i32* %40
%115 = load i32*, i32** %24
%116 = load i32, i32* %115
%117 = icmp sle i32 %114, %116
br i1 %117, label %118, label %134
118: ; preds = %113
%119 = load double**, double*** %34
%120 = load double*, double** %119
%121 = load i32, i32* %40
%122 = sext i32 %121 to i64
%123 = getelementptr inbounds double, double* %120, i64 %122
%124 = load double, double* %123
%125 = fdiv double 1.000000e+00, %124
%126 = load double**, double*** %37
%127 = load double*, double** %126
%128 = load i32, i32* %40
%129 = sext i32 %128 to i64
%130 = getelementptr inbounds double, double* %127, i64 %129
store double %125, double* %130
br label %131
131: ; preds = %118
%132 = load i32, i32* %40
%133 = add nsw i32 %132, 1
store i32 %133, i32* %40
br label %113
134: ; preds = %113
%135 = load i32*, i32** %25
%136 = load i32, i32* %135
store i32 %136, i32* %40
br label %137
137: ; preds = %183, %134
%138 = load i32, i32* %40
%139 = load i32*, i32** %26
%140 = load i32, i32* %139
%141 = icmp sle i32 %138, %140
br i1 %141, label %142, label %186
142: ; preds = %137
%143 = load double**, double*** %36
%144 = load double*, double** %143
%145 = load i32, i32* %40
%146 = sext i32 %145 to i64
%147 = getelementptr inbounds double, double* %144, i64 %146
store double 0.000000e+00, double* %147
%148 = load double**, double*** %37
%149 = load double*, double** %148
%150 = load i32, i32* %40
%151 = sext i32 %150 to i64
%152 = getelementptr inbounds double, double* %149, i64 %151
store double 0.000000e+00, double* %152
%153 = load double**, double*** %28
%154 = load double*, double** %153
%155 = load i32, i32* %40
%156 = sext i32 %155 to i64
%157 = getelementptr inbounds double, double* %154, i64 %156
store double 0.000000e+00, double* %157
%158 = load double**, double*** %29
%159 = load double*, double** %158
%160 = load i32, i32* %40
%161 = sext i32 %160 to i64
%162 = getelementptr inbounds double, double* %159, i64 %161
store double 0.000000e+00, double* %162
%163 = load double**, double*** %30
%164 = load double*, double** %163
%165 = load i32, i32* %40
%166 = sext i32 %165 to i64
%167 = getelementptr inbounds double, double* %164, i64 %166
store double 0.000000e+00, double* %167
%168 = load double**, double*** %31
%169 = load double*, double** %168
%170 = load i32, i32* %40
%171 = sext i32 %170 to i64
%172 = getelementptr inbounds double, double* %169, i64 %171
store double 0.000000e+00, double* %172
%173 = load double**, double*** %33
%174 = load double*, double** %173
%175 = load i32, i32* %40
%176 = sext i32 %175 to i64
%177 = getelementptr inbounds double, double* %174, i64 %176
store double 0.000000e+00, double* %177
%178 = load double**, double*** %32
%179 = load double*, double** %178
%180 = load i32, i32* %40
%181 = sext i32 %180 to i64
%182 = getelementptr inbounds double, double* %179, i64 %181
store double 0.000000e+00, double* %182
br label %183
183: ; preds = %142
%184 = load i32, i32* %40
%185 = add nsw i32 %184, 1
store i32 %185, i32* %40
br label %137
186: ; preds = %137
store i32 0, i32* %20
br label %187
187: ; preds = %186, %60
%188 = load i32, i32* %20
ret i32 %188
}

LLVM IR (-O2):
define i32 @initialization(i8* %0, i8* %1, i32* %2, i32* %3, i32* %4, i32* %5, i32*** %6, double** %7, double** %8, double** %9, double** %10, double** %11, double** %12, double** %13, double** %14, double** nocapture %15, double** nocapture %16, double** nocapture readnone %17, double** nocapture %18) {
%20 = tail call i32 @read_formatted(i8* %0, i8* %1, i32* %2, i32* %3, i32* %4, i32* %5, i32*** %6, double** %7, double** %8, double** %9, double** %10, double** %11, double** %12, double** %13, double** %14)
%21 = icmp eq i32 %20, 0
br i1 %21, label %22, label %179
22: ; preds = %19
%23 = load i32, i32* %5
%24 = add nsw i32 %23, 1
%25 = tail call i64 @calloc(i32 %24, i32 8)
%26 = inttoptr i64 %25 to double*
store double* %26, double** %15
%27 = load i32, i32* %5
%28 = add nsw i32 %27, 1
%29 = tail call i64 @calloc(i32 %28, i32 8)
%30 = inttoptr i64 %29 to double*
store double* %30, double** %16
%31 = load i32, i32* %3
%32 = add nsw i32 %31, 1
%33 = tail call i64 @calloc(i32 %32, i32 8)
%34 = inttoptr i64 %33 to double*
store double* %34, double** %18
%35 = inttoptr i64 %33 to <2 x double>*
store <2 x double> <double 1.000000e+00, double 1.000000e+00>, <2 x double>* %35
%36 = getelementptr inbounds double, double* %34, i64 2
%37 = bitcast double* %36 to <2 x double>*
store <2 x double> <double 1.000000e+00, double 1.000000e+00>, <2 x double>* %37
%38 = getelementptr inbounds double, double* %34, i64 4
%39 = bitcast double* %38 to <2 x double>*
store <2 x double> <double 1.000000e+00, double 1.000000e+00>, <2 x double>* %39
%40 = getelementptr inbounds double, double* %34, i64 6
%41 = bitcast double* %40 to <2 x double>*
store <2 x double> <double 1.000000e+00, double 1.000000e+00>, <2 x double>* %41
%42 = getelementptr inbounds double, double* %34, i64 8
%43 = bitcast double* %42 to <2 x double>*
store <2 x double> <double 1.000000e+00, double 1.000000e+00>, <2 x double>* %43
%44 = getelementptr inbounds double, double* %34, i64 10
store double 1.000000e+00, double* %44
%45 = load i32, i32* %2
%46 = load i32, i32* %3
%47 = icmp slt i32 %46, %45
br i1 %47, label %151, label %48
48: ; preds = %22
%49 = load double*, double** %15
%50 = sext i32 %45 to i64
%51 = getelementptr double, double* %49, i64 %50
%52 = bitcast double* %51 to i8*
%53 = sub i32 %46, %45
%54 = zext i32 %53 to i64
%55 = shl nuw nsw i64 %54, 3
%56 = add nuw nsw i64 %55, 8
%57 = load double*, double** %13
%58 = load double*, double** %16
%59 = sext i32 %45 to i64
%60 = add i32 %46, 1
%61 = sub i32 %46, %45
%62 = zext i32 %61 to i64
%63 = add nuw nsw i64 %62, 1
%64 = icmp eq i32 %61, 0
br i1 %64, label %121, label %65
65: ; preds = %48
%66 = getelementptr double, double* %58, i64 %59
%67 = sub i32 %46, %45
%68 = zext i32 %67 to i64
%69 = add nsw i64 %59, %68
%70 = add nsw i64 %69, 1
%71 = getelementptr double, double* %58, i64 %70
%72 = getelementptr double, double* %57, i64 %59
%73 = getelementptr double, double* %57, i64 %70
%74 = icmp ult double* %66, %73
%75 = icmp ult double* %72, %71
%76 = and i1 %74, %75
br i1 %76, label %121, label %77
77: ; preds = %65
%78 = and i64 %63, 8589934590
%79 = add nsw i64 %78, %59
%80 = add nsw i64 %78, -2
%81 = lshr exact i64 %80, 1
%82 = add nuw i64 %81, 1
%83 = and i64 %82, 1
%84 = icmp eq i64 %80, 0
br i1 %84, label %108, label %85
85: ; preds = %77
%86 = and i64 %82, -2
br label %87
87: ; preds = %87, %85
%88 = phi i64 [ 0, %85 ], [ %105, %87 ]
%89 = phi i64 [ 0, %85 ], [ %106, %87 ]
%90 = add i64 %88, %59
%91 = getelementptr inbounds double, double* %57, i64 %90
%92 = bitcast double* %91 to <2 x double>*
%93 = load <2 x double>, <2 x double>* %92
%94 = fdiv <2 x double> <double 1.000000e+00, double 1.000000e+00>, %93
%95 = getelementptr inbounds double, double* %58, i64 %90
%96 = bitcast double* %95 to <2 x double>*
store <2 x double> %94, <2 x double>* %96
%97 = or i64 %88, 2
%98 = add i64 %97, %59
%99 = getelementptr inbounds double, double* %57, i64 %98
%100 = bitcast double* %99 to <2 x double>*
%101 = load <2 x double>, <2 x double>* %100
%102 = fdiv <2 x double> <double 1.000000e+00, double 1.000000e+00>, %101
%103 = getelementptr inbounds double, double* %58, i64 %98
%104 = bitcast double* %103 to <2 x double>*
store <2 x double> %102, <2 x double>* %104
%105 = add nuw i64 %88, 4
%106 = add nuw i64 %89, 2
%107 = icmp eq i64 %106, %86
br i1 %107, label %108, label %87
108: ; preds = %87, %77
%109 = phi i64 [ 0, %77 ], [ %105, %87 ]
%110 = icmp eq i64 %83, 0
br i1 %110, label %119, label %111
111: ; preds = %108
%112 = add i64 %109, %59
%113 = getelementptr inbounds double, double* %57, i64 %112
%114 = bitcast double* %113 to <2 x double>*
%115 = load <2 x double>, <2 x double>* %114
%116 = fdiv <2 x double> <double 1.000000e+00, double 1.000000e+00>, %115
%117 = getelementptr inbounds double, double* %58, i64 %112
%118 = bitcast double* %117 to <2 x double>*
store <2 x double> %116, <2 x double>* %118
br label %119
119: ; preds = %108, %111
%120 = icmp eq i64 %63, %78
br i1 %120, label %151, label %121
121: ; preds = %65, %48, %119
%122 = phi i64 [ %59, %65 ], [ %59, %48 ], [ %79, %119 ]
%123 = add i32 %46, 1
%124 = trunc i64 %122 to i32
%125 = sub i32 %123, %124
%126 = and i32 %125, 1
%127 = icmp eq i32 %126, 0
br i1 %127, label %134, label %128
128: ; preds = %121
%129 = getelementptr inbounds double, double* %57, i64 %122
%130 = load double, double* %129
%131 = fdiv double 1.000000e+00, %130
%132 = getelementptr inbounds double, double* %58, i64 %122
store double %131, double* %132
%133 = add nsw i64 %122, 1
br label %134
134: ; preds = %128, %121
%135 = phi i64 [ %122, %121 ], [ %133, %128 ]
%136 = icmp eq i32 %46, %124
br i1 %136, label %151, label %137
137: ; preds = %134, %137
%138 = phi i64 [ %148, %137 ], [ %135, %134 ]
%139 = getelementptr inbounds double, double* %57, i64 %138
%140 = load double, double* %139
%141 = fdiv double 1.000000e+00, %140
%142 = getelementptr inbounds double, double* %58, i64 %138
store double %141, double* %142
%143 = add nsw i64 %138, 1
%144 = getelementptr inbounds double, double* %57, i64 %143
%145 = load double, double* %144
%146 = fdiv double 1.000000e+00, %145
%147 = getelementptr inbounds double, double* %58, i64 %143
store double %146, double* %147
%148 = add nsw i64 %138, 2
%149 = trunc i64 %148 to i32
%150 = icmp eq i32 %60, %149
br i1 %150, label %151, label %137
151: ; preds = %134, %137, %119, %22
%152 = load i32, i32* %4
%153 = load i32, i32* %5
%154 = icmp sgt i32 %152, %153
br i1 %154, label %179, label %155
155: ; preds = %151
%156 = load double*, double** %15
%157 = load double*, double** %16
%158 = load double*, double** %7
%159 = load double*, double** %8
%160 = load double*, double** %9
%161 = load double*, double** %10
%162 = load double*, double** %12
%163 = load double*, double** %11
%164 = sext i32 %152 to i64
%165 = add i32 %153, 1
br label %166
166: ; preds = %155, %166
%167 = phi i64 [ %164, %155 ], [ %176, %166 ]
%168 = getelementptr inbounds double, double* %156, i64 %167
store double 0.000000e+00, double* %168
%169 = getelementptr inbounds double, double* %157, i64 %167
store double 0.000000e+00, double* %169
%170 = getelementptr inbounds double, double* %158, i64 %167
store double 0.000000e+00, double* %170
%171 = getelementptr inbounds double, double* %159, i64 %167
store double 0.000000e+00, double* %171
%172 = getelementptr inbounds double, double* %160, i64 %167
store double 0.000000e+00, double* %172
%173 = getelementptr inbounds double, double* %161, i64 %167
store double 0.000000e+00, double* %173
%174 = getelementptr inbounds double, double* %162, i64 %167
store double 0.000000e+00, double* %174
%175 = getelementptr inbounds double, double* %163, i64 %167
store double 0.000000e+00, double* %175
%176 = add nsw i64 %167, 1
%177 = trunc i64 %176 to i32
%178 = icmp eq i32 %165, %177
br i1 %178, label %179, label %166
179: ; preds = %166, %151, %19
%180 = phi i32 [ %20, %19 ], [ 0, %151 ], [ 0, %166 ]
ret i32 %180
}