user: 请显示与下面列出的汇编代码相匹配的C语言实现:

```asm
<interp1_table1_real_per>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %rbx
  sub    $0x88,%rsp
  mov    %rdi,-0x58(%rbp)
  mov    %rsi,-0x60(%rbp)
  mov    %edx,-0x64(%rbp)
  mov    %rcx,-0x70(%rbp)
  mov    %r8d,-0x68(%rbp)
  mov    %r9d,-0x74(%rbp)
  mov    -0x68(%rbp),%eax
  imul   -0x74(%rbp),%eax
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  movsd  D27(%rip),%xmm1
  divsd  %xmm1,%xmm0
  cvttsd2si %xmm0,%eax
  mov    %eax,%edi
  call   <floor@plt>
  mov    %eax,-0x38(%rbp)
  mov    -0x38(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rax,-0x70(%rbp)
  movl   $0x0,-0x44(%rbp)
  jmp    L22
L19:
  mov    0x10(%rbp),%rax
  lea    0x8(%rax),%rdx
  mov    %rdx,0x10(%rbp)
  movsd  (%rax),%xmm0
  movsd  %xmm0,-0x28(%rbp)
  pxor   %xmm4,%xmm4
  movsd  %xmm4,-0x80(%rbp)
  pxor   %xmm5,%xmm5
  movsd  %xmm5,-0x88(%rbp)
  pxor   %xmm0,%xmm0
  cvtsi2sdl -0x68(%rbp),%xmm0
  movsd  D27(%rip),%xmm2
  movapd %xmm0,%xmm1
  divsd  %xmm2,%xmm1
  movsd  -0x28(%rbp),%xmm0
  subsd  %xmm1,%xmm0
  cvttsd2si %xmm0,%eax
  mov    %eax,%edi
  call   <floor@plt>
  add    $0x1,%eax
  mov    %eax,-0x3c(%rbp)
  movl   $0x0,-0x40(%rbp)
  jmp    L25
L30:
  pxor   %xmm2,%xmm2
  cvtsi2sdl -0x3c(%rbp),%xmm2
  movsd  -0x28(%rbp),%xmm0
  movapd %xmm0,%xmm1
  subsd  %xmm2,%xmm1
  pxor   %xmm0,%xmm0
  cvtsi2sdl -0x74(%rbp),%xmm0
  mulsd  %xmm1,%xmm0
  movsd  %xmm0,-0x20(%rbp)
  movsd  -0x20(%rbp),%xmm0
  cvttsd2si %xmm0,%eax
  mov    %eax,%edi
  call   <floor@plt>
  mov    %eax,-0x34(%rbp)
  pxor   %xmm1,%xmm1
  cvtsi2sdl -0x34(%rbp),%xmm1
  movsd  -0x20(%rbp),%xmm0
  subsd  %xmm1,%xmm0
  movsd  %xmm0,-0x18(%rbp)
  mov    -0x34(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x70(%rbp),%rax
  lea    (%rdx,%rax,1),%rbx
  movsd  D22(%rip),%xmm0
  movapd %xmm0,%xmm1
  subsd  -0x18(%rbp),%xmm1
  movsd  (%rbx),%xmm0
  mulsd  %xmm0,%xmm1
  lea    0x8(%rbx),%rax
  movsd  (%rax),%xmm0
  mulsd  -0x18(%rbp),%xmm0
  addsd  %xmm0,%xmm1
  movsd  %xmm1,-0x90(%rbp)
  pxor   %xmm0,%xmm0
  cvtsi2sdl -0x3c(%rbp),%xmm0
  pxor   %xmm1,%xmm1
  cvtsi2sdl -0x64(%rbp),%xmm1
  divsd  %xmm1,%xmm0
  cvttsd2si %xmm0,%eax
  mov    %eax,%edi
  call   <floor@plt>
  mov    %eax,-0x30(%rbp)
  mov    -0x64(%rbp),%eax
  imul   -0x30(%rbp),%eax
  mov    %eax,%edx
  mov    -0x3c(%rbp),%eax
  sub    %edx,%eax
  mov    %eax,-0x2c(%rbp)
  mov    -0x2c(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x58(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  movsd  -0x90(%rbp),%xmm3
  mulsd  %xmm3,%xmm0
  addsd  -0x80(%rbp),%xmm0
  movsd  %xmm0,-0x80(%rbp)
  mov    -0x2c(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x60(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mulsd  %xmm3,%xmm0
  addsd  -0x88(%rbp),%xmm0
  movsd  %xmm0,-0x88(%rbp)
  addl   $0x1,-0x40(%rbp)
  addl   $0x1,-0x3c(%rbp)
L25:
  mov    -0x40(%rbp),%eax
  cmp    -0x68(%rbp),%eax
  jl     L30
  mov    0x20(%rbp),%rax
  lea    0x8(%rax),%rdx
  mov    %rdx,0x20(%rbp)
  movsd  -0x80(%rbp),%xmm4
  movsd  %xmm4,(%rax)
  mov    0x28(%rbp),%rax
  lea    0x8(%rax),%rdx
  mov    %rdx,0x28(%rbp)
  movsd  -0x88(%rbp),%xmm5
  movsd  %xmm5,(%rax)
  addl   $0x1,-0x44(%rbp)
L22:
  mov    -0x44(%rbp),%eax
  cmp    0x18(%rbp),%eax
  jl     L19
  nop
  nop
  mov    -0x8(%rbp),%rbx
  leave
  ret
```

tool_calls: name: parse_data
arguments: data_label: D27
type_guessed: f64
name: parse_data
arguments: data_label: D22
type_guessed: f64

tool: D27: 2

tool: D22: 1

assistant: ```c
void interp1_table1_real_per(const double *r_ck, const double *i_ck, const int K1, const double *r_h1, const int J1, const int L1, const double *p_tm, const int M, double *r_fm, double *i_fm) {
  int mm;
  {
    const int ncenter1 = floor(J1 * L1 / 2.);
    r_h1 += ncenter1;
  }
  for (mm = 0; mm < M; mm++) {
    int jj1;
    const double t1 = *p_tm++;
    register double sum1r = 0;
    register double sum1i = 0;
    int k1 = 1 + floor(t1 - J1 / 2.);
    for (jj1 = 0; jj1 < J1; jj1++, k1++) {
      const double p1 = (t1 - k1) * L1;
      const int n1 = floor(p1);
      const double alf1 = p1 - n1;
      register const double *ph1 = r_h1 + n1;
      register double coef1r = (1 - alf1) * *ph1 + alf1 * *(ph1 + 1);
      const int wrap1 = floor(k1 / (double)K1);
      const int k1mod = k1 - K1 * wrap1;
      sum1r += coef1r * r_ck[k1mod];
      sum1i += coef1r * i_ck[k1mod];
    }
    *r_fm++ = sum1r;
    *i_fm++ = sum1i;
  }
}
```