user: Translate the below assembly code into C programming language:

```asm
<interp3_table0_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    $0x118,%rsp
  mov    0x160(%rsp),%eax
  imul   0x178(%rsp),%eax
  mov    %ecx,0x64(%rsp)
  mov    %r8d,0xc0(%rsp)
  movslq 0x198(%rsp),%rbx
  mov    %r9,0x48(%rsp)
  mov    %eax,%edi
  shr    $0x1f,%edi
  add    %eax,%edi
  sar    %edi
  call   <floor@plt>
  movslq %eax,%r15
  mov    0x168(%rsp),%eax
  imul   0x180(%rsp),%eax
  mov    %eax,%edi
  shr    $0x1f,%edi
  add    %eax,%edi
  sar    %edi
  call   <floor@plt>
  cltq
  mov    %rax,0x80(%rsp)
  mov    0x170(%rsp),%eax
  imul   0x188(%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,0xa8(%rsp)
  mov    %ebp,%eax
  imul   %r12d,%eax
  imul   0xc0(%rsp),%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    L78
  lea    (%rbx,%rbx,1),%eax
  pxor   %xmm7,%xmm7
  pxor   %xmm0,%xmm0
  cvtsi2sdl 0x168(%rsp),%xmm7
  cltq
  cvtsi2sdl 0x160(%rsp),%xmm0
  shl    $0x3,%rax
  mov    %rax,0xd8(%rsp)
  lea    0x0(,%rbx,8),%rax
  mulsd  D34(%rip),%xmm0
  mov    %rax,0xe0(%rsp)
  add    0x190(%rsp),%rax
  mov    %rax,0xf0(%rsp)
  mov    0x170(%rsp),%eax
  movsd  %xmm7,0xf8(%rsp)
  pxor   %xmm7,%xmm7
  cvtsi2sdl 0x170(%rsp),%xmm7
  add    $0x1,%eax
  mov    %eax,0x10c(%rsp)
  mov    0x160(%rsp),%eax
  movsd  %xmm0,0xe8(%rsp)
  add    $0x1,%eax
  mov    %eax,0x98(%rsp)
  movsd  %xmm7,0x100(%rsp)
L0:
  mov    0x190(%rsp),%rax
  mov    0xd8(%rsp),%rdx
  addq   $0x8,0x190(%rsp)
  addq   $0x8,0x1a0(%rsp)
  movsd  (%rax,%rdx,1),%xmm7
  mov    0xe0(%rsp),%rdx
  addq   $0x8,0x1a8(%rsp)
  movsd  %xmm7,0xa0(%rsp)
  movsd  (%rax,%rdx,1),%xmm6
  mov    0x190(%rsp),%rax
  movsd  -0x8(%rax),%xmm5
  mov    0x1a0(%rsp),%rax
  movsd  %xmm6,0x78(%rsp)
  movsd  %xmm5,0x40(%rsp)
  movsd  -0x8(%rax),%xmm2
  subsd  0xe8(%rsp),%xmm5
  mov    0x1a8(%rsp),%rax
  movsd  %xmm2,0xb0(%rsp)
  cvttsd2si %xmm5,%edi
  movsd  -0x8(%rax),%xmm3
  movsd  %xmm3,0xb8(%rsp)
  call   <floor@plt>
  movsd  D34(%rip),%xmm1
  mulsd  0xf8(%rsp),%xmm1
  movsd  0x78(%rsp),%xmm6
  mov    %eax,0x90(%rsp)
  add    $0x1,%eax
  mov    %eax,0x94(%rsp)
  subsd  %xmm1,%xmm6
  cvttsd2si %xmm6,%edi
  call   <floor@plt>
  movsd  D34(%rip),%xmm1
  mulsd  0x100(%rsp),%xmm1
  movsd  0xa0(%rsp),%xmm7
  mov    %eax,%ebx
  lea    0x1(%rax),%eax
  mov    %eax,0x108(%rsp)
  subsd  %xmm1,%xmm7
  cvttsd2si %xmm7,%edi
  call   <floor@plt>
  mov    0x170(%rsp),%esi
  lea    0x1(%rax),%edx
  mov    %edx,0x9c(%rsp)
  test   %esi,%esi
  jle    L8
  pxor   %xmm7,%xmm7
  add    0x10c(%rsp),%eax
  cvtsi2sdl 0x188(%rsp),%xmm7
  mov    %eax,0xc4(%rsp)
  mov    0x168(%rsp),%eax
  lea    0x1(%rbx,%rax,1),%eax
  mov    %eax,0x8c(%rsp)
  movsd  %xmm7,0xc8(%rsp)
  pxor   %xmm7,%xmm7
  cvtsi2sdl 0xc0(%rsp),%xmm7
  movsd  %xmm7,0xd0(%rsp)
  nopl   0x0(%rax,%rax,1)
L38:
  mov    0x9c(%rsp),%ebx
  pxor   %xmm1,%xmm1
  movsd  0xa0(%rsp),%xmm0
  cvtsi2sd %ebx,%xmm1
  subsd  %xmm1,%xmm0
  movsd  %xmm1,0x10(%rsp)
  mulsd  0xc8(%rsp),%xmm0
  addsd  D34(%rip),%xmm0
  cvttsd2si %xmm0,%edi
  call   <floor@plt>
  mov    0x158(%rsp),%rdx
  movsd  0x10(%rsp),%xmm1
  divsd  0xd0(%rsp),%xmm1
  cvttsd2si %xmm1,%edi
  cltq
  add    0xa8(%rsp),%rax
  movsd  (%rdx,%rax,8),%xmm0
  movsd  %xmm0,0x8(%rsp)
  call   <floor@plt>
  movsd  0x8(%rsp),%xmm0
  mov    0x168(%rsp),%ecx
  mov    %ebx,%edx
  movsd  0xb0(%rsp),%xmm7
  imul   0xc0(%rsp),%eax
  mulsd  %xmm0,%xmm7
  mulsd  0xb8(%rsp),%xmm0
  sub    %eax,%edx
  movsd  %xmm7,0x50(%rsp)
  movsd  %xmm0,0x58(%rsp)
  test   %ecx,%ecx
  jle    L73
  mov    0x64(%rsp),%eax
  pxor   %xmm7,%xmm7
  pxor   %xmm6,%xmm6
  cvtsi2sdl 0x180(%rsp),%xmm7
  imul   %eax,%edx
  cvtsi2sd %eax,%xmm6
  mov    %edx,0x88(%rsp)
  mov    0x108(%rsp),%edx
  movsd  %xmm7,0x68(%rsp)
  mov    %edx,0x60(%rsp)
  movsd  %xmm6,0x70(%rsp)
  cs nopw 0x0(%rax,%rax,1)
L76:
  mov    0x60(%rsp),%ebx
  pxor   %xmm1,%xmm1
  movsd  0x78(%rsp),%xmm0
  cvtsi2sd %ebx,%xmm1
  subsd  %xmm1,%xmm0
  mulsd  0x68(%rsp),%xmm0
  movsd  %xmm1,0x10(%rsp)
  addsd  D34(%rip),%xmm0
  cvttsd2si %xmm0,%edi
  call   <floor@plt>
  mov    0x150(%rsp),%rdx
  movsd  0x10(%rsp),%xmm1
  divsd  0x70(%rsp),%xmm1
  cvttsd2si %xmm1,%edi
  cltq
  add    0x80(%rsp),%rax
  movsd  (%rdx,%rax,8),%xmm0
  movsd  %xmm0,0x8(%rsp)
  call   <floor@plt>
  movsd  0x8(%rsp),%xmm0
  movsd  0x50(%rsp),%xmm5
  imul   0x64(%rsp),%eax
  mulsd  %xmm0,%xmm5
  mulsd  0x58(%rsp),%xmm0
  sub    %eax,%ebx
  mov    0x160(%rsp),%eax
  add    0x88(%rsp),%ebx
  imul   %r12d,%ebx
  movsd  %xmm5,0x18(%rsp)
  movsd  %xmm0,0x20(%rsp)
  test   %eax,%eax
  jle    L66
  pxor   %xmm7,%xmm7
  pxor   %xmm5,%xmm5
  mov    0x98(%rsp),%eax
  add    0x90(%rsp),%eax
  cvtsi2sd %r12d,%xmm5
  mov    %eax,0x34(%rsp)
  mov    0x94(%rsp),%ebp
  cvtsi2sdl 0x178(%rsp),%xmm7
  movsd  %xmm5,0x38(%rsp)
  movsd  %xmm7,0x28(%rsp)
  nopl   0x0(%rax,%rax,1)
L79:
  pxor   %xmm1,%xmm1
  movsd  0x40(%rsp),%xmm0
  cvtsi2sd %ebp,%xmm1
  subsd  %xmm1,%xmm0
  mulsd  0x28(%rsp),%xmm0
  movsd  %xmm1,0x10(%rsp)
  addsd  D34(%rip),%xmm0
  cvttsd2si %xmm0,%edi
  call   <floor@plt>
  mov    0x48(%rsp),%rsi
  movsd  0x10(%rsp),%xmm1
  divsd  0x38(%rsp),%xmm1
  cltq
  cvttsd2si %xmm1,%edi
  add    %r15,%rax
  movsd  (%rsi,%rax,8),%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    0x34(%rsp),%ebp
  jne    L79
L66:
  addl   $0x1,0x60(%rsp)
  mov    0x60(%rsp),%eax
  cmp    0x8c(%rsp),%eax
  jne    L76
L73:
  addl   $0x1,0x9c(%rsp)
  mov    0x9c(%rsp),%eax
  cmp    0xc4(%rsp),%eax
  jne    L38
L8:
  mov    0xf0(%rsp),%rax
  cmp    %rax,0x190(%rsp)
  jne    L0
L78:
  add    $0x118,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
```

tool_calls: name: parse_data
arguments: data_tag: D34
type_infered: f64

tool: D34: 0.5

assistant: ```c
void interp3_table0_real_per_adj(double *r_ck, double *i_ck, const int K1, const int K2, const int K3, const double *r_h1, const double *r_h2, const double *r_h3, const int J1, const int J2, const int J3, const int L1, const int L2, const int L3, 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;
  }
  {
    const int ncenter3 = floor(J3 * L3 / 2);
    r_h3 += ncenter3;
  }
  (void)memset((void *)r_ck, 0, K1 * K2 * K3 * sizeof(*r_ck));
  (void)memset((void *)i_ck, 0, K1 * K2 * K3 * sizeof(*i_ck));
  for (mm = 0; mm < M; mm++) {
    int jj1, jj2, jj3;
    const double t3 = p_tm[2 * M];
    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.);
    const int koff2 = 1 + floor(t2 - J2 / 2.);
    int k3 = 1 + floor(t3 - J3 / 2.);
    for (jj3 = 0; jj3 < J3; jj3++, k3++) {
      const double p3 = (t3 - k3) * L3;
      const int n3 = floor(p3 + 0.5);
      double coef3r = r_h3[n3];
      const int wrap3 = floor(k3 / (double)K3);
      const int k3mod = k3 - K3 * wrap3;
      const double v3r = coef3r * fmr;
      const double v3i = coef3r * fmi;
      int k2 = koff2;
      for (jj2 = 0; jj2 < J2; jj2++, k2++) {
        const double p2 = (t2 - k2) * L2;
        const int n2 = floor(p2 + 0.5);
        double coef2r = r_h2[n2];
        const int wrap2 = floor(k2 / (double)K2);
        const int k2mod = k2 - K2 * wrap2;
        const int k23mod = (k3mod * K2 + k2mod) * K1;
        const double v2r = coef2r * v3r;
        const double v2i = coef2r * v3i;
        int k1 = koff1;
        for (jj1 = 0; jj1 < J1; jj1++, k1++) {
          const double p1 = (t1 - k1) * L1;
          const int n1 = floor(p1 + 0.5);
          register double coef1r = r_h1[n1];
          const int wrap1 = floor(k1 / (double)K1);
          const int k1mod = k1 - K1 * wrap1;
          const int kk = k23mod + k1mod;
          r_ck[kk] += coef1r * v2r;
          i_ck[kk] += coef1r * v2i;
        }
      }
    }
  }
}
```