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

```asm
<target_x>:
  endbr64
  push   %r14
  push   %rbx
  sub    $0xc8,%rsp
  mov    %rdi,%rcx
  mov    %rsi,%rbx
  mov    %fs:0x28,%rax
  mov    %rax,0xb8(%rsp)
  xor    %eax,%eax
  movss  D133(%rip),%xmm0
  movss  %xmm0,0x30(%rsp)
  movss  %xmm0,0x34(%rsp)
  movl   $0xc1900a3d,0x38(%rsp)
  movl   $0xc1901062,0x3c(%rsp)
  movl   $0x0,0x40(%rsp)
  movl   $0x0,0x44(%rsp)
  movl   $0x0,0x48(%rsp)
  movl   $0x0,0x4c(%rsp)
  movl   $0x0,0x50(%rsp)
  movl   $0x0,0x54(%rsp)
  movss  D120(%rip),%xmm0
  movss  %xmm0,0x60(%rsp)
  movss  %xmm0,0x64(%rsp)
  movl   $0x41900625,0x68(%rsp)
  movl   $0x4190020c,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)
  movq   $0x0,0x90(%rsp)
  movq   $0x0,0x98(%rsp)
  movq   $0x0,0xa0(%rsp)
  movq   $0x0,0xa8(%rsp)
  movq   $0x0,0xb0(%rsp)
  test   %edx,%edx
  jle    L33
  mov    %edx,%edx
  movss  D69(%rip),%xmm2
  jmp    L6
L68:
  subss  %xmm1,%xmm0
  movaps %xmm2,%xmm1
  divss  %xmm0,%xmm1
  movss  %xmm1,0x90(%rsp,%rax,4)
L51:
  add    $0x1,%rax
  cmp    %rdx,%rax
  je     L33
L6:
  movss  0x30(%rsp,%rax,4),%xmm1
  movss  0x60(%rsp,%rax,4),%xmm0
  ucomiss %xmm0,%xmm1
  jp     L68
  jne    L68
  jmp    L51
L33:
  movss  0x90(%rsp),%xmm4
  movss  (%rcx),%xmm1
  movss  D120(%rip),%xmm5
  subss  %xmm5,%xmm1
  mulss  %xmm4,%xmm1
  movss  D13(%rip),%xmm3
  addss  %xmm3,%xmm1
  mulss  (%rbx),%xmm4
  movss  0x94(%rsp),%xmm0
  movss  0x4(%rcx),%xmm2
  subss  %xmm5,%xmm2
  mulss  %xmm0,%xmm2
  addss  %xmm3,%xmm2
  mulss  0x4(%rbx),%xmm0
  movaps %xmm0,%xmm9
  movss  %xmm0,0x1c(%rsp)
  movss  0x98(%rsp),%xmm5
  movss  0x8(%rcx),%xmm0
  subss  D103(%rip),%xmm0
  mulss  %xmm5,%xmm0
  movaps %xmm0,%xmm6
  addss  %xmm3,%xmm6
  movss  %xmm6,0x20(%rsp)
  mulss  0x8(%rbx),%xmm5
  movaps %xmm5,%xmm10
  movss  %xmm5,0x24(%rsp)
  movss  0x9c(%rsp),%xmm5
  movss  0xc(%rcx),%xmm0
  subss  D5(%rip),%xmm0
  mulss  %xmm5,%xmm0
  movaps %xmm0,%xmm7
  addss  %xmm3,%xmm7
  movss  %xmm7,0x8(%rsp)
  mulss  0xc(%rbx),%xmm5
  movaps %xmm5,%xmm11
  movss  %xmm5,0x28(%rsp)
  movaps %xmm1,%xmm3
  mulss  D178(%rip),%xmm3
  movss  %xmm3,0xc(%rsp)
  movaps %xmm1,%xmm5
  mulss  D87(%rip),%xmm5
  movss  %xmm5,0x10(%rsp)
  movaps %xmm2,%xmm8
  mulss  D101(%rip),%xmm8
  movss  %xmm8,0x14(%rsp)
  mulss  D72(%rip),%xmm1
  addss  D227(%rip),%xmm1
  movaps %xmm2,%xmm0
  mulss  D36(%rip),%xmm0
  addss  %xmm0,%xmm1
  movaps %xmm6,%xmm0
  mulss  D56(%rip),%xmm0
  addss  %xmm0,%xmm1
  movaps %xmm7,%xmm0
  mulss  D59(%rip),%xmm0
  addss  %xmm0,%xmm1
  mulss  %xmm2,%xmm3
  addss  %xmm3,%xmm1
  mulss  %xmm7,%xmm5
  addss  %xmm5,%xmm1
  movaps %xmm8,%xmm0
  mulss  %xmm6,%xmm0
  addss  %xmm0,%xmm1
  mulss  D169(%rip),%xmm6
  movss  %xmm6,0x18(%rsp)
  movaps %xmm6,%xmm0
  mulss  %xmm7,%xmm0
  addss  %xmm1,%xmm0
  movd   %xmm0,%r14d
  pxor   %xmm1,%xmm1
  movaps %xmm4,%xmm0
  addss  %xmm1,%xmm0
  addss  %xmm9,%xmm0
  addss  %xmm10,%xmm0
  addss  %xmm11,%xmm0
  ucomiss %xmm1,%xmm0
  jp     L43
  movaps %xmm1,%xmm0
  jne    L43
L84:
  movss  %xmm0,(%rbx)
  mov    0xb8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L50
  movd   %r14d,%xmm0
  add    $0xc8,%rsp
  pop    %rbx
  pop    %r14
  ret
L43:
  mulss  %xmm4,%xmm4
  movss  %xmm4,0x2c(%rsp)
  mulss  D178(%rip),%xmm2
  subss  D98(%rip),%xmm2
  movss  0x8(%rsp),%xmm0
  mulss  D87(%rip),%xmm0
  addss  %xmm2,%xmm0
  mov    $0x2,%edi
  call   <pow@plt>
  movaps %xmm0,%xmm3
  mulss  0x2c(%rsp),%xmm3
  movss  %xmm3,0x2c(%rsp)
  movss  0x1c(%rsp),%xmm4
  mulss  %xmm4,%xmm4
  movss  %xmm4,0x1c(%rsp)
  movss  0xc(%rsp),%xmm7
  addss  D36(%rip),%xmm7
  movaps %xmm7,%xmm0
  movss  0x20(%rsp),%xmm7
  mulss  D101(%rip),%xmm7
  addss  %xmm7,%xmm0
  mov    $0x2,%edi
  call   <pow@plt>
  mulss  0x1c(%rsp),%xmm0
  movaps %xmm0,%xmm4
  addss  0x2c(%rsp),%xmm4
  movss  %xmm4,0xc(%rsp)
  movss  0x24(%rsp),%xmm4
  mulss  %xmm4,%xmm4
  movss  %xmm4,0x1c(%rsp)
  movss  0x14(%rsp),%xmm3
  addss  D56(%rip),%xmm3
  movaps %xmm3,%xmm0
  movss  0x8(%rsp),%xmm1
  mulss  D169(%rip),%xmm1
  addss  %xmm1,%xmm0
  mov    $0x2,%edi
  call   <pow@plt>
  mulss  0x1c(%rsp),%xmm0
  addss  0xc(%rsp),%xmm0
  movss  %xmm0,0x8(%rsp)
  movss  0x28(%rsp),%xmm4
  mulss  %xmm4,%xmm4
  movss  %xmm4,0xc(%rsp)
  movss  0x10(%rsp),%xmm2
  subss  D172(%rip),%xmm2
  movaps %xmm2,%xmm0
  addss  0x18(%rsp),%xmm0
  mov    $0x2,%edi
  call   <pow@plt>
  mulss  0xc(%rsp),%xmm0
  addss  0x8(%rsp),%xmm0
  call   <sqrt@plt>
  jmp    L84
L50:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: parse_data
arguments: label: D133
type_infered: byte[4]
name: parse_data
arguments: label: D120
type_infered: byte[4]
name: parse_data
arguments: label: D69
type_infered: f32
name: parse_data
arguments: label: D13
type_infered: f32
name: parse_data
arguments: label: D103
type_infered: byte[4]
name: parse_data
arguments: label: D5
type_infered: byte[4]
name: parse_data
arguments: label: D178
type_infered: byte[4]
name: parse_data
arguments: label: D87
type_infered: byte[4]
name: parse_data
arguments: label: D101
type_infered: byte[4]
name: parse_data
arguments: label: D72
type_infered: byte[4]
name: parse_data
arguments: label: D227
type_infered: byte[4]
name: parse_data
arguments: label: D36
type_infered: byte[4]
name: parse_data
arguments: label: D56
type_infered: byte[4]
name: parse_data
arguments: label: D59
type_infered: byte[4]
name: parse_data
arguments: label: D169
type_infered: byte[4]
name: parse_data
arguments: label: D98
type_infered: byte[4]
name: parse_data
arguments: label: D172
type_infered: byte[4]

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

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

tool: D69: 2

tool: D13: 1

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

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

tool: {"D178": [0x2c,0xd5,0x16,0xbd]}

tool: {"D87": [0xc3,0x76,0x64,0x3d]}

tool: {"D101": [0xac,0xc9,0x87,0x3d]}

tool: {"D72": [0x56,0xf0,0x17,0xc2]}

tool: {"D227": [0x09,0x22,0x9e,0x3f]}

tool: {"D36": [0x45,0x3e,0x72,0x40]}

tool: {"D56": [0x57,0xde,0x7d,0x42]}

tool: {"D59": [0x2e,0xde,0xc6,0xc0]}

tool: {"D169": [0x02,0xce,0xcf,0xbd]}

tool: {"D98": [0x56,0xf0,0x17,0x42]}

tool: {"D172": [0x2e,0xde,0xc6,0x40]}

assistant: ```c
float target_x(float *x, float *dx, int m) {
  int ncoeff = 9;
  float avdat = 0.1236288E+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[10] = {-0.87424723E-03, -0.37984703E+02, 0.37850506E+01, 0.63467129E+02, -0.62146215E+01, -0.36824390E-01, 0.55777323E-01, 0.66302627E-01, -0.10146715E+00, 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 x31 = x3;
  float x41 = x4;
  float v_target_x = 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] * x21 * x31;
  v_target_x = v_target_x + coeff[8] * x31 * x41;
  float dxall = 0 + dx1 + dx2 + dx3 + dx4;
  float dv_target_x = dxall == 0 ? 0 : sqrt(+dx1 * dx1 * pow(0 + coeff[1] + coeff[5] * x21 + coeff[6] * x41, 2) + dx2 * dx2 * pow(0 + coeff[2] + coeff[5] * x11 + coeff[7] * x31, 2) + dx3 * dx3 * pow(0 + coeff[3] + coeff[7] * x21 + coeff[8] * x41, 2) + dx4 * dx4 * pow(0 + coeff[4] + coeff[6] * x11 + coeff[8] * x31, 2));
  dx[0] = dv_target_x;
  return v_target_x;
}
```