#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_mul(const double xyta[3], const double Ca[9],
                        const double xytb[3], const double Cb[9],
                        double xytr[3], double Cr[9]) {
  double xa = xyta[0], ya = xyta[1], ta = xyta[2];
  double xb = xytb[0], yb = xytb[1];
  double sa = sin(ta), ca = cos(ta);
  double P11 = Ca[0], P12 = Ca[1], P13 = Ca[2];
  double P22 = Ca[4], P23 = Ca[5];
  double P33 = Ca[8];
  double Q11 = Cb[0], Q12 = Cb[1], Q13 = Cb[2];
  double Q22 = Cb[4], Q23 = Cb[5];
  double Q33 = Cb[8];
  double JA13 = -sa * xb - ca * yb;
  double JA23 = ca * xb - sa * yb;
  double JB11 = ca;
  double JB12 = -sa;
  double JB21 = sa;
  double JB22 = ca;
  Cr[0] = P33 * JA13 * JA13 + 2 * P13 * JA13 + Q11 * JB11 * JB11 +
          2 * Q12 * JB11 * JB12 + Q22 * JB12 * JB12 + P11;
  Cr[1] = P12 + JA23 * (P13 + JA13 * P33) + JA13 * P23 +
          JB21 * (JB11 * Q11 + JB12 * Q12) + JB22 * (JB11 * Q12 + JB12 * Q22);
  Cr[2] = P13 + JA13 * P33 + JB11 * Q13 + JB12 * Q23;
  Cr[3] = Cr[1];
  Cr[4] = P33 * JA23 * JA23 + 2 * P23 * JA23 + Q11 * JB21 * JB21 +
          2 * Q12 * JB21 * JB22 + Q22 * JB22 * JB22 + P22;
  Cr[5] = P23 + JA23 * P33 + JB21 * Q13 + JB22 * Q23;
  Cr[6] = Cr[2];
  Cr[7] = Cr[5];
  Cr[8] = P33 + Q33;
  xytr[0] = ca * xb - sa * yb + xa;
  xytr[1] = sa * xb + ca * yb + ya;
  xytr[2] = xyta[2] + xytb[2];
}


x86 assembly (clang, -O0):
<doubles_xytcov_mul>:
push   %rbp
mov    %rsp,%rbp
sub    $0x100,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %rcx,-0x20(%rbp)
mov    %r8,-0x28(%rbp)
mov    %r9,-0x30(%rbp)
mov    -0x8(%rbp),%rax
movsd  (%rax),%xmm0
movsd  %xmm0,-0x38(%rbp)
mov    -0x8(%rbp),%rax
movsd  0x8(%rax),%xmm0
movsd  %xmm0,-0x40(%rbp)
mov    -0x8(%rbp),%rax
movsd  0x10(%rax),%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x18(%rbp),%rax
movsd  (%rax),%xmm0
movsd  %xmm0,-0x50(%rbp)
mov    -0x18(%rbp),%rax
movsd  0x8(%rax),%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  -0x48(%rbp),%xmm0
call   1030 <sin@plt>
movsd  %xmm0,-0x60(%rbp)
movsd  -0x48(%rbp),%xmm0
call   1040 <cos@plt>
movsd  %xmm0,-0x68(%rbp)
mov    -0x10(%rbp),%rax
movsd  (%rax),%xmm0
movsd  %xmm0,-0x70(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x8(%rax),%xmm0
movsd  %xmm0,-0x78(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x10(%rax),%xmm0
movsd  %xmm0,-0x80(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x20(%rax),%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
mov    -0x10(%rbp),%rax
movsd  0x28(%rax),%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
mov    -0x10(%rbp),%rax
movsd  0x40(%rax),%xmm0
movsd  %xmm0,-0x98(%rbp)
mov    -0x20(%rbp),%rax
movsd  (%rax),%xmm0
movsd  %xmm0,-0xa0(%rbp)
ff
mov    -0x20(%rbp),%rax
movsd  0x8(%rax),%xmm0
movsd  %xmm0,-0xa8(%rbp)
ff
mov    -0x20(%rbp),%rax
movsd  0x10(%rax),%xmm0
movsd  %xmm0,-0xb0(%rbp)
ff
mov    -0x20(%rbp),%rax
movsd  0x20(%rax),%xmm0
movsd  %xmm0,-0xb8(%rbp)
ff
mov    -0x20(%rbp),%rax
movsd  0x28(%rax),%xmm0
movsd  %xmm0,-0xc0(%rbp)
ff
mov    -0x20(%rbp),%rax
movsd  0x40(%rax),%xmm0
movsd  %xmm0,-0xc8(%rbp)
ff
movsd  -0x60(%rbp),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
movsd  -0x50(%rbp),%xmm2
movsd  -0x68(%rbp),%xmm1
mulsd  -0x58(%rbp),%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xd0(%rbp)
ff
movsd  -0x68(%rbp),%xmm0
movsd  -0x50(%rbp),%xmm2
movsd  -0x60(%rbp),%xmm1
mulsd  -0x58(%rbp),%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xd8(%rbp)
ff
movsd  -0x68(%rbp),%xmm0
movsd  %xmm0,-0xe0(%rbp)
ff
movsd  -0x60(%rbp),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
movsd  %xmm0,-0xe8(%rbp)
ff
movsd  -0x60(%rbp),%xmm0
movsd  %xmm0,-0xf0(%rbp)
ff
movsd  -0x68(%rbp),%xmm0
movsd  %xmm0,-0xf8(%rbp)
ff
movsd  -0x98(%rbp),%xmm1
ff
mulsd  -0xd0(%rbp),%xmm1
ff
movsd  -0xd0(%rbp),%xmm2
ff
movsd  0xca2(%rip),%xmm0
mulsd  -0x80(%rbp),%xmm0
mulsd  -0xd0(%rbp),%xmm0
ff
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  -0xa0(%rbp),%xmm0
ff
mulsd  -0xe0(%rbp),%xmm0
ff
movsd  -0xe0(%rbp),%xmm2
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  0xc65(%rip),%xmm1
mulsd  -0xa8(%rbp),%xmm1
ff
mulsd  -0xe0(%rbp),%xmm1
ff
movsd  -0xe8(%rbp),%xmm2
ff
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  -0xb8(%rbp),%xmm0
ff
mulsd  -0xe8(%rbp),%xmm0
ff
movsd  -0xe8(%rbp),%xmm2
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
addsd  -0x70(%rbp),%xmm0
mov    -0x30(%rbp),%rax
movsd  %xmm0,(%rax)
movsd  -0x78(%rbp),%xmm0
movsd  -0xd8(%rbp),%xmm1
ff
movsd  -0x80(%rbp),%xmm3
movsd  -0xd0(%rbp),%xmm2
ff
movsd  -0x98(%rbp),%xmm4
ff
mulsd  %xmm4,%xmm2
addsd  %xmm3,%xmm2
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  -0xd0(%rbp),%xmm0
ff
movsd  -0x90(%rbp),%xmm2
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  -0xf0(%rbp),%xmm1
ff
movsd  -0xe0(%rbp),%xmm2
ff
movsd  -0xa0(%rbp),%xmm4
ff
movsd  -0xe8(%rbp),%xmm3
ff
mulsd  -0xa8(%rbp),%xmm3
ff
mulsd  %xmm4,%xmm2
addsd  %xmm3,%xmm2
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  -0xf8(%rbp),%xmm0
ff
movsd  -0xe0(%rbp),%xmm2
ff
movsd  -0xa8(%rbp),%xmm4
ff
movsd  -0xe8(%rbp),%xmm3
ff
mulsd  -0xb8(%rbp),%xmm3
ff
mulsd  %xmm4,%xmm2
addsd  %xmm3,%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x30(%rbp),%rax
movsd  %xmm0,0x8(%rax)
movsd  -0x80(%rbp),%xmm1
movsd  -0xd0(%rbp),%xmm0
ff
movsd  -0x98(%rbp),%xmm2
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  -0xe0(%rbp),%xmm1
ff
movsd  -0xb0(%rbp),%xmm2
ff
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  -0xe8(%rbp),%xmm0
ff
movsd  -0xc0(%rbp),%xmm2
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x30(%rbp),%rax
movsd  %xmm0,0x10(%rax)
mov    -0x30(%rbp),%rax
movsd  0x8(%rax),%xmm0
mov    -0x30(%rbp),%rax
movsd  %xmm0,0x18(%rax)
movsd  -0x98(%rbp),%xmm1
ff
mulsd  -0xd8(%rbp),%xmm1
ff
movsd  -0xd8(%rbp),%xmm2
ff
movsd  0xacd(%rip),%xmm0
mulsd  -0x90(%rbp),%xmm0
ff
mulsd  -0xd8(%rbp),%xmm0
ff
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  -0xa0(%rbp),%xmm0
ff
mulsd  -0xf0(%rbp),%xmm0
ff
movsd  -0xf0(%rbp),%xmm2
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  0xa8d(%rip),%xmm1
mulsd  -0xa8(%rbp),%xmm1
ff
mulsd  -0xf0(%rbp),%xmm1
ff
movsd  -0xf8(%rbp),%xmm2
ff
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  -0xb8(%rbp),%xmm0
ff
mulsd  -0xf8(%rbp),%xmm0
ff
movsd  -0xf8(%rbp),%xmm2
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
addsd  -0x88(%rbp),%xmm0
ff
mov    -0x30(%rbp),%rax
movsd  %xmm0,0x20(%rax)
movsd  -0x90(%rbp),%xmm1
ff
movsd  -0xd8(%rbp),%xmm0
ff
movsd  -0x98(%rbp),%xmm2
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  -0xf0(%rbp),%xmm1
ff
movsd  -0xb0(%rbp),%xmm2
ff
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  -0xf8(%rbp),%xmm0
ff
movsd  -0xc0(%rbp),%xmm2
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x30(%rbp),%rax
movsd  %xmm0,0x28(%rax)
mov    -0x30(%rbp),%rax
movsd  0x10(%rax),%xmm0
mov    -0x30(%rbp),%rax
movsd  %xmm0,0x30(%rax)
mov    -0x30(%rbp),%rax
movsd  0x28(%rax),%xmm0
mov    -0x30(%rbp),%rax
movsd  %xmm0,0x38(%rax)
movsd  -0x98(%rbp),%xmm0
ff
addsd  -0xc8(%rbp),%xmm0
ff
mov    -0x30(%rbp),%rax
movsd  %xmm0,0x40(%rax)
movsd  -0x68(%rbp),%xmm0
movsd  -0x50(%rbp),%xmm2
movsd  -0x60(%rbp),%xmm1
mulsd  -0x58(%rbp),%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
addsd  -0x38(%rbp),%xmm0
mov    -0x28(%rbp),%rax
movsd  %xmm0,(%rax)
movsd  -0x60(%rbp),%xmm0
movsd  -0x50(%rbp),%xmm2
movsd  -0x68(%rbp),%xmm1
mulsd  -0x58(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
addsd  -0x40(%rbp),%xmm0
mov    -0x28(%rbp),%rax
movsd  %xmm0,0x8(%rax)
mov    -0x8(%rbp),%rax
movsd  0x10(%rax),%xmm0
mov    -0x18(%rbp),%rax
addsd  0x10(%rax),%xmm0
mov    -0x28(%rbp),%rax
movsd  %xmm0,0x10(%rax)
add    $0x100,%rsp
pop    %rbp
ret

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

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

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