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

```asm
<RotToRPY>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x20,%rsp
  mov    %rdi,-0x8(%rbp)
  mov    %rsi,-0x10(%rbp)
  mov    %rdx,-0x18(%rbp)
  mov    %rcx,-0x20(%rbp)
  mov    -0x8(%rbp),%rax
  add    $0x30,%rax
  movsd  (%rax),%xmm1
  movsd  D52(%rip),%xmm0
  addsd  %xmm1,%xmm0
  movq   D28(%rip),%xmm1
  andpd  %xmm0,%xmm1
  movsd  D18(%rip),%xmm0
  comisd %xmm1,%xmm0
  jbe    L15
  mov    -0x20(%rbp),%rax
  pxor   %xmm0,%xmm0
  movsd  %xmm0,(%rax)
  mov    -0x18(%rbp),%rax
  movsd  D3(%rip),%xmm0
  movsd  %xmm0,(%rax)
  mov    -0x8(%rbp),%rax
  add    $0x18,%rax
  movsd  0x8(%rax),%xmm0
  mov    -0x8(%rbp),%rax
  mov    0x8(%rax),%rax
  movapd %xmm0,%xmm1
  movq   %rax,%xmm0
  call   <atan2@plt>
  movq   %xmm0,%rax
  mov    -0x10(%rbp),%rdx
  mov    %rax,(%rdx)
  jmp    L35
L15:
  mov    -0x8(%rbp),%rax
  add    $0x30,%rax
  movsd  (%rax),%xmm1
  movsd  D52(%rip),%xmm0
  subsd  %xmm1,%xmm0
  movq   D28(%rip),%xmm1
  andpd  %xmm0,%xmm1
  movsd  D18(%rip),%xmm0
  comisd %xmm1,%xmm0
  jbe    L13
  mov    -0x20(%rbp),%rax
  pxor   %xmm0,%xmm0
  movsd  %xmm0,(%rax)
  mov    -0x18(%rbp),%rax
  movsd  D6(%rip),%xmm0
  movsd  %xmm0,(%rax)
  mov    -0x8(%rbp),%rax
  add    $0x18,%rax
  movsd  0x8(%rax),%xmm0
  mov    -0x8(%rbp),%rax
  mov    0x8(%rax),%rax
  movapd %xmm0,%xmm1
  movq   %rax,%xmm0
  call   <atan2@plt>
  movq   %xmm0,%rax
  mov    -0x10(%rbp),%rdx
  mov    %rax,(%rdx)
  jmp    L35
L13:
  mov    -0x8(%rbp),%rax
  movsd  (%rax),%xmm0
  mov    -0x8(%rbp),%rax
  add    $0x18,%rax
  mov    (%rax),%rax
  movapd %xmm0,%xmm1
  movq   %rax,%xmm0
  call   <atan2@plt>
  movq   %xmm0,%rax
  mov    -0x20(%rbp),%rdx
  mov    %rax,(%rdx)
  mov    -0x8(%rbp),%rax
  movsd  (%rax),%xmm1
  mov    -0x8(%rbp),%rax
  movsd  (%rax),%xmm0
  mulsd  %xmm0,%xmm1
  mov    -0x8(%rbp),%rax
  add    $0x18,%rax
  movsd  (%rax),%xmm2
  mov    -0x8(%rbp),%rax
  add    $0x18,%rax
  movsd  (%rax),%xmm0
  mulsd  %xmm2,%xmm0
  addsd  %xmm0,%xmm1
  movq   %xmm1,%rax
  movq   %rax,%xmm0
  call   <sqrt@plt>
  movq   %xmm0,%rdx
  mov    -0x8(%rbp),%rax
  add    $0x30,%rax
  movsd  (%rax),%xmm0
  movq   D67(%rip),%xmm1
  xorpd  %xmm1,%xmm0
  movq   %xmm0,%rax
  movq   %rdx,%xmm1
  movq   %rax,%xmm0
  call   <atan2@plt>
  movq   %xmm0,%rax
  mov    -0x18(%rbp),%rdx
  mov    %rax,(%rdx)
  mov    -0x8(%rbp),%rax
  add    $0x30,%rax
  movsd  0x10(%rax),%xmm0
  mov    -0x8(%rbp),%rax
  add    $0x30,%rax
  mov    0x8(%rax),%rax
  movapd %xmm0,%xmm1
  movq   %rax,%xmm0
  call   <atan2@plt>
  movq   %xmm0,%rax
  mov    -0x10(%rbp),%rdx
  mov    %rax,(%rdx)
  nop
L35:
  leave
  ret
```

tool_calls: name: parse_data
arguments: label: D52
data_type: f64
name: parse_data
arguments: label: D28
data_type: qword
name: parse_data
arguments: label: D18
data_type: byte[8]
name: parse_data
arguments: label: D3
data_type: byte[8]
name: parse_data
arguments: label: D6
data_type: byte[8]
name: parse_data
arguments: label: D67
data_type: byte[8]

tool: D52: 1

tool: D28: 9223372036854775807

tool: {"D18": [0x8d,0xed,0xb5,0xa0,0xf7,0xc6,0xb0,0x3e]}

tool: {"D3": [0x18,0x2d,0x44,0x54,0xfb,0x21,0xf9,0x3f]}

tool: {"D6": [0x18,0x2d,0x44,0x54,0xfb,0x21,0xf9,0xbf]}

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

assistant: ```c
void RotToRPY(double R[3][3], double *roll, double *pitch, double *yaw) {
  if (fabs(1.0 + R[2][0]) < 1.0E-6) {
    *yaw = 0;
    *pitch = 3.14159265358979323846 / 2.0;
    *roll = atan2(R[0][1], R[1][1]);
  } else if (fabs(1.0 - R[2][0]) < 1.0E-6) {
    *yaw = 0;
    *pitch = -3.14159265358979323846 / 2.0;
    *roll = atan2(R[0][1], R[1][1]);
  } else {
    *yaw = atan2(R[1][0], R[0][0]);
    *pitch = atan2(-R[2][0], sqrt(R[0][0] * R[0][0] + R[1][0] * R[1][0]));
    *roll = atan2(R[2][1], R[2][2]);
  }
  return;
}
```