#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(float);
scalar_t__ sin(float);
void floats_xytcov_inv(const float xyta[3], const float Ca[9], float xytr[3],
                       float Cr[9]) {
  float x = xyta[0], y = xyta[1], theta = xyta[2];
  float s = (float)sin(theta), c = (float)cos(theta);
  float J11 = -c, J12 = -s, J13 = -c * y + s * x;
  float J21 = s, J22 = -c, J23 = s * y + c * x;
  float P11 = Ca[0], P12 = Ca[1], P13 = Ca[2];
  float P22 = Ca[4], P23 = Ca[5];
  float 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):
<floats_xytcov_inv>:
push   %rbp
mov    %rsp,%rbp
sub    $0x70,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %rcx,-0x20(%rbp)
mov    -0x8(%rbp),%rax
movss  (%rax),%xmm0
movss  %xmm0,-0x24(%rbp)
mov    -0x8(%rbp),%rax
movss  0x4(%rax),%xmm0
movss  %xmm0,-0x28(%rbp)
mov    -0x8(%rbp),%rax
movss  0x8(%rax),%xmm0
movss  %xmm0,-0x2c(%rbp)
movss  -0x2c(%rbp),%xmm0
call   1030 <sin@plt>
cvtsi2ss %rax,%xmm0
movss  %xmm0,-0x30(%rbp)
movss  -0x2c(%rbp),%xmm0
call   1040 <cos@plt>
cvtsi2ss %rax,%xmm0
movss  %xmm0,-0x34(%rbp)
movss  -0x34(%rbp),%xmm0
movd   %xmm0,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm0
movss  %xmm0,-0x38(%rbp)
movss  -0x30(%rbp),%xmm0
movd   %xmm0,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm0
movss  %xmm0,-0x3c(%rbp)
movss  -0x34(%rbp),%xmm0
movd   %xmm0,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm0
movss  -0x28(%rbp),%xmm2
movss  -0x30(%rbp),%xmm1
mulss  -0x24(%rbp),%xmm1
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,-0x40(%rbp)
movss  -0x30(%rbp),%xmm0
movss  %xmm0,-0x44(%rbp)
movss  -0x34(%rbp),%xmm0
movd   %xmm0,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm0
movss  %xmm0,-0x48(%rbp)
movss  -0x30(%rbp),%xmm0
movss  -0x28(%rbp),%xmm2
movss  -0x34(%rbp),%xmm1
mulss  -0x24(%rbp),%xmm1
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,-0x4c(%rbp)
mov    -0x10(%rbp),%rax
movss  (%rax),%xmm0
movss  %xmm0,-0x50(%rbp)
mov    -0x10(%rbp),%rax
movss  0x4(%rax),%xmm0
movss  %xmm0,-0x54(%rbp)
mov    -0x10(%rbp),%rax
movss  0x8(%rax),%xmm0
movss  %xmm0,-0x58(%rbp)
mov    -0x10(%rbp),%rax
movss  0x10(%rax),%xmm0
movss  %xmm0,-0x5c(%rbp)
mov    -0x10(%rbp),%rax
movss  0x14(%rax),%xmm0
movss  %xmm0,-0x60(%rbp)
mov    -0x10(%rbp),%rax
movss  0x20(%rax),%xmm0
movss  %xmm0,-0x64(%rbp)
movss  -0x50(%rbp),%xmm0
mulss  -0x38(%rbp),%xmm0
movss  -0x38(%rbp),%xmm2
movss  0xd6f(%rip),%xmm1
mulss  -0x54(%rbp),%xmm1
mulss  -0x38(%rbp),%xmm1
mulss  -0x3c(%rbp),%xmm1
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  0xd50(%rip),%xmm1
mulss  -0x58(%rbp),%xmm1
mulss  -0x38(%rbp),%xmm1
movss  -0x40(%rbp),%xmm2
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  -0x5c(%rbp),%xmm0
mulss  -0x3c(%rbp),%xmm0
movss  -0x3c(%rbp),%xmm2
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  0xd1a(%rip),%xmm1
mulss  -0x60(%rbp),%xmm1
mulss  -0x3c(%rbp),%xmm1
movss  -0x40(%rbp),%xmm2
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  -0x64(%rbp),%xmm0
mulss  -0x40(%rbp),%xmm0
movss  -0x40(%rbp),%xmm2
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
mov    -0x20(%rbp),%rax
movss  %xmm0,(%rax)
movss  -0x44(%rbp),%xmm1
movss  -0x38(%rbp),%xmm0
movss  -0x50(%rbp),%xmm3
movss  -0x3c(%rbp),%xmm2
mulss  -0x54(%rbp),%xmm2
mulss  %xmm3,%xmm0
addss  %xmm2,%xmm0
movss  -0x40(%rbp),%xmm2
movss  -0x58(%rbp),%xmm3
mulss  %xmm3,%xmm2
addss  %xmm0,%xmm2
movss  -0x48(%rbp),%xmm0
movss  -0x38(%rbp),%xmm4
movss  -0x54(%rbp),%xmm5
movss  -0x3c(%rbp),%xmm3
mulss  -0x5c(%rbp),%xmm3
mulss  %xmm5,%xmm4
addss  %xmm3,%xmm4
movss  -0x40(%rbp),%xmm3
movss  -0x60(%rbp),%xmm5
mulss  %xmm5,%xmm3
addss  %xmm4,%xmm3
mulss  %xmm3,%xmm0
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  -0x4c(%rbp),%xmm0
movss  -0x38(%rbp),%xmm3
movss  -0x58(%rbp),%xmm4
movss  -0x3c(%rbp),%xmm2
mulss  -0x60(%rbp),%xmm2
mulss  %xmm4,%xmm3
addss  %xmm2,%xmm3
movss  -0x40(%rbp),%xmm2
movss  -0x64(%rbp),%xmm4
mulss  %xmm4,%xmm2
addss  %xmm3,%xmm2
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
mov    -0x20(%rbp),%rax
movss  %xmm0,0x4(%rax)
movss  -0x38(%rbp),%xmm0
movd   %xmm0,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm1
movss  -0x58(%rbp),%xmm2
movss  -0x3c(%rbp),%xmm0
mulss  -0x60(%rbp),%xmm0
movd   %xmm0,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm0
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  -0x40(%rbp),%xmm0
movss  -0x64(%rbp),%xmm2
movd   %xmm0,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm0
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
mov    -0x20(%rbp),%rax
movss  %xmm0,0x8(%rax)
mov    -0x20(%rbp),%rax
movss  0x4(%rax),%xmm0
mov    -0x20(%rbp),%rax
movss  %xmm0,0xc(%rax)
movss  -0x50(%rbp),%xmm0
mulss  -0x44(%rbp),%xmm0
movss  -0x44(%rbp),%xmm2
movss  0xba7(%rip),%xmm1
mulss  -0x54(%rbp),%xmm1
mulss  -0x44(%rbp),%xmm1
mulss  -0x48(%rbp),%xmm1
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  0xb88(%rip),%xmm1
mulss  -0x58(%rbp),%xmm1
mulss  -0x44(%rbp),%xmm1
movss  -0x4c(%rbp),%xmm2
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  -0x5c(%rbp),%xmm0
mulss  -0x48(%rbp),%xmm0
movss  -0x48(%rbp),%xmm2
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  0xb52(%rip),%xmm1
mulss  -0x60(%rbp),%xmm1
mulss  -0x48(%rbp),%xmm1
movss  -0x4c(%rbp),%xmm2
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  -0x64(%rbp),%xmm0
mulss  -0x4c(%rbp),%xmm0
movss  -0x4c(%rbp),%xmm2
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
mov    -0x20(%rbp),%rax
movss  %xmm0,0x10(%rax)
movss  -0x44(%rbp),%xmm0
movd   %xmm0,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm1
movss  -0x58(%rbp),%xmm2
movss  -0x48(%rbp),%xmm0
mulss  -0x60(%rbp),%xmm0
movd   %xmm0,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm0
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  -0x4c(%rbp),%xmm0
movss  -0x64(%rbp),%xmm2
movd   %xmm0,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm0
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
mov    -0x20(%rbp),%rax
movss  %xmm0,0x14(%rax)
mov    -0x20(%rbp),%rax
movss  0x8(%rax),%xmm0
mov    -0x20(%rbp),%rax
movss  %xmm0,0x18(%rax)
mov    -0x20(%rbp),%rax
movss  0x14(%rax),%xmm0
mov    -0x20(%rbp),%rax
movss  %xmm0,0x1c(%rax)
movss  -0x64(%rbp),%xmm0
mov    -0x20(%rbp),%rax
movss  %xmm0,0x20(%rax)
movss  -0x30(%rbp),%xmm0
movd   %xmm0,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm0
movss  -0x28(%rbp),%xmm2
movss  -0x34(%rbp),%xmm1
mulss  -0x24(%rbp),%xmm1
movd   %xmm1,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm1
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
mov    -0x18(%rbp),%rax
movss  %xmm0,(%rax)
movss  -0x34(%rbp),%xmm0
movd   %xmm0,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm0
movss  -0x28(%rbp),%xmm2
movss  -0x30(%rbp),%xmm1
mulss  -0x24(%rbp),%xmm1
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
mov    -0x18(%rbp),%rax
movss  %xmm0,0x4(%rax)
mov    -0x8(%rbp),%rax
movss  0x8(%rax),%xmm0
movd   %xmm0,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm0
mov    -0x18(%rbp),%rax
movss  %xmm0,0x8(%rax)
add    $0x70,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<floats_xytcov_inv>:
push   %r15
push   %r14
push   %r12
push   %rbx
sub    $0x88,%rsp
mov    %rcx,%r12
mov    %rdx,%r14
mov    %rsi,%rbx
mov    %rdi,%r15
movss  (%rdi),%xmm0
movaps %xmm0,0x10(%rsp)
movss  0x4(%rdi),%xmm0
movaps %xmm0,0x30(%rsp)
movss  0x8(%rdi),%xmm0
movss  %xmm0,0x20(%rsp)
call   1030 <sin@plt>
xorps  %xmm0,%xmm0
cvtsi2ss %rax,%xmm0
movaps %xmm0,0x40(%rsp)
movss  0x20(%rsp),%xmm0
call   1040 <cos@plt>
cvtsi2ss %rax,%xmm3
movaps 0xe7f(%rip),%xmm0
movaps %xmm3,%xmm1
xorps  %xmm0,%xmm1
movaps %xmm1,0x60(%rsp)
movaps 0x40(%rsp),%xmm13
movaps %xmm13,%xmm14
xorps  %xmm0,%xmm14
movaps 0x10(%rsp),%xmm11
mulss  %xmm13,%xmm11
movaps %xmm3,%xmm0
mulss  0x30(%rsp),%xmm0
subss  %xmm0,%xmm11
movss  (%rbx),%xmm6
movss  %xmm6,0xc(%rsp)
movss  0x4(%rbx),%xmm8
movss  0x8(%rbx),%xmm7
mulss  %xmm1,%xmm6
movaps %xmm8,%xmm1
addss  %xmm8,%xmm1
movaps %xmm1,%xmm0
mulss  %xmm3,%xmm0
mulss  %xmm13,%xmm0
movaps %xmm6,%xmm2
mulss  %xmm3,%xmm2
subss  %xmm2,%xmm0
movaps %xmm7,%xmm9
addss  %xmm7,%xmm9
movaps %xmm9,%xmm2
mulss  %xmm3,%xmm2
mulss  %xmm11,%xmm2
subss  %xmm2,%xmm0
movss  0x10(%rbx),%xmm10
movaps %xmm10,%xmm2
mulss  %xmm14,%xmm2
movaps %xmm2,%xmm4
mulss  %xmm13,%xmm4
subss  %xmm4,%xmm0
movss  0x14(%rbx),%xmm5
movaps %xmm5,%xmm15
addss  %xmm5,%xmm15
movaps %xmm15,%xmm4
mulss  %xmm13,%xmm4
mulss  %xmm11,%xmm4
subss  %xmm4,%xmm0
movss  0x20(%rbx),%xmm4
movaps %xmm4,0x50(%rsp)
movaps %xmm11,%xmm12
mulss  %xmm4,%xmm12
mulss  %xmm11,%xmm12
addss  %xmm0,%xmm12
movss  %xmm12,(%r12)
movaps %xmm3,%xmm0
mulss  %xmm8,%xmm0
mulss  %xmm13,%xmm8
subss  %xmm8,%xmm6
movaps %xmm11,%xmm4
mulss  %xmm7,%xmm4
addss  %xmm6,%xmm4
movaps %xmm4,0x20(%rsp)
subss  %xmm0,%xmm2
movaps %xmm11,%xmm0
movaps %xmm5,%xmm12
movaps %xmm5,0x70(%rsp)
mulss  %xmm5,%xmm0
addss  %xmm2,%xmm0
mulss  %xmm14,%xmm12
movaps %xmm3,%xmm2
mulss  %xmm7,%xmm2
movaps %xmm12,%xmm6
subss  %xmm2,%xmm6
movaps %xmm11,%xmm2
unpcklps %xmm13,%xmm2
movaps 0x50(%rsp),%xmm8
movaps %xmm8,%xmm4
unpcklps 0x30(%rsp),%xmm4
mulps  %xmm2,%xmm4
movaps 0x10(%rsp),%xmm2
mulss  %xmm3,%xmm2
movaps %xmm2,0x10(%rsp)
unpcklps %xmm2,%xmm6
addps  %xmm4,%xmm6
movaps 0x60(%rsp),%xmm4
mulss  %xmm4,%xmm0
xorps  0xd0d(%rip),%xmm12
unpcklps %xmm0,%xmm12
movaps %xmm13,%xmm2
movss  0xc(%rsp),%xmm13
mulss  %xmm2,%xmm13
mulss  %xmm2,%xmm1
mulss  %xmm3,%xmm1
mulss  %xmm2,%xmm13
subss  %xmm1,%xmm13
mulss  %xmm2,%xmm9
movaps %xmm8,%xmm0
unpcklps %xmm6,%xmm0
movaps %xmm8,%xmm5
shufps $0xd4,%xmm6,%xmm5
shufps $0x55,%xmm6,%xmm6
mulss  %xmm6,%xmm9
addss  %xmm13,%xmm9
mulss  %xmm3,%xmm10
mulss  %xmm3,%xmm10
addss  %xmm9,%xmm10
mulss  %xmm4,%xmm15
movaps 0x70(%rsp),%xmm1
mulss  %xmm3,%xmm1
unpcklps %xmm1,%xmm10
movlhps %xmm10,%xmm12
unpcklps %xmm2,%xmm3
unpcklps %xmm14,%xmm15
movlhps %xmm15,%xmm3
movaps %xmm6,%xmm2
unpcklps %xmm7,%xmm2
unpcklps 0x20(%rsp),%xmm7
movlhps %xmm2,%xmm7
mulps  %xmm3,%xmm7
movaps %xmm11,%xmm2
movaps 0xc79(%rip),%xmm4
xorps  %xmm4,%xmm2
addps  %xmm12,%xmm7
movaps %xmm6,%xmm3
mulss  %xmm8,%xmm3
unpcklps %xmm6,%xmm2
xorps  %xmm4,%xmm6
unpcklps %xmm6,%xmm3
movlhps %xmm3,%xmm2
shufps $0x24,%xmm5,%xmm0
mulps  %xmm2,%xmm0
addps  %xmm7,%xmm0
movaps %xmm0,%xmm1
shufps $0x55,%xmm0,%xmm1
movss  %xmm1,0x4(%r12)
movups %xmm0,0x8(%r12)
movss  %xmm0,0x18(%r12)
shufps $0xff,%xmm0,%xmm0
movss  %xmm0,0x1c(%r12)
movss  %xmm8,0x20(%r12)
mulss  0x30(%rsp),%xmm14
subss  0x10(%rsp),%xmm14
movss  %xmm14,(%r14)
movss  %xmm11,0x4(%r14)
movss  0x8(%r15),%xmm0
xorps  %xmm4,%xmm0
movss  %xmm0,0x8(%r14)
add    $0x88,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
ret

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

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