	.file	"197729.c"
	.intel_syntax noprefix
	.text
	.globl	failed
	.bss
	.align 4
	.type	failed, @object
	.size	failed, 4
failed:
	.zero	4
	.section	.rodata
.LC0:
	.string	"r"
	.align 8
.LC1:
	.string	"contigorder: Error opening file: %s\n"
.LC2:
	.string	"numContigs = %d\n"
.LC3:
	.string	"seqLen = %d\n"
.LC4:
	.string	"(%d %d)"
.LC5:
	.string	"%&d"
	.text
	.globl	getFileInfo
	.type	getFileInfo, @function
getFileInfo:
.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, 64
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	QWORD PTR -56[rbp], rdx
	mov	QWORD PTR -64[rbp], rcx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -40[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	jne	.L2
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L2:
	mov	rdx, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -16[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	rdx, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR -16[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	rax, QWORD PTR -64[rbp]
	mov	DWORD PTR [rax], 0
	jmp	.L3
.L7:
	lea	rcx, -24[rbp]
	lea	rdx, -24[rbp]
	mov	rax, QWORD PTR -16[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	cmp	eax, 2
	jne	.L3
	mov	DWORD PTR -20[rbp], 0
	jmp	.L4
.L5:
	lea	rdx, -24[rbp]
	mov	rax, QWORD PTR -16[rbp]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	add	DWORD PTR -20[rbp], 1
.L4:
	mov	rax, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -20[rbp], eax
	jl	.L5
	nop
.L6:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	fgetc@PLT
	cmp	eax, 10
	jne	.L6
	mov	rax, QWORD PTR -64[rbp]
	mov	eax, DWORD PTR [rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -64[rbp]
	mov	DWORD PTR [rax], edx
.L3:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	je	.L7
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	fclose@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L8
	call	__stack_chk_fail@PLT
.L8:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	getFileInfo, .-getFileInfo
	.section	.rodata
.LC6:
	.string	"the_stack_data/197729.c"
.LC7:
	.string	"*score"
.LC8:
	.string	"*ranges"
.LC9:
	.string	"(*score)[i]"
.LC10:
	.string	"(*ranges)[i]"
.LC11:
	.string	"numContigs = %*d\n"
.LC12:
	.string	"seqLen = %*d\n"
.LC13:
	.string	"%d"
	.text
	.globl	getScores
	.type	getScores, @function
getScores:
.LFB7:
	.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, 72
	.cfi_offset 3, -24
	mov	QWORD PTR -40[rbp], rdi
	mov	DWORD PTR -44[rbp], esi
	mov	DWORD PTR -48[rbp], edx
	mov	DWORD PTR -52[rbp], ecx
	mov	QWORD PTR -64[rbp], r8
	mov	QWORD PTR -72[rbp], r9
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -64[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L10
	lea	rcx, __PRETTY_FUNCTION__.5[rip]
	mov	edx, 41
	lea	rsi, .LC6[rip]
	lea	rdi, .LC7[rip]
	call	__assert_fail@PLT
.L10:
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -72[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L11
	lea	rcx, __PRETTY_FUNCTION__.5[rip]
	mov	edx, 43
	lea	rsi, .LC6[rip]
	lea	rdi, .LC8[rip]
	call	__assert_fail@PLT
.L11:
	mov	DWORD PTR -32[rbp], 0
	jmp	.L12
.L15:
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	mov	rdx, QWORD PTR -64[rbp]
	mov	rcx, QWORD PTR [rdx]
	mov	edx, DWORD PTR -32[rbp]
	movsx	rdx, edx
	sal	rdx, 3
	lea	rbx, [rcx+rdx]
	mov	esi, 4
	mov	rdi, rax
	call	calloc@PLT
	mov	QWORD PTR [rbx], rax
	mov	rax, QWORD PTR -64[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L13
	lea	rcx, __PRETTY_FUNCTION__.5[rip]
	mov	edx, 46
	lea	rsi, .LC6[rip]
	lea	rdi, .LC9[rip]
	call	__assert_fail@PLT
.L13:
	mov	rax, QWORD PTR -72[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	sal	rax, 3
	lea	rbx, [rdx+rax]
	mov	esi, 4
	mov	edi, 2
	call	calloc@PLT
	mov	QWORD PTR [rbx], rax
	mov	rax, QWORD PTR -72[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L14
	lea	rcx, __PRETTY_FUNCTION__.5[rip]
	mov	edx, 48
	lea	rsi, .LC6[rip]
	lea	rdi, .LC10[rip]
	call	__assert_fail@PLT
.L14:
	add	DWORD PTR -32[rbp], 1
.L12:
	mov	eax, DWORD PTR -32[rbp]
	cmp	eax, DWORD PTR -52[rbp]
	jl	.L15
	mov	rax, QWORD PTR -40[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -24[rbp], rax
	cmp	QWORD PTR -24[rbp], 0
	jne	.L16
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L16:
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC12[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	DWORD PTR -32[rbp], 0
	jmp	.L17
.L22:
	mov	rax, QWORD PTR -72[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rcx, 4[rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	cmp	eax, 2
	jne	.L17
	mov	DWORD PTR -28[rbp], 0
	jmp	.L18
.L19:
	mov	rax, QWORD PTR -64[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	sal	rax, 2
	add	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	add	DWORD PTR -28[rbp], 1
.L18:
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, DWORD PTR -44[rbp]
	jl	.L19
	nop
.L20:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	fgetc@PLT
	cmp	eax, 10
	jne	.L20
	add	DWORD PTR -32[rbp], 1
.L17:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	jne	.L21
	mov	eax, DWORD PTR -32[rbp]
	cmp	eax, DWORD PTR -52[rbp]
	jl	.L22
.L21:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	fclose@PLT
	nop
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	getScores, .-getScores
	.globl	floodfill
	.type	floodfill, @function
floodfill:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	DWORD PTR -44[rbp], ecx
	mov	DWORD PTR -48[rbp], r8d
	mov	DWORD PTR -52[rbp], r9d
	mov	eax, DWORD PTR -48[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -52[rbp]
	mov	DWORD PTR [rdx], eax
	mov	DWORD PTR -4[rbp], 0
	jmp	.L24
.L26:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -48[rbp]
	je	.L25
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cmp	eax, -1
	jne	.L25
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cmp	eax, -1
	je	.L25
	mov	eax, DWORD PTR -48[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	cmp	edx, eax
	jg	.L25
	mov	eax, DWORD PTR -48[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	cmp	edx, eax
	jl	.L25
	mov	r8d, DWORD PTR -52[rbp]
	mov	edi, DWORD PTR -4[rbp]
	mov	ecx, DWORD PTR -44[rbp]
	mov	rdx, QWORD PTR -40[rbp]
	mov	rsi, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	r9d, r8d
	mov	r8d, edi
	mov	rdi, rax
	call	floodfill
.L25:
	add	DWORD PTR -4[rbp], 1
.L24:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -44[rbp]
	jl	.L26
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	floodfill, .-floodfill
	.section	.rodata
.LC14:
	.string	"labels"
.LC15:
	.string	"first"
.LC16:
	.string	"last"
	.text
	.globl	getLabels
	.type	getLabels, @function
getLabels:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	DWORD PTR -44[rbp], esi
	mov	DWORD PTR -48[rbp], edx
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	mov	esi, 4
	mov	rdi, rax
	call	calloc@PLT
	mov	QWORD PTR -24[rbp], rax
	cmp	QWORD PTR -24[rbp], 0
	jne	.L28
	lea	rcx, __PRETTY_FUNCTION__.4[rip]
	mov	edx, 89
	lea	rsi, .LC6[rip]
	lea	rdi, .LC14[rip]
	call	__assert_fail@PLT
.L28:
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	mov	esi, 4
	mov	rdi, rax
	call	calloc@PLT
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	jne	.L29
	lea	rcx, __PRETTY_FUNCTION__.4[rip]
	mov	edx, 90
	lea	rsi, .LC6[rip]
	lea	rdi, .LC15[rip]
	call	__assert_fail@PLT
.L29:
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	mov	esi, 4
	mov	rdi, rax
	call	calloc@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L30
	lea	rcx, __PRETTY_FUNCTION__.4[rip]
	mov	edx, 91
	lea	rsi, .LC6[rip]
	lea	rdi, .LC16[rip]
	call	__assert_fail@PLT
.L30:
	mov	DWORD PTR -28[rbp], 0
	jmp	.L31
.L36:
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	mov	DWORD PTR [rax], -1
	mov	DWORD PTR -32[rbp], 0
	jmp	.L32
.L35:
	mov	eax, DWORD PTR -32[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 -28[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jle	.L33
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cmp	eax, -1
	jne	.L34
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -16[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -32[rbp]
	mov	DWORD PTR [rdx], eax
.L34:
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -8[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -32[rbp]
	mov	DWORD PTR [rdx], eax
.L33:
	add	DWORD PTR -32[rbp], 1
.L32:
	mov	eax, DWORD PTR -32[rbp]
	cmp	eax, DWORD PTR -48[rbp]
	jl	.L35
	add	DWORD PTR -28[rbp], 1
.L31:
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, DWORD PTR -44[rbp]
	jl	.L36
	mov	DWORD PTR -28[rbp], 0
	mov	DWORD PTR -32[rbp], 0
	jmp	.L37
.L38:
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	DWORD PTR [rax], -1
	add	DWORD PTR -32[rbp], 1
.L37:
	mov	eax, DWORD PTR -32[rbp]
	cmp	eax, DWORD PTR -44[rbp]
	jl	.L38
	mov	DWORD PTR -32[rbp], 0
	jmp	.L39
.L41:
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cmp	eax, -1
	jne	.L40
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cmp	eax, -1
	je	.L40
	mov	eax, DWORD PTR -28[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -28[rbp], edx
	mov	r8d, DWORD PTR -32[rbp]
	mov	ecx, DWORD PTR -44[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	rsi, QWORD PTR -16[rbp]
	mov	rdi, QWORD PTR -24[rbp]
	mov	r9d, eax
	call	floodfill
.L40:
	add	DWORD PTR -32[rbp], 1
.L39:
	mov	eax, DWORD PTR -32[rbp]
	cmp	eax, DWORD PTR -44[rbp]
	jl	.L41
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -24[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	getLabels, .-getLabels
	.section	.rodata
.LC17:
	.string	"*first"
.LC18:
	.string	"*last"
	.text
	.globl	makeRanges
	.type	makeRanges, @function
makeRanges:
.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, 80
	mov	QWORD PTR -40[rbp], rdi
	mov	DWORD PTR -44[rbp], esi
	mov	QWORD PTR -56[rbp], rdx
	mov	DWORD PTR -48[rbp], ecx
	mov	QWORD PTR -64[rbp], r8
	mov	QWORD PTR -72[rbp], r9
	mov	DWORD PTR -4[rbp], 1
	mov	DWORD PTR -20[rbp], 0
	jmp	.L44
.L53:
	mov	DWORD PTR -16[rbp], 0
	jmp	.L45
.L52:
	mov	DWORD PTR -8[rbp], 0
	mov	eax, DWORD PTR -8[rbp]
	mov	DWORD PTR -12[rbp], eax
	jmp	.L46
.L50:
	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 -12[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jle	.L47
	mov	eax, DWORD PTR -16[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 -12[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jle	.L47
	mov	eax, 1
	jmp	.L48
.L47:
	mov	eax, 0
.L48:
	mov	DWORD PTR -8[rbp], eax
	add	DWORD PTR -12[rbp], 1
.L46:
	cmp	DWORD PTR -8[rbp], 0
	jne	.L49
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -48[rbp]
	jl	.L50
.L49:
	cmp	DWORD PTR -8[rbp], 0
	je	.L51
	add	DWORD PTR -4[rbp], 1
.L51:
	add	DWORD PTR -16[rbp], 1
.L45:
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jle	.L52
	add	DWORD PTR -20[rbp], 1
.L44:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -44[rbp]
	jl	.L53
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	esi, 4
	mov	rdi, rax
	call	calloc@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -64[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L54
	lea	rcx, __PRETTY_FUNCTION__.3[rip]
	mov	edx, 128
	lea	rsi, .LC6[rip]
	lea	rdi, .LC17[rip]
	call	__assert_fail@PLT
.L54:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	esi, 4
	mov	rdi, rax
	call	calloc@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -72[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L55
	lea	rcx, __PRETTY_FUNCTION__.3[rip]
	mov	edx, 129
	lea	rsi, .LC6[rip]
	lea	rdi, .LC18[rip]
	call	__assert_fail@PLT
.L55:
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR [rax]
	mov	DWORD PTR [rax], -1
	mov	rax, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR [rax]
	mov	DWORD PTR [rax], -1
	mov	DWORD PTR -4[rbp], 1
	mov	DWORD PTR -20[rbp], 0
	jmp	.L56
.L65:
	mov	DWORD PTR -16[rbp], 0
	jmp	.L57
.L64:
	mov	DWORD PTR -8[rbp], 0
	mov	eax, DWORD PTR -8[rbp]
	mov	DWORD PTR -12[rbp], eax
	jmp	.L58
.L62:
	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 -12[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jle	.L59
	mov	eax, DWORD PTR -16[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 -12[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jle	.L59
	mov	eax, 1
	jmp	.L60
.L59:
	mov	eax, 0
.L60:
	mov	DWORD PTR -8[rbp], eax
	add	DWORD PTR -12[rbp], 1
.L58:
	cmp	DWORD PTR -8[rbp], 0
	jne	.L61
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -48[rbp]
	jl	.L62
.L61:
	cmp	DWORD PTR -8[rbp], 0
	je	.L63
	mov	rax, QWORD PTR -64[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 2
	add	rdx, rax
	mov	eax, DWORD PTR -16[rbp]
	mov	DWORD PTR [rdx], eax
	mov	rax, QWORD PTR -72[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 2
	add	rdx, rax
	mov	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR [rdx], eax
	add	DWORD PTR -4[rbp], 1
.L63:
	add	DWORD PTR -16[rbp], 1
.L57:
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jle	.L64
	add	DWORD PTR -20[rbp], 1
.L56:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -44[rbp]
	jl	.L65
	mov	eax, DWORD PTR -4[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	makeRanges, .-makeRanges
	.section	.rodata
.LC19:
	.string	"scoreOf"
.LC20:
	.string	"scoreOf[i]"
	.text
	.globl	calcRangeScores
	.type	calcRangeScores, @function
calcRangeScores:
.LFB11:
	.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, 88
	.cfi_offset 3, -24
	mov	QWORD PTR -56[rbp], rdi
	mov	QWORD PTR -64[rbp], rsi
	mov	DWORD PTR -68[rbp], edx
	mov	QWORD PTR -80[rbp], rcx
	mov	QWORD PTR -88[rbp], r8
	mov	DWORD PTR -72[rbp], r9d
	mov	eax, DWORD PTR -68[rbp]
	cdqe
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -24[rbp], rax
	cmp	QWORD PTR -24[rbp], 0
	jne	.L68
	lea	rcx, __PRETTY_FUNCTION__.2[rip]
	mov	edx, 154
	lea	rsi, .LC6[rip]
	lea	rdi, .LC19[rip]
	call	__assert_fail@PLT
.L68:
	mov	DWORD PTR -36[rbp], 0
	jmp	.L69
.L76:
	mov	eax, DWORD PTR -72[rbp]
	cdqe
	sal	rax, 2
	mov	edx, DWORD PTR -36[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	mov	rdx, QWORD PTR -24[rbp]
	lea	rbx, [rcx+rdx]
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR [rbx], rax
	mov	eax, DWORD PTR -36[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
	jne	.L70
	lea	rcx, __PRETTY_FUNCTION__.2[rip]
	mov	edx, 156
	lea	rsi, .LC6[rip]
	lea	rdi, .LC20[rip]
	call	__assert_fail@PLT
.L70:
	mov	DWORD PTR -32[rbp], 0
	jmp	.L71
.L75:
	mov	eax, DWORD PTR -36[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 -32[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	DWORD PTR [rax], 0
	cmp	DWORD PTR -32[rbp], 0
	jle	.L72
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -28[rbp], eax
	jmp	.L73
.L74:
	mov	eax, DWORD PTR -36[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 -32[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	ecx, DWORD PTR [rax]
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	lea	rsi, 0[0+rax*4]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rsi
	mov	eax, DWORD PTR [rax]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	lea	rsi, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rsi
	mov	rsi, QWORD PTR [rax]
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	sal	rax, 2
	add	rax, rsi
	add	edx, ecx
	mov	DWORD PTR [rax], edx
	add	DWORD PTR -28[rbp], 1
.L73:
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -28[rbp], eax
	jle	.L74
.L72:
	add	DWORD PTR -32[rbp], 1
.L71:
	mov	eax, DWORD PTR -32[rbp]
	cmp	eax, DWORD PTR -72[rbp]
	jl	.L75
	add	DWORD PTR -36[rbp], 1
.L69:
	mov	eax, DWORD PTR -36[rbp]
	cmp	eax, DWORD PTR -68[rbp]
	jl	.L76
	mov	rax, QWORD PTR -24[rbp]
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	calcRangeScores, .-calcRangeScores
	.section	.rodata
	.align 8
.LC21:
	.string	"ordering failed, retrying... (numRanges = %d, numStates = %d)\n"
.LC22:
	.string	"ordering failed"
.LC23:
	.string	"best"
.LC24:
	.string	"best[i]"
.LC25:
	.string	"WORKING %d/%d\n"
.LC26:
	.string	"stateList"
.LC27:
	.string	"rangeList"
.LC28:
	.string	"scoreList"
	.text
	.globl	solveOrder
	.type	solveOrder, @function
solveOrder:
.LFB12:
	.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, 200
	.cfi_offset 3, -24
	mov	QWORD PTR -152[rbp], rdi
	mov	DWORD PTR -156[rbp], esi
	mov	DWORD PTR -160[rbp], edx
	mov	QWORD PTR -168[rbp], rcx
	mov	DWORD PTR -172[rbp], r8d
	mov	QWORD PTR -184[rbp], r9
	mov	rax, QWORD PTR 16[rbp]
	mov	QWORD PTR -192[rbp], rax
	mov	rax, QWORD PTR 24[rbp]
	mov	QWORD PTR -200[rbp], rax
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	eax, DWORD PTR -172[rbp]
	mov	edx, 1
	mov	ecx, eax
	sal	edx, cl
	mov	eax, edx
	mov	DWORD PTR -104[rbp], eax
	mov	DWORD PTR -124[rbp], 0
	lea	r8, -72[rbp]
	lea	rdi, -80[rbp]
	mov	ecx, DWORD PTR -172[rbp]
	mov	rdx, QWORD PTR -168[rbp]
	mov	esi, DWORD PTR -160[rbp]
	mov	rax, QWORD PTR -152[rbp]
	mov	r9, r8
	mov	r8, rdi
	mov	rdi, rax
	call	makeRanges
	mov	DWORD PTR -100[rbp], eax
	mov	eax, DWORD PTR -100[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -104[rbp]
	cdqe
	imul	rax, rdx
	cmp	rax, 100000000
	jg	.L79
	mov	eax, DWORD PTR -100[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -104[rbp]
	cdqe
	imul	rdx, rax
	mov	eax, DWORD PTR -172[rbp]
	cdqe
	imul	rdx, rax
	mov	eax, DWORD PTR -100[rbp]
	cdqe
	imul	rax, rdx
	movabs	rdx, 10000000000
	cmp	rax, rdx
	jle	.L80
.L79:
	mov	rax, QWORD PTR stderr[rip]
	mov	ecx, DWORD PTR -104[rbp]
	mov	edx, DWORD PTR -100[rbp]
	lea	rsi, .LC21[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	lea	rdi, .LC22[rip]
	call	puts@PLT
	mov	DWORD PTR failed[rip], 1
	jmp	.L78
.L80:
	mov	eax, DWORD PTR -104[rbp]
	cdqe
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -64[rbp], rax
	cmp	QWORD PTR -64[rbp], 0
	jne	.L82
	lea	rcx, __PRETTY_FUNCTION__.1[rip]
	mov	edx, 191
	lea	rsi, .LC6[rip]
	lea	rdi, .LC23[rip]
	call	__assert_fail@PLT
.L82:
	mov	DWORD PTR -140[rbp], 0
	jmp	.L83
.L85:
	mov	eax, DWORD PTR -100[rbp]
	cdqe
	mov	edx, DWORD PTR -140[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	mov	rdx, QWORD PTR -64[rbp]
	lea	rbx, [rcx+rdx]
	mov	esi, 4
	mov	rdi, rax
	call	calloc@PLT
	mov	QWORD PTR [rbx], rax
	mov	eax, DWORD PTR -140[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L84
	lea	rcx, __PRETTY_FUNCTION__.1[rip]
	mov	edx, 193
	lea	rsi, .LC6[rip]
	lea	rdi, .LC24[rip]
	call	__assert_fail@PLT
.L84:
	add	DWORD PTR -140[rbp], 1
.L83:
	mov	eax, DWORD PTR -140[rbp]
	cmp	eax, DWORD PTR -104[rbp]
	jl	.L85
	mov	DWORD PTR -140[rbp], 0
	jmp	.L86
.L87:
	mov	eax, DWORD PTR -140[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	DWORD PTR [rax], 0
	add	DWORD PTR -140[rbp], 1
.L86:
	mov	eax, DWORD PTR -140[rbp]
	cmp	eax, DWORD PTR -104[rbp]
	jl	.L87
	mov	DWORD PTR -136[rbp], 1
	jmp	.L88
.L89:
	mov	rax, QWORD PTR -64[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -136[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	DWORD PTR [rax], 0
	add	DWORD PTR -136[rbp], 1
.L88:
	mov	eax, DWORD PTR -136[rbp]
	cmp	eax, DWORD PTR -100[rbp]
	jl	.L89
	mov	rdi, QWORD PTR -72[rbp]
	mov	rcx, QWORD PTR -80[rbp]
	mov	r8d, DWORD PTR -100[rbp]
	mov	edx, DWORD PTR -172[rbp]
	mov	rsi, QWORD PTR -168[rbp]
	mov	rax, QWORD PTR -152[rbp]
	mov	r9d, r8d
	mov	r8, rdi
	mov	rdi, rax
	call	calcRangeScores
	mov	QWORD PTR -56[rbp], rax
	mov	DWORD PTR -108[rbp], 0
	mov	eax, DWORD PTR -100[rbp]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR -104[rbp]
	sub	eax, 1
	imul	eax, edx
	mov	DWORD PTR -96[rbp], eax
	mov	DWORD PTR -140[rbp], 1
	jmp	.L90
.L101:
	mov	DWORD PTR -136[rbp], 1
	jmp	.L91
.L100:
	mov	DWORD PTR -112[rbp], -1
	mov	DWORD PTR -132[rbp], 0
	jmp	.L92
.L97:
	mov	eax, DWORD PTR -132[rbp]
	mov	edx, DWORD PTR -136[rbp]
	mov	ecx, eax
	sar	edx, cl
	mov	eax, edx
	and	eax, 1
	test	eax, eax
	je	.L93
	mov	eax, DWORD PTR -132[rbp]
	mov	edx, 1
	mov	ecx, eax
	sal	edx, cl
	mov	eax, DWORD PTR -136[rbp]
	sub	eax, edx
	mov	DWORD PTR -92[rbp], eax
	mov	eax, DWORD PTR -132[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -140[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -84[rbp], eax
	mov	DWORD PTR -128[rbp], 0
	jmp	.L94
.L96:
	mov	rdx, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR -128[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	rcx, QWORD PTR -80[rbp]
	mov	eax, DWORD PTR -140[rbp]
	cdqe
	sal	rax, 2
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	cmp	edx, eax
	jge	.L95
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -128[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -84[rbp]
	add	eax, edx
	mov	DWORD PTR -88[rbp], eax
	mov	eax, DWORD PTR -88[rbp]
	cmp	eax, DWORD PTR -112[rbp]
	jle	.L95
	mov	eax, DWORD PTR -88[rbp]
	mov	DWORD PTR -112[rbp], eax
.L95:
	add	DWORD PTR -128[rbp], 1
.L94:
	mov	eax, DWORD PTR -128[rbp]
	cmp	eax, DWORD PTR -100[rbp]
	jl	.L96
.L93:
	add	DWORD PTR -132[rbp], 1
.L92:
	mov	eax, DWORD PTR -132[rbp]
	cmp	eax, DWORD PTR -172[rbp]
	jl	.L97
	mov	eax, DWORD PTR -136[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -140[rbp]
	cdqe
	sal	rax, 2
	add	rdx, rax
	mov	eax, DWORD PTR -112[rbp]
	mov	DWORD PTR [rdx], eax
	mov	eax, DWORD PTR -136[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -140[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -124[rbp], eax
	jge	.L98
	mov	eax, DWORD PTR -136[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -140[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -124[rbp], eax
	mov	eax, DWORD PTR -136[rbp]
	mov	DWORD PTR -120[rbp], eax
	mov	eax, DWORD PTR -140[rbp]
	mov	DWORD PTR -116[rbp], eax
.L98:
	add	DWORD PTR -108[rbp], 1
	mov	edx, DWORD PTR -108[rbp]
	movsx	rax, edx
	imul	rax, rax, 351843721
	shr	rax, 32
	sar	eax, 13
	mov	ecx, edx
	sar	ecx, 31
	sub	eax, ecx
	imul	ecx, eax, 100000
	mov	eax, edx
	sub	eax, ecx
	test	eax, eax
	jne	.L99
	mov	rax, QWORD PTR stderr[rip]
	mov	ecx, DWORD PTR -96[rbp]
	mov	edx, DWORD PTR -108[rbp]
	lea	rsi, .LC25[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L99:
	add	DWORD PTR -136[rbp], 1
.L91:
	mov	eax, DWORD PTR -136[rbp]
	cmp	eax, DWORD PTR -104[rbp]
	jl	.L100
	add	DWORD PTR -140[rbp], 1
.L90:
	mov	eax, DWORD PTR -140[rbp]
	cmp	eax, DWORD PTR -100[rbp]
	jl	.L101
	mov	DWORD PTR -128[rbp], 0
	mov	eax, DWORD PTR -172[rbp]
	cdqe
	mov	esi, 4
	mov	rdi, rax
	call	calloc@PLT
	mov	QWORD PTR -48[rbp], rax
	cmp	QWORD PTR -48[rbp], 0
	jne	.L102
	lea	rcx, __PRETTY_FUNCTION__.1[rip]
	mov	edx, 240
	lea	rsi, .LC6[rip]
	lea	rdi, .LC26[rip]
	call	__assert_fail@PLT
.L102:
	mov	eax, DWORD PTR -172[rbp]
	cdqe
	mov	esi, 4
	mov	rdi, rax
	call	calloc@PLT
	mov	QWORD PTR -40[rbp], rax
	cmp	QWORD PTR -40[rbp], 0
	jne	.L103
	lea	rcx, __PRETTY_FUNCTION__.1[rip]
	mov	edx, 241
	lea	rsi, .LC6[rip]
	lea	rdi, .LC27[rip]
	call	__assert_fail@PLT
.L103:
	mov	eax, DWORD PTR -172[rbp]
	cdqe
	mov	esi, 4
	mov	rdi, rax
	call	calloc@PLT
	mov	QWORD PTR -32[rbp], rax
	cmp	QWORD PTR -32[rbp], 0
	jne	.L105
	lea	rcx, __PRETTY_FUNCTION__.1[rip]
	mov	edx, 242
	lea	rsi, .LC6[rip]
	lea	rdi, .LC28[rip]
	call	__assert_fail@PLT
.L112:
	mov	DWORD PTR -132[rbp], 1
	mov	DWORD PTR -140[rbp], 0
	jmp	.L106
.L111:
	mov	eax, DWORD PTR -140[rbp]
	mov	edx, DWORD PTR -120[rbp]
	mov	ecx, eax
	sar	edx, cl
	mov	eax, edx
	and	eax, 1
	test	eax, eax
	je	.L107
	mov	eax, DWORD PTR -140[rbp]
	mov	edx, 1
	mov	ecx, eax
	sal	edx, cl
	mov	eax, DWORD PTR -120[rbp]
	sub	eax, edx
	mov	DWORD PTR -92[rbp], eax
	mov	DWORD PTR -136[rbp], 0
	jmp	.L108
.L110:
	mov	rdx, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR -136[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	rcx, QWORD PTR -80[rbp]
	mov	eax, DWORD PTR -116[rbp]
	cdqe
	sal	rax, 2
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	cmp	edx, eax
	jge	.L109
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -136[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -140[rbp]
	cdqe
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rcx
	mov	rcx, QWORD PTR [rax]
	mov	eax, DWORD PTR -116[rbp]
	cdqe
	sal	rax, 2
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	add	eax, edx
	mov	DWORD PTR -88[rbp], eax
	mov	eax, DWORD PTR -120[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -116[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -88[rbp], eax
	jne	.L109
	mov	eax, DWORD PTR -140[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -168[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -128[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	mov	rdx, QWORD PTR -48[rbp]
	add	rdx, rcx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR [rdx], eax
	mov	eax, DWORD PTR -128[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -116[rbp]
	mov	DWORD PTR [rdx], eax
	mov	eax, DWORD PTR -140[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -116[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	edx, DWORD PTR -128[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	mov	rdx, QWORD PTR -32[rbp]
	add	rdx, rcx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR [rdx], eax
	add	DWORD PTR -128[rbp], 1
	mov	eax, DWORD PTR -92[rbp]
	mov	DWORD PTR -120[rbp], eax
	mov	eax, DWORD PTR -136[rbp]
	mov	DWORD PTR -116[rbp], eax
	mov	DWORD PTR -132[rbp], 0
.L109:
	add	DWORD PTR -136[rbp], 1
.L108:
	cmp	DWORD PTR -132[rbp], 0
	je	.L107
	mov	eax, DWORD PTR -136[rbp]
	cmp	eax, DWORD PTR -100[rbp]
	jl	.L110
.L107:
	add	DWORD PTR -140[rbp], 1
.L106:
	cmp	DWORD PTR -132[rbp], 0
	je	.L105
	mov	eax, DWORD PTR -140[rbp]
	cmp	eax, DWORD PTR -172[rbp]
	jl	.L111
.L105:
	cmp	DWORD PTR -120[rbp], 0
	jne	.L112
	mov	eax, DWORD PTR -128[rbp]
	sub	eax, 1
	mov	DWORD PTR -140[rbp], eax
	jmp	.L113
.L114:
	mov	eax, DWORD PTR -140[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -48[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -200[rbp]
	mov	eax, DWORD PTR [rax]
	cdqe
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -192[rbp]
	add	rax, rcx
	mov	rax, QWORD PTR [rax]
	mov	edx, DWORD PTR [rdx]
	mov	DWORD PTR [rax], edx
	mov	rdx, QWORD PTR -80[rbp]
	mov	eax, DWORD PTR -140[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -184[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR -200[rbp]
	mov	edx, DWORD PTR [rdx]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	mov	rdx, QWORD PTR -192[rbp]
	add	rdx, rcx
	mov	rdx, QWORD PTR [rdx]
	add	rdx, 4
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR [rdx], eax
	mov	rdx, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR -140[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -184[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR -200[rbp]
	mov	edx, DWORD PTR [rdx]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	mov	rdx, QWORD PTR -192[rbp]
	add	rdx, rcx
	mov	rdx, QWORD PTR [rdx]
	add	rdx, 8
	mov	eax, DWORD PTR 4[rax]
	mov	DWORD PTR [rdx], eax
	mov	eax, DWORD PTR -140[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -32[rbp]
	lea	rcx, [rdx+rax]
	mov	rax, QWORD PTR -200[rbp]
	mov	eax, DWORD PTR [rax]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -192[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rdx, 12[rax]
	mov	eax, DWORD PTR [rcx]
	mov	DWORD PTR [rdx], eax
	mov	rax, QWORD PTR -200[rbp]
	mov	eax, DWORD PTR [rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -200[rbp]
	mov	DWORD PTR [rax], edx
	sub	DWORD PTR -140[rbp], 1
.L113:
	cmp	DWORD PTR -140[rbp], 0
	jns	.L114
	mov	DWORD PTR -140[rbp], 0
	jmp	.L115
.L116:
	mov	eax, DWORD PTR -140[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	free@PLT
	add	DWORD PTR -140[rbp], 1
.L115:
	mov	eax, DWORD PTR -140[rbp]
	cmp	eax, DWORD PTR -172[rbp]
	jl	.L116
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	DWORD PTR -140[rbp], 0
	jmp	.L117
.L118:
	mov	eax, DWORD PTR -140[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	free@PLT
	add	DWORD PTR -140[rbp], 1
.L117:
	mov	eax, DWORD PTR -140[rbp]
	cmp	eax, DWORD PTR -104[rbp]
	jl	.L118
	mov	rax, QWORD PTR -64[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -80[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	free@PLT
.L78:
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L119
	call	__stack_chk_fail@PLT
.L119:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	solveOrder, .-solveOrder
	.globl	compFn
	.type	compFn, @function
compFn:
.LFB13:
	.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 -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	add	rax, 4
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR [rax]
	add	rax, 4
	mov	ecx, DWORD PTR [rax]
	mov	eax, edx
	sub	eax, ecx
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	compFn, .-compFn
	.section	.rodata
.LC29:
	.string	"columns"
.LC30:
	.string	"results"
.LC31:
	.string	"results[i]"
.LC32:
	.string	"%d --> (%d %d) %d\n"
	.text
	.globl	findGroups
	.type	findGroups, @function
findGroups:
.LFB14:
	.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, 88
	.cfi_offset 3, -24
	mov	DWORD PTR -68[rbp], edi
	mov	DWORD PTR -72[rbp], esi
	mov	DWORD PTR -76[rbp], edx
	mov	QWORD PTR -88[rbp], rcx
	mov	QWORD PTR -96[rbp], r8
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -64[rbp], 0
	mov	edx, DWORD PTR -76[rbp]
	mov	ecx, DWORD PTR -68[rbp]
	mov	rax, QWORD PTR -88[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	getLabels
	mov	QWORD PTR -48[rbp], rax
	mov	eax, DWORD PTR -68[rbp]
	cdqe
	sal	rax, 2
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -40[rbp], rax
	cmp	QWORD PTR -40[rbp], 0
	jne	.L123
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 294
	lea	rsi, .LC6[rip]
	lea	rdi, .LC29[rip]
	call	__assert_fail@PLT
.L123:
	mov	eax, DWORD PTR -68[rbp]
	cdqe
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -32[rbp], rax
	cmp	QWORD PTR -32[rbp], 0
	jne	.L124
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 295
	lea	rsi, .LC6[rip]
	lea	rdi, .LC30[rip]
	call	__assert_fail@PLT
.L124:
	mov	DWORD PTR -52[rbp], 0
	jmp	.L125
.L127:
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	lea	rbx, [rdx+rax]
	mov	esi, 4
	mov	edi, 4
	call	calloc@PLT
	mov	QWORD PTR [rbx], rax
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L126
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 297
	lea	rsi, .LC6[rip]
	lea	rdi, .LC31[rip]
	call	__assert_fail@PLT
.L126:
	add	DWORD PTR -52[rbp], 1
.L125:
	mov	eax, DWORD PTR -52[rbp]
	cmp	eax, DWORD PTR -68[rbp]
	jl	.L127
	mov	DWORD PTR -56[rbp], 0
	mov	eax, DWORD PTR -56[rbp]
	mov	DWORD PTR -60[rbp], eax
	jmp	.L128
.L134:
	mov	DWORD PTR -52[rbp], 0
	jmp	.L129
.L131:
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -60[rbp], eax
	jne	.L130
	mov	eax, DWORD PTR -56[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -56[rbp], edx
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -52[rbp]
	mov	DWORD PTR [rdx], eax
.L130:
	add	DWORD PTR -52[rbp], 1
.L129:
	mov	eax, DWORD PTR -52[rbp]
	cmp	eax, DWORD PTR -68[rbp]
	jl	.L131
	cmp	DWORD PTR -56[rbp], 0
	je	.L141
	mov	r9, QWORD PTR -96[rbp]
	mov	r8d, DWORD PTR -56[rbp]
	mov	rcx, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR -76[rbp]
	mov	esi, DWORD PTR -68[rbp]
	mov	rax, QWORD PTR -88[rbp]
	lea	rdi, -64[rbp]
	push	rdi
	push	QWORD PTR -32[rbp]
	mov	rdi, rax
	call	solveOrder
	add	rsp, 16
	mov	DWORD PTR -56[rbp], 0
	add	DWORD PTR -60[rbp], 1
.L128:
	mov	eax, DWORD PTR failed[rip]
	test	eax, eax
	je	.L134
	jmp	.L133
.L141:
	nop
.L133:
	mov	eax, DWORD PTR failed[rip]
	test	eax, eax
	jne	.L135
	mov	eax, DWORD PTR -64[rbp]
	movsx	rsi, eax
	mov	rax, QWORD PTR -32[rbp]
	lea	rcx, compFn[rip]
	mov	edx, 8
	mov	rdi, rax
	call	qsort@PLT
	mov	DWORD PTR -52[rbp], 0
	jmp	.L136
.L137:
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	add	rax, 12
	mov	esi, DWORD PTR [rax]
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	add	rax, 8
	mov	ecx, DWORD PTR [rax]
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	add	rax, 4
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	lea	rdi, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdi
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR [rax]
	mov	r8d, esi
	mov	esi, eax
	lea	rdi, .LC32[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -52[rbp], 1
.L136:
	mov	eax, DWORD PTR -64[rbp]
	cmp	DWORD PTR -52[rbp], eax
	jl	.L137
.L135:
	mov	DWORD PTR -52[rbp], 0
	jmp	.L138
.L139:
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	free@PLT
	add	DWORD PTR -52[rbp], 1
.L138:
	mov	eax, DWORD PTR -52[rbp]
	cmp	eax, DWORD PTR -68[rbp]
	jl	.L139
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	free@PLT
	nop
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L140
	call	__stack_chk_fail@PLT
.L140:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	findGroups, .-findGroups
	.section	.rodata
.LC33:
	.string	"Usage:\ncontigorder rangefile\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
	sub	rsp, 64
	mov	DWORD PTR -52[rbp], edi
	mov	QWORD PTR -64[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -52[rbp], 2
	je	.L143
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 29
	mov	esi, 1
	lea	rdi, .LC33[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L143:
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rcx, -32[rbp]
	lea	rdx, -36[rbp]
	lea	rsi, -40[rbp]
	mov	rdi, rax
	call	getFileInfo
	mov	ecx, DWORD PTR -32[rbp]
	mov	edx, DWORD PTR -36[rbp]
	mov	esi, DWORD PTR -40[rbp]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	r8, -16[rbp]
	lea	rdi, -24[rbp]
	mov	r9, r8
	mov	r8, rdi
	mov	rdi, rax
	call	getScores
	mov	rdi, QWORD PTR -16[rbp]
	mov	rcx, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR -32[rbp]
	mov	esi, DWORD PTR -36[rbp]
	mov	eax, DWORD PTR -40[rbp]
	mov	r8, rdi
	mov	edi, eax
	call	findGroups
	mov	DWORD PTR -28[rbp], 0
	jmp	.L144
.L145:
	mov	rdx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	free@PLT
	mov	rdx, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	free@PLT
	add	DWORD PTR -28[rbp], 1
.L144:
	mov	eax, DWORD PTR -32[rbp]
	cmp	DWORD PTR -28[rbp], eax
	jl	.L145
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L147
	call	__stack_chk_fail@PLT
.L147:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	main, .-main
	.section	.rodata
	.align 8
	.type	__PRETTY_FUNCTION__.5, @object
	.size	__PRETTY_FUNCTION__.5, 10
__PRETTY_FUNCTION__.5:
	.string	"getScores"
	.align 8
	.type	__PRETTY_FUNCTION__.4, @object
	.size	__PRETTY_FUNCTION__.4, 10
__PRETTY_FUNCTION__.4:
	.string	"getLabels"
	.align 8
	.type	__PRETTY_FUNCTION__.3, @object
	.size	__PRETTY_FUNCTION__.3, 11
__PRETTY_FUNCTION__.3:
	.string	"makeRanges"
	.align 16
	.type	__PRETTY_FUNCTION__.2, @object
	.size	__PRETTY_FUNCTION__.2, 16
__PRETTY_FUNCTION__.2:
	.string	"calcRangeScores"
	.align 8
	.type	__PRETTY_FUNCTION__.1, @object
	.size	__PRETTY_FUNCTION__.1, 11
__PRETTY_FUNCTION__.1:
	.string	"solveOrder"
	.align 8
	.type	__PRETTY_FUNCTION__.0, @object
	.size	__PRETTY_FUNCTION__.0, 11
__PRETTY_FUNCTION__.0:
	.string	"findGroups"
	.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	"197729.c"
	.text
	.global	failed
	.bss
	.align	2
	.type	failed, %object
	.size	failed, 4
failed:
	.space	4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"r\000"
	.align	2
.LC1:
	.ascii	"contigorder: Error opening file: %s\012\000"
	.align	2
.LC2:
	.ascii	"numContigs = %d\012\000"
	.align	2
.LC3:
	.ascii	"seqLen = %d\012\000"
	.align	2
.LC4:
	.ascii	"(%d %d)\000"
	.align	2
.LC5:
	.ascii	"%&d\000"
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	getFileInfo
	.syntax unified
	.arm
	.fpu softvfp
	.type	getFileInfo, %function
getFileInfo:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	str	r3, [fp, #-36]
	ldr	r3, .L9
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r1, .L9+4
	ldr	r0, [fp, #-24]
	bl	fopen
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L2
	ldr	r3, .L9+8
	ldr	r3, [r3]
	ldr	r1, .L9+12
	mov	r0, r3
	bl	fprintf
	mov	r0, #1
	bl	exit
.L2:
	ldr	r2, [fp, #-28]
	ldr	r1, .L9+16
	ldr	r0, [fp, #-12]
	bl	__isoc99_fscanf
	ldr	r2, [fp, #-32]
	ldr	r1, .L9+20
	ldr	r0, [fp, #-12]
	bl	__isoc99_fscanf
	ldr	r3, [fp, #-36]
	mov	r2, #0
	str	r2, [r3]
	b	.L3
.L7:
	sub	r3, fp, #20
	sub	r2, fp, #20
	ldr	r1, .L9+24
	ldr	r0, [fp, #-12]
	bl	__isoc99_fscanf
	mov	r3, r0
	cmp	r3, #2
	bne	.L3
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L4
.L5:
	sub	r3, fp, #20
	mov	r2, r3
	ldr	r1, .L9+28
	ldr	r0, [fp, #-12]
	bl	__isoc99_fscanf
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L4:
	ldr	r3, [fp, #-28]
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	blt	.L5
	nop
.L6:
	ldr	r0, [fp, #-12]
	bl	fgetc
	mov	r3, r0
	cmp	r3, #10
	bne	.L6
	ldr	r3, [fp, #-36]
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r3, [fp, #-36]
	str	r2, [r3]
.L3:
	ldr	r0, [fp, #-12]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	beq	.L7
	ldr	r0, [fp, #-12]
	bl	fclose
	nop
	ldr	r3, .L9
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L8
	bl	__stack_chk_fail
.L8:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L10:
	.align	2
.L9:
	.word	.LC6
	.word	.LC0
	.word	stderr
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.size	getFileInfo, .-getFileInfo
	.section	.rodata
	.align	2
.LC7:
	.ascii	"the_stack_data/197729.c\000"
	.align	2
.LC8:
	.ascii	"*score\000"
	.align	2
.LC9:
	.ascii	"*ranges\000"
	.align	2
.LC10:
	.ascii	"(*score)[i]\000"
	.align	2
.LC11:
	.ascii	"(*ranges)[i]\000"
	.align	2
.LC12:
	.ascii	"numContigs = %*d\012\000"
	.align	2
.LC13:
	.ascii	"seqLen = %*d\012\000"
	.align	2
.LC14:
	.ascii	"%d\000"
	.text
	.align	2
	.global	getScores
	.syntax unified
	.arm
	.fpu softvfp
	.type	getScores, %function
getScores:
	@ args = 8, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #36
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #4]
	str	r2, [r3]
	ldr	r3, [fp, #4]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L12
	ldr	r3, .L25
	mov	r2, #41
	ldr	r1, .L25+4
	ldr	r0, .L25+8
	bl	__assert_fail
.L12:
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #8]
	str	r2, [r3]
	ldr	r3, [fp, #8]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L13
	ldr	r3, .L25
	mov	r2, #43
	ldr	r1, .L25+4
	ldr	r0, .L25+12
	bl	__assert_fail
.L13:
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L14
.L17:
	ldr	r0, [fp, #-36]
	ldr	r3, [fp, #4]
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	add	r4, r2, r3
	mov	r1, #4
	bl	calloc
	mov	r3, r0
	str	r3, [r4]
	ldr	r3, [fp, #4]
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L15
	ldr	r3, .L25
	mov	r2, #46
	ldr	r1, .L25+4
	ldr	r0, .L25+16
	bl	__assert_fail
.L15:
	ldr	r3, [fp, #8]
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	add	r4, r2, r3
	mov	r1, #4
	mov	r0, #2
	bl	calloc
	mov	r3, r0
	str	r3, [r4]
	ldr	r3, [fp, #8]
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L16
	ldr	r3, .L25
	mov	r2, #48
	ldr	r1, .L25+4
	ldr	r0, .L25+20
	bl	__assert_fail
.L16:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L14:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-44]
	cmp	r2, r3
	blt	.L17
	ldr	r1, .L25+24
	ldr	r0, [fp, #-32]
	bl	fopen
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L18
	ldr	r3, .L25+28
	ldr	r3, [r3]
	ldr	r1, .L25+32
	mov	r0, r3
	bl	fprintf
	mov	r0, #1
	bl	exit
.L18:
	ldr	r1, .L25+36
	ldr	r0, [fp, #-16]
	bl	__isoc99_fscanf
	ldr	r1, .L25+40
	ldr	r0, [fp, #-16]
	bl	__isoc99_fscanf
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L19
.L24:
	ldr	r3, [fp, #8]
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r1, [r3]
	ldr	r3, [fp, #8]
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	add	r3, r3, #4
	mov	r2, r1
	ldr	r1, .L25+44
	ldr	r0, [fp, #-16]
	bl	__isoc99_fscanf
	mov	r3, r0
	cmp	r3, #2
	bne	.L19
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L20
.L21:
	ldr	r3, [fp, #4]
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r2, r3
	ldr	r1, .L25+48
	ldr	r0, [fp, #-16]
	bl	__isoc99_fscanf
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L20:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-36]
	cmp	r2, r3
	blt	.L21
	nop
.L22:
	ldr	r0, [fp, #-16]
	bl	fgetc
	mov	r3, r0
	cmp	r3, #10
	bne	.L22
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L19:
	ldr	r0, [fp, #-16]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	bne	.L23
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-44]
	cmp	r2, r3
	blt	.L24
.L23:
	ldr	r0, [fp, #-16]
	bl	fclose
	nop
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L26:
	.align	2
.L25:
	.word	__PRETTY_FUNCTION__.5159
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC0
	.word	stderr
	.word	.LC1
	.word	.LC12
	.word	.LC13
	.word	.LC4
	.word	.LC14
	.size	getScores, .-getScores
	.align	2
	.global	floodfill
	.syntax unified
	.arm
	.fpu softvfp
	.type	floodfill, %function
floodfill:
	@ args = 8, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #4]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [fp, #8]
	str	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L28
.L30:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #4]
	cmp	r2, r3
	beq	.L29
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmn	r3, #1
	bne	.L29
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmn	r3, #1
	beq	.L29
	ldr	r3, [fp, #4]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-24]
	add	r3, r1, r3
	ldr	r3, [r3]
	cmp	r2, r3
	bgt	.L29
	ldr	r3, [fp, #4]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-20]
	add	r3, r1, r3
	ldr	r3, [r3]
	cmp	r2, r3
	blt	.L29
	ldr	r3, [fp, #8]
	str	r3, [sp, #4]
	ldr	r3, [fp, #-8]
	str	r3, [sp]
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-24]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	floodfill
.L29:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L28:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	blt	.L30
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	floodfill, .-floodfill
	.section	.rodata
	.align	2
.LC15:
	.ascii	"labels\000"
	.align	2
.LC16:
	.ascii	"first\000"
	.align	2
.LC17:
	.ascii	"last\000"
	.text
	.align	2
	.global	getLabels
	.syntax unified
	.arm
	.fpu softvfp
	.type	getLabels, %function
getLabels:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	ldr	r3, [fp, #-36]
	mov	r1, #4
	mov	r0, r3
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L32
	ldr	r3, .L47
	mov	r2, #89
	ldr	r1, .L47+4
	ldr	r0, .L47+8
	bl	__assert_fail
.L32:
	ldr	r3, [fp, #-36]
	mov	r1, #4
	mov	r0, r3
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L33
	ldr	r3, .L47
	mov	r2, #90
	ldr	r1, .L47+4
	ldr	r0, .L47+12
	bl	__assert_fail
.L33:
	ldr	r3, [fp, #-36]
	mov	r1, #4
	mov	r0, r3
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L34
	ldr	r3, .L47
	mov	r2, #91
	ldr	r1, .L47+4
	ldr	r0, .L47+16
	bl	__assert_fail
.L34:
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L35
.L40:
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-12]
	add	r3, r2, r3
	mvn	r2, #0
	str	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L36
.L39:
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	ble	.L37
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-12]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmn	r3, #1
	bne	.L38
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-12]
	add	r3, r2, r3
	ldr	r2, [fp, #-24]
	str	r2, [r3]
.L38:
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	ldr	r2, [fp, #-24]
	str	r2, [r3]
.L37:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L36:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-40]
	cmp	r2, r3
	blt	.L39
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L35:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-36]
	cmp	r2, r3
	blt	.L40
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L41
.L42:
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	mvn	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L41:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-36]
	cmp	r2, r3
	blt	.L42
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L43
.L45:
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmn	r3, #1
	bne	.L44
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-12]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmn	r3, #1
	beq	.L44
	ldr	r3, [fp, #-20]
	add	r2, r3, #1
	str	r2, [fp, #-20]
	str	r3, [sp, #4]
	ldr	r3, [fp, #-24]
	str	r3, [sp]
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-8]
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-16]
	bl	floodfill
.L44:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L43:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-36]
	cmp	r2, r3
	blt	.L45
	ldr	r0, [fp, #-12]
	bl	free
	ldr	r0, [fp, #-8]
	bl	free
	ldr	r3, [fp, #-16]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L48:
	.align	2
.L47:
	.word	__PRETTY_FUNCTION__.5194
	.word	.LC7
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.size	getLabels, .-getLabels
	.section	.rodata
	.align	2
.LC18:
	.ascii	"*first\000"
	.align	2
.LC19:
	.ascii	"*last\000"
	.text
	.align	2
	.global	makeRanges
	.syntax unified
	.arm
	.fpu softvfp
	.type	makeRanges, %function
makeRanges:
	@ args = 8, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	str	r3, [fp, #-44]
	mov	r3, #1
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L50
.L59:
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L51
.L58:
	mov	r3, #0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	str	r3, [fp, #-16]
	b	.L52
.L56:
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-40]
	add	r3, r1, r3
	ldr	r3, [r3]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	ble	.L53
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-40]
	add	r3, r1, r3
	ldr	r3, [r3]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	ble	.L53
	mov	r3, #1
	b	.L54
.L53:
	mov	r3, #0
.L54:
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L52:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L55
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-44]
	cmp	r2, r3
	blt	.L56
.L55:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L57
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L57:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L51:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	ble	.L58
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L50:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-36]
	cmp	r2, r3
	blt	.L59
	ldr	r3, [fp, #-8]
	mov	r1, #4
	mov	r0, r3
	bl	calloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #4]
	str	r2, [r3]
	ldr	r3, [fp, #4]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L60
	ldr	r3, .L73
	mov	r2, #128
	ldr	r1, .L73+4
	ldr	r0, .L73+8
	bl	__assert_fail
.L60:
	ldr	r3, [fp, #-8]
	mov	r1, #4
	mov	r0, r3
	bl	calloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #8]
	str	r2, [r3]
	ldr	r3, [fp, #8]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L61
	ldr	r3, .L73
	mov	r2, #129
	ldr	r1, .L73+4
	ldr	r0, .L73+12
	bl	__assert_fail
.L61:
	ldr	r3, [fp, #4]
	ldr	r3, [r3]
	mvn	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #8]
	ldr	r3, [r3]
	mvn	r2, #0
	str	r2, [r3]
	mov	r3, #1
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L62
.L71:
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L63
.L70:
	mov	r3, #0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	str	r3, [fp, #-16]
	b	.L64
.L68:
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-40]
	add	r3, r1, r3
	ldr	r3, [r3]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	ble	.L65
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-40]
	add	r3, r1, r3
	ldr	r3, [r3]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	ble	.L65
	mov	r3, #1
	b	.L66
.L65:
	mov	r3, #0
.L66:
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L64:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L67
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-44]
	cmp	r2, r3
	blt	.L68
.L67:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L69
	ldr	r3, [fp, #4]
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [fp, #-20]
	str	r2, [r3]
	ldr	r3, [fp, #8]
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [fp, #-24]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L69:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L63:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	ble	.L70
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L62:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-36]
	cmp	r2, r3
	blt	.L71
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L74:
	.align	2
.L73:
	.word	__PRETTY_FUNCTION__.5229
	.word	.LC7
	.word	.LC18
	.word	.LC19
	.size	makeRanges, .-makeRanges
	.section	.rodata
	.align	2
.LC20:
	.ascii	"scoreOf\000"
	.align	2
.LC21:
	.ascii	"scoreOf[i]\000"
	.text
	.align	2
	.global	calcRangeScores
	.syntax unified
	.arm
	.fpu softvfp
	.type	calcRangeScores, %function
calcRangeScores:
	@ args = 8, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #36
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L76
	ldr	r3, .L86
	mov	r2, #154
	ldr	r1, .L86+4
	ldr	r0, .L86+8
	bl	__assert_fail
.L76:
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L77
.L84:
	ldr	r3, [fp, #8]
	lsl	r1, r3, #2
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r4, r2, r3
	mov	r0, r1
	bl	malloc
	mov	r3, r0
	str	r3, [r4]
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L78
	ldr	r3, .L86
	mov	r2, #156
	ldr	r1, .L86+4
	ldr	r0, .L86+12
	bl	__assert_fail
.L78:
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L79
.L83:
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	ble	.L80
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-44]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-20]
	b	.L81
.L82:
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r1, [r3]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #2
	ldr	r0, [fp, #-36]
	add	r3, r0, r3
	ldr	r3, [r3]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #2
	ldr	r0, [fp, #-16]
	add	r3, r0, r3
	ldr	r0, [r3]
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	add	r3, r0, r3
	add	r2, r1, r2
	str	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L81:
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	ldr	r2, [fp, #4]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	ble	.L82
.L80:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L79:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #8]
	cmp	r2, r3
	blt	.L83
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L77:
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-40]
	cmp	r2, r3
	blt	.L84
	ldr	r3, [fp, #-16]
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L87:
	.align	2
.L86:
	.word	__PRETTY_FUNCTION__.5251
	.word	.LC7
	.word	.LC20
	.word	.LC21
	.size	calcRangeScores, .-calcRangeScores
	.section	.rodata
	.align	2
.LC22:
	.ascii	"ordering failed, retrying... (numRanges = %d, numSt"
	.ascii	"ates = %d)\012\000"
	.align	2
.LC23:
	.ascii	"ordering failed\000"
	.align	2
.LC24:
	.ascii	"best\000"
	.align	2
.LC25:
	.ascii	"best[i]\000"
	.align	2
.LC26:
	.ascii	"WORKING %d/%d\012\000"
	.align	2
.LC27:
	.ascii	"stateList\000"
	.align	2
.LC28:
	.ascii	"rangeList\000"
	.align	2
.LC29:
	.ascii	"scoreList\000"
	.align	2
.LC30:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	solveOrder
	.syntax unified
	.arm
	.fpu softvfp
	.type	solveOrder, %function
solveOrder:
	@ args = 16, pretend = 0, frame = 128
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #136
	str	r0, [fp, #-112]
	str	r1, [fp, #-116]
	str	r2, [fp, #-120]
	str	r3, [fp, #-124]
	ldr	r3, [fp, #8]
	str	r3, [fp, #-128]
	ldr	r3, [fp, #12]
	str	r3, [fp, #-132]
	ldr	r3, [fp, #16]
	str	r3, [fp, #-136]
	ldr	r3, .L130+72
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r2, #1
	ldr	r3, [fp, #4]
	lsl	r3, r2, r3
	str	r3, [fp, #-60]
	mov	r3, #0
	str	r3, [fp, #-80]
	sub	r3, fp, #100
	str	r3, [sp, #4]
	sub	r3, fp, #104
	str	r3, [sp]
	ldr	r3, [fp, #4]
	ldr	r2, [fp, #-124]
	ldr	r1, [fp, #-120]
	ldr	r0, [fp, #-112]
	bl	makeRanges
	str	r0, [fp, #-56]
	ldr	r3, [fp, #-56]
	mov	r0, r3
	asr	r1, r0, #31
	ldr	r3, [fp, #-60]
	mov	r2, r3
	asr	r3, r2, #31
	mul	lr, r2, r1
	mul	ip, r0, r3
	add	ip, lr, ip
	umull	r4, r5, r0, r2
	add	r3, ip, r5
	mov	r5, r3
	adr	r3, .L130
	ldmia	r3, {r2-r3}
	cmp	r2, r4
	sbcs	r3, r3, r5
	blt	.L89
	ldr	r3, [fp, #-56]
	mov	r4, r3
	asr	r5, r4, #31
	ldr	r3, [fp, #-60]
	mov	r2, r3
	asr	r3, r2, #31
	mul	r0, r2, r5
	mul	r1, r4, r3
	add	ip, r0, r1
	umull	r0, r1, r4, r2
	add	r3, ip, r1
	mov	r1, r3
	ldr	r3, [fp, #4]
	mov	r4, r3
	asr	r5, r4, #31
	mul	r2, r4, r1
	mul	r3, r0, r5
	add	ip, r2, r3
	umull	r2, r3, r0, r4
	add	r1, ip, r3
	mov	r3, r1
	ldr	r1, [fp, #-56]
	mov	r0, r1
	asr	r1, r0, #31
	mul	lr, r0, r3
	mul	ip, r2, r1
	add	ip, lr, ip
	umull	r4, r5, r2, r0
	add	r3, ip, r5
	mov	r5, r3
	adr	r3, .L130+8
	ldmia	r3, {r2-r3}
	cmp	r2, r4
	sbcs	r3, r3, r5
	bge	.L90
.L89:
	ldr	r3, .L130+44
	ldr	r0, [r3]
	ldr	r3, [fp, #-60]
	ldr	r2, [fp, #-56]
	ldr	r1, .L130+16
	bl	fprintf
	ldr	r0, .L130+20
	bl	puts
	ldr	r3, .L130+24
	mov	r2, #1
	str	r2, [r3]
	b	.L88
.L90:
	ldr	r3, [fp, #-60]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-52]
	ldr	r3, [fp, #-52]
	cmp	r3, #0
	bne	.L92
	ldr	r3, .L130+60
	mov	r2, #191
	ldr	r1, .L130+64
	ldr	r0, .L130+28
	bl	__assert_fail
.L92:
	mov	r3, #0
	str	r3, [fp, #-96]
	b	.L93
.L95:
	ldr	r0, [fp, #-56]
	ldr	r3, [fp, #-96]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-52]
	add	r4, r2, r3
	mov	r1, #4
	bl	calloc
	mov	r3, r0
	str	r3, [r4]
	ldr	r3, [fp, #-96]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L94
	ldr	r3, .L130+60
	mov	r2, #193
	ldr	r1, .L130+64
	ldr	r0, .L130+32
	bl	__assert_fail
.L94:
	ldr	r3, [fp, #-96]
	add	r3, r3, #1
	str	r3, [fp, #-96]
.L93:
	ldr	r2, [fp, #-96]
	ldr	r3, [fp, #-60]
	cmp	r2, r3
	blt	.L95
	mov	r3, #0
	str	r3, [fp, #-96]
	b	.L96
.L97:
	ldr	r3, [fp, #-96]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-96]
	add	r3, r3, #1
	str	r3, [fp, #-96]
.L96:
	ldr	r2, [fp, #-96]
	ldr	r3, [fp, #-60]
	cmp	r2, r3
	blt	.L97
	mov	r3, #1
	str	r3, [fp, #-92]
	b	.L98
.L99:
	ldr	r3, [fp, #-52]
	ldr	r2, [r3]
	ldr	r3, [fp, #-92]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-92]
	add	r3, r3, #1
	str	r3, [fp, #-92]
.L98:
	ldr	r2, [fp, #-92]
	ldr	r3, [fp, #-56]
	cmp	r2, r3
	blt	.L99
	ldr	r1, [fp, #-104]
	ldr	r3, [fp, #-100]
	ldr	r2, [fp, #-56]
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, r1
	ldr	r2, [fp, #4]
	ldr	r1, [fp, #-124]
	ldr	r0, [fp, #-112]
	bl	calcRangeScores
	str	r0, [fp, #-48]
	mov	r3, #0
	str	r3, [fp, #-64]
	ldr	r3, [fp, #-56]
	sub	r3, r3, #1
	ldr	r2, [fp, #-60]
	sub	r2, r2, #1
	mul	r3, r2, r3
	str	r3, [fp, #-44]
	mov	r3, #1
	str	r3, [fp, #-96]
	b	.L100
.L111:
	mov	r3, #1
	str	r3, [fp, #-92]
	b	.L101
.L110:
	mvn	r3, #0
	str	r3, [fp, #-68]
	mov	r3, #0
	str	r3, [fp, #-88]
	b	.L102
.L107:
	ldr	r2, [fp, #-92]
	ldr	r3, [fp, #-88]
	asr	r3, r2, r3
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L103
	mov	r2, #1
	ldr	r3, [fp, #-88]
	lsl	r3, r2, r3
	ldr	r2, [fp, #-92]
	sub	r3, r2, r3
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-88]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-96]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-84]
	b	.L104
.L131:
	.align	3
.L130:
	.word	100000000
	.word	0
	.word	1410065408
	.word	2
	.word	.LC22
	.word	.LC23
	.word	failed
	.word	.LC24
	.word	.LC25
	.word	351843721
	.word	100000
	.word	stderr
	.word	.LC26
	.word	.LC27
	.word	.LC28
	.word	__PRETTY_FUNCTION__.5294
	.word	.LC7
	.word	.LC29
	.word	.LC30
.L106:
	ldr	r2, [fp, #-100]
	ldr	r3, [fp, #-84]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r1, [fp, #-104]
	ldr	r3, [fp, #-96]
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3]
	cmp	r2, r3
	bge	.L105
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-84]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	str	r3, [fp, #-24]
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-68]
	cmp	r2, r3
	ble	.L105
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-68]
.L105:
	ldr	r3, [fp, #-84]
	add	r3, r3, #1
	str	r3, [fp, #-84]
.L104:
	ldr	r2, [fp, #-84]
	ldr	r3, [fp, #-56]
	cmp	r2, r3
	blt	.L106
.L103:
	ldr	r3, [fp, #-88]
	add	r3, r3, #1
	str	r3, [fp, #-88]
.L102:
	ldr	r2, [fp, #-88]
	ldr	r3, [fp, #4]
	cmp	r2, r3
	blt	.L107
	ldr	r3, [fp, #-92]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-96]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [fp, #-68]
	str	r2, [r3]
	ldr	r3, [fp, #-92]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-96]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-80]
	cmp	r2, r3
	bge	.L108
	ldr	r3, [fp, #-92]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-96]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-80]
	ldr	r3, [fp, #-92]
	str	r3, [fp, #-76]
	ldr	r3, [fp, #-96]
	str	r3, [fp, #-72]
.L108:
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
	ldr	r2, [fp, #-64]
	ldr	r3, .L130+36
	smull	r1, r3, r2, r3
	asr	r1, r3, #13
	asr	r3, r2, #31
	sub	r3, r1, r3
	ldr	r1, .L130+40
	mul	r3, r1, r3
	sub	r3, r2, r3
	cmp	r3, #0
	bne	.L109
	ldr	r3, .L130+44
	ldr	r0, [r3]
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-64]
	ldr	r1, .L130+48
	bl	fprintf
.L109:
	ldr	r3, [fp, #-92]
	add	r3, r3, #1
	str	r3, [fp, #-92]
.L101:
	ldr	r2, [fp, #-92]
	ldr	r3, [fp, #-60]
	cmp	r2, r3
	blt	.L110
	ldr	r3, [fp, #-96]
	add	r3, r3, #1
	str	r3, [fp, #-96]
.L100:
	ldr	r2, [fp, #-96]
	ldr	r3, [fp, #-56]
	cmp	r2, r3
	blt	.L111
	mov	r3, #0
	str	r3, [fp, #-84]
	ldr	r3, [fp, #4]
	mov	r1, #4
	mov	r0, r3
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	bne	.L112
	ldr	r3, .L130+60
	mov	r2, #240
	ldr	r1, .L130+64
	ldr	r0, .L130+52
	bl	__assert_fail
.L112:
	ldr	r3, [fp, #4]
	mov	r1, #4
	mov	r0, r3
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	bne	.L113
	ldr	r3, .L130+60
	mov	r2, #241
	ldr	r1, .L130+64
	ldr	r0, .L130+56
	bl	__assert_fail
.L113:
	ldr	r3, [fp, #4]
	mov	r1, #4
	mov	r0, r3
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	bne	.L115
	ldr	r3, .L130+60
	mov	r2, #242
	ldr	r1, .L130+64
	ldr	r0, .L130+68
	bl	__assert_fail
.L122:
	mov	r3, #1
	str	r3, [fp, #-88]
	mov	r3, #0
	str	r3, [fp, #-96]
	b	.L116
.L121:
	ldr	r2, [fp, #-76]
	ldr	r3, [fp, #-96]
	asr	r3, r2, r3
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L117
	mov	r2, #1
	ldr	r3, [fp, #-96]
	lsl	r3, r2, r3
	ldr	r2, [fp, #-76]
	sub	r3, r2, r3
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-92]
	b	.L118
.L120:
	ldr	r2, [fp, #-100]
	ldr	r3, [fp, #-92]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r1, [fp, #-104]
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3]
	cmp	r2, r3
	bge	.L119
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-92]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-96]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-48]
	add	r3, r1, r3
	ldr	r1, [r3]
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3]
	add	r3, r2, r3
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	bne	.L119
	ldr	r3, [fp, #-96]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-124]
	add	r2, r2, r3
	ldr	r3, [fp, #-84]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-40]
	add	r3, r1, r3
	ldr	r2, [r2]
	str	r2, [r3]
	ldr	r3, [fp, #-84]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	ldr	r2, [fp, #-72]
	str	r2, [r3]
	ldr	r3, [fp, #-96]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #2
	add	r2, r2, r3
	ldr	r3, [fp, #-84]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-32]
	add	r3, r1, r3
	ldr	r2, [r2]
	str	r2, [r3]
	ldr	r3, [fp, #-84]
	add	r3, r3, #1
	str	r3, [fp, #-84]
	ldr	r3, [fp, #-28]
	str	r3, [fp, #-76]
	ldr	r3, [fp, #-92]
	str	r3, [fp, #-72]
	mov	r3, #0
	str	r3, [fp, #-88]
.L119:
	ldr	r3, [fp, #-92]
	add	r3, r3, #1
	str	r3, [fp, #-92]
.L118:
	ldr	r3, [fp, #-88]
	cmp	r3, #0
	beq	.L117
	ldr	r2, [fp, #-92]
	ldr	r3, [fp, #-56]
	cmp	r2, r3
	blt	.L120
.L117:
	ldr	r3, [fp, #-96]
	add	r3, r3, #1
	str	r3, [fp, #-96]
.L116:
	ldr	r3, [fp, #-88]
	cmp	r3, #0
	beq	.L115
	ldr	r2, [fp, #-96]
	ldr	r3, [fp, #4]
	cmp	r2, r3
	blt	.L121
.L115:
	ldr	r3, [fp, #-76]
	cmp	r3, #0
	bne	.L122
	ldr	r3, [fp, #-84]
	sub	r3, r3, #1
	str	r3, [fp, #-96]
	b	.L123
.L124:
	ldr	r3, [fp, #-96]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-40]
	add	r2, r2, r3
	ldr	r3, [fp, #-136]
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-132]
	add	r3, r1, r3
	ldr	r3, [r3]
	ldr	r2, [r2]
	str	r2, [r3]
	ldr	r2, [fp, #-104]
	ldr	r3, [fp, #-96]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-36]
	add	r3, r1, r3
	ldr	r3, [r3]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-128]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-136]
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-132]
	add	r3, r1, r3
	ldr	r3, [r3]
	add	r3, r3, #4
	ldr	r2, [r2]
	str	r2, [r3]
	ldr	r2, [fp, #-100]
	ldr	r3, [fp, #-96]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-36]
	add	r3, r1, r3
	ldr	r3, [r3]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-128]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-136]
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-132]
	add	r3, r1, r3
	ldr	r3, [r3]
	add	r3, r3, #8
	ldr	r2, [r2, #4]
	str	r2, [r3]
	ldr	r3, [fp, #-96]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-32]
	add	r2, r2, r3
	ldr	r3, [fp, #-136]
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-132]
	add	r3, r1, r3
	ldr	r3, [r3]
	add	r3, r3, #12
	ldr	r2, [r2]
	str	r2, [r3]
	ldr	r3, [fp, #-136]
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r3, [fp, #-136]
	str	r2, [r3]
	ldr	r3, [fp, #-96]
	sub	r3, r3, #1
	str	r3, [fp, #-96]
.L123:
	ldr	r3, [fp, #-96]
	cmp	r3, #0
	bge	.L124
	mov	r3, #0
	str	r3, [fp, #-96]
	b	.L125
.L126:
	ldr	r3, [fp, #-96]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-96]
	add	r3, r3, #1
	str	r3, [fp, #-96]
.L125:
	ldr	r2, [fp, #-96]
	ldr	r3, [fp, #4]
	cmp	r2, r3
	blt	.L126
	ldr	r0, [fp, #-48]
	bl	free
	mov	r3, #0
	str	r3, [fp, #-96]
	b	.L127
.L128:
	ldr	r3, [fp, #-96]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-96]
	add	r3, r3, #1
	str	r3, [fp, #-96]
.L127:
	ldr	r2, [fp, #-96]
	ldr	r3, [fp, #-60]
	cmp	r2, r3
	blt	.L128
	ldr	r0, [fp, #-52]
	bl	free
	ldr	r3, [fp, #-104]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-100]
	mov	r0, r3
	bl	free
	ldr	r0, [fp, #-40]
	bl	free
	ldr	r0, [fp, #-36]
	bl	free
	ldr	r0, [fp, #-32]
	bl	free
.L88:
	ldr	r3, .L130+72
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L129
	bl	__stack_chk_fail
.L129:
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
	.size	solveOrder, .-solveOrder
	.align	2
	.global	compFn
	.syntax unified
	.arm
	.fpu softvfp
	.type	compFn, %function
compFn:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	add	r3, r3, #4
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	add	r3, r3, #4
	ldr	r3, [r3]
	sub	r3, r2, r3
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	compFn, .-compFn
	.section	.rodata
	.align	2
.LC31:
	.ascii	"columns\000"
	.align	2
.LC32:
	.ascii	"results\000"
	.align	2
.LC33:
	.ascii	"results[i]\000"
	.align	2
.LC34:
	.ascii	"%d --> (%d %d) %d\012\000"
	.align	2
.LC35:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	findGroups
	.syntax unified
	.arm
	.fpu softvfp
	.type	findGroups, %function
findGroups:
	@ args = 4, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #76
	str	r0, [fp, #-48]
	str	r1, [fp, #-52]
	str	r2, [fp, #-56]
	str	r3, [fp, #-60]
	ldr	r3, [fp, #4]
	str	r3, [fp, #-64]
	ldr	r3, .L154
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-44]
	ldr	r2, [fp, #-56]
	ldr	r1, [fp, #-48]
	ldr	r0, [fp, #-60]
	bl	getLabels
	str	r0, [fp, #-28]
	ldr	r3, [fp, #-48]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L135
	ldr	r3, .L154+4
	ldr	r2, .L154+8
	ldr	r1, .L154+12
	ldr	r0, .L154+16
	bl	__assert_fail
.L135:
	ldr	r3, [fp, #-48]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L136
	ldr	r3, .L154+4
	ldr	r2, .L154+20
	ldr	r1, .L154+12
	ldr	r0, .L154+24
	bl	__assert_fail
.L136:
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L137
.L139:
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r4, r2, r3
	mov	r1, #4
	mov	r0, #4
	bl	calloc
	mov	r3, r0
	str	r3, [r4]
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L138
	ldr	r3, .L154+4
	ldr	r2, .L154+28
	ldr	r1, .L154+12
	ldr	r0, .L154+32
	bl	__assert_fail
.L138:
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L137:
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-48]
	cmp	r2, r3
	blt	.L139
	mov	r3, #0
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-36]
	str	r3, [fp, #-40]
	b	.L140
.L146:
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L141
.L143:
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-40]
	cmp	r2, r3
	bne	.L142
	ldr	r3, [fp, #-36]
	add	r2, r3, #1
	str	r2, [fp, #-36]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r2, [fp, #-32]
	str	r2, [r3]
.L142:
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L141:
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-48]
	cmp	r2, r3
	blt	.L143
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	beq	.L153
	sub	r3, fp, #44
	str	r3, [sp, #12]
	ldr	r3, [fp, #-20]
	str	r3, [sp, #8]
	ldr	r3, [fp, #-64]
	str	r3, [sp, #4]
	ldr	r3, [fp, #-36]
	str	r3, [sp]
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-56]
	ldr	r1, [fp, #-48]
	ldr	r0, [fp, #-60]
	bl	solveOrder
	mov	r3, #0
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L140:
	ldr	r3, .L154+36
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L146
	b	.L145
.L153:
	nop
.L145:
	ldr	r3, .L154+36
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L147
	ldr	r3, [fp, #-44]
	mov	r1, r3
	ldr	r3, .L154+40
	mov	r2, #4
	ldr	r0, [fp, #-20]
	bl	qsort
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L148
.L149:
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, [r3]
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r3]
	add	r3, r3, #4
	ldr	r0, [r3]
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r3]
	add	r3, r3, #8
	ldr	ip, [r3]
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r3]
	add	r3, r3, #12
	ldr	r3, [r3]
	str	r3, [sp]
	mov	r3, ip
	mov	r2, r0
	ldr	r0, .L154+44
	bl	printf
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L148:
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	blt	.L149
.L147:
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L150
.L151:
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L150:
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-48]
	cmp	r2, r3
	blt	.L151
	ldr	r0, [fp, #-20]
	bl	free
	ldr	r0, [fp, #-28]
	bl	free
	ldr	r0, [fp, #-24]
	bl	free
	nop
	ldr	r3, .L154
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L152
	bl	__stack_chk_fail
.L152:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L155:
	.align	2
.L154:
	.word	.LC35
	.word	__PRETTY_FUNCTION__.5352
	.word	294
	.word	.LC7
	.word	.LC31
	.word	295
	.word	.LC32
	.word	297
	.word	.LC33
	.word	failed
	.word	compFn
	.word	.LC34
	.size	findGroups, .-findGroups
	.section	.rodata
	.align	2
.LC36:
	.ascii	"Usage:\012contigorder rangefile\012\000"
	.align	2
.LC37:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	ldr	r3, .L162
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-40]
	cmp	r3, #2
	beq	.L157
	ldr	r3, .L162+4
	ldr	r3, [r3]
	mov	r2, #29
	mov	r1, #1
	ldr	r0, .L162+8
	bl	fwrite
	mov	r0, #1
	bl	exit
.L157:
	ldr	r3, [fp, #-44]
	add	r3, r3, #4
	ldr	r0, [r3]
	sub	r3, fp, #24
	sub	r2, fp, #28
	sub	r1, fp, #32
	bl	getFileInfo
	ldr	r3, [fp, #-44]
	add	r3, r3, #4
	ldr	r0, [r3]
	ldr	r1, [fp, #-32]
	ldr	r2, [fp, #-28]
	ldr	ip, [fp, #-24]
	sub	r3, fp, #16
	str	r3, [sp, #4]
	sub	r3, fp, #20
	str	r3, [sp]
	mov	r3, ip
	bl	getScores
	ldr	r0, [fp, #-32]
	ldr	r1, [fp, #-28]
	ldr	r2, [fp, #-24]
	ldr	ip, [fp, #-20]
	ldr	r3, [fp, #-16]
	str	r3, [sp]
	mov	r3, ip
	bl	findGroups
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L158
.L159:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L158:
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	blt	.L159
	ldr	r3, [fp, #-20]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-16]
	mov	r0, r3
	bl	free
	mov	r3, #0
	ldr	r2, .L162
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L161
	bl	__stack_chk_fail
.L161:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L163:
	.align	2
.L162:
	.word	.LC37
	.word	stderr
	.word	.LC36
	.size	main, .-main
	.section	.rodata
	.align	2
	.type	__PRETTY_FUNCTION__.5159, %object
	.size	__PRETTY_FUNCTION__.5159, 10
__PRETTY_FUNCTION__.5159:
	.ascii	"getScores\000"
	.align	2
	.type	__PRETTY_FUNCTION__.5194, %object
	.size	__PRETTY_FUNCTION__.5194, 10
__PRETTY_FUNCTION__.5194:
	.ascii	"getLabels\000"
	.align	2
	.type	__PRETTY_FUNCTION__.5229, %object
	.size	__PRETTY_FUNCTION__.5229, 11
__PRETTY_FUNCTION__.5229:
	.ascii	"makeRanges\000"
	.align	2
	.type	__PRETTY_FUNCTION__.5251, %object
	.size	__PRETTY_FUNCTION__.5251, 16
__PRETTY_FUNCTION__.5251:
	.ascii	"calcRangeScores\000"
	.align	2
	.type	__PRETTY_FUNCTION__.5294, %object
	.size	__PRETTY_FUNCTION__.5294, 11
__PRETTY_FUNCTION__.5294:
	.ascii	"solveOrder\000"
	.align	2
	.type	__PRETTY_FUNCTION__.5352, %object
	.size	__PRETTY_FUNCTION__.5352, 11
__PRETTY_FUNCTION__.5352:
	.ascii	"findGroups\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
