user: 请从给定的汇编指令推导出C源代码：

```asm
<target_x>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x170,%rsp
  mov    %rdi,-0x158(%rbp)
  mov    %rsi,-0x160(%rbp)
  mov    %edx,-0x164(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  movl   $0x13,-0x14c(%rbp)
  movss  D132(%rip),%xmm0
  movss  %xmm0,-0x148(%rbp)
  movss  D208(%rip),%xmm0
  movss  %xmm0,-0xf0(%rbp)
  movss  D208(%rip),%xmm0
  movss  %xmm0,-0xec(%rbp)
  movss  D244(%rip),%xmm0
  movss  %xmm0,-0xe8(%rbp)
  movss  D246(%rip),%xmm0
  movss  %xmm0,-0xe4(%rbp)
  pxor   %xmm0,%xmm0
  movss  %xmm0,-0xe0(%rbp)
  pxor   %xmm0,%xmm0
  movss  %xmm0,-0xdc(%rbp)
  pxor   %xmm0,%xmm0
  movss  %xmm0,-0xd8(%rbp)
  pxor   %xmm0,%xmm0
  movss  %xmm0,-0xd4(%rbp)
  pxor   %xmm0,%xmm0
  movss  %xmm0,-0xd0(%rbp)
  pxor   %xmm0,%xmm0
  movss  %xmm0,-0xcc(%rbp)
  movss  D177(%rip),%xmm0
  movss  %xmm0,-0xc0(%rbp)
  movss  D177(%rip),%xmm0
  movss  %xmm0,-0xbc(%rbp)
  movss  D242(%rip),%xmm0
  movss  %xmm0,-0xb8(%rbp)
  movss  D230(%rip),%xmm0
  movss  %xmm0,-0xb4(%rbp)
  pxor   %xmm0,%xmm0
  movss  %xmm0,-0xb0(%rbp)
  pxor   %xmm0,%xmm0
  movss  %xmm0,-0xac(%rbp)
  pxor   %xmm0,%xmm0
  movss  %xmm0,-0xa8(%rbp)
  pxor   %xmm0,%xmm0
  movss  %xmm0,-0xa4(%rbp)
  pxor   %xmm0,%xmm0
  movss  %xmm0,-0xa0(%rbp)
  pxor   %xmm0,%xmm0
  movss  %xmm0,-0x9c(%rbp)
  movq   $0x0,-0x90(%rbp)
  movq   $0x0,-0x88(%rbp)
  movq   $0x0,-0x80(%rbp)
  movq   $0x0,-0x78(%rbp)
  movq   $0x0,-0x70(%rbp)
  movss  D323(%rip),%xmm0
  movss  %xmm0,-0x60(%rbp)
  movss  D228(%rip),%xmm0
  movss  %xmm0,-0x5c(%rbp)
  movss  D229(%rip),%xmm0
  movss  %xmm0,-0x58(%rbp)
  movss  D95(%rip),%xmm0
  movss  %xmm0,-0x54(%rbp)
  movss  D77(%rip),%xmm0
  movss  %xmm0,-0x50(%rbp)
  movss  D185(%rip),%xmm0
  movss  %xmm0,-0x4c(%rbp)
  movss  D316(%rip),%xmm0
  movss  %xmm0,-0x48(%rbp)
  movss  D109(%rip),%xmm0
  movss  %xmm0,-0x44(%rbp)
  movss  D183(%rip),%xmm0
  movss  %xmm0,-0x40(%rbp)
  movss  D65(%rip),%xmm0
  movss  %xmm0,-0x3c(%rbp)
  movss  D156(%rip),%xmm0
  movss  %xmm0,-0x38(%rbp)
  movss  D257(%rip),%xmm0
  movss  %xmm0,-0x34(%rbp)
  movss  D341(%rip),%xmm0
  movss  %xmm0,-0x30(%rbp)
  movss  D40(%rip),%xmm0
  movss  %xmm0,-0x2c(%rbp)
  movss  D105(%rip),%xmm0
  movss  %xmm0,-0x28(%rbp)
  movss  D320(%rip),%xmm0
  movss  %xmm0,-0x24(%rbp)
  movss  D206(%rip),%xmm0
  movss  %xmm0,-0x20(%rbp)
  movss  D217(%rip),%xmm0
  movss  %xmm0,-0x1c(%rbp)
  movss  D115(%rip),%xmm0
  movss  %xmm0,-0x18(%rbp)
  pxor   %xmm0,%xmm0
  movss  %xmm0,-0x14(%rbp)
  movl   $0x0,-0x144(%rbp)
  cmpl   $0x0,-0x144(%rbp)
  jne    L24
  movl   $0x1,-0x144(%rbp)
  movl   $0x0,-0x150(%rbp)
  jmp    L60
L17:
  mov    -0x150(%rbp),%eax
  cltq
  movss  -0xf0(%rbp,%rax,4),%xmm0
  mov    -0x150(%rbp),%eax
  cltq
  movss  -0xc0(%rbp,%rax,4),%xmm1
  ucomiss %xmm1,%xmm0
  jp     L21
  ucomiss %xmm1,%xmm0
  je     L39
L21:
  mov    -0x150(%rbp),%eax
  cltq
  movss  -0xc0(%rbp,%rax,4),%xmm0
  mov    -0x150(%rbp),%eax
  cltq
  movss  -0xf0(%rbp,%rax,4),%xmm2
  movaps %xmm0,%xmm1
  subss  %xmm2,%xmm1
  movss  D178(%rip),%xmm0
  divss  %xmm1,%xmm0
  mov    -0x150(%rbp),%eax
  cltq
  movss  %xmm0,-0x90(%rbp,%rax,4)
  jmp    L66
L39:
  nop
L66:
  addl   $0x1,-0x150(%rbp)
L60:
  mov    -0x150(%rbp),%eax
  cmp    -0x164(%rbp),%eax
  jl     L17
L24:
  mov    -0x158(%rbp),%rax
  movss  (%rax),%xmm0
  movss  -0xc0(%rbp),%xmm2
  movaps %xmm0,%xmm1
  subss  %xmm2,%xmm1
  movss  -0x90(%rbp),%xmm0
  mulss  %xmm0,%xmm1
  movss  D325(%rip),%xmm0
  addss  %xmm1,%xmm0
  movss  %xmm0,-0x140(%rbp)
  mov    -0x160(%rbp),%rax
  movss  (%rax),%xmm1
  movss  -0x90(%rbp),%xmm0
  mulss  %xmm1,%xmm0
  movss  %xmm0,-0x13c(%rbp)
  mov    -0x158(%rbp),%rax
  add    $0x4,%rax
  movss  (%rax),%xmm0
  movss  -0xbc(%rbp),%xmm2
  movaps %xmm0,%xmm1
  subss  %xmm2,%xmm1
  movss  -0x8c(%rbp),%xmm0
  mulss  %xmm0,%xmm1
  movss  D325(%rip),%xmm0
  addss  %xmm1,%xmm0
  movss  %xmm0,-0x138(%rbp)
  mov    -0x160(%rbp),%rax
  add    $0x4,%rax
  movss  (%rax),%xmm1
  movss  -0x8c(%rbp),%xmm0
  mulss  %xmm1,%xmm0
  movss  %xmm0,-0x134(%rbp)
  mov    -0x158(%rbp),%rax
  add    $0x8,%rax
  movss  (%rax),%xmm0
  movss  -0xb8(%rbp),%xmm2
  movaps %xmm0,%xmm1
  subss  %xmm2,%xmm1
  movss  -0x88(%rbp),%xmm0
  mulss  %xmm0,%xmm1
  movss  D325(%rip),%xmm0
  addss  %xmm1,%xmm0
  movss  %xmm0,-0x130(%rbp)
  mov    -0x160(%rbp),%rax
  add    $0x8,%rax
  movss  (%rax),%xmm1
  movss  -0x88(%rbp),%xmm0
  mulss  %xmm1,%xmm0
  movss  %xmm0,-0x12c(%rbp)
  mov    -0x158(%rbp),%rax
  add    $0xc,%rax
  movss  (%rax),%xmm0
  movss  -0xb4(%rbp),%xmm2
  movaps %xmm0,%xmm1
  subss  %xmm2,%xmm1
  movss  -0x84(%rbp),%xmm0
  mulss  %xmm0,%xmm1
  movss  D325(%rip),%xmm0
  addss  %xmm1,%xmm0
  movss  %xmm0,-0x128(%rbp)
  mov    -0x160(%rbp),%rax
  add    $0xc,%rax
  movss  (%rax),%xmm1
  movss  -0x84(%rbp),%xmm0
  mulss  %xmm1,%xmm0
  movss  %xmm0,-0x124(%rbp)
  movss  -0x140(%rbp),%xmm0
  movss  %xmm0,-0x120(%rbp)
  movss  -0x120(%rbp),%xmm0
  mulss  -0x140(%rbp),%xmm0
  movss  %xmm0,-0x11c(%rbp)
  movss  -0x138(%rbp),%xmm0
  movss  %xmm0,-0x118(%rbp)
  movss  -0x118(%rbp),%xmm0
  mulss  -0x138(%rbp),%xmm0
  movss  %xmm0,-0x114(%rbp)
  movss  -0x130(%rbp),%xmm0
  movss  %xmm0,-0x110(%rbp)
  movss  -0x110(%rbp),%xmm0
  mulss  -0x130(%rbp),%xmm0
  movss  %xmm0,-0x10c(%rbp)
  movss  -0x128(%rbp),%xmm0
  movss  %xmm0,-0x108(%rbp)
  movss  -0x108(%rbp),%xmm0
  mulss  -0x128(%rbp),%xmm0
  movss  %xmm0,-0x104(%rbp)
  movss  -0x104(%rbp),%xmm0
  mulss  -0x128(%rbp),%xmm0
  movss  %xmm0,-0x100(%rbp)
  movss  -0x60(%rbp),%xmm0
  movaps %xmm0,%xmm1
  addss  -0x148(%rbp),%xmm1
  movss  -0x5c(%rbp),%xmm0
  mulss  -0x120(%rbp),%xmm0
  addss  %xmm0,%xmm1
  movss  -0x58(%rbp),%xmm0
  mulss  -0x118(%rbp),%xmm0
  addss  %xmm0,%xmm1
  movss  -0x54(%rbp),%xmm0
  mulss  -0x110(%rbp),%xmm0
  addss  %xmm0,%xmm1
  movss  -0x50(%rbp),%xmm0
  mulss  -0x108(%rbp),%xmm0
  addss  %xmm0,%xmm1
  movss  -0x4c(%rbp),%xmm0
  mulss  -0x120(%rbp),%xmm0
  mulss  -0x118(%rbp),%xmm0
  addss  %xmm0,%xmm1
  movss  -0x48(%rbp),%xmm0
  mulss  -0x120(%rbp),%xmm0
  mulss  -0x108(%rbp),%xmm0
  addss  %xmm0,%xmm1
  movss  -0x44(%rbp),%xmm0
  mulss  -0x118(%rbp),%xmm0
  mulss  -0x110(%rbp),%xmm0
  addss  %xmm1,%xmm0
  movss  %xmm0,-0xfc(%rbp)
  movss  -0x40(%rbp),%xmm0
  mulss  -0x118(%rbp),%xmm0
  mulss  -0x108(%rbp),%xmm0
  movaps %xmm0,%xmm1
  addss  -0xfc(%rbp),%xmm1
  movss  -0x3c(%rbp),%xmm0
  mulss  -0x110(%rbp),%xmm0
  mulss  -0x108(%rbp),%xmm0
  addss  %xmm0,%xmm1
  movss  -0x38(%rbp),%xmm0
  mulss  -0x104(%rbp),%xmm0
  addss  %xmm0,%xmm1
  movss  -0x34(%rbp),%xmm0
  mulss  -0x10c(%rbp),%xmm0
  addss  %xmm0,%xmm1
  movss  -0x30(%rbp),%xmm0
  mulss  -0x11c(%rbp),%xmm0
  addss  %xmm0,%xmm1
  movss  -0x2c(%rbp),%xmm0
  mulss  -0x114(%rbp),%xmm0
  addss  %xmm0,%xmm1
  movss  -0x28(%rbp),%xmm0
  mulss  -0x120(%rbp),%xmm0
  mulss  -0x110(%rbp),%xmm0
  addss  %xmm0,%xmm1
  movss  -0x24(%rbp),%xmm0
  mulss  -0x118(%rbp),%xmm0
  mulss  -0x10c(%rbp),%xmm0
  addss  %xmm0,%xmm1
  movss  -0x20(%rbp),%xmm0
  mulss  -0x11c(%rbp),%xmm0
  mulss  -0x108(%rbp),%xmm0
  addss  %xmm1,%xmm0
  movss  %xmm0,-0xfc(%rbp)
  movss  -0x1c(%rbp),%xmm0
  mulss  -0x118(%rbp),%xmm0
  mulss  -0x104(%rbp),%xmm0
  movaps %xmm0,%xmm1
  addss  -0xfc(%rbp),%xmm1
  movss  -0x18(%rbp),%xmm0
  mulss  -0x100(%rbp),%xmm0
  addss  %xmm1,%xmm0
  movss  %xmm0,-0xfc(%rbp)
  movss  -0x13c(%rbp),%xmm1
  pxor   %xmm0,%xmm0
  addss  %xmm1,%xmm0
  addss  -0x134(%rbp),%xmm0
  addss  -0x12c(%rbp),%xmm0
  movss  -0x124(%rbp),%xmm1
  addss  %xmm1,%xmm0
  movss  %xmm0,-0xf8(%rbp)
  pxor   %xmm0,%xmm0
  ucomiss -0xf8(%rbp),%xmm0
  jp     L16
  pxor   %xmm0,%xmm0
  ucomiss -0xf8(%rbp),%xmm0
  je     L36
L16:
  movss  -0x13c(%rbp),%xmm0
  mulss  %xmm0,%xmm0
  movss  %xmm0,-0x168(%rbp)
  movss  -0x5c(%rbp),%xmm1
  pxor   %xmm0,%xmm0
  addss  %xmm0,%xmm1
  movss  -0x4c(%rbp),%xmm0
  mulss  -0x118(%rbp),%xmm0
  addss  %xmm0,%xmm1
  movss  -0x48(%rbp),%xmm0
  mulss  -0x108(%rbp),%xmm0
  addss  %xmm0,%xmm1
  movss  -0x30(%rbp),%xmm0
  addss  %xmm0,%xmm0
  mulss  -0x120(%rbp),%xmm0
  addss  %xmm0,%xmm1
  movss  -0x28(%rbp),%xmm0
  mulss  -0x110(%rbp),%xmm0
  addss  %xmm0,%xmm1
  movss  -0x20(%rbp),%xmm0
  addss  %xmm0,%xmm0
  mulss  -0x120(%rbp),%xmm0
  mulss  -0x108(%rbp),%xmm0
  addss  %xmm0,%xmm1
  movd   %xmm1,%eax
  mov    $0x2,%edi
  movd   %eax,%xmm0
  call   <pow@plt>
  movaps %xmm0,%xmm4
  mulss  -0x168(%rbp),%xmm4
  movss  %xmm4,-0x168(%rbp)
  movss  -0x134(%rbp),%xmm0
  mulss  %xmm0,%xmm0
  movss  %xmm0,-0x16c(%rbp)
  movss  -0x58(%rbp),%xmm1
  pxor   %xmm0,%xmm0
  addss  %xmm0,%xmm1
  movss  -0x4c(%rbp),%xmm0
  mulss  -0x120(%rbp),%xmm0
  addss  %xmm0,%xmm1
  movss  -0x44(%rbp),%xmm0
  mulss  -0x110(%rbp),%xmm0
  addss  %xmm0,%xmm1
  movss  -0x40(%rbp),%xmm0
  mulss  -0x108(%rbp),%xmm0
  addss  %xmm0,%xmm1
  movss  -0x2c(%rbp),%xmm0
  addss  %xmm0,%xmm0
  mulss  -0x118(%rbp),%xmm0
  addss  %xmm0,%xmm1
  movss  -0x24(%rbp),%xmm0
  mulss  -0x10c(%rbp),%xmm0
  addss  %xmm0,%xmm1
  movss  -0x1c(%rbp),%xmm0
  mulss  -0x104(%rbp),%xmm0
  addss  %xmm0,%xmm1
  movd   %xmm1,%eax
  mov    $0x2,%edi
  movd   %eax,%xmm0
  call   <pow@plt>
  mulss  -0x16c(%rbp),%xmm0
  addss  -0x168(%rbp),%xmm0
  movss  %xmm0,-0x168(%rbp)
  movss  -0x12c(%rbp),%xmm0
  movaps %xmm0,%xmm7
  mulss  %xmm0,%xmm7
  movss  %xmm7,-0x16c(%rbp)
  movss  -0x54(%rbp),%xmm1
  pxor   %xmm0,%xmm0
  addss  %xmm0,%xmm1
  movss  -0x44(%rbp),%xmm0
  mulss  -0x118(%rbp),%xmm0
  addss  %xmm0,%xmm1
  movss  -0x3c(%rbp),%xmm0
  mulss  -0x108(%rbp),%xmm0
  addss  %xmm0,%xmm1
  movss  -0x34(%rbp),%xmm0
  addss  %xmm0,%xmm0
  mulss  -0x110(%rbp),%xmm0
  addss  %xmm0,%xmm1
  movss  -0x28(%rbp),%xmm0
  mulss  -0x120(%rbp),%xmm0
  addss  %xmm0,%xmm1
  movss  -0x24(%rbp),%xmm0
  addss  %xmm0,%xmm0
  mulss  -0x110(%rbp),%xmm0
  mulss  -0x118(%rbp),%xmm0
  addss  %xmm0,%xmm1
  movd   %xmm1,%eax
  mov    $0x2,%edi
  movd   %eax,%xmm0
  call   <pow@plt>
  mulss  -0x16c(%rbp),%xmm0
  movaps %xmm0,%xmm3
  addss  -0x168(%rbp),%xmm3
  movss  %xmm3,-0x168(%rbp)
  movss  -0x124(%rbp),%xmm0
  mulss  %xmm0,%xmm0
  movss  %xmm0,-0x16c(%rbp)
  movss  -0x50(%rbp),%xmm1
  pxor   %xmm0,%xmm0
  addss  %xmm0,%xmm1
  movss  -0x48(%rbp),%xmm0
  mulss  -0x120(%rbp),%xmm0
  addss  %xmm0,%xmm1
  movss  -0x40(%rbp),%xmm0
  mulss  -0x118(%rbp),%xmm0
  addss  %xmm0,%xmm1
  movss  -0x3c(%rbp),%xmm0
  mulss  -0x110(%rbp),%xmm0
  addss  %xmm0,%xmm1
  movss  -0x38(%rbp),%xmm0
  addss  %xmm0,%xmm0
  mulss  -0x108(%rbp),%xmm0
  addss  %xmm0,%xmm1
  movss  -0x20(%rbp),%xmm0
  mulss  -0x11c(%rbp),%xmm0
  addss  %xmm0,%xmm1
  movss  -0x1c(%rbp),%xmm0
  addss  %xmm0,%xmm0
  mulss  -0x108(%rbp),%xmm0
  mulss  -0x118(%rbp),%xmm0
  addss  %xmm0,%xmm1
  movss  -0x18(%rbp),%xmm2
  movss  D50(%rip),%xmm0
  mulss  %xmm2,%xmm0
  mulss  -0x104(%rbp),%xmm0
  addss  %xmm0,%xmm1
  movd   %xmm1,%eax
  mov    $0x2,%edi
  movd   %eax,%xmm0
  call   <pow@plt>
  mulss  -0x16c(%rbp),%xmm0
  addss  -0x168(%rbp),%xmm0
  movd   %xmm0,%eax
  movd   %eax,%xmm0
  call   <sqrt@plt>
  movd   %xmm0,%eax
  jmp    L90
L36:
  mov    D182(%rip),%eax
L90:
  mov    %eax,-0xf4(%rbp)
  mov    -0x160(%rbp),%rax
  movss  -0xf4(%rbp),%xmm0
  movss  %xmm0,(%rax)
  movss  -0xfc(%rbp),%xmm0
  mov    -0x8(%rbp),%rax
  sub    %fs:0x28,%rax
  je     L95
  call   <__stack_chk_fail@plt>
L95:
  leave
  ret
```

tool_calls: name: retrieve_data
arguments: data_label: D132
datatype: byte[4]
name: retrieve_data
arguments: data_label: D208
datatype: byte[4]
name: retrieve_data
arguments: data_label: D244
datatype: byte[4]
name: retrieve_data
arguments: data_label: D246
datatype: byte[4]
name: retrieve_data
arguments: data_label: D177
datatype: f32
name: retrieve_data
arguments: data_label: D242
datatype: byte[4]
name: retrieve_data
arguments: data_label: D230
datatype: byte[4]
name: retrieve_data
arguments: data_label: D323
datatype: byte[4]
name: retrieve_data
arguments: data_label: D228
datatype: byte[4]
name: retrieve_data
arguments: data_label: D229
datatype: byte[4]
name: retrieve_data
arguments: data_label: D95
datatype: byte[4]
name: retrieve_data
arguments: data_label: D77
datatype: byte[4]
name: retrieve_data
arguments: data_label: D185
datatype: byte[4]
name: retrieve_data
arguments: data_label: D316
datatype: byte[4]
name: retrieve_data
arguments: data_label: D109
datatype: byte[4]
name: retrieve_data
arguments: data_label: D183
datatype: byte[4]
name: retrieve_data
arguments: data_label: D65
datatype: byte[4]
name: retrieve_data
arguments: data_label: D156
datatype: byte[4]
name: retrieve_data
arguments: data_label: D257
datatype: byte[4]
name: retrieve_data
arguments: data_label: D341
datatype: byte[4]
name: retrieve_data
arguments: data_label: D40
datatype: byte[4]
name: retrieve_data
arguments: data_label: D105
datatype: byte[4]
name: retrieve_data
arguments: data_label: D320
datatype: byte[4]
name: retrieve_data
arguments: data_label: D206
datatype: byte[4]
name: retrieve_data
arguments: data_label: D217
datatype: byte[4]
name: retrieve_data
arguments: data_label: D115
datatype: byte[4]
name: retrieve_data
arguments: data_label: D178
datatype: f32
name: retrieve_data
arguments: data_label: D325
datatype: f32
name: retrieve_data
arguments: data_label: D50
datatype: f32
name: retrieve_data
arguments: data_label: D182
datatype: f32

tool: {"D132": [0xd0,0x33,0x9a,0xc0]}

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

tool: {"D244": [0x25,0x06,0x90,0xc1]}

tool: {"D246": [0x7b,0x14,0x90,0xc1]}

tool: D177: 15

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

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

tool: {"D323": [0xf2,0x6f,0x5f,0x3b]}

tool: {"D228": [0x63,0x56,0x17,0xc2]}

tool: {"D229": [0x1b,0xab,0xb5,0x40]}

tool: {"D95": [0xd1,0x74,0x7c,0x42]}

tool: {"D77": [0xcd,0xdf,0x14,0xc1]}

tool: {"D185": [0x3c,0x06,0x76,0xbd]}

tool: {"D316": [0x04,0x26,0xaf,0x3d]}

tool: {"D109": [0xe1,0x04,0xe9,0x3d]}

tool: {"D183": [0x2d,0xd5,0x16,0x3e]}

tool: {"D65": [0x56,0xcd,0x29,0xbe]}

tool: {"D156": [0xa5,0xea,0xe3,0xbd]}

tool: {"D257": [0x23,0xe6,0x3c,0xbd]}

tool: {"D341": [0x59,0x29,0xb5,0xbc]}

tool: {"D40": [0x9f,0x07,0x47,0xbd]}

tool: {"D105": [0x35,0x3a,0x81,0x3d]}

tool: {"D320": [0xde,0x80,0x7c,0xbb]}

tool: {"D206": [0xb5,0x75,0x2c,0x3b]}

tool: {"D217": [0xc4,0xa5,0x17,0x3c]}

tool: {"D115": [0x4f,0xf2,0x3e,0xbc]}

tool: D178: 2

tool: D325: 1

tool: D50: 3

tool: D182: 0

assistant: ```c
float target_x(float *x, float *dx, int m) {
  int ncoeff = 19;
  float avdat = -0.4818825E+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[20] = {0.34093824E-02, -0.37834362E+02, 0.56771369E+01, 0.63114079E+02, -0.93046389E+01, -0.60064539E-01, 0.85521728E-01, 0.11377884E+00, 0.14729758E+00, -0.16582236E+00, -0.11128739E+00, -0.46117913E-01, -0.22114443E-01, -0.48591252E-01, 0.63099302E-01, -0.38528959E-02, 0.26315276E-02, 0.92558302E-02, -0.11654451E-01, 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 x31 = x3;
  float x32 = x31 * x3;
  float x41 = x4;
  float x42 = x41 * x4;
  float x43 = x42 * x4;
  float v_target_x = avdat + coeff[0] + coeff[1] * x11 + coeff[2] * x21 + coeff[3] * x31 + coeff[4] * x41 + coeff[5] * x11 * x21 + coeff[6] * x11 * x41 + coeff[7] * x21 * x31;
  v_target_x = v_target_x + coeff[8] * x21 * x41 + coeff[9] * x31 * x41 + coeff[10] * x42 + coeff[11] * x32 + coeff[12] * x12 + coeff[13] * x22 + coeff[14] * x11 * x31 + coeff[15] * x21 * x32 + coeff[16] * x12 * x41;
  v_target_x = v_target_x + coeff[17] * x21 * x42 + coeff[18] * x43;
  float dxall = 0 + dx1 + dx2 + dx3 + dx4;
  float dv_target_x = dxall == 0 ? 0 : sqrt(+dx1 * dx1 * pow(0 + coeff[1] + coeff[5] * x21 + coeff[6] * x41 + 2 * coeff[12] * x11 + coeff[14] * x31 + 2 * coeff[16] * x11 * x41, 2) + dx2 * dx2 * pow(0 + coeff[2] + coeff[5] * x11 + coeff[7] * x31 + coeff[8] * x41 + 2 * coeff[13] * x21 + coeff[15] * x32 + coeff[17] * x42, 2) + dx3 * dx3 * pow(0 + coeff[3] + coeff[7] * x21 + coeff[9] * x41 + 2 * coeff[11] * x31 + coeff[14] * x11 + 2 * coeff[15] * x31 * x21, 2) + dx4 * dx4 * pow(0 + coeff[4] + coeff[6] * x11 + coeff[8] * x21 + coeff[9] * x31 + 2 * coeff[10] * x41 + coeff[16] * x12 + 2 * coeff[17] * x41 * x21 + 3 * coeff[18] * x42, 2));
  dx[0] = dv_target_x;
  return v_target_x;
}
```