#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 IncompleteGamma(double, double, double);
double LnGamma(double);
double PointNormal(double);
double exp(double);
double fabs(double);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *, char *);
double log(double);
double pow(double, double);
double sqrt(double);
int /*<<< orphan*/ stderr;
double PointChi2(double prob, double v) {
  double e = 0.5e-6, aa = 0.6931471805, p = prob, g, xx, c, ch;
  double a = 0.0, q = 0.0, p1 = 0.0, p2 = 0.0, t = 0.0, x = 0.0, b = 0.0;
  double s1, s2, s3, s4, s5, s6;
  if (p < 0.000002 || p > 0.999998 || v <= 0.0)
    return (-1.0);
  g = LnGamma(v / 2.0);
  xx = v / 2.0;
  c = xx - 1.0;
  if (v >= -1.24 * log(p)) {
    if (v > 0.32) {
      x = PointNormal(p);
      p1 = 0.222222 / v;
      ch = v * pow((x * sqrt(p1) + 1.0 - p1), 3.0);
      if (ch > 2.2 * v + 6.0)
        ch = -2.0 * (log(1.0 - p) - c * log(0.5 * ch) + g);
    }
    ch = 0.4;
    a = log(1.0 - p);
  }
  ch = pow((p * xx * exp(g + xx * aa)), 1.0 / xx);
  if (ch - e < 0)
    return (ch);
  goto l4;
  do {
    q = ch;
    p1 = 1.0 + ch * (4.67 + ch);
    p2 = ch * (6.73 + ch * (6.66 + ch));
    t = -0.5 + (4.67 + 2.0 * ch) / p1 - (6.73 + ch * (13.32 + 3.0 * ch)) / p2;
    ch -= (1.0 - exp(a + g + 0.5 * ch + c * aa) * p2 / p1) / t;
  } while (fabs(q / ch - 1.0) - 0.01 > 0.0);
l4:
  do {
    q = ch;
    p1 = 0.5 * ch;
    if ((t = IncompleteGamma(p1, xx, g)) < 0.0) {
      fprintf(stderr, "%s   Error: Problem in PointChi2", " ");
      return (-1.0);
    }
    p2 = p - t;
    t = p2 * exp(xx * aa + g + p1 - c * log(ch));
    b = t / ch;
    a = 0.5 * t - b * c;
    s1 = (210.0 +
          a * (140.0 + a * (105.0 + a * (84.0 + a * (70.0 + 60.0 * a))))) /
         420.0;
    s2 = (420.0 + a * (735.0 + a * (966.0 + a * (1141.0 + 1278.0 * a)))) /
         2520.0;
    s3 = (210.0 + a * (462.0 + a * (707.0 + 932.0 * a))) / 2520.0;
    s4 = (252.0 + a * (672.0 + 1182.0 * a) +
          c * (294.0 + a * (889.0 + 1740.0 * a))) /
         5040.0;
    s5 = (84.0 + 264.0 * a + c * (175.0 + 606.0 * a)) / 2520.0;
    s6 = (120.0 + c * (346.0 + 127.0 * c)) / 5040.0;
    ch +=
        t * (1 + 0.5 * t * s1 -
             b * c * (s1 - b * (s2 - b * (s3 - b * (s4 - b * (s5 - b * s6))))));
  } while (fabs(q / ch - 1.0) > e);
  return (ch);
}


x86 assembly (clang, -O0):
<PointChi2>:
push   %rbp
mov    %rsp,%rbp
sub    $0x100,%rsp
movsd  %xmm0,-0x10(%rbp)
movsd  %xmm1,-0x18(%rbp)
movsd  0xe73(%rip),%xmm0
movsd  %xmm0,-0x20(%rbp)
movsd  0xe5e(%rip),%xmm0
movsd  %xmm0,-0x28(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  %xmm0,-0x30(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x58(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x60(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x68(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x70(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x78(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x80(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
movsd  0xe04(%rip),%xmm0
ucomisd -0x30(%rbp),%xmm0
ja     122c <PointChi2+0xac>
movsd  -0x30(%rbp),%xmm0
movsd  0xe04(%rip),%xmm1
ucomisd %xmm1,%xmm0
ja     122c <PointChi2+0xac>
xorps  %xmm0,%xmm0
ucomisd -0x18(%rbp),%xmm0
jb     123e <PointChi2+0xbe>
movsd  0xf24(%rip),%xmm0
movsd  %xmm0,-0x8(%rbp)
jmp    1a2c <PointChi2+0x8ac>
movsd  -0x18(%rbp),%xmm0
movsd  0xde5(%rip),%xmm1
divsd  %xmm1,%xmm0
call   10a0 <LnGamma@plt>
movsd  %xmm0,-0x38(%rbp)
movsd  -0x18(%rbp),%xmm0
movsd  0xdca(%rip),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x40(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  0xdac(%rip),%xmm1
subsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  -0x18(%rbp),%xmm0
movsd  %xmm0,-0xc0(%rbp)
ff
movsd  -0x30(%rbp),%xmm0
call   1060 <log@plt>
movaps %xmm0,%xmm2
movsd  -0xc0(%rbp),%xmm0
ff
movsd  0xd71(%rip),%xmm1
mulsd  %xmm2,%xmm1
ucomisd %xmm1,%xmm0
jb     1430 <PointChi2+0x2b0>
movsd  -0x18(%rbp),%xmm0
movsd  0xd6e(%rip),%xmm1
ucomisd %xmm1,%xmm0
jbe    140c <PointChi2+0x28c>
movsd  -0x30(%rbp),%xmm0
call   1080 <PointNormal@plt>
movsd  %xmm0,-0x80(%rbp)
movsd  0xd6d(%rip),%xmm0
divsd  -0x18(%rbp),%xmm0
movsd  %xmm0,-0x68(%rbp)
movsd  -0x18(%rbp),%xmm0
movsd  %xmm0,-0xc8(%rbp)
ff
movsd  -0x80(%rbp),%xmm0
movsd  %xmm0,-0xd0(%rbp)
ff
movsd  -0x68(%rbp),%xmm0
call   1090 <sqrt@plt>
movaps %xmm0,%xmm1
movsd  -0xd0(%rbp),%xmm0
ff
mulsd  %xmm1,%xmm0
movsd  0xcf8(%rip),%xmm1
addsd  %xmm1,%xmm0
subsd  -0x68(%rbp),%xmm0
movsd  0xd0f(%rip),%xmm1
call   1070 <pow@plt>
movaps %xmm0,%xmm1
movsd  -0xc8(%rbp),%xmm0
ff
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x50(%rbp)
movsd  -0x50(%rbp),%xmm0
movsd  -0x18(%rbp),%xmm1
movsd  0xcd4(%rip),%xmm2
mulsd  %xmm2,%xmm1
movsd  0xcd0(%rip),%xmm2
addsd  %xmm2,%xmm1
ucomisd %xmm1,%xmm0
jbe    1407 <PointChi2+0x287>
movsd  0xc9a(%rip),%xmm0
subsd  -0x30(%rbp),%xmm0
call   1060 <log@plt>
movsd  %xmm0,-0xd8(%rbp)
ff
movsd  -0x48(%rbp),%xmm0
movsd  %xmm0,-0xe0(%rbp)
ff
movsd  0xcb3(%rip),%xmm0
mulsd  -0x50(%rbp),%xmm0
call   1060 <log@plt>
movsd  -0xe0(%rbp),%xmm1
ff
movaps %xmm0,%xmm2
movsd  -0xd8(%rbp),%xmm0
ff
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
addsd  -0x38(%rbp),%xmm1
movsd  0xc62(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x50(%rbp)
jmp    140c <PointChi2+0x28c>
movsd  0xc5c(%rip),%xmm0
movsd  %xmm0,-0x50(%rbp)
movsd  0xc07(%rip),%xmm0
subsd  -0x30(%rbp),%xmm0
call   1060 <log@plt>
movsd  %xmm0,-0x58(%rbp)
movsd  -0x30(%rbp),%xmm0
mulsd  -0x40(%rbp),%xmm0
movsd  %xmm0,-0xe8(%rbp)
ff
movsd  -0x38(%rbp),%xmm1
movsd  -0x40(%rbp),%xmm0
movsd  -0x28(%rbp),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
call   1050 <exp@plt>
movaps %xmm0,%xmm1
movsd  -0xe8(%rbp),%xmm0
ff
mulsd  %xmm1,%xmm0
movsd  0xbb3(%rip),%xmm1
divsd  -0x40(%rbp),%xmm1
call   1070 <pow@plt>
movsd  %xmm0,-0x50(%rbp)
movsd  -0x50(%rbp),%xmm1
subsd  -0x20(%rbp),%xmm1
xorps  %xmm0,%xmm0
ucomisd %xmm1,%xmm0
jbe    14aa <PointChi2+0x32a>
movsd  -0x50(%rbp),%xmm0
movsd  %xmm0,-0x8(%rbp)
jmp    1a2c <PointChi2+0x8ac>
jmp    14af <PointChi2+0x32f>
jmp    14b4 <PointChi2+0x334>
movsd  -0x50(%rbp),%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  0xba2(%rip),%xmm0
mulsd  -0x50(%rbp),%xmm0
movsd  %xmm0,-0x68(%rbp)
movsd  -0x68(%rbp),%xmm0
movsd  -0x40(%rbp),%xmm1
movsd  -0x38(%rbp),%xmm2
call   1030 <IncompleteGamma@plt>
movaps %xmm0,%xmm1
movsd  %xmm1,-0x78(%rbp)
xorps  %xmm0,%xmm0
ucomisd %xmm1,%xmm0
jbe    1527 <PointChi2+0x3a7>
mov    0x2ae0(%rip),%rax
mov    (%rax),%edi
lea    0xc67(%rip),%rsi
lea    0xc81(%rip),%rdx
call   1040 <fprintf@plt>
movsd  0xc3b(%rip),%xmm0
movsd  %xmm0,-0x8(%rbp)
jmp    1a2c <PointChi2+0x8ac>
movsd  -0x30(%rbp),%xmm0
subsd  -0x78(%rbp),%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x70(%rbp),%xmm0
movsd  %xmm0,-0xf0(%rbp)
ff
movsd  -0x40(%rbp),%xmm0
movsd  -0x28(%rbp),%xmm2
movsd  -0x38(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
addsd  -0x68(%rbp),%xmm0
movsd  %xmm0,-0x100(%rbp)
ff
movsd  -0x48(%rbp),%xmm0
movsd  %xmm0,-0xf8(%rbp)
ff
movsd  -0x50(%rbp),%xmm0
call   1060 <log@plt>
movsd  -0x100(%rbp),%xmm1
ff
movaps %xmm0,%xmm2
movsd  -0xf8(%rbp),%xmm0
ff
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
call   1050 <exp@plt>
movaps %xmm0,%xmm1
movsd  -0xf0(%rbp),%xmm0
ff
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x78(%rbp)
movsd  -0x78(%rbp),%xmm0
divsd  -0x50(%rbp),%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
movsd  -0x78(%rbp),%xmm0
movsd  -0x88(%rbp),%xmm1
ff
mulsd  -0x48(%rbp),%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
movsd  0xa5c(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  -0x58(%rbp),%xmm0
movsd  -0x58(%rbp),%xmm1
movsd  -0x58(%rbp),%xmm2
movsd  -0x58(%rbp),%xmm3
movsd  -0x58(%rbp),%xmm4
movsd  0xb0e(%rip),%xmm5
mulsd  %xmm5,%xmm4
movsd  0xb0a(%rip),%xmm5
addsd  %xmm5,%xmm4
mulsd  %xmm4,%xmm3
movsd  0xa62(%rip),%xmm4
addsd  %xmm4,%xmm3
mulsd  %xmm3,%xmm2
movsd  0xada(%rip),%xmm3
addsd  %xmm3,%xmm2
mulsd  %xmm2,%xmm1
movsd  0xac2(%rip),%xmm2
addsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
movsd  0xa6a(%rip),%xmm1
addsd  %xmm1,%xmm0
movsd  0xa7e(%rip),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
movsd  -0x58(%rbp),%xmm0
movsd  -0x58(%rbp),%xmm1
movsd  -0x58(%rbp),%xmm2
movsd  -0x58(%rbp),%xmm3
movsd  0xa6e(%rip),%xmm4
mulsd  %xmm4,%xmm3
movsd  0xa6a(%rip),%xmm4
addsd  %xmm4,%xmm3
mulsd  %xmm3,%xmm2
movsd  0xa4a(%rip),%xmm3
addsd  %xmm3,%xmm2
mulsd  %xmm2,%xmm1
movsd  0xa32(%rip),%xmm2
addsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
movsd  0xa1a(%rip),%xmm1
addsd  %xmm1,%xmm0
movsd  0x996(%rip),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
movsd  -0x58(%rbp),%xmm0
movsd  -0x58(%rbp),%xmm1
movsd  -0x58(%rbp),%xmm2
movsd  0x9db(%rip),%xmm3
mulsd  %xmm3,%xmm2
movsd  0x9d7(%rip),%xmm3
addsd  %xmm3,%xmm2
mulsd  %xmm2,%xmm1
movsd  0x9b7(%rip),%xmm2
addsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
movsd  0x99f(%rip),%xmm1
addsd  %xmm1,%xmm0
movsd  0x93b(%rip),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0xa0(%rbp)
ff
movsd  -0x58(%rbp),%xmm1
movsd  -0x58(%rbp),%xmm0
movsd  0x965(%rip),%xmm2
mulsd  %xmm2,%xmm0
movsd  0x961(%rip),%xmm2
addsd  %xmm2,%xmm0
mulsd  %xmm0,%xmm1
movsd  0x941(%rip),%xmm0
addsd  %xmm0,%xmm1
movsd  -0x48(%rbp),%xmm0
movsd  -0x58(%rbp),%xmm2
movsd  -0x58(%rbp),%xmm3
movsd  0x916(%rip),%xmm4
mulsd  %xmm4,%xmm3
movsd  0x912(%rip),%xmm4
addsd  %xmm4,%xmm3
mulsd  %xmm3,%xmm2
movsd  0x8f2(%rip),%xmm3
addsd  %xmm3,%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  0x896(%rip),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0xa8(%rbp)
ff
movsd  -0x58(%rbp),%xmm1
movsd  0x8b5(%rip),%xmm0
mulsd  %xmm0,%xmm1
movsd  0x8b1(%rip),%xmm0
addsd  %xmm0,%xmm1
movsd  -0x48(%rbp),%xmm0
movsd  -0x58(%rbp),%xmm2
movsd  0x883(%rip),%xmm3
mulsd  %xmm3,%xmm2
movsd  0x87f(%rip),%xmm3
addsd  %xmm3,%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  0x85b(%rip),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0xb0(%rbp)
ff
movsd  -0x48(%rbp),%xmm0
movsd  -0x48(%rbp),%xmm1
movsd  0x82d(%rip),%xmm2
mulsd  %xmm2,%xmm1
movsd  0x829(%rip),%xmm2
addsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
movsd  0x809(%rip),%xmm1
addsd  %xmm1,%xmm0
movsd  0x7f5(%rip),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0xb8(%rbp)
ff
movsd  -0x78(%rbp),%xmm0
movsd  0x7cc(%rip),%xmm1
mulsd  -0x78(%rbp),%xmm1
movsd  -0x90(%rbp),%xmm2
ff
mulsd  %xmm2,%xmm1
movsd  0x773(%rip),%xmm2
addsd  %xmm2,%xmm1
movsd  -0x88(%rbp),%xmm2
ff
mulsd  -0x48(%rbp),%xmm2
movsd  -0x90(%rbp),%xmm4
ff
movsd  -0x88(%rbp),%xmm3
ff
movsd  -0x98(%rbp),%xmm6
ff
movsd  -0x88(%rbp),%xmm5
ff
movsd  -0xa0(%rbp),%xmm8
ff ff
movsd  -0x88(%rbp),%xmm7
ff
movsd  -0xa8(%rbp),%xmm10
ff ff
movsd  -0x88(%rbp),%xmm9
ff ff
movsd  -0xb0(%rbp),%xmm12
ff ff
movsd  -0x88(%rbp),%xmm11
ff ff
movsd  -0xb8(%rbp),%xmm13
ff ff
movq   %xmm11,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm11
mulsd  %xmm13,%xmm11
addsd  %xmm12,%xmm11
movq   %xmm9,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm9
mulsd  %xmm11,%xmm9
addsd  %xmm10,%xmm9
movq   %xmm7,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm7
mulsd  %xmm9,%xmm7
addsd  %xmm8,%xmm7
movq   %xmm5,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm5
mulsd  %xmm7,%xmm5
addsd  %xmm6,%xmm5
movq   %xmm3,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm3
mulsd  %xmm5,%xmm3
addsd  %xmm4,%xmm3
movq   %xmm2,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm2
mulsd  %xmm3,%xmm2
addsd  %xmm1,%xmm2
movsd  -0x50(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x50(%rbp)
movsd  -0x60(%rbp),%xmm0
divsd  -0x50(%rbp),%xmm0
movsd  0x620(%rip),%xmm1
subsd  %xmm1,%xmm0
movaps 0x74d(%rip),%xmm1
pand   %xmm1,%xmm0
ucomisd -0x20(%rbp),%xmm0
ja     14b4 <PointChi2+0x334>
movsd  -0x50(%rbp),%xmm0
movsd  %xmm0,-0x8(%rbp)
movsd  -0x8(%rbp),%xmm0
add    $0x100,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<PointChi2>:
sub    $0x78,%rsp
movsd  0xe74(%rip),%xmm2
ucomisd %xmm0,%xmm2
movsd  0xe70(%rip),%xmm2
ja     1677 <PointChi2+0x4f7>
ucomisd 0xe6a(%rip),%xmm0
ja     1677 <PointChi2+0x4f7>
movsd  %xmm0,0x10(%rsp)
xorpd  %xmm0,%xmm0
ucomisd %xmm1,%xmm0
jae    1677 <PointChi2+0x4f7>
movsd  0xe50(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,0x18(%rsp)
movsd  %xmm1,0x8(%rsp)
call   10a0 <LnGamma@plt>
movsd  %xmm0,0x28(%rsp)
movsd  0x10(%rsp),%xmm0
call   1060 <log@plt>
movsd  0x8(%rsp),%xmm1
movsd  0x10(%rsp),%xmm2
mulsd  0xe1e(%rip),%xmm0
ucomisd %xmm0,%xmm1
jb     12fa <PointChi2+0x17a>
ucomisd 0xe14(%rip),%xmm1
jbe    12e0 <PointChi2+0x160>
movapd %xmm2,%xmm0
call   1080 <PointNormal@plt>
movapd %xmm0,%xmm2
movsd  0xe01(%rip),%xmm1
divsd  0x8(%rsp),%xmm1
xorpd  %xmm0,%xmm0
ucomisd %xmm0,%xmm1
jb     1248 <PointChi2+0xc8>
xorps  %xmm0,%xmm0
sqrtsd %xmm1,%xmm0
jmp    1269 <PointChi2+0xe9>
movapd %xmm1,%xmm0
movsd  %xmm2,0x30(%rsp)
movsd  %xmm1,0x20(%rsp)
call   1090 <sqrt@plt>
movsd  0x20(%rsp),%xmm1
movsd  0x30(%rsp),%xmm2
mulsd  %xmm0,%xmm2
addsd  0xdc3(%rip),%xmm2
subsd  %xmm1,%xmm2
movsd  0xdbf(%rip),%xmm1
movapd %xmm2,%xmm0
call   1070 <pow@plt>
movapd %xmm0,%xmm1
movsd  0x8(%rsp),%xmm0
mulsd  %xmm0,%xmm1
mulsd  0xda8(%rip),%xmm0
addsd  0xda8(%rip),%xmm0
ucomisd %xmm0,%xmm1
movsd  0x10(%rsp),%xmm2
jbe    12e0 <PointChi2+0x160>
movsd  0xd7c(%rip),%xmm0
subsd  %xmm2,%xmm0
xorpd  %xmm3,%xmm3
ucomisd %xmm0,%xmm3
jae    1690 <PointChi2+0x510>
mulsd  0xd42(%rip),%xmm1
ucomisd %xmm1,%xmm3
jae    16b0 <PointChi2+0x530>
movsd  0xd50(%rip),%xmm0
subsd  %xmm2,%xmm0
xorpd  %xmm1,%xmm1
ucomisd %xmm0,%xmm1
jae    1680 <PointChi2+0x500>
movsd  0x18(%rsp),%xmm1
movapd %xmm1,%xmm0
mulsd  %xmm2,%xmm0
movsd  %xmm0,0x8(%rsp)
movsd  0xd42(%rip),%xmm0
mulsd  %xmm1,%xmm0
addsd  0x28(%rsp),%xmm0
movsd  %xmm0,0x48(%rsp)
call   1050 <exp@plt>
mulsd  0x8(%rsp),%xmm0
movsd  0xcff(%rip),%xmm1
divsd  0x18(%rsp),%xmm1
call   1070 <pow@plt>
movapd %xmm0,%xmm2
addsd  0xd10(%rip),%xmm0
xorpd  %xmm1,%xmm1
ucomisd %xmm0,%xmm1
ja     1677 <PointChi2+0x4f7>
movsd  0xca2(%rip),%xmm0
movsd  0x18(%rsp),%xmm4
addsd  %xmm4,%xmm0
movapd 0xde8(%rip),%xmm1
movsd  0xce8(%rip),%xmm3
mulsd  %xmm0,%xmm3
addsd  0xce4(%rip),%xmm3
xorpd  %xmm0,%xmm1
movapd %xmm1,0x50(%rsp)
movapd %xmm0,0x60(%rsp)
mulsd  %xmm0,%xmm3
addsd  0xcd0(%rip),%xmm3
divsd  0xcd0(%rip),%xmm3
movsd  %xmm3,0x40(%rsp)
movsd  0xc59(%rip),%xmm11
movapd %xmm4,%xmm1
movapd %xmm2,%xmm0
nopw   0x0(%rax,%rax,1)
movapd %xmm0,0x30(%rsp)
mulsd  %xmm11,%xmm0
movsd  %xmm0,0x8(%rsp)
movsd  0x28(%rsp),%xmm2
call   1030 <IncompleteGamma@plt>
xorpd  %xmm1,%xmm1
ucomisd %xmm0,%xmm1
ja     1653 <PointChi2+0x4d3>
movsd  0x10(%rsp),%xmm1
subsd  %xmm0,%xmm1
movsd  %xmm1,0x20(%rsp)
movsd  0x8(%rsp),%xmm0
addsd  0x48(%rsp),%xmm0
movsd  %xmm0,0x8(%rsp)
movapd 0x30(%rsp),%xmm0
call   1060 <log@plt>
mulsd  0x50(%rsp),%xmm0
addsd  0x8(%rsp),%xmm0
call   1050 <exp@plt>
mulsd  0x20(%rsp),%xmm0
movapd %xmm0,%xmm10
xorpd  0xd14(%rip),%xmm10
movapd 0x30(%rsp),%xmm13
divsd  %xmm13,%xmm10
movapd 0x60(%rsp),%xmm2
movapd %xmm2,%xmm8
mulsd  %xmm10,%xmm8
movapd %xmm0,%xmm9
movsd  0xba2(%rip),%xmm11
mulsd  %xmm11,%xmm9
movapd %xmm9,%xmm6
addsd  %xmm8,%xmm6
movapd %xmm6,%xmm5
mulsd  0xbf7(%rip),%xmm5
addsd  0xbf7(%rip),%xmm5
mulsd  %xmm6,%xmm5
movsd  0xbf2(%rip),%xmm12
addsd  %xmm12,%xmm5
mulsd  %xmm6,%xmm5
addsd  0xbe9(%rip),%xmm5
mulsd  %xmm6,%xmm5
addsd  0xbe5(%rip),%xmm5
mulsd  %xmm6,%xmm5
movapd %xmm6,%xmm7
mulsd  0xbed(%rip),%xmm7
addsd  0xbed(%rip),%xmm7
mulsd  %xmm6,%xmm7
addsd  0xbe9(%rip),%xmm7
mulsd  %xmm6,%xmm7
addsd  0xbe5(%rip),%xmm7
mulsd  %xmm6,%xmm7
movapd %xmm6,%xmm3
mulsd  0xbe5(%rip),%xmm3
addsd  0xbe5(%rip),%xmm3
mulsd  %xmm6,%xmm3
addsd  0xbe1(%rip),%xmm3
mulsd  %xmm6,%xmm3
movapd %xmm6,%xmm1
mulsd  0xbd9(%rip),%xmm1
addsd  0xbd9(%rip),%xmm1
mulsd  %xmm6,%xmm1
addsd  0xbd5(%rip),%xmm1
movapd %xmm6,%xmm4
mulsd  0xbd1(%rip),%xmm4
addsd  0xbd1(%rip),%xmm4
mulsd  %xmm6,%xmm4
addsd  0xbcd(%rip),%xmm4
mulsd  %xmm2,%xmm4
addsd  %xmm1,%xmm4
movapd %xmm6,%xmm1
mulsd  0xbc1(%rip),%xmm1
addsd  %xmm12,%xmm1
mulsd  0xbbc(%rip),%xmm6
addsd  0xbbc(%rip),%xmm6
mulsd  %xmm2,%xmm6
addsd  %xmm1,%xmm6
movsd  0xb4b(%rip),%xmm12
divsd  %xmm12,%xmm6
movapd %xmm10,%xmm2
mulsd  0x40(%rsp),%xmm2
addsd  %xmm6,%xmm2
divsd  0xacf(%rip),%xmm4
mulsd  %xmm10,%xmm2
addsd  %xmm4,%xmm2
movsd  0xaee(%rip),%xmm1
addsd  %xmm1,%xmm3
divsd  %xmm12,%xmm3
mulsd  %xmm10,%xmm2
addsd  %xmm3,%xmm2
movsd  0xadc(%rip),%xmm3
addsd  %xmm3,%xmm7
divsd  %xmm12,%xmm7
mulsd  %xmm10,%xmm2
addsd  %xmm7,%xmm2
mulsd  %xmm10,%xmm2
addsd  %xmm1,%xmm5
divsd  %xmm3,%xmm5
mulsd  %xmm5,%xmm9
addsd  %xmm5,%xmm2
mulsd  %xmm8,%xmm2
addsd  0xa26(%rip),%xmm9
addsd  %xmm9,%xmm2
mulsd  %xmm0,%xmm2
movapd %xmm13,%xmm0
addsd  %xmm13,%xmm2
divsd  %xmm2,%xmm0
addsd  0x9d7(%rip),%xmm0
andpd  0xb37(%rip),%xmm0
ucomisd 0xb07(%rip),%xmm0
movapd %xmm2,%xmm0
movsd  0x18(%rsp),%xmm1
ja     13d0 <PointChi2+0x250>
jmp    1677 <PointChi2+0x4f7>
mov    0x2986(%rip),%rax
mov    (%rax),%edi
lea    0xb1d(%rip),%rsi
lea    0xb37(%rip),%rdx
call   1040 <fprintf@plt>
movsd  0x991(%rip),%xmm2
movapd %xmm2,%xmm0
add    $0x78,%rsp
ret
call   1060 <log@plt>
movsd  0x10(%rsp),%xmm2
jmp    12fa <PointChi2+0x17a>
movsd  %xmm1,0x8(%rsp)
call   1060 <log@plt>
xorpd  %xmm3,%xmm3
movsd  0x8(%rsp),%xmm1
movsd  0x10(%rsp),%xmm2
jmp    12ce <PointChi2+0x14e>
movapd %xmm1,%xmm0
call   1060 <log@plt>
movsd  0x10(%rsp),%xmm2
jmp    12e0 <PointChi2+0x160>

LLVM IR (-O0):
@stderr = global i32 0
@.str = [33 x i8] c"%s Error: Problem in PointChi2\00"
@.str.1 = [2 x i8] c" \00"
define double @PointChi2(double %0, double %1) {
%3 = alloca double
%4 = alloca double
%5 = alloca double
%6 = alloca double
%7 = alloca double
%8 = alloca double
%9 = alloca double
%10 = alloca double
%11 = alloca double
%12 = alloca double
%13 = alloca double
%14 = alloca double
%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
store double %0, double* %4
store double %1, double* %5
store double 5.000000e-07, double* %6
store double 0x3FE62E42FEF1FCCC, double* %7
%26 = load double, double* %4
store double %26, double* %8
store double 0.000000e+00, double* %13
store double 0.000000e+00, double* %14
store double 0.000000e+00, double* %15
store double 0.000000e+00, double* %16
store double 0.000000e+00, double* %17
store double 0.000000e+00, double* %18
store double 0.000000e+00, double* %19
%27 = load double, double* %8
%28 = fcmp olt double %27, 2.000000e-06
br i1 %28, label %35, label %29
29: ; preds = %2
%30 = load double, double* %8
%31 = fcmp ogt double %30, 9.999980e-01
br i1 %31, label %35, label %32
32: ; preds = %29
%33 = load double, double* %5
%34 = fcmp ole double %33, 0.000000e+00
br i1 %34, label %35, label %36
35: ; preds = %32, %29, %2
store double -1.000000e+00, double* %3
br label %241
36: ; preds = %32
%37 = load double, double* %5
%38 = fdiv double %37, 2.000000e+00
%39 = call double @LnGamma(double %38)
store double %39, double* %9
%40 = load double, double* %5
%41 = fdiv double %40, 2.000000e+00
store double %41, double* %10
%42 = load double, double* %10
%43 = fsub double %42, 1.000000e+00
store double %43, double* %11
%44 = load double, double* %5
%45 = load double, double* %8
%46 = call double @log(double %45)
%47 = fmul double -1.240000e+00, %46
%48 = fcmp oge double %44, %47
br i1 %48, label %49, label %88
49: ; preds = %36
%50 = load double, double* %5
%51 = fcmp ogt double %50, 3.200000e-01
br i1 %51, label %52, label %84
52: ; preds = %49
%53 = load double, double* %8
%54 = call double @PointNormal(double %53)
store double %54, double* %18
%55 = load double, double* %5
%56 = fdiv double 2.222220e-01, %55
store double %56, double* %15
%57 = load double, double* %5
%58 = load double, double* %18
%59 = load double, double* %15
%60 = call double @sqrt(double %59)
%61 = call double @llvm.fmuladd.f64(double %58, double %60, double 1.000000e+00)
%62 = load double, double* %15
%63 = fsub double %61, %62
%64 = call double @pow(double %63, double 3.000000e+00)
%65 = fmul double %57, %64
store double %65, double* %12
%66 = load double, double* %12
%67 = load double, double* %5
%68 = call double @llvm.fmuladd.f64(double 2.200000e+00, double %67, double 6.000000e+00)
%69 = fcmp ogt double %66, %68
br i1 %69, label %70, label %83
70: ; preds = %52
%71 = load double, double* %8
%72 = fsub double 1.000000e+00, %71
%73 = call double @log(double %72)
%74 = load double, double* %11
%75 = load double, double* %12
%76 = fmul double 5.000000e-01, %75
%77 = call double @log(double %76)
%78 = fneg double %74
%79 = call double @llvm.fmuladd.f64(double %78, double %77, double %73)
%80 = load double, double* %9
%81 = fadd double %79, %80
%82 = fmul double -2.000000e+00, %81
store double %82, double* %12
br label %83
83: ; preds = %70, %52
br label %84
84: ; preds = %83, %49
store double 4.000000e-01, double* %12
%85 = load double, double* %8
%86 = fsub double 1.000000e+00, %85
%87 = call double @log(double %86)
store double %87, double* %13
br label %88
88: ; preds = %84, %36
%89 = load double, double* %8
%90 = load double, double* %10
%91 = fmul double %89, %90
%92 = load double, double* %9
%93 = load double, double* %10
%94 = load double, double* %7
%95 = call double @llvm.fmuladd.f64(double %93, double %94, double %92)
%96 = call double @exp(double %95)
%97 = fmul double %91, %96
%98 = load double, double* %10
%99 = fdiv double 1.000000e+00, %98
%100 = call double @pow(double %97, double %99)
store double %100, double* %12
%101 = load double, double* %12
%102 = load double, double* %6
%103 = fsub double %101, %102
%104 = fcmp olt double %103, 0.000000e+00
br i1 %104, label %105, label %107
105: ; preds = %88
%106 = load double, double* %12
store double %106, double* %3
br label %241
107: ; preds = %88
br label %108
108: ; preds = %107
br label %109
109: ; preds = %231, %108
%110 = load double, double* %12
store double %110, double* %14
%111 = load double, double* %12
%112 = fmul double 5.000000e-01, %111
store double %112, double* %15
%113 = load double, double* %15
%114 = load double, double* %10
%115 = load double, double* %9
%116 = call double @IncompleteGamma(double %113, double %114, double %115)
store double %116, double* %17
%117 = fcmp olt double %116, 0.000000e+00
br i1 %117, label %118, label %121
118: ; preds = %109
%119 = load i32, i32* @stderr
%120 = call i32 @fprintf(i32 %119, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
store double -1.000000e+00, double* %3
br label %241
121: ; preds = %109
%122 = load double, double* %8
%123 = load double, double* %17
%124 = fsub double %122, %123
store double %124, double* %16
%125 = load double, double* %16
%126 = load double, double* %10
%127 = load double, double* %7
%128 = load double, double* %9
%129 = call double @llvm.fmuladd.f64(double %126, double %127, double %128)
%130 = load double, double* %15
%131 = fadd double %129, %130
%132 = load double, double* %11
%133 = load double, double* %12
%134 = call double @log(double %133)
%135 = fneg double %132
%136 = call double @llvm.fmuladd.f64(double %135, double %134, double %131)
%137 = call double @exp(double %136)
%138 = fmul double %125, %137
store double %138, double* %17
%139 = load double, double* %17
%140 = load double, double* %12
%141 = fdiv double %139, %140
store double %141, double* %19
%142 = load double, double* %17
%143 = load double, double* %19
%144 = load double, double* %11
%145 = fmul double %143, %144
%146 = fneg double %145
%147 = call double @llvm.fmuladd.f64(double 5.000000e-01, double %142, double %146)
store double %147, double* %13
%148 = load double, double* %13
%149 = load double, double* %13
%150 = load double, double* %13
%151 = load double, double* %13
%152 = load double, double* %13
%153 = call double @llvm.fmuladd.f64(double 6.000000e+01, double %152, double 7.000000e+01)
%154 = call double @llvm.fmuladd.f64(double %151, double %153, double 8.400000e+01)
%155 = call double @llvm.fmuladd.f64(double %150, double %154, double 1.050000e+02)
%156 = call double @llvm.fmuladd.f64(double %149, double %155, double 1.400000e+02)
%157 = call double @llvm.fmuladd.f64(double %148, double %156, double 2.100000e+02)
%158 = fdiv double %157, 4.200000e+02
store double %158, double* %20
%159 = load double, double* %13
%160 = load double, double* %13
%161 = load double, double* %13
%162 = load double, double* %13
%163 = call double @llvm.fmuladd.f64(double 1.278000e+03, double %162, double 1.141000e+03)
%164 = call double @llvm.fmuladd.f64(double %161, double %163, double 9.660000e+02)
%165 = call double @llvm.fmuladd.f64(double %160, double %164, double 7.350000e+02)
%166 = call double @llvm.fmuladd.f64(double %159, double %165, double 4.200000e+02)
%167 = fdiv double %166, 2.520000e+03
store double %167, double* %21
%168 = load double, double* %13
%169 = load double, double* %13
%170 = load double, double* %13
%171 = call double @llvm.fmuladd.f64(double 9.320000e+02, double %170, double 7.070000e+02)
%172 = call double @llvm.fmuladd.f64(double %169, double %171, double 4.620000e+02)
%173 = call double @llvm.fmuladd.f64(double %168, double %172, double 2.100000e+02)
%174 = fdiv double %173, 2.520000e+03
store double %174, double* %22
%175 = load double, double* %13
%176 = load double, double* %13
%177 = call double @llvm.fmuladd.f64(double 1.182000e+03, double %176, double 6.720000e+02)
%178 = call double @llvm.fmuladd.f64(double %175, double %177, double 2.520000e+02)
%179 = load double, double* %11
%180 = load double, double* %13
%181 = load double, double* %13
%182 = call double @llvm.fmuladd.f64(double 1.740000e+03, double %181, double 8.890000e+02)
%183 = call double @llvm.fmuladd.f64(double %180, double %182, double 2.940000e+02)
%184 = call double @llvm.fmuladd.f64(double %179, double %183, double %178)
%185 = fdiv double %184, 5.040000e+03
store double %185, double* %23
%186 = load double, double* %13
%187 = call double @llvm.fmuladd.f64(double 2.640000e+02, double %186, double 8.400000e+01)
%188 = load double, double* %11
%189 = load double, double* %13
%190 = call double @llvm.fmuladd.f64(double 6.060000e+02, double %189, double 1.750000e+02)
%191 = call double @llvm.fmuladd.f64(double %188, double %190, double %187)
%192 = fdiv double %191, 2.520000e+03
store double %192, double* %24
%193 = load double, double* %11
%194 = load double, double* %11
%195 = call double @llvm.fmuladd.f64(double 1.270000e+02, double %194, double 3.460000e+02)
%196 = call double @llvm.fmuladd.f64(double %193, double %195, double 1.200000e+02)
%197 = fdiv double %196, 5.040000e+03
store double %197, double* %25
%198 = load double, double* %17
%199 = load double, double* %17
%200 = fmul double 5.000000e-01, %199
%201 = load double, double* %20
%202 = call double @llvm.fmuladd.f64(double %200, double %201, double 1.000000e+00)
%203 = load double, double* %19
%204 = load double, double* %11
%205 = fmul double %203, %204
%206 = load double, double* %20
%207 = load double, double* %19
%208 = load double, double* %21
%209 = load double, double* %19
%210 = load double, double* %22
%211 = load double, double* %19
%212 = load double, double* %23
%213 = load double, double* %19
%214 = load double, double* %24
%215 = load double, double* %19
%216 = load double, double* %25
%217 = fneg double %215
%218 = call double @llvm.fmuladd.f64(double %217, double %216, double %214)
%219 = fneg double %213
%220 = call double @llvm.fmuladd.f64(double %219, double %218, double %212)
%221 = fneg double %211
%222 = call double @llvm.fmuladd.f64(double %221, double %220, double %210)
%223 = fneg double %209
%224 = call double @llvm.fmuladd.f64(double %223, double %222, double %208)
%225 = fneg double %207
%226 = call double @llvm.fmuladd.f64(double %225, double %224, double %206)
%227 = fneg double %205
%228 = call double @llvm.fmuladd.f64(double %227, double %226, double %202)
%229 = load double, double* %12
%230 = call double @llvm.fmuladd.f64(double %198, double %228, double %229)
store double %230, double* %12
br label %231
231: ; preds = %121
%232 = load double, double* %14
%233 = load double, double* %12
%234 = fdiv double %232, %233
%235 = fsub double %234, 1.000000e+00
%236 = call double @llvm.fabs.f64(double %235)
%237 = load double, double* %6
%238 = fcmp ogt double %236, %237
br i1 %238, label %109, label %239
239: ; preds = %231
%240 = load double, double* %12
store double %240, double* %3
br label %241
241: ; preds = %239, %118, %105, %35
%242 = load double, double* %3
ret double %242
}

LLVM IR (-O2):
@stderr = global i32 0
@.str = [33 x i8] c"%s Error: Problem in PointChi2\00"
@.str.1 = [2 x i8] c" \00"
define double @PointChi2(double %0, double %1) {
%3 = fcmp olt double %0, 2.000000e-06
%4 = fcmp ogt double %0, 9.999980e-01
%5 = or i1 %3, %4
%6 = fcmp ole double %1, 0.000000e+00
%7 = or i1 %5, %6
br i1 %7, label %113, label %8
8: ; preds = %2
%9 = fmul double %1, 5.000000e-01
%10 = tail call double @LnGamma(double %9)
%11 = fadd double %9, -1.000000e+00
%12 = tail call double @log(double %0)
%13 = fmul double %12, -1.240000e+00
%14 = fcmp ugt double %13, %1
br i1 %14, label %42, label %15
15: ; preds = %8
%16 = fcmp ogt double %1, 3.200000e-01
br i1 %16, label %17, label %37
17: ; preds = %15
%18 = tail call double @PointNormal(double %0)
%19 = fdiv double 2.222220e-01, %1
%20 = tail call double @sqrt(double %19)
%21 = tail call double @llvm.fmuladd.f64(double %18, double %20, double 1.000000e+00)
%22 = fsub double %21, %19
%23 = tail call double @pow(double %22, double 3.000000e+00)
%24 = fmul double %23, %1
%25 = tail call double @llvm.fmuladd.f64(double %1, double 2.200000e+00, double 6.000000e+00)
%26 = fcmp ogt double %24, %25
br i1 %26, label %27, label %37
27: ; preds = %17
%28 = fsub double 1.000000e+00, %0
%29 = fcmp ugt double %28, 0.000000e+00
br i1 %29, label %32, label %30
30: ; preds = %27
%31 = tail call double @log(double %28)
br label %32
32: ; preds = %27, %30
%33 = fmul double %24, 5.000000e-01
%34 = fcmp ugt double %33, 0.000000e+00
br i1 %34, label %37, label %35
35: ; preds = %32
%36 = tail call double @log(double %33)
br label %37
37: ; preds = %35, %32, %17, %15
%38 = fsub double 1.000000e+00, %0
%39 = fcmp ugt double %38, 0.000000e+00
br i1 %39, label %42, label %40
40: ; preds = %37
%41 = tail call double @log(double %38)
br label %42
42: ; preds = %40, %37, %8
%43 = fmul double %9, %0
%44 = tail call double @llvm.fmuladd.f64(double %9, double 0x3FE62E42FEF1FCCC, double %10)
%45 = tail call double @exp(double %44)
%46 = fmul double %43, %45
%47 = fdiv double 1.000000e+00, %9
%48 = tail call double @pow(double %46, double %47)
%49 = fadd double %48, -5.000000e-07
%50 = fcmp olt double %49, 0.000000e+00
br i1 %50, label %113, label %51
51: ; preds = %42
%52 = fneg double %11
%53 = tail call double @llvm.fmuladd.f64(double %11, double 1.270000e+02, double 3.460000e+02)
%54 = tail call double @llvm.fmuladd.f64(double %11, double %53, double 1.200000e+02)
%55 = fdiv double %54, 5.040000e+03
br label %56
56: ; preds = %51, %64
%57 = phi double [ %108, %64 ], [ %48, %51 ]
%58 = fmul double %57, 5.000000e-01
%59 = tail call double @IncompleteGamma(double %58, double %9, double %10)
%60 = fcmp olt double %59, 0.000000e+00
br i1 %60, label %61, label %64
61: ; preds = %56
%62 = load i32, i32* @stderr
%63 = tail call i32 @fprintf(i32 %62, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
br label %113
64: ; preds = %56
%65 = fsub double %0, %59
%66 = fadd double %44, %58
%67 = tail call double @log(double %57)
%68 = tail call double @llvm.fmuladd.f64(double %52, double %67, double %66)
%69 = tail call double @exp(double %68)
%70 = fmul double %65, %69
%71 = fneg double %70
%72 = fdiv double %71, %57
%73 = fmul double %11, %72
%74 = tail call double @llvm.fmuladd.f64(double %70, double 5.000000e-01, double %73)
%75 = tail call double @llvm.fmuladd.f64(double %74, double 6.000000e+01, double 7.000000e+01)
%76 = tail call double @llvm.fmuladd.f64(double %74, double %75, double 8.400000e+01)
%77 = tail call double @llvm.fmuladd.f64(double %74, double %76, double 1.050000e+02)
%78 = tail call double @llvm.fmuladd.f64(double %74, double %77, double 1.400000e+02)
%79 = tail call double @llvm.fmuladd.f64(double %74, double %78, double 2.100000e+02)
%80 = fdiv double %79, 4.200000e+02
%81 = tail call double @llvm.fmuladd.f64(double %74, double 1.278000e+03, double 1.141000e+03)
%82 = tail call double @llvm.fmuladd.f64(double %74, double %81, double 9.660000e+02)
%83 = tail call double @llvm.fmuladd.f64(double %74, double %82, double 7.350000e+02)
%84 = tail call double @llvm.fmuladd.f64(double %74, double %83, double 4.200000e+02)
%85 = fdiv double %84, 2.520000e+03
%86 = tail call double @llvm.fmuladd.f64(double %74, double 9.320000e+02, double 7.070000e+02)
%87 = tail call double @llvm.fmuladd.f64(double %74, double %86, double 4.620000e+02)
%88 = tail call double @llvm.fmuladd.f64(double %74, double %87, double 2.100000e+02)
%89 = fdiv double %88, 2.520000e+03
%90 = tail call double @llvm.fmuladd.f64(double %74, double 1.182000e+03, double 6.720000e+02)
%91 = tail call double @llvm.fmuladd.f64(double %74, double %90, double 2.520000e+02)
%92 = tail call double @llvm.fmuladd.f64(double %74, double 1.740000e+03, double 8.890000e+02)
%93 = tail call double @llvm.fmuladd.f64(double %74, double %92, double 2.940000e+02)
%94 = tail call double @llvm.fmuladd.f64(double %11, double %93, double %91)
%95 = fdiv double %94, 5.040000e+03
%96 = tail call double @llvm.fmuladd.f64(double %74, double 2.640000e+02, double 8.400000e+01)
%97 = tail call double @llvm.fmuladd.f64(double %74, double 6.060000e+02, double 1.750000e+02)
%98 = tail call double @llvm.fmuladd.f64(double %11, double %97, double %96)
%99 = fdiv double %98, 2.520000e+03
%100 = fmul double %70, 5.000000e-01
%101 = tail call double @llvm.fmuladd.f64(double %100, double %80, double 1.000000e+00)
%102 = tail call double @llvm.fmuladd.f64(double %72, double %55, double %99)
%103 = tail call double @llvm.fmuladd.f64(double %72, double %102, double %95)
%104 = tail call double @llvm.fmuladd.f64(double %72, double %103, double %89)
%105 = tail call double @llvm.fmuladd.f64(double %72, double %104, double %85)
%106 = tail call double @llvm.fmuladd.f64(double %72, double %105, double %80)
%107 = tail call double @llvm.fmuladd.f64(double %73, double %106, double %101)
%108 = tail call double @llvm.fmuladd.f64(double %70, double %107, double %57)
%109 = fdiv double %57, %108
%110 = fadd double %109, -1.000000e+00
%111 = tail call double @llvm.fabs.f64(double %110)
%112 = fcmp ogt double %111, 5.000000e-07
br i1 %112, label %56, label %113
113: ; preds = %64, %42, %2, %61
%114 = phi double [ -1.000000e+00, %61 ], [ -1.000000e+00, %2 ], [ %48, %42 ], [ %108, %64 ]
ret double %114
}