double amotry(p, y, psum, ndim, funk, ihi, nfunk, fac)
double **p, *y, *psum, (*funk)(), fac;
int ndim, ihi, *nfunk;
{
  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);
  ++(*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    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  0xe9d(%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     11fe <amotry+0xde>
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    118c <amotry+0x6c>
mov    -0x28(%rbp),%rcx
mov    -0x60(%rbp),%rdi
mov    $0x0,%al
call   *%rcx
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    12c4 <amotry+0x1a4>
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     12bf <amotry+0x19f>
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    124f <amotry+0x12f>
jmp    12c4 <amotry+0x1a4>
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
xor    %eax,%eax
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    137c <amotry+0x25c>
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>
cs nopw 0x0(%rax,%rax,1)
nop
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    134d <amotry+0x22d>
and    %r8b,%r15b
jne    134d <amotry+0x22d>
and    %r10b,%dil
jne    134d <amotry+0x22d>
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    134d <amotry+0x22d>
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 (...)* %4, i32 %5, i32* %6, double %7) {
%9 = alloca double**
%10 = alloca double*
%11 = alloca double*
%12 = alloca i32
%13 = alloca double (...)*
%14 = alloca i32
%15 = alloca i32*
%16 = alloca double
%17 = alloca i32
%18 = alloca double
%19 = alloca double
%20 = alloca double
%21 = alloca double*
store double** %0, double*** %9
store double* %1, double** %10
store double* %2, double** %11
store i32 %3, i32* %12
store double (...)* %4, double (...)** %13
store i32 %5, i32* %14
store i32* %6, i32** %15
store double %7, double* %16
%22 = load i32, i32* %12
%23 = call double* (i32, i32, ...) bitcast (double* (...)* @vector to double* (i32, i32, ...)*)(i32 1, i32 %22)
store double* %23, double** %21
%24 = load double, double* %16
%25 = fsub double 1.000000e+00, %24
%26 = load i32, i32* %12
%27 = sitofp i32 %26 to double
%28 = fdiv double %25, %27
store double %28, double* %18
%29 = load double, double* %18
%30 = load double, double* %16
%31 = fsub double %29, %30
store double %31, double* %19
store i32 1, i32* %17
br label %32
32: ; preds = %60, %8
%33 = load i32, i32* %17
%34 = load i32, i32* %12
%35 = icmp sle i32 %33, %34
br i1 %35, label %36, label %63
36: ; preds = %32
%37 = load double*, double** %11
%38 = load i32, i32* %17
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds double, double* %37, i64 %39
%41 = load double, double* %40
%42 = load double, double* %18
%43 = load double**, double*** %9
%44 = load i32, i32* %14
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds double*, double** %43, i64 %45
%47 = load double*, double** %46
%48 = load i32, i32* %17
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds double, double* %47, i64 %49
%51 = load double, double* %50
%52 = load double, double* %19
%53 = fmul double %51, %52
%54 = fneg double %53
%55 = call double @llvm.fmuladd.f64(double %41, double %42, double %54)
%56 = load double*, double** %21
%57 = load i32, i32* %17
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds double, double* %56, i64 %58
store double %55, double* %59
br label %60
60: ; preds = %36
%61 = load i32, i32* %17
%62 = add nsw i32 %61, 1
store i32 %62, i32* %17
br label %32
63: ; preds = %32
%64 = load double (...)*, double (...)** %13
%65 = load double*, double** %21
%66 = bitcast double (...)* %64 to double (double*, ...)*
%67 = call double (double*, ...) %66(double* %65)
store double %67, double* %20
%68 = load i32*, i32** %15
%69 = load i32, i32* %68
%70 = add nsw i32 %69, 1
store i32 %70, i32* %68
%71 = load double, double* %20
%72 = load double*, double** %10
%73 = load i32, i32* %14
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds double, double* %72, i64 %74
%76 = load double, double* %75
%77 = fcmp olt double %71, %76
br i1 %77, label %78, label %127
78: ; preds = %63
%79 = load double, double* %20
%80 = load double*, double** %10
%81 = load i32, i32* %14
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds double, double* %80, i64 %82
store double %79, double* %83
store i32 1, i32* %17
br label %84
84: ; preds = %123, %78
%85 = load i32, i32* %17
%86 = load i32, i32* %12
%87 = icmp sle i32 %85, %86
br i1 %87, label %88, label %126
88: ; preds = %84
%89 = load double*, double** %21
%90 = load i32, i32* %17
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds double, double* %89, i64 %91
%93 = load double, double* %92
%94 = load double**, double*** %9
%95 = load i32, i32* %14
%96 = sext i32 %95 to i64
%97 = getelementptr inbounds double*, double** %94, i64 %96
%98 = load double*, double** %97
%99 = load i32, i32* %17
%100 = sext i32 %99 to i64
%101 = getelementptr inbounds double, double* %98, i64 %100
%102 = load double, double* %101
%103 = fsub double %93, %102
%104 = load double*, double** %11
%105 = load i32, i32* %17
%106 = sext i32 %105 to i64
%107 = getelementptr inbounds double, double* %104, i64 %106
%108 = load double, double* %107
%109 = fadd double %108, %103
store double %109, double* %107
%110 = load double*, double** %21
%111 = load i32, i32* %17
%112 = sext i32 %111 to i64
%113 = getelementptr inbounds double, double* %110, i64 %112
%114 = load double, double* %113
%115 = load double**, double*** %9
%116 = load i32, i32* %14
%117 = sext i32 %116 to i64
%118 = getelementptr inbounds double*, double** %115, i64 %117
%119 = load double*, double** %118
%120 = load i32, i32* %17
%121 = sext i32 %120 to i64
%122 = getelementptr inbounds double, double* %119, i64 %121
store double %114, double* %122
br label %123
123: ; preds = %88
%124 = load i32, i32* %17
%125 = add nsw i32 %124, 1
store i32 %125, i32* %17
br label %84
126: ; preds = %84
br label %127
127: ; preds = %126, %63
%128 = load double*, double** %21
%129 = load i32, i32* %12
%130 = load double, double* %20
ret double %130
}

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