user: What is the c source code of the assembly code below?

```asm
<matrixInverse4x4>:
  endbr64
  push   %rbp
  sub    $0x180,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x178(%rsp)
  xor    %eax,%eax
  cmp    %r9b,%r8b
  jne    L77
  cmp    %sil,%r8b
  jne    L77
  cmp    %dl,%r8b
  jne    L77
  cmp    $0x4,%r8b
  jne    L77
  mov    %rcx,%r10
  xor    %eax,%eax
  mov    %rdi,%rbp
  mov    $0x4,%r8d
  lea    0x70(%rsp),%rdi
  mov    $0x4,%ecx
  mov    %r10,%rdx
  mov    $0x10,%esi
  call   <matrixToArray_CMO@plt>
  movss  0x8c(%rsp),%xmm7
  movss  0x90(%rsp),%xmm12
  movss  D24(%rip),%xmm8
  movss  0x80(%rsp),%xmm10
  movss  0x9c(%rsp),%xmm4
  movss  0xa0(%rsp),%xmm11
  movaps %xmm7,%xmm15
  movss  0x98(%rsp),%xmm3
  mulss  %xmm12,%xmm15
  movaps %xmm10,%xmm5
  movaps %xmm4,%xmm9
  movss  0xac(%rsp),%xmm2
  mulss  %xmm10,%xmm9
  xorps  %xmm8,%xmm5
  movss  0xa8(%rsp),%xmm0
  movss  0x88(%rsp),%xmm14
  movss  0x88(%rsp),%xmm13
  mulss  %xmm3,%xmm5
  movss  0x94(%rsp),%xmm6
  movss  0xa4(%rsp),%xmm1
  mulss  %xmm12,%xmm14
  mulss  %xmm11,%xmm13
  movss  %xmm15,0x24(%rsp)
  movaps %xmm7,%xmm15
  mulss  %xmm11,%xmm15
  movss  %xmm9,0x60(%rsp)
  mulss  %xmm0,%xmm9
  movss  %xmm15,0x28(%rsp)
  movaps %xmm2,%xmm15
  mulss  %xmm5,%xmm15
  xorps  %xmm8,%xmm5
  mulss  %xmm1,%xmm5
  addss  %xmm15,%xmm9
  movaps %xmm2,%xmm15
  mulss  %xmm14,%xmm15
  mulss  %xmm1,%xmm14
  addss  %xmm15,%xmm9
  movss  0x24(%rsp),%xmm15
  mulss  %xmm0,%xmm15
  subss  %xmm15,%xmm9
  movaps %xmm4,%xmm15
  mulss  %xmm13,%xmm15
  mulss  %xmm6,%xmm13
  subss  %xmm15,%xmm9
  movss  0x28(%rsp),%xmm15
  mulss  %xmm3,%xmm15
  addss  %xmm15,%xmm9
  pxor   %xmm15,%xmm15
  cvtss2sd %xmm9,%xmm15
  movsd  %xmm15,0x58(%rsp)
  movss  0x84(%rsp),%xmm9
  movsd  %xmm15,0x110(%rsp)
  movaps %xmm6,%xmm15
  mulss  %xmm12,%xmm9
  mulss  %xmm10,%xmm15
  movss  %xmm9,0x2c(%rsp)
  movss  0x84(%rsp),%xmm9
  movss  %xmm15,0x64(%rsp)
  mulss  %xmm11,%xmm9
  movss  %xmm9,0x30(%rsp)
  movaps %xmm15,%xmm9
  movss  0x74(%rsp),%xmm15
  mulss  %xmm0,%xmm9
  subss  %xmm9,%xmm5
  movss  0x2c(%rsp),%xmm9
  mulss  %xmm0,%xmm9
  addss  %xmm9,%xmm5
  subss  %xmm14,%xmm5
  movss  0x30(%rsp),%xmm14
  mulss  %xmm3,%xmm14
  subss  %xmm14,%xmm5
  addss  %xmm13,%xmm5
  cvtss2sd %xmm5,%xmm5
  movsd  %xmm5,0x68(%rsp)
  movsd  %xmm5,0x150(%rsp)
  movss  0x78(%rsp),%xmm5
  mulss  %xmm6,%xmm5
  movss  %xmm5,0x34(%rsp)
  movss  0x7c(%rsp),%xmm13
  movss  0x70(%rsp),%xmm14
  movss  0x78(%rsp),%xmm5
  mulss  %xmm4,%xmm14
  mulss  %xmm6,%xmm13
  mulss  %xmm1,%xmm5
  movss  %xmm14,0x44(%rsp)
  movss  0x7c(%rsp),%xmm14
  movss  %xmm13,0x38(%rsp)
  movss  0x7c(%rsp),%xmm13
  mulss  %xmm12,%xmm14
  movss  %xmm5,0x3c(%rsp)
  movss  0x78(%rsp),%xmm5
  mulss  %xmm1,%xmm13
  mulss  %xmm12,%xmm5
  mulss  %xmm15,%xmm12
  movss  %xmm14,0x8(%rsp)
  movss  0x78(%rsp),%xmm14
  movss  %xmm13,0x40(%rsp)
  movss  0x70(%rsp),%xmm13
  mulss  %xmm11,%xmm14
  movss  %xmm5,0x4(%rsp)
  movss  0x44(%rsp),%xmm5
  mulss  %xmm3,%xmm13
  movss  %xmm12,0x18(%rsp)
  mulss  %xmm0,%xmm5
  movaps %xmm14,%xmm9
  movss  0x7c(%rsp),%xmm14
  mulss  %xmm11,%xmm14
  mulss  %xmm15,%xmm11
  movss  %xmm14,0xc(%rsp)
  movaps %xmm2,%xmm14
  mulss  %xmm13,%xmm14
  mulss  %xmm1,%xmm13
  subss  %xmm5,%xmm14
  movss  0x4(%rsp),%xmm5
  mulss  %xmm2,%xmm5
  subss  %xmm5,%xmm14
  movss  0x8(%rsp),%xmm5
  mulss  %xmm0,%xmm5
  addss  %xmm14,%xmm5
  movaps %xmm4,%xmm14
  mulss  %xmm9,%xmm14
  addss  %xmm14,%xmm5
  movss  0xc(%rsp),%xmm14
  mulss  %xmm3,%xmm14
  subss  %xmm14,%xmm5
  movss  0x70(%rsp),%xmm14
  xorps  %xmm8,%xmm14
  cvtss2sd %xmm5,%xmm5
  movsd  %xmm5,0x118(%rsp)
  movaps %xmm14,%xmm5
  movaps %xmm6,%xmm14
  mulss  %xmm5,%xmm14
  movd   %xmm14,%eax
  movaps %xmm11,%xmm14
  movss  0x18(%rsp),%xmm11
  movd   %eax,%xmm12
  movss  %xmm14,0x1c(%rsp)
  mulss  %xmm0,%xmm11
  xorps  %xmm8,%xmm12
  mulss  %xmm0,%xmm12
  subss  %xmm13,%xmm12
  subss  %xmm11,%xmm12
  movss  0x4(%rsp),%xmm11
  mulss  %xmm1,%xmm11
  addss  %xmm12,%xmm11
  movaps %xmm14,%xmm12
  mulss  %xmm3,%xmm12
  addss  %xmm12,%xmm11
  movaps %xmm6,%xmm12
  mulss  %xmm9,%xmm12
  subss  %xmm12,%xmm11
  movss  0x88(%rsp),%xmm12
  mulss  %xmm15,%xmm12
  cvtss2sd %xmm11,%xmm11
  movsd  %xmm11,0x158(%rsp)
  movaps %xmm12,%xmm11
  movaps %xmm7,%xmm12
  mulss  %xmm15,%xmm12
  movaps %xmm12,%xmm14
  movss  0x84(%rsp),%xmm12
  mulss  0x78(%rsp),%xmm12
  movss  %xmm12,0x48(%rsp)
  movss  0x84(%rsp),%xmm12
  mulss  0x7c(%rsp),%xmm12
  movss  0x70(%rsp),%xmm13
  mulss  %xmm7,%xmm13
  movss  %xmm12,0x4c(%rsp)
  movss  0x88(%rsp),%xmm12
  mulss  %xmm5,%xmm12
  movaps %xmm13,%xmm5
  movss  0x78(%rsp),%xmm13
  movss  %xmm5,0x20(%rsp)
  mulss  %xmm0,%xmm5
  mulss  %xmm10,%xmm13
  movss  %xmm13,0x10(%rsp)
  movss  0x7c(%rsp),%xmm13
  mulss  %xmm10,%xmm13
  mulss  %xmm15,%xmm10
  movss  %xmm13,0x14(%rsp)
  movaps %xmm2,%xmm13
  mulss  %xmm12,%xmm13
  xorps  %xmm8,%xmm12
  addss  %xmm13,%xmm5
  movss  0x10(%rsp),%xmm13
  mulss  %xmm2,%xmm13
  addss  %xmm13,%xmm5
  movss  0x14(%rsp),%xmm13
  mulss  %xmm0,%xmm13
  subss  %xmm13,%xmm5
  movaps %xmm7,%xmm13
  mulss  %xmm9,%xmm13
  mulss  0x84(%rsp),%xmm9
  subss  %xmm13,%xmm5
  movss  0xc(%rsp),%xmm13
  mulss  0x88(%rsp),%xmm13
  addss  %xmm13,%xmm5
  movaps %xmm10,%xmm13
  cvtss2sd %xmm5,%xmm5
  movsd  %xmm5,0x120(%rsp)
  movss  0x84(%rsp),%xmm5
  mulss  0x70(%rsp),%xmm5
  movaps %xmm5,%xmm10
  movss  %xmm5,0x50(%rsp)
  movaps %xmm12,%xmm5
  mulss  %xmm1,%xmm5
  xorps  %xmm8,%xmm10
  xorps  %xmm15,%xmm8
  movss  %xmm10,0x54(%rsp)
  mulss  %xmm0,%xmm10
  mulss  %xmm3,%xmm8
  addss  %xmm10,%xmm5
  movaps %xmm0,%xmm10
  mulss  %xmm13,%xmm10
  mulss  %xmm2,%xmm8
  addss  %xmm10,%xmm5
  movss  0x10(%rsp),%xmm10
  mulss  %xmm1,%xmm10
  subss  %xmm10,%xmm5
  movss  0x1c(%rsp),%xmm10
  mulss  0x88(%rsp),%xmm10
  subss  %xmm10,%xmm5
  movss  0x84(%rsp),%xmm10
  mulss  %xmm3,%xmm10
  addss  %xmm9,%xmm5
  cvtss2sd %xmm5,%xmm5
  movsd  %xmm5,0x160(%rsp)
  movaps %xmm10,%xmm9
  movss  0x84(%rsp),%xmm10
  mulss  %xmm2,%xmm9
  mulss  %xmm4,%xmm10
  movaps %xmm10,%xmm5
  movss  0x88(%rsp),%xmm10
  mulss  %xmm0,%xmm5
  mulss  %xmm6,%xmm10
  subss  %xmm5,%xmm9
  movaps %xmm10,%xmm5
  movaps %xmm6,%xmm10
  mulss  %xmm2,%xmm5
  mulss  %xmm7,%xmm10
  subss  %xmm5,%xmm9
  movaps %xmm10,%xmm5
  movss  0x88(%rsp),%xmm10
  mulss  %xmm0,%xmm5
  mulss  %xmm1,%xmm10
  addss  %xmm9,%xmm5
  movaps %xmm10,%xmm9
  movaps %xmm7,%xmm10
  mulss  %xmm4,%xmm9
  mulss  %xmm1,%xmm10
  addss  %xmm9,%xmm5
  movaps %xmm10,%xmm9
  movaps %xmm4,%xmm10
  mulss  %xmm3,%xmm9
  mulss  %xmm15,%xmm10
  subss  %xmm9,%xmm5
  movaps %xmm10,%xmm9
  movss  0x34(%rsp),%xmm10
  mulss  %xmm0,%xmm9
  mulss  %xmm2,%xmm10
  addss  %xmm9,%xmm8
  movss  0x38(%rsp),%xmm9
  mulss  %xmm0,%xmm9
  addss  %xmm10,%xmm8
  movss  0x3c(%rsp),%xmm10
  mulss  %xmm4,%xmm10
  subss  %xmm9,%xmm8
  movss  0x40(%rsp),%xmm9
  mulss  %xmm3,%xmm9
  subss  %xmm10,%xmm8
  movaps %xmm0,%xmm10
  mulss  %xmm14,%xmm10
  mulss  %xmm3,%xmm14
  addss  %xmm9,%xmm8
  movaps %xmm2,%xmm9
  mulss  %xmm11,%xmm9
  mulss  %xmm4,%xmm11
  unpcklps %xmm8,%xmm5
  movaps %xmm5,%xmm8
  cvtps2pd %xmm5,%xmm5
  subss  %xmm10,%xmm9
  movss  0x48(%rsp),%xmm10
  mulss  0x4c(%rsp),%xmm0
  subss  %xmm11,%xmm14
  movss  0x48(%rsp),%xmm11
  mulss  %xmm2,%xmm10
  mulss  %xmm4,%xmm11
  subss  %xmm10,%xmm9
  movss  0x3c(%rsp),%xmm10
  addss  %xmm11,%xmm14
  movss  0x4c(%rsp),%xmm11
  mulss  %xmm7,%xmm10
  mulss  %xmm3,%xmm11
  addss  %xmm9,%xmm0
  movss  0x14(%rsp),%xmm9
  mulss  %xmm3,%xmm9
  addss  %xmm10,%xmm0
  movss  0x40(%rsp),%xmm10
  mulss  0x88(%rsp),%xmm10
  subss  %xmm11,%xmm14
  movss  0x34(%rsp),%xmm11
  mulss  %xmm7,%xmm11
  subss  %xmm10,%xmm0
  movss  0x20(%rsp),%xmm10
  mulss  %xmm1,%xmm10
  subss  %xmm11,%xmm14
  movss  0x38(%rsp),%xmm11
  mulss  0x88(%rsp),%xmm11
  addss  %xmm11,%xmm14
  unpcklps %xmm14,%xmm0
  movlhps %xmm0,%xmm8
  pxor   %xmm0,%xmm0
  movhlps %xmm8,%xmm0
  movaps %xmm12,%xmm8
  cvtps2pd %xmm0,%xmm11
  movss  0x20(%rsp),%xmm0
  mulss  %xmm4,%xmm8
  mulss  %xmm6,%xmm12
  mulss  %xmm3,%xmm0
  subss  %xmm0,%xmm8
  movss  0x10(%rsp),%xmm0
  mulss  %xmm4,%xmm0
  subss  %xmm0,%xmm8
  movaps %xmm9,%xmm0
  addss  %xmm8,%xmm0
  movss  0x4(%rsp),%xmm8
  mulss  %xmm7,%xmm8
  addss  %xmm8,%xmm0
  movss  0x8(%rsp),%xmm8
  mulss  0x88(%rsp),%xmm8
  movaps %xmm0,%xmm14
  movss  0x64(%rsp),%xmm0
  mulss  %xmm2,%xmm0
  subss  %xmm8,%xmm14
  movss  0x60(%rsp),%xmm8
  mulss  %xmm1,%xmm8
  movaps %xmm0,%xmm9
  movss  0x2c(%rsp),%xmm0
  mulss  %xmm2,%xmm0
  subss  %xmm8,%xmm9
  movss  0x24(%rsp),%xmm8
  mulss  %xmm1,%xmm8
  subss  %xmm0,%xmm9
  movd   %eax,%xmm0
  mulss  %xmm2,%xmm0
  addss  %xmm9,%xmm8
  movss  0x30(%rsp),%xmm9
  mulss  %xmm4,%xmm9
  addss  %xmm9,%xmm8
  movss  0x28(%rsp),%xmm9
  mulss  %xmm6,%xmm9
  subss  %xmm9,%xmm8
  movss  0x44(%rsp),%xmm9
  mulss  %xmm1,%xmm9
  unpcklps %xmm8,%xmm14
  addss  %xmm0,%xmm9
  movss  0x18(%rsp),%xmm0
  mulss  %xmm2,%xmm0
  addss  %xmm0,%xmm9
  movaps %xmm9,%xmm0
  movss  0x8(%rsp),%xmm9
  mulss  %xmm1,%xmm9
  mulss  0x14(%rsp),%xmm1
  subss  %xmm9,%xmm0
  movss  0x1c(%rsp),%xmm9
  mulss  %xmm4,%xmm9
  subss  %xmm9,%xmm0
  movss  0xc(%rsp),%xmm9
  mulss  %xmm6,%xmm9
  addss  %xmm9,%xmm0
  movss  0x50(%rsp),%xmm9
  mulss  %xmm2,%xmm9
  mulss  %xmm13,%xmm2
  subss  %xmm10,%xmm9
  subss  %xmm2,%xmm9
  movss  0x1c(%rsp),%xmm2
  mulss  %xmm7,%xmm2
  addss  %xmm9,%xmm1
  addss  %xmm2,%xmm1
  movss  0xc(%rsp),%xmm2
  mulss  0x84(%rsp),%xmm2
  subss  %xmm2,%xmm1
  movaps %xmm14,%xmm2
  unpcklps %xmm1,%xmm0
  pxor   %xmm1,%xmm1
  movlhps %xmm0,%xmm2
  cvtps2pd %xmm14,%xmm0
  movups %xmm0,0x128(%rsp)
  movss  0x20(%rsp),%xmm10
  movhlps %xmm2,%xmm1
  unpckhpd %xmm0,%xmm0
  cvtps2pd %xmm1,%xmm1
  movups %xmm1,0x138(%rsp)
  mulss  %xmm6,%xmm10
  movss  0x54(%rsp),%xmm1
  mulss  %xmm4,%xmm1
  mulss  %xmm13,%xmm4
  movaps %xmm10,%xmm2
  addss  %xmm1,%xmm2
  movss  0x14(%rsp),%xmm1
  mulss  %xmm6,%xmm1
  addss  %xmm4,%xmm2
  movss  0x18(%rsp),%xmm4
  mulss  0x10(%rsp),%xmm6
  mulss  %xmm4,%xmm7
  mulss  0x88(%rsp),%xmm4
  subss  %xmm1,%xmm2
  movss  0x50(%rsp),%xmm1
  mulss  %xmm3,%xmm1
  mulss  %xmm13,%xmm3
  subss  %xmm7,%xmm2
  movss  0x8(%rsp),%xmm7
  mulss  0x84(%rsp),%xmm7
  subss  %xmm12,%xmm1
  addss  %xmm7,%xmm2
  subss  %xmm3,%xmm1
  cvtss2sd %xmm2,%xmm2
  movsd  %xmm2,0x148(%rsp)
  movss  0x4(%rsp),%xmm2
  mulss  0x84(%rsp),%xmm2
  addss  %xmm6,%xmm1
  addss  %xmm4,%xmm1
  subss  %xmm2,%xmm1
  pxor   %xmm2,%xmm2
  cvtss2sd %xmm15,%xmm2
  mulsd  0x58(%rsp),%xmm2
  cvtss2sd %xmm1,%xmm1
  movsd  %xmm1,0x168(%rsp)
  pxor   %xmm1,%xmm1
  cvtss2sd 0x70(%rsp),%xmm1
  mulsd  %xmm5,%xmm1
  addsd  %xmm2,%xmm1
  pxor   %xmm2,%xmm2
  cvtss2sd 0x78(%rsp),%xmm2
  mulsd  %xmm2,%xmm0
  addsd  %xmm1,%xmm0
  pxor   %xmm1,%xmm1
  cvtss2sd 0x7c(%rsp),%xmm1
  mulsd  0x68(%rsp),%xmm1
  addsd  %xmm1,%xmm0
  ucomisd D5(%rip),%xmm0
  jp     L35
  je     L77
L35:
  mov    $0x10,%r8d
  mov    $0x4,%edx
  mov    %rbp,%rdi
  xor    %eax,%eax
  movsd  D15(%rip),%xmm1
  lea    0xb0(%rsp),%rcx
  mov    $0x4,%esi
  movapd 0x120(%rsp),%xmm2
  divsd  %xmm0,%xmm1
  movapd %xmm1,%xmm0
  movapd 0x110(%rsp),%xmm1
  unpcklpd %xmm0,%xmm0
  mulpd  %xmm0,%xmm1
  mulpd  %xmm0,%xmm2
  mulpd  %xmm0,%xmm5
  mulpd  %xmm0,%xmm11
  cvtpd2ps %xmm1,%xmm1
  cvtpd2ps %xmm2,%xmm2
  movlhps %xmm2,%xmm1
  movapd 0x140(%rsp),%xmm2
  movaps %xmm1,0xc0(%rsp)
  cvtpd2ps %xmm5,%xmm5
  movapd 0x130(%rsp),%xmm1
  mulpd  %xmm0,%xmm2
  cvtpd2ps %xmm11,%xmm11
  movlhps %xmm11,%xmm5
  mulpd  %xmm0,%xmm1
  movaps %xmm5,0xb0(%rsp)
  cvtpd2ps %xmm2,%xmm2
  cvtpd2ps %xmm1,%xmm1
  movlhps %xmm2,%xmm1
  movaps %xmm1,0xd0(%rsp)
  movapd 0x150(%rsp),%xmm1
  mulpd  %xmm0,%xmm1
  mulpd  0x160(%rsp),%xmm0
  cvtpd2ps %xmm1,%xmm1
  cvtpd2ps %xmm0,%xmm0
  movlhps %xmm0,%xmm1
  movaps %xmm1,0xe0(%rsp)
  call   <arrayToMatrix_CMO@plt>
  mov    $0x1,%eax
  jmp    L37
  nopl   0x0(%rax)
L77:
  xor    %eax,%eax
L37:
  mov    0x178(%rsp),%rdx
  sub    %fs:0x28,%rdx
  jne    L28
  add    $0x180,%rsp
  pop    %rbp
  ret
L28:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: extract_symbolic_data
arguments: label: D24
type: byte[4]
name: extract_symbolic_data
arguments: label: D5
type: byte[8]
name: extract_symbolic_data
arguments: label: D15
type: f64

tool: {"D24": [0x00,0x00,0x00,0x80]}

tool: {"D5": [0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00]}

tool: D15: 1

assistant: ```c
char matrixInverse4x4(float **output, char outRows, char outCols, float **input, char inRows, char inCols) {
  if (!(inRows == inCols && inRows == outRows && inRows == outCols & inRows == 4)) {
    return 0;
  }
  char arr_length = 16;
  char matrix_rows = 4;
  char matrix_cols = 4;
  float m[arr_length];
  float invOut[arr_length];
  matrixToArray_CMO(m, arr_length, input, matrix_rows, matrix_cols);
  double inv[16], det;
  int i;
  inv[0] = m[5] * m[10] * m[15] - m[5] * m[11] * m[14] - m[9] * m[6] * m[15] + m[9] * m[7] * m[14] + m[13] * m[6] * m[11] - m[13] * m[7] * m[10];
  inv[4] = -m[4] * m[10] * m[15] + m[4] * m[11] * m[14] + m[8] * m[6] * m[15] - m[8] * m[7] * m[14] - m[12] * m[6] * m[11] + m[12] * m[7] * m[10];
  inv[8] = m[4] * m[9] * m[15] - m[4] * m[11] * m[13] - m[8] * m[5] * m[15] + m[8] * m[7] * m[13] + m[12] * m[5] * m[11] - m[12] * m[7] * m[9];
  inv[12] = -m[4] * m[9] * m[14] + m[4] * m[10] * m[13] + m[8] * m[5] * m[14] - m[8] * m[6] * m[13] - m[12] * m[5] * m[10] + m[12] * m[6] * m[9];
  inv[1] = -m[1] * m[10] * m[15] + m[1] * m[11] * m[14] + m[9] * m[2] * m[15] - m[9] * m[3] * m[14] - m[13] * m[2] * m[11] + m[13] * m[3] * m[10];
  inv[5] = m[0] * m[10] * m[15] - m[0] * m[11] * m[14] - m[8] * m[2] * m[15] + m[8] * m[3] * m[14] + m[12] * m[2] * m[11] - m[12] * m[3] * m[10];
  inv[9] = -m[0] * m[9] * m[15] + m[0] * m[11] * m[13] + m[8] * m[1] * m[15] - m[8] * m[3] * m[13] - m[12] * m[1] * m[11] + m[12] * m[3] * m[9];
  inv[13] = m[0] * m[9] * m[14] - m[0] * m[10] * m[13] - m[8] * m[1] * m[14] + m[8] * m[2] * m[13] + m[12] * m[1] * m[10] - m[12] * m[2] * m[9];
  inv[2] = m[1] * m[6] * m[15] - m[1] * m[7] * m[14] - m[5] * m[2] * m[15] + m[5] * m[3] * m[14] + m[13] * m[2] * m[7] - m[13] * m[3] * m[6];
  inv[6] = -m[0] * m[6] * m[15] + m[0] * m[7] * m[14] + m[4] * m[2] * m[15] - m[4] * m[3] * m[14] - m[12] * m[2] * m[7] + m[12] * m[3] * m[6];
  inv[10] = m[0] * m[5] * m[15] - m[0] * m[7] * m[13] - m[4] * m[1] * m[15] + m[4] * m[3] * m[13] + m[12] * m[1] * m[7] - m[12] * m[3] * m[5];
  inv[14] = -m[0] * m[5] * m[14] + m[0] * m[6] * m[13] + m[4] * m[1] * m[14] - m[4] * m[2] * m[13] - m[12] * m[1] * m[6] + m[12] * m[2] * m[5];
  inv[3] = -m[1] * m[6] * m[11] + m[1] * m[7] * m[10] + m[5] * m[2] * m[11] - m[5] * m[3] * m[10] - m[9] * m[2] * m[7] + m[9] * m[3] * m[6];
  inv[7] = m[0] * m[6] * m[11] - m[0] * m[7] * m[10] - m[4] * m[2] * m[11] + m[4] * m[3] * m[10] + m[8] * m[2] * m[7] - m[8] * m[3] * m[6];
  inv[11] = -m[0] * m[5] * m[11] + m[0] * m[7] * m[9] + m[4] * m[1] * m[11] - m[4] * m[3] * m[9] - m[8] * m[1] * m[7] + m[8] * m[3] * m[5];
  inv[15] = m[0] * m[5] * m[10] - m[0] * m[6] * m[9] - m[4] * m[1] * m[10] + m[4] * m[2] * m[9] + m[8] * m[1] * m[6] - m[8] * m[2] * m[5];
  det = m[0] * inv[0] + m[1] * inv[4] + m[2] * inv[8] + m[3] * inv[12];
  if (det == 0)
    return 0;
  det = 1.0 / det;
  for (i = 0; i < 16; i++)
    invOut[i] = inv[i] * det;
  arrayToMatrix_CMO(output, matrix_rows, matrix_cols, invOut, arr_length);
  return 1;
}
```