	.file	"7656.c"
	.intel_syntax noprefix
	.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, 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -96[rbp]
	mov	rdi, rax
	call	LeDados
	lea	rax, -96[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	AlteraRegistro
	push	QWORD PTR -24[rbp]
	push	QWORD PTR -32[rbp]
	push	QWORD PTR -40[rbp]
	push	QWORD PTR -48[rbp]
	push	QWORD PTR -56[rbp]
	push	QWORD PTR -64[rbp]
	push	QWORD PTR -72[rbp]
	push	QWORD PTR -80[rbp]
	push	QWORD PTR -88[rbp]
	push	QWORD PTR -96[rbp]
	call	ImprimeDados
	add	rsp, 80
	mov	eax, 0
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L3
	call	__stack_chk_fail@PLT
.L3:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
.LC0:
	.string	"Chevrolet"
	.text
	.globl	AlteraRegistro
	.type	AlteraRegistro, @function
AlteraRegistro:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	eax, 1999
	jg	.L5
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR [rax], 2000
.L5:
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 48
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L7
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 48
	mov	WORD PTR [rax], 19783
	mov	BYTE PTR 2[rax], 0
.L7:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	AlteraRegistro, .-AlteraRegistro
	.section	.rodata
.LC1:
	.string	"Digite o ano do carro: "
.LC2:
	.string	"%d"
.LC3:
	.string	"\nDigite o modelo do carro: "
.LC4:
	.string	"\nDigite a cor do carro: "
	.align 8
.LC5:
	.string	"\nDigite o nome da fabricante desse carro: "
.LC6:
	.string	"\nDigite o preco do carro: "
.LC7:
	.string	"%f"
	.text
	.globl	LeDados
	.type	LeDados, @function
LeDados:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fflush@PLT
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR stdin[rip]
	mov	rdx, QWORD PTR -8[rbp]
	lea	rcx, 18[rdx]
	mov	rdx, rax
	mov	esi, 30
	mov	rdi, rcx
	call	fgets@PLT
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fflush@PLT
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR stdin[rip]
	mov	rdx, QWORD PTR -8[rbp]
	lea	rcx, 8[rdx]
	mov	rdx, rax
	mov	esi, 10
	mov	rdi, rcx
	call	fgets@PLT
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fflush@PLT
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR stdin[rip]
	mov	rdx, QWORD PTR -8[rbp]
	lea	rcx, 48[rdx]
	mov	rdx, rax
	mov	esi, 30
	mov	rdi, rcx
	call	fgets@PLT
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fflush@PLT
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 4
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fflush@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	LeDados, .-LeDados
	.section	.rodata
.LC8:
	.string	"\nCarro: %d "
.LC9:
	.string	"\nModelo: %s "
.LC10:
	.string	"\nCor: %s "
.LC11:
	.string	"\nFabricante: %s "
.LC12:
	.string	"\nPreco: R$ %.2f "
	.text
	.globl	ImprimeDados
	.type	ImprimeDados, @function
ImprimeDados:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, DWORD PTR 16[rbp]
	mov	esi, eax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, 34[rbp]
	mov	rsi, rax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, 24[rbp]
	mov	rsi, rax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, 64[rbp]
	mov	rsi, rax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	movss	xmm0, DWORD PTR 20[rbp]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	lea	rdi, .LC12[rip]
	mov	eax, 1
	call	printf@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	ImprimeDados, .-ImprimeDados
	.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	"7656.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 88
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #152
	ldr	r3, .L4
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #88
	mov	r0, r3
	bl	LeDados
	sub	r3, fp, #88
	mov	r0, r3
	bl	AlteraRegistro
	mov	lr, sp
	sub	ip, fp, #72
	ldmia	ip!, {r0, r1, r2, r3}
	stmia	lr!, {r0, r1, r2, r3}
	ldmia	ip!, {r0, r1, r2, r3}
	stmia	lr!, {r0, r1, r2, r3}
	ldmia	ip!, {r0, r1, r2, r3}
	stmia	lr!, {r0, r1, r2, r3}
	ldm	ip, {r0, r1, r2, r3}
	stm	lr, {r0, r1, r2, r3}
	sub	r3, fp, #88
	ldm	r3, {r0, r1, r2, r3}
	bl	ImprimeDados
	mov	r3, #0
	ldr	r2, .L4
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L3
	bl	__stack_chk_fail
.L3:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L5:
	.align	2
.L4:
	.word	.LC0
	.size	main, .-main
	.section	.rodata
	.align	2
.LC1:
	.ascii	"Chevrolet\000"
	.align	2
.LC2:
	.ascii	"GM\000"
	.text
	.align	2
	.global	AlteraRegistro
	.syntax unified
	.arm
	.fpu softvfp
	.type	AlteraRegistro, %function
AlteraRegistro:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	cmp	r3, #2000
	bge	.L7
	ldr	r3, [fp, #-8]
	mov	r2, #2000
	str	r2, [r3]
.L7:
	ldr	r3, [fp, #-8]
	add	r3, r3, #48
	ldr	r1, .L10
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L9
	ldr	r3, [fp, #-8]
	add	r3, r3, #48
	ldr	r2, .L10+4
	mov	r0, r3
	mov	r1, r2
	mov	r3, #3
	mov	r2, r3
	bl	memcpy
.L9:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L11:
	.align	2
.L10:
	.word	.LC1
	.word	.LC2
	.size	AlteraRegistro, .-AlteraRegistro
	.section	.rodata
	.align	2
.LC3:
	.ascii	"Digite o ano do carro: \000"
	.align	2
.LC4:
	.ascii	"%d\000"
	.align	2
.LC5:
	.ascii	"\012Digite o modelo do carro: \000"
	.align	2
.LC6:
	.ascii	"\012Digite a cor do carro: \000"
	.align	2
.LC7:
	.ascii	"\012Digite o nome da fabricante desse carro: \000"
	.align	2
.LC8:
	.ascii	"\012Digite o preco do carro: \000"
	.align	2
.LC9:
	.ascii	"%f\000"
	.text
	.align	2
	.global	LeDados
	.syntax unified
	.arm
	.fpu softvfp
	.type	LeDados, %function
LeDados:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r0, .L13
	bl	printf
	ldr	r3, [fp, #-8]
	mov	r1, r3
	ldr	r0, .L13+4
	bl	__isoc99_scanf
	ldr	r3, .L13+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	ldr	r0, .L13+12
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #18
	ldr	r2, .L13+8
	ldr	r2, [r2]
	mov	r1, #30
	mov	r0, r3
	bl	fgets
	ldr	r3, .L13+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	ldr	r0, .L13+16
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #8
	ldr	r2, .L13+8
	ldr	r2, [r2]
	mov	r1, #10
	mov	r0, r3
	bl	fgets
	ldr	r3, .L13+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	ldr	r0, .L13+20
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #48
	ldr	r2, .L13+8
	ldr	r2, [r2]
	mov	r1, #30
	mov	r0, r3
	bl	fgets
	ldr	r3, .L13+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	ldr	r0, .L13+24
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L13+28
	bl	__isoc99_scanf
	ldr	r3, .L13+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L14:
	.align	2
.L13:
	.word	.LC3
	.word	.LC4
	.word	stdin
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.size	LeDados, .-LeDados
	.section	.rodata
	.align	2
.LC10:
	.ascii	"\012Carro: %d \000"
	.align	2
.LC11:
	.ascii	"\012Modelo: %s \000"
	.align	2
.LC12:
	.ascii	"\012Cor: %s \000"
	.align	2
.LC13:
	.ascii	"\012Fabricante: %s \000"
	.global	__aeabi_f2d
	.align	2
.LC14:
	.ascii	"\012Preco: R$ %.2f \000"
	.text
	.align	2
	.global	ImprimeDados
	.syntax unified
	.arm
	.fpu softvfp
	.type	ImprimeDados, %function
ImprimeDados:
	@ args = 80, pretend = 16, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	sub	sp, sp, #16
	push	{fp, lr}
	add	fp, sp, #4
	add	ip, fp, #4
	stm	ip, {r0, r1, r2, r3}
	ldr	r3, [fp, #4]
	mov	r1, r3
	ldr	r0, .L16
	bl	printf
	add	r3, fp, #22
	mov	r1, r3
	ldr	r0, .L16+4
	bl	printf
	add	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L16+8
	bl	printf
	add	r3, fp, #52
	mov	r1, r3
	ldr	r0, .L16+12
	bl	printf
	ldr	r3, [fp, #8]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L16+16
	bl	printf
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, lr}
	add	sp, sp, #16
	bx	lr
.L17:
	.align	2
.L16:
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.size	ImprimeDados, .-ImprimeDados
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
