double amotry(double **p, double *y, double *psum, int ndim,
              double (*funk)(double p[], void *data), int ihi, int *nfunk,
              double fac, void *data) {
  int j;
  double fac1, fac2, ytry, *ptry, *vector();
  void nrerror(), free_vector();
  ptry = vector(1, ndim);
  fac1 = (1.0 - fac) / ndim;
  fac2 = fac1 - fac;
  for (j = 1; j <= ndim; j++)
    ptry[j] = psum[j] * fac1 - p[ihi][j] * fac2;
  ytry = (*funk)(ptry, data);
  ++(*nfunk);
  if (ytry < y[ihi]) {
    y[ihi] = ytry;
    for (j = 1; j <= ndim; j++) {
      psum[j] += ptry[j] - p[ihi][j];
      p[ihi][j] = ptry[j];
    }
  }
  free_vector(ptry, 1, ndim);
  return ytry;
}


x86 assembly (clang, -O0):
<amotry>:
push   %rbp
mov    %rsp,%rbp
sub    $0x60,%rsp
mov    0x18(%rbp),%rax
mov    0x10(%rbp),%rax
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %ecx,-0x1c(%rbp)
mov    %r8,-0x28(%rbp)
mov    %r9d,-0x2c(%rbp)
movsd  %xmm0,-0x38(%rbp)
mov    -0x1c(%rbp),%esi
mov    $0x1,%edi
mov    $0x0,%al
call   1040 <vector@plt>
mov    %rax,-0x60(%rbp)
movsd  0xe99(%rip),%xmm0
subsd  -0x38(%rbp),%xmm0
cvtsi2sdl -0x1c(%rbp),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  -0x48(%rbp),%xmm0
subsd  -0x38(%rbp),%xmm0
movsd  %xmm0,-0x50(%rbp)
movl   $0x1,-0x3c(%rbp)
mov    -0x3c(%rbp),%eax
cmp    -0x1c(%rbp),%eax
jg     1202 <amotry+0xe2>
mov    -0x18(%rbp),%rax
movslq -0x3c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  -0x48(%rbp),%xmm2
mov    -0x8(%rbp),%rax
movslq -0x2c(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x3c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm1
mulsd  -0x50(%rbp),%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x60(%rbp),%rax
movslq -0x3c(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x3c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x3c(%rbp)
jmp    1190 <amotry+0x70>
mov    -0x28(%rbp),%rax
mov    -0x60(%rbp),%rdi
mov    0x18(%rbp),%rsi
call   *%rax
movsd  %xmm0,-0x58(%rbp)
mov    0x10(%rbp),%rax
mov    (%rax),%ecx
add    $0x1,%ecx
mov    %ecx,(%rax)
movsd  -0x58(%rbp),%xmm1
mov    -0x10(%rbp),%rax
movslq -0x2c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
ucomisd %xmm1,%xmm0
jbe    12ca <amotry+0x1aa>
movsd  -0x58(%rbp),%xmm0
mov    -0x10(%rbp),%rax
movslq -0x2c(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
movl   $0x1,-0x3c(%rbp)
mov    -0x3c(%rbp),%eax
cmp    -0x1c(%rbp),%eax
jg     12c5 <amotry+0x1a5>
mov    -0x60(%rbp),%rax
movslq -0x3c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x8(%rbp),%rax
movslq -0x2c(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x3c(%rbp),%rcx
subsd  (%rax,%rcx,8),%xmm0
mov    -0x18(%rbp),%rax
movslq -0x3c(%rbp),%rcx
addsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x60(%rbp),%rax
movslq -0x3c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x8(%rbp),%rax
movslq -0x2c(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x3c(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x3c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x3c(%rbp)
jmp    1255 <amotry+0x135>
jmp    12ca <amotry+0x1aa>
mov    -0x60(%rbp),%rdi
mov    -0x1c(%rbp),%edx
mov    $0x1,%esi
mov    $0x0,%al
call   1030 <free_vector@plt>
movsd  -0x58(%rbp),%xmm0
add    $0x60,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<amotry>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x18,%rsp
movsd  %xmm0,0x8(%rsp)
mov    %r9d,%r15d
mov    %r8,0x10(%rsp)
mov    %ecx,%r14d
mov    %rdx,%rbx
mov    %rsi,%r12
mov    %rdi,%r13
mov    $0x1,%edi
mov    %ecx,%esi
xor    %eax,%eax
call   1040 <vector@plt>
mov    %rax,%rbp
movslq %r15d,%r15
test   %r14d,%r14d
jle    12fe <amotry+0x1de>
movsd  0xe93(%rip),%xmm0
cvtsi2sd %r14d,%xmm1
movsd  0x8(%rsp),%xmm2
subsd  %xmm2,%xmm0
divsd  %xmm1,%xmm0
movapd %xmm0,%xmm1
subsd  %xmm2,%xmm1
mov    0x0(%r13,%r15,8),%rax
mov    %r14d,%r8d
lea    0x1(%r8),%rcx
mov    $0x1,%edx
cmp    $0x4,%r14d
jae    1228 <amotry+0x108>
mov    %rdx,%rsi
not    %rsi
test   $0x1,%cl
jne    11ce <amotry+0xae>
movsd  (%rax,%rdx,8),%xmm2
mulsd  %xmm1,%xmm2
movsd  (%rbx,%rdx,8),%xmm3
mulsd  %xmm0,%xmm3
subsd  %xmm2,%xmm3
movsd  %xmm3,0x0(%rbp,%rdx,8)
add    $0x1,%rdx
add    %rcx,%rsi
je     12fe <amotry+0x1de>
nopw   0x0(%rax,%rax,1)
movsd  (%rax,%rdx,8),%xmm2
mulsd  %xmm1,%xmm2
movsd  (%rbx,%rdx,8),%xmm3
mulsd  %xmm0,%xmm3
subsd  %xmm2,%xmm3
movsd  %xmm3,0x0(%rbp,%rdx,8)
movsd  0x8(%rax,%rdx,8),%xmm2
mulsd  %xmm1,%xmm2
movsd  0x8(%rbx,%rdx,8),%xmm3
mulsd  %xmm0,%xmm3
subsd  %xmm2,%xmm3
movsd  %xmm3,0x8(%rbp,%rdx,8)
add    $0x2,%rdx
cmp    %rdx,%rcx
jne    11e0 <amotry+0xc0>
jmp    12fe <amotry+0x1de>
mov    %r12,0x8(%rsp)
mov    %r13,%r12
lea    0x8(%rbp),%rsi
lea    0x0(,%rcx,8),%rdi
add    %rbp,%rdi
lea    0x8(%rbx),%r9
lea    (%rbx,%rcx,8),%r10
lea    0x8(%rax),%r11
lea    (%rax,%rcx,8),%r13
cmp    %r10,%rsi
setb   %r10b
cmp    %rdi,%r9
setb   %r9b
cmp    %r13,%rsi
setb   %sil
cmp    %rdi,%r11
setb   %dil
test   %r9b,%r10b
jne    153b <amotry+0x41b>
and    %dil,%sil
mov    %r12,%r13
mov    0x8(%rsp),%r12
jne    11a3 <amotry+0x83>
mov    %r8d,%edi
and    $0xfffffffc,%edi
lea    0x1(%rdi),%rdx
movapd %xmm1,%xmm2
unpcklpd %xmm1,%xmm2
movapd %xmm0,%xmm3
unpcklpd %xmm0,%xmm3
xor    %esi,%esi
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
movupd 0x8(%rbx,%rsi,8),%xmm4
movupd 0x18(%rbx,%rsi,8),%xmm5
movupd 0x8(%rax,%rsi,8),%xmm6
movupd 0x18(%rax,%rsi,8),%xmm7
mulpd  %xmm2,%xmm6
mulpd  %xmm2,%xmm7
mulpd  %xmm3,%xmm4
subpd  %xmm6,%xmm4
mulpd  %xmm3,%xmm5
subpd  %xmm7,%xmm5
movupd %xmm4,0x8(%rbp,%rsi,8)
movupd %xmm5,0x18(%rbp,%rsi,8)
add    $0x4,%rsi
cmp    %rsi,%rdi
jne    12b0 <amotry+0x190>
cmp    %rdi,%r8
jne    11a3 <amotry+0x83>
mov    %rbp,%rdi
mov    0x58(%rsp),%rsi
call   *0x10(%rsp)
mov    0x50(%rsp),%rax
addl   $0x1,(%rax)
movapd %xmm0,%xmm2
movsd  (%r12,%r15,8),%xmm0
ucomisd %xmm2,%xmm0
jbe    150e <amotry+0x3ee>
movsd  %xmm2,(%r12,%r15,8)
test   %r14d,%r14d
jle    150e <amotry+0x3ee>
mov    0x0(%r13,%r15,8),%rax
mov    %r14d,%r9d
lea    0x1(%r9),%rcx
mov    $0x1,%esi
cmp    $0x2,%r14d
jae    13e2 <amotry+0x2c2>
mov    %rsi,%rdx
not    %rdx
test   $0x1,%cl
jne    137f <amotry+0x25f>
movsd  0x0(%rbp,%rsi,8),%xmm0
subsd  (%rax,%rsi,8),%xmm0
addsd  (%rbx,%rsi,8),%xmm0
movsd  %xmm0,(%rbx,%rsi,8)
movsd  0x0(%rbp,%rsi,8),%xmm0
movsd  %xmm0,(%rax,%rsi,8)
add    $0x1,%rsi
add    %rcx,%rdx
je     150e <amotry+0x3ee>
nopl   0x0(%rax,%rax,1)
movsd  0x0(%rbp,%rsi,8),%xmm0
subsd  (%rax,%rsi,8),%xmm0
addsd  (%rbx,%rsi,8),%xmm0
movsd  %xmm0,(%rbx,%rsi,8)
movsd  0x0(%rbp,%rsi,8),%xmm0
movsd  %xmm0,(%rax,%rsi,8)
movsd  0x8(%rbp,%rsi,8),%xmm0
subsd  0x8(%rax,%rsi,8),%xmm0
addsd  0x8(%rbx,%rsi,8),%xmm0
movsd  %xmm0,0x8(%rbx,%rsi,8)
movsd  0x8(%rbp,%rsi,8),%xmm0
movsd  %xmm0,0x8(%rax,%rsi,8)
add    $0x2,%rsi
cmp    %rsi,%rcx
jne    1390 <amotry+0x270>
jmp    150e <amotry+0x3ee>
lea    0x8(%rbx),%r15
lea    (%rbx,%rcx,8),%r8
lea    0x8(%rax),%r10
lea    (%rax,%rcx,8),%r11
lea    0x0(,%rcx,8),%rdi
add    %rbp,%rdi
mov    %rbp,%rdx
add    $0x8,%rdx
cmp    %r11,%r15
setb   %r12b
cmp    %r8,%r10
setb   %r13b
cmp    %rdi,%r15
setb   %r15b
cmp    %r8,%rdx
setb   %r8b
cmp    %rdi,%r10
setb   %dil
cmp    %r11,%rdx
setb   %r10b
test   %r13b,%r12b
jne    1350 <amotry+0x230>
and    %r8b,%r15b
jne    1350 <amotry+0x230>
and    %r10b,%dil
jne    1350 <amotry+0x230>
mov    %r9d,%r8d
and    $0xfffffffe,%r8d
lea    -0x2(%r8),%rsi
mov    %rsi,%rdx
shr    %rdx
add    $0x1,%rdx
test   %rsi,%rsi
je     1554 <amotry+0x434>
mov    %rdx,%rsi
and    $0xfffffffffffffffe,%rsi
mov    $0x1,%edi
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
movupd 0x0(%rbp,%rdi,8),%xmm0
movupd (%rax,%rdi,8),%xmm1
subpd  %xmm1,%xmm0
movupd (%rbx,%rdi,8),%xmm1
addpd  %xmm0,%xmm1
movupd %xmm1,(%rbx,%rdi,8)
movups 0x0(%rbp,%rdi,8),%xmm0
movups %xmm0,(%rax,%rdi,8)
movupd 0x10(%rbp,%rdi,8),%xmm0
movupd 0x10(%rax,%rdi,8),%xmm1
subpd  %xmm1,%xmm0
movupd 0x10(%rbx,%rdi,8),%xmm1
addpd  %xmm0,%xmm1
movupd %xmm1,0x10(%rbx,%rdi,8)
movupd 0x10(%rbp,%rdi,8),%xmm0
movupd %xmm0,0x10(%rax,%rdi,8)
add    $0x4,%rdi
add    $0xfffffffffffffffe,%rsi
jne    1480 <amotry+0x360>
test   $0x1,%dl
je     1509 <amotry+0x3e9>
movupd 0x0(%rbp,%rdi,8),%xmm0
movupd (%rax,%rdi,8),%xmm1
subpd  %xmm1,%xmm0
movupd (%rbx,%rdi,8),%xmm1
addpd  %xmm0,%xmm1
movupd %xmm1,(%rbx,%rdi,8)
movupd 0x0(%rbp,%rdi,8),%xmm0
movupd %xmm0,(%rax,%rdi,8)
cmp    %r8,%r9
jne    1548 <amotry+0x428>
mov    %rbp,%rdi
mov    $0x1,%esi
mov    %r14d,%edx
xor    %eax,%eax
movsd  %xmm2,0x10(%rsp)
call   1030 <free_vector@plt>
movsd  0x10(%rsp),%xmm0
add    $0x18,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
mov    %r12,%r13
mov    0x8(%rsp),%r12
jmp    11a3 <amotry+0x83>
or     $0x1,%r9
mov    %r9,%rsi
jmp    1350 <amotry+0x230>
mov    $0x1,%edi
test   $0x1,%dl
jne    14e1 <amotry+0x3c1>
jmp    1509 <amotry+0x3e9>

LLVM IR (-O0):
define double @amotry(double** %0, double* %1, double* %2, i32 %3, double (double*, i8*)* %4, i32 %5, i32* %6, double %7, i8* %8) {
%10 = alloca double**
%11 = alloca double*
%12 = alloca double*
%13 = alloca i32
%14 = alloca double (double*, i8*)*
%15 = alloca i32
%16 = alloca i32*
%17 = alloca double
%18 = alloca i8*
%19 = alloca i32
%20 = alloca double
%21 = alloca double
%22 = alloca double
%23 = alloca double*
store double** %0, double*** %10
store double* %1, double** %11
store double* %2, double** %12
store i32 %3, i32* %13
store double (double*, i8*)* %4, double (double*, i8*)** %14
store i32 %5, i32* %15
store i32* %6, i32** %16
store double %7, double* %17
store i8* %8, i8** %18
%24 = load i32, i32* %13
%25 = call double* (i32, i32, ...) bitcast (double* (...)* @vector to double* (i32, i32, ...)*)(i32 1, i32 %24)
store double* %25, double** %23
%26 = load double, double* %17
%27 = fsub double 1.000000e+00, %26
%28 = load i32, i32* %13
%29 = sitofp i32 %28 to double
%30 = fdiv double %27, %29
store double %30, double* %20
%31 = load double, double* %20
%32 = load double, double* %17
%33 = fsub double %31, %32
store double %33, double* %21
store i32 1, i32* %19
br label %34
34: ; preds = %62, %9
%35 = load i32, i32* %19
%36 = load i32, i32* %13
%37 = icmp sle i32 %35, %36
br i1 %37, label %38, label %65
38: ; preds = %34
%39 = load double*, double** %12
%40 = load i32, i32* %19
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds double, double* %39, i64 %41
%43 = load double, double* %42
%44 = load double, double* %20
%45 = load double**, double*** %10
%46 = load i32, i32* %15
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds double*, double** %45, i64 %47
%49 = load double*, double** %48
%50 = load i32, i32* %19
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds double, double* %49, i64 %51
%53 = load double, double* %52
%54 = load double, double* %21
%55 = fmul double %53, %54
%56 = fneg double %55
%57 = call double @llvm.fmuladd.f64(double %43, double %44, double %56)
%58 = load double*, double** %23
%59 = load i32, i32* %19
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds double, double* %58, i64 %60
store double %57, double* %61
br label %62
62: ; preds = %38
%63 = load i32, i32* %19
%64 = add nsw i32 %63, 1
store i32 %64, i32* %19
br label %34
65: ; preds = %34
%66 = load double (double*, i8*)*, double (double*, i8*)** %14
%67 = load double*, double** %23
%68 = load i8*, i8** %18
%69 = call double %66(double* %67, i8* %68)
store double %69, double* %22
%70 = load i32*, i32** %16
%71 = load i32, i32* %70
%72 = add nsw i32 %71, 1
store i32 %72, i32* %70
%73 = load double, double* %22
%74 = load double*, double** %11
%75 = load i32, i32* %15
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds double, double* %74, i64 %76
%78 = load double, double* %77
%79 = fcmp olt double %73, %78
br i1 %79, label %80, label %129
80: ; preds = %65
%81 = load double, double* %22
%82 = load double*, double** %11
%83 = load i32, i32* %15
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds double, double* %82, i64 %84
store double %81, double* %85
store i32 1, i32* %19
br label %86
86: ; preds = %125, %80
%87 = load i32, i32* %19
%88 = load i32, i32* %13
%89 = icmp sle i32 %87, %88
br i1 %89, label %90, label %128
90: ; preds = %86
%91 = load double*, double** %23
%92 = load i32, i32* %19
%93 = sext i32 %92 to i64
%94 = getelementptr inbounds double, double* %91, i64 %93
%95 = load double, double* %94
%96 = load double**, double*** %10
%97 = load i32, i32* %15
%98 = sext i32 %97 to i64
%99 = getelementptr inbounds double*, double** %96, i64 %98
%100 = load double*, double** %99
%101 = load i32, i32* %19
%102 = sext i32 %101 to i64
%103 = getelementptr inbounds double, double* %100, i64 %102
%104 = load double, double* %103
%105 = fsub double %95, %104
%106 = load double*, double** %12
%107 = load i32, i32* %19
%108 = sext i32 %107 to i64
%109 = getelementptr inbounds double, double* %106, i64 %108
%110 = load double, double* %109
%111 = fadd double %110, %105
store double %111, double* %109
%112 = load double*, double** %23
%113 = load i32, i32* %19
%114 = sext i32 %113 to i64
%115 = getelementptr inbounds double, double* %112, i64 %114
%116 = load double, double* %115
%117 = load double**, double*** %10
%118 = load i32, i32* %15
%119 = sext i32 %118 to i64
%120 = getelementptr inbounds double*, double** %117, i64 %119
%121 = load double*, double** %120
%122 = load i32, i32* %19
%123 = sext i32 %122 to i64
%124 = getelementptr inbounds double, double* %121, i64 %123
store double %116, double* %124
br label %125
125: ; preds = %90
%126 = load i32, i32* %19
%127 = add nsw i32 %126, 1
store i32 %127, i32* %19
br label %86
128: ; preds = %86
br label %129
129: ; preds = %128, %65
%130 = load double*, double** %23
%131 = load i32, i32* %13
%132 = load double, double* %22
ret double %132
}

LLVM IR (-O2):
define double @amotry(double** nocapture %0, double* nocapture %1, double* nocapture %2, i32 %3, double (double*, i8*)* nocapture %4, i32 %5, i32* nocapture %6, double %7, i8* %8) {
%10 = tail call double* (i32, i32, ...) bitcast (double* (...)* @vector to double* (i32, i32, ...)*)(i32 1, i32 %3)
%11 = fsub double 1.000000e+00, %7
%12 = sitofp i32 %3 to double
%13 = fdiv double %11, %12
%14 = fsub double %13, %7
%15 = icmp slt i32 %3, 1
%16 = sext i32 %5 to i64
br i1 %15, label %118, label %17
17: ; preds = %9
%18 = getelementptr inbounds double*, double** %0, i64 %16
%19 = load double*, double** %18
%20 = add nuw i32 %3, 1
%21 = zext i32 %20 to i64
%22 = add nsw i64 %21, -1
%23 = icmp ult i64 %22, 4
br i1 %23, label %78, label %24
24: ; preds = %17
%25 = getelementptr double, double* %10, i64 1
%26 = getelementptr double, double* %10, i64 %21
%27 = getelementptr double, double* %2, i64 1
%28 = getelementptr double, double* %2, i64 %21
%29 = getelementptr double, double* %19, i64 1
%30 = getelementptr double, double* %19, i64 %21
%31 = icmp ult double* %25, %28
%32 = icmp ult double* %27, %26
%33 = and i1 %31, %32
%34 = icmp ult double* %25, %30
%35 = icmp ult double* %29, %26
%36 = and i1 %34, %35
%37 = or i1 %33, %36
br i1 %37, label %78, label %38
38: ; preds = %24
%39 = and i64 %22, -4
%40 = or i64 %39, 1
%41 = insertelement <2 x double> poison, double %14, i64 0
%42 = shufflevector <2 x double> %41, <2 x double> poison, <2 x i32> zeroinitializer
%43 = insertelement <2 x double> poison, double %14, i64 0
%44 = shufflevector <2 x double> %43, <2 x double> poison, <2 x i32> zeroinitializer
%45 = insertelement <2 x double> poison, double %13, i64 0
%46 = shufflevector <2 x double> %45, <2 x double> poison, <2 x i32> zeroinitializer
%47 = insertelement <2 x double> poison, double %13, i64 0
%48 = shufflevector <2 x double> %47, <2 x double> poison, <2 x i32> zeroinitializer
br label %49
49: ; preds = %49, %38
%50 = phi i64 [ 0, %38 ], [ %74, %49 ]
%51 = or i64 %50, 1
%52 = getelementptr inbounds double, double* %2, i64 %51
%53 = bitcast double* %52 to <2 x double>*
%54 = load <2 x double>, <2 x double>* %53
%55 = getelementptr inbounds double, double* %52, i64 2
%56 = bitcast double* %55 to <2 x double>*
%57 = load <2 x double>, <2 x double>* %56
%58 = getelementptr inbounds double, double* %19, i64 %51
%59 = bitcast double* %58 to <2 x double>*
%60 = load <2 x double>, <2 x double>* %59
%61 = getelementptr inbounds double, double* %58, i64 2
%62 = bitcast double* %61 to <2 x double>*
%63 = load <2 x double>, <2 x double>* %62
%64 = fneg <2 x double> %60
%65 = fneg <2 x double> %63
%66 = fmul <2 x double> %42, %64
%67 = fmul <2 x double> %44, %65
%68 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %54, <2 x double> %46, <2 x double> %66)
%69 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %57, <2 x double> %48, <2 x double> %67)
%70 = getelementptr inbounds double, double* %10, i64 %51
%71 = bitcast double* %70 to <2 x double>*
store <2 x double> %68, <2 x double>* %71
%72 = getelementptr inbounds double, double* %70, i64 2
%73 = bitcast double* %72 to <2 x double>*
store <2 x double> %69, <2 x double>* %73
%74 = add nuw i64 %50, 4
%75 = icmp eq i64 %74, %39
br i1 %75, label %76, label %49
76: ; preds = %49
%77 = icmp eq i64 %22, %39
br i1 %77, label %118, label %78
78: ; preds = %24, %17, %76
%79 = phi i64 [ 1, %24 ], [ 1, %17 ], [ %40, %76 ]
%80 = xor i64 %79, -1
%81 = and i64 %21, 1
%82 = icmp eq i64 %81, 0
br i1 %82, label %83, label %93
83: ; preds = %78
%84 = getelementptr inbounds double, double* %2, i64 %79
%85 = load double, double* %84
%86 = getelementptr inbounds double, double* %19, i64 %79
%87 = load double, double* %86
%88 = fneg double %87
%89 = fmul double %14, %88
%90 = tail call double @llvm.fmuladd.f64(double %85, double %13, double %89)
%91 = getelementptr inbounds double, double* %10, i64 %79
store double %90, double* %91
%92 = add nuw nsw i64 %79, 1
br label %93
93: ; preds = %83, %78
%94 = phi i64 [ %79, %78 ], [ %92, %83 ]
%95 = sub nsw i64 0, %21
%96 = icmp eq i64 %80, %95
br i1 %96, label %118, label %97
97: ; preds = %93, %97
%98 = phi i64 [ %116, %97 ], [ %94, %93 ]
%99 = getelementptr inbounds double, double* %2, i64 %98
%100 = load double, double* %99
%101 = getelementptr inbounds double, double* %19, i64 %98
%102 = load double, double* %101
%103 = fneg double %102
%104 = fmul double %14, %103
%105 = tail call double @llvm.fmuladd.f64(double %100, double %13, double %104)
%106 = getelementptr inbounds double, double* %10, i64 %98
store double %105, double* %106
%107 = add nuw nsw i64 %98, 1
%108 = getelementptr inbounds double, double* %2, i64 %107
%109 = load double, double* %108
%110 = getelementptr inbounds double, double* %19, i64 %107
%111 = load double, double* %110
%112 = fneg double %111
%113 = fmul double %14, %112
%114 = tail call double @llvm.fmuladd.f64(double %109, double %13, double %113)
%115 = getelementptr inbounds double, double* %10, i64 %107
store double %114, double* %115
%116 = add nuw nsw i64 %98, 2
%117 = icmp eq i64 %116, %21
br i1 %117, label %118, label %97
118: ; preds = %93, %97, %76, %9
%119 = tail call double %4(double* %10, i8* %8)
%120 = load i32, i32* %6
%121 = add nsw i32 %120, 1
store i32 %121, i32* %6
%122 = getelementptr inbounds double, double* %1, i64 %16
%123 = load double, double* %122
%124 = fcmp olt double %119, %123
br i1 %124, label %125, label %265
125: ; preds = %118
store double %119, double* %122
br i1 %15, label %265, label %126
126: ; preds = %125
%127 = getelementptr inbounds double*, double** %0, i64 %16
%128 = load double*, double** %127
%129 = add nuw i32 %3, 1
%130 = zext i32 %129 to i64
%131 = add nsw i64 %130, -1
%132 = icmp ult i64 %131, 2
br i1 %132, label %222, label %133
133: ; preds = %126
%134 = getelementptr double, double* %2, i64 1
%135 = getelementptr double, double* %2, i64 %130
%136 = getelementptr double, double* %128, i64 1
%137 = getelementptr double, double* %128, i64 %130
%138 = getelementptr double, double* %10, i64 1
%139 = getelementptr double, double* %10, i64 %130
%140 = icmp ult double* %134, %137
%141 = icmp ult double* %136, %135
%142 = and i1 %140, %141
%143 = icmp ult double* %134, %139
%144 = icmp ult double* %138, %135
%145 = and i1 %143, %144
%146 = or i1 %142, %145
%147 = icmp ult double* %136, %139
%148 = icmp ult double* %138, %137
%149 = and i1 %147, %148
%150 = or i1 %146, %149
br i1 %150, label %222, label %151
151: ; preds = %133
%152 = and i64 %131, -2
%153 = or i64 %131, 1
%154 = add nsw i64 %152, -2
%155 = lshr exact i64 %154, 1
%156 = add nuw i64 %155, 1
%157 = and i64 %156, 1
%158 = icmp eq i64 %154, 0
br i1 %158, label %201, label %159
159: ; preds = %151
%160 = and i64 %156, -2
br label %161
161: ; preds = %161, %159
%162 = phi i64 [ 0, %159 ], [ %196, %161 ]
%163 = phi i64 [ 0, %159 ], [ %197, %161 ]
%164 = or i64 %162, 1
%165 = getelementptr inbounds double, double* %10, i64 %164
%166 = bitcast double* %165 to <2 x double>*
%167 = load <2 x double>, <2 x double>* %166
%168 = getelementptr inbounds double, double* %128, i64 %164
%169 = bitcast double* %168 to <2 x double>*
%170 = load <2 x double>, <2 x double>* %169
%171 = fsub <2 x double> %167, %170
%172 = getelementptr inbounds double, double* %2, i64 %164
%173 = bitcast double* %172 to <2 x double>*
%174 = load <2 x double>, <2 x double>* %173
%175 = fadd <2 x double> %174, %171
%176 = bitcast double* %172 to <2 x double>*
store <2 x double> %175, <2 x double>* %176
%177 = bitcast double* %165 to <2 x double>*
%178 = load <2 x double>, <2 x double>* %177
%179 = bitcast double* %168 to <2 x double>*
store <2 x double> %178, <2 x double>* %179
%180 = or i64 %162, 3
%181 = getelementptr inbounds double, double* %10, i64 %180
%182 = bitcast double* %181 to <2 x double>*
%183 = load <2 x double>, <2 x double>* %182
%184 = getelementptr inbounds double, double* %128, i64 %180
%185 = bitcast double* %184 to <2 x double>*
%186 = load <2 x double>, <2 x double>* %185
%187 = fsub <2 x double> %183, %186
%188 = getelementptr inbounds double, double* %2, i64 %180
%189 = bitcast double* %188 to <2 x double>*
%190 = load <2 x double>, <2 x double>* %189
%191 = fadd <2 x double> %190, %187
%192 = bitcast double* %188 to <2 x double>*
store <2 x double> %191, <2 x double>* %192
%193 = bitcast double* %181 to <2 x double>*
%194 = load <2 x double>, <2 x double>* %193
%195 = bitcast double* %184 to <2 x double>*
store <2 x double> %194, <2 x double>* %195
%196 = add nuw i64 %162, 4
%197 = add nuw i64 %163, 2
%198 = icmp eq i64 %197, %160
br i1 %198, label %199, label %161
199: ; preds = %161
%200 = or i64 %196, 1
br label %201
201: ; preds = %199, %151
%202 = phi i64 [ 1, %151 ], [ %200, %199 ]
%203 = icmp eq i64 %157, 0
br i1 %203, label %220, label %204
204: ; preds = %201
%205 = getelementptr inbounds double, double* %10, i64 %202
%206 = bitcast double* %205 to <2 x double>*
%207 = load <2 x double>, <2 x double>* %206
%208 = getelementptr inbounds double, double* %128, i64 %202
%209 = bitcast double* %208 to <2 x double>*
%210 = load <2 x double>, <2 x double>* %209
%211 = fsub <2 x double> %207, %210
%212 = getelementptr inbounds double, double* %2, i64 %202
%213 = bitcast double* %212 to <2 x double>*
%214 = load <2 x double>, <2 x double>* %213
%215 = fadd <2 x double> %214, %211
%216 = bitcast double* %212 to <2 x double>*
store <2 x double> %215, <2 x double>* %216
%217 = bitcast double* %205 to <2 x double>*
%218 = load <2 x double>, <2 x double>* %217
%219 = bitcast double* %208 to <2 x double>*
store <2 x double> %218, <2 x double>* %219
br label %220
220: ; preds = %201, %204
%221 = icmp eq i64 %131, %152
br i1 %221, label %265, label %222
222: ; preds = %133, %126, %220
%223 = phi i64 [ 1, %133 ], [ 1, %126 ], [ %153, %220 ]
%224 = xor i64 %223, -1
%225 = and i64 %130, 1
%226 = icmp eq i64 %225, 0
br i1 %226, label %227, label %238
227: ; preds = %222
%228 = getelementptr inbounds double, double* %10, i64 %223
%229 = load double, double* %228
%230 = getelementptr inbounds double, double* %128, i64 %223
%231 = load double, double* %230
%232 = fsub double %229, %231
%233 = getelementptr inbounds double, double* %2, i64 %223
%234 = load double, double* %233
%235 = fadd double %234, %232
store double %235, double* %233
%236 = load double, double* %228
store double %236, double* %230
%237 = add nuw nsw i64 %223, 1
br label %238
238: ; preds = %227, %222
%239 = phi i64 [ %223, %222 ], [ %237, %227 ]
%240 = sub nsw i64 0, %130
%241 = icmp eq i64 %224, %240
br i1 %241, label %265, label %242
242: ; preds = %238, %242
%243 = phi i64 [ %263, %242 ], [ %239, %238 ]
%244 = getelementptr inbounds double, double* %10, i64 %243
%245 = load double, double* %244
%246 = getelementptr inbounds double, double* %128, i64 %243
%247 = load double, double* %246
%248 = fsub double %245, %247
%249 = getelementptr inbounds double, double* %2, i64 %243
%250 = load double, double* %249
%251 = fadd double %250, %248
store double %251, double* %249
%252 = load double, double* %244
store double %252, double* %246
%253 = add nuw nsw i64 %243, 1
%254 = getelementptr inbounds double, double* %10, i64 %253
%255 = load double, double* %254
%256 = getelementptr inbounds double, double* %128, i64 %253
%257 = load double, double* %256
%258 = fsub double %255, %257
%259 = getelementptr inbounds double, double* %2, i64 %253
%260 = load double, double* %259
%261 = fadd double %260, %258
store double %261, double* %259
%262 = load double, double* %254
store double %262, double* %256
%263 = add nuw nsw i64 %243, 2
%264 = icmp eq i64 %263, %130
br i1 %264, label %265, label %242
265: ; preds = %238, %242, %220, %125, %118
tail call void (double*, i32, i32, ...) bitcast (void (...)* @free_vector to void (double*, i32, i32, ...)*)(double* %10, i32 1, i32 %3)
ret double %119
}