	.file	"72012412.c"
	.intel_syntax noprefix
	.text
	.globl	n
	.bss
	.align 4
	.type	n, @object
	.size	n, 4
n:
	.zero	4
	.globl	a
	.align 32
	.type	a, @object
	.size	a, 1600
a:
	.zero	1600
	.globl	b
	.align 32
	.type	b, @object
	.size	b, 1600
b:
	.zero	1600
	.globl	i
	.align 4
	.type	i, @object
	.size	i, 4
i:
	.zero	4
	.globl	j
	.align 4
	.type	j, @object
	.size	j, 4
j:
	.zero	4
	.globl	x
	.align 4
	.type	x, @object
	.size	x, 4
x:
	.zero	4
	.globl	k
	.align 4
	.type	k, @object
	.size	k, 4
k:
	.zero	4
	.globl	t
	.align 4
	.type	t, @object
	.size	t, 4
t:
	.zero	4
	.globl	f
	.align 4
	.type	f, @object
	.size	f, 4
f:
	.zero	4
	.globl	min
	.align 4
	.type	min, @object
	.size	min, 4
min:
	.zero	4
	.globl	dist
	.align 32
	.type	dist, @object
	.size	dist, 40
dist:
	.zero	40
	.globl	sld
	.align 32
	.type	sld, @object
	.size	sld, 40
sld:
	.zero	40
	.globl	hu
	.align 32
	.type	hu, @object
	.size	hu, 40
hu:
	.zero	40
	.globl	name
	.align 8
	.type	name, @object
	.size	name, 10
name:
	.zero	10
	.text
	.globl	allocatesld
	.type	allocatesld, @function
allocatesld:
.LFB0:
	.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 sld[rip+4], 366
	mov	DWORD PTR sld[rip+8], 374
	mov	DWORD PTR sld[rip+12], 253
	mov	DWORD PTR sld[rip+16], 329
	mov	DWORD PTR sld[rip+20], 176
	mov	DWORD PTR sld[rip+24], 193
	mov	DWORD PTR sld[rip+28], 380
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	allocatesld, .-allocatesld
	.globl	minimum
	.type	minimum, @function
minimum:
.LFB1:
	.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], 0
	mov	DWORD PTR min[rip], 999
	mov	DWORD PTR -4[rbp], 0
	jmp	.L3
.L5:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, dist[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR min[rip]
	cmp	edx, eax
	jg	.L4
	mov	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR t[rip], eax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, dist[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR min[rip], eax
.L4:
	add	DWORD PTR -4[rbp], 1
.L3:
	mov	eax, DWORD PTR f[rip]
	cmp	DWORD PTR -4[rbp], eax
	jle	.L5
	mov	eax, DWORD PTR min[rip]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	minimum, .-minimum
	.globl	minimum1
	.type	minimum1, @function
minimum1:
.LFB2:
	.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], 0
	mov	DWORD PTR min[rip], 999
	mov	DWORD PTR -4[rbp], 0
	jmp	.L8
.L10:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, hu[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR min[rip]
	cmp	edx, eax
	jg	.L9
	mov	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR t[rip], eax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, hu[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR min[rip], eax
.L9:
	add	DWORD PTR -4[rbp], 1
.L8:
	mov	eax, DWORD PTR f[rip]
	cmp	DWORD PTR -4[rbp], eax
	jle	.L10
	mov	eax, DWORD PTR min[rip]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	minimum1, .-minimum1
	.section	.rodata
.LC0:
	.string	"Enter number of vertices: "
.LC1:
	.string	"%d"
.LC2:
	.string	"Enter the adjacency matrix: "
	.text
	.globl	read_graph
	.type	read_graph, @function
read_graph:
.LFB3:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC0[rip]
	call	puts@PLT
	lea	rsi, n[rip]
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC2[rip]
	call	puts@PLT
	mov	DWORD PTR i[rip], 1
	jmp	.L13
.L16:
	mov	DWORD PTR j[rip], 1
	jmp	.L14
.L15:
	mov	eax, DWORD PTR i[rip]
	mov	edx, DWORD PTR j[rip]
	movsx	rcx, edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, a[rip]
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR j[rip]
	add	eax, 1
	mov	DWORD PTR j[rip], eax
.L14:
	mov	edx, DWORD PTR j[rip]
	mov	eax, DWORD PTR n[rip]
	cmp	edx, eax
	jle	.L15
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR i[rip], eax
.L13:
	mov	edx, DWORD PTR i[rip]
	mov	eax, DWORD PTR n[rip]
	cmp	edx, eax
	jle	.L16
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	read_graph, .-read_graph
	.section	.rodata
.LC3:
	.string	"Enter the cost matrix: "
	.text
	.globl	read_cost
	.type	read_cost, @function
read_cost:
.LFB4:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	DWORD PTR i[rip], 1
	jmp	.L18
.L21:
	mov	DWORD PTR j[rip], 1
	jmp	.L19
.L20:
	mov	eax, DWORD PTR i[rip]
	mov	edx, DWORD PTR j[rip]
	movsx	rcx, edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, b[rip]
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR j[rip]
	add	eax, 1
	mov	DWORD PTR j[rip], eax
.L19:
	mov	edx, DWORD PTR j[rip]
	mov	eax, DWORD PTR n[rip]
	cmp	edx, eax
	jle	.L20
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR i[rip], eax
.L18:
	mov	edx, DWORD PTR i[rip]
	mov	eax, DWORD PTR n[rip]
	cmp	edx, eax
	jle	.L21
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	read_cost, .-read_cost
	.section	.rodata
.LC4:
	.string	"Enter the source node "
	.align 8
.LC5:
	.string	"path starts from starting point which is arad and then visits node %d and distance travelled is %d \n"
	.align 8
.LC6:
	.string	"from there, next visits %d which is at a distance of %d \n"
	.align 8
.LC7:
	.string	"Total distance travelled is %d \n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB5:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -24[rbp], 0
	mov	eax, 0
	call	read_graph
	mov	eax, 0
	call	read_cost
	lea	rdi, .LC4[rip]
	call	puts@PLT
	lea	rax, -28[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -28[rbp]
	mov	DWORD PTR -16[rbp], eax
	mov	eax, 0
	call	allocatesld
	mov	DWORD PTR i[rip], 1
	jmp	.L23
.L25:
	mov	eax, DWORD PTR -28[rbp]
	mov	edx, DWORD PTR i[rip]
	movsx	rcx, edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, a[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	eax, 1
	jne	.L24
	mov	ecx, DWORD PTR i[rip]
	mov	eax, DWORD PTR k[rip]
	lea	edx, 1[rax]
	mov	DWORD PTR k[rip], edx
	movsx	rdx, ecx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, sld[rip]
	mov	edx, DWORD PTR [rcx+rdx]
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rax, dist[rip]
	mov	DWORD PTR [rcx+rax], edx
	mov	eax, DWORD PTR f[rip]
	add	eax, 1
	mov	DWORD PTR f[rip], eax
	mov	DWORD PTR -24[rbp], 1
.L24:
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR i[rip], eax
.L23:
	mov	edx, DWORD PTR i[rip]
	mov	eax, DWORD PTR n[rip]
	cmp	edx, eax
	jle	.L25
	mov	eax, 0
	call	minimum
	mov	DWORD PTR x[rip], eax
	mov	eax, DWORD PTR t[rip]
	mov	DWORD PTR -28[rbp], eax
	mov	eax, DWORD PTR -28[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, b[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -28[rbp]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -28[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, b[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR -20[rbp], eax
	jmp	.L26
.L31:
	mov	DWORD PTR k[rip], 0
	mov	eax, DWORD PTR -28[rbp]
	mov	DWORD PTR -16[rbp], eax
	mov	DWORD PTR f[rip], 0
	mov	DWORD PTR i[rip], 1
	jmp	.L27
.L29:
	mov	eax, DWORD PTR -28[rbp]
	mov	edx, DWORD PTR i[rip]
	movsx	rcx, edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, a[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	eax, 1
	jne	.L28
	mov	eax, DWORD PTR i[rip]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, sld[rip]
	mov	esi, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -28[rbp]
	mov	edx, DWORD PTR i[rip]
	movsx	rcx, edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, b[rip]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR k[rip]
	lea	edx, 1[rax]
	mov	DWORD PTR k[rip], edx
	add	ecx, esi
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, hu[rip]
	mov	DWORD PTR [rdx+rax], ecx
	mov	eax, DWORD PTR f[rip]
	add	eax, 1
	mov	DWORD PTR f[rip], eax
.L28:
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR i[rip], eax
.L27:
	mov	edx, DWORD PTR i[rip]
	mov	eax, DWORD PTR n[rip]
	cmp	edx, eax
	jle	.L29
	mov	edx, DWORD PTR t[rip]
	mov	eax, DWORD PTR -28[rbp]
	add	eax, edx
	mov	DWORD PTR -28[rbp], eax
	add	DWORD PTR -24[rbp], 1
	mov	eax, 0
	call	minimum1
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -28[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, b[rip]
	mov	eax, DWORD PTR [rdx+rax]
	add	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR -28[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, b[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -28[rbp]
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
.L26:
	cmp	DWORD PTR -24[rbp], 2
	je	.L30
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, 6
	jne	.L31
.L30:
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L32
	call	__stack_chk_fail@PLT
.L32:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"72012412.c"
	.text
	.comm	n,4,4
	.comm	a,1600,4
	.comm	b,1600,4
	.comm	i,4,4
	.comm	j,4,4
	.comm	x,4,4
	.global	k
	.bss
	.align	2
	.type	k, %object
	.size	k, 4
k:
	.space	4
	.comm	t,4,4
	.global	f
	.align	2
	.type	f, %object
	.size	f, 4
f:
	.space	4
	.comm	min,4,4
	.comm	dist,40,4
	.comm	sld,40,4
	.comm	hu,40,4
	.comm	name,10,4
	.text
	.align	2
	.global	allocatesld
	.syntax unified
	.arm
	.fpu softvfp
	.type	allocatesld, %function
allocatesld:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	ldr	r3, .L2
	ldr	r2, .L2+4
	str	r2, [r3, #4]
	ldr	r3, .L2
	ldr	r2, .L2+8
	str	r2, [r3, #8]
	ldr	r3, .L2
	mov	r2, #253
	str	r2, [r3, #12]
	ldr	r3, .L2
	ldr	r2, .L2+12
	str	r2, [r3, #16]
	ldr	r3, .L2
	mov	r2, #176
	str	r2, [r3, #20]
	ldr	r3, .L2
	mov	r2, #193
	str	r2, [r3, #24]
	ldr	r3, .L2
	mov	r2, #380
	str	r2, [r3, #28]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L3:
	.align	2
.L2:
	.word	sld
	.word	366
	.word	374
	.word	329
	.size	allocatesld, .-allocatesld
	.align	2
	.global	minimum
	.syntax unified
	.arm
	.fpu softvfp
	.type	minimum, %function
minimum:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r3, .L9
	ldr	r2, .L9+4
	str	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L5
.L7:
	ldr	r2, .L9+8
	ldr	r3, [fp, #-8]
	ldr	r2, [r2, r3, lsl #2]
	ldr	r3, .L9
	ldr	r3, [r3]
	cmp	r2, r3
	bgt	.L6
	ldr	r2, .L9+12
	ldr	r3, [fp, #-8]
	str	r3, [r2]
	ldr	r2, .L9+8
	ldr	r3, [fp, #-8]
	ldr	r3, [r2, r3, lsl #2]
	ldr	r2, .L9
	str	r3, [r2]
.L6:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L5:
	ldr	r3, .L9+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	ble	.L7
	ldr	r3, .L9
	ldr	r3, [r3]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L10:
	.align	2
.L9:
	.word	min
	.word	999
	.word	dist
	.word	t
	.word	f
	.size	minimum, .-minimum
	.align	2
	.global	minimum1
	.syntax unified
	.arm
	.fpu softvfp
	.type	minimum1, %function
minimum1:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r3, .L16
	ldr	r2, .L16+4
	str	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L12
.L14:
	ldr	r2, .L16+8
	ldr	r3, [fp, #-8]
	ldr	r2, [r2, r3, lsl #2]
	ldr	r3, .L16
	ldr	r3, [r3]
	cmp	r2, r3
	bgt	.L13
	ldr	r2, .L16+12
	ldr	r3, [fp, #-8]
	str	r3, [r2]
	ldr	r2, .L16+8
	ldr	r3, [fp, #-8]
	ldr	r3, [r2, r3, lsl #2]
	ldr	r2, .L16
	str	r3, [r2]
.L13:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L12:
	ldr	r3, .L16+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	ble	.L14
	ldr	r3, .L16
	ldr	r3, [r3]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L17:
	.align	2
.L16:
	.word	min
	.word	999
	.word	hu
	.word	t
	.word	f
	.size	minimum1, .-minimum1
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Enter number of vertices: \000"
	.align	2
.LC1:
	.ascii	"%d\000"
	.align	2
.LC2:
	.ascii	"Enter the adjacency matrix: \000"
	.text
	.align	2
	.global	read_graph
	.syntax unified
	.arm
	.fpu softvfp
	.type	read_graph, %function
read_graph:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L23
	bl	puts
	ldr	r1, .L23+4
	ldr	r0, .L23+8
	bl	__isoc99_scanf
	ldr	r0, .L23+12
	bl	puts
	ldr	r3, .L23+16
	mov	r2, #1
	str	r2, [r3]
	b	.L19
.L22:
	ldr	r3, .L23+20
	mov	r2, #1
	str	r2, [r3]
	b	.L20
.L21:
	ldr	r3, .L23+16
	ldr	r2, [r3]
	ldr	r3, .L23+20
	ldr	r1, [r3]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #2
	ldr	r2, .L23+24
	add	r3, r3, r2
	mov	r1, r3
	ldr	r0, .L23+8
	bl	__isoc99_scanf
	ldr	r3, .L23+20
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L23+20
	str	r3, [r2]
.L20:
	ldr	r3, .L23+20
	ldr	r2, [r3]
	ldr	r3, .L23+4
	ldr	r3, [r3]
	cmp	r2, r3
	ble	.L21
	ldr	r3, .L23+16
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L23+16
	str	r3, [r2]
.L19:
	ldr	r3, .L23+16
	ldr	r2, [r3]
	ldr	r3, .L23+4
	ldr	r3, [r3]
	cmp	r2, r3
	ble	.L22
	nop
	nop
	pop	{fp, pc}
.L24:
	.align	2
.L23:
	.word	.LC0
	.word	n
	.word	.LC1
	.word	.LC2
	.word	i
	.word	j
	.word	a
	.size	read_graph, .-read_graph
	.section	.rodata
	.align	2
.LC3:
	.ascii	"Enter the cost matrix: \000"
	.text
	.align	2
	.global	read_cost
	.syntax unified
	.arm
	.fpu softvfp
	.type	read_cost, %function
read_cost:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L30
	bl	puts
	ldr	r3, .L30+4
	mov	r2, #1
	str	r2, [r3]
	b	.L26
.L29:
	ldr	r3, .L30+8
	mov	r2, #1
	str	r2, [r3]
	b	.L27
.L28:
	ldr	r3, .L30+4
	ldr	r2, [r3]
	ldr	r3, .L30+8
	ldr	r1, [r3]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #2
	ldr	r2, .L30+12
	add	r3, r3, r2
	mov	r1, r3
	ldr	r0, .L30+16
	bl	__isoc99_scanf
	ldr	r3, .L30+8
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L30+8
	str	r3, [r2]
.L27:
	ldr	r3, .L30+8
	ldr	r2, [r3]
	ldr	r3, .L30+20
	ldr	r3, [r3]
	cmp	r2, r3
	ble	.L28
	ldr	r3, .L30+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L30+4
	str	r3, [r2]
.L26:
	ldr	r3, .L30+4
	ldr	r2, [r3]
	ldr	r3, .L30+20
	ldr	r3, [r3]
	cmp	r2, r3
	ble	.L29
	nop
	nop
	pop	{fp, pc}
.L31:
	.align	2
.L30:
	.word	.LC3
	.word	i
	.word	j
	.word	b
	.word	.LC1
	.word	n
	.size	read_cost, .-read_cost
	.section	.rodata
	.align	2
.LC4:
	.ascii	"Enter the source node \000"
	.align	2
.LC5:
	.ascii	"path starts from starting point which is arad and t"
	.ascii	"hen visits node %d and distance travelled is %d \012"
	.ascii	"\000"
	.align	2
.LC6:
	.ascii	"from there, next visits %d which is at a distance o"
	.ascii	"f %d \012\000"
	.align	2
.LC7:
	.ascii	"Total distance travelled is %d \012\000"
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	ldr	r3, .L43
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-24]
	bl	read_graph
	bl	read_cost
	ldr	r0, .L43+4
	bl	puts
	sub	r3, fp, #28
	mov	r1, r3
	ldr	r0, .L43+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-28]
	str	r3, [fp, #-16]
	bl	allocatesld
	ldr	r3, .L43+12
	mov	r2, #1
	str	r2, [r3]
	b	.L33
.L35:
	ldr	r2, [fp, #-28]
	ldr	r3, .L43+12
	ldr	r1, [r3]
	ldr	r0, .L43+16
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r1
	ldr	r3, [r0, r3, lsl #2]
	cmp	r3, #1
	bne	.L34
	ldr	r3, .L43+12
	ldr	r2, [r3]
	ldr	r3, .L43+20
	ldr	r3, [r3]
	add	r1, r3, #1
	ldr	r0, .L43+20
	str	r1, [r0]
	ldr	r1, .L43+24
	ldr	r2, [r1, r2, lsl #2]
	ldr	r1, .L43+28
	str	r2, [r1, r3, lsl #2]
	ldr	r3, .L43+32
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L43+32
	str	r3, [r2]
	mov	r3, #1
	str	r3, [fp, #-24]
.L34:
	ldr	r3, .L43+12
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L43+12
	str	r3, [r2]
.L33:
	ldr	r3, .L43+12
	ldr	r2, [r3]
	ldr	r3, .L43+36
	ldr	r3, [r3]
	cmp	r2, r3
	ble	.L35
	bl	minimum
	mov	r3, r0
	ldr	r2, .L43+40
	str	r3, [r2]
	ldr	r3, .L43+44
	ldr	r3, [r3]
	str	r3, [fp, #-28]
	ldr	r0, [fp, #-28]
	ldr	r1, [fp, #-28]
	ldr	ip, .L43+48
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r1
	ldr	r3, [ip, r3, lsl #2]
	mov	r2, r3
	mov	r1, r0
	ldr	r0, .L43+52
	bl	printf
	ldr	r1, [fp, #-28]
	ldr	r0, .L43+48
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r1
	ldr	r3, [r0, r3, lsl #2]
	str	r3, [fp, #-20]
	b	.L36
.L41:
	ldr	r3, .L43+20
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-28]
	str	r3, [fp, #-16]
	ldr	r3, .L43+32
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L43+12
	mov	r2, #1
	str	r2, [r3]
	b	.L37
.L39:
	ldr	r2, [fp, #-28]
	ldr	r3, .L43+12
	ldr	r1, [r3]
	ldr	r0, .L43+16
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r1
	ldr	r3, [r0, r3, lsl #2]
	cmp	r3, #1
	bne	.L38
	ldr	r3, .L43+12
	ldr	r3, [r3]
	ldr	r2, .L43+24
	ldr	r1, [r2, r3, lsl #2]
	ldr	r2, [fp, #-28]
	ldr	r3, .L43+12
	ldr	r0, [r3]
	ldr	ip, .L43+48
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r0
	ldr	r2, [ip, r3, lsl #2]
	ldr	r3, .L43+20
	ldr	r3, [r3]
	add	r0, r3, #1
	ldr	ip, .L43+20
	str	r0, [ip]
	add	r2, r1, r2
	ldr	r1, .L43+56
	str	r2, [r1, r3, lsl #2]
	ldr	r3, .L43+32
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L43+32
	str	r3, [r2]
.L38:
	ldr	r3, .L43+12
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L43+12
	str	r3, [r2]
.L37:
	ldr	r3, .L43+12
	ldr	r2, [r3]
	ldr	r3, .L43+36
	ldr	r3, [r3]
	cmp	r2, r3
	ble	.L39
	ldr	r3, .L43+44
	ldr	r2, [r3]
	ldr	r3, [fp, #-28]
	add	r3, r2, r3
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
	bl	minimum1
	str	r0, [fp, #-12]
	ldr	r1, [fp, #-28]
	ldr	r0, .L43+48
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r1
	ldr	r3, [r0, r3, lsl #2]
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	str	r3, [fp, #-20]
	ldr	r0, [fp, #-28]
	ldr	r1, [fp, #-28]
	ldr	ip, .L43+48
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r1
	ldr	r3, [ip, r3, lsl #2]
	mov	r2, r3
	mov	r1, r0
	ldr	r0, .L43+60
	bl	printf
.L36:
	ldr	r3, [fp, #-24]
	cmp	r3, #2
	beq	.L40
	ldr	r3, [fp, #-28]
	cmp	r3, #6
	bne	.L41
.L40:
	ldr	r1, [fp, #-20]
	ldr	r0, .L43+64
	bl	printf
	nop
	ldr	r3, .L43
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L42
	bl	__stack_chk_fail
.L42:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L44:
	.align	2
.L43:
	.word	.LC8
	.word	.LC4
	.word	.LC1
	.word	i
	.word	a
	.word	k
	.word	sld
	.word	dist
	.word	f
	.word	n
	.word	x
	.word	t
	.word	b
	.word	.LC5
	.word	hu
	.word	.LC6
	.word	.LC7
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
