user: 这段汇编代码用C语言表示是什么样的:

```asm
<interp4_table0_complex_per>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x170,%rsp
  mov    %rdi,-0x128(%rbp)
  mov    %rsi,-0x130(%rbp)
  mov    %edx,-0x134(%rbp)
  mov    %ecx,-0x138(%rbp)
  mov    %r8d,-0x13c(%rbp)
  mov    %r9d,-0x140(%rbp)
  mov    0x50(%rbp),%eax
  imul   0x70(%rbp),%eax
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  movsd  D108(%rip),%xmm1
  divsd  %xmm1,%xmm0
  movq   %xmm0,%rax
  movq   %rax,%xmm0
  call   <floor@plt>
  cvttsd2si %xmm0,%eax
  mov    %eax,-0xfc(%rbp)
  mov    -0xfc(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rax,0x10(%rbp)
  mov    -0xfc(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rax,0x18(%rbp)
  mov    0x58(%rbp),%eax
  imul   0x78(%rbp),%eax
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  movsd  D108(%rip),%xmm1
  divsd  %xmm1,%xmm0
  movq   %xmm0,%rax
  movq   %rax,%xmm0
  call   <floor@plt>
  cvttsd2si %xmm0,%eax
  mov    %eax,-0xf8(%rbp)
  mov    -0xf8(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rax,0x20(%rbp)
  mov    -0xf8(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rax,0x28(%rbp)
  mov    0x60(%rbp),%eax
  imul   0x80(%rbp),%eax
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  movsd  D108(%rip),%xmm1
  divsd  %xmm1,%xmm0
  movq   %xmm0,%rax
  movq   %rax,%xmm0
  call   <floor@plt>
  cvttsd2si %xmm0,%eax
  mov    %eax,-0xf4(%rbp)
  mov    -0xf4(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rax,0x30(%rbp)
  mov    -0xf4(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rax,0x38(%rbp)
  mov    0x68(%rbp),%eax
  imul   0x88(%rbp),%eax
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  movsd  D108(%rip),%xmm1
  divsd  %xmm1,%xmm0
  movq   %xmm0,%rax
  movq   %rax,%xmm0
  call   <floor@plt>
  cvttsd2si %xmm0,%eax
  mov    %eax,-0xf0(%rbp)
  mov    -0xf0(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rax,0x40(%rbp)
  mov    -0xf0(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rax,0x48(%rbp)
  movl   $0x0,-0x120(%rbp)
  jmp    L18
L42:
  mov    0x98(%rbp),%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    0x90(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  movsd  %xmm0,-0x90(%rbp)
  mov    0x98(%rbp),%eax
  add    %eax,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    0x90(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  movsd  %xmm0,-0x88(%rbp)
  mov    0x98(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    0x90(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  movsd  %xmm0,-0x80(%rbp)
  mov    0x90(%rbp),%rax
  lea    0x8(%rax),%rdx
  mov    %rdx,0x90(%rbp)
  movsd  (%rax),%xmm0
  movsd  %xmm0,-0x78(%rbp)
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0xc0(%rbp)
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0xb8(%rbp)
  pxor   %xmm0,%xmm0
  cvtsi2sdl 0x50(%rbp),%xmm0
  movsd  D108(%rip),%xmm2
  movapd %xmm0,%xmm1
  divsd  %xmm2,%xmm1
  movsd  -0x78(%rbp),%xmm0
  subsd  %xmm1,%xmm0
  movq   %xmm0,%rax
  movq   %rax,%xmm0
  call   <floor@plt>
  movsd  D52(%rip),%xmm1
  addsd  %xmm1,%xmm0
  cvttsd2si %xmm0,%eax
  mov    %eax,-0xec(%rbp)
  pxor   %xmm0,%xmm0
  cvtsi2sdl 0x58(%rbp),%xmm0
  movsd  D108(%rip),%xmm2
  movapd %xmm0,%xmm1
  divsd  %xmm2,%xmm1
  movsd  -0x80(%rbp),%xmm0
  subsd  %xmm1,%xmm0
  movq   %xmm0,%rax
  movq   %rax,%xmm0
  call   <floor@plt>
  movsd  D52(%rip),%xmm1
  addsd  %xmm1,%xmm0
  cvttsd2si %xmm0,%eax
  mov    %eax,-0xe8(%rbp)
  pxor   %xmm0,%xmm0
  cvtsi2sdl 0x60(%rbp),%xmm0
  movsd  D108(%rip),%xmm2
  movapd %xmm0,%xmm1
  divsd  %xmm2,%xmm1
  movsd  -0x88(%rbp),%xmm0
  subsd  %xmm1,%xmm0
  movq   %xmm0,%rax
  movq   %rax,%xmm0
  call   <floor@plt>
  movsd  D52(%rip),%xmm1
  addsd  %xmm1,%xmm0
  cvttsd2si %xmm0,%eax
  mov    %eax,-0xe4(%rbp)
  pxor   %xmm0,%xmm0
  cvtsi2sdl 0x68(%rbp),%xmm0
  movsd  D108(%rip),%xmm2
  movapd %xmm0,%xmm1
  divsd  %xmm2,%xmm1
  movsd  -0x90(%rbp),%xmm0
  subsd  %xmm1,%xmm0
  movq   %xmm0,%rax
  movq   %rax,%xmm0
  call   <floor@plt>
  movsd  D52(%rip),%xmm1
  addsd  %xmm1,%xmm0
  cvttsd2si %xmm0,%eax
  mov    %eax,-0x10c(%rbp)
  movl   $0x0,-0x110(%rbp)
  jmp    L67
L66:
  pxor   %xmm2,%xmm2
  cvtsi2sdl -0x10c(%rbp),%xmm2
  movsd  -0x90(%rbp),%xmm0
  movapd %xmm0,%xmm1
  subsd  %xmm2,%xmm1
  pxor   %xmm0,%xmm0
  cvtsi2sdl 0x88(%rbp),%xmm0
  mulsd  %xmm1,%xmm0
  movsd  %xmm0,-0x70(%rbp)
  movsd  -0x70(%rbp),%xmm1
  movsd  D41(%rip),%xmm0
  addsd  %xmm0,%xmm1
  movq   %xmm1,%rax
  movq   %rax,%xmm0
  call   <floor@plt>
  cvttsd2si %xmm0,%eax
  mov    %eax,-0xe0(%rbp)
  mov    -0xe0(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    0x40(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  movsd  %xmm0,-0x68(%rbp)
  mov    -0xe0(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    0x48(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  movsd  %xmm0,-0x60(%rbp)
  pxor   %xmm6,%xmm6
  cvtsi2sdl -0x10c(%rbp),%xmm6
  movsd  %xmm6,-0x148(%rbp)
  pxor   %xmm3,%xmm3
  cvtsi2sdl -0x140(%rbp),%xmm3
  movsd  %xmm3,-0x150(%rbp)
  pxor   %xmm0,%xmm0
  cvtsi2sdl -0x10c(%rbp),%xmm0
  pxor   %xmm1,%xmm1
  cvtsi2sdl -0x140(%rbp),%xmm1
  divsd  %xmm1,%xmm0
  movq   %xmm0,%rax
  movq   %rax,%xmm0
  call   <floor@plt>
  mulsd  -0x150(%rbp),%xmm0
  movsd  -0x148(%rbp),%xmm1
  subsd  %xmm0,%xmm1
  cvttsd2si %xmm1,%eax
  mov    %eax,-0xdc(%rbp)
  mov    -0xdc(%rbp),%eax
  imul   -0x13c(%rbp),%eax
  imul   -0x138(%rbp),%eax
  imul   -0x134(%rbp),%eax
  cltq
  mov    %rax,-0x58(%rbp)
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0xb0(%rbp)
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0xa8(%rbp)
  mov    -0xe4(%rbp),%eax
  mov    %eax,-0x108(%rbp)
  movl   $0x0,-0x114(%rbp)
  jmp    L22
L61:
  pxor   %xmm2,%xmm2
  cvtsi2sdl -0x108(%rbp),%xmm2
  movsd  -0x88(%rbp),%xmm0
  movapd %xmm0,%xmm1
  subsd  %xmm2,%xmm1
  pxor   %xmm0,%xmm0
  cvtsi2sdl 0x80(%rbp),%xmm0
  mulsd  %xmm1,%xmm0
  movsd  %xmm0,-0x50(%rbp)
  movsd  -0x50(%rbp),%xmm1
  movsd  D41(%rip),%xmm0
  addsd  %xmm0,%xmm1
  movq   %xmm1,%rax
  movq   %rax,%xmm0
  call   <floor@plt>
  cvttsd2si %xmm0,%eax
  mov    %eax,-0xd8(%rbp)
  mov    -0xd8(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    0x30(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  movsd  %xmm0,-0x48(%rbp)
  mov    -0xd8(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    0x38(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  movsd  %xmm0,-0x40(%rbp)
  pxor   %xmm7,%xmm7
  cvtsi2sdl -0x108(%rbp),%xmm7
  movsd  %xmm7,-0x148(%rbp)
  pxor   %xmm4,%xmm4
  cvtsi2sdl -0x13c(%rbp),%xmm4
  movsd  %xmm4,-0x150(%rbp)
  pxor   %xmm0,%xmm0
  cvtsi2sdl -0x108(%rbp),%xmm0
  pxor   %xmm1,%xmm1
  cvtsi2sdl -0x13c(%rbp),%xmm1
  divsd  %xmm1,%xmm0
  movq   %xmm0,%rax
  movq   %rax,%xmm0
  call   <floor@plt>
  mulsd  -0x150(%rbp),%xmm0
  movsd  -0x148(%rbp),%xmm1
  subsd  %xmm0,%xmm1
  cvttsd2si %xmm1,%eax
  mov    %eax,-0xd4(%rbp)
  mov    -0xd4(%rbp),%eax
  imul   -0x138(%rbp),%eax
  imul   -0x134(%rbp),%eax
  cltq
  mov    %rax,-0x38(%rbp)
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0xa0(%rbp)
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0x98(%rbp)
  mov    -0xe8(%rbp),%eax
  mov    %eax,-0x104(%rbp)
  movl   $0x0,-0x118(%rbp)
  jmp    L26
L31:
  pxor   %xmm2,%xmm2
  cvtsi2sdl -0x104(%rbp),%xmm2
  movsd  -0x80(%rbp),%xmm0
  movapd %xmm0,%xmm1
  subsd  %xmm2,%xmm1
  pxor   %xmm0,%xmm0
  cvtsi2sdl 0x78(%rbp),%xmm0
  mulsd  %xmm1,%xmm0
  movsd  %xmm0,-0x30(%rbp)
  movsd  -0x30(%rbp),%xmm1
  movsd  D41(%rip),%xmm0
  addsd  %xmm0,%xmm1
  movq   %xmm1,%rax
  movq   %rax,%xmm0
  call   <floor@plt>
  cvttsd2si %xmm0,%eax
  mov    %eax,-0xd0(%rbp)
  mov    -0xd0(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    0x20(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  movsd  %xmm0,-0x28(%rbp)
  mov    -0xd0(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    0x28(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  movsd  %xmm0,-0x20(%rbp)
  pxor   %xmm6,%xmm6
  cvtsi2sdl -0x104(%rbp),%xmm6
  movsd  %xmm6,-0x148(%rbp)
  pxor   %xmm3,%xmm3
  cvtsi2sdl -0x138(%rbp),%xmm3
  movsd  %xmm3,-0x150(%rbp)
  pxor   %xmm0,%xmm0
  cvtsi2sdl -0x104(%rbp),%xmm0
  pxor   %xmm1,%xmm1
  cvtsi2sdl -0x138(%rbp),%xmm1
  divsd  %xmm1,%xmm0
  movq   %xmm0,%rax
  movq   %rax,%xmm0
  call   <floor@plt>
  mulsd  -0x150(%rbp),%xmm0
  movsd  -0x148(%rbp),%xmm1
  subsd  %xmm0,%xmm1
  cvttsd2si %xmm1,%eax
  mov    %eax,-0xcc(%rbp)
  mov    -0xcc(%rbp),%eax
  imul   -0x134(%rbp),%eax
  cltq
  mov    %rax,-0x18(%rbp)
  pxor   %xmm6,%xmm6
  movsd  %xmm6,-0x148(%rbp)
  pxor   %xmm6,%xmm6
  movsd  %xmm6,-0x150(%rbp)
  mov    -0xec(%rbp),%eax
  mov    %eax,-0x100(%rbp)
  movl   $0x0,-0x11c(%rbp)
  jmp    L60
L59:
  pxor   %xmm2,%xmm2
  cvtsi2sdl -0x100(%rbp),%xmm2
  movsd  -0x78(%rbp),%xmm0
  movapd %xmm0,%xmm1
  subsd  %xmm2,%xmm1
  pxor   %xmm0,%xmm0
  cvtsi2sdl 0x70(%rbp),%xmm0
  mulsd  %xmm1,%xmm0
  movsd  %xmm0,-0x10(%rbp)
  movsd  -0x10(%rbp),%xmm1
  movsd  D41(%rip),%xmm0
  addsd  %xmm0,%xmm1
  movq   %xmm1,%rax
  movq   %rax,%xmm0
  call   <floor@plt>
  cvttsd2si %xmm0,%eax
  mov    %eax,-0xc8(%rbp)
  mov    -0xc8(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    0x10(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm5
  movsd  %xmm5,-0x168(%rbp)
  mov    -0xc8(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    0x18(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm7
  movsd  %xmm7,-0x170(%rbp)
  pxor   %xmm6,%xmm6
  cvtsi2sdl -0x100(%rbp),%xmm6
  movsd  %xmm6,-0x158(%rbp)
  pxor   %xmm4,%xmm4
  cvtsi2sdl -0x134(%rbp),%xmm4
  movsd  %xmm4,-0x160(%rbp)
  pxor   %xmm0,%xmm0
  cvtsi2sdl -0x100(%rbp),%xmm0
  pxor   %xmm1,%xmm1
  cvtsi2sdl -0x134(%rbp),%xmm1
  divsd  %xmm1,%xmm0
  movq   %xmm0,%rax
  movq   %rax,%xmm0
  call   <floor@plt>
  mulsd  -0x160(%rbp),%xmm0
  movsd  -0x158(%rbp),%xmm1
  subsd  %xmm0,%xmm1
  cvttsd2si %xmm1,%eax
  mov    %eax,-0xc4(%rbp)
  mov    -0x58(%rbp),%rdx
  mov    -0x38(%rbp),%rax
  add    %rax,%rdx
  mov    -0x18(%rbp),%rax
  add    %rax,%rdx
  mov    -0xc4(%rbp),%eax
  cltq
  add    %rdx,%rax
  mov    %rax,-0x8(%rbp)
  mov    -0x8(%rbp),%rax
  lea    0x0(,%rax,8),%rdx
  mov    -0x128(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  movsd  -0x168(%rbp),%xmm5
  mulsd  %xmm5,%xmm0
  mov    -0x8(%rbp),%rax
  lea    0x0(,%rax,8),%rdx
  mov    -0x130(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm1
  movsd  -0x170(%rbp),%xmm7
  mulsd  %xmm7,%xmm1
  subsd  %xmm1,%xmm0
  addsd  -0x148(%rbp),%xmm0
  movsd  %xmm0,-0x148(%rbp)
  mov    -0x8(%rbp),%rax
  lea    0x0(,%rax,8),%rdx
  mov    -0x130(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mulsd  %xmm0,%xmm5
  movapd %xmm5,%xmm1
  mov    -0x8(%rbp),%rax
  lea    0x0(,%rax,8),%rdx
  mov    -0x128(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mulsd  %xmm7,%xmm0
  addsd  %xmm1,%xmm0
  addsd  -0x150(%rbp),%xmm0
  movsd  %xmm0,-0x150(%rbp)
  addl   $0x1,-0x11c(%rbp)
  addl   $0x1,-0x100(%rbp)
L60:
  mov    -0x11c(%rbp),%eax
  cmp    0x50(%rbp),%eax
  jl     L59
  movsd  -0x148(%rbp),%xmm3
  movapd %xmm3,%xmm0
  mulsd  -0x28(%rbp),%xmm0
  movsd  -0x150(%rbp),%xmm4
  movapd %xmm4,%xmm1
  mulsd  -0x20(%rbp),%xmm1
  subsd  %xmm1,%xmm0
  movsd  -0xa0(%rbp),%xmm1
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0xa0(%rbp)
  mulsd  -0x28(%rbp),%xmm4
  movapd %xmm4,%xmm1
  mulsd  -0x20(%rbp),%xmm3
  movapd %xmm3,%xmm0
  addsd  %xmm1,%xmm0
  movsd  -0x98(%rbp),%xmm1
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x98(%rbp)
  addl   $0x1,-0x118(%rbp)
  addl   $0x1,-0x104(%rbp)
L26:
  mov    -0x118(%rbp),%eax
  cmp    0x58(%rbp),%eax
  jl     L31
  movsd  -0x48(%rbp),%xmm0
  mulsd  -0xa0(%rbp),%xmm0
  movsd  -0x40(%rbp),%xmm1
  mulsd  -0x98(%rbp),%xmm1
  subsd  %xmm1,%xmm0
  movsd  -0xb0(%rbp),%xmm1
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0xb0(%rbp)
  movsd  -0x48(%rbp),%xmm0
  movapd %xmm0,%xmm1
  mulsd  -0x98(%rbp),%xmm1
  movsd  -0x40(%rbp),%xmm0
  mulsd  -0xa0(%rbp),%xmm0
  addsd  %xmm1,%xmm0
  movsd  -0xa8(%rbp),%xmm1
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0xa8(%rbp)
  addl   $0x1,-0x114(%rbp)
  addl   $0x1,-0x108(%rbp)
L22:
  mov    -0x114(%rbp),%eax
  cmp    0x60(%rbp),%eax
  jl     L61
  movsd  -0x68(%rbp),%xmm0
  mulsd  -0xb0(%rbp),%xmm0
  movsd  -0x60(%rbp),%xmm1
  mulsd  -0xa8(%rbp),%xmm1
  subsd  %xmm1,%xmm0
  movsd  -0xc0(%rbp),%xmm1
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0xc0(%rbp)
  movsd  -0x68(%rbp),%xmm0
  movapd %xmm0,%xmm1
  mulsd  -0xa8(%rbp),%xmm1
  movsd  -0x60(%rbp),%xmm0
  mulsd  -0xb0(%rbp),%xmm0
  addsd  %xmm1,%xmm0
  movsd  -0xb8(%rbp),%xmm1
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0xb8(%rbp)
  addl   $0x1,-0x110(%rbp)
  addl   $0x1,-0x10c(%rbp)
L67:
  mov    -0x110(%rbp),%eax
  cmp    0x68(%rbp),%eax
  jl     L66
  mov    0xa0(%rbp),%rax
  lea    0x8(%rax),%rdx
  mov    %rdx,0xa0(%rbp)
  movsd  -0xc0(%rbp),%xmm0
  movsd  %xmm0,(%rax)
  mov    0xa8(%rbp),%rax
  lea    0x8(%rax),%rdx
  mov    %rdx,0xa8(%rbp)
  movsd  -0xb8(%rbp),%xmm0
  movsd  %xmm0,(%rax)
  addl   $0x1,-0x120(%rbp)
L18:
  mov    -0x120(%rbp),%eax
  cmp    0x98(%rbp),%eax
  jl     L42
  nop
  nop
  leave
  ret
```

tool_calls: name: retrieve_data
arguments: data_tag: D108
data_type: f64
name: retrieve_data
arguments: data_tag: D52
data_type: f32[2]
name: retrieve_data
arguments: data_tag: D41
data_type: f64

tool: D108: 2

tool: {"D52": [0.0,1.875]}

tool: D41: 0.5

assistant: ```c
void interp4_table0_complex_per(const double *r_ck, const double *i_ck, const int K1, const int K2, const int K3, const int K4, const double *r_h1, const double *i_h1, const double *r_h2, const double *i_h2, const double *r_h3, const double *i_h3, const double *r_h4, const double *i_h4, const int J1, const int J2, const int J3, const int J4, const int L1, const int L2, const int L3, const int L4, const double *p_tm, const int M, double *r_fm, double *i_fm) {
  {
    const int ncenter1 = floor(J1 * L1 / 2.);
    r_h1 += ncenter1;
    i_h1 += ncenter1;
  }
  {
    const int ncenter2 = floor(J2 * L2 / 2.);
    r_h2 += ncenter2;
    i_h2 += ncenter2;
  }
  {
    const int ncenter3 = floor(J3 * L3 / 2.);
    r_h3 += ncenter3;
    i_h3 += ncenter3;
  }
  {
    const int ncenter4 = floor(J4 * L4 / 2.);
    r_h4 += ncenter4;
    i_h4 += ncenter4;
  }
  for (int mm = 0; mm < M; mm++) {
    int jj1, jj2, jj3, jj4;
    const double t4 = p_tm[3 * M];
    const double t3 = p_tm[2 * M];
    const double t2 = p_tm[M];
    const double t1 = *p_tm++;
    double sum4r = 0;
    double sum4i = 0;
    const int koff1 = 1 + floor(t1 - J1 / 2.);
    const int koff2 = 1 + floor(t2 - J2 / 2.);
    const int koff3 = 1 + floor(t3 - J3 / 2.);
    int k4 = 1 + floor(t4 - J4 / 2.);
    for (jj4 = 0; jj4 < J4; jj4++, k4++) {
      const double p4 = (t4 - k4) * L4;
      const int n4 = floor(p4 + 0.5);
      const double coef4r = r_h4[n4];
      const double coef4i = i_h4[n4];
      const int k4mod = ((k4) - (K4)*floor((k4) / (double)(K4)));
      const long k4Idx = k4mod * K3 * K2 * K1;
      double sum3r = 0;
      double sum3i = 0;
      int k3 = koff3;
      for (jj3 = 0; jj3 < J3; jj3++, k3++) {
        const double p3 = (t3 - k3) * L3;
        const int n3 = floor(p3 + 0.5);
        const double coef3r = r_h3[n3];
        const double coef3i = i_h3[n3];
        const int k3mod = ((k3) - (K3)*floor((k3) / (double)(K3)));
        const long k3Idx = k3mod * K2 * K1;
        double sum2r = 0;
        double sum2i = 0;
        int k2 = koff2;
        for (jj2 = 0; jj2 < J2; jj2++, k2++) {
          const double p2 = (t2 - k2) * L2;
          const int n2 = floor(p2 + 0.5);
          const double coef2r = r_h2[n2];
          const double coef2i = i_h2[n2];
          const int k2mod = ((k2) - (K2)*floor((k2) / (double)(K2)));
          const long k2Idx = k2mod * K1;
          register double sum1r = 0;
          register double sum1i = 0;
          int k1 = koff1;
          for (jj1 = 0; jj1 < J1; jj1++, k1++) {
            const double p1 = (t1 - k1) * L1;
            const int n1 = floor(p1 + 0.5);
            register const double coef1r = r_h1[n1];
            register const double coef1i = i_h1[n1];
            const int k1mod = ((k1) - (K1)*floor((k1) / (double)(K1)));
            const long kk = k4Idx + k3Idx + k2Idx + k1mod;
            sum1r += coef1r * r_ck[kk] - coef1i * i_ck[kk];
            sum1i += coef1r * i_ck[kk] + coef1i * r_ck[kk];
          }
          sum2r += coef2r * sum1r - coef2i * sum1i;
          sum2i += coef2r * sum1i + coef2i * sum1r;
        }
        sum3r += coef3r * sum2r - coef3i * sum2i;
        sum3i += coef3r * sum2i + coef3i * sum2r;
      }
      sum4r += coef4r * sum3r - coef4i * sum3i;
      sum4i += coef4r * sum3i + coef4i * sum3r;
    }
    *r_fm++ = sum4r;
    *i_fm++ = sum4i;
  }
}
```