user: What is the c source code of the assembly code below?

```asm
<interp2_table1_real_per_adj>:
  endbr64
  push   %r15
  push   %r14
  mov    %rdi,%r14
  push   %r13
  mov    %rsi,%r13
  push   %r12
  mov    %edx,%r12d
  push   %rbp
  mov    %ecx,%ebp
  push   %rbx
  sub    $0xc8,%rsp
  mov    0x100(%rsp),%eax
  imul   0x110(%rsp),%eax
  mov    %ecx,0x70(%rsp)
  mov    %r8,0x40(%rsp)
  movslq 0x128(%rsp),%rbx
  mov    %r9,0x88(%rsp)
  mov    %eax,%edi
  shr    $0x1f,%edi
  add    %eax,%edi
  sar    %edi
  call   <floor@plt>
  movslq %eax,%r15
  mov    0x108(%rsp),%eax
  imul   0x118(%rsp),%eax
  mov    %eax,%edi
  shr    $0x1f,%edi
  add    %eax,%edi
  sar    %edi
  call   <floor@plt>
  xor    %esi,%esi
  mov    %r14,%rdi
  cltq
  mov    %rax,0x80(%rsp)
  mov    %ebp,%eax
  imul   %r12d,%eax
  lea    0x0(,%rax,8),%ebp
  mov    %ebp,%edx
  call   <memset@plt>
  xor    %esi,%esi
  mov    %ebp,%edx
  mov    %r13,%rdi
  call   <memset@plt>
  test   %ebx,%ebx
  jle    L55
  lea    0x0(,%rbx,8),%rax
  pxor   %xmm0,%xmm0
  pxor   %xmm7,%xmm7
  mov    %rax,0x98(%rsp)
  add    0x120(%rsp),%rax
  cvtsi2sdl 0x100(%rsp),%xmm0
  mov    %rax,0xa8(%rsp)
  mov    0x108(%rsp),%eax
  cvtsi2sdl 0x108(%rsp),%xmm7
  mulsd  D29(%rip),%xmm0
  add    $0x1,%eax
  mov    %eax,0xbc(%rsp)
  mov    0x100(%rsp),%eax
  movsd  %xmm7,0xb0(%rsp)
  add    $0x1,%eax
  mov    %eax,0xb8(%rsp)
  movsd  %xmm0,0xa0(%rsp)
  nopl   0x0(%rax,%rax,1)
L24:
  mov    0x120(%rsp),%rax
  mov    0x98(%rsp),%rsi
  addq   $0x8,0x120(%rsp)
  addq   $0x8,0x130(%rsp)
  movsd  (%rax,%rsi,1),%xmm7
  mov    0x120(%rsp),%rax
  addq   $0x8,0x138(%rsp)
  movsd  %xmm7,0x50(%rsp)
  movsd  -0x8(%rax),%xmm6
  mov    0x130(%rsp),%rax
  movsd  %xmm6,0x38(%rsp)
  movsd  -0x8(%rax),%xmm3
  subsd  0xa0(%rsp),%xmm6
  mov    0x138(%rsp),%rax
  movsd  %xmm3,0x58(%rsp)
  cvttsd2si %xmm6,%edi
  movsd  -0x8(%rax),%xmm4
  movsd  %xmm4,0x60(%rsp)
  call   <floor@plt>
  movsd  D29(%rip),%xmm1
  mulsd  0xb0(%rsp),%xmm1
  movsd  0x50(%rsp),%xmm0
  mov    %eax,0x90(%rsp)
  add    $0x1,%eax
  mov    %eax,0x94(%rsp)
  subsd  %xmm1,%xmm0
  cvttsd2si %xmm0,%edi
  call   <floor@plt>
  mov    0x108(%rsp),%edx
  lea    0x1(%rax),%esi
  mov    %esi,0x4c(%rsp)
  test   %edx,%edx
  jle    L38
  pxor   %xmm7,%xmm7
  add    0xbc(%rsp),%eax
  cvtsi2sdl 0x118(%rsp),%xmm7
  mov    %eax,0x74(%rsp)
  movsd  %xmm7,0x68(%rsp)
  pxor   %xmm7,%xmm7
  cvtsi2sdl 0x70(%rsp),%xmm7
  movsd  %xmm7,0x78(%rsp)
  nopw   0x0(%rax,%rax,1)
L7:
  mov    0x4c(%rsp),%ebx
  pxor   %xmm2,%xmm2
  movsd  0x50(%rsp),%xmm0
  cvtsi2sd %ebx,%xmm2
  subsd  %xmm2,%xmm0
  mulsd  0x68(%rsp),%xmm0
  movsd  %xmm2,0x10(%rsp)
  cvttsd2si %xmm0,%edi
  movsd  %xmm0,0x8(%rsp)
  call   <floor@plt>
  pxor   %xmm1,%xmm1
  movsd  0x8(%rsp),%xmm0
  mov    0x88(%rsp),%rsi
  cvtsi2sd %eax,%xmm1
  cltq
  add    0x80(%rsp),%rax
  movsd  0x10(%rsp),%xmm2
  lea    (%rsi,%rax,8),%rax
  divsd  0x78(%rsp),%xmm2
  cvttsd2si %xmm2,%edi
  subsd  %xmm1,%xmm0
  movsd  D25(%rip),%xmm1
  subsd  %xmm0,%xmm1
  mulsd  0x8(%rax),%xmm0
  mulsd  (%rax),%xmm1
  addsd  %xmm1,%xmm0
  movsd  %xmm0,0x8(%rsp)
  call   <floor@plt>
  movsd  0x8(%rsp),%xmm0
  movsd  0x58(%rsp),%xmm6
  imul   0x70(%rsp),%eax
  mulsd  %xmm0,%xmm6
  mulsd  0x60(%rsp),%xmm0
  sub    %eax,%ebx
  mov    0x100(%rsp),%eax
  imul   %r12d,%ebx
  movsd  %xmm6,0x18(%rsp)
  movsd  %xmm0,0x20(%rsp)
  test   %eax,%eax
  jle    L32
  pxor   %xmm7,%xmm7
  pxor   %xmm6,%xmm6
  mov    0xb8(%rsp),%eax
  add    0x90(%rsp),%eax
  cvtsi2sd %r12d,%xmm6
  mov    %eax,0x48(%rsp)
  mov    0x94(%rsp),%ebp
  cvtsi2sdl 0x110(%rsp),%xmm7
  movsd  %xmm6,0x30(%rsp)
  movsd  %xmm7,0x28(%rsp)
  nopl   0x0(%rax)
L35:
  pxor   %xmm2,%xmm2
  movsd  0x38(%rsp),%xmm1
  cvtsi2sd %ebp,%xmm2
  subsd  %xmm2,%xmm1
  mulsd  0x28(%rsp),%xmm1
  movsd  %xmm2,0x10(%rsp)
  cvttsd2si %xmm1,%edi
  movsd  %xmm1,0x8(%rsp)
  call   <floor@plt>
  pxor   %xmm0,%xmm0
  mov    0x40(%rsp),%rdx
  movsd  0x8(%rsp),%xmm1
  cvtsi2sd %eax,%xmm0
  cltq
  movsd  0x10(%rsp),%xmm2
  divsd  0x30(%rsp),%xmm2
  add    %r15,%rax
  cvttsd2si %xmm2,%edi
  lea    (%rdx,%rax,8),%rax
  subsd  %xmm0,%xmm1
  movsd  D25(%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  0x18(%rsp),%xmm1
  imul   %r12d,%eax
  mulsd  %xmm0,%xmm1
  mulsd  0x20(%rsp),%xmm0
  mov    %eax,%ecx
  mov    %ebp,%eax
  add    $0x1,%ebp
  sub    %ecx,%eax
  add    %ebx,%eax
  cltq
  shl    $0x3,%rax
  lea    (%r14,%rax,1),%rcx
  add    %r13,%rax
  addsd  (%rcx),%xmm1
  movsd  %xmm1,(%rcx)
  addsd  (%rax),%xmm0
  movsd  %xmm0,(%rax)
  cmp    0x48(%rsp),%ebp
  jne    L35
L32:
  addl   $0x1,0x4c(%rsp)
  mov    0x4c(%rsp),%eax
  cmp    0x74(%rsp),%eax
  jne    L7
L38:
  mov    0xa8(%rsp),%rax
  cmp    0x120(%rsp),%rax
  jne    L24
L55:
  add    $0xc8,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
```

tool_calls: name: disassemble_data
arguments: data_label: D29
type_guessed: byte[8]
name: disassemble_data
arguments: data_label: D25
type_guessed: f64

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

tool: D25: 1

assistant: ```c
void interp2_table1_real_per_adj(double *r_ck, double *i_ck, const int K1, const int K2, const double *r_h1, const double *r_h2, const int J1, const int J2, const int L1, const int L2, const double *p_tm, const int M, const double *r_fm, const double *i_fm) {
  int mm;
  {
    const int ncenter1 = floor(J1 * L1 / 2);
    r_h1 += ncenter1;
  }
  {
    const int ncenter2 = floor(J2 * L2 / 2);
    r_h2 += ncenter2;
  }
  (void)memset((void *)r_ck, 0, K1 * K2 * sizeof(*r_ck));
  (void)memset((void *)i_ck, 0, K1 * K2 * sizeof(*i_ck));
  for (mm = 0; mm < M; mm++) {
    int jj1, jj2;
    const double t2 = p_tm[M];
    const double t1 = *p_tm++;
    const double fmr = *r_fm++;
    const double fmi = *i_fm++;
    const int koff1 = 1 + floor(t1 - J1 / 2.);
    int k2 = 1 + floor(t2 - J2 / 2.);
    for (jj2 = 0; jj2 < J2; jj2++, k2++) {
      const double p2 = (t2 - k2) * L2;
      const int n2 = floor(p2);
      const double alf2 = p2 - n2;
      register const double *ph2 = r_h2 + n2;
      double coef2r = (1 - alf2) * *ph2 + alf2 * *(ph2 + 1);
      const int wrap2 = floor(k2 / (double)K2);
      const int k2mod = k2 - K2 * wrap2;
      const int k12mod = k2mod * K1;
      const double v2r = coef2r * fmr;
      const double v2i = coef2r * fmi;
      int k1 = koff1;
      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;
        const int kk = k12mod + k1mod;
        r_ck[kk] += coef1r * v2r;
        i_ck[kk] += coef1r * v2i;
      }
    }
  }
}
```