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

```asm
<genWig_L2_U>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x78,%rsp
  mov    %edx,0x40(%rsp)
  mov    %ecx,%ebx
  mov    %r9,0x30(%rsp)
  mov    0xb0(%rsp),%rax
  mov    %rax,0x48(%rsp)
  mov    0xb8(%rsp),%rbp
  mov    0xc0(%rsp),%r13
  mov    0xc8(%rsp),%rcx
  mov    %rcx,0x18(%rsp)
  mov    %fs:0x28,%rax
  mov    %rax,0x68(%rsp)
  xor    %eax,%eax
  mov    %edi,%eax
  neg    %eax
  mov    %eax,%edx
  mov    %edi,0x2c(%rsp)
  cmovs  %edi,%edx
  mov    %esi,%eax
  neg    %eax
  mov    %esi,0x38(%rsp)
  cmovs  %esi,%eax
  cmp    %eax,%edx
  cmovge %edx,%eax
  mov    %eax,0x3c(%rsp)
  movslq %ebx,%rax
  shl    $0x3,%rax
  mov    %rcx,%r12
  add    %rax,%r12
  lea    (%r12,%rax,1),%r15
  mov    %r15,0x8(%rsp)
  add    %rax,%r15
  lea    (%r15,%rax,1),%r10
  mov    %r10,0x10(%rsp)
  mov    %rax,0x20(%rsp)
  add    %rax,%r10
  mov    %r10,(%rsp)
  lea    0x0(,%rbx,8),%r14d
  mov    %r14d,%edx
  mov    $0x0,%esi
  mov    %rcx,%rdi
  call   <memset@plt>
  mov    %r12,%r9
  mov    %ebx,%r8d
  mov    %rbp,%rcx
  mov    0x48(%rsp),%rdx
  mov    0x38(%rsp),%esi
  mov    0x2c(%rsp),%edi
  call   <wigSpec_L2@plt>
  mov    %r14d,%edx
  mov    %r12,%rsi
  mov    %r13,%rdi
  call   <memcpy@plt>
  mov    0x40(%rsp),%edx
  mov    0x3c(%rsp),%ecx
  sub    %ecx,%edx
  cmp    $0x1,%edx
  jle    L10
  mov    %ecx,%ebp
  add    0x20(%rsp),%r13
  lea    -0x1(%rcx,%rdx,1),%eax
  mov    %eax,0x3c(%rsp)
  lea    0x60(%rsp),%rax
  mov    %rax,0x40(%rsp)
L9:
  lea    0x50(%rsp),%rcx
  mov    0x40(%rsp),%r9
  lea    0x58(%rsp),%r8
  mov    0x38(%rsp),%edx
  mov    0x2c(%rsp),%esi
  mov    %ebp,%edi
  call   <L2_3term_so3@plt>
  mov    %ebx,%edx
  mov    0x8(%rsp),%rsi
  mov    0x18(%rsp),%rdi
  movsd  0x50(%rsp),%xmm0
  call   <vec_mul_so3@plt>
  mov    %ebx,%edx
  mov    %r15,%rsi
  mov    0x30(%rsp),%rdi
  movsd  0x60(%rsp),%xmm0
  call   <vec_add_scalar_so3@plt>
  mov    %ebx,%esi
  mov    %r15,%rdi
  movsd  0x58(%rsp),%xmm0
  call   <vec_mul_inplace_so3@plt>
  mov    %ebx,%ecx
  mov    0x10(%rsp),%rdx
  mov    %r15,%rsi
  mov    %r12,%rdi
  call   <vec_pt_mul_so3@plt>
  mov    %ebx,%ecx
  mov    (%rsp),%rdx
  mov    0x10(%rsp),%rsi
  mov    0x8(%rsp),%rdi
  call   <vec_add_so3@plt>
  mov    %r14d,%edx
  mov    (%rsp),%rsi
  mov    %r13,%rdi
  call   <memcpy@plt>
  mov    %r14d,%edx
  mov    %r12,%rsi
  mov    0x18(%rsp),%rdi
  call   <memcpy@plt>
  mov    %r14d,%edx
  mov    (%rsp),%rsi
  mov    %r12,%rdi
  call   <memcpy@plt>
  add    $0x1,%ebp
  add    0x20(%rsp),%r13
  cmp    0x3c(%rsp),%ebp
  jne    L9
L10:
  mov    0x68(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L0
  add    $0x78,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L0:
  call   <__stack_chk_fail@plt>
```

assistant: ```c
void genWig_L2_U(int m1, int m2, int bw, int n, double *sinEval, double *cosEval, double *sinEval2, double *cosEval2, double *result, double *workspace) {
  int i, lCtr, m;
  int tmpM1, tmpM2;
  double *prevprev, *prev;
  double *tmp0, *tmp1, *tmp2, *tmp3;
  double an, bn, cn;
  lCtr = 0;
  tmpM1 = ((m1) > 0 ? (m1) : (-m1));
  tmpM2 = ((m2) > 0 ? (m2) : (-m2));
  m = ((tmpM1) > (tmpM2) ? (tmpM1) : (tmpM2));
  prevprev = workspace;
  prev = prevprev + n;
  tmp0 = prev + n;
  tmp1 = tmp0 + n;
  tmp2 = tmp1 + n;
  tmp3 = tmp2 + n;
  memset(prevprev, 0, sizeof(double) * n);
  wigSpec_L2(m1, m2, sinEval2, cosEval2, n, prev);
  memcpy(result, prev, sizeof(double) * n);
  for (i = 0; i < bw - m - 1; i++) {
    L2_3term_so3(m + i, m1, m2, &an, &bn, &cn);
    vec_mul_so3(an, prevprev, tmp0, n);
    vec_add_scalar_so3(cn, cosEval, tmp1, n);
    vec_mul_inplace_so3(bn, tmp1, n);
    vec_pt_mul_so3(prev, tmp1, tmp2, n);
    vec_add_so3(tmp0, tmp2, tmp3, n);
    memcpy(result + (i + 1) * n, tmp3, sizeof(double) * n);
    memcpy(prevprev, prev, sizeof(double) * n);
    memcpy(prev, tmp3, sizeof(double) * n);
  }
}
```