user: 这段汇编代码用C语言表示是什么样的？

```asm
<floats_mat_to_quat>:
  endbr64
  push   %rbp
  push   %rbx
  sub    $0x8,%rsp
  mov    %rdi,%rbx
  mov    %rsi,%rbp
  movss  (%rdi),%xmm3
  movss  0x14(%rdi),%xmm1
  movss  0x28(%rdi),%xmm2
  movaps %xmm3,%xmm0
  addss  %xmm1,%xmm0
  addss  %xmm2,%xmm0
  cvtss2sd %xmm0,%xmm0
  addsd  D88(%rip),%xmm0
  comisd D52(%rip),%xmm0
  ja     L65
  comiss %xmm1,%xmm3
  jbe    L1
  comiss %xmm2,%xmm3
  ja     L13
L1:
  comiss %xmm2,%xmm1
  jbe    L17
  pxor   %xmm0,%xmm0
  cvtss2sd %xmm1,%xmm0
  addsd  D88(%rip),%xmm0
  cvtss2sd %xmm3,%xmm3
  subsd  %xmm3,%xmm0
  cvtss2sd %xmm2,%xmm2
  subsd  %xmm2,%xmm0
  call   <sqrt@plt>
  add    %eax,%eax
  pxor   %xmm1,%xmm1
  cvtsi2sd %eax,%xmm1
  movss  0x8(%rbx),%xmm0
  subss  0x20(%rbx),%xmm0
  cvtss2sd %xmm0,%xmm0
  divsd  %xmm1,%xmm0
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,0x0(%rbp)
  movss  0x10(%rbx),%xmm0
  addss  0x4(%rbx),%xmm0
  cvtss2sd %xmm0,%xmm0
  divsd  %xmm1,%xmm0
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,0x4(%rbp)
  movapd %xmm1,%xmm0
  mulsd  D14(%rip),%xmm0
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,0x8(%rbp)
  movss  0x24(%rbx),%xmm0
  addss  0x18(%rbx),%xmm0
  cvtss2sd %xmm0,%xmm0
  divsd  %xmm1,%xmm0
  cvtsd2ss %xmm0,%xmm0
  jmp    L60
L65:
  call   <sqrt@plt>
  add    %eax,%eax
  pxor   %xmm1,%xmm1
  cvtsi2sd %eax,%xmm1
  movapd %xmm1,%xmm0
  mulsd  D14(%rip),%xmm0
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,0x0(%rbp)
  movss  0x24(%rbx),%xmm0
  subss  0x18(%rbx),%xmm0
  cvtss2sd %xmm0,%xmm0
  divsd  %xmm1,%xmm0
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,0x4(%rbp)
  movss  0x8(%rbx),%xmm0
  subss  0x20(%rbx),%xmm0
  cvtss2sd %xmm0,%xmm0
  divsd  %xmm1,%xmm0
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,0x8(%rbp)
  movss  0x10(%rbx),%xmm0
  subss  0x4(%rbx),%xmm0
  cvtss2sd %xmm0,%xmm0
  divsd  %xmm1,%xmm0
  cvtsd2ss %xmm0,%xmm0
L60:
  movss  %xmm0,0xc(%rbp)
  mov    %rbp,%rdx
  mov    $0x4,%esi
  mov    %rbp,%rdi
  call   <floats_normalize@plt>
  add    $0x8,%rsp
  pop    %rbx
  pop    %rbp
  ret
L13:
  pxor   %xmm0,%xmm0
  cvtss2sd %xmm3,%xmm0
  addsd  D88(%rip),%xmm0
  cvtss2sd %xmm1,%xmm1
  subsd  %xmm1,%xmm0
  cvtss2sd %xmm2,%xmm2
  subsd  %xmm2,%xmm0
  call   <sqrt@plt>
  add    %eax,%eax
  pxor   %xmm1,%xmm1
  cvtsi2sd %eax,%xmm1
  movss  0x24(%rbx),%xmm0
  subss  0x18(%rbx),%xmm0
  cvtss2sd %xmm0,%xmm0
  divsd  %xmm1,%xmm0
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,0x0(%rbp)
  movapd %xmm1,%xmm0
  mulsd  D14(%rip),%xmm0
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,0x4(%rbp)
  movss  0x10(%rbx),%xmm0
  addss  0x4(%rbx),%xmm0
  cvtss2sd %xmm0,%xmm0
  divsd  %xmm1,%xmm0
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,0x8(%rbp)
  movss  0x8(%rbx),%xmm0
  addss  0x20(%rbx),%xmm0
  cvtss2sd %xmm0,%xmm0
  divsd  %xmm1,%xmm0
  cvtsd2ss %xmm0,%xmm0
  jmp    L60
L17:
  pxor   %xmm0,%xmm0
  cvtss2sd %xmm2,%xmm0
  addsd  D88(%rip),%xmm0
  cvtss2sd %xmm3,%xmm3
  subsd  %xmm3,%xmm0
  cvtss2sd %xmm1,%xmm1
  subsd  %xmm1,%xmm0
  call   <sqrt@plt>
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  movss  0x10(%rbx),%xmm1
  subss  0x4(%rbx),%xmm1
  cvtss2sd %xmm1,%xmm1
  divsd  %xmm0,%xmm1
  cvtsd2ss %xmm1,%xmm1
  movss  %xmm1,0x0(%rbp)
  movss  0x8(%rbx),%xmm1
  addss  0x20(%rbx),%xmm1
  cvtss2sd %xmm1,%xmm1
  divsd  %xmm0,%xmm1
  cvtsd2ss %xmm1,%xmm1
  movss  %xmm1,0x4(%rbp)
  movss  0x24(%rbx),%xmm1
  addss  0x18(%rbx),%xmm1
  cvtss2sd %xmm1,%xmm1
  divsd  %xmm0,%xmm1
  cvtsd2ss %xmm1,%xmm1
  movss  %xmm1,0x8(%rbp)
  mulsd  D14(%rip),%xmm0
  cvtsd2ss %xmm0,%xmm0
  jmp    L60
```

tool_calls: name: disassemble_data
arguments: data_label: D88
type: f64
name: disassemble_data
arguments: data_label: D52
type: f64[2]
name: disassemble_data
arguments: data_label: D14
type: f64

tool: D88: 1

tool: {"D52": [1e-7,0.25]}

tool: D14: 0.25

assistant: ```c
void floats_mat_to_quat(const float M[16], float q[4]) {
  double T = M[0] + M[5] + M[10] + 1.0;
  double S;
  if (T > 0.0000001) {
    S = sqrt(T) * 2;
    q[0] = 0.25 * S;
    q[1] = (M[9] - M[6]) / S;
    q[2] = (M[2] - M[8]) / S;
    q[3] = (M[4] - M[1]) / S;
  } else if (M[0] > M[5] && M[0] > M[10]) {
    S = sqrt(1.0 + M[0] - M[5] - M[10]) * 2;
    q[0] = (M[9] - M[6]) / S;
    q[1] = 0.25 * S;
    q[2] = (M[4] + M[1]) / S;
    q[3] = (M[2] + M[8]) / S;
  } else if (M[5] > M[10]) {
    S = sqrt(1.0 + M[5] - M[0] - M[10]) * 2;
    q[0] = (M[2] - M[8]) / S;
    q[1] = (M[4] + M[1]) / S;
    q[2] = 0.25 * S;
    q[3] = (M[9] + M[6]) / S;
  } else {
    S = sqrt(1.0 + M[10] - M[0] - M[5]);
    q[0] = (M[4] - M[1]) / S;
    q[1] = (M[2] + M[8]) / S;
    q[2] = (M[9] + M[6]) / S;
    q[3] = 0.25 * S;
  }
  floats_normalize(q, 4, q);
}
```