	.file	"977210.c"
	.intel_syntax noprefix
	.text
	.globl	max
	.type	max, @function
max:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -4[rbp], edi
	mov	DWORD PTR -8[rbp], esi
	mov	eax, DWORD PTR -4[rbp]
	cmp	DWORD PTR -8[rbp], eax
	cmovge	eax, DWORD PTR -8[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	max, .-max
	.globl	T
	.bss
	.align 32
	.type	T, @object
	.size	T, 168188
T:
	.zero	168188
	.text
	.globl	t_ini
	.type	t_ini, @function
t_ini:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -4[rbp], edi
	mov	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR T[rip+168184], eax
	mov	DWORD PTR T[rip+168180], 1
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	t_ini, .-t_ini
	.globl	t_add
	.type	t_add, @function
t_add:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -4[rbp], edi
	mov	DWORD PTR -8[rbp], esi
	mov	eax, DWORD PTR T[rip+168180]
	cdqe
	add	rax, 9012
	lea	rcx, 0[0+rax*8]
	lea	rdx, T[rip+16]
	mov	eax, DWORD PTR -8[rbp]
	mov	DWORD PTR [rcx+rdx], eax
	mov	ecx, DWORD PTR T[rip+168180]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, T[rip+8]
	mov	eax, DWORD PTR [rdx+rax]
	movsx	rdx, ecx
	add	rdx, 9012
	lea	rcx, 0[0+rdx*8]
	lea	rdx, T[rip+12]
	mov	DWORD PTR [rcx+rdx], eax
	mov	edx, DWORD PTR T[rip+168180]
	lea	eax, 1[rdx]
	mov	DWORD PTR T[rip+168180], eax
	mov	eax, DWORD PTR -4[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 2
	mov	rcx, rax
	lea	rax, T[rip+8]
	mov	DWORD PTR [rcx+rax], edx
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	t_add, .-t_add
	.globl	t_add2
	.type	t_add2, @function
t_add2:
.LFB3:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 8
	mov	DWORD PTR -4[rbp], edi
	mov	DWORD PTR -8[rbp], esi
	mov	edx, DWORD PTR -8[rbp]
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, edx
	mov	edi, eax
	call	t_add
	mov	edx, DWORD PTR -4[rbp]
	mov	eax, DWORD PTR -8[rbp]
	mov	esi, edx
	mov	edi, eax
	call	t_add
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	t_add2, .-t_add2
	.globl	mem
	.bss
	.align 32
	.type	mem, @object
	.size	mem, 48072
mem:
	.zero	48072
	.text
	.globl	t_dfs
	.type	t_dfs, @function
t_dfs:
.LFB4:
	.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
	mov	DWORD PTR -24[rbp], 0
	mov	eax, DWORD PTR -40[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, mem[rip]
	mov	eax, DWORD PTR [rdx+rax]
	test	eax, eax
	js	.L7
	mov	eax, DWORD PTR -40[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, mem[rip]
	mov	eax, DWORD PTR [rdx+rax]
	jmp	.L8
.L7:
	cmp	DWORD PTR -40[rbp], 1
	jne	.L9
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, T[rip]
	mov	eax, DWORD PTR [rdx+rax]
	add	DWORD PTR -24[rbp], eax
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, T[rip+8]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR -20[rbp], eax
	jmp	.L10
.L12:
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	add	rax, 9012
	lea	rdx, 0[0+rax*8]
	lea	rax, T[rip+16]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, T[rip+4]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	ecx, eax
	je	.L11
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	add	rax, 9012
	lea	rdx, 0[0+rax*8]
	lea	rax, T[rip+16]
	mov	eax, DWORD PTR [rdx+rax]
	mov	esi, 0
	mov	edi, eax
	call	t_dfs
	add	DWORD PTR -24[rbp], eax
.L11:
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	add	rax, 9012
	lea	rdx, 0[0+rax*8]
	lea	rax, T[rip+12]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR -20[rbp], eax
.L10:
	cmp	DWORD PTR -20[rbp], 0
	jne	.L12
	jmp	.L13
.L9:
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, T[rip+8]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR -20[rbp], eax
	jmp	.L14
.L16:
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	add	rax, 9012
	lea	rdx, 0[0+rax*8]
	lea	rax, T[rip+16]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, T[rip+4]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	ecx, eax
	je	.L15
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	add	rax, 9012
	lea	rdx, 0[0+rax*8]
	lea	rax, T[rip+16]
	mov	eax, DWORD PTR [rdx+rax]
	mov	esi, 1
	mov	edi, eax
	call	t_dfs
	mov	ebx, eax
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	add	rax, 9012
	lea	rdx, 0[0+rax*8]
	lea	rax, T[rip+16]
	mov	eax, DWORD PTR [rdx+rax]
	mov	esi, 0
	mov	edi, eax
	call	t_dfs
	mov	esi, ebx
	mov	edi, eax
	call	max
	add	DWORD PTR -24[rbp], eax
.L15:
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	add	rax, 9012
	lea	rdx, 0[0+rax*8]
	lea	rax, T[rip+12]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR -20[rbp], eax
.L14:
	cmp	DWORD PTR -20[rbp], 0
	jne	.L16
.L13:
	mov	eax, DWORD PTR -40[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	lea	rcx, 0[0+rax*4]
	lea	rdx, mem[rip]
	mov	eax, DWORD PTR -24[rbp]
	mov	DWORD PTR [rcx+rdx], eax
	mov	eax, DWORD PTR -40[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	lea	rax, mem[rip]
	mov	eax, DWORD PTR [rdx+rax]
.L8:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	t_dfs, .-t_dfs
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%d%d"
.LC2:
	.string	"%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB5:
	.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	lea	rax, -40[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -40[rbp]
	mov	edi, eax
	call	t_ini
	mov	DWORD PTR -28[rbp], 1
	jmp	.L18
.L19:
	lea	rax, -32[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	edx, DWORD PTR -32[rbp]
	mov	eax, DWORD PTR -28[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 2
	mov	rcx, rax
	lea	rax, T[rip]
	mov	DWORD PTR [rcx+rax], edx
	add	DWORD PTR -28[rbp], 1
.L18:
	mov	eax, DWORD PTR -40[rbp]
	cmp	DWORD PTR -28[rbp], eax
	jle	.L19
	mov	DWORD PTR -28[rbp], 1
	jmp	.L20
.L21:
	lea	rdx, -32[rbp]
	lea	rax, -36[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	edx, DWORD PTR -32[rbp]
	mov	eax, DWORD PTR -36[rbp]
	mov	esi, edx
	mov	edi, eax
	call	t_add2
	mov	eax, DWORD PTR -36[rbp]
	mov	edx, DWORD PTR -32[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 2
	mov	rcx, rax
	lea	rax, T[rip+4]
	mov	DWORD PTR [rcx+rax], edx
	add	DWORD PTR -28[rbp], 1
.L20:
	mov	eax, DWORD PTR -40[rbp]
	cmp	DWORD PTR -28[rbp], eax
	jl	.L21
	mov	DWORD PTR -28[rbp], 1
	jmp	.L22
.L25:
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, T[rip+4]
	mov	eax, DWORD PTR [rdx+rax]
	test	eax, eax
	jne	.L23
	mov	edx, 48072
	mov	esi, -1
	lea	rdi, mem[rip]
	call	memset@PLT
	mov	eax, DWORD PTR -28[rbp]
	mov	esi, 0
	mov	edi, eax
	call	t_dfs
	mov	ebx, eax
	mov	eax, DWORD PTR -28[rbp]
	mov	esi, 1
	mov	edi, eax
	call	t_dfs
	mov	esi, ebx
	mov	edi, eax
	call	max
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L24
.L23:
	add	DWORD PTR -28[rbp], 1
.L22:
	mov	eax, DWORD PTR -40[rbp]
	cmp	DWORD PTR -28[rbp], eax
	jle	.L25
.L24:
	mov	eax, 0
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L27
	call	__stack_chk_fail@PLT
.L27:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.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	"977210.c"
	.text
	.align	2
	.global	max
	.syntax unified
	.arm
	.fpu softvfp
	.type	max, %function
max:
	@ 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
	movge	r3, r2
	movlt	r3, r3
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	max, .-max
	.comm	T,168188,4
	.align	2
	.global	t_ini
	.syntax unified
	.arm
	.fpu softvfp
	.type	t_ini, %function
t_ini:
	@ 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]
	ldr	r3, .L4
	add	r3, r3, #167936
	mov	r2, r3
	ldr	r3, [fp, #-8]
	str	r3, [r2, #248]
	ldr	r3, .L4
	add	r3, r3, #167936
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #244]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L5:
	.align	2
.L4:
	.word	T
	.size	t_ini, .-t_ini
	.align	2
	.global	t_add
	.syntax unified
	.arm
	.fpu softvfp
	.type	t_add, %function
t_add:
	@ 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	r3, .L7
	add	r3, r3, #167936
	ldr	r3, [r3, #244]
	ldr	r2, .L7
	add	r3, r3, #8960
	add	r3, r3, #53
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r2, [fp, #-12]
	str	r2, [r3, #8]
	ldr	r3, .L7
	add	r3, r3, #167936
	ldr	r1, [r3, #244]
	ldr	r0, .L7
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	add	r3, r3, #8
	ldr	r2, [r3]
	ldr	r0, .L7
	add	r3, r1, #8960
	add	r3, r3, #53
	lsl	r3, r3, #3
	add	r3, r0, r3
	str	r2, [r3, #4]
	ldr	r3, .L7
	add	r3, r3, #167936
	ldr	r2, [r3, #244]
	add	r3, r2, #1
	ldr	r1, .L7
	add	r1, r1, #167936
	str	r3, [r1, #244]
	ldr	r0, .L7
	ldr	r1, [fp, #-8]
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	r3, r0, r3
	add	r3, r3, #8
	str	r2, [r3]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L8:
	.align	2
.L7:
	.word	T
	.size	t_add, .-t_add
	.align	2
	.global	t_add2
	.syntax unified
	.arm
	.fpu softvfp
	.type	t_add2, %function
t_add2:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	t_add
	ldr	r1, [fp, #-8]
	ldr	r0, [fp, #-12]
	bl	t_add
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	t_add2, .-t_add2
	.comm	mem,48072,4
	.align	2
	.global	t_dfs
	.syntax unified
	.arm
	.fpu softvfp
	.type	t_dfs, %function
t_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]
	mov	r3, #0
	str	r3, [fp, #-20]
	ldr	r1, .L21
	ldr	r3, [fp, #-24]
	lsl	r2, r3, #1
	ldr	r3, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r1, r3, lsl #2]
	cmp	r3, #0
	blt	.L11
	ldr	r1, .L21
	ldr	r3, [fp, #-24]
	lsl	r2, r3, #1
	ldr	r3, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r1, r3, lsl #2]
	b	.L12
.L11:
	ldr	r3, [fp, #-28]
	cmp	r3, #1
	bne	.L13
	ldr	r1, .L21+4
	ldr	r2, [fp, #-24]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	str	r3, [fp, #-20]
	ldr	r1, .L21+4
	ldr	r2, [fp, #-24]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #8
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	b	.L14
.L16:
	ldr	r2, .L21+4
	ldr	r3, [fp, #-16]
	add	r3, r3, #8960
	add	r3, r3, #53
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r1, [r3, #8]
	ldr	r0, .L21+4
	ldr	r2, [fp, #-24]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	add	r3, r3, #4
	ldr	r3, [r3]
	cmp	r1, r3
	beq	.L15
	ldr	r2, .L21+4
	ldr	r3, [fp, #-16]
	add	r3, r3, #8960
	add	r3, r3, #53
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r3, [r3, #8]
	mov	r1, #0
	mov	r0, r3
	bl	t_dfs
	mov	r2, r0
	ldr	r3, [fp, #-20]
	add	r3, r3, r2
	str	r3, [fp, #-20]
.L15:
	ldr	r2, .L21+4
	ldr	r3, [fp, #-16]
	add	r3, r3, #8960
	add	r3, r3, #53
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	str	r3, [fp, #-16]
.L14:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L16
	b	.L17
.L13:
	ldr	r1, .L21+4
	ldr	r2, [fp, #-24]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #8
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	b	.L18
.L20:
	ldr	r2, .L21+4
	ldr	r3, [fp, #-16]
	add	r3, r3, #8960
	add	r3, r3, #53
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r1, [r3, #8]
	ldr	r0, .L21+4
	ldr	r2, [fp, #-24]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	add	r3, r3, #4
	ldr	r3, [r3]
	cmp	r1, r3
	beq	.L19
	ldr	r2, .L21+4
	ldr	r3, [fp, #-16]
	add	r3, r3, #8960
	add	r3, r3, #53
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r3, [r3, #8]
	mov	r1, #0
	mov	r0, r3
	bl	t_dfs
	mov	r4, r0
	ldr	r2, .L21+4
	ldr	r3, [fp, #-16]
	add	r3, r3, #8960
	add	r3, r3, #53
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r3, [r3, #8]
	mov	r1, #1
	mov	r0, r3
	bl	t_dfs
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	max
	mov	r2, r0
	ldr	r3, [fp, #-20]
	add	r3, r3, r2
	str	r3, [fp, #-20]
.L19:
	ldr	r2, .L21+4
	ldr	r3, [fp, #-16]
	add	r3, r3, #8960
	add	r3, r3, #53
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	str	r3, [fp, #-16]
.L18:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L20
.L17:
	ldr	r1, .L21
	ldr	r3, [fp, #-24]
	lsl	r2, r3, #1
	ldr	r3, [fp, #-28]
	add	r3, r2, r3
	ldr	r2, [fp, #-20]
	str	r2, [r1, r3, lsl #2]
	ldr	r1, .L21
	ldr	r3, [fp, #-24]
	lsl	r2, r3, #1
	ldr	r3, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r1, r3, lsl #2]
.L12:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L22:
	.align	2
.L21:
	.word	mem
	.word	T
	.size	t_dfs, .-t_dfs
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d\000"
	.align	2
.LC1:
	.ascii	"%d%d\000"
	.align	2
.LC2:
	.ascii	"%d\012\000"
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ 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
	ldr	r3, .L34
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #32
	mov	r1, r3
	ldr	r0, .L34+4
	bl	__isoc99_scanf
	ldr	r3, [fp, #-32]
	mov	r0, r3
	bl	t_ini
	mov	r3, #1
	str	r3, [fp, #-20]
	b	.L24
.L25:
	sub	r3, fp, #24
	mov	r1, r3
	ldr	r0, .L34+4
	bl	__isoc99_scanf
	ldr	r1, [fp, #-24]
	ldr	r0, .L34+8
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	str	r1, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L24:
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	ble	.L25
	mov	r3, #1
	str	r3, [fp, #-20]
	b	.L26
.L27:
	sub	r2, fp, #24
	sub	r3, fp, #28
	mov	r1, r3
	ldr	r0, .L34+12
	bl	__isoc99_scanf
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-24]
	mov	r1, r2
	mov	r0, r3
	bl	t_add2
	ldr	r2, [fp, #-28]
	ldr	r1, [fp, #-24]
	ldr	r0, .L34+8
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	add	r3, r3, #4
	str	r1, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L26:
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	blt	.L27
	mov	r3, #1
	str	r3, [fp, #-20]
	b	.L28
.L31:
	ldr	r1, .L34+8
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #4
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L29
	ldr	r2, .L34+16
	mvn	r1, #0
	ldr	r0, .L34+20
	bl	memset
	mov	r1, #1
	ldr	r0, [fp, #-20]
	bl	t_dfs
	mov	r4, r0
	mov	r1, #0
	ldr	r0, [fp, #-20]
	bl	t_dfs
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	max
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L34+24
	bl	printf
	b	.L30
.L29:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L28:
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	ble	.L31
.L30:
	mov	r3, #0
	ldr	r2, .L34
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L33
	bl	__stack_chk_fail
.L33:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L35:
	.align	2
.L34:
	.word	.LC3
	.word	.LC0
	.word	T
	.word	.LC1
	.word	48072
	.word	mem
	.word	.LC2
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
