user: Translate the below assembly code into C programming language:

```asm
<target_x>:
  endbr64
  push   %rbx
  pxor   %xmm0,%xmm0
  mov    %rsi,%rbx
  sub    $0x90,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x88(%rsp)
  xor    %eax,%eax
  movaps %xmm0,0x60(%rsp)
  test   %edx,%edx
  jle    L30
  movss  D351(%rip),%xmm5
  cmp    $0x1,%edx
  je     L54
  movss  %xmm5,0x64(%rsp)
  cmp    $0x2,%edx
  je     L54
  movl   $0x3d638e39,0x68(%rsp)
  cmp    $0x3,%edx
  je     L54
  movl   $0x3d638afd,0x6c(%rsp)
L54:
  movss  0x64(%rsp),%xmm7
  movss  0x6c(%rsp),%xmm6
  pxor   %xmm10,%xmm10
  movss  0x68(%rsp),%xmm8
L71:
  movss  D224(%rip),%xmm1
  movss  0x4(%rdi),%xmm3
  movss  (%rdi),%xmm4
  movss  D257(%rip),%xmm0
  subss  %xmm1,%xmm3
  movss  0xc(%rdi),%xmm2
  movss  D282(%rip),%xmm13
  subss  %xmm1,%xmm4
  movss  0x8(%rdi),%xmm1
  subss  D192(%rip),%xmm1
  subss  D324(%rip),%xmm2
  movss  D279(%rip),%xmm14
  mulss  %xmm7,%xmm3
  mulss  %xmm5,%xmm4
  mulss  %xmm8,%xmm1
  mulss  %xmm6,%xmm2
  mulss  (%rbx),%xmm5
  addss  %xmm0,%xmm3
  mulss  0x4(%rbx),%xmm7
  addss  %xmm0,%xmm4
  mulss  0x8(%rbx),%xmm8
  addss  %xmm0,%xmm1
  mulss  0xc(%rbx),%xmm6
  mulss  %xmm3,%xmm13
  addss  %xmm0,%xmm2
  movaps %xmm3,%xmm15
  movss  D383(%rip),%xmm0
  mulss  %xmm3,%xmm15
  movaps %xmm4,%xmm9
  mulss  %xmm1,%xmm0
  movaps %xmm1,%xmm11
  mulss  %xmm4,%xmm9
  movaps %xmm2,%xmm12
  mulss  D337(%rip),%xmm9
  movss  %xmm13,0xc(%rsp)
  mulss  %xmm4,%xmm14
  movss  D407(%rip),%xmm13
  mulss  %xmm2,%xmm12
  mulss  %xmm4,%xmm13
  movss  %xmm0,0x8(%rsp)
  mulss  %xmm1,%xmm11
  movss  %xmm9,0x20(%rsp)
  movss  D399(%rip),%xmm9
  mulss  %xmm1,%xmm9
  movss  %xmm13,0x10(%rsp)
  movss  D132(%rip),%xmm13
  mulss  %xmm4,%xmm13
  movaps %xmm13,%xmm0
  mulss  %xmm3,%xmm0
  movss  %xmm0,0x14(%rsp)
  movss  D69(%rip),%xmm0
  mulss  %xmm15,%xmm0
  movss  %xmm0,0x18(%rsp)
  movss  D285(%rip),%xmm0
  mulss  %xmm3,%xmm0
  movss  %xmm0,0x24(%rsp)
  mulss  %xmm1,%xmm0
  movss  %xmm0,0x1c(%rsp)
  movss  D367(%rip),%xmm0
  mulss  %xmm4,%xmm0
  addss  D134(%rip),%xmm0
  addss  %xmm0,%xmm9
  movaps %xmm14,%xmm0
  mulss  %xmm3,%xmm0
  addss  %xmm9,%xmm0
  movss  0x8(%rsp),%xmm9
  mulss  %xmm2,%xmm9
  addss  %xmm0,%xmm9
  movss  D64(%rip),%xmm0
  mulss  %xmm3,%xmm0
  addss  %xmm9,%xmm0
  movss  D150(%rip),%xmm9
  mulss  %xmm2,%xmm9
  addss  %xmm0,%xmm9
  movss  0xc(%rsp),%xmm0
  mulss  %xmm1,%xmm0
  addss  %xmm9,%xmm0
  movss  0x10(%rsp),%xmm9
  mulss  %xmm2,%xmm9
  addss  %xmm0,%xmm9
  movss  D369(%rip),%xmm0
  mulss  %xmm4,%xmm0
  mulss  %xmm15,%xmm0
  addss  %xmm9,%xmm0
  movss  0x14(%rsp),%xmm9
  mulss  %xmm2,%xmm9
  addss  %xmm0,%xmm9
  movss  0x18(%rsp),%xmm0
  mulss  %xmm1,%xmm0
  addss  %xmm9,%xmm0
  movss  0x1c(%rsp),%xmm9
  mulss  %xmm2,%xmm9
  addss  %xmm0,%xmm9
  movss  D340(%rip),%xmm0
  mulss  %xmm1,%xmm0
  mulss  %xmm12,%xmm0
  addss  %xmm9,%xmm0
  movss  0x20(%rsp),%xmm9
  mulss  %xmm1,%xmm9
  addss  %xmm9,%xmm0
  movss  D71(%rip),%xmm9
  mulss  %xmm4,%xmm9
  mulss  %xmm11,%xmm9
  addss  %xmm0,%xmm9
  movss  D124(%rip),%xmm0
  mulss  %xmm11,%xmm0
  mulss  %xmm12,%xmm0
  addss  %xmm0,%xmm9
  movaps %xmm5,%xmm0
  addss  %xmm10,%xmm0
  addss  %xmm7,%xmm0
  addss  %xmm8,%xmm0
  addss  %xmm6,%xmm0
  ucomiss %xmm10,%xmm0
  jp     L22
  movaps %xmm10,%xmm0
  jne    L22
L7:
  movss  %xmm0,(%rbx)
  mov    0x88(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L69
  add    $0x90,%rsp
  movaps %xmm9,%xmm0
  pop    %rbx
  ret
L22:
  movss  %xmm6,0x50(%rsp)
  mulss  %xmm5,%xmm5
  movss  D279(%rip),%xmm6
  movss  D407(%rip),%xmm0
  mulss  D369(%rip),%xmm15
  movss  %xmm7,0x2c(%rsp)
  movaps %xmm4,%xmm7
  mov    $0x2,%edi
  mulss  %xmm3,%xmm6
  movss  %xmm9,0x58(%rsp)
  mulss  %xmm2,%xmm0
  movss  %xmm11,0x40(%rsp)
  mulss  D278(%rip),%xmm7
  movss  %xmm12,0x54(%rsp)
  movss  %xmm5,0x28(%rsp)
  movss  %xmm8,0x4c(%rsp)
  movaps %xmm6,%xmm5
  subss  D341(%rip),%xmm5
  movss  D71(%rip),%xmm6
  movss  %xmm10,0x5c(%rsp)
  movss  %xmm13,0x48(%rsp)
  mulss  %xmm11,%xmm6
  movss  %xmm14,0x3c(%rsp)
  addss  %xmm5,%xmm0
  movaps %xmm7,%xmm5
  movss  %xmm3,0x38(%rsp)
  mulss  %xmm1,%xmm5
  movss  %xmm2,0x44(%rsp)
  movss  %xmm4,0x34(%rsp)
  addss  %xmm0,%xmm15
  movss  D132(%rip),%xmm0
  movss  %xmm1,0x30(%rsp)
  mulss  %xmm3,%xmm0
  mulss  %xmm2,%xmm0
  addss  %xmm15,%xmm0
  addss  %xmm5,%xmm0
  addss  %xmm6,%xmm0
  call   <pow@plt>
  movss  0x30(%rsp),%xmm1
  movss  D282(%rip),%xmm5
  mov    $0x2,%edi
  movss  0x5c(%rsp),%xmm10
  movss  0x3c(%rsp),%xmm14
  mulss  %xmm1,%xmm5
  movss  0x38(%rsp),%xmm3
  movss  0x34(%rsp),%xmm4
  movss  %xmm1,0x34(%rsp)
  addss  %xmm10,%xmm14
  mulss  0x28(%rsp),%xmm0
  subss  D161(%rip),%xmm14
  movss  %xmm10,0x3c(%rsp)
  movss  0x44(%rsp),%xmm2
  movss  0x48(%rsp),%xmm13
  movss  %xmm4,0x38(%rsp)
  movss  0x2c(%rsp),%xmm7
  mulss  %xmm2,%xmm13
  movss  %xmm2,0x30(%rsp)
  addss  %xmm5,%xmm14
  movss  D346(%rip),%xmm5
  mulss  %xmm7,%xmm7
  movss  %xmm0,0x28(%rsp)
  mulss  %xmm3,%xmm5
  mulss  D70(%rip),%xmm3
  movss  %xmm7,0x2c(%rsp)
  movaps %xmm5,%xmm0
  movss  D285(%rip),%xmm5
  mulss  %xmm4,%xmm0
  mulss  %xmm1,%xmm5
  mulss  %xmm1,%xmm3
  addss  %xmm14,%xmm0
  addss  %xmm0,%xmm13
  movaps %xmm5,%xmm0
  mulss  %xmm2,%xmm0
  addss  %xmm13,%xmm3
  addss  %xmm3,%xmm0
  call   <pow@plt>
  mulss  0x2c(%rsp),%xmm0
  mov    $0x2,%edi
  movss  0x28(%rsp),%xmm6
  movss  0x30(%rsp),%xmm2
  movss  0x24(%rsp),%xmm3
  movss  0x54(%rsp),%xmm12
  movss  0x34(%rsp),%xmm1
  mulss  %xmm2,%xmm3
  movss  0x38(%rsp),%xmm4
  movss  0x4c(%rsp),%xmm8
  movss  %xmm2,0x24(%rsp)
  addss  %xmm0,%xmm6
  movss  D383(%rip),%xmm0
  mulss  %xmm8,%xmm8
  mulss  %xmm2,%xmm0
  addss  D399(%rip),%xmm0
  addss  0xc(%rsp),%xmm0
  movss  %xmm6,0x28(%rsp)
  addss  0x18(%rsp),%xmm0
  movss  %xmm8,0x2c(%rsp)
  addss  %xmm3,%xmm0
  movss  D340(%rip),%xmm3
  mulss  %xmm12,%xmm3
  addss  %xmm3,%xmm0
  movss  D286(%rip),%xmm3
  addss  0x20(%rsp),%xmm0
  movss  %xmm1,0x20(%rsp)
  mulss  %xmm1,%xmm3
  mulss  %xmm4,%xmm3
  addss  %xmm3,%xmm0
  movss  D218(%rip),%xmm3
  mulss  %xmm1,%xmm3
  mulss  %xmm12,%xmm3
  addss  %xmm3,%xmm0
  call   <pow@plt>
  movss  0x24(%rsp),%xmm2
  movss  D131(%rip),%xmm3
  mov    $0x2,%edi
  mulss  0x2c(%rsp),%xmm0
  movss  0x3c(%rsp),%xmm10
  mulss  %xmm2,%xmm3
  addss  0x28(%rsp),%xmm0
  movss  0x8(%rsp),%xmm5
  mulss  D218(%rip),%xmm2
  movss  0x20(%rsp),%xmm1
  addss  %xmm10,%xmm5
  movss  0x40(%rsp),%xmm11
  movss  0x50(%rsp),%xmm6
  movss  %xmm0,0xc(%rsp)
  movss  D150(%rip),%xmm0
  mulss  %xmm6,%xmm6
  mulss  %xmm3,%xmm1
  addss  %xmm5,%xmm0
  addss  0x10(%rsp),%xmm0
  addss  0x14(%rsp),%xmm0
  addss  0x1c(%rsp),%xmm0
  mulss  %xmm11,%xmm2
  movss  %xmm6,0x18(%rsp)
  addss  %xmm1,%xmm0
  addss  %xmm2,%xmm0
  call   <pow@plt>
  mulss  0x18(%rsp),%xmm0
  addss  0xc(%rsp),%xmm0
  call   <sqrt@plt>
  movss  0x58(%rsp),%xmm9
  jmp    L7
  cs nopw 0x0(%rax,%rax,1)
L30:
  pxor   %xmm10,%xmm10
  movaps %xmm10,%xmm6
  movaps %xmm10,%xmm8
  movaps %xmm10,%xmm7
  movaps %xmm10,%xmm5
  jmp    L71
L69:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: parse_data
arguments: data_tag: D351
data_type: byte[4]
name: parse_data
arguments: data_tag: D224
data_type: f32
name: parse_data
arguments: data_tag: D257
data_type: f32
name: parse_data
arguments: data_tag: D282
data_type: byte[4]
name: parse_data
arguments: data_tag: D192
data_type: byte[4]
name: parse_data
arguments: data_tag: D324
data_type: byte[4]
name: parse_data
arguments: data_tag: D279
data_type: byte[4]
name: parse_data
arguments: data_tag: D383
data_type: byte[4]
name: parse_data
arguments: data_tag: D337
data_type: byte[4]
name: parse_data
arguments: data_tag: D407
data_type: byte[4]
name: parse_data
arguments: data_tag: D399
data_type: byte[4]
name: parse_data
arguments: data_tag: D132
data_type: byte[4]
name: parse_data
arguments: data_tag: D69
data_type: byte[4]
name: parse_data
arguments: data_tag: D285
data_type: byte[4]
name: parse_data
arguments: data_tag: D367
data_type: byte[4]
name: parse_data
arguments: data_tag: D134
data_type: byte[4]
name: parse_data
arguments: data_tag: D64
data_type: byte[4]
name: parse_data
arguments: data_tag: D150
data_type: byte[4]
name: parse_data
arguments: data_tag: D369
data_type: byte[4]
name: parse_data
arguments: data_tag: D340
data_type: byte[4]
name: parse_data
arguments: data_tag: D71
data_type: byte[4]
name: parse_data
arguments: data_tag: D124
data_type: byte[4]
name: parse_data
arguments: data_tag: D278
data_type: byte[4]
name: parse_data
arguments: data_tag: D341
data_type: byte[4]
name: parse_data
arguments: data_tag: D161
data_type: byte[4]
name: parse_data
arguments: data_tag: D346
data_type: byte[4]
name: parse_data
arguments: data_tag: D70
data_type: byte[4]
name: parse_data
arguments: data_tag: D286
data_type: byte[4]
name: parse_data
arguments: data_tag: D218
data_type: byte[4]
name: parse_data
arguments: data_tag: D131
data_type: byte[4]

tool: {"D351": [0x89,0x88,0x88,0x3d]}

tool: D224: 15

tool: D257: 1

tool: {"D282": [0x5a,0x21,0xbc,0xbf]}

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

tool: {"D324": [0xfe,0xd4,0x8f,0x41]}

tool: {"D279": [0x12,0x08,0x50,0x3f]}

tool: {"D383": [0x74,0xc3,0x1a,0x40]}

tool: {"D337": [0x5c,0x68,0xe4,0xbb]}

tool: {"D407": [0x01,0x3e,0xab,0xbf]}

tool: {"D399": [0x12,0xbd,0x83,0x42]}

tool: {"D132": [0x91,0xdd,0x41,0xbd]}

tool: {"D69": [0x28,0x90,0x6b,0xbc]}

tool: {"D285": [0x2b,0xe7,0xe7,0xbc]}

tool: {"D367": [0xa4,0x77,0x1f,0xc2]}

tool: {"D134": [0x48,0xe7,0xdd,0x3f]}

tool: {"D64": [0xd4,0x92,0x33,0xbd]}

tool: {"D150": [0x4e,0x88,0x93,0x3d]}

tool: {"D369": [0x63,0x1a,0x09,0x3d]}

tool: {"D340": [0x97,0xe3,0x90,0x3d]}

tool: {"D71": [0x9c,0x5b,0x1a,0x3c]}

tool: {"D124": [0x00,0x64,0xb0,0x3a]}

tool: {"D278": [0x5c,0x68,0x64,0xbc]}

tool: {"D341": [0xa4,0x77,0x1f,0x42]}

tool: {"D161": [0xd4,0x92,0x33,0x3d]}

tool: {"D346": [0x63,0x1a,0x89,0x3d]}

tool: {"D70": [0x28,0x90,0xeb,0xbc]}

tool: {"D286": [0x9c,0x5b,0x9a,0x3c]}

tool: {"D218": [0x00,0x64,0x30,0x3b]}

tool: {"D131": [0x97,0xe3,0x10,0x3e]}

assistant: ```c
float target_x(float *x, float *dx, int m) {
  int ncoeff = 17;
  float avdat = 0.1733793E+01;
  float xmin[10] = {-0.15000E+02, -0.15000E+02, -0.18000E+02, -0.18023E+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.17979E+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[18] = {-0.17240975E-03, -0.39866837E+02, 0.65869278E+02, 0.81262314E+00, 0.24181795E+01, -0.43841198E-01, 0.72037324E-01, -0.14697678E+01, -0.13378297E+01, 0.33472430E-01, -0.47330443E-01, -0.14377631E-01, -0.28308472E-01, 0.70746593E-01, -0.69704484E-02, 0.94212554E-02, 0.13457537E-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 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_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] * x22 * x31 + coeff[12] * x21 * x31 * x41 + coeff[13] * x31 * x42 + coeff[14] * x12 * x31 + coeff[15] * x11 * x32 + coeff[16] * x32 * 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 * coeff[14] * x11 * x31 + coeff[15] * x32, 2) + dx2 * dx2 * pow(0 + coeff[3] * x11 + coeff[5] + coeff[7] * x31 + 2 * coeff[9] * x21 * x11 + coeff[10] * x11 * x41 + 2 * coeff[11] * x21 * x31 + coeff[12] * x31 * x41, 2) + dx3 * dx3 * pow(0 + coeff[2] + coeff[4] * x41 + coeff[7] * x21 + coeff[11] * x22 + coeff[12] * x21 * x41 + coeff[13] * x42 + coeff[14] * x12 + 2 * coeff[15] * x31 * x11 + 2 * coeff[16] * x31 * x42, 2) + dx4 * dx4 * pow(0 + coeff[4] * x31 + coeff[6] + coeff[8] * x11 + coeff[10] * x11 * x21 + coeff[12] * x21 * x31 + 2 * coeff[13] * x41 * x31 + 2 * coeff[16] * x41 * x32, 2));
  dx[0] = dv_target_x;
  return v_target_x;
}
```