	.file	"4084.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"\n\n  Prima [ENTER] para continuar . . . "
	.text
	.globl	quit
	.type	quit, @function
quit:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fflush@PLT
	call	getchar@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	quit, .-quit
	.section	.rodata
	.align 8
.LC1:
	.string	"\n  ---------------------\n  MARATONA DE ATLETISMO\n  ---------------------\n\n  Nome > "
.LC2:
	.string	"%s"
.LC3:
	.string	"\n  Idade > "
.LC4:
	.string	"%d"
	.align 8
.LC5:
	.string	"\n  ---------------------\n  ERRO > Apenas podem participar atletas com 16 ou mais anos!"
.LC6:
	.string	"\n  Sexo (M/F) > "
.LC7:
	.string	" %c"
.LC8:
	.string	"\n  Federado (S/N) > "
.LC9:
	.string	"    Codigo > "
.LC10:
	.string	"\n  Lugar > "
	.align 8
.LC11:
	.string	"\n  ---------------------\n\n  RESULTADO > "
.LC12:
	.string	"A atleta %s"
	.align 8
.LC13:
	.string	", federada com o codigo %s,\n             "
	.align 8
.LC14:
	.string	" terminou em %do lugar no escalao "
.LC15:
	.string	"Cadetes/Juniores"
.LC16:
	.string	"Sub23/Elite"
.LC17:
	.string	"Master"
.LC18:
	.string	"O atleta %s"
	.align 8
.LC19:
	.string	", federado com o codigo %s,\n             "
.LC20:
	.string	"Sub23"
.LC21:
	.string	"Elite"
.LC22:
	.string	"Master 30"
.LC23:
	.string	"Master 40"
.LC24:
	.string	"Master 50"
.LC25:
	.string	"Master 60"
	.align 8
.LC26:
	.string	",\n              conquistando uma MEDALHA DE OURO!"
	.align 8
.LC27:
	.string	",\n              conquistando uma MEDALHA DE PRATA!"
	.align 8
.LC28:
	.string	",\n              conquistando uma MEDALHA DE BRONZE!"
	.align 8
.LC29:
	.string	",\n              nao conquistando nenhuma medalha!"
.LC30:
	.string	"\n\n  ---------------------"
	.text
	.globl	main
	.type	main, @function
main:
.LFB1:
	.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
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -23[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -48[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -48[rbp]
	cmp	eax, 15
	jg	.L3
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L4
.L3:
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -50[rbp]
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -49[rbp]
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	movzx	eax, BYTE PTR -49[rbp]
	cmp	al, 83
	je	.L5
	movzx	eax, BYTE PTR -49[rbp]
	cmp	al, 115
	jne	.L6
.L5:
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -38[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
.L6:
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -44[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	movzx	eax, BYTE PTR -50[rbp]
	movsx	eax, al
	cmp	eax, 109
	je	.L7
	cmp	eax, 109
	jg	.L8
	cmp	eax, 102
	je	.L9
	cmp	eax, 102
	jg	.L8
	cmp	eax, 70
	je	.L9
	cmp	eax, 77
	je	.L7
	jmp	.L8
.L9:
	lea	rax, -23[rbp]
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	movzx	eax, BYTE PTR -49[rbp]
	cmp	al, 83
	je	.L10
	movzx	eax, BYTE PTR -49[rbp]
	cmp	al, 115
	jne	.L11
.L10:
	lea	rax, -38[rbp]
	mov	rsi, rax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
.L11:
	mov	eax, DWORD PTR -44[rbp]
	mov	esi, eax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -48[rbp]
	cmp	eax, 15
	jle	.L12
	mov	eax, DWORD PTR -48[rbp]
	cmp	eax, 18
	jg	.L12
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L13
.L12:
	mov	eax, DWORD PTR -48[rbp]
	cmp	eax, 18
	jle	.L14
	mov	eax, DWORD PTR -48[rbp]
	cmp	eax, 28
	jg	.L14
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L13
.L14:
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L8
.L13:
	jmp	.L8
.L7:
	lea	rax, -23[rbp]
	mov	rsi, rax
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
	movzx	eax, BYTE PTR -49[rbp]
	cmp	al, 83
	je	.L15
	movzx	eax, BYTE PTR -49[rbp]
	cmp	al, 115
	jne	.L16
.L15:
	lea	rax, -38[rbp]
	mov	rsi, rax
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
.L16:
	mov	eax, DWORD PTR -44[rbp]
	mov	esi, eax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -48[rbp]
	cmp	eax, 15
	jle	.L17
	mov	eax, DWORD PTR -48[rbp]
	cmp	eax, 18
	jg	.L17
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L18
.L17:
	mov	eax, DWORD PTR -48[rbp]
	cmp	eax, 18
	jle	.L19
	mov	eax, DWORD PTR -48[rbp]
	cmp	eax, 22
	jg	.L19
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L18
.L19:
	mov	eax, DWORD PTR -48[rbp]
	cmp	eax, 22
	jle	.L20
	mov	eax, DWORD PTR -48[rbp]
	cmp	eax, 29
	jg	.L20
	lea	rdi, .LC21[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L18
.L20:
	mov	eax, DWORD PTR -48[rbp]
	cmp	eax, 29
	jle	.L21
	mov	eax, DWORD PTR -48[rbp]
	cmp	eax, 39
	jg	.L21
	lea	rdi, .LC22[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L18
.L21:
	mov	eax, DWORD PTR -48[rbp]
	cmp	eax, 39
	jle	.L22
	mov	eax, DWORD PTR -48[rbp]
	cmp	eax, 49
	jg	.L22
	lea	rdi, .LC23[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L18
.L22:
	mov	eax, DWORD PTR -48[rbp]
	cmp	eax, 49
	jle	.L23
	mov	eax, DWORD PTR -48[rbp]
	cmp	eax, 59
	jg	.L23
	lea	rdi, .LC24[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L18
.L23:
	lea	rdi, .LC25[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L29
.L18:
.L29:
	nop
.L8:
	mov	eax, DWORD PTR -44[rbp]
	cmp	eax, 3
	je	.L24
	cmp	eax, 3
	jg	.L25
	cmp	eax, 1
	je	.L26
	cmp	eax, 2
	je	.L27
	jmp	.L25
.L26:
	lea	rdi, .LC26[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L4
.L27:
	lea	rdi, .LC27[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L4
.L24:
	lea	rdi, .LC28[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L4
.L25:
	lea	rdi, .LC29[rip]
	mov	eax, 0
	call	printf@PLT
	nop
.L4:
	lea	rdi, .LC30[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	call	quit
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L28
	call	__stack_chk_fail@PLT
.L28:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.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	"4084.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\012\012  Prima [ENTER] para continuar . . . \000"
	.text
	.align	2
	.global	quit
	.syntax unified
	.arm
	.fpu softvfp
	.type	quit, %function
quit:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L2
	bl	printf
	ldr	r3, .L2+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	bl	getchar
	nop
	pop	{fp, pc}
.L3:
	.align	2
.L2:
	.word	.LC0
	.word	stdin
	.size	quit, .-quit
	.section	.rodata
	.align	2
.LC1:
	.ascii	"\012  ---------------------\012  MARATONA DE ATLETI"
	.ascii	"SMO\012  ---------------------\012\012  Nome > \000"
	.align	2
.LC2:
	.ascii	"%s\000"
	.align	2
.LC3:
	.ascii	"\012  Idade > \000"
	.align	2
.LC4:
	.ascii	"%d\000"
	.align	2
.LC5:
	.ascii	"\012  ---------------------\012  ERRO > Apenas pode"
	.ascii	"m participar atletas com 16 ou mais anos!\000"
	.align	2
.LC6:
	.ascii	"\012  Sexo (M/F) > \000"
	.align	2
.LC7:
	.ascii	" %c\000"
	.align	2
.LC8:
	.ascii	"\012  Federado (S/N) > \000"
	.align	2
.LC9:
	.ascii	"    Codigo > \000"
	.align	2
.LC10:
	.ascii	"\012  Lugar > \000"
	.align	2
.LC11:
	.ascii	"\012  ---------------------\012\012  RESULTADO > \000"
	.align	2
.LC12:
	.ascii	"A atleta %s\000"
	.align	2
.LC13:
	.ascii	", federada com o codigo %s,\012             \000"
	.align	2
.LC14:
	.ascii	" terminou em %do lugar no escalao \000"
	.align	2
.LC15:
	.ascii	"Cadetes/Juniores\000"
	.align	2
.LC16:
	.ascii	"Sub23/Elite\000"
	.align	2
.LC17:
	.ascii	"Master\000"
	.align	2
.LC18:
	.ascii	"O atleta %s\000"
	.align	2
.LC19:
	.ascii	", federado com o codigo %s,\012             \000"
	.align	2
.LC20:
	.ascii	"Sub23\000"
	.align	2
.LC21:
	.ascii	"Elite\000"
	.align	2
.LC22:
	.ascii	"Master 30\000"
	.align	2
.LC23:
	.ascii	"Master 40\000"
	.align	2
.LC24:
	.ascii	"Master 50\000"
	.align	2
.LC25:
	.ascii	"Master 60\000"
	.align	2
.LC26:
	.ascii	",\012              conquistando uma MEDALHA DE OURO"
	.ascii	"!\000"
	.align	2
.LC27:
	.ascii	",\012              conquistando uma MEDALHA DE PRAT"
	.ascii	"A!\000"
	.align	2
.LC28:
	.ascii	",\012              conquistando uma MEDALHA DE BRON"
	.ascii	"ZE!\000"
	.align	2
.LC29:
	.ascii	",\012              nao conquistando nenhuma medalha"
	.ascii	"!\000"
	.align	2
.LC30:
	.ascii	"\012\012  ---------------------\000"
	.align	2
.LC31:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	ldr	r3, .L32
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L32+4
	bl	printf
	sub	r3, fp, #24
	mov	r1, r3
	ldr	r0, .L32+8
	bl	__isoc99_scanf
	ldr	r0, .L32+12
	bl	printf
	sub	r3, fp, #48
	mov	r1, r3
	ldr	r0, .L32+16
	bl	__isoc99_scanf
	ldr	r3, [fp, #-48]
	cmp	r3, #15
	bgt	.L5
	ldr	r0, .L32+20
	bl	printf
	b	.L6
.L5:
	ldr	r0, .L32+24
	bl	printf
	sub	r3, fp, #50
	mov	r1, r3
	ldr	r0, .L32+28
	bl	__isoc99_scanf
	ldr	r0, .L32+32
	bl	printf
	sub	r3, fp, #49
	mov	r1, r3
	ldr	r0, .L32+28
	bl	__isoc99_scanf
	ldrb	r3, [fp, #-49]	@ zero_extendqisi2
	cmp	r3, #83
	beq	.L7
	ldrb	r3, [fp, #-49]	@ zero_extendqisi2
	cmp	r3, #115
	bne	.L8
.L7:
	ldr	r0, .L32+36
	bl	printf
	sub	r3, fp, #40
	mov	r1, r3
	ldr	r0, .L32+8
	bl	__isoc99_scanf
.L8:
	ldr	r0, .L32+40
	bl	printf
	sub	r3, fp, #44
	mov	r1, r3
	ldr	r0, .L32+16
	bl	__isoc99_scanf
	ldr	r0, .L32+44
	bl	printf
	ldrb	r3, [fp, #-50]	@ zero_extendqisi2
	cmp	r3, #109
	beq	.L9
	cmp	r3, #109
	bgt	.L10
	cmp	r3, #102
	beq	.L11
	cmp	r3, #102
	bgt	.L10
	cmp	r3, #70
	beq	.L11
	cmp	r3, #77
	beq	.L9
	b	.L10
.L11:
	sub	r3, fp, #24
	mov	r1, r3
	ldr	r0, .L32+48
	bl	printf
	ldrb	r3, [fp, #-49]	@ zero_extendqisi2
	cmp	r3, #83
	beq	.L12
	ldrb	r3, [fp, #-49]	@ zero_extendqisi2
	cmp	r3, #115
	bne	.L13
.L12:
	sub	r3, fp, #40
	mov	r1, r3
	ldr	r0, .L32+52
	bl	printf
.L13:
	ldr	r3, [fp, #-44]
	mov	r1, r3
	ldr	r0, .L32+56
	bl	printf
	ldr	r3, [fp, #-48]
	cmp	r3, #15
	ble	.L14
	ldr	r3, [fp, #-48]
	cmp	r3, #18
	bgt	.L14
	ldr	r0, .L32+60
	bl	printf
	b	.L15
.L14:
	ldr	r3, [fp, #-48]
	cmp	r3, #18
	ble	.L16
	ldr	r3, [fp, #-48]
	cmp	r3, #28
	bgt	.L16
	ldr	r0, .L32+64
	bl	printf
	b	.L15
.L16:
	ldr	r0, .L32+68
	bl	printf
	b	.L10
.L15:
	b	.L10
.L9:
	sub	r3, fp, #24
	mov	r1, r3
	ldr	r0, .L32+72
	bl	printf
	ldrb	r3, [fp, #-49]	@ zero_extendqisi2
	cmp	r3, #83
	beq	.L17
	ldrb	r3, [fp, #-49]	@ zero_extendqisi2
	cmp	r3, #115
	bne	.L18
.L17:
	sub	r3, fp, #40
	mov	r1, r3
	ldr	r0, .L32+76
	bl	printf
.L18:
	ldr	r3, [fp, #-44]
	mov	r1, r3
	ldr	r0, .L32+56
	bl	printf
	ldr	r3, [fp, #-48]
	cmp	r3, #15
	ble	.L19
	ldr	r3, [fp, #-48]
	cmp	r3, #18
	bgt	.L19
	ldr	r0, .L32+60
	bl	printf
	b	.L20
.L19:
	ldr	r3, [fp, #-48]
	cmp	r3, #18
	ble	.L21
	ldr	r3, [fp, #-48]
	cmp	r3, #22
	bgt	.L21
	ldr	r0, .L32+80
	bl	printf
	b	.L20
.L21:
	ldr	r3, [fp, #-48]
	cmp	r3, #22
	ble	.L22
	ldr	r3, [fp, #-48]
	cmp	r3, #29
	bgt	.L22
	ldr	r0, .L32+84
	bl	printf
	b	.L20
.L22:
	ldr	r3, [fp, #-48]
	cmp	r3, #29
	ble	.L23
	ldr	r3, [fp, #-48]
	cmp	r3, #39
	bgt	.L23
	ldr	r0, .L32+88
	bl	printf
	b	.L20
.L23:
	ldr	r3, [fp, #-48]
	cmp	r3, #39
	ble	.L24
	ldr	r3, [fp, #-48]
	cmp	r3, #49
	bgt	.L24
	ldr	r0, .L32+92
	bl	printf
	b	.L20
.L24:
	ldr	r3, [fp, #-48]
	cmp	r3, #49
	ble	.L25
	ldr	r3, [fp, #-48]
	cmp	r3, #59
	bgt	.L25
	ldr	r0, .L32+96
	bl	printf
	b	.L20
.L25:
	ldr	r0, .L32+100
	bl	printf
	b	.L31
.L20:
.L31:
	nop
.L10:
	ldr	r3, [fp, #-44]
	cmp	r3, #3
	beq	.L26
	cmp	r3, #3
	bgt	.L27
	cmp	r3, #1
	beq	.L28
	cmp	r3, #2
	beq	.L29
	b	.L27
.L28:
	ldr	r0, .L32+104
	bl	printf
	b	.L6
.L29:
	ldr	r0, .L32+108
	bl	printf
	b	.L6
.L26:
	ldr	r0, .L32+112
	bl	printf
	b	.L6
.L27:
	ldr	r0, .L32+116
	bl	printf
	nop
.L6:
	ldr	r0, .L32+120
	bl	printf
	bl	quit
	nop
	ldr	r3, .L32
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L30
	bl	__stack_chk_fail
.L30:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L33:
	.align	2
.L32:
	.word	.LC31
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.word	.LC27
	.word	.LC28
	.word	.LC29
	.word	.LC30
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
