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

```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  D170(%rip),%xmm0
  movss  %xmm0,0x30(%rsp)
  movss  %xmm0,0x34(%rsp)
  movl   $0xc1900000,0x38(%rsp)
  movl   $0xc19024dd,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  D69(%rip),%xmm0
  movss  %xmm0,0x60(%rsp)
  movss  %xmm0,0x64(%rsp)
  movl   $0x41900000,0x68(%rsp)
  movl   $0x418fdd2f,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  D24(%rip),%xmm2
  jmp    L21
L67:
  subss  %xmm1,%xmm0
  movaps %xmm2,%xmm1
  divss  %xmm0,%xmm1
  movss  %xmm1,0x90(%rsp,%rax,4)
L72:
  add    $0x1,%rax
  cmp    %rdx,%rax
  je     L33
L21:
  movss  0x30(%rsp,%rax,4),%xmm1
  movss  0x60(%rsp,%rax,4),%xmm0
  ucomiss %xmm0,%xmm1
  jp     L67
  jne    L67
  jmp    L72
L33:
  movss  0x90(%rsp),%xmm4
  movss  (%rcx),%xmm3
  movss  D69(%rip),%xmm5
  subss  %xmm5,%xmm3
  mulss  %xmm4,%xmm3
  movss  D235(%rip),%xmm1
  addss  %xmm1,%xmm3
  mulss  (%rbx),%xmm4
  movss  0x94(%rsp),%xmm0
  movss  0x4(%rcx),%xmm2
  subss  %xmm5,%xmm2
  mulss  %xmm0,%xmm2
  addss  %xmm1,%xmm2
  mulss  0x4(%rbx),%xmm0
  movaps %xmm0,%xmm10
  movss  %xmm0,0x1c(%rsp)
  movss  0x98(%rsp),%xmm5
  movss  0x8(%rcx),%xmm0
  subss  D193(%rip),%xmm0
  mulss  %xmm5,%xmm0
  movaps %xmm0,%xmm6
  addss  %xmm1,%xmm6
  movss  %xmm6,0x20(%rsp)
  mulss  0x8(%rbx),%xmm5
  movaps %xmm5,%xmm11
  movss  %xmm5,0x24(%rsp)
  movss  0x9c(%rsp),%xmm5
  movss  0xc(%rcx),%xmm0
  subss  D213(%rip),%xmm0
  mulss  %xmm5,%xmm0
  addss  %xmm1,%xmm0
  movaps %xmm0,%xmm8
  movss  %xmm0,0x8(%rsp)
  mulss  0xc(%rbx),%xmm5
  movaps %xmm5,%xmm12
  movss  %xmm5,0x28(%rsp)
  movaps %xmm6,%xmm7
  mulss  D87(%rip),%xmm7
  movss  %xmm7,0xc(%rsp)
  movaps %xmm3,%xmm5
  mulss  D163(%rip),%xmm5
  movss  %xmm5,0x10(%rsp)
  movaps %xmm2,%xmm9
  mulss  D4(%rip),%xmm9
  movss  %xmm9,0x14(%rsp)
  movaps %xmm3,%xmm1
  mulss  D184(%rip),%xmm1
  addss  D172(%rip),%xmm1
  movaps %xmm6,%xmm0
  mulss  D43(%rip),%xmm0
  addss  %xmm0,%xmm1
  mulss  %xmm8,%xmm7
  addss  %xmm7,%xmm1
  mulss  %xmm2,%xmm5
  addss  %xmm5,%xmm1
  movaps %xmm2,%xmm0
  mulss  D41(%rip),%xmm0
  addss  %xmm0,%xmm1
  movaps %xmm8,%xmm0
  mulss  D10(%rip),%xmm0
  addss  %xmm0,%xmm1
  movaps %xmm9,%xmm0
  mulss  %xmm6,%xmm0
  addss  %xmm0,%xmm1
  mulss  D5(%rip),%xmm3
  movss  %xmm3,0x18(%rsp)
  movaps %xmm3,%xmm0
  mulss  %xmm8,%xmm0
  addss  %xmm1,%xmm0
  movd   %xmm0,%r14d
  pxor   %xmm1,%xmm1
  movaps %xmm4,%xmm0
  addss  %xmm1,%xmm0
  addss  %xmm10,%xmm0
  addss  %xmm11,%xmm0
  addss  %xmm12,%xmm0
  ucomiss %xmm1,%xmm0
  jp     L95
  movaps %xmm1,%xmm0
  jne    L95
L26:
  movss  %xmm0,(%rbx)
  mov    0xb8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L19
  movd   %r14d,%xmm0
  add    $0xc8,%rsp
  pop    %rbx
  pop    %r14
  ret
L95:
  mulss  %xmm4,%xmm4
  movss  %xmm4,0x2c(%rsp)
  mulss  D163(%rip),%xmm2
  subss  D233(%rip),%xmm2
  movss  0x8(%rsp),%xmm0
  mulss  D5(%rip),%xmm0
  addss  %xmm2,%xmm0
  mov    $0x2,%edi
  call   <pow@plt>
  movaps %xmm0,%xmm7
  mulss  0x2c(%rsp),%xmm7
  movss  %xmm7,0x2c(%rsp)
  movss  0x1c(%rsp),%xmm4
  mulss  %xmm4,%xmm4
  movss  %xmm4,0x1c(%rsp)
  pxor   %xmm6,%xmm6
  addss  0x10(%rsp),%xmm6
  movaps %xmm6,%xmm0
  subss  D77(%rip),%xmm0
  movss  0x20(%rsp),%xmm1
  mulss  D4(%rip),%xmm1
  addss  %xmm1,%xmm0
  mov    $0x2,%edi
  call   <pow@plt>
  mulss  0x1c(%rsp),%xmm0
  movaps %xmm0,%xmm4
  addss  0x2c(%rsp),%xmm4
  movss  %xmm4,0x10(%rsp)
  movss  0x24(%rsp),%xmm4
  mulss  %xmm4,%xmm4
  movss  %xmm4,0x1c(%rsp)
  movss  0x8(%rsp),%xmm0
  mulss  D87(%rip),%xmm0
  addss  D43(%rip),%xmm0
  addss  0x14(%rsp),%xmm0
  mov    $0x2,%edi
  call   <pow@plt>
  mulss  0x1c(%rsp),%xmm0
  addss  0x10(%rsp),%xmm0
  movss  %xmm0,0x8(%rsp)
  movss  0x28(%rsp),%xmm7
  mulss  %xmm7,%xmm7
  movss  %xmm7,0x10(%rsp)
  pxor   %xmm6,%xmm6
  addss  0xc(%rsp),%xmm6
  movaps %xmm6,%xmm0
  addss  D10(%rip),%xmm0
  addss  0x18(%rsp),%xmm0
  mov    $0x2,%edi
  call   <pow@plt>
  mulss  0x10(%rsp),%xmm0
  addss  0x8(%rsp),%xmm0
  call   <sqrt@plt>
  jmp    L26
L19:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: parse_data
arguments: data_tag: D170
type_infered: byte[4]
name: parse_data
arguments: data_tag: D69
type_infered: byte[4]
name: parse_data
arguments: data_tag: D24
type_infered: f32
name: parse_data
arguments: data_tag: D235
type_infered: f32
name: parse_data
arguments: data_tag: D193
type_infered: byte[4]
name: parse_data
arguments: data_tag: D213
type_infered: byte[4]
name: parse_data
arguments: data_tag: D87
type_infered: byte[4]
name: parse_data
arguments: data_tag: D163
type_infered: byte[4]
name: parse_data
arguments: data_tag: D4
type_infered: byte[4]
name: parse_data
arguments: data_tag: D184
type_infered: byte[4]
name: parse_data
arguments: data_tag: D172
type_infered: byte[4]
name: parse_data
arguments: data_tag: D43
type_infered: byte[4]
name: parse_data
arguments: data_tag: D41
type_infered: byte[4]
name: parse_data
arguments: data_tag: D10
type_infered: byte[4]
name: parse_data
arguments: data_tag: D5
type_infered: byte[4]
name: parse_data
arguments: data_tag: D233
type_infered: byte[4]
name: parse_data
arguments: data_tag: D77
type_infered: byte[4]

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

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

tool: D24: 2

tool: D235: 1

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

tool: {"D213": [0x2f,0xdd,0x8f,0x41]}

tool: {"D87": [0xf8,0xa0,0xcc,0x3f]}

tool: {"D163": [0x38,0xf8,0x05,0x3f]}

tool: {"D4": [0xf1,0x0d,0x76,0xbf]}

tool: {"D184": [0x58,0x62,0x19,0xc2]}

tool: {"D172": [0x95,0xb5,0x08,0x40]}

tool: {"D43": [0x4f,0x2c,0x80,0x42]}

tool: {"D41": [0x2d,0xc1,0x03,0xbd]}

tool: {"D10": [0xf8,0xd8,0x5a,0x3d]}

tool: {"D5": [0x08,0xfe,0x5e,0xbf]}

tool: {"D233": [0x58,0x62,0x19,0x42]}

tool: {"D77": [0x2d,0xc1,0x03,0x3d]}

assistant: ```c
float target_x(float *x, float *dx, int m) {
  int ncoeff = 9;
  float avdat = 0.2136013E+01;
  float xmin[10] = {-0.15000E+02, -0.15000E+02, -0.18000E+02, -0.18018E+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.17983E+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.69862159E-04, -0.38346039E+02, 0.64086540E+02, 0.15986624E+01, 0.52331877E+00, -0.32166649E-01, 0.53429574E-01, -0.96115023E+00, -0.87106371E+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] * x31 + coeff[3] * x31 * x41 + coeff[4] * x11 * x21 + coeff[5] * x21 + coeff[6] * x41 + coeff[7] * x21 * x31;
  v_target_x = v_target_x + coeff[8] * x11 * x41;
  float dxall = 0 + dx1 + dx2 + dx3 + dx4;
  float dv_target_x = dxall == 0 ? 0 : sqrt(+dx1 * dx1 * pow(0 + coeff[1] + coeff[4] * x21 + coeff[8] * x41, 2) + dx2 * dx2 * pow(0 + coeff[4] * x11 + coeff[5] + coeff[7] * x31, 2) + dx3 * dx3 * pow(0 + coeff[2] + coeff[3] * x41 + coeff[7] * x21, 2) + dx4 * dx4 * pow(0 + coeff[3] * x31 + coeff[6] + coeff[8] * x11, 2));
  dx[0] = dv_target_x;
  return v_target_x;
}
```