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

```asm
<m_inv6>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  mov    %rdi,-0x48(%rbp)
  mov    %rsi,-0x50(%rbp)
  movsd  D16(%rip),%xmm0
  movsd  %xmm0,-0x18(%rbp)
  movl   $0x0,-0x2c(%rbp)
  movl   $0x1,-0x24(%rbp)
  movl   $0x0,-0x34(%rbp)
  jmp    L169
L118:
  movl   $0x0,-0x30(%rbp)
  jmp    L184
L9:
  mov    -0x34(%rbp),%eax
  cmp    -0x30(%rbp),%eax
  jne    L37
  mov    -0x34(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x4,%rax
  mov    %rax,%rdx
  mov    -0x50(%rbp),%rax
  add    %rax,%rdx
  mov    -0x30(%rbp),%eax
  cltq
  movsd  D17(%rip),%xmm0
  movsd  %xmm0,(%rdx,%rax,8)
  jmp    L46
L37:
  mov    -0x34(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x4,%rax
  mov    %rax,%rdx
  mov    -0x50(%rbp),%rax
  add    %rax,%rdx
  mov    -0x30(%rbp),%eax
  cltq
  pxor   %xmm0,%xmm0
  movsd  %xmm0,(%rdx,%rax,8)
L46:
  addl   $0x1,-0x30(%rbp)
L184:
  cmpl   $0x5,-0x30(%rbp)
  jle    L9
  addl   $0x1,-0x34(%rbp)
L169:
  cmpl   $0x5,-0x34(%rbp)
  jle    L118
L45:
  mov    -0x2c(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x4,%rax
  mov    %rax,%rdx
  mov    -0x48(%rbp),%rax
  add    %rax,%rdx
  mov    -0x2c(%rbp),%eax
  cltq
  movsd  (%rdx,%rax,8),%xmm0
  movq   D29(%rip),%xmm1
  andpd  %xmm1,%xmm0
  movsd  %xmm0,-0x20(%rbp)
  cmpl   $0x0,-0x24(%rbp)
  je     L126
  mov    -0x2c(%rbp),%eax
  mov    %eax,-0x28(%rbp)
  mov    -0x2c(%rbp),%eax
  add    $0x1,%eax
  mov    %eax,-0x34(%rbp)
  jmp    L207
L279:
  mov    -0x34(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x4,%rax
  mov    %rax,%rdx
  mov    -0x48(%rbp),%rax
  add    %rax,%rdx
  mov    -0x2c(%rbp),%eax
  cltq
  movsd  (%rdx,%rax,8),%xmm0
  movq   D29(%rip),%xmm1
  andpd  %xmm1,%xmm0
  comisd -0x20(%rbp),%xmm0
  jbe    L122
  mov    -0x34(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x4,%rax
  mov    %rax,%rdx
  mov    -0x48(%rbp),%rax
  add    %rax,%rdx
  mov    -0x2c(%rbp),%eax
  cltq
  movsd  (%rdx,%rax,8),%xmm0
  movq   D29(%rip),%xmm1
  andpd  %xmm1,%xmm0
  movsd  %xmm0,-0x20(%rbp)
  mov    -0x34(%rbp),%eax
  mov    %eax,-0x28(%rbp)
L122:
  addl   $0x1,-0x34(%rbp)
L207:
  cmpl   $0x5,-0x34(%rbp)
  jle    L279
L126:
  movsd  -0x18(%rbp),%xmm0
  comisd -0x20(%rbp),%xmm0
  ja     L159
  cmpl   $0x0,-0x24(%rbp)
  je     L65
  mov    -0x28(%rbp),%eax
  cmp    -0x2c(%rbp),%eax
  je     L65
  mov    -0x2c(%rbp),%eax
  mov    %eax,-0x30(%rbp)
  jmp    L204
L163:
  mov    -0x2c(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x4,%rax
  mov    %rax,%rdx
  mov    -0x48(%rbp),%rax
  add    %rax,%rdx
  mov    -0x30(%rbp),%eax
  cltq
  movsd  (%rdx,%rax,8),%xmm0
  movsd  %xmm0,-0x10(%rbp)
  mov    -0x28(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x4,%rax
  mov    %rax,%rdx
  mov    -0x48(%rbp),%rax
  lea    (%rdx,%rax,1),%rcx
  mov    -0x2c(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x4,%rax
  mov    %rax,%rdx
  mov    -0x48(%rbp),%rax
  add    %rax,%rdx
  mov    -0x30(%rbp),%eax
  cltq
  movsd  (%rcx,%rax,8),%xmm0
  mov    -0x30(%rbp),%eax
  cltq
  movsd  %xmm0,(%rdx,%rax,8)
  mov    -0x28(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x4,%rax
  mov    %rax,%rdx
  mov    -0x48(%rbp),%rax
  add    %rax,%rdx
  mov    -0x30(%rbp),%eax
  cltq
  movsd  -0x10(%rbp),%xmm0
  movsd  %xmm0,(%rdx,%rax,8)
  addl   $0x1,-0x30(%rbp)
L204:
  cmpl   $0x5,-0x30(%rbp)
  jle    L163
  movl   $0x0,-0x30(%rbp)
  jmp    L90
L291:
  mov    -0x2c(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x4,%rax
  mov    %rax,%rdx
  mov    -0x50(%rbp),%rax
  add    %rax,%rdx
  mov    -0x30(%rbp),%eax
  cltq
  movsd  (%rdx,%rax,8),%xmm0
  movsd  %xmm0,-0x10(%rbp)
  mov    -0x28(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x4,%rax
  mov    %rax,%rdx
  mov    -0x50(%rbp),%rax
  lea    (%rdx,%rax,1),%rcx
  mov    -0x2c(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x4,%rax
  mov    %rax,%rdx
  mov    -0x50(%rbp),%rax
  add    %rax,%rdx
  mov    -0x30(%rbp),%eax
  cltq
  movsd  (%rcx,%rax,8),%xmm0
  mov    -0x30(%rbp),%eax
  cltq
  movsd  %xmm0,(%rdx,%rax,8)
  mov    -0x28(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x4,%rax
  mov    %rax,%rdx
  mov    -0x50(%rbp),%rax
  add    %rax,%rdx
  mov    -0x30(%rbp),%eax
  cltq
  movsd  -0x10(%rbp),%xmm0
  movsd  %xmm0,(%rdx,%rax,8)
  addl   $0x1,-0x30(%rbp)
L90:
  cmpl   $0x5,-0x30(%rbp)
  jle    L291
L65:
  mov    -0x2c(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x4,%rax
  mov    %rax,%rdx
  mov    -0x48(%rbp),%rax
  add    %rax,%rdx
  mov    -0x2c(%rbp),%eax
  cltq
  movsd  (%rdx,%rax,8),%xmm0
  movsd  %xmm0,-0x8(%rbp)
  mov    -0x2c(%rbp),%eax
  mov    %eax,-0x30(%rbp)
  jmp    L129
L72:
  mov    -0x2c(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x4,%rax
  mov    %rax,%rdx
  mov    -0x48(%rbp),%rax
  add    %rax,%rdx
  mov    -0x30(%rbp),%eax
  cltq
  movsd  (%rdx,%rax,8),%xmm0
  mov    -0x2c(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x4,%rax
  mov    %rax,%rdx
  mov    -0x48(%rbp),%rax
  add    %rax,%rdx
  divsd  -0x8(%rbp),%xmm0
  mov    -0x30(%rbp),%eax
  cltq
  movsd  %xmm0,(%rdx,%rax,8)
  addl   $0x1,-0x30(%rbp)
L129:
  cmpl   $0x5,-0x30(%rbp)
  jle    L72
  movl   $0x0,-0x30(%rbp)
  jmp    L149
L120:
  mov    -0x2c(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x4,%rax
  mov    %rax,%rdx
  mov    -0x50(%rbp),%rax
  add    %rax,%rdx
  mov    -0x30(%rbp),%eax
  cltq
  movsd  (%rdx,%rax,8),%xmm0
  mov    -0x2c(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x4,%rax
  mov    %rax,%rdx
  mov    -0x50(%rbp),%rax
  add    %rax,%rdx
  divsd  -0x8(%rbp),%xmm0
  mov    -0x30(%rbp),%eax
  cltq
  movsd  %xmm0,(%rdx,%rax,8)
  addl   $0x1,-0x30(%rbp)
L149:
  cmpl   $0x5,-0x30(%rbp)
  jle    L120
  movl   $0x0,-0x34(%rbp)
  jmp    L233
L162:
  mov    -0x34(%rbp),%eax
  cmp    -0x2c(%rbp),%eax
  je     L61
  mov    -0x34(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x4,%rax
  mov    %rax,%rdx
  mov    -0x48(%rbp),%rax
  add    %rax,%rdx
  mov    -0x2c(%rbp),%eax
  cltq
  movsd  (%rdx,%rax,8),%xmm0
  movq   D48(%rip),%xmm1
  xorpd  %xmm1,%xmm0
  movsd  %xmm0,-0x8(%rbp)
  mov    -0x2c(%rbp),%eax
  mov    %eax,-0x30(%rbp)
  jmp    L31
L113:
  mov    -0x34(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x4,%rax
  mov    %rax,%rdx
  mov    -0x48(%rbp),%rax
  add    %rax,%rdx
  mov    -0x30(%rbp),%eax
  cltq
  movsd  (%rdx,%rax,8),%xmm1
  mov    -0x2c(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x4,%rax
  mov    %rax,%rdx
  mov    -0x48(%rbp),%rax
  add    %rax,%rdx
  mov    -0x30(%rbp),%eax
  cltq
  movsd  (%rdx,%rax,8),%xmm0
  mulsd  -0x8(%rbp),%xmm0
  mov    -0x34(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x4,%rax
  mov    %rax,%rdx
  mov    -0x48(%rbp),%rax
  add    %rax,%rdx
  addsd  %xmm1,%xmm0
  mov    -0x30(%rbp),%eax
  cltq
  movsd  %xmm0,(%rdx,%rax,8)
  addl   $0x1,-0x30(%rbp)
L31:
  cmpl   $0x5,-0x30(%rbp)
  jle    L113
  movl   $0x0,-0x30(%rbp)
  jmp    L20
L103:
  mov    -0x34(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x4,%rax
  mov    %rax,%rdx
  mov    -0x50(%rbp),%rax
  add    %rax,%rdx
  mov    -0x30(%rbp),%eax
  cltq
  movsd  (%rdx,%rax,8),%xmm1
  mov    -0x2c(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x4,%rax
  mov    %rax,%rdx
  mov    -0x50(%rbp),%rax
  add    %rax,%rdx
  mov    -0x30(%rbp),%eax
  cltq
  movsd  (%rdx,%rax,8),%xmm0
  mulsd  -0x8(%rbp),%xmm0
  mov    -0x34(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  shl    $0x4,%rax
  mov    %rax,%rdx
  mov    -0x50(%rbp),%rax
  add    %rax,%rdx
  addsd  %xmm1,%xmm0
  mov    -0x30(%rbp),%eax
  cltq
  movsd  %xmm0,(%rdx,%rax,8)
  addl   $0x1,-0x30(%rbp)
L20:
  cmpl   $0x5,-0x30(%rbp)
  jle    L103
L61:
  addl   $0x1,-0x34(%rbp)
L233:
  cmpl   $0x5,-0x34(%rbp)
  jle    L162
  addl   $0x1,-0x2c(%rbp)
  cmpl   $0x5,-0x2c(%rbp)
  jle    L45
  jmp    L193
L159:
  nop
L193:
  nop
  pop    %rbp
  ret
```

tool_calls: name: retrieve_data
arguments: data_tag: D16
data_type: f64
name: retrieve_data
arguments: data_tag: D17
data_type: f64
name: retrieve_data
arguments: data_tag: D29
data_type: qword
name: retrieve_data
arguments: data_tag: D48
data_type: f32[2]

tool: D16: 1e-07

tool: D17: 1

tool: D29: 9223372036854775807

tool: {"D48": [0.0,-0.0]}

assistant: ```c
void m_inv6(double mat[6][6], double id[6][6]) {
  const double Epsilon = 0.0000001;
  int i, j, s = 0, pindex, pivot = 1;
  double f, Maximum, h;
  for (i = 0; i < 6; i++)
    for (j = 0; j < 6; j++) {
      if (i == j)
        id[i][j] = 1.0;
      else
        id[i][j] = 0.;
    }
  do {
    Maximum = fabs(mat[s][s]);
    if (pivot) {
      pindex = s;
      for (i = s + 1; i < 6; i++)
        if (fabs(mat[i][s]) > Maximum) {
          Maximum = fabs(mat[i][s]);
          pindex = i;
        }
    }
    if (Maximum < Epsilon)
      break;
    if (pivot) {
      if (pindex != s) {
        for (j = s; j < 6; j++) {
          h = mat[s][j];
          mat[s][j] = mat[pindex][j];
          mat[pindex][j] = h;
        }
        for (j = 0; j < 6; j++) {
          h = id[s][j];
          id[s][j] = id[pindex][j];
          id[pindex][j] = h;
        }
      }
    }
    f = mat[s][s];
    for (j = s; j < 6; j++)
      mat[s][j] = mat[s][j] / f;
    for (j = 0; j < 6; j++)
      id[s][j] = id[s][j] / f;
    for (i = 0; i < 6; i++) {
      if (i != s) {
        f = -mat[i][s];
        for (j = s; j < 6; j++)
          mat[i][j] += f * mat[s][j];
        for (j = 0; j < 6; j++)
          id[i][j] += f * id[s][j];
      }
    }
    s++;
  } while (s < 6);
}
```