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

```asm
<target_phi>:
  endbr64
  push   %rbx
  pxor   %xmm0,%xmm0
  mov    %rsi,%rbx
  sub    $0x90,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x88(%rsp)
  xor    %eax,%eax
  movaps %xmm0,0x60(%rsp)
  test   %edx,%edx
  jle    L89
  movss  D190(%rip),%xmm6
  cmp    $0x1,%edx
  je     L67
  movss  %xmm6,0x64(%rsp)
  cmp    $0x2,%edx
  je     L67
  movl   $0x3d638148,0x68(%rsp)
  cmp    $0x3,%edx
  je     L67
  movl   $0x3d637faa,0x6c(%rsp)
L67:
  movss  0x64(%rsp),%xmm7
  movss  0x68(%rsp),%xmm1
  pxor   %xmm0,%xmm0
  movss  0x6c(%rsp),%xmm5
L40:
  movss  D228(%rip),%xmm4
  movss  (%rdi),%xmm2
  movss  D221(%rip),%xmm8
  movss  0x4(%rdi),%xmm3
  movss  D116(%rip),%xmm15
  subss  %xmm4,%xmm2
  movss  D380(%rip),%xmm13
  subss  %xmm4,%xmm3
  movss  0x8(%rdi),%xmm4
  subss  D203(%rip),%xmm4
  mulss  %xmm6,%xmm2
  mulss  %xmm1,%xmm4
  mulss  0x8(%rbx),%xmm1
  mulss  %xmm7,%xmm3
  mulss  (%rbx),%xmm6
  addss  %xmm8,%xmm2
  mulss  0x4(%rbx),%xmm7
  addss  %xmm8,%xmm4
  movss  %xmm1,0x18(%rsp)
  movss  0xc(%rdi),%xmm1
  subss  D213(%rip),%xmm1
  mulss  %xmm2,%xmm15
  movaps %xmm2,%xmm10
  addss  %xmm8,%xmm3
  mulss  %xmm2,%xmm10
  movaps %xmm4,%xmm12
  mulss  %xmm5,%xmm1
  mulss  0xc(%rbx),%xmm5
  movaps %xmm3,%xmm9
  movaps %xmm3,%xmm11
  mulss  %xmm3,%xmm9
  movss  %xmm15,(%rsp)
  mulss  %xmm4,%xmm12
  movss  D88(%rip),%xmm15
  mulss  %xmm3,%xmm15
  addss  %xmm8,%xmm1
  movss  %xmm5,0x1c(%rsp)
  movaps %xmm2,%xmm5
  mulss  %xmm10,%xmm5
  mulss  %xmm9,%xmm11
  movaps %xmm1,%xmm8
  movaps %xmm1,%xmm14
  mulss  %xmm1,%xmm8
  movss  %xmm15,0x4(%rsp)
  mulss  %xmm12,%xmm13
  movss  D284(%rip),%xmm15
  mulss  %xmm5,%xmm15
  mulss  D347(%rip),%xmm5
  mulss  %xmm8,%xmm14
  movss  %xmm13,0x8(%rsp)
  movss  %xmm15,0xc(%rsp)
  movss  D411(%rip),%xmm15
  movss  %xmm5,0x14(%rsp)
  mulss  %xmm11,%xmm15
  movss  %xmm14,0x20(%rsp)
  movss  D180(%rip),%xmm14
  mulss  %xmm2,%xmm14
  movss  %xmm15,0x10(%rsp)
  movss  D31(%rip),%xmm15
  mulss  %xmm9,%xmm15
  movss  %xmm14,0x24(%rsp)
  mulss  %xmm4,%xmm14
  movss  %xmm15,0x28(%rsp)
  mulss  %xmm4,%xmm15
  movss  %xmm15,0x2c(%rsp)
  mulss  %xmm1,%xmm15
  movss  D185(%rip),%xmm13
  movss  D98(%rip),%xmm5
  mulss  %xmm3,%xmm5
  mulss  %xmm2,%xmm13
  subss  D68(%rip),%xmm13
  addss  %xmm13,%xmm5
  movss  D451(%rip),%xmm13
  mulss  %xmm4,%xmm13
  addss  %xmm5,%xmm13
  movss  D448(%rip),%xmm5
  mulss  %xmm1,%xmm5
  addss  %xmm13,%xmm5
  movaps %xmm14,%xmm13
  movss  D144(%rip),%xmm14
  mulss  %xmm12,%xmm14
  addss  %xmm5,%xmm13
  movaps %xmm14,%xmm5
  movss  D15(%rip),%xmm14
  addss  %xmm13,%xmm5
  movss  (%rsp),%xmm13
  mulss  %xmm8,%xmm14
  mulss  %xmm1,%xmm13
  addss  %xmm5,%xmm13
  movss  0x4(%rsp),%xmm5
  mulss  %xmm1,%xmm5
  addss  %xmm13,%xmm5
  movaps %xmm14,%xmm13
  movss  D435(%rip),%xmm14
  mulss  %xmm2,%xmm14
  addss  %xmm5,%xmm13
  movss  0x8(%rsp),%xmm5
  mulss  %xmm1,%xmm5
  addss  %xmm13,%xmm5
  movss  0xc(%rsp),%xmm13
  mulss  %xmm3,%xmm13
  addss  %xmm5,%xmm13
  movaps %xmm14,%xmm5
  mulss  %xmm11,%xmm5
  addss  %xmm13,%xmm5
  movss  0x10(%rsp),%xmm13
  mulss  %xmm4,%xmm13
  addss  %xmm5,%xmm13
  movss  0x14(%rsp),%xmm5
  mulss  %xmm1,%xmm5
  addss  %xmm13,%xmm5
  movss  D327(%rip),%xmm13
  mulss  %xmm2,%xmm13
  addss  %xmm15,%xmm5
  movaps %xmm13,%xmm14
  mulss  %xmm3,%xmm14
  mulss  %xmm8,%xmm14
  addss  %xmm5,%xmm14
  movss  D409(%rip),%xmm5
  mulss  %xmm12,%xmm5
  mulss  0x20(%rsp),%xmm5
  addss  %xmm14,%xmm5
  movss  D212(%rip),%xmm14
  mulss  %xmm10,%xmm14
  addss  %xmm14,%xmm5
  movss  D268(%rip),%xmm14
  mulss  %xmm2,%xmm14
  movaps %xmm14,%xmm15
  mulss  %xmm3,%xmm15
  addss  %xmm15,%xmm5
  movaps %xmm6,%xmm15
  addss  %xmm0,%xmm15
  addss  %xmm7,%xmm15
  addss  0x18(%rsp),%xmm15
  addss  0x1c(%rsp),%xmm15
  ucomiss %xmm0,%xmm15
  jp     L12
  jne    L12
L88:
  movss  %xmm0,(%rbx)
  mov    0x88(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L72
  add    $0x90,%rsp
  movaps %xmm5,%xmm0
  pop    %rbx
  ret
  cs nopw 0x0(%rax,%rax,1)
L12:
  movss  %xmm7,0x34(%rsp)
  mulss  %xmm6,%xmm6
  movss  D180(%rip),%xmm7
  movss  D116(%rip),%xmm0
  mulss  D435(%rip),%xmm11
  mov    $0x2,%edi
  movss  %xmm5,0x5c(%rsp)
  mulss  %xmm4,%xmm7
  movss  %xmm12,0x58(%rsp)
  mulss  %xmm1,%xmm0
  movss  %xmm9,0x48(%rsp)
  movss  %xmm14,0x54(%rsp)
  movss  %xmm6,0x30(%rsp)
  movss  %xmm13,0x50(%rsp)
  movaps %xmm7,%xmm6
  movss  D82(%rip),%xmm7
  subss  D360(%rip),%xmm6
  movss  %xmm4,0x44(%rsp)
  movss  %xmm1,0x40(%rsp)
  mulss  %xmm10,%xmm7
  movss  %xmm8,0x4c(%rsp)
  addss  %xmm6,%xmm0
  movss  %xmm2,0x3c(%rsp)
  mulss  D138(%rip),%xmm10
  movss  %xmm3,0x38(%rsp)
  movaps %xmm7,%xmm6
  movaps %xmm2,%xmm7
  mulss  %xmm3,%xmm6
  mulss  %xmm1,%xmm10
  mulss  D155(%rip),%xmm7
  addss  %xmm0,%xmm6
  movss  D327(%rip),%xmm0
  mulss  %xmm3,%xmm0
  addss  %xmm6,%xmm11
  addss  %xmm11,%xmm10
  mulss  %xmm8,%xmm0
  addss  %xmm10,%xmm0
  addss  %xmm7,%xmm0
  movss  D268(%rip),%xmm7
  mulss  %xmm3,%xmm7
  addss  %xmm7,%xmm0
  call   <pow@plt>
  movss  0x40(%rsp),%xmm1
  mulss  0x30(%rsp),%xmm0
  mov    $0x2,%edi
  movss  D88(%rip),%xmm2
  movss  0x48(%rsp),%xmm9
  movss  D339(%rip),%xmm6
  movss  0x38(%rsp),%xmm3
  mulss  %xmm1,%xmm2
  movss  0x44(%rsp),%xmm4
  movss  0x4c(%rsp),%xmm8
  mulss  %xmm9,%xmm6
  movss  0x50(%rsp),%xmm13
  movss  0x34(%rsp),%xmm7
  movss  %xmm3,0x44(%rsp)
  movss  %xmm0,0x30(%rsp)
  movss  D98(%rip),%xmm0
  mulss  D447(%rip),%xmm9
  mulss  %xmm8,%xmm13
  movss  0x54(%rsp),%xmm14
  movss  %xmm8,0x38(%rsp)
  mulss  %xmm7,%xmm7
  movss  %xmm4,0x40(%rsp)
  addss  %xmm2,%xmm0
  movss  0x3c(%rsp),%xmm2
  addss  0xc(%rsp),%xmm0
  movss  %xmm1,0x3c(%rsp)
  mulss  %xmm2,%xmm6
  movss  %xmm2,0x48(%rsp)
  movaps %xmm3,%xmm2
  mulss  D78(%rip),%xmm2
  mulss  %xmm4,%xmm9
  movss  %xmm7,0x34(%rsp)
  addss  %xmm0,%xmm6
  movaps %xmm2,%xmm0
  mulss  %xmm4,%xmm0
  addss  %xmm6,%xmm9
  mulss  %xmm1,%xmm0
  addss  %xmm9,%xmm0
  addss  %xmm0,%xmm13
  addss  %xmm14,%xmm13
  movaps %xmm13,%xmm0
  call   <pow@plt>
  mulss  0x34(%rsp),%xmm0
  mov    $0x2,%edi
  movss  0x40(%rsp),%xmm4
  movss  D101(%rip),%xmm6
  movss  0x30(%rsp),%xmm3
  movss  0x3c(%rsp),%xmm1
  movss  0x18(%rsp),%xmm7
  mulss  %xmm4,%xmm6
  mulss  %xmm7,%xmm7
  addss  %xmm0,%xmm3
  movss  D451(%rip),%xmm0
  addss  0x24(%rsp),%xmm0
  movss  %xmm1,0x24(%rsp)
  addss  %xmm0,%xmm6
  movss  D149(%rip),%xmm0
  movss  %xmm3,0xc(%rsp)
  movss  %xmm7,0x18(%rsp)
  mulss  %xmm4,%xmm0
  mulss  D160(%rip),%xmm4
  mulss  0x20(%rsp),%xmm4
  mulss  %xmm1,%xmm0
  addss  %xmm6,%xmm0
  movss  0x28(%rsp),%xmm6
  addss  0x10(%rsp),%xmm0
  mulss  %xmm1,%xmm6
  addss  %xmm6,%xmm0
  addss  %xmm4,%xmm0
  call   <pow@plt>
  movss  0x24(%rsp),%xmm1
  movss  (%rsp),%xmm3
  mov    $0x2,%edi
  movss  D354(%rip),%xmm4
  mulss  0x18(%rsp),%xmm0
  addss  0xc(%rsp),%xmm0
  movss  0x48(%rsp),%xmm2
  mulss  %xmm1,%xmm4
  subss  D412(%rip),%xmm3
  movss  0x38(%rsp),%xmm8
  mulss  D240(%rip),%xmm1
  movss  0x58(%rsp),%xmm12
  movss  %xmm0,0xc(%rsp)
  movss  0x4(%rsp),%xmm0
  mulss  D154(%rip),%xmm8
  movss  0x1c(%rsp),%xmm7
  addss  %xmm3,%xmm0
  movss  0x44(%rsp),%xmm3
  mulss  %xmm7,%xmm7
  mulss  %xmm2,%xmm1
  addss  %xmm4,%xmm0
  addss  0x8(%rsp),%xmm0
  mulss  %xmm12,%xmm8
  addss  0x14(%rsp),%xmm0
  addss  0x2c(%rsp),%xmm0
  movss  %xmm7,0x10(%rsp)
  mulss  %xmm3,%xmm1
  addss  %xmm1,%xmm0
  addss  %xmm8,%xmm0
  call   <pow@plt>
  mulss  0x10(%rsp),%xmm0
  addss  0xc(%rsp),%xmm0
  call   <sqrt@plt>
  movss  0x5c(%rsp),%xmm5
  jmp    L88
  nop
L89:
  pxor   %xmm0,%xmm0
  movaps %xmm0,%xmm5
  movaps %xmm0,%xmm1
  movaps %xmm0,%xmm7
  movaps %xmm0,%xmm6
  jmp    L40
L72:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: retrieve_data
arguments: label: D190
data_type: byte[4]
name: retrieve_data
arguments: label: D228
data_type: f32
name: retrieve_data
arguments: label: D221
data_type: f32
name: retrieve_data
arguments: label: D116
data_type: byte[4]
name: retrieve_data
arguments: label: D380
data_type: byte[4]
name: retrieve_data
arguments: label: D203
data_type: byte[4]
name: retrieve_data
arguments: label: D213
data_type: byte[4]
name: retrieve_data
arguments: label: D88
data_type: byte[4]
name: retrieve_data
arguments: label: D284
data_type: byte[4]
name: retrieve_data
arguments: label: D347
data_type: byte[4]
name: retrieve_data
arguments: label: D411
data_type: byte[4]
name: retrieve_data
arguments: label: D180
data_type: byte[4]
name: retrieve_data
arguments: label: D31
data_type: byte[4]
name: retrieve_data
arguments: label: D185
data_type: byte[4]
name: retrieve_data
arguments: label: D98
data_type: byte[4]
name: retrieve_data
arguments: label: D68
data_type: byte[4]
name: retrieve_data
arguments: label: D451
data_type: byte[4]
name: retrieve_data
arguments: label: D448
data_type: byte[4]
name: retrieve_data
arguments: label: D144
data_type: byte[4]
name: retrieve_data
arguments: label: D15
data_type: byte[4]
name: retrieve_data
arguments: label: D435
data_type: byte[4]
name: retrieve_data
arguments: label: D327
data_type: byte[4]
name: retrieve_data
arguments: label: D409
data_type: byte[4]
name: retrieve_data
arguments: label: D212
data_type: byte[4]
name: retrieve_data
arguments: label: D268
data_type: byte[4]
name: retrieve_data
arguments: label: D82
data_type: byte[4]
name: retrieve_data
arguments: label: D360
data_type: byte[4]
name: retrieve_data
arguments: label: D138
data_type: byte[4]
name: retrieve_data
arguments: label: D155
data_type: byte[4]
name: retrieve_data
arguments: label: D339
data_type: byte[4]
name: retrieve_data
arguments: label: D447
data_type: byte[4]
name: retrieve_data
arguments: label: D78
data_type: byte[4]
name: retrieve_data
arguments: label: D101
data_type: byte[4]
name: retrieve_data
arguments: label: D149
data_type: byte[4]
name: retrieve_data
arguments: label: D160
data_type: byte[4]
name: retrieve_data
arguments: label: D354
data_type: byte[4]
name: retrieve_data
arguments: label: D412
data_type: byte[4]
name: retrieve_data
arguments: label: D240
data_type: byte[4]
name: retrieve_data
arguments: label: D154
data_type: byte[4]

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

tool: D228: 15

tool: D221: 1

tool: {"D116": [0xf0,0xcd,0x9c,0xb8]}

tool: {"D380": [0xed,0x3a,0x65,0x36]}

tool: {"D203": [0x25,0x06,0x90,0x41]}

tool: {"D213": [0x0c,0x02,0x90,0x41]}

tool: {"D88": [0x61,0xa2,0xa6,0x37]}

tool: {"D284": [0x90,0x83,0x4a,0x35]}

tool: {"D347": [0x1b,0x60,0xb2,0xb5]}

tool: {"D411": [0xba,0xd2,0x96,0x39]}

tool: {"D180": [0x2e,0x1f,0x4a,0x39]}

tool: {"D31": [0x13,0xd3,0xa7,0xb9]}

tool: {"D185": [0x4f,0x3c,0x59,0xbd]}

tool: {"D98": [0xe1,0x17,0xbf,0x3c]}

tool: {"D68": [0x11,0xb0,0xab,0x3a]}

tool: {"D451": [0x7e,0xdc,0x7e,0x3d]}

tool: {"D448": [0x03,0xe5,0x11,0xbd]}

tool: {"D144": [0x9a,0xc9,0x2d,0xb9]}

tool: {"D15": [0x32,0xa6,0xe2,0xb7]}

tool: {"D435": [0x69,0x31,0x04,0xb9]}

tool: {"D327": [0xd1,0xa2,0x23,0x39]}

tool: {"D409": [0xe2,0x95,0x9c,0xb7]}

tool: {"D212": [0xd1,0xce,0x6a,0xb8]}

tool: {"D268": [0xa2,0x00,0x7c,0x38]}

tool: {"D82": [0xac,0xe2,0x17,0x36]}

tool: {"D360": [0x4f,0x3c,0x59,0x3d]}

tool: {"D138": [0x14,0xc8,0x85,0xb6]}

tool: {"D155": [0xd1,0xce,0xea,0xb8]}

tool: {"D339": [0x1e,0x4a,0xc6,0xb9]}

tool: {"D447": [0x17,0x3c,0x62,0x3a]}

tool: {"D78": [0x13,0xd3,0x27,0xba]}

tool: {"D101": [0x9a,0xc9,0xad,0xb9]}

tool: {"D149": [0xed,0x3a,0xe5,0x36]}

tool: {"D160": [0xe2,0x95,0x1c,0xb8]}

tool: {"D354": [0x32,0xa6,0x62,0xb8]}

tool: {"D412": [0x03,0xe5,0x11,0x3d]}

tool: {"D240": [0xd1,0xa2,0xa3,0x39]}

tool: {"D154": [0xd3,0xe0,0x6a,0xb8]}

assistant: ```c
float target_phi(float *x, float *dx, int m) {
  int ncoeff = 20;
  float avdat = -0.1317067E-02;
  float xmin[10] = {-0.15000E+02, -0.15000E+02, -0.18005E+02, -0.18008E+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.18003E+02, 0.18001E+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.71932686E-05, -0.53036030E-01, 0.23326816E-01, 0.62221996E-01, -0.35618793E-01, 0.19275837E-03, -0.16573668E-03, -0.74770185E-04, 0.19864356E-04, -0.27018690E-04, 0.34157958E-05, 0.75442313E-06, -0.12606908E-03, 0.28767233E-03, -0.13290004E-05, -0.32009985E-03, 0.15605545E-03, -0.18666444E-04, -0.55982560E-04, 0.60082071E-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 x13 = x12 * 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] * x11 * x31 + coeff[6] * x32 + coeff[7] * x11 * x41;
  v_target_phi = v_target_phi + coeff[8] * x21 * x41 + coeff[9] * x42 + coeff[10] * x32 * x41 + coeff[11] * x13 * x21 + coeff[12] * x11 * x23 + coeff[13] * x23 * x31 + coeff[14] * x13 * x41 + coeff[15] * x22 * x31 * x41 + coeff[16] * x11 * x21 * x42;
  v_target_phi = v_target_phi + coeff[17] * x32 * x43 + coeff[18] * x12 + coeff[19] * x11 * x21;
  float dxall = 0 + dx1 + dx2 + dx3 + dx4;
  float dv_target_phi = dxall == 0 ? 0 : sqrt(+dx1 * dx1 * pow(0 + coeff[1] + coeff[5] * x31 + coeff[7] * x41 + 3 * coeff[11] * x12 * x21 + coeff[12] * x23 + 3 * coeff[14] * x12 * x41 + coeff[16] * x21 * x42 + 2 * coeff[18] * x11 + coeff[19] * x21, 2) + dx2 * dx2 * pow(0 + coeff[2] + coeff[8] * x41 + coeff[11] * x13 + 3 * coeff[12] * x22 * x11 + 3 * coeff[13] * x22 * x31 + 2 * coeff[15] * x21 * x31 * x41 + coeff[16] * x11 * x42 + coeff[19] * x11, 2) + dx3 * dx3 * pow(0 + coeff[3] + coeff[5] * x11 + 2 * coeff[6] * x31 + 2 * coeff[10] * x31 * x41 + coeff[13] * x23 + coeff[15] * x22 * x41 + 2 * coeff[17] * x31 * x43, 2) + dx4 * dx4 * pow(0 + coeff[4] + coeff[7] * x11 + coeff[8] * x21 + 2 * coeff[9] * x41 + coeff[10] * x32 + coeff[14] * x13 + coeff[15] * x22 * x31 + 2 * coeff[16] * x41 * x11 * x21 + 3 * coeff[17] * x42 * x32, 2));
  dx[0] = dv_target_phi;
  return v_target_phi;
}
```