	.file	"41864.c"
	.intel_syntax noprefix
	.text
	.globl	sumArray
	.type	sumArray, @function
sumArray:
.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 -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	pxor	xmm0, xmm0
	movsd	QWORD PTR -8[rbp], xmm0
	mov	DWORD PTR -12[rbp], 0
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	movsd	xmm1, QWORD PTR -8[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -8[rbp], xmm0
	add	DWORD PTR -12[rbp], 1
.L2:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L3
	movsd	xmm0, QWORD PTR -8[rbp]
	movq	rax, xmm0
	movq	xmm0, rax
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	sumArray, .-sumArray
	.globl	isFinanced
	.type	isFinanced, @function
isFinanced:
.LFB7:
	.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	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -4[rbp], 0
	jmp	.L6
.L9:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 121
	jne	.L7
	mov	eax, 1
	jmp	.L8
.L7:
	add	DWORD PTR -4[rbp], 1
.L6:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L9
	mov	eax, 0
.L8:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	isFinanced, .-isFinanced
	.globl	myCeil
	.type	myCeil, @function
myCeil:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	movss	DWORD PTR -20[rbp], xmm0
	movss	xmm0, DWORD PTR -20[rbp]
	cvttss2si	eax, xmm0
	mov	DWORD PTR -4[rbp], eax
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, DWORD PTR -4[rbp]
	ucomiss	xmm0, DWORD PTR -20[rbp]
	jp	.L11
	ucomiss	xmm0, DWORD PTR -20[rbp]
	jne	.L11
	mov	eax, DWORD PTR -4[rbp]
	jmp	.L13
.L11:
	mov	eax, DWORD PTR -4[rbp]
	add	eax, 1
.L13:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	myCeil, .-myCeil
	.section	.rodata
.LC4:
	.string	"+--------------------------+"
.LC5:
	.string	"+   Wish List Forecaster   |"
.LC6:
	.string	"+--------------------------+\n"
	.align 8
.LC7:
	.string	"Enter your monthly NET income: $"
.LC8:
	.string	"%f"
	.align 8
.LC9:
	.string	"ERROR: You must have a consistent monthly income of at least $500.00\n"
	.align 8
.LC10:
	.string	"ERROR: Liar! I'll believe you if you enter a value no more than $400000.00\n"
	.align 8
.LC11:
	.string	"\nHow many wish list items do you want to forecast?: "
.LC12:
	.string	"%d"
	.align 8
.LC13:
	.string	"ERROR: List is restricted to between 1 and 10 items."
.LC14:
	.string	"\nItem-%d Details:\n"
.LC15:
	.string	"   Item cost: $"
.LC16:
	.string	"%lf"
	.align 8
.LC17:
	.string	"      ERROR: Cost must be at least $100.00"
	.align 8
.LC18:
	.string	"   How important is it to you? [1=must have, 2=important, 3=want]: "
	.align 8
.LC19:
	.string	"      ERROR: Value must be between 1 and 3"
	.align 8
.LC20:
	.string	"   Does this item have financing options? [y/n]: "
.LC21:
	.string	" %c"
	.align 8
.LC22:
	.string	"      ERROR: Must be a lowercase 'y' or 'n'"
	.align 8
.LC23:
	.string	"\nItem Priority Financed        Cost"
	.align 8
.LC24:
	.string	"---- -------- -------- -----------"
.LC25:
	.string	"%3d  %5d    %5c    %11.2lf\n"
	.align 8
.LC26:
	.string	"                      $%11.2lf\n\n"
	.align 8
.LC27:
	.string	"How do you want to forecast your wish list?"
	.align 8
.LC28:
	.string	"\n 1. All items (no filter)\n 2. By priority\n 0. Quit/Exit\nSelection: "
	.align 8
.LC29:
	.string	"\n===================================================="
.LC30:
	.string	"Filter:   All items"
.LC31:
	.string	"Amount:   $%1.2lf\n"
	.align 8
.LC32:
	.string	"Forecast: %d years, %d months\n"
	.align 8
.LC33:
	.string	"NOTE: Financing options are available on some items.\n      You can likely reduce the estimated months."
	.align 8
.LC34:
	.string	"\nWhat priority do you want to filter by? [1-3]: "
.LC35:
	.string	"Filter:   by priority (%d)\n"
	.align 8
.LC36:
	.string	"\nERROR: Invalid menu selection."
	.align 8
.LC37:
	.string	"\nHow do you want to forecast your wish list?"
	.align 8
.LC38:
	.string	"\nBest of luck in all your future endeavours!"
	.text
	.globl	main
	.type	main, @function
main:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 256
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	movss	xmm0, DWORD PTR .LC1[rip]
	movss	DWORD PTR -224[rbp], xmm0
	movss	xmm0, DWORD PTR .LC2[rip]
	movss	DWORD PTR -220[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC3[rip]
	movsd	QWORD PTR -184[rbp], xmm0
	lea	rdi, .LC4[rip]
	call	puts@PLT
	lea	rdi, .LC5[rip]
	call	puts@PLT
	lea	rdi, .LC6[rip]
	call	puts@PLT
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -248[rbp]
	mov	rsi, rax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	jmp	.L16
.L20:
	movss	xmm1, DWORD PTR -248[rbp]
	movss	xmm0, DWORD PTR -220[rbp]
	comiss	xmm0, xmm1
	jbe	.L52
	lea	rdi, .LC9[rip]
	call	puts@PLT
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -248[rbp]
	mov	rsi, rax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	jmp	.L16
.L52:
	movss	xmm0, DWORD PTR -248[rbp]
	comiss	xmm0, DWORD PTR -224[rbp]
	ja	.L51
	jmp	.L16
.L51:
	lea	rdi, .LC10[rip]
	call	puts@PLT
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -248[rbp]
	mov	rsi, rax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
.L16:
	movss	xmm1, DWORD PTR -248[rbp]
	movss	xmm0, DWORD PTR -220[rbp]
	comiss	xmm0, xmm1
	ja	.L20
	movss	xmm0, DWORD PTR -248[rbp]
	comiss	xmm0, DWORD PTR -224[rbp]
	ja	.L20
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -244[rbp]
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	jmp	.L21
.L22:
	lea	rdi, .LC13[rip]
	call	puts@PLT
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -244[rbp]
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
.L21:
	mov	eax, DWORD PTR -244[rbp]
	test	eax, eax
	jle	.L22
	mov	eax, DWORD PTR -244[rbp]
	cmp	eax, 10
	jg	.L22
	mov	DWORD PTR -232[rbp], 0
	jmp	.L23
.L36:
	mov	eax, DWORD PTR -232[rbp]
	add	eax, 1
	mov	esi, eax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdx, -112[rbp]
	mov	eax, DWORD PTR -232[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	jmp	.L24
.L25:
	lea	rdi, .LC17[rip]
	call	puts@PLT
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdx, -112[rbp]
	mov	eax, DWORD PTR -232[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
.L24:
	mov	eax, DWORD PTR -232[rbp]
	cdqe
	movsd	xmm1, QWORD PTR -112[rbp+rax*8]
	movsd	xmm0, QWORD PTR -184[rbp]
	comisd	xmm0, xmm1
	ja	.L25
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdx, -160[rbp]
	mov	eax, DWORD PTR -232[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	jmp	.L26
.L27:
	lea	rdi, .LC19[rip]
	call	puts@PLT
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdx, -160[rbp]
	mov	eax, DWORD PTR -232[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
.L26:
	mov	eax, DWORD PTR -232[rbp]
	cdqe
	mov	eax, DWORD PTR -160[rbp+rax*4]
	test	eax, eax
	jle	.L27
	mov	eax, DWORD PTR -232[rbp]
	cdqe
	mov	eax, DWORD PTR -160[rbp+rax*4]
	cmp	eax, 3
	jg	.L27
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -236[rbp]
	mov	rsi, rax
	lea	rdi, .LC21[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	movzx	eax, BYTE PTR -236[rbp]
	cmp	al, 121
	je	.L28
	movzx	eax, BYTE PTR -236[rbp]
	cmp	al, 110
	jne	.L29
.L28:
	mov	eax, 1
	jmp	.L30
.L29:
	mov	eax, 0
.L30:
	mov	DWORD PTR -228[rbp], eax
	jmp	.L31
.L35:
	lea	rdi, .LC22[rip]
	call	puts@PLT
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -236[rbp]
	mov	rsi, rax
	lea	rdi, .LC21[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	movzx	eax, BYTE PTR -236[rbp]
	cmp	al, 121
	je	.L32
	movzx	eax, BYTE PTR -236[rbp]
	cmp	al, 110
	jne	.L33
.L32:
	mov	eax, 1
	jmp	.L34
.L33:
	mov	eax, 0
.L34:
	mov	DWORD PTR -228[rbp], eax
.L31:
	cmp	DWORD PTR -228[rbp], 0
	jle	.L35
	lea	rcx, -236[rbp]
	lea	rax, -18[rbp]
	mov	edx, 1
	mov	rsi, rcx
	mov	rdi, rax
	call	strncat@PLT
	add	DWORD PTR -232[rbp], 1
.L23:
	mov	eax, DWORD PTR -244[rbp]
	cmp	DWORD PTR -232[rbp], eax
	jl	.L36
	lea	rdi, .LC23[rip]
	call	puts@PLT
	lea	rdi, .LC24[rip]
	call	puts@PLT
	mov	DWORD PTR -232[rbp], 0
	jmp	.L37
.L38:
	mov	eax, DWORD PTR -232[rbp]
	cdqe
	mov	rcx, QWORD PTR -112[rbp+rax*8]
	mov	eax, DWORD PTR -232[rbp]
	cdqe
	movzx	eax, BYTE PTR -18[rbp+rax]
	movsx	edx, al
	mov	eax, DWORD PTR -232[rbp]
	cdqe
	mov	eax, DWORD PTR -160[rbp+rax*4]
	mov	esi, DWORD PTR -232[rbp]
	add	esi, 1
	movq	xmm0, rcx
	mov	ecx, edx
	mov	edx, eax
	lea	rdi, .LC25[rip]
	mov	eax, 1
	call	printf@PLT
	add	DWORD PTR -232[rbp], 1
.L37:
	mov	eax, DWORD PTR -244[rbp]
	cmp	DWORD PTR -232[rbp], eax
	jl	.L38
	mov	edx, DWORD PTR -244[rbp]
	lea	rax, -112[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	sumArray
	movq	rax, xmm0
	mov	QWORD PTR -176[rbp], rax
	lea	rdi, .LC24[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -176[rbp]
	movq	xmm0, rax
	lea	rdi, .LC26[rip]
	mov	eax, 1
	call	printf@PLT
	lea	rdi, .LC27[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC28[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -240[rbp]
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	jmp	.L39
.L48:
	mov	eax, DWORD PTR -240[rbp]
	cmp	eax, 1
	jne	.L40
	lea	rdi, .LC29[rip]
	call	puts@PLT
	lea	rdi, .LC30[rip]
	call	puts@PLT
	mov	edx, DWORD PTR -244[rbp]
	lea	rax, -112[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	sumArray
	movq	rax, xmm0
	mov	QWORD PTR -168[rbp], rax
	movss	xmm0, DWORD PTR -248[rbp]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -168[rbp]
	divsd	xmm0, xmm1
	pxor	xmm2, xmm2
	cvtsd2ss	xmm2, xmm0
	movd	eax, xmm2
	movd	xmm0, eax
	call	myCeil
	mov	DWORD PTR -204[rbp], eax
	mov	eax, DWORD PTR -204[rbp]
	movsx	rdx, eax
	imul	rdx, rdx, 715827883
	shr	rdx, 32
	sar	edx
	sar	eax, 31
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	mov	DWORD PTR -200[rbp], eax
	mov	edx, DWORD PTR -204[rbp]
	movsx	rax, edx
	imul	rax, rax, 715827883
	shr	rax, 32
	sar	eax
	mov	esi, edx
	sar	esi, 31
	sub	eax, esi
	mov	ecx, eax
	mov	eax, ecx
	add	eax, eax
	add	eax, ecx
	sal	eax, 2
	sub	edx, eax
	mov	DWORD PTR -196[rbp], edx
	mov	edx, DWORD PTR -244[rbp]
	lea	rax, -18[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	isFinanced
	mov	BYTE PTR -249[rbp], al
	mov	rax, QWORD PTR -168[rbp]
	movq	xmm0, rax
	lea	rdi, .LC31[rip]
	mov	eax, 1
	call	printf@PLT
	mov	edx, DWORD PTR -196[rbp]
	mov	eax, DWORD PTR -200[rbp]
	mov	esi, eax
	lea	rdi, .LC32[rip]
	mov	eax, 0
	call	printf@PLT
	cmp	BYTE PTR -249[rbp], 0
	je	.L41
	lea	rdi, .LC33[rip]
	mov	eax, 0
	call	printf@PLT
.L41:
	lea	rdi, .LC29[rip]
	call	puts@PLT
	jmp	.L42
.L40:
	mov	eax, DWORD PTR -240[rbp]
	cmp	eax, 2
	jne	.L43
	lea	rdi, .LC34[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -236[rbp]
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC29[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -236[rbp]
	mov	esi, eax
	lea	rdi, .LC35[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -232[rbp], 0
	jmp	.L44
.L46:
	mov	eax, DWORD PTR -232[rbp]
	cdqe
	mov	edx, DWORD PTR -160[rbp+rax*4]
	mov	eax, DWORD PTR -236[rbp]
	cmp	edx, eax
	jne	.L45
	mov	eax, DWORD PTR -232[rbp]
	cdqe
	movsd	xmm0, QWORD PTR -112[rbp+rax*8]
	movsd	xmm1, QWORD PTR -192[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -192[rbp], xmm0
.L45:
	add	DWORD PTR -232[rbp], 1
.L44:
	mov	eax, DWORD PTR -244[rbp]
	cmp	DWORD PTR -232[rbp], eax
	jl	.L46
	movss	xmm0, DWORD PTR -248[rbp]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -192[rbp]
	divsd	xmm0, xmm1
	pxor	xmm3, xmm3
	cvtsd2ss	xmm3, xmm0
	movd	eax, xmm3
	movd	xmm0, eax
	call	myCeil
	mov	DWORD PTR -216[rbp], eax
	mov	eax, DWORD PTR -216[rbp]
	movsx	rdx, eax
	imul	rdx, rdx, 715827883
	shr	rdx, 32
	sar	edx
	sar	eax, 31
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	mov	DWORD PTR -212[rbp], eax
	mov	edx, DWORD PTR -216[rbp]
	movsx	rax, edx
	imul	rax, rax, 715827883
	shr	rax, 32
	sar	eax
	mov	esi, edx
	sar	esi, 31
	sub	eax, esi
	mov	ecx, eax
	mov	eax, ecx
	add	eax, eax
	add	eax, ecx
	sal	eax, 2
	sub	edx, eax
	mov	DWORD PTR -208[rbp], edx
	mov	edx, DWORD PTR -244[rbp]
	lea	rax, -18[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	isFinanced
	mov	BYTE PTR -250[rbp], al
	mov	rax, QWORD PTR -192[rbp]
	movq	xmm0, rax
	lea	rdi, .LC31[rip]
	mov	eax, 1
	call	printf@PLT
	mov	edx, DWORD PTR -208[rbp]
	mov	eax, DWORD PTR -212[rbp]
	mov	esi, eax
	lea	rdi, .LC32[rip]
	mov	eax, 0
	call	printf@PLT
	cmp	BYTE PTR -250[rbp], 0
	je	.L47
	lea	rdi, .LC33[rip]
	mov	eax, 0
	call	printf@PLT
.L47:
	lea	rdi, .LC29[rip]
	call	puts@PLT
	jmp	.L42
.L43:
	lea	rdi, .LC36[rip]
	call	puts@PLT
.L42:
	lea	rdi, .LC37[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC28[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -240[rbp]
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
.L39:
	mov	eax, DWORD PTR -240[rbp]
	test	eax, eax
	jne	.L48
	lea	rdi, .LC38[rip]
	call	puts@PLT
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE9:
	.size	main, .-main
	.section	.rodata
	.align 4
.LC1:
	.long	1220759552
	.align 4
.LC2:
	.long	1140457472
	.align 8
.LC3:
	.long	0
	.long	1079574528
	.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	"41864.c"
	.text
	.global	__aeabi_dadd
	.align	2
	.global	sumArray
	.syntax unified
	.arm
	.fpu softvfp
	.type	sumArray, %function
sumArray:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-12]
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L2
.L3:
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	sub	r1, fp, #12
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-12]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L2:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	blt	.L3
	sub	r3, fp, #12
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	sumArray, .-sumArray
	.align	2
	.global	isFinanced
	.syntax unified
	.arm
	.fpu softvfp
	.type	isFinanced, %function
isFinanced:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L6
.L9:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #121
	bne	.L7
	mov	r3, #1
	b	.L8
.L7:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L6:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	blt	.L9
	mov	r3, #0
.L8:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	isFinanced, .-isFinanced
	.global	__aeabi_f2iz
	.global	__aeabi_i2f
	.global	__aeabi_fcmpeq
	.align	2
	.global	myCeil
	.syntax unified
	.arm
	.fpu softvfp
	.type	myCeil, %function
myCeil:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]	@ float
	ldr	r0, [fp, #-16]	@ float
	bl	__aeabi_f2iz
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r0, [fp, #-8]
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-16]	@ float
	bl	__aeabi_fcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L15
	ldr	r3, [fp, #-8]
	b	.L13
.L15:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
.L13:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	myCeil, .-myCeil
	.section	.rodata
	.align	2
.LC0:
	.ascii	"+--------------------------+\000"
	.align	2
.LC1:
	.ascii	"+   Wish List Forecaster   |\000"
	.align	2
.LC2:
	.ascii	"+--------------------------+\012\000"
	.align	2
.LC3:
	.ascii	"Enter your monthly NET income: $\000"
	.align	2
.LC4:
	.ascii	"%f\000"
	.global	__aeabi_fcmpgt
	.align	2
.LC5:
	.ascii	"ERROR: You must have a consistent monthly income of"
	.ascii	" at least $500.00\012\000"
	.global	__aeabi_fcmplt
	.align	2
.LC6:
	.ascii	"ERROR: Liar! I'll believe you if you enter a value "
	.ascii	"no more than $400000.00\012\000"
	.align	2
.LC7:
	.ascii	"\012How many wish list items do you want to forecas"
	.ascii	"t?: \000"
	.align	2
.LC8:
	.ascii	"%d\000"
	.align	2
.LC9:
	.ascii	"ERROR: List is restricted to between 1 and 10 items"
	.ascii	".\000"
	.align	2
.LC10:
	.ascii	"\012Item-%d Details:\012\000"
	.align	2
.LC11:
	.ascii	"   Item cost: $\000"
	.align	2
.LC12:
	.ascii	"%lf\000"
	.align	2
.LC13:
	.ascii	"      ERROR: Cost must be at least $100.00\000"
	.global	__aeabi_dcmpgt
	.align	2
.LC14:
	.ascii	"   How important is it to you? [1=must have, 2=impo"
	.ascii	"rtant, 3=want]: \000"
	.align	2
.LC15:
	.ascii	"      ERROR: Value must be between 1 and 3\000"
	.align	2
.LC16:
	.ascii	"   Does this item have financing options? [y/n]: \000"
	.align	2
.LC17:
	.ascii	" %c\000"
	.align	2
.LC18:
	.ascii	"      ERROR: Must be a lowercase 'y' or 'n'\000"
	.align	2
.LC19:
	.ascii	"\012Item Priority Financed        Cost\000"
	.align	2
.LC20:
	.ascii	"---- -------- -------- -----------\000"
	.align	2
.LC21:
	.ascii	"%3d  %5d    %5c    %11.2lf\012\000"
	.align	2
.LC22:
	.ascii	"                      $%11.2lf\012\012\000"
	.align	2
.LC23:
	.ascii	"How do you want to forecast your wish list?\000"
	.align	2
.LC24:
	.ascii	"\012 1. All items (no filter)\012 2. By priority\012"
	.ascii	" 0. Quit/Exit\012Selection: \000"
	.align	2
.LC25:
	.ascii	"\012==============================================="
	.ascii	"=====\000"
	.align	2
.LC26:
	.ascii	"Filter:   All items\000"
	.global	__aeabi_f2d
	.global	__aeabi_ddiv
	.global	__aeabi_d2f
	.align	2
.LC27:
	.ascii	"Amount:   $%1.2lf\012\000"
	.align	2
.LC28:
	.ascii	"Forecast: %d years, %d months\012\000"
	.align	2
.LC29:
	.ascii	"NOTE: Financing options are available on some items"
	.ascii	".\012      You can likely reduce the estimated mont"
	.ascii	"hs.\000"
	.align	2
.LC30:
	.ascii	"\012What priority do you want to filter by? [1-3]: "
	.ascii	"\000"
	.align	2
.LC31:
	.ascii	"Filter:   by priority (%d)\012\000"
	.align	2
.LC32:
	.ascii	"\012ERROR: Invalid menu selection.\000"
	.align	2
.LC33:
	.ascii	"\012How do you want to forecast your wish list?\000"
	.align	2
.LC34:
	.ascii	"\012Best of luck in all your future endeavours!\000"
	.align	2
.LC35:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 232
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #240
	ldr	r3, .L54
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L54+4
	str	r3, [fp, #-204]	@ float
	ldr	r3, .L54+8
	str	r3, [fp, #-200]	@ float
	mov	r2, #0
	ldr	r3, .L54+12
	str	r2, [fp, #-164]
	str	r3, [fp, #-160]
	ldr	r0, .L54+16
	bl	puts
	ldr	r0, .L54+20
	bl	puts
	ldr	r0, .L54+24
	bl	puts
	ldr	r0, .L54+28
	bl	printf
	sub	r3, fp, #228
	mov	r1, r3
	ldr	r0, .L54+32
	bl	__isoc99_scanf
	b	.L17
.L21:
	ldr	r3, [fp, #-228]	@ float
	mov	r1, r3
	ldr	r0, [fp, #-200]	@ float
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L53
	ldr	r0, .L54+36
	bl	puts
	ldr	r0, .L54+28
	bl	printf
	sub	r3, fp, #228
	mov	r1, r3
	ldr	r0, .L54+32
	bl	__isoc99_scanf
	b	.L17
.L53:
	ldr	r3, [fp, #-228]	@ float
	mov	r1, r3
	ldr	r0, [fp, #-204]	@ float
	bl	__aeabi_fcmplt
	mov	r3, r0
	cmp	r3, #0
	bne	.L52
	b	.L17
.L52:
	ldr	r0, .L54+40
	bl	puts
	ldr	r0, .L54+28
	bl	printf
	sub	r3, fp, #228
	mov	r1, r3
	ldr	r0, .L54+32
	bl	__isoc99_scanf
.L17:
	ldr	r3, [fp, #-228]	@ float
	mov	r1, r3
	ldr	r0, [fp, #-200]	@ float
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	bne	.L21
	ldr	r3, [fp, #-228]	@ float
	mov	r1, r3
	ldr	r0, [fp, #-204]	@ float
	bl	__aeabi_fcmplt
	mov	r3, r0
	cmp	r3, #0
	bne	.L21
	ldr	r0, .L54+44
	bl	printf
	sub	r3, fp, #224
	mov	r1, r3
	ldr	r0, .L54+48
	bl	__isoc99_scanf
	b	.L22
.L23:
	ldr	r0, .L54+52
	bl	puts
	ldr	r0, .L54+44
	bl	printf
	sub	r3, fp, #224
	mov	r1, r3
	ldr	r0, .L54+48
	bl	__isoc99_scanf
.L22:
	ldr	r3, [fp, #-224]
	cmp	r3, #0
	ble	.L23
	ldr	r3, [fp, #-224]
	cmp	r3, #10
	bgt	.L23
	mov	r3, #0
	str	r3, [fp, #-212]
	b	.L24
.L37:
	ldr	r3, [fp, #-212]
	add	r3, r3, #1
	mov	r1, r3
	ldr	r0, .L54+56
	bl	printf
	ldr	r0, .L54+60
	bl	printf
	sub	r2, fp, #100
	ldr	r3, [fp, #-212]
	lsl	r3, r3, #3
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L54+64
	bl	__isoc99_scanf
	b	.L25
.L26:
	ldr	r0, .L54+68
	bl	puts
	ldr	r0, .L54+60
	bl	printf
	sub	r2, fp, #100
	ldr	r3, [fp, #-212]
	lsl	r3, r3, #3
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L54+64
	bl	__isoc99_scanf
.L25:
	ldr	r3, [fp, #-212]
	lsl	r3, r3, #3
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #96
	ldmia	r3, {r2-r3}
	sub	r1, fp, #164
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	bne	.L26
	ldr	r0, .L54+72
	bl	printf
	sub	r2, fp, #140
	ldr	r3, [fp, #-212]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L54+48
	bl	__isoc99_scanf
	b	.L27
.L28:
	ldr	r0, .L54+76
	bl	puts
	ldr	r0, .L54+72
	bl	printf
	sub	r2, fp, #140
	ldr	r3, [fp, #-212]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L54+48
	bl	__isoc99_scanf
.L27:
	ldr	r3, [fp, #-212]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-136]
	cmp	r3, #0
	ble	.L28
	ldr	r3, [fp, #-212]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-136]
	cmp	r3, #3
	bgt	.L28
	ldr	r0, .L54+80
	bl	printf
	sub	r3, fp, #216
	mov	r1, r3
	ldr	r0, .L54+84
	bl	__isoc99_scanf
	ldrb	r3, [fp, #-216]	@ zero_extendqisi2
	cmp	r3, #121
	beq	.L29
	ldrb	r3, [fp, #-216]	@ zero_extendqisi2
	cmp	r3, #110
	bne	.L30
.L29:
	mov	r3, #1
	b	.L31
.L30:
	mov	r3, #0
.L31:
	str	r3, [fp, #-208]
	b	.L32
.L36:
	ldr	r0, .L54+88
	bl	puts
	ldr	r0, .L54+80
	bl	printf
	sub	r3, fp, #216
	mov	r1, r3
	ldr	r0, .L54+84
	bl	__isoc99_scanf
	ldrb	r3, [fp, #-216]	@ zero_extendqisi2
	cmp	r3, #121
	beq	.L33
	ldrb	r3, [fp, #-216]	@ zero_extendqisi2
	cmp	r3, #110
	bne	.L34
.L33:
	mov	r3, #1
	b	.L35
.L34:
	mov	r3, #0
.L35:
	str	r3, [fp, #-208]
.L32:
	ldr	r3, [fp, #-208]
	cmp	r3, #0
	ble	.L36
	sub	r1, fp, #216
	sub	r3, fp, #20
	mov	r2, #1
	mov	r0, r3
	bl	strncat
	ldr	r3, [fp, #-212]
	add	r3, r3, #1
	str	r3, [fp, #-212]
.L24:
	ldr	r3, [fp, #-224]
	ldr	r2, [fp, #-212]
	cmp	r2, r3
	blt	.L37
	ldr	r0, .L54+92
	bl	puts
	ldr	r0, .L54+96
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-212]
	b	.L38
.L39:
	ldr	r3, [fp, #-212]
	add	r1, r3, #1
	ldr	r3, [fp, #-212]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r0, [r3, #-136]
	sub	r2, fp, #20
	ldr	r3, [fp, #-212]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	ip, r3
	ldr	r3, [fp, #-212]
	lsl	r3, r3, #3
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #96
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	mov	r3, ip
	mov	r2, r0
	ldr	r0, .L54+100
	bl	printf
	ldr	r3, [fp, #-212]
	add	r3, r3, #1
	str	r3, [fp, #-212]
.L38:
	ldr	r3, [fp, #-224]
	ldr	r2, [fp, #-212]
	cmp	r2, r3
	blt	.L39
	ldr	r2, [fp, #-224]
	sub	r3, fp, #100
	mov	r1, r2
	mov	r0, r3
	bl	sumArray
	str	r0, [fp, #-156]
	str	r1, [fp, #-152]
	ldr	r0, .L54+96
	bl	puts
	sub	r3, fp, #156
	ldmia	r3, {r2-r3}
	ldr	r0, .L54+104
	bl	printf
	ldr	r0, .L54+108
	bl	printf
	ldr	r0, .L54+112
	bl	printf
	sub	r3, fp, #220
	mov	r1, r3
	ldr	r0, .L54+48
	bl	__isoc99_scanf
	b	.L40
.L49:
	ldr	r3, [fp, #-220]
	cmp	r3, #1
	bne	.L41
	ldr	r0, .L54+116
	bl	puts
	ldr	r0, .L54+120
	bl	puts
	ldr	r2, [fp, #-224]
	sub	r3, fp, #100
	mov	r1, r2
	mov	r0, r3
	bl	sumArray
	str	r0, [fp, #-148]
	str	r1, [fp, #-144]
	ldr	r3, [fp, #-228]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #148
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	mov	r0, r3
	bl	myCeil
	str	r0, [fp, #-184]
	ldr	r3, [fp, #-184]
	ldr	r2, .L54+124
	smull	r1, r2, r3, r2
	asr	r2, r2, #1
	asr	r3, r3, #31
	sub	r3, r2, r3
	str	r3, [fp, #-180]
	ldr	r2, [fp, #-184]
	ldr	r3, .L54+124
	smull	r1, r3, r2, r3
	asr	r1, r3, #1
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #2
	sub	r3, r2, r3
	str	r3, [fp, #-176]
	ldr	r2, [fp, #-224]
	sub	r3, fp, #20
	mov	r1, r2
	mov	r0, r3
	bl	isFinanced
	mov	r3, r0
	strb	r3, [fp, #-229]
	sub	r3, fp, #148
	ldmia	r3, {r2-r3}
	ldr	r0, .L54+128
	bl	printf
	ldr	r2, [fp, #-176]
	ldr	r1, [fp, #-180]
	ldr	r0, .L54+132
	bl	printf
	ldrb	r3, [fp, #-229]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L42
	ldr	r0, .L54+136
	bl	printf
.L42:
	ldr	r0, .L54+116
	bl	puts
	b	.L43
.L41:
	ldr	r3, [fp, #-220]
	cmp	r3, #2
	bne	.L44
	ldr	r0, .L54+140
	bl	printf
	sub	r3, fp, #216
	mov	r1, r3
	ldr	r0, .L54+48
	bl	__isoc99_scanf
	ldr	r0, .L54+116
	bl	puts
	ldr	r3, [fp, #-216]
	mov	r1, r3
	ldr	r0, .L54+144
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-212]
	b	.L45
.L47:
	ldr	r3, [fp, #-212]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-136]
	ldr	r3, [fp, #-216]
	cmp	r2, r3
	bne	.L46
	ldr	r3, [fp, #-212]
	lsl	r3, r3, #3
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #96
	ldmia	r3, {r2-r3}
	sub	r1, fp, #172
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-172]
	str	r3, [fp, #-168]
.L46:
	ldr	r3, [fp, #-212]
	add	r3, r3, #1
	str	r3, [fp, #-212]
.L45:
	ldr	r3, [fp, #-224]
	ldr	r2, [fp, #-212]
	cmp	r2, r3
	blt	.L47
	ldr	r3, [fp, #-228]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #172
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	mov	r0, r3
	bl	myCeil
	str	r0, [fp, #-196]
	ldr	r3, [fp, #-196]
	ldr	r2, .L54+124
	smull	r1, r2, r3, r2
	asr	r2, r2, #1
	asr	r3, r3, #31
	sub	r3, r2, r3
	str	r3, [fp, #-192]
	ldr	r2, [fp, #-196]
	ldr	r3, .L54+124
	smull	r1, r3, r2, r3
	asr	r1, r3, #1
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #2
	sub	r3, r2, r3
	str	r3, [fp, #-188]
	ldr	r2, [fp, #-224]
	sub	r3, fp, #20
	mov	r1, r2
	mov	r0, r3
	bl	isFinanced
	mov	r3, r0
	strb	r3, [fp, #-230]
	sub	r3, fp, #172
	ldmia	r3, {r2-r3}
	ldr	r0, .L54+128
	bl	printf
	ldr	r2, [fp, #-188]
	ldr	r1, [fp, #-192]
	ldr	r0, .L54+132
	bl	printf
	ldrb	r3, [fp, #-230]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L48
	ldr	r0, .L54+136
	bl	printf
.L48:
	ldr	r0, .L54+116
	bl	puts
	b	.L43
.L44:
	ldr	r0, .L54+148
	bl	puts
.L43:
	ldr	r0, .L54+152
	bl	printf
	ldr	r0, .L54+112
	bl	printf
	sub	r3, fp, #220
	mov	r1, r3
	ldr	r0, .L54+48
	bl	__isoc99_scanf
.L40:
	ldr	r3, [fp, #-220]
	cmp	r3, #0
	bne	.L49
	ldr	r0, .L54+156
	bl	puts
	mov	r0, #0
	bl	exit
.L55:
	.align	2
.L54:
	.word	.LC35
	.word	1220759552
	.word	1140457472
	.word	1079574528
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.word	715827883
	.word	.LC27
	.word	.LC28
	.word	.LC29
	.word	.LC30
	.word	.LC31
	.word	.LC32
	.word	.LC33
	.word	.LC34
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
