user: 请从给定的汇编指令推导出C源代码：

```asm
<rys_contr_coulomb>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0xe8,%rsp
  movsd  %xmm0,0x80(%rsp)
  movsd  %xmm1,0x88(%rsp)
  movsd  %xmm2,0x90(%rsp)
  movsd  %xmm3,0x98(%rsp)
  movsd  %xmm4,0xa0(%rsp)
  movsd  %xmm5,0xa8(%rsp)
  movsd  %xmm6,0xb0(%rsp)
  movsd  %xmm7,0xb8(%rsp)
  mov    0x1d8(%rsp),%rbp
  test   %edi,%edi
  jle    L109
  mov    %rdx,%rax
  mov    %rcx,%rdx
  mov    %rax,%r15
  mov    %rsi,0x58(%rsp)
  mov    0x120(%rsp),%rsi
  mov    %rsi,0x60(%rsp)
  mov    %r9,0x68(%rsp)
  mov    %r8,0x70(%rsp)
  mov    %rdx,0x78(%rsp)
  lea    -0x1(%rdi),%edx
  lea    0x8(%rax,%rdx,8),%rax
  mov    %rax,0xd8(%rsp)
  mov    0x128(%rsp),%eax
  lea    -0x1(%rax),%eax
  mov    0x138(%rsp),%rdi
  lea    0x8(%rdi,%rax,8),%rax
  mov    %rax,0xd0(%rsp)
  mov    0x160(%rsp),%eax
  lea    -0x1(%rax),%eax
  mov    0x170(%rsp),%rdx
  lea    0x8(%rdx,%rax,8),%rax
  mov    %rax,0xc8(%rsp)
  pxor   %xmm3,%xmm3
  movsd  %xmm3,(%rsp)
  mov    0x1a0(%rsp),%eax
  mov    %rax,0xc0(%rsp)
  jmp    L90
L59:
  movsd  (%r15),%xmm0
  mov    0x28(%rsp),%rax
  mulsd  (%rax),%xmm0
  mov    0x10(%rsp),%rax
  mulsd  (%rax),%xmm0
  mov    0x1b0(%rsp),%rax
  mulsd  (%rax,%rbx,8),%xmm0
  movsd  %xmm0,0x8(%rsp)
  mov    0x1a8(%rsp),%rax
  push   (%rax,%rbx,8)
  mov    0x1f0(%rsp),%rax
  mov    (%rax,%rbx,4),%eax
  push   %rax
  mov    0x1f0(%rsp),%rax
  mov    (%rax,%rbx,4),%eax
  push   %rax
  mov    0x0(%rbp,%rbx,4),%eax
  push   %rax
  mov    0x1d8(%rsp),%rax
  push   (%rax,%rbx,8)
  push   0x1f8(%rsp)
  push   0x1f8(%rsp)
  push   0x1f8(%rsp)
  mov    0x58(%rsp),%rax
  push   (%rax)
  mov    (%r14),%eax
  push   %rax
  mov    0x0(%r13),%eax
  push   %rax
  mov    (%r12),%eax
  push   %rax
  mov    0x80(%rsp),%rax
  push   (%rax)
  push   0x1e8(%rsp)
  push   0x128(%rsp)
  push   0x128(%rsp)
  mov    0xb0(%rsp),%rax
  push   (%rax)
  mov    0xd8(%rsp),%rax
  push   (%rax)
  mov    0xc8(%rsp),%rax
  mov    (%rax),%r9d
  mov    0xd0(%rsp),%rax
  mov    (%rax),%r8d
  mov    0xd8(%rsp),%rax
  mov    (%rax),%ecx
  movsd  0x138(%rsp),%xmm7
  movsd  0x130(%rsp),%xmm6
  movsd  0x128(%rsp),%xmm5
  mov    0xe8(%rsp),%rax
  movsd  (%rax),%xmm4
  mov    0xf0(%rsp),%rax
  mov    (%rax),%edx
  mov    0xf8(%rsp),%rax
  mov    (%rax),%esi
  mov    0x100(%rsp),%rax
  mov    (%rax),%edi
  mov    0x108(%rsp),%rax
  movsd  (%rax),%xmm3
  movsd  0x120(%rsp),%xmm2
  movsd  0x118(%rsp),%xmm1
  movsd  0x110(%rsp),%xmm0
  call   <rys_coulomb_repulsion@plt>
  mulsd  0x98(%rsp),%xmm0
  addsd  0x90(%rsp),%xmm0
  movsd  %xmm0,0x90(%rsp)
  add    $0x1,%rbx
  add    $0x90,%rsp
  cmp    %rbx,0xc0(%rsp)
  jne    L59
L81:
  addq   $0x8,0x10(%rsp)
  mov    0x10(%rsp),%rax
  addq   $0x8,0x18(%rsp)
  add    $0x4,%r14
  add    $0x4,%r13
  add    $0x4,%r12
  addq   $0x8,0x20(%rsp)
  cmp    0xc8(%rsp),%rax
  je     L2
L87:
  mov    $0x0,%ebx
  cmpl   $0x0,0x1a0(%rsp)
  jg     L59
  jmp    L81
L2:
  addq   $0x8,0x28(%rsp)
  mov    0x28(%rsp),%rax
  addq   $0x8,0x30(%rsp)
  addq   $0x4,0x38(%rsp)
  addq   $0x4,0x40(%rsp)
  addq   $0x4,0x48(%rsp)
  addq   $0x8,0x50(%rsp)
  cmp    0xd0(%rsp),%rax
  je     L85
L63:
  cmpl   $0x0,0x160(%rsp)
  jle    L2
  mov    0x168(%rsp),%rax
  mov    %rax,0x18(%rsp)
  mov    0x198(%rsp),%r14
  mov    0x190(%rsp),%r13
  mov    0x188(%rsp),%r12
  mov    0x178(%rsp),%rax
  mov    %rax,0x20(%rsp)
  mov    0x170(%rsp),%rax
  mov    %rax,0x10(%rsp)
  jmp    L87
L85:
  add    $0x8,%r15
  addq   $0x8,0x58(%rsp)
  addq   $0x4,0x60(%rsp)
  addq   $0x4,0x68(%rsp)
  addq   $0x4,0x70(%rsp)
  addq   $0x8,0x78(%rsp)
  cmp    0xd8(%rsp),%r15
  je     L31
L90:
  cmpl   $0x0,0x128(%rsp)
  jle    L85
  mov    0x130(%rsp),%rax
  mov    %rax,0x30(%rsp)
  mov    0x158(%rsp),%rax
  mov    %rax,0x38(%rsp)
  mov    0x150(%rsp),%rax
  mov    %rax,0x40(%rsp)
  mov    0x148(%rsp),%rax
  mov    %rax,0x48(%rsp)
  mov    0x140(%rsp),%rax
  mov    %rax,0x50(%rsp)
  mov    0x138(%rsp),%rax
  mov    %rax,0x28(%rsp)
  jmp    L63
L109:
  pxor   %xmm4,%xmm4
  movsd  %xmm4,(%rsp)
L31:
  movsd  (%rsp),%xmm0
  add    $0xe8,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
```

assistant: ```c
double rys_contr_coulomb(int lena, double *aexps, double *acoefs, double *anorms, double xa, double ya, double za, int *la, int *ma, int *na, int lenb, double *bexps, double *bcoefs, double *bnorms, double xb, double yb, double zb, int *lb, int *mb, int *nb, int lenc, double *cexps, double *ccoefs, double *cnorms, double xc, double yc, double zc, int *lc, int *mc, int *nc, int lend, double *dexps, double *dcoefs, double *dnorms, double xd, double yd, double zd, int *ld, int *md, int *nd) {
  double val = 0.;
  int i, j, k, l;
  for (i = 0; i < lena; i++) {
    for (j = 0; j < lenb; j++) {
      for (k = 0; k < lenc; k++) {
        for (l = 0; l < lend; l++) {
          val += acoefs[i] * bcoefs[j] * ccoefs[k] * dcoefs[l] * rys_coulomb_repulsion(xa, ya, za, anorms[i], la[i], ma[i], na[i], aexps[i], xb, yb, zb, bnorms[j], lb[j], mb[j], nb[j], bexps[j], xc, yc, zc, cnorms[k], lc[k], mc[k], nc[k], cexps[k], xd, yd, zd, dnorms[l], ld[l], md[l], nd[l], dexps[l]);
        }
      }
    }
  }
  return val;
}
```