	.file	"48575873.c"
	.intel_syntax noprefix
	.text
	.globl	rt
	.bss
	.align 32
	.type	rt, @object
	.size	rt, 1600
rt:
	.zero	1600
	.section	.rodata
.LC0:
	.string	"Vertex count\n:"
.LC1:
	.string	"%d"
.LC2:
	.string	"Enter cost matrix:"
.LC3:
	.string	"\n\nVertex %d:"
.LC4:
	.string	"\nNode %d via %d: Distance %d "
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 1648
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -1636[rbp], 0
	mov	DWORD PTR -1632[rbp], 0
	mov	DWORD PTR -1628[rbp], 0
	mov	DWORD PTR -1620[rbp], 0
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -1636[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC2[rip]
	call	puts@PLT
	mov	DWORD PTR -1632[rbp], 0
	jmp	.L2
.L5:
	mov	DWORD PTR -1628[rbp], 0
	jmp	.L3
.L4:
	lea	rcx, -1616[rbp]
	mov	eax, DWORD PTR -1628[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -1632[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	sal	rax, 2
	add	rax, rcx
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -1632[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rbp
	sub	rax, 1616
	mov	DWORD PTR [rax], 0
	mov	eax, DWORD PTR -1628[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -1632[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	mov	eax, DWORD PTR -1616[rbp+rax*4]
	mov	ecx, eax
	mov	eax, DWORD PTR -1628[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -1632[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	add	rax, rsi
	lea	rdx, 0[0+rax*4]
	lea	rax, rt[rip]
	mov	DWORD PTR [rdx+rax], ecx
	mov	edx, DWORD PTR -1628[rbp]
	mov	eax, DWORD PTR -1628[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -1632[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	sal	rax, 3
	add	rax, rsi
	add	rax, 20
	lea	rcx, 0[0+rax*4]
	lea	rax, rt[rip]
	mov	DWORD PTR [rcx+rax], edx
	add	DWORD PTR -1628[rbp], 1
.L3:
	mov	eax, DWORD PTR -1636[rbp]
	cmp	DWORD PTR -1628[rbp], eax
	jl	.L4
	add	DWORD PTR -1632[rbp], 1
.L2:
	mov	eax, DWORD PTR -1636[rbp]
	cmp	DWORD PTR -1632[rbp], eax
	jl	.L5
.L13:
	mov	DWORD PTR -1620[rbp], 0
	mov	DWORD PTR -1632[rbp], 0
	jmp	.L6
.L12:
	mov	DWORD PTR -1628[rbp], 0
	jmp	.L7
.L11:
	mov	DWORD PTR -1624[rbp], 0
	jmp	.L8
.L10:
	mov	eax, DWORD PTR -1628[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -1632[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, rt[rip]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -1624[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -1632[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	mov	eax, DWORD PTR -1616[rbp+rax*4]
	mov	edi, eax
	mov	eax, DWORD PTR -1628[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -1624[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	add	rax, rsi
	lea	rdx, 0[0+rax*4]
	lea	rax, rt[rip]
	mov	eax, DWORD PTR [rdx+rax]
	add	eax, edi
	cmp	ecx, eax
	jbe	.L9
	mov	eax, DWORD PTR -1624[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -1632[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, rt[rip]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -1628[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -1624[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	add	rax, rsi
	lea	rdx, 0[0+rax*4]
	lea	rax, rt[rip]
	mov	eax, DWORD PTR [rdx+rax]
	add	ecx, eax
	mov	eax, DWORD PTR -1628[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -1632[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	add	rax, rsi
	lea	rdx, 0[0+rax*4]
	lea	rax, rt[rip]
	mov	DWORD PTR [rdx+rax], ecx
	mov	edx, DWORD PTR -1624[rbp]
	mov	eax, DWORD PTR -1628[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -1632[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	sal	rax, 3
	add	rax, rsi
	add	rax, 20
	lea	rcx, 0[0+rax*4]
	lea	rax, rt[rip]
	mov	DWORD PTR [rcx+rax], edx
	add	DWORD PTR -1620[rbp], 1
.L9:
	add	DWORD PTR -1624[rbp], 1
.L8:
	mov	eax, DWORD PTR -1636[rbp]
	cmp	DWORD PTR -1624[rbp], eax
	jl	.L10
	add	DWORD PTR -1628[rbp], 1
.L7:
	mov	eax, DWORD PTR -1636[rbp]
	cmp	DWORD PTR -1628[rbp], eax
	jl	.L11
	add	DWORD PTR -1632[rbp], 1
.L6:
	mov	eax, DWORD PTR -1636[rbp]
	cmp	DWORD PTR -1632[rbp], eax
	jl	.L12
	cmp	DWORD PTR -1620[rbp], 0
	jne	.L13
	mov	DWORD PTR -1632[rbp], 0
	jmp	.L14
.L17:
	mov	eax, DWORD PTR -1632[rbp]
	add	eax, 1
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -1628[rbp], 0
	jmp	.L15
.L16:
	mov	eax, DWORD PTR -1628[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -1632[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, rt[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -1628[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -1632[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	sal	rax, 3
	add	rax, rsi
	add	rax, 20
	lea	rcx, 0[0+rax*4]
	lea	rax, rt[rip]
	mov	eax, DWORD PTR [rcx+rax]
	lea	esi, 1[rax]
	mov	eax, DWORD PTR -1628[rbp]
	add	eax, 1
	mov	ecx, edx
	mov	edx, esi
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -1628[rbp], 1
.L15:
	mov	eax, DWORD PTR -1636[rbp]
	cmp	DWORD PTR -1628[rbp], eax
	jl	.L16
	add	DWORD PTR -1632[rbp], 1
.L14:
	mov	eax, DWORD PTR -1636[rbp]
	cmp	DWORD PTR -1632[rbp], eax
	jl	.L17
	mov	eax, 0
	mov	rdi, QWORD PTR -8[rbp]
	sub	rdi, QWORD PTR fs:40
	je	.L19
	call	__stack_chk_fail@PLT
.L19:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.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	"48575873.c"
	.text
	.comm	rt,1600,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Vertex count\012:\000"
	.align	2
.LC1:
	.ascii	"%d\000"
	.align	2
.LC2:
	.ascii	"Enter cost matrix:\000"
	.align	2
.LC3:
	.ascii	"\012\012Vertex %d:\000"
	.align	2
.LC4:
	.ascii	"\012Node %d via %d: Distance %d \000"
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 1624
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1616
	sub	sp, sp, #8
	ldr	r3, .L20
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-1628]
	mov	r3, #0
	str	r3, [fp, #-1624]
	mov	r3, #0
	str	r3, [fp, #-1620]
	mov	r3, #0
	str	r3, [fp, #-1612]
	ldr	r0, .L20+4
	bl	printf
	sub	r3, fp, #1616
	sub	r3, r3, #4
	sub	r3, r3, #8
	mov	r1, r3
	ldr	r0, .L20+8
	bl	__isoc99_scanf
	ldr	r0, .L20+12
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-1624]
	b	.L2
.L5:
	mov	r3, #0
	str	r3, [fp, #-1620]
	b	.L3
.L4:
	sub	r2, fp, #1600
	sub	r2, r2, #4
	sub	r2, r2, #4
	ldr	r1, [fp, #-1624]
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #2
	ldr	r1, [fp, #-1620]
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L20+8
	bl	__isoc99_scanf
	ldr	r2, [fp, #-1624]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #3
	sub	r2, r2, r3
	lsl	r3, r2, #2
	mov	r2, r3
	sub	r3, fp, #4
	add	r3, r3, r2
	sub	r3, r3, #1600
	sub	r3, r3, #4
	mov	r2, #0
	str	r2, [r3]
	ldr	r2, [fp, #-1624]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1620]
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-1604]
	mov	r0, r3
	ldr	r1, .L20+16
	ldr	r2, [fp, #-1624]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	ldr	r2, [fp, #-1620]
	add	r3, r3, r2
	str	r0, [r1, r3, lsl #2]
	ldr	r1, [fp, #-1620]
	ldr	r0, .L20+16
	ldr	r2, [fp, #-1624]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	ldr	r2, [fp, #-1620]
	add	r3, r3, r2
	add	r3, r3, #20
	str	r1, [r0, r3, lsl #2]
	ldr	r3, [fp, #-1620]
	add	r3, r3, #1
	str	r3, [fp, #-1620]
.L3:
	ldr	r3, [fp, #-1628]
	ldr	r2, [fp, #-1620]
	cmp	r2, r3
	blt	.L4
	ldr	r3, [fp, #-1624]
	add	r3, r3, #1
	str	r3, [fp, #-1624]
.L2:
	ldr	r3, [fp, #-1628]
	ldr	r2, [fp, #-1624]
	cmp	r2, r3
	blt	.L5
.L13:
	mov	r3, #0
	str	r3, [fp, #-1612]
	mov	r3, #0
	str	r3, [fp, #-1624]
	b	.L6
.L12:
	mov	r3, #0
	str	r3, [fp, #-1620]
	b	.L7
.L11:
	mov	r3, #0
	str	r3, [fp, #-1616]
	b	.L8
.L10:
	ldr	r1, .L20+16
	ldr	r2, [fp, #-1624]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	ldr	r2, [fp, #-1620]
	add	r3, r3, r2
	ldr	r1, [r1, r3, lsl #2]
	ldr	r2, [fp, #-1624]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1616]
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-1604]
	mov	ip, r3
	ldr	r0, .L20+16
	ldr	r2, [fp, #-1616]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	ldr	r2, [fp, #-1620]
	add	r3, r3, r2
	ldr	r3, [r0, r3, lsl #2]
	add	r3, ip, r3
	cmp	r1, r3
	bls	.L9
	ldr	r1, .L20+16
	ldr	r2, [fp, #-1624]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	ldr	r2, [fp, #-1616]
	add	r3, r3, r2
	ldr	r1, [r1, r3, lsl #2]
	ldr	r0, .L20+16
	ldr	r2, [fp, #-1616]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	ldr	r2, [fp, #-1620]
	add	r3, r3, r2
	ldr	r3, [r0, r3, lsl #2]
	add	r1, r1, r3
	ldr	r0, .L20+16
	ldr	r2, [fp, #-1624]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	ldr	r2, [fp, #-1620]
	add	r3, r3, r2
	str	r1, [r0, r3, lsl #2]
	ldr	r1, [fp, #-1616]
	ldr	r0, .L20+16
	ldr	r2, [fp, #-1624]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	ldr	r2, [fp, #-1620]
	add	r3, r3, r2
	add	r3, r3, #20
	str	r1, [r0, r3, lsl #2]
	ldr	r3, [fp, #-1612]
	add	r3, r3, #1
	str	r3, [fp, #-1612]
.L9:
	ldr	r3, [fp, #-1616]
	add	r3, r3, #1
	str	r3, [fp, #-1616]
.L8:
	ldr	r3, [fp, #-1628]
	ldr	r2, [fp, #-1616]
	cmp	r2, r3
	blt	.L10
	ldr	r3, [fp, #-1620]
	add	r3, r3, #1
	str	r3, [fp, #-1620]
.L7:
	ldr	r3, [fp, #-1628]
	ldr	r2, [fp, #-1620]
	cmp	r2, r3
	blt	.L11
	ldr	r3, [fp, #-1624]
	add	r3, r3, #1
	str	r3, [fp, #-1624]
.L6:
	ldr	r3, [fp, #-1628]
	ldr	r2, [fp, #-1624]
	cmp	r2, r3
	blt	.L12
	ldr	r3, [fp, #-1612]
	cmp	r3, #0
	bne	.L13
	mov	r3, #0
	str	r3, [fp, #-1624]
	b	.L14
.L17:
	ldr	r3, [fp, #-1624]
	add	r3, r3, #1
	mov	r1, r3
	ldr	r0, .L20+20
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-1620]
	b	.L15
.L16:
	ldr	r3, [fp, #-1620]
	add	r1, r3, #1
	ldr	r0, .L20+16
	ldr	r2, [fp, #-1624]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	ldr	r2, [fp, #-1620]
	add	r3, r3, r2
	add	r3, r3, #20
	ldr	r3, [r0, r3, lsl #2]
	add	r0, r3, #1
	ldr	ip, .L20+16
	ldr	r2, [fp, #-1624]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	ldr	r2, [fp, #-1620]
	add	r3, r3, r2
	ldr	r3, [ip, r3, lsl #2]
	mov	r2, r0
	ldr	r0, .L20+24
	bl	printf
	ldr	r3, [fp, #-1620]
	add	r3, r3, #1
	str	r3, [fp, #-1620]
.L15:
	ldr	r3, [fp, #-1628]
	ldr	r2, [fp, #-1620]
	cmp	r2, r3
	blt	.L16
	ldr	r3, [fp, #-1624]
	add	r3, r3, #1
	str	r3, [fp, #-1624]
.L14:
	ldr	r3, [fp, #-1628]
	ldr	r2, [fp, #-1624]
	cmp	r2, r3
	blt	.L17
	mov	r3, #0
	ldr	r2, .L20
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L19
	bl	__stack_chk_fail
.L19:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L21:
	.align	2
.L20:
	.word	.LC5
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	rt
	.word	.LC3
	.word	.LC4
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
