	.file	"736105.c"
	.intel_syntax noprefix
	.text
	.globl	min2
	.type	min2, @function
min2:
.LFB6:
	.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
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -8[rbp]
	jle	.L2
	mov	eax, DWORD PTR -8[rbp]
	jmp	.L3
.L2:
	mov	eax, DWORD PTR -4[rbp]
.L3:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	min2, .-min2
	.globl	dictionary
	.bss
	.align 32
	.type	dictionary, @object
	.size	dictionary, 1020100
dictionary:
	.zero	1020100
	.text
	.globl	InsertListMember
	.type	InsertListMember, @function
InsertListMember:
.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, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -36[rbp], edx
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rcx, QWORD PTR -32[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	jne	.L5
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR -36[rbp]
	mov	DWORD PTR 100[rax], edx
	jmp	.L12
.L5:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -32[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L7
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 120[rax]
	test	rax, rax
	jne	.L8
	mov	edi, 128
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L9
	mov	edi, 1
	call	exit@PLT
.L9:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -32[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR -36[rbp]
	mov	DWORD PTR 100[rax], edx
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 120[rax], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 112[rax], 0
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 120[rax], rdx
	jmp	.L12
.L8:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 120[rax]
	mov	edx, DWORD PTR -36[rbp]
	mov	rcx, QWORD PTR -32[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	InsertListMember
	jmp	.L12
.L7:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 112[rax]
	test	rax, rax
	jne	.L10
	mov	edi, 128
	call	malloc@PLT
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	jne	.L11
	mov	edi, 1
	call	exit@PLT
.L11:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -32[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, DWORD PTR -36[rbp]
	mov	DWORD PTR 100[rax], edx
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR 120[rax], 0
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR 112[rax], 0
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	QWORD PTR 112[rax], rdx
	jmp	.L12
.L10:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 112[rax]
	mov	edx, DWORD PTR -36[rbp]
	mov	rcx, QWORD PTR -32[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	InsertListMember
.L12:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	InsertListMember, .-InsertListMember
	.globl	SearchListMember
	.type	SearchListMember, @function
SearchListMember:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	cmp	QWORD PTR -8[rbp], 0
	jne	.L14
	mov	eax, -1
	jmp	.L15
.L14:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, QWORD PTR -16[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	jne	.L16
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 100[rax]
	jmp	.L15
.L16:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L17
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 120[rax]
	mov	rdx, QWORD PTR -16[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	SearchListMember
	jmp	.L15
.L17:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 112[rax]
	mov	rdx, QWORD PTR -16[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	SearchListMember
.L15:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	SearchListMember, .-SearchListMember
	.globl	searchNode
	.type	searchNode, @function
searchNode:
.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	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	cmp	QWORD PTR -8[rbp], 0
	jne	.L19
	mov	eax, 0
	jmp	.L20
.L19:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, QWORD PTR -16[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	jne	.L21
	mov	rax, QWORD PTR -8[rbp]
	jmp	.L20
.L21:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L22
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 120[rax]
	mov	rdx, QWORD PTR -16[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	searchNode
	jmp	.L20
.L22:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 112[rax]
	mov	rdx, QWORD PTR -16[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	searchNode
.L20:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	searchNode, .-searchNode
	.globl	distance
	.bss
	.align 32
	.type	distance, @object
	.size	distance, 4080400
distance:
	.zero	4080400
	.globl	USED
	.align 32
	.type	USED, @object
	.size	USED, 4040
USED:
	.zero	4040
	.text
	.globl	dijkstra
	.type	dijkstra, @function
dijkstra:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 72
	.cfi_offset 3, -24
	mov	DWORD PTR -52[rbp], edi
	mov	QWORD PTR -64[rbp], rsi
	mov	QWORD PTR -72[rbp], rdx
	mov	DWORD PTR -40[rbp], 0
	jmp	.L24
.L26:
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, distance[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	eax, 9999999
	jg	.L25
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	imul	rax, rax, 1010
	lea	rdx, dictionary[rip]
	add	rdx, rax
	mov	rax, QWORD PTR -72[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	searchNode
	mov	DWORD PTR 104[rax], 0
.L25:
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -64[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rax, distance[rip]
	mov	eax, DWORD PTR [rcx+rax]
	mov	DWORD PTR [rdx], eax
	add	DWORD PTR -40[rbp], 1
.L24:
	mov	eax, DWORD PTR -40[rbp]
	cmp	eax, DWORD PTR -52[rbp]
	jl	.L26
	mov	DWORD PTR USED[rip], 1
	mov	DWORD PTR -32[rbp], 1
	jmp	.L27
.L35:
	mov	DWORD PTR -28[rbp], 10000000
	mov	DWORD PTR -24[rbp], 1
	jmp	.L28
.L30:
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, USED[rip]
	mov	eax, DWORD PTR [rdx+rax]
	test	eax, eax
	jne	.L29
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -28[rbp], eax
	jle	.L29
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -28[rbp], eax
	mov	eax, DWORD PTR -24[rbp]
	mov	DWORD PTR -36[rbp], eax
.L29:
	add	DWORD PTR -24[rbp], 1
.L28:
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, DWORD PTR -52[rbp]
	jl	.L30
	mov	DWORD PTR -20[rbp], 0
	jmp	.L31
.L34:
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, USED[rip]
	mov	eax, DWORD PTR [rdx+rax]
	test	eax, eax
	jne	.L32
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	edx, DWORD PTR -36[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	mov	rdx, QWORD PTR -64[rbp]
	add	rdx, rcx
	mov	esi, DWORD PTR [rdx]
	mov	edx, DWORD PTR -20[rbp]
	movsx	rcx, edx
	mov	edx, DWORD PTR -36[rbp]
	movsx	rdx, edx
	imul	rdx, rdx, 1010
	add	rdx, rcx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, distance[rip]
	mov	edx, DWORD PTR [rcx+rdx]
	add	edx, esi
	cmp	eax, edx
	jle	.L33
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	imul	rax, rax, 1010
	lea	rdx, dictionary[rip]
	add	rdx, rax
	mov	rax, QWORD PTR -72[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	searchNode
	mov	edx, DWORD PTR -36[rbp]
	mov	DWORD PTR 104[rax], edx
.L33:
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	mov	ecx, DWORD PTR [rax]
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	imul	rax, rax, 1010
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, distance[rip]
	mov	eax, DWORD PTR [rdx+rax]
	lea	edx, [rcx+rax]
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	mov	ecx, DWORD PTR -20[rbp]
	movsx	rcx, ecx
	lea	rsi, 0[0+rcx*4]
	mov	rcx, QWORD PTR -64[rbp]
	lea	rbx, [rsi+rcx]
	mov	esi, edx
	mov	edi, eax
	call	min2
	mov	DWORD PTR [rbx], eax
.L32:
	add	DWORD PTR -20[rbp], 1
.L31:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -52[rbp]
	jl	.L34
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, USED[rip]
	mov	DWORD PTR [rdx+rax], 1
	add	DWORD PTR -32[rbp], 1
.L27:
	mov	eax, DWORD PTR -32[rbp]
	cmp	eax, DWORD PTR -52[rbp]
	jne	.L35
	nop
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	dijkstra, .-dijkstra
	.section	.rodata
.LC0:
	.string	"r"
.LC1:
	.string	"graph.txt"
.LC2:
	.string	"%99s"
.LC3:
	.string	"%d"
	.text
	.globl	main
	.type	main, @function
main:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 520
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -544[rbp], 0
	jmp	.L38
.L41:
	mov	DWORD PTR -548[rbp], 0
	jmp	.L39
.L40:
	mov	eax, DWORD PTR -548[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -544[rbp]
	cdqe
	imul	rax, rax, 1010
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, distance[rip]
	mov	DWORD PTR [rdx+rax], 10000000
	add	DWORD PTR -548[rbp], 1
.L39:
	cmp	DWORD PTR -548[rbp], 1008
	jle	.L40
	add	DWORD PTR -544[rbp], 1
.L38:
	cmp	DWORD PTR -544[rbp], 1008
	jle	.L41
	mov	DWORD PTR -552[rbp], 0
	mov	QWORD PTR -528[rbp], 0
	mov	edi, 128
	call	malloc@PLT
	mov	QWORD PTR -528[rbp], rax
	cmp	QWORD PTR -528[rbp], 0
	jne	.L42
	mov	edi, 1
	call	exit@PLT
.L42:
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	fopen@PLT
	mov	QWORD PTR -520[rbp], rax
	cmp	QWORD PTR -520[rbp], 0
	je	.L43
	lea	rdx, -496[rbp]
	mov	rax, QWORD PTR -520[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	edx, DWORD PTR -552[rbp]
	lea	rcx, -496[rbp]
	mov	rax, QWORD PTR -528[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	InsertListMember
	lea	rax, -496[rbp]
	mov	rsi, rax
	lea	rdi, dictionary[rip]
	call	strcpy@PLT
	add	DWORD PTR -552[rbp], 1
	lea	rdx, -384[rbp]
	mov	rax, QWORD PTR -520[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	edx, DWORD PTR -552[rbp]
	lea	rcx, -384[rbp]
	mov	rax, QWORD PTR -528[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	InsertListMember
	lea	rax, -384[rbp]
	mov	rsi, rax
	lea	rdi, dictionary[rip+1010]
	call	strcpy@PLT
	add	DWORD PTR -552[rbp], 1
	jmp	.L44
.L47:
	lea	rdx, -272[rbp]
	mov	rax, QWORD PTR -520[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	lea	rdx, -272[rbp]
	mov	rax, QWORD PTR -528[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	SearchListMember
	test	eax, eax
	jns	.L45
	mov	edx, DWORD PTR -552[rbp]
	lea	rcx, -272[rbp]
	mov	rax, QWORD PTR -528[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	InsertListMember
	mov	eax, DWORD PTR -552[rbp]
	cdqe
	imul	rax, rax, 1010
	lea	rdx, dictionary[rip]
	add	rdx, rax
	lea	rax, -272[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcpy@PLT
	add	DWORD PTR -552[rbp], 1
.L45:
	lea	rdx, -160[rbp]
	mov	rax, QWORD PTR -520[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	lea	rdx, -160[rbp]
	mov	rax, QWORD PTR -528[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	SearchListMember
	test	eax, eax
	jns	.L46
	mov	edx, DWORD PTR -552[rbp]
	lea	rcx, -160[rbp]
	mov	rax, QWORD PTR -528[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	InsertListMember
	mov	eax, DWORD PTR -552[rbp]
	cdqe
	imul	rax, rax, 1010
	lea	rdx, dictionary[rip]
	add	rdx, rax
	lea	rax, -160[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcpy@PLT
	add	DWORD PTR -552[rbp], 1
.L46:
	lea	rdx, -556[rbp]
	mov	rax, QWORD PTR -520[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	lea	rdx, -272[rbp]
	mov	rax, QWORD PTR -528[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	SearchListMember
	mov	ebx, eax
	lea	rdx, -160[rbp]
	mov	rax, QWORD PTR -528[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	SearchListMember
	mov	edx, eax
	mov	eax, DWORD PTR -556[rbp]
	movsx	rcx, edx
	movsx	rdx, ebx
	imul	rdx, rdx, 1010
	add	rdx, rcx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, distance[rip]
	mov	DWORD PTR [rcx+rdx], eax
.L44:
	mov	rax, QWORD PTR -520[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	je	.L47
	mov	rax, QWORD PTR -520[rbp]
	mov	rdi, rax
	call	fclose@PLT
.L43:
	mov	eax, DWORD PTR -552[rbp]
	mov	rdx, rsp
	mov	rbx, rdx
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -512[rbp], rdx
	movsx	rdx, eax
	mov	r14, rdx
	mov	r15d, 0
	movsx	rdx, eax
	mov	r12, rdx
	mov	r13d, 0
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	ecx, 16
	mov	edx, 0
	div	rcx
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L48:
	cmp	rsp, rdx
	je	.L49
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L48
.L49:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L50
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L50:
	mov	rax, rsp
	add	rax, 3
	shr	rax, 2
	sal	rax, 2
	mov	QWORD PTR -504[rbp], rax
	mov	rdx, QWORD PTR -528[rbp]
	mov	rcx, QWORD PTR -504[rbp]
	mov	eax, DWORD PTR -552[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	dijkstra
	mov	DWORD PTR -540[rbp], 1
	mov	eax, DWORD PTR -540[rbp]
	cdqe
	imul	rax, rax, 1010
	lea	rdx, dictionary[rip]
	add	rdx, rax
	mov	rax, QWORD PTR -528[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	searchNode
	mov	eax, DWORD PTR 100[rax]
	mov	DWORD PTR -536[rbp], eax
	mov	eax, DWORD PTR -536[rbp]
	cdqe
	imul	rax, rax, 1010
	lea	rdx, dictionary[rip]
	add	rax, rdx
	mov	rdi, rax
	call	puts@PLT
	jmp	.L51
.L52:
	mov	eax, DWORD PTR -540[rbp]
	cdqe
	imul	rax, rax, 1010
	lea	rdx, dictionary[rip]
	add	rdx, rax
	mov	rax, QWORD PTR -528[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	searchNode
	mov	eax, DWORD PTR 104[rax]
	mov	DWORD PTR -532[rbp], eax
	mov	eax, DWORD PTR -532[rbp]
	mov	DWORD PTR -540[rbp], eax
	mov	eax, DWORD PTR -532[rbp]
	cdqe
	imul	rax, rax, 1010
	lea	rdx, dictionary[rip]
	add	rax, rdx
	mov	rdi, rax
	call	puts@PLT
.L51:
	mov	eax, DWORD PTR -540[rbp]
	cdqe
	imul	rax, rax, 1010
	lea	rdx, dictionary[rip]
	add	rdx, rax
	mov	rax, QWORD PTR -528[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	searchNode
	mov	eax, DWORD PTR 104[rax]
	test	eax, eax
	jne	.L52
	lea	rdi, dictionary[rip]
	call	puts@PLT
	mov	eax, 0
	mov	rsp, rbx
	mov	rbx, QWORD PTR -56[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L54
	call	__stack_chk_fail@PLT
.L54:
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.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	"736105.c"
	.text
	.align	2
	.global	min2
	.syntax unified
	.arm
	.fpu softvfp
	.type	min2, %function
min2:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	ble	.L2
	ldr	r3, [fp, #-12]
	b	.L3
.L2:
	ldr	r3, [fp, #-8]
.L3:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	min2, .-min2
	.comm	dictionary,1020100,4
	.align	2
	.global	InsertListMember
	.syntax unified
	.arm
	.fpu softvfp
	.type	InsertListMember, %function
InsertListMember:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #28
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	ldr	r4, [fp, #-24]
	ldr	r0, [fp, #-28]
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r1, [fp, #-28]
	mov	r0, r4
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L5
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-32]
	str	r2, [r3, #100]
	b	.L12
.L5:
	ldr	r3, [fp, #-24]
	ldr	r1, [fp, #-28]
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L7
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #112]
	cmp	r3, #0
	bne	.L8
	mov	r0, #116
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L9
	mov	r0, #1
	bl	exit
.L9:
	ldr	r3, [fp, #-16]
	ldr	r1, [fp, #-28]
	mov	r0, r3
	bl	strcpy
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-32]
	str	r2, [r3, #100]
	ldr	r3, [fp, #-16]
	mov	r2, #0
	str	r2, [r3, #112]
	ldr	r3, [fp, #-16]
	mov	r2, #0
	str	r2, [r3, #108]
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-16]
	str	r2, [r3, #112]
	b	.L12
.L8:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #112]
	ldr	r2, [fp, #-32]
	ldr	r1, [fp, #-28]
	mov	r0, r3
	bl	InsertListMember
	b	.L12
.L7:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #108]
	cmp	r3, #0
	bne	.L10
	mov	r0, #116
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L11
	mov	r0, #1
	bl	exit
.L11:
	ldr	r3, [fp, #-20]
	ldr	r1, [fp, #-28]
	mov	r0, r3
	bl	strcpy
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-32]
	str	r2, [r3, #100]
	ldr	r3, [fp, #-20]
	mov	r2, #0
	str	r2, [r3, #112]
	ldr	r3, [fp, #-20]
	mov	r2, #0
	str	r2, [r3, #108]
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-20]
	str	r2, [r3, #108]
	b	.L12
.L10:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #108]
	ldr	r2, [fp, #-32]
	ldr	r1, [fp, #-28]
	mov	r0, r3
	bl	InsertListMember
.L12:
	nop
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
	.size	InsertListMember, .-InsertListMember
	.align	2
	.global	SearchListMember
	.syntax unified
	.arm
	.fpu softvfp
	.type	SearchListMember, %function
SearchListMember:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #12
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L14
	mvn	r3, #0
	b	.L15
.L14:
	ldr	r4, [fp, #-16]
	ldr	r0, [fp, #-20]
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r1, [fp, #-20]
	mov	r0, r4
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L16
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #100]
	b	.L15
.L16:
	ldr	r3, [fp, #-16]
	ldr	r1, [fp, #-20]
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L17
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #112]
	ldr	r1, [fp, #-20]
	mov	r0, r3
	bl	SearchListMember
	mov	r3, r0
	b	.L15
.L17:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #108]
	ldr	r1, [fp, #-20]
	mov	r0, r3
	bl	SearchListMember
	mov	r3, r0
.L15:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
	.size	SearchListMember, .-SearchListMember
	.align	2
	.global	searchNode
	.syntax unified
	.arm
	.fpu softvfp
	.type	searchNode, %function
searchNode:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #12
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L19
	mov	r3, #0
	b	.L20
.L19:
	ldr	r4, [fp, #-16]
	ldr	r0, [fp, #-20]
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r1, [fp, #-20]
	mov	r0, r4
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L21
	ldr	r3, [fp, #-16]
	b	.L20
.L21:
	ldr	r3, [fp, #-16]
	ldr	r1, [fp, #-20]
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L22
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #112]
	ldr	r1, [fp, #-20]
	mov	r0, r3
	bl	searchNode
	mov	r3, r0
	b	.L20
.L22:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #108]
	ldr	r1, [fp, #-20]
	mov	r0, r3
	bl	searchNode
	mov	r3, r0
.L20:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
	.size	searchNode, .-searchNode
	.comm	distance,4080400,4
	.global	USED
	.bss
	.align	2
	.type	USED, %object
	.size	USED, 4040
USED:
	.space	4040
	.text
	.align	2
	.global	dijkstra
	.syntax unified
	.arm
	.fpu softvfp
	.type	dijkstra, %function
dijkstra:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #44
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	str	r2, [fp, #-48]
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L24
.L26:
	ldr	r2, .L37
	ldr	r3, [fp, #-36]
	ldr	r3, [r2, r3, lsl #2]
	ldr	r2, .L37+4
	cmp	r3, r2
	bgt	.L25
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #6
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, .L37+8
	add	r3, r3, r2
	mov	r1, r3
	ldr	r0, [fp, #-48]
	bl	searchNode
	mov	r3, r0
	mov	r2, #0
	str	r2, [r3, #104]
.L25:
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-44]
	add	r3, r2, r3
	ldr	r1, .L37
	ldr	r2, [fp, #-36]
	ldr	r2, [r1, r2, lsl #2]
	str	r2, [r3]
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L24:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-40]
	cmp	r2, r3
	blt	.L26
	ldr	r3, .L37+12
	mov	r2, #1
	str	r2, [r3]
	mov	r3, #1
	str	r3, [fp, #-28]
	b	.L27
.L35:
	ldr	r3, .L37+16
	str	r3, [fp, #-24]
	mov	r3, #1
	str	r3, [fp, #-20]
	b	.L28
.L30:
	ldr	r2, .L37+12
	ldr	r3, [fp, #-20]
	ldr	r3, [r2, r3, lsl #2]
	cmp	r3, #0
	bne	.L29
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-44]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	ble	.L29
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-44]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-32]
.L29:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L28:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-40]
	cmp	r2, r3
	blt	.L30
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L31
.L34:
	ldr	r2, .L37+12
	ldr	r3, [fp, #-16]
	ldr	r3, [r2, r3, lsl #2]
	cmp	r3, #0
	bne	.L32
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-44]
	add	r3, r2, r3
	ldr	r1, [r3]
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-44]
	add	r3, r2, r3
	ldr	r0, [r3]
	ldr	ip, .L37
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #6
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-16]
	add	r3, r3, r2
	ldr	r3, [ip, r3, lsl #2]
	add	r3, r0, r3
	cmp	r1, r3
	ble	.L33
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #6
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, .L37+8
	add	r3, r3, r2
	mov	r1, r3
	ldr	r0, [fp, #-48]
	bl	searchNode
	mov	r2, r0
	ldr	r3, [fp, #-32]
	str	r3, [r2, #104]
.L33:
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-44]
	add	r3, r2, r3
	ldr	r0, [r3]
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-44]
	add	r3, r2, r3
	ldr	r1, [r3]
	ldr	ip, .L37
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #6
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-16]
	add	r3, r3, r2
	ldr	r3, [ip, r3, lsl #2]
	add	r1, r1, r3
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-44]
	add	r4, r2, r3
	bl	min2
	mov	r3, r0
	str	r3, [r4]
.L32:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L31:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-40]
	cmp	r2, r3
	blt	.L34
	ldr	r2, .L37+12
	ldr	r3, [fp, #-32]
	mov	r1, #1
	str	r1, [r2, r3, lsl #2]
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L27:
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-40]
	cmp	r2, r3
	bne	.L35
	nop
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L38:
	.align	2
.L37:
	.word	distance
	.word	9999999
	.word	dictionary
	.word	USED
	.word	10000000
	.size	dijkstra, .-dijkstra
	.section	.rodata
	.align	2
.LC0:
	.ascii	"r\000"
	.align	2
.LC1:
	.ascii	"graph.txt\000"
	.align	2
.LC2:
	.ascii	"%99s\000"
	.align	2
.LC3:
	.ascii	"%d\000"
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 448
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #452
	ldr	r3, .L54
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-448]
	b	.L40
.L43:
	mov	r3, #0
	str	r3, [fp, #-452]
	b	.L41
.L42:
	ldr	r1, .L54+4
	ldr	r2, [fp, #-448]
	mov	r3, r2
	lsl	r3, r3, #6
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-452]
	add	r3, r3, r2
	ldr	r2, .L54+8
	str	r2, [r1, r3, lsl #2]
	ldr	r3, [fp, #-452]
	add	r3, r3, #1
	str	r3, [fp, #-452]
.L41:
	ldr	r3, [fp, #-452]
	cmp	r3, #1008
	ble	.L42
	ldr	r3, [fp, #-448]
	add	r3, r3, #1
	str	r3, [fp, #-448]
.L40:
	ldr	r3, [fp, #-448]
	cmp	r3, #1008
	ble	.L43
	mov	r3, #0
	str	r3, [fp, #-456]
	mov	r3, #0
	str	r3, [fp, #-440]
	mov	r0, #116
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-440]
	ldr	r3, [fp, #-440]
	cmp	r3, #0
	bne	.L44
	mov	r0, #1
	bl	exit
.L44:
	ldr	r1, .L54+12
	ldr	r0, .L54+16
	bl	fopen
	str	r0, [fp, #-436]
	ldr	r3, [fp, #-436]
	cmp	r3, #0
	beq	.L45
	sub	r3, fp, #416
	mov	r2, r3
	ldr	r1, .L54+20
	ldr	r0, [fp, #-436]
	bl	__isoc99_fscanf
	sub	r3, fp, #416
	ldr	r2, [fp, #-456]
	mov	r1, r3
	ldr	r0, [fp, #-440]
	bl	InsertListMember
	sub	r3, fp, #416
	mov	r1, r3
	ldr	r0, .L54+24
	bl	strcpy
	ldr	r3, [fp, #-456]
	add	r3, r3, #1
	str	r3, [fp, #-456]
	sub	r3, fp, #316
	mov	r2, r3
	ldr	r1, .L54+20
	ldr	r0, [fp, #-436]
	bl	__isoc99_fscanf
	sub	r3, fp, #316
	ldr	r2, [fp, #-456]
	mov	r1, r3
	ldr	r0, [fp, #-440]
	bl	InsertListMember
	sub	r3, fp, #316
	mov	r1, r3
	ldr	r0, .L54+28
	bl	strcpy
	ldr	r3, [fp, #-456]
	add	r3, r3, #1
	str	r3, [fp, #-456]
	b	.L46
.L49:
	sub	r3, fp, #216
	mov	r2, r3
	ldr	r1, .L54+20
	ldr	r0, [fp, #-436]
	bl	__isoc99_fscanf
	sub	r3, fp, #216
	mov	r1, r3
	ldr	r0, [fp, #-440]
	bl	SearchListMember
	mov	r3, r0
	cmp	r3, #0
	bge	.L47
	sub	r3, fp, #216
	ldr	r2, [fp, #-456]
	mov	r1, r3
	ldr	r0, [fp, #-440]
	bl	InsertListMember
	ldr	r2, [fp, #-456]
	mov	r3, r2
	lsl	r3, r3, #6
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, .L54+24
	add	r3, r3, r2
	sub	r2, fp, #216
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	ldr	r3, [fp, #-456]
	add	r3, r3, #1
	str	r3, [fp, #-456]
.L47:
	sub	r3, fp, #116
	mov	r2, r3
	ldr	r1, .L54+20
	ldr	r0, [fp, #-436]
	bl	__isoc99_fscanf
	sub	r3, fp, #116
	mov	r1, r3
	ldr	r0, [fp, #-440]
	bl	SearchListMember
	mov	r3, r0
	cmp	r3, #0
	bge	.L48
	sub	r3, fp, #116
	ldr	r2, [fp, #-456]
	mov	r1, r3
	ldr	r0, [fp, #-440]
	bl	InsertListMember
	ldr	r2, [fp, #-456]
	mov	r3, r2
	lsl	r3, r3, #6
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, .L54+24
	add	r3, r3, r2
	sub	r2, fp, #116
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	ldr	r3, [fp, #-456]
	add	r3, r3, #1
	str	r3, [fp, #-456]
.L48:
	sub	r3, fp, #460
	mov	r2, r3
	ldr	r1, .L54+32
	ldr	r0, [fp, #-436]
	bl	__isoc99_fscanf
	sub	r3, fp, #216
	mov	r1, r3
	ldr	r0, [fp, #-440]
	bl	SearchListMember
	mov	r4, r0
	sub	r3, fp, #116
	mov	r1, r3
	ldr	r0, [fp, #-440]
	bl	SearchListMember
	mov	r1, r0
	ldr	r2, [fp, #-460]
	ldr	r0, .L54+4
	mov	r3, r4
	lsl	r3, r3, #6
	sub	r3, r3, r4
	lsl	r3, r3, #3
	add	r3, r3, r4
	lsl	r3, r3, #1
	add	r3, r3, r1
	str	r2, [r0, r3, lsl #2]
.L46:
	ldr	r0, [fp, #-436]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	beq	.L49
	ldr	r0, [fp, #-436]
	bl	fclose
.L45:
	ldr	ip, [fp, #-456]
	mov	r3, sp
	mov	r4, r3
	sub	r3, ip, #1
	str	r3, [fp, #-432]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	lsl	r3, r3, #2
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [fp, #-428]
	ldr	r2, [fp, #-440]
	ldr	r1, [fp, #-428]
	ldr	r0, [fp, #-456]
	bl	dijkstra
	mov	r3, #1
	str	r3, [fp, #-444]
	ldr	r2, [fp, #-444]
	mov	r3, r2
	lsl	r3, r3, #6
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, .L54+24
	add	r3, r3, r2
	mov	r1, r3
	ldr	r0, [fp, #-440]
	bl	searchNode
	mov	r3, r0
	ldr	r3, [r3, #100]
	str	r3, [fp, #-424]
	ldr	r2, [fp, #-424]
	mov	r3, r2
	lsl	r3, r3, #6
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, .L54+24
	add	r3, r3, r2
	mov	r0, r3
	bl	puts
	b	.L50
.L51:
	ldr	r2, [fp, #-444]
	mov	r3, r2
	lsl	r3, r3, #6
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, .L54+24
	add	r3, r3, r2
	mov	r1, r3
	ldr	r0, [fp, #-440]
	bl	searchNode
	mov	r3, r0
	ldr	r3, [r3, #104]
	str	r3, [fp, #-420]
	ldr	r3, [fp, #-420]
	str	r3, [fp, #-444]
	ldr	r2, [fp, #-420]
	mov	r3, r2
	lsl	r3, r3, #6
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, .L54+24
	add	r3, r3, r2
	mov	r0, r3
	bl	puts
.L50:
	ldr	r2, [fp, #-444]
	mov	r3, r2
	lsl	r3, r3, #6
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, .L54+24
	add	r3, r3, r2
	mov	r1, r3
	ldr	r0, [fp, #-440]
	bl	searchNode
	mov	r3, r0
	ldr	r3, [r3, #104]
	cmp	r3, #0
	bne	.L51
	ldr	r0, .L54+24
	bl	puts
	mov	r3, #0
	mov	sp, r4
	ldr	r2, .L54
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L53
	bl	__stack_chk_fail
.L53:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L55:
	.align	2
.L54:
	.word	.LC4
	.word	distance
	.word	10000000
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	dictionary
	.word	dictionary+1010
	.word	.LC3
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
