	.file	"500876.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"----MECARDINHO DO SEU ZE-----"
.LC1:
	.string	"1- Cadastro"
.LC2:
	.string	"2- Exibir"
.LC3:
	.string	"3- Venda"
.LC4:
	.string	"0- Sair"
.LC5:
	.string	"Escolha sua opcao: "
.LC6:
	.string	"%d"
	.text
	.globl	main
	.type	main, @function
main:
.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, 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
.L4:
	lea	rdi, .LC0[rip]
	call	puts@PLT
	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]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -52[rbp]
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -52[rbp]
	cmp	eax, 1
	jne	.L2
	lea	rax, -48[rbp]
	mov	rdi, rax
	call	cadastro
	jmp	.L3
.L2:
	mov	eax, DWORD PTR -52[rbp]
	cmp	eax, 2
	jne	.L3
	lea	rax, -48[rbp]
	mov	rdi, rax
	call	exibir
.L3:
	mov	eax, DWORD PTR -52[rbp]
	test	eax, eax
	jne	.L4
	mov	eax, 0
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L6
	call	__stack_chk_fail@PLT
.L6:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC7:
	.string	"------Cadastro-do-Produto-------"
.LC8:
	.string	"Codigo: "
.LC9:
	.string	"Nome: "
.LC10:
	.string	"%s"
.LC11:
	.string	"Quantidade: "
.LC12:
	.string	"Valor: "
.LC13:
	.string	"%f"
	.text
	.globl	cadastro
	.type	cadastro, @function
cadastro:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -4[rbp], 0
	jmp	.L8
.L9:
	lea	rdi, .LC7[rip]
	call	puts@PLT
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 4
	mov	rsi, rax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 24
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 28
	mov	rsi, rax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	add	DWORD PTR -4[rbp], 1
.L8:
	cmp	DWORD PTR -4[rbp], 99
	jle	.L9
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	cadastro, .-cadastro
	.section	.rodata
.LC14:
	.string	"-----Listagem-----"
.LC15:
	.string	"\nCodigo: %d,\nNome: %s,"
.LC16:
	.string	"\nQuantidade: %d \nValor: %.2f\n"
	.text
	.globl	exibir
	.type	exibir, @function
exibir:
.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	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -4[rbp], 0
	jmp	.L11
.L12:
	lea	rdi, .LC14[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 4[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -24[rbp]
	movss	xmm0, DWORD PTR 28[rax]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movq	rdx, xmm1
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 24[rax]
	movq	xmm0, rdx
	mov	esi, eax
	lea	rdi, .LC16[rip]
	mov	eax, 1
	call	printf@PLT
	add	DWORD PTR -4[rbp], 1
.L11:
	cmp	DWORD PTR -4[rbp], 99
	jle	.L12
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	exibir, .-exibir
	.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	"500876.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"----MECARDINHO DO SEU ZE-----\000"
	.align	2
.LC1:
	.ascii	"1- Cadastro\000"
	.align	2
.LC2:
	.ascii	"2- Exibir\000"
	.align	2
.LC3:
	.ascii	"3- Venda\000"
	.align	2
.LC4:
	.ascii	"0- Sair\000"
	.align	2
.LC5:
	.ascii	"Escolha sua opcao: \000"
	.align	2
.LC6:
	.ascii	"%d\000"
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	ldr	r3, .L7
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
.L4:
	ldr	r0, .L7+4
	bl	puts
	ldr	r0, .L7+8
	bl	puts
	ldr	r0, .L7+12
	bl	puts
	ldr	r0, .L7+16
	bl	puts
	ldr	r0, .L7+20
	bl	puts
	ldr	r0, .L7+24
	bl	printf
	sub	r3, fp, #44
	mov	r1, r3
	ldr	r0, .L7+28
	bl	__isoc99_scanf
	ldr	r3, [fp, #-44]
	cmp	r3, #1
	bne	.L2
	sub	r3, fp, #40
	mov	r0, r3
	bl	cadastro
	b	.L3
.L2:
	ldr	r3, [fp, #-44]
	cmp	r3, #2
	bne	.L3
	sub	r3, fp, #40
	mov	r0, r3
	bl	exibir
.L3:
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	bne	.L4
	mov	r3, #0
	ldr	r2, .L7
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L6
	bl	__stack_chk_fail
.L6:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L8:
	.align	2
.L7:
	.word	.LC7
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.size	main, .-main
	.section	.rodata
	.align	2
.LC8:
	.ascii	"------Cadastro-do-Produto-------\000"
	.align	2
.LC9:
	.ascii	"Codigo: \000"
	.align	2
.LC10:
	.ascii	"Nome: \000"
	.align	2
.LC11:
	.ascii	"%s\000"
	.align	2
.LC12:
	.ascii	"Quantidade: \000"
	.align	2
.LC13:
	.ascii	"Valor: \000"
	.align	2
.LC14:
	.ascii	"%f\000"
	.text
	.align	2
	.global	cadastro
	.syntax unified
	.arm
	.fpu softvfp
	.type	cadastro, %function
cadastro:
	@ 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]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L10
.L11:
	ldr	r0, .L12
	bl	puts
	ldr	r0, .L12+4
	bl	printf
	ldr	r3, [fp, #-16]
	mov	r1, r3
	ldr	r0, .L12+8
	bl	__isoc99_scanf
	ldr	r0, .L12+12
	bl	printf
	ldr	r3, [fp, #-16]
	add	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L12+16
	bl	__isoc99_scanf
	ldr	r0, .L12+20
	bl	printf
	ldr	r3, [fp, #-16]
	add	r3, r3, #24
	mov	r1, r3
	ldr	r0, .L12+8
	bl	__isoc99_scanf
	ldr	r0, .L12+24
	bl	printf
	ldr	r3, [fp, #-16]
	add	r3, r3, #28
	mov	r1, r3
	ldr	r0, .L12+28
	bl	__isoc99_scanf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L10:
	ldr	r3, [fp, #-8]
	cmp	r3, #99
	ble	.L11
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L13:
	.align	2
.L12:
	.word	.LC8
	.word	.LC9
	.word	.LC6
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.size	cadastro, .-cadastro
	.section	.rodata
	.align	2
.LC15:
	.ascii	"-----Listagem-----\000"
	.align	2
.LC16:
	.ascii	"\012Codigo: %d,\012Nome: %s,\000"
	.global	__aeabi_f2d
	.align	2
.LC17:
	.ascii	"\012Quantidade: %d \012Valor: %.2f\012\000"
	.text
	.align	2
	.global	exibir
	.syntax unified
	.arm
	.fpu softvfp
	.type	exibir, %function
exibir:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #20
	str	r0, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L15
.L16:
	ldr	r0, .L17
	bl	puts
	ldr	r3, [fp, #-24]
	ldr	r1, [r3]
	ldr	r3, [fp, #-24]
	add	r3, r3, #4
	mov	r2, r3
	ldr	r0, .L17+4
	bl	printf
	ldr	r3, [fp, #-24]
	ldr	r4, [r3, #24]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #28]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	mov	r1, r4
	ldr	r0, .L17+8
	bl	printf
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L15:
	ldr	r3, [fp, #-16]
	cmp	r3, #99
	ble	.L16
	nop
	nop
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L18:
	.align	2
.L17:
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.size	exibir, .-exibir
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
