// File: /workspace/github_cpp_makefile_star2_O1/Sleepwalking[P]world-octave/fft.cpp
// Function: fft_execute(fft_plan)
void fft_execute(fft_plan p) {
  if (p.sign == FFT_FORWARD) {
    ForwardFFT(p);
  } else {  // ifft
    BackwardFFT(p);
  }
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
leaq 0x30(%rsp), %rdx
movl (%rdx), %r14d
cmpl $0x1, 0x4(%rdx)
movq 0x10(%rdx), %rcx
movq 0x30(%rdx), %rbx
movq 0x38(%rdx), %rax
movq 0x40(%rdx), %r8
jne 0x7fc4
movq 0x20(%rdx), %r15
testq %rcx, %rcx
je 0x8044
testl %r14d, %r14d
jle 0x818e
movq %r14, %r12
shlq $0x4, %r12
xorl %edx, %edx
movsd (%rcx,%rdx), %xmm0
movsd %xmm0, (%rbx,%rdx)
movsd 0x8(%rcx,%rdx), %xmm0
movsd %xmm0, 0x8(%rbx,%rdx)
addq $0x10, %rdx
cmpq %rdx, %r12
jne 0x7f63
leal (%r14,%r14), %edi
movl (%rax), %ecx
movq %rbx, %rsi
movq %rax, %rdx
callq 0x8232
testl %r14d, %r14d
jle 0x8182
xorl %eax, %eax
movsd (%rbx,%rax), %xmm0
movsd %xmm0, (%r15,%rax)
movsd 0x8(%rbx,%rax), %xmm0
movsd %xmm0, 0x8(%r15,%rax)
addq $0x10, %rax
cmpq %rax, %r12
jne 0x7f9e
jmp 0x8182
movq 0x20(%rdx), %r15
testq %r15, %r15
je 0x80ed
testl %r14d, %r14d
jle 0x81aa
movq %r14, %r12
shlq $0x4, %r12
xorl %edx, %edx
movsd (%rcx,%rdx), %xmm0
movsd %xmm0, (%rbx,%rdx)
movsd 0x8(%rcx,%rdx), %xmm0
movsd %xmm0, 0x8(%rbx,%rdx)
addq $0x10, %rdx
cmpq %rdx, %r12
jne 0x7fe3
leal (%r14,%r14), %edi
movl (%rax), %ecx
movq %rbx, %rsi
movq %rax, %rdx
callq 0x8394
testl %r14d, %r14d
jle 0x8182
xorl %eax, %eax
movsd (%rbx,%rax), %xmm0
movsd %xmm0, (%r15,%rax)
movsd 0x8(%rbx,%rax), %xmm0
movsd %xmm0, 0x8(%r15,%rax)
addq $0x10, %rax
cmpq %rax, %r12
jne 0x801e
jmp 0x8182
testl %r14d, %r14d
jle 0x8061
movq 0x18(%rdx), %rcx
xorl %edx, %edx
movsd (%rcx,%rdx,8), %xmm0
movsd %xmm0, (%rbx,%rdx,8)
incq %rdx
cmpq %rdx, %r14
jne 0x804f
movl %r14d, %edi
movl $0x1, %esi
movq %rbx, %rdx
movq %rax, %rcx
callq 0x84d8
movsd (%rbx), %xmm0
movsd %xmm0, (%r15)
movq $0x0, 0x8(%r15)
movl %r14d, %eax
shrl $0x1f, %eax
addl %r14d, %eax
sarl %eax
cmpl $0x4, %r14d
jl 0x80ce
cmpl $0x3, %eax
movl $0x2, %ecx
cmovgel %eax, %ecx
shlq $0x4, %rcx
addq $-0x10, %rcx
xorl %edx, %edx
movsd 0x10(%rbx,%rdx), %xmm0
movsd %xmm0, 0x10(%r15,%rdx)
movsd 0x18(%rbx,%rdx), %xmm0
movsd %xmm0, 0x18(%r15,%rdx)
addq $0x10, %rdx
cmpq %rdx, %rcx
jne 0x80ab
movsd 0x8(%rbx), %xmm0
cltq
shlq $0x4, %rax
movsd %xmm0, (%r15,%rax)
movq $0x0, 0x8(%r15,%rax)
jmp 0x8182
movq 0x28(%rdx), %r15
movsd (%rcx), %xmm0
movsd %xmm0, (%rbx)
movl %r14d, %esi
shrl $0x1f, %esi
addl %r14d, %esi
sarl %esi
movslq %esi, %rdx
shlq $0x4, %rdx
movsd (%rcx,%rdx), %xmm0
movsd %xmm0, 0x8(%rbx)
cmpl $0x4, %r14d
jl 0x8151
cmpl $0x3, %esi
movl $0x2, %edx
cmovgel %esi, %edx
shlq $0x4, %rdx
addq $-0x10, %rdx
xorl %esi, %esi
movsd 0x10(%rcx,%rsi), %xmm0
movsd %xmm0, 0x10(%rbx,%rsi)
movsd 0x18(%rcx,%rsi), %xmm0
movsd %xmm0, 0x18(%rbx,%rsi)
addq $0x10, %rsi
cmpq %rsi, %rdx
jne 0x8130
movl %r14d, %edi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
movq %rbx, %rdx
movq %rax, %rcx
callq 0x84d8
testl %r14d, %r14d
jle 0x8182
xorl %eax, %eax
movsd (%rbx,%rax,8), %xmm0
addsd %xmm0, %xmm0
movsd %xmm0, (%r15,%rax,8)
incq %rax
cmpq %rax, %r14
jne 0x816b
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
leal (%r14,%r14), %edi
movl (%rax), %ecx
movq %rbx, %rsi
movq %rax, %rdx
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x8232
leal (%r14,%r14), %edi
movl (%rax), %ecx
movq %rbx, %rsi
movq %rax, %rdx
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x8394