user: Translate the below assembly code into C programming language:

```asm
<matrixInverse4x4>:
  endbr64
  push   %rbp
  sub    $0x160,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x158(%rsp)
  xor    %eax,%eax
  cmp    %r9b,%r8b
  jne    L53
  cmp    %sil,%r8b
  jne    L53
  cmp    %dl,%r8b
  jne    L53
  cmp    $0x4,%r8b
  jne    L53
  mov    %rcx,%r10
  xor    %eax,%eax
  mov    %rdi,%rbp
  mov    $0x4,%r8d
  lea    0x50(%rsp),%rdi
  mov    $0x4,%ecx
  mov    %r10,%rdx
  mov    $0x10,%esi
  call   <matrixToArray_CMO@plt>
  movss  0x78(%rsp),%xmm6
  pxor   %xmm12,%xmm12
  movss  0x7c(%rsp),%xmm3
  movss  0x64(%rsp),%xmm0
  movss  0x64(%rsp),%xmm5
  movss  0x8c(%rsp),%xmm2
  movss  0x60(%rsp),%xmm15
  mulss  %xmm3,%xmm5
  movss  0x68(%rsp),%xmm11
  movss  0x88(%rsp),%xmm1
  mulss  %xmm6,%xmm0
  movaps %xmm2,%xmm10
  movss  0x84(%rsp),%xmm4
  movss  0x6c(%rsp),%xmm7
  mulss  %xmm3,%xmm15
  movaps %xmm1,%xmm8
  movss  0x68(%rsp),%xmm9
  movss  0x6c(%rsp),%xmm14
  mulss  0x70(%rsp),%xmm11
  movss  0x74(%rsp),%xmm13
  mulss  0x70(%rsp),%xmm7
  mulss  %xmm1,%xmm5
  mulss  %xmm2,%xmm0
  mulss  %xmm15,%xmm8
  mulss  0x80(%rsp),%xmm9
  mulss  0x80(%rsp),%xmm14
  mulss  0x60(%rsp),%xmm13
  subss  %xmm5,%xmm0
  movss  0x74(%rsp),%xmm5
  mulss  0x68(%rsp),%xmm5
  mulss  %xmm4,%xmm15
  mulss  %xmm2,%xmm5
  subss  %xmm5,%xmm0
  movss  0x74(%rsp),%xmm5
  mulss  0x6c(%rsp),%xmm5
  mulss  %xmm1,%xmm5
  addss  %xmm5,%xmm0
  movss  0x68(%rsp),%xmm5
  mulss  %xmm4,%xmm5
  mulss  %xmm3,%xmm5
  addss  %xmm5,%xmm0
  movss  0x6c(%rsp),%xmm5
  mulss  %xmm4,%xmm5
  mulss  %xmm6,%xmm5
  subss  %xmm5,%xmm0
  movss  0x60(%rsp),%xmm5
  xorps  D55(%rip),%xmm5
  mulss  %xmm6,%xmm5
  cvtss2sd %xmm0,%xmm0
  movsd  %xmm0,0x18(%rsp)
  mulss  %xmm5,%xmm10
  addss  %xmm10,%xmm8
  movaps %xmm2,%xmm10
  mulss  %xmm11,%xmm10
  mulss  %xmm4,%xmm11
  addss  %xmm10,%xmm8
  movaps %xmm1,%xmm10
  mulss  %xmm7,%xmm10
  mulss  %xmm4,%xmm7
  subss  %xmm10,%xmm8
  movaps %xmm3,%xmm10
  mulss  %xmm9,%xmm10
  subss  %xmm10,%xmm8
  movaps %xmm6,%xmm10
  mulss  %xmm14,%xmm10
  addss  %xmm10,%xmm8
  movss  0x64(%rsp),%xmm10
  mulss  0x70(%rsp),%xmm10
  cvtss2sd %xmm8,%xmm12
  movaps %xmm2,%xmm8
  movsd  %xmm12,0x20(%rsp)
  movsd  %xmm12,0xf0(%rsp)
  mulss  %xmm13,%xmm8
  mulss  %xmm1,%xmm13
  movaps %xmm10,%xmm12
  movss  0x64(%rsp),%xmm10
  mulss  0x80(%rsp),%xmm10
  xorps  D55(%rip),%xmm5
  mulss  0x74(%rsp),%xmm14
  mulss  %xmm4,%xmm5
  subss  %xmm15,%xmm8
  mulss  0x74(%rsp),%xmm9
  movaps %xmm2,%xmm15
  mulss  %xmm12,%xmm15
  mulss  %xmm1,%xmm12
  subss  %xmm13,%xmm5
  movss  0x74(%rsp),%xmm13
  mulss  0x5c(%rsp),%xmm13
  subss  %xmm15,%xmm8
  movss  0x54(%rsp),%xmm15
  addss  %xmm12,%xmm5
  addss  %xmm8,%xmm7
  movaps %xmm3,%xmm8
  movss  %xmm13,0x40(%rsp)
  mulss  %xmm10,%xmm8
  subss  %xmm11,%xmm5
  movss  0x74(%rsp),%xmm11
  mulss  %xmm6,%xmm10
  mulss  0x58(%rsp),%xmm11
  addss  %xmm8,%xmm7
  movss  0x50(%rsp),%xmm8
  subss  %xmm10,%xmm5
  movaps %xmm3,%xmm10
  mulss  %xmm15,%xmm10
  movss  %xmm11,0x3c(%rsp)
  subss  %xmm14,%xmm7
  movss  0x58(%rsp),%xmm14
  mulss  %xmm6,%xmm8
  addss  %xmm9,%xmm5
  movaps %xmm15,%xmm9
  xorps  D55(%rip),%xmm9
  mulss  %xmm4,%xmm14
  cvtss2sd %xmm7,%xmm7
  movsd  %xmm7,0x28(%rsp)
  movsd  %xmm7,0x110(%rsp)
  movaps %xmm9,%xmm7
  cvtss2sd %xmm5,%xmm5
  movaps %xmm3,%xmm9
  mulss  %xmm6,%xmm7
  movsd  %xmm5,0x30(%rsp)
  movsd  %xmm5,0x130(%rsp)
  movaps %xmm10,%xmm5
  movaps %xmm6,%xmm10
  mulss  %xmm1,%xmm5
  movaps %xmm14,%xmm12
  movss  0x5c(%rsp),%xmm14
  mulss  %xmm12,%xmm9
  mulss  %xmm4,%xmm14
  mulss  %xmm2,%xmm7
  mulss  %xmm14,%xmm10
  addss  %xmm7,%xmm5
  movaps %xmm11,%xmm7
  movss  0x80(%rsp),%xmm11
  mulss  %xmm2,%xmm7
  mulss  0x5c(%rsp),%xmm11
  addss  %xmm7,%xmm5
  movaps %xmm13,%xmm7
  movss  0x70(%rsp),%xmm13
  mulss  %xmm1,%xmm7
  mulss  0x58(%rsp),%xmm13
  subss  %xmm7,%xmm5
  movss  0x80(%rsp),%xmm7
  mulss  0x58(%rsp),%xmm7
  movss  %xmm13,0xc(%rsp)
  subss  %xmm9,%xmm5
  movss  0x50(%rsp),%xmm9
  mulss  %xmm3,%xmm9
  movaps %xmm7,%xmm0
  movaps %xmm1,%xmm7
  addss  %xmm10,%xmm5
  movss  0x70(%rsp),%xmm10
  mulss  0x5c(%rsp),%xmm10
  movss  %xmm0,0x8(%rsp)
  cvtss2sd %xmm5,%xmm5
  movsd  %xmm5,0xd8(%rsp)
  movaps %xmm9,%xmm5
  movaps %xmm2,%xmm9
  mulss  %xmm5,%xmm7
  movss  %xmm10,0x10(%rsp)
  mulss  %xmm8,%xmm9
  mulss  %xmm4,%xmm5
  mulss  %xmm4,%xmm8
  subss  %xmm7,%xmm9
  movaps %xmm13,%xmm7
  mulss  %xmm2,%xmm7
  subss  %xmm7,%xmm9
  movaps %xmm10,%xmm7
  mulss  %xmm1,%xmm7
  addss  %xmm9,%xmm7
  movaps %xmm0,%xmm9
  mulss  %xmm3,%xmm9
  addss  %xmm9,%xmm7
  movaps %xmm6,%xmm9
  mulss  %xmm11,%xmm9
  subss  %xmm9,%xmm7
  movaps %xmm2,%xmm9
  cvtss2sd %xmm7,%xmm7
  movsd  %xmm7,0xf8(%rsp)
  movss  0x50(%rsp),%xmm13
  movss  0x74(%rsp),%xmm10
  mulss  0x6c(%rsp),%xmm12
  xorps  D55(%rip),%xmm13
  mulss  0x68(%rsp),%xmm14
  mulss  %xmm13,%xmm10
  mulss  0x68(%rsp),%xmm13
  movaps %xmm10,%xmm7
  movss  0x70(%rsp),%xmm10
  mulss  %xmm7,%xmm9
  xorps  D55(%rip),%xmm7
  mulss  %xmm15,%xmm10
  mulss  %xmm1,%xmm7
  addss  %xmm9,%xmm5
  movaps %xmm10,%xmm0
  movss  0x80(%rsp),%xmm10
  movaps %xmm0,%xmm9
  subss  %xmm8,%xmm7
  movaps %xmm6,%xmm8
  movss  %xmm0,0x44(%rsp)
  mulss  %xmm2,%xmm9
  mulss  %xmm15,%xmm10
  addss  %xmm9,%xmm5
  movss  0x10(%rsp),%xmm9
  mulss  %xmm10,%xmm8
  mulss  %xmm4,%xmm9
  subss  %xmm9,%xmm5
  movaps %xmm3,%xmm9
  mulss  %xmm10,%xmm9
  subss  %xmm9,%xmm5
  movss  0x74(%rsp),%xmm9
  mulss  %xmm11,%xmm9
  addss  %xmm9,%xmm5
  movss  0x6c(%rsp),%xmm9
  mulss  %xmm15,%xmm9
  cvtss2sd %xmm5,%xmm5
  movsd  %xmm5,0x118(%rsp)
  movaps %xmm0,%xmm5
  movss  0x8(%rsp),%xmm0
  mulss  %xmm1,%xmm5
  movss  %xmm9,0x4c(%rsp)
  subss  %xmm5,%xmm7
  movss  0xc(%rsp),%xmm5
  mulss  %xmm4,%xmm5
  addss  %xmm7,%xmm5
  movss  0x74(%rsp),%xmm7
  mulss  %xmm0,%xmm7
  addss  %xmm8,%xmm5
  movss  0x68(%rsp),%xmm8
  mulss  %xmm15,%xmm8
  subss  %xmm7,%xmm5
  cvtss2sd %xmm5,%xmm5
  movss  %xmm8,0x48(%rsp)
  mulss  %xmm2,%xmm8
  movsd  %xmm5,0x138(%rsp)
  movss  0x64(%rsp),%xmm5
  mulss  0x58(%rsp),%xmm5
  movaps %xmm8,%xmm7
  movss  %xmm5,0x14(%rsp)
  movss  0x64(%rsp),%xmm5
  mulss  0x5c(%rsp),%xmm5
  movss  0x14(%rsp),%xmm8
  mulss  %xmm2,%xmm8
  movss  %xmm5,0x38(%rsp)
  movaps %xmm9,%xmm5
  mulss  %xmm1,%xmm5
  subss  %xmm5,%xmm7
  movss  0x38(%rsp),%xmm5
  mulss  %xmm1,%xmm5
  subss  %xmm8,%xmm7
  addss  %xmm7,%xmm5
  addss  %xmm12,%xmm5
  subss  %xmm14,%xmm5
  movss  0x6c(%rsp),%xmm14
  mulss  0x50(%rsp),%xmm14
  cvtss2sd %xmm5,%xmm5
  movsd  %xmm5,0xe0(%rsp)
  movaps %xmm14,%xmm5
  movss  0x60(%rsp),%xmm14
  mulss  0x58(%rsp),%xmm14
  movaps %xmm14,%xmm12
  movss  0x60(%rsp),%xmm14
  mulss  0x5c(%rsp),%xmm14
  movaps %xmm14,%xmm9
  movaps %xmm2,%xmm14
  mulss  %xmm13,%xmm14
  xorps  D55(%rip),%xmm13
  movaps %xmm14,%xmm8
  movaps %xmm1,%xmm14
  mulss  %xmm5,%xmm14
  movaps %xmm14,%xmm7
  movaps %xmm2,%xmm14
  mulss  %xmm12,%xmm14
  addss  %xmm8,%xmm7
  movss  0x6c(%rsp),%xmm8
  mulss  %xmm0,%xmm8
  movaps %xmm4,%xmm0
  mulss  %xmm5,%xmm0
  addss  %xmm14,%xmm7
  movaps %xmm1,%xmm14
  mulss  %xmm9,%xmm14
  subss  %xmm14,%xmm7
  movss  0x68(%rsp),%xmm14
  mulss  %xmm11,%xmm14
  subss  %xmm8,%xmm7
  mulss  0x64(%rsp),%xmm11
  addss  %xmm14,%xmm7
  movss  0x64(%rsp),%xmm14
  mulss  0x50(%rsp),%xmm14
  cvtss2sd %xmm7,%xmm7
  movsd  %xmm7,0x100(%rsp)
  movaps %xmm14,%xmm7
  movss  0x60(%rsp),%xmm14
  mulss  %xmm15,%xmm14
  movaps %xmm14,%xmm8
  movaps %xmm2,%xmm14
  mulss  %xmm7,%xmm14
  mulss  %xmm8,%xmm2
  subss  %xmm0,%xmm14
  movss  0x6c(%rsp),%xmm0
  mulss  %xmm10,%xmm0
  subss  %xmm2,%xmm14
  mulss  0x68(%rsp),%xmm10
  movaps %xmm4,%xmm2
  mulss  %xmm9,%xmm2
  addss  %xmm14,%xmm2
  movss  0x10(%rsp),%xmm14
  addss  %xmm0,%xmm2
  movaps %xmm7,%xmm0
  xorps  D55(%rip),%xmm0
  mulss  %xmm6,%xmm7
  subss  %xmm11,%xmm2
  movaps %xmm0,%xmm11
  mulss  %xmm1,%xmm0
  mulss  %xmm8,%xmm1
  cvtss2sd %xmm2,%xmm2
  mulss  %xmm3,%xmm11
  movsd  %xmm2,0x120(%rsp)
  movaps %xmm13,%xmm2
  mulss  %xmm4,%xmm2
  mulss  %xmm12,%xmm4
  addss  %xmm0,%xmm2
  addss  %xmm1,%xmm2
  movss  0x8(%rsp),%xmm1
  mulss  0x64(%rsp),%xmm1
  subss  %xmm4,%xmm2
  movss  0xc(%rsp),%xmm4
  subss  %xmm10,%xmm2
  addss  %xmm1,%xmm2
  movss  0x48(%rsp),%xmm1
  mulss  %xmm3,%xmm1
  cvtss2sd %xmm2,%xmm2
  movsd  %xmm2,0x140(%rsp)
  movss  0x4c(%rsp),%xmm2
  mulss  %xmm6,%xmm2
  subss  %xmm1,%xmm2
  movss  0x14(%rsp),%xmm1
  mulss  %xmm3,%xmm1
  addss  %xmm1,%xmm2
  movss  0x38(%rsp),%xmm1
  mulss  %xmm6,%xmm1
  subss  %xmm1,%xmm2
  movss  0x3c(%rsp),%xmm1
  mulss  0x6c(%rsp),%xmm1
  subss  %xmm1,%xmm2
  movss  0x40(%rsp),%xmm1
  mulss  0x68(%rsp),%xmm1
  addss  %xmm1,%xmm2
  movaps %xmm6,%xmm1
  mulss  %xmm5,%xmm1
  cvtss2sd %xmm2,%xmm2
  movsd  %xmm2,0xe8(%rsp)
  movaps %xmm13,%xmm2
  mulss  %xmm3,%xmm2
  subss  %xmm1,%xmm2
  movaps %xmm3,%xmm1
  mulss  %xmm12,%xmm1
  mulss  %xmm8,%xmm3
  mulss  %xmm6,%xmm8
  subss  %xmm1,%xmm2
  movaps %xmm6,%xmm1
  mulss  %xmm9,%xmm1
  addss  %xmm2,%xmm1
  movss  0x6c(%rsp),%xmm2
  mulss  %xmm4,%xmm2
  addss  %xmm2,%xmm1
  movss  0x68(%rsp),%xmm2
  mulss  %xmm14,%xmm2
  subss  %xmm2,%xmm1
  pxor   %xmm2,%xmm2
  cvtss2sd %xmm15,%xmm2
  cvtss2sd %xmm1,%xmm1
  movsd  %xmm1,0x108(%rsp)
  mulss  0x74(%rsp),%xmm5
  movss  0x6c(%rsp),%xmm1
  mulss  0x74(%rsp),%xmm9
  mulss  0x74(%rsp),%xmm13
  mulsd  0x20(%rsp),%xmm2
  mulss  0x64(%rsp),%xmm4
  addss  %xmm11,%xmm5
  subss  %xmm13,%xmm7
  addss  %xmm3,%xmm5
  movss  0x44(%rsp),%xmm3
  mulss  %xmm3,%xmm1
  subss  %xmm8,%xmm7
  subss  %xmm9,%xmm5
  mulss  0x68(%rsp),%xmm3
  subss  %xmm1,%xmm5
  movss  0x64(%rsp),%xmm1
  mulss  %xmm14,%xmm1
  addss  %xmm1,%xmm5
  movss  0x74(%rsp),%xmm1
  mulss  %xmm12,%xmm1
  cvtss2sd %xmm5,%xmm5
  movsd  %xmm5,0x128(%rsp)
  addss  %xmm1,%xmm7
  pxor   %xmm1,%xmm1
  cvtss2sd 0x50(%rsp),%xmm1
  mulsd  0x18(%rsp),%xmm1
  addss  %xmm3,%xmm7
  addsd  %xmm2,%xmm1
  pxor   %xmm2,%xmm2
  subss  %xmm4,%xmm7
  cvtss2sd 0x58(%rsp),%xmm2
  mulsd  0x28(%rsp),%xmm2
  cvtss2sd %xmm7,%xmm7
  movsd  %xmm7,0x148(%rsp)
  addsd  %xmm2,%xmm1
  pxor   %xmm2,%xmm2
  cvtss2sd 0x5c(%rsp),%xmm2
  mulsd  0x30(%rsp),%xmm2
  addsd  %xmm2,%xmm1
  ucomisd D26(%rip),%xmm1
  jp     L25
  je     L53
L25:
  movsd  D69(%rip),%xmm2
  movsd  0x18(%rsp),%xmm0
  xor    %eax,%eax
  lea    0x90(%rsp),%rcx
  divsd  %xmm1,%xmm2
  jmp    L99
  nopl   0x0(%rax,%rax,1)
L54:
  movsd  0xd0(%rsp,%rax,8),%xmm0
L99:
  mulsd  %xmm2,%xmm0
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rcx,%rax,4)
  add    $0x1,%rax
  cmp    $0x10,%rax
  jne    L54
  mov    $0x10,%r8d
  mov    $0x4,%edx
  mov    %rbp,%rdi
  xor    %eax,%eax
  mov    $0x4,%esi
  call   <arrayToMatrix_CMO@plt>
  mov    $0x1,%eax
  jmp    L6
  nopl   0x0(%rax)
L53:
  xor    %eax,%eax
L6:
  mov    0x158(%rsp),%rdx
  sub    %fs:0x28,%rdx
  jne    L7
  add    $0x160,%rsp
  pop    %rbp
  ret
L7:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: unpack_data
arguments: label: D55
type_guessed: byte[16]
name: unpack_data
arguments: label: D26
type_guessed: byte[8]
name: unpack_data
arguments: label: D69
type_guessed: f64

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

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

tool: D69: 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;
}
```