	.file	"941429.c"
	.intel_syntax noprefix
	.text
	.globl	point
	.bss
	.align 32
	.type	point, @object
	.size	point, 8072
point:
	.zero	8072
	.globl	edge
	.align 32
	.type	edge, @object
	.size	edge, 32000144
edge:
	.zero	32000144
	.globl	etop
	.align 4
	.type	etop, @object
	.size	etop, 4
etop:
	.zero	4
	.text
	.globl	dist
	.type	dist, @function
dist:
.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	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, point[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	edx, DWORD PTR -24[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	lea	rdx, point[rip]
	mov	edx, DWORD PTR [rcx+rdx]
	sub	eax, edx
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	movsd	QWORD PTR -16[rbp], xmm0
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, point[rip+4]
	mov	eax, DWORD PTR [rdx+rax]
	mov	edx, DWORD PTR -24[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	lea	rdx, point[rip+4]
	mov	edx, DWORD PTR [rcx+rdx]
	sub	eax, edx
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	movsd	QWORD PTR -8[rbp], xmm0
	movsd	xmm0, QWORD PTR -16[rbp]
	movapd	xmm1, xmm0
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -8[rbp]
	mulsd	xmm0, xmm0
	addsd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	call	sqrt@PLT
	movq	rax, xmm0
	movsd	xmm0, QWORD PTR .LC0[rip]
	movq	xmm1, rax
	divsd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	dist, .-dist
	.globl	add_edge
	.type	add_edge, @function
add_edge:
.LFB7:
	.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 -4[rbp], edi
	mov	DWORD PTR -8[rbp], esi
	movsd	QWORD PTR -16[rbp], xmm0
	mov	eax, DWORD PTR etop[rip]
	cdqe
	sal	rax, 4
	mov	rcx, rax
	lea	rdx, edge[rip+8]
	mov	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR [rcx+rdx], eax
	mov	eax, DWORD PTR etop[rip]
	cdqe
	sal	rax, 4
	mov	rcx, rax
	lea	rdx, edge[rip+12]
	mov	eax, DWORD PTR -8[rbp]
	mov	DWORD PTR [rcx+rdx], eax
	mov	eax, DWORD PTR etop[rip]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, edge[rip]
	movsd	xmm0, QWORD PTR -16[rbp]
	movsd	QWORD PTR [rdx+rax], xmm0
	mov	eax, DWORD PTR etop[rip]
	add	eax, 1
	mov	DWORD PTR etop[rip], eax
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	add_edge, .-add_edge
	.globl	cmp
	.type	cmp, @function
cmp:
.LFB8:
	.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	QWORD PTR -16[rbp], rsi
	mov	rax, QWORD PTR -8[rbp]
	movsd	xmm1, QWORD PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	movsd	xmm0, QWORD PTR [rax]
	comisd	xmm0, xmm1
	jbe	.L10
	mov	eax, -1
	jmp	.L8
.L10:
	mov	eax, 1
.L8:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	cmp, .-cmp
	.globl	fa
	.bss
	.align 32
	.type	fa, @object
	.size	fa, 4036
fa:
	.zero	4036
	.text
	.globl	find
	.type	find, @function
find:
.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, 16
	mov	DWORD PTR -4[rbp], edi
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, fa[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	DWORD PTR -4[rbp], eax
	je	.L12
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, fa[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	edi, eax
	call	find
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, fa[rip]
	mov	DWORD PTR [rcx+rdx], eax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, fa[rip]
	mov	eax, DWORD PTR [rdx+rax]
	jmp	.L14
.L12:
	mov	eax, DWORD PTR -4[rbp]
.L14:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	find, .-find
	.section	.rodata
.LC2:
	.string	"%d%d"
.LC3:
	.string	"%.2f\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r12
	push	rbx
	sub	rsp, 32
	.cfi_offset 12, -24
	.cfi_offset 3, -32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	pxor	xmm0, xmm0
	movsd	QWORD PTR -32[rbp], xmm0
	lea	rdx, -44[rbp]
	lea	rax, -48[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -40[rbp], 0
	jmp	.L16
.L17:
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, point[rip]
	add	rax, rdx
	lea	rdx, 4[rax]
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	lea	rcx, 0[0+rax*8]
	lea	rax, point[rip]
	add	rax, rcx
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	add	DWORD PTR -40[rbp], 1
.L16:
	mov	eax, DWORD PTR -44[rbp]
	cmp	DWORD PTR -40[rbp], eax
	jl	.L17
	mov	DWORD PTR -40[rbp], 0
	jmp	.L18
.L19:
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, point[rip]
	mov	eax, DWORD PTR [rdx+rax]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	movq	rcx, xmm1
	mov	edx, DWORD PTR -44[rbp]
	mov	eax, DWORD PTR -40[rbp]
	movq	xmm0, rcx
	mov	esi, edx
	mov	edi, eax
	call	add_edge
	add	DWORD PTR -40[rbp], 1
.L18:
	mov	eax, DWORD PTR -44[rbp]
	cmp	DWORD PTR -40[rbp], eax
	jl	.L19
	mov	DWORD PTR -40[rbp], 0
	jmp	.L20
.L21:
	mov	eax, DWORD PTR -48[rbp]
	mov	edx, DWORD PTR -40[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	lea	rdx, point[rip]
	mov	edx, DWORD PTR [rcx+rdx]
	sub	eax, edx
	pxor	xmm2, xmm2
	cvtsi2sd	xmm2, eax
	movq	rdx, xmm2
	mov	eax, DWORD PTR -44[rbp]
	lea	ecx, 1[rax]
	mov	eax, DWORD PTR -40[rbp]
	movq	xmm0, rdx
	mov	esi, ecx
	mov	edi, eax
	call	add_edge
	add	DWORD PTR -40[rbp], 1
.L20:
	mov	eax, DWORD PTR -44[rbp]
	cmp	DWORD PTR -40[rbp], eax
	jl	.L21
	mov	DWORD PTR -40[rbp], 0
	jmp	.L22
.L25:
	mov	eax, DWORD PTR -40[rbp]
	add	eax, 1
	mov	DWORD PTR -36[rbp], eax
	jmp	.L23
.L24:
	mov	edx, DWORD PTR -36[rbp]
	mov	eax, DWORD PTR -40[rbp]
	mov	esi, edx
	mov	edi, eax
	call	dist
	movq	rax, xmm0
	mov	ecx, DWORD PTR -36[rbp]
	mov	edx, DWORD PTR -40[rbp]
	movq	xmm0, rax
	mov	esi, ecx
	mov	edi, edx
	call	add_edge
	add	DWORD PTR -36[rbp], 1
.L23:
	mov	eax, DWORD PTR -44[rbp]
	cmp	DWORD PTR -36[rbp], eax
	jl	.L24
	add	DWORD PTR -40[rbp], 1
.L22:
	mov	eax, DWORD PTR -44[rbp]
	cmp	DWORD PTR -40[rbp], eax
	jl	.L25
	mov	eax, DWORD PTR etop[rip]
	cdqe
	lea	rcx, cmp[rip]
	mov	edx, 16
	mov	rsi, rax
	lea	rdi, edge[rip]
	call	qsort@PLT
	mov	DWORD PTR -40[rbp], 0
	jmp	.L26
.L27:
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rdx, fa[rip]
	mov	eax, DWORD PTR -40[rbp]
	mov	DWORD PTR [rcx+rdx], eax
	add	DWORD PTR -40[rbp], 1
.L26:
	mov	eax, DWORD PTR -44[rbp]
	add	eax, 1
	cmp	DWORD PTR -40[rbp], eax
	jle	.L27
	mov	DWORD PTR -40[rbp], 0
	jmp	.L28
.L31:
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, edge[rip]
	movsd	xmm0, QWORD PTR [rdx+rax]
	movsd	QWORD PTR -32[rbp], xmm0
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, edge[rip+12]
	mov	ebx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, edge[rip+8]
	mov	eax, DWORD PTR [rdx+rax]
	mov	edi, eax
	call	find
	mov	r12d, eax
	mov	edi, ebx
	call	find
	movsx	rdx, r12d
	lea	rcx, 0[0+rdx*4]
	lea	rdx, fa[rip]
	mov	DWORD PTR [rcx+rdx], eax
	mov	eax, DWORD PTR -44[rbp]
	mov	edi, eax
	call	find
	mov	ebx, eax
	mov	eax, DWORD PTR -44[rbp]
	add	eax, 1
	mov	edi, eax
	call	find
	cmp	ebx, eax
	je	.L34
	add	DWORD PTR -40[rbp], 1
.L28:
	mov	eax, DWORD PTR etop[rip]
	cmp	DWORD PTR -40[rbp], eax
	jl	.L31
	jmp	.L30
.L34:
	nop
.L30:
	mov	rax, QWORD PTR -32[rbp]
	movq	xmm0, rax
	lea	rdi, .LC3[rip]
	mov	eax, 1
	call	printf@PLT
	mov	eax, 0
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L33
	call	__stack_chk_fail@PLT
.L33:
	add	rsp, 32
	pop	rbx
	pop	r12
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC0:
	.long	0
	.long	1073741824
	.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	"941429.c"
	.text
	.comm	point,8072,4
	.comm	edge,32000144,8
	.comm	etop,4,4
	.global	__aeabi_i2d
	.global	__aeabi_dmul
	.global	__aeabi_dadd
	.global	__aeabi_ddiv
	.align	2
	.global	dist
	.syntax unified
	.arm
	.fpu softvfp
	.type	dist, %function
dist:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #24
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	ldr	r2, .L3
	ldr	r3, [fp, #-32]
	ldr	r2, [r2, r3, lsl #3]
	ldr	r1, .L3
	ldr	r3, [fp, #-36]
	ldr	r3, [r1, r3, lsl #3]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	ldr	r2, .L3
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r2, [r3, #4]
	ldr	r1, .L3
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldr	r3, [r3, #4]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	sqrt
	mov	r2, #0
	mov	r3, #1073741824
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L4:
	.align	2
.L3:
	.word	point
	.size	dist, .-dist
	.align	2
	.global	add_edge
	.syntax unified
	.arm
	.fpu softvfp
	.type	add_edge, %function
add_edge:
	@ 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, #-20]
	str	r3, [fp, #-16]
	ldr	r3, .L6
	ldr	r3, [r3]
	ldr	r2, .L6+4
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r2, [fp, #-8]
	str	r2, [r3, #8]
	ldr	r3, .L6
	ldr	r3, [r3]
	ldr	r2, .L6+4
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r2, [fp, #-12]
	str	r2, [r3, #12]
	ldr	r3, .L6
	ldr	r3, [r3]
	ldr	r2, .L6+4
	lsl	r3, r3, #4
	add	r1, r2, r3
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	ldr	r3, .L6
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L6
	str	r3, [r2]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L7:
	.align	2
.L6:
	.word	etop
	.word	edge
	.size	add_edge, .-add_edge
	.global	__aeabi_dcmplt
	.align	2
	.global	cmp
	.syntax unified
	.arm
	.fpu softvfp
	.type	cmp, %function
cmp:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-8]
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-12]
	ldmia	r3, {r2-r3}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L14
	mvn	r3, #0
	b	.L12
.L14:
	mov	r3, #1
.L12:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	cmp, .-cmp
	.comm	fa,4036,4
	.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
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r2, .L19
	ldr	r3, [fp, #-8]
	ldr	r3, [r2, r3, lsl #2]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	beq	.L16
	ldr	r2, .L19
	ldr	r3, [fp, #-8]
	ldr	r3, [r2, r3, lsl #2]
	mov	r0, r3
	bl	find
	mov	r2, r0
	ldr	r1, .L19
	ldr	r3, [fp, #-8]
	str	r2, [r1, r3, lsl #2]
	ldr	r2, .L19
	ldr	r3, [fp, #-8]
	ldr	r3, [r2, r3, lsl #2]
	b	.L18
.L16:
	ldr	r3, [fp, #-8]
.L18:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L20:
	.align	2
.L19:
	.word	fa
	.size	find, .-find
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d%d\000"
	.align	2
.LC1:
	.ascii	"%.2f\012\000"
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #32
	ldr	r3, .L41
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	sub	r2, fp, #40
	sub	r3, fp, #44
	mov	r1, r3
	ldr	r0, .L41+4
	bl	__isoc99_scanf
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L22
.L23:
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #3
	ldr	r2, .L41+8
	add	r1, r3, r2
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #3
	ldr	r2, .L41+8
	add	r3, r3, r2
	add	r3, r3, #4
	mov	r2, r3
	ldr	r0, .L41+4
	bl	__isoc99_scanf
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L22:
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-36]
	cmp	r2, r3
	blt	.L23
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L24
.L25:
	ldr	r4, [fp, #-40]
	ldr	r2, .L41+8
	ldr	r3, [fp, #-36]
	ldr	r3, [r2, r3, lsl #3]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r1, r4
	ldr	r0, [fp, #-36]
	bl	add_edge
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L24:
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-36]
	cmp	r2, r3
	blt	.L25
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L26
.L27:
	ldr	r3, [fp, #-40]
	add	r4, r3, #1
	ldr	r2, [fp, #-44]
	ldr	r1, .L41+8
	ldr	r3, [fp, #-36]
	ldr	r3, [r1, r3, lsl #3]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r1, r4
	ldr	r0, [fp, #-36]
	bl	add_edge
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L26:
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-36]
	cmp	r2, r3
	blt	.L27
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L28
.L31:
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-32]
	b	.L29
.L30:
	ldr	r1, [fp, #-32]
	ldr	r0, [fp, #-36]
	bl	dist
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-32]
	ldr	r0, [fp, #-36]
	bl	add_edge
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L29:
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	blt	.L30
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L28:
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-36]
	cmp	r2, r3
	blt	.L31
	ldr	r3, .L41+12
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r3, .L41+16
	mov	r2, #16
	ldr	r0, .L41+20
	bl	qsort
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L32
.L33:
	ldr	r1, .L41+24
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-36]
	str	r2, [r1, r3, lsl #2]
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L32:
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	ldr	r2, [fp, #-36]
	cmp	r2, r3
	ble	.L33
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L34
.L37:
	ldr	r2, .L41+20
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	ldr	r2, .L41+20
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r5, [r3, #12]
	ldr	r2, .L41+20
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r3, [r3, #8]
	mov	r0, r3
	bl	find
	mov	r4, r0
	mov	r0, r5
	bl	find
	mov	r3, r0
	ldr	r2, .L41+24
	str	r3, [r2, r4, lsl #2]
	ldr	r3, [fp, #-40]
	mov	r0, r3
	bl	find
	mov	r4, r0
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	mov	r0, r3
	bl	find
	mov	r3, r0
	cmp	r4, r3
	beq	.L40
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L34:
	ldr	r3, .L41+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-36]
	cmp	r2, r3
	blt	.L37
	b	.L36
.L40:
	nop
.L36:
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	ldr	r0, .L41+28
	bl	printf
	mov	r3, #0
	ldr	r2, .L41
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L39
	bl	__stack_chk_fail
.L39:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L42:
	.align	2
.L41:
	.word	.LC2
	.word	.LC0
	.word	point
	.word	etop
	.word	cmp
	.word	edge
	.word	fa
	.word	.LC1
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
