#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(double);
int /*<<< orphan*/ nrerror(char *);
double stub1(double);
double stub2(double);
double brent(double ax, double bx, double cx, double (*f)(double), double tol,
             double *xmin) {
  int iter;
  double a, b, d, etemp, fu, fv, fw, fx, p, q, r, tol1, tol2, u, v, w, x, xm;
  double e = 0.0;
  a = (ax < cx ? ax : cx);
  b = (ax > cx ? ax : cx);
  x = w = v = bx;
  fw = fv = fx = (*f)(x);
  for (iter = 1; iter <= 100; iter++) {
    xm = 0.5 * (a + b);
    tol2 = 2.0 * (tol1 = tol * fabs(x) + 1.0e-10);
    if (fabs(x - xm) <= (tol2 - 0.5 * (b - a))) {
      *xmin = x;
      return fx;
    }
    if (fabs(e) > tol1) {
      r = (x - w) * (fx - fv);
      q = (x - v) * (fx - fw);
      p = (x - v) * q - (x - w) * r;
      q = 2.0 * (q - r);
      if (q > 0.0)
        p = -p;
      q = fabs(q);
      etemp = e;
      e = d;
      if (fabs(p) >= fabs(0.5 * q * etemp) || p <= q * (a - x) ||
          p >= q * (b - x))
        d = 0.3819660 * (e = (x >= xm ? a - x : b - x));
      else {
        d = p / q;
        u = x + d;
        if (u - a < tol2 || b - u < tol2)
          d = ((xm - x) >= 0.0 ? fabs(tol1) : -fabs(tol1));
      }
    } else {
      d = 0.3819660 * (e = (x >= xm ? a - x : b - x));
    }
    u = (fabs(d) >= tol1 ? x + d : x + ((d) >= 0.0 ? fabs(tol1) : -fabs(tol1)));
    fu = (*f)(u);
    if (fu <= fx) {
      if (u >= x)
        a = x;
      else
        b = x;
      (v) = (w);
      (w) = (x);
      (x) = (u);
      (fv) = (fw);
      (fw) = (fx);
      (fx) = (fu);
    } else {
      if (u < x)
        a = u;
      else
        b = u;
      if (fu <= fw || w == x) {
        v = w;
        w = u;
        fv = fw;
        fw = fu;
      } else if (fu <= fv || v == x || v == w) {
        v = u;
        fv = fu;
      }
    }
  }
  nrerror("Too many iterations in brent");
  *xmin = x;
  return fx;
}


x86 assembly (clang, -O0):
<brent>:
push   %rbp
mov    %rsp,%rbp
sub    $0x120,%rsp
movsd  %xmm0,-0x10(%rbp)
movsd  %xmm1,-0x18(%rbp)
movsd  %xmm2,-0x20(%rbp)
mov    %rdi,-0x28(%rbp)
movsd  %xmm3,-0x30(%rbp)
mov    %rsi,-0x38(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0xd8(%rbp)
ff
movsd  -0x10(%rbp),%xmm1
movsd  -0x20(%rbp),%xmm0
ucomisd %xmm1,%xmm0
jbe    1168 <brent+0x58>
movsd  -0x10(%rbp),%xmm0
movsd  %xmm0,-0xe0(%rbp)
ff
jmp    1175 <brent+0x65>
movsd  -0x20(%rbp),%xmm0
movsd  %xmm0,-0xe0(%rbp)
ff
movsd  -0xe0(%rbp),%xmm0
ff
movsd  %xmm0,-0x48(%rbp)
movsd  -0x10(%rbp),%xmm0
ucomisd -0x20(%rbp),%xmm0
jbe    11a4 <brent+0x94>
movsd  -0x10(%rbp),%xmm0
movsd  %xmm0,-0xe8(%rbp)
ff
jmp    11b1 <brent+0xa1>
movsd  -0x20(%rbp),%xmm0
movsd  %xmm0,-0xe8(%rbp)
ff
movsd  -0xe8(%rbp),%xmm0
ff
movsd  %xmm0,-0x50(%rbp)
movsd  -0x18(%rbp),%xmm0
movsd  %xmm0,-0xb8(%rbp)
ff
movsd  %xmm0,-0xc0(%rbp)
ff
movsd  %xmm0,-0xc8(%rbp)
ff
mov    -0x28(%rbp),%rax
movsd  -0xc8(%rbp),%xmm0
ff
call   *%rax
movsd  %xmm0,-0x80(%rbp)
movsd  %xmm0,-0x70(%rbp)
movsd  %xmm0,-0x78(%rbp)
movl   $0x1,-0x3c(%rbp)
cmpl   $0x64,-0x3c(%rbp)
jg     192d <brent+0x81d>
movsd  -0x48(%rbp),%xmm1
addsd  -0x50(%rbp),%xmm1
movsd  0xdfd(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0xd0(%rbp)
ff
movsd  -0x30(%rbp),%xmm1
movsd  -0xc8(%rbp),%xmm0
ff
movaps 0xdf5(%rip),%xmm2
pand   %xmm2,%xmm0
mulsd  %xmm0,%xmm1
movsd  0xdc5(%rip),%xmm0
addsd  %xmm0,%xmm1
movsd  %xmm1,-0xa0(%rbp)
ff
movsd  0xda9(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0xa8(%rbp)
ff
movsd  -0xc8(%rbp),%xmm1
ff
subsd  -0xd0(%rbp),%xmm1
ff
movaps 0xdae(%rip),%xmm0
pand   %xmm0,%xmm1
movsd  -0xa8(%rbp),%xmm2
ff
movsd  -0x50(%rbp),%xmm0
subsd  -0x48(%rbp),%xmm0
movsd  0xd60(%rip),%xmm3
mulsd  %xmm3,%xmm0
addsd  %xmm2,%xmm0
ucomisd %xmm1,%xmm0
jb     12d1 <brent+0x1c1>
movsd  -0xc8(%rbp),%xmm0
ff
mov    -0x38(%rbp),%rax
movsd  %xmm0,(%rax)
movsd  -0x80(%rbp),%xmm0
movsd  %xmm0,-0x8(%rbp)
jmp    1953 <brent+0x843>
movsd  -0xd8(%rbp),%xmm0
ff
movaps 0xd50(%rip),%xmm1
pand   %xmm1,%xmm0
ucomisd -0xa0(%rbp),%xmm0
ff
jbe    1616 <brent+0x506>
movsd  -0xc8(%rbp),%xmm0
ff
subsd  -0xc0(%rbp),%xmm0
ff
movsd  -0x80(%rbp),%xmm1
subsd  -0x70(%rbp),%xmm1
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
movsd  -0xc8(%rbp),%xmm0
ff
subsd  -0xb8(%rbp),%xmm0
ff
movsd  -0x80(%rbp),%xmm1
subsd  -0x78(%rbp),%xmm1
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
movsd  -0xc8(%rbp),%xmm0
ff
subsd  -0xb8(%rbp),%xmm0
ff
movsd  -0x90(%rbp),%xmm2
ff
movsd  -0xc8(%rbp),%xmm1
ff
subsd  -0xc0(%rbp),%xmm1
ff
mulsd  -0x98(%rbp),%xmm1
ff
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
movsd  -0x90(%rbp),%xmm1
ff
subsd  -0x98(%rbp),%xmm1
ff
movsd  0xc5b(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
movsd  -0x90(%rbp),%xmm0
ff
xorps  %xmm1,%xmm1
ucomisd %xmm1,%xmm0
jbe    13f5 <brent+0x2e5>
movsd  -0x88(%rbp),%xmm0
ff
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
movsd  -0x90(%rbp),%xmm0
ff
movaps 0xc2c(%rip),%xmm1
pand   %xmm1,%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
movsd  -0xd8(%rbp),%xmm0
ff
movsd  %xmm0,-0x60(%rbp)
movsd  -0x58(%rbp),%xmm0
movsd  %xmm0,-0xd8(%rbp)
ff
movsd  -0x88(%rbp),%xmm0
ff
movaps 0xbf7(%rip),%xmm1
pand   %xmm1,%xmm0
movsd  0xbd3(%rip),%xmm1
mulsd  -0x90(%rbp),%xmm1
ff
mulsd  -0x60(%rbp),%xmm1
movaps 0xbd7(%rip),%xmm2
pand   %xmm2,%xmm1
ucomisd %xmm1,%xmm0
jae    14bd <brent+0x3ad>
movsd  -0x88(%rbp),%xmm1
ff
movsd  -0x90(%rbp),%xmm0
ff
movsd  -0x48(%rbp),%xmm2
subsd  -0xc8(%rbp),%xmm2
ff
mulsd  %xmm2,%xmm0
ucomisd %xmm1,%xmm0
jae    14bd <brent+0x3ad>
movsd  -0x88(%rbp),%xmm0
ff
movsd  -0x90(%rbp),%xmm1
ff
movsd  -0x50(%rbp),%xmm2
subsd  -0xc8(%rbp),%xmm2
ff
mulsd  %xmm2,%xmm1
ucomisd %xmm1,%xmm0
jb     1528 <brent+0x418>
movsd  -0xc8(%rbp),%xmm0
ff
ucomisd -0xd0(%rbp),%xmm0
ff
jb     14ed <brent+0x3dd>
movsd  -0x48(%rbp),%xmm0
subsd  -0xc8(%rbp),%xmm0
ff
movsd  %xmm0,-0xf0(%rbp)
ff
jmp    1502 <brent+0x3f2>
movsd  -0x50(%rbp),%xmm0
subsd  -0xc8(%rbp),%xmm0
ff
movsd  %xmm0,-0xf0(%rbp)
ff
movsd  -0xf0(%rbp),%xmm1
ff
movsd  %xmm1,-0xd8(%rbp)
ff
movsd  0xb06(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
jmp    1611 <brent+0x501>
movsd  -0x88(%rbp),%xmm0
ff
divsd  -0x90(%rbp),%xmm0
ff
movsd  %xmm0,-0x58(%rbp)
movsd  -0xc8(%rbp),%xmm0
ff
addsd  -0x58(%rbp),%xmm0
movsd  %xmm0,-0xb0(%rbp)
ff
movsd  -0xb0(%rbp),%xmm1
ff
subsd  -0x48(%rbp),%xmm1
movsd  -0xa8(%rbp),%xmm0
ff
ucomisd %xmm1,%xmm0
ja     1590 <brent+0x480>
movsd  -0x50(%rbp),%xmm1
subsd  -0xb0(%rbp),%xmm1
ff
movsd  -0xa8(%rbp),%xmm0
ff
ucomisd %xmm1,%xmm0
jbe    160c <brent+0x4fc>
movsd  -0xd0(%rbp),%xmm0
ff
subsd  -0xc8(%rbp),%xmm0
ff
xorps  %xmm1,%xmm1
ucomisd %xmm1,%xmm0
jb     15cd <brent+0x4bd>
movsd  -0xa0(%rbp),%xmm0
ff
movaps 0xa74(%rip),%xmm1
pand   %xmm1,%xmm0
movsd  %xmm0,-0xf8(%rbp)
ff
jmp    15ff <brent+0x4ef>
movsd  -0xa0(%rbp),%xmm0
ff
movaps 0xa54(%rip),%xmm1
pand   %xmm1,%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
movsd  %xmm0,-0xf8(%rbp)
ff
movsd  -0xf8(%rbp),%xmm0
ff
movsd  %xmm0,-0x58(%rbp)
jmp    1611 <brent+0x501>
jmp    167c <brent+0x56c>
movsd  -0xc8(%rbp),%xmm0
ff
ucomisd -0xd0(%rbp),%xmm0
ff
jb     1646 <brent+0x536>
movsd  -0x48(%rbp),%xmm0
subsd  -0xc8(%rbp),%xmm0
ff
movsd  %xmm0,-0x100(%rbp)
ff
jmp    165b <brent+0x54b>
movsd  -0x50(%rbp),%xmm0
subsd  -0xc8(%rbp),%xmm0
ff
movsd  %xmm0,-0x100(%rbp)
ff
movsd  -0x100(%rbp),%xmm1
ff
movsd  %xmm1,-0xd8(%rbp)
ff
movsd  0x9ad(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  -0x58(%rbp),%xmm0
movaps 0x9a8(%rip),%xmm1
pand   %xmm1,%xmm0
ucomisd -0xa0(%rbp),%xmm0
ff
jb     16b4 <brent+0x5a4>
movsd  -0xc8(%rbp),%xmm0
ff
addsd  -0x58(%rbp),%xmm0
movsd  %xmm0,-0x108(%rbp)
ff
jmp    1744 <brent+0x634>
movsd  -0xc8(%rbp),%xmm0
ff
movsd  %xmm0,-0x110(%rbp)
ff
movsd  -0x58(%rbp),%xmm0
xorps  %xmm1,%xmm1
ucomisd %xmm1,%xmm0
jb     16f6 <brent+0x5e6>
movsd  -0xa0(%rbp),%xmm0
ff
movaps 0x94b(%rip),%xmm1
pand   %xmm1,%xmm0
movsd  %xmm0,-0x118(%rbp)
ff
jmp    1728 <brent+0x618>
movsd  -0xa0(%rbp),%xmm0
ff
movaps 0x92b(%rip),%xmm1
pand   %xmm1,%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
movsd  %xmm0,-0x118(%rbp)
ff
movsd  -0x110(%rbp),%xmm0
ff
movsd  -0x118(%rbp),%xmm1
ff
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x108(%rbp)
ff
movsd  -0x108(%rbp),%xmm0
ff
movsd  %xmm0,-0xb0(%rbp)
ff
mov    -0x28(%rbp),%rax
movsd  -0xb0(%rbp),%xmm0
ff
call   *%rax
movsd  %xmm0,-0x68(%rbp)
movsd  -0x68(%rbp),%xmm1
movsd  -0x80(%rbp),%xmm0
ucomisd %xmm1,%xmm0
jb     1803 <brent+0x6f3>
movsd  -0xb0(%rbp),%xmm0
ff
ucomisd -0xc8(%rbp),%xmm0
ff
jb     17a3 <brent+0x693>
movsd  -0xc8(%rbp),%xmm0
ff
movsd  %xmm0,-0x48(%rbp)
jmp    17b0 <brent+0x6a0>
movsd  -0xc8(%rbp),%xmm0
ff
movsd  %xmm0,-0x50(%rbp)
movsd  -0xc0(%rbp),%xmm0
ff
movsd  %xmm0,-0xb8(%rbp)
ff
movsd  -0xc8(%rbp),%xmm0
ff
movsd  %xmm0,-0xc0(%rbp)
ff
movsd  -0xb0(%rbp),%xmm0
ff
movsd  %xmm0,-0xc8(%rbp)
ff
movsd  -0x78(%rbp),%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x80(%rbp),%xmm0
movsd  %xmm0,-0x78(%rbp)
movsd  -0x68(%rbp),%xmm0
movsd  %xmm0,-0x80(%rbp)
jmp    191a <brent+0x80a>
movsd  -0xb0(%rbp),%xmm1
ff
movsd  -0xc8(%rbp),%xmm0
ff
ucomisd %xmm1,%xmm0
jbe    182f <brent+0x71f>
movsd  -0xb0(%rbp),%xmm0
ff
movsd  %xmm0,-0x48(%rbp)
jmp    183c <brent+0x72c>
movsd  -0xb0(%rbp),%xmm0
ff
movsd  %xmm0,-0x50(%rbp)
movsd  -0x68(%rbp),%xmm1
movsd  -0x78(%rbp),%xmm0
ucomisd %xmm1,%xmm0
jae    186c <brent+0x75c>
movsd  -0xc0(%rbp),%xmm0
ff
ucomisd -0xc8(%rbp),%xmm0
ff
jne    18a5 <brent+0x795>
jp     18a5 <brent+0x795>
movsd  -0xc0(%rbp),%xmm0
ff
movsd  %xmm0,-0xb8(%rbp)
ff
movsd  -0xb0(%rbp),%xmm0
ff
movsd  %xmm0,-0xc0(%rbp)
ff
movsd  -0x78(%rbp),%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x68(%rbp),%xmm0
movsd  %xmm0,-0x78(%rbp)
jmp    1915 <brent+0x805>
movsd  -0x68(%rbp),%xmm1
movsd  -0x70(%rbp),%xmm0
ucomisd %xmm1,%xmm0
jae    18f6 <brent+0x7e6>
movsd  -0xb8(%rbp),%xmm0
ff
ucomisd -0xc8(%rbp),%xmm0
ff
jne    18da <brent+0x7ca>
jp     18da <brent+0x7ca>
jmp    18f6 <brent+0x7e6>
movsd  -0xb8(%rbp),%xmm0
ff
ucomisd -0xc0(%rbp),%xmm0
ff
jne    1910 <brent+0x800>
jp     1910 <brent+0x800>
movsd  -0xb0(%rbp),%xmm0
ff
movsd  %xmm0,-0xb8(%rbp)
ff
movsd  -0x68(%rbp),%xmm0
movsd  %xmm0,-0x70(%rbp)
jmp    1915 <brent+0x805>
jmp    191a <brent+0x80a>
jmp    191f <brent+0x80f>
mov    -0x3c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x3c(%rbp)
jmp    11ff <brent+0xef>
lea    0x70c(%rip),%rdi
call   1030 <nrerror@plt>
movsd  -0xc8(%rbp),%xmm0
ff
mov    -0x38(%rbp),%rax
movsd  %xmm0,(%rax)
movsd  -0x80(%rbp),%xmm0
movsd  %xmm0,-0x8(%rbp)
movsd  -0x8(%rbp),%xmm0
add    $0x120,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<brent>:
push   %rbp
push   %r15
push   %r14
push   %rbx
sub    $0xa8,%rsp
mov    %rsi,%r14
movsd  %xmm3,0x60(%rsp)
mov    %rdi,%r15
movapd %xmm1,0x10(%rsp)
movapd %xmm0,%xmm3
minsd  %xmm2,%xmm3
movapd %xmm3,0x20(%rsp)
maxsd  %xmm2,%xmm0
movapd %xmm0,0x50(%rsp)
movapd %xmm1,%xmm0
call   *%rdi
movapd 0x20(%rsp),%xmm7
movapd 0x50(%rsp),%xmm11
movapd 0x10(%rsp),%xmm9
movapd %xmm0,%xmm10
mov    $0x64,%ebp
movapd 0xebc(%rip),%xmm13
xorpd  %xmm12,%xmm12
movapd %xmm9,%xmm14
movapd %xmm9,%xmm6
movapd %xmm0,%xmm15
movapd %xmm0,%xmm2
jmp    11f0 <brent+0xe0>
xchg   %ax,%ax
movapd %xmm3,%xmm1
cmpnlesd %xmm9,%xmm1
movapd %xmm1,%xmm2
andpd  %xmm3,%xmm2
andnpd 0x50(%rsp),%xmm1
orpd   %xmm2,%xmm1
movsd  0x40(%rsp),%xmm2
movapd %xmm10,%xmm15
movapd %xmm0,%xmm10
movapd %xmm1,%xmm11
movapd %xmm4,%xmm1
movsd  0x48(%rsp),%xmm6
movapd %xmm3,%xmm14
movapd 0xe57(%rip),%xmm13
movapd 0x80(%rsp),%xmm12
movapd %xmm1,%xmm7
add    $0xffffffff,%ebp
je     1589 <brent+0x479>
movsd  %xmm2,0x38(%rsp)
movapd 0x90(%rsp),%xmm8
movapd %xmm11,%xmm1
addsd  %xmm7,%xmm1
mulsd  0xdef(%rip),%xmm1
movapd %xmm9,%xmm3
movapd 0xe12(%rip),%xmm2
andpd  %xmm2,%xmm3
mulsd  0x60(%rsp),%xmm3
addsd  0xdd8(%rip),%xmm3
movapd %xmm3,%xmm0
addsd  %xmm3,%xmm0
movapd %xmm9,%xmm4
subsd  %xmm1,%xmm4
andpd  %xmm2,%xmm4
movapd %xmm11,%xmm5
subsd  %xmm7,%xmm5
mulsd  0xdba(%rip),%xmm5
addsd  %xmm0,%xmm5
ucomisd %xmm4,%xmm5
jae    15b1 <brent+0x4a1>
movapd %xmm12,%xmm4
andpd  %xmm13,%xmm4
ucomisd %xmm3,%xmm4
movsd  %xmm6,0x68(%rsp)
movapd %xmm7,0x20(%rsp)
movsd  %xmm15,0x40(%rsp)
jbe    13b0 <brent+0x2a0>
movapd %xmm9,%xmm4
subsd  %xmm14,%xmm4
movapd %xmm10,%xmm7
subsd  0x38(%rsp),%xmm7
mulsd  %xmm4,%xmm7
movapd %xmm9,%xmm5
subsd  %xmm6,%xmm5
movapd %xmm10,%xmm6
subsd  %xmm15,%xmm6
mulsd  %xmm5,%xmm6
mulsd  %xmm7,%xmm4
mulsd  %xmm6,%xmm5
subsd  %xmm4,%xmm5
subsd  %xmm7,%xmm6
addsd  %xmm6,%xmm6
movapd %xmm6,%xmm2
movapd 0xd54(%rip),%xmm15
andpd  %xmm15,%xmm2
movapd %xmm5,%xmm7
andpd  %xmm15,%xmm7
movapd %xmm2,%xmm4
mulsd  0xd0a(%rip),%xmm4
mulsd  %xmm4,%xmm12
andpd  %xmm15,%xmm12
ucomisd %xmm12,%xmm7
movapd 0x20(%rsp),%xmm12
jae    13d0 <brent+0x2c0>
movapd %xmm5,%xmm4
xorpd  0xd22(%rip),%xmm4
xorpd  %xmm7,%xmm7
cmpltsd %xmm6,%xmm7
andpd  %xmm7,%xmm4
andnpd %xmm5,%xmm7
orpd   %xmm4,%xmm7
movapd %xmm12,%xmm4
subsd  %xmm9,%xmm4
mulsd  %xmm2,%xmm4
ucomisd %xmm7,%xmm4
jae    13d0 <brent+0x2c0>
movapd %xmm11,%xmm4
subsd  %xmm9,%xmm4
mulsd  %xmm2,%xmm4
ucomisd %xmm4,%xmm7
jae    13d0 <brent+0x2c0>
divsd  %xmm2,%xmm7
movapd %xmm9,%xmm4
addsd  %xmm7,%xmm4
movapd %xmm4,%xmm2
subsd  %xmm12,%xmm2
ucomisd %xmm2,%xmm0
ja     138a <brent+0x27a>
movapd %xmm11,%xmm2
subsd  %xmm4,%xmm2
ucomisd %xmm2,%xmm0
jbe    13fe <brent+0x2ee>
subsd  %xmm9,%xmm1
ucomisd 0xc89(%rip),%xmm1
movapd %xmm3,%xmm7
andpd  %xmm13,%xmm7
jae    13fe <brent+0x2ee>
xorpd  0xc96(%rip),%xmm7
jmp    13fe <brent+0x2ee>
nopl   0x0(%rax)
cmpnlesd %xmm9,%xmm1
movapd %xmm1,%xmm2
andpd  %xmm11,%xmm2
andnpd %xmm7,%xmm1
jmp    13e4 <brent+0x2d4>
cs nopw 0x0(%rax,%rax,1)
nop
cmpnlesd %xmm9,%xmm1
movapd %xmm1,%xmm2
andpd  %xmm11,%xmm2
andnpd %xmm12,%xmm1
orpd   %xmm2,%xmm1
subsd  %xmm9,%xmm1
movapd %xmm1,%xmm7
mulsd  0xc1f(%rip),%xmm7
movapd %xmm1,%xmm8
movsd  %xmm14,0x48(%rsp)
movsd  %xmm10,0x8(%rsp)
movapd %xmm7,%xmm1
andpd  %xmm13,%xmm1
ucomisd %xmm3,%xmm1
movapd %xmm7,%xmm0
jae    143a <brent+0x32a>
ucomisd 0xbf9(%rip),%xmm7
andpd  %xmm13,%xmm3
movapd %xmm3,%xmm0
jae    143a <brent+0x32a>
xorpd  0xc06(%rip),%xmm0
movapd %xmm7,0x90(%rsp)
movapd %xmm8,0x80(%rsp)
movapd %xmm11,0x50(%rsp)
addsd  %xmm9,%xmm0
movapd %xmm0,0x70(%rsp)
movapd %xmm9,0x10(%rsp)
call   *%r15
movsd  0x8(%rsp),%xmm10
ucomisd %xmm0,%xmm10
jae    1540 <brent+0x430>
movapd 0x70(%rsp),%xmm4
movapd 0x10(%rsp),%xmm9
ucomisd %xmm4,%xmm9
movapd %xmm4,%xmm1
movsd  0x68(%rsp),%xmm3
ja     149f <brent+0x38f>
movapd 0x20(%rsp),%xmm1
movapd %xmm4,%xmm2
cmpltsd %xmm9,%xmm2
movapd 0x50(%rsp),%xmm11
andpd  %xmm2,%xmm11
andnpd %xmm4,%xmm2
orpd   %xmm2,%xmm11
movsd  0x40(%rsp),%xmm15
ucomisd %xmm0,%xmm15
movapd 0xb5d(%rip),%xmm13
movsd  0x48(%rsp),%xmm14
movapd 0x80(%rsp),%xmm12
jae    1570 <brent+0x460>
ucomisd %xmm9,%xmm14
jne    14f7 <brent+0x3e7>
jnp    1570 <brent+0x460>
movsd  0x38(%rsp),%xmm2
ucomisd %xmm0,%xmm2
setae  %al
ucomisd %xmm9,%xmm3
setnp  %cl
sete   %dl
and    %cl,%dl
ucomisd %xmm14,%xmm3
setnp  %cl
sete   %bl
and    %cl,%bl
or     %dl,%bl
or     %al,%bl
jne    152c <brent+0x41c>
movapd %xmm2,%xmm0
movapd %xmm3,%xmm4
movapd %xmm0,%xmm2
movapd %xmm4,%xmm6
jmp    11e3 <brent+0xd3>
nopl   0x0(%rax)
movapd 0x70(%rsp),%xmm9
movapd 0x10(%rsp),%xmm3
ucomisd %xmm3,%xmm9
movapd 0x20(%rsp),%xmm4
jb     1190 <brent+0x80>
movapd %xmm3,%xmm4
jmp    1190 <brent+0x80>
nopw   0x0(%rax,%rax,1)
movapd %xmm15,%xmm2
movapd %xmm0,%xmm15
movapd %xmm14,%xmm6
movapd %xmm4,%xmm14
jmp    11e3 <brent+0xd3>
lea    0xac0(%rip),%rdi
movapd %xmm9,0x10(%rsp)
movsd  %xmm10,0x8(%rsp)
call   1030 <nrerror@plt>
movsd  0x8(%rsp),%xmm10
movapd 0x10(%rsp),%xmm9
movsd  %xmm9,(%r14)
movapd %xmm10,%xmm0
add    $0xa8,%rsp
pop    %rbx
pop    %r14
pop    %r15
pop    %rbp
ret

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

LLVM IR (-O2):
@.str = [29 x i8] c"Too many iterations in brent\00"
define double @brent(double %0, double %1, double %2, double (double)* nocapture %3, double %4, double* nocapture writeonly %5) {
%7 = fcmp olt double %0, %2
%8 = select i1 %7, double %0, double %2
%9 = fcmp ogt double %0, %2
%10 = select i1 %9, double %0, double %2
%11 = tail call double %3(double %1)
br label %12
12: ; preds = %6, %124
%13 = phi double [ 0.000000e+00, %6 ], [ %92, %124 ]
%14 = phi double [ %1, %6 ], [ %132, %124 ]
%15 = phi double [ %1, %6 ], [ %131, %124 ]
%16 = phi double [ %1, %6 ], [ %130, %124 ]
%17 = phi i32 [ 1, %6 ], [ %133, %124 ]
%18 = phi double [ %8, %6 ], [ %129, %124 ]
%19 = phi double [ %10, %6 ], [ %128, %124 ]
%20 = phi double [ %11, %6 ], [ %127, %124 ]
%21 = phi double [ %11, %6 ], [ %126, %124 ]
%22 = phi double [ %11, %6 ], [ %125, %124 ]
%23 = phi double [ undef, %6 ], [ %91, %124 ]
%24 = fadd double %19, %18
%25 = fmul double %24, 5.000000e-01
%26 = tail call double @llvm.fabs.f64(double %14)
%27 = tail call double @llvm.fmuladd.f64(double %4, double %26, double 1.000000e-10)
%28 = fmul double %27, 2.000000e+00
%29 = fsub double %14, %25
%30 = tail call double @llvm.fabs.f64(double %29)
%31 = fsub double %19, %18
%32 = tail call double @llvm.fmuladd.f64(double %31, double -5.000000e-01, double %28)
%33 = fcmp ugt double %30, %32
br i1 %33, label %34, label %137
34: ; preds = %12
%35 = tail call double @llvm.fabs.f64(double %13)
%36 = fcmp ogt double %35, %27
br i1 %36, label %37, label %85
37: ; preds = %34
%38 = fsub double %14, %15
%39 = fsub double %20, %22
%40 = fmul double %39, %38
%41 = fsub double %14, %16
%42 = fsub double %20, %21
%43 = fmul double %42, %41
%44 = fneg double %38
%45 = fmul double %40, %44
%46 = tail call double @llvm.fmuladd.f64(double %41, double %43, double %45)
%47 = fsub double %43, %40
%48 = fmul double %47, 2.000000e+00
%49 = fcmp ogt double %48, 0.000000e+00
%50 = fneg double %46
%51 = select i1 %49, double %50, double %46
%52 = tail call double @llvm.fabs.f64(double %48)
%53 = tail call double @llvm.fabs.f64(double %46)
%54 = fmul double %52, 5.000000e-01
%55 = fmul double %13, %54
%56 = tail call double @llvm.fabs.f64(double %55)
%57 = fcmp ult double %53, %56
br i1 %57, label %58, label %66
58: ; preds = %37
%59 = fsub double %18, %14
%60 = fmul double %59, %52
%61 = fcmp ugt double %51, %60
br i1 %61, label %62, label %66
62: ; preds = %58
%63 = fsub double %19, %14
%64 = fmul double %63, %52
%65 = fcmp ult double %51, %64
br i1 %65, label %71, label %66
66: ; preds = %62, %58, %37
%67 = fcmp ult double %14, %25
%68 = select i1 %67, double %19, double %18
%69 = fsub double %68, %14
%70 = fmul double %69, 3.819660e-01
br label %90
71: ; preds = %62
%72 = fdiv double %51, %52
%73 = fadd double %14, %72
%74 = fsub double %73, %18
%75 = fcmp olt double %74, %28
%76 = fsub double %19, %73
%77 = fcmp olt double %76, %28
%78 = select i1 %75, i1 true, i1 %77
br i1 %78, label %79, label %90
79: ; preds = %71
%80 = fsub double %25, %14
%81 = fcmp ult double %80, 0.000000e+00
%82 = tail call double @llvm.fabs.f64(double %27)
br i1 %81, label %83, label %90
83: ; preds = %79
%84 = fneg double %82
br label %90
85: ; preds = %34
%86 = fcmp ult double %14, %25
%87 = select i1 %86, double %19, double %18
%88 = fsub double %87, %14
%89 = fmul double %88, 3.819660e-01
br label %90
90: ; preds = %79, %83, %71, %66, %85
%91 = phi double [ %70, %66 ], [ %89, %85 ], [ %72, %71 ], [ %84, %83 ], [ %82, %79 ]
%92 = phi double [ %69, %66 ], [ %88, %85 ], [ %23, %71 ], [ %23, %83 ], [ %23, %79 ]
%93 = tail call double @llvm.fabs.f64(double %91)
%94 = fcmp ult double %93, %27
br i1 %94, label %95, label %100
95: ; preds = %90
%96 = fcmp ult double %91, 0.000000e+00
%97 = tail call double @llvm.fabs.f64(double %27)
br i1 %96, label %98, label %100
98: ; preds = %95
%99 = fneg double %97
br label %100
100: ; preds = %95, %98, %90
%101 = phi double [ %91, %90 ], [ %99, %98 ], [ %97, %95 ]
%102 = fadd double %14, %101
%103 = tail call double %3(double %102)
%104 = fcmp ugt double %103, %20
br i1 %104, label %109, label %105
105: ; preds = %100
%106 = fcmp ult double %102, %14
%107 = select i1 %106, double %14, double %19
%108 = select i1 %106, double %18, double %14
br label %124
109: ; preds = %100
%110 = fcmp olt double %102, %14
%111 = select i1 %110, double %19, double %102
%112 = select i1 %110, double %102, double %18
%113 = fcmp ole double %103, %21
%114 = fcmp oeq double %15, %14
%115 = select i1 %113, i1 true, i1 %114
br i1 %115, label %124, label %116
116: ; preds = %109
%117 = fcmp ole double %103, %22
%118 = fcmp oeq double %16, %14
%119 = select i1 %117, i1 true, i1 %118
%120 = fcmp oeq double %16, %15
%121 = select i1 %119, i1 true, i1 %120
%122 = select i1 %121, double %103, double %22
%123 = select i1 %121, double %102, double %16
br label %124
124: ; preds = %116, %109, %105
%125 = phi double [ %21, %105 ], [ %21, %109 ], [ %122, %116 ]
%126 = phi double [ %20, %105 ], [ %103, %109 ], [ %21, %116 ]
%127 = phi double [ %103, %105 ], [ %20, %109 ], [ %20, %116 ]
%128 = phi double [ %107, %105 ], [ %111, %109 ], [ %111, %116 ]
%129 = phi double [ %108, %105 ], [ %112, %109 ], [ %112, %116 ]
%130 = phi double [ %15, %105 ], [ %15, %109 ], [ %123, %116 ]
%131 = phi double [ %14, %105 ], [ %102, %109 ], [ %15, %116 ]
%132 = phi double [ %102, %105 ], [ %14, %109 ], [ %14, %116 ]
%133 = add nuw nsw i32 %17, 1
%134 = icmp eq i32 %133, 101
br i1 %134, label %135, label %12
135: ; preds = %124
%136 = tail call i32 @nrerror(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str, i64 0, i64 0))
br label %137
137: ; preds = %12, %135
%138 = phi double [ %127, %135 ], [ %20, %12 ]
%139 = phi double [ %132, %135 ], [ %14, %12 ]
store double %139, double* %5
ret double %138
}