	.file	"730203.c"
	.intel_syntax noprefix
	.text
	.globl	straight
	.bss
	.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
	sub	rsp, 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
.L2:
	lea	rdx, -80[rbp]
	lea	rax, -64[rbp]
	mov	rcx, rdx
	mov	edx, 4
	mov	rsi, rax
	mov	edi, 13
	call	read_cards
	lea	rdx, -80[rbp]
	lea	rax, -64[rbp]
	mov	rcx, rdx
	mov	edx, 4
	mov	rsi, rax
	mov	edi, 13
	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
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 104
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	DWORD PTR -100[rbp], edi
	mov	QWORD PTR -112[rbp], rsi
	mov	DWORD PTR -104[rbp], edx
	mov	QWORD PTR -120[rbp], rcx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	QWORD PTR -128[rbp], rax
	mov	ecx, DWORD PTR -104[rbp]
	mov	esi, DWORD PTR -100[rbp]
	movsx	rax, ecx
	sub	rax, 1
	mov	QWORD PTR -80[rbp], rax
	movsx	rax, ecx
	mov	QWORD PTR -144[rbp], rax
	mov	QWORD PTR -136[rbp], 0
	movsx	rbx, ecx
	movsx	rax, esi
	sub	rax, 1
	mov	QWORD PTR -72[rbp], rax
	movsx	rax, ecx
	mov	r14, rax
	mov	r15d, 0
	movsx	rax, esi
	mov	r12, rax
	mov	r13d, 0
	mov	rdx, r15
	imul	rdx, r12
	mov	rax, r13
	imul	rax, r14
	lea	rdi, [rdx+rax]
	mov	rax, r14
	mul	r12
	add	rdi, rdx
	mov	rdx, rdi
	movsx	rax, ecx
	mov	r10, rax
	mov	r11d, 0
	movsx	rax, esi
	mov	r8, rax
	mov	r9d, 0
	mov	rdx, r11
	imul	rdx, r8
	mov	rax, r9
	imul	rax, r10
	lea	rdi, [rdx+rax]
	mov	rax, r10
	mul	r8
	add	rdi, rdx
	mov	rdx, rdi
	movsx	rdx, ecx
	movsx	rax, esi
	imul	rax, rdx
	mov	edx, 16
	sub	rdx, 1
	add	rax, rdx
	mov	esi, 16
	mov	edx, 0
	div	rsi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L5:
	cmp	rsp, rdx
	je	.L6
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L5
.L6:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L7
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L7:
	mov	rax, rsp
	add	rax, 0
	mov	QWORD PTR -64[rbp], rax
	mov	DWORD PTR -84[rbp], 0
	mov	DWORD PTR -88[rbp], 0
	jmp	.L8
.L11:
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -112[rbp]
	add	rax, rdx
	mov	DWORD PTR [rax], 0
	mov	DWORD PTR -92[rbp], 0
	jmp	.L9
.L10:
	mov	rcx, QWORD PTR -64[rbp]
	mov	eax, DWORD PTR -92[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	imul	rax, rbx
	add	rdx, rcx
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	add	DWORD PTR -92[rbp], 1
.L9:
	mov	eax, DWORD PTR -92[rbp]
	cmp	eax, DWORD PTR -104[rbp]
	jl	.L10
	add	DWORD PTR -88[rbp], 1
.L8:
	mov	eax, DWORD PTR -88[rbp]
	cmp	eax, DWORD PTR -100[rbp]
	jl	.L11
	mov	DWORD PTR -92[rbp], 0
	jmp	.L12
.L13:
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	mov	DWORD PTR [rax], 0
	add	DWORD PTR -92[rbp], 1
.L12:
	mov	eax, DWORD PTR -92[rbp]
	cmp	eax, DWORD PTR -104[rbp]
	jl	.L13
	jmp	.L14
.L43:
	mov	BYTE PTR -96[rbp], 0
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	call	getchar@PLT
	mov	BYTE PTR -95[rbp], al
	movsx	eax, BYTE PTR -95[rbp]
	sub	eax, 48
	cmp	eax, 68
	ja	.L15
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L17[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L17[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L17:
	.long	.L30-.L17
	.long	.L15-.L17
	.long	.L29-.L17
	.long	.L28-.L17
	.long	.L27-.L17
	.long	.L26-.L17
	.long	.L25-.L17
	.long	.L24-.L17
	.long	.L23-.L17
	.long	.L22-.L17
	.long	.L15-.L17
	.long	.L15-.L17
	.long	.L15-.L17
	.long	.L15-.L17
	.long	.L15-.L17
	.long	.L15-.L17
	.long	.L15-.L17
	.long	.L21-.L17
	.long	.L15-.L17
	.long	.L15-.L17
	.long	.L15-.L17
	.long	.L15-.L17
	.long	.L15-.L17
	.long	.L15-.L17
	.long	.L15-.L17
	.long	.L15-.L17
	.long	.L20-.L17
	.long	.L19-.L17
	.long	.L15-.L17
	.long	.L15-.L17
	.long	.L15-.L17
	.long	.L15-.L17
	.long	.L15-.L17
	.long	.L18-.L17
	.long	.L15-.L17
	.long	.L15-.L17
	.long	.L16-.L17
	.long	.L15-.L17
	.long	.L15-.L17
	.long	.L15-.L17
	.long	.L15-.L17
	.long	.L15-.L17
	.long	.L15-.L17
	.long	.L15-.L17
	.long	.L15-.L17
	.long	.L15-.L17
	.long	.L15-.L17
	.long	.L15-.L17
	.long	.L15-.L17
	.long	.L21-.L17
	.long	.L15-.L17
	.long	.L15-.L17
	.long	.L15-.L17
	.long	.L15-.L17
	.long	.L15-.L17
	.long	.L15-.L17
	.long	.L15-.L17
	.long	.L15-.L17
	.long	.L20-.L17
	.long	.L19-.L17
	.long	.L15-.L17
	.long	.L15-.L17
	.long	.L15-.L17
	.long	.L15-.L17
	.long	.L15-.L17
	.long	.L18-.L17
	.long	.L15-.L17
	.long	.L15-.L17
	.long	.L16-.L17
	.text
.L30:
	mov	edi, 0
	call	exit@PLT
.L29:
	mov	DWORD PTR -88[rbp], 0
	jmp	.L31
.L28:
	mov	DWORD PTR -88[rbp], 1
	jmp	.L31
.L27:
	mov	DWORD PTR -88[rbp], 2
	jmp	.L31
.L26:
	mov	DWORD PTR -88[rbp], 3
	jmp	.L31
.L25:
	mov	DWORD PTR -88[rbp], 4
	jmp	.L31
.L24:
	mov	DWORD PTR -88[rbp], 5
	jmp	.L31
.L23:
	mov	DWORD PTR -88[rbp], 6
	jmp	.L31
.L22:
	mov	DWORD PTR -88[rbp], 7
	jmp	.L31
.L16:
	mov	DWORD PTR -88[rbp], 8
	jmp	.L31
.L20:
	mov	DWORD PTR -88[rbp], 9
	jmp	.L31
.L18:
	mov	DWORD PTR -88[rbp], 10
	jmp	.L31
.L19:
	mov	DWORD PTR -88[rbp], 11
	jmp	.L31
.L21:
	mov	DWORD PTR -88[rbp], 12
	jmp	.L31
.L15:
	mov	BYTE PTR -96[rbp], 1
.L31:
	call	getchar@PLT
	mov	BYTE PTR -94[rbp], al
	movsx	eax, BYTE PTR -94[rbp]
	sub	eax, 67
	cmp	eax, 48
	ja	.L32
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L34[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L34[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L34:
	.long	.L37-.L34
	.long	.L36-.L34
	.long	.L32-.L34
	.long	.L32-.L34
	.long	.L32-.L34
	.long	.L35-.L34
	.long	.L32-.L34
	.long	.L32-.L34
	.long	.L32-.L34
	.long	.L32-.L34
	.long	.L32-.L34
	.long	.L32-.L34
	.long	.L32-.L34
	.long	.L32-.L34
	.long	.L32-.L34
	.long	.L32-.L34
	.long	.L33-.L34
	.long	.L32-.L34
	.long	.L32-.L34
	.long	.L32-.L34
	.long	.L32-.L34
	.long	.L32-.L34
	.long	.L32-.L34
	.long	.L32-.L34
	.long	.L32-.L34
	.long	.L32-.L34
	.long	.L32-.L34
	.long	.L32-.L34
	.long	.L32-.L34
	.long	.L32-.L34
	.long	.L32-.L34
	.long	.L32-.L34
	.long	.L37-.L34
	.long	.L36-.L34
	.long	.L32-.L34
	.long	.L32-.L34
	.long	.L32-.L34
	.long	.L35-.L34
	.long	.L32-.L34
	.long	.L32-.L34
	.long	.L32-.L34
	.long	.L32-.L34
	.long	.L32-.L34
	.long	.L32-.L34
	.long	.L32-.L34
	.long	.L32-.L34
	.long	.L32-.L34
	.long	.L32-.L34
	.long	.L33-.L34
	.text
.L37:
	mov	DWORD PTR -92[rbp], 0
	jmp	.L38
.L36:
	mov	DWORD PTR -92[rbp], 1
	jmp	.L38
.L35:
	mov	DWORD PTR -92[rbp], 2
	jmp	.L38
.L33:
	mov	DWORD PTR -92[rbp], 3
	jmp	.L38
.L32:
	mov	BYTE PTR -96[rbp], 1
.L38:
	jmp	.L39
.L40:
	cmp	BYTE PTR -93[rbp], 32
	je	.L39
	mov	BYTE PTR -96[rbp], 1
.L39:
	call	getchar@PLT
	mov	BYTE PTR -93[rbp], al
	cmp	BYTE PTR -93[rbp], 10
	jne	.L40
	cmp	BYTE PTR -96[rbp], 0
	je	.L41
	lea	rdi, .LC1[rip]
	call	puts@PLT
	jmp	.L14
.L41:
	mov	rcx, QWORD PTR -64[rbp]
	mov	eax, DWORD PTR -92[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	imul	rax, rbx
	add	rdx, rcx
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L42
	lea	rdi, .LC2[rip]
	call	puts@PLT
	jmp	.L14
.L42:
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -112[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	add	edx, 1
	mov	DWORD PTR [rax], edx
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	add	edx, 1
	mov	DWORD PTR [rax], edx
	mov	rcx, QWORD PTR -64[rbp]
	mov	eax, DWORD PTR -92[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	imul	rax, rbx
	add	rdx, rcx
	add	rax, rdx
	mov	BYTE PTR [rax], 1
	add	DWORD PTR -84[rbp], 1
.L14:
	cmp	DWORD PTR -84[rbp], 4
	jle	.L43
	mov	rsp, QWORD PTR -128[rbp]
	nop
	mov	rax, QWORD PTR -56[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L44
	call	__stack_chk_fail@PLT
.L44:
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.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 -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -24[rbp], edx
	mov	QWORD PTR -40[rbp], rcx
	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 pairs[rip], 0
	mov	DWORD PTR -4[rbp], 0
	jmp	.L46
.L48:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cmp	eax, 5
	jne	.L47
	mov	BYTE PTR flush[rip], 1
.L47:
	add	DWORD PTR -4[rbp], 1
.L46:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -24[rbp]
	jl	.L48
	mov	DWORD PTR -8[rbp], 0
	jmp	.L49
.L50:
	add	DWORD PTR -8[rbp], 1
.L49:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	je	.L50
	jmp	.L51
.L53:
	add	DWORD PTR -12[rbp], 1
	add	DWORD PTR -8[rbp], 1
.L51:
	mov	eax, DWORD PTR -8[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jge	.L52
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jg	.L53
.L52:
	cmp	DWORD PTR -12[rbp], 5
	jne	.L54
	mov	BYTE PTR straight[rip], 1
	jmp	.L45
.L54:
	mov	DWORD PTR -8[rbp], 0
	jmp	.L56
.L60:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cmp	eax, 4
	jne	.L57
	mov	BYTE PTR four[rip], 1
.L57:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cmp	eax, 3
	jne	.L58
	mov	BYTE PTR three[rip], 1
.L58:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cmp	eax, 2
	jne	.L59
	mov	eax, DWORD PTR pairs[rip]
	add	eax, 1
	mov	DWORD PTR pairs[rip], eax
.L59:
	add	DWORD PTR -8[rbp], 1
.L56:
	mov	eax, DWORD PTR -8[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jl	.L60
.L45:
	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 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	.L62
	movzx	eax, BYTE PTR flush[rip]
	test	al, al
	je	.L62
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L63
.L62:
	movzx	eax, BYTE PTR four[rip]
	test	al, al
	je	.L64
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L63
.L64:
	movzx	eax, BYTE PTR three[rip]
	test	al, al
	je	.L65
	mov	eax, DWORD PTR pairs[rip]
	cmp	eax, 1
	jne	.L65
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L63
.L65:
	movzx	eax, BYTE PTR flush[rip]
	test	al, al
	je	.L66
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L63
.L66:
	movzx	eax, BYTE PTR straight[rip]
	test	al, al
	je	.L67
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L63
.L67:
	movzx	eax, BYTE PTR three[rip]
	test	al, al
	je	.L68
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L63
.L68:
	mov	eax, DWORD PTR pairs[rip]
	cmp	eax, 2
	jne	.L69
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L63
.L69:
	mov	eax, DWORD PTR pairs[rip]
	cmp	eax, 1
	jne	.L70
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L63
.L70:
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
.L63:
	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	"730203.c"
	.text
	.comm	straight,1,1
	.comm	flush,1,1
	.comm	four,1,1
	.comm	three,1,1
	.comm	pairs,4,4
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 72
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #72
	ldr	r3, .L4
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
.L2:
	sub	r3, fp, #76
	sub	r1, fp, #60
	mov	r2, #4
	mov	r0, #13
	bl	read_cards
	sub	r3, fp, #76
	sub	r1, fp, #60
	mov	r2, #4
	mov	r0, #13
	bl	analyze_hand
	bl	print_result
	b	.L2
.L5:
	.align	2
.L4:
	.word	.LC0
	.size	main, .-main
	.section	.rodata
	.align	2
.LC1:
	.ascii	"Enter a card: \000"
	.align	2
.LC2:
	.ascii	"Bad card; ignored.\000"
	.align	2
.LC3:
	.ascii	"Duplicate card; ignored.\000"
	.align	2
.LC4:
	.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 = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, fp, lr}
	add	fp, sp, #24
	sub	sp, sp, #52
	str	r0, [fp, #-64]
	str	r1, [fp, #-68]
	str	r2, [fp, #-72]
	str	r3, [fp, #-76]
	ldr	r3, .L44
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	mov	r3, sp
	mov	r8, r3
	ldr	ip, [fp, #-72]
	ldr	lr, [fp, #-64]
	sub	r3, ip, #1
	str	r3, [fp, #-44]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	mov	r6, ip
	sub	r3, lr, #1
	str	r3, [fp, #-40]
	mov	r3, ip
	mov	r4, r3
	mov	r5, #0
	mov	r3, lr
	mov	r0, r3
	mov	r1, #0
	mul	r2, r0, r5
	mul	r3, r4, r1
	add	r7, r2, r3
	umull	r2, r3, r4, r0
	add	r1, r7, r3
	mov	r3, r1
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #3
	orr	r1, r1, r2, lsr #29
	lsl	r0, r2, #3
	mov	r3, ip
	mov	r4, r3
	mov	r5, #0
	mov	r3, lr
	mov	r0, r3
	mov	r1, #0
	mul	r2, r0, r5
	mul	r3, r4, r1
	add	r7, r2, r3
	umull	r2, r3, r4, r0
	add	r1, r7, r3
	mov	r3, r1
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #3
	orr	r1, r1, r2, lsr #29
	lsl	r0, r2, #3
	mov	r3, ip
	mov	r2, lr
	mul	r3, r2, r3
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #0
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-48]
	mov	r3, #0
	str	r3, [fp, #-52]
	b	.L7
.L10:
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-68]
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-56]
	b	.L8
.L9:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-52]
	mul	r3, r6, r3
	add	r2, r2, r3
	ldr	r3, [fp, #-56]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L8:
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-72]
	cmp	r2, r3
	blt	.L9
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
.L7:
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-64]
	cmp	r2, r3
	blt	.L10
	mov	r3, #0
	str	r3, [fp, #-56]
	b	.L11
.L12:
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-76]
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L11:
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-72]
	cmp	r2, r3
	blt	.L12
	b	.L13
.L42:
	mov	r3, #0
	strb	r3, [fp, #-60]
	ldr	r0, .L44+4
	bl	printf
	bl	getchar
	mov	r3, r0
	strb	r3, [fp, #-59]
	ldrb	r3, [fp, #-59]	@ 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, #-52]
	b	.L30
.L27:
	mov	r3, #1
	str	r3, [fp, #-52]
	b	.L30
.L26:
	mov	r3, #2
	str	r3, [fp, #-52]
	b	.L30
.L25:
	mov	r3, #3
	str	r3, [fp, #-52]
	b	.L30
.L24:
	mov	r3, #4
	str	r3, [fp, #-52]
	b	.L30
.L23:
	mov	r3, #5
	str	r3, [fp, #-52]
	b	.L30
.L22:
	mov	r3, #6
	str	r3, [fp, #-52]
	b	.L30
.L21:
	mov	r3, #7
	str	r3, [fp, #-52]
	b	.L30
.L15:
	mov	r3, #8
	str	r3, [fp, #-52]
	b	.L30
.L19:
	mov	r3, #9
	str	r3, [fp, #-52]
	b	.L30
.L17:
	mov	r3, #10
	str	r3, [fp, #-52]
	b	.L30
.L18:
	mov	r3, #11
	str	r3, [fp, #-52]
	b	.L30
.L20:
	mov	r3, #12
	str	r3, [fp, #-52]
	b	.L30
.L14:
	mov	r3, #1
	strb	r3, [fp, #-60]
.L30:
	bl	getchar
	mov	r3, r0
	strb	r3, [fp, #-58]
	ldrb	r3, [fp, #-58]	@ 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, #-56]
	b	.L37
.L35:
	mov	r3, #1
	str	r3, [fp, #-56]
	b	.L37
.L34:
	mov	r3, #2
	str	r3, [fp, #-56]
	b	.L37
.L32:
	mov	r3, #3
	str	r3, [fp, #-56]
	b	.L37
.L31:
	mov	r3, #1
	strb	r3, [fp, #-60]
.L37:
	b	.L38
.L39:
	ldrb	r3, [fp, #-57]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L38
	mov	r3, #1
	strb	r3, [fp, #-60]
.L38:
	bl	getchar
	mov	r3, r0
	strb	r3, [fp, #-57]
	ldrb	r3, [fp, #-57]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L39
	ldrb	r3, [fp, #-60]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L40
	ldr	r0, .L44+8
	bl	puts
	b	.L13
.L40:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-52]
	mul	r3, r6, r3
	add	r2, r2, r3
	ldr	r3, [fp, #-56]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L41
	ldr	r0, .L44+12
	bl	puts
	b	.L13
.L41:
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-68]
	add	r3, r2, r3
	ldr	r2, [r3]
	add	r2, r2, #1
	str	r2, [r3]
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-76]
	add	r3, r2, r3
	ldr	r2, [r3]
	add	r2, r2, #1
	str	r2, [r3]
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-52]
	mul	r3, r6, r3
	add	r2, r2, r3
	ldr	r3, [fp, #-56]
	add	r3, r2, r3
	mov	r2, #1
	strb	r2, [r3]
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
.L13:
	ldr	r3, [fp, #-48]
	cmp	r3, #4
	ble	.L42
	mov	sp, r8
	nop
	ldr	r3, .L44
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L43
	bl	__stack_chk_fail
.L43:
	sub	sp, fp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, fp, pc}
.L45:
	.align	2
.L44:
	.word	.LC4
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.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 = 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, .L62
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, .L62+4
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, .L62+8
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, .L62+12
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, .L62+16
	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, #-36]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #5
	bne	.L48
	ldr	r3, .L62+4
	mov	r2, #1
	strb	r2, [r3]
.L48:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L47:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	blt	.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, #-28]
	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	r2, [fp, #-12]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	bge	.L53
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	bgt	.L54
.L53:
	ldr	r3, [fp, #-16]
	cmp	r3, #5
	bne	.L55
	ldr	r3, .L62
	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, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #4
	bne	.L58
	ldr	r3, .L62+8
	mov	r2, #1
	strb	r2, [r3]
.L58:
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #3
	bne	.L59
	ldr	r3, .L62+12
	mov	r2, #1
	strb	r2, [r3]
.L59:
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #2
	bne	.L60
	ldr	r3, .L62+16
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L62+16
	str	r3, [r2]
.L60:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L57:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	blt	.L61
.L46:
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L63:
	.align	2
.L62:
	.word	straight
	.word	flush
	.word	four
	.word	three
	.word	pairs
	.size	analyze_hand, .-analyze_hand
	.section	.rodata
	.align	2
.LC5:
	.ascii	"Straight flush\000"
	.align	2
.LC6:
	.ascii	"Four of a kind\000"
	.align	2
.LC7:
	.ascii	"Full house\000"
	.align	2
.LC8:
	.ascii	"Flush\000"
	.align	2
.LC9:
	.ascii	"Straight\000"
	.align	2
.LC10:
	.ascii	"Three of a kind\000"
	.align	2
.LC11:
	.ascii	"Two pairs\000"
	.align	2
.LC12:
	.ascii	"Pair\000"
	.align	2
.LC13:
	.ascii	"High card\000"
	.align	2
.LC14:
	.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, .L74
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L65
	ldr	r3, .L74+4
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L65
	ldr	r0, .L74+8
	bl	printf
	b	.L66
.L65:
	ldr	r3, .L74+12
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L67
	ldr	r0, .L74+16
	bl	printf
	b	.L66
.L67:
	ldr	r3, .L74+20
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L68
	ldr	r3, .L74+24
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L68
	ldr	r0, .L74+28
	bl	printf
	b	.L66
.L68:
	ldr	r3, .L74+4
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L69
	ldr	r0, .L74+32
	bl	printf
	b	.L66
.L69:
	ldr	r3, .L74
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L70
	ldr	r0, .L74+36
	bl	printf
	b	.L66
.L70:
	ldr	r3, .L74+20
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L71
	ldr	r0, .L74+40
	bl	printf
	b	.L66
.L71:
	ldr	r3, .L74+24
	ldr	r3, [r3]
	cmp	r3, #2
	bne	.L72
	ldr	r0, .L74+44
	bl	printf
	b	.L66
.L72:
	ldr	r3, .L74+24
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L73
	ldr	r0, .L74+48
	bl	printf
	b	.L66
.L73:
	ldr	r0, .L74+52
	bl	printf
.L66:
	ldr	r0, .L74+56
	bl	puts
	nop
	pop	{fp, pc}
.L75:
	.align	2
.L74:
	.word	straight
	.word	flush
	.word	.LC5
	.word	four
	.word	.LC6
	.word	three
	.word	pairs
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.size	print_result, .-print_result
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
