user: 请将以下的汇编代码转换成C语言代码:

```asm
<mat_inverse_matrix_d3>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  add    $0xffffffffffffff80,%rsp
  mov    %rdi,-0x68(%rbp)
  mov    %rsi,-0x70(%rbp)
  movsd  %xmm0,-0x78(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  mov    -0x70(%rbp),%rax
  mov    %rax,%rdi
  call   <mat_get_determinant_d3@plt>
  movq   %xmm0,%rax
  mov    %rax,-0x58(%rbp)
  mov    -0x58(%rbp),%rax
  movq   %rax,%xmm0
  call   <mat_Dabs@plt>
  movsd  -0x78(%rbp),%xmm1
  comisd %xmm0,%xmm1
  jbe    L8
  mov    -0x58(%rbp),%rax
  movq   %rax,%xmm0
  lea    D9(%rip),%rax
  mov    %rax,%rdi
  call   <warning_print@plt>
  mov    $0x0,%eax
  jmp    L19
L8:
  mov    -0x70(%rbp),%rax
  add    $0x18,%rax
  movsd  0x8(%rax),%xmm1
  mov    -0x70(%rbp),%rax
  add    $0x30,%rax
  movsd  0x10(%rax),%xmm0
  mulsd  %xmm1,%xmm0
  mov    -0x70(%rbp),%rax
  add    $0x18,%rax
  movsd  0x10(%rax),%xmm2
  mov    -0x70(%rbp),%rax
  add    $0x30,%rax
  movsd  0x8(%rax),%xmm1
  mulsd  %xmm2,%xmm1
  subsd  %xmm1,%xmm0
  divsd  -0x58(%rbp),%xmm0
  movsd  %xmm0,-0x50(%rbp)
  mov    -0x70(%rbp),%rax
  add    $0x18,%rax
  movsd  0x10(%rax),%xmm1
  mov    -0x70(%rbp),%rax
  add    $0x30,%rax
  movsd  (%rax),%xmm0
  mulsd  %xmm1,%xmm0
  mov    -0x70(%rbp),%rax
  add    $0x18,%rax
  movsd  (%rax),%xmm2
  mov    -0x70(%rbp),%rax
  add    $0x30,%rax
  movsd  0x10(%rax),%xmm1
  mulsd  %xmm2,%xmm1
  subsd  %xmm1,%xmm0
  divsd  -0x58(%rbp),%xmm0
  movsd  %xmm0,-0x38(%rbp)
  mov    -0x70(%rbp),%rax
  add    $0x18,%rax
  movsd  (%rax),%xmm1
  mov    -0x70(%rbp),%rax
  add    $0x30,%rax
  movsd  0x8(%rax),%xmm0
  mulsd  %xmm1,%xmm0
  mov    -0x70(%rbp),%rax
  add    $0x18,%rax
  movsd  0x8(%rax),%xmm2
  mov    -0x70(%rbp),%rax
  add    $0x30,%rax
  movsd  (%rax),%xmm1
  mulsd  %xmm2,%xmm1
  subsd  %xmm1,%xmm0
  divsd  -0x58(%rbp),%xmm0
  movsd  %xmm0,-0x20(%rbp)
  mov    -0x70(%rbp),%rax
  add    $0x30,%rax
  movsd  0x8(%rax),%xmm1
  mov    -0x70(%rbp),%rax
  movsd  0x10(%rax),%xmm0
  mulsd  %xmm1,%xmm0
  mov    -0x70(%rbp),%rax
  add    $0x30,%rax
  movsd  0x10(%rax),%xmm2
  mov    -0x70(%rbp),%rax
  movsd  0x8(%rax),%xmm1
  mulsd  %xmm2,%xmm1
  subsd  %xmm1,%xmm0
  divsd  -0x58(%rbp),%xmm0
  movsd  %xmm0,-0x48(%rbp)
  mov    -0x70(%rbp),%rax
  add    $0x30,%rax
  movsd  0x10(%rax),%xmm1
  mov    -0x70(%rbp),%rax
  movsd  (%rax),%xmm0
  mulsd  %xmm1,%xmm0
  mov    -0x70(%rbp),%rax
  add    $0x30,%rax
  movsd  (%rax),%xmm2
  mov    -0x70(%rbp),%rax
  movsd  0x10(%rax),%xmm1
  mulsd  %xmm2,%xmm1
  subsd  %xmm1,%xmm0
  divsd  -0x58(%rbp),%xmm0
  movsd  %xmm0,-0x30(%rbp)
  mov    -0x70(%rbp),%rax
  add    $0x30,%rax
  movsd  (%rax),%xmm1
  mov    -0x70(%rbp),%rax
  movsd  0x8(%rax),%xmm0
  mulsd  %xmm1,%xmm0
  mov    -0x70(%rbp),%rax
  add    $0x30,%rax
  movsd  0x8(%rax),%xmm2
  mov    -0x70(%rbp),%rax
  movsd  (%rax),%xmm1
  mulsd  %xmm2,%xmm1
  subsd  %xmm1,%xmm0
  divsd  -0x58(%rbp),%xmm0
  movsd  %xmm0,-0x18(%rbp)
  mov    -0x70(%rbp),%rax
  movsd  0x8(%rax),%xmm1
  mov    -0x70(%rbp),%rax
  add    $0x18,%rax
  movsd  0x10(%rax),%xmm0
  mulsd  %xmm1,%xmm0
  mov    -0x70(%rbp),%rax
  movsd  0x10(%rax),%xmm2
  mov    -0x70(%rbp),%rax
  add    $0x18,%rax
  movsd  0x8(%rax),%xmm1
  mulsd  %xmm2,%xmm1
  subsd  %xmm1,%xmm0
  divsd  -0x58(%rbp),%xmm0
  movsd  %xmm0,-0x40(%rbp)
  mov    -0x70(%rbp),%rax
  movsd  0x10(%rax),%xmm1
  mov    -0x70(%rbp),%rax
  add    $0x18,%rax
  movsd  (%rax),%xmm0
  mulsd  %xmm1,%xmm0
  mov    -0x70(%rbp),%rax
  movsd  (%rax),%xmm2
  mov    -0x70(%rbp),%rax
  add    $0x18,%rax
  movsd  0x10(%rax),%xmm1
  mulsd  %xmm2,%xmm1
  subsd  %xmm1,%xmm0
  divsd  -0x58(%rbp),%xmm0
  movsd  %xmm0,-0x28(%rbp)
  mov    -0x70(%rbp),%rax
  movsd  (%rax),%xmm1
  mov    -0x70(%rbp),%rax
  add    $0x18,%rax
  movsd  0x8(%rax),%xmm0
  mulsd  %xmm1,%xmm0
  mov    -0x70(%rbp),%rax
  movsd  0x8(%rax),%xmm2
  mov    -0x70(%rbp),%rax
  add    $0x18,%rax
  movsd  (%rax),%xmm1
  mulsd  %xmm2,%xmm1
  subsd  %xmm1,%xmm0
  divsd  -0x58(%rbp),%xmm0
  movsd  %xmm0,-0x10(%rbp)
  lea    -0x50(%rbp),%rdx
  mov    -0x68(%rbp),%rax
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <mat_copy_matrix_d3@plt>
  mov    $0x1,%eax
L19:
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L27
  call   <__stack_chk_fail@plt>
L27:
  leave
  ret
```

tool_calls: name: extract_symbolic_data
arguments: data_tag: D9
type: string

tool: D9: spglib: No inverse matrix (det=%f)


assistant: ```c
int mat_inverse_matrix_d3(double m[3][3], double a[3][3], const double precision) {
  double det;
  double c[3][3];
  det = mat_get_determinant_d3(a);
  if (mat_Dabs(det) < precision) {
    warning_print("spglib: No inverse matrix (det=%f)\n", det);
    return 0;
  }
  c[0][0] = (a[1][1] * a[2][2] - a[1][2] * a[2][1]) / det;
  c[1][0] = (a[1][2] * a[2][0] - a[1][0] * a[2][2]) / det;
  c[2][0] = (a[1][0] * a[2][1] - a[1][1] * a[2][0]) / det;
  c[0][1] = (a[2][1] * a[0][2] - a[2][2] * a[0][1]) / det;
  c[1][1] = (a[2][2] * a[0][0] - a[2][0] * a[0][2]) / det;
  c[2][1] = (a[2][0] * a[0][1] - a[2][1] * a[0][0]) / det;
  c[0][2] = (a[0][1] * a[1][2] - a[0][2] * a[1][1]) / det;
  c[1][2] = (a[0][2] * a[1][0] - a[0][0] * a[1][2]) / det;
  c[2][2] = (a[0][0] * a[1][1] - a[0][1] * a[1][0]) / det;
  mat_copy_matrix_d3(m, c);
  return 1;
}
```