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

```asm
<MtxInvert>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x10,%rsp
  mov    %rdi,-0x8(%rbp)
  mov    %rsi,-0x10(%rbp)
  mov    -0x8(%rbp),%rax
  mov    $0x40,%edx
  mov    $0x0,%esi
  mov    %rax,%rdi
  call   <memset@plt>
  mov    -0x10(%rbp),%rax
  movss  (%rax),%xmm0
  mov    -0x8(%rbp),%rax
  movss  %xmm0,(%rax)
  mov    -0x8(%rbp),%rax
  lea    0x4(%rax),%rdx
  mov    -0x10(%rbp),%rax
  movss  0x10(%rax),%xmm0
  movss  %xmm0,(%rdx)
  mov    -0x8(%rbp),%rax
  lea    0x8(%rax),%rdx
  mov    -0x10(%rbp),%rax
  movss  0x20(%rax),%xmm0
  movss  %xmm0,(%rdx)
  mov    -0x8(%rbp),%rax
  lea    0x10(%rax),%rdx
  mov    -0x10(%rbp),%rax
  movss  0x4(%rax),%xmm0
  movss  %xmm0,(%rdx)
  mov    -0x8(%rbp),%rax
  lea    0x14(%rax),%rdx
  mov    -0x10(%rbp),%rax
  movss  0x14(%rax),%xmm0
  movss  %xmm0,(%rdx)
  mov    -0x8(%rbp),%rax
  lea    0x18(%rax),%rdx
  mov    -0x10(%rbp),%rax
  movss  0x24(%rax),%xmm0
  movss  %xmm0,(%rdx)
  mov    -0x8(%rbp),%rax
  lea    0x20(%rax),%rdx
  mov    -0x10(%rbp),%rax
  movss  0x8(%rax),%xmm0
  movss  %xmm0,(%rdx)
  mov    -0x8(%rbp),%rax
  lea    0x24(%rax),%rdx
  mov    -0x10(%rbp),%rax
  movss  0x18(%rax),%xmm0
  movss  %xmm0,(%rdx)
  mov    -0x8(%rbp),%rax
  lea    0x28(%rax),%rdx
  mov    -0x10(%rbp),%rax
  movss  0x28(%rax),%xmm0
  movss  %xmm0,(%rdx)
  mov    -0x10(%rbp),%rax
  movss  (%rax),%xmm1
  mov    -0x10(%rbp),%rax
  add    $0x30,%rax
  movss  (%rax),%xmm0
  mulss  %xmm0,%xmm1
  mov    -0x10(%rbp),%rax
  add    $0x4,%rax
  movss  (%rax),%xmm2
  mov    -0x10(%rbp),%rax
  add    $0x34,%rax
  movss  (%rax),%xmm0
  mulss  %xmm2,%xmm0
  addss  %xmm0,%xmm1
  mov    -0x10(%rbp),%rax
  add    $0x8,%rax
  movss  (%rax),%xmm2
  mov    -0x10(%rbp),%rax
  add    $0x38,%rax
  movss  (%rax),%xmm0
  mulss  %xmm2,%xmm0
  addss  %xmm1,%xmm0
  mov    -0x8(%rbp),%rax
  add    $0x30,%rax
  movss  D19(%rip),%xmm1
  xorps  %xmm1,%xmm0
  movss  %xmm0,(%rax)
  mov    -0x10(%rbp),%rax
  add    $0x10,%rax
  movss  (%rax),%xmm1
  mov    -0x10(%rbp),%rax
  add    $0x30,%rax
  movss  (%rax),%xmm0
  mulss  %xmm0,%xmm1
  mov    -0x10(%rbp),%rax
  add    $0x14,%rax
  movss  (%rax),%xmm2
  mov    -0x10(%rbp),%rax
  add    $0x34,%rax
  movss  (%rax),%xmm0
  mulss  %xmm2,%xmm0
  addss  %xmm0,%xmm1
  mov    -0x10(%rbp),%rax
  add    $0x18,%rax
  movss  (%rax),%xmm2
  mov    -0x10(%rbp),%rax
  add    $0x38,%rax
  movss  (%rax),%xmm0
  mulss  %xmm2,%xmm0
  addss  %xmm1,%xmm0
  mov    -0x8(%rbp),%rax
  add    $0x34,%rax
  movss  D19(%rip),%xmm1
  xorps  %xmm1,%xmm0
  movss  %xmm0,(%rax)
  mov    -0x10(%rbp),%rax
  add    $0x20,%rax
  movss  (%rax),%xmm1
  mov    -0x10(%rbp),%rax
  add    $0x30,%rax
  movss  (%rax),%xmm0
  mulss  %xmm0,%xmm1
  mov    -0x10(%rbp),%rax
  add    $0x24,%rax
  movss  (%rax),%xmm2
  mov    -0x10(%rbp),%rax
  add    $0x34,%rax
  movss  (%rax),%xmm0
  mulss  %xmm2,%xmm0
  addss  %xmm0,%xmm1
  mov    -0x10(%rbp),%rax
  add    $0x28,%rax
  movss  (%rax),%xmm2
  mov    -0x10(%rbp),%rax
  add    $0x38,%rax
  movss  (%rax),%xmm0
  mulss  %xmm2,%xmm0
  addss  %xmm1,%xmm0
  mov    -0x8(%rbp),%rax
  add    $0x38,%rax
  movss  D19(%rip),%xmm1
  xorps  %xmm1,%xmm0
  movss  %xmm0,(%rax)
  mov    -0x8(%rbp),%rax
  add    $0x3c,%rax
  movss  D39(%rip),%xmm0
  movss  %xmm0,(%rax)
  nop
  leave
  ret
```

tool_calls: name: read_data
arguments: tag: D19
datatype: byte[4]
name: read_data
arguments: tag: D39
datatype: f32

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

tool: D39: 1

assistant: ```c
void MtxInvert(float *inv, float *mod) {
  memset(inv, 0, 16 * 4);
  inv[0] = mod[0];
  inv[1] = mod[4];
  inv[2] = mod[8];
  inv[4] = mod[1];
  inv[5] = mod[5];
  inv[6] = mod[9];
  inv[8] = mod[2];
  inv[9] = mod[6];
  inv[10] = mod[10];
  inv[12] = -(mod[0] * mod[12] + mod[1] * mod[13] + mod[2] * mod[14]);
  inv[13] = -(mod[4] * mod[12] + mod[5] * mod[13] + mod[6] * mod[14]);
  inv[14] = -(mod[8] * mod[12] + mod[9] * mod[13] + mod[10] * mod[14]);
  inv[15] = 1.0;
}
```