	.file	"27846.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"the_stack_data/27846.c"
.LC1:
	.string	"c != NULL"
.LC2:
	.string	"cap >= 0"
	.text
	.globl	init_cluster
	.type	init_cluster, @function
init_cluster:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	DWORD PTR -12[rbp], esi
	cmp	QWORD PTR -8[rbp], 0
	jne	.L2
	lea	rcx, __PRETTY_FUNCTION__.7[rip]
	mov	edx, 84
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	__assert_fail@PLT
.L2:
	cmp	DWORD PTR -12[rbp], 0
	jns	.L3
	lea	rcx, __PRETTY_FUNCTION__.7[rip]
	mov	edx, 85
	lea	rsi, .LC0[rip]
	lea	rdi, .LC2[rip]
	call	__assert_fail@PLT
.L3:
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR -12[rbp]
	mov	DWORD PTR 4[rax], edx
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdi, rax
	call	malloc@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	jne	.L5
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR 4[rax], 0
.L5:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	init_cluster, .-init_cluster
	.globl	clear_cluster
	.type	clear_cluster, @function
clear_cluster:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR [rax], 0
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	clear_cluster, .-clear_cluster
	.globl	CLUSTER_CHUNK
	.section	.rodata
	.align 4
	.type	CLUSTER_CHUNK, @object
	.size	CLUSTER_CHUNK, 4
CLUSTER_CHUNK:
	.long	10
.LC3:
	.string	"c"
.LC4:
	.string	"c->capacity >= 0"
.LC5:
	.string	"new_cap >= 0"
	.text
	.globl	resize_cluster
	.type	resize_cluster, @function
resize_cluster:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	cmp	QWORD PTR -24[rbp], 0
	jne	.L8
	lea	rcx, __PRETTY_FUNCTION__.6[rip]
	mov	edx, 113
	lea	rsi, .LC0[rip]
	lea	rdi, .LC3[rip]
	call	__assert_fail@PLT
.L8:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 4[rax]
	test	eax, eax
	jns	.L9
	lea	rcx, __PRETTY_FUNCTION__.6[rip]
	mov	edx, 114
	lea	rsi, .LC0[rip]
	lea	rdi, .LC4[rip]
	call	__assert_fail@PLT
.L9:
	cmp	DWORD PTR -28[rbp], 0
	jns	.L10
	lea	rcx, __PRETTY_FUNCTION__.6[rip]
	mov	edx, 115
	lea	rsi, .LC0[rip]
	lea	rdi, .LC5[rip]
	call	__assert_fail@PLT
.L10:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 4[rax]
	cmp	DWORD PTR -28[rbp], eax
	jg	.L11
	mov	rax, QWORD PTR -24[rbp]
	jmp	.L12
.L11:
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdx, QWORD PTR -16[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	realloc@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L13
	mov	eax, 0
	jmp	.L12
.L13:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR -28[rbp]
	mov	DWORD PTR 4[rax], edx
	mov	rax, QWORD PTR -24[rbp]
.L12:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	resize_cluster, .-resize_cluster
	.globl	append_cluster
	.type	append_cluster, @function
append_cluster:
.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, 32
	mov	QWORD PTR -8[rbp], rdi
	mov	rdx, rsi
	movd	eax, xmm0
	mov	QWORD PTR -24[rbp], rdx
	mov	DWORD PTR -16[rbp], eax
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR 4[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	edx, eax
	jg	.L15
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	edx, 10
	add	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	resize_cluster
	mov	QWORD PTR -8[rbp], rax
.L15:
	cmp	QWORD PTR -8[rbp], 0
	je	.L17
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR [rax], rdx
	mov	edx, DWORD PTR -16[rbp]
	mov	DWORD PTR 8[rax], edx
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR [rax], edx
.L17:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	append_cluster, .-append_cluster
	.section	.rodata
.LC6:
	.string	"c1 != NULL"
.LC7:
	.string	"c2 != NULL"
	.text
	.globl	merge_clusters
	.type	merge_clusters, @function
merge_clusters:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	cmp	QWORD PTR -24[rbp], 0
	jne	.L19
	lea	rcx, __PRETTY_FUNCTION__.5[rip]
	mov	edx, 159
	lea	rsi, .LC0[rip]
	lea	rdi, .LC6[rip]
	call	__assert_fail@PLT
.L19:
	cmp	QWORD PTR -32[rbp], 0
	jne	.L20
	lea	rcx, __PRETTY_FUNCTION__.5[rip]
	mov	edx, 160
	lea	rsi, .LC0[rip]
	lea	rdi, .LC7[rip]
	call	__assert_fail@PLT
.L20:
	mov	DWORD PTR -4[rbp], 0
	jmp	.L21
.L22:
	mov	rax, QWORD PTR -32[rbp]
	mov	rcx, QWORD PTR 8[rax]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	mov	rcx, QWORD PTR [rax]
	mov	edx, DWORD PTR 8[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rcx
	movd	xmm0, edx
	mov	rdi, rax
	call	append_cluster
	add	DWORD PTR -4[rbp], 1
.L21:
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -4[rbp], eax
	jl	.L22
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	sort_cluster
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	merge_clusters, .-merge_clusters
	.section	.rodata
.LC8:
	.string	"idx < narr"
.LC9:
	.string	"narr > 0"
	.text
	.globl	remove_cluster
	.type	remove_cluster, @function
remove_cluster:
.LFB11:
	.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	DWORD PTR -12[rbp], esi
	mov	DWORD PTR -16[rbp], edx
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, DWORD PTR -12[rbp]
	jl	.L24
	lea	rcx, __PRETTY_FUNCTION__.4[rip]
	mov	edx, 181
	lea	rsi, .LC0[rip]
	lea	rdi, .LC8[rip]
	call	__assert_fail@PLT
.L24:
	cmp	DWORD PTR -12[rbp], 0
	jg	.L25
	lea	rcx, __PRETTY_FUNCTION__.4[rip]
	mov	edx, 182
	lea	rsi, .LC0[rip]
	lea	rdi, .LC9[rip]
	call	__assert_fail@PLT
.L25:
	mov	eax, DWORD PTR -12[rbp]
	sub	eax, 1
	cmp	DWORD PTR -16[rbp], eax
	jne	.L26
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	rdi, rax
	call	clear_cluster
	jmp	.L27
.L26:
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	rdi, rax
	call	clear_cluster
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	esi, 1
	mov	rdi, rax
	call	init_cluster
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	sal	rax, 4
	lea	rdx, -16[rax]
	mov	rax, QWORD PTR -8[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	sal	rax, 4
	mov	rcx, rax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rcx
	mov	rsi, rdx
	mov	rdi, rax
	call	merge_clusters
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	sal	rax, 4
	lea	rdx, -16[rax]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	rdi, rax
	call	clear_cluster
.L27:
	mov	eax, DWORD PTR -12[rbp]
	sub	eax, 1
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	remove_cluster, .-remove_cluster
	.section	.rodata
.LC10:
	.string	"o1 != NULL"
.LC11:
	.string	"o2 != NULL"
	.text
	.globl	obj_distance
	.type	obj_distance, @function
obj_distance:
.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, 32
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	cmp	QWORD PTR -8[rbp], 0
	jne	.L30
	lea	rcx, __PRETTY_FUNCTION__.3[rip]
	mov	edx, 209
	lea	rsi, .LC0[rip]
	lea	rdi, .LC10[rip]
	call	__assert_fail@PLT
.L30:
	cmp	QWORD PTR -16[rbp], 0
	jne	.L31
	lea	rcx, __PRETTY_FUNCTION__.3[rip]
	mov	edx, 210
	lea	rsi, .LC0[rip]
	lea	rdi, .LC11[rip]
	call	__assert_fail@PLT
.L31:
	mov	rax, QWORD PTR -16[rbp]
	movss	xmm0, DWORD PTR 4[rax]
	mov	rax, QWORD PTR -8[rbp]
	movss	xmm1, DWORD PTR 4[rax]
	subss	xmm0, xmm1
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, xmm0
	movq	rax, xmm2
	movsd	xmm0, QWORD PTR .LC12[rip]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	pow@PLT
	movsd	QWORD PTR -24[rbp], xmm0
	mov	rax, QWORD PTR -16[rbp]
	movss	xmm0, DWORD PTR 8[rax]
	mov	rax, QWORD PTR -8[rbp]
	movss	xmm1, DWORD PTR 8[rax]
	subss	xmm0, xmm1
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, xmm0
	movq	rax, xmm3
	movsd	xmm0, QWORD PTR .LC12[rip]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	pow@PLT
	addsd	xmm0, QWORD PTR -24[rbp]
	pxor	xmm5, xmm5
	cvtsd2ss	xmm5, xmm0
	movd	eax, xmm5
	movd	xmm0, eax
	call	sqrtf@PLT
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	obj_distance, .-obj_distance
	.section	.rodata
.LC13:
	.string	"c1->size > 0"
.LC14:
	.string	"c2->size > 0"
	.text
	.globl	cluster_distance
	.type	cluster_distance, @function
cluster_distance:
.LFB13:
	.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
	mov	QWORD PTR -32[rbp], rsi
	cmp	QWORD PTR -24[rbp], 0
	jne	.L34
	lea	rcx, __PRETTY_FUNCTION__.2[rip]
	mov	edx, 221
	lea	rsi, .LC0[rip]
	lea	rdi, .LC6[rip]
	call	__assert_fail@PLT
.L34:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jg	.L35
	lea	rcx, __PRETTY_FUNCTION__.2[rip]
	mov	edx, 222
	lea	rsi, .LC0[rip]
	lea	rdi, .LC13[rip]
	call	__assert_fail@PLT
.L35:
	cmp	QWORD PTR -32[rbp], 0
	jne	.L36
	lea	rcx, __PRETTY_FUNCTION__.2[rip]
	mov	edx, 223
	lea	rsi, .LC0[rip]
	lea	rdi, .LC7[rip]
	call	__assert_fail@PLT
.L36:
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jg	.L37
	lea	rcx, __PRETTY_FUNCTION__.2[rip]
	mov	edx, 224
	lea	rsi, .LC0[rip]
	lea	rdi, .LC14[rip]
	call	__assert_fail@PLT
.L37:
	pxor	xmm0, xmm0
	movss	DWORD PTR -16[rbp], xmm0
	mov	DWORD PTR -12[rbp], 0
	jmp	.L38
.L43:
	mov	DWORD PTR -8[rbp], 0
	jmp	.L39
.L42:
	mov	rax, QWORD PTR -32[rbp]
	mov	rcx, QWORD PTR 8[rax]
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	lea	rdx, [rcx+rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, QWORD PTR 8[rax]
	mov	eax, DWORD PTR -12[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 2
	add	rax, rsi
	mov	rsi, rdx
	mov	rdi, rax
	call	obj_distance
	movd	eax, xmm0
	mov	DWORD PTR -4[rbp], eax
	movss	xmm0, DWORD PTR -4[rbp]
	comiss	xmm0, DWORD PTR -16[rbp]
	jb	.L40
	movss	xmm0, DWORD PTR -4[rbp]
	movss	DWORD PTR -16[rbp], xmm0
.L40:
	add	DWORD PTR -8[rbp], 1
.L39:
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -8[rbp], eax
	jl	.L42
	add	DWORD PTR -12[rbp], 1
.L38:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -12[rbp], eax
	jl	.L43
	movss	xmm0, DWORD PTR -16[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	cluster_distance, .-cluster_distance
	.globl	find_neighbour
	.type	find_neighbour, @function
find_neighbour:
.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, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	QWORD PTR -40[rbp], rdx
	mov	QWORD PTR -48[rbp], rcx
	cmp	DWORD PTR -28[rbp], 0
	jg	.L47
	lea	rcx, __PRETTY_FUNCTION__.1[rip]
	mov	edx, 255
	lea	rsi, .LC0[rip]
	lea	rdi, .LC9[rip]
	call	__assert_fail@PLT
.L47:
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 16[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	cluster_distance
	movd	eax, xmm0
	mov	DWORD PTR -8[rbp], eax
	mov	rax, QWORD PTR -40[rbp]
	mov	DWORD PTR [rax], 0
	mov	rax, QWORD PTR -48[rbp]
	mov	DWORD PTR [rax], 1
	mov	DWORD PTR -16[rbp], 0
	jmp	.L48
.L53:
	mov	eax, DWORD PTR -16[rbp]
	add	eax, 1
	mov	DWORD PTR -12[rbp], eax
	jmp	.L49
.L52:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	sal	rax, 4
	mov	rcx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rcx
	mov	rsi, rdx
	mov	rdi, rax
	call	cluster_distance
	movd	eax, xmm0
	mov	DWORD PTR -4[rbp], eax
	movss	xmm0, DWORD PTR -8[rbp]
	comiss	xmm0, DWORD PTR -4[rbp]
	jbe	.L50
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR -16[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -48[rbp]
	mov	edx, DWORD PTR -12[rbp]
	mov	DWORD PTR [rax], edx
	movss	xmm0, DWORD PTR -4[rbp]
	movss	DWORD PTR -8[rbp], xmm0
.L50:
	add	DWORD PTR -12[rbp], 1
.L49:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L52
	add	DWORD PTR -16[rbp], 1
.L48:
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L53
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	find_neighbour, .-find_neighbour
	.type	obj_sort_compar, @function
obj_sort_compar:
.LFB15:
	.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	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	edx, eax
	jge	.L56
	mov	eax, -1
	jmp	.L57
.L56:
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	edx, eax
	jle	.L58
	mov	eax, 1
	jmp	.L57
.L58:
	mov	eax, 0
.L57:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	obj_sort_compar, .-obj_sort_compar
	.globl	sort_cluster
	.type	sort_cluster, @function
sort_cluster:
.LFB16:
	.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	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	movsx	rsi, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	lea	rcx, obj_sort_compar[rip]
	mov	edx, 12
	mov	rdi, rax
	call	qsort@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	sort_cluster, .-sort_cluster
	.section	.rodata
.LC16:
	.string	"%d[%g,%g]"
	.text
	.globl	print_cluster
	.type	print_cluster, @function
print_cluster:
.LFB17:
	.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
	mov	DWORD PTR -4[rbp], 0
	jmp	.L61
.L63:
	cmp	DWORD PTR -4[rbp], 0
	je	.L62
	mov	edi, 32
	call	putchar@PLT
.L62:
	mov	rax, QWORD PTR -24[rbp]
	mov	rcx, QWORD PTR 8[rax]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	movss	xmm0, DWORD PTR 8[rax]
	cvtss2sd	xmm0, xmm0
	mov	rax, QWORD PTR -24[rbp]
	mov	rcx, QWORD PTR 8[rax]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	movss	xmm1, DWORD PTR 4[rax]
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, xmm1
	movq	rdx, xmm2
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, QWORD PTR 8[rax]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 2
	add	rax, rsi
	mov	eax, DWORD PTR [rax]
	movapd	xmm1, xmm0
	movq	xmm0, rdx
	mov	esi, eax
	lea	rdi, .LC16[rip]
	mov	eax, 2
	call	printf@PLT
	add	DWORD PTR -4[rbp], 1
.L61:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -4[rbp], eax
	jl	.L63
	mov	edi, 10
	call	putchar@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE17:
	.size	print_cluster, .-print_cluster
	.section	.rodata
.LC17:
	.string	"arr != NULL"
.LC18:
	.string	"r"
.LC19:
	.string	"count=%d"
.LC20:
	.string	"%f %f %f"
	.text
	.globl	load_clusters
	.type	load_clusters, @function
load_clusters:
.LFB18:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 104
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	QWORD PTR -136[rbp], rdi
	mov	QWORD PTR -144[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	rbx, rax
	cmp	QWORD PTR -144[rbp], 0
	jne	.L65
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 321
	lea	rsi, .LC0[rip]
	lea	rdi, .LC17[rip]
	call	__assert_fail@PLT
.L65:
	mov	DWORD PTR -100[rbp], 0
	mov	DWORD PTR -112[rbp], -2
	mov	rax, QWORD PTR -136[rbp]
	lea	rsi, .LC18[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -88[rbp], rax
	cmp	QWORD PTR -88[rbp], 0
	jne	.L66
	mov	rax, QWORD PTR -144[rbp]
	mov	QWORD PTR [rax], 0
	mov	eax, 0
	jmp	.L67
.L66:
	lea	rdx, -128[rbp]
	mov	rax, QWORD PTR -88[rbp]
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	eax, DWORD PTR -128[rbp]
	test	eax, eax
	jg	.L68
	mov	rax, QWORD PTR -144[rbp]
	mov	QWORD PTR [rax], 0
	mov	rax, QWORD PTR -88[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
	jmp	.L67
.L68:
	mov	eax, DWORD PTR -128[rbp]
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -80[rbp], rdx
	movsx	rdx, eax
	mov	r14, rdx
	mov	r15d, 0
	movsx	rdx, eax
	mov	r12, rdx
	mov	r13d, 0
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	esi, 16
	mov	edx, 0
	div	rsi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L69:
	cmp	rsp, rdx
	je	.L70
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L69
.L70:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L71
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L71:
	mov	rax, rsp
	add	rax, 3
	shr	rax, 2
	sal	rax, 2
	mov	QWORD PTR -72[rbp], rax
	mov	eax, DWORD PTR -128[rbp]
	cdqe
	sal	rax, 4
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -64[rbp], rax
	cmp	QWORD PTR -64[rbp], 0
	jne	.L72
	mov	rax, QWORD PTR -144[rbp]
	mov	QWORD PTR [rax], 0
	mov	rax, QWORD PTR -88[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, -1
	jmp	.L67
.L72:
	mov	rax, QWORD PTR -144[rbp]
	mov	rdx, QWORD PTR -64[rbp]
	mov	QWORD PTR [rax], rdx
	mov	DWORD PTR -108[rbp], 0
	jmp	.L73
.L88:
	mov	eax, DWORD PTR -108[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	esi, 1
	mov	rdi, rax
	call	init_cluster
	mov	eax, DWORD PTR -108[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	jne	.L74
	mov	rax, QWORD PTR -144[rbp]
	mov	QWORD PTR [rax], 0
	mov	rax, QWORD PTR -88[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	DWORD PTR -112[rbp], -1
	jmp	.L75
.L74:
	lea	rsi, -116[rbp]
	lea	rcx, -120[rbp]
	lea	rdx, -124[rbp]
	mov	rax, QWORD PTR -88[rbp]
	mov	r8, rsi
	lea	rsi, .LC20[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	cmp	eax, 3
	jne	.L96
	movss	xmm0, DWORD PTR -124[rbp]
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, xmm0
	movq	rax, xmm2
	movsd	xmm0, QWORD PTR .LC21[rip]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	fmod@PLT
	movq	rax, xmm0
	pxor	xmm0, xmm0
	movq	xmm3, rax
	ucomisd	xmm3, xmm0
	jp	.L75
	pxor	xmm0, xmm0
	movq	xmm4, rax
	comisd	xmm4, xmm0
	jne	.L75
	movss	xmm0, DWORD PTR -120[rbp]
	pxor	xmm5, xmm5
	cvtss2sd	xmm5, xmm0
	movq	rax, xmm5
	movsd	xmm0, QWORD PTR .LC21[rip]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	fmod@PLT
	movq	rax, xmm0
	pxor	xmm0, xmm0
	movq	xmm6, rax
	ucomisd	xmm6, xmm0
	jp	.L75
	pxor	xmm0, xmm0
	movq	xmm7, rax
	comisd	xmm7, xmm0
	jne	.L75
	movss	xmm0, DWORD PTR -116[rbp]
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, xmm0
	movq	rax, xmm2
	movsd	xmm0, QWORD PTR .LC21[rip]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	fmod@PLT
	movq	rax, xmm0
	pxor	xmm0, xmm0
	movq	xmm3, rax
	ucomisd	xmm3, xmm0
	jp	.L75
	pxor	xmm0, xmm0
	movq	xmm4, rax
	comisd	xmm4, xmm0
	jne	.L75
	movss	xmm1, DWORD PTR -120[rbp]
	pxor	xmm0, xmm0
	comiss	xmm0, xmm1
	ja	.L75
	movss	xmm0, DWORD PTR -120[rbp]
	comiss	xmm0, DWORD PTR .LC23[rip]
	ja	.L75
	movss	xmm1, DWORD PTR -116[rbp]
	pxor	xmm0, xmm0
	comiss	xmm0, xmm1
	ja	.L75
	movss	xmm0, DWORD PTR -116[rbp]
	comiss	xmm0, DWORD PTR .LC23[rip]
	ja	.L75
	movss	xmm0, DWORD PTR -124[rbp]
	comiss	xmm0, DWORD PTR .LC24[rip]
	ja	.L75
	movss	xmm0, DWORD PTR -124[rbp]
	cvttss2si	ecx, xmm0
	mov	rax, QWORD PTR -72[rbp]
	mov	edx, DWORD PTR -108[rbp]
	movsx	rdx, edx
	mov	DWORD PTR [rax+rdx*4], ecx
	mov	DWORD PTR -104[rbp], 0
	jmp	.L77
.L80:
	mov	rax, QWORD PTR -72[rbp]
	mov	edx, DWORD PTR -108[rbp]
	movsx	rdx, edx
	mov	ecx, DWORD PTR [rax+rdx*4]
	mov	rax, QWORD PTR -72[rbp]
	mov	edx, DWORD PTR -104[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*4]
	cmp	ecx, eax
	jne	.L78
	mov	DWORD PTR -112[rbp], 0
	jmp	.L79
.L78:
	add	DWORD PTR -104[rbp], 1
.L77:
	mov	eax, DWORD PTR -104[rbp]
	cmp	eax, DWORD PTR -108[rbp]
	jl	.L80
.L79:
	cmp	DWORD PTR -112[rbp], 0
	je	.L97
	jmp	.L82
.L85:
	cmp	DWORD PTR -92[rbp], -1
	je	.L98
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 1
	test	eax, eax
	jne	.L82
	mov	DWORD PTR -112[rbp], 0
	jmp	.L84
.L82:
	mov	rax, QWORD PTR -88[rbp]
	mov	rdi, rax
	call	getc@PLT
	mov	DWORD PTR -92[rbp], eax
	cmp	DWORD PTR -92[rbp], 10
	jne	.L85
	jmp	.L84
.L98:
	nop
.L84:
	cmp	DWORD PTR -112[rbp], 0
	je	.L99
	add	DWORD PTR -100[rbp], 1
	mov	eax, DWORD PTR -108[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	DWORD PTR [rax], 1
	movss	xmm0, DWORD PTR -124[rbp]
	mov	eax, DWORD PTR -108[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR 8[rax]
	cvttss2si	edx, xmm0
	mov	DWORD PTR [rax], edx
	mov	eax, DWORD PTR -108[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR 8[rax]
	movss	xmm0, DWORD PTR -120[rbp]
	movss	DWORD PTR 4[rax], xmm0
	mov	eax, DWORD PTR -108[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR 8[rax]
	movss	xmm0, DWORD PTR -116[rbp]
	movss	DWORD PTR 8[rax], xmm0
	add	DWORD PTR -108[rbp], 1
.L73:
	mov	eax, DWORD PTR -128[rbp]
	cmp	DWORD PTR -108[rbp], eax
	jl	.L88
	jmp	.L75
.L96:
	nop
	jmp	.L75
.L97:
	nop
	jmp	.L75
.L99:
	nop
.L75:
	mov	rax, QWORD PTR -88[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, DWORD PTR -128[rbp]
	cmp	DWORD PTR -100[rbp], eax
	je	.L89
	cmp	DWORD PTR -112[rbp], -1
	je	.L89
	mov	rax, QWORD PTR -144[rbp]
	mov	QWORD PTR [rax], 0
	mov	DWORD PTR -112[rbp], 0
.L89:
	cmp	DWORD PTR -112[rbp], -2
	je	.L90
	mov	eax, DWORD PTR -100[rbp]
	add	eax, 1
	mov	DWORD PTR -96[rbp], eax
	cmp	DWORD PTR -112[rbp], -1
	jne	.L91
	mov	eax, DWORD PTR -108[rbp]
	mov	DWORD PTR -96[rbp], eax
.L91:
	mov	DWORD PTR -104[rbp], 0
	jmp	.L92
.L93:
	mov	eax, DWORD PTR -104[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	rdi, rax
	call	clear_cluster
	add	DWORD PTR -104[rbp], 1
.L92:
	mov	eax, DWORD PTR -104[rbp]
	cmp	eax, DWORD PTR -96[rbp]
	jl	.L93
	mov	rax, QWORD PTR -64[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, DWORD PTR -112[rbp]
	jmp	.L67
.L90:
	mov	eax, DWORD PTR -128[rbp]
.L67:
	mov	rsp, rbx
	mov	rbx, QWORD PTR -56[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L95
	call	__stack_chk_fail@PLT
.L95:
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE18:
	.size	load_clusters, .-load_clusters
	.section	.rodata
.LC25:
	.string	"Clusters:"
.LC26:
	.string	"cluster %d: "
	.text
	.globl	print_clusters
	.type	print_clusters, @function
print_clusters:
.LFB19:
	.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
	mov	DWORD PTR -28[rbp], esi
	lea	rdi, .LC25[rip]
	call	puts@PLT
	mov	DWORD PTR -4[rbp], 0
	jmp	.L101
.L102:
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC26[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rdi, rax
	call	print_cluster
	add	DWORD PTR -4[rbp], 1
.L101:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L102
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE19:
	.size	print_clusters, .-print_clusters
	.section	.rodata
.LC27:
	.string	"Wrong value of argument!\n"
.LC28:
	.string	"Check file with input data!\n"
.LC29:
	.string	"Memory error!\n"
	.align 8
.LC30:
	.string	"Wrong value(s) of argument(s)!\n"
.LC31:
	.string	"Wrong number of arguments!\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB20:
	.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], 3
	je	.L104
	cmp	DWORD PTR -52[rbp], 2
	jne	.L105
.L104:
	mov	DWORD PTR -36[rbp], 1
	cmp	DWORD PTR -52[rbp], 3
	jne	.L106
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	lea	rcx, -16[rbp]
	mov	edx, 10
	mov	rsi, rcx
	mov	rdi, rax
	call	strtol@PLT
	mov	DWORD PTR -36[rbp], eax
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L107
	cmp	DWORD PTR -36[rbp], 0
	jg	.L106
.L107:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 25
	mov	esi, 1
	lea	rdi, .LC27[rip]
	call	fwrite@PLT
	mov	eax, 1
	jmp	.L120
.L106:
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rdx, -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	load_clusters
	mov	DWORD PTR -32[rbp], eax
	cmp	DWORD PTR -32[rbp], 0
	jne	.L109
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 28
	mov	esi, 1
	lea	rdi, .LC28[rip]
	call	fwrite@PLT
	mov	eax, 1
	jmp	.L120
.L109:
	cmp	DWORD PTR -32[rbp], -1
	jne	.L110
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 14
	mov	esi, 1
	lea	rdi, .LC29[rip]
	call	fwrite@PLT
	mov	eax, 1
	jmp	.L120
.L110:
	mov	eax, DWORD PTR -32[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	jne	.L111
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR -32[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	print_clusters
	jmp	.L112
.L111:
	mov	eax, DWORD PTR -32[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	jle	.L112
	jmp	.L113
.L114:
	mov	rax, QWORD PTR -24[rbp]
	lea	rcx, -40[rbp]
	lea	rdx, -44[rbp]
	mov	esi, DWORD PTR -32[rbp]
	mov	rdi, rax
	call	find_neighbour
	mov	rdx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	sal	rax, 4
	add	rdx, rax
	mov	rcx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	sal	rax, 4
	add	rax, rcx
	mov	rsi, rdx
	mov	rdi, rax
	call	merge_clusters
	mov	edx, DWORD PTR -40[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	ecx, DWORD PTR -32[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	remove_cluster
	mov	DWORD PTR -32[rbp], eax
.L113:
	mov	eax, DWORD PTR -32[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	jne	.L114
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR -32[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	print_clusters
.L112:
	mov	DWORD PTR -28[rbp], 0
	jmp	.L115
.L116:
	mov	rdx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	mov	rdi, rax
	call	clear_cluster
	add	DWORD PTR -28[rbp], 1
.L115:
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, DWORD PTR -32[rbp]
	jl	.L116
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, DWORD PTR -32[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	jge	.L122
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 31
	mov	esi, 1
	lea	rdi, .LC30[rip]
	call	fwrite@PLT
	mov	eax, 1
	jmp	.L120
.L105:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 27
	mov	esi, 1
	lea	rdi, .LC31[rip]
	call	fwrite@PLT
	mov	eax, 1
	jmp	.L120
.L122:
	nop
	mov	eax, 0
.L120:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L121
	call	__stack_chk_fail@PLT
.L121:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE20:
	.size	main, .-main
	.section	.rodata
	.align 8
	.type	__PRETTY_FUNCTION__.7, @object
	.size	__PRETTY_FUNCTION__.7, 13
__PRETTY_FUNCTION__.7:
	.string	"init_cluster"
	.align 8
	.type	__PRETTY_FUNCTION__.6, @object
	.size	__PRETTY_FUNCTION__.6, 15
__PRETTY_FUNCTION__.6:
	.string	"resize_cluster"
	.align 8
	.type	__PRETTY_FUNCTION__.5, @object
	.size	__PRETTY_FUNCTION__.5, 15
__PRETTY_FUNCTION__.5:
	.string	"merge_clusters"
	.align 8
	.type	__PRETTY_FUNCTION__.4, @object
	.size	__PRETTY_FUNCTION__.4, 15
__PRETTY_FUNCTION__.4:
	.string	"remove_cluster"
	.align 8
	.type	__PRETTY_FUNCTION__.3, @object
	.size	__PRETTY_FUNCTION__.3, 13
__PRETTY_FUNCTION__.3:
	.string	"obj_distance"
	.align 16
	.type	__PRETTY_FUNCTION__.2, @object
	.size	__PRETTY_FUNCTION__.2, 17
__PRETTY_FUNCTION__.2:
	.string	"cluster_distance"
	.align 8
	.type	__PRETTY_FUNCTION__.1, @object
	.size	__PRETTY_FUNCTION__.1, 15
__PRETTY_FUNCTION__.1:
	.string	"find_neighbour"
	.align 8
	.type	__PRETTY_FUNCTION__.0, @object
	.size	__PRETTY_FUNCTION__.0, 14
__PRETTY_FUNCTION__.0:
	.string	"load_clusters"
	.align 8
.LC12:
	.long	0
	.long	1073741824
	.align 8
.LC21:
	.long	0
	.long	1072693248
	.align 4
.LC23:
	.long	1148846080
	.align 4
.LC24:
	.long	1325400064
	.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	"27846.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"the_stack_data/27846.c\000"
	.align	2
.LC1:
	.ascii	"c != NULL\000"
	.align	2
.LC2:
	.ascii	"cap >= 0\000"
	.text
	.align	2
	.global	init_cluster
	.syntax unified
	.arm
	.fpu softvfp
	.type	init_cluster, %function
init_cluster:
	@ 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]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L2
	ldr	r3, .L6
	mov	r2, #84
	ldr	r1, .L6+4
	ldr	r0, .L6+8
	bl	__assert_fail
.L2:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bge	.L3
	ldr	r3, .L6
	mov	r2, #85
	ldr	r1, .L6+4
	ldr	r0, .L6+12
	bl	__assert_fail
.L3:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-12]
	str	r2, [r3, #4]
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-8]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	cmp	r3, #0
	bne	.L5
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #4]
.L5:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L7:
	.align	2
.L6:
	.word	__PRETTY_FUNCTION__.6291
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	init_cluster, .-init_cluster
	.align	2
	.global	clear_cluster
	.syntax unified
	.arm
	.fpu softvfp
	.type	clear_cluster, %function
clear_cluster:
	@ 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]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	clear_cluster, .-clear_cluster
	.global	CLUSTER_CHUNK
	.section	.rodata
	.align	2
	.type	CLUSTER_CHUNK, %object
	.size	CLUSTER_CHUNK, 4
CLUSTER_CHUNK:
	.word	10
	.align	2
.LC3:
	.ascii	"c\000"
	.align	2
.LC4:
	.ascii	"c->capacity >= 0\000"
	.align	2
.LC5:
	.ascii	"new_cap >= 0\000"
	.text
	.align	2
	.global	resize_cluster
	.syntax unified
	.arm
	.fpu softvfp
	.type	resize_cluster, %function
resize_cluster:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L10
	ldr	r3, .L16
	mov	r2, #113
	ldr	r1, .L16+4
	ldr	r0, .L16+8
	bl	__assert_fail
.L10:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bge	.L11
	ldr	r3, .L16
	mov	r2, #114
	ldr	r1, .L16+4
	ldr	r0, .L16+12
	bl	__assert_fail
.L11:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bge	.L12
	ldr	r3, .L16
	mov	r2, #115
	ldr	r1, .L16+4
	ldr	r0, .L16+16
	bl	__assert_fail
.L12:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	bgt	.L13
	ldr	r3, [fp, #-16]
	b	.L14
.L13:
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #8]
	ldr	r1, [fp, #-12]
	mov	r0, r3
	bl	realloc
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L15
	mov	r3, #0
	b	.L14
.L15:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-8]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-20]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-16]
.L14:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L17:
	.align	2
.L16:
	.word	__PRETTY_FUNCTION__.6300
	.word	.LC0
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.size	resize_cluster, .-resize_cluster
	.align	2
	.global	append_cluster
	.syntax unified
	.arm
	.fpu softvfp
	.type	append_cluster, %function
append_cluster:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-8]
	sub	r0, fp, #20
	stm	r0, {r1, r2, r3}
	ldr	r3, [fp, #-8]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	cmp	r2, r3
	bgt	.L19
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	mov	r2, #10
	add	r3, r3, r2
	mov	r1, r3
	ldr	r0, [fp, #-8]
	bl	resize_cluster
	str	r0, [fp, #-8]
.L19:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L21
	ldr	r3, [fp, #-8]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mov	r1, r3
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	ip, r3
	sub	r3, fp, #20
	ldm	r3, {r0, r1, r2}
	stm	ip, {r0, r1, r2}
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r3, [fp, #-8]
	str	r2, [r3]
.L21:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	append_cluster, .-append_cluster
	.section	.rodata
	.align	2
.LC6:
	.ascii	"c1 != NULL\000"
	.align	2
.LC7:
	.ascii	"c2 != NULL\000"
	.text
	.align	2
	.global	merge_clusters
	.syntax unified
	.arm
	.fpu softvfp
	.type	merge_clusters, %function
merge_clusters:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L23
	ldr	r3, .L27
	mov	r2, #159
	ldr	r1, .L27+4
	ldr	r0, .L27+8
	bl	__assert_fail
.L23:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L24
	ldr	r3, .L27
	mov	r2, #160
	ldr	r1, .L27+4
	ldr	r0, .L27+12
	bl	__assert_fail
.L24:
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L25
.L26:
	ldr	r3, [fp, #-20]
	ldr	r1, [r3, #8]
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldm	r3, {r1, r2, r3}
	ldr	r0, [fp, #-16]
	bl	append_cluster
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L25:
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L26
	ldr	r0, [fp, #-16]
	bl	sort_cluster
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L28:
	.align	2
.L27:
	.word	__PRETTY_FUNCTION__.6313
	.word	.LC0
	.word	.LC6
	.word	.LC7
	.size	merge_clusters, .-merge_clusters
	.section	.rodata
	.align	2
.LC8:
	.ascii	"idx < narr\000"
	.align	2
.LC9:
	.ascii	"narr > 0\000"
	.text
	.align	2
	.global	remove_cluster
	.syntax unified
	.arm
	.fpu softvfp
	.type	remove_cluster, %function
remove_cluster:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	blt	.L30
	ldr	r3, .L35
	mov	r2, #181
	ldr	r1, .L35+4
	ldr	r0, .L35+8
	bl	__assert_fail
.L30:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bgt	.L31
	ldr	r3, .L35
	mov	r2, #182
	ldr	r1, .L35+4
	ldr	r0, .L35+12
	bl	__assert_fail
.L31:
	ldr	r3, [fp, #-12]
	sub	r3, r3, #1
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bne	.L32
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	mov	r0, r3
	bl	clear_cluster
	b	.L33
.L32:
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	mov	r0, r3
	bl	clear_cluster
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	mov	r1, #1
	mov	r0, r3
	bl	init_cluster
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r0, r3, r2
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r3, r3, #12
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	mov	r1, r3
	bl	merge_clusters
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r3, r3, #12
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	mov	r0, r3
	bl	clear_cluster
.L33:
	ldr	r3, [fp, #-12]
	sub	r3, r3, #1
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L36:
	.align	2
.L35:
	.word	__PRETTY_FUNCTION__.6323
	.word	.LC0
	.word	.LC8
	.word	.LC9
	.size	remove_cluster, .-remove_cluster
	.section	.rodata
	.align	2
.LC10:
	.ascii	"o1 != NULL\000"
	.align	2
.LC11:
	.ascii	"o2 != NULL\000"
	.global	__aeabi_fsub
	.global	__aeabi_f2d
	.global	__aeabi_dadd
	.global	__aeabi_d2f
	.text
	.align	2
	.global	obj_distance
	.syntax unified
	.arm
	.fpu softvfp
	.type	obj_distance, %function
obj_distance:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #8
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L38
	ldr	r3, .L41
	mov	r2, #209
	ldr	r1, .L41+4
	ldr	r0, .L41+8
	bl	__assert_fail
.L38:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L39
	ldr	r3, .L41
	mov	r2, #210
	ldr	r1, .L41+4
	ldr	r0, .L41+12
	bl	__assert_fail
.L39:
	ldr	r3, [fp, #-20]
	ldr	r2, [r3, #4]	@ float
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, #0
	mov	r3, #1073741824
	bl	pow
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-20]
	ldr	r2, [r3, #8]	@ float
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #8]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, #0
	mov	r3, #1073741824
	bl	pow
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	mov	r0, r3
	bl	sqrtf
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L42:
	.align	2
.L41:
	.word	__PRETTY_FUNCTION__.6328
	.word	.LC0
	.word	.LC10
	.word	.LC11
	.size	obj_distance, .-obj_distance
	.section	.rodata
	.align	2
.LC12:
	.ascii	"c1->size > 0\000"
	.align	2
.LC13:
	.ascii	"c2->size > 0\000"
	.global	__aeabi_fcmpge
	.text
	.align	2
	.global	cluster_distance
	.syntax unified
	.arm
	.fpu softvfp
	.type	cluster_distance, %function
cluster_distance:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L44
	ldr	r3, .L56
	mov	r2, #221
	ldr	r1, .L56+4
	ldr	r0, .L56+8
	bl	__assert_fail
.L44:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	cmp	r3, #0
	bgt	.L45
	ldr	r3, .L56
	mov	r2, #222
	ldr	r1, .L56+4
	ldr	r0, .L56+12
	bl	__assert_fail
.L45:
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L46
	ldr	r3, .L56
	mov	r2, #223
	ldr	r1, .L56+4
	ldr	r0, .L56+16
	bl	__assert_fail
.L46:
	ldr	r3, [fp, #-28]
	ldr	r3, [r3]
	cmp	r3, #0
	bgt	.L47
	ldr	r3, .L56
	mov	r2, #224
	ldr	r1, .L56+4
	ldr	r0, .L56+20
	bl	__assert_fail
.L47:
	mov	r3, #0
	str	r3, [fp, #-20]	@ float
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L48
.L53:
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L49
.L52:
	ldr	r3, [fp, #-24]
	ldr	r1, [r3, #8]
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r0, r1, r3
	ldr	r3, [fp, #-28]
	ldr	r1, [r3, #8]
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	mov	r1, r3
	bl	obj_distance
	str	r0, [fp, #-8]	@ float
	ldr	r1, [fp, #-20]	@ float
	ldr	r0, [fp, #-8]	@ float
	bl	__aeabi_fcmpge
	mov	r3, r0
	cmp	r3, #0
	beq	.L50
	ldr	r3, [fp, #-8]	@ float
	str	r3, [fp, #-20]	@ float
.L50:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L49:
	ldr	r3, [fp, #-28]
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	blt	.L52
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L48:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	blt	.L53
	ldr	r3, [fp, #-20]	@ float
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L57:
	.align	2
.L56:
	.word	__PRETTY_FUNCTION__.6333
	.word	.LC0
	.word	.LC6
	.word	.LC12
	.word	.LC7
	.word	.LC13
	.size	cluster_distance, .-cluster_distance
	.global	__aeabi_fcmplt
	.align	2
	.global	find_neighbour
	.syntax unified
	.arm
	.fpu softvfp
	.type	find_neighbour, %function
find_neighbour:
	@ 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, [fp, #-28]
	cmp	r3, #0
	bgt	.L59
	ldr	r3, .L67
	mov	r2, #255
	ldr	r1, .L67+4
	ldr	r0, .L67+8
	bl	__assert_fail
.L59:
	ldr	r3, [fp, #-24]
	add	r3, r3, #12
	mov	r1, r3
	ldr	r0, [fp, #-24]
	bl	cluster_distance
	str	r0, [fp, #-12]	@ float
	ldr	r3, [fp, #-32]
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-36]
	mov	r2, #1
	str	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L60
.L65:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-16]
	b	.L61
.L64:
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r0, r3, r2
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r3, r3, r2
	mov	r1, r3
	bl	cluster_distance
	str	r0, [fp, #-8]	@ float
	ldr	r1, [fp, #-12]	@ float
	ldr	r0, [fp, #-8]	@ float
	bl	__aeabi_fcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L62
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-20]
	str	r2, [r3]
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-16]
	str	r2, [r3]
	ldr	r3, [fp, #-8]	@ float
	str	r3, [fp, #-12]	@ float
.L62:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L61:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	blt	.L64
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L60:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	blt	.L65
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L68:
	.align	2
.L67:
	.word	__PRETTY_FUNCTION__.6350
	.word	.LC0
	.word	.LC9
	.size	find_neighbour, .-find_neighbour
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	obj_sort_compar, %function
obj_sort_compar:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	cmp	r2, r3
	bge	.L70
	mvn	r3, #0
	b	.L71
.L70:
	ldr	r3, [fp, #-12]
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	cmp	r2, r3
	ble	.L72
	mov	r3, #1
	b	.L71
.L72:
	mov	r3, #0
.L71:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	obj_sort_compar, .-obj_sort_compar
	.align	2
	.global	sort_cluster
	.syntax unified
	.arm
	.fpu softvfp
	.type	sort_cluster, %function
sort_cluster:
	@ 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]
	ldr	r3, [fp, #-8]
	ldr	r0, [r3, #8]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r3, .L74
	mov	r2, #12
	bl	qsort
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L75:
	.align	2
.L74:
	.word	obj_sort_compar
	.size	sort_cluster, .-sort_cluster
	.section	.rodata
	.align	2
.LC14:
	.ascii	"%d[%g,%g]\000"
	.text
	.align	2
	.global	print_cluster
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_cluster, %function
print_cluster:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, fp, lr}
	add	fp, sp, #16
	sub	sp, sp, #28
	str	r0, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L77
.L79:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L78
	mov	r0, #32
	bl	putchar
.L78:
	ldr	r3, [fp, #-32]
	ldr	r1, [r3, #8]
	ldr	r2, [fp, #-24]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r6, [r3]
	ldr	r3, [fp, #-32]
	ldr	r1, [r3, #8]
	ldr	r2, [fp, #-24]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3, #4]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-32]
	ldr	r1, [r3, #8]
	ldr	r2, [fp, #-24]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3, #8]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	stm	sp, {r2-r3}
	mov	r2, r4
	mov	r3, r5
	mov	r1, r6
	ldr	r0, .L80
	bl	printf
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L77:
	ldr	r3, [fp, #-32]
	ldr	r3, [r3]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	blt	.L79
	mov	r0, #10
	bl	putchar
	nop
	sub	sp, fp, #16
	@ sp needed
	pop	{r4, r5, r6, fp, pc}
.L81:
	.align	2
.L80:
	.word	.LC14
	.size	print_cluster, .-print_cluster
	.section	.rodata
	.align	2
.LC15:
	.ascii	"arr != NULL\000"
	.align	2
.LC16:
	.ascii	"r\000"
	.align	2
.LC17:
	.ascii	"count=%d\000"
	.align	2
.LC18:
	.ascii	"%f %f %f\000"
	.global	__aeabi_dcmpeq
	.global	__aeabi_fcmpgt
	.global	__aeabi_f2iz
	.align	2
.LC19:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	load_clusters
	.syntax unified
	.arm
	.fpu softvfp
	.type	load_clusters, %function
load_clusters:
	@ args = 0, pretend = 0, frame = 72
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #80
	str	r0, [fp, #-80]
	str	r1, [fp, #-84]
	ldr	r3, .L115
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, sp
	mov	r5, r3
	ldr	r3, [fp, #-84]
	cmp	r3, #0
	bne	.L83
	ldr	r3, .L115+4
	ldr	r2, .L115+8
	ldr	r1, .L115+12
	ldr	r0, .L115+16
	bl	__assert_fail
.L83:
	mov	r3, #0
	str	r3, [fp, #-44]
	mvn	r3, #1
	str	r3, [fp, #-56]
	ldr	r1, .L115+20
	ldr	r0, [fp, #-80]
	bl	fopen
	str	r0, [fp, #-36]
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	bne	.L84
	ldr	r3, [fp, #-84]
	mov	r2, #0
	str	r2, [r3]
	mov	r3, #0
	b	.L85
.L84:
	sub	r3, fp, #72
	mov	r2, r3
	ldr	r1, .L115+24
	ldr	r0, [fp, #-36]
	bl	__isoc99_fscanf
	ldr	r3, [fp, #-72]
	cmp	r3, #0
	bgt	.L86
	ldr	r3, [fp, #-84]
	mov	r2, #0
	str	r2, [r3]
	ldr	r0, [fp, #-36]
	bl	fclose
	mov	r3, #0
	b	.L85
.L86:
	ldr	ip, [fp, #-72]
	sub	r3, ip, #1
	str	r3, [fp, #-32]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	lsl	r3, r3, #2
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	add	r3, sp, #8
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-72]
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L87
	ldr	r3, [fp, #-84]
	mov	r2, #0
	str	r2, [r3]
	ldr	r0, [fp, #-36]
	bl	fclose
	mvn	r3, #0
	b	.L85
.L87:
	ldr	r3, [fp, #-84]
	ldr	r2, [fp, #-24]
	str	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-52]
	b	.L88
.L103:
	ldr	r2, [fp, #-52]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r3, r3, r2
	mov	r1, #1
	mov	r0, r3
	bl	init_cluster
	ldr	r2, [fp, #-52]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r3, r3, r2
	ldr	r3, [r3, #8]
	cmp	r3, #0
	bne	.L89
	ldr	r3, [fp, #-84]
	mov	r2, #0
	str	r2, [r3]
	ldr	r0, [fp, #-36]
	bl	fclose
	mvn	r3, #0
	str	r3, [fp, #-56]
	b	.L90
.L89:
	sub	r1, fp, #64
	sub	r2, fp, #68
	sub	r3, fp, #60
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, .L115+28
	ldr	r0, [fp, #-36]
	bl	__isoc99_fscanf
	mov	r3, r0
	cmp	r3, #3
	bne	.L111
	ldr	r3, [fp, #-68]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, #0
	ldr	r3, .L115+32
	bl	fmod
	mov	r2, #0
	mov	r3, #0
	bl	__aeabi_dcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L90
	ldr	r3, [fp, #-64]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, #0
	ldr	r3, .L115+32
	bl	fmod
	mov	r2, #0
	mov	r3, #0
	bl	__aeabi_dcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L90
	ldr	r3, [fp, #-60]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, #0
	ldr	r3, .L115+32
	bl	fmod
	mov	r2, #0
	mov	r3, #0
	bl	__aeabi_dcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L90
	ldr	r3, [fp, #-64]	@ float
	mov	r1, #0
	mov	r0, r3
	bl	__aeabi_fcmplt
	mov	r3, r0
	cmp	r3, #0
	bne	.L90
	ldr	r3, [fp, #-64]	@ float
	ldr	r1, .L115+36
	mov	r0, r3
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	bne	.L90
	ldr	r3, [fp, #-60]	@ float
	mov	r1, #0
	mov	r0, r3
	bl	__aeabi_fcmplt
	mov	r3, r0
	cmp	r3, #0
	bne	.L90
	ldr	r3, [fp, #-60]	@ float
	ldr	r1, .L115+36
	mov	r0, r3
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	bne	.L90
	ldr	r3, [fp, #-68]	@ float
	mov	r1, #1325400064
	mov	r0, r3
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	bne	.L90
	ldr	r3, [fp, #-68]	@ float
	mov	r0, r3
	bl	__aeabi_f2iz
	mov	r1, r0
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-52]
	str	r1, [r3, r2, lsl #2]
	mov	r3, #0
	str	r3, [fp, #-48]
	b	.L92
.L95:
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-52]
	ldr	r2, [r3, r2, lsl #2]
	ldr	r3, [fp, #-28]
	ldr	r1, [fp, #-48]
	ldr	r3, [r3, r1, lsl #2]
	cmp	r2, r3
	bne	.L93
	mov	r3, #0
	str	r3, [fp, #-56]
	b	.L94
.L93:
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
.L92:
	ldr	r2, [fp, #-48]
	ldr	r3, [fp, #-52]
	cmp	r2, r3
	blt	.L95
.L94:
	ldr	r3, [fp, #-56]
	cmp	r3, #0
	beq	.L112
	b	.L97
.L100:
	ldr	r3, [fp, #-20]
	cmn	r3, #1
	beq	.L113
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #1
	cmp	r3, #0
	bne	.L97
	mov	r3, #0
	str	r3, [fp, #-56]
	b	.L99
.L97:
	ldr	r0, [fp, #-36]
	bl	getc
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #10
	bne	.L100
	b	.L99
.L113:
	nop
.L99:
	ldr	r3, [fp, #-56]
	cmp	r3, #0
	beq	.L114
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
	ldr	r2, [fp, #-52]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r3, r3, r2
	mov	r2, #1
	str	r2, [r3]
	ldr	r1, [fp, #-68]	@ float
	ldr	r2, [fp, #-52]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r3, r3, r2
	ldr	r4, [r3, #8]
	mov	r0, r1
	bl	__aeabi_f2iz
	mov	r3, r0
	str	r3, [r4]
	ldr	r2, [fp, #-52]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r3, r3, r2
	ldr	r3, [r3, #8]
	ldr	r2, [fp, #-64]	@ float
	str	r2, [r3, #4]	@ float
	ldr	r2, [fp, #-52]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r3, r3, r2
	ldr	r3, [r3, #8]
	ldr	r2, [fp, #-60]	@ float
	str	r2, [r3, #8]	@ float
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
.L88:
	ldr	r3, [fp, #-72]
	ldr	r2, [fp, #-52]
	cmp	r2, r3
	blt	.L103
	b	.L90
.L111:
	nop
	b	.L90
.L112:
	nop
	b	.L90
.L114:
	nop
.L90:
	ldr	r0, [fp, #-36]
	bl	fclose
	ldr	r3, [fp, #-72]
	ldr	r2, [fp, #-44]
	cmp	r2, r3
	beq	.L104
	ldr	r3, [fp, #-56]
	cmn	r3, #1
	beq	.L104
	ldr	r3, [fp, #-84]
	mov	r2, #0
	str	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-56]
.L104:
	ldr	r3, [fp, #-56]
	cmn	r3, #2
	beq	.L105
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-56]
	cmn	r3, #1
	bne	.L106
	ldr	r3, [fp, #-52]
	str	r3, [fp, #-40]
.L106:
	mov	r3, #0
	str	r3, [fp, #-48]
	b	.L107
.L108:
	ldr	r2, [fp, #-48]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r3, r3, r2
	mov	r0, r3
	bl	clear_cluster
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
.L107:
	ldr	r2, [fp, #-48]
	ldr	r3, [fp, #-40]
	cmp	r2, r3
	blt	.L108
	ldr	r0, [fp, #-24]
	bl	free
	ldr	r3, [fp, #-56]
	b	.L85
.L105:
	ldr	r3, [fp, #-72]
.L85:
	mov	sp, r5
	ldr	r2, .L115
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L110
	bl	__stack_chk_fail
.L110:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L116:
	.align	2
.L115:
	.word	.LC19
	.word	__PRETTY_FUNCTION__.6381
	.word	321
	.word	.LC0
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	1072693248
	.word	1148846080
	.size	load_clusters, .-load_clusters
	.section	.rodata
	.align	2
.LC20:
	.ascii	"Clusters:\000"
	.align	2
.LC21:
	.ascii	"cluster %d: \000"
	.text
	.align	2
	.global	print_clusters
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_clusters, %function
print_clusters:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r0, .L120
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L118
.L119:
	ldr	r1, [fp, #-8]
	ldr	r0, .L120+4
	bl	printf
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	mov	r0, r3
	bl	print_cluster
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L118:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	blt	.L119
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L121:
	.align	2
.L120:
	.word	.LC20
	.word	.LC21
	.size	print_clusters, .-print_clusters
	.section	.rodata
	.align	2
.LC22:
	.ascii	"Wrong value of argument!\012\000"
	.align	2
.LC23:
	.ascii	"Check file with input data!\012\000"
	.align	2
.LC24:
	.ascii	"Memory error!\012\000"
	.align	2
.LC25:
	.ascii	"Wrong value(s) of argument(s)!\012\000"
	.align	2
.LC26:
	.ascii	"Wrong number of arguments!\012\000"
	.align	2
.LC27:
	.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, #40
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	ldr	r3, .L142
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-40]
	cmp	r3, #3
	beq	.L123
	ldr	r3, [fp, #-40]
	cmp	r3, #2
	bne	.L124
.L123:
	mov	r3, #1
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-40]
	cmp	r3, #3
	bne	.L125
	ldr	r3, [fp, #-44]
	add	r3, r3, #8
	ldr	r3, [r3]
	sub	r1, fp, #32
	mov	r2, #10
	mov	r0, r3
	bl	strtol
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-32]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L126
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bgt	.L125
.L126:
	ldr	r3, .L142+4
	ldr	r3, [r3]
	mov	r2, #25
	mov	r1, #1
	ldr	r0, .L142+8
	bl	fwrite
	mov	r3, #1
	b	.L139
.L125:
	ldr	r3, [fp, #-44]
	add	r3, r3, #4
	ldr	r3, [r3]
	sub	r2, fp, #36
	mov	r1, r2
	mov	r0, r3
	bl	load_clusters
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L128
	ldr	r3, .L142+4
	ldr	r3, [r3]
	mov	r2, #28
	mov	r1, #1
	ldr	r0, .L142+12
	bl	fwrite
	mov	r3, #1
	b	.L139
.L128:
	ldr	r3, [fp, #-16]
	cmn	r3, #1
	bne	.L129
	ldr	r3, .L142+4
	ldr	r3, [r3]
	mov	r2, #14
	mov	r1, #1
	ldr	r0, .L142+16
	bl	fwrite
	mov	r3, #1
	b	.L139
.L129:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	bne	.L130
	ldr	r3, [fp, #-36]
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	print_clusters
	b	.L131
.L130:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	ble	.L131
	b	.L132
.L133:
	ldr	r0, [fp, #-36]
	sub	r3, fp, #24
	sub	r2, fp, #28
	ldr	r1, [fp, #-16]
	bl	find_neighbour
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-28]
	mov	r1, r3
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	r0, r2, r3
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-24]
	mov	r1, r3
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r1, r3
	bl	merge_clusters
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-24]
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	remove_cluster
	str	r0, [fp, #-16]
.L132:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	bne	.L133
	ldr	r3, [fp, #-36]
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	print_clusters
.L131:
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L134
.L135:
	ldr	r1, [fp, #-36]
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	mov	r0, r3
	bl	clear_cluster
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L134:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	blt	.L135
	ldr	r3, [fp, #-36]
	mov	r0, r3
	bl	free
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	bge	.L141
	ldr	r3, .L142+4
	ldr	r3, [r3]
	mov	r2, #31
	mov	r1, #1
	ldr	r0, .L142+20
	bl	fwrite
	mov	r3, #1
	b	.L139
.L124:
	ldr	r3, .L142+4
	ldr	r3, [r3]
	mov	r2, #27
	mov	r1, #1
	ldr	r0, .L142+24
	bl	fwrite
	mov	r3, #1
	b	.L139
.L141:
	nop
	mov	r3, #0
.L139:
	ldr	r2, .L142
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L140
	bl	__stack_chk_fail
.L140:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L143:
	.align	2
.L142:
	.word	.LC27
	.word	stderr
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.size	main, .-main
	.section	.rodata
	.align	2
	.type	__PRETTY_FUNCTION__.6291, %object
	.size	__PRETTY_FUNCTION__.6291, 13
__PRETTY_FUNCTION__.6291:
	.ascii	"init_cluster\000"
	.align	2
	.type	__PRETTY_FUNCTION__.6300, %object
	.size	__PRETTY_FUNCTION__.6300, 15
__PRETTY_FUNCTION__.6300:
	.ascii	"resize_cluster\000"
	.align	2
	.type	__PRETTY_FUNCTION__.6313, %object
	.size	__PRETTY_FUNCTION__.6313, 15
__PRETTY_FUNCTION__.6313:
	.ascii	"merge_clusters\000"
	.align	2
	.type	__PRETTY_FUNCTION__.6323, %object
	.size	__PRETTY_FUNCTION__.6323, 15
__PRETTY_FUNCTION__.6323:
	.ascii	"remove_cluster\000"
	.align	2
	.type	__PRETTY_FUNCTION__.6328, %object
	.size	__PRETTY_FUNCTION__.6328, 13
__PRETTY_FUNCTION__.6328:
	.ascii	"obj_distance\000"
	.align	2
	.type	__PRETTY_FUNCTION__.6333, %object
	.size	__PRETTY_FUNCTION__.6333, 17
__PRETTY_FUNCTION__.6333:
	.ascii	"cluster_distance\000"
	.align	2
	.type	__PRETTY_FUNCTION__.6350, %object
	.size	__PRETTY_FUNCTION__.6350, 15
__PRETTY_FUNCTION__.6350:
	.ascii	"find_neighbour\000"
	.align	2
	.type	__PRETTY_FUNCTION__.6381, %object
	.size	__PRETTY_FUNCTION__.6381, 14
__PRETTY_FUNCTION__.6381:
	.ascii	"load_clusters\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
