	.file	"911670.c"
	.intel_syntax noprefix
	.text
	.globl	map_maze
	.bss
	.align 32
	.type	map_maze, @object
	.size	map_maze, 4000
map_maze:
	.zero	4000
	.globl	open_table
	.align 32
	.type	open_table, @object
	.size	open_table, 800
open_table:
	.zero	800
	.globl	close_table
	.align 32
	.type	close_table, @object
	.size	close_table, 800
close_table:
	.zero	800
	.globl	open_node_count
	.align 4
	.type	open_node_count, @object
	.size	open_node_count, 4
open_node_count:
	.zero	4
	.globl	close_node_count
	.align 4
	.type	close_node_count, @object
	.size	close_node_count, 4
close_node_count:
	.zero	4
	.globl	path_stack
	.align 32
	.type	path_stack, @object
	.size	path_stack, 800
path_stack:
	.zero	800
	.globl	top
	.data
	.align 4
	.type	top, @object
	.size	top, 4
top:
	.long	-1
	.text
	.globl	swap
	.type	swap, @function
swap:
.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 -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, open_table[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	QWORD PTR -8[rbp], rax
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, open_table[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	edx, DWORD PTR -20[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	lea	rdx, open_table[rip]
	mov	QWORD PTR [rcx+rdx], rax
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rcx, 0[0+rax*8]
	lea	rdx, open_table[rip]
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR [rcx+rdx], rax
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	swap, .-swap
	.globl	adjust_heap
	.type	adjust_heap, @function
adjust_heap:
.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, 24
	mov	DWORD PTR -20[rbp], edi
	mov	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	add	eax, eax
	add	eax, 1
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	sub	eax, 1
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -20[rbp], 0
	js	.L15
	mov	eax, DWORD PTR open_node_count[rip]
	cmp	DWORD PTR -20[rbp], eax
	jge	.L15
	jmp	.L6
.L10:
	mov	eax, DWORD PTR -8[rbp]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR open_node_count[rip]
	cmp	edx, eax
	jge	.L7
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, open_table[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	ecx, DWORD PTR 8[rax]
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, open_table[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	eax, DWORD PTR 12[rax]
	add	ecx, eax
	mov	eax, DWORD PTR -8[rbp]
	add	eax, 1
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, open_table[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	esi, DWORD PTR 8[rax]
	mov	eax, DWORD PTR -8[rbp]
	add	eax, 1
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, open_table[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	eax, DWORD PTR 12[rax]
	add	eax, esi
	cmp	ecx, eax
	jle	.L7
	add	DWORD PTR -8[rbp], 1
.L7:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, open_table[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	ecx, DWORD PTR 8[rax]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, open_table[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	eax, DWORD PTR 12[rax]
	add	ecx, eax
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, open_table[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	esi, DWORD PTR 8[rax]
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, open_table[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	eax, DWORD PTR 12[rax]
	add	eax, esi
	cmp	ecx, eax
	jle	.L16
	mov	edx, DWORD PTR -12[rbp]
	mov	eax, DWORD PTR -8[rbp]
	mov	esi, edx
	mov	edi, eax
	call	swap
	mov	eax, DWORD PTR -8[rbp]
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	add	eax, eax
	add	eax, 1
	mov	DWORD PTR -8[rbp], eax
.L6:
	mov	eax, DWORD PTR open_node_count[rip]
	cmp	DWORD PTR -8[rbp], eax
	jl	.L10
	jmp	.L9
.L16:
	nop
.L9:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jne	.L17
	jmp	.L12
.L14:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, open_table[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	ecx, DWORD PTR 8[rax]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, open_table[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	eax, DWORD PTR 12[rax]
	add	ecx, eax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, open_table[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	esi, DWORD PTR 8[rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, open_table[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	eax, DWORD PTR 12[rax]
	add	eax, esi
	cmp	ecx, eax
	jge	.L18
	mov	edx, DWORD PTR -4[rbp]
	mov	eax, DWORD PTR -12[rbp]
	mov	esi, edx
	mov	edi, eax
	call	swap
	mov	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	sub	eax, 1
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	DWORD PTR -4[rbp], eax
.L12:
	cmp	DWORD PTR -12[rbp], 0
	jne	.L14
	jmp	.L2
.L15:
	nop
	jmp	.L2
.L17:
	nop
	jmp	.L2
.L18:
	nop
.L2:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	adjust_heap, .-adjust_heap
	.globl	insert_to_opentable
	.type	insert_to_opentable, @function
insert_to_opentable:
.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, 48
	mov	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	mov	QWORD PTR -32[rbp], rdx
	mov	QWORD PTR -40[rbp], rcx
	mov	DWORD PTR -44[rbp], r8d
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	mov	edx, DWORD PTR -20[rbp]
	movsx	rcx, edx
	mov	rdx, rax
	sal	rdx, 2
	add	rdx, rax
	lea	rax, 0[0+rdx*8]
	mov	rdx, rax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	lea	rcx, 0[0+rax*4]
	add	rax, rcx
	sal	rax, 4
	add	rdx, rax
	lea	rax, map_maze[rip+16]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cmp	eax, 3
	je	.L26
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	mov	edx, DWORD PTR -20[rbp]
	movsx	rcx, edx
	mov	rdx, rax
	sal	rdx, 2
	add	rdx, rax
	lea	rax, 0[0+rdx*8]
	mov	rdx, rax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	lea	rcx, 0[0+rax*4]
	add	rax, rcx
	sal	rax, 4
	add	rdx, rax
	lea	rax, map_maze[rip+32]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jne	.L26
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	mov	edx, DWORD PTR -20[rbp]
	movsx	rcx, edx
	mov	rdx, rax
	sal	rdx, 2
	add	rdx, rax
	lea	rax, 0[0+rdx*8]
	mov	rdx, rax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	lea	rcx, 0[0+rax*4]
	add	rax, rcx
	sal	rax, 4
	add	rdx, rax
	lea	rax, map_maze[rip+36]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	je	.L21
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	mov	edx, DWORD PTR -20[rbp]
	movsx	rcx, edx
	mov	rdx, rax
	sal	rdx, 2
	add	rdx, rax
	lea	rax, 0[0+rdx*8]
	mov	rdx, rax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	lea	rcx, 0[0+rax*4]
	add	rax, rcx
	sal	rax, 4
	add	rdx, rax
	lea	rax, map_maze[rip+8]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	ecx, DWORD PTR 8[rax]
	mov	eax, DWORD PTR -44[rbp]
	add	eax, ecx
	cmp	edx, eax
	jle	.L26
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, DWORD PTR 8[rax]
	mov	eax, DWORD PTR -44[rbp]
	lea	esi, [rdx+rax]
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	mov	edx, DWORD PTR -20[rbp]
	movsx	rcx, edx
	mov	rdx, rax
	sal	rdx, 2
	add	rdx, rax
	lea	rax, 0[0+rdx*8]
	mov	rdx, rax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	lea	rcx, 0[0+rax*4]
	add	rax, rcx
	sal	rax, 4
	add	rdx, rax
	lea	rax, map_maze[rip+8]
	add	rax, rdx
	mov	DWORD PTR [rax], esi
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	mov	edx, DWORD PTR -20[rbp]
	movsx	rcx, edx
	mov	rdx, rax
	sal	rdx, 2
	add	rdx, rax
	lea	rax, 0[0+rdx*8]
	mov	rdx, rax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	lea	rcx, 0[0+rax*4]
	add	rax, rcx
	sal	rax, 4
	add	rdx, rax
	lea	rax, map_maze[rip+24]
	add	rdx, rax
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR [rdx], rax
	mov	DWORD PTR -4[rbp], 0
	jmp	.L22
.L25:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, open_table[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	esi, DWORD PTR [rax]
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	mov	edx, DWORD PTR -20[rbp]
	movsx	rcx, edx
	mov	rdx, rax
	sal	rdx, 2
	add	rdx, rax
	lea	rax, 0[0+rdx*8]
	mov	rdx, rax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	lea	rcx, 0[0+rax*4]
	add	rax, rcx
	sal	rax, 4
	add	rdx, rax
	lea	rax, map_maze[rip]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cmp	esi, eax
	jne	.L23
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, open_table[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	esi, DWORD PTR 4[rax]
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	mov	edx, DWORD PTR -20[rbp]
	movsx	rcx, edx
	mov	rdx, rax
	sal	rdx, 2
	add	rdx, rax
	lea	rax, 0[0+rdx*8]
	mov	rdx, rax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	lea	rcx, 0[0+rax*4]
	add	rax, rcx
	sal	rax, 4
	add	rdx, rax
	lea	rax, map_maze[rip+4]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cmp	esi, eax
	je	.L27
.L23:
	add	DWORD PTR -4[rbp], 1
.L22:
	mov	eax, DWORD PTR open_node_count[rip]
	cmp	DWORD PTR -4[rbp], eax
	jl	.L25
	jmp	.L24
.L27:
	nop
.L24:
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	call	adjust_heap
	jmp	.L26
.L21:
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, DWORD PTR 8[rax]
	mov	eax, DWORD PTR -44[rbp]
	lea	esi, [rdx+rax]
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	mov	edx, DWORD PTR -20[rbp]
	movsx	rcx, edx
	mov	rdx, rax
	sal	rdx, 2
	add	rdx, rax
	lea	rax, 0[0+rdx*8]
	mov	rdx, rax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	lea	rcx, 0[0+rax*4]
	add	rax, rcx
	sal	rax, 4
	add	rdx, rax
	lea	rax, map_maze[rip+8]
	add	rax, rdx
	mov	DWORD PTR [rax], esi
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR [rax]
	sub	eax, DWORD PTR -20[rbp]
	mov	ecx, eax
	sar	ecx, 31
	xor	eax, ecx
	mov	edx, eax
	sub	edx, ecx
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR 4[rax]
	sub	eax, DWORD PTR -24[rbp]
	mov	ecx, eax
	sar	ecx, 31
	xor	eax, ecx
	sub	eax, ecx
	lea	esi, [rdx+rax]
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	mov	edx, DWORD PTR -20[rbp]
	movsx	rcx, edx
	mov	rdx, rax
	sal	rdx, 2
	add	rdx, rax
	lea	rax, 0[0+rdx*8]
	mov	rdx, rax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	lea	rcx, 0[0+rax*4]
	add	rax, rcx
	sal	rax, 4
	add	rdx, rax
	lea	rax, map_maze[rip+12]
	add	rax, rdx
	mov	DWORD PTR [rax], esi
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	mov	edx, DWORD PTR -20[rbp]
	movsx	rcx, edx
	mov	rdx, rax
	sal	rdx, 2
	add	rdx, rax
	lea	rax, 0[0+rdx*8]
	mov	rdx, rax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	lea	rcx, 0[0+rax*4]
	add	rax, rcx
	sal	rax, 4
	add	rdx, rax
	lea	rax, map_maze[rip+24]
	add	rdx, rax
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR [rdx], rax
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	mov	edx, DWORD PTR -20[rbp]
	movsx	rcx, edx
	mov	rdx, rax
	sal	rdx, 2
	add	rdx, rax
	lea	rax, 0[0+rdx*8]
	mov	rdx, rax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	lea	rcx, 0[0+rax*4]
	add	rax, rcx
	sal	rax, 4
	add	rdx, rax
	lea	rax, map_maze[rip+36]
	add	rax, rdx
	mov	DWORD PTR [rax], 1
	mov	ecx, DWORD PTR open_node_count[rip]
	lea	eax, 1[rcx]
	mov	DWORD PTR open_node_count[rip], eax
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	mov	rdx, rax
	sal	rdx, 2
	add	rdx, rax
	lea	rax, 0[0+rdx*8]
	mov	rdx, rax
	mov	eax, DWORD PTR -20[rbp]
	movsx	rsi, eax
	mov	rax, rsi
	sal	rax, 2
	add	rax, rsi
	lea	rsi, 0[0+rax*4]
	add	rax, rsi
	sal	rax, 4
	add	rdx, rax
	lea	rax, map_maze[rip]
	lea	rsi, [rdx+rax]
	movsx	rax, ecx
	lea	rdx, 0[0+rax*8]
	lea	rax, open_table[rip]
	mov	QWORD PTR [rdx+rax], rsi
.L26:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	insert_to_opentable, .-insert_to_opentable
	.globl	get_neighbors
	.type	get_neighbors, @function
get_neighbors:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -8[rbp], eax
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -8[rbp], -1
	jl	.L29
	cmp	DWORD PTR -8[rbp], 8
	jg	.L29
	cmp	DWORD PTR -4[rbp], 0
	js	.L29
	cmp	DWORD PTR -4[rbp], 9
	jg	.L29
	mov	eax, DWORD PTR -8[rbp]
	lea	edi, 1[rax]
	mov	rcx, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -4[rbp]
	mov	r8d, 10
	mov	esi, eax
	call	insert_to_opentable
.L29:
	cmp	DWORD PTR -8[rbp], 0
	jle	.L30
	cmp	DWORD PTR -8[rbp], 10
	jg	.L30
	cmp	DWORD PTR -4[rbp], 0
	js	.L30
	cmp	DWORD PTR -4[rbp], 9
	jg	.L30
	mov	eax, DWORD PTR -8[rbp]
	lea	edi, -1[rax]
	mov	rcx, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -4[rbp]
	mov	r8d, 10
	mov	esi, eax
	call	insert_to_opentable
.L30:
	cmp	DWORD PTR -8[rbp], 0
	js	.L31
	cmp	DWORD PTR -8[rbp], 9
	jg	.L31
	cmp	DWORD PTR -4[rbp], -1
	jl	.L31
	cmp	DWORD PTR -4[rbp], 8
	jg	.L31
	mov	eax, DWORD PTR -4[rbp]
	lea	esi, 1[rax]
	mov	rcx, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -8[rbp]
	mov	r8d, 10
	mov	edi, eax
	call	insert_to_opentable
.L31:
	cmp	DWORD PTR -8[rbp], 0
	js	.L32
	cmp	DWORD PTR -8[rbp], 9
	jg	.L32
	cmp	DWORD PTR -4[rbp], 0
	jle	.L32
	cmp	DWORD PTR -4[rbp], 10
	jg	.L32
	mov	eax, DWORD PTR -4[rbp]
	lea	esi, -1[rax]
	mov	rcx, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -8[rbp]
	mov	r8d, 10
	mov	edi, eax
	call	insert_to_opentable
.L32:
	cmp	DWORD PTR -8[rbp], -1
	jl	.L33
	cmp	DWORD PTR -8[rbp], 8
	jg	.L33
	cmp	DWORD PTR -4[rbp], -1
	jl	.L33
	cmp	DWORD PTR -4[rbp], 8
	jg	.L33
	mov	eax, DWORD PTR -4[rbp]
	lea	esi, 1[rax]
	mov	eax, DWORD PTR -8[rbp]
	lea	edi, 1[rax]
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	r8d, 14
	mov	rcx, rdx
	mov	rdx, rax
	call	insert_to_opentable
.L33:
	cmp	DWORD PTR -8[rbp], -1
	jl	.L34
	cmp	DWORD PTR -8[rbp], 8
	jg	.L34
	cmp	DWORD PTR -4[rbp], 0
	jle	.L34
	cmp	DWORD PTR -4[rbp], 10
	jg	.L34
	mov	eax, DWORD PTR -4[rbp]
	lea	esi, -1[rax]
	mov	eax, DWORD PTR -8[rbp]
	lea	edi, 1[rax]
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	r8d, 14
	mov	rcx, rdx
	mov	rdx, rax
	call	insert_to_opentable
.L34:
	cmp	DWORD PTR -8[rbp], 0
	jle	.L35
	cmp	DWORD PTR -8[rbp], 10
	jg	.L35
	cmp	DWORD PTR -4[rbp], -1
	jl	.L35
	cmp	DWORD PTR -4[rbp], 8
	jg	.L35
	mov	eax, DWORD PTR -4[rbp]
	lea	esi, 1[rax]
	mov	eax, DWORD PTR -8[rbp]
	lea	edi, -1[rax]
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	r8d, 14
	mov	rcx, rdx
	mov	rdx, rax
	call	insert_to_opentable
.L35:
	cmp	DWORD PTR -8[rbp], 0
	jle	.L37
	cmp	DWORD PTR -8[rbp], 10
	jg	.L37
	cmp	DWORD PTR -4[rbp], 0
	jle	.L37
	cmp	DWORD PTR -4[rbp], 10
	jg	.L37
	mov	eax, DWORD PTR -4[rbp]
	lea	esi, -1[rax]
	mov	eax, DWORD PTR -8[rbp]
	lea	edi, -1[rax]
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	r8d, 14
	mov	rcx, rdx
	mov	rdx, rax
	call	insert_to_opentable
.L37:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	get_neighbors, .-get_neighbors
	.section	.rodata
.LC1:
	.string	"%d "
.LC2:
	.string	"start %d %d\n"
.LC3:
	.string	"\350\265\267\347\202\271==\347\273\210\347\202\271\357\274\201"
.LC4:
	.string	"finded "
.LC5:
	.string	"not finded "
.LC6:
	.string	"top %d\n"
.LC7:
	.string	"(%d,%d)-->"
.LC8:
	.string	"(%d,%d)"
.LC9:
	.string	"\344\271\210\346\234\211\346\211\276\345\210\260\350\267\257\345\276\204"
	.align 32
.LC0:
	.long	1
	.long	0
	.long	0
	.long	3
	.long	0
	.long	3
	.long	0
	.long	0
	.long	0
	.long	0
	.long	0
	.long	0
	.long	3
	.long	0
	.long	0
	.long	3
	.long	0
	.long	3
	.long	0
	.long	3
	.long	3
	.long	0
	.long	0
	.long	0
	.long	0
	.long	3
	.long	3
	.long	3
	.long	0
	.long	3
	.long	3
	.long	0
	.long	3
	.long	0
	.long	0
	.long	0
	.long	0
	.long	0
	.long	0
	.long	3
	.long	3
	.long	0
	.long	0
	.long	0
	.long	0
	.long	3
	.long	0
	.long	0
	.long	0
	.long	3
	.long	3
	.long	0
	.long	0
	.long	3
	.long	0
	.long	0
	.long	0
	.long	3
	.long	0
	.long	3
	.long	3
	.long	0
	.long	0
	.long	0
	.long	0
	.long	3
	.long	3
	.long	0
	.long	0
	.long	0
	.long	0
	.long	0
	.long	2
	.long	0
	.long	0
	.long	0
	.long	0
	.long	0
	.long	0
	.long	0
	.long	3
	.long	3
	.long	3
	.long	0
	.long	0
	.long	3
	.long	0
	.long	3
	.long	0
	.long	3
	.long	3
	.long	0
	.long	0
	.long	0
	.long	0
	.long	3
	.long	3
	.long	3
	.long	0
	.long	3
	.text
	.globl	main
	.type	main, @function
main:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 464
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -416[rbp]
	lea	rdx, .LC0[rip]
	mov	ecx, 50
	mov	rdi, rax
	mov	rsi, rdx
	rep movsq
	mov	DWORD PTR -448[rbp], 0
	jmp	.L39
.L44:
	mov	DWORD PTR -444[rbp], 0
	jmp	.L40
.L43:
	mov	eax, DWORD PTR -444[rbp]
	cdqe
	mov	edx, DWORD PTR -448[rbp]
	movsx	rcx, edx
	mov	rdx, rax
	sal	rdx, 2
	add	rdx, rax
	lea	rax, 0[0+rdx*8]
	mov	rdx, rax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	lea	rcx, 0[0+rax*4]
	add	rax, rcx
	sal	rax, 4
	add	rdx, rax
	lea	rax, map_maze[rip+8]
	add	rax, rdx
	mov	DWORD PTR [rax], 0
	mov	eax, DWORD PTR -444[rbp]
	cdqe
	mov	edx, DWORD PTR -448[rbp]
	movsx	rcx, edx
	mov	rdx, rax
	sal	rdx, 2
	add	rdx, rax
	lea	rax, 0[0+rdx*8]
	mov	rdx, rax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	lea	rcx, 0[0+rax*4]
	add	rax, rcx
	sal	rax, 4
	add	rdx, rax
	lea	rax, map_maze[rip+12]
	add	rax, rdx
	mov	DWORD PTR [rax], 0
	mov	eax, DWORD PTR -444[rbp]
	cdqe
	mov	edx, DWORD PTR -448[rbp]
	movsx	rcx, edx
	mov	rdx, rax
	sal	rdx, 2
	add	rdx, rax
	lea	rax, 0[0+rdx*8]
	mov	rdx, rax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	lea	rcx, 0[0+rax*4]
	add	rax, rcx
	sal	rax, 4
	add	rdx, rax
	lea	rax, map_maze[rip+32]
	add	rax, rdx
	mov	DWORD PTR [rax], 0
	mov	eax, DWORD PTR -444[rbp]
	cdqe
	mov	edx, DWORD PTR -448[rbp]
	movsx	rcx, edx
	mov	rdx, rax
	sal	rdx, 2
	add	rdx, rax
	lea	rax, 0[0+rdx*8]
	mov	rdx, rax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	lea	rcx, 0[0+rax*4]
	add	rax, rcx
	sal	rax, 4
	add	rdx, rax
	lea	rax, map_maze[rip+36]
	add	rax, rdx
	mov	DWORD PTR [rax], 0
	mov	eax, DWORD PTR -444[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -448[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rcx
	mov	ecx, DWORD PTR -416[rbp+rax*4]
	mov	eax, DWORD PTR -444[rbp]
	cdqe
	mov	edx, DWORD PTR -448[rbp]
	movsx	rsi, edx
	mov	rdx, rax
	sal	rdx, 2
	add	rdx, rax
	lea	rax, 0[0+rdx*8]
	mov	rdx, rax
	mov	rax, rsi
	sal	rax, 2
	add	rax, rsi
	lea	rsi, 0[0+rax*4]
	add	rax, rsi
	sal	rax, 4
	add	rdx, rax
	lea	rax, map_maze[rip+16]
	add	rax, rdx
	mov	DWORD PTR [rax], ecx
	mov	eax, DWORD PTR -444[rbp]
	cdqe
	mov	edx, DWORD PTR -448[rbp]
	movsx	rcx, edx
	mov	rdx, rax
	sal	rdx, 2
	add	rdx, rax
	lea	rax, 0[0+rdx*8]
	mov	rdx, rax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	lea	rcx, 0[0+rax*4]
	add	rax, rcx
	sal	rax, 4
	add	rdx, rax
	lea	rax, map_maze[rip]
	add	rdx, rax
	mov	eax, DWORD PTR -448[rbp]
	mov	DWORD PTR [rdx], eax
	mov	eax, DWORD PTR -444[rbp]
	cdqe
	mov	edx, DWORD PTR -448[rbp]
	movsx	rcx, edx
	mov	rdx, rax
	sal	rdx, 2
	add	rdx, rax
	lea	rax, 0[0+rdx*8]
	mov	rdx, rax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	lea	rcx, 0[0+rax*4]
	add	rax, rcx
	sal	rax, 4
	add	rdx, rax
	lea	rax, map_maze[rip+4]
	add	rdx, rax
	mov	eax, DWORD PTR -444[rbp]
	mov	DWORD PTR [rdx], eax
	mov	eax, DWORD PTR -444[rbp]
	cdqe
	mov	edx, DWORD PTR -448[rbp]
	movsx	rcx, edx
	mov	rdx, rax
	sal	rdx, 2
	add	rdx, rax
	lea	rax, 0[0+rdx*8]
	mov	rdx, rax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	lea	rcx, 0[0+rax*4]
	add	rax, rcx
	sal	rax, 4
	add	rdx, rax
	lea	rax, map_maze[rip+24]
	add	rax, rdx
	mov	QWORD PTR [rax], 0
	mov	eax, DWORD PTR -444[rbp]
	cdqe
	mov	edx, DWORD PTR -448[rbp]
	movsx	rcx, edx
	mov	rdx, rax
	sal	rdx, 2
	add	rdx, rax
	lea	rax, 0[0+rdx*8]
	mov	rdx, rax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	lea	rcx, 0[0+rax*4]
	add	rax, rcx
	sal	rax, 4
	add	rdx, rax
	lea	rax, map_maze[rip+16]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cmp	eax, 1
	jne	.L41
	mov	eax, DWORD PTR -444[rbp]
	cdqe
	mov	rdx, rax
	sal	rdx, 2
	add	rdx, rax
	lea	rax, 0[0+rdx*8]
	mov	rdx, rax
	mov	eax, DWORD PTR -448[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	lea	rcx, 0[0+rax*4]
	add	rax, rcx
	sal	rax, 4
	add	rdx, rax
	lea	rax, map_maze[rip]
	add	rax, rdx
	mov	QWORD PTR -440[rbp], rax
	jmp	.L42
.L41:
	mov	eax, DWORD PTR -444[rbp]
	cdqe
	mov	edx, DWORD PTR -448[rbp]
	movsx	rcx, edx
	mov	rdx, rax
	sal	rdx, 2
	add	rdx, rax
	lea	rax, 0[0+rdx*8]
	mov	rdx, rax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	lea	rcx, 0[0+rax*4]
	add	rax, rcx
	sal	rax, 4
	add	rdx, rax
	lea	rax, map_maze[rip+16]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cmp	eax, 2
	jne	.L42
	mov	eax, DWORD PTR -444[rbp]
	cdqe
	mov	rdx, rax
	sal	rdx, 2
	add	rdx, rax
	lea	rax, 0[0+rdx*8]
	mov	rdx, rax
	mov	eax, DWORD PTR -448[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	lea	rcx, 0[0+rax*4]
	add	rax, rcx
	sal	rax, 4
	add	rdx, rax
	lea	rax, map_maze[rip]
	add	rax, rdx
	mov	QWORD PTR -432[rbp], rax
.L42:
	mov	eax, DWORD PTR -444[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -448[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rcx
	mov	eax, DWORD PTR -416[rbp+rax*4]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -444[rbp], 1
.L40:
	cmp	DWORD PTR -444[rbp], 9
	jle	.L43
	mov	edi, 10
	call	putchar@PLT
	add	DWORD PTR -448[rbp], 1
.L39:
	cmp	DWORD PTR -448[rbp], 9
	jle	.L44
	mov	rax, QWORD PTR -440[rbp]
	mov	edx, DWORD PTR 4[rax]
	mov	rax, QWORD PTR -440[rbp]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR open_node_count[rip]
	lea	edx, 1[rax]
	mov	DWORD PTR open_node_count[rip], edx
	cdqe
	lea	rcx, 0[0+rax*8]
	lea	rdx, open_table[rip]
	mov	rax, QWORD PTR -440[rbp]
	mov	QWORD PTR [rcx+rdx], rax
	mov	rax, QWORD PTR -440[rbp]
	mov	DWORD PTR 36[rax], 1
	mov	rax, QWORD PTR -440[rbp]
	mov	DWORD PTR 8[rax], 0
	mov	rax, QWORD PTR -432[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -440[rbp]
	mov	ecx, DWORD PTR [rax]
	mov	eax, edx
	sub	eax, ecx
	mov	ecx, eax
	sar	ecx, 31
	xor	eax, ecx
	mov	edx, eax
	sub	edx, ecx
	mov	rax, QWORD PTR -432[rbp]
	mov	ecx, DWORD PTR 4[rax]
	mov	rax, QWORD PTR -440[rbp]
	mov	esi, DWORD PTR 4[rax]
	mov	eax, ecx
	sub	eax, esi
	mov	ecx, eax
	sar	ecx, 31
	xor	eax, ecx
	sub	eax, ecx
	add	edx, eax
	mov	rax, QWORD PTR -440[rbp]
	mov	DWORD PTR 12[rax], edx
	mov	rax, QWORD PTR -440[rbp]
	mov	QWORD PTR 24[rax], 0
	mov	rax, QWORD PTR -440[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -432[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	edx, eax
	jne	.L45
	mov	rax, QWORD PTR -440[rbp]
	mov	edx, DWORD PTR 4[rax]
	mov	rax, QWORD PTR -432[rbp]
	mov	eax, DWORD PTR 4[rax]
	cmp	edx, eax
	jne	.L45
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	eax, 0
	jmp	.L58
.L45:
	mov	DWORD PTR -452[rbp], 0
.L50:
	mov	rax, QWORD PTR open_table[rip]
	mov	QWORD PTR -424[rbp], rax
	mov	eax, DWORD PTR open_node_count[rip]
	sub	eax, 1
	mov	DWORD PTR open_node_count[rip], eax
	mov	eax, DWORD PTR open_node_count[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, open_table[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	QWORD PTR open_table[rip], rax
	mov	edi, 0
	call	adjust_heap
	mov	eax, DWORD PTR close_node_count[rip]
	lea	edx, 1[rax]
	mov	DWORD PTR close_node_count[rip], edx
	cdqe
	lea	rcx, 0[0+rax*8]
	lea	rdx, close_table[rip]
	mov	rax, QWORD PTR -424[rbp]
	mov	QWORD PTR [rcx+rdx], rax
	mov	rax, QWORD PTR -424[rbp]
	mov	DWORD PTR 32[rax], 1
	mov	rax, QWORD PTR -424[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -432[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	edx, eax
	jne	.L47
	mov	rax, QWORD PTR -424[rbp]
	mov	edx, DWORD PTR 4[rax]
	mov	rax, QWORD PTR -432[rbp]
	mov	eax, DWORD PTR 4[rax]
	cmp	edx, eax
	jne	.L47
	mov	DWORD PTR -452[rbp], 1
	lea	rdi, .LC4[rip]
	call	puts@PLT
	jmp	.L48
.L47:
	mov	rdx, QWORD PTR -432[rbp]
	mov	rax, QWORD PTR -424[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	get_neighbors
	mov	eax, DWORD PTR open_node_count[rip]
	test	eax, eax
	jne	.L50
	mov	DWORD PTR -452[rbp], 0
	lea	rdi, .LC5[rip]
	call	puts@PLT
.L48:
	cmp	DWORD PTR -452[rbp], 0
	je	.L51
	mov	rax, QWORD PTR -432[rbp]
	mov	QWORD PTR -424[rbp], rax
	jmp	.L52
.L53:
	mov	eax, DWORD PTR top[rip]
	add	eax, 1
	mov	DWORD PTR top[rip], eax
	mov	eax, DWORD PTR top[rip]
	cdqe
	lea	rcx, 0[0+rax*8]
	lea	rdx, path_stack[rip]
	mov	rax, QWORD PTR -424[rbp]
	mov	QWORD PTR [rcx+rdx], rax
	mov	rax, QWORD PTR -424[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	QWORD PTR -424[rbp], rax
.L52:
	cmp	QWORD PTR -424[rbp], 0
	jne	.L53
	mov	eax, DWORD PTR top[rip]
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L54
.L56:
	mov	eax, DWORD PTR top[rip]
	test	eax, eax
	jle	.L55
	mov	eax, DWORD PTR top[rip]
	lea	edx, -1[rax]
	mov	DWORD PTR top[rip], edx
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, path_stack[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	edx, DWORD PTR 4[rax]
	mov	eax, DWORD PTR top[rip]
	cdqe
	lea	rcx, 0[0+rax*8]
	lea	rax, path_stack[rip]
	mov	rax, QWORD PTR [rcx+rax]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L54
.L55:
	mov	eax, DWORD PTR top[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, path_stack[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	edx, DWORD PTR 4[rax]
	mov	eax, DWORD PTR top[rip]
	cdqe
	lea	rcx, 0[0+rax*8]
	lea	rax, path_stack[rip]
	mov	rax, QWORD PTR [rcx+rax]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR top[rip]
	sub	eax, 1
	mov	DWORD PTR top[rip], eax
.L54:
	mov	eax, DWORD PTR top[rip]
	test	eax, eax
	jns	.L56
	jmp	.L57
.L51:
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
.L57:
	mov	edi, 10
	call	putchar@PLT
	mov	eax, 0
.L58:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L59
	call	__stack_chk_fail@PLT
.L59:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.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	"911670.c"
	.text
	.comm	map_maze,3200,4
	.comm	open_table,400,4
	.comm	close_table,400,4
	.global	open_node_count
	.bss
	.align	2
	.type	open_node_count, %object
	.size	open_node_count, 4
open_node_count:
	.space	4
	.global	close_node_count
	.align	2
	.type	close_node_count, %object
	.size	close_node_count, 4
close_node_count:
	.space	4
	.comm	path_stack,400,4
	.global	top
	.data
	.align	2
	.type	top, %object
	.size	top, 4
top:
	.word	-1
	.text
	.align	2
	.global	swap
	.syntax unified
	.arm
	.fpu softvfp
	.type	swap, %function
swap:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r2, .L2
	ldr	r3, [fp, #-16]
	ldr	r3, [r2, r3, lsl #2]
	str	r3, [fp, #-8]
	ldr	r2, .L2
	ldr	r3, [fp, #-20]
	ldr	r2, [r2, r3, lsl #2]
	ldr	r1, .L2
	ldr	r3, [fp, #-16]
	str	r2, [r1, r3, lsl #2]
	ldr	r1, .L2
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-8]
	str	r2, [r1, r3, lsl #2]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L3:
	.align	2
.L2:
	.word	open_table
	.size	swap, .-swap
	.align	2
	.global	adjust_heap
	.syntax unified
	.arm
	.fpu softvfp
	.type	adjust_heap, %function
adjust_heap:
	@ 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, #-24]
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #1
	add	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	blt	.L17
	ldr	r3, .L21
	ldr	r3, [r3]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	bge	.L17
	b	.L8
.L12:
	ldr	r3, [fp, #-12]
	add	r2, r3, #1
	ldr	r3, .L21
	ldr	r3, [r3]
	cmp	r2, r3
	bge	.L9
	ldr	r2, .L21+4
	ldr	r3, [fp, #-12]
	ldr	r3, [r2, r3, lsl #2]
	ldr	r2, [r3, #8]
	ldr	r1, .L21+4
	ldr	r3, [fp, #-12]
	ldr	r3, [r1, r3, lsl #2]
	ldr	r3, [r3, #12]
	add	r2, r2, r3
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	ldr	r1, .L21+4
	ldr	r3, [r1, r3, lsl #2]
	ldr	r1, [r3, #8]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	ldr	r0, .L21+4
	ldr	r3, [r0, r3, lsl #2]
	ldr	r3, [r3, #12]
	add	r3, r1, r3
	cmp	r2, r3
	ble	.L9
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L9:
	ldr	r2, .L21+4
	ldr	r3, [fp, #-16]
	ldr	r3, [r2, r3, lsl #2]
	ldr	r2, [r3, #8]
	ldr	r1, .L21+4
	ldr	r3, [fp, #-16]
	ldr	r3, [r1, r3, lsl #2]
	ldr	r3, [r3, #12]
	add	r2, r2, r3
	ldr	r1, .L21+4
	ldr	r3, [fp, #-12]
	ldr	r3, [r1, r3, lsl #2]
	ldr	r1, [r3, #8]
	ldr	r0, .L21+4
	ldr	r3, [fp, #-12]
	ldr	r3, [r0, r3, lsl #2]
	ldr	r3, [r3, #12]
	add	r3, r1, r3
	cmp	r2, r3
	ble	.L18
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-12]
	bl	swap
	ldr	r3, [fp, #-12]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #1
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L8:
	ldr	r3, .L21
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	blt	.L12
	b	.L11
.L18:
	nop
.L11:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	bne	.L19
	b	.L14
.L16:
	ldr	r2, .L21+4
	ldr	r3, [fp, #-16]
	ldr	r3, [r2, r3, lsl #2]
	ldr	r2, [r3, #8]
	ldr	r1, .L21+4
	ldr	r3, [fp, #-16]
	ldr	r3, [r1, r3, lsl #2]
	ldr	r3, [r3, #12]
	add	r2, r2, r3
	ldr	r1, .L21+4
	ldr	r3, [fp, #-8]
	ldr	r3, [r1, r3, lsl #2]
	ldr	r1, [r3, #8]
	ldr	r0, .L21+4
	ldr	r3, [fp, #-8]
	ldr	r3, [r0, r3, lsl #2]
	ldr	r3, [r3, #12]
	add	r3, r1, r3
	cmp	r2, r3
	bge	.L20
	ldr	r1, [fp, #-8]
	ldr	r0, [fp, #-16]
	bl	swap
	ldr	r3, [fp, #-8]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	str	r3, [fp, #-8]
.L14:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L16
	b	.L4
.L17:
	nop
	b	.L4
.L19:
	nop
	b	.L4
.L20:
	nop
.L4:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L22:
	.align	2
.L21:
	.word	open_node_count
	.word	open_table
	.size	adjust_heap, .-adjust_heap
	.align	2
	.global	insert_to_opentable
	.syntax unified
	.arm
	.fpu softvfp
	.type	insert_to_opentable, %function
insert_to_opentable:
	@ args = 4, 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]
	ldr	r1, .L32
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-20]
	add	r3, r3, r2
	lsl	r3, r3, #5
	add	r3, r1, r3
	ldr	r3, [r3, #16]
	cmp	r3, #3
	beq	.L30
	ldr	r1, .L32
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-20]
	add	r3, r3, r2
	lsl	r3, r3, #5
	add	r3, r1, r3
	ldr	r3, [r3, #24]
	cmp	r3, #0
	bne	.L30
	ldr	r1, .L32
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-20]
	add	r3, r3, r2
	lsl	r3, r3, #5
	add	r3, r1, r3
	ldr	r3, [r3, #28]
	cmp	r3, #0
	beq	.L25
	ldr	r1, .L32
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-20]
	add	r3, r3, r2
	lsl	r3, r3, #5
	add	r3, r1, r3
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-24]
	ldr	r1, [r3, #8]
	ldr	r3, [fp, #4]
	add	r3, r1, r3
	cmp	r2, r3
	ble	.L30
	ldr	r3, [fp, #-24]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #4]
	add	r1, r2, r3
	ldr	r0, .L32
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-20]
	add	r3, r3, r2
	lsl	r3, r3, #5
	add	r3, r0, r3
	str	r1, [r3, #8]
	ldr	r1, .L32
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-20]
	add	r3, r3, r2
	lsl	r3, r3, #5
	add	r3, r1, r3
	ldr	r2, [fp, #-24]
	str	r2, [r3, #20]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L26
.L29:
	ldr	r2, .L32+4
	ldr	r3, [fp, #-8]
	ldr	r3, [r2, r3, lsl #2]
	ldr	r1, [r3]
	ldr	r0, .L32
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-20]
	add	r3, r3, r2
	ldr	r3, [r0, r3, lsl #5]
	cmp	r1, r3
	bne	.L27
	ldr	r2, .L32+4
	ldr	r3, [fp, #-8]
	ldr	r3, [r2, r3, lsl #2]
	ldr	r1, [r3, #4]
	ldr	r0, .L32
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-20]
	add	r3, r3, r2
	lsl	r3, r3, #5
	add	r3, r0, r3
	ldr	r3, [r3, #4]
	cmp	r1, r3
	beq	.L31
.L27:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L26:
	ldr	r3, .L32+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L29
	b	.L28
.L31:
	nop
.L28:
	ldr	r0, [fp, #-8]
	bl	adjust_heap
	b	.L30
.L25:
	ldr	r3, [fp, #-24]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #4]
	add	r1, r2, r3
	ldr	r0, .L32
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-20]
	add	r3, r3, r2
	lsl	r3, r3, #5
	add	r3, r0, r3
	str	r1, [r3, #8]
	ldr	r3, [fp, #-28]
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	sub	r3, r2, r3
	eor	r2, r3, r3, asr #31
	sub	r2, r2, r3, asr #31
	ldr	r3, [fp, #-28]
	ldr	r1, [r3, #4]
	ldr	r3, [fp, #-20]
	sub	r3, r1, r3
	cmp	r3, #0
	rsblt	r3, r3, #0
	add	r1, r2, r3
	ldr	r0, .L32
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-20]
	add	r3, r3, r2
	lsl	r3, r3, #5
	add	r3, r0, r3
	str	r1, [r3, #12]
	ldr	r1, .L32
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-20]
	add	r3, r3, r2
	lsl	r3, r3, #5
	add	r3, r1, r3
	ldr	r2, [fp, #-24]
	str	r2, [r3, #20]
	ldr	r1, .L32
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-20]
	add	r3, r3, r2
	lsl	r3, r3, #5
	add	r3, r1, r3
	mov	r2, #1
	str	r2, [r3, #28]
	ldr	r3, .L32+8
	ldr	r2, [r3]
	add	r3, r2, #1
	ldr	r1, .L32+8
	str	r3, [r1]
	ldr	r1, [fp, #-16]
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #1
	ldr	r1, [fp, #-20]
	add	r3, r3, r1
	lsl	r3, r3, #5
	ldr	r1, .L32
	add	r3, r3, r1
	ldr	r1, .L32+4
	str	r3, [r1, r2, lsl #2]
.L30:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L33:
	.align	2
.L32:
	.word	map_maze
	.word	open_table
	.word	open_node_count
	.size	insert_to_opentable, .-insert_to_opentable
	.align	2
	.global	get_neighbors
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_neighbors, %function
get_neighbors:
	@ args = 0, pretend = 0, frame = 16
	@ 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]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	cmn	r3, #1
	blt	.L35
	ldr	r3, [fp, #-12]
	cmp	r3, #8
	bgt	.L35
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	blt	.L35
	ldr	r3, [fp, #-8]
	cmp	r3, #9
	bgt	.L35
	ldr	r3, [fp, #-12]
	add	r0, r3, #1
	mov	r3, #10
	str	r3, [sp]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-16]
	ldr	r1, [fp, #-8]
	bl	insert_to_opentable
.L35:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	ble	.L36
	ldr	r3, [fp, #-12]
	cmp	r3, #10
	bgt	.L36
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	blt	.L36
	ldr	r3, [fp, #-8]
	cmp	r3, #9
	bgt	.L36
	ldr	r3, [fp, #-12]
	sub	r0, r3, #1
	mov	r3, #10
	str	r3, [sp]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-16]
	ldr	r1, [fp, #-8]
	bl	insert_to_opentable
.L36:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	blt	.L37
	ldr	r3, [fp, #-12]
	cmp	r3, #9
	bgt	.L37
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	blt	.L37
	ldr	r3, [fp, #-8]
	cmp	r3, #8
	bgt	.L37
	ldr	r3, [fp, #-8]
	add	r1, r3, #1
	mov	r3, #10
	str	r3, [sp]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-16]
	ldr	r0, [fp, #-12]
	bl	insert_to_opentable
.L37:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	blt	.L38
	ldr	r3, [fp, #-12]
	cmp	r3, #9
	bgt	.L38
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	ble	.L38
	ldr	r3, [fp, #-8]
	cmp	r3, #10
	bgt	.L38
	ldr	r3, [fp, #-8]
	sub	r1, r3, #1
	mov	r3, #10
	str	r3, [sp]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-16]
	ldr	r0, [fp, #-12]
	bl	insert_to_opentable
.L38:
	ldr	r3, [fp, #-12]
	cmn	r3, #1
	blt	.L39
	ldr	r3, [fp, #-12]
	cmp	r3, #8
	bgt	.L39
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	blt	.L39
	ldr	r3, [fp, #-8]
	cmp	r3, #8
	bgt	.L39
	ldr	r3, [fp, #-12]
	add	r0, r3, #1
	ldr	r3, [fp, #-8]
	add	r1, r3, #1
	mov	r3, #14
	str	r3, [sp]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-16]
	bl	insert_to_opentable
.L39:
	ldr	r3, [fp, #-12]
	cmn	r3, #1
	blt	.L40
	ldr	r3, [fp, #-12]
	cmp	r3, #8
	bgt	.L40
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	ble	.L40
	ldr	r3, [fp, #-8]
	cmp	r3, #10
	bgt	.L40
	ldr	r3, [fp, #-12]
	add	r0, r3, #1
	ldr	r3, [fp, #-8]
	sub	r1, r3, #1
	mov	r3, #14
	str	r3, [sp]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-16]
	bl	insert_to_opentable
.L40:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	ble	.L41
	ldr	r3, [fp, #-12]
	cmp	r3, #10
	bgt	.L41
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	blt	.L41
	ldr	r3, [fp, #-8]
	cmp	r3, #8
	bgt	.L41
	ldr	r3, [fp, #-12]
	sub	r0, r3, #1
	ldr	r3, [fp, #-8]
	add	r1, r3, #1
	mov	r3, #14
	str	r3, [sp]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-16]
	bl	insert_to_opentable
.L41:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	ble	.L43
	ldr	r3, [fp, #-12]
	cmp	r3, #10
	bgt	.L43
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	ble	.L43
	ldr	r3, [fp, #-8]
	cmp	r3, #10
	bgt	.L43
	ldr	r3, [fp, #-12]
	sub	r0, r3, #1
	ldr	r3, [fp, #-8]
	sub	r1, r3, #1
	mov	r3, #14
	str	r3, [sp]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-16]
	bl	insert_to_opentable
.L43:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	get_neighbors, .-get_neighbors
	.section	.rodata
	.align	2
.LC1:
	.ascii	"%d \000"
	.align	2
.LC2:
	.ascii	"start %d %d\012\000"
	.align	2
.LC3:
	.ascii	"\350\265\267\347\202\271==\347\273\210\347\202\271\357"
	.ascii	"\274\201\000"
	.align	2
.LC4:
	.ascii	"finded \000"
	.align	2
.LC5:
	.ascii	"not finded \000"
	.align	2
.LC6:
	.ascii	"top %d\012\000"
	.align	2
.LC7:
	.ascii	"(%d,%d)-->\000"
	.align	2
.LC8:
	.ascii	"(%d,%d)\000"
	.align	2
.LC9:
	.ascii	"\344\271\210\346\234\211\346\211\276\345\210\260\350"
	.ascii	"\267\257\345\276\204\000"
	.align	2
.LC0:
	.word	1
	.word	0
	.word	0
	.word	3
	.word	0
	.word	3
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	3
	.word	0
	.word	0
	.word	3
	.word	0
	.word	3
	.word	0
	.word	3
	.word	3
	.word	0
	.word	0
	.word	0
	.word	0
	.word	3
	.word	3
	.word	3
	.word	0
	.word	3
	.word	3
	.word	0
	.word	3
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	3
	.word	3
	.word	0
	.word	0
	.word	0
	.word	0
	.word	3
	.word	0
	.word	0
	.word	0
	.word	3
	.word	3
	.word	0
	.word	0
	.word	3
	.word	0
	.word	0
	.word	0
	.word	3
	.word	0
	.word	3
	.word	3
	.word	0
	.word	0
	.word	0
	.word	0
	.word	3
	.word	3
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	2
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	3
	.word	3
	.word	3
	.word	0
	.word	0
	.word	3
	.word	0
	.word	3
	.word	0
	.word	3
	.word	3
	.word	0
	.word	0
	.word	0
	.word	0
	.word	3
	.word	3
	.word	3
	.word	0
	.word	3
	.align	2
.LC10:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 432
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #432
	ldr	r3, .L66
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r2, .L66+4
	sub	r3, fp, #408
	mov	r1, r2
	mov	r2, #400
	mov	r0, r3
	bl	memcpy
	mov	r3, #0
	str	r3, [fp, #-416]
	b	.L45
.L50:
	mov	r3, #0
	str	r3, [fp, #-412]
	b	.L46
.L49:
	ldr	r1, .L66+8
	ldr	r2, [fp, #-416]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-412]
	add	r3, r3, r2
	lsl	r3, r3, #5
	add	r3, r1, r3
	mov	r2, #0
	str	r2, [r3, #8]
	ldr	r1, .L66+8
	ldr	r2, [fp, #-416]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-412]
	add	r3, r3, r2
	lsl	r3, r3, #5
	add	r3, r1, r3
	mov	r2, #0
	str	r2, [r3, #12]
	ldr	r1, .L66+8
	ldr	r2, [fp, #-416]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-412]
	add	r3, r3, r2
	lsl	r3, r3, #5
	add	r3, r1, r3
	mov	r2, #0
	str	r2, [r3, #24]
	ldr	r1, .L66+8
	ldr	r2, [fp, #-416]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-412]
	add	r3, r3, r2
	lsl	r3, r3, #5
	add	r3, r1, r3
	mov	r2, #0
	str	r2, [r3, #28]
	ldr	r2, [fp, #-416]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-412]
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r1, [r3, #-404]
	ldr	r0, .L66+8
	ldr	r2, [fp, #-416]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-412]
	add	r3, r3, r2
	lsl	r3, r3, #5
	add	r3, r0, r3
	str	r1, [r3, #16]
	ldr	r1, .L66+8
	ldr	r2, [fp, #-416]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-412]
	add	r3, r3, r2
	ldr	r2, [fp, #-416]
	str	r2, [r1, r3, lsl #5]
	ldr	r1, .L66+8
	ldr	r2, [fp, #-416]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-412]
	add	r3, r3, r2
	lsl	r3, r3, #5
	add	r3, r1, r3
	ldr	r2, [fp, #-412]
	str	r2, [r3, #4]
	ldr	r1, .L66+8
	ldr	r2, [fp, #-416]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-412]
	add	r3, r3, r2
	lsl	r3, r3, #5
	add	r3, r1, r3
	mov	r2, #0
	str	r2, [r3, #20]
	ldr	r1, .L66+8
	ldr	r2, [fp, #-416]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-412]
	add	r3, r3, r2
	lsl	r3, r3, #5
	add	r3, r1, r3
	ldr	r3, [r3, #16]
	cmp	r3, #1
	bne	.L47
	ldr	r2, [fp, #-416]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-412]
	add	r3, r3, r2
	lsl	r3, r3, #5
	ldr	r2, .L66+8
	add	r3, r3, r2
	str	r3, [fp, #-432]
	b	.L48
.L47:
	ldr	r1, .L66+8
	ldr	r2, [fp, #-416]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-412]
	add	r3, r3, r2
	lsl	r3, r3, #5
	add	r3, r1, r3
	ldr	r3, [r3, #16]
	cmp	r3, #2
	bne	.L48
	ldr	r2, [fp, #-416]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-412]
	add	r3, r3, r2
	lsl	r3, r3, #5
	ldr	r2, .L66+8
	add	r3, r3, r2
	str	r3, [fp, #-428]
.L48:
	ldr	r2, [fp, #-416]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-412]
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-404]
	mov	r1, r3
	ldr	r0, .L66+12
	bl	printf
	ldr	r3, [fp, #-412]
	add	r3, r3, #1
	str	r3, [fp, #-412]
.L46:
	ldr	r3, [fp, #-412]
	cmp	r3, #9
	ble	.L49
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-416]
	add	r3, r3, #1
	str	r3, [fp, #-416]
.L45:
	ldr	r3, [fp, #-416]
	cmp	r3, #9
	ble	.L50
	ldr	r3, [fp, #-432]
	ldr	r1, [r3]
	ldr	r3, [fp, #-432]
	ldr	r3, [r3, #4]
	mov	r2, r3
	ldr	r0, .L66+16
	bl	printf
	ldr	r3, .L66+20
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r1, .L66+20
	str	r2, [r1]
	ldr	r1, .L66+24
	ldr	r2, [fp, #-432]
	str	r2, [r1, r3, lsl #2]
	ldr	r3, [fp, #-432]
	mov	r2, #1
	str	r2, [r3, #28]
	ldr	r3, [fp, #-432]
	mov	r2, #0
	str	r2, [r3, #8]
	ldr	r3, [fp, #-428]
	ldr	r2, [r3]
	ldr	r3, [fp, #-432]
	ldr	r3, [r3]
	sub	r3, r2, r3
	eor	r2, r3, r3, asr #31
	sub	r2, r2, r3, asr #31
	ldr	r3, [fp, #-428]
	ldr	r1, [r3, #4]
	ldr	r3, [fp, #-432]
	ldr	r3, [r3, #4]
	sub	r3, r1, r3
	cmp	r3, #0
	rsblt	r3, r3, #0
	add	r2, r2, r3
	ldr	r3, [fp, #-432]
	str	r2, [r3, #12]
	ldr	r3, [fp, #-432]
	mov	r2, #0
	str	r2, [r3, #20]
	ldr	r3, [fp, #-432]
	ldr	r2, [r3]
	ldr	r3, [fp, #-428]
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L51
	ldr	r3, [fp, #-432]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-428]
	ldr	r3, [r3, #4]
	cmp	r2, r3
	bne	.L51
	ldr	r0, .L66+28
	bl	puts
	mov	r3, #0
	b	.L64
.L51:
	mov	r3, #0
	str	r3, [fp, #-420]
.L56:
	ldr	r3, .L66+24
	ldr	r3, [r3]
	str	r3, [fp, #-424]
	ldr	r3, .L66+20
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L66+20
	str	r3, [r2]
	ldr	r3, .L66+20
	ldr	r3, [r3]
	ldr	r2, .L66+24
	ldr	r3, [r2, r3, lsl #2]
	ldr	r2, .L66+24
	str	r3, [r2]
	mov	r0, #0
	bl	adjust_heap
	ldr	r3, .L66+32
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r1, .L66+32
	str	r2, [r1]
	ldr	r1, .L66+36
	ldr	r2, [fp, #-424]
	str	r2, [r1, r3, lsl #2]
	ldr	r3, [fp, #-424]
	mov	r2, #1
	str	r2, [r3, #24]
	ldr	r3, [fp, #-424]
	ldr	r2, [r3]
	ldr	r3, [fp, #-428]
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L53
	ldr	r3, [fp, #-424]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-428]
	ldr	r3, [r3, #4]
	cmp	r2, r3
	bne	.L53
	mov	r3, #1
	str	r3, [fp, #-420]
	ldr	r0, .L66+40
	bl	puts
	b	.L54
.L53:
	ldr	r1, [fp, #-428]
	ldr	r0, [fp, #-424]
	bl	get_neighbors
	ldr	r3, .L66+20
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L56
	mov	r3, #0
	str	r3, [fp, #-420]
	ldr	r0, .L66+44
	bl	puts
.L54:
	ldr	r3, [fp, #-420]
	cmp	r3, #0
	beq	.L57
	ldr	r3, [fp, #-428]
	str	r3, [fp, #-424]
	b	.L58
.L59:
	ldr	r3, .L66+48
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L66+48
	str	r3, [r2]
	ldr	r3, .L66+48
	ldr	r3, [r3]
	ldr	r1, .L66+52
	ldr	r2, [fp, #-424]
	str	r2, [r1, r3, lsl #2]
	ldr	r3, [fp, #-424]
	ldr	r3, [r3, #20]
	str	r3, [fp, #-424]
.L58:
	ldr	r3, [fp, #-424]
	cmp	r3, #0
	bne	.L59
	ldr	r3, .L66+48
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L66+56
	bl	printf
	b	.L60
.L62:
	ldr	r3, .L66+48
	ldr	r3, [r3]
	cmp	r3, #0
	ble	.L61
	ldr	r3, .L66+48
	ldr	r3, [r3]
	ldr	r2, .L66+52
	ldr	r3, [r2, r3, lsl #2]
	ldr	r1, [r3]
	ldr	r3, .L66+48
	ldr	r3, [r3]
	sub	r2, r3, #1
	ldr	r0, .L66+48
	str	r2, [r0]
	ldr	r2, .L66+52
	ldr	r3, [r2, r3, lsl #2]
	ldr	r3, [r3, #4]
	mov	r2, r3
	ldr	r0, .L66+60
	bl	printf
	b	.L60
.L61:
	ldr	r3, .L66+48
	ldr	r3, [r3]
	ldr	r2, .L66+52
	ldr	r3, [r2, r3, lsl #2]
	ldr	r1, [r3]
	ldr	r3, .L66+48
	ldr	r3, [r3]
	ldr	r2, .L66+52
	ldr	r3, [r2, r3, lsl #2]
	ldr	r3, [r3, #4]
	mov	r2, r3
	ldr	r0, .L66+64
	bl	printf
	ldr	r3, .L66+48
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L66+48
	str	r3, [r2]
.L60:
	ldr	r3, .L66+48
	ldr	r3, [r3]
	cmp	r3, #0
	bge	.L62
	b	.L63
.L57:
	ldr	r0, .L66+68
	bl	printf
.L63:
	mov	r0, #10
	bl	putchar
	mov	r3, #0
.L64:
	ldr	r2, .L66
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L65
	bl	__stack_chk_fail
.L65:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L67:
	.align	2
.L66:
	.word	.LC10
	.word	.LC0
	.word	map_maze
	.word	.LC1
	.word	.LC2
	.word	open_node_count
	.word	open_table
	.word	.LC3
	.word	close_node_count
	.word	close_table
	.word	.LC4
	.word	.LC5
	.word	top
	.word	path_stack
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
