	.file	"956644.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"rb"
.LC1:
	.string	"Opened file %s with %d bytes\n"
.LC2:
	.string	"Could not open file %s\n"
	.align 8
.LC3:
	.string	"ERROR: Found a 1 not followed by a 0"
	.align 8
.LC4:
	.string	"ERROR: Invalid data file, seeking rank"
	.align 8
.LC5:
	.string	"ERROR: Invalid data file, seeking suit"
.LC6:
	.string	"ERROR: Too many cards"
.LC7:
	.string	"Read %d cards\n"
	.text
	.globl	readfile
	.type	readfile, @function
readfile:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 264
	.cfi_offset 3, -24
	mov	QWORD PTR -248[rbp], rdi
	mov	QWORD PTR -256[rbp], rsi
	mov	QWORD PTR -264[rbp], rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -240[rbp], 0
	mov	rax, QWORD PTR -248[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -232[rbp], rax
	cmp	QWORD PTR -232[rbp], 0
	je	.L2
	mov	rax, QWORD PTR -232[rbp]
	mov	edx, 2
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	mov	rax, QWORD PTR -232[rbp]
	mov	rdi, rax
	call	ftell@PLT
	mov	edx, eax
	mov	rax, QWORD PTR -264[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -232[rbp]
	mov	rdi, rax
	call	rewind@PLT
	mov	rax, QWORD PTR -264[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -248[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -264[rbp]
	mov	DWORD PTR [rax], 0
	jmp	.L4
.L2:
	mov	rax, QWORD PTR -248[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L24:
	mov	DWORD PTR -240[rbp], 0
	jmp	.L5
.L23:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -240[rbp]
	cdqe
	movzx	eax, BYTE PTR -224[rbp+rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8192
	test	eax, eax
	jne	.L26
	mov	eax, DWORD PTR -240[rbp]
	cdqe
	movzx	eax, BYTE PTR -224[rbp+rax]
	cmp	al, 35
	je	.L8
	mov	eax, DWORD PTR -240[rbp]
	cdqe
	movzx	eax, BYTE PTR -224[rbp+rax]
	cmp	al, 61
	jne	.L9
.L8:
	mov	DWORD PTR -240[rbp], 999
	jmp	.L7
.L9:
	mov	eax, DWORD PTR -240[rbp]
	cdqe
	movzx	eax, BYTE PTR -224[rbp+rax]
	cmp	al, 49
	jle	.L10
	mov	eax, DWORD PTR -240[rbp]
	cdqe
	movzx	eax, BYTE PTR -224[rbp+rax]
	cmp	al, 57
	jg	.L10
	mov	eax, DWORD PTR -240[rbp]
	cdqe
	movzx	eax, BYTE PTR -224[rbp+rax]
	movsx	eax, al
	sub	eax, 48
	mov	DWORD PTR -236[rbp], eax
	jmp	.L11
.L10:
	mov	eax, DWORD PTR -240[rbp]
	cdqe
	movzx	eax, BYTE PTR -224[rbp+rax]
	cmp	al, 49
	jne	.L12
	mov	eax, DWORD PTR -240[rbp]
	add	eax, 1
	cdqe
	movzx	eax, BYTE PTR -224[rbp+rax]
	cmp	al, 48
	jne	.L12
	mov	DWORD PTR -236[rbp], 10
	add	DWORD PTR -240[rbp], 1
	jmp	.L11
.L12:
	mov	eax, DWORD PTR -240[rbp]
	cdqe
	movzx	eax, BYTE PTR -224[rbp+rax]
	cmp	al, 49
	jne	.L13
	mov	eax, DWORD PTR -240[rbp]
	add	eax, 1
	cdqe
	movzx	eax, BYTE PTR -224[rbp+rax]
	cmp	al, 48
	je	.L13
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L13:
	mov	eax, DWORD PTR -240[rbp]
	cdqe
	movzx	eax, BYTE PTR -224[rbp+rax]
	cmp	al, 106
	jne	.L14
	mov	DWORD PTR -236[rbp], 11
	jmp	.L11
.L14:
	mov	eax, DWORD PTR -240[rbp]
	cdqe
	movzx	eax, BYTE PTR -224[rbp+rax]
	cmp	al, 113
	jne	.L15
	mov	DWORD PTR -236[rbp], 12
	jmp	.L11
.L15:
	mov	eax, DWORD PTR -240[rbp]
	cdqe
	movzx	eax, BYTE PTR -224[rbp+rax]
	cmp	al, 107
	jne	.L16
	mov	DWORD PTR -236[rbp], 13
	jmp	.L11
.L16:
	mov	eax, DWORD PTR -240[rbp]
	cdqe
	movzx	eax, BYTE PTR -224[rbp+rax]
	cmp	al, 97
	jne	.L17
	mov	DWORD PTR -236[rbp], 1
	jmp	.L11
.L17:
	lea	rdi, .LC4[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L11:
	add	DWORD PTR -240[rbp], 1
	mov	eax, DWORD PTR -240[rbp]
	cdqe
	movzx	eax, BYTE PTR -224[rbp+rax]
	cmp	al, 104
	jne	.L18
	mov	eax, DWORD PTR -236[rbp]
	lea	esi, -1[rax]
	mov	rax, QWORD PTR -264[rbp]
	mov	eax, DWORD PTR [rax]
	lea	ecx, 1[rax]
	mov	rdx, QWORD PTR -264[rbp]
	mov	DWORD PTR [rdx], ecx
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -256[rbp]
	add	rax, rdx
	mov	edx, 1
	mov	ecx, esi
	sal	rdx, cl
	mov	QWORD PTR [rax], rdx
	jmp	.L19
.L18:
	mov	eax, DWORD PTR -240[rbp]
	cdqe
	movzx	eax, BYTE PTR -224[rbp+rax]
	cmp	al, 115
	jne	.L20
	mov	eax, DWORD PTR -236[rbp]
	lea	esi, 12[rax]
	mov	rax, QWORD PTR -264[rbp]
	mov	eax, DWORD PTR [rax]
	lea	ecx, 1[rax]
	mov	rdx, QWORD PTR -264[rbp]
	mov	DWORD PTR [rdx], ecx
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -256[rbp]
	add	rax, rdx
	mov	edx, 1
	mov	ecx, esi
	sal	rdx, cl
	mov	QWORD PTR [rax], rdx
	jmp	.L19
.L20:
	mov	eax, DWORD PTR -240[rbp]
	cdqe
	movzx	eax, BYTE PTR -224[rbp+rax]
	cmp	al, 100
	jne	.L21
	mov	eax, DWORD PTR -236[rbp]
	lea	esi, 25[rax]
	mov	rax, QWORD PTR -264[rbp]
	mov	eax, DWORD PTR [rax]
	lea	ecx, 1[rax]
	mov	rdx, QWORD PTR -264[rbp]
	mov	DWORD PTR [rdx], ecx
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -256[rbp]
	add	rax, rdx
	mov	edx, 1
	mov	ecx, esi
	sal	rdx, cl
	mov	QWORD PTR [rax], rdx
	jmp	.L19
.L21:
	mov	eax, DWORD PTR -240[rbp]
	cdqe
	movzx	eax, BYTE PTR -224[rbp+rax]
	cmp	al, 99
	jne	.L22
	mov	eax, DWORD PTR -236[rbp]
	lea	esi, 38[rax]
	mov	rax, QWORD PTR -264[rbp]
	mov	eax, DWORD PTR [rax]
	lea	ecx, 1[rax]
	mov	rdx, QWORD PTR -264[rbp]
	mov	DWORD PTR [rdx], ecx
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -256[rbp]
	add	rax, rdx
	mov	edx, 1
	mov	ecx, esi
	sal	rdx, cl
	mov	QWORD PTR [rax], rdx
	jmp	.L19
.L22:
	lea	rdi, .LC5[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L19:
	mov	rax, QWORD PTR -264[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	eax, 312
	jle	.L7
	lea	rdi, .LC6[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L26:
	nop
.L7:
	add	DWORD PTR -240[rbp], 1
.L5:
	mov	eax, DWORD PTR -240[rbp]
	movsx	rbx, eax
	lea	rax, -224[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rbx, rax
	jb	.L23
.L4:
	mov	rdx, QWORD PTR -232[rbp]
	lea	rax, -224[rbp]
	mov	esi, 200
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L24
	mov	rax, QWORD PTR -264[rbp]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L25
	call	__stack_chk_fail@PLT
.L25:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	readfile, .-readfile
	.section	.rodata
	.align 8
.LC8:
	.string	"ERROR: There are %d decks but more than %d of one specific rank & suit!"
	.text
	.globl	buildsets
	.type	buildsets, @function
buildsets:
.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, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	QWORD PTR -40[rbp], rdx
	mov	DWORD PTR -12[rbp], 0
	jmp	.L28
.L39:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -12[rbp]
	movsx	rdx, edx
	imul	rcx, rdx, 4800
	mov	rdx, QWORD PTR -40[rbp]
	add	rdx, rcx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR 48[rdx], rax
	mov	DWORD PTR -4[rbp], 1
	jmp	.L29
.L30:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	imul	rdx, rax, 4800
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	add	rdx, 6
	mov	QWORD PTR [rax+rdx*8], 0
	add	DWORD PTR -4[rbp], 1
.L29:
	cmp	DWORD PTR -4[rbp], 5
	jle	.L30
	mov	DWORD PTR -8[rbp], 2
	jmp	.L31
.L38:
	mov	DWORD PTR -4[rbp], 0
	jmp	.L32
.L33:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	imul	rdx, rax, 4800
	mov	rax, QWORD PTR -40[rbp]
	lea	rcx, [rdx+rax]
	mov	eax, DWORD PTR -8[rbp]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	imul	rsi, rax, 4800
	mov	rax, QWORD PTR -40[rbp]
	add	rsi, rax
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdi, eax
	movsx	rdx, edx
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rax
	add	rax, rdi
	mov	rdx, QWORD PTR [rcx+rax*8]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdi, eax
	mov	eax, DWORD PTR -8[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	add	rax, rax
	add	rax, rdi
	mov	QWORD PTR [rsi+rax*8], rdx
	add	DWORD PTR -4[rbp], 1
.L32:
	cmp	DWORD PTR -4[rbp], 5
	jle	.L33
	mov	DWORD PTR -4[rbp], 0
	jmp	.L34
.L35:
	add	DWORD PTR -4[rbp], 1
.L34:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	imul	rdx, rax, 4800
	mov	rax, QWORD PTR -40[rbp]
	lea	rcx, [rdx+rax]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rax
	add	rax, rsi
	mov	rdx, QWORD PTR [rcx+rax*8]
	mov	ecx, DWORD PTR -12[rbp]
	mov	eax, DWORD PTR -8[rbp]
	add	eax, ecx
	cdqe
	sal	rax, 3
	lea	rcx, -8[rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rcx
	mov	rax, QWORD PTR [rax]
	and	rax, rdx
	test	rax, rax
	jne	.L35
	cmp	DWORD PTR -4[rbp], 5
	jle	.L36
	mov	edx, 6
	mov	esi, 6
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L36:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	imul	rdx, rax, 4800
	mov	rax, QWORD PTR -40[rbp]
	lea	rcx, [rdx+rax]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rax
	add	rax, rsi
	mov	rsi, QWORD PTR [rcx+rax*8]
	mov	edx, DWORD PTR -12[rbp]
	mov	eax, DWORD PTR -8[rbp]
	add	eax, edx
	cdqe
	sal	rax, 3
	lea	rdx, -8[rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	imul	rcx, rax, 4800
	mov	rax, QWORD PTR -40[rbp]
	add	rcx, rax
	or	rsi, rdx
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdi, eax
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rax
	add	rax, rdi
	mov	QWORD PTR [rcx+rax*8], rsi
	add	DWORD PTR -8[rbp], 1
.L31:
	cmp	DWORD PTR -8[rbp], 99
	jg	.L37
	mov	edx, DWORD PTR -12[rbp]
	mov	eax, DWORD PTR -8[rbp]
	add	eax, edx
	cmp	DWORD PTR -28[rbp], eax
	jge	.L38
.L37:
	add	DWORD PTR -12[rbp], 1
.L28:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L39
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	buildsets, .-buildsets
	.globl	multiset_dist
	.type	multiset_dist, @function
multiset_dist:
.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 -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	QWORD PTR -16[rbp], 0
	mov	DWORD PTR -20[rbp], 0
	jmp	.L41
.L42:
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rcx
	mov	rax, QWORD PTR [rax]
	xor	rax, rdx
	mov	QWORD PTR -8[rbp], rax
	movabs	rax, 6148914691236517205
	and	rax, QWORD PTR -8[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	shr	rax
	mov	rcx, rax
	movabs	rax, 6148914691236517205
	and	rax, rcx
	add	rax, rdx
	mov	QWORD PTR -8[rbp], rax
	movabs	rax, 3689348814741910323
	and	rax, QWORD PTR -8[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	shr	rax, 2
	mov	rcx, rax
	movabs	rax, 3689348814741910323
	and	rax, rcx
	add	rax, rdx
	mov	QWORD PTR -8[rbp], rax
	movabs	rax, 1085102592571150095
	and	rax, QWORD PTR -8[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	shr	rax, 4
	mov	rcx, rax
	movabs	rax, 1085102592571150095
	and	rax, rcx
	add	rax, rdx
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	movabs	rdx, 72340172838076673
	imul	rax, rdx
	shr	rax, 56
	add	QWORD PTR -16[rbp], rax
	add	DWORD PTR -20[rbp], 1
.L41:
	cmp	DWORD PTR -20[rbp], 5
	jle	.L42
	mov	rax, QWORD PTR -16[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	multiset_dist, .-multiset_dist
	.globl	multiset_subtract_dist
	.type	multiset_subtract_dist, @function
multiset_subtract_dist:
.LFB9:
	.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 -16[rbp], 0
	mov	DWORD PTR -20[rbp], 0
	jmp	.L45
.L46:
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rcx
	mov	rax, QWORD PTR [rax]
	not	rax
	and	rax, rdx
	mov	QWORD PTR -8[rbp], rax
	movabs	rax, 6148914691236517205
	and	rax, QWORD PTR -8[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	shr	rax
	mov	rcx, rax
	movabs	rax, 6148914691236517205
	and	rax, rcx
	add	rax, rdx
	mov	QWORD PTR -8[rbp], rax
	movabs	rax, 3689348814741910323
	and	rax, QWORD PTR -8[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	shr	rax, 2
	mov	rcx, rax
	movabs	rax, 3689348814741910323
	and	rax, rcx
	add	rax, rdx
	mov	QWORD PTR -8[rbp], rax
	movabs	rax, 1085102592571150095
	and	rax, QWORD PTR -8[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	shr	rax, 4
	mov	rcx, rax
	movabs	rax, 1085102592571150095
	and	rax, rcx
	add	rax, rdx
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	movabs	rdx, 72340172838076673
	imul	rax, rdx
	shr	rax, 56
	add	QWORD PTR -16[rbp], rax
	add	DWORD PTR -20[rbp], 1
.L45:
	cmp	DWORD PTR -20[rbp], 5
	jle	.L46
	mov	rax, QWORD PTR -16[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	multiset_subtract_dist, .-multiset_subtract_dist
	.section	.rodata
	.align 8
.LC9:
	.string	"ERROR: Adding two sets of cards and there's more than %d of one card\n"
	.text
	.globl	multiset_add_dist
	.type	multiset_add_dist, @function
multiset_add_dist:
.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, 144
	mov	QWORD PTR -120[rbp], rdi
	mov	QWORD PTR -128[rbp], rsi
	mov	QWORD PTR -136[rbp], rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -96[rbp], 0
	mov	rcx, QWORD PTR -120[rbp]
	lea	rax, -64[rbp]
	mov	edx, 48
	mov	rsi, rcx
	mov	rdi, rax
	call	memcpy@PLT
	mov	DWORD PTR -104[rbp], 0
	jmp	.L49
.L53:
	mov	eax, DWORD PTR -104[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -128[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -88[rbp], rax
	mov	eax, DWORD PTR -104[rbp]
	mov	DWORD PTR -108[rbp], eax
	jmp	.L50
.L51:
	mov	eax, DWORD PTR -108[rbp]
	cdqe
	mov	rax, QWORD PTR -64[rbp+rax*8]
	and	rax, QWORD PTR -88[rbp]
	mov	QWORD PTR -72[rbp], rax
	mov	eax, DWORD PTR -108[rbp]
	cdqe
	mov	rax, QWORD PTR -64[rbp+rax*8]
	or	rax, QWORD PTR -88[rbp]
	mov	rdx, rax
	mov	eax, DWORD PTR -108[rbp]
	cdqe
	mov	QWORD PTR -64[rbp+rax*8], rdx
	mov	rax, QWORD PTR -72[rbp]
	mov	QWORD PTR -88[rbp], rax
	add	DWORD PTR -108[rbp], 1
.L50:
	cmp	DWORD PTR -108[rbp], 5
	jle	.L51
	cmp	QWORD PTR -88[rbp], 0
	je	.L52
	mov	esi, 6
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L52:
	add	DWORD PTR -104[rbp], 1
.L49:
	cmp	DWORD PTR -104[rbp], 5
	jle	.L53
	mov	DWORD PTR -100[rbp], 0
	jmp	.L54
.L55:
	mov	eax, DWORD PTR -100[rbp]
	cdqe
	mov	rdx, QWORD PTR -64[rbp+rax*8]
	mov	eax, DWORD PTR -100[rbp]
	cdqe
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -136[rbp]
	add	rax, rcx
	mov	rax, QWORD PTR [rax]
	xor	rax, rdx
	mov	QWORD PTR -80[rbp], rax
	movabs	rax, 6148914691236517205
	and	rax, QWORD PTR -80[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR -80[rbp]
	shr	rax
	mov	rcx, rax
	movabs	rax, 6148914691236517205
	and	rax, rcx
	add	rax, rdx
	mov	QWORD PTR -80[rbp], rax
	movabs	rax, 3689348814741910323
	and	rax, QWORD PTR -80[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR -80[rbp]
	shr	rax, 2
	mov	rcx, rax
	movabs	rax, 3689348814741910323
	and	rax, rcx
	add	rax, rdx
	mov	QWORD PTR -80[rbp], rax
	movabs	rax, 1085102592571150095
	and	rax, QWORD PTR -80[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR -80[rbp]
	shr	rax, 4
	mov	rcx, rax
	movabs	rax, 1085102592571150095
	and	rax, rcx
	add	rax, rdx
	mov	QWORD PTR -80[rbp], rax
	mov	rax, QWORD PTR -80[rbp]
	movabs	rdx, 72340172838076673
	imul	rax, rdx
	shr	rax, 56
	add	QWORD PTR -96[rbp], rax
	add	DWORD PTR -100[rbp], 1
.L54:
	cmp	DWORD PTR -100[rbp], 5
	jle	.L55
	mov	rax, QWORD PTR -96[rbp]
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L57
	call	__stack_chk_fail@PLT
.L57:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	multiset_add_dist, .-multiset_add_dist
	.globl	multiset_subtract
	.type	multiset_subtract, @function
multiset_subtract:
.LFB11:
	.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	DWORD PTR -4[rbp], 0
	jmp	.L59
.L62:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rcx
	mov	rax, QWORD PTR [rax]
	not	rax
	and	rax, rdx
	test	rax, rax
	je	.L60
	mov	eax, 1
	jmp	.L61
.L60:
	add	DWORD PTR -4[rbp], 1
.L59:
	cmp	DWORD PTR -4[rbp], 5
	jle	.L62
	mov	eax, 0
.L61:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	multiset_subtract, .-multiset_subtract
	.globl	multiset_equal
	.type	multiset_equal, @function
multiset_equal:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	rcx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, 48
	mov	rsi, rcx
	mov	rdi, rax
	call	memcmp@PLT
	test	eax, eax
	sete	al
	movzx	eax, al
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	multiset_equal, .-multiset_equal
	.section	.rodata
	.align 8
.LC10:
	.string	"ERROR: Carry past number of decks!!"
	.text
	.globl	multiset_add_equal
	.type	multiset_add_equal, @function
multiset_add_equal:
.LFB13:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	add	rsp, -128
	mov	QWORD PTR -104[rbp], rdi
	mov	QWORD PTR -112[rbp], rsi
	mov	QWORD PTR -120[rbp], rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	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 -88[rbp], 0
	jmp	.L66
.L67:
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	mov	QWORD PTR -64[rbp+rax*8], rdx
	add	DWORD PTR -88[rbp], 1
.L66:
	cmp	DWORD PTR -88[rbp], 5
	jle	.L67
	mov	DWORD PTR -84[rbp], 0
	jmp	.L68
.L72:
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -112[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -80[rbp], rax
	mov	eax, DWORD PTR -84[rbp]
	mov	DWORD PTR -88[rbp], eax
	jmp	.L69
.L70:
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	mov	rax, QWORD PTR -64[rbp+rax*8]
	and	rax, QWORD PTR -80[rbp]
	mov	QWORD PTR -72[rbp], rax
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	mov	rax, QWORD PTR -64[rbp+rax*8]
	or	rax, QWORD PTR -80[rbp]
	mov	rdx, rax
	mov	eax, DWORD PTR -88[rbp]
	cdqe
	mov	QWORD PTR -64[rbp+rax*8], rdx
	mov	rax, QWORD PTR -72[rbp]
	mov	QWORD PTR -80[rbp], rax
	add	DWORD PTR -88[rbp], 1
.L69:
	cmp	DWORD PTR -88[rbp], 5
	jle	.L70
	cmp	QWORD PTR -80[rbp], 0
	je	.L71
	lea	rdi, .LC10[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L71:
	add	DWORD PTR -84[rbp], 1
.L68:
	cmp	DWORD PTR -84[rbp], 5
	jle	.L72
	mov	rdx, QWORD PTR -120[rbp]
	lea	rax, -64[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	multiset_equal
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L74
	call	__stack_chk_fail@PLT
.L74:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	multiset_add_equal, .-multiset_add_equal
	.section	.rodata
	.align 8
.LC11:
	.string	"H a234567890jqk  S a234567890jqk  D a234567890jqk  C a234567890jqk"
.LC12:
	.string	"\n  "
.LC13:
	.string	"    "
.LC14:
	.string	"\n"
	.text
	.globl	multiset_print
	.type	multiset_print, @function
multiset_print:
.LFB14:
	.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, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -8[rbp], 0
	jmp	.L76
.L82:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L83
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -4[rbp], 0
	jmp	.L79
.L81:
	mov	rax, QWORD PTR stdout[rip]
	mov	edx, DWORD PTR -8[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	mov	rdx, QWORD PTR -24[rbp]
	add	rdx, rcx
	mov	rsi, QWORD PTR [rdx]
	mov	edx, DWORD PTR -4[rbp]
	mov	ecx, edx
	shr	rsi, cl
	mov	rdx, rsi
	and	edx, 1
	add	edx, 48
	mov	rsi, rax
	mov	edi, edx
	call	putc@PLT
	mov	ecx, DWORD PTR -4[rbp]
	movsx	rax, ecx
	imul	rax, rax, 1321528399
	shr	rax, 32
	sar	eax, 2
	mov	esi, ecx
	sar	esi, 31
	sub	eax, esi
	mov	edx, eax
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	sal	eax, 2
	add	eax, edx
	sub	ecx, eax
	mov	edx, ecx
	cmp	edx, 12
	jne	.L80
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
.L80:
	add	DWORD PTR -4[rbp], 1
.L79:
	cmp	DWORD PTR -4[rbp], 51
	jle	.L81
	add	DWORD PTR -8[rbp], 1
.L76:
	cmp	DWORD PTR -8[rbp], 5
	jle	.L82
	jmp	.L78
.L83:
	nop
.L78:
	lea	rdi, .LC14[rip]
	call	puts@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	multiset_print, .-multiset_print
	.section	.rodata
.LC15:
	.string	"usage: %s PRE_file POST_file\n"
	.align 8
.LC16:
	.string	"  HIT: PRE[%d,%d] + PRE[%d,%d] ~= POST[%d,%d]  (FUZZ=%d)\n"
.LC17:
	.string	"TOTAL HITS  %d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB15:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	r11, -3076096[rsp]
.LPSRL0:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL0
	sub	rsp, 576
	mov	DWORD PTR -3076660[rbp], edi
	mov	QWORD PTR -3076672[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -3076608[rbp], 0
	cmp	DWORD PTR -3076660[rbp], 3
	je	.L85
	mov	rax, QWORD PTR -3076672[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L85:
	mov	rax, QWORD PTR -3076672[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rdx, -3076648[rbp]
	lea	rcx, -3076336[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	readfile
	mov	rax, QWORD PTR -3076672[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	lea	rdx, -3076644[rbp]
	lea	rcx, -3073840[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	readfile
	mov	ecx, DWORD PTR -3076648[rbp]
	lea	rdx, -2995216[rbp]
	lea	rax, -3076336[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	buildsets
	mov	ecx, DWORD PTR -3076644[rbp]
	lea	rdx, -1497616[rbp]
	lea	rax, -3073840[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	buildsets
	mov	DWORD PTR -3076624[rbp], 0
	jmp	.L86
.L108:
	mov	DWORD PTR -3076620[rbp], 20
	jmp	.L87
.L107:
	lea	rdx, -3076592[rbp]
	mov	eax, 0
	mov	ecx, 30
	mov	rdi, rdx
	rep stosq
	mov	rdx, rdi
	mov	DWORD PTR [rdx], eax
	add	rdx, 4
	mov	DWORD PTR -3076604[rbp], 0
	mov	DWORD PTR -3076600[rbp], 0
	mov	DWORD PTR -3076616[rbp], 0
	jmp	.L88
.L94:
	mov	eax, 70
	cmp	DWORD PTR -3076620[rbp], 70
	cmovge	eax, DWORD PTR -3076620[rbp]
	sub	eax, 60
	mov	DWORD PTR -3076612[rbp], eax
	jmp	.L89
.L93:
	lea	rcx, -1497616[rbp]
	mov	eax, DWORD PTR -3076620[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 4
	mov	edx, DWORD PTR -3076624[rbp]
	movsx	rdx, edx
	imul	rdx, rdx, 4800
	add	rax, rdx
	lea	rdx, [rcx+rax]
	lea	rsi, -2995216[rbp]
	mov	eax, DWORD PTR -3076612[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 4
	mov	ecx, DWORD PTR -3076616[rbp]
	movsx	rcx, ecx
	imul	rcx, rcx, 4800
	add	rax, rcx
	add	rax, rsi
	mov	rsi, rdx
	mov	rdi, rax
	call	multiset_subtract_dist
	cmp	eax, 2
	jg	.L111
	mov	eax, DWORD PTR -3076612[rbp]
	cdqe
	mov	eax, DWORD PTR -3076592[rbp+rax*4]
	lea	ecx, 1[rax]
	mov	edx, DWORD PTR -3076612[rbp]
	movsx	rdx, edx
	mov	DWORD PTR -3076592[rbp+rdx*4], ecx
	movsx	rdx, eax
	mov	eax, DWORD PTR -3076612[rbp]
	cdqe
	imul	rax, rax, 312
	add	rdx, rax
	mov	eax, DWORD PTR -3076616[rbp]
	mov	DWORD PTR -3071344[rbp+rdx*4], eax
	add	DWORD PTR -3076604[rbp], 1
	add	DWORD PTR -3076612[rbp], 1
.L89:
	mov	eax, 70
	cmp	DWORD PTR -3076620[rbp], 70
	cmovle	eax, DWORD PTR -3076620[rbp]
	sub	eax, 9
	cmp	DWORD PTR -3076612[rbp], eax
	jge	.L92
	mov	edx, DWORD PTR -3076612[rbp]
	mov	eax, DWORD PTR -3076616[rbp]
	add	edx, eax
	mov	eax, DWORD PTR -3076648[rbp]
	cmp	edx, eax
	jle	.L93
	jmp	.L92
.L111:
	nop
.L92:
	add	DWORD PTR -3076616[rbp], 1
.L88:
	mov	eax, DWORD PTR -3076616[rbp]
	lea	edx, 9[rax]
	mov	eax, DWORD PTR -3076648[rbp]
	cmp	edx, eax
	jl	.L94
	mov	DWORD PTR -3076640[rbp], 10
	jmp	.L95
.L105:
	mov	eax, DWORD PTR -3076640[rbp]
	cdqe
	mov	edx, DWORD PTR -3076592[rbp+rax*4]
	mov	eax, DWORD PTR -3076620[rbp]
	sub	eax, DWORD PTR -3076640[rbp]
	cdqe
	mov	eax, DWORD PTR -3076592[rbp+rax*4]
	imul	eax, edx
	add	DWORD PTR -3076600[rbp], eax
	mov	DWORD PTR -3076636[rbp], 0
	jmp	.L96
.L104:
	mov	DWORD PTR -3076628[rbp], -2
	jmp	.L97
.L103:
	mov	DWORD PTR -3076632[rbp], 0
	jmp	.L98
.L102:
	mov	eax, DWORD PTR -3076620[rbp]
	sub	eax, DWORD PTR -3076640[rbp]
	mov	edx, DWORD PTR -3076632[rbp]
	movsx	rdx, edx
	cdqe
	imul	rax, rax, 312
	add	rax, rdx
	mov	eax, DWORD PTR -3071344[rbp+rax*4]
	mov	edx, DWORD PTR -3076636[rbp]
	movsx	rcx, edx
	mov	edx, DWORD PTR -3076640[rbp]
	movsx	rdx, edx
	imul	rdx, rdx, 312
	add	rdx, rcx
	mov	ecx, DWORD PTR -3071344[rbp+rdx*4]
	mov	edx, DWORD PTR -3076640[rbp]
	add	edx, ecx
	cmp	eax, edx
	jg	.L99
	mov	eax, DWORD PTR -3076620[rbp]
	sub	eax, DWORD PTR -3076640[rbp]
	mov	edx, DWORD PTR -3076632[rbp]
	movsx	rdx, edx
	cdqe
	imul	rax, rax, 312
	add	rax, rdx
	mov	edx, DWORD PTR -3071344[rbp+rax*4]
	mov	eax, DWORD PTR -3076620[rbp]
	add	eax, edx
	sub	eax, DWORD PTR -3076640[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -3076636[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -3076640[rbp]
	cdqe
	imul	rax, rax, 312
	add	rax, rcx
	mov	eax, DWORD PTR -3071344[rbp+rax*4]
	cmp	edx, eax
	jge	.L112
.L99:
	mov	eax, DWORD PTR -3076636[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -3076640[rbp]
	cdqe
	imul	rax, rax, 312
	add	rax, rdx
	mov	edx, DWORD PTR -3071344[rbp+rax*4]
	mov	eax, DWORD PTR -3076620[rbp]
	sub	eax, DWORD PTR -3076640[rbp]
	mov	ecx, DWORD PTR -3076632[rbp]
	movsx	rcx, ecx
	cdqe
	imul	rax, rax, 312
	add	rax, rcx
	mov	eax, DWORD PTR -3071344[rbp+rax*4]
	cmp	edx, eax
	jg	.L113
	lea	rcx, -1497616[rbp]
	mov	eax, DWORD PTR -3076620[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 4
	mov	edx, DWORD PTR -3076624[rbp]
	movsx	rdx, edx
	imul	rdx, rdx, 4800
	add	rax, rdx
	lea	rdx, [rcx+rax]
	mov	eax, DWORD PTR -3076620[rbp]
	sub	eax, DWORD PTR -3076640[rbp]
	mov	ecx, DWORD PTR -3076632[rbp]
	movsx	rcx, ecx
	cdqe
	imul	rax, rax, 312
	add	rax, rcx
	mov	esi, DWORD PTR -3071344[rbp+rax*4]
	mov	eax, DWORD PTR -3076620[rbp]
	sub	eax, DWORD PTR -3076640[rbp]
	lea	rdi, -2995216[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 4
	movsx	rcx, esi
	imul	rcx, rcx, 4800
	add	rax, rcx
	lea	rcx, [rdi+rax]
	mov	eax, DWORD PTR -3076636[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -3076640[rbp]
	cdqe
	imul	rax, rax, 312
	add	rax, rsi
	mov	edi, DWORD PTR -3071344[rbp+rax*4]
	lea	r8, -2995216[rbp]
	mov	eax, DWORD PTR -3076640[rbp]
	movsx	rsi, eax
	mov	rax, rsi
	add	rax, rax
	add	rax, rsi
	sal	rax, 4
	movsx	rsi, edi
	imul	rsi, rsi, 4800
	add	rax, rsi
	add	rax, r8
	mov	rsi, rcx
	mov	rdi, rax
	call	multiset_add_dist
	mov	DWORD PTR -3076596[rbp], eax
	cmp	DWORD PTR -3076596[rbp], 2
	jg	.L100
	add	DWORD PTR -3076608[rbp], 1
	mov	eax, DWORD PTR -3076620[rbp]
	sub	eax, DWORD PTR -3076640[rbp]
	mov	edi, eax
	mov	eax, DWORD PTR -3076620[rbp]
	sub	eax, DWORD PTR -3076640[rbp]
	mov	edx, DWORD PTR -3076632[rbp]
	movsx	rdx, edx
	cdqe
	imul	rax, rax, 312
	add	rax, rdx
	mov	ecx, DWORD PTR -3071344[rbp+rax*4]
	mov	eax, DWORD PTR -3076636[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -3076640[rbp]
	cdqe
	imul	rax, rax, 312
	add	rax, rdx
	mov	eax, DWORD PTR -3071344[rbp+rax*4]
	mov	r8d, DWORD PTR -3076624[rbp]
	mov	edx, DWORD PTR -3076640[rbp]
	mov	esi, DWORD PTR -3076596[rbp]
	push	rsi
	mov	esi, DWORD PTR -3076620[rbp]
	push	rsi
	mov	r9d, r8d
	mov	r8d, edi
	mov	esi, eax
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	add	rsp, 16
	jmp	.L100
.L112:
	nop
	jmp	.L100
.L113:
	nop
.L100:
	add	DWORD PTR -3076632[rbp], 1
.L98:
	mov	eax, DWORD PTR -3076620[rbp]
	sub	eax, DWORD PTR -3076640[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -3076628[rbp]
	add	eax, edx
	cdqe
	mov	eax, DWORD PTR -3076592[rbp+rax*4]
	cmp	DWORD PTR -3076632[rbp], eax
	jl	.L102
	add	DWORD PTR -3076628[rbp], 1
.L97:
	cmp	DWORD PTR -3076628[rbp], 2
	jle	.L103
	add	DWORD PTR -3076636[rbp], 1
.L96:
	mov	eax, DWORD PTR -3076640[rbp]
	cdqe
	mov	eax, DWORD PTR -3076592[rbp+rax*4]
	cmp	DWORD PTR -3076636[rbp], eax
	jl	.L104
	add	DWORD PTR -3076640[rbp], 1
.L95:
	cmp	DWORD PTR -3076640[rbp], 60
	jle	.L105
	add	DWORD PTR -3076620[rbp], 1
.L87:
	cmp	DWORD PTR -3076620[rbp], 100
	jg	.L106
	mov	edx, DWORD PTR -3076624[rbp]
	mov	eax, DWORD PTR -3076620[rbp]
	add	edx, eax
	mov	eax, DWORD PTR -3076644[rbp]
	cmp	edx, eax
	jle	.L107
.L106:
	add	DWORD PTR -3076624[rbp], 1
.L86:
	mov	eax, DWORD PTR -3076624[rbp]
	lea	edx, 19[rax]
	mov	eax, DWORD PTR -3076644[rbp]
	cmp	edx, eax
	jl	.L108
	mov	eax, DWORD PTR -3076608[rbp]
	mov	esi, eax
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	mov	rdi, QWORD PTR -8[rbp]
	sub	rdi, QWORD PTR fs:40
	je	.L110
	call	__stack_chk_fail@PLT
.L110:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	main, .-main
	.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	"956644.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"rb\000"
	.align	2
.LC1:
	.ascii	"Opened file %s with %d bytes\012\000"
	.align	2
.LC2:
	.ascii	"Could not open file %s\012\000"
	.align	2
.LC3:
	.ascii	"ERROR: Found a 1 not followed by a 0\000"
	.align	2
.LC4:
	.ascii	"ERROR: Invalid data file, seeking rank\000"
	.align	2
.LC5:
	.ascii	"ERROR: Invalid data file, seeking suit\000"
	.align	2
.LC6:
	.ascii	"ERROR: Too many cards\000"
	.align	2
.LC7:
	.ascii	"Read %d cards\012\000"
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	readfile
	.syntax unified
	.arm
	.fpu softvfp
	.type	readfile, %function
readfile:
	@ args = 0, pretend = 0, frame = 240
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	add	fp, sp, #32
	sub	sp, sp, #244
	str	r0, [fp, #-256]
	str	r1, [fp, #-260]
	str	r2, [fp, #-264]
	ldr	r3, .L27
	ldr	r3, [r3]
	str	r3, [fp, #-40]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-252]
	ldr	r1, .L27+4
	ldr	r0, [fp, #-256]
	bl	fopen
	str	r0, [fp, #-244]
	ldr	r3, [fp, #-244]
	cmp	r3, #0
	beq	.L2
	mov	r2, #2
	mov	r1, #0
	ldr	r0, [fp, #-244]
	bl	fseek
	ldr	r0, [fp, #-244]
	bl	ftell
	mov	r2, r0
	ldr	r3, [fp, #-264]
	str	r2, [r3]
	ldr	r0, [fp, #-244]
	bl	rewind
	ldr	r3, [fp, #-264]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, [fp, #-256]
	ldr	r0, .L27+8
	bl	printf
	ldr	r3, [fp, #-264]
	mov	r2, #0
	str	r2, [r3]
	b	.L4
.L2:
	ldr	r1, [fp, #-256]
	ldr	r0, .L27+12
	bl	printf
	mov	r0, #1
	bl	exit
.L24:
	mov	r3, #0
	str	r3, [fp, #-252]
	b	.L5
.L23:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	sub	r1, fp, #240
	ldr	r3, [fp, #-252]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	bne	.L26
	sub	r2, fp, #240
	ldr	r3, [fp, #-252]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #35
	beq	.L8
	sub	r2, fp, #240
	ldr	r3, [fp, #-252]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #61
	bne	.L9
.L8:
	ldr	r3, .L27+16
	str	r3, [fp, #-252]
	b	.L7
.L9:
	sub	r2, fp, #240
	ldr	r3, [fp, #-252]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #49
	bls	.L10
	sub	r2, fp, #240
	ldr	r3, [fp, #-252]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #57
	bhi	.L10
	sub	r2, fp, #240
	ldr	r3, [fp, #-252]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r3, r3, #48
	str	r3, [fp, #-248]
	b	.L11
.L10:
	sub	r2, fp, #240
	ldr	r3, [fp, #-252]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #49
	bne	.L12
	ldr	r3, [fp, #-252]
	add	r3, r3, #1
	sub	r2, fp, #36
	add	r3, r2, r3
	ldrb	r3, [r3, #-204]	@ zero_extendqisi2
	cmp	r3, #48
	bne	.L12
	mov	r3, #10
	str	r3, [fp, #-248]
	ldr	r3, [fp, #-252]
	add	r3, r3, #1
	str	r3, [fp, #-252]
	b	.L11
.L12:
	sub	r2, fp, #240
	ldr	r3, [fp, #-252]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #49
	bne	.L13
	ldr	r3, [fp, #-252]
	add	r3, r3, #1
	sub	r2, fp, #36
	add	r3, r2, r3
	ldrb	r3, [r3, #-204]	@ zero_extendqisi2
	cmp	r3, #48
	beq	.L13
	ldr	r0, .L27+20
	bl	puts
	mov	r0, #1
	bl	exit
.L13:
	sub	r2, fp, #240
	ldr	r3, [fp, #-252]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #106
	bne	.L14
	mov	r3, #11
	str	r3, [fp, #-248]
	b	.L11
.L14:
	sub	r2, fp, #240
	ldr	r3, [fp, #-252]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #113
	bne	.L15
	mov	r3, #12
	str	r3, [fp, #-248]
	b	.L11
.L15:
	sub	r2, fp, #240
	ldr	r3, [fp, #-252]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #107
	bne	.L16
	mov	r3, #13
	str	r3, [fp, #-248]
	b	.L11
.L16:
	sub	r2, fp, #240
	ldr	r3, [fp, #-252]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #97
	bne	.L17
	mov	r3, #1
	str	r3, [fp, #-248]
	b	.L11
.L17:
	ldr	r0, .L27+24
	bl	puts
	mov	r0, #1
	bl	exit
.L11:
	ldr	r3, [fp, #-252]
	add	r3, r3, #1
	str	r3, [fp, #-252]
	sub	r2, fp, #240
	ldr	r3, [fp, #-252]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #104
	bne	.L18
	ldr	r3, [fp, #-248]
	sub	r1, r3, #1
	ldr	r3, [fp, #-264]
	ldr	r3, [r3]
	add	r0, r3, #1
	ldr	r2, [fp, #-264]
	str	r0, [r2]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-260]
	add	r0, r2, r3
	mov	r2, #1
	mov	r3, #0
	sub	lr, r1, #32
	rsb	ip, r1, #32
	lsl	r5, r3, r1
	orr	r5, r5, r2, lsl lr
	orr	r5, r5, r2, lsr ip
	lsl	r4, r2, r1
	stm	r0, {r4-r5}
	b	.L19
.L18:
	sub	r2, fp, #240
	ldr	r3, [fp, #-252]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #115
	bne	.L20
	ldr	r3, [fp, #-248]
	add	r1, r3, #12
	ldr	r3, [fp, #-264]
	ldr	r3, [r3]
	add	r0, r3, #1
	ldr	r2, [fp, #-264]
	str	r0, [r2]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-260]
	add	r0, r2, r3
	mov	r2, #1
	mov	r3, #0
	sub	lr, r1, #32
	rsb	ip, r1, #32
	lsl	r7, r3, r1
	orr	r7, r7, r2, lsl lr
	orr	r7, r7, r2, lsr ip
	lsl	r6, r2, r1
	stm	r0, {r6-r7}
	b	.L19
.L20:
	sub	r2, fp, #240
	ldr	r3, [fp, #-252]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #100
	bne	.L21
	ldr	r3, [fp, #-248]
	add	r1, r3, #25
	ldr	r3, [fp, #-264]
	ldr	r3, [r3]
	add	r0, r3, #1
	ldr	r2, [fp, #-264]
	str	r0, [r2]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-260]
	add	r0, r2, r3
	mov	r2, #1
	mov	r3, #0
	sub	lr, r1, #32
	rsb	ip, r1, #32
	lsl	r9, r3, r1
	orr	r9, r9, r2, lsl lr
	orr	r9, r9, r2, lsr ip
	lsl	r8, r2, r1
	stm	r0, {r8-r9}
	b	.L19
.L21:
	sub	r2, fp, #240
	ldr	r3, [fp, #-252]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #99
	bne	.L22
	ldr	r3, [fp, #-248]
	add	r1, r3, #38
	ldr	r3, [fp, #-264]
	ldr	r3, [r3]
	add	r0, r3, #1
	ldr	r2, [fp, #-264]
	str	r0, [r2]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-260]
	add	r0, r2, r3
	mov	r2, #1
	mov	r3, #0
	sub	lr, r1, #32
	rsb	ip, r1, #32
	lsl	r10, r3, r1
	str	r10, [fp, #-272]
	ldr	r10, [fp, #-272]
	orr	lr, r10, r2, lsl lr
	str	lr, [fp, #-272]
	ldr	lr, [fp, #-272]
	orr	ip, lr, r2, lsr ip
	str	ip, [fp, #-272]
	lsl	r3, r2, r1
	str	r3, [fp, #-276]
	sub	r3, fp, #276
	ldmia	r3, {r2-r3}
	stm	r0, {r2-r3}
	b	.L19
.L22:
	ldr	r0, .L27+28
	bl	puts
	mov	r0, #1
	bl	exit
.L19:
	ldr	r3, [fp, #-264]
	ldr	r3, [r3]
	cmp	r3, #312
	ble	.L7
	ldr	r0, .L27+32
	bl	puts
	mov	r0, #1
	bl	exit
.L26:
	nop
.L7:
	ldr	r3, [fp, #-252]
	add	r3, r3, #1
	str	r3, [fp, #-252]
.L5:
	sub	r3, fp, #240
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-252]
	cmp	r2, r3
	bhi	.L23
.L4:
	sub	r3, fp, #240
	ldr	r2, [fp, #-244]
	mov	r1, #200
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L24
	ldr	r3, [fp, #-264]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L27+36
	bl	printf
	nop
	ldr	r3, .L27
	ldr	r2, [r3]
	ldr	r3, [fp, #-40]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L25
	bl	__stack_chk_fail
.L25:
	sub	sp, fp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L28:
	.align	2
.L27:
	.word	.LC8
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	999
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.size	readfile, .-readfile
	.section	.rodata
	.align	2
.LC9:
	.ascii	"ERROR: There are %d decks but more than %d of one s"
	.ascii	"pecific rank & suit!\000"
	.text
	.align	2
	.global	buildsets
	.syntax unified
	.arm
	.fpu softvfp
	.type	buildsets, %function
buildsets:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #32
	str	r0, [fp, #-48]
	str	r1, [fp, #-52]
	str	r2, [fp, #-56]
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L30
.L41:
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-48]
	add	r0, r2, r3
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #6
	mov	r2, r3
	ldr	r3, [fp, #-56]
	add	r1, r3, r2
	ldmia	r0, {r2-r3}
	str	r2, [r1, #48]
	str	r3, [r1, #52]
	mov	r3, #1
	str	r3, [fp, #-32]
	b	.L31
.L32:
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #6
	mov	r2, r3
	ldr	r3, [fp, #-56]
	add	r2, r3, r2
	ldr	r3, [fp, #-32]
	add	r3, r3, #6
	lsl	r3, r3, #3
	add	r1, r2, r3
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L31:
	ldr	r3, [fp, #-32]
	cmp	r3, #5
	ble	.L32
	mov	r3, #2
	str	r3, [fp, #-36]
	b	.L33
.L40:
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L34
.L35:
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #6
	mov	r2, r3
	ldr	r3, [fp, #-56]
	add	r0, r3, r2
	ldr	r3, [fp, #-36]
	sub	r1, r3, #1
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #6
	mov	r2, r3
	ldr	r3, [fp, #-56]
	add	ip, r3, r2
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #1
	ldr	r2, [fp, #-32]
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r0, r3
	ldmia	r3, {r0-r1}
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-32]
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, ip, r3
	stm	r3, {r0-r1}
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L34:
	ldr	r3, [fp, #-32]
	cmp	r3, #5
	ble	.L35
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L36
.L37:
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L36:
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #6
	mov	r2, r3
	ldr	r3, [fp, #-56]
	add	r1, r3, r2
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-32]
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldmia	r3, {r0-r1}
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-36]
	add	r3, r2, r3
	sub	r3, r3, #-536870911
	lsl	r3, r3, #3
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	and	r4, r0, r2
	and	r5, r1, r3
	orrs	r3, r4, r5
	bne	.L37
	ldr	r3, [fp, #-32]
	cmp	r3, #5
	ble	.L38
	mov	r2, #6
	mov	r1, #6
	ldr	r0, .L42
	bl	printf
	mov	r0, #1
	bl	exit
.L38:
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #6
	mov	r2, r3
	ldr	r3, [fp, #-56]
	add	r1, r3, r2
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-32]
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldmia	r3, {r8-r9}
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-36]
	add	r3, r2, r3
	sub	r3, r3, #-536870911
	lsl	r3, r3, #3
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #6
	mov	r2, r3
	ldr	r3, [fp, #-56]
	add	ip, r3, r2
	orr	r6, r8, r0
	orr	r7, r9, r1
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-32]
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, ip, r3
	stm	r3, {r6-r7}
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L33:
	ldr	r3, [fp, #-36]
	cmp	r3, #99
	bgt	.L39
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-36]
	add	r3, r2, r3
	ldr	r2, [fp, #-52]
	cmp	r2, r3
	bge	.L40
.L39:
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L30:
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-52]
	cmp	r2, r3
	blt	.L41
	nop
	nop
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L43:
	.align	2
.L42:
	.word	.LC9
	.size	buildsets, .-buildsets
	.align	2
	.global	multiset_dist
	.syntax unified
	.arm
	.fpu softvfp
	.type	multiset_dist, %function
multiset_dist:
	@ args = 0, pretend = 0, frame = 112
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	push	{r4, r5, r6, r7, r8, r9, fp}
	add	fp, sp, #24
	sub	sp, sp, #116
	str	r0, [fp, #-56]
	str	r1, [fp, #-60]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	mov	r3, #0
	str	r3, [fp, #-48]
	b	.L45
.L46:
	ldr	r3, [fp, #-48]
	lsl	r2, r3, #3
	ldr	r3, [fp, #-56]
	add	r3, r3, r2
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-48]
	lsl	r2, r3, #3
	ldr	r3, [fp, #-60]
	add	r3, r3, r2
	ldmia	r3, {r2-r3}
	eor	ip, r0, r2
	str	ip, [fp, #-108]
	eor	r3, r1, r3
	str	r3, [fp, #-104]
	sub	r4, fp, #108
	ldmia	r4, {r3-r4}
	str	r3, [fp, #-36]
	str	r4, [fp, #-32]
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	adr	r3, .L48
	ldmia	r3, {r2-r3}
	and	ip, r0, r2
	str	ip, [fp, #-68]
	and	r3, r1, r3
	str	r3, [fp, #-64]
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	mov	r0, #0
	mov	r1, #0
	lsr	r0, r2, #1
	orr	r0, r0, r3, lsl #31
	lsr	r1, r3, #1
	adr	r3, .L48
	ldmia	r3, {r2-r3}
	and	ip, r0, r2
	str	ip, [fp, #-76]
	and	r3, r1, r3
	str	r3, [fp, #-72]
	sub	r2, fp, #68
	ldmia	r2, {r1-r2}
	mov	r0, r1
	sub	r4, fp, #76
	ldmia	r4, {r3-r4}
	mov	ip, r3
	adds	r0, r0, ip
	str	r0, [fp, #-116]
	mov	r3, r4
	adc	r3, r2, r3
	str	r3, [fp, #-112]
	sub	r4, fp, #116
	ldmia	r4, {r3-r4}
	str	r3, [fp, #-36]
	str	r4, [fp, #-32]
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	adr	r3, .L48+8
	ldmia	r3, {r2-r3}
	and	ip, r0, r2
	str	ip, [fp, #-84]
	and	r3, r1, r3
	str	r3, [fp, #-80]
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	mov	r0, #0
	mov	r1, #0
	lsr	r0, r2, #2
	orr	r0, r0, r3, lsl #30
	lsr	r1, r3, #2
	adr	r3, .L48+8
	ldmia	r3, {r2-r3}
	and	ip, r0, r2
	str	ip, [fp, #-92]
	and	r3, r1, r3
	str	r3, [fp, #-88]
	sub	r2, fp, #84
	ldmia	r2, {r1-r2}
	mov	r0, r1
	sub	r4, fp, #92
	ldmia	r4, {r3-r4}
	mov	ip, r3
	adds	r0, r0, ip
	str	r0, [fp, #-124]
	mov	r3, r4
	adc	r3, r2, r3
	str	r3, [fp, #-120]
	sub	r4, fp, #124
	ldmia	r4, {r3-r4}
	str	r3, [fp, #-36]
	str	r4, [fp, #-32]
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	adr	r3, .L48+16
	ldmia	r3, {r2-r3}
	and	r8, r0, r2
	and	r9, r1, r3
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	mov	r0, #0
	mov	r1, #0
	lsr	r0, r2, #4
	orr	r0, r0, r3, lsl #28
	lsr	r1, r3, #4
	adr	r3, .L48+16
	ldmia	r3, {r2-r3}
	and	r6, r0, r2
	and	r7, r1, r3
	adds	r3, r8, r6
	str	r3, [fp, #-132]
	adc	r3, r9, r7
	str	r3, [fp, #-128]
	sub	r4, fp, #132
	ldmia	r4, {r3-r4}
	str	r3, [fp, #-36]
	str	r4, [fp, #-32]
	sub	r5, fp, #36
	ldmia	r5, {r4-r5}
	mov	r2, r4
	mov	r3, r5
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #8
	orr	r1, r1, r2, lsr #24
	lsl	r0, r2, #8
	mov	r2, r0
	mov	r3, r1
	adds	r2, r2, r4
	adc	r3, r3, r5
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #24
	orr	r1, r1, r2, lsr #8
	lsl	r0, r2, #24
	mov	r2, r0
	mov	r3, r1
	adds	r2, r2, r4
	adc	r3, r3, r5
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #8
	orr	r1, r1, r2, lsr #24
	lsl	r0, r2, #8
	mov	r2, r0
	mov	r3, r1
	adds	r2, r2, r4
	adc	r3, r3, r5
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #16
	orr	r1, r1, r2, lsr #16
	lsl	r0, r2, #16
	adds	ip, r2, r0
	str	ip, [fp, #-100]
	adc	r3, r3, r1
	str	r3, [fp, #-96]
	mov	r0, #0
	mov	r1, #0
	ldr	r3, [fp, #-96]
	lsr	r0, r3, #24
	mov	r1, #0
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	adds	ip, r2, r0
	str	ip, [fp, #-140]
	adc	r3, r3, r1
	str	r3, [fp, #-136]
	sub	r4, fp, #140
	ldmia	r4, {r3-r4}
	str	r3, [fp, #-44]
	str	r4, [fp, #-40]
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
.L45:
	ldr	r3, [fp, #-48]
	cmp	r3, #5
	ble	.L46
	ldr	r3, [fp, #-44]
	mov	r0, r3
	sub	sp, fp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp}
	bx	lr
.L49:
	.align	3
.L48:
	.word	1431655765
	.word	1431655765
	.word	858993459
	.word	858993459
	.word	252645135
	.word	252645135
	.size	multiset_dist, .-multiset_dist
	.align	2
	.global	multiset_subtract_dist
	.syntax unified
	.arm
	.fpu softvfp
	.type	multiset_subtract_dist, %function
multiset_subtract_dist:
	@ args = 0, pretend = 0, frame = 120
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	push	{r4, r5, r6, r7, r8, r9, fp}
	add	fp, sp, #24
	sub	sp, sp, #124
	str	r0, [fp, #-56]
	str	r1, [fp, #-60]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	mov	r3, #0
	str	r3, [fp, #-48]
	b	.L51
.L52:
	ldr	r3, [fp, #-48]
	lsl	r2, r3, #3
	ldr	r3, [fp, #-56]
	add	r3, r3, r2
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-48]
	lsl	r2, r3, #3
	ldr	r3, [fp, #-60]
	add	r3, r3, r2
	ldmia	r3, {r2-r3}
	mvn	ip, r2
	str	ip, [fp, #-68]
	mvn	r3, r3
	str	r3, [fp, #-64]
	sub	r4, fp, #68
	ldmia	r4, {r3-r4}
	mov	r2, r3
	and	r2, r0, r2
	str	r2, [fp, #-116]
	mov	r3, r4
	and	r3, r1, r3
	str	r3, [fp, #-112]
	sub	r4, fp, #116
	ldmia	r4, {r3-r4}
	str	r3, [fp, #-36]
	str	r4, [fp, #-32]
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	adr	r3, .L54
	ldmia	r3, {r2-r3}
	and	ip, r0, r2
	str	ip, [fp, #-76]
	and	r3, r1, r3
	str	r3, [fp, #-72]
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	mov	r0, #0
	mov	r1, #0
	lsr	r0, r2, #1
	orr	r0, r0, r3, lsl #31
	lsr	r1, r3, #1
	adr	r3, .L54
	ldmia	r3, {r2-r3}
	and	ip, r0, r2
	str	ip, [fp, #-84]
	and	r3, r1, r3
	str	r3, [fp, #-80]
	sub	r2, fp, #76
	ldmia	r2, {r1-r2}
	mov	r0, r1
	sub	r4, fp, #84
	ldmia	r4, {r3-r4}
	mov	ip, r3
	adds	r0, r0, ip
	str	r0, [fp, #-124]
	mov	r3, r4
	adc	r3, r2, r3
	str	r3, [fp, #-120]
	sub	r4, fp, #124
	ldmia	r4, {r3-r4}
	str	r3, [fp, #-36]
	str	r4, [fp, #-32]
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	adr	r3, .L54+8
	ldmia	r3, {r2-r3}
	and	ip, r0, r2
	str	ip, [fp, #-92]
	and	r3, r1, r3
	str	r3, [fp, #-88]
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	mov	r0, #0
	mov	r1, #0
	lsr	r0, r2, #2
	orr	r0, r0, r3, lsl #30
	lsr	r1, r3, #2
	adr	r3, .L54+8
	ldmia	r3, {r2-r3}
	and	ip, r0, r2
	str	ip, [fp, #-100]
	and	r3, r1, r3
	str	r3, [fp, #-96]
	sub	r2, fp, #92
	ldmia	r2, {r1-r2}
	mov	r0, r1
	sub	r4, fp, #100
	ldmia	r4, {r3-r4}
	mov	ip, r3
	adds	r0, r0, ip
	str	r0, [fp, #-132]
	mov	r3, r4
	adc	r3, r2, r3
	str	r3, [fp, #-128]
	sub	r4, fp, #132
	ldmia	r4, {r3-r4}
	str	r3, [fp, #-36]
	str	r4, [fp, #-32]
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	adr	r3, .L54+16
	ldmia	r3, {r2-r3}
	and	r8, r0, r2
	and	r9, r1, r3
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	mov	r0, #0
	mov	r1, #0
	lsr	r0, r2, #4
	orr	r0, r0, r3, lsl #28
	lsr	r1, r3, #4
	adr	r3, .L54+16
	ldmia	r3, {r2-r3}
	and	r6, r0, r2
	and	r7, r1, r3
	adds	r3, r8, r6
	str	r3, [fp, #-140]
	adc	r3, r9, r7
	str	r3, [fp, #-136]
	sub	r4, fp, #140
	ldmia	r4, {r3-r4}
	str	r3, [fp, #-36]
	str	r4, [fp, #-32]
	sub	r5, fp, #36
	ldmia	r5, {r4-r5}
	mov	r2, r4
	mov	r3, r5
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #8
	orr	r1, r1, r2, lsr #24
	lsl	r0, r2, #8
	mov	r2, r0
	mov	r3, r1
	adds	r2, r2, r4
	adc	r3, r3, r5
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #24
	orr	r1, r1, r2, lsr #8
	lsl	r0, r2, #24
	mov	r2, r0
	mov	r3, r1
	adds	r2, r2, r4
	adc	r3, r3, r5
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #8
	orr	r1, r1, r2, lsr #24
	lsl	r0, r2, #8
	mov	r2, r0
	mov	r3, r1
	adds	r2, r2, r4
	adc	r3, r3, r5
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #16
	orr	r1, r1, r2, lsr #16
	lsl	r0, r2, #16
	adds	ip, r2, r0
	str	ip, [fp, #-108]
	adc	r3, r3, r1
	str	r3, [fp, #-104]
	mov	r0, #0
	mov	r1, #0
	ldr	r3, [fp, #-104]
	lsr	r0, r3, #24
	mov	r1, #0
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	adds	ip, r2, r0
	str	ip, [fp, #-148]
	adc	r3, r3, r1
	str	r3, [fp, #-144]
	sub	r4, fp, #148
	ldmia	r4, {r3-r4}
	str	r3, [fp, #-44]
	str	r4, [fp, #-40]
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
.L51:
	ldr	r3, [fp, #-48]
	cmp	r3, #5
	ble	.L52
	ldr	r3, [fp, #-44]
	mov	r0, r3
	sub	sp, fp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp}
	bx	lr
.L55:
	.align	3
.L54:
	.word	1431655765
	.word	1431655765
	.word	858993459
	.word	858993459
	.word	252645135
	.word	252645135
	.size	multiset_subtract_dist, .-multiset_subtract_dist
	.section	.rodata
	.align	2
.LC10:
	.ascii	"ERROR: Adding two sets of cards and there's more th"
	.ascii	"an %d of one card\012\000"
	.align	2
.LC11:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	multiset_add_dist
	.syntax unified
	.arm
	.fpu softvfp
	.type	multiset_add_dist, %function
multiset_add_dist:
	@ args = 0, pretend = 0, frame = 208
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #208
	str	r0, [fp, #-136]
	str	r1, [fp, #-140]
	str	r2, [fp, #-144]
	ldr	r3, .L66+24
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-116]
	str	r3, [fp, #-112]
	sub	r3, fp, #84
	mov	r2, #48
	ldr	r1, [fp, #-136]
	mov	r0, r3
	bl	memcpy
	mov	r3, #0
	str	r3, [fp, #-124]
	b	.L57
.L61:
	ldr	r3, [fp, #-124]
	lsl	r2, r3, #3
	ldr	r3, [fp, #-140]
	add	r3, r3, r2
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-108]
	str	r3, [fp, #-104]
	ldr	r3, [fp, #-124]
	str	r3, [fp, #-128]
	b	.L58
.L59:
	ldr	r3, [fp, #-128]
	lsl	r3, r3, #3
	sub	r2, fp, #28
	add	r3, r2, r3
	sub	r3, r3, #56
	ldmia	r3, {r0-r1}
	sub	r3, fp, #108
	ldmia	r3, {r2-r3}
	and	r6, r2, r0
	and	r7, r3, r1
	str	r6, [fp, #-92]
	str	r7, [fp, #-88]
	ldr	r3, [fp, #-128]
	lsl	r3, r3, #3
	sub	r2, fp, #28
	add	r3, r2, r3
	sub	r3, r3, #56
	ldmia	r3, {r0-r1}
	sub	r3, fp, #108
	ldmia	r3, {r2-r3}
	orr	r4, r0, r2
	orr	r5, r1, r3
	ldr	r3, [fp, #-128]
	lsl	r3, r3, #3
	sub	r2, fp, #28
	add	r3, r2, r3
	sub	r3, r3, #56
	stm	r3, {r4-r5}
	sub	r3, fp, #92
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-108]
	str	r3, [fp, #-104]
	ldr	r3, [fp, #-128]
	add	r3, r3, #1
	str	r3, [fp, #-128]
.L58:
	ldr	r3, [fp, #-128]
	cmp	r3, #5
	ble	.L59
	sub	r3, fp, #108
	ldmia	r3, {r2-r3}
	orrs	r3, r2, r3
	beq	.L60
	mov	r1, #6
	ldr	r0, .L66+28
	bl	printf
	mov	r0, #1
	bl	exit
.L60:
	ldr	r3, [fp, #-124]
	add	r3, r3, #1
	str	r3, [fp, #-124]
.L57:
	ldr	r3, [fp, #-124]
	cmp	r3, #5
	ble	.L61
	mov	r3, #0
	str	r3, [fp, #-120]
	b	.L62
.L63:
	ldr	r3, [fp, #-120]
	lsl	r3, r3, #3
	sub	r2, fp, #28
	add	r3, r2, r3
	sub	r3, r3, #56
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-120]
	lsl	r2, r3, #3
	ldr	r3, [fp, #-144]
	add	r3, r3, r2
	ldmia	r3, {r2-r3}
	eor	ip, r0, r2
	str	ip, [fp, #-204]
	eor	r3, r1, r3
	str	r3, [fp, #-200]
	sub	r4, fp, #204
	ldmia	r4, {r3-r4}
	str	r3, [fp, #-100]
	str	r4, [fp, #-96]
	sub	r1, fp, #100
	ldmia	r1, {r0-r1}
	adr	r3, .L66
	ldmia	r3, {r2-r3}
	and	ip, r0, r2
	str	ip, [fp, #-156]
	and	r3, r1, r3
	str	r3, [fp, #-152]
	sub	r3, fp, #100
	ldmia	r3, {r2-r3}
	mov	r0, #0
	mov	r1, #0
	lsr	r0, r2, #1
	orr	r0, r0, r3, lsl #31
	lsr	r1, r3, #1
	adr	r3, .L66
	ldmia	r3, {r2-r3}
	and	ip, r0, r2
	str	ip, [fp, #-164]
	and	r3, r1, r3
	str	r3, [fp, #-160]
	sub	r2, fp, #156
	ldmia	r2, {r1-r2}
	mov	r0, r1
	sub	r4, fp, #164
	ldmia	r4, {r3-r4}
	mov	ip, r3
	adds	r0, r0, ip
	str	r0, [fp, #-212]
	mov	r3, r4
	adc	r3, r2, r3
	str	r3, [fp, #-208]
	sub	r4, fp, #212
	ldmia	r4, {r3-r4}
	str	r3, [fp, #-100]
	str	r4, [fp, #-96]
	sub	r1, fp, #100
	ldmia	r1, {r0-r1}
	adr	r3, .L66+8
	ldmia	r3, {r2-r3}
	and	ip, r0, r2
	str	ip, [fp, #-172]
	and	r3, r1, r3
	str	r3, [fp, #-168]
	sub	r3, fp, #100
	ldmia	r3, {r2-r3}
	mov	r0, #0
	mov	r1, #0
	lsr	r0, r2, #2
	orr	r0, r0, r3, lsl #30
	lsr	r1, r3, #2
	adr	r3, .L66+8
	ldmia	r3, {r2-r3}
	and	ip, r0, r2
	str	ip, [fp, #-180]
	and	r3, r1, r3
	str	r3, [fp, #-176]
	sub	r2, fp, #172
	ldmia	r2, {r1-r2}
	mov	r0, r1
	sub	r4, fp, #180
	ldmia	r4, {r3-r4}
	mov	ip, r3
	adds	r0, r0, ip
	str	r0, [fp, #-220]
	mov	r3, r4
	adc	r3, r2, r3
	str	r3, [fp, #-216]
	sub	r4, fp, #220
	ldmia	r4, {r3-r4}
	str	r3, [fp, #-100]
	str	r4, [fp, #-96]
	sub	r1, fp, #100
	ldmia	r1, {r0-r1}
	adr	r3, .L66+16
	ldmia	r3, {r2-r3}
	and	ip, r0, r2
	str	ip, [fp, #-188]
	and	r3, r1, r3
	str	r3, [fp, #-184]
	sub	r3, fp, #100
	ldmia	r3, {r2-r3}
	mov	r0, #0
	mov	r1, #0
	lsr	r0, r2, #4
	orr	r0, r0, r3, lsl #28
	lsr	r1, r3, #4
	adr	r3, .L66+16
	ldmia	r3, {r2-r3}
	and	r8, r0, r2
	and	r9, r1, r3
	sub	r4, fp, #188
	ldmia	r4, {r3-r4}
	mov	r2, r3
	adds	r2, r2, r8
	str	r2, [fp, #-228]
	mov	r3, r4
	adc	r3, r3, r9
	str	r3, [fp, #-224]
	sub	r4, fp, #228
	ldmia	r4, {r3-r4}
	str	r3, [fp, #-100]
	str	r4, [fp, #-96]
	sub	r5, fp, #100
	ldmia	r5, {r4-r5}
	mov	r2, r4
	mov	r3, r5
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #8
	orr	r1, r1, r2, lsr #24
	lsl	r0, r2, #8
	mov	r2, r0
	mov	r3, r1
	adds	r2, r2, r4
	adc	r3, r3, r5
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #24
	orr	r1, r1, r2, lsr #8
	lsl	r0, r2, #24
	mov	r2, r0
	mov	r3, r1
	adds	r2, r2, r4
	adc	r3, r3, r5
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #8
	orr	r1, r1, r2, lsr #24
	lsl	r0, r2, #8
	mov	r2, r0
	mov	r3, r1
	adds	r2, r2, r4
	adc	r3, r3, r5
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #16
	orr	r1, r1, r2, lsr #16
	lsl	r0, r2, #16
	adds	ip, r2, r0
	str	ip, [fp, #-196]
	adc	r3, r3, r1
	str	r3, [fp, #-192]
	mov	r0, #0
	mov	r1, #0
	ldr	r3, [fp, #-192]
	lsr	r0, r3, #24
	mov	r1, #0
	sub	r3, fp, #116
	ldmia	r3, {r2-r3}
	adds	ip, r2, r0
	str	ip, [fp, #-236]
	adc	r3, r3, r1
	str	r3, [fp, #-232]
	sub	r4, fp, #236
	ldmia	r4, {r3-r4}
	str	r3, [fp, #-116]
	str	r4, [fp, #-112]
	ldr	r3, [fp, #-120]
	add	r3, r3, #1
	str	r3, [fp, #-120]
.L62:
	ldr	r3, [fp, #-120]
	cmp	r3, #5
	ble	.L63
	ldr	r3, [fp, #-116]
	ldr	r2, .L66+24
	ldr	r1, [r2]
	ldr	r2, [fp, #-32]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L65
	bl	__stack_chk_fail
.L65:
	mov	r0, r3
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L67:
	.align	3
.L66:
	.word	1431655765
	.word	1431655765
	.word	858993459
	.word	858993459
	.word	252645135
	.word	252645135
	.word	.LC11
	.word	.LC10
	.size	multiset_add_dist, .-multiset_add_dist
	.align	2
	.global	multiset_subtract
	.syntax unified
	.arm
	.fpu softvfp
	.type	multiset_subtract, %function
multiset_subtract:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #16
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	mov	r1, #0
	str	r1, [fp, #-24]
	b	.L69
.L72:
	ldr	r1, [fp, #-24]
	lsl	r1, r1, #3
	ldr	r0, [fp, #-32]
	add	r1, r0, r1
	ldmia	r1, {r0-r1}
	ldr	ip, [fp, #-24]
	lsl	ip, ip, #3
	ldr	lr, [fp, #-36]
	add	ip, lr, ip
	ldmia	ip, {r6-r7}
	mvn	r2, r6
	mvn	r3, r7
	and	r4, r0, r2
	and	r5, r1, r3
	orrs	r1, r4, r5
	beq	.L70
	mov	r3, #1
	b	.L71
.L70:
	ldr	r1, [fp, #-24]
	add	r1, r1, #1
	str	r1, [fp, #-24]
.L69:
	ldr	r1, [fp, #-24]
	cmp	r1, #5
	ble	.L72
	mov	r3, #0
.L71:
	mov	r0, r3
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
	.size	multiset_subtract, .-multiset_subtract
	.align	2
	.global	multiset_equal
	.syntax unified
	.arm
	.fpu softvfp
	.type	multiset_equal, %function
multiset_equal:
	@ 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]
	str	r1, [fp, #-12]
	mov	r2, #48
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	memcmp
	mov	r3, r0
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	multiset_equal, .-multiset_equal
	.section	.rodata
	.align	2
.LC12:
	.ascii	"ERROR: Carry past number of decks!!\000"
	.align	2
.LC13:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	multiset_add_equal
	.syntax unified
	.arm
	.fpu softvfp
	.type	multiset_add_equal, %function
multiset_add_equal:
	@ args = 0, pretend = 0, frame = 96
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #96
	str	r0, [fp, #-104]
	str	r1, [fp, #-108]
	str	r2, [fp, #-112]
	ldr	r3, .L85
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	sub	r3, fp, #76
	mov	r2, #48
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #0
	str	r3, [fp, #-100]
	b	.L76
.L77:
	ldr	r3, [fp, #-100]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-104]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #-100]
	lsl	r1, r1, #3
	sub	r0, fp, #20
	add	r1, r0, r1
	sub	r1, r1, #56
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-100]
	add	r3, r3, #1
	str	r3, [fp, #-100]
.L76:
	ldr	r3, [fp, #-100]
	cmp	r3, #5
	ble	.L77
	mov	r3, #0
	str	r3, [fp, #-96]
	b	.L78
.L82:
	ldr	r3, [fp, #-96]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-108]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-92]
	str	r3, [fp, #-88]
	ldr	r3, [fp, #-96]
	str	r3, [fp, #-100]
	b	.L79
.L80:
	ldr	r3, [fp, #-100]
	lsl	r3, r3, #3
	sub	r2, fp, #20
	add	r3, r2, r3
	sub	r3, r3, #56
	ldmia	r3, {r2-r3}
	sub	r1, fp, #92
	ldmia	r1, {r0-r1}
	and	r6, r0, r2
	and	r7, r1, r3
	str	r6, [fp, #-84]
	str	r7, [fp, #-80]
	ldr	r3, [fp, #-100]
	lsl	r3, r3, #3
	sub	r2, fp, #20
	add	r3, r2, r3
	sub	r3, r3, #56
	ldmia	r3, {r0-r1}
	sub	r3, fp, #92
	ldmia	r3, {r2-r3}
	orr	r4, r0, r2
	orr	r5, r1, r3
	ldr	r3, [fp, #-100]
	lsl	r3, r3, #3
	sub	r2, fp, #20
	add	r3, r2, r3
	sub	r3, r3, #56
	stm	r3, {r4-r5}
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-92]
	str	r3, [fp, #-88]
	ldr	r3, [fp, #-100]
	add	r3, r3, #1
	str	r3, [fp, #-100]
.L79:
	ldr	r3, [fp, #-100]
	cmp	r3, #5
	ble	.L80
	sub	r3, fp, #92
	ldmia	r3, {r2-r3}
	orrs	r3, r2, r3
	beq	.L81
	ldr	r0, .L85+4
	bl	puts
	mov	r0, #1
	bl	exit
.L81:
	ldr	r3, [fp, #-96]
	add	r3, r3, #1
	str	r3, [fp, #-96]
.L78:
	ldr	r3, [fp, #-96]
	cmp	r3, #5
	ble	.L82
	sub	r3, fp, #76
	ldr	r1, [fp, #-112]
	mov	r0, r3
	bl	multiset_equal
	mov	r3, r0
	ldr	r2, .L85
	ldr	r1, [r2]
	ldr	r2, [fp, #-24]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L84
	bl	__stack_chk_fail
.L84:
	mov	r0, r3
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L86:
	.align	2
.L85:
	.word	.LC13
	.word	.LC12
	.size	multiset_add_equal, .-multiset_add_equal
	.section	.rodata
	.align	2
.LC14:
	.ascii	"H a234567890jqk  S a234567890jqk  D a234567890jqk  "
	.ascii	"C a234567890jqk\000"
	.align	2
.LC15:
	.ascii	"\012  \000"
	.align	2
.LC16:
	.ascii	"    \000"
	.align	2
.LC17:
	.ascii	"\012\000"
	.text
	.align	2
	.global	multiset_print
	.syntax unified
	.arm
	.fpu softvfp
	.type	multiset_print, %function
multiset_print:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #16
	str	r0, [fp, #-24]
	ldr	r0, .L96
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L88
.L94:
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	orrs	r3, r2, r3
	beq	.L95
	ldr	r0, .L96+4
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L91
.L93:
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #-16]
	rsb	ip, r1, #32
	sub	r0, r1, #32
	lsr	r4, r2, r1
	orr	r4, r4, r3, lsl ip
	orr	r4, r4, r3, lsr r0
	lsr	r5, r3, r1
	mov	r3, r4
	and	r3, r3, #1
	add	r3, r3, #48
	mov	r2, r3
	ldr	r3, .L96+8
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, r2
	bl	putc
	ldr	r1, [fp, #-16]
	ldr	r3, .L96+12
	smull	r2, r3, r1, r3
	asr	r2, r3, #2
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	sub	r2, r1, r3
	cmp	r2, #12
	bne	.L92
	ldr	r0, .L96+16
	bl	printf
.L92:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L91:
	ldr	r3, [fp, #-16]
	cmp	r3, #51
	ble	.L93
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L88:
	ldr	r3, [fp, #-20]
	cmp	r3, #5
	ble	.L94
	b	.L90
.L95:
	nop
.L90:
	ldr	r0, .L96+20
	bl	puts
	nop
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L97:
	.align	2
.L96:
	.word	.LC14
	.word	.LC15
	.word	stdout
	.word	1321528399
	.word	.LC16
	.word	.LC17
	.size	multiset_print, .-multiset_print
	.section	.rodata
	.align	2
.LC18:
	.ascii	"usage: %s PRE_file POST_file\012\000"
	.align	2
.LC19:
	.ascii	"  HIT: PRE[%d,%d] + PRE[%d,%d] ~= POST[%d,%d]  (FUZ"
	.ascii	"Z=%d)\012\000"
	.align	2
.LC20:
	.ascii	"TOTAL HITS  %d\012\000"
	.align	2
.LC21:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 3076640
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #3063808
	sub	sp, sp, #12800
	sub	sp, sp, #52
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	str	r0, [r3, #-540]
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	str	r1, [r3, #-544]
	ldr	r3, .L128
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-492]
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r3, [r3, #-540]
	cmp	r3, #3
	beq	.L99
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r3, [r3, #-544]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L128+4
	bl	printf
	mov	r0, #1
	bl	exit
.L99:
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r3, [r3, #-544]
	add	r3, r3, #4
	ldr	r0, [r3]
	ldr	r2, .L128+8
	sub	r3, fp, #12
	add	r2, r3, r2
	ldr	r3, .L128+12
	sub	r1, fp, #12
	add	r3, r1, r3
	mov	r1, r3
	bl	readfile
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r3, [r3, #-544]
	add	r3, r3, #8
	ldr	r0, [r3]
	ldr	r2, .L128+16
	sub	r3, fp, #12
	add	r2, r3, r2
	ldr	r3, .L128+20
	sub	r1, fp, #12
	add	r3, r1, r3
	mov	r1, r3
	bl	readfile
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r1, [r3, #-532]
	ldr	r2, .L128+24
	sub	r3, fp, #12
	add	r2, r3, r2
	ldr	r3, .L128+12
	sub	r0, fp, #12
	add	r3, r0, r3
	mov	r0, r3
	bl	buildsets
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r1, [r3, #-528]
	ldr	r2, .L128+28
	sub	r3, fp, #12
	add	r2, r3, r2
	ldr	r3, .L128+20
	sub	r0, fp, #12
	add	r3, r0, r3
	mov	r0, r3
	bl	buildsets
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-508]
	b	.L100
.L122:
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	mov	r2, r3
	mov	r3, #20
	str	r3, [r2, #-504]
	b	.L101
.L121:
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	sub	r3, r3, #476
	mov	r2, #244
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-488]
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-484]
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-500]
	b	.L102
.L108:
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r3, [r3, #-504]
	cmp	r3, #70
	movge	r2, r3
	movlt	r2, #70
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	mov	r1, r3
	sub	r3, r2, #60
	str	r3, [r1, #-496]
	b	.L103
.L107:
	ldr	r0, .L128+24
	sub	r3, fp, #12
	add	r0, r3, r0
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r2, [r3, #-496]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	sub	r2, fp, #3063808
	sub	r2, r2, #12
	sub	r2, r2, #12288
	ldr	r1, [r2, #-500]
	mov	r2, r1
	lsl	r2, r2, #2
	add	r2, r2, r1
	lsl	r1, r2, #4
	sub	r1, r1, r2
	lsl	r2, r1, #6
	mov	r1, r2
	add	r3, r3, r1
	add	ip, r0, r3
	ldr	r0, .L128+28
	sub	r3, fp, #12
	add	r0, r3, r0
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r2, [r3, #-504]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	sub	r2, fp, #3063808
	sub	r2, r2, #12
	sub	r2, r2, #12288
	ldr	r1, [r2, #-508]
	mov	r2, r1
	lsl	r2, r2, #2
	add	r2, r2, r1
	lsl	r1, r2, #4
	sub	r1, r1, r2
	lsl	r2, r1, #6
	mov	r1, r2
	add	r3, r3, r1
	add	r3, r0, r3
	mov	r1, r3
	mov	r0, ip
	bl	multiset_subtract_dist
	mov	r3, r0
	cmp	r3, #2
	bgt	.L125
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	mov	r2, r3
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r3, [r3, #-496]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r1, [r3, #-476]
	add	r2, r1, #1
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	mov	r0, r3
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r3, [r3, #-496]
	lsl	r3, r3, #2
	add	r3, r0, r3
	str	r2, [r3, #-476]
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r0, r3
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r2, [r3, #-496]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	r3, r0, r3
	sub	r2, fp, #3063808
	sub	r2, r2, #12
	sub	r2, r2, #12288
	ldr	r2, [r2, #-500]
	str	r2, [r3, #-3432]
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	mov	r2, r3
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r3, [r3, #-488]
	add	r3, r3, #1
	str	r3, [r2, #-488]
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	mov	r2, r3
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r3, [r3, #-496]
	add	r3, r3, #1
	str	r3, [r2, #-496]
.L103:
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r3, [r3, #-504]
	cmp	r3, #70
	movlt	r3, r3
	movge	r3, #70
	sub	r2, r3, #9
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r3, [r3, #-496]
	cmp	r3, r2
	bge	.L106
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	mov	r2, r3
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r2, [r2, #-496]
	ldr	r3, [r3, #-500]
	add	r2, r2, r3
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r3, [r3, #-532]
	cmp	r2, r3
	ble	.L107
	b	.L106
.L125:
	nop
.L106:
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	mov	r2, r3
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r3, [r3, #-500]
	add	r3, r3, #1
	str	r3, [r2, #-500]
.L102:
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r3, [r3, #-500]
	add	r2, r3, #9
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r3, [r3, #-532]
	cmp	r2, r3
	blt	.L108
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	mov	r2, r3
	mov	r3, #10
	str	r3, [r2, #-524]
	b	.L109
.L119:
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	mov	r2, r3
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r3, [r3, #-524]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3, #-476]
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	mov	r1, r3
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r1, [r1, #-504]
	ldr	r3, [r3, #-524]
	sub	r1, r1, r3
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	mov	r0, r3
	lsl	r3, r1, #2
	add	r3, r0, r3
	ldr	r3, [r3, #-476]
	mul	r2, r3, r2
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	mov	r1, r3
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r3, [r3, #-484]
	add	r3, r3, r2
	str	r3, [r1, #-484]
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-520]
	b	.L110
.L118:
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	mov	r2, r3
	mvn	r3, #1
	str	r3, [r2, #-512]
	b	.L111
.L117:
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-516]
	b	.L112
.L116:
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	mov	r2, r3
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r2, [r2, #-504]
	ldr	r3, [r3, #-524]
	sub	r2, r2, r3
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r1, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #3063808
	sub	r2, r2, #12
	sub	r2, r2, #12288
	ldr	r2, [r2, #-516]
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r1, [r3, #-3432]
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r0, r3
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r2, [r3, #-524]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #3063808
	sub	r2, r2, #12
	sub	r2, r2, #12288
	ldr	r2, [r2, #-520]
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r2, [r3, #-3432]
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r3, [r3, #-524]
	add	r3, r2, r3
	cmp	r1, r3
	bgt	.L113
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	mov	r2, r3
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r2, [r2, #-504]
	ldr	r3, [r3, #-524]
	sub	r2, r2, r3
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r1, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #3063808
	sub	r2, r2, #12
	sub	r2, r2, #12288
	ldr	r2, [r2, #-516]
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r2, [r3, #-3432]
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r3, [r3, #-504]
	add	r2, r2, r3
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r3, [r3, #-524]
	sub	r1, r2, r3
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r0, r3
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r2, [r3, #-524]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #3063808
	sub	r2, r2, #12
	sub	r2, r2, #12288
	ldr	r2, [r2, #-520]
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r3, [r3, #-3432]
	cmp	r1, r3
	bge	.L126
.L113:
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r1, r3
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r2, [r3, #-524]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #3063808
	sub	r2, r2, #12
	sub	r2, r2, #12288
	ldr	r2, [r2, #-520]
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r1, [r3, #-3432]
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	mov	r2, r3
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r2, [r2, #-504]
	ldr	r3, [r3, #-524]
	sub	r2, r2, r3
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r0, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #3063808
	sub	r2, r2, #12
	sub	r2, r2, #12288
	ldr	r2, [r2, #-516]
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r3, [r3, #-3432]
	cmp	r1, r3
	bgt	.L127
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r1, r3
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r2, [r3, #-524]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #3063808
	sub	r2, r2, #12
	sub	r2, r2, #12288
	ldr	r2, [r2, #-520]
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r1, [r3, #-3432]
	ldr	r0, .L128+24
	sub	r3, fp, #12
	add	r0, r3, r0
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r2, [r3, #-524]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	mov	r2, r1
	lsl	r2, r2, #2
	add	r2, r2, r1
	lsl	r1, r2, #4
	sub	r1, r1, r2
	lsl	r2, r1, #6
	mov	r1, r2
	add	r3, r3, r1
	add	ip, r0, r3
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	mov	r2, r3
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r2, [r2, #-504]
	ldr	r3, [r3, #-524]
	sub	r2, r2, r3
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r1, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #3063808
	sub	r2, r2, #12
	sub	r2, r2, #12288
	ldr	r2, [r2, #-516]
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r1, [r3, #-3432]
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	mov	r2, r3
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r2, [r2, #-504]
	ldr	r3, [r3, #-524]
	sub	r2, r2, r3
	ldr	r0, .L128+24
	sub	r3, fp, #12
	add	r0, r3, r0
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	mov	r2, r1
	lsl	r2, r2, #2
	add	r2, r2, r1
	lsl	r1, r2, #4
	sub	r1, r1, r2
	lsl	r2, r1, #6
	mov	r1, r2
	add	r3, r3, r1
	add	lr, r0, r3
	ldr	r0, .L128+28
	sub	r3, fp, #12
	add	r0, r3, r0
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r2, [r3, #-504]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	sub	r2, fp, #3063808
	sub	r2, r2, #12
	sub	r2, r2, #12288
	ldr	r1, [r2, #-508]
	mov	r2, r1
	lsl	r2, r2, #2
	add	r2, r2, r1
	lsl	r1, r2, #4
	sub	r1, r1, r2
	lsl	r2, r1, #6
	mov	r1, r2
	add	r3, r3, r1
	add	r2, r0, r3
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	mov	r4, r3
	mov	r1, lr
	mov	r0, ip
	bl	multiset_add_dist
	str	r0, [r4, #-480]
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r3, [r3, #-480]
	cmp	r3, #2
	bgt	.L114
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	mov	r2, r3
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r3, [r3, #-492]
	add	r3, r3, #1
	str	r3, [r2, #-492]
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r1, r3
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r2, [r3, #-524]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #3063808
	sub	r2, r2, #12
	sub	r2, r2, #12288
	ldr	r2, [r2, #-520]
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r1, [r3, #-3432]
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	mov	r2, r3
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r2, [r2, #-504]
	ldr	r3, [r3, #-524]
	sub	r2, r2, r3
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r0, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #3063808
	sub	r2, r2, #12
	sub	r2, r2, #12288
	ldr	r2, [r2, #-516]
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r0, [r3, #-3432]
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	mov	r2, r3
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r2, [r2, #-504]
	ldr	r3, [r3, #-524]
	sub	r2, r2, r3
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	mov	ip, r3
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r3, [r3, #-480]
	str	r3, [sp, #12]
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r3, [r3, #-504]
	str	r3, [sp, #8]
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r3, [r3, #-508]
	str	r3, [sp, #4]
	str	r2, [sp]
	mov	r3, r0
	ldr	r2, [ip, #-524]
	ldr	r0, .L128+32
	bl	printf
	b	.L114
.L126:
	nop
	b	.L114
.L127:
	nop
.L114:
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	mov	r2, r3
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r3, [r3, #-516]
	add	r3, r3, #1
	str	r3, [r2, #-516]
.L112:
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	mov	r2, r3
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r2, [r2, #-504]
	ldr	r3, [r3, #-524]
	sub	r2, r2, r3
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r3, [r3, #-512]
	add	r2, r2, r3
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	mov	r1, r3
	lsl	r3, r2, #2
	add	r3, r1, r3
	ldr	r2, [r3, #-476]
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r3, [r3, #-516]
	cmp	r3, r2
	blt	.L116
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	mov	r2, r3
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r3, [r3, #-512]
	add	r3, r3, #1
	str	r3, [r2, #-512]
.L111:
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r3, [r3, #-512]
	cmp	r3, #2
	ble	.L117
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	mov	r2, r3
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r3, [r3, #-520]
	add	r3, r3, #1
	str	r3, [r2, #-520]
.L110:
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	mov	r2, r3
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r3, [r3, #-524]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3, #-476]
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r3, [r3, #-520]
	cmp	r3, r2
	blt	.L118
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	mov	r2, r3
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r3, [r3, #-524]
	add	r3, r3, #1
	str	r3, [r2, #-524]
.L109:
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r3, [r3, #-524]
	cmp	r3, #60
	ble	.L119
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	mov	r2, r3
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r3, [r3, #-504]
	add	r3, r3, #1
	str	r3, [r2, #-504]
.L101:
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r3, [r3, #-504]
	cmp	r3, #100
	bgt	.L120
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	mov	r2, r3
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r2, [r2, #-508]
	ldr	r3, [r3, #-504]
	add	r2, r2, r3
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r3, [r3, #-528]
	cmp	r2, r3
	ble	.L121
.L120:
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	mov	r2, r3
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r3, [r3, #-508]
	add	r3, r3, #1
	str	r3, [r2, #-508]
.L100:
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r3, [r3, #-508]
	add	r2, r3, #19
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r3, [r3, #-528]
	cmp	r2, r3
	blt	.L122
	sub	r3, fp, #3063808
	sub	r3, r3, #12
	sub	r3, r3, #12288
	ldr	r1, [r3, #-492]
	ldr	r0, .L128+36
	bl	printf
	mov	r3, #0
	ldr	r2, .L128
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L124
	bl	__stack_chk_fail
.L124:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L129:
	.align	2
.L128:
	.word	.LC21
	.word	.LC18
	.word	-3076628
	.word	-3076328
	.word	-3076624
	.word	-3073832
	.word	-2995208
	.word	-1497608
	.word	.LC19
	.word	.LC20
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
