	.file	"149735.c"
	.intel_syntax noprefix
	.section	.rodata
.LC0:
	.string	"bg"
.LC1:
	.string	"fg"
.LC2:
	.string	"help"
.LC3:
	.string	"ink"
.LC4:
	.string	"in"
.LC5:
	.string	"out"
.LC6:
	.string	"paper"
.LC7:
	.string	"version"
.LC8:
	.string	"verbose"
	.text
	.globl	ink
	.data
	.align 4
	.type	ink, @object
	.size	ink, 4
ink:
	.long	15
	.globl	paper
	.bss
	.align 4
	.type	paper, @object
	.size	paper, 4
paper:
	.zero	4
	.section	.rodata
.LC10:
	.string	"b:f:hI:i:o:P:Vv"
.LC12:
	.string	"%d"
.LC13:
	.string	"Illegal paper value: %s\n"
.LC14:
	.string	"Illegal ink value: %s\n"
.LC15:
	.string	"r"
.LC16:
	.string	"Unable to open %s\n"
.LC17:
	.string	"w"
.LC18:
	.string	"Illegal option %c\n"
	.data
	.align 32
.LC11:
	.quad	.LC0
	.long	1
	.zero	4
	.quad	0
	.long	98
	.zero	4
	.quad	.LC1
	.long	1
	.zero	4
	.quad	0
	.long	102
	.zero	4
	.quad	.LC2
	.long	0
	.zero	4
	.quad	0
	.long	104
	.zero	4
	.quad	.LC3
	.long	1
	.zero	4
	.quad	0
	.long	73
	.zero	4
	.quad	.LC4
	.long	1
	.zero	4
	.quad	0
	.long	105
	.zero	4
	.quad	.LC5
	.long	1
	.zero	4
	.quad	0
	.long	111
	.zero	4
	.quad	.LC6
	.long	1
	.zero	4
	.quad	0
	.long	80
	.zero	4
	.quad	.LC7
	.long	0
	.zero	4
	.quad	0
	.long	86
	.zero	4
	.quad	.LC8
	.long	0
	.zero	4
	.quad	0
	.long	118
	.zero	4
	.quad	0
	.long	0
	.zero	4
	.quad	0
	.long	0
	.zero	4
	.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, 400
	mov	DWORD PTR -388[rbp], edi
	mov	QWORD PTR -400[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, .LC10[rip]
	mov	QWORD PTR -344[rbp], rax
	lea	rax, -336[rbp]
	lea	rdx, .LC11[rip]
	mov	ecx, 40
	mov	rdi, rax
	mov	rsi, rdx
	rep movsq
	mov	DWORD PTR -380[rbp], 0
	mov	rax, QWORD PTR stdin[rip]
	mov	QWORD PTR -360[rbp], rax
	mov	rax, QWORD PTR stdout[rip]
	mov	QWORD PTR -352[rbp], rax
	jmp	.L2
.L19:
	mov	eax, DWORD PTR -368[rbp]
	sub	eax, 73
	cmp	eax, 45
	ja	.L3
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L5[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L5[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L5:
	.long	.L9-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L10-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L11-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L10-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L9-.L5
	.long	.L3-.L5
	.long	.L8-.L5
	.long	.L7-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L6-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L4-.L5
	.text
.L10:
	mov	rax, QWORD PTR optarg[rip]
	lea	rdx, paper[rip]
	lea	rsi, .LC12[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	test	eax, eax
	je	.L12
	mov	eax, DWORD PTR paper[rip]
	test	eax, eax
	js	.L12
	mov	eax, DWORD PTR paper[rip]
	cmp	eax, 15
	jle	.L2
.L12:
	mov	rdx, QWORD PTR optarg[rip]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 1
	jmp	.L34
.L9:
	mov	rax, QWORD PTR optarg[rip]
	lea	rdx, ink[rip]
	lea	rsi, .LC12[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	test	eax, eax
	je	.L15
	mov	eax, DWORD PTR ink[rip]
	test	eax, eax
	js	.L15
	mov	eax, DWORD PTR ink[rip]
	cmp	eax, 15
	jle	.L2
.L15:
	mov	rdx, QWORD PTR optarg[rip]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC14[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 1
	jmp	.L34
.L8:
	mov	rax, QWORD PTR -400[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	help
	mov	edi, 0
	call	exit@PLT
.L7:
	mov	rax, QWORD PTR optarg[rip]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -360[rbp], rax
	cmp	QWORD PTR -360[rbp], 0
	jne	.L2
	mov	rdx, QWORD PTR optarg[rip]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC16[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 1
	jmp	.L34
.L6:
	mov	rax, QWORD PTR optarg[rip]
	lea	rsi, .LC17[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -352[rbp], rax
	cmp	QWORD PTR -352[rbp], 0
	jne	.L2
	mov	rdx, QWORD PTR optarg[rip]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC16[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 1
	jmp	.L34
.L11:
	call	version
	mov	edi, 0
	call	exit@PLT
.L4:
	add	DWORD PTR -380[rbp], 1
	jmp	.L2
.L3:
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -368[rbp]
	lea	rsi, .LC18[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -400[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	help
	mov	edi, 1
	call	exit@PLT
.L2:
	lea	rdi, -384[rbp]
	lea	rcx, -336[rbp]
	mov	rdx, QWORD PTR -344[rbp]
	mov	rsi, QWORD PTR -400[rbp]
	mov	eax, DWORD PTR -388[rbp]
	mov	r8, rdi
	mov	edi, eax
	call	getopt_long@PLT
	mov	DWORD PTR -368[rbp], eax
	cmp	DWORD PTR -368[rbp], -1
	jne	.L19
	mov	eax, DWORD PTR optind[rip]
	cmp	DWORD PTR -388[rbp], eax
	jle	.L20
	mov	rax, QWORD PTR stdin[rip]
	cmp	QWORD PTR -360[rbp], rax
	jne	.L20
	mov	eax, DWORD PTR optind[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -400[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -360[rbp], rax
	cmp	QWORD PTR -360[rbp], 0
	jne	.L21
	mov	eax, DWORD PTR optind[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -400[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC16[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 1
	jmp	.L34
.L21:
	mov	eax, DWORD PTR optind[rip]
	add	eax, 1
	mov	DWORD PTR optind[rip], eax
.L20:
	mov	eax, DWORD PTR optind[rip]
	cmp	DWORD PTR -388[rbp], eax
	jle	.L22
	mov	rax, QWORD PTR stdout[rip]
	cmp	QWORD PTR -352[rbp], rax
	jne	.L22
	mov	eax, DWORD PTR optind[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -400[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC17[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -352[rbp], rax
	cmp	QWORD PTR -352[rbp], 0
	jne	.L23
	mov	eax, DWORD PTR optind[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -400[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC16[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 1
	jmp	.L34
.L23:
	mov	eax, DWORD PTR optind[rip]
	add	eax, 1
	mov	DWORD PTR optind[rip], eax
.L22:
	mov	DWORD PTR -376[rbp], 0
	jmp	.L24
.L25:
	mov	rax, QWORD PTR -352[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	putc@PLT
	add	DWORD PTR -376[rbp], 1
.L24:
	cmp	DWORD PTR -376[rbp], 1023
	jle	.L25
	jmp	.L26
.L33:
	mov	DWORD PTR -376[rbp], 0
	jmp	.L27
.L32:
	mov	eax, DWORD PTR -372[rbp]
	and	eax, 128
	test	eax, eax
	je	.L28
	mov	eax, DWORD PTR ink[rip]
	sal	eax, 4
	mov	edx, eax
	jmp	.L29
.L28:
	mov	eax, DWORD PTR paper[rip]
	sal	eax, 4
	mov	edx, eax
.L29:
	mov	eax, DWORD PTR -372[rbp]
	and	eax, 64
	test	eax, eax
	je	.L30
	mov	eax, DWORD PTR ink[rip]
	jmp	.L31
.L30:
	mov	eax, DWORD PTR paper[rip]
.L31:
	or	eax, edx
	mov	DWORD PTR -364[rbp], eax
	sal	DWORD PTR -372[rbp], 2
	mov	rdx, QWORD PTR -352[rbp]
	mov	eax, DWORD PTR -364[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	putc@PLT
	add	DWORD PTR -376[rbp], 1
.L27:
	cmp	DWORD PTR -376[rbp], 3
	jle	.L32
.L26:
	mov	rax, QWORD PTR -360[rbp]
	mov	rdi, rax
	call	getc@PLT
	mov	DWORD PTR -372[rbp], eax
	cmp	DWORD PTR -372[rbp], -1
	jne	.L33
	mov	rax, QWORD PTR -360[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -352[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
.L34:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L35
	call	__stack_chk_fail@PLT
.L35:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC19:
	.string	"Usage: %s [<options>] [<infile>] [<outfile>]\n"
.LC20:
	.string	"\toptions are\n"
	.align 8
.LC21:
	.string	"\t-b\t--bg\t\tset paper color (%d)\n"
.LC22:
	.string	"\t-f\t--fg\t\tset ink color (%d)\n"
	.align 8
.LC23:
	.string	"\t-h\t--help\t\tprint this help message\n"
	.align 8
.LC24:
	.string	"\t-I\t--ink\t\tset ink color (%d)\n"
.LC25:
	.string	"\t-i\t--in\t\tinput file (stdin)\n"
	.align 8
.LC26:
	.string	"\t-o\t--out\t\toutput file (stdout)\n"
	.align 8
.LC27:
	.string	"\t-P\t--paper\t\tset paper color (%d)\n"
	.align 8
.LC28:
	.string	"\t-V\t--version\tget version information\n"
	.align 8
.LC29:
	.string	"\t-v\t--verbose\tincrease verbosity\n"
	.text
	.globl	help
	.type	help, @function
help:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	call	version
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -8[rbp]
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 13
	mov	esi, 1
	lea	rdi, .LC20[rip]
	call	fwrite@PLT
	mov	edx, DWORD PTR paper[rip]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC21[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edx, DWORD PTR ink[rip]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC22[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 36
	mov	esi, 1
	lea	rdi, .LC23[rip]
	call	fwrite@PLT
	mov	edx, DWORD PTR ink[rip]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC24[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 29
	mov	esi, 1
	lea	rdi, .LC25[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 32
	mov	esi, 1
	lea	rdi, .LC26[rip]
	call	fwrite@PLT
	mov	edx, DWORD PTR paper[rip]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC27[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 38
	mov	esi, 1
	lea	rdi, .LC28[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 33
	mov	esi, 1
	lea	rdi, .LC29[rip]
	call	fwrite@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	help, .-help
	.section	.rodata
.LC30:
	.string	"20190917"
.LC31:
	.string	"1.00.01"
.LC32:
	.string	"fonttotiles version %s %s\n"
	.text
	.globl	version
	.type	version, @function
version:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	rax, QWORD PTR stderr[rip]
	lea	rcx, .LC30[rip]
	lea	rdx, .LC31[rip]
	lea	rsi, .LC32[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	version, .-version
	.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	"149735.c"
	.section	.rodata
	.align	2
.LC0:
	.ascii	"bg\000"
	.align	2
.LC1:
	.ascii	"fg\000"
	.align	2
.LC2:
	.ascii	"help\000"
	.align	2
.LC3:
	.ascii	"ink\000"
	.align	2
.LC4:
	.ascii	"in\000"
	.align	2
.LC5:
	.ascii	"out\000"
	.align	2
.LC6:
	.ascii	"paper\000"
	.align	2
.LC7:
	.ascii	"version\000"
	.align	2
.LC8:
	.ascii	"verbose\000"
	.text
	.global	ink
	.data
	.align	2
	.type	ink, %object
	.size	ink, 4
ink:
	.word	15
	.global	paper
	.bss
	.align	2
	.type	paper, %object
	.size	paper, 4
paper:
	.space	4
	.section	.rodata
	.align	2
.LC10:
	.ascii	"b:f:hI:i:o:P:Vv\000"
	.align	2
.LC12:
	.ascii	"%d\000"
	.align	2
.LC13:
	.ascii	"Illegal paper value: %s\012\000"
	.align	2
.LC14:
	.ascii	"Illegal ink value: %s\012\000"
	.align	2
.LC15:
	.ascii	"r\000"
	.align	2
.LC16:
	.ascii	"Unable to open %s\012\000"
	.align	2
.LC17:
	.ascii	"w\000"
	.align	2
.LC18:
	.ascii	"Illegal option %c\012\000"
	.align	2
.LC11:
	.word	.LC0
	.word	1
	.word	0
	.word	98
	.word	.LC1
	.word	1
	.word	0
	.word	102
	.word	.LC2
	.word	0
	.word	0
	.word	104
	.word	.LC3
	.word	1
	.word	0
	.word	73
	.word	.LC4
	.word	1
	.word	0
	.word	105
	.word	.LC5
	.word	1
	.word	0
	.word	111
	.word	.LC6
	.word	1
	.word	0
	.word	80
	.word	.LC7
	.word	0
	.word	0
	.word	86
	.word	.LC8
	.word	0
	.word	0
	.word	118
	.word	0
	.word	0
	.word	0
	.word	0
	.align	2
.LC19:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 208
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #216
	str	r0, [fp, #-208]
	str	r1, [fp, #-212]
	ldr	r3, .L36
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L36+4
	str	r3, [fp, #-180]
	ldr	r2, .L36+8
	sub	r3, fp, #168
	mov	r1, r2
	mov	r2, #160
	mov	r0, r3
	bl	memcpy
	mov	r3, #0
	str	r3, [fp, #-200]
	ldr	r3, .L36+12
	ldr	r3, [r3]
	str	r3, [fp, #-188]
	ldr	r3, .L36+16
	ldr	r3, [r3]
	str	r3, [fp, #-184]
	b	.L2
.L19:
	ldr	r3, [fp, #-176]
	sub	r3, r3, #73
	cmp	r3, #45
	ldrls	pc, [pc, r3, asl #2]
	b	.L3
.L5:
	.word	.L9
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L10
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L11
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L10
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L9
	.word	.L3
	.word	.L8
	.word	.L7
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L6
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L4
.L10:
	ldr	r3, .L36+20
	ldr	r3, [r3]
	ldr	r2, .L36+24
	ldr	r1, .L36+28
	mov	r0, r3
	bl	__isoc99_sscanf
	mov	r3, r0
	cmp	r3, #0
	beq	.L12
	ldr	r3, .L36+24
	ldr	r3, [r3]
	cmp	r3, #0
	blt	.L12
	ldr	r3, .L36+24
	ldr	r3, [r3]
	cmp	r3, #15
	ble	.L2
.L12:
	ldr	r3, .L36+32
	ldr	r3, [r3]
	ldr	r2, .L36+20
	ldr	r2, [r2]
	ldr	r1, .L36+36
	mov	r0, r3
	bl	fprintf
	mov	r3, #1
	b	.L34
.L9:
	ldr	r3, .L36+20
	ldr	r3, [r3]
	ldr	r2, .L36+40
	ldr	r1, .L36+28
	mov	r0, r3
	bl	__isoc99_sscanf
	mov	r3, r0
	cmp	r3, #0
	beq	.L15
	ldr	r3, .L36+40
	ldr	r3, [r3]
	cmp	r3, #0
	blt	.L15
	ldr	r3, .L36+40
	ldr	r3, [r3]
	cmp	r3, #15
	ble	.L2
.L15:
	ldr	r3, .L36+32
	ldr	r3, [r3]
	ldr	r2, .L36+20
	ldr	r2, [r2]
	ldr	r1, .L36+44
	mov	r0, r3
	bl	fprintf
	mov	r3, #1
	b	.L34
.L8:
	ldr	r3, [fp, #-212]
	ldr	r3, [r3]
	mov	r0, r3
	bl	help
	mov	r0, #0
	bl	exit
.L7:
	ldr	r3, .L36+20
	ldr	r3, [r3]
	ldr	r1, .L36+48
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-188]
	ldr	r3, [fp, #-188]
	cmp	r3, #0
	bne	.L2
	ldr	r3, .L36+32
	ldr	r3, [r3]
	ldr	r2, .L36+20
	ldr	r2, [r2]
	ldr	r1, .L36+52
	mov	r0, r3
	bl	fprintf
	mov	r3, #1
	b	.L34
.L6:
	ldr	r3, .L36+20
	ldr	r3, [r3]
	ldr	r1, .L36+56
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-184]
	ldr	r3, [fp, #-184]
	cmp	r3, #0
	bne	.L2
	ldr	r3, .L36+32
	ldr	r3, [r3]
	ldr	r2, .L36+20
	ldr	r2, [r2]
	ldr	r1, .L36+52
	mov	r0, r3
	bl	fprintf
	mov	r3, #1
	b	.L34
.L11:
	bl	version
	mov	r0, #0
	bl	exit
.L4:
	ldr	r3, [fp, #-200]
	add	r3, r3, #1
	str	r3, [fp, #-200]
	b	.L2
.L3:
	ldr	r3, .L36+32
	ldr	r3, [r3]
	ldr	r2, [fp, #-176]
	ldr	r1, .L36+60
	mov	r0, r3
	bl	fprintf
	ldr	r3, [fp, #-212]
	ldr	r3, [r3]
	mov	r0, r3
	bl	help
	mov	r0, #1
	bl	exit
.L2:
	sub	r2, fp, #168
	sub	r3, fp, #204
	str	r3, [sp]
	mov	r3, r2
	ldr	r2, [fp, #-180]
	ldr	r1, [fp, #-212]
	ldr	r0, [fp, #-208]
	bl	getopt_long
	str	r0, [fp, #-176]
	ldr	r3, [fp, #-176]
	cmn	r3, #1
	bne	.L19
	ldr	r3, .L36+64
	ldr	r3, [r3]
	ldr	r2, [fp, #-208]
	cmp	r2, r3
	ble	.L20
	ldr	r3, .L36+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-188]
	cmp	r2, r3
	bne	.L20
	ldr	r3, .L36+64
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-212]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L36+48
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-188]
	ldr	r3, [fp, #-188]
	cmp	r3, #0
	bne	.L21
	ldr	r3, .L36+32
	ldr	r0, [r3]
	ldr	r3, .L36+64
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-212]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L36+52
	bl	fprintf
	mov	r3, #1
	b	.L34
.L21:
	ldr	r3, .L36+64
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L36+64
	str	r3, [r2]
.L20:
	ldr	r3, .L36+64
	ldr	r3, [r3]
	ldr	r2, [fp, #-208]
	cmp	r2, r3
	ble	.L22
	ldr	r3, .L36+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-184]
	cmp	r2, r3
	bne	.L22
	ldr	r3, .L36+64
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-212]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L36+56
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-184]
	ldr	r3, [fp, #-184]
	cmp	r3, #0
	bne	.L23
	ldr	r3, .L36+32
	ldr	r0, [r3]
	ldr	r3, .L36+64
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-212]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L36+52
	bl	fprintf
	mov	r3, #1
	b	.L34
.L23:
	ldr	r3, .L36+64
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L36+64
	str	r3, [r2]
.L22:
	mov	r3, #0
	str	r3, [fp, #-196]
	b	.L24
.L25:
	ldr	r1, [fp, #-184]
	mov	r0, #0
	bl	putc
	ldr	r3, [fp, #-196]
	add	r3, r3, #1
	str	r3, [fp, #-196]
.L24:
	ldr	r3, [fp, #-196]
	cmp	r3, #1024
	blt	.L25
	b	.L26
.L33:
	mov	r3, #0
	str	r3, [fp, #-196]
	b	.L27
.L32:
	ldr	r3, [fp, #-192]
	and	r3, r3, #128
	cmp	r3, #0
	beq	.L28
	ldr	r3, .L36+40
	ldr	r3, [r3]
	lsl	r2, r3, #4
	b	.L29
.L28:
	ldr	r3, .L36+24
	ldr	r3, [r3]
	lsl	r2, r3, #4
.L29:
	ldr	r3, [fp, #-192]
	and	r3, r3, #64
	cmp	r3, #0
	beq	.L30
	ldr	r3, .L36+40
	ldr	r3, [r3]
	b	.L31
.L30:
	ldr	r3, .L36+24
	ldr	r3, [r3]
.L31:
	orr	r3, r2, r3
	str	r3, [fp, #-172]
	ldr	r3, [fp, #-192]
	lsl	r3, r3, #2
	str	r3, [fp, #-192]
	ldr	r1, [fp, #-184]
	ldr	r0, [fp, #-172]
	bl	putc
	ldr	r3, [fp, #-196]
	add	r3, r3, #1
	str	r3, [fp, #-196]
.L27:
	ldr	r3, [fp, #-196]
	cmp	r3, #3
	ble	.L32
.L26:
	ldr	r0, [fp, #-188]
	bl	getc
	str	r0, [fp, #-192]
	ldr	r3, [fp, #-192]
	cmn	r3, #1
	bne	.L33
	ldr	r0, [fp, #-188]
	bl	fclose
	ldr	r0, [fp, #-184]
	bl	fclose
	mov	r3, #0
.L34:
	ldr	r2, .L36
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L35
	bl	__stack_chk_fail
.L35:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L37:
	.align	2
.L36:
	.word	.LC19
	.word	.LC10
	.word	.LC11
	.word	stdin
	.word	stdout
	.word	optarg
	.word	paper
	.word	.LC12
	.word	stderr
	.word	.LC13
	.word	ink
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	optind
	.size	main, .-main
	.section	.rodata
	.align	2
.LC20:
	.ascii	"Usage: %s [<options>] [<infile>] [<outfile>]\012\000"
	.align	2
.LC21:
	.ascii	"\011options are\012\000"
	.align	2
.LC22:
	.ascii	"\011-b\011--bg\011\011set paper color (%d)\012\000"
	.align	2
.LC23:
	.ascii	"\011-f\011--fg\011\011set ink color (%d)\012\000"
	.align	2
.LC24:
	.ascii	"\011-h\011--help\011\011print this help message\012"
	.ascii	"\000"
	.align	2
.LC25:
	.ascii	"\011-I\011--ink\011\011set ink color (%d)\012\000"
	.align	2
.LC26:
	.ascii	"\011-i\011--in\011\011input file (stdin)\012\000"
	.align	2
.LC27:
	.ascii	"\011-o\011--out\011\011output file (stdout)\012\000"
	.align	2
.LC28:
	.ascii	"\011-P\011--paper\011\011set paper color (%d)\012\000"
	.align	2
.LC29:
	.ascii	"\011-V\011--version\011get version information\012\000"
	.align	2
.LC30:
	.ascii	"\011-v\011--verbose\011increase verbosity\012\000"
	.text
	.align	2
	.global	help
	.syntax unified
	.arm
	.fpu softvfp
	.type	help, %function
help:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	bl	version
	ldr	r3, .L39
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	ldr	r1, .L39+4
	mov	r0, r3
	bl	fprintf
	ldr	r3, .L39
	ldr	r3, [r3]
	mov	r2, #13
	mov	r1, #1
	ldr	r0, .L39+8
	bl	fwrite
	ldr	r3, .L39
	ldr	r3, [r3]
	ldr	r2, .L39+12
	ldr	r2, [r2]
	ldr	r1, .L39+16
	mov	r0, r3
	bl	fprintf
	ldr	r3, .L39
	ldr	r3, [r3]
	ldr	r2, .L39+20
	ldr	r2, [r2]
	ldr	r1, .L39+24
	mov	r0, r3
	bl	fprintf
	ldr	r3, .L39
	ldr	r3, [r3]
	mov	r2, #36
	mov	r1, #1
	ldr	r0, .L39+28
	bl	fwrite
	ldr	r3, .L39
	ldr	r3, [r3]
	ldr	r2, .L39+20
	ldr	r2, [r2]
	ldr	r1, .L39+32
	mov	r0, r3
	bl	fprintf
	ldr	r3, .L39
	ldr	r3, [r3]
	mov	r2, #29
	mov	r1, #1
	ldr	r0, .L39+36
	bl	fwrite
	ldr	r3, .L39
	ldr	r3, [r3]
	mov	r2, #32
	mov	r1, #1
	ldr	r0, .L39+40
	bl	fwrite
	ldr	r3, .L39
	ldr	r3, [r3]
	ldr	r2, .L39+12
	ldr	r2, [r2]
	ldr	r1, .L39+44
	mov	r0, r3
	bl	fprintf
	ldr	r3, .L39
	ldr	r3, [r3]
	mov	r2, #38
	mov	r1, #1
	ldr	r0, .L39+48
	bl	fwrite
	ldr	r3, .L39
	ldr	r3, [r3]
	mov	r2, #33
	mov	r1, #1
	ldr	r0, .L39+52
	bl	fwrite
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L40:
	.align	2
.L39:
	.word	stderr
	.word	.LC20
	.word	.LC21
	.word	paper
	.word	.LC22
	.word	ink
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.word	.LC27
	.word	.LC28
	.word	.LC29
	.word	.LC30
	.size	help, .-help
	.section	.rodata
	.align	2
.LC31:
	.ascii	"20190917\000"
	.align	2
.LC32:
	.ascii	"1.00.01\000"
	.align	2
.LC33:
	.ascii	"fonttotiles version %s %s\012\000"
	.text
	.align	2
	.global	version
	.syntax unified
	.arm
	.fpu softvfp
	.type	version, %function
version:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L42
	ldr	r0, [r3]
	ldr	r3, .L42+4
	ldr	r2, .L42+8
	ldr	r1, .L42+12
	bl	fprintf
	nop
	pop	{fp, pc}
.L43:
	.align	2
.L42:
	.word	stderr
	.word	.LC31
	.word	.LC32
	.word	.LC33
	.size	version, .-version
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
