	.file	"232956301.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"rb"
.LC1:
	.string	"head %dx%d\n"
.LC2:
	.string	"font cell dimension mismatch"
.LC3:
	.string	"missing head."
.LC4:
	.string	"wb"
	.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, 96
	mov	DWORD PTR -84[rbp], edi
	mov	QWORD PTR -96[rbp], rsi
	mov	edi, 8388608
	call	malloc@PLT
	mov	QWORD PTR -40[rbp], rax
	mov	edi, 8192
	call	malloc@PLT
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, 8192
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	DWORD PTR -52[rbp], 8
	mov	DWORD PTR -48[rbp], 16
	mov	DWORD PTR -44[rbp], 0
	mov	DWORD PTR -60[rbp], 2
	jmp	.L2
.L13:
	mov	eax, DWORD PTR -60[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	puts@PLT
	mov	eax, DWORD PTR -60[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	fgetc@PLT
	mov	DWORD PTR -68[rbp], eax
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	fgetc@PLT
	sal	eax, 8
	add	DWORD PTR -68[rbp], eax
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	fgetc@PLT
	mov	DWORD PTR -64[rbp], eax
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	fgetc@PLT
	sal	eax, 8
	add	DWORD PTR -64[rbp], eax
	cmp	DWORD PTR -68[rbp], 48896
	jne	.L3
	mov	edi, 16
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	eax, DWORD PTR -64[rbp]
	movsx	rdx, eax
	mov	rcx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	fread@PLT
	cmp	DWORD PTR -44[rbp], 0
	jne	.L4
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	DWORD PTR -52[rbp], eax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 2
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	DWORD PTR -48[rbp], eax
	mov	edx, DWORD PTR -48[rbp]
	mov	eax, DWORD PTR -52[rbp]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -44[rbp], 1
	jmp	.L12
.L4:
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	cmp	DWORD PTR -52[rbp], eax
	jne	.L6
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 2
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	cmp	DWORD PTR -48[rbp], eax
	je	.L12
.L6:
	lea	rdi, .LC2[rip]
	call	puts@PLT
	mov	edi, -1
	call	exit@PLT
.L3:
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	edi, -1
	call	exit@PLT
.L12:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	fgetc@PLT
	mov	DWORD PTR -68[rbp], eax
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	fgetc@PLT
	sal	eax, 8
	add	DWORD PTR -68[rbp], eax
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	fgetc@PLT
	mov	DWORD PTR -64[rbp], eax
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	fgetc@PLT
	sal	eax, 8
	add	DWORD PTR -64[rbp], eax
	cmp	DWORD PTR -68[rbp], 0
	jne	.L7
	cmp	DWORD PTR -64[rbp], 0
	je	.L25
.L7:
	mov	eax, DWORD PTR -64[rbp]
	sub	eax, DWORD PTR -68[rbp]
	lea	ecx, 1[rax]
	mov	eax, DWORD PTR -52[rbp]
	imul	eax, DWORD PTR -48[rbp]
	lea	edx, 7[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 3
	imul	eax, ecx
	cdqe
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	eax, DWORD PTR -52[rbp]
	imul	eax, DWORD PTR -48[rbp]
	lea	edx, 7[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 3
	movsx	rdx, eax
	mov	eax, DWORD PTR -64[rbp]
	sub	eax, DWORD PTR -68[rbp]
	add	eax, 1
	movsx	rsi, eax
	mov	rcx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	fread@PLT
	mov	DWORD PTR -56[rbp], 0
	jmp	.L9
.L11:
	mov	edx, DWORD PTR -68[rbp]
	mov	eax, DWORD PTR -56[rbp]
	add	eax, edx
	lea	edx, 7[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 3
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	edx, al
	mov	ecx, DWORD PTR -68[rbp]
	mov	eax, DWORD PTR -56[rbp]
	add	eax, ecx
	and	eax, 7
	mov	ecx, eax
	sar	edx, cl
	mov	eax, edx
	and	eax, 1
	test	eax, eax
	jne	.L10
	mov	edx, DWORD PTR -68[rbp]
	mov	eax, DWORD PTR -56[rbp]
	add	eax, edx
	lea	edx, 7[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 3
	movsx	rcx, eax
	mov	rdx, QWORD PTR -32[rbp]
	add	rdx, rcx
	movzx	edx, BYTE PTR [rdx]
	mov	edi, edx
	mov	ecx, DWORD PTR -68[rbp]
	mov	edx, DWORD PTR -56[rbp]
	add	edx, ecx
	and	edx, 7
	mov	esi, 1
	mov	ecx, edx
	sal	esi, cl
	mov	edx, esi
	mov	ecx, edi
	or	ecx, edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	edx, ecx
	mov	BYTE PTR [rax], dl
	mov	eax, DWORD PTR -52[rbp]
	imul	eax, DWORD PTR -48[rbp]
	lea	edx, 7[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 3
	movsx	rdx, eax
	mov	eax, DWORD PTR -52[rbp]
	imul	eax, DWORD PTR -48[rbp]
	lea	ecx, 7[rax]
	test	eax, eax
	cmovs	eax, ecx
	sar	eax, 3
	imul	eax, DWORD PTR -56[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -8[rbp]
	add	rcx, rax
	mov	esi, DWORD PTR -68[rbp]
	mov	eax, DWORD PTR -56[rbp]
	lea	edi, [rsi+rax]
	mov	eax, DWORD PTR -52[rbp]
	imul	eax, DWORD PTR -48[rbp]
	lea	esi, 7[rax]
	test	eax, eax
	cmovs	eax, esi
	sar	eax, 3
	imul	eax, edi
	movsx	rsi, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rsi
	mov	rsi, rcx
	mov	rdi, rax
	call	memcpy@PLT
.L10:
	add	DWORD PTR -56[rbp], 1
.L9:
	mov	eax, DWORD PTR -64[rbp]
	sub	eax, DWORD PTR -68[rbp]
	cmp	DWORD PTR -56[rbp], eax
	jle	.L11
	jmp	.L12
.L25:
	nop
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	fclose@PLT
	add	DWORD PTR -60[rbp], 1
.L2:
	mov	eax, DWORD PTR -60[rbp]
	cmp	eax, DWORD PTR -84[rbp]
	jl	.L13
	mov	rax, QWORD PTR -96[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	fputc@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	mov	edi, 191
	call	fputc@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	mov	edi, 4
	call	fputc@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	fputc@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	fputc@PLT
	mov	rdx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -52[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	fputc@PLT
	mov	rdx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -48[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	fputc@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	mov	edi, 1
	call	fputc@PLT
	mov	DWORD PTR -68[rbp], 0
	mov	DWORD PTR -64[rbp], 0
	mov	DWORD PTR -60[rbp], 0
	jmp	.L14
.L20:
	mov	eax, DWORD PTR -60[rbp]
	lea	edx, 7[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 3
	movsx	rdx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	edx, al
	mov	eax, DWORD PTR -60[rbp]
	and	eax, 7
	mov	ecx, eax
	sar	edx, cl
	mov	eax, edx
	and	eax, 1
	test	eax, eax
	je	.L15
	cmp	DWORD PTR -68[rbp], 0
	jne	.L16
	mov	eax, DWORD PTR -60[rbp]
	mov	DWORD PTR -68[rbp], eax
	mov	eax, DWORD PTR -60[rbp]
	mov	DWORD PTR -64[rbp], eax
	jmp	.L17
.L16:
	mov	eax, DWORD PTR -60[rbp]
	mov	DWORD PTR -64[rbp], eax
	jmp	.L17
.L15:
	cmp	DWORD PTR -68[rbp], 0
	jne	.L18
	cmp	DWORD PTR -64[rbp], 0
	je	.L19
.L18:
	mov	eax, DWORD PTR -68[rbp]
	movzx	eax, al
	mov	rdx, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	fputc@PLT
	mov	eax, DWORD PTR -68[rbp]
	sar	eax, 8
	movzx	eax, al
	mov	rdx, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	fputc@PLT
	mov	eax, DWORD PTR -64[rbp]
	movzx	eax, al
	mov	rdx, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	fputc@PLT
	mov	eax, DWORD PTR -64[rbp]
	sar	eax, 8
	movzx	eax, al
	mov	rdx, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	fputc@PLT
	mov	eax, DWORD PTR -52[rbp]
	imul	eax, DWORD PTR -48[rbp]
	lea	edx, 7[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 3
	movsx	rdx, eax
	mov	eax, DWORD PTR -64[rbp]
	sub	eax, DWORD PTR -68[rbp]
	add	eax, 1
	movsx	rsi, eax
	mov	eax, DWORD PTR -52[rbp]
	imul	eax, DWORD PTR -48[rbp]
	lea	ecx, 7[rax]
	test	eax, eax
	cmovs	eax, ecx
	sar	eax, 3
	imul	eax, DWORD PTR -68[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -40[rbp]
	lea	rdi, [rcx+rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rcx, rax
	call	fwrite@PLT
.L19:
	mov	DWORD PTR -68[rbp], 0
	mov	DWORD PTR -64[rbp], 0
.L17:
	add	DWORD PTR -60[rbp], 1
.L14:
	cmp	DWORD PTR -60[rbp], 65535
	jle	.L20
	cmp	DWORD PTR -68[rbp], 0
	jne	.L21
	cmp	DWORD PTR -64[rbp], 0
	je	.L22
.L21:
	mov	eax, DWORD PTR -68[rbp]
	movzx	eax, al
	mov	rdx, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	fputc@PLT
	mov	eax, DWORD PTR -68[rbp]
	sar	eax, 8
	movzx	eax, al
	mov	rdx, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	fputc@PLT
	mov	eax, DWORD PTR -64[rbp]
	movzx	eax, al
	mov	rdx, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	fputc@PLT
	mov	eax, DWORD PTR -64[rbp]
	sar	eax, 8
	movzx	eax, al
	mov	rdx, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	fputc@PLT
	mov	eax, DWORD PTR -52[rbp]
	imul	eax, DWORD PTR -48[rbp]
	lea	edx, 7[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 3
	movsx	rdx, eax
	mov	eax, DWORD PTR -64[rbp]
	sub	eax, DWORD PTR -68[rbp]
	add	eax, 1
	movsx	rsi, eax
	mov	eax, DWORD PTR -52[rbp]
	imul	eax, DWORD PTR -48[rbp]
	lea	ecx, 7[rax]
	test	eax, eax
	cmovs	eax, ecx
	sar	eax, 3
	imul	eax, DWORD PTR -68[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -40[rbp]
	lea	rdi, [rcx+rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rcx, rax
	call	fwrite@PLT
.L22:
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	fputc@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	fputc@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	fputc@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	fputc@PLT
	mov	eax, 0
	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	"232956301.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"rb\000"
	.align	2
.LC1:
	.ascii	"head %dx%d\012\000"
	.align	2
.LC2:
	.ascii	"font cell dimension mismatch\000"
	.align	2
.LC3:
	.ascii	"missing head.\000"
	.align	2
.LC4:
	.ascii	"wb\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	str	r0, [fp, #-56]
	str	r1, [fp, #-60]
	mov	r0, #8388608
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-24]
	mov	r0, #8192
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-20]
	mov	r2, #8192
	mov	r1, #0
	ldr	r0, [fp, #-20]
	bl	memset
	mov	r3, #8
	str	r3, [fp, #-36]
	mov	r3, #16
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-28]
	mov	r3, #2
	str	r3, [fp, #-44]
	b	.L2
.L13:
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-60]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	puts
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-60]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L26
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-12]
	ldr	r0, [fp, #-12]
	bl	fgetc
	str	r0, [fp, #-52]
	ldr	r0, [fp, #-12]
	bl	fgetc
	mov	r3, r0
	lsl	r3, r3, #8
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	str	r3, [fp, #-52]
	ldr	r0, [fp, #-12]
	bl	fgetc
	str	r0, [fp, #-48]
	ldr	r0, [fp, #-12]
	bl	fgetc
	mov	r3, r0
	lsl	r3, r3, #8
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-52]
	cmp	r3, #48896
	bne	.L3
	mov	r0, #16
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r2, [fp, #-48]
	ldr	r3, [fp, #-12]
	mov	r1, #1
	ldr	r0, [fp, #-8]
	bl	fread
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L4
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-8]
	add	r3, r3, #2
	ldrb	r3, [r3]	@ zero_extendqisi2
	str	r3, [fp, #-32]
	ldr	r2, [fp, #-32]
	ldr	r1, [fp, #-36]
	ldr	r0, .L26+4
	bl	printf
	mov	r3, #1
	str	r3, [fp, #-28]
	b	.L12
.L4:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-36]
	cmp	r3, r2
	bne	.L6
	ldr	r3, [fp, #-8]
	add	r3, r3, #2
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-32]
	cmp	r3, r2
	beq	.L12
.L6:
	ldr	r0, .L26+8
	bl	puts
	mvn	r0, #0
	bl	exit
.L3:
	ldr	r0, .L26+12
	bl	puts
	mvn	r0, #0
	bl	exit
.L12:
	ldr	r0, [fp, #-12]
	bl	fgetc
	str	r0, [fp, #-52]
	ldr	r0, [fp, #-12]
	bl	fgetc
	mov	r3, r0
	lsl	r3, r3, #8
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	str	r3, [fp, #-52]
	ldr	r0, [fp, #-12]
	bl	fgetc
	str	r0, [fp, #-48]
	ldr	r0, [fp, #-12]
	bl	fgetc
	mov	r3, r0
	lsl	r3, r3, #8
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-52]
	cmp	r3, #0
	bne	.L7
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	beq	.L25
.L7:
	ldr	r2, [fp, #-48]
	ldr	r3, [fp, #-52]
	sub	r3, r2, r3
	add	r2, r3, #1
	ldr	r3, [fp, #-36]
	ldr	r1, [fp, #-32]
	mul	r3, r1, r3
	add	r1, r3, #7
	cmp	r3, #0
	movlt	r3, r1
	movge	r3, r3
	asr	r3, r3, #3
	mul	r3, r2, r3
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r2, [fp, #-48]
	ldr	r3, [fp, #-52]
	sub	r3, r2, r3
	add	r3, r3, #1
	mov	r1, r3
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-32]
	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, #-12]
	ldr	r0, [fp, #-8]
	bl	fread
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L9
.L11:
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-40]
	add	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, #-20]
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-40]
	add	r3, r2, r3
	and	r3, r3, #7
	asr	r3, r1, r3
	and	r3, r3, #1
	cmp	r3, #0
	bne	.L10
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-40]
	add	r3, r2, r3
	add	r2, r3, #7
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #3
	mov	r0, r3
	mov	r2, r0
	ldr	r3, [fp, #-20]
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #24
	asr	r2, r3, #24
	ldr	r1, [fp, #-52]
	ldr	r3, [fp, #-40]
	add	r3, r1, r3
	and	r3, r3, #7
	mov	r1, #1
	lsl	r3, r1, r3
	lsl	r3, r3, #24
	asr	r3, r3, #24
	orr	r3, r2, r3
	lsl	r3, r3, #24
	asr	r2, r3, #24
	mov	r1, r0
	ldr	r3, [fp, #-20]
	add	r3, r3, r1
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-40]
	add	r2, r2, r3
	ldr	r3, [fp, #-36]
	ldr	r1, [fp, #-32]
	mul	r3, r1, r3
	add	r1, r3, #7
	cmp	r3, #0
	movlt	r3, r1
	movge	r3, r3
	asr	r3, r3, #3
	mul	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r0, r3, r2
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-32]
	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, #-40]
	mul	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r1, r3, r2
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-32]
	mul	r3, r2, r3
	add	r2, r3, #7
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #3
	mov	r2, r3
	bl	memcpy
.L10:
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L9:
	ldr	r2, [fp, #-48]
	ldr	r3, [fp, #-52]
	sub	r3, r2, r3
	ldr	r2, [fp, #-40]
	cmp	r2, r3
	ble	.L11
	b	.L12
.L25:
	nop
	ldr	r0, [fp, #-12]
	bl	fclose
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L2:
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-56]
	cmp	r2, r3
	blt	.L13
	ldr	r3, [fp, #-60]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L26+16
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-16]
	ldr	r1, [fp, #-16]
	mov	r0, #0
	bl	fputc
	ldr	r1, [fp, #-16]
	mov	r0, #191
	bl	fputc
	ldr	r1, [fp, #-16]
	mov	r0, #4
	bl	fputc
	ldr	r1, [fp, #-16]
	mov	r0, #0
	bl	fputc
	ldr	r1, [fp, #-16]
	mov	r0, #0
	bl	fputc
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-36]
	bl	fputc
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-32]
	bl	fputc
	ldr	r1, [fp, #-16]
	mov	r0, #1
	bl	fputc
	mov	r3, #0
	str	r3, [fp, #-52]
	mov	r3, #0
	str	r3, [fp, #-48]
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L14
.L20:
	ldr	r3, [fp, #-44]
	add	r2, r3, #7
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-20]
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-44]
	and	r3, r3, #7
	asr	r3, r2, r3
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L15
	ldr	r3, [fp, #-52]
	cmp	r3, #0
	bne	.L16
	ldr	r3, [fp, #-44]
	str	r3, [fp, #-52]
	ldr	r3, [fp, #-44]
	str	r3, [fp, #-48]
	b	.L17
.L16:
	ldr	r3, [fp, #-44]
	str	r3, [fp, #-48]
	b	.L17
.L15:
	ldr	r3, [fp, #-52]
	cmp	r3, #0
	bne	.L18
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	beq	.L19
.L18:
	ldr	r3, [fp, #-52]
	and	r3, r3, #255
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	fputc
	ldr	r3, [fp, #-52]
	asr	r3, r3, #8
	and	r3, r3, #255
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	fputc
	ldr	r3, [fp, #-48]
	and	r3, r3, #255
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	fputc
	ldr	r3, [fp, #-48]
	asr	r3, r3, #8
	and	r3, r3, #255
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	fputc
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-32]
	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, #-52]
	mul	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r0, r3, r2
	ldr	r2, [fp, #-48]
	ldr	r3, [fp, #-52]
	sub	r3, r2, r3
	add	r3, r3, #1
	mov	r1, r3
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-32]
	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, #-16]
	bl	fwrite
.L19:
	mov	r3, #0
	str	r3, [fp, #-52]
	mov	r3, #0
	str	r3, [fp, #-48]
.L17:
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L14:
	ldr	r3, [fp, #-44]
	cmp	r3, #65536
	blt	.L20
	ldr	r3, [fp, #-52]
	cmp	r3, #0
	bne	.L21
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	beq	.L22
.L21:
	ldr	r3, [fp, #-52]
	and	r3, r3, #255
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	fputc
	ldr	r3, [fp, #-52]
	asr	r3, r3, #8
	and	r3, r3, #255
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	fputc
	ldr	r3, [fp, #-48]
	and	r3, r3, #255
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	fputc
	ldr	r3, [fp, #-48]
	asr	r3, r3, #8
	and	r3, r3, #255
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	fputc
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-32]
	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, #-52]
	mul	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r0, r3, r2
	ldr	r2, [fp, #-48]
	ldr	r3, [fp, #-52]
	sub	r3, r2, r3
	add	r3, r3, #1
	mov	r1, r3
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-32]
	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, #-16]
	bl	fwrite
.L22:
	ldr	r1, [fp, #-16]
	mov	r0, #0
	bl	fputc
	ldr	r1, [fp, #-16]
	mov	r0, #0
	bl	fputc
	ldr	r1, [fp, #-16]
	mov	r0, #0
	bl	fputc
	ldr	r1, [fp, #-16]
	mov	r0, #0
	bl	fputc
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L27:
	.align	2
.L26:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
