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

```asm
<interp1_table1_real_per_adj>:
  endbr64
  push   %r15
  mov    %rcx,%r15
  push   %r14
  lea    0x0(,%rdx,8),%r14d
  push   %r13
  mov    %rsi,%r13
  xor    %esi,%esi
  push   %r12
  mov    %rdi,%r12
  push   %rbp
  push   %rbx
  mov    %edx,%ebx
  mov    %r14d,%edx
  sub    $0x68,%rsp
  mov    %r8d,0x48(%rsp)
  movslq 0xa8(%rsp),%rbp
  mov    %r9d,0x4c(%rsp)
  call   <memset@plt>
  xor    %esi,%esi
  mov    %r13,%rdi
  mov    %r14d,%edx
  call   <memset@plt>
  mov    0x48(%rsp),%eax
  imul   0x4c(%rsp),%eax
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  mulsd  D28(%rip),%xmm0
  cvttsd2si %xmm0,%edi
  call   <floor@plt>
  test   %ebp,%ebp
  jle    L25
  pxor   %xmm0,%xmm0
  movslq %eax,%r14
  mov    0xa0(%rsp),%rax
  cvtsi2sdl 0x48(%rsp),%xmm0
  mulsd  D28(%rip),%xmm0
  lea    (%rax,%rbp,8),%rax
  mov    %rax,0x58(%rsp)
  movsd  %xmm0,0x50(%rsp)
  nopl   0x0(%rax)
L34:
  addq   $0x8,0xa0(%rsp)
  mov    0xa0(%rsp),%rax
  addq   $0x8,0xb0(%rsp)
  addq   $0x8,0xb8(%rsp)
  movsd  -0x8(%rax),%xmm6
  mov    0xb0(%rsp),%rax
  movsd  %xmm6,0x18(%rsp)
  subsd  0x50(%rsp),%xmm6
  movsd  -0x8(%rax),%xmm7
  mov    0xb8(%rsp),%rax
  cvttsd2si %xmm6,%edi
  movsd  %xmm7,0x20(%rsp)
  movsd  -0x8(%rax),%xmm7
  movsd  %xmm7,0x28(%rsp)
  call   <floor@plt>
  mov    0x48(%rsp),%edx
  lea    0x1(%rax),%ebp
  test   %edx,%edx
  jle    L30
  pxor   %xmm7,%xmm7
  mov    0x48(%rsp),%esi
  cvtsi2sdl 0x4c(%rsp),%xmm7
  lea    0x1(%rax,%rsi,1),%eax
  mov    %eax,0x3c(%rsp)
  movsd  %xmm7,0x30(%rsp)
  pxor   %xmm7,%xmm7
  cvtsi2sd %ebx,%xmm7
  movsd  %xmm7,0x40(%rsp)
  nopl   0x0(%rax)
L37:
  pxor   %xmm2,%xmm2
  movsd  0x18(%rsp),%xmm1
  cvtsi2sd %ebp,%xmm2
  subsd  %xmm2,%xmm1
  mulsd  0x30(%rsp),%xmm1
  movsd  %xmm2,0x10(%rsp)
  cvttsd2si %xmm1,%edi
  movsd  %xmm1,0x8(%rsp)
  call   <floor@plt>
  pxor   %xmm0,%xmm0
  movsd  0x8(%rsp),%xmm1
  movsd  0x10(%rsp),%xmm2
  cvtsi2sd %eax,%xmm0
  cltq
  divsd  0x40(%rsp),%xmm2
  add    %r14,%rax
  cvttsd2si %xmm2,%edi
  lea    (%r15,%rax,8),%rax
  subsd  %xmm0,%xmm1
  movsd  D23(%rip),%xmm0
  subsd  %xmm1,%xmm0
  mulsd  0x8(%rax),%xmm1
  mulsd  (%rax),%xmm0
  addsd  %xmm1,%xmm0
  movsd  %xmm0,0x8(%rsp)
  call   <floor@plt>
  movsd  0x8(%rsp),%xmm0
  movsd  0x20(%rsp),%xmm1
  imul   %ebx,%eax
  mulsd  %xmm0,%xmm1
  mulsd  0x28(%rsp),%xmm0
  mov    %eax,%ecx
  mov    %ebp,%eax
  add    $0x1,%ebp
  sub    %ecx,%eax
  cltq
  shl    $0x3,%rax
  lea    (%r12,%rax,1),%rcx
  add    %r13,%rax
  addsd  (%rcx),%xmm1
  movsd  %xmm1,(%rcx)
  addsd  (%rax),%xmm0
  movsd  %xmm0,(%rax)
  cmp    0x3c(%rsp),%ebp
  jne    L37
L30:
  mov    0x58(%rsp),%rax
  cmp    0xa0(%rsp),%rax
  jne    L34
L25:
  add    $0x68,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
```

tool_calls: name: read_data
arguments: data_label: D28
type_infered: byte[8]
name: read_data
arguments: data_label: D23
type_infered: f64

tool: {"D28": [0x00,0x00,0x00,0x00,0x00,0x00,0xe0,0x3f]}

tool: D23: 1

assistant: ```c
void interp1_table1_real_per_adj(double *r_ck, double *i_ck, const int K1, const double *r_h1, const int J1, const int L1, const double *p_tm, const int M, const double *r_fm, const double *i_fm) {
  (void)memset((void *)r_ck, 0, K1 * sizeof(*r_ck));
  (void)memset((void *)i_ck, 0, K1 * sizeof(*i_ck));
  {
    const int ncenter1 = floor(J1 * L1 / 2.);
    r_h1 += ncenter1;
  }
  for (int mm = 0; mm < M; mm++) {
    const double t1 = *p_tm++;
    const double fmr = *r_fm++;
    const double fmi = *i_fm++;
    int k1 = 1 + floor(t1 - J1 / 2.);
    for (int 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;
      r_ck[k1mod] += coef1r * fmr;
      i_ck[k1mod] += coef1r * fmi;
    }
  }
}
```