user: 下面的汇编指令对应的C源代码是什么:

```asm
<genWigAllTrans>:
  endbr64
  push   %r15
  mov    %edi,%r15d
  add    %edi,%edi
  movslq %edi,%rax
  push   %r14
  mov    %edi,%r14d
  push   %r13
  push   %r12
  push   %rbp
  mov    %rdx,%rbp
  push   %rbx
  mov    %rsi,%rbx
  lea    0x0(,%rax,8),%rsi
  lea    (%rdx,%rsi,1),%r12
  lea    (%r12,%rsi,1),%r13
  lea    0x0(%r13,%rsi,1),%rax
  sub    $0x48,%rsp
  mov    %rax,%rdx
  mov    %rsi,0x28(%rsp)
  add    %rsi,%rdx
  mov    %rbp,%rsi
  mov    %edi,0x30(%rsp)
  mov    %rdx,0x10(%rsp)
  mov    %rax,0x8(%rsp)
  call   <SinEvalPts@plt>
  mov    %r12,%rsi
  mov    %r14d,%edi
  call   <CosEvalPts@plt>
  mov    %r13,%rsi
  mov    %r14d,%edi
  call   <SinEvalPts2@plt>
  mov    0x8(%rsp),%rsi
  mov    %r14d,%edi
  call   <CosEvalPts2@plt>
  sub    $0x8,%rsp
  mov    %r15d,%edx
  mov    %r13,%r9
  push   0x18(%rsp)
  mov    %r12,%r8
  mov    %rbp,%rcx
  xor    %esi,%esi
  push   %rbx
  xor    %edi,%edi
  push   0x20(%rsp)
  call   <genWigTrans_L2@plt>
  mov    %r14d,%eax
  add    $0x20,%rsp
  imul   %r15d,%eax
  movslq %eax,%rdx
  lea    (%rbx,%rdx,8),%rbx
  cmp    $0x1,%r15d
  jle    L17
  sub    %r14d,%eax
  mov    $0x1,%r14d
  mov    %r13,%r9
  mov    %eax,0x34(%rsp)
  cltq
  mov    %r14d,%r13d
  mov    %rbp,%r14
  shl    $0x3,%rax
  mov    %r15d,%ebp
  mov    %rax,0x20(%rsp)
  mov    %rax,%r15
  nopl   0x0(%rax)
L18:
  sub    $0x8,%rsp
  mov    %r13d,%esi
  mov    %r13d,%edi
  mov    %r12,%r8
  push   0x18(%rsp)
  mov    %r14,%rcx
  mov    %ebp,%edx
  push   %rbx
  add    %r15,%rbx
  push   0x20(%rsp)
  mov    %r9,0x20(%rsp)
  call   <genWigTrans_L2@plt>
  mov    %r13d,%eax
  add    $0x1,%r13d
  sub    0x48(%rsp),%r15
  add    $0x20,%rsp
  cmp    %r13d,%ebp
  mov    (%rsp),%r9
  jne    L18
  mov    %r14,%rbp
  mov    $0x1,%r15d
  mov    %eax,0x1c(%rsp)
  mov    %r13d,%r14d
  mov    %rbp,%r13
  mov    %r15d,%ebp
  mov    0x20(%rsp),%r15
  nopl   0x0(%rax)
L8:
  sub    $0x8,%rsp
  xor    %esi,%esi
  mov    %ebp,%edi
  mov    %r12,%r8
  push   0x18(%rsp)
  mov    %r13,%rcx
  mov    %r14d,%edx
  push   %rbx
  add    %r15,%rbx
  push   0x20(%rsp)
  mov    %r9,0x20(%rsp)
  call   <genWigTrans_L2@plt>
  sub    0x48(%rsp),%r15
  add    $0x20,%rsp
  mov    %ebp,%eax
  add    $0x1,%ebp
  cmp    %eax,0x1c(%rsp)
  mov    (%rsp),%r9
  jne    L8
  mov    0x34(%rsp),%eax
  mov    0x30(%rsp),%edi
  mov    %r13,%rbp
  mov    %r12,%r8
  mov    $0x1,%r15d
  mov    %rbx,%r12
  sub    %edi,%eax
  mov    %r15d,%r13d
  mov    %rbp,%r15
  cltq
  lea    0x1(%r13),%ebx
  shl    $0x3,%rax
  mov    %ebx,0x34(%rsp)
  mov    %rax,0x38(%rsp)
  mov    %edi,%eax
  neg    %eax
  cltq
  shl    $0x3,%rax
  mov    %rax,0x20(%rsp)
  cmp    %r13d,0x1c(%rsp)
  je     L17
  nop
L43:
  mov    0x38(%rsp),%rax
  mov    %r13d,0x30(%rsp)
  mov    %ebx,%ebp
  mov    %r8,%r13
  mov    %rax,%rbx
  nopw   0x0(%rax,%rax,1)
L57:
  sub    $0x8,%rsp
  mov    %ebp,%esi
  mov    %r13,%r8
  mov    %r15,%rcx
  push   0x18(%rsp)
  mov    %r14d,%edx
  push   %r12
  add    %rbx,%r12
  push   0x20(%rsp)
  mov    0x50(%rsp),%edi
  mov    %r9,0x20(%rsp)
  call   <genWigTrans_L2@plt>
  add    0x40(%rsp),%rbx
  add    $0x20,%rsp
  mov    %ebp,%eax
  add    $0x1,%ebp
  cmp    %eax,0x1c(%rsp)
  mov    (%rsp),%r9
  jne    L57
  mov    %r13,%r8
  mov    0x34(%rsp),%r13d
  mov    0x28(%rsp),%rsi
  sub    %rsi,0x38(%rsp)
  lea    0x1(%r13),%ebx
  mov    %ebx,0x34(%rsp)
  cmp    %r13d,0x1c(%rsp)
  jne    L43
L17:
  add    $0x48,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
```

assistant: ```c
void genWigAllTrans(int bw, double *wigners, double *workspace) {
  int m1, m2, n;
  double *sinPts, *cosPts;
  double *sinPts2, *cosPts2;
  double *scratch;
  n = 2 * bw;
  sinPts = workspace;
  cosPts = sinPts + n;
  sinPts2 = cosPts + n;
  cosPts2 = sinPts2 + n;
  scratch = cosPts2 + n;
  SinEvalPts(n, sinPts);
  CosEvalPts(n, cosPts);
  SinEvalPts2(n, sinPts2);
  CosEvalPts2(n, cosPts2);
  genWigTrans_L2(0, 0, bw, sinPts, cosPts, sinPts2, cosPts2, wigners, scratch);
  wigners += bw * n;
  for (m1 = 1; m1 < bw; m1++) {
    genWigTrans_L2(m1, m1, bw, sinPts, cosPts, sinPts2, cosPts2, wigners, scratch);
    wigners += n * (bw - m1);
  }
  for (m1 = 1; m1 < bw; m1++) {
    genWigTrans_L2(m1, 0, bw, sinPts, cosPts, sinPts2, cosPts2, wigners, scratch);
    wigners += n * (bw - m1);
  }
  for (m1 = 1; m1 < bw; m1++)
    for (m2 = m1 + 1; m2 < bw; m2++) {
      genWigTrans_L2(m1, m2, bw, sinPts, cosPts, sinPts2, cosPts2, wigners, scratch);
      wigners += n * (bw - m2);
    }
}
```