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

```asm
<invmat2>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0xd0,%rsp
  mov    %rdi,-0xc8(%rbp)
  mov    %rsi,-0xd0(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  movl   $0x0,-0xb8(%rbp)
  jmp    L4
L128:
  movl   $0x0,-0xb4(%rbp)
  jmp    L287
L338:
  mov    -0xb8(%rbp),%eax
  cmp    -0xb4(%rbp),%eax
  jne    L221
  movsd  D21(%rip),%xmm0
  jmp    L288
L221:
  pxor   %xmm0,%xmm0
L288:
  mov    -0xb8(%rbp),%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %eax,%edx
  mov    -0xb4(%rbp),%eax
  add    %edx,%eax
  cltq
  movsd  %xmm0,-0x50(%rbp,%rax,8)
  addl   $0x1,-0xb4(%rbp)
L287:
  cmpl   $0x2,-0xb4(%rbp)
  jle    L338
  addl   $0x1,-0xb8(%rbp)
L4:
  cmpl   $0x2,-0xb8(%rbp)
  jle    L128
  movl   $0x0,-0xb0(%rbp)
  movl   $0x0,-0xb8(%rbp)
  jmp    L81
L193:
  mov    -0xb8(%rbp),%eax
  mov    %eax,-0xb4(%rbp)
  jmp    L297
L129:
  mov    -0xb0(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    %edx,-0xb0(%rbp)
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0xc8(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0xb8(%rbp),%eax
  movslq %eax,%rcx
  mov    -0xb4(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  add    %rcx,%rax
  movsd  %xmm0,-0xa0(%rbp,%rax,8)
  mov    -0xb8(%rbp),%eax
  movslq %eax,%rcx
  mov    -0xb4(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  add    %rcx,%rax
  movsd  -0xa0(%rbp,%rax,8),%xmm0
  mov    -0xb4(%rbp),%eax
  movslq %eax,%rcx
  mov    -0xb8(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  add    %rcx,%rax
  movsd  %xmm0,-0xa0(%rbp,%rax,8)
  addl   $0x1,-0xb4(%rbp)
L297:
  cmpl   $0x2,-0xb4(%rbp)
  jle    L129
  addl   $0x1,-0xb8(%rbp)
L81:
  cmpl   $0x2,-0xb8(%rbp)
  jle    L193
  movl   $0x0,-0xb8(%rbp)
  jmp    L215
L205:
  mov    -0xb8(%rbp),%eax
  mov    %eax,-0xac(%rbp)
  mov    -0xb8(%rbp),%eax
  add    $0x1,%eax
  mov    %eax,-0xb4(%rbp)
  jmp    L198
L99:
  mov    -0xb8(%rbp),%eax
  movslq %eax,%rcx
  mov    -0xb4(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  add    %rcx,%rax
  movsd  -0xa0(%rbp,%rax,8),%xmm0
  movq   D3(%rip),%xmm1
  andpd  %xmm1,%xmm0
  mov    -0xb8(%rbp),%eax
  cltq
  shl    $0x5,%rax
  add    %rbp,%rax
  sub    $0xa0,%rax
  movsd  (%rax),%xmm1
  movq   D3(%rip),%xmm2
  andpd  %xmm2,%xmm1
  comisd %xmm1,%xmm0
  jbe    L231
  mov    -0xb4(%rbp),%eax
  mov    %eax,-0xac(%rbp)
L231:
  addl   $0x1,-0xb4(%rbp)
L198:
  cmpl   $0x2,-0xb4(%rbp)
  jle    L99
  mov    -0xac(%rbp),%eax
  cmp    -0xb8(%rbp),%eax
  je     L30
  movl   $0x0,-0xb0(%rbp)
  jmp    L303
L239:
  mov    -0xb0(%rbp),%eax
  movslq %eax,%rcx
  mov    -0xb8(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  add    %rcx,%rax
  movsd  -0xa0(%rbp,%rax,8),%xmm0
  movsd  %xmm0,-0xa8(%rbp)
  mov    -0xb0(%rbp),%eax
  movslq %eax,%rcx
  mov    -0xac(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  add    %rcx,%rax
  movsd  -0xa0(%rbp,%rax,8),%xmm0
  mov    -0xb0(%rbp),%eax
  movslq %eax,%rcx
  mov    -0xb8(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  add    %rcx,%rax
  movsd  %xmm0,-0xa0(%rbp,%rax,8)
  mov    -0xb0(%rbp),%eax
  movslq %eax,%rcx
  mov    -0xac(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  add    %rcx,%rax
  movsd  -0xa8(%rbp),%xmm0
  movsd  %xmm0,-0xa0(%rbp,%rax,8)
  mov    -0xb8(%rbp),%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %eax,%edx
  mov    -0xb0(%rbp),%eax
  add    %edx,%eax
  cltq
  movsd  -0x50(%rbp,%rax,8),%xmm0
  movsd  %xmm0,-0xa8(%rbp)
  mov    -0xac(%rbp),%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %eax,%edx
  mov    -0xb0(%rbp),%eax
  lea    (%rdx,%rax,1),%ecx
  mov    -0xb8(%rbp),%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %eax,%edx
  mov    -0xb0(%rbp),%eax
  add    %eax,%edx
  movslq %ecx,%rax
  movsd  -0x50(%rbp,%rax,8),%xmm0
  movslq %edx,%rax
  movsd  %xmm0,-0x50(%rbp,%rax,8)
  mov    -0xac(%rbp),%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %eax,%edx
  mov    -0xb0(%rbp),%eax
  add    %edx,%eax
  cltq
  movsd  -0xa8(%rbp),%xmm0
  movsd  %xmm0,-0x50(%rbp,%rax,8)
  addl   $0x1,-0xb0(%rbp)
L303:
  cmpl   $0x2,-0xb0(%rbp)
  jle    L239
L30:
  mov    -0xb8(%rbp),%eax
  cltq
  shl    $0x5,%rax
  add    %rbp,%rax
  sub    $0xa0,%rax
  movsd  (%rax),%xmm0
  pxor   %xmm1,%xmm1
  ucomisd %xmm1,%xmm0
  jp     L85
  pxor   %xmm1,%xmm1
  ucomisd %xmm1,%xmm0
  je     L315
L85:
  mov    -0xb8(%rbp),%eax
  cltq
  shl    $0x5,%rax
  add    %rbp,%rax
  sub    $0xa0,%rax
  movsd  (%rax),%xmm0
  movq   D3(%rip),%xmm1
  andpd  %xmm0,%xmm1
  movsd  D47(%rip),%xmm0
  comisd %xmm1,%xmm0
  jbe    L113
L315:
  mov    $0x0,%eax
  jmp    L43
L113:
  mov    -0xb8(%rbp),%eax
  cltq
  shl    $0x5,%rax
  add    %rbp,%rax
  sub    $0xa0,%rax
  movsd  (%rax),%xmm0
  movsd  %xmm0,-0xa8(%rbp)
  movl   $0x0,-0xb0(%rbp)
  jmp    L11
L36:
  mov    -0xb0(%rbp),%eax
  movslq %eax,%rcx
  mov    -0xb8(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  add    %rcx,%rax
  movsd  -0xa0(%rbp,%rax,8),%xmm0
  divsd  -0xa8(%rbp),%xmm0
  mov    -0xb0(%rbp),%eax
  movslq %eax,%rcx
  mov    -0xb8(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  add    %rcx,%rax
  movsd  %xmm0,-0xa0(%rbp,%rax,8)
  mov    -0xb8(%rbp),%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %eax,%edx
  mov    -0xb0(%rbp),%eax
  add    %edx,%eax
  cltq
  movsd  -0x50(%rbp,%rax,8),%xmm0
  mov    -0xb8(%rbp),%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %eax,%edx
  mov    -0xb0(%rbp),%eax
  add    %edx,%eax
  divsd  -0xa8(%rbp),%xmm0
  cltq
  movsd  %xmm0,-0x50(%rbp,%rax,8)
  addl   $0x1,-0xb0(%rbp)
L11:
  cmpl   $0x2,-0xb0(%rbp)
  jle    L36
  movl   $0x0,-0xb4(%rbp)
  jmp    L118
L117:
  mov    -0xb4(%rbp),%eax
  cmp    -0xb8(%rbp),%eax
  je     L61
  mov    -0xb8(%rbp),%eax
  movslq %eax,%rcx
  mov    -0xb4(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  add    %rcx,%rax
  movsd  -0xa0(%rbp,%rax,8),%xmm0
  movsd  %xmm0,-0xa8(%rbp)
  movl   $0x0,-0xb0(%rbp)
  jmp    L23
L232:
  mov    -0xb0(%rbp),%eax
  movslq %eax,%rcx
  mov    -0xb4(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  add    %rcx,%rax
  movsd  -0xa0(%rbp,%rax,8),%xmm0
  mov    -0xb0(%rbp),%eax
  movslq %eax,%rcx
  mov    -0xb8(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  add    %rcx,%rax
  movsd  -0xa0(%rbp,%rax,8),%xmm1
  mulsd  -0xa8(%rbp),%xmm1
  subsd  %xmm1,%xmm0
  mov    -0xb0(%rbp),%eax
  movslq %eax,%rcx
  mov    -0xb4(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  add    %rcx,%rax
  movsd  %xmm0,-0xa0(%rbp,%rax,8)
  mov    -0xb4(%rbp),%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %eax,%edx
  mov    -0xb0(%rbp),%eax
  add    %edx,%eax
  cltq
  movsd  -0x50(%rbp,%rax,8),%xmm0
  mov    -0xb8(%rbp),%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %eax,%edx
  mov    -0xb0(%rbp),%eax
  add    %edx,%eax
  cltq
  movsd  -0x50(%rbp,%rax,8),%xmm1
  mulsd  -0xa8(%rbp),%xmm1
  mov    -0xb4(%rbp),%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %eax,%edx
  mov    -0xb0(%rbp),%eax
  add    %edx,%eax
  subsd  %xmm1,%xmm0
  cltq
  movsd  %xmm0,-0x50(%rbp,%rax,8)
  addl   $0x1,-0xb0(%rbp)
L23:
  cmpl   $0x2,-0xb0(%rbp)
  jle    L232
L61:
  addl   $0x1,-0xb4(%rbp)
L118:
  cmpl   $0x2,-0xb4(%rbp)
  jle    L117
  addl   $0x1,-0xb8(%rbp)
L215:
  cmpl   $0x2,-0xb8(%rbp)
  jle    L205
  movl   $0x0,-0xb0(%rbp)
  movl   $0x0,-0xb8(%rbp)
  jmp    L225
L108:
  mov    -0xb8(%rbp),%eax
  mov    %eax,-0xb4(%rbp)
  jmp    L189
L267:
  mov    -0xb8(%rbp),%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %eax,%edx
  mov    -0xb4(%rbp),%eax
  lea    (%rdx,%rax,1),%ecx
  mov    -0xb0(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    %edx,-0xb0(%rbp)
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0xd0(%rbp),%rax
  add    %rax,%rdx
  movslq %ecx,%rax
  movsd  -0x50(%rbp,%rax,8),%xmm0
  movsd  %xmm0,(%rdx)
  addl   $0x1,-0xb4(%rbp)
L189:
  cmpl   $0x2,-0xb4(%rbp)
  jle    L267
  addl   $0x1,-0xb8(%rbp)
L225:
  cmpl   $0x2,-0xb8(%rbp)
  jle    L108
  mov    $0x1,%eax
L43:
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L230
  call   <__stack_chk_fail@plt>
L230:
  leave
  ret
```

tool_calls: name: unpack_data
arguments: data_label: D21
type_infered: f64
name: unpack_data
arguments: data_label: D3
type_infered: qword
name: unpack_data
arguments: data_label: D47
type_infered: byte[8]

tool: D21: 1

tool: D3: 9223372036854775807

tool: {"D47": [0x8d,0xed,0xb5,0xa0,0xf7,0xc6,0xb0,0x3e]}

assistant: ```c
int invmat2(double m[6], double m11[6]) {
  double t, tmp[3][3], m1[9];
  int i, j, k, sw;
  for (i = 0; i < 3; i++)
    for (j = 0; j < 3; j++)
      m1[i * 3 + j] = i == j ? 1.0 : 0.0;
  for (k = 0, i = 0; i < 3; i++)
    for (j = i; j < 3; j++)
      tmp[i][j] = tmp[j][i] = m[k++];
  for (i = 0; i < 3; i++) {
    sw = i;
    for (j = i + 1; j < 3; j++)
      if (fabs(tmp[j][i]) > fabs(tmp[i][i]))
        sw = j;
    if (sw != i) {
      for (k = 0; k < 3; k++) {
        t = tmp[i][k];
        tmp[i][k] = tmp[sw][k];
        tmp[sw][k] = t;
        t = m1[i * 3 + k];
        m1[i * 3 + k] = m1[sw * 3 + k];
        m1[sw * 3 + k] = t;
      }
    }
    if (((((tmp[i][i]) == 0.0f) ? (fabs(0.0) < 1.e-06) : (((0.0) == 0.0f) ? (fabs(tmp[i][i]) < 1.e-06) : (fabs((tmp[i][i]) - (0.0)) / (fabs(tmp[i][i]) + fabs(0.0)) < 2.e-06)))))
      return (0);
    t = tmp[i][i];
    for (k = 0; k < 3; k++) {
      tmp[i][k] /= t;
      m1[i * 3 + k] /= t;
    }
    for (j = 0; j < 3; j++)
      if (j != i) {
        t = tmp[j][i];
        for (k = 0; k < 3; k++) {
          tmp[j][k] -= tmp[i][k] * t;
          m1[j * 3 + k] -= m1[i * 3 + k] * t;
        }
      }
  }
  for (k = 0, i = 0; i < 3; i++)
    for (j = i; j < 3; j++)
      m11[k++] = m1[i * 3 + j];
  return (1);
}
```