user: Demonstrate the C code that generates the assembly output below:

```asm
<YawPitchRollToQuaternion>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x30,%rsp
  mov    %rdi,-0x28(%rbp)
  mov    %rsi,-0x30(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  mov    -0x28(%rbp),%rax
  movss  (%rax),%xmm0
  movss  D41(%rip),%xmm1
  divss  %xmm1,%xmm0
  movd   %xmm0,%eax
  movd   %eax,%xmm0
  call   <cos@plt>
  movd   %xmm0,%eax
  mov    %eax,-0x20(%rbp)
  mov    -0x28(%rbp),%rax
  add    $0x4,%rax
  movss  (%rax),%xmm0
  movss  D41(%rip),%xmm1
  divss  %xmm1,%xmm0
  movd   %xmm0,%eax
  movd   %eax,%xmm0
  call   <cos@plt>
  movd   %xmm0,%eax
  mov    %eax,-0x1c(%rbp)
  mov    -0x28(%rbp),%rax
  add    $0x8,%rax
  movss  (%rax),%xmm0
  movss  D41(%rip),%xmm1
  divss  %xmm1,%xmm0
  movd   %xmm0,%eax
  movd   %eax,%xmm0
  call   <cos@plt>
  movd   %xmm0,%eax
  mov    %eax,-0x18(%rbp)
  mov    -0x28(%rbp),%rax
  movss  (%rax),%xmm0
  movss  D41(%rip),%xmm1
  divss  %xmm1,%xmm0
  movd   %xmm0,%eax
  movd   %eax,%xmm0
  call   <sin@plt>
  movd   %xmm0,%eax
  mov    %eax,-0x14(%rbp)
  mov    -0x28(%rbp),%rax
  add    $0x4,%rax
  movss  (%rax),%xmm0
  movss  D41(%rip),%xmm1
  divss  %xmm1,%xmm0
  movd   %xmm0,%eax
  movd   %eax,%xmm0
  call   <sin@plt>
  movd   %xmm0,%eax
  mov    %eax,-0x10(%rbp)
  mov    -0x28(%rbp),%rax
  add    $0x8,%rax
  movss  (%rax),%xmm0
  movss  D41(%rip),%xmm1
  divss  %xmm1,%xmm0
  movd   %xmm0,%eax
  movd   %eax,%xmm0
  call   <sin@plt>
  movd   %xmm0,%eax
  mov    %eax,-0xc(%rbp)
  movss  -0x20(%rbp),%xmm1
  movss  -0x1c(%rbp),%xmm0
  mulss  %xmm0,%xmm1
  movss  -0x18(%rbp),%xmm0
  mulss  %xmm0,%xmm1
  movss  -0x14(%rbp),%xmm2
  movss  -0x10(%rbp),%xmm0
  mulss  %xmm0,%xmm2
  movss  -0xc(%rbp),%xmm0
  mulss  %xmm2,%xmm0
  addss  %xmm1,%xmm0
  mov    -0x30(%rbp),%rax
  movss  %xmm0,(%rax)
  movss  -0x20(%rbp),%xmm1
  movss  -0x1c(%rbp),%xmm0
  mulss  %xmm0,%xmm1
  movss  -0xc(%rbp),%xmm0
  mulss  %xmm1,%xmm0
  movss  -0x14(%rbp),%xmm2
  movss  -0x10(%rbp),%xmm1
  mulss  %xmm1,%xmm2
  movss  -0x18(%rbp),%xmm1
  mulss  %xmm2,%xmm1
  mov    -0x30(%rbp),%rax
  add    $0x4,%rax
  subss  %xmm1,%xmm0
  movss  %xmm0,(%rax)
  movss  -0x20(%rbp),%xmm1
  movss  -0x10(%rbp),%xmm0
  mulss  %xmm0,%xmm1
  movss  -0x18(%rbp),%xmm0
  mulss  %xmm0,%xmm1
  movss  -0x14(%rbp),%xmm2
  movss  -0x1c(%rbp),%xmm0
  mulss  %xmm0,%xmm2
  movss  -0xc(%rbp),%xmm0
  mulss  %xmm2,%xmm0
  mov    -0x30(%rbp),%rax
  add    $0x8,%rax
  addss  %xmm1,%xmm0
  movss  %xmm0,(%rax)
  movss  -0x14(%rbp),%xmm1
  movss  -0x1c(%rbp),%xmm0
  mulss  %xmm0,%xmm1
  movss  -0x18(%rbp),%xmm0
  mulss  %xmm1,%xmm0
  movss  -0x20(%rbp),%xmm2
  movss  -0x10(%rbp),%xmm1
  mulss  %xmm1,%xmm2
  movss  -0xc(%rbp),%xmm1
  mulss  %xmm2,%xmm1
  mov    -0x30(%rbp),%rax
  add    $0xc,%rax
  subss  %xmm1,%xmm0
  movss  %xmm0,(%rax)
  nop
  mov    -0x8(%rbp),%rax
  sub    %fs:0x28,%rax
  je     L1
  call   <__stack_chk_fail@plt>
L1:
  leave
  ret
```

tool_calls: name: extract_symbolic_data
arguments: data_tag: D41
type_guessed: byte[4]

tool: {"D41": [0x00,0x00,0x00,0x40]}

assistant: ```c
void YawPitchRollToQuaternion(const float ypr[3], float q[4]) {
  const float c_ypr[3] = {cos(ypr[0] / 2), cos(ypr[1] / 2), cos(ypr[2] / 2)};
  const float s_ypr[3] = {sin(ypr[0] / 2), sin(ypr[1] / 2), sin(ypr[2] / 2)};
  q[0] = c_ypr[0] * c_ypr[1] * c_ypr[2] + s_ypr[0] * s_ypr[1] * s_ypr[2];
  q[1] = c_ypr[0] * c_ypr[1] * s_ypr[2] - s_ypr[0] * s_ypr[1] * c_ypr[2];
  q[2] = c_ypr[0] * s_ypr[1] * c_ypr[2] + s_ypr[0] * c_ypr[1] * s_ypr[2];
  q[3] = s_ypr[0] * c_ypr[1] * c_ypr[2] - c_ypr[0] * s_ypr[1] * s_ypr[2];
}
```