	.file	"124344.c"
	.intel_syntax noprefix
	.text
	.globl	elist
	.bss
	.align 32
	.type	elist, @object
	.size	elist, 364
elist:
	.zero	364
	.globl	G
	.align 32
	.type	G, @object
	.size	G, 3600
G:
	.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
	.section	.rodata
.LC0:
	.string	"\nEnter number of vertices:"
.LC1:
	.string	"%d"
.LC2:
	.string	"\nEnter the adjacency matrix:"
	.text
	.globl	main
	.type	main, @function
main:
.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, 16
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, n[rip]
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC2[rip]
	call	puts@PLT
	mov	DWORD PTR -8[rbp], 0
	jmp	.L2
.L5:
	mov	DWORD PTR -4[rbp], 0
	jmp	.L3
.L4:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -8[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, G[rip]
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	add	DWORD PTR -4[rbp], 1
.L3:
	mov	eax, DWORD PTR n[rip]
	cmp	DWORD PTR -4[rbp], eax
	jl	.L4
	add	DWORD PTR -8[rbp], 1
.L2:
	mov	eax, DWORD PTR n[rip]
	cmp	DWORD PTR -8[rbp], eax
	jl	.L5
	mov	eax, 0
	call	kruskal
	mov	eax, 0
	call	print
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	kruskal
	.type	kruskal, @function
kruskal:
.LFB1:
	.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	.L7
.L11:
	mov	DWORD PTR -140[rbp], 0
	jmp	.L8
.L10:
	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, G[rip]
	mov	eax, DWORD PTR [rdx+rax]
	test	eax, eax
	je	.L9
	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, G[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
.L9:
	add	DWORD PTR -140[rbp], 1
.L8:
	mov	eax, DWORD PTR -140[rbp]
	cmp	eax, DWORD PTR -144[rbp]
	jl	.L10
	add	DWORD PTR -144[rbp], 1
.L7:
	mov	eax, DWORD PTR n[rip]
	cmp	DWORD PTR -144[rbp], eax
	jl	.L11
	mov	eax, 0
	call	sort
	mov	DWORD PTR -144[rbp], 0
	jmp	.L12
.L13:
	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
.L12:
	mov	eax, DWORD PTR n[rip]
	cmp	DWORD PTR -144[rbp], eax
	jl	.L13
	mov	DWORD PTR spanlist[rip+360], 0
	mov	DWORD PTR -144[rbp], 0
	jmp	.L14
.L16:
	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	.L15
	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	union1
.L15:
	add	DWORD PTR -144[rbp], 1
.L14:
	mov	eax, DWORD PTR elist[rip+360]
	cmp	DWORD PTR -144[rbp], eax
	jl	.L16
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L17
	call	__stack_chk_fail@PLT
.L17:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	kruskal, .-kruskal
	.globl	find
	.type	find, @function
find:
.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 -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
.LFE2:
	.size	find, .-find
	.globl	union1
	.type	union1, @function
union1:
.LFB3:
	.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	.L21
.L23:
	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	.L22
	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
.L22:
	add	DWORD PTR -4[rbp], 1
.L21:
	mov	eax, DWORD PTR n[rip]
	cmp	DWORD PTR -4[rbp], eax
	jl	.L23
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	union1, .-union1
	.globl	sort
	.type	sort, @function
sort:
.LFB4:
	.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	.L25
.L29:
	mov	DWORD PTR -16[rbp], 0
	jmp	.L26
.L28:
	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	.L27
	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
.L27:
	add	DWORD PTR -16[rbp], 1
.L26:
	mov	eax, DWORD PTR elist[rip+360]
	sub	eax, 1
	cmp	DWORD PTR -16[rbp], eax
	jl	.L28
	add	DWORD PTR -20[rbp], 1
.L25:
	mov	eax, DWORD PTR elist[rip+360]
	cmp	DWORD PTR -20[rbp], eax
	jl	.L29
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	sort, .-sort
	.section	.rodata
.LC3:
	.string	"\n%d\t%d\t%d"
	.align 8
.LC4:
	.string	"\n\nCost of the spanning tree=%d"
	.text
	.globl	print
	.type	print, @function
print:
.LFB5:
	.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	.L31
.L32:
	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, .LC3[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
.L31:
	mov	eax, DWORD PTR spanlist[rip+360]
	cmp	DWORD PTR -8[rbp], eax
	jl	.L32
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	print, .-print
	.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	"124344.c"
	.text
	.comm	elist,364,4
	.comm	G,3600,4
	.comm	n,4,4
	.comm	spanlist,364,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\012Enter number of vertices:\000"
	.align	2
.LC1:
	.ascii	"%d\000"
	.align	2
.LC2:
	.ascii	"\012Enter the adjacency matrix:\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r0, .L6
	bl	printf
	ldr	r1, .L6+4
	ldr	r0, .L6+8
	bl	__isoc99_scanf
	ldr	r0, .L6+12
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L2
.L5:
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L3
.L4:
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-8]
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, .L6+16
	add	r3, r3, r2
	mov	r1, r3
	ldr	r0, .L6+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L3:
	ldr	r3, .L6+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L4
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L2:
	ldr	r3, .L6+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	blt	.L5
	bl	kruskal
	bl	print
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L7:
	.align	2
.L6:
	.word	.LC0
	.word	n
	.word	.LC1
	.word	.LC2
	.word	G
	.size	main, .-main
	.section	.rodata
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	kruskal
	.syntax unified
	.arm
	.fpu softvfp
	.type	kruskal, %function
kruskal:
	@ 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, .L20
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L20+4
	mov	r2, #0
	str	r2, [r3, #360]
	mov	r3, #1
	str	r3, [fp, #-144]
	b	.L9
.L13:
	mov	r3, #0
	str	r3, [fp, #-140]
	b	.L10
.L12:
	ldr	r1, .L20+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	.L11
	ldr	r3, .L20+4
	ldr	r2, [r3, #360]
	ldr	r1, .L20+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, .L20+4
	ldr	r2, [r3, #360]
	ldr	r1, .L20+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, .L20+4
	ldr	r2, [r3, #360]
	ldr	r0, .L20+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, .L20+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, .L20+4
	ldr	r3, [r3, #360]
	add	r3, r3, #1
	ldr	r2, .L20+4
	str	r3, [r2, #360]
.L11:
	ldr	r3, [fp, #-140]
	add	r3, r3, #1
	str	r3, [fp, #-140]
.L10:
	ldr	r2, [fp, #-140]
	ldr	r3, [fp, #-144]
	cmp	r2, r3
	blt	.L12
	ldr	r3, [fp, #-144]
	add	r3, r3, #1
	str	r3, [fp, #-144]
.L9:
	ldr	r3, .L20+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-144]
	cmp	r2, r3
	blt	.L13
	bl	sort
	mov	r3, #0
	str	r3, [fp, #-144]
	b	.L14
.L15:
	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]
.L14:
	ldr	r3, .L20+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-144]
	cmp	r2, r3
	blt	.L15
	ldr	r3, .L20+16
	mov	r2, #0
	str	r2, [r3, #360]
	mov	r3, #0
	str	r3, [fp, #-144]
	b	.L16
.L18:
	ldr	r1, .L20+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, .L20+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	.L17
	ldr	r3, .L20+16
	ldr	r2, [r3, #360]
	ldr	r1, .L20+16
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r0, r1, r3
	ldr	r1, .L20+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, .L20+16
	ldr	r3, [r3, #360]
	add	r3, r3, #1
	ldr	r2, .L20+16
	str	r3, [r2, #360]
	sub	r3, fp, #128
	ldr	r2, [fp, #-132]
	ldr	r1, [fp, #-136]
	mov	r0, r3
	bl	union1
.L17:
	ldr	r3, [fp, #-144]
	add	r3, r3, #1
	str	r3, [fp, #-144]
.L16:
	ldr	r3, .L20+4
	ldr	r3, [r3, #360]
	ldr	r2, [fp, #-144]
	cmp	r2, r3
	blt	.L18
	nop
	ldr	r3, .L20
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L19
	bl	__stack_chk_fail
.L19:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L21:
	.align	2
.L20:
	.word	.LC3
	.word	elist
	.word	G
	.word	n
	.word	spanlist
	.size	kruskal, .-kruskal
	.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	union1
	.syntax unified
	.arm
	.fpu softvfp
	.type	union1, %function
union1:
	@ 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	.L25
.L27:
	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	.L26
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [fp, #-20]
	str	r2, [r3]
.L26:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L25:
	ldr	r3, .L28
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L27
	nop
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L29:
	.align	2
.L28:
	.word	n
	.size	union1, .-union1
	.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	.L31
.L35:
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L32
.L34:
	ldr	r1, .L36
	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, .L36
	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	.L33
	ldr	r1, .L36
	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, .L36
	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, .L36
	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, .L36
	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}
.L33:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L32:
	ldr	r3, .L36
	ldr	r3, [r3, #360]
	sub	r3, r3, #1
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	blt	.L34
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L31:
	ldr	r3, .L36
	ldr	r3, [r3, #360]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	blt	.L35
	nop
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L37:
	.align	2
.L36:
	.word	elist
	.size	sort, .-sort
	.section	.rodata
	.align	2
.LC4:
	.ascii	"\012%d\011%d\011%d\000"
	.align	2
.LC5:
	.ascii	"\012\012Cost of the spanning tree=%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	.L39
.L40:
	ldr	r1, .L41
	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, .L41
	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, .L41
	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, .L41+4
	bl	printf
	ldr	r1, .L41
	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]
.L39:
	ldr	r3, .L41
	ldr	r3, [r3, #360]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	blt	.L40
	ldr	r1, [fp, #-8]
	ldr	r0, .L41+8
	bl	printf
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L42:
	.align	2
.L41:
	.word	spanlist
	.word	.LC4
	.word	.LC5
	.size	print, .-print
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
