user: 这段汇编代码用C语言表示是什么样的？

```asm
<Inverse_SO3_Naive>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0xc0,%rsp
  mov    %edi,-0x94(%rbp)
  mov    %rsi,-0xa0(%rbp)
  mov    %rdx,-0xa8(%rbp)
  mov    %rcx,-0xb0(%rbp)
  mov    %r8,-0xb8(%rbp)
  mov    %r9,-0xc0(%rbp)
  mov    -0x94(%rbp),%eax
  add    %eax,%eax
  mov    %eax,-0x80(%rbp)
  mov    -0xc0(%rbp),%rax
  mov    %rax,-0x78(%rbp)
  mov    -0x80(%rbp),%eax
  imul   %eax,%eax
  imul   -0x80(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0xc0(%rbp),%rax
  add    %rdx,%rax
  mov    %rax,-0x70(%rbp)
  mov    -0x80(%rbp),%eax
  imul   %eax,%eax
  imul   -0x80(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x70(%rbp),%rax
  add    %rdx,%rax
  mov    %rax,-0x68(%rbp)
  mov    -0x80(%rbp),%eax
  imul   %eax,%eax
  imul   -0x80(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x68(%rbp),%rax
  add    %rdx,%rax
  mov    %rax,-0x60(%rbp)
  mov    -0xb0(%rbp),%rax
  mov    %rax,-0x58(%rbp)
  mov    -0xb8(%rbp),%rax
  mov    %rax,-0x50(%rbp)
  mov    -0xa0(%rbp),%rax
  mov    %rax,-0x48(%rbp)
  mov    -0xa8(%rbp),%rax
  mov    %rax,-0x40(%rbp)
  mov    0x10(%rbp),%rax
  mov    %rax,-0x38(%rbp)
  mov    -0x80(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  mov    %rax,-0x30(%rbp)
  mov    -0x80(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x30(%rbp),%rax
  add    %rdx,%rax
  mov    %rax,-0x28(%rbp)
  mov    -0x80(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  mov    %rax,-0x20(%rbp)
  mov    -0x80(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x20(%rbp),%rax
  add    %rdx,%rax
  mov    %rax,-0x18(%rbp)
  mov    -0x94(%rbp),%eax
  imul   -0x80(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  mov    %rax,-0x10(%rbp)
  mov    -0x38(%rbp),%rdx
  mov    -0x80(%rbp),%eax
  mov    %rdx,%rsi
  mov    %eax,%edi
  call   <SinEvalPts@plt>
  mov    -0x30(%rbp),%rdx
  mov    -0x80(%rbp),%eax
  mov    %rdx,%rsi
  mov    %eax,%edi
  call   <CosEvalPts@plt>
  mov    -0x28(%rbp),%rdx
  mov    -0x80(%rbp),%eax
  mov    %rdx,%rsi
  mov    %eax,%edi
  call   <SinEvalPts2@plt>
  mov    -0x20(%rbp),%rdx
  mov    -0x80(%rbp),%eax
  mov    %rdx,%rsi
  mov    %eax,%edi
  call   <CosEvalPts2@plt>
  mov    -0x94(%rbp),%eax
  mov    %eax,%edi
  call   <totalCoeffs_so3@plt>
  mov    %eax,-0x7c(%rbp)
  mov    -0x7c(%rbp),%eax
  cltq
  shl    $0x3,%eax
  mov    %eax,%edx
  mov    -0xa0(%rbp),%rcx
  mov    -0x78(%rbp),%rax
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <memcpy@plt>
  mov    -0x7c(%rbp),%eax
  cltq
  shl    $0x3,%eax
  mov    %eax,%edx
  mov    -0xa8(%rbp),%rcx
  mov    -0x70(%rbp),%rax
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <memcpy@plt>
  movl   $0x0,-0x88(%rbp)
  jmp    L152
L51:
  movl   $0x0,-0x84(%rbp)
  jmp    L122
L90:
  mov    -0x28(%rbp),%r8
  mov    -0x30(%rbp),%rdi
  mov    -0x38(%rbp),%rcx
  mov    -0x94(%rbp),%edx
  mov    -0x84(%rbp),%esi
  mov    -0x88(%rbp),%eax
  sub    $0x8,%rsp
  push   -0x10(%rbp)
  push   -0x18(%rbp)
  push   -0x20(%rbp)
  mov    %r8,%r9
  mov    %rdi,%r8
  mov    %eax,%edi
  call   <genWigTrans_L2@plt>
  add    $0x20,%rsp
  mov    -0x68(%rbp),%r8
  mov    -0x18(%rbp),%rdi
  mov    -0x78(%rbp),%rcx
  mov    -0x94(%rbp),%edx
  mov    -0x84(%rbp),%esi
  mov    -0x88(%rbp),%eax
  sub    $0x8,%rsp
  push   -0x10(%rbp)
  mov    %r8,%r9
  mov    %rdi,%r8
  mov    %eax,%edi
  call   <wigNaiveSynthesis@plt>
  add    $0x10,%rsp
  mov    -0x60(%rbp),%r8
  mov    -0x18(%rbp),%rdi
  mov    -0x70(%rbp),%rcx
  mov    -0x94(%rbp),%edx
  mov    -0x84(%rbp),%esi
  mov    -0x88(%rbp),%eax
  sub    $0x8,%rsp
  push   -0x10(%rbp)
  mov    %r8,%r9
  mov    %rdi,%r8
  mov    %eax,%edi
  call   <wigNaiveSynthesis@plt>
  add    $0x10,%rsp
  mov    -0x94(%rbp),%edx
  mov    -0x84(%rbp),%ecx
  mov    -0x88(%rbp),%eax
  mov    %ecx,%esi
  mov    %eax,%edi
  call   <howMany_so3@plt>
  cltq
  shl    $0x3,%rax
  add    %rax,-0x78(%rbp)
  mov    -0x94(%rbp),%edx
  mov    -0x84(%rbp),%ecx
  mov    -0x88(%rbp),%eax
  mov    %ecx,%esi
  mov    %eax,%edi
  call   <howMany_so3@plt>
  cltq
  shl    $0x3,%rax
  add    %rax,-0x70(%rbp)
  mov    -0x80(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rax,-0x68(%rbp)
  mov    -0x80(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rax,-0x60(%rbp)
  addl   $0x1,-0x84(%rbp)
L122:
  mov    -0x84(%rbp),%eax
  cmp    -0x94(%rbp),%eax
  jl     L90
  movl   $0x0,-0x8c(%rbp)
  jmp    L171
L150:
  mov    -0x68(%rbp),%rax
  lea    0x8(%rax),%rdx
  mov    %rdx,-0x68(%rbp)
  pxor   %xmm0,%xmm0
  movsd  %xmm0,(%rax)
  mov    -0x60(%rbp),%rax
  lea    0x8(%rax),%rdx
  mov    %rdx,-0x60(%rbp)
  pxor   %xmm0,%xmm0
  movsd  %xmm0,(%rax)
  addl   $0x1,-0x8c(%rbp)
L171:
  mov    -0x8c(%rbp),%eax
  cmp    -0x80(%rbp),%eax
  jl     L150
  mov    $0x1,%eax
  sub    -0x94(%rbp),%eax
  mov    %eax,-0x84(%rbp)
  jmp    L77
L120:
  mov    -0x28(%rbp),%r8
  mov    -0x30(%rbp),%rdi
  mov    -0x38(%rbp),%rcx
  mov    -0x94(%rbp),%edx
  mov    -0x84(%rbp),%esi
  mov    -0x88(%rbp),%eax
  sub    $0x8,%rsp
  push   -0x10(%rbp)
  push   -0x18(%rbp)
  push   -0x20(%rbp)
  mov    %r8,%r9
  mov    %rdi,%r8
  mov    %eax,%edi
  call   <genWigTrans_L2@plt>
  add    $0x20,%rsp
  mov    -0x68(%rbp),%r8
  mov    -0x18(%rbp),%rdi
  mov    -0x78(%rbp),%rcx
  mov    -0x94(%rbp),%edx
  mov    -0x84(%rbp),%esi
  mov    -0x88(%rbp),%eax
  sub    $0x8,%rsp
  push   -0x10(%rbp)
  mov    %r8,%r9
  mov    %rdi,%r8
  mov    %eax,%edi
  call   <wigNaiveSynthesis@plt>
  add    $0x10,%rsp
  mov    -0x60(%rbp),%r8
  mov    -0x18(%rbp),%rdi
  mov    -0x70(%rbp),%rcx
  mov    -0x94(%rbp),%edx
  mov    -0x84(%rbp),%esi
  mov    -0x88(%rbp),%eax
  sub    $0x8,%rsp
  push   -0x10(%rbp)
  mov    %r8,%r9
  mov    %rdi,%r8
  mov    %eax,%edi
  call   <wigNaiveSynthesis@plt>
  add    $0x10,%rsp
  mov    -0x94(%rbp),%edx
  mov    -0x84(%rbp),%ecx
  mov    -0x88(%rbp),%eax
  mov    %ecx,%esi
  mov    %eax,%edi
  call   <howMany_so3@plt>
  cltq
  shl    $0x3,%rax
  add    %rax,-0x78(%rbp)
  mov    -0x94(%rbp),%edx
  mov    -0x84(%rbp),%ecx
  mov    -0x88(%rbp),%eax
  mov    %ecx,%esi
  mov    %eax,%edi
  call   <howMany_so3@plt>
  cltq
  shl    $0x3,%rax
  add    %rax,-0x70(%rbp)
  mov    -0x80(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rax,-0x68(%rbp)
  mov    -0x80(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rax,-0x60(%rbp)
  addl   $0x1,-0x84(%rbp)
L77:
  cmpl   $0x0,-0x84(%rbp)
  js     L120
  addl   $0x1,-0x88(%rbp)
L152:
  mov    -0x88(%rbp),%eax
  cmp    -0x94(%rbp),%eax
  jl     L51
  movl   $0x0,-0x8c(%rbp)
  jmp    L56
L159:
  mov    -0x68(%rbp),%rax
  lea    0x8(%rax),%rdx
  mov    %rdx,-0x68(%rbp)
  pxor   %xmm0,%xmm0
  movsd  %xmm0,(%rax)
  mov    -0x60(%rbp),%rax
  lea    0x8(%rax),%rdx
  mov    %rdx,-0x60(%rbp)
  pxor   %xmm0,%xmm0
  movsd  %xmm0,(%rax)
  addl   $0x1,-0x8c(%rbp)
L56:
  mov    -0x80(%rbp),%eax
  imul   %eax,%eax
  cmp    %eax,-0x8c(%rbp)
  jl     L159
  mov    $0x1,%eax
  sub    -0x94(%rbp),%eax
  mov    %eax,-0x88(%rbp)
  jmp    L131
L179:
  movl   $0x0,-0x84(%rbp)
  jmp    L101
L65:
  mov    -0x28(%rbp),%r8
  mov    -0x30(%rbp),%rdi
  mov    -0x38(%rbp),%rcx
  mov    -0x94(%rbp),%edx
  mov    -0x84(%rbp),%esi
  mov    -0x88(%rbp),%eax
  sub    $0x8,%rsp
  push   -0x10(%rbp)
  push   -0x18(%rbp)
  push   -0x20(%rbp)
  mov    %r8,%r9
  mov    %rdi,%r8
  mov    %eax,%edi
  call   <genWigTrans_L2@plt>
  add    $0x20,%rsp
  mov    -0x68(%rbp),%r8
  mov    -0x18(%rbp),%rdi
  mov    -0x78(%rbp),%rcx
  mov    -0x94(%rbp),%edx
  mov    -0x84(%rbp),%esi
  mov    -0x88(%rbp),%eax
  sub    $0x8,%rsp
  push   -0x10(%rbp)
  mov    %r8,%r9
  mov    %rdi,%r8
  mov    %eax,%edi
  call   <wigNaiveSynthesis@plt>
  add    $0x10,%rsp
  mov    -0x60(%rbp),%r8
  mov    -0x18(%rbp),%rdi
  mov    -0x70(%rbp),%rcx
  mov    -0x94(%rbp),%edx
  mov    -0x84(%rbp),%esi
  mov    -0x88(%rbp),%eax
  sub    $0x8,%rsp
  push   -0x10(%rbp)
  mov    %r8,%r9
  mov    %rdi,%r8
  mov    %eax,%edi
  call   <wigNaiveSynthesis@plt>
  add    $0x10,%rsp
  mov    -0x94(%rbp),%edx
  mov    -0x84(%rbp),%ecx
  mov    -0x88(%rbp),%eax
  mov    %ecx,%esi
  mov    %eax,%edi
  call   <howMany_so3@plt>
  cltq
  shl    $0x3,%rax
  add    %rax,-0x78(%rbp)
  mov    -0x94(%rbp),%edx
  mov    -0x84(%rbp),%ecx
  mov    -0x88(%rbp),%eax
  mov    %ecx,%esi
  mov    %eax,%edi
  call   <howMany_so3@plt>
  cltq
  shl    $0x3,%rax
  add    %rax,-0x70(%rbp)
  mov    -0x80(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rax,-0x68(%rbp)
  mov    -0x80(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rax,-0x60(%rbp)
  addl   $0x1,-0x84(%rbp)
L101:
  mov    -0x84(%rbp),%eax
  cmp    -0x94(%rbp),%eax
  jl     L65
  movl   $0x0,-0x8c(%rbp)
  jmp    L93
L134:
  mov    -0x68(%rbp),%rax
  lea    0x8(%rax),%rdx
  mov    %rdx,-0x68(%rbp)
  pxor   %xmm0,%xmm0
  movsd  %xmm0,(%rax)
  mov    -0x60(%rbp),%rax
  lea    0x8(%rax),%rdx
  mov    %rdx,-0x60(%rbp)
  pxor   %xmm0,%xmm0
  movsd  %xmm0,(%rax)
  addl   $0x1,-0x8c(%rbp)
L93:
  mov    -0x8c(%rbp),%eax
  cmp    -0x80(%rbp),%eax
  jl     L134
  mov    $0x1,%eax
  sub    -0x94(%rbp),%eax
  mov    %eax,-0x84(%rbp)
  jmp    L23
L105:
  mov    -0x28(%rbp),%r8
  mov    -0x30(%rbp),%rdi
  mov    -0x38(%rbp),%rcx
  mov    -0x94(%rbp),%edx
  mov    -0x84(%rbp),%esi
  mov    -0x88(%rbp),%eax
  sub    $0x8,%rsp
  push   -0x10(%rbp)
  push   -0x18(%rbp)
  push   -0x20(%rbp)
  mov    %r8,%r9
  mov    %rdi,%r8
  mov    %eax,%edi
  call   <genWigTrans_L2@plt>
  add    $0x20,%rsp
  mov    -0x68(%rbp),%r8
  mov    -0x18(%rbp),%rdi
  mov    -0x78(%rbp),%rcx
  mov    -0x94(%rbp),%edx
  mov    -0x84(%rbp),%esi
  mov    -0x88(%rbp),%eax
  sub    $0x8,%rsp
  push   -0x10(%rbp)
  mov    %r8,%r9
  mov    %rdi,%r8
  mov    %eax,%edi
  call   <wigNaiveSynthesis@plt>
  add    $0x10,%rsp
  mov    -0x60(%rbp),%r8
  mov    -0x18(%rbp),%rdi
  mov    -0x70(%rbp),%rcx
  mov    -0x94(%rbp),%edx
  mov    -0x84(%rbp),%esi
  mov    -0x88(%rbp),%eax
  sub    $0x8,%rsp
  push   -0x10(%rbp)
  mov    %r8,%r9
  mov    %rdi,%r8
  mov    %eax,%edi
  call   <wigNaiveSynthesis@plt>
  add    $0x10,%rsp
  mov    -0x94(%rbp),%edx
  mov    -0x84(%rbp),%ecx
  mov    -0x88(%rbp),%eax
  mov    %ecx,%esi
  mov    %eax,%edi
  call   <howMany_so3@plt>
  cltq
  shl    $0x3,%rax
  add    %rax,-0x78(%rbp)
  mov    -0x94(%rbp),%edx
  mov    -0x84(%rbp),%ecx
  mov    -0x88(%rbp),%eax
  mov    %ecx,%esi
  mov    %eax,%edi
  call   <howMany_so3@plt>
  cltq
  shl    $0x3,%rax
  add    %rax,-0x70(%rbp)
  mov    -0x80(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rax,-0x68(%rbp)
  mov    -0x80(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rax,-0x60(%rbp)
  addl   $0x1,-0x84(%rbp)
L23:
  cmpl   $0x0,-0x84(%rbp)
  js     L105
  addl   $0x1,-0x88(%rbp)
L131:
  cmpl   $0x0,-0x88(%rbp)
  js     L179
  mov    -0x94(%rbp),%eax
  mov    %eax,%edi
  call   <totalCoeffs_so3@plt>
  cltq
  shl    $0x3,%rax
  neg    %rax
  add    %rax,-0x78(%rbp)
  mov    -0x94(%rbp),%eax
  mov    %eax,%edi
  call   <totalCoeffs_so3@plt>
  cltq
  shl    $0x3,%rax
  neg    %rax
  add    %rax,-0x70(%rbp)
  mov    -0x80(%rbp),%eax
  imul   %eax,%eax
  imul   -0x80(%rbp),%eax
  cltq
  shl    $0x3,%rax
  neg    %rax
  add    %rax,-0x68(%rbp)
  mov    -0x80(%rbp),%eax
  imul   %eax,%eax
  imul   -0x80(%rbp),%eax
  cltq
  shl    $0x3,%rax
  neg    %rax
  add    %rax,-0x60(%rbp)
  mov    -0x80(%rbp),%eax
  imul   %eax,%eax
  mov    %eax,%ecx
  mov    -0x80(%rbp),%edx
  mov    -0x78(%rbp),%rsi
  mov    -0x68(%rbp),%rax
  mov    %rax,%rdi
  call   <transpose_so3@plt>
  mov    -0x80(%rbp),%eax
  imul   %eax,%eax
  mov    %eax,%ecx
  mov    -0x80(%rbp),%edx
  mov    -0x70(%rbp),%rsi
  mov    -0x60(%rbp),%rax
  mov    %rax,%rdi
  call   <transpose_so3@plt>
  mov    -0x80(%rbp),%eax
  imul   %eax,%eax
  mov    %eax,%edi
  mov    -0x80(%rbp),%r8d
  mov    -0x60(%rbp),%rcx
  mov    -0x68(%rbp),%rdx
  mov    -0x70(%rbp),%rsi
  mov    -0x78(%rbp),%rax
  sub    $0x8,%rsp
  push   -0x10(%rbp)
  mov    %r8d,%r9d
  mov    %edi,%r8d
  mov    %rax,%rdi
  call   <grid_fourier_so3@plt>
  add    $0x10,%rsp
  mov    -0x80(%rbp),%eax
  imul   %eax,%eax
  mov    %eax,%ecx
  mov    -0x80(%rbp),%edx
  mov    -0x78(%rbp),%rsi
  mov    -0x68(%rbp),%rax
  mov    %rax,%rdi
  call   <transpose_so3@plt>
  mov    -0x80(%rbp),%eax
  imul   %eax,%eax
  mov    %eax,%ecx
  mov    -0x80(%rbp),%edx
  mov    -0x70(%rbp),%rsi
  mov    -0x60(%rbp),%rax
  mov    %rax,%rdi
  call   <transpose_so3@plt>
  mov    -0x80(%rbp),%eax
  imul   %eax,%eax
  mov    %eax,%edi
  mov    -0x80(%rbp),%r8d
  mov    -0xb8(%rbp),%rcx
  mov    -0xb0(%rbp),%rdx
  mov    -0x70(%rbp),%rsi
  mov    -0x78(%rbp),%rax
  sub    $0x8,%rsp
  push   -0x10(%rbp)
  mov    %r8d,%r9d
  mov    %edi,%r8d
  mov    %rax,%rdi
  call   <grid_fourier_so3@plt>
  add    $0x10,%rsp
  pxor   %xmm0,%xmm0
  cvtsi2sdl -0x80(%rbp),%xmm0
  movsd  %xmm0,-0x8(%rbp)
  pxor   %xmm0,%xmm0
  cvtsi2sdl -0x94(%rbp),%xmm0
  movsd  D5(%rip),%xmm1
  divsd  %xmm1,%xmm0
  movsd  -0x8(%rbp),%xmm1
  mulsd  %xmm1,%xmm0
  movsd  %xmm0,-0x8(%rbp)
  movl   $0x0,-0x8c(%rbp)
  jmp    L104
L167:
  mov    -0x8c(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0xb0(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x8c(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0xb0(%rbp),%rax
  add    %rdx,%rax
  mulsd  -0x8(%rbp),%xmm0
  movsd  %xmm0,(%rax)
  mov    -0x8c(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0xb8(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x8c(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0xb8(%rbp),%rax
  add    %rdx,%rax
  mulsd  -0x8(%rbp),%xmm0
  movsd  %xmm0,(%rax)
  addl   $0x1,-0x8c(%rbp)
L104:
  mov    -0x80(%rbp),%eax
  imul   %eax,%eax
  imul   -0x80(%rbp),%eax
  cmp    %eax,-0x8c(%rbp)
  jl     L167
  nop
  nop
  leave
  ret
```

tool_calls: name: parse_data
arguments: label: D5
type_guessed: f64

tool: D5: 3.141592653589793

assistant: ```c
void Inverse_SO3_Naive(int bw, double *rcoeffs, double *icoeffs, double *rdata, double *idata, double *workspace1, double *workspace2) {
  int j, n;
  int m1, m2;
  double *t1r, *t1i, *t2r, *t2i;
  double *sinPts, *cosPts, *sinPts2, *cosPts2;
  double *wignersTrans, *scratch;
  double *rdataPtr, *idataPtr;
  double *rcoeffsPtr, *icoeffsPtr;
  double dn;
  int tmpInt;
  n = 2 * bw;
  t1r = workspace1;
  t1i = workspace1 + (n * n * n);
  t2r = t1i + (n * n * n);
  t2i = t2r + (n * n * n);
  rdataPtr = rdata;
  idataPtr = idata;
  rcoeffsPtr = rcoeffs;
  icoeffsPtr = icoeffs;
  sinPts = workspace2;
  cosPts = sinPts + n;
  sinPts2 = cosPts + n;
  cosPts2 = sinPts2 + n;
  wignersTrans = cosPts2 + n;
  scratch = wignersTrans + (bw * n);
  SinEvalPts(n, sinPts);
  CosEvalPts(n, cosPts);
  SinEvalPts2(n, sinPts2);
  CosEvalPts2(n, cosPts2);
  tmpInt = totalCoeffs_so3(bw);
  memcpy(t1r, rcoeffs, sizeof(double) * tmpInt);
  memcpy(t1i, icoeffs, sizeof(double) * tmpInt);
  for (m1 = 0; m1 < bw; m1++) {
    for (m2 = 0; m2 < bw; m2++) {
      genWigTrans_L2(m1, m2, bw, sinPts, cosPts, sinPts2, cosPts2, wignersTrans, scratch);
      wigNaiveSynthesis(m1, m2, bw, t1r, wignersTrans, t2r, scratch);
      wigNaiveSynthesis(m1, m2, bw, t1i, wignersTrans, t2i, scratch);
      t1r += howMany_so3(m1, m2, bw);
      t1i += howMany_so3(m1, m2, bw);
      t2r += n;
      t2i += n;
    }
    for (j = 0; j < n; j++) {
      *t2r++ = 0.0;
      *t2i++ = 0.0;
    }
    for (m2 = -(bw - 1); m2 < 0; m2++) {
      genWigTrans_L2(m1, m2, bw, sinPts, cosPts, sinPts2, cosPts2, wignersTrans, scratch);
      wigNaiveSynthesis(m1, m2, bw, t1r, wignersTrans, t2r, scratch);
      wigNaiveSynthesis(m1, m2, bw, t1i, wignersTrans, t2i, scratch);
      t1r += howMany_so3(m1, m2, bw);
      t1i += howMany_so3(m1, m2, bw);
      t2r += n;
      t2i += n;
    }
  }
  for (j = 0; j < n * n; j++) {
    *t2r++ = 0.0;
    *t2i++ = 0.0;
  }
  for (m1 = -(bw - 1); m1 < 0; m1++) {
    for (m2 = 0; m2 < bw; m2++) {
      genWigTrans_L2(m1, m2, bw, sinPts, cosPts, sinPts2, cosPts2, wignersTrans, scratch);
      wigNaiveSynthesis(m1, m2, bw, t1r, wignersTrans, t2r, scratch);
      wigNaiveSynthesis(m1, m2, bw, t1i, wignersTrans, t2i, scratch);
      t1r += howMany_so3(m1, m2, bw);
      t1i += howMany_so3(m1, m2, bw);
      t2r += n;
      t2i += n;
    }
    for (j = 0; j < n; j++) {
      *t2r++ = 0.0;
      *t2i++ = 0.0;
    }
    for (m2 = -(bw - 1); m2 < 0; m2++) {
      genWigTrans_L2(m1, m2, bw, sinPts, cosPts, sinPts2, cosPts2, wignersTrans, scratch);
      wigNaiveSynthesis(m1, m2, bw, t1r, wignersTrans, t2r, scratch);
      wigNaiveSynthesis(m1, m2, bw, t1i, wignersTrans, t2i, scratch);
      t1r += howMany_so3(m1, m2, bw);
      t1i += howMany_so3(m1, m2, bw);
      t2r += n;
      t2i += n;
    }
  }
  t1r -= totalCoeffs_so3(bw);
  t1i -= totalCoeffs_so3(bw);
  t2r -= (n * n * n);
  t2i -= (n * n * n);
  transpose_so3(t2r, t1r, n, n * n);
  transpose_so3(t2i, t1i, n, n * n);
  grid_fourier_so3(t1r, t1i, t2r, t2i, n * n, n, scratch);
  transpose_so3(t2r, t1r, n, n * n);
  transpose_so3(t2i, t1i, n, n * n);
  grid_fourier_so3(t1r, t1i, rdata, idata, n * n, n, scratch);
  dn = (double)n;
  dn *= ((double)bw) / 3.14159265358979323846;
  for (j = 0; j < n * n * n; j++) {
    rdata[j] *= dn;
    idata[j] *= dn;
  }
}
```