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    L82
  movss  D351(%rip),%xmm5
  cmp    $0x1,%edx
  je     L83
  movss  %xmm5,0x54(%rsp)
  cmp    $0x2,%edx
  je     L83
  movl   $0x3d638e39,0x58(%rsp)
  cmp    $0x3,%edx
  je     L83
  movl   $0x3d638c9b,0x5c(%rsp)
L83:
  movss  0x54(%rsp),%xmm9
  movss  0x5c(%rsp),%xmm6
  pxor   %xmm11,%xmm11
  movss  0x58(%rsp),%xmm8
L34:
  movss  D218(%rip),%xmm1
  movss  (%rdi),%xmm4
  movss  0x4(%rdi),%xmm2
  movss  0x8(%rdi),%xmm3
  subss  %xmm1,%xmm4
  subss  D355(%rip),%xmm3
  movss  D102(%rip),%xmm0
  movss  D160(%rip),%xmm12
  subss  %xmm1,%xmm2
  movss  0xc(%rdi),%xmm1
  subss  D1(%rip),%xmm1
  movss  D50(%rip),%xmm10
  mulss  %xmm5,%xmm4
  mulss  %xmm9,%xmm2
  mulss  %xmm8,%xmm3
  mulss  %xmm6,%xmm1
  mulss  (%rbx),%xmm5
  addss  %xmm0,%xmm4
  mulss  0x4(%rbx),%xmm9
  addss  %xmm0,%xmm2
  mulss  0x8(%rbx),%xmm8
  addss  %xmm0,%xmm3
  mulss  0xc(%rbx),%xmm6
  addss  %xmm0,%xmm1
  movaps %xmm4,%xmm0
  movaps %xmm4,%xmm14
  mulss  %xmm4,%xmm0
  movaps %xmm4,%xmm7
  mulss  %xmm2,%xmm12
  movaps %xmm3,%xmm13
  mulss  %xmm2,%xmm10
  mulss  %xmm0,%xmm14
  movss  %xmm12,(%rsp)
  mulss  %xmm14,%xmm7
  movss  %xmm7,0x14(%rsp)
  movaps %xmm3,%xmm7
  mulss  %xmm3,%xmm7
  mulss  %xmm7,%xmm13
  mulss  %xmm7,%xmm10
  movss  %xmm13,0x18(%rsp)
  movss  D359(%rip),%xmm13
  movss  %xmm10,0xc(%rsp)
  movss  D130(%rip),%xmm10
  mulss  %xmm0,%xmm13
  mulss  %xmm4,%xmm10
  movaps %xmm13,%xmm12
  mulss  %xmm2,%xmm12
  movss  %xmm10,0x10(%rsp)
  movss  D220(%rip),%xmm10
  mulss  %xmm1,%xmm10
  movss  %xmm12,0x4(%rsp)
  movss  D242(%rip),%xmm12
  mulss  %xmm4,%xmm12
  movaps %xmm12,%xmm15
  mulss  %xmm2,%xmm15
  movss  %xmm15,0x1c(%rsp)
  mulss  %xmm3,%xmm15
  movss  %xmm15,0x8(%rsp)
  movss  D267(%rip),%xmm15
  mulss  %xmm2,%xmm15
  addss  D51(%rip),%xmm15
  addss  %xmm15,%xmm10
  movss  (%rsp),%xmm15
  mulss  %xmm1,%xmm15
  addss  %xmm10,%xmm15
  movaps %xmm1,%xmm10
  mulss  %xmm1,%xmm10
  mulss  D239(%rip),%xmm10
  addss  %xmm15,%xmm10
  movaps %xmm2,%xmm15
  mulss  %xmm2,%xmm15
  mulss  D24(%rip),%xmm15
  addss  %xmm10,%xmm15
  movss  0x18(%rsp),%xmm10
  mulss  %xmm3,%xmm10
  mulss  D181(%rip),%xmm10
  mulss  D37(%rip),%xmm0
  addss  %xmm15,%xmm10
  movss  0x4(%rsp),%xmm15
  mulss  %xmm1,%xmm15
  addss  %xmm10,%xmm15
  movss  0x8(%rsp),%xmm10
  mulss  %xmm1,%xmm10
  addss  %xmm15,%xmm10
  movss  0xc(%rsp),%xmm15
  mulss  %xmm1,%xmm15
  addss  %xmm10,%xmm15
  movss  0x14(%rsp),%xmm10
  mulss  D247(%rip),%xmm10
  mulss  %xmm7,%xmm10
  addss  %xmm15,%xmm10
  addss  %xmm10,%xmm0
  movss  0x10(%rsp),%xmm10
  mulss  %xmm3,%xmm10
  addss  %xmm10,%xmm0
  movss  D179(%rip),%xmm10
  mulss  %xmm7,%xmm10
  addss  %xmm0,%xmm10
  movss  D231(%rip),%xmm0
  mulss  %xmm2,%xmm0
  mulss  %xmm7,%xmm0
  addss  %xmm0,%xmm10
  movaps %xmm5,%xmm0
  addss  %xmm11,%xmm0
  addss  %xmm9,%xmm0
  addss  %xmm8,%xmm0
  addss  %xmm6,%xmm0
  ucomiss %xmm11,%xmm0
  jp     L5
  movaps %xmm11,%xmm0
  jne    L5
L43:
  movss  %xmm0,(%rbx)
  mov    0x78(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L27
  sub    $0xffffffffffffff80,%rsp
  movaps %xmm10,%xmm0
  pop    %rbx
  ret
  xchg   %ax,%ax
L5:
  movss  %xmm6,0x48(%rsp)
  mulss  %xmm5,%xmm5
  movss  D245(%rip),%xmm6
  movss  D242(%rip),%xmm0
  mulss  D10(%rip),%xmm14
  mov    $0x2,%edi
  movss  %xmm10,0x4c(%rsp)
  mulss  %xmm4,%xmm6
  movss  %xmm8,0x44(%rsp)
  mulss  %xmm2,%xmm0
  movss  %xmm11,0x38(%rsp)
  mulss  D25(%rip),%xmm4
  movss  %xmm9,0x24(%rsp)
  movss  %xmm5,0x20(%rsp)
  mulss  %xmm7,%xmm14
  movss  %xmm12,0x40(%rsp)
  movaps %xmm6,%xmm5
  movss  %xmm13,0x3c(%rsp)
  mulss  %xmm2,%xmm5
  movss  %xmm2,0x30(%rsp)
  mulss  %xmm3,%xmm0
  movss  %xmm1,0x2c(%rsp)
  movss  %xmm7,0x34(%rsp)
  movss  %xmm3,0x28(%rsp)
  mulss  %xmm1,%xmm5
  mulss  %xmm1,%xmm0
  addss  %xmm11,%xmm5
  addss  %xmm5,%xmm0
  addss  %xmm0,%xmm14
  movss  D130(%rip),%xmm0
  mulss  %xmm3,%xmm0
  addss  %xmm14,%xmm4
  addss  %xmm4,%xmm0
  call   <pow@plt>
  movss  0x2c(%rsp),%xmm1
  mov    $0x2,%edi
  movss  D160(%rip),%xmm5
  mulss  0x20(%rsp),%xmm0
  movss  0x30(%rsp),%xmm2
  mulss  %xmm1,%xmm5
  movss  D274(%rip),%xmm4
  movss  0x28(%rsp),%xmm3
  movss  %xmm1,0x28(%rsp)
  movss  0x40(%rsp),%xmm12
  movss  0x34(%rsp),%xmm7
  mulss  %xmm2,%xmm4
  movss  0x3c(%rsp),%xmm13
  movss  0x24(%rsp),%xmm9
  movss  %xmm3,0x2c(%rsp)
  mulss  %xmm3,%xmm12
  movss  %xmm0,0x20(%rsp)
  mulss  %xmm1,%xmm13
  mulss  %xmm9,%xmm9
  movaps %xmm5,%xmm0
  movss  D50(%rip),%xmm5
  subss  D16(%rip),%xmm0
  mulss  %xmm7,%xmm5
  addss  %xmm0,%xmm4
  mulss  %xmm1,%xmm12
  movss  %xmm9,0x24(%rsp)
  addss  %xmm4,%xmm13
  movss  D231(%rip),%xmm4
  movaps %xmm5,%xmm0
  mulss  %xmm1,%xmm0
  addss  %xmm13,%xmm12
  mulss  %xmm7,%xmm4
  addss  %xmm12,%xmm0
  addss  %xmm4,%xmm0
  call   <pow@plt>
  mulss  0x24(%rsp),%xmm0
  mov    $0x2,%edi
  movss  0x20(%rsp),%xmm7
  movss  0x28(%rsp),%xmm1
  movss  0x1c(%rsp),%xmm4
  movss  0x38(%rsp),%xmm11
  movss  0x2c(%rsp),%xmm3
  mulss  %xmm1,%xmm4
  movss  0x30(%rsp),%xmm2
  movss  0x44(%rsp),%xmm8
  addss  %xmm0,%xmm7
  movss  0x18(%rsp),%xmm0
  mulss  %xmm8,%xmm8
  movss  %xmm1,0x18(%rsp)
  mulss  D347(%rip),%xmm0
  movss  %xmm7,0x20(%rsp)
  movss  %xmm8,0x24(%rsp)
  addss  %xmm11,%xmm0
  addss  %xmm4,%xmm0
  movss  D360(%rip),%xmm4
  mulss  %xmm3,%xmm4
  mulss  %xmm2,%xmm4
  mulss  %xmm1,%xmm4
  addss  %xmm4,%xmm0
  movss  D17(%rip),%xmm4
  mulss  %xmm3,%xmm4
  mulss  0x14(%rsp),%xmm4
  addss  %xmm4,%xmm0
  movss  D31(%rip),%xmm4
  addss  0x10(%rsp),%xmm0
  mulss  %xmm3,%xmm4
  mulss  D198(%rip),%xmm3
  addss  %xmm4,%xmm0
  mulss  %xmm2,%xmm3
  addss  %xmm3,%xmm0
  call   <pow@plt>
  movss  0x18(%rsp),%xmm1
  mulss  0x24(%rsp),%xmm0
  mov    $0x2,%edi
  mulss  D88(%rip),%xmm1
  addss  0x20(%rsp),%xmm0
  movss  0x48(%rsp),%xmm6
  movss  D220(%rip),%xmm7
  addss  (%rsp),%xmm7
  mulss  %xmm6,%xmm6
  movss  %xmm0,0x10(%rsp)
  movaps %xmm7,%xmm0
  addss  %xmm1,%xmm0
  addss  0x4(%rsp),%xmm0
  addss  0x8(%rsp),%xmm0
  addss  0xc(%rsp),%xmm0
  movss  %xmm6,0x14(%rsp)
  call   <pow@plt>
  mulss  0x14(%rsp),%xmm0
  addss  0x10(%rsp),%xmm0
  call   <sqrt@plt>
  movss  0x4c(%rsp),%xmm10
  jmp    L43
  nopw   0x0(%rax,%rax,1)
L82:
  pxor   %xmm11,%xmm11
  movaps %xmm11,%xmm6
  movaps %xmm11,%xmm8
  movaps %xmm11,%xmm9
  movaps %xmm11,%xmm5
  jmp    L34
L27:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: retrieve_data
arguments: tag: D351
type_guessed: byte[4]
name: retrieve_data
arguments: tag: D218
type_guessed: byte[4]
name: retrieve_data
arguments: tag: D355
type_guessed: byte[4]
name: retrieve_data
arguments: tag: D102
type_guessed: f32
name: retrieve_data
arguments: tag: D160
type_guessed: byte[4]
name: retrieve_data
arguments: tag: D1
type_guessed: byte[4]
name: retrieve_data
arguments: tag: D50
type_guessed: byte[4]
name: retrieve_data
arguments: tag: D359
type_guessed: byte[4]
name: retrieve_data
arguments: tag: D130
type_guessed: byte[4]
name: retrieve_data
arguments: tag: D220
type_guessed: byte[4]
name: retrieve_data
arguments: tag: D242
type_guessed: byte[4]
name: retrieve_data
arguments: tag: D267
type_guessed: byte[4]
name: retrieve_data
arguments: tag: D51
type_guessed: byte[4]
name: retrieve_data
arguments: tag: D239
type_guessed: byte[4]
name: retrieve_data
arguments: tag: D24
type_guessed: byte[4]
name: retrieve_data
arguments: tag: D181
type_guessed: byte[4]
name: retrieve_data
arguments: tag: D37
type_guessed: byte[4]
name: retrieve_data
arguments: tag: D247
type_guessed: byte[4]
name: retrieve_data
arguments: tag: D179
type_guessed: byte[4]
name: retrieve_data
arguments: tag: D231
type_guessed: byte[4]
name: retrieve_data
arguments: tag: D245
type_guessed: byte[4]
name: retrieve_data
arguments: tag: D10
type_guessed: byte[4]
name: retrieve_data
arguments: tag: D25
type_guessed: byte[4]
name: retrieve_data
arguments: tag: D274
type_guessed: byte[4]
name: retrieve_data
arguments: tag: D16
type_guessed: byte[4]
name: retrieve_data
arguments: tag: D347
type_guessed: byte[4]
name: retrieve_data
arguments: tag: D360
type_guessed: byte[4]
name: retrieve_data
arguments: tag: D17
type_guessed: byte[4]
name: retrieve_data
arguments: tag: D31
type_guessed: byte[4]
name: retrieve_data
arguments: tag: D198
type_guessed: byte[4]
name: retrieve_data
arguments: tag: D88
type_guessed: byte[4]

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

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

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

tool: D102: 1

tool: {"D160": [0xa3,0x4f,0x00,0xbf]}

tool: {"D1": [0x6d,0xe7,0x8f,0x41]}

tool: {"D50": [0x66,0x18,0xd4,0xba]}

tool: {"D359": [0x04,0x5f,0xb3,0xba]}

tool: {"D130": [0x02,0x3a,0x08,0x3f]}

tool: {"D220": [0x29,0x3e,0x80,0x42]}

tool: {"D242": [0x85,0xa2,0x54,0x3b]}

tool: {"D267": [0xfe,0xe4,0x19,0xc2]}

tool: {"D51": [0xe6,0xc2,0x1d,0x40]}

tool: {"D239": [0xd5,0x1e,0xe7,0x3e]}

tool: {"D24": [0x1e,0x62,0x0d,0x3e]}

tool: {"D181": [0x47,0xd3,0x99,0x39]}

tool: {"D37": [0x5b,0x09,0x39,0xbe]}

tool: {"D247": [0xe5,0x72,0xde,0xb9]}

tool: {"D179": [0x53,0xaf,0xbe,0xbe]}

tool: {"D231": [0x63,0xa2,0x9b,0xba]}

tool: {"D245": [0x04,0x5f,0x33,0xbb]}

tool: {"D10": [0xe5,0x72,0xde,0xba]}

tool: {"D25": [0x5b,0x09,0xb9,0xbe]}

tool: {"D274": [0x1e,0x62,0x8d,0x3e]}

tool: {"D16": [0xfe,0xe4,0x19,0x42]}

tool: {"D347": [0x47,0xd3,0x99,0x3a]}

tool: {"D360": [0x66,0x18,0x54,0xbb]}

tool: {"D17": [0xe5,0x72,0x5e,0xba]}

tool: {"D31": [0x53,0xaf,0x3e,0xbf]}

tool: {"D198": [0x63,0xa2,0x1b,0xbb]}

tool: {"D88": [0xd5,0x1e,0x67,0x3f]}

assistant: ```c
float target_y(float *x, float *dx, int m) {
  int ncoeff = 15;
  float avdat = 0.2483026E+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.17988E+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[16] = {-0.18005319E-01, -0.38473625E+02, 0.64121407E+02, -0.50121516E+00, 0.45140710E+00, 0.13806960E+00, 0.29339848E-03, -0.13684933E-02, 0.32445502E-02, -0.16181588E-02, -0.42428743E-03, -0.18069975E+00, 0.53213513E+00, -0.37243137E+00, -0.11873957E-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] * x34 + coeff[7] * x12 * x21 * x41;
  v_target_y = v_target_y + coeff[8] * x11 * x21 * x31 * x41 + coeff[9] * x21 * x32 * x41 + coeff[10] * x14 * x32 + coeff[11] * x12 + coeff[12] * x11 * x31 + coeff[13] * x32 + coeff[14] * x21 * x32;
  float dxall = 0 + dx1 + dx2 + dx3 + dx4;
  float dv_target_y = dxall == 0 ? 0 : sqrt(+dx1 * dx1 * pow(0 + 2 * coeff[7] * x11 * x21 * x41 + coeff[8] * x21 * x31 * x41 + 4 * coeff[10] * x13 * x32 + 2 * coeff[11] * x11 + coeff[12] * x31, 2) + dx2 * dx2 * pow(0 + coeff[1] + coeff[3] * x41 + 2 * coeff[5] * x21 + coeff[7] * x12 * x41 + coeff[8] * x11 * x31 * x41 + coeff[9] * x32 * x41 + coeff[14] * x32, 2) + dx3 * dx3 * pow(0 + 4 * coeff[6] * x33 + coeff[8] * x11 * x21 * x41 + 2 * coeff[9] * x31 * x21 * x41 + 2 * coeff[10] * x31 * x14 + coeff[12] * x11 + 2 * coeff[13] * x31 + 2 * coeff[14] * x31 * x21, 2) + dx4 * dx4 * pow(0 + coeff[2] + coeff[3] * x21 + 2 * coeff[4] * x41 + coeff[7] * x12 * x21 + coeff[8] * x11 * x21 * x31 + coeff[9] * x21 * x32, 2));
  dx[0] = dv_target_y;
  return v_target_y;
}
```