	.file	"591423.c"
	.intel_syntax noprefix
	.text
	.globl	palavras
	.section	.rodata
.LC0:
	.string	"absolutismo"
.LC1:
	.string	"totalitarismo"
.LC2:
	.string	"inconstitucionalista"
.LC3:
	.string	"oba"
.LC4:
	.string	"oca"
.LC5:
	.string	"asa"
.LC6:
	.string	"aba"
.LC7:
	.string	"tab"
.LC8:
	.string	"ola"
.LC9:
	.string	"ada"
	.section	.data.rel.local,"aw"
	.align 32
	.type	palavras, @object
	.size	palavras, 80
palavras:
	.quad	.LC0
	.quad	.LC1
	.quad	.LC2
	.quad	.LC3
	.quad	.LC4
	.quad	.LC5
	.quad	.LC6
	.quad	.LC7
	.quad	.LC8
	.quad	.LC9
	.globl	nb_palavras
	.data
	.align 4
	.type	nb_palavras, @object
	.size	nb_palavras, 4
nb_palavras:
	.long	10
	.globl	MAX_CHUTES
	.section	.rodata
	.align 4
	.type	MAX_CHUTES, @object
	.size	MAX_CHUTES, 4
MAX_CHUTES:
	.long	6
.LC10:
	.string	"Adivinhe a palavra: %s\n"
.LC11:
	.string	"Chute uma letra: "
.LC12:
	.string	"%c"
.LC13:
	.string	"%c jah foi chutada\n"
.LC14:
	.string	"'%c' nao aparece na palavra\n"
.LC15:
	.string	"Parabens!"
.LC16:
	.string	"Voce foi enforcado"
	.text
	.globl	forca
	.type	forca, @function
forca:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 264
	.cfi_offset 3, -24
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	call	rand@PLT
	mov	ecx, DWORD PTR nb_palavras[rip]
	cdq
	idiv	ecx
	mov	eax, edx
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, palavras[rip]
	mov	rcx, QWORD PTR [rdx+rax]
	lea	rax, -208[rbp]
	mov	edx, 32
	mov	rsi, rcx
	mov	rdi, rax
	call	strncpy@PLT
	mov	DWORD PTR -264[rbp], 0
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -264[rbp]
	add	eax, eax
	cdqe
	mov	BYTE PTR -176[rbp+rax], 95
	mov	eax, DWORD PTR -264[rbp]
	add	eax, eax
	add	eax, 1
	cdqe
	mov	BYTE PTR -176[rbp+rax], 32
	add	DWORD PTR -264[rbp], 1
.L2:
	mov	eax, DWORD PTR -264[rbp]
	movsx	rbx, eax
	lea	rax, -208[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rbx, rax
	jb	.L3
	mov	eax, DWORD PTR -264[rbp]
	add	eax, eax
	cdqe
	mov	BYTE PTR -176[rbp+rax], 0
	lea	rax, -176[rbp]
	mov	rsi, rax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -260[rbp], 0
	mov	DWORD PTR -256[rbp], 0
	mov	BYTE PTR -240[rbp], 0
	jmp	.L4
.L12:
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -265[rbp]
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rdx, QWORD PTR stdin[rip]
	lea	rax, -112[rbp]
	mov	esi, 80
	mov	rdi, rax
	call	fgets@PLT
	movzx	eax, BYTE PTR -265[rbp]
	movsx	edx, al
	lea	rax, -240[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	index@PLT
	test	rax, rax
	je	.L5
	movzx	eax, BYTE PTR -265[rbp]
	movsx	eax, al
	mov	esi, eax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L4
.L5:
	lea	rax, -240[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -264[rbp], eax
	movzx	edx, BYTE PTR -265[rbp]
	mov	eax, DWORD PTR -264[rbp]
	cdqe
	mov	BYTE PTR -240[rbp+rax], dl
	mov	eax, DWORD PTR -264[rbp]
	add	eax, 1
	cdqe
	mov	BYTE PTR -240[rbp+rax], 0
	mov	DWORD PTR -252[rbp], 0
	lea	rax, -208[rbp]
	mov	QWORD PTR -248[rbp], rax
	jmp	.L6
.L7:
	lea	rdx, -208[rbp]
	mov	rax, QWORD PTR -248[rbp]
	sub	rax, rdx
	mov	DWORD PTR -264[rbp], eax
	mov	eax, DWORD PTR -264[rbp]
	add	eax, eax
	movzx	edx, BYTE PTR -265[rbp]
	cdqe
	mov	BYTE PTR -176[rbp+rax], dl
	add	DWORD PTR -256[rbp], 1
	mov	DWORD PTR -252[rbp], 1
	add	QWORD PTR -248[rbp], 1
.L6:
	movzx	eax, BYTE PTR -265[rbp]
	movsx	edx, al
	mov	rax, QWORD PTR -248[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	index@PLT
	mov	QWORD PTR -248[rbp], rax
	cmp	QWORD PTR -248[rbp], 0
	jne	.L7
	cmp	DWORD PTR -252[rbp], 0
	jne	.L8
	add	DWORD PTR -260[rbp], 1
	movzx	eax, BYTE PTR -265[rbp]
	movsx	eax, al
	mov	esi, eax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L9
.L8:
	lea	rax, -176[rbp]
	mov	rdi, rax
	call	puts@PLT
.L9:
	mov	eax, DWORD PTR -256[rbp]
	movsx	rbx, eax
	lea	rax, -208[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rbx, rax
	je	.L16
.L4:
	mov	eax, 6
	cmp	DWORD PTR -260[rbp], eax
	jl	.L12
	jmp	.L11
.L16:
	nop
.L11:
	mov	eax, DWORD PTR -256[rbp]
	movsx	rbx, eax
	lea	rax, -208[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rbx, rax
	jne	.L13
	lea	rdi, .LC15[rip]
	call	puts@PLT
	jmp	.L17
.L13:
	lea	rdi, .LC16[rip]
	call	puts@PLT
.L17:
	nop
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L15
	call	__stack_chk_fail@PLT
.L15:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	forca, .-forca
	.section	.rodata
.LC17:
	.string	"sizeof palavras = %d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	edi, 0
	call	time@PLT
	mov	edi, eax
	call	srand@PLT
	mov	eax, DWORD PTR nb_palavras[rip]
	mov	esi, eax
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	printf@PLT
	call	forca
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.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	"591423.c"
	.text
	.global	palavras
	.section	.rodata
	.align	2
.LC0:
	.ascii	"absolutismo\000"
	.align	2
.LC1:
	.ascii	"totalitarismo\000"
	.align	2
.LC2:
	.ascii	"inconstitucionalista\000"
	.align	2
.LC3:
	.ascii	"oba\000"
	.align	2
.LC4:
	.ascii	"oca\000"
	.align	2
.LC5:
	.ascii	"asa\000"
	.align	2
.LC6:
	.ascii	"aba\000"
	.align	2
.LC7:
	.ascii	"tab\000"
	.align	2
.LC8:
	.ascii	"ola\000"
	.align	2
.LC9:
	.ascii	"ada\000"
	.data
	.align	2
	.type	palavras, %object
	.size	palavras, 40
palavras:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.global	nb_palavras
	.align	2
	.type	nb_palavras, %object
	.size	nb_palavras, 4
nb_palavras:
	.word	10
	.global	MAX_CHUTES
	.section	.rodata
	.align	2
	.type	MAX_CHUTES, %object
	.size	MAX_CHUTES, 4
MAX_CHUTES:
	.word	6
	.global	__aeabi_idivmod
	.align	2
.LC10:
	.ascii	"Adivinhe a palavra: %s\012\000"
	.align	2
.LC11:
	.ascii	"Chute uma letra: \000"
	.align	2
.LC12:
	.ascii	"%c\000"
	.align	2
.LC13:
	.ascii	"%c jah foi chutada\012\000"
	.align	2
.LC14:
	.ascii	"'%c' nao aparece na palavra\012\000"
	.align	2
.LC15:
	.ascii	"Parabens!\000"
	.align	2
.LC16:
	.ascii	"Voce foi enforcado\000"
	.align	2
.LC17:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	forca
	.syntax unified
	.arm
	.fpu softvfp
	.type	forca, %function
forca:
	@ args = 0, pretend = 0, frame = 232
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #232
	ldr	r3, .L18
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	bl	rand
	mov	r2, r0
	ldr	r3, .L18+4
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_idivmod
	mov	r3, r1
	mov	r2, r3
	ldr	r3, .L18+8
	ldr	r1, [r3, r2, lsl #2]
	sub	r3, fp, #184
	mov	r2, #32
	mov	r0, r3
	bl	strncpy
	mov	r3, #0
	str	r3, [fp, #-232]
	b	.L2
.L3:
	ldr	r3, [fp, #-232]
	lsl	r3, r3, #1
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #95
	strb	r2, [r3, #-148]
	ldr	r3, [fp, #-232]
	lsl	r3, r3, #1
	add	r3, r3, #1
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #32
	strb	r2, [r3, #-148]
	ldr	r3, [fp, #-232]
	add	r3, r3, #1
	str	r3, [fp, #-232]
.L2:
	sub	r3, fp, #184
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-232]
	cmp	r2, r3
	bhi	.L3
	ldr	r3, [fp, #-232]
	lsl	r3, r3, #1
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3, #-148]
	sub	r3, fp, #152
	mov	r1, r3
	ldr	r0, .L18+12
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-228]
	mov	r3, #0
	str	r3, [fp, #-224]
	mov	r3, #0
	strb	r3, [fp, #-212]
	b	.L4
.L12:
	ldr	r0, .L18+16
	bl	printf
	sub	r3, fp, #233
	mov	r1, r3
	ldr	r0, .L18+20
	bl	__isoc99_scanf
	ldr	r3, .L18+24
	ldr	r2, [r3]
	sub	r3, fp, #88
	mov	r1, #80
	mov	r0, r3
	bl	fgets
	ldrb	r3, [fp, #-233]	@ zero_extendqisi2
	mov	r2, r3
	sub	r3, fp, #212
	mov	r1, r2
	mov	r0, r3
	bl	index
	mov	r3, r0
	cmp	r3, #0
	beq	.L5
	ldrb	r3, [fp, #-233]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L18+28
	bl	printf
	b	.L4
.L5:
	sub	r3, fp, #212
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-232]
	ldrb	r1, [fp, #-233]	@ zero_extendqisi2
	sub	r2, fp, #212
	ldr	r3, [fp, #-232]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-232]
	add	r3, r3, #1
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3, #-208]
	mov	r3, #0
	str	r3, [fp, #-220]
	sub	r3, fp, #184
	str	r3, [fp, #-216]
	b	.L6
.L7:
	sub	r3, fp, #184
	ldr	r2, [fp, #-216]
	sub	r3, r2, r3
	str	r3, [fp, #-232]
	ldr	r3, [fp, #-232]
	lsl	r3, r3, #1
	ldrb	r2, [fp, #-233]	@ zero_extendqisi2
	sub	r1, fp, #4
	add	r3, r1, r3
	strb	r2, [r3, #-148]
	ldr	r3, [fp, #-224]
	add	r3, r3, #1
	str	r3, [fp, #-224]
	mov	r3, #1
	str	r3, [fp, #-220]
	ldr	r3, [fp, #-216]
	add	r3, r3, #1
	str	r3, [fp, #-216]
.L6:
	ldrb	r3, [fp, #-233]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, [fp, #-216]
	bl	index
	str	r0, [fp, #-216]
	ldr	r3, [fp, #-216]
	cmp	r3, #0
	bne	.L7
	ldr	r3, [fp, #-220]
	cmp	r3, #0
	bne	.L8
	ldr	r3, [fp, #-228]
	add	r3, r3, #1
	str	r3, [fp, #-228]
	ldrb	r3, [fp, #-233]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L18+32
	bl	printf
	b	.L9
.L8:
	sub	r3, fp, #152
	mov	r0, r3
	bl	puts
.L9:
	sub	r3, fp, #184
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-224]
	cmp	r2, r3
	beq	.L16
.L4:
	mov	r2, #6
	ldr	r3, [fp, #-228]
	cmp	r3, r2
	blt	.L12
	b	.L11
.L16:
	nop
.L11:
	sub	r3, fp, #184
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-224]
	cmp	r2, r3
	bne	.L13
	ldr	r0, .L18+36
	bl	puts
	b	.L17
.L13:
	ldr	r0, .L18+40
	bl	puts
.L17:
	nop
	ldr	r3, .L18
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L15
	bl	__stack_chk_fail
.L15:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L19:
	.align	2
.L18:
	.word	.LC17
	.word	nb_palavras
	.word	palavras
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	stdin
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.size	forca, .-forca
	.section	.rodata
	.align	2
.LC18:
	.ascii	"sizeof palavras = %d\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	mov	r0, #0
	bl	time
	mov	r3, r0
	mov	r0, r3
	bl	srand
	ldr	r3, .L22
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L22+4
	bl	printf
	bl	forca
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
.L23:
	.align	2
.L22:
	.word	nb_palavras
	.word	.LC18
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
