	.file	"11467.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"TMP.HLP"
.LC1:
	.string	"rm %s &> /dev/null"
	.text
	.type	delTmpPackFile, @function
delTmpPackFile:
.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, 272
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -272[rbp]
	lea	rdx, .LC0[rip]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	lea	rax, -272[rbp]
	mov	rdi, rax
	call	system@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L2
	call	__stack_chk_fail@PLT
.L2:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	delTmpPackFile, .-delTmpPackFile
	.section	.rodata
.LC2:
	.string	"ft2hlp_to_h - by 8bitbubsy"
	.align 8
.LC3:
	.string	"Usage: ft2hlp_to_h <helpfile.hlp>"
.LC4:
	.string	"rb"
	.align 8
.LC5:
	.string	"Error: Could not open input file for reading!"
.LC6:
	.string	"wb"
	.align 8
.LC7:
	.string	"Error: Could not open temp file for writing!"
.LC8:
	.string	"ERROR: Out of memory!"
.LC9:
	.string	"Parsing..."
.LC10:
	.string	"END"
	.align 8
.LC11:
	.string	"ERROR: Line %d has more than 255 characters!\n"
	.align 8
.LC12:
	.string	"Successfully parsed %d lines.\n"
	.align 8
.LC13:
	.string	"Error: Could not open temp file for reading!"
.LC14:
	.string	"w"
.LC15:
	.string	"help_data.h"
	.align 8
.LC16:
	.string	"Error: Could not open ft2_help_data.h for writing!"
	.align 8
.LC17:
	.string	"Converting data to header bytes.."
.LC18:
	.string	"#ifndef __FT2_HELP_DATA_H\n"
.LC19:
	.string	"#define __FT2_HELP_DATA_H\n"
.LC20:
	.string	"#include <stdint.h>\n"
.LC21:
	.string	"#define HELP_DATA_LEN %d\n"
.LC22:
	.string	"const uint8_t helpData[%d] =\n"
.LC23:
	.string	"{\n"
.LC24:
	.string	"0x%02X"
.LC25:
	.string	"0x%02X,"
.LC26:
	.string	"};\n"
.LC27:
	.string	"#endif\n"
	.align 8
.LC28:
	.string	"Done! %d bytes sucessfully written to ft2_help_data.h.\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
	sub	rsp, 96
	mov	DWORD PTR -84[rbp], edi
	mov	QWORD PTR -96[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC2[rip]
	call	puts@PLT
	cmp	DWORD PTR -84[rbp], 2
	je	.L4
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	eax, -1
	jmp	.L27
.L4:
	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 -32[rbp], rax
	cmp	QWORD PTR -32[rbp], 0
	jne	.L6
	lea	rdi, .LC5[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L27
.L6:
	lea	rsi, .LC6[rip]
	lea	rdi, .LC0[rip]
	call	fopen@PLT
	mov	QWORD PTR -24[rbp], rax
	cmp	QWORD PTR -24[rbp], 0
	jne	.L7
	lea	rdi, .LC7[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 1
	jmp	.L27
.L7:
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, 2
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	ftell@PLT
	mov	DWORD PTR -52[rbp], eax
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	rewind@PLT
	mov	eax, DWORD PTR -52[rbp]
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	jne	.L8
	lea	rdi, .LC8[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, -1
	jmp	.L27
.L8:
	mov	edx, DWORD PTR -52[rbp]
	mov	rcx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	fread@PLT
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	fclose@PLT
	lea	rdi, .LC9[rip]
	call	puts@PLT
	mov	DWORD PTR -56[rbp], 0
	mov	DWORD PTR -60[rbp], 0
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR -40[rbp], rax
	jmp	.L9
.L17:
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, 3
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	jne	.L10
	mov	eax, DWORD PTR -52[rbp]
	sub	eax, 5
	cmp	DWORD PTR -56[rbp], eax
	jb	.L10
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	mov	edi, 3
	call	fputc@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rcx, rax
	mov	edx, 3
	mov	esi, 1
	lea	rdi, .LC10[rip]
	call	fwrite@PLT
	jmp	.L11
.L10:
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR -48[rbp], rax
	mov	DWORD PTR -64[rbp], 0
	jmp	.L12
.L13:
	add	DWORD PTR -64[rbp], 1
	add	QWORD PTR -48[rbp], 1
.L12:
	mov	rax, QWORD PTR -48[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 13
	jne	.L13
	cmp	DWORD PTR -64[rbp], 0
	jne	.L14
	mov	BYTE PTR -69[rbp], -1
	mov	rdx, QWORD PTR -24[rbp]
	lea	rax, -69[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 1
	mov	rdi, rax
	call	fwrite@PLT
	jmp	.L15
.L14:
	cmp	DWORD PTR -64[rbp], 255
	jbe	.L16
	mov	eax, DWORD PTR -60[rbp]
	mov	esi, eax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 1
	jmp	.L27
.L16:
	mov	eax, DWORD PTR -64[rbp]
	mov	BYTE PTR -69[rbp], al
	mov	rdx, QWORD PTR -24[rbp]
	lea	rax, -69[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 1
	mov	rdi, rax
	call	fwrite@PLT
	mov	edx, DWORD PTR -64[rbp]
	mov	rcx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	fwrite@PLT
.L15:
	mov	edx, DWORD PTR -64[rbp]
	mov	eax, DWORD PTR -56[rbp]
	add	eax, edx
	add	eax, 2
	mov	DWORD PTR -56[rbp], eax
	mov	eax, DWORD PTR -64[rbp]
	add	eax, 2
	mov	eax, eax
	add	QWORD PTR -40[rbp], rax
	add	DWORD PTR -60[rbp], 1
.L9:
	mov	eax, DWORD PTR -56[rbp]
	cmp	eax, DWORD PTR -52[rbp]
	jb	.L17
.L11:
	mov	eax, DWORD PTR -60[rbp]
	sub	eax, 1
	mov	esi, eax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	fclose@PLT
	lea	rsi, .LC4[rip]
	lea	rdi, .LC0[rip]
	call	fopen@PLT
	mov	QWORD PTR -32[rbp], rax
	cmp	QWORD PTR -32[rbp], 0
	jne	.L18
	lea	rdi, .LC13[rip]
	call	puts@PLT
	call	delTmpPackFile
	mov	eax, 1
	jmp	.L27
.L18:
	lea	rsi, .LC14[rip]
	lea	rdi, .LC15[rip]
	call	fopen@PLT
	mov	QWORD PTR -24[rbp], rax
	cmp	QWORD PTR -24[rbp], 0
	jne	.L19
	lea	rdi, .LC16[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	fclose@PLT
	call	delTmpPackFile
	mov	eax, 1
	jmp	.L27
.L19:
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, 2
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	ftell@PLT
	mov	DWORD PTR -52[rbp], eax
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	rewind@PLT
	lea	rdi, .LC17[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rcx, rax
	mov	edx, 26
	mov	esi, 1
	lea	rdi, .LC18[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rcx, rax
	mov	edx, 26
	mov	esi, 1
	lea	rdi, .LC19[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	mov	edi, 10
	call	fputc@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rcx, rax
	mov	edx, 20
	mov	esi, 1
	lea	rdi, .LC20[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	mov	edi, 10
	call	fputc@PLT
	mov	edx, DWORD PTR -52[rbp]
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC21[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	mov	edi, 10
	call	fputc@PLT
	mov	edx, DWORD PTR -52[rbp]
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC22[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rcx, rax
	mov	edx, 2
	mov	esi, 1
	lea	rdi, .LC23[rip]
	call	fwrite@PLT
	mov	DWORD PTR -68[rbp], 0
	jmp	.L20
.L26:
	mov	ecx, DWORD PTR -68[rbp]
	mov	edx, ecx
	mov	eax, 2863311531
	imul	rax, rdx
	shr	rax, 32
	mov	edx, eax
	shr	edx, 3
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	sal	eax, 2
	sub	ecx, eax
	mov	edx, ecx
	test	edx, edx
	jne	.L21
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	mov	edi, 9
	call	fputc@PLT
.L21:
	mov	eax, DWORD PTR -52[rbp]
	sub	eax, 1
	cmp	DWORD PTR -68[rbp], eax
	jne	.L22
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	fgetc@PLT
	mov	edx, eax
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC24[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L23
.L22:
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	fgetc@PLT
	mov	edx, eax
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC25[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L23:
	mov	ecx, DWORD PTR -68[rbp]
	mov	edx, ecx
	mov	eax, 2863311531
	imul	rax, rdx
	shr	rax, 32
	mov	edx, eax
	shr	edx, 3
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	sal	eax, 2
	sub	ecx, eax
	mov	edx, ecx
	cmp	edx, 11
	je	.L24
	mov	eax, DWORD PTR -52[rbp]
	sub	eax, 1
	cmp	DWORD PTR -68[rbp], eax
	jne	.L25
.L24:
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	mov	edi, 10
	call	fputc@PLT
.L25:
	add	DWORD PTR -68[rbp], 1
.L20:
	mov	eax, DWORD PTR -68[rbp]
	cmp	eax, DWORD PTR -52[rbp]
	jb	.L26
	mov	rax, QWORD PTR -24[rbp]
	mov	rcx, rax
	mov	edx, 3
	mov	esi, 1
	lea	rdi, .LC26[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	mov	edi, 10
	call	fputc@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rcx, rax
	mov	edx, 7
	mov	esi, 1
	lea	rdi, .LC27[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, DWORD PTR -52[rbp]
	mov	esi, eax
	lea	rdi, .LC28[rip]
	mov	eax, 0
	call	printf@PLT
	call	delTmpPackFile
	mov	eax, 0
.L27:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L28
	call	__stack_chk_fail@PLT
.L28:
	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	"11467.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"TMP.HLP\000"
	.align	2
.LC1:
	.ascii	"rm %s &> /dev/null\000"
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	delTmpPackFile, %function
delTmpPackFile:
	@ args = 0, pretend = 0, frame = 264
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #264
	ldr	r3, .L3
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #264
	ldr	r2, .L3+4
	ldr	r1, .L3+8
	mov	r0, r3
	bl	sprintf
	sub	r3, fp, #264
	mov	r0, r3
	bl	system
	nop
	ldr	r3, .L3
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L2
	bl	__stack_chk_fail
.L2:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L4:
	.align	2
.L3:
	.word	.LC2
	.word	.LC0
	.word	.LC1
	.size	delTmpPackFile, .-delTmpPackFile
	.section	.rodata
	.align	2
.LC3:
	.ascii	"ft2hlp_to_h - by 8bitbubsy\000"
	.align	2
.LC4:
	.ascii	"Usage: ft2hlp_to_h <helpfile.hlp>\000"
	.align	2
.LC5:
	.ascii	"rb\000"
	.align	2
.LC6:
	.ascii	"Error: Could not open input file for reading!\000"
	.align	2
.LC7:
	.ascii	"wb\000"
	.align	2
.LC8:
	.ascii	"Error: Could not open temp file for writing!\000"
	.align	2
.LC9:
	.ascii	"ERROR: Out of memory!\000"
	.align	2
.LC10:
	.ascii	"Parsing...\000"
	.align	2
.LC11:
	.ascii	"END\000"
	.align	2
.LC12:
	.ascii	"ERROR: Line %d has more than 255 characters!\012\000"
	.align	2
.LC13:
	.ascii	"Successfully parsed %d lines.\012\000"
	.align	2
.LC14:
	.ascii	"Error: Could not open temp file for reading!\000"
	.align	2
.LC15:
	.ascii	"w\000"
	.align	2
.LC16:
	.ascii	"help_data.h\000"
	.align	2
.LC17:
	.ascii	"Error: Could not open ft2_help_data.h for writing!\000"
	.align	2
.LC18:
	.ascii	"Converting data to header bytes..\000"
	.align	2
.LC19:
	.ascii	"#ifndef __FT2_HELP_DATA_H\012\000"
	.align	2
.LC20:
	.ascii	"#define __FT2_HELP_DATA_H\012\000"
	.align	2
.LC21:
	.ascii	"#include <stdint.h>\012\000"
	.align	2
.LC22:
	.ascii	"#define HELP_DATA_LEN %d\012\000"
	.align	2
.LC23:
	.ascii	"const uint8_t helpData[%d] =\012\000"
	.align	2
.LC24:
	.ascii	"{\012\000"
	.align	2
.LC25:
	.ascii	"0x%02X\000"
	.align	2
.LC26:
	.ascii	"0x%02X,\000"
	.align	2
.LC27:
	.ascii	"};\012\000"
	.align	2
.LC28:
	.ascii	"#endif\012\000"
	.align	2
.LC29:
	.ascii	"Done! %d bytes sucessfully written to ft2_help_data"
	.ascii	".h.\012\000"
	.align	2
.LC30:
	.word	__stack_chk_guard
	.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]
	ldr	r3, .L31
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L31+4
	bl	puts
	ldr	r3, [fp, #-56]
	cmp	r3, #2
	beq	.L6
	ldr	r0, .L31+8
	bl	puts
	mvn	r3, #0
	b	.L29
.L6:
	ldr	r3, [fp, #-60]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L31+12
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L8
	ldr	r0, .L31+16
	bl	puts
	mov	r3, #1
	b	.L29
.L8:
	ldr	r1, .L31+20
	ldr	r0, .L31+24
	bl	fopen
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L9
	ldr	r0, .L31+28
	bl	puts
	ldr	r0, [fp, #-24]
	bl	fclose
	mov	r3, #1
	b	.L29
.L9:
	mov	r2, #2
	mov	r1, #0
	ldr	r0, [fp, #-24]
	bl	fseek
	ldr	r0, [fp, #-24]
	bl	ftell
	mov	r3, r0
	str	r3, [fp, #-16]
	ldr	r0, [fp, #-24]
	bl	rewind
	ldr	r0, [fp, #-16]
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L10
	ldr	r0, .L31+32
	bl	puts
	ldr	r0, [fp, #-24]
	bl	fclose
	ldr	r0, [fp, #-20]
	bl	fclose
	mvn	r3, #0
	b	.L29
.L10:
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-16]
	mov	r1, #1
	ldr	r0, [fp, #-12]
	bl	fread
	ldr	r0, [fp, #-24]
	bl	fclose
	ldr	r0, .L31+36
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-12]
	str	r3, [fp, #-44]
	b	.L11
.L19:
	mov	r2, #3
	ldr	r1, .L31+40
	ldr	r0, [fp, #-44]
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L12
	ldr	r3, [fp, #-16]
	sub	r3, r3, #5
	ldr	r2, [fp, #-28]
	cmp	r2, r3
	bcc	.L12
	ldr	r1, [fp, #-20]
	mov	r0, #3
	bl	fputc
	ldr	r3, [fp, #-20]
	mov	r2, #3
	mov	r1, #1
	ldr	r0, .L31+40
	bl	fwrite
	b	.L13
.L12:
	ldr	r3, [fp, #-44]
	str	r3, [fp, #-48]
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L14
.L15:
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
.L14:
	ldr	r3, [fp, #-48]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #13
	bne	.L15
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	bne	.L16
	mvn	r3, #0
	strb	r3, [fp, #-49]
	sub	r0, fp, #49
	ldr	r3, [fp, #-20]
	mov	r2, #1
	mov	r1, #1
	bl	fwrite
	b	.L17
.L16:
	ldr	r3, [fp, #-36]
	cmp	r3, #255
	bls	.L18
	ldr	r1, [fp, #-32]
	ldr	r0, .L31+44
	bl	printf
	ldr	r0, [fp, #-20]
	bl	fclose
	mov	r3, #1
	b	.L29
.L18:
	ldr	r3, [fp, #-36]
	and	r3, r3, #255
	strb	r3, [fp, #-49]
	sub	r0, fp, #49
	ldr	r3, [fp, #-20]
	mov	r2, #1
	mov	r1, #1
	bl	fwrite
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-36]
	mov	r1, #1
	ldr	r0, [fp, #-44]
	bl	fwrite
.L17:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-28]
	add	r3, r2, r3
	add	r3, r3, #2
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-36]
	add	r3, r3, #2
	ldr	r2, [fp, #-44]
	add	r3, r2, r3
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L11:
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	bcc	.L19
.L13:
	ldr	r3, [fp, #-32]
	sub	r3, r3, #1
	mov	r1, r3
	ldr	r0, .L31+48
	bl	printf
	ldr	r0, [fp, #-20]
	bl	fclose
	ldr	r1, .L31+12
	ldr	r0, .L31+24
	bl	fopen
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L20
	ldr	r0, .L31+52
	bl	puts
	bl	delTmpPackFile
	mov	r3, #1
	b	.L29
.L20:
	ldr	r1, .L31+56
	ldr	r0, .L31+60
	bl	fopen
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L21
	ldr	r0, .L31+64
	bl	puts
	ldr	r0, [fp, #-24]
	bl	fclose
	bl	delTmpPackFile
	mov	r3, #1
	b	.L29
.L21:
	mov	r2, #2
	mov	r1, #0
	ldr	r0, [fp, #-24]
	bl	fseek
	ldr	r0, [fp, #-24]
	bl	ftell
	mov	r3, r0
	str	r3, [fp, #-16]
	ldr	r0, [fp, #-24]
	bl	rewind
	ldr	r0, .L31+68
	bl	puts
	ldr	r3, [fp, #-20]
	mov	r2, #26
	mov	r1, #1
	ldr	r0, .L31+72
	bl	fwrite
	ldr	r3, [fp, #-20]
	mov	r2, #26
	mov	r1, #1
	ldr	r0, .L31+76
	bl	fwrite
	ldr	r1, [fp, #-20]
	mov	r0, #10
	bl	fputc
	ldr	r3, [fp, #-20]
	mov	r2, #20
	mov	r1, #1
	ldr	r0, .L31+80
	bl	fwrite
	ldr	r1, [fp, #-20]
	mov	r0, #10
	bl	fputc
	ldr	r2, [fp, #-16]
	ldr	r1, .L31+84
	ldr	r0, [fp, #-20]
	bl	fprintf
	ldr	r1, [fp, #-20]
	mov	r0, #10
	bl	fputc
	ldr	r2, [fp, #-16]
	ldr	r1, .L31+88
	ldr	r0, [fp, #-20]
	bl	fprintf
	ldr	r3, [fp, #-20]
	mov	r2, #2
	mov	r1, #1
	ldr	r0, .L31+92
	bl	fwrite
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L22
.L28:
	ldr	r1, [fp, #-40]
	ldr	r3, .L31+96
	umull	r2, r3, r1, r3
	lsr	r2, r3, #3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, r1, r3
	cmp	r2, #0
	bne	.L23
	ldr	r1, [fp, #-20]
	mov	r0, #9
	bl	fputc
.L23:
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	ldr	r2, [fp, #-40]
	cmp	r2, r3
	bne	.L24
	ldr	r0, [fp, #-24]
	bl	fgetc
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L31+100
	ldr	r0, [fp, #-20]
	bl	fprintf
	b	.L25
.L24:
	ldr	r0, [fp, #-24]
	bl	fgetc
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L31+104
	ldr	r0, [fp, #-20]
	bl	fprintf
.L25:
	ldr	r1, [fp, #-40]
	ldr	r3, .L31+96
	umull	r2, r3, r1, r3
	lsr	r2, r3, #3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, r1, r3
	cmp	r2, #11
	beq	.L26
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	ldr	r2, [fp, #-40]
	cmp	r2, r3
	bne	.L27
.L26:
	ldr	r1, [fp, #-20]
	mov	r0, #10
	bl	fputc
.L27:
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L22:
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	bcc	.L28
	ldr	r3, [fp, #-20]
	mov	r2, #3
	mov	r1, #1
	ldr	r0, .L31+108
	bl	fwrite
	ldr	r1, [fp, #-20]
	mov	r0, #10
	bl	fputc
	ldr	r3, [fp, #-20]
	mov	r2, #7
	mov	r1, #1
	ldr	r0, .L31+112
	bl	fwrite
	ldr	r0, [fp, #-20]
	bl	fclose
	ldr	r0, [fp, #-24]
	bl	fclose
	ldr	r1, [fp, #-16]
	ldr	r0, .L31+116
	bl	printf
	bl	delTmpPackFile
	mov	r3, #0
.L29:
	ldr	r2, .L31
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L30
	bl	__stack_chk_fail
.L30:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L32:
	.align	2
.L31:
	.word	.LC30
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC0
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	-1431655765
	.word	.LC25
	.word	.LC26
	.word	.LC27
	.word	.LC28
	.word	.LC29
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
