#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 */
int /*<<< orphan*/ free(double *);
scalar_t__ malloc(int);
int /*<<< orphan*/ mmult(double *, double *, double *, int, int, int);
void bfgs_rec(double *H, int N, int iter, int m, double *jac, double *sk,
              double *yk, double *r) {
  int i, ptr, k, bound;
  double *q, *temp, *rho, *alpha, *temp1, *temp2, *qs, *beta;
  q = (double *)malloc(sizeof(double) * N);
  temp = (double *)malloc(sizeof(double) * 1);
  temp1 = (double *)malloc(sizeof(double) * N);
  temp2 = (double *)malloc(sizeof(double) * N);
  alpha = (double *)malloc(sizeof(double) * m);
  beta = (double *)malloc(sizeof(double) * m);
  rho = (double *)malloc(sizeof(double) * m);
  qs = (double *)malloc(sizeof(double) * m);
  k = 0;
  ptr = 0;
  i = 0;
  bound = 0;
  for (i = 0; i < N; ++i) {
    q[i] = jac[i];
    temp1[i] = 0.0;
    temp2[i] = 0.0;
  }
  if (iter <= m) {
    bound = iter;
  } else {
    bound = m;
  }
  for (i = 0; i < m; ++i) {
    alpha[i] = beta[i] = 0.0;
  }
  for (i = 0; i < m; ++i) {
    rho[i] = qs[i] = 0.0;
  }
  for (i = bound - 1; i >= 0; --i) {
    ptr = i * N;
    for (k = 0; k < N; ++k) {
      temp1[k] = yk[ptr + k];
      temp2[k] = sk[ptr + k];
    }
    mmult(temp1, temp2, temp, 1, N, 1);
    rho[i] = 1.0 / temp[0];
    mmult(temp2, q, alpha + i, 1, N, 1);
    alpha[i] *= rho[i];
    for (k = 0; k < N; ++k) {
      q[k] = q[k] - alpha[i] * yk[ptr + k];
    }
  }
  mmult(H, q, r, N, N, 1);
  for (i = 0; i < bound; ++i) {
    ptr = i * N;
    for (k = 0; k < N; ++k) {
      temp1[k] = yk[ptr + k];
    }
    mmult(temp1, r, beta + i, 1, N, 1);
    beta[i] *= rho[i];
    for (k = 0; k < N; ++k) {
      r[k] += sk[ptr + k] * (alpha[i] - beta[i]);
    }
  }
  free(q);
  free(temp);
  free(rho);
  free(alpha);
  free(temp1);
  free(temp2);
  free(qs);
  free(beta);
}


x86 assembly (clang, -O0):
<bfgs_rec>:
push   %rbp
mov    %rsp,%rbp
sub    $0x80,%rsp
mov    0x18(%rbp),%rax
mov    0x10(%rbp),%rax
mov    %rdi,-0x8(%rbp)
mov    %esi,-0xc(%rbp)
mov    %edx,-0x10(%rbp)
mov    %ecx,-0x14(%rbp)
mov    %r8,-0x20(%rbp)
mov    %r9,-0x28(%rbp)
movslq -0xc(%rbp),%rax
shl    $0x3,%rax
mov    %eax,%edi
call   1050 <malloc@plt>
mov    %rax,-0x40(%rbp)
mov    $0x8,%edi
call   1050 <malloc@plt>
mov    %rax,-0x48(%rbp)
movslq -0xc(%rbp),%rax
shl    $0x3,%rax
mov    %eax,%edi
call   1050 <malloc@plt>
mov    %rax,-0x60(%rbp)
movslq -0xc(%rbp),%rax
shl    $0x3,%rax
mov    %eax,%edi
call   1050 <malloc@plt>
mov    %rax,-0x68(%rbp)
movslq -0x14(%rbp),%rax
shl    $0x3,%rax
mov    %eax,%edi
call   1050 <malloc@plt>
mov    %rax,-0x58(%rbp)
movslq -0x14(%rbp),%rax
shl    $0x3,%rax
mov    %eax,%edi
call   1050 <malloc@plt>
mov    %rax,-0x78(%rbp)
movslq -0x14(%rbp),%rax
shl    $0x3,%rax
mov    %eax,%edi
call   1050 <malloc@plt>
mov    %rax,-0x50(%rbp)
movslq -0x14(%rbp),%rax
shl    $0x3,%rax
mov    %eax,%edi
call   1050 <malloc@plt>
mov    %rax,-0x70(%rbp)
movl   $0x0,-0x34(%rbp)
movl   $0x0,-0x30(%rbp)
movl   $0x0,-0x2c(%rbp)
movl   $0x0,-0x38(%rbp)
movl   $0x0,-0x2c(%rbp)
mov    -0x2c(%rbp),%eax
cmp    -0xc(%rbp),%eax
jge    1262 <bfgs_rec+0x132>
mov    -0x20(%rbp),%rax
movslq -0x2c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x40(%rbp),%rax
movslq -0x2c(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x60(%rbp),%rax
movslq -0x2c(%rbp),%rcx
xorps  %xmm0,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x68(%rbp),%rax
movslq -0x2c(%rbp),%rcx
xorps  %xmm0,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x2c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2c(%rbp)
jmp    120e <bfgs_rec+0xde>
mov    -0x10(%rbp),%eax
cmp    -0x14(%rbp),%eax
jg     1279 <bfgs_rec+0x149>
mov    -0x10(%rbp),%eax
mov    %eax,-0x38(%rbp)
jmp    127f <bfgs_rec+0x14f>
mov    -0x14(%rbp),%eax
mov    %eax,-0x38(%rbp)
movl   $0x0,-0x2c(%rbp)
mov    -0x2c(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    12c0 <bfgs_rec+0x190>
mov    -0x78(%rbp),%rax
movslq -0x2c(%rbp),%rcx
xorps  %xmm0,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x58(%rbp),%rax
movslq -0x2c(%rbp),%rcx
xorps  %xmm0,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x2c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2c(%rbp)
jmp    1286 <bfgs_rec+0x156>
movl   $0x0,-0x2c(%rbp)
mov    -0x2c(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    1301 <bfgs_rec+0x1d1>
mov    -0x70(%rbp),%rax
movslq -0x2c(%rbp),%rcx
xorps  %xmm0,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x50(%rbp),%rax
movslq -0x2c(%rbp),%rcx
xorps  %xmm0,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x2c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2c(%rbp)
jmp    12c7 <bfgs_rec+0x197>
mov    -0x38(%rbp),%eax
sub    $0x1,%eax
mov    %eax,-0x2c(%rbp)
cmpl   $0x0,-0x2c(%rbp)
jl     148c <bfgs_rec+0x35c>
mov    -0x2c(%rbp),%eax
imul   -0xc(%rbp),%eax
mov    %eax,-0x30(%rbp)
movl   $0x0,-0x34(%rbp)
mov    -0x34(%rbp),%eax
cmp    -0xc(%rbp),%eax
jge    137d <bfgs_rec+0x24d>
mov    0x10(%rbp),%rax
mov    -0x30(%rbp),%ecx
add    -0x34(%rbp),%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x60(%rbp),%rax
movslq -0x34(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x28(%rbp),%rax
mov    -0x30(%rbp),%ecx
add    -0x34(%rbp),%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x68(%rbp),%rax
movslq -0x34(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
jmp    1325 <bfgs_rec+0x1f5>
mov    -0x60(%rbp),%rdi
mov    -0x68(%rbp),%rsi
mov    -0x48(%rbp),%rdx
mov    -0xc(%rbp),%r8d
mov    $0x1,%r9d
mov    %r9d,%ecx
call   1040 <mmult@plt>
mov    -0x48(%rbp),%rax
movsd  0xc59(%rip),%xmm0
divsd  (%rax),%xmm0
mov    -0x50(%rbp),%rax
movslq -0x2c(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x68(%rbp),%rdi
mov    -0x40(%rbp),%rsi
mov    -0x58(%rbp),%rdx
movslq -0x2c(%rbp),%rax
shl    $0x3,%rax
add    %rax,%rdx
mov    -0xc(%rbp),%r8d
mov    $0x1,%r9d
mov    %r9d,%ecx
call   1040 <mmult@plt>
mov    -0x50(%rbp),%rax
movslq -0x2c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x58(%rbp),%rax
movslq -0x2c(%rbp),%rcx
mulsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,(%rax,%rcx,8)
movl   $0x0,-0x34(%rbp)
mov    -0x34(%rbp),%eax
cmp    -0xc(%rbp),%eax
jge    1479 <bfgs_rec+0x349>
mov    -0x40(%rbp),%rax
movslq -0x34(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm1
mov    -0x58(%rbp),%rax
movslq -0x2c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    0x10(%rbp),%rax
mov    -0x30(%rbp),%ecx
add    -0x34(%rbp),%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm2
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x40(%rbp),%rax
movslq -0x34(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
jmp    1407 <bfgs_rec+0x2d7>
jmp    147e <bfgs_rec+0x34e>
mov    -0x2c(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x2c(%rbp)
jmp    130a <bfgs_rec+0x1da>
mov    -0x8(%rbp),%rdi
mov    -0x40(%rbp),%rsi
mov    0x18(%rbp),%rdx
mov    -0xc(%rbp),%ecx
mov    -0xc(%rbp),%r8d
mov    $0x1,%r9d
call   1040 <mmult@plt>
movl   $0x0,-0x2c(%rbp)
mov    -0x2c(%rbp),%eax
cmp    -0x38(%rbp),%eax
jge    15c9 <bfgs_rec+0x499>
mov    -0x2c(%rbp),%eax
imul   -0xc(%rbp),%eax
mov    %eax,-0x30(%rbp)
movl   $0x0,-0x34(%rbp)
mov    -0x34(%rbp),%eax
cmp    -0xc(%rbp),%eax
jge    1507 <bfgs_rec+0x3d7>
mov    0x10(%rbp),%rax
mov    -0x30(%rbp),%ecx
add    -0x34(%rbp),%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x60(%rbp),%rax
movslq -0x34(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
jmp    14ce <bfgs_rec+0x39e>
mov    -0x60(%rbp),%rdi
mov    0x18(%rbp),%rsi
mov    -0x78(%rbp),%rdx
movslq -0x2c(%rbp),%rax
shl    $0x3,%rax
add    %rax,%rdx
mov    -0xc(%rbp),%r8d
mov    $0x1,%r9d
mov    %r9d,%ecx
call   1040 <mmult@plt>
mov    -0x50(%rbp),%rax
movslq -0x2c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x78(%rbp),%rax
movslq -0x2c(%rbp),%rcx
mulsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,(%rax,%rcx,8)
movl   $0x0,-0x34(%rbp)
mov    -0x34(%rbp),%eax
cmp    -0xc(%rbp),%eax
jge    15b6 <bfgs_rec+0x486>
mov    -0x28(%rbp),%rax
mov    -0x30(%rbp),%ecx
add    -0x34(%rbp),%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x58(%rbp),%rax
movslq -0x2c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm2
mov    -0x78(%rbp),%rax
movslq -0x2c(%rbp),%rcx
subsd  (%rax,%rcx,8),%xmm2
mov    0x18(%rbp),%rax
movslq -0x34(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
jmp    1556 <bfgs_rec+0x426>
jmp    15bb <bfgs_rec+0x48b>
mov    -0x2c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2c(%rbp)
jmp    14b1 <bfgs_rec+0x381>
mov    -0x40(%rbp),%rdi
call   1030 <free@plt>
mov    -0x48(%rbp),%rdi
call   1030 <free@plt>
mov    -0x50(%rbp),%rdi
call   1030 <free@plt>
mov    -0x58(%rbp),%rdi
call   1030 <free@plt>
mov    -0x60(%rbp),%rdi
call   1030 <free@plt>
mov    -0x68(%rbp),%rdi
call   1030 <free@plt>
mov    -0x70(%rbp),%rdi
call   1030 <free@plt>
mov    -0x78(%rbp),%rdi
call   1030 <free@plt>
add    $0x80,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<bfgs_rec>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x188,%rsp
mov    %r9,0x40(%rsp)
mov    %r8,%r14
mov    %ecx,%ebx
mov    %edx,0x34(%rsp)
mov    %esi,%ebp
mov    %rdi,0xf8(%rsp)
mov    0x1c8(%rsp),%rax
mov    %rax,0x60(%rsp)
mov    0x1c0(%rsp),%rax
mov    %rax,0xa0(%rsp)
lea    0x0(,%rbp,8),%r15d
mov    %r15d,%edi
call   1050 <malloc@plt>
mov    %rax,0x80(%rsp)
mov    $0x8,%edi
call   1050 <malloc@plt>
mov    %rax,0x120(%rsp)
mov    %r15d,%edi
call   1050 <malloc@plt>
mov    %rax,%r13
mov    %r15d,%edi
call   1050 <malloc@plt>
mov    %rax,%r15
mov    %rbx,0x28(%rsp)
lea    0x0(,%rbx,8),%ebx
mov    %ebx,%edi
call   1050 <malloc@plt>
mov    %rax,0x48(%rsp)
mov    %ebx,%edi
call   1050 <malloc@plt>
mov    %rax,%r12
mov    %ebx,%edi
call   1050 <malloc@plt>
mov    %rax,0xb8(%rsp)
mov    %ebx,%edi
mov    %r14,%rbx
call   1050 <malloc@plt>
mov    %r15,%r14
mov    0x80(%rsp),%rsi
mov    %ebp,%r11d
test   %ebp,%ebp
mov    %rbp,0x18(%rsp)
mov    %r15,0x50(%rsp)
mov    %r12,0x38(%rsp)
mov    %r11,0x20(%rsp)
mov    %rax,0x58(%rsp)
jle    14c2 <bfgs_rec+0x392>
cmp    $0x4,%ebp
jae    122c <bfgs_rec+0xfc>
xor    %ecx,%ecx
jmp    1444 <bfgs_rec+0x314>
lea    (%rsi,%r11,8),%rax
lea    0x0(,%r11,8),%rdx
add    %r13,%rdx
lea    (%r14,%r11,8),%rdi
mov    %rbx,%rcx
lea    (%rbx,%r11,8),%rbx
cmp    %rdx,%rsi
setb   0x10(%rsp)
cmp    %rax,%r13
setb   %r10b
cmp    %rdi,%rsi
setb   %r11b
cmp    %rax,%r14
setb   %r9b
cmp    %rbx,%rsi
setb   %r8b
cmp    %rcx,%rax
seta   %sil
cmp    %rdi,%r13
setb   %r12b
cmp    %rdx,%r14
mov    %r14,%rax
setb   %bpl
cmp    %rbx,%r13
setb   %r15b
cmp    %rcx,%rdx
seta   %r14b
cmp    %rbx,%rax
mov    %rcx,%rbx
setb   %dl
cmp    %rcx,%rdi
seta   %dil
xor    %ecx,%ecx
test   %r10b,0x10(%rsp)
jne    1417 <bfgs_rec+0x2e7>
mov    %esi,%eax
and    %r9b,%r11b
mov    0x80(%rsp),%rsi
jne    142b <bfgs_rec+0x2fb>
and    %al,%r8b
mov    0x20(%rsp),%r11
jne    1401 <bfgs_rec+0x2d1>
and    %bpl,%r12b
jne    1401 <bfgs_rec+0x2d1>
and    %r14b,%r15b
mov    0x18(%rsp),%rbp
mov    0x50(%rsp),%r14
mov    0x38(%rsp),%r12
jne    13fa <bfgs_rec+0x2ca>
and    %dil,%dl
mov    0x58(%rsp),%rax
jne    1444 <bfgs_rec+0x314>
mov    %r11d,%ecx
and    $0xfffffffc,%ecx
lea    -0x4(%rcx),%rdx
mov    %rdx,%r9
shr    $0x2,%r9
add    $0x1,%r9
test   %rdx,%rdx
je     13f0 <bfgs_rec+0x2c0>
movabs $0x7ffffffffffffffc,%rdi
ff ff 7f
or     $0x2,%rdi
and    %r9,%rdi
xor    %edx,%edx
xorpd  %xmm0,%xmm0
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
movups (%rbx,%rdx,8),%xmm1
movups 0x10(%rbx,%rdx,8),%xmm2
movups %xmm1,(%rsi,%rdx,8)
movups %xmm2,0x10(%rsi,%rdx,8)
movupd %xmm0,0x0(%r13,%rdx,8)
movupd %xmm0,0x10(%r13,%rdx,8)
movupd %xmm0,(%r14,%rdx,8)
movupd %xmm0,0x10(%r14,%rdx,8)
movupd 0x20(%rbx,%rdx,8),%xmm1
movupd 0x30(%rbx,%rdx,8),%xmm2
movupd %xmm1,0x20(%rsi,%rdx,8)
movupd %xmm2,0x30(%rsi,%rdx,8)
movupd %xmm0,0x20(%r13,%rdx,8)
movupd %xmm0,0x30(%r13,%rdx,8)
movupd %xmm0,0x20(%r14,%rdx,8)
movupd %xmm0,0x30(%r14,%rdx,8)
add    $0x8,%rdx
add    $0xfffffffffffffffe,%rdi
jne    1340 <bfgs_rec+0x210>
test   $0x1,%r9b
je     13e6 <bfgs_rec+0x2b6>
movupd (%rbx,%rdx,8),%xmm0
movupd 0x10(%rbx,%rdx,8),%xmm1
movupd %xmm0,(%rsi,%rdx,8)
movupd %xmm1,0x10(%rsi,%rdx,8)
xorpd  %xmm0,%xmm0
movupd %xmm0,0x0(%r13,%rdx,8)
movupd %xmm0,0x10(%r13,%rdx,8)
movupd %xmm0,(%r14,%rdx,8)
movupd %xmm0,0x10(%r14,%rdx,8)
cmp    %r11,%rcx
jne    1444 <bfgs_rec+0x314>
jmp    14c2 <bfgs_rec+0x392>
xor    %edx,%edx
test   $0x1,%r9b
jne    13b1 <bfgs_rec+0x281>
jmp    13e6 <bfgs_rec+0x2b6>
mov    0x58(%rsp),%rax
jmp    1444 <bfgs_rec+0x314>
mov    0x18(%rsp),%rbp
mov    0x50(%rsp),%r14
mov    0x38(%rsp),%r12
mov    0x58(%rsp),%rax
jmp    1444 <bfgs_rec+0x314>
mov    0x18(%rsp),%rbp
mov    0x50(%rsp),%r14
mov    0x80(%rsp),%rsi
jmp    1435 <bfgs_rec+0x305>
mov    0x18(%rsp),%rbp
mov    0x50(%rsp),%r14
mov    0x38(%rsp),%r12
mov    0x58(%rsp),%rax
mov    0x20(%rsp),%r11
mov    %rcx,%rdx
not    %rdx
test   $0x1,%r11b
je     146f <bfgs_rec+0x33f>
movsd  (%rbx,%rcx,8),%xmm0
movsd  %xmm0,(%rsi,%rcx,8)
movq   $0x0,0x0(%r13,%rcx,8)
movq   $0x0,(%r14,%rcx,8)
or     $0x1,%rcx
add    %r11,%rdx
je     14c2 <bfgs_rec+0x392>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
movsd  (%rbx,%rcx,8),%xmm0
movsd  %xmm0,(%rsi,%rcx,8)
movq   $0x0,0x0(%r13,%rcx,8)
movq   $0x0,(%r14,%rcx,8)
movsd  0x8(%rbx,%rcx,8),%xmm0
movsd  %xmm0,0x8(%rsi,%rcx,8)
movq   $0x0,0x8(%r13,%rcx,8)
movq   $0x0,0x8(%r14,%rcx,8)
add    $0x2,%rcx
cmp    %rcx,%r11
jne    1480 <bfgs_rec+0x350>
mov    0x34(%rsp),%r9d
mov    0x28(%rsp),%rcx
cmp    %ecx,%r9d
cmovg  %ecx,%r9d
test   %ecx,%ecx
mov    0x48(%rsp),%rbx
mov    0xb8(%rsp),%r15
jle    186b <bfgs_rec+0x73b>
mov    %ecx,%r10d
cmp    $0x4,%ecx
jb     150a <bfgs_rec+0x3da>
lea    (%rbx,%r10,8),%rcx
cmp    %rcx,%r12
jae    15a4 <bfgs_rec+0x474>
lea    (%r12,%r10,8),%rcx
cmp    %rcx,%rbx
jae    15a4 <bfgs_rec+0x474>
xor    %ecx,%ecx
mov    %rcx,%rdx
not    %rdx
add    %r10,%rdx
mov    %r10,%rdi
and    $0x3,%rdi
je     153a <bfgs_rec+0x40a>
xchg   %ax,%ax
movq   $0x0,(%r12,%rcx,8)
movq   $0x0,(%rbx,%rcx,8)
add    $0x1,%rcx
add    $0xffffffffffffffff,%rdi
jne    1520 <bfgs_rec+0x3f0>
cmp    $0x3,%rdx
jb     16a4 <bfgs_rec+0x574>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
movq   $0x0,(%r12,%rcx,8)
movq   $0x0,(%rbx,%rcx,8)
movq   $0x0,0x8(%r12,%rcx,8)
movq   $0x0,0x8(%rbx,%rcx,8)
movq   $0x0,0x10(%r12,%rcx,8)
movq   $0x0,0x10(%rbx,%rcx,8)
movq   $0x0,0x18(%r12,%rcx,8)
movq   $0x0,0x18(%rbx,%rcx,8)
add    $0x4,%rcx
cmp    %rcx,%r10
jne    1550 <bfgs_rec+0x420>
jmp    16a4 <bfgs_rec+0x574>
mov    %r9d,0x34(%rsp)
mov    %r10d,%ecx
and    $0xfffffffc,%ecx
lea    -0x4(%rcx),%rdi
mov    %rdi,%rdx
shr    $0x2,%rdx
add    $0x1,%rdx
mov    %edx,%r9d
and    $0x3,%r9d
cmp    $0xc,%rdi
jae    15d2 <bfgs_rec+0x4a2>
xor    %edi,%edi
jmp    1650 <bfgs_rec+0x520>
and    $0xfffffffffffffffc,%rdx
xor    %edi,%edi
xorpd  %xmm0,%xmm0
nopl   0x0(%rax)
movupd %xmm0,(%r12,%rdi,8)
movupd %xmm0,0x10(%r12,%rdi,8)
movupd %xmm0,(%rbx,%rdi,8)
movupd %xmm0,0x10(%rbx,%rdi,8)
movupd %xmm0,0x20(%r12,%rdi,8)
movupd %xmm0,0x30(%r12,%rdi,8)
movupd %xmm0,0x20(%rbx,%rdi,8)
movupd %xmm0,0x30(%rbx,%rdi,8)
movupd %xmm0,0x40(%r12,%rdi,8)
movupd %xmm0,0x50(%r12,%rdi,8)
movupd %xmm0,0x40(%rbx,%rdi,8)
movupd %xmm0,0x50(%rbx,%rdi,8)
movupd %xmm0,0x60(%r12,%rdi,8)
movupd %xmm0,0x70(%r12,%rdi,8)
movupd %xmm0,0x60(%rbx,%rdi,8)
movupd %xmm0,0x70(%rbx,%rdi,8)
add    $0x10,%rdi
add    $0xfffffffffffffffc,%rdx
jne    15e0 <bfgs_rec+0x4b0>
test   %r9,%r9
je     1691 <bfgs_rec+0x561>
lea    (%rbx,%rdi,8),%r11
add    $0x10,%r11
lea    (%r12,%rdi,8),%rdi
add    $0x10,%rdi
shl    $0x5,%r9
xor    %edx,%edx
xorpd  %xmm0,%xmm0
nop
movupd %xmm0,-0x10(%rdi,%rdx,1)
movupd %xmm0,(%rdi,%rdx,1)
movupd %xmm0,-0x10(%r11,%rdx,1)
movupd %xmm0,(%r11,%rdx,1)
add    $0x20,%rdx
cmp    %rdx,%r9
jne    1670 <bfgs_rec+0x540>
cmp    %r10,%rcx
mov    0x20(%rsp),%r11
mov    0x34(%rsp),%r9d
jne    150c <bfgs_rec+0x3dc>
mov    0x28(%rsp),%rcx
test   %ecx,%ecx
jle    186b <bfgs_rec+0x73b>
cmp    $0x4,%ecx
jb     16d0 <bfgs_rec+0x5a0>
lea    (%r15,%r10,8),%rcx
cmp    %rcx,%rax
jae    1774 <bfgs_rec+0x644>
lea    (%rax,%r10,8),%rcx
cmp    %rcx,%r15
jae    1774 <bfgs_rec+0x644>
xor    %ecx,%ecx
mov    %rcx,%rdx
not    %rdx
add    %r10,%rdx
mov    %r10,%rdi
and    $0x3,%rdi
je     170a <bfgs_rec+0x5da>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
movq   $0x0,(%rax,%rcx,8)
movq   $0x0,(%r15,%rcx,8)
add    $0x1,%rcx
add    $0xffffffffffffffff,%rdi
jne    16f0 <bfgs_rec+0x5c0>
cmp    $0x3,%rdx
jb     186b <bfgs_rec+0x73b>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
movq   $0x0,(%rax,%rcx,8)
movq   $0x0,(%r15,%rcx,8)
movq   $0x0,0x8(%rax,%rcx,8)
movq   $0x0,0x8(%r15,%rcx,8)
movq   $0x0,0x10(%rax,%rcx,8)
movq   $0x0,0x10(%r15,%rcx,8)
movq   $0x0,0x18(%rax,%rcx,8)
movq   $0x0,0x18(%r15,%rcx,8)
add    $0x4,%rcx
cmp    %rcx,%r10
jne    1720 <bfgs_rec+0x5f0>
jmp    186b <bfgs_rec+0x73b>
mov    %r9d,%r12d
mov    %r10d,%ecx
and    $0xfffffffc,%ecx
lea    -0x4(%rcx),%rdi
mov    %rdi,%rdx
shr    $0x2,%rdx
add    $0x1,%rdx
mov    %edx,%r9d
and    $0x3,%r9d
cmp    $0xc,%rdi
jae    17a0 <bfgs_rec+0x670>
xor    %edi,%edi
jmp    1820 <bfgs_rec+0x6f0>
and    $0xfffffffffffffffc,%rdx
xor    %edi,%edi
xorpd  %xmm0,%xmm0
nopw   0x0(%rax,%rax,1)
movupd %xmm0,(%rax,%rdi,8)
movupd %xmm0,0x10(%rax,%rdi,8)
movupd %xmm0,(%r15,%rdi,8)
movupd %xmm0,0x10(%r15,%rdi,8)
movupd %xmm0,0x20(%rax,%rdi,8)
movupd %xmm0,0x30(%rax,%rdi,8)
movupd %xmm0,0x20(%r15,%rdi,8)
movupd %xmm0,0x30(%r15,%rdi,8)
movupd %xmm0,0x40(%rax,%rdi,8)
movupd %xmm0,0x50(%rax,%rdi,8)
movupd %xmm0,0x40(%r15,%rdi,8)
movupd %xmm0,0x50(%r15,%rdi,8)
movupd %xmm0,0x60(%rax,%rdi,8)
movupd %xmm0,0x70(%rax,%rdi,8)
movupd %xmm0,0x60(%r15,%rdi,8)
movupd %xmm0,0x70(%r15,%rdi,8)
add    $0x10,%rdi
add    $0xfffffffffffffffc,%rdx
jne    17b0 <bfgs_rec+0x680>
test   %r9,%r9
je     185f <bfgs_rec+0x72f>
lea    (%r15,%rdi,8),%rbx
add    $0x10,%rbx
lea    (%rax,%rdi,8),%rdi
add    $0x10,%rdi
shl    $0x5,%r9
xor    %edx,%edx
xorpd  %xmm0,%xmm0
nop
movupd %xmm0,-0x10(%rdi,%rdx,1)
movupd %xmm0,(%rdi,%rdx,1)
movupd %xmm0,-0x10(%rbx,%rdx,1)
movupd %xmm0,(%rbx,%rdx,1)
add    $0x20,%rdx
cmp    %rdx,%r9
jne    1840 <bfgs_rec+0x710>
cmp    %r10,%rcx
mov    %r12d,%r9d
jne    16d2 <bfgs_rec+0x5a2>
test   %r9d,%r9d
jle    2561 <bfgs_rec+0x1431>
movabs $0x7ffffffffffffffc,%r12
ff ff 7f
mov    %r9d,0x34(%rsp)
mov    %r9d,%edi
mov    %rbp,%r8
movslq %r8d,%r15
mov    %rsi,%rax
add    $0x8,%rax
mov    %rax,0x160(%rsp)
lea    -0x1(%rdi),%r10
mov    %r10,0x158(%rsp)
imul   %r15,%r10
lea    -0x1(%r11),%rbx
lea    0x0(,%r11,8),%rcx
add    %r13,%rcx
lea    (%r14,%r11,8),%rdx
mov    %r11d,%eax
and    $0xfffffffc,%eax
mov    %rax,0x150(%rsp)
add    $0xfffffffffffffffc,%rax
mov    %rax,0x108(%rsp)
shr    $0x2,%rax
add    $0x1,%rax
mov    %rdx,0x168(%rsp)
cmp    %rdx,%r13
setb   %dl
mov    %rcx,0x118(%rsp)
cmp    %rcx,%r14
setb   %cl
and    %dl,%cl
mov    %cl,0xf(%rsp)
mov    %r12,0xf0(%rsp)
lea    0x2(%r12),%rdx
mov    %rax,%rcx
mov    %rax,0x100(%rsp)
and    %rax,%rdx
mov    %rdx,0x138(%rsp)
mov    %r11,%rax
neg    %rax
mov    %rax,0xd0(%rsp)
mov    %rbx,0x90(%rsp)
and    $0xfffffffffffffffc,%rbx
mov    %r15,0x128(%rsp)
lea    0x0(,%r15,8),%rax
mov    %rax,0x170(%rsp)
neg    %rax
mov    %rax,0x98(%rsp)
lea    (%rsi,%r11,8),%rax
mov    %rax,0x148(%rsp)
lea    0x1(%r10),%rax
mov    %rax,0x140(%rsp)
lea    (%r10,%r11,1),%rax
mov    %rax,0xd8(%rsp)
mov    %rbx,0xc0(%rsp)
lea    0x1(%rbx),%rax
mov    %rax,0x130(%rsp)
mov    0x40(%rsp),%rax
lea    0x30(%rax,%r10,8),%r15
mov    0xa0(%rsp),%r9
lea    0x30(%r9,%r10,8),%rsi
lea    0x8(%r9,%r10,8),%r12
lea    (%rax,%r10,8),%rbp
add    $0x8,%rbp
mov    %r10,0xc8(%rsp)
lea    (%r9,%r10,8),%rdx
xor    %ecx,%ecx
mov    %rdi,0x178(%rsp)
mov    %rdi,0x28(%rsp)
mov    %r13,0x180(%rsp)
jmp    1a2c <bfgs_rec+0x8fc>
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
mov    0x78(%rsp),%rcx
add    $0x1,%rcx
mov    0x98(%rsp),%rax
add    %rax,%r15
mov    0x68(%rsp),%rsi
add    %rax,%rsi
add    %rax,%r12
add    %rax,%rbp
add    %rax,%rdx
cmp    $0x2,%r14
mov    0x50(%rsp),%r14
mov    0x180(%rsp),%r13
jl     1fb8 <bfgs_rec+0xe88>
mov    %rdx,0x88(%rsp)
mov    0x28(%rsp),%rdx
mov    %rcx,0x78(%rsp)
mov    0x128(%rsp),%rbx
imul   %rbx,%rcx
mov    0xd8(%rsp),%rax
mov    %rcx,0xa8(%rsp)
sub    %rcx,%rax
mov    %rdx,0xe0(%rsp)
add    $0xffffffffffffffff,%rdx
mov    %rdx,0x28(%rsp)
imul   %rbx,%rdx
mov    %rdx,0x70(%rsp)
lea    (%r9,%rax,8),%rcx
mov    %rcx,0xb0(%rsp)
test   %r8d,%r8d
mov    %rsi,0x68(%rsp)
mov    %rbp,0x10(%rsp)
jle    1ce0 <bfgs_rec+0xbb0>
cmp    $0x4,%r8d
jae    1b40 <bfgs_rec+0xa10>
xor    %eax,%eax
mov    %rax,%rcx
test   $0x1,%r11b
je     1ad7 <bfgs_rec+0x9a7>
mov    0x70(%rsp),%rcx
add    %rax,%rcx
movsd  (%r9,%rcx,8),%xmm0
movsd  %xmm0,0x0(%r13,%rax,8)
mov    0x40(%rsp),%rdx
movsd  (%rdx,%rcx,8),%xmm0
movsd  %xmm0,(%r14,%rax,8)
mov    %rax,%rcx
or     $0x1,%rcx
not    %rax
cmp    0xd0(%rsp),%rax
je     1ce0 <bfgs_rec+0xbb0>
nopl   0x0(%rax,%rax,1)
movsd  -0x8(%r12,%rcx,8),%xmm0
movsd  %xmm0,0x0(%r13,%rcx,8)
movsd  -0x8(%rbp,%rcx,8),%xmm0
movsd  %xmm0,(%r14,%rcx,8)
movsd  (%r12,%rcx,8),%xmm0
movsd  %xmm0,0x8(%r13,%rcx,8)
movsd  0x0(%rbp,%rcx,8),%xmm0
movsd  %xmm0,0x8(%r14,%rcx,8)
add    $0x2,%rcx
cmp    %rcx,%r11
jne    1af0 <bfgs_rec+0x9c0>
jmp    1ce0 <bfgs_rec+0xbb0>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
mov    0xc8(%rsp),%rcx
sub    0xa8(%rsp),%rcx
mov    %r9,%r8
lea    (%r9,%rcx,8),%rsi
mov    0x40(%rsp),%rdx
lea    (%rdx,%rcx,8),%rdi
lea    (%rdx,%rax,8),%rcx
mov    0xb0(%rsp),%rbp
cmp    %rbp,%r13
setb   %al
mov    0x118(%rsp),%rbx
cmp    %rbx,%rsi
setb   %dl
and    %al,%dl
or     0xf(%rsp),%dl
cmp    %rcx,%r13
setb   %al
cmp    %rbx,%rdi
setb   %r11b
cmp    %rbp,%r14
setb   %r9b
mov    0x168(%rsp),%rbx
cmp    %rbx,%rsi
setb   %r10b
cmp    %rcx,%r14
setb   %cl
cmp    %rbx,%rdi
setb   %sil
test   %dl,%dl
jne    1f7e <bfgs_rec+0xe4e>
and    %r11b,%al
jne    1f7e <bfgs_rec+0xe4e>
and    %r10b,%r9b
mov    0x20(%rsp),%r11
jne    1fa4 <bfgs_rec+0xe74>
mov    $0x0,%eax
and    %sil,%cl
mov    0x68(%rsp),%rsi
mov    %r8,%r9
mov    0x18(%rsp),%r8
mov    0x10(%rsp),%rbp
jne    1aa2 <bfgs_rec+0x972>
cmpq   $0x0,0x108(%rsp)
je     1f69 <bfgs_rec+0xe39>
mov    0x138(%rsp),%rcx
xor    %eax,%eax
xchg   %ax,%ax
movups -0x30(%rsi,%rax,8),%xmm0
movups -0x20(%rsi,%rax,8),%xmm1
movups %xmm0,0x0(%r13,%rax,8)
movups %xmm1,0x10(%r13,%rax,8)
movups -0x30(%r15,%rax,8),%xmm0
movups -0x20(%r15,%rax,8),%xmm1
movups %xmm0,(%r14,%rax,8)
movups %xmm1,0x10(%r14,%rax,8)
movups -0x10(%rsi,%rax,8),%xmm0
movups (%rsi,%rax,8),%xmm1
movups %xmm0,0x20(%r13,%rax,8)
movups %xmm1,0x30(%r13,%rax,8)
movupd -0x10(%r15,%rax,8),%xmm0
movupd (%r15,%rax,8),%xmm1
movupd %xmm0,0x20(%r14,%rax,8)
movupd %xmm1,0x30(%r14,%rax,8)
add    $0x8,%rax
add    $0xfffffffffffffffe,%rcx
jne    1c10 <bfgs_rec+0xae0>
testb  $0x1,0x100(%rsp)
01
je     1cbd <bfgs_rec+0xb8d>
mov    0x70(%rsp),%rcx
add    %rax,%rcx
movups (%r9,%rcx,8),%xmm0
movups 0x10(%r9,%rcx,8),%xmm1
movups %xmm0,0x0(%r13,%rax,8)
movups %xmm1,0x10(%r13,%rax,8)
mov    0x40(%rsp),%rdx
movupd (%rdx,%rcx,8),%xmm0
movupd 0x10(%rdx,%rcx,8),%xmm1
movupd %xmm0,(%r14,%rax,8)
movupd %xmm1,0x10(%r14,%rax,8)
mov    0x150(%rsp),%rcx
mov    %rcx,%rax
cmp    %r11,%rcx
jne    1aa2 <bfgs_rec+0x972>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
mov    %r13,%rdi
mov    %r14,%rsi
mov    0x120(%rsp),%rbx
mov    %rbx,%rdx
mov    $0x1,%ecx
mov    $0x1,%r9d
call   1040 <mmult@plt>
movsd  0x12f7(%rip),%xmm0
divsd  (%rbx),%xmm0
mov    %r15,0xe8(%rsp)
mov    0xb8(%rsp),%r15
mov    0x28(%rsp),%r14
movsd  %xmm0,(%r15,%r14,8)
mov    0x48(%rsp),%r13
lea    0x0(%r13,%r14,8),%rbp
mov    0x50(%rsp),%rdi
mov    0x80(%rsp),%rbx
mov    %rbx,%rsi
mov    %rbp,%rdx
mov    $0x1,%ecx
mov    0x18(%rsp),%r8
mov    $0x1,%r9d
call   1040 <mmult@plt>
mov    %rbp,%rdi
mov    0xa0(%rsp),%r9
mov    0x10(%rsp),%rbp
mov    0x20(%rsp),%r11
mov    0x18(%rsp),%r8
movsd  (%r15,%r14,8),%xmm0
mov    0xe8(%rsp),%r15
mulsd  0x0(%r13,%r14,8),%xmm0
movsd  %xmm0,0x0(%r13,%r14,8)
test   %r8d,%r8d
mov    0x88(%rsp),%rdx
mov    0xe0(%rsp),%r14
jle    19f0 <bfgs_rec+0x8c0>
mov    0x70(%rsp),%rax
mulsd  (%r9,%rax,8),%xmm0
movsd  (%rbx),%xmm1
subsd  %xmm0,%xmm1
movsd  %xmm1,(%rbx)
cmp    $0x1,%r8d
je     19f0 <bfgs_rec+0x8c0>
mov    $0x1,%eax
cmpq   $0x4,0x90(%rsp)
jae    1e5f <bfgs_rec+0xd2f>
mov    %rax,%rcx
test   $0x1,%r11b
jne    1e0b <bfgs_rec+0xcdb>
movsd  (%rdi),%xmm0
mov    0x70(%rsp),%rcx
add    %rax,%rcx
mulsd  (%r9,%rcx,8),%xmm0
movsd  (%rbx,%rax,8),%xmm1
subsd  %xmm0,%xmm1
movsd  %xmm1,(%rbx,%rax,8)
lea    0x1(%rax),%rcx
not    %rax
cmp    0xd0(%rsp),%rax
je     19f0 <bfgs_rec+0x8c0>
nopl   0x0(%rax)
movsd  (%rdi),%xmm0
mulsd  (%rdx,%rcx,8),%xmm0
movsd  (%rbx,%rcx,8),%xmm1
subsd  %xmm0,%xmm1
movsd  0x8(%rbx,%rcx,8),%xmm0
movsd  %xmm1,(%rbx,%rcx,8)
movsd  (%rdi),%xmm1
mulsd  0x8(%rdx,%rcx,8),%xmm1
subsd  %xmm1,%xmm0
movsd  %xmm0,0x8(%rbx,%rcx,8)
add    $0x2,%rcx
cmp    %rcx,%r11
jne    1e20 <bfgs_rec+0xcf0>
jmp    19f0 <bfgs_rec+0x8c0>
mov    %rdi,0x110(%rsp)
mov    0x158(%rsp),%rcx
sub    0x78(%rsp),%rcx
mov    0x140(%rsp),%rdx
sub    0xa8(%rsp),%rdx
lea    0x0(,%rcx,8),%rcx
add    %r13,%rcx
lea    0x0(%r13,%r14,8),%rsi
mov    %r9,%r13
lea    (%r9,%rdx,8),%r9
mov    0x160(%rsp),%rdi
cmp    %rsi,%rdi
setb   %r10b
mov    0x148(%rsp),%rsi
cmp    %rsi,%rcx
setb   %dl
cmp    0xb0(%rsp),%rdi
setb   %cl
cmp    %rsi,%r9
setb   %dil
test   %dl,%r10b
jne    1f87 <bfgs_rec+0xe57>
and    %dil,%cl
mov    0x10(%rsp),%rbp
mov    %r13,%r9
mov    0x88(%rsp),%rdx
mov    0x110(%rsp),%rdi
jne    1dde <bfgs_rec+0xcae>
movsd  (%rdi),%xmm0
unpcklpd %xmm0,%xmm0
xorpd  0x110c(%rip),%xmm0
xor    %eax,%eax
mov    0xc0(%rsp),%rcx
xchg   %ax,%ax
movupd 0x8(%rbx,%rax,8),%xmm1
movupd 0x18(%rbx,%rax,8),%xmm2
movupd (%r12,%rax,8),%xmm3
movupd 0x10(%r12,%rax,8),%xmm4
mulpd  %xmm0,%xmm3
addpd  %xmm1,%xmm3
mulpd  %xmm0,%xmm4
addpd  %xmm2,%xmm4
movupd %xmm3,0x8(%rbx,%rax,8)
movupd %xmm4,0x18(%rbx,%rax,8)
add    $0x4,%rax
cmp    %rax,%rcx
jne    1f10 <bfgs_rec+0xde0>
mov    0x130(%rsp),%rax
cmp    %rcx,0x90(%rsp)
je     19f0 <bfgs_rec+0x8c0>
jmp    1dde <bfgs_rec+0xcae>
xor    %eax,%eax
testb  $0x1,0x100(%rsp)
01
jne    1c81 <bfgs_rec+0xb51>
jmp    1cbd <bfgs_rec+0xb8d>
xor    %eax,%eax
mov    0x20(%rsp),%r11
jmp    1fa6 <bfgs_rec+0xe76>
mov    0x10(%rsp),%rbp
mov    %r13,%r9
mov    0x88(%rsp),%rdx
mov    0x110(%rsp),%rdi
jmp    1dde <bfgs_rec+0xcae>
xor    %eax,%eax
mov    %r8,%r9
mov    0x18(%rsp),%r8
mov    0x10(%rsp),%rbp
jmp    1aa2 <bfgs_rec+0x972>
mov    0xf8(%rsp),%rdi
mov    %rbx,%rsi
mov    0x60(%rsp),%rbx
mov    %rbx,%rdx
mov    %r8d,%ecx
mov    $0x1,%r9d
call   1040 <mmult@plt>
mov    0x20(%rsp),%r9
mov    0x48(%rsp),%rsi
mov    0x18(%rsp),%r8
cmpl   $0x0,0x34(%rsp)
jle    2583 <bfgs_rec+0x1453>
lea    0x8(%rbx),%rax
mov    %rax,0xe8(%rsp)
lea    (%rbx,%r9,8),%rax
mov    %rax,0xe0(%rsp)
mov    %r9d,%eax
and    $0xfffffffc,%eax
mov    %rax,0xb0(%rsp)
mov    0x100(%rsp),%rax
mov    %eax,%edx
and    $0x3,%edx
and    %rax,0xf0(%rsp)
mov    %r9d,%eax
and    $0x3,%eax
mov    %rax,0x70(%rsp)
mov    0xc0(%rsp),%rax
add    $0x1,%rax
mov    %rax,0xc8(%rsp)
mov    0xa0(%rsp),%rcx
lea    0x70(%rcx),%r12
lea    0x10(%r13),%rax
mov    %rax,0xd8(%rsp)
lea    0x10(%rcx),%r14
mov    %rdx,0xa8(%rsp)
shl    $0x5,%rdx
mov    %rdx,0x98(%rsp)
mov    0x40(%rsp),%rax
lea    0x18(%rax),%rbx
xor    %r15d,%r15d
mov    %rax,%rdi
mov    %rcx,%rbp
jmp    20d1 <bfgs_rec+0xfa1>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
add    $0x1,%r15
mov    0x170(%rsp),%rax
add    %rax,%r12
add    %rax,%r14
mov    0x88(%rsp),%rbp
add    %rax,%rbp
add    %rax,%rbx
add    %rax,%rdi
cmp    0x178(%rsp),%r15
je     2583 <bfgs_rec+0x1453>
mov    %rdi,0x10(%rsp)
mov    %rbx,0x28(%rsp)
mov    %r15,%rax
imul   0x128(%rsp),%rax
mov    %rax,%rcx
mov    %rax,0x68(%rsp)
lea    (%rax,%r9,1),%rdi
test   %r8d,%r8d
jle    22d0 <bfgs_rec+0x11a0>
cmp    $0x4,%r8d
jb     212e <bfgs_rec+0xffe>
mov    0xa0(%rsp),%rcx
lea    (%rcx,%rdi,8),%rax
cmp    %rax,%r13
jae    21c5 <bfgs_rec+0x1095>
mov    0x68(%rsp),%rax
lea    (%rcx,%rax,8),%rax
cmp    0x118(%rsp),%rax
jae    21c5 <bfgs_rec+0x1095>
xor    %eax,%eax
mov    %rax,%rcx
not    %rcx
add    %r9,%rcx
mov    0x70(%rsp),%rdx
test   %rdx,%rdx
je     2167 <bfgs_rec+0x1037>
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
movsd  0x0(%rbp,%rax,8),%xmm0
movsd  %xmm0,0x0(%r13,%rax,8)
add    $0x1,%rax
add    $0xffffffffffffffff,%rdx
jne    2150 <bfgs_rec+0x1020>
cmp    $0x3,%rcx
jb     22d0 <bfgs_rec+0x11a0>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
movsd  -0x10(%r14,%rax,8),%xmm0
movsd  %xmm0,0x0(%r13,%rax,8)
movsd  -0x8(%r14,%rax,8),%xmm0
movsd  %xmm0,0x8(%r13,%rax,8)
movsd  (%r14,%rax,8),%xmm0
movsd  %xmm0,0x10(%r13,%rax,8)
movsd  0x8(%r14,%rax,8),%xmm0
movsd  %xmm0,0x18(%r13,%rax,8)
add    $0x4,%rax
cmp    %rax,%r9
jne    2180 <bfgs_rec+0x1050>
jmp    22d0 <bfgs_rec+0x11a0>
cmpq   $0xc,0x108(%rsp)
jae    21df <bfgs_rec+0x10af>
xor    %eax,%eax
mov    0x98(%rsp),%rsi
jmp    226d <bfgs_rec+0x113d>
mov    0xf0(%rsp),%rcx
xor    %eax,%eax
mov    0x98(%rsp),%rsi
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
movups -0x70(%r12,%rax,8),%xmm0
movups -0x60(%r12,%rax,8),%xmm1
movups %xmm0,0x0(%r13,%rax,8)
movups %xmm1,0x10(%r13,%rax,8)
movups -0x50(%r12,%rax,8),%xmm0
movups -0x40(%r12,%rax,8),%xmm1
movups %xmm0,0x20(%r13,%rax,8)
movups %xmm1,0x30(%r13,%rax,8)
movups -0x30(%r12,%rax,8),%xmm0
movups -0x20(%r12,%rax,8),%xmm1
movups %xmm0,0x40(%r13,%rax,8)
movups %xmm1,0x50(%r13,%rax,8)
movupd -0x10(%r12,%rax,8),%xmm0
movupd (%r12,%rax,8),%xmm1
movupd %xmm0,0x60(%r13,%rax,8)
movupd %xmm1,0x70(%r13,%rax,8)
add    $0x10,%rax
add    $0xfffffffffffffffc,%rcx
jne    2200 <bfgs_rec+0x10d0>
cmpq   $0x0,0xa8(%rsp)
je     22af <bfgs_rec+0x117f>
mov    0xd8(%rsp),%rcx
lea    (%rcx,%rax,8),%rcx
lea    (%r14,%rax,8),%rax
xor    %edx,%edx
nopw   0x0(%rax,%rax,1)
movupd -0x10(%rax,%rdx,1),%xmm0
movupd (%rax,%rdx,1),%xmm1
movupd %xmm0,-0x10(%rcx,%rdx,1)
movupd %xmm1,(%rcx,%rdx,1)
add    $0x20,%rdx
cmp    %rdx,%rsi
jne    2290 <bfgs_rec+0x1160>
mov    0xb0(%rsp),%rcx
mov    %rcx,%rax
cmp    %r9,%rcx
jne    2130 <bfgs_rec+0x1000>
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
mov    %rdi,0x78(%rsp)
mov    %rbp,0x88(%rsp)
mov    0x38(%rsp),%rbx
lea    (%rbx,%r15,8),%rbp
mov    %r13,%rdi
mov    0x60(%rsp),%rsi
mov    %rbp,%rdx
mov    $0x1,%ecx
mov    $0x1,%r9d
call   1040 <mmult@plt>
mov    0x20(%rsp),%r9
mov    0x60(%rsp),%rdx
mov    0x18(%rsp),%r8
mov    0xb8(%rsp),%rax
movsd  (%rax,%r15,8),%xmm0
mulsd  (%rbx,%r15,8),%xmm0
movsd  %xmm0,(%rbx,%r15,8)
test   %r8d,%r8d
mov    0x48(%rsp),%rsi
mov    0x28(%rsp),%rbx
mov    0x10(%rsp),%rdi
jle    20a0 <bfgs_rec+0xf70>
movsd  (%rsi,%r15,8),%xmm1
subsd  %xmm0,%xmm1
mov    0x40(%rsp),%rax
mov    0x68(%rsp),%rcx
mulsd  (%rax,%rcx,8),%xmm1
addsd  (%rdx),%xmm1
movsd  %xmm1,(%rdx)
cmp    $0x1,%r8d
je     20a0 <bfgs_rec+0xf70>
mov    $0x1,%eax
cmpq   $0x4,0x90(%rsp)
jae    2415 <bfgs_rec+0x12e5>
mov    %rax,%rcx
test   $0x1,%r9b
jne    23b6 <bfgs_rec+0x1286>
mov    0x68(%rsp),%r10
add    %rax,%r10
movsd  (%rsi,%r15,8),%xmm0
subsd  0x0(%rbp),%xmm0
mov    0x40(%rsp),%rcx
mulsd  (%rcx,%r10,8),%xmm0
addsd  (%rdx,%rax,8),%xmm0
movsd  %xmm0,(%rdx,%rax,8)
lea    0x1(%rax),%rcx
not    %rax
cmp    0xd0(%rsp),%rax
je     20a0 <bfgs_rec+0xf70>
nopw   0x0(%rax,%rax,1)
movsd  (%rsi,%r15,8),%xmm0
subsd  0x0(%rbp),%xmm0
mulsd  (%rdi,%rcx,8),%xmm0
addsd  (%rdx,%rcx,8),%xmm0
movsd  %xmm0,(%rdx,%rcx,8)
movsd  (%rsi,%r15,8),%xmm0
subsd  0x0(%rbp),%xmm0
mulsd  0x8(%rdi,%rcx,8),%xmm0
addsd  0x8(%rdx,%rcx,8),%xmm0
movsd  %xmm0,0x8(%rdx,%rcx,8)
add    $0x2,%rcx
cmp    %rcx,%r9
jne    23d0 <bfgs_rec+0x12a0>
jmp    20a0 <bfgs_rec+0xf70>
mov    0x38(%rsp),%rcx
lea    (%rcx,%r15,8),%rcx
add    $0x8,%rcx
mov    0x40(%rsp),%rdi
mov    0x68(%rsp),%rdx
lea    0x8(%rdi,%rdx,8),%rdx
mov    0x78(%rsp),%rbx
lea    (%rdi,%rbx,8),%rbx
lea    (%rsi,%r15,8),%rdi
mov    %rdi,0x78(%rsp)
lea    (%rsi,%r15,8),%rdi
add    $0x8,%rdi
mov    0xe8(%rsp),%rsi
cmp    %rcx,%rsi
setb   %r9b
mov    0xe0(%rsp),%rcx
cmp    %rcx,%rbp
setb   %r10b
cmp    %rbx,%rsi
setb   %r11b
cmp    %rcx,%rdx
setb   %bl
cmp    %rdi,%rsi
setb   %dl
cmp    %rcx,0x78(%rsp)
setb   %sil
test   %r10b,%r9b
jne    2537 <bfgs_rec+0x1407>
and    %bl,%r11b
mov    0x20(%rsp),%r9
jne    2548 <bfgs_rec+0x1418>
and    %sil,%dl
mov    0x60(%rsp),%rdx
mov    0x48(%rsp),%rsi
mov    0x28(%rsp),%rbx
mov    0x10(%rsp),%rdi
jne    2381 <bfgs_rec+0x1251>
movsd  (%rsi,%r15,8),%xmm0
subsd  0x0(%rbp),%xmm0
unpcklpd %xmm0,%xmm0
xor    %eax,%eax
mov    0xc0(%rsp),%rcx
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
movupd -0x10(%rbx,%rax,8),%xmm1
movupd (%rbx,%rax,8),%xmm2
movupd 0x8(%rdx,%rax,8),%xmm3
movupd 0x18(%rdx,%rax,8),%xmm4
mulpd  %xmm0,%xmm1
addpd  %xmm3,%xmm1
mulpd  %xmm0,%xmm2
addpd  %xmm4,%xmm2
movupd %xmm1,0x8(%rdx,%rax,8)
movupd %xmm2,0x18(%rdx,%rax,8)
add    $0x4,%rax
cmp    %rax,%rcx
jne    24e0 <bfgs_rec+0x13b0>
mov    0xc8(%rsp),%rax
cmp    %rcx,0x90(%rsp)
je     20a0 <bfgs_rec+0xf70>
jmp    2381 <bfgs_rec+0x1251>
mov    0x60(%rsp),%rdx
mov    0x48(%rsp),%rsi
mov    0x20(%rsp),%r9
jmp    2552 <bfgs_rec+0x1422>
mov    0x60(%rsp),%rdx
mov    0x48(%rsp),%rsi
mov    0x28(%rsp),%rbx
mov    0x10(%rsp),%rdi
jmp    2381 <bfgs_rec+0x1251>
mov    0xf8(%rsp),%rdi
mov    0x60(%rsp),%rdx
mov    %ebp,%ecx
mov    %ebp,%r8d
mov    $0x1,%r9d
call   1040 <mmult@plt>
mov    0x48(%rsp),%rsi
mov    0x80(%rsp),%rdi
mov    %rsi,%rbx
call   1030 <free@plt>
mov    0x120(%rsp),%rdi
call   1030 <free@plt>
mov    0xb8(%rsp),%rdi
call   1030 <free@plt>
mov    %rbx,%rdi
call   1030 <free@plt>
mov    %r13,%rdi
call   1030 <free@plt>
mov    0x50(%rsp),%rdi
call   1030 <free@plt>
mov    0x58(%rsp),%rdi
call   1030 <free@plt>
mov    0x38(%rsp),%rdi
add    $0x188,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1030 <free@plt>

LLVM IR (-O0):
define void @bfgs_rec(double* %0, i32 %1, i32 %2, i32 %3, double* %4, double* %5, double* %6, double* %7) {
%9 = alloca double*
%10 = alloca i32
%11 = alloca i32
%12 = alloca i32
%13 = alloca double*
%14 = alloca double*
%15 = alloca double*
%16 = alloca double*
%17 = alloca i32
%18 = alloca i32
%19 = alloca i32
%20 = alloca i32
%21 = alloca double*
%22 = alloca double*
%23 = alloca double*
%24 = alloca double*
%25 = alloca double*
%26 = alloca double*
%27 = alloca double*
%28 = alloca double*
store double* %0, double** %9
store i32 %1, i32* %10
store i32 %2, i32* %11
store i32 %3, i32* %12
store double* %4, double** %13
store double* %5, double** %14
store double* %6, double** %15
store double* %7, double** %16
%29 = load i32, i32* %10
%30 = sext i32 %29 to i64
%31 = mul i64 8, %30
%32 = trunc i64 %31 to i32
%33 = call i64 @malloc(i32 %32)
%34 = inttoptr i64 %33 to double*
store double* %34, double** %21
%35 = call i64 @malloc(i32 8)
%36 = inttoptr i64 %35 to double*
store double* %36, double** %22
%37 = load i32, i32* %10
%38 = sext i32 %37 to i64
%39 = mul i64 8, %38
%40 = trunc i64 %39 to i32
%41 = call i64 @malloc(i32 %40)
%42 = inttoptr i64 %41 to double*
store double* %42, double** %25
%43 = load i32, i32* %10
%44 = sext i32 %43 to i64
%45 = mul i64 8, %44
%46 = trunc i64 %45 to i32
%47 = call i64 @malloc(i32 %46)
%48 = inttoptr i64 %47 to double*
store double* %48, double** %26
%49 = load i32, i32* %12
%50 = sext i32 %49 to i64
%51 = mul i64 8, %50
%52 = trunc i64 %51 to i32
%53 = call i64 @malloc(i32 %52)
%54 = inttoptr i64 %53 to double*
store double* %54, double** %24
%55 = load i32, i32* %12
%56 = sext i32 %55 to i64
%57 = mul i64 8, %56
%58 = trunc i64 %57 to i32
%59 = call i64 @malloc(i32 %58)
%60 = inttoptr i64 %59 to double*
store double* %60, double** %28
%61 = load i32, i32* %12
%62 = sext i32 %61 to i64
%63 = mul i64 8, %62
%64 = trunc i64 %63 to i32
%65 = call i64 @malloc(i32 %64)
%66 = inttoptr i64 %65 to double*
store double* %66, double** %23
%67 = load i32, i32* %12
%68 = sext i32 %67 to i64
%69 = mul i64 8, %68
%70 = trunc i64 %69 to i32
%71 = call i64 @malloc(i32 %70)
%72 = inttoptr i64 %71 to double*
store double* %72, double** %27
store i32 0, i32* %19
store i32 0, i32* %18
store i32 0, i32* %17
store i32 0, i32* %20
store i32 0, i32* %17
br label %73
73: ; preds = %95, %8
%74 = load i32, i32* %17
%75 = load i32, i32* %10
%76 = icmp slt i32 %74, %75
br i1 %76, label %77, label %98
77: ; preds = %73
%78 = load double*, double** %13
%79 = load i32, i32* %17
%80 = sext i32 %79 to i64
%81 = getelementptr inbounds double, double* %78, i64 %80
%82 = load double, double* %81
%83 = load double*, double** %21
%84 = load i32, i32* %17
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds double, double* %83, i64 %85
store double %82, double* %86
%87 = load double*, double** %25
%88 = load i32, i32* %17
%89 = sext i32 %88 to i64
%90 = getelementptr inbounds double, double* %87, i64 %89
store double 0.000000e+00, double* %90
%91 = load double*, double** %26
%92 = load i32, i32* %17
%93 = sext i32 %92 to i64
%94 = getelementptr inbounds double, double* %91, i64 %93
store double 0.000000e+00, double* %94
br label %95
95: ; preds = %77
%96 = load i32, i32* %17
%97 = add nsw i32 %96, 1
store i32 %97, i32* %17
br label %73
98: ; preds = %73
%99 = load i32, i32* %11
%100 = load i32, i32* %12
%101 = icmp sle i32 %99, %100
br i1 %101, label %102, label %104
102: ; preds = %98
%103 = load i32, i32* %11
store i32 %103, i32* %20
br label %106
104: ; preds = %98
%105 = load i32, i32* %12
store i32 %105, i32* %20
br label %106
106: ; preds = %104, %102
store i32 0, i32* %17
br label %107
107: ; preds = %120, %106
%108 = load i32, i32* %17
%109 = load i32, i32* %12
%110 = icmp slt i32 %108, %109
br i1 %110, label %111, label %123
111: ; preds = %107
%112 = load double*, double** %28
%113 = load i32, i32* %17
%114 = sext i32 %113 to i64
%115 = getelementptr inbounds double, double* %112, i64 %114
store double 0.000000e+00, double* %115
%116 = load double*, double** %24
%117 = load i32, i32* %17
%118 = sext i32 %117 to i64
%119 = getelementptr inbounds double, double* %116, i64 %118
store double 0.000000e+00, double* %119
br label %120
120: ; preds = %111
%121 = load i32, i32* %17
%122 = add nsw i32 %121, 1
store i32 %122, i32* %17
br label %107
123: ; preds = %107
store i32 0, i32* %17
br label %124
124: ; preds = %137, %123
%125 = load i32, i32* %17
%126 = load i32, i32* %12
%127 = icmp slt i32 %125, %126
br i1 %127, label %128, label %140
128: ; preds = %124
%129 = load double*, double** %27
%130 = load i32, i32* %17
%131 = sext i32 %130 to i64
%132 = getelementptr inbounds double, double* %129, i64 %131
store double 0.000000e+00, double* %132
%133 = load double*, double** %23
%134 = load i32, i32* %17
%135 = sext i32 %134 to i64
%136 = getelementptr inbounds double, double* %133, i64 %135
store double 0.000000e+00, double* %136
br label %137
137: ; preds = %128
%138 = load i32, i32* %17
%139 = add nsw i32 %138, 1
store i32 %139, i32* %17
br label %124
140: ; preds = %124
%141 = load i32, i32* %20
%142 = sub nsw i32 %141, 1
store i32 %142, i32* %17
br label %143
143: ; preds = %245, %140
%144 = load i32, i32* %17
%145 = icmp sge i32 %144, 0
br i1 %145, label %146, label %248
146: ; preds = %143
%147 = load i32, i32* %17
%148 = load i32, i32* %10
%149 = mul nsw i32 %147, %148
store i32 %149, i32* %18
store i32 0, i32* %19
br label %150
150: ; preds = %177, %146
%151 = load i32, i32* %19
%152 = load i32, i32* %10
%153 = icmp slt i32 %151, %152
br i1 %153, label %154, label %180
154: ; preds = %150
%155 = load double*, double** %15
%156 = load i32, i32* %18
%157 = load i32, i32* %19
%158 = add nsw i32 %156, %157
%159 = sext i32 %158 to i64
%160 = getelementptr inbounds double, double* %155, i64 %159
%161 = load double, double* %160
%162 = load double*, double** %25
%163 = load i32, i32* %19
%164 = sext i32 %163 to i64
%165 = getelementptr inbounds double, double* %162, i64 %164
store double %161, double* %165
%166 = load double*, double** %14
%167 = load i32, i32* %18
%168 = load i32, i32* %19
%169 = add nsw i32 %167, %168
%170 = sext i32 %169 to i64
%171 = getelementptr inbounds double, double* %166, i64 %170
%172 = load double, double* %171
%173 = load double*, double** %26
%174 = load i32, i32* %19
%175 = sext i32 %174 to i64
%176 = getelementptr inbounds double, double* %173, i64 %175
store double %172, double* %176
br label %177
177: ; preds = %154
%178 = load i32, i32* %19
%179 = add nsw i32 %178, 1
store i32 %179, i32* %19
br label %150
180: ; preds = %150
%181 = load double*, double** %25
%182 = load double*, double** %26
%183 = load double*, double** %22
%184 = load i32, i32* %10
%185 = call i32 @mmult(double* %181, double* %182, double* %183, i32 1, i32 %184, i32 1)
%186 = load double*, double** %22
%187 = getelementptr inbounds double, double* %186, i64 0
%188 = load double, double* %187
%189 = fdiv double 1.000000e+00, %188
%190 = load double*, double** %23
%191 = load i32, i32* %17
%192 = sext i32 %191 to i64
%193 = getelementptr inbounds double, double* %190, i64 %192
store double %189, double* %193
%194 = load double*, double** %26
%195 = load double*, double** %21
%196 = load double*, double** %24
%197 = load i32, i32* %17
%198 = sext i32 %197 to i64
%199 = getelementptr inbounds double, double* %196, i64 %198
%200 = load i32, i32* %10
%201 = call i32 @mmult(double* %194, double* %195, double* %199, i32 1, i32 %200, i32 1)
%202 = load double*, double** %23
%203 = load i32, i32* %17
%204 = sext i32 %203 to i64
%205 = getelementptr inbounds double, double* %202, i64 %204
%206 = load double, double* %205
%207 = load double*, double** %24
%208 = load i32, i32* %17
%209 = sext i32 %208 to i64
%210 = getelementptr inbounds double, double* %207, i64 %209
%211 = load double, double* %210
%212 = fmul double %211, %206
store double %212, double* %210
store i32 0, i32* %19
br label %213
213: ; preds = %241, %180
%214 = load i32, i32* %19
%215 = load i32, i32* %10
%216 = icmp slt i32 %214, %215
br i1 %216, label %217, label %244
217: ; preds = %213
%218 = load double*, double** %21
%219 = load i32, i32* %19
%220 = sext i32 %219 to i64
%221 = getelementptr inbounds double, double* %218, i64 %220
%222 = load double, double* %221
%223 = load double*, double** %24
%224 = load i32, i32* %17
%225 = sext i32 %224 to i64
%226 = getelementptr inbounds double, double* %223, i64 %225
%227 = load double, double* %226
%228 = load double*, double** %15
%229 = load i32, i32* %18
%230 = load i32, i32* %19
%231 = add nsw i32 %229, %230
%232 = sext i32 %231 to i64
%233 = getelementptr inbounds double, double* %228, i64 %232
%234 = load double, double* %233
%235 = fneg double %227
%236 = call double @llvm.fmuladd.f64(double %235, double %234, double %222)
%237 = load double*, double** %21
%238 = load i32, i32* %19
%239 = sext i32 %238 to i64
%240 = getelementptr inbounds double, double* %237, i64 %239
store double %236, double* %240
br label %241
241: ; preds = %217
%242 = load i32, i32* %19
%243 = add nsw i32 %242, 1
store i32 %243, i32* %19
br label %213
244: ; preds = %213
br label %245
245: ; preds = %244
%246 = load i32, i32* %17
%247 = add nsw i32 %246, -1
store i32 %247, i32* %17
br label %143
248: ; preds = %143
%249 = load double*, double** %9
%250 = load double*, double** %21
%251 = load double*, double** %16
%252 = load i32, i32* %10
%253 = load i32, i32* %10
%254 = call i32 @mmult(double* %249, double* %250, double* %251, i32 %252, i32 %253, i32 1)
store i32 0, i32* %17
br label %255
255: ; preds = %335, %248
%256 = load i32, i32* %17
%257 = load i32, i32* %20
%258 = icmp slt i32 %256, %257
br i1 %258, label %259, label %338
259: ; preds = %255
%260 = load i32, i32* %17
%261 = load i32, i32* %10
%262 = mul nsw i32 %260, %261
store i32 %262, i32* %18
store i32 0, i32* %19
br label %263
263: ; preds = %279, %259
%264 = load i32, i32* %19
%265 = load i32, i32* %10
%266 = icmp slt i32 %264, %265
br i1 %266, label %267, label %282
267: ; preds = %263
%268 = load double*, double** %15
%269 = load i32, i32* %18
%270 = load i32, i32* %19
%271 = add nsw i32 %269, %270
%272 = sext i32 %271 to i64
%273 = getelementptr inbounds double, double* %268, i64 %272
%274 = load double, double* %273
%275 = load double*, double** %25
%276 = load i32, i32* %19
%277 = sext i32 %276 to i64
%278 = getelementptr inbounds double, double* %275, i64 %277
store double %274, double* %278
br label %279
279: ; preds = %267
%280 = load i32, i32* %19
%281 = add nsw i32 %280, 1
store i32 %281, i32* %19
br label %263
282: ; preds = %263
%283 = load double*, double** %25
%284 = load double*, double** %16
%285 = load double*, double** %28
%286 = load i32, i32* %17
%287 = sext i32 %286 to i64
%288 = getelementptr inbounds double, double* %285, i64 %287
%289 = load i32, i32* %10
%290 = call i32 @mmult(double* %283, double* %284, double* %288, i32 1, i32 %289, i32 1)
%291 = load double*, double** %23
%292 = load i32, i32* %17
%293 = sext i32 %292 to i64
%294 = getelementptr inbounds double, double* %291, i64 %293
%295 = load double, double* %294
%296 = load double*, double** %28
%297 = load i32, i32* %17
%298 = sext i32 %297 to i64
%299 = getelementptr inbounds double, double* %296, i64 %298
%300 = load double, double* %299
%301 = fmul double %300, %295
store double %301, double* %299
store i32 0, i32* %19
br label %302
302: ; preds = %331, %282
%303 = load i32, i32* %19
%304 = load i32, i32* %10
%305 = icmp slt i32 %303, %304
br i1 %305, label %306, label %334
306: ; preds = %302
%307 = load double*, double** %14
%308 = load i32, i32* %18
%309 = load i32, i32* %19
%310 = add nsw i32 %308, %309
%311 = sext i32 %310 to i64
%312 = getelementptr inbounds double, double* %307, i64 %311
%313 = load double, double* %312
%314 = load double*, double** %24
%315 = load i32, i32* %17
%316 = sext i32 %315 to i64
%317 = getelementptr inbounds double, double* %314, i64 %316
%318 = load double, double* %317
%319 = load double*, double** %28
%320 = load i32, i32* %17
%321 = sext i32 %320 to i64
%322 = getelementptr inbounds double, double* %319, i64 %321
%323 = load double, double* %322
%324 = fsub double %318, %323
%325 = load double*, double** %16
%326 = load i32, i32* %19
%327 = sext i32 %326 to i64
%328 = getelementptr inbounds double, double* %325, i64 %327
%329 = load double, double* %328
%330 = call double @llvm.fmuladd.f64(double %313, double %324, double %329)
store double %330, double* %328
br label %331
331: ; preds = %306
%332 = load i32, i32* %19
%333 = add nsw i32 %332, 1
store i32 %333, i32* %19
br label %302
334: ; preds = %302
br label %335
335: ; preds = %334
%336 = load i32, i32* %17
%337 = add nsw i32 %336, 1
store i32 %337, i32* %17
br label %255
338: ; preds = %255
%339 = load double*, double** %21
%340 = call i32 @free(double* %339)
%341 = load double*, double** %22
%342 = call i32 @free(double* %341)
%343 = load double*, double** %23
%344 = call i32 @free(double* %343)
%345 = load double*, double** %24
%346 = call i32 @free(double* %345)
%347 = load double*, double** %25
%348 = call i32 @free(double* %347)
%349 = load double*, double** %26
%350 = call i32 @free(double* %349)
%351 = load double*, double** %27
%352 = call i32 @free(double* %351)
%353 = load double*, double** %28
%354 = call i32 @free(double* %353)
ret void
}

LLVM IR (-O2):
define void @bfgs_rec(double* %0, i32 %1, i32 %2, i32 %3, double* nocapture %4, double* nocapture %5, double* nocapture %6, double* %7) {
%9 = shl i32 %1, 3
%10 = tail call i64 @malloc(i32 %9)
%11 = inttoptr i64 %10 to double*
%12 = inttoptr i64 %10 to i8*
%13 = tail call i64 @malloc(i32 8)
%14 = inttoptr i64 %13 to double*
%15 = tail call i64 @malloc(i32 %9)
%16 = inttoptr i64 %15 to double*
%17 = inttoptr i64 %15 to i8*
%18 = tail call i64 @malloc(i32 %9)
%19 = inttoptr i64 %18 to double*
%20 = inttoptr i64 %18 to i8*
%21 = shl i32 %3, 3
%22 = tail call i64 @malloc(i32 %21)
%23 = inttoptr i64 %22 to double*
%24 = inttoptr i64 %22 to i8*
%25 = tail call i64 @malloc(i32 %21)
%26 = inttoptr i64 %25 to double*
%27 = inttoptr i64 %25 to i8*
%28 = tail call i64 @malloc(i32 %21)
%29 = inttoptr i64 %28 to double*
%30 = inttoptr i64 %28 to i8*
%31 = tail call i64 @malloc(i32 %21)
%32 = inttoptr i64 %31 to double*
%33 = inttoptr i64 %31 to i8*
%34 = icmp sgt i32 %1, 0
br i1 %34, label %35, label %177
35: ; preds = %8
%36 = zext i32 %1 to i64
%37 = icmp ult i32 %1, 4
br i1 %37, label %146, label %38
38: ; preds = %35
%39 = getelementptr double, double* %11, i64 %36
%40 = bitcast double* %39 to i8*
%41 = getelementptr double, double* %16, i64 %36
%42 = bitcast double* %41 to i8*
%43 = getelementptr double, double* %19, i64 %36
%44 = bitcast double* %43 to i8*
%45 = getelementptr double, double* %4, i64 %36
%46 = bitcast double* %45 to i8*
%47 = icmp ult i8* %12, %42
%48 = icmp ult i8* %17, %40
%49 = and i1 %47, %48
%50 = icmp ult i8* %12, %44
%51 = icmp ult i8* %20, %40
%52 = and i1 %50, %51
%53 = or i1 %49, %52
%54 = icmp ult i8* %12, %46
%55 = icmp ugt double* %39, %4
%56 = and i1 %54, %55
%57 = or i1 %53, %56
%58 = icmp ult i8* %17, %44
%59 = icmp ult i8* %20, %42
%60 = and i1 %58, %59
%61 = or i1 %57, %60
%62 = icmp ult i8* %17, %46
%63 = icmp ugt double* %41, %4
%64 = and i1 %62, %63
%65 = or i1 %61, %64
%66 = icmp ult i8* %20, %46
%67 = icmp ugt double* %43, %4
%68 = and i1 %66, %67
%69 = or i1 %65, %68
br i1 %69, label %146, label %70
70: ; preds = %38
%71 = and i64 %36, 4294967292
%72 = add nsw i64 %71, -4
%73 = lshr exact i64 %72, 2
%74 = add nuw nsw i64 %73, 1
%75 = and i64 %74, 1
%76 = icmp eq i64 %72, 0
br i1 %76, label %122, label %77
77: ; preds = %70
%78 = and i64 %74, 9223372036854775806
br label %79
79: ; preds = %79, %77
%80 = phi i64 [ 0, %77 ], [ %119, %79 ]
%81 = phi i64 [ 0, %77 ], [ %120, %79 ]
%82 = getelementptr inbounds double, double* %4, i64 %80
%83 = bitcast double* %82 to <2 x double>*
%84 = load <2 x double>, <2 x double>* %83
%85 = getelementptr inbounds double, double* %82, i64 2
%86 = bitcast double* %85 to <2 x double>*
%87 = load <2 x double>, <2 x double>* %86
%88 = getelementptr inbounds double, double* %11, i64 %80
%89 = bitcast double* %88 to <2 x double>*
store <2 x double> %84, <2 x double>* %89
%90 = getelementptr inbounds double, double* %88, i64 2
%91 = bitcast double* %90 to <2 x double>*
store <2 x double> %87, <2 x double>* %91
%92 = getelementptr inbounds double, double* %16, i64 %80
%93 = bitcast double* %92 to <2 x double>*
store <2 x double> zeroinitializer, <2 x double>* %93
%94 = getelementptr inbounds double, double* %92, i64 2
%95 = bitcast double* %94 to <2 x double>*
store <2 x double> zeroinitializer, <2 x double>* %95
%96 = getelementptr inbounds double, double* %19, i64 %80
%97 = bitcast double* %96 to <2 x double>*
store <2 x double> zeroinitializer, <2 x double>* %97
%98 = getelementptr inbounds double, double* %96, i64 2
%99 = bitcast double* %98 to <2 x double>*
store <2 x double> zeroinitializer, <2 x double>* %99
%100 = or i64 %80, 4
%101 = getelementptr inbounds double, double* %4, i64 %100
%102 = bitcast double* %101 to <2 x double>*
%103 = load <2 x double>, <2 x double>* %102
%104 = getelementptr inbounds double, double* %101, i64 2
%105 = bitcast double* %104 to <2 x double>*
%106 = load <2 x double>, <2 x double>* %105
%107 = getelementptr inbounds double, double* %11, i64 %100
%108 = bitcast double* %107 to <2 x double>*
store <2 x double> %103, <2 x double>* %108
%109 = getelementptr inbounds double, double* %107, i64 2
%110 = bitcast double* %109 to <2 x double>*
store <2 x double> %106, <2 x double>* %110
%111 = getelementptr inbounds double, double* %16, i64 %100
%112 = bitcast double* %111 to <2 x double>*
store <2 x double> zeroinitializer, <2 x double>* %112
%113 = getelementptr inbounds double, double* %111, i64 2
%114 = bitcast double* %113 to <2 x double>*
store <2 x double> zeroinitializer, <2 x double>* %114
%115 = getelementptr inbounds double, double* %19, i64 %100
%116 = bitcast double* %115 to <2 x double>*
store <2 x double> zeroinitializer, <2 x double>* %116
%117 = getelementptr inbounds double, double* %115, i64 2
%118 = bitcast double* %117 to <2 x double>*
store <2 x double> zeroinitializer, <2 x double>* %118
%119 = add nuw i64 %80, 8
%120 = add i64 %81, 2
%121 = icmp eq i64 %120, %78
br i1 %121, label %122, label %79
122: ; preds = %79, %70
%123 = phi i64 [ 0, %70 ], [ %119, %79 ]
%124 = icmp eq i64 %75, 0
br i1 %124, label %144, label %125
125: ; preds = %122
%126 = getelementptr inbounds double, double* %4, i64 %123
%127 = bitcast double* %126 to <2 x double>*
%128 = load <2 x double>, <2 x double>* %127
%129 = getelementptr inbounds double, double* %126, i64 2
%130 = bitcast double* %129 to <2 x double>*
%131 = load <2 x double>, <2 x double>* %130
%132 = getelementptr inbounds double, double* %11, i64 %123
%133 = bitcast double* %132 to <2 x double>*
store <2 x double> %128, <2 x double>* %133
%134 = getelementptr inbounds double, double* %132, i64 2
%135 = bitcast double* %134 to <2 x double>*
store <2 x double> %131, <2 x double>* %135
%136 = getelementptr inbounds double, double* %16, i64 %123
%137 = bitcast double* %136 to <2 x double>*
store <2 x double> zeroinitializer, <2 x double>* %137
%138 = getelementptr inbounds double, double* %136, i64 2
%139 = bitcast double* %138 to <2 x double>*
store <2 x double> zeroinitializer, <2 x double>* %139
%140 = getelementptr inbounds double, double* %19, i64 %123
%141 = bitcast double* %140 to <2 x double>*
store <2 x double> zeroinitializer, <2 x double>* %141
%142 = getelementptr inbounds double, double* %140, i64 2
%143 = bitcast double* %142 to <2 x double>*
store <2 x double> zeroinitializer, <2 x double>* %143
br label %144
144: ; preds = %122, %125
%145 = icmp eq i64 %71, %36
br i1 %145, label %177, label %146
146: ; preds = %38, %35, %144
%147 = phi i64 [ 0, %38 ], [ 0, %35 ], [ %71, %144 ]
%148 = xor i64 %147, -1
%149 = and i64 %36, 1
%150 = icmp eq i64 %149, 0
br i1 %150, label %158, label %151
151: ; preds = %146
%152 = getelementptr inbounds double, double* %4, i64 %147
%153 = load double, double* %152
%154 = getelementptr inbounds double, double* %11, i64 %147
store double %153, double* %154
%155 = getelementptr inbounds double, double* %16, i64 %147
store double 0.000000e+00, double* %155
%156 = getelementptr inbounds double, double* %19, i64 %147
store double 0.000000e+00, double* %156
%157 = or i64 %147, 1
br label %158
158: ; preds = %151, %146
%159 = phi i64 [ %147, %146 ], [ %157, %151 ]
%160 = sub nsw i64 0, %36
%161 = icmp eq i64 %148, %160
br i1 %161, label %177, label %162
162: ; preds = %158, %162
%163 = phi i64 [ %175, %162 ], [ %159, %158 ]
%164 = getelementptr inbounds double, double* %4, i64 %163
%165 = load double, double* %164
%166 = getelementptr inbounds double, double* %11, i64 %163
store double %165, double* %166
%167 = getelementptr inbounds double, double* %16, i64 %163
store double 0.000000e+00, double* %167
%168 = getelementptr inbounds double, double* %19, i64 %163
store double 0.000000e+00, double* %168
%169 = add nuw nsw i64 %163, 1
%170 = getelementptr inbounds double, double* %4, i64 %169
%171 = load double, double* %170
%172 = getelementptr inbounds double, double* %11, i64 %169
store double %171, double* %172
%173 = getelementptr inbounds double, double* %16, i64 %169
store double 0.000000e+00, double* %173
%174 = getelementptr inbounds double, double* %19, i64 %169
store double 0.000000e+00, double* %174
%175 = add nuw nsw i64 %163, 2
%176 = icmp eq i64 %175, %36
br i1 %176, label %177, label %162
177: ; preds = %158, %162, %144, %8
%178 = icmp sgt i32 %2, %3
%179 = select i1 %178, i32 %3, i32 %2
%180 = icmp sgt i32 %3, 0
br i1 %180, label %181, label %391
181: ; preds = %177
%182 = zext i32 %3 to i64
%183 = icmp ult i32 %3, 4
br i1 %183, label %261, label %184
184: ; preds = %181
%185 = getelementptr double, double* %26, i64 %182
%186 = bitcast double* %185 to i8*
%187 = getelementptr double, double* %23, i64 %182
%188 = bitcast double* %187 to i8*
%189 = icmp ult i8* %27, %188
%190 = icmp ult i8* %24, %186
%191 = and i1 %189, %190
br i1 %191, label %261, label %192
192: ; preds = %184
%193 = and i64 %182, 4294967292
%194 = add nsw i64 %193, -4
%195 = lshr exact i64 %194, 2
%196 = add nuw nsw i64 %195, 1
%197 = and i64 %196, 3
%198 = icmp ult i64 %194, 12
br i1 %198, label %242, label %199
199: ; preds = %192
%200 = and i64 %196, 9223372036854775804
br label %201
201: ; preds = %201, %199
%202 = phi i64 [ 0, %199 ], [ %239, %201 ]
%203 = phi i64 [ 0, %199 ], [ %240, %201 ]
%204 = getelementptr inbounds double, double* %26, i64 %202
%205 = bitcast double* %204 to <2 x double>*
store <2 x double> zeroinitializer, <2 x double>* %205
%206 = getelementptr inbounds double, double* %204, i64 2
%207 = bitcast double* %206 to <2 x double>*
store <2 x double> zeroinitializer, <2 x double>* %207
%208 = getelementptr inbounds double, double* %23, i64 %202
%209 = bitcast double* %208 to <2 x double>*
store <2 x double> zeroinitializer, <2 x double>* %209
%210 = getelementptr inbounds double, double* %208, i64 2
%211 = bitcast double* %210 to <2 x double>*
store <2 x double> zeroinitializer, <2 x double>* %211
%212 = or i64 %202, 4
%213 = getelementptr inbounds double, double* %26, i64 %212
%214 = bitcast double* %213 to <2 x double>*
store <2 x double> zeroinitializer, <2 x double>* %214
%215 = getelementptr inbounds double, double* %213, i64 2
%216 = bitcast double* %215 to <2 x double>*
store <2 x double> zeroinitializer, <2 x double>* %216
%217 = getelementptr inbounds double, double* %23, i64 %212
%218 = bitcast double* %217 to <2 x double>*
store <2 x double> zeroinitializer, <2 x double>* %218
%219 = getelementptr inbounds double, double* %217, i64 2
%220 = bitcast double* %219 to <2 x double>*
store <2 x double> zeroinitializer, <2 x double>* %220
%221 = or i64 %202, 8
%222 = getelementptr inbounds double, double* %26, i64 %221
%223 = bitcast double* %222 to <2 x double>*
store <2 x double> zeroinitializer, <2 x double>* %223
%224 = getelementptr inbounds double, double* %222, i64 2
%225 = bitcast double* %224 to <2 x double>*
store <2 x double> zeroinitializer, <2 x double>* %225
%226 = getelementptr inbounds double, double* %23, i64 %221
%227 = bitcast double* %226 to <2 x double>*
store <2 x double> zeroinitializer, <2 x double>* %227
%228 = getelementptr inbounds double, double* %226, i64 2
%229 = bitcast double* %228 to <2 x double>*
store <2 x double> zeroinitializer, <2 x double>* %229
%230 = or i64 %202, 12
%231 = getelementptr inbounds double, double* %26, i64 %230
%232 = bitcast double* %231 to <2 x double>*
store <2 x double> zeroinitializer, <2 x double>* %232
%233 = getelementptr inbounds double, double* %231, i64 2
%234 = bitcast double* %233 to <2 x double>*
store <2 x double> zeroinitializer, <2 x double>* %234
%235 = getelementptr inbounds double, double* %23, i64 %230
%236 = bitcast double* %235 to <2 x double>*
store <2 x double> zeroinitializer, <2 x double>* %236
%237 = getelementptr inbounds double, double* %235, i64 2
%238 = bitcast double* %237 to <2 x double>*
store <2 x double> zeroinitializer, <2 x double>* %238
%239 = add nuw i64 %202, 16
%240 = add nuw i64 %203, 4
%241 = icmp eq i64 %240, %200
br i1 %241, label %242, label %201
242: ; preds = %201, %192
%243 = phi i64 [ 0, %192 ], [ %239, %201 ]
%244 = icmp eq i64 %197, 0
br i1 %244, label %259, label %245
245: ; preds = %242, %245
%246 = phi i64 [ %256, %245 ], [ %243, %242 ]
%247 = phi i64 [ %257, %245 ], [ 0, %242 ]
%248 = getelementptr inbounds double, double* %26, i64 %246
%249 = bitcast double* %248 to <2 x double>*
store <2 x double> zeroinitializer, <2 x double>* %249
%250 = getelementptr inbounds double, double* %248, i64 2
%251 = bitcast double* %250 to <2 x double>*
store <2 x double> zeroinitializer, <2 x double>* %251
%252 = getelementptr inbounds double, double* %23, i64 %246
%253 = bitcast double* %252 to <2 x double>*
store <2 x double> zeroinitializer, <2 x double>* %253
%254 = getelementptr inbounds double, double* %252, i64 2
%255 = bitcast double* %254 to <2 x double>*
store <2 x double> zeroinitializer, <2 x double>* %255
%256 = add nuw i64 %246, 4
%257 = add i64 %247, 1
%258 = icmp eq i64 %257, %197
br i1 %258, label %259, label %245
259: ; preds = %245, %242
%260 = icmp eq i64 %193, %182
br i1 %260, label %278, label %261
261: ; preds = %184, %181, %259
%262 = phi i64 [ 0, %184 ], [ 0, %181 ], [ %193, %259 ]
%263 = xor i64 %262, -1
%264 = add nsw i64 %263, %182
%265 = and i64 %182, 3
%266 = icmp eq i64 %265, 0
br i1 %266, label %275, label %267
267: ; preds = %261, %267
%268 = phi i64 [ %272, %267 ], [ %262, %261 ]
%269 = phi i64 [ %273, %267 ], [ 0, %261 ]
%270 = getelementptr inbounds double, double* %26, i64 %268
store double 0.000000e+00, double* %270
%271 = getelementptr inbounds double, double* %23, i64 %268
store double 0.000000e+00, double* %271
%272 = add nuw nsw i64 %268, 1
%273 = add i64 %269, 1
%274 = icmp eq i64 %273, %265
br i1 %274, label %275, label %267
275: ; preds = %267, %261
%276 = phi i64 [ %262, %261 ], [ %272, %267 ]
%277 = icmp ult i64 %264, 3
br i1 %277, label %278, label %376
278: ; preds = %275, %376, %259
br i1 %180, label %279, label %391
279: ; preds = %278
%280 = zext i32 %3 to i64
%281 = icmp ult i32 %3, 4
br i1 %281, label %359, label %282
282: ; preds = %279
%283 = getelementptr double, double* %32, i64 %182
%284 = bitcast double* %283 to i8*
%285 = getelementptr double, double* %29, i64 %182
%286 = bitcast double* %285 to i8*
%287 = icmp ult i8* %33, %286
%288 = icmp ult i8* %30, %284
%289 = and i1 %287, %288
br i1 %289, label %359, label %290
290: ; preds = %282
%291 = and i64 %182, 4294967292
%292 = add nsw i64 %291, -4
%293 = lshr exact i64 %292, 2
%294 = add nuw nsw i64 %293, 1
%295 = and i64 %294, 3
%296 = icmp ult i64 %292, 12
br i1 %296, label %340, label %297
297: ; preds = %290
%298 = and i64 %294, 9223372036854775804
br label %299
299: ; preds = %299, %297
%300 = phi i64 [ 0, %297 ], [ %337, %299 ]
%301 = phi i64 [ 0, %297 ], [ %338, %299 ]
%302 = getelementptr inbounds double, double* %32, i64 %300
%303 = bitcast double* %302 to <2 x double>*
store <2 x double> zeroinitializer, <2 x double>* %303
%304 = getelementptr inbounds double, double* %302, i64 2
%305 = bitcast double* %304 to <2 x double>*
store <2 x double> zeroinitializer, <2 x double>* %305
%306 = getelementptr inbounds double, double* %29, i64 %300
%307 = bitcast double* %306 to <2 x double>*
store <2 x double> zeroinitializer, <2 x double>* %307
%308 = getelementptr inbounds double, double* %306, i64 2
%309 = bitcast double* %308 to <2 x double>*
store <2 x double> zeroinitializer, <2 x double>* %309
%310 = or i64 %300, 4
%311 = getelementptr inbounds double, double* %32, i64 %310
%312 = bitcast double* %311 to <2 x double>*
store <2 x double> zeroinitializer, <2 x double>* %312
%313 = getelementptr inbounds double, double* %311, i64 2
%314 = bitcast double* %313 to <2 x double>*
store <2 x double> zeroinitializer, <2 x double>* %314
%315 = getelementptr inbounds double, double* %29, i64 %310
%316 = bitcast double* %315 to <2 x double>*
store <2 x double> zeroinitializer, <2 x double>* %316
%317 = getelementptr inbounds double, double* %315, i64 2
%318 = bitcast double* %317 to <2 x double>*
store <2 x double> zeroinitializer, <2 x double>* %318
%319 = or i64 %300, 8
%320 = getelementptr inbounds double, double* %32, i64 %319
%321 = bitcast double* %320 to <2 x double>*
store <2 x double> zeroinitializer, <2 x double>* %321
%322 = getelementptr inbounds double, double* %320, i64 2
%323 = bitcast double* %322 to <2 x double>*
store <2 x double> zeroinitializer, <2 x double>* %323
%324 = getelementptr inbounds double, double* %29, i64 %319
%325 = bitcast double* %324 to <2 x double>*
store <2 x double> zeroinitializer, <2 x double>* %325
%326 = getelementptr inbounds double, double* %324, i64 2
%327 = bitcast double* %326 to <2 x double>*
store <2 x double> zeroinitializer, <2 x double>* %327
%328 = or i64 %300, 12
%329 = getelementptr inbounds double, double* %32, i64 %328
%330 = bitcast double* %329 to <2 x double>*
store <2 x double> zeroinitializer, <2 x double>* %330
%331 = getelementptr inbounds double, double* %329, i64 2
%332 = bitcast double* %331 to <2 x double>*
store <2 x double> zeroinitializer, <2 x double>* %332
%333 = getelementptr inbounds double, double* %29, i64 %328
%334 = bitcast double* %333 to <2 x double>*
store <2 x double> zeroinitializer, <2 x double>* %334
%335 = getelementptr inbounds double, double* %333, i64 2
%336 = bitcast double* %335 to <2 x double>*
store <2 x double> zeroinitializer, <2 x double>* %336
%337 = add nuw i64 %300, 16
%338 = add nuw i64 %301, 4
%339 = icmp eq i64 %338, %298
br i1 %339, label %340, label %299
340: ; preds = %299, %290
%341 = phi i64 [ 0, %290 ], [ %337, %299 ]
%342 = icmp eq i64 %295, 0
br i1 %342, label %357, label %343
343: ; preds = %340, %343
%344 = phi i64 [ %354, %343 ], [ %341, %340 ]
%345 = phi i64 [ %355, %343 ], [ 0, %340 ]
%346 = getelementptr inbounds double, double* %32, i64 %344
%347 = bitcast double* %346 to <2 x double>*
store <2 x double> zeroinitializer, <2 x double>* %347
%348 = getelementptr inbounds double, double* %346, i64 2
%349 = bitcast double* %348 to <2 x double>*
store <2 x double> zeroinitializer, <2 x double>* %349
%350 = getelementptr inbounds double, double* %29, i64 %344
%351 = bitcast double* %350 to <2 x double>*
store <2 x double> zeroinitializer, <2 x double>* %351
%352 = getelementptr inbounds double, double* %350, i64 2
%353 = bitcast double* %352 to <2 x double>*
store <2 x double> zeroinitializer, <2 x double>* %353
%354 = add nuw i64 %344, 4
%355 = add i64 %345, 1
%356 = icmp eq i64 %355, %295
br i1 %356, label %357, label %343
357: ; preds = %343, %340
%358 = icmp eq i64 %291, %182
br i1 %358, label %391, label %359
359: ; preds = %282, %279, %357
%360 = phi i64 [ 0, %282 ], [ 0, %279 ], [ %291, %357 ]
%361 = xor i64 %360, -1
%362 = add nsw i64 %361, %182
%363 = and i64 %182, 3
%364 = icmp eq i64 %363, 0
br i1 %364, label %373, label %365
365: ; preds = %359, %365
%366 = phi i64 [ %370, %365 ], [ %360, %359 ]
%367 = phi i64 [ %371, %365 ], [ 0, %359 ]
%368 = getelementptr inbounds double, double* %32, i64 %366
store double 0.000000e+00, double* %368
%369 = getelementptr inbounds double, double* %29, i64 %366
store double 0.000000e+00, double* %369
%370 = add nuw nsw i64 %366, 1
%371 = add i64 %367, 1
%372 = icmp eq i64 %371, %363
br i1 %372, label %373, label %365
373: ; preds = %365, %359
%374 = phi i64 [ %360, %359 ], [ %370, %365 ]
%375 = icmp ult i64 %362, 3
br i1 %375, label %391, label %439
376: ; preds = %275, %376
%377 = phi i64 [ %389, %376 ], [ %276, %275 ]
%378 = getelementptr inbounds double, double* %26, i64 %377
store double 0.000000e+00, double* %378
%379 = getelementptr inbounds double, double* %23, i64 %377
store double 0.000000e+00, double* %379
%380 = add nuw nsw i64 %377, 1
%381 = getelementptr inbounds double, double* %26, i64 %380
store double 0.000000e+00, double* %381
%382 = getelementptr inbounds double, double* %23, i64 %380
store double 0.000000e+00, double* %382
%383 = add nuw nsw i64 %377, 2
%384 = getelementptr inbounds double, double* %26, i64 %383
store double 0.000000e+00, double* %384
%385 = getelementptr inbounds double, double* %23, i64 %383
store double 0.000000e+00, double* %385
%386 = add nuw nsw i64 %377, 3
%387 = getelementptr inbounds double, double* %26, i64 %386
store double 0.000000e+00, double* %387
%388 = getelementptr inbounds double, double* %23, i64 %386
store double 0.000000e+00, double* %388
%389 = add nuw nsw i64 %377, 4
%390 = icmp eq i64 %389, %182
br i1 %390, label %278, label %376
391: ; preds = %373, %439, %357, %177, %278
%392 = icmp sgt i32 %179, 0
br i1 %392, label %395, label %393
393: ; preds = %391
%394 = tail call i32 @mmult(double* %0, double* %11, double* %7, i32 %1, i32 %1, i32 1)
br label %967
395: ; preds = %391
%396 = zext i32 %179 to i64
%397 = sext i32 %1 to i64
%398 = zext i32 %1 to i64
%399 = zext i32 %1 to i64
%400 = getelementptr double, double* %11, i64 1
%401 = getelementptr double, double* %11, i64 %398
%402 = add nsw i64 %396, -1
%403 = mul i64 %402, %397
%404 = add nsw i64 %403, 1
%405 = add i64 %403, %398
%406 = add nsw i64 %398, -1
%407 = getelementptr double, double* %16, i64 %398
%408 = bitcast double* %407 to i8*
%409 = getelementptr double, double* %19, i64 %398
%410 = bitcast double* %409 to i8*
%411 = add nsw i64 %396, -1
%412 = mul i64 %411, %397
%413 = add i64 %412, %398
%414 = and i64 %398, 4294967292
%415 = add nsw i64 %414, -4
%416 = lshr exact i64 %415, 2
%417 = add nuw nsw i64 %416, 1
%418 = icmp ult i32 %1, 4
%419 = icmp ult i8* %17, %410
%420 = icmp ult i8* %20, %408
%421 = and i1 %419, %420
%422 = and i64 %398, 4294967292
%423 = and i64 %417, 1
%424 = icmp eq i64 %415, 0
%425 = and i64 %417, 9223372036854775806
%426 = icmp eq i64 %423, 0
%427 = icmp eq i64 %422, %398
%428 = and i64 %398, 1
%429 = icmp eq i64 %428, 0
%430 = sub nsw i64 0, %398
%431 = icmp eq i32 %1, 1
%432 = icmp ult i64 %406, 4
%433 = and i64 %406, -4
%434 = or i64 %433, 1
%435 = icmp eq i64 %406, %433
%436 = and i64 %398, 1
%437 = icmp eq i64 %436, 0
%438 = sub nsw i64 0, %398
br label %457
439: ; preds = %373, %439
%440 = phi i64 [ %452, %439 ], [ %374, %373 ]
%441 = getelementptr inbounds double, double* %32, i64 %440
store double 0.000000e+00, double* %441
%442 = getelementptr inbounds double, double* %29, i64 %440
store double 0.000000e+00, double* %442
%443 = add nuw nsw i64 %440, 1
%444 = getelementptr inbounds double, double* %32, i64 %443
store double 0.000000e+00, double* %444
%445 = getelementptr inbounds double, double* %29, i64 %443
store double 0.000000e+00, double* %445
%446 = add nuw nsw i64 %440, 2
%447 = getelementptr inbounds double, double* %32, i64 %446
store double 0.000000e+00, double* %447
%448 = getelementptr inbounds double, double* %29, i64 %446
store double 0.000000e+00, double* %448
%449 = add nuw nsw i64 %440, 3
%450 = getelementptr inbounds double, double* %32, i64 %449
store double 0.000000e+00, double* %450
%451 = getelementptr inbounds double, double* %29, i64 %449
store double 0.000000e+00, double* %451
%452 = add nuw nsw i64 %440, 4
%453 = icmp eq i64 %452, %280
br i1 %453, label %391, label %439
454: ; preds = %675, %678, %616, %661, %606
%455 = icmp sgt i64 %459, 1
%456 = add i64 %458, 1
br i1 %455, label %457, label %699
457: ; preds = %395, %454
%458 = phi i64 [ 0, %395 ], [ %456, %454 ]
%459 = phi i64 [ %396, %395 ], [ %477, %454 ]
%460 = mul i64 %458, %397
%461 = sub i64 %412, %460
%462 = getelementptr double, double* %6, i64 %461
%463 = sub i64 %413, %460
%464 = getelementptr double, double* %6, i64 %463
%465 = bitcast double* %464 to i8*
%466 = getelementptr double, double* %5, i64 %461
%467 = getelementptr double, double* %5, i64 %463
%468 = bitcast double* %467 to i8*
%469 = sub i64 %402, %458
%470 = getelementptr double, double* %23, i64 %469
%471 = getelementptr double, double* %23, i64 %459
%472 = mul i64 %458, %397
%473 = sub i64 %404, %472
%474 = getelementptr double, double* %6, i64 %473
%475 = sub i64 %405, %472
%476 = getelementptr double, double* %6, i64 %475
%477 = add nsw i64 %459, -1
%478 = mul nsw i64 %477, %397
br i1 %34, label %479, label %606
479: ; preds = %457
br i1 %418, label %572, label %480
480: ; preds = %479
%481 = icmp ult i8* %17, %465
%482 = icmp ult double* %462, %407
%483 = and i1 %481, %482
%484 = or i1 %421, %483
%485 = icmp ult i8* %17, %468
%486 = icmp ult double* %466, %407
%487 = and i1 %485, %486
%488 = or i1 %484, %487
%489 = icmp ult i8* %20, %465
%490 = icmp ult double* %462, %409
%491 = and i1 %489, %490
%492 = or i1 %488, %491
%493 = icmp ult i8* %20, %468
%494 = icmp ult double* %466, %409
%495 = and i1 %493, %494
%496 = or i1 %492, %495
br i1 %496, label %572, label %497
497: ; preds = %480
br i1 %424, label %547, label %498
498: ; preds = %497, %498
%499 = phi i64 [ %544, %498 ], [ 0, %497 ]
%500 = phi i64 [ %545, %498 ], [ 0, %497 ]
%501 = add nsw i64 %499, %478
%502 = getelementptr inbounds double, double* %6, i64 %501
%503 = bitcast double* %502 to <2 x double>*
%504 = load <2 x double>, <2 x double>* %503
%505 = getelementptr inbounds double, double* %502, i64 2
%506 = bitcast double* %505 to <2 x double>*
%507 = load <2 x double>, <2 x double>* %506
%508 = getelementptr inbounds double, double* %16, i64 %499
%509 = bitcast double* %508 to <2 x double>*
store <2 x double> %504, <2 x double>* %509
%510 = getelementptr inbounds double, double* %508, i64 2
%511 = bitcast double* %510 to <2 x double>*
store <2 x double> %507, <2 x double>* %511
%512 = getelementptr inbounds double, double* %5, i64 %501
%513 = bitcast double* %512 to <2 x double>*
%514 = load <2 x double>, <2 x double>* %513
%515 = getelementptr inbounds double, double* %512, i64 2
%516 = bitcast double* %515 to <2 x double>*
%517 = load <2 x double>, <2 x double>* %516
%518 = getelementptr inbounds double, double* %19, i64 %499
%519 = bitcast double* %518 to <2 x double>*
store <2 x double> %514, <2 x double>* %519
%520 = getelementptr inbounds double, double* %518, i64 2
%521 = bitcast double* %520 to <2 x double>*
store <2 x double> %517, <2 x double>* %521
%522 = or i64 %499, 4
%523 = add nsw i64 %522, %478
%524 = getelementptr inbounds double, double* %6, i64 %523
%525 = bitcast double* %524 to <2 x double>*
%526 = load <2 x double>, <2 x double>* %525
%527 = getelementptr inbounds double, double* %524, i64 2
%528 = bitcast double* %527 to <2 x double>*
%529 = load <2 x double>, <2 x double>* %528
%530 = getelementptr inbounds double, double* %16, i64 %522
%531 = bitcast double* %530 to <2 x double>*
store <2 x double> %526, <2 x double>* %531
%532 = getelementptr inbounds double, double* %530, i64 2
%533 = bitcast double* %532 to <2 x double>*
store <2 x double> %529, <2 x double>* %533
%534 = getelementptr inbounds double, double* %5, i64 %523
%535 = bitcast double* %534 to <2 x double>*
%536 = load <2 x double>, <2 x double>* %535
%537 = getelementptr inbounds double, double* %534, i64 2
%538 = bitcast double* %537 to <2 x double>*
%539 = load <2 x double>, <2 x double>* %538
%540 = getelementptr inbounds double, double* %19, i64 %522
%541 = bitcast double* %540 to <2 x double>*
store <2 x double> %536, <2 x double>* %541
%542 = getelementptr inbounds double, double* %540, i64 2
%543 = bitcast double* %542 to <2 x double>*
store <2 x double> %539, <2 x double>* %543
%544 = add nuw i64 %499, 8
%545 = add i64 %500, 2
%546 = icmp eq i64 %545, %425
br i1 %546, label %547, label %498
547: ; preds = %498, %497
%548 = phi i64 [ 0, %497 ], [ %544, %498 ]
br i1 %426, label %571, label %549
549: ; preds = %547
%550 = add nsw i64 %548, %478
%551 = getelementptr inbounds double, double* %6, i64 %550
%552 = bitcast double* %551 to <2 x double>*
%553 = load <2 x double>, <2 x double>* %552
%554 = getelementptr inbounds double, double* %551, i64 2
%555 = bitcast double* %554 to <2 x double>*
%556 = load <2 x double>, <2 x double>* %555
%557 = getelementptr inbounds double, double* %16, i64 %548
%558 = bitcast double* %557 to <2 x double>*
store <2 x double> %553, <2 x double>* %558
%559 = getelementptr inbounds double, double* %557, i64 2
%560 = bitcast double* %559 to <2 x double>*
store <2 x double> %556, <2 x double>* %560
%561 = getelementptr inbounds double, double* %5, i64 %550
%562 = bitcast double* %561 to <2 x double>*
%563 = load <2 x double>, <2 x double>* %562
%564 = getelementptr inbounds double, double* %561, i64 2
%565 = bitcast double* %564 to <2 x double>*
%566 = load <2 x double>, <2 x double>* %565
%567 = getelementptr inbounds double, double* %19, i64 %548
%568 = bitcast double* %567 to <2 x double>*
store <2 x double> %563, <2 x double>* %568
%569 = getelementptr inbounds double, double* %567, i64 2
%570 = bitcast double* %569 to <2 x double>*
store <2 x double> %566, <2 x double>* %570
br label %571
571: ; preds = %547, %549
br i1 %427, label %606, label %572
572: ; preds = %480, %479, %571
%573 = phi i64 [ 0, %480 ], [ 0, %479 ], [ %422, %571 ]
%574 = xor i64 %573, -1
br i1 %429, label %584, label %575
575: ; preds = %572
%576 = add nsw i64 %573, %478
%577 = getelementptr inbounds double, double* %6, i64 %576
%578 = load double, double* %577
%579 = getelementptr inbounds double, double* %16, i64 %573
store double %578, double* %579
%580 = getelementptr inbounds double, double* %5, i64 %576
%581 = load double, double* %580
%582 = getelementptr inbounds double, double* %19, i64 %573
store double %581, double* %582
%583 = or i64 %573, 1
br label %584
584: ; preds = %575, %572
%585 = phi i64 [ %573, %572 ], [ %583, %575 ]
%586 = icmp eq i64 %574, %430
br i1 %586, label %606, label %587
587: ; preds = %584, %587
%588 = phi i64 [ %604, %587 ], [ %585, %584 ]
%589 = add nsw i64 %588, %478
%590 = getelementptr inbounds double, double* %6, i64 %589
%591 = load double, double* %590
%592 = getelementptr inbounds double, double* %16, i64 %588
store double %591, double* %592
%593 = getelementptr inbounds double, double* %5, i64 %589
%594 = load double, double* %593
%595 = getelementptr inbounds double, double* %19, i64 %588
store double %594, double* %595
%596 = add nuw nsw i64 %588, 1
%597 = add nsw i64 %596, %478
%598 = getelementptr inbounds double, double* %6, i64 %597
%599 = load double, double* %598
%600 = getelementptr inbounds double, double* %16, i64 %596
store double %599, double* %600
%601 = getelementptr inbounds double, double* %5, i64 %597
%602 = load double, double* %601
%603 = getelementptr inbounds double, double* %19, i64 %596
store double %602, double* %603
%604 = add nuw nsw i64 %588, 2
%605 = icmp eq i64 %604, %398
br i1 %605, label %606, label %587
606: ; preds = %584, %587, %571, %457
%607 = tail call i32 @mmult(double* %16, double* %19, double* %14, i32 1, i32 %1, i32 1)
%608 = load double, double* %14
%609 = fdiv double 1.000000e+00, %608
%610 = getelementptr inbounds double, double* %29, i64 %477
store double %609, double* %610
%611 = getelementptr inbounds double, double* %23, i64 %477
%612 = tail call i32 @mmult(double* %19, double* %11, double* %611, i32 1, i32 %1, i32 1)
%613 = load double, double* %610
%614 = load double, double* %611
%615 = fmul double %613, %614
store double %615, double* %611
br i1 %34, label %616, label %454
616: ; preds = %606
%617 = load double, double* %11
%618 = getelementptr inbounds double, double* %6, i64 %478
%619 = load double, double* %618
%620 = fneg double %615
%621 = tail call double @llvm.fmuladd.f64(double %620, double %619, double %617)
store double %621, double* %11
br i1 %431, label %454, label %622
622: ; preds = %616
br i1 %432, label %662, label %623
623: ; preds = %622
%624 = icmp ult double* %400, %471
%625 = icmp ult double* %470, %401
%626 = and i1 %624, %625
%627 = icmp ult double* %400, %476
%628 = icmp ult double* %474, %401
%629 = and i1 %627, %628
%630 = or i1 %626, %629
br i1 %630, label %662, label %631
631: ; preds = %623
%632 = load double, double* %611
%633 = insertelement <2 x double> poison, double %632, i64 0
%634 = shufflevector <2 x double> %633, <2 x double> poison, <2 x i32> zeroinitializer
%635 = insertelement <2 x double> poison, double %632, i64 0
%636 = shufflevector <2 x double> %635, <2 x double> poison, <2 x i32> zeroinitializer
%637 = fneg <2 x double> %634
%638 = fneg <2 x double> %636
br label %639
639: ; preds = %639, %631
%640 = phi i64 [ 0, %631 ], [ %659, %639 ]
%641 = or i64 %640, 1
%642 = getelementptr inbounds double, double* %11, i64 %641
%643 = bitcast double* %642 to <2 x double>*
%644 = load <2 x double>, <2 x double>* %643
%645 = getelementptr inbounds double, double* %642, i64 2
%646 = bitcast double* %645 to <2 x double>*
%647 = load <2 x double>, <2 x double>* %646
%648 = add nsw i64 %641, %478
%649 = getelementptr inbounds double, double* %6, i64 %648
%650 = bitcast double* %649 to <2 x double>*
%651 = load <2 x double>, <2 x double>* %650
%652 = getelementptr inbounds double, double* %649, i64 2
%653 = bitcast double* %652 to <2 x double>*
%654 = load <2 x double>, <2 x double>* %653
%655 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %637, <2 x double> %651, <2 x double> %644)
%656 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %638, <2 x double> %654, <2 x double> %647)
%657 = bitcast double* %642 to <2 x double>*
store <2 x double> %655, <2 x double>* %657
%658 = bitcast double* %645 to <2 x double>*
store <2 x double> %656, <2 x double>* %658
%659 = add nuw i64 %640, 4
%660 = icmp eq i64 %659, %433
br i1 %660, label %661, label %639
661: ; preds = %639
br i1 %435, label %454, label %662
662: ; preds = %623, %622, %661
%663 = phi i64 [ 1, %623 ], [ 1, %622 ], [ %434, %661 ]
%664 = xor i64 %663, -1
br i1 %437, label %665, label %675
665: ; preds = %662
%666 = load double, double* %611
%667 = getelementptr inbounds double, double* %11, i64 %663
%668 = load double, double* %667
%669 = add nsw i64 %663, %478
%670 = getelementptr inbounds double, double* %6, i64 %669
%671 = load double, double* %670
%672 = fneg double %666
%673 = tail call double @llvm.fmuladd.f64(double %672, double %671, double %668)
store double %673, double* %667
%674 = add nuw nsw i64 %663, 1
br label %675
675: ; preds = %665, %662
%676 = phi i64 [ %663, %662 ], [ %674, %665 ]
%677 = icmp eq i64 %664, %438
br i1 %677, label %454, label %678
678: ; preds = %675, %678
%679 = phi i64 [ %697, %678 ], [ %676, %675 ]
%680 = load double, double* %611
%681 = getelementptr inbounds double, double* %11, i64 %679
%682 = load double, double* %681
%683 = add nsw i64 %679, %478
%684 = getelementptr inbounds double, double* %6, i64 %683
%685 = load double, double* %684
%686 = fneg double %680
%687 = tail call double @llvm.fmuladd.f64(double %686, double %685, double %682)
store double %687, double* %681
%688 = add nuw nsw i64 %679, 1
%689 = load double, double* %611
%690 = getelementptr inbounds double, double* %11, i64 %688
%691 = load double, double* %690
%692 = add nsw i64 %688, %478
%693 = getelementptr inbounds double, double* %6, i64 %692
%694 = load double, double* %693
%695 = fneg double %689
%696 = tail call double @llvm.fmuladd.f64(double %695, double %694, double %691)
store double %696, double* %690
%697 = add nuw nsw i64 %679, 2
%698 = icmp eq i64 %697, %399
br i1 %698, label %454, label %678
699: ; preds = %454
%700 = tail call i32 @mmult(double* %0, double* %11, double* %7, i32 %1, i32 %1, i32 1)
br i1 %392, label %701, label %967
701: ; preds = %699
%702 = sext i32 %1 to i64
%703 = zext i32 %179 to i64
%704 = zext i32 %1 to i64
%705 = zext i32 %1 to i64
%706 = getelementptr double, double* %7, i64 1
%707 = getelementptr double, double* %7, i64 %398
%708 = add nsw i64 %398, -1
%709 = getelementptr double, double* %16, i64 %398
%710 = icmp ult i32 %1, 4
%711 = and i64 %398, 4294967292
%712 = and i64 %417, 3
%713 = icmp ult i64 %415, 12
%714 = and i64 %417, 9223372036854775804
%715 = icmp eq i64 %712, 0
%716 = icmp eq i64 %711, %398
%717 = and i64 %398, 3
%718 = icmp eq i64 %717, 0
%719 = icmp eq i32 %1, 1
%720 = icmp ult i64 %708, 4
%721 = and i64 %708, -4
%722 = or i64 %721, 1
%723 = icmp eq i64 %708, %721
%724 = and i64 %398, 1
%725 = icmp eq i64 %724, 0
%726 = sub nsw i64 0, %398
br label %727
727: ; preds = %701, %964
%728 = phi i64 [ 0, %701 ], [ %965, %964 ]
%729 = mul i64 %728, %397
%730 = getelementptr double, double* %6, i64 %729
%731 = add i64 %729, %398
%732 = getelementptr double, double* %6, i64 %731
%733 = bitcast double* %732 to i8*
%734 = getelementptr double, double* %26, i64 %728
%735 = add nuw i64 %728, 1
%736 = getelementptr double, double* %26, i64 %735
%737 = mul i64 %728, %397
%738 = add i64 %737, 1
%739 = getelementptr double, double* %5, i64 %738
%740 = add i64 %737, %398
%741 = getelementptr double, double* %5, i64 %740
%742 = getelementptr double, double* %23, i64 %728
%743 = getelementptr double, double* %23, i64 %735
%744 = mul nsw i64 %728, %702
br i1 %34, label %745, label %864
745: ; preds = %727
br i1 %710, label %824, label %746
746: ; preds = %745
%747 = icmp ult i8* %17, %733
%748 = icmp ult double* %730, %709
%749 = and i1 %747, %748
br i1 %749, label %824, label %750
750: ; preds = %746
br i1 %713, label %804, label %751
751: ; preds = %750, %751
%752 = phi i64 [ %801, %751 ], [ 0, %750 ]
%753 = phi i64 [ %802, %751 ], [ 0, %750 ]
%754 = add nsw i64 %752, %744
%755 = getelementptr inbounds double, double* %6, i64 %754
%756 = bitcast double* %755 to <2 x double>*
%757 = load <2 x double>, <2 x double>* %756
%758 = getelementptr inbounds double, double* %755, i64 2
%759 = bitcast double* %758 to <2 x double>*
%760 = load <2 x double>, <2 x double>* %759
%761 = getelementptr inbounds double, double* %16, i64 %752
%762 = bitcast double* %761 to <2 x double>*
store <2 x double> %757, <2 x double>* %762
%763 = getelementptr inbounds double, double* %761, i64 2
%764 = bitcast double* %763 to <2 x double>*
store <2 x double> %760, <2 x double>* %764
%765 = or i64 %752, 4
%766 = add nsw i64 %765, %744
%767 = getelementptr inbounds double, double* %6, i64 %766
%768 = bitcast double* %767 to <2 x double>*
%769 = load <2 x double>, <2 x double>* %768
%770 = getelementptr inbounds double, double* %767, i64 2
%771 = bitcast double* %770 to <2 x double>*
%772 = load <2 x double>, <2 x double>* %771
%773 = getelementptr inbounds double, double* %16, i64 %765
%774 = bitcast double* %773 to <2 x double>*
store <2 x double> %769, <2 x double>* %774
%775 = getelementptr inbounds double, double* %773, i64 2
%776 = bitcast double* %775 to <2 x double>*
store <2 x double> %772, <2 x double>* %776
%777 = or i64 %752, 8
%778 = add nsw i64 %777, %744
%779 = getelementptr inbounds double, double* %6, i64 %778
%780 = bitcast double* %779 to <2 x double>*
%781 = load <2 x double>, <2 x double>* %780
%782 = getelementptr inbounds double, double* %779, i64 2
%783 = bitcast double* %782 to <2 x double>*
%784 = load <2 x double>, <2 x double>* %783
%785 = getelementptr inbounds double, double* %16, i64 %777
%786 = bitcast double* %785 to <2 x double>*
store <2 x double> %781, <2 x double>* %786
%787 = getelementptr inbounds double, double* %785, i64 2
%788 = bitcast double* %787 to <2 x double>*
store <2 x double> %784, <2 x double>* %788
%789 = or i64 %752, 12
%790 = add nsw i64 %789, %744
%791 = getelementptr inbounds double, double* %6, i64 %790
%792 = bitcast double* %791 to <2 x double>*
%793 = load <2 x double>, <2 x double>* %792
%794 = getelementptr inbounds double, double* %791, i64 2
%795 = bitcast double* %794 to <2 x double>*
%796 = load <2 x double>, <2 x double>* %795
%797 = getelementptr inbounds double, double* %16, i64 %789
%798 = bitcast double* %797 to <2 x double>*
store <2 x double> %793, <2 x double>* %798
%799 = getelementptr inbounds double, double* %797, i64 2
%800 = bitcast double* %799 to <2 x double>*
store <2 x double> %796, <2 x double>* %800
%801 = add nuw i64 %752, 16
%802 = add nuw i64 %753, 4
%803 = icmp eq i64 %802, %714
br i1 %803, label %804, label %751
804: ; preds = %751, %750
%805 = phi i64 [ 0, %750 ], [ %801, %751 ]
br i1 %715, label %823, label %806
806: ; preds = %804, %806
%807 = phi i64 [ %820, %806 ], [ %805, %804 ]
%808 = phi i64 [ %821, %806 ], [ 0, %804 ]
%809 = add nsw i64 %807, %744
%810 = getelementptr inbounds double, double* %6, i64 %809
%811 = bitcast double* %810 to <2 x double>*
%812 = load <2 x double>, <2 x double>* %811
%813 = getelementptr inbounds double, double* %810, i64 2
%814 = bitcast double* %813 to <2 x double>*
%815 = load <2 x double>, <2 x double>* %814
%816 = getelementptr inbounds double, double* %16, i64 %807
%817 = bitcast double* %816 to <2 x double>*
store <2 x double> %812, <2 x double>* %817
%818 = getelementptr inbounds double, double* %816, i64 2
%819 = bitcast double* %818 to <2 x double>*
store <2 x double> %815, <2 x double>* %819
%820 = add nuw i64 %807, 4
%821 = add i64 %808, 1
%822 = icmp eq i64 %821, %712
br i1 %822, label %823, label %806
823: ; preds = %806, %804
br i1 %716, label %864, label %824
824: ; preds = %746, %745, %823
%825 = phi i64 [ 0, %746 ], [ 0, %745 ], [ %711, %823 ]
%826 = xor i64 %825, -1
%827 = add nsw i64 %826, %398
br i1 %718, label %838, label %828
828: ; preds = %824, %828
%829 = phi i64 [ %835, %828 ], [ %825, %824 ]
%830 = phi i64 [ %836, %828 ], [ 0, %824 ]
%831 = add nsw i64 %829, %744
%832 = getelementptr inbounds double, double* %6, i64 %831
%833 = load double, double* %832
%834 = getelementptr inbounds double, double* %16, i64 %829
store double %833, double* %834
%835 = add nuw nsw i64 %829, 1
%836 = add i64 %830, 1
%837 = icmp eq i64 %836, %717
br i1 %837, label %838, label %828
838: ; preds = %828, %824
%839 = phi i64 [ %825, %824 ], [ %835, %828 ]
%840 = icmp ult i64 %827, 3
br i1 %840, label %864, label %841
841: ; preds = %838, %841
%842 = phi i64 [ %862, %841 ], [ %839, %838 ]
%843 = add nsw i64 %842, %744
%844 = getelementptr inbounds double, double* %6, i64 %843
%845 = load double, double* %844
%846 = getelementptr inbounds double, double* %16, i64 %842
store double %845, double* %846
%847 = add nuw nsw i64 %842, 1
%848 = add nsw i64 %847, %744
%849 = getelementptr inbounds double, double* %6, i64 %848
%850 = load double, double* %849
%851 = getelementptr inbounds double, double* %16, i64 %847
store double %850, double* %851
%852 = add nuw nsw i64 %842, 2
%853 = add nsw i64 %852, %744
%854 = getelementptr inbounds double, double* %6, i64 %853
%855 = load double, double* %854
%856 = getelementptr inbounds double, double* %16, i64 %852
store double %855, double* %856
%857 = add nuw nsw i64 %842, 3
%858 = add nsw i64 %857, %744
%859 = getelementptr inbounds double, double* %6, i64 %858
%860 = load double, double* %859
%861 = getelementptr inbounds double, double* %16, i64 %857
store double %860, double* %861
%862 = add nuw nsw i64 %842, 4
%863 = icmp eq i64 %862, %704
br i1 %863, label %864, label %841
864: ; preds = %838, %841, %823, %727
%865 = getelementptr inbounds double, double* %26, i64 %728
%866 = tail call i32 @mmult(double* %16, double* %7, double* %865, i32 1, i32 %1, i32 1)
%867 = getelementptr inbounds double, double* %29, i64 %728
%868 = load double, double* %867
%869 = load double, double* %865
%870 = fmul double %868, %869
store double %870, double* %865
br i1 %34, label %871, label %964
871: ; preds = %864
%872 = getelementptr inbounds double, double* %23, i64 %728
%873 = getelementptr inbounds double, double* %5, i64 %744
%874 = load double, double* %873
%875 = load double, double* %872
%876 = fsub double %875, %870
%877 = load double, double* %7
%878 = tail call double @llvm.fmuladd.f64(double %874, double %876, double %877)
store double %878, double* %7
br i1 %719, label %964, label %879
879: ; preds = %871
br i1 %720, label %924, label %880
880: ; preds = %879
%881 = icmp ult double* %706, %736
%882 = icmp ult double* %734, %707
%883 = and i1 %881, %882
%884 = icmp ult double* %706, %741
%885 = icmp ult double* %739, %707
%886 = and i1 %884, %885
%887 = or i1 %883, %886
%888 = icmp ult double* %706, %743
%889 = icmp ult double* %742, %707
%890 = and i1 %888, %889
%891 = or i1 %887, %890
br i1 %891, label %924, label %892
892: ; preds = %880
%893 = load double, double* %865
%894 = load double, double* %872
%895 = fsub double %894, %893
%896 = insertelement <2 x double> poison, double %895, i64 0
%897 = shufflevector <2 x double> %896, <2 x double> poison, <2 x i32> zeroinitializer
%898 = fsub double %894, %893
%899 = insertelement <2 x double> poison, double %898, i64 0
%900 = shufflevector <2 x double> %899, <2 x double> poison, <2 x i32> zeroinitializer
br label %901
901: ; preds = %901, %892
%902 = phi i64 [ 0, %892 ], [ %921, %901 ]
%903 = or i64 %902, 1
%904 = add nsw i64 %903, %744
%905 = getelementptr inbounds double, double* %5, i64 %904
%906 = bitcast double* %905 to <2 x double>*
%907 = load <2 x double>, <2 x double>* %906
%908 = getelementptr inbounds double, double* %905, i64 2
%909 = bitcast double* %908 to <2 x double>*
%910 = load <2 x double>, <2 x double>* %909
%911 = getelementptr inbounds double, double* %7, i64 %903
%912 = bitcast double* %911 to <2 x double>*
%913 = load <2 x double>, <2 x double>* %912
%914 = getelementptr inbounds double, double* %911, i64 2
%915 = bitcast double* %914 to <2 x double>*
%916 = load <2 x double>, <2 x double>* %915
%917 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %907, <2 x double> %897, <2 x double> %913)
%918 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %910, <2 x double> %900, <2 x double> %916)
%919 = bitcast double* %911 to <2 x double>*
store <2 x double> %917, <2 x double>* %919
%920 = bitcast double* %914 to <2 x double>*
store <2 x double> %918, <2 x double>* %920
%921 = add nuw i64 %902, 4
%922 = icmp eq i64 %921, %721
br i1 %922, label %923, label %901
923: ; preds = %901
br i1 %723, label %964, label %924
924: ; preds = %880, %879, %923
%925 = phi i64 [ 1, %880 ], [ 1, %879 ], [ %722, %923 ]
%926 = xor i64 %925, -1
br i1 %725, label %927, label %938
927: ; preds = %924
%928 = load double, double* %865
%929 = add nsw i64 %925, %744
%930 = getelementptr inbounds double, double* %5, i64 %929
%931 = load double, double* %930
%932 = load double, double* %872
%933 = fsub double %932, %928
%934 = getelementptr inbounds double, double* %7, i64 %925
%935 = load double, double* %934
%936 = tail call double @llvm.fmuladd.f64(double %931, double %933, double %935)
store double %936, double* %934
%937 = add nuw nsw i64 %925, 1
br label %938
938: ; preds = %927, %924
%939 = phi i64 [ %925, %924 ], [ %937, %927 ]
%940 = icmp eq i64 %926, %726
br i1 %940, label %964, label %941
941: ; preds = %938, %941
%942 = phi i64 [ %962, %941 ], [ %939, %938 ]
%943 = load double, double* %865
%944 = add nsw i64 %942, %744
%945 = getelementptr inbounds double, double* %5, i64 %944
%946 = load double, double* %945
%947 = load double, double* %872
%948 = fsub double %947, %943
%949 = getelementptr inbounds double, double* %7, i64 %942
%950 = load double, double* %949
%951 = tail call double @llvm.fmuladd.f64(double %946, double %948, double %950)
store double %951, double* %949
%952 = add nuw nsw i64 %942, 1
%953 = load double, double* %865
%954 = add nsw i64 %952, %744
%955 = getelementptr inbounds double, double* %5, i64 %954
%956 = load double, double* %955
%957 = load double, double* %872
%958 = fsub double %957, %953
%959 = getelementptr inbounds double, double* %7, i64 %952
%960 = load double, double* %959
%961 = tail call double @llvm.fmuladd.f64(double %956, double %958, double %960)
store double %961, double* %959
%962 = add nuw nsw i64 %942, 2
%963 = icmp eq i64 %962, %705
br i1 %963, label %964, label %941
964: ; preds = %938, %941, %871, %923, %864
%965 = add nuw nsw i64 %728, 1
%966 = icmp eq i64 %965, %703
br i1 %966, label %967, label %727
967: ; preds = %964, %393, %699
%968 = tail call i32 @free(double* %11)
%969 = tail call i32 @free(double* %14)
%970 = tail call i32 @free(double* %29)
%971 = tail call i32 @free(double* %23)
%972 = tail call i32 @free(double* %16)
%973 = tail call i32 @free(double* %19)
%974 = tail call i32 @free(double* %32)
%975 = tail call i32 @free(double* %26)
ret void
}