	.file	"511830.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"rt"
.LC1:
	.string	"open %s failed\n"
.LC2:
	.string	"wb"
.LC3:
	.string	"FONTBOUNDINGBOX"
.LC4:
	.string	"STARTCHAR"
.LC5:
	.string	"ENCODING"
	.align 8
.LC6:
	.string	"chunk %d, break %d-%d, last range %d-%d\n"
.LC7:
	.string	"BITMAP"
.LC8:
	.string	"ENDCHAR"
.LC9:
	.string	"%X"
.LC10:
	.string	"chunk %d, range %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
	push	rbx
	sub	rsp, 648
	.cfi_offset 3, -24
	mov	DWORD PTR -644[rbp], edi
	mov	QWORD PTR -656[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -656[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -576[rbp], rax
	cmp	QWORD PTR -576[rbp], 0
	jne	.L2
	mov	rax, QWORD PTR -656[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, -1
	jmp	.L3
.L2:
	mov	rax, QWORD PTR -656[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -568[rbp], rax
	mov	edi, 512
	call	malloc@PLT
	mov	QWORD PTR -560[rbp], rax
	mov	DWORD PTR -628[rbp], 0
	jmp	.L4
.L5:
	mov	eax, DWORD PTR -628[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -560[rbp]
	lea	rbx, [rdx+rax]
	mov	edi, 64
	call	malloc@PLT
	mov	QWORD PTR [rbx], rax
	mov	eax, DWORD PTR -628[rbp]
	add	eax, 1
	mov	DWORD PTR -628[rbp], eax
.L4:
	mov	eax, DWORD PTR -628[rbp]
	cmp	eax, 63
	jle	.L5
	mov	DWORD PTR -608[rbp], 0
	mov	edi, 2097152
	call	malloc@PLT
	mov	QWORD PTR -552[rbp], rax
	mov	rax, QWORD PTR -552[rbp]
	mov	edx, 2097152
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	DWORD PTR -612[rbp], 0
	mov	DWORD PTR -600[rbp], 0
	mov	DWORD PTR -596[rbp], 0
	mov	DWORD PTR -592[rbp], 0
	mov	DWORD PTR -588[rbp], 16
	mov	DWORD PTR -584[rbp], 16
	mov	DWORD PTR -580[rbp], 1
	jmp	.L6
.L35:
	mov	rdx, QWORD PTR -576[rbp]
	lea	rax, -544[rbp]
	mov	esi, 255
	mov	rdi, rax
	call	fgets@PLT
	mov	DWORD PTR -624[rbp], 0
	mov	DWORD PTR -620[rbp], 0
	mov	DWORD PTR -628[rbp], 0
	jmp	.L7
.L11:
	mov	eax, DWORD PTR -628[rbp]
	cdqe
	movzx	eax, BYTE PTR -544[rbp+rax]
	cmp	al, 32
	jg	.L8
	mov	eax, DWORD PTR -624[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -560[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -620[rbp]
	cdqe
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	cmp	DWORD PTR -620[rbp], 0
	je	.L9
	add	DWORD PTR -624[rbp], 1
.L9:
	mov	DWORD PTR -620[rbp], 0
	jmp	.L10
.L8:
	mov	ecx, DWORD PTR -628[rbp]
	mov	eax, DWORD PTR -624[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -560[rbp]
	add	rax, rdx
	mov	rsi, QWORD PTR [rax]
	mov	eax, DWORD PTR -620[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -620[rbp], edx
	cdqe
	lea	rdx, [rsi+rax]
	movsx	rax, ecx
	movzx	eax, BYTE PTR -544[rbp+rax]
	mov	BYTE PTR [rdx], al
.L10:
	mov	eax, DWORD PTR -628[rbp]
	add	eax, 1
	mov	DWORD PTR -628[rbp], eax
.L7:
	mov	eax, DWORD PTR -628[rbp]
	cmp	eax, 255
	jle	.L11
	mov	rax, QWORD PTR -560[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L12
	mov	rax, QWORD PTR -560[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -588[rbp], eax
	mov	rax, QWORD PTR -560[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -584[rbp], eax
	jmp	.L6
.L12:
	mov	rax, QWORD PTR -560[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L13
	mov	DWORD PTR -628[rbp], 0
	jmp	.L14
.L17:
	mov	eax, DWORD PTR -628[rbp]
	cdqe
	movzx	eax, BYTE PTR -544[rbp+rax]
	cmp	al, 32
	jle	.L39
	mov	eax, DWORD PTR -628[rbp]
	add	eax, 1
	mov	DWORD PTR -628[rbp], eax
.L14:
	mov	eax, DWORD PTR -628[rbp]
	cmp	eax, 255
	jle	.L17
	jmp	.L18
.L39:
	nop
	jmp	.L18
.L21:
	mov	eax, DWORD PTR -628[rbp]
	cdqe
	movzx	eax, BYTE PTR -544[rbp+rax]
	cmp	al, 32
	jg	.L40
	mov	eax, DWORD PTR -628[rbp]
	add	eax, 1
	mov	DWORD PTR -628[rbp], eax
.L18:
	mov	eax, DWORD PTR -628[rbp]
	cmp	eax, 255
	jle	.L21
	jmp	.L20
.L40:
	nop
.L20:
	mov	DWORD PTR -624[rbp], 0
	jmp	.L22
.L25:
	mov	eax, DWORD PTR -628[rbp]
	cdqe
	movzx	eax, BYTE PTR -544[rbp+rax]
	cmp	al, 10
	je	.L41
	mov	ecx, DWORD PTR -628[rbp]
	mov	eax, DWORD PTR -624[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -624[rbp], edx
	movsx	rdx, ecx
	movzx	edx, BYTE PTR -544[rbp+rdx]
	cdqe
	mov	BYTE PTR -288[rbp+rax], dl
	mov	eax, DWORD PTR -628[rbp]
	add	eax, 1
	mov	DWORD PTR -628[rbp], eax
.L22:
	mov	eax, DWORD PTR -628[rbp]
	cmp	eax, 255
	jle	.L25
	jmp	.L24
.L41:
	nop
.L24:
	mov	eax, DWORD PTR -624[rbp]
	cdqe
	mov	BYTE PTR -288[rbp+rax], 0
	jmp	.L6
.L13:
	mov	rax, QWORD PTR -560[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L26
	mov	rax, QWORD PTR -560[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -616[rbp], eax
	mov	eax, DWORD PTR -612[rbp]
	add	eax, 1
	cmp	DWORD PTR -616[rbp], eax
	je	.L27
	mov	edi, DWORD PTR -596[rbp]
	mov	esi, DWORD PTR -600[rbp]
	mov	ecx, DWORD PTR -616[rbp]
	mov	edx, DWORD PTR -612[rbp]
	mov	eax, DWORD PTR -592[rbp]
	mov	r9d, edi
	mov	r8d, esi
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -600[rbp]
	or	eax, DWORD PTR -596[rbp]
	test	eax, eax
	je	.L28
	cmp	DWORD PTR -580[rbp], 0
	je	.L29
	mov	rax, QWORD PTR -568[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	fputc@PLT
	mov	rax, QWORD PTR -568[rbp]
	mov	rsi, rax
	mov	edi, 191
	call	fputc@PLT
	mov	rax, QWORD PTR -568[rbp]
	mov	rsi, rax
	mov	edi, 4
	call	fputc@PLT
	mov	rax, QWORD PTR -568[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	fputc@PLT
	mov	rax, QWORD PTR -568[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	fputc@PLT
	mov	rdx, QWORD PTR -568[rbp]
	mov	eax, DWORD PTR -588[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	fputc@PLT
	mov	rdx, QWORD PTR -568[rbp]
	mov	eax, DWORD PTR -584[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	fputc@PLT
	mov	rax, QWORD PTR -568[rbp]
	mov	rsi, rax
	mov	edi, 1
	call	fputc@PLT
	mov	DWORD PTR -580[rbp], 0
.L29:
	mov	eax, DWORD PTR -600[rbp]
	movzx	eax, al
	mov	rdx, QWORD PTR -568[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	fputc@PLT
	mov	eax, DWORD PTR -600[rbp]
	sar	eax, 8
	movzx	eax, al
	mov	rdx, QWORD PTR -568[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	fputc@PLT
	mov	eax, DWORD PTR -596[rbp]
	movzx	eax, al
	mov	rdx, QWORD PTR -568[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	fputc@PLT
	mov	eax, DWORD PTR -596[rbp]
	sar	eax, 8
	movzx	eax, al
	mov	rdx, QWORD PTR -568[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	fputc@PLT
	mov	eax, DWORD PTR -588[rbp]
	imul	eax, DWORD PTR -584[rbp]
	lea	edx, 7[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 3
	movsx	rdx, eax
	mov	eax, DWORD PTR -596[rbp]
	sub	eax, DWORD PTR -600[rbp]
	add	eax, 1
	movsx	rsi, eax
	mov	rcx, QWORD PTR -568[rbp]
	mov	rax, QWORD PTR -552[rbp]
	mov	rdi, rax
	call	fwrite@PLT
.L28:
	mov	eax, DWORD PTR -616[rbp]
	mov	DWORD PTR -600[rbp], eax
	mov	eax, DWORD PTR -616[rbp]
	mov	DWORD PTR -596[rbp], eax
	add	DWORD PTR -592[rbp], 1
	jmp	.L30
.L27:
	mov	eax, DWORD PTR -616[rbp]
	mov	DWORD PTR -596[rbp], eax
.L30:
	mov	eax, DWORD PTR -616[rbp]
	mov	DWORD PTR -612[rbp], eax
	jmp	.L6
.L26:
	mov	rax, QWORD PTR -560[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L31
	mov	DWORD PTR -608[rbp], 1
	mov	DWORD PTR -604[rbp], 0
	jmp	.L6
.L31:
	mov	rax, QWORD PTR -560[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L32
	mov	DWORD PTR -608[rbp], 0
	jmp	.L6
.L32:
	cmp	DWORD PTR -608[rbp], 0
	je	.L6
	mov	rax, QWORD PTR -560[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rdx, -628[rbp]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	cmp	DWORD PTR -588[rbp], 16
	jne	.L33
	mov	eax, DWORD PTR -628[rbp]
	sar	eax, 8
	mov	esi, eax
	mov	eax, DWORD PTR -616[rbp]
	sub	eax, DWORD PTR -600[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -588[rbp]
	imul	eax, DWORD PTR -584[rbp]
	lea	ecx, 7[rax]
	test	eax, eax
	cmovs	eax, ecx
	sar	eax, 3
	mov	ecx, edx
	imul	ecx, eax
	mov	eax, DWORD PTR -604[rbp]
	imul	eax, DWORD PTR -588[rbp]
	lea	edx, 7[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 3
	add	eax, ecx
	movsx	rdx, eax
	mov	rax, QWORD PTR -552[rbp]
	add	rax, rdx
	mov	edx, esi
	mov	BYTE PTR [rax], dl
	mov	esi, DWORD PTR -628[rbp]
	mov	eax, DWORD PTR -616[rbp]
	sub	eax, DWORD PTR -600[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -588[rbp]
	imul	eax, DWORD PTR -584[rbp]
	lea	ecx, 7[rax]
	test	eax, eax
	cmovs	eax, ecx
	sar	eax, 3
	mov	ecx, edx
	imul	ecx, eax
	mov	eax, DWORD PTR -604[rbp]
	imul	eax, DWORD PTR -588[rbp]
	lea	edx, 7[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 3
	add	eax, ecx
	cdqe
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -552[rbp]
	add	rax, rdx
	mov	edx, esi
	mov	BYTE PTR [rax], dl
	jmp	.L34
.L33:
	mov	esi, DWORD PTR -628[rbp]
	mov	eax, DWORD PTR -616[rbp]
	sub	eax, DWORD PTR -600[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -588[rbp]
	imul	eax, DWORD PTR -584[rbp]
	lea	ecx, 7[rax]
	test	eax, eax
	cmovs	eax, ecx
	sar	eax, 3
	mov	ecx, edx
	imul	ecx, eax
	mov	eax, DWORD PTR -604[rbp]
	imul	eax, DWORD PTR -588[rbp]
	lea	edx, 7[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 3
	add	eax, ecx
	movsx	rdx, eax
	mov	rax, QWORD PTR -552[rbp]
	add	rax, rdx
	mov	edx, esi
	mov	BYTE PTR [rax], dl
.L34:
	add	DWORD PTR -604[rbp], 1
.L6:
	mov	rax, QWORD PTR -576[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	je	.L35
	mov	ecx, DWORD PTR -596[rbp]
	mov	edx, DWORD PTR -600[rbp]
	mov	eax, DWORD PTR -592[rbp]
	mov	esi, eax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -600[rbp]
	or	eax, DWORD PTR -596[rbp]
	test	eax, eax
	je	.L36
	cmp	DWORD PTR -580[rbp], 0
	je	.L37
	mov	rax, QWORD PTR -568[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	fputc@PLT
	mov	rax, QWORD PTR -568[rbp]
	mov	rsi, rax
	mov	edi, 191
	call	fputc@PLT
	mov	rax, QWORD PTR -568[rbp]
	mov	rsi, rax
	mov	edi, 4
	call	fputc@PLT
	mov	rax, QWORD PTR -568[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	fputc@PLT
	mov	rax, QWORD PTR -568[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	fputc@PLT
	mov	rdx, QWORD PTR -568[rbp]
	mov	eax, DWORD PTR -588[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	fputc@PLT
	mov	rdx, QWORD PTR -568[rbp]
	mov	eax, DWORD PTR -584[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	fputc@PLT
	mov	rax, QWORD PTR -568[rbp]
	mov	rsi, rax
	mov	edi, 1
	call	fputc@PLT
	mov	DWORD PTR -580[rbp], 0
.L37:
	mov	eax, DWORD PTR -600[rbp]
	movzx	eax, al
	mov	rdx, QWORD PTR -568[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	fputc@PLT
	mov	eax, DWORD PTR -600[rbp]
	sar	eax, 8
	movzx	eax, al
	mov	rdx, QWORD PTR -568[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	fputc@PLT
	mov	eax, DWORD PTR -596[rbp]
	movzx	eax, al
	mov	rdx, QWORD PTR -568[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	fputc@PLT
	mov	eax, DWORD PTR -596[rbp]
	sar	eax, 8
	movzx	eax, al
	mov	rdx, QWORD PTR -568[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	fputc@PLT
	mov	eax, DWORD PTR -588[rbp]
	imul	eax, DWORD PTR -584[rbp]
	lea	edx, 7[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 3
	movsx	rdx, eax
	mov	eax, DWORD PTR -596[rbp]
	sub	eax, DWORD PTR -600[rbp]
	add	eax, 1
	movsx	rsi, eax
	mov	rcx, QWORD PTR -568[rbp]
	mov	rax, QWORD PTR -552[rbp]
	mov	rdi, rax
	call	fwrite@PLT
.L36:
	mov	rax, QWORD PTR -568[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	fputc@PLT
	mov	rax, QWORD PTR -568[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	fputc@PLT
	mov	rax, QWORD PTR -568[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	fputc@PLT
	mov	rax, QWORD PTR -568[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	fputc@PLT
	mov	eax, 0
.L3:
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L38
	call	__stack_chk_fail@PLT
.L38:
	mov	rbx, QWORD PTR -8[rbp]
	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	"511830.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"rt\000"
	.align	2
.LC1:
	.ascii	"open %s failed\012\000"
	.align	2
.LC2:
	.ascii	"wb\000"
	.align	2
.LC3:
	.ascii	"FONTBOUNDINGBOX\000"
	.align	2
.LC4:
	.ascii	"STARTCHAR\000"
	.align	2
.LC5:
	.ascii	"ENCODING\000"
	.align	2
.LC6:
	.ascii	"chunk %d, break %d-%d, last range %d-%d\012\000"
	.align	2
.LC7:
	.ascii	"BITMAP\000"
	.align	2
.LC8:
	.ascii	"ENDCHAR\000"
	.align	2
.LC9:
	.ascii	"%X\000"
	.align	2
.LC10:
	.ascii	"chunk %d, range %d-%d\012\000"
	.align	2
.LC11:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 592
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #604
	str	r0, [fp, #-600]
	str	r1, [fp, #-604]
	ldr	r3, .L42
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, [fp, #-604]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L42+4
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-544]
	ldr	r3, [fp, #-544]
	cmp	r3, #0
	bne	.L2
	ldr	r3, [fp, #-604]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L42+8
	bl	printf
	mvn	r3, #0
	b	.L3
.L2:
	ldr	r3, [fp, #-604]
	add	r3, r3, #8
	ldr	r3, [r3]
	ldr	r1, .L42+12
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-540]
	mov	r0, #256
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-536]
	mov	r3, #0
	str	r3, [fp, #-596]
	b	.L4
.L5:
	ldr	r3, [fp, #-596]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-536]
	add	r4, r2, r3
	mov	r0, #64
	bl	malloc
	mov	r3, r0
	str	r3, [r4]
	ldr	r3, [fp, #-596]
	add	r3, r3, #1
	str	r3, [fp, #-596]
.L4:
	ldr	r3, [fp, #-596]
	cmp	r3, #63
	ble	.L5
	mov	r3, #0
	str	r3, [fp, #-576]
	mov	r0, #2097152
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-532]
	mov	r2, #2097152
	mov	r1, #0
	ldr	r0, [fp, #-532]
	bl	memset
	mov	r3, #0
	str	r3, [fp, #-580]
	mov	r3, #0
	str	r3, [fp, #-568]
	mov	r3, #0
	str	r3, [fp, #-564]
	mov	r3, #0
	str	r3, [fp, #-560]
	mov	r3, #16
	str	r3, [fp, #-556]
	mov	r3, #16
	str	r3, [fp, #-552]
	mov	r3, #1
	str	r3, [fp, #-548]
	b	.L6
.L35:
	sub	r3, fp, #528
	ldr	r2, [fp, #-544]
	mov	r1, #255
	mov	r0, r3
	bl	fgets
	mov	r3, #0
	str	r3, [fp, #-592]
	mov	r3, #0
	str	r3, [fp, #-588]
	mov	r3, #0
	str	r3, [fp, #-596]
	b	.L7
.L11:
	ldr	r3, [fp, #-596]
	sub	r2, fp, #12
	add	r3, r2, r3
	ldrb	r3, [r3, #-516]	@ zero_extendqisi2
	cmp	r3, #32
	bhi	.L8
	ldr	r3, [fp, #-592]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-536]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-588]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-588]
	cmp	r3, #0
	beq	.L9
	ldr	r3, [fp, #-592]
	add	r3, r3, #1
	str	r3, [fp, #-592]
.L9:
	mov	r3, #0
	str	r3, [fp, #-588]
	b	.L10
.L8:
	ldr	r2, [fp, #-596]
	ldr	r3, [fp, #-592]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-536]
	add	r3, r1, r3
	ldr	r1, [r3]
	ldr	r3, [fp, #-588]
	add	r0, r3, #1
	str	r0, [fp, #-588]
	add	r3, r1, r3
	sub	r1, fp, #12
	add	r2, r1, r2
	ldrb	r2, [r2, #-516]	@ zero_extendqisi2
	strb	r2, [r3]
.L10:
	ldr	r3, [fp, #-596]
	add	r3, r3, #1
	str	r3, [fp, #-596]
.L7:
	ldr	r3, [fp, #-596]
	cmp	r3, #255
	ble	.L11
	ldr	r3, [fp, #-536]
	ldr	r3, [r3]
	ldr	r1, .L42+16
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L12
	ldr	r3, [fp, #-536]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-556]
	ldr	r3, [fp, #-536]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-552]
	b	.L6
.L12:
	ldr	r3, [fp, #-536]
	ldr	r3, [r3]
	ldr	r1, .L42+20
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L13
	mov	r3, #0
	str	r3, [fp, #-596]
	b	.L14
.L17:
	ldr	r3, [fp, #-596]
	sub	r2, fp, #12
	add	r3, r2, r3
	ldrb	r3, [r3, #-516]	@ zero_extendqisi2
	cmp	r3, #32
	bls	.L39
	ldr	r3, [fp, #-596]
	add	r3, r3, #1
	str	r3, [fp, #-596]
.L14:
	ldr	r3, [fp, #-596]
	cmp	r3, #255
	ble	.L17
	b	.L18
.L39:
	nop
	b	.L18
.L21:
	ldr	r3, [fp, #-596]
	sub	r2, fp, #12
	add	r3, r2, r3
	ldrb	r3, [r3, #-516]	@ zero_extendqisi2
	cmp	r3, #32
	bhi	.L40
	ldr	r3, [fp, #-596]
	add	r3, r3, #1
	str	r3, [fp, #-596]
.L18:
	ldr	r3, [fp, #-596]
	cmp	r3, #255
	ble	.L21
	b	.L20
.L40:
	nop
.L20:
	mov	r3, #0
	str	r3, [fp, #-592]
	b	.L22
.L25:
	ldr	r3, [fp, #-596]
	sub	r2, fp, #12
	add	r3, r2, r3
	ldrb	r3, [r3, #-516]	@ zero_extendqisi2
	cmp	r3, #10
	beq	.L41
	ldr	r2, [fp, #-596]
	ldr	r3, [fp, #-592]
	add	r1, r3, #1
	str	r1, [fp, #-592]
	sub	r1, fp, #12
	add	r2, r1, r2
	ldrb	r2, [r2, #-516]	@ zero_extendqisi2
	sub	r1, fp, #12
	add	r3, r1, r3
	strb	r2, [r3, #-260]
	ldr	r3, [fp, #-596]
	add	r3, r3, #1
	str	r3, [fp, #-596]
.L22:
	ldr	r3, [fp, #-596]
	cmp	r3, #255
	ble	.L25
	b	.L24
.L41:
	nop
.L24:
	sub	r2, fp, #272
	ldr	r3, [fp, #-592]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	b	.L6
.L13:
	ldr	r3, [fp, #-536]
	ldr	r3, [r3]
	ldr	r1, .L42+24
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L26
	ldr	r3, [fp, #-536]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-584]
	ldr	r3, [fp, #-580]
	add	r3, r3, #1
	ldr	r2, [fp, #-584]
	cmp	r2, r3
	beq	.L27
	ldr	r3, [fp, #-564]
	str	r3, [sp, #4]
	ldr	r3, [fp, #-568]
	str	r3, [sp]
	ldr	r3, [fp, #-584]
	ldr	r2, [fp, #-580]
	ldr	r1, [fp, #-560]
	ldr	r0, .L42+28
	bl	printf
	ldr	r2, [fp, #-568]
	ldr	r3, [fp, #-564]
	orr	r3, r2, r3
	cmp	r3, #0
	beq	.L28
	ldr	r3, [fp, #-548]
	cmp	r3, #0
	beq	.L29
	ldr	r1, [fp, #-540]
	mov	r0, #0
	bl	fputc
	ldr	r1, [fp, #-540]
	mov	r0, #191
	bl	fputc
	ldr	r1, [fp, #-540]
	mov	r0, #4
	bl	fputc
	ldr	r1, [fp, #-540]
	mov	r0, #0
	bl	fputc
	ldr	r1, [fp, #-540]
	mov	r0, #0
	bl	fputc
	ldr	r1, [fp, #-540]
	ldr	r0, [fp, #-556]
	bl	fputc
	ldr	r1, [fp, #-540]
	ldr	r0, [fp, #-552]
	bl	fputc
	ldr	r1, [fp, #-540]
	mov	r0, #1
	bl	fputc
	mov	r3, #0
	str	r3, [fp, #-548]
.L29:
	ldr	r3, [fp, #-568]
	and	r3, r3, #255
	ldr	r1, [fp, #-540]
	mov	r0, r3
	bl	fputc
	ldr	r3, [fp, #-568]
	asr	r3, r3, #8
	and	r3, r3, #255
	ldr	r1, [fp, #-540]
	mov	r0, r3
	bl	fputc
	ldr	r3, [fp, #-564]
	and	r3, r3, #255
	ldr	r1, [fp, #-540]
	mov	r0, r3
	bl	fputc
	ldr	r3, [fp, #-564]
	asr	r3, r3, #8
	and	r3, r3, #255
	ldr	r1, [fp, #-540]
	mov	r0, r3
	bl	fputc
	ldr	r2, [fp, #-564]
	ldr	r3, [fp, #-568]
	sub	r3, r2, r3
	add	r3, r3, #1
	mov	r1, r3
	ldr	r3, [fp, #-556]
	ldr	r2, [fp, #-552]
	mul	r3, r2, r3
	add	r2, r3, #7
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-540]
	ldr	r0, [fp, #-532]
	bl	fwrite
.L28:
	ldr	r3, [fp, #-584]
	str	r3, [fp, #-568]
	ldr	r3, [fp, #-584]
	str	r3, [fp, #-564]
	ldr	r3, [fp, #-560]
	add	r3, r3, #1
	str	r3, [fp, #-560]
	b	.L30
.L27:
	ldr	r3, [fp, #-584]
	str	r3, [fp, #-564]
.L30:
	ldr	r3, [fp, #-584]
	str	r3, [fp, #-580]
	b	.L6
.L26:
	ldr	r3, [fp, #-536]
	ldr	r3, [r3]
	ldr	r1, .L42+32
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L31
	mov	r3, #1
	str	r3, [fp, #-576]
	mov	r3, #0
	str	r3, [fp, #-572]
	b	.L6
.L31:
	ldr	r3, [fp, #-536]
	ldr	r3, [r3]
	ldr	r1, .L42+36
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L32
	mov	r3, #0
	str	r3, [fp, #-576]
	b	.L6
.L32:
	ldr	r3, [fp, #-576]
	cmp	r3, #0
	beq	.L6
	ldr	r3, [fp, #-536]
	ldr	r3, [r3]
	sub	r2, fp, #596
	ldr	r1, .L42+40
	mov	r0, r3
	bl	__isoc99_sscanf
	ldr	r3, [fp, #-556]
	cmp	r3, #16
	bne	.L33
	ldr	r3, [fp, #-596]
	asr	r2, r3, #8
	ldr	r1, [fp, #-584]
	ldr	r3, [fp, #-568]
	sub	r1, r1, r3
	ldr	r3, [fp, #-556]
	ldr	r0, [fp, #-552]
	mul	r3, r0, r3
	add	r0, r3, #7
	cmp	r3, #0
	movlt	r3, r0
	movge	r3, r3
	asr	r3, r3, #3
	mul	r1, r3, r1
	ldr	r3, [fp, #-572]
	ldr	r0, [fp, #-556]
	mul	r3, r0, r3
	add	r0, r3, #7
	cmp	r3, #0
	movlt	r3, r0
	movge	r3, r3
	asr	r3, r3, #3
	add	r3, r1, r3
	mov	r1, r3
	ldr	r3, [fp, #-532]
	add	r3, r3, r1
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r2, [fp, #-596]
	ldr	r1, [fp, #-584]
	ldr	r3, [fp, #-568]
	sub	r1, r1, r3
	ldr	r3, [fp, #-556]
	ldr	r0, [fp, #-552]
	mul	r3, r0, r3
	add	r0, r3, #7
	cmp	r3, #0
	movlt	r3, r0
	movge	r3, r3
	asr	r3, r3, #3
	mul	r1, r3, r1
	ldr	r3, [fp, #-572]
	ldr	r0, [fp, #-556]
	mul	r3, r0, r3
	add	r0, r3, #7
	cmp	r3, #0
	movlt	r3, r0
	movge	r3, r3
	asr	r3, r3, #3
	add	r3, r1, r3
	add	r3, r3, #1
	ldr	r1, [fp, #-532]
	add	r3, r1, r3
	and	r2, r2, #255
	strb	r2, [r3]
	b	.L34
.L33:
	ldr	r2, [fp, #-596]
	ldr	r1, [fp, #-584]
	ldr	r3, [fp, #-568]
	sub	r1, r1, r3
	ldr	r3, [fp, #-556]
	ldr	r0, [fp, #-552]
	mul	r3, r0, r3
	add	r0, r3, #7
	cmp	r3, #0
	movlt	r3, r0
	movge	r3, r3
	asr	r3, r3, #3
	mul	r1, r3, r1
	ldr	r3, [fp, #-572]
	ldr	r0, [fp, #-556]
	mul	r3, r0, r3
	add	r0, r3, #7
	cmp	r3, #0
	movlt	r3, r0
	movge	r3, r3
	asr	r3, r3, #3
	add	r3, r1, r3
	mov	r1, r3
	ldr	r3, [fp, #-532]
	add	r3, r3, r1
	and	r2, r2, #255
	strb	r2, [r3]
.L34:
	ldr	r3, [fp, #-572]
	add	r3, r3, #1
	str	r3, [fp, #-572]
.L6:
	ldr	r0, [fp, #-544]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	beq	.L35
	ldr	r3, [fp, #-564]
	ldr	r2, [fp, #-568]
	ldr	r1, [fp, #-560]
	ldr	r0, .L42+44
	bl	printf
	ldr	r2, [fp, #-568]
	ldr	r3, [fp, #-564]
	orr	r3, r2, r3
	cmp	r3, #0
	beq	.L36
	ldr	r3, [fp, #-548]
	cmp	r3, #0
	beq	.L37
	ldr	r1, [fp, #-540]
	mov	r0, #0
	bl	fputc
	ldr	r1, [fp, #-540]
	mov	r0, #191
	bl	fputc
	ldr	r1, [fp, #-540]
	mov	r0, #4
	bl	fputc
	ldr	r1, [fp, #-540]
	mov	r0, #0
	bl	fputc
	ldr	r1, [fp, #-540]
	mov	r0, #0
	bl	fputc
	ldr	r1, [fp, #-540]
	ldr	r0, [fp, #-556]
	bl	fputc
	ldr	r1, [fp, #-540]
	ldr	r0, [fp, #-552]
	bl	fputc
	ldr	r1, [fp, #-540]
	mov	r0, #1
	bl	fputc
	mov	r3, #0
	str	r3, [fp, #-548]
.L37:
	ldr	r3, [fp, #-568]
	and	r3, r3, #255
	ldr	r1, [fp, #-540]
	mov	r0, r3
	bl	fputc
	ldr	r3, [fp, #-568]
	asr	r3, r3, #8
	and	r3, r3, #255
	ldr	r1, [fp, #-540]
	mov	r0, r3
	bl	fputc
	ldr	r3, [fp, #-564]
	and	r3, r3, #255
	ldr	r1, [fp, #-540]
	mov	r0, r3
	bl	fputc
	ldr	r3, [fp, #-564]
	asr	r3, r3, #8
	and	r3, r3, #255
	ldr	r1, [fp, #-540]
	mov	r0, r3
	bl	fputc
	ldr	r2, [fp, #-564]
	ldr	r3, [fp, #-568]
	sub	r3, r2, r3
	add	r3, r3, #1
	mov	r1, r3
	ldr	r3, [fp, #-556]
	ldr	r2, [fp, #-552]
	mul	r3, r2, r3
	add	r2, r3, #7
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-540]
	ldr	r0, [fp, #-532]
	bl	fwrite
.L36:
	ldr	r1, [fp, #-540]
	mov	r0, #0
	bl	fputc
	ldr	r1, [fp, #-540]
	mov	r0, #0
	bl	fputc
	ldr	r1, [fp, #-540]
	mov	r0, #0
	bl	fputc
	ldr	r1, [fp, #-540]
	mov	r0, #0
	bl	fputc
	mov	r3, #0
.L3:
	ldr	r2, .L42
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L38
	bl	__stack_chk_fail
.L38:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L43:
	.align	2
.L42:
	.word	.LC11
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
