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

```asm
<target_phi>:
  endbr64
  push   %rbx
  pxor   %xmm0,%xmm0
  mov    %rsi,%rbx
  sub    $0x100,%rsp
  movss  D458(%rip),%xmm1
  movss  D487(%rip),%xmm3
  mov    %fs:0x28,%rax
  mov    %rax,0xf8(%rsp)
  xor    %eax,%eax
  movaps %xmm0,0xd0(%rsp)
  movabs $0xc19024ddc1900000,%rax
  mov    %rax,0x78(%rsp)
  movabs $0x418fdd2f41900000,%rax
  movq   $0x0,0x80(%rsp)
  movq   $0x0,0x88(%rsp)
  movq   $0x0,0x90(%rsp)
  mov    %rax,0xa8(%rsp)
  movq   $0x0,0xb0(%rsp)
  movq   $0x0,0xb8(%rsp)
  movq   $0x0,0xc0(%rsp)
  movq   $0x0,0xf0(%rsp)
  movss  %xmm1,0x74(%rsp)
  movss  %xmm3,0xa4(%rsp)
  movaps %xmm0,0xe0(%rsp)
  test   %edx,%edx
  jle    L62
  sub    $0x1,%edx
  movss  D356(%rip),%xmm2
  xor    %eax,%eax
  movaps %xmm3,%xmm0
  shl    $0x2,%rdx
  lea    0x74(%rsp),%rsi
  lea    0xa4(%rsp),%rcx
  jmp    L63
  nopl   (%rax)
L70:
  movss  (%rsi,%rax,1),%xmm1
  movss  (%rcx,%rax,1),%xmm0
  add    $0x4,%rax
L63:
  ucomiss %xmm0,%xmm1
  jp     L51
  je     L67
L51:
  subss  %xmm1,%xmm0
  movaps %xmm2,%xmm1
  divss  %xmm0,%xmm1
  movss  %xmm1,0xd0(%rsp,%rax,1)
L67:
  cmp    %rdx,%rax
  jne    L70
  movss  0xd0(%rsp),%xmm8
  pxor   %xmm10,%xmm10
  movss  0xd4(%rsp),%xmm6
  movss  0xd8(%rsp),%xmm1
  movss  0xdc(%rsp),%xmm0
L8:
  movss  (%rdi),%xmm2
  movss  0x4(%rdi),%xmm4
  movss  D497(%rip),%xmm5
  movss  D507(%rip),%xmm9
  subss  %xmm3,%xmm2
  subss  %xmm3,%xmm4
  movss  0x8(%rdi),%xmm3
  subss  D377(%rip),%xmm3
  mulss  %xmm8,%xmm2
  mulss  %xmm1,%xmm3
  mulss  0x8(%rbx),%xmm1
  mulss  %xmm6,%xmm4
  mulss  (%rbx),%xmm8
  addss  %xmm5,%xmm2
  mulss  0x4(%rbx),%xmm6
  addss  %xmm5,%xmm3
  movss  %xmm1,0x20(%rsp)
  movss  0xc(%rdi),%xmm1
  subss  D67(%rip),%xmm1
  addss  %xmm5,%xmm4
  mulss  %xmm2,%xmm9
  movaps %xmm3,%xmm12
  mulss  %xmm0,%xmm1
  mulss  0xc(%rbx),%xmm0
  movaps %xmm4,%xmm7
  movaps %xmm4,%xmm14
  mulss  %xmm4,%xmm7
  addss  %xmm5,%xmm1
  movaps %xmm3,%xmm5
  mulss  %xmm3,%xmm5
  movss  %xmm0,0x24(%rsp)
  movss  D11(%rip),%xmm0
  mulss  %xmm7,%xmm14
  mulss  %xmm4,%xmm0
  movaps %xmm1,%xmm15
  movaps %xmm1,%xmm13
  mulss  %xmm1,%xmm15
  mulss  %xmm5,%xmm12
  movss  %xmm0,0x8(%rsp)
  movss  D99(%rip),%xmm0
  movaps %xmm15,%xmm11
  movss  %xmm15,0x30(%rsp)
  mulss  %xmm1,%xmm11
  movss  %xmm12,0x28(%rsp)
  mulss  %xmm3,%xmm0
  movss  D541(%rip),%xmm12
  mulss  %xmm2,%xmm12
  mulss  %xmm11,%xmm13
  movss  %xmm13,0x2c(%rsp)
  movss  D167(%rip),%xmm13
  mulss  %xmm2,%xmm13
  movss  %xmm13,0xc(%rsp)
  movss  D225(%rip),%xmm13
  mulss  %xmm3,%xmm13
  movss  %xmm13,0x10(%rsp)
  movaps %xmm9,%xmm13
  movss  D482(%rip),%xmm9
  mulss  %xmm2,%xmm9
  mulss  %xmm14,%xmm9
  movss  %xmm9,0x14(%rsp)
  movss  D7(%rip),%xmm9
  mulss  %xmm2,%xmm9
  addss  D218(%rip),%xmm9
  addss  %xmm9,%xmm0
  movaps %xmm12,%xmm9
  mulss  %xmm4,%xmm9
  addss  %xmm0,%xmm9
  movss  0x8(%rsp),%xmm0
  mulss  %xmm3,%xmm0
  addss  %xmm9,%xmm0
  movss  0xc(%rsp),%xmm9
  mulss  %xmm1,%xmm9
  addss  %xmm0,%xmm9
  movss  0x10(%rsp),%xmm0
  mulss  %xmm1,%xmm0
  addss  %xmm9,%xmm0
  movss  D446(%rip),%xmm9
  mulss  %xmm1,%xmm9
  addss  %xmm0,%xmm9
  movss  D503(%rip),%xmm0
  mulss  %xmm4,%xmm0
  addss  %xmm9,%xmm0
  movss  D543(%rip),%xmm9
  mulss  %xmm3,%xmm9
  mulss  0x2c(%rsp),%xmm9
  addss  %xmm0,%xmm9
  movaps %xmm13,%xmm0
  mulss  %xmm4,%xmm0
  mulss  %xmm5,%xmm0
  addss  %xmm9,%xmm0
  movss  D346(%rip),%xmm9
  mulss  %xmm4,%xmm9
  mulss  0x28(%rsp),%xmm9
  addss  %xmm0,%xmm9
  movss  D124(%rip),%xmm0
  mulss  %xmm2,%xmm0
  mulss  %xmm11,%xmm0
  addss  %xmm9,%xmm0
  movss  0x14(%rsp),%xmm9
  mulss  %xmm1,%xmm9
  addss  %xmm0,%xmm9
  movss  D66(%rip),%xmm0
  mulss  %xmm4,%xmm0
  mulss  %xmm5,%xmm0
  addss  %xmm9,%xmm0
  movss  D453(%rip),%xmm9
  mulss  %xmm3,%xmm9
  mulss  %xmm15,%xmm9
  addss  %xmm9,%xmm0
  movss  D490(%rip),%xmm9
  mulss  %xmm2,%xmm9
  mulss  %xmm7,%xmm9
  movss  %xmm9,0x18(%rsp)
  movaps %xmm2,%xmm9
  mulss  %xmm2,%xmm9
  mulss  D423(%rip),%xmm9
  movaps %xmm9,%xmm15
  mulss  %xmm3,%xmm15
  movss  %xmm15,0x1c(%rsp)
  movss  D481(%rip),%xmm15
  mulss  %xmm2,%xmm15
  mulss  %xmm14,%xmm15
  addss  %xmm15,%xmm0
  movss  0x18(%rsp),%xmm15
  mulss  %xmm1,%xmm15
  addss  %xmm15,%xmm0
  movss  0x1c(%rsp),%xmm15
  mulss  %xmm1,%xmm15
  addss  %xmm0,%xmm15
  movss  D359(%rip),%xmm0
  mulss  %xmm2,%xmm0
  mulss  %xmm5,%xmm0
  movss  %xmm0,0x34(%rsp)
  mulss  %xmm1,%xmm0
  addss  %xmm0,%xmm15
  movaps %xmm8,%xmm0
  addss  %xmm10,%xmm0
  addss  %xmm6,%xmm0
  addss  0x20(%rsp),%xmm0
  addss  0x24(%rsp),%xmm0
  ucomiss %xmm10,%xmm0
  jp     L60
  movaps %xmm10,%xmm0
  jne    L60
L3:
  movss  %xmm0,(%rbx)
  mov    0xf8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L20
  add    $0x100,%rsp
  movaps %xmm15,%xmm0
  pop    %rbx
  ret
  xchg   %ax,%ax
L60:
  movss  %xmm6,0x3c(%rsp)
  mulss  %xmm8,%xmm8
  mov    $0x2,%edi
  movss  D167(%rip),%xmm6
  movss  D541(%rip),%xmm0
  movss  %xmm7,0x58(%rsp)
  mulss  %xmm1,%xmm6
  movss  %xmm15,0x6c(%rsp)
  mulss  %xmm4,%xmm0
  movss  %xmm11,0x5c(%rsp)
  subss  D59(%rip),%xmm0
  movss  %xmm9,0x68(%rsp)
  movss  %xmm8,0x38(%rsp)
  movss  %xmm10,0x54(%rsp)
  movaps %xmm6,%xmm8
  movss  D124(%rip),%xmm6
  movss  %xmm13,0x64(%rsp)
  addss  %xmm0,%xmm8
  movss  D507(%rip),%xmm0
  movss  %xmm12,0x50(%rsp)
  mulss  %xmm11,%xmm6
  movss  %xmm4,0x60(%rsp)
  mulss  %xmm4,%xmm0
  movss  %xmm2,0x4c(%rsp)
  movss  %xmm3,0x48(%rsp)
  movss  %xmm5,0x44(%rsp)
  movss  %xmm1,0x40(%rsp)
  mulss  %xmm5,%xmm0
  addss  %xmm8,%xmm0
  movaps %xmm6,%xmm8
  movaps %xmm2,%xmm6
  mulss  D232(%rip),%xmm6
  addss  %xmm0,%xmm8
  movss  D482(%rip),%xmm0
  mulss  %xmm14,%xmm0
  mulss  D481(%rip),%xmm14
  mulss  %xmm1,%xmm0
  addss  %xmm8,%xmm0
  movaps %xmm6,%xmm8
  mulss  %xmm3,%xmm8
  addss  %xmm0,%xmm14
  movss  D490(%rip),%xmm0
  mulss  %xmm7,%xmm0
  movss  D359(%rip),%xmm7
  mulss  %xmm1,%xmm8
  mulss  %xmm5,%xmm7
  mulss  %xmm1,%xmm0
  addss  %xmm14,%xmm0
  addss  %xmm8,%xmm0
  movaps %xmm7,%xmm8
  mulss  %xmm1,%xmm8
  addss  %xmm8,%xmm0
  call   <pow@plt>
  movss  0x3c(%rsp),%xmm6
  movss  0x48(%rsp),%xmm3
  mov    $0x2,%edi
  movss  D11(%rip),%xmm5
  movss  0x54(%rsp),%xmm10
  movaps %xmm6,%xmm7
  movss  0x50(%rsp),%xmm12
  movss  0x64(%rsp),%xmm13
  movss  %xmm3,0x50(%rsp)
  mulss  %xmm6,%xmm7
  movss  D243(%rip),%xmm6
  movss  0x4c(%rsp),%xmm2
  mulss  %xmm3,%xmm5
  addss  %xmm10,%xmm12
  movss  0x40(%rsp),%xmm1
  movss  D66(%rip),%xmm4
  mulss  0x38(%rsp),%xmm0
  movss  %xmm7,0x3c(%rsp)
  movss  0x58(%rsp),%xmm7
  addss  %xmm5,%xmm12
  movss  0x44(%rsp),%xmm5
  subss  D354(%rip),%xmm12
  movss  %xmm2,0x44(%rsp)
  mulss  %xmm7,%xmm6
  movss  %xmm0,0x38(%rsp)
  mulss  %xmm5,%xmm13
  movss  %xmm5,0x4c(%rsp)
  mulss  %xmm5,%xmm4
  movss  D412(%rip),%xmm5
  mulss  %xmm7,%xmm5
  mulss  %xmm2,%xmm6
  addss  %xmm12,%xmm13
  movss  D346(%rip),%xmm12
  mulss  0x28(%rsp),%xmm12
  movaps %xmm5,%xmm0
  mulss  %xmm1,%xmm6
  addss  %xmm13,%xmm12
  mulss  %xmm2,%xmm0
  addss  %xmm12,%xmm6
  addss  %xmm4,%xmm6
  movss  0x60(%rsp),%xmm4
  movaps %xmm4,%xmm5
  movss  %xmm4,0x48(%rsp)
  mulss  D220(%rip),%xmm5
  addss  %xmm6,%xmm0
  movaps %xmm5,%xmm7
  mulss  %xmm2,%xmm7
  mulss  %xmm1,%xmm7
  addss  %xmm7,%xmm0
  call   <pow@plt>
  mulss  0x3c(%rsp),%xmm0
  movss  0x38(%rsp),%xmm7
  mov    $0x2,%edi
  movss  0x40(%rsp),%xmm1
  movss  D99(%rip),%xmm6
  addss  0x8(%rsp),%xmm6
  movss  0x50(%rsp),%xmm3
  movss  0x44(%rsp),%xmm2
  movss  0x48(%rsp),%xmm4
  movss  0x4c(%rsp),%xmm5
  mulss  D179(%rip),%xmm5
  movss  %xmm3,0x3c(%rsp)
  addss  %xmm0,%xmm7
  movss  D225(%rip),%xmm0
  movss  0x68(%rsp),%xmm9
  movss  %xmm2,0x38(%rsp)
  mulss  %xmm1,%xmm0
  mulss  %xmm1,%xmm9
  movss  %xmm7,0x28(%rsp)
  movss  0x20(%rsp),%xmm7
  mulss  %xmm4,%xmm5
  mulss  %xmm7,%xmm7
  addss  %xmm6,%xmm0
  movss  D543(%rip),%xmm6
  mulss  0x2c(%rsp),%xmm6
  movss  %xmm1,0x2c(%rsp)
  movss  %xmm7,0x20(%rsp)
  addss  %xmm6,%xmm0
  movss  D241(%rip),%xmm6
  mulss  %xmm3,%xmm6
  mulss  %xmm2,%xmm6
  mulss  %xmm4,%xmm6
  addss  %xmm0,%xmm6
  movss  D159(%rip),%xmm0
  mulss  %xmm3,%xmm0
  addss  %xmm6,%xmm5
  mulss  %xmm4,%xmm0
  addss  %xmm5,%xmm0
  movss  D453(%rip),%xmm5
  mulss  0x30(%rsp),%xmm5
  movaps %xmm5,%xmm4
  addss  %xmm0,%xmm4
  movaps %xmm3,%xmm0
  mulss  D349(%rip),%xmm0
  addss  %xmm4,%xmm9
  mulss  %xmm2,%xmm0
  mulss  %xmm1,%xmm0
  addss  %xmm9,%xmm0
  call   <pow@plt>
  mulss  0x20(%rsp),%xmm0
  mov    $0x2,%edi
  movss  0x5c(%rsp),%xmm11
  mulss  D514(%rip),%xmm11
  addss  0x28(%rsp),%xmm0
  movss  0x54(%rsp),%xmm10
  movss  0xc(%rsp),%xmm5
  movss  0x3c(%rsp),%xmm3
  movss  0x30(%rsp),%xmm4
  mulss  D69(%rip),%xmm4
  addss  %xmm10,%xmm5
  movss  %xmm0,0x8(%rsp)
  movss  0x10(%rsp),%xmm0
  movss  0x38(%rsp),%xmm2
  movss  0x2c(%rsp),%xmm1
  mulss  %xmm3,%xmm11
  movss  0x24(%rsp),%xmm7
  mulss  D391(%rip),%xmm1
  addss  %xmm5,%xmm0
  addss  D446(%rip),%xmm0
  mulss  %xmm7,%xmm7
  mulss  %xmm4,%xmm2
  addss  %xmm11,%xmm0
  mulss  %xmm3,%xmm1
  movss  %xmm7,0x20(%rsp)
  addss  %xmm2,%xmm0
  addss  0x14(%rsp),%xmm0
  addss  %xmm1,%xmm0
  addss  0x18(%rsp),%xmm0
  addss  0x1c(%rsp),%xmm0
  addss  0x34(%rsp),%xmm0
  call   <pow@plt>
  mulss  0x20(%rsp),%xmm0
  addss  0x8(%rsp),%xmm0
  call   <sqrt@plt>
  movss  0x6c(%rsp),%xmm15
  jmp    L3
  nopw   0x0(%rax,%rax,1)
L62:
  pxor   %xmm10,%xmm10
  movaps %xmm10,%xmm0
  movaps %xmm10,%xmm1
  movaps %xmm10,%xmm6
  movaps %xmm10,%xmm8
  jmp    L8
L20:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: retrieve_data
arguments: data_tag: D458
data_type: byte[4]
name: retrieve_data
arguments: data_tag: D487
data_type: f32
name: retrieve_data
arguments: data_tag: D356
data_type: f32
name: retrieve_data
arguments: data_tag: D497
data_type: f32
name: retrieve_data
arguments: data_tag: D507
data_type: byte[4]
name: retrieve_data
arguments: data_tag: D377
data_type: f32
name: retrieve_data
arguments: data_tag: D67
data_type: byte[4]
name: retrieve_data
arguments: data_tag: D11
data_type: byte[4]
name: retrieve_data
arguments: data_tag: D99
data_type: byte[4]
name: retrieve_data
arguments: data_tag: D541
data_type: byte[4]
name: retrieve_data
arguments: data_tag: D167
data_type: byte[4]
name: retrieve_data
arguments: data_tag: D225
data_type: byte[4]
name: retrieve_data
arguments: data_tag: D482
data_type: byte[4]
name: retrieve_data
arguments: data_tag: D7
data_type: byte[4]
name: retrieve_data
arguments: data_tag: D218
data_type: byte[4]
name: retrieve_data
arguments: data_tag: D446
data_type: byte[4]
name: retrieve_data
arguments: data_tag: D503
data_type: byte[4]
name: retrieve_data
arguments: data_tag: D543
data_type: byte[4]
name: retrieve_data
arguments: data_tag: D346
data_type: byte[4]
name: retrieve_data
arguments: data_tag: D124
data_type: byte[4]
name: retrieve_data
arguments: data_tag: D66
data_type: byte[4]
name: retrieve_data
arguments: data_tag: D453
data_type: byte[4]
name: retrieve_data
arguments: data_tag: D490
data_type: byte[4]
name: retrieve_data
arguments: data_tag: D423
data_type: byte[4]
name: retrieve_data
arguments: data_tag: D481
data_type: byte[4]
name: retrieve_data
arguments: data_tag: D359
data_type: byte[4]
name: retrieve_data
arguments: data_tag: D59
data_type: byte[4]
name: retrieve_data
arguments: data_tag: D232
data_type: byte[4]
name: retrieve_data
arguments: data_tag: D243
data_type: byte[4]
name: retrieve_data
arguments: data_tag: D354
data_type: byte[4]
name: retrieve_data
arguments: data_tag: D412
data_type: byte[4]
name: retrieve_data
arguments: data_tag: D220
data_type: byte[4]
name: retrieve_data
arguments: data_tag: D179
data_type: byte[4]
name: retrieve_data
arguments: data_tag: D241
data_type: byte[4]
name: retrieve_data
arguments: data_tag: D159
data_type: byte[4]
name: retrieve_data
arguments: data_tag: D349
data_type: byte[4]
name: retrieve_data
arguments: data_tag: D514
data_type: byte[4]
name: retrieve_data
arguments: data_tag: D69
data_type: byte[4]
name: retrieve_data
arguments: data_tag: D391
data_type: byte[4]

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

tool: D487: 15

tool: D356: 2

tool: D497: 1

tool: {"D507": [0x6b,0x10,0x53,0x38]}

tool: D377: 18

tool: {"D67": [0x2f,0xdd,0x8f,0x41]}

tool: {"D11": [0x7f,0x3e,0xe4,0xbb]}

tool: {"D99": [0x7f,0xb9,0x8d,0x3d]}

tool: {"D541": [0x14,0x58,0x7a,0x3b]}

tool: {"D167": [0x9f,0xa3,0xd3,0xbb]}

tool: {"D225": [0x14,0xa2,0x3f,0x3c]}

tool: {"D482": [0xfc,0x43,0xe5,0xb7]}

tool: {"D7": [0xfe,0x97,0x6a,0xbd]}

tool: {"D218": [0x86,0x31,0x17,0x3b]}

tool: {"D446": [0x6b,0x54,0xca,0x39]}

tool: {"D503": [0x3d,0xf3,0x6f,0xb9]}

tool: {"D543": [0xf3,0x67,0x1b,0x38]}

tool: {"D346": [0x98,0xfc,0x70,0x36]}

tool: {"D124": [0x43,0x3a,0x0c,0x39]}

tool: {"D66": [0x34,0x10,0xb7,0xb6]}

tool: {"D453": [0x0d,0xd2,0xe8,0x37]}

tool: {"D490": [0xf7,0x1b,0x54,0xb9]}

tool: {"D423": [0xf1,0x88,0xe6,0x38]}

tool: {"D481": [0xcf,0xa8,0xcb,0x38]}

tool: {"D359": [0x66,0x01,0x59,0xb9]}

tool: {"D59": [0xfe,0x97,0x6a,0x3d]}

tool: {"D232": [0xf1,0x88,0x66,0x39]}

tool: {"D243": [0xfd,0xf2,0xab,0xb8]}

tool: {"D354": [0x3d,0xf3,0x6f,0x39]}

tool: {"D412": [0x9b,0xbe,0x98,0x39]}

tool: {"D220": [0xf7,0x1b,0xd4,0xb9]}

tool: {"D179": [0x72,0xbd,0x34,0x37]}

tool: {"D241": [0x6b,0x10,0xd3,0x38]}

tool: {"D159": [0x34,0x10,0x37,0xb7]}

tool: {"D349": [0x66,0x01,0xd9,0xb9]}

tool: {"D514": [0xf3,0x67,0x1b,0x39]}

tool: {"D69": [0x64,0x57,0xd2,0x39]}

tool: {"D391": [0x0d,0xd2,0x68,0x38]}

assistant: ```c
float target_phi(float *x, float *dx, int m) {
  int ncoeff = 20;
  float avdat = 0.2306961E-02;
  float xmin[10] = {-0.15000E+02, -0.15000E+02, -0.18000E+02, -0.18018E+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.17983E+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.68065482E-07, -0.57273857E-01, 0.69201462E-01, 0.38199471E-02, -0.69654579E-02, -0.64587141E-02, 0.11696357E-01, 0.38591339E-03, -0.22883429E-03, 0.37051690E-04, 0.50321611E-04, 0.35909816E-05, 0.13373145E-03, -0.27330585E-04, -0.54557113E-05, 0.27754368E-04, 0.97112374E-04, -0.20228313E-03, 0.10992762E-03, -0.20695254E-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 x21 = x2;
  float x22 = x21 * x2;
  float x23 = x22 * x2;
  float x31 = x3;
  float x32 = x31 * x3;
  float x33 = x32 * x3;
  float x41 = x4;
  float x42 = x41 * x4;
  float x43 = x42 * x4;
  float x44 = x43 * x4;
  float v_target_phi = avdat + coeff[0] + coeff[1] * x11 + coeff[2] * x31 + coeff[3] * x11 * x21 + coeff[4] * x21 * x31 + coeff[5] * x11 * x41 + coeff[6] * x31 * x41 + coeff[7] * x41;
  v_target_phi = v_target_phi + coeff[8] * x21 + coeff[9] * x31 * x44 + coeff[10] * x11 * x21 * x32 + coeff[11] * x21 * x33 + coeff[12] * x11 * x43 + coeff[13] * x11 * x23 * x41 + coeff[14] * x21 * x32 + coeff[15] * x31 * x42 + coeff[16] * x11 * x23;
  v_target_phi = v_target_phi + coeff[17] * x11 * x22 * x41 + coeff[18] * x12 * x31 * x41 + coeff[19] * x11 * x32 * x41;
  float dxall = 0 + dx1 + dx2 + dx3 + dx4;
  float dv_target_phi = dxall == 0 ? 0 : sqrt(+dx1 * dx1 * pow(0 + coeff[1] + coeff[3] * x21 + coeff[5] * x41 + coeff[10] * x21 * x32 + coeff[12] * x43 + coeff[13] * x23 * x41 + coeff[16] * x23 + coeff[17] * x22 * x41 + 2 * coeff[18] * x11 * x31 * x41 + coeff[19] * x32 * x41, 2) + dx2 * dx2 * pow(0 + coeff[3] * x11 + coeff[4] * x31 + coeff[8] + coeff[10] * x11 * x32 + coeff[11] * x33 + 3 * coeff[13] * x22 * x11 * x41 + coeff[14] * x32 + 3 * coeff[16] * x22 * x11 + 2 * coeff[17] * x21 * x11 * x41, 2) + dx3 * dx3 * pow(0 + coeff[2] + coeff[4] * x21 + coeff[6] * x41 + coeff[9] * x44 + 2 * coeff[10] * x31 * x11 * x21 + 3 * coeff[11] * x32 * x21 + 2 * coeff[14] * x31 * x21 + coeff[15] * x42 + coeff[18] * x12 * x41 + 2 * coeff[19] * x31 * x11 * x41, 2) + dx4 * dx4 * pow(0 + coeff[5] * x11 + coeff[6] * x31 + coeff[7] + 4 * coeff[9] * x43 * x31 + 3 * coeff[12] * x42 * x11 + coeff[13] * x11 * x23 + 2 * coeff[15] * x41 * x31 + coeff[17] * x11 * x22 + coeff[18] * x12 * x31 + coeff[19] * x11 * x32, 2));
  dx[0] = dv_target_phi;
  return v_target_phi;
}
```