#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 */
double fabs(float);
int /*<<< orphan*/ free_vector(float *, int, int);
int /*<<< orphan*/ nrerror(char *);
float stub1(float *);
void stub2(float *, float *);
void stub3(float *, float *);
float *vector(int, int);
void frprmn(float p[], int n, float ftol, int *iter, float *fret,
            float (*func)(float[]), void (*dfunc)(float[], float[])) {
  void linmin(float p[], float xi[], int n, float *fret,
              float (*func)(float[]));
  int j, its;
  float gg, gam, fp, dgg;
  float *g, *h, *xi;
  g = vector(1, n);
  h = vector(1, n);
  xi = vector(1, n);
  fp = (*func)(p);
  (*dfunc)(p, xi);
  for (j = 1; j <= n; j++) {
    g[j] = -xi[j];
    xi[j] = h[j] = g[j];
  }
  for (its = 1; its <= 200; its++) {
    *iter = its;
    linmin(p, xi, n, fret, func);
    if (2.0 * fabs(*fret - fp) <= ftol * (fabs(*fret) + fabs(fp) + 1.0e-10)) {
      free_vector(xi, 1, n);
      free_vector(h, 1, n);
      free_vector(g, 1, n);
      return;
    }
    fp = *fret;
    (*dfunc)(p, xi);
    dgg = gg = 0.0;
    for (j = 1; j <= n; j++) {
      gg += g[j] * g[j];
      dgg += (xi[j] + g[j]) * xi[j];
    }
    if (gg == 0.0) {
      free_vector(xi, 1, n);
      free_vector(h, 1, n);
      free_vector(g, 1, n);
      return;
    }
    gam = dgg / gg;
    for (j = 1; j <= n; j++) {
      g[j] = -xi[j];
      xi[j] = h[j] = g[j] + gam * h[j];
    }
  }
  nrerror("Too many iterations in frprmn");
}


x86 assembly (clang, -O0):
<frprmn>:
push   %rbp
mov    %rsp,%rbp
sub    $0x80,%rsp
mov    %rdi,-0x8(%rbp)
mov    %esi,-0xc(%rbp)
movss  %xmm0,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %rcx,-0x20(%rbp)
mov    %r8,-0x28(%rbp)
mov    %r9,-0x30(%rbp)
mov    -0xc(%rbp),%esi
mov    $0x1,%edi
call   1070 <vector@plt>
mov    %rax,-0x50(%rbp)
mov    -0xc(%rbp),%esi
mov    $0x1,%edi
call   1070 <vector@plt>
mov    %rax,-0x58(%rbp)
mov    -0xc(%rbp),%esi
mov    $0x1,%edi
call   1070 <vector@plt>
mov    %rax,-0x60(%rbp)
mov    -0x28(%rbp),%rax
mov    -0x8(%rbp),%rdi
call   *%rax
movss  %xmm0,-0x44(%rbp)
mov    -0x30(%rbp),%rax
mov    -0x8(%rbp),%rdi
mov    -0x60(%rbp),%rsi
call   *%rax
movl   $0x1,-0x34(%rbp)
mov    -0x34(%rbp),%eax
cmp    -0xc(%rbp),%eax
jg     1236 <frprmn+0xe6>
mov    -0x60(%rbp),%rax
movslq -0x34(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm0
movd   %xmm0,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm0
mov    -0x50(%rbp),%rax
movslq -0x34(%rbp),%rcx
movss  %xmm0,(%rax,%rcx,4)
mov    -0x50(%rbp),%rax
movslq -0x34(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm0
mov    -0x58(%rbp),%rax
movslq -0x34(%rbp),%rcx
movss  %xmm0,(%rax,%rcx,4)
mov    -0x60(%rbp),%rax
movslq -0x34(%rbp),%rcx
movss  %xmm0,(%rax,%rcx,4)
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
jmp    11ce <frprmn+0x7e>
movl   $0x1,-0x38(%rbp)
cmpl   $0xc8,-0x38(%rbp)
jg     14d3 <frprmn+0x383>
mov    -0x38(%rbp),%ecx
mov    -0x18(%rbp),%rax
mov    %ecx,(%rax)
mov    -0x8(%rbp),%rdi
mov    -0x60(%rbp),%rsi
mov    -0xc(%rbp),%edx
mov    -0x20(%rbp),%rcx
mov    -0x28(%rbp),%r8
call   1030 <linmin@plt>
mov    -0x20(%rbp),%rax
movss  (%rax),%xmm0
subss  -0x44(%rbp),%xmm0
call   1060 <fabs@plt>
movaps %xmm0,%xmm1
movsd  0xd80(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
movss  -0x10(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  %xmm0,-0x68(%rbp)
mov    -0x20(%rbp),%rax
movss  (%rax),%xmm0
call   1060 <fabs@plt>
movsd  %xmm0,-0x78(%rbp)
movss  -0x44(%rbp),%xmm0
call   1060 <fabs@plt>
movsd  -0x78(%rbp),%xmm2
movsd  -0x70(%rbp),%xmm1
movaps %xmm0,%xmm3
movsd  -0x68(%rbp),%xmm0
addsd  %xmm3,%xmm2
movsd  0xd27(%rip),%xmm3
addsd  %xmm3,%xmm2
mulsd  %xmm2,%xmm0
ucomisd %xmm1,%xmm0
jb     1323 <frprmn+0x1d3>
mov    -0x60(%rbp),%rdi
mov    -0xc(%rbp),%edx
mov    $0x1,%esi
call   1050 <free_vector@plt>
mov    -0x58(%rbp),%rdi
mov    -0xc(%rbp),%edx
mov    $0x1,%esi
call   1050 <free_vector@plt>
mov    -0x50(%rbp),%rdi
mov    -0xc(%rbp),%edx
mov    $0x1,%esi
call   1050 <free_vector@plt>
jmp    14df <frprmn+0x38f>
mov    -0x20(%rbp),%rax
movss  (%rax),%xmm0
movss  %xmm0,-0x44(%rbp)
mov    -0x30(%rbp),%rax
mov    -0x8(%rbp),%rdi
mov    -0x60(%rbp),%rsi
call   *%rax
xorps  %xmm0,%xmm0
movss  %xmm0,-0x3c(%rbp)
xorps  %xmm0,%xmm0
movss  %xmm0,-0x48(%rbp)
movl   $0x1,-0x34(%rbp)
mov    -0x34(%rbp),%eax
cmp    -0xc(%rbp),%eax
jg     13d4 <frprmn+0x284>
mov    -0x50(%rbp),%rax
movslq -0x34(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm0
mov    -0x50(%rbp),%rax
movslq -0x34(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm2
movss  -0x3c(%rbp),%xmm1
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,-0x3c(%rbp)
mov    -0x60(%rbp),%rax
movslq -0x34(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm0
mov    -0x50(%rbp),%rax
movslq -0x34(%rbp),%rcx
addss  (%rax,%rcx,4),%xmm0
mov    -0x60(%rbp),%rax
movslq -0x34(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm2
movss  -0x48(%rbp),%xmm1
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,-0x48(%rbp)
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
jmp    1355 <frprmn+0x205>
movss  -0x3c(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
xorps  %xmm1,%xmm1
ucomisd %xmm1,%xmm0
jne    1428 <frprmn+0x2d8>
jp     1428 <frprmn+0x2d8>
mov    -0x60(%rbp),%rdi
mov    -0xc(%rbp),%edx
mov    $0x1,%esi
call   1050 <free_vector@plt>
mov    -0x58(%rbp),%rdi
mov    -0xc(%rbp),%edx
mov    $0x1,%esi
call   1050 <free_vector@plt>
mov    -0x50(%rbp),%rdi
mov    -0xc(%rbp),%edx
mov    $0x1,%esi
call   1050 <free_vector@plt>
jmp    14df <frprmn+0x38f>
movss  -0x48(%rbp),%xmm0
divss  -0x3c(%rbp),%xmm0
movss  %xmm0,-0x40(%rbp)
movl   $0x1,-0x34(%rbp)
mov    -0x34(%rbp),%eax
cmp    -0xc(%rbp),%eax
jg     14c0 <frprmn+0x370>
mov    -0x60(%rbp),%rax
movslq -0x34(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm0
movd   %xmm0,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm0
mov    -0x50(%rbp),%rax
movslq -0x34(%rbp),%rcx
movss  %xmm0,(%rax,%rcx,4)
mov    -0x50(%rbp),%rax
movslq -0x34(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm1
movss  -0x40(%rbp),%xmm0
mov    -0x58(%rbp),%rax
movslq -0x34(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm2
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
mov    -0x58(%rbp),%rax
movslq -0x34(%rbp),%rcx
movss  %xmm0,(%rax,%rcx,4)
mov    -0x60(%rbp),%rax
movslq -0x34(%rbp),%rcx
movss  %xmm0,(%rax,%rcx,4)
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
jmp    143e <frprmn+0x2ee>
jmp    14c5 <frprmn+0x375>
mov    -0x38(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x38(%rbp)
jmp    123d <frprmn+0xed>
lea    0xb36(%rip),%rdi
call   1040 <nrerror@plt>
add    $0x80,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<frprmn>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x98,%rsp
mov    %r9,0x38(%rsp)
mov    %r8,%r15
mov    %rcx,0x30(%rsp)
mov    %rdx,0x88(%rsp)
movss  %xmm0,0x18(%rsp)
mov    %esi,%ebp
mov    %rdi,%r14
mov    $0x1,%edi
call   1070 <vector@plt>
mov    %rax,%rbx
mov    $0x1,%edi
mov    %ebp,%esi
call   1070 <vector@plt>
mov    %rax,%r13
mov    $0x1,%edi
mov    %ebp,%esi
call   1070 <vector@plt>
mov    %rax,%r12
mov    %r14,%rdi
mov    %r15,0x90(%rsp)
call   *%r15
movss  %xmm0,0x4(%rsp)
mov    %r14,0x20(%rsp)
mov    %r14,%rdi
mov    %r12,%rsi
call   *0x38(%rsp)
mov    %rbp,%rdx
lea    0x1(%rbp),%eax
mov    %eax,0x2c(%rsp)
mov    %eax,%ebp
test   %edx,%edx
jle    13e2 <frprmn+0x292>
lea    -0x1(%rbp),%rcx
mov    $0x1,%eax
cmp    $0x8,%rcx
jb     135f <frprmn+0x20f>
mov    %rcx,0x10(%rsp)
mov    %rdx,%r15
lea    0x4(%rbx),%rcx
lea    (%rbx,%rbp,4),%rsi
lea    0x4(%r13),%rdi
lea    0x0(,%rbp,4),%r10
add    %r13,%r10
lea    0x4(%r12),%r14
lea    (%r12,%rbp,4),%rdx
cmp    %r10,%rcx
setb   %r11b
cmp    %rsi,%rdi
setb   %r8b
cmp    %rdx,%rcx
setb   %cl
cmp    %rsi,%r14
setb   %sil
cmp    %rdx,%rdi
setb   %r9b
cmp    %r10,%r14
setb   %dil
test   %r8b,%r11b
jne    135c <frprmn+0x20c>
and    %sil,%cl
jne    135c <frprmn+0x20c>
and    %dil,%r9b
mov    %r15,%rdx
jne    135f <frprmn+0x20f>
mov    0x10(%rsp),%r8
mov    %r8,%rax
and    $0xfffffffffffffff8,%rax
lea    -0x8(%rax),%rcx
mov    %rcx,%rsi
shr    $0x3,%rsi
add    $0x1,%rsi
test   %rcx,%rcx
je     1894 <frprmn+0x744>
mov    %rsi,%rdi
and    $0xfffffffffffffffe,%rdi
mov    $0x1,%ecx
movaps 0xd64(%rip),%xmm0
nopl   0x0(%rax)
movups (%r12,%rcx,4),%xmm1
movups 0x10(%r12,%rcx,4),%xmm2
xorps  %xmm0,%xmm1
xorps  %xmm0,%xmm2
movups %xmm1,(%rbx,%rcx,4)
movups %xmm2,0x10(%rbx,%rcx,4)
movups %xmm1,0x0(%r13,%rcx,4)
movups %xmm2,0x10(%r13,%rcx,4)
movups %xmm1,(%r12,%rcx,4)
movups %xmm2,0x10(%r12,%rcx,4)
movups 0x20(%r12,%rcx,4),%xmm1
movups 0x30(%r12,%rcx,4),%xmm2
xorps  %xmm0,%xmm1
xorps  %xmm0,%xmm2
movups %xmm1,0x20(%rbx,%rcx,4)
movups %xmm2,0x30(%rbx,%rcx,4)
movups %xmm1,0x20(%r13,%rcx,4)
movups %xmm2,0x30(%r13,%rcx,4)
movups %xmm1,0x20(%r12,%rcx,4)
movups %xmm2,0x30(%r12,%rcx,4)
add    $0x10,%rcx
add    $0xfffffffffffffffe,%rdi
jne    12a0 <frprmn+0x150>
test   $0x1,%sil
je     134d <frprmn+0x1fd>
movups (%r12,%rcx,4),%xmm0
movups 0x10(%r12,%rcx,4),%xmm1
movaps 0xcd9(%rip),%xmm2
xorps  %xmm2,%xmm0
xorps  %xmm2,%xmm1
movups %xmm0,(%rbx,%rcx,4)
movups %xmm1,0x10(%rbx,%rcx,4)
movups %xmm0,0x0(%r13,%rcx,4)
movups %xmm1,0x10(%r13,%rcx,4)
movups %xmm0,(%r12,%rcx,4)
movups %xmm1,0x10(%r12,%rcx,4)
cmp    %rax,%r8
je     13e2 <frprmn+0x292>
or     $0x1,%rax
jmp    135f <frprmn+0x20f>
mov    %r15,%rdx
mov    %rax,%rcx
not    %rcx
test   $0x1,%bpl
jne    138e <frprmn+0x23e>
movss  (%r12,%rax,4),%xmm0
xorps  0xc88(%rip),%xmm0
movss  %xmm0,(%rbx,%rax,4)
movss  %xmm0,0x0(%r13,%rax,4)
movss  %xmm0,(%r12,%rax,4)
add    $0x1,%rax
add    %rbp,%rcx
je     13e2 <frprmn+0x292>
movaps 0xc66(%rip),%xmm0
nopw   0x0(%rax,%rax,1)
movss  (%r12,%rax,4),%xmm1
xorps  %xmm0,%xmm1
movss  %xmm1,(%rbx,%rax,4)
movss  %xmm1,0x0(%r13,%rax,4)
movss  %xmm1,(%r12,%rax,4)
movss  0x4(%r12,%rax,4),%xmm1
xorps  %xmm0,%xmm1
movss  %xmm1,0x4(%rbx,%rax,4)
movss  %xmm1,0x4(%r13,%rax,4)
movss  %xmm1,0x4(%r12,%rax,4)
add    $0x2,%rax
cmp    %rax,%rbp
jne    13a0 <frprmn+0x250>
movss  0x18(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  %xmm0,0x80(%rsp)
lea    (%rbx,%rbp,4),%r9
mov    %rbx,%rcx
add    $0x4,%rcx
lea    0x0(,%rbp,4),%r8
add    %r13,%r8
mov    %r13,%r15
add    $0x4,%r15
lea    (%r12,%rbp,4),%r11
mov    %r12,%rdi
add    $0x4,%rdi
lea    -0x1(%rbp),%r14
lea    -0x5(%rbp),%rax
mov    %rax,0x60(%rsp)
mov    %rax,%rsi
shr    $0x2,%rsi
add    $0x1,%rsi
cmp    %r8,%rcx
setb   %r10b
cmp    %r9,%r15
setb   %al
and    %r10b,%al
cmp    %r11,%rcx
setb   %r10b
cmp    %r9,%rdi
setb   %cl
and    %r10b,%cl
or     %al,%cl
cmp    %r11,%r15
setb   %r9b
cmp    %r8,%rdi
setb   %al
and    %r9b,%al
or     %cl,%al
mov    %al,0x3(%rsp)
mov    %r14,%rax
and    $0xfffffffffffffffc,%rax
mov    %rax,0x50(%rsp)
add    $0x1,%rax
mov    %rax,0x48(%rsp)
mov    %rsi,%rax
mov    %rsi,0x58(%rsp)
and    $0xfffffffffffffffe,%rsi
mov    %rsi,0x40(%rsp)
mov    %rbp,%rax
neg    %rax
mov    %rax,0x68(%rsp)
mov    %r14,%rax
mov    %r14,0x8(%rsp)
and    $0xfffffffffffffffe,%r14
neg    %r14
mov    0x30(%rsp),%rcx
mov    0x20(%rsp),%rdi
mov    $0x1,%esi
mov    %rbp,0x78(%rsp)
mov    %r14,0x70(%rsp)
jmp    14e3 <frprmn+0x393>
nopl   0x0(%rax,%rax,1)
mov    0x10(%rsp),%esi
add    $0x1,%esi
cmp    $0xc9,%esi
je     1877 <frprmn+0x727>
mov    0x88(%rsp),%rax
mov    %esi,0x10(%rsp)
mov    %esi,(%rax)
mov    %r12,%rsi
mov    %rdi,%rbp
mov    %rcx,%r14
mov    0x90(%rsp),%r8
mov    %rdx,%r15
call   1030 <linmin@plt>
movss  (%r14),%xmm0
subss  0x4(%rsp),%xmm0
call   1060 <fabs@plt>
addsd  %xmm0,%xmm0
movsd  %xmm0,0x20(%rsp)
movss  (%r14),%xmm0
call   1060 <fabs@plt>
movsd  %xmm0,0x18(%rsp)
movss  0x4(%rsp),%xmm0
call   1060 <fabs@plt>
addsd  0x18(%rsp),%xmm0
addsd  0xac3(%rip),%xmm0
mulsd  0x80(%rsp),%xmm0
ucomisd 0x20(%rsp),%xmm0
jae    1836 <frprmn+0x6e6>
movss  (%r14),%xmm0
movss  %xmm0,0x4(%rsp)
mov    %rbp,%rdi
mov    %r12,%rsi
call   *0x38(%rsp)
test   %r15d,%r15d
mov    %r15,%rdx
mov    %rbp,%rdi
mov    0x78(%rsp),%rbp
mov    0x70(%rsp),%r14
jle    180b <frprmn+0x6bb>
cmpl   $0x2,0x2c(%rsp)
jne    15b0 <frprmn+0x460>
xorps  %xmm1,%xmm1
mov    $0x1,%eax
jmp    1619 <frprmn+0x4c9>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
xorps  %xmm0,%xmm0
mov    $0x1,%eax
nopl   0x0(%rax,%rax,1)
movss  (%rbx,%rax,4),%xmm2
movss  0x4(%rbx,%rax,4),%xmm1
movss  (%r12,%rax,4),%xmm3
movss  0x4(%r12,%rax,4),%xmm4
movaps %xmm2,%xmm5
addss  %xmm3,%xmm5
movaps %xmm2,%xmm6
unpcklps %xmm5,%xmm6
unpcklps %xmm3,%xmm2
mulps  %xmm6,%xmm2
addps  %xmm0,%xmm2
movaps %xmm1,%xmm0
addss  %xmm4,%xmm0
movaps %xmm1,%xmm3
unpcklps %xmm0,%xmm3
unpcklps %xmm4,%xmm1
mulps  %xmm3,%xmm1
addps  %xmm2,%xmm1
lea    (%r14,%rax,1),%rcx
add    $0x2,%rcx
add    $0x2,%rax
movaps %xmm1,%xmm0
cmp    $0x1,%rcx
jne    15c0 <frprmn+0x470>
testb  $0x1,0x8(%rsp)
je     1641 <frprmn+0x4f1>
movss  (%rbx,%rax,4),%xmm0
movss  (%r12,%rax,4),%xmm2
movaps %xmm0,%xmm3
addss  %xmm2,%xmm3
movaps %xmm0,%xmm4
unpcklps %xmm3,%xmm4
unpcklps %xmm2,%xmm0
mulps  %xmm4,%xmm0
addps  %xmm0,%xmm1
ucomiss 0x9d0(%rip),%xmm1
jne    1650 <frprmn+0x500>
jnp    180b <frprmn+0x6bb>
test   %edx,%edx
mov    0x30(%rsp),%rcx
movaps 0x9a2(%rip),%xmm4
jle    14d0 <frprmn+0x380>
movaps %xmm1,%xmm0
shufps $0x55,%xmm1,%xmm0
divss  %xmm1,%xmm0
cmpq   $0x4,0x8(%rsp)
setb   %al
or     0x3(%rsp),%al
mov    $0x1,%esi
jne    1756 <frprmn+0x606>
movaps %xmm0,%xmm1
shufps $0x0,%xmm0,%xmm1
cmpq   $0x4,0x60(%rsp)
jae    169a <frprmn+0x54a>
xor    %eax,%eax
jmp    170c <frprmn+0x5bc>
mov    0x40(%rsp),%rsi
xor    %eax,%eax
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
movups 0x4(%r12,%rax,4),%xmm2
movaps %xmm2,%xmm3
xorps  %xmm4,%xmm3
movups %xmm3,0x4(%rbx,%rax,4)
movups 0x4(%r13,%rax,4),%xmm3
mulps  %xmm1,%xmm3
subps  %xmm2,%xmm3
movups %xmm3,0x4(%r13,%rax,4)
movups %xmm3,0x4(%r12,%rax,4)
movups 0x14(%r12,%rax,4),%xmm2
movaps %xmm2,%xmm3
xorps  %xmm4,%xmm3
movups %xmm3,0x14(%rbx,%rax,4)
movups 0x14(%r13,%rax,4),%xmm3
mulps  %xmm1,%xmm3
subps  %xmm2,%xmm3
movups %xmm3,0x14(%r13,%rax,4)
movups %xmm3,0x14(%r12,%rax,4)
add    $0x8,%rax
add    $0xfffffffffffffffe,%rsi
jne    16b0 <frprmn+0x560>
testb  $0x1,0x58(%rsp)
je     1741 <frprmn+0x5f1>
shl    $0x2,%rax
or     $0x4,%rax
movups (%r12,%rax,1),%xmm2
movaps %xmm2,%xmm3
xorps  %xmm4,%xmm3
movups %xmm3,(%rbx,%rax,1)
movups 0x0(%r13,%rax,1),%xmm3
mulps  %xmm3,%xmm1
subps  %xmm2,%xmm1
movups %xmm1,0x0(%r13,%rax,1)
movups %xmm1,(%r12,%rax,1)
mov    0x48(%rsp),%rsi
mov    0x50(%rsp),%rax
cmp    %rax,0x8(%rsp)
je     14d0 <frprmn+0x380>
mov    %rsi,%rax
test   $0x1,%bpl
jne    1790 <frprmn+0x640>
movss  (%r12,%rsi,4),%xmm1
movaps %xmm1,%xmm2
xorps  %xmm4,%xmm2
movss  %xmm2,(%rbx,%rsi,4)
movss  0x0(%r13,%rsi,4),%xmm2
mulss  %xmm0,%xmm2
subss  %xmm1,%xmm2
movss  %xmm2,0x0(%r13,%rsi,4)
movss  %xmm2,(%r12,%rsi,4)
lea    0x1(%rsi),%rax
not    %rsi
cmp    0x68(%rsp),%rsi
je     14d0 <frprmn+0x380>
xchg   %ax,%ax
movss  (%r12,%rax,4),%xmm1
movaps %xmm1,%xmm2
xorps  %xmm4,%xmm2
movss  %xmm2,(%rbx,%rax,4)
movss  0x0(%r13,%rax,4),%xmm2
mulss  %xmm0,%xmm2
subss  %xmm1,%xmm2
movss  %xmm2,0x0(%r13,%rax,4)
movss  %xmm2,(%r12,%rax,4)
movss  0x4(%r12,%rax,4),%xmm1
movaps %xmm1,%xmm2
xorps  %xmm4,%xmm2
movss  %xmm2,0x4(%rbx,%rax,4)
movss  0x4(%r13,%rax,4),%xmm2
mulss  %xmm0,%xmm2
subss  %xmm1,%xmm2
movss  %xmm2,0x4(%r13,%rax,4)
movss  %xmm2,0x4(%r12,%rax,4)
add    $0x2,%rax
cmp    %rax,%rbp
jne    17a0 <frprmn+0x650>
jmp    14d0 <frprmn+0x380>
mov    %r12,%rdi
mov    $0x1,%esi
mov    %rdx,%rbp
call   1050 <free_vector@plt>
mov    %r13,%rdi
mov    $0x1,%esi
mov    %ebp,%edx
call   1050 <free_vector@plt>
mov    %rbx,%rdi
mov    $0x1,%esi
mov    %ebp,%edx
jmp    1861 <frprmn+0x711>
mov    %r12,%rdi
mov    $0x1,%esi
mov    %r15d,%edx
call   1050 <free_vector@plt>
mov    %r13,%rdi
mov    $0x1,%esi
mov    %r15d,%edx
call   1050 <free_vector@plt>
mov    %rbx,%rdi
mov    $0x1,%esi
mov    %r15d,%edx
add    $0x98,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1050 <free_vector@plt>
lea    0x79e(%rip),%rdi
add    $0x98,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1040 <nrerror@plt>
mov    $0x1,%ecx
test   $0x1,%sil
jne    1315 <frprmn+0x1c5>
jmp    134d <frprmn+0x1fd>

LLVM IR (-O0):
@.str = [30 x i8] c"Too many iterations in frprmn\00"
define void @frprmn(float* %0, i32 %1, float %2, i32* %3, float* %4, float (float*)* %5, void (float*, float*)* %6) {
%8 = alloca float*
%9 = alloca i32
%10 = alloca float
%11 = alloca i32*
%12 = alloca float*
%13 = alloca float (float*)*
%14 = alloca void (float*, float*)*
%15 = alloca i32
%16 = alloca i32
%17 = alloca float
%18 = alloca float
%19 = alloca float
%20 = alloca float
%21 = alloca float*
%22 = alloca float*
%23 = alloca float*
store float* %0, float** %8
store i32 %1, i32* %9
store float %2, float* %10
store i32* %3, i32** %11
store float* %4, float** %12
store float (float*)* %5, float (float*)** %13
store void (float*, float*)* %6, void (float*, float*)** %14
%24 = load i32, i32* %9
%25 = call float* @vector(i32 1, i32 %24)
store float* %25, float** %21
%26 = load i32, i32* %9
%27 = call float* @vector(i32 1, i32 %26)
store float* %27, float** %22
%28 = load i32, i32* %9
%29 = call float* @vector(i32 1, i32 %28)
store float* %29, float** %23
%30 = load float (float*)*, float (float*)** %13
%31 = load float*, float** %8
%32 = call float %30(float* %31)
store float %32, float* %19
%33 = load void (float*, float*)*, void (float*, float*)** %14
%34 = load float*, float** %8
%35 = load float*, float** %23
store i32 1, i32* %15
br label %36
36: ; preds = %64, %7
%37 = load i32, i32* %15
%38 = load i32, i32* %9
%39 = icmp sle i32 %37, %38
br i1 %39, label %40, label %67
40: ; preds = %36
%41 = load float*, float** %23
%42 = load i32, i32* %15
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds float, float* %41, i64 %43
%45 = load float, float* %44
%46 = fneg float %45
%47 = load float*, float** %21
%48 = load i32, i32* %15
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds float, float* %47, i64 %49
store float %46, float* %50
%51 = load float*, float** %21
%52 = load i32, i32* %15
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds float, float* %51, i64 %53
%55 = load float, float* %54
%56 = load float*, float** %22
%57 = load i32, i32* %15
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds float, float* %56, i64 %58
store float %55, float* %59
%60 = load float*, float** %23
%61 = load i32, i32* %15
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds float, float* %60, i64 %62
store float %55, float* %63
br label %64
64: ; preds = %40
%65 = load i32, i32* %15
%66 = add nsw i32 %65, 1
store i32 %66, i32* %15
br label %36
67: ; preds = %36
store i32 1, i32* %16
br label %68
68: ; preds = %207, %67
%69 = load i32, i32* %16
%70 = icmp sle i32 %69, 200
br i1 %70, label %71, label %210
71: ; preds = %68
%72 = load i32, i32* %16
%73 = load i32*, i32** %11
store i32 %72, i32* %73
%74 = load float*, float** %8
%75 = load float*, float** %23
%76 = load i32, i32* %9
%77 = load float*, float** %12
%78 = load float (float*)*, float (float*)** %13
%79 = load float*, float** %12
%80 = load float, float* %79
%81 = load float, float* %19
%82 = fsub float %80, %81
%83 = call double @fabs(float %82)
%84 = fmul double 2.000000e+00, %83
%85 = load float, float* %10
%86 = fpext float %85 to double
%87 = load float*, float** %12
%88 = load float, float* %87
%89 = call double @fabs(float %88)
%90 = load float, float* %19
%91 = call double @fabs(float %90)
%92 = fadd double %89, %91
%93 = fadd double %92, 1.000000e-10
%94 = fmul double %86, %93
%95 = fcmp ole double %84, %94
br i1 %95, label %96, label %106
96: ; preds = %71
%97 = load float*, float** %23
%98 = load i32, i32* %9
%99 = call i32 @free_vector(float* %97, i32 1, i32 %98)
%100 = load float*, float** %22
%101 = load i32, i32* %9
%102 = call i32 @free_vector(float* %100, i32 1, i32 %101)
%103 = load float*, float** %21
%104 = load i32, i32* %9
%105 = call i32 @free_vector(float* %103, i32 1, i32 %104)
br label %212
106: ; preds = %71
%107 = load float*, float** %12
%108 = load float, float* %107
store float %108, float* %19
%109 = load void (float*, float*)*, void (float*, float*)** %14
%110 = load float*, float** %8
%111 = load float*, float** %23
store float 0.000000e+00, float* %17
store float 0.000000e+00, float* %20
store i32 1, i32* %15
br label %112
112: ; preds = %147, %106
%113 = load i32, i32* %15
%114 = load i32, i32* %9
%115 = icmp sle i32 %113, %114
br i1 %115, label %116, label %150
116: ; preds = %112
%117 = load float*, float** %21
%118 = load i32, i32* %15
%119 = sext i32 %118 to i64
%120 = getelementptr inbounds float, float* %117, i64 %119
%121 = load float, float* %120
%122 = load float*, float** %21
%123 = load i32, i32* %15
%124 = sext i32 %123 to i64
%125 = getelementptr inbounds float, float* %122, i64 %124
%126 = load float, float* %125
%127 = load float, float* %17
%128 = call float @llvm.fmuladd.f32(float %121, float %126, float %127)
store float %128, float* %17
%129 = load float*, float** %23
%130 = load i32, i32* %15
%131 = sext i32 %130 to i64
%132 = getelementptr inbounds float, float* %129, i64 %131
%133 = load float, float* %132
%134 = load float*, float** %21
%135 = load i32, i32* %15
%136 = sext i32 %135 to i64
%137 = getelementptr inbounds float, float* %134, i64 %136
%138 = load float, float* %137
%139 = fadd float %133, %138
%140 = load float*, float** %23
%141 = load i32, i32* %15
%142 = sext i32 %141 to i64
%143 = getelementptr inbounds float, float* %140, i64 %142
%144 = load float, float* %143
%145 = load float, float* %20
%146 = call float @llvm.fmuladd.f32(float %139, float %144, float %145)
store float %146, float* %20
br label %147
147: ; preds = %116
%148 = load i32, i32* %15
%149 = add nsw i32 %148, 1
store i32 %149, i32* %15
br label %112
150: ; preds = %112
%151 = load float, float* %17
%152 = fpext float %151 to double
%153 = fcmp oeq double %152, 0.000000e+00
br i1 %153, label %154, label %164
154: ; preds = %150
%155 = load float*, float** %23
%156 = load i32, i32* %9
%157 = call i32 @free_vector(float* %155, i32 1, i32 %156)
%158 = load float*, float** %22
%159 = load i32, i32* %9
%160 = call i32 @free_vector(float* %158, i32 1, i32 %159)
%161 = load float*, float** %21
%162 = load i32, i32* %9
%163 = call i32 @free_vector(float* %161, i32 1, i32 %162)
br label %212
164: ; preds = %150
%165 = load float, float* %20
%166 = load float, float* %17
%167 = fdiv float %165, %166
store float %167, float* %18
store i32 1, i32* %15
br label %168
168: ; preds = %203, %164
%169 = load i32, i32* %15
%170 = load i32, i32* %9
%171 = icmp sle i32 %169, %170
br i1 %171, label %172, label %206
172: ; preds = %168
%173 = load float*, float** %23
%174 = load i32, i32* %15
%175 = sext i32 %174 to i64
%176 = getelementptr inbounds float, float* %173, i64 %175
%177 = load float, float* %176
%178 = fneg float %177
%179 = load float*, float** %21
%180 = load i32, i32* %15
%181 = sext i32 %180 to i64
%182 = getelementptr inbounds float, float* %179, i64 %181
store float %178, float* %182
%183 = load float*, float** %21
%184 = load i32, i32* %15
%185 = sext i32 %184 to i64
%186 = getelementptr inbounds float, float* %183, i64 %185
%187 = load float, float* %186
%188 = load float, float* %18
%189 = load float*, float** %22
%190 = load i32, i32* %15
%191 = sext i32 %190 to i64
%192 = getelementptr inbounds float, float* %189, i64 %191
%193 = load float, float* %192
%194 = call float @llvm.fmuladd.f32(float %188, float %193, float %187)
%195 = load float*, float** %22
%196 = load i32, i32* %15
%197 = sext i32 %196 to i64
%198 = getelementptr inbounds float, float* %195, i64 %197
store float %194, float* %198
%199 = load float*, float** %23
%200 = load i32, i32* %15
%201 = sext i32 %200 to i64
%202 = getelementptr inbounds float, float* %199, i64 %201
store float %194, float* %202
br label %203
203: ; preds = %172
%204 = load i32, i32* %15
%205 = add nsw i32 %204, 1
store i32 %205, i32* %15
br label %168
206: ; preds = %168
br label %207
207: ; preds = %206
%208 = load i32, i32* %16
%209 = add nsw i32 %208, 1
store i32 %209, i32* %16
br label %68
210: ; preds = %68
%211 = call i32 @nrerror(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str, i64 0, i64 0))
br label %212
212: ; preds = %210, %154, %96
ret void
}

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