user: Please show me the C implementation that matches the assembly code listed below:

```asm
<target_x>:
  endbr64
  push   %rbx
  pxor   %xmm0,%xmm0
  mov    %rsi,%rbx
  sub    $0xe0,%rsp
  movss  D301(%rip),%xmm1
  movss  D93(%rip),%xmm4
  mov    %fs:0x28,%rax
  mov    %rax,0xd8(%rsp)
  xor    %eax,%eax
  movaps %xmm0,0xb0(%rsp)
  movabs $0xc1901aa0c1900000,%rax
  mov    %rax,0x58(%rsp)
  movabs $0x418fe97941900000,%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  %xmm4,0x84(%rsp)
  movaps %xmm0,0xc0(%rsp)
  test   %edx,%edx
  jle    L99
  sub    $0x1,%edx
  movss  D214(%rip),%xmm2
  xor    %eax,%eax
  movaps %xmm4,%xmm0
  shl    $0x2,%rdx
  lea    0x54(%rsp),%rsi
  lea    0x84(%rsp),%rcx
  jmp    L74
  nopl   0x0(%rax)
L71:
  movss  (%rsi,%rax,1),%xmm1
  movss  (%rcx,%rax,1),%xmm0
  add    $0x4,%rax
L74:
  ucomiss %xmm0,%xmm1
  jp     L94
  je     L96
L94:
  subss  %xmm1,%xmm0
  movaps %xmm2,%xmm1
  divss  %xmm0,%xmm1
  movss  %xmm1,0xb0(%rsp,%rax,1)
L96:
  cmp    %rdx,%rax
  jne    L71
  movss  0xb0(%rsp),%xmm8
  pxor   %xmm11,%xmm11
  movss  0xb4(%rsp),%xmm7
  movss  0xb8(%rsp),%xmm6
  movss  0xbc(%rsp),%xmm5
L48:
  movss  0xc(%rdi),%xmm1
  subss  D111(%rip),%xmm1
  movss  (%rdi),%xmm3
  movss  0x4(%rdi),%xmm2
  movss  D28(%rip),%xmm0
  movss  D245(%rip),%xmm10
  mulss  %xmm5,%xmm1
  subss  %xmm4,%xmm3
  subss  %xmm4,%xmm2
  movss  0x8(%rdi),%xmm4
  subss  D8(%rip),%xmm4
  mulss  0xc(%rbx),%xmm5
  movss  D152(%rip),%xmm9
  movss  D20(%rip),%xmm14
  movss  D273(%rip),%xmm13
  mulss  %xmm8,%xmm3
  movss  D261(%rip),%xmm12
  mulss  %xmm7,%xmm2
  mulss  %xmm6,%xmm4
  addss  %xmm0,%xmm1
  mulss  (%rbx),%xmm8
  mulss  0x4(%rbx),%xmm7
  addss  %xmm0,%xmm3
  mulss  0x8(%rbx),%xmm6
  addss  %xmm0,%xmm2
  addss  %xmm0,%xmm4
  movaps %xmm1,%xmm0
  mulss  %xmm1,%xmm0
  mulss  %xmm3,%xmm10
  movaps %xmm2,%xmm15
  mulss  %xmm3,%xmm9
  addss  D162(%rip),%xmm9
  mulss  %xmm2,%xmm14
  mulss  %xmm3,%xmm13
  movss  %xmm0,0x14(%rsp)
  movss  D187(%rip),%xmm0
  mulss  %xmm3,%xmm12
  mulss  %xmm2,%xmm15
  mulss  %xmm4,%xmm0
  movss  %xmm13,0x10(%rsp)
  movaps %xmm12,%xmm13
  mulss  %xmm2,%xmm13
  movss  %xmm0,0xc(%rsp)
  movss  D307(%rip),%xmm0
  mulss  %xmm4,%xmm0
  addss  %xmm9,%xmm0
  movaps %xmm10,%xmm9
  mulss  %xmm2,%xmm9
  addss  %xmm0,%xmm9
  movss  0xc(%rsp),%xmm0
  mulss  %xmm1,%xmm0
  addss  %xmm9,%xmm0
  movss  D292(%rip),%xmm9
  mulss  %xmm2,%xmm9
  addss  %xmm0,%xmm9
  movss  D251(%rip),%xmm0
  mulss  %xmm1,%xmm0
  addss  %xmm9,%xmm0
  movaps %xmm14,%xmm9
  mulss  %xmm4,%xmm9
  addss  %xmm0,%xmm9
  movss  0x10(%rsp),%xmm0
  mulss  %xmm1,%xmm0
  addss  %xmm9,%xmm0
  movss  D128(%rip),%xmm9
  mulss  %xmm3,%xmm9
  mulss  %xmm15,%xmm9
  addss  %xmm0,%xmm9
  movaps %xmm13,%xmm0
  mulss  %xmm1,%xmm0
  addss  %xmm9,%xmm0
  movss  D188(%rip),%xmm9
  mulss  %xmm4,%xmm9
  mulss  0x14(%rsp),%xmm9
  addss  %xmm0,%xmm9
  movaps %xmm8,%xmm0
  addss  %xmm11,%xmm0
  addss  %xmm7,%xmm0
  addss  %xmm6,%xmm0
  addss  %xmm5,%xmm0
  ucomiss %xmm11,%xmm0
  jp     L14
  movaps %xmm11,%xmm0
  jne    L14
L97:
  movss  %xmm0,(%rbx)
  mov    0xd8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L87
  add    $0xe0,%rsp
  movaps %xmm9,%xmm0
  pop    %rbx
  ret
  xchg   %ax,%ax
L14:
  movss  %xmm5,0x48(%rsp)
  mulss  %xmm8,%xmm8
  mov    $0x2,%edi
  movss  D245(%rip),%xmm5
  movss  D273(%rip),%xmm0
  movss  %xmm9,0x4c(%rsp)
  mulss  %xmm2,%xmm5
  movss  %xmm13,0x38(%rsp)
  mulss  %xmm1,%xmm0
  movss  %xmm6,0x44(%rsp)
  movss  %xmm14,0x30(%rsp)
  movss  %xmm8,0x18(%rsp)
  movss  %xmm11,0x28(%rsp)
  movaps %xmm5,%xmm8
  movss  %xmm4,0x40(%rsp)
  subss  D210(%rip),%xmm8
  movss  %xmm7,0x1c(%rsp)
  movss  %xmm3,0x3c(%rsp)
  addss  %xmm0,%xmm8
  movss  D128(%rip),%xmm0
  movss  %xmm12,0x34(%rsp)
  movss  %xmm10,0x24(%rsp)
  mulss  %xmm15,%xmm0
  movss  %xmm2,0x2c(%rsp)
  movss  D261(%rip),%xmm15
  movss  %xmm1,0x20(%rsp)
  mulss  %xmm2,%xmm15
  addss  %xmm8,%xmm0
  mulss  %xmm1,%xmm15
  addss  %xmm15,%xmm0
  call   <pow@plt>
  movss  0x40(%rsp),%xmm4
  movss  D20(%rip),%xmm5
  mov    $0x2,%edi
  movss  0x2c(%rsp),%xmm2
  mulss  D268(%rip),%xmm2
  mulss  %xmm4,%xmm5
  movss  0x28(%rsp),%xmm11
  movss  0x24(%rsp),%xmm10
  movss  %xmm4,0x24(%rsp)
  movss  0x3c(%rsp),%xmm3
  movss  0x20(%rsp),%xmm1
  addss  %xmm11,%xmm10
  movss  0x34(%rsp),%xmm12
  subss  D138(%rip),%xmm10
  movss  0x1c(%rsp),%xmm7
  mulss  0x18(%rsp),%xmm0
  mulss  %xmm3,%xmm2
  addss  %xmm5,%xmm10
  mulss  %xmm1,%xmm12
  mulss  %xmm7,%xmm7
  movss  %xmm0,0x18(%rsp)
  addss  %xmm2,%xmm10
  movss  %xmm7,0x1c(%rsp)
  addss  %xmm12,%xmm10
  movaps %xmm10,%xmm0
  call   <pow@plt>
  mulss  0x1c(%rsp),%xmm0
  movss  0x18(%rsp),%xmm7
  mov    $0x2,%edi
  movss  0x20(%rsp),%xmm1
  movss  0x30(%rsp),%xmm14
  movss  D188(%rip),%xmm2
  mulss  0x14(%rsp),%xmm2
  movss  0x44(%rsp),%xmm6
  addss  %xmm0,%xmm7
  movss  D187(%rip),%xmm0
  mulss  %xmm6,%xmm6
  mulss  %xmm1,%xmm0
  addss  D307(%rip),%xmm0
  movss  %xmm7,0x18(%rsp)
  movss  %xmm6,0x1c(%rsp)
  addss  %xmm14,%xmm0
  addss  %xmm2,%xmm0
  call   <pow@plt>
  mulss  0x1c(%rsp),%xmm0
  mov    $0x2,%edi
  movss  0x28(%rsp),%xmm11
  addss  0x18(%rsp),%xmm0
  movss  0xc(%rsp),%xmm7
  movss  0x20(%rsp),%xmm1
  mulss  D247(%rip),%xmm1
  addss  %xmm11,%xmm7
  movss  0x24(%rsp),%xmm4
  movss  0x48(%rsp),%xmm5
  movss  %xmm0,0x14(%rsp)
  movss  D251(%rip),%xmm0
  movss  0x38(%rsp),%xmm13
  movaps %xmm5,%xmm6
  addss  %xmm7,%xmm0
  addss  0x10(%rsp),%xmm0
  mulss  %xmm5,%xmm6
  mulss  %xmm4,%xmm1
  addss  %xmm13,%xmm0
  movss  %xmm6,0x18(%rsp)
  addss  %xmm1,%xmm0
  call   <pow@plt>
  mulss  0x18(%rsp),%xmm0
  addss  0x14(%rsp),%xmm0
  call   <sqrt@plt>
  movss  0x4c(%rsp),%xmm9
  jmp    L97
  nopl   (%rax)
L99:
  pxor   %xmm11,%xmm11
  movaps %xmm11,%xmm5
  movaps %xmm11,%xmm6
  movaps %xmm11,%xmm7
  movaps %xmm11,%xmm8
  jmp    L48
L87:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: parse_data
arguments: data_label: D301
type: byte[4]
name: parse_data
arguments: data_label: D93
type: byte[4]
name: parse_data
arguments: data_label: D214
type: f32
name: parse_data
arguments: data_label: D111
type: byte[4]
name: parse_data
arguments: data_label: D28
type: f32
name: parse_data
arguments: data_label: D245
type: byte[4]
name: parse_data
arguments: data_label: D8
type: byte[4]
name: parse_data
arguments: data_label: D152
type: byte[4]
name: parse_data
arguments: data_label: D20
type: byte[4]
name: parse_data
arguments: data_label: D273
type: byte[4]
name: parse_data
arguments: data_label: D261
type: byte[4]
name: parse_data
arguments: data_label: D162
type: byte[4]
name: parse_data
arguments: data_label: D187
type: byte[4]
name: parse_data
arguments: data_label: D307
type: byte[4]
name: parse_data
arguments: data_label: D292
type: byte[4]
name: parse_data
arguments: data_label: D251
type: byte[4]
name: parse_data
arguments: data_label: D128
type: byte[4]
name: parse_data
arguments: data_label: D188
type: byte[4]
name: parse_data
arguments: data_label: D210
type: byte[4]
name: parse_data
arguments: data_label: D268
type: byte[4]
name: parse_data
arguments: data_label: D138
type: byte[4]
name: parse_data
arguments: data_label: D247
type: byte[4]

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

tool: {"D93": [0x00,0x00,0x70,0x41]}

tool: D214: 2

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

tool: D28: 1

tool: {"D245": [0x7e,0x44,0xca,0x3e]}

tool: {"D8": [0x00,0x00,0x90,0x41]}

tool: {"D152": [0x4b,0x69,0x1a,0xc2]}

tool: {"D20": [0x34,0x51,0x39,0xbf]}

tool: {"D273": [0x17,0x0e,0x28,0xbf]}

tool: {"D261": [0xc3,0x94,0xfd,0xba]}

tool: {"D162": [0x65,0x24,0xe3,0x3f]}

tool: {"D187": [0x5d,0xd9,0x99,0x3f]}

tool: {"D307": [0x08,0xbc,0x80,0x42]}

tool: {"D292": [0x83,0x28,0xb1,0xbc]}

tool: {"D251": [0x19,0x3d,0x13,0x3d]}

tool: {"D128": [0xa7,0xe1,0xb7,0xba]}

tool: {"D188": [0xab,0xb0,0xdc,0x3b]}

tool: {"D210": [0x4b,0x69,0x1a,0x42]}

tool: {"D268": [0xa7,0xe1,0x37,0xbb]}

tool: {"D138": [0x83,0x28,0xb1,0x3c]}

tool: {"D247": [0xab,0xb0,0x5c,0x3c]}

assistant: ```c
float target_x(float *x, float *dx, int m) {
  int ncoeff = 12;
  float avdat = 0.1774541E+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[13] = {0.71376744E-05, -0.38602825E+02, 0.64367249E+02, 0.39505380E+00, 0.12019459E+01, -0.21625763E-01, 0.35946939E-01, -0.72389531E+00, -0.65646499E+00, -0.14029042E-02, -0.19346703E-02, 0.67349277E-02, 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 x21 = x2;
  float x22 = x21 * x2;
  float x31 = x3;
  float x41 = x4;
  float x42 = x41 * x4;
  float v_target_x = avdat + coeff[0] + coeff[1] * x11 + coeff[2] * x31 + coeff[3] * x11 * x21 + coeff[4] * x31 * x41 + coeff[5] * x21 + coeff[6] * x41 + coeff[7] * x21 * x31;
  v_target_x = v_target_x + coeff[8] * x11 * x41 + coeff[9] * x11 * x22 + coeff[10] * x11 * x21 * x41 + coeff[11] * x31 * x42;
  float dxall = 0 + dx1 + dx2 + dx3 + dx4;
  float dv_target_x = dxall == 0 ? 0 : sqrt(+dx1 * dx1 * pow(0 + coeff[1] + coeff[3] * x21 + coeff[8] * x41 + coeff[9] * x22 + coeff[10] * x21 * x41, 2) + dx2 * dx2 * pow(0 + coeff[3] * x11 + coeff[5] + coeff[7] * x31 + 2 * coeff[9] * x21 * x11 + coeff[10] * x11 * x41, 2) + dx3 * dx3 * pow(0 + coeff[2] + coeff[4] * x41 + coeff[7] * x21 + coeff[11] * x42, 2) + dx4 * dx4 * pow(0 + coeff[4] * x31 + coeff[6] + coeff[8] * x11 + coeff[10] * x11 * x21 + 2 * coeff[11] * x41 * x31, 2));
  dx[0] = dv_target_x;
  return v_target_x;
}
```