	.file	"921475.c"
	.intel_syntax noprefix
	.text
	.globl	node_dat
	.bss
	.align 8
	.type	node_dat, @object
	.size	node_dat, 8
node_dat:
	.zero	8
	.globl	list
	.align 8
	.type	list, @object
	.size	list, 8
list:
	.zero	8
	.globl	nodes
	.align 4
	.type	nodes, @object
	.size	nodes, 4
nodes:
	.zero	4
	.text
	.globl	insert_cell
	.type	insert_cell, @function
insert_cell:
.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, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -32[rbp], edx
	mov	QWORD PTR -40[rbp], rcx
	mov	edi, 24
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR -28[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR -32[rbp]
	mov	DWORD PTR 4[rax], edx
	cmp	QWORD PTR -40[rbp], 0
	jne	.L2
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], 0
	jmp	.L3
.L2:
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	strlen@PLT
	add	rax, 1
	mov	rdi, rax
	call	malloc@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdx, QWORD PTR -40[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
.L3:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 16[rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], rdx
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	insert_cell, .-insert_cell
	.section	.rodata
.LC0:
	.string	"r"
.LC1:
	.string	"station.dat"
.LC2:
	.string	"Can not open file.\n"
.LC3:
	.string	"%d"
.LC4:
	.string	"%d %s"
	.text
	.globl	read_station
	.type	read_station, @function
read_station:
.LFB7:
	.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, 120
	.cfi_offset 3, -24
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	fopen@PLT
	mov	QWORD PTR -120[rbp], rax
	cmp	QWORD PTR -120[rbp], 0
	jne	.L5
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 19
	mov	esi, 1
	lea	rdi, .LC2[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L5:
	lea	rdx, -124[rbp]
	mov	rax, QWORD PTR -120[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	eax, DWORD PTR -124[rbp]
	mov	DWORD PTR nodes[rip], eax
	mov	eax, DWORD PTR nodes[rip]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR node_dat[rip], rax
	jmp	.L6
.L7:
	lea	rax, -112[rbp]
	mov	rdi, rax
	call	strlen@PLT
	lea	rdx, 1[rax]
	mov	rsi, QWORD PTR node_dat[rip]
	mov	eax, DWORD PTR -124[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 3
	lea	rbx, [rsi+rax]
	mov	rdi, rdx
	call	malloc@PLT
	mov	QWORD PTR 16[rbx], rax
	mov	rcx, QWORD PTR node_dat[rip]
	mov	eax, DWORD PTR -124[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	mov	rax, QWORD PTR 16[rax]
	lea	rdx, -112[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
.L6:
	lea	rcx, -112[rbp]
	lea	rdx, -124[rbp]
	mov	rax, QWORD PTR -120[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	cmp	eax, -1
	jne	.L7
	mov	DWORD PTR -124[rbp], 0
	jmp	.L8
.L9:
	mov	rcx, QWORD PTR node_dat[rip]
	mov	eax, DWORD PTR -124[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	mov	DWORD PTR [rax], 999
	mov	rcx, QWORD PTR node_dat[rip]
	mov	eax, DWORD PTR -124[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	mov	DWORD PTR 4[rax], 0
	mov	eax, DWORD PTR -124[rbp]
	add	eax, 1
	mov	DWORD PTR -124[rbp], eax
.L8:
	mov	edx, DWORD PTR -124[rbp]
	mov	eax, DWORD PTR nodes[rip]
	cmp	edx, eax
	jl	.L9
	mov	rax, QWORD PTR -120[rbp]
	mov	rdi, rax
	call	fclose@PLT
	nop
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L10
	call	__stack_chk_fail@PLT
.L10:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	read_station, .-read_station
	.section	.rodata
.LC5:
	.string	"line.dat"
.LC6:
	.string	"%d %d %d"
	.text
	.globl	read_line
	.type	read_line, @function
read_line:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	add	rsp, -128
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rsi, .LC0[rip]
	lea	rdi, .LC5[rip]
	call	fopen@PLT
	mov	QWORD PTR -104[rbp], rax
	cmp	QWORD PTR -104[rbp], 0
	jne	.L12
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 19
	mov	esi, 1
	lea	rdi, .LC2[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L12:
	mov	eax, DWORD PTR nodes[rip]
	cdqe
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR list[rip], rax
	mov	DWORD PTR -120[rbp], 0
	jmp	.L13
.L14:
	mov	rdx, QWORD PTR list[rip]
	mov	eax, DWORD PTR -120[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	QWORD PTR [rax], 0
	mov	eax, DWORD PTR -120[rbp]
	add	eax, 1
	mov	DWORD PTR -120[rbp], eax
.L13:
	mov	edx, DWORD PTR -120[rbp]
	mov	eax, DWORD PTR nodes[rip]
	cmp	edx, eax
	jl	.L14
	jmp	.L15
.L17:
	mov	rdx, QWORD PTR -104[rbp]
	lea	rax, -96[rbp]
	mov	esi, 80
	mov	rdi, rax
	call	fgets@PLT
	lea	rax, -96[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -108[rbp], eax
	mov	eax, DWORD PTR -108[rbp]
	sub	eax, 1
	cdqe
	movzx	eax, BYTE PTR -96[rbp+rax]
	cmp	al, 10
	jne	.L16
	mov	eax, DWORD PTR -108[rbp]
	sub	eax, 1
	cdqe
	mov	BYTE PTR -96[rbp+rax], 0
.L16:
	mov	edx, DWORD PTR -112[rbp]
	mov	eax, DWORD PTR -116[rbp]
	mov	rsi, QWORD PTR list[rip]
	mov	ecx, DWORD PTR -120[rbp]
	movsx	rcx, ecx
	sal	rcx, 3
	lea	rdi, [rsi+rcx]
	lea	rcx, -96[rbp]
	mov	esi, eax
	call	insert_cell
	mov	edx, DWORD PTR -112[rbp]
	mov	eax, DWORD PTR -120[rbp]
	mov	rsi, QWORD PTR list[rip]
	mov	ecx, DWORD PTR -116[rbp]
	movsx	rcx, ecx
	sal	rcx, 3
	lea	rdi, [rsi+rcx]
	lea	rcx, -96[rbp]
	mov	esi, eax
	call	insert_cell
.L15:
	lea	rsi, -112[rbp]
	lea	rcx, -116[rbp]
	lea	rdx, -120[rbp]
	mov	rax, QWORD PTR -104[rbp]
	mov	r8, rsi
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	cmp	eax, -1
	jne	.L17
	mov	rax, QWORD PTR -104[rbp]
	mov	rdi, rax
	call	fclose@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L18
	call	__stack_chk_fail@PLT
.L18:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	read_line, .-read_line
	.globl	dijkstra
	.type	dijkstra, @function
dijkstra:
.LFB9:
	.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 -36[rbp], edi
	mov	DWORD PTR -40[rbp], esi
	mov	rcx, QWORD PTR node_dat[rip]
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	mov	DWORD PTR 4[rax], 1
	mov	rdx, QWORD PTR list[rip]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L20
.L22:
	mov	rax, QWORD PTR -8[rbp]
	mov	ecx, DWORD PTR 4[rax]
	mov	rsi, QWORD PTR node_dat[rip]
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rsi
	mov	eax, DWORD PTR [rax]
	cmp	ecx, eax
	jge	.L21
	mov	rcx, QWORD PTR node_dat[rip]
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	lea	rdx, [rcx+rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	DWORD PTR [rdx], eax
	mov	rcx, QWORD PTR node_dat[rip]
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	lea	rdx, [rcx+rax]
	mov	eax, DWORD PTR -36[rbp]
	mov	DWORD PTR 8[rdx], eax
.L21:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -8[rbp], rax
.L20:
	cmp	QWORD PTR -8[rbp], 0
	jne	.L22
	mov	rcx, QWORD PTR node_dat[rip]
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	mov	DWORD PTR [rax], 0
	mov	rcx, QWORD PTR node_dat[rip]
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	mov	DWORD PTR 8[rax], -1
	mov	eax, DWORD PTR -36[rbp]
	mov	DWORD PTR -20[rbp], eax
	jmp	.L23
.L30:
	mov	DWORD PTR -12[rbp], 999
	mov	DWORD PTR -16[rbp], 0
	jmp	.L24
.L26:
	mov	rcx, QWORD PTR node_dat[rip]
	mov	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	mov	eax, DWORD PTR 4[rax]
	cmp	eax, 1
	je	.L25
	mov	rcx, QWORD PTR node_dat[rip]
	mov	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -12[rbp], eax
	jle	.L25
	mov	rcx, QWORD PTR node_dat[rip]
	mov	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -16[rbp]
	mov	DWORD PTR -20[rbp], eax
.L25:
	add	DWORD PTR -16[rbp], 1
.L24:
	mov	eax, DWORD PTR nodes[rip]
	cmp	DWORD PTR -16[rbp], eax
	jl	.L26
	mov	rcx, QWORD PTR node_dat[rip]
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	mov	DWORD PTR 4[rax], 1
	mov	rdx, QWORD PTR list[rip]
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L27
.L29:
	mov	rcx, QWORD PTR node_dat[rip]
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	mov	ecx, DWORD PTR [rax]
	mov	rsi, QWORD PTR node_dat[rip]
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rsi
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 4[rax]
	add	eax, edx
	cmp	ecx, eax
	jle	.L28
	mov	rcx, QWORD PTR node_dat[rip]
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	mov	esi, DWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	ecx, DWORD PTR 4[rax]
	mov	rdi, QWORD PTR node_dat[rip]
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rdi
	lea	edx, [rsi+rcx]
	mov	DWORD PTR [rax], edx
	mov	rcx, QWORD PTR node_dat[rip]
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	lea	rdx, [rcx+rax]
	mov	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR 8[rdx], eax
.L28:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -8[rbp], rax
.L27:
	cmp	QWORD PTR -8[rbp], 0
	jne	.L29
.L23:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -40[rbp]
	jne	.L30
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	dijkstra, .-dijkstra
	.globl	make_path
	.type	make_path, @function
make_path:
.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, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	DWORD PTR -44[rbp], esi
	mov	DWORD PTR -48[rbp], edx
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR [rax], 0
	mov	esi, DWORD PTR -48[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	ecx, 0
	mov	edx, 0
	mov	rdi, rax
	call	insert_cell
	mov	eax, DWORD PTR -48[rbp]
	mov	DWORD PTR -24[rbp], eax
	jmp	.L32
.L36:
	mov	DWORD PTR -20[rbp], 999
	mov	rdx, QWORD PTR list[rip]
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -16[rbp], rax
	jmp	.L33
.L35:
	mov	rcx, QWORD PTR node_dat[rip]
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR [rax]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -20[rbp], eax
	jle	.L34
	mov	rcx, QWORD PTR node_dat[rip]
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	mov	edx, DWORD PTR 8[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	edx, eax
	jne	.L34
	mov	rcx, QWORD PTR node_dat[rip]
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR [rax]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -20[rbp], eax
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR -8[rbp], rax
.L34:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -16[rbp], rax
.L33:
	cmp	QWORD PTR -16[rbp], 0
	jne	.L35
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR 4[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, DWORD PTR [rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	insert_cell
	mov	rcx, QWORD PTR node_dat[rip]
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	mov	eax, DWORD PTR 8[rax]
	mov	DWORD PTR -24[rbp], eax
.L32:
	mov	rcx, QWORD PTR node_dat[rip]
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	mov	eax, DWORD PTR 8[rax]
	cmp	eax, -1
	jne	.L36
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	make_path, .-make_path
	.section	.rodata
	.align 8
.LC7:
	.string	"Start point is not registered."
	.text
	.globl	check_start
	.type	check_start, @function
check_start:
.LFB11:
	.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	.L38
.L41:
	mov	rcx, QWORD PTR node_dat[rip]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	mov	rax, QWORD PTR 16[rax]
	mov	rdx, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L39
	mov	eax, DWORD PTR -4[rbp]
	jmp	.L42
.L39:
	add	DWORD PTR -4[rbp], 1
.L38:
	mov	eax, DWORD PTR nodes[rip]
	cmp	DWORD PTR -4[rbp], eax
	jl	.L41
	lea	rdi, .LC7[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L42:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	check_start, .-check_start
	.section	.rodata
	.align 8
.LC8:
	.string	"Destination point is not registered."
	.text
	.globl	check_end
	.type	check_end, @function
check_end:
.LFB12:
	.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	.L44
.L47:
	mov	rcx, QWORD PTR node_dat[rip]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	mov	rax, QWORD PTR 16[rax]
	mov	rdx, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L45
	mov	eax, DWORD PTR -4[rbp]
	jmp	.L48
.L45:
	add	DWORD PTR -4[rbp], 1
.L44:
	mov	eax, DWORD PTR nodes[rip]
	cmp	DWORD PTR -4[rbp], eax
	jl	.L47
	lea	rdi, .LC8[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L48:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	check_end, .-check_end
	.section	.rodata
	.align 8
.LC9:
	.string	"The shortest path from %s to %s\n"
.LC10:
	.string	" %17s -> %17s "
.LC11:
	.string	"by %19s for %3d [min.]\n"
	.align 8
.LC12:
	.string	"Total time required ... %d[min.]\n"
	.text
	.globl	output
	.type	output, @function
output:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -32[rbp], edx
	mov	rcx, QWORD PTR node_dat[rip]
	mov	eax, DWORD PTR -32[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	mov	rdx, QWORD PTR 16[rax]
	mov	rsi, QWORD PTR node_dat[rip]
	mov	eax, DWORD PTR -28[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 3
	add	rax, rsi
	mov	rax, QWORD PTR 16[rax]
	mov	rsi, rax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -16[rbp], rax
	jmp	.L50
.L51:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -8[rbp], rax
	mov	rcx, QWORD PTR node_dat[rip]
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	mov	rdx, QWORD PTR 16[rax]
	mov	rsi, QWORD PTR node_dat[rip]
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR [rax]
	movsx	rcx, eax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 3
	add	rax, rsi
	mov	rax, QWORD PTR 16[rax]
	mov	rsi, rax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, DWORD PTR 4[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rsi, rax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -16[rbp], rax
.L50:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 16[rax]
	test	rax, rax
	jne	.L51
	mov	rcx, QWORD PTR node_dat[rip]
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR [rax]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	output, .-output
	.section	.rodata
	.align 8
.LC13:
	.string	"Please give a start point and a destination as argumrnts."
.LC14:
	.string	"node %d: %2d %3d %s\n"
	.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, 64
	mov	DWORD PTR -52[rbp], edi
	mov	QWORD PTR -64[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -52[rbp], 3
	je	.L53
	lea	rdi, .LC13[rip]
	call	puts@PLT
	mov	eax, -1
	jmp	.L59
.L53:
	mov	eax, 0
	call	read_station
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	check_start
	mov	DWORD PTR -32[rbp], eax
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	check_end
	mov	DWORD PTR -28[rbp], eax
	mov	eax, 0
	call	read_line
	mov	DWORD PTR -36[rbp], 0
	jmp	.L55
.L58:
	mov	rdx, QWORD PTR list[rip]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	QWORD PTR -16[rbp], rax
	jmp	.L56
.L57:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR [rax]
	mov	ecx, DWORD PTR 4[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR [rax]
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -36[rbp]
	mov	r8, rsi
	mov	esi, eax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR [rax]
	add	rax, 16
	mov	QWORD PTR -16[rbp], rax
.L56:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L57
	mov	edi, 10
	call	putchar@PLT
	add	DWORD PTR -36[rbp], 1
.L55:
	mov	eax, DWORD PTR nodes[rip]
	cmp	DWORD PTR -36[rbp], eax
	jl	.L58
	mov	edx, DWORD PTR -28[rbp]
	mov	eax, DWORD PTR -32[rbp]
	mov	esi, edx
	mov	edi, eax
	call	dijkstra
	mov	edx, DWORD PTR -28[rbp]
	mov	ecx, DWORD PTR -32[rbp]
	lea	rax, -24[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	make_path
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR -28[rbp]
	mov	ecx, DWORD PTR -32[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	output
	mov	eax, 0
.L59:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L60
	call	__stack_chk_fail@PLT
.L60:
	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	"921475.c"
	.text
	.comm	node_dat,4,4
	.comm	list,4,4
	.comm	nodes,4,4
	.align	2
	.global	insert_cell
	.syntax unified
	.arm
	.fpu softvfp
	.type	insert_cell, %function
insert_cell:
	@ args = 0, pretend = 0, frame = 24
	@ 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]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	mov	r0, #16
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-20]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-24]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L2
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #8]
	b	.L3
.L2:
	ldr	r0, [fp, #-28]
	bl	strlen
	mov	r3, r0
	add	r3, r3, #1
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-8]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	ldr	r1, [fp, #-28]
	mov	r0, r3
	bl	strcpy
.L3:
	ldr	r3, [fp, #-16]
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	str	r2, [r3, #12]
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-8]
	str	r2, [r3]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	insert_cell, .-insert_cell
	.section	.rodata
	.align	2
.LC0:
	.ascii	"r\000"
	.align	2
.LC1:
	.ascii	"station.dat\000"
	.align	2
.LC2:
	.ascii	"Can not open file.\012\000"
	.align	2
.LC3:
	.ascii	"%d\000"
	.align	2
.LC4:
	.ascii	"%d %s\000"
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	read_station
	.syntax unified
	.arm
	.fpu softvfp
	.type	read_station, %function
read_station:
	@ args = 0, pretend = 0, frame = 96
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #100
	ldr	r3, .L11
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r1, .L11+4
	ldr	r0, .L11+8
	bl	fopen
	str	r0, [fp, #-100]
	ldr	r3, [fp, #-100]
	cmp	r3, #0
	bne	.L5
	ldr	r3, .L11+12
	ldr	r3, [r3]
	mov	r2, #19
	mov	r1, #1
	ldr	r0, .L11+16
	bl	fwrite
	mov	r0, #1
	bl	exit
.L5:
	sub	r3, fp, #104
	mov	r2, r3
	ldr	r1, .L11+20
	ldr	r0, [fp, #-100]
	bl	__isoc99_fscanf
	ldr	r3, [fp, #-104]
	ldr	r2, .L11+24
	str	r3, [r2]
	ldr	r3, .L11+24
	ldr	r3, [r3]
	lsl	r3, r3, #4
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L11+28
	str	r2, [r3]
	b	.L6
.L7:
	sub	r3, fp, #96
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	add	r1, r3, #1
	ldr	r3, .L11+28
	ldr	r2, [r3]
	ldr	r3, [fp, #-104]
	lsl	r3, r3, #4
	add	r4, r2, r3
	mov	r0, r1
	bl	malloc
	mov	r3, r0
	str	r3, [r4, #12]
	ldr	r3, .L11+28
	ldr	r2, [r3]
	ldr	r3, [fp, #-104]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r3, [r3, #12]
	sub	r2, fp, #96
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
.L6:
	sub	r3, fp, #96
	sub	r2, fp, #104
	ldr	r1, .L11+32
	ldr	r0, [fp, #-100]
	bl	__isoc99_fscanf
	mov	r3, r0
	cmn	r3, #1
	bne	.L7
	mov	r3, #0
	str	r3, [fp, #-104]
	b	.L8
.L9:
	ldr	r3, .L11+28
	ldr	r2, [r3]
	ldr	r3, [fp, #-104]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r2, .L11+36
	str	r2, [r3]
	ldr	r3, .L11+28
	ldr	r2, [r3]
	ldr	r3, [fp, #-104]
	lsl	r3, r3, #4
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r3, [fp, #-104]
	add	r3, r3, #1
	str	r3, [fp, #-104]
.L8:
	ldr	r2, [fp, #-104]
	ldr	r3, .L11+24
	ldr	r3, [r3]
	cmp	r2, r3
	blt	.L9
	ldr	r0, [fp, #-100]
	bl	fclose
	nop
	ldr	r3, .L11
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L10
	bl	__stack_chk_fail
.L10:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L12:
	.align	2
.L11:
	.word	.LC5
	.word	.LC0
	.word	.LC1
	.word	stderr
	.word	.LC2
	.word	.LC3
	.word	nodes
	.word	node_dat
	.word	.LC4
	.word	999
	.size	read_station, .-read_station
	.section	.rodata
	.align	2
.LC6:
	.ascii	"line.dat\000"
	.align	2
.LC7:
	.ascii	"%d %d %d\000"
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	read_line
	.syntax unified
	.arm
	.fpu softvfp
	.type	read_line, %function
read_line:
	@ args = 0, pretend = 0, frame = 104
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #112
	ldr	r3, .L21
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r1, .L21+4
	ldr	r0, .L21+8
	bl	fopen
	str	r0, [fp, #-96]
	ldr	r3, [fp, #-96]
	cmp	r3, #0
	bne	.L14
	ldr	r3, .L21+12
	ldr	r3, [r3]
	mov	r2, #19
	mov	r1, #1
	ldr	r0, .L21+16
	bl	fwrite
	mov	r0, #1
	bl	exit
.L14:
	ldr	r3, .L21+20
	ldr	r3, [r3]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L21+24
	str	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-108]
	b	.L15
.L16:
	ldr	r3, .L21+24
	ldr	r2, [r3]
	ldr	r3, [fp, #-108]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-108]
	add	r3, r3, #1
	str	r3, [fp, #-108]
.L15:
	ldr	r2, [fp, #-108]
	ldr	r3, .L21+20
	ldr	r3, [r3]
	cmp	r2, r3
	blt	.L16
	b	.L17
.L19:
	sub	r3, fp, #88
	ldr	r2, [fp, #-96]
	mov	r1, #80
	mov	r0, r3
	bl	fgets
	sub	r3, fp, #88
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-92]
	ldr	r3, [fp, #-92]
	sub	r3, r3, #1
	sub	r2, fp, #4
	add	r3, r2, r3
	ldrb	r3, [r3, #-84]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L18
	ldr	r3, [fp, #-92]
	sub	r3, r3, #1
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3, #-84]
.L18:
	ldr	r3, .L21+24
	ldr	r2, [r3]
	ldr	r3, [fp, #-108]
	lsl	r3, r3, #2
	add	r0, r2, r3
	ldr	r1, [fp, #-104]
	ldr	r2, [fp, #-100]
	sub	r3, fp, #88
	bl	insert_cell
	ldr	r3, .L21+24
	ldr	r2, [r3]
	ldr	r3, [fp, #-104]
	lsl	r3, r3, #2
	add	r0, r2, r3
	ldr	r1, [fp, #-108]
	ldr	r2, [fp, #-100]
	sub	r3, fp, #88
	bl	insert_cell
.L17:
	sub	r1, fp, #104
	sub	r2, fp, #108
	sub	r3, fp, #100
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, .L21+28
	ldr	r0, [fp, #-96]
	bl	__isoc99_fscanf
	mov	r3, r0
	cmn	r3, #1
	bne	.L19
	ldr	r0, [fp, #-96]
	bl	fclose
	nop
	ldr	r3, .L21
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L20
	bl	__stack_chk_fail
.L20:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L22:
	.align	2
.L21:
	.word	.LC8
	.word	.LC0
	.word	.LC6
	.word	stderr
	.word	.LC2
	.word	nodes
	.word	list
	.word	.LC7
	.size	read_line, .-read_line
	.align	2
	.global	dijkstra
	.syntax unified
	.arm
	.fpu softvfp
	.type	dijkstra, %function
dijkstra:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #28
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	ldr	r3, .L35
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #4
	add	r3, r2, r3
	mov	r2, #1
	str	r2, [r3, #4]
	ldr	r3, .L35+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	b	.L24
.L26:
	ldr	r3, [fp, #-8]
	ldr	r2, [r3, #4]
	ldr	r3, .L35
	ldr	r1, [r3]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	lsl	r3, r3, #4
	add	r3, r1, r3
	ldr	r3, [r3]
	cmp	r2, r3
	bge	.L25
	ldr	r3, .L35
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r2, [fp, #-8]
	ldr	r2, [r2, #4]
	str	r2, [r3]
	ldr	r3, .L35
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r2, [fp, #-24]
	str	r2, [r3, #8]
.L25:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #12]
	str	r3, [fp, #-8]
.L24:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L26
	ldr	r3, .L35
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #4
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L35
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #4
	add	r3, r2, r3
	mvn	r2, #0
	str	r2, [r3, #8]
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-20]
	b	.L27
.L34:
	ldr	r3, .L35+8
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L28
.L30:
	ldr	r3, .L35
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	cmp	r3, #1
	beq	.L29
	ldr	r3, .L35
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	ble	.L29
	ldr	r3, .L35
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-20]
.L29:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L28:
	ldr	r3, .L35+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	blt	.L30
	ldr	r3, .L35
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #4
	add	r3, r2, r3
	mov	r2, #1
	str	r2, [r3, #4]
	ldr	r3, .L35+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	b	.L31
.L33:
	ldr	r3, .L35
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, .L35
	ldr	r1, [r3]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #4
	add	r3, r1, r3
	ldr	r1, [r3]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	add	r3, r1, r3
	cmp	r2, r3
	ble	.L32
	ldr	r3, .L35
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r1, [r3]
	ldr	r3, [fp, #-8]
	ldr	r2, [r3, #4]
	ldr	r3, .L35
	ldr	r0, [r3]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	lsl	r3, r3, #4
	add	r3, r0, r3
	add	r2, r1, r2
	str	r2, [r3]
	ldr	r3, .L35
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r2, [fp, #-20]
	str	r2, [r3, #8]
.L32:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #12]
	str	r3, [fp, #-8]
.L31:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L33
.L27:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	bne	.L34
	nop
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L36:
	.align	2
.L35:
	.word	node_dat
	.word	list
	.word	999
	.word	nodes
	.size	dijkstra, .-dijkstra
	.align	2
	.global	make_path
	.syntax unified
	.arm
	.fpu softvfp
	.type	make_path, %function
make_path:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	ldr	r3, [fp, #-24]
	mov	r2, #0
	str	r2, [r3]
	mov	r3, #0
	mov	r2, #0
	ldr	r1, [fp, #-32]
	ldr	r0, [fp, #-24]
	bl	insert_cell
	ldr	r3, [fp, #-32]
	str	r3, [fp, #-20]
	b	.L38
.L42:
	ldr	r3, .L43
	str	r3, [fp, #-16]
	ldr	r3, .L43+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	b	.L39
.L41:
	ldr	r3, .L43+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	ble	.L40
	ldr	r3, .L43+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L40
	ldr	r3, .L43+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-12]
	str	r3, [fp, #-8]
.L40:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #12]
	str	r3, [fp, #-12]
.L39:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L41
	ldr	r3, [fp, #-8]
	ldr	r1, [r3]
	ldr	r3, [fp, #-8]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	ldr	r0, [fp, #-24]
	bl	insert_cell
	ldr	r3, .L43+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r3, [r3, #8]
	str	r3, [fp, #-20]
.L38:
	ldr	r3, .L43+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r3, [r3, #8]
	cmn	r3, #1
	bne	.L42
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L44:
	.align	2
.L43:
	.word	999
	.word	list
	.word	node_dat
	.size	make_path, .-make_path
	.section	.rodata
	.align	2
.LC9:
	.ascii	"Start point is not registered.\000"
	.text
	.align	2
	.global	check_start
	.syntax unified
	.arm
	.fpu softvfp
	.type	check_start, %function
check_start:
	@ 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	.L46
.L49:
	ldr	r3, .L51
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r3, [r3, #12]
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L47
	ldr	r3, [fp, #-8]
	b	.L50
.L47:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L46:
	ldr	r3, .L51+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L49
	ldr	r0, .L51+8
	bl	puts
	mov	r0, #1
	bl	exit
.L50:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L52:
	.align	2
.L51:
	.word	node_dat
	.word	nodes
	.word	.LC9
	.size	check_start, .-check_start
	.section	.rodata
	.align	2
.LC10:
	.ascii	"Destination point is not registered.\000"
	.text
	.align	2
	.global	check_end
	.syntax unified
	.arm
	.fpu softvfp
	.type	check_end, %function
check_end:
	@ 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	.L54
.L57:
	ldr	r3, .L59
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r3, [r3, #12]
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L55
	ldr	r3, [fp, #-8]
	b	.L58
.L55:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L54:
	ldr	r3, .L59+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L57
	ldr	r0, .L59+8
	bl	puts
	mov	r0, #1
	bl	exit
.L58:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L60:
	.align	2
.L59:
	.word	node_dat
	.word	nodes
	.word	.LC10
	.size	check_end, .-check_end
	.section	.rodata
	.align	2
.LC11:
	.ascii	"The shortest path from %s to %s\012\000"
	.align	2
.LC12:
	.ascii	" %17s -> %17s \000"
	.align	2
.LC13:
	.ascii	"by %19s for %3d [min.]\012\000"
	.align	2
.LC14:
	.ascii	"Total time required ... %d[min.]\012\000"
	.text
	.align	2
	.global	output
	.syntax unified
	.arm
	.fpu softvfp
	.type	output, %function
output:
	@ args = 0, pretend = 0, frame = 24
	@ 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]
	str	r2, [fp, #-24]
	ldr	r3, .L64
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r1, [r3, #12]
	ldr	r3, .L64
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r3, [r3, #12]
	mov	r2, r3
	ldr	r0, .L64+4
	bl	printf
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-12]
	b	.L62
.L63:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #12]
	str	r3, [fp, #-8]
	ldr	r3, .L64
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r1, [r3, #12]
	ldr	r3, .L64
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r3, [r3, #12]
	mov	r2, r3
	ldr	r0, .L64+8
	bl	printf
	ldr	r3, [fp, #-12]
	ldr	r1, [r3, #8]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #4]
	mov	r2, r3
	ldr	r0, .L64+12
	bl	printf
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #12]
	str	r3, [fp, #-12]
.L62:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #12]
	cmp	r3, #0
	bne	.L63
	ldr	r3, .L64
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L64+16
	bl	printf
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L65:
	.align	2
.L64:
	.word	node_dat
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.size	output, .-output
	.section	.rodata
	.align	2
.LC15:
	.ascii	"Please give a start point and a destination as argu"
	.ascii	"mrnts.\000"
	.align	2
.LC16:
	.ascii	"node %d: %2d %3d %s\012\000"
	.align	2
.LC17:
	.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	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	ldr	r3, .L75
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-32]
	cmp	r3, #3
	beq	.L67
	ldr	r0, .L75+4
	bl	puts
	mvn	r3, #0
	b	.L73
.L67:
	bl	read_station
	ldr	r3, [fp, #-36]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	check_start
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-36]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r0, r3
	bl	check_end
	str	r0, [fp, #-12]
	bl	read_line
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L69
.L72:
	ldr	r3, .L75+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	add	r3, r2, r3
	str	r3, [fp, #-24]
	b	.L70
.L71:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	ldr	r1, [r3, #4]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	ldr	r3, [r3, #8]
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, [fp, #-20]
	ldr	r0, .L75+12
	bl	printf
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	add	r3, r3, #12
	str	r3, [fp, #-24]
.L70:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L71
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L69:
	ldr	r3, .L75+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	blt	.L72
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-16]
	bl	dijkstra
	sub	r3, fp, #28
	ldr	r2, [fp, #-12]
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	make_path
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-12]
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	output
	mov	r3, #0
.L73:
	ldr	r2, .L75
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L74
	bl	__stack_chk_fail
.L74:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L76:
	.align	2
.L75:
	.word	.LC17
	.word	.LC15
	.word	list
	.word	.LC16
	.word	nodes
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
