user: 请显示与下面列出的汇编代码相匹配的C语言实现:

```asm
<rfftb1>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  add    $0xffffffffffffff80,%rsp
  mov    %rdi,-0x58(%rbp)
  mov    %rsi,-0x60(%rbp)
  mov    %rdx,-0x68(%rbp)
  mov    %rcx,-0x70(%rbp)
  mov    %r8,-0x78(%rbp)
  movq   $0x1,-0x48(%rbp)
  mov    -0x78(%rbp),%rax
  add    $0x8,%rax
  mov    (%rax),%rax
  mov    %rax,-0x28(%rbp)
  movq   $0x0,-0x40(%rbp)
  mov    -0x60(%rbp),%rax
  mov    %rax,-0x38(%rbp)
  mov    -0x68(%rbp),%rax
  mov    %rax,-0x30(%rbp)
  movq   $0x1,-0x50(%rbp)
  jmp    L89
L69:
  mov    -0x50(%rbp),%rax
  add    $0x1,%rax
  lea    0x0(,%rax,8),%rdx
  mov    -0x78(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  mov    %rax,-0x20(%rbp)
  mov    -0x20(%rbp),%rax
  imul   -0x48(%rbp),%rax
  mov    %rax,%rsi
  mov    -0x58(%rbp),%rax
  mov    $0x0,%edx
  div    %rsi
  mov    %rax,-0x18(%rbp)
  cmpq   $0x4,-0x20(%rbp)
  jne    L12
  mov    -0x40(%rbp),%rax
  lea    0x0(,%rax,8),%rdx
  mov    -0x70(%rbp),%rax
  lea    (%rdx,%rax,1),%rdi
  mov    -0x30(%rbp),%rcx
  mov    -0x38(%rbp),%rdx
  mov    -0x48(%rbp),%rsi
  mov    -0x18(%rbp),%rax
  mov    %rdi,%r8
  mov    %rax,%rdi
  call   <radb4@plt>
  jmp    L66
L12:
  cmpq   $0x2,-0x20(%rbp)
  jne    L43
  mov    -0x40(%rbp),%rax
  lea    0x0(,%rax,8),%rdx
  mov    -0x70(%rbp),%rax
  lea    (%rdx,%rax,1),%rdi
  mov    -0x30(%rbp),%rcx
  mov    -0x38(%rbp),%rdx
  mov    -0x48(%rbp),%rsi
  mov    -0x18(%rbp),%rax
  mov    %rdi,%r8
  mov    %rax,%rdi
  call   <radb2@plt>
  jmp    L66
L43:
  cmpq   $0x3,-0x20(%rbp)
  jne    L102
  mov    -0x40(%rbp),%rax
  lea    0x0(,%rax,8),%rdx
  mov    -0x70(%rbp),%rax
  lea    (%rdx,%rax,1),%rdi
  mov    -0x30(%rbp),%rcx
  mov    -0x38(%rbp),%rdx
  mov    -0x48(%rbp),%rsi
  mov    -0x18(%rbp),%rax
  mov    %rdi,%r8
  mov    %rax,%rdi
  call   <radb3@plt>
  jmp    L66
L102:
  cmpq   $0x5,-0x20(%rbp)
  jne    L25
  mov    -0x40(%rbp),%rax
  lea    0x0(,%rax,8),%rdx
  mov    -0x70(%rbp),%rax
  lea    (%rdx,%rax,1),%rdi
  mov    -0x30(%rbp),%rcx
  mov    -0x38(%rbp),%rdx
  mov    -0x48(%rbp),%rsi
  mov    -0x18(%rbp),%rax
  mov    %rdi,%r8
  mov    %rax,%rdi
  call   <radb5@plt>
  jmp    L66
L25:
  mov    -0x40(%rbp),%rax
  lea    0x0(,%rax,8),%rdx
  mov    -0x70(%rbp),%rax
  lea    (%rdx,%rax,1),%rdi
  mov    -0x18(%rbp),%rax
  imul   -0x48(%rbp),%rax
  mov    %rax,%rcx
  mov    -0x30(%rbp),%r9
  mov    -0x38(%rbp),%r8
  mov    -0x48(%rbp),%rdx
  mov    -0x20(%rbp),%rsi
  mov    -0x18(%rbp),%rax
  sub    $0x8,%rsp
  push   %rdi
  mov    %rax,%rdi
  call   <radbg@plt>
  add    $0x10,%rsp
  cmpq   $0x1,-0x18(%rbp)
  je     L66
  mov    -0x38(%rbp),%rax
  mov    %rax,-0x10(%rbp)
  mov    -0x30(%rbp),%rax
  mov    %rax,-0x38(%rbp)
  mov    -0x10(%rbp),%rax
  mov    %rax,-0x30(%rbp)
L66:
  mov    -0x38(%rbp),%rax
  mov    %rax,-0x8(%rbp)
  mov    -0x30(%rbp),%rax
  mov    %rax,-0x38(%rbp)
  mov    -0x8(%rbp),%rax
  mov    %rax,-0x30(%rbp)
  mov    -0x48(%rbp),%rax
  imul   -0x20(%rbp),%rax
  mov    %rax,-0x48(%rbp)
  mov    -0x20(%rbp),%rax
  sub    $0x1,%rax
  imul   -0x18(%rbp),%rax
  add    %rax,-0x40(%rbp)
  addq   $0x1,-0x50(%rbp)
L89:
  mov    -0x50(%rbp),%rax
  cmp    -0x28(%rbp),%rax
  jbe    L69
  mov    -0x38(%rbp),%rax
  cmp    -0x60(%rbp),%rax
  je     L50
  mov    -0x58(%rbp),%rax
  lea    0x0(,%rax,8),%rdx
  mov    -0x68(%rbp),%rcx
  mov    -0x60(%rbp),%rax
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <memcpy@plt>
L50:
  nop
  leave
  ret
```

assistant: ```c
void rfftb1(size_t n, double c[], double ch[], const double wa[], const size_t ifac[]) {
  size_t k1, l1 = 1, nf = ifac[1], iw = 0;
  double *p1 = c, *p2 = ch;
  for (k1 = 1; k1 <= nf; k1++) {
    size_t ip = ifac[k1 + 1], ido = n / (ip * l1);
    if (ip == 4)
      radb4(ido, l1, p1, p2, wa + iw);
    else if (ip == 2)
      radb2(ido, l1, p1, p2, wa + iw);
    else if (ip == 3)
      radb3(ido, l1, p1, p2, wa + iw);
    else if (ip == 5)
      radb5(ido, l1, p1, p2, wa + iw);
    else {
      radbg(ido, ip, l1, ido * l1, p1, p2, wa + iw);
      if (ido != 1)
        do {
          double *tmp_ = (p1);
          (p1) = (p2);
          (p2) = tmp_;
        } while (0);
    }
    do {
      double *tmp_ = (p1);
      (p1) = (p2);
      (p2) = tmp_;
    } while (0);
    l1 *= ip;
    iw += (ip - 1) * ido;
  }
  if (p1 != c)
    memcpy(c, ch, n * sizeof(double));
}
```