user: What would the C source look like for the assembly code provided here?

```asm
<target_theta>:
  endbr64
  push   %r14
  push   %rbx
  sub    $0xf8,%rsp
  mov    %rdi,%rcx
  mov    %rsi,%rbx
  mov    %fs:0x28,%rax
  mov    %rax,0xe8(%rsp)
  xor    %eax,%eax
  movss  D7(%rip),%xmm0
  movss  %xmm0,0x60(%rsp)
  movss  %xmm0,0x64(%rsp)
  movl   $0xc1900000,0x68(%rsp)
  movl   $0xc1901aa0,0x6c(%rsp)
  movl   $0x0,0x70(%rsp)
  movl   $0x0,0x74(%rsp)
  movl   $0x0,0x78(%rsp)
  movl   $0x0,0x7c(%rsp)
  movl   $0x0,0x80(%rsp)
  movl   $0x0,0x84(%rsp)
  movss  D328(%rip),%xmm0
  movss  %xmm0,0x90(%rsp)
  movss  %xmm0,0x94(%rsp)
  movl   $0x41900000,0x98(%rsp)
  movl   $0x418fe979,0x9c(%rsp)
  movl   $0x0,0xa0(%rsp)
  movl   $0x0,0xa4(%rsp)
  movl   $0x0,0xa8(%rsp)
  movl   $0x0,0xac(%rsp)
  movl   $0x0,0xb0(%rsp)
  movl   $0x0,0xb4(%rsp)
  movq   $0x0,0xc0(%rsp)
  movq   $0x0,0xc8(%rsp)
  movq   $0x0,0xd0(%rsp)
  movq   $0x0,0xd8(%rsp)
  movq   $0x0,0xe0(%rsp)
  test   %edx,%edx
  jle    L18
  mov    %edx,%edx
  movss  D253(%rip),%xmm2
  jmp    L79
L80:
  subss  %xmm1,%xmm0
  movaps %xmm2,%xmm1
  divss  %xmm0,%xmm1
  movss  %xmm1,0xc0(%rsp,%rax,4)
L86:
  add    $0x1,%rax
  cmp    %rdx,%rax
  je     L18
L79:
  movss  0x60(%rsp,%rax,4),%xmm1
  movss  0x90(%rsp,%rax,4),%xmm0
  ucomiss %xmm0,%xmm1
  jp     L80
  jne    L80
  jmp    L86
L18:
  movss  0xc0(%rsp),%xmm1
  movss  (%rcx),%xmm0
  movss  D328(%rip),%xmm4
  subss  %xmm4,%xmm0
  movaps %xmm0,%xmm2
  mulss  %xmm1,%xmm2
  movss  D148(%rip),%xmm0
  movaps %xmm2,%xmm7
  addss  %xmm0,%xmm7
  movss  %xmm7,0x20(%rsp)
  mulss  (%rbx),%xmm1
  movss  0xc4(%rsp),%xmm3
  movss  0x4(%rcx),%xmm2
  subss  %xmm4,%xmm2
  mulss  %xmm3,%xmm2
  movaps %xmm2,%xmm11
  addss  %xmm0,%xmm11
  movaps %xmm11,%xmm12
  movss  %xmm11,0x1c(%rsp)
  mulss  0x4(%rbx),%xmm3
  movss  %xmm3,0x10(%rsp)
  movss  0xc8(%rsp),%xmm3
  movss  0x8(%rcx),%xmm2
  subss  D83(%rip),%xmm2
  mulss  %xmm3,%xmm2
  movaps %xmm2,%xmm9
  addss  %xmm0,%xmm9
  movss  %xmm9,0x8(%rsp)
  movaps %xmm3,%xmm5
  mulss  0x8(%rbx),%xmm5
  movss  %xmm5,0x14(%rsp)
  movss  0xcc(%rsp),%xmm3
  movss  0xc(%rcx),%xmm2
  subss  D473(%rip),%xmm2
  mulss  %xmm3,%xmm2
  movaps %xmm2,%xmm14
  addss  %xmm0,%xmm14
  movss  %xmm14,0xc(%rsp)
  movaps %xmm3,%xmm4
  mulss  0xc(%rbx),%xmm4
  movss  %xmm4,0x18(%rsp)
  movaps %xmm7,%xmm3
  movaps %xmm7,%xmm4
  mulss  %xmm7,%xmm3
  movaps %xmm9,%xmm2
  mulss  %xmm9,%xmm2
  movaps %xmm2,%xmm10
  movss  %xmm2,0x24(%rsp)
  movaps %xmm14,%xmm13
  mulss  %xmm14,%xmm13
  movss  %xmm13,0x28(%rsp)
  mulss  D246(%rip),%xmm4
  movss  %xmm4,0x2c(%rsp)
  mulss  D166(%rip),%xmm11
  movss  %xmm11,0x30(%rsp)
  movaps %xmm7,%xmm6
  mulss  D179(%rip),%xmm6
  movss  %xmm6,0x34(%rsp)
  mulss  %xmm12,%xmm6
  movss  %xmm6,0x38(%rsp)
  movaps %xmm2,%xmm8
  mulss  D134(%rip),%xmm8
  movss  %xmm8,0x3c(%rsp)
  movaps %xmm7,%xmm5
  mulss  D483(%rip),%xmm5
  movss  %xmm5,0x40(%rsp)
  mulss  %xmm12,%xmm5
  movss  %xmm5,0x44(%rsp)
  mulss  %xmm9,%xmm5
  movss  %xmm5,0x48(%rsp)
  movaps %xmm12,%xmm0
  mulss  D374(%rip),%xmm0
  mulss  %xmm2,%xmm0
  movaps %xmm0,%xmm15
  movss  %xmm0,0x4c(%rsp)
  movaps %xmm12,%xmm0
  mulss  D334(%rip),%xmm0
  addss  D378(%rip),%xmm0
  movaps %xmm14,%xmm2
  mulss  D218(%rip),%xmm2
  addss  %xmm2,%xmm0
  mulss  %xmm9,%xmm4
  addss  %xmm4,%xmm0
  movaps %xmm10,%xmm2
  mulss  D395(%rip),%xmm2
  addss  %xmm2,%xmm0
  movaps %xmm11,%xmm2
  mulss  %xmm14,%xmm2
  addss  %xmm2,%xmm0
  movaps %xmm12,%xmm2
  mulss  %xmm12,%xmm2
  mulss  D212(%rip),%xmm2
  addss  %xmm2,%xmm0
  movaps %xmm7,%xmm2
  mulss  D84(%rip),%xmm2
  addss  %xmm2,%xmm0
  movaps %xmm9,%xmm2
  mulss  D344(%rip),%xmm2
  addss  %xmm2,%xmm0
  movaps %xmm3,%xmm2
  mulss  D453(%rip),%xmm2
  addss  %xmm2,%xmm0
  movaps %xmm13,%xmm2
  mulss  D175(%rip),%xmm2
  addss  %xmm2,%xmm0
  mulss  %xmm9,%xmm6
  addss  %xmm6,%xmm0
  movaps %xmm12,%xmm2
  mulss  D313(%rip),%xmm2
  movaps %xmm10,%xmm4
  mulss  %xmm10,%xmm2
  addss  %xmm2,%xmm0
  movaps %xmm8,%xmm2
  mulss  %xmm14,%xmm2
  addss  %xmm2,%xmm0
  mulss  %xmm14,%xmm5
  addss  %xmm5,%xmm0
  movaps %xmm15,%xmm2
  mulss  %xmm14,%xmm2
  addss  %xmm2,%xmm0
  movaps %xmm7,%xmm5
  mulss  D12(%rip),%xmm5
  movss  %xmm5,0x50(%rsp)
  mulss  D170(%rip),%xmm3
  movss  %xmm3,0x54(%rsp)
  mulss  %xmm9,%xmm5
  movaps %xmm5,%xmm2
  mulss  %xmm13,%xmm2
  addss  %xmm2,%xmm0
  mulss  D497(%rip),%xmm4
  movaps %xmm4,%xmm2
  mulss  %xmm13,%xmm2
  addss  %xmm2,%xmm0
  mulss  %xmm14,%xmm3
  addss  %xmm3,%xmm0
  mulss  D287(%rip),%xmm7
  movss  %xmm7,0x58(%rsp)
  movaps %xmm7,%xmm2
  mulss  %xmm12,%xmm2
  addss  %xmm0,%xmm2
  movd   %xmm2,%r14d
  pxor   %xmm2,%xmm2
  movaps %xmm1,%xmm0
  addss  %xmm2,%xmm0
  addss  0x10(%rsp),%xmm0
  addss  0x14(%rsp),%xmm0
  addss  0x18(%rsp),%xmm0
  ucomiss %xmm2,%xmm0
  jp     L57
  movaps %xmm2,%xmm0
  jne    L57
L36:
  movss  %xmm0,(%rbx)
  mov    0xe8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L5
  movd   %r14d,%xmm0
  add    $0xf8,%rsp
  pop    %rbx
  pop    %r14
  ret
L57:
  mulss  %xmm1,%xmm1
  movss  %xmm1,0x5c(%rsp)
  movss  0x8(%rsp),%xmm3
  movaps %xmm3,%xmm0
  mulss  D246(%rip),%xmm0
  pxor   %xmm6,%xmm6
  addss  %xmm6,%xmm0
  addss  D84(%rip),%xmm0
  movss  0x20(%rsp),%xmm5
  movaps %xmm5,%xmm1
  mulss  D247(%rip),%xmm1
  addss  %xmm1,%xmm0
  movss  0x1c(%rsp),%xmm7
  movaps %xmm7,%xmm1
  mulss  D179(%rip),%xmm1
  mulss  %xmm3,%xmm1
  addss  %xmm1,%xmm0
  movaps %xmm7,%xmm1
  mulss  D483(%rip),%xmm1
  mulss  %xmm3,%xmm1
  movss  0xc(%rsp),%xmm6
  mulss  %xmm6,%xmm1
  addss  %xmm1,%xmm0
  movaps %xmm3,%xmm1
  mulss  D12(%rip),%xmm1
  mulss  0x28(%rsp),%xmm1
  addss  %xmm1,%xmm0
  movaps %xmm5,%xmm4
  mulss  D207(%rip),%xmm4
  movaps %xmm4,%xmm1
  mulss  %xmm6,%xmm1
  addss  %xmm1,%xmm0
  movaps %xmm7,%xmm5
  mulss  D287(%rip),%xmm5
  addss  %xmm5,%xmm0
  mov    $0x2,%edi
  call   <pow@plt>
  mulss  0x5c(%rsp),%xmm0
  movss  %xmm0,0x5c(%rsp)
  movss  0x10(%rsp),%xmm2
  mulss  %xmm2,%xmm2
  movss  %xmm2,0x10(%rsp)
  movss  0xc(%rsp),%xmm6
  movaps %xmm6,%xmm0
  mulss  D166(%rip),%xmm0
  subss  D73(%rip),%xmm0
  movss  0x1c(%rsp),%xmm4
  mulss  D106(%rip),%xmm4
  addss  %xmm4,%xmm0
  movss  0x34(%rsp),%xmm1
  movss  0x8(%rsp),%xmm3
  mulss  %xmm3,%xmm1
  addss  %xmm1,%xmm0
  movss  0x24(%rsp),%xmm2
  movaps %xmm2,%xmm1
  mulss  D313(%rip),%xmm1
  addss  %xmm1,%xmm0
  movss  0x40(%rsp),%xmm1
  mulss  %xmm3,%xmm1
  mulss  %xmm6,%xmm1
  addss  %xmm1,%xmm0
  movaps %xmm2,%xmm1
  mulss  D374(%rip),%xmm1
  mulss  %xmm6,%xmm1
  addss  %xmm1,%xmm0
  addss  0x58(%rsp),%xmm0
  mov    $0x2,%edi
  call   <pow@plt>
  mulss  0x10(%rsp),%xmm0
  addss  0x5c(%rsp),%xmm0
  movss  %xmm0,0x10(%rsp)
  movss  0x14(%rsp),%xmm0
  mulss  %xmm0,%xmm0
  movss  %xmm0,0x14(%rsp)
  pxor   %xmm15,%xmm15
  addss  0x2c(%rsp),%xmm15
  movaps %xmm15,%xmm0
  movss  0x8(%rsp),%xmm3
  movaps %xmm3,%xmm1
  mulss  D482(%rip),%xmm1
  addss  %xmm1,%xmm0
  subss  D245(%rip),%xmm0
  addss  0x38(%rsp),%xmm0
  movaps %xmm3,%xmm1
  mulss  D178(%rip),%xmm1
  movss  0x1c(%rsp),%xmm7
  mulss  %xmm7,%xmm1
  addss  %xmm1,%xmm0
  movaps %xmm3,%xmm1
  mulss  D474(%rip),%xmm1
  movss  0xc(%rsp),%xmm6
  mulss  %xmm6,%xmm1
  addss  %xmm1,%xmm0
  movss  0x44(%rsp),%xmm1
  mulss  %xmm6,%xmm1
  addss  %xmm1,%xmm0
  movaps %xmm3,%xmm1
  mulss  D117(%rip),%xmm1
  mulss  %xmm7,%xmm1
  mulss  %xmm6,%xmm1
  addss  %xmm1,%xmm0
  movss  0x50(%rsp),%xmm1
  movss  0x28(%rsp),%xmm7
  mulss  %xmm7,%xmm1
  addss  %xmm1,%xmm0
  movss  D312(%rip),%xmm1
  mulss  %xmm3,%xmm1
  mulss  %xmm7,%xmm1
  addss  %xmm1,%xmm0
  mov    $0x2,%edi
  call   <pow@plt>
  mulss  0x14(%rsp),%xmm0
  addss  0x10(%rsp),%xmm0
  movss  %xmm0,0x10(%rsp)
  movss  0x18(%rsp),%xmm7
  mulss  %xmm7,%xmm7
  movss  %xmm7,0x14(%rsp)
  movss  0x30(%rsp),%xmm0
  addss  D218(%rip),%xmm0
  movss  0xc(%rsp),%xmm6
  movaps %xmm6,%xmm1
  mulss  D60(%rip),%xmm1
  addss  %xmm1,%xmm0
  addss  0x3c(%rsp),%xmm0
  addss  0x48(%rsp),%xmm0
  addss  0x4c(%rsp),%xmm0
  movaps %xmm6,%xmm1
  mulss  D27(%rip),%xmm1
  mulss  0x20(%rsp),%xmm1
  mulss  0x8(%rsp),%xmm1
  addss  %xmm1,%xmm0
  movss  D312(%rip),%xmm5
  mulss  %xmm6,%xmm5
  movaps %xmm5,%xmm1
  mulss  0x24(%rsp),%xmm1
  addss  %xmm1,%xmm0
  addss  0x54(%rsp),%xmm0
  mov    $0x2,%edi
  call   <pow@plt>
  mulss  0x14(%rsp),%xmm0
  addss  0x10(%rsp),%xmm0
  call   <sqrt@plt>
  jmp    L36
L5:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: unpack_data
arguments: label: D7
type_infered: byte[4]
name: unpack_data
arguments: label: D328
type_infered: f32
name: unpack_data
arguments: label: D253
type_infered: f32
name: unpack_data
arguments: label: D148
type_infered: f32
name: unpack_data
arguments: label: D83
type_infered: f32
name: unpack_data
arguments: label: D473
type_infered: byte[4]
name: unpack_data
arguments: label: D246
type_infered: byte[4]
name: unpack_data
arguments: label: D166
type_infered: byte[4]
name: unpack_data
arguments: label: D179
type_infered: byte[4]
name: unpack_data
arguments: label: D134
type_infered: byte[4]
name: unpack_data
arguments: label: D483
type_infered: byte[4]
name: unpack_data
arguments: label: D374
type_infered: byte[4]
name: unpack_data
arguments: label: D334
type_infered: byte[4]
name: unpack_data
arguments: label: D378
type_infered: byte[4]
name: unpack_data
arguments: label: D218
type_infered: byte[4]
name: unpack_data
arguments: label: D395
type_infered: byte[4]
name: unpack_data
arguments: label: D212
type_infered: byte[4]
name: unpack_data
arguments: label: D84
type_infered: byte[4]
name: unpack_data
arguments: label: D344
type_infered: byte[4]
name: unpack_data
arguments: label: D453
type_infered: byte[4]
name: unpack_data
arguments: label: D175
type_infered: byte[4]
name: unpack_data
arguments: label: D313
type_infered: byte[4]
name: unpack_data
arguments: label: D12
type_infered: byte[4]
name: unpack_data
arguments: label: D170
type_infered: byte[4]
name: unpack_data
arguments: label: D497
type_infered: byte[4]
name: unpack_data
arguments: label: D287
type_infered: byte[4]
name: unpack_data
arguments: label: D247
type_infered: byte[4]
name: unpack_data
arguments: label: D207
type_infered: byte[4]
name: unpack_data
arguments: label: D73
type_infered: byte[4]
name: unpack_data
arguments: label: D106
type_infered: byte[4]
name: unpack_data
arguments: label: D482
type_infered: byte[4]
name: unpack_data
arguments: label: D245
type_infered: byte[4]
name: unpack_data
arguments: label: D178
type_infered: byte[4]
name: unpack_data
arguments: label: D474
type_infered: byte[4]
name: unpack_data
arguments: label: D117
type_infered: byte[4]
name: unpack_data
arguments: label: D312
type_infered: byte[4]
name: unpack_data
arguments: label: D60
type_infered: byte[4]
name: unpack_data
arguments: label: D27
type_infered: byte[4]

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

tool: D328: 15

tool: D253: 2

tool: D148: 1

tool: D83: 18

tool: {"D473": [0x79,0xe9,0x8f,0x41]}

tool: {"D246": [0xf7,0x29,0x03,0x3c]}

tool: {"D166": [0xb7,0x87,0x4c,0xbb]}

tool: {"D179": [0x0d,0xf5,0x87,0xb8]}

tool: {"D134": [0xe3,0xa3,0x07,0xb9]}

tool: {"D483": [0x96,0x54,0xa7,0xb9]}

tool: {"D374": [0x35,0x22,0xee,0x39]}

tool: {"D334": [0x20,0x8e,0x62,0xbd]}

tool: {"D378": [0x6b,0x3d,0x7e,0x3d]}

tool: {"D218": [0xa1,0x30,0x87,0x3d]}

tool: {"D395": [0xe9,0xc5,0xd2,0xbb]}

tool: {"D212": [0xfe,0xfa,0x42,0x3a]}

tool: {"D84": [0x16,0xe3,0x62,0x39]}

tool: {"D344": [0x0c,0xcd,0xb4,0xb9]}

tool: {"D453": [0xe0,0xf9,0x21,0xbb]}

tool: {"D175": [0x71,0x4b,0x48,0x3b]}

tool: {"D313": [0x99,0x3e,0xe6,0x38]}

tool: {"D12": [0xef,0xdf,0xee,0x39]}

tool: {"D170": [0xb4,0xba,0x65,0x38]}

tool: {"D497": [0xcd,0xb8,0x29,0xba]}

tool: {"D287": [0xb9,0x9f,0xe3,0xb5]}

tool: {"D247": [0xe0,0xf9,0xa1,0xbb]}

tool: {"D207": [0xb4,0xba,0xe5,0x38]}

tool: {"D73": [0x20,0x8e,0x62,0x3d]}

tool: {"D106": [0xfe,0xfa,0xc2,0x3a]}

tool: {"D482": [0xe9,0xc5,0x52,0xbc]}

tool: {"D245": [0x0c,0xcd,0xb4,0x39]}

tool: {"D178": [0x99,0x3e,0x66,0x39]}

tool: {"D474": [0xe3,0xa3,0x87,0xb9]}

tool: {"D117": [0x35,0x22,0x6e,0x3a]}

tool: {"D312": [0xcd,0xb8,0xa9,0xba]}

tool: {"D60": [0x71,0x4b,0xc8,0x3b]}

tool: {"D27": [0xef,0xdf,0x6e,0x3a]}

assistant: ```c
float target_theta(float *x, float *dx, int m) {
  int ncoeff = 20;
  float avdat = 0.6202480E-01;
  float xmin[10] = {-0.15000E+02, -0.15000E+02, -0.18000E+02, -0.18013E+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.17989E+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.45493704E-04, -0.55311322E-01, 0.66010721E-01, 0.80056107E-02, -0.64322841E-02, -0.31208822E-02, 0.74379134E-03, 0.21637636E-03, -0.34485047E-03, -0.24715587E-02, 0.30562545E-02, -0.64829459E-04, 0.10978914E-03, -0.12935656E-03, -0.31915744E-03, 0.45420384E-03, 0.45561741E-03, -0.64743758E-03, 0.54771735E-04, -0.16959303E-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] * x11 * x31 + coeff[4] * x32 + coeff[5] * x21 * x41 + coeff[6] * x22 + coeff[7] * x11;
  v_target_theta = v_target_theta + coeff[8] * x31 + coeff[9] * x12 + coeff[10] * x42 + coeff[11] * x11 * x21 * x31 + coeff[12] * x21 * x32 + coeff[13] * x32 * x41 + coeff[14] * x11 * x21 * x31 * x41 + coeff[15] * x21 * x32 * x41 + coeff[16] * x11 * x31 * x42;
  v_target_theta = v_target_theta + coeff[17] * x32 * x42 + coeff[18] * x12 * x41 + coeff[19] * x11 * x21;
  float dxall = 0 + dx1 + dx2 + dx3 + dx4;
  float dv_target_theta = dxall == 0 ? 0 : sqrt(+dx1 * dx1 * pow(0 + coeff[3] * x31 + coeff[7] + 2 * coeff[9] * x11 + coeff[11] * x21 * x31 + coeff[14] * x21 * x31 * x41 + coeff[16] * x31 * x42 + 2 * coeff[18] * x11 * x41 + coeff[19] * x21, 2) + dx2 * dx2 * pow(0 + coeff[1] + coeff[5] * x41 + 2 * coeff[6] * x21 + coeff[11] * x11 * x31 + coeff[12] * x32 + coeff[14] * x11 * x31 * x41 + coeff[15] * x32 * x41 + coeff[19] * x11, 2) + dx3 * dx3 * pow(0 + coeff[3] * x11 + 2 * coeff[4] * x31 + coeff[8] + coeff[11] * x11 * x21 + 2 * coeff[12] * x31 * x21 + 2 * coeff[13] * x31 * x41 + coeff[14] * x11 * x21 * x41 + 2 * coeff[15] * x31 * x21 * x41 + coeff[16] * x11 * x42 + 2 * coeff[17] * x31 * x42, 2) + dx4 * dx4 * pow(0 + coeff[2] + coeff[5] * x21 + 2 * coeff[10] * x41 + coeff[13] * x32 + coeff[14] * x11 * x21 * x31 + coeff[15] * x21 * x32 + 2 * coeff[16] * x41 * x11 * x31 + 2 * coeff[17] * x41 * x32 + coeff[18] * x12, 2));
  dx[0] = dv_target_theta;
  return v_target_theta;
}
```