#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 fabs(double);
int inv3(const double *a, double *b) {
  double det =
      ((a[3 * 1 + 0] *
            -(a[3 * 0 + 1] * a[3 * 2 + 2] - a[3 * 0 + 2] * a[3 * 2 + 1]) +
        a[3 * 1 + 1] *
            (a[3 * 0 + 0] * a[3 * 2 + 2] - a[3 * 0 + 2] * a[3 * 2 + 0])) +
       a[3 * 1 + 2] *
           -(a[3 * 0 + 0] * a[3 * 2 + 1] - a[3 * 0 + 1] * a[3 * 2 + 0]));
  if (fabs(det) < (1e-60))
    return -1;
  b[3 * 0 + 0] =
      (a[3 * 1 + 1] * a[3 * 2 + 2] - a[3 * 1 + 2] * a[3 * 2 + 1]) / det;
  b[3 * 1 + 0] =
      -(a[3 * 1 + 0] * a[3 * 2 + 2] - a[3 * 1 + 2] * a[3 * 2 + 0]) / det;
  b[3 * 2 + 0] =
      (a[3 * 1 + 0] * a[3 * 2 + 1] - a[3 * 1 + 1] * a[3 * 2 + 0]) / det;
  b[3 * 0 + 1] =
      -(a[3 * 0 + 1] * a[3 * 2 + 2] - a[3 * 0 + 2] * a[3 * 2 + 1]) / det;
  b[3 * 1 + 1] =
      (a[3 * 0 + 0] * a[3 * 2 + 2] - a[3 * 0 + 2] * a[3 * 2 + 0]) / det;
  b[3 * 2 + 1] =
      -(a[3 * 0 + 0] * a[3 * 2 + 1] - a[3 * 0 + 1] * a[3 * 2 + 0]) / det;
  b[3 * 0 + 2] =
      (a[3 * 0 + 1] * a[3 * 1 + 2] - a[3 * 0 + 2] * a[3 * 1 + 1]) / det;
  b[3 * 1 + 2] =
      -(a[3 * 0 + 0] * a[3 * 1 + 2] - a[3 * 0 + 2] * a[3 * 1 + 0]) / det;
  b[3 * 2 + 2] =
      (a[3 * 0 + 0] * a[3 * 1 + 1] - a[3 * 0 + 1] * a[3 * 1 + 0]) / det;
  return 0;
}


x86 assembly (clang, -O0):
<inv3>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    %rdi,-0x10(%rbp)
mov    %rsi,-0x18(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x18(%rax),%xmm1
mov    -0x10(%rbp),%rax
movsd  0x8(%rax),%xmm0
mov    -0x10(%rbp),%rax
movsd  0x40(%rax),%xmm3
mov    -0x10(%rbp),%rax
movsd  0x10(%rax),%xmm2
mov    -0x10(%rbp),%rax
mulsd  0x38(%rax),%xmm2
movq   %xmm2,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm2
mulsd  %xmm3,%xmm0
addsd  %xmm2,%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm2
mov    -0x10(%rbp),%rax
movsd  0x20(%rax),%xmm0
mov    -0x10(%rbp),%rax
movsd  (%rax),%xmm3
mov    -0x10(%rbp),%rax
movsd  0x40(%rax),%xmm5
mov    -0x10(%rbp),%rax
movsd  0x10(%rax),%xmm4
mov    -0x10(%rbp),%rax
mulsd  0x30(%rax),%xmm4
movq   %xmm4,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm4
mulsd  %xmm5,%xmm3
addsd  %xmm4,%xmm3
mulsd  %xmm3,%xmm0
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
mov    -0x10(%rbp),%rax
movsd  0x28(%rax),%xmm0
mov    -0x10(%rbp),%rax
movsd  (%rax),%xmm2
mov    -0x10(%rbp),%rax
movsd  0x38(%rax),%xmm4
mov    -0x10(%rbp),%rax
movsd  0x8(%rax),%xmm3
mov    -0x10(%rbp),%rax
mulsd  0x30(%rax),%xmm3
movq   %xmm3,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm3
mulsd  %xmm4,%xmm2
addsd  %xmm3,%xmm2
movq   %xmm2,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x20(%rbp)
movsd  -0x20(%rbp),%xmm0
call   1030 <fabs@plt>
cvtsi2sd %eax,%xmm1
movsd  0xda1(%rip),%xmm0
ucomisd %xmm1,%xmm0
jbe    1275 <inv3+0x165>
movl   $0xffffffff,-0x4(%rbp)
jmp    15ac <inv3+0x49c>
mov    -0x10(%rbp),%rax
movsd  0x20(%rax),%xmm0
mov    -0x10(%rbp),%rax
movsd  0x40(%rax),%xmm2
mov    -0x10(%rbp),%rax
movsd  0x28(%rax),%xmm1
mov    -0x10(%rbp),%rax
mulsd  0x38(%rax),%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
divsd  -0x20(%rbp),%xmm0
mov    -0x18(%rbp),%rax
movsd  %xmm0,(%rax)
mov    -0x10(%rbp),%rax
movsd  0x18(%rax),%xmm0
mov    -0x10(%rbp),%rax
movsd  0x40(%rax),%xmm2
mov    -0x10(%rbp),%rax
movsd  0x28(%rax),%xmm1
mov    -0x10(%rbp),%rax
mulsd  0x30(%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
divsd  -0x20(%rbp),%xmm0
mov    -0x18(%rbp),%rax
movsd  %xmm0,0x18(%rax)
mov    -0x10(%rbp),%rax
movsd  0x18(%rax),%xmm0
mov    -0x10(%rbp),%rax
movsd  0x38(%rax),%xmm2
mov    -0x10(%rbp),%rax
movsd  0x20(%rax),%xmm1
mov    -0x10(%rbp),%rax
mulsd  0x30(%rax),%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
divsd  -0x20(%rbp),%xmm0
mov    -0x18(%rbp),%rax
movsd  %xmm0,0x30(%rax)
mov    -0x10(%rbp),%rax
movsd  0x8(%rax),%xmm0
mov    -0x10(%rbp),%rax
movsd  0x40(%rax),%xmm2
mov    -0x10(%rbp),%rax
movsd  0x10(%rax),%xmm1
mov    -0x10(%rbp),%rax
mulsd  0x38(%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
divsd  -0x20(%rbp),%xmm0
mov    -0x18(%rbp),%rax
movsd  %xmm0,0x8(%rax)
mov    -0x10(%rbp),%rax
movsd  (%rax),%xmm0
mov    -0x10(%rbp),%rax
movsd  0x40(%rax),%xmm2
mov    -0x10(%rbp),%rax
movsd  0x10(%rax),%xmm1
mov    -0x10(%rbp),%rax
mulsd  0x30(%rax),%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
divsd  -0x20(%rbp),%xmm0
mov    -0x18(%rbp),%rax
movsd  %xmm0,0x20(%rax)
mov    -0x10(%rbp),%rax
movsd  (%rax),%xmm0
mov    -0x10(%rbp),%rax
movsd  0x38(%rax),%xmm2
mov    -0x10(%rbp),%rax
movsd  0x8(%rax),%xmm1
mov    -0x10(%rbp),%rax
mulsd  0x30(%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
divsd  -0x20(%rbp),%xmm0
mov    -0x18(%rbp),%rax
movsd  %xmm0,0x38(%rax)
mov    -0x10(%rbp),%rax
movsd  0x8(%rax),%xmm0
mov    -0x10(%rbp),%rax
movsd  0x28(%rax),%xmm2
mov    -0x10(%rbp),%rax
movsd  0x10(%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
divsd  -0x20(%rbp),%xmm0
mov    -0x18(%rbp),%rax
movsd  %xmm0,0x10(%rax)
mov    -0x10(%rbp),%rax
movsd  (%rax),%xmm0
mov    -0x10(%rbp),%rax
movsd  0x28(%rax),%xmm2
mov    -0x10(%rbp),%rax
movsd  0x10(%rax),%xmm1
mov    -0x10(%rbp),%rax
mulsd  0x18(%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
divsd  -0x20(%rbp),%xmm0
mov    -0x18(%rbp),%rax
movsd  %xmm0,0x28(%rax)
mov    -0x10(%rbp),%rax
movsd  (%rax),%xmm0
mov    -0x10(%rbp),%rax
movsd  0x20(%rax),%xmm2
mov    -0x10(%rbp),%rax
movsd  0x8(%rax),%xmm1
mov    -0x10(%rbp),%rax
mulsd  0x18(%rax),%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
divsd  -0x20(%rbp),%xmm0
mov    -0x18(%rbp),%rax
movsd  %xmm0,0x40(%rax)
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<inv3>:
push   %r14
push   %rbx
push   %rax
mov    %rsi,%r14
mov    %rdi,%rbx
movsd  (%rdi),%xmm5
movsd  0x8(%rdi),%xmm1
movsd  0x40(%rdi),%xmm0
movsd  0x10(%rdi),%xmm2
movsd  0x38(%rdi),%xmm3
movapd %xmm1,%xmm4
mulsd  %xmm0,%xmm4
mulsd  %xmm5,%xmm0
mulsd  %xmm3,%xmm5
mulsd  %xmm2,%xmm3
subsd  %xmm3,%xmm4
movsd  0x30(%rdi),%xmm3
mulsd  %xmm3,%xmm2
subsd  %xmm2,%xmm0
mulsd  0x20(%rdi),%xmm0
mulsd  0x18(%rdi),%xmm4
subsd  %xmm4,%xmm0
mulsd  %xmm1,%xmm3
subsd  %xmm3,%xmm5
mulsd  0x28(%rdi),%xmm5
subsd  %xmm5,%xmm0
movsd  %xmm0,(%rsp)
call   1030 <fabs@plt>
test   %eax,%eax
jle    12d6 <inv3+0x1c6>
movsd  0x38(%rbx),%xmm0
mulsd  0x28(%rbx),%xmm0
movsd  0x20(%rbx),%xmm1
mulsd  0x40(%rbx),%xmm1
subsd  %xmm0,%xmm1
movsd  (%rsp),%xmm3
divsd  %xmm3,%xmm1
movsd  %xmm1,(%r14)
movsd  0x18(%rbx),%xmm1
movsd  0x30(%rbx),%xmm0
mulsd  0x28(%rbx),%xmm0
mulsd  0x40(%rbx),%xmm1
subsd  %xmm0,%xmm1
movapd 0xe32(%rip),%xmm0
xorpd  %xmm0,%xmm1
divsd  %xmm3,%xmm1
movsd  %xmm1,0x18(%r14)
movsd  0x18(%rbx),%xmm1
movsd  0x30(%rbx),%xmm2
mulsd  0x20(%rbx),%xmm2
mulsd  0x38(%rbx),%xmm1
subsd  %xmm2,%xmm1
divsd  %xmm3,%xmm1
movsd  %xmm1,0x30(%r14)
movsd  0x8(%rbx),%xmm1
movsd  0x38(%rbx),%xmm2
mulsd  0x10(%rbx),%xmm2
mulsd  0x40(%rbx),%xmm1
subsd  %xmm2,%xmm1
xorpd  %xmm0,%xmm1
divsd  %xmm3,%xmm1
movsd  %xmm1,0x8(%r14)
movsd  (%rbx),%xmm1
movsd  0x30(%rbx),%xmm2
mulsd  0x10(%rbx),%xmm2
mulsd  0x40(%rbx),%xmm1
subsd  %xmm2,%xmm1
divsd  %xmm3,%xmm1
movsd  %xmm1,0x20(%r14)
movsd  (%rbx),%xmm1
movsd  0x30(%rbx),%xmm2
mulsd  0x8(%rbx),%xmm2
mulsd  0x38(%rbx),%xmm1
subsd  %xmm2,%xmm1
xorpd  %xmm0,%xmm1
divsd  %xmm3,%xmm1
movsd  %xmm1,0x38(%r14)
movsd  0x8(%rbx),%xmm1
movsd  0x20(%rbx),%xmm2
mulsd  0x10(%rbx),%xmm2
mulsd  0x28(%rbx),%xmm1
subsd  %xmm2,%xmm1
divsd  %xmm3,%xmm1
movsd  %xmm1,0x10(%r14)
movsd  (%rbx),%xmm1
movsd  0x18(%rbx),%xmm2
mulsd  0x10(%rbx),%xmm2
mulsd  0x28(%rbx),%xmm1
subsd  %xmm2,%xmm1
xorpd  %xmm0,%xmm1
divsd  %xmm3,%xmm1
movsd  %xmm1,0x28(%r14)
movsd  (%rbx),%xmm0
movsd  0x18(%rbx),%xmm1
mulsd  0x8(%rbx),%xmm1
mulsd  0x20(%rbx),%xmm0
subsd  %xmm1,%xmm0
divsd  %xmm3,%xmm0
movsd  %xmm0,0x40(%r14)
xor    %eax,%eax
jmp    12db <inv3+0x1cb>
mov    $0xffffffff,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r14
ret

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

LLVM IR (-O2):
define i32 @inv3(double* nocapture %0, double* nocapture writeonly %1) {
%3 = getelementptr inbounds double, double* %0, i64 3
%4 = load double, double* %3
%5 = getelementptr inbounds double, double* %0, i64 1
%6 = load double, double* %5
%7 = getelementptr inbounds double, double* %0, i64 8
%8 = load double, double* %7
%9 = getelementptr inbounds double, double* %0, i64 2
%10 = load double, double* %9
%11 = getelementptr inbounds double, double* %0, i64 7
%12 = load double, double* %11
%13 = fneg double %10
%14 = fmul double %12, %13
%15 = tail call double @llvm.fmuladd.f64(double %6, double %8, double %14)
%16 = fneg double %15
%17 = getelementptr inbounds double, double* %0, i64 4
%18 = load double, double* %17
%19 = load double, double* %0
%20 = getelementptr inbounds double, double* %0, i64 6
%21 = load double, double* %20
%22 = fmul double %21, %13
%23 = tail call double @llvm.fmuladd.f64(double %19, double %8, double %22)
%24 = fmul double %18, %23
%25 = tail call double @llvm.fmuladd.f64(double %4, double %16, double %24)
%26 = getelementptr inbounds double, double* %0, i64 5
%27 = load double, double* %26
%28 = fneg double %6
%29 = fmul double %21, %28
%30 = tail call double @llvm.fmuladd.f64(double %19, double %12, double %29)
%31 = fneg double %30
%32 = tail call double @llvm.fmuladd.f64(double %27, double %31, double %25)
%33 = tail call i32 @fabs(double %32)
%34 = icmp slt i32 %33, 1
br i1 %34, label %120, label %35
35: ; preds = %2
%36 = load double, double* %17
%37 = load double, double* %7
%38 = load double, double* %26
%39 = load double, double* %11
%40 = fneg double %38
%41 = fmul double %39, %40
%42 = tail call double @llvm.fmuladd.f64(double %36, double %37, double %41)
%43 = fdiv double %42, %32
store double %43, double* %1
%44 = load double, double* %3
%45 = load double, double* %7
%46 = load double, double* %26
%47 = load double, double* %20
%48 = fneg double %46
%49 = fmul double %47, %48
%50 = tail call double @llvm.fmuladd.f64(double %44, double %45, double %49)
%51 = fneg double %50
%52 = fdiv double %51, %32
%53 = getelementptr inbounds double, double* %1, i64 3
store double %52, double* %53
%54 = load double, double* %3
%55 = load double, double* %11
%56 = load double, double* %17
%57 = load double, double* %20
%58 = fneg double %56
%59 = fmul double %57, %58
%60 = tail call double @llvm.fmuladd.f64(double %54, double %55, double %59)
%61 = fdiv double %60, %32
%62 = getelementptr inbounds double, double* %1, i64 6
store double %61, double* %62
%63 = load double, double* %5
%64 = load double, double* %7
%65 = load double, double* %9
%66 = load double, double* %11
%67 = fneg double %65
%68 = fmul double %66, %67
%69 = tail call double @llvm.fmuladd.f64(double %63, double %64, double %68)
%70 = fneg double %69
%71 = fdiv double %70, %32
%72 = getelementptr inbounds double, double* %1, i64 1
store double %71, double* %72
%73 = load double, double* %0
%74 = load double, double* %7
%75 = load double, double* %9
%76 = load double, double* %20
%77 = fneg double %75
%78 = fmul double %76, %77
%79 = tail call double @llvm.fmuladd.f64(double %73, double %74, double %78)
%80 = fdiv double %79, %32
%81 = getelementptr inbounds double, double* %1, i64 4
store double %80, double* %81
%82 = load double, double* %0
%83 = load double, double* %11
%84 = load double, double* %5
%85 = load double, double* %20
%86 = fneg double %84
%87 = fmul double %85, %86
%88 = tail call double @llvm.fmuladd.f64(double %82, double %83, double %87)
%89 = fneg double %88
%90 = fdiv double %89, %32
%91 = getelementptr inbounds double, double* %1, i64 7
store double %90, double* %91
%92 = load double, double* %5
%93 = load double, double* %26
%94 = load double, double* %9
%95 = load double, double* %17
%96 = fneg double %94
%97 = fmul double %95, %96
%98 = tail call double @llvm.fmuladd.f64(double %92, double %93, double %97)
%99 = fdiv double %98, %32
%100 = getelementptr inbounds double, double* %1, i64 2
store double %99, double* %100
%101 = load double, double* %0
%102 = load double, double* %26
%103 = load double, double* %9
%104 = load double, double* %3
%105 = fneg double %103
%106 = fmul double %104, %105
%107 = tail call double @llvm.fmuladd.f64(double %101, double %102, double %106)
%108 = fneg double %107
%109 = fdiv double %108, %32
%110 = getelementptr inbounds double, double* %1, i64 5
store double %109, double* %110
%111 = load double, double* %0
%112 = load double, double* %17
%113 = load double, double* %5
%114 = load double, double* %3
%115 = fneg double %113
%116 = fmul double %114, %115
%117 = tail call double @llvm.fmuladd.f64(double %111, double %112, double %116)
%118 = fdiv double %117, %32
%119 = getelementptr inbounds double, double* %1, i64 8
store double %118, double* %119
br label %120
120: ; preds = %2, %35
%121 = phi i32 [ 0, %35 ], [ -1, %2 ]
ret i32 %121
}