	.file	"37156.c"
	.intel_syntax noprefix
	.text
	.globl	PI
	.bss
	.align 8
	.type	PI, @object
	.size	PI, 8
PI:
	.zero	8
	.text
	.globl	_fft
	.type	_fft, @function
_fft:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 80
	mov	QWORD PTR -56[rbp], rdi
	mov	QWORD PTR -64[rbp], rsi
	mov	DWORD PTR -68[rbp], edx
	mov	DWORD PTR -72[rbp], ecx
	mov	eax, DWORD PTR -72[rbp]
	cmp	eax, DWORD PTR -68[rbp]
	jge	.L5
	mov	eax, DWORD PTR -72[rbp]
	lea	ecx, [rax+rax]
	mov	edx, DWORD PTR -68[rbp]
	mov	rsi, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR -64[rbp]
	mov	rdi, rax
	call	_fft
	mov	eax, DWORD PTR -72[rbp]
	lea	edx, [rax+rax]
	mov	eax, DWORD PTR -72[rbp]
	cdqe
	sal	rax, 4
	mov	rcx, rax
	mov	rax, QWORD PTR -56[rbp]
	lea	rsi, [rcx+rax]
	mov	eax, DWORD PTR -72[rbp]
	cdqe
	sal	rax, 4
	mov	rcx, rax
	mov	rax, QWORD PTR -64[rbp]
	lea	rdi, [rcx+rax]
	mov	eax, DWORD PTR -68[rbp]
	mov	ecx, edx
	mov	edx, eax
	call	_fft
	mov	DWORD PTR -36[rbp], 0
	jmp	.L3
.L4:
	movsd	xmm0, QWORD PTR PI[rip]
	movsd	xmm1, QWORD PTR .LC0[rip]
	movapd	xmm2, xmm1
	mulsd	xmm2, xmm0
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -36[rbp]
	mulsd	xmm2, xmm1
	movq	xmm3, QWORD PTR .LC1[rip]
	xorpd	xmm0, xmm3
	mulsd	xmm1, xmm0
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -68[rbp]
	divsd	xmm2, xmm0
	divsd	xmm1, xmm0
	movq	rax, xmm2
	movq	rdx, xmm1
	movq	xmm1, rdx
	movq	xmm0, rax
	call	cexp@PLT
	movq	rax, xmm0
	movapd	xmm0, xmm1
	mov	rdx, rax
	movq	rax, xmm0
	movq	xmm4, rax
	mov	ecx, DWORD PTR -36[rbp]
	mov	eax, DWORD PTR -72[rbp]
	add	eax, ecx
	cdqe
	sal	rax, 4
	mov	rcx, rax
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rcx
	movsd	xmm0, QWORD PTR [rax]
	movsd	xmm1, QWORD PTR 8[rax]
	movapd	xmm3, xmm1
	movapd	xmm2, xmm0
	movapd	xmm1, xmm4
	movq	xmm0, rdx
	call	__muldc3@PLT
	movq	rax, xmm0
	movapd	xmm0, xmm1
	mov	QWORD PTR -16[rbp], rax
	movsd	QWORD PTR -8[rbp], xmm0
	movsd	xmm0, QWORD PTR -16[rbp]
	movsd	QWORD PTR -32[rbp], xmm0
	movsd	xmm0, QWORD PTR -8[rbp]
	movsd	QWORD PTR -24[rbp], xmm0
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR 8[rax]
	mov	eax, DWORD PTR -36[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	addsd	xmm1, QWORD PTR -32[rbp]
	addsd	xmm0, QWORD PTR -24[rbp]
	movsd	QWORD PTR [rax], xmm1
	movsd	QWORD PTR 8[rax], xmm0
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR 8[rax]
	mov	edx, DWORD PTR -36[rbp]
	mov	eax, DWORD PTR -68[rbp]
	add	eax, edx
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	subsd	xmm1, QWORD PTR -32[rbp]
	subsd	xmm0, QWORD PTR -24[rbp]
	movsd	QWORD PTR [rax], xmm1
	movsd	QWORD PTR 8[rax], xmm0
	mov	eax, DWORD PTR -72[rbp]
	add	eax, eax
	add	DWORD PTR -36[rbp], eax
.L3:
	mov	eax, DWORD PTR -36[rbp]
	cmp	eax, DWORD PTR -68[rbp]
	jl	.L4
.L5:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	_fft, .-_fft
	.globl	fft
	.type	fft, @function
fft:
.LFB7:
	.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 -56[rbp], rdi
	mov	DWORD PTR -60[rbp], esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	rbx, rax
	mov	eax, DWORD PTR -60[rbp]
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -40[rbp], rdx
	movsx	rdx, eax
	mov	r10, rdx
	mov	r11d, 0
	movsx	rdx, eax
	mov	r8, rdx
	mov	r9d, 0
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	edi, 16
	mov	edx, 0
	div	rdi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L7:
	cmp	rsp, rdx
	je	.L8
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L7
.L8:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L9
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L9:
	mov	rax, rsp
	add	rax, 7
	shr	rax, 3
	sal	rax, 3
	mov	QWORD PTR -32[rbp], rax
	mov	DWORD PTR -44[rbp], 0
	jmp	.L10
.L11:
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR 8[rax]
	mov	rdx, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	movsd	QWORD PTR [rax], xmm1
	movsd	QWORD PTR 8[rax], xmm0
	add	DWORD PTR -44[rbp], 1
.L10:
	mov	eax, DWORD PTR -44[rbp]
	cmp	eax, DWORD PTR -60[rbp]
	jl	.L11
	mov	edx, DWORD PTR -60[rbp]
	mov	rsi, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	ecx, 1
	mov	rdi, rax
	call	_fft
	mov	rsp, rbx
	nop
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L12
	call	__stack_chk_fail@PLT
.L12:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	fft, .-fft
	.section	.rodata
.LC2:
	.string	"%s"
.LC4:
	.string	"%.3f \n"
.LC5:
	.string	"(%.3f, %.3f) \n"
	.text
	.globl	show
	.type	show, @function
show:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -36[rbp], edx
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -4[rbp], 0
	jmp	.L14
.L18:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR 8[rax]
	pxor	xmm1, xmm1
	ucomisd	xmm0, xmm1
	jp	.L15
	pxor	xmm1, xmm1
	ucomisd	xmm0, xmm1
	jne	.L15
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	movq	xmm0, rax
	lea	rdi, .LC4[rip]
	mov	eax, 1
	call	printf@PLT
	jmp	.L17
.L15:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR 8[rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdi, .LC5[rip]
	mov	eax, 2
	call	printf@PLT
.L17:
	add	DWORD PTR -4[rbp], 1
.L14:
	mov	eax, DWORD PTR -4[rbp]
	cmp	DWORD PTR -36[rbp], eax
	ja	.L18
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	show, .-show
	.section	.rodata
.LC7:
	.string	"%.3f Hz: %.3f \n"
	.text
	.globl	show_results
	.type	show_results, @function
show_results:
.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, 88
	.cfi_offset 3, -24
	mov	QWORD PTR -72[rbp], rdi
	mov	QWORD PTR -80[rbp], rsi
	mov	DWORD PTR -84[rbp], edx
	movss	DWORD PTR -88[rbp], xmm0
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	rbx, rax
	mov	eax, DWORD PTR -84[rbp]
	shr	eax
	mov	edx, eax
	sub	rdx, 1
	mov	QWORD PTR -40[rbp], rdx
	mov	edx, eax
	mov	r10, rdx
	mov	r11d, 0
	mov	edx, eax
	mov	r8, rdx
	mov	r9d, 0
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	esi, 16
	mov	edx, 0
	div	rsi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L21:
	cmp	rsp, rdx
	je	.L22
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L21
.L22:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L23
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L23:
	mov	rax, rsp
	add	rax, 3
	shr	rax, 2
	sal	rax, 2
	mov	QWORD PTR -32[rbp], rax
	pxor	xmm0, xmm0
	movss	DWORD PTR -52[rbp], xmm0
	mov	eax, DWORD PTR -84[rbp]
	test	rax, rax
	js	.L24
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, rax
	jmp	.L25
.L24:
	mov	rdx, rax
	shr	rdx
	and	eax, 1
	or	rdx, rax
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, rdx
	addss	xmm0, xmm0
.L25:
	movaps	xmm1, xmm0
	divss	xmm1, DWORD PTR -88[rbp]
	mov	eax, DWORD PTR -84[rbp]
	test	rax, rax
	js	.L26
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, rax
	jmp	.L27
.L26:
	mov	rdx, rax
	shr	rdx
	and	eax, 1
	or	rdx, rax
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, rdx
	addss	xmm0, xmm0
.L27:
	divss	xmm1, xmm0
	movss	DWORD PTR -44[rbp], xmm1
	mov	DWORD PTR -56[rbp], 0
	jmp	.L28
.L29:
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mulsd	xmm1, xmm0
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	movsd	xmm2, QWORD PTR 8[rax]
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR 8[rax]
	mulsd	xmm0, xmm2
	addsd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	call	sqrt@PLT
	cvtsd2ss	xmm0, xmm0
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, DWORD PTR -56[rbp]
	movsx	rdx, edx
	movss	DWORD PTR [rax+rdx*4], xmm0
	add	DWORD PTR -56[rbp], 1
.L28:
	mov	eax, DWORD PTR -84[rbp]
	shr	eax
	mov	edx, eax
	mov	eax, DWORD PTR -56[rbp]
	cmp	edx, eax
	ja	.L29
	mov	DWORD PTR -60[rbp], 0
	jmp	.L30
.L33:
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, DWORD PTR -60[rbp]
	movsx	rdx, edx
	movss	xmm0, DWORD PTR [rax+rdx*4]
	comiss	xmm0, DWORD PTR -52[rbp]
	jbe	.L31
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, DWORD PTR -60[rbp]
	movsx	rdx, edx
	movss	xmm0, DWORD PTR [rax+rdx*4]
	movss	DWORD PTR -52[rbp], xmm0
.L31:
	add	DWORD PTR -60[rbp], 1
.L30:
	mov	eax, DWORD PTR -84[rbp]
	shr	eax
	mov	edx, eax
	mov	eax, DWORD PTR -60[rbp]
	cmp	edx, eax
	ja	.L33
	mov	DWORD PTR -64[rbp], 0
	jmp	.L34
.L35:
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, DWORD PTR -64[rbp]
	movsx	rdx, edx
	movss	xmm0, DWORD PTR [rax+rdx*4]
	divss	xmm0, DWORD PTR -52[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, DWORD PTR -64[rbp]
	movsx	rdx, edx
	movss	DWORD PTR [rax+rdx*4], xmm0
	add	DWORD PTR -64[rbp], 1
.L34:
	mov	eax, DWORD PTR -84[rbp]
	shr	eax
	mov	edx, eax
	mov	eax, DWORD PTR -64[rbp]
	cmp	edx, eax
	ja	.L35
	mov	rax, QWORD PTR -72[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -48[rbp], 0
	jmp	.L36
.L37:
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, DWORD PTR -48[rbp]
	movsx	rdx, edx
	movss	xmm0, DWORD PTR [rax+rdx*4]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, DWORD PTR -48[rbp]
	mulss	xmm0, DWORD PTR -44[rbp]
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, xmm0
	movq	rax, xmm3
	movq	xmm0, rax
	lea	rdi, .LC7[rip]
	mov	eax, 2
	call	printf@PLT
	add	DWORD PTR -48[rbp], 1
.L36:
	mov	eax, DWORD PTR -84[rbp]
	shr	eax
	mov	edx, eax
	mov	eax, DWORD PTR -48[rbp]
	cmp	edx, eax
	ja	.L37
	mov	rsp, rbx
	nop
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L38
	call	__stack_chk_fail@PLT
.L38:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	show_results, .-show_results
	.section	.rodata
.LC11:
	.string	"Data: \n"
.LC12:
	.string	"\nFFT : \n"
.LC13:
	.string	"pause"
	.text
	.globl	main
	.type	main, @function
main:
.LFB10:
	.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, 88
	.cfi_offset 3, -24
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	rbx, rax
	movsd	xmm0, QWORD PTR .LC8[rip]
	movsd	QWORD PTR PI[rip], xmm0
	mov	DWORD PTR -68[rbp], 64
	movsd	xmm0, QWORD PTR .LC9[rip]
	movsd	QWORD PTR -64[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC10[rip]
	movsd	QWORD PTR -56[rbp], xmm0
	movsd	xmm0, QWORD PTR PI[rip]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -68[rbp]
	divsd	xmm1, QWORD PTR -64[rbp]
	divsd	xmm1, QWORD PTR -56[rbp]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -48[rbp], xmm0
	mov	eax, DWORD PTR -68[rbp]
	cdqe
	sub	rax, 1
	mov	QWORD PTR -40[rbp], rax
	mov	eax, DWORD PTR -68[rbp]
	cdqe
	mov	r8, rax
	mov	r9d, 0
	mov	eax, DWORD PTR -68[rbp]
	cdqe
	mov	rsi, rax
	mov	edi, 0
	mov	eax, DWORD PTR -68[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	esi, 16
	mov	edx, 0
	div	rsi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L41:
	cmp	rsp, rdx
	je	.L42
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L41
.L42:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L43
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L43:
	mov	rax, rsp
	add	rax, 7
	shr	rax, 3
	sal	rax, 3
	mov	QWORD PTR -32[rbp], rax
	mov	DWORD PTR -72[rbp], 0
	jmp	.L44
.L45:
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -72[rbp]
	addsd	xmm0, xmm0
	mulsd	xmm0, QWORD PTR -48[rbp]
	movq	rax, xmm0
	movq	xmm0, rax
	call	sin@PLT
	movsd	QWORD PTR -88[rbp], xmm0
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -72[rbp]
	addsd	xmm0, xmm0
	mulsd	xmm0, QWORD PTR -48[rbp]
	movapd	xmm2, xmm0
	addsd	xmm2, xmm0
	movq	rax, xmm2
	movq	xmm0, rax
	call	sin@PLT
	addsd	xmm0, xmm0
	movapd	xmm3, xmm0
	addsd	xmm3, QWORD PTR -88[rbp]
	movsd	QWORD PTR -88[rbp], xmm3
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -72[rbp]
	addsd	xmm0, xmm0
	movapd	xmm1, xmm0
	mulsd	xmm1, QWORD PTR -48[rbp]
	movsd	xmm0, QWORD PTR .LC10[rip]
	mulsd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	call	sin@PLT
	movsd	xmm1, QWORD PTR .LC9[rip]
	mulsd	xmm0, xmm1
	addsd	xmm0, QWORD PTR -88[rbp]
	movapd	xmm1, xmm0
	pxor	xmm0, xmm0
	mov	rdx, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -72[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	movsd	QWORD PTR [rax], xmm1
	movsd	QWORD PTR 8[rax], xmm0
	add	DWORD PTR -72[rbp], 1
.L44:
	mov	eax, DWORD PTR -72[rbp]
	cmp	eax, DWORD PTR -68[rbp]
	jl	.L45
	mov	edx, DWORD PTR -68[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	rsi, rax
	lea	rdi, .LC11[rip]
	call	show
	mov	edx, DWORD PTR -68[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	fft
	pxor	xmm5, xmm5
	cvtsd2ss	xmm5, QWORD PTR -64[rbp]
	movd	ecx, xmm5
	mov	edx, DWORD PTR -68[rbp]
	mov	rax, QWORD PTR -32[rbp]
	movd	xmm0, ecx
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	call	show_results
	mov	edi, 10
	call	putchar@PLT
	lea	rdi, .LC13[rip]
	call	system@PLT
	mov	eax, 0
	mov	rsp, rbx
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L47
	call	__stack_chk_fail@PLT
.L47:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC0:
	.long	0
	.long	-2147483648
	.align 16
.LC1:
	.long	0
	.long	-2147483648
	.long	0
	.long	0
	.align 8
.LC8:
	.long	1413754136
	.long	1074340347
	.align 8
.LC9:
	.long	0
	.long	1071644672
	.align 8
.LC10:
	.long	0
	.long	1074790400
	.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	"37156.c"
	.text
	.comm	PI,8,8
	.global	__aeabi_dmul
	.global	__aeabi_i2d
	.global	__aeabi_ddiv
	.global	__aeabi_dadd
	.global	__aeabi_dsub
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	_fft
	.syntax unified
	.arm
	.fpu softvfp
	.type	_fft, %function
_fft:
	@ args = 0, pretend = 0, frame = 88
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #112
	str	r0, [fp, #-80]
	str	r1, [fp, #-84]
	str	r2, [fp, #-88]
	str	r3, [fp, #-92]
	ldr	r3, .L7
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	ldr	r2, [fp, #-92]
	ldr	r3, [fp, #-88]
	cmp	r2, r3
	bge	.L6
	ldr	r3, [fp, #-92]
	lsl	r3, r3, #1
	ldr	r2, [fp, #-88]
	ldr	r1, [fp, #-80]
	ldr	r0, [fp, #-84]
	bl	_fft
	ldr	r3, [fp, #-92]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-84]
	add	r0, r2, r3
	ldr	r3, [fp, #-92]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-80]
	add	r1, r2, r3
	ldr	r3, [fp, #-92]
	lsl	r3, r3, #1
	ldr	r2, [fp, #-88]
	bl	_fft
	mov	r3, #0
	str	r3, [fp, #-72]
	b	.L3
.L4:
	ldr	r3, .L7+4
	ldmia	r3, {r4-r5}
	mov	r2, #0
	mov	r3, #-2147483648
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-116]
	str	r3, [fp, #-112]
	ldr	r0, [fp, #-72]
	bl	__aeabi_i2d
	mov	r6, r0
	mov	r7, r1
	sub	r3, fp, #116
	ldmia	r3, {r2-r3}
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-116]
	str	r3, [fp, #-112]
	mov	r8, r4
	eor	r9, r5, #-2147483648
	mov	r2, r8
	mov	r3, r9
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	ldr	r0, [fp, #-88]
	bl	__aeabi_i2d
	mov	r4, r0
	mov	r5, r1
	mov	r2, r4
	mov	r3, r5
	sub	r1, fp, #116
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-116]
	str	r3, [fp, #-112]
	mov	r2, r4
	mov	r3, r5
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	sub	r5, fp, #116
	ldmia	r5, {r4-r5}
	mov	r6, r2
	mov	r7, r3
	sub	r1, fp, #108
	mov	r3, r7
	str	r3, [sp, #4]
	mov	r3, r6
	str	r3, [sp]
	mov	r2, r4
	mov	r3, r5
	mov	r0, r1
	bl	cexp
	sub	r1, fp, #108
	ldmia	r1, {r0-r1}
	sub	r3, fp, #100
	ldmia	r3, {r2-r3}
	mov	r6, r0
	mov	r7, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r2, [fp, #-72]
	ldr	r3, [fp, #-92]
	add	r3, r2, r3
	lsl	r3, r3, #4
	ldr	r2, [fp, #-84]
	add	r1, r2, r3
	ldmia	r1, {r2-r3}
	add	r1, r1, #8
	ldmia	r1, {r0-r1}
	sub	ip, fp, #108
	str	r0, [sp, #16]
	str	r1, [sp, #20]
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	stm	sp, {r4-r5}
	mov	r2, r6
	mov	r3, r7
	mov	r0, ip
	bl	__muldc3
	sub	r3, fp, #108
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	sub	r3, fp, #100
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-84]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	add	r5, r3, #8
	ldmia	r5, {r4-r5}
	ldr	r3, [fp, #-72]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	lsl	r3, r3, #4
	ldr	r2, [fp, #-80]
	add	r6, r2, r3
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-116]
	str	r3, [fp, #-112]
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #116
	ldmia	r1, {r0-r1}
	stm	r6, {r0-r1}
	str	r2, [r6, #8]
	str	r3, [r6, #12]
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-84]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	add	r5, r3, #8
	ldmia	r5, {r4-r5}
	ldr	r2, [fp, #-72]
	ldr	r3, [fp, #-88]
	add	r3, r2, r3
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	lsl	r3, r3, #4
	ldr	r2, [fp, #-80]
	add	r6, r2, r3
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-116]
	str	r3, [fp, #-112]
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #116
	ldmia	r1, {r0-r1}
	stm	r6, {r0-r1}
	str	r2, [r6, #8]
	str	r3, [r6, #12]
	ldr	r3, [fp, #-92]
	lsl	r3, r3, #1
	ldr	r2, [fp, #-72]
	add	r3, r2, r3
	str	r3, [fp, #-72]
.L3:
	ldr	r2, [fp, #-72]
	ldr	r3, [fp, #-88]
	cmp	r2, r3
	blt	.L4
.L6:
	nop
	ldr	r3, .L7
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L5
	bl	__stack_chk_fail
.L5:
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L8:
	.align	2
.L7:
	.word	.LC0
	.word	PI
	.size	_fft, .-_fft
	.section	.rodata
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	fft
	.syntax unified
	.arm
	.fpu softvfp
	.type	fft, %function
fft:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #28
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	ldr	r3, .L13
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, sp
	mov	r4, r3
	ldr	ip, [fp, #-36]
	sub	r3, ip, #1
	str	r3, [fp, #-24]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #7
	orr	r3, r3, r0, lsr #25
	lsl	r2, r0, #7
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #7
	orr	r3, r3, r0, lsr #25
	lsl	r2, r0, #7
	mov	r3, ip
	lsl	r3, r3, #4
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L10
.L11:
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	ldr	lr, [fp, #-20]
	ldr	ip, [fp, #-28]
	lsl	ip, ip, #4
	add	ip, lr, ip
	stm	ip, {r0-r1}
	str	r2, [ip, #8]
	str	r3, [ip, #12]
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L10:
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-36]
	cmp	r2, r3
	blt	.L11
	mov	r3, #1
	ldr	r2, [fp, #-36]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-32]
	bl	_fft
	mov	sp, r4
	nop
	ldr	r3, .L13
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L12
	bl	__stack_chk_fail
.L12:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L14:
	.align	2
.L13:
	.word	.LC1
	.size	fft, .-fft
	.section	.rodata
	.align	2
.LC2:
	.ascii	"%s\000"
	.global	__aeabi_dcmpeq
	.align	2
.LC3:
	.ascii	"%.3f \012\000"
	.align	2
.LC4:
	.ascii	"(%.3f, %.3f) \012\000"
	.text
	.align	2
	.global	show
	.syntax unified
	.arm
	.fpu softvfp
	.type	show, %function
show:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	ldr	r1, [fp, #-16]
	ldr	r0, .L23
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L16
.L20:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	add	r1, r3, #8
	ldmia	r1, {r0-r1}
	mov	r2, #0
	mov	r3, #0
	bl	__aeabi_dcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L22
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	ldr	r0, .L23+4
	bl	printf
	b	.L19
.L22:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L23+8
	bl	printf
.L19:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L16:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	bhi	.L20
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L24:
	.align	2
.L23:
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	show, .-show
	.global	__aeabi_ui2f
	.global	__aeabi_fdiv
	.global	__aeabi_d2f
	.global	__aeabi_fcmplt
	.global	__aeabi_i2f
	.global	__aeabi_fmul
	.global	__aeabi_f2d
	.section	.rodata
	.align	2
.LC5:
	.ascii	"%.3f Hz: %.3f \012\000"
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	show_results
	.syntax unified
	.arm
	.fpu softvfp
	.type	show_results, %function
show_results:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, fp, lr}
	add	fp, sp, #16
	sub	sp, sp, #68
	str	r0, [fp, #-64]
	str	r1, [fp, #-68]
	str	r2, [fp, #-72]
	str	r3, [fp, #-76]	@ float
	ldr	r3, .L38
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	mov	r3, sp
	mov	r6, r3
	ldr	r3, [fp, #-72]
	lsr	ip, r3, #1
	mov	r3, ip
	sub	r3, r3, #1
	str	r3, [fp, #-36]
	mov	r0, ip
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r0, ip
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	lsl	r3, ip, #2
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	add	r3, sp, #8
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-44]	@ float
	ldr	r0, [fp, #-72]
	bl	__aeabi_ui2f
	mov	r3, r0
	ldr	r1, [fp, #-76]	@ float
	mov	r0, r3
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r4, r3
	ldr	r0, [fp, #-72]
	bl	__aeabi_ui2f
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fdiv
	mov	r3, r0
	str	r3, [fp, #-28]	@ float
	mov	r3, #0
	str	r3, [fp, #-48]
	b	.L26
.L27:
	ldr	r3, [fp, #-48]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-68]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-48]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-68]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, [fp, #-48]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-68]
	add	r3, r2, r3
	add	r1, r3, #8
	ldmia	r1, {r0-r1}
	ldr	r3, [fp, #-48]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-68]
	add	r3, r2, r3
	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_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	sqrt
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r1, r0
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-48]
	str	r1, [r3, r2, lsl #2]	@ float
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
.L26:
	ldr	r3, [fp, #-72]
	lsr	r2, r3, #1
	ldr	r3, [fp, #-48]
	cmp	r2, r3
	bhi	.L27
	mov	r3, #0
	str	r3, [fp, #-52]
	b	.L28
.L31:
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-52]
	ldr	r3, [r3, r2, lsl #2]	@ float
	mov	r1, r3
	ldr	r0, [fp, #-44]	@ float
	bl	__aeabi_fcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L29
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-52]
	ldr	r3, [r3, r2, lsl #2]	@ float
	str	r3, [fp, #-44]	@ float
.L29:
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
.L28:
	ldr	r3, [fp, #-72]
	lsr	r2, r3, #1
	ldr	r3, [fp, #-52]
	cmp	r2, r3
	bhi	.L31
	mov	r3, #0
	str	r3, [fp, #-56]
	b	.L32
.L33:
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-56]
	ldr	r3, [r3, r2, lsl #2]	@ float
	ldr	r1, [fp, #-44]	@ float
	mov	r0, r3
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r1, r3
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-56]
	str	r1, [r3, r2, lsl #2]	@ float
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L32:
	ldr	r3, [fp, #-72]
	lsr	r2, r3, #1
	ldr	r3, [fp, #-56]
	cmp	r2, r3
	bhi	.L33
	ldr	r1, [fp, #-64]
	ldr	r0, .L38+4
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L34
.L35:
	ldr	r0, [fp, #-40]
	bl	__aeabi_i2f
	mov	r3, r0
	ldr	r1, [fp, #-28]	@ float
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-40]
	ldr	r3, [r3, r2, lsl #2]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	stm	sp, {r2-r3}
	mov	r2, r4
	mov	r3, r5
	ldr	r0, .L38+8
	bl	printf
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L34:
	ldr	r3, [fp, #-72]
	lsr	r2, r3, #1
	ldr	r3, [fp, #-40]
	cmp	r2, r3
	bhi	.L35
	mov	sp, r6
	nop
	ldr	r3, .L38
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L36
	bl	__stack_chk_fail
.L36:
	sub	sp, fp, #16
	@ sp needed
	pop	{r4, r5, r6, fp, pc}
.L39:
	.align	2
.L38:
	.word	.LC6
	.word	.LC2
	.word	.LC5
	.size	show_results, .-show_results
	.section	.rodata
	.align	2
.LC7:
	.ascii	"Data: \012\000"
	.align	2
.LC8:
	.ascii	"\012FFT : \012\000"
	.align	2
.LC9:
	.ascii	"pause\000"
	.align	2
.LC10:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, fp, lr}
	add	fp, sp, #16
	sub	sp, sp, #52
	ldr	r3, .L45
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	mov	r3, sp
	mov	r6, r3
	ldr	r1, .L45+4
	ldr	r2, .L45+8
	ldr	r3, .L45+12
	stm	r1, {r2-r3}
	mov	r3, #64
	str	r3, [fp, #-64]
	mov	r2, #0
	ldr	r3, .L45+16
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	mov	r2, #0
	ldr	r3, .L45+20
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	ldr	r3, .L45+4
	ldmia	r3, {r4-r5}
	ldr	r0, [fp, #-64]
	bl	__aeabi_i2d
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-64]
	sub	r3, r3, #1
	str	r3, [fp, #-60]
	ldr	r3, [fp, #-64]
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #7
	orr	r3, r3, r0, lsr #25
	lsl	r2, r0, #7
	ldr	r3, [fp, #-64]
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #7
	orr	r3, r3, r0, lsr #25
	lsl	r2, r0, #7
	ldr	r3, [fp, #-64]
	lsl	r3, r3, #4
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	str	r3, [fp, #-56]
	mov	r3, #0
	str	r3, [fp, #-68]
	b	.L41
.L42:
	ldr	r0, [fp, #-68]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	sin
	mov	r4, r0
	mov	r5, r1
	ldr	r0, [fp, #-68]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, r0
	mov	r3, r1
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	sin
	mov	r2, r0
	mov	r3, r1
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r0, [fp, #-68]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L45+20
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	sin
	mov	r2, #0
	ldr	r3, .L45+16
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	mov	r0, #0
	mov	r1, #0
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-68]
	lsl	r3, r3, #4
	add	r3, r2, r3
	stm	r3, {r4-r5}
	str	r0, [r3, #8]
	str	r1, [r3, #12]
	ldr	r3, [fp, #-68]
	add	r3, r3, #1
	str	r3, [fp, #-68]
.L41:
	ldr	r2, [fp, #-68]
	ldr	r3, [fp, #-64]
	cmp	r2, r3
	blt	.L42
	ldr	r3, [fp, #-64]
	mov	r2, r3
	ldr	r1, [fp, #-56]
	ldr	r0, .L45+24
	bl	show
	ldr	r1, [fp, #-64]
	ldr	r0, [fp, #-56]
	bl	fft
	ldr	r4, [fp, #-64]
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	bl	__aeabi_d2f
	mov	r3, r0
	mov	r2, r4
	ldr	r1, [fp, #-56]
	ldr	r0, .L45+28
	bl	show_results
	mov	r0, #10
	bl	putchar
	ldr	r0, .L45+32
	bl	system
	mov	r3, #0
	mov	sp, r6
	ldr	r2, .L45
	ldr	r1, [r2]
	ldr	r2, [fp, #-24]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L44
	bl	__stack_chk_fail
.L44:
	mov	r0, r3
	sub	sp, fp, #16
	@ sp needed
	pop	{r4, r5, r6, fp, pc}
.L46:
	.align	2
.L45:
	.word	.LC10
	.word	PI
	.word	1413754136
	.word	1074340347
	.word	1071644672
	.word	1074790400
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
