user: 请将这段汇编代码片段转换成等效的C代码:

```asm
<_matrix_3x3_invert>:
  endbr64
  push   %r12
  mov    %rsi,%r12
  push   %rbp
  push   %rbx
  mov    %rdi,%rbx
  sub    $0x30,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x28(%rsp)
  xor    %eax,%eax
  call   <_matrix_3x3_determinant@plt>
  ucomiss D0(%rip),%xmm0
  movaps %xmm0,%xmm1
  jp     L16
  jne    L16
L11:
  mov    0x28(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L15
  add    $0x30,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  ret
  nopw   0x0(%rax,%rax,1)
L16:
  movss  0x20(%rbx),%xmm0
  movss  0x1c(%rbx),%xmm2
  lea    0x10(%rsp),%rbp
  movss  %xmm1,0xc(%rsp)
  movss  0x14(%rbx),%xmm3
  mov    %rbp,%rdi
  unpcklps %xmm0,%xmm2
  movss  0x10(%rbx),%xmm0
  unpcklps %xmm3,%xmm0
  movlhps %xmm2,%xmm0
  movaps %xmm0,0x10(%rsp)
  call   <_matrix_2x2_determinant@plt>
  mov    %rbp,%rdi
  movss  %xmm0,(%r12)
  movss  0x20(%rbx),%xmm0
  movss  0x18(%rbx),%xmm2
  movss  0x14(%rbx),%xmm3
  unpcklps %xmm0,%xmm2
  movss  0xc(%rbx),%xmm0
  unpcklps %xmm3,%xmm0
  movlhps %xmm2,%xmm0
  movaps %xmm0,0x10(%rsp)
  call   <_matrix_2x2_determinant@plt>
  mov    %rbp,%rdi
  movss  %xmm0,0x4(%r12)
  movss  0x1c(%rbx),%xmm0
  movss  0x18(%rbx),%xmm2
  movss  0x10(%rbx),%xmm3
  unpcklps %xmm0,%xmm2
  movss  0xc(%rbx),%xmm0
  unpcklps %xmm3,%xmm0
  movlhps %xmm2,%xmm0
  movaps %xmm0,0x10(%rsp)
  call   <_matrix_2x2_determinant@plt>
  mov    %rbp,%rdi
  movss  %xmm0,0x8(%r12)
  movups 0x14(%rbx),%xmm4
  movups 0x4(%rbx),%xmm0
  shufps $0xe4,%xmm4,%xmm0
  movaps %xmm0,0x10(%rsp)
  call   <_matrix_2x2_determinant@plt>
  mov    %rbp,%rdi
  movss  %xmm0,0xc(%r12)
  movss  0x20(%rbx),%xmm0
  movss  0x18(%rbx),%xmm2
  movss  0x8(%rbx),%xmm3
  unpcklps %xmm0,%xmm2
  movss  (%rbx),%xmm0
  unpcklps %xmm3,%xmm0
  movlhps %xmm2,%xmm0
  movaps %xmm0,0x10(%rsp)
  call   <_matrix_2x2_determinant@plt>
  mov    %rbp,%rdi
  movss  %xmm0,0x10(%r12)
  movups 0x10(%rbx),%xmm5
  movups (%rbx),%xmm0
  shufps $0xe4,%xmm5,%xmm0
  movaps %xmm0,0x10(%rsp)
  call   <_matrix_2x2_determinant@plt>
  mov    %rbp,%rdi
  movss  %xmm0,0x14(%r12)
  movss  0x14(%rbx),%xmm0
  movss  0x10(%rbx),%xmm2
  movss  0x8(%rbx),%xmm3
  unpcklps %xmm0,%xmm2
  movss  0x4(%rbx),%xmm0
  unpcklps %xmm3,%xmm0
  movlhps %xmm2,%xmm0
  movaps %xmm0,0x10(%rsp)
  call   <_matrix_2x2_determinant@plt>
  mov    %rbp,%rdi
  movss  %xmm0,0x18(%r12)
  movss  0x14(%rbx),%xmm0
  movss  0xc(%rbx),%xmm2
  movss  0x8(%rbx),%xmm3
  unpcklps %xmm0,%xmm2
  movss  (%rbx),%xmm0
  unpcklps %xmm3,%xmm0
  movlhps %xmm2,%xmm0
  movaps %xmm0,0x10(%rsp)
  call   <_matrix_2x2_determinant@plt>
  mov    %rbp,%rdi
  movss  %xmm0,0x1c(%r12)
  movss  0x10(%rbx),%xmm0
  movss  0xc(%rbx),%xmm2
  movss  0x4(%rbx),%xmm3
  unpcklps %xmm0,%xmm2
  movss  (%rbx),%xmm0
  unpcklps %xmm3,%xmm0
  movlhps %xmm2,%xmm0
  movaps %xmm0,0x10(%rsp)
  call   <_matrix_2x2_determinant@plt>
  movss  0xc(%rsp),%xmm1
  mov    %r12,%rdi
  movss  %xmm0,0x20(%r12)
  movss  D8(%rip),%xmm0
  divss  %xmm1,%xmm0
  call   <_matrix_3x3_mul_constant@plt>
  jmp    L11
L15:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: disassemble_data
arguments: data_label: D0
type_infered: byte[4]
name: disassemble_data
arguments: data_label: D8
type_infered: byte[4]

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

tool: {"D8": [0x00,0x00,0x80,0x3f]}

assistant: ```c
void _matrix_3x3_invert(float m1[3][3], float m2[3][3]) {
  float tmp[2][2];
  float determinant = _matrix_3x3_determinant(m1);
  if (determinant == 0.0f)
    return;
  tmp[0][0] = m1[1][1];
  tmp[0][1] = m1[1][2];
  tmp[1][0] = m1[2][1];
  tmp[1][1] = m1[2][2];
  m2[0][0] = _matrix_2x2_determinant(tmp);
  tmp[0][0] = m1[1][0];
  tmp[0][1] = m1[1][2];
  tmp[1][0] = m1[2][0];
  tmp[1][1] = m1[2][2];
  m2[0][1] = _matrix_2x2_determinant(tmp);
  tmp[0][0] = m1[1][0];
  tmp[0][1] = m1[1][1];
  tmp[1][0] = m1[2][0];
  tmp[1][1] = m1[2][1];
  m2[0][2] = _matrix_2x2_determinant(tmp);
  tmp[0][0] = m1[0][1];
  tmp[0][1] = m1[0][2];
  tmp[1][0] = m1[2][1];
  tmp[1][1] = m1[2][2];
  m2[1][0] = _matrix_2x2_determinant(tmp);
  tmp[0][0] = m1[0][0];
  tmp[0][1] = m1[0][2];
  tmp[1][0] = m1[2][0];
  tmp[1][1] = m1[2][2];
  m2[1][1] = _matrix_2x2_determinant(tmp);
  tmp[0][0] = m1[0][0];
  tmp[0][1] = m1[0][1];
  tmp[1][0] = m1[2][0];
  tmp[1][1] = m1[2][1];
  m2[1][2] = _matrix_2x2_determinant(tmp);
  tmp[0][0] = m1[0][1];
  tmp[0][1] = m1[0][2];
  tmp[1][0] = m1[1][1];
  tmp[1][1] = m1[1][2];
  m2[2][0] = _matrix_2x2_determinant(tmp);
  tmp[0][0] = m1[0][0];
  tmp[0][1] = m1[0][2];
  tmp[1][0] = m1[1][0];
  tmp[1][1] = m1[1][2];
  m2[2][1] = _matrix_2x2_determinant(tmp);
  tmp[0][0] = m1[0][0];
  tmp[0][1] = m1[0][1];
  tmp[1][0] = m1[1][0];
  tmp[1][1] = m1[1][1];
  m2[2][2] = _matrix_2x2_determinant(tmp);
  _matrix_3x3_mul_constant(m2, 1.0f / determinant);
}
```