	.file	"879183.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC1:
	.string	"\nProdutos: "
	.align 8
.LC2:
	.string	"\n| C\303\263digo | Item   |     Pre\303\247o |"
	.align 8
.LC3:
	.string	"| 1      | Feij\303\243o |   R$ 2,00 |"
	.align 8
.LC4:
	.string	"| 2      | Arroz  |   R$ 1,50 |"
	.align 8
.LC5:
	.string	"| 3      | Carne  |  R$ 10,00 |"
	.align 8
.LC6:
	.string	"| 4      | Tomate |   R$ 3,00 |"
	.align 8
.LC7:
	.string	"| 5      | Cebola |   R$ 2,50 |"
	.align 8
.LC8:
	.string	"\nDigite o produto que deseja adicionar a compra: "
.LC9:
	.string	"%i"
.LC15:
	.string	"Opcao incorreta!"
	.align 8
.LC16:
	.string	"Deseja adicionar mais algum produto a compra (s ou n)? "
.LC17:
	.string	"%c"
	.align 8
.LC18:
	.string	"O valor total a ser pago eh de R$ %.2f.\n"
	.align 8
.LC19:
	.string	"\nDeseja fechar o caixa (s ou n)? "
	.align 8
.LC20:
	.string	"O total arrecadado no dia foi de R$ %.2f."
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.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 fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	BYTE PTR -22[rbp], 110
	mov	BYTE PTR -21[rbp], 115
	pxor	xmm0, xmm0
	movss	DWORD PTR -16[rbp], xmm0
	jmp	.L2
.L13:
	pxor	xmm0, xmm0
	movss	DWORD PTR -12[rbp], xmm0
	jmp	.L3
.L12:
	lea	rdi, .LC1[rip]
	call	puts@PLT
	lea	rdi, .LC2[rip]
	call	puts@PLT
	lea	rdi, .LC3[rip]
	call	puts@PLT
	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]
	call	puts@PLT
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -20[rbp]
	mov	rsi, rax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	call	getchar@PLT
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, 5
	ja	.L4
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L6[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L6[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L6:
	.long	.L4-.L6
	.long	.L10-.L6
	.long	.L9-.L6
	.long	.L8-.L6
	.long	.L7-.L6
	.long	.L5-.L6
	.text
.L10:
	movss	xmm1, DWORD PTR -12[rbp]
	movss	xmm0, DWORD PTR .LC10[rip]
	addss	xmm0, xmm1
	movss	DWORD PTR -12[rbp], xmm0
	jmp	.L11
.L9:
	movss	xmm1, DWORD PTR -12[rbp]
	movss	xmm0, DWORD PTR .LC11[rip]
	addss	xmm0, xmm1
	movss	DWORD PTR -12[rbp], xmm0
	jmp	.L11
.L8:
	movss	xmm1, DWORD PTR -12[rbp]
	movss	xmm0, DWORD PTR .LC12[rip]
	addss	xmm0, xmm1
	movss	DWORD PTR -12[rbp], xmm0
	jmp	.L11
.L7:
	movss	xmm1, DWORD PTR -12[rbp]
	movss	xmm0, DWORD PTR .LC13[rip]
	addss	xmm0, xmm1
	movss	DWORD PTR -12[rbp], xmm0
	jmp	.L11
.L5:
	movss	xmm1, DWORD PTR -12[rbp]
	movss	xmm0, DWORD PTR .LC14[rip]
	addss	xmm0, xmm1
	movss	DWORD PTR -12[rbp], xmm0
	jmp	.L11
.L4:
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	nop
.L11:
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -21[rbp]
	mov	rsi, rax
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	call	getchar@PLT
.L3:
	movzx	eax, BYTE PTR -21[rbp]
	cmp	al, 110
	jne	.L12
	mov	BYTE PTR -21[rbp], 115
	movss	xmm0, DWORD PTR -16[rbp]
	addss	xmm0, DWORD PTR -12[rbp]
	movss	DWORD PTR -16[rbp], xmm0
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, DWORD PTR -12[rbp]
	movq	rax, xmm2
	movq	xmm0, rax
	lea	rdi, .LC18[rip]
	mov	eax, 1
	call	printf@PLT
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -22[rbp]
	mov	rsi, rax
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	call	getchar@PLT
.L2:
	movzx	eax, BYTE PTR -22[rbp]
	cmp	al, 115
	jne	.L13
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, DWORD PTR -16[rbp]
	movq	rax, xmm3
	movq	xmm0, rax
	lea	rdi, .LC20[rip]
	mov	eax, 1
	call	printf@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L15
	call	__stack_chk_fail@PLT
.L15:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
	.align 4
.LC10:
	.long	1073741824
	.align 4
.LC11:
	.long	1069547520
	.align 4
.LC12:
	.long	1092616192
	.align 4
.LC13:
	.long	1077936128
	.align 4
.LC14:
	.long	1075838976
	.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	"879183.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\012Produtos: \000"
	.align	2
.LC1:
	.ascii	"\012| C\303\263digo | Item   |     Pre\303\247o |\000"
	.align	2
.LC2:
	.ascii	"| 1      | Feij\303\243o |   R$ 2,00 |\000"
	.align	2
.LC3:
	.ascii	"| 2      | Arroz  |   R$ 1,50 |\000"
	.align	2
.LC4:
	.ascii	"| 3      | Carne  |  R$ 10,00 |\000"
	.align	2
.LC5:
	.ascii	"| 4      | Tomate |   R$ 3,00 |\000"
	.align	2
.LC6:
	.ascii	"| 5      | Cebola |   R$ 2,50 |\000"
	.align	2
.LC7:
	.ascii	"\012Digite o produto que deseja adicionar a compra:"
	.ascii	" \000"
	.align	2
.LC8:
	.ascii	"%i\000"
	.global	__aeabi_fadd
	.align	2
.LC9:
	.ascii	"Opcao incorreta!\000"
	.align	2
.LC10:
	.ascii	"Deseja adicionar mais algum produto a compra (s ou "
	.ascii	"n)? \000"
	.align	2
.LC11:
	.ascii	"%c\000"
	.global	__aeabi_f2d
	.align	2
.LC12:
	.ascii	"O valor total a ser pago eh de R$ %.2f.\012\000"
	.align	2
.LC13:
	.ascii	"\012Deseja fechar o caixa (s ou n)? \000"
	.align	2
.LC14:
	.ascii	"O total arrecadado no dia foi de R$ %.2f.\000"
	.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 = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	ldr	r3, .L16
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #110
	strb	r3, [fp, #-22]
	mov	r3, #115
	strb	r3, [fp, #-21]
	mov	r3, #0
	str	r3, [fp, #-16]	@ float
	b	.L2
.L13:
	mov	r3, #0
	str	r3, [fp, #-12]	@ float
	b	.L3
.L12:
	ldr	r0, .L16+4
	bl	puts
	ldr	r0, .L16+8
	bl	puts
	ldr	r0, .L16+12
	bl	puts
	ldr	r0, .L16+16
	bl	puts
	ldr	r0, .L16+20
	bl	puts
	ldr	r0, .L16+24
	bl	puts
	ldr	r0, .L16+28
	bl	puts
	ldr	r0, .L16+32
	bl	printf
	sub	r3, fp, #20
	mov	r1, r3
	ldr	r0, .L16+36
	bl	__isoc99_scanf
	bl	getchar
	ldr	r3, [fp, #-20]
	sub	r3, r3, #1
	cmp	r3, #4
	ldrls	pc, [pc, r3, asl #2]
	b	.L4
.L6:
	.word	.L10
	.word	.L9
	.word	.L8
	.word	.L7
	.word	.L5
.L10:
	mov	r1, #1073741824
	ldr	r0, [fp, #-12]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-12]	@ float
	b	.L11
.L9:
	mov	r1, #1069547520
	ldr	r0, [fp, #-12]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-12]	@ float
	b	.L11
.L8:
	ldr	r1, .L16+40
	ldr	r0, [fp, #-12]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-12]	@ float
	b	.L11
.L7:
	ldr	r1, .L16+44
	ldr	r0, [fp, #-12]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-12]	@ float
	b	.L11
.L5:
	ldr	r1, .L16+48
	ldr	r0, [fp, #-12]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-12]	@ float
	b	.L11
.L4:
	ldr	r0, .L16+52
	bl	printf
	nop
.L11:
	ldr	r0, .L16+56
	bl	printf
	sub	r3, fp, #21
	mov	r1, r3
	ldr	r0, .L16+60
	bl	__isoc99_scanf
	bl	getchar
.L3:
	ldrb	r3, [fp, #-21]	@ zero_extendqisi2
	cmp	r3, #110
	bne	.L12
	mov	r3, #115
	strb	r3, [fp, #-21]
	ldr	r1, [fp, #-12]	@ float
	ldr	r0, [fp, #-16]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-16]	@ float
	ldr	r0, [fp, #-12]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L16+64
	bl	printf
	ldr	r0, .L16+68
	bl	printf
	sub	r3, fp, #22
	mov	r1, r3
	ldr	r0, .L16+60
	bl	__isoc99_scanf
	bl	getchar
.L2:
	ldrb	r3, [fp, #-22]	@ zero_extendqisi2
	cmp	r3, #115
	bne	.L13
	ldr	r0, [fp, #-16]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L16+72
	bl	printf
	mov	r3, #0
	ldr	r2, .L16
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L15
	bl	__stack_chk_fail
.L15:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L17:
	.align	2
.L16:
	.word	.LC15
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	1092616192
	.word	1077936128
	.word	1075838976
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
