	.file	"783926.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"\n"
	.align 8
.LC1:
	.string	"\nData de Nascimento: %d / %d / %d "
.LC2:
	.string	"\nIdade: %d \n"
	.align 8
.LC3:
	.string	"\nDados Invahlido! Tente novamente!"
	.text
	.globl	print
	.type	print, @function
print:
.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, 48
	mov	rax, rdx
	mov	rdx, rcx
	mov	QWORD PTR -32[rbp], rdi
	mov	DWORD PTR -24[rbp], esi
	mov	QWORD PTR -48[rbp], rax
	mov	eax, DWORD PTR -40[rbp]
	and	eax, 0
	or	eax, edx
	mov	DWORD PTR -40[rbp], eax
	mov	edx, DWORD PTR -24[rbp]
	mov	eax, DWORD PTR -40[rbp]
	mov	esi, edx
	mov	edi, eax
	mov	eax, 0
	call	idade
	mov	DWORD PTR -12[rbp], eax
	mov	rdx, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -24[rbp]
	mov	rdi, rdx
	mov	esi, eax
	mov	eax, 0
	call	validacao
	mov	DWORD PTR -8[rbp], eax
	mov	rdx, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR -40[rbp]
	mov	rdi, rdx
	mov	esi, eax
	mov	eax, 0
	call	validacao
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -8[rbp], 0
	je	.L2
	cmp	DWORD PTR -4[rbp], 0
	je	.L2
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	ecx, DWORD PTR -40[rbp]
	mov	edx, DWORD PTR -44[rbp]
	mov	eax, DWORD PTR -48[rbp]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -12[rbp]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L3
.L2:
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	nop
.L3:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	print, .-print
	.globl	idade
	.type	idade, @function
idade:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -4[rbp], edi
	mov	DWORD PTR -8[rbp], esi
	mov	eax, DWORD PTR -8[rbp]
	sub	eax, DWORD PTR -4[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	idade, .-idade
	.globl	validacao
	.type	validacao, @function
validacao:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	rdx, rdi
	mov	eax, esi
	mov	QWORD PTR -16[rbp], rdx
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -16[rbp]
	test	eax, eax
	jle	.L7
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, 31
	jle	.L8
.L7:
	mov	eax, 0
	jmp	.L9
.L8:
	mov	eax, DWORD PTR -12[rbp]
	test	eax, eax
	jle	.L10
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, 12
	jle	.L11
.L10:
	mov	eax, 0
	jmp	.L9
.L11:
	mov	eax, DWORD PTR -8[rbp]
	test	eax, eax
	jle	.L12
	mov	eax, DWORD PTR -8[rbp]
	cmp	eax, 2018
	jle	.L13
.L12:
	mov	eax, 0
	jmp	.L9
.L13:
	mov	eax, 1
.L9:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	validacao, .-validacao
	.section	.rodata
	.align 8
.LC4:
	.string	"\nInsira  a data atual (dia mes e ano): "
.LC5:
	.string	"%d%d%d"
	.align 8
.LC6:
	.string	"\nInsira  a data do seu nascimento (dia mes e ano): "
	.text
	.globl	main
	.type	main, @function
main:
.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, 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -32[rbp]
	lea	rcx, 8[rax]
	lea	rax, -32[rbp]
	lea	rdx, 4[rax]
	lea	rax, -32[rbp]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -20[rbp]
	lea	rcx, 8[rax]
	lea	rax, -20[rbp]
	lea	rdx, 4[rax]
	lea	rax, -20[rbp]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rax, QWORD PTR -20[rbp]
	mov	ecx, DWORD PTR -12[rbp]
	mov	rdx, rcx
	mov	rdi, QWORD PTR -32[rbp]
	mov	esi, DWORD PTR -24[rbp]
	mov	rcx, rdx
	mov	rdx, rax
	call	print
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L16
	call	__stack_chk_fail@PLT
.L16:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.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	"783926.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\012\000"
	.align	2
.LC1:
	.ascii	"\012Data de Nascimento: %d / %d / %d \000"
	.align	2
.LC2:
	.ascii	"\012Idade: %d \012\000"
	.align	2
.LC3:
	.ascii	"\012Dados Invahlido! Tente novamente!\000"
	.text
	.align	2
	.global	print
	.syntax unified
	.arm
	.fpu softvfp
	.type	print, %function
print:
	@ args = 16, pretend = 8, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	sub	sp, sp, #8
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	sub	ip, fp, #32
	stm	ip, {r0, r1, r2}
	str	r3, [fp, #8]
	ldr	r3, [fp, #16]
	ldr	r2, [fp, #-24]
	mov	r1, r2
	mov	r0, r3
	bl	idade
	str	r0, [fp, #-16]
	sub	r3, fp, #32
	ldm	r3, {r0, r1, r2}
	bl	validacao
	str	r0, [fp, #-12]
	add	r3, fp, #8
	ldm	r3, {r0, r1, r2}
	bl	validacao
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L2
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L2
	ldr	r0, .L4
	bl	puts
	ldr	r1, [fp, #8]
	ldr	r2, [fp, #12]
	ldr	r3, [fp, #16]
	ldr	r0, .L4+4
	bl	printf
	ldr	r1, [fp, #-16]
	ldr	r0, .L4+8
	bl	printf
	b	.L3
.L2:
	ldr	r0, .L4+12
	bl	printf
	nop
.L3:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, lr}
	add	sp, sp, #8
	bx	lr
.L5:
	.align	2
.L4:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	print, .-print
	.align	2
	.global	idade
	.syntax unified
	.arm
	.fpu softvfp
	.type	idade, %function
idade:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-8]
	sub	r3, r2, r3
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	idade, .-idade
	.align	2
	.global	validacao
	.syntax unified
	.arm
	.fpu softvfp
	.type	validacao, %function
validacao:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	sub	r3, fp, #16
	stm	r3, {r0, r1, r2}
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	ble	.L9
	ldr	r3, [fp, #-16]
	cmp	r3, #31
	ble	.L10
.L9:
	mov	r3, #0
	b	.L11
.L10:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	ble	.L12
	ldr	r3, [fp, #-12]
	cmp	r3, #12
	ble	.L13
.L12:
	mov	r3, #0
	b	.L11
.L13:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	ble	.L14
	ldr	r3, [fp, #-8]
	ldr	r2, .L16
	cmp	r3, r2
	ble	.L15
.L14:
	mov	r3, #0
	b	.L11
.L15:
	mov	r3, #1
.L11:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L17:
	.align	2
.L16:
	.word	2018
	.size	validacao, .-validacao
	.section	.rodata
	.align	2
.LC4:
	.ascii	"\012Insira  a data atual (dia mes e ano): \000"
	.align	2
.LC5:
	.ascii	"%d%d%d\000"
	.align	2
.LC6:
	.ascii	"\012Insira  a data do seu nascimento (dia mes e ano"
	.ascii	"): \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 = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	ldr	r3, .L21
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L21+4
	bl	printf
	sub	r3, fp, #32
	add	r0, r3, #8
	sub	r3, fp, #32
	add	r2, r3, #4
	sub	r1, fp, #32
	mov	r3, r0
	ldr	r0, .L21+8
	bl	__isoc99_scanf
	ldr	r0, .L21+12
	bl	printf
	sub	r3, fp, #20
	add	r0, r3, #8
	sub	r3, fp, #20
	add	r2, r3, #4
	sub	r1, fp, #20
	mov	r3, r0
	ldr	r0, .L21+8
	bl	__isoc99_scanf
	mov	r2, sp
	sub	r3, fp, #16
	ldm	r3, {r0, r1}
	stm	r2, {r0, r1}
	ldr	r3, [fp, #-20]
	sub	r2, fp, #32
	ldm	r2, {r0, r1, r2}
	bl	print
	mov	r3, #0
	ldr	r2, .L21
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L20
	bl	__stack_chk_fail
.L20:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L22:
	.align	2
.L21:
	.word	.LC7
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
