// File: /workspace/github_c_makefile_star2_O0/pavel-demin[P]ft8d-c/pffft.c
// Function: rfftb1_ps
static NEVER_INLINE(v4sf *) rfftb1_ps(int n, const v4sf *input_readonly, v4sf *work1, v4sf *work2,
                                      const float *wa, const int *ifac) {
  v4sf *in  = (v4sf*)input_readonly;
  v4sf *out = (in == work2 ? work1 : work2);
  int nf = ifac[1], k1;
  int l1 = 1;
  int iw = 0;
  assert(in != out);
  for (k1=1; k1<=nf; k1++) {
    int ip = ifac[k1 + 1];
    int l2 = ip*l1;
    int ido = n / l2;
    switch (ip) {
      case 5: {
        int ix2 = iw + ido;
        int ix3 = ix2 + ido;
        int ix4 = ix3 + ido;
        radb5_ps(ido, l1, in, out, &wa[iw], &wa[ix2], &wa[ix3], &wa[ix4]);
      } break;
      case 4: {
        int ix2 = iw + ido;
        int ix3 = ix2 + ido;
        radb4_ps(ido, l1, in, out, &wa[iw], &wa[ix2], &wa[ix3]);
      } break;
      case 3: {
        int ix2 = iw + ido;
        radb3_ps(ido, l1, in, out, &wa[iw], &wa[ix2]);
      } break;
      case 2:
        radb2_ps(ido, l1, in, out, &wa[iw]);
        break;
      default:
        assert(0);
        break;
    }
    l1 = l2;
    iw += (ip - 1)*ido;

    if (out == work2) {
      out = work1; in = work2;
    } else {
      out = work2; in = work1;
    }
  }
  return in; /* this is in fact the output .. */
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xa0, %rsp
movl %edi, -0x4(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq %r8, -0x28(%rbp)
movq %r9, -0x30(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x38(%rbp)
movq -0x38(%rbp), %rax
cmpq -0x20(%rbp), %rax
jne 0xce8e
movq -0x18(%rbp), %rax
movq %rax, -0x80(%rbp)
jmp 0xce96
movq -0x20(%rbp), %rax
movq %rax, -0x80(%rbp)
movq -0x80(%rbp), %rax
movq %rax, -0x40(%rbp)
movq -0x30(%rbp), %rax
movl 0x4(%rax), %eax
movl %eax, -0x44(%rbp)
movl $0x1, -0x4c(%rbp)
movl $0x0, -0x50(%rbp)
movq -0x38(%rbp), %rax
cmpq -0x40(%rbp), %rax
je 0xcec2
jmp 0xcee1
leaq 0xb8ee(%rip), %rdi      # 0x187b7
leaq 0xb30e(%rip), %rsi      # 0x181de
movl $0x3f6, %edx            # imm = 0x3F6
leaq 0xbc93(%rip), %rcx      # 0x18b6f
callq 0x1090
movl $0x1, -0x48(%rbp)
movl -0x48(%rbp), %eax
cmpl -0x44(%rbp), %eax
jg 0xd0eb
movq -0x30(%rbp), %rax
movslq -0x48(%rbp), %rcx
movl 0x4(%rax,%rcx,4), %eax
movl %eax, -0x54(%rbp)
movl -0x54(%rbp), %eax
movl -0x4c(%rbp), %ecx
imull %ecx, %eax
movl %eax, -0x58(%rbp)
movl -0x4(%rbp), %eax
movl -0x58(%rbp), %ecx
cltd
idivl %ecx
movl %eax, -0x5c(%rbp)
movl -0x54(%rbp), %eax
addl $-0x2, %eax
movl %eax, %ecx
movq %rcx, -0x88(%rbp)
subl $0x3, %eax
ja 0xd07a
movq -0x88(%rbp), %rax
leaq 0xb16f(%rip), %rcx      # 0x180b0
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movl -0x50(%rbp), %eax
addl -0x5c(%rbp), %eax
movl %eax, -0x60(%rbp)
movl -0x60(%rbp), %eax
addl -0x5c(%rbp), %eax
movl %eax, -0x64(%rbp)
movl -0x64(%rbp), %eax
addl -0x5c(%rbp), %eax
movl %eax, -0x68(%rbp)
movl -0x5c(%rbp), %edi
movl -0x4c(%rbp), %esi
movq -0x38(%rbp), %rdx
movq -0x40(%rbp), %rcx
movq -0x28(%rbp), %r8
movslq -0x50(%rbp), %rax
shlq $0x2, %rax
addq %rax, %r8
movq -0x28(%rbp), %r9
movslq -0x60(%rbp), %rax
shlq $0x2, %rax
addq %rax, %r9
movq -0x28(%rbp), %r10
movslq -0x64(%rbp), %rax
shlq $0x2, %rax
addq %rax, %r10
movq -0x28(%rbp), %rax
movslq -0x68(%rbp), %r11
shlq $0x2, %r11
addq %r11, %rax
movq %r10, (%rsp)
movq %rax, 0x8(%rsp)
callq 0x11ad0
jmp 0xd099
movl -0x50(%rbp), %eax
addl -0x5c(%rbp), %eax
movl %eax, -0x6c(%rbp)
movl -0x6c(%rbp), %eax
addl -0x5c(%rbp), %eax
movl %eax, -0x70(%rbp)
movl -0x5c(%rbp), %edi
movl -0x4c(%rbp), %esi
movq -0x38(%rbp), %rdx
movq -0x40(%rbp), %rcx
movq -0x28(%rbp), %r8
movslq -0x50(%rbp), %rax
shlq $0x2, %rax
addq %rax, %r8
movq -0x28(%rbp), %r9
movslq -0x6c(%rbp), %rax
shlq $0x2, %rax
addq %rax, %r9
movq -0x28(%rbp), %rax
movslq -0x70(%rbp), %r10
shlq $0x2, %r10
addq %r10, %rax
movq %rax, (%rsp)
callq 0x139f0
jmp 0xd099
movl -0x50(%rbp), %eax
addl -0x5c(%rbp), %eax
movl %eax, -0x74(%rbp)
movl -0x5c(%rbp), %edi
movl -0x4c(%rbp), %esi
movq -0x38(%rbp), %rdx
movq -0x40(%rbp), %rcx
movq -0x28(%rbp), %r8
movslq -0x50(%rbp), %rax
shlq $0x2, %rax
addq %rax, %r8
movq -0x28(%rbp), %r9
movslq -0x74(%rbp), %rax
shlq $0x2, %rax
addq %rax, %r9
callq 0x14ce0
jmp 0xd099
movl -0x5c(%rbp), %edi
movl -0x4c(%rbp), %esi
movq -0x38(%rbp), %rdx
movq -0x40(%rbp), %rcx
movq -0x28(%rbp), %r8
movslq -0x50(%rbp), %rax
shlq $0x2, %rax
addq %rax, %r8
callq 0x15a60
jmp 0xd099
leaq 0xb734(%rip), %rdi      # 0x187b5
leaq 0xb156(%rip), %rsi      # 0x181de
movl $0x40f, %edx            # imm = 0x40F
leaq 0xbadb(%rip), %rcx      # 0x18b6f
callq 0x1090
movl -0x58(%rbp), %eax
movl %eax, -0x4c(%rbp)
movl -0x54(%rbp), %eax
subl $0x1, %eax
imull -0x5c(%rbp), %eax
addl -0x50(%rbp), %eax
movl %eax, -0x50(%rbp)
movq -0x40(%rbp), %rax
cmpq -0x20(%rbp), %rax
jne 0xd0cb
movq -0x18(%rbp), %rax
movq %rax, -0x40(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0x38(%rbp)
jmp 0xd0db
movq -0x20(%rbp), %rax
movq %rax, -0x40(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x38(%rbp)
jmp 0xd0dd
movl -0x48(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x48(%rbp)
jmp 0xcee8
movq -0x38(%rbp), %rax
addq $0xa0, %rsp
popq %rbp
retq
nopl (%rax,%rax)