	.file	"788605.c"
	.intel_syntax noprefix
	.text
	.globl	get_n
	.type	get_n, @function
get_n:
.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	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -32[rbp], edx
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -5[rbp], al
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	edx, DWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	strtol@PLT
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	movzx	eax, BYTE PTR -5[rbp]
	mov	BYTE PTR [rdx], al
	mov	eax, DWORD PTR -4[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	get_n, .-get_n
	.section	.rodata
.LC0:
	.string	"r"
.LC1:
	.string	"inputs/input16"
.LC2:
	.string	"%s"
.LC3:
	.string	"%ld\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	r11, -7290880[rsp]
.LPSRL0:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL0
	sub	rsp, 800
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	fopen@PLT
	mov	QWORD PTR -7291552[rbp], rax
	lea	rdx, -13536[rbp]
	mov	rax, QWORD PTR -7291552[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	DWORD PTR -7291672[rbp], 0
	mov	DWORD PTR -7291668[rbp], 0
	jmp	.L4
.L7:
	mov	eax, DWORD PTR -7291668[rbp]
	cdqe
	lea	rdx, -13536[rbp]
	add	rax, rdx
	mov	edx, 16
	mov	esi, 1
	mov	rdi, rax
	call	get_n
	mov	DWORD PTR -7291596[rbp], eax
	mov	DWORD PTR -7291664[rbp], 3
	jmp	.L5
.L6:
	mov	eax, DWORD PTR -7291664[rbp]
	mov	edx, DWORD PTR -7291596[rbp]
	mov	ecx, eax
	sar	edx, cl
	mov	eax, edx
	and	eax, 1
	lea	ecx, 48[rax]
	mov	eax, DWORD PTR -7291672[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -7291672[rbp], edx
	mov	edx, ecx
	cdqe
	mov	BYTE PTR -12032[rbp+rax], dl
	sub	DWORD PTR -7291664[rbp], 1
.L5:
	cmp	DWORD PTR -7291664[rbp], 0
	jns	.L6
	add	DWORD PTR -7291668[rbp], 1
.L4:
	mov	eax, DWORD PTR -7291668[rbp]
	cdqe
	movzx	eax, BYTE PTR -13536[rbp+rax]
	test	al, al
	jne	.L7
	mov	eax, DWORD PTR -7291672[rbp]
	cdqe
	mov	BYTE PTR -12032[rbp+rax], 0
	lea	rax, -7237536[rbp]
	mov	edx, 24000
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	DWORD PTR -7291660[rbp], 1
	mov	DWORD PTR -7285536[rbp], -1
	mov	DWORD PTR -7261536[rbp], 1
	mov	BYTE PTR -7291536[rbp], 0
	mov	DWORD PTR -7291656[rbp], 0
	jmp	.L8
.L53:
	mov	eax, DWORD PTR -7291656[rbp]
	cdqe
	lea	rdx, -12032[rbp]
	add	rax, rdx
	mov	edx, 2
	mov	esi, 0
	mov	rdi, rax
	call	strtol@PLT
	test	rax, rax
	je	.L56
	mov	eax, DWORD PTR -7291656[rbp]
	mov	DWORD PTR -7291616[rbp], eax
	add	DWORD PTR -7291656[rbp], 3
	mov	eax, DWORD PTR -7291656[rbp]
	cdqe
	lea	rdx, -12032[rbp]
	add	rax, rdx
	mov	edx, 2
	mov	esi, 3
	mov	rdi, rax
	call	get_n
	mov	DWORD PTR -7291612[rbp], eax
	add	DWORD PTR -7291656[rbp], 3
	cmp	DWORD PTR -7291612[rbp], 4
	jne	.L11
	mov	DWORD PTR -7291652[rbp], 0
.L14:
	mov	eax, DWORD PTR -7291656[rbp]
	cdqe
	lea	rdx, -12032[rbp]
	add	rax, rdx
	mov	edx, 2
	mov	esi, 1
	mov	rdi, rax
	call	get_n
	mov	DWORD PTR -7291604[rbp], eax
	add	DWORD PTR -7291656[rbp], 1
	mov	eax, DWORD PTR -7291656[rbp]
	cdqe
	lea	rdx, -12032[rbp]
	add	rax, rdx
	mov	edx, 2
	mov	esi, 4
	mov	rdi, rax
	call	get_n
	mov	DWORD PTR -7291600[rbp], eax
	add	DWORD PTR -7291656[rbp], 4
	mov	DWORD PTR -7291648[rbp], 3
	jmp	.L12
.L13:
	mov	eax, DWORD PTR -7291648[rbp]
	mov	edx, DWORD PTR -7291600[rbp]
	mov	ecx, eax
	sar	edx, cl
	mov	eax, edx
	and	eax, 1
	lea	ecx, 48[rax]
	mov	eax, DWORD PTR -7291652[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -7291652[rbp], edx
	mov	edx, ecx
	cdqe
	mov	BYTE PTR -6016[rbp+rax], dl
	sub	DWORD PTR -7291648[rbp], 1
.L12:
	cmp	DWORD PTR -7291648[rbp], 0
	jns	.L13
	cmp	DWORD PTR -7291604[rbp], 0
	jne	.L14
	mov	eax, DWORD PTR -7291652[rbp]
	cdqe
	mov	BYTE PTR -6016[rbp+rax], 0
	lea	rax, -6016[rbp]
	mov	edx, 2
	mov	esi, 0
	mov	rdi, rax
	call	strtol@PLT
	mov	QWORD PTR -7291544[rbp], rax
	mov	eax, DWORD PTR -7291660[rbp]
	lea	esi, -1[rax]
	mov	eax, DWORD PTR -7291660[rbp]
	lea	edx, -1[rax]
	movsx	rax, edx
	mov	eax, DWORD PTR -7237536[rbp+rax*4]
	lea	ecx, 1[rax]
	movsx	rdx, edx
	mov	DWORD PTR -7237536[rbp+rdx*4], ecx
	movsx	rdx, eax
	movsx	rax, esi
	imul	rax, rax, 150
	add	rdx, rax
	mov	rax, QWORD PTR -7291544[rbp]
	mov	QWORD PTR -7213536[rbp+rdx*8], rax
	mov	DWORD PTR -7291644[rbp], 0
	jmp	.L15
.L17:
	mov	eax, DWORD PTR -7291644[rbp]
	cdqe
	movzx	eax, BYTE PTR -7291536[rbp+rax]
	test	al, al
	je	.L16
	mov	eax, DWORD PTR -7291644[rbp]
	cdqe
	mov	edx, DWORD PTR -7261536[rbp+rax*4]
	mov	eax, DWORD PTR -7291656[rbp]
	sub	eax, DWORD PTR -7291616[rbp]
	sub	edx, eax
	mov	eax, DWORD PTR -7291644[rbp]
	cdqe
	mov	DWORD PTR -7261536[rbp+rax*4], edx
.L16:
	add	DWORD PTR -7291644[rbp], 1
.L15:
	mov	eax, DWORD PTR -7291644[rbp]
	cmp	eax, DWORD PTR -7291660[rbp]
	jl	.L17
	mov	eax, DWORD PTR -7291660[rbp]
	sub	eax, 1
	cdqe
	movzx	eax, BYTE PTR -7291536[rbp+rax]
	xor	eax, 1
	test	al, al
	je	.L25
	mov	eax, DWORD PTR -7291660[rbp]
	sub	eax, 1
	cdqe
	mov	eax, DWORD PTR -7261536[rbp+rax*4]
	mov	edx, DWORD PTR -7291660[rbp]
	lea	ecx, -1[rdx]
	lea	edx, -1[rax]
	movsx	rax, ecx
	mov	DWORD PTR -7261536[rbp+rax*4], edx
	jmp	.L25
.L11:
	mov	eax, DWORD PTR -7291656[rbp]
	cdqe
	lea	rdx, -12032[rbp]
	add	rax, rdx
	mov	edx, 2
	mov	esi, 1
	mov	rdi, rax
	call	get_n
	mov	DWORD PTR -7291608[rbp], eax
	add	DWORD PTR -7291656[rbp], 1
	cmp	DWORD PTR -7291608[rbp], 0
	jne	.L20
	mov	BYTE PTR -7291673[rbp], 1
	mov	eax, DWORD PTR -7291656[rbp]
	cdqe
	lea	rdx, -12032[rbp]
	add	rax, rdx
	mov	edx, 2
	mov	esi, 15
	mov	rdi, rax
	call	get_n
	mov	DWORD PTR -7291640[rbp], eax
	add	DWORD PTR -7291656[rbp], 15
	jmp	.L21
.L20:
	mov	BYTE PTR -7291673[rbp], 0
	mov	eax, DWORD PTR -7291656[rbp]
	cdqe
	lea	rdx, -12032[rbp]
	add	rax, rdx
	mov	edx, 2
	mov	esi, 11
	mov	rdi, rax
	call	get_n
	mov	DWORD PTR -7291640[rbp], eax
	add	DWORD PTR -7291656[rbp], 11
.L21:
	mov	DWORD PTR -7291636[rbp], 0
	jmp	.L22
.L24:
	mov	eax, DWORD PTR -7291636[rbp]
	cdqe
	movzx	eax, BYTE PTR -7291536[rbp+rax]
	test	al, al
	je	.L23
	mov	eax, DWORD PTR -7291636[rbp]
	cdqe
	mov	edx, DWORD PTR -7261536[rbp+rax*4]
	mov	eax, DWORD PTR -7291656[rbp]
	sub	eax, DWORD PTR -7291616[rbp]
	sub	edx, eax
	mov	eax, DWORD PTR -7291636[rbp]
	cdqe
	mov	DWORD PTR -7261536[rbp+rax*4], edx
.L23:
	add	DWORD PTR -7291636[rbp], 1
.L22:
	mov	eax, DWORD PTR -7291636[rbp]
	cmp	eax, DWORD PTR -7291660[rbp]
	jl	.L24
	mov	eax, DWORD PTR -7291660[rbp]
	cdqe
	mov	edx, DWORD PTR -7291612[rbp]
	mov	DWORD PTR -7285536[rbp+rax*4], edx
	mov	eax, DWORD PTR -7291660[rbp]
	cdqe
	mov	edx, DWORD PTR -7291640[rbp]
	mov	DWORD PTR -7261536[rbp+rax*4], edx
	mov	eax, DWORD PTR -7291660[rbp]
	cdqe
	movzx	edx, BYTE PTR -7291673[rbp]
	mov	BYTE PTR -7291536[rbp+rax], dl
	add	DWORD PTR -7291660[rbp], 1
	jmp	.L25
.L52:
	sub	DWORD PTR -7291660[rbp], 1
	mov	eax, DWORD PTR -7291660[rbp]
	sub	eax, 1
	cdqe
	movzx	eax, BYTE PTR -7291536[rbp+rax]
	xor	eax, 1
	test	al, al
	je	.L26
	mov	eax, DWORD PTR -7291660[rbp]
	sub	eax, 1
	cdqe
	mov	eax, DWORD PTR -7261536[rbp+rax*4]
	mov	edx, DWORD PTR -7291660[rbp]
	lea	ecx, -1[rdx]
	lea	edx, -1[rax]
	movsx	rax, ecx
	mov	DWORD PTR -7261536[rbp+rax*4], edx
.L26:
	mov	QWORD PTR -7291592[rbp], -1
	mov	eax, DWORD PTR -7291660[rbp]
	cdqe
	mov	eax, DWORD PTR -7285536[rbp+rax*4]
	cmp	eax, 7
	ja	.L27
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L29[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L29[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L29:
	.long	.L35-.L29
	.long	.L34-.L29
	.long	.L33-.L29
	.long	.L32-.L29
	.long	.L27-.L29
	.long	.L31-.L29
	.long	.L30-.L29
	.long	.L28-.L29
	.text
.L35:
	mov	QWORD PTR -7291584[rbp], 0
	mov	DWORD PTR -7291632[rbp], 0
	jmp	.L36
.L37:
	mov	eax, DWORD PTR -7291632[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -7291660[rbp]
	cdqe
	imul	rax, rax, 150
	add	rax, rdx
	mov	rax, QWORD PTR -7213536[rbp+rax*8]
	add	QWORD PTR -7291584[rbp], rax
	add	DWORD PTR -7291632[rbp], 1
.L36:
	mov	eax, DWORD PTR -7291660[rbp]
	cdqe
	mov	eax, DWORD PTR -7237536[rbp+rax*4]
	cmp	DWORD PTR -7291632[rbp], eax
	jl	.L37
	mov	rax, QWORD PTR -7291584[rbp]
	mov	QWORD PTR -7291592[rbp], rax
	jmp	.L27
.L34:
	mov	QWORD PTR -7291576[rbp], 1
	mov	DWORD PTR -7291628[rbp], 0
	jmp	.L38
.L39:
	mov	eax, DWORD PTR -7291628[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -7291660[rbp]
	cdqe
	imul	rax, rax, 150
	add	rax, rdx
	mov	rax, QWORD PTR -7213536[rbp+rax*8]
	mov	rdx, QWORD PTR -7291576[rbp]
	imul	rax, rdx
	mov	QWORD PTR -7291576[rbp], rax
	add	DWORD PTR -7291628[rbp], 1
.L38:
	mov	eax, DWORD PTR -7291660[rbp]
	cdqe
	mov	eax, DWORD PTR -7237536[rbp+rax*4]
	cmp	DWORD PTR -7291628[rbp], eax
	jl	.L39
	mov	rax, QWORD PTR -7291576[rbp]
	mov	QWORD PTR -7291592[rbp], rax
	jmp	.L27
.L33:
	movabs	rax, 9223372036854775807
	mov	QWORD PTR -7291568[rbp], rax
	mov	DWORD PTR -7291624[rbp], 0
	jmp	.L40
.L42:
	mov	eax, DWORD PTR -7291624[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -7291660[rbp]
	cdqe
	imul	rax, rax, 150
	add	rax, rdx
	mov	rax, QWORD PTR -7213536[rbp+rax*8]
	cmp	QWORD PTR -7291568[rbp], rax
	jle	.L41
	mov	eax, DWORD PTR -7291624[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -7291660[rbp]
	cdqe
	imul	rax, rax, 150
	add	rax, rdx
	mov	rax, QWORD PTR -7213536[rbp+rax*8]
	mov	QWORD PTR -7291568[rbp], rax
.L41:
	add	DWORD PTR -7291624[rbp], 1
.L40:
	mov	eax, DWORD PTR -7291660[rbp]
	cdqe
	mov	eax, DWORD PTR -7237536[rbp+rax*4]
	cmp	DWORD PTR -7291624[rbp], eax
	jl	.L42
	mov	rax, QWORD PTR -7291568[rbp]
	mov	QWORD PTR -7291592[rbp], rax
	jmp	.L27
.L32:
	movabs	rax, -9223372036854775808
	mov	QWORD PTR -7291560[rbp], rax
	mov	DWORD PTR -7291620[rbp], 0
	jmp	.L43
.L45:
	mov	eax, DWORD PTR -7291620[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -7291660[rbp]
	cdqe
	imul	rax, rax, 150
	add	rax, rdx
	mov	rax, QWORD PTR -7213536[rbp+rax*8]
	cmp	QWORD PTR -7291560[rbp], rax
	jge	.L44
	mov	eax, DWORD PTR -7291620[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -7291660[rbp]
	cdqe
	imul	rax, rax, 150
	add	rax, rdx
	mov	rax, QWORD PTR -7213536[rbp+rax*8]
	mov	QWORD PTR -7291560[rbp], rax
.L44:
	add	DWORD PTR -7291620[rbp], 1
.L43:
	mov	eax, DWORD PTR -7291660[rbp]
	cdqe
	mov	eax, DWORD PTR -7237536[rbp+rax*4]
	cmp	DWORD PTR -7291620[rbp], eax
	jl	.L45
	mov	rax, QWORD PTR -7291560[rbp]
	mov	QWORD PTR -7291592[rbp], rax
	jmp	.L27
.L31:
	mov	eax, DWORD PTR -7291660[rbp]
	cdqe
	imul	rax, rax, 1200
	add	rax, rbp
	sub	rax, 7213536
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -7291660[rbp]
	cdqe
	imul	rax, rax, 1200
	add	rax, rbp
	sub	rax, 7213528
	mov	rax, QWORD PTR [rax]
	cmp	rdx, rax
	jle	.L46
	mov	QWORD PTR -7291592[rbp], 1
	jmp	.L27
.L46:
	mov	QWORD PTR -7291592[rbp], 0
	jmp	.L27
.L30:
	mov	eax, DWORD PTR -7291660[rbp]
	cdqe
	imul	rax, rax, 1200
	add	rax, rbp
	sub	rax, 7213536
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -7291660[rbp]
	cdqe
	imul	rax, rax, 1200
	add	rax, rbp
	sub	rax, 7213528
	mov	rax, QWORD PTR [rax]
	cmp	rdx, rax
	jge	.L48
	mov	QWORD PTR -7291592[rbp], 1
	jmp	.L27
.L48:
	mov	QWORD PTR -7291592[rbp], 0
	jmp	.L27
.L28:
	mov	eax, DWORD PTR -7291660[rbp]
	cdqe
	imul	rax, rax, 1200
	add	rax, rbp
	sub	rax, 7213536
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -7291660[rbp]
	cdqe
	imul	rax, rax, 1200
	add	rax, rbp
	sub	rax, 7213528
	mov	rax, QWORD PTR [rax]
	cmp	rdx, rax
	jne	.L50
	mov	QWORD PTR -7291592[rbp], 1
	jmp	.L57
.L50:
	mov	QWORD PTR -7291592[rbp], 0
.L57:
	nop
.L27:
	mov	eax, DWORD PTR -7291660[rbp]
	lea	esi, -1[rax]
	mov	eax, DWORD PTR -7291660[rbp]
	lea	edx, -1[rax]
	movsx	rax, edx
	mov	eax, DWORD PTR -7237536[rbp+rax*4]
	lea	ecx, 1[rax]
	movsx	rdx, edx
	mov	DWORD PTR -7237536[rbp+rdx*4], ecx
	movsx	rdx, eax
	movsx	rax, esi
	imul	rax, rax, 150
	add	rdx, rax
	mov	rax, QWORD PTR -7291592[rbp]
	mov	QWORD PTR -7213536[rbp+rdx*8], rax
	mov	eax, DWORD PTR -7291660[rbp]
	cdqe
	mov	DWORD PTR -7237536[rbp+rax*4], 0
.L25:
	cmp	DWORD PTR -7291660[rbp], 0
	jle	.L8
	mov	eax, DWORD PTR -7291660[rbp]
	sub	eax, 1
	cdqe
	mov	eax, DWORD PTR -7261536[rbp+rax*4]
	test	eax, eax
	jle	.L52
.L8:
	mov	eax, DWORD PTR -7291656[rbp]
	cmp	eax, DWORD PTR -7291672[rbp]
	jl	.L53
	jmp	.L10
.L56:
	nop
.L10:
	mov	rax, QWORD PTR -7213536[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	mov	rdi, QWORD PTR -8[rbp]
	sub	rdi, QWORD PTR fs:40
	je	.L55
	call	__stack_chk_fail@PLT
.L55:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.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	"788605.c"
	.text
	.align	2
	.global	get_n
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_n, %function
get_n:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]
	strb	r3, [fp, #-9]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r2, [fp, #-24]
	mov	r1, #0
	ldr	r0, [fp, #-16]
	bl	strtol
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r2, [fp, #-9]
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	get_n, .-get_n
	.section	.rodata
	.align	2
.LC0:
	.ascii	"r\000"
	.align	2
.LC1:
	.ascii	"inputs/input16\000"
	.align	2
.LC2:
	.ascii	"%s\000"
	.align	2
.LC3:
	.ascii	"%ld\012\000"
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 3691632
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #3686400
	sub	sp, sp, #5184
	sub	sp, sp, #52
	ldr	r3, .L58
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r4, r3
	ldr	r1, .L58+4
	ldr	r0, .L58+8
	bl	fopen
	str	r0, [r4, #-1052]
	sub	r3, fp, #13504
	sub	r3, r3, #12
	sub	r3, r3, #12
	sub	r2, fp, #3686400
	sub	r2, r2, #12
	sub	r2, r2, #4096
	mov	r0, r2
	mov	r2, r3
	ldr	r1, .L58+12
	ldr	r0, [r0, #-1052]
	bl	__isoc99_fscanf
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1128]
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1124]
	b	.L4
.L7:
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r2, [r3, #-1124]
	sub	r3, fp, #13504
	sub	r3, r3, #12
	sub	r3, r3, #12
	add	r0, r3, r2
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r4, r3
	mov	r2, #16
	mov	r1, #1
	bl	get_n
	str	r0, [r4, #-1024]
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r2, r3
	mov	r3, #3
	str	r3, [r2, #-1120]
	b	.L5
.L6:
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r2, r3
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r2, [r2, #-1024]
	ldr	r3, [r3, #-1120]
	asr	r3, r2, r3
	and	r3, r3, #255
	and	r3, r3, #1
	and	r1, r3, #255
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r2, [r3, #-1128]
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r0, r3
	add	r3, r2, #1
	str	r3, [r0, #-1128]
	add	r3, r1, #48
	and	r1, r3, #255
	sub	r3, fp, #8192
	sub	r3, r3, #12
	add	r3, r3, r2
	mov	r2, r1
	strb	r2, [r3, #-3820]
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r2, r3
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r3, [r3, #-1120]
	sub	r3, r3, #1
	str	r3, [r2, #-1120]
.L5:
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r3, [r3, #-1120]
	cmp	r3, #0
	bge	.L6
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r2, r3
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r3, [r3, #-1124]
	add	r3, r3, #1
	str	r3, [r2, #-1124]
.L4:
	sub	r3, fp, #12288
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r3, [r3, #-1124]
	add	r3, r2, r3
	sub	r3, r3, #1216
	sub	r3, r3, #12
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L7
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r3, [r3, #-1128]
	add	r3, r2, r3
	sub	r3, r3, #3808
	sub	r3, r3, #12
	mov	r2, #0
	strb	r2, [r3]
	sub	r3, fp, #3637248
	sub	r3, r3, #12
	sub	r3, r3, #268
	ldr	r2, .L58+16
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-1116]
	sub	r3, fp, #3670016
	sub	r3, r3, #12
	sub	r3, r3, #12288
	mov	r2, r3
	mvn	r3, #0
	str	r3, [r2, #-3212]
	sub	r3, fp, #3653632
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-3788]
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r2, #0
	strb	r2, [r3, #-1020]
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1112]
	b	.L8
.L53:
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r2, [r3, #-1112]
	sub	r3, fp, #11968
	sub	r3, r3, #12
	sub	r3, r3, #44
	add	r3, r3, r2
	mov	r2, #2
	mov	r1, #0
	mov	r0, r3
	bl	strtol
	mov	r3, r0
	cmp	r3, #0
	beq	.L56
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r2, r3
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r3, [r3, #-1112]
	str	r3, [r2, #-1048]
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r2, r3
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r3, [r3, #-1112]
	add	r3, r3, #3
	str	r3, [r2, #-1112]
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r2, [r3, #-1112]
	sub	r3, fp, #11968
	sub	r3, r3, #12
	sub	r3, r3, #44
	add	r0, r3, r2
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r4, r3
	mov	r2, #2
	mov	r1, #3
	bl	get_n
	str	r0, [r4, #-1044]
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r2, r3
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r3, [r3, #-1112]
	add	r3, r3, #3
	str	r3, [r2, #-1112]
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r3, [r3, #-1044]
	cmp	r3, #4
	bne	.L11
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1108]
.L14:
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r2, [r3, #-1112]
	sub	r3, fp, #11968
	sub	r3, r3, #12
	sub	r3, r3, #44
	add	r0, r3, r2
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r4, r3
	mov	r2, #2
	mov	r1, #1
	bl	get_n
	str	r0, [r4, #-1036]
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r2, r3
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r3, [r3, #-1112]
	add	r3, r3, #1
	str	r3, [r2, #-1112]
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r2, [r3, #-1112]
	sub	r3, fp, #11968
	sub	r3, r3, #12
	sub	r3, r3, #44
	add	r0, r3, r2
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r4, r3
	mov	r2, #2
	mov	r1, #4
	bl	get_n
	str	r0, [r4, #-1032]
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r2, r3
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r3, [r3, #-1112]
	add	r3, r3, #4
	str	r3, [r2, #-1112]
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r2, r3
	mov	r3, #3
	str	r3, [r2, #-1104]
	b	.L12
.L13:
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r2, r3
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r2, [r2, #-1032]
	ldr	r3, [r3, #-1104]
	asr	r3, r2, r3
	and	r3, r3, #255
	and	r3, r3, #1
	and	r1, r3, #255
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r2, [r3, #-1108]
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r0, r3
	add	r3, r2, #1
	str	r3, [r0, #-1108]
	add	r3, r1, #48
	and	r1, r3, #255
	sub	r3, fp, #4096
	sub	r3, r3, #12
	add	r3, r3, r2
	mov	r2, r1
	strb	r2, [r3, #-1912]
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r2, r3
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r3, [r3, #-1104]
	sub	r3, r3, #1
	str	r3, [r2, #-1104]
.L12:
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r3, [r3, #-1104]
	cmp	r3, #0
	bge	.L13
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r3, [r3, #-1036]
	cmp	r3, #0
	bne	.L14
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r3, [r3, #-1108]
	add	r3, r2, r3
	sub	r3, r3, #1904
	sub	r3, r3, #8
	mov	r2, #0
	strb	r2, [r3]
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r4, r3
	sub	r3, fp, #5952
	sub	r3, r3, #12
	sub	r3, r3, #56
	mov	r2, #2
	mov	r1, #0
	mov	r0, r3
	bl	strtol
	str	r0, [r4, #-1028]
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r3, [r3, #-1116]
	sub	r0, r3, #1
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r3, [r3, #-1116]
	sub	r2, r3, #1
	sub	r3, fp, #3637248
	sub	r3, r3, #12
	mov	r1, r3
	lsl	r3, r2, #2
	add	r3, r1, r3
	ldr	r1, [r3, #-268]
	add	ip, r1, #1
	sub	r3, fp, #3637248
	sub	r3, r3, #12
	mov	lr, r3
	lsl	r3, r2, #2
	add	r3, lr, r3
	str	ip, [r3, #-268]
	sub	r3, fp, #3604480
	sub	r3, r3, #12
	sub	r3, r3, #8192
	mov	ip, r3
	mov	r3, r0
	lsl	r3, r3, #2
	add	r3, r3, r0
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #1
	mov	r2, r3
	add	r3, r2, r1
	lsl	r3, r3, #2
	add	r3, ip, r3
	sub	r2, fp, #3686400
	sub	r2, r2, #12
	sub	r2, r2, #4096
	ldr	r2, [r2, #-1028]
	str	r2, [r3, #-844]
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1100]
	b	.L15
.L17:
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r2, r3
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r3, [r3, #-1100]
	add	r3, r2, r3
	sub	r3, r3, #1020
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L16
	sub	r3, fp, #3653632
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r2, r3
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r3, [r3, #-1100]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3, #-3788]
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r1, r3
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r1, [r1, #-1112]
	ldr	r3, [r3, #-1048]
	sub	r3, r1, r3
	sub	r2, r2, r3
	sub	r3, fp, #3653632
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r1, r3
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r3, [r3, #-1100]
	lsl	r3, r3, #2
	add	r3, r1, r3
	str	r2, [r3, #-3788]
.L16:
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r2, r3
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r3, [r3, #-1100]
	add	r3, r3, #1
	str	r3, [r2, #-1100]
.L15:
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r2, r3
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r2, [r2, #-1100]
	ldr	r3, [r3, #-1116]
	cmp	r2, r3
	blt	.L17
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r3, [r3, #-1116]
	sub	r2, r3, #1
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	add	r3, r3, r2
	ldrb	r3, [r3, #-1020]	@ zero_extendqisi2
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L25
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r3, [r3, #-1116]
	sub	r2, r3, #1
	sub	r3, fp, #3653632
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r1, r3
	lsl	r3, r2, #2
	add	r3, r1, r3
	ldr	r2, [r3, #-3788]
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r3, [r3, #-1116]
	sub	r1, r3, #1
	sub	r2, r2, #1
	sub	r3, fp, #3653632
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r0, r3
	lsl	r3, r1, #2
	add	r3, r0, r3
	str	r2, [r3, #-3788]
	b	.L25
.L11:
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r2, [r3, #-1112]
	sub	r3, fp, #11968
	sub	r3, r3, #12
	sub	r3, r3, #44
	add	r0, r3, r2
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r4, r3
	mov	r2, #2
	mov	r1, #1
	bl	get_n
	str	r0, [r4, #-1040]
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r2, r3
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r3, [r3, #-1112]
	add	r3, r3, #1
	str	r3, [r2, #-1112]
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r3, [r3, #-1040]
	cmp	r3, #0
	bne	.L20
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r2, #1
	strb	r2, [r3, #-1129]
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r2, [r3, #-1112]
	sub	r3, fp, #11968
	sub	r3, r3, #12
	sub	r3, r3, #44
	add	r0, r3, r2
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r4, r3
	mov	r2, #2
	mov	r1, #15
	bl	get_n
	str	r0, [r4, #-1096]
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r2, r3
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r3, [r3, #-1112]
	add	r3, r3, #15
	str	r3, [r2, #-1112]
	b	.L21
.L20:
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r2, #0
	strb	r2, [r3, #-1129]
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r2, [r3, #-1112]
	sub	r3, fp, #11968
	sub	r3, r3, #12
	sub	r3, r3, #44
	add	r0, r3, r2
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r4, r3
	mov	r2, #2
	mov	r1, #11
	bl	get_n
	str	r0, [r4, #-1096]
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r2, r3
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r3, [r3, #-1112]
	add	r3, r3, #11
	str	r3, [r2, #-1112]
.L21:
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1092]
	b	.L22
.L24:
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r2, r3
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r3, [r3, #-1092]
	add	r3, r2, r3
	sub	r3, r3, #1020
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L23
	sub	r3, fp, #3653632
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r2, r3
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r3, [r3, #-1092]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3, #-3788]
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r1, r3
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r1, [r1, #-1112]
	ldr	r3, [r3, #-1048]
	sub	r3, r1, r3
	sub	r2, r2, r3
	sub	r3, fp, #3653632
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r1, r3
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r3, [r3, #-1092]
	lsl	r3, r3, #2
	add	r3, r1, r3
	str	r2, [r3, #-3788]
.L23:
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r2, r3
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r3, [r3, #-1092]
	add	r3, r3, #1
	str	r3, [r2, #-1092]
.L22:
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r2, r3
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r2, [r2, #-1092]
	ldr	r3, [r3, #-1116]
	cmp	r2, r3
	blt	.L24
	sub	r3, fp, #3670016
	sub	r3, r3, #12
	sub	r3, r3, #12288
	mov	r2, r3
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r3, [r3, #-1116]
	lsl	r3, r3, #2
	add	r3, r2, r3
	sub	r2, fp, #3686400
	sub	r2, r2, #12
	sub	r2, r2, #4096
	ldr	r2, [r2, #-1044]
	str	r2, [r3, #-3212]
	sub	r3, fp, #3653632
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r2, r3
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r3, [r3, #-1116]
	lsl	r3, r3, #2
	add	r3, r2, r3
	sub	r2, fp, #3686400
	sub	r2, r2, #12
	sub	r2, r2, #4096
	ldr	r2, [r2, #-1096]
	str	r2, [r3, #-3788]
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r2, r3
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r3, [r3, #-1116]
	add	r3, r2, r3
	sub	r2, r3, #1020
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldrb	r3, [r3, #-1129]
	strb	r3, [r2]
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r2, r3
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r3, [r3, #-1116]
	add	r3, r3, #1
	str	r3, [r2, #-1116]
	b	.L25
.L52:
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r2, r3
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r3, [r3, #-1116]
	sub	r3, r3, #1
	str	r3, [r2, #-1116]
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r3, [r3, #-1116]
	sub	r2, r3, #1
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	add	r3, r3, r2
	ldrb	r3, [r3, #-1020]	@ zero_extendqisi2
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L26
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r3, [r3, #-1116]
	sub	r2, r3, #1
	sub	r3, fp, #3653632
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r1, r3
	lsl	r3, r2, #2
	add	r3, r1, r3
	ldr	r2, [r3, #-3788]
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r3, [r3, #-1116]
	sub	r1, r3, #1
	sub	r2, r2, #1
	sub	r3, fp, #3653632
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r0, r3
	lsl	r3, r1, #2
	add	r3, r0, r3
	str	r2, [r3, #-3788]
.L26:
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r2, r3
	mvn	r3, #0
	str	r3, [r2, #-1088]
	sub	r3, fp, #3670016
	sub	r3, r3, #12
	sub	r3, r3, #12288
	mov	r2, r3
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r3, [r3, #-1116]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #-3212]
	cmp	r3, #7
	ldrls	pc, [pc, r3, asl #2]
	b	.L27
.L29:
	.word	.L35
	.word	.L34
	.word	.L33
	.word	.L32
	.word	.L27
	.word	.L31
	.word	.L30
	.word	.L28
.L35:
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1084]
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1080]
	b	.L36
.L37:
	sub	r3, fp, #3604480
	sub	r3, r3, #12
	sub	r3, r3, #8192
	mov	r1, r3
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r2, [r3, #-1116]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #1
	mov	r2, r3
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r3, [r3, #-1080]
	add	r3, r2, r3
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r2, [r3, #-844]
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r1, r3
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r3, [r3, #-1084]
	add	r3, r3, r2
	str	r3, [r1, #-1084]
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r2, r3
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r3, [r3, #-1080]
	add	r3, r3, #1
	str	r3, [r2, #-1080]
.L36:
	sub	r3, fp, #3637248
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r3, [r3, #-1116]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3, #-268]
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r3, [r3, #-1080]
	cmp	r3, r2
	blt	.L37
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r2, r3
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r3, [r3, #-1084]
	str	r3, [r2, #-1088]
	b	.L27
.L34:
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-1076]
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1072]
	b	.L38
.L39:
	sub	r3, fp, #3604480
	sub	r3, r3, #12
	sub	r3, r3, #8192
	mov	r1, r3
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r2, [r3, #-1116]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #1
	mov	r2, r3
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r3, [r3, #-1072]
	add	r3, r2, r3
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r2, [r3, #-844]
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r1, r3
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r3, [r3, #-1076]
	mul	r3, r2, r3
	str	r3, [r1, #-1076]
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r2, r3
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r3, [r3, #-1072]
	add	r3, r3, #1
	str	r3, [r2, #-1072]
.L38:
	sub	r3, fp, #3637248
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r3, [r3, #-1116]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3, #-268]
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r3, [r3, #-1072]
	cmp	r3, r2
	blt	.L39
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r2, r3
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r3, [r3, #-1076]
	str	r3, [r2, #-1088]
	b	.L27
.L33:
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r2, r3
	mvn	r3, #-2147483648
	str	r3, [r2, #-1068]
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1064]
	b	.L40
.L59:
	.align	2
.L58:
	.word	.LC4
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	24000
	.word	.LC3
	.word	.LC4
.L42:
	sub	r3, fp, #3604480
	sub	r3, r3, #12
	sub	r3, r3, #8192
	mov	r1, r3
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r2, [r3, #-1116]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #1
	mov	r2, r3
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r3, [r3, #-1064]
	add	r3, r2, r3
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r2, [r3, #-844]
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r3, [r3, #-1068]
	cmp	r3, r2
	ble	.L41
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r1, r3
	sub	r3, fp, #3604480
	sub	r3, r3, #12
	sub	r3, r3, #8192
	mov	r0, r3
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r2, [r3, #-1116]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #1
	mov	r2, r3
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r3, [r3, #-1064]
	add	r3, r2, r3
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r3, [r3, #-844]
	str	r3, [r1, #-1068]
.L41:
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r2, r3
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r3, [r3, #-1064]
	add	r3, r3, #1
	str	r3, [r2, #-1064]
.L40:
	sub	r3, fp, #3637248
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r3, [r3, #-1116]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3, #-268]
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r3, [r3, #-1064]
	cmp	r3, r2
	blt	.L42
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r2, r3
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r3, [r3, #-1068]
	str	r3, [r2, #-1088]
	b	.L27
.L32:
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r2, r3
	mov	r3, #-2147483648
	str	r3, [r2, #-1060]
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1056]
	b	.L43
.L45:
	sub	r3, fp, #3604480
	sub	r3, r3, #12
	sub	r3, r3, #8192
	mov	r1, r3
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r2, [r3, #-1116]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #1
	mov	r2, r3
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r3, [r3, #-1056]
	add	r3, r2, r3
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r2, [r3, #-844]
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r3, [r3, #-1060]
	cmp	r3, r2
	bge	.L44
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r1, r3
	sub	r3, fp, #3604480
	sub	r3, r3, #12
	sub	r3, r3, #8192
	mov	r0, r3
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r2, [r3, #-1116]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #1
	mov	r2, r3
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r3, [r3, #-1056]
	add	r3, r2, r3
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r3, [r3, #-844]
	str	r3, [r1, #-1060]
.L44:
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r2, r3
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r3, [r3, #-1056]
	add	r3, r3, #1
	str	r3, [r2, #-1056]
.L43:
	sub	r3, fp, #3637248
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r3, [r3, #-1116]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3, #-268]
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r3, [r3, #-1056]
	cmp	r3, r2
	blt	.L45
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r2, r3
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r3, [r3, #-1060]
	str	r3, [r2, #-1088]
	b	.L27
.L31:
	sub	r3, fp, #3604480
	sub	r3, r3, #12
	sub	r3, r3, #8192
	mov	r1, r3
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r2, [r3, #-1116]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #3
	mov	r2, r3
	add	r3, r1, r2
	sub	r3, r3, #844
	ldr	r1, [r3]
	sub	r3, fp, #3604480
	sub	r3, r3, #12
	sub	r3, r3, #8192
	mov	r0, r3
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r2, [r3, #-1116]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #3
	mov	r2, r3
	add	r3, r0, r2
	sub	r3, r3, #840
	ldr	r3, [r3]
	cmp	r1, r3
	ble	.L46
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-1088]
	b	.L27
.L46:
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1088]
	b	.L27
.L30:
	sub	r3, fp, #3604480
	sub	r3, r3, #12
	sub	r3, r3, #8192
	mov	r1, r3
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r2, [r3, #-1116]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #3
	mov	r2, r3
	add	r3, r1, r2
	sub	r3, r3, #844
	ldr	r1, [r3]
	sub	r3, fp, #3604480
	sub	r3, r3, #12
	sub	r3, r3, #8192
	mov	r0, r3
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r2, [r3, #-1116]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #3
	mov	r2, r3
	add	r3, r0, r2
	sub	r3, r3, #840
	ldr	r3, [r3]
	cmp	r1, r3
	bge	.L48
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-1088]
	b	.L27
.L48:
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1088]
	b	.L27
.L28:
	sub	r3, fp, #3604480
	sub	r3, r3, #12
	sub	r3, r3, #8192
	mov	r1, r3
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r2, [r3, #-1116]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #3
	mov	r2, r3
	add	r3, r1, r2
	sub	r3, r3, #844
	ldr	r1, [r3]
	sub	r3, fp, #3604480
	sub	r3, r3, #12
	sub	r3, r3, #8192
	mov	r0, r3
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r2, [r3, #-1116]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #3
	mov	r2, r3
	add	r3, r0, r2
	sub	r3, r3, #840
	ldr	r3, [r3]
	cmp	r1, r3
	bne	.L50
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-1088]
	b	.L57
.L50:
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1088]
.L57:
	nop
.L27:
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r3, [r3, #-1116]
	sub	r0, r3, #1
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r3, [r3, #-1116]
	sub	r2, r3, #1
	sub	r3, fp, #3637248
	sub	r3, r3, #12
	mov	r1, r3
	lsl	r3, r2, #2
	add	r3, r1, r3
	ldr	r1, [r3, #-268]
	add	ip, r1, #1
	sub	r3, fp, #3637248
	sub	r3, r3, #12
	mov	lr, r3
	lsl	r3, r2, #2
	add	r3, lr, r3
	str	ip, [r3, #-268]
	sub	r3, fp, #3604480
	sub	r3, r3, #12
	sub	r3, r3, #8192
	mov	ip, r3
	mov	r3, r0
	lsl	r3, r3, #2
	add	r3, r3, r0
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #1
	mov	r2, r3
	add	r3, r2, r1
	lsl	r3, r3, #2
	add	r3, ip, r3
	sub	r2, fp, #3686400
	sub	r2, r2, #12
	sub	r2, r2, #4096
	ldr	r2, [r2, #-1088]
	str	r2, [r3, #-844]
	sub	r3, fp, #3637248
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r3, [r3, #-1116]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3, #-268]
.L25:
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r3, [r3, #-1116]
	cmp	r3, #0
	ble	.L8
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r3, [r3, #-1116]
	sub	r2, r3, #1
	sub	r3, fp, #3653632
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r1, r3
	lsl	r3, r2, #2
	add	r3, r1, r3
	ldr	r3, [r3, #-3788]
	cmp	r3, #0
	ble	.L52
.L8:
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	mov	r2, r3
	sub	r3, fp, #3686400
	sub	r3, r3, #12
	sub	r3, r3, #4096
	ldr	r2, [r2, #-1112]
	ldr	r3, [r3, #-1128]
	cmp	r2, r3
	blt	.L53
	b	.L10
.L56:
	nop
.L10:
	sub	r3, fp, #3604480
	sub	r3, r3, #12
	sub	r3, r3, #8192
	ldr	r3, [r3, #-844]
	mov	r1, r3
	ldr	r0, .L58+20
	bl	printf
	mov	r3, #0
	ldr	r2, .L58+24
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L55
	bl	__stack_chk_fail
.L55:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
