#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 */
scalar_t__ cos(double);
scalar_t__ 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 = (double)sin(theta), c = (double)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>
cvtsi2sd %rax,%xmm0
movsd  %xmm0,-0x40(%rbp)
movsd  -0x38(%rbp),%xmm0
call   1040 <cos@plt>
cvtsi2sd %rax,%xmm0
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  0xd35(%rip),%xmm1
mulsd  -0x88(%rbp),%xmm1
ff
mulsd  -0x50(%rbp),%xmm1
mulsd  -0x58(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  0xd13(%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  0xcd7(%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  0xb1f(%rip),%xmm1
mulsd  -0x88(%rbp),%xmm1
ff
mulsd  -0x68(%rbp),%xmm1
mulsd  -0x70(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  0xafd(%rip),%xmm1
mulsd  -0x90(%rbp),%xmm1
ff
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  0xac1(%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    $0x78,%rsp
mov    %rcx,%rbx
mov    %rdx,%r14
mov    %rsi,%r12
mov    %rdi,%r15
movsd  (%rdi),%xmm0
movsd  %xmm0,(%rsp)
movsd  0x8(%rdi),%xmm0
movsd  %xmm0,0x8(%rsp)
movsd  0x10(%rdi),%xmm0
movsd  %xmm0,0x10(%rsp)
call   1030 <sin@plt>
xorps  %xmm0,%xmm0
cvtsi2sd %rax,%xmm0
movapd %xmm0,0x40(%rsp)
movsd  0x10(%rsp),%xmm0
call   1040 <cos@plt>
cvtsi2sd %rax,%xmm8
movapd 0xe7f(%rip),%xmm0
movapd %xmm8,%xmm1
xorpd  %xmm0,%xmm1
movapd %xmm1,%xmm3
movapd %xmm1,0x10(%rsp)
movapd %xmm0,%xmm7
movsd  (%rsp),%xmm0
movapd %xmm0,%xmm6
movapd 0x40(%rsp),%xmm9
mulsd  %xmm9,%xmm6
movapd %xmm8,%xmm2
movsd  0x8(%rsp),%xmm1
mulsd  %xmm1,%xmm2
subsd  %xmm2,%xmm6
movapd %xmm6,%xmm5
mulsd  %xmm8,%xmm0
movsd  %xmm0,(%rsp)
movapd %xmm9,%xmm11
mulsd  %xmm1,%xmm11
addsd  %xmm0,%xmm11
movapd %xmm11,0x50(%rsp)
movsd  (%r12),%xmm12
movsd  %xmm12,0x38(%rsp)
movsd  0x8(%r12),%xmm1
movsd  %xmm1,0x30(%rsp)
movsd  0x10(%r12),%xmm10
mulsd  %xmm3,%xmm12
movapd %xmm1,%xmm0
addsd  %xmm1,%xmm0
movapd %xmm0,%xmm15
movapd %xmm0,%xmm14
mulsd  %xmm8,%xmm15
mulsd  %xmm9,%xmm15
movapd %xmm12,%xmm3
mulsd  %xmm8,%xmm3
subsd  %xmm3,%xmm15
movapd %xmm6,%xmm3
mulsd  %xmm10,%xmm3
movapd %xmm8,%xmm0
mulsd  %xmm10,%xmm0
movapd %xmm0,0x60(%rsp)
unpcklpd %xmm10,%xmm11
addsd  %xmm10,%xmm10
movapd %xmm10,%xmm4
mulsd  %xmm8,%xmm4
mulsd  %xmm6,%xmm4
subsd  %xmm4,%xmm15
movapd %xmm9,%xmm4
xorpd  %xmm7,%xmm4
movsd  0x20(%r12),%xmm1
movapd %xmm1,%xmm0
mulsd  %xmm4,%xmm0
movapd %xmm0,%xmm7
mulsd  %xmm9,%xmm7
subsd  %xmm7,%xmm15
movsd  0x28(%r12),%xmm6
movapd %xmm5,%xmm7
movapd %xmm5,%xmm13
mulsd  %xmm6,%xmm13
mulsd  %xmm9,%xmm14
mulsd  %xmm8,%xmm14
movsd  %xmm14,0x28(%rsp)
mulsd  %xmm8,%xmm1
mulsd  %xmm8,%xmm1
movapd %xmm6,%xmm2
movapd %xmm6,%xmm5
mulsd  %xmm8,%xmm6
movsd  0x30(%rsp),%xmm14
mulsd  %xmm14,%xmm8
mulsd  %xmm9,%xmm14
subsd  %xmm14,%xmm12
addsd  %xmm12,%xmm3
subsd  %xmm8,%xmm0
addsd  %xmm0,%xmm13
mulsd  0x10(%rsp),%xmm13
unpcklpd %xmm13,%xmm15
movapd %xmm7,%xmm12
movapd %xmm7,%xmm14
unpcklpd %xmm3,%xmm12
addsd  %xmm2,%xmm2
movapd %xmm2,%xmm7
mulsd  %xmm4,%xmm7
unpcklpd %xmm9,%xmm7
mulpd  %xmm7,%xmm12
addpd  %xmm15,%xmm12
movsd  0x40(%r12),%xmm8
movapd %xmm14,%xmm13
mulsd  %xmm8,%xmm13
mulsd  %xmm4,%xmm5
movapd %xmm5,%xmm15
movapd 0x60(%rsp),%xmm0
subsd  %xmm0,%xmm15
addsd  %xmm13,%xmm15
movapd %xmm14,%xmm7
unpcklpd %xmm15,%xmm7
subsd  %xmm5,%xmm0
subsd  %xmm13,%xmm0
movapd 0x50(%rsp),%xmm3
unpcklpd %xmm3,%xmm13
mulpd  %xmm13,%xmm7
addpd  %xmm12,%xmm7
movupd %xmm7,(%rbx)
movsd  %xmm0,0x10(%rbx)
movapd %xmm0,%xmm12
movhpd %xmm7,0x18(%rbx)
movsd  0x38(%rsp),%xmm5
mulsd  %xmm9,%xmm5
mulsd  %xmm9,%xmm5
subsd  0x28(%rsp),%xmm5
mulsd  %xmm9,%xmm10
mulsd  %xmm3,%xmm10
addsd  %xmm5,%xmm10
addsd  %xmm10,%xmm1
mulsd  0x10(%rsp),%xmm2
unpcklpd %xmm6,%xmm1
unpcklpd %xmm4,%xmm2
mulpd  %xmm2,%xmm11
movapd %xmm3,%xmm0
mulsd  %xmm8,%xmm0
addpd  %xmm1,%xmm11
movapd %xmm3,%xmm1
movapd 0xc1b(%rip),%xmm2
xorpd  %xmm2,%xmm1
unpcklpd %xmm1,%xmm0
unpcklpd %xmm8,%xmm3
mulpd  %xmm0,%xmm3
addpd  %xmm11,%xmm3
movupd %xmm3,0x20(%rbx)
movsd  %xmm12,0x30(%rbx)
movhpd %xmm3,0x38(%rbx)
movsd  %xmm8,0x40(%rbx)
mulsd  0x8(%rsp),%xmm4
subsd  (%rsp),%xmm4
movsd  %xmm4,(%r14)
movsd  %xmm14,0x8(%r14)
movsd  0x10(%r15),%xmm0
xorpd  %xmm2,%xmm0
movlpd %xmm0,0x10(%r14)
add    $0x78,%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 i64 @sin(double %35)
%37 = sitofp i64 %36 to double
store double %37, double* %12
%38 = load double, double* %11
%39 = call i64 @cos(double %38)
%40 = sitofp i64 %39 to double
store double %40, double* %13
%41 = load double, double* %13
%42 = fneg double %41
store double %42, double* %14
%43 = load double, double* %12
%44 = fneg double %43
store double %44, double* %15
%45 = load double, double* %13
%46 = fneg double %45
%47 = load double, double* %10
%48 = load double, double* %12
%49 = load double, double* %9
%50 = fmul double %48, %49
%51 = call double @llvm.fmuladd.f64(double %46, double %47, double %50)
store double %51, double* %16
%52 = load double, double* %12
store double %52, double* %17
%53 = load double, double* %13
%54 = fneg double %53
store double %54, double* %18
%55 = load double, double* %12
%56 = load double, double* %10
%57 = load double, double* %13
%58 = load double, double* %9
%59 = fmul double %57, %58
%60 = call double @llvm.fmuladd.f64(double %55, double %56, double %59)
store double %60, double* %19
%61 = load double*, double** %6
%62 = getelementptr inbounds double, double* %61, i64 0
%63 = load double, double* %62
store double %63, double* %20
%64 = load double*, double** %6
%65 = getelementptr inbounds double, double* %64, i64 1
%66 = load double, double* %65
store double %66, double* %21
%67 = load double*, double** %6
%68 = getelementptr inbounds double, double* %67, i64 2
%69 = load double, double* %68
store double %69, double* %22
%70 = load double*, double** %6
%71 = getelementptr inbounds double, double* %70, i64 4
%72 = load double, double* %71
store double %72, double* %23
%73 = load double*, double** %6
%74 = getelementptr inbounds double, double* %73, i64 5
%75 = load double, double* %74
store double %75, double* %24
%76 = load double*, double** %6
%77 = getelementptr inbounds double, double* %76, i64 8
%78 = load double, double* %77
store double %78, double* %25
%79 = load double, double* %20
%80 = load double, double* %14
%81 = fmul double %79, %80
%82 = load double, double* %14
%83 = load double, double* %21
%84 = fmul double 2.000000e+00, %83
%85 = load double, double* %14
%86 = fmul double %84, %85
%87 = load double, double* %15
%88 = fmul double %86, %87
%89 = call double @llvm.fmuladd.f64(double %81, double %82, double %88)
%90 = load double, double* %22
%91 = fmul double 2.000000e+00, %90
%92 = load double, double* %14
%93 = fmul double %91, %92
%94 = load double, double* %16
%95 = call double @llvm.fmuladd.f64(double %93, double %94, double %89)
%96 = load double, double* %23
%97 = load double, double* %15
%98 = fmul double %96, %97
%99 = load double, double* %15
%100 = call double @llvm.fmuladd.f64(double %98, double %99, double %95)
%101 = load double, double* %24
%102 = fmul double 2.000000e+00, %101
%103 = load double, double* %15
%104 = fmul double %102, %103
%105 = load double, double* %16
%106 = call double @llvm.fmuladd.f64(double %104, double %105, double %100)
%107 = load double, double* %25
%108 = load double, double* %16
%109 = fmul double %107, %108
%110 = load double, double* %16
%111 = call double @llvm.fmuladd.f64(double %109, double %110, double %106)
%112 = load double*, double** %8
%113 = getelementptr inbounds double, double* %112, i64 0
store double %111, double* %113
%114 = load double, double* %17
%115 = load double, double* %14
%116 = load double, double* %20
%117 = load double, double* %15
%118 = load double, double* %21
%119 = fmul double %117, %118
%120 = call double @llvm.fmuladd.f64(double %115, double %116, double %119)
%121 = load double, double* %16
%122 = load double, double* %22
%123 = call double @llvm.fmuladd.f64(double %121, double %122, double %120)
%124 = load double, double* %18
%125 = load double, double* %14
%126 = load double, double* %21
%127 = load double, double* %15
%128 = load double, double* %23
%129 = fmul double %127, %128
%130 = call double @llvm.fmuladd.f64(double %125, double %126, double %129)
%131 = load double, double* %16
%132 = load double, double* %24
%133 = call double @llvm.fmuladd.f64(double %131, double %132, double %130)
%134 = fmul double %124, %133
%135 = call double @llvm.fmuladd.f64(double %114, double %123, double %134)
%136 = load double, double* %19
%137 = load double, double* %14
%138 = load double, double* %22
%139 = load double, double* %15
%140 = load double, double* %24
%141 = fmul double %139, %140
%142 = call double @llvm.fmuladd.f64(double %137, double %138, double %141)
%143 = load double, double* %16
%144 = load double, double* %25
%145 = call double @llvm.fmuladd.f64(double %143, double %144, double %142)
%146 = call double @llvm.fmuladd.f64(double %136, double %145, double %135)
%147 = load double*, double** %8
%148 = getelementptr inbounds double, double* %147, i64 1
store double %146, double* %148
%149 = load double, double* %14
%150 = fneg double %149
%151 = load double, double* %22
%152 = load double, double* %15
%153 = load double, double* %24
%154 = fmul double %152, %153
%155 = fneg double %154
%156 = call double @llvm.fmuladd.f64(double %150, double %151, double %155)
%157 = load double, double* %16
%158 = load double, double* %25
%159 = fneg double %157
%160 = call double @llvm.fmuladd.f64(double %159, double %158, double %156)
%161 = load double*, double** %8
%162 = getelementptr inbounds double, double* %161, i64 2
store double %160, double* %162
%163 = load double*, double** %8
%164 = getelementptr inbounds double, double* %163, i64 1
%165 = load double, double* %164
%166 = load double*, double** %8
%167 = getelementptr inbounds double, double* %166, i64 3
store double %165, double* %167
%168 = load double, double* %20
%169 = load double, double* %17
%170 = fmul double %168, %169
%171 = load double, double* %17
%172 = load double, double* %21
%173 = fmul double 2.000000e+00, %172
%174 = load double, double* %17
%175 = fmul double %173, %174
%176 = load double, double* %18
%177 = fmul double %175, %176
%178 = call double @llvm.fmuladd.f64(double %170, double %171, double %177)
%179 = load double, double* %22
%180 = fmul double 2.000000e+00, %179
%181 = load double, double* %17
%182 = fmul double %180, %181
%183 = load double, double* %19
%184 = call double @llvm.fmuladd.f64(double %182, double %183, double %178)
%185 = load double, double* %23
%186 = load double, double* %18
%187 = fmul double %185, %186
%188 = load double, double* %18
%189 = call double @llvm.fmuladd.f64(double %187, double %188, double %184)
%190 = load double, double* %24
%191 = fmul double 2.000000e+00, %190
%192 = load double, double* %18
%193 = fmul double %191, %192
%194 = load double, double* %19
%195 = call double @llvm.fmuladd.f64(double %193, double %194, double %189)
%196 = load double, double* %25
%197 = load double, double* %19
%198 = fmul double %196, %197
%199 = load double, double* %19
%200 = call double @llvm.fmuladd.f64(double %198, double %199, double %195)
%201 = load double*, double** %8
%202 = getelementptr inbounds double, double* %201, i64 4
store double %200, double* %202
%203 = load double, double* %17
%204 = fneg double %203
%205 = load double, double* %22
%206 = load double, double* %18
%207 = load double, double* %24
%208 = fmul double %206, %207
%209 = fneg double %208
%210 = call double @llvm.fmuladd.f64(double %204, double %205, double %209)
%211 = load double, double* %19
%212 = load double, double* %25
%213 = fneg double %211
%214 = call double @llvm.fmuladd.f64(double %213, double %212, double %210)
%215 = load double*, double** %8
%216 = getelementptr inbounds double, double* %215, i64 5
store double %214, double* %216
%217 = load double*, double** %8
%218 = getelementptr inbounds double, double* %217, i64 2
%219 = load double, double* %218
%220 = load double*, double** %8
%221 = getelementptr inbounds double, double* %220, i64 6
store double %219, double* %221
%222 = load double*, double** %8
%223 = getelementptr inbounds double, double* %222, i64 5
%224 = load double, double* %223
%225 = load double*, double** %8
%226 = getelementptr inbounds double, double* %225, i64 7
store double %224, double* %226
%227 = load double, double* %25
%228 = load double*, double** %8
%229 = getelementptr inbounds double, double* %228, i64 8
store double %227, double* %229
%230 = load double, double* %12
%231 = fneg double %230
%232 = load double, double* %10
%233 = load double, double* %13
%234 = load double, double* %9
%235 = fmul double %233, %234
%236 = fneg double %235
%237 = call double @llvm.fmuladd.f64(double %231, double %232, double %236)
%238 = load double*, double** %7
%239 = getelementptr inbounds double, double* %238, i64 0
store double %237, double* %239
%240 = load double, double* %13
%241 = fneg double %240
%242 = load double, double* %10
%243 = load double, double* %12
%244 = load double, double* %9
%245 = fmul double %243, %244
%246 = call double @llvm.fmuladd.f64(double %241, double %242, double %245)
%247 = load double*, double** %7
%248 = getelementptr inbounds double, double* %247, i64 1
store double %246, double* %248
%249 = load double*, double** %5
%250 = getelementptr inbounds double, double* %249, i64 2
%251 = load double, double* %250
%252 = fneg double %251
%253 = load double*, double** %7
%254 = getelementptr inbounds double, double* %253, i64 2
store double %252, double* %254
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 i64 @sin(double %9)
%11 = sitofp i64 %10 to double
%12 = tail call i64 @cos(double %9)
%13 = sitofp i64 %12 to double
%14 = fneg double %13
%15 = fneg double %11
%16 = fmul double %5, %11
%17 = tail call double @llvm.fmuladd.f64(double %14, double %7, double %16)
%18 = fmul double %5, %13
%19 = tail call double @llvm.fmuladd.f64(double %11, double %7, double %18)
%20 = load double, double* %1
%21 = getelementptr inbounds double, double* %1, i64 1
%22 = load double, double* %21
%23 = getelementptr inbounds double, double* %1, i64 2
%24 = load double, double* %23
%25 = getelementptr inbounds double, double* %1, i64 4
%26 = load double, double* %25
%27 = getelementptr inbounds double, double* %1, i64 5
%28 = load double, double* %27
%29 = getelementptr inbounds double, double* %1, i64 8
%30 = load double, double* %29
%31 = fmul double %20, %14
%32 = fmul double %22, 2.000000e+00
%33 = fmul double %32, %14
%34 = fmul double %33, %15
%35 = tail call double @llvm.fmuladd.f64(double %31, double %14, double %34)
%36 = fmul double %24, 2.000000e+00
%37 = fmul double %36, %14
%38 = tail call double @llvm.fmuladd.f64(double %37, double %17, double %35)
%39 = fmul double %26, %15
%40 = tail call double @llvm.fmuladd.f64(double %39, double %15, double %38)
%41 = fmul double %28, 2.000000e+00
%42 = fmul double %41, %15
%43 = fmul double %17, %30
%44 = fmul double %22, %15
%45 = tail call double @llvm.fmuladd.f64(double %14, double %20, double %44)
%46 = tail call double @llvm.fmuladd.f64(double %17, double %24, double %45)
%47 = tail call double @llvm.fmuladd.f64(double %14, double %22, double %39)
%48 = tail call double @llvm.fmuladd.f64(double %17, double %28, double %47)
%49 = fmul double %48, %14
%50 = insertelement <2 x double> poison, double %42, i64 0
%51 = insertelement <2 x double> %50, double %11, i64 1
%52 = insertelement <2 x double> poison, double %17, i64 0
%53 = insertelement <2 x double> %52, double %46, i64 1
%54 = insertelement <2 x double> poison, double %40, i64 0
%55 = insertelement <2 x double> %54, double %49, i64 1
%56 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %51, <2 x double> %53, <2 x double> %55)
%57 = fmul double %28, %15
%58 = tail call double @llvm.fmuladd.f64(double %14, double %24, double %57)
%59 = tail call double @llvm.fmuladd.f64(double %17, double %30, double %58)
%60 = insertelement <2 x double> poison, double %43, i64 0
%61 = insertelement <2 x double> %60, double %19, i64 1
%62 = insertelement <2 x double> %52, double %59, i64 1
%63 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %61, <2 x double> %62, <2 x double> %56)
%64 = bitcast double* %3 to <2 x double>*
store <2 x double> %63, <2 x double>* %64
%65 = fneg double %57
%66 = tail call double @llvm.fmuladd.f64(double %13, double %24, double %65)
%67 = fneg double %17
%68 = tail call double @llvm.fmuladd.f64(double %67, double %30, double %66)
%69 = getelementptr inbounds double, double* %3, i64 2
store double %68, double* %69
%70 = getelementptr inbounds double, double* %3, i64 3
%71 = extractelement <2 x double> %63, i64 1
store double %71, double* %70
%72 = fmul double %20, %11
%73 = fmul double %32, %11
%74 = fmul double %73, %14
%75 = tail call double @llvm.fmuladd.f64(double %72, double %11, double %74)
%76 = fmul double %36, %11
%77 = tail call double @llvm.fmuladd.f64(double %76, double %19, double %75)
%78 = fmul double %26, %14
%79 = tail call double @llvm.fmuladd.f64(double %78, double %14, double %77)
%80 = fmul double %41, %14
%81 = fmul double %19, %30
%82 = getelementptr inbounds double, double* %3, i64 4
%83 = fmul double %28, %13
%84 = insertelement <2 x double> poison, double %80, i64 0
%85 = insertelement <2 x double> %84, double %15, i64 1
%86 = insertelement <2 x double> poison, double %19, i64 0
%87 = insertelement <2 x double> %86, double %24, i64 1
%88 = insertelement <2 x double> poison, double %79, i64 0
%89 = insertelement <2 x double> %88, double %83, i64 1
%90 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %85, <2 x double> %87, <2 x double> %89)
%91 = fneg double %19
%92 = insertelement <2 x double> poison, double %81, i64 0
%93 = insertelement <2 x double> %92, double %91, i64 1
%94 = insertelement <2 x double> %86, double %30, i64 1
%95 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %93, <2 x double> %94, <2 x double> %90)
%96 = bitcast double* %82 to <2 x double>*
store <2 x double> %95, <2 x double>* %96
%97 = getelementptr inbounds double, double* %3, i64 6
store double %68, double* %97
%98 = getelementptr inbounds double, double* %3, i64 7
%99 = extractelement <2 x double> %95, i64 1
store double %99, double* %98
%100 = getelementptr inbounds double, double* %3, i64 8
store double %30, double* %100
%101 = fneg double %18
%102 = tail call double @llvm.fmuladd.f64(double %15, double %7, double %101)
store double %102, double* %2
%103 = getelementptr inbounds double, double* %2, i64 1
store double %17, double* %103
%104 = load double, double* %8
%105 = fneg double %104
%106 = getelementptr inbounds double, double* %2, i64 2
store double %105, double* %106
ret void
}