	.file	"86915.c"
	.intel_syntax noprefix
	.text
	.globl	elist
	.bss
	.align 32
	.type	elist, @object
	.size	elist, 364
elist:
	.zero	364
	.globl	Graph
	.align 32
	.type	Graph, @object
	.size	Graph, 3600
Graph:
	.zero	3600
	.globl	n
	.align 4
	.type	n, @object
	.size	n, 4
n:
	.zero	4
	.globl	spanlist
	.align 32
	.type	spanlist, @object
	.size	spanlist, 364
spanlist:
	.zero	364
	.text
	.globl	kruskalAlgo
	.type	kruskalAlgo, @function
kruskalAlgo:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 144
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR elist[rip+360], 0
	mov	DWORD PTR -144[rbp], 1
	jmp	.L2
.L6:
	mov	DWORD PTR -140[rbp], 0
	jmp	.L3
.L5:
	mov	eax, DWORD PTR -140[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -144[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	add	rax, rax
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, Graph[rip]
	mov	eax, DWORD PTR [rdx+rax]
	test	eax, eax
	je	.L4
	mov	eax, DWORD PTR elist[rip+360]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rcx, rax
	lea	rdx, elist[rip]
	mov	eax, DWORD PTR -144[rbp]
	mov	DWORD PTR [rcx+rdx], eax
	mov	eax, DWORD PTR elist[rip+360]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rcx, rax
	lea	rdx, elist[rip+4]
	mov	eax, DWORD PTR -140[rbp]
	mov	DWORD PTR [rcx+rdx], eax
	mov	ecx, DWORD PTR elist[rip+360]
	mov	eax, DWORD PTR -140[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -144[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	add	rax, rax
	add	rax, rsi
	lea	rdx, 0[0+rax*4]
	lea	rax, Graph[rip]
	mov	edx, DWORD PTR [rdx+rax]
	movsx	rcx, ecx
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 2
	mov	rcx, rax
	lea	rax, elist[rip+8]
	mov	DWORD PTR [rcx+rax], edx
	mov	eax, DWORD PTR elist[rip+360]
	add	eax, 1
	mov	DWORD PTR elist[rip+360], eax
.L4:
	add	DWORD PTR -140[rbp], 1
.L3:
	mov	eax, DWORD PTR -140[rbp]
	cmp	eax, DWORD PTR -144[rbp]
	jl	.L5
	add	DWORD PTR -144[rbp], 1
.L2:
	mov	eax, DWORD PTR n[rip]
	cmp	DWORD PTR -144[rbp], eax
	jl	.L6
	mov	eax, 0
	call	sort
	mov	DWORD PTR -144[rbp], 0
	jmp	.L7
.L8:
	mov	eax, DWORD PTR -144[rbp]
	cdqe
	mov	edx, DWORD PTR -144[rbp]
	mov	DWORD PTR -128[rbp+rax*4], edx
	add	DWORD PTR -144[rbp], 1
.L7:
	mov	eax, DWORD PTR n[rip]
	cmp	DWORD PTR -144[rbp], eax
	jl	.L8
	mov	DWORD PTR spanlist[rip+360], 0
	mov	DWORD PTR -144[rbp], 0
	jmp	.L9
.L11:
	mov	eax, DWORD PTR -144[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, elist[rip]
	mov	edx, DWORD PTR [rdx+rax]
	lea	rax, -128[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	find
	mov	DWORD PTR -136[rbp], eax
	mov	eax, DWORD PTR -144[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, elist[rip+4]
	mov	edx, DWORD PTR [rdx+rax]
	lea	rax, -128[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	find
	mov	DWORD PTR -132[rbp], eax
	mov	eax, DWORD PTR -136[rbp]
	cmp	eax, DWORD PTR -132[rbp]
	je	.L10
	mov	eax, DWORD PTR spanlist[rip+360]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rcx, rax
	lea	rdx, spanlist[rip]
	mov	eax, DWORD PTR -144[rbp]
	movsx	rsi, eax
	mov	rax, rsi
	add	rax, rax
	add	rax, rsi
	sal	rax, 2
	mov	rsi, rax
	lea	rax, elist[rip]
	mov	rdi, QWORD PTR [rsi+rax]
	mov	QWORD PTR [rcx+rdx], rdi
	mov	eax, DWORD PTR 8[rsi+rax]
	mov	DWORD PTR 8[rcx+rdx], eax
	mov	eax, DWORD PTR spanlist[rip+360]
	add	eax, 1
	mov	DWORD PTR spanlist[rip+360], eax
	mov	edx, DWORD PTR -132[rbp]
	mov	ecx, DWORD PTR -136[rbp]
	lea	rax, -128[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	applyUnion
.L10:
	add	DWORD PTR -144[rbp], 1
.L9:
	mov	eax, DWORD PTR elist[rip+360]
	cmp	DWORD PTR -144[rbp], eax
	jl	.L11
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L12
	call	__stack_chk_fail@PLT
.L12:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	kruskalAlgo, .-kruskalAlgo
	.globl	find
	.type	find, @function
find:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	DWORD PTR -12[rbp], esi
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	find, .-find
	.globl	applyUnion
	.type	applyUnion, @function
applyUnion:
.LFB2:
	.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	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -32[rbp], edx
	mov	DWORD PTR -4[rbp], 0
	jmp	.L16
.L18:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -32[rbp], eax
	jne	.L17
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -28[rbp]
	mov	DWORD PTR [rdx], eax
.L17:
	add	DWORD PTR -4[rbp], 1
.L16:
	mov	eax, DWORD PTR n[rip]
	cmp	DWORD PTR -4[rbp], eax
	jl	.L18
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	applyUnion, .-applyUnion
	.globl	sort
	.type	sort, @function
sort:
.LFB3:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -20[rbp], 1
	jmp	.L20
.L24:
	mov	DWORD PTR -16[rbp], 0
	jmp	.L21
.L23:
	mov	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, elist[rip+8]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -16[rbp]
	add	eax, 1
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, elist[rip+8]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	ecx, eax
	jle	.L22
	mov	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, elist[rip]
	mov	rcx, QWORD PTR [rdx+rax]
	mov	QWORD PTR -12[rbp], rcx
	mov	eax, DWORD PTR 8[rdx+rax]
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -16[rbp]
	lea	esi, 1[rax]
	mov	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rcx, rax
	lea	rdx, elist[rip]
	movsx	rsi, esi
	mov	rax, rsi
	add	rax, rax
	add	rax, rsi
	sal	rax, 2
	mov	rsi, rax
	lea	rax, elist[rip]
	mov	rdi, QWORD PTR [rsi+rax]
	mov	QWORD PTR [rcx+rdx], rdi
	mov	eax, DWORD PTR 8[rsi+rax]
	mov	DWORD PTR 8[rcx+rdx], eax
	mov	eax, DWORD PTR -16[rbp]
	add	eax, 1
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, elist[rip]
	mov	rcx, QWORD PTR -12[rbp]
	mov	QWORD PTR [rdx+rax], rcx
	mov	ecx, DWORD PTR -4[rbp]
	mov	DWORD PTR 8[rdx+rax], ecx
.L22:
	add	DWORD PTR -16[rbp], 1
.L21:
	mov	eax, DWORD PTR elist[rip+360]
	sub	eax, 1
	cmp	DWORD PTR -16[rbp], eax
	jl	.L23
	add	DWORD PTR -20[rbp], 1
.L20:
	mov	eax, DWORD PTR elist[rip+360]
	cmp	DWORD PTR -20[rbp], eax
	jl	.L24
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	sort, .-sort
	.section	.rodata
.LC0:
	.string	"\n%d - %d : %d"
.LC1:
	.string	"\nSpanning tree cost: %d"
	.text
	.globl	print
	.type	print, @function
print:
.LFB4:
	.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	DWORD PTR -4[rbp], 0
	mov	DWORD PTR -8[rbp], 0
	jmp	.L26
.L27:
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, spanlist[rip+8]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, spanlist[rip+4]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -8[rbp]
	movsx	rsi, eax
	mov	rax, rsi
	add	rax, rax
	add	rax, rsi
	sal	rax, 2
	mov	rsi, rax
	lea	rax, spanlist[rip]
	mov	eax, DWORD PTR [rsi+rax]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, spanlist[rip+8]
	mov	eax, DWORD PTR [rdx+rax]
	add	DWORD PTR -4[rbp], eax
	add	DWORD PTR -8[rbp], 1
.L26:
	mov	eax, DWORD PTR spanlist[rip+360]
	cmp	DWORD PTR -8[rbp], eax
	jl	.L27
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	print, .-print
	.globl	main
	.type	main, @function
main:
.LFB5:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR n[rip], 6
	mov	DWORD PTR Graph[rip], 0
	mov	DWORD PTR Graph[rip+4], 4
	mov	DWORD PTR Graph[rip+8], 4
	mov	DWORD PTR Graph[rip+12], 0
	mov	DWORD PTR Graph[rip+16], 0
	mov	DWORD PTR Graph[rip+20], 0
	mov	DWORD PTR Graph[rip+24], 0
	mov	DWORD PTR Graph[rip+120], 4
	mov	DWORD PTR Graph[rip+124], 0
	mov	DWORD PTR Graph[rip+128], 2
	mov	DWORD PTR Graph[rip+132], 0
	mov	DWORD PTR Graph[rip+136], 0
	mov	DWORD PTR Graph[rip+140], 0
	mov	DWORD PTR Graph[rip+144], 0
	mov	DWORD PTR Graph[rip+240], 4
	mov	DWORD PTR Graph[rip+244], 2
	mov	DWORD PTR Graph[rip+248], 0
	mov	DWORD PTR Graph[rip+252], 3
	mov	DWORD PTR Graph[rip+256], 4
	mov	DWORD PTR Graph[rip+260], 0
	mov	DWORD PTR Graph[rip+264], 0
	mov	DWORD PTR Graph[rip+360], 0
	mov	DWORD PTR Graph[rip+364], 0
	mov	DWORD PTR Graph[rip+368], 3
	mov	DWORD PTR Graph[rip+372], 0
	mov	DWORD PTR Graph[rip+376], 3
	mov	DWORD PTR Graph[rip+380], 0
	mov	DWORD PTR Graph[rip+384], 0
	mov	DWORD PTR Graph[rip+480], 0
	mov	DWORD PTR Graph[rip+484], 0
	mov	DWORD PTR Graph[rip+488], 4
	mov	DWORD PTR Graph[rip+492], 3
	mov	DWORD PTR Graph[rip+496], 0
	mov	DWORD PTR Graph[rip+500], 0
	mov	DWORD PTR Graph[rip+504], 0
	mov	DWORD PTR Graph[rip+600], 0
	mov	DWORD PTR Graph[rip+604], 0
	mov	DWORD PTR Graph[rip+608], 2
	mov	DWORD PTR Graph[rip+612], 0
	mov	DWORD PTR Graph[rip+616], 3
	mov	DWORD PTR Graph[rip+620], 0
	mov	DWORD PTR Graph[rip+624], 0
	mov	eax, 0
	call	kruskalAlgo
	mov	eax, 0
	call	print
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"86915.c"
	.text
	.comm	elist,364,4
	.comm	Graph,3600,4
	.comm	n,4,4
	.comm	spanlist,364,4
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	kruskalAlgo
	.syntax unified
	.arm
	.fpu softvfp
	.type	kruskalAlgo, %function
kruskalAlgo:
	@ args = 0, pretend = 0, frame = 144
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #144
	ldr	r3, .L13
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L13+4
	mov	r2, #0
	str	r2, [r3, #360]
	mov	r3, #1
	str	r3, [fp, #-144]
	b	.L2
.L6:
	mov	r3, #0
	str	r3, [fp, #-140]
	b	.L3
.L5:
	ldr	r1, .L13+8
	ldr	r2, [fp, #-144]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-140]
	add	r3, r3, r2
	ldr	r3, [r1, r3, lsl #2]
	cmp	r3, #0
	beq	.L4
	ldr	r3, .L13+4
	ldr	r2, [r3, #360]
	ldr	r1, .L13+4
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r2, [fp, #-144]
	str	r2, [r3]
	ldr	r3, .L13+4
	ldr	r2, [r3, #360]
	ldr	r1, .L13+4
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #4
	ldr	r2, [fp, #-140]
	str	r2, [r3]
	ldr	r3, .L13+4
	ldr	r2, [r3, #360]
	ldr	r0, .L13+8
	ldr	r1, [fp, #-144]
	mov	r3, r1
	lsl	r3, r3, #4
	sub	r3, r3, r1
	lsl	r3, r3, #1
	ldr	r1, [fp, #-140]
	add	r3, r3, r1
	ldr	r1, [r0, r3, lsl #2]
	ldr	r0, .L13+4
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	add	r3, r3, #8
	str	r1, [r3]
	ldr	r3, .L13+4
	ldr	r3, [r3, #360]
	add	r3, r3, #1
	ldr	r2, .L13+4
	str	r3, [r2, #360]
.L4:
	ldr	r3, [fp, #-140]
	add	r3, r3, #1
	str	r3, [fp, #-140]
.L3:
	ldr	r2, [fp, #-140]
	ldr	r3, [fp, #-144]
	cmp	r2, r3
	blt	.L5
	ldr	r3, [fp, #-144]
	add	r3, r3, #1
	str	r3, [fp, #-144]
.L2:
	ldr	r3, .L13+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-144]
	cmp	r2, r3
	blt	.L6
	bl	sort
	mov	r3, #0
	str	r3, [fp, #-144]
	b	.L7
.L8:
	ldr	r3, [fp, #-144]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [fp, #-144]
	str	r2, [r3, #-124]
	ldr	r3, [fp, #-144]
	add	r3, r3, #1
	str	r3, [fp, #-144]
.L7:
	ldr	r3, .L13+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-144]
	cmp	r2, r3
	blt	.L8
	ldr	r3, .L13+16
	mov	r2, #0
	str	r2, [r3, #360]
	mov	r3, #0
	str	r3, [fp, #-144]
	b	.L9
.L11:
	ldr	r1, .L13+4
	ldr	r2, [fp, #-144]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r2, [r3]
	sub	r3, fp, #128
	mov	r1, r2
	mov	r0, r3
	bl	find
	str	r0, [fp, #-136]
	ldr	r1, .L13+4
	ldr	r2, [fp, #-144]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #4
	ldr	r2, [r3]
	sub	r3, fp, #128
	mov	r1, r2
	mov	r0, r3
	bl	find
	str	r0, [fp, #-132]
	ldr	r2, [fp, #-136]
	ldr	r3, [fp, #-132]
	cmp	r2, r3
	beq	.L10
	ldr	r3, .L13+16
	ldr	r2, [r3, #360]
	ldr	r1, .L13+16
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r0, r1, r3
	ldr	r1, .L13+4
	ldr	r2, [fp, #-144]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r2, r1, r3
	mov	r3, r0
	ldm	r2, {r0, r1, r2}
	stm	r3, {r0, r1, r2}
	ldr	r3, .L13+16
	ldr	r3, [r3, #360]
	add	r3, r3, #1
	ldr	r2, .L13+16
	str	r3, [r2, #360]
	sub	r3, fp, #128
	ldr	r2, [fp, #-132]
	ldr	r1, [fp, #-136]
	mov	r0, r3
	bl	applyUnion
.L10:
	ldr	r3, [fp, #-144]
	add	r3, r3, #1
	str	r3, [fp, #-144]
.L9:
	ldr	r3, .L13+4
	ldr	r3, [r3, #360]
	ldr	r2, [fp, #-144]
	cmp	r2, r3
	blt	.L11
	nop
	ldr	r3, .L13
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L12
	bl	__stack_chk_fail
.L12:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L14:
	.align	2
.L13:
	.word	.LC0
	.word	elist
	.word	Graph
	.word	n
	.word	spanlist
	.size	kruskalAlgo, .-kruskalAlgo
	.align	2
	.global	find
	.syntax unified
	.arm
	.fpu softvfp
	.type	find, %function
find:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	find, .-find
	.align	2
	.global	applyUnion
	.syntax unified
	.arm
	.fpu softvfp
	.type	applyUnion, %function
applyUnion:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #28
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L18
.L20:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	bne	.L19
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [fp, #-20]
	str	r2, [r3]
.L19:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L18:
	ldr	r3, .L21
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L20
	nop
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L22:
	.align	2
.L21:
	.word	n
	.size	applyUnion, .-applyUnion
	.align	2
	.global	sort
	.syntax unified
	.arm
	.fpu softvfp
	.type	sort, %function
sort:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #28
	mov	r3, #1
	str	r3, [fp, #-24]
	b	.L24
.L28:
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L25
.L27:
	ldr	r1, .L29
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #8
	ldr	r1, [r3]
	ldr	r3, [fp, #-20]
	add	r2, r3, #1
	ldr	r0, .L29
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	add	r3, r3, #8
	ldr	r3, [r3]
	cmp	r1, r3
	ble	.L26
	ldr	r1, .L29
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r2, r1, r3
	sub	r3, fp, #16
	ldm	r2, {r0, r1, r2}
	stm	r3, {r0, r1, r2}
	ldr	r3, [fp, #-20]
	add	r2, r3, #1
	ldr	r0, .L29
	ldr	r1, [fp, #-20]
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	r0, r0, r3
	ldr	r1, .L29
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r2, r1, r3
	mov	r3, r0
	ldm	r2, {r0, r1, r2}
	stm	r3, {r0, r1, r2}
	ldr	r3, [fp, #-20]
	add	r2, r3, #1
	ldr	r1, .L29
	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, #16
	ldm	r3, {r0, r1, r2}
	stm	ip, {r0, r1, r2}
.L26:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L25:
	ldr	r3, .L29
	ldr	r3, [r3, #360]
	sub	r3, r3, #1
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	blt	.L27
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L24:
	ldr	r3, .L29
	ldr	r3, [r3, #360]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	blt	.L28
	nop
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L30:
	.align	2
.L29:
	.word	elist
	.size	sort, .-sort
	.section	.rodata
	.align	2
.LC1:
	.ascii	"\012%d - %d : %d\000"
	.align	2
.LC2:
	.ascii	"\012Spanning tree cost: %d\000"
	.text
	.align	2
	.global	print
	.syntax unified
	.arm
	.fpu softvfp
	.type	print, %function
print:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r3, #0
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L32
.L33:
	ldr	r1, .L34
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r1, [r3]
	ldr	r0, .L34
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	add	r3, r3, #4
	ldr	r0, [r3]
	ldr	ip, .L34
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, ip, r3
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r2, r0
	ldr	r0, .L34+4
	bl	printf
	ldr	r1, .L34
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #8
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L32:
	ldr	r3, .L34
	ldr	r3, [r3, #360]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	blt	.L33
	ldr	r1, [fp, #-8]
	ldr	r0, .L34+8
	bl	printf
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L35:
	.align	2
.L34:
	.word	spanlist
	.word	.LC1
	.word	.LC2
	.size	print, .-print
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L38
	mov	r2, #6
	str	r2, [r3]
	ldr	r3, .L38+4
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L38+4
	mov	r2, #4
	str	r2, [r3, #4]
	ldr	r3, .L38+4
	mov	r2, #4
	str	r2, [r3, #8]
	ldr	r3, .L38+4
	mov	r2, #0
	str	r2, [r3, #12]
	ldr	r3, .L38+4
	mov	r2, #0
	str	r2, [r3, #16]
	ldr	r3, .L38+4
	mov	r2, #0
	str	r2, [r3, #20]
	ldr	r3, .L38+4
	mov	r2, #0
	str	r2, [r3, #24]
	ldr	r3, .L38+4
	mov	r2, #4
	str	r2, [r3, #120]
	ldr	r3, .L38+4
	mov	r2, #0
	str	r2, [r3, #124]
	ldr	r3, .L38+4
	mov	r2, #2
	str	r2, [r3, #128]
	ldr	r3, .L38+4
	mov	r2, #0
	str	r2, [r3, #132]
	ldr	r3, .L38+4
	mov	r2, #0
	str	r2, [r3, #136]
	ldr	r3, .L38+4
	mov	r2, #0
	str	r2, [r3, #140]
	ldr	r3, .L38+4
	mov	r2, #0
	str	r2, [r3, #144]
	ldr	r3, .L38+4
	mov	r2, #4
	str	r2, [r3, #240]
	ldr	r3, .L38+4
	mov	r2, #2
	str	r2, [r3, #244]
	ldr	r3, .L38+4
	mov	r2, #0
	str	r2, [r3, #248]
	ldr	r3, .L38+4
	mov	r2, #3
	str	r2, [r3, #252]
	ldr	r3, .L38+4
	mov	r2, #4
	str	r2, [r3, #256]
	ldr	r3, .L38+4
	mov	r2, #0
	str	r2, [r3, #260]
	ldr	r3, .L38+4
	mov	r2, #0
	str	r2, [r3, #264]
	ldr	r3, .L38+4
	mov	r2, #0
	str	r2, [r3, #360]
	ldr	r3, .L38+4
	mov	r2, #0
	str	r2, [r3, #364]
	ldr	r3, .L38+4
	mov	r2, #3
	str	r2, [r3, #368]
	ldr	r3, .L38+4
	mov	r2, #0
	str	r2, [r3, #372]
	ldr	r3, .L38+4
	mov	r2, #3
	str	r2, [r3, #376]
	ldr	r3, .L38+4
	mov	r2, #0
	str	r2, [r3, #380]
	ldr	r3, .L38+4
	mov	r2, #0
	str	r2, [r3, #384]
	ldr	r3, .L38+4
	mov	r2, #0
	str	r2, [r3, #480]
	ldr	r3, .L38+4
	mov	r2, #0
	str	r2, [r3, #484]
	ldr	r3, .L38+4
	mov	r2, #4
	str	r2, [r3, #488]
	ldr	r3, .L38+4
	mov	r2, #3
	str	r2, [r3, #492]
	ldr	r3, .L38+4
	mov	r2, #0
	str	r2, [r3, #496]
	ldr	r3, .L38+4
	mov	r2, #0
	str	r2, [r3, #500]
	ldr	r3, .L38+4
	mov	r2, #0
	str	r2, [r3, #504]
	ldr	r3, .L38+4
	mov	r2, #0
	str	r2, [r3, #600]
	ldr	r3, .L38+4
	mov	r2, #0
	str	r2, [r3, #604]
	ldr	r3, .L38+4
	mov	r2, #2
	str	r2, [r3, #608]
	ldr	r3, .L38+4
	mov	r2, #0
	str	r2, [r3, #612]
	ldr	r3, .L38+4
	mov	r2, #3
	str	r2, [r3, #616]
	ldr	r3, .L38+4
	mov	r2, #0
	str	r2, [r3, #620]
	ldr	r3, .L38+4
	mov	r2, #0
	str	r2, [r3, #624]
	bl	kruskalAlgo
	bl	print
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
.L39:
	.align	2
.L38:
	.word	n
	.word	Graph
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
