	.file	"778509.c"
	.intel_syntax noprefix
	.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, 848
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -832[rbp]
	mov	rdi, rax
	call	initializePlayerList
	mov	WORD PTR -20[rbp], 26482
	mov	BYTE PTR -18[rbp], 98
	mov	WORD PTR -17[rbp], 29795
	mov	BYTE PTR -15[rbp], 114
	mov	WORD PTR -14[rbp], 12849
	mov	BYTE PTR -12[rbp], 51
	mov	WORD PTR -11[rbp], 26722
	mov	BYTE PTR -9[rbp], 101
	mov	edi, 0
	call	time@PLT
	mov	edi, eax
	call	srand@PLT
	lea	rdi, -11[rbp]
	lea	rcx, -14[rbp]
	lea	rdx, -17[rbp]
	lea	rsi, -20[rbp]
	lea	rax, -672[rbp]
	mov	r8, rdi
	mov	rdi, rax
	call	createDeck
	lea	rdx, -768[rbp]
	lea	rax, -672[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	getNextCard
	lea	rax, -832[rbp]
	mov	rdi, rax
	call	printPlayerStatus
	lea	rax, -768[rbp]
	mov	rdi, rax
	call	printPlay
	jmp	.L2
.L8:
	cmp	DWORD PTR -836[rbp], -1
	je	.L3
	cmp	DWORD PTR -836[rbp], 1
	jne	.L4
	movzx	eax, BYTE PTR -837[rbp]
	movsx	edx, al
	lea	rcx, -768[rbp]
	lea	rax, -832[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	takePlayerCards
	cmp	eax, 1
	jne	.L11
	lea	rdi, -11[rbp]
	lea	rcx, -14[rbp]
	lea	rdx, -17[rbp]
	lea	rsi, -20[rbp]
	lea	rax, -672[rbp]
	mov	r8, rdi
	mov	rdi, rax
	call	createDeck
	lea	rdx, -768[rbp]
	lea	rax, -672[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	getNextCard
	jmp	.L11
.L3:
	lea	rdi, -11[rbp]
	lea	rcx, -14[rbp]
	lea	rdx, -17[rbp]
	lea	rsi, -20[rbp]
	lea	rax, -672[rbp]
	mov	r8, rdi
	mov	rdi, rax
	call	createDeck
	lea	rdx, -768[rbp]
	lea	rax, -672[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	getNextCard
	jmp	.L4
.L11:
	nop
.L4:
	lea	rax, -832[rbp]
	mov	rdi, rax
	call	printPlayerStatus
	lea	rax, -832[rbp]
	mov	rdi, rax
	call	checkScore
	test	eax, eax
	je	.L12
	lea	rax, -768[rbp]
	mov	rdi, rax
	call	printPlay
.L2:
	lea	rdx, -837[rbp]
	lea	rax, -832[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	checkPlayerID
	mov	DWORD PTR -836[rbp], eax
	cmp	DWORD PTR -836[rbp], 0
	jne	.L8
	jmp	.L7
.L12:
	nop
.L7:
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L10
	call	__stack_chk_fail@PLT
.L10:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.globl	createDeck
	.type	createDeck, @function
createDeck:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	QWORD PTR -56[rbp], rdx
	mov	QWORD PTR -64[rbp], rcx
	mov	QWORD PTR -72[rbp], r8
	mov	DWORD PTR -4[rbp], 0
	mov	DWORD PTR -20[rbp], 0
	jmp	.L14
.L21:
	mov	DWORD PTR -16[rbp], 0
	jmp	.L15
.L20:
	mov	DWORD PTR -12[rbp], 0
	jmp	.L16
.L19:
	mov	DWORD PTR -8[rbp], 0
	jmp	.L17
.L18:
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	mov	rdx, QWORD PTR -40[rbp]
	add	rdx, rcx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR [rdx], al
	mov	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	mov	rdx, QWORD PTR -40[rbp]
	add	rdx, rcx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR 1[rdx], al
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	mov	rdx, QWORD PTR -40[rbp]
	add	rdx, rcx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR 2[rdx], al
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	mov	rdx, QWORD PTR -40[rbp]
	add	rdx, rcx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR 3[rdx], al
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	DWORD PTR 4[rax], 0
	add	DWORD PTR -4[rbp], 1
	add	DWORD PTR -8[rbp], 1
.L17:
	cmp	DWORD PTR -8[rbp], 2
	jle	.L18
	add	DWORD PTR -12[rbp], 1
.L16:
	cmp	DWORD PTR -12[rbp], 2
	jle	.L19
	add	DWORD PTR -16[rbp], 1
.L15:
	cmp	DWORD PTR -16[rbp], 2
	jle	.L20
	add	DWORD PTR -20[rbp], 1
.L14:
	cmp	DWORD PTR -20[rbp], 2
	jle	.L21
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	createDeck, .-createDeck
	.section	.rodata
.LC0:
	.string	"%d:[%c, %c, %c, %c, %d]\n"
.LC1:
	.string	"Number of cards: %d\n\n"
	.text
	.globl	printDeck
	.type	printDeck, @function
printDeck:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -4[rbp], 0
	mov	DWORD PTR -8[rbp], 0
	jmp	.L23
.L24:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	esi, DWORD PTR 4[rax]
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR 3[rax]
	movsx	r8d, al
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR 2[rax]
	movsx	edi, al
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR 1[rax]
	movsx	ecx, al
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	edx, al
	mov	eax, DWORD PTR -8[rbp]
	sub	rsp, 8
	push	rsi
	mov	r9d, r8d
	mov	r8d, edi
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	add	rsp, 16
	add	DWORD PTR -4[rbp], 1
	add	DWORD PTR -8[rbp], 1
.L23:
	cmp	DWORD PTR -8[rbp], 80
	jle	.L24
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	printDeck, .-printDeck
	.globl	getNextCard
	.type	getNextCard, @function
getNextCard:
.LFB9:
	.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	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -12[rbp], 0
	jmp	.L26
.L31:
	mov	DWORD PTR -8[rbp], 0
	jmp	.L27
.L30:
	call	rand@PLT
	mov	edx, eax
	movsx	rax, edx
	imul	rax, rax, 424194301
	shr	rax, 32
	sar	eax, 3
	mov	ecx, edx
	sar	ecx, 31
	sub	eax, ecx
	mov	DWORD PTR -4[rbp], eax
	mov	ecx, DWORD PTR -4[rbp]
	mov	eax, ecx
	sal	eax, 3
	add	eax, ecx
	lea	ecx, 0[0+rax*8]
	add	eax, ecx
	sub	edx, eax
	mov	DWORD PTR -4[rbp], edx
	jmp	.L28
.L29:
	call	rand@PLT
	mov	edx, eax
	movsx	rax, edx
	imul	rax, rax, 424194301
	shr	rax, 32
	sar	eax, 3
	mov	ecx, edx
	sar	ecx, 31
	sub	eax, ecx
	mov	DWORD PTR -4[rbp], eax
	mov	ecx, DWORD PTR -4[rbp]
	mov	eax, ecx
	sal	eax, 3
	add	eax, ecx
	lea	ecx, 0[0+rax*8]
	add	eax, ecx
	sub	edx, eax
	mov	DWORD PTR -4[rbp], edx
.L28:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR 4[rax]
	cmp	eax, 1
	je	.L29
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	DWORD PTR 4[rax], 1
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	sal	rax, 5
	mov	rcx, rax
	mov	rax, QWORD PTR -32[rbp]
	add	rcx, rax
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	mov	rdx, QWORD PTR [rdx]
	mov	QWORD PTR [rcx+rax*8], rdx
	add	DWORD PTR -8[rbp], 1
.L27:
	cmp	DWORD PTR -8[rbp], 3
	jle	.L30
	add	DWORD PTR -12[rbp], 1
.L26:
	cmp	DWORD PTR -12[rbp], 2
	jle	.L31
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	getNextCard, .-getNextCard
	.section	.rodata
	.align 8
.LC2:
	.string	"\t\t\t**********SET GAME***********\n"
.LC3:
	.string	"[%c, %c, %c, %c] "
.LC4:
	.string	"\n"
	.align 8
.LC5:
	.string	"******************************************************************************"
.LC6:
	.string	"Number of cards: %d\n"
	.text
	.globl	printPlay
	.type	printPlay, @function
printPlay:
.LFB10:
	.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	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -4[rbp], 0
	lea	rdi, .LC2[rip]
	call	puts@PLT
	mov	DWORD PTR -12[rbp], 0
	jmp	.L33
.L36:
	mov	edi, 9
	call	putchar@PLT
	mov	DWORD PTR -8[rbp], 0
	jmp	.L34
.L35:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	sal	rax, 5
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	movzx	eax, BYTE PTR 3[rdx+rax*8]
	movsx	edi, al
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	sal	rax, 5
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	movzx	eax, BYTE PTR 2[rdx+rax*8]
	movsx	ecx, al
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	sal	rax, 5
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	movzx	eax, BYTE PTR 1[rdx+rax*8]
	movsx	edx, al
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	sal	rax, 5
	mov	rsi, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rsi, rax
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	movzx	eax, BYTE PTR [rsi+rax*8]
	movsx	eax, al
	mov	r8d, edi
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -4[rbp], 1
	add	DWORD PTR -8[rbp], 1
.L34:
	cmp	DWORD PTR -8[rbp], 3
	jle	.L35
	lea	rdi, .LC4[rip]
	call	puts@PLT
	add	DWORD PTR -12[rbp], 1
.L33:
	cmp	DWORD PTR -12[rbp], 2
	jle	.L36
	lea	rdi, .LC5[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	printPlay, .-printPlay
	.section	.rodata
.LC7:
	.string	"Players on-line:"
.LC8:
	.string	"SCORE"
.LC9:
	.string	"ID"
.LC10:
	.string	"NAME"
.LC11:
	.string	"%20s\t%2s\t%5s\n"
.LC12:
	.string	"%20s\t%2c\t%5d\n"
	.text
	.globl	printPlayerStatus
	.type	printPlayerStatus, @function
printPlayerStatus:
.LFB11:
	.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	QWORD PTR -24[rbp], rdi
	lea	rdi, .LC7[rip]
	call	puts@PLT
	lea	rcx, .LC8[rip]
	lea	rdx, .LC9[rip]
	lea	rsi, .LC10[rip]
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -4[rbp], 0
	jmp	.L38
.L39:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	add	rax, rax
	add	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR 17[rax]
	movzx	ecx, al
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	add	rax, rax
	add	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR 18[rax]
	movsx	esi, al
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	add	rax, rax
	add	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	edx, esi
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -4[rbp], 1
.L38:
	cmp	DWORD PTR -4[rbp], 2
	jle	.L39
	lea	rdi, .LC5[rip]
	call	puts@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	printPlayerStatus, .-printPlayerStatus
	.globl	initializePlayerList
	.type	initializePlayerList, @function
initializePlayerList:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	movabs	rsi, 4692857938563457357
	mov	QWORD PTR [rax], rsi
	mov	DWORD PTR 8[rax], 1701995630
	mov	WORD PTR 12[rax], 30063
	mov	BYTE PTR 14[rax], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR 17[rax], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR 18[rax], 97
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 19
	movabs	rdx, 5125223238350368587
	movabs	rcx, 8317988418683232626
	mov	QWORD PTR [rax], rdx
	mov	QWORD PTR 8[rax], rcx
	mov	BYTE PTR 16[rax], 0
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 19
	mov	BYTE PTR 17[rax], 0
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 19
	mov	BYTE PTR 18[rax], 103
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 38
	movabs	rdi, 7300370598720594253
	mov	QWORD PTR [rax], rdi
	mov	DWORD PTR 8[rax], 1802069106
	mov	WORD PTR 12[rax], 97
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 38
	mov	BYTE PTR 17[rax], 0
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 38
	mov	BYTE PTR 18[rax], 112
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	initializePlayerList, .-initializePlayerList
	.section	.rodata
.LC13:
	.string	"Please enter player id:"
.LC14:
	.string	" %c"
	.text
	.globl	checkPlayerID
	.type	checkPlayerID, @function
checkPlayerID:
.LFB13:
	.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	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC13[rip]
	call	puts@PLT
	lea	rax, -13[rbp]
	mov	rsi, rax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	movzx	eax, BYTE PTR -13[rbp]
	cmp	al, 48
	jne	.L42
	mov	eax, 0
	jmp	.L47
.L42:
	mov	DWORD PTR -12[rbp], 0
	jmp	.L44
.L46:
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	add	rax, rax
	add	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	edx, BYTE PTR 18[rax]
	movzx	eax, BYTE PTR -13[rbp]
	cmp	dl, al
	jne	.L45
	movzx	edx, BYTE PTR -13[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	BYTE PTR [rax], dl
	mov	eax, 1
	jmp	.L47
.L45:
	add	DWORD PTR -12[rbp], 1
.L44:
	cmp	DWORD PTR -12[rbp], 2
	jle	.L46
	mov	eax, -1
.L47:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L48
	call	__stack_chk_fail@PLT
.L48:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	checkPlayerID, .-checkPlayerID
	.globl	findPlayer
	.type	findPlayer, @function
findPlayer:
.LFB14:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	.cfi_offset 3, -24
	mov	QWORD PTR -32[rbp], rdi
	mov	QWORD PTR -40[rbp], rsi
	mov	eax, edx
	mov	BYTE PTR -44[rbp], al
	mov	DWORD PTR -12[rbp], 0
	jmp	.L50
.L53:
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	add	rax, rax
	add	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR 18[rax]
	cmp	BYTE PTR -44[rbp], al
	jne	.L51
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	add	rax, rax
	add	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -32[rbp]
	mov	rcx, QWORD PTR [rdx]
	mov	rbx, QWORD PTR 8[rdx]
	mov	QWORD PTR [rax], rcx
	mov	QWORD PTR 8[rax], rbx
	movzx	ecx, WORD PTR 16[rdx]
	mov	WORD PTR 16[rax], cx
	movzx	edx, BYTE PTR 18[rdx]
	mov	BYTE PTR 18[rax], dl
	jmp	.L49
.L51:
	add	DWORD PTR -12[rbp], 1
.L50:
	cmp	DWORD PTR -12[rbp], 2
	jle	.L53
	nop
.L49:
	mov	rax, QWORD PTR -32[rbp]
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	findPlayer, .-findPlayer
	.section	.rodata
.LC15:
	.string	"%s playing...\n"
	.align 8
.LC16:
	.string	"Please provide 3 cards (ROW COLUMN):"
.LC17:
	.string	"Card number %d: "
.LC18:
	.string	"%d"
.LC19:
	.string	"Invalid card"
.LC20:
	.string	"Player's cards:"
.LC21:
	.string	"%d:[%c, %c, %c, %c] "
.LC22:
	.string	"SET!!!!"
.LC23:
	.string	"NOT SET!!!"
	.text
	.globl	takePlayerCards
	.type	takePlayerCards, @function
takePlayerCards:
.LFB15:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 144
	mov	QWORD PTR -88[rbp], rdi
	mov	QWORD PTR -96[rbp], rsi
	mov	eax, edx
	mov	BYTE PTR -100[rbp], al
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -76[rbp], 0
	movsx	edx, BYTE PTR -100[rbp]
	lea	rax, -144[rbp]
	mov	rcx, QWORD PTR -88[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	findPlayer
	mov	rax, QWORD PTR -144[rbp]
	mov	rdx, QWORD PTR -136[rbp]
	mov	QWORD PTR -64[rbp], rax
	mov	QWORD PTR -56[rbp], rdx
	movzx	eax, WORD PTR -128[rbp]
	mov	WORD PTR -48[rbp], ax
	movzx	eax, BYTE PTR -126[rbp]
	mov	BYTE PTR -46[rbp], al
	lea	rax, -64[rbp]
	mov	rsi, rax
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC16[rip]
	call	puts@PLT
	jmp	.L55
.L57:
	mov	eax, DWORD PTR -76[rbp]
	add	eax, 1
	mov	esi, eax
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -80[rbp]
	mov	rsi, rax
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -80[rbp]
	movsx	rdx, eax
	imul	rdx, rdx, 1717986919
	shr	rdx, 32
	sar	edx, 2
	sar	eax, 31
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	mov	DWORD PTR -72[rbp], eax
	mov	edx, DWORD PTR -80[rbp]
	movsx	rax, edx
	imul	rax, rax, 1717986919
	shr	rax, 32
	sar	eax, 2
	mov	ecx, edx
	sar	ecx, 31
	sub	eax, ecx
	mov	DWORD PTR -68[rbp], eax
	mov	ecx, DWORD PTR -68[rbp]
	mov	eax, ecx
	sal	eax, 2
	add	eax, ecx
	add	eax, eax
	sub	edx, eax
	mov	DWORD PTR -68[rbp], edx
	cmp	DWORD PTR -72[rbp], 0
	js	.L56
	cmp	DWORD PTR -72[rbp], 2
	jg	.L56
	cmp	DWORD PTR -68[rbp], 0
	js	.L56
	cmp	DWORD PTR -68[rbp], 3
	jg	.L56
	mov	eax, DWORD PTR -72[rbp]
	cdqe
	sal	rax, 5
	mov	rdx, rax
	mov	rax, QWORD PTR -96[rbp]
	lea	rcx, [rdx+rax]
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	mov	edx, DWORD PTR -68[rbp]
	movsx	rdx, edx
	mov	rdx, QWORD PTR [rcx+rdx*8]
	mov	QWORD PTR -32[rbp+rax*8], rdx
	add	DWORD PTR -76[rbp], 1
	jmp	.L55
.L56:
	lea	rdi, .LC19[rip]
	call	puts@PLT
.L55:
	cmp	DWORD PTR -76[rbp], 2
	jle	.L57
	lea	rdi, .LC20[rip]
	call	puts@PLT
	mov	DWORD PTR -76[rbp], 0
	jmp	.L58
.L59:
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	movzx	eax, BYTE PTR -29[rbp+rax*8]
	movsx	r8d, al
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	movzx	eax, BYTE PTR -30[rbp+rax*8]
	movsx	edi, al
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	movzx	eax, BYTE PTR -31[rbp+rax*8]
	movsx	edx, al
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	movzx	eax, BYTE PTR -32[rbp+rax*8]
	movsx	eax, al
	mov	ecx, DWORD PTR -76[rbp]
	lea	esi, 1[rcx]
	mov	r9d, r8d
	mov	r8d, edi
	mov	ecx, edx
	mov	edx, eax
	lea	rdi, .LC21[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -76[rbp], 1
.L58:
	cmp	DWORD PTR -76[rbp], 2
	jle	.L59
	lea	rdi, .LC4[rip]
	call	puts@PLT
	lea	rax, -32[rbp]
	mov	rdi, rax
	call	checkIfSet
	cmp	eax, 1
	jne	.L60
	lea	rdi, .LC22[rip]
	call	puts@PLT
	lea	rdi, .LC5[rip]
	call	puts@PLT
	movsx	ecx, BYTE PTR -100[rbp]
	mov	rax, QWORD PTR -88[rbp]
	mov	edx, 2
	mov	esi, ecx
	mov	rdi, rax
	call	changeScore
	mov	eax, 1
	jmp	.L62
.L60:
	lea	rdi, .LC23[rip]
	call	puts@PLT
	lea	rdi, .LC5[rip]
	call	puts@PLT
	movsx	ecx, BYTE PTR -100[rbp]
	mov	rax, QWORD PTR -88[rbp]
	mov	edx, -1
	mov	esi, ecx
	mov	rdi, rax
	call	changeScore
	mov	eax, 0
.L62:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L63
	call	__stack_chk_fail@PLT
.L63:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	takePlayerCards, .-takePlayerCards
	.globl	checkIfSet
	.type	checkIfSet, @function
checkIfSet:
.LFB16:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -40[rbp], rdi
	mov	DWORD PTR -20[rbp], 0
	mov	DWORD PTR -16[rbp], 0
	mov	DWORD PTR -12[rbp], 0
	mov	DWORD PTR -8[rbp], 0
	mov	DWORD PTR -4[rbp], 0
	mov	DWORD PTR -24[rbp], 0
	jmp	.L65
.L70:
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	add	rax, 1
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	cmp	dl, al
	jne	.L66
	add	DWORD PTR -20[rbp], 1
.L66:
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	edx, BYTE PTR 1[rax]
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	add	rax, 1
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR 1[rax]
	cmp	dl, al
	jne	.L67
	add	DWORD PTR -16[rbp], 1
.L67:
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	edx, BYTE PTR 2[rax]
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	add	rax, 1
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR 2[rax]
	cmp	dl, al
	jne	.L68
	add	DWORD PTR -12[rbp], 1
.L68:
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	edx, BYTE PTR 3[rax]
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	add	rax, 1
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR 3[rax]
	cmp	dl, al
	jne	.L69
	add	DWORD PTR -8[rbp], 1
.L69:
	add	DWORD PTR -24[rbp], 1
.L65:
	cmp	DWORD PTR -24[rbp], 1
	jle	.L70
	cmp	DWORD PTR -20[rbp], 2
	je	.L71
	cmp	DWORD PTR -20[rbp], 0
	jne	.L72
.L71:
	add	DWORD PTR -4[rbp], 1
.L72:
	cmp	DWORD PTR -16[rbp], 2
	je	.L73
	cmp	DWORD PTR -16[rbp], 0
	jne	.L74
.L73:
	add	DWORD PTR -4[rbp], 1
.L74:
	cmp	DWORD PTR -12[rbp], 2
	je	.L75
	cmp	DWORD PTR -12[rbp], 0
	jne	.L76
.L75:
	add	DWORD PTR -4[rbp], 1
.L76:
	cmp	DWORD PTR -8[rbp], 2
	je	.L77
	cmp	DWORD PTR -8[rbp], 0
	jne	.L78
.L77:
	add	DWORD PTR -4[rbp], 1
.L78:
	cmp	DWORD PTR -4[rbp], 4
	jne	.L79
	mov	eax, 1
	jmp	.L80
.L79:
	mov	eax, 0
.L80:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	checkIfSet, .-checkIfSet
	.globl	changeScore
	.type	changeScore, @function
changeScore:
.LFB17:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	eax, esi
	mov	DWORD PTR -32[rbp], edx
	mov	BYTE PTR -28[rbp], al
	mov	DWORD PTR -4[rbp], 0
	jmp	.L82
.L84:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	add	rax, rax
	add	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR 18[rax]
	cmp	BYTE PTR -28[rbp], al
	jne	.L83
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	add	rax, rax
	add	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	ecx, BYTE PTR 17[rax]
	mov	eax, DWORD PTR -32[rbp]
	mov	esi, eax
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	add	rax, rax
	add	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	lea	edx, [rcx+rsi]
	mov	BYTE PTR 17[rax], dl
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	add	rax, rax
	add	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR 17[rax]
	cmp	al, -1
	jne	.L83
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	add	rax, rax
	add	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	BYTE PTR 17[rax], 0
.L83:
	add	DWORD PTR -4[rbp], 1
.L82:
	cmp	DWORD PTR -4[rbp], 2
	jle	.L84
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE17:
	.size	changeScore, .-changeScore
	.section	.rodata
.LC24:
	.string	"Winner is: %s\n"
	.text
	.globl	checkScore
	.type	checkScore, @function
checkScore:
.LFB18:
	.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	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -4[rbp], 0
	jmp	.L86
.L89:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	add	rax, rax
	add	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR 17[rax]
	cmp	al, 9
	jbe	.L87
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	add	rax, rax
	add	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC24[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	jmp	.L88
.L87:
	add	DWORD PTR -4[rbp], 1
.L86:
	cmp	DWORD PTR -4[rbp], 2
	jle	.L89
	mov	eax, 1
.L88:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE18:
	.size	checkScore, .-checkScore
	.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	"778509.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"rgb"
	.align	2
.LC1:
	.ascii	"ctr"
	.align	2
.LC2:
	.ascii	"123"
	.align	2
.LC3:
	.ascii	"bhe"
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 832
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #840
	ldr	r3, .L13
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #828
	mov	r0, r3
	bl	initializePlayerList
	ldr	r2, .L13+4
	sub	r3, fp, #24
	ldr	r2, [r2]
	strh	r2, [r3]	@ movhi
	add	r3, r3, #2
	lsr	r2, r2, #16
	strb	r2, [r3]
	ldr	r2, .L13+8
	sub	r3, fp, #20
	ldr	r2, [r2]
	strh	r2, [r3]	@ movhi
	add	r3, r3, #2
	lsr	r2, r2, #16
	strb	r2, [r3]
	ldr	r2, .L13+12
	sub	r3, fp, #16
	ldr	r2, [r2]
	strh	r2, [r3]	@ movhi
	add	r3, r3, #2
	lsr	r2, r2, #16
	strb	r2, [r3]
	ldr	r2, .L13+16
	sub	r3, fp, #12
	ldr	r2, [r2]
	strh	r2, [r3]	@ movhi
	add	r3, r3, #2
	lsr	r2, r2, #16
	strb	r2, [r3]
	mov	r0, #0
	bl	time
	mov	r3, r0
	mov	r0, r3
	bl	srand
	sub	ip, fp, #16
	sub	r2, fp, #20
	sub	r1, fp, #24
	sub	r0, fp, #672
	sub	r3, fp, #12
	str	r3, [sp]
	mov	r3, ip
	bl	createDeck
	sub	r2, fp, #768
	sub	r3, fp, #672
	mov	r1, r2
	mov	r0, r3
	bl	getNextCard
	sub	r3, fp, #828
	mov	r0, r3
	bl	printPlayerStatus
	sub	r3, fp, #768
	mov	r0, r3
	bl	printPlay
	b	.L2
.L8:
	ldr	r3, [fp, #-832]
	cmn	r3, #1
	beq	.L3
	ldr	r3, [fp, #-832]
	cmp	r3, #1
	bne	.L4
	ldrb	r2, [fp, #-833]	@ zero_extendqisi2
	sub	r1, fp, #768
	sub	r3, fp, #828
	mov	r0, r3
	bl	takePlayerCards
	mov	r3, r0
	cmp	r3, #1
	bne	.L11
	sub	ip, fp, #16
	sub	r2, fp, #20
	sub	r1, fp, #24
	sub	r0, fp, #672
	sub	r3, fp, #12
	str	r3, [sp]
	mov	r3, ip
	bl	createDeck
	sub	r2, fp, #768
	sub	r3, fp, #672
	mov	r1, r2
	mov	r0, r3
	bl	getNextCard
	b	.L11
.L3:
	sub	ip, fp, #16
	sub	r2, fp, #20
	sub	r1, fp, #24
	sub	r0, fp, #672
	sub	r3, fp, #12
	str	r3, [sp]
	mov	r3, ip
	bl	createDeck
	sub	r2, fp, #768
	sub	r3, fp, #672
	mov	r1, r2
	mov	r0, r3
	bl	getNextCard
	b	.L4
.L11:
	nop
.L4:
	sub	r3, fp, #828
	mov	r0, r3
	bl	printPlayerStatus
	sub	r3, fp, #828
	mov	r0, r3
	bl	checkScore
	mov	r3, r0
	cmp	r3, #0
	beq	.L12
	sub	r3, fp, #768
	mov	r0, r3
	bl	printPlay
.L2:
	sub	r3, fp, #832
	sub	r3, r3, #1
	sub	r2, fp, #828
	mov	r1, r3
	mov	r0, r2
	bl	checkPlayerID
	str	r0, [fp, #-832]
	ldr	r3, [fp, #-832]
	cmp	r3, #0
	bne	.L8
	b	.L7
.L12:
	nop
.L7:
	mov	r3, #0
	ldr	r2, .L13
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L10
	bl	__stack_chk_fail
.L10:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L14:
	.align	2
.L13:
	.word	.LC4
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	main, .-main
	.align	2
	.global	createDeck
	.syntax unified
	.arm
	.fpu softvfp
	.type	createDeck, %function
createDeck:
	@ args = 4, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #44
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	str	r3, [fp, #-44]
	mov	r3, #0
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L16
.L23:
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L17
.L22:
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L18
.L21:
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L19
.L20:
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-36]
	add	r2, r2, r3
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #3
	ldr	r1, [fp, #-32]
	add	r3, r1, r3
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-40]
	add	r2, r2, r3
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #3
	ldr	r1, [fp, #-32]
	add	r3, r1, r3
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3, #1]
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-44]
	add	r2, r2, r3
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #3
	ldr	r1, [fp, #-32]
	add	r3, r1, r3
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3, #2]
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #4]
	add	r2, r2, r3
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #3
	ldr	r1, [fp, #-32]
	add	r3, r1, r3
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3, #3]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L19:
	ldr	r3, [fp, #-12]
	cmp	r3, #2
	ble	.L20
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L18:
	ldr	r3, [fp, #-16]
	cmp	r3, #2
	ble	.L21
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L17:
	ldr	r3, [fp, #-20]
	cmp	r3, #2
	ble	.L22
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L16:
	ldr	r3, [fp, #-24]
	cmp	r3, #2
	ble	.L23
	nop
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	createDeck, .-createDeck
	.section	.rodata
	.align	2
.LC5:
	.ascii	"%d:[%c, %c, %c, %c, %d]\012\000"
	.align	2
.LC6:
	.ascii	"Number of cards: %d\012\012\000"
	.text
	.align	2
	.global	printDeck
	.syntax unified
	.arm
	.fpu softvfp
	.type	printDeck, %function
printDeck:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L25
.L26:
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	ip, r3
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3, #1]	@ zero_extendqisi2
	mov	lr, r3
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3, #2]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3, #3]	@ zero_extendqisi2
	mov	r0, r3
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	str	r3, [sp, #8]
	str	r0, [sp, #4]
	str	r1, [sp]
	mov	r3, lr
	mov	r2, ip
	ldr	r1, [fp, #-12]
	ldr	r0, .L27
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L25:
	ldr	r3, [fp, #-12]
	cmp	r3, #80
	ble	.L26
	ldr	r1, [fp, #-8]
	ldr	r0, .L27+4
	bl	printf
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L28:
	.align	2
.L27:
	.word	.LC5
	.word	.LC6
	.size	printDeck, .-printDeck
	.align	2
	.global	getNextCard
	.syntax unified
	.arm
	.fpu softvfp
	.type	getNextCard, %function
getNextCard:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L30
.L35:
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L31
.L34:
	bl	rand
	mov	r2, r0
	ldr	r3, .L36
	smull	r1, r3, r2, r3
	asr	r1, r3, #3
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #3
	add	r3, r3, r1
	lsl	r1, r3, #3
	add	r3, r3, r1
	sub	r3, r2, r3
	str	r3, [fp, #-8]
	b	.L32
.L33:
	bl	rand
	mov	r2, r0
	ldr	r3, .L36
	smull	r1, r3, r2, r3
	asr	r1, r3, #3
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #3
	add	r3, r3, r1
	lsl	r1, r3, #3
	add	r3, r3, r1
	sub	r3, r2, r3
	str	r3, [fp, #-8]
.L32:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	cmp	r3, #1
	beq	.L33
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	mov	r2, #1
	str	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-24]
	add	r1, r2, r3
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #5
	ldr	r2, [fp, #-28]
	add	r2, r2, r3
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #3
	add	r3, r2, r3
	mov	r2, r1
	ldm	r2, {r0, r1}
	stm	r3, {r0, r1}
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L31:
	ldr	r3, [fp, #-12]
	cmp	r3, #3
	ble	.L34
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L30:
	ldr	r3, [fp, #-16]
	cmp	r3, #2
	ble	.L35
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L37:
	.align	2
.L36:
	.word	424194301
	.size	getNextCard, .-getNextCard
	.section	.rodata
	.align	2
.LC7:
	.ascii	"\011\011\011**********SET GAME***********\012\000"
	.align	2
.LC8:
	.ascii	"[%c, %c, %c, %c] \000"
	.align	2
.LC9:
	.ascii	"\012\000"
	.align	2
.LC10:
	.ascii	"***************************************************"
	.ascii	"***************************\000"
	.align	2
.LC11:
	.ascii	"Number of cards: %d\012\000"
	.text
	.align	2
	.global	printPlay
	.syntax unified
	.arm
	.fpu softvfp
	.type	printPlay, %function
printPlay:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r0, .L43
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L39
.L42:
	mov	r0, #9
	bl	putchar
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L40
.L41:
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #5
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r2, [fp, #-12]
	ldrb	r3, [r3, r2, lsl #3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #5
	ldr	r2, [fp, #-24]
	add	r2, r2, r3
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldrb	r3, [r3, #1]	@ zero_extendqisi2
	mov	r0, r3
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #5
	ldr	r2, [fp, #-24]
	add	r2, r2, r3
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldrb	r3, [r3, #2]	@ zero_extendqisi2
	mov	ip, r3
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #5
	ldr	r2, [fp, #-24]
	add	r2, r2, r3
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldrb	r3, [r3, #3]	@ zero_extendqisi2
	str	r3, [sp]
	mov	r3, ip
	mov	r2, r0
	ldr	r0, .L43+4
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L40:
	ldr	r3, [fp, #-12]
	cmp	r3, #3
	ble	.L41
	ldr	r0, .L43+8
	bl	puts
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L39:
	ldr	r3, [fp, #-16]
	cmp	r3, #2
	ble	.L42
	ldr	r0, .L43+12
	bl	puts
	ldr	r1, [fp, #-8]
	ldr	r0, .L43+16
	bl	printf
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L44:
	.align	2
.L43:
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.size	printPlay, .-printPlay
	.section	.rodata
	.align	2
.LC12:
	.ascii	"Players on-line:\000"
	.align	2
.LC13:
	.ascii	"SCORE\000"
	.align	2
.LC14:
	.ascii	"ID\000"
	.align	2
.LC15:
	.ascii	"NAME\000"
	.align	2
.LC16:
	.ascii	"%20s\011%2s\011%5s\012\000"
	.align	2
.LC17:
	.ascii	"%20s\011%2c\011%5d\012\000"
	.text
	.align	2
	.global	printPlayerStatus
	.syntax unified
	.arm
	.fpu softvfp
	.type	printPlayerStatus, %function
printPlayerStatus:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	ldr	r0, .L48
	bl	puts
	ldr	r3, .L48+4
	ldr	r2, .L48+8
	ldr	r1, .L48+12
	ldr	r0, .L48+16
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L46
.L47:
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	mov	r1, r3
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3, #18]	@ zero_extendqisi2
	mov	r0, r3
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3, #17]	@ zero_extendqisi2
	mov	r2, r0
	ldr	r0, .L48+20
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L46:
	ldr	r3, [fp, #-8]
	cmp	r3, #2
	ble	.L47
	ldr	r0, .L48+24
	bl	puts
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L49:
	.align	2
.L48:
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC10
	.size	printPlayerStatus, .-printPlayerStatus
	.section	.rodata
	.align	2
.LC18:
	.ascii	"Marina Andreou\000"
	.align	2
.LC19:
	.ascii	"Kostas Grammenos\000"
	.align	2
.LC20:
	.ascii	"Maria Perdika\000"
	.text
	.align	2
	.global	initializePlayerList
	.syntax unified
	.arm
	.fpu softvfp
	.type	initializePlayerList, %function
initializePlayerList:
	@ 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]
	ldr	r3, [fp, #-8]
	ldr	r2, .L51
	mov	r0, r3
	mov	r1, r2
	mov	r3, #15
	mov	r2, r3
	bl	memcpy
	ldr	r3, [fp, #-8]
	mov	r2, #0
	strb	r2, [r3, #17]
	ldr	r3, [fp, #-8]
	mov	r2, #97
	strb	r2, [r3, #18]
	ldr	r3, [fp, #-8]
	add	r3, r3, #19
	mov	r2, r3
	ldr	r3, .L51+4
	mov	r0, r2
	mov	r1, r3
	mov	r3, #17
	mov	r2, r3
	bl	memcpy
	ldr	r3, [fp, #-8]
	add	r3, r3, #19
	mov	r2, #0
	strb	r2, [r3, #17]
	ldr	r3, [fp, #-8]
	add	r3, r3, #19
	mov	r2, #103
	strb	r2, [r3, #18]
	ldr	r3, [fp, #-8]
	add	r3, r3, #38
	mov	r2, r3
	ldr	r3, .L51+8
	mov	r0, r2
	mov	r1, r3
	mov	r3, #14
	mov	r2, r3
	bl	memcpy
	ldr	r3, [fp, #-8]
	add	r3, r3, #38
	mov	r2, #0
	strb	r2, [r3, #17]
	ldr	r3, [fp, #-8]
	add	r3, r3, #38
	mov	r2, #112
	strb	r2, [r3, #18]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L52:
	.align	2
.L51:
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.size	initializePlayerList, .-initializePlayerList
	.section	.rodata
	.align	2
.LC21:
	.ascii	"Please enter player id:\000"
	.align	2
.LC22:
	.ascii	" %c\000"
	.align	2
.LC23:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	checkPlayerID
	.syntax unified
	.arm
	.fpu softvfp
	.type	checkPlayerID, %function
checkPlayerID:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	ldr	r3, .L61
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L61+4
	bl	puts
	sub	r3, fp, #13
	mov	r1, r3
	ldr	r0, .L61+8
	bl	__isoc99_scanf
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #48
	bne	.L54
	mov	r3, #0
	b	.L59
.L54:
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L56
.L58:
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r2, [r3, #18]	@ zero_extendqisi2
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L57
	ldrb	r2, [fp, #-13]	@ zero_extendqisi2
	ldr	r3, [fp, #-28]
	strb	r2, [r3]
	mov	r3, #1
	b	.L59
.L57:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L56:
	ldr	r3, [fp, #-12]
	cmp	r3, #2
	ble	.L58
	mvn	r3, #0
.L59:
	ldr	r2, .L61
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L60
	bl	__stack_chk_fail
.L60:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L62:
	.align	2
.L61:
	.word	.LC23
	.word	.LC21
	.word	.LC22
	.size	checkPlayerID, .-checkPlayerID
	.align	2
	.global	findPlayer
	.syntax unified
	.arm
	.fpu softvfp
	.type	findPlayer, %function
findPlayer:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	mov	r3, r2
	strb	r3, [fp, #-21]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L64
.L67:
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldrb	r3, [r3, #18]	@ zero_extendqisi2
	ldrb	r2, [fp, #-21]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L65
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r2, [fp, #-16]
	mov	r0, r2
	mov	r1, r3
	mov	r3, #19
	mov	r2, r3
	bl	memcpy
	b	.L63
.L65:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L64:
	ldr	r3, [fp, #-8]
	cmp	r3, #2
	ble	.L67
	nop
.L63:
	ldr	r0, [fp, #-16]
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	findPlayer, .-findPlayer
	.section	.rodata
	.align	2
.LC24:
	.ascii	"%s playing...\012\000"
	.align	2
.LC25:
	.ascii	"Please provide 3 cards (ROW COLUMN):\000"
	.align	2
.LC26:
	.ascii	"Card number %d: \000"
	.align	2
.LC27:
	.ascii	"%d\000"
	.align	2
.LC28:
	.ascii	"Invalid card\000"
	.align	2
.LC29:
	.ascii	"Player's cards:\000"
	.align	2
.LC30:
	.ascii	"%d:[%c, %c, %c, %c] \000"
	.align	2
.LC31:
	.ascii	"SET!!!!\000"
	.align	2
.LC32:
	.ascii	"NOT SET!!!\000"
	.align	2
.LC33:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	takePlayerCards
	.syntax unified
	.arm
	.fpu softvfp
	.type	takePlayerCards, %function
takePlayerCards:
	@ args = 0, pretend = 0, frame = 104
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #112
	str	r0, [fp, #-72]
	str	r1, [fp, #-76]
	mov	r3, r2
	strb	r3, [fp, #-77]
	ldr	r3, .L78
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-64]
	sub	r3, fp, #108
	ldrb	r2, [fp, #-77]	@ zero_extendqisi2
	ldr	r1, [fp, #-72]
	mov	r0, r3
	bl	findPlayer
	sub	r3, fp, #52
	sub	r1, fp, #108
	mov	r2, #19
	mov	r0, r3
	bl	memcpy
	sub	r3, fp, #52
	mov	r1, r3
	ldr	r0, .L78+4
	bl	printf
	ldr	r0, .L78+8
	bl	puts
	b	.L69
.L71:
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	mov	r1, r3
	ldr	r0, .L78+12
	bl	printf
	sub	r3, fp, #68
	mov	r1, r3
	ldr	r0, .L78+16
	bl	__isoc99_scanf
	ldr	r3, [fp, #-68]
	ldr	r2, .L78+20
	smull	r1, r2, r3, r2
	asr	r2, r2, #2
	asr	r3, r3, #31
	sub	r3, r2, r3
	str	r3, [fp, #-60]
	ldr	r2, [fp, #-68]
	ldr	r3, .L78+20
	smull	r1, r3, r2, r3
	asr	r1, r3, #2
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #1
	sub	r3, r2, r3
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-60]
	cmp	r3, #0
	blt	.L70
	ldr	r3, [fp, #-60]
	cmp	r3, #2
	bgt	.L70
	ldr	r3, [fp, #-56]
	cmp	r3, #0
	blt	.L70
	ldr	r3, [fp, #-56]
	cmp	r3, #3
	bgt	.L70
	ldr	r3, [fp, #-60]
	lsl	r3, r3, #5
	ldr	r2, [fp, #-76]
	add	r1, r2, r3
	ldr	r3, [fp, #-64]
	lsl	r3, r3, #3
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r0, [fp, #-56]
	sub	r2, r3, #28
	lsl	r3, r0, #3
	add	r3, r1, r3
	ldm	r3, {r0, r1}
	stm	r2, {r0, r1}
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
	b	.L69
.L70:
	ldr	r0, .L78+24
	bl	puts
.L69:
	ldr	r3, [fp, #-64]
	cmp	r3, #2
	ble	.L71
	ldr	r0, .L78+28
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-64]
	b	.L72
.L73:
	ldr	r3, [fp, #-64]
	add	r1, r3, #1
	ldr	r3, [fp, #-64]
	lsl	r3, r3, #3
	sub	r2, fp, #4
	add	r3, r2, r3
	ldrb	r3, [r3, #-28]	@ zero_extendqisi2
	mov	r0, r3
	ldr	r3, [fp, #-64]
	lsl	r3, r3, #3
	sub	r2, fp, #4
	add	r3, r2, r3
	ldrb	r3, [r3, #-27]	@ zero_extendqisi2
	mov	ip, r3
	ldr	r3, [fp, #-64]
	lsl	r3, r3, #3
	sub	r2, fp, #4
	add	r3, r2, r3
	ldrb	r3, [r3, #-26]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-64]
	lsl	r3, r3, #3
	sub	lr, fp, #4
	add	r3, lr, r3
	ldrb	r3, [r3, #-25]	@ zero_extendqisi2
	str	r3, [sp, #4]
	str	r2, [sp]
	mov	r3, ip
	mov	r2, r0
	ldr	r0, .L78+32
	bl	printf
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
.L72:
	ldr	r3, [fp, #-64]
	cmp	r3, #2
	ble	.L73
	ldr	r0, .L78+36
	bl	puts
	sub	r3, fp, #32
	mov	r0, r3
	bl	checkIfSet
	mov	r3, r0
	cmp	r3, #1
	bne	.L74
	ldr	r0, .L78+40
	bl	puts
	ldr	r0, .L78+44
	bl	puts
	ldrb	r3, [fp, #-77]	@ zero_extendqisi2
	mov	r2, #2
	mov	r1, r3
	ldr	r0, [fp, #-72]
	bl	changeScore
	mov	r3, #1
	b	.L76
.L74:
	ldr	r0, .L78+48
	bl	puts
	ldr	r0, .L78+44
	bl	puts
	ldrb	r3, [fp, #-77]	@ zero_extendqisi2
	mvn	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-72]
	bl	changeScore
	mov	r3, #0
.L76:
	ldr	r2, .L78
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L77
	bl	__stack_chk_fail
.L77:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L79:
	.align	2
.L78:
	.word	.LC33
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.word	.LC27
	.word	1717986919
	.word	.LC28
	.word	.LC29
	.word	.LC30
	.word	.LC9
	.word	.LC31
	.word	.LC10
	.word	.LC32
	.size	takePlayerCards, .-takePlayerCards
	.align	2
	.global	checkIfSet
	.syntax unified
	.arm
	.fpu softvfp
	.type	checkIfSet, %function
checkIfSet:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #36
	str	r0, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L81
.L86:
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	lsl	r3, r3, #3
	ldr	r1, [fp, #-32]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L82
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L82:
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldrb	r2, [r3, #1]	@ zero_extendqisi2
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	lsl	r3, r3, #3
	ldr	r1, [fp, #-32]
	add	r3, r1, r3
	ldrb	r3, [r3, #1]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L83
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L83:
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldrb	r2, [r3, #2]	@ zero_extendqisi2
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	lsl	r3, r3, #3
	ldr	r1, [fp, #-32]
	add	r3, r1, r3
	ldrb	r3, [r3, #2]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L84
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L84:
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldrb	r2, [r3, #3]	@ zero_extendqisi2
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	lsl	r3, r3, #3
	ldr	r1, [fp, #-32]
	add	r3, r1, r3
	ldrb	r3, [r3, #3]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L85
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L85:
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L81:
	ldr	r3, [fp, #-28]
	cmp	r3, #1
	ble	.L86
	ldr	r3, [fp, #-24]
	cmp	r3, #2
	beq	.L87
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L88
.L87:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L88:
	ldr	r3, [fp, #-20]
	cmp	r3, #2
	beq	.L89
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L90
.L89:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L90:
	ldr	r3, [fp, #-16]
	cmp	r3, #2
	beq	.L91
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L92
.L91:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L92:
	ldr	r3, [fp, #-12]
	cmp	r3, #2
	beq	.L93
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L94
.L93:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L94:
	ldr	r3, [fp, #-8]
	cmp	r3, #4
	bne	.L95
	mov	r3, #1
	b	.L96
.L95:
	mov	r3, #0
.L96:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	checkIfSet, .-checkIfSet
	.align	2
	.global	changeScore
	.syntax unified
	.arm
	.fpu softvfp
	.type	changeScore, %function
changeScore:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #28
	str	r0, [fp, #-16]
	mov	r3, r1
	str	r2, [fp, #-24]
	strb	r3, [fp, #-17]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L98
.L100:
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3, #18]	@ zero_extendqisi2
	ldrb	r2, [fp, #-17]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L99
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r0, [r3, #17]	@ zero_extendqisi2
	ldr	r3, [fp, #-24]
	and	r1, r3, #255
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	add	r2, r0, r1
	and	r2, r2, #255
	strb	r2, [r3, #17]
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3, #17]	@ zero_extendqisi2
	cmp	r3, #255
	bne	.L99
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3, #17]
.L99:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L98:
	ldr	r3, [fp, #-8]
	cmp	r3, #2
	ble	.L100
	nop
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	changeScore, .-changeScore
	.section	.rodata
	.align	2
.LC34:
	.ascii	"Winner is: %s\012\000"
	.text
	.align	2
	.global	checkScore
	.syntax unified
	.arm
	.fpu softvfp
	.type	checkScore, %function
checkScore:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L102
.L105:
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3, #17]	@ zero_extendqisi2
	cmp	r3, #9
	bls	.L103
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L106
	bl	printf
	mov	r3, #0
	b	.L104
.L103:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L102:
	ldr	r3, [fp, #-8]
	cmp	r3, #2
	ble	.L105
	mov	r3, #1
.L104:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L107:
	.align	2
.L106:
	.word	.LC34
	.size	checkScore, .-checkScore
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
