user: 下面的汇编指令对应的C源代码是什么：

```asm
<GetAngles>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0xd0,%rsp
  movsd  %xmm0,-0x88(%rbp)
  movsd  %xmm1,-0x90(%rbp)
  movsd  %xmm2,-0x98(%rbp)
  movsd  %xmm3,-0xa0(%rbp)
  movsd  %xmm4,-0xa8(%rbp)
  movsd  %xmm5,-0xb0(%rbp)
  movsd  %xmm6,-0xb8(%rbp)
  movsd  %xmm7,-0xc0(%rbp)
  mov    %rdi,-0xc8(%rbp)
  mov    %rsi,-0xd0(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  movsd  -0x88(%rbp),%xmm0
  movapd %xmm0,%xmm1
  mulsd  %xmm0,%xmm1
  movsd  -0x90(%rbp),%xmm0
  mulsd  %xmm0,%xmm0
  addsd  %xmm0,%xmm1
  movsd  -0x98(%rbp),%xmm0
  mulsd  %xmm0,%xmm0
  addsd  %xmm0,%xmm1
  movq   %xmm1,%rax
  movq   %rax,%xmm0
  call   <sqrt@plt>
  movq   %xmm0,%rax
  mov    %rax,-0x60(%rbp)
  movsd  -0xa0(%rbp),%xmm0
  movapd %xmm0,%xmm1
  mulsd  %xmm0,%xmm1
  movsd  -0xa8(%rbp),%xmm0
  mulsd  %xmm0,%xmm0
  addsd  %xmm0,%xmm1
  movsd  -0xb0(%rbp),%xmm0
  mulsd  %xmm0,%xmm0
  addsd  %xmm0,%xmm1
  movq   %xmm1,%rax
  movq   %rax,%xmm0
  call   <sqrt@plt>
  movq   %xmm0,%rax
  mov    %rax,-0x58(%rbp)
  movsd  -0x88(%rbp),%xmm0
  divsd  -0x60(%rbp),%xmm0
  movsd  %xmm0,-0x88(%rbp)
  movsd  -0x90(%rbp),%xmm0
  divsd  -0x60(%rbp),%xmm0
  movsd  %xmm0,-0x90(%rbp)
  movsd  -0x98(%rbp),%xmm0
  divsd  -0x60(%rbp),%xmm0
  movsd  %xmm0,-0x98(%rbp)
  movsd  -0xa0(%rbp),%xmm0
  divsd  -0x58(%rbp),%xmm0
  movsd  %xmm0,-0xa0(%rbp)
  movsd  -0xa8(%rbp),%xmm0
  divsd  -0x58(%rbp),%xmm0
  movsd  %xmm0,-0xa8(%rbp)
  movsd  -0xb0(%rbp),%xmm0
  divsd  -0x58(%rbp),%xmm0
  movsd  %xmm0,-0xb0(%rbp)
  movsd  -0x88(%rbp),%xmm0
  movq   D29(%rip),%xmm1
  xorpd  %xmm1,%xmm0
  movsd  %xmm0,-0x78(%rbp)
  movsd  -0x90(%rbp),%xmm0
  movq   D29(%rip),%xmm1
  xorpd  %xmm1,%xmm0
  movsd  %xmm0,-0x70(%rbp)
  movsd  -0x98(%rbp),%xmm0
  movq   D29(%rip),%xmm1
  xorpd  %xmm1,%xmm0
  movsd  %xmm0,-0x68(%rbp)
  pxor   %xmm0,%xmm0
  ucomisd -0xb8(%rbp),%xmm0
  jp     L21
  pxor   %xmm0,%xmm0
  ucomisd -0xb8(%rbp),%xmm0
  jne    L21
  pxor   %xmm0,%xmm0
  ucomisd -0xc0(%rbp),%xmm0
  jp     L21
  pxor   %xmm0,%xmm0
  ucomisd -0xc0(%rbp),%xmm0
  je     L10
L21:
  movsd  -0x90(%rbp),%xmm0
  mulsd  -0xb0(%rbp),%xmm0
  movsd  -0x98(%rbp),%xmm1
  mulsd  -0xa8(%rbp),%xmm1
  subsd  %xmm1,%xmm0
  movsd  %xmm0,-0x50(%rbp)
  movsd  -0x98(%rbp),%xmm0
  mulsd  -0xa0(%rbp),%xmm0
  movsd  -0x88(%rbp),%xmm1
  mulsd  -0xb0(%rbp),%xmm1
  subsd  %xmm1,%xmm0
  movsd  %xmm0,-0x48(%rbp)
  movsd  -0x88(%rbp),%xmm0
  mulsd  -0xa8(%rbp),%xmm0
  movsd  -0x90(%rbp),%xmm1
  mulsd  -0xa0(%rbp),%xmm1
  subsd  %xmm1,%xmm0
  movsd  %xmm0,-0x40(%rbp)
  movsd  -0x50(%rbp),%xmm0
  movapd %xmm0,%xmm1
  mulsd  %xmm0,%xmm1
  movsd  -0x48(%rbp),%xmm0
  mulsd  %xmm0,%xmm0
  addsd  %xmm0,%xmm1
  movsd  -0x40(%rbp),%xmm0
  mulsd  %xmm0,%xmm0
  addsd  %xmm0,%xmm1
  movq   %xmm1,%rax
  movq   %rax,%xmm0
  call   <sqrt@plt>
  movq   %xmm0,%rax
  mov    %rax,-0x38(%rbp)
  movsd  -0x50(%rbp),%xmm0
  divsd  -0x38(%rbp),%xmm0
  movsd  %xmm0,-0x50(%rbp)
  movsd  -0x48(%rbp),%xmm0
  divsd  -0x38(%rbp),%xmm0
  movsd  %xmm0,-0x48(%rbp)
  movsd  -0x40(%rbp),%xmm0
  divsd  -0x38(%rbp),%xmm0
  movsd  %xmm0,-0x40(%rbp)
  movsd  -0xb8(%rbp),%xmm2
  movsd  -0x40(%rbp),%xmm1
  movsd  -0x48(%rbp),%xmm0
  mov    -0x50(%rbp),%rsi
  lea    -0x68(%rbp),%rdx
  lea    -0x70(%rbp),%rcx
  lea    -0x78(%rbp),%rax
  movapd %xmm2,%xmm3
  movapd %xmm1,%xmm2
  movapd %xmm0,%xmm1
  movq   %rsi,%xmm0
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <Rodrigues@plt>
  movsd  -0x68(%rbp),%xmm0
  mulsd  -0x48(%rbp),%xmm0
  movsd  -0x70(%rbp),%xmm1
  mulsd  -0x40(%rbp),%xmm1
  subsd  %xmm1,%xmm0
  movsd  %xmm0,-0x30(%rbp)
  movsd  -0x78(%rbp),%xmm0
  mulsd  -0x40(%rbp),%xmm0
  movsd  -0x68(%rbp),%xmm1
  mulsd  -0x50(%rbp),%xmm1
  subsd  %xmm1,%xmm0
  movsd  %xmm0,-0x28(%rbp)
  movsd  -0x70(%rbp),%xmm0
  mulsd  -0x50(%rbp),%xmm0
  movsd  -0x78(%rbp),%xmm1
  mulsd  -0x48(%rbp),%xmm1
  subsd  %xmm1,%xmm0
  movsd  %xmm0,-0x20(%rbp)
  movsd  -0x30(%rbp),%xmm0
  movapd %xmm0,%xmm1
  mulsd  %xmm0,%xmm1
  movsd  -0x28(%rbp),%xmm0
  mulsd  %xmm0,%xmm0
  addsd  %xmm0,%xmm1
  movsd  -0x20(%rbp),%xmm0
  mulsd  %xmm0,%xmm0
  addsd  %xmm0,%xmm1
  movq   %xmm1,%rax
  movq   %rax,%xmm0
  call   <sqrt@plt>
  movq   %xmm0,%rax
  mov    %rax,-0x18(%rbp)
  movsd  -0x30(%rbp),%xmm0
  divsd  -0x18(%rbp),%xmm0
  movsd  %xmm0,-0x30(%rbp)
  movsd  -0x28(%rbp),%xmm0
  divsd  -0x18(%rbp),%xmm0
  movsd  %xmm0,-0x28(%rbp)
  movsd  -0x20(%rbp),%xmm0
  divsd  -0x18(%rbp),%xmm0
  movsd  %xmm0,-0x20(%rbp)
  movsd  -0xc0(%rbp),%xmm2
  movsd  -0x20(%rbp),%xmm1
  movsd  -0x28(%rbp),%xmm0
  mov    -0x30(%rbp),%rsi
  lea    -0x68(%rbp),%rdx
  lea    -0x70(%rbp),%rcx
  lea    -0x78(%rbp),%rax
  movapd %xmm2,%xmm3
  movapd %xmm1,%xmm2
  movapd %xmm0,%xmm1
  movq   %rsi,%xmm0
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <Rodrigues@plt>
L10:
  movsd  -0x78(%rbp),%xmm1
  movsd  -0x78(%rbp),%xmm0
  mulsd  %xmm0,%xmm1
  movsd  -0x70(%rbp),%xmm2
  movsd  -0x70(%rbp),%xmm0
  mulsd  %xmm2,%xmm0
  addsd  %xmm0,%xmm1
  movq   %xmm1,%rax
  movq   %rax,%xmm0
  call   <sqrt@plt>
  movq   %xmm0,%rax
  mov    %rax,-0x10(%rbp)
  movsd  -0x78(%rbp),%xmm0
  mov    -0x70(%rbp),%rax
  movapd %xmm0,%xmm1
  movq   %rax,%xmm0
  call   <atan2@plt>
  movsd  D40(%rip),%xmm1
  addsd  %xmm1,%xmm0
  mov    -0xd0(%rbp),%rax
  movsd  %xmm0,(%rax)
  movsd  -0x68(%rbp),%xmm1
  pxor   %xmm0,%xmm0
  comisd %xmm1,%xmm0
  jb     L28
  mov    -0x10(%rbp),%rax
  movq   %rax,%xmm0
  call   <acos@plt>
  movq   %xmm0,%rax
  mov    -0xc8(%rbp),%rdx
  mov    %rax,(%rdx)
  jmp    L33
L28:
  mov    -0x10(%rbp),%rax
  movq   %rax,%xmm0
  call   <acos@plt>
  movq   %xmm0,%rax
  movq   D29(%rip),%xmm0
  movq   %rax,%xmm4
  xorpd  %xmm0,%xmm4
  movapd %xmm4,%xmm0
  mov    -0xc8(%rbp),%rax
  movsd  %xmm0,(%rax)
L33:
  nop
  mov    -0x8(%rbp),%rax
  sub    %fs:0x28,%rax
  je     L18
  call   <__stack_chk_fail@plt>
L18:
  leave
  ret
```

tool_calls: name: retrieve_data
arguments: data_label: D29
type_infered: byte[8]
name: retrieve_data
arguments: data_label: D40
type_infered: byte[8]

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

tool: {"D40": [0x18,0x2d,0x44,0x54,0xfb,0x21,0x09,0x40]}

assistant: ```c
void GetAngles(double x, double y, double z, double vx, double vy, double vz, double Lambda, double Phi, double *theta, double *gamma) {
  double r, xstar, ystar, zstar, v, d;
  r = sqrt(x * x + y * y + z * z);
  v = sqrt(vx * vx + vy * vy + vz * vz);
  x /= r;
  y /= r;
  z /= r;
  vx /= v;
  vy /= v;
  vz /= v;
  xstar = -x;
  ystar = -y;
  zstar = -z;
  if ((Lambda != 0) || (Phi != 0)) {
    double vlon, vlonx, vlony, vlonz;
    double vlat, vlatx, vlaty, vlatz;
    vlonx = (y * vz - z * vy);
    vlony = (z * vx - x * vz);
    vlonz = (x * vy - y * vx);
    vlon = sqrt(vlonx * vlonx + vlony * vlony + vlonz * vlonz);
    vlonx /= vlon;
    vlony /= vlon;
    vlonz /= vlon;
    Rodrigues(&xstar, &ystar, &zstar, vlonx, vlony, vlonz, Lambda);
    vlatx = (vlony * zstar - vlonz * ystar);
    vlaty = (vlonz * xstar - vlonx * zstar);
    vlatz = (vlonx * ystar - vlony * xstar);
    vlat = sqrt(vlatx * vlatx + vlaty * vlaty + vlatz * vlatz);
    vlatx /= vlat;
    vlaty /= vlat;
    vlatz /= vlat;
    Rodrigues(&xstar, &ystar, &zstar, vlatx, vlaty, vlatz, Phi);
  }
  d = sqrt(xstar * xstar + ystar * ystar);
  *gamma = atan2(ystar, xstar) + acos(-1.);
  if (zstar <= 0)
    *theta = acos(d);
  else
    *theta = -acos(d);
}
```