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

```asm
<modele_gravite>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0xc0,%rsp
  mov    %rdi,-0xb8(%rbp)
  mov    %rsi,-0xc0(%rbp)
  mov    -0xb8(%rbp),%rax
  mov    (%rax),%rax
  movq   %rax,%xmm0
  call   <cos@plt>
  movq   %xmm0,%rax
  mov    %rax,-0xa8(%rbp)
  mov    -0xb8(%rbp),%rax
  add    $0x8,%rax
  mov    (%rax),%rax
  movq   %rax,%xmm0
  call   <cos@plt>
  movq   %xmm0,%rax
  mov    %rax,-0xa0(%rbp)
  mov    -0xb8(%rbp),%rax
  add    $0x10,%rax
  mov    (%rax),%rax
  movq   %rax,%xmm0
  call   <cos@plt>
  movq   %xmm0,%rax
  mov    %rax,-0x98(%rbp)
  mov    -0xb8(%rbp),%rax
  add    $0x18,%rax
  mov    (%rax),%rax
  movq   %rax,%xmm0
  call   <cos@plt>
  movq   %xmm0,%rax
  mov    %rax,-0x90(%rbp)
  mov    -0xb8(%rbp),%rax
  add    $0x20,%rax
  mov    (%rax),%rax
  movq   %rax,%xmm0
  call   <cos@plt>
  movq   %xmm0,%rax
  mov    %rax,-0x88(%rbp)
  mov    -0xb8(%rbp),%rax
  add    $0x28,%rax
  mov    (%rax),%rax
  movq   %rax,%xmm0
  call   <cos@plt>
  movq   %xmm0,%rax
  mov    %rax,-0x80(%rbp)
  mov    -0xb8(%rbp),%rax
  add    $0x30,%rax
  mov    (%rax),%rax
  movq   %rax,%xmm0
  call   <cos@plt>
  movq   %xmm0,%rax
  mov    %rax,-0x78(%rbp)
  mov    -0xb8(%rbp),%rax
  movsd  (%rax),%xmm0
  addsd  %xmm0,%xmm0
  movq   %xmm0,%rax
  movq   %rax,%xmm0
  call   <cos@plt>
  movq   %xmm0,%rax
  mov    %rax,-0x70(%rbp)
  mov    -0xb8(%rbp),%rax
  add    $0x8,%rax
  movsd  (%rax),%xmm0
  addsd  %xmm0,%xmm0
  movq   %xmm0,%rax
  movq   %rax,%xmm0
  call   <cos@plt>
  movq   %xmm0,%rax
  mov    %rax,-0x68(%rbp)
  mov    -0xb8(%rbp),%rax
  add    $0x10,%rax
  movsd  (%rax),%xmm0
  addsd  %xmm0,%xmm0
  movq   %xmm0,%rax
  movq   %rax,%xmm0
  call   <cos@plt>
  movq   %xmm0,%rax
  mov    %rax,-0x60(%rbp)
  mov    -0xb8(%rbp),%rax
  add    $0x18,%rax
  movsd  (%rax),%xmm0
  addsd  %xmm0,%xmm0
  movq   %xmm0,%rax
  movq   %rax,%xmm0
  call   <cos@plt>
  movq   %xmm0,%rax
  mov    %rax,-0x58(%rbp)
  mov    -0xb8(%rbp),%rax
  add    $0x20,%rax
  movsd  (%rax),%xmm0
  addsd  %xmm0,%xmm0
  movq   %xmm0,%rax
  movq   %rax,%xmm0
  call   <cos@plt>
  movq   %xmm0,%rax
  mov    %rax,-0x50(%rbp)
  mov    -0xb8(%rbp),%rax
  add    $0x28,%rax
  movsd  (%rax),%xmm0
  addsd  %xmm0,%xmm0
  movq   %xmm0,%rax
  movq   %rax,%xmm0
  call   <cos@plt>
  movq   %xmm0,%rax
  mov    %rax,-0x48(%rbp)
  mov    -0xb8(%rbp),%rax
  add    $0x30,%rax
  movsd  (%rax),%xmm0
  addsd  %xmm0,%xmm0
  movq   %xmm0,%rax
  movq   %rax,%xmm0
  call   <cos@plt>
  movq   %xmm0,%rax
  mov    %rax,-0x40(%rbp)
  mov    -0xb8(%rbp),%rax
  mov    (%rax),%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  movq   %xmm0,%rax
  mov    %rax,-0x38(%rbp)
  mov    -0xb8(%rbp),%rax
  add    $0x8,%rax
  mov    (%rax),%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  movq   %xmm0,%rax
  mov    %rax,-0x30(%rbp)
  mov    -0xb8(%rbp),%rax
  add    $0x10,%rax
  mov    (%rax),%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  movq   %xmm0,%rax
  mov    %rax,-0x28(%rbp)
  mov    -0xb8(%rbp),%rax
  add    $0x18,%rax
  mov    (%rax),%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  movq   %xmm0,%rax
  mov    %rax,-0x20(%rbp)
  mov    -0xb8(%rbp),%rax
  add    $0x20,%rax
  mov    (%rax),%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  movq   %xmm0,%rax
  mov    %rax,-0x18(%rbp)
  mov    -0xb8(%rbp),%rax
  add    $0x28,%rax
  mov    (%rax),%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  movq   %xmm0,%rax
  mov    %rax,-0x10(%rbp)
  mov    -0xb8(%rbp),%rax
  add    $0x30,%rax
  mov    (%rax),%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  movq   %xmm0,%rax
  mov    %rax,-0x8(%rbp)
  mov    -0xc0(%rbp),%rax
  pxor   %xmm0,%xmm0
  movsd  %xmm0,(%rax)
  movsd  -0x80(%rbp),%xmm1
  movsd  D142(%rip),%xmm0
  mulsd  %xmm0,%xmm1
  movsd  D93(%rip),%xmm0
  addsd  %xmm1,%xmm0
  movapd %xmm0,%xmm1
  mulsd  -0x90(%rbp),%xmm1
  movsd  D30(%rip),%xmm0
  addsd  %xmm0,%xmm1
  movsd  -0x88(%rbp),%xmm2
  movsd  D12(%rip),%xmm0
  mulsd  %xmm2,%xmm0
  mulsd  -0x20(%rbp),%xmm0
  mulsd  -0x10(%rbp),%xmm0
  addsd  %xmm1,%xmm0
  movapd %xmm0,%xmm2
  mulsd  -0x30(%rbp),%xmm2
  movsd  -0x80(%rbp),%xmm1
  movsd  D142(%rip),%xmm0
  mulsd  %xmm0,%xmm1
  movsd  D93(%rip),%xmm0
  addsd  %xmm1,%xmm0
  mulsd  -0x98(%rbp),%xmm0
  movapd %xmm0,%xmm3
  mulsd  -0x20(%rbp),%xmm3
  movsd  -0x98(%rbp),%xmm0
  mulsd  -0x90(%rbp),%xmm0
  mulsd  -0x88(%rbp),%xmm0
  movsd  -0x28(%rbp),%xmm1
  movapd %xmm1,%xmm4
  mulsd  -0x18(%rbp),%xmm4
  movapd %xmm0,%xmm1
  subsd  %xmm4,%xmm1
  movsd  D142(%rip),%xmm0
  mulsd  %xmm1,%xmm0
  mulsd  -0x10(%rbp),%xmm0
  addsd  %xmm3,%xmm0
  mulsd  -0xa0(%rbp),%xmm0
  addsd  %xmm0,%xmm2
  movapd %xmm2,%xmm1
  movsd  D96(%rip),%xmm0
  mulsd  %xmm1,%xmm0
  mov    -0xc0(%rbp),%rax
  add    $0x8,%rax
  movq   D90(%rip),%xmm1
  xorpd  %xmm1,%xmm0
  movsd  %xmm0,(%rax)
  movsd  -0x30(%rbp),%xmm1
  movsd  D96(%rip),%xmm0
  mulsd  %xmm0,%xmm1
  movsd  -0x80(%rbp),%xmm2
  movsd  D142(%rip),%xmm0
  mulsd  %xmm0,%xmm2
  movsd  D93(%rip),%xmm0
  addsd  %xmm2,%xmm0
  mulsd  -0x28(%rbp),%xmm0
  movapd %xmm0,%xmm2
  mulsd  -0x20(%rbp),%xmm2
  movsd  -0x90(%rbp),%xmm0
  mulsd  -0x88(%rbp),%xmm0
  movapd %xmm0,%xmm3
  mulsd  -0x28(%rbp),%xmm3
  movsd  -0x98(%rbp),%xmm0
  mulsd  -0x18(%rbp),%xmm0
  addsd  %xmm0,%xmm3
  movsd  D142(%rip),%xmm0
  mulsd  %xmm3,%xmm0
  mulsd  -0x10(%rbp),%xmm0
  addsd  %xmm2,%xmm0
  mov    -0xc0(%rbp),%rax
  add    $0x10,%rax
  mulsd  %xmm1,%xmm0
  movsd  %xmm0,(%rax)
  movsd  -0x88(%rbp),%xmm1
  movsd  D96(%rip),%xmm0
  mulsd  %xmm0,%xmm1
  movsd  D142(%rip),%xmm0
  movapd %xmm1,%xmm2
  mulsd  %xmm0,%xmm2
  movsd  -0x98(%rbp),%xmm0
  mulsd  -0x30(%rbp),%xmm0
  mulsd  -0x20(%rbp),%xmm0
  movsd  -0xa0(%rbp),%xmm1
  mulsd  -0x90(%rbp),%xmm1
  subsd  %xmm1,%xmm0
  mulsd  %xmm2,%xmm0
  mulsd  -0x10(%rbp),%xmm0
  movsd  -0x80(%rbp),%xmm2
  movsd  D142(%rip),%xmm1
  mulsd  %xmm1,%xmm2
  movsd  D93(%rip),%xmm1
  addsd  %xmm1,%xmm2
  movsd  D96(%rip),%xmm1
  mulsd  %xmm1,%xmm2
  movsd  -0x98(%rbp),%xmm1
  mulsd  -0x90(%rbp),%xmm1
  movapd %xmm1,%xmm3
  mulsd  -0x30(%rbp),%xmm3
  movsd  -0xa0(%rbp),%xmm1
  mulsd  -0x20(%rbp),%xmm1
  addsd  %xmm3,%xmm1
  mulsd  %xmm2,%xmm1
  mov    -0xc0(%rbp),%rax
  add    $0x18,%rax
  subsd  %xmm1,%xmm0
  movsd  %xmm0,(%rax)
  movsd  -0x88(%rbp),%xmm0
  mulsd  -0x30(%rbp),%xmm0
  movapd %xmm0,%xmm1
  mulsd  -0x28(%rbp),%xmm1
  movsd  -0x98(%rbp),%xmm0
  mulsd  -0x90(%rbp),%xmm0
  movapd %xmm0,%xmm2
  mulsd  -0x30(%rbp),%xmm2
  movsd  -0xa0(%rbp),%xmm0
  mulsd  -0x20(%rbp),%xmm0
  addsd  %xmm2,%xmm0
  mulsd  -0x18(%rbp),%xmm0
  addsd  %xmm0,%xmm1
  movsd  D24(%rip),%xmm0
  mulsd  %xmm1,%xmm0
  mov    -0xc0(%rbp),%rax
  add    $0x20,%rax
  mulsd  -0x10(%rbp),%xmm0
  movsd  %xmm0,(%rax)
  movsd  -0x98(%rbp),%xmm0
  mulsd  -0x90(%rbp),%xmm0
  movapd %xmm0,%xmm1
  mulsd  -0x30(%rbp),%xmm1
  movsd  -0xa0(%rbp),%xmm0
  mulsd  -0x20(%rbp),%xmm0
  addsd  %xmm1,%xmm0
  mulsd  -0x88(%rbp),%xmm0
  movsd  -0x30(%rbp),%xmm1
  mulsd  -0x28(%rbp),%xmm1
  mulsd  -0x18(%rbp),%xmm1
  subsd  %xmm1,%xmm0
  movapd %xmm0,%xmm2
  mulsd  -0x80(%rbp),%xmm2
  movsd  -0xa0(%rbp),%xmm0
  mulsd  -0x90(%rbp),%xmm0
  movsd  -0x98(%rbp),%xmm1
  mulsd  -0x30(%rbp),%xmm1
  mulsd  -0x20(%rbp),%xmm1
  subsd  %xmm1,%xmm0
  mulsd  -0x10(%rbp),%xmm0
  addsd  %xmm0,%xmm2
  movapd %xmm2,%xmm1
  mov    -0xc0(%rbp),%rax
  add    $0x28,%rax
  movsd  D171(%rip),%xmm0
  mulsd  %xmm1,%xmm0
  movsd  %xmm0,(%rax)
  mov    -0xc0(%rbp),%rax
  add    $0x30,%rax
  pxor   %xmm0,%xmm0
  movsd  %xmm0,(%rax)
  nop
  leave
  ret
```

tool_calls: name: extract_symbolic_data
arguments: label: D142
type_infered: byte[8]
name: extract_symbolic_data
arguments: label: D93
type_infered: byte[8]
name: extract_symbolic_data
arguments: label: D30
type_infered: byte[8]
name: extract_symbolic_data
arguments: label: D12
type_infered: byte[8]
name: extract_symbolic_data
arguments: label: D96
type_infered: f64
name: extract_symbolic_data
arguments: label: D90
type_infered: byte[8]
name: extract_symbolic_data
arguments: label: D24
type_infered: byte[8]
name: extract_symbolic_data
arguments: label: D171
type_infered: byte[8]

tool: {"D142": [0x9b,0x38,0xb9,0xdf,0xa1,0x28,0xa0,0xbf]}

tool: {"D93": [0xf5,0x2d,0x18,0x01,0xba,0xa4,0x01,0x40]}

tool: {"D30": [0xcc,0xc6,0x94,0x59,0xce,0x37,0x18,0x40]}

tool: {"D12": [0x9b,0x38,0xb9,0xdf,0xa1,0x28,0xa0,0x3f]}

tool: D96: 9.81

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

tool: {"D24": [0xd0,0x53,0x2e,0x9e,0x8b,0xd0,0xd3,0xbf]}

tool: {"D171": [0xd0,0x53,0x2e,0x9e,0x8b,0xd0,0xd3,0x3f]}

assistant: ```c
void modele_gravite(const double Q[7], double gravity[7]) {
  int i;
  double C1, C2, C3, C4, C5, C6, C7;
  double C11, C22, C33, C44, C55, C66, C77;
  double S1, S2, S3, S4, S5, S6, S7;
  C1 = cos(Q[0]);
  C2 = cos(Q[1]);
  C3 = cos(Q[2]);
  C4 = cos(Q[3]);
  C5 = cos(Q[4]);
  C6 = cos(Q[5]);
  C7 = cos(Q[6]);
  C11 = cos(2 * Q[0]);
  C22 = cos(2 * Q[1]);
  C33 = cos(2 * Q[2]);
  C44 = cos(2 * Q[3]);
  C55 = cos(2 * Q[4]);
  C66 = cos(2 * Q[5]);
  C77 = cos(2 * Q[6]);
  S1 = sin(Q[0]);
  S2 = sin(Q[1]);
  S3 = sin(Q[2]);
  S4 = sin(Q[3]);
  S5 = sin(Q[4]);
  S6 = sin(Q[5]);
  S7 = sin(Q[6]);
  gravity[0] = 0;
  gravity[1] = -(9.81 * (S2 * (0.450 * (3.51 + 4.31 + 3.45 + 1.46 + 0.24) - 3.51 * 0.08944 + 8.41 * 0.06325 + C4 * (0.50 * (3.45 + 1.46 + 0.24) - 3.45 * 0.1647 + 4.31 * 0.04609 + C6 * (1.46 * -0.03 + 0.24 * (0.08 + -0.029))) - C5 * (1.46 * -0.03 + 0.24 * (0.08 + -0.029)) * S4 * S6) + C2 * (C3 * (0.50 * (3.45 + 1.46 + 0.24) - 3.45 * 0.1647 + 4.31 * 0.04609 + C6 * (1.46 * -0.03 + 0.24 * (0.08 + -0.029))) * S4 + (1.46 * -0.03 + 0.24 * (0.08 + -0.029)) * (C3 * C4 * C5 - S3 * S5) * S6)));
  gravity[2] = 9.81 * S2 * ((0.50 * (3.45 + 1.46 + 0.24) - 3.45 * 0.1647 + 4.31 * 0.04609 + C6 * (1.46 * -0.03 + 0.24 * (0.08 + -0.029))) * S3 * S4 + (1.46 * -0.03 + 0.24 * (0.08 + -0.029)) * (C4 * C5 * S3 + C3 * S5) * S6);
  gravity[3] = -(9.81 * (0.50 * (3.45 + 1.46 + 0.24) - 3.45 * 0.1647 + 4.31 * 0.04609 + C6 * (1.46 * -0.03 + 0.24 * (0.08 + -0.029))) * (C3 * C4 * S2 + C2 * S4)) + C5 * 9.81 * (1.46 * -0.03 + 0.24 * (0.08 + -0.029)) * (-(C2 * C4) + C3 * S2 * S4) * S6;
  gravity[4] = 9.81 * (1.46 * -0.03 + 0.24 * (0.08 + -0.029)) * (C5 * S2 * S3 + (C3 * C4 * S2 + C2 * S4) * S5) * S6;
  gravity[5] = -(9.81 * (1.46 * -0.03 + 0.24 * (0.08 + -0.029)) * (C6 * (C5 * (C3 * C4 * S2 + C2 * S4) - S2 * S3 * S5) + (C2 * C4 - C3 * S2 * S4) * S6));
  gravity[6] = 0;
}
```