	.file	"748378.c"
	.intel_syntax noprefix
	.text
	.globl	data
	.bss
	.align 8
	.type	data, @object
	.size	data, 8
data:
	.zero	8
	.globl	pi
	.data
	.align 8
	.type	pi, @object
	.size	pi, 8
pi:
	.long	1413754136
	.long	1074340347
	.globl	pi2
	.align 8
	.type	pi2, @object
	.size	pi2, 8
pi2:
	.long	1413754136
	.long	1075388923
	.text
	.globl	cmult
	.type	cmult, @function
cmult:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	QWORD PTR -24[rbp], rdx
	mov	rax, QWORD PTR -8[rbp]
	movsd	xmm1, QWORD PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	movsd	xmm0, QWORD PTR [rax]
	mulsd	xmm0, xmm1
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 8
	movsd	xmm2, QWORD PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 8
	movsd	xmm1, QWORD PTR [rax]
	mulsd	xmm1, xmm2
	subsd	xmm0, xmm1
	mov	rax, QWORD PTR -24[rbp]
	movsd	QWORD PTR [rax], xmm0
	mov	rax, QWORD PTR -8[rbp]
	movsd	xmm1, QWORD PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 8
	movsd	xmm0, QWORD PTR [rax]
	mulsd	xmm1, xmm0
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 8
	movsd	xmm2, QWORD PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	movsd	xmm0, QWORD PTR [rax]
	mulsd	xmm0, xmm2
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 8
	addsd	xmm0, xmm1
	movsd	QWORD PTR [rax], xmm0
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	cmult, .-cmult
	.globl	DTFT
	.type	DTFT, @function
DTFT:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 112
	mov	QWORD PTR -88[rbp], rdi
	mov	QWORD PTR -96[rbp], rsi
	mov	DWORD PTR -100[rbp], edx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -72[rbp], 0
	jmp	.L3
.L6:
	mov	eax, DWORD PTR -72[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	pxor	xmm0, xmm0
	movsd	QWORD PTR [rax], xmm0
	mov	eax, DWORD PTR -72[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	add	rax, 8
	pxor	xmm0, xmm0
	movsd	QWORD PTR [rax], xmm0
	mov	DWORD PTR -68[rbp], 0
	jmp	.L4
.L5:
	mov	eax, DWORD PTR -68[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR [rax]
	movsd	QWORD PTR -64[rbp], xmm0
	mov	eax, DWORD PTR -68[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR 8[rax]
	movsd	QWORD PTR -56[rbp], xmm0
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -72[rbp]
	movsd	xmm0, QWORD PTR pi2[rip]
	mulsd	xmm1, xmm0
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -68[rbp]
	mulsd	xmm0, xmm1
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -100[rbp]
	divsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	call	cos@PLT
	movq	rax, xmm0
	mov	QWORD PTR -48[rbp], rax
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -72[rbp]
	movsd	xmm0, QWORD PTR pi2[rip]
	mulsd	xmm1, xmm0
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -68[rbp]
	mulsd	xmm0, xmm1
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -100[rbp]
	divsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	call	sin@PLT
	movq	rax, xmm0
	movq	xmm0, QWORD PTR .LC1[rip]
	movq	xmm2, rax
	xorpd	xmm2, xmm0
	movapd	xmm0, xmm2
	movsd	QWORD PTR -40[rbp], xmm0
	lea	rax, -64[rbp]
	lea	rdx, 32[rax]
	lea	rax, -64[rbp]
	lea	rcx, 16[rax]
	lea	rax, -64[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	cmult
	mov	eax, DWORD PTR -72[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	movsd	xmm1, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -72[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	addsd	xmm0, xmm1
	movsd	QWORD PTR [rax], xmm0
	mov	eax, DWORD PTR -72[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	add	rax, 8
	movsd	xmm1, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -72[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	add	rax, 8
	addsd	xmm0, xmm1
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -68[rbp], 1
.L4:
	mov	eax, DWORD PTR -68[rbp]
	cmp	eax, DWORD PTR -100[rbp]
	jl	.L5
	add	DWORD PTR -72[rbp], 1
.L3:
	mov	eax, DWORD PTR -72[rbp]
	cmp	eax, DWORD PTR -100[rbp]
	jl	.L6
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L7
	call	__stack_chk_fail@PLT
.L7:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	DTFT, .-DTFT
	.section	.rodata
	.align 8
.LC2:
	.string	"Invalid matrix dimensions (%d x %d != %d).\n"
	.text
	.globl	cooley_tukey
	.type	cooley_tukey, @function
cooley_tukey:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 168
	.cfi_offset 3, -24
	mov	QWORD PTR -152[rbp], rdi
	mov	QWORD PTR -160[rbp], rsi
	mov	DWORD PTR -164[rbp], edx
	mov	DWORD PTR -168[rbp], ecx
	mov	DWORD PTR -172[rbp], r8d
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	eax, DWORD PTR -168[rbp]
	imul	eax, DWORD PTR -172[rbp]
	cmp	DWORD PTR -164[rbp], eax
	je	.L9
	mov	rax, QWORD PTR stderr[rip]
	mov	esi, DWORD PTR -164[rbp]
	mov	ecx, DWORD PTR -172[rbp]
	mov	edx, DWORD PTR -168[rbp]
	mov	r8d, esi
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L9:
	mov	eax, DWORD PTR -172[rbp]
	cdqe
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -80[rbp], rax
	mov	eax, DWORD PTR -172[rbp]
	cdqe
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -72[rbp], rax
	mov	DWORD PTR -140[rbp], 0
	jmp	.L10
.L13:
	mov	eax, DWORD PTR -168[rbp]
	cdqe
	sal	rax, 3
	mov	edx, DWORD PTR -140[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	mov	rdx, QWORD PTR -80[rbp]
	lea	rbx, [rcx+rdx]
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR [rbx], rax
	mov	eax, DWORD PTR -168[rbp]
	cdqe
	sal	rax, 3
	mov	edx, DWORD PTR -140[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	mov	rdx, QWORD PTR -72[rbp]
	lea	rbx, [rcx+rdx]
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR [rbx], rax
	mov	DWORD PTR -136[rbp], 0
	jmp	.L11
.L12:
	mov	eax, DWORD PTR -140[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -136[rbp]
	cdqe
	sal	rax, 3
	lea	rbx, [rdx+rax]
	mov	edi, 16
	call	malloc@PLT
	mov	QWORD PTR [rbx], rax
	mov	eax, DWORD PTR -140[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -136[rbp]
	cdqe
	sal	rax, 3
	lea	rbx, [rdx+rax]
	mov	edi, 16
	call	malloc@PLT
	mov	QWORD PTR [rbx], rax
	mov	eax, DWORD PTR -172[rbp]
	imul	eax, DWORD PTR -136[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -140[rbp]
	add	eax, edx
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -152[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -140[rbp]
	cdqe
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rcx
	mov	rcx, QWORD PTR [rax]
	mov	eax, DWORD PTR -136[rbp]
	cdqe
	sal	rax, 3
	add	rax, rcx
	mov	rax, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR [rdx]
	movsd	QWORD PTR [rax], xmm0
	mov	eax, DWORD PTR -172[rbp]
	imul	eax, DWORD PTR -136[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -140[rbp]
	add	eax, edx
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -152[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	edx, DWORD PTR -140[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	mov	rdx, QWORD PTR -80[rbp]
	add	rdx, rcx
	mov	rcx, QWORD PTR [rdx]
	mov	edx, DWORD PTR -136[rbp]
	movsx	rdx, edx
	sal	rdx, 3
	add	rdx, rcx
	mov	rdx, QWORD PTR [rdx]
	add	rdx, 8
	movsd	xmm0, QWORD PTR 8[rax]
	movsd	QWORD PTR [rdx], xmm0
	add	DWORD PTR -136[rbp], 1
.L11:
	mov	eax, DWORD PTR -136[rbp]
	cmp	eax, DWORD PTR -168[rbp]
	jl	.L12
	add	DWORD PTR -140[rbp], 1
.L10:
	mov	eax, DWORD PTR -140[rbp]
	cmp	eax, DWORD PTR -172[rbp]
	jl	.L13
	mov	eax, DWORD PTR -168[rbp]
	cdqe
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -64[rbp], rax
	mov	eax, DWORD PTR -168[rbp]
	cdqe
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -56[rbp], rax
	mov	DWORD PTR -132[rbp], 0
	jmp	.L14
.L17:
	mov	eax, DWORD PTR -172[rbp]
	cdqe
	sal	rax, 3
	mov	edx, DWORD PTR -132[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	mov	rdx, QWORD PTR -64[rbp]
	lea	rbx, [rcx+rdx]
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR [rbx], rax
	mov	eax, DWORD PTR -172[rbp]
	cdqe
	sal	rax, 3
	mov	edx, DWORD PTR -132[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	mov	rdx, QWORD PTR -56[rbp]
	lea	rbx, [rcx+rdx]
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR [rbx], rax
	mov	DWORD PTR -128[rbp], 0
	jmp	.L15
.L16:
	mov	eax, DWORD PTR -132[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -128[rbp]
	cdqe
	sal	rax, 3
	lea	rbx, [rdx+rax]
	mov	edi, 16
	call	malloc@PLT
	mov	QWORD PTR [rbx], rax
	mov	eax, DWORD PTR -132[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -128[rbp]
	cdqe
	sal	rax, 3
	lea	rbx, [rdx+rax]
	mov	edi, 16
	call	malloc@PLT
	mov	QWORD PTR [rbx], rax
	add	DWORD PTR -128[rbp], 1
.L15:
	mov	eax, DWORD PTR -128[rbp]
	cmp	eax, DWORD PTR -172[rbp]
	jl	.L16
	add	DWORD PTR -132[rbp], 1
.L14:
	mov	eax, DWORD PTR -132[rbp]
	cmp	eax, DWORD PTR -168[rbp]
	jl	.L17
	mov	DWORD PTR -124[rbp], 0
	jmp	.L18
.L19:
	mov	eax, DWORD PTR -124[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	mov	rcx, QWORD PTR [rax]
	mov	eax, DWORD PTR -124[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	edx, DWORD PTR -168[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	DTFT
	add	DWORD PTR -124[rbp], 1
.L18:
	mov	eax, DWORD PTR -124[rbp]
	cmp	eax, DWORD PTR -172[rbp]
	jl	.L19
	mov	DWORD PTR -120[rbp], 0
	jmp	.L20
.L23:
	mov	DWORD PTR -116[rbp], 0
	jmp	.L21
.L22:
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -120[rbp]
	movsd	xmm0, QWORD PTR pi2[rip]
	mulsd	xmm1, xmm0
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -116[rbp]
	mulsd	xmm0, xmm1
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -164[rbp]
	divsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	call	cos@PLT
	movq	rax, xmm0
	mov	QWORD PTR -48[rbp], rax
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -120[rbp]
	movsd	xmm0, QWORD PTR pi2[rip]
	mulsd	xmm1, xmm0
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -116[rbp]
	mulsd	xmm0, xmm1
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -164[rbp]
	divsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	call	sin@PLT
	movq	rax, xmm0
	movq	xmm0, QWORD PTR .LC1[rip]
	movq	xmm2, rax
	xorpd	xmm2, xmm0
	movapd	xmm0, xmm2
	movsd	QWORD PTR -40[rbp], xmm0
	mov	eax, DWORD PTR -116[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -120[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -120[rbp]
	cdqe
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rcx
	mov	rcx, QWORD PTR [rax]
	mov	eax, DWORD PTR -116[rbp]
	cdqe
	sal	rax, 3
	add	rax, rcx
	mov	rax, QWORD PTR [rax]
	lea	rcx, -48[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	cmult
	add	DWORD PTR -116[rbp], 1
.L21:
	mov	eax, DWORD PTR -116[rbp]
	cmp	eax, DWORD PTR -168[rbp]
	jl	.L22
	add	DWORD PTR -120[rbp], 1
.L20:
	mov	eax, DWORD PTR -120[rbp]
	cmp	eax, DWORD PTR -172[rbp]
	jl	.L23
	mov	DWORD PTR -112[rbp], 0
	jmp	.L24
.L25:
	mov	eax, DWORD PTR -112[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	rcx, QWORD PTR [rax]
	mov	eax, DWORD PTR -112[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	edx, DWORD PTR -172[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	DTFT
	add	DWORD PTR -112[rbp], 1
.L24:
	mov	eax, DWORD PTR -112[rbp]
	cmp	eax, DWORD PTR -168[rbp]
	jl	.L25
	mov	DWORD PTR -108[rbp], 0
	jmp	.L26
.L27:
	mov	eax, DWORD PTR -108[rbp]
	cdq
	idiv	DWORD PTR -172[rbp]
	mov	DWORD PTR -88[rbp], edx
	mov	eax, DWORD PTR -108[rbp]
	sub	eax, DWORD PTR -88[rbp]
	cdq
	idiv	DWORD PTR -172[rbp]
	mov	DWORD PTR -84[rbp], eax
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -108[rbp]
	cdqe
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -160[rbp]
	add	rax, rcx
	mov	rax, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR [rdx]
	movsd	QWORD PTR [rax], xmm0
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	edx, DWORD PTR -108[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	mov	rdx, QWORD PTR -160[rbp]
	add	rdx, rcx
	mov	rdx, QWORD PTR [rdx]
	add	rdx, 8
	movsd	xmm0, QWORD PTR 8[rax]
	movsd	QWORD PTR [rdx], xmm0
	add	DWORD PTR -108[rbp], 1
.L26:
	mov	eax, DWORD PTR -108[rbp]
	cmp	eax, DWORD PTR -164[rbp]
	jl	.L27
	mov	DWORD PTR -104[rbp], 0
	jmp	.L28
.L31:
	mov	DWORD PTR -100[rbp], 0
	jmp	.L29
.L30:
	mov	eax, DWORD PTR -104[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -100[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	free@PLT
	mov	eax, DWORD PTR -104[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -100[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	free@PLT
	add	DWORD PTR -100[rbp], 1
.L29:
	mov	eax, DWORD PTR -100[rbp]
	cmp	eax, DWORD PTR -168[rbp]
	jl	.L30
	mov	eax, DWORD PTR -104[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	free@PLT
	mov	eax, DWORD PTR -104[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	free@PLT
	add	DWORD PTR -104[rbp], 1
.L28:
	mov	eax, DWORD PTR -104[rbp]
	cmp	eax, DWORD PTR -172[rbp]
	jl	.L31
	mov	DWORD PTR -96[rbp], 0
	jmp	.L32
.L35:
	mov	DWORD PTR -92[rbp], 0
	jmp	.L33
.L34:
	mov	eax, DWORD PTR -96[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	free@PLT
	mov	eax, DWORD PTR -96[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	free@PLT
	add	DWORD PTR -92[rbp], 1
.L33:
	mov	eax, DWORD PTR -92[rbp]
	cmp	eax, DWORD PTR -172[rbp]
	jl	.L34
	mov	eax, DWORD PTR -96[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	free@PLT
	mov	eax, DWORD PTR -96[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	free@PLT
	add	DWORD PTR -96[rbp], 1
.L32:
	mov	eax, DWORD PTR -96[rbp]
	cmp	eax, DWORD PTR -168[rbp]
	jl	.L35
	mov	rax, QWORD PTR -64[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -80[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	free@PLT
	nop
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L36
	call	__stack_chk_fail@PLT
.L36:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	cooley_tukey, .-cooley_tukey
	.globl	absolute
	.type	absolute, @function
absolute:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 56
	.cfi_offset 3, -24
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	DWORD PTR -52[rbp], edx
	mov	DWORD PTR -20[rbp], 0
	jmp	.L38
.L39:
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR .LC3[rip]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	pow@PLT
	movsd	QWORD PTR -64[rbp], xmm0
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR .LC3[rip]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	pow@PLT
	movapd	xmm2, xmm0
	addsd	xmm2, QWORD PTR -64[rbp]
	movq	rax, xmm2
	mov	edx, DWORD PTR -20[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	mov	rdx, QWORD PTR -48[rbp]
	lea	rbx, [rcx+rdx]
	movq	xmm0, rax
	call	sqrt@PLT
	movq	rax, xmm0
	mov	QWORD PTR [rbx], rax
	add	DWORD PTR -20[rbp], 1
.L38:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -52[rbp]
	jl	.L39
	nop
	nop
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	absolute, .-absolute
	.globl	real2complex
	.type	real2complex, @function
real2complex:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -36[rbp], edx
	mov	DWORD PTR -4[rbp], 0
	jmp	.L41
.L42:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rcx
	mov	rax, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR [rdx]
	movsd	QWORD PTR [rax], xmm0
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	add	rax, 8
	pxor	xmm0, xmm0
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -4[rbp], 1
.L41:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	jl	.L42
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	real2complex, .-real2complex
	.section	.rodata
.LC5:
	.string	"Signal Data:\n"
.LC6:
	.string	"%f\n"
.LC7:
	.string	"\nDTFT:\n"
.LC8:
	.string	"\n Cooley-Tukey\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 104
	.cfi_offset 3, -24
	mov	DWORD PTR -100[rbp], edi
	mov	QWORD PTR -112[rbp], rsi
	mov	DWORD PTR -64[rbp], 35
	movsd	xmm0, QWORD PTR .LC4[rip]
	movsd	QWORD PTR -56[rbp], xmm0
	mov	DWORD PTR -60[rbp], 90
	mov	eax, DWORD PTR -64[rbp]
	cdqe
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -48[rbp], rax
	mov	eax, DWORD PTR -64[rbp]
	cdqe
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -40[rbp], rax
	mov	eax, DWORD PTR -64[rbp]
	cdqe
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -32[rbp], rax
	mov	eax, DWORD PTR -64[rbp]
	cdqe
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -24[rbp], rax
	mov	DWORD PTR -84[rbp], 0
	jmp	.L44
.L45:
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -48[rbp]
	lea	rbx, [rdx+rax]
	mov	edi, 16
	call	malloc@PLT
	mov	QWORD PTR [rbx], rax
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -40[rbp]
	lea	rbx, [rdx+rax]
	mov	edi, 16
	call	malloc@PLT
	mov	QWORD PTR [rbx], rax
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	lea	rbx, [rdx+rax]
	mov	edi, 16
	call	malloc@PLT
	mov	QWORD PTR [rbx], rax
	add	DWORD PTR -84[rbp], 1
.L44:
	mov	eax, DWORD PTR -84[rbp]
	cmp	eax, DWORD PTR -64[rbp]
	jl	.L45
	mov	rax, QWORD PTR stdout[rip]
	mov	rcx, rax
	mov	edx, 13
	mov	esi, 1
	lea	rdi, .LC5[rip]
	call	fwrite@PLT
	mov	DWORD PTR -80[rbp], 0
	jmp	.L46
.L47:
	movsd	xmm0, QWORD PTR pi[rip]
	movapd	xmm1, xmm0
	addsd	xmm1, xmm0
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -60[rbp]
	mulsd	xmm1, xmm0
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -80[rbp]
	mulsd	xmm0, xmm1
	divsd	xmm0, QWORD PTR -56[rbp]
	movq	rax, xmm0
	mov	edx, DWORD PTR -80[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	mov	rdx, QWORD PTR -32[rbp]
	add	rdx, rcx
	mov	rbx, QWORD PTR [rdx]
	movq	xmm0, rax
	call	sin@PLT
	movq	rax, xmm0
	mov	QWORD PTR [rbx], rax
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	add	rax, 8
	pxor	xmm0, xmm0
	movsd	QWORD PTR [rax], xmm0
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stdout[rip]
	movq	xmm0, rdx
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 1
	call	fprintf@PLT
	add	DWORD PTR -80[rbp], 1
.L46:
	mov	eax, DWORD PTR -80[rbp]
	cmp	eax, DWORD PTR -64[rbp]
	jl	.L47
	mov	edx, DWORD PTR -64[rbp]
	mov	rcx, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	DTFT
	mov	edx, DWORD PTR -64[rbp]
	mov	rcx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -48[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	absolute
	mov	rax, QWORD PTR stdout[rip]
	mov	rcx, rax
	mov	edx, 7
	mov	esi, 1
	lea	rdi, .LC7[rip]
	call	fwrite@PLT
	mov	DWORD PTR -76[rbp], 0
	jmp	.L48
.L49:
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stdout[rip]
	movq	xmm0, rdx
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 1
	call	fprintf@PLT
	add	DWORD PTR -76[rbp], 1
.L48:
	mov	eax, DWORD PTR -76[rbp]
	cmp	eax, DWORD PTR -64[rbp]
	jl	.L49
	lea	rdi, .LC8[rip]
	call	puts@PLT
	mov	DWORD PTR -72[rbp], 0
	jmp	.L50
.L51:
	movsd	xmm0, QWORD PTR pi[rip]
	movapd	xmm1, xmm0
	addsd	xmm1, xmm0
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -60[rbp]
	mulsd	xmm1, xmm0
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -72[rbp]
	mulsd	xmm0, xmm1
	divsd	xmm0, QWORD PTR -56[rbp]
	movq	rax, xmm0
	mov	edx, DWORD PTR -72[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	mov	rdx, QWORD PTR -32[rbp]
	add	rdx, rcx
	mov	rbx, QWORD PTR [rdx]
	movq	xmm0, rax
	call	sin@PLT
	movq	rax, xmm0
	mov	QWORD PTR [rbx], rax
	mov	eax, DWORD PTR -72[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	add	rax, 8
	pxor	xmm0, xmm0
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -72[rbp], 1
.L50:
	mov	eax, DWORD PTR -72[rbp]
	cmp	eax, DWORD PTR -64[rbp]
	jl	.L51
	mov	rsi, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	r8d, 5
	mov	ecx, 7
	mov	edx, 35
	mov	rdi, rax
	call	cooley_tukey
	mov	edx, DWORD PTR -64[rbp]
	mov	rcx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	absolute
	mov	DWORD PTR -68[rbp], 0
	jmp	.L52
.L53:
	mov	eax, DWORD PTR -68[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stdout[rip]
	movq	xmm0, rdx
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 1
	call	fprintf@PLT
	add	DWORD PTR -68[rbp], 1
.L52:
	mov	eax, DWORD PTR -68[rbp]
	cmp	eax, DWORD PTR -64[rbp]
	jl	.L53
	mov	eax, 0
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	main, .-main
	.section	.rodata
	.align 16
.LC1:
	.long	0
	.long	-2147483648
	.long	0
	.long	0
	.align 8
.LC3:
	.long	0
	.long	1073741824
	.align 8
.LC4:
	.long	0
	.long	1083129856
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"748378.c"
	.text
	.comm	data,4,4
	.global	pi
	.data
	.align	3
	.type	pi, %object
	.size	pi, 8
pi:
	.word	1413754136
	.word	1074340347
	.global	pi2
	.align	3
	.type	pi2, %object
	.size	pi2, 8
pi2:
	.word	1413754136
	.word	1075388923
	.global	__aeabi_dmul
	.global	__aeabi_dsub
	.global	__aeabi_dadd
	.text
	.align	2
	.global	cmult
	.syntax unified
	.arm
	.fpu softvfp
	.type	cmult, %function
cmult:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #16
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	ldr	r3, [fp, #-24]
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-28]
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, [fp, #-24]
	add	r3, r3, #8
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-28]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-32]
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-24]
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-28]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	ldr	r3, [fp, #-24]
	add	r3, r3, #8
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-28]
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-32]
	add	r4, r3, #8
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	stm	r4, {r2-r3}
	nop
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
	.size	cmult, .-cmult
	.global	__aeabi_i2d
	.global	__aeabi_ddiv
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	DTFT
	.syntax unified
	.arm
	.fpu softvfp
	.type	DTFT, %function
DTFT:
	@ args = 0, pretend = 0, frame = 80
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #80
	str	r0, [fp, #-88]
	str	r1, [fp, #-92]
	str	r2, [fp, #-96]
	ldr	r3, .L8
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-84]
	b	.L3
.L6:
	ldr	r3, [fp, #-84]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-92]
	add	r3, r2, r3
	ldr	r1, [r3]
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-84]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-92]
	add	r3, r2, r3
	ldr	r3, [r3]
	add	r1, r3, #8
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	mov	r3, #0
	str	r3, [fp, #-80]
	b	.L4
.L5:
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-88]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-88]
	add	r3, r2, r3
	ldr	r3, [r3]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	ldr	r0, [fp, #-84]
	bl	__aeabi_i2d
	ldr	r3, .L8+4
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	ldr	r0, [fp, #-80]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	ldr	r0, [fp, #-96]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	cos
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	ldr	r0, [fp, #-84]
	bl	__aeabi_i2d
	ldr	r3, .L8+4
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	ldr	r0, [fp, #-80]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	ldr	r0, [fp, #-96]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	sin
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	eor	r5, r3, #-2147483648
	str	r4, [fp, #-52]
	str	r5, [fp, #-48]
	sub	r3, fp, #76
	add	r2, r3, #32
	sub	r3, fp, #76
	add	r1, r3, #16
	sub	r3, fp, #76
	mov	r0, r3
	bl	cmult
	ldr	r3, [fp, #-84]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-92]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldmia	r3, {r0-r1}
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	ldr	ip, [fp, #-84]
	lsl	ip, ip, #2
	ldr	lr, [fp, #-92]
	add	ip, lr, ip
	ldr	r6, [ip]
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	stm	r6, {r2-r3}
	ldr	r3, [fp, #-84]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-92]
	add	r3, r2, r3
	ldr	r3, [r3]
	add	r3, r3, #8
	ldmia	r3, {r0-r1}
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	ldr	ip, [fp, #-84]
	lsl	ip, ip, #2
	ldr	lr, [fp, #-92]
	add	ip, lr, ip
	ldr	ip, [ip]
	add	r6, ip, #8
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	stm	r6, {r2-r3}
	ldr	r3, [fp, #-80]
	add	r3, r3, #1
	str	r3, [fp, #-80]
.L4:
	ldr	r2, [fp, #-80]
	ldr	r3, [fp, #-96]
	cmp	r2, r3
	blt	.L5
	ldr	r3, [fp, #-84]
	add	r3, r3, #1
	str	r3, [fp, #-84]
.L3:
	ldr	r2, [fp, #-84]
	ldr	r3, [fp, #-96]
	cmp	r2, r3
	blt	.L6
	nop
	ldr	r3, .L8
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L7
	bl	__stack_chk_fail
.L7:
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L9:
	.align	2
.L8:
	.word	.LC0
	.word	pi2
	.size	DTFT, .-DTFT
	.section	.rodata
	.align	2
.LC1:
	.ascii	"Invalid matrix dimensions (%d x %d != %d).\012\000"
	.global	__aeabi_idivmod
	.global	__aeabi_idiv
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	cooley_tukey
	.syntax unified
	.arm
	.fpu softvfp
	.type	cooley_tukey, %function
cooley_tukey:
	@ args = 4, pretend = 0, frame = 120
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #128
	str	r0, [fp, #-128]
	str	r1, [fp, #-132]
	str	r2, [fp, #-136]
	str	r3, [fp, #-140]
	ldr	r3, .L39
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	ldr	r3, [fp, #-140]
	ldr	r2, [fp, #4]
	mul	r3, r2, r3
	ldr	r2, [fp, #-136]
	cmp	r2, r3
	beq	.L11
	ldr	r3, .L39+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-136]
	str	r3, [sp]
	ldr	r3, [fp, #4]
	ldr	r2, [fp, #-140]
	ldr	r1, .L39+8
	bl	fprintf
	mov	r0, #1
	bl	exit
.L11:
	ldr	r3, [fp, #4]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-68]
	ldr	r3, [fp, #4]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-64]
	mov	r3, #0
	str	r3, [fp, #-120]
	b	.L12
.L15:
	ldr	r3, [fp, #-140]
	lsl	r1, r3, #2
	ldr	r3, [fp, #-120]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-68]
	add	r6, r2, r3
	mov	r0, r1
	bl	malloc
	mov	r3, r0
	str	r3, [r6]
	ldr	r3, [fp, #-140]
	lsl	r1, r3, #2
	ldr	r3, [fp, #-120]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-64]
	add	r6, r2, r3
	mov	r0, r1
	bl	malloc
	mov	r3, r0
	str	r3, [r6]
	mov	r3, #0
	str	r3, [fp, #-116]
	b	.L13
.L14:
	ldr	r3, [fp, #-120]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-68]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-116]
	lsl	r3, r3, #2
	add	r6, r2, r3
	mov	r0, #16
	bl	malloc
	mov	r3, r0
	str	r3, [r6]
	ldr	r3, [fp, #-120]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-64]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-116]
	lsl	r3, r3, #2
	add	r6, r2, r3
	mov	r0, #16
	bl	malloc
	mov	r3, r0
	str	r3, [r6]
	ldr	r3, [fp, #4]
	ldr	r2, [fp, #-116]
	mul	r2, r3, r2
	ldr	r3, [fp, #-120]
	add	r3, r2, r3
	lsl	r3, r3, #2
	ldr	r2, [fp, #-128]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-120]
	lsl	r2, r2, #2
	ldr	r1, [fp, #-68]
	add	r2, r1, r2
	ldr	r1, [r2]
	ldr	r2, [fp, #-116]
	lsl	r2, r2, #2
	add	r2, r1, r2
	ldr	r1, [r2]
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	ldr	r3, [fp, #4]
	ldr	r2, [fp, #-116]
	mul	r2, r3, r2
	ldr	r3, [fp, #-120]
	add	r3, r2, r3
	lsl	r3, r3, #2
	ldr	r2, [fp, #-128]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-120]
	lsl	r2, r2, #2
	ldr	r1, [fp, #-68]
	add	r2, r1, r2
	ldr	r1, [r2]
	ldr	r2, [fp, #-116]
	lsl	r2, r2, #2
	add	r2, r1, r2
	ldr	r2, [r2]
	add	r1, r2, #8
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-116]
	add	r3, r3, #1
	str	r3, [fp, #-116]
.L13:
	ldr	r2, [fp, #-116]
	ldr	r3, [fp, #-140]
	cmp	r2, r3
	blt	.L14
	ldr	r3, [fp, #-120]
	add	r3, r3, #1
	str	r3, [fp, #-120]
.L12:
	ldr	r2, [fp, #-120]
	ldr	r3, [fp, #4]
	cmp	r2, r3
	blt	.L15
	ldr	r3, [fp, #-140]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-60]
	ldr	r3, [fp, #-140]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-56]
	mov	r3, #0
	str	r3, [fp, #-112]
	b	.L16
.L19:
	ldr	r3, [fp, #4]
	lsl	r1, r3, #2
	ldr	r3, [fp, #-112]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-60]
	add	r6, r2, r3
	mov	r0, r1
	bl	malloc
	mov	r3, r0
	str	r3, [r6]
	ldr	r3, [fp, #4]
	lsl	r1, r3, #2
	ldr	r3, [fp, #-112]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-56]
	add	r6, r2, r3
	mov	r0, r1
	bl	malloc
	mov	r3, r0
	str	r3, [r6]
	mov	r3, #0
	str	r3, [fp, #-108]
	b	.L17
.L18:
	ldr	r3, [fp, #-112]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-60]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-108]
	lsl	r3, r3, #2
	add	r6, r2, r3
	mov	r0, #16
	bl	malloc
	mov	r3, r0
	str	r3, [r6]
	ldr	r3, [fp, #-112]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-56]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-108]
	lsl	r3, r3, #2
	add	r6, r2, r3
	mov	r0, #16
	bl	malloc
	mov	r3, r0
	str	r3, [r6]
	ldr	r3, [fp, #-108]
	add	r3, r3, #1
	str	r3, [fp, #-108]
.L17:
	ldr	r2, [fp, #-108]
	ldr	r3, [fp, #4]
	cmp	r2, r3
	blt	.L18
	ldr	r3, [fp, #-112]
	add	r3, r3, #1
	str	r3, [fp, #-112]
.L16:
	ldr	r2, [fp, #-112]
	ldr	r3, [fp, #-140]
	cmp	r2, r3
	blt	.L19
	mov	r3, #0
	str	r3, [fp, #-104]
	b	.L20
.L21:
	ldr	r3, [fp, #-104]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-68]
	add	r3, r2, r3
	ldr	r0, [r3]
	ldr	r3, [fp, #-104]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-64]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-140]
	mov	r1, r3
	bl	DTFT
	ldr	r3, [fp, #-104]
	add	r3, r3, #1
	str	r3, [fp, #-104]
.L20:
	ldr	r2, [fp, #-104]
	ldr	r3, [fp, #4]
	cmp	r2, r3
	blt	.L21
	mov	r3, #0
	str	r3, [fp, #-100]
	b	.L22
.L25:
	mov	r3, #0
	str	r3, [fp, #-96]
	b	.L23
.L24:
	ldr	r0, [fp, #-100]
	bl	__aeabi_i2d
	ldr	r3, .L39+12
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	ldr	r0, [fp, #-96]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	ldr	r0, [fp, #-136]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	cos
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	ldr	r0, [fp, #-100]
	bl	__aeabi_i2d
	ldr	r3, .L39+12
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	ldr	r0, [fp, #-96]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	ldr	r0, [fp, #-136]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	sin
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	eor	r5, r3, #-2147483648
	str	r4, [fp, #-36]
	str	r5, [fp, #-32]
	ldr	r3, [fp, #-100]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-64]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-96]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r0, [r3]
	ldr	r3, [fp, #-96]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-60]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-100]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	sub	r3, fp, #44
	mov	r1, r3
	bl	cmult
	ldr	r3, [fp, #-96]
	add	r3, r3, #1
	str	r3, [fp, #-96]
.L23:
	ldr	r2, [fp, #-96]
	ldr	r3, [fp, #-140]
	cmp	r2, r3
	blt	.L24
	ldr	r3, [fp, #-100]
	add	r3, r3, #1
	str	r3, [fp, #-100]
.L22:
	ldr	r2, [fp, #-100]
	ldr	r3, [fp, #4]
	cmp	r2, r3
	blt	.L25
	mov	r3, #0
	str	r3, [fp, #-92]
	b	.L26
.L27:
	ldr	r3, [fp, #-92]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-60]
	add	r3, r2, r3
	ldr	r0, [r3]
	ldr	r3, [fp, #-92]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-56]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #4]
	mov	r1, r3
	bl	DTFT
	ldr	r3, [fp, #-92]
	add	r3, r3, #1
	str	r3, [fp, #-92]
.L26:
	ldr	r2, [fp, #-92]
	ldr	r3, [fp, #-140]
	cmp	r2, r3
	blt	.L27
	mov	r3, #0
	str	r3, [fp, #-88]
	b	.L28
.L29:
	ldr	r3, [fp, #-88]
	ldr	r1, [fp, #4]
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	str	r3, [fp, #-52]
	ldr	r2, [fp, #-88]
	ldr	r3, [fp, #-52]
	sub	r3, r2, r3
	ldr	r1, [fp, #4]
	mov	r0, r3
	bl	__aeabi_idiv
	mov	r3, r0
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-48]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-56]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-88]
	lsl	r2, r2, #2
	ldr	r1, [fp, #-132]
	add	r2, r1, r2
	ldr	r1, [r2]
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-48]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-56]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-88]
	lsl	r2, r2, #2
	ldr	r1, [fp, #-132]
	add	r2, r1, r2
	ldr	r2, [r2]
	add	r1, r2, #8
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-88]
	add	r3, r3, #1
	str	r3, [fp, #-88]
.L28:
	ldr	r2, [fp, #-88]
	ldr	r3, [fp, #-136]
	cmp	r2, r3
	blt	.L29
	mov	r3, #0
	str	r3, [fp, #-84]
	b	.L30
.L33:
	mov	r3, #0
	str	r3, [fp, #-80]
	b	.L31
.L32:
	ldr	r3, [fp, #-84]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-68]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-84]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-64]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-80]
	add	r3, r3, #1
	str	r3, [fp, #-80]
.L31:
	ldr	r2, [fp, #-80]
	ldr	r3, [fp, #-140]
	cmp	r2, r3
	blt	.L32
	ldr	r3, [fp, #-84]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-68]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-84]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-64]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-84]
	add	r3, r3, #1
	str	r3, [fp, #-84]
.L30:
	ldr	r2, [fp, #-84]
	ldr	r3, [fp, #4]
	cmp	r2, r3
	blt	.L33
	mov	r3, #0
	str	r3, [fp, #-76]
	b	.L34
.L37:
	mov	r3, #0
	str	r3, [fp, #-72]
	b	.L35
.L36:
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-60]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-56]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-72]
	add	r3, r3, #1
	str	r3, [fp, #-72]
.L35:
	ldr	r2, [fp, #-72]
	ldr	r3, [fp, #4]
	cmp	r2, r3
	blt	.L36
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-60]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-56]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-76]
	add	r3, r3, #1
	str	r3, [fp, #-76]
.L34:
	ldr	r2, [fp, #-76]
	ldr	r3, [fp, #-140]
	cmp	r2, r3
	blt	.L37
	ldr	r0, [fp, #-60]
	bl	free
	ldr	r0, [fp, #-56]
	bl	free
	ldr	r0, [fp, #-68]
	bl	free
	ldr	r0, [fp, #-64]
	bl	free
	nop
	ldr	r3, .L39
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L38
	bl	__stack_chk_fail
.L38:
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L40:
	.align	2
.L39:
	.word	.LC2
	.word	stderr
	.word	.LC1
	.word	pi2
	.size	cooley_tukey, .-cooley_tukey
	.align	2
	.global	absolute
	.syntax unified
	.arm
	.fpu softvfp
	.type	absolute, %function
absolute:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L42
.L43:
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldmia	r3, {r0-r1}
	mov	r2, #0
	mov	r3, #1073741824
	bl	pow
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r3, [r3]
	add	r3, r3, #8
	ldmia	r3, {r0-r1}
	mov	r2, #0
	mov	r3, #1073741824
	bl	pow
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-28]
	add	r4, r2, r3
	bl	sqrt
	mov	r2, r0
	mov	r3, r1
	stm	r4, {r2-r3}
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L42:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	blt	.L43
	nop
	nop
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
	.size	absolute, .-absolute
	.align	2
	.global	real2complex
	.syntax unified
	.arm
	.fpu softvfp
	.type	real2complex, %function
real2complex:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #28
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L45
.L46:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [fp, #-8]
	lsl	r2, r2, #2
	ldr	r1, [fp, #-20]
	add	r2, r1, r2
	ldr	r1, [r2]
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r3]
	add	r1, r3, #8
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L45:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	blt	.L46
	nop
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	real2complex, .-real2complex
	.section	.rodata
	.align	2
.LC3:
	.ascii	"Signal Data:\012\000"
	.align	2
.LC4:
	.ascii	"%f\012\000"
	.align	2
.LC5:
	.ascii	"\012DTFT:\012\000"
	.align	2
.LC6:
	.ascii	"\012 Cooley-Tukey\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #72
	str	r0, [fp, #-72]
	str	r1, [fp, #-76]
	mov	r3, #35
	str	r3, [fp, #-44]
	mov	r2, #0
	ldr	r3, .L59
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	mov	r3, #90
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #3
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-64]
	b	.L48
.L49:
	ldr	r3, [fp, #-64]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-36]
	add	r4, r2, r3
	mov	r0, #16
	bl	malloc
	mov	r3, r0
	str	r3, [r4]
	ldr	r3, [fp, #-64]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-32]
	add	r4, r2, r3
	mov	r0, #16
	bl	malloc
	mov	r3, r0
	str	r3, [r4]
	ldr	r3, [fp, #-64]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r4, r2, r3
	mov	r0, #16
	bl	malloc
	mov	r3, r0
	str	r3, [r4]
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
.L48:
	ldr	r2, [fp, #-64]
	ldr	r3, [fp, #-44]
	cmp	r2, r3
	blt	.L49
	ldr	r3, .L59+4
	ldr	r3, [r3]
	mov	r2, #13
	mov	r1, #1
	ldr	r0, .L59+8
	bl	fwrite
	mov	r3, #0
	str	r3, [fp, #-60]
	b	.L50
.L51:
	ldr	r3, .L59+12
	ldmia	r3, {r0-r1}
	mov	r2, r0
	mov	r3, r1
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r0, [fp, #-40]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r0, [fp, #-60]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-60]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r4, [r3]
	bl	sin
	mov	r2, r0
	mov	r3, r1
	stm	r4, {r2-r3}
	ldr	r3, [fp, #-60]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	add	r1, r3, #8
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	ldr	r3, .L59+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-60]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldmia	r3, {r2-r3}
	ldr	r1, .L59+16
	bl	fprintf
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
.L50:
	ldr	r2, [fp, #-60]
	ldr	r3, [fp, #-44]
	cmp	r2, r3
	blt	.L51
	ldr	r2, [fp, #-44]
	ldr	r1, [fp, #-36]
	ldr	r0, [fp, #-28]
	bl	DTFT
	ldr	r2, [fp, #-44]
	ldr	r1, [fp, #-24]
	ldr	r0, [fp, #-36]
	bl	absolute
	ldr	r3, .L59+4
	ldr	r3, [r3]
	mov	r2, #7
	mov	r1, #1
	ldr	r0, .L59+20
	bl	fwrite
	mov	r3, #0
	str	r3, [fp, #-56]
	b	.L52
.L53:
	ldr	r3, .L59+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	ldr	r1, .L59+16
	bl	fprintf
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L52:
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-44]
	cmp	r2, r3
	blt	.L53
	ldr	r0, .L59+24
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-52]
	b	.L54
.L55:
	ldr	r3, .L59+12
	ldmia	r3, {r0-r1}
	mov	r2, r0
	mov	r3, r1
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r0, [fp, #-40]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r0, [fp, #-52]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r4, [r3]
	bl	sin
	mov	r2, r0
	mov	r3, r1
	stm	r4, {r2-r3}
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	add	r1, r3, #8
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
.L54:
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-44]
	cmp	r2, r3
	blt	.L55
	mov	r3, #5
	str	r3, [sp]
	mov	r3, #7
	mov	r2, #35
	ldr	r1, [fp, #-32]
	ldr	r0, [fp, #-28]
	bl	cooley_tukey
	ldr	r2, [fp, #-44]
	ldr	r1, [fp, #-24]
	ldr	r0, [fp, #-32]
	bl	absolute
	mov	r3, #0
	str	r3, [fp, #-48]
	b	.L56
.L57:
	ldr	r3, .L59+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-48]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	ldr	r1, .L59+16
	bl	fprintf
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
.L56:
	ldr	r2, [fp, #-48]
	ldr	r3, [fp, #-44]
	cmp	r2, r3
	blt	.L57
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L60:
	.align	2
.L59:
	.word	1083129856
	.word	stdout
	.word	.LC3
	.word	pi
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
