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

```asm
<interp1_table1_real_per>:
  endbr64
  mov    %r8d,%eax
  push   %r15
  pxor   %xmm0,%xmm0
  mov    %rcx,%r15
  push   %r14
  imul   %r9d,%eax
  mov    %rsi,%r14
  push   %r13
  mov    %rdi,%r13
  push   %r12
  push   %rbp
  cvtsi2sd %eax,%xmm0
  push   %rbx
  mov    %edx,%ebx
  sub    $0x68,%rsp
  mulsd  D6(%rip),%xmm0
  movslq 0xa8(%rsp),%rbp
  mov    %r9d,0x5c(%rsp)
  mov    %r8d,0x58(%rsp)
  cvttsd2si %xmm0,%edi
  call   <floor@plt>
  test   %ebp,%ebp
  jle    L24
  pxor   %xmm0,%xmm0
  movslq %eax,%r12
  mov    0xa0(%rsp),%rax
  cvtsi2sdl 0x58(%rsp),%xmm0
  mulsd  D6(%rip),%xmm0
  lea    (%rax,%rbp,8),%rax
  mov    %rax,0x50(%rsp)
  movsd  %xmm0,0x48(%rsp)
  nopl   0x0(%rax,%rax,1)
L45:
  addq   $0x8,0xa0(%rsp)
  mov    0xa0(%rsp),%rax
  movsd  -0x8(%rax),%xmm7
  movapd %xmm7,%xmm0
  subsd  0x48(%rsp),%xmm0
  movsd  %xmm7,0x28(%rsp)
  cvttsd2si %xmm0,%edi
  call   <floor@plt>
  mov    0x58(%rsp),%edx
  lea    0x1(%rax),%ebp
  test   %edx,%edx
  jle    L21
  pxor   %xmm7,%xmm7
  lea    0x1(%rax,%rdx,1),%eax
  pxor   %xmm3,%xmm3
  cvtsi2sdl 0x5c(%rsp),%xmm7
  mov    %eax,0x34(%rsp)
  movapd %xmm3,%xmm4
  movsd  %xmm7,0x38(%rsp)
  pxor   %xmm7,%xmm7
  cvtsi2sd %ebx,%xmm7
  movsd  %xmm7,0x40(%rsp)
  nopl   0x0(%rax)
L3:
  pxor   %xmm2,%xmm2
  movsd  0x28(%rsp),%xmm0
  movsd  %xmm3,0x20(%rsp)
  cvtsi2sd %ebp,%xmm2
  movsd  %xmm4,0x18(%rsp)
  subsd  %xmm2,%xmm0
  mulsd  0x38(%rsp),%xmm0
  movsd  %xmm2,0x10(%rsp)
  cvttsd2si %xmm0,%edi
  movsd  %xmm0,0x8(%rsp)
  call   <floor@plt>
  pxor   %xmm1,%xmm1
  movsd  0x8(%rsp),%xmm0
  movsd  0x10(%rsp),%xmm2
  cvtsi2sd %eax,%xmm1
  cltq
  divsd  0x40(%rsp),%xmm2
  add    %r12,%rax
  cvttsd2si %xmm2,%edi
  lea    (%r15,%rax,8),%rax
  subsd  %xmm1,%xmm0
  movsd  D4(%rip),%xmm1
  subsd  %xmm0,%xmm1
  mulsd  0x8(%rax),%xmm0
  mulsd  (%rax),%xmm1
  addsd  %xmm1,%xmm0
  movsd  %xmm0,0x8(%rsp)
  call   <floor@plt>
  mov    %ebp,%ecx
  add    $0x1,%ebp
  movsd  0x8(%rsp),%xmm0
  imul   %ebx,%eax
  movsd  0x18(%rsp),%xmm4
  movsd  0x20(%rsp),%xmm3
  sub    %eax,%ecx
  movslq %ecx,%rax
  movsd  0x0(%r13,%rax,8),%xmm1
  mulsd  %xmm0,%xmm1
  mulsd  (%r14,%rax,8),%xmm0
  addsd  %xmm1,%xmm4
  addsd  %xmm0,%xmm3
  cmp    %ebp,0x34(%rsp)
  jne    L3
L4:
  addq   $0x8,0xb0(%rsp)
  mov    0xb0(%rsp),%rax
  addq   $0x8,0xb8(%rsp)
  movsd  %xmm4,-0x8(%rax)
  mov    0xb8(%rsp),%rax
  movsd  %xmm3,-0x8(%rax)
  mov    0x50(%rsp),%rax
  cmp    0xa0(%rsp),%rax
  jne    L45
L24:
  add    $0x68,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L21:
  pxor   %xmm3,%xmm3
  movapd %xmm3,%xmm4
  jmp    L4
```

tool_calls: name: retrieve_data
arguments: data_tag: D6
data_type: f32[2]
name: retrieve_data
arguments: data_tag: D4
data_type: f64

tool: {"D6": [0.0,1.75]}

tool: D4: 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;
  }
}
```