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

```asm
<target_y>:
  endbr64
  push   %rbx
  pxor   %xmm0,%xmm0
  mov    %rsi,%rbx
  add    $0xffffffffffffff80,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x78(%rsp)
  xor    %eax,%eax
  movaps %xmm0,0x50(%rsp)
  test   %edx,%edx
  jle    L56
  movss  D439(%rip),%xmm5
  cmp    $0x1,%edx
  je     L75
  movss  %xmm5,0x54(%rsp)
  cmp    $0x2,%edx
  je     L75
  movl   $0x3d638e39,0x58(%rsp)
  cmp    $0x3,%edx
  je     L75
  movl   $0x3d638afd,0x5c(%rsp)
L75:
  movss  0x54(%rsp),%xmm8
  movss  0x58(%rsp),%xmm7
  pxor   %xmm11,%xmm11
  movss  0x5c(%rsp),%xmm0
L0:
  movss  D395(%rip),%xmm1
  movss  (%rdi),%xmm2
  movss  0x4(%rdi),%xmm3
  movss  0xc(%rdi),%xmm4
  subss  %xmm1,%xmm2
  movss  D232(%rip),%xmm6
  subss  D37(%rip),%xmm4
  movss  D301(%rip),%xmm10
  subss  %xmm1,%xmm3
  movss  0x8(%rdi),%xmm1
  subss  D403(%rip),%xmm1
  mulss  %xmm5,%xmm2
  mulss  %xmm8,%xmm3
  mulss  %xmm0,%xmm4
  mulss  0xc(%rbx),%xmm0
  mulss  %xmm7,%xmm1
  addss  %xmm6,%xmm2
  mulss  (%rbx),%xmm5
  addss  %xmm6,%xmm3
  mulss  0x4(%rbx),%xmm8
  addss  %xmm6,%xmm4
  mulss  0x8(%rbx),%xmm7
  movaps %xmm2,%xmm9
  movss  %xmm0,0x18(%rsp)
  movaps %xmm2,%xmm12
  movaps %xmm2,%xmm14
  mulss  %xmm2,%xmm9
  movss  D179(%rip),%xmm0
  addss  %xmm6,%xmm1
  mulss  %xmm3,%xmm0
  movaps %xmm1,%xmm6
  movaps %xmm1,%xmm13
  movaps %xmm1,%xmm15
  mulss  %xmm1,%xmm6
  mulss  %xmm9,%xmm12
  movss  %xmm0,0xc(%rsp)
  movss  D367(%rip),%xmm0
  mulss  %xmm2,%xmm0
  mulss  %xmm12,%xmm10
  mulss  %xmm12,%xmm14
  mulss  %xmm6,%xmm13
  movss  %xmm0,0x14(%rsp)
  movss  D73(%rip),%xmm0
  movss  %xmm10,0x10(%rsp)
  movss  D447(%rip),%xmm10
  mulss  %xmm3,%xmm0
  mulss  %xmm4,%xmm10
  addss  D267(%rip),%xmm0
  mulss  %xmm13,%xmm15
  addss  %xmm0,%xmm10
  movss  0xc(%rsp),%xmm0
  mulss  %xmm4,%xmm0
  addss  %xmm10,%xmm0
  movaps %xmm4,%xmm10
  mulss  %xmm4,%xmm10
  mulss  D430(%rip),%xmm10
  addss  %xmm0,%xmm10
  movaps %xmm3,%xmm0
  mulss  %xmm3,%xmm0
  mulss  D371(%rip),%xmm0
  addss  %xmm10,%xmm0
  movss  D85(%rip),%xmm10
  mulss  %xmm6,%xmm10
  addss  %xmm0,%xmm10
  movss  D10(%rip),%xmm0
  mulss  %xmm14,%xmm0
  addss  %xmm10,%xmm0
  movss  0x10(%rsp),%xmm10
  mulss  %xmm1,%xmm10
  addss  %xmm0,%xmm10
  movss  D41(%rip),%xmm0
  mulss  %xmm9,%xmm0
  mulss  %xmm6,%xmm0
  addss  %xmm10,%xmm0
  movss  D0(%rip),%xmm10
  mulss  %xmm14,%xmm10
  mulss  %xmm6,%xmm10
  addss  %xmm0,%xmm10
  movss  D370(%rip),%xmm0
  mulss  %xmm12,%xmm0
  mulss  %xmm13,%xmm0
  addss  %xmm10,%xmm0
  movss  D119(%rip),%xmm10
  mulss  %xmm1,%xmm10
  addss  %xmm10,%xmm0
  movss  0x14(%rsp),%xmm10
  mulss  %xmm1,%xmm10
  addss  %xmm0,%xmm10
  movss  D167(%rip),%xmm0
  mulss  %xmm9,%xmm0
  mulss  %xmm15,%xmm0
  addss  %xmm10,%xmm0
  movss  D277(%rip),%xmm10
  mulss  %xmm2,%xmm10
  addss  %xmm0,%xmm10
  movss  D191(%rip),%xmm0
  mulss  %xmm9,%xmm0
  addss  %xmm0,%xmm10
  movss  D52(%rip),%xmm0
  mulss  %xmm3,%xmm0
  mulss  %xmm6,%xmm0
  addss  %xmm0,%xmm10
  movaps %xmm5,%xmm0
  addss  %xmm11,%xmm0
  addss  %xmm8,%xmm0
  addss  %xmm7,%xmm0
  addss  0x18(%rsp),%xmm0
  ucomiss %xmm11,%xmm0
  jp     L49
  movaps %xmm11,%xmm0
  jne    L49
L35:
  movss  %xmm0,(%rbx)
  mov    0x78(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L65
  sub    $0xffffffffffffff80,%rsp
  movaps %xmm10,%xmm0
  pop    %rbx
  ret
  nopl   0x0(%rax,%rax,1)
L49:
  movss  %xmm7,0x44(%rsp)
  mulss  %xmm5,%xmm5
  mov    $0x2,%edi
  movss  D308(%rip),%xmm7
  movss  D256(%rip),%xmm0
  movss  %xmm10,0x4c(%rsp)
  mulss  %xmm12,%xmm7
  movss  %xmm14,0x48(%rsp)
  mulss  %xmm9,%xmm0
  movss  %xmm11,0x40(%rsp)
  movss  %xmm12,0x3c(%rsp)
  movss  %xmm5,0x1c(%rsp)
  movss  %xmm9,0x38(%rsp)
  movaps %xmm7,%xmm5
  movss  D293(%rip),%xmm7
  movss  %xmm13,0x34(%rsp)
  mulss  %xmm1,%xmm0
  addss  %xmm11,%xmm5
  movss  %xmm1,0x30(%rsp)
  mulss  %xmm2,%xmm7
  movss  %xmm4,0x2c(%rsp)
  movss  %xmm8,0x20(%rsp)
  movss  %xmm3,0x28(%rsp)
  movss  %xmm6,0x24(%rsp)
  addss  %xmm5,%xmm0
  movaps %xmm7,%xmm5
  movss  D156(%rip),%xmm7
  mulss  %xmm6,%xmm5
  mulss  %xmm9,%xmm7
  addss  %xmm0,%xmm5
  movaps %xmm12,%xmm0
  mulss  D104(%rip),%xmm0
  mulss  %xmm6,%xmm0
  addss  %xmm5,%xmm0
  movaps %xmm7,%xmm5
  movss  D108(%rip),%xmm7
  mulss  %xmm13,%xmm5
  mulss  %xmm2,%xmm7
  mulss  D339(%rip),%xmm2
  addss  %xmm0,%xmm5
  movss  D367(%rip),%xmm0
  mulss  %xmm1,%xmm0
  addss  %xmm5,%xmm0
  movaps %xmm7,%xmm5
  mulss  %xmm15,%xmm5
  addss  %xmm5,%xmm0
  addss  D277(%rip),%xmm0
  addss  %xmm2,%xmm0
  call   <pow@plt>
  movss  0x2c(%rsp),%xmm4
  movss  D179(%rip),%xmm3
  mov    $0x2,%edi
  mulss  0x1c(%rsp),%xmm0
  movss  D46(%rip),%xmm2
  mulss  %xmm4,%xmm3
  movss  0x24(%rsp),%xmm6
  movss  0x20(%rsp),%xmm8
  mulss  %xmm8,%xmm8
  movss  %xmm0,0x1c(%rsp)
  movaps %xmm3,%xmm0
  movss  0x28(%rsp),%xmm3
  subss  D4(%rip),%xmm0
  mulss  %xmm3,%xmm2
  movss  %xmm8,0x20(%rsp)
  addss  %xmm2,%xmm0
  movss  D52(%rip),%xmm2
  mulss  %xmm6,%xmm2
  addss  %xmm2,%xmm0
  call   <pow@plt>
  mulss  0x20(%rsp),%xmm0
  movss  0x30(%rsp),%xmm1
  mov    $0x2,%edi
  movss  0x1c(%rsp),%xmm4
  movss  D293(%rip),%xmm2
  movss  0x38(%rsp),%xmm9
  movss  0x40(%rsp),%xmm11
  mulss  %xmm1,%xmm2
  movss  0x48(%rsp),%xmm14
  movss  0x24(%rsp),%xmm6
  mulss  D156(%rip),%xmm6
  movss  0x3c(%rsp),%xmm12
  addss  %xmm0,%xmm4
  movss  D103(%rip),%xmm0
  movss  0x34(%rsp),%xmm13
  mulss  D120(%rip),%xmm13
  movss  0x28(%rsp),%xmm3
  mulss  %xmm1,%xmm0
  movss  0x44(%rsp),%xmm7
  mulss  %xmm9,%xmm2
  movss  %xmm4,0x1c(%rsp)
  mulss  %xmm12,%xmm6
  mulss  %xmm7,%xmm7
  mulss  %xmm9,%xmm13
  addss  %xmm11,%xmm0
  addss  0x10(%rsp),%xmm0
  addss  %xmm2,%xmm0
  movss  D162(%rip),%xmm2
  movss  %xmm7,0x20(%rsp)
  mulss  %xmm1,%xmm2
  mulss  D83(%rip),%xmm1
  mulss  %xmm14,%xmm2
  mulss  %xmm3,%xmm1
  addss  %xmm2,%xmm0
  addss  %xmm6,%xmm0
  subss  D379(%rip),%xmm0
  addss  0x14(%rsp),%xmm0
  addss  %xmm13,%xmm0
  addss  %xmm1,%xmm0
  call   <pow@plt>
  mulss  0x20(%rsp),%xmm0
  movss  0x18(%rsp),%xmm7
  mov    $0x2,%edi
  addss  0x1c(%rsp),%xmm0
  movss  D447(%rip),%xmm4
  addss  0xc(%rsp),%xmm4
  mulss  %xmm7,%xmm7
  movss  %xmm0,0x10(%rsp)
  movaps %xmm4,%xmm0
  movss  0x2c(%rsp),%xmm4
  mulss  D115(%rip),%xmm4
  movss  %xmm7,0x14(%rsp)
  addss  %xmm4,%xmm0
  call   <pow@plt>
  mulss  0x14(%rsp),%xmm0
  addss  0x10(%rsp),%xmm0
  call   <sqrt@plt>
  movss  0x4c(%rsp),%xmm10
  jmp    L35
  nopl   0x0(%rax,%rax,1)
L56:
  pxor   %xmm11,%xmm11
  movaps %xmm11,%xmm0
  movaps %xmm11,%xmm7
  movaps %xmm11,%xmm8
  movaps %xmm11,%xmm5
  jmp    L0
L65:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: retrieve_data
arguments: label: D439
type: byte[4]
name: retrieve_data
arguments: label: D395
type: f32
name: retrieve_data
arguments: label: D232
type: f32
name: retrieve_data
arguments: label: D37
type: byte[4]
name: retrieve_data
arguments: label: D301
type: byte[4]
name: retrieve_data
arguments: label: D403
type: byte[4]
name: retrieve_data
arguments: label: D179
type: byte[4]
name: retrieve_data
arguments: label: D367
type: byte[4]
name: retrieve_data
arguments: label: D73
type: byte[4]
name: retrieve_data
arguments: label: D447
type: byte[4]
name: retrieve_data
arguments: label: D267
type: byte[4]
name: retrieve_data
arguments: label: D430
type: byte[4]
name: retrieve_data
arguments: label: D371
type: byte[4]
name: retrieve_data
arguments: label: D85
type: byte[4]
name: retrieve_data
arguments: label: D10
type: byte[4]
name: retrieve_data
arguments: label: D41
type: byte[4]
name: retrieve_data
arguments: label: D0
type: byte[4]
name: retrieve_data
arguments: label: D370
type: byte[4]
name: retrieve_data
arguments: label: D119
type: byte[4]
name: retrieve_data
arguments: label: D167
type: byte[4]
name: retrieve_data
arguments: label: D277
type: byte[4]
name: retrieve_data
arguments: label: D191
type: byte[4]
name: retrieve_data
arguments: label: D52
type: byte[4]
name: retrieve_data
arguments: label: D308
type: byte[4]
name: retrieve_data
arguments: label: D256
type: byte[4]
name: retrieve_data
arguments: label: D293
type: byte[4]
name: retrieve_data
arguments: label: D156
type: byte[4]
name: retrieve_data
arguments: label: D104
type: byte[4]
name: retrieve_data
arguments: label: D108
type: byte[4]
name: retrieve_data
arguments: label: D339
type: byte[4]
name: retrieve_data
arguments: label: D46
type: byte[4]
name: retrieve_data
arguments: label: D4
type: byte[4]
name: retrieve_data
arguments: label: D103
type: byte[4]
name: retrieve_data
arguments: label: D120
type: byte[4]
name: retrieve_data
arguments: label: D162
type: byte[4]
name: retrieve_data
arguments: label: D83
type: byte[4]
name: retrieve_data
arguments: label: D379
type: byte[4]
name: retrieve_data
arguments: label: D115
type: byte[4]

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

tool: D395: 15

tool: D232: 1

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

tool: {"D301": [0xfe,0x88,0x76,0x3d]}

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

tool: {"D179": [0x37,0x8d,0x05,0xbf]}

tool: {"D367": [0xf5,0xd4,0x08,0x3f]}

tool: {"D73": [0x96,0x5c,0x1a,0xc2]}

tool: {"D447": [0x26,0x87,0x80,0x42]}

tool: {"D267": [0xbf,0x62,0x34,0x40]}

tool: {"D430": [0x0f,0x67,0xee,0x3e]}

tool: {"D371": [0x7f,0x43,0x15,0x3e]}

tool: {"D85": [0x48,0xd6,0xc0,0xbe]}

tool: {"D10": [0x33,0x56,0xe3,0xbc]}

tool: {"D41": [0x43,0xd3,0x15,0xbd]}

tool: {"D0": [0x75,0x4e,0x44,0x3d]}

tool: {"D370": [0x48,0x5e,0xd3,0xbd]}

tool: {"D119": [0xdd,0xeb,0x8b,0xbc]}

tool: {"D167": [0xed,0x30,0x6d,0x3d]}

tool: {"D277": [0xb2,0x51,0x55,0x3c]}

tool: {"D191": [0xdd,0xf4,0x36,0xbe]}

tool: {"D52": [0x3b,0x45,0x9e,0xba]}

tool: {"D308": [0x33,0x56,0xe3,0xbd]}

tool: {"D256": [0xbe,0xe6,0x38,0x3e]}

tool: {"D293": [0x43,0xd3,0x95,0xbd]}

tool: {"D156": [0xb6,0x86,0x9e,0xbe]}

tool: {"D104": [0x75,0x4e,0x44,0x3e]}

tool: {"D108": [0xed,0x30,0xed,0x3d]}

tool: {"D339": [0xdd,0xf4,0xb6,0xbe]}

tool: {"D46": [0x7f,0x43,0x95,0x3e]}

tool: {"D4": [0x96,0x5c,0x1a,0x42]}

tool: {"D103": [0x48,0xd6,0x40,0xbf]}

tool: {"D120": [0xed,0x30,0x6d,0x3e]}

tool: {"D162": [0x75,0x4e,0xc4,0x3d]}

tool: {"D83": [0x3b,0x45,0x1e,0xbb]}

tool: {"D379": [0xdd,0xeb,0x8b,0x3c]}

tool: {"D115": [0x0f,0x67,0x6e,0x3f]}

assistant: ```c
float target_y(float *x, float *dx, int m) {
  int ncoeff = 18;
  float avdat = 0.2835798E+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[19] = {-0.17271053E-01, -0.38590416E+02, 0.64263962E+02, -0.52168602E+00, 0.46563002E+00, 0.14576529E+00, -0.37663484E+00, -0.27751064E-01, 0.60189240E-01, -0.36578428E-01, 0.47926385E-01, -0.10320717E+00, -0.17080242E-01, 0.53449947E+00, 0.57907987E-01, 0.13019966E-01, -0.17866845E+00, -0.12075076E-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 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 v_target_y = avdat + coeff[0] + coeff[1] * x21 + coeff[2] * x41 + coeff[3] * x21 * x41 + coeff[4] * x42 + coeff[5] * x22 + coeff[6] * x32 + coeff[7] * x14;
  v_target_y = v_target_y + coeff[8] * x13 * x31 + coeff[9] * x12 * x32 + coeff[10] * x14 * x32 + coeff[11] * x13 * x33 + coeff[12] * x31 + coeff[13] * x11 * x31 + coeff[14] * x12 * x34 + coeff[15] * x11 + coeff[16] * x12;
  v_target_y = v_target_y + coeff[17] * x21 * x32;
  float dxall = 0 + dx1 + dx2 + dx3 + dx4;
  float dv_target_y = dxall == 0 ? 0 : sqrt(+dx1 * dx1 * pow(0 + 4 * coeff[7] * x13 + 3 * coeff[8] * x12 * x31 + 2 * coeff[9] * x11 * x32 + 4 * coeff[10] * x13 * x32 + 3 * coeff[11] * x12 * x33 + coeff[13] * x31 + 2 * coeff[14] * x11 * x34 + coeff[15] + 2 * coeff[16] * x11, 2) + dx2 * dx2 * pow(0 + coeff[1] + coeff[3] * x41 + 2 * coeff[5] * x21 + coeff[17] * x32, 2) + dx3 * dx3 * pow(0 + 2 * coeff[6] * x31 + coeff[8] * x13 + 2 * coeff[9] * x31 * x12 + 2 * coeff[10] * x31 * x14 + 3 * coeff[11] * x32 * x13 + coeff[12] + coeff[13] * x11 + 4 * coeff[14] * x33 * x12 + 2 * coeff[17] * x31 * x21, 2) + dx4 * dx4 * pow(0 + coeff[2] + coeff[3] * x21 + 2 * coeff[4] * x41, 2));
  dx[0] = dv_target_y;
  return v_target_y;
}
```