	.file	"824532.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"wb"
.LC1:
	.string	"concessionaria.txt"
.LC2:
	.string	"Error"
	.align 8
.LC3:
	.string	"Digite qnt de carros para cadastro: "
.LC4:
	.string	"%d"
	.align 8
.LC5:
	.string	"\nDigite a marca do veiculo %d: "
.LC6:
	.string	"Digite a cor do veiculo: "
.LC7:
	.string	"Digite a qnt de portas: "
.LC8:
	.string	"Digite o preco do veiculo: "
.LC9:
	.string	"%f"
	.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, 848
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	fopen@PLT
	mov	QWORD PTR -824[rbp], rax
	cmp	QWORD PTR -824[rbp], 0
	jne	.L2
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L2:
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -836[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -832[rbp], 0
	jmp	.L3
.L4:
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fflush@PLT
	mov	eax, DWORD PTR -832[rbp]
	add	eax, 1
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rcx, -816[rbp]
	mov	eax, DWORD PTR -832[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	mov	rdi, rax
	mov	eax, 0
	call	gets@PLT
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rcx, -816[rbp]
	mov	eax, DWORD PTR -832[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	add	rax, 16
	add	rax, rcx
	add	rax, 4
	mov	rdi, rax
	mov	eax, 0
	call	gets@PLT
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fflush@PLT
	lea	rcx, -816[rbp]
	mov	eax, DWORD PTR -832[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	add	rax, 32
	add	rax, rcx
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rcx, -816[rbp]
	mov	eax, DWORD PTR -832[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	add	rax, 32
	add	rax, rcx
	add	rax, 4
	mov	rsi, rax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	add	DWORD PTR -832[rbp], 1
.L3:
	mov	eax, DWORD PTR -836[rbp]
	cmp	DWORD PTR -832[rbp], eax
	jl	.L4
	mov	DWORD PTR -828[rbp], 0
	jmp	.L5
.L6:
	lea	rcx, -816[rbp]
	mov	eax, DWORD PTR -828[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	lea	rdi, [rcx+rax]
	mov	rax, QWORD PTR -824[rbp]
	mov	rcx, rax
	mov	edx, 20
	mov	esi, 1
	call	fwrite@PLT
	lea	rcx, -816[rbp]
	mov	eax, DWORD PTR -828[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	add	rax, 16
	add	rax, rcx
	lea	rdi, 4[rax]
	mov	rax, QWORD PTR -824[rbp]
	mov	rcx, rax
	mov	edx, 10
	mov	esi, 1
	call	fwrite@PLT
	lea	rcx, -816[rbp]
	mov	eax, DWORD PTR -828[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	add	rax, 32
	lea	rdi, [rcx+rax]
	mov	rax, QWORD PTR -824[rbp]
	mov	rcx, rax
	mov	edx, 1
	mov	esi, 4
	call	fwrite@PLT
	lea	rcx, -816[rbp]
	mov	eax, DWORD PTR -828[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	add	rax, 32
	add	rax, rcx
	lea	rdi, 4[rax]
	mov	rax, QWORD PTR -824[rbp]
	mov	rcx, rax
	mov	edx, 1
	mov	esi, 4
	call	fwrite@PLT
	add	DWORD PTR -828[rbp], 1
.L5:
	mov	eax, DWORD PTR -836[rbp]
	cmp	DWORD PTR -828[rbp], eax
	jl	.L6
	mov	rax, QWORD PTR -824[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L8
	call	__stack_chk_fail@PLT
.L8:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.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	"824532.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"wb\000"
	.align	2
.LC1:
	.ascii	"concessionaria.txt\000"
	.align	2
.LC2:
	.ascii	"Error\000"
	.align	2
.LC3:
	.ascii	"Digite qnt de carros para cadastro: \000"
	.align	2
.LC4:
	.ascii	"%d\000"
	.align	2
.LC5:
	.ascii	"\012Digite a marca do veiculo %d: \000"
	.align	2
.LC6:
	.ascii	"Digite a cor do veiculo: \000"
	.align	2
.LC7:
	.ascii	"Digite a qnt de portas: \000"
	.align	2
.LC8:
	.ascii	"Digite o preco do veiculo: \000"
	.align	2
.LC9:
	.ascii	"%f\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 = 824
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #824
	ldr	r3, .L9
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r1, .L9+4
	ldr	r0, .L9+8
	bl	fopen
	str	r0, [fp, #-812]
	ldr	r3, [fp, #-812]
	cmp	r3, #0
	bne	.L2
	ldr	r0, .L9+12
	bl	printf
	mov	r0, #1
	bl	exit
.L2:
	ldr	r0, .L9+16
	bl	printf
	sub	r3, fp, #824
	mov	r1, r3
	ldr	r0, .L9+20
	bl	__isoc99_scanf
	mov	r3, #0
	str	r3, [fp, #-820]
	b	.L3
.L4:
	ldr	r3, .L9+24
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	ldr	r3, [fp, #-820]
	add	r3, r3, #1
	mov	r1, r3
	ldr	r0, .L9+28
	bl	printf
	sub	r1, fp, #808
	ldr	r2, [fp, #-820]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	mov	r0, r3
	bl	gets
	ldr	r0, .L9+32
	bl	printf
	sub	r1, fp, #808
	ldr	r2, [fp, #-820]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, #16
	add	r3, r1, r3
	add	r3, r3, #4
	mov	r0, r3
	bl	gets
	ldr	r0, .L9+36
	bl	printf
	ldr	r3, .L9+24
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	sub	r1, fp, #808
	ldr	r2, [fp, #-820]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, #32
	add	r3, r1, r3
	mov	r1, r3
	ldr	r0, .L9+20
	bl	__isoc99_scanf
	ldr	r0, .L9+40
	bl	printf
	sub	r1, fp, #808
	ldr	r2, [fp, #-820]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, #32
	add	r3, r1, r3
	add	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L9+44
	bl	__isoc99_scanf
	ldr	r3, [fp, #-820]
	add	r3, r3, #1
	str	r3, [fp, #-820]
.L3:
	ldr	r3, [fp, #-824]
	ldr	r2, [fp, #-820]
	cmp	r2, r3
	blt	.L4
	mov	r3, #0
	str	r3, [fp, #-816]
	b	.L5
.L6:
	sub	r1, fp, #808
	ldr	r2, [fp, #-816]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r0, r1, r3
	ldr	r3, [fp, #-812]
	mov	r2, #20
	mov	r1, #1
	bl	fwrite
	sub	r1, fp, #808
	ldr	r2, [fp, #-816]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, #16
	add	r3, r1, r3
	add	r0, r3, #4
	ldr	r3, [fp, #-812]
	mov	r2, #10
	mov	r1, #1
	bl	fwrite
	sub	r1, fp, #808
	ldr	r2, [fp, #-816]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, #32
	add	r0, r1, r3
	ldr	r3, [fp, #-812]
	mov	r2, #1
	mov	r1, #4
	bl	fwrite
	sub	r1, fp, #808
	ldr	r2, [fp, #-816]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, #32
	add	r3, r1, r3
	add	r0, r3, #4
	ldr	r3, [fp, #-812]
	mov	r2, #1
	mov	r1, #4
	bl	fwrite
	ldr	r3, [fp, #-816]
	add	r3, r3, #1
	str	r3, [fp, #-816]
.L5:
	ldr	r3, [fp, #-824]
	ldr	r2, [fp, #-816]
	cmp	r2, r3
	blt	.L6
	ldr	r0, [fp, #-812]
	bl	fclose
	mov	r3, #0
	ldr	r2, .L9
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L8
	bl	__stack_chk_fail
.L8:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L10:
	.align	2
.L9:
	.word	.LC10
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	stdin
	.word	.LC5
	.word	.LC6
	.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
