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

```asm
<target_theta>:
  endbr64
  push   %rbx
  pxor   %xmm0,%xmm0
  mov    %rsi,%rbx
  sub    $0xe0,%rsp
  movss  D443(%rip),%xmm1
  movss  D235(%rip),%xmm3
  mov    %fs:0x28,%rax
  mov    %rax,0xd8(%rsp)
  xor    %eax,%eax
  movaps %xmm0,0xb0(%rsp)
  movabs $0xc1901062c1900a3d,%rax
  mov    %rax,0x58(%rsp)
  movabs $0x4190020c41900625,%rax
  movq   $0x0,0x60(%rsp)
  movq   $0x0,0x68(%rsp)
  movq   $0x0,0x70(%rsp)
  mov    %rax,0x88(%rsp)
  movq   $0x0,0x90(%rsp)
  movq   $0x0,0x98(%rsp)
  movq   $0x0,0xa0(%rsp)
  movq   $0x0,0xd0(%rsp)
  movss  %xmm1,0x54(%rsp)
  movss  %xmm3,0x84(%rsp)
  movaps %xmm0,0xc0(%rsp)
  test   %edx,%edx
  jle    L65
  sub    $0x1,%edx
  movss  D231(%rip),%xmm2
  xor    %eax,%eax
  movaps %xmm3,%xmm0
  shl    $0x2,%rdx
  lea    0x54(%rsp),%rsi
  lea    0x84(%rsp),%rcx
  jmp    L11
  nopl   0x0(%rax)
L37:
  movss  (%rsi,%rax,1),%xmm1
  movss  (%rcx,%rax,1),%xmm0
  add    $0x4,%rax
L11:
  ucomiss %xmm0,%xmm1
  jp     L32
  je     L1
L32:
  subss  %xmm1,%xmm0
  movaps %xmm2,%xmm1
  divss  %xmm0,%xmm1
  movss  %xmm1,0xb0(%rsp,%rax,1)
L1:
  cmp    %rdx,%rax
  jne    L37
  movss  0xb0(%rsp),%xmm8
  pxor   %xmm0,%xmm0
  movss  0xb4(%rsp),%xmm6
  movss  0xb8(%rsp),%xmm5
  movss  0xbc(%rsp),%xmm7
L88:
  movss  (%rdi),%xmm1
  movss  0x4(%rdi),%xmm4
  movss  D221(%rip),%xmm9
  movss  0x8(%rdi),%xmm2
  subss  %xmm3,%xmm1
  subss  %xmm3,%xmm4
  movss  0xc(%rdi),%xmm3
  movss  D237(%rip),%xmm10
  subss  D16(%rip),%xmm2
  subss  D488(%rip),%xmm3
  mulss  %xmm8,%xmm1
  mulss  %xmm6,%xmm4
  mulss  %xmm5,%xmm2
  mulss  %xmm7,%xmm3
  mulss  0xc(%rbx),%xmm7
  addss  %xmm9,%xmm1
  mulss  (%rbx),%xmm8
  addss  %xmm9,%xmm4
  mulss  0x4(%rbx),%xmm6
  addss  %xmm9,%xmm2
  mulss  0x8(%rbx),%xmm5
  addss  %xmm9,%xmm3
  movaps %xmm1,%xmm11
  movaps %xmm1,%xmm12
  movss  D204(%rip),%xmm9
  movss  %xmm7,0x18(%rsp)
  mulss  %xmm1,%xmm11
  movaps %xmm4,%xmm14
  mulss  %xmm1,%xmm9
  movaps %xmm2,%xmm7
  movaps %xmm2,%xmm15
  mulss  %xmm2,%xmm10
  movaps %xmm3,%xmm13
  mulss  %xmm2,%xmm7
  mulss  %xmm3,%xmm13
  mulss  %xmm11,%xmm12
  movss  %xmm9,0x4(%rsp)
  mulss  %xmm4,%xmm14
  movss  D215(%rip),%xmm9
  movss  %xmm10,0xc(%rsp)
  movss  D248(%rip),%xmm10
  mulss  %xmm1,%xmm9
  mulss  %xmm1,%xmm10
  mulss  %xmm7,%xmm15
  movss  %xmm9,0x8(%rsp)
  movss  D48(%rip),%xmm9
  movss  %xmm10,0x14(%rsp)
  movss  D326(%rip),%xmm10
  mulss  %xmm4,%xmm9
  movss  %xmm15,0x1c(%rsp)
  mulss  %xmm1,%xmm10
  addss  D58(%rip),%xmm10
  mulss  %xmm2,%xmm15
  movss  %xmm9,0x10(%rsp)
  movss  D357(%rip),%xmm9
  mulss  %xmm4,%xmm9
  addss  %xmm10,%xmm9
  movss  D285(%rip),%xmm10
  mulss  %xmm2,%xmm10
  addss  %xmm9,%xmm10
  movss  D297(%rip),%xmm9
  mulss  %xmm3,%xmm9
  addss  %xmm10,%xmm9
  movss  0x4(%rsp),%xmm10
  mulss  %xmm4,%xmm10
  addss  %xmm9,%xmm10
  movss  0x8(%rsp),%xmm9
  mulss  %xmm3,%xmm9
  addss  %xmm10,%xmm9
  movss  0xc(%rsp),%xmm10
  mulss  %xmm3,%xmm10
  addss  %xmm9,%xmm10
  movss  0x10(%rsp),%xmm9
  mulss  %xmm2,%xmm9
  addss  %xmm10,%xmm9
  movss  D395(%rip),%xmm10
  mulss  %xmm7,%xmm10
  addss  %xmm9,%xmm10
  movss  D209(%rip),%xmm9
  mulss  %xmm2,%xmm9
  mulss  %xmm13,%xmm9
  addss  %xmm10,%xmm9
  movaps %xmm1,%xmm10
  mulss  %xmm12,%xmm10
  mulss  D80(%rip),%xmm10
  addss  %xmm9,%xmm10
  movss  D229(%rip),%xmm9
  mulss  %xmm1,%xmm9
  mulss  %xmm15,%xmm9
  addss  %xmm10,%xmm9
  movss  D472(%rip),%xmm10
  mulss  %xmm11,%xmm10
  addss  %xmm10,%xmm9
  movss  0x14(%rsp),%xmm10
  mulss  %xmm2,%xmm10
  addss  %xmm9,%xmm10
  movss  D216(%rip),%xmm9
  mulss  %xmm12,%xmm9
  addss  %xmm10,%xmm9
  movss  D406(%rip),%xmm10
  mulss  %xmm1,%xmm10
  mulss  %xmm14,%xmm10
  addss  %xmm9,%xmm10
  movss  D81(%rip),%xmm9
  mulss  %xmm4,%xmm9
  mulss  %xmm7,%xmm9
  addss  %xmm10,%xmm9
  movaps %xmm3,%xmm10
  mulss  %xmm13,%xmm10
  mulss  D356(%rip),%xmm10
  addss  %xmm9,%xmm10
  movss  D266(%rip),%xmm9
  mulss  %xmm12,%xmm9
  mulss  %xmm7,%xmm9
  addss  %xmm10,%xmm9
  movaps %xmm8,%xmm10
  addss  %xmm0,%xmm10
  addss  %xmm6,%xmm10
  addss  %xmm5,%xmm10
  addss  0x18(%rsp),%xmm10
  ucomiss %xmm0,%xmm10
  jp     L28
  jne    L28
L99:
  movss  %xmm0,(%rbx)
  mov    0xd8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L15
  add    $0xe0,%rsp
  movaps %xmm9,%xmm0
  pop    %rbx
  ret
  nopl   0x0(%rax)
L28:
  movss  %xmm5,0x44(%rsp)
  mulss  %xmm8,%xmm8
  movss  D204(%rip),%xmm5
  movss  D215(%rip),%xmm0
  mulss  D229(%rip),%xmm15
  movss  %xmm6,0x24(%rsp)
  movss  D142(%rip),%xmm6
  mov    $0x2,%edi
  mulss  %xmm4,%xmm5
  movss  %xmm9,0x4c(%rsp)
  mulss  %xmm3,%xmm0
  movss  %xmm13,0x48(%rsp)
  mulss  %xmm11,%xmm6
  movss  %xmm3,0x40(%rsp)
  mulss  D118(%rip),%xmm11
  movss  %xmm8,0x20(%rsp)
  mulss  D406(%rip),%xmm14
  movss  %xmm12,0x3c(%rsp)
  movaps %xmm5,%xmm8
  movaps %xmm12,%xmm5
  subss  D214(%rip),%xmm8
  movss  %xmm4,0x30(%rsp)
  mulss  D272(%rip),%xmm5
  movss  %xmm1,0x38(%rsp)
  movss  %xmm2,0x2c(%rsp)
  addss  %xmm8,%xmm0
  mulss  %xmm7,%xmm11
  movss  %xmm7,0x28(%rsp)
  movaps %xmm5,%xmm8
  movaps %xmm1,%xmm5
  addss  %xmm0,%xmm8
  mulss  D351(%rip),%xmm5
  movss  D248(%rip),%xmm0
  mulss  %xmm2,%xmm0
  addss  %xmm8,%xmm15
  movaps %xmm5,%xmm8
  addss  %xmm15,%xmm8
  addss  %xmm8,%xmm0
  movaps %xmm6,%xmm8
  addss  %xmm0,%xmm8
  addss  %xmm8,%xmm14
  movaps %xmm14,%xmm0
  addss  %xmm11,%xmm0
  call   <pow@plt>
  movss  0x2c(%rsp),%xmm2
  mov    $0x2,%edi
  movss  0x24(%rsp),%xmm6
  movss  D48(%rip),%xmm7
  movss  0x4(%rsp),%xmm4
  mulss  %xmm6,%xmm6
  subss  D282(%rip),%xmm4
  movss  0x38(%rsp),%xmm1
  movss  %xmm2,0x34(%rsp)
  mulss  %xmm2,%xmm7
  mulss  0x20(%rsp),%xmm0
  movss  %xmm1,0x2c(%rsp)
  movss  %xmm6,0x24(%rsp)
  movaps %xmm7,%xmm6
  movss  D100(%rip),%xmm7
  addss  %xmm4,%xmm6
  movss  0x30(%rsp),%xmm4
  movss  %xmm0,0x20(%rsp)
  mulss  %xmm4,%xmm7
  movaps %xmm7,%xmm0
  movss  0x28(%rsp),%xmm7
  mulss  %xmm1,%xmm0
  mulss  D81(%rip),%xmm7
  addss  %xmm6,%xmm0
  addss  %xmm7,%xmm0
  call   <pow@plt>
  mulss  0x24(%rsp),%xmm0
  movss  0x20(%rsp),%xmm6
  mov    $0x2,%edi
  movss  0x34(%rsp),%xmm2
  movss  D255(%rip),%xmm4
  movss  0x40(%rsp),%xmm3
  movss  0x48(%rsp),%xmm13
  mulss  %xmm2,%xmm4
  movss  0x1c(%rsp),%xmm7
  movss  0x2c(%rsp),%xmm1
  mulss  D127(%rip),%xmm7
  movss  0x3c(%rsp),%xmm12
  movss  %xmm3,0x28(%rsp)
  addss  %xmm0,%xmm6
  movss  D237(%rip),%xmm0
  movss  0x44(%rsp),%xmm5
  movss  %xmm13,0x24(%rsp)
  mulss  %xmm3,%xmm0
  addss  D285(%rip),%xmm0
  addss  0x10(%rsp),%xmm0
  mulss  %xmm5,%xmm5
  movss  %xmm6,0x4(%rsp)
  mulss  %xmm7,%xmm1
  addss  %xmm4,%xmm0
  movss  D209(%rip),%xmm4
  mulss  %xmm13,%xmm4
  movss  %xmm5,0x20(%rsp)
  addss  %xmm4,%xmm0
  movss  0x30(%rsp),%xmm4
  addss  %xmm1,%xmm0
  movss  D446(%rip),%xmm1
  addss  0x14(%rsp),%xmm0
  movss  %xmm2,0x14(%rsp)
  mulss  %xmm2,%xmm1
  mulss  %xmm4,%xmm1
  addss  %xmm1,%xmm0
  movaps %xmm2,%xmm1
  mulss  D71(%rip),%xmm1
  mulss  %xmm12,%xmm1
  addss  %xmm1,%xmm0
  call   <pow@plt>
  movss  0x28(%rsp),%xmm3
  mulss  D3(%rip),%xmm3
  mov    $0x2,%edi
  mulss  0x20(%rsp),%xmm0
  movss  0x14(%rsp),%xmm2
  addss  0x4(%rsp),%xmm0
  movss  D297(%rip),%xmm4
  addss  0x8(%rsp),%xmm4
  movss  0x24(%rsp),%xmm13
  mulss  D232(%rip),%xmm13
  movss  0x18(%rsp),%xmm6
  mulss  %xmm2,%xmm3
  movss  %xmm0,0x4(%rsp)
  movss  0xc(%rsp),%xmm0
  mulss  %xmm6,%xmm6
  addss  %xmm4,%xmm0
  addss  %xmm3,%xmm0
  movss  %xmm6,0x10(%rsp)
  addss  %xmm13,%xmm0
  call   <pow@plt>
  mulss  0x10(%rsp),%xmm0
  addss  0x4(%rsp),%xmm0
  call   <sqrt@plt>
  movss  0x4c(%rsp),%xmm9
  jmp    L99
  nopw   0x0(%rax,%rax,1)
L65:
  pxor   %xmm0,%xmm0
  movaps %xmm0,%xmm7
  movaps %xmm0,%xmm5
  movaps %xmm0,%xmm6
  movaps %xmm0,%xmm8
  jmp    L88
L15:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: retrieve_data
arguments: label: D443
type_infered: byte[4]
name: retrieve_data
arguments: label: D235
type_infered: f32
name: retrieve_data
arguments: label: D231
type_infered: f32
name: retrieve_data
arguments: label: D221
type_infered: f32
name: retrieve_data
arguments: label: D237
type_infered: byte[4]
name: retrieve_data
arguments: label: D16
type_infered: byte[4]
name: retrieve_data
arguments: label: D488
type_infered: byte[4]
name: retrieve_data
arguments: label: D204
type_infered: byte[4]
name: retrieve_data
arguments: label: D215
type_infered: byte[4]
name: retrieve_data
arguments: label: D248
type_infered: byte[4]
name: retrieve_data
arguments: label: D48
type_infered: byte[4]
name: retrieve_data
arguments: label: D326
type_infered: byte[4]
name: retrieve_data
arguments: label: D58
type_infered: byte[4]
name: retrieve_data
arguments: label: D357
type_infered: byte[4]
name: retrieve_data
arguments: label: D285
type_infered: byte[4]
name: retrieve_data
arguments: label: D297
type_infered: byte[4]
name: retrieve_data
arguments: label: D395
type_infered: byte[4]
name: retrieve_data
arguments: label: D209
type_infered: byte[4]
name: retrieve_data
arguments: label: D80
type_infered: byte[4]
name: retrieve_data
arguments: label: D229
type_infered: byte[4]
name: retrieve_data
arguments: label: D472
type_infered: byte[4]
name: retrieve_data
arguments: label: D216
type_infered: byte[4]
name: retrieve_data
arguments: label: D406
type_infered: byte[4]
name: retrieve_data
arguments: label: D81
type_infered: byte[4]
name: retrieve_data
arguments: label: D356
type_infered: byte[4]
name: retrieve_data
arguments: label: D266
type_infered: byte[4]
name: retrieve_data
arguments: label: D142
type_infered: byte[4]
name: retrieve_data
arguments: label: D118
type_infered: byte[4]
name: retrieve_data
arguments: label: D214
type_infered: byte[4]
name: retrieve_data
arguments: label: D272
type_infered: byte[4]
name: retrieve_data
arguments: label: D351
type_infered: byte[4]
name: retrieve_data
arguments: label: D282
type_infered: byte[4]
name: retrieve_data
arguments: label: D100
type_infered: byte[4]
name: retrieve_data
arguments: label: D255
type_infered: byte[4]
name: retrieve_data
arguments: label: D127
type_infered: byte[4]
name: retrieve_data
arguments: label: D446
type_infered: byte[4]
name: retrieve_data
arguments: label: D71
type_infered: byte[4]
name: retrieve_data
arguments: label: D3
type_infered: byte[4]
name: retrieve_data
arguments: label: D232
type_infered: byte[4]

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

tool: D235: 15

tool: D231: 2

tool: D221: 1

tool: {"D237": [0x70,0xef,0x41,0xb9]}

tool: {"D16": [0x25,0x06,0x90,0x41]}

tool: {"D488": [0x0c,0x02,0x90,0x41]}

tool: {"D204": [0x5d,0x00,0xa1,0xb8]}

tool: {"D215": [0x4f,0x57,0xee,0x38]}

tool: {"D248": [0x22,0xce,0x08,0xb9]}

tool: {"D48": [0xef,0xc7,0x00,0x39]}

tool: {"D326": [0xa9,0xf9,0xbc,0xbc]}

tool: {"D58": [0x6e,0x48,0x7b,0x3c]}

tool: {"D357": [0x33,0x3d,0x59,0xbd]}

tool: {"D285": [0x2c,0x13,0x10,0x3d]}

tool: {"D297": [0xfe,0xf5,0x7e,0x3d]}

tool: {"D395": [0x7d,0xae,0xcf,0x38]}

tool: {"D209": [0x59,0x29,0x9a,0x37]}

tool: {"D80": [0xa7,0x97,0x31,0x35]}

tool: {"D229": [0x2b,0x42,0x23,0x38]}

tool: {"D472": [0x09,0x89,0x2a,0x38]}

tool: {"D216": [0x1a,0xce,0x3e,0x37]}

tool: {"D406": [0xe7,0x07,0x04,0xb7]}

tool: {"D81": [0x94,0x66,0x62,0xb6]}

tool: {"D356": [0x04,0xc5,0x90,0xb6]}

tool: {"D266": [0x1e,0x22,0x22,0xb8]}

tool: {"D142": [0x94,0x1a,0x0f,0x38]}

tool: {"D118": [0x2d,0x33,0xf3,0xb8]}

tool: {"D214": [0xa9,0xf9,0xbc,0x3c]}

tool: {"D272": [0xa7,0x97,0x31,0x36]}

tool: {"D351": [0x09,0x89,0xaa,0x38]}

tool: {"D282": [0x33,0x3d,0x59,0x3d]}

tool: {"D100": [0xe7,0x07,0x84,0xb7]}

tool: {"D255": [0x7d,0xae,0x4f,0x39]}

tool: {"D127": [0x2b,0x42,0x23,0x39]}

tool: {"D446": [0x94,0x66,0xe2,0xb6]}

tool: {"D71": [0x1e,0x22,0xa2,0xb8]}

tool: {"D3": [0x59,0x29,0x1a,0x38]}

tool: {"D232": [0x86,0x27,0x59,0xb7]}

assistant: ```c
float target_theta(float *x, float *dx, int m) {
  int ncoeff = 20;
  float avdat = 0.1533949E-01;
  float xmin[10] = {-0.15000E+02, -0.15000E+02, -0.18005E+02, -0.18008E+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.18003E+02, 0.18001E+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.23974299E-05, -0.23068266E-01, -0.53036880E-01, 0.35174534E-01, 0.62246315E-01, -0.76771459E-04, 0.11364987E-03, -0.18495112E-03, 0.12281512E-03, 0.99030301E-04, 0.18377485E-04, 0.66158321E-06, 0.38923852E-04, 0.40658782E-04, -0.13046761E-03, 0.11372869E-04, -0.78696530E-05, -0.33736333E-05, -0.43144701E-05, -0.38655584E-04, 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 x13 = x12 * x1;
  float x14 = x13 * x1;
  float x21 = x2;
  float x22 = x21 * x2;
  float x31 = x3;
  float x32 = x31 * x3;
  float x33 = x32 * x3;
  float x34 = x33 * x3;
  float x41 = x4;
  float x42 = x41 * x4;
  float x43 = x42 * x4;
  float v_target_theta = avdat + coeff[0] + coeff[1] * x11 + coeff[2] * x21 + coeff[3] * x31 + coeff[4] * x41 + coeff[5] * x11 * x21 + coeff[6] * x11 * x41 + coeff[7] * x31 * x41;
  v_target_theta = v_target_theta + coeff[8] * x21 * x31 + coeff[9] * x32 + coeff[10] * x31 * x42 + coeff[11] * x14 + coeff[12] * x11 * x34 + coeff[13] * x12 + coeff[14] * x11 * x31 + coeff[15] * x13 + coeff[16] * x11 * x22;
  v_target_theta = v_target_theta + coeff[17] * x21 * x32 + coeff[18] * x43 + coeff[19] * x13 * x32;
  float dxall = 0 + dx1 + dx2 + dx3 + dx4;
  float dv_target_theta = dxall == 0 ? 0 : sqrt(+dx1 * dx1 * pow(0 + coeff[1] + coeff[5] * x21 + coeff[6] * x41 + 4 * coeff[11] * x13 + coeff[12] * x34 + 2 * coeff[13] * x11 + coeff[14] * x31 + 3 * coeff[15] * x12 + coeff[16] * x22 + 3 * coeff[19] * x12 * x32, 2) + dx2 * dx2 * pow(0 + coeff[2] + coeff[5] * x11 + coeff[8] * x31 + 2 * coeff[16] * x21 * x11 + coeff[17] * x32, 2) + dx3 * dx3 * pow(0 + coeff[3] + coeff[7] * x41 + coeff[8] * x21 + 2 * coeff[9] * x31 + coeff[10] * x42 + 4 * coeff[12] * x33 * x11 + coeff[14] * x11 + 2 * coeff[17] * x31 * x21 + 2 * coeff[19] * x31 * x13, 2) + dx4 * dx4 * pow(0 + coeff[4] + coeff[6] * x11 + coeff[7] * x31 + 2 * coeff[10] * x41 * x31 + 3 * coeff[18] * x42, 2));
  dx[0] = dv_target_theta;
  return v_target_theta;
}
```