void CalcQuarticCoeffs(const double **coords1, const double **coords2,
                       const int len, double *coeff) {
  double Sxx, Sxy, Sxz, Syx, Syy, Syz, Szx, Szy, Szz;
  double Szz2, Syy2, Sxx2, Sxy2, Syz2, Sxz2, Syx2, Szy2, Szx2, SyzSzymSyySzz2,
      Sxx2Syy2Szz2Syz2Szy2, Sxy2Sxz2Syx2Szx2, SxzpSzx, SyzpSzy, SxypSyx,
      SyzmSzy, SxzmSzx, SxymSyx, SxxpSyy, SxxmSyy;
  double x1, x2, y1, y2, z1, z2;
  const double *fx1 = coords1[0], *fy1 = coords1[1], *fz1 = coords1[2],
               *fx2 = coords2[0], *fy2 = coords2[1], *fz2 = coords2[2];
  int i;
  Sxx = Sxy = Sxz = Syx = Syy = Syz = Szx = Szy = Szz = 0.0;
  for (i = 0; i < len; ++i) {
    x1 = fx1[i];
    y1 = fy1[i];
    z1 = fz1[i];
    x2 = fx2[i];
    y2 = fy2[i];
    z2 = fz2[i];
    Sxx += (x1 * x2);
    Sxy += (x1 * y2);
    Sxz += (x1 * z2);
    Syx += (y1 * x2);
    Syy += (y1 * y2);
    Syz += (y1 * z2);
    Szx += (z1 * x2);
    Szy += (z1 * y2);
    Szz += (z1 * z2);
  }
  Sxx2 = Sxx * Sxx;
  Syy2 = Syy * Syy;
  Szz2 = Szz * Szz;
  Sxy2 = Sxy * Sxy;
  Syz2 = Syz * Syz;
  Sxz2 = Sxz * Sxz;
  Syx2 = Syx * Syx;
  Szy2 = Szy * Szy;
  Szx2 = Szx * Szx;
  SyzSzymSyySzz2 = 2.0 * (Syz * Szy - Syy * Szz);
  Sxx2Syy2Szz2Syz2Szy2 = Syy2 + Szz2 - Sxx2 + Syz2 + Szy2;
  coeff[2] =
      -2.0 * (Sxx2 + Syy2 + Szz2 + Sxy2 + Syx2 + Sxz2 + Szx2 + Syz2 + Szy2);
  coeff[1] = 8.0 * (Sxx * Syz * Szy + Syy * Szx * Sxz + Szz * Sxy * Syx -
                    Sxx * Syy * Szz - Syz * Szx * Sxy - Szy * Syx * Sxz);
  SxzpSzx = Sxz + Szx;
  SyzpSzy = Syz + Szy;
  SxypSyx = Sxy + Syx;
  SyzmSzy = Syz - Szy;
  SxzmSzx = Sxz - Szx;
  SxymSyx = Sxy - Syx;
  SxxpSyy = Sxx + Syy;
  SxxmSyy = Sxx - Syy;
  Sxy2Sxz2Syx2Szx2 = Sxy2 + Sxz2 - Syx2 - Szx2;
  coeff[0] = Sxy2Sxz2Syx2Szx2 * Sxy2Sxz2Syx2Szx2 +
             (Sxx2Syy2Szz2Syz2Szy2 + SyzSzymSyySzz2) *
                 (Sxx2Syy2Szz2Syz2Szy2 - SyzSzymSyySzz2) +
             (-(SxzpSzx) * (SyzmSzy) + (SxymSyx) * (SxxmSyy - Szz)) *
                 (-(SxzmSzx) * (SyzpSzy) + (SxymSyx) * (SxxmSyy + Szz)) +
             (-(SxzpSzx) * (SyzpSzy) - (SxypSyx) * (SxxpSyy - Szz)) *
                 (-(SxzmSzx) * (SyzmSzy) - (SxypSyx) * (SxxpSyy + Szz)) +
             (+(SxypSyx) * (SyzpSzy) + (SxzpSzx) * (SxxmSyy + Szz)) *
                 (-(SxymSyx) * (SyzmSzy) + (SxzpSzx) * (SxxpSyy + Szz)) +
             (+(SxypSyx) * (SyzmSzy) + (SxzmSzx) * (SxxmSyy - Szz)) *
                 (-(SxymSyx) * (SyzpSzy) + (SxzmSzx) * (SxxpSyy - Szz));
}


x86 assembly (clang, -O0):
<CalcQuarticCoeffs>:
push   %rbp
mov    %rsp,%rbp
sub    $0xf0,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %edx,-0x14(%rbp)
mov    %rcx,-0x20(%rbp)
mov    -0x8(%rbp),%rax
mov    (%rax),%rax
mov    %rax,-0x140(%rbp)
mov    -0x8(%rbp),%rax
mov    0x8(%rax),%rax
mov    %rax,-0x148(%rbp)
mov    -0x8(%rbp),%rax
mov    0x10(%rax),%rax
mov    %rax,-0x150(%rbp)
mov    -0x10(%rbp),%rax
mov    (%rax),%rax
mov    %rax,-0x158(%rbp)
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rax
mov    %rax,-0x160(%rbp)
mov    -0x10(%rbp),%rax
mov    0x10(%rax),%rax
mov    %rax,-0x168(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x68(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x60(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x58(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x50(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x48(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x40(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x38(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x30(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x28(%rbp)
movl   $0x0,-0x16c(%rbp)
mov    -0x16c(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    13bb <CalcQuarticCoeffs+0x2bb>
mov    -0x140(%rbp),%rax
movslq -0x16c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x110(%rbp)
ff
mov    -0x148(%rbp),%rax
movslq -0x16c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x120(%rbp)
ff
mov    -0x150(%rbp),%rax
movslq -0x16c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x130(%rbp)
ff
mov    -0x158(%rbp),%rax
movslq -0x16c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x118(%rbp)
ff
mov    -0x160(%rbp),%rax
movslq -0x16c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x128(%rbp)
ff
mov    -0x168(%rbp),%rax
movslq -0x16c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x138(%rbp)
ff
movsd  -0x110(%rbp),%xmm0
ff
movsd  -0x118(%rbp),%xmm2
ff
movsd  -0x28(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x28(%rbp)
movsd  -0x110(%rbp),%xmm0
ff
movsd  -0x128(%rbp),%xmm2
ff
movsd  -0x30(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  -0x110(%rbp),%xmm0
ff
movsd  -0x138(%rbp),%xmm2
ff
movsd  -0x38(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x38(%rbp)
movsd  -0x120(%rbp),%xmm0
ff
movsd  -0x118(%rbp),%xmm2
ff
movsd  -0x40(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x40(%rbp)
movsd  -0x120(%rbp),%xmm0
ff
movsd  -0x128(%rbp),%xmm2
ff
movsd  -0x48(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  -0x120(%rbp),%xmm0
ff
movsd  -0x138(%rbp),%xmm2
ff
movsd  -0x50(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x50(%rbp)
movsd  -0x130(%rbp),%xmm0
ff
movsd  -0x118(%rbp),%xmm2
ff
movsd  -0x58(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  -0x130(%rbp),%xmm0
ff
movsd  -0x128(%rbp),%xmm2
ff
movsd  -0x60(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  -0x130(%rbp),%xmm0
ff
movsd  -0x138(%rbp),%xmm2
ff
movsd  -0x68(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
mov    -0x16c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x16c(%rbp)
jmp    11c4 <CalcQuarticCoeffs+0xc4>
movsd  -0x28(%rbp),%xmm0
mulsd  -0x28(%rbp),%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x48(%rbp),%xmm0
mulsd  -0x48(%rbp),%xmm0
movsd  %xmm0,-0x78(%rbp)
movsd  -0x68(%rbp),%xmm0
mulsd  -0x68(%rbp),%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x30(%rbp),%xmm0
mulsd  -0x30(%rbp),%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
movsd  -0x50(%rbp),%xmm0
mulsd  -0x50(%rbp),%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
movsd  -0x38(%rbp),%xmm0
mulsd  -0x38(%rbp),%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
movsd  -0x40(%rbp),%xmm0
mulsd  -0x40(%rbp),%xmm0
movsd  %xmm0,-0xa0(%rbp)
ff
movsd  -0x60(%rbp),%xmm0
mulsd  -0x60(%rbp),%xmm0
movsd  %xmm0,-0xa8(%rbp)
ff
movsd  -0x58(%rbp),%xmm0
mulsd  -0x58(%rbp),%xmm0
movsd  %xmm0,-0xb0(%rbp)
ff
movsd  -0x50(%rbp),%xmm1
movsd  -0x60(%rbp),%xmm2
movsd  -0x48(%rbp),%xmm0
mulsd  -0x68(%rbp),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  0xb81(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0xb8(%rbp)
ff
movsd  -0x78(%rbp),%xmm0
addsd  -0x70(%rbp),%xmm0
subsd  -0x80(%rbp),%xmm0
addsd  -0x90(%rbp),%xmm0
ff
addsd  -0xa8(%rbp),%xmm0
ff
movsd  %xmm0,-0xc0(%rbp)
ff
movsd  -0x80(%rbp),%xmm1
addsd  -0x78(%rbp),%xmm1
addsd  -0x70(%rbp),%xmm1
addsd  -0x88(%rbp),%xmm1
ff
addsd  -0xa0(%rbp),%xmm1
ff
addsd  -0x98(%rbp),%xmm1
ff
addsd  -0xb0(%rbp),%xmm1
ff
addsd  -0x90(%rbp),%xmm1
ff
addsd  -0xa8(%rbp),%xmm1
movsd  0xaff(%rip),%xmm0
mulsd  %xmm1,%xmm0
mov    -0x20(%rbp),%rax
movsd  %xmm0,0x10(%rax)
movsd  -0x28(%rbp),%xmm1
mulsd  -0x50(%rbp),%xmm1
movsd  -0x60(%rbp),%xmm2
movsd  -0x48(%rbp),%xmm0
mulsd  -0x58(%rbp),%xmm0
mulsd  -0x38(%rbp),%xmm0
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  -0x68(%rbp),%xmm0
mulsd  -0x30(%rbp),%xmm0
movsd  -0x40(%rbp),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  -0x28(%rbp),%xmm1
mulsd  -0x48(%rbp),%xmm1
movsd  -0x68(%rbp),%xmm2
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  -0x50(%rbp),%xmm0
mulsd  -0x58(%rbp),%xmm0
movsd  -0x30(%rbp),%xmm2
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  -0x60(%rbp),%xmm1
mulsd  -0x40(%rbp),%xmm1
movsd  -0x38(%rbp),%xmm2
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  0xa1b(%rip),%xmm0
mulsd  %xmm1,%xmm0
mov    -0x20(%rbp),%rax
movsd  %xmm0,0x8(%rax)
movsd  -0x38(%rbp),%xmm0
addsd  -0x58(%rbp),%xmm0
movsd  %xmm0,-0xd0(%rbp)
ff
movsd  -0x50(%rbp),%xmm0
addsd  -0x60(%rbp),%xmm0
movsd  %xmm0,-0xd8(%rbp)
ff
movsd  -0x30(%rbp),%xmm0
addsd  -0x40(%rbp),%xmm0
movsd  %xmm0,-0xe0(%rbp)
ff
movsd  -0x50(%rbp),%xmm0
subsd  -0x60(%rbp),%xmm0
movsd  %xmm0,-0xe8(%rbp)
ff
movsd  -0x38(%rbp),%xmm0
subsd  -0x58(%rbp),%xmm0
movsd  %xmm0,-0xf0(%rbp)
ff
movsd  -0x30(%rbp),%xmm0
subsd  -0x40(%rbp),%xmm0
movsd  %xmm0,-0xf8(%rbp)
ff
movsd  -0x28(%rbp),%xmm0
addsd  -0x48(%rbp),%xmm0
movsd  %xmm0,-0x100(%rbp)
ff
movsd  -0x28(%rbp),%xmm0
subsd  -0x48(%rbp),%xmm0
movsd  %xmm0,-0x108(%rbp)
ff
movsd  -0x88(%rbp),%xmm0
ff
addsd  -0x98(%rbp),%xmm0
ff
subsd  -0xa0(%rbp),%xmm0
ff
subsd  -0xb0(%rbp),%xmm0
ff
movsd  %xmm0,-0xc8(%rbp)
ff
movsd  -0xc8(%rbp),%xmm0
ff
movsd  -0xc8(%rbp),%xmm2
ff
movsd  -0xc0(%rbp),%xmm1
ff
addsd  -0xb8(%rbp),%xmm1
ff
movsd  -0xc0(%rbp),%xmm3
ff
subsd  -0xb8(%rbp),%xmm3
ff
mulsd  %xmm3,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  -0xd0(%rbp),%xmm1
ff
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
movsd  -0xe8(%rbp),%xmm3
ff
movsd  -0xf8(%rbp),%xmm2
ff
movsd  -0x108(%rbp),%xmm4
ff
subsd  -0x68(%rbp),%xmm4
mulsd  %xmm4,%xmm2
mulsd  %xmm3,%xmm1
addsd  %xmm2,%xmm1
movsd  -0xf0(%rbp),%xmm2
ff
movq   %xmm2,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm2
movsd  -0xd8(%rbp),%xmm4
ff
movsd  -0xf8(%rbp),%xmm3
ff
movsd  -0x108(%rbp),%xmm5
ff
addsd  -0x68(%rbp),%xmm5
mulsd  %xmm5,%xmm3
mulsd  %xmm4,%xmm2
addsd  %xmm3,%xmm2
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  -0xd0(%rbp),%xmm0
ff
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
movsd  -0xd8(%rbp),%xmm3
ff
movsd  -0xe0(%rbp),%xmm2
ff
movsd  -0x100(%rbp),%xmm4
ff
subsd  -0x68(%rbp),%xmm4
mulsd  %xmm4,%xmm2
movq   %xmm2,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm2
mulsd  %xmm3,%xmm0
addsd  %xmm2,%xmm0
movsd  -0xf0(%rbp),%xmm2
ff
movq   %xmm2,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm2
movsd  -0xe8(%rbp),%xmm4
ff
movsd  -0xe0(%rbp),%xmm3
ff
movsd  -0x100(%rbp),%xmm5
ff
addsd  -0x68(%rbp),%xmm5
mulsd  %xmm5,%xmm3
movq   %xmm3,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm3
mulsd  %xmm4,%xmm2
addsd  %xmm3,%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  -0xe0(%rbp),%xmm1
ff
movsd  -0xd8(%rbp),%xmm3
ff
movsd  -0xd0(%rbp),%xmm2
ff
movsd  -0x108(%rbp),%xmm4
ff
addsd  -0x68(%rbp),%xmm4
mulsd  %xmm4,%xmm2
mulsd  %xmm3,%xmm1
addsd  %xmm2,%xmm1
movsd  -0xf8(%rbp),%xmm2
ff
movq   %xmm2,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm2
movsd  -0xe8(%rbp),%xmm4
ff
movsd  -0xd0(%rbp),%xmm3
ff
movsd  -0x100(%rbp),%xmm5
ff
addsd  -0x68(%rbp),%xmm5
mulsd  %xmm5,%xmm3
mulsd  %xmm4,%xmm2
addsd  %xmm3,%xmm2
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  -0xe0(%rbp),%xmm0
ff
movsd  -0xe8(%rbp),%xmm3
ff
movsd  -0xf0(%rbp),%xmm2
ff
movsd  -0x108(%rbp),%xmm4
ff
subsd  -0x68(%rbp),%xmm4
mulsd  %xmm4,%xmm2
mulsd  %xmm3,%xmm0
addsd  %xmm2,%xmm0
movsd  -0xf8(%rbp),%xmm2
ff
movq   %xmm2,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm2
movsd  -0xd8(%rbp),%xmm4
ff
movsd  -0xf0(%rbp),%xmm3
ff
movsd  -0x100(%rbp),%xmm5
ff
subsd  -0x68(%rbp),%xmm5
mulsd  %xmm5,%xmm3
mulsd  %xmm4,%xmm2
addsd  %xmm3,%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x20(%rbp),%rax
movsd  %xmm0,(%rax)
add    $0xf0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<CalcQuarticCoeffs>:
test   %edx,%edx
jle    11e1 <CalcQuarticCoeffs+0xe1>
mov    (%rdi),%r8
mov    0x8(%rdi),%r9
mov    0x10(%rdi),%r10
mov    (%rsi),%r11
mov    0x8(%rsi),%rdi
mov    0x10(%rsi),%rsi
mov    %edx,%edx
xorpd  %xmm9,%xmm9
xor    %eax,%eax
xorpd  %xmm12,%xmm12
xorpd  %xmm8,%xmm8
xorpd  %xmm15,%xmm15
xorpd  %xmm10,%xmm10
xorpd  %xmm14,%xmm14
xorpd  %xmm13,%xmm13
xorpd  %xmm3,%xmm3
xorpd  %xmm11,%xmm11
xchg   %ax,%ax
movsd  (%r8,%rax,8),%xmm7
movsd  (%r9,%rax,8),%xmm5
movsd  (%r10,%rax,8),%xmm2
movsd  (%r11,%rax,8),%xmm6
movsd  (%rdi,%rax,8),%xmm0
movsd  (%rsi,%rax,8),%xmm1
movapd %xmm7,%xmm4
mulsd  %xmm6,%xmm4
addsd  %xmm4,%xmm9
movapd %xmm7,%xmm4
mulsd  %xmm0,%xmm4
addsd  %xmm4,%xmm12
mulsd  %xmm1,%xmm7
addsd  %xmm7,%xmm8
movapd %xmm5,%xmm4
mulsd  %xmm6,%xmm4
addsd  %xmm4,%xmm15
movapd %xmm5,%xmm4
mulsd  %xmm0,%xmm4
addsd  %xmm4,%xmm10
mulsd  %xmm1,%xmm5
addsd  %xmm5,%xmm14
mulsd  %xmm2,%xmm6
addsd  %xmm6,%xmm13
mulsd  %xmm2,%xmm0
addsd  %xmm0,%xmm3
mulsd  %xmm1,%xmm2
addsd  %xmm2,%xmm11
add    $0x1,%rax
cmp    %rax,%rdx
jne    1150 <CalcQuarticCoeffs+0x50>
jmp    120d <CalcQuarticCoeffs+0x10d>
xorpd  %xmm11,%xmm11
xorpd  %xmm3,%xmm3
xorpd  %xmm13,%xmm13
xorpd  %xmm14,%xmm14
xorpd  %xmm10,%xmm10
xorpd  %xmm15,%xmm15
xorpd  %xmm8,%xmm8
xorpd  %xmm12,%xmm12
xorpd  %xmm9,%xmm9
movapd %xmm9,%xmm1
mulsd  %xmm9,%xmm1
movapd %xmm10,%xmm5
mulsd  %xmm10,%xmm5
movapd %xmm11,%xmm4
mulsd  %xmm11,%xmm4
movapd %xmm12,%xmm0
mulsd  %xmm12,%xmm0
movapd %xmm0,%xmm7
movsd  %xmm0,-0x10(%rsp)
movapd %xmm14,%xmm2
mulsd  %xmm14,%xmm2
movapd %xmm11,%xmm6
mulsd  %xmm10,%xmm6
movapd %xmm14,%xmm0
mulsd  %xmm3,%xmm0
subsd  %xmm6,%xmm0
movsd  %xmm0,-0x8(%rsp)
movapd %xmm4,%xmm6
addsd  %xmm5,%xmm6
subsd  %xmm1,%xmm6
addsd  %xmm1,%xmm5
movapd %xmm8,%xmm1
mulsd  %xmm8,%xmm1
addsd  %xmm4,%xmm5
movapd %xmm15,%xmm4
mulsd  %xmm15,%xmm4
movapd %xmm13,%xmm0
mulsd  %xmm13,%xmm0
movsd  %xmm0,-0x18(%rsp)
addsd  %xmm2,%xmm6
addsd  %xmm7,%xmm5
addsd  %xmm4,%xmm5
addsd  %xmm1,%xmm5
addsd  %xmm0,%xmm5
addsd  %xmm2,%xmm5
movapd %xmm3,%xmm0
mulsd  %xmm3,%xmm0
addsd  %xmm0,%xmm6
addsd  %xmm0,%xmm5
movapd %xmm14,%xmm0
mulsd  %xmm9,%xmm0
movapd %xmm13,%xmm7
mulsd  %xmm10,%xmm7
mulsd  %xmm8,%xmm7
mulsd  %xmm3,%xmm0
addsd  %xmm7,%xmm0
movapd %xmm11,%xmm7
mulsd  %xmm12,%xmm7
mulsd  %xmm15,%xmm7
addsd  %xmm0,%xmm7
movapd %xmm10,%xmm0
mulsd  %xmm9,%xmm0
mulsd  %xmm11,%xmm0
subsd  %xmm0,%xmm7
movapd %xmm13,%xmm0
mulsd  %xmm14,%xmm0
mulsd  %xmm12,%xmm0
subsd  %xmm0,%xmm7
movapd %xmm15,%xmm0
mulsd  %xmm3,%xmm0
mulsd  %xmm8,%xmm0
subsd  %xmm0,%xmm7
unpcklpd %xmm5,%xmm7
mulpd  0xcc2(%rip),%xmm7
movupd %xmm7,0x8(%rcx)
movapd %xmm3,%xmm0
addsd  %xmm14,%xmm0
movapd %xmm0,%xmm7
subsd  %xmm3,%xmm14
movapd %xmm13,%xmm0
addsd  %xmm8,%xmm0
subsd  %xmm13,%xmm8
movapd %xmm15,%xmm13
addsd  %xmm12,%xmm13
subsd  %xmm15,%xmm12
movapd %xmm10,%xmm3
addsd  %xmm9,%xmm3
subsd  %xmm10,%xmm9
addsd  -0x10(%rsp),%xmm1
movsd  -0x8(%rsp),%xmm2
addsd  %xmm2,%xmm2
subsd  %xmm4,%xmm1
subsd  -0x18(%rsp),%xmm1
movapd %xmm2,%xmm4
addsd  %xmm6,%xmm4
subsd  %xmm2,%xmm6
mulsd  %xmm4,%xmm6
mulsd  %xmm1,%xmm1
addsd  %xmm6,%xmm1
movapd %xmm11,%xmm10
addsd  %xmm9,%xmm10
subsd  %xmm11,%xmm9
movapd %xmm12,%xmm6
mulsd  %xmm9,%xmm6
movapd %xmm0,%xmm2
mulsd  %xmm14,%xmm2
subsd  %xmm2,%xmm6
movapd %xmm12,%xmm2
mulsd  %xmm10,%xmm2
movapd %xmm8,%xmm5
movapd %xmm7,%xmm4
mulsd  %xmm7,%xmm5
subsd  %xmm5,%xmm2
movapd 0xc13(%rip),%xmm5
mulsd  %xmm6,%xmm2
addsd  %xmm1,%xmm2
movapd %xmm3,%xmm6
addsd  %xmm11,%xmm3
movapd %xmm3,%xmm1
mulsd  %xmm0,%xmm10
mulsd  %xmm0,%xmm3
xorpd  %xmm5,%xmm0
subsd  %xmm11,%xmm6
movapd %xmm6,%xmm7
mulsd  %xmm13,%xmm7
mulsd  %xmm4,%xmm0
subsd  %xmm7,%xmm0
xorpd  %xmm8,%xmm5
mulsd  %xmm13,%xmm1
mulsd  %xmm14,%xmm5
subsd  %xmm1,%xmm5
mulsd  %xmm0,%xmm5
addsd  %xmm2,%xmm5
movapd %xmm12,%xmm0
mulsd  %xmm14,%xmm0
mulsd  %xmm13,%xmm14
mulsd  %xmm4,%xmm13
addsd  %xmm10,%xmm13
subsd  %xmm0,%xmm3
mulsd  %xmm13,%xmm3
addsd  %xmm5,%xmm3
mulsd  %xmm8,%xmm9
addsd  %xmm9,%xmm14
mulsd  %xmm8,%xmm6
mulsd  %xmm4,%xmm12
subsd  %xmm12,%xmm6
mulsd  %xmm14,%xmm6
addsd  %xmm3,%xmm6
movsd  %xmm6,(%rcx)
ret

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

LLVM IR (-O2):
define void @CalcQuarticCoeffs(double** nocapture %0, double** nocapture %1, i32 %2, double* nocapture writeonly %3) {
%5 = load double*, double** %0
%6 = getelementptr inbounds double*, double** %0, i64 1
%7 = load double*, double** %6
%8 = getelementptr inbounds double*, double** %0, i64 2
%9 = load double*, double** %8
%10 = load double*, double** %1
%11 = getelementptr inbounds double*, double** %1, i64 1
%12 = load double*, double** %11
%13 = getelementptr inbounds double*, double** %1, i64 2
%14 = load double*, double** %13
%15 = icmp sgt i32 %2, 0
br i1 %15, label %16, label %52
16: ; preds = %4
%17 = zext i32 %2 to i64
br label %18
18: ; preds = %16, %18
%19 = phi i64 [ 0, %16 ], [ %50, %18 ]
%20 = phi double [ 0.000000e+00, %16 ], [ %41, %18 ]
%21 = phi double [ 0.000000e+00, %16 ], [ %42, %18 ]
%22 = phi double [ 0.000000e+00, %16 ], [ %43, %18 ]
%23 = phi double [ 0.000000e+00, %16 ], [ %44, %18 ]
%24 = phi double [ 0.000000e+00, %16 ], [ %45, %18 ]
%25 = phi double [ 0.000000e+00, %16 ], [ %46, %18 ]
%26 = phi double [ 0.000000e+00, %16 ], [ %47, %18 ]
%27 = phi double [ 0.000000e+00, %16 ], [ %48, %18 ]
%28 = phi double [ 0.000000e+00, %16 ], [ %49, %18 ]
%29 = getelementptr inbounds double, double* %5, i64 %19
%30 = load double, double* %29
%31 = getelementptr inbounds double, double* %7, i64 %19
%32 = load double, double* %31
%33 = getelementptr inbounds double, double* %9, i64 %19
%34 = load double, double* %33
%35 = getelementptr inbounds double, double* %10, i64 %19
%36 = load double, double* %35
%37 = getelementptr inbounds double, double* %12, i64 %19
%38 = load double, double* %37
%39 = getelementptr inbounds double, double* %14, i64 %19
%40 = load double, double* %39
%41 = tail call double @llvm.fmuladd.f64(double %30, double %36, double %20)
%42 = tail call double @llvm.fmuladd.f64(double %30, double %38, double %21)
%43 = tail call double @llvm.fmuladd.f64(double %30, double %40, double %22)
%44 = tail call double @llvm.fmuladd.f64(double %32, double %36, double %23)
%45 = tail call double @llvm.fmuladd.f64(double %32, double %38, double %24)
%46 = tail call double @llvm.fmuladd.f64(double %32, double %40, double %25)
%47 = tail call double @llvm.fmuladd.f64(double %34, double %36, double %26)
%48 = tail call double @llvm.fmuladd.f64(double %34, double %38, double %27)
%49 = tail call double @llvm.fmuladd.f64(double %34, double %40, double %28)
%50 = add nuw nsw i64 %19, 1
%51 = icmp eq i64 %50, %17
br i1 %51, label %52, label %18
52: ; preds = %18, %4
%53 = phi double [ 0.000000e+00, %4 ], [ %49, %18 ]
%54 = phi double [ 0.000000e+00, %4 ], [ %48, %18 ]
%55 = phi double [ 0.000000e+00, %4 ], [ %47, %18 ]
%56 = phi double [ 0.000000e+00, %4 ], [ %46, %18 ]
%57 = phi double [ 0.000000e+00, %4 ], [ %45, %18 ]
%58 = phi double [ 0.000000e+00, %4 ], [ %44, %18 ]
%59 = phi double [ 0.000000e+00, %4 ], [ %43, %18 ]
%60 = phi double [ 0.000000e+00, %4 ], [ %42, %18 ]
%61 = phi double [ 0.000000e+00, %4 ], [ %41, %18 ]
%62 = fmul double %61, %61
%63 = fmul double %57, %57
%64 = fmul double %53, %53
%65 = fmul double %60, %60
%66 = fmul double %56, %56
%67 = fmul double %59, %59
%68 = fmul double %58, %58
%69 = fmul double %54, %54
%70 = fmul double %55, %55
%71 = fneg double %57
%72 = fmul double %53, %71
%73 = tail call double @llvm.fmuladd.f64(double %56, double %54, double %72)
%74 = fmul double %73, 2.000000e+00
%75 = fadd double %64, %63
%76 = fsub double %75, %62
%77 = fadd double %66, %76
%78 = fadd double %69, %77
%79 = fadd double %63, %62
%80 = fadd double %64, %79
%81 = fadd double %65, %80
%82 = fadd double %68, %81
%83 = fadd double %67, %82
%84 = fadd double %70, %83
%85 = fadd double %66, %84
%86 = fadd double %69, %85
%87 = fmul double %56, %61
%88 = fmul double %55, %57
%89 = fmul double %88, %59
%90 = tail call double @llvm.fmuladd.f64(double %87, double %54, double %89)
%91 = fmul double %53, %60
%92 = tail call double @llvm.fmuladd.f64(double %91, double %58, double %90)
%93 = fneg double %61
%94 = fmul double %57, %93
%95 = tail call double @llvm.fmuladd.f64(double %94, double %53, double %92)
%96 = fneg double %56
%97 = fmul double %55, %96
%98 = tail call double @llvm.fmuladd.f64(double %97, double %60, double %95)
%99 = fneg double %54
%100 = fmul double %58, %99
%101 = tail call double @llvm.fmuladd.f64(double %100, double %59, double %98)
%102 = insertelement <2 x double> poison, double %101, i64 0
%103 = insertelement <2 x double> %102, double %86, i64 1
%104 = fmul <2 x double> %103, <double 8.000000e+00, double -2.000000e+00>
%105 = getelementptr inbounds double, double* %3, i64 1
%106 = bitcast double* %105 to <2 x double>*
store <2 x double> %104, <2 x double>* %106
%107 = fadd double %55, %59
%108 = fadd double %54, %56
%109 = fadd double %58, %60
%110 = fsub double %56, %54
%111 = fsub double %59, %55
%112 = fsub double %60, %58
%113 = fadd double %57, %61
%114 = fsub double %61, %57
%115 = fadd double %67, %65
%116 = fsub double %115, %68
%117 = fsub double %116, %70
%118 = fadd double %74, %78
%119 = fsub double %78, %74
%120 = fmul double %118, %119
%121 = tail call double @llvm.fmuladd.f64(double %117, double %117, double %120)
%122 = fneg double %107
%123 = fsub double %114, %53
%124 = fmul double %112, %123
%125 = tail call double @llvm.fmuladd.f64(double %122, double %110, double %124)
%126 = fneg double %111
%127 = fadd double %53, %114
%128 = fmul double %112, %127
%129 = tail call double @llvm.fmuladd.f64(double %126, double %108, double %128)
%130 = tail call double @llvm.fmuladd.f64(double %125, double %129, double %121)
%131 = fsub double %113, %53
%132 = fneg double %109
%133 = fmul double %131, %132
%134 = tail call double @llvm.fmuladd.f64(double %122, double %108, double %133)
%135 = fadd double %53, %113
%136 = fmul double %135, %132
%137 = tail call double @llvm.fmuladd.f64(double %126, double %110, double %136)
%138 = tail call double @llvm.fmuladd.f64(double %134, double %137, double %130)
%139 = fmul double %107, %127
%140 = tail call double @llvm.fmuladd.f64(double %109, double %108, double %139)
%141 = fneg double %112
%142 = fmul double %107, %135
%143 = tail call double @llvm.fmuladd.f64(double %141, double %110, double %142)
%144 = tail call double @llvm.fmuladd.f64(double %140, double %143, double %138)
%145 = fmul double %111, %123
%146 = tail call double @llvm.fmuladd.f64(double %109, double %110, double %145)
%147 = fmul double %111, %131
%148 = tail call double @llvm.fmuladd.f64(double %141, double %108, double %147)
%149 = tail call double @llvm.fmuladd.f64(double %146, double %148, double %144)
store double %149, double* %3
ret void
}