	.file	"23575992.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"%d "
	.text
	.globl	DFS
	.type	DFS, @function
DFS:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 808[rax]
	test	eax, eax
	jne	.L9
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 804[rax]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 808[rax], 1
	mov	DWORD PTR -4[rbp], 0
	jmp	.L4
.L8:
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	mov	rax, QWORD PTR [rax+rdx*8]
	mov	rcx, QWORD PTR [rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	mov	rax, QWORD PTR [rax+rdx*8]
	mov	rax, QWORD PTR 8[rax]
	cmp	rcx, rax
	je	.L10
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	mov	rax, QWORD PTR [rax+rdx*8]
	mov	rax, QWORD PTR [rax]
	cmp	QWORD PTR -24[rbp], rax
	jne	.L7
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	mov	rax, QWORD PTR [rax+rdx*8]
	mov	rax, QWORD PTR 8[rax]
	mov	rdi, rax
	call	DFS
	jmp	.L6
.L7:
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	mov	rax, QWORD PTR [rax+rdx*8]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	DFS
	jmp	.L6
.L10:
	nop
.L6:
	add	DWORD PTR -4[rbp], 1
.L4:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 800[rax]
	cmp	DWORD PTR -4[rbp], eax
	jl	.L8
	jmp	.L1
.L9:
	nop
.L1:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	DFS, .-DFS
	.globl	BFS
	.type	BFS, @function
BFS:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 848
	mov	QWORD PTR -840[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -828[rbp], 0
	mov	DWORD PTR -824[rbp], 0
	mov	eax, DWORD PTR -824[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -824[rbp], edx
	cdqe
	mov	rdx, QWORD PTR -840[rbp]
	mov	QWORD PTR -816[rbp+rax*8], rdx
	mov	eax, DWORD PTR -828[rbp]
	cdqe
	mov	rax, QWORD PTR -816[rbp+rax*8]
	mov	DWORD PTR 808[rax], 1
	jmp	.L12
.L20:
	mov	eax, DWORD PTR -828[rbp]
	cdqe
	mov	rax, QWORD PTR -816[rbp+rax*8]
	mov	eax, DWORD PTR 804[rax]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -820[rbp], 0
	jmp	.L13
.L19:
	mov	eax, DWORD PTR -828[rbp]
	cdqe
	mov	rax, QWORD PTR -816[rbp+rax*8]
	mov	edx, DWORD PTR -820[rbp]
	movsx	rdx, edx
	mov	rax, QWORD PTR [rax+rdx*8]
	mov	rcx, QWORD PTR [rax]
	mov	eax, DWORD PTR -828[rbp]
	cdqe
	mov	rax, QWORD PTR -816[rbp+rax*8]
	mov	edx, DWORD PTR -820[rbp]
	movsx	rdx, edx
	mov	rax, QWORD PTR [rax+rdx*8]
	mov	rax, QWORD PTR 8[rax]
	cmp	rcx, rax
	je	.L22
	mov	eax, DWORD PTR -828[rbp]
	cdqe
	mov	rax, QWORD PTR -816[rbp+rax*8]
	mov	edx, DWORD PTR -820[rbp]
	movsx	rdx, edx
	mov	rax, QWORD PTR [rax+rdx*8]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -828[rbp]
	cdqe
	mov	rax, QWORD PTR -816[rbp+rax*8]
	cmp	rdx, rax
	jne	.L16
	mov	eax, DWORD PTR -828[rbp]
	cdqe
	mov	rax, QWORD PTR -816[rbp+rax*8]
	mov	edx, DWORD PTR -820[rbp]
	movsx	rdx, edx
	mov	rax, QWORD PTR [rax+rdx*8]
	mov	rax, QWORD PTR 8[rax]
	mov	eax, DWORD PTR 808[rax]
	test	eax, eax
	jne	.L23
	mov	eax, DWORD PTR -828[rbp]
	cdqe
	mov	rax, QWORD PTR -816[rbp+rax*8]
	mov	edx, DWORD PTR -820[rbp]
	movsx	rdx, edx
	mov	rax, QWORD PTR [rax+rdx*8]
	mov	rax, QWORD PTR 8[rax]
	mov	DWORD PTR 808[rax], 1
	mov	eax, DWORD PTR -828[rbp]
	cdqe
	mov	rax, QWORD PTR -816[rbp+rax*8]
	mov	edx, DWORD PTR -820[rbp]
	movsx	rdx, edx
	mov	rdx, QWORD PTR [rax+rdx*8]
	mov	eax, DWORD PTR -824[rbp]
	lea	ecx, 1[rax]
	mov	DWORD PTR -824[rbp], ecx
	mov	rdx, QWORD PTR 8[rdx]
	cdqe
	mov	QWORD PTR -816[rbp+rax*8], rdx
	jmp	.L15
.L16:
	mov	eax, DWORD PTR -828[rbp]
	cdqe
	mov	rax, QWORD PTR -816[rbp+rax*8]
	mov	edx, DWORD PTR -820[rbp]
	movsx	rdx, edx
	mov	rax, QWORD PTR [rax+rdx*8]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 808[rax]
	test	eax, eax
	jne	.L24
	mov	eax, DWORD PTR -828[rbp]
	cdqe
	mov	rax, QWORD PTR -816[rbp+rax*8]
	mov	edx, DWORD PTR -820[rbp]
	movsx	rdx, edx
	mov	rax, QWORD PTR [rax+rdx*8]
	mov	rax, QWORD PTR [rax]
	mov	DWORD PTR 808[rax], 1
	mov	eax, DWORD PTR -828[rbp]
	cdqe
	mov	rax, QWORD PTR -816[rbp+rax*8]
	mov	edx, DWORD PTR -820[rbp]
	movsx	rdx, edx
	mov	rdx, QWORD PTR [rax+rdx*8]
	mov	eax, DWORD PTR -824[rbp]
	lea	ecx, 1[rax]
	mov	DWORD PTR -824[rbp], ecx
	mov	rdx, QWORD PTR [rdx]
	cdqe
	mov	QWORD PTR -816[rbp+rax*8], rdx
	jmp	.L15
.L22:
	nop
	jmp	.L15
.L23:
	nop
	jmp	.L15
.L24:
	nop
.L15:
	add	DWORD PTR -820[rbp], 1
.L13:
	mov	eax, DWORD PTR -828[rbp]
	cdqe
	mov	rax, QWORD PTR -816[rbp+rax*8]
	mov	eax, DWORD PTR 800[rax]
	cmp	DWORD PTR -820[rbp], eax
	jl	.L19
	add	DWORD PTR -828[rbp], 1
.L12:
	mov	eax, DWORD PTR -828[rbp]
	cmp	eax, DWORD PTR -824[rbp]
	jne	.L20
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L21
	call	__stack_chk_fail@PLT
.L21:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	BFS, .-BFS
	.section	.rodata
.LC1:
	.string	"%d :"
	.text
	.globl	print
	.type	print, @function
print:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -8[rbp], 0
	jmp	.L26
.L31:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	imul	rdx, rax, 816
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR 804[rax]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -4[rbp], 0
	jmp	.L27
.L30:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	imul	rdx, rax, 816
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	rax, QWORD PTR [rdx+rax*8]
	mov	rax, QWORD PTR [rax]
	mov	edx, DWORD PTR -8[rbp]
	movsx	rdx, edx
	imul	rcx, rdx, 816
	mov	rdx, QWORD PTR -24[rbp]
	add	rdx, rcx
	cmp	rax, rdx
	jne	.L28
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	imul	rdx, rax, 816
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	rax, QWORD PTR [rdx+rax*8]
	mov	rax, QWORD PTR 8[rax]
	mov	eax, DWORD PTR 804[rax]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L29
.L28:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	imul	rdx, rax, 816
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	rax, QWORD PTR [rdx+rax*8]
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR 804[rax]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
.L29:
	add	DWORD PTR -4[rbp], 1
.L27:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	imul	rdx, rax, 816
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR 800[rax]
	cmp	DWORD PTR -4[rbp], eax
	jl	.L30
	mov	edi, 10
	call	putchar@PLT
	add	DWORD PTR -8[rbp], 1
.L26:
	cmp	DWORD PTR -8[rbp], 9
	jle	.L31
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	print, .-print
	.section	.rodata
.LC2:
	.string	"!!"
	.align 8
.LC3:
	.string	"\n-----------------------------------------------------------------"
	.align 8
.LC4:
	.string	"\n================================================================="
	.text
	.globl	main
	.type	main, @function
main:
.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, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 2400
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	edi, 0
	call	time@PLT
	mov	edi, eax
	call	srand@PLT
	mov	DWORD PTR -10592[rbp], 0
	jmp	.L33
.L34:
	mov	eax, DWORD PTR -10592[rbp]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR -10592[rbp]
	cdqe
	imul	rax, rax, 816
	add	rax, rbp
	sub	rax, 7372
	mov	DWORD PTR [rax], edx
	mov	eax, DWORD PTR -10592[rbp]
	cdqe
	imul	rax, rax, 816
	add	rax, rbp
	sub	rax, 7376
	mov	DWORD PTR [rax], 0
	add	DWORD PTR -10592[rbp], 1
.L33:
	cmp	DWORD PTR -10592[rbp], 9
	jle	.L34
	call	rand@PLT
	mov	edx, eax
	movsx	rax, edx
	imul	rax, rax, 1717986919
	shr	rax, 32
	sar	eax, 3
	mov	esi, edx
	sar	esi, 31
	sub	eax, esi
	mov	ecx, eax
	mov	eax, ecx
	sal	eax, 2
	add	eax, ecx
	sal	eax, 2
	mov	ecx, edx
	sub	ecx, eax
	lea	eax, 1[rcx]
	mov	DWORD PTR -10588[rbp], eax
	mov	DWORD PTR -10592[rbp], 0
	jmp	.L35
.L36:
	call	rand@PLT
	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 -10584[rbp], eax
	mov	ecx, DWORD PTR -10584[rbp]
	mov	eax, ecx
	sal	eax, 2
	add	eax, ecx
	add	eax, eax
	sub	edx, eax
	mov	DWORD PTR -10584[rbp], edx
	call	rand@PLT
	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 -10580[rbp], eax
	mov	ecx, DWORD PTR -10580[rbp]
	mov	eax, ecx
	sal	eax, 2
	add	eax, ecx
	add	eax, eax
	sub	edx, eax
	mov	DWORD PTR -10580[rbp], edx
	call	rand@PLT
	movsx	rdx, eax
	imul	rdx, rdx, 1374389535
	shr	rdx, 32
	sar	edx, 5
	mov	ecx, eax
	sar	ecx, 31
	sub	edx, ecx
	imul	ecx, edx, 100
	sub	eax, ecx
	mov	edx, eax
	mov	eax, DWORD PTR -10592[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 10560
	mov	DWORD PTR [rax], edx
	lea	rdx, -8176[rbp]
	mov	eax, DWORD PTR -10584[rbp]
	cdqe
	imul	rax, rax, 816
	lea	rcx, [rdx+rax]
	mov	eax, DWORD PTR -10592[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 10576
	mov	QWORD PTR [rax], rcx
	lea	rdx, -8176[rbp]
	mov	eax, DWORD PTR -10580[rbp]
	cdqe
	imul	rax, rax, 816
	lea	rcx, [rdx+rax]
	mov	eax, DWORD PTR -10592[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rbp
	sub	rax, 10568
	mov	QWORD PTR [rax], rcx
	lea	rdi, .LC2[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -10584[rbp]
	cdqe
	imul	rax, rax, 816
	add	rax, rbp
	sub	rax, 7376
	mov	ecx, DWORD PTR [rax]
	lea	rsi, -10576[rbp]
	mov	eax, DWORD PTR -10592[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	lea	rdx, [rsi+rax]
	movsx	rcx, ecx
	mov	eax, DWORD PTR -10584[rbp]
	cdqe
	imul	rax, rax, 102
	add	rax, rcx
	mov	QWORD PTR -8176[rbp+rax*8], rdx
	mov	eax, DWORD PTR -10584[rbp]
	cdqe
	imul	rax, rax, 816
	add	rax, rbp
	sub	rax, 7376
	mov	eax, DWORD PTR [rax]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR -10584[rbp]
	cdqe
	imul	rax, rax, 816
	add	rax, rbp
	sub	rax, 7376
	mov	DWORD PTR [rax], edx
	mov	eax, DWORD PTR -10580[rbp]
	cdqe
	imul	rax, rax, 816
	add	rax, rbp
	sub	rax, 7376
	mov	ecx, DWORD PTR [rax]
	lea	rsi, -10576[rbp]
	mov	eax, DWORD PTR -10592[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	lea	rdx, [rsi+rax]
	movsx	rcx, ecx
	mov	eax, DWORD PTR -10580[rbp]
	cdqe
	imul	rax, rax, 102
	add	rax, rcx
	mov	QWORD PTR -8176[rbp+rax*8], rdx
	mov	eax, DWORD PTR -10580[rbp]
	cdqe
	imul	rax, rax, 816
	add	rax, rbp
	sub	rax, 7376
	mov	eax, DWORD PTR [rax]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR -10580[rbp]
	cdqe
	imul	rax, rax, 816
	add	rax, rbp
	sub	rax, 7376
	mov	DWORD PTR [rax], edx
	add	DWORD PTR -10592[rbp], 1
.L35:
	mov	eax, DWORD PTR -10592[rbp]
	cmp	eax, DWORD PTR -10588[rbp]
	jl	.L36
	lea	rax, -8176[rbp]
	mov	rdi, rax
	call	print
	mov	DWORD PTR -10592[rbp], 0
	jmp	.L37
.L38:
	lea	rdx, -8176[rbp]
	mov	eax, DWORD PTR -10592[rbp]
	cdqe
	imul	rax, rax, 816
	add	rax, rdx
	mov	rdi, rax
	call	BFS
	lea	rdi, .LC3[rip]
	call	puts@PLT
	lea	rdx, -8176[rbp]
	mov	eax, DWORD PTR -10592[rbp]
	cdqe
	imul	rax, rax, 816
	add	rax, rdx
	mov	rdi, rax
	call	DFS
	lea	rdi, .LC4[rip]
	call	puts@PLT
	add	DWORD PTR -10592[rbp], 1
.L37:
	cmp	DWORD PTR -10592[rbp], 9
	jle	.L38
	mov	eax, 0
	mov	rdi, QWORD PTR -8[rbp]
	sub	rdi, QWORD PTR fs:40
	je	.L40
	call	__stack_chk_fail@PLT
.L40:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.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	"23575992.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d \000"
	.text
	.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	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #408]
	cmp	r3, #0
	bne	.L9
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #404]
	mov	r1, r3
	ldr	r0, .L11
	bl	printf
	ldr	r3, [fp, #-16]
	mov	r2, #1
	str	r2, [r3, #408]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L4
.L8:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-8]
	ldr	r3, [r3, r2, lsl #2]
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	ldr	r1, [fp, #-8]
	ldr	r3, [r3, r1, lsl #2]
	ldr	r3, [r3, #4]
	cmp	r2, r3
	beq	.L10
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-8]
	ldr	r3, [r3, r2, lsl #2]
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bne	.L7
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-8]
	ldr	r3, [r3, r2, lsl #2]
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	DFS
	b	.L6
.L7:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-8]
	ldr	r3, [r3, r2, lsl #2]
	ldr	r3, [r3]
	mov	r0, r3
	bl	DFS
	b	.L6
.L10:
	nop
.L6:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L4:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #400]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L8
	b	.L1
.L9:
	nop
.L1:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L12:
	.align	2
.L11:
	.word	.LC0
	.size	DFS, .-DFS
	.section	.rodata
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	BFS
	.syntax unified
	.arm
	.fpu softvfp
	.type	BFS, %function
BFS:
	@ args = 0, pretend = 0, frame = 424
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #424
	str	r0, [fp, #-424]
	ldr	r3, .L27
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-420]
	mov	r3, #0
	str	r3, [fp, #-416]
	ldr	r3, [fp, #-416]
	add	r2, r3, #1
	str	r2, [fp, #-416]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [fp, #-424]
	str	r2, [r3, #-404]
	ldr	r3, [fp, #-420]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-404]
	mov	r2, #1
	str	r2, [r3, #408]
	b	.L14
.L22:
	ldr	r3, [fp, #-420]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-404]
	ldr	r3, [r3, #404]
	mov	r1, r3
	ldr	r0, .L27+4
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-412]
	b	.L15
.L21:
	ldr	r3, [fp, #-420]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-404]
	ldr	r2, [fp, #-412]
	ldr	r3, [r3, r2, lsl #2]
	ldr	r2, [r3]
	ldr	r3, [fp, #-420]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r3, [r3, #-404]
	ldr	r1, [fp, #-412]
	ldr	r3, [r3, r1, lsl #2]
	ldr	r3, [r3, #4]
	cmp	r2, r3
	beq	.L24
	ldr	r3, [fp, #-420]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-404]
	ldr	r2, [fp, #-412]
	ldr	r3, [r3, r2, lsl #2]
	ldr	r2, [r3]
	ldr	r3, [fp, #-420]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r3, [r3, #-404]
	cmp	r2, r3
	bne	.L18
	ldr	r3, [fp, #-420]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-404]
	ldr	r2, [fp, #-412]
	ldr	r3, [r3, r2, lsl #2]
	ldr	r3, [r3, #4]
	ldr	r3, [r3, #408]
	cmp	r3, #0
	bne	.L25
	ldr	r3, [fp, #-420]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-404]
	ldr	r2, [fp, #-412]
	ldr	r3, [r3, r2, lsl #2]
	ldr	r3, [r3, #4]
	mov	r2, #1
	str	r2, [r3, #408]
	ldr	r3, [fp, #-420]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-404]
	ldr	r2, [fp, #-412]
	ldr	r2, [r3, r2, lsl #2]
	ldr	r3, [fp, #-416]
	add	r1, r3, #1
	str	r1, [fp, #-416]
	ldr	r2, [r2, #4]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-404]
	b	.L17
.L18:
	ldr	r3, [fp, #-420]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-404]
	ldr	r2, [fp, #-412]
	ldr	r3, [r3, r2, lsl #2]
	ldr	r3, [r3]
	ldr	r3, [r3, #408]
	cmp	r3, #0
	bne	.L26
	ldr	r3, [fp, #-420]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-404]
	ldr	r2, [fp, #-412]
	ldr	r3, [r3, r2, lsl #2]
	ldr	r3, [r3]
	mov	r2, #1
	str	r2, [r3, #408]
	ldr	r3, [fp, #-420]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-404]
	ldr	r2, [fp, #-412]
	ldr	r2, [r3, r2, lsl #2]
	ldr	r3, [fp, #-416]
	add	r1, r3, #1
	str	r1, [fp, #-416]
	ldr	r2, [r2]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-404]
	b	.L17
.L24:
	nop
	b	.L17
.L25:
	nop
	b	.L17
.L26:
	nop
.L17:
	ldr	r3, [fp, #-412]
	add	r3, r3, #1
	str	r3, [fp, #-412]
.L15:
	ldr	r3, [fp, #-420]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-404]
	ldr	r3, [r3, #400]
	ldr	r2, [fp, #-412]
	cmp	r2, r3
	blt	.L21
	ldr	r3, [fp, #-420]
	add	r3, r3, #1
	str	r3, [fp, #-420]
.L14:
	ldr	r2, [fp, #-420]
	ldr	r3, [fp, #-416]
	cmp	r2, r3
	bne	.L22
	nop
	ldr	r3, .L27
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L23
	bl	__stack_chk_fail
.L23:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L28:
	.align	2
.L27:
	.word	.LC1
	.word	.LC0
	.size	BFS, .-BFS
	.section	.rodata
	.align	2
.LC2:
	.ascii	"%d :\000"
	.text
	.align	2
	.global	print
	.syntax unified
	.arm
	.fpu softvfp
	.type	print, %function
print:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L30
.L35:
	ldr	r3, [fp, #-12]
	mov	r2, #412
	mul	r3, r2, r3
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [r3, #404]
	mov	r1, r3
	ldr	r0, .L36
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L31
.L34:
	ldr	r3, [fp, #-12]
	mov	r2, #412
	mul	r3, r2, r3
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [fp, #-8]
	ldr	r3, [r3, r2, lsl #2]
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	mov	r1, #412
	mul	r3, r1, r3
	ldr	r1, [fp, #-16]
	add	r3, r1, r3
	cmp	r2, r3
	bne	.L32
	ldr	r3, [fp, #-12]
	mov	r2, #412
	mul	r3, r2, r3
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [fp, #-8]
	ldr	r3, [r3, r2, lsl #2]
	ldr	r3, [r3, #4]
	ldr	r3, [r3, #404]
	mov	r1, r3
	ldr	r0, .L36+4
	bl	printf
	b	.L33
.L32:
	ldr	r3, [fp, #-12]
	mov	r2, #412
	mul	r3, r2, r3
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [fp, #-8]
	ldr	r3, [r3, r2, lsl #2]
	ldr	r3, [r3]
	ldr	r3, [r3, #404]
	mov	r1, r3
	ldr	r0, .L36+4
	bl	printf
.L33:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L31:
	ldr	r3, [fp, #-12]
	mov	r2, #412
	mul	r3, r2, r3
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [r3, #400]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L34
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L30:
	ldr	r3, [fp, #-12]
	cmp	r3, #9
	ble	.L35
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L37:
	.align	2
.L36:
	.word	.LC2
	.word	.LC0
	.size	print, .-print
	.section	.rodata
	.align	2
.LC3:
	.ascii	"!!\000"
	.align	2
.LC4:
	.ascii	"\012-----------------------------------------------"
	.ascii	"------------------\000"
	.align	2
.LC5:
	.ascii	"\012==============================================="
	.ascii	"==================\000"
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 5344
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #5312
	sub	sp, sp, #32
	ldr	r3, .L47
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r0, #0
	bl	time
	mov	r3, r0
	mov	r0, r3
	bl	srand
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1244]
	b	.L39
.L40:
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-1244]
	add	r2, r3, #1
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r0, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-1244]
	mov	r1, #412
	mul	r3, r1, r3
	add	r3, r0, r3
	add	r3, r3, #376
	str	r2, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-1244]
	mov	r2, #412
	mul	r3, r2, r3
	add	r3, r1, r3
	add	r3, r3, #372
	mov	r2, #0
	str	r2, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-1244]
	add	r3, r3, #1
	str	r3, [r2, #-1244]
.L39:
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-1244]
	cmp	r3, #9
	ble	.L40
	bl	rand
	mov	r1, r0
	ldr	r3, .L47+4
	smull	r2, r3, r1, r3
	asr	r2, r3, #3
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r1, r3
	add	r3, r2, #1
	str	r3, [r1, #-1240]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1244]
	b	.L41
.L42:
	bl	rand
	mov	r2, r0
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r0, r3
	ldr	r3, .L47+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, [r0, #-1236]
	bl	rand
	mov	r2, r0
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r0, r3
	ldr	r3, .L47+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, [r0, #-1232]
	bl	rand
	mov	r1, r0
	ldr	r3, .L47+8
	smull	r2, r3, r1, r3
	asr	r2, r3, #5
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r0, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r1, [r3, #-1244]
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	r3, r0, r3
	sub	r3, r3, #1216
	sub	r3, r3, #4
	str	r2, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	sub	r3, r3, #28
	sub	r2, fp, #4096
	sub	r2, r2, #4
	ldr	r2, [r2, #-1236]
	mov	r1, #412
	mul	r2, r1, r2
	add	r1, r3, r2
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r0, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r2, [r3, #-1244]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	sub	r3, r3, #1216
	sub	r3, r3, #12
	str	r1, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	sub	r3, r3, #28
	sub	r2, fp, #4096
	sub	r2, r2, #4
	ldr	r2, [r2, #-1232]
	mov	r1, #412
	mul	r2, r1, r2
	add	r1, r3, r2
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r0, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r2, [r3, #-1244]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	sub	r3, r3, #1216
	sub	r3, r3, #8
	str	r1, [r3]
	ldr	r0, .L47+12
	bl	puts
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-1236]
	mov	r2, #412
	mul	r3, r2, r3
	add	r3, r1, r3
	add	r3, r3, #372
	ldr	r0, [r3]
	sub	r2, fp, #5312
	sub	r2, r2, #4
	sub	r2, r2, #12
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r1, [r3, #-1244]
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	r1, r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	lr, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r2, [r3, #-1236]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	ip, r3, #4
	add	r3, r3, ip
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r3, r0
	lsl	r3, r3, #2
	add	r3, lr, r3
	str	r1, [r3, #-28]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-1236]
	mov	r2, #412
	mul	r3, r2, r3
	add	r3, r1, r3
	add	r3, r3, #372
	ldr	r3, [r3]
	add	r2, r3, #1
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r0, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-1236]
	mov	r1, #412
	mul	r3, r1, r3
	add	r3, r0, r3
	add	r3, r3, #372
	str	r2, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-1232]
	mov	r2, #412
	mul	r3, r2, r3
	add	r3, r1, r3
	add	r3, r3, #372
	ldr	r0, [r3]
	sub	r2, fp, #5312
	sub	r2, r2, #4
	sub	r2, r2, #12
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r1, [r3, #-1244]
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	r1, r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	lr, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r2, [r3, #-1232]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	ip, r3, #4
	add	r3, r3, ip
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r3, r3, r0
	lsl	r3, r3, #2
	add	r3, lr, r3
	str	r1, [r3, #-28]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-1232]
	mov	r2, #412
	mul	r3, r2, r3
	add	r3, r1, r3
	add	r3, r3, #372
	ldr	r3, [r3]
	add	r2, r3, #1
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r0, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-1232]
	mov	r1, #412
	mul	r3, r1, r3
	add	r3, r0, r3
	add	r3, r3, #372
	str	r2, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-1244]
	add	r3, r3, #1
	str	r3, [r2, #-1244]
.L41:
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r2, [r2, #-1244]
	ldr	r3, [r3, #-1240]
	cmp	r2, r3
	blt	.L42
	sub	r3, fp, #4096
	sub	r3, r3, #4
	sub	r3, r3, #28
	mov	r0, r3
	bl	print
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1244]
	b	.L43
.L44:
	sub	r3, fp, #4096
	sub	r3, r3, #4
	sub	r3, r3, #28
	sub	r2, fp, #4096
	sub	r2, r2, #4
	ldr	r2, [r2, #-1244]
	mov	r1, #412
	mul	r2, r1, r2
	add	r3, r3, r2
	mov	r0, r3
	bl	BFS
	ldr	r0, .L47+16
	bl	puts
	sub	r3, fp, #4096
	sub	r3, r3, #4
	sub	r3, r3, #28
	sub	r2, fp, #4096
	sub	r2, r2, #4
	ldr	r2, [r2, #-1244]
	mov	r1, #412
	mul	r2, r1, r2
	add	r3, r3, r2
	mov	r0, r3
	bl	DFS
	ldr	r0, .L47+20
	bl	puts
	sub	r3, fp, #4096
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-1244]
	add	r3, r3, #1
	str	r3, [r2, #-1244]
.L43:
	sub	r3, fp, #4096
	sub	r3, r3, #4
	ldr	r3, [r3, #-1244]
	cmp	r3, #9
	ble	.L44
	mov	r3, #0
	ldr	r2, .L47
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L46
	bl	__stack_chk_fail
.L46:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L48:
	.align	2
.L47:
	.word	.LC6
	.word	1717986919
	.word	1374389535
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
