#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 */
struct stat {
  int st_size;
};
typedef int /*<<< orphan*/ FILE;

/* Variables and functions */
scalar_t__ feof(int /*<<< orphan*/ *);
int /*<<< orphan*/ fileno(int /*<<< orphan*/ *);
int /*<<< orphan*/ fscanf(int /*<<< orphan*/ *, char *, double *);
int /*<<< orphan*/ fstat(int /*<<< orphan*/, struct stat *);
scalar_t__ malloc(int);
int /*<<< orphan*/ printf(char *, double);
double sqrt(double);
void stats(FILE *fp) {
  struct stat info;
  double *x;
  int limit;
  int n = 0, i;
  double mu = 0.0, sigma = 0.0, sumsquare = 0.0, sum = 0.0, top = 0.0,
         rho = 0.0;
  double sigma2 = 0.0;
  fstat(fileno(fp), &info);
  if (info.st_size > 0) {
    limit = 2 * info.st_size / sizeof(double);
  } else {
    limit = 10000;
  }
  x = (double *)malloc(limit * sizeof(double));
  for (i = 0; i < limit; ++i) {
    fscanf(fp, "%lf", &x[i]);
    if (feof(fp))
      break;
    sumsquare += x[i] * x[i];
    sum += x[i];
    ++n;
  }
  mu = sum / (double)n;
  sigma = sqrt((sumsquare - (double)n * mu * mu) / (double)(n - 1));
  for (i = 1; i < n; ++i) {
    top += ((double)x[i] - mu) * ((double)x[i - 1] - mu);
    sigma2 += ((double)x[i - 1] - mu) * ((double)x[i - 1] - mu);
  }
  rho = top / sigma2;
  printf("mu =    %12.6f\n", mu);
  printf("sigma = %12.6f\n", sigma);
  printf("rho =   %12.6f\n", rho);
}


x86 assembly (clang, -O0):
<stats>:
push   %rbp
mov    %rsp,%rbp
sub    $0x60,%rsp
mov    %rdi,-0x8(%rbp)
movl   $0x0,-0x20(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x30(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x38(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x40(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x48(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x50(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x58(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x60(%rbp)
mov    -0x8(%rbp),%rdi
call   1060 <fileno@plt>
mov    %eax,%edi
lea    -0x10(%rbp),%rsi
call   1090 <fstat@plt>
cmpl   $0x0,-0x10(%rbp)
jle    11ed <stats+0x7d>
mov    -0x10(%rbp),%eax
shl    $0x1,%eax
cltq
shr    $0x3,%rax
mov    %eax,-0x1c(%rbp)
jmp    11f4 <stats+0x84>
movl   $0x2710,-0x1c(%rbp)
movslq -0x1c(%rbp),%rax
shl    $0x3,%rax
mov    %eax,%edi
call   1070 <malloc@plt>
mov    %rax,-0x18(%rbp)
movl   $0x0,-0x24(%rbp)
mov    -0x24(%rbp),%eax
cmp    -0x1c(%rbp),%eax
jge    12ab <stats+0x13b>
mov    -0x8(%rbp),%rdi
mov    -0x18(%rbp),%rdx
movslq -0x24(%rbp),%rax
shl    $0x3,%rax
add    %rax,%rdx
lea    0xdcc(%rip),%rsi
call   1040 <fscanf@plt>
mov    -0x8(%rbp),%rdi
call   1050 <feof@plt>
cmp    $0x0,%rax
je     1251 <stats+0xe1>
jmp    12ab <stats+0x13b>
mov    -0x18(%rbp),%rax
movslq -0x24(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x18(%rbp),%rax
movslq -0x24(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm2
movsd  -0x40(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x40(%rbp)
mov    -0x18(%rbp),%rax
movslq -0x24(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
addsd  -0x48(%rbp),%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x20(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x20(%rbp)
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    120e <stats+0x9e>
movsd  -0x48(%rbp),%xmm0
cvtsi2sdl -0x20(%rbp),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  -0x40(%rbp),%xmm1
cvtsi2sdl -0x20(%rbp),%xmm0
mulsd  -0x30(%rbp),%xmm0
movsd  -0x30(%rbp),%xmm2
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x20(%rbp),%eax
sub    $0x1,%eax
cvtsi2sd %eax,%xmm1
divsd  %xmm1,%xmm0
call   1080 <sqrt@plt>
movsd  %xmm0,-0x38(%rbp)
movl   $0x1,-0x24(%rbp)
mov    -0x24(%rbp),%eax
cmp    -0x20(%rbp),%eax
jge    13a5 <stats+0x235>
mov    -0x18(%rbp),%rax
movslq -0x24(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
subsd  -0x30(%rbp),%xmm0
mov    -0x18(%rbp),%rax
mov    -0x24(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm2
subsd  -0x30(%rbp),%xmm2
movsd  -0x50(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x50(%rbp)
mov    -0x18(%rbp),%rax
mov    -0x24(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
subsd  -0x30(%rbp),%xmm0
mov    -0x18(%rbp),%rax
mov    -0x24(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm2
subsd  -0x30(%rbp),%xmm2
movsd  -0x60(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x60(%rbp)
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    1310 <stats+0x1a0>
movsd  -0x50(%rbp),%xmm0
divsd  -0x60(%rbp),%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  -0x30(%rbp),%xmm0
lea    0xc44(%rip),%rdi
call   1030 <printf@plt>
movsd  -0x38(%rbp),%xmm0
lea    0xc43(%rip),%rdi
call   1030 <printf@plt>
movsd  -0x58(%rbp),%xmm0
lea    0xc42(%rip),%rdi
call   1030 <printf@plt>
add    $0x60,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<stats>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x38,%rsp
mov    %rdi,%r12
call   1060 <fileno@plt>
lea    0x18(%rsp),%rsi
mov    %eax,%edi
call   1090 <fstat@plt>
mov    0x18(%rsp),%eax
mov    %eax,%ecx
sar    $0x2,%ecx
test   %eax,%eax
mov    $0x2710,%ebp
cmovg  %ecx,%ebp
lea    0x0(,%rbp,8),%edi
call   1070 <malloc@plt>
mov    %rax,%r14
xorpd  %xmm2,%xmm2
test   %ebp,%ebp
jle    123a <stats+0xca>
xorpd  %xmm5,%xmm5
xor    %r13d,%r13d
lea    0xe3e(%rip),%r15
mov    %r14,%rbx
xorpd  %xmm3,%xmm3
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
movapd %xmm3,0x20(%rsp)
movapd %xmm5,(%rsp)
mov    %r12,%rdi
mov    %r15,%rsi
mov    %rbx,%rdx
call   1040 <fscanf@plt>
mov    %r12,%rdi
call   1050 <feof@plt>
test   %rax,%rax
jne    1247 <stats+0xd7>
movsd  (%rbx),%xmm0
movapd (%rsp),%xmm5
addsd  %xmm0,%xmm5
mulsd  %xmm0,%xmm0
movapd 0x20(%rsp),%xmm3
addsd  %xmm0,%xmm3
add    $0xffffffffffffffff,%r13
add    $0x8,%rbx
mov    %rbp,%rax
add    %r13,%rax
jne    11e0 <stats+0x70>
mov    %ebp,%r13d
xorpd  %xmm2,%xmm2
jmp    1257 <stats+0xe7>
xor    %r13d,%r13d
xorpd  %xmm3,%xmm3
xorpd  %xmm5,%xmm5
jmp    1257 <stats+0xe7>
neg    %r13d
movaps (%rsp),%xmm5
xorpd  %xmm2,%xmm2
movaps 0x20(%rsp),%xmm3
xorps  %xmm0,%xmm0
cvtsi2sd %r13d,%xmm0
divsd  %xmm0,%xmm5
mulsd  %xmm5,%xmm0
mulsd  %xmm5,%xmm0
lea    -0x1(%r13),%eax
cvtsi2sd %eax,%xmm1
subsd  %xmm0,%xmm3
divsd  %xmm1,%xmm3
ucomisd %xmm2,%xmm3
jb     128a <stats+0x11a>
xorps  %xmm0,%xmm0
sqrtsd %xmm3,%xmm0
jmp    129d <stats+0x12d>
movapd %xmm3,%xmm0
movapd %xmm5,(%rsp)
call   1080 <sqrt@plt>
movapd (%rsp),%xmm5
movsd  %xmm0,0x20(%rsp)
cmp    $0x2,%r13d
jb     12ce <stats+0x15e>
mov    %r13d,%eax
movsd  (%r14),%xmm0
movapd %xmm5,%xmm1
unpcklpd %xmm5,%xmm1
add    $0xffffffffffffffff,%rax
cmp    $0x2,%r13d
jne    12db <stats+0x16b>
xorpd  %xmm2,%xmm2
mov    $0x1,%ecx
jmp    133d <stats+0x1cd>
movsd  0xd2a(%rip),%xmm0
jmp    1367 <stats+0x1f7>
mov    %rax,%rdx
and    $0xfffffffffffffffe,%rdx
neg    %rdx
xorpd  %xmm2,%xmm2
mov    $0x1,%ecx
xchg   %ax,%ax
movhpd (%r14,%rcx,8),%xmm0
subpd  %xmm1,%xmm0
movapd %xmm0,%xmm3
unpcklpd %xmm0,%xmm3
mulpd  %xmm0,%xmm3
addpd  %xmm2,%xmm3
movsd  0x8(%r14,%rcx,8),%xmm0
movupd (%r14,%rcx,8),%xmm4
subpd  %xmm1,%xmm4
movapd %xmm4,%xmm2
unpcklpd %xmm4,%xmm2
mulpd  %xmm4,%xmm2
addpd  %xmm3,%xmm2
lea    (%rdx,%rcx,1),%rsi
add    $0x2,%rsi
add    $0x2,%rcx
cmp    $0x1,%rsi
jne    12f0 <stats+0x180>
test   $0x1,%al
je     135b <stats+0x1eb>
movhpd (%r14,%rcx,8),%xmm0
subpd  %xmm1,%xmm0
movapd %xmm0,%xmm1
unpcklpd %xmm0,%xmm1
mulpd  %xmm0,%xmm1
addpd  %xmm1,%xmm2
movapd %xmm2,%xmm0
unpckhpd %xmm2,%xmm0
divsd  %xmm2,%xmm0
movapd %xmm0,(%rsp)
lea    0xc99(%rip),%rdi
movapd %xmm5,%xmm0
call   1030 <printf@plt>
lea    0xc99(%rip),%rdi
movsd  0x20(%rsp),%xmm0
call   1030 <printf@plt>
lea    0xc97(%rip),%rdi
movaps (%rsp),%xmm0
add    $0x38,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1030 <printf@plt>

LLVM IR (-O0):
%struct.stat = type { i32 }
@.str = [4 x i8] c"%lf\00"
@.str.1 = [16 x i8] c"mu = %12.6f\0A\00"
@.str.2 = [16 x i8] c"sigma = %12.6f\0A\00"
@.str.3 = [16 x i8] c"rho = %12.6f\0A\00"
define void @stats(i32* %0) {
%2 = alloca i32*
%3 = alloca %struct.stat
%4 = alloca double*
%5 = alloca i32
%6 = alloca i32
%7 = alloca i32
%8 = alloca double
%9 = alloca double
%10 = alloca double
%11 = alloca double
%12 = alloca double
%13 = alloca double
%14 = alloca double
store i32* %0, i32** %2
store i32 0, i32* %6
store double 0.000000e+00, double* %8
store double 0.000000e+00, double* %9
store double 0.000000e+00, double* %10
store double 0.000000e+00, double* %11
store double 0.000000e+00, double* %12
store double 0.000000e+00, double* %13
store double 0.000000e+00, double* %14
%15 = load i32*, i32** %2
%16 = call i32 @fileno(i32* %15)
%17 = call i32 @fstat(i32 %16, %struct.stat* %3)
%18 = getelementptr inbounds %struct.stat, %struct.stat* %3, i32 0, i32 0
%19 = load i32, i32* %18
%20 = icmp sgt i32 %19, 0
br i1 %20, label %21, label %28
21: ; preds = %1
%22 = getelementptr inbounds %struct.stat, %struct.stat* %3, i32 0, i32 0
%23 = load i32, i32* %22
%24 = mul nsw i32 2, %23
%25 = sext i32 %24 to i64
%26 = udiv i64 %25, 8
%27 = trunc i64 %26 to i32
store i32 %27, i32* %5
br label %29
28: ; preds = %1
store i32 10000, i32* %5
br label %29
29: ; preds = %28, %21
%30 = load i32, i32* %5
%31 = sext i32 %30 to i64
%32 = mul i64 %31, 8
%33 = trunc i64 %32 to i32
%34 = call i64 @malloc(i32 %33)
%35 = inttoptr i64 %34 to double*
store double* %35, double** %4
store i32 0, i32* %7
br label %36
36: ; preds = %73, %29
%37 = load i32, i32* %7
%38 = load i32, i32* %5
%39 = icmp slt i32 %37, %38
br i1 %39, label %40, label %76
40: ; preds = %36
%41 = load i32*, i32** %2
%42 = load double*, double** %4
%43 = load i32, i32* %7
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds double, double* %42, i64 %44
%46 = call i32 @fscanf(i32* %41, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), double* %45)
%47 = load i32*, i32** %2
%48 = call i64 @feof(i32* %47)
%49 = icmp ne i64 %48, 0
br i1 %49, label %50, label %51
50: ; preds = %40
br label %76
51: ; preds = %40
%52 = load double*, double** %4
%53 = load i32, i32* %7
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds double, double* %52, i64 %54
%56 = load double, double* %55
%57 = load double*, double** %4
%58 = load i32, i32* %7
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds double, double* %57, i64 %59
%61 = load double, double* %60
%62 = load double, double* %10
%63 = call double @llvm.fmuladd.f64(double %56, double %61, double %62)
store double %63, double* %10
%64 = load double*, double** %4
%65 = load i32, i32* %7
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds double, double* %64, i64 %66
%68 = load double, double* %67
%69 = load double, double* %11
%70 = fadd double %69, %68
store double %70, double* %11
%71 = load i32, i32* %6
%72 = add nsw i32 %71, 1
store i32 %72, i32* %6
br label %73
73: ; preds = %51
%74 = load i32, i32* %7
%75 = add nsw i32 %74, 1
store i32 %75, i32* %7
br label %36
76: ; preds = %50, %36
%77 = load double, double* %11
%78 = load i32, i32* %6
%79 = sitofp i32 %78 to double
%80 = fdiv double %77, %79
store double %80, double* %8
%81 = load double, double* %10
%82 = load i32, i32* %6
%83 = sitofp i32 %82 to double
%84 = load double, double* %8
%85 = fmul double %83, %84
%86 = load double, double* %8
%87 = fneg double %85
%88 = call double @llvm.fmuladd.f64(double %87, double %86, double %81)
%89 = load i32, i32* %6
%90 = sub nsw i32 %89, 1
%91 = sitofp i32 %90 to double
%92 = fdiv double %88, %91
%93 = call double @sqrt(double %92)
store double %93, double* %9
store i32 1, i32* %7
br label %94
94: ; preds = %134, %76
%95 = load i32, i32* %7
%96 = load i32, i32* %6
%97 = icmp slt i32 %95, %96
br i1 %97, label %98, label %137
98: ; preds = %94
%99 = load double*, double** %4
%100 = load i32, i32* %7
%101 = sext i32 %100 to i64
%102 = getelementptr inbounds double, double* %99, i64 %101
%103 = load double, double* %102
%104 = load double, double* %8
%105 = fsub double %103, %104
%106 = load double*, double** %4
%107 = load i32, i32* %7
%108 = sub nsw i32 %107, 1
%109 = sext i32 %108 to i64
%110 = getelementptr inbounds double, double* %106, i64 %109
%111 = load double, double* %110
%112 = load double, double* %8
%113 = fsub double %111, %112
%114 = load double, double* %12
%115 = call double @llvm.fmuladd.f64(double %105, double %113, double %114)
store double %115, double* %12
%116 = load double*, double** %4
%117 = load i32, i32* %7
%118 = sub nsw i32 %117, 1
%119 = sext i32 %118 to i64
%120 = getelementptr inbounds double, double* %116, i64 %119
%121 = load double, double* %120
%122 = load double, double* %8
%123 = fsub double %121, %122
%124 = load double*, double** %4
%125 = load i32, i32* %7
%126 = sub nsw i32 %125, 1
%127 = sext i32 %126 to i64
%128 = getelementptr inbounds double, double* %124, i64 %127
%129 = load double, double* %128
%130 = load double, double* %8
%131 = fsub double %129, %130
%132 = load double, double* %14
%133 = call double @llvm.fmuladd.f64(double %123, double %131, double %132)
store double %133, double* %14
br label %134
134: ; preds = %98
%135 = load i32, i32* %7
%136 = add nsw i32 %135, 1
store i32 %136, i32* %7
br label %94
137: ; preds = %94
%138 = load double, double* %12
%139 = load double, double* %14
%140 = fdiv double %138, %139
store double %140, double* %13
%141 = load double, double* %8
%142 = call i32 @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.1, i64 0, i64 0), double %141)
%143 = load double, double* %9
%144 = call i32 @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.2, i64 0, i64 0), double %143)
%145 = load double, double* %13
%146 = call i32 @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.3, i64 0, i64 0), double %145)
ret void
}

LLVM IR (-O2):
%struct.stat = type { i32 }
@.str = [4 x i8] c"%lf\00"
@.str.1 = [16 x i8] c"mu = %12.6f\0A\00"
@.str.2 = [16 x i8] c"sigma = %12.6f\0A\00"
@.str.3 = [16 x i8] c"rho = %12.6f\0A\00"
define void @stats(i32* nocapture %0) {
%2 = alloca %struct.stat
%3 = bitcast %struct.stat* %2 to i8*
%4 = tail call i32 @fileno(i32* %0)
%5 = call i32 @fstat(i32 %4, %struct.stat* %2)
%6 = getelementptr inbounds %struct.stat, %struct.stat* %2, i64 0, i32 0
%7 = load i32, i32* %6
%8 = icmp sgt i32 %7, 0
%9 = ashr i32 %7, 2
%10 = select i1 %8, i32 %9, i32 10000
%11 = shl i32 %10, 3
%12 = tail call i64 @malloc(i32 %11)
%13 = inttoptr i64 %12 to double*
%14 = icmp sgt i32 %10, 0
br i1 %14, label %15, label %33
15: ; preds = %1
%16 = zext i32 %10 to i64
br label %17
17: ; preds = %15, %25
%18 = phi i64 [ 0, %15 ], [ %29, %25 ]
%19 = phi double [ 0.000000e+00, %15 ], [ %28, %25 ]
%20 = phi double [ 0.000000e+00, %15 ], [ %27, %25 ]
%21 = getelementptr inbounds double, double* %13, i64 %18
%22 = tail call i32 @fscanf(i32* %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), double* %21)
%23 = tail call i64 @feof(i32* %0)
%24 = icmp eq i64 %23, 0
br i1 %24, label %25, label %31
25: ; preds = %17
%26 = load double, double* %21
%27 = tail call double @llvm.fmuladd.f64(double %26, double %26, double %20)
%28 = fadd double %19, %26
%29 = add nuw nsw i64 %18, 1
%30 = icmp eq i64 %29, %16
br i1 %30, label %33, label %17
31: ; preds = %17
%32 = trunc i64 %18 to i32
br label %33
33: ; preds = %25, %31, %1
%34 = phi i32 [ 0, %1 ], [ %32, %31 ], [ %10, %25 ]
%35 = phi double [ 0.000000e+00, %1 ], [ %20, %31 ], [ %27, %25 ]
%36 = phi double [ 0.000000e+00, %1 ], [ %19, %31 ], [ %28, %25 ]
%37 = sitofp i32 %34 to double
%38 = fdiv double %36, %37
%39 = fneg double %38
%40 = fmul double %37, %39
%41 = tail call double @llvm.fmuladd.f64(double %40, double %38, double %35)
%42 = add nsw i32 %34, -1
%43 = sitofp i32 %42 to double
%44 = fdiv double %41, %43
%45 = tail call double @sqrt(double %44)
%46 = icmp ugt i32 %34, 1
br i1 %46, label %47, label %99
47: ; preds = %33
%48 = zext i32 %34 to i64
%49 = load double, double* %13
%50 = insertelement <2 x double> poison, double %38, i64 0
%51 = shufflevector <2 x double> %50, <2 x double> poison, <2 x i32> zeroinitializer
%52 = add nsw i64 %48, -1
%53 = and i64 %52, 1
%54 = icmp eq i32 %34, 2
br i1 %54, label %80, label %55
55: ; preds = %47
%56 = and i64 %52, -2
br label %57
57: ; preds = %57, %55
%58 = phi double [ %49, %55 ], [ %71, %57 ]
%59 = phi i64 [ 1, %55 ], [ %77, %57 ]
%60 = phi <2 x double> [ zeroinitializer, %55 ], [ %76, %57 ]
%61 = phi i64 [ 0, %55 ], [ %78, %57 ]
%62 = getelementptr inbounds double, double* %13, i64 %59
%63 = load double, double* %62
%64 = insertelement <2 x double> poison, double %58, i64 0
%65 = insertelement <2 x double> %64, double %63, i64 1
%66 = fsub <2 x double> %65, %51
%67 = shufflevector <2 x double> %66, <2 x double> undef, <2 x i32> zeroinitializer
%68 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %66, <2 x double> %67, <2 x double> %60)
%69 = add nuw nsw i64 %59, 1
%70 = getelementptr inbounds double, double* %13, i64 %69
%71 = load double, double* %70
%72 = insertelement <2 x double> poison, double %63, i64 0
%73 = insertelement <2 x double> %72, double %71, i64 1
%74 = fsub <2 x double> %73, %51
%75 = shufflevector <2 x double> %74, <2 x double> undef, <2 x i32> zeroinitializer
%76 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %74, <2 x double> %75, <2 x double> %68)
%77 = add nuw nsw i64 %59, 2
%78 = add i64 %61, 2
%79 = icmp eq i64 %78, %56
br i1 %79, label %80, label %57
80: ; preds = %57, %47
%81 = phi <2 x double> [ undef, %47 ], [ %76, %57 ]
%82 = phi double [ %49, %47 ], [ %71, %57 ]
%83 = phi i64 [ 1, %47 ], [ %77, %57 ]
%84 = phi <2 x double> [ zeroinitializer, %47 ], [ %76, %57 ]
%85 = icmp eq i64 %53, 0
br i1 %85, label %94, label %86
86: ; preds = %80
%87 = getelementptr inbounds double, double* %13, i64 %83
%88 = load double, double* %87
%89 = insertelement <2 x double> poison, double %82, i64 0
%90 = insertelement <2 x double> %89, double %88, i64 1
%91 = fsub <2 x double> %90, %51
%92 = shufflevector <2 x double> %91, <2 x double> undef, <2 x i32> zeroinitializer
%93 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %91, <2 x double> %92, <2 x double> %84)
br label %94
94: ; preds = %80, %86
%95 = phi <2 x double> [ %81, %80 ], [ %93, %86 ]
%96 = extractelement <2 x double> %95, i64 0
%97 = extractelement <2 x double> %95, i64 1
%98 = fdiv double %97, %96
br label %99
99: ; preds = %94, %33
%100 = phi double [ %98, %94 ], [ 0x7FF8000000000000, %33 ]
%101 = tail call i32 @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.1, i64 0, i64 0), double %38)
%102 = tail call i32 @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.2, i64 0, i64 0), double %45)
%103 = tail call i32 @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.3, i64 0, i64 0), double %100)
ret void
}