user: Converte this assembly snippet into its equivalent C code:

```asm
<target_theta>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x170,%rsp
  mov    %rdi,-0x158(%rbp)
  mov    %rsi,-0x160(%rbp)
  mov    %edx,-0x164(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  movl   $0x14,-0x148(%rbp)
  movss  D186(%rip),%xmm0
  movss  %xmm0,-0x144(%rbp)
  movss  D340(%rip),%xmm0
  movss  %xmm0,-0xf0(%rbp)
  movss  D340(%rip),%xmm0
  movss  %xmm0,-0xec(%rbp)
  movss  D196(%rip),%xmm0
  movss  %xmm0,-0xe8(%rbp)
  movss  D240(%rip),%xmm0
  movss  %xmm0,-0xe4(%rbp)
  pxor   %xmm0,%xmm0
  movss  %xmm0,-0xe0(%rbp)
  pxor   %xmm0,%xmm0
  movss  %xmm0,-0xdc(%rbp)
  pxor   %xmm0,%xmm0
  movss  %xmm0,-0xd8(%rbp)
  pxor   %xmm0,%xmm0
  movss  %xmm0,-0xd4(%rbp)
  pxor   %xmm0,%xmm0
  movss  %xmm0,-0xd0(%rbp)
  pxor   %xmm0,%xmm0
  movss  %xmm0,-0xcc(%rbp)
  movss  D237(%rip),%xmm0
  movss  %xmm0,-0xc0(%rbp)
  movss  D237(%rip),%xmm0
  movss  %xmm0,-0xbc(%rbp)
  movss  D22(%rip),%xmm0
  movss  %xmm0,-0xb8(%rbp)
  movss  D342(%rip),%xmm0
  movss  %xmm0,-0xb4(%rbp)
  pxor   %xmm0,%xmm0
  movss  %xmm0,-0xb0(%rbp)
  pxor   %xmm0,%xmm0
  movss  %xmm0,-0xac(%rbp)
  pxor   %xmm0,%xmm0
  movss  %xmm0,-0xa8(%rbp)
  pxor   %xmm0,%xmm0
  movss  %xmm0,-0xa4(%rbp)
  pxor   %xmm0,%xmm0
  movss  %xmm0,-0xa0(%rbp)
  pxor   %xmm0,%xmm0
  movss  %xmm0,-0x9c(%rbp)
  movq   $0x0,-0x90(%rbp)
  movq   $0x0,-0x88(%rbp)
  movq   $0x0,-0x80(%rbp)
  movq   $0x0,-0x78(%rbp)
  movq   $0x0,-0x70(%rbp)
  movss  D131(%rip),%xmm0
  movss  %xmm0,-0x60(%rbp)
  movss  D103(%rip),%xmm0
  movss  %xmm0,-0x5c(%rbp)
  movss  D180(%rip),%xmm0
  movss  %xmm0,-0x58(%rbp)
  movss  D192(%rip),%xmm0
  movss  %xmm0,-0x54(%rbp)
  movss  D260(%rip),%xmm0
  movss  %xmm0,-0x50(%rbp)
  movss  D286(%rip),%xmm0
  movss  %xmm0,-0x4c(%rbp)
  movss  D308(%rip),%xmm0
  movss  %xmm0,-0x48(%rbp)
  movss  D50(%rip),%xmm0
  movss  %xmm0,-0x44(%rbp)
  movss  D65(%rip),%xmm0
  movss  %xmm0,-0x40(%rbp)
  movss  D24(%rip),%xmm0
  movss  %xmm0,-0x3c(%rbp)
  movss  D315(%rip),%xmm0
  movss  %xmm0,-0x38(%rbp)
  movss  D129(%rip),%xmm0
  movss  %xmm0,-0x34(%rbp)
  movss  D121(%rip),%xmm0
  movss  %xmm0,-0x30(%rbp)
  movss  D344(%rip),%xmm0
  movss  %xmm0,-0x2c(%rbp)
  movss  D94(%rip),%xmm0
  movss  %xmm0,-0x28(%rbp)
  movss  D124(%rip),%xmm0
  movss  %xmm0,-0x24(%rbp)
  movss  D332(%rip),%xmm0
  movss  %xmm0,-0x20(%rbp)
  movss  D112(%rip),%xmm0
  movss  %xmm0,-0x1c(%rbp)
  movss  D233(%rip),%xmm0
  movss  %xmm0,-0x18(%rbp)
  movss  D253(%rip),%xmm0
  movss  %xmm0,-0x14(%rbp)
  pxor   %xmm0,%xmm0
  movss  %xmm0,-0x10(%rbp)
  movl   $0x0,-0x140(%rbp)
  cmpl   $0x0,-0x140(%rbp)
  jne    L34
  movl   $0x1,-0x140(%rbp)
  movl   $0x0,-0x14c(%rbp)
  jmp    L24
L82:
  mov    -0x14c(%rbp),%eax
  cltq
  movss  -0xf0(%rbp,%rax,4),%xmm0
  mov    -0x14c(%rbp),%eax
  cltq
  movss  -0xc0(%rbp,%rax,4),%xmm1
  ucomiss %xmm1,%xmm0
  jp     L12
  ucomiss %xmm1,%xmm0
  je     L19
L12:
  mov    -0x14c(%rbp),%eax
  cltq
  movss  -0xc0(%rbp,%rax,4),%xmm0
  mov    -0x14c(%rbp),%eax
  cltq
  movss  -0xf0(%rbp,%rax,4),%xmm2
  movaps %xmm0,%xmm1
  subss  %xmm2,%xmm1
  movss  D110(%rip),%xmm0
  divss  %xmm1,%xmm0
  mov    -0x14c(%rbp),%eax
  cltq
  movss  %xmm0,-0x90(%rbp,%rax,4)
  jmp    L32
L19:
  nop
L32:
  addl   $0x1,-0x14c(%rbp)
L24:
  mov    -0x14c(%rbp),%eax
  cmp    -0x164(%rbp),%eax
  jl     L82
L34:
  mov    -0x158(%rbp),%rax
  movss  (%rax),%xmm0
  movss  -0xc0(%rbp),%xmm2
  movaps %xmm0,%xmm1
  subss  %xmm2,%xmm1
  movss  -0x90(%rbp),%xmm0
  mulss  %xmm0,%xmm1
  movss  D184(%rip),%xmm0
  addss  %xmm1,%xmm0
  movss  %xmm0,-0x13c(%rbp)
  mov    -0x160(%rbp),%rax
  movss  (%rax),%xmm1
  movss  -0x90(%rbp),%xmm0
  mulss  %xmm1,%xmm0
  movss  %xmm0,-0x138(%rbp)
  mov    -0x158(%rbp),%rax
  add    $0x4,%rax
  movss  (%rax),%xmm0
  movss  -0xbc(%rbp),%xmm2
  movaps %xmm0,%xmm1
  subss  %xmm2,%xmm1
  movss  -0x8c(%rbp),%xmm0
  mulss  %xmm0,%xmm1
  movss  D184(%rip),%xmm0
  addss  %xmm1,%xmm0
  movss  %xmm0,-0x134(%rbp)
  mov    -0x160(%rbp),%rax
  add    $0x4,%rax
  movss  (%rax),%xmm1
  movss  -0x8c(%rbp),%xmm0
  mulss  %xmm1,%xmm0
  movss  %xmm0,-0x130(%rbp)
  mov    -0x158(%rbp),%rax
  add    $0x8,%rax
  movss  (%rax),%xmm0
  movss  -0xb8(%rbp),%xmm2
  movaps %xmm0,%xmm1
  subss  %xmm2,%xmm1
  movss  -0x88(%rbp),%xmm0
  mulss  %xmm0,%xmm1
  movss  D184(%rip),%xmm0
  addss  %xmm1,%xmm0
  movss  %xmm0,-0x12c(%rbp)
  mov    -0x160(%rbp),%rax
  add    $0x8,%rax
  movss  (%rax),%xmm1
  movss  -0x88(%rbp),%xmm0
  mulss  %xmm1,%xmm0
  movss  %xmm0,-0x128(%rbp)
  mov    -0x158(%rbp),%rax
  add    $0xc,%rax
  movss  (%rax),%xmm0
  movss  -0xb4(%rbp),%xmm2
  movaps %xmm0,%xmm1
  subss  %xmm2,%xmm1
  movss  -0x84(%rbp),%xmm0
  mulss  %xmm0,%xmm1
  movss  D184(%rip),%xmm0
  addss  %xmm1,%xmm0
  movss  %xmm0,-0x124(%rbp)
  mov    -0x160(%rbp),%rax
  add    $0xc,%rax
  movss  (%rax),%xmm1
  movss  -0x84(%rbp),%xmm0
  mulss  %xmm1,%xmm0
  movss  %xmm0,-0x120(%rbp)
  movss  -0x13c(%rbp),%xmm0
  movss  %xmm0,-0x11c(%rbp)
  movss  -0x11c(%rbp),%xmm0
  mulss  -0x13c(%rbp),%xmm0
  movss  %xmm0,-0x118(%rbp)
  movss  -0x134(%rbp),%xmm0
  movss  %xmm0,-0x114(%rbp)
  movss  -0x114(%rbp),%xmm0
  mulss  -0x134(%rbp),%xmm0
  movss  %xmm0,-0x110(%rbp)
  movss  -0x12c(%rbp),%xmm0
  movss  %xmm0,-0x10c(%rbp)
  movss  -0x10c(%rbp),%xmm0
  mulss  -0x12c(%rbp),%xmm0
  movss  %xmm0,-0x108(%rbp)
  movss  -0x124(%rbp),%xmm0
  movss  %xmm0,-0x104(%rbp)
  movss  -0x104(%rbp),%xmm0
  mulss  -0x124(%rbp),%xmm0
  movss  %xmm0,-0x100(%rbp)
  movss  -0x60(%rbp),%xmm0
  movaps %xmm0,%xmm1
  addss  -0x144(%rbp),%xmm1
  movss  -0x5c(%rbp),%xmm0
  mulss  -0x114(%rbp),%xmm0
  addss  %xmm0,%xmm1
  movss  -0x58(%rbp),%xmm0
  mulss  -0x104(%rbp),%xmm0
  addss  %xmm0,%xmm1
  movss  -0x54(%rbp),%xmm0
  mulss  -0x118(%rbp),%xmm0
  addss  %xmm0,%xmm1
  movss  -0x50(%rbp),%xmm0
  mulss  -0x110(%rbp),%xmm0
  addss  %xmm0,%xmm1
  movss  -0x4c(%rbp),%xmm0
  mulss  -0x11c(%rbp),%xmm0
  mulss  -0x10c(%rbp),%xmm0
  addss  %xmm0,%xmm1
  movss  -0x48(%rbp),%xmm0
  mulss  -0x108(%rbp),%xmm0
  addss  %xmm0,%xmm1
  movss  -0x44(%rbp),%xmm0
  mulss  -0x114(%rbp),%xmm0
  mulss  -0x104(%rbp),%xmm0
  addss  %xmm1,%xmm0
  movss  %xmm0,-0xfc(%rbp)
  movss  -0x40(%rbp),%xmm0
  mulss  -0x11c(%rbp),%xmm0
  movaps %xmm0,%xmm1
  addss  -0xfc(%rbp),%xmm1
  movss  -0x3c(%rbp),%xmm0
  mulss  -0x10c(%rbp),%xmm0
  addss  %xmm0,%xmm1
  movss  -0x38(%rbp),%xmm0
  mulss  -0x100(%rbp),%xmm0
  addss  %xmm0,%xmm1
  movss  -0x34(%rbp),%xmm0
  mulss  -0x114(%rbp),%xmm0
  mulss  -0x108(%rbp),%xmm0
  mulss  -0x104(%rbp),%xmm0
  addss  %xmm0,%xmm1
  movss  -0x30(%rbp),%xmm0
  mulss  -0x108(%rbp),%xmm0
  mulss  -0x100(%rbp),%xmm0
  addss  %xmm0,%xmm1
  movss  -0x2c(%rbp),%xmm0
  mulss  -0x11c(%rbp),%xmm0
  mulss  -0x114(%rbp),%xmm0
  mulss  -0x10c(%rbp),%xmm0
  addss  %xmm0,%xmm1
  movss  -0x28(%rbp),%xmm0
  mulss  -0x114(%rbp),%xmm0
  mulss  -0x108(%rbp),%xmm0
  addss  %xmm0,%xmm1
  movss  -0x24(%rbp),%xmm0
  mulss  -0x11c(%rbp),%xmm0
  mulss  -0x10c(%rbp),%xmm0
  mulss  -0x104(%rbp),%xmm0
  addss  %xmm0,%xmm1
  movss  -0x20(%rbp),%xmm0
  mulss  -0x118(%rbp),%xmm0
  mulss  -0x110(%rbp),%xmm0
  addss  %xmm1,%xmm0
  movss  %xmm0,-0xfc(%rbp)
  movss  -0x1c(%rbp),%xmm0
  mulss  -0x118(%rbp),%xmm0
  mulss  -0x114(%rbp),%xmm0
  mulss  -0x104(%rbp),%xmm0
  movaps %xmm0,%xmm1
  addss  -0xfc(%rbp),%xmm1
  movss  -0x18(%rbp),%xmm0
  mulss  -0x118(%rbp),%xmm0
  mulss  -0x104(%rbp),%xmm0
  addss  %xmm0,%xmm1
  movss  -0x14(%rbp),%xmm0
  mulss  -0x11c(%rbp),%xmm0
  mulss  -0x114(%rbp),%xmm0
  mulss  -0x104(%rbp),%xmm0
  addss  %xmm1,%xmm0
  movss  %xmm0,-0xfc(%rbp)
  movss  -0x138(%rbp),%xmm1
  pxor   %xmm0,%xmm0
  addss  %xmm1,%xmm0
  addss  -0x130(%rbp),%xmm0
  addss  -0x128(%rbp),%xmm0
  movss  -0x120(%rbp),%xmm1
  addss  %xmm1,%xmm0
  movss  %xmm0,-0xf8(%rbp)
  pxor   %xmm0,%xmm0
  ucomiss -0xf8(%rbp),%xmm0
  jp     L22
  pxor   %xmm0,%xmm0
  ucomiss -0xf8(%rbp),%xmm0
  je     L20
L22:
  movss  -0x138(%rbp),%xmm0
  mulss  %xmm0,%xmm0
  movss  %xmm0,-0x168(%rbp)
  movss  -0x54(%rbp),%xmm0
  addss  %xmm0,%xmm0
  movaps %xmm0,%xmm1
  mulss  -0x11c(%rbp),%xmm1
  pxor   %xmm0,%xmm0
  addss  %xmm0,%xmm1
  movss  -0x4c(%rbp),%xmm0
  mulss  -0x10c(%rbp),%xmm0
  addss  %xmm0,%xmm1
  movss  -0x40(%rbp),%xmm0
  addss  %xmm0,%xmm1
  movss  -0x2c(%rbp),%xmm0
  mulss  -0x114(%rbp),%xmm0
  mulss  -0x10c(%rbp),%xmm0
  addss  %xmm0,%xmm1
  movss  -0x24(%rbp),%xmm0
  mulss  -0x10c(%rbp),%xmm0
  mulss  -0x104(%rbp),%xmm0
  addss  %xmm0,%xmm1
  movss  -0x20(%rbp),%xmm0
  addss  %xmm0,%xmm0
  mulss  -0x11c(%rbp),%xmm0
  mulss  -0x110(%rbp),%xmm0
  addss  %xmm0,%xmm1
  movss  -0x1c(%rbp),%xmm0
  addss  %xmm0,%xmm0
  mulss  -0x11c(%rbp),%xmm0
  mulss  -0x114(%rbp),%xmm0
  mulss  -0x104(%rbp),%xmm0
  addss  %xmm0,%xmm1
  movss  -0x18(%rbp),%xmm0
  addss  %xmm0,%xmm0
  mulss  -0x11c(%rbp),%xmm0
  mulss  -0x104(%rbp),%xmm0
  addss  %xmm0,%xmm1
  movss  -0x14(%rbp),%xmm0
  mulss  -0x114(%rbp),%xmm0
  mulss  -0x104(%rbp),%xmm0
  addss  %xmm0,%xmm1
  movd   %xmm1,%eax
  mov    $0x2,%edi
  movd   %eax,%xmm0
  call   <pow@plt>
  movaps %xmm0,%xmm4
  mulss  -0x168(%rbp),%xmm4
  movss  %xmm4,-0x168(%rbp)
  movss  -0x130(%rbp),%xmm0
  mulss  %xmm0,%xmm0
  movss  %xmm0,-0x16c(%rbp)
  movss  -0x5c(%rbp),%xmm1
  pxor   %xmm0,%xmm0
  addss  %xmm0,%xmm1
  movss  -0x50(%rbp),%xmm0
  addss  %xmm0,%xmm0
  mulss  -0x114(%rbp),%xmm0
  addss  %xmm0,%xmm1
  movss  -0x44(%rbp),%xmm0
  mulss  -0x104(%rbp),%xmm0
  addss  %xmm0,%xmm1
  movss  -0x34(%rbp),%xmm0
  mulss  -0x108(%rbp),%xmm0
  mulss  -0x104(%rbp),%xmm0
  addss  %xmm0,%xmm1
  movss  -0x2c(%rbp),%xmm0
  mulss  -0x11c(%rbp),%xmm0
  mulss  -0x10c(%rbp),%xmm0
  addss  %xmm0,%xmm1
  movss  -0x28(%rbp),%xmm0
  mulss  -0x108(%rbp),%xmm0
  addss  %xmm0,%xmm1
  movss  -0x20(%rbp),%xmm0
  addss  %xmm0,%xmm0
  mulss  -0x114(%rbp),%xmm0
  mulss  -0x118(%rbp),%xmm0
  addss  %xmm0,%xmm1
  movss  -0x1c(%rbp),%xmm0
  mulss  -0x118(%rbp),%xmm0
  mulss  -0x104(%rbp),%xmm0
  addss  %xmm0,%xmm1
  movss  -0x14(%rbp),%xmm0
  mulss  -0x11c(%rbp),%xmm0
  mulss  -0x104(%rbp),%xmm0
  addss  %xmm0,%xmm1
  movd   %xmm1,%eax
  mov    $0x2,%edi
  movd   %eax,%xmm0
  call   <pow@plt>
  mulss  -0x16c(%rbp),%xmm0
  addss  -0x168(%rbp),%xmm0
  movss  %xmm0,-0x168(%rbp)
  movss  -0x128(%rbp),%xmm0
  movaps %xmm0,%xmm7
  mulss  %xmm0,%xmm7
  movss  %xmm7,-0x16c(%rbp)
  movss  -0x4c(%rbp),%xmm0
  movaps %xmm0,%xmm1
  mulss  -0x11c(%rbp),%xmm1
  pxor   %xmm0,%xmm0
  addss  %xmm0,%xmm1
  movss  -0x48(%rbp),%xmm0
  addss  %xmm0,%xmm0
  mulss  -0x10c(%rbp),%xmm0
  addss  %xmm0,%xmm1
  movss  -0x3c(%rbp),%xmm0
  addss  %xmm0,%xmm1
  movss  -0x34(%rbp),%xmm0
  addss  %xmm0,%xmm0
  mulss  -0x10c(%rbp),%xmm0
  mulss  -0x114(%rbp),%xmm0
  mulss  -0x104(%rbp),%xmm0
  addss  %xmm0,%xmm1
  movss  -0x30(%rbp),%xmm0
  addss  %xmm0,%xmm0
  mulss  -0x10c(%rbp),%xmm0
  mulss  -0x100(%rbp),%xmm0
  addss  %xmm0,%xmm1
  movss  -0x2c(%rbp),%xmm0
  mulss  -0x11c(%rbp),%xmm0
  mulss  -0x114(%rbp),%xmm0
  addss  %xmm0,%xmm1
  movss  -0x28(%rbp),%xmm0
  addss  %xmm0,%xmm0
  mulss  -0x10c(%rbp),%xmm0
  mulss  -0x114(%rbp),%xmm0
  addss  %xmm0,%xmm1
  movss  -0x24(%rbp),%xmm0
  mulss  -0x11c(%rbp),%xmm0
  mulss  -0x104(%rbp),%xmm0
  addss  %xmm0,%xmm1
  movd   %xmm1,%eax
  mov    $0x2,%edi
  movd   %eax,%xmm0
  call   <pow@plt>
  mulss  -0x16c(%rbp),%xmm0
  movaps %xmm0,%xmm3
  addss  -0x168(%rbp),%xmm3
  movss  %xmm3,-0x168(%rbp)
  movss  -0x120(%rbp),%xmm0
  mulss  %xmm0,%xmm0
  movss  %xmm0,-0x16c(%rbp)
  movss  -0x58(%rbp),%xmm1
  pxor   %xmm0,%xmm0
  addss  %xmm0,%xmm1
  movss  -0x44(%rbp),%xmm0
  mulss  -0x114(%rbp),%xmm0
  addss  %xmm0,%xmm1
  movss  -0x38(%rbp),%xmm0
  addss  %xmm0,%xmm0
  mulss  -0x104(%rbp),%xmm0
  addss  %xmm0,%xmm1
  movss  -0x34(%rbp),%xmm0
  mulss  -0x114(%rbp),%xmm0
  mulss  -0x108(%rbp),%xmm0
  addss  %xmm0,%xmm1
  movss  -0x30(%rbp),%xmm0
  addss  %xmm0,%xmm0
  mulss  -0x104(%rbp),%xmm0
  mulss  -0x108(%rbp),%xmm0
  addss  %xmm0,%xmm1
  movss  -0x24(%rbp),%xmm0
  mulss  -0x11c(%rbp),%xmm0
  mulss  -0x10c(%rbp),%xmm0
  addss  %xmm0,%xmm1
  movss  -0x1c(%rbp),%xmm0
  mulss  -0x118(%rbp),%xmm0
  mulss  -0x114(%rbp),%xmm0
  addss  %xmm0,%xmm1
  movss  -0x18(%rbp),%xmm0
  mulss  -0x118(%rbp),%xmm0
  addss  %xmm0,%xmm1
  movss  -0x14(%rbp),%xmm0
  mulss  -0x11c(%rbp),%xmm0
  mulss  -0x114(%rbp),%xmm0
  addss  %xmm0,%xmm1
  movd   %xmm1,%eax
  mov    $0x2,%edi
  movd   %eax,%xmm0
  call   <pow@plt>
  mulss  -0x16c(%rbp),%xmm0
  addss  -0x168(%rbp),%xmm0
  movd   %xmm0,%eax
  movd   %eax,%xmm0
  call   <sqrt@plt>
  movd   %xmm0,%eax
  jmp    L89
L20:
  mov    D194(%rip),%eax
L89:
  mov    %eax,-0xf4(%rbp)
  mov    -0x160(%rbp),%rax
  movss  -0xf4(%rbp),%xmm0
  movss  %xmm0,(%rax)
  movss  -0xfc(%rbp),%xmm0
  mov    -0x8(%rbp),%rax
  sub    %fs:0x28,%rax
  je     L28
  call   <__stack_chk_fail@plt>
L28:
  leave
  ret
```

tool_calls: name: unpack_data
arguments: data_label: D186
datatype: byte[4]
name: unpack_data
arguments: data_label: D340
datatype: byte[4]
name: unpack_data
arguments: data_label: D196
datatype: byte[4]
name: unpack_data
arguments: data_label: D240
datatype: byte[4]
name: unpack_data
arguments: data_label: D237
datatype: f32
name: unpack_data
arguments: data_label: D22
datatype: f32
name: unpack_data
arguments: data_label: D342
datatype: byte[4]
name: unpack_data
arguments: data_label: D131
datatype: byte[4]
name: unpack_data
arguments: data_label: D103
datatype: byte[4]
name: unpack_data
arguments: data_label: D180
datatype: byte[4]
name: unpack_data
arguments: data_label: D192
datatype: byte[4]
name: unpack_data
arguments: data_label: D260
datatype: byte[4]
name: unpack_data
arguments: data_label: D286
datatype: byte[4]
name: unpack_data
arguments: data_label: D308
datatype: byte[4]
name: unpack_data
arguments: data_label: D50
datatype: byte[4]
name: unpack_data
arguments: data_label: D65
datatype: byte[4]
name: unpack_data
arguments: data_label: D24
datatype: byte[4]
name: unpack_data
arguments: data_label: D315
datatype: byte[4]
name: unpack_data
arguments: data_label: D129
datatype: byte[4]
name: unpack_data
arguments: data_label: D121
datatype: byte[4]
name: unpack_data
arguments: data_label: D344
datatype: byte[4]
name: unpack_data
arguments: data_label: D94
datatype: byte[4]
name: unpack_data
arguments: data_label: D124
datatype: byte[4]
name: unpack_data
arguments: data_label: D332
datatype: byte[4]
name: unpack_data
arguments: data_label: D112
datatype: byte[4]
name: unpack_data
arguments: data_label: D233
datatype: byte[4]
name: unpack_data
arguments: data_label: D253
datatype: byte[4]
name: unpack_data
arguments: data_label: D110
datatype: f32
name: unpack_data
arguments: data_label: D184
datatype: f32
name: unpack_data
arguments: data_label: D194
datatype: f32

tool: {"D186": [0x92,0x96,0xf5,0x3d]}

tool: {"D340": [0x00,0x00,0x70,0xc1]}

tool: {"D196": [0x00,0x00,0x90,0xc1]}

tool: {"D240": [0x1b,0x2f,0x90,0xc1]}

tool: D237: 15

tool: D22: 18

tool: {"D342": [0xfe,0xd4,0x8f,0x41]}

tool: {"D131": [0x90,0x81,0xce,0x38]}

tool: {"D103": [0x3f,0xdd,0x4f,0xbd]}

tool: {"D180": [0x47,0xa7,0x70,0x3d]}

tool: {"D192": [0x12,0x9d,0xa4,0xbb]}

tool: {"D260": [0x4f,0xe7,0xdb,0x3a]}

tool: {"D286": [0xb2,0xb7,0x84,0x3c]}

tool: {"D308": [0x69,0x3b,0x54,0xbc]}

tool: {"D50": [0xe7,0xe3,0xd8,0xbb]}

tool: {"D65": [0x08,0x9f,0xd5,0x39]}

tool: {"D24": [0xa6,0xd0,0x28,0xba]}

tool: {"D315": [0x96,0x70,0xcc,0x3b]}

tool: {"D129": [0x6f,0xee,0xd2,0x39]}

tool: {"D121": [0x73,0x64,0x16,0xba]}

tool: {"D344": [0x54,0x3e,0xca,0xb7]}

tool: {"D94": [0x75,0xd5,0x84,0x38]}

tool: {"D124": [0xb9,0x37,0x26,0xb9]}

tool: {"D332": [0x30,0xc8,0x54,0xb9]}

tool: {"D112": [0xe9,0x32,0x94,0x39]}

tool: {"D233": [0xa6,0x0a,0xc8,0x38]}

tool: {"D253": [0x2a,0x2e,0x8c,0xb6]}

tool: D110: 2

tool: D184: 1

tool: D194: 0

assistant: ```c
float target_theta(float *x, float *dx, int m) {
  int ncoeff = 20;
  float avdat = 0.1199161E+00;
  float xmin[10] = {-0.15000E+02, -0.15000E+02, -0.18000E+02, -0.18023E+02, 0.00000E+00, 0.00000E+00, 0.00000E+00, 0.00000E+00, 0.00000E+00, 0.00000E+00};
  float xmax[10] = {0.15000E+02, 0.15000E+02, 0.18000E+02, 0.17979E+02, 0.00000E+00, 0.00000E+00, 0.00000E+00, 0.00000E+00, 0.00000E+00, 0.00000E+00};
  float scale[10] = {0};
  float coeff[21] = {0.98469784E-04, -0.50748106E-01, 0.58753278E-01, -0.50236071E-02, 0.16777309E-02, 0.16200874E-01, -0.12953618E-01, -0.66189650E-02, 0.40745013E-03, -0.64397824E-03, 0.62390072E-02, 0.40231968E-03, -0.57370140E-03, -0.24109300E-04, 0.63340100E-04, -0.15851752E-03, -0.20292471E-03, 0.28266691E-03, 0.95387266E-04, -0.41776993E-05, 0.};
  int ientry = 0;
  int i;
  if (ientry == 0) {
    ientry = 1;
    for (i = 0; i < m; i++) {
      if (xmin[i] == xmax[i])
        continue;
      scale[i] = 2. / (xmax[i] - xmin[i]);
    }
  }
  float x1 = 1. + (x[0] - xmax[0]) * scale[0];
  float dx1 = dx[0] * scale[0];
  float x2 = 1. + (x[1] - xmax[1]) * scale[1];
  float dx2 = dx[1] * scale[1];
  float x3 = 1. + (x[2] - xmax[2]) * scale[2];
  float dx3 = dx[2] * scale[2];
  float x4 = 1. + (x[3] - xmax[3]) * scale[3];
  float dx4 = dx[3] * scale[3];
  float x11 = x1;
  float x12 = x11 * x1;
  float x21 = x2;
  float x22 = x21 * x2;
  float x31 = x3;
  float x32 = x31 * x3;
  float x41 = x4;
  float x42 = x41 * x4;
  float v_target_theta = avdat + coeff[0] + coeff[1] * x21 + coeff[2] * x41 + coeff[3] * x12 + coeff[4] * x22 + coeff[5] * x11 * x31 + coeff[6] * x32 + coeff[7] * x21 * x41;
  v_target_theta = v_target_theta + coeff[8] * x11 + coeff[9] * x31 + coeff[10] * x42 + coeff[11] * x21 * x32 * x41 + coeff[12] * x32 * x42 + coeff[13] * x11 * x21 * x31 + coeff[14] * x21 * x32 + coeff[15] * x11 * x31 * x41 + coeff[16] * x12 * x22;
  v_target_theta = v_target_theta + coeff[17] * x12 * x21 * x41 + coeff[18] * x12 * x41 + coeff[19] * x11 * x21 * x41;
  float dxall = 0 + dx1 + dx2 + dx3 + dx4;
  float dv_target_theta = dxall == 0 ? 0 : sqrt(+dx1 * dx1 * pow(0 + 2 * coeff[3] * x11 + coeff[5] * x31 + coeff[8] + coeff[13] * x21 * x31 + coeff[15] * x31 * x41 + 2 * coeff[16] * x11 * x22 + 2 * coeff[17] * x11 * x21 * x41 + 2 * coeff[18] * x11 * x41 + coeff[19] * x21 * x41, 2) + dx2 * dx2 * pow(0 + coeff[1] + 2 * coeff[4] * x21 + coeff[7] * x41 + coeff[11] * x32 * x41 + coeff[13] * x11 * x31 + coeff[14] * x32 + 2 * coeff[16] * x21 * x12 + coeff[17] * x12 * x41 + coeff[19] * x11 * x41, 2) + dx3 * dx3 * pow(0 + coeff[5] * x11 + 2 * coeff[6] * x31 + coeff[9] + 2 * coeff[11] * x31 * x21 * x41 + 2 * coeff[12] * x31 * x42 + coeff[13] * x11 * x21 + 2 * coeff[14] * x31 * x21 + coeff[15] * x11 * x41, 2) + dx4 * dx4 * pow(0 + coeff[2] + coeff[7] * x21 + 2 * coeff[10] * x41 + coeff[11] * x21 * x32 + 2 * coeff[12] * x41 * x32 + coeff[15] * x11 * x31 + coeff[17] * x12 * x21 + coeff[18] * x12 + coeff[19] * x11 * x21, 2));
  dx[0] = dv_target_theta;
  return v_target_theta;
}
```