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

```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    L10
  movss  D427(%rip),%xmm5
  cmp    $0x1,%edx
  je     L70
  movss  %xmm5,0x54(%rsp)
  cmp    $0x2,%edx
  je     L70
  movl   $0x3d638e39,0x58(%rsp)
  cmp    $0x3,%edx
  je     L70
  movl   $0x3d638afd,0x5c(%rsp)
L70:
  movss  0x54(%rsp),%xmm7
  movss  0x58(%rsp),%xmm2
  pxor   %xmm9,%xmm9
  movss  0x5c(%rsp),%xmm0
L12:
  movss  D362(%rip),%xmm4
  movss  0x4(%rdi),%xmm3
  movss  (%rdi),%xmm1
  movss  D256(%rip),%xmm6
  movss  D278(%rip),%xmm12
  subss  %xmm4,%xmm3
  subss  %xmm4,%xmm1
  movss  0x8(%rdi),%xmm4
  subss  D220(%rip),%xmm4
  mulss  %xmm7,%xmm3
  mulss  %xmm2,%xmm4
  mulss  0x8(%rbx),%xmm2
  mulss  %xmm5,%xmm1
  mulss  0x4(%rbx),%xmm7
  addss  %xmm6,%xmm3
  mulss  (%rbx),%xmm5
  addss  %xmm6,%xmm4
  movaps %xmm2,%xmm15
  movss  0xc(%rdi),%xmm2
  subss  D177(%rip),%xmm2
  mulss  %xmm3,%xmm12
  addss  %xmm6,%xmm1
  movaps %xmm3,%xmm13
  mulss  %xmm3,%xmm13
  movaps %xmm4,%xmm8
  mulss  %xmm0,%xmm2
  mulss  0xc(%rbx),%xmm0
  movaps %xmm1,%xmm10
  mulss  %xmm4,%xmm8
  movss  %xmm12,(%rsp)
  movss  D247(%rip),%xmm12
  mulss  %xmm1,%xmm12
  addss  %xmm6,%xmm2
  movaps %xmm4,%xmm6
  movaps %xmm0,%xmm14
  movaps %xmm1,%xmm0
  mulss  %xmm1,%xmm0
  mulss  %xmm8,%xmm6
  movaps %xmm2,%xmm11
  mulss  %xmm2,%xmm11
  movss  %xmm12,0x4(%rsp)
  movss  D248(%rip),%xmm12
  mulss  %xmm0,%xmm12
  movss  %xmm6,0x10(%rsp)
  movss  D283(%rip),%xmm6
  mulss  %xmm0,%xmm10
  mulss  D216(%rip),%xmm0
  mulss  %xmm3,%xmm6
  subss  D417(%rip),%xmm6
  movss  %xmm12,0x8(%rsp)
  movss  D50(%rip),%xmm12
  mulss  %xmm13,%xmm12
  mulss  D397(%rip),%xmm13
  movss  %xmm12,0xc(%rsp)
  movss  D272(%rip),%xmm12
  mulss  %xmm2,%xmm12
  addss  %xmm6,%xmm12
  movss  (%rsp),%xmm6
  mulss  %xmm2,%xmm6
  addss  %xmm12,%xmm6
  movss  D386(%rip),%xmm12
  mulss  %xmm11,%xmm12
  addss  %xmm6,%xmm12
  movss  D458(%rip),%xmm6
  mulss  %xmm8,%xmm6
  addss  %xmm12,%xmm6
  movaps %xmm1,%xmm12
  mulss  %xmm10,%xmm12
  mulss  D236(%rip),%xmm12
  addss  %xmm6,%xmm12
  movss  0x10(%rsp),%xmm6
  mulss  %xmm4,%xmm6
  mulss  D60(%rip),%xmm6
  addss  %xmm12,%xmm6
  addss  %xmm6,%xmm0
  movss  0x4(%rsp),%xmm6
  movss  D202(%rip),%xmm12
  mulss  %xmm4,%xmm6
  addss  %xmm13,%xmm0
  mulss  %xmm1,%xmm12
  movss  D387(%rip),%xmm13
  mulss  %xmm8,%xmm13
  addss  %xmm6,%xmm0
  movss  D316(%rip),%xmm6
  mulss  %xmm4,%xmm6
  addss  %xmm0,%xmm6
  movss  D95(%rip),%xmm0
  mulss  %xmm1,%xmm0
  addss  %xmm6,%xmm0
  movss  D423(%rip),%xmm6
  mulss  %xmm3,%xmm6
  mulss  %xmm8,%xmm6
  addss  %xmm0,%xmm6
  movss  0x8(%rsp),%xmm0
  mulss  %xmm3,%xmm0
  addss  %xmm6,%xmm0
  movss  0xc(%rsp),%xmm6
  mulss  %xmm2,%xmm6
  addss  %xmm6,%xmm0
  movaps %xmm12,%xmm6
  mulss  %xmm4,%xmm6
  movss  %xmm6,0x14(%rsp)
  mulss  %xmm2,%xmm6
  addss  %xmm6,%xmm0
  movaps %xmm13,%xmm6
  mulss  %xmm2,%xmm6
  addss  %xmm0,%xmm6
  movss  D57(%rip),%xmm0
  mulss  %xmm3,%xmm0
  mulss  %xmm11,%xmm0
  addss  %xmm0,%xmm6
  movss  D242(%rip),%xmm0
  mulss  %xmm1,%xmm0
  movss  %xmm0,0x18(%rsp)
  mulss  %xmm3,%xmm0
  addss  %xmm0,%xmm6
  movaps %xmm5,%xmm0
  addss  %xmm9,%xmm0
  addss  %xmm7,%xmm0
  addss  %xmm15,%xmm0
  addss  %xmm14,%xmm0
  ucomiss %xmm9,%xmm0
  jp     L72
  movaps %xmm9,%xmm0
  jne    L72
L89:
  movss  %xmm0,(%rbx)
  mov    0x78(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L51
  sub    $0xffffffffffffff80,%rsp
  movaps %xmm6,%xmm0
  pop    %rbx
  ret
  nopl   0x0(%rax)
L72:
  movss  %xmm7,0x20(%rsp)
  movss  D327(%rip),%xmm7
  mulss  D298(%rip),%xmm10
  mov    $0x2,%edi
  mulss  %xmm5,%xmm5
  movss  D247(%rip),%xmm0
  movss  %xmm6,0x4c(%rsp)
  mulss  %xmm1,%xmm7
  movss  %xmm14,0x40(%rsp)
  mulss  %xmm4,%xmm0
  movss  %xmm13,0x38(%rsp)
  mulss  D447(%rip),%xmm1
  movss  %xmm15,0x3c(%rsp)
  addss  %xmm9,%xmm10
  movss  %xmm12,0x34(%rsp)
  movss  %xmm5,0x1c(%rsp)
  movaps %xmm7,%xmm5
  movss  %xmm9,0x30(%rsp)
  addss  %xmm10,%xmm5
  movss  %xmm11,0x48(%rsp)
  mulss  %xmm3,%xmm1
  movss  %xmm8,0x44(%rsp)
  movss  %xmm4,0x2c(%rsp)
  addss  %xmm0,%xmm5
  movss  D202(%rip),%xmm0
  addss  D95(%rip),%xmm5
  movss  %xmm2,0x28(%rsp)
  movss  %xmm3,0x24(%rsp)
  mulss  %xmm4,%xmm0
  addss  %xmm5,%xmm1
  mulss  %xmm2,%xmm0
  addss  %xmm1,%xmm0
  movss  D242(%rip),%xmm1
  mulss  %xmm3,%xmm1
  addss  %xmm1,%xmm0
  call   <pow@plt>
  movss  0x28(%rsp),%xmm2
  movss  D278(%rip),%xmm3
  mov    $0x2,%edi
  mulss  0x1c(%rsp),%xmm0
  movss  D369(%rip),%xmm1
  mulss  %xmm2,%xmm3
  movss  0x44(%rsp),%xmm8
  movss  D423(%rip),%xmm4
  movss  0x48(%rsp),%xmm11
  movss  0x20(%rsp),%xmm7
  mulss  %xmm8,%xmm4
  mulss  %xmm7,%xmm7
  movss  %xmm0,0x1c(%rsp)
  movaps %xmm3,%xmm0
  movss  0x24(%rsp),%xmm3
  subss  D331(%rip),%xmm0
  movss  %xmm2,0x24(%rsp)
  mulss  %xmm3,%xmm1
  movss  %xmm3,0x28(%rsp)
  movss  %xmm7,0x20(%rsp)
  addss  %xmm0,%xmm1
  movaps %xmm4,%xmm0
  addss  %xmm1,%xmm0
  movaps %xmm3,%xmm1
  movss  D57(%rip),%xmm3
  addss  0x8(%rsp),%xmm0
  mulss  D294(%rip),%xmm1
  mulss  %xmm11,%xmm3
  mulss  %xmm2,%xmm1
  addss  %xmm0,%xmm1
  addss  %xmm3,%xmm1
  movss  0x18(%rsp),%xmm3
  addss  %xmm1,%xmm3
  movaps %xmm3,%xmm0
  call   <pow@plt>
  mulss  0x20(%rsp),%xmm0
  movss  0x1c(%rsp),%xmm5
  mov    $0x2,%edi
  movss  0x2c(%rsp),%xmm4
  movss  0x30(%rsp),%xmm9
  movss  0x10(%rsp),%xmm1
  mulss  D103(%rip),%xmm1
  movss  0x28(%rsp),%xmm3
  movss  0x24(%rsp),%xmm2
  movss  0x34(%rsp),%xmm12
  movss  0x3c(%rsp),%xmm15
  addss  %xmm0,%xmm5
  movss  D123(%rip),%xmm0
  movss  %xmm3,0x1c(%rsp)
  mulss  %xmm2,%xmm12
  movss  %xmm2,0x10(%rsp)
  mulss  %xmm4,%xmm0
  mulss  %xmm15,%xmm15
  movss  %xmm5,0x8(%rsp)
  addss  %xmm9,%xmm0
  movss  %xmm15,0x18(%rsp)
  addss  %xmm1,%xmm0
  movss  D346(%rip),%xmm1
  addss  0x4(%rsp),%xmm0
  subss  D135(%rip),%xmm0
  mulss  %xmm4,%xmm1
  mulss  D342(%rip),%xmm4
  mulss  %xmm3,%xmm1
  mulss  %xmm2,%xmm4
  addss  %xmm1,%xmm0
  addss  %xmm12,%xmm0
  addss  %xmm4,%xmm0
  call   <pow@plt>
  movss  0x10(%rsp),%xmm2
  movss  D152(%rip),%xmm1
  mov    $0x2,%edi
  mulss  0x18(%rsp),%xmm0
  movss  D272(%rip),%xmm5
  mulss  %xmm2,%xmm1
  addss  0x8(%rsp),%xmm0
  addss  (%rsp),%xmm5
  mulss  D61(%rip),%xmm2
  movss  0x1c(%rsp),%xmm3
  movss  0x38(%rsp),%xmm13
  movss  0x40(%rsp),%xmm14
  movss  %xmm0,0x4(%rsp)
  movaps %xmm5,%xmm0
  mulss  %xmm14,%xmm14
  addss  %xmm1,%xmm0
  addss  0xc(%rsp),%xmm0
  addss  0x14(%rsp),%xmm0
  mulss  %xmm3,%xmm2
  addss  %xmm13,%xmm0
  movss  %xmm14,0x8(%rsp)
  addss  %xmm2,%xmm0
  call   <pow@plt>
  mulss  0x8(%rsp),%xmm0
  addss  0x4(%rsp),%xmm0
  call   <sqrt@plt>
  movss  0x4c(%rsp),%xmm6
  jmp    L89
  nopl   0x0(%rax)
L10:
  pxor   %xmm9,%xmm9
  movaps %xmm9,%xmm0
  movaps %xmm9,%xmm2
  movaps %xmm9,%xmm7
  movaps %xmm9,%xmm5
  jmp    L12
L51:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: unpack_data
arguments: label: D427
type: byte[4]
name: unpack_data
arguments: label: D362
type: f32
name: unpack_data
arguments: label: D256
type: f32
name: unpack_data
arguments: label: D278
type: byte[4]
name: unpack_data
arguments: label: D220
type: f32
name: unpack_data
arguments: label: D177
type: byte[4]
name: unpack_data
arguments: label: D247
type: byte[4]
name: unpack_data
arguments: label: D248
type: byte[4]
name: unpack_data
arguments: label: D283
type: byte[4]
name: unpack_data
arguments: label: D216
type: byte[4]
name: unpack_data
arguments: label: D417
type: byte[4]
name: unpack_data
arguments: label: D50
type: byte[4]
name: unpack_data
arguments: label: D397
type: byte[4]
name: unpack_data
arguments: label: D272
type: byte[4]
name: unpack_data
arguments: label: D386
type: byte[4]
name: unpack_data
arguments: label: D458
type: byte[4]
name: unpack_data
arguments: label: D236
type: byte[4]
name: unpack_data
arguments: label: D60
type: byte[4]
name: unpack_data
arguments: label: D202
type: byte[4]
name: unpack_data
arguments: label: D387
type: byte[4]
name: unpack_data
arguments: label: D316
type: byte[4]
name: unpack_data
arguments: label: D95
type: byte[4]
name: unpack_data
arguments: label: D423
type: byte[4]
name: unpack_data
arguments: label: D57
type: byte[4]
name: unpack_data
arguments: label: D242
type: byte[4]
name: unpack_data
arguments: label: D327
type: byte[4]
name: unpack_data
arguments: label: D298
type: byte[4]
name: unpack_data
arguments: label: D447
type: byte[4]
name: unpack_data
arguments: label: D369
type: byte[4]
name: unpack_data
arguments: label: D331
type: byte[4]
name: unpack_data
arguments: label: D294
type: byte[4]
name: unpack_data
arguments: label: D103
type: byte[4]
name: unpack_data
arguments: label: D123
type: byte[4]
name: unpack_data
arguments: label: D346
type: byte[4]
name: unpack_data
arguments: label: D135
type: byte[4]
name: unpack_data
arguments: label: D342
type: byte[4]
name: unpack_data
arguments: label: D152
type: byte[4]
name: unpack_data
arguments: label: D61
type: byte[4]

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

tool: D362: 15

tool: D256: 1

tool: {"D278": [0xd7,0x24,0x80,0xbf]}

tool: D220: 18

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

tool: {"D247": [0x87,0xd2,0x8d,0x3f]}

tool: {"D248": [0x09,0x46,0x9f,0xbc]}

tool: {"D283": [0xf9,0x8b,0x1f,0xc2]}

tool: {"D216": [0xf5,0xe2,0xb8,0xbe]}

tool: {"D417": [0x89,0xd4,0x81,0x40]}

tool: {"D50": [0xb8,0xff,0x5b,0xbc]}

tool: {"D397": [0x79,0x2d,0x8b,0x3e]}

tool: {"D272": [0x59,0x20,0x83,0x42]}

tool: {"D386": [0xa3,0x5a,0x68,0x3f]}

tool: {"D458": [0xb0,0x75,0x4e,0xbf]}

tool: {"D236": [0x83,0x45,0x47,0xba]}

tool: {"D60": [0x0e,0xe0,0xf7,0x38]}

tool: {"D202": [0xfa,0x0e,0x9a,0x3d]}

tool: {"D387": [0x6c,0x68,0xd3,0xbd]}

tool: {"D316": [0x17,0x84,0xd7,0xbc]}

tool: {"D95": [0x89,0x83,0x9f,0x3c]}

tool: {"D423": [0xbf,0x1d,0x11,0x3d]}

tool: {"D57": [0x43,0x35,0x96,0x3c]}

tool: {"D242": [0x73,0x33,0x11,0xba]}

tool: {"D327": [0xf5,0xe2,0x38,0xbf]}

tool: {"D298": [0x83,0x45,0x47,0xbb]}

tool: {"D447": [0x09,0x46,0x1f,0xbd]}

tool: {"D369": [0x79,0x2d,0x0b,0x3f]}

tool: {"D331": [0xf9,0x8b,0x1f,0x42]}

tool: {"D294": [0xb8,0xff,0xdb,0xbc]}

tool: {"D103": [0x0e,0xe0,0xf7,0x39]}

tool: {"D123": [0xb0,0x75,0xce,0xbf]}

tool: {"D346": [0xbf,0x1d,0x91,0x3d]}

tool: {"D135": [0x17,0x84,0xd7,0x3c]}

tool: {"D342": [0x6c,0x68,0x53,0xbe]}

tool: {"D152": [0xa3,0x5a,0xe8,0x3f]}

tool: {"D61": [0x43,0x35,0x16,0x3d]}

assistant: ```c
float target_y(float *x, float *dx, int m) {
  int ncoeff = 20;
  float avdat = -0.4025083E+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[21] = {-0.32111365E-01, -0.39886692E+02, 0.65563179E+02, -0.10011243E+01, 0.90763301E+00, -0.80648327E+00, -0.76016056E-03, 0.11819611E-03, -0.36110654E+00, 0.27183130E+00, 0.11079873E+01, -0.26308103E-01, 0.19471901E-01, 0.35428759E-01, -0.19442575E-01, -0.13427667E-01, 0.75223878E-01, -0.10322651E+00, 0.18335944E-01, -0.55389776E-03, 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] * x32 + coeff[6] * x14 + coeff[7] * x34;
  v_target_y = v_target_y + coeff[8] * x12 + coeff[9] * x22 + coeff[10] * x11 * x31 + coeff[11] * x31 + coeff[12] * x11 + coeff[13] * x21 * x32 + coeff[14] * x12 * x21 + coeff[15] * x22 * x41 + coeff[16] * x11 * x31 * x41;
  v_target_y = v_target_y + coeff[17] * x32 * x41 + coeff[18] * x21 * x42 + coeff[19] * x11 * x21;
  float dxall = 0 + dx1 + dx2 + dx3 + dx4;
  float dv_target_y = dxall == 0 ? 0 : sqrt(+dx1 * dx1 * pow(0 + 4 * coeff[6] * x13 + 2 * coeff[8] * x11 + coeff[10] * x31 + coeff[12] + 2 * coeff[14] * x11 * x21 + coeff[16] * x31 * x41 + coeff[19] * x21, 2) + dx2 * dx2 * pow(0 + coeff[1] + coeff[3] * x41 + 2 * coeff[9] * x21 + coeff[13] * x32 + coeff[14] * x12 + 2 * coeff[15] * x21 * x41 + coeff[18] * x42 + coeff[19] * x11, 2) + dx3 * dx3 * pow(0 + 2 * coeff[5] * x31 + 4 * coeff[7] * x33 + coeff[10] * x11 + coeff[11] + 2 * coeff[13] * x31 * x21 + coeff[16] * x11 * x41 + 2 * coeff[17] * x31 * x41, 2) + dx4 * dx4 * pow(0 + coeff[2] + coeff[3] * x21 + 2 * coeff[4] * x41 + coeff[15] * x22 + coeff[16] * x11 * x31 + coeff[17] * x32 + 2 * coeff[18] * x41 * x21, 2));
  dx[0] = dv_target_y;
  return v_target_y;
}
```