user: Demonstrate the C code that generates the assembly output below:

```asm
<interp2_table1_real_per>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x98,%rsp
  mov    %rdi,%r15
  mov    %rsi,%r14
  mov    %edx,%r13d
  mov    %ecx,0x4c(%rsp)
  mov    %r8,%rbp
  mov    %r9,0x68(%rsp)
  mov    0xf8(%rsp),%ebx
  mov    0xd0(%rsp),%eax
  imul   0xe0(%rsp),%eax
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  mulsd  D53(%rip),%xmm0
  cvttsd2si %xmm0,%edi
  call   <floor@plt>
  cltq
  mov    %rax,0x30(%rsp)
  mov    0xd8(%rsp),%eax
  imul   0xe8(%rsp),%eax
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  mulsd  D53(%rip),%xmm0
  cvttsd2si %xmm0,%edi
  call   <floor@plt>
  cltq
  mov    %rax,0x60(%rsp)
  test   %ebx,%ebx
  jle    L43
  movslq %ebx,%rax
  shl    $0x3,%rax
  mov    %rax,0x78(%rsp)
  pxor   %xmm0,%xmm0
  cvtsi2sdl 0xd0(%rsp),%xmm0
  mulsd  D53(%rip),%xmm0
  movsd  %xmm0,0x80(%rsp)
  mov    %ebx,%ebx
  mov    0xf0(%rsp),%rax
  lea    (%rax,%rbx,8),%rax
  mov    %rax,0x88(%rsp)
  mov    %r15,%rbx
L64:
  mov    0xf0(%rsp),%rax
  mov    0x78(%rsp),%rsi
  movsd  (%rax,%rsi,1),%xmm7
  movsd  %xmm7,0x58(%rsp)
  addq   $0x8,0xf0(%rsp)
  mov    0xf0(%rsp),%rax
  movsd  -0x8(%rax),%xmm6
  movsd  %xmm6,0x28(%rsp)
  movapd %xmm6,%xmm0
  subsd  0x80(%rsp),%xmm0
  cvttsd2si %xmm0,%edi
  call   <floor@plt>
  mov    %eax,%r12d
  lea    0x1(%rax),%eax
  mov    %eax,0x74(%rsp)
  pxor   %xmm0,%xmm0
  cvtsi2sdl 0xd8(%rsp),%xmm0
  mulsd  D53(%rip),%xmm0
  movsd  0x58(%rsp),%xmm1
  subsd  %xmm0,%xmm1
  cvttsd2si %xmm1,%edi
  call   <floor@plt>
  lea    0x1(%rax),%esi
  mov    %esi,0x48(%rsp)
  cmpl   $0x0,0xd8(%rsp)
  jle    L27
  mov    0xd8(%rsp),%esi
  lea    0x1(%rax,%rsi,1),%eax
  mov    %eax,0x70(%rsp)
  pxor   %xmm7,%xmm7
  movsd  %xmm7,0x40(%rsp)
  movsd  %xmm7,0x38(%rsp)
  mov    0xd0(%rsp),%eax
  lea    0x1(%r12,%rax,1),%r15d
  mov    %r15d,%r12d
L54:
  mov    0x48(%rsp),%r15d
  pxor   %xmm6,%xmm6
  cvtsi2sd %r15d,%xmm6
  movsd  0x58(%rsp),%xmm1
  movsd  %xmm6,0x8(%rsp)
  subsd  %xmm6,%xmm1
  pxor   %xmm0,%xmm0
  cvtsi2sdl 0xe8(%rsp),%xmm0
  mulsd  %xmm0,%xmm1
  movsd  %xmm1,(%rsp)
  cvttsd2si %xmm1,%edi
  call   <floor@plt>
  pxor   %xmm1,%xmm1
  cvtsi2sd %eax,%xmm1
  movsd  (%rsp),%xmm0
  subsd  %xmm1,%xmm0
  cltq
  add    0x60(%rsp),%rax
  mov    0x68(%rsp),%rsi
  lea    (%rsi,%rax,8),%rax
  movsd  D46(%rip),%xmm1
  subsd  %xmm0,%xmm1
  mulsd  (%rax),%xmm1
  mulsd  0x8(%rax),%xmm0
  addsd  %xmm0,%xmm1
  movsd  %xmm1,0x50(%rsp)
  pxor   %xmm1,%xmm1
  cvtsi2sdl 0x4c(%rsp),%xmm1
  movsd  0x8(%rsp),%xmm0
  divsd  %xmm1,%xmm0
  cvttsd2si %xmm0,%edi
  call   <floor@plt>
  imul   0x4c(%rsp),%eax
  mov    %r15d,%edx
  sub    %eax,%edx
  imul   %r13d,%edx
  mov    %edx,0x24(%rsp)
  cmpl   $0x0,0xd0(%rsp)
  jle    L9
  mov    0x74(%rsp),%r15d
  pxor   %xmm6,%xmm6
  movsd  %xmm6,0x10(%rsp)
  movsd  %xmm6,0x8(%rsp)
L17:
  pxor   %xmm3,%xmm3
  cvtsi2sd %r15d,%xmm3
  movsd  0x28(%rsp),%xmm1
  movsd  %xmm3,0x18(%rsp)
  subsd  %xmm3,%xmm1
  pxor   %xmm0,%xmm0
  cvtsi2sdl 0xe0(%rsp),%xmm0
  mulsd  %xmm0,%xmm1
  movsd  %xmm1,(%rsp)
  cvttsd2si %xmm1,%edi
  call   <floor@plt>
  pxor   %xmm1,%xmm1
  cvtsi2sd %eax,%xmm1
  movsd  (%rsp),%xmm0
  subsd  %xmm1,%xmm0
  cltq
  add    0x30(%rsp),%rax
  lea    0x0(%rbp,%rax,8),%rax
  movsd  D46(%rip),%xmm1
  subsd  %xmm0,%xmm1
  mulsd  (%rax),%xmm1
  mulsd  0x8(%rax),%xmm0
  addsd  %xmm0,%xmm1
  movsd  %xmm1,(%rsp)
  pxor   %xmm1,%xmm1
  cvtsi2sd %r13d,%xmm1
  movsd  0x18(%rsp),%xmm0
  divsd  %xmm1,%xmm0
  cvttsd2si %xmm0,%edi
  call   <floor@plt>
  imul   %r13d,%eax
  mov    %eax,%edx
  mov    %r15d,%eax
  sub    %edx,%eax
  add    0x24(%rsp),%eax
  cltq
  movsd  (%rsp),%xmm2
  movapd %xmm2,%xmm0
  mulsd  (%rbx,%rax,8),%xmm0
  addsd  0x8(%rsp),%xmm0
  movsd  %xmm0,0x8(%rsp)
  mulsd  (%r14,%rax,8),%xmm2
  movapd %xmm2,%xmm0
  addsd  0x10(%rsp),%xmm0
  movsd  %xmm0,0x10(%rsp)
  add    $0x1,%r15d
  cmp    %r15d,%r12d
  jne    L17
L21:
  movsd  0x8(%rsp),%xmm0
  movsd  0x50(%rsp),%xmm7
  mulsd  %xmm7,%xmm0
  addsd  0x38(%rsp),%xmm0
  movsd  %xmm0,0x38(%rsp)
  mulsd  0x10(%rsp),%xmm7
  movapd %xmm7,%xmm0
  addsd  0x40(%rsp),%xmm0
  movsd  %xmm0,0x40(%rsp)
  addl   $0x1,0x48(%rsp)
  mov    0x48(%rsp),%eax
  cmp    %eax,0x70(%rsp)
  jne    L54
L0:
  addq   $0x8,0x100(%rsp)
  mov    0x100(%rsp),%rax
  movsd  0x38(%rsp),%xmm7
  movsd  %xmm7,-0x8(%rax)
  addq   $0x8,0x108(%rsp)
  mov    0x108(%rsp),%rax
  movsd  0x40(%rsp),%xmm7
  movsd  %xmm7,-0x8(%rax)
  mov    0x88(%rsp),%rax
  cmp    %rax,0xf0(%rsp)
  jne    L64
L43:
  add    $0x98,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L9:
  pxor   %xmm7,%xmm7
  movsd  %xmm7,0x10(%rsp)
  movsd  %xmm7,0x8(%rsp)
  jmp    L21
L27:
  pxor   %xmm7,%xmm7
  movsd  %xmm7,0x40(%rsp)
  movsd  %xmm7,0x38(%rsp)
  jmp    L0
```

tool_calls: name: disassemble_data
arguments: label: D53
type_guessed: f32[2]
name: disassemble_data
arguments: label: D46
type_guessed: f64

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

tool: D46: 1

assistant: ```c
void interp2_table1_real_per(const double *r_ck, const 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, double *r_fm, 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;
  }
  for (mm = 0; mm < M; mm++) {
    int jj1, jj2;
    const double t2 = p_tm[M];
    const double t1 = *p_tm++;
    double sum2r = 0;
    double sum2i = 0;
    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;
      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);
        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;
        sum1r += coef1r * r_ck[kk];
        sum1i += coef1r * i_ck[kk];
      }
      sum2r += coef2r * sum1r;
      sum2i += coef2r * sum1i;
    }
    *r_fm++ = sum2r;
    *i_fm++ = sum2i;
  }
}
```