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

```asm
<target_phi>:
  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    L74
  movss  D236(%rip),%xmm5
  cmp    $0x1,%edx
  je     L51
  movss  %xmm5,0x54(%rsp)
  cmp    $0x2,%edx
  je     L51
  movl   $0x3d637931,0x58(%rsp)
  cmp    $0x3,%edx
  je     L51
  movl   $0x3d637acf,0x5c(%rsp)
L51:
  movss  0x58(%rsp),%xmm7
  movss  0x54(%rsp),%xmm8
  pxor   %xmm0,%xmm0
  movss  0x5c(%rsp),%xmm6
L72:
  movss  D33(%rip),%xmm1
  movss  0x4(%rdi),%xmm3
  movss  0x8(%rdi),%xmm4
  movss  (%rdi),%xmm2
  subss  %xmm1,%xmm3
  subss  D435(%rip),%xmm4
  movss  D207(%rip),%xmm9
  movss  D23(%rip),%xmm15
  subss  %xmm1,%xmm2
  movss  0xc(%rdi),%xmm1
  subss  D252(%rip),%xmm1
  movss  D58(%rip),%xmm13
  mulss  %xmm8,%xmm3
  mulss  %xmm7,%xmm4
  mulss  %xmm5,%xmm2
  mulss  %xmm6,%xmm1
  mulss  0xc(%rbx),%xmm6
  addss  %xmm9,%xmm3
  mulss  (%rbx),%xmm5
  addss  %xmm9,%xmm4
  mulss  0x4(%rbx),%xmm8
  addss  %xmm9,%xmm2
  mulss  0x8(%rbx),%xmm7
  mulss  %xmm3,%xmm15
  addss  %xmm9,%xmm1
  movaps %xmm3,%xmm11
  movaps %xmm4,%xmm9
  movss  %xmm6,0x10(%rsp)
  movaps %xmm3,%xmm14
  mulss  %xmm4,%xmm9
  movaps %xmm2,%xmm10
  mulss  %xmm2,%xmm10
  movaps %xmm1,%xmm6
  movaps %xmm1,%xmm12
  mulss  %xmm1,%xmm6
  movss  %xmm15,0x4(%rsp)
  mulss  %xmm3,%xmm11
  movss  D386(%rip),%xmm15
  mulss  %xmm2,%xmm15
  mulss  %xmm9,%xmm13
  mulss  %xmm6,%xmm12
  mulss  D132(%rip),%xmm9
  mulss  %xmm11,%xmm14
  movss  %xmm15,0x8(%rsp)
  movss  D234(%rip),%xmm15
  movss  %xmm13,0xc(%rsp)
  movss  D459(%rip),%xmm13
  mulss  %xmm3,%xmm15
  mulss  %xmm2,%xmm13
  subss  D216(%rip),%xmm13
  addss  %xmm13,%xmm15
  movss  D50(%rip),%xmm13
  mulss  %xmm4,%xmm13
  addss  %xmm15,%xmm13
  movss  D418(%rip),%xmm15
  mulss  %xmm1,%xmm15
  addss  %xmm13,%xmm15
  movss  0x4(%rsp),%xmm13
  mulss  %xmm1,%xmm13
  addss  %xmm15,%xmm13
  movss  D142(%rip),%xmm15
  mulss  %xmm6,%xmm15
  addss  %xmm13,%xmm15
  movss  D154(%rip),%xmm13
  mulss  %xmm10,%xmm13
  addss  %xmm15,%xmm13
  movss  0x8(%rsp),%xmm15
  mulss  %xmm4,%xmm15
  addss  %xmm13,%xmm15
  movss  D439(%rip),%xmm13
  mulss  %xmm4,%xmm13
  mulss  %xmm12,%xmm13
  addss  %xmm15,%xmm13
  movss  D175(%rip),%xmm15
  mulss  %xmm11,%xmm15
  addss  %xmm15,%xmm13
  addss  %xmm13,%xmm9
  movss  0xc(%rsp),%xmm13
  mulss  %xmm1,%xmm13
  addss  %xmm13,%xmm9
  movss  D67(%rip),%xmm13
  mulss  D313(%rip),%xmm10
  mulss  %xmm3,%xmm13
  mulss  %xmm6,%xmm13
  addss  %xmm9,%xmm13
  movss  D337(%rip),%xmm9
  mulss  %xmm12,%xmm9
  addss  %xmm13,%xmm9
  movss  D228(%rip),%xmm13
  mulss  %xmm2,%xmm13
  mulss  %xmm14,%xmm13
  addss  %xmm13,%xmm9
  movss  D433(%rip),%xmm13
  mulss  %xmm2,%xmm13
  movaps %xmm13,%xmm15
  mulss  %xmm1,%xmm15
  addss  %xmm9,%xmm15
  movaps %xmm10,%xmm9
  mulss  %xmm3,%xmm9
  addss  %xmm15,%xmm9
  movss  D205(%rip),%xmm15
  mulss  %xmm14,%xmm15
  addss  %xmm9,%xmm15
  movss  D443(%rip),%xmm9
  mulss  %xmm2,%xmm9
  mulss  %xmm6,%xmm9
  addss  %xmm15,%xmm9
  movaps %xmm5,%xmm15
  addss  %xmm0,%xmm15
  addss  %xmm8,%xmm15
  addss  %xmm7,%xmm15
  addss  0x10(%rsp),%xmm15
  ucomiss %xmm0,%xmm15
  jp     L27
  jne    L27
L71:
  movss  %xmm0,(%rbx)
  mov    0x78(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L4
  sub    $0xffffffffffffff80,%rsp
  movaps %xmm9,%xmm0
  pop    %rbx
  ret
  cs nopw 0x0(%rax,%rax,1)
L27:
  movss  %xmm7,0x40(%rsp)
  mulss  %xmm5,%xmm5
  movss  D265(%rip),%xmm7
  movss  D386(%rip),%xmm0
  mulss  D228(%rip),%xmm14
  mov    $0x2,%edi
  movss  %xmm9,0x4c(%rsp)
  mulss  %xmm2,%xmm7
  movss  %xmm13,0x38(%rsp)
  mulss  %xmm4,%xmm0
  movss  %xmm12,0x48(%rsp)
  movss  %xmm11,0x44(%rsp)
  movss  %xmm5,0x14(%rsp)
  movss  %xmm8,0x18(%rsp)
  movaps %xmm7,%xmm5
  movaps %xmm2,%xmm7
  subss  D126(%rip),%xmm5
  movss  %xmm10,0x3c(%rsp)
  mulss  D97(%rip),%xmm7
  movss  %xmm4,0x34(%rsp)
  movss  %xmm1,0x1c(%rsp)
  addss  %xmm5,%xmm0
  movss  %xmm2,0x30(%rsp)
  movss  %xmm3,0x24(%rsp)
  movss  %xmm6,0x20(%rsp)
  addss  %xmm0,%xmm14
  movss  D433(%rip),%xmm0
  movaps %xmm7,%xmm5
  movss  D443(%rip),%xmm7
  mulss  %xmm3,%xmm5
  mulss  %xmm1,%xmm0
  mulss  %xmm6,%xmm7
  addss  %xmm14,%xmm0
  addss  %xmm5,%xmm0
  addss  %xmm7,%xmm0
  call   <pow@plt>
  movss  0x1c(%rsp),%xmm1
  mov    $0x2,%edi
  movss  D23(%rip),%xmm4
  mulss  0x14(%rsp),%xmm0
  movss  0x24(%rsp),%xmm3
  mulss  %xmm1,%xmm4
  movss  0x20(%rsp),%xmm6
  movss  D67(%rip),%xmm2
  movaps %xmm3,%xmm5
  movss  0x44(%rsp),%xmm11
  movss  0x3c(%rsp),%xmm10
  movss  %xmm3,0x2c(%rsp)
  mulss  D56(%rip),%xmm5
  movss  0x18(%rsp),%xmm8
  movss  %xmm6,0x28(%rsp)
  mulss  %xmm6,%xmm2
  movss  %xmm0,0x14(%rsp)
  movss  D234(%rip),%xmm0
  mulss  %xmm8,%xmm8
  addss  %xmm4,%xmm0
  addss  %xmm0,%xmm5
  movaps %xmm2,%xmm0
  movss  0x30(%rsp),%xmm2
  movss  %xmm8,0x18(%rsp)
  movss  %xmm2,0x24(%rsp)
  addss  %xmm5,%xmm0
  movss  D425(%rip),%xmm5
  mulss  %xmm11,%xmm5
  mulss  D446(%rip),%xmm11
  mulss  %xmm2,%xmm5
  addss  %xmm5,%xmm0
  addss  %xmm10,%xmm0
  addss  %xmm11,%xmm0
  call   <pow@plt>
  mulss  0x18(%rsp),%xmm0
  movss  0x14(%rsp),%xmm4
  mov    $0x2,%edi
  movss  0x48(%rsp),%xmm12
  movss  D31(%rip),%xmm5
  mulss  D439(%rip),%xmm12
  movss  0x1c(%rsp),%xmm1
  movss  0x40(%rsp),%xmm7
  addss  %xmm0,%xmm4
  movss  D50(%rip),%xmm0
  mulss  %xmm7,%xmm7
  addss  0x8(%rsp),%xmm0
  movss  %xmm4,0x14(%rsp)
  movss  0x34(%rsp),%xmm4
  addss  %xmm12,%xmm0
  mulss  %xmm4,%xmm5
  movss  %xmm7,0x18(%rsp)
  movss  %xmm4,0x20(%rsp)
  addss  %xmm5,%xmm0
  movaps %xmm4,%xmm5
  mulss  D269(%rip),%xmm5
  mulss  %xmm1,%xmm5
  addss  %xmm5,%xmm0
  call   <pow@plt>
  movss  0x1c(%rsp),%xmm1
  mov    $0x2,%edi
  movss  D221(%rip),%xmm5
  mulss  0x18(%rsp),%xmm0
  movss  0x4(%rsp),%xmm3
  mulss  %xmm1,%xmm5
  addss  0x14(%rsp),%xmm0
  subss  D476(%rip),%xmm3
  movss  0x28(%rsp),%xmm6
  movss  0x20(%rsp),%xmm4
  movss  0x24(%rsp),%xmm2
  movss  0x38(%rsp),%xmm13
  movss  %xmm0,0x8(%rsp)
  movaps %xmm3,%xmm0
  movss  0x2c(%rsp),%xmm3
  movss  0x10(%rsp),%xmm7
  addss  %xmm5,%xmm0
  movss  D381(%rip),%xmm5
  mulss  %xmm7,%xmm7
  mulss  %xmm6,%xmm5
  mulss  D148(%rip),%xmm6
  movss  %xmm7,0x10(%rsp)
  mulss  %xmm5,%xmm4
  addss  %xmm4,%xmm0
  movss  D48(%rip),%xmm4
  addss  0xc(%rsp),%xmm0
  mulss  %xmm1,%xmm4
  mulss  D448(%rip),%xmm1
  mulss  %xmm4,%xmm3
  mulss  %xmm2,%xmm1
  addss  %xmm3,%xmm0
  addss  %xmm6,%xmm0
  addss  %xmm13,%xmm0
  addss  %xmm1,%xmm0
  call   <pow@plt>
  mulss  0x10(%rsp),%xmm0
  addss  0x8(%rsp),%xmm0
  call   <sqrt@plt>
  movss  0x4c(%rsp),%xmm9
  jmp    L71
  nopw   0x0(%rax,%rax,1)
L74:
  pxor   %xmm0,%xmm0
  movaps %xmm0,%xmm6
  movaps %xmm0,%xmm7
  movaps %xmm0,%xmm8
  movaps %xmm0,%xmm5
  jmp    L72
L4:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: retrieve_data
arguments: data_tag: D236
data_type: byte[4]
name: retrieve_data
arguments: data_tag: D33
data_type: f32
name: retrieve_data
arguments: data_tag: D435
data_type: byte[4]
name: retrieve_data
arguments: data_tag: D207
data_type: f32
name: retrieve_data
arguments: data_tag: D23
data_type: byte[4]
name: retrieve_data
arguments: data_tag: D252
data_type: byte[4]
name: retrieve_data
arguments: data_tag: D58
data_type: byte[4]
name: retrieve_data
arguments: data_tag: D386
data_type: byte[4]
name: retrieve_data
arguments: data_tag: D132
data_type: byte[4]
name: retrieve_data
arguments: data_tag: D234
data_type: byte[4]
name: retrieve_data
arguments: data_tag: D459
data_type: byte[4]
name: retrieve_data
arguments: data_tag: D216
data_type: byte[4]
name: retrieve_data
arguments: data_tag: D50
data_type: byte[4]
name: retrieve_data
arguments: data_tag: D418
data_type: byte[4]
name: retrieve_data
arguments: data_tag: D142
data_type: byte[4]
name: retrieve_data
arguments: data_tag: D154
data_type: byte[4]
name: retrieve_data
arguments: data_tag: D439
data_type: byte[4]
name: retrieve_data
arguments: data_tag: D175
data_type: byte[4]
name: retrieve_data
arguments: data_tag: D67
data_type: byte[4]
name: retrieve_data
arguments: data_tag: D313
data_type: byte[4]
name: retrieve_data
arguments: data_tag: D337
data_type: byte[4]
name: retrieve_data
arguments: data_tag: D228
data_type: byte[4]
name: retrieve_data
arguments: data_tag: D433
data_type: byte[4]
name: retrieve_data
arguments: data_tag: D205
data_type: byte[4]
name: retrieve_data
arguments: data_tag: D443
data_type: byte[4]
name: retrieve_data
arguments: data_tag: D265
data_type: byte[4]
name: retrieve_data
arguments: data_tag: D126
data_type: byte[4]
name: retrieve_data
arguments: data_tag: D97
data_type: byte[4]
name: retrieve_data
arguments: data_tag: D56
data_type: byte[4]
name: retrieve_data
arguments: data_tag: D425
data_type: byte[4]
name: retrieve_data
arguments: data_tag: D446
data_type: byte[4]
name: retrieve_data
arguments: data_tag: D31
data_type: byte[4]
name: retrieve_data
arguments: data_tag: D269
data_type: byte[4]
name: retrieve_data
arguments: data_tag: D221
data_type: byte[4]
name: retrieve_data
arguments: data_tag: D476
data_type: byte[4]
name: retrieve_data
arguments: data_tag: D381
data_type: byte[4]
name: retrieve_data
arguments: data_tag: D148
data_type: byte[4]
name: retrieve_data
arguments: data_tag: D48
data_type: byte[4]
name: retrieve_data
arguments: data_tag: D448
data_type: byte[4]

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

tool: D33: 15

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

tool: D207: 1

tool: {"D23": [0x4c,0xeb,0xaa,0x3a]}

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

tool: {"D58": [0xb6,0xa5,0xbc,0xb8]}

tool: {"D386": [0xc4,0x13,0x2d,0x3a]}

tool: {"D132": [0x7c,0x7a,0x14,0xba]}

tool: {"D234": [0x6a,0xfd,0x04,0x3d]}

tool: {"D459": [0x2f,0x67,0x4d,0xbd]}

tool: {"D216": [0x5f,0xde,0xc3,0x3c]}

tool: {"D50": [0xbb,0x2a,0x6b,0x3d]}

tool: {"D418": [0x3f,0x81,0x4d,0xbd]}

tool: {"D142": [0xe5,0xa9,0x86,0xba]}

tool: {"D154": [0x94,0x6b,0x4a,0xb9]}

tool: {"D439": [0x4f,0x5b,0x06,0xb9]}

tool: {"D175": [0xb0,0x99,0xdb,0xb9]}

tool: {"D67": [0x9b,0xd2,0x32,0x3a]}

tool: {"D313": [0x7c,0xdd,0x21,0x38]}

tool: {"D337": [0x89,0xe9,0x29,0xba]}

tool: {"D228": [0x3d,0x74,0xa9,0x38]}

tool: {"D433": [0xc1,0x60,0x17,0xb8]}

tool: {"D205": [0xee,0xee,0xf2,0xb8]}

tool: {"D443": [0xc2,0x9f,0x7a,0xb7]}

tool: {"D265": [0x94,0x6b,0xca,0xb9]}

tool: {"D126": [0x2f,0x67,0x4d,0x3d]}

tool: {"D97": [0x7c,0xdd,0xa1,0x38]}

tool: {"D56": [0xb0,0x99,0x5b,0xba]}

tool: {"D425": [0x5c,0x2e,0x7e,0x39]}

tool: {"D446": [0x32,0x33,0xb6,0xb9]}

tool: {"D31": [0x7c,0x7a,0x94,0xba]}

tool: {"D269": [0xb6,0xa5,0x3c,0xb9]}

tool: {"D221": [0xe5,0xa9,0x06,0xbb]}

tool: {"D476": [0x3f,0x81,0x4d,0x3d]}

tool: {"D381": [0xf6,0x88,0xc9,0xb9]}

tool: {"D148": [0x4e,0xde,0xfe,0xba]}

tool: {"D48": [0x9b,0xd2,0xb2,0x3a]}

tool: {"D448": [0xc2,0x9f,0xfa,0xb7]}

assistant: ```c
float target_phi(float *x, float *dx, int m) {
  int ncoeff = 20;
  float avdat = -0.2396496E-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.55214903E-04, -0.50147232E-01, 0.32468237E-01, 0.57413798E-01, -0.50172087E-01, 0.13040095E-02, -0.10274021E-02, -0.19304297E-03, 0.66023716E-03, -0.12813251E-03, -0.41885441E-03, -0.56640035E-03, -0.89954046E-04, 0.68215438E-03, -0.64816378E-03, 0.80801990E-04, -0.36091315E-04, 0.38591665E-04, -0.11583963E-03, -0.14938358E-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] * x31 * x43 + coeff[10] * x22 + coeff[11] * x32 + coeff[12] * x32 * x41 + coeff[13] * x21 * x42 + coeff[14] * x43 + coeff[15] * x11 * x23 + coeff[16] * x11 * 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[15] * x23 + coeff[16] * x41 + 2 * coeff[17] * x11 * x21 + coeff[19] * x42, 2) + dx2 * dx2 * pow(0 + coeff[2] + coeff[5] * x41 + 2 * coeff[10] * x21 + coeff[13] * x42 + 3 * coeff[15] * x22 * x11 + coeff[17] * x12 + 3 * coeff[18] * x22, 2) + dx3 * dx3 * pow(0 + coeff[3] + coeff[8] * x11 + coeff[9] * x43 + 2 * coeff[11] * x31 + 2 * coeff[12] * x31 * x41, 2) + dx4 * dx4 * pow(0 + coeff[4] + coeff[5] * x21 + 2 * coeff[6] * x41 + 3 * coeff[9] * x42 * x31 + coeff[12] * x32 + 2 * coeff[13] * x41 * x21 + 3 * coeff[14] * x42 + coeff[16] * x11 + 2 * coeff[19] * x41 * x11, 2));
  dx[0] = dv_target_phi;
  return v_target_phi;
}
```