	.file	"974482.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++"
	.align 8
.LC1:
	.string	"While entering card, enter 0c to exit 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, 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC0[rip]
	call	puts@PLT
.L2:
	lea	rdi, .LC1[rip]
	call	puts@PLT
	lea	rdx, -80[rbp]
	lea	rax, -64[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	read_cards
	lea	r9, -85[rbp]
	lea	r8, -86[rbp]
	lea	rcx, -87[rbp]
	lea	rdx, -88[rbp]
	lea	rsi, -80[rbp]
	lea	rax, -64[rbp]
	sub	rsp, 8
	lea	rdi, -84[rbp]
	push	rdi
	mov	rdi, rax
	call	analyze_hand
	add	rsp, 16
	lea	rdi, -84[rbp]
	lea	rcx, -85[rbp]
	lea	rdx, -86[rbp]
	lea	rsi, -87[rbp]
	lea	rax, -88[rbp]
	mov	r8, rdi
	mov	rdi, rax
	call	print_result
	jmp	.L2
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
.LC2:
	.string	"Enter a card: "
.LC3:
	.string	"Bad card; ignored."
.LC4:
	.string	"Duplicate card; ignored."
	.text
	.globl	read_cards
	.type	read_cards, @function
read_cards:
.LFB7:
	.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	QWORD PTR -88[rbp], rdi
	mov	QWORD PTR -96[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -68[rbp], 0
	mov	DWORD PTR -76[rbp], 0
	jmp	.L5
.L8:
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rdx
	mov	DWORD PTR [rax], 0
	mov	DWORD PTR -72[rbp], 0
	jmp	.L6
.L7:
	mov	eax, DWORD PTR -72[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	sal	rax, 2
	add	rax, rbp
	add	rax, rdx
	sub	rax, 64
	mov	BYTE PTR [rax], 0
	add	DWORD PTR -72[rbp], 1
.L6:
	cmp	DWORD PTR -72[rbp], 3
	jle	.L7
	add	DWORD PTR -76[rbp], 1
.L5:
	cmp	DWORD PTR -76[rbp], 12
	jle	.L8
	mov	DWORD PTR -72[rbp], 0
	jmp	.L9
.L10:
	mov	eax, DWORD PTR -72[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	mov	DWORD PTR [rax], 0
	add	DWORD PTR -72[rbp], 1
.L9:
	cmp	DWORD PTR -72[rbp], 3
	jle	.L10
	jmp	.L11
.L40:
	mov	BYTE PTR -80[rbp], 0
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	call	getchar@PLT
	mov	BYTE PTR -79[rbp], al
	movsx	eax, BYTE PTR -79[rbp]
	sub	eax, 48
	cmp	eax, 68
	ja	.L12
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L14[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L14[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L14:
	.long	.L27-.L14
	.long	.L12-.L14
	.long	.L26-.L14
	.long	.L25-.L14
	.long	.L24-.L14
	.long	.L23-.L14
	.long	.L22-.L14
	.long	.L21-.L14
	.long	.L20-.L14
	.long	.L19-.L14
	.long	.L12-.L14
	.long	.L12-.L14
	.long	.L12-.L14
	.long	.L12-.L14
	.long	.L12-.L14
	.long	.L12-.L14
	.long	.L12-.L14
	.long	.L18-.L14
	.long	.L12-.L14
	.long	.L12-.L14
	.long	.L12-.L14
	.long	.L12-.L14
	.long	.L12-.L14
	.long	.L12-.L14
	.long	.L12-.L14
	.long	.L12-.L14
	.long	.L17-.L14
	.long	.L16-.L14
	.long	.L12-.L14
	.long	.L12-.L14
	.long	.L12-.L14
	.long	.L12-.L14
	.long	.L12-.L14
	.long	.L15-.L14
	.long	.L12-.L14
	.long	.L12-.L14
	.long	.L13-.L14
	.long	.L12-.L14
	.long	.L12-.L14
	.long	.L12-.L14
	.long	.L12-.L14
	.long	.L12-.L14
	.long	.L12-.L14
	.long	.L12-.L14
	.long	.L12-.L14
	.long	.L12-.L14
	.long	.L12-.L14
	.long	.L12-.L14
	.long	.L12-.L14
	.long	.L18-.L14
	.long	.L12-.L14
	.long	.L12-.L14
	.long	.L12-.L14
	.long	.L12-.L14
	.long	.L12-.L14
	.long	.L12-.L14
	.long	.L12-.L14
	.long	.L12-.L14
	.long	.L17-.L14
	.long	.L16-.L14
	.long	.L12-.L14
	.long	.L12-.L14
	.long	.L12-.L14
	.long	.L12-.L14
	.long	.L12-.L14
	.long	.L15-.L14
	.long	.L12-.L14
	.long	.L12-.L14
	.long	.L13-.L14
	.text
.L27:
	mov	edi, 0
	call	exit@PLT
.L26:
	mov	DWORD PTR -76[rbp], 0
	jmp	.L28
.L25:
	mov	DWORD PTR -76[rbp], 1
	jmp	.L28
.L24:
	mov	DWORD PTR -76[rbp], 2
	jmp	.L28
.L23:
	mov	DWORD PTR -76[rbp], 3
	jmp	.L28
.L22:
	mov	DWORD PTR -76[rbp], 4
	jmp	.L28
.L21:
	mov	DWORD PTR -76[rbp], 5
	jmp	.L28
.L20:
	mov	DWORD PTR -76[rbp], 6
	jmp	.L28
.L19:
	mov	DWORD PTR -76[rbp], 7
	jmp	.L28
.L13:
	mov	DWORD PTR -76[rbp], 8
	jmp	.L28
.L17:
	mov	DWORD PTR -76[rbp], 9
	jmp	.L28
.L15:
	mov	DWORD PTR -76[rbp], 10
	jmp	.L28
.L16:
	mov	DWORD PTR -76[rbp], 11
	jmp	.L28
.L18:
	mov	DWORD PTR -76[rbp], 12
	jmp	.L28
.L12:
	mov	BYTE PTR -80[rbp], 1
.L28:
	call	getchar@PLT
	mov	BYTE PTR -78[rbp], al
	movsx	eax, BYTE PTR -78[rbp]
	sub	eax, 67
	cmp	eax, 48
	ja	.L29
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L31[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L31[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L31:
	.long	.L34-.L31
	.long	.L33-.L31
	.long	.L29-.L31
	.long	.L29-.L31
	.long	.L29-.L31
	.long	.L32-.L31
	.long	.L29-.L31
	.long	.L29-.L31
	.long	.L29-.L31
	.long	.L29-.L31
	.long	.L29-.L31
	.long	.L29-.L31
	.long	.L29-.L31
	.long	.L29-.L31
	.long	.L29-.L31
	.long	.L29-.L31
	.long	.L30-.L31
	.long	.L29-.L31
	.long	.L29-.L31
	.long	.L29-.L31
	.long	.L29-.L31
	.long	.L29-.L31
	.long	.L29-.L31
	.long	.L29-.L31
	.long	.L29-.L31
	.long	.L29-.L31
	.long	.L29-.L31
	.long	.L29-.L31
	.long	.L29-.L31
	.long	.L29-.L31
	.long	.L29-.L31
	.long	.L29-.L31
	.long	.L34-.L31
	.long	.L33-.L31
	.long	.L29-.L31
	.long	.L29-.L31
	.long	.L29-.L31
	.long	.L32-.L31
	.long	.L29-.L31
	.long	.L29-.L31
	.long	.L29-.L31
	.long	.L29-.L31
	.long	.L29-.L31
	.long	.L29-.L31
	.long	.L29-.L31
	.long	.L29-.L31
	.long	.L29-.L31
	.long	.L29-.L31
	.long	.L30-.L31
	.text
.L34:
	mov	DWORD PTR -72[rbp], 0
	jmp	.L35
.L33:
	mov	DWORD PTR -72[rbp], 1
	jmp	.L35
.L32:
	mov	DWORD PTR -72[rbp], 2
	jmp	.L35
.L30:
	mov	DWORD PTR -72[rbp], 3
	jmp	.L35
.L29:
	mov	BYTE PTR -80[rbp], 1
.L35:
	jmp	.L36
.L37:
	cmp	BYTE PTR -77[rbp], 32
	je	.L36
	mov	BYTE PTR -80[rbp], 1
.L36:
	call	getchar@PLT
	mov	BYTE PTR -77[rbp], al
	cmp	BYTE PTR -77[rbp], 10
	jne	.L37
	cmp	BYTE PTR -80[rbp], 0
	je	.L38
	lea	rdi, .LC3[rip]
	call	puts@PLT
	jmp	.L11
.L38:
	mov	eax, DWORD PTR -72[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	sal	rax, 2
	add	rax, rbp
	add	rax, rdx
	sub	rax, 64
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L39
	lea	rdi, .LC4[rip]
	call	puts@PLT
	jmp	.L11
.L39:
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	add	edx, 1
	mov	DWORD PTR [rax], edx
	mov	eax, DWORD PTR -72[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	add	edx, 1
	mov	DWORD PTR [rax], edx
	mov	eax, DWORD PTR -72[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	sal	rax, 2
	add	rax, rbp
	add	rax, rdx
	sub	rax, 64
	mov	BYTE PTR [rax], 1
	add	DWORD PTR -68[rbp], 1
.L11:
	cmp	DWORD PTR -68[rbp], 4
	jle	.L40
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L41
	call	__stack_chk_fail@PLT
.L41:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	read_cards, .-read_cards
	.globl	analyze_hand
	.type	analyze_hand, @function
analyze_hand:
.LFB8:
	.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	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	QWORD PTR -48[rbp], rcx
	mov	QWORD PTR -56[rbp], r8
	mov	QWORD PTR -64[rbp], r9
	mov	DWORD PTR -12[rbp], 0
	mov	rax, QWORD PTR -40[rbp]
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -48[rbp]
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -56[rbp]
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -64[rbp]
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR 16[rbp]
	mov	DWORD PTR [rax], 0
	mov	DWORD PTR -4[rbp], 0
	jmp	.L43
.L45:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cmp	eax, 5
	jne	.L44
	mov	rax, QWORD PTR -48[rbp]
	mov	BYTE PTR [rax], 1
.L44:
	add	DWORD PTR -4[rbp], 1
.L43:
	cmp	DWORD PTR -4[rbp], 3
	jle	.L45
	mov	DWORD PTR -8[rbp], 0
	jmp	.L46
.L47:
	add	DWORD PTR -8[rbp], 1
.L46:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	je	.L47
	jmp	.L48
.L50:
	add	DWORD PTR -12[rbp], 1
	add	DWORD PTR -8[rbp], 1
.L48:
	cmp	DWORD PTR -8[rbp], 12
	jg	.L49
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jg	.L50
.L49:
	cmp	DWORD PTR -12[rbp], 5
	jne	.L51
	mov	rax, QWORD PTR -40[rbp]
	mov	BYTE PTR [rax], 1
	jmp	.L42
.L51:
	mov	DWORD PTR -8[rbp], 0
	jmp	.L53
.L57:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cmp	eax, 4
	jne	.L54
	mov	rax, QWORD PTR -56[rbp]
	mov	BYTE PTR [rax], 1
.L54:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cmp	eax, 3
	jne	.L55
	mov	rax, QWORD PTR -64[rbp]
	mov	BYTE PTR [rax], 1
.L55:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cmp	eax, 2
	jne	.L56
	mov	rax, QWORD PTR 16[rbp]
	mov	eax, DWORD PTR [rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR 16[rbp]
	mov	DWORD PTR [rax], edx
.L56:
	add	DWORD PTR -8[rbp], 1
.L53:
	cmp	DWORD PTR -8[rbp], 12
	jle	.L57
.L42:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	analyze_hand, .-analyze_hand
	.section	.rodata
.LC5:
	.string	"Straight flush"
.LC6:
	.string	"Four of a kind"
.LC7:
	.string	"Full house"
.LC8:
	.string	"Flush"
.LC9:
	.string	"Straight"
.LC10:
	.string	"Three of a kind"
.LC11:
	.string	"Two pairs"
.LC12:
	.string	"Pair"
.LC13:
	.string	"High card"
.LC14:
	.string	"\n"
	.text
	.globl	print_result
	.type	print_result, @function
print_result:
.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, 48
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	QWORD PTR -24[rbp], rdx
	mov	QWORD PTR -32[rbp], rcx
	mov	QWORD PTR -40[rbp], r8
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L59
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L59
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L60
.L59:
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L61
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L60
.L61:
	mov	rax, QWORD PTR -32[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L62
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	eax, 1
	jne	.L62
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L60
.L62:
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L63
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L60
.L63:
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L64
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L60
.L64:
	mov	rax, QWORD PTR -32[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L65
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L60
.L65:
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	eax, 2
	jne	.L66
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L60
.L66:
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	eax, 1
	jne	.L67
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L60
.L67:
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
.L60:
	lea	rdi, .LC14[rip]
	call	puts@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	print_result, .-print_result
	.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	"974482.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"+++++++++++++++++++++++++++++++++++++++++++++++++++"
	.ascii	"+++++++++++++++++\000"
	.align	2
.LC1:
	.ascii	"While entering card, enter 0c to exit game.\000"
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 80
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #96
	ldr	r3, .L4
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L4+4
	bl	puts
.L2:
	ldr	r0, .L4+8
	bl	puts
	sub	r2, fp, #76
	sub	r3, fp, #60
	mov	r1, r2
	mov	r0, r3
	bl	read_cards
	sub	ip, fp, #83
	sub	r2, fp, #84
	sub	r1, fp, #76
	sub	r0, fp, #60
	sub	r3, fp, #80
	str	r3, [sp, #8]
	sub	r3, fp, #81
	str	r3, [sp, #4]
	sub	r3, fp, #82
	str	r3, [sp]
	mov	r3, ip
	bl	analyze_hand
	sub	ip, fp, #81
	sub	r2, fp, #82
	sub	r1, fp, #83
	sub	r0, fp, #84
	sub	r3, fp, #80
	str	r3, [sp]
	mov	r3, ip
	bl	print_result
	b	.L2
.L5:
	.align	2
.L4:
	.word	.LC2
	.word	.LC0
	.word	.LC1
	.size	main, .-main
	.section	.rodata
	.align	2
.LC3:
	.ascii	"Enter a card: \000"
	.align	2
.LC4:
	.ascii	"Bad card; ignored.\000"
	.align	2
.LC5:
	.ascii	"Duplicate card; ignored.\000"
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	read_cards
	.syntax unified
	.arm
	.fpu softvfp
	.type	read_cards, %function
read_cards:
	@ args = 0, pretend = 0, frame = 80
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #80
	str	r0, [fp, #-80]
	str	r1, [fp, #-84]
	ldr	r3, .L44
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-64]
	mov	r3, #0
	str	r3, [fp, #-72]
	b	.L7
.L10:
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-80]
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-68]
	b	.L8
.L9:
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r2, r2, r3
	ldr	r3, [fp, #-68]
	add	r3, r2, r3
	sub	r3, r3, #56
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-68]
	add	r3, r3, #1
	str	r3, [fp, #-68]
.L8:
	ldr	r3, [fp, #-68]
	cmp	r3, #3
	ble	.L9
	ldr	r3, [fp, #-72]
	add	r3, r3, #1
	str	r3, [fp, #-72]
.L7:
	ldr	r3, [fp, #-72]
	cmp	r3, #12
	ble	.L10
	mov	r3, #0
	str	r3, [fp, #-68]
	b	.L11
.L12:
	ldr	r3, [fp, #-68]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-84]
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-68]
	add	r3, r3, #1
	str	r3, [fp, #-68]
.L11:
	ldr	r3, [fp, #-68]
	cmp	r3, #3
	ble	.L12
	b	.L13
.L42:
	mov	r3, #0
	strb	r3, [fp, #-76]
	ldr	r0, .L44+4
	bl	printf
	bl	getchar
	mov	r3, r0
	strb	r3, [fp, #-75]
	ldrb	r3, [fp, #-75]	@ zero_extendqisi2
	sub	r3, r3, #48
	cmp	r3, #68
	ldrls	pc, [pc, r3, asl #2]
	b	.L14
.L16:
	.word	.L29
	.word	.L14
	.word	.L28
	.word	.L27
	.word	.L26
	.word	.L25
	.word	.L24
	.word	.L23
	.word	.L22
	.word	.L21
	.word	.L14
	.word	.L14
	.word	.L14
	.word	.L14
	.word	.L14
	.word	.L14
	.word	.L14
	.word	.L20
	.word	.L14
	.word	.L14
	.word	.L14
	.word	.L14
	.word	.L14
	.word	.L14
	.word	.L14
	.word	.L14
	.word	.L19
	.word	.L18
	.word	.L14
	.word	.L14
	.word	.L14
	.word	.L14
	.word	.L14
	.word	.L17
	.word	.L14
	.word	.L14
	.word	.L15
	.word	.L14
	.word	.L14
	.word	.L14
	.word	.L14
	.word	.L14
	.word	.L14
	.word	.L14
	.word	.L14
	.word	.L14
	.word	.L14
	.word	.L14
	.word	.L14
	.word	.L20
	.word	.L14
	.word	.L14
	.word	.L14
	.word	.L14
	.word	.L14
	.word	.L14
	.word	.L14
	.word	.L14
	.word	.L19
	.word	.L18
	.word	.L14
	.word	.L14
	.word	.L14
	.word	.L14
	.word	.L14
	.word	.L17
	.word	.L14
	.word	.L14
	.word	.L15
.L29:
	mov	r0, #0
	bl	exit
.L28:
	mov	r3, #0
	str	r3, [fp, #-72]
	b	.L30
.L27:
	mov	r3, #1
	str	r3, [fp, #-72]
	b	.L30
.L26:
	mov	r3, #2
	str	r3, [fp, #-72]
	b	.L30
.L25:
	mov	r3, #3
	str	r3, [fp, #-72]
	b	.L30
.L24:
	mov	r3, #4
	str	r3, [fp, #-72]
	b	.L30
.L23:
	mov	r3, #5
	str	r3, [fp, #-72]
	b	.L30
.L22:
	mov	r3, #6
	str	r3, [fp, #-72]
	b	.L30
.L21:
	mov	r3, #7
	str	r3, [fp, #-72]
	b	.L30
.L15:
	mov	r3, #8
	str	r3, [fp, #-72]
	b	.L30
.L19:
	mov	r3, #9
	str	r3, [fp, #-72]
	b	.L30
.L17:
	mov	r3, #10
	str	r3, [fp, #-72]
	b	.L30
.L18:
	mov	r3, #11
	str	r3, [fp, #-72]
	b	.L30
.L20:
	mov	r3, #12
	str	r3, [fp, #-72]
	b	.L30
.L14:
	mov	r3, #1
	strb	r3, [fp, #-76]
.L30:
	bl	getchar
	mov	r3, r0
	strb	r3, [fp, #-74]
	ldrb	r3, [fp, #-74]	@ zero_extendqisi2
	sub	r3, r3, #67
	cmp	r3, #48
	ldrls	pc, [pc, r3, asl #2]
	b	.L31
.L33:
	.word	.L36
	.word	.L35
	.word	.L31
	.word	.L31
	.word	.L31
	.word	.L34
	.word	.L31
	.word	.L31
	.word	.L31
	.word	.L31
	.word	.L31
	.word	.L31
	.word	.L31
	.word	.L31
	.word	.L31
	.word	.L31
	.word	.L32
	.word	.L31
	.word	.L31
	.word	.L31
	.word	.L31
	.word	.L31
	.word	.L31
	.word	.L31
	.word	.L31
	.word	.L31
	.word	.L31
	.word	.L31
	.word	.L31
	.word	.L31
	.word	.L31
	.word	.L31
	.word	.L36
	.word	.L35
	.word	.L31
	.word	.L31
	.word	.L31
	.word	.L34
	.word	.L31
	.word	.L31
	.word	.L31
	.word	.L31
	.word	.L31
	.word	.L31
	.word	.L31
	.word	.L31
	.word	.L31
	.word	.L31
	.word	.L32
.L36:
	mov	r3, #0
	str	r3, [fp, #-68]
	b	.L37
.L35:
	mov	r3, #1
	str	r3, [fp, #-68]
	b	.L37
.L34:
	mov	r3, #2
	str	r3, [fp, #-68]
	b	.L37
.L32:
	mov	r3, #3
	str	r3, [fp, #-68]
	b	.L37
.L31:
	mov	r3, #1
	strb	r3, [fp, #-76]
.L37:
	b	.L38
.L39:
	ldrb	r3, [fp, #-73]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L38
	mov	r3, #1
	strb	r3, [fp, #-76]
.L38:
	bl	getchar
	mov	r3, r0
	strb	r3, [fp, #-73]
	ldrb	r3, [fp, #-73]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L39
	ldrb	r3, [fp, #-76]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L40
	ldr	r0, .L44+8
	bl	puts
	b	.L13
.L40:
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r2, r2, r3
	ldr	r3, [fp, #-68]
	add	r3, r2, r3
	sub	r3, r3, #56
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L41
	ldr	r0, .L44+12
	bl	puts
	b	.L13
.L41:
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-80]
	add	r3, r2, r3
	ldr	r2, [r3]
	add	r2, r2, #1
	str	r2, [r3]
	ldr	r3, [fp, #-68]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-84]
	add	r3, r2, r3
	ldr	r2, [r3]
	add	r2, r2, #1
	str	r2, [r3]
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r2, r2, r3
	ldr	r3, [fp, #-68]
	add	r3, r2, r3
	sub	r3, r3, #56
	mov	r2, #1
	strb	r2, [r3]
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
.L13:
	ldr	r3, [fp, #-64]
	cmp	r3, #4
	ble	.L42
	nop
	ldr	r3, .L44
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L43
	bl	__stack_chk_fail
.L43:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L45:
	.align	2
.L44:
	.word	.LC6
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.size	read_cards, .-read_cards
	.align	2
	.global	analyze_hand
	.syntax unified
	.arm
	.fpu softvfp
	.type	analyze_hand, %function
analyze_hand:
	@ args = 12, 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, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-32]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-36]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #4]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #8]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #12]
	mov	r2, #0
	str	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L47
.L49:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #5
	bne	.L48
	ldr	r3, [fp, #-36]
	mov	r2, #1
	strb	r2, [r3]
.L48:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L47:
	ldr	r3, [fp, #-8]
	cmp	r3, #3
	ble	.L49
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L50
.L51:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L50:
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L51
	b	.L52
.L54:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L52:
	ldr	r3, [fp, #-12]
	cmp	r3, #12
	bgt	.L53
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	bgt	.L54
.L53:
	ldr	r3, [fp, #-16]
	cmp	r3, #5
	bne	.L55
	ldr	r3, [fp, #-32]
	mov	r2, #1
	strb	r2, [r3]
	b	.L46
.L55:
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L57
.L61:
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #4
	bne	.L58
	ldr	r3, [fp, #4]
	mov	r2, #1
	strb	r2, [r3]
.L58:
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #3
	bne	.L59
	ldr	r3, [fp, #8]
	mov	r2, #1
	strb	r2, [r3]
.L59:
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #2
	bne	.L60
	ldr	r3, [fp, #12]
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r3, [fp, #12]
	str	r2, [r3]
.L60:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L57:
	ldr	r3, [fp, #-12]
	cmp	r3, #12
	ble	.L61
.L46:
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	analyze_hand, .-analyze_hand
	.section	.rodata
	.align	2
.LC7:
	.ascii	"Straight flush\000"
	.align	2
.LC8:
	.ascii	"Four of a kind\000"
	.align	2
.LC9:
	.ascii	"Full house\000"
	.align	2
.LC10:
	.ascii	"Flush\000"
	.align	2
.LC11:
	.ascii	"Straight\000"
	.align	2
.LC12:
	.ascii	"Three of a kind\000"
	.align	2
.LC13:
	.ascii	"Two pairs\000"
	.align	2
.LC14:
	.ascii	"Pair\000"
	.align	2
.LC15:
	.ascii	"High card\000"
	.align	2
.LC16:
	.ascii	"\012\000"
	.text
	.align	2
	.global	print_result
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_result, %function
print_result:
	@ args = 4, 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, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L63
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L63
	ldr	r0, .L72
	bl	printf
	b	.L64
.L63:
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L65
	ldr	r0, .L72+4
	bl	printf
	b	.L64
.L65:
	ldr	r3, [fp, #-20]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L66
	ldr	r3, [fp, #4]
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L66
	ldr	r0, .L72+8
	bl	printf
	b	.L64
.L66:
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L67
	ldr	r0, .L72+12
	bl	printf
	b	.L64
.L67:
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L68
	ldr	r0, .L72+16
	bl	printf
	b	.L64
.L68:
	ldr	r3, [fp, #-20]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L69
	ldr	r0, .L72+20
	bl	printf
	b	.L64
.L69:
	ldr	r3, [fp, #4]
	ldr	r3, [r3]
	cmp	r3, #2
	bne	.L70
	ldr	r0, .L72+24
	bl	printf
	b	.L64
.L70:
	ldr	r3, [fp, #4]
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L71
	ldr	r0, .L72+28
	bl	printf
	b	.L64
.L71:
	ldr	r0, .L72+32
	bl	printf
.L64:
	ldr	r0, .L72+36
	bl	puts
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L73:
	.align	2
.L72:
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.size	print_result, .-print_result
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
