// File: /workspace/github_c_makefile_star2_O0/pavel-demin[P]ft8d-c/pffft.c
// Function: rfftf1_ps
static NEVER_INLINE(v4sf *) rfftf1_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 l2 = n;
  int iw = n-1;
  assert(in != out && work1 != work2);
  for (k1 = 1; k1 <= nf; ++k1) {
    int kh = nf - k1;
    int ip = ifac[kh + 2];
    int l1 = l2 / ip;
    int ido = n / l2;
    iw -= (ip - 1)*ido;
    switch (ip) {
      case 5: {
        int ix2 = iw + ido;
        int ix3 = ix2 + ido;
        int ix4 = ix3 + ido;
        radf5_ps(ido, l1, in, out, &wa[iw], &wa[ix2], &wa[ix3], &wa[ix4]);
      } break;
      case 4: {
        int ix2 = iw + ido;
        int ix3 = ix2 + ido;
        radf4_ps(ido, l1, in, out, &wa[iw], &wa[ix2], &wa[ix3]);
      } break;
      case 3: {
        int ix2 = iw + ido;
        radf3_ps(ido, l1, in, out, &wa[iw], &wa[ix2]);
      } break;
      case 2:
        radf2_ps(ido, l1, in, out, &wa[iw]);
        break;
      default:
        assert(0);
        break;
    }
    l2 = l1;
    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 0x94ae
movq -0x18(%rbp), %rax
movq %rax, -0x80(%rbp)
jmp 0x94b6
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 -0x4(%rbp), %eax
movl %eax, -0x4c(%rbp)
movl -0x4(%rbp), %eax
subl $0x1, %eax
movl %eax, -0x50(%rbp)
movq -0x38(%rbp), %rax
cmpq -0x40(%rbp), %rax
je 0x94ed
movq -0x18(%rbp), %rax
cmpq -0x20(%rbp), %rax
je 0x94ed
jmp 0x950c
leaq 0xf1dc(%rip), %rdi      # 0x186d0
leaq 0xece3(%rip), %rsi      # 0x181de
movl $0x3c7, %edx            # imm = 0x3C7
leaq 0xf593(%rip), %rcx      # 0x18a9a
callq 0x1090
movl $0x1, -0x48(%rbp)
movl -0x48(%rbp), %eax
cmpl -0x44(%rbp), %eax
jg 0x9724
movl -0x44(%rbp), %eax
movl -0x48(%rbp), %ecx
subl %ecx, %eax
movl %eax, -0x54(%rbp)
movq -0x30(%rbp), %rax
movslq -0x54(%rbp), %rcx
movl 0x8(%rax,%rcx,4), %eax
movl %eax, -0x58(%rbp)
movl -0x4c(%rbp), %eax
movl -0x58(%rbp), %ecx
cltd
idivl %ecx
movl %eax, -0x5c(%rbp)
movl -0x4(%rbp), %eax
movl -0x4c(%rbp), %ecx
cltd
idivl %ecx
movl %eax, -0x60(%rbp)
movl -0x58(%rbp), %ecx
decl %ecx
movl -0x60(%rbp), %eax
imull %eax, %ecx
movl -0x50(%rbp), %eax
subl %ecx, %eax
movl %eax, -0x50(%rbp)
movl -0x58(%rbp), %eax
addl $-0x2, %eax
movl %eax, %ecx
movq %rcx, -0x88(%rbp)
subl $0x3, %eax
ja 0x96c3
movq -0x88(%rbp), %rax
leaq 0xeb16(%rip), %rcx      # 0x180a0
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movl -0x50(%rbp), %eax
addl -0x60(%rbp), %eax
movl %eax, -0x64(%rbp)
movl -0x64(%rbp), %eax
addl -0x60(%rbp), %eax
movl %eax, -0x68(%rbp)
movl -0x68(%rbp), %eax
addl -0x60(%rbp), %eax
movl %eax, -0x6c(%rbp)
movl -0x60(%rbp), %edi
movl -0x5c(%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 -0x64(%rbp), %rax
shlq $0x2, %rax
addq %rax, %r9
movq -0x28(%rbp), %r10
movslq -0x68(%rbp), %rax
shlq $0x2, %rax
addq %rax, %r10
movq -0x28(%rbp), %rax
movslq -0x6c(%rbp), %r11
shlq $0x2, %r11
addq %r11, %rax
movq %r10, (%rsp)
movq %rax, 0x8(%rsp)
callq 0xd8e0
jmp 0x96e2
movl -0x50(%rbp), %eax
addl -0x60(%rbp), %eax
movl %eax, -0x70(%rbp)
movl -0x70(%rbp), %eax
addl -0x60(%rbp), %eax
movl %eax, -0x74(%rbp)
movl -0x60(%rbp), %edi
movl -0x5c(%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 -0x70(%rbp), %rax
shlq $0x2, %rax
addq %rax, %r9
movq -0x28(%rbp), %rax
movslq -0x74(%rbp), %r10
shlq $0x2, %r10
addq %r10, %rax
movq %rax, (%rsp)
callq 0xf6f0
jmp 0x96e2
movl -0x50(%rbp), %eax
addl -0x60(%rbp), %eax
movl %eax, -0x78(%rbp)
movl -0x60(%rbp), %edi
movl -0x5c(%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 -0x78(%rbp), %rax
shlq $0x2, %rax
addq %rax, %r9
callq 0x107d0
jmp 0x96e2
movl -0x60(%rbp), %edi
movl -0x5c(%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 0x11420
jmp 0x96e2
leaq 0xf0eb(%rip), %rdi      # 0x187b5
leaq 0xeb0d(%rip), %rsi      # 0x181de
movl $0x3e2, %edx            # imm = 0x3E2
leaq 0xf3bd(%rip), %rcx      # 0x18a9a
callq 0x1090
movl -0x5c(%rbp), %eax
movl %eax, -0x4c(%rbp)
movq -0x40(%rbp), %rax
cmpq -0x20(%rbp), %rax
jne 0x9704
movq -0x18(%rbp), %rax
movq %rax, -0x40(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0x38(%rbp)
jmp 0x9714
movq -0x20(%rbp), %rax
movq %rax, -0x40(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x38(%rbp)
jmp 0x9716
movl -0x48(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x48(%rbp)
jmp 0x9513
movq -0x38(%rbp), %rax
addq $0xa0, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)