#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 fabs(double);
double nx_dmat3_inv(double *M3i, const double *M3) {
  const double t4 = M3[0] * M3[4];
  const double t6 = M3[0] * M3[7];
  const double t8 = M3[3] * M3[1];
  const double t10 = M3[6] * M3[1];
  const double t12 = M3[3] * M3[2];
  const double t14 = M3[6] * M3[2];
  double detM3 = t4 * M3[8] - t6 * M3[5] - t8 * M3[8] + t10 * M3[5] +
                 t12 * M3[7] - t14 * M3[4];
  if (fabs(detM3) > 0.0) {
    const double t17 = 1.0 / detM3;
    M3i[0] = (M3[4] * M3[8] - M3[7] * M3[5]) * t17;
    M3i[1] = -(M3[1] * M3[8] - M3[7] * M3[2]) * t17;
    M3i[2] = (M3[1] * M3[5] - M3[4] * M3[2]) * t17;
    M3i[3] = -(M3[3] * M3[8] - M3[6] * M3[5]) * t17;
    M3i[4] = (M3[0] * M3[8] - t14) * t17;
    M3i[5] = -(M3[0] * M3[5] - t12) * t17;
    M3i[6] = (M3[3] * M3[7] - M3[6] * M3[4]) * t17;
    M3i[7] = -(t6 - t10) * t17;
    M3i[8] = (t4 - t8) * t17;
  }
  return detM3;
}


x86 assembly (clang, -O0):
<nx_dmat3_inv>:
push   %rbp
mov    %rsp,%rbp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    -0x10(%rbp),%rax
movsd  (%rax),%xmm0
mov    -0x10(%rbp),%rax
mulsd  0x20(%rax),%xmm0
movsd  %xmm0,-0x18(%rbp)
mov    -0x10(%rbp),%rax
movsd  (%rax),%xmm0
mov    -0x10(%rbp),%rax
mulsd  0x38(%rax),%xmm0
movsd  %xmm0,-0x20(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x18(%rax),%xmm0
mov    -0x10(%rbp),%rax
mulsd  0x8(%rax),%xmm0
movsd  %xmm0,-0x28(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x30(%rax),%xmm0
mov    -0x10(%rbp),%rax
mulsd  0x8(%rax),%xmm0
movsd  %xmm0,-0x30(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x18(%rax),%xmm0
mov    -0x10(%rbp),%rax
mulsd  0x10(%rax),%xmm0
movsd  %xmm0,-0x38(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x30(%rax),%xmm0
mov    -0x10(%rbp),%rax
mulsd  0x10(%rax),%xmm0
movsd  %xmm0,-0x40(%rbp)
movsd  -0x18(%rbp),%xmm0
mov    -0x10(%rbp),%rax
movsd  0x40(%rax),%xmm2
movsd  -0x20(%rbp),%xmm1
mov    -0x10(%rbp),%rax
mulsd  0x28(%rax),%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  -0x28(%rbp),%xmm1
mov    -0x10(%rbp),%rax
movsd  0x40(%rax),%xmm2
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  -0x30(%rbp),%xmm0
mov    -0x10(%rbp),%rax
movsd  0x28(%rax),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  -0x38(%rbp),%xmm1
mov    -0x10(%rbp),%rax
movsd  0x38(%rax),%xmm2
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  -0x40(%rbp),%xmm0
mov    -0x10(%rbp),%rax
movsd  0x20(%rax),%xmm2
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  -0x48(%rbp),%xmm0
movaps 0xd9a(%rip),%xmm1
pand   %xmm1,%xmm0
xorps  %xmm1,%xmm1
ucomisd %xmm1,%xmm0
jbe    152f <nx_dmat3_inv+0x42f>
movsd  0xd91(%rip),%xmm0
divsd  -0x48(%rbp),%xmm0
movsd  %xmm0,-0x50(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x20(%rax),%xmm0
mov    -0x10(%rbp),%rax
movsd  0x40(%rax),%xmm2
mov    -0x10(%rbp),%rax
movsd  0x38(%rax),%xmm1
mov    -0x10(%rbp),%rax
mulsd  0x28(%rax),%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mulsd  -0x50(%rbp),%xmm0
mov    -0x8(%rbp),%rax
movsd  %xmm0,(%rax)
mov    -0x10(%rbp),%rax
movsd  0x8(%rax),%xmm0
mov    -0x10(%rbp),%rax
movsd  0x40(%rax),%xmm2
mov    -0x10(%rbp),%rax
movsd  0x38(%rax),%xmm1
mov    -0x10(%rbp),%rax
mulsd  0x10(%rax),%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  -0x50(%rbp),%xmm0
mov    -0x8(%rbp),%rax
movsd  %xmm0,0x8(%rax)
mov    -0x10(%rbp),%rax
movsd  0x8(%rax),%xmm0
mov    -0x10(%rbp),%rax
movsd  0x28(%rax),%xmm2
mov    -0x10(%rbp),%rax
movsd  0x20(%rax),%xmm1
mov    -0x10(%rbp),%rax
mulsd  0x10(%rax),%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mulsd  -0x50(%rbp),%xmm0
mov    -0x8(%rbp),%rax
movsd  %xmm0,0x10(%rax)
mov    -0x10(%rbp),%rax
movsd  0x18(%rax),%xmm0
mov    -0x10(%rbp),%rax
movsd  0x40(%rax),%xmm2
mov    -0x10(%rbp),%rax
movsd  0x30(%rax),%xmm1
mov    -0x10(%rbp),%rax
mulsd  0x28(%rax),%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  -0x50(%rbp),%xmm0
mov    -0x8(%rbp),%rax
movsd  %xmm0,0x18(%rax)
mov    -0x10(%rbp),%rax
movsd  (%rax),%xmm0
mov    -0x10(%rbp),%rax
movsd  0x40(%rax),%xmm2
movsd  -0x40(%rbp),%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mulsd  -0x50(%rbp),%xmm0
mov    -0x8(%rbp),%rax
movsd  %xmm0,0x20(%rax)
mov    -0x10(%rbp),%rax
movsd  (%rax),%xmm0
mov    -0x10(%rbp),%rax
movsd  0x28(%rax),%xmm2
movsd  -0x38(%rbp),%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  -0x50(%rbp),%xmm0
mov    -0x8(%rbp),%rax
movsd  %xmm0,0x28(%rax)
mov    -0x10(%rbp),%rax
movsd  0x18(%rax),%xmm0
mov    -0x10(%rbp),%rax
movsd  0x38(%rax),%xmm2
mov    -0x10(%rbp),%rax
movsd  0x30(%rax),%xmm1
mov    -0x10(%rbp),%rax
mulsd  0x20(%rax),%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mulsd  -0x50(%rbp),%xmm0
mov    -0x8(%rbp),%rax
movsd  %xmm0,0x30(%rax)
movsd  -0x20(%rbp),%xmm0
subsd  -0x30(%rbp),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  -0x50(%rbp),%xmm0
mov    -0x8(%rbp),%rax
movsd  %xmm0,0x38(%rax)
movsd  -0x18(%rbp),%xmm0
subsd  -0x28(%rbp),%xmm0
mulsd  -0x50(%rbp),%xmm0
mov    -0x8(%rbp),%rax
movsd  %xmm0,0x40(%rax)
movsd  -0x48(%rbp),%xmm0
pop    %rbp
ret

x86 assembly (clang, -O2):
<nx_dmat3_inv>:
movsd  0x20(%rsi),%xmm3
movsd  (%rsi),%xmm2
movsd  0x8(%rsi),%xmm9
movapd %xmm2,%xmm11
mulsd  %xmm3,%xmm11
movsd  0x38(%rsi),%xmm12
mulsd  %xmm12,%xmm2
movsd  0x18(%rsi),%xmm10
movapd %xmm10,%xmm8
mulsd  %xmm9,%xmm8
movsd  0x30(%rsi),%xmm6
mulsd  %xmm6,%xmm9
movsd  0x10(%rsi),%xmm0
mulsd  %xmm0,%xmm10
movsd  0x40(%rsi),%xmm1
movsd  0x28(%rsi),%xmm5
movapd %xmm5,%xmm7
mulsd  %xmm2,%xmm7
movapd %xmm11,%xmm4
mulsd  %xmm1,%xmm4
subsd  %xmm7,%xmm4
movapd %xmm8,%xmm7
mulsd  %xmm1,%xmm7
subsd  %xmm7,%xmm4
movapd %xmm9,%xmm7
mulsd  %xmm5,%xmm7
addsd  %xmm4,%xmm7
movapd %xmm10,%xmm4
mulsd  %xmm12,%xmm4
addsd  %xmm7,%xmm4
xorpd  0xe69(%rip),%xmm6
mulsd  %xmm0,%xmm6
movapd %xmm6,%xmm0
mulsd  %xmm3,%xmm0
addsd  %xmm4,%xmm0
xorpd  %xmm4,%xmm4
ucomisd %xmm4,%xmm0
je     12bc <nx_dmat3_inv+0x1bc>
movsd  0xe53(%rip),%xmm7
divsd  %xmm0,%xmm7
mulsd  %xmm12,%xmm5
mulsd  %xmm1,%xmm3
subsd  %xmm5,%xmm3
mulsd  %xmm7,%xmm3
movsd  %xmm3,(%rdi)
movsd  0x10(%rsi),%xmm1
mulsd  0x38(%rsi),%xmm1
movsd  0x8(%rsi),%xmm4
mulsd  0x40(%rsi),%xmm4
subsd  %xmm1,%xmm4
movapd 0xe0a(%rip),%xmm3
xorpd  %xmm3,%xmm4
mulsd  %xmm7,%xmm4
movsd  %xmm4,0x8(%rdi)
movsd  0x8(%rsi),%xmm1
movsd  0x10(%rsi),%xmm4
mulsd  0x20(%rsi),%xmm4
mulsd  0x28(%rsi),%xmm1
subsd  %xmm4,%xmm1
mulsd  %xmm7,%xmm1
movsd  %xmm1,0x10(%rdi)
movsd  0x28(%rsi),%xmm1
mulsd  0x30(%rsi),%xmm1
movsd  0x18(%rsi),%xmm4
mulsd  0x40(%rsi),%xmm4
subsd  %xmm1,%xmm4
xorpd  %xmm3,%xmm4
mulsd  %xmm7,%xmm4
movsd  %xmm4,0x18(%rdi)
movsd  (%rsi),%xmm1
mulsd  0x40(%rsi),%xmm1
addsd  %xmm6,%xmm1
mulsd  %xmm7,%xmm1
movsd  %xmm1,0x20(%rdi)
movsd  (%rsi),%xmm1
mulsd  0x28(%rsi),%xmm1
subsd  %xmm10,%xmm1
xorpd  %xmm3,%xmm1
mulsd  %xmm7,%xmm1
movsd  %xmm1,0x28(%rdi)
movsd  0x18(%rsi),%xmm1
movsd  0x20(%rsi),%xmm4
mulsd  0x30(%rsi),%xmm4
mulsd  0x38(%rsi),%xmm1
subsd  %xmm4,%xmm1
subsd  %xmm9,%xmm2
xorpd  %xmm3,%xmm2
unpcklpd %xmm2,%xmm1
subsd  %xmm8,%xmm11
mulsd  %xmm7,%xmm11
unpcklpd %xmm7,%xmm7
mulpd  %xmm1,%xmm7
movupd %xmm7,0x30(%rdi)
movsd  %xmm11,0x40(%rdi)
ret

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

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