	.file	"647395.c"
	.intel_syntax noprefix
	.text
	.globl	hand
	.bss
	.align 32
	.type	hand, @object
	.size	hand, 40
hand:
	.zero	40
	.globl	straight
	.type	straight, @object
	.size	straight, 1
straight:
	.zero	1
	.globl	flush
	.type	flush, @object
	.size	flush, 1
flush:
	.zero	1
	.globl	four
	.type	four, @object
	.size	four, 1
four:
	.zero	1
	.globl	three
	.type	three, @object
	.size	three, 1
three:
	.zero	1
	.globl	pairs
	.align 4
	.type	pairs, @object
	.size	pairs, 4
pairs:
	.zero	4
	.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
.L2:
	call	read_cards
	call	analyze_hand
	call	print_result
	jmp	.L2
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC0:
	.string	"Enter a card (rank and suit, for example 2s): "
.LC1:
	.string	"Bad card; ignored."
.LC2:
	.string	"That's a duplicate. 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, 32
	mov	BYTE PTR -20[rbp], 0
	mov	DWORD PTR -8[rbp], 0
	jmp	.L4
.L35:
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	call	getchar@PLT
	mov	BYTE PTR -19[rbp], al
	movsx	eax, BYTE PTR -19[rbp]
	sub	eax, 48
	cmp	eax, 68
	ja	.L5
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L7[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L7[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L7:
	.long	.L20-.L7
	.long	.L5-.L7
	.long	.L19-.L7
	.long	.L18-.L7
	.long	.L17-.L7
	.long	.L16-.L7
	.long	.L15-.L7
	.long	.L14-.L7
	.long	.L13-.L7
	.long	.L12-.L7
	.long	.L5-.L7
	.long	.L5-.L7
	.long	.L5-.L7
	.long	.L5-.L7
	.long	.L5-.L7
	.long	.L5-.L7
	.long	.L5-.L7
	.long	.L11-.L7
	.long	.L5-.L7
	.long	.L5-.L7
	.long	.L5-.L7
	.long	.L5-.L7
	.long	.L5-.L7
	.long	.L5-.L7
	.long	.L5-.L7
	.long	.L5-.L7
	.long	.L10-.L7
	.long	.L9-.L7
	.long	.L5-.L7
	.long	.L5-.L7
	.long	.L5-.L7
	.long	.L5-.L7
	.long	.L5-.L7
	.long	.L8-.L7
	.long	.L5-.L7
	.long	.L5-.L7
	.long	.L6-.L7
	.long	.L5-.L7
	.long	.L5-.L7
	.long	.L5-.L7
	.long	.L5-.L7
	.long	.L5-.L7
	.long	.L5-.L7
	.long	.L5-.L7
	.long	.L5-.L7
	.long	.L5-.L7
	.long	.L5-.L7
	.long	.L5-.L7
	.long	.L5-.L7
	.long	.L11-.L7
	.long	.L5-.L7
	.long	.L5-.L7
	.long	.L5-.L7
	.long	.L5-.L7
	.long	.L5-.L7
	.long	.L5-.L7
	.long	.L5-.L7
	.long	.L5-.L7
	.long	.L10-.L7
	.long	.L9-.L7
	.long	.L5-.L7
	.long	.L5-.L7
	.long	.L5-.L7
	.long	.L5-.L7
	.long	.L5-.L7
	.long	.L8-.L7
	.long	.L5-.L7
	.long	.L5-.L7
	.long	.L6-.L7
	.text
.L20:
	mov	edi, 0
	call	exit@PLT
.L19:
	mov	DWORD PTR -16[rbp], 0
	jmp	.L21
.L18:
	mov	DWORD PTR -16[rbp], 1
	jmp	.L21
.L17:
	mov	DWORD PTR -16[rbp], 2
	jmp	.L21
.L16:
	mov	DWORD PTR -16[rbp], 3
	jmp	.L21
.L15:
	mov	DWORD PTR -16[rbp], 4
	jmp	.L21
.L14:
	mov	DWORD PTR -16[rbp], 5
	jmp	.L21
.L13:
	mov	DWORD PTR -16[rbp], 6
	jmp	.L21
.L12:
	mov	DWORD PTR -16[rbp], 7
	jmp	.L21
.L6:
	mov	DWORD PTR -16[rbp], 8
	jmp	.L21
.L10:
	mov	DWORD PTR -16[rbp], 9
	jmp	.L21
.L8:
	mov	DWORD PTR -16[rbp], 10
	jmp	.L21
.L9:
	mov	DWORD PTR -16[rbp], 11
	jmp	.L21
.L11:
	mov	DWORD PTR -16[rbp], 12
	jmp	.L21
.L5:
	mov	BYTE PTR -20[rbp], 1
.L21:
	call	getchar@PLT
	mov	BYTE PTR -18[rbp], al
	movsx	eax, BYTE PTR -18[rbp]
	sub	eax, 67
	cmp	eax, 48
	ja	.L22
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L24[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L24[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L24:
	.long	.L27-.L24
	.long	.L26-.L24
	.long	.L22-.L24
	.long	.L22-.L24
	.long	.L22-.L24
	.long	.L25-.L24
	.long	.L22-.L24
	.long	.L22-.L24
	.long	.L22-.L24
	.long	.L22-.L24
	.long	.L22-.L24
	.long	.L22-.L24
	.long	.L22-.L24
	.long	.L22-.L24
	.long	.L22-.L24
	.long	.L22-.L24
	.long	.L23-.L24
	.long	.L22-.L24
	.long	.L22-.L24
	.long	.L22-.L24
	.long	.L22-.L24
	.long	.L22-.L24
	.long	.L22-.L24
	.long	.L22-.L24
	.long	.L22-.L24
	.long	.L22-.L24
	.long	.L22-.L24
	.long	.L22-.L24
	.long	.L22-.L24
	.long	.L22-.L24
	.long	.L22-.L24
	.long	.L22-.L24
	.long	.L27-.L24
	.long	.L26-.L24
	.long	.L22-.L24
	.long	.L22-.L24
	.long	.L22-.L24
	.long	.L25-.L24
	.long	.L22-.L24
	.long	.L22-.L24
	.long	.L22-.L24
	.long	.L22-.L24
	.long	.L22-.L24
	.long	.L22-.L24
	.long	.L22-.L24
	.long	.L22-.L24
	.long	.L22-.L24
	.long	.L22-.L24
	.long	.L23-.L24
	.text
.L27:
	mov	DWORD PTR -12[rbp], 0
	jmp	.L28
.L26:
	mov	DWORD PTR -12[rbp], 1
	jmp	.L28
.L25:
	mov	DWORD PTR -12[rbp], 2
	jmp	.L28
.L23:
	mov	DWORD PTR -12[rbp], 3
	jmp	.L28
.L22:
	mov	BYTE PTR -20[rbp], 1
.L28:
	jmp	.L29
.L30:
	cmp	BYTE PTR -17[rbp], 32
	je	.L29
	mov	BYTE PTR -20[rbp], 1
.L29:
	call	getchar@PLT
	mov	BYTE PTR -17[rbp], al
	cmp	BYTE PTR -17[rbp], 10
	jne	.L30
	cmp	BYTE PTR -20[rbp], 0
	je	.L31
	lea	rdi, .LC1[rip]
	call	puts@PLT
.L31:
	mov	DWORD PTR -4[rbp], 0
	jmp	.L32
.L34:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, hand[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	DWORD PTR -16[rbp], eax
	jne	.L33
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, hand[rip+4]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	DWORD PTR -12[rbp], eax
	jne	.L33
	lea	rdi, .LC2[rip]
	call	puts@PLT
.L33:
	add	DWORD PTR -4[rbp], 1
.L32:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -8[rbp]
	jl	.L34
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rcx, 0[0+rax*8]
	lea	rdx, hand[rip]
	mov	eax, DWORD PTR -16[rbp]
	mov	DWORD PTR [rcx+rdx], eax
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rcx, 0[0+rax*8]
	lea	rdx, hand[rip+4]
	mov	eax, DWORD PTR -12[rbp]
	mov	DWORD PTR [rcx+rdx], eax
	add	DWORD PTR -8[rbp], 1
.L4:
	cmp	DWORD PTR -8[rbp], 4
	jle	.L35
	nop
	nop
	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
	sub	rsp, 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -68[rbp], 0
	mov	DWORD PTR -72[rbp], 0
	mov	BYTE PTR straight[rip], 0
	mov	BYTE PTR flush[rip], 1
	mov	BYTE PTR four[rip], 0
	mov	BYTE PTR three[rip], 0
	mov	DWORD PTR pairs[rip], 0
	mov	DWORD PTR -72[rbp], 0
	jmp	.L37
.L41:
	mov	DWORD PTR -76[rbp], 0
	jmp	.L38
.L40:
	mov	eax, DWORD PTR -76[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -72[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, hand[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -72[rbp]
	lea	ecx, 1[rax]
	mov	eax, DWORD PTR -76[rbp]
	movsx	rsi, eax
	movsx	rax, ecx
	add	rax, rax
	add	rax, rsi
	lea	rcx, 0[0+rax*4]
	lea	rax, hand[rip]
	mov	eax, DWORD PTR [rcx+rax]
	cmp	edx, eax
	je	.L39
	mov	BYTE PTR flush[rip], 0
.L39:
	add	DWORD PTR -76[rbp], 1
.L38:
	cmp	DWORD PTR -76[rbp], 3
	jle	.L40
	add	DWORD PTR -72[rbp], 1
.L37:
	cmp	DWORD PTR -72[rbp], 3
	jle	.L41
	mov	QWORD PTR -64[rbp], 0
	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	QWORD PTR -24[rbp], 0
	mov	DWORD PTR -16[rbp], 0
	mov	DWORD PTR -80[rbp], 0
	mov	DWORD PTR -72[rbp], 0
	jmp	.L42
.L43:
	mov	eax, DWORD PTR -72[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, hand[rip]
	mov	eax, DWORD PTR [rdx+rax]
	movsx	rdx, eax
	mov	edx, DWORD PTR -64[rbp+rdx*4]
	add	edx, 1
	cdqe
	mov	DWORD PTR -64[rbp+rax*4], edx
	add	DWORD PTR -72[rbp], 1
.L42:
	cmp	DWORD PTR -72[rbp], 4
	jle	.L43
	mov	DWORD PTR -80[rbp], 0
	jmp	.L44
.L46:
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	mov	eax, DWORD PTR -64[rbp+rax*4]
	cmp	eax, 1
	jne	.L45
	mov	eax, DWORD PTR -80[rbp]
	add	eax, 1
	cdqe
	mov	eax, DWORD PTR -64[rbp+rax*4]
	cmp	eax, 1
	jne	.L45
	mov	eax, DWORD PTR -80[rbp]
	add	eax, 2
	cdqe
	mov	eax, DWORD PTR -64[rbp+rax*4]
	cmp	eax, 1
	jne	.L45
	mov	eax, DWORD PTR -80[rbp]
	add	eax, 3
	cdqe
	mov	eax, DWORD PTR -64[rbp+rax*4]
	cmp	eax, 1
	jne	.L45
	mov	eax, DWORD PTR -80[rbp]
	add	eax, 4
	cdqe
	mov	eax, DWORD PTR -64[rbp+rax*4]
	cmp	eax, 1
	jne	.L45
	mov	BYTE PTR straight[rip], 1
.L45:
	add	DWORD PTR -80[rbp], 1
.L44:
	cmp	DWORD PTR -80[rbp], 12
	jle	.L46
	mov	DWORD PTR -80[rbp], 0
	jmp	.L47
.L51:
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	mov	eax, DWORD PTR -64[rbp+rax*4]
	cmp	eax, 4
	jne	.L48
	mov	BYTE PTR four[rip], 1
.L48:
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	mov	eax, DWORD PTR -64[rbp+rax*4]
	cmp	eax, 3
	jne	.L49
	mov	BYTE PTR three[rip], 1
.L49:
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	mov	eax, DWORD PTR -64[rbp+rax*4]
	cmp	eax, 2
	jne	.L50
	mov	eax, DWORD PTR pairs[rip]
	add	eax, 1
	mov	DWORD PTR pairs[rip], eax
.L50:
	add	DWORD PTR -80[rbp], 1
.L47:
	cmp	DWORD PTR -80[rbp], 12
	jle	.L51
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L52
	call	__stack_chk_fail@PLT
.L52:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	analyze_hand, .-analyze_hand
	.section	.rodata
.LC3:
	.string	"Straight flush"
.LC4:
	.string	"Four of a kind"
.LC5:
	.string	"Full house"
.LC6:
	.string	"Flush"
.LC7:
	.string	"Straight"
.LC8:
	.string	"Three of a kind"
.LC9:
	.string	"Two pairs"
.LC10:
	.string	"Pair"
.LC11:
	.string	"High card"
.LC12:
	.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
	movzx	eax, BYTE PTR straight[rip]
	test	al, al
	je	.L54
	movzx	eax, BYTE PTR flush[rip]
	test	al, al
	je	.L54
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L55
.L54:
	movzx	eax, BYTE PTR four[rip]
	test	al, al
	je	.L56
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L55
.L56:
	movzx	eax, BYTE PTR three[rip]
	test	al, al
	je	.L57
	mov	eax, DWORD PTR pairs[rip]
	cmp	eax, 1
	jne	.L57
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L55
.L57:
	movzx	eax, BYTE PTR flush[rip]
	test	al, al
	je	.L58
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L55
.L58:
	movzx	eax, BYTE PTR straight[rip]
	test	al, al
	je	.L59
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L55
.L59:
	movzx	eax, BYTE PTR three[rip]
	test	al, al
	je	.L60
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L55
.L60:
	mov	eax, DWORD PTR pairs[rip]
	cmp	eax, 2
	jne	.L61
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L55
.L61:
	mov	eax, DWORD PTR pairs[rip]
	cmp	eax, 1
	jne	.L62
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L55
.L62:
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
.L55:
	lea	rdi, .LC12[rip]
	call	puts@PLT
	nop
	pop	rbp
	.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	"647395.c"
	.text
	.comm	hand,40,4
	.comm	straight,1,1
	.comm	flush,1,1
	.comm	four,1,1
	.comm	three,1,1
	.comm	pairs,4,4
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
.L2:
	bl	read_cards
	bl	analyze_hand
	bl	print_result
	b	.L2
	.size	main, .-main
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Enter a card (rank and suit, for example 2s): \000"
	.align	2
.LC1:
	.ascii	"Bad card; ignored.\000"
	.align	2
.LC2:
	.ascii	"That's a duplicate. Ignored.\000"
	.text
	.align	2
	.global	read_cards
	.syntax unified
	.arm
	.fpu softvfp
	.type	read_cards, %function
read_cards:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	mov	r3, #0
	strb	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L4
.L35:
	ldr	r0, .L36
	bl	printf
	bl	getchar
	mov	r3, r0
	strb	r3, [fp, #-23]
	ldrb	r3, [fp, #-23]	@ zero_extendqisi2
	sub	r3, r3, #48
	cmp	r3, #68
	ldrls	pc, [pc, r3, asl #2]
	b	.L5
.L7:
	.word	.L20
	.word	.L5
	.word	.L19
	.word	.L18
	.word	.L17
	.word	.L16
	.word	.L15
	.word	.L14
	.word	.L13
	.word	.L12
	.word	.L5
	.word	.L5
	.word	.L5
	.word	.L5
	.word	.L5
	.word	.L5
	.word	.L5
	.word	.L11
	.word	.L5
	.word	.L5
	.word	.L5
	.word	.L5
	.word	.L5
	.word	.L5
	.word	.L5
	.word	.L5
	.word	.L10
	.word	.L9
	.word	.L5
	.word	.L5
	.word	.L5
	.word	.L5
	.word	.L5
	.word	.L8
	.word	.L5
	.word	.L5
	.word	.L6
	.word	.L5
	.word	.L5
	.word	.L5
	.word	.L5
	.word	.L5
	.word	.L5
	.word	.L5
	.word	.L5
	.word	.L5
	.word	.L5
	.word	.L5
	.word	.L5
	.word	.L11
	.word	.L5
	.word	.L5
	.word	.L5
	.word	.L5
	.word	.L5
	.word	.L5
	.word	.L5
	.word	.L5
	.word	.L10
	.word	.L9
	.word	.L5
	.word	.L5
	.word	.L5
	.word	.L5
	.word	.L5
	.word	.L8
	.word	.L5
	.word	.L5
	.word	.L6
.L20:
	mov	r0, #0
	bl	exit
.L19:
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L21
.L18:
	mov	r3, #1
	str	r3, [fp, #-20]
	b	.L21
.L17:
	mov	r3, #2
	str	r3, [fp, #-20]
	b	.L21
.L16:
	mov	r3, #3
	str	r3, [fp, #-20]
	b	.L21
.L15:
	mov	r3, #4
	str	r3, [fp, #-20]
	b	.L21
.L14:
	mov	r3, #5
	str	r3, [fp, #-20]
	b	.L21
.L13:
	mov	r3, #6
	str	r3, [fp, #-20]
	b	.L21
.L12:
	mov	r3, #7
	str	r3, [fp, #-20]
	b	.L21
.L6:
	mov	r3, #8
	str	r3, [fp, #-20]
	b	.L21
.L10:
	mov	r3, #9
	str	r3, [fp, #-20]
	b	.L21
.L8:
	mov	r3, #10
	str	r3, [fp, #-20]
	b	.L21
.L9:
	mov	r3, #11
	str	r3, [fp, #-20]
	b	.L21
.L11:
	mov	r3, #12
	str	r3, [fp, #-20]
	b	.L21
.L5:
	mov	r3, #1
	strb	r3, [fp, #-24]
.L21:
	bl	getchar
	mov	r3, r0
	strb	r3, [fp, #-22]
	ldrb	r3, [fp, #-22]	@ zero_extendqisi2
	sub	r3, r3, #67
	cmp	r3, #48
	ldrls	pc, [pc, r3, asl #2]
	b	.L22
.L24:
	.word	.L27
	.word	.L26
	.word	.L22
	.word	.L22
	.word	.L22
	.word	.L25
	.word	.L22
	.word	.L22
	.word	.L22
	.word	.L22
	.word	.L22
	.word	.L22
	.word	.L22
	.word	.L22
	.word	.L22
	.word	.L22
	.word	.L23
	.word	.L22
	.word	.L22
	.word	.L22
	.word	.L22
	.word	.L22
	.word	.L22
	.word	.L22
	.word	.L22
	.word	.L22
	.word	.L22
	.word	.L22
	.word	.L22
	.word	.L22
	.word	.L22
	.word	.L22
	.word	.L27
	.word	.L26
	.word	.L22
	.word	.L22
	.word	.L22
	.word	.L25
	.word	.L22
	.word	.L22
	.word	.L22
	.word	.L22
	.word	.L22
	.word	.L22
	.word	.L22
	.word	.L22
	.word	.L22
	.word	.L22
	.word	.L23
.L27:
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L28
.L26:
	mov	r3, #1
	str	r3, [fp, #-16]
	b	.L28
.L25:
	mov	r3, #2
	str	r3, [fp, #-16]
	b	.L28
.L23:
	mov	r3, #3
	str	r3, [fp, #-16]
	b	.L28
.L22:
	mov	r3, #1
	strb	r3, [fp, #-24]
.L28:
	b	.L29
.L30:
	ldrb	r3, [fp, #-21]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L29
	mov	r3, #1
	strb	r3, [fp, #-24]
.L29:
	bl	getchar
	mov	r3, r0
	strb	r3, [fp, #-21]
	ldrb	r3, [fp, #-21]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L30
	ldrb	r3, [fp, #-24]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L31
	ldr	r0, .L36+4
	bl	puts
.L31:
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L32
.L34:
	ldr	r2, .L36+8
	ldr	r3, [fp, #-8]
	ldr	r3, [r2, r3, lsl #3]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	bne	.L33
	ldr	r2, .L36+8
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bne	.L33
	ldr	r0, .L36+12
	bl	puts
.L33:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L32:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	blt	.L34
	ldr	r1, .L36+8
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-20]
	str	r2, [r1, r3, lsl #3]
	ldr	r2, .L36+8
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r2, [fp, #-16]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L4:
	ldr	r3, [fp, #-12]
	cmp	r3, #4
	ble	.L35
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L37:
	.align	2
.L36:
	.word	.LC0
	.word	.LC1
	.word	hand
	.word	.LC2
	.size	read_cards, .-read_cards
	.section	.rodata
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	analyze_hand
	.syntax unified
	.arm
	.fpu softvfp
	.type	analyze_hand, %function
analyze_hand:
	@ 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, .L55
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-64]
	mov	r3, #0
	str	r3, [fp, #-68]
	ldr	r3, .L55+4
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, .L55+8
	mov	r2, #1
	strb	r2, [r3]
	ldr	r3, .L55+12
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, .L55+16
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, .L55+20
	mov	r2, #0
	str	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-68]
	b	.L39
.L43:
	mov	r3, #0
	str	r3, [fp, #-72]
	b	.L40
.L42:
	ldr	r1, .L55+24
	ldr	r3, [fp, #-68]
	lsl	r2, r3, #1
	ldr	r3, [fp, #-72]
	add	r3, r2, r3
	ldr	r2, [r1, r3, lsl #2]
	ldr	r3, [fp, #-68]
	add	r3, r3, #1
	ldr	r0, .L55+24
	lsl	r1, r3, #1
	ldr	r3, [fp, #-72]
	add	r3, r1, r3
	ldr	r3, [r0, r3, lsl #2]
	cmp	r2, r3
	beq	.L41
	ldr	r3, .L55+8
	mov	r2, #0
	strb	r2, [r3]
.L41:
	ldr	r3, [fp, #-72]
	add	r3, r3, #1
	str	r3, [fp, #-72]
.L40:
	ldr	r3, [fp, #-72]
	cmp	r3, #3
	ble	.L42
	ldr	r3, [fp, #-68]
	add	r3, r3, #1
	str	r3, [fp, #-68]
.L39:
	ldr	r3, [fp, #-68]
	cmp	r3, #3
	ble	.L43
	sub	r3, fp, #60
	mov	r2, #52
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #0
	str	r3, [fp, #-76]
	mov	r3, #0
	str	r3, [fp, #-68]
	b	.L44
.L45:
	ldr	r2, .L55+24
	ldr	r3, [fp, #-68]
	ldr	r2, [r2, r3, lsl #3]
	lsl	r3, r2, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r3, [r3, #-56]
	add	r1, r3, #1
	lsl	r3, r2, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	str	r1, [r3, #-56]
	ldr	r3, [fp, #-68]
	add	r3, r3, #1
	str	r3, [fp, #-68]
.L44:
	ldr	r3, [fp, #-68]
	cmp	r3, #4
	ble	.L45
	mov	r3, #0
	str	r3, [fp, #-76]
	b	.L46
.L48:
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-56]
	cmp	r3, #1
	bne	.L47
	ldr	r3, [fp, #-76]
	add	r3, r3, #1
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-56]
	cmp	r3, #1
	bne	.L47
	ldr	r3, [fp, #-76]
	add	r3, r3, #2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-56]
	cmp	r3, #1
	bne	.L47
	ldr	r3, [fp, #-76]
	add	r3, r3, #3
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-56]
	cmp	r3, #1
	bne	.L47
	ldr	r3, [fp, #-76]
	add	r3, r3, #4
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-56]
	cmp	r3, #1
	bne	.L47
	ldr	r3, .L55+4
	mov	r2, #1
	strb	r2, [r3]
.L47:
	ldr	r3, [fp, #-76]
	add	r3, r3, #1
	str	r3, [fp, #-76]
.L46:
	ldr	r3, [fp, #-76]
	cmp	r3, #12
	ble	.L48
	mov	r3, #0
	str	r3, [fp, #-76]
	b	.L49
.L53:
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-56]
	cmp	r3, #4
	bne	.L50
	ldr	r3, .L55+12
	mov	r2, #1
	strb	r2, [r3]
.L50:
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-56]
	cmp	r3, #3
	bne	.L51
	ldr	r3, .L55+16
	mov	r2, #1
	strb	r2, [r3]
.L51:
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-56]
	cmp	r3, #2
	bne	.L52
	ldr	r3, .L55+20
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L55+20
	str	r3, [r2]
.L52:
	ldr	r3, [fp, #-76]
	add	r3, r3, #1
	str	r3, [fp, #-76]
.L49:
	ldr	r3, [fp, #-76]
	cmp	r3, #12
	ble	.L53
	nop
	ldr	r3, .L55
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L54
	bl	__stack_chk_fail
.L54:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L56:
	.align	2
.L55:
	.word	.LC3
	.word	straight
	.word	flush
	.word	four
	.word	three
	.word	pairs
	.word	hand
	.size	analyze_hand, .-analyze_hand
	.section	.rodata
	.align	2
.LC4:
	.ascii	"Straight flush\000"
	.align	2
.LC5:
	.ascii	"Four of a kind\000"
	.align	2
.LC6:
	.ascii	"Full house\000"
	.align	2
.LC7:
	.ascii	"Flush\000"
	.align	2
.LC8:
	.ascii	"Straight\000"
	.align	2
.LC9:
	.ascii	"Three of a kind\000"
	.align	2
.LC10:
	.ascii	"Two pairs\000"
	.align	2
.LC11:
	.ascii	"Pair\000"
	.align	2
.LC12:
	.ascii	"High card\000"
	.align	2
.LC13:
	.ascii	"\012\000"
	.text
	.align	2
	.global	print_result
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_result, %function
print_result:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L67
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L58
	ldr	r3, .L67+4
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L58
	ldr	r0, .L67+8
	bl	printf
	b	.L59
.L58:
	ldr	r3, .L67+12
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L60
	ldr	r0, .L67+16
	bl	printf
	b	.L59
.L60:
	ldr	r3, .L67+20
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L61
	ldr	r3, .L67+24
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L61
	ldr	r0, .L67+28
	bl	printf
	b	.L59
.L61:
	ldr	r3, .L67+4
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L62
	ldr	r0, .L67+32
	bl	printf
	b	.L59
.L62:
	ldr	r3, .L67
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L63
	ldr	r0, .L67+36
	bl	printf
	b	.L59
.L63:
	ldr	r3, .L67+20
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L64
	ldr	r0, .L67+40
	bl	printf
	b	.L59
.L64:
	ldr	r3, .L67+24
	ldr	r3, [r3]
	cmp	r3, #2
	bne	.L65
	ldr	r0, .L67+44
	bl	printf
	b	.L59
.L65:
	ldr	r3, .L67+24
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L66
	ldr	r0, .L67+48
	bl	printf
	b	.L59
.L66:
	ldr	r0, .L67+52
	bl	printf
.L59:
	ldr	r0, .L67+56
	bl	puts
	nop
	pop	{fp, pc}
.L68:
	.align	2
.L67:
	.word	straight
	.word	flush
	.word	.LC4
	.word	four
	.word	.LC5
	.word	three
	.word	pairs
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.size	print_result, .-print_result
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
