#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
double cos(double);
double sin(double);
void doubles_xytcov_inv(const double xyta[3], const double Ca[9],
                        double xytr[3], double Cr[9]) {
  double x = xyta[0], y = xyta[1], theta = xyta[2];
  double s = sin(theta), c = cos(theta);
  double J11 = -c, J12 = -s, J13 = -c * y + s * x;
  double J21 = s, J22 = -c, J23 = s * y + c * x;
  double P11 = Ca[0], P12 = Ca[1], P13 = Ca[2];
  double P22 = Ca[4], P23 = Ca[5];
  double P33 = Ca[8];
  Cr[0] = P11 * J11 * J11 + 2 * P12 * J11 * J12 + 2 * P13 * J11 * J13 +
          P22 * J12 * J12 + 2 * P23 * J12 * J13 + P33 * J13 * J13;
  Cr[1] = J21 * (J11 * P11 + J12 * P12 + J13 * P13) +
          J22 * (J11 * P12 + J12 * P22 + J13 * P23) +
          J23 * (J11 * P13 + J12 * P23 + J13 * P33);
  Cr[2] = -J11 * P13 - J12 * P23 - J13 * P33;
  Cr[3] = Cr[1];
  Cr[4] = P11 * J21 * J21 + 2 * P12 * J21 * J22 + 2 * P13 * J21 * J23 +
          P22 * J22 * J22 + 2 * P23 * J22 * J23 + P33 * J23 * J23;
  Cr[5] = -J21 * P13 - J22 * P23 - J23 * P33;
  Cr[6] = Cr[2];
  Cr[7] = Cr[5];
  Cr[8] = P33;
  xytr[0] = -s * y - c * x;
  xytr[1] = -c * y + s * x;
  xytr[2] = -xyta[2];
}


x86 assembly (clang, -O0):
<doubles_xytcov_inv>:
push   %rbp
mov    %rsp,%rbp
sub    $0xb0,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %rcx,-0x20(%rbp)
mov    -0x8(%rbp),%rax
movsd  (%rax),%xmm0
movsd  %xmm0,-0x28(%rbp)
mov    -0x8(%rbp),%rax
movsd  0x8(%rax),%xmm0
movsd  %xmm0,-0x30(%rbp)
mov    -0x8(%rbp),%rax
movsd  0x10(%rax),%xmm0
movsd  %xmm0,-0x38(%rbp)
movsd  -0x38(%rbp),%xmm0
call   1030 <sin@plt>
movsd  %xmm0,-0x40(%rbp)
movsd  -0x38(%rbp),%xmm0
call   1040 <cos@plt>
movsd  %xmm0,-0x48(%rbp)
movsd  -0x48(%rbp),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
movsd  %xmm0,-0x50(%rbp)
movsd  -0x40(%rbp),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  -0x48(%rbp),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
movsd  -0x30(%rbp),%xmm2
movsd  -0x40(%rbp),%xmm1
mulsd  -0x28(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  %xmm0,-0x68(%rbp)
movsd  -0x48(%rbp),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  -0x30(%rbp),%xmm2
movsd  -0x48(%rbp),%xmm1
mulsd  -0x28(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x78(%rbp)
mov    -0x10(%rbp),%rax
movsd  (%rax),%xmm0
movsd  %xmm0,-0x80(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x8(%rax),%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
mov    -0x10(%rbp),%rax
movsd  0x10(%rax),%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
mov    -0x10(%rbp),%rax
movsd  0x20(%rax),%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
mov    -0x10(%rbp),%rax
movsd  0x28(%rax),%xmm0
movsd  %xmm0,-0xa0(%rbp)
ff
mov    -0x10(%rbp),%rax
movsd  0x40(%rax),%xmm0
movsd  %xmm0,-0xa8(%rbp)
ff
movsd  -0x80(%rbp),%xmm0
mulsd  -0x50(%rbp),%xmm0
movsd  -0x50(%rbp),%xmm2
movsd  0xd3f(%rip),%xmm1
mulsd  -0x88(%rbp),%xmm1
ff
mulsd  -0x50(%rbp),%xmm1
mulsd  -0x58(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  0xd1d(%rip),%xmm1
mulsd  -0x90(%rbp),%xmm1
ff
mulsd  -0x50(%rbp),%xmm1
movsd  -0x60(%rbp),%xmm2
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  -0x98(%rbp),%xmm0
ff
mulsd  -0x58(%rbp),%xmm0
movsd  -0x58(%rbp),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  0xce1(%rip),%xmm1
mulsd  -0xa0(%rbp),%xmm1
ff
mulsd  -0x58(%rbp),%xmm1
movsd  -0x60(%rbp),%xmm2
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  -0xa8(%rbp),%xmm0
ff
mulsd  -0x60(%rbp),%xmm0
movsd  -0x60(%rbp),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x20(%rbp),%rax
movsd  %xmm0,(%rax)
movsd  -0x68(%rbp),%xmm1
movsd  -0x50(%rbp),%xmm0
movsd  -0x80(%rbp),%xmm3
movsd  -0x58(%rbp),%xmm2
mulsd  -0x88(%rbp),%xmm2
ff
mulsd  %xmm3,%xmm0
addsd  %xmm2,%xmm0
movsd  -0x60(%rbp),%xmm2
movsd  -0x90(%rbp),%xmm3
ff
mulsd  %xmm3,%xmm2
addsd  %xmm0,%xmm2
movsd  -0x70(%rbp),%xmm0
movsd  -0x50(%rbp),%xmm4
movsd  -0x88(%rbp),%xmm5
ff
movsd  -0x58(%rbp),%xmm3
mulsd  -0x98(%rbp),%xmm3
ff
mulsd  %xmm5,%xmm4
addsd  %xmm3,%xmm4
movsd  -0x60(%rbp),%xmm3
movsd  -0xa0(%rbp),%xmm5
ff
mulsd  %xmm5,%xmm3
addsd  %xmm4,%xmm3
mulsd  %xmm3,%xmm0
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  -0x78(%rbp),%xmm0
movsd  -0x50(%rbp),%xmm3
movsd  -0x90(%rbp),%xmm4
ff
movsd  -0x58(%rbp),%xmm2
mulsd  -0xa0(%rbp),%xmm2
ff
mulsd  %xmm4,%xmm3
addsd  %xmm2,%xmm3
movsd  -0x60(%rbp),%xmm2
movsd  -0xa8(%rbp),%xmm4
ff
mulsd  %xmm4,%xmm2
addsd  %xmm3,%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x20(%rbp),%rax
movsd  %xmm0,0x8(%rax)
movsd  -0x50(%rbp),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
movsd  -0x90(%rbp),%xmm2
ff
movsd  -0x58(%rbp),%xmm0
mulsd  -0xa0(%rbp),%xmm0
ff
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  -0x60(%rbp),%xmm0
movsd  -0xa8(%rbp),%xmm2
ff
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x20(%rbp),%rax
movsd  %xmm0,0x10(%rax)
mov    -0x20(%rbp),%rax
movsd  0x8(%rax),%xmm0
mov    -0x20(%rbp),%rax
movsd  %xmm0,0x18(%rax)
movsd  -0x80(%rbp),%xmm0
mulsd  -0x68(%rbp),%xmm0
movsd  -0x68(%rbp),%xmm2
movsd  0xb29(%rip),%xmm1
mulsd  -0x88(%rbp),%xmm1
ff
mulsd  -0x68(%rbp),%xmm1
mulsd  -0x70(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  0xb07(%rip),%xmm1
mulsd  -0x90(%rbp),%xmm1
mulsd  -0x68(%rbp),%xmm1
movsd  -0x78(%rbp),%xmm2
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  -0x98(%rbp),%xmm0
ff
mulsd  -0x70(%rbp),%xmm0
movsd  -0x70(%rbp),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  0xacb(%rip),%xmm1
mulsd  -0xa0(%rbp),%xmm1
ff
mulsd  -0x70(%rbp),%xmm1
movsd  -0x78(%rbp),%xmm2
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  -0xa8(%rbp),%xmm0
ff
mulsd  -0x78(%rbp),%xmm0
movsd  -0x78(%rbp),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x20(%rbp),%rax
movsd  %xmm0,0x20(%rax)
movsd  -0x68(%rbp),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
movsd  -0x90(%rbp),%xmm2
ff
movsd  -0x70(%rbp),%xmm0
mulsd  -0xa0(%rbp),%xmm0
ff
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  -0x78(%rbp),%xmm0
movsd  -0xa8(%rbp),%xmm2
ff
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x20(%rbp),%rax
movsd  %xmm0,0x28(%rax)
mov    -0x20(%rbp),%rax
movsd  0x10(%rax),%xmm0
mov    -0x20(%rbp),%rax
movsd  %xmm0,0x30(%rax)
mov    -0x20(%rbp),%rax
movsd  0x28(%rax),%xmm0
mov    -0x20(%rbp),%rax
movsd  %xmm0,0x38(%rax)
movsd  -0xa8(%rbp),%xmm0
ff
mov    -0x20(%rbp),%rax
movsd  %xmm0,0x40(%rax)
movsd  -0x40(%rbp),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
movsd  -0x30(%rbp),%xmm2
movsd  -0x48(%rbp),%xmm1
mulsd  -0x28(%rbp),%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x18(%rbp),%rax
movsd  %xmm0,(%rax)
movsd  -0x48(%rbp),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
movsd  -0x30(%rbp),%xmm2
movsd  -0x40(%rbp),%xmm1
mulsd  -0x28(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x18(%rbp),%rax
movsd  %xmm0,0x8(%rax)
mov    -0x8(%rbp),%rax
movsd  0x10(%rax),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mov    -0x18(%rbp),%rax
movsd  %xmm0,0x10(%rax)
add    $0xb0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<doubles_xytcov_inv>:
push   %r15
push   %r14
push   %r12
push   %rbx
sub    $0x68,%rsp
mov    %rcx,%rbx
mov    %rdx,%r14
mov    %rsi,%r12
mov    %rdi,%r15
movsd  (%rdi),%xmm0
movaps %xmm0,0x20(%rsp)
movsd  0x8(%rdi),%xmm0
movaps %xmm0,0x10(%rsp)
movsd  0x10(%rdi),%xmm0
movsd  %xmm0,0x8(%rsp)
call   1030 <sin@plt>
movaps %xmm0,0x30(%rsp)
movsd  0x8(%rsp),%xmm0
call   1040 <cos@plt>
movapd 0x30(%rsp),%xmm1
movapd %xmm1,%xmm3
unpcklpd %xmm0,%xmm3
movapd %xmm0,%xmm4
movapd 0xe7c(%rip),%xmm0
movapd %xmm1,%xmm6
movapd %xmm1,%xmm2
movapd 0x10(%rsp),%xmm1
mulsd  %xmm1,%xmm6
unpcklpd %xmm1,%xmm1
mulpd  %xmm3,%xmm1
movapd %xmm1,%xmm7
xorpd  %xmm0,%xmm3
movapd %xmm0,%xmm8
movapd 0x20(%rsp),%xmm0
movapd %xmm0,%xmm1
mulsd  %xmm2,%xmm1
mulsd  %xmm4,%xmm0
movapd %xmm4,0x50(%rsp)
addsd  %xmm0,%xmm6
movapd %xmm0,%xmm5
movsd  (%r12),%xmm12
movsd  %xmm12,0x10(%rsp)
movsd  0x8(%r12),%xmm14
movsd  0x10(%r12),%xmm9
pshufd $0xee,%xmm3,%xmm0
mulsd  %xmm0,%xmm12
movapd %xmm14,%xmm2
addsd  %xmm14,%xmm2
movsd  %xmm2,0x8(%rsp)
mulsd  %xmm0,%xmm2
mulsd  %xmm3,%xmm2
movapd %xmm0,%xmm10
mulsd  %xmm14,%xmm10
mulsd  %xmm3,%xmm14
addsd  %xmm12,%xmm14
mulsd  %xmm0,%xmm12
movapd %xmm0,%xmm15
addsd  %xmm2,%xmm12
movapd %xmm5,%xmm0
xorpd  %xmm8,%xmm0
unpcklpd %xmm1,%xmm0
subpd  %xmm7,%xmm0
movapd %xmm0,%xmm11
movapd %xmm0,%xmm7
unpckhpd %xmm0,%xmm11
movapd %xmm11,%xmm8
mulsd  %xmm9,%xmm8
movapd %xmm15,%xmm13
mulsd  %xmm9,%xmm13
movapd %xmm4,%xmm5
mulsd  %xmm9,%xmm5
movapd %xmm6,%xmm2
unpcklpd %xmm9,%xmm2
movapd %xmm9,%xmm0
addsd  %xmm9,%xmm0
movapd %xmm0,%xmm9
movapd %xmm15,%xmm4
movapd %xmm15,0x40(%rsp)
mulsd  %xmm15,%xmm9
mulsd  %xmm11,%xmm9
addsd  %xmm12,%xmm9
movsd  0x20(%r12),%xmm12
movapd %xmm12,%xmm1
movapd %xmm3,%xmm15
mulsd  %xmm3,%xmm1
addsd  %xmm1,%xmm10
mulsd  %xmm3,%xmm1
addsd  %xmm9,%xmm1
addsd  %xmm14,%xmm8
movsd  0x28(%r12),%xmm9
movapd %xmm11,%xmm14
mulsd  %xmm9,%xmm11
addsd  %xmm10,%xmm11
mulsd  %xmm4,%xmm11
unpcklpd %xmm11,%xmm1
movapd %xmm7,%xmm3
movapd %xmm7,0x20(%rsp)
movapd %xmm7,%xmm10
shufpd $0x1,%xmm8,%xmm10
movapd %xmm9,%xmm8
addsd  %xmm9,%xmm8
movapd %xmm8,%xmm7
mulsd  %xmm15,%xmm7
movapd 0x30(%rsp),%xmm4
unpcklpd %xmm4,%xmm7
mulpd  %xmm7,%xmm10
addpd  %xmm1,%xmm10
movapd 0x50(%rsp),%xmm11
mulsd  %xmm9,%xmm11
movsd  0x40(%r12),%xmm1
mulsd  %xmm1,%xmm14
mulsd  %xmm15,%xmm9
addsd  %xmm9,%xmm13
addsd  %xmm14,%xmm13
shufpd $0x1,%xmm13,%xmm3
subsd  %xmm9,%xmm5
subsd  %xmm14,%xmm5
unpcklpd %xmm6,%xmm14
mulpd  %xmm14,%xmm3
addpd  %xmm10,%xmm3
movupd %xmm3,(%rbx)
movsd  %xmm5,0x10(%rbx)
movhpd %xmm3,0x18(%rbx)
movsd  0x10(%rsp),%xmm7
mulsd  %xmm4,%xmm7
movsd  0x8(%rsp),%xmm3
mulsd  %xmm4,%xmm3
movapd 0x40(%rsp),%xmm9
mulsd  %xmm9,%xmm3
mulsd  %xmm4,%xmm7
addsd  %xmm3,%xmm7
mulsd  %xmm4,%xmm0
mulsd  %xmm6,%xmm0
addsd  %xmm7,%xmm0
mulsd  %xmm9,%xmm12
mulsd  %xmm9,%xmm12
addsd  %xmm0,%xmm12
mulsd  %xmm9,%xmm8
unpcklpd %xmm11,%xmm12
unpcklpd %xmm15,%xmm8
mulpd  %xmm8,%xmm2
movapd %xmm6,%xmm0
mulsd  %xmm1,%xmm0
addpd  %xmm12,%xmm2
movapd %xmm6,%xmm3
movapd 0xc1d(%rip),%xmm4
xorpd  %xmm4,%xmm3
unpcklpd %xmm3,%xmm0
unpcklpd %xmm1,%xmm6
mulpd  %xmm0,%xmm6
addpd  %xmm2,%xmm6
movupd %xmm6,0x20(%rbx)
movsd  %xmm5,0x30(%rbx)
movhpd %xmm6,0x38(%rbx)
movsd  %xmm1,0x40(%rbx)
movaps 0x20(%rsp),%xmm0
movups %xmm0,(%r14)
movsd  0x10(%r15),%xmm0
xorpd  %xmm4,%xmm0
movlpd %xmm0,0x10(%r14)
add    $0x68,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
define void @doubles_xytcov_inv(double* %0, double* %1, double* %2, double* %3) {
%5 = alloca double*
%6 = alloca double*
%7 = alloca double*
%8 = alloca double*
%9 = alloca double
%10 = alloca double
%11 = alloca double
%12 = alloca double
%13 = alloca double
%14 = alloca double
%15 = alloca double
%16 = alloca double
%17 = alloca double
%18 = alloca double
%19 = alloca double
%20 = alloca double
%21 = alloca double
%22 = alloca double
%23 = alloca double
%24 = alloca double
%25 = alloca double
store double* %0, double** %5
store double* %1, double** %6
store double* %2, double** %7
store double* %3, double** %8
%26 = load double*, double** %5
%27 = getelementptr inbounds double, double* %26, i64 0
%28 = load double, double* %27
store double %28, double* %9
%29 = load double*, double** %5
%30 = getelementptr inbounds double, double* %29, i64 1
%31 = load double, double* %30
store double %31, double* %10
%32 = load double*, double** %5
%33 = getelementptr inbounds double, double* %32, i64 2
%34 = load double, double* %33
store double %34, double* %11
%35 = load double, double* %11
%36 = call double @sin(double %35)
store double %36, double* %12
%37 = load double, double* %11
%38 = call double @cos(double %37)
store double %38, double* %13
%39 = load double, double* %13
%40 = fneg double %39
store double %40, double* %14
%41 = load double, double* %12
%42 = fneg double %41
store double %42, double* %15
%43 = load double, double* %13
%44 = fneg double %43
%45 = load double, double* %10
%46 = load double, double* %12
%47 = load double, double* %9
%48 = fmul double %46, %47
%49 = call double @llvm.fmuladd.f64(double %44, double %45, double %48)
store double %49, double* %16
%50 = load double, double* %12
store double %50, double* %17
%51 = load double, double* %13
%52 = fneg double %51
store double %52, double* %18
%53 = load double, double* %12
%54 = load double, double* %10
%55 = load double, double* %13
%56 = load double, double* %9
%57 = fmul double %55, %56
%58 = call double @llvm.fmuladd.f64(double %53, double %54, double %57)
store double %58, double* %19
%59 = load double*, double** %6
%60 = getelementptr inbounds double, double* %59, i64 0
%61 = load double, double* %60
store double %61, double* %20
%62 = load double*, double** %6
%63 = getelementptr inbounds double, double* %62, i64 1
%64 = load double, double* %63
store double %64, double* %21
%65 = load double*, double** %6
%66 = getelementptr inbounds double, double* %65, i64 2
%67 = load double, double* %66
store double %67, double* %22
%68 = load double*, double** %6
%69 = getelementptr inbounds double, double* %68, i64 4
%70 = load double, double* %69
store double %70, double* %23
%71 = load double*, double** %6
%72 = getelementptr inbounds double, double* %71, i64 5
%73 = load double, double* %72
store double %73, double* %24
%74 = load double*, double** %6
%75 = getelementptr inbounds double, double* %74, i64 8
%76 = load double, double* %75
store double %76, double* %25
%77 = load double, double* %20
%78 = load double, double* %14
%79 = fmul double %77, %78
%80 = load double, double* %14
%81 = load double, double* %21
%82 = fmul double 2.000000e+00, %81
%83 = load double, double* %14
%84 = fmul double %82, %83
%85 = load double, double* %15
%86 = fmul double %84, %85
%87 = call double @llvm.fmuladd.f64(double %79, double %80, double %86)
%88 = load double, double* %22
%89 = fmul double 2.000000e+00, %88
%90 = load double, double* %14
%91 = fmul double %89, %90
%92 = load double, double* %16
%93 = call double @llvm.fmuladd.f64(double %91, double %92, double %87)
%94 = load double, double* %23
%95 = load double, double* %15
%96 = fmul double %94, %95
%97 = load double, double* %15
%98 = call double @llvm.fmuladd.f64(double %96, double %97, double %93)
%99 = load double, double* %24
%100 = fmul double 2.000000e+00, %99
%101 = load double, double* %15
%102 = fmul double %100, %101
%103 = load double, double* %16
%104 = call double @llvm.fmuladd.f64(double %102, double %103, double %98)
%105 = load double, double* %25
%106 = load double, double* %16
%107 = fmul double %105, %106
%108 = load double, double* %16
%109 = call double @llvm.fmuladd.f64(double %107, double %108, double %104)
%110 = load double*, double** %8
%111 = getelementptr inbounds double, double* %110, i64 0
store double %109, double* %111
%112 = load double, double* %17
%113 = load double, double* %14
%114 = load double, double* %20
%115 = load double, double* %15
%116 = load double, double* %21
%117 = fmul double %115, %116
%118 = call double @llvm.fmuladd.f64(double %113, double %114, double %117)
%119 = load double, double* %16
%120 = load double, double* %22
%121 = call double @llvm.fmuladd.f64(double %119, double %120, double %118)
%122 = load double, double* %18
%123 = load double, double* %14
%124 = load double, double* %21
%125 = load double, double* %15
%126 = load double, double* %23
%127 = fmul double %125, %126
%128 = call double @llvm.fmuladd.f64(double %123, double %124, double %127)
%129 = load double, double* %16
%130 = load double, double* %24
%131 = call double @llvm.fmuladd.f64(double %129, double %130, double %128)
%132 = fmul double %122, %131
%133 = call double @llvm.fmuladd.f64(double %112, double %121, double %132)
%134 = load double, double* %19
%135 = load double, double* %14
%136 = load double, double* %22
%137 = load double, double* %15
%138 = load double, double* %24
%139 = fmul double %137, %138
%140 = call double @llvm.fmuladd.f64(double %135, double %136, double %139)
%141 = load double, double* %16
%142 = load double, double* %25
%143 = call double @llvm.fmuladd.f64(double %141, double %142, double %140)
%144 = call double @llvm.fmuladd.f64(double %134, double %143, double %133)
%145 = load double*, double** %8
%146 = getelementptr inbounds double, double* %145, i64 1
store double %144, double* %146
%147 = load double, double* %14
%148 = fneg double %147
%149 = load double, double* %22
%150 = load double, double* %15
%151 = load double, double* %24
%152 = fmul double %150, %151
%153 = fneg double %152
%154 = call double @llvm.fmuladd.f64(double %148, double %149, double %153)
%155 = load double, double* %16
%156 = load double, double* %25
%157 = fneg double %155
%158 = call double @llvm.fmuladd.f64(double %157, double %156, double %154)
%159 = load double*, double** %8
%160 = getelementptr inbounds double, double* %159, i64 2
store double %158, double* %160
%161 = load double*, double** %8
%162 = getelementptr inbounds double, double* %161, i64 1
%163 = load double, double* %162
%164 = load double*, double** %8
%165 = getelementptr inbounds double, double* %164, i64 3
store double %163, double* %165
%166 = load double, double* %20
%167 = load double, double* %17
%168 = fmul double %166, %167
%169 = load double, double* %17
%170 = load double, double* %21
%171 = fmul double 2.000000e+00, %170
%172 = load double, double* %17
%173 = fmul double %171, %172
%174 = load double, double* %18
%175 = fmul double %173, %174
%176 = call double @llvm.fmuladd.f64(double %168, double %169, double %175)
%177 = load double, double* %22
%178 = fmul double 2.000000e+00, %177
%179 = load double, double* %17
%180 = fmul double %178, %179
%181 = load double, double* %19
%182 = call double @llvm.fmuladd.f64(double %180, double %181, double %176)
%183 = load double, double* %23
%184 = load double, double* %18
%185 = fmul double %183, %184
%186 = load double, double* %18
%187 = call double @llvm.fmuladd.f64(double %185, double %186, double %182)
%188 = load double, double* %24
%189 = fmul double 2.000000e+00, %188
%190 = load double, double* %18
%191 = fmul double %189, %190
%192 = load double, double* %19
%193 = call double @llvm.fmuladd.f64(double %191, double %192, double %187)
%194 = load double, double* %25
%195 = load double, double* %19
%196 = fmul double %194, %195
%197 = load double, double* %19
%198 = call double @llvm.fmuladd.f64(double %196, double %197, double %193)
%199 = load double*, double** %8
%200 = getelementptr inbounds double, double* %199, i64 4
store double %198, double* %200
%201 = load double, double* %17
%202 = fneg double %201
%203 = load double, double* %22
%204 = load double, double* %18
%205 = load double, double* %24
%206 = fmul double %204, %205
%207 = fneg double %206
%208 = call double @llvm.fmuladd.f64(double %202, double %203, double %207)
%209 = load double, double* %19
%210 = load double, double* %25
%211 = fneg double %209
%212 = call double @llvm.fmuladd.f64(double %211, double %210, double %208)
%213 = load double*, double** %8
%214 = getelementptr inbounds double, double* %213, i64 5
store double %212, double* %214
%215 = load double*, double** %8
%216 = getelementptr inbounds double, double* %215, i64 2
%217 = load double, double* %216
%218 = load double*, double** %8
%219 = getelementptr inbounds double, double* %218, i64 6
store double %217, double* %219
%220 = load double*, double** %8
%221 = getelementptr inbounds double, double* %220, i64 5
%222 = load double, double* %221
%223 = load double*, double** %8
%224 = getelementptr inbounds double, double* %223, i64 7
store double %222, double* %224
%225 = load double, double* %25
%226 = load double*, double** %8
%227 = getelementptr inbounds double, double* %226, i64 8
store double %225, double* %227
%228 = load double, double* %12
%229 = fneg double %228
%230 = load double, double* %10
%231 = load double, double* %13
%232 = load double, double* %9
%233 = fmul double %231, %232
%234 = fneg double %233
%235 = call double @llvm.fmuladd.f64(double %229, double %230, double %234)
%236 = load double*, double** %7
%237 = getelementptr inbounds double, double* %236, i64 0
store double %235, double* %237
%238 = load double, double* %13
%239 = fneg double %238
%240 = load double, double* %10
%241 = load double, double* %12
%242 = load double, double* %9
%243 = fmul double %241, %242
%244 = call double @llvm.fmuladd.f64(double %239, double %240, double %243)
%245 = load double*, double** %7
%246 = getelementptr inbounds double, double* %245, i64 1
store double %244, double* %246
%247 = load double*, double** %5
%248 = getelementptr inbounds double, double* %247, i64 2
%249 = load double, double* %248
%250 = fneg double %249
%251 = load double*, double** %7
%252 = getelementptr inbounds double, double* %251, i64 2
store double %250, double* %252
ret void
}

LLVM IR (-O2):
define void @doubles_xytcov_inv(double* nocapture %0, double* nocapture %1, double* nocapture writeonly %2, double* nocapture %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 = tail call double @sin(double %9)
%11 = tail call double @cos(double %9)
%12 = insertelement <2 x double> poison, double %10, i64 0
%13 = insertelement <2 x double> %12, double %11, i64 1
%14 = fneg <2 x double> %13
%15 = fmul double %5, %10
%16 = fmul double %5, %11
%17 = tail call double @llvm.fmuladd.f64(double %10, double %7, double %16)
%18 = load double, double* %1
%19 = getelementptr inbounds double, double* %1, i64 1
%20 = load double, double* %19
%21 = getelementptr inbounds double, double* %1, i64 2
%22 = load double, double* %21
%23 = getelementptr inbounds double, double* %1, i64 4
%24 = load double, double* %23
%25 = getelementptr inbounds double, double* %1, i64 5
%26 = load double, double* %25
%27 = getelementptr inbounds double, double* %1, i64 8
%28 = load double, double* %27
%29 = extractelement <2 x double> %14, i64 1
%30 = fmul double %18, %29
%31 = fmul double %20, 2.000000e+00
%32 = fmul double %31, %29
%33 = extractelement <2 x double> %14, i64 0
%34 = fmul double %32, %33
%35 = tail call double @llvm.fmuladd.f64(double %30, double %29, double %34)
%36 = fmul double %22, 2.000000e+00
%37 = fmul double %36, %29
%38 = fneg double %16
%39 = insertelement <2 x double> poison, double %7, i64 0
%40 = shufflevector <2 x double> %39, <2 x double> poison, <2 x i32> zeroinitializer
%41 = insertelement <2 x double> poison, double %38, i64 0
%42 = insertelement <2 x double> %41, double %15, i64 1
%43 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %14, <2 x double> %40, <2 x double> %42)
%44 = extractelement <2 x double> %43, i64 1
%45 = tail call double @llvm.fmuladd.f64(double %37, double %44, double %35)
%46 = fmul double %24, %33
%47 = tail call double @llvm.fmuladd.f64(double %46, double %33, double %45)
%48 = fmul double %26, 2.000000e+00
%49 = fmul double %48, %33
%50 = fmul double %44, %28
%51 = fmul double %20, %33
%52 = tail call double @llvm.fmuladd.f64(double %29, double %18, double %51)
%53 = tail call double @llvm.fmuladd.f64(double %44, double %22, double %52)
%54 = tail call double @llvm.fmuladd.f64(double %29, double %20, double %46)
%55 = tail call double @llvm.fmuladd.f64(double %44, double %26, double %54)
%56 = fmul double %55, %29
%57 = insertelement <2 x double> poison, double %49, i64 0
%58 = insertelement <2 x double> %57, double %10, i64 1
%59 = shufflevector <2 x double> %43, <2 x double> undef, <2 x i32> <i32 1, i32 undef>
%60 = insertelement <2 x double> %59, double %53, i64 1
%61 = insertelement <2 x double> poison, double %47, i64 0
%62 = insertelement <2 x double> %61, double %56, i64 1
%63 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %58, <2 x double> %60, <2 x double> %62)
%64 = fmul double %26, %33
%65 = tail call double @llvm.fmuladd.f64(double %29, double %22, double %64)
%66 = tail call double @llvm.fmuladd.f64(double %44, double %28, double %65)
%67 = insertelement <2 x double> poison, double %50, i64 0
%68 = insertelement <2 x double> %67, double %17, i64 1
%69 = insertelement <2 x double> %59, double %66, i64 1
%70 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %68, <2 x double> %69, <2 x double> %63)
%71 = bitcast double* %3 to <2 x double>*
store <2 x double> %70, <2 x double>* %71
%72 = fneg double %64
%73 = tail call double @llvm.fmuladd.f64(double %11, double %22, double %72)
%74 = fneg double %44
%75 = tail call double @llvm.fmuladd.f64(double %74, double %28, double %73)
%76 = getelementptr inbounds double, double* %3, i64 2
store double %75, double* %76
%77 = getelementptr inbounds double, double* %3, i64 3
%78 = extractelement <2 x double> %70, i64 1
store double %78, double* %77
%79 = fmul double %10, %18
%80 = fmul double %10, %31
%81 = fmul double %80, %29
%82 = tail call double @llvm.fmuladd.f64(double %79, double %10, double %81)
%83 = fmul double %10, %36
%84 = tail call double @llvm.fmuladd.f64(double %83, double %17, double %82)
%85 = fmul double %24, %29
%86 = tail call double @llvm.fmuladd.f64(double %85, double %29, double %84)
%87 = fmul double %48, %29
%88 = fmul double %17, %28
%89 = getelementptr inbounds double, double* %3, i64 4
%90 = fmul double %11, %26
%91 = insertelement <2 x double> poison, double %87, i64 0
%92 = shufflevector <2 x double> %91, <2 x double> %14, <2 x i32> <i32 0, i32 2>
%93 = insertelement <2 x double> poison, double %17, i64 0
%94 = insertelement <2 x double> %93, double %22, i64 1
%95 = insertelement <2 x double> poison, double %86, i64 0
%96 = insertelement <2 x double> %95, double %90, i64 1
%97 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %92, <2 x double> %94, <2 x double> %96)
%98 = fneg double %17
%99 = insertelement <2 x double> poison, double %88, i64 0
%100 = insertelement <2 x double> %99, double %98, i64 1
%101 = insertelement <2 x double> %93, double %28, i64 1
%102 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %100, <2 x double> %101, <2 x double> %97)
%103 = bitcast double* %89 to <2 x double>*
store <2 x double> %102, <2 x double>* %103
%104 = getelementptr inbounds double, double* %3, i64 6
store double %75, double* %104
%105 = getelementptr inbounds double, double* %3, i64 7
%106 = extractelement <2 x double> %102, i64 1
store double %106, double* %105
%107 = getelementptr inbounds double, double* %3, i64 8
store double %28, double* %107
%108 = bitcast double* %2 to <2 x double>*
store <2 x double> %43, <2 x double>* %108
%109 = load double, double* %8
%110 = fneg double %109
%111 = getelementptr inbounds double, double* %2, i64 2
store double %110, double* %111
ret void
}