	.file	"898458.c"
	.intel_syntax noprefix
	.text
	.globl	generaterandomfunc
	.type	generaterandomfunc, @function
generaterandomfunc:
.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, 16
	mov	DWORD PTR -4[rbp], edi
	mov	edi, 0
	call	time@PLT
	mov	edi, eax
	call	srand@PLT
	call	rand@PLT
	cdq
	idiv	DWORD PTR -4[rbp]
	mov	eax, edx
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	generaterandomfunc, .-generaterandomfunc
	.globl	greater
	.type	greater, @function
greater:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	edx, edi
	mov	eax, esi
	mov	BYTE PTR -4[rbp], dl
	mov	BYTE PTR -8[rbp], al
	movzx	eax, BYTE PTR -4[rbp]
	cmp	al, BYTE PTR -8[rbp]
	jne	.L4
	mov	eax, -1
	jmp	.L3
.L4:
	cmp	BYTE PTR -4[rbp], 114
	jne	.L6
	cmp	BYTE PTR -8[rbp], 115
	jne	.L6
	mov	eax, 1
	jmp	.L3
.L6:
	cmp	BYTE PTR -8[rbp], 114
	jne	.L7
	cmp	BYTE PTR -4[rbp], 115
	jne	.L7
	mov	eax, 0
	jmp	.L3
.L7:
	cmp	BYTE PTR -4[rbp], 112
	jne	.L8
	cmp	BYTE PTR -8[rbp], 114
	jne	.L8
	mov	eax, 1
	jmp	.L3
.L8:
	cmp	BYTE PTR -8[rbp], 112
	jne	.L9
	cmp	BYTE PTR -4[rbp], 114
	jne	.L9
	mov	eax, 0
	jmp	.L3
.L9:
	cmp	BYTE PTR -4[rbp], 115
	jne	.L10
	cmp	BYTE PTR -8[rbp], 112
	jne	.L10
	mov	eax, 1
	jmp	.L3
.L10:
	cmp	BYTE PTR -8[rbp], 115
	jne	.L11
	cmp	BYTE PTR -4[rbp], 112
	jne	.L11
	mov	eax, 0
	jmp	.L3
.L11:
.L3:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	greater, .-greater
	.section	.rodata
	.align 8
.LC0:
	.string	"welcome to the rock paper scissor game"
	.align 8
.LC1:
	.string	"choose 1 for rock choose 2 for paper choose 3 for scissor "
.LC2:
	.string	"player no.1 turn "
.LC3:
	.string	"%d"
.LC4:
	.string	"you choose  %c\n"
.LC5:
	.string	"cpu choose  %c\n"
.LC6:
	.string	"cpu got it hurray"
.LC7:
	.string	"its a draw "
.LC8:
	.string	"you got it hurray"
.LC9:
	.string	"you : %d \ncpu : %d \n"
.LC10:
	.string	"you win "
.LC11:
	.string	"cpu win "
.LC12:
	.string	"match is draw"
	.text
	.globl	main
	.type	main, @function
main:
.LFB8:
	.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 -76[rbp], 0
	mov	DWORD PTR -72[rbp], 0
	mov	QWORD PTR -64[rbp], 7565426
	mov	QWORD PTR -56[rbp], 0
	mov	QWORD PTR -48[rbp], 0
	mov	QWORD PTR -40[rbp], 0
	mov	QWORD PTR -32[rbp], 0
	mov	DWORD PTR -24[rbp], 0
	mov	BYTE PTR -20[rbp], 0
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	DWORD PTR -68[rbp], 0
	jmp	.L13
.L17:
	lea	rdi, .LC1[rip]
	call	puts@PLT
	lea	rdi, .LC2[rip]
	call	puts@PLT
	lea	rax, -80[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -80[rbp]
	sub	eax, 1
	cdqe
	movzx	eax, BYTE PTR -64[rbp+rax]
	mov	BYTE PTR -82[rbp], al
	movsx	eax, BYTE PTR -82[rbp]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC1[rip]
	call	puts@PLT
	lea	rdi, .LC2[rip]
	call	puts@PLT
	mov	edi, 3
	call	generaterandomfunc
	add	eax, 1
	mov	DWORD PTR -80[rbp], eax
	mov	eax, DWORD PTR -80[rbp]
	sub	eax, 1
	cdqe
	movzx	eax, BYTE PTR -64[rbp+rax]
	mov	BYTE PTR -81[rbp], al
	movsx	eax, BYTE PTR -81[rbp]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	movsx	edx, BYTE PTR -82[rbp]
	movsx	eax, BYTE PTR -81[rbp]
	mov	esi, edx
	mov	edi, eax
	call	greater
	cmp	eax, 1
	jne	.L14
	add	DWORD PTR -72[rbp], 1
	lea	rdi, .LC6[rip]
	call	puts@PLT
	jmp	.L15
.L14:
	movsx	edx, BYTE PTR -82[rbp]
	movsx	eax, BYTE PTR -81[rbp]
	mov	esi, edx
	mov	edi, eax
	call	greater
	cmp	eax, -1
	jne	.L16
	add	DWORD PTR -72[rbp], 1
	add	DWORD PTR -76[rbp], 1
	lea	rdi, .LC7[rip]
	call	puts@PLT
	jmp	.L15
.L16:
	add	DWORD PTR -76[rbp], 1
	lea	rdi, .LC8[rip]
	call	puts@PLT
.L15:
	mov	edx, DWORD PTR -72[rbp]
	mov	eax, DWORD PTR -76[rbp]
	mov	esi, eax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -68[rbp], 1
.L13:
	cmp	DWORD PTR -68[rbp], 2
	jle	.L17
	mov	eax, DWORD PTR -76[rbp]
	cmp	eax, DWORD PTR -72[rbp]
	jle	.L18
	lea	rdi, .LC10[rip]
	call	puts@PLT
	jmp	.L19
.L18:
	mov	eax, DWORD PTR -72[rbp]
	cmp	eax, DWORD PTR -76[rbp]
	jle	.L20
	lea	rdi, .LC11[rip]
	call	puts@PLT
	jmp	.L19
.L20:
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
.L19:
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L22
	call	__stack_chk_fail@PLT
.L22:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.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	"898458.c"
	.text
	.global	__aeabi_idivmod
	.align	2
	.global	generaterandomfunc
	.syntax unified
	.arm
	.fpu softvfp
	.type	generaterandomfunc, %function
generaterandomfunc:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	mov	r0, #0
	bl	time
	mov	r3, r0
	mov	r0, r3
	bl	srand
	bl	rand
	mov	r3, r0
	ldr	r1, [fp, #-8]
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	generaterandomfunc, .-generaterandomfunc
	.align	2
	.global	greater
	.syntax unified
	.arm
	.fpu softvfp
	.type	greater, %function
greater:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	mov	r3, r0
	mov	r2, r1
	strb	r3, [fp, #-5]
	mov	r3, r2
	strb	r3, [fp, #-6]
	ldrb	r2, [fp, #-5]	@ zero_extendqisi2
	ldrb	r3, [fp, #-6]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L4
	mvn	r3, #0
	b	.L3
.L4:
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #114
	bne	.L6
	ldrb	r3, [fp, #-6]	@ zero_extendqisi2
	cmp	r3, #115
	bne	.L6
	mov	r3, #1
	b	.L3
.L6:
	ldrb	r3, [fp, #-6]	@ zero_extendqisi2
	cmp	r3, #114
	bne	.L7
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #115
	bne	.L7
	mov	r3, #0
	b	.L3
.L7:
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #112
	bne	.L8
	ldrb	r3, [fp, #-6]	@ zero_extendqisi2
	cmp	r3, #114
	bne	.L8
	mov	r3, #1
	b	.L3
.L8:
	ldrb	r3, [fp, #-6]	@ zero_extendqisi2
	cmp	r3, #112
	bne	.L9
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #114
	bne	.L9
	mov	r3, #0
	b	.L3
.L9:
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #115
	bne	.L10
	ldrb	r3, [fp, #-6]	@ zero_extendqisi2
	cmp	r3, #112
	bne	.L10
	mov	r3, #1
	b	.L3
.L10:
	ldrb	r3, [fp, #-6]	@ zero_extendqisi2
	cmp	r3, #115
	bne	.L11
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #112
	bne	.L11
	mov	r3, #0
	b	.L3
.L11:
.L3:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	greater, .-greater
	.section	.rodata
	.align	2
.LC0:
	.ascii	"welcome to the rock paper scissor game\000"
	.align	2
.LC1:
	.ascii	"choose 1 for rock choose 2 for paper choose 3 for s"
	.ascii	"cissor \000"
	.align	2
.LC2:
	.ascii	"player no.1 turn \000"
	.align	2
.LC3:
	.ascii	"%d\000"
	.align	2
.LC4:
	.ascii	"you choose  %c\012\000"
	.align	2
.LC5:
	.ascii	"cpu choose  %c\012\000"
	.align	2
.LC6:
	.ascii	"cpu got it hurray\000"
	.align	2
.LC7:
	.ascii	"its a draw \000"
	.align	2
.LC8:
	.ascii	"you got it hurray\000"
	.align	2
.LC9:
	.ascii	"you : %d \012cpu : %d \012\000"
	.align	2
.LC10:
	.ascii	"you win \000"
	.align	2
.LC11:
	.ascii	"cpu win \000"
	.align	2
.LC12:
	.ascii	"match is draw\000"
	.align	2
.LC13:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 72
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #72
	ldr	r3, .L23
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-68]
	mov	r3, #0
	str	r3, [fp, #-64]
	ldr	r3, .L23+4
	str	r3, [fp, #-56]
	sub	r3, fp, #52
	mov	r2, #41
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r0, .L23+8
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-60]
	b	.L13
.L17:
	ldr	r0, .L23+12
	bl	puts
	ldr	r0, .L23+16
	bl	puts
	sub	r3, fp, #72
	mov	r1, r3
	ldr	r0, .L23+20
	bl	__isoc99_scanf
	ldr	r3, [fp, #-72]
	sub	r3, r3, #1
	sub	r2, fp, #4
	add	r3, r2, r3
	ldrb	r3, [r3, #-52]
	strb	r3, [fp, #-74]
	ldrb	r3, [fp, #-74]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L23+24
	bl	printf
	ldr	r0, .L23+12
	bl	puts
	ldr	r0, .L23+16
	bl	puts
	mov	r0, #3
	bl	generaterandomfunc
	mov	r3, r0
	add	r3, r3, #1
	str	r3, [fp, #-72]
	ldr	r3, [fp, #-72]
	sub	r3, r3, #1
	sub	r2, fp, #4
	add	r3, r2, r3
	ldrb	r3, [r3, #-52]
	strb	r3, [fp, #-73]
	ldrb	r3, [fp, #-73]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L23+28
	bl	printf
	ldrb	r2, [fp, #-74]	@ zero_extendqisi2
	ldrb	r3, [fp, #-73]	@ zero_extendqisi2
	mov	r1, r2
	mov	r0, r3
	bl	greater
	mov	r3, r0
	cmp	r3, #1
	bne	.L14
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
	ldr	r0, .L23+32
	bl	puts
	b	.L15
.L14:
	ldrb	r2, [fp, #-74]	@ zero_extendqisi2
	ldrb	r3, [fp, #-73]	@ zero_extendqisi2
	mov	r1, r2
	mov	r0, r3
	bl	greater
	mov	r3, r0
	cmn	r3, #1
	bne	.L16
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
	ldr	r3, [fp, #-68]
	add	r3, r3, #1
	str	r3, [fp, #-68]
	ldr	r0, .L23+36
	bl	puts
	b	.L15
.L16:
	ldr	r3, [fp, #-68]
	add	r3, r3, #1
	str	r3, [fp, #-68]
	ldr	r0, .L23+40
	bl	puts
.L15:
	ldr	r2, [fp, #-64]
	ldr	r1, [fp, #-68]
	ldr	r0, .L23+44
	bl	printf
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
.L13:
	ldr	r3, [fp, #-60]
	cmp	r3, #2
	ble	.L17
	ldr	r2, [fp, #-68]
	ldr	r3, [fp, #-64]
	cmp	r2, r3
	ble	.L18
	ldr	r0, .L23+48
	bl	puts
	b	.L19
.L18:
	ldr	r2, [fp, #-64]
	ldr	r3, [fp, #-68]
	cmp	r2, r3
	ble	.L20
	ldr	r0, .L23+52
	bl	puts
	b	.L19
.L20:
	ldr	r0, .L23+56
	bl	printf
.L19:
	mov	r3, #0
	ldr	r2, .L23
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L22
	bl	__stack_chk_fail
.L22:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L24:
	.align	2
.L23:
	.word	.LC13
	.word	7565426
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
