user: 请将以下的汇编代码转换成C语言代码:

```asm
<interp4_table1_real_per_adj>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %rbx
  sub    $0x188,%rsp
  mov    %rdi,-0x168(%rbp)
  mov    %rsi,-0x170(%rbp)
  mov    %edx,-0x174(%rbp)
  mov    %ecx,-0x178(%rbp)
  mov    %r8d,-0x17c(%rbp)
  mov    %r9d,-0x180(%rbp)
  mov    0x30(%rbp),%eax
  imul   0x50(%rbp),%eax
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  movsd  D86(%rip),%xmm1
  divsd  %xmm1,%xmm0
  cvttsd2si %xmm0,%eax
  mov    %eax,%edi
  call   <floor@plt>
  mov    %eax,-0x134(%rbp)
  mov    -0x134(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rax,0x10(%rbp)
  mov    0x38(%rbp),%eax
  imul   0x58(%rbp),%eax
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  movsd  D86(%rip),%xmm1
  divsd  %xmm1,%xmm0
  cvttsd2si %xmm0,%eax
  mov    %eax,%edi
  call   <floor@plt>
  mov    %eax,-0x130(%rbp)
  mov    -0x130(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rax,0x18(%rbp)
  mov    0x40(%rbp),%eax
  imul   0x60(%rbp),%eax
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  movsd  D86(%rip),%xmm1
  divsd  %xmm1,%xmm0
  cvttsd2si %xmm0,%eax
  mov    %eax,%edi
  call   <floor@plt>
  mov    %eax,-0x12c(%rbp)
  mov    -0x12c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rax,0x20(%rbp)
  mov    0x48(%rbp),%eax
  imul   0x68(%rbp),%eax
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  movsd  D86(%rip),%xmm1
  divsd  %xmm1,%xmm0
  cvttsd2si %xmm0,%eax
  mov    %eax,%edi
  call   <floor@plt>
  mov    %eax,-0x128(%rbp)
  mov    -0x128(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rax,0x28(%rbp)
  mov    -0x174(%rbp),%eax
  imul   -0x178(%rbp),%eax
  imul   -0x17c(%rbp),%eax
  imul   -0x180(%rbp),%eax
  cltq
  shl    $0x3,%eax
  mov    %eax,%edx
  mov    -0x168(%rbp),%rax
  mov    $0x0,%esi
  mov    %rax,%rdi
  call   <memset@plt>
  mov    -0x174(%rbp),%eax
  imul   -0x178(%rbp),%eax
  imul   -0x17c(%rbp),%eax
  imul   -0x180(%rbp),%eax
  cltq
  shl    $0x3,%eax
  mov    %eax,%edx
  mov    -0x170(%rbp),%rax
  mov    $0x0,%esi
  mov    %rax,%rdi
  call   <memset@plt>
  movl   $0x0,-0x158(%rbp)
  jmp    L82
L73:
  mov    0x78(%rbp),%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    0x70(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  movsd  %xmm0,-0xe8(%rbp)
  mov    0x78(%rbp),%eax
  add    %eax,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    0x70(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  movsd  %xmm0,-0xe0(%rbp)
  mov    0x78(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    0x70(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  movsd  %xmm0,-0xd8(%rbp)
  mov    0x70(%rbp),%rax
  lea    0x8(%rax),%rdx
  mov    %rdx,0x70(%rbp)
  movsd  (%rax),%xmm0
  movsd  %xmm0,-0xd0(%rbp)
  mov    0x80(%rbp),%rax
  lea    0x8(%rax),%rdx
  mov    %rdx,0x80(%rbp)
  movsd  (%rax),%xmm0
  movsd  %xmm0,-0xc8(%rbp)
  mov    0x88(%rbp),%rax
  lea    0x8(%rax),%rdx
  mov    %rdx,0x88(%rbp)
  movsd  (%rax),%xmm0
  movsd  %xmm0,-0xc0(%rbp)
  pxor   %xmm0,%xmm0
  cvtsi2sdl 0x30(%rbp),%xmm0
  movsd  D86(%rip),%xmm2
  movapd %xmm0,%xmm1
  divsd  %xmm2,%xmm1
  movsd  -0xd0(%rbp),%xmm0
  subsd  %xmm1,%xmm0
  cvttsd2si %xmm0,%eax
  mov    %eax,%edi
  call   <floor@plt>
  add    $0x1,%eax
  mov    %eax,-0x124(%rbp)
  pxor   %xmm0,%xmm0
  cvtsi2sdl 0x38(%rbp),%xmm0
  movsd  D86(%rip),%xmm2
  movapd %xmm0,%xmm1
  divsd  %xmm2,%xmm1
  movsd  -0xd8(%rbp),%xmm0
  subsd  %xmm1,%xmm0
  cvttsd2si %xmm0,%eax
  mov    %eax,%edi
  call   <floor@plt>
  add    $0x1,%eax
  mov    %eax,-0x120(%rbp)
  pxor   %xmm0,%xmm0
  cvtsi2sdl 0x40(%rbp),%xmm0
  movsd  D86(%rip),%xmm2
  movapd %xmm0,%xmm1
  divsd  %xmm2,%xmm1
  movsd  -0xe0(%rbp),%xmm0
  subsd  %xmm1,%xmm0
  cvttsd2si %xmm0,%eax
  mov    %eax,%edi
  call   <floor@plt>
  add    $0x1,%eax
  mov    %eax,-0x11c(%rbp)
  pxor   %xmm0,%xmm0
  cvtsi2sdl 0x48(%rbp),%xmm0
  movsd  D86(%rip),%xmm2
  movapd %xmm0,%xmm1
  divsd  %xmm2,%xmm1
  movsd  -0xe8(%rbp),%xmm0
  subsd  %xmm1,%xmm0
  cvttsd2si %xmm0,%eax
  mov    %eax,%edi
  call   <floor@plt>
  add    $0x1,%eax
  mov    %eax,-0x144(%rbp)
  movl   $0x0,-0x148(%rbp)
  jmp    L52
L26:
  pxor   %xmm2,%xmm2
  cvtsi2sdl -0x144(%rbp),%xmm2
  movsd  -0xe8(%rbp),%xmm0
  movapd %xmm0,%xmm1
  subsd  %xmm2,%xmm1
  pxor   %xmm0,%xmm0
  cvtsi2sdl 0x68(%rbp),%xmm0
  mulsd  %xmm1,%xmm0
  movsd  %xmm0,-0xb8(%rbp)
  movsd  -0xb8(%rbp),%xmm0
  cvttsd2si %xmm0,%eax
  mov    %eax,%edi
  call   <floor@plt>
  mov    %eax,-0x118(%rbp)
  pxor   %xmm1,%xmm1
  cvtsi2sdl -0x118(%rbp),%xmm1
  movsd  -0xb8(%rbp),%xmm0
  subsd  %xmm1,%xmm0
  movsd  %xmm0,-0xb0(%rbp)
  mov    -0x118(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    0x28(%rbp),%rax
  lea    (%rdx,%rax,1),%rbx
  movsd  D45(%rip),%xmm0
  movapd %xmm0,%xmm1
  subsd  -0xb0(%rbp),%xmm1
  movsd  (%rbx),%xmm0
  mulsd  %xmm0,%xmm1
  lea    0x8(%rbx),%rax
  movsd  (%rax),%xmm0
  mulsd  -0xb0(%rbp),%xmm0
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0xa8(%rbp)
  pxor   %xmm0,%xmm0
  cvtsi2sdl -0x144(%rbp),%xmm0
  pxor   %xmm1,%xmm1
  cvtsi2sdl -0x180(%rbp),%xmm1
  divsd  %xmm1,%xmm0
  cvttsd2si %xmm0,%eax
  mov    %eax,%edi
  call   <floor@plt>
  mov    %eax,-0x114(%rbp)
  mov    -0x180(%rbp),%eax
  imul   -0x114(%rbp),%eax
  mov    %eax,%edx
  mov    -0x144(%rbp),%eax
  sub    %edx,%eax
  mov    %eax,-0x110(%rbp)
  mov    -0x110(%rbp),%eax
  imul   -0x17c(%rbp),%eax
  imul   -0x178(%rbp),%eax
  imul   -0x174(%rbp),%eax
  cltq
  mov    %rax,-0xa0(%rbp)
  movsd  -0xa8(%rbp),%xmm0
  mulsd  -0xc8(%rbp),%xmm0
  movsd  %xmm0,-0x98(%rbp)
  movsd  -0xa8(%rbp),%xmm0
  mulsd  -0xc0(%rbp),%xmm0
  movsd  %xmm0,-0x90(%rbp)
  mov    -0x11c(%rbp),%eax
  mov    %eax,-0x140(%rbp)
  movl   $0x0,-0x14c(%rbp)
  jmp    L97
L75:
  pxor   %xmm2,%xmm2
  cvtsi2sdl -0x140(%rbp),%xmm2
  movsd  -0xe0(%rbp),%xmm0
  movapd %xmm0,%xmm1
  subsd  %xmm2,%xmm1
  pxor   %xmm0,%xmm0
  cvtsi2sdl 0x60(%rbp),%xmm0
  mulsd  %xmm1,%xmm0
  movsd  %xmm0,-0x88(%rbp)
  movsd  -0x88(%rbp),%xmm0
  cvttsd2si %xmm0,%eax
  mov    %eax,%edi
  call   <floor@plt>
  mov    %eax,-0x10c(%rbp)
  pxor   %xmm1,%xmm1
  cvtsi2sdl -0x10c(%rbp),%xmm1
  movsd  -0x88(%rbp),%xmm0
  subsd  %xmm1,%xmm0
  movsd  %xmm0,-0x80(%rbp)
  mov    -0x10c(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    0x20(%rbp),%rax
  lea    (%rdx,%rax,1),%rbx
  movsd  D45(%rip),%xmm0
  movapd %xmm0,%xmm1
  subsd  -0x80(%rbp),%xmm1
  movsd  (%rbx),%xmm0
  mulsd  %xmm0,%xmm1
  lea    0x8(%rbx),%rax
  movsd  (%rax),%xmm0
  mulsd  -0x80(%rbp),%xmm0
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x78(%rbp)
  pxor   %xmm0,%xmm0
  cvtsi2sdl -0x140(%rbp),%xmm0
  pxor   %xmm1,%xmm1
  cvtsi2sdl -0x17c(%rbp),%xmm1
  divsd  %xmm1,%xmm0
  cvttsd2si %xmm0,%eax
  mov    %eax,%edi
  call   <floor@plt>
  mov    %eax,-0x108(%rbp)
  mov    -0x17c(%rbp),%eax
  imul   -0x108(%rbp),%eax
  mov    %eax,%edx
  mov    -0x140(%rbp),%eax
  sub    %edx,%eax
  mov    %eax,-0x104(%rbp)
  mov    -0x104(%rbp),%eax
  imul   -0x178(%rbp),%eax
  imul   -0x174(%rbp),%eax
  cltq
  mov    %rax,-0x70(%rbp)
  movsd  -0x78(%rbp),%xmm0
  mulsd  -0x98(%rbp),%xmm0
  movsd  %xmm0,-0x68(%rbp)
  movsd  -0x78(%rbp),%xmm0
  mulsd  -0x90(%rbp),%xmm0
  movsd  %xmm0,-0x60(%rbp)
  mov    -0x120(%rbp),%eax
  mov    %eax,-0x13c(%rbp)
  movl   $0x0,-0x150(%rbp)
  jmp    L29
L7:
  pxor   %xmm2,%xmm2
  cvtsi2sdl -0x13c(%rbp),%xmm2
  movsd  -0xd8(%rbp),%xmm0
  movapd %xmm0,%xmm1
  subsd  %xmm2,%xmm1
  pxor   %xmm0,%xmm0
  cvtsi2sdl 0x58(%rbp),%xmm0
  mulsd  %xmm1,%xmm0
  movsd  %xmm0,-0x58(%rbp)
  movsd  -0x58(%rbp),%xmm0
  cvttsd2si %xmm0,%eax
  mov    %eax,%edi
  call   <floor@plt>
  mov    %eax,-0x100(%rbp)
  pxor   %xmm1,%xmm1
  cvtsi2sdl -0x100(%rbp),%xmm1
  movsd  -0x58(%rbp),%xmm0
  subsd  %xmm1,%xmm0
  movsd  %xmm0,-0x50(%rbp)
  mov    -0x100(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    0x18(%rbp),%rax
  lea    (%rdx,%rax,1),%rbx
  movsd  D45(%rip),%xmm0
  movapd %xmm0,%xmm1
  subsd  -0x50(%rbp),%xmm1
  movsd  (%rbx),%xmm0
  mulsd  %xmm0,%xmm1
  lea    0x8(%rbx),%rax
  movsd  (%rax),%xmm0
  mulsd  -0x50(%rbp),%xmm0
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x48(%rbp)
  pxor   %xmm0,%xmm0
  cvtsi2sdl -0x13c(%rbp),%xmm0
  pxor   %xmm1,%xmm1
  cvtsi2sdl -0x178(%rbp),%xmm1
  divsd  %xmm1,%xmm0
  cvttsd2si %xmm0,%eax
  mov    %eax,%edi
  call   <floor@plt>
  mov    %eax,-0xfc(%rbp)
  mov    -0x178(%rbp),%eax
  imul   -0xfc(%rbp),%eax
  mov    %eax,%edx
  mov    -0x13c(%rbp),%eax
  sub    %edx,%eax
  mov    %eax,-0xf8(%rbp)
  mov    -0xf8(%rbp),%eax
  imul   -0x174(%rbp),%eax
  cltq
  mov    %rax,-0x40(%rbp)
  movsd  -0x48(%rbp),%xmm0
  mulsd  -0x68(%rbp),%xmm0
  movsd  %xmm0,-0x38(%rbp)
  movsd  -0x48(%rbp),%xmm0
  mulsd  -0x60(%rbp),%xmm0
  movsd  %xmm0,-0x30(%rbp)
  mov    -0x124(%rbp),%eax
  mov    %eax,-0x138(%rbp)
  movl   $0x0,-0x154(%rbp)
  jmp    L4
L44:
  pxor   %xmm2,%xmm2
  cvtsi2sdl -0x138(%rbp),%xmm2
  movsd  -0xd0(%rbp),%xmm0
  movapd %xmm0,%xmm1
  subsd  %xmm2,%xmm1
  pxor   %xmm0,%xmm0
  cvtsi2sdl 0x50(%rbp),%xmm0
  mulsd  %xmm1,%xmm0
  movsd  %xmm0,-0x28(%rbp)
  movsd  -0x28(%rbp),%xmm0
  cvttsd2si %xmm0,%eax
  mov    %eax,%edi
  call   <floor@plt>
  mov    %eax,-0xf4(%rbp)
  pxor   %xmm1,%xmm1
  cvtsi2sdl -0xf4(%rbp),%xmm1
  movsd  -0x28(%rbp),%xmm0
  subsd  %xmm1,%xmm0
  movsd  %xmm0,-0x20(%rbp)
  mov    -0xf4(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    0x10(%rbp),%rax
  lea    (%rdx,%rax,1),%rbx
  movsd  D45(%rip),%xmm0
  movapd %xmm0,%xmm1
  subsd  -0x20(%rbp),%xmm1
  movsd  (%rbx),%xmm0
  mulsd  %xmm0,%xmm1
  lea    0x8(%rbx),%rax
  movsd  (%rax),%xmm0
  mulsd  -0x20(%rbp),%xmm0
  addsd  %xmm0,%xmm1
  movsd  %xmm1,-0x188(%rbp)
  pxor   %xmm0,%xmm0
  cvtsi2sdl -0x138(%rbp),%xmm0
  pxor   %xmm1,%xmm1
  cvtsi2sdl -0x174(%rbp),%xmm1
  divsd  %xmm1,%xmm0
  cvttsd2si %xmm0,%eax
  mov    %eax,%edi
  call   <floor@plt>
  mov    %eax,-0xf0(%rbp)
  mov    -0x174(%rbp),%eax
  imul   -0xf0(%rbp),%eax
  mov    %eax,%edx
  mov    -0x138(%rbp),%eax
  sub    %edx,%eax
  mov    %eax,-0xec(%rbp)
  mov    -0xa0(%rbp),%rdx
  mov    -0x70(%rbp),%rax
  add    %rax,%rdx
  mov    -0x40(%rbp),%rax
  add    %rax,%rdx
  mov    -0xec(%rbp),%eax
  cltq
  add    %rdx,%rax
  mov    %rax,-0x18(%rbp)
  mov    -0x18(%rbp),%rax
  lea    0x0(,%rax,8),%rdx
  mov    -0x168(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm1
  movsd  -0x188(%rbp),%xmm3
  movapd %xmm3,%xmm0
  mulsd  -0x38(%rbp),%xmm0
  mov    -0x18(%rbp),%rax
  lea    0x0(,%rax,8),%rdx
  mov    -0x168(%rbp),%rax
  add    %rdx,%rax
  addsd  %xmm1,%xmm0
  movsd  %xmm0,(%rax)
  mov    -0x18(%rbp),%rax
  lea    0x0(,%rax,8),%rdx
  mov    -0x170(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm1
  mulsd  -0x30(%rbp),%xmm3
  movapd %xmm3,%xmm0
  mov    -0x18(%rbp),%rax
  lea    0x0(,%rax,8),%rdx
  mov    -0x170(%rbp),%rax
  add    %rdx,%rax
  addsd  %xmm1,%xmm0
  movsd  %xmm0,(%rax)
  addl   $0x1,-0x154(%rbp)
  addl   $0x1,-0x138(%rbp)
L4:
  mov    -0x154(%rbp),%eax
  cmp    0x30(%rbp),%eax
  jl     L44
  addl   $0x1,-0x150(%rbp)
  addl   $0x1,-0x13c(%rbp)
L29:
  mov    -0x150(%rbp),%eax
  cmp    0x38(%rbp),%eax
  jl     L7
  addl   $0x1,-0x14c(%rbp)
  addl   $0x1,-0x140(%rbp)
L97:
  mov    -0x14c(%rbp),%eax
  cmp    0x40(%rbp),%eax
  jl     L75
  addl   $0x1,-0x148(%rbp)
  addl   $0x1,-0x144(%rbp)
L52:
  mov    -0x148(%rbp),%eax
  cmp    0x48(%rbp),%eax
  jl     L26
  addl   $0x1,-0x158(%rbp)
L82:
  mov    -0x158(%rbp),%eax
  cmp    0x78(%rbp),%eax
  jl     L73
  nop
  nop
  mov    -0x8(%rbp),%rbx
  leave
  ret
```

tool_calls: name: retrieve_data
arguments: label: D86
data_type: f64
name: retrieve_data
arguments: label: D45
data_type: f64

tool: D86: 2

tool: D45: 1

assistant: ```c
void interp4_table1_real_per_adj(double *r_ck, double *i_ck, const int K1, const int K2, const int K3, const int K4, const double *r_h1, const double *r_h2, const double *r_h3, const double *r_h4, const int J1, const int J2, const int J3, const int J4, const int L1, const int L2, const int L3, const int L4, 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;
  }
  {
    const int ncenter4 = floor(J4 * L4 / 2.);
    r_h4 += ncenter4;
  }
  (void)memset((void *)r_ck, 0, K1 * K2 * K3 * K4 * sizeof(*r_ck));
  (void)memset((void *)i_ck, 0, K1 * K2 * K3 * K4 * sizeof(*i_ck));
  for (mm = 0; mm < M; mm++) {
    int jj1, jj2, jj3, jj4;
    const double t4 = p_tm[3 * M];
    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.);
    const int koff3 = 1 + floor(t3 - J3 / 2.);
    int k4 = 1 + floor(t4 - J4 / 2.);
    for (jj4 = 0; jj4 < J4; jj4++, k4++) {
      const double p4 = (t4 - k4) * L4;
      const int n4 = floor(p4);
      const double alf4 = p4 - n4;
      register const double *ph4 = r_h4 + n4;
      double coef4r = (1 - alf4) * *ph4 + alf4 * *(ph4 + 1);
      const int wrap4 = floor(k4 / (double)K4);
      const int k4mod = k4 - K4 * wrap4;
      const long k4Idx = k4mod * K3 * K2 * K1;
      const double v4r = coef4r * fmr;
      const double v4i = coef4r * fmi;
      int k3 = koff3;
      for (jj3 = 0; jj3 < J3; jj3++, k3++) {
        const double p3 = (t3 - k3) * L3;
        const int n3 = floor(p3);
        const double alf3 = p3 - n3;
        register const double *ph3 = r_h3 + n3;
        double coef3r = (1 - alf3) * *ph3 + alf3 * *(ph3 + 1);
        const int wrap3 = floor(k3 / (double)K3);
        const int k3mod = k3 - K3 * wrap3;
        const long k3Idx = k3mod * K2 * K1;
        const double v3r = coef3r * v4r;
        const double v3i = coef3r * v4i;
        int k2 = koff2;
        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 long k2Idx = 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);
            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 long kk = k4Idx + k3Idx + k2Idx + k1mod;
            r_ck[kk] += coef1r * v2r;
            i_ck[kk] += coef1r * v2i;
          }
        }
      }
    }
  }
}
```