	.file	"697961.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"color 4f"
	.align 8
.LC1:
	.string	"Enter the name of first player : "
.LC2:
	.string	"%s"
	.align 8
.LC3:
	.string	"Enter the name of second player : "
	.align 8
.LC4:
	.string	"first choose number between 1 and 5 : "
.LC5:
	.string	"%d"
.LC6:
	.string	"wrong input \nReenter   :"
.LC7:
	.string	"Remaining stick = %d\n"
.LC8:
	.string	"first Loss the game"
	.align 8
.LC9:
	.string	"second choose number between 1 and 5 : "
.LC10:
	.string	"second Loss the game"
	.text
	.globl	main
	.type	main, @function
main:
.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, 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC0[rip]
	call	system@PLT
	mov	BYTE PTR -29[rbp], 21
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -28[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, -18[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	edi, 10
	call	putchar@PLT
	jmp	.L2
.L9:
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -30[rbp]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	jmp	.L3
.L4:
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -30[rbp]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
.L3:
	movzx	eax, BYTE PTR -30[rbp]
	cmp	al, 5
	jg	.L4
	movzx	eax, BYTE PTR -30[rbp]
	test	al, al
	jle	.L4
	movzx	eax, BYTE PTR -29[rbp]
	movzx	edx, BYTE PTR -30[rbp]
	sub	eax, edx
	mov	BYTE PTR -29[rbp], al
	movsx	eax, BYTE PTR -29[rbp]
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	cmp	BYTE PTR -29[rbp], 0
	jg	.L5
	lea	rax, -28[rbp]
	mov	rsi, rax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	jmp	.L10
.L5:
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -30[rbp]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	jmp	.L7
.L8:
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -30[rbp]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
.L7:
	movzx	eax, BYTE PTR -30[rbp]
	cmp	al, 5
	jg	.L8
	movzx	eax, BYTE PTR -30[rbp]
	test	al, al
	jle	.L8
	movzx	eax, BYTE PTR -29[rbp]
	movzx	edx, BYTE PTR -30[rbp]
	sub	eax, edx
	mov	BYTE PTR -29[rbp], al
	movsx	eax, BYTE PTR -29[rbp]
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	cmp	BYTE PTR -29[rbp], 0
	jg	.L2
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	jmp	.L10
.L2:
	cmp	BYTE PTR -29[rbp], 0
	jg	.L9
	mov	eax, 0
.L10:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.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	"697961.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"color 4f\000"
	.align	2
.LC1:
	.ascii	"Enter the name of first player : \000"
	.align	2
.LC2:
	.ascii	"%s\000"
	.align	2
.LC3:
	.ascii	"Enter the name of second player : \000"
	.align	2
.LC4:
	.ascii	"first choose number between 1 and 5 : \000"
	.align	2
.LC5:
	.ascii	"%d\000"
	.align	2
.LC6:
	.ascii	"wrong input \012Reenter   :\000"
	.align	2
.LC7:
	.ascii	"Remaining stick = %d\012\000"
	.align	2
.LC8:
	.ascii	"first Loss the game\000"
	.align	2
.LC9:
	.ascii	"second choose number between 1 and 5 : \000"
	.align	2
.LC10:
	.ascii	"second Loss the game\000"
	.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 = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	ldr	r3, .L12
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L12+4
	bl	system
	mov	r3, #21
	strb	r3, [fp, #-33]
	ldr	r0, .L12+8
	bl	printf
	sub	r3, fp, #32
	mov	r1, r3
	ldr	r0, .L12+12
	bl	__isoc99_scanf
	ldr	r0, .L12+16
	bl	printf
	sub	r3, fp, #20
	mov	r1, r3
	ldr	r0, .L12+12
	bl	__isoc99_scanf
	mov	r0, #10
	bl	putchar
	b	.L2
.L9:
	ldr	r0, .L12+20
	bl	printf
	sub	r3, fp, #34
	mov	r1, r3
	ldr	r0, .L12+24
	bl	__isoc99_scanf
	b	.L3
.L4:
	ldr	r0, .L12+28
	bl	printf
	ldr	r0, .L12+20
	bl	printf
	sub	r3, fp, #34
	mov	r1, r3
	ldr	r0, .L12+24
	bl	__isoc99_scanf
.L3:
	ldrb	r3, [fp, #-34]	@ zero_extendqisi2
	cmp	r3, #5
	bhi	.L4
	ldrb	r3, [fp, #-34]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L4
	ldrb	r3, [fp, #-34]	@ zero_extendqisi2
	ldrb	r2, [fp, #-33]
	sub	r3, r2, r3
	strb	r3, [fp, #-33]
	ldrb	r3, [fp, #-33]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L12+32
	bl	printf
	ldrb	r3, [fp, #-33]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L5
	sub	r3, fp, #32
	mov	r1, r3
	ldr	r0, .L12+36
	bl	printf
	mov	r3, #0
	b	.L10
.L5:
	ldr	r0, .L12+40
	bl	printf
	sub	r3, fp, #34
	mov	r1, r3
	ldr	r0, .L12+24
	bl	__isoc99_scanf
	b	.L7
.L8:
	ldr	r0, .L12+28
	bl	printf
	ldr	r0, .L12+40
	bl	printf
	sub	r3, fp, #34
	mov	r1, r3
	ldr	r0, .L12+24
	bl	__isoc99_scanf
.L7:
	ldrb	r3, [fp, #-34]	@ zero_extendqisi2
	cmp	r3, #5
	bhi	.L8
	ldrb	r3, [fp, #-34]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L8
	ldrb	r3, [fp, #-34]	@ zero_extendqisi2
	ldrb	r2, [fp, #-33]
	sub	r3, r2, r3
	strb	r3, [fp, #-33]
	ldrb	r3, [fp, #-33]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L12+32
	bl	printf
	ldrb	r3, [fp, #-33]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L2
	ldr	r0, .L12+44
	bl	printf
	mov	r3, #0
	b	.L10
.L2:
	ldrb	r3, [fp, #-33]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L9
	mov	r3, #0
.L10:
	ldr	r2, .L12
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L11
	bl	__stack_chk_fail
.L11:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L13:
	.align	2
.L12:
	.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
