	.file	"685022.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"%d\n"
.LC1:
	.string	"%d%d%d %c"
.LC2:
	.string	"%d %d %d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 608
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -4692[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	jmp	.L2
.L35:
	mov	DWORD PTR -4680[rbp], 0
	jmp	.L3
.L4:
	mov	eax, DWORD PTR -4680[rbp]
	lea	ecx, 1[rax]
	mov	eax, DWORD PTR -4680[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rax
	add	rax, rbp
	sub	rax, 4624
	mov	BYTE PTR [rax], cl
	mov	eax, DWORD PTR -4680[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rax
	add	rax, rbp
	sub	rax, 4623
	mov	BYTE PTR [rax], 0
	mov	eax, DWORD PTR -4680[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rax
	add	rax, rbp
	sub	rax, 4622
	mov	WORD PTR [rax], 0
	mov	eax, DWORD PTR -4680[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rax
	add	rax, rbp
	sub	rax, 4620
	mov	BYTE PTR [rax], 0
	add	DWORD PTR -4680[rbp], 1
.L3:
	cmp	DWORD PTR -4680[rbp], 99
	jle	.L4
	lea	rax, -4016[rbp]
	mov	edx, 4000
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	QWORD PTR -4640[rbp], 0
	jmp	.L5
.L10:
	cmp	QWORD PTR -4632[rbp], 2
	jle	.L38
	mov	rax, QWORD PTR -4640[rbp]
	lea	rdi, -4693[rbp]
	lea	rsi, -4656[rbp]
	lea	rcx, -4684[rbp]
	lea	rdx, -4688[rbp]
	mov	r9, rdi
	mov	r8, rsi
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	mov	eax, DWORD PTR -4688[rbp]
	sub	eax, 1
	mov	DWORD PTR -4688[rbp], eax
	mov	eax, DWORD PTR -4688[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rax
	add	rax, rbp
	sub	rax, 4620
	mov	BYTE PTR [rax], 1
	movzx	eax, BYTE PTR -4693[rbp]
	cmp	al, 73
	jne	.L8
	mov	edx, DWORD PTR -4688[rbp]
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	add	eax, eax
	mov	edx, eax
	mov	eax, DWORD PTR -4684[rbp]
	add	eax, edx
	cdqe
	mov	eax, DWORD PTR -4016[rbp+rax*4]
	test	eax, eax
	jg	.L8
	mov	edx, DWORD PTR -4688[rbp]
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	add	eax, eax
	mov	edx, eax
	mov	eax, DWORD PTR -4684[rbp]
	add	eax, edx
	cdqe
	mov	ecx, DWORD PTR -4016[rbp+rax*4]
	mov	edx, DWORD PTR -4688[rbp]
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	add	eax, eax
	mov	edx, eax
	mov	eax, DWORD PTR -4684[rbp]
	add	eax, edx
	lea	edx, -20[rcx]
	cdqe
	mov	DWORD PTR -4016[rbp+rax*4], edx
.L8:
	movzx	eax, BYTE PTR -4693[rbp]
	cmp	al, 67
	jne	.L5
	mov	edx, DWORD PTR -4688[rbp]
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	add	eax, eax
	mov	edx, eax
	mov	eax, DWORD PTR -4684[rbp]
	add	eax, edx
	cdqe
	mov	eax, DWORD PTR -4016[rbp+rax*4]
	test	eax, eax
	jg	.L5
	mov	ecx, DWORD PTR -4656[rbp]
	mov	edx, DWORD PTR -4688[rbp]
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	add	eax, eax
	mov	edx, eax
	mov	eax, DWORD PTR -4684[rbp]
	add	eax, edx
	cdqe
	mov	esi, DWORD PTR -4016[rbp+rax*4]
	mov	edx, DWORD PTR -4688[rbp]
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	add	eax, eax
	mov	edx, eax
	mov	eax, DWORD PTR -4684[rbp]
	add	eax, edx
	sub	ecx, esi
	mov	edx, ecx
	cdqe
	mov	DWORD PTR -4016[rbp+rax*4], edx
.L5:
	mov	rdx, QWORD PTR stdin[rip]
	lea	rcx, -4648[rbp]
	lea	rax, -4640[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	getline@PLT
	mov	QWORD PTR -4632[rbp], rax
	cmp	QWORD PTR -4632[rbp], -1
	jne	.L10
	jmp	.L7
.L38:
	nop
.L7:
	mov	DWORD PTR -4676[rbp], 0
	jmp	.L11
.L15:
	mov	DWORD PTR -4672[rbp], 0
	jmp	.L12
.L14:
	mov	edx, DWORD PTR -4676[rbp]
	mov	eax, DWORD PTR -4672[rbp]
	add	eax, edx
	cdqe
	mov	eax, DWORD PTR -4016[rbp+rax*4]
	test	eax, eax
	jle	.L13
	mov	eax, DWORD PTR -4676[rbp]
	movsx	rdx, eax
	imul	rdx, rdx, 1717986919
	shr	rdx, 32
	sar	edx, 2
	sar	eax, 31
	sub	edx, eax
	movsx	rcx, edx
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	add	rax, rax
	add	rax, rbp
	sub	rax, 4623
	movzx	eax, BYTE PTR [rax]
	lea	ecx, 1[rax]
	movsx	rdx, edx
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rax
	add	rax, rbp
	sub	rax, 4623
	mov	BYTE PTR [rax], cl
	mov	eax, DWORD PTR -4676[rbp]
	movsx	rdx, eax
	imul	rdx, rdx, 1717986919
	shr	rdx, 32
	sar	edx, 2
	sar	eax, 31
	sub	edx, eax
	movsx	rcx, edx
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	add	rax, rax
	add	rax, rbp
	sub	rax, 4622
	movzx	ecx, WORD PTR [rax]
	mov	esi, DWORD PTR -4676[rbp]
	mov	eax, DWORD PTR -4672[rbp]
	add	eax, esi
	cdqe
	mov	eax, DWORD PTR -4016[rbp+rax*4]
	add	ecx, eax
	movsx	rdx, edx
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rax
	add	rax, rbp
	sub	rax, 4622
	mov	WORD PTR [rax], cx
.L13:
	add	DWORD PTR -4672[rbp], 1
.L12:
	cmp	DWORD PTR -4672[rbp], 9
	jle	.L14
	add	DWORD PTR -4676[rbp], 10
.L11:
	cmp	DWORD PTR -4676[rbp], 999
	jle	.L15
	mov	DWORD PTR -4676[rbp], 0
	jmp	.L16
.L20:
	mov	eax, DWORD PTR -4676[rbp]
	mov	DWORD PTR -4668[rbp], eax
	jmp	.L17
.L19:
	mov	eax, DWORD PTR -4676[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rax
	add	rax, rbp
	sub	rax, 4623
	movzx	ecx, BYTE PTR [rax]
	mov	eax, DWORD PTR -4668[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rax
	add	rax, rbp
	sub	rax, 4623
	movzx	eax, BYTE PTR [rax]
	cmp	cl, al
	jnb	.L18
	mov	eax, DWORD PTR -4676[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rax
	add	rax, rbp
	sub	rax, 4624
	mov	edx, DWORD PTR [rax]
	mov	DWORD PTR -4656[rbp], edx
	movzx	eax, WORD PTR 4[rax]
	mov	WORD PTR -4652[rbp], ax
	mov	eax, DWORD PTR -4676[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rax
	add	rax, rbp
	lea	rdx, -4624[rax]
	mov	eax, DWORD PTR -4668[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	add	rax, rax
	add	rax, rbp
	sub	rax, 4624
	mov	ecx, DWORD PTR [rax]
	mov	DWORD PTR [rdx], ecx
	movzx	eax, WORD PTR 4[rax]
	mov	WORD PTR 4[rdx], ax
	mov	eax, DWORD PTR -4668[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rax
	add	rax, rbp
	sub	rax, 4624
	mov	edx, DWORD PTR -4656[rbp]
	mov	DWORD PTR [rax], edx
	movzx	edx, WORD PTR -4652[rbp]
	mov	WORD PTR 4[rax], dx
.L18:
	add	DWORD PTR -4668[rbp], 1
.L17:
	cmp	DWORD PTR -4668[rbp], 99
	jle	.L19
	add	DWORD PTR -4676[rbp], 1
.L16:
	cmp	DWORD PTR -4676[rbp], 98
	jle	.L20
	mov	DWORD PTR -4676[rbp], 0
	jmp	.L21
.L25:
	mov	eax, DWORD PTR -4676[rbp]
	mov	DWORD PTR -4664[rbp], eax
	jmp	.L22
.L24:
	mov	eax, DWORD PTR -4676[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rax
	add	rax, rbp
	sub	rax, 4623
	movzx	ecx, BYTE PTR [rax]
	mov	eax, DWORD PTR -4664[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rax
	add	rax, rbp
	sub	rax, 4623
	movzx	eax, BYTE PTR [rax]
	cmp	cl, al
	jne	.L23
	mov	eax, DWORD PTR -4676[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rax
	add	rax, rbp
	sub	rax, 4622
	movzx	ecx, WORD PTR [rax]
	mov	eax, DWORD PTR -4664[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rax
	add	rax, rbp
	sub	rax, 4622
	movzx	eax, WORD PTR [rax]
	cmp	cx, ax
	jbe	.L23
	mov	eax, DWORD PTR -4676[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rax
	add	rax, rbp
	sub	rax, 4624
	mov	edx, DWORD PTR [rax]
	mov	DWORD PTR -4656[rbp], edx
	movzx	eax, WORD PTR 4[rax]
	mov	WORD PTR -4652[rbp], ax
	mov	eax, DWORD PTR -4676[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rax
	add	rax, rbp
	lea	rdx, -4624[rax]
	mov	eax, DWORD PTR -4664[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	add	rax, rax
	add	rax, rbp
	sub	rax, 4624
	mov	ecx, DWORD PTR [rax]
	mov	DWORD PTR [rdx], ecx
	movzx	eax, WORD PTR 4[rax]
	mov	WORD PTR 4[rdx], ax
	mov	eax, DWORD PTR -4664[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rax
	add	rax, rbp
	sub	rax, 4624
	mov	edx, DWORD PTR -4656[rbp]
	mov	DWORD PTR [rax], edx
	movzx	edx, WORD PTR -4652[rbp]
	mov	WORD PTR 4[rax], dx
.L23:
	add	DWORD PTR -4664[rbp], 1
.L22:
	cmp	DWORD PTR -4664[rbp], 99
	jle	.L24
	add	DWORD PTR -4676[rbp], 1
.L21:
	cmp	DWORD PTR -4676[rbp], 98
	jle	.L25
	mov	DWORD PTR -4676[rbp], 0
	jmp	.L26
.L30:
	mov	eax, DWORD PTR -4676[rbp]
	mov	DWORD PTR -4660[rbp], eax
	jmp	.L27
.L29:
	mov	eax, DWORD PTR -4676[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rax
	add	rax, rbp
	sub	rax, 4623
	movzx	ecx, BYTE PTR [rax]
	mov	eax, DWORD PTR -4660[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rax
	add	rax, rbp
	sub	rax, 4623
	movzx	eax, BYTE PTR [rax]
	cmp	cl, al
	jne	.L28
	mov	eax, DWORD PTR -4676[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rax
	add	rax, rbp
	sub	rax, 4622
	movzx	ecx, WORD PTR [rax]
	mov	eax, DWORD PTR -4660[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rax
	add	rax, rbp
	sub	rax, 4622
	movzx	eax, WORD PTR [rax]
	cmp	cx, ax
	jne	.L28
	mov	eax, DWORD PTR -4676[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rax
	add	rax, rbp
	sub	rax, 4624
	movzx	ecx, BYTE PTR [rax]
	mov	eax, DWORD PTR -4660[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rax
	add	rax, rbp
	sub	rax, 4624
	movzx	eax, BYTE PTR [rax]
	cmp	cl, al
	jbe	.L28
	mov	eax, DWORD PTR -4676[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rax
	add	rax, rbp
	sub	rax, 4624
	mov	edx, DWORD PTR [rax]
	mov	DWORD PTR -4656[rbp], edx
	movzx	eax, WORD PTR 4[rax]
	mov	WORD PTR -4652[rbp], ax
	mov	eax, DWORD PTR -4676[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rax
	add	rax, rbp
	lea	rdx, -4624[rax]
	mov	eax, DWORD PTR -4660[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	add	rax, rax
	add	rax, rbp
	sub	rax, 4624
	mov	ecx, DWORD PTR [rax]
	mov	DWORD PTR [rdx], ecx
	movzx	eax, WORD PTR 4[rax]
	mov	WORD PTR 4[rdx], ax
	mov	eax, DWORD PTR -4660[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rax
	add	rax, rbp
	sub	rax, 4624
	mov	edx, DWORD PTR -4656[rbp]
	mov	DWORD PTR [rax], edx
	movzx	edx, WORD PTR -4652[rbp]
	mov	WORD PTR 4[rax], dx
.L28:
	add	DWORD PTR -4660[rbp], 1
.L27:
	cmp	DWORD PTR -4660[rbp], 99
	jle	.L29
	add	DWORD PTR -4676[rbp], 1
.L26:
	cmp	DWORD PTR -4676[rbp], 98
	jle	.L30
	mov	DWORD PTR -4676[rbp], 0
	jmp	.L31
.L33:
	mov	eax, DWORD PTR -4676[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rax
	add	rax, rbp
	sub	rax, 4620
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L32
	mov	eax, DWORD PTR -4676[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rax
	add	rax, rbp
	sub	rax, 4622
	movzx	eax, WORD PTR [rax]
	movzx	ecx, ax
	mov	eax, DWORD PTR -4676[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rax
	add	rax, rbp
	sub	rax, 4623
	movzx	eax, BYTE PTR [rax]
	movzx	edx, al
	mov	eax, DWORD PTR -4676[rbp]
	movsx	rsi, eax
	mov	rax, rsi
	add	rax, rax
	add	rax, rsi
	add	rax, rax
	add	rax, rbp
	sub	rax, 4624
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
.L32:
	add	DWORD PTR -4676[rbp], 1
.L31:
	cmp	DWORD PTR -4676[rbp], 99
	jle	.L33
	mov	eax, DWORD PTR -4692[rbp]
	test	eax, eax
	je	.L2
	mov	edi, 10
	call	putchar@PLT
.L2:
	mov	eax, DWORD PTR -4692[rbp]
	lea	edx, -1[rax]
	mov	DWORD PTR -4692[rbp], edx
	test	eax, eax
	jne	.L35
	mov	eax, 0
	mov	rdi, QWORD PTR -8[rbp]
	sub	rdi, QWORD PTR fs:40
	je	.L37
	call	__stack_chk_fail@PLT
.L37:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.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	"685022.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d\012\000"
	.align	2
.LC1:
	.ascii	"%d%d%d %c\000"
	.align	2
.LC2:
	.ascii	"%d %d %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 = 4664
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #4672
	sub	sp, sp, #4
	ldr	r3, .L39
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #4608
	sub	r3, r3, #12
	sub	r3, r3, #52
	mov	r1, r3
	ldr	r0, .L39+4
	bl	__isoc99_scanf
	b	.L2
.L35:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-544]
	b	.L3
.L4:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-544]
	and	r3, r3, #255
	add	r3, r3, #1
	and	r1, r3, #255
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r0, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r3, #-544]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r0, r3
	sub	r3, r3, #508
	mov	r2, r1
	strb	r2, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r3, #-544]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r1, r3
	sub	r3, r3, #504
	sub	r3, r3, #3
	mov	r2, #0
	strb	r2, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r1, r3, #508
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r3, #-544]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r1, r3
	add	r3, r3, #2
	mov	r2, #0
	strh	r2, [r3]	@ movhi
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r3, #-544]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r1, r3
	sub	r3, r3, #504
	mov	r2, #0
	strb	r2, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-544]
	add	r3, r3, #1
	str	r3, [r2, #-544]
.L3:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-544]
	cmp	r3, #99
	ble	.L4
	sub	r3, fp, #4000
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r2, #4000
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-556]
	b	.L5
.L10:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-520]
	cmp	r3, #2
	ble	.L38
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-556]
	sub	r1, fp, #4608
	sub	r1, r1, #12
	sub	r1, r1, #36
	sub	r2, fp, #4608
	sub	r2, r2, #12
	sub	r2, r2, #40
	sub	r3, fp, #4608
	sub	r3, r3, #12
	sub	r3, r3, #53
	str	r3, [sp, #4]
	sub	r3, fp, #4608
	sub	r3, r3, #12
	sub	r3, r3, #4
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, .L39+8
	bl	__isoc99_sscanf
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-552]
	sub	r3, r3, #1
	sub	r2, fp, #4096
	sub	r2, r2, #12
	str	r3, [r2, #-552]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r3, #-552]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r1, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r1, r3
	sub	r3, r3, #504
	mov	r2, #1
	strb	r2, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldrb	r3, [r3, #-565]	@ zero_extendqisi2
	cmp	r3, #73
	bne	.L8
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r3, #-552]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-548]
	add	r3, r2, r3
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-4004]
	cmp	r3, #0
	bgt	.L8
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r3, #-552]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-548]
	add	r3, r2, r3
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r1, [r3, #-4004]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r3, #-552]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-548]
	add	r3, r2, r3
	sub	r2, r1, #20
	lsl	r3, r3, #2
	sub	r1, fp, #12
	add	r3, r1, r3
	str	r2, [r3, #-4004]
.L8:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldrb	r3, [r3, #-565]	@ zero_extendqisi2
	cmp	r3, #67
	bne	.L5
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r3, #-552]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-548]
	add	r3, r2, r3
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-4004]
	cmp	r3, #0
	bgt	.L5
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-516]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r3, #-552]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-548]
	add	r3, r2, r3
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r1, [r3, #-4004]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r3, #-552]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-548]
	add	r3, r2, r3
	sub	r2, r0, r1
	lsl	r3, r3, #2
	sub	r1, fp, #12
	add	r3, r1, r3
	str	r2, [r3, #-4004]
.L5:
	ldr	r3, .L39+12
	ldr	r2, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	sub	r1, fp, #4608
	sub	r1, r1, #12
	sub	r1, r1, #48
	sub	r3, fp, #4608
	sub	r3, r3, #12
	sub	r3, r3, #44
	mov	r0, r3
	bl	getline
	str	r0, [r4, #-520]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-520]
	cmn	r3, #1
	bne	.L10
	b	.L7
.L38:
	nop
.L7:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-540]
	b	.L11
.L15:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-536]
	b	.L12
.L14:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r2, #-540]
	ldr	r3, [r3, #-536]
	add	r3, r2, r3
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-4004]
	cmp	r3, #0
	ble	.L13
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-540]
	ldr	r2, .L39+16
	smull	r1, r2, r3, r2
	asr	r2, r2, #2
	asr	r3, r3, #31
	sub	r2, r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r1, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r1, r3
	sub	r3, r3, #504
	sub	r3, r3, #3
	ldrb	r3, [r3]	@ zero_extendqisi2
	add	r3, r3, #1
	and	r1, r3, #255
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r0, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r0, r3
	sub	r3, r3, #504
	sub	r3, r3, #3
	mov	r2, r1
	strb	r2, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-540]
	ldr	r2, .L39+16
	smull	r1, r2, r3, r2
	asr	r2, r2, #2
	asr	r3, r3, #31
	sub	r2, r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r1, r3, #508
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r1, r3
	add	r3, r3, #2
	ldrh	r1, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r0, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r0, #-540]
	ldr	r3, [r3, #-536]
	add	r3, r0, r3
	lsl	r3, r3, #2
	sub	r0, fp, #12
	add	r3, r0, r3
	ldr	r3, [r3, #-4004]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	add	r3, r1, r3
	lsl	r3, r3, #16
	lsr	r1, r3, #16
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r0, r3, #508
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r0, r3
	add	r3, r3, #2
	strh	r1, [r3]	@ movhi
.L13:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-536]
	add	r3, r3, #1
	str	r3, [r2, #-536]
.L12:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-536]
	cmp	r3, #9
	ble	.L14
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-540]
	add	r3, r3, #10
	str	r3, [r2, #-540]
.L11:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-540]
	cmp	r3, #1000
	blt	.L15
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-540]
	b	.L16
.L20:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-540]
	str	r3, [r2, #-532]
	b	.L17
.L19:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r3, #-540]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r1, r3
	sub	r3, r3, #504
	sub	r3, r3, #3
	ldrb	r1, [r3]	@ zero_extendqisi2
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r0, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r3, #-532]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r0, r3
	sub	r3, r3, #504
	sub	r3, r3, #3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r1, r3
	bcs	.L18
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r0, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r3, #-540]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r0, r3
	sub	r2, r3, #508
	sub	r3, r1, #516
	mov	r1, r2
	mov	r2, #6
	mov	r0, r3
	bl	memcpy
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r3, #-540]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r1, r3
	sub	r1, r3, #508
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r0, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r3, #-532]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r0, r3
	sub	r3, r3, #508
	mov	r0, r1
	mov	r1, r3
	mov	r3, #6
	mov	r2, r3
	bl	memcpy
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r3, #-532]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r1, r3
	sub	r2, r3, #508
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r0, r2
	sub	r3, r3, #516
	mov	r2, #6
	mov	r1, r3
	bl	memcpy
.L18:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-532]
	add	r3, r3, #1
	str	r3, [r2, #-532]
.L17:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-532]
	cmp	r3, #99
	ble	.L19
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-540]
	add	r3, r3, #1
	str	r3, [r2, #-540]
.L16:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-540]
	cmp	r3, #98
	ble	.L20
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-540]
	b	.L21
.L25:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-540]
	str	r3, [r2, #-528]
	b	.L22
.L24:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r3, #-540]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r1, r3
	sub	r3, r3, #504
	sub	r3, r3, #3
	ldrb	r1, [r3]	@ zero_extendqisi2
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r0, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r3, #-528]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r0, r3
	sub	r3, r3, #504
	sub	r3, r3, #3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r1, r3
	bne	.L23
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r1, r3, #508
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r3, #-540]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r1, r3
	add	r3, r3, #2
	ldrh	r1, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r0, r3, #508
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r3, #-528]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r0, r3
	add	r3, r3, #2
	ldrh	r3, [r3]
	cmp	r1, r3
	bls	.L23
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r0, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r3, #-540]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r0, r3
	sub	r2, r3, #508
	sub	r3, r1, #516
	mov	r1, r2
	mov	r2, #6
	mov	r0, r3
	bl	memcpy
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r3, #-540]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r1, r3
	sub	r1, r3, #508
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r0, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r3, #-528]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r0, r3
	sub	r3, r3, #508
	mov	r0, r1
	mov	r1, r3
	mov	r3, #6
	mov	r2, r3
	bl	memcpy
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r3, #-528]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r1, r3
	sub	r2, r3, #508
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r0, r2
	sub	r3, r3, #516
	mov	r2, #6
	mov	r1, r3
	bl	memcpy
.L23:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-528]
	add	r3, r3, #1
	str	r3, [r2, #-528]
.L22:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-528]
	cmp	r3, #99
	ble	.L24
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-540]
	add	r3, r3, #1
	str	r3, [r2, #-540]
.L21:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-540]
	cmp	r3, #98
	ble	.L25
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-540]
	b	.L26
.L30:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-540]
	str	r3, [r2, #-524]
	b	.L27
.L29:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r3, #-540]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r1, r3
	sub	r3, r3, #504
	sub	r3, r3, #3
	ldrb	r1, [r3]	@ zero_extendqisi2
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r0, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r3, #-524]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r0, r3
	sub	r3, r3, #504
	sub	r3, r3, #3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r1, r3
	bne	.L28
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r1, r3, #508
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r3, #-540]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r1, r3
	add	r3, r3, #2
	ldrh	r1, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r0, r3, #508
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r3, #-524]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r0, r3
	add	r3, r3, #2
	ldrh	r3, [r3]
	cmp	r1, r3
	bne	.L28
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r3, #-540]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r1, r3
	sub	r3, r3, #508
	ldrb	r1, [r3]	@ zero_extendqisi2
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r0, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r3, #-524]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r0, r3
	sub	r3, r3, #508
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r1, r3
	bls	.L28
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r0, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r3, #-540]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r0, r3
	sub	r2, r3, #508
	sub	r3, r1, #516
	mov	r1, r2
	mov	r2, #6
	mov	r0, r3
	bl	memcpy
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r3, #-540]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r1, r3
	sub	r1, r3, #508
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r0, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r3, #-524]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r0, r3
	sub	r3, r3, #508
	mov	r0, r1
	mov	r1, r3
	mov	r3, #6
	mov	r2, r3
	bl	memcpy
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r3, #-524]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r1, r3
	sub	r2, r3, #508
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r0, r2
	sub	r3, r3, #516
	mov	r2, #6
	mov	r1, r3
	bl	memcpy
.L28:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-524]
	add	r3, r3, #1
	str	r3, [r2, #-524]
.L27:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-524]
	cmp	r3, #99
	ble	.L29
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-540]
	add	r3, r3, #1
	str	r3, [r2, #-540]
.L26:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-540]
	cmp	r3, #98
	ble	.L30
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-540]
	b	.L31
.L33:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r3, #-540]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r1, r3
	sub	r3, r3, #504
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L32
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r3, #-540]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r1, r3
	sub	r3, r3, #508
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r3, #-540]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r1, r3
	sub	r3, r3, #504
	sub	r3, r3, #3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	ip, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r1, r3, #508
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r3, #-540]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r1, r3
	add	r3, r3, #2
	ldrh	r3, [r3]
	mov	r2, ip
	mov	r1, r0
	ldr	r0, .L39+20
	bl	printf
.L32:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-540]
	add	r3, r3, #1
	str	r3, [r2, #-540]
.L31:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-540]
	cmp	r3, #99
	ble	.L33
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-564]
	cmp	r3, #0
	beq	.L2
	mov	r0, #10
	bl	putchar
.L2:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-564]
	sub	r2, r3, #1
	sub	r1, fp, #4096
	sub	r1, r1, #12
	str	r2, [r1, #-564]
	cmp	r3, #0
	bne	.L35
	mov	r3, #0
	ldr	r2, .L39
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L37
	bl	__stack_chk_fail
.L37:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L40:
	.align	2
.L39:
	.word	.LC3
	.word	.LC0
	.word	.LC1
	.word	stdin
	.word	1717986919
	.word	.LC2
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
