#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 */
int /*<<< orphan*/ assert(int);
void solve3x3(double M[3 * 3], double P[3], double C[3]) {
  double delta = M[0] * M[4] * M[8] + M[1] * M[5] * M[6] + M[2] * M[3] * M[7] -
                 M[6] * M[4] * M[2] - M[7] * M[5] * M[0] - M[8] * M[3] * M[1];
  double delta_x = P[0] * M[4] * M[8] + M[1] * M[5] * P[2] +
                   M[2] * P[1] * M[7] - P[2] * M[4] * M[2] -
                   M[7] * M[5] * P[0] - M[8] * P[1] * M[1];
  double delta_y = M[0] * P[1] * M[8] + P[0] * M[5] * M[6] +
                   M[2] * M[3] * P[2] - M[6] * P[1] * M[2] -
                   P[2] * M[5] * M[0] - M[8] * M[3] * P[0];
  double delta_z = M[0] * M[4] * P[2] + M[1] * P[1] * M[6] +
                   P[0] * M[3] * M[7] - M[6] * M[4] * P[0] -
                   M[7] * P[1] * M[0] - P[2] * M[3] * M[1];
  assert(delta != 0.f);
  C[0] = delta_x / delta;
  C[1] = delta_y / delta;
  C[2] = delta_z / delta;
}


x86 assembly (clang, -O0):
<solve3x3>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    -0x8(%rbp),%rax
movsd  (%rax),%xmm0
mov    -0x8(%rbp),%rax
mulsd  0x20(%rax),%xmm0
mov    -0x8(%rbp),%rax
movsd  0x40(%rax),%xmm2
mov    -0x8(%rbp),%rax
movsd  0x8(%rax),%xmm1
mov    -0x8(%rbp),%rax
mulsd  0x28(%rax),%xmm1
mov    -0x8(%rbp),%rax
mulsd  0x30(%rax),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x8(%rbp),%rax
movsd  0x10(%rax),%xmm1
mov    -0x8(%rbp),%rax
mulsd  0x18(%rax),%xmm1
mov    -0x8(%rbp),%rax
movsd  0x38(%rax),%xmm2
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
mov    -0x8(%rbp),%rax
movsd  0x30(%rax),%xmm0
mov    -0x8(%rbp),%rax
mulsd  0x20(%rax),%xmm0
mov    -0x8(%rbp),%rax
movsd  0x10(%rax),%xmm2
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x8(%rbp),%rax
movsd  0x38(%rax),%xmm1
mov    -0x8(%rbp),%rax
mulsd  0x28(%rax),%xmm1
mov    -0x8(%rbp),%rax
movsd  (%rax),%xmm2
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
mov    -0x8(%rbp),%rax
movsd  0x40(%rax),%xmm0
mov    -0x8(%rbp),%rax
mulsd  0x18(%rax),%xmm0
mov    -0x8(%rbp),%rax
movsd  0x8(%rax),%xmm2
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x20(%rbp)
mov    -0x10(%rbp),%rax
movsd  (%rax),%xmm0
mov    -0x8(%rbp),%rax
mulsd  0x20(%rax),%xmm0
mov    -0x8(%rbp),%rax
movsd  0x40(%rax),%xmm2
mov    -0x8(%rbp),%rax
movsd  0x8(%rax),%xmm1
mov    -0x8(%rbp),%rax
mulsd  0x28(%rax),%xmm1
mov    -0x10(%rbp),%rax
mulsd  0x10(%rax),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x8(%rbp),%rax
movsd  0x10(%rax),%xmm1
mov    -0x10(%rbp),%rax
mulsd  0x8(%rax),%xmm1
mov    -0x8(%rbp),%rax
movsd  0x38(%rax),%xmm2
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
mov    -0x10(%rbp),%rax
movsd  0x10(%rax),%xmm0
mov    -0x8(%rbp),%rax
mulsd  0x20(%rax),%xmm0
mov    -0x8(%rbp),%rax
movsd  0x10(%rax),%xmm2
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x8(%rbp),%rax
movsd  0x38(%rax),%xmm1
mov    -0x8(%rbp),%rax
mulsd  0x28(%rax),%xmm1
mov    -0x10(%rbp),%rax
movsd  (%rax),%xmm2
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
mov    -0x8(%rbp),%rax
movsd  0x40(%rax),%xmm0
mov    -0x10(%rbp),%rax
mulsd  0x8(%rax),%xmm0
mov    -0x8(%rbp),%rax
movsd  0x8(%rax),%xmm2
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x28(%rbp)
mov    -0x8(%rbp),%rax
movsd  (%rax),%xmm0
mov    -0x10(%rbp),%rax
mulsd  0x8(%rax),%xmm0
mov    -0x8(%rbp),%rax
movsd  0x40(%rax),%xmm2
mov    -0x10(%rbp),%rax
movsd  (%rax),%xmm1
mov    -0x8(%rbp),%rax
mulsd  0x28(%rax),%xmm1
mov    -0x8(%rbp),%rax
mulsd  0x30(%rax),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x8(%rbp),%rax
movsd  0x10(%rax),%xmm1
mov    -0x8(%rbp),%rax
mulsd  0x18(%rax),%xmm1
mov    -0x10(%rbp),%rax
movsd  0x10(%rax),%xmm2
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
mov    -0x8(%rbp),%rax
movsd  0x30(%rax),%xmm0
mov    -0x10(%rbp),%rax
mulsd  0x8(%rax),%xmm0
mov    -0x8(%rbp),%rax
movsd  0x10(%rax),%xmm2
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x10(%rbp),%rax
movsd  0x10(%rax),%xmm1
mov    -0x8(%rbp),%rax
mulsd  0x28(%rax),%xmm1
mov    -0x8(%rbp),%rax
movsd  (%rax),%xmm2
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
mov    -0x8(%rbp),%rax
movsd  0x40(%rax),%xmm0
mov    -0x8(%rbp),%rax
mulsd  0x18(%rax),%xmm0
mov    -0x10(%rbp),%rax
movsd  (%rax),%xmm2
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x30(%rbp)
mov    -0x8(%rbp),%rax
movsd  (%rax),%xmm0
mov    -0x8(%rbp),%rax
mulsd  0x20(%rax),%xmm0
mov    -0x10(%rbp),%rax
movsd  0x10(%rax),%xmm2
mov    -0x8(%rbp),%rax
movsd  0x8(%rax),%xmm1
mov    -0x10(%rbp),%rax
mulsd  0x8(%rax),%xmm1
mov    -0x8(%rbp),%rax
mulsd  0x30(%rax),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x10(%rbp),%rax
movsd  (%rax),%xmm1
mov    -0x8(%rbp),%rax
mulsd  0x18(%rax),%xmm1
mov    -0x8(%rbp),%rax
movsd  0x38(%rax),%xmm2
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
mov    -0x8(%rbp),%rax
movsd  0x30(%rax),%xmm0
mov    -0x8(%rbp),%rax
mulsd  0x20(%rax),%xmm0
mov    -0x10(%rbp),%rax
movsd  (%rax),%xmm2
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x8(%rbp),%rax
movsd  0x38(%rax),%xmm1
mov    -0x10(%rbp),%rax
mulsd  0x8(%rax),%xmm1
mov    -0x8(%rbp),%rax
movsd  (%rax),%xmm2
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
mov    -0x10(%rbp),%rax
movsd  0x10(%rax),%xmm0
mov    -0x8(%rbp),%rax
mulsd  0x18(%rax),%xmm0
mov    -0x8(%rbp),%rax
movsd  0x8(%rax),%xmm2
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x38(%rbp)
movsd  -0x20(%rbp),%xmm0
xorps  %xmm1,%xmm1
ucomisd %xmm1,%xmm0
setne  %al
setp   %cl
or     %cl,%al
and    $0x1,%al
movzbl %al,%edi
call   1030 <assert@plt>
movsd  -0x28(%rbp),%xmm0
divsd  -0x20(%rbp),%xmm0
mov    -0x18(%rbp),%rax
movsd  %xmm0,(%rax)
movsd  -0x30(%rbp),%xmm0
divsd  -0x20(%rbp),%xmm0
mov    -0x18(%rbp),%rax
movsd  %xmm0,0x8(%rax)
movsd  -0x38(%rbp),%xmm0
divsd  -0x20(%rbp),%xmm0
mov    -0x18(%rbp),%rax
movsd  %xmm0,0x10(%rax)
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<solve3x3>:
push   %rbx
sub    $0x70,%rsp
mov    %rdx,%rbx
movsd  0x20(%rdi),%xmm9
movsd  (%rdi),%xmm15
movapd %xmm15,(%rsp)
movsd  0x8(%rdi),%xmm1
movapd %xmm1,0x60(%rsp)
mulsd  %xmm9,%xmm15
movsd  0x40(%rdi),%xmm8
movsd  0x30(%rdi),%xmm0
movupd (%rsi),%xmm12
movsd  0x28(%rdi),%xmm10
unpcklpd %xmm10,%xmm10
movapd %xmm1,%xmm2
unpcklpd %xmm12,%xmm2
movapd %xmm2,0x10(%rsp)
movapd %xmm10,%xmm13
mulpd  %xmm2,%xmm13
movapd %xmm15,%xmm14
movsd  0x38(%rdi),%xmm6
movapd %xmm6,0x50(%rsp)
movsd  0x10(%rsi),%xmm5
unpcklpd %xmm5,%xmm6
mulsd  %xmm5,%xmm15
movapd %xmm15,0x40(%rsp)
movapd %xmm0,0x30(%rsp)
unpcklpd %xmm0,%xmm5
mulpd  %xmm13,%xmm5
mulsd  %xmm0,%xmm13
mulsd  %xmm8,%xmm14
addsd  %xmm13,%xmm14
movapd 0xe48(%rip),%xmm3
movapd %xmm0,%xmm13
xorpd  %xmm3,%xmm13
movapd %xmm6,%xmm0
xorpd  %xmm3,%xmm0
movapd %xmm12,%xmm4
movsd  %xmm9,%xmm4
movapd %xmm0,%xmm2
shufpd $0x1,%xmm13,%xmm2
mulpd  %xmm4,%xmm2
movsd  0x10(%rdi),%xmm4
movapd %xmm4,%xmm1
unpcklpd %xmm4,%xmm1
movsd  0x18(%rdi),%xmm7
movapd %xmm12,%xmm11
shufpd $0x1,%xmm7,%xmm11
mulpd  %xmm1,%xmm2
mulpd  %xmm11,%xmm1
mulpd  %xmm1,%xmm6
unpckhpd %xmm1,%xmm1
movapd 0x50(%rsp),%xmm15
mulsd  %xmm15,%xmm1
addsd  %xmm14,%xmm1
movapd %xmm9,%xmm14
mulsd  %xmm13,%xmm14
mulsd  %xmm14,%xmm4
addsd  %xmm1,%xmm4
mulpd  %xmm0,%xmm10
movapd %xmm12,%xmm1
movapd (%rsp),%xmm13
unpcklpd %xmm13,%xmm1
mulpd  %xmm10,%xmm1
mulsd  %xmm13,%xmm10
addsd  %xmm4,%xmm10
xorpd  %xmm8,%xmm3
pshufd $0x44,%xmm3,%xmm4
mulpd  %xmm11,%xmm4
movapd %xmm4,%xmm3
unpckhpd %xmm4,%xmm3
movapd 0x60(%rsp),%xmm11
mulsd  %xmm11,%xmm3
addsd  %xmm10,%xmm3
movapd %xmm3,0x20(%rsp)
unpcklpd %xmm13,%xmm9
mulpd  %xmm12,%xmm9
unpcklpd %xmm8,%xmm8
mulpd  %xmm9,%xmm8
addpd  %xmm5,%xmm8
addpd  %xmm8,%xmm6
addpd  %xmm6,%xmm2
addpd  %xmm2,%xmm1
mulpd  0x10(%rsp),%xmm4
addpd  %xmm1,%xmm4
movapd %xmm4,0x10(%rsp)
pshufd $0xee,%xmm0,%xmm4
mulsd  %xmm7,%xmm4
movapd %xmm11,%xmm1
mulsd  %xmm11,%xmm4
mulsd  %xmm12,%xmm7
mulsd  %xmm12,%xmm14
unpckhpd %xmm12,%xmm12
mulsd  %xmm12,%xmm1
mulsd  0x30(%rsp),%xmm1
movapd 0x40(%rsp),%xmm2
addsd  %xmm1,%xmm2
mulsd  %xmm15,%xmm7
addsd  %xmm2,%xmm7
addsd  %xmm7,%xmm14
mulsd  %xmm12,%xmm0
mulsd  %xmm13,%xmm0
addsd  %xmm14,%xmm0
addsd  %xmm0,%xmm4
movapd %xmm4,(%rsp)
xorpd  %xmm0,%xmm0
cmpneqsd %xmm3,%xmm0
movq   %xmm0,%rdi
and    $0x1,%edi
call   1030 <assert@plt>
movapd 0x20(%rsp),%xmm0
movapd (%rsp),%xmm2
divsd  %xmm0,%xmm2
unpcklpd %xmm0,%xmm0
movapd 0x10(%rsp),%xmm1
divpd  %xmm0,%xmm1
movupd %xmm1,(%rbx)
movsd  %xmm2,0x10(%rbx)
add    $0x70,%rsp
pop    %rbx
ret

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

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