user: 请将这段汇编代码片段转换成等效的C代码:

```asm
<target_phi>:
  endbr64
  push   %r14
  push   %rbx
  sub    $0xf8,%rsp
  mov    %rdi,%rcx
  mov    %rsi,%rbx
  mov    %fs:0x28,%rax
  mov    %rax,0xe8(%rsp)
  xor    %eax,%eax
  movss  D297(%rip),%xmm0
  movss  %xmm0,0x60(%rsp)
  movss  %xmm0,0x64(%rsp)
  movl   $0xc1900831,0x68(%rsp)
  movl   $0xc1900c4a,0x6c(%rsp)
  movl   $0x0,0x70(%rsp)
  movl   $0x0,0x74(%rsp)
  movl   $0x0,0x78(%rsp)
  movl   $0x0,0x7c(%rsp)
  movl   $0x0,0x80(%rsp)
  movl   $0x0,0x84(%rsp)
  movss  D485(%rip),%xmm0
  movss  %xmm0,0x90(%rsp)
  movss  %xmm0,0x94(%rsp)
  movl   $0x41900625,0x98(%rsp)
  movl   $0x4190020c,0x9c(%rsp)
  movl   $0x0,0xa0(%rsp)
  movl   $0x0,0xa4(%rsp)
  movl   $0x0,0xa8(%rsp)
  movl   $0x0,0xac(%rsp)
  movl   $0x0,0xb0(%rsp)
  movl   $0x0,0xb4(%rsp)
  movq   $0x0,0xc0(%rsp)
  movq   $0x0,0xc8(%rsp)
  movq   $0x0,0xd0(%rsp)
  movq   $0x0,0xd8(%rsp)
  movq   $0x0,0xe0(%rsp)
  test   %edx,%edx
  jle    L6
  mov    %edx,%edx
  movss  D351(%rip),%xmm2
  jmp    L23
L47:
  subss  %xmm1,%xmm0
  movaps %xmm2,%xmm1
  divss  %xmm0,%xmm1
  movss  %xmm1,0xc0(%rsp,%rax,4)
L76:
  add    $0x1,%rax
  cmp    %rdx,%rax
  je     L6
L23:
  movss  0x60(%rsp,%rax,4),%xmm1
  movss  0x90(%rsp,%rax,4),%xmm0
  ucomiss %xmm0,%xmm1
  jp     L47
  jne    L47
  jmp    L76
L6:
  movss  0xc0(%rsp),%xmm1
  movss  (%rcx),%xmm0
  movss  D485(%rip),%xmm4
  subss  %xmm4,%xmm0
  movaps %xmm0,%xmm2
  mulss  %xmm1,%xmm2
  movss  D196(%rip),%xmm0
  addss  %xmm0,%xmm2
  movaps %xmm2,%xmm8
  movss  %xmm2,0x34(%rsp)
  mulss  (%rbx),%xmm1
  movss  0xc4(%rsp),%xmm3
  movss  0x4(%rcx),%xmm2
  subss  %xmm4,%xmm2
  mulss  %xmm3,%xmm2
  movaps %xmm2,%xmm7
  addss  %xmm0,%xmm7
  movss  %xmm7,0x10(%rsp)
  mulss  0x4(%rbx),%xmm3
  movss  %xmm3,0x1c(%rsp)
  movss  0xc8(%rsp),%xmm3
  movss  0x8(%rcx),%xmm2
  subss  D87(%rip),%xmm2
  mulss  %xmm3,%xmm2
  movaps %xmm2,%xmm12
  addss  %xmm0,%xmm12
  movss  %xmm12,0x28(%rsp)
  movaps %xmm3,%xmm5
  mulss  0x8(%rbx),%xmm5
  movss  %xmm5,0x20(%rsp)
  movss  0xcc(%rsp),%xmm3
  movss  0xc(%rcx),%xmm2
  subss  D482(%rip),%xmm2
  mulss  %xmm3,%xmm2
  movaps %xmm2,%xmm14
  addss  %xmm0,%xmm14
  movss  %xmm14,0xc(%rsp)
  movaps %xmm3,%xmm4
  mulss  0xc(%rbx),%xmm4
  movss  %xmm4,0x24(%rsp)
  movaps %xmm8,%xmm2
  movaps %xmm8,%xmm10
  mulss  %xmm8,%xmm2
  movaps %xmm8,%xmm0
  mulss  %xmm2,%xmm0
  movaps %xmm7,%xmm4
  mulss  %xmm7,%xmm4
  movss  %xmm4,0x2c(%rsp)
  movaps %xmm7,%xmm5
  mulss  %xmm4,%xmm5
  movss  %xmm5,0x38(%rsp)
  movaps %xmm12,%xmm11
  mulss  %xmm12,%xmm11
  movss  %xmm11,0x30(%rsp)
  movaps %xmm14,%xmm13
  mulss  %xmm14,%xmm13
  movss  %xmm13,0x3c(%rsp)
  mulss  D126(%rip),%xmm10
  movss  %xmm10,0x40(%rsp)
  movaps %xmm8,%xmm9
  mulss  D405(%rip),%xmm9
  movss  %xmm9,0x44(%rsp)
  movaps %xmm7,%xmm6
  mulss  D406(%rip),%xmm6
  movss  %xmm6,0x48(%rsp)
  movaps %xmm0,%xmm15
  mulss  D474(%rip),%xmm15
  movss  %xmm15,0x4c(%rsp)
  mulss  D476(%rip),%xmm0
  movss  %xmm0,0x14(%rsp)
  mulss  D186(%rip),%xmm4
  mulss  %xmm11,%xmm4
  movss  %xmm4,0x18(%rsp)
  movaps %xmm8,%xmm4
  mulss  D176(%rip),%xmm4
  movss  %xmm4,0x50(%rsp)
  movaps %xmm8,%xmm0
  mulss  D189(%rip),%xmm0
  subss  D392(%rip),%xmm0
  movaps %xmm7,%xmm3
  mulss  D270(%rip),%xmm3
  addss  %xmm3,%xmm0
  movaps %xmm12,%xmm3
  mulss  D88(%rip),%xmm3
  addss  %xmm3,%xmm0
  movaps %xmm14,%xmm3
  mulss  D481(%rip),%xmm3
  addss  %xmm3,%xmm0
  movaps %xmm2,%xmm3
  mulss  D359(%rip),%xmm3
  addss  %xmm3,%xmm0
  movaps %xmm10,%xmm3
  mulss  %xmm12,%xmm3
  addss  %xmm3,%xmm0
  movaps %xmm9,%xmm3
  mulss  %xmm14,%xmm3
  addss  %xmm3,%xmm0
  mulss  %xmm14,%xmm6
  addss  %xmm6,%xmm0
  movaps %xmm13,%xmm3
  mulss  D460(%rip),%xmm3
  addss  %xmm3,%xmm0
  movaps %xmm15,%xmm3
  mulss  %xmm7,%xmm3
  addss  %xmm3,%xmm0
  movaps %xmm8,%xmm3
  mulss  D459(%rip),%xmm3
  mulss  %xmm5,%xmm3
  addss  %xmm3,%xmm0
  movss  0x14(%rsp),%xmm3
  mulss  %xmm14,%xmm3
  addss  %xmm3,%xmm0
  movss  0x18(%rsp),%xmm3
  mulss  %xmm14,%xmm3
  addss  %xmm3,%xmm0
  movaps %xmm7,%xmm3
  mulss  D343(%rip),%xmm3
  mulss  %xmm11,%xmm3
  mulss  %xmm13,%xmm3
  addss  %xmm3,%xmm0
  mulss  %xmm7,%xmm4
  addss  %xmm4,%xmm0
  mulss  D37(%rip),%xmm7
  movss  %xmm7,0x54(%rsp)
  movaps %xmm12,%xmm6
  mulss  D335(%rip),%xmm6
  movss  %xmm6,0x58(%rsp)
  mulss  %xmm12,%xmm7
  addss  %xmm7,%xmm0
  movaps %xmm11,%xmm3
  mulss  D400(%rip),%xmm3
  addss  %xmm3,%xmm0
  mulss  %xmm14,%xmm6
  addss  %xmm6,%xmm0
  mulss  D509(%rip),%xmm5
  movaps %xmm5,%xmm3
  mulss  %xmm11,%xmm3
  movaps %xmm3,%xmm7
  addss  %xmm0,%xmm7
  movd   %xmm7,%r14d
  pxor   %xmm3,%xmm3
  movaps %xmm1,%xmm0
  addss  %xmm3,%xmm0
  addss  0x1c(%rsp),%xmm0
  addss  0x20(%rsp),%xmm0
  addss  0x24(%rsp),%xmm0
  ucomiss %xmm3,%xmm0
  jp     L97
  movaps %xmm3,%xmm0
  jne    L97
L55:
  movss  %xmm0,(%rbx)
  mov    0xe8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L84
  movd   %r14d,%xmm0
  add    $0xf8,%rsp
  pop    %rbx
  pop    %r14
  ret
L97:
  mulss  %xmm1,%xmm1
  movss  %xmm1,0x5c(%rsp)
  movss  0x34(%rsp),%xmm0
  mulss  D242(%rip),%xmm0
  subss  D7(%rip),%xmm0
  movss  0x28(%rsp),%xmm1
  mulss  D126(%rip),%xmm1
  addss  %xmm1,%xmm0
  movss  0xc(%rsp),%xmm5
  movaps %xmm5,%xmm1
  mulss  D405(%rip),%xmm1
  addss  %xmm1,%xmm0
  movaps %xmm2,%xmm4
  mulss  D80(%rip),%xmm4
  movaps %xmm4,%xmm1
  movss  0x10(%rsp),%xmm4
  mulss  %xmm4,%xmm1
  addss  %xmm1,%xmm0
  movss  0x38(%rsp),%xmm7
  mulss  D459(%rip),%xmm7
  addss  %xmm7,%xmm0
  mulss  D507(%rip),%xmm2
  mulss  %xmm5,%xmm2
  addss  %xmm2,%xmm0
  movaps %xmm4,%xmm2
  mulss  D176(%rip),%xmm2
  addss  %xmm2,%xmm0
  mov    $0x2,%edi
  call   <pow@plt>
  mulss  0x5c(%rsp),%xmm0
  movss  %xmm0,0x5c(%rsp)
  movss  0x1c(%rsp),%xmm15
  mulss  %xmm15,%xmm15
  movss  %xmm15,0x1c(%rsp)
  movss  0xc(%rsp),%xmm5
  movaps %xmm5,%xmm0
  mulss  D406(%rip),%xmm0
  addss  D270(%rip),%xmm0
  addss  0x4c(%rsp),%xmm0
  movss  0x2c(%rsp),%xmm7
  movaps %xmm7,%xmm3
  mulss  D134(%rip),%xmm3
  movaps %xmm3,%xmm1
  mulss  0x34(%rsp),%xmm1
  addss  %xmm1,%xmm0
  movss  D221(%rip),%xmm3
  mulss  0x10(%rsp),%xmm3
  movaps %xmm3,%xmm1
  movss  0x30(%rsp),%xmm9
  mulss  %xmm9,%xmm1
  mulss  %xmm5,%xmm1
  addss  %xmm1,%xmm0
  movaps %xmm9,%xmm3
  mulss  D343(%rip),%xmm3
  movaps %xmm3,%xmm1
  mulss  0x3c(%rsp),%xmm1
  addss  %xmm1,%xmm0
  addss  0x50(%rsp),%xmm0
  movss  0x28(%rsp),%xmm1
  mulss  D37(%rip),%xmm1
  addss  %xmm1,%xmm0
  movaps %xmm7,%xmm3
  mulss  D422(%rip),%xmm3
  movaps %xmm3,%xmm1
  mulss  %xmm9,%xmm1
  addss  %xmm1,%xmm0
  mov    $0x2,%edi
  call   <pow@plt>
  mulss  0x1c(%rsp),%xmm0
  addss  0x5c(%rsp),%xmm0
  movss  %xmm0,0x1c(%rsp)
  movss  0x20(%rsp),%xmm0
  mulss  %xmm0,%xmm0
  movss  %xmm0,0x20(%rsp)
  movss  D221(%rip),%xmm15
  movss  0x28(%rsp),%xmm6
  mulss  %xmm6,%xmm15
  movaps %xmm15,%xmm0
  mulss  0x2c(%rsp),%xmm0
  movss  0xc(%rsp),%xmm5
  mulss  %xmm5,%xmm0
  movss  0x40(%rsp),%xmm1
  addss  D88(%rip),%xmm1
  addss  %xmm1,%xmm0
  movss  D323(%rip),%xmm1
  mulss  %xmm6,%xmm1
  mulss  0x10(%rsp),%xmm1
  mulss  0x3c(%rsp),%xmm1
  addss  %xmm1,%xmm0
  addss  0x54(%rsp),%xmm0
  movaps %xmm6,%xmm1
  mulss  D83(%rip),%xmm1
  addss  %xmm1,%xmm0
  movaps %xmm5,%xmm1
  mulss  D335(%rip),%xmm1
  addss  %xmm1,%xmm0
  mulss  D463(%rip),%xmm6
  movaps %xmm6,%xmm1
  mulss  0x38(%rsp),%xmm1
  addss  %xmm1,%xmm0
  mov    $0x2,%edi
  call   <pow@plt>
  mulss  0x20(%rsp),%xmm0
  movaps %xmm0,%xmm7
  addss  0x1c(%rsp),%xmm7
  movss  %xmm7,0x1c(%rsp)
  movss  0x24(%rsp),%xmm6
  mulss  %xmm6,%xmm6
  movss  %xmm6,0x20(%rsp)
  movss  0x44(%rsp),%xmm0
  subss  D17(%rip),%xmm0
  addss  0x48(%rsp),%xmm0
  movss  0xc(%rsp),%xmm5
  movaps %xmm5,%xmm1
  mulss  D477(%rip),%xmm1
  addss  %xmm1,%xmm0
  addss  0x14(%rsp),%xmm0
  addss  0x18(%rsp),%xmm0
  movss  D323(%rip),%xmm1
  mulss  %xmm5,%xmm1
  mulss  0x10(%rsp),%xmm1
  mulss  0x30(%rsp),%xmm1
  addss  %xmm1,%xmm0
  addss  0x58(%rsp),%xmm0
  mov    $0x2,%edi
  call   <pow@plt>
  mulss  0x20(%rsp),%xmm0
  addss  0x1c(%rsp),%xmm0
  call   <sqrt@plt>
  jmp    L55
L84:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: read_data
arguments: data_tag: D297
data_type: byte[4]
name: read_data
arguments: data_tag: D485
data_type: f32
name: read_data
arguments: data_tag: D351
data_type: f32
name: read_data
arguments: data_tag: D196
data_type: f32
name: read_data
arguments: data_tag: D87
data_type: byte[4]
name: read_data
arguments: data_tag: D482
data_type: byte[4]
name: read_data
arguments: data_tag: D126
data_type: byte[4]
name: read_data
arguments: data_tag: D405
data_type: byte[4]
name: read_data
arguments: data_tag: D406
data_type: byte[4]
name: read_data
arguments: data_tag: D474
data_type: byte[4]
name: read_data
arguments: data_tag: D476
data_type: byte[4]
name: read_data
arguments: data_tag: D186
data_type: byte[4]
name: read_data
arguments: data_tag: D176
data_type: byte[4]
name: read_data
arguments: data_tag: D189
data_type: byte[4]
name: read_data
arguments: data_tag: D392
data_type: byte[4]
name: read_data
arguments: data_tag: D270
data_type: byte[4]
name: read_data
arguments: data_tag: D88
data_type: byte[4]
name: read_data
arguments: data_tag: D481
data_type: byte[4]
name: read_data
arguments: data_tag: D359
data_type: byte[4]
name: read_data
arguments: data_tag: D460
data_type: byte[4]
name: read_data
arguments: data_tag: D459
data_type: byte[4]
name: read_data
arguments: data_tag: D343
data_type: byte[4]
name: read_data
arguments: data_tag: D37
data_type: byte[4]
name: read_data
arguments: data_tag: D335
data_type: byte[4]
name: read_data
arguments: data_tag: D400
data_type: byte[4]
name: read_data
arguments: data_tag: D509
data_type: byte[4]
name: read_data
arguments: data_tag: D242
data_type: byte[4]
name: read_data
arguments: data_tag: D7
data_type: byte[4]
name: read_data
arguments: data_tag: D80
data_type: byte[4]
name: read_data
arguments: data_tag: D507
data_type: byte[4]
name: read_data
arguments: data_tag: D134
data_type: byte[4]
name: read_data
arguments: data_tag: D221
data_type: byte[4]
name: read_data
arguments: data_tag: D422
data_type: byte[4]
name: read_data
arguments: data_tag: D323
data_type: byte[4]
name: read_data
arguments: data_tag: D83
data_type: byte[4]
name: read_data
arguments: data_tag: D463
data_type: byte[4]
name: read_data
arguments: data_tag: D17
data_type: byte[4]
name: read_data
arguments: data_tag: D477
data_type: byte[4]

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

tool: D485: 15

tool: D351: 2

tool: D196: 1

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

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

tool: {"D126": [0xe4,0xaf,0xce,0x38]}

tool: {"D405": [0xad,0x54,0xf6,0x38]}

tool: {"D406": [0x53,0xf6,0xad,0x37]}

tool: {"D474": [0xe2,0x9b,0xc0,0x35]}

tool: {"D476": [0x81,0x1c,0x21,0xb6]}

tool: {"D186": [0x5f,0x44,0xb7,0x39]}

tool: {"D176": [0xf2,0xd5,0xe0,0xb8]}

tool: {"D189": [0x40,0x53,0x60,0xbd]}

tool: {"D392": [0x6b,0xac,0xc7,0x3a]}

tool: {"D270": [0x31,0x8c,0x8a,0x3c]}

tool: {"D88": [0xc1,0x19,0x85,0x3d]}

tool: {"D481": [0x2c,0x2a,0xd6,0xbc]}

tool: {"D359": [0x41,0x33,0xe3,0xb7]}

tool: {"D460": [0x9f,0x3b,0xe9,0xb7]}

tool: {"D459": [0x82,0x41,0x07,0xb5]}

tool: {"D343": [0x71,0xaa,0x7c,0xb9]}

tool: {"D37": [0x7f,0xc8,0x46,0x39]}

tool: {"D335": [0xad,0xa2,0x61,0xb9]}

tool: {"D400": [0x63,0x6b,0xb9,0xb8]}

tool: {"D509": [0xbd,0x2f,0x05,0xb9]}

tool: {"D242": [0x41,0x33,0x63,0xb8]}

tool: {"D7": [0x40,0x53,0x60,0x3d]}

tool: {"D80": [0xea,0x74,0x90,0x36]}

tool: {"D507": [0xc2,0xaa,0xf1,0xb6]}

tool: {"D134": [0x43,0xe2,0xca,0xb5]}

tool: {"D221": [0x5f,0x44,0x37,0x3a]}

tool: {"D422": [0x9c,0xc7,0xc7,0xb9]}

tool: {"D323": [0x71,0xaa,0xfc,0xb9]}

tool: {"D83": [0x63,0x6b,0x39,0xb9]}

tool: {"D463": [0xbd,0x2f,0x85,0xb9]}

tool: {"D17": [0x2c,0x2a,0xd6,0x3c]}

tool: {"D477": [0x9f,0x3b,0x69,0xb8]}

assistant: ```c
float target_phi(float *x, float *dx, int m) {
  int ncoeff = 20;
  float avdat = -0.1527863E-02;
  float xmin[10] = {-0.15000E+02, -0.15000E+02, -0.18004E+02, -0.18006E+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.44750327E-05, -0.54766893E-01, 0.16912552E-01, 0.64990528E-01, -0.26143156E-01, -0.27084376E-04, 0.98556076E-04, 0.11745966E-03, 0.20737911E-04, -0.27803528E-04, 0.14350483E-05, -0.50386745E-06, -0.24007461E-05, 0.34955420E-03, -0.24096087E-03, -0.10721003E-03, 0.18957442E-03, -0.88414898E-04, -0.21518274E-03, -0.12701652E-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 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 v_target_phi = avdat + coeff[0] + coeff[1] * x11 + coeff[2] * x21 + coeff[3] * x31 + coeff[4] * x41 + coeff[5] * x12 + coeff[6] * x11 * x31 + coeff[7] * x11 * x41;
  v_target_phi = v_target_phi + coeff[8] * x21 * x41 + coeff[9] * x42 + coeff[10] * x13 * x21 + coeff[11] * x11 * x23 + coeff[12] * x13 * x41 + coeff[13] * x22 * x32 * x41 + coeff[14] * x21 * x32 * x42 + coeff[15] * x11 * x21 + coeff[16] * x21 * x31;
  v_target_phi = v_target_phi + coeff[17] * x32 + coeff[18] * x31 * x41 + coeff[19] * x23 * x32;
  float dxall = 0 + dx1 + dx2 + dx3 + dx4;
  float dv_target_phi = dxall == 0 ? 0 : sqrt(+dx1 * dx1 * pow(0 + coeff[1] + 2 * coeff[5] * x11 + coeff[6] * x31 + coeff[7] * x41 + 3 * coeff[10] * x12 * x21 + coeff[11] * x23 + 3 * coeff[12] * x12 * x41 + coeff[15] * x21, 2) + dx2 * dx2 * pow(0 + coeff[2] + coeff[8] * x41 + coeff[10] * x13 + 3 * coeff[11] * x22 * x11 + 2 * coeff[13] * x21 * x32 * x41 + coeff[14] * x32 * x42 + coeff[15] * x11 + coeff[16] * x31 + 3 * coeff[19] * x22 * x32, 2) + dx3 * dx3 * pow(0 + coeff[3] + coeff[6] * x11 + 2 * coeff[13] * x31 * x22 * x41 + 2 * coeff[14] * x31 * x21 * x42 + coeff[16] * x21 + 2 * coeff[17] * x31 + coeff[18] * x41 + 2 * coeff[19] * x31 * x23, 2) + dx4 * dx4 * pow(0 + coeff[4] + coeff[7] * x11 + coeff[8] * x21 + 2 * coeff[9] * x41 + coeff[12] * x13 + coeff[13] * x22 * x32 + 2 * coeff[14] * x41 * x21 * x32 + coeff[18] * x31, 2));
  dx[0] = dv_target_phi;
  return v_target_phi;
}
```