user: 请将以下的汇编代码转换成C语言代码：

```asm
<target_phi>:
  endbr64
  push   %r14
  push   %rbx
  sub    $0xe8,%rsp
  mov    %rdi,%rcx
  mov    %rsi,%rbx
  mov    %fs:0x28,%rax
  mov    %rax,0xd8(%rsp)
  xor    %eax,%eax
  movss  D302(%rip),%xmm0
  movss  %xmm0,0x50(%rsp)
  movss  %xmm0,0x54(%rsp)
  movl   $0xc1900625,0x58(%rsp)
  movl   $0xc190147b,0x5c(%rsp)
  movl   $0x0,0x60(%rsp)
  movl   $0x0,0x64(%rsp)
  movl   $0x0,0x68(%rsp)
  movl   $0x0,0x6c(%rsp)
  movl   $0x0,0x70(%rsp)
  movl   $0x0,0x74(%rsp)
  movss  D314(%rip),%xmm0
  movss  %xmm0,0x80(%rsp)
  movss  %xmm0,0x84(%rsp)
  movl   $0x4190147b,0x88(%rsp)
  movl   $0x41900419,0x8c(%rsp)
  movl   $0x0,0x90(%rsp)
  movl   $0x0,0x94(%rsp)
  movl   $0x0,0x98(%rsp)
  movl   $0x0,0x9c(%rsp)
  movl   $0x0,0xa0(%rsp)
  movl   $0x0,0xa4(%rsp)
  movq   $0x0,0xb0(%rsp)
  movq   $0x0,0xb8(%rsp)
  movq   $0x0,0xc0(%rsp)
  movq   $0x0,0xc8(%rsp)
  movq   $0x0,0xd0(%rsp)
  test   %edx,%edx
  jle    L44
  mov    %edx,%edx
  movss  D193(%rip),%xmm2
  jmp    L11
L49:
  subss  %xmm1,%xmm0
  movaps %xmm2,%xmm1
  divss  %xmm0,%xmm1
  movss  %xmm1,0xb0(%rsp,%rax,4)
L6:
  add    $0x1,%rax
  cmp    %rdx,%rax
  je     L44
L11:
  movss  0x50(%rsp,%rax,4),%xmm1
  movss  0x80(%rsp,%rax,4),%xmm0
  ucomiss %xmm0,%xmm1
  jp     L49
  jne    L49
  jmp    L6
L44:
  movss  0xb0(%rsp),%xmm1
  movss  (%rcx),%xmm0
  movss  D314(%rip),%xmm4
  subss  %xmm4,%xmm0
  movaps %xmm0,%xmm2
  mulss  %xmm1,%xmm2
  movss  D194(%rip),%xmm0
  movaps %xmm2,%xmm8
  addss  %xmm0,%xmm8
  movss  %xmm8,0x20(%rsp)
  mulss  (%rbx),%xmm1
  movss  0xb4(%rsp),%xmm3
  movss  0x4(%rcx),%xmm2
  subss  %xmm4,%xmm2
  mulss  %xmm3,%xmm2
  movaps %xmm2,%xmm9
  addss  %xmm0,%xmm9
  movaps %xmm9,%xmm10
  movss  %xmm9,0x1c(%rsp)
  mulss  0x4(%rbx),%xmm3
  movss  %xmm3,0x10(%rsp)
  movss  0xb8(%rsp),%xmm3
  movss  0x8(%rcx),%xmm2
  subss  D265(%rip),%xmm2
  mulss  %xmm3,%xmm2
  movaps %xmm2,%xmm14
  addss  %xmm0,%xmm14
  movss  %xmm14,0x28(%rsp)
  movaps %xmm3,%xmm5
  mulss  0x8(%rbx),%xmm5
  movss  %xmm5,0x14(%rsp)
  movss  0xbc(%rsp),%xmm3
  movss  0xc(%rcx),%xmm2
  subss  D243(%rip),%xmm2
  mulss  %xmm3,%xmm2
  movaps %xmm2,%xmm13
  addss  %xmm0,%xmm13
  movss  %xmm13,0xc(%rsp)
  movaps %xmm3,%xmm7
  mulss  0xc(%rbx),%xmm7
  movss  %xmm7,0x18(%rsp)
  movaps %xmm8,%xmm3
  movaps %xmm8,%xmm5
  mulss  %xmm8,%xmm3
  movaps %xmm9,%xmm6
  mulss  %xmm9,%xmm6
  movaps %xmm6,%xmm9
  movss  %xmm6,0x48(%rsp)
  movaps %xmm14,%xmm2
  mulss  %xmm14,%xmm2
  movaps %xmm13,%xmm12
  mulss  %xmm13,%xmm12
  movss  %xmm12,0x24(%rsp)
  movaps %xmm10,%xmm11
  mulss  D18(%rip),%xmm11
  movss  %xmm11,0x2c(%rsp)
  mulss  D212(%rip),%xmm8
  movss  %xmm8,0x30(%rsp)
  movaps %xmm5,%xmm7
  mulss  D276(%rip),%xmm7
  movss  %xmm7,0x34(%rsp)
  movaps %xmm5,%xmm6
  mulss  D156(%rip),%xmm6
  movss  %xmm6,0x38(%rsp)
  movaps %xmm2,%xmm15
  mulss  D248(%rip),%xmm15
  movss  %xmm15,0x3c(%rsp)
  movaps %xmm5,%xmm0
  mulss  D37(%rip),%xmm0
  subss  D201(%rip),%xmm0
  movaps %xmm10,%xmm4
  mulss  D334(%rip),%xmm4
  addss  %xmm4,%xmm0
  movaps %xmm14,%xmm4
  mulss  D34(%rip),%xmm4
  addss  %xmm4,%xmm0
  movaps %xmm13,%xmm4
  mulss  D291(%rip),%xmm4
  addss  %xmm4,%xmm0
  movaps %xmm11,%xmm4
  mulss  %xmm13,%xmm4
  addss  %xmm4,%xmm0
  movaps %xmm12,%xmm4
  mulss  D346(%rip),%xmm4
  addss  %xmm4,%xmm0
  movaps %xmm3,%xmm4
  mulss  D48(%rip),%xmm4
  addss  %xmm4,%xmm0
  movaps %xmm8,%xmm4
  mulss  %xmm14,%xmm4
  addss  %xmm4,%xmm0
  mulss  %xmm10,%xmm7
  addss  %xmm7,%xmm0
  movaps %xmm9,%xmm4
  mulss  D197(%rip),%xmm4
  addss  %xmm4,%xmm0
  mulss  D242(%rip),%xmm2
  addss  %xmm2,%xmm0
  mulss  %xmm13,%xmm6
  addss  %xmm6,%xmm0
  movaps %xmm15,%xmm2
  mulss  %xmm13,%xmm2
  addss  %xmm2,%xmm0
  movaps %xmm10,%xmm2
  mulss  D167(%rip),%xmm2
  mulss  %xmm12,%xmm2
  addss  %xmm2,%xmm0
  movaps %xmm13,%xmm2
  mulss  %xmm12,%xmm2
  mulss  D59(%rip),%xmm2
  addss  %xmm2,%xmm0
  mulss  D258(%rip),%xmm14
  movss  %xmm14,0x40(%rsp)
  mulss  D340(%rip),%xmm3
  movaps %xmm3,%xmm7
  movss  %xmm3,0x44(%rsp)
  mulss  %xmm13,%xmm14
  addss  %xmm14,%xmm0
  mulss  %xmm10,%xmm7
  addss  %xmm7,%xmm0
  mulss  %xmm9,%xmm10
  movaps %xmm10,%xmm2
  mulss  D290(%rip),%xmm2
  addss  %xmm2,%xmm0
  mulss  D337(%rip),%xmm5
  movaps %xmm5,%xmm2
  mulss  %xmm12,%xmm2
  addss  %xmm0,%xmm2
  movd   %xmm2,%r14d
  pxor   %xmm2,%xmm2
  movaps %xmm1,%xmm0
  addss  %xmm2,%xmm0
  addss  0x10(%rsp),%xmm0
  addss  0x14(%rsp),%xmm0
  addss  0x18(%rsp),%xmm0
  ucomiss %xmm2,%xmm0
  jp     L27
  movaps %xmm2,%xmm0
  jne    L27
L58:
  movss  %xmm0,(%rbx)
  mov    0xd8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L47
  movd   %r14d,%xmm0
  add    $0xe8,%rsp
  pop    %rbx
  pop    %r14
  ret
L27:
  mulss  %xmm1,%xmm1
  movss  %xmm1,0x4c(%rsp)
  movss  0x20(%rsp),%xmm3
  movaps %xmm3,%xmm0
  mulss  D327(%rip),%xmm0
  subss  D169(%rip),%xmm0
  movss  0x28(%rsp),%xmm1
  mulss  D212(%rip),%xmm1
  addss  %xmm1,%xmm0
  movss  0x1c(%rsp),%xmm7
  movaps %xmm7,%xmm6
  mulss  D276(%rip),%xmm6
  addss  %xmm6,%xmm0
  movss  0xc(%rsp),%xmm1
  mulss  D156(%rip),%xmm1
  addss  %xmm1,%xmm0
  movaps %xmm3,%xmm4
  mulss  D449(%rip),%xmm4
  movaps %xmm4,%xmm1
  mulss  %xmm7,%xmm1
  addss  %xmm1,%xmm0
  movss  0x24(%rsp),%xmm4
  mulss  D337(%rip),%xmm4
  addss  %xmm4,%xmm0
  mov    $0x2,%edi
  call   <pow@plt>
  mulss  0x4c(%rsp),%xmm0
  movss  %xmm0,0x4c(%rsp)
  movss  0x10(%rsp),%xmm0
  mulss  %xmm0,%xmm0
  movss  %xmm0,0x10(%rsp)
  movss  0xc(%rsp),%xmm0
  mulss  D18(%rip),%xmm0
  addss  D334(%rip),%xmm0
  addss  0x34(%rsp),%xmm0
  movss  0x1c(%rsp),%xmm3
  mulss  D40(%rip),%xmm3
  addss  %xmm3,%xmm0
  movss  0x24(%rsp),%xmm2
  mulss  D167(%rip),%xmm2
  addss  %xmm2,%xmm0
  addss  0x44(%rsp),%xmm0
  movss  0x48(%rsp),%xmm15
  mulss  D459(%rip),%xmm15
  addss  %xmm15,%xmm0
  mov    $0x2,%edi
  call   <pow@plt>
  mulss  0x10(%rsp),%xmm0
  movaps %xmm0,%xmm15
  addss  0x4c(%rsp),%xmm15
  movss  %xmm15,0x10(%rsp)
  movss  0x14(%rsp),%xmm15
  mulss  %xmm15,%xmm15
  movss  %xmm15,0x14(%rsp)
  movss  0x30(%rsp),%xmm0
  addss  D34(%rip),%xmm0
  movss  0x28(%rsp),%xmm5
  movaps %xmm5,%xmm1
  mulss  D109(%rip),%xmm1
  addss  %xmm1,%xmm0
  mulss  D442(%rip),%xmm5
  movaps %xmm5,%xmm1
  movss  0xc(%rsp),%xmm6
  mulss  %xmm6,%xmm1
  addss  %xmm1,%xmm0
  movaps %xmm6,%xmm1
  mulss  D258(%rip),%xmm1
  addss  %xmm1,%xmm0
  mov    $0x2,%edi
  call   <pow@plt>
  mulss  0x14(%rsp),%xmm0
  addss  0x10(%rsp),%xmm0
  movss  %xmm0,0x10(%rsp)
  movss  0x18(%rsp),%xmm5
  mulss  %xmm5,%xmm5
  movss  %xmm5,0x14(%rsp)
  movss  0x2c(%rsp),%xmm0
  subss  D35(%rip),%xmm0
  movss  0xc(%rsp),%xmm6
  movaps %xmm6,%xmm1
  mulss  D399(%rip),%xmm1
  addss  %xmm1,%xmm0
  addss  0x38(%rsp),%xmm0
  addss  0x3c(%rsp),%xmm0
  movaps %xmm6,%xmm1
  mulss  D73(%rip),%xmm1
  mulss  0x1c(%rsp),%xmm1
  addss  %xmm1,%xmm0
  movss  0x24(%rsp),%xmm1
  mulss  D280(%rip),%xmm1
  addss  %xmm1,%xmm0
  addss  0x40(%rsp),%xmm0
  mulss  D379(%rip),%xmm6
  movaps %xmm6,%xmm1
  mulss  0x20(%rsp),%xmm1
  addss  %xmm1,%xmm0
  mov    $0x2,%edi
  call   <pow@plt>
  mulss  0x14(%rsp),%xmm0
  addss  0x10(%rsp),%xmm0
  call   <sqrt@plt>
  jmp    L58
L47:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: read_data
arguments: tag: D302
type: byte[4]
name: read_data
arguments: tag: D314
type: f32
name: read_data
arguments: tag: D193
type: f32
name: read_data
arguments: tag: D194
type: f32
name: read_data
arguments: tag: D265
type: byte[4]
name: read_data
arguments: tag: D243
type: byte[4]
name: read_data
arguments: tag: D18
type: byte[4]
name: read_data
arguments: tag: D212
type: byte[4]
name: read_data
arguments: tag: D276
type: byte[4]
name: read_data
arguments: tag: D156
type: byte[4]
name: read_data
arguments: tag: D248
type: byte[4]
name: read_data
arguments: tag: D37
type: byte[4]
name: read_data
arguments: tag: D201
type: byte[4]
name: read_data
arguments: tag: D334
type: byte[4]
name: read_data
arguments: tag: D34
type: byte[4]
name: read_data
arguments: tag: D291
type: byte[4]
name: read_data
arguments: tag: D346
type: byte[4]
name: read_data
arguments: tag: D48
type: byte[4]
name: read_data
arguments: tag: D197
type: byte[4]
name: read_data
arguments: tag: D242
type: byte[4]
name: read_data
arguments: tag: D167
type: byte[4]
name: read_data
arguments: tag: D59
type: byte[4]
name: read_data
arguments: tag: D258
type: byte[4]
name: read_data
arguments: tag: D340
type: byte[4]
name: read_data
arguments: tag: D290
type: byte[4]
name: read_data
arguments: tag: D337
type: byte[4]
name: read_data
arguments: tag: D327
type: byte[4]
name: read_data
arguments: tag: D169
type: byte[4]
name: read_data
arguments: tag: D449
type: byte[4]
name: read_data
arguments: tag: D40
type: byte[4]
name: read_data
arguments: tag: D459
type: byte[4]
name: read_data
arguments: tag: D109
type: byte[4]
name: read_data
arguments: tag: D442
type: byte[4]
name: read_data
arguments: tag: D35
type: byte[4]
name: read_data
arguments: tag: D399
type: byte[4]
name: read_data
arguments: tag: D73
type: byte[4]
name: read_data
arguments: tag: D280
type: byte[4]
name: read_data
arguments: tag: D379
type: byte[4]

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

tool: D314: 15

tool: D193: 2

tool: D194: 1

tool: {"D265": [0x7b,0x14,0x90,0x41]}

tool: {"D243": [0x19,0x04,0x90,0x41]}

tool: {"D18": [0xf4,0xaf,0xad,0x3a]}

tool: {"D212": [0x44,0x12,0x2f,0x3a]}

tool: {"D276": [0xb4,0x49,0x2a,0x39]}

tool: {"D156": [0xf6,0x82,0x2c,0xb9]}

tool: {"D248": [0x93,0xdf,0xbe,0xb8]}

tool: {"D37": [0x6b,0x38,0x4d,0xbd]}

tool: {"D201": [0x7f,0x55,0xc4,0x3c]}

tool: {"D334": [0x0e,0x49,0x05,0x3d]}

tool: {"D34": [0xaa,0xe2,0x6a,0x3d]}

tool: {"D291": [0x67,0xd9,0x4d,0xbd]}

tool: {"D346": [0xc9,0xec,0x88,0xba]}

tool: {"D48": [0x03,0xf2,0x4c,0xb9]}

tool: {"D197": [0x30,0x05,0xdf,0xb9]}

tool: {"D242": [0x24,0x13,0x16,0xba]}

tool: {"D167": [0x20,0xf2,0x34,0x3a]}

tool: {"D59": [0x1c,0xf3,0x2b,0xba]}

tool: {"D258": [0x8c,0xe6,0x78,0xb8]}

tool: {"D340": [0x36,0xc3,0x23,0x38]}

tool: {"D290": [0xfd,0xbe,0xf5,0xb8]}

tool: {"D337": [0x8a,0xfa,0x77,0xb7]}

tool: {"D327": [0x03,0xf2,0xcc,0xb9]}

tool: {"D169": [0x6b,0x38,0x4d,0x3d]}

tool: {"D449": [0x36,0xc3,0xa3,0x38]}

tool: {"D40": [0x30,0x05,0x5f,0xba]}

tool: {"D459": [0x3e,0x4f,0xb8,0xb9]}

tool: {"D109": [0x24,0x13,0x96,0xba]}

tool: {"D442": [0x93,0xdf,0x3e,0xb9]}

tool: {"D35": [0x67,0xd9,0x4d,0x3d]}

tool: {"D399": [0xc9,0xec,0x08,0xbb]}

tool: {"D73": [0x20,0xf2,0xb4,0x3a]}

tool: {"D280": [0x55,0xf6,0x00,0xbb]}

tool: {"D379": [0x8a,0xfa,0xf7,0xb7]}

assistant: ```c
float target_phi(float *x, float *dx, int m) {
  int ncoeff = 20;
  float avdat = -0.2402258E-01;
  float xmin[10] = {-0.15000E+02, -0.15000E+02, -0.18003E+02, -0.18010E+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.18010E+02, 0.18002E+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.56029367E-04, -0.50102632E-01, 0.32540374E-01, 0.57345070E-01, -0.50256159E-01, 0.13251291E-02, -0.10446544E-02, -0.19545112E-03, 0.66784420E-03, 0.16239920E-03, -0.42537740E-03, -0.57248981E-03, -0.16451985E-03, -0.91015499E-04, 0.69025345E-03, -0.65593584E-03, -0.59342521E-04, 0.39044033E-04, -0.11718085E-03, -0.14780680E-04, 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 x23 = x22 * x2;
  float x31 = x3;
  float x32 = x31 * x3;
  float x41 = x4;
  float x42 = x41 * x4;
  float x43 = x42 * x4;
  float v_target_phi = avdat + coeff[0] + coeff[1] * x11 + coeff[2] * x21 + coeff[3] * x31 + coeff[4] * x41 + coeff[5] * x21 * x41 + coeff[6] * x42 + coeff[7] * x12;
  v_target_phi = v_target_phi + coeff[8] * x11 * x31 + coeff[9] * x11 * x21 + coeff[10] * x22 + coeff[11] * x32 + coeff[12] * x11 * x41 + coeff[13] * x32 * x41 + coeff[14] * x21 * x42 + coeff[15] * x43 + coeff[16] * x31 * x41;
  v_target_phi = v_target_phi + coeff[17] * x12 * x21 + coeff[18] * x23 + coeff[19] * x11 * x42;
  float dxall = 0 + dx1 + dx2 + dx3 + dx4;
  float dv_target_phi = dxall == 0 ? 0 : sqrt(+dx1 * dx1 * pow(0 + coeff[1] + 2 * coeff[7] * x11 + coeff[8] * x31 + coeff[9] * x21 + coeff[12] * x41 + 2 * coeff[17] * x11 * x21 + coeff[19] * x42, 2) + dx2 * dx2 * pow(0 + coeff[2] + coeff[5] * x41 + coeff[9] * x11 + 2 * coeff[10] * x21 + coeff[14] * x42 + coeff[17] * x12 + 3 * coeff[18] * x22, 2) + dx3 * dx3 * pow(0 + coeff[3] + coeff[8] * x11 + 2 * coeff[11] * x31 + 2 * coeff[13] * x31 * x41 + coeff[16] * x41, 2) + dx4 * dx4 * pow(0 + coeff[4] + coeff[5] * x21 + 2 * coeff[6] * x41 + coeff[12] * x11 + coeff[13] * x32 + 2 * coeff[14] * x41 * x21 + 3 * coeff[15] * x42 + coeff[16] * x31 + 2 * coeff[19] * x41 * x11, 2));
  dx[0] = dv_target_phi;
  return v_target_phi;
}
```