#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*/ abort();
float *calloc(int, int);
int /*<<< orphan*/ fclose(int /*<<< orphan*/ *);
int /*<<< orphan*/ *fopen(char *, char *);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *, ...);
scalar_t__ fscanf(int /*<<< orphan*/ *, char *, float *, float *, float *);
int /*<<< orphan*/ stderr;
float *setupProbs(char *fn, int maxdays, int verbose) {
  float *f = calloc(sizeof(float), maxdays);
  FILE *fp = fopen(fn, "rt");
  float a, b, c;
  if (fp) {
    if (verbose)
      fprintf(stderr, "*info* opening survival rate file '%s'\n", fn);
    while (fscanf(fp, "%f %f %f\n", &a, &b, &c) > 0) {
      if (verbose)
        fprintf(stderr, "%f %f %f\n", a, b, c);
      for (size_t i = a; i < b; i++) {
        if (i < maxdays)
          f[i] = c;
      }
    }
    for (size_t i = b; i < maxdays; i++) {
      if (i < maxdays)
        f[i] = c;
    }
    fclose(fp);
  }
  for (size_t i = 0; i < maxdays; i++) {
    if (f[i] == 0) {
      abort();
    }
  }
  if (verbose)
    fprintf(stderr, "The last day has a (yearly) survival rate of %.2lf\n",
            f[maxdays - 1]);
  return f;
}


x86 assembly (clang, -O0):
<setupProbs>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
mov    %rdi,-0x8(%rbp)
mov    %esi,-0xc(%rbp)
mov    %edx,-0x10(%rbp)
mov    -0xc(%rbp),%esi
mov    $0x4,%edi
call   1060 <calloc@plt>
mov    %rax,-0x18(%rbp)
mov    -0x8(%rbp),%rdi
lea    0xe76(%rip),%rsi
call   1080 <fopen@plt>
mov    %rax,-0x20(%rbp)
cmpq   $0x0,-0x20(%rbp)
je     136d <setupProbs+0x20d>
cmpl   $0x0,-0x10(%rbp)
je     11c7 <setupProbs+0x67>
mov    0x2e2d(%rip),%rax
mov    (%rax),%edi
mov    -0x8(%rbp),%rdx
lea    0xe47(%rip),%rsi
mov    $0x0,%al
call   1070 <fprintf@plt>
jmp    11cc <setupProbs+0x6c>
mov    -0x20(%rbp),%rdi
lea    0xe58(%rip),%rsi
lea    -0x24(%rbp),%rdx
lea    -0x28(%rbp),%rcx
lea    -0x2c(%rbp),%r8
call   1050 <fscanf@plt>
cmp    $0x0,%rax
jle    12eb <setupProbs+0x18b>
cmpl   $0x0,-0x10(%rbp)
je     122e <setupProbs+0xce>
mov    0x2ddd(%rip),%rax
mov    (%rax),%edi
movss  -0x24(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movss  -0x28(%rbp),%xmm1
cvtss2sd %xmm1,%xmm1
movss  -0x2c(%rbp),%xmm2
cvtss2sd %xmm2,%xmm2
lea    0xe08(%rip),%rsi
mov    $0x3,%al
call   1070 <fprintf@plt>
movss  -0x24(%rbp),%xmm0
movss  0xdc5(%rip),%xmm2
movaps %xmm0,%xmm1
subss  %xmm2,%xmm1
cvttss2si %xmm1,%rcx
cvttss2si %xmm0,%rax
mov    %rax,%rdx
sar    $0x3f,%rdx
and    %rdx,%rcx
or     %rcx,%rax
mov    %rax,-0x38(%rbp)
mov    -0x38(%rbp),%rax
mov    %rax,%rdx
shr    %rdx
mov    %eax,%ecx
and    $0x1,%ecx
or     %rdx,%rcx
cvtsi2ss %rcx,%xmm0
addss  %xmm0,%xmm0
cvtsi2ss %rax,%xmm1
movss  %xmm1,-0x50(%rbp)
test   %rax,%rax
movss  %xmm0,-0x4c(%rbp)
js     129a <setupProbs+0x13a>
movss  -0x50(%rbp),%xmm0
movss  %xmm0,-0x4c(%rbp)
movss  -0x4c(%rbp),%xmm1
movss  -0x28(%rbp),%xmm0
ucomiss %xmm1,%xmm0
jbe    12e6 <setupProbs+0x186>
mov    -0x38(%rbp),%rax
movslq -0xc(%rbp),%rcx
cmp    %rcx,%rax
jae    12d0 <setupProbs+0x170>
movss  -0x2c(%rbp),%xmm0
mov    -0x18(%rbp),%rax
mov    -0x38(%rbp),%rcx
movss  %xmm0,(%rax,%rcx,4)
jmp    12d5 <setupProbs+0x175>
mov    -0x38(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x38(%rbp)
jmp    125d <setupProbs+0xfd>
jmp    11cc <setupProbs+0x6c>
movss  -0x28(%rbp),%xmm0
movss  0xd08(%rip),%xmm2
movaps %xmm0,%xmm1
subss  %xmm2,%xmm1
cvttss2si %xmm1,%rcx
cvttss2si %xmm0,%rax
mov    %rax,%rdx
sar    $0x3f,%rdx
and    %rdx,%rcx
or     %rcx,%rax
mov    %rax,-0x40(%rbp)
mov    -0x40(%rbp),%rax
movslq -0xc(%rbp),%rcx
cmp    %rcx,%rax
jae    1364 <setupProbs+0x204>
mov    -0x40(%rbp),%rax
movslq -0xc(%rbp),%rcx
cmp    %rcx,%rax
jae    134e <setupProbs+0x1ee>
movss  -0x2c(%rbp),%xmm0
mov    -0x18(%rbp),%rax
mov    -0x40(%rbp),%rcx
movss  %xmm0,(%rax,%rcx,4)
jmp    1353 <setupProbs+0x1f3>
mov    -0x40(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x40(%rbp)
jmp    131a <setupProbs+0x1ba>
mov    -0x20(%rbp),%rdi
call   1040 <fclose@plt>
movq   $0x0,-0x48(%rbp)
mov    -0x48(%rbp),%rax
movslq -0xc(%rbp),%rcx
cmp    %rcx,%rax
jae    13c2 <setupProbs+0x262>
mov    -0x18(%rbp),%rax
mov    -0x48(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm0
xorps  %xmm1,%xmm1
ucomiss %xmm1,%xmm0
jne    13ac <setupProbs+0x24c>
jp     13ac <setupProbs+0x24c>
mov    $0x0,%al
call   1030 <abort@plt>
jmp    13b1 <setupProbs+0x251>
mov    -0x48(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x48(%rbp)
jmp    1375 <setupProbs+0x215>
cmpl   $0x0,-0x10(%rbp)
je     13f9 <setupProbs+0x299>
mov    0x2c0d(%rip),%rax
mov    (%rax),%edi
mov    -0x18(%rbp),%rax
mov    -0xc(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
movss  (%rax,%rcx,4),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xc47(%rip),%rsi
mov    $0x1,%al
call   1070 <fprintf@plt>
mov    -0x18(%rbp),%rax
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<setupProbs>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x18,%rsp
mov    %edx,%r15d
mov    %esi,%r14d
mov    %rdi,%rbp
mov    $0x4,%edi
call   1060 <calloc@plt>
mov    %rax,%rbx
lea    0xe79(%rip),%rsi
mov    %rbp,%rdi
call   1080 <fopen@plt>
movslq %r14d,%r13
test   %rax,%rax
je     1416 <setupProbs+0x2b6>
mov    %rax,%r12
mov    %r14d,0x14(%rsp)
mov    %r15d,%eax
test   %r15d,%r15d
je     11c9 <setupProbs+0x69>
mov    0x2e2a(%rip),%rax
mov    (%rax),%edi
lea    0xe48(%rip),%rsi
mov    %rbp,%rdx
xor    %eax,%eax
call   1070 <fprintf@plt>
lea    0xe5f(%rip),%rsi
lea    0x10(%rsp),%rdx
lea    0xc(%rsp),%rcx
lea    0x8(%rsp),%r8
mov    %r12,%rdi
call   1050 <fscanf@plt>
test   %rax,%rax
jle    130d <setupProbs+0x1ad>
lea    0xe38(%rip),%rbp
lea    0x8(%rsp),%r14
jmp    1221 <setupProbs+0xc1>
xchg   %ax,%ax
mov    %r12,%rdi
mov    %rbp,%rsi
lea    0x10(%rsp),%rdx
lea    0xc(%rsp),%rcx
mov    %r14,%r8
call   1050 <fscanf@plt>
test   %rax,%rax
jle    130d <setupProbs+0x1ad>
test   %r15d,%r15d
je     1257 <setupProbs+0xf7>
mov    0x2db3(%rip),%rax
mov    (%rax),%edi
movss  0x10(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
movss  0xc(%rsp),%xmm1
cvtss2sd %xmm1,%xmm1
movss  0x8(%rsp),%xmm2
cvtss2sd %xmm2,%xmm2
mov    %rbp,%rsi
mov    $0x3,%al
call   1070 <fprintf@plt>
movss  0x10(%rsp),%xmm0
cvttss2si %xmm0,%rcx
mov    %rcx,%rdx
subss  0xd93(%rip),%xmm0
cvttss2si %xmm0,%rax
sar    $0x3f,%rdx
and    %rdx,%rax
or     %rcx,%rax
movss  0xc(%rsp),%xmm0
js     12a0 <setupProbs+0x140>
xorps  %xmm1,%xmm1
cvtsi2ss %rax,%xmm1
ucomiss %xmm1,%xmm0
jbe    1200 <setupProbs+0xa0>
jmp    12c3 <setupProbs+0x163>
nopw   0x0(%rax,%rax,1)
mov    %rax,%rcx
shr    %rcx
mov    %eax,%edx
and    $0x1,%edx
or     %rcx,%rdx
xorps  %xmm1,%xmm1
cvtsi2ss %rdx,%xmm1
addss  %xmm1,%xmm1
ucomiss %xmm1,%xmm0
jbe    1200 <setupProbs+0xa0>
movss  0x8(%rsp),%xmm1
jmp    12e1 <setupProbs+0x181>
nopl   0x0(%rax,%rax,1)
xorps  %xmm2,%xmm2
cvtsi2ss %rax,%xmm2
ucomiss %xmm2,%xmm0
jbe    1200 <setupProbs+0xa0>
cmp    %r13,%rax
jae    12eb <setupProbs+0x18b>
movss  %xmm1,(%rbx,%rax,4)
add    $0x1,%rax
jns    12d0 <setupProbs+0x170>
mov    %rax,%rcx
shr    %rcx
mov    %eax,%edx
and    $0x1,%edx
or     %rcx,%rdx
xorps  %xmm2,%xmm2
cvtsi2ss %rdx,%xmm2
addss  %xmm2,%xmm2
jmp    12d8 <setupProbs+0x178>
movss  0xc(%rsp),%xmm0
cvttss2si %xmm0,%rcx
mov    %rcx,%rdx
subss  0xcdd(%rip),%xmm0
cvttss2si %xmm0,%rax
sar    $0x3f,%rdx
and    %rdx,%rax
or     %rcx,%rax
mov    %r13,%rcx
sub    %rax,%rcx
mov    0x14(%rsp),%r14d
jbe    140e <setupProbs+0x2ae>
movss  0x8(%rsp),%xmm0
cmp    $0x8,%rcx
jb     1400 <setupProbs+0x2a0>
mov    %rcx,%r8
and    $0xfffffffffffffff8,%r8
movaps %xmm0,%xmm1
shufps $0x0,%xmm0,%xmm1
lea    -0x8(%r8),%rdx
mov    %rdx,%rdi
shr    $0x3,%rdi
add    $0x1,%rdi
mov    %edi,%esi
and    $0x3,%esi
cmp    $0x18,%rdx
jae    137f <setupProbs+0x21f>
xor    %ebp,%ebp
jmp    13c1 <setupProbs+0x261>
and    $0xfffffffffffffffc,%rdi
lea    (%rbx,%rax,4),%rdx
add    $0x70,%rdx
xor    %ebp,%ebp
nopl   (%rax)
movups %xmm1,-0x70(%rdx,%rbp,4)
movups %xmm1,-0x60(%rdx,%rbp,4)
movups %xmm1,-0x50(%rdx,%rbp,4)
movups %xmm1,-0x40(%rdx,%rbp,4)
movups %xmm1,-0x30(%rdx,%rbp,4)
movups %xmm1,-0x20(%rdx,%rbp,4)
movups %xmm1,-0x10(%rdx,%rbp,4)
movups %xmm1,(%rdx,%rbp,4)
add    $0x20,%rbp
add    $0xfffffffffffffffc,%rdi
jne    1390 <setupProbs+0x230>
test   %rsi,%rsi
je     13f2 <setupProbs+0x292>
add    %rax,%rbp
lea    (%rbx,%rbp,4),%rdx
add    $0x10,%rdx
shl    $0x5,%rsi
xor    %edi,%edi
nopw   0x0(%rax,%rax,1)
movups %xmm1,-0x10(%rdx,%rdi,1)
movups %xmm1,(%rdx,%rdi,1)
add    $0x20,%rdi
cmp    %rdi,%rsi
jne    13e0 <setupProbs+0x280>
cmp    %r8,%rcx
je     140e <setupProbs+0x2ae>
add    %r8,%rax
nopw   0x0(%rax,%rax,1)
movss  %xmm0,(%rbx,%rax,4)
add    $0x1,%rax
cmp    %rax,%r13
jne    1400 <setupProbs+0x2a0>
mov    %r12,%rdi
call   1040 <fclose@plt>
test   %r14d,%r14d
je     1445 <setupProbs+0x2e5>
cmp    $0x2,%r13
mov    $0x1,%eax
cmovae %r13,%rax
xor    %ecx,%ecx
xorps  %xmm0,%xmm0
nopl   (%rax)
movss  (%rbx,%rcx,4),%xmm1
ucomiss %xmm0,%xmm1
jne    143c <setupProbs+0x2dc>
jnp    1480 <setupProbs+0x320>
add    $0x1,%rcx
cmp    %rcx,%rax
jne    1430 <setupProbs+0x2d0>
test   %r15d,%r15d
je     146e <setupProbs+0x30e>
mov    0x2b8f(%rip),%rax
mov    (%rax),%edi
movslq %r14d,%rax
movss  -0x4(%rbx,%rax,4),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xbd2(%rip),%rsi
mov    $0x1,%al
call   1070 <fprintf@plt>
mov    %rbx,%rax
add    $0x18,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
xor    %eax,%eax
call   1030 <abort@plt>

LLVM IR (-O0):
@.str = [3 x i8] c"rt\00"
@stderr = global i32 0
@.str.1 = [40 x i8] c"*info* opening survival rate file '%s'\0A\00"
@.str.2 = [10 x i8] c"%f %f %f\0A\00"
@.str.3 = [52 x i8] c"The last day has a (yearly) survival rate of %.2lf\0A\00"
define float* @setupProbs(i8* %0, i32 %1, i32 %2) {
%4 = alloca i8*
%5 = alloca i32
%6 = alloca i32
%7 = alloca float*
%8 = alloca i32*
%9 = alloca float
%10 = alloca float
%11 = alloca float
%12 = alloca i64
%13 = alloca i64
%14 = alloca i64
store i8* %0, i8** %4
store i32 %1, i32* %5
store i32 %2, i32* %6
%15 = load i32, i32* %5
%16 = call float* @calloc(i32 4, i32 %15)
store float* %16, float** %7
%17 = load i8*, i8** %4
%18 = call i32* @fopen(i8* %17, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0))
store i32* %18, i32** %8
%19 = load i32*, i32** %8
%20 = icmp ne i32* %19, null
br i1 %20, label %21, label %93
21: ; preds = %3
%22 = load i32, i32* %6
%23 = icmp ne i32 %22, 0
br i1 %23, label %24, label %28
24: ; preds = %21
%25 = load i32, i32* @stderr
%26 = load i8*, i8** %4
%27 = call i32 (i32, i8*, ...) @fprintf(i32 %25, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.1, i64 0, i64 0), i8* %26)
br label %28
28: ; preds = %24, %21
br label %29
29: ; preds = %67, %28
%30 = load i32*, i32** %8
%31 = call i64 @fscanf(i32* %30, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0), float* %9, float* %10, float* %11)
%32 = icmp sgt i64 %31, 0
br i1 %32, label %33, label %68
33: ; preds = %29
%34 = load i32, i32* %6
%35 = icmp ne i32 %34, 0
br i1 %35, label %36, label %45
36: ; preds = %33
%37 = load i32, i32* @stderr
%38 = load float, float* %9
%39 = fpext float %38 to double
%40 = load float, float* %10
%41 = fpext float %40 to double
%42 = load float, float* %11
%43 = fpext float %42 to double
%44 = call i32 (i32, i8*, ...) @fprintf(i32 %37, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0), double %39, double %41, double %43)
br label %45
45: ; preds = %36, %33
%46 = load float, float* %9
%47 = fptoui float %46 to i64
store i64 %47, i64* %12
br label %48
48: ; preds = %64, %45
%49 = load i64, i64* %12
%50 = uitofp i64 %49 to float
%51 = load float, float* %10
%52 = fcmp olt float %50, %51
br i1 %52, label %53, label %67
53: ; preds = %48
%54 = load i64, i64* %12
%55 = load i32, i32* %5
%56 = sext i32 %55 to i64
%57 = icmp ult i64 %54, %56
br i1 %57, label %58, label %63
58: ; preds = %53
%59 = load float, float* %11
%60 = load float*, float** %7
%61 = load i64, i64* %12
%62 = getelementptr inbounds float, float* %60, i64 %61
store float %59, float* %62
br label %63
63: ; preds = %58, %53
br label %64
64: ; preds = %63
%65 = load i64, i64* %12
%66 = add i64 %65, 1
store i64 %66, i64* %12
br label %48
67: ; preds = %48
br label %29
68: ; preds = %29
%69 = load float, float* %10
%70 = fptoui float %69 to i64
store i64 %70, i64* %13
br label %71
71: ; preds = %87, %68
%72 = load i64, i64* %13
%73 = load i32, i32* %5
%74 = sext i32 %73 to i64
%75 = icmp ult i64 %72, %74
br i1 %75, label %76, label %90
76: ; preds = %71
%77 = load i64, i64* %13
%78 = load i32, i32* %5
%79 = sext i32 %78 to i64
%80 = icmp ult i64 %77, %79
br i1 %80, label %81, label %86
81: ; preds = %76
%82 = load float, float* %11
%83 = load float*, float** %7
%84 = load i64, i64* %13
%85 = getelementptr inbounds float, float* %83, i64 %84
store float %82, float* %85
br label %86
86: ; preds = %81, %76
br label %87
87: ; preds = %86
%88 = load i64, i64* %13
%89 = add i64 %88, 1
store i64 %89, i64* %13
br label %71
90: ; preds = %71
%91 = load i32*, i32** %8
%92 = call i32 @fclose(i32* %91)
br label %93
93: ; preds = %90, %3
store i64 0, i64* %14
br label %94
94: ; preds = %108, %93
%95 = load i64, i64* %14
%96 = load i32, i32* %5
%97 = sext i32 %96 to i64
%98 = icmp ult i64 %95, %97
br i1 %98, label %99, label %111
99: ; preds = %94
%100 = load float*, float** %7
%101 = load i64, i64* %14
%102 = getelementptr inbounds float, float* %100, i64 %101
%103 = load float, float* %102
%104 = fcmp oeq float %103, 0.000000e+00
br i1 %104, label %105, label %107
105: ; preds = %99
%106 = call i32 (...) @abort()
unreachable
107: ; preds = %99
br label %108
108: ; preds = %107
%109 = load i64, i64* %14
%110 = add i64 %109, 1
store i64 %110, i64* %14
br label %94
111: ; preds = %94
%112 = load i32, i32* %6
%113 = icmp ne i32 %112, 0
br i1 %113, label %114, label %124
114: ; preds = %111
%115 = load i32, i32* @stderr
%116 = load float*, float** %7
%117 = load i32, i32* %5
%118 = sub nsw i32 %117, 1
%119 = sext i32 %118 to i64
%120 = getelementptr inbounds float, float* %116, i64 %119
%121 = load float, float* %120
%122 = fpext float %121 to double
%123 = call i32 (i32, i8*, ...) @fprintf(i32 %115, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.3, i64 0, i64 0), double %122)
br label %124
124: ; preds = %114, %111
%125 = load float*, float** %7
ret float* %125
}

LLVM IR (-O2):
@.str = [3 x i8] c"rt\00"
@stderr = global i32 0
@.str.1 = [40 x i8] c"*info* opening survival rate file '%s'\0A\00"
@.str.2 = [10 x i8] c"%f %f %f\0A\00"
@.str.3 = [52 x i8] c"The last day has a (yearly) survival rate of %.2lf\0A\00"
define noalias float* @setupProbs(i8* %0, i32 %1, i32 %2) {
%4 = alloca float
%5 = alloca float
%6 = alloca float
%7 = tail call float* @calloc(i32 4, i32 %1)
%8 = tail call i32* @fopen(i8* %0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0))
%9 = bitcast float* %4 to i8*
%10 = bitcast float* %5 to i8*
%11 = bitcast float* %6 to i8*
%12 = icmp eq i32* %8, null
br i1 %12, label %13, label %15
13: ; preds = %3
%14 = sext i32 %1 to i64
br label %130
15: ; preds = %3
%16 = icmp eq i32 %2, 0
br i1 %16, label %20, label %17
17: ; preds = %15
%18 = load i32, i32* @stderr
%19 = tail call i32 (i32, i8*, ...) @fprintf(i32 %18, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.1, i64 0, i64 0), i8* %0)
br label %20
20: ; preds = %17, %15
%21 = call i64 @fscanf(i32* %8, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0), float* %4, float* %5, float* %6)
%22 = icmp sgt i64 %21, 0
%23 = sext i32 %1 to i64
br i1 %22, label %27, label %54
24: ; preds = %50, %37
%25 = call i64 @fscanf(i32* %8, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0), float* %4, float* %5, float* %6)
%26 = icmp sgt i64 %25, 0
br i1 %26, label %27, label %54
27: ; preds = %20, %24
br i1 %16, label %37, label %28
28: ; preds = %27
%29 = load i32, i32* @stderr
%30 = load float, float* %4
%31 = fpext float %30 to double
%32 = load float, float* %5
%33 = fpext float %32 to double
%34 = load float, float* %6
%35 = fpext float %34 to double
%36 = call i32 (i32, i8*, ...) @fprintf(i32 %29, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0), double %31, double %33, double %35)
br label %37
37: ; preds = %28, %27
%38 = load float, float* %4
%39 = fptoui float %38 to i64
%40 = load float, float* %5
%41 = uitofp i64 %39 to float
%42 = fcmp ogt float %40, %41
br i1 %42, label %43, label %24
43: ; preds = %37
%44 = load float, float* %6
br label %45
45: ; preds = %43, %50
%46 = phi i64 [ %39, %43 ], [ %51, %50 ]
%47 = icmp ult i64 %46, %23
br i1 %47, label %48, label %50
48: ; preds = %45
%49 = getelementptr inbounds float, float* %7, i64 %46
store float %44, float* %49
br label %50
50: ; preds = %45, %48
%51 = add i64 %46, 1
%52 = uitofp i64 %51 to float
%53 = fcmp ogt float %40, %52
br i1 %53, label %45, label %24
54: ; preds = %24, %20
%55 = load float, float* %5
%56 = fptoui float %55 to i64
%57 = icmp ugt i64 %23, %56
br i1 %57, label %58, label %123
58: ; preds = %54
%59 = load float, float* %6
%60 = sub i64 %23, %56
%61 = icmp ult i64 %60, 8
br i1 %61, label %121, label %62
62: ; preds = %58
%63 = and i64 %60, -8
%64 = add i64 %63, %56
%65 = insertelement <4 x float> poison, float %59, i64 0
%66 = shufflevector <4 x float> %65, <4 x float> poison, <4 x i32> zeroinitializer
%67 = insertelement <4 x float> poison, float %59, i64 0
%68 = shufflevector <4 x float> %67, <4 x float> poison, <4 x i32> zeroinitializer
%69 = add i64 %63, -8
%70 = lshr exact i64 %69, 3
%71 = add nuw nsw i64 %70, 1
%72 = and i64 %71, 3
%73 = icmp ult i64 %69, 24
br i1 %73, label %105, label %74
74: ; preds = %62
%75 = and i64 %71, 4611686018427387900
br label %76
76: ; preds = %76, %74
%77 = phi i64 [ 0, %74 ], [ %102, %76 ]
%78 = phi i64 [ 0, %74 ], [ %103, %76 ]
%79 = add i64 %77, %56
%80 = getelementptr inbounds float, float* %7, i64 %79
%81 = bitcast float* %80 to <4 x float>*
store <4 x float> %66, <4 x float>* %81
%82 = getelementptr inbounds float, float* %80, i64 4
%83 = bitcast float* %82 to <4 x float>*
store <4 x float> %68, <4 x float>* %83
%84 = or i64 %77, 8
%85 = add i64 %84, %56
%86 = getelementptr inbounds float, float* %7, i64 %85
%87 = bitcast float* %86 to <4 x float>*
store <4 x float> %66, <4 x float>* %87
%88 = getelementptr inbounds float, float* %86, i64 4
%89 = bitcast float* %88 to <4 x float>*
store <4 x float> %68, <4 x float>* %89
%90 = or i64 %77, 16
%91 = add i64 %90, %56
%92 = getelementptr inbounds float, float* %7, i64 %91
%93 = bitcast float* %92 to <4 x float>*
store <4 x float> %66, <4 x float>* %93
%94 = getelementptr inbounds float, float* %92, i64 4
%95 = bitcast float* %94 to <4 x float>*
store <4 x float> %68, <4 x float>* %95
%96 = or i64 %77, 24
%97 = add i64 %96, %56
%98 = getelementptr inbounds float, float* %7, i64 %97
%99 = bitcast float* %98 to <4 x float>*
store <4 x float> %66, <4 x float>* %99
%100 = getelementptr inbounds float, float* %98, i64 4
%101 = bitcast float* %100 to <4 x float>*
store <4 x float> %68, <4 x float>* %101
%102 = add nuw i64 %77, 32
%103 = add i64 %78, 4
%104 = icmp eq i64 %103, %75
br i1 %104, label %105, label %76
105: ; preds = %76, %62
%106 = phi i64 [ 0, %62 ], [ %102, %76 ]
%107 = icmp eq i64 %72, 0
br i1 %107, label %119, label %108
108: ; preds = %105, %108
%109 = phi i64 [ %116, %108 ], [ %106, %105 ]
%110 = phi i64 [ %117, %108 ], [ 0, %105 ]
%111 = add i64 %109, %56
%112 = getelementptr inbounds float, float* %7, i64 %111
%113 = bitcast float* %112 to <4 x float>*
store <4 x float> %66, <4 x float>* %113
%114 = getelementptr inbounds float, float* %112, i64 4
%115 = bitcast float* %114 to <4 x float>*
store <4 x float> %68, <4 x float>* %115
%116 = add nuw i64 %109, 8
%117 = add i64 %110, 1
%118 = icmp eq i64 %117, %72
br i1 %118, label %119, label %108
119: ; preds = %108, %105
%120 = icmp eq i64 %60, %63
br i1 %120, label %123, label %121
121: ; preds = %58, %119
%122 = phi i64 [ %56, %58 ], [ %64, %119 ]
br label %125
123: ; preds = %125, %119, %54
%124 = call i32 @fclose(i32* %8)
br label %130
125: ; preds = %121, %125
%126 = phi i64 [ %128, %125 ], [ %122, %121 ]
%127 = getelementptr inbounds float, float* %7, i64 %126
store float %59, float* %127
%128 = add nuw i64 %126, 1
%129 = icmp eq i64 %128, %23
br i1 %129, label %123, label %125
130: ; preds = %13, %123
%131 = phi i64 [ %14, %13 ], [ %23, %123 ]
%132 = icmp eq i32 %1, 0
br i1 %132, label %137, label %133
133: ; preds = %130
%134 = call i64 @llvm.umax.i64(i64 %131, i64 1)
br label %139
135: ; preds = %139
%136 = icmp eq i64 %144, %134
br i1 %136, label %137, label %139
137: ; preds = %135, %130
%138 = icmp eq i32 %2, 0
br i1 %138, label %155, label %147
139: ; preds = %133, %135
%140 = phi i64 [ %144, %135 ], [ 0, %133 ]
%141 = getelementptr inbounds float, float* %7, i64 %140
%142 = load float, float* %141
%143 = fcmp oeq float %142, 0.000000e+00
%144 = add nuw i64 %140, 1
br i1 %143, label %145, label %135
145: ; preds = %139
%146 = call i32 (...) @abort()
unreachable
147: ; preds = %137
%148 = load i32, i32* @stderr
%149 = add nsw i32 %1, -1
%150 = sext i32 %149 to i64
%151 = getelementptr inbounds float, float* %7, i64 %150
%152 = load float, float* %151
%153 = fpext float %152 to double
%154 = call i32 (i32, i8*, ...) @fprintf(i32 %148, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.3, i64 0, i64 0), double %153)
br label %155
155: ; preds = %147, %137
ret float* %7
}