	.file	"156393885.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"\nHangman"
.LC1:
	.string	"\nSize of word %d"
.LC2:
	.string	"\nTotal Guesses %d"
.LC3:
	.string	"\nGuess number : %d\n"
.LC4:
	.string	" %c"
.LC5:
	.string	"\nWrong guess"
.LC6:
	.string	"\nRight guess"
.LC7:
	.string	"\n\nWinner"
.LC8:
	.string	"\nLoser"
.LC9:
	.string	"%c "
	.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, 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -30[rbp], 1196310856
	mov	WORD PTR -26[rbp], 16717
	mov	BYTE PTR -24[rbp], 78
	mov	DWORD PTR -40[rbp], 0
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	mov	BYTE PTR -23[rbp+rax], 42
	add	DWORD PTR -40[rbp], 1
.L2:
	cmp	DWORD PTR -40[rbp], 15
	jle	.L3
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	esi, 8
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	esi, 15
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -36[rbp], 1
	mov	DWORD PTR -40[rbp], 0
	jmp	.L4
.L9:
	mov	eax, DWORD PTR -36[rbp]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -41[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	movzx	eax, BYTE PTR -41[rbp]
	movsx	eax, al
	mov	edi, eax
	call	toupper@PLT
	mov	edx, DWORD PTR -36[rbp]
	sub	edx, 1
	movsx	rdx, edx
	movzx	edx, BYTE PTR -30[rbp+rdx]
	movsx	edx, dl
	cmp	eax, edx
	setne	al
	movzx	eax, al
	mov	edi, eax
	call	toupper@PLT
	test	eax, eax
	je	.L5
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L6
.L5:
	movzx	edx, BYTE PTR -41[rbp]
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	mov	BYTE PTR -23[rbp+rax], dl
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -36[rbp], 1
.L6:
	cmp	DWORD PTR -36[rbp], 8
	je	.L15
	add	DWORD PTR -40[rbp], 1
.L4:
	cmp	DWORD PTR -40[rbp], 15
	jle	.L9
	jmp	.L8
.L15:
	nop
.L8:
	cmp	DWORD PTR -36[rbp], 8
	jne	.L10
	lea	rdi, .LC7[rip]
	call	puts@PLT
	jmp	.L11
.L10:
	lea	rdi, .LC8[rip]
	call	puts@PLT
.L11:
	mov	DWORD PTR -40[rbp], 0
	jmp	.L12
.L13:
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	movzx	eax, BYTE PTR -23[rbp+rax]
	movsx	eax, al
	mov	esi, eax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -40[rbp], 1
.L12:
	cmp	DWORD PTR -40[rbp], 15
	jle	.L13
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L14
	call	__stack_chk_fail@PLT
.L14:
	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	"156393885.c"
	.text
	.section	.rodata
	.align	2
.LC1:
	.ascii	"\012Hangman\000"
	.align	2
.LC2:
	.ascii	"\012Size of word %d\000"
	.align	2
.LC3:
	.ascii	"\012Total Guesses %d\000"
	.align	2
.LC4:
	.ascii	"\012Guess number : %d\012\000"
	.align	2
.LC5:
	.ascii	" %c\000"
	.align	2
.LC6:
	.ascii	"\012Wrong guess\000"
	.align	2
.LC7:
	.ascii	"\012Right guess\000"
	.align	2
.LC8:
	.ascii	"\012\012Winner\000"
	.align	2
.LC9:
	.ascii	"\012Loser\000"
	.align	2
.LC10:
	.ascii	"%c \000"
	.align	2
.LC0:
	.ascii	"HANGMAN"
	.align	2
.LC11:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	ldr	r3, .L16
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r2, .L16+4
	sub	r3, fp, #32
	ldm	r2, {r0, r1}
	str	r0, [r3]
	add	r3, r3, #4
	strh	r1, [r3]	@ movhi
	add	r3, r3, #2
	lsr	r2, r1, #16
	strb	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L2
.L3:
	sub	r2, fp, #24
	ldr	r3, [fp, #-40]
	add	r3, r2, r3
	mov	r2, #42
	strb	r2, [r3]
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L2:
	ldr	r3, [fp, #-40]
	cmp	r3, #15
	ble	.L3
	ldr	r0, .L16+8
	bl	printf
	mov	r1, #8
	ldr	r0, .L16+12
	bl	printf
	mov	r1, #15
	ldr	r0, .L16+16
	bl	printf
	mov	r3, #1
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L4
.L9:
	ldr	r1, [fp, #-36]
	ldr	r0, .L16+20
	bl	printf
	sub	r3, fp, #41
	mov	r1, r3
	ldr	r0, .L16+24
	bl	__isoc99_scanf
	ldrb	r3, [fp, #-41]	@ zero_extendqisi2
	mov	r0, r3
	bl	toupper
	mov	r2, r0
	ldr	r3, [fp, #-36]
	sub	r3, r3, #1
	sub	r1, fp, #4
	add	r3, r1, r3
	ldrb	r3, [r3, #-28]	@ zero_extendqisi2
	cmp	r2, r3
	movne	r3, #1
	moveq	r3, #0
	and	r3, r3, #255
	mov	r0, r3
	bl	toupper
	mov	r3, r0
	cmp	r3, #0
	beq	.L5
	ldr	r0, .L16+28
	bl	printf
	b	.L6
.L5:
	ldrb	r1, [fp, #-41]	@ zero_extendqisi2
	sub	r2, fp, #24
	ldr	r3, [fp, #-40]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r0, .L16+32
	bl	printf
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L6:
	ldr	r3, [fp, #-36]
	cmp	r3, #8
	beq	.L15
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L4:
	ldr	r3, [fp, #-40]
	cmp	r3, #15
	ble	.L9
	b	.L8
.L15:
	nop
.L8:
	ldr	r3, [fp, #-36]
	cmp	r3, #8
	bne	.L10
	ldr	r0, .L16+36
	bl	puts
	b	.L11
.L10:
	ldr	r0, .L16+40
	bl	puts
.L11:
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L12
.L13:
	sub	r2, fp, #24
	ldr	r3, [fp, #-40]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L16+44
	bl	printf
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L12:
	ldr	r3, [fp, #-40]
	cmp	r3, #15
	ble	.L13
	nop
	ldr	r3, .L16
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L14
	bl	__stack_chk_fail
.L14:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L17:
	.align	2
.L16:
	.word	.LC11
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
