	.file	"6297.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"%d :"
.LC1:
	.string	"%d "
	.text
	.globl	print
	.type	print, @function
print:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -8[rbp], 0
	jmp	.L2
.L7:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	imul	rdx, rax, 808
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR 804[rax]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -4[rbp], 0
	jmp	.L3
.L6:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	imul	rdx, rax, 808
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	rax, QWORD PTR [rdx+rax*8]
	mov	rax, QWORD PTR [rax]
	mov	edx, DWORD PTR 804[rax]
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	imul	rcx, rax, 808
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rcx
	mov	eax, DWORD PTR 804[rax]
	cmp	edx, eax
	jne	.L4
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	imul	rdx, rax, 808
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	rax, QWORD PTR [rdx+rax*8]
	mov	rax, QWORD PTR 8[rax]
	mov	eax, DWORD PTR 804[rax]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L5
.L4:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	imul	rdx, rax, 808
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	rax, QWORD PTR [rdx+rax*8]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 804[rax]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
.L5:
	add	DWORD PTR -4[rbp], 1
.L3:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	imul	rdx, rax, 808
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR 800[rax]
	cmp	DWORD PTR -4[rbp], eax
	jl	.L6
	mov	edi, 10
	call	putchar@PLT
	add	DWORD PTR -8[rbp], 1
.L2:
	cmp	DWORD PTR -8[rbp], 9
	jle	.L7
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	print, .-print
	.section	.rodata
.LC2:
	.string	"(%p)%d \t(%p)%d\t"
.LC3:
	.string	"w:%d(%p)\n"
	.text
	.globl	printEdge
	.type	printEdge, @function
printEdge:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -4[rbp], 0
	jmp	.L9
.L10:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR 8[rax]
	mov	edi, DWORD PTR 804[rax]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	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, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	edx, DWORD PTR 804[rax]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rsi, eax
	mov	rax, rsi
	add	rax, rax
	add	rax, rsi
	sal	rax, 3
	mov	rsi, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rsi
	mov	rax, QWORD PTR [rax]
	mov	r8d, edi
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 3
	mov	rcx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rcx
	mov	eax, DWORD PTR 16[rax]
	sub	rsp, 8
	push	QWORD PTR 16[rdx]
	push	QWORD PTR 8[rdx]
	push	QWORD PTR [rdx]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	add	rsp, 32
	add	DWORD PTR -4[rbp], 1
.L9:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L10
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	printEdge, .-printEdge
	.globl	isTree
	.type	isTree, @function
isTree:
.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, 96
	mov	QWORD PTR -88[rbp], rdi
	mov	DWORD PTR -92[rbp], esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -68[rbp], 1
	mov	DWORD PTR -80[rbp], 0
	jmp	.L13
.L14:
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	mov	DWORD PTR -64[rbp+rax*4], 0
	add	DWORD PTR -80[rbp], 1
.L13:
	cmp	DWORD PTR -80[rbp], 10
	jle	.L14
	mov	DWORD PTR -76[rbp], 0
	jmp	.L15
.L24:
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	imul	rdx, rax, 808
	mov	rax, QWORD PTR -88[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	mov	rax, QWORD PTR [rdx+rax*8]
	test	rax, rax
	je	.L27
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	imul	rdx, rax, 808
	mov	rax, QWORD PTR -88[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	mov	rax, QWORD PTR [rdx+rax*8]
	mov	rax, QWORD PTR [rax]
	mov	edx, DWORD PTR 804[rax]
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	imul	rcx, rax, 808
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rcx
	mov	eax, DWORD PTR 804[rax]
	cmp	edx, eax
	jne	.L17
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	imul	rdx, rax, 808
	mov	rax, QWORD PTR -88[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	mov	rax, QWORD PTR [rdx+rax*8]
	mov	rax, QWORD PTR 8[rax]
	mov	eax, DWORD PTR 804[rax]
	movsx	rdx, eax
	mov	edx, DWORD PTR -64[rbp+rdx*4]
	add	edx, 1
	cdqe
	mov	DWORD PTR -64[rbp+rax*4], edx
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	imul	rdx, rax, 808
	mov	rax, QWORD PTR -88[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	mov	rax, QWORD PTR [rdx+rax*8]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 804[rax]
	cdqe
	mov	DWORD PTR -64[rbp+rax*4], 1
	jmp	.L18
.L17:
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	imul	rdx, rax, 808
	mov	rax, QWORD PTR -88[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	mov	rax, QWORD PTR [rdx+rax*8]
	mov	rax, QWORD PTR 8[rax]
	mov	edx, DWORD PTR 804[rax]
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	imul	rcx, rax, 808
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rcx
	mov	eax, DWORD PTR 804[rax]
	cmp	edx, eax
	jne	.L18
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	imul	rdx, rax, 808
	mov	rax, QWORD PTR -88[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	mov	rax, QWORD PTR [rdx+rax*8]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 804[rax]
	movsx	rdx, eax
	mov	edx, DWORD PTR -64[rbp+rdx*4]
	add	edx, 1
	cdqe
	mov	DWORD PTR -64[rbp+rax*4], edx
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	imul	rdx, rax, 808
	mov	rax, QWORD PTR -88[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	mov	rax, QWORD PTR [rdx+rax*8]
	mov	rax, QWORD PTR 8[rax]
	mov	eax, DWORD PTR 804[rax]
	cdqe
	mov	DWORD PTR -64[rbp+rax*4], 1
.L18:
	mov	DWORD PTR -72[rbp], 1
	jmp	.L19
.L22:
	mov	eax, DWORD PTR -72[rbp]
	cdqe
	mov	eax, DWORD PTR -64[rbp+rax*4]
	cmp	eax, 2
	jne	.L20
	mov	eax, 0
	jmp	.L25
.L20:
	add	DWORD PTR -72[rbp], 1
.L19:
	cmp	DWORD PTR -72[rbp], 10
	jle	.L22
	jmp	.L23
.L27:
	nop
.L23:
	add	DWORD PTR -76[rbp], 1
.L15:
	cmp	DWORD PTR -76[rbp], 9
	jle	.L24
	mov	eax, 1
.L25:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L26
	call	__stack_chk_fail@PLT
.L26:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	isTree, .-isTree
	.globl	isForest
	.type	isForest, @function
isForest:
.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 -24[rbp], rdi
	mov	DWORD PTR -4[rbp], 0
	jmp	.L29
.L32:
	mov	edx, DWORD PTR -4[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	isTree
	mov	DWORD PTR -8[rbp], eax
	cmp	DWORD PTR -8[rbp], 0
	jne	.L30
	mov	eax, DWORD PTR -8[rbp]
	jmp	.L31
.L30:
	add	DWORD PTR -4[rbp], 1
.L29:
	cmp	DWORD PTR -4[rbp], 9
	jle	.L32
	mov	eax, DWORD PTR -8[rbp]
.L31:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	isForest, .-isForest
	.section	.rodata
	.align 8
.LC4:
	.string	"---------------------------------------------------\n"
	.align 8
.LC5:
	.string	"==============================================================\n"
	.text
	.globl	Kruskal
	.type	Kruskal, @function
Kruskal:
.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, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 2592
	mov	QWORD PTR -10760[rbp], rdi
	mov	QWORD PTR -10768[rbp], rsi
	mov	DWORD PTR -10772[rbp], edx
	mov	QWORD PTR -10784[rbp], rcx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -10752[rbp], 99999
	mov	DWORD PTR -10744[rbp], 0
	jmp	.L34
.L35:
	mov	eax, DWORD PTR -10744[rbp]
	cdqe
	mov	DWORD PTR -10704[rbp+rax*4], 1
	add	DWORD PTR -10744[rbp], 1
.L34:
	cmp	DWORD PTR -10744[rbp], 49
	jle	.L35
	mov	DWORD PTR -10740[rbp], 0
	jmp	.L36
.L40:
	mov	DWORD PTR -10752[rbp], 99999
	mov	DWORD PTR -10736[rbp], 0
	jmp	.L37
.L39:
	mov	eax, DWORD PTR -10736[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -10768[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR 16[rax]
	cmp	DWORD PTR -10752[rbp], eax
	jle	.L38
	mov	eax, DWORD PTR -10736[rbp]
	cdqe
	mov	eax, DWORD PTR -10704[rbp+rax*4]
	test	eax, eax
	je	.L38
	mov	eax, DWORD PTR -10736[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -10768[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR 16[rax]
	mov	DWORD PTR -10752[rbp], eax
	mov	eax, DWORD PTR -10736[rbp]
	mov	DWORD PTR -10748[rbp], eax
.L38:
	add	DWORD PTR -10736[rbp], 1
.L37:
	mov	eax, DWORD PTR -10736[rbp]
	cmp	eax, DWORD PTR -10772[rbp]
	jl	.L39
	mov	eax, DWORD PTR -10748[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -10768[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR 16[rax]
	mov	eax, DWORD PTR -10740[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 9280
	mov	DWORD PTR [rax], edx
	mov	eax, DWORD PTR -10748[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -10768[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -10740[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 9296
	mov	QWORD PTR [rax], rdx
	mov	eax, DWORD PTR -10748[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -10768[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR 8[rax]
	mov	eax, DWORD PTR -10740[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 9288
	mov	QWORD PTR [rax], rdx
	mov	eax, DWORD PTR -10748[rbp]
	cdqe
	mov	DWORD PTR -10704[rbp+rax*4], 0
	add	DWORD PTR -10740[rbp], 1
.L36:
	mov	eax, DWORD PTR -10740[rbp]
	cmp	eax, DWORD PTR -10772[rbp]
	jl	.L40
	mov	DWORD PTR -10732[rbp], 0
	jmp	.L41
.L43:
	mov	eax, DWORD PTR -10732[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 9296
	mov	rax, QWORD PTR [rax]
	mov	ecx, DWORD PTR 804[rax]
	mov	eax, DWORD PTR -10732[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 9288
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 804[rax]
	cmp	ecx, eax
	jle	.L42
	mov	eax, DWORD PTR -10732[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 9296
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -10712[rbp], rax
	mov	eax, DWORD PTR -10732[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 9288
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -10732[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 9296
	mov	QWORD PTR [rax], rdx
	mov	eax, DWORD PTR -10732[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rbp
	lea	rdx, -9288[rax]
	mov	rax, QWORD PTR -10712[rbp]
	mov	QWORD PTR [rdx], rax
.L42:
	add	DWORD PTR -10732[rbp], 1
.L41:
	mov	eax, DWORD PTR -10732[rbp]
	cmp	eax, DWORD PTR -10772[rbp]
	jl	.L43
	mov	edx, DWORD PTR -10772[rbp]
	lea	rax, -9296[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	printEdge
	lea	rdi, .LC4[rip]
	call	puts@PLT
	mov	DWORD PTR -10728[rbp], 0
	mov	DWORD PTR -10716[rbp], 0
	mov	DWORD PTR -10724[rbp], 0
	jmp	.L44
.L45:
	mov	eax, DWORD PTR -10724[rbp]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR -10724[rbp]
	cdqe
	imul	rax, rax, 808
	add	rax, rbp
	sub	rax, 7292
	mov	DWORD PTR [rax], edx
	mov	eax, DWORD PTR -10724[rbp]
	cdqe
	imul	rax, rax, 808
	add	rax, rbp
	sub	rax, 7296
	mov	DWORD PTR [rax], 0
	add	DWORD PTR -10724[rbp], 1
.L44:
	cmp	DWORD PTR -10724[rbp], 9
	jle	.L45
	mov	DWORD PTR -10720[rbp], 0
	jmp	.L46
.L50:
	mov	eax, DWORD PTR -10720[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 9296
	mov	rax, QWORD PTR [rax]
	mov	ecx, DWORD PTR 804[rax]
	mov	eax, DWORD PTR -10720[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 9288
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 804[rax]
	cmp	ecx, eax
	je	.L53
	mov	eax, DWORD PTR -10720[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 9296
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 804[rax]
	lea	edi, -1[rax]
	mov	eax, DWORD PTR -10720[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 9296
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 804[rax]
	sub	eax, 1
	cdqe
	imul	rax, rax, 808
	add	rax, rbp
	sub	rax, 7296
	mov	esi, DWORD PTR [rax]
	lea	rcx, -9296[rbp]
	mov	eax, DWORD PTR -10720[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rcx, rax
	movsx	rsi, esi
	movsx	rdx, edi
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdi, 0[0+rax*4]
	add	rax, rdi
	sal	rax, 2
	add	rax, rdx
	add	rax, rsi
	mov	QWORD PTR -8096[rbp+rax*8], rcx
	mov	eax, DWORD PTR -10720[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 9296
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 804[rax]
	sub	eax, 1
	movsx	rdx, eax
	imul	rdx, rdx, 808
	add	rdx, rbp
	sub	rdx, 7296
	mov	edx, DWORD PTR [rdx]
	add	edx, 1
	cdqe
	imul	rax, rax, 808
	add	rax, rbp
	sub	rax, 7296
	mov	DWORD PTR [rax], edx
	mov	eax, DWORD PTR -10720[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 9288
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 804[rax]
	lea	edi, -1[rax]
	mov	eax, DWORD PTR -10720[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 9288
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 804[rax]
	sub	eax, 1
	cdqe
	imul	rax, rax, 808
	add	rax, rbp
	sub	rax, 7296
	mov	esi, DWORD PTR [rax]
	lea	rcx, -9296[rbp]
	mov	eax, DWORD PTR -10720[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rcx, rax
	movsx	rsi, esi
	movsx	rdx, edi
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdi, 0[0+rax*4]
	add	rax, rdi
	sal	rax, 2
	add	rax, rdx
	add	rax, rsi
	mov	QWORD PTR -8096[rbp+rax*8], rcx
	mov	eax, DWORD PTR -10720[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 9288
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 804[rax]
	sub	eax, 1
	movsx	rdx, eax
	imul	rdx, rdx, 808
	add	rdx, rbp
	sub	rdx, 7296
	mov	edx, DWORD PTR [rdx]
	add	edx, 1
	cdqe
	imul	rax, rax, 808
	add	rax, rbp
	sub	rax, 7296
	mov	DWORD PTR [rax], edx
	lea	rax, -8096[rbp]
	mov	rdi, rax
	call	isForest
	test	eax, eax
	je	.L49
	mov	eax, DWORD PTR -10728[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -10784[rbp]
	lea	rcx, [rdx+rax]
	lea	rsi, -9296[rbp]
	mov	eax, DWORD PTR -10720[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rsi
	mov	QWORD PTR [rcx], rax
	mov	eax, DWORD PTR -10720[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 9280
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -10728[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 10480
	mov	DWORD PTR [rax], edx
	mov	eax, DWORD PTR -10720[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 9296
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -10728[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 10496
	mov	QWORD PTR [rax], rdx
	mov	eax, DWORD PTR -10720[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 9288
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -10728[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 10488
	mov	QWORD PTR [rax], rdx
	add	DWORD PTR -10728[rbp], 1
	jmp	.L48
.L49:
	mov	eax, DWORD PTR -10720[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 9296
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 804[rax]
	sub	eax, 1
	movsx	rdx, eax
	imul	rdx, rdx, 808
	add	rdx, rbp
	sub	rdx, 7296
	mov	edx, DWORD PTR [rdx]
	sub	edx, 1
	cdqe
	imul	rax, rax, 808
	add	rax, rbp
	sub	rax, 7296
	mov	DWORD PTR [rax], edx
	mov	eax, DWORD PTR -10720[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 9288
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 804[rax]
	sub	eax, 1
	movsx	rdx, eax
	imul	rdx, rdx, 808
	add	rdx, rbp
	sub	rdx, 7296
	mov	edx, DWORD PTR [rdx]
	sub	edx, 1
	cdqe
	imul	rax, rax, 808
	add	rax, rbp
	sub	rax, 7296
	mov	DWORD PTR [rax], edx
	jmp	.L48
.L53:
	nop
.L48:
	add	DWORD PTR -10720[rbp], 1
.L46:
	mov	eax, DWORD PTR -10720[rbp]
	cmp	eax, DWORD PTR -10772[rbp]
	jl	.L50
	lea	rdi, .LC5[rip]
	call	puts@PLT
	mov	edx, DWORD PTR -10728[rbp]
	lea	rax, -10496[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	printEdge
	lea	rdi, .LC5[rip]
	call	puts@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L52
	call	__stack_chk_fail@PLT
.L52:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	Kruskal, .-Kruskal
	.globl	isTreePrim
	.type	isTreePrim, @function
isTreePrim:
.LFB11:
	.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	QWORD PTR -24[rbp], rdx
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	isTreePrim, .-isTreePrim
	.globl	check
	.type	check, @function
check:
.LFB12:
	.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 -4[rbp], 0
	jmp	.L56
.L59:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cmp	eax, 1
	jne	.L57
	mov	eax, 0
	jmp	.L58
.L57:
	add	DWORD PTR -4[rbp], 1
.L56:
	cmp	DWORD PTR -4[rbp], 9
	jle	.L59
	mov	eax, 1
.L58:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	check, .-check
	.section	.rodata
	.align 8
.LC6:
	.string	"\n=============================================================="
	.text
	.globl	prim
	.type	prim, @function
prim:
.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, 2784
	mov	QWORD PTR -2760[rbp], rdi
	mov	QWORD PTR -2768[rbp], rsi
	mov	DWORD PTR -2772[rbp], edx
	mov	QWORD PTR -2784[rbp], rcx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -2740[rbp], 99999
	mov	DWORD PTR -2732[rbp], 0
	jmp	.L61
.L62:
	mov	eax, DWORD PTR -2732[rbp]
	cdqe
	mov	DWORD PTR -2624[rbp+rax*4], 1
	add	DWORD PTR -2732[rbp], 1
.L61:
	cmp	DWORD PTR -2732[rbp], 49
	jle	.L62
	mov	DWORD PTR -2728[rbp], 0
	jmp	.L63
.L67:
	mov	DWORD PTR -2740[rbp], 99999
	mov	DWORD PTR -2724[rbp], 0
	jmp	.L64
.L66:
	mov	eax, DWORD PTR -2724[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -2768[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR 16[rax]
	cmp	DWORD PTR -2740[rbp], eax
	jle	.L65
	mov	eax, DWORD PTR -2724[rbp]
	cdqe
	mov	eax, DWORD PTR -2624[rbp+rax*4]
	test	eax, eax
	je	.L65
	mov	eax, DWORD PTR -2724[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -2768[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR 16[rax]
	mov	DWORD PTR -2740[rbp], eax
	mov	eax, DWORD PTR -2724[rbp]
	mov	DWORD PTR -2736[rbp], eax
.L65:
	add	DWORD PTR -2724[rbp], 1
.L64:
	mov	eax, DWORD PTR -2724[rbp]
	cmp	eax, DWORD PTR -2772[rbp]
	jl	.L66
	mov	eax, DWORD PTR -2736[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -2768[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR 16[rax]
	mov	eax, DWORD PTR -2728[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 2400
	mov	DWORD PTR [rax], edx
	mov	eax, DWORD PTR -2736[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -2768[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -2728[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 2416
	mov	QWORD PTR [rax], rdx
	mov	eax, DWORD PTR -2736[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -2768[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR 8[rax]
	mov	eax, DWORD PTR -2728[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 2408
	mov	QWORD PTR [rax], rdx
	mov	eax, DWORD PTR -2736[rbp]
	cdqe
	mov	DWORD PTR -2624[rbp+rax*4], 0
	add	DWORD PTR -2728[rbp], 1
.L63:
	mov	eax, DWORD PTR -2728[rbp]
	cmp	eax, DWORD PTR -2772[rbp]
	jl	.L67
	mov	DWORD PTR -2720[rbp], 0
	jmp	.L68
.L70:
	mov	eax, DWORD PTR -2720[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 2416
	mov	rax, QWORD PTR [rax]
	mov	ecx, DWORD PTR 804[rax]
	mov	eax, DWORD PTR -2720[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 2408
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 804[rax]
	cmp	ecx, eax
	jle	.L69
	mov	eax, DWORD PTR -2720[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 2416
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -2680[rbp], rax
	mov	eax, DWORD PTR -2720[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 2408
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -2720[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 2416
	mov	QWORD PTR [rax], rdx
	mov	eax, DWORD PTR -2720[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rbp
	lea	rdx, -2408[rax]
	mov	rax, QWORD PTR -2680[rbp]
	mov	QWORD PTR [rdx], rax
.L69:
	add	DWORD PTR -2720[rbp], 1
.L68:
	mov	eax, DWORD PTR -2720[rbp]
	cmp	eax, DWORD PTR -2772[rbp]
	jl	.L70
	mov	edx, DWORD PTR -2772[rbp]
	lea	rax, -2416[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	printEdge
	lea	rdi, .LC4[rip]
	call	puts@PLT
	mov	QWORD PTR -2672[rbp], 0
	mov	QWORD PTR -2664[rbp], 0
	mov	QWORD PTR -2656[rbp], 0
	mov	QWORD PTR -2648[rbp], 0
	mov	QWORD PTR -2640[rbp], 0
	mov	DWORD PTR -2716[rbp], 0
	jmp	.L71
.L72:
	mov	eax, DWORD PTR -2716[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -2768[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 804[rax]
	sub	eax, 1
	cdqe
	mov	DWORD PTR -2672[rbp+rax*4], 1
	mov	eax, DWORD PTR -2716[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -2768[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR 8[rax]
	mov	eax, DWORD PTR 804[rax]
	sub	eax, 1
	cdqe
	mov	DWORD PTR -2672[rbp+rax*4], 1
	add	DWORD PTR -2716[rbp], 1
.L71:
	mov	eax, DWORD PTR -2716[rbp]
	cmp	eax, DWORD PTR -2772[rbp]
	jl	.L72
	mov	DWORD PTR -2712[rbp], 0
	mov	DWORD PTR -2708[rbp], 0
	jmp	.L73
.L75:
	mov	eax, DWORD PTR -2708[rbp]
	cdqe
	mov	eax, DWORD PTR -2672[rbp+rax*4]
	cmp	eax, 1
	jne	.L74
	add	DWORD PTR -2712[rbp], 1
.L74:
	add	DWORD PTR -2708[rbp], 1
.L73:
	cmp	DWORD PTR -2708[rbp], 9
	jle	.L75
	mov	DWORD PTR -2704[rbp], 0
	mov	DWORD PTR -2700[rbp], 0
	jmp	.L76
.L77:
	add	DWORD PTR -2700[rbp], 1
.L76:
	mov	eax, DWORD PTR -2700[rbp]
	cdqe
	mov	eax, DWORD PTR -2672[rbp+rax*4]
	test	eax, eax
	je	.L77
	mov	eax, DWORD PTR -2700[rbp]
	cdqe
	mov	eax, DWORD PTR -2672[rbp+rax*4]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR -2700[rbp]
	cdqe
	mov	DWORD PTR -2672[rbp+rax*4], edx
	mov	DWORD PTR -2696[rbp], 1
	mov	eax, DWORD PTR -2700[rbp]
	add	eax, 1
	mov	DWORD PTR -2684[rbp], eax
	jmp	.L78
.L91:
	mov	DWORD PTR -2692[rbp], 0
	jmp	.L79
.L89:
	mov	eax, DWORD PTR -2692[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 2416
	mov	rax, QWORD PTR [rax]
	mov	edx, DWORD PTR 804[rax]
	mov	rax, QWORD PTR -2408[rbp]
	mov	eax, DWORD PTR 804[rax]
	cmp	edx, eax
	je	.L93
	mov	DWORD PTR -2688[rbp], 0
	jmp	.L82
.L87:
	mov	eax, DWORD PTR -2688[rbp]
	cdqe
	mov	eax, DWORD PTR -2672[rbp+rax*4]
	cmp	eax, 2
	jne	.L83
	mov	eax, DWORD PTR -2688[rbp]
	add	eax, 1
	mov	DWORD PTR -2684[rbp], eax
	mov	eax, DWORD PTR -2692[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 2416
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 804[rax]
	cmp	DWORD PTR -2684[rbp], eax
	jne	.L84
	mov	eax, DWORD PTR -2692[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 2408
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 804[rax]
	sub	eax, 1
	cdqe
	mov	eax, DWORD PTR -2672[rbp+rax*4]
	cmp	eax, 2
	je	.L84
	mov	eax, DWORD PTR -2704[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -2784[rbp]
	lea	rcx, [rdx+rax]
	lea	rsi, -2416[rbp]
	mov	eax, DWORD PTR -2692[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rsi
	mov	QWORD PTR [rcx], rax
	mov	eax, DWORD PTR -2692[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 2400
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -2704[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 1200
	mov	DWORD PTR [rax], edx
	mov	eax, DWORD PTR -2692[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 2416
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -2704[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 1216
	mov	QWORD PTR [rax], rdx
	mov	eax, DWORD PTR -2692[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 2408
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -2704[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 1208
	mov	QWORD PTR [rax], rdx
	add	DWORD PTR -2704[rbp], 1
	mov	eax, DWORD PTR -2692[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 2408
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 804[rax]
	sub	eax, 1
	movsx	rdx, eax
	mov	edx, DWORD PTR -2672[rbp+rdx*4]
	add	edx, 1
	cdqe
	mov	DWORD PTR -2672[rbp+rax*4], edx
	add	DWORD PTR -2696[rbp], 1
	jmp	.L85
.L84:
	mov	eax, DWORD PTR -2692[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 2408
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 804[rax]
	cmp	DWORD PTR -2684[rbp], eax
	jne	.L83
	mov	eax, DWORD PTR -2692[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 2416
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 804[rax]
	sub	eax, 1
	cdqe
	mov	eax, DWORD PTR -2672[rbp+rax*4]
	cmp	eax, 2
	je	.L83
	mov	eax, DWORD PTR -2704[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -2784[rbp]
	lea	rcx, [rdx+rax]
	lea	rsi, -2416[rbp]
	mov	eax, DWORD PTR -2692[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rsi
	mov	QWORD PTR [rcx], rax
	mov	eax, DWORD PTR -2692[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 2400
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -2704[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 1200
	mov	DWORD PTR [rax], edx
	mov	eax, DWORD PTR -2692[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 2416
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -2704[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 1216
	mov	QWORD PTR [rax], rdx
	mov	eax, DWORD PTR -2692[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 2408
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -2704[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 1208
	mov	QWORD PTR [rax], rdx
	add	DWORD PTR -2704[rbp], 1
	mov	eax, DWORD PTR -2692[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 2416
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 804[rax]
	sub	eax, 1
	movsx	rdx, eax
	mov	edx, DWORD PTR -2672[rbp+rdx*4]
	add	edx, 1
	cdqe
	mov	DWORD PTR -2672[rbp+rax*4], edx
	add	DWORD PTR -2696[rbp], 1
	jmp	.L85
.L83:
	mov	eax, DWORD PTR -2696[rbp]
	cmp	eax, DWORD PTR -2712[rbp]
	je	.L94
	add	DWORD PTR -2688[rbp], 1
.L82:
	cmp	DWORD PTR -2688[rbp], 9
	jle	.L87
	jmp	.L85
.L94:
	nop
.L85:
	mov	eax, DWORD PTR -2696[rbp]
	cmp	eax, DWORD PTR -2712[rbp]
	je	.L95
	jmp	.L81
.L93:
	nop
.L81:
	add	DWORD PTR -2692[rbp], 1
.L79:
	mov	eax, DWORD PTR -2692[rbp]
	cmp	eax, DWORD PTR -2772[rbp]
	jl	.L89
	jmp	.L88
.L95:
	nop
.L88:
	mov	eax, DWORD PTR -2696[rbp]
	cmp	eax, DWORD PTR -2712[rbp]
	je	.L96
.L78:
	mov	eax, DWORD PTR -2696[rbp]
	cmp	eax, DWORD PTR -2712[rbp]
	jl	.L91
	jmp	.L90
.L96:
	nop
.L90:
	lea	rdi, .LC5[rip]
	call	puts@PLT
	mov	edx, DWORD PTR -2704[rbp]
	lea	rax, -1216[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	printEdge
	lea	rdi, .LC6[rip]
	call	puts@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L92
	call	__stack_chk_fail@PLT
.L92:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	prim, .-prim
	.section	.rodata
.LC7:
	.string	"!!"
	.align 8
.LC8:
	.string	"\n======================kruskal=============================="
	.align 8
.LC9:
	.string	"\n==========================================================="
	.align 8
.LC10:
	.string	"\n=======================prim================================"
	.text
	.globl	main
	.type	main, @function
main:
.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, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 3120
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	edi, 10
	call	srand@PLT
	mov	DWORD PTR -11312[rbp], 0
	jmp	.L98
.L99:
	mov	eax, DWORD PTR -11312[rbp]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR -11312[rbp]
	cdqe
	imul	rax, rax, 808
	add	rax, rbp
	sub	rax, 7292
	mov	DWORD PTR [rax], edx
	mov	eax, DWORD PTR -11312[rbp]
	cdqe
	imul	rax, rax, 808
	add	rax, rbp
	sub	rax, 7296
	mov	DWORD PTR [rax], 0
	add	DWORD PTR -11312[rbp], 1
.L98:
	cmp	DWORD PTR -11312[rbp], 9
	jle	.L99
	mov	DWORD PTR -11308[rbp], 15
	mov	DWORD PTR -11312[rbp], 0
	jmp	.L100
.L101:
	call	rand@PLT
	mov	edx, eax
	movsx	rax, edx
	imul	rax, rax, 1717986919
	shr	rax, 32
	sar	eax, 2
	mov	ecx, edx
	sar	ecx, 31
	sub	eax, ecx
	mov	DWORD PTR -11304[rbp], eax
	mov	ecx, DWORD PTR -11304[rbp]
	mov	eax, ecx
	sal	eax, 2
	add	eax, ecx
	add	eax, eax
	sub	edx, eax
	mov	DWORD PTR -11304[rbp], edx
	call	rand@PLT
	mov	edx, eax
	movsx	rax, edx
	imul	rax, rax, 1717986919
	shr	rax, 32
	sar	eax, 2
	mov	ecx, edx
	sar	ecx, 31
	sub	eax, ecx
	mov	DWORD PTR -11300[rbp], eax
	mov	ecx, DWORD PTR -11300[rbp]
	mov	eax, ecx
	sal	eax, 2
	add	eax, ecx
	add	eax, eax
	sub	edx, eax
	mov	DWORD PTR -11300[rbp], edx
	call	rand@PLT
	movsx	rdx, eax
	imul	rdx, rdx, 1374389535
	shr	rdx, 32
	sar	edx, 5
	mov	ecx, eax
	sar	ecx, 31
	sub	edx, ecx
	imul	ecx, edx, 100
	sub	eax, ecx
	mov	edx, eax
	mov	eax, DWORD PTR -11312[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 10480
	mov	DWORD PTR [rax], edx
	lea	rdx, -8096[rbp]
	mov	eax, DWORD PTR -11304[rbp]
	cdqe
	imul	rax, rax, 808
	lea	rcx, [rdx+rax]
	mov	eax, DWORD PTR -11312[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 10496
	mov	QWORD PTR [rax], rcx
	lea	rdx, -8096[rbp]
	mov	eax, DWORD PTR -11300[rbp]
	cdqe
	imul	rax, rax, 808
	lea	rcx, [rdx+rax]
	mov	eax, DWORD PTR -11312[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 10488
	mov	QWORD PTR [rax], rcx
	lea	rdi, .LC7[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -11304[rbp]
	cdqe
	imul	rax, rax, 808
	add	rax, rbp
	sub	rax, 7296
	mov	esi, DWORD PTR [rax]
	lea	rcx, -10496[rbp]
	mov	eax, DWORD PTR -11312[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rcx, rax
	movsx	rsi, esi
	mov	eax, DWORD PTR -11304[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdi, 0[0+rax*4]
	add	rax, rdi
	sal	rax, 2
	add	rax, rdx
	add	rax, rsi
	mov	QWORD PTR -8096[rbp+rax*8], rcx
	mov	eax, DWORD PTR -11304[rbp]
	cdqe
	imul	rax, rax, 808
	add	rax, rbp
	sub	rax, 7296
	mov	eax, DWORD PTR [rax]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR -11304[rbp]
	cdqe
	imul	rax, rax, 808
	add	rax, rbp
	sub	rax, 7296
	mov	DWORD PTR [rax], edx
	mov	eax, DWORD PTR -11300[rbp]
	cdqe
	imul	rax, rax, 808
	add	rax, rbp
	sub	rax, 7296
	mov	esi, DWORD PTR [rax]
	lea	rcx, -10496[rbp]
	mov	eax, DWORD PTR -11312[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rcx, rax
	movsx	rsi, esi
	mov	eax, DWORD PTR -11300[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdi, 0[0+rax*4]
	add	rax, rdi
	sal	rax, 2
	add	rax, rdx
	add	rax, rsi
	mov	QWORD PTR -8096[rbp+rax*8], rcx
	mov	eax, DWORD PTR -11300[rbp]
	cdqe
	imul	rax, rax, 808
	add	rax, rbp
	sub	rax, 7296
	mov	eax, DWORD PTR [rax]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR -11300[rbp]
	cdqe
	imul	rax, rax, 808
	add	rax, rbp
	sub	rax, 7296
	mov	DWORD PTR [rax], edx
	add	DWORD PTR -11312[rbp], 1
.L100:
	mov	eax, DWORD PTR -11312[rbp]
	cmp	eax, DWORD PTR -11308[rbp]
	jl	.L101
	mov	edx, DWORD PTR -11308[rbp]
	lea	rax, -10496[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	printEdge
	lea	rdi, .LC8[rip]
	call	puts@PLT
	lea	rcx, -11296[rbp]
	mov	edx, DWORD PTR -11308[rbp]
	lea	rsi, -10496[rbp]
	lea	rax, -8096[rbp]
	mov	rdi, rax
	call	Kruskal
	lea	rdi, .LC9[rip]
	call	puts@PLT
	mov	edx, DWORD PTR -11308[rbp]
	lea	rax, -10496[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	printEdge
	lea	rdi, .LC10[rip]
	call	puts@PLT
	lea	rcx, -11296[rbp]
	mov	edx, DWORD PTR -11308[rbp]
	lea	rsi, -10496[rbp]
	lea	rax, -8096[rbp]
	mov	rdi, rax
	call	prim
	mov	eax, 0
	mov	rdi, QWORD PTR -8[rbp]
	sub	rdi, QWORD PTR fs:40
	je	.L103
	call	__stack_chk_fail@PLT
.L103:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.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	"6297.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d :\000"
	.align	2
.LC1:
	.ascii	"%d \000"
	.text
	.align	2
	.global	print
	.syntax unified
	.arm
	.fpu softvfp
	.type	print, %function
print:
	@ 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]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L2
.L7:
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	ldr	r3, [r3, #404]
	mov	r1, r3
	ldr	r0, .L8
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L3
.L6:
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	ldr	r2, [fp, #-8]
	ldr	r3, [r3, r2, lsl #2]
	ldr	r3, [r3]
	ldr	r1, [r3, #404]
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	ldr	r3, [r3, #404]
	cmp	r1, r3
	bne	.L4
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	ldr	r2, [fp, #-8]
	ldr	r3, [r3, r2, lsl #2]
	ldr	r3, [r3, #4]
	ldr	r3, [r3, #404]
	mov	r1, r3
	ldr	r0, .L8+4
	bl	printf
	b	.L5
.L4:
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	ldr	r2, [fp, #-8]
	ldr	r3, [r3, r2, lsl #2]
	ldr	r3, [r3]
	ldr	r3, [r3, #404]
	mov	r1, r3
	ldr	r0, .L8+4
	bl	printf
.L5:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L3:
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	ldr	r3, [r3, #400]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L6
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L2:
	ldr	r3, [fp, #-12]
	cmp	r3, #9
	ble	.L7
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L9:
	.align	2
.L8:
	.word	.LC0
	.word	.LC1
	.size	print, .-print
	.section	.rodata
	.align	2
.LC2:
	.ascii	"(%p)%d \011(%p)%d\011\000"
	.align	2
.LC3:
	.ascii	"w:%d(%p)\012\000"
	.text
	.align	2
	.global	printEdge
	.syntax unified
	.arm
	.fpu softvfp
	.type	printEdge, %function
printEdge:
	@ args = 0, pretend = 0, frame = 16
	@ 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]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L11
.L12:
	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
	ldr	r1, [r3]
	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
	ldr	r3, [r3]
	ldr	r0, [r3, #404]
	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
	ldr	ip, [r3, #4]
	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
	ldr	r3, [r3, #4]
	ldr	r3, [r3, #404]
	str	r3, [sp]
	mov	r3, ip
	mov	r2, r0
	ldr	r0, .L14
	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
	ldr	r1, [r3, #8]
	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
	ldr	r2, [r3, #8]
	str	r2, [sp]
	ldm	r3, {r2, r3}
	ldr	r0, .L14+4
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L11:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	blt	.L12
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L15:
	.align	2
.L14:
	.word	.LC2
	.word	.LC3
	.size	printEdge, .-printEdge
	.section	.rodata
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	isTree
	.syntax unified
	.arm
	.fpu softvfp
	.type	isTree, %function
isTree:
	@ args = 0, pretend = 0, frame = 72
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #72
	str	r0, [fp, #-72]
	str	r1, [fp, #-76]
	ldr	r3, .L32
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #1
	str	r3, [fp, #-56]
	mov	r3, #0
	str	r3, [fp, #-68]
	b	.L17
.L18:
	ldr	r3, [fp, #-68]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3, #-48]
	ldr	r3, [fp, #-68]
	add	r3, r3, #1
	str	r3, [fp, #-68]
.L17:
	ldr	r3, [fp, #-68]
	cmp	r3, #10
	ble	.L18
	mov	r3, #0
	str	r3, [fp, #-64]
	b	.L19
.L28:
	ldr	r2, [fp, #-76]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-72]
	add	r3, r3, r2
	ldr	r2, [fp, #-64]
	ldr	r3, [r3, r2, lsl #2]
	cmp	r3, #0
	beq	.L31
	ldr	r2, [fp, #-76]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-72]
	add	r3, r3, r2
	ldr	r2, [fp, #-64]
	ldr	r3, [r3, r2, lsl #2]
	ldr	r3, [r3]
	ldr	r1, [r3, #404]
	ldr	r2, [fp, #-76]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-72]
	add	r3, r3, r2
	ldr	r3, [r3, #404]
	cmp	r1, r3
	bne	.L21
	ldr	r2, [fp, #-76]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-72]
	add	r3, r3, r2
	ldr	r2, [fp, #-64]
	ldr	r3, [r3, r2, lsl #2]
	ldr	r3, [r3, #4]
	ldr	r2, [r3, #404]
	lsl	r3, r2, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r3, [r3, #-48]
	add	r1, r3, #1
	lsl	r3, r2, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	str	r1, [r3, #-48]
	ldr	r2, [fp, #-76]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-72]
	add	r3, r3, r2
	ldr	r2, [fp, #-64]
	ldr	r3, [r3, r2, lsl #2]
	ldr	r3, [r3]
	ldr	r3, [r3, #404]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #1
	str	r2, [r3, #-48]
	b	.L22
.L21:
	ldr	r2, [fp, #-76]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-72]
	add	r3, r3, r2
	ldr	r2, [fp, #-64]
	ldr	r3, [r3, r2, lsl #2]
	ldr	r3, [r3, #4]
	ldr	r1, [r3, #404]
	ldr	r2, [fp, #-76]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-72]
	add	r3, r3, r2
	ldr	r3, [r3, #404]
	cmp	r1, r3
	bne	.L22
	ldr	r2, [fp, #-76]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-72]
	add	r3, r3, r2
	ldr	r2, [fp, #-64]
	ldr	r3, [r3, r2, lsl #2]
	ldr	r3, [r3]
	ldr	r2, [r3, #404]
	lsl	r3, r2, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r3, [r3, #-48]
	add	r1, r3, #1
	lsl	r3, r2, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	str	r1, [r3, #-48]
	ldr	r2, [fp, #-76]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-72]
	add	r3, r3, r2
	ldr	r2, [fp, #-64]
	ldr	r3, [r3, r2, lsl #2]
	ldr	r3, [r3, #4]
	ldr	r3, [r3, #404]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #1
	str	r2, [r3, #-48]
.L22:
	mov	r3, #1
	str	r3, [fp, #-60]
	b	.L23
.L26:
	ldr	r3, [fp, #-60]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-48]
	cmp	r3, #2
	bne	.L24
	mov	r3, #0
	b	.L29
.L24:
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
.L23:
	ldr	r3, [fp, #-60]
	cmp	r3, #10
	ble	.L26
	b	.L27
.L31:
	nop
.L27:
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
.L19:
	ldr	r3, [fp, #-64]
	cmp	r3, #9
	ble	.L28
	mov	r3, #1
.L29:
	ldr	r2, .L32
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L30
	bl	__stack_chk_fail
.L30:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L33:
	.align	2
.L32:
	.word	.LC4
	.size	isTree, .-isTree
	.align	2
	.global	isForest
	.syntax unified
	.arm
	.fpu softvfp
	.type	isForest, %function
isForest:
	@ 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]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L35
.L38:
	ldr	r1, [fp, #-8]
	ldr	r0, [fp, #-16]
	bl	isTree
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L36
	ldr	r3, [fp, #-12]
	b	.L37
.L36:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L35:
	ldr	r3, [fp, #-8]
	cmp	r3, #9
	ble	.L38
	ldr	r3, [fp, #-12]
.L37:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	isForest, .-isForest
	.section	.rodata
	.align	2
.LC5:
	.ascii	"---------------------------------------------------"
	.ascii	"\012\000"
	.align	2
.LC6:
	.ascii	"==================================================="
	.ascii	"===========\012\000"
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	Kruskal
	.syntax unified
	.arm
	.fpu softvfp
	.type	Kruskal, %function
Kruskal:
	@ args = 0, pretend = 0, frame = 5544
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #5504
	sub	sp, sp, #40
	sub	ip, fp, #4096
	sub	ip, ip, #4
	str	r0, [ip, #-1436]
	sub	r0, fp, #4096
	sub	r0, r0, #4
	str	r1, [r0, #-1440]
	sub	r1, fp, #4096
	sub	r1, r1, #4
	str	r2, [r1, #-1444]
	sub	r2, fp, #4096
	sub	r2, r2, #4
	str	r3, [r2, #-1448]
	ldr	r3, .L60
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	ldr	r3, .L60+4
	str	r3, [r2, #-1432]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1424]
	b	.L40
.L41:
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-1424]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r2, #1
	str	r2, [r3, #-1388]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-1424]
	add	r3, r3, #1
	str	r3, [r2, #-1424]
.L40:
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-1424]
	cmp	r3, #49
	ble	.L41
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1420]
	b	.L42
.L46:
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	ldr	r3, .L60+4
	str	r3, [r2, #-1432]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1416]
	b	.L43
.L45:
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r2, [r3, #-1416]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-1440]
	add	r3, r3, r2
	ldr	r3, [r3, #8]
	sub	r2, fp, #4096
	sub	r2, r2, #4
	ldr	r2, [r2, #-1432]
	cmp	r2, r3
	ble	.L44
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-1416]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #-1388]
	cmp	r3, #0
	beq	.L44
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r2, [r3, #-1416]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-1440]
	add	r3, r3, r2
	sub	r2, fp, #4096
	sub	r2, r2, #4
	ldr	r3, [r3, #8]
	str	r3, [r2, #-1432]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-1416]
	str	r3, [r2, #-1428]
.L44:
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-1416]
	add	r3, r3, #1
	str	r3, [r2, #-1416]
.L43:
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r2, [r2, #-1416]
	ldr	r3, [r3, #-1444]
	cmp	r2, r3
	blt	.L45
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r2, [r3, #-1428]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-1440]
	add	r3, r3, r2
	ldr	r1, [r3, #8]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r0, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r2, [r3, #-1420]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	sub	r3, r3, #580
	str	r1, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r2, [r3, #-1428]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-1440]
	add	r3, r3, r2
	ldr	r1, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r0, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r2, [r3, #-1420]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	sub	r3, r3, #588
	str	r1, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r2, [r3, #-1428]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-1440]
	add	r3, r3, r2
	ldr	r1, [r3, #4]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r0, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r2, [r3, #-1420]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	sub	r3, r3, #584
	str	r1, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-1428]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3, #-1388]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-1420]
	add	r3, r3, #1
	str	r3, [r2, #-1420]
.L42:
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r2, [r2, #-1420]
	ldr	r3, [r3, #-1444]
	cmp	r2, r3
	blt	.L46
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1412]
	b	.L47
.L49:
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r2, [r3, #-1412]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	sub	r3, r3, #588
	ldr	r3, [r3]
	ldr	r1, [r3, #404]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r0, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r2, [r3, #-1412]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	sub	r3, r3, #584
	ldr	r3, [r3]
	ldr	r3, [r3, #404]
	cmp	r1, r3
	ble	.L48
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r0, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r2, [r3, #-1412]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	sub	r3, r3, #588
	ldr	r3, [r3]
	str	r3, [r1, #-1392]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r2, [r3, #-1412]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	sub	r3, r3, #584
	ldr	r1, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r0, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r2, [r3, #-1412]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	sub	r3, r3, #588
	str	r1, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r2, [r3, #-1412]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	sub	r3, r3, #584
	sub	r2, fp, #4096
	sub	r2, r2, #4
	ldr	r2, [r2, #-1392]
	str	r2, [r3]
.L48:
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-1412]
	add	r3, r3, #1
	str	r3, [r2, #-1412]
.L47:
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r2, [r2, #-1412]
	ldr	r3, [r3, #-1444]
	cmp	r2, r3
	blt	.L49
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #4672
	sub	r3, r3, #4
	sub	r3, r3, #12
	ldr	r1, [r2, #-1444]
	mov	r0, r3
	bl	printEdge
	ldr	r0, .L60+8
	bl	puts
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1408]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1396]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1404]
	b	.L50
.L51:
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-1404]
	add	r1, r3, #1
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r2, [r3, #-1404]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #3680
	str	r1, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r2, [r3, #-1404]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #3680
	sub	r3, r3, #4
	mov	r2, #0
	str	r2, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-1404]
	add	r3, r3, #1
	str	r3, [r2, #-1404]
.L50:
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-1404]
	cmp	r3, #9
	ble	.L51
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1400]
	b	.L52
.L56:
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r2, [r3, #-1400]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	sub	r3, r3, #588
	ldr	r3, [r3]
	ldr	r1, [r3, #404]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r0, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r2, [r3, #-1400]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	sub	r3, r3, #584
	ldr	r3, [r3]
	ldr	r3, [r3, #404]
	cmp	r1, r3
	beq	.L59
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r2, [r3, #-1400]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	sub	r3, r3, #588
	ldr	r3, [r3]
	ldr	r3, [r3, #404]
	sub	r1, r3, #1
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r0, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r2, [r3, #-1400]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	sub	r3, r3, #588
	ldr	r3, [r3]
	ldr	r3, [r3, #404]
	sub	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #3680
	sub	r3, r3, #4
	ldr	ip, [r3]
	sub	r2, fp, #4672
	sub	r2, r2, #4
	sub	r2, r2, #12
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r0, [r3, #-1400]
	mov	r3, r0
	lsl	r3, r3, #1
	add	r3, r3, r0
	lsl	r3, r3, #2
	add	r2, r2, r3
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r1, r3, #4
	add	r3, r3, r1
	lsl	r3, r3, #1
	add	r3, r3, ip
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-4084]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r2, [r3, #-1400]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	sub	r3, r3, #588
	ldr	r3, [r3]
	ldr	r3, [r3, #404]
	sub	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r1, r3, #4
	add	r3, r3, r1
	lsl	r3, r3, #3
	sub	r1, fp, #4
	add	r3, r1, r3
	sub	r3, r3, #3680
	sub	r3, r3, #4
	ldr	r3, [r3]
	add	r1, r3, #1
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #3680
	sub	r3, r3, #4
	str	r1, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r2, [r3, #-1400]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	sub	r3, r3, #584
	ldr	r3, [r3]
	ldr	r3, [r3, #404]
	sub	r1, r3, #1
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r0, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r2, [r3, #-1400]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	sub	r3, r3, #584
	ldr	r3, [r3]
	ldr	r3, [r3, #404]
	sub	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #3680
	sub	r3, r3, #4
	ldr	ip, [r3]
	sub	r2, fp, #4672
	sub	r2, r2, #4
	sub	r2, r2, #12
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r0, [r3, #-1400]
	mov	r3, r0
	lsl	r3, r3, #1
	add	r3, r3, r0
	lsl	r3, r3, #2
	add	r2, r2, r3
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r1, r3, #4
	add	r3, r3, r1
	lsl	r3, r3, #1
	add	r3, r3, ip
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-4084]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r2, [r3, #-1400]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	sub	r3, r3, #584
	ldr	r3, [r3]
	ldr	r3, [r3, #404]
	sub	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r1, r3, #4
	add	r3, r3, r1
	lsl	r3, r3, #3
	sub	r1, fp, #4
	add	r3, r1, r3
	sub	r3, r3, #3680
	sub	r3, r3, #4
	ldr	r3, [r3]
	add	r1, r3, #1
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #3680
	sub	r3, r3, #4
	str	r1, [r3]
	sub	r3, fp, #4080
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r0, r3
	bl	isForest
	mov	r3, r0
	cmp	r3, #0
	beq	.L55
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-1408]
	lsl	r3, r3, #2
	sub	r2, fp, #4096
	sub	r2, r2, #4
	ldr	r2, [r2, #-1448]
	add	r0, r2, r3
	sub	r2, fp, #4672
	sub	r2, r2, #4
	sub	r2, r2, #12
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r1, [r3, #-1400]
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	r3, r2, r3
	str	r3, [r0]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r2, [r3, #-1400]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	sub	r3, r3, #580
	ldr	r1, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r0, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r2, [r3, #-1408]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	sub	r3, r3, #1168
	sub	r3, r3, #12
	str	r1, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r2, [r3, #-1400]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	sub	r3, r3, #588
	ldr	r1, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r0, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r2, [r3, #-1408]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	sub	r3, r3, #1184
	sub	r3, r3, #4
	str	r1, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r2, [r3, #-1400]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	sub	r3, r3, #584
	ldr	r1, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r0, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r2, [r3, #-1408]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	sub	r3, r3, #1184
	str	r1, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-1408]
	add	r3, r3, #1
	str	r3, [r2, #-1408]
	b	.L54
.L55:
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r2, [r3, #-1400]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	sub	r3, r3, #588
	ldr	r3, [r3]
	ldr	r3, [r3, #404]
	sub	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r1, r3, #4
	add	r3, r3, r1
	lsl	r3, r3, #3
	sub	r1, fp, #4
	add	r3, r1, r3
	sub	r3, r3, #3680
	sub	r3, r3, #4
	ldr	r3, [r3]
	sub	r1, r3, #1
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #3680
	sub	r3, r3, #4
	str	r1, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r2, [r3, #-1400]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	sub	r3, r3, #584
	ldr	r3, [r3]
	ldr	r3, [r3, #404]
	sub	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r1, r3, #4
	add	r3, r3, r1
	lsl	r3, r3, #3
	sub	r1, fp, #4
	add	r3, r1, r3
	sub	r3, r3, #3680
	sub	r3, r3, #4
	ldr	r3, [r3]
	sub	r1, r3, #1
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #3680
	sub	r3, r3, #4
	str	r1, [r3]
	b	.L54
.L59:
	nop
.L54:
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-1400]
	add	r3, r3, #1
	str	r3, [r2, #-1400]
.L52:
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r2, [r2, #-1400]
	ldr	r3, [r3, #-1444]
	cmp	r2, r3
	blt	.L56
	ldr	r0, .L60+12
	bl	puts
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #5248
	sub	r3, r3, #4
	sub	r3, r3, #36
	ldr	r1, [r2, #-1408]
	mov	r0, r3
	bl	printEdge
	ldr	r0, .L60+12
	bl	puts
	nop
	ldr	r3, .L60
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L58
	bl	__stack_chk_fail
.L58:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L61:
	.align	2
.L60:
	.word	.LC7
	.word	99999
	.word	.LC5
	.word	.LC6
	.size	Kruskal, .-Kruskal
	.align	2
	.global	isTreePrim
	.syntax unified
	.arm
	.fpu softvfp
	.type	isTreePrim, %function
isTreePrim:
	@ 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, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	nop
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	isTreePrim, .-isTreePrim
	.align	2
	.global	check
	.syntax unified
	.arm
	.fpu softvfp
	.type	check, %function
check:
	@ 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]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L64
.L67:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L65
	mov	r3, #0
	b	.L66
.L65:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L64:
	ldr	r3, [fp, #-8]
	cmp	r3, #9
	ble	.L67
	mov	r3, #1
.L66:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	check, .-check
	.section	.rodata
	.align	2
.LC8:
	.ascii	"\012==============================================="
	.ascii	"===============\000"
	.align	2
.LC9:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	prim
	.syntax unified
	.arm
	.fpu softvfp
	.type	prim, %function
prim:
	@ args = 0, pretend = 0, frame = 1528
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1520
	sub	sp, sp, #8
	str	r0, [fp, #-1520]
	str	r1, [fp, #-1524]
	str	r2, [fp, #-1528]
	str	r3, [fp, #-1532]
	ldr	r3, .L105
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L105+4
	str	r3, [fp, #-1512]
	mov	r3, #0
	str	r3, [fp, #-1504]
	b	.L69
.L70:
	ldr	r3, [fp, #-1504]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #1
	str	r2, [r3, #-1404]
	ldr	r3, [fp, #-1504]
	add	r3, r3, #1
	str	r3, [fp, #-1504]
.L69:
	ldr	r3, [fp, #-1504]
	cmp	r3, #49
	ble	.L70
	mov	r3, #0
	str	r3, [fp, #-1500]
	b	.L71
.L75:
	ldr	r3, .L105+4
	str	r3, [fp, #-1512]
	mov	r3, #0
	str	r3, [fp, #-1496]
	b	.L72
.L74:
	ldr	r2, [fp, #-1496]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-1524]
	add	r3, r3, r2
	ldr	r3, [r3, #8]
	ldr	r2, [fp, #-1512]
	cmp	r2, r3
	ble	.L73
	ldr	r3, [fp, #-1496]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-1404]
	cmp	r3, #0
	beq	.L73
	ldr	r2, [fp, #-1496]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-1524]
	add	r3, r3, r2
	ldr	r3, [r3, #8]
	str	r3, [fp, #-1512]
	ldr	r3, [fp, #-1496]
	str	r3, [fp, #-1508]
.L73:
	ldr	r3, [fp, #-1496]
	add	r3, r3, #1
	str	r3, [fp, #-1496]
.L72:
	ldr	r2, [fp, #-1496]
	ldr	r3, [fp, #-1528]
	cmp	r2, r3
	blt	.L74
	ldr	r2, [fp, #-1508]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-1524]
	add	r3, r3, r2
	ldr	r1, [r3, #8]
	ldr	r2, [fp, #-1500]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #1184
	sub	r3, r3, #12
	str	r1, [r3]
	ldr	r2, [fp, #-1508]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-1524]
	add	r3, r3, r2
	ldr	r1, [r3]
	ldr	r2, [fp, #-1500]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #1200
	sub	r3, r3, #4
	str	r1, [r3]
	ldr	r2, [fp, #-1508]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-1524]
	add	r3, r3, r2
	ldr	r1, [r3, #4]
	ldr	r2, [fp, #-1500]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #1200
	str	r1, [r3]
	ldr	r3, [fp, #-1508]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3, #-1404]
	ldr	r3, [fp, #-1500]
	add	r3, r3, #1
	str	r3, [fp, #-1500]
.L71:
	ldr	r2, [fp, #-1500]
	ldr	r3, [fp, #-1528]
	cmp	r2, r3
	blt	.L75
	mov	r3, #0
	str	r3, [fp, #-1492]
	b	.L76
.L78:
	ldr	r2, [fp, #-1492]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #1200
	sub	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, [r3, #404]
	ldr	r2, [fp, #-1492]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #1200
	ldr	r3, [r3]
	ldr	r3, [r3, #404]
	cmp	r1, r3
	ble	.L77
	ldr	r2, [fp, #-1492]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #1200
	sub	r3, r3, #4
	ldr	r3, [r3]
	str	r3, [fp, #-1452]
	ldr	r2, [fp, #-1492]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #1200
	ldr	r1, [r3]
	ldr	r2, [fp, #-1492]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #1200
	sub	r3, r3, #4
	str	r1, [r3]
	ldr	r2, [fp, #-1492]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #1200
	ldr	r2, [fp, #-1452]
	str	r2, [r3]
.L77:
	ldr	r3, [fp, #-1492]
	add	r3, r3, #1
	str	r3, [fp, #-1492]
.L76:
	ldr	r2, [fp, #-1492]
	ldr	r3, [fp, #-1528]
	cmp	r2, r3
	blt	.L78
	sub	r3, fp, #1200
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r1, [fp, #-1528]
	mov	r0, r3
	bl	printEdge
	ldr	r0, .L105+8
	bl	puts
	sub	r3, fp, #1440
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #40
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #0
	str	r3, [fp, #-1488]
	b	.L79
.L80:
	ldr	r2, [fp, #-1488]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-1524]
	add	r3, r3, r2
	ldr	r3, [r3]
	ldr	r3, [r3, #404]
	sub	r3, r3, #1
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #1
	str	r2, [r3, #-1444]
	ldr	r2, [fp, #-1488]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-1524]
	add	r3, r3, r2
	ldr	r3, [r3, #4]
	ldr	r3, [r3, #404]
	sub	r3, r3, #1
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #1
	str	r2, [r3, #-1444]
	ldr	r3, [fp, #-1488]
	add	r3, r3, #1
	str	r3, [fp, #-1488]
.L79:
	ldr	r2, [fp, #-1488]
	ldr	r3, [fp, #-1528]
	cmp	r2, r3
	blt	.L80
	mov	r3, #0
	str	r3, [fp, #-1484]
	mov	r3, #0
	str	r3, [fp, #-1480]
	b	.L81
.L83:
	ldr	r3, [fp, #-1480]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-1444]
	cmp	r3, #1
	bne	.L82
	ldr	r3, [fp, #-1484]
	add	r3, r3, #1
	str	r3, [fp, #-1484]
.L82:
	ldr	r3, [fp, #-1480]
	add	r3, r3, #1
	str	r3, [fp, #-1480]
.L81:
	ldr	r3, [fp, #-1480]
	cmp	r3, #9
	ble	.L83
	mov	r3, #0
	str	r3, [fp, #-1476]
	mov	r3, #0
	str	r3, [fp, #-1472]
	b	.L84
.L85:
	ldr	r3, [fp, #-1472]
	add	r3, r3, #1
	str	r3, [fp, #-1472]
.L84:
	ldr	r3, [fp, #-1472]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-1444]
	cmp	r3, #0
	beq	.L85
	ldr	r3, [fp, #-1472]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-1444]
	add	r2, r3, #1
	ldr	r3, [fp, #-1472]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-1444]
	mov	r3, #1
	str	r3, [fp, #-1468]
	ldr	r3, [fp, #-1472]
	add	r3, r3, #1
	str	r3, [fp, #-1456]
	b	.L86
.L99:
	mov	r3, #0
	str	r3, [fp, #-1464]
	b	.L87
.L97:
	ldr	r2, [fp, #-1464]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #1200
	sub	r3, r3, #4
	ldr	r3, [r3]
	ldr	r2, [r3, #404]
	ldr	r3, [fp, #-1204]
	ldr	r3, [r3, #404]
	cmp	r2, r3
	beq	.L101
	mov	r3, #0
	str	r3, [fp, #-1460]
	b	.L90
.L95:
	ldr	r3, [fp, #-1460]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-1444]
	cmp	r3, #2
	bne	.L91
	ldr	r3, [fp, #-1460]
	add	r3, r3, #1
	str	r3, [fp, #-1456]
	ldr	r2, [fp, #-1464]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #1200
	sub	r3, r3, #4
	ldr	r3, [r3]
	ldr	r3, [r3, #404]
	ldr	r2, [fp, #-1456]
	cmp	r2, r3
	bne	.L92
	ldr	r2, [fp, #-1464]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #1200
	ldr	r3, [r3]
	ldr	r3, [r3, #404]
	sub	r3, r3, #1
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-1444]
	cmp	r3, #2
	beq	.L92
	ldr	r3, [fp, #-1476]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1532]
	add	r0, r2, r3
	sub	r2, fp, #1200
	sub	r2, r2, #4
	sub	r2, r2, #4
	ldr	r1, [fp, #-1464]
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	r3, r2, r3
	str	r3, [r0]
	ldr	r2, [fp, #-1464]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #1184
	sub	r3, r3, #12
	ldr	r1, [r3]
	ldr	r2, [fp, #-1476]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #596
	str	r1, [r3]
	ldr	r2, [fp, #-1464]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #1200
	sub	r3, r3, #4
	ldr	r1, [r3]
	ldr	r2, [fp, #-1476]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #604
	str	r1, [r3]
	ldr	r2, [fp, #-1464]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #1200
	ldr	r1, [r3]
	ldr	r2, [fp, #-1476]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #600
	str	r1, [r3]
	ldr	r3, [fp, #-1476]
	add	r3, r3, #1
	str	r3, [fp, #-1476]
	ldr	r2, [fp, #-1464]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #1200
	ldr	r3, [r3]
	ldr	r3, [r3, #404]
	sub	r2, r3, #1
	lsl	r3, r2, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r3, [r3, #-1444]
	add	r1, r3, #1
	lsl	r3, r2, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	str	r1, [r3, #-1444]
	ldr	r3, [fp, #-1468]
	add	r3, r3, #1
	str	r3, [fp, #-1468]
	b	.L93
.L92:
	ldr	r2, [fp, #-1464]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #1200
	ldr	r3, [r3]
	ldr	r3, [r3, #404]
	ldr	r2, [fp, #-1456]
	cmp	r2, r3
	bne	.L91
	ldr	r2, [fp, #-1464]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #1200
	sub	r3, r3, #4
	ldr	r3, [r3]
	ldr	r3, [r3, #404]
	sub	r3, r3, #1
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-1444]
	cmp	r3, #2
	beq	.L91
	ldr	r3, [fp, #-1476]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1532]
	add	r0, r2, r3
	sub	r2, fp, #1200
	sub	r2, r2, #4
	sub	r2, r2, #4
	ldr	r1, [fp, #-1464]
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	r3, r2, r3
	str	r3, [r0]
	ldr	r2, [fp, #-1464]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #1184
	sub	r3, r3, #12
	ldr	r1, [r3]
	ldr	r2, [fp, #-1476]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #596
	str	r1, [r3]
	ldr	r2, [fp, #-1464]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #1200
	sub	r3, r3, #4
	ldr	r1, [r3]
	ldr	r2, [fp, #-1476]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #604
	str	r1, [r3]
	ldr	r2, [fp, #-1464]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #1200
	ldr	r1, [r3]
	ldr	r2, [fp, #-1476]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #600
	str	r1, [r3]
	ldr	r3, [fp, #-1476]
	add	r3, r3, #1
	str	r3, [fp, #-1476]
	ldr	r2, [fp, #-1464]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #1200
	sub	r3, r3, #4
	ldr	r3, [r3]
	ldr	r3, [r3, #404]
	sub	r2, r3, #1
	lsl	r3, r2, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r3, [r3, #-1444]
	add	r1, r3, #1
	lsl	r3, r2, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	str	r1, [r3, #-1444]
	ldr	r3, [fp, #-1468]
	add	r3, r3, #1
	str	r3, [fp, #-1468]
	b	.L93
.L91:
	ldr	r2, [fp, #-1468]
	ldr	r3, [fp, #-1484]
	cmp	r2, r3
	beq	.L102
	ldr	r3, [fp, #-1460]
	add	r3, r3, #1
	str	r3, [fp, #-1460]
.L90:
	ldr	r3, [fp, #-1460]
	cmp	r3, #9
	ble	.L95
	b	.L93
.L102:
	nop
.L93:
	ldr	r2, [fp, #-1468]
	ldr	r3, [fp, #-1484]
	cmp	r2, r3
	beq	.L103
	b	.L89
.L101:
	nop
.L89:
	ldr	r3, [fp, #-1464]
	add	r3, r3, #1
	str	r3, [fp, #-1464]
.L87:
	ldr	r2, [fp, #-1464]
	ldr	r3, [fp, #-1528]
	cmp	r2, r3
	blt	.L97
	b	.L96
.L103:
	nop
.L96:
	ldr	r2, [fp, #-1468]
	ldr	r3, [fp, #-1484]
	cmp	r2, r3
	beq	.L104
.L86:
	ldr	r2, [fp, #-1468]
	ldr	r3, [fp, #-1484]
	cmp	r2, r3
	blt	.L99
	b	.L98
.L104:
	nop
.L98:
	ldr	r0, .L105+12
	bl	puts
	sub	r3, fp, #608
	ldr	r1, [fp, #-1476]
	mov	r0, r3
	bl	printEdge
	ldr	r0, .L105+16
	bl	puts
	nop
	ldr	r3, .L105
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L100
	bl	__stack_chk_fail
.L100:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L106:
	.align	2
.L105:
	.word	.LC9
	.word	99999
	.word	.LC5
	.word	.LC6
	.word	.LC8
	.size	prim, .-prim
	.section	.rodata
	.align	2
.LC10:
	.ascii	"!!\000"
	.align	2
.LC11:
	.ascii	"\012======================kruskal=================="
	.ascii	"============\000"
	.align	2
.LC12:
	.ascii	"\012==============================================="
	.ascii	"============\000"
	.align	2
.LC13:
	.ascii	"\012=======================prim===================="
	.ascii	"============\000"
	.align	2
.LC14:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 5704
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #5696
	sub	sp, sp, #8
	ldr	r3, .L114
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r0, #10
	bl	srand
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1604]
	b	.L108
.L109:
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-1604]
	add	r1, r3, #1
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r2, [r3, #-1604]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #3680
	str	r1, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r2, [r3, #-1604]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #3680
	sub	r3, r3, #4
	mov	r2, #0
	str	r2, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-1604]
	add	r3, r3, #1
	str	r3, [r2, #-1604]
.L108:
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-1604]
	cmp	r3, #9
	ble	.L109
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #15
	str	r3, [r2, #-1600]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1604]
	b	.L110
.L111:
	bl	rand
	mov	r2, r0
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r0, r3
	ldr	r3, .L114+4
	smull	r1, r3, r2, r3
	asr	r1, r3, #2
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #1
	sub	r3, r2, r3
	str	r3, [r0, #-1596]
	bl	rand
	mov	r2, r0
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r0, r3
	ldr	r3, .L114+4
	smull	r1, r3, r2, r3
	asr	r1, r3, #2
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #1
	sub	r3, r2, r3
	str	r3, [r0, #-1592]
	bl	rand
	mov	r1, r0
	ldr	r3, .L114+8
	smull	r2, r3, r1, r3
	asr	r2, r3, #5
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r0, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r1, [r3, #-1604]
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	r3, r0, r3
	sub	r3, r3, #1168
	sub	r3, r3, #12
	str	r2, [r3]
	sub	r2, fp, #4080
	sub	r2, r2, #4
	sub	r2, r2, #4
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r1, [r3, #-1596]
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r1, r3, #4
	add	r3, r3, r1
	lsl	r3, r3, #3
	add	r1, r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r0, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r2, [r3, #-1604]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	sub	r3, r3, #1184
	sub	r3, r3, #4
	str	r1, [r3]
	sub	r2, fp, #4080
	sub	r2, r2, #4
	sub	r2, r2, #4
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r1, [r3, #-1592]
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r1, r3, #4
	add	r3, r3, r1
	lsl	r3, r3, #3
	add	r1, r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r0, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r2, [r3, #-1604]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	sub	r3, r3, #1184
	str	r1, [r3]
	ldr	r0, .L114+12
	bl	puts
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r2, [r3, #-1596]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #3680
	sub	r3, r3, #4
	ldr	r0, [r3]
	sub	r2, fp, #5248
	sub	r2, r2, #4
	sub	r2, r2, #36
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r1, [r3, #-1604]
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	r1, r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r2, [r3, #-1596]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r0
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	str	r1, [r3, #-4084]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r2, [r3, #-1596]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #3680
	sub	r3, r3, #4
	ldr	r3, [r3]
	add	r1, r3, #1
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r2, [r3, #-1596]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #3680
	sub	r3, r3, #4
	str	r1, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r2, [r3, #-1592]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #3680
	sub	r3, r3, #4
	ldr	r0, [r3]
	sub	r2, fp, #5248
	sub	r2, r2, #4
	sub	r2, r2, #36
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r1, [r3, #-1604]
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	r1, r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r2, [r3, #-1592]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r0
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	str	r1, [r3, #-4084]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r2, [r3, #-1592]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #3680
	sub	r3, r3, #4
	ldr	r3, [r3]
	add	r1, r3, #1
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r2, [r3, #-1592]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #3680
	sub	r3, r3, #4
	str	r1, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-1604]
	add	r3, r3, #1
	str	r3, [r2, #-1604]
.L110:
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r2, [r2, #-1604]
	ldr	r3, [r3, #-1600]
	cmp	r2, r3
	blt	.L111
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #5248
	sub	r3, r3, #4
	sub	r3, r3, #36
	ldr	r1, [r2, #-1600]
	mov	r0, r3
	bl	printEdge
	ldr	r0, .L114+16
	bl	puts
	sub	r3, fp, #5632
	sub	r3, r3, #4
	sub	r3, r3, #52
	sub	r2, fp, #4096
	sub	r2, r2, #4
	sub	r1, fp, #5248
	sub	r1, r1, #4
	sub	r1, r1, #36
	sub	r0, fp, #4080
	sub	r0, r0, #4
	sub	r0, r0, #4
	ldr	r2, [r2, #-1600]
	bl	Kruskal
	ldr	r0, .L114+20
	bl	puts
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #5248
	sub	r3, r3, #4
	sub	r3, r3, #36
	ldr	r1, [r2, #-1600]
	mov	r0, r3
	bl	printEdge
	ldr	r0, .L114+24
	bl	puts
	sub	r3, fp, #5632
	sub	r3, r3, #4
	sub	r3, r3, #52
	sub	r2, fp, #4096
	sub	r2, r2, #4
	sub	r1, fp, #5248
	sub	r1, r1, #4
	sub	r1, r1, #36
	sub	r0, fp, #4080
	sub	r0, r0, #4
	sub	r0, r0, #4
	ldr	r2, [r2, #-1600]
	bl	prim
	mov	r3, #0
	ldr	r2, .L114
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L113
	bl	__stack_chk_fail
.L113:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L115:
	.align	2
.L114:
	.word	.LC14
	.word	1717986919
	.word	1374389535
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
