	.file	"218894065.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"PRODUCT NAME: %s \nPRODUCT PRICE: %.2f\n"
.LC1:
	.string	"-------------"
	.text
	.globl	printProduct
	.type	printProduct, @function
printProduct:
.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, 16
	mov	rax, rdi
	movq	rcx, xmm0
	mov	rdx, rcx
	mov	QWORD PTR -16[rbp], rax
	mov	QWORD PTR -8[rbp], rdx
	mov	rdx, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -16[rbp]
	movq	xmm0, rdx
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 1
	call	printf@PLT
	lea	rdi, .LC1[rip]
	call	puts@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	printProduct, .-printProduct
	.section	.rodata
.LC2:
	.string	"r"
.LC3:
	.string	"mppstock.csv"
.LC4:
	.string	","
	.text
	.globl	createAndStockShop
	.type	createAndStockShop, @function
createAndStockShop:
.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, 672
	mov	QWORD PTR -664[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -640[rbp], 0
	mov	QWORD PTR -632[rbp], 0
	lea	rsi, .LC2[rip]
	lea	rdi, .LC3[rip]
	call	fopen@PLT
	mov	QWORD PTR -624[rbp], rax
	cmp	QWORD PTR -624[rbp], 0
	jne	.L3
	mov	edi, 1
	call	exit@PLT
.L3:
	mov	rdx, QWORD PTR -624[rbp]
	lea	rcx, -632[rbp]
	lea	rax, -640[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	getline@PLT
	mov	rax, QWORD PTR -640[rbp]
	mov	rdi, rax
	call	atof@PLT
	movq	rax, xmm0
	mov	QWORD PTR -616[rbp], rax
	lea	rdx, -512[rbp]
	mov	eax, 0
	mov	ecx, 62
	mov	rdi, rdx
	rep stosq
	movsd	xmm0, QWORD PTR -616[rbp]
	movsd	QWORD PTR -512[rbp], xmm0
	jmp	.L4
.L5:
	mov	rax, QWORD PTR -640[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	strtok@PLT
	mov	QWORD PTR -600[rbp], rax
	lea	rsi, .LC4[rip]
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -592[rbp], rax
	lea	rsi, .LC4[rip]
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -584[rbp], rax
	mov	rax, QWORD PTR -584[rbp]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -644[rbp], eax
	mov	rax, QWORD PTR -592[rbp]
	mov	rdi, rax
	call	atof@PLT
	movq	rax, xmm0
	mov	QWORD PTR -576[rbp], rax
	mov	edi, 50
	call	malloc@PLT
	mov	QWORD PTR -568[rbp], rax
	mov	rdx, QWORD PTR -600[rbp]
	mov	rax, QWORD PTR -568[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	rax, QWORD PTR -568[rbp]
	mov	QWORD PTR -560[rbp], rax
	movsd	xmm0, QWORD PTR -576[rbp]
	movsd	QWORD PTR -552[rbp], xmm0
	mov	rax, QWORD PTR -560[rbp]
	mov	rdx, QWORD PTR -552[rbp]
	mov	QWORD PTR -544[rbp], rax
	mov	QWORD PTR -536[rbp], rdx
	mov	eax, DWORD PTR -644[rbp]
	mov	DWORD PTR -528[rbp], eax
	mov	eax, DWORD PTR -24[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -24[rbp], edx
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rbp
	lea	rcx, -512[rax]
	mov	rax, QWORD PTR -544[rbp]
	mov	rdx, QWORD PTR -536[rbp]
	mov	QWORD PTR 8[rcx], rax
	mov	QWORD PTR 16[rcx], rdx
	mov	rax, QWORD PTR -528[rbp]
	mov	QWORD PTR 24[rcx], rax
.L4:
	mov	rdx, QWORD PTR -624[rbp]
	lea	rcx, -632[rbp]
	lea	rax, -640[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	getline@PLT
	mov	QWORD PTR -608[rbp], rax
	cmp	QWORD PTR -608[rbp], -1
	jne	.L5
	mov	rax, QWORD PTR -664[rbp]
	mov	rdi, rax
	lea	rax, -512[rbp]
	mov	edx, 62
	mov	rsi, rax
	mov	rcx, rdx
	rep movsq
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L7
	call	__stack_chk_fail@PLT
.L7:
	mov	rax, QWORD PTR -664[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	createAndStockShop, .-createAndStockShop
	.section	.rodata
.LC5:
	.string	"Shop has %.2f in cash\n"
.LC6:
	.string	"--------------------------"
.LC7:
	.string	"The shop has %d of the above\n"
	.text
	.globl	printShop
	.type	printShop, @function
printShop:
.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, 32
	mov	rax, QWORD PTR 16[rbp]
	movq	xmm0, rax
	lea	rdi, .LC5[rip]
	mov	eax, 1
	call	printf@PLT
	lea	rdi, .LC6[rip]
	call	puts@PLT
	mov	DWORD PTR -20[rbp], 0
	jmp	.L9
.L10:
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	lea	rax, 16[rax]
	add	rax, rbp
	mov	rdx, QWORD PTR 16[rax]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -16[rbp], rax
	mov	QWORD PTR -8[rbp], rdx
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rdx
	movq	xmm0, rax
	call	printProduct
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	lea	rax, 16[rax]
	add	rax, rbp
	add	rax, 24
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC6[rip]
	call	puts@PLT
	add	DWORD PTR -20[rbp], 1
.L9:
	mov	eax, DWORD PTR 504[rbp]
	cmp	DWORD PTR -20[rbp], eax
	jl	.L10
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	printShop, .-printShop
	.section	.rodata
.LC8:
	.string	"mppcustomer1.csv"
	.align 8
.LC9:
	.string	"Customer name is: %s and they have: %.2f for their budget\n%s's Shopping List\n--------------------------\n"
.LC10:
	.string	"%d %s\n"
	.text
	.globl	customerOrder1
	.type	customerOrder1, @function
customerOrder1:
.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, 432
	mov	QWORD PTR -424[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -408[rbp], 0
	mov	QWORD PTR -400[rbp], 0
	lea	rsi, .LC2[rip]
	lea	rdi, .LC8[rip]
	call	fopen@PLT
	mov	QWORD PTR -392[rbp], rax
	cmp	QWORD PTR -392[rbp], 0
	jne	.L12
	mov	edi, 1
	call	exit@PLT
.L12:
	mov	rdx, QWORD PTR -392[rbp]
	lea	rcx, -400[rbp]
	lea	rax, -408[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	getline@PLT
	mov	QWORD PTR -384[rbp], rax
	mov	rax, QWORD PTR -408[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	strtok@PLT
	mov	QWORD PTR -376[rbp], rax
	lea	rsi, .LC4[rip]
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -368[rbp], rax
	mov	edi, 50
	call	malloc@PLT
	mov	QWORD PTR -360[rbp], rax
	mov	rax, QWORD PTR -368[rbp]
	mov	rdi, rax
	call	atof@PLT
	movq	rax, xmm0
	mov	QWORD PTR -352[rbp], rax
	mov	rdx, QWORD PTR -376[rbp]
	mov	rax, QWORD PTR -360[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	lea	rdx, -272[rbp]
	mov	eax, 0
	mov	ecx, 33
	mov	rdi, rdx
	rep stosq
	mov	rax, QWORD PTR -360[rbp]
	mov	QWORD PTR -272[rbp], rax
	movsd	xmm0, QWORD PTR -352[rbp]
	movsd	QWORD PTR -264[rbp], xmm0
	mov	edi, 10
	call	putchar@PLT
	mov	rdx, QWORD PTR -360[rbp]
	mov	rcx, QWORD PTR -352[rbp]
	mov	rax, QWORD PTR -360[rbp]
	movq	xmm0, rcx
	mov	rsi, rax
	lea	rdi, .LC9[rip]
	mov	eax, 1
	call	printf@PLT
	jmp	.L13
.L14:
	mov	rax, QWORD PTR -408[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	strtok@PLT
	mov	QWORD PTR -344[rbp], rax
	lea	rsi, .LC4[rip]
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -336[rbp], rax
	mov	rax, QWORD PTR -336[rbp]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -412[rbp], eax
	mov	edi, 50
	call	malloc@PLT
	mov	QWORD PTR -328[rbp], rax
	mov	rdx, QWORD PTR -344[rbp]
	mov	rax, QWORD PTR -328[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	QWORD PTR -320[rbp], 0
	mov	QWORD PTR -312[rbp], 0
	mov	rax, QWORD PTR -328[rbp]
	mov	QWORD PTR -320[rbp], rax
	mov	rax, QWORD PTR -320[rbp]
	mov	rdx, QWORD PTR -312[rbp]
	mov	QWORD PTR -304[rbp], rax
	mov	QWORD PTR -296[rbp], rdx
	mov	eax, DWORD PTR -412[rbp]
	mov	DWORD PTR -288[rbp], eax
	mov	eax, DWORD PTR -16[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -16[rbp], edx
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rbp
	lea	rcx, -256[rax]
	mov	rax, QWORD PTR -304[rbp]
	mov	rdx, QWORD PTR -296[rbp]
	mov	QWORD PTR [rcx], rax
	mov	QWORD PTR 8[rcx], rdx
	mov	rax, QWORD PTR -288[rbp]
	mov	QWORD PTR 16[rcx], rax
	mov	rdx, QWORD PTR -328[rbp]
	mov	eax, DWORD PTR -412[rbp]
	mov	esi, eax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
.L13:
	mov	rdx, QWORD PTR -392[rbp]
	lea	rcx, -400[rbp]
	lea	rax, -408[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	getline@PLT
	mov	QWORD PTR -384[rbp], rax
	cmp	QWORD PTR -384[rbp], -1
	jne	.L14
	mov	rax, QWORD PTR -424[rbp]
	mov	rdi, rax
	lea	rax, -272[rbp]
	mov	edx, 33
	mov	rsi, rax
	mov	rcx, rdx
	rep movsq
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L16
	call	__stack_chk_fail@PLT
.L16:
	mov	rax, QWORD PTR -424[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	customerOrder1, .-customerOrder1
	.section	.rodata
.LC11:
	.string	"mppcustomer2.csv"
	.text
	.globl	customerOrder2
	.type	customerOrder2, @function
customerOrder2:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 432
	mov	QWORD PTR -424[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -408[rbp], 0
	mov	QWORD PTR -400[rbp], 0
	lea	rsi, .LC2[rip]
	lea	rdi, .LC11[rip]
	call	fopen@PLT
	mov	QWORD PTR -392[rbp], rax
	cmp	QWORD PTR -392[rbp], 0
	jne	.L18
	mov	edi, 1
	call	exit@PLT
.L18:
	mov	rdx, QWORD PTR -392[rbp]
	lea	rcx, -400[rbp]
	lea	rax, -408[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	getline@PLT
	mov	QWORD PTR -384[rbp], rax
	mov	rax, QWORD PTR -408[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	strtok@PLT
	mov	QWORD PTR -376[rbp], rax
	lea	rsi, .LC4[rip]
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -368[rbp], rax
	mov	edi, 50
	call	malloc@PLT
	mov	QWORD PTR -360[rbp], rax
	mov	rax, QWORD PTR -368[rbp]
	mov	rdi, rax
	call	atof@PLT
	movq	rax, xmm0
	mov	QWORD PTR -352[rbp], rax
	mov	rdx, QWORD PTR -376[rbp]
	mov	rax, QWORD PTR -360[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	lea	rdx, -272[rbp]
	mov	eax, 0
	mov	ecx, 33
	mov	rdi, rdx
	rep stosq
	mov	rax, QWORD PTR -360[rbp]
	mov	QWORD PTR -272[rbp], rax
	movsd	xmm0, QWORD PTR -352[rbp]
	movsd	QWORD PTR -264[rbp], xmm0
	mov	edi, 10
	call	putchar@PLT
	mov	rdx, QWORD PTR -360[rbp]
	mov	rcx, QWORD PTR -352[rbp]
	mov	rax, QWORD PTR -360[rbp]
	movq	xmm0, rcx
	mov	rsi, rax
	lea	rdi, .LC9[rip]
	mov	eax, 1
	call	printf@PLT
	jmp	.L19
.L20:
	mov	rax, QWORD PTR -408[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	strtok@PLT
	mov	QWORD PTR -344[rbp], rax
	lea	rsi, .LC4[rip]
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -336[rbp], rax
	mov	rax, QWORD PTR -336[rbp]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -412[rbp], eax
	mov	edi, 50
	call	malloc@PLT
	mov	QWORD PTR -328[rbp], rax
	mov	rdx, QWORD PTR -344[rbp]
	mov	rax, QWORD PTR -328[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	QWORD PTR -320[rbp], 0
	mov	QWORD PTR -312[rbp], 0
	mov	rax, QWORD PTR -328[rbp]
	mov	QWORD PTR -320[rbp], rax
	mov	rax, QWORD PTR -320[rbp]
	mov	rdx, QWORD PTR -312[rbp]
	mov	QWORD PTR -304[rbp], rax
	mov	QWORD PTR -296[rbp], rdx
	mov	eax, DWORD PTR -412[rbp]
	mov	DWORD PTR -288[rbp], eax
	mov	eax, DWORD PTR -16[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -16[rbp], edx
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rbp
	lea	rcx, -256[rax]
	mov	rax, QWORD PTR -304[rbp]
	mov	rdx, QWORD PTR -296[rbp]
	mov	QWORD PTR [rcx], rax
	mov	QWORD PTR 8[rcx], rdx
	mov	rax, QWORD PTR -288[rbp]
	mov	QWORD PTR 16[rcx], rax
	mov	rdx, QWORD PTR -328[rbp]
	mov	eax, DWORD PTR -412[rbp]
	mov	esi, eax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
.L19:
	mov	rdx, QWORD PTR -392[rbp]
	lea	rcx, -400[rbp]
	lea	rax, -408[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	getline@PLT
	mov	QWORD PTR -384[rbp], rax
	cmp	QWORD PTR -384[rbp], -1
	jne	.L20
	mov	rax, QWORD PTR -424[rbp]
	mov	rdi, rax
	lea	rax, -272[rbp]
	mov	edx, 33
	mov	rsi, rax
	mov	rcx, rdx
	rep movsq
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L22
	call	__stack_chk_fail@PLT
.L22:
	mov	rax, QWORD PTR -424[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	customerOrder2, .-customerOrder2
	.globl	findProductPrice
	.type	findProductPrice, @function
findProductPrice:
.LFB11:
	.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 -40[rbp], rdi
	mov	DWORD PTR -28[rbp], 0
	jmp	.L24
.L27:
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	lea	rax, 16[rax]
	add	rax, rbp
	mov	rdx, QWORD PTR 16[rax]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -16[rbp], rax
	mov	QWORD PTR -8[rbp], rdx
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR -24[rbp], rax
	mov	rdx, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L25
	movsd	xmm0, QWORD PTR -8[rbp]
	jmp	.L26
.L25:
	add	DWORD PTR -28[rbp], 1
.L24:
	mov	eax, DWORD PTR 504[rbp]
	cmp	DWORD PTR -28[rbp], eax
	jl	.L27
	movsd	xmm0, QWORD PTR .LC12[rip]
.L26:
	movq	rax, xmm0
	movq	xmm0, rax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	findProductPrice, .-findProductPrice
	.globl	main
	.type	main, @function
main:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 1056
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -512[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	createAndStockShop
	sub	rsp, 496
	mov	rax, rsp
	mov	rdi, rax
	lea	rax, -512[rbp]
	mov	edx, 62
	mov	rsi, rax
	mov	rcx, rdx
	rep movsq
	call	printShop
	add	rsp, 496
	lea	rax, -1056[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	customerOrder1
	lea	rax, -784[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	customerOrder2
	mov	eax, 0
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L30
	call	__stack_chk_fail@PLT
.L30:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC12:
	.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	"218894065.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"PRODUCT NAME: %s \012PRODUCT PRICE: %.2f\012\000"
	.align	2
.LC1:
	.ascii	"-------------\000"
	.text
	.align	2
	.global	printProduct
	.syntax unified
	.arm
	.fpu softvfp
	.type	printProduct, %function
printProduct:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	sub	ip, fp, #20
	stm	ip, {r0, r1, r2, r3}
	ldr	r1, [fp, #-20]
	sub	r3, fp, #12
	ldmia	r3, {r2-r3}
	ldr	r0, .L2
	bl	printf
	ldr	r0, .L2+4
	bl	puts
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L3:
	.align	2
.L2:
	.word	.LC0
	.word	.LC1
	.size	printProduct, .-printProduct
	.section	.rodata
	.align	2
.LC2:
	.ascii	"r\000"
	.align	2
.LC3:
	.ascii	"mppstock.csv\000"
	.align	2
.LC4:
	.ascii	",\000"
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	createAndStockShop
	.syntax unified
	.arm
	.fpu softvfp
	.type	createAndStockShop, %function
createAndStockShop:
	@ args = 0, pretend = 0, frame = 608
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #608
	str	r0, [fp, #-608]
	ldr	r3, .L10
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-600]
	mov	r3, #0
	str	r3, [fp, #-596]
	ldr	r1, .L10+4
	ldr	r0, .L10+8
	bl	fopen
	str	r0, [fp, #-592]
	ldr	r3, [fp, #-592]
	cmp	r3, #0
	bne	.L5
	mov	r0, #1
	bl	exit
.L5:
	sub	r1, fp, #596
	sub	r3, fp, #600
	ldr	r2, [fp, #-592]
	mov	r0, r3
	bl	getline
	ldr	r3, [fp, #-600]
	mov	r0, r3
	bl	atof
	str	r0, [fp, #-564]
	str	r1, [fp, #-560]
	sub	r3, fp, #508
	mov	r2, #496
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #564
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-508]
	str	r3, [fp, #-504]
	b	.L6
.L7:
	ldr	r3, [fp, #-600]
	ldr	r1, .L10+12
	mov	r0, r3
	bl	strtok
	str	r0, [fp, #-584]
	ldr	r1, .L10+12
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-580]
	ldr	r1, .L10+12
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-576]
	ldr	r0, [fp, #-576]
	bl	atoi
	str	r0, [fp, #-572]
	ldr	r0, [fp, #-580]
	bl	atof
	str	r0, [fp, #-556]
	str	r1, [fp, #-552]
	mov	r0, #50
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-568]
	ldr	r1, [fp, #-584]
	ldr	r0, [fp, #-568]
	bl	strcpy
	ldr	r3, [fp, #-568]
	str	r3, [fp, #-548]
	sub	r3, fp, #556
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-540]
	str	r3, [fp, #-536]
	sub	ip, fp, #532
	sub	r3, fp, #548
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	ldr	r3, [fp, #-572]
	str	r3, [fp, #-516]
	ldr	r2, [fp, #-20]
	add	r3, r2, #1
	str	r3, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #496
	mov	lr, r3
	sub	ip, fp, #532
	ldmia	ip!, {r0, r1, r2, r3}
	stmia	lr!, {r0, r1, r2, r3}
	ldm	ip, {r0, r1}
	stm	lr, {r0, r1}
.L6:
	sub	r1, fp, #596
	sub	r3, fp, #600
	ldr	r2, [fp, #-592]
	mov	r0, r3
	bl	getline
	str	r0, [fp, #-588]
	ldr	r3, [fp, #-588]
	cmn	r3, #1
	bne	.L7
	ldr	r3, [fp, #-608]
	mov	r0, r3
	sub	r3, fp, #508
	mov	r2, #496
	mov	r1, r3
	bl	memcpy
	ldr	r3, .L10
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L9
	bl	__stack_chk_fail
.L9:
	ldr	r0, [fp, #-608]
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L11:
	.align	2
.L10:
	.word	.LC5
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	createAndStockShop, .-createAndStockShop
	.section	.rodata
	.align	2
.LC6:
	.ascii	"Shop has %.2f in cash\012\000"
	.align	2
.LC7:
	.ascii	"--------------------------\000"
	.align	2
.LC8:
	.ascii	"The shop has %d of the above\012\000"
	.text
	.align	2
	.global	printShop
	.syntax unified
	.arm
	.fpu softvfp
	.type	printShop, %function
printShop:
	@ args = 496, pretend = 16, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	sub	sp, sp, #16
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	add	ip, fp, #4
	stm	ip, {r0, r1, r2, r3}
	ldmib	fp, {r2-r3}
	ldr	r0, .L15
	bl	printf
	ldr	r0, .L15+4
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L13
.L14:
	ldr	r2, [fp, #-24]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r2, fp, #4
	add	r3, r2, r3
	add	r3, r3, #8
	sub	ip, fp, #20
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	sub	r3, fp, #20
	ldm	r3, {r0, r1, r2, r3}
	bl	printProduct
	ldr	r3, [fp, #-24]
	add	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L15+8
	bl	printf
	ldr	r0, .L15+4
	bl	puts
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L13:
	ldr	r3, [fp, #492]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	blt	.L14
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, lr}
	add	sp, sp, #16
	bx	lr
.L16:
	.align	2
.L15:
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.size	printShop, .-printShop
	.section	.rodata
	.align	2
.LC9:
	.ascii	"mppcustomer1.csv\000"
	.align	2
.LC10:
	.ascii	"Customer name is: %s and they have: %.2f for their "
	.ascii	"budget\012%s's Shopping List\012-------------------"
	.ascii	"-------\012\000"
	.align	2
.LC11:
	.ascii	"%d %s\012\000"
	.align	2
.LC12:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	customerOrder1
	.syntax unified
	.arm
	.fpu softvfp
	.type	customerOrder1, %function
customerOrder1:
	@ args = 0, pretend = 0, frame = 376
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #384
	str	r0, [fp, #-376]
	ldr	r3, .L23
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-368]
	mov	r3, #0
	str	r3, [fp, #-364]
	ldr	r1, .L23+4
	ldr	r0, .L23+8
	bl	fopen
	str	r0, [fp, #-360]
	ldr	r3, [fp, #-360]
	cmp	r3, #0
	bne	.L18
	mov	r0, #1
	bl	exit
.L18:
	sub	r1, fp, #364
	sub	r3, fp, #368
	ldr	r2, [fp, #-360]
	mov	r0, r3
	bl	getline
	str	r0, [fp, #-356]
	ldr	r3, [fp, #-368]
	ldr	r1, .L23+12
	mov	r0, r3
	bl	strtok
	str	r0, [fp, #-352]
	ldr	r1, .L23+12
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-348]
	mov	r0, #50
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-344]
	ldr	r0, [fp, #-348]
	bl	atof
	str	r0, [fp, #-324]
	str	r1, [fp, #-320]
	ldr	r1, [fp, #-352]
	ldr	r0, [fp, #-344]
	bl	strcpy
	sub	r3, fp, #276
	mov	r2, #264
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r3, [fp, #-344]
	str	r3, [fp, #-276]
	sub	r3, fp, #324
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-268]
	str	r3, [fp, #-264]
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-344]
	str	r3, [sp]
	sub	r3, fp, #324
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #-344]
	ldr	r0, .L23+16
	bl	printf
	b	.L19
.L20:
	ldr	r3, [fp, #-368]
	ldr	r1, .L23+12
	mov	r0, r3
	bl	strtok
	str	r0, [fp, #-340]
	ldr	r1, .L23+12
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-336]
	ldr	r0, [fp, #-336]
	bl	atoi
	str	r0, [fp, #-332]
	mov	r0, #50
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-328]
	ldr	r1, [fp, #-340]
	ldr	r0, [fp, #-328]
	bl	strcpy
	sub	r3, fp, #316
	mov	r2, #0
	str	r2, [r3]
	str	r2, [r3, #4]
	str	r2, [r3, #8]
	str	r2, [r3, #12]
	ldr	r3, [fp, #-328]
	str	r3, [fp, #-316]
	sub	ip, fp, #300
	sub	r3, fp, #316
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	ldr	r3, [fp, #-332]
	str	r3, [fp, #-284]
	ldr	r2, [fp, #-20]
	add	r3, r2, #1
	str	r3, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #256
	mov	lr, r3
	sub	ip, fp, #300
	ldmia	ip!, {r0, r1, r2, r3}
	stmia	lr!, {r0, r1, r2, r3}
	ldm	ip, {r0, r1}
	stm	lr, {r0, r1}
	ldr	r2, [fp, #-328]
	ldr	r1, [fp, #-332]
	ldr	r0, .L23+20
	bl	printf
.L19:
	sub	r1, fp, #364
	sub	r3, fp, #368
	ldr	r2, [fp, #-360]
	mov	r0, r3
	bl	getline
	str	r0, [fp, #-356]
	ldr	r3, [fp, #-356]
	cmn	r3, #1
	bne	.L20
	ldr	r3, [fp, #-376]
	mov	r0, r3
	sub	r3, fp, #276
	mov	r2, #264
	mov	r1, r3
	bl	memcpy
	ldr	r3, .L23
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L22
	bl	__stack_chk_fail
.L22:
	ldr	r0, [fp, #-376]
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L24:
	.align	2
.L23:
	.word	.LC12
	.word	.LC2
	.word	.LC9
	.word	.LC4
	.word	.LC10
	.word	.LC11
	.size	customerOrder1, .-customerOrder1
	.section	.rodata
	.align	2
.LC13:
	.ascii	"mppcustomer2.csv\000"
	.align	2
.LC14:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	customerOrder2
	.syntax unified
	.arm
	.fpu softvfp
	.type	customerOrder2, %function
customerOrder2:
	@ args = 0, pretend = 0, frame = 376
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #384
	str	r0, [fp, #-376]
	ldr	r3, .L31
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-368]
	mov	r3, #0
	str	r3, [fp, #-364]
	ldr	r1, .L31+4
	ldr	r0, .L31+8
	bl	fopen
	str	r0, [fp, #-360]
	ldr	r3, [fp, #-360]
	cmp	r3, #0
	bne	.L26
	mov	r0, #1
	bl	exit
.L26:
	sub	r1, fp, #364
	sub	r3, fp, #368
	ldr	r2, [fp, #-360]
	mov	r0, r3
	bl	getline
	str	r0, [fp, #-356]
	ldr	r3, [fp, #-368]
	ldr	r1, .L31+12
	mov	r0, r3
	bl	strtok
	str	r0, [fp, #-352]
	ldr	r1, .L31+12
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-348]
	mov	r0, #50
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-344]
	ldr	r0, [fp, #-348]
	bl	atof
	str	r0, [fp, #-324]
	str	r1, [fp, #-320]
	ldr	r1, [fp, #-352]
	ldr	r0, [fp, #-344]
	bl	strcpy
	sub	r3, fp, #276
	mov	r2, #264
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r3, [fp, #-344]
	str	r3, [fp, #-276]
	sub	r3, fp, #324
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-268]
	str	r3, [fp, #-264]
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-344]
	str	r3, [sp]
	sub	r3, fp, #324
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #-344]
	ldr	r0, .L31+16
	bl	printf
	b	.L27
.L28:
	ldr	r3, [fp, #-368]
	ldr	r1, .L31+12
	mov	r0, r3
	bl	strtok
	str	r0, [fp, #-340]
	ldr	r1, .L31+12
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-336]
	ldr	r0, [fp, #-336]
	bl	atoi
	str	r0, [fp, #-332]
	mov	r0, #50
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-328]
	ldr	r1, [fp, #-340]
	ldr	r0, [fp, #-328]
	bl	strcpy
	sub	r3, fp, #316
	mov	r2, #0
	str	r2, [r3]
	str	r2, [r3, #4]
	str	r2, [r3, #8]
	str	r2, [r3, #12]
	ldr	r3, [fp, #-328]
	str	r3, [fp, #-316]
	sub	ip, fp, #300
	sub	r3, fp, #316
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	ldr	r3, [fp, #-332]
	str	r3, [fp, #-284]
	ldr	r2, [fp, #-20]
	add	r3, r2, #1
	str	r3, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #256
	mov	lr, r3
	sub	ip, fp, #300
	ldmia	ip!, {r0, r1, r2, r3}
	stmia	lr!, {r0, r1, r2, r3}
	ldm	ip, {r0, r1}
	stm	lr, {r0, r1}
	ldr	r2, [fp, #-328]
	ldr	r1, [fp, #-332]
	ldr	r0, .L31+20
	bl	printf
.L27:
	sub	r1, fp, #364
	sub	r3, fp, #368
	ldr	r2, [fp, #-360]
	mov	r0, r3
	bl	getline
	str	r0, [fp, #-356]
	ldr	r3, [fp, #-356]
	cmn	r3, #1
	bne	.L28
	ldr	r3, [fp, #-376]
	mov	r0, r3
	sub	r3, fp, #276
	mov	r2, #264
	mov	r1, r3
	bl	memcpy
	ldr	r3, .L31
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L30
	bl	__stack_chk_fail
.L30:
	ldr	r0, [fp, #-376]
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L32:
	.align	2
.L31:
	.word	.LC14
	.word	.LC2
	.word	.LC13
	.word	.LC4
	.word	.LC10
	.word	.LC11
	.size	customerOrder2, .-customerOrder2
	.align	2
	.global	findProductPrice
	.syntax unified
	.arm
	.fpu softvfp
	.type	findProductPrice, %function
findProductPrice:
	@ args = 500, pretend = 16, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	sub	sp, sp, #16
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	add	ip, fp, #4
	stm	ip, {r0, r1, r2, r3}
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L34
.L37:
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r2, fp, #4
	add	r3, r2, r3
	add	r3, r3, #8
	sub	ip, fp, #20
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-24]
	ldr	r1, [fp, #500]
	ldr	r0, [fp, #-24]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L35
	sub	r3, fp, #12
	ldmia	r3, {r2-r3}
	b	.L36
.L35:
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L34:
	ldr	r3, [fp, #492]
	ldr	r2, [fp, #-28]
	cmp	r2, r3
	blt	.L37
	mov	r2, #0
	ldr	r3, .L38
.L36:
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, lr}
	add	sp, sp, #16
	bx	lr
.L39:
	.align	2
.L38:
	.word	-1074790400
	.size	findProductPrice, .-findProductPrice
	.section	.rodata
	.align	2
.LC15:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 1032
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1504
	sub	sp, sp, #8
	ldr	r3, .L43
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #508
	mov	r0, r3
	bl	createAndStockShop
	mov	r0, sp
	sub	r3, fp, #492
	mov	r2, #480
	mov	r1, r3
	bl	memcpy
	sub	r3, fp, #508
	ldm	r3, {r0, r1, r2, r3}
	bl	printShop
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #8
	mov	r0, r3
	bl	customerOrder1
	sub	r3, fp, #772
	mov	r0, r3
	bl	customerOrder2
	mov	r3, #0
	ldr	r2, .L43
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L42
	bl	__stack_chk_fail
.L42:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L44:
	.align	2
.L43:
	.word	.LC15
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
