	.file	"24346.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"Ola, diga a palavra (use letras maiusculas) que voce deseja advinhar"
.LC1:
	.string	"%s"
.LC2:
	.string	"%c "
	.align 8
.LC3:
	.string	"Voce tem 3 chances de acertar as letras"
.LC4:
	.string	"Diga uma letra"
.LC5:
	.string	"%c"
	.align 8
.LC6:
	.string	"Voce tem %i chances de 3 chances\n"
	.align 8
.LC7:
	.string	"Parabens, voce ganhou a palavra era %s"
	.align 8
.LC8:
	.string	"Infelizmente voce perdeu o jogo, a palavra era %s"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.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
	mov	DWORD PTR -88[rbp], 0
	lea	rdi, .LC0[rip]
	call	puts@PLT
	lea	rax, -64[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	call	getchar@PLT
	mov	DWORD PTR -84[rbp], 0
	jmp	.L2
.L4:
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	movzx	eax, BYTE PTR -64[rbp+rax]
	cmp	al, 64
	jle	.L3
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	movzx	eax, BYTE PTR -64[rbp+rax]
	cmp	al, 90
	jg	.L3
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	mov	BYTE PTR -32[rbp+rax], 95
.L3:
	add	DWORD PTR -84[rbp], 1
.L2:
	cmp	DWORD PTR -84[rbp], 20
	jle	.L4
	mov	DWORD PTR -80[rbp], 0
	jmp	.L5
.L6:
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	movzx	eax, BYTE PTR -32[rbp+rax]
	movsx	eax, al
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -80[rbp], 1
.L5:
	cmp	DWORD PTR -80[rbp], 20
	jle	.L6
	lea	rdi, .LC3[rip]
	call	puts@PLT
	jmp	.L7
.L17:
	mov	DWORD PTR -76[rbp], 1
	lea	rdi, .LC4[rip]
	call	puts@PLT
	lea	rax, -89[rbp]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	call	getchar@PLT
	mov	DWORD PTR -72[rbp], 0
	jmp	.L8
.L10:
	mov	eax, DWORD PTR -72[rbp]
	cdqe
	movzx	edx, BYTE PTR -64[rbp+rax]
	movzx	eax, BYTE PTR -89[rbp]
	cmp	dl, al
	jne	.L9
	movzx	edx, BYTE PTR -89[rbp]
	mov	eax, DWORD PTR -72[rbp]
	cdqe
	mov	BYTE PTR -32[rbp+rax], dl
	mov	DWORD PTR -76[rbp], 0
.L9:
	add	DWORD PTR -72[rbp], 1
.L8:
	cmp	DWORD PTR -72[rbp], 20
	jle	.L10
	cmp	DWORD PTR -76[rbp], 1
	jne	.L11
	add	DWORD PTR -88[rbp], 1
.L11:
	mov	DWORD PTR -76[rbp], 0
	mov	DWORD PTR -68[rbp], 0
	jmp	.L12
.L14:
	mov	eax, DWORD PTR -68[rbp]
	cdqe
	movzx	eax, BYTE PTR -32[rbp+rax]
	movsx	eax, al
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -68[rbp]
	cdqe
	movzx	eax, BYTE PTR -32[rbp+rax]
	cmp	al, 95
	jne	.L13
	mov	DWORD PTR -76[rbp], 1
.L13:
	add	DWORD PTR -68[rbp], 1
.L12:
	cmp	DWORD PTR -68[rbp], 20
	jle	.L14
	cmp	DWORD PTR -76[rbp], 0
	jne	.L15
	mov	DWORD PTR -88[rbp], 0
	jmp	.L16
.L15:
	mov	eax, 3
	sub	eax, DWORD PTR -88[rbp]
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
.L7:
	cmp	DWORD PTR -88[rbp], 2
	jle	.L17
.L16:
	cmp	DWORD PTR -88[rbp], 0
	jne	.L18
	lea	rax, -64[rbp]
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L19
.L18:
	lea	rax, -64[rbp]
	mov	rsi, rax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
.L19:
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L21
	call	__stack_chk_fail@PLT
.L21:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.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	"24346.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Ola, diga a palavra (use letras maiusculas) que voc"
	.ascii	"e deseja advinhar\000"
	.align	2
.LC1:
	.ascii	"%s\000"
	.align	2
.LC2:
	.ascii	"%c \000"
	.align	2
.LC3:
	.ascii	"Voce tem 3 chances de acertar as letras\000"
	.align	2
.LC4:
	.ascii	"Diga uma letra\000"
	.align	2
.LC5:
	.ascii	"%c\000"
	.align	2
.LC6:
	.ascii	"Voce tem %i chances de 3 chances\012\000"
	.align	2
.LC7:
	.ascii	"Parabens, voce ganhou a palavra era %s\000"
	.align	2
.LC8:
	.ascii	"Infelizmente voce perdeu o jogo, a palavra era %s\000"
	.align	2
.LC9:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 80
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #80
	ldr	r3, .L22
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-80]
	ldr	r0, .L22+4
	bl	puts
	sub	r3, fp, #56
	mov	r1, r3
	ldr	r0, .L22+8
	bl	__isoc99_scanf
	bl	getchar
	mov	r3, #0
	str	r3, [fp, #-76]
	b	.L2
.L4:
	sub	r2, fp, #56
	ldr	r3, [fp, #-76]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #64
	bls	.L3
	sub	r2, fp, #56
	ldr	r3, [fp, #-76]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #90
	bhi	.L3
	sub	r2, fp, #32
	ldr	r3, [fp, #-76]
	add	r3, r2, r3
	mov	r2, #95
	strb	r2, [r3]
.L3:
	ldr	r3, [fp, #-76]
	add	r3, r3, #1
	str	r3, [fp, #-76]
.L2:
	ldr	r3, [fp, #-76]
	cmp	r3, #20
	ble	.L4
	mov	r3, #0
	str	r3, [fp, #-72]
	b	.L5
.L6:
	sub	r2, fp, #32
	ldr	r3, [fp, #-72]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L22+12
	bl	printf
	ldr	r3, [fp, #-72]
	add	r3, r3, #1
	str	r3, [fp, #-72]
.L5:
	ldr	r3, [fp, #-72]
	cmp	r3, #20
	ble	.L6
	ldr	r0, .L22+16
	bl	puts
	b	.L7
.L17:
	mov	r3, #1
	str	r3, [fp, #-68]
	ldr	r0, .L22+20
	bl	puts
	sub	r3, fp, #81
	mov	r1, r3
	ldr	r0, .L22+24
	bl	__isoc99_scanf
	bl	getchar
	mov	r3, #0
	str	r3, [fp, #-64]
	b	.L8
.L10:
	sub	r2, fp, #56
	ldr	r3, [fp, #-64]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldrb	r3, [fp, #-81]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L9
	ldrb	r1, [fp, #-81]	@ zero_extendqisi2
	sub	r2, fp, #32
	ldr	r3, [fp, #-64]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-68]
.L9:
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
.L8:
	ldr	r3, [fp, #-64]
	cmp	r3, #20
	ble	.L10
	ldr	r3, [fp, #-68]
	cmp	r3, #1
	bne	.L11
	ldr	r3, [fp, #-80]
	add	r3, r3, #1
	str	r3, [fp, #-80]
.L11:
	mov	r3, #0
	str	r3, [fp, #-68]
	mov	r3, #0
	str	r3, [fp, #-60]
	b	.L12
.L14:
	sub	r2, fp, #32
	ldr	r3, [fp, #-60]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L22+12
	bl	printf
	sub	r2, fp, #32
	ldr	r3, [fp, #-60]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #95
	bne	.L13
	mov	r3, #1
	str	r3, [fp, #-68]
.L13:
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
.L12:
	ldr	r3, [fp, #-60]
	cmp	r3, #20
	ble	.L14
	ldr	r3, [fp, #-68]
	cmp	r3, #0
	bne	.L15
	mov	r3, #0
	str	r3, [fp, #-80]
	b	.L16
.L15:
	ldr	r3, [fp, #-80]
	rsb	r3, r3, #3
	mov	r1, r3
	ldr	r0, .L22+28
	bl	printf
.L7:
	ldr	r3, [fp, #-80]
	cmp	r3, #2
	ble	.L17
.L16:
	ldr	r3, [fp, #-80]
	cmp	r3, #0
	bne	.L18
	sub	r3, fp, #56
	mov	r1, r3
	ldr	r0, .L22+32
	bl	printf
	b	.L19
.L18:
	sub	r3, fp, #56
	mov	r1, r3
	ldr	r0, .L22+36
	bl	printf
.L19:
	mov	r3, #0
	ldr	r2, .L22
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L21
	bl	__stack_chk_fail
.L21:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L23:
	.align	2
.L22:
	.word	.LC9
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
