	.file	"644590.c"
	.intel_syntax noprefix
	.text
	.globl	num_in_rank
	.bss
	.align 32
	.type	num_in_rank, @object
	.size	num_in_rank, 52
num_in_rank:
	.zero	52
	.globl	num_in_suit
	.align 16
	.type	num_in_suit, @object
	.size	num_in_suit, 16
num_in_suit:
	.zero	16
	.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
.LC0:
	.string	"Enter a card: "
.LC1:
	.string	"Bad card; ignored."
.LC2:
	.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, 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 -76[rbp], 0
	jmp	.L4
.L7:
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, num_in_rank[rip]
	mov	DWORD PTR [rdx+rax], 0
	mov	DWORD PTR -72[rbp], 0
	jmp	.L5
.L6:
	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
.L5:
	cmp	DWORD PTR -72[rbp], 3
	jle	.L6
	add	DWORD PTR -76[rbp], 1
.L4:
	cmp	DWORD PTR -76[rbp], 12
	jle	.L7
	mov	DWORD PTR -72[rbp], 0
	jmp	.L8
.L9:
	mov	eax, DWORD PTR -72[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, num_in_suit[rip]
	mov	DWORD PTR [rdx+rax], 0
	add	DWORD PTR -72[rbp], 1
.L8:
	cmp	DWORD PTR -72[rbp], 3
	jle	.L9
	jmp	.L10
.L39:
	mov	BYTE PTR -80[rbp], 0
	lea	rdi, .LC0[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	.L11
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L13[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L13[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L13:
	.long	.L26-.L13
	.long	.L11-.L13
	.long	.L25-.L13
	.long	.L24-.L13
	.long	.L23-.L13
	.long	.L22-.L13
	.long	.L21-.L13
	.long	.L20-.L13
	.long	.L19-.L13
	.long	.L18-.L13
	.long	.L11-.L13
	.long	.L11-.L13
	.long	.L11-.L13
	.long	.L11-.L13
	.long	.L11-.L13
	.long	.L11-.L13
	.long	.L11-.L13
	.long	.L11-.L13
	.long	.L11-.L13
	.long	.L11-.L13
	.long	.L11-.L13
	.long	.L11-.L13
	.long	.L11-.L13
	.long	.L11-.L13
	.long	.L11-.L13
	.long	.L11-.L13
	.long	.L11-.L13
	.long	.L11-.L13
	.long	.L11-.L13
	.long	.L11-.L13
	.long	.L11-.L13
	.long	.L11-.L13
	.long	.L11-.L13
	.long	.L11-.L13
	.long	.L11-.L13
	.long	.L11-.L13
	.long	.L11-.L13
	.long	.L11-.L13
	.long	.L11-.L13
	.long	.L11-.L13
	.long	.L11-.L13
	.long	.L11-.L13
	.long	.L11-.L13
	.long	.L11-.L13
	.long	.L11-.L13
	.long	.L11-.L13
	.long	.L11-.L13
	.long	.L11-.L13
	.long	.L11-.L13
	.long	.L17-.L13
	.long	.L11-.L13
	.long	.L11-.L13
	.long	.L11-.L13
	.long	.L11-.L13
	.long	.L11-.L13
	.long	.L11-.L13
	.long	.L11-.L13
	.long	.L11-.L13
	.long	.L16-.L13
	.long	.L15-.L13
	.long	.L11-.L13
	.long	.L11-.L13
	.long	.L11-.L13
	.long	.L11-.L13
	.long	.L11-.L13
	.long	.L14-.L13
	.long	.L11-.L13
	.long	.L11-.L13
	.long	.L12-.L13
	.text
.L26:
	mov	edi, 0
	call	exit@PLT
.L25:
	mov	DWORD PTR -76[rbp], 0
	jmp	.L27
.L24:
	mov	DWORD PTR -76[rbp], 1
	jmp	.L27
.L23:
	mov	DWORD PTR -76[rbp], 2
	jmp	.L27
.L22:
	mov	DWORD PTR -76[rbp], 3
	jmp	.L27
.L21:
	mov	DWORD PTR -76[rbp], 4
	jmp	.L27
.L20:
	mov	DWORD PTR -76[rbp], 5
	jmp	.L27
.L19:
	mov	DWORD PTR -76[rbp], 6
	jmp	.L27
.L18:
	mov	DWORD PTR -76[rbp], 7
	jmp	.L27
.L12:
	mov	DWORD PTR -76[rbp], 8
	jmp	.L27
.L16:
	mov	DWORD PTR -76[rbp], 9
	jmp	.L27
.L14:
	mov	DWORD PTR -76[rbp], 10
	jmp	.L27
.L15:
	mov	DWORD PTR -76[rbp], 11
	jmp	.L27
.L17:
	mov	DWORD PTR -76[rbp], 12
	jmp	.L27
.L11:
	mov	BYTE PTR -80[rbp], 1
.L27:
	call	getchar@PLT
	mov	BYTE PTR -78[rbp], al
	movsx	eax, BYTE PTR -78[rbp]
	sub	eax, 67
	cmp	eax, 48
	ja	.L28
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L30[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L30[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L30:
	.long	.L33-.L30
	.long	.L32-.L30
	.long	.L28-.L30
	.long	.L28-.L30
	.long	.L28-.L30
	.long	.L31-.L30
	.long	.L28-.L30
	.long	.L28-.L30
	.long	.L28-.L30
	.long	.L28-.L30
	.long	.L28-.L30
	.long	.L28-.L30
	.long	.L28-.L30
	.long	.L28-.L30
	.long	.L28-.L30
	.long	.L28-.L30
	.long	.L29-.L30
	.long	.L28-.L30
	.long	.L28-.L30
	.long	.L28-.L30
	.long	.L28-.L30
	.long	.L28-.L30
	.long	.L28-.L30
	.long	.L28-.L30
	.long	.L28-.L30
	.long	.L28-.L30
	.long	.L28-.L30
	.long	.L28-.L30
	.long	.L28-.L30
	.long	.L28-.L30
	.long	.L28-.L30
	.long	.L28-.L30
	.long	.L33-.L30
	.long	.L32-.L30
	.long	.L28-.L30
	.long	.L28-.L30
	.long	.L28-.L30
	.long	.L31-.L30
	.long	.L28-.L30
	.long	.L28-.L30
	.long	.L28-.L30
	.long	.L28-.L30
	.long	.L28-.L30
	.long	.L28-.L30
	.long	.L28-.L30
	.long	.L28-.L30
	.long	.L28-.L30
	.long	.L28-.L30
	.long	.L29-.L30
	.text
.L33:
	mov	DWORD PTR -72[rbp], 0
	jmp	.L34
.L32:
	mov	DWORD PTR -72[rbp], 1
	jmp	.L34
.L31:
	mov	DWORD PTR -72[rbp], 2
	jmp	.L34
.L29:
	mov	DWORD PTR -72[rbp], 3
	jmp	.L34
.L28:
	mov	BYTE PTR -80[rbp], 1
.L34:
	jmp	.L35
.L36:
	cmp	BYTE PTR -77[rbp], 32
	je	.L35
	mov	BYTE PTR -80[rbp], 1
.L35:
	call	getchar@PLT
	mov	BYTE PTR -77[rbp], al
	cmp	BYTE PTR -77[rbp], 10
	jne	.L36
	cmp	BYTE PTR -80[rbp], 0
	je	.L37
	lea	rdi, .LC1[rip]
	call	puts@PLT
	jmp	.L10
.L37:
	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	.L38
	lea	rdi, .LC2[rip]
	call	puts@PLT
	jmp	.L10
.L38:
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, num_in_rank[rip]
	mov	eax, DWORD PTR [rdx+rax]
	lea	ecx, 1[rax]
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, num_in_rank[rip]
	mov	DWORD PTR [rdx+rax], ecx
	mov	eax, DWORD PTR -72[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, num_in_suit[rip]
	mov	eax, DWORD PTR [rdx+rax]
	lea	ecx, 1[rax]
	mov	eax, DWORD PTR -72[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, num_in_suit[rip]
	mov	DWORD PTR [rdx+rax], ecx
	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
.L10:
	cmp	DWORD PTR -68[rbp], 4
	jle	.L39
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L40
	call	__stack_chk_fail@PLT
.L40:
	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	DWORD PTR -12[rbp], 0
	mov	BYTE PTR straight[rip], 0
	mov	BYTE PTR flush[rip], 0
	mov	BYTE PTR four[rip], 0
	mov	BYTE PTR three[rip], 0
	mov	DWORD PTR -4[rbp], 0
	jmp	.L42
.L44:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, num_in_suit[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	eax, 5
	jne	.L43
	mov	BYTE PTR flush[rip], 1
.L43:
	add	DWORD PTR -4[rbp], 1
.L42:
	cmp	DWORD PTR -4[rbp], 3
	jle	.L44
	mov	DWORD PTR -8[rbp], 0
	jmp	.L45
.L46:
	add	DWORD PTR -8[rbp], 1
.L45:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, num_in_rank[rip]
	mov	eax, DWORD PTR [rdx+rax]
	test	eax, eax
	je	.L46
	jmp	.L47
.L49:
	add	DWORD PTR -12[rbp], 1
	add	DWORD PTR -8[rbp], 1
.L47:
	cmp	DWORD PTR -8[rbp], 12
	jg	.L48
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, num_in_rank[rip]
	mov	eax, DWORD PTR [rdx+rax]
	test	eax, eax
	jg	.L49
.L48:
	cmp	DWORD PTR -12[rbp], 5
	jne	.L50
	mov	BYTE PTR straight[rip], 1
	jmp	.L41
.L50:
	mov	DWORD PTR -8[rbp], 0
	jmp	.L52
.L56:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, num_in_rank[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	eax, 4
	jne	.L53
	mov	BYTE PTR four[rip], 1
.L53:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, num_in_rank[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	eax, 3
	jne	.L54
	mov	BYTE PTR three[rip], 1
.L54:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, num_in_rank[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	eax, 2
	jne	.L55
	mov	eax, DWORD PTR pairs[rip]
	add	eax, 1
	mov	DWORD PTR pairs[rip], eax
.L55:
	add	DWORD PTR -8[rbp], 1
.L52:
	cmp	DWORD PTR -8[rbp], 12
	jle	.L56
.L41:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	analyze_hand, .-analyze_hand
	.section	.rodata
.LC3:
	.string	"Straight flush"
.LC4:
	.string	"Four for 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	.L58
	movzx	eax, BYTE PTR flush[rip]
	test	al, al
	je	.L58
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L59
.L58:
	movzx	eax, BYTE PTR four[rip]
	test	al, al
	je	.L60
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L59
.L60:
	movzx	eax, BYTE PTR three[rip]
	test	al, al
	je	.L61
	mov	eax, DWORD PTR pairs[rip]
	cmp	eax, 1
	jne	.L61
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L59
.L61:
	movzx	eax, BYTE PTR flush[rip]
	test	al, al
	je	.L62
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L59
.L62:
	movzx	eax, BYTE PTR straight[rip]
	test	al, al
	je	.L63
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L59
.L63:
	movzx	eax, BYTE PTR three[rip]
	test	al, al
	je	.L64
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L59
.L64:
	mov	eax, DWORD PTR pairs[rip]
	cmp	eax, 2
	jne	.L65
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L59
.L65:
	mov	eax, DWORD PTR pairs[rip]
	cmp	eax, 1
	jne	.L66
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L59
.L66:
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
.L59:
	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	"644590.c"
	.text
	.comm	num_in_rank,52,4
	.comm	num_in_suit,16,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: \000"
	.align	2
.LC1:
	.ascii	"Bad card; ignored.\000"
	.align	2
.LC2:
	.ascii	"Duplicate card; ignored.\000"
	.align	2
.LC3:
	.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 = 72
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #72
	ldr	r3, .L41
	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	.L4
.L7:
	ldr	r2, .L41+4
	ldr	r3, [fp, #-72]
	mov	r1, #0
	str	r1, [r2, r3, lsl #2]
	mov	r3, #0
	str	r3, [fp, #-68]
	b	.L5
.L6:
	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]
.L5:
	ldr	r3, [fp, #-68]
	cmp	r3, #3
	ble	.L6
	ldr	r3, [fp, #-72]
	add	r3, r3, #1
	str	r3, [fp, #-72]
.L4:
	ldr	r3, [fp, #-72]
	cmp	r3, #12
	ble	.L7
	mov	r3, #0
	str	r3, [fp, #-68]
	b	.L8
.L9:
	ldr	r2, .L41+8
	ldr	r3, [fp, #-68]
	mov	r1, #0
	str	r1, [r2, r3, lsl #2]
	ldr	r3, [fp, #-68]
	add	r3, r3, #1
	str	r3, [fp, #-68]
.L8:
	ldr	r3, [fp, #-68]
	cmp	r3, #3
	ble	.L9
	b	.L10
.L39:
	mov	r3, #0
	strb	r3, [fp, #-76]
	ldr	r0, .L41+12
	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	.L11
.L13:
	.word	.L26
	.word	.L11
	.word	.L25
	.word	.L24
	.word	.L23
	.word	.L22
	.word	.L21
	.word	.L20
	.word	.L19
	.word	.L18
	.word	.L11
	.word	.L11
	.word	.L11
	.word	.L11
	.word	.L11
	.word	.L11
	.word	.L11
	.word	.L11
	.word	.L11
	.word	.L11
	.word	.L11
	.word	.L11
	.word	.L11
	.word	.L11
	.word	.L11
	.word	.L11
	.word	.L11
	.word	.L11
	.word	.L11
	.word	.L11
	.word	.L11
	.word	.L11
	.word	.L11
	.word	.L11
	.word	.L11
	.word	.L11
	.word	.L11
	.word	.L11
	.word	.L11
	.word	.L11
	.word	.L11
	.word	.L11
	.word	.L11
	.word	.L11
	.word	.L11
	.word	.L11
	.word	.L11
	.word	.L11
	.word	.L11
	.word	.L17
	.word	.L11
	.word	.L11
	.word	.L11
	.word	.L11
	.word	.L11
	.word	.L11
	.word	.L11
	.word	.L11
	.word	.L16
	.word	.L15
	.word	.L11
	.word	.L11
	.word	.L11
	.word	.L11
	.word	.L11
	.word	.L14
	.word	.L11
	.word	.L11
	.word	.L12
.L26:
	mov	r0, #0
	bl	exit
.L25:
	mov	r3, #0
	str	r3, [fp, #-72]
	b	.L27
.L24:
	mov	r3, #1
	str	r3, [fp, #-72]
	b	.L27
.L23:
	mov	r3, #2
	str	r3, [fp, #-72]
	b	.L27
.L22:
	mov	r3, #3
	str	r3, [fp, #-72]
	b	.L27
.L21:
	mov	r3, #4
	str	r3, [fp, #-72]
	b	.L27
.L20:
	mov	r3, #5
	str	r3, [fp, #-72]
	b	.L27
.L19:
	mov	r3, #6
	str	r3, [fp, #-72]
	b	.L27
.L18:
	mov	r3, #7
	str	r3, [fp, #-72]
	b	.L27
.L12:
	mov	r3, #8
	str	r3, [fp, #-72]
	b	.L27
.L16:
	mov	r3, #9
	str	r3, [fp, #-72]
	b	.L27
.L14:
	mov	r3, #10
	str	r3, [fp, #-72]
	b	.L27
.L15:
	mov	r3, #11
	str	r3, [fp, #-72]
	b	.L27
.L17:
	mov	r3, #12
	str	r3, [fp, #-72]
	b	.L27
.L11:
	mov	r3, #1
	strb	r3, [fp, #-76]
.L27:
	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	.L28
.L30:
	.word	.L33
	.word	.L32
	.word	.L28
	.word	.L28
	.word	.L28
	.word	.L31
	.word	.L28
	.word	.L28
	.word	.L28
	.word	.L28
	.word	.L28
	.word	.L28
	.word	.L28
	.word	.L28
	.word	.L28
	.word	.L28
	.word	.L29
	.word	.L28
	.word	.L28
	.word	.L28
	.word	.L28
	.word	.L28
	.word	.L28
	.word	.L28
	.word	.L28
	.word	.L28
	.word	.L28
	.word	.L28
	.word	.L28
	.word	.L28
	.word	.L28
	.word	.L28
	.word	.L33
	.word	.L32
	.word	.L28
	.word	.L28
	.word	.L28
	.word	.L31
	.word	.L28
	.word	.L28
	.word	.L28
	.word	.L28
	.word	.L28
	.word	.L28
	.word	.L28
	.word	.L28
	.word	.L28
	.word	.L28
	.word	.L29
.L33:
	mov	r3, #0
	str	r3, [fp, #-68]
	b	.L34
.L32:
	mov	r3, #1
	str	r3, [fp, #-68]
	b	.L34
.L31:
	mov	r3, #2
	str	r3, [fp, #-68]
	b	.L34
.L29:
	mov	r3, #3
	str	r3, [fp, #-68]
	b	.L34
.L28:
	mov	r3, #1
	strb	r3, [fp, #-76]
.L34:
	b	.L35
.L36:
	ldrb	r3, [fp, #-73]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L35
	mov	r3, #1
	strb	r3, [fp, #-76]
.L35:
	bl	getchar
	mov	r3, r0
	strb	r3, [fp, #-73]
	ldrb	r3, [fp, #-73]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L36
	ldrb	r3, [fp, #-76]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L37
	ldr	r0, .L41+16
	bl	puts
	b	.L10
.L37:
	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	.L38
	ldr	r0, .L41+20
	bl	puts
	b	.L10
.L38:
	ldr	r2, .L41+4
	ldr	r3, [fp, #-72]
	ldr	r3, [r2, r3, lsl #2]
	add	r2, r3, #1
	ldr	r1, .L41+4
	ldr	r3, [fp, #-72]
	str	r2, [r1, r3, lsl #2]
	ldr	r2, .L41+8
	ldr	r3, [fp, #-68]
	ldr	r3, [r2, r3, lsl #2]
	add	r2, r3, #1
	ldr	r1, .L41+8
	ldr	r3, [fp, #-68]
	str	r2, [r1, r3, lsl #2]
	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]
.L10:
	ldr	r3, [fp, #-64]
	cmp	r3, #4
	ble	.L39
	nop
	ldr	r3, .L41
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L40
	bl	__stack_chk_fail
.L40:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L42:
	.align	2
.L41:
	.word	.LC3
	.word	num_in_rank
	.word	num_in_suit
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	read_cards, .-read_cards
	.align	2
	.global	analyze_hand
	.syntax unified
	.arm
	.fpu softvfp
	.type	analyze_hand, %function
analyze_hand:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	mov	r3, #0
	str	r3, [fp, #-16]
	ldr	r3, .L59
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, .L59+4
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, .L59+8
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, .L59+12
	mov	r2, #0
	strb	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L44
.L46:
	ldr	r2, .L59+16
	ldr	r3, [fp, #-8]
	ldr	r3, [r2, r3, lsl #2]
	cmp	r3, #5
	bne	.L45
	ldr	r3, .L59+4
	mov	r2, #1
	strb	r2, [r3]
.L45:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L44:
	ldr	r3, [fp, #-8]
	cmp	r3, #3
	ble	.L46
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L47
.L48:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L47:
	ldr	r2, .L59+20
	ldr	r3, [fp, #-12]
	ldr	r3, [r2, r3, lsl #2]
	cmp	r3, #0
	beq	.L48
	b	.L49
.L51:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L49:
	ldr	r3, [fp, #-12]
	cmp	r3, #12
	bgt	.L50
	ldr	r2, .L59+20
	ldr	r3, [fp, #-12]
	ldr	r3, [r2, r3, lsl #2]
	cmp	r3, #0
	bgt	.L51
.L50:
	ldr	r3, [fp, #-16]
	cmp	r3, #5
	bne	.L52
	ldr	r3, .L59
	mov	r2, #1
	strb	r2, [r3]
	b	.L43
.L52:
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L54
.L58:
	ldr	r2, .L59+20
	ldr	r3, [fp, #-12]
	ldr	r3, [r2, r3, lsl #2]
	cmp	r3, #4
	bne	.L55
	ldr	r3, .L59+8
	mov	r2, #1
	strb	r2, [r3]
.L55:
	ldr	r2, .L59+20
	ldr	r3, [fp, #-12]
	ldr	r3, [r2, r3, lsl #2]
	cmp	r3, #3
	bne	.L56
	ldr	r3, .L59+12
	mov	r2, #1
	strb	r2, [r3]
.L56:
	ldr	r2, .L59+20
	ldr	r3, [fp, #-12]
	ldr	r3, [r2, r3, lsl #2]
	cmp	r3, #2
	bne	.L57
	ldr	r3, .L59+24
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L59+24
	str	r3, [r2]
.L57:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L54:
	ldr	r3, [fp, #-12]
	cmp	r3, #12
	ble	.L58
.L43:
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L60:
	.align	2
.L59:
	.word	straight
	.word	flush
	.word	four
	.word	three
	.word	num_in_suit
	.word	num_in_rank
	.word	pairs
	.size	analyze_hand, .-analyze_hand
	.section	.rodata
	.align	2
.LC4:
	.ascii	"Straight flush\000"
	.align	2
.LC5:
	.ascii	"Four for 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, .L71
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L62
	ldr	r3, .L71+4
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L62
	ldr	r0, .L71+8
	bl	printf
	b	.L63
.L62:
	ldr	r3, .L71+12
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L64
	ldr	r0, .L71+16
	bl	printf
	b	.L63
.L64:
	ldr	r3, .L71+20
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L65
	ldr	r3, .L71+24
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L65
	ldr	r0, .L71+28
	bl	printf
	b	.L63
.L65:
	ldr	r3, .L71+4
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L66
	ldr	r0, .L71+32
	bl	printf
	b	.L63
.L66:
	ldr	r3, .L71
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L67
	ldr	r0, .L71+36
	bl	printf
	b	.L63
.L67:
	ldr	r3, .L71+20
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L68
	ldr	r0, .L71+40
	bl	printf
	b	.L63
.L68:
	ldr	r3, .L71+24
	ldr	r3, [r3]
	cmp	r3, #2
	bne	.L69
	ldr	r0, .L71+44
	bl	printf
	b	.L63
.L69:
	ldr	r3, .L71+24
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L70
	ldr	r0, .L71+48
	bl	printf
	b	.L63
.L70:
	ldr	r0, .L71+52
	bl	printf
.L63:
	ldr	r0, .L71+56
	bl	puts
	nop
	pop	{fp, pc}
.L72:
	.align	2
.L71:
	.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
