	.file	"233334.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"\n-1 menyatakan jarak tak hingga"
	.align 8
.LC1:
	.string	"0 menyatakan bahwa kedua vertex sama\n"
.LC2:
	.string	"%d\t"
	.text
	.globl	printgraph
	.type	printgraph, @function
printgraph:
.LFB6:
	.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	QWORD PTR -48[rbp], rsi
	mov	ebx, DWORD PTR -36[rbp]
	movsx	rax, ebx
	sub	rax, 1
	mov	QWORD PTR -24[rbp], rax
	movsx	rax, ebx
	mov	r8, rax
	mov	r9d, 0
	lea	rdi, .LC0[rip]
	call	puts@PLT
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	DWORD PTR -28[rbp], 0
	jmp	.L2
.L7:
	mov	DWORD PTR -32[rbp], 0
	jmp	.L3
.L6:
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	movsx	rax, ebx
	imul	rax, rdx
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -48[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	cmp	eax, 2147483647
	jne	.L4
	mov	esi, -1
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L5
.L4:
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	movsx	rax, ebx
	imul	rax, rdx
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -48[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
.L5:
	add	DWORD PTR -32[rbp], 1
.L3:
	mov	eax, DWORD PTR -32[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	jl	.L6
	mov	edi, 10
	call	putchar@PLT
	add	DWORD PTR -28[rbp], 1
.L2:
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	jl	.L7
	nop
	nop
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	printgraph, .-printgraph
	.globl	idx_process
	.type	idx_process, @function
idx_process:
.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	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	BYTE PTR -13[rbp], 0
	mov	DWORD PTR -4[rbp], 0
	jmp	.L9
.L12:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	xor	eax, 1
	test	al, al
	je	.L10
	movzx	eax, BYTE PTR -13[rbp]
	xor	eax, 1
	test	al, al
	je	.L10
	mov	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -8[rbp], eax
	mov	BYTE PTR -13[rbp], 1
	jmp	.L11
.L10:
	cmp	BYTE PTR -13[rbp], 0
	je	.L11
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	xor	eax, 1
	test	al, al
	je	.L11
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -8[rbp], eax
	jle	.L11
	mov	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -8[rbp], eax
.L11:
	add	DWORD PTR -4[rbp], 1
.L9:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jl	.L12
	cmp	BYTE PTR -13[rbp], 0
	je	.L13
	mov	eax, DWORD PTR -12[rbp]
	jmp	.L14
.L13:
	mov	eax, 2147483647
.L14:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	idx_process, .-idx_process
	.section	.rodata
	.align 8
.LC3:
	.string	"Selamat datang di database kota."
	.align 8
.LC4:
	.string	"Silahkan masukkan nama file database nama-nama kota: "
.LC5:
	.string	"%s"
.LC6:
	.string	"r"
.LC7:
	.string	"\n"
	.align 8
.LC8:
	.string	"Pembacaan nama-nama kota berhasil."
	.align 8
.LC9:
	.string	"Terdapat %d kota di lokasi yang berbeda\n"
	.align 8
.LC10:
	.string	"Silahkan masukkan nama file yang berisi jarak antar masing-masing kota: "
.LC11:
	.string	" "
	.align 8
.LC12:
	.string	"Pembacaan jarak antar kota berhasil dilakukan.\n"
	.align 8
.LC13:
	.string	"\nBerikut adalah daftar nama-nama kota."
.LC14:
	.string	"%d. %s\n"
	.align 8
.LC15:
	.string	"\nPilih salah satu kota sebagai posisi awal (Cukup ketik angka saja): "
.LC16:
	.string	" %d"
	.align 8
.LC17:
	.string	"Pilih salah satu kota sebagai tujuan (Cukup ketik angka saja): "
	.align 8
.LC18:
	.string	"\nKota yang harus dilalui untuk mencapai %s dengan posisi awal %s adalah: \n"
	.align 8
.LC19:
	.string	"\nJarak antara kedua kota tersebut adalah %d meter\n\n"
	.align 8
.LC20:
	.string	"Apakah anda masih ingin mengelilingi kota? [y/n]: "
.LC21:
	.string	" %c"
	.text
	.globl	main
	.type	main, @function
main:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 1672
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	lea	rdi, .LC3[rip]
	call	puts@PLT
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -832[rbp]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rax, -832[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -13696[rbp], rax
	mov	DWORD PTR -13708[rbp], 0
	jmp	.L16
.L17:
	lea	rax, -576[rbp]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	call	strtok@PLT
	mov	QWORD PTR -13704[rbp], rax
	lea	rcx, -13584[rbp]
	mov	eax, DWORD PTR -13708[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 8
	sub	rax, rdx
	lea	rdx, [rcx+rax]
	mov	rax, QWORD PTR -13704[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcpy@PLT
	add	DWORD PTR -13708[rbp], 1
.L16:
	mov	rax, QWORD PTR -13696[rbp]
	lea	rcx, -576[rbp]
	mov	rdx, rax
	mov	esi, 255
	mov	rdi, rcx
	call	fgets@PLT
	test	rax, rax
	jne	.L17
	lea	rdi, .LC8[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -13708[rbp]
	mov	esi, eax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -320[rbp]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	esi, DWORD PTR -13708[rbp]
	mov	edi, DWORD PTR -13708[rbp]
	mov	rax, rsp
	mov	QWORD PTR -13992[rbp], rax
	movsx	rax, esi
	sub	rax, 1
	mov	QWORD PTR -13688[rbp], rax
	movsx	rax, esi
	mov	QWORD PTR -13872[rbp], rax
	mov	QWORD PTR -13864[rbp], 0
	movsx	rax, esi
	sal	rax, 2
	mov	QWORD PTR -13872[rbp], rax
	movsx	rax, edi
	sub	rax, 1
	mov	QWORD PTR -13680[rbp], rax
	movsx	rax, esi
	mov	r14, rax
	mov	r15d, 0
	movsx	rax, edi
	mov	r12, rax
	mov	r13d, 0
	mov	rdx, r15
	imul	rdx, r12
	mov	rax, r13
	imul	rax, r14
	lea	rcx, [rdx+rax]
	mov	rax, r14
	mul	r12
	add	rcx, rdx
	mov	rdx, rcx
	movsx	rax, esi
	mov	QWORD PTR -13776[rbp], rax
	mov	QWORD PTR -13768[rbp], 0
	movsx	rax, edi
	mov	QWORD PTR -13792[rbp], rax
	mov	QWORD PTR -13784[rbp], 0
	mov	r8, QWORD PTR -13776[rbp]
	mov	r9, QWORD PTR -13768[rbp]
	mov	rdx, r9
	mov	r10, QWORD PTR -13792[rbp]
	mov	r11, QWORD PTR -13784[rbp]
	imul	rdx, r10
	mov	rax, r11
	imul	rax, r8
	lea	rcx, [rdx+rax]
	mov	rax, r8
	mul	r10
	add	rcx, rdx
	mov	rdx, rcx
	movsx	rdx, esi
	movsx	rax, edi
	imul	rax, rdx
	lea	rdx, 0[0+rax*4]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	ebx, 16
	mov	edx, 0
	div	rbx
	imul	rdx, rax, 16
	mov	rax, rdx
	and	rax, -4096
	mov	rcx, rsp
	sub	rcx, rax
.L18:
	cmp	rsp, rcx
	je	.L19
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L18
.L19:
	mov	rax, rdx
	and	eax, 4095
	sub	rsp, rax
	mov	rax, rdx
	and	eax, 4095
	test	rax, rax
	je	.L20
	mov	rax, rdx
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L20:
	mov	rax, rsp
	add	rax, 3
	shr	rax, 2
	sal	rax, 2
	mov	QWORD PTR -13672[rbp], rax
	mov	DWORD PTR -13712[rbp], 0
	lea	rax, -320[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -13664[rbp], rax
	jmp	.L21
.L25:
	mov	DWORD PTR -13716[rbp], 0
	lea	rax, -576[rbp]
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	call	strtok@PLT
	mov	QWORD PTR -13704[rbp], rax
	jmp	.L22
.L24:
	mov	r15, QWORD PTR -13872[rbp]
	mov	rbx, r15
	shr	rbx, 2
	mov	rax, QWORD PTR -13704[rbp]
	mov	rdi, rax
	call	atoi@PLT
	mov	esi, eax
	mov	rcx, QWORD PTR -13672[rbp]
	mov	eax, DWORD PTR -13716[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -13712[rbp]
	cdqe
	imul	rax, rbx
	add	rax, rdx
	mov	DWORD PTR [rcx+rax*4], esi
	mov	rbx, r15
	shr	rbx, 2
	mov	rax, QWORD PTR -13704[rbp]
	mov	rdi, rax
	call	atoi@PLT
	mov	esi, eax
	mov	rcx, QWORD PTR -13672[rbp]
	mov	eax, DWORD PTR -13712[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -13716[rbp]
	cdqe
	imul	rax, rbx
	add	rax, rdx
	mov	DWORD PTR [rcx+rax*4], esi
	mov	rax, QWORD PTR -13704[rbp]
	mov	rdi, rax
	call	atoi@PLT
	cmp	eax, -1
	jne	.L23
	mov	rsi, r15
	shr	rsi, 2
	mov	rcx, QWORD PTR -13672[rbp]
	mov	eax, DWORD PTR -13716[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -13712[rbp]
	cdqe
	imul	rax, rsi
	add	rax, rdx
	mov	DWORD PTR [rcx+rax*4], 2147483647
	shr	r15, 2
	mov	rsi, r15
	mov	rcx, QWORD PTR -13672[rbp]
	mov	eax, DWORD PTR -13712[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -13716[rbp]
	cdqe
	imul	rax, rsi
	add	rax, rdx
	mov	DWORD PTR [rcx+rax*4], 2147483647
.L23:
	add	DWORD PTR -13716[rbp], 1
	lea	rsi, .LC11[rip]
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -13704[rbp], rax
.L22:
	cmp	QWORD PTR -13704[rbp], 0
	jne	.L24
	add	DWORD PTR -13712[rbp], 1
.L21:
	mov	rax, QWORD PTR -13664[rbp]
	lea	rcx, -576[rbp]
	mov	rdx, rax
	mov	esi, 255
	mov	rdi, rcx
	call	fgets@PLT
	test	rax, rax
	jne	.L25
	lea	rdi, .LC12[rip]
	call	puts@PLT
	mov	rdx, QWORD PTR -13672[rbp]
	mov	eax, DWORD PTR -13708[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	printgraph
	mov	BYTE PTR -13753[rbp], 121
	jmp	.L26
.L59:
	lea	rdi, .LC13[rip]
	call	puts@PLT
	mov	DWORD PTR -13720[rbp], 1
	jmp	.L27
.L28:
	mov	eax, DWORD PTR -13720[rbp]
	sub	eax, 1
	lea	rcx, -13584[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 8
	sub	rax, rdx
	lea	rdx, [rcx+rax]
	mov	eax, DWORD PTR -13720[rbp]
	mov	esi, eax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -13720[rbp], 1
.L27:
	mov	eax, DWORD PTR -13720[rbp]
	cmp	eax, DWORD PTR -13708[rbp]
	jle	.L28
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -13752[rbp]
	mov	rsi, rax
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -13752[rbp]
	sub	eax, 1
	mov	DWORD PTR -13752[rbp], eax
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -13748[rbp]
	mov	rsi, rax
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -13748[rbp]
	sub	eax, 1
	mov	DWORD PTR -13748[rbp], eax
	mov	edx, DWORD PTR -13708[rbp]
	mov	rax, rsp
	mov	r12, rax
	movsx	rax, edx
	sub	rax, 1
	mov	QWORD PTR -13656[rbp], rax
	movsx	rax, edx
	mov	QWORD PTR -13888[rbp], rax
	mov	QWORD PTR -13880[rbp], 0
	movsx	rax, edx
	mov	QWORD PTR -13904[rbp], rax
	mov	QWORD PTR -13896[rbp], 0
	movsx	rax, edx
	lea	rdx, 0[0+rax*4]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	ebx, 16
	mov	edx, 0
	div	rbx
	imul	rdx, rax, 16
	mov	rax, rdx
	and	rax, -4096
	mov	rcx, rsp
	sub	rcx, rax
.L29:
	cmp	rsp, rcx
	je	.L30
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L29
.L30:
	mov	rax, rdx
	and	eax, 4095
	sub	rsp, rax
	mov	rax, rdx
	and	eax, 4095
	test	rax, rax
	je	.L31
	mov	rax, rdx
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L31:
	mov	rax, rsp
	add	rax, 3
	shr	rax, 2
	sal	rax, 2
	mov	QWORD PTR -13648[rbp], rax
	mov	edx, DWORD PTR -13708[rbp]
	movsx	rax, edx
	sub	rax, 1
	mov	QWORD PTR -13640[rbp], rax
	movsx	rax, edx
	mov	QWORD PTR -13920[rbp], rax
	mov	QWORD PTR -13912[rbp], 0
	movsx	rax, edx
	mov	QWORD PTR -13936[rbp], rax
	mov	QWORD PTR -13928[rbp], 0
	movsx	rdx, edx
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	ebx, 16
	mov	edx, 0
	div	rbx
	imul	rdx, rax, 16
	mov	rax, rdx
	and	rax, -4096
	mov	rcx, rsp
	sub	rcx, rax
.L32:
	cmp	rsp, rcx
	je	.L33
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L32
.L33:
	mov	rax, rdx
	and	eax, 4095
	sub	rsp, rax
	mov	rax, rdx
	and	eax, 4095
	test	rax, rax
	je	.L34
	mov	rax, rdx
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L34:
	mov	rax, rsp
	add	rax, 0
	mov	QWORD PTR -13632[rbp], rax
	mov	eax, DWORD PTR -13708[rbp]
	lea	esi, 1[rax]
	mov	edi, DWORD PTR -13708[rbp]
	movsx	rax, esi
	sub	rax, 1
	mov	QWORD PTR -13624[rbp], rax
	movsx	rax, esi
	mov	QWORD PTR -13952[rbp], rax
	mov	QWORD PTR -13944[rbp], 0
	movsx	rax, esi
	lea	rbx, 0[0+rax*4]
	movsx	rax, edi
	sub	rax, 1
	mov	QWORD PTR -13616[rbp], rax
	movsx	rax, esi
	mov	QWORD PTR -13808[rbp], rax
	mov	QWORD PTR -13800[rbp], 0
	movsx	rax, edi
	mov	QWORD PTR -13824[rbp], rax
	mov	QWORD PTR -13816[rbp], 0
	mov	r10, QWORD PTR -13808[rbp]
	mov	r11, QWORD PTR -13800[rbp]
	mov	rdx, r11
	mov	r8, QWORD PTR -13824[rbp]
	mov	r9, QWORD PTR -13816[rbp]
	imul	rdx, r8
	mov	rax, r9
	imul	rax, r10
	lea	rcx, [rdx+rax]
	mov	rax, r10
	mul	r8
	add	rcx, rdx
	mov	rdx, rcx
	movsx	rax, esi
	mov	QWORD PTR -13840[rbp], rax
	mov	QWORD PTR -13832[rbp], 0
	movsx	rax, edi
	mov	QWORD PTR -13856[rbp], rax
	mov	QWORD PTR -13848[rbp], 0
	mov	r8, QWORD PTR -13840[rbp]
	mov	r9, QWORD PTR -13832[rbp]
	mov	rdx, r9
	mov	r14, QWORD PTR -13856[rbp]
	mov	r15, QWORD PTR -13848[rbp]
	imul	rdx, r14
	mov	rax, r15
	imul	rax, r8
	lea	rcx, [rdx+rax]
	mov	rax, r8
	mul	r14
	add	rcx, rdx
	mov	rdx, rcx
	movsx	rdx, esi
	movsx	rax, edi
	imul	rax, rdx
	lea	rdx, 0[0+rax*4]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	edi, 16
	mov	edx, 0
	div	rdi
	imul	rdx, rax, 16
	mov	rax, rdx
	and	rax, -4096
	mov	rcx, rsp
	sub	rcx, rax
.L35:
	cmp	rsp, rcx
	je	.L36
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L35
.L36:
	mov	rax, rdx
	and	eax, 4095
	sub	rsp, rax
	mov	rax, rdx
	and	eax, 4095
	test	rax, rax
	je	.L37
	mov	rax, rdx
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L37:
	mov	rax, rsp
	add	rax, 3
	shr	rax, 2
	sal	rax, 2
	mov	QWORD PTR -13608[rbp], rax
	mov	edx, DWORD PTR -13708[rbp]
	movsx	rax, edx
	sub	rax, 1
	mov	QWORD PTR -13600[rbp], rax
	movsx	rax, edx
	mov	QWORD PTR -13968[rbp], rax
	mov	QWORD PTR -13960[rbp], 0
	movsx	rax, edx
	mov	QWORD PTR -13984[rbp], rax
	mov	QWORD PTR -13976[rbp], 0
	movsx	rax, edx
	lea	rdx, 0[0+rax*4]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	edi, 16
	mov	edx, 0
	div	rdi
	imul	rdx, rax, 16
	mov	rax, rdx
	and	rax, -4096
	mov	rcx, rsp
	sub	rcx, rax
.L38:
	cmp	rsp, rcx
	je	.L39
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L38
.L39:
	mov	rax, rdx
	and	eax, 4095
	sub	rsp, rax
	mov	rax, rdx
	and	eax, 4095
	test	rax, rax
	je	.L40
	mov	rax, rdx
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L40:
	mov	rax, rsp
	add	rax, 3
	shr	rax, 2
	sal	rax, 2
	mov	QWORD PTR -13592[rbp], rax
	mov	DWORD PTR -13724[rbp], 0
	jmp	.L41
.L46:
	mov	eax, DWORD PTR -13752[rbp]
	cmp	DWORD PTR -13724[rbp], eax
	jne	.L42
	mov	rdx, QWORD PTR -13648[rbp]
	mov	eax, DWORD PTR -13724[rbp]
	cdqe
	mov	DWORD PTR [rdx+rax*4], 0
	mov	rdx, QWORD PTR -13632[rbp]
	mov	eax, DWORD PTR -13724[rbp]
	cdqe
	mov	BYTE PTR [rdx+rax], 0
	jmp	.L43
.L42:
	mov	rdx, QWORD PTR -13648[rbp]
	mov	eax, DWORD PTR -13724[rbp]
	cdqe
	mov	DWORD PTR [rdx+rax*4], 2147483647
	mov	rdx, QWORD PTR -13632[rbp]
	mov	eax, DWORD PTR -13724[rbp]
	cdqe
	mov	BYTE PTR [rdx+rax], 0
.L43:
	mov	DWORD PTR -13728[rbp], 0
	jmp	.L44
.L45:
	mov	rsi, rbx
	shr	rsi, 2
	mov	rcx, QWORD PTR -13608[rbp]
	mov	eax, DWORD PTR -13728[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -13724[rbp]
	cdqe
	imul	rax, rsi
	add	rax, rdx
	mov	DWORD PTR [rcx+rax*4], 2147483647
	add	DWORD PTR -13728[rbp], 1
.L44:
	mov	eax, DWORD PTR -13728[rbp]
	cmp	eax, DWORD PTR -13708[rbp]
	jle	.L45
	mov	rdx, QWORD PTR -13592[rbp]
	mov	eax, DWORD PTR -13724[rbp]
	cdqe
	mov	DWORD PTR [rdx+rax*4], 0
	add	DWORD PTR -13724[rbp], 1
.L41:
	mov	eax, DWORD PTR -13724[rbp]
	cmp	eax, DWORD PTR -13708[rbp]
	jl	.L46
	mov	eax, DWORD PTR -13752[rbp]
	mov	rdx, QWORD PTR -13648[rbp]
	cdqe
	mov	DWORD PTR [rdx+rax*4], 0
	mov	rsi, rbx
	shr	rsi, 2
	mov	eax, DWORD PTR -13752[rbp]
	mov	ecx, DWORD PTR -13752[rbp]
	mov	rdx, QWORD PTR -13608[rbp]
	cdqe
	imul	rax, rsi
	mov	DWORD PTR [rdx+rax*4], ecx
	mov	eax, DWORD PTR -13752[rbp]
	mov	rdx, QWORD PTR -13592[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	mov	esi, DWORD PTR -13752[rbp]
	lea	ecx, 1[rax]
	mov	rdx, QWORD PTR -13592[rbp]
	movsx	rax, esi
	mov	DWORD PTR [rdx+rax*4], ecx
	mov	eax, DWORD PTR -13752[rbp]
	mov	DWORD PTR -13732[rbp], eax
	jmp	.L47
.L55:
	mov	rdx, QWORD PTR -13632[rbp]
	mov	eax, DWORD PTR -13732[rbp]
	cdqe
	mov	BYTE PTR [rdx+rax], 1
	mov	DWORD PTR -13736[rbp], 0
	jmp	.L48
.L54:
	mov	rdx, QWORD PTR -13632[rbp]
	mov	eax, DWORD PTR -13736[rbp]
	cdqe
	movzx	eax, BYTE PTR [rdx+rax]
	xor	eax, 1
	test	al, al
	je	.L49
	mov	r14, QWORD PTR -13872[rbp]
	mov	rsi, r14
	shr	rsi, 2
	mov	rcx, QWORD PTR -13672[rbp]
	mov	eax, DWORD PTR -13736[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -13732[rbp]
	cdqe
	imul	rax, rsi
	add	rax, rdx
	mov	eax, DWORD PTR [rcx+rax*4]
	cmp	eax, 2147483647
	je	.L49
	mov	rdx, QWORD PTR -13648[rbp]
	mov	eax, DWORD PTR -13732[rbp]
	cdqe
	mov	edi, DWORD PTR [rdx+rax*4]
	mov	rsi, r14
	shr	rsi, 2
	mov	rcx, QWORD PTR -13672[rbp]
	mov	eax, DWORD PTR -13736[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -13732[rbp]
	cdqe
	imul	rax, rsi
	add	rax, rdx
	mov	eax, DWORD PTR [rcx+rax*4]
	lea	ecx, [rdi+rax]
	mov	rdx, QWORD PTR -13648[rbp]
	mov	eax, DWORD PTR -13736[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	cmp	ecx, eax
	jge	.L49
	mov	rdx, QWORD PTR -13648[rbp]
	mov	eax, DWORD PTR -13732[rbp]
	cdqe
	mov	edi, DWORD PTR [rdx+rax*4]
	mov	rsi, r14
	shr	rsi, 2
	mov	rcx, QWORD PTR -13672[rbp]
	mov	eax, DWORD PTR -13736[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -13732[rbp]
	cdqe
	imul	rax, rsi
	add	rax, rdx
	mov	eax, DWORD PTR [rcx+rax*4]
	lea	ecx, [rdi+rax]
	mov	rdx, QWORD PTR -13648[rbp]
	mov	eax, DWORD PTR -13736[rbp]
	cdqe
	mov	DWORD PTR [rdx+rax*4], ecx
	mov	rdx, QWORD PTR -13592[rbp]
	mov	eax, DWORD PTR -13732[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	lea	ecx, 1[rax]
	mov	rdx, QWORD PTR -13592[rbp]
	mov	eax, DWORD PTR -13736[rbp]
	cdqe
	mov	DWORD PTR [rdx+rax*4], ecx
	mov	DWORD PTR -13740[rbp], 0
	jmp	.L50
.L53:
	mov	rdx, QWORD PTR -13592[rbp]
	mov	eax, DWORD PTR -13736[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	sub	eax, 1
	cmp	DWORD PTR -13740[rbp], eax
	jne	.L51
	mov	rcx, rbx
	shr	rcx, 2
	mov	rsi, QWORD PTR -13608[rbp]
	mov	eax, DWORD PTR -13740[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -13736[rbp]
	cdqe
	imul	rax, rcx
	add	rdx, rax
	mov	eax, DWORD PTR -13736[rbp]
	mov	DWORD PTR [rsi+rdx*4], eax
	jmp	.L52
.L51:
	mov	rsi, rbx
	shr	rsi, 2
	mov	rdi, rbx
	shr	rdi, 2
	mov	rcx, QWORD PTR -13608[rbp]
	mov	eax, DWORD PTR -13740[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -13732[rbp]
	cdqe
	imul	rax, rsi
	add	rax, rdx
	mov	esi, DWORD PTR [rcx+rax*4]
	mov	rcx, QWORD PTR -13608[rbp]
	mov	eax, DWORD PTR -13740[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -13736[rbp]
	cdqe
	imul	rax, rdi
	add	rax, rdx
	mov	DWORD PTR [rcx+rax*4], esi
.L52:
	add	DWORD PTR -13740[rbp], 1
.L50:
	mov	rdx, QWORD PTR -13592[rbp]
	mov	eax, DWORD PTR -13736[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	cmp	DWORD PTR -13740[rbp], eax
	jl	.L53
.L49:
	add	DWORD PTR -13736[rbp], 1
.L48:
	mov	eax, DWORD PTR -13736[rbp]
	cmp	eax, DWORD PTR -13708[rbp]
	jl	.L54
	mov	rdx, QWORD PTR -13632[rbp]
	mov	rcx, QWORD PTR -13648[rbp]
	mov	eax, DWORD PTR -13708[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	idx_process
	mov	DWORD PTR -13732[rbp], eax
.L47:
	cmp	DWORD PTR -13732[rbp], 2147483647
	jne	.L55
	mov	eax, DWORD PTR -13752[rbp]
	lea	rcx, -13584[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 8
	sub	rax, rdx
	add	rcx, rax
	mov	eax, DWORD PTR -13748[rbp]
	lea	rsi, -13584[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 8
	sub	rax, rdx
	add	rax, rsi
	mov	rdx, rcx
	mov	rsi, rax
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -13744[rbp], 0
	jmp	.L56
.L58:
	mov	rdi, rbx
	shr	rdi, 2
	mov	edx, DWORD PTR -13748[rbp]
	mov	rsi, QWORD PTR -13608[rbp]
	mov	eax, DWORD PTR -13744[rbp]
	movsx	rcx, eax
	movsx	rax, edx
	imul	rax, rdi
	add	rax, rcx
	mov	eax, DWORD PTR [rsi+rax*4]
	cmp	eax, 2147483647
	je	.L57
	mov	rdi, rbx
	shr	rdi, 2
	mov	edx, DWORD PTR -13748[rbp]
	mov	rsi, QWORD PTR -13608[rbp]
	mov	eax, DWORD PTR -13744[rbp]
	movsx	rcx, eax
	movsx	rax, edx
	imul	rax, rdi
	add	rax, rcx
	mov	eax, DWORD PTR [rsi+rax*4]
	lea	rcx, -13584[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 8
	sub	rax, rdx
	lea	rdx, [rcx+rax]
	mov	eax, DWORD PTR -13744[rbp]
	add	eax, 1
	mov	esi, eax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
.L57:
	add	DWORD PTR -13744[rbp], 1
.L56:
	mov	eax, DWORD PTR -13748[rbp]
	mov	rdx, QWORD PTR -13592[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	cmp	DWORD PTR -13744[rbp], eax
	jl	.L58
	mov	eax, DWORD PTR -13748[rbp]
	mov	rdx, QWORD PTR -13648[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	mov	esi, eax
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -13753[rbp]
	mov	rsi, rax
	lea	rdi, .LC21[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rsp, r12
.L26:
	movzx	eax, BYTE PTR -13753[rbp]
	cmp	al, 121
	je	.L59
	mov	rsp, QWORD PTR -13992[rbp]
	mov	eax, 0
	mov	rbx, QWORD PTR -56[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L61
	call	__stack_chk_fail@PLT
.L61:
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.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	"233334.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\012-1 menyatakan jarak tak hingga\000"
	.align	2
.LC1:
	.ascii	"0 menyatakan bahwa kedua vertex sama\012\000"
	.align	2
.LC2:
	.ascii	"%d\011\000"
	.text
	.align	2
	.global	printgraph
	.syntax unified
	.arm
	.fpu softvfp
	.type	printgraph, %function
printgraph:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #28
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	ldr	r4, [fp, #-32]
	sub	r3, r4, #1
	str	r3, [fp, #-16]
	mov	r3, r4
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	ldr	r0, .L8
	bl	puts
	ldr	r0, .L8+4
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L2
.L7:
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L3
.L6:
	mov	r2, r4
	ldr	r3, [fp, #-20]
	mul	r3, r2, r3
	lsl	r3, r3, #2
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	ldr	r2, [fp, #-24]
	ldr	r3, [r3, r2, lsl #2]
	cmn	r3, #-2147483647
	bne	.L4
	mvn	r1, #0
	ldr	r0, .L8+8
	bl	printf
	b	.L5
.L4:
	mov	r2, r4
	ldr	r3, [fp, #-20]
	mul	r3, r2, r3
	lsl	r3, r3, #2
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	ldr	r2, [fp, #-24]
	ldr	r3, [r3, r2, lsl #2]
	mov	r1, r3
	ldr	r0, .L8+8
	bl	printf
.L5:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L3:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	blt	.L6
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L2:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	blt	.L7
	nop
	nop
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L9:
	.align	2
.L8:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	printgraph, .-printgraph
	.align	2
	.global	idx_process
	.syntax unified
	.arm
	.fpu softvfp
	.type	idx_process, %function
idx_process:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #36
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	mov	r3, #0
	strb	r3, [fp, #-17]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L11
.L14:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L12
	ldrb	r3, [fp, #-17]
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L12
	ldr	r3, [fp, #-8]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	mov	r3, #1
	strb	r3, [fp, #-17]
	b	.L13
.L12:
	ldrb	r3, [fp, #-17]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L13
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L13
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	ble	.L13
	ldr	r3, [fp, #-8]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-12]
.L13:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L11:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	blt	.L14
	ldrb	r3, [fp, #-17]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L15
	ldr	r3, [fp, #-16]
	b	.L16
.L15:
	mvn	r3, #-2147483648
.L16:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	idx_process, .-idx_process
	.section	.rodata
	.align	2
.LC3:
	.ascii	"Selamat datang di database kota.\000"
	.align	2
.LC4:
	.ascii	"Silahkan masukkan nama file database nama-nama kota"
	.ascii	": \000"
	.align	2
.LC5:
	.ascii	"%s\000"
	.align	2
.LC6:
	.ascii	"r\000"
	.align	2
.LC7:
	.ascii	"\012\000"
	.align	2
.LC8:
	.ascii	"Pembacaan nama-nama kota berhasil.\000"
	.align	2
.LC9:
	.ascii	"Terdapat %d kota di lokasi yang berbeda\012\000"
	.align	2
.LC10:
	.ascii	"Silahkan masukkan nama file yang berisi jarak antar"
	.ascii	" masing-masing kota: \000"
	.align	2
.LC11:
	.ascii	" \000"
	.align	2
.LC12:
	.ascii	"Pembacaan jarak antar kota berhasil dilakukan.\012\000"
	.align	2
.LC13:
	.ascii	"\012Berikut adalah daftar nama-nama kota.\000"
	.align	2
.LC14:
	.ascii	"%d. %s\012\000"
	.align	2
.LC15:
	.ascii	"\012Pilih salah satu kota sebagai posisi awal (Cuku"
	.ascii	"p ketik angka saja): \000"
	.align	2
.LC16:
	.ascii	" %d\000"
	.align	2
.LC17:
	.ascii	"Pilih salah satu kota sebagai tujuan (Cukup ketik a"
	.ascii	"ngka saja): \000"
	.align	2
.LC18:
	.ascii	"\012Kota yang harus dilalui untuk mencapai %s denga"
	.ascii	"n posisi awal %s adalah: \012\000"
	.align	2
.LC19:
	.ascii	"\012Jarak antara kedua kota tersebut adalah %d mete"
	.ascii	"r\012\012\000"
	.align	2
.LC20:
	.ascii	"Apakah anda masih ingin mengelilingi kota? [y/n]: \000"
	.align	2
.LC21:
	.ascii	" %c\000"
	.align	2
.LC22:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 13640
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	add	fp, sp, #32
	sub	sp, sp, #13632
	sub	sp, sp, #12
	ldr	r3, .L49+76
	ldr	r3, [r3]
	str	r3, [fp, #-40]
	mov	r3,#0
	ldr	r0, .L49
	bl	puts
	ldr	r0, .L49+4
	bl	printf
	sub	r3, fp, #808
	mov	r1, r3
	ldr	r0, .L49+8
	bl	__isoc99_scanf
	sub	r3, fp, #12288
	sub	r3, r3, #36
	mov	r4, r3
	sub	r3, fp, #808
	ldr	r1, .L49+12
	mov	r0, r3
	bl	fopen
	str	r0, [r4, #-1292]
	sub	r3, fp, #12288
	sub	r3, r3, #36
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1300]
	b	.L18
.L19:
	sub	r3, fp, #12288
	sub	r3, r3, #36
	mov	r4, r3
	sub	r3, fp, #552
	ldr	r1, .L49+16
	mov	r0, r3
	bl	strtok
	str	r0, [r4, #-1296]
	sub	r2, fp, #13504
	sub	r2, r2, #36
	sub	r2, r2, #20
	sub	r3, fp, #12288
	sub	r3, r3, #36
	ldr	r1, [r3, #-1300]
	mov	r3, r1
	lsl	r3, r3, #8
	sub	r3, r3, r1
	add	r3, r2, r3
	sub	r2, fp, #12288
	sub	r2, r2, #36
	ldr	r1, [r2, #-1296]
	mov	r0, r3
	bl	strcpy
	sub	r3, fp, #12288
	sub	r3, r3, #36
	mov	r2, r3
	sub	r3, fp, #12288
	sub	r3, r3, #36
	ldr	r3, [r3, #-1300]
	add	r3, r3, #1
	str	r3, [r2, #-1300]
.L18:
	sub	r3, fp, #12288
	sub	r3, r3, #36
	mov	r2, r3
	sub	r3, fp, #552
	ldr	r2, [r2, #-1292]
	mov	r1, #255
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L19
	ldr	r0, .L49+20
	bl	puts
	sub	r3, fp, #12288
	sub	r3, r3, #36
	ldr	r1, [r3, #-1300]
	ldr	r0, .L49+24
	bl	printf
	ldr	r0, .L49+28
	bl	printf
	sub	r3, fp, #296
	mov	r1, r3
	ldr	r0, .L49+8
	bl	__isoc99_scanf
	sub	r3, fp, #12288
	sub	r3, r3, #36
	ldr	ip, [r3, #-1300]
	sub	r3, fp, #12288
	sub	r3, r3, #36
	ldr	lr, [r3, #-1300]
	mov	r3, sp
	mov	r9, r3
	sub	r3, ip, #1
	sub	r2, fp, #12288
	sub	r2, r2, #36
	str	r3, [r2, #-1288]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	lsl	r4, r3, #2
	sub	r3, lr, #1
	sub	r2, fp, #12288
	sub	r2, r2, #36
	str	r3, [r2, #-1284]
	mov	r3, ip
	mov	r6, r3
	mov	r7, #0
	mov	r3, lr
	mov	r0, r3
	mov	r1, #0
	mul	r2, r0, r7
	mul	r3, r6, r1
	add	r5, r2, r3
	umull	r2, r3, r6, r0
	add	r1, r5, r3
	mov	r3, r1
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #5
	orr	r1, r1, r2, lsr #27
	lsl	r0, r2, #5
	mov	r3, ip
	mov	r6, r3
	mov	r7, #0
	mov	r3, lr
	mov	r0, r3
	mov	r1, #0
	mul	r2, r0, r7
	mul	r3, r6, r1
	add	r5, r2, r3
	umull	r2, r3, r6, r0
	add	r1, r5, r3
	mov	r3, r1
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #5
	orr	r1, r1, r2, lsr #27
	lsl	r0, r2, #5
	mov	r3, ip
	mov	r2, lr
	mul	r3, r2, r3
	lsl	r3, r3, #2
	sub	r2, fp, #12288
	sub	r2, r2, #36
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [r2, #-1280]
	sub	r3, fp, #12288
	sub	r3, r3, #36
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1304]
	sub	r3, fp, #12288
	sub	r3, r3, #36
	mov	r5, r3
	sub	r3, fp, #296
	ldr	r1, .L49+12
	mov	r0, r3
	bl	fopen
	str	r0, [r5, #-1276]
	b	.L20
.L24:
	sub	r3, fp, #12288
	sub	r3, r3, #36
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1308]
	sub	r3, fp, #12288
	sub	r3, r3, #36
	mov	r5, r3
	sub	r3, fp, #552
	ldr	r1, .L49+32
	mov	r0, r3
	bl	strtok
	str	r0, [r5, #-1296]
	b	.L21
.L23:
	lsr	r5, r4, #2
	sub	r3, fp, #12288
	sub	r3, r3, #36
	ldr	r0, [r3, #-1296]
	bl	atoi
	sub	r3, fp, #12288
	sub	r3, r3, #36
	ldr	r3, [r3, #-1280]
	sub	r2, fp, #12288
	sub	r2, r2, #36
	ldr	r2, [r2, #-1304]
	mul	r1, r2, r5
	sub	r2, fp, #12288
	sub	r2, r2, #36
	ldr	r2, [r2, #-1308]
	add	r2, r1, r2
	str	r0, [r3, r2, lsl #2]
	lsr	r5, r4, #2
	sub	r3, fp, #12288
	sub	r3, r3, #36
	ldr	r0, [r3, #-1296]
	bl	atoi
	sub	r3, fp, #12288
	sub	r3, r3, #36
	ldr	r3, [r3, #-1280]
	sub	r2, fp, #12288
	sub	r2, r2, #36
	ldr	r2, [r2, #-1308]
	mul	r1, r2, r5
	sub	r2, fp, #12288
	sub	r2, r2, #36
	ldr	r2, [r2, #-1304]
	add	r2, r1, r2
	str	r0, [r3, r2, lsl #2]
	sub	r3, fp, #12288
	sub	r3, r3, #36
	ldr	r0, [r3, #-1296]
	bl	atoi
	mov	r3, r0
	cmn	r3, #1
	bne	.L22
	lsr	r2, r4, #2
	sub	r3, fp, #12288
	sub	r3, r3, #36
	ldr	r3, [r3, #-1280]
	sub	r1, fp, #12288
	sub	r1, r1, #36
	ldr	r1, [r1, #-1304]
	mul	r1, r2, r1
	sub	r2, fp, #12288
	sub	r2, r2, #36
	ldr	r2, [r2, #-1308]
	add	r2, r1, r2
	mvn	r1, #-2147483648
	str	r1, [r3, r2, lsl #2]
	lsr	r2, r4, #2
	sub	r3, fp, #12288
	sub	r3, r3, #36
	ldr	r3, [r3, #-1280]
	sub	r1, fp, #12288
	sub	r1, r1, #36
	ldr	r1, [r1, #-1308]
	mul	r1, r2, r1
	sub	r2, fp, #12288
	sub	r2, r2, #36
	ldr	r2, [r2, #-1304]
	add	r2, r1, r2
	mvn	r1, #-2147483648
	str	r1, [r3, r2, lsl #2]
.L22:
	sub	r3, fp, #12288
	sub	r3, r3, #36
	mov	r2, r3
	sub	r3, fp, #12288
	sub	r3, r3, #36
	ldr	r3, [r3, #-1308]
	add	r3, r3, #1
	str	r3, [r2, #-1308]
	sub	r3, fp, #12288
	sub	r3, r3, #36
	mov	r5, r3
	ldr	r1, .L49+32
	mov	r0, #0
	bl	strtok
	str	r0, [r5, #-1296]
.L21:
	sub	r3, fp, #12288
	sub	r3, r3, #36
	ldr	r3, [r3, #-1296]
	cmp	r3, #0
	bne	.L23
	sub	r3, fp, #12288
	sub	r3, r3, #36
	mov	r2, r3
	sub	r3, fp, #12288
	sub	r3, r3, #36
	ldr	r3, [r3, #-1304]
	add	r3, r3, #1
	str	r3, [r2, #-1304]
.L20:
	sub	r3, fp, #12288
	sub	r3, r3, #36
	mov	r2, r3
	sub	r3, fp, #552
	ldr	r2, [r2, #-1276]
	mov	r1, #255
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L24
	ldr	r0, .L49+36
	bl	puts
	sub	r3, fp, #12288
	sub	r3, r3, #36
	mov	r2, r3
	sub	r3, fp, #12288
	sub	r3, r3, #36
	ldr	r1, [r2, #-1280]
	ldr	r0, [r3, #-1300]
	bl	printgraph
	sub	r3, fp, #12288
	sub	r3, r3, #36
	mov	r2, #121
	strb	r2, [r3, #-1345]
	b	.L25
.L46:
	ldr	r0, .L49+40
	bl	puts
	sub	r3, fp, #12288
	sub	r3, r3, #36
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-1312]
	b	.L26
.L27:
	sub	r3, fp, #12288
	sub	r3, r3, #36
	ldr	r3, [r3, #-1312]
	sub	r1, r3, #1
	sub	r2, fp, #13504
	sub	r2, r2, #36
	sub	r2, r2, #20
	mov	r3, r1
	lsl	r3, r3, #8
	sub	r3, r3, r1
	add	r3, r2, r3
	sub	r2, fp, #12288
	sub	r2, r2, #36
	mov	r1, r2
	mov	r2, r3
	ldr	r1, [r1, #-1312]
	ldr	r0, .L49+60
	bl	printf
	sub	r3, fp, #12288
	sub	r3, r3, #36
	mov	r2, r3
	sub	r3, fp, #12288
	sub	r3, r3, #36
	ldr	r3, [r3, #-1312]
	add	r3, r3, #1
	str	r3, [r2, #-1312]
.L26:
	sub	r3, fp, #12288
	sub	r3, r3, #36
	mov	r2, r3
	sub	r3, fp, #12288
	sub	r3, r3, #36
	ldr	r2, [r2, #-1312]
	ldr	r3, [r3, #-1300]
	cmp	r2, r3
	ble	.L27
	ldr	r0, .L49+44
	bl	printf
	sub	r3, fp, #13632
	sub	r3, r3, #36
	mov	r1, r3
	ldr	r0, .L49+48
	bl	__isoc99_scanf
	sub	r3, fp, #12288
	sub	r3, r3, #36
	ldr	r3, [r3, #-1344]
	sub	r3, r3, #1
	sub	r2, fp, #12288
	sub	r2, r2, #36
	str	r3, [r2, #-1344]
	ldr	r0, .L49+52
	bl	printf
	sub	r3, fp, #13568
	sub	r3, r3, #36
	sub	r3, r3, #60
	mov	r1, r3
	ldr	r0, .L49+48
	bl	__isoc99_scanf
	sub	r3, fp, #12288
	sub	r3, r3, #36
	ldr	r3, [r3, #-1340]
	sub	r3, r3, #1
	sub	r2, fp, #12288
	sub	r2, r2, #36
	str	r3, [r2, #-1340]
	sub	r3, fp, #12288
	sub	r3, r3, #36
	ldr	ip, [r3, #-1300]
	mov	r3, sp
	mov	r10, r3
	sub	r3, ip, #1
	sub	r2, fp, #12288
	sub	r2, r2, #36
	str	r3, [r2, #-1272]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	lsl	r3, r3, #2
	sub	r2, fp, #12288
	sub	r2, r2, #36
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [r2, #-1268]
	sub	r3, fp, #12288
	sub	r3, r3, #36
	ldr	ip, [r3, #-1300]
	sub	r3, ip, #1
	sub	r2, fp, #12288
	sub	r2, r2, #36
	str	r3, [r2, #-1264]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	mov	r3, ip
	sub	r2, fp, #12288
	sub	r2, r2, #36
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #0
	str	r3, [r2, #-1260]
	sub	r3, fp, #12288
	sub	r3, r3, #36
	ldr	r3, [r3, #-1300]
	add	ip, r3, #1
	sub	r3, fp, #12288
	sub	r3, r3, #36
	ldr	lr, [r3, #-1300]
	sub	r3, ip, #1
	sub	r2, fp, #12288
	sub	r2, r2, #36
	str	r3, [r2, #-1256]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	lsl	r5, r3, #2
	sub	r3, lr, #1
	sub	r2, fp, #12288
	sub	r2, r2, #36
	str	r3, [r2, #-1252]
	mov	r3, ip
	mov	r6, r3
	mov	r7, #0
	mov	r3, lr
	mov	r0, r3
	mov	r1, #0
	mul	r2, r0, r7
	mul	r3, r6, r1
	add	r8, r2, r3
	umull	r2, r3, r6, r0
	add	r1, r8, r3
	mov	r3, r1
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #5
	orr	r1, r1, r2, lsr #27
	lsl	r0, r2, #5
	mov	r3, ip
	mov	r6, r3
	mov	r7, #0
	mov	r3, lr
	mov	r0, r3
	mov	r1, #0
	mul	r2, r0, r7
	mul	r3, r6, r1
	add	r8, r2, r3
	umull	r2, r3, r6, r0
	add	r1, r8, r3
	mov	r3, r1
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #5
	orr	r1, r1, r2, lsr #27
	lsl	r0, r2, #5
	mov	r3, ip
	mov	r2, lr
	mul	r3, r2, r3
	lsl	r3, r3, #2
	sub	r2, fp, #12288
	sub	r2, r2, #36
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [r2, #-1248]
	sub	r3, fp, #12288
	sub	r3, r3, #36
	ldr	ip, [r3, #-1300]
	sub	r3, ip, #1
	sub	r2, fp, #12288
	sub	r2, r2, #36
	str	r3, [r2, #-1244]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	lsl	r3, r3, #2
	sub	r2, fp, #12288
	sub	r2, r2, #36
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [r2, #-1240]
	sub	r3, fp, #12288
	sub	r3, r3, #36
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1316]
	b	.L28
.L33:
	sub	r3, fp, #12288
	sub	r3, r3, #36
	ldr	r3, [r3, #-1344]
	sub	r2, fp, #12288
	sub	r2, r2, #36
	ldr	r2, [r2, #-1316]
	cmp	r2, r3
	bne	.L29
	sub	r3, fp, #12288
	sub	r3, r3, #36
	ldr	r3, [r3, #-1268]
	sub	r2, fp, #12288
	sub	r2, r2, #36
	ldr	r2, [r2, #-1316]
	mov	r1, #0
	str	r1, [r3, r2, lsl #2]
	sub	r3, fp, #12288
	sub	r3, r3, #36
	ldr	r2, [r3, #-1260]
	sub	r3, fp, #12288
	sub	r3, r3, #36
	ldr	r3, [r3, #-1316]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	b	.L30
.L29:
	sub	r3, fp, #12288
	sub	r3, r3, #36
	ldr	r3, [r3, #-1268]
	sub	r2, fp, #12288
	sub	r2, r2, #36
	ldr	r2, [r2, #-1316]
	mvn	r1, #-2147483648
	str	r1, [r3, r2, lsl #2]
	sub	r3, fp, #12288
	sub	r3, r3, #36
	ldr	r2, [r3, #-1260]
	sub	r3, fp, #12288
	sub	r3, r3, #36
	ldr	r3, [r3, #-1316]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
.L30:
	sub	r3, fp, #12288
	sub	r3, r3, #36
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1320]
	b	.L31
.L32:
	lsr	r2, r5, #2
	sub	r3, fp, #12288
	sub	r3, r3, #36
	ldr	r3, [r3, #-1248]
	sub	r1, fp, #12288
	sub	r1, r1, #36
	ldr	r1, [r1, #-1316]
	mul	r1, r2, r1
	sub	r2, fp, #12288
	sub	r2, r2, #36
	ldr	r2, [r2, #-1320]
	add	r2, r1, r2
	mvn	r1, #-2147483648
	str	r1, [r3, r2, lsl #2]
	sub	r3, fp, #12288
	sub	r3, r3, #36
	mov	r2, r3
	sub	r3, fp, #12288
	sub	r3, r3, #36
	ldr	r3, [r3, #-1320]
	add	r3, r3, #1
	str	r3, [r2, #-1320]
.L31:
	sub	r3, fp, #12288
	sub	r3, r3, #36
	mov	r2, r3
	sub	r3, fp, #12288
	sub	r3, r3, #36
	ldr	r2, [r2, #-1320]
	ldr	r3, [r3, #-1300]
	cmp	r2, r3
	ble	.L32
	sub	r3, fp, #12288
	sub	r3, r3, #36
	ldr	r3, [r3, #-1240]
	sub	r2, fp, #12288
	sub	r2, r2, #36
	ldr	r2, [r2, #-1316]
	mov	r1, #0
	str	r1, [r3, r2, lsl #2]
	sub	r3, fp, #12288
	sub	r3, r3, #36
	mov	r2, r3
	sub	r3, fp, #12288
	sub	r3, r3, #36
	ldr	r3, [r3, #-1316]
	add	r3, r3, #1
	str	r3, [r2, #-1316]
.L28:
	sub	r3, fp, #12288
	sub	r3, r3, #36
	mov	r2, r3
	sub	r3, fp, #12288
	sub	r3, r3, #36
	ldr	r2, [r2, #-1316]
	ldr	r3, [r3, #-1300]
	cmp	r2, r3
	blt	.L33
	sub	r3, fp, #12288
	sub	r3, r3, #36
	ldr	r2, [r3, #-1344]
	sub	r3, fp, #12288
	sub	r3, r3, #36
	ldr	r3, [r3, #-1268]
	mov	r1, #0
	str	r1, [r3, r2, lsl #2]
	lsr	r2, r5, #2
	sub	r3, fp, #12288
	sub	r3, r3, #36
	ldr	r0, [r3, #-1344]
	sub	r3, fp, #12288
	sub	r3, r3, #36
	ldr	r1, [r3, #-1344]
	sub	r3, fp, #12288
	sub	r3, r3, #36
	ldr	r3, [r3, #-1248]
	mul	r2, r0, r2
	str	r1, [r3, r2, lsl #2]
	sub	r3, fp, #12288
	sub	r3, r3, #36
	ldr	r2, [r3, #-1344]
	sub	r3, fp, #12288
	sub	r3, r3, #36
	ldr	r3, [r3, #-1240]
	ldr	r3, [r3, r2, lsl #2]
	sub	r2, fp, #12288
	sub	r2, r2, #36
	ldr	r2, [r2, #-1344]
	add	r1, r3, #1
	sub	r3, fp, #12288
	sub	r3, r3, #36
	ldr	r3, [r3, #-1240]
	str	r1, [r3, r2, lsl #2]
	sub	r3, fp, #12288
	sub	r3, r3, #36
	mov	r2, r3
	sub	r3, fp, #12288
	sub	r3, r3, #36
	ldr	r3, [r3, #-1344]
	str	r3, [r2, #-1324]
	b	.L34
.L42:
	sub	r3, fp, #12288
	sub	r3, r3, #36
	ldr	r2, [r3, #-1260]
	sub	r3, fp, #12288
	sub	r3, r3, #36
	ldr	r3, [r3, #-1324]
	add	r3, r2, r3
	mov	r2, #1
	strb	r2, [r3]
	sub	r3, fp, #12288
	sub	r3, r3, #36
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1328]
	b	.L35
.L41:
	sub	r3, fp, #12288
	sub	r3, r3, #36
	ldr	r2, [r3, #-1260]
	sub	r3, fp, #12288
	sub	r3, r3, #36
	ldr	r3, [r3, #-1328]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L36
	lsr	r2, r4, #2
	sub	r3, fp, #12288
	sub	r3, r3, #36
	ldr	r3, [r3, #-1280]
	sub	r1, fp, #12288
	sub	r1, r1, #36
	ldr	r1, [r1, #-1324]
	mul	r1, r2, r1
	sub	r2, fp, #12288
	sub	r2, r2, #36
	ldr	r2, [r2, #-1328]
	add	r2, r1, r2
	ldr	r3, [r3, r2, lsl #2]
	cmn	r3, #-2147483647
	beq	.L36
	sub	r3, fp, #12288
	sub	r3, r3, #36
	ldr	r3, [r3, #-1268]
	sub	r2, fp, #12288
	sub	r2, r2, #36
	ldr	r2, [r2, #-1324]
	ldr	r2, [r3, r2, lsl #2]
	lsr	r1, r4, #2
	sub	r3, fp, #12288
	sub	r3, r3, #36
	ldr	r3, [r3, #-1280]
	sub	r0, fp, #12288
	sub	r0, r0, #36
	ldr	r0, [r0, #-1324]
	mul	r0, r1, r0
	sub	r1, fp, #12288
	sub	r1, r1, #36
	ldr	r1, [r1, #-1328]
	add	r1, r0, r1
	ldr	r3, [r3, r1, lsl #2]
	add	r2, r2, r3
	sub	r3, fp, #12288
	sub	r3, r3, #36
	ldr	r3, [r3, #-1268]
	sub	r1, fp, #12288
	sub	r1, r1, #36
	ldr	r1, [r1, #-1328]
	ldr	r3, [r3, r1, lsl #2]
	cmp	r2, r3
	bge	.L36
	sub	r3, fp, #12288
	sub	r3, r3, #36
	ldr	r3, [r3, #-1268]
	sub	r2, fp, #12288
	sub	r2, r2, #36
	ldr	r2, [r2, #-1324]
	ldr	r2, [r3, r2, lsl #2]
	lsr	r1, r4, #2
	sub	r3, fp, #12288
	sub	r3, r3, #36
	ldr	r3, [r3, #-1280]
	sub	r0, fp, #12288
	sub	r0, r0, #36
	ldr	r0, [r0, #-1324]
	mul	r0, r1, r0
	sub	r1, fp, #12288
	sub	r1, r1, #36
	ldr	r1, [r1, #-1328]
	add	r1, r0, r1
	ldr	r3, [r3, r1, lsl #2]
	add	r1, r2, r3
	sub	r3, fp, #12288
	sub	r3, r3, #36
	ldr	r3, [r3, #-1268]
	sub	r2, fp, #12288
	sub	r2, r2, #36
	ldr	r2, [r2, #-1328]
	str	r1, [r3, r2, lsl #2]
	sub	r3, fp, #12288
	sub	r3, r3, #36
	ldr	r3, [r3, #-1240]
	sub	r2, fp, #12288
	sub	r2, r2, #36
	ldr	r2, [r2, #-1324]
	ldr	r3, [r3, r2, lsl #2]
	add	r1, r3, #1
	sub	r3, fp, #12288
	sub	r3, r3, #36
	ldr	r3, [r3, #-1240]
	sub	r2, fp, #12288
	sub	r2, r2, #36
	ldr	r2, [r2, #-1328]
	str	r1, [r3, r2, lsl #2]
	sub	r3, fp, #12288
	sub	r3, r3, #36
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1332]
	b	.L37
.L40:
	sub	r3, fp, #12288
	sub	r3, r3, #36
	ldr	r3, [r3, #-1240]
	sub	r2, fp, #12288
	sub	r2, r2, #36
	ldr	r2, [r2, #-1328]
	ldr	r3, [r3, r2, lsl #2]
	sub	r3, r3, #1
	sub	r2, fp, #12288
	sub	r2, r2, #36
	ldr	r2, [r2, #-1332]
	cmp	r2, r3
	bne	.L38
	lsr	r2, r5, #2
	sub	r3, fp, #12288
	sub	r3, r3, #36
	ldr	r3, [r3, #-1248]
	sub	r1, fp, #12288
	sub	r1, r1, #36
	ldr	r1, [r1, #-1328]
	mul	r1, r2, r1
	sub	r2, fp, #12288
	sub	r2, r2, #36
	ldr	r2, [r2, #-1332]
	add	r2, r1, r2
	sub	r1, fp, #12288
	sub	r1, r1, #36
	ldr	r1, [r1, #-1328]
	str	r1, [r3, r2, lsl #2]
	b	.L39
.L38:
	lsr	r1, r5, #2
	lsr	r2, r5, #2
	sub	r3, fp, #12288
	sub	r3, r3, #36
	ldr	r3, [r3, #-1248]
	sub	r0, fp, #12288
	sub	r0, r0, #36
	ldr	r0, [r0, #-1324]
	mul	r0, r1, r0
	sub	r1, fp, #12288
	sub	r1, r1, #36
	ldr	r1, [r1, #-1332]
	add	r1, r0, r1
	ldr	r1, [r3, r1, lsl #2]
	sub	r3, fp, #12288
	sub	r3, r3, #36
	ldr	r3, [r3, #-1248]
	sub	r0, fp, #12288
	sub	r0, r0, #36
	ldr	r0, [r0, #-1328]
	mul	r0, r2, r0
	sub	r2, fp, #12288
	sub	r2, r2, #36
	ldr	r2, [r2, #-1332]
	add	r2, r0, r2
	str	r1, [r3, r2, lsl #2]
.L39:
	sub	r3, fp, #12288
	sub	r3, r3, #36
	mov	r2, r3
	sub	r3, fp, #12288
	sub	r3, r3, #36
	ldr	r3, [r3, #-1332]
	add	r3, r3, #1
	str	r3, [r2, #-1332]
.L37:
	sub	r3, fp, #12288
	sub	r3, r3, #36
	ldr	r3, [r3, #-1240]
	sub	r2, fp, #12288
	sub	r2, r2, #36
	ldr	r2, [r2, #-1328]
	ldr	r3, [r3, r2, lsl #2]
	sub	r2, fp, #12288
	sub	r2, r2, #36
	ldr	r2, [r2, #-1332]
	cmp	r2, r3
	blt	.L40
.L36:
	sub	r3, fp, #12288
	sub	r3, r3, #36
	mov	r2, r3
	sub	r3, fp, #12288
	sub	r3, r3, #36
	ldr	r3, [r3, #-1328]
	add	r3, r3, #1
	str	r3, [r2, #-1328]
.L35:
	sub	r3, fp, #12288
	sub	r3, r3, #36
	mov	r2, r3
	sub	r3, fp, #12288
	sub	r3, r3, #36
	ldr	r2, [r2, #-1328]
	ldr	r3, [r3, #-1300]
	cmp	r2, r3
	blt	.L41
	sub	r3, fp, #12288
	sub	r3, r3, #36
	mov	r6, r3
	sub	r3, fp, #12288
	sub	r3, r3, #36
	mov	r2, r3
	sub	r3, fp, #12288
	sub	r3, r3, #36
	mov	r1, r3
	sub	r3, fp, #12288
	sub	r3, r3, #36
	ldr	r2, [r2, #-1260]
	ldr	r1, [r1, #-1268]
	ldr	r0, [r3, #-1300]
	bl	idx_process
	str	r0, [r6, #-1324]
.L34:
	sub	r3, fp, #12288
	sub	r3, r3, #36
	ldr	r3, [r3, #-1324]
	cmn	r3, #-2147483647
	bne	.L42
	sub	r3, fp, #12288
	sub	r3, r3, #36
	ldr	r1, [r3, #-1340]
	sub	r2, fp, #13504
	sub	r2, r2, #36
	sub	r2, r2, #20
	mov	r3, r1
	lsl	r3, r3, #8
	sub	r3, r3, r1
	add	r0, r2, r3
	sub	r3, fp, #12288
	sub	r3, r3, #36
	ldr	r1, [r3, #-1344]
	sub	r2, fp, #13504
	sub	r2, r2, #36
	sub	r2, r2, #20
	mov	r3, r1
	lsl	r3, r3, #8
	sub	r3, r3, r1
	add	r3, r2, r3
	mov	r2, r3
	mov	r1, r0
	ldr	r0, .L49+56
	bl	printf
	sub	r3, fp, #12288
	sub	r3, r3, #36
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1336]
	b	.L43
.L50:
	.align	2
.L49:
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC14
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC22
.L45:
	lsr	r2, r5, #2
	sub	r3, fp, #12288
	sub	r3, r3, #36
	ldr	r1, [r3, #-1340]
	sub	r3, fp, #12288
	sub	r3, r3, #36
	ldr	r3, [r3, #-1248]
	mul	r1, r2, r1
	sub	r2, fp, #12288
	sub	r2, r2, #36
	ldr	r2, [r2, #-1336]
	add	r2, r1, r2
	ldr	r3, [r3, r2, lsl #2]
	cmn	r3, #-2147483647
	beq	.L44
	sub	r3, fp, #12288
	sub	r3, r3, #36
	ldr	r3, [r3, #-1336]
	add	r0, r3, #1
	lsr	r2, r5, #2
	sub	r3, fp, #12288
	sub	r3, r3, #36
	ldr	r1, [r3, #-1340]
	sub	r3, fp, #12288
	sub	r3, r3, #36
	ldr	r3, [r3, #-1248]
	mul	r1, r2, r1
	sub	r2, fp, #12288
	sub	r2, r2, #36
	ldr	r2, [r2, #-1336]
	add	r2, r1, r2
	ldr	r1, [r3, r2, lsl #2]
	sub	r2, fp, #13504
	sub	r2, r2, #36
	sub	r2, r2, #20
	mov	r3, r1
	lsl	r3, r3, #8
	sub	r3, r3, r1
	add	r3, r2, r3
	mov	r2, r3
	mov	r1, r0
	ldr	r0, .L49+60
	bl	printf
.L44:
	sub	r3, fp, #12288
	sub	r3, r3, #36
	mov	r2, r3
	sub	r3, fp, #12288
	sub	r3, r3, #36
	ldr	r3, [r3, #-1336]
	add	r3, r3, #1
	str	r3, [r2, #-1336]
.L43:
	sub	r3, fp, #12288
	sub	r3, r3, #36
	ldr	r2, [r3, #-1340]
	sub	r3, fp, #12288
	sub	r3, r3, #36
	ldr	r3, [r3, #-1240]
	ldr	r3, [r3, r2, lsl #2]
	sub	r2, fp, #12288
	sub	r2, r2, #36
	ldr	r2, [r2, #-1336]
	cmp	r2, r3
	blt	.L45
	sub	r3, fp, #12288
	sub	r3, r3, #36
	ldr	r2, [r3, #-1340]
	sub	r3, fp, #12288
	sub	r3, r3, #36
	ldr	r3, [r3, #-1268]
	ldr	r3, [r3, r2, lsl #2]
	mov	r1, r3
	ldr	r0, .L49+64
	bl	printf
	ldr	r0, .L49+68
	bl	printf
	sub	r3, fp, #13632
	sub	r3, r3, #36
	sub	r3, r3, #1
	mov	r1, r3
	ldr	r0, .L49+72
	bl	__isoc99_scanf
	mov	sp, r10
.L25:
	sub	r3, fp, #12288
	sub	r3, r3, #36
	ldrb	r3, [r3, #-1345]	@ zero_extendqisi2
	cmp	r3, #121
	beq	.L46
	mov	sp, r9
	mov	r3, #0
	ldr	r2, .L49+76
	ldr	r1, [r2]
	ldr	r2, [fp, #-40]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L48
	bl	__stack_chk_fail
.L48:
	mov	r0, r3
	sub	sp, fp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
