	.file	"65777.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"the_stack_data/65777.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, 83
	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, 84
	lea	rsi, .LC0[rip]
	lea	rdi, .LC2[rip]
	call	__assert_fail@PLT
.L3:
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR [rax], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR -12[rbp]
	mov	DWORD PTR 4[rax], edx
	cmp	DWORD PTR -12[rbp], 0
	jle	.L5
	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	esi, 0
	mov	rdi, rax
	call	init_cluster
	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, 116
	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, 117
	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, 118
	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 [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 4[rax]
	cmp	edx, eax
	jl	.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
.L15:
	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
	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	.L17
	lea	rcx, __PRETTY_FUNCTION__.5[rip]
	mov	edx, 159
	lea	rsi, .LC0[rip]
	lea	rdi, .LC6[rip]
	call	__assert_fail@PLT
.L17:
	cmp	QWORD PTR -32[rbp], 0
	jne	.L18
	lea	rcx, __PRETTY_FUNCTION__.5[rip]
	mov	edx, 160
	lea	rsi, .LC0[rip]
	lea	rdi, .LC7[rip]
	call	__assert_fail@PLT
.L18:
	mov	DWORD PTR -4[rbp], 0
	jmp	.L19
.L20:
	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
.L19:
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -4[rbp], eax
	jl	.L20
	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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -32[rbp], edx
	mov	eax, DWORD PTR -32[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L22
	lea	rcx, __PRETTY_FUNCTION__.4[rip]
	mov	edx, 178
	lea	rsi, .LC0[rip]
	lea	rdi, .LC8[rip]
	call	__assert_fail@PLT
.L22:
	cmp	DWORD PTR -28[rbp], 0
	jg	.L23
	lea	rcx, __PRETTY_FUNCTION__.4[rip]
	mov	edx, 179
	lea	rsi, .LC0[rip]
	lea	rdi, .LC9[rip]
	call	__assert_fail@PLT
.L23:
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rdi, rax
	call	clear_cluster
	mov	eax, DWORD PTR -32[rbp]
	mov	DWORD PTR -4[rbp], eax
	jmp	.L24
.L25:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	add	rax, 1
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	mov	rcx, rdx
	sal	rcx, 4
	mov	rdx, QWORD PTR -24[rbp]
	add	rcx, rdx
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR [rcx], rax
	mov	QWORD PTR 8[rcx], rdx
	add	DWORD PTR -4[rbp], 1
.L24:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L25
	mov	eax, DWORD PTR -28[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 -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	cmp	QWORD PTR -24[rbp], 0
	jne	.L28
	lea	rcx, __PRETTY_FUNCTION__.3[rip]
	mov	edx, 194
	lea	rsi, .LC0[rip]
	lea	rdi, .LC10[rip]
	call	__assert_fail@PLT
.L28:
	cmp	QWORD PTR -32[rbp], 0
	jne	.L29
	lea	rcx, __PRETTY_FUNCTION__.3[rip]
	mov	edx, 195
	lea	rsi, .LC0[rip]
	lea	rdi, .LC11[rip]
	call	__assert_fail@PLT
.L29:
	mov	rax, QWORD PTR -24[rbp]
	movss	xmm0, DWORD PTR 4[rax]
	mov	rax, QWORD PTR -32[rbp]
	movss	xmm1, DWORD PTR 4[rax]
	subss	xmm0, xmm1
	movss	xmm1, DWORD PTR .LC12[rip]
	andps	xmm0, xmm1
	movss	DWORD PTR -8[rbp], xmm0
	mov	rax, QWORD PTR -24[rbp]
	movss	xmm0, DWORD PTR 8[rax]
	mov	rax, QWORD PTR -32[rbp]
	movss	xmm1, DWORD PTR 8[rax]
	subss	xmm0, xmm1
	movss	xmm1, DWORD PTR .LC12[rip]
	andps	xmm0, xmm1
	movss	DWORD PTR -4[rbp], xmm0
	movss	xmm0, DWORD PTR -8[rbp]
	mulss	xmm0, xmm0
	movss	DWORD PTR -8[rbp], xmm0
	movss	xmm0, DWORD PTR -4[rbp]
	mulss	xmm0, xmm0
	movss	DWORD PTR -4[rbp], xmm0
	movss	xmm0, DWORD PTR -8[rbp]
	addss	xmm0, DWORD PTR -4[rbp]
	movd	eax, xmm0
	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	.L32
	lea	rcx, __PRETTY_FUNCTION__.2[rip]
	mov	edx, 211
	lea	rsi, .LC0[rip]
	lea	rdi, .LC6[rip]
	call	__assert_fail@PLT
.L32:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jg	.L33
	lea	rcx, __PRETTY_FUNCTION__.2[rip]
	mov	edx, 212
	lea	rsi, .LC0[rip]
	lea	rdi, .LC13[rip]
	call	__assert_fail@PLT
.L33:
	cmp	QWORD PTR -32[rbp], 0
	jne	.L34
	lea	rcx, __PRETTY_FUNCTION__.2[rip]
	mov	edx, 213
	lea	rsi, .LC0[rip]
	lea	rdi, .LC7[rip]
	call	__assert_fail@PLT
.L34:
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jg	.L35
	lea	rcx, __PRETTY_FUNCTION__.2[rip]
	mov	edx, 214
	lea	rsi, .LC0[rip]
	lea	rdi, .LC14[rip]
	call	__assert_fail@PLT
.L35:
	pxor	xmm0, xmm0
	movss	DWORD PTR -12[rbp], xmm0
	mov	DWORD PTR -8[rbp], 0
	jmp	.L36
.L39:
	mov	DWORD PTR -4[rbp], 0
	jmp	.L37
.L38:
	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
	lea	rdx, [rcx+rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, QWORD PTR 8[rax]
	mov	eax, DWORD PTR -8[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
	movss	xmm1, DWORD PTR -12[rbp]
	addss	xmm0, xmm1
	movss	DWORD PTR -12[rbp], xmm0
	add	DWORD PTR -4[rbp], 1
.L37:
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -4[rbp], eax
	jl	.L38
	add	DWORD PTR -8[rbp], 1
.L36:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -8[rbp], eax
	jl	.L39
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR [rax]
	imul	eax, edx
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, eax
	movss	xmm0, DWORD PTR -12[rbp]
	divss	xmm0, xmm1
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	cluster_distance, .-cluster_distance
	.globl	find_neighbours
	.type	find_neighbours, @function
find_neighbours:
.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	.L42
	lea	rcx, __PRETTY_FUNCTION__.1[rip]
	mov	edx, 233
	lea	rsi, .LC0[rip]
	lea	rdi, .LC9[rip]
	call	__assert_fail@PLT
.L42:
	movss	xmm0, DWORD PTR .LC16[rip]
	movss	DWORD PTR -16[rbp], xmm0
	mov	DWORD PTR -12[rbp], 0
	jmp	.L43
.L48:
	mov	DWORD PTR -8[rbp], 0
	jmp	.L44
.L47:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -8[rbp]
	je	.L45
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -12[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 -16[rbp]
	comiss	xmm0, DWORD PTR -4[rbp]
	jbe	.L45
	movss	xmm0, DWORD PTR -4[rbp]
	movss	DWORD PTR -16[rbp], xmm0
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR -12[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -48[rbp]
	mov	edx, DWORD PTR -8[rbp]
	mov	DWORD PTR [rax], edx
.L45:
	add	DWORD PTR -8[rbp], 1
.L44:
	mov	eax, DWORD PTR -8[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L47
	add	DWORD PTR -12[rbp], 1
.L43:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L48
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	find_neighbours, .-find_neighbours
	.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	.L51
	mov	eax, -1
	jmp	.L52
.L51:
	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	.L53
	mov	eax, 1
	jmp	.L52
.L53:
	mov	eax, 0
.L52:
	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
.LC17:
	.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	.L56
.L58:
	cmp	DWORD PTR -4[rbp], 0
	je	.L57
	mov	edi, 32
	call	putchar@PLT
.L57:
	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, .LC17[rip]
	mov	eax, 2
	call	printf@PLT
	add	DWORD PTR -4[rbp], 1
.L56:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -4[rbp], eax
	jl	.L58
	mov	edi, 10
	call	putchar@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE17:
	.size	print_cluster, .-print_cluster
	.section	.rodata
.LC18:
	.string	"arr != NULL"
.LC19:
	.string	"r"
.LC20:
	.string	"ERROR: could not open file\n"
.LC21:
	.string	"count=%d"
	.align 8
.LC22:
	.string	"ERROR: wrong format of file input\n"
	.align 8
.LC23:
	.string	"ERROR: memory allocation unsuccessful\n"
.LC24:
	.string	"%d %d %d"
.LC25:
	.string	"ERROR: wrong input data\n"
.LC26:
	.string	"ERROR: objects with same id\n"
	.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
	sub	rsp, 96
	mov	QWORD PTR -88[rbp], rdi
	mov	QWORD PTR -96[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	QWORD PTR -96[rbp], 0
	jne	.L60
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 295
	lea	rsi, .LC0[rip]
	lea	rdi, .LC18[rip]
	call	__assert_fail@PLT
.L60:
	mov	rax, QWORD PTR -88[rbp]
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -56[rbp], rax
	cmp	QWORD PTR -56[rbp], 0
	jne	.L61
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 27
	mov	esi, 1
	lea	rdi, .LC20[rip]
	call	fwrite@PLT
	mov	eax, -2
	jmp	.L74
.L61:
	lea	rdx, -80[rbp]
	mov	rax, QWORD PTR -56[rbp]
	lea	rsi, .LC21[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	test	eax, eax
	jne	.L63
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 34
	mov	esi, 1
	lea	rdi, .LC22[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, -2
	jmp	.L74
.L63:
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	sal	rax, 4
	mov	rdi, rax
	call	malloc@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -96[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -96[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L64
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 38
	mov	esi, 1
	lea	rdi, .LC23[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, -1
	jmp	.L74
.L64:
	mov	DWORD PTR -64[rbp], 0
	jmp	.L65
.L73:
	lea	rsi, -68[rbp]
	lea	rcx, -72[rbp]
	lea	rdx, -76[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	r8, rsi
	lea	rsi, .LC24[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	cmp	eax, 3
	je	.L66
	mov	eax, DWORD PTR -80[rbp]
	cmp	DWORD PTR -64[rbp], eax
	je	.L66
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 24
	mov	esi, 1
	lea	rdi, .LC25[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, DWORD PTR -64[rbp]
	jmp	.L74
.L66:
	mov	eax, DWORD PTR -72[rbp]
	test	eax, eax
	js	.L68
	mov	eax, DWORD PTR -72[rbp]
	cmp	eax, 1000
	jg	.L68
	mov	eax, DWORD PTR -68[rbp]
	test	eax, eax
	js	.L68
	mov	eax, DWORD PTR -68[rbp]
	cmp	eax, 1000
	jle	.L69
.L68:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 24
	mov	esi, 1
	lea	rdi, .LC25[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, DWORD PTR -64[rbp]
	jmp	.L74
.L69:
	mov	eax, DWORD PTR -64[rbp]
	sub	eax, 1
	mov	DWORD PTR -60[rbp], eax
	jmp	.L70
.L72:
	mov	rax, QWORD PTR -96[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -60[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	mov	rax, QWORD PTR 8[rax]
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -76[rbp]
	cmp	edx, eax
	jne	.L71
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 28
	mov	esi, 1
	lea	rdi, .LC26[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, DWORD PTR -64[rbp]
	jmp	.L74
.L71:
	sub	DWORD PTR -60[rbp], 1
.L70:
	cmp	DWORD PTR -60[rbp], 0
	jns	.L72
	lea	rax, -32[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	init_cluster
	mov	eax, DWORD PTR -76[rbp]
	mov	DWORD PTR -44[rbp], eax
	mov	eax, DWORD PTR -72[rbp]
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, eax
	movss	DWORD PTR -40[rbp], xmm0
	mov	eax, DWORD PTR -68[rbp]
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, eax
	movss	DWORD PTR -36[rbp], xmm0
	mov	rcx, QWORD PTR -44[rbp]
	mov	edx, DWORD PTR -36[rbp]
	lea	rax, -32[rbp]
	mov	rsi, rcx
	movd	xmm0, edx
	mov	rdi, rax
	call	append_cluster
	mov	rax, QWORD PTR -96[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -64[rbp]
	cdqe
	sal	rax, 4
	lea	rcx, [rdx+rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR [rcx], rax
	mov	QWORD PTR 8[rcx], rdx
	add	DWORD PTR -64[rbp], 1
.L65:
	mov	eax, DWORD PTR -80[rbp]
	cmp	DWORD PTR -64[rbp], eax
	jl	.L73
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, DWORD PTR -80[rbp]
.L74:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L75
	call	__stack_chk_fail@PLT
.L75:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE18:
	.size	load_clusters, .-load_clusters
	.section	.rodata
.LC27:
	.string	"Clusters:"
.LC28:
	.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, .LC27[rip]
	call	puts@PLT
	mov	DWORD PTR -4[rbp], 0
	jmp	.L77
.L78:
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC28[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
.L77:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L78
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE19:
	.size	print_clusters, .-print_clusters
	.globl	full_clear
	.type	full_clear, @function
full_clear:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -4[rbp], 0
	jmp	.L80
.L81:
	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	clear_cluster
	add	DWORD PTR -4[rbp], 1
.L80:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L81
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	free@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE20:
	.size	full_clear, .-full_clear
	.section	.rodata
	.align 8
.LC29:
	.string	"ERROR: wrong number of arguments\n"
.LC30:
	.string	"ERROR: wrong arguments\n"
	.align 8
.LC31:
	.string	"ERROR: number of clusters is greater than number of objects\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB21:
	.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
	mov	DWORD PTR -32[rbp], 1
	mov	DWORD PTR -28[rbp], 0
	cmp	DWORD PTR -52[rbp], 1
	jle	.L83
	cmp	DWORD PTR -52[rbp], 3
	jle	.L84
.L83:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 33
	mov	esi, 1
	lea	rdi, .LC29[rip]
	call	fwrite@PLT
	mov	eax, 1
	jmp	.L93
.L84:
	cmp	DWORD PTR -52[rbp], 3
	jne	.L86
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -32[rbp], eax
	cmp	DWORD PTR -32[rbp], 0
	jg	.L86
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 23
	mov	esi, 1
	lea	rdi, .LC30[rip]
	call	fwrite@PLT
	mov	eax, 1
	jmp	.L93
.L86:
	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 -28[rbp], eax
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -16[rbp], rax
	lea	rdx, -44[rbp]
	mov	rax, QWORD PTR -16[rbp]
	lea	rsi, .LC21[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, DWORD PTR -44[rbp]
	cmp	DWORD PTR -28[rbp], eax
	je	.L87
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR -28[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	full_clear
	mov	eax, 1
	jmp	.L93
.L87:
	cmp	DWORD PTR -28[rbp], -2
	jne	.L88
	mov	eax, 1
	jmp	.L93
.L88:
	cmp	DWORD PTR -28[rbp], -1
	jne	.L89
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR -28[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	full_clear
	mov	eax, 1
	jmp	.L93
.L89:
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, DWORD PTR -32[rbp]
	jge	.L91
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 60
	mov	esi, 1
	lea	rdi, .LC31[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR -28[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	full_clear
	mov	eax, 1
	jmp	.L93
.L92:
	mov	rax, QWORD PTR -24[rbp]
	lea	rcx, -36[rbp]
	lea	rdx, -40[rbp]
	mov	esi, DWORD PTR -28[rbp]
	mov	rdi, rax
	call	find_neighbours
	mov	rdx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	sal	rax, 4
	add	rdx, rax
	mov	rcx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	sal	rax, 4
	add	rax, rcx
	mov	rsi, rdx
	mov	rdi, rax
	call	merge_clusters
	mov	edx, DWORD PTR -36[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	ecx, DWORD PTR -28[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	remove_cluster
	mov	DWORD PTR -28[rbp], eax
.L91:
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, DWORD PTR -32[rbp]
	jg	.L92
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR -28[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	print_clusters
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR -28[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	full_clear
	mov	eax, 0
.L93:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L94
	call	__stack_chk_fail@PLT
.L94:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE21:
	.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 16
	.type	__PRETTY_FUNCTION__.1, @object
	.size	__PRETTY_FUNCTION__.1, 16
__PRETTY_FUNCTION__.1:
	.string	"find_neighbours"
	.align 8
	.type	__PRETTY_FUNCTION__.0, @object
	.size	__PRETTY_FUNCTION__.0, 14
__PRETTY_FUNCTION__.0:
	.string	"load_clusters"
	.align 16
.LC12:
	.long	2147483647
	.long	0
	.long	0
	.long	0
	.align 4
.LC16:
	.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	"65777.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"the_stack_data/65777.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, #83
	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, #84
	ldr	r1, .L6+4
	ldr	r0, .L6+12
	bl	__assert_fail
.L3:
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #8]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-12]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	ble	.L5
	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__.6179
	.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
	mov	r1, #0
	ldr	r0, [fp, #-8]
	bl	init_cluster
	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, #116
	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, #117
	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, #118
	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__.6188
	.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]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	cmp	r2, r3
	blt	.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
.L19:
	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]
	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	.L21
	ldr	r3, .L25
	mov	r2, #159
	ldr	r1, .L25+4
	ldr	r0, .L25+8
	bl	__assert_fail
.L21:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L22
	ldr	r3, .L25
	mov	r2, #160
	ldr	r1, .L25+4
	ldr	r0, .L25+12
	bl	__assert_fail
.L22:
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L23
.L24:
	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]
.L23:
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L24
	ldr	r0, [fp, #-16]
	bl	sort_cluster
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L26:
	.align	2
.L25:
	.word	__PRETTY_FUNCTION__.6201
	.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 = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	blt	.L28
	ldr	r3, .L33
	mov	r2, #178
	ldr	r1, .L33+4
	ldr	r0, .L33+8
	bl	__assert_fail
.L28:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bgt	.L29
	ldr	r3, .L33
	mov	r2, #179
	ldr	r1, .L33+4
	ldr	r0, .L33+12
	bl	__assert_fail
.L29:
	ldr	r2, [fp, #-24]
	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	clear_cluster
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-8]
	b	.L30
.L31:
	ldr	r3, [fp, #-8]
	add	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r1, r3, r2
	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	r2, r1
	ldm	r2, {r0, r1, r2}
	stm	r3, {r0, r1, r2}
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L30:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	blt	.L31
	ldr	r3, [fp, #-20]
	sub	r3, r3, #1
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L34:
	.align	2
.L33:
	.word	__PRETTY_FUNCTION__.6211
	.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_fmul
	.global	__aeabi_fadd
	.text
	.align	2
	.global	obj_distance
	.syntax unified
	.arm
	.fpu softvfp
	.type	obj_distance, %function
obj_distance:
	@ 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	.L36
	ldr	r3, .L39
	mov	r2, #194
	ldr	r1, .L39+4
	ldr	r0, .L39+8
	bl	__assert_fail
.L36:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L37
	ldr	r3, .L39
	mov	r2, #195
	ldr	r1, .L39+4
	ldr	r0, .L39+12
	bl	__assert_fail
.L37:
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #4]	@ float
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #4]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fsub
	mov	r3, r0
	bic	r3, r3, #-2147483648
	str	r3, [fp, #-12]	@ float
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #8]	@ float
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #8]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fsub
	mov	r3, r0
	bic	r3, r3, #-2147483648
	str	r3, [fp, #-8]	@ float
	ldr	r1, [fp, #-12]	@ float
	ldr	r0, [fp, #-12]	@ float
	bl	__aeabi_fmul
	mov	r3, r0
	str	r3, [fp, #-12]	@ float
	ldr	r1, [fp, #-8]	@ float
	ldr	r0, [fp, #-8]	@ float
	bl	__aeabi_fmul
	mov	r3, r0
	str	r3, [fp, #-8]	@ float
	ldr	r1, [fp, #-8]	@ float
	ldr	r0, [fp, #-12]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r0, r3
	bl	sqrtf
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L40:
	.align	2
.L39:
	.word	__PRETTY_FUNCTION__.6220
	.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_i2f
	.global	__aeabi_fdiv
	.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	.L42
	ldr	r3, .L51
	mov	r2, #211
	ldr	r1, .L51+4
	ldr	r0, .L51+8
	bl	__assert_fail
.L42:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	cmp	r3, #0
	bgt	.L43
	ldr	r3, .L51
	mov	r2, #212
	ldr	r1, .L51+4
	ldr	r0, .L51+12
	bl	__assert_fail
.L43:
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L44
	ldr	r3, .L51
	mov	r2, #213
	ldr	r1, .L51+4
	ldr	r0, .L51+16
	bl	__assert_fail
.L44:
	ldr	r3, [fp, #-28]
	ldr	r3, [r3]
	cmp	r3, #0
	bgt	.L45
	ldr	r3, .L51
	mov	r2, #214
	ldr	r1, .L51+4
	ldr	r0, .L51+20
	bl	__assert_fail
.L45:
	mov	r3, #0
	str	r3, [fp, #-16]	@ float
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L46
.L49:
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L47
.L48:
	ldr	r3, [fp, #-24]
	ldr	r1, [r3, #8]
	ldr	r2, [fp, #-12]
	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, #-8]
	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
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-16]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-16]	@ float
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L47:
	ldr	r3, [fp, #-28]
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L48
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L46:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	blt	.L49
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	ldr	r2, [fp, #-28]
	ldr	r2, [r2]
	mul	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-16]	@ float
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L52:
	.align	2
.L51:
	.word	__PRETTY_FUNCTION__.6227
	.word	.LC0
	.word	.LC6
	.word	.LC12
	.word	.LC7
	.word	.LC13
	.size	cluster_distance, .-cluster_distance
	.global	__aeabi_fcmplt
	.align	2
	.global	find_neighbours
	.syntax unified
	.arm
	.fpu softvfp
	.type	find_neighbours, %function
find_neighbours:
	@ 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	.L54
	ldr	r3, .L62
	mov	r2, #233
	ldr	r1, .L62+4
	ldr	r0, .L62+8
	bl	__assert_fail
.L54:
	mov	r3, #1325400064
	str	r3, [fp, #-20]	@ float
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L55
.L60:
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L56
.L59:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	beq	.L57
	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	r0, r3, r2
	ldr	r2, [fp, #-12]
	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, #-20]	@ float
	ldr	r0, [fp, #-8]	@ float
	bl	__aeabi_fcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L57
	ldr	r3, [fp, #-8]	@ float
	str	r3, [fp, #-20]	@ float
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-16]
	str	r2, [r3]
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-12]
	str	r2, [r3]
.L57:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L56:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	blt	.L59
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L55:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	blt	.L60
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L63:
	.align	2
.L62:
	.word	__PRETTY_FUNCTION__.6243
	.word	.LC0
	.word	.LC9
	.size	find_neighbours, .-find_neighbours
	.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	.L65
	mvn	r3, #0
	b	.L66
.L65:
	ldr	r3, [fp, #-12]
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	cmp	r2, r3
	ble	.L67
	mov	r3, #1
	b	.L66
.L67:
	mov	r3, #0
.L66:
	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, .L69
	mov	r2, #12
	bl	qsort
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L70:
	.align	2
.L69:
	.word	obj_sort_compar
	.size	sort_cluster, .-sort_cluster
	.global	__aeabi_f2d
	.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	.L72
.L74:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L73
	mov	r0, #32
	bl	putchar
.L73:
	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, .L75
	bl	printf
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L72:
	ldr	r3, [fp, #-32]
	ldr	r3, [r3]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	blt	.L74
	mov	r0, #10
	bl	putchar
	nop
	sub	sp, fp, #16
	@ sp needed
	pop	{r4, r5, r6, fp, pc}
.L76:
	.align	2
.L75:
	.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	"ERROR: could not open file\012\000"
	.align	2
.LC18:
	.ascii	"count=%d\000"
	.align	2
.LC19:
	.ascii	"ERROR: wrong format of file input\012\000"
	.align	2
.LC20:
	.ascii	"ERROR: memory allocation unsuccessful\012\000"
	.align	2
.LC21:
	.ascii	"%d %d %d\000"
	.align	2
.LC22:
	.ascii	"ERROR: wrong input data\012\000"
	.align	2
.LC23:
	.ascii	"ERROR: objects with same id\012\000"
	.align	2
.LC24:
	.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 = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #72
	str	r0, [fp, #-64]
	str	r1, [fp, #-68]
	ldr	r3, .L94
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-68]
	cmp	r3, #0
	bne	.L78
	ldr	r3, .L94+4
	ldr	r2, .L94+8
	ldr	r1, .L94+12
	ldr	r0, .L94+16
	bl	__assert_fail
.L78:
	ldr	r1, .L94+20
	ldr	r0, [fp, #-64]
	bl	fopen
	str	r0, [fp, #-36]
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	bne	.L79
	ldr	r3, .L94+24
	ldr	r3, [r3]
	mov	r2, #27
	mov	r1, #1
	ldr	r0, .L94+28
	bl	fwrite
	mvn	r3, #1
	b	.L92
.L79:
	sub	r3, fp, #60
	mov	r2, r3
	ldr	r1, .L94+32
	ldr	r0, [fp, #-36]
	bl	__isoc99_fscanf
	mov	r3, r0
	cmp	r3, #0
	bne	.L81
	ldr	r3, .L94+24
	ldr	r3, [r3]
	mov	r2, #34
	mov	r1, #1
	ldr	r0, .L94+36
	bl	fwrite
	ldr	r0, [fp, #-36]
	bl	fclose
	mvn	r3, #1
	b	.L92
.L81:
	ldr	r3, [fp, #-60]
	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
	mov	r2, r3
	ldr	r3, [fp, #-68]
	str	r2, [r3]
	ldr	r3, [fp, #-68]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L82
	ldr	r3, .L94+24
	ldr	r3, [r3]
	mov	r2, #38
	mov	r1, #1
	ldr	r0, .L94+40
	bl	fwrite
	ldr	r0, [fp, #-36]
	bl	fclose
	mvn	r3, #0
	b	.L92
.L82:
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L83
.L91:
	sub	r1, fp, #52
	sub	r2, fp, #56
	sub	r3, fp, #48
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, .L94+44
	ldr	r0, [fp, #-36]
	bl	__isoc99_fscanf
	mov	r3, r0
	cmp	r3, #3
	beq	.L84
	ldr	r3, [fp, #-60]
	ldr	r2, [fp, #-44]
	cmp	r2, r3
	beq	.L84
	ldr	r3, .L94+24
	ldr	r3, [r3]
	mov	r2, #24
	mov	r1, #1
	ldr	r0, .L94+48
	bl	fwrite
	ldr	r0, [fp, #-36]
	bl	fclose
	ldr	r3, [fp, #-44]
	b	.L92
.L84:
	ldr	r3, [fp, #-52]
	cmp	r3, #0
	blt	.L86
	ldr	r3, [fp, #-52]
	cmp	r3, #1000
	bgt	.L86
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	blt	.L86
	ldr	r3, [fp, #-48]
	cmp	r3, #1000
	ble	.L87
.L86:
	ldr	r3, .L94+24
	ldr	r3, [r3]
	mov	r2, #24
	mov	r1, #1
	ldr	r0, .L94+48
	bl	fwrite
	ldr	r0, [fp, #-36]
	bl	fclose
	ldr	r3, [fp, #-44]
	b	.L92
.L87:
	ldr	r3, [fp, #-44]
	sub	r3, r3, #1
	str	r3, [fp, #-40]
	b	.L88
.L90:
	ldr	r3, [fp, #-68]
	ldr	r1, [r3]
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3, #8]
	ldr	r2, [r3]
	ldr	r3, [fp, #-56]
	cmp	r2, r3
	bne	.L89
	ldr	r3, .L94+24
	ldr	r3, [r3]
	mov	r2, #28
	mov	r1, #1
	ldr	r0, .L94+52
	bl	fwrite
	ldr	r0, [fp, #-36]
	bl	fclose
	ldr	r3, [fp, #-44]
	b	.L92
.L89:
	ldr	r3, [fp, #-40]
	sub	r3, r3, #1
	str	r3, [fp, #-40]
.L88:
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	bge	.L90
	sub	r3, fp, #32
	mov	r1, #1
	mov	r0, r3
	bl	init_cluster
	ldr	r3, [fp, #-56]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-52]
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	str	r3, [fp, #-16]	@ float
	ldr	r3, [fp, #-48]
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	str	r3, [fp, #-12]	@ float
	sub	r0, fp, #32
	sub	r3, fp, #20
	ldm	r3, {r1, r2, r3}
	bl	append_cluster
	ldr	r3, [fp, #-68]
	ldr	r1, [r3]
	ldr	r2, [fp, #-44]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	mov	ip, r3
	sub	r3, fp, #32
	ldm	r3, {r0, r1, r2}
	stm	ip, {r0, r1, r2}
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L83:
	ldr	r3, [fp, #-60]
	ldr	r2, [fp, #-44]
	cmp	r2, r3
	blt	.L91
	ldr	r0, [fp, #-36]
	bl	fclose
	ldr	r3, [fp, #-60]
.L92:
	ldr	r2, .L94
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L93
	bl	__stack_chk_fail
.L93:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L95:
	.align	2
.L94:
	.word	.LC24
	.word	__PRETTY_FUNCTION__.6274
	.word	295
	.word	.LC0
	.word	.LC15
	.word	.LC16
	.word	stderr
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.size	load_clusters, .-load_clusters
	.section	.rodata
	.align	2
.LC25:
	.ascii	"Clusters:\000"
	.align	2
.LC26:
	.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, .L99
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L97
.L98:
	ldr	r1, [fp, #-8]
	ldr	r0, .L99+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]
.L97:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	blt	.L98
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L100:
	.align	2
.L99:
	.word	.LC25
	.word	.LC26
	.size	print_clusters, .-print_clusters
	.align	2
	.global	full_clear
	.syntax unified
	.arm
	.fpu softvfp
	.type	full_clear, %function
full_clear:
	@ 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]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L102
.L103:
	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	clear_cluster
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L102:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	blt	.L103
	ldr	r0, [fp, #-16]
	bl	free
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	full_clear, .-full_clear
	.section	.rodata
	.align	2
.LC27:
	.ascii	"ERROR: wrong number of arguments\012\000"
	.align	2
.LC28:
	.ascii	"ERROR: wrong arguments\012\000"
	.align	2
.LC29:
	.ascii	"ERROR: number of clusters is greater than number of"
	.ascii	" objects\012\000"
	.align	2
.LC30:
	.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, .L117
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #1
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-40]
	cmp	r3, #1
	ble	.L105
	ldr	r3, [fp, #-40]
	cmp	r3, #3
	ble	.L106
.L105:
	ldr	r3, .L117+4
	ldr	r3, [r3]
	mov	r2, #33
	mov	r1, #1
	ldr	r0, .L117+8
	bl	fwrite
	mov	r3, #1
	b	.L115
.L106:
	ldr	r3, [fp, #-40]
	cmp	r3, #3
	bne	.L108
	ldr	r3, [fp, #-44]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bgt	.L108
	ldr	r3, .L117+4
	ldr	r3, [r3]
	mov	r2, #23
	mov	r1, #1
	ldr	r0, .L117+12
	bl	fwrite
	mov	r3, #1
	b	.L115
.L108:
	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, #-44]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L117+16
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-12]
	sub	r3, fp, #32
	mov	r2, r3
	ldr	r1, .L117+20
	ldr	r0, [fp, #-12]
	bl	__isoc99_fscanf
	ldr	r0, [fp, #-12]
	bl	fclose
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	beq	.L109
	ldr	r3, [fp, #-36]
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	full_clear
	mov	r3, #1
	b	.L115
.L109:
	ldr	r3, [fp, #-16]
	cmn	r3, #2
	bne	.L110
	mov	r3, #1
	b	.L115
.L110:
	ldr	r3, [fp, #-16]
	cmn	r3, #1
	bne	.L111
	ldr	r3, [fp, #-36]
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	full_clear
	mov	r3, #1
	b	.L115
.L111:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	bge	.L113
	ldr	r3, .L117+4
	ldr	r3, [r3]
	mov	r2, #60
	mov	r1, #1
	ldr	r0, .L117+24
	bl	fwrite
	ldr	r3, [fp, #-36]
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	full_clear
	mov	r3, #1
	b	.L115
.L114:
	ldr	r0, [fp, #-36]
	sub	r3, fp, #24
	sub	r2, fp, #28
	ldr	r1, [fp, #-16]
	bl	find_neighbours
	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]
.L113:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	bgt	.L114
	ldr	r3, [fp, #-36]
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	print_clusters
	ldr	r3, [fp, #-36]
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	full_clear
	mov	r3, #0
.L115:
	ldr	r2, .L117
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L116
	bl	__stack_chk_fail
.L116:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L118:
	.align	2
.L117:
	.word	.LC30
	.word	stderr
	.word	.LC27
	.word	.LC28
	.word	.LC16
	.word	.LC18
	.word	.LC29
	.size	main, .-main
	.section	.rodata
	.align	2
	.type	__PRETTY_FUNCTION__.6179, %object
	.size	__PRETTY_FUNCTION__.6179, 13
__PRETTY_FUNCTION__.6179:
	.ascii	"init_cluster\000"
	.align	2
	.type	__PRETTY_FUNCTION__.6188, %object
	.size	__PRETTY_FUNCTION__.6188, 15
__PRETTY_FUNCTION__.6188:
	.ascii	"resize_cluster\000"
	.align	2
	.type	__PRETTY_FUNCTION__.6201, %object
	.size	__PRETTY_FUNCTION__.6201, 15
__PRETTY_FUNCTION__.6201:
	.ascii	"merge_clusters\000"
	.align	2
	.type	__PRETTY_FUNCTION__.6211, %object
	.size	__PRETTY_FUNCTION__.6211, 15
__PRETTY_FUNCTION__.6211:
	.ascii	"remove_cluster\000"
	.align	2
	.type	__PRETTY_FUNCTION__.6220, %object
	.size	__PRETTY_FUNCTION__.6220, 13
__PRETTY_FUNCTION__.6220:
	.ascii	"obj_distance\000"
	.align	2
	.type	__PRETTY_FUNCTION__.6227, %object
	.size	__PRETTY_FUNCTION__.6227, 17
__PRETTY_FUNCTION__.6227:
	.ascii	"cluster_distance\000"
	.align	2
	.type	__PRETTY_FUNCTION__.6243, %object
	.size	__PRETTY_FUNCTION__.6243, 16
__PRETTY_FUNCTION__.6243:
	.ascii	"find_neighbours\000"
	.align	2
	.type	__PRETTY_FUNCTION__.6274, %object
	.size	__PRETTY_FUNCTION__.6274, 14
__PRETTY_FUNCTION__.6274:
	.ascii	"load_clusters\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
