double fourintpts(double xint[], double yint[], double A1, double B1,
                  double PHI_1, double A2, double B2, double H2_TR,
                  double K2_TR, double PHI_2, double AA, double BB, double CC,
                  double DD, double EE, double FF, int *rtnCode) {
  int i, j, k;
  double xmid, ymid, xint_tr[5], yint_tr[5], OverlapArea;
  double theta[5], theta_tr[5], cosphi, sinphi, tmp0, tmp1, tmp2;
  double area1, area2, area3, area4, area5;
  for (i = 1; i <= 4; i++) {
    if (fabs(xint[i]) > A1)
      xint[i] = (xint[i] < 0) ? -A1 : A1;
    if (yint[i] < 0.0)
      theta[i] = (2.0 * (2.0 * asin(1.0))) - acos(xint[i] / A1);
    else
      theta[i] = acos(xint[i] / A1);
  }
  for (j = 2; j <= 4; j++) {
    tmp0 = theta[j];
    tmp1 = xint[j];
    tmp2 = yint[j];
    for (k = j - 1; k >= 1; k--) {
      if (theta[k] <= tmp0)
        break;
      theta[k + 1] = theta[k];
      xint[k + 1] = xint[k];
      yint[k + 1] = yint[k];
    }
    theta[k + 1] = tmp0;
    xint[k + 1] = tmp1;
    yint[k + 1] = tmp2;
  }
  area1 = 0.5 * fabs((xint[3] - xint[1]) * (yint[4] - yint[2]) -
                     (xint[4] - xint[2]) * (yint[3] - yint[1]));
  cosphi = cos(PHI_1 - PHI_2);
  sinphi = sin(PHI_1 - PHI_2);
  for (i = 1; i <= 4; i++) {
    xint_tr[i] = (xint[i] - H2_TR) * cosphi + (yint[i] - K2_TR) * -sinphi;
    yint_tr[i] = (xint[i] - H2_TR) * sinphi + (yint[i] - K2_TR) * cosphi;
    if (fabs(xint_tr[i]) > A2)
      xint_tr[i] = (xint_tr[i] < 0) ? -A2 : A2;
    if (yint_tr[i] < 0.0)
      theta_tr[i] = (2.0 * (2.0 * asin(1.0))) - acos(xint_tr[i] / A2);
    else
      theta_tr[i] = acos(xint_tr[i] / A2);
  }
  xmid = A1 * cos((theta[1] + theta[2]) / 2.0);
  ymid = B1 * sin((theta[1] + theta[2]) / 2.0);
  if (ellipse2tr(xmid, ymid, AA, BB, CC, DD, EE, FF) < 0.0) {
    area2 = 0.5 * (A1 * B1 * (theta[2] - theta[1]) -
                   fabs(xint[1] * yint[2] - xint[2] * yint[1]));
    area3 = 0.5 * (A1 * B1 * (theta[4] - theta[3]) -
                   fabs(xint[3] * yint[4] - xint[4] * yint[3]));
    area4 = 0.5 * (A2 * B2 * (theta_tr[3] - theta_tr[2]) -
                   fabs(xint_tr[2] * yint_tr[3] - xint_tr[3] * yint_tr[2]));
    if (theta_tr[4] > theta_tr[1])
      area5 =
          0.5 *
          (A2 * B2 * (theta_tr[1] - (theta_tr[4] - (2.0 * (2.0 * asin(1.0))))) -
           fabs(xint_tr[4] * yint_tr[1] - xint_tr[1] * yint_tr[4]));
    else
      area5 = 0.5 * (A2 * B2 * (theta_tr[1] - theta_tr[4]) -
                     fabs(xint_tr[4] * yint_tr[1] - xint_tr[1] * yint_tr[4]));
  } else {
    area2 = 0.5 * (A1 * B1 * (theta[3] - theta[2]) -
                   fabs(xint[2] * yint[3] - xint[3] * yint[2]));
    area3 =
        0.5 * (A1 * B1 * (theta[1] - (theta[4] - (2.0 * (2.0 * asin(1.0))))) -
               fabs(xint[4] * yint[1] - xint[1] * yint[4]));
    area4 = 0.5 * (A2 * B2 * (theta_tr[2] - theta_tr[1]) -
                   fabs(xint_tr[1] * yint_tr[2] - xint_tr[2] * yint_tr[1]));
    area5 = 0.5 * (A2 * B2 * (theta_tr[4] - theta_tr[3]) -
                   fabs(xint_tr[3] * yint_tr[4] - xint_tr[4] * yint_tr[3]));
  }
  OverlapArea = area1 + area2 + area3 + area4 + area5;
  (*rtnCode) = 109;
  return OverlapArea;
}


x86 assembly (clang, -O0):
<fourintpts>:
push   %rbp
mov    %rsp,%rbp
sub    $0x1e0,%rsp
movsd  0x38(%rbp),%xmm8
movsd  0x30(%rbp),%xmm8
movsd  0x28(%rbp),%xmm8
movsd  0x20(%rbp),%xmm8
movsd  0x18(%rbp),%xmm8
movsd  0x10(%rbp),%xmm8
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movsd  %xmm0,-0x18(%rbp)
movsd  %xmm1,-0x20(%rbp)
movsd  %xmm2,-0x28(%rbp)
movsd  %xmm3,-0x30(%rbp)
movsd  %xmm4,-0x38(%rbp)
movsd  %xmm5,-0x40(%rbp)
movsd  %xmm6,-0x48(%rbp)
movsd  %xmm7,-0x50(%rbp)
mov    %rdx,-0x58(%rbp)
movl   $0x1,-0x5c(%rbp)
cmpl   $0x4,-0x5c(%rbp)
jg     130c <fourintpts+0x1bc>
mov    -0x8(%rbp),%rax
movslq -0x5c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movaps 0xe48(%rip),%xmm1
pand   %xmm1,%xmm0
ucomisd -0x18(%rbp),%xmm0
jbe    1248 <fourintpts+0xf8>
mov    -0x8(%rbp),%rax
movslq -0x5c(%rbp),%rcx
xorps  %xmm0,%xmm0
ucomisd (%rax,%rcx,8),%xmm0
jbe    1226 <fourintpts+0xd6>
movsd  -0x18(%rbp),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
movsd  %xmm0,-0x188(%rbp)
ff
jmp    1233 <fourintpts+0xe3>
movsd  -0x18(%rbp),%xmm0
movsd  %xmm0,-0x188(%rbp)
ff
movsd  -0x188(%rbp),%xmm0
ff
mov    -0x8(%rbp),%rax
movslq -0x5c(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x10(%rbp),%rax
movslq -0x5c(%rbp),%rcx
xorps  %xmm0,%xmm0
ucomisd (%rax,%rcx,8),%xmm0
jbe    12d5 <fourintpts+0x185>
movsd  0xdaa(%rip),%xmm0
call   1050 <asin@plt>
movaps %xmm0,%xmm1
movsd  0xd92(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x190(%rbp)
ff
mov    -0x8(%rbp),%rax
movslq -0x5c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
divsd  -0x18(%rbp),%xmm0
call   1030 <acos@plt>
movaps %xmm0,%xmm1
movsd  -0x190(%rbp),%xmm0
ff
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
addsd  %xmm0,%xmm0
addsd  %xmm1,%xmm0
movslq -0x5c(%rbp),%rax
movsd  %xmm0,-0x100(%rbp,%rax,8)
ff ff
jmp    12f9 <fourintpts+0x1a9>
mov    -0x8(%rbp),%rax
movslq -0x5c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
divsd  -0x18(%rbp),%xmm0
call   1030 <acos@plt>
movslq -0x5c(%rbp),%rax
movsd  %xmm0,-0x100(%rbp,%rax,8)
ff ff
jmp    12fe <fourintpts+0x1ae>
mov    -0x5c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x5c(%rbp)
jmp    11ba <fourintpts+0x6a>
movl   $0x2,-0x60(%rbp)
cmpl   $0x4,-0x60(%rbp)
jg     1458 <fourintpts+0x308>
movslq -0x60(%rbp),%rax
movsd  -0x100(%rbp,%rax,8),%xmm0
ff ff
movsd  %xmm0,-0x148(%rbp)
ff
mov    -0x8(%rbp),%rax
movslq -0x60(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x150(%rbp)
ff
mov    -0x10(%rbp),%rax
movslq -0x60(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x158(%rbp)
ff
mov    -0x60(%rbp),%eax
sub    $0x1,%eax
mov    %eax,-0x64(%rbp)
cmpl   $0x1,-0x64(%rbp)
jl     13fd <fourintpts+0x2ad>
movslq -0x64(%rbp),%rax
movsd  -0x100(%rbp,%rax,8),%xmm1
ff ff
movsd  -0x148(%rbp),%xmm0
ff
ucomisd %xmm1,%xmm0
jb     1393 <fourintpts+0x243>
jmp    13fd <fourintpts+0x2ad>
movslq -0x64(%rbp),%rax
movsd  -0x100(%rbp,%rax,8),%xmm0
ff ff
mov    -0x64(%rbp),%eax
add    $0x1,%eax
cltq
movsd  %xmm0,-0x100(%rbp,%rax,8)
ff ff
mov    -0x8(%rbp),%rax
movslq -0x64(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x8(%rbp),%rax
mov    -0x64(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x10(%rbp),%rax
movslq -0x64(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x10(%rbp),%rax
mov    -0x64(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x64(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x64(%rbp)
jmp    1365 <fourintpts+0x215>
movsd  -0x148(%rbp),%xmm0
ff
mov    -0x64(%rbp),%eax
add    $0x1,%eax
cltq
movsd  %xmm0,-0x100(%rbp,%rax,8)
ff ff
movsd  -0x150(%rbp),%xmm0
ff
mov    -0x8(%rbp),%rax
mov    -0x64(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0x158(%rbp),%xmm0
ff
mov    -0x10(%rbp),%rax
mov    -0x64(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x60(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x60(%rbp)
jmp    1313 <fourintpts+0x1c3>
mov    -0x8(%rbp),%rax
movsd  0x18(%rax),%xmm1
mov    -0x8(%rbp),%rax
subsd  0x8(%rax),%xmm1
mov    -0x10(%rbp),%rax
movsd  0x20(%rax),%xmm2
mov    -0x10(%rbp),%rax
subsd  0x10(%rax),%xmm2
mov    -0x8(%rbp),%rax
movsd  0x20(%rax),%xmm0
mov    -0x8(%rbp),%rax
subsd  0x10(%rax),%xmm0
mov    -0x10(%rbp),%rax
movsd  0x18(%rax),%xmm3
mov    -0x10(%rbp),%rax
subsd  0x8(%rax),%xmm3
mulsd  %xmm3,%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movaps 0xb56(%rip),%xmm0
pand   %xmm0,%xmm1
movsd  0xb2a(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x160(%rbp)
ff
movsd  -0x28(%rbp),%xmm0
subsd  -0x50(%rbp),%xmm0
call   1070 <cos@plt>
movsd  %xmm0,-0x138(%rbp)
ff
movsd  -0x28(%rbp),%xmm0
subsd  -0x50(%rbp),%xmm0
call   1040 <sin@plt>
movsd  %xmm0,-0x140(%rbp)
ff
movl   $0x1,-0x5c(%rbp)
cmpl   $0x4,-0x5c(%rbp)
jg     1716 <fourintpts+0x5c6>
mov    -0x8(%rbp),%rax
movslq -0x5c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
subsd  -0x40(%rbp),%xmm0
movsd  -0x138(%rbp),%xmm2
ff
mov    -0x10(%rbp),%rax
movslq -0x5c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm1
subsd  -0x48(%rbp),%xmm1
movsd  -0x140(%rbp),%xmm3
ff
movq   %xmm3,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm3
mulsd  %xmm3,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movslq -0x5c(%rbp),%rax
movsd  %xmm0,-0xa0(%rbp,%rax,8)
ff ff
mov    -0x8(%rbp),%rax
movslq -0x5c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
subsd  -0x40(%rbp),%xmm0
movsd  -0x140(%rbp),%xmm2
ff
mov    -0x10(%rbp),%rax
movslq -0x5c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm1
subsd  -0x48(%rbp),%xmm1
mulsd  -0x138(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movslq -0x5c(%rbp),%rax
movsd  %xmm0,-0xd0(%rbp,%rax,8)
ff ff
movslq -0x5c(%rbp),%rax
movsd  -0xa0(%rbp,%rax,8),%xmm0
ff ff
movaps 0xa3e(%rip),%xmm1
pand   %xmm1,%xmm0
ucomisd -0x30(%rbp),%xmm0
jbe    1652 <fourintpts+0x502>
movslq -0x5c(%rbp),%rax
xorps  %xmm0,%xmm0
ucomisd -0xa0(%rbp,%rax,8),%xmm0
ff ff
jbe    1630 <fourintpts+0x4e0>
movsd  -0x30(%rbp),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
movsd  %xmm0,-0x198(%rbp)
ff
jmp    163d <fourintpts+0x4ed>
movsd  -0x30(%rbp),%xmm0
movsd  %xmm0,-0x198(%rbp)
ff
movsd  -0x198(%rbp),%xmm0
ff
movslq -0x5c(%rbp),%rax
movsd  %xmm0,-0xa0(%rbp,%rax,8)
ff ff
movslq -0x5c(%rbp),%rax
xorps  %xmm0,%xmm0
ucomisd -0xd0(%rbp,%rax,8),%xmm0
ff ff
jbe    16df <fourintpts+0x58f>
movsd  0x9a0(%rip),%xmm0
call   1050 <asin@plt>
movaps %xmm0,%xmm1
movsd  0x988(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x1a0(%rbp)
ff
movslq -0x5c(%rbp),%rax
movsd  -0xa0(%rbp,%rax,8),%xmm0
ff ff
divsd  -0x30(%rbp),%xmm0
call   1030 <acos@plt>
movaps %xmm0,%xmm1
movsd  -0x1a0(%rbp),%xmm0
ff
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
addsd  %xmm0,%xmm0
addsd  %xmm1,%xmm0
movslq -0x5c(%rbp),%rax
movsd  %xmm0,-0x130(%rbp,%rax,8)
ff ff
jmp    1703 <fourintpts+0x5b3>
movslq -0x5c(%rbp),%rax
movsd  -0xa0(%rbp,%rax,8),%xmm0
ff ff
divsd  -0x30(%rbp),%xmm0
call   1030 <acos@plt>
movslq -0x5c(%rbp),%rax
movsd  %xmm0,-0x130(%rbp,%rax,8)
ff ff
jmp    1708 <fourintpts+0x5b8>
mov    -0x5c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x5c(%rbp)
jmp    1517 <fourintpts+0x3c7>
movsd  -0x18(%rbp),%xmm0
movsd  %xmm0,-0x1b0(%rbp)
ff
movsd  -0xf8(%rbp),%xmm0
ff
addsd  -0xf0(%rbp),%xmm0
ff
movsd  0x8cd(%rip),%xmm1
divsd  %xmm1,%xmm0
call   1070 <cos@plt>
movaps %xmm0,%xmm1
movsd  -0x1b0(%rbp),%xmm0
ff
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x20(%rbp),%xmm0
movsd  %xmm0,-0x1a8(%rbp)
ff
movsd  -0xf8(%rbp),%xmm0
ff
addsd  -0xf0(%rbp),%xmm0
ff
movsd  0x88b(%rip),%xmm1
divsd  %xmm1,%xmm0
call   1040 <sin@plt>
movaps %xmm0,%xmm1
movsd  -0x1a8(%rbp),%xmm0
ff
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x78(%rbp)
movsd  -0x70(%rbp),%xmm0
movsd  -0x78(%rbp),%xmm1
movsd  0x10(%rbp),%xmm2
movsd  0x18(%rbp),%xmm3
movsd  0x20(%rbp),%xmm4
movsd  0x28(%rbp),%xmm5
movsd  0x30(%rbp),%xmm6
movsd  0x38(%rbp),%xmm7
mov    $0x8,%al
call   1060 <ellipse2tr@plt>
cvtsi2sd %eax,%xmm1
xorps  %xmm0,%xmm0
ucomisd %xmm1,%xmm0
jbe    1b47 <fourintpts+0x9f7>
movsd  -0x18(%rbp),%xmm1
mulsd  -0x20(%rbp),%xmm1
movsd  -0xf0(%rbp),%xmm2
ff
subsd  -0xf8(%rbp),%xmm2
ff
mov    -0x8(%rbp),%rax
movsd  0x8(%rax),%xmm0
mov    -0x10(%rbp),%rax
movsd  0x10(%rax),%xmm4
mov    -0x8(%rbp),%rax
movsd  0x10(%rax),%xmm3
mov    -0x10(%rbp),%rax
mulsd  0x8(%rax),%xmm3
movq   %xmm3,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm3
mulsd  %xmm4,%xmm0
addsd  %xmm3,%xmm0
movaps 0x7e2(%rip),%xmm3
pand   %xmm3,%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  0x797(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x168(%rbp)
ff
movsd  -0x18(%rbp),%xmm1
mulsd  -0x20(%rbp),%xmm1
movsd  -0xe0(%rbp),%xmm2
ff
subsd  -0xe8(%rbp),%xmm2
ff
mov    -0x8(%rbp),%rax
movsd  0x18(%rax),%xmm0
mov    -0x10(%rbp),%rax
movsd  0x20(%rax),%xmm4
mov    -0x8(%rbp),%rax
movsd  0x20(%rax),%xmm3
mov    -0x10(%rbp),%rax
mulsd  0x18(%rax),%xmm3
movq   %xmm3,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm3
mulsd  %xmm4,%xmm0
addsd  %xmm3,%xmm0
movaps 0x747(%rip),%xmm3
pand   %xmm3,%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  0x6fc(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x170(%rbp)
ff
movsd  -0x30(%rbp),%xmm1
mulsd  -0x38(%rbp),%xmm1
movsd  -0x118(%rbp),%xmm2
ff
subsd  -0x120(%rbp),%xmm2
ff
movsd  -0x90(%rbp),%xmm0
ff
movsd  -0xb8(%rbp),%xmm4
ff
movsd  -0x88(%rbp),%xmm3
ff
mulsd  -0xc0(%rbp),%xmm3
ff
movq   %xmm3,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm3
mulsd  %xmm4,%xmm0
addsd  %xmm3,%xmm0
movaps 0x6b0(%rip),%xmm3
pand   %xmm3,%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  0x665(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x178(%rbp)
ff
movsd  -0x110(%rbp),%xmm0
ff
ucomisd -0x128(%rbp),%xmm0
ff
jbe    1aae <fourintpts+0x95e>
movsd  -0x30(%rbp),%xmm0
mulsd  -0x38(%rbp),%xmm0
movsd  %xmm0,-0x1c0(%rbp)
ff
movsd  -0x128(%rbp),%xmm0
ff
movsd  %xmm0,-0x1c8(%rbp)
ff
movsd  -0x110(%rbp),%xmm0
ff
movsd  %xmm0,-0x1b8(%rbp)
ff
movsd  0x619(%rip),%xmm0
call   1050 <asin@plt>
movsd  -0x1c8(%rbp),%xmm2
ff
movsd  -0x1c0(%rbp),%xmm1
ff
movaps %xmm0,%xmm4
movsd  -0x1b8(%rbp),%xmm0
ff
movsd  0x5e9(%rip),%xmm3
mulsd  %xmm4,%xmm3
addsd  %xmm3,%xmm3
subsd  %xmm3,%xmm0
subsd  %xmm0,%xmm2
movsd  -0x80(%rbp),%xmm0
movsd  -0xc8(%rbp),%xmm4
ff
movsd  -0x98(%rbp),%xmm3
ff
mulsd  -0xb0(%rbp),%xmm3
ff
movq   %xmm3,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm3
mulsd  %xmm4,%xmm0
addsd  %xmm3,%xmm0
movaps 0x5ae(%rip),%xmm3
pand   %xmm3,%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  0x563(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x180(%rbp)
ff
jmp    1b42 <fourintpts+0x9f2>
movsd  -0x30(%rbp),%xmm1
mulsd  -0x38(%rbp),%xmm1
movsd  -0x128(%rbp),%xmm2
ff
subsd  -0x110(%rbp),%xmm2
ff
movsd  -0x80(%rbp),%xmm0
movsd  -0xc8(%rbp),%xmm4
ff
movsd  -0x98(%rbp),%xmm3
ff
mulsd  -0xb0(%rbp),%xmm3
ff
movq   %xmm3,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm3
mulsd  %xmm4,%xmm0
addsd  %xmm3,%xmm0
movaps 0x515(%rip),%xmm3
pand   %xmm3,%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  0x4ca(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x180(%rbp)
ff
jmp    1e00 <fourintpts+0xcb0>
movsd  -0x18(%rbp),%xmm1
mulsd  -0x20(%rbp),%xmm1
movsd  -0xe8(%rbp),%xmm2
ff
subsd  -0xf0(%rbp),%xmm2
ff
mov    -0x8(%rbp),%rax
movsd  0x10(%rax),%xmm0
mov    -0x10(%rbp),%rax
movsd  0x18(%rax),%xmm4
mov    -0x8(%rbp),%rax
movsd  0x18(%rax),%xmm3
mov    -0x10(%rbp),%rax
mulsd  0x10(%rax),%xmm3
movq   %xmm3,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm3
mulsd  %xmm4,%xmm0
addsd  %xmm3,%xmm0
movaps 0x475(%rip),%xmm3
pand   %xmm3,%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  0x42a(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x168(%rbp)
ff
movsd  -0x18(%rbp),%xmm0
mulsd  -0x20(%rbp),%xmm0
movsd  %xmm0,-0x1d8(%rbp)
ff
movsd  -0xf8(%rbp),%xmm0
ff
movsd  %xmm0,-0x1e0(%rbp)
ff
movsd  -0xe0(%rbp),%xmm0
ff
movsd  %xmm0,-0x1d0(%rbp)
ff
movsd  0x3f4(%rip),%xmm0
call   1050 <asin@plt>
movsd  -0x1e0(%rbp),%xmm2
ff
movsd  -0x1d8(%rbp),%xmm1
ff
movaps %xmm0,%xmm4
movsd  -0x1d0(%rbp),%xmm0
ff
movsd  0x3c4(%rip),%xmm3
mulsd  %xmm4,%xmm3
addsd  %xmm3,%xmm3
subsd  %xmm3,%xmm0
subsd  %xmm0,%xmm2
mov    -0x8(%rbp),%rax
movsd  0x20(%rax),%xmm0
mov    -0x10(%rbp),%rax
movsd  0x8(%rax),%xmm4
mov    -0x8(%rbp),%rax
movsd  0x8(%rax),%xmm3
mov    -0x10(%rbp),%rax
mulsd  0x20(%rax),%xmm3
movq   %xmm3,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm3
mulsd  %xmm4,%xmm0
addsd  %xmm3,%xmm0
movaps 0x382(%rip),%xmm3
pand   %xmm3,%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  0x337(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x170(%rbp)
ff
movsd  -0x30(%rbp),%xmm1
mulsd  -0x38(%rbp),%xmm1
movsd  -0x120(%rbp),%xmm2
ff
subsd  -0x128(%rbp),%xmm2
ff
movsd  -0x98(%rbp),%xmm0
ff
movsd  -0xc0(%rbp),%xmm4
ff
movsd  -0x90(%rbp),%xmm3
ff
mulsd  -0xc8(%rbp),%xmm3
ff
movq   %xmm3,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm3
mulsd  %xmm4,%xmm0
addsd  %xmm3,%xmm0
movaps 0x2eb(%rip),%xmm3
pand   %xmm3,%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  0x2a0(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x178(%rbp)
ff
movsd  -0x30(%rbp),%xmm1
mulsd  -0x38(%rbp),%xmm1
movsd  -0x110(%rbp),%xmm2
ff
subsd  -0x118(%rbp),%xmm2
ff
movsd  -0x88(%rbp),%xmm0
ff
movsd  -0xb0(%rbp),%xmm4
ff
movsd  -0x80(%rbp),%xmm3
mulsd  -0xb8(%rbp),%xmm3
ff
movq   %xmm3,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm3
mulsd  %xmm4,%xmm0
addsd  %xmm3,%xmm0
movaps 0x257(%rip),%xmm3
pand   %xmm3,%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  0x20c(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x180(%rbp)
ff
movsd  -0x160(%rbp),%xmm0
ff
addsd  -0x168(%rbp),%xmm0
ff
addsd  -0x170(%rbp),%xmm0
ff
addsd  -0x178(%rbp),%xmm0
ff
addsd  -0x180(%rbp),%xmm0
ff
movsd  %xmm0,-0xd8(%rbp)
ff
mov    -0x58(%rbp),%rax
movl   $0x6d,(%rax)
movsd  -0xd8(%rbp),%xmm0
ff
add    $0x1e0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<fourintpts>:
push   %r15
push   %r14
push   %rbx
sub    $0x1b0,%rsp
mov    %rdx,%r14
movsd  %xmm7,0x70(%rsp)
movsd  %xmm6,0x30(%rsp)
movsd  %xmm5,0x90(%rsp)
movsd  %xmm4,0xf0(%rsp)
movaps %xmm3,0xd0(%rsp)
movsd  %xmm2,0x20(%rsp)
movsd  %xmm1,0xf8(%rsp)
movapd %xmm0,%xmm2
mov    %rsi,%r15
mov    %rdi,%rbx
movapd 0xe6a(%rip),%xmm3
xorpd  %xmm0,%xmm3
movsd  0x8(%rdi),%xmm0
movapd 0xe69(%rip),%xmm1
andpd  %xmm0,%xmm1
ucomisd %xmm2,%xmm1
movapd %xmm3,0x10(%rsp)
jbe    11d5 <fourintpts+0x95>
xorpd  %xmm1,%xmm1
cmpltsd %xmm1,%xmm0
movapd %xmm0,%xmm1
andpd  %xmm3,%xmm1
andnpd %xmm2,%xmm0
orpd   %xmm1,%xmm0
movlpd %xmm0,0x8(%rbx)
movsd  0x8(%r15),%xmm1
movaps %xmm1,(%rsp)
divsd  %xmm2,%xmm0
movapd %xmm2,0xe0(%rsp)
call   1030 <acos@plt>
movapd 0xe0(%rsp),%xmm3
movsd  0xe2e(%rip),%xmm1
subsd  %xmm0,%xmm1
xorpd  %xmm4,%xmm4
movapd (%rsp),%xmm5
cmpltsd %xmm4,%xmm5
movapd %xmm5,%xmm2
andnpd %xmm0,%xmm2
andpd  %xmm1,%xmm5
orpd   %xmm2,%xmm5
movapd %xmm5,(%rsp)
movlpd %xmm5,0x48(%rsp)
movsd  0x10(%rbx),%xmm0
movapd 0xdd4(%rip),%xmm1
andpd  %xmm0,%xmm1
ucomisd %xmm3,%xmm1
jbe    1262 <fourintpts+0x122>
cmpltsd %xmm4,%xmm0
movapd %xmm0,%xmm1
andpd  0x10(%rsp),%xmm1
andnpd %xmm3,%xmm0
orpd   %xmm1,%xmm0
movlpd %xmm0,0x10(%rbx)
movsd  0x10(%r15),%xmm1
movaps %xmm1,0x80(%rsp)
divsd  %xmm3,%xmm0
call   1030 <acos@plt>
movapd 0xe0(%rsp),%xmm3
movsd  0xda6(%rip),%xmm1
subsd  %xmm0,%xmm1
movapd 0x80(%rsp),%xmm4
cmpltsd 0xda8(%rip),%xmm4
movapd %xmm4,%xmm2
andnpd %xmm0,%xmm2
andpd  %xmm1,%xmm4
orpd   %xmm2,%xmm4
movapd %xmm4,0x80(%rsp)
movlpd %xmm4,0x50(%rsp)
movsd  0x18(%rbx),%xmm0
movapd 0xd44(%rip),%xmm1
andpd  %xmm0,%xmm1
ucomisd %xmm3,%xmm1
jbe    12f6 <fourintpts+0x1b6>
xorpd  %xmm1,%xmm1
cmpltsd %xmm1,%xmm0
movapd %xmm0,%xmm1
andpd  0x10(%rsp),%xmm1
andnpd %xmm3,%xmm0
orpd   %xmm1,%xmm0
movlpd %xmm0,0x18(%rbx)
movsd  0x18(%r15),%xmm1
movaps %xmm1,0x160(%rsp)
divsd  %xmm3,%xmm0
call   1030 <acos@plt>
movapd 0xe0(%rsp),%xmm3
movsd  0xd12(%rip),%xmm1
subsd  %xmm0,%xmm1
xorpd  %xmm4,%xmm4
movapd 0x160(%rsp),%xmm5
cmpltsd %xmm4,%xmm5
movapd %xmm5,%xmm2
andnpd %xmm0,%xmm2
andpd  %xmm1,%xmm5
orpd   %xmm2,%xmm5
movlpd %xmm5,0x58(%rsp)
movsd  0x20(%rbx),%xmm0
movapd 0xcb9(%rip),%xmm1
andpd  %xmm0,%xmm1
ucomisd %xmm3,%xmm1
jbe    137d <fourintpts+0x23d>
cmpltsd %xmm4,%xmm0
movapd 0x10(%rsp),%xmm1
andpd  %xmm0,%xmm1
andnpd %xmm3,%xmm0
orpd   %xmm1,%xmm0
movlpd %xmm0,0x20(%rbx)
movsd  0x20(%r15),%xmm1
movaps %xmm1,0x10(%rsp)
divsd  %xmm3,%xmm0
call   1030 <acos@plt>
movapd 0x10(%rsp),%xmm4
movsd  0xc91(%rip),%xmm1
subsd  %xmm0,%xmm1
cmpltsd 0xc9c(%rip),%xmm4
movapd %xmm4,%xmm2
andnpd %xmm0,%xmm2
andpd  %xmm1,%xmm4
orpd   %xmm2,%xmm4
movlpd %xmm4,0x60(%rsp)
movsd  0x10(%rbx),%xmm0
movsd  0x10(%r15),%xmm1
mov    $0x2,%eax
movapd (%rsp),%xmm2
movapd 0x80(%rsp),%xmm3
ucomisd %xmm2,%xmm3
jae    1407 <fourintpts+0x2c7>
movsd  %xmm2,0x50(%rsp)
movsd  0x8(%rbx),%xmm2
movsd  %xmm2,0x10(%rbx)
movsd  0x8(%r15),%xmm2
movsd  %xmm2,0x10(%r15)
mov    $0x1,%eax
movsd  %xmm3,0x40(%rsp,%rax,8)
movsd  %xmm0,(%rbx,%rax,8)
movsd  %xmm1,(%r15,%rax,8)
movsd  0x50(%rsp),%xmm3
movsd  0x58(%rsp),%xmm0
movsd  0x18(%rbx),%xmm1
movsd  0x18(%r15),%xmm2
mov    $0x3,%eax
ucomisd %xmm3,%xmm0
jae    1488 <fourintpts+0x348>
movsd  %xmm3,0x58(%rsp)
movsd  0x10(%rbx),%xmm3
movsd  %xmm3,0x18(%rbx)
movsd  0x10(%r15),%xmm3
movsd  %xmm3,0x18(%r15)
movsd  0x48(%rsp),%xmm3
mov    $0x2,%eax
ucomisd %xmm3,%xmm0
jae    1488 <fourintpts+0x348>
movsd  %xmm3,0x50(%rsp)
movsd  0x8(%rbx),%xmm3
movsd  %xmm3,0x10(%rbx)
movsd  0x8(%r15),%xmm3
movsd  %xmm3,0x10(%r15)
mov    $0x1,%eax
movsd  %xmm0,0x40(%rsp,%rax,8)
movsd  %xmm1,(%rbx,%rax,8)
movsd  %xmm2,(%r15,%rax,8)
movsd  0x20(%rbx),%xmm0
movsd  0x20(%r15),%xmm1
movsd  0x58(%rsp),%xmm2
mov    $0x4,%eax
ucomisd %xmm2,%xmm4
jae    1530 <fourintpts+0x3f0>
movsd  %xmm2,0x60(%rsp)
movsd  0x18(%rbx),%xmm2
movsd  %xmm2,0x20(%rbx)
movsd  0x18(%r15),%xmm2
movsd  %xmm2,0x20(%r15)
movsd  0x50(%rsp),%xmm2
mov    $0x3,%eax
ucomisd %xmm2,%xmm4
jae    1530 <fourintpts+0x3f0>
movsd  %xmm2,0x58(%rsp)
movsd  0x10(%rbx),%xmm2
movsd  %xmm2,0x18(%rbx)
movsd  0x10(%r15),%xmm2
movsd  %xmm2,0x18(%r15)
movsd  0x48(%rsp),%xmm2
mov    $0x2,%eax
ucomisd %xmm2,%xmm4
jae    1530 <fourintpts+0x3f0>
movsd  %xmm2,0x50(%rsp)
movsd  0x8(%rbx),%xmm2
movsd  %xmm2,0x10(%rbx)
movsd  0x8(%r15),%xmm2
movsd  %xmm2,0x10(%r15)
mov    $0x1,%eax
movsd  %xmm4,0x40(%rsp,%rax,8)
movsd  %xmm0,(%rbx,%rax,8)
movsd  %xmm1,(%r15,%rax,8)
movsd  0x18(%rbx),%xmm0
movsd  %xmm0,0x198(%rsp)
movsd  0x8(%rbx),%xmm0
movsd  %xmm0,0x180(%rsp)
movsd  0x10(%rbx),%xmm0
movsd  %xmm0,0x1a8(%rsp)
movsd  0x20(%r15),%xmm0
movaps %xmm0,0x160(%rsp)
movsd  0x8(%r15),%xmm0
movsd  %xmm0,0x188(%rsp)
movsd  0x10(%r15),%xmm0
movsd  %xmm0,0x178(%rsp)
movsd  0x20(%rbx),%xmm0
movsd  %xmm0,0x1a0(%rsp)
movsd  0x18(%r15),%xmm0
movsd  %xmm0,0x190(%rsp)
movsd  0x20(%rsp),%xmm0
subsd  0x70(%rsp),%xmm0
movsd  %xmm0,0x20(%rsp)
call   1060 <cos@plt>
movsd  %xmm0,(%rsp)
movsd  0x20(%rsp),%xmm0
call   1040 <sin@plt>
movapd %xmm0,%xmm5
movapd 0xa19(%rip),%xmm4
xorpd  %xmm4,%xmm0
movapd %xmm0,0x80(%rsp)
movapd 0xd0(%rsp),%xmm3
xorpd  %xmm3,%xmm4
movsd  0x8(%rbx),%xmm6
subsd  0x90(%rsp),%xmm6
movsd  0x8(%r15),%xmm1
subsd  0x30(%rsp),%xmm1
movsd  (%rsp),%xmm7
movapd %xmm7,%xmm2
mulsd  %xmm1,%xmm2
mulsd  %xmm5,%xmm1
movapd %xmm6,%xmm0
mulsd  %xmm7,%xmm0
subsd  %xmm1,%xmm0
movsd  %xmm0,0xa8(%rsp)
movapd %xmm5,0x20(%rsp)
mulsd  %xmm5,%xmm6
addsd  %xmm2,%xmm6
movapd %xmm6,0x70(%rsp)
movsd  %xmm6,0x108(%rsp)
movapd 0x9aa(%rip),%xmm1
andpd  %xmm0,%xmm1
ucomisd %xmm3,%xmm1
movapd %xmm4,0x10(%rsp)
jbe    1698 <fourintpts+0x558>
xorpd  %xmm1,%xmm1
cmpltsd %xmm1,%xmm0
movapd %xmm0,%xmm1
andpd  %xmm4,%xmm1
andnpd %xmm3,%xmm0
orpd   %xmm1,%xmm0
movlpd %xmm0,0xa8(%rsp)
divsd  %xmm3,%xmm0
call   1030 <acos@plt>
movapd 0xd0(%rsp),%xmm3
movsd  0x97e(%rip),%xmm1
subsd  %xmm0,%xmm1
xorpd  %xmm5,%xmm5
movapd 0x70(%rsp),%xmm4
cmpltsd %xmm5,%xmm4
movapd %xmm4,%xmm2
andnpd %xmm0,%xmm2
andpd  %xmm1,%xmm4
orpd   %xmm2,%xmm4
movlpd %xmm4,0x138(%rsp)
movsd  0x10(%rbx),%xmm6
subsd  0x90(%rsp),%xmm6
movsd  0x10(%r15),%xmm1
subsd  0x30(%rsp),%xmm1
movsd  (%rsp),%xmm4
movapd %xmm4,%xmm2
mulsd  %xmm1,%xmm2
mulsd  0x80(%rsp),%xmm1
movapd %xmm6,%xmm0
mulsd  %xmm4,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,0xb0(%rsp)
mulsd  0x20(%rsp),%xmm6
addsd  %xmm2,%xmm6
movapd %xmm6,0x70(%rsp)
movsd  %xmm6,0x110(%rsp)
movapd 0x8cc(%rip),%xmm1
andpd  %xmm0,%xmm1
ucomisd %xmm3,%xmm1
jbe    176e <fourintpts+0x62e>
cmpltsd %xmm5,%xmm0
movapd %xmm0,%xmm1
andpd  0x10(%rsp),%xmm1
andnpd %xmm3,%xmm0
orpd   %xmm1,%xmm0
movlpd %xmm0,0xb0(%rsp)
divsd  %xmm3,%xmm0
call   1030 <acos@plt>
movapd 0xd0(%rsp),%xmm3
movsd  0x8a8(%rip),%xmm1
subsd  %xmm0,%xmm1
movapd 0x70(%rsp),%xmm4
cmpltsd 0x8ad(%rip),%xmm4
movapd %xmm4,%xmm2
andnpd %xmm0,%xmm2
andpd  %xmm1,%xmm4
orpd   %xmm2,%xmm4
movlpd %xmm4,0x140(%rsp)
movsd  0x18(%rbx),%xmm5
subsd  0x90(%rsp),%xmm5
movsd  0x18(%r15),%xmm1
subsd  0x30(%rsp),%xmm1
movsd  (%rsp),%xmm4
movapd %xmm4,%xmm2
mulsd  %xmm1,%xmm2
mulsd  0x80(%rsp),%xmm1
movapd %xmm5,%xmm0
mulsd  %xmm4,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,0xb8(%rsp)
mulsd  0x20(%rsp),%xmm5
addsd  %xmm2,%xmm5
movapd %xmm5,0x70(%rsp)
movsd  %xmm5,0x118(%rsp)
movapd 0x7f6(%rip),%xmm1
andpd  %xmm0,%xmm1
ucomisd %xmm3,%xmm1
jbe    1848 <fourintpts+0x708>
xorpd  %xmm1,%xmm1
cmpltsd %xmm1,%xmm0
movapd %xmm0,%xmm1
andpd  0x10(%rsp),%xmm1
andnpd %xmm3,%xmm0
orpd   %xmm1,%xmm0
movlpd %xmm0,0xb8(%rsp)
divsd  %xmm3,%xmm0
call   1030 <acos@plt>
movapd 0xd0(%rsp),%xmm3
movsd  0x7ce(%rip),%xmm1
subsd  %xmm0,%xmm1
xorpd  %xmm5,%xmm5
movapd 0x70(%rsp),%xmm4
cmpltsd %xmm5,%xmm4
movapd %xmm4,%xmm2
andnpd %xmm0,%xmm2
andpd  %xmm1,%xmm4
orpd   %xmm2,%xmm4
movlpd %xmm4,0x148(%rsp)
movsd  0x20(%rbx),%xmm6
subsd  0x90(%rsp),%xmm6
movsd  0x20(%r15),%xmm1
subsd  0x30(%rsp),%xmm1
movapd 0x80(%rsp),%xmm4
mulsd  %xmm1,%xmm4
movapd %xmm6,%xmm0
movsd  (%rsp),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm4,%xmm0
movsd  %xmm0,0xc0(%rsp)
mulsd  %xmm2,%xmm1
mulsd  0x20(%rsp),%xmm6
addsd  %xmm1,%xmm6
movapd %xmm6,0x30(%rsp)
movsd  %xmm6,0x120(%rsp)
movapd 0x71c(%rip),%xmm1
andpd  %xmm0,%xmm1
ucomisd %xmm3,%xmm1
jbe    191e <fourintpts+0x7de>
cmpltsd %xmm5,%xmm0
movapd 0x10(%rsp),%xmm1
andpd  %xmm0,%xmm1
andnpd %xmm3,%xmm0
orpd   %xmm1,%xmm0
movlpd %xmm0,0xc0(%rsp)
divsd  %xmm3,%xmm0
call   1030 <acos@plt>
movsd  0x701(%rip),%xmm2
subsd  %xmm0,%xmm2
movapd 0x30(%rsp),%xmm3
cmpltsd 0x706(%rip),%xmm3
movapd %xmm3,%xmm1
andnpd %xmm0,%xmm1
andpd  %xmm2,%xmm3
orpd   %xmm1,%xmm3
movlpd %xmm3,0x150(%rsp)
movsd  0x48(%rsp),%xmm1
movsd  0x50(%rsp),%xmm0
movapd %xmm1,0x90(%rsp)
movapd %xmm0,0x30(%rsp)
addsd  %xmm0,%xmm1
mulsd  0x6b6(%rip),%xmm1
movapd %xmm1,0x20(%rsp)
movapd %xmm1,%xmm0
call   1060 <cos@plt>
mulsd  0xe0(%rsp),%xmm0
movsd  %xmm0,(%rsp)
movapd 0x20(%rsp),%xmm0
call   1040 <sin@plt>
movapd %xmm0,%xmm1
mulsd  0xf8(%rsp),%xmm1
movsd  (%rsp),%xmm0
movsd  0x1d0(%rsp),%xmm2
movsd  0x1d8(%rsp),%xmm3
movsd  0x1e0(%rsp),%xmm4
movsd  0x1e8(%rsp),%xmm5
movsd  0x1f0(%rsp),%xmm6
movsd  0x1f8(%rsp),%xmm7
mov    $0x8,%al
call   1050 <ellipse2tr@plt>
movapd 0xe0(%rsp),%xmm7
mulsd  0xf8(%rsp),%xmm7
test   %eax,%eax
js     1b34 <fourintpts+0x9f4>
movupd 0x58(%rsp),%xmm1
movsd  0x60(%rsp),%xmm0
addsd  0x619(%rip),%xmm0
unpcklpd 0x90(%rsp),%xmm1
movapd 0x30(%rsp),%xmm2
unpcklpd %xmm0,%xmm2
subpd  %xmm2,%xmm1
movsd  0x18(%rbx),%xmm0
movhpd 0x8(%rbx),%xmm0
movsd  0x10(%rbx),%xmm2
movsd  0x10(%r15),%xmm3
movhpd 0x20(%r15),%xmm3
movsd  0x18(%r15),%xmm4
mulpd  %xmm0,%xmm3
movhpd 0x20(%rbx),%xmm2
movhpd 0x8(%r15),%xmm4
mulpd  %xmm2,%xmm4
subpd  %xmm3,%xmm4
movapd 0x591(%rip),%xmm8
andpd  %xmm8,%xmm4
unpcklpd %xmm7,%xmm7
mulpd  %xmm1,%xmm7
subpd  %xmm4,%xmm7
movapd 0xd0(%rsp),%xmm0
mulsd  0xf0(%rsp),%xmm0
movapd 0x140(%rsp),%xmm1
movupd 0x138(%rsp),%xmm2
movupd 0xa8(%rsp),%xmm3
movapd 0x110(%rsp),%xmm4
movapd 0xb0(%rsp),%xmm5
movupd 0x108(%rsp),%xmm6
movhpd 0x150(%rsp),%xmm1
movhpd 0x148(%rsp),%xmm2
movhpd 0xc0(%rsp),%xmm5
movhpd 0x118(%rsp),%xmm6
subpd  %xmm2,%xmm1
mulpd  %xmm5,%xmm6
movhpd 0xb8(%rsp),%xmm3
movhpd 0x120(%rsp),%xmm4
mulpd  %xmm3,%xmm4
subpd  %xmm6,%xmm4
andpd  %xmm8,%xmm4
unpcklpd %xmm0,%xmm0
mulpd  %xmm1,%xmm0
subpd  %xmm4,%xmm0
jmp    1c99 <fourintpts+0xb59>
movapd 0x30(%rsp),%xmm4
movhpd 0x60(%rsp),%xmm4
movapd 0x90(%rsp),%xmm0
movhpd 0x58(%rsp),%xmm0
subpd  %xmm0,%xmm4
movsd  0x8(%rbx),%xmm0
movsd  0x10(%rbx),%xmm1
movhpd 0x20(%rbx),%xmm1
movsd  0x8(%r15),%xmm2
movsd  0x10(%r15),%xmm3
movhpd 0x18(%r15),%xmm2
movhpd 0x18(%rbx),%xmm0
mulpd  %xmm1,%xmm2
movhpd 0x20(%r15),%xmm3
mulpd  %xmm0,%xmm3
subpd  %xmm2,%xmm3
movapd 0x47d(%rip),%xmm2
andpd  %xmm2,%xmm3
unpcklpd %xmm7,%xmm7
mulpd  %xmm4,%xmm7
subpd  %xmm3,%xmm7
movapd 0xd0(%rsp),%xmm5
mulsd  0xf0(%rsp),%xmm5
movsd  0x148(%rsp),%xmm0
subsd  0x140(%rsp),%xmm0
movsd  0xb0(%rsp),%xmm3
movsd  0x110(%rsp),%xmm4
mulsd  0xb8(%rsp),%xmm4
mulsd  0x118(%rsp),%xmm3
movsd  0x138(%rsp),%xmm1
subsd  %xmm4,%xmm3
andpd  %xmm2,%xmm3
mulsd  %xmm5,%xmm0
subsd  %xmm3,%xmm0
movsd  0x150(%rsp),%xmm2
ucomisd %xmm1,%xmm2
jbe    1c59 <fourintpts+0xb19>
movsd  0x120(%rsp),%xmm3
mulsd  0xa8(%rsp),%xmm3
movsd  0xc0(%rsp),%xmm4
mulsd  0x108(%rsp),%xmm4
subsd  %xmm3,%xmm4
addsd  0x3fd(%rip),%xmm2
andpd  0x3c5(%rip),%xmm4
subsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm5
subsd  %xmm4,%xmm5
jmp    1c95 <fourintpts+0xb55>
movsd  0xc0(%rsp),%xmm3
movsd  0x120(%rsp),%xmm4
mulsd  0xa8(%rsp),%xmm4
mulsd  0x108(%rsp),%xmm3
subsd  %xmm4,%xmm3
andpd  0x387(%rip),%xmm3
subsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm5
subsd  %xmm3,%xmm5
unpcklpd %xmm5,%xmm0
movapd 0x37f(%rip),%xmm1
mulpd  %xmm1,%xmm0
movsd  0x198(%rsp),%xmm3
subsd  0x180(%rsp),%xmm3
movapd 0x160(%rsp),%xmm2
subsd  0x178(%rsp),%xmm2
mulsd  %xmm3,%xmm2
movsd  0x190(%rsp),%xmm4
subsd  0x188(%rsp),%xmm4
movsd  0x1a0(%rsp),%xmm3
subsd  0x1a8(%rsp),%xmm3
mulsd  %xmm4,%xmm3
subsd  %xmm3,%xmm2
andpd  0x30f(%rip),%xmm2
mulsd  0x32f(%rip),%xmm2
mulpd  %xmm1,%xmm7
addsd  %xmm7,%xmm2
unpckhpd %xmm7,%xmm7
addsd  %xmm2,%xmm7
addsd  %xmm0,%xmm7
unpckhpd %xmm0,%xmm0
addsd  %xmm7,%xmm0
movl   $0x6d,(%r14)
add    $0x1b0,%rsp
pop    %rbx
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
define double @fourintpts(double* %0, double* %1, double %2, double %3, double %4, double %5, double %6, double %7, double %8, double %9, double %10, double %11, double %12, double %13, double %14, double %15, i32* %16) {
%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
%34 = alloca i32*
%35 = alloca i32
%36 = alloca i32
%37 = alloca i32
%38 = alloca double
%39 = alloca double
%40 = alloca [5 x double]
%41 = alloca [5 x double]
%42 = alloca double
%43 = alloca [5 x double]
%44 = alloca [5 x double]
%45 = alloca double
%46 = alloca double
%47 = alloca double
%48 = alloca double
%49 = alloca double
%50 = alloca double
%51 = alloca double
%52 = alloca double
%53 = alloca double
%54 = alloca double
store double* %0, double** %18
store double* %1, double** %19
store double %2, double* %20
store double %3, double* %21
store double %4, double* %22
store double %5, double* %23
store double %6, double* %24
store double %7, double* %25
store double %8, double* %26
store double %9, double* %27
store double %10, double* %28
store double %11, double* %29
store double %12, double* %30
store double %13, double* %31
store double %14, double* %32
store double %15, double* %33
store i32* %16, i32** %34
store i32 1, i32* %35
br label %55
55: ; preds = %121, %17
%56 = load i32, i32* %35
%57 = icmp sle i32 %56, 4
br i1 %57, label %58, label %124
58: ; preds = %55
%59 = load double*, double** %18
%60 = load i32, i32* %35
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds double, double* %59, i64 %61
%63 = load double, double* %62
%64 = call double @llvm.fabs.f64(double %63)
%65 = load double, double* %20
%66 = fcmp ogt double %64, %65
br i1 %66, label %67, label %85
67: ; preds = %58
%68 = load double*, double** %18
%69 = load i32, i32* %35
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds double, double* %68, i64 %70
%72 = load double, double* %71
%73 = fcmp olt double %72, 0.000000e+00
br i1 %73, label %74, label %77
74: ; preds = %67
%75 = load double, double* %20
%76 = fneg double %75
br label %79
77: ; preds = %67
%78 = load double, double* %20
br label %79
79: ; preds = %77, %74
%80 = phi double [ %76, %74 ], [ %78, %77 ]
%81 = load double*, double** %18
%82 = load i32, i32* %35
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds double, double* %81, i64 %83
store double %80, double* %84
br label %85
85: ; preds = %79, %58
%86 = load double*, double** %19
%87 = load i32, i32* %35
%88 = sext i32 %87 to i64
%89 = getelementptr inbounds double, double* %86, i64 %88
%90 = load double, double* %89
%91 = fcmp olt double %90, 0.000000e+00
br i1 %91, label %92, label %108
92: ; preds = %85
%93 = call double @asin(double 1.000000e+00)
%94 = fmul double 2.000000e+00, %93
%95 = load double*, double** %18
%96 = load i32, i32* %35
%97 = sext i32 %96 to i64
%98 = getelementptr inbounds double, double* %95, i64 %97
%99 = load double, double* %98
%100 = load double, double* %20
%101 = fdiv double %99, %100
%102 = call double @acos(double %101)
%103 = fneg double %102
%104 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %94, double %103)
%105 = load i32, i32* %35
%106 = sext i32 %105 to i64
%107 = getelementptr inbounds [5 x double], [5 x double]* %43, i64 0, i64 %106
store double %104, double* %107
br label %120
108: ; preds = %85
%109 = load double*, double** %18
%110 = load i32, i32* %35
%111 = sext i32 %110 to i64
%112 = getelementptr inbounds double, double* %109, i64 %111
%113 = load double, double* %112
%114 = load double, double* %20
%115 = fdiv double %113, %114
%116 = call double @acos(double %115)
%117 = load i32, i32* %35
%118 = sext i32 %117 to i64
%119 = getelementptr inbounds [5 x double], [5 x double]* %43, i64 0, i64 %118
store double %116, double* %119
br label %120
120: ; preds = %108, %92
br label %121
121: ; preds = %120
%122 = load i32, i32* %35
%123 = add nsw i32 %122, 1
store i32 %123, i32* %35
br label %55
124: ; preds = %55
store i32 2, i32* %36
br label %125
125: ; preds = %206, %124
%126 = load i32, i32* %36
%127 = icmp sle i32 %126, 4
br i1 %127, label %128, label %209
128: ; preds = %125
%129 = load i32, i32* %36
%130 = sext i32 %129 to i64
%131 = getelementptr inbounds [5 x double], [5 x double]* %43, i64 0, i64 %130
%132 = load double, double* %131
store double %132, double* %47
%133 = load double*, double** %18
%134 = load i32, i32* %36
%135 = sext i32 %134 to i64
%136 = getelementptr inbounds double, double* %133, i64 %135
%137 = load double, double* %136
store double %137, double* %48
%138 = load double*, double** %19
%139 = load i32, i32* %36
%140 = sext i32 %139 to i64
%141 = getelementptr inbounds double, double* %138, i64 %140
%142 = load double, double* %141
store double %142, double* %49
%143 = load i32, i32* %36
%144 = sub nsw i32 %143, 1
store i32 %144, i32* %37
br label %145
145: ; preds = %185, %128
%146 = load i32, i32* %37
%147 = icmp sge i32 %146, 1
br i1 %147, label %148, label %188
148: ; preds = %145
%149 = load i32, i32* %37
%150 = sext i32 %149 to i64
%151 = getelementptr inbounds [5 x double], [5 x double]* %43, i64 0, i64 %150
%152 = load double, double* %151
%153 = load double, double* %47
%154 = fcmp ole double %152, %153
br i1 %154, label %155, label %156
155: ; preds = %148
br label %188
156: ; preds = %148
%157 = load i32, i32* %37
%158 = sext i32 %157 to i64
%159 = getelementptr inbounds [5 x double], [5 x double]* %43, i64 0, i64 %158
%160 = load double, double* %159
%161 = load i32, i32* %37
%162 = add nsw i32 %161, 1
%163 = sext i32 %162 to i64
%164 = getelementptr inbounds [5 x double], [5 x double]* %43, i64 0, i64 %163
store double %160, double* %164
%165 = load double*, double** %18
%166 = load i32, i32* %37
%167 = sext i32 %166 to i64
%168 = getelementptr inbounds double, double* %165, i64 %167
%169 = load double, double* %168
%170 = load double*, double** %18
%171 = load i32, i32* %37
%172 = add nsw i32 %171, 1
%173 = sext i32 %172 to i64
%174 = getelementptr inbounds double, double* %170, i64 %173
store double %169, double* %174
%175 = load double*, double** %19
%176 = load i32, i32* %37
%177 = sext i32 %176 to i64
%178 = getelementptr inbounds double, double* %175, i64 %177
%179 = load double, double* %178
%180 = load double*, double** %19
%181 = load i32, i32* %37
%182 = add nsw i32 %181, 1
%183 = sext i32 %182 to i64
%184 = getelementptr inbounds double, double* %180, i64 %183
store double %179, double* %184
br label %185
185: ; preds = %156
%186 = load i32, i32* %37
%187 = add nsw i32 %186, -1
store i32 %187, i32* %37
br label %145
188: ; preds = %155, %145
%189 = load double, double* %47
%190 = load i32, i32* %37
%191 = add nsw i32 %190, 1
%192 = sext i32 %191 to i64
%193 = getelementptr inbounds [5 x double], [5 x double]* %43, i64 0, i64 %192
store double %189, double* %193
%194 = load double, double* %48
%195 = load double*, double** %18
%196 = load i32, i32* %37
%197 = add nsw i32 %196, 1
%198 = sext i32 %197 to i64
%199 = getelementptr inbounds double, double* %195, i64 %198
store double %194, double* %199
%200 = load double, double* %49
%201 = load double*, double** %19
%202 = load i32, i32* %37
%203 = add nsw i32 %202, 1
%204 = sext i32 %203 to i64
%205 = getelementptr inbounds double, double* %201, i64 %204
store double %200, double* %205
br label %206
206: ; preds = %188
%207 = load i32, i32* %36
%208 = add nsw i32 %207, 1
store i32 %208, i32* %36
br label %125
209: ; preds = %125
%210 = load double*, double** %18
%211 = getelementptr inbounds double, double* %210, i64 3
%212 = load double, double* %211
%213 = load double*, double** %18
%214 = getelementptr inbounds double, double* %213, i64 1
%215 = load double, double* %214
%216 = fsub double %212, %215
%217 = load double*, double** %19
%218 = getelementptr inbounds double, double* %217, i64 4
%219 = load double, double* %218
%220 = load double*, double** %19
%221 = getelementptr inbounds double, double* %220, i64 2
%222 = load double, double* %221
%223 = fsub double %219, %222
%224 = load double*, double** %18
%225 = getelementptr inbounds double, double* %224, i64 4
%226 = load double, double* %225
%227 = load double*, double** %18
%228 = getelementptr inbounds double, double* %227, i64 2
%229 = load double, double* %228
%230 = fsub double %226, %229
%231 = load double*, double** %19
%232 = getelementptr inbounds double, double* %231, i64 3
%233 = load double, double* %232
%234 = load double*, double** %19
%235 = getelementptr inbounds double, double* %234, i64 1
%236 = load double, double* %235
%237 = fsub double %233, %236
%238 = fmul double %230, %237
%239 = fneg double %238
%240 = call double @llvm.fmuladd.f64(double %216, double %223, double %239)
%241 = call double @llvm.fabs.f64(double %240)
%242 = fmul double 5.000000e-01, %241
store double %242, double* %50
%243 = load double, double* %22
%244 = load double, double* %27
%245 = fsub double %243, %244
%246 = call double @cos(double %245)
store double %246, double* %45
%247 = load double, double* %22
%248 = load double, double* %27
%249 = fsub double %247, %248
%250 = call double @sin(double %249)
store double %250, double* %46
store i32 1, i32* %35
br label %251
251: ; preds = %354, %209
%252 = load i32, i32* %35
%253 = icmp sle i32 %252, 4
br i1 %253, label %254, label %357
254: ; preds = %251
%255 = load double*, double** %18
%256 = load i32, i32* %35
%257 = sext i32 %256 to i64
%258 = getelementptr inbounds double, double* %255, i64 %257
%259 = load double, double* %258
%260 = load double, double* %25
%261 = fsub double %259, %260
%262 = load double, double* %45
%263 = load double*, double** %19
%264 = load i32, i32* %35
%265 = sext i32 %264 to i64
%266 = getelementptr inbounds double, double* %263, i64 %265
%267 = load double, double* %266
%268 = load double, double* %26
%269 = fsub double %267, %268
%270 = load double, double* %46
%271 = fneg double %270
%272 = fmul double %269, %271
%273 = call double @llvm.fmuladd.f64(double %261, double %262, double %272)
%274 = load i32, i32* %35
%275 = sext i32 %274 to i64
%276 = getelementptr inbounds [5 x double], [5 x double]* %40, i64 0, i64 %275
store double %273, double* %276
%277 = load double*, double** %18
%278 = load i32, i32* %35
%279 = sext i32 %278 to i64
%280 = getelementptr inbounds double, double* %277, i64 %279
%281 = load double, double* %280
%282 = load double, double* %25
%283 = fsub double %281, %282
%284 = load double, double* %46
%285 = load double*, double** %19
%286 = load i32, i32* %35
%287 = sext i32 %286 to i64
%288 = getelementptr inbounds double, double* %285, i64 %287
%289 = load double, double* %288
%290 = load double, double* %26
%291 = fsub double %289, %290
%292 = load double, double* %45
%293 = fmul double %291, %292
%294 = call double @llvm.fmuladd.f64(double %283, double %284, double %293)
%295 = load i32, i32* %35
%296 = sext i32 %295 to i64
%297 = getelementptr inbounds [5 x double], [5 x double]* %41, i64 0, i64 %296
store double %294, double* %297
%298 = load i32, i32* %35
%299 = sext i32 %298 to i64
%300 = getelementptr inbounds [5 x double], [5 x double]* %40, i64 0, i64 %299
%301 = load double, double* %300
%302 = call double @llvm.fabs.f64(double %301)
%303 = load double, double* %23
%304 = fcmp ogt double %302, %303
br i1 %304, label %305, label %321
305: ; preds = %254
%306 = load i32, i32* %35
%307 = sext i32 %306 to i64
%308 = getelementptr inbounds [5 x double], [5 x double]* %40, i64 0, i64 %307
%309 = load double, double* %308
%310 = fcmp olt double %309, 0.000000e+00
br i1 %310, label %311, label %314
311: ; preds = %305
%312 = load double, double* %23
%313 = fneg double %312
br label %316
314: ; preds = %305
%315 = load double, double* %23
br label %316
316: ; preds = %314, %311
%317 = phi double [ %313, %311 ], [ %315, %314 ]
%318 = load i32, i32* %35
%319 = sext i32 %318 to i64
%320 = getelementptr inbounds [5 x double], [5 x double]* %40, i64 0, i64 %319
store double %317, double* %320
br label %321
321: ; preds = %316, %254
%322 = load i32, i32* %35
%323 = sext i32 %322 to i64
%324 = getelementptr inbounds [5 x double], [5 x double]* %41, i64 0, i64 %323
%325 = load double, double* %324
%326 = fcmp olt double %325, 0.000000e+00
br i1 %326, label %327, label %342
327: ; preds = %321
%328 = call double @asin(double 1.000000e+00)
%329 = fmul double 2.000000e+00, %328
%330 = load i32, i32* %35
%331 = sext i32 %330 to i64
%332 = getelementptr inbounds [5 x double], [5 x double]* %40, i64 0, i64 %331
%333 = load double, double* %332
%334 = load double, double* %23
%335 = fdiv double %333, %334
%336 = call double @acos(double %335)
%337 = fneg double %336
%338 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %329, double %337)
%339 = load i32, i32* %35
%340 = sext i32 %339 to i64
%341 = getelementptr inbounds [5 x double], [5 x double]* %44, i64 0, i64 %340
store double %338, double* %341
br label %353
342: ; preds = %321
%343 = load i32, i32* %35
%344 = sext i32 %343 to i64
%345 = getelementptr inbounds [5 x double], [5 x double]* %40, i64 0, i64 %344
%346 = load double, double* %345
%347 = load double, double* %23
%348 = fdiv double %346, %347
%349 = call double @acos(double %348)
%350 = load i32, i32* %35
%351 = sext i32 %350 to i64
%352 = getelementptr inbounds [5 x double], [5 x double]* %44, i64 0, i64 %351
store double %349, double* %352
br label %353
353: ; preds = %342, %327
br label %354
354: ; preds = %353
%355 = load i32, i32* %35
%356 = add nsw i32 %355, 1
store i32 %356, i32* %35
br label %251
357: ; preds = %251
%358 = load double, double* %20
%359 = getelementptr inbounds [5 x double], [5 x double]* %43, i64 0, i64 1
%360 = load double, double* %359
%361 = getelementptr inbounds [5 x double], [5 x double]* %43, i64 0, i64 2
%362 = load double, double* %361
%363 = fadd double %360, %362
%364 = fdiv double %363, 2.000000e+00
%365 = call double @cos(double %364)
%366 = fmul double %358, %365
store double %366, double* %38
%367 = load double, double* %21
%368 = getelementptr inbounds [5 x double], [5 x double]* %43, i64 0, i64 1
%369 = load double, double* %368
%370 = getelementptr inbounds [5 x double], [5 x double]* %43, i64 0, i64 2
%371 = load double, double* %370
%372 = fadd double %369, %371
%373 = fdiv double %372, 2.000000e+00
%374 = call double @sin(double %373)
%375 = fmul double %367, %374
store double %375, double* %39
%376 = load double, double* %38
%377 = load double, double* %39
%378 = load double, double* %28
%379 = load double, double* %29
%380 = load double, double* %30
%381 = load double, double* %31
%382 = load double, double* %32
%383 = load double, double* %33
%384 = call i32 (double, double, double, double, double, double, double, double, ...) bitcast (i32 (...)* @ellipse2tr to i32 (double, double, double, double, double, double, double, double, ...)*)(double %376, double %377, double %378, double %379, double %380, double %381, double %382, double %383)
%385 = sitofp i32 %384 to double
%386 = fcmp olt double %385, 0.000000e+00
br i1 %386, label %387, label %522
387: ; preds = %357
%388 = load double, double* %20
%389 = load double, double* %21
%390 = fmul double %388, %389
%391 = getelementptr inbounds [5 x double], [5 x double]* %43, i64 0, i64 2
%392 = load double, double* %391
%393 = getelementptr inbounds [5 x double], [5 x double]* %43, i64 0, i64 1
%394 = load double, double* %393
%395 = fsub double %392, %394
%396 = load double*, double** %18
%397 = getelementptr inbounds double, double* %396, i64 1
%398 = load double, double* %397
%399 = load double*, double** %19
%400 = getelementptr inbounds double, double* %399, i64 2
%401 = load double, double* %400
%402 = load double*, double** %18
%403 = getelementptr inbounds double, double* %402, i64 2
%404 = load double, double* %403
%405 = load double*, double** %19
%406 = getelementptr inbounds double, double* %405, i64 1
%407 = load double, double* %406
%408 = fmul double %404, %407
%409 = fneg double %408
%410 = call double @llvm.fmuladd.f64(double %398, double %401, double %409)
%411 = call double @llvm.fabs.f64(double %410)
%412 = fneg double %411
%413 = call double @llvm.fmuladd.f64(double %390, double %395, double %412)
%414 = fmul double 5.000000e-01, %413
store double %414, double* %51
%415 = load double, double* %20
%416 = load double, double* %21
%417 = fmul double %415, %416
%418 = getelementptr inbounds [5 x double], [5 x double]* %43, i64 0, i64 4
%419 = load double, double* %418
%420 = getelementptr inbounds [5 x double], [5 x double]* %43, i64 0, i64 3
%421 = load double, double* %420
%422 = fsub double %419, %421
%423 = load double*, double** %18
%424 = getelementptr inbounds double, double* %423, i64 3
%425 = load double, double* %424
%426 = load double*, double** %19
%427 = getelementptr inbounds double, double* %426, i64 4
%428 = load double, double* %427
%429 = load double*, double** %18
%430 = getelementptr inbounds double, double* %429, i64 4
%431 = load double, double* %430
%432 = load double*, double** %19
%433 = getelementptr inbounds double, double* %432, i64 3
%434 = load double, double* %433
%435 = fmul double %431, %434
%436 = fneg double %435
%437 = call double @llvm.fmuladd.f64(double %425, double %428, double %436)
%438 = call double @llvm.fabs.f64(double %437)
%439 = fneg double %438
%440 = call double @llvm.fmuladd.f64(double %417, double %422, double %439)
%441 = fmul double 5.000000e-01, %440
store double %441, double* %52
%442 = load double, double* %23
%443 = load double, double* %24
%444 = fmul double %442, %443
%445 = getelementptr inbounds [5 x double], [5 x double]* %44, i64 0, i64 3
%446 = load double, double* %445
%447 = getelementptr inbounds [5 x double], [5 x double]* %44, i64 0, i64 2
%448 = load double, double* %447
%449 = fsub double %446, %448
%450 = getelementptr inbounds [5 x double], [5 x double]* %40, i64 0, i64 2
%451 = load double, double* %450
%452 = getelementptr inbounds [5 x double], [5 x double]* %41, i64 0, i64 3
%453 = load double, double* %452
%454 = getelementptr inbounds [5 x double], [5 x double]* %40, i64 0, i64 3
%455 = load double, double* %454
%456 = getelementptr inbounds [5 x double], [5 x double]* %41, i64 0, i64 2
%457 = load double, double* %456
%458 = fmul double %455, %457
%459 = fneg double %458
%460 = call double @llvm.fmuladd.f64(double %451, double %453, double %459)
%461 = call double @llvm.fabs.f64(double %460)
%462 = fneg double %461
%463 = call double @llvm.fmuladd.f64(double %444, double %449, double %462)
%464 = fmul double 5.000000e-01, %463
store double %464, double* %53
%465 = getelementptr inbounds [5 x double], [5 x double]* %44, i64 0, i64 4
%466 = load double, double* %465
%467 = getelementptr inbounds [5 x double], [5 x double]* %44, i64 0, i64 1
%468 = load double, double* %467
%469 = fcmp ogt double %466, %468
br i1 %469, label %470, label %497
470: ; preds = %387
%471 = load double, double* %23
%472 = load double, double* %24
%473 = fmul double %471, %472
%474 = getelementptr inbounds [5 x double], [5 x double]* %44, i64 0, i64 1
%475 = load double, double* %474
%476 = getelementptr inbounds [5 x double], [5 x double]* %44, i64 0, i64 4
%477 = load double, double* %476
%478 = call double @asin(double 1.000000e+00)
%479 = fmul double 2.000000e+00, %478
%480 = call double @llvm.fmuladd.f64(double -2.000000e+00, double %479, double %477)
%481 = fsub double %475, %480
%482 = getelementptr inbounds [5 x double], [5 x double]* %40, i64 0, i64 4
%483 = load double, double* %482
%484 = getelementptr inbounds [5 x double], [5 x double]* %41, i64 0, i64 1
%485 = load double, double* %484
%486 = getelementptr inbounds [5 x double], [5 x double]* %40, i64 0, i64 1
%487 = load double, double* %486
%488 = getelementptr inbounds [5 x double], [5 x double]* %41, i64 0, i64 4
%489 = load double, double* %488
%490 = fmul double %487, %489
%491 = fneg double %490
%492 = call double @llvm.fmuladd.f64(double %483, double %485, double %491)
%493 = call double @llvm.fabs.f64(double %492)
%494 = fneg double %493
%495 = call double @llvm.fmuladd.f64(double %473, double %481, double %494)
%496 = fmul double 5.000000e-01, %495
store double %496, double* %54
br label %521
497: ; preds = %387
%498 = load double, double* %23
%499 = load double, double* %24
%500 = fmul double %498, %499
%501 = getelementptr inbounds [5 x double], [5 x double]* %44, i64 0, i64 1
%502 = load double, double* %501
%503 = getelementptr inbounds [5 x double], [5 x double]* %44, i64 0, i64 4
%504 = load double, double* %503
%505 = fsub double %502, %504
%506 = getelementptr inbounds [5 x double], [5 x double]* %40, i64 0, i64 4
%507 = load double, double* %506
%508 = getelementptr inbounds [5 x double], [5 x double]* %41, i64 0, i64 1
%509 = load double, double* %508
%510 = getelementptr inbounds [5 x double], [5 x double]* %40, i64 0, i64 1
%511 = load double, double* %510
%512 = getelementptr inbounds [5 x double], [5 x double]* %41, i64 0, i64 4
%513 = load double, double* %512
%514 = fmul double %511, %513
%515 = fneg double %514
%516 = call double @llvm.fmuladd.f64(double %507, double %509, double %515)
%517 = call double @llvm.fabs.f64(double %516)
%518 = fneg double %517
%519 = call double @llvm.fmuladd.f64(double %500, double %505, double %518)
%520 = fmul double 5.000000e-01, %519
store double %520, double* %54
br label %521
521: ; preds = %497, %470
br label %626
522: ; preds = %357
%523 = load double, double* %20
%524 = load double, double* %21
%525 = fmul double %523, %524
%526 = getelementptr inbounds [5 x double], [5 x double]* %43, i64 0, i64 3
%527 = load double, double* %526
%528 = getelementptr inbounds [5 x double], [5 x double]* %43, i64 0, i64 2
%529 = load double, double* %528
%530 = fsub double %527, %529
%531 = load double*, double** %18
%532 = getelementptr inbounds double, double* %531, i64 2
%533 = load double, double* %532
%534 = load double*, double** %19
%535 = getelementptr inbounds double, double* %534, i64 3
%536 = load double, double* %535
%537 = load double*, double** %18
%538 = getelementptr inbounds double, double* %537, i64 3
%539 = load double, double* %538
%540 = load double*, double** %19
%541 = getelementptr inbounds double, double* %540, i64 2
%542 = load double, double* %541
%543 = fmul double %539, %542
%544 = fneg double %543
%545 = call double @llvm.fmuladd.f64(double %533, double %536, double %544)
%546 = call double @llvm.fabs.f64(double %545)
%547 = fneg double %546
%548 = call double @llvm.fmuladd.f64(double %525, double %530, double %547)
%549 = fmul double 5.000000e-01, %548
store double %549, double* %51
%550 = load double, double* %20
%551 = load double, double* %21
%552 = fmul double %550, %551
%553 = getelementptr inbounds [5 x double], [5 x double]* %43, i64 0, i64 1
%554 = load double, double* %553
%555 = getelementptr inbounds [5 x double], [5 x double]* %43, i64 0, i64 4
%556 = load double, double* %555
%557 = call double @asin(double 1.000000e+00)
%558 = fmul double 2.000000e+00, %557
%559 = call double @llvm.fmuladd.f64(double -2.000000e+00, double %558, double %556)
%560 = fsub double %554, %559
%561 = load double*, double** %18
%562 = getelementptr inbounds double, double* %561, i64 4
%563 = load double, double* %562
%564 = load double*, double** %19
%565 = getelementptr inbounds double, double* %564, i64 1
%566 = load double, double* %565
%567 = load double*, double** %18
%568 = getelementptr inbounds double, double* %567, i64 1
%569 = load double, double* %568
%570 = load double*, double** %19
%571 = getelementptr inbounds double, double* %570, i64 4
%572 = load double, double* %571
%573 = fmul double %569, %572
%574 = fneg double %573
%575 = call double @llvm.fmuladd.f64(double %563, double %566, double %574)
%576 = call double @llvm.fabs.f64(double %575)
%577 = fneg double %576
%578 = call double @llvm.fmuladd.f64(double %552, double %560, double %577)
%579 = fmul double 5.000000e-01, %578
store double %579, double* %52
%580 = load double, double* %23
%581 = load double, double* %24
%582 = fmul double %580, %581
%583 = getelementptr inbounds [5 x double], [5 x double]* %44, i64 0, i64 2
%584 = load double, double* %583
%585 = getelementptr inbounds [5 x double], [5 x double]* %44, i64 0, i64 1
%586 = load double, double* %585
%587 = fsub double %584, %586
%588 = getelementptr inbounds [5 x double], [5 x double]* %40, i64 0, i64 1
%589 = load double, double* %588
%590 = getelementptr inbounds [5 x double], [5 x double]* %41, i64 0, i64 2
%591 = load double, double* %590
%592 = getelementptr inbounds [5 x double], [5 x double]* %40, i64 0, i64 2
%593 = load double, double* %592
%594 = getelementptr inbounds [5 x double], [5 x double]* %41, i64 0, i64 1
%595 = load double, double* %594
%596 = fmul double %593, %595
%597 = fneg double %596
%598 = call double @llvm.fmuladd.f64(double %589, double %591, double %597)
%599 = call double @llvm.fabs.f64(double %598)
%600 = fneg double %599
%601 = call double @llvm.fmuladd.f64(double %582, double %587, double %600)
%602 = fmul double 5.000000e-01, %601
store double %602, double* %53
%603 = load double, double* %23
%604 = load double, double* %24
%605 = fmul double %603, %604
%606 = getelementptr inbounds [5 x double], [5 x double]* %44, i64 0, i64 4
%607 = load double, double* %606
%608 = getelementptr inbounds [5 x double], [5 x double]* %44, i64 0, i64 3
%609 = load double, double* %608
%610 = fsub double %607, %609
%611 = getelementptr inbounds [5 x double], [5 x double]* %40, i64 0, i64 3
%612 = load double, double* %611
%613 = getelementptr inbounds [5 x double], [5 x double]* %41, i64 0, i64 4
%614 = load double, double* %613
%615 = getelementptr inbounds [5 x double], [5 x double]* %40, i64 0, i64 4
%616 = load double, double* %615
%617 = getelementptr inbounds [5 x double], [5 x double]* %41, i64 0, i64 3
%618 = load double, double* %617
%619 = fmul double %616, %618
%620 = fneg double %619
%621 = call double @llvm.fmuladd.f64(double %612, double %614, double %620)
%622 = call double @llvm.fabs.f64(double %621)
%623 = fneg double %622
%624 = call double @llvm.fmuladd.f64(double %605, double %610, double %623)
%625 = fmul double 5.000000e-01, %624
store double %625, double* %54
br label %626
626: ; preds = %522, %521
%627 = load double, double* %50
%628 = load double, double* %51
%629 = fadd double %627, %628
%630 = load double, double* %52
%631 = fadd double %629, %630
%632 = load double, double* %53
%633 = fadd double %631, %632
%634 = load double, double* %54
%635 = fadd double %633, %634
store double %635, double* %42
%636 = load i32*, i32** %34
store i32 109, i32* %636
%637 = load double, double* %42
ret double %637
}

LLVM IR (-O2):
define double @fourintpts(double* nocapture %0, double* nocapture %1, double %2, double %3, double %4, double %5, double %6, double %7, double %8, double %9, double %10, double %11, double %12, double %13, double %14, double %15, i32* nocapture writeonly %16) {
%18 = alloca [5 x double]
%19 = alloca [5 x double]
%20 = alloca [5 x double]
%21 = alloca [5 x double]
%22 = bitcast [5 x double]* %18 to i8*
%23 = bitcast [5 x double]* %19 to i8*
%24 = bitcast [5 x double]* %20 to i8*
%25 = bitcast [5 x double]* %21 to i8*
%26 = fneg double %2
%27 = getelementptr inbounds double, double* %0, i64 1
%28 = load double, double* %27
%29 = tail call double @llvm.fabs.f64(double %28)
%30 = fcmp ogt double %29, %2
br i1 %30, label %31, label %34
31: ; preds = %17
%32 = fcmp olt double %28, 0.000000e+00
%33 = select i1 %32, double %26, double %2
store double %33, double* %27
br label %34
34: ; preds = %31, %17
%35 = phi double [ %33, %31 ], [ %28, %17 ]
%36 = getelementptr inbounds double, double* %1, i64 1
%37 = load double, double* %36
%38 = fcmp olt double %37, 0.000000e+00
%39 = fdiv double %35, %2
%40 = tail call double @acos(double %39)
%41 = fsub double 0x401921FB54442D18, %40
%42 = select i1 %38, double %41, double %40
%43 = getelementptr inbounds [5 x double], [5 x double]* %20, i64 0, i64 1
store double %42, double* %43
%44 = getelementptr inbounds double, double* %0, i64 2
%45 = load double, double* %44
%46 = tail call double @llvm.fabs.f64(double %45)
%47 = fcmp ogt double %46, %2
br i1 %47, label %48, label %51
48: ; preds = %34
%49 = fcmp olt double %45, 0.000000e+00
%50 = select i1 %49, double %26, double %2
store double %50, double* %44
br label %51
51: ; preds = %48, %34
%52 = phi double [ %50, %48 ], [ %45, %34 ]
%53 = getelementptr inbounds double, double* %1, i64 2
%54 = load double, double* %53
%55 = fcmp olt double %54, 0.000000e+00
%56 = fdiv double %52, %2
%57 = tail call double @acos(double %56)
%58 = fsub double 0x401921FB54442D18, %57
%59 = select i1 %55, double %58, double %57
%60 = getelementptr inbounds [5 x double], [5 x double]* %20, i64 0, i64 2
store double %59, double* %60
%61 = getelementptr inbounds double, double* %0, i64 3
%62 = load double, double* %61
%63 = tail call double @llvm.fabs.f64(double %62)
%64 = fcmp ogt double %63, %2
br i1 %64, label %65, label %68
65: ; preds = %51
%66 = fcmp olt double %62, 0.000000e+00
%67 = select i1 %66, double %26, double %2
store double %67, double* %61
br label %68
68: ; preds = %65, %51
%69 = phi double [ %67, %65 ], [ %62, %51 ]
%70 = getelementptr inbounds double, double* %1, i64 3
%71 = load double, double* %70
%72 = fcmp olt double %71, 0.000000e+00
%73 = fdiv double %69, %2
%74 = tail call double @acos(double %73)
%75 = fsub double 0x401921FB54442D18, %74
%76 = select i1 %72, double %75, double %74
%77 = getelementptr inbounds [5 x double], [5 x double]* %20, i64 0, i64 3
store double %76, double* %77
%78 = getelementptr inbounds double, double* %0, i64 4
%79 = load double, double* %78
%80 = tail call double @llvm.fabs.f64(double %79)
%81 = fcmp ogt double %80, %2
br i1 %81, label %82, label %85
82: ; preds = %68
%83 = fcmp olt double %79, 0.000000e+00
%84 = select i1 %83, double %26, double %2
store double %84, double* %78
br label %85
85: ; preds = %82, %68
%86 = phi double [ %84, %82 ], [ %79, %68 ]
%87 = getelementptr inbounds double, double* %1, i64 4
%88 = load double, double* %87
%89 = fcmp olt double %88, 0.000000e+00
%90 = fdiv double %86, %2
%91 = tail call double @acos(double %90)
%92 = fsub double 0x401921FB54442D18, %91
%93 = select i1 %89, double %92, double %91
%94 = getelementptr inbounds [5 x double], [5 x double]* %20, i64 0, i64 4
store double %93, double* %94
%95 = load double, double* %44
%96 = load double, double* %53
%97 = fcmp ugt double %42, %59
br i1 %97, label %98, label %101
98: ; preds = %85
store double %42, double* %60
%99 = load double, double* %27
store double %99, double* %44
%100 = load double, double* %36
store double %100, double* %53
br label %101
101: ; preds = %98, %85
%102 = phi i64 [ 2, %85 ], [ 1, %98 ]
%103 = getelementptr inbounds [5 x double], [5 x double]* %20, i64 0, i64 %102
store double %59, double* %103
%104 = getelementptr inbounds double, double* %0, i64 %102
store double %95, double* %104
%105 = getelementptr inbounds double, double* %1, i64 %102
store double %96, double* %105
%106 = load double, double* %77
%107 = load double, double* %61
%108 = load double, double* %70
%109 = load double, double* %60
%110 = fcmp ugt double %109, %106
br i1 %110, label %111, label %119
111: ; preds = %101
store double %109, double* %77
%112 = load double, double* %44
store double %112, double* %61
%113 = load double, double* %53
store double %113, double* %70
%114 = load double, double* %43
%115 = fcmp ugt double %114, %106
br i1 %115, label %116, label %119
116: ; preds = %111
store double %114, double* %60
%117 = load double, double* %27
store double %117, double* %44
%118 = load double, double* %36
store double %118, double* %53
br label %119
119: ; preds = %116, %111, %101
%120 = phi i64 [ 3, %101 ], [ 2, %111 ], [ 1, %116 ]
%121 = getelementptr inbounds [5 x double], [5 x double]* %20, i64 0, i64 %120
store double %106, double* %121
%122 = getelementptr inbounds double, double* %0, i64 %120
store double %107, double* %122
%123 = getelementptr inbounds double, double* %1, i64 %120
store double %108, double* %123
%124 = load double, double* %78
%125 = load double, double* %87
%126 = load double, double* %77
%127 = fcmp ugt double %126, %93
br i1 %127, label %128, label %141
128: ; preds = %119
store double %126, double* %94
%129 = load double, double* %61
store double %129, double* %78
%130 = load double, double* %70
store double %130, double* %87
%131 = load double, double* %60
%132 = fcmp ugt double %131, %93
br i1 %132, label %133, label %141
133: ; preds = %128
store double %131, double* %77
%134 = load double, double* %44
store double %134, double* %61
%135 = load double, double* %53
store double %135, double* %70
%136 = load double, double* %43
%137 = fcmp ugt double %136, %93
br i1 %137, label %138, label %141
138: ; preds = %133
store double %136, double* %60
%139 = load double, double* %27
store double %139, double* %44
%140 = load double, double* %36
store double %140, double* %53
br label %141
141: ; preds = %138, %133, %128, %119
%142 = phi i64 [ 4, %119 ], [ 3, %128 ], [ 2, %133 ], [ 1, %138 ]
%143 = getelementptr inbounds [5 x double], [5 x double]* %20, i64 0, i64 %142
store double %93, double* %143
%144 = getelementptr inbounds double, double* %0, i64 %142
store double %124, double* %144
%145 = getelementptr inbounds double, double* %1, i64 %142
store double %125, double* %145
%146 = load double, double* %61
%147 = load double, double* %27
%148 = load double, double* %87
%149 = load double, double* %53
%150 = load double, double* %78
%151 = load double, double* %44
%152 = load double, double* %70
%153 = load double, double* %36
%154 = fsub double %4, %9
%155 = tail call double @cos(double %154)
%156 = tail call double @sin(double %154)
%157 = fneg double %156
%158 = fneg double %5
%159 = getelementptr inbounds double, double* %0, i64 1
%160 = load double, double* %159
%161 = fsub double %160, %7
%162 = getelementptr inbounds double, double* %1, i64 1
%163 = load double, double* %162
%164 = fsub double %163, %8
%165 = fmul double %164, %157
%166 = tail call double @llvm.fmuladd.f64(double %161, double %155, double %165)
%167 = getelementptr inbounds [5 x double], [5 x double]* %18, i64 0, i64 1
store double %166, double* %167
%168 = fmul double %155, %164
%169 = tail call double @llvm.fmuladd.f64(double %161, double %156, double %168)
%170 = getelementptr inbounds [5 x double], [5 x double]* %19, i64 0, i64 1
store double %169, double* %170
%171 = tail call double @llvm.fabs.f64(double %166)
%172 = fcmp ogt double %171, %5
br i1 %172, label %173, label %176
173: ; preds = %141
%174 = fcmp olt double %166, 0.000000e+00
%175 = select i1 %174, double %158, double %5
store double %175, double* %167
br label %176
176: ; preds = %173, %141
%177 = phi double [ %175, %173 ], [ %166, %141 ]
%178 = fcmp olt double %169, 0.000000e+00
%179 = fdiv double %177, %5
%180 = tail call double @acos(double %179)
%181 = fsub double 0x401921FB54442D18, %180
%182 = select i1 %178, double %181, double %180
%183 = getelementptr inbounds [5 x double], [5 x double]* %21, i64 0, i64 1
store double %182, double* %183
%184 = getelementptr inbounds double, double* %0, i64 2
%185 = load double, double* %184
%186 = fsub double %185, %7
%187 = getelementptr inbounds double, double* %1, i64 2
%188 = load double, double* %187
%189 = fsub double %188, %8
%190 = fmul double %189, %157
%191 = tail call double @llvm.fmuladd.f64(double %186, double %155, double %190)
%192 = getelementptr inbounds [5 x double], [5 x double]* %18, i64 0, i64 2
store double %191, double* %192
%193 = fmul double %155, %189
%194 = tail call double @llvm.fmuladd.f64(double %186, double %156, double %193)
%195 = getelementptr inbounds [5 x double], [5 x double]* %19, i64 0, i64 2
store double %194, double* %195
%196 = tail call double @llvm.fabs.f64(double %191)
%197 = fcmp ogt double %196, %5
br i1 %197, label %198, label %201
198: ; preds = %176
%199 = fcmp olt double %191, 0.000000e+00
%200 = select i1 %199, double %158, double %5
store double %200, double* %192
br label %201
201: ; preds = %198, %176
%202 = phi double [ %200, %198 ], [ %191, %176 ]
%203 = fcmp olt double %194, 0.000000e+00
%204 = fdiv double %202, %5
%205 = tail call double @acos(double %204)
%206 = fsub double 0x401921FB54442D18, %205
%207 = select i1 %203, double %206, double %205
%208 = getelementptr inbounds [5 x double], [5 x double]* %21, i64 0, i64 2
store double %207, double* %208
%209 = getelementptr inbounds double, double* %0, i64 3
%210 = load double, double* %209
%211 = fsub double %210, %7
%212 = getelementptr inbounds double, double* %1, i64 3
%213 = load double, double* %212
%214 = fsub double %213, %8
%215 = fmul double %214, %157
%216 = tail call double @llvm.fmuladd.f64(double %211, double %155, double %215)
%217 = getelementptr inbounds [5 x double], [5 x double]* %18, i64 0, i64 3
store double %216, double* %217
%218 = fmul double %155, %214
%219 = tail call double @llvm.fmuladd.f64(double %211, double %156, double %218)
%220 = getelementptr inbounds [5 x double], [5 x double]* %19, i64 0, i64 3
store double %219, double* %220
%221 = tail call double @llvm.fabs.f64(double %216)
%222 = fcmp ogt double %221, %5
br i1 %222, label %223, label %226
223: ; preds = %201
%224 = fcmp olt double %216, 0.000000e+00
%225 = select i1 %224, double %158, double %5
store double %225, double* %217
br label %226
226: ; preds = %223, %201
%227 = phi double [ %225, %223 ], [ %216, %201 ]
%228 = fcmp olt double %219, 0.000000e+00
%229 = fdiv double %227, %5
%230 = tail call double @acos(double %229)
%231 = fsub double 0x401921FB54442D18, %230
%232 = select i1 %228, double %231, double %230
%233 = getelementptr inbounds [5 x double], [5 x double]* %21, i64 0, i64 3
store double %232, double* %233
%234 = getelementptr inbounds double, double* %0, i64 4
%235 = load double, double* %234
%236 = fsub double %235, %7
%237 = getelementptr inbounds double, double* %1, i64 4
%238 = load double, double* %237
%239 = fsub double %238, %8
%240 = fmul double %239, %157
%241 = tail call double @llvm.fmuladd.f64(double %236, double %155, double %240)
%242 = getelementptr inbounds [5 x double], [5 x double]* %18, i64 0, i64 4
store double %241, double* %242
%243 = fmul double %155, %239
%244 = tail call double @llvm.fmuladd.f64(double %236, double %156, double %243)
%245 = getelementptr inbounds [5 x double], [5 x double]* %19, i64 0, i64 4
store double %244, double* %245
%246 = tail call double @llvm.fabs.f64(double %241)
%247 = fcmp ogt double %246, %5
br i1 %247, label %248, label %251
248: ; preds = %226
%249 = fcmp olt double %241, 0.000000e+00
%250 = select i1 %249, double %158, double %5
store double %250, double* %242
br label %251
251: ; preds = %248, %226
%252 = phi double [ %250, %248 ], [ %241, %226 ]
%253 = fcmp olt double %244, 0.000000e+00
%254 = fdiv double %252, %5
%255 = tail call double @acos(double %254)
%256 = fsub double 0x401921FB54442D18, %255
%257 = select i1 %253, double %256, double %255
%258 = getelementptr inbounds [5 x double], [5 x double]* %21, i64 0, i64 4
store double %257, double* %258
%259 = load double, double* %43
%260 = load double, double* %60
%261 = fadd double %259, %260
%262 = fmul double %261, 5.000000e-01
%263 = tail call double @cos(double %262)
%264 = fmul double %263, %2
%265 = tail call double @sin(double %262)
%266 = fmul double %265, %3
%267 = tail call i32 (double, double, double, double, double, double, double, double, ...) bitcast (i32 (...)* @ellipse2tr to i32 (double, double, double, double, double, double, double, double, ...)*)(double %264, double %266, double %10, double %11, double %12, double %13, double %14, double %15)
%268 = icmp slt i32 %267, 0
%269 = fmul double %2, %3
br i1 %268, label %270, label %364
270: ; preds = %251
%271 = load double, double* %27
%272 = load double, double* %53
%273 = load double, double* %44
%274 = load double, double* %36
%275 = load double, double* %94
%276 = load double, double* %77
%277 = insertelement <2 x double> poison, double %260, i64 0
%278 = insertelement <2 x double> %277, double %275, i64 1
%279 = insertelement <2 x double> poison, double %259, i64 0
%280 = insertelement <2 x double> %279, double %276, i64 1
%281 = fsub <2 x double> %278, %280
%282 = load double, double* %61
%283 = load double, double* %87
%284 = load double, double* %78
%285 = load double, double* %70
%286 = insertelement <2 x double> poison, double %273, i64 0
%287 = insertelement <2 x double> %286, double %284, i64 1
%288 = fneg <2 x double> %287
%289 = insertelement <2 x double> poison, double %274, i64 0
%290 = insertelement <2 x double> %289, double %285, i64 1
%291 = fmul <2 x double> %290, %288
%292 = insertelement <2 x double> poison, double %271, i64 0
%293 = insertelement <2 x double> %292, double %282, i64 1
%294 = insertelement <2 x double> poison, double %272, i64 0
%295 = insertelement <2 x double> %294, double %283, i64 1
%296 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %293, <2 x double> %295, <2 x double> %291)
%297 = call <2 x double> @llvm.fabs.v2f64(<2 x double> %296)
%298 = fneg <2 x double> %297
%299 = insertelement <2 x double> poison, double %269, i64 0
%300 = shufflevector <2 x double> %299, <2 x double> poison, <2 x i32> zeroinitializer
%301 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %300, <2 x double> %281, <2 x double> %298)
%302 = fmul double %5, %6
%303 = getelementptr inbounds [5 x double], [5 x double]* %21, i64 0, i64 3
%304 = load double, double* %303
%305 = getelementptr inbounds [5 x double], [5 x double]* %21, i64 0, i64 2
%306 = load double, double* %305
%307 = fsub double %304, %306
%308 = getelementptr inbounds [5 x double], [5 x double]* %18, i64 0, i64 2
%309 = load double, double* %308
%310 = getelementptr inbounds [5 x double], [5 x double]* %19, i64 0, i64 3
%311 = load double, double* %310
%312 = getelementptr inbounds [5 x double], [5 x double]* %18, i64 0, i64 3
%313 = load double, double* %312
%314 = getelementptr inbounds [5 x double], [5 x double]* %19, i64 0, i64 2
%315 = load double, double* %314
%316 = fneg double %313
%317 = fmul double %315, %316
%318 = tail call double @llvm.fmuladd.f64(double %309, double %311, double %317)
%319 = tail call double @llvm.fabs.f64(double %318)
%320 = fneg double %319
%321 = tail call double @llvm.fmuladd.f64(double %302, double %307, double %320)
%322 = getelementptr inbounds [5 x double], [5 x double]* %21, i64 0, i64 4
%323 = load double, double* %322
%324 = getelementptr inbounds [5 x double], [5 x double]* %21, i64 0, i64 1
%325 = load double, double* %324
%326 = fcmp ogt double %323, %325
br i1 %326, label %327, label %346
327: ; preds = %270
%328 = fadd double %323, 0xC01921FB54442D18
%329 = fsub double %325, %328
%330 = getelementptr inbounds [5 x double], [5 x double]* %18, i64 0, i64 4
%331 = load double, double* %330
%332 = getelementptr inbounds [5 x double], [5 x double]* %19, i64 0, i64 1
%333 = load double, double* %332
%334 = getelementptr inbounds [5 x double], [5 x double]* %18, i64 0, i64 1
%335 = load double, double* %334
%336 = getelementptr inbounds [5 x double], [5 x double]* %19, i64 0, i64 4
%337 = load double, double* %336
%338 = fneg double %335
%339 = fmul double %337, %338
%340 = tail call double @llvm.fmuladd.f64(double %331, double %333, double %339)
%341 = tail call double @llvm.fabs.f64(double %340)
%342 = fneg double %341
%343 = tail call double @llvm.fmuladd.f64(double %302, double %329, double %342)
%344 = insertelement <2 x double> poison, double %321, i64 0
%345 = insertelement <2 x double> %344, double %343, i64 1
br label %443
346: ; preds = %270
%347 = fsub double %325, %323
%348 = getelementptr inbounds [5 x double], [5 x double]* %18, i64 0, i64 4
%349 = load double, double* %348
%350 = getelementptr inbounds [5 x double], [5 x double]* %19, i64 0, i64 1
%351 = load double, double* %350
%352 = getelementptr inbounds [5 x double], [5 x double]* %18, i64 0, i64 1
%353 = load double, double* %352
%354 = getelementptr inbounds [5 x double], [5 x double]* %19, i64 0, i64 4
%355 = load double, double* %354
%356 = fneg double %353
%357 = fmul double %355, %356
%358 = tail call double @llvm.fmuladd.f64(double %349, double %351, double %357)
%359 = tail call double @llvm.fabs.f64(double %358)
%360 = fneg double %359
%361 = tail call double @llvm.fmuladd.f64(double %302, double %347, double %360)
%362 = insertelement <2 x double> poison, double %321, i64 0
%363 = insertelement <2 x double> %362, double %361, i64 1
br label %443
364: ; preds = %251
%365 = bitcast double* %77 to <2 x double>*
%366 = load <2 x double>, <2 x double>* %365
%367 = load double, double* %44
%368 = load double, double* %70
%369 = load double, double* %61
%370 = load double, double* %53
%371 = load double, double* %94
%372 = fadd double %371, 0xC01921FB54442D18
%373 = insertelement <2 x double> %366, double %259, i64 1
%374 = insertelement <2 x double> poison, double %260, i64 0
%375 = insertelement <2 x double> %374, double %372, i64 1
%376 = fsub <2 x double> %373, %375
%377 = load double, double* %78
%378 = load double, double* %36
%379 = load double, double* %27
%380 = load double, double* %87
%381 = insertelement <2 x double> poison, double %369, i64 0
%382 = insertelement <2 x double> %381, double %379, i64 1
%383 = fneg <2 x double> %382
%384 = insertelement <2 x double> poison, double %370, i64 0
%385 = insertelement <2 x double> %384, double %380, i64 1
%386 = fmul <2 x double> %385, %383
%387 = insertelement <2 x double> poison, double %367, i64 0
%388 = insertelement <2 x double> %387, double %377, i64 1
%389 = insertelement <2 x double> poison, double %368, i64 0
%390 = insertelement <2 x double> %389, double %378, i64 1
%391 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %388, <2 x double> %390, <2 x double> %386)
%392 = call <2 x double> @llvm.fabs.v2f64(<2 x double> %391)
%393 = fneg <2 x double> %392
%394 = insertelement <2 x double> poison, double %269, i64 0
%395 = shufflevector <2 x double> %394, <2 x double> poison, <2 x i32> zeroinitializer
%396 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %395, <2 x double> %376, <2 x double> %393)
%397 = fmul double %5, %6
%398 = getelementptr inbounds [5 x double], [5 x double]* %21, i64 0, i64 2
%399 = bitcast double* %398 to <2 x double>*
%400 = load <2 x double>, <2 x double>* %399
%401 = getelementptr inbounds [5 x double], [5 x double]* %21, i64 0, i64 1
%402 = bitcast double* %401 to <2 x double>*
%403 = load <2 x double>, <2 x double>* %402
%404 = getelementptr inbounds [5 x double], [5 x double]* %18, i64 0, i64 1
%405 = bitcast double* %404 to <2 x double>*
%406 = load <2 x double>, <2 x double>* %405
%407 = getelementptr inbounds [5 x double], [5 x double]* %19, i64 0, i64 2
%408 = bitcast double* %407 to <2 x double>*
%409 = load <2 x double>, <2 x double>* %408
%410 = getelementptr inbounds [5 x double], [5 x double]* %18, i64 0, i64 2
%411 = bitcast double* %410 to <2 x double>*
%412 = load <2 x double>, <2 x double>* %411
%413 = getelementptr inbounds [5 x double], [5 x double]* %19, i64 0, i64 1
%414 = bitcast double* %413 to <2 x double>*
%415 = load <2 x double>, <2 x double>* %414
%416 = getelementptr inbounds [5 x double], [5 x double]* %21, i64 0, i64 4
%417 = load double, double* %416
%418 = getelementptr inbounds [5 x double], [5 x double]* %21, i64 0, i64 3
%419 = load double, double* %418
%420 = insertelement <2 x double> %400, double %417, i64 1
%421 = insertelement <2 x double> %403, double %419, i64 1
%422 = fsub <2 x double> %420, %421
%423 = getelementptr inbounds [5 x double], [5 x double]* %18, i64 0, i64 3
%424 = load double, double* %423
%425 = getelementptr inbounds [5 x double], [5 x double]* %19, i64 0, i64 4
%426 = load double, double* %425
%427 = getelementptr inbounds [5 x double], [5 x double]* %18, i64 0, i64 4
%428 = load double, double* %427
%429 = getelementptr inbounds [5 x double], [5 x double]* %19, i64 0, i64 3
%430 = load double, double* %429
%431 = insertelement <2 x double> %412, double %428, i64 1
%432 = fneg <2 x double> %431
%433 = insertelement <2 x double> %415, double %430, i64 1
%434 = fmul <2 x double> %433, %432
%435 = insertelement <2 x double> %406, double %424, i64 1
%436 = insertelement <2 x double> %409, double %426, i64 1
%437 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %435, <2 x double> %436, <2 x double> %434)
%438 = call <2 x double> @llvm.fabs.v2f64(<2 x double> %437)
%439 = fneg <2 x double> %438
%440 = insertelement <2 x double> poison, double %397, i64 0
%441 = shufflevector <2 x double> %440, <2 x double> poison, <2 x i32> zeroinitializer
%442 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %441, <2 x double> %422, <2 x double> %439)
br label %443
443: ; preds = %327, %346, %364
%444 = phi <2 x double> [ %301, %327 ], [ %301, %346 ], [ %396, %364 ]
%445 = phi <2 x double> [ %345, %327 ], [ %363, %346 ], [ %442, %364 ]
%446 = fmul <2 x double> %445, <double 5.000000e-01, double 5.000000e-01>
%447 = fmul <2 x double> %444, <double 5.000000e-01, double 5.000000e-01>
%448 = fsub double %146, %147
%449 = fsub double %148, %149
%450 = fsub double %152, %153
%451 = fsub double %150, %151
%452 = fneg double %451
%453 = fmul double %450, %452
%454 = tail call double @llvm.fmuladd.f64(double %448, double %449, double %453)
%455 = tail call double @llvm.fabs.f64(double %454)
%456 = fmul double %455, 5.000000e-01
%457 = extractelement <2 x double> %447, i64 0
%458 = fadd double %456, %457
%459 = extractelement <2 x double> %447, i64 1
%460 = fadd double %458, %459
%461 = extractelement <2 x double> %446, i64 0
%462 = fadd double %460, %461
%463 = extractelement <2 x double> %446, i64 1
%464 = fadd double %462, %463
store i32 109, i32* %16
ret double %464
}