user: What would the C source look like for the assembly code provided here?

```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  D49(%rip),%xmm0
  movss  %xmm0,-0x148(%rbp)
  movss  D307(%rip),%xmm0
  movss  %xmm0,-0xf0(%rbp)
  movss  D307(%rip),%xmm0
  movss  %xmm0,-0xec(%rbp)
  movss  D190(%rip),%xmm0
  movss  %xmm0,-0xe8(%rbp)
  movss  D101(%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  D194(%rip),%xmm0
  movss  %xmm0,-0xc0(%rbp)
  movss  D194(%rip),%xmm0
  movss  %xmm0,-0xbc(%rbp)
  movss  D320(%rip),%xmm0
  movss  %xmm0,-0xb8(%rbp)
  movss  D21(%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  D335(%rip),%xmm0
  movss  %xmm0,-0x60(%rbp)
  movss  D228(%rip),%xmm0
  movss  %xmm0,-0x5c(%rbp)
  movss  D287(%rip),%xmm0
  movss  %xmm0,-0x58(%rbp)
  movss  D6(%rip),%xmm0
  movss  %xmm0,-0x54(%rbp)
  movss  D304(%rip),%xmm0
  movss  %xmm0,-0x50(%rbp)
  movss  D28(%rip),%xmm0
  movss  %xmm0,-0x4c(%rbp)
  movss  D31(%rip),%xmm0
  movss  %xmm0,-0x48(%rbp)
  movss  D129(%rip),%xmm0
  movss  %xmm0,-0x44(%rbp)
  movss  D74(%rip),%xmm0
  movss  %xmm0,-0x40(%rbp)
  movss  D40(%rip),%xmm0
  movss  %xmm0,-0x3c(%rbp)
  movss  D270(%rip),%xmm0
  movss  %xmm0,-0x38(%rbp)
  movss  D128(%rip),%xmm0
  movss  %xmm0,-0x34(%rbp)
  movss  D189(%rip),%xmm0
  movss  %xmm0,-0x30(%rbp)
  movss  D187(%rip),%xmm0
  movss  %xmm0,-0x2c(%rbp)
  movss  D134(%rip),%xmm0
  movss  %xmm0,-0x28(%rbp)
  movss  D230(%rip),%xmm0
  movss  %xmm0,-0x24(%rbp)
  movss  D123(%rip),%xmm0
  movss  %xmm0,-0x20(%rbp)
  movss  D151(%rip),%xmm0
  movss  %xmm0,-0x1c(%rbp)
  movss  D308(%rip),%xmm0
  movss  %xmm0,-0x18(%rbp)
  pxor   %xmm0,%xmm0
  movss  %xmm0,-0x14(%rbp)
  movl   $0x0,-0x144(%rbp)
  cmpl   $0x0,-0x144(%rbp)
  jne    L83
  movl   $0x1,-0x144(%rbp)
  movl   $0x0,-0x150(%rbp)
  jmp    L21
L18:
  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     L35
  ucomiss %xmm1,%xmm0
  je     L4
L35:
  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  D226(%rip),%xmm0
  divss  %xmm1,%xmm0
  mov    -0x150(%rbp),%eax
  cltq
  movss  %xmm0,-0x90(%rbp,%rax,4)
  jmp    L77
L4:
  nop
L77:
  addl   $0x1,-0x150(%rbp)
L21:
  mov    -0x150(%rbp),%eax
  cmp    -0x164(%rbp),%eax
  jl     L18
L83:
  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  D322(%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  D322(%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  D322(%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  D322(%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     L19
  pxor   %xmm0,%xmm0
  ucomiss -0xf8(%rbp),%xmm0
  je     L0
L19:
  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  D112(%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    L41
L0:
  mov    D179(%rip),%eax
L41:
  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     L98
  call   <__stack_chk_fail@plt>
L98:
  leave
  ret
```

tool_calls: name: unpack_data
arguments: data_label: D49
data_type: byte[4]
name: unpack_data
arguments: data_label: D307
data_type: byte[4]
name: unpack_data
arguments: data_label: D190
data_type: byte[4]
name: unpack_data
arguments: data_label: D101
data_type: byte[4]
name: unpack_data
arguments: data_label: D194
data_type: f32
name: unpack_data
arguments: data_label: D320
data_type: byte[4]
name: unpack_data
arguments: data_label: D21
data_type: byte[4]
name: unpack_data
arguments: data_label: D335
data_type: byte[4]
name: unpack_data
arguments: data_label: D228
data_type: byte[4]
name: unpack_data
arguments: data_label: D287
data_type: byte[4]
name: unpack_data
arguments: data_label: D6
data_type: byte[4]
name: unpack_data
arguments: data_label: D304
data_type: byte[4]
name: unpack_data
arguments: data_label: D28
data_type: byte[4]
name: unpack_data
arguments: data_label: D31
data_type: byte[4]
name: unpack_data
arguments: data_label: D129
data_type: byte[4]
name: unpack_data
arguments: data_label: D74
data_type: byte[4]
name: unpack_data
arguments: data_label: D40
data_type: byte[4]
name: unpack_data
arguments: data_label: D270
data_type: byte[4]
name: unpack_data
arguments: data_label: D128
data_type: byte[4]
name: unpack_data
arguments: data_label: D189
data_type: byte[4]
name: unpack_data
arguments: data_label: D187
data_type: byte[4]
name: unpack_data
arguments: data_label: D134
data_type: byte[4]
name: unpack_data
arguments: data_label: D230
data_type: byte[4]
name: unpack_data
arguments: data_label: D123
data_type: byte[4]
name: unpack_data
arguments: data_label: D151
data_type: byte[4]
name: unpack_data
arguments: data_label: D308
data_type: byte[4]
name: unpack_data
arguments: data_label: D226
data_type: f32
name: unpack_data
arguments: data_label: D322
data_type: f32
name: unpack_data
arguments: data_label: D112
data_type: f32
name: unpack_data
arguments: data_label: D179
data_type: f32

tool: {"D49": [0x03,0xa5,0x97,0xc0]}

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

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

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

tool: D194: 15

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

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

tool: {"D335": [0x70,0xf9,0x51,0x3b]}

tool: {"D228": [0xb0,0xab,0x16,0xc2]}

tool: {"D287": [0x99,0x33,0xb2,0x40]}

tool: {"D6": [0x77,0xb1,0x7b,0x42]}

tool: {"D304": [0x63,0x32,0x12,0xc1]}

tool: {"D28": [0x51,0xaf,0x71,0xbd]}

tool: {"D31": [0xbe,0x7f,0xac,0x3d]}

tool: {"D129": [0x5b,0xf9,0xe4,0x3d]}

tool: {"D74": [0x21,0x48,0x12,0x3e]}

tool: {"D40": [0x76,0x48,0x27,0xbe]}

tool: {"D270": [0x4c,0x8f,0xdc,0xbd]}

tool: {"D128": [0x77,0x93,0x34,0xbd]}

tool: {"D189": [0xf4,0xdb,0xae,0xbc]}

tool: {"D187": [0x0a,0x6f,0x41,0xbd]}

tool: {"D134": [0x46,0x57,0x78,0x3d]}

tool: {"D230": [0x6f,0xe3,0x76,0xbb]}

tool: {"D123": [0x5d,0x6f,0x2b,0x3b]}

tool: {"D151": [0xca,0xf3,0x07,0x3c]}

tool: {"D308": [0xd0,0x73,0x2b,0xbc]}

tool: D226: 2

tool: D322: 1

tool: D112: 3

tool: D179: 0

assistant: ```c
float target_x(float *x, float *dx, int m) {
  int ncoeff = 19;
  float avdat = -0.4738893E+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.32039545E-02, -0.37667664E+02, 0.55687985E+01, 0.62923306E+02, -0.91373014E+01, -0.59005085E-01, 0.84228024E-01, 0.11180373E+00, 0.14285327E+00, -0.16336235E+00, -0.10769519E+00, -0.44085946E-01, -0.21345116E-01, -0.47225036E-01, 0.60630105E-01, -0.37672182E-02, 0.26158907E-02, 0.82978699E-02, -0.10464624E-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;
}
```