	.file	"97954.c"
	.intel_syntax noprefix
	.text
	.globl	country_num
	.bss
	.align 4
	.type	country_num, @object
	.size	country_num, 4
country_num:
	.zero	4
	.globl	culture_num
	.align 4
	.type	culture_num, @object
	.size	culture_num, 4
culture_num:
	.zero	4
	.globl	road_num
	.align 4
	.type	road_num, @object
	.size	road_num, 4
road_num:
	.zero	4
	.globl	start_point
	.align 4
	.type	start_point, @object
	.size	start_point, 4
start_point:
	.zero	4
	.globl	end_point
	.align 4
	.type	end_point, @object
	.size	end_point, 4
end_point:
	.zero	4
	.globl	dist
	.align 32
	.type	dist, @object
	.size	dist, 47524
dist:
	.zero	47524
	.globl	opinion
	.align 32
	.type	opinion, @object
	.size	opinion, 47524
opinion:
	.zero	47524
	.globl	culture
	.align 32
	.type	culture, @object
	.size	culture, 436
culture:
	.zero	436
	.globl	road
	.align 32
	.type	road, @object
	.size	road, 47524
road:
	.zero	47524
	.globl	vis_country
	.align 32
	.type	vis_country, @object
	.size	vis_country, 436
vis_country:
	.zero	436
	.globl	vis_culture
	.align 32
	.type	vis_culture, @object
	.size	vis_culture, 436
vis_culture:
	.zero	436
	.globl	ans
	.data
	.align 4
	.type	ans, @object
	.size	ans, 4
ans:
	.long	2139062143
	.section	.rodata
.LC0:
	.string	"%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	call	read
	call	init
	mov	eax, DWORD PTR start_point[rip]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, vis_country[rip]
	mov	DWORD PTR [rdx+rax], 1
	mov	eax, DWORD PTR start_point[rip]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, culture[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, vis_culture[rip]
	mov	DWORD PTR [rdx+rax], 1
	mov	eax, DWORD PTR start_point[rip]
	mov	esi, 0
	mov	edi, eax
	call	dfs
	mov	eax, DWORD PTR ans[rip]
	cmp	eax, 2139062143
	jne	.L2
	mov	DWORD PTR ans[rip], -1
.L2:
	mov	eax, DWORD PTR ans[rip]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.globl	init
	.type	init, @function
init:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r13
	push	r12
	push	rbx
	sub	rsp, 8
	.cfi_offset 13, -24
	.cfi_offset 12, -32
	.cfi_offset 3, -40
	mov	edi, 6737151
	call	srand@PLT
	mov	ebx, 1
	jmp	.L5
.L9:
	mov	r12d, 1
	jmp	.L6
.L8:
	movsx	rax, ebx
	lea	rdx, 0[0+rax*4]
	lea	rax, culture[rip]
	mov	eax, DWORD PTR [rdx+rax]
	movsx	rdx, r12d
	lea	rcx, 0[0+rdx*4]
	lea	rdx, culture[rip]
	mov	edx, DWORD PTR [rcx+rdx]
	movsx	rcx, edx
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	lea	rsi, 0[0+rax*8]
	add	rax, rsi
	sal	rax, 2
	add	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, opinion[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	eax, 1
	jne	.L7
	movsx	rcx, ebx
	movsx	rdx, r12d
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	lea	rsi, 0[0+rax*8]
	add	rax, rsi
	sal	rax, 2
	add	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, road[rip]
	mov	DWORD PTR [rdx+rax], 0
.L7:
	add	r12d, 1
.L6:
	mov	eax, DWORD PTR country_num[rip]
	cmp	r12d, eax
	jle	.L8
	add	ebx, 1
.L5:
	mov	eax, DWORD PTR country_num[rip]
	cmp	ebx, eax
	jle	.L9
	mov	ebx, 1
	jmp	.L10
.L15:
	mov	r12d, 1
	jmp	.L11
.L14:
	movsx	rcx, r12d
	movsx	rdx, ebx
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	lea	rsi, 0[0+rax*8]
	add	rax, rsi
	sal	rax, 2
	add	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, road[rip]
	mov	eax, DWORD PTR [rdx+rax]
	test	eax, eax
	je	.L12
	movsx	rcx, r12d
	movsx	rdx, ebx
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	lea	rsi, 0[0+rax*8]
	add	rax, rsi
	sal	rax, 2
	add	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, road[rip]
	mov	ecx, DWORD PTR [rdx+rax]
	movsx	rsi, r12d
	movsx	rdx, ebx
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	lea	rdi, 0[0+rax*8]
	add	rax, rdi
	sal	rax, 2
	add	rax, rdx
	add	rax, rsi
	lea	rdx, 0[0+rax*4]
	lea	rax, dist[rip]
	mov	DWORD PTR [rdx+rax], ecx
	jmp	.L13
.L12:
	movsx	rcx, r12d
	movsx	rdx, ebx
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	lea	rsi, 0[0+rax*8]
	add	rax, rsi
	sal	rax, 2
	add	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, dist[rip]
	mov	DWORD PTR [rdx+rax], 1000009
.L13:
	add	r12d, 1
.L11:
	mov	eax, DWORD PTR country_num[rip]
	cmp	r12d, eax
	jle	.L14
	add	ebx, 1
.L10:
	mov	eax, DWORD PTR country_num[rip]
	cmp	ebx, eax
	jle	.L15
	mov	ebx, 1
	jmp	.L16
.L21:
	mov	r12d, 1
	jmp	.L17
.L20:
	mov	r13d, 1
	jmp	.L18
.L19:
	movsx	rcx, r13d
	movsx	rdx, ebx
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	lea	rsi, 0[0+rax*8]
	add	rax, rsi
	sal	rax, 2
	add	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, dist[rip]
	mov	ecx, DWORD PTR [rdx+rax]
	movsx	rsi, r12d
	movsx	rdx, r13d
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	lea	rdi, 0[0+rax*8]
	add	rax, rdi
	sal	rax, 2
	add	rax, rdx
	add	rax, rsi
	lea	rdx, 0[0+rax*4]
	lea	rax, dist[rip]
	mov	eax, DWORD PTR [rdx+rax]
	add	ecx, eax
	movsx	rsi, r12d
	movsx	rdx, ebx
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	lea	rdi, 0[0+rax*8]
	add	rax, rdi
	sal	rax, 2
	add	rax, rdx
	add	rax, rsi
	lea	rdx, 0[0+rax*4]
	lea	rax, dist[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	esi, ecx
	mov	edi, eax
	call	min
	mov	ecx, eax
	movsx	rsi, r12d
	movsx	rdx, ebx
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	lea	rdi, 0[0+rax*8]
	add	rax, rdi
	sal	rax, 2
	add	rax, rdx
	add	rax, rsi
	lea	rdx, 0[0+rax*4]
	lea	rax, dist[rip]
	mov	DWORD PTR [rdx+rax], ecx
	add	r13d, 1
.L18:
	mov	eax, DWORD PTR country_num[rip]
	cmp	r13d, eax
	jle	.L19
	add	r12d, 1
.L17:
	mov	eax, DWORD PTR country_num[rip]
	cmp	r12d, eax
	jle	.L20
	add	ebx, 1
.L16:
	mov	eax, DWORD PTR country_num[rip]
	cmp	ebx, eax
	jle	.L21
	nop
	nop
	add	rsp, 8
	pop	rbx
	pop	r12
	pop	r13
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	init, .-init
	.globl	check_opinion
	.type	check_opinion, @function
check_opinion:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	.cfi_offset 3, -24
	mov	DWORD PTR -12[rbp], edi
	mov	ebx, 1
	jmp	.L23
.L26:
	movsx	rax, ebx
	lea	rdx, 0[0+rax*4]
	lea	rax, vis_culture[rip]
	mov	eax, DWORD PTR [rdx+rax]
	test	eax, eax
	je	.L24
	movsx	rcx, ebx
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	lea	rsi, 0[0+rax*8]
	add	rax, rsi
	sal	rax, 2
	add	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, opinion[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	eax, 1
	jne	.L24
	mov	eax, 1
	jmp	.L25
.L24:
	add	ebx, 1
.L23:
	mov	eax, DWORD PTR culture_num[rip]
	cmp	ebx, eax
	jle	.L26
	mov	eax, 0
.L25:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	check_opinion, .-check_opinion
	.globl	dfs
	.type	dfs, @function
dfs:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 40
	.cfi_offset 3, -24
	mov	DWORD PTR -36[rbp], edi
	mov	DWORD PTR -40[rbp], esi
	call	rand@PLT
	mov	ecx, DWORD PTR country_num[rip]
	cdq
	idiv	ecx
	mov	eax, edx
	add	eax, 1
	mov	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR end_point[rip]
	cmp	DWORD PTR -36[rbp], eax
	jne	.L28
	mov	eax, DWORD PTR ans[rip]
	mov	edx, DWORD PTR -40[rbp]
	mov	esi, edx
	mov	edi, eax
	call	min
	mov	DWORD PTR ans[rip], eax
.L28:
	mov	eax, DWORD PTR ans[rip]
	cmp	DWORD PTR -40[rbp], eax
	jge	.L38
	mov	eax, DWORD PTR end_point[rip]
	movsx	rcx, eax
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	lea	rsi, 0[0+rax*8]
	add	rax, rsi
	sal	rax, 2
	add	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, dist[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -40[rbp]
	add	edx, eax
	mov	eax, DWORD PTR ans[rip]
	cmp	edx, eax
	jge	.L38
	mov	eax, DWORD PTR -20[rbp]
	lea	ebx, 1[rax]
	jmp	.L32
.L34:
	cmp	ebx, DWORD PTR -36[rbp]
	je	.L33
	movsx	rcx, ebx
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	lea	rsi, 0[0+rax*8]
	add	rax, rsi
	sal	rax, 2
	add	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, road[rip]
	mov	eax, DWORD PTR [rdx+rax]
	test	eax, eax
	je	.L33
	movsx	rax, ebx
	lea	rdx, 0[0+rax*4]
	lea	rax, vis_country[rip]
	mov	eax, DWORD PTR [rdx+rax]
	test	eax, eax
	jne	.L33
	movsx	rax, ebx
	lea	rdx, 0[0+rax*4]
	lea	rax, culture[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, vis_culture[rip]
	mov	eax, DWORD PTR [rdx+rax]
	test	eax, eax
	jne	.L33
	movsx	rax, ebx
	lea	rdx, 0[0+rax*4]
	lea	rax, culture[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	edi, eax
	call	check_opinion
	test	eax, eax
	jne	.L33
	mov	eax, DWORD PTR end_point[rip]
	movsx	rcx, eax
	movsx	rdx, ebx
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	lea	rsi, 0[0+rax*8]
	add	rax, rsi
	sal	rax, 2
	add	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, dist[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -40[rbp]
	add	edx, eax
	mov	eax, DWORD PTR ans[rip]
	cmp	edx, eax
	jge	.L33
	movsx	rax, ebx
	lea	rdx, 0[0+rax*4]
	lea	rax, vis_country[rip]
	mov	DWORD PTR [rdx+rax], 1
	movsx	rax, ebx
	lea	rdx, 0[0+rax*4]
	lea	rax, culture[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, vis_culture[rip]
	mov	DWORD PTR [rdx+rax], 1
	movsx	rcx, ebx
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	lea	rsi, 0[0+rax*8]
	add	rax, rsi
	sal	rax, 2
	add	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, road[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -40[rbp]
	add	eax, edx
	mov	esi, eax
	mov	edi, ebx
	call	dfs
	movsx	rax, ebx
	lea	rdx, 0[0+rax*4]
	lea	rax, vis_country[rip]
	mov	DWORD PTR [rdx+rax], 0
	movsx	rax, ebx
	lea	rdx, 0[0+rax*4]
	lea	rax, culture[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, vis_culture[rip]
	mov	DWORD PTR [rdx+rax], 0
.L33:
	add	ebx, 1
.L32:
	mov	eax, DWORD PTR country_num[rip]
	cmp	ebx, eax
	jle	.L34
	mov	ebx, DWORD PTR -20[rbp]
	jmp	.L35
.L37:
	cmp	ebx, DWORD PTR -36[rbp]
	je	.L36
	movsx	rcx, ebx
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	lea	rsi, 0[0+rax*8]
	add	rax, rsi
	sal	rax, 2
	add	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, road[rip]
	mov	eax, DWORD PTR [rdx+rax]
	test	eax, eax
	je	.L36
	movsx	rax, ebx
	lea	rdx, 0[0+rax*4]
	lea	rax, vis_country[rip]
	mov	eax, DWORD PTR [rdx+rax]
	test	eax, eax
	jne	.L36
	movsx	rax, ebx
	lea	rdx, 0[0+rax*4]
	lea	rax, culture[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, vis_culture[rip]
	mov	eax, DWORD PTR [rdx+rax]
	test	eax, eax
	jne	.L36
	movsx	rax, ebx
	lea	rdx, 0[0+rax*4]
	lea	rax, culture[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	edi, eax
	call	check_opinion
	test	eax, eax
	jne	.L36
	mov	eax, DWORD PTR end_point[rip]
	movsx	rcx, eax
	movsx	rdx, ebx
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	lea	rsi, 0[0+rax*8]
	add	rax, rsi
	sal	rax, 2
	add	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, dist[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -40[rbp]
	add	edx, eax
	mov	eax, DWORD PTR ans[rip]
	cmp	edx, eax
	jge	.L36
	movsx	rax, ebx
	lea	rdx, 0[0+rax*4]
	lea	rax, vis_country[rip]
	mov	DWORD PTR [rdx+rax], 1
	movsx	rax, ebx
	lea	rdx, 0[0+rax*4]
	lea	rax, culture[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, vis_culture[rip]
	mov	DWORD PTR [rdx+rax], 1
	movsx	rcx, ebx
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	lea	rsi, 0[0+rax*8]
	add	rax, rsi
	sal	rax, 2
	add	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, road[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -40[rbp]
	add	eax, edx
	mov	esi, eax
	mov	edi, ebx
	call	dfs
	movsx	rax, ebx
	lea	rdx, 0[0+rax*4]
	lea	rax, vis_country[rip]
	mov	DWORD PTR [rdx+rax], 0
	movsx	rax, ebx
	lea	rdx, 0[0+rax*4]
	lea	rax, culture[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, vis_culture[rip]
	mov	DWORD PTR [rdx+rax], 0
.L36:
	sub	ebx, 1
.L35:
	test	ebx, ebx
	jg	.L37
	jmp	.L27
.L38:
	nop
.L27:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	dfs, .-dfs
	.globl	getint
	.type	getint, @function
getint:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r13
	push	r12
	push	rbx
	sub	rsp, 8
	.cfi_offset 13, -24
	.cfi_offset 12, -32
	.cfi_offset 3, -40
	nop
.L40:
	call	__ctype_b_loc@PLT
	mov	r12, QWORD PTR [rax]
	call	getchar@PLT
	mov	ebx, eax
	movsx	rax, ebx
	add	rax, rax
	add	rax, r12
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 2048
	test	eax, eax
	je	.L40
	lea	r12d, -48[rbx]
	jmp	.L41
.L42:
	mov	eax, r12d
	sal	eax, 2
	add	eax, r12d
	add	eax, eax
	add	eax, ebx
	lea	r12d, -48[rax]
.L41:
	call	__ctype_b_loc@PLT
	mov	r13, QWORD PTR [rax]
	call	getchar@PLT
	mov	ebx, eax
	movsx	rax, ebx
	add	rax, rax
	add	rax, r13
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 2048
	test	eax, eax
	jne	.L42
	mov	rax, QWORD PTR stdin[rip]
	mov	rsi, rax
	mov	edi, ebx
	call	ungetc@PLT
	mov	eax, r12d
	add	rsp, 8
	pop	rbx
	pop	r12
	pop	r13
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	getint, .-getint
	.globl	read
	.type	read, @function
read:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r14
	push	r13
	push	r12
	push	rbx
	.cfi_offset 14, -24
	.cfi_offset 13, -32
	.cfi_offset 12, -40
	.cfi_offset 3, -48
	call	getint
	mov	DWORD PTR country_num[rip], eax
	call	getint
	mov	DWORD PTR culture_num[rip], eax
	call	getint
	mov	DWORD PTR road_num[rip], eax
	call	getint
	mov	DWORD PTR start_point[rip], eax
	call	getint
	mov	DWORD PTR end_point[rip], eax
	mov	ebx, 1
	jmp	.L45
.L46:
	call	getint
	movsx	rdx, ebx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, culture[rip]
	mov	DWORD PTR [rcx+rdx], eax
	add	ebx, 1
.L45:
	mov	eax, DWORD PTR country_num[rip]
	cmp	ebx, eax
	jle	.L46
	mov	ebx, 1
	jmp	.L47
.L50:
	mov	r12d, 1
	jmp	.L48
.L49:
	call	getint
	mov	ecx, eax
	movsx	rsi, r12d
	movsx	rdx, ebx
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	lea	rdi, 0[0+rax*8]
	add	rax, rdi
	sal	rax, 2
	add	rax, rdx
	add	rax, rsi
	lea	rdx, 0[0+rax*4]
	lea	rax, opinion[rip]
	mov	DWORD PTR [rdx+rax], ecx
	add	r12d, 1
.L48:
	mov	eax, DWORD PTR culture_num[rip]
	cmp	r12d, eax
	jle	.L49
	add	ebx, 1
.L47:
	mov	eax, DWORD PTR culture_num[rip]
	cmp	ebx, eax
	jle	.L50
	mov	ebx, 0
	jmp	.L51
.L52:
	call	getint
	mov	r14d, eax
	call	getint
	mov	r13d, eax
	call	getint
	mov	r12d, eax
	movsx	rcx, r13d
	movsx	rdx, r14d
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	lea	rsi, 0[0+rax*8]
	add	rax, rsi
	sal	rax, 2
	add	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, road[rip]
	mov	DWORD PTR [rdx+rax], r12d
	movsx	rcx, r14d
	movsx	rdx, r13d
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	lea	rsi, 0[0+rax*8]
	add	rax, rsi
	sal	rax, 2
	add	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, road[rip]
	mov	DWORD PTR [rdx+rax], r12d
	add	ebx, 1
.L51:
	mov	eax, DWORD PTR road_num[rip]
	cmp	ebx, eax
	jl	.L52
	nop
	nop
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	read, .-read
	.globl	min
	.type	min, @function
min:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -4[rbp], edi
	mov	DWORD PTR -8[rbp], esi
	mov	eax, DWORD PTR -4[rbp]
	cmp	DWORD PTR -8[rbp], eax
	cmovle	eax, DWORD PTR -8[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	min, .-min
	.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	"97954.c"
	.text
	.comm	country_num,4,4
	.comm	culture_num,4,4
	.comm	road_num,4,4
	.comm	start_point,4,4
	.comm	end_point,4,4
	.comm	dist,47524,4
	.comm	opinion,47524,4
	.comm	culture,436,4
	.comm	road,47524,4
	.comm	vis_country,436,4
	.comm	vis_culture,436,4
	.global	ans
	.data
	.align	2
	.type	ans, %object
	.size	ans, 4
ans:
	.word	2139062143
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	bl	read
	bl	init
	ldr	r3, .L4
	ldr	r3, [r3]
	ldr	r2, .L4+4
	mov	r1, #1
	str	r1, [r2, r3, lsl #2]
	ldr	r3, .L4
	ldr	r3, [r3]
	ldr	r2, .L4+8
	ldr	r3, [r2, r3, lsl #2]
	ldr	r2, .L4+12
	mov	r1, #1
	str	r1, [r2, r3, lsl #2]
	ldr	r3, .L4
	ldr	r3, [r3]
	mov	r1, #0
	mov	r0, r3
	bl	dfs
	ldr	r3, .L4+16
	ldr	r3, [r3]
	ldr	r2, .L4+20
	cmp	r3, r2
	bne	.L2
	ldr	r3, .L4+16
	mvn	r2, #0
	str	r2, [r3]
.L2:
	ldr	r3, .L4+16
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L4+24
	bl	printf
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
.L5:
	.align	2
.L4:
	.word	start_point
	.word	vis_country
	.word	culture
	.word	vis_culture
	.word	ans
	.word	2139062143
	.word	.LC0
	.size	main, .-main
	.align	2
	.global	init
	.syntax unified
	.arm
	.fpu softvfp
	.type	init, %function
init:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	ldr	r0, .L24
	bl	srand
	mov	r4, #1
	b	.L7
.L11:
	mov	r5, #1
	b	.L8
.L10:
	ldr	r3, .L24+4
	ldr	r2, [r3, r4, lsl #2]
	ldr	r3, .L24+4
	ldr	r1, [r3, r5, lsl #2]
	ldr	ip, .L24+8
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r0, r3, #3
	add	r3, r3, r0
	lsl	r3, r3, #2
	add	r3, r3, r2
	add	r3, r3, r1
	ldr	r3, [ip, r3, lsl #2]
	cmp	r3, #1
	bne	.L9
	ldr	r1, .L24+12
	mov	r3, r5
	lsl	r3, r3, #1
	add	r3, r3, r5
	lsl	r2, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r5
	add	r3, r3, r4
	mov	r2, #0
	str	r2, [r1, r3, lsl #2]
.L9:
	add	r5, r5, #1
.L8:
	ldr	r3, .L24+16
	ldr	r3, [r3]
	cmp	r5, r3
	ble	.L10
	add	r4, r4, #1
.L7:
	ldr	r3, .L24+16
	ldr	r3, [r3]
	cmp	r4, r3
	ble	.L11
	mov	r4, #1
	b	.L12
.L17:
	mov	r5, #1
	b	.L13
.L16:
	ldr	r1, .L24+12
	mov	r3, r4
	lsl	r3, r3, #1
	add	r3, r3, r4
	lsl	r2, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r4
	add	r3, r3, r5
	ldr	r3, [r1, r3, lsl #2]
	cmp	r3, #0
	beq	.L14
	ldr	r1, .L24+12
	mov	r3, r4
	lsl	r3, r3, #1
	add	r3, r3, r4
	lsl	r2, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r4
	add	r3, r3, r5
	ldr	r2, [r1, r3, lsl #2]
	ldr	r0, .L24+20
	mov	r3, r4
	lsl	r3, r3, #1
	add	r3, r3, r4
	lsl	r1, r3, #3
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r4
	add	r3, r3, r5
	str	r2, [r0, r3, lsl #2]
	b	.L15
.L14:
	ldr	r1, .L24+20
	mov	r3, r4
	lsl	r3, r3, #1
	add	r3, r3, r4
	lsl	r2, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r4
	add	r3, r3, r5
	ldr	r2, .L24+24
	str	r2, [r1, r3, lsl #2]
.L15:
	add	r5, r5, #1
.L13:
	ldr	r3, .L24+16
	ldr	r3, [r3]
	cmp	r5, r3
	ble	.L16
	add	r4, r4, #1
.L12:
	ldr	r3, .L24+16
	ldr	r3, [r3]
	cmp	r4, r3
	ble	.L17
	mov	r4, #1
	b	.L18
.L23:
	mov	r5, #1
	b	.L19
.L22:
	mov	r6, #1
	b	.L20
.L21:
	ldr	r1, .L24+20
	mov	r3, r4
	lsl	r3, r3, #1
	add	r3, r3, r4
	lsl	r2, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r4
	add	r3, r3, r5
	ldr	r0, [r1, r3, lsl #2]
	ldr	r1, .L24+20
	mov	r3, r4
	lsl	r3, r3, #1
	add	r3, r3, r4
	lsl	r2, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r4
	add	r3, r3, r6
	ldr	r2, [r1, r3, lsl #2]
	ldr	ip, .L24+20
	mov	r3, r6
	lsl	r3, r3, #1
	add	r3, r3, r6
	lsl	r1, r3, #3
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r6
	add	r3, r3, r5
	ldr	r3, [ip, r3, lsl #2]
	add	r3, r2, r3
	mov	r1, r3
	bl	min
	mov	r1, r0
	ldr	r0, .L24+20
	mov	r3, r4
	lsl	r3, r3, #1
	add	r3, r3, r4
	lsl	r2, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r4
	add	r3, r3, r5
	str	r1, [r0, r3, lsl #2]
	add	r6, r6, #1
.L20:
	ldr	r3, .L24+16
	ldr	r3, [r3]
	cmp	r6, r3
	ble	.L21
	add	r5, r5, #1
.L19:
	ldr	r3, .L24+16
	ldr	r3, [r3]
	cmp	r5, r3
	ble	.L22
	add	r4, r4, #1
.L18:
	ldr	r3, .L24+16
	ldr	r3, [r3]
	cmp	r4, r3
	ble	.L23
	nop
	nop
	pop	{r4, r5, r6, r7, fp, pc}
.L25:
	.align	2
.L24:
	.word	6737151
	.word	culture
	.word	opinion
	.word	road
	.word	country_num
	.word	dist
	.word	1000009
	.size	init, .-init
	.align	2
	.global	check_opinion
	.syntax unified
	.arm
	.fpu softvfp
	.type	check_opinion, %function
check_opinion:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	push	{r4, fp}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	mov	r4, #1
	b	.L27
.L30:
	ldr	r3, .L31
	ldr	r3, [r3, r4, lsl #2]
	cmp	r3, #0
	beq	.L28
	ldr	r0, .L31+4
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r1, r3, #3
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r2
	add	r3, r3, r4
	ldr	r3, [r0, r3, lsl #2]
	cmp	r3, #1
	bne	.L28
	mov	r3, #1
	b	.L29
.L28:
	add	r4, r4, #1
.L27:
	ldr	r3, .L31+8
	ldr	r3, [r3]
	cmp	r4, r3
	ble	.L30
	mov	r3, #0
.L29:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{r4, fp}
	bx	lr
.L32:
	.align	2
.L31:
	.word	vis_culture
	.word	opinion
	.word	culture_num
	.size	check_opinion, .-check_opinion
	.global	__aeabi_idivmod
	.align	2
	.global	dfs
	.syntax unified
	.arm
	.fpu softvfp
	.type	dfs, %function
dfs:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #20
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	bl	rand
	mov	r2, r0
	ldr	r3, .L45
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_idivmod
	mov	r3, r1
	add	r3, r3, #1
	str	r3, [fp, #-16]
	ldr	r3, .L45+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	bne	.L34
	ldr	r3, .L45+8
	ldr	r3, [r3]
	ldr	r1, [fp, #-28]
	mov	r0, r3
	bl	min
	mov	r3, r0
	ldr	r2, .L45+8
	str	r3, [r2]
.L34:
	ldr	r3, .L45+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-28]
	cmp	r2, r3
	bge	.L44
	ldr	r3, .L45+4
	ldr	r1, [r3]
	ldr	ip, .L45+12
	ldr	r2, [fp, #-24]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r0, r3, #3
	add	r3, r3, r0
	lsl	r3, r3, #2
	add	r3, r3, r2
	add	r3, r3, r1
	ldr	r2, [ip, r3, lsl #2]
	ldr	r3, [fp, #-28]
	add	r2, r2, r3
	ldr	r3, .L45+8
	ldr	r3, [r3]
	cmp	r2, r3
	bge	.L44
	ldr	r3, [fp, #-16]
	add	r4, r3, #1
	b	.L38
.L40:
	ldr	r3, [fp, #-24]
	cmp	r4, r3
	beq	.L39
	ldr	r0, .L45+16
	ldr	r2, [fp, #-24]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r1, r3, #3
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r2
	add	r3, r3, r4
	ldr	r3, [r0, r3, lsl #2]
	cmp	r3, #0
	beq	.L39
	ldr	r3, .L45+20
	ldr	r3, [r3, r4, lsl #2]
	cmp	r3, #0
	bne	.L39
	ldr	r3, .L45+24
	ldr	r3, [r3, r4, lsl #2]
	ldr	r2, .L45+28
	ldr	r3, [r2, r3, lsl #2]
	cmp	r3, #0
	bne	.L39
	ldr	r3, .L45+24
	ldr	r3, [r3, r4, lsl #2]
	mov	r0, r3
	bl	check_opinion
	mov	r3, r0
	cmp	r3, #0
	bne	.L39
	ldr	r3, .L45+4
	ldr	r2, [r3]
	ldr	r0, .L45+12
	mov	r3, r4
	lsl	r3, r3, #1
	add	r3, r3, r4
	lsl	r1, r3, #3
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r4
	add	r3, r3, r2
	ldr	r2, [r0, r3, lsl #2]
	ldr	r3, [fp, #-28]
	add	r2, r2, r3
	ldr	r3, .L45+8
	ldr	r3, [r3]
	cmp	r2, r3
	bge	.L39
	ldr	r3, .L45+20
	mov	r2, #1
	str	r2, [r3, r4, lsl #2]
	ldr	r3, .L45+24
	ldr	r3, [r3, r4, lsl #2]
	ldr	r2, .L45+28
	mov	r1, #1
	str	r1, [r2, r3, lsl #2]
	ldr	r0, .L45+16
	ldr	r2, [fp, #-24]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r1, r3, #3
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r2
	add	r3, r3, r4
	ldr	r2, [r0, r3, lsl #2]
	ldr	r3, [fp, #-28]
	add	r3, r2, r3
	mov	r1, r3
	mov	r0, r4
	bl	dfs
	ldr	r3, .L45+20
	mov	r2, #0
	str	r2, [r3, r4, lsl #2]
	ldr	r3, .L45+24
	ldr	r3, [r3, r4, lsl #2]
	ldr	r2, .L45+28
	mov	r1, #0
	str	r1, [r2, r3, lsl #2]
.L39:
	add	r4, r4, #1
.L38:
	ldr	r3, .L45
	ldr	r3, [r3]
	cmp	r4, r3
	ble	.L40
	ldr	r4, [fp, #-16]
	b	.L41
.L43:
	ldr	r3, [fp, #-24]
	cmp	r4, r3
	beq	.L42
	ldr	r0, .L45+16
	ldr	r2, [fp, #-24]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r1, r3, #3
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r2
	add	r3, r3, r4
	ldr	r3, [r0, r3, lsl #2]
	cmp	r3, #0
	beq	.L42
	ldr	r3, .L45+20
	ldr	r3, [r3, r4, lsl #2]
	cmp	r3, #0
	bne	.L42
	ldr	r3, .L45+24
	ldr	r3, [r3, r4, lsl #2]
	ldr	r2, .L45+28
	ldr	r3, [r2, r3, lsl #2]
	cmp	r3, #0
	bne	.L42
	ldr	r3, .L45+24
	ldr	r3, [r3, r4, lsl #2]
	mov	r0, r3
	bl	check_opinion
	mov	r3, r0
	cmp	r3, #0
	bne	.L42
	ldr	r3, .L45+4
	ldr	r2, [r3]
	ldr	r0, .L45+12
	mov	r3, r4
	lsl	r3, r3, #1
	add	r3, r3, r4
	lsl	r1, r3, #3
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r4
	add	r3, r3, r2
	ldr	r2, [r0, r3, lsl #2]
	ldr	r3, [fp, #-28]
	add	r2, r2, r3
	ldr	r3, .L45+8
	ldr	r3, [r3]
	cmp	r2, r3
	bge	.L42
	ldr	r3, .L45+20
	mov	r2, #1
	str	r2, [r3, r4, lsl #2]
	ldr	r3, .L45+24
	ldr	r3, [r3, r4, lsl #2]
	ldr	r2, .L45+28
	mov	r1, #1
	str	r1, [r2, r3, lsl #2]
	ldr	r0, .L45+16
	ldr	r2, [fp, #-24]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r1, r3, #3
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r2
	add	r3, r3, r4
	ldr	r2, [r0, r3, lsl #2]
	ldr	r3, [fp, #-28]
	add	r3, r2, r3
	mov	r1, r3
	mov	r0, r4
	bl	dfs
	ldr	r3, .L45+20
	mov	r2, #0
	str	r2, [r3, r4, lsl #2]
	ldr	r3, .L45+24
	ldr	r3, [r3, r4, lsl #2]
	ldr	r2, .L45+28
	mov	r1, #0
	str	r1, [r2, r3, lsl #2]
.L42:
	sub	r4, r4, #1
.L41:
	cmp	r4, #0
	bgt	.L43
	b	.L33
.L44:
	nop
.L33:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L46:
	.align	2
.L45:
	.word	country_num
	.word	end_point
	.word	ans
	.word	dist
	.word	road
	.word	vis_country
	.word	culture
	.word	vis_culture
	.size	dfs, .-dfs
	.align	2
	.global	getint
	.syntax unified
	.arm
	.fpu softvfp
	.type	getint, %function
getint:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	mov	r5, #0
	nop
.L48:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r5, [r3]
	bl	getchar
	mov	r4, r0
	mov	r3, r4
	lsl	r3, r3, #1
	add	r3, r5, r3
	ldrh	r3, [r3]
	and	r3, r3, #2048
	cmp	r3, #0
	beq	.L48
	sub	r5, r4, #48
	b	.L49
.L50:
	mov	r3, r5
	lsl	r3, r3, #2
	add	r3, r3, r5
	lsl	r3, r3, #1
	add	r3, r4, r3
	sub	r5, r3, #48
.L49:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r6, [r3]
	bl	getchar
	mov	r4, r0
	mov	r3, r4
	lsl	r3, r3, #1
	add	r3, r6, r3
	ldrh	r3, [r3]
	and	r3, r3, #2048
	cmp	r3, #0
	bne	.L50
	ldr	r3, .L52
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, r4
	bl	ungetc
	mov	r3, r5
	mov	r0, r3
	pop	{r4, r5, r6, r7, fp, pc}
.L53:
	.align	2
.L52:
	.word	stdin
	.size	getint, .-getint
	.align	2
	.global	read
	.syntax unified
	.arm
	.fpu softvfp
	.type	read, %function
read:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	bl	getint
	mov	r3, r0
	ldr	r2, .L63
	str	r3, [r2]
	bl	getint
	mov	r3, r0
	ldr	r2, .L63+4
	str	r3, [r2]
	bl	getint
	mov	r3, r0
	ldr	r2, .L63+8
	str	r3, [r2]
	bl	getint
	mov	r3, r0
	ldr	r2, .L63+12
	str	r3, [r2]
	bl	getint
	mov	r3, r0
	ldr	r2, .L63+16
	str	r3, [r2]
	mov	r4, #1
	b	.L55
.L56:
	bl	getint
	mov	r3, r0
	ldr	r2, .L63+20
	str	r3, [r2, r4, lsl #2]
	add	r4, r4, #1
.L55:
	ldr	r3, .L63
	ldr	r3, [r3]
	cmp	r4, r3
	ble	.L56
	mov	r4, #1
	b	.L57
.L60:
	mov	r5, #1
	b	.L58
.L59:
	bl	getint
	mov	r1, r0
	ldr	r0, .L63+24
	mov	r3, r4
	lsl	r3, r3, #1
	add	r3, r3, r4
	lsl	r2, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r4
	add	r3, r3, r5
	str	r1, [r0, r3, lsl #2]
	add	r5, r5, #1
.L58:
	ldr	r3, .L63+4
	ldr	r3, [r3]
	cmp	r5, r3
	ble	.L59
	add	r4, r4, #1
.L57:
	ldr	r3, .L63+4
	ldr	r3, [r3]
	cmp	r4, r3
	ble	.L60
	mov	r4, #0
	b	.L61
.L62:
	bl	getint
	mov	r5, r0
	bl	getint
	mov	r6, r0
	bl	getint
	mov	r7, r0
	ldr	r1, .L63+28
	mov	r3, r5
	lsl	r3, r3, #1
	add	r3, r3, r5
	lsl	r2, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r5
	add	r3, r3, r6
	str	r7, [r1, r3, lsl #2]
	ldr	r1, .L63+28
	mov	r3, r6
	lsl	r3, r3, #1
	add	r3, r3, r6
	lsl	r2, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r6
	add	r3, r3, r5
	str	r7, [r1, r3, lsl #2]
	add	r4, r4, #1
.L61:
	ldr	r3, .L63+8
	ldr	r3, [r3]
	cmp	r4, r3
	blt	.L62
	nop
	nop
	pop	{r4, r5, r6, r7, fp, pc}
.L64:
	.align	2
.L63:
	.word	country_num
	.word	culture_num
	.word	road_num
	.word	start_point
	.word	end_point
	.word	culture
	.word	opinion
	.word	road
	.size	read, .-read
	.align	2
	.global	min
	.syntax unified
	.arm
	.fpu softvfp
	.type	min, %function
min:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	movlt	r3, r2
	movge	r3, r3
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	min, .-min
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
