user: 提供的汇编代码用C语言表示会是什么样子:

```asm
<eu2qu>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x70,%rsp
  mov    %rdi,-0x58(%rbp)
  mov    %rsi,-0x60(%rbp)
  mov    %edx,-0x64(%rbp)
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0x48(%rbp)
  pxor   %xmm0,%xmm0
  cvtsi2sdl -0x64(%rbp),%xmm0
  movsd  %xmm0,-0x40(%rbp)
  mov    -0x58(%rbp),%rax
  movsd  (%rax),%xmm0
  movsd  D20(%rip),%xmm1
  divsd  %xmm1,%xmm0
  movsd  %xmm0,-0x38(%rbp)
  mov    -0x58(%rbp),%rax
  add    $0x8,%rax
  movsd  (%rax),%xmm0
  movsd  D20(%rip),%xmm1
  divsd  %xmm1,%xmm0
  movsd  %xmm0,-0x30(%rbp)
  mov    -0x58(%rbp),%rax
  add    $0x10,%rax
  movsd  (%rax),%xmm0
  movsd  D20(%rip),%xmm1
  divsd  %xmm1,%xmm0
  movsd  %xmm0,-0x28(%rbp)
  movsd  -0x38(%rbp),%xmm0
  subsd  -0x28(%rbp),%xmm0
  movsd  %xmm0,-0x20(%rbp)
  movsd  -0x38(%rbp),%xmm0
  addsd  -0x28(%rbp),%xmm0
  movsd  %xmm0,-0x18(%rbp)
  mov    -0x30(%rbp),%rax
  movq   %rax,%xmm0
  call   <cos@plt>
  movq   %xmm0,%rax
  mov    %rax,-0x10(%rbp)
  mov    -0x30(%rbp),%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  movq   %xmm0,%rax
  movq   D65(%rip),%xmm0
  movq   %rax,%xmm2
  xorpd  %xmm0,%xmm2
  movapd %xmm2,%xmm0
  movsd  %xmm0,-0x8(%rbp)
  mov    -0x18(%rbp),%rax
  movq   %rax,%xmm0
  call   <cos@plt>
  movq   %xmm0,%rax
  movq   %rax,%xmm1
  mulsd  -0x10(%rbp),%xmm1
  pxor   %xmm0,%xmm0
  addsd  %xmm1,%xmm0
  mov    -0x60(%rbp),%rax
  movsd  %xmm0,(%rax)
  mov    -0x60(%rbp),%rax
  movsd  (%rax),%xmm0
  pxor   %xmm1,%xmm1
  comisd %xmm1,%xmm0
  jb     L18
  movsd  D19(%rip),%xmm0
  jmp    L16
L18:
  movsd  D8(%rip),%xmm0
L16:
  movsd  %xmm0,-0x48(%rbp)
  mov    -0x60(%rbp),%rax
  movsd  (%rax),%xmm0
  mulsd  -0x48(%rbp),%xmm0
  mov    -0x60(%rbp),%rax
  movsd  %xmm0,(%rax)
  movsd  -0x40(%rbp),%xmm0
  mulsd  -0x48(%rbp),%xmm0
  mulsd  -0x8(%rbp),%xmm0
  movsd  %xmm0,-0x70(%rbp)
  mov    -0x20(%rbp),%rax
  movq   %rax,%xmm0
  call   <cos@plt>
  movsd  -0x70(%rbp),%xmm1
  mulsd  %xmm0,%xmm1
  mov    -0x60(%rbp),%rax
  add    $0x8,%rax
  pxor   %xmm0,%xmm0
  addsd  %xmm1,%xmm0
  movsd  %xmm0,(%rax)
  movsd  -0x40(%rbp),%xmm0
  mulsd  -0x48(%rbp),%xmm0
  mulsd  -0x8(%rbp),%xmm0
  movsd  %xmm0,-0x70(%rbp)
  mov    -0x20(%rbp),%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  movsd  -0x70(%rbp),%xmm1
  mulsd  %xmm0,%xmm1
  mov    -0x60(%rbp),%rax
  add    $0x10,%rax
  pxor   %xmm0,%xmm0
  addsd  %xmm1,%xmm0
  movsd  %xmm0,(%rax)
  movsd  -0x40(%rbp),%xmm0
  movq   D65(%rip),%xmm1
  xorpd  %xmm1,%xmm0
  mulsd  -0x48(%rbp),%xmm0
  mulsd  -0x10(%rbp),%xmm0
  movsd  %xmm0,-0x70(%rbp)
  mov    -0x18(%rbp),%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  movsd  -0x70(%rbp),%xmm1
  mulsd  %xmm0,%xmm1
  mov    -0x60(%rbp),%rax
  add    $0x18,%rax
  pxor   %xmm0,%xmm0
  addsd  %xmm1,%xmm0
  movsd  %xmm0,(%rax)
  mov    $0x1,%eax
  leave
  ret
```

tool_calls: name: unpack_data
arguments: data_label: D20
datatype: f64
name: unpack_data
arguments: data_label: D65
datatype: f32[2]
name: unpack_data
arguments: data_label: D19
datatype: f64
name: unpack_data
arguments: data_label: D8
datatype: f32[2]

tool: D20: 2

tool: {"D65": [0.0,-0.0]}

tool: D19: 1

tool: {"D8": [0.0,-1.875]}

assistant: ```c
int eu2qu(double *eu, double *q, int p) {
  double phi1, phi, phi2, dphi1phi2, sphi1phi2, cphi, sphi, sign = 0.0;
  double epsijk;
  epsijk = (double)p;
  phi1 = eu[0] / 2.0;
  phi = eu[1] / 2.0;
  phi2 = eu[2] / 2.0;
  dphi1phi2 = phi1 - phi2;
  sphi1phi2 = phi1 + phi2;
  cphi = cos(phi);
  sphi = -1.0 * sin(phi);
  q[0] = cphi * cos(sphi1phi2) + 0.0;
  sign = ((q[0] >= 0.0) ? 1.0 : -1.0);
  q[0] *= sign;
  q[1] = epsijk * sign * sphi * cos(dphi1phi2) + 0.0;
  q[2] = epsijk * sign * sphi * sin(dphi1phi2) + 0.0;
  q[3] = -1.0 * epsijk * sign * cphi * sin(sphi1phi2) + 0.0;
  return 1;
}
```