	.file	"931515.c"
	.intel_syntax noprefix
	.text
	.globl	is_at_end
	.bss
	.align 4
	.type	is_at_end, @object
	.size	is_at_end, 4
is_at_end:
	.zero	4
	.globl	path
	.align 32
	.type	path, @object
	.size	path, 9604
path:
	.zero	9604
	.globl	parent_of
	.align 32
	.type	parent_of, @object
	.size	parent_of, 196
parent_of:
	.zero	196
	.globl	on_optimal_path
	.align 32
	.type	on_optimal_path, @object
	.size	on_optimal_path, 196
on_optimal_path:
	.zero	196
	.text
	.globl	init
	.type	init, @function
init:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -16[rbp], 0
	jmp	.L2
.L9:
	mov	DWORD PTR -12[rbp], 0
	jmp	.L3
.L8:
	mov	DWORD PTR -8[rbp], 0
	jmp	.L4
.L7:
	mov	DWORD PTR -4[rbp], 0
	jmp	.L5
.L6:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdi, eax
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -8[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -16[rbp]
	movsx	rsi, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 4
	add	rax, rdx
	imul	rdx, rsi, 343
	add	rdx, rax
	mov	rax, rcx
	sal	rax, 3
	sub	rax, rcx
	add	rax, rdx
	add	rax, rdi
	lea	rdx, 0[0+rax*4]
	lea	rax, path[rip]
	mov	DWORD PTR [rdx+rax], 0
	add	DWORD PTR -4[rbp], 1
.L5:
	cmp	DWORD PTR -4[rbp], 6
	jle	.L6
	add	DWORD PTR -8[rbp], 1
.L4:
	cmp	DWORD PTR -8[rbp], 6
	jle	.L7
	add	DWORD PTR -12[rbp], 1
.L3:
	cmp	DWORD PTR -12[rbp], 6
	jle	.L8
	add	DWORD PTR -16[rbp], 1
.L2:
	cmp	DWORD PTR -16[rbp], 6
	jle	.L9
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	init, .-init
	.globl	moveto
	.type	moveto, @function
moveto:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -4[rbp], edi
	mov	DWORD PTR -8[rbp], esi
	mov	DWORD PTR -12[rbp], edx
	mov	DWORD PTR -16[rbp], ecx
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	moveto, .-moveto
	.globl	no_out_path_from
	.type	no_out_path_from, @function
no_out_path_from:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	mov	DWORD PTR -16[rbp], 0
	mov	DWORD PTR -12[rbp], 0
	mov	eax, DWORD PTR -20[rbp]
	add	eax, 1
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -24[rbp]
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -8[rbp], 6
	jg	.L12
	mov	eax, DWORD PTR -24[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, parent_of[rip]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	edx, DWORD PTR -8[rbp]
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	add	eax, eax
	mov	edx, eax
	mov	eax, DWORD PTR -4[rbp]
	add	eax, edx
	cmp	ecx, eax
	je	.L12
	cmp	DWORD PTR -12[rbp], 0
	jne	.L12
	add	DWORD PTR -16[rbp], 1
.L12:
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, 1
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -24[rbp]
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -8[rbp], 0
	jle	.L13
	mov	eax, DWORD PTR -24[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, parent_of[rip]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	edx, DWORD PTR -8[rbp]
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	add	eax, eax
	mov	edx, eax
	mov	eax, DWORD PTR -4[rbp]
	add	eax, edx
	cmp	ecx, eax
	je	.L13
	cmp	DWORD PTR -12[rbp], 0
	jne	.L13
	add	DWORD PTR -16[rbp], 1
.L13:
	mov	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -24[rbp]
	add	eax, 1
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 6
	jg	.L14
	mov	eax, DWORD PTR -24[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, parent_of[rip]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	edx, DWORD PTR -8[rbp]
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	add	eax, eax
	mov	edx, eax
	mov	eax, DWORD PTR -4[rbp]
	add	eax, edx
	cmp	ecx, eax
	je	.L14
	cmp	DWORD PTR -12[rbp], 0
	jne	.L14
	add	DWORD PTR -16[rbp], 1
.L14:
	mov	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -24[rbp]
	sub	eax, 1
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	jle	.L15
	mov	eax, DWORD PTR -24[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, parent_of[rip]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	edx, DWORD PTR -8[rbp]
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	add	eax, eax
	mov	edx, eax
	mov	eax, DWORD PTR -4[rbp]
	add	eax, edx
	cmp	ecx, eax
	je	.L15
	cmp	DWORD PTR -12[rbp], 0
	jne	.L15
	add	DWORD PTR -16[rbp], 1
.L15:
	cmp	DWORD PTR -16[rbp], 0
	jle	.L16
	mov	eax, 1
	jmp	.L17
.L16:
	mov	eax, 0
.L17:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	no_out_path_from, .-no_out_path_from
	.globl	no_child_with_outpath
	.type	no_child_with_outpath, @function
no_child_with_outpath:
.LFB3:
	.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	DWORD PTR -12[rbp], 0
	mov	eax, DWORD PTR -20[rbp]
	add	eax, 1
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -24[rbp]
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -8[rbp], 6
	jg	.L19
	mov	eax, DWORD PTR -24[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, parent_of[rip]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	edx, DWORD PTR -8[rbp]
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	add	eax, eax
	mov	edx, eax
	mov	eax, DWORD PTR -4[rbp]
	add	eax, edx
	cmp	ecx, eax
	je	.L19
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdi, eax
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -8[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -20[rbp]
	movsx	rsi, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 4
	add	rax, rdx
	imul	rdx, rsi, 343
	add	rdx, rax
	mov	rax, rcx
	sal	rax, 3
	sub	rax, rcx
	add	rax, rdx
	add	rax, rdi
	lea	rdx, 0[0+rax*4]
	lea	rax, path[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	eax, 2
	je	.L19
	add	DWORD PTR -12[rbp], 1
.L19:
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, 1
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -24[rbp]
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -8[rbp], 0
	jle	.L20
	mov	eax, DWORD PTR -24[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, parent_of[rip]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	edx, DWORD PTR -8[rbp]
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	add	eax, eax
	mov	edx, eax
	mov	eax, DWORD PTR -4[rbp]
	add	eax, edx
	cmp	ecx, eax
	je	.L20
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdi, eax
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -8[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -20[rbp]
	movsx	rsi, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 4
	add	rax, rdx
	imul	rdx, rsi, 343
	add	rdx, rax
	mov	rax, rcx
	sal	rax, 3
	sub	rax, rcx
	add	rax, rdx
	add	rax, rdi
	lea	rdx, 0[0+rax*4]
	lea	rax, path[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	eax, 2
	je	.L20
	add	DWORD PTR -12[rbp], 1
.L20:
	mov	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -24[rbp]
	add	eax, 1
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 6
	jg	.L21
	mov	eax, DWORD PTR -24[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, parent_of[rip]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	edx, DWORD PTR -8[rbp]
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	add	eax, eax
	mov	edx, eax
	mov	eax, DWORD PTR -4[rbp]
	add	eax, edx
	cmp	ecx, eax
	je	.L21
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdi, eax
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -8[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -20[rbp]
	movsx	rsi, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 4
	add	rax, rdx
	imul	rdx, rsi, 343
	add	rdx, rax
	mov	rax, rcx
	sal	rax, 3
	sub	rax, rcx
	add	rax, rdx
	add	rax, rdi
	lea	rdx, 0[0+rax*4]
	lea	rax, path[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	eax, 2
	je	.L21
	add	DWORD PTR -12[rbp], 1
.L21:
	mov	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -24[rbp]
	sub	eax, 1
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	jle	.L22
	mov	eax, DWORD PTR -24[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, parent_of[rip]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	edx, DWORD PTR -8[rbp]
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	add	eax, eax
	mov	edx, eax
	mov	eax, DWORD PTR -4[rbp]
	add	eax, edx
	cmp	ecx, eax
	je	.L22
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdi, eax
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -8[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -20[rbp]
	movsx	rsi, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 4
	add	rax, rdx
	imul	rdx, rsi, 343
	add	rdx, rax
	mov	rax, rcx
	sal	rax, 3
	sub	rax, rcx
	add	rax, rdx
	add	rax, rdi
	lea	rdx, 0[0+rax*4]
	lea	rax, path[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	eax, 2
	je	.L22
	add	DWORD PTR -12[rbp], 1
.L22:
	cmp	DWORD PTR -12[rbp], 0
	jle	.L23
	mov	eax, 1
	jmp	.L24
.L23:
	mov	eax, 0
.L24:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	no_child_with_outpath, .-no_child_with_outpath
	.globl	goto_parent_of
	.type	goto_parent_of, @function
goto_parent_of:
.LFB4:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 40
	mov	DWORD PTR -36[rbp], edi
	mov	DWORD PTR -40[rbp], esi
	mov	eax, DWORD PTR -36[rbp]
	mov	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR -40[rbp]
	mov	DWORD PTR -16[rbp], eax
	mov	eax, DWORD PTR -16[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, parent_of[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	imul	rdx, rdx, 1717986919
	shr	rdx, 32
	sar	edx, 2
	sar	eax, 31
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	mov	DWORD PTR -8[rbp], eax
	mov	edx, DWORD PTR -12[rbp]
	movsx	rax, edx
	imul	rax, rax, 1717986919
	shr	rax, 32
	sar	eax, 2
	mov	esi, edx
	sar	esi, 31
	sub	eax, esi
	mov	ecx, eax
	mov	eax, ecx
	sal	eax, 2
	add	eax, ecx
	add	eax, eax
	sub	edx, eax
	mov	DWORD PTR -4[rbp], edx
	mov	eax, DWORD PTR -16[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, on_optimal_path[rip]
	mov	DWORD PTR [rdx+rax], 0
	mov	ecx, DWORD PTR -4[rbp]
	mov	edx, DWORD PTR -8[rbp]
	mov	esi, DWORD PTR -16[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	edi, eax
	call	moveto
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	goto_parent_of, .-goto_parent_of
	.globl	goto_child_of
	.type	goto_child_of, @function
goto_child_of:
.LFB5:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	DWORD PTR -52[rbp], edi
	mov	DWORD PTR -56[rbp], esi
	mov	eax, DWORD PTR -52[rbp]
	mov	DWORD PTR -24[rbp], eax
	mov	eax, DWORD PTR -56[rbp]
	mov	DWORD PTR -20[rbp], eax
	mov	DWORD PTR -44[rbp], 0
	mov	DWORD PTR -40[rbp], 0
	mov	DWORD PTR -36[rbp], 0
	mov	DWORD PTR -32[rbp], 0
	mov	DWORD PTR -28[rbp], 0
	mov	eax, DWORD PTR -52[rbp]
	add	eax, 1
	mov	DWORD PTR -16[rbp], eax
	mov	eax, DWORD PTR -56[rbp]
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -16[rbp], 6
	jg	.L27
	mov	eax, DWORD PTR -56[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -52[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, parent_of[rip]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	edx, DWORD PTR -16[rbp]
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	add	eax, eax
	mov	edx, eax
	mov	eax, DWORD PTR -12[rbp]
	add	eax, edx
	cmp	ecx, eax
	je	.L27
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdi, eax
	mov	eax, DWORD PTR -56[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -16[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -52[rbp]
	movsx	rsi, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 4
	add	rax, rdx
	imul	rdx, rsi, 343
	add	rdx, rax
	mov	rax, rcx
	sal	rax, 3
	sub	rax, rcx
	add	rax, rdx
	add	rax, rdi
	lea	rdx, 0[0+rax*4]
	lea	rax, path[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	eax, 2
	je	.L27
	add	DWORD PTR -44[rbp], 1
	add	DWORD PTR -40[rbp], 1
.L27:
	mov	eax, DWORD PTR -52[rbp]
	sub	eax, 1
	mov	DWORD PTR -16[rbp], eax
	mov	eax, DWORD PTR -56[rbp]
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -16[rbp], 0
	jle	.L28
	mov	eax, DWORD PTR -56[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -52[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, parent_of[rip]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	edx, DWORD PTR -16[rbp]
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	add	eax, eax
	mov	edx, eax
	mov	eax, DWORD PTR -12[rbp]
	add	eax, edx
	cmp	ecx, eax
	je	.L28
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdi, eax
	mov	eax, DWORD PTR -56[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -16[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -52[rbp]
	movsx	rsi, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 4
	add	rax, rdx
	imul	rdx, rsi, 343
	add	rdx, rax
	mov	rax, rcx
	sal	rax, 3
	sub	rax, rcx
	add	rax, rdx
	add	rax, rdi
	lea	rdx, 0[0+rax*4]
	lea	rax, path[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	eax, 2
	je	.L28
	add	DWORD PTR -44[rbp], 1
	add	DWORD PTR -36[rbp], 1
.L28:
	mov	eax, DWORD PTR -52[rbp]
	mov	DWORD PTR -16[rbp], eax
	mov	eax, DWORD PTR -56[rbp]
	add	eax, 1
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -12[rbp], 6
	jg	.L29
	mov	eax, DWORD PTR -56[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -52[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, parent_of[rip]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	edx, DWORD PTR -16[rbp]
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	add	eax, eax
	mov	edx, eax
	mov	eax, DWORD PTR -12[rbp]
	add	eax, edx
	cmp	ecx, eax
	je	.L29
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdi, eax
	mov	eax, DWORD PTR -56[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -16[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -52[rbp]
	movsx	rsi, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 4
	add	rax, rdx
	imul	rdx, rsi, 343
	add	rdx, rax
	mov	rax, rcx
	sal	rax, 3
	sub	rax, rcx
	add	rax, rdx
	add	rax, rdi
	lea	rdx, 0[0+rax*4]
	lea	rax, path[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	eax, 2
	je	.L29
	add	DWORD PTR -44[rbp], 1
	add	DWORD PTR -32[rbp], 1
.L29:
	mov	eax, DWORD PTR -52[rbp]
	mov	DWORD PTR -16[rbp], eax
	mov	eax, DWORD PTR -56[rbp]
	sub	eax, 1
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -12[rbp], 0
	jle	.L30
	mov	eax, DWORD PTR -56[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -52[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, parent_of[rip]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	edx, DWORD PTR -16[rbp]
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	add	eax, eax
	mov	edx, eax
	mov	eax, DWORD PTR -12[rbp]
	add	eax, edx
	cmp	ecx, eax
	je	.L30
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdi, eax
	mov	eax, DWORD PTR -56[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -16[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -52[rbp]
	movsx	rsi, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 4
	add	rax, rdx
	imul	rdx, rsi, 343
	add	rdx, rax
	mov	rax, rcx
	sal	rax, 3
	sub	rax, rcx
	add	rax, rdx
	add	rax, rdi
	lea	rdx, 0[0+rax*4]
	lea	rax, path[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	eax, 2
	je	.L30
	add	DWORD PTR -44[rbp], 1
	add	DWORD PTR -28[rbp], 1
.L30:
	mov	eax, DWORD PTR -44[rbp]
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -44[rbp]
	mov	edi, eax
	mov	eax, 0
	call	rand@PLT
	mov	DWORD PTR -4[rbp], eax
	mov	DWORD PTR -4[rbp], 0
	cmp	DWORD PTR -4[rbp], 0
	je	.L31
	cmp	DWORD PTR -40[rbp], 0
	jle	.L32
	mov	eax, 0
	jmp	.L26
.L32:
	cmp	DWORD PTR -32[rbp], 0
	jle	.L34
	mov	eax, 1
	jmp	.L26
.L34:
	cmp	DWORD PTR -36[rbp], 0
	jle	.L35
	mov	eax, 2
	jmp	.L26
.L35:
	cmp	DWORD PTR -28[rbp], 0
	jle	.L31
	mov	eax, 3
	jmp	.L26
.L31:
	mov	DWORD PTR -4[rbp], 1
	cmp	DWORD PTR -32[rbp], 0
	jle	.L36
	mov	eax, 1
	jmp	.L26
.L36:
	cmp	DWORD PTR -36[rbp], 0
	jle	.L37
	mov	eax, 2
	jmp	.L26
.L37:
	cmp	DWORD PTR -28[rbp], 0
	jle	.L38
	mov	eax, 3
	jmp	.L26
.L38:
	cmp	DWORD PTR -40[rbp], 0
	jle	.L39
	mov	eax, 0
	jmp	.L26
.L39:
	mov	DWORD PTR -4[rbp], 2
	cmp	DWORD PTR -36[rbp], 0
	jle	.L40
	mov	eax, 2
	jmp	.L26
.L40:
	cmp	DWORD PTR -28[rbp], 0
	jle	.L41
	mov	eax, 3
	jmp	.L26
.L41:
	cmp	DWORD PTR -40[rbp], 0
	jle	.L42
	mov	eax, 0
	jmp	.L26
.L42:
	cmp	DWORD PTR -32[rbp], 0
	jle	.L43
	mov	eax, 1
	jmp	.L26
.L43:
.L26:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	goto_child_of, .-goto_child_of
	.globl	successor_value
	.type	successor_value, @function
successor_value:
.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	DWORD PTR -28[rbp], edx
	mov	eax, DWORD PTR -28[rbp]
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	jne	.L45
	mov	eax, DWORD PTR -20[rbp]
	lea	edx, 1[rax]
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	add	eax, eax
	mov	edx, eax
	mov	eax, DWORD PTR -24[rbp]
	add	eax, edx
	mov	DWORD PTR -8[rbp], eax
	jmp	.L46
.L45:
	cmp	DWORD PTR -4[rbp], 1
	jne	.L47
	mov	eax, DWORD PTR -20[rbp]
	lea	edx, -1[rax]
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	add	eax, eax
	mov	edx, eax
	mov	eax, DWORD PTR -24[rbp]
	add	eax, edx
	mov	DWORD PTR -8[rbp], eax
	jmp	.L46
.L47:
	cmp	DWORD PTR -4[rbp], 2
	jne	.L48
	mov	edx, DWORD PTR -20[rbp]
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	add	eax, eax
	mov	edx, eax
	mov	eax, DWORD PTR -24[rbp]
	add	eax, edx
	add	eax, 1
	mov	DWORD PTR -8[rbp], eax
	jmp	.L46
.L48:
	cmp	DWORD PTR -4[rbp], 3
	jne	.L46
	mov	edx, DWORD PTR -20[rbp]
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	add	eax, eax
	mov	edx, eax
	mov	eax, DWORD PTR -24[rbp]
	add	eax, edx
	add	eax, 1
	mov	DWORD PTR -8[rbp], eax
.L46:
	mov	eax, DWORD PTR -8[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	successor_value, .-successor_value
	.globl	correct_successor_value
	.type	correct_successor_value, @function
correct_successor_value:
.LFB7:
	.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]
	add	eax, 1
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -24[rbp]
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -8[rbp], 6
	jg	.L51
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdi, eax
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -8[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -20[rbp]
	movsx	rsi, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 4
	add	rax, rdx
	imul	rdx, rsi, 343
	add	rdx, rax
	mov	rax, rcx
	sal	rax, 3
	sub	rax, rcx
	add	rax, rdx
	add	rax, rdi
	lea	rdx, 0[0+rax*4]
	lea	rax, path[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	eax, 1
	jne	.L51
	mov	edx, DWORD PTR -8[rbp]
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	add	eax, eax
	mov	edx, eax
	mov	eax, DWORD PTR -4[rbp]
	add	eax, edx
	jmp	.L50
.L51:
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, 1
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -24[rbp]
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -8[rbp], 6
	jg	.L53
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdi, eax
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -8[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -20[rbp]
	movsx	rsi, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 4
	add	rax, rdx
	imul	rdx, rsi, 343
	add	rdx, rax
	mov	rax, rcx
	sal	rax, 3
	sub	rax, rcx
	add	rax, rdx
	add	rax, rdi
	lea	rdx, 0[0+rax*4]
	lea	rax, path[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	eax, 1
	jne	.L53
	mov	edx, DWORD PTR -8[rbp]
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	add	eax, eax
	mov	edx, eax
	mov	eax, DWORD PTR -4[rbp]
	add	eax, edx
	jmp	.L50
.L53:
	mov	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -24[rbp]
	add	eax, 1
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -8[rbp], 6
	jg	.L54
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdi, eax
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -8[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -20[rbp]
	movsx	rsi, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 4
	add	rax, rdx
	imul	rdx, rsi, 343
	add	rdx, rax
	mov	rax, rcx
	sal	rax, 3
	sub	rax, rcx
	add	rax, rdx
	add	rax, rdi
	lea	rdx, 0[0+rax*4]
	lea	rax, path[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	eax, 1
	jne	.L54
	mov	edx, DWORD PTR -8[rbp]
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	add	eax, eax
	mov	edx, eax
	mov	eax, DWORD PTR -4[rbp]
	add	eax, edx
	jmp	.L50
.L54:
	mov	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -24[rbp]
	sub	eax, 1
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -8[rbp], 6
	jg	.L55
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdi, eax
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -8[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -20[rbp]
	movsx	rsi, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 4
	add	rax, rdx
	imul	rdx, rsi, 343
	add	rdx, rax
	mov	rax, rcx
	sal	rax, 3
	sub	rax, rcx
	add	rax, rdx
	add	rax, rdi
	lea	rdx, 0[0+rax*4]
	lea	rax, path[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	eax, 1
	jne	.L55
	mov	edx, DWORD PTR -8[rbp]
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	add	eax, eax
	mov	edx, eax
	mov	eax, DWORD PTR -4[rbp]
	add	eax, edx
	jmp	.L50
.L55:
.L50:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	correct_successor_value, .-correct_successor_value
	.globl	goto_successor_of
	.type	goto_successor_of, @function
goto_successor_of:
.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, 24
	mov	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	mov	eax, DWORD PTR -20[rbp]
	add	eax, 1
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -24[rbp]
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -8[rbp], 6
	jg	.L57
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdi, eax
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -8[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -20[rbp]
	movsx	rsi, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 4
	add	rax, rdx
	imul	rdx, rsi, 343
	add	rdx, rax
	mov	rax, rcx
	sal	rax, 3
	sub	rax, rcx
	add	rax, rdx
	add	rax, rdi
	lea	rdx, 0[0+rax*4]
	lea	rax, path[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	eax, 1
	jne	.L57
	mov	ecx, DWORD PTR -4[rbp]
	mov	edx, DWORD PTR -8[rbp]
	mov	esi, DWORD PTR -24[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	edi, eax
	call	moveto
.L57:
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, 1
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -24[rbp]
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -8[rbp], 6
	jg	.L58
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdi, eax
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -8[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -20[rbp]
	movsx	rsi, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 4
	add	rax, rdx
	imul	rdx, rsi, 343
	add	rdx, rax
	mov	rax, rcx
	sal	rax, 3
	sub	rax, rcx
	add	rax, rdx
	add	rax, rdi
	lea	rdx, 0[0+rax*4]
	lea	rax, path[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	eax, 1
	jne	.L58
	mov	ecx, DWORD PTR -4[rbp]
	mov	edx, DWORD PTR -8[rbp]
	mov	esi, DWORD PTR -24[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	edi, eax
	call	moveto
.L58:
	mov	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -24[rbp]
	add	eax, 1
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -8[rbp], 6
	jg	.L59
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdi, eax
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -8[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -20[rbp]
	movsx	rsi, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 4
	add	rax, rdx
	imul	rdx, rsi, 343
	add	rdx, rax
	mov	rax, rcx
	sal	rax, 3
	sub	rax, rcx
	add	rax, rdx
	add	rax, rdi
	lea	rdx, 0[0+rax*4]
	lea	rax, path[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	eax, 1
	jne	.L59
	mov	ecx, DWORD PTR -4[rbp]
	mov	edx, DWORD PTR -8[rbp]
	mov	esi, DWORD PTR -24[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	edi, eax
	call	moveto
.L59:
	mov	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -24[rbp]
	sub	eax, 1
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -8[rbp], 6
	jg	.L61
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdi, eax
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -8[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -20[rbp]
	movsx	rsi, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 4
	add	rax, rdx
	imul	rdx, rsi, 343
	add	rdx, rax
	mov	rax, rcx
	sal	rax, 3
	sub	rax, rcx
	add	rax, rdx
	add	rax, rdi
	lea	rdx, 0[0+rax*4]
	lea	rax, path[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	eax, 1
	jne	.L61
	mov	ecx, DWORD PTR -4[rbp]
	mov	edx, DWORD PTR -8[rbp]
	mov	esi, DWORD PTR -24[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	edi, eax
	call	moveto
.L61:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	goto_successor_of, .-goto_successor_of
	.globl	tremaux_exploring
	.type	tremaux_exploring, @function
tremaux_exploring:
.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, 48
	mov	DWORD PTR -36[rbp], edi
	mov	DWORD PTR -40[rbp], esi
	mov	eax, DWORD PTR -36[rbp]
	mov	DWORD PTR -28[rbp], eax
	mov	eax, DWORD PTR -40[rbp]
	mov	DWORD PTR -24[rbp], eax
	mov	DWORD PTR is_at_end[rip], 0
	mov	eax, 0
	call	init
	mov	eax, DWORD PTR is_at_end[rip]
	test	eax, eax
	jne	.L66
	mov	edx, DWORD PTR -24[rbp]
	mov	eax, DWORD PTR -28[rbp]
	mov	esi, edx
	mov	edi, eax
	call	no_out_path_from
	test	eax, eax
	jne	.L64
	mov	edx, DWORD PTR -24[rbp]
	mov	eax, DWORD PTR -28[rbp]
	mov	esi, edx
	mov	edi, eax
	call	no_child_with_outpath
	test	eax, eax
	je	.L65
.L64:
	mov	edx, DWORD PTR -24[rbp]
	mov	eax, DWORD PTR -28[rbp]
	mov	esi, edx
	mov	edi, eax
	call	goto_parent_of
	mov	eax, DWORD PTR -24[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, parent_of[rip]
	mov	eax, DWORD PTR [rdx+rax]
	movsx	rdx, eax
	imul	rdx, rdx, 1717986919
	shr	rdx, 32
	sar	edx, 2
	sar	eax, 31
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -24[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, parent_of[rip]
	mov	edx, DWORD PTR [rdx+rax]
	movsx	rax, edx
	imul	rax, rax, 1717986919
	shr	rax, 32
	sar	eax, 2
	mov	ecx, edx
	sar	ecx, 31
	sub	eax, ecx
	mov	DWORD PTR -4[rbp], eax
	mov	ecx, DWORD PTR -4[rbp]
	mov	eax, ecx
	sal	eax, 2
	add	eax, ecx
	add	eax, eax
	sub	edx, eax
	mov	DWORD PTR -4[rbp], edx
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdi, eax
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -28[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -8[rbp]
	movsx	rsi, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 4
	add	rax, rdx
	imul	rdx, rsi, 343
	add	rdx, rax
	mov	rax, rcx
	sal	rax, 3
	sub	rax, rcx
	add	rax, rdx
	add	rax, rdi
	lea	rdx, 0[0+rax*4]
	lea	rax, path[rip]
	mov	eax, DWORD PTR [rdx+rax]
	lea	esi, 1[rax]
	mov	eax, DWORD PTR -24[rbp]
	movsx	r8, eax
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -28[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdi, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 4
	add	rax, rdx
	imul	rdx, rdi, 343
	add	rdx, rax
	mov	rax, rcx
	sal	rax, 3
	sub	rax, rcx
	add	rax, rdx
	add	rax, r8
	lea	rdx, 0[0+rax*4]
	lea	rax, path[rip]
	mov	DWORD PTR [rdx+rax], esi
	mov	edx, DWORD PTR -4[rbp]
	mov	eax, DWORD PTR -8[rbp]
	mov	esi, edx
	mov	edi, eax
	call	tremaux_exploring
	jmp	.L66
.L65:
	mov	edx, DWORD PTR -24[rbp]
	mov	eax, DWORD PTR -28[rbp]
	mov	esi, edx
	mov	edi, eax
	call	goto_child_of
	mov	DWORD PTR -20[rbp], eax
	mov	edx, DWORD PTR -20[rbp]
	mov	ecx, DWORD PTR -24[rbp]
	mov	eax, DWORD PTR -28[rbp]
	mov	esi, ecx
	mov	edi, eax
	call	successor_value
	movsx	rdx, eax
	imul	rdx, rdx, 1717986919
	shr	rdx, 32
	sar	edx, 2
	sar	eax, 31
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	mov	DWORD PTR -16[rbp], eax
	mov	edx, DWORD PTR -20[rbp]
	mov	ecx, DWORD PTR -24[rbp]
	mov	eax, DWORD PTR -28[rbp]
	mov	esi, ecx
	mov	edi, eax
	call	successor_value
	mov	edx, eax
	movsx	rax, edx
	imul	rax, rax, 1717986919
	shr	rax, 32
	sar	eax, 2
	mov	ecx, edx
	sar	ecx, 31
	sub	eax, ecx
	mov	DWORD PTR -12[rbp], eax
	mov	ecx, DWORD PTR -12[rbp]
	mov	eax, ecx
	sal	eax, 2
	add	eax, ecx
	add	eax, eax
	sub	edx, eax
	mov	DWORD PTR -12[rbp], edx
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdi, eax
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -16[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -28[rbp]
	movsx	rsi, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 4
	add	rax, rdx
	imul	rdx, rsi, 343
	add	rdx, rax
	mov	rax, rcx
	sal	rax, 3
	sub	rax, rcx
	add	rax, rdx
	add	rax, rdi
	lea	rdx, 0[0+rax*4]
	lea	rax, path[rip]
	mov	eax, DWORD PTR [rdx+rax]
	lea	esi, 1[rax]
	mov	eax, DWORD PTR -12[rbp]
	movsx	r8, eax
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -16[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdi, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 4
	add	rax, rdx
	imul	rdx, rdi, 343
	add	rdx, rax
	mov	rax, rcx
	sal	rax, 3
	sub	rax, rcx
	add	rax, rdx
	add	rax, r8
	lea	rdx, 0[0+rax*4]
	lea	rax, path[rip]
	mov	DWORD PTR [rdx+rax], esi
	mov	edx, DWORD PTR -12[rbp]
	mov	eax, DWORD PTR -16[rbp]
	mov	esi, edx
	mov	edi, eax
	call	tremaux_exploring
.L66:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	tremaux_exploring, .-tremaux_exploring
	.globl	tremaux_solving
	.type	tremaux_solving, @function
tremaux_solving:
.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, 32
	mov	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	mov	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR -16[rbp], eax
	mov	eax, DWORD PTR -24[rbp]
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -20[rbp], 0
	jne	.L68
	cmp	DWORD PTR -24[rbp], 0
	je	.L70
.L68:
	mov	edx, DWORD PTR -24[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, edx
	mov	edi, eax
	call	goto_successor_of
	mov	edx, DWORD PTR -12[rbp]
	mov	eax, DWORD PTR -16[rbp]
	mov	esi, edx
	mov	edi, eax
	call	correct_successor_value
	movsx	rdx, eax
	imul	rdx, rdx, 1717986919
	shr	rdx, 32
	sar	edx, 2
	sar	eax, 31
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	mov	DWORD PTR -8[rbp], eax
	mov	edx, DWORD PTR -12[rbp]
	mov	eax, DWORD PTR -16[rbp]
	mov	esi, edx
	mov	edi, eax
	call	correct_successor_value
	mov	edx, eax
	movsx	rax, edx
	imul	rax, rax, 1717986919
	shr	rax, 32
	sar	eax, 2
	mov	ecx, edx
	sar	ecx, 31
	sub	eax, ecx
	mov	DWORD PTR -4[rbp], eax
	mov	ecx, DWORD PTR -4[rbp]
	mov	eax, ecx
	sal	eax, 2
	add	eax, ecx
	add	eax, eax
	sub	edx, eax
	mov	DWORD PTR -4[rbp], edx
	mov	edx, DWORD PTR -4[rbp]
	mov	eax, DWORD PTR -8[rbp]
	mov	esi, edx
	mov	edi, eax
	call	tremaux_solving
.L70:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	tremaux_solving, .-tremaux_solving
	.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
	sub	rsp, 16
	mov	DWORD PTR -8[rbp], 0
	mov	DWORD PTR -4[rbp], 0
	mov	edx, DWORD PTR -4[rbp]
	mov	eax, DWORD PTR -8[rbp]
	mov	esi, edx
	mov	edi, eax
	call	tremaux_exploring
	mov	esi, 6
	mov	edi, 6
	call	tremaux_solving
	mov	eax, 0
	leave
	.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	"931515.c"
	.text
	.comm	is_at_end,4,4
	.comm	path,9604,4
	.comm	parent_of,196,4
	.comm	on_optimal_path,196,4
	.align	2
	.global	init
	.syntax unified
	.arm
	.fpu softvfp
	.type	init, %function
init:
	@ 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
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L2
.L9:
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L3
.L8:
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L4
.L7:
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L5
.L6:
	ldr	ip, .L10
	ldr	r3, [fp, #-12]
	ldr	r0, [fp, #-16]
	ldr	r1, [fp, #-20]
	mov	r2, r3
	lsl	r2, r2, #3
	sub	r2, r2, r3
	mov	r3, r1
	lsl	r3, r3, #3
	sub	r3, r3, r1
	lsl	r1, r3, #3
	sub	r1, r1, r3
	lsl	r3, r1, #3
	sub	r3, r3, r1
	add	r1, r2, r3
	mov	r3, r0
	lsl	r3, r3, #3
	sub	r3, r3, r0
	lsl	r2, r3, #3
	sub	r2, r2, r3
	add	r2, r1, r2
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [ip, r3, lsl #2]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L5:
	ldr	r3, [fp, #-8]
	cmp	r3, #6
	ble	.L6
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L4:
	ldr	r3, [fp, #-12]
	cmp	r3, #6
	ble	.L7
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L3:
	ldr	r3, [fp, #-16]
	cmp	r3, #6
	ble	.L8
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L2:
	ldr	r3, [fp, #-20]
	cmp	r3, #6
	ble	.L9
	nop
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L11:
	.align	2
.L10:
	.word	path
	.size	init, .-init
	.align	2
	.global	moveto
	.syntax unified
	.arm
	.fpu softvfp
	.type	moveto, %function
moveto:
	@ 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, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	str	r3, [fp, #-20]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	moveto, .-moveto
	.align	2
	.global	no_out_path_from
	.syntax unified
	.arm
	.fpu softvfp
	.type	no_out_path_from, %function
no_out_path_from:
	@ 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]
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-28]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	cmp	r3, #6
	bgt	.L14
	ldr	r1, .L20
	ldr	r2, [fp, #-24]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	ldr	r2, [fp, #-28]
	add	r3, r3, r2
	ldr	r1, [r1, r3, lsl #2]
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	cmp	r1, r3
	beq	.L14
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L14
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L14:
	ldr	r3, [fp, #-24]
	sub	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-28]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	ble	.L15
	ldr	r1, .L20
	ldr	r2, [fp, #-24]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	ldr	r2, [fp, #-28]
	add	r3, r3, r2
	ldr	r1, [r1, r3, lsl #2]
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	cmp	r1, r3
	beq	.L15
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L15
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L15:
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #6
	bgt	.L16
	ldr	r1, .L20
	ldr	r2, [fp, #-24]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	ldr	r2, [fp, #-28]
	add	r3, r3, r2
	ldr	r1, [r1, r3, lsl #2]
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	cmp	r1, r3
	beq	.L16
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L16
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L16:
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-28]
	sub	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	ble	.L17
	ldr	r1, .L20
	ldr	r2, [fp, #-24]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	ldr	r2, [fp, #-28]
	add	r3, r3, r2
	ldr	r1, [r1, r3, lsl #2]
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	cmp	r1, r3
	beq	.L17
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L17
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L17:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	ble	.L18
	mov	r3, #1
	b	.L19
.L18:
	mov	r3, #0
.L19:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L21:
	.align	2
.L20:
	.word	parent_of
	.size	no_out_path_from, .-no_out_path_from
	.align	2
	.global	no_child_with_outpath
	.syntax unified
	.arm
	.fpu softvfp
	.type	no_child_with_outpath, %function
no_child_with_outpath:
	@ 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]
	mov	r3, #0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-28]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	cmp	r3, #6
	bgt	.L23
	ldr	r1, .L29
	ldr	r2, [fp, #-24]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	ldr	r2, [fp, #-28]
	add	r3, r3, r2
	ldr	r1, [r1, r3, lsl #2]
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	cmp	r1, r3
	beq	.L23
	ldr	ip, .L29+4
	ldr	r3, [fp, #-12]
	ldr	r0, [fp, #-28]
	ldr	r1, [fp, #-24]
	mov	r2, r3
	lsl	r2, r2, #3
	sub	r2, r2, r3
	mov	r3, r1
	lsl	r3, r3, #3
	sub	r3, r3, r1
	lsl	r1, r3, #3
	sub	r1, r1, r3
	lsl	r3, r1, #3
	sub	r3, r3, r1
	add	r1, r2, r3
	mov	r3, r0
	lsl	r3, r3, #3
	sub	r3, r3, r0
	lsl	r2, r3, #3
	sub	r2, r2, r3
	add	r2, r1, r2
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldr	r3, [ip, r3, lsl #2]
	cmp	r3, #2
	beq	.L23
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L23:
	ldr	r3, [fp, #-24]
	sub	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-28]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	ble	.L24
	ldr	r1, .L29
	ldr	r2, [fp, #-24]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	ldr	r2, [fp, #-28]
	add	r3, r3, r2
	ldr	r1, [r1, r3, lsl #2]
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	cmp	r1, r3
	beq	.L24
	ldr	ip, .L29+4
	ldr	r3, [fp, #-12]
	ldr	r0, [fp, #-28]
	ldr	r1, [fp, #-24]
	mov	r2, r3
	lsl	r2, r2, #3
	sub	r2, r2, r3
	mov	r3, r1
	lsl	r3, r3, #3
	sub	r3, r3, r1
	lsl	r1, r3, #3
	sub	r1, r1, r3
	lsl	r3, r1, #3
	sub	r3, r3, r1
	add	r1, r2, r3
	mov	r3, r0
	lsl	r3, r3, #3
	sub	r3, r3, r0
	lsl	r2, r3, #3
	sub	r2, r2, r3
	add	r2, r1, r2
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldr	r3, [ip, r3, lsl #2]
	cmp	r3, #2
	beq	.L24
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L24:
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #6
	bgt	.L25
	ldr	r1, .L29
	ldr	r2, [fp, #-24]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	ldr	r2, [fp, #-28]
	add	r3, r3, r2
	ldr	r1, [r1, r3, lsl #2]
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	cmp	r1, r3
	beq	.L25
	ldr	ip, .L29+4
	ldr	r3, [fp, #-12]
	ldr	r0, [fp, #-28]
	ldr	r1, [fp, #-24]
	mov	r2, r3
	lsl	r2, r2, #3
	sub	r2, r2, r3
	mov	r3, r1
	lsl	r3, r3, #3
	sub	r3, r3, r1
	lsl	r1, r3, #3
	sub	r1, r1, r3
	lsl	r3, r1, #3
	sub	r3, r3, r1
	add	r1, r2, r3
	mov	r3, r0
	lsl	r3, r3, #3
	sub	r3, r3, r0
	lsl	r2, r3, #3
	sub	r2, r2, r3
	add	r2, r1, r2
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldr	r3, [ip, r3, lsl #2]
	cmp	r3, #2
	beq	.L25
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L25:
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-28]
	sub	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	ble	.L26
	ldr	r1, .L29
	ldr	r2, [fp, #-24]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	ldr	r2, [fp, #-28]
	add	r3, r3, r2
	ldr	r1, [r1, r3, lsl #2]
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	cmp	r1, r3
	beq	.L26
	ldr	ip, .L29+4
	ldr	r3, [fp, #-12]
	ldr	r0, [fp, #-28]
	ldr	r1, [fp, #-24]
	mov	r2, r3
	lsl	r2, r2, #3
	sub	r2, r2, r3
	mov	r3, r1
	lsl	r3, r3, #3
	sub	r3, r3, r1
	lsl	r1, r3, #3
	sub	r1, r1, r3
	lsl	r3, r1, #3
	sub	r3, r3, r1
	add	r1, r2, r3
	mov	r3, r0
	lsl	r3, r3, #3
	sub	r3, r3, r0
	lsl	r2, r3, #3
	sub	r2, r2, r3
	add	r2, r1, r2
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldr	r3, [ip, r3, lsl #2]
	cmp	r3, #2
	beq	.L26
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L26:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	ble	.L27
	mov	r3, #1
	b	.L28
.L27:
	mov	r3, #0
.L28:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L30:
	.align	2
.L29:
	.word	parent_of
	.word	path
	.size	no_child_with_outpath, .-no_child_with_outpath
	.align	2
	.global	goto_parent_of
	.syntax unified
	.arm
	.fpu softvfp
	.type	goto_parent_of, %function
goto_parent_of:
	@ 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, #-32]
	str	r1, [fp, #-36]
	ldr	r3, [fp, #-32]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-36]
	str	r3, [fp, #-20]
	ldr	r1, .L32
	ldr	r2, [fp, #-24]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	ldr	r2, [fp, #-20]
	add	r3, r3, r2
	ldr	r3, [r1, r3, lsl #2]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	ldr	r2, .L32+4
	smull	r1, r2, r3, r2
	asr	r2, r2, #2
	asr	r3, r3, #31
	sub	r3, r2, r3
	str	r3, [fp, #-12]
	ldr	r2, [fp, #-16]
	ldr	r3, .L32+4
	smull	r1, r3, r2, r3
	asr	r1, r3, #2
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #1
	sub	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r1, .L32+8
	ldr	r2, [fp, #-24]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	ldr	r2, [fp, #-20]
	add	r3, r3, r2
	mov	r2, #0
	str	r2, [r1, r3, lsl #2]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-12]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-24]
	bl	moveto
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L33:
	.align	2
.L32:
	.word	parent_of
	.word	1717986919
	.word	on_optimal_path
	.size	goto_parent_of, .-goto_parent_of
	.align	2
	.global	goto_child_of
	.syntax unified
	.arm
	.fpu softvfp
	.type	goto_child_of, %function
goto_child_of:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	str	r0, [fp, #-56]
	str	r1, [fp, #-60]
	ldr	r3, [fp, #-56]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-60]
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-48]
	mov	r3, #0
	str	r3, [fp, #-44]
	mov	r3, #0
	str	r3, [fp, #-40]
	mov	r3, #0
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-60]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-20]
	cmp	r3, #6
	bgt	.L35
	ldr	r1, .L52
	ldr	r2, [fp, #-56]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	ldr	r2, [fp, #-60]
	add	r3, r3, r2
	ldr	r1, [r1, r3, lsl #2]
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	cmp	r1, r3
	beq	.L35
	ldr	ip, .L52+4
	ldr	r3, [fp, #-20]
	ldr	r0, [fp, #-60]
	ldr	r1, [fp, #-56]
	mov	r2, r3
	lsl	r2, r2, #3
	sub	r2, r2, r3
	mov	r3, r1
	lsl	r3, r3, #3
	sub	r3, r3, r1
	lsl	r1, r3, #3
	sub	r1, r1, r3
	lsl	r3, r1, #3
	sub	r3, r3, r1
	add	r1, r2, r3
	mov	r3, r0
	lsl	r3, r3, #3
	sub	r3, r3, r0
	lsl	r2, r3, #3
	sub	r2, r2, r3
	add	r2, r1, r2
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [ip, r3, lsl #2]
	cmp	r3, #2
	beq	.L35
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L35:
	ldr	r3, [fp, #-56]
	sub	r3, r3, #1
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-60]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	ble	.L36
	ldr	r1, .L52
	ldr	r2, [fp, #-56]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	ldr	r2, [fp, #-60]
	add	r3, r3, r2
	ldr	r1, [r1, r3, lsl #2]
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	cmp	r1, r3
	beq	.L36
	ldr	ip, .L52+4
	ldr	r3, [fp, #-20]
	ldr	r0, [fp, #-60]
	ldr	r1, [fp, #-56]
	mov	r2, r3
	lsl	r2, r2, #3
	sub	r2, r2, r3
	mov	r3, r1
	lsl	r3, r3, #3
	sub	r3, r3, r1
	lsl	r1, r3, #3
	sub	r1, r1, r3
	lsl	r3, r1, #3
	sub	r3, r3, r1
	add	r1, r2, r3
	mov	r3, r0
	lsl	r3, r3, #3
	sub	r3, r3, r0
	lsl	r2, r3, #3
	sub	r2, r2, r3
	add	r2, r1, r2
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [ip, r3, lsl #2]
	cmp	r3, #2
	beq	.L36
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L36:
	ldr	r3, [fp, #-56]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #6
	bgt	.L37
	ldr	r1, .L52
	ldr	r2, [fp, #-56]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	ldr	r2, [fp, #-60]
	add	r3, r3, r2
	ldr	r1, [r1, r3, lsl #2]
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	cmp	r1, r3
	beq	.L37
	ldr	ip, .L52+4
	ldr	r3, [fp, #-20]
	ldr	r0, [fp, #-60]
	ldr	r1, [fp, #-56]
	mov	r2, r3
	lsl	r2, r2, #3
	sub	r2, r2, r3
	mov	r3, r1
	lsl	r3, r3, #3
	sub	r3, r3, r1
	lsl	r1, r3, #3
	sub	r1, r1, r3
	lsl	r3, r1, #3
	sub	r3, r3, r1
	add	r1, r2, r3
	mov	r3, r0
	lsl	r3, r3, #3
	sub	r3, r3, r0
	lsl	r2, r3, #3
	sub	r2, r2, r3
	add	r2, r1, r2
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [ip, r3, lsl #2]
	cmp	r3, #2
	beq	.L37
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L37:
	ldr	r3, [fp, #-56]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-60]
	sub	r3, r3, #1
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	ble	.L38
	ldr	r1, .L52
	ldr	r2, [fp, #-56]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	ldr	r2, [fp, #-60]
	add	r3, r3, r2
	ldr	r1, [r1, r3, lsl #2]
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	cmp	r1, r3
	beq	.L38
	ldr	ip, .L52+4
	ldr	r3, [fp, #-20]
	ldr	r0, [fp, #-60]
	ldr	r1, [fp, #-56]
	mov	r2, r3
	lsl	r2, r2, #3
	sub	r2, r2, r3
	mov	r3, r1
	lsl	r3, r3, #3
	sub	r3, r3, r1
	lsl	r1, r3, #3
	sub	r1, r1, r3
	lsl	r3, r1, #3
	sub	r3, r3, r1
	add	r1, r2, r3
	mov	r3, r0
	lsl	r3, r3, #3
	sub	r3, r3, r0
	lsl	r2, r3, #3
	sub	r2, r2, r3
	add	r2, r1, r2
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [ip, r3, lsl #2]
	cmp	r3, #2
	beq	.L38
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L38:
	ldr	r3, [fp, #-48]
	str	r3, [fp, #-12]
	ldr	r0, [fp, #-48]
	bl	rand
	str	r0, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L39
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	ble	.L40
	mov	r3, #0
	b	.L34
.L40:
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	ble	.L42
	mov	r3, #1
	b	.L34
.L42:
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	ble	.L43
	mov	r3, #2
	b	.L34
.L43:
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	ble	.L39
	mov	r3, #3
	b	.L34
.L39:
	mov	r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	ble	.L44
	mov	r3, #1
	b	.L34
.L44:
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	ble	.L45
	mov	r3, #2
	b	.L34
.L45:
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	ble	.L46
	mov	r3, #3
	b	.L34
.L46:
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	ble	.L47
	mov	r3, #0
	b	.L34
.L47:
	mov	r3, #2
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	ble	.L48
	mov	r3, #2
	b	.L34
.L48:
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	ble	.L49
	mov	r3, #3
	b	.L34
.L49:
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	ble	.L50
	mov	r3, #0
	b	.L34
.L50:
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	ble	.L51
	mov	r3, #1
	b	.L34
.L51:
.L34:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L53:
	.align	2
.L52:
	.word	parent_of
	.word	path
	.size	goto_child_of, .-goto_child_of
	.align	2
	.global	successor_value
	.syntax unified
	.arm
	.fpu softvfp
	.type	successor_value, %function
successor_value:
	@ 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, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L55
	ldr	r3, [fp, #-16]
	add	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-20]
	add	r3, r3, r2
	str	r3, [fp, #-12]
	b	.L56
.L55:
	ldr	r3, [fp, #-8]
	cmp	r3, #1
	bne	.L57
	ldr	r3, [fp, #-16]
	sub	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-20]
	add	r3, r3, r2
	str	r3, [fp, #-12]
	b	.L56
.L57:
	ldr	r3, [fp, #-8]
	cmp	r3, #2
	bne	.L58
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	add	r3, r3, #1
	str	r3, [fp, #-12]
	b	.L56
.L58:
	ldr	r3, [fp, #-8]
	cmp	r3, #3
	bne	.L56
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L56:
	ldr	r3, [fp, #-12]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	successor_value, .-successor_value
	.align	2
	.global	correct_successor_value
	.syntax unified
	.arm
	.fpu softvfp
	.type	correct_successor_value, %function
correct_successor_value:
	@ 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	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	cmp	r3, #6
	bgt	.L61
	ldr	ip, .L66
	ldr	r3, [fp, #-12]
	ldr	r0, [fp, #-20]
	ldr	r1, [fp, #-16]
	mov	r2, r3
	lsl	r2, r2, #3
	sub	r2, r2, r3
	mov	r3, r1
	lsl	r3, r3, #3
	sub	r3, r3, r1
	lsl	r1, r3, #3
	sub	r1, r1, r3
	lsl	r3, r1, #3
	sub	r3, r3, r1
	add	r1, r2, r3
	mov	r3, r0
	lsl	r3, r3, #3
	sub	r3, r3, r0
	lsl	r2, r3, #3
	sub	r2, r2, r3
	add	r2, r1, r2
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldr	r3, [ip, r3, lsl #2]
	cmp	r3, #1
	bne	.L61
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	b	.L60
.L61:
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	cmp	r3, #6
	bgt	.L63
	ldr	ip, .L66
	ldr	r3, [fp, #-12]
	ldr	r0, [fp, #-20]
	ldr	r1, [fp, #-16]
	mov	r2, r3
	lsl	r2, r2, #3
	sub	r2, r2, r3
	mov	r3, r1
	lsl	r3, r3, #3
	sub	r3, r3, r1
	lsl	r1, r3, #3
	sub	r1, r1, r3
	lsl	r3, r1, #3
	sub	r3, r3, r1
	add	r1, r2, r3
	mov	r3, r0
	lsl	r3, r3, #3
	sub	r3, r3, r0
	lsl	r2, r3, #3
	sub	r2, r2, r3
	add	r2, r1, r2
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldr	r3, [ip, r3, lsl #2]
	cmp	r3, #1
	bne	.L63
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	b	.L60
.L63:
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	cmp	r3, #6
	bgt	.L64
	ldr	ip, .L66
	ldr	r3, [fp, #-12]
	ldr	r0, [fp, #-20]
	ldr	r1, [fp, #-16]
	mov	r2, r3
	lsl	r2, r2, #3
	sub	r2, r2, r3
	mov	r3, r1
	lsl	r3, r3, #3
	sub	r3, r3, r1
	lsl	r1, r3, #3
	sub	r1, r1, r3
	lsl	r3, r1, #3
	sub	r3, r3, r1
	add	r1, r2, r3
	mov	r3, r0
	lsl	r3, r3, #3
	sub	r3, r3, r0
	lsl	r2, r3, #3
	sub	r2, r2, r3
	add	r2, r1, r2
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldr	r3, [ip, r3, lsl #2]
	cmp	r3, #1
	bne	.L64
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	b	.L60
.L64:
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-20]
	sub	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	cmp	r3, #6
	bgt	.L65
	ldr	ip, .L66
	ldr	r3, [fp, #-12]
	ldr	r0, [fp, #-20]
	ldr	r1, [fp, #-16]
	mov	r2, r3
	lsl	r2, r2, #3
	sub	r2, r2, r3
	mov	r3, r1
	lsl	r3, r3, #3
	sub	r3, r3, r1
	lsl	r1, r3, #3
	sub	r1, r1, r3
	lsl	r3, r1, #3
	sub	r3, r3, r1
	add	r1, r2, r3
	mov	r3, r0
	lsl	r3, r3, #3
	sub	r3, r3, r0
	lsl	r2, r3, #3
	sub	r2, r2, r3
	add	r2, r1, r2
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldr	r3, [ip, r3, lsl #2]
	cmp	r3, #1
	bne	.L65
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	b	.L60
.L65:
.L60:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L67:
	.align	2
.L66:
	.word	path
	.size	correct_successor_value, .-correct_successor_value
	.align	2
	.global	goto_successor_of
	.syntax unified
	.arm
	.fpu softvfp
	.type	goto_successor_of, %function
goto_successor_of:
	@ 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]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	cmp	r3, #6
	bgt	.L69
	ldr	ip, .L74
	ldr	r3, [fp, #-12]
	ldr	r0, [fp, #-20]
	ldr	r1, [fp, #-16]
	mov	r2, r3
	lsl	r2, r2, #3
	sub	r2, r2, r3
	mov	r3, r1
	lsl	r3, r3, #3
	sub	r3, r3, r1
	lsl	r1, r3, #3
	sub	r1, r1, r3
	lsl	r3, r1, #3
	sub	r3, r3, r1
	add	r1, r2, r3
	mov	r3, r0
	lsl	r3, r3, #3
	sub	r3, r3, r0
	lsl	r2, r3, #3
	sub	r2, r2, r3
	add	r2, r1, r2
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldr	r3, [ip, r3, lsl #2]
	cmp	r3, #1
	bne	.L69
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-12]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	moveto
.L69:
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	cmp	r3, #6
	bgt	.L70
	ldr	ip, .L74
	ldr	r3, [fp, #-12]
	ldr	r0, [fp, #-20]
	ldr	r1, [fp, #-16]
	mov	r2, r3
	lsl	r2, r2, #3
	sub	r2, r2, r3
	mov	r3, r1
	lsl	r3, r3, #3
	sub	r3, r3, r1
	lsl	r1, r3, #3
	sub	r1, r1, r3
	lsl	r3, r1, #3
	sub	r3, r3, r1
	add	r1, r2, r3
	mov	r3, r0
	lsl	r3, r3, #3
	sub	r3, r3, r0
	lsl	r2, r3, #3
	sub	r2, r2, r3
	add	r2, r1, r2
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldr	r3, [ip, r3, lsl #2]
	cmp	r3, #1
	bne	.L70
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-12]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	moveto
.L70:
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	cmp	r3, #6
	bgt	.L71
	ldr	ip, .L74
	ldr	r3, [fp, #-12]
	ldr	r0, [fp, #-20]
	ldr	r1, [fp, #-16]
	mov	r2, r3
	lsl	r2, r2, #3
	sub	r2, r2, r3
	mov	r3, r1
	lsl	r3, r3, #3
	sub	r3, r3, r1
	lsl	r1, r3, #3
	sub	r1, r1, r3
	lsl	r3, r1, #3
	sub	r3, r3, r1
	add	r1, r2, r3
	mov	r3, r0
	lsl	r3, r3, #3
	sub	r3, r3, r0
	lsl	r2, r3, #3
	sub	r2, r2, r3
	add	r2, r1, r2
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldr	r3, [ip, r3, lsl #2]
	cmp	r3, #1
	bne	.L71
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-12]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	moveto
.L71:
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-20]
	sub	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	cmp	r3, #6
	bgt	.L73
	ldr	ip, .L74
	ldr	r3, [fp, #-12]
	ldr	r0, [fp, #-20]
	ldr	r1, [fp, #-16]
	mov	r2, r3
	lsl	r2, r2, #3
	sub	r2, r2, r3
	mov	r3, r1
	lsl	r3, r3, #3
	sub	r3, r3, r1
	lsl	r1, r3, #3
	sub	r1, r1, r3
	lsl	r3, r1, #3
	sub	r3, r3, r1
	add	r1, r2, r3
	mov	r3, r0
	lsl	r3, r3, #3
	sub	r3, r3, r0
	lsl	r2, r3, #3
	sub	r2, r2, r3
	add	r2, r1, r2
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldr	r3, [ip, r3, lsl #2]
	cmp	r3, #1
	bne	.L73
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-12]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	moveto
.L73:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L75:
	.align	2
.L74:
	.word	path
	.size	goto_successor_of, .-goto_successor_of
	.align	2
	.global	tremaux_exploring
	.syntax unified
	.arm
	.fpu softvfp
	.type	tremaux_exploring, %function
tremaux_exploring:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	ldr	r3, [fp, #-40]
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-44]
	str	r3, [fp, #-28]
	ldr	r3, .L81
	mov	r2, #0
	str	r2, [r3]
	bl	init
	ldr	r3, .L81
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L80
	ldr	r1, [fp, #-28]
	ldr	r0, [fp, #-32]
	bl	no_out_path_from
	mov	r3, r0
	cmp	r3, #0
	bne	.L78
	ldr	r1, [fp, #-28]
	ldr	r0, [fp, #-32]
	bl	no_child_with_outpath
	mov	r3, r0
	cmp	r3, #0
	beq	.L79
.L78:
	ldr	r1, [fp, #-28]
	ldr	r0, [fp, #-32]
	bl	goto_parent_of
	ldr	r1, .L81+4
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	ldr	r2, [fp, #-28]
	add	r3, r3, r2
	ldr	r3, [r1, r3, lsl #2]
	ldr	r2, .L81+8
	smull	r1, r2, r3, r2
	asr	r2, r2, #2
	asr	r3, r3, #31
	sub	r3, r2, r3
	str	r3, [fp, #-12]
	ldr	r1, .L81+4
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	ldr	r2, [fp, #-28]
	add	r3, r3, r2
	ldr	r2, [r1, r3, lsl #2]
	ldr	r3, .L81+8
	smull	r1, r3, r2, r3
	asr	r1, r3, #2
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #1
	sub	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	ip, .L81+12
	ldr	r3, [fp, #-32]
	ldr	r0, [fp, #-8]
	ldr	r1, [fp, #-12]
	mov	r2, r3
	lsl	r2, r2, #3
	sub	r2, r2, r3
	mov	r3, r1
	lsl	r3, r3, #3
	sub	r3, r3, r1
	lsl	r1, r3, #3
	sub	r1, r1, r3
	lsl	r3, r1, #3
	sub	r3, r3, r1
	add	r1, r2, r3
	mov	r3, r0
	lsl	r3, r3, #3
	sub	r3, r3, r0
	lsl	r2, r3, #3
	sub	r2, r2, r3
	add	r2, r1, r2
	ldr	r3, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [ip, r3, lsl #2]
	add	ip, r3, #1
	ldr	lr, .L81+12
	ldr	r3, [fp, #-32]
	ldr	r0, [fp, #-8]
	ldr	r1, [fp, #-12]
	mov	r2, r3
	lsl	r2, r2, #3
	sub	r2, r2, r3
	mov	r3, r1
	lsl	r3, r3, #3
	sub	r3, r3, r1
	lsl	r1, r3, #3
	sub	r1, r1, r3
	lsl	r3, r1, #3
	sub	r3, r3, r1
	add	r1, r2, r3
	mov	r3, r0
	lsl	r3, r3, #3
	sub	r3, r3, r0
	lsl	r2, r3, #3
	sub	r2, r2, r3
	add	r2, r1, r2
	ldr	r3, [fp, #-28]
	add	r3, r2, r3
	str	ip, [lr, r3, lsl #2]
	ldr	r1, [fp, #-8]
	ldr	r0, [fp, #-12]
	bl	tremaux_exploring
	b	.L80
.L79:
	ldr	r1, [fp, #-28]
	ldr	r0, [fp, #-32]
	bl	goto_child_of
	str	r0, [fp, #-24]
	ldr	r2, [fp, #-24]
	ldr	r1, [fp, #-28]
	ldr	r0, [fp, #-32]
	bl	successor_value
	mov	r3, r0
	ldr	r2, .L81+8
	smull	r1, r2, r3, r2
	asr	r2, r2, #2
	asr	r3, r3, #31
	sub	r3, r2, r3
	str	r3, [fp, #-20]
	ldr	r2, [fp, #-24]
	ldr	r1, [fp, #-28]
	ldr	r0, [fp, #-32]
	bl	successor_value
	mov	r2, r0
	ldr	r3, .L81+8
	smull	r1, r3, r2, r3
	asr	r1, r3, #2
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #1
	sub	r3, r2, r3
	str	r3, [fp, #-16]
	ldr	ip, .L81+12
	ldr	r3, [fp, #-20]
	ldr	r0, [fp, #-28]
	ldr	r1, [fp, #-32]
	mov	r2, r3
	lsl	r2, r2, #3
	sub	r2, r2, r3
	mov	r3, r1
	lsl	r3, r3, #3
	sub	r3, r3, r1
	lsl	r1, r3, #3
	sub	r1, r1, r3
	lsl	r3, r1, #3
	sub	r3, r3, r1
	add	r1, r2, r3
	mov	r3, r0
	lsl	r3, r3, #3
	sub	r3, r3, r0
	lsl	r2, r3, #3
	sub	r2, r2, r3
	add	r2, r1, r2
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [ip, r3, lsl #2]
	add	ip, r3, #1
	ldr	lr, .L81+12
	ldr	r3, [fp, #-20]
	ldr	r0, [fp, #-28]
	ldr	r1, [fp, #-32]
	mov	r2, r3
	lsl	r2, r2, #3
	sub	r2, r2, r3
	mov	r3, r1
	lsl	r3, r3, #3
	sub	r3, r3, r1
	lsl	r1, r3, #3
	sub	r1, r1, r3
	lsl	r3, r1, #3
	sub	r3, r3, r1
	add	r1, r2, r3
	mov	r3, r0
	lsl	r3, r3, #3
	sub	r3, r3, r0
	lsl	r2, r3, #3
	sub	r2, r2, r3
	add	r2, r1, r2
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	str	ip, [lr, r3, lsl #2]
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-20]
	bl	tremaux_exploring
.L80:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L82:
	.align	2
.L81:
	.word	is_at_end
	.word	parent_of
	.word	1717986919
	.word	path
	.size	tremaux_exploring, .-tremaux_exploring
	.align	2
	.global	tremaux_solving
	.syntax unified
	.arm
	.fpu softvfp
	.type	tremaux_solving, %function
tremaux_solving:
	@ 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]
	str	r1, [fp, #-28]
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-28]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L84
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	beq	.L86
.L84:
	ldr	r1, [fp, #-28]
	ldr	r0, [fp, #-24]
	bl	goto_successor_of
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-20]
	bl	correct_successor_value
	mov	r3, r0
	ldr	r2, .L87
	smull	r1, r2, r3, r2
	asr	r2, r2, #2
	asr	r3, r3, #31
	sub	r3, r2, r3
	str	r3, [fp, #-12]
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-20]
	bl	correct_successor_value
	mov	r2, r0
	ldr	r3, .L87
	smull	r1, r3, r2, r3
	asr	r1, r3, #2
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #1
	sub	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r1, [fp, #-8]
	ldr	r0, [fp, #-12]
	bl	tremaux_solving
.L86:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L88:
	.align	2
.L87:
	.word	1717986919
	.size	tremaux_solving, .-tremaux_solving
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r1, [fp, #-8]
	ldr	r0, [fp, #-12]
	bl	tremaux_exploring
	mov	r1, #6
	mov	r0, #6
	bl	tremaux_solving
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
