	.file	"270214.c"
	.intel_syntax noprefix
	.text
	.globl	gen_map
	.data
	.align 4
	.type	gen_map, @object
	.size	gen_map, 4
gen_map:
	.long	1
	.globl	start_char
	.bss
	.align 4
	.type	start_char, @object
	.size	start_char, 4
start_char:
	.zero	4
	.globl	default_char
	.align 4
	.type	default_char, @object
	.size	default_char, 4
default_char:
	.zero	4
	.globl	exclude_start
	.align 4
	.type	exclude_start, @object
	.size	exclude_start, 4
exclude_start:
	.zero	4
	.globl	exclude_end
	.align 4
	.type	exclude_end, @object
	.size	exclude_end, 4
exclude_end:
	.zero	4
	.globl	limit_char
	.data
	.align 4
	.type	limit_char, @object
	.size	limit_char, 4
limit_char:
	.long	65535
	.globl	ascent_correction
	.bss
	.align 4
	.type	ascent_correction, @object
	.size	ascent_correction, 4
ascent_correction:
	.zero	4
	.globl	descent_correction
	.align 4
	.type	descent_correction, @object
	.size	descent_correction, 4
descent_correction:
	.zero	4
	.globl	outfile
	.align 32
	.type	outfile, @object
	.size	outfile, 256
outfile:
	.zero	256
	.section	.rodata
	.align 8
.LC0:
	.ascii	"Usage: convbdf [options] [input-files]\nOptions:\n    -s N  "
	.ascii	" Start output at character encodings >= "
	.string	"N\n    -l N   Limit output to character encodings <= N\n    -x N-M Exclude character range N...M\n    -u N   Use code N as default char \n    -a N   Decrease ascent by N\n    -d N   Decrease descent by N\n    -n     Don't generate bitmaps as comments in .c file\n"
	.text
	.globl	usage
	.type	usage, @function
usage:
.LFB6:
	.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]
	mov	rcx, rax
	mov	edx, 354
	mov	esi, 1
	lea	rdi, .LC0[rip]
	call	fwrite@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	usage, .-usage
	.section	.rodata
.LC1:
	.string	""
.LC2:
	.string	"Invalid option ignored: %s\r\n"
.LC3:
	.string	"Unknown option ignored: %c\r\n"
	.text
	.globl	getopts
	.type	getopts, @function
getopts:
.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, 64
	mov	QWORD PTR -56[rbp], rdi
	mov	QWORD PTR -64[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -36[rbp], eax
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -16[rbp], rax
	jmp	.L3
.L48:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR [rax]
	add	rax, 1
	mov	QWORD PTR -24[rbp], rax
	jmp	.L4
.L46:
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -24[rbp], rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	cmp	eax, 32
	je	.L15
	cmp	eax, 32
	jl	.L6
	cmp	eax, 120
	jg	.L6
	cmp	eax, 97
	jl	.L6
	sub	eax, 97
	cmp	eax, 23
	ja	.L6
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L8[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L8[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L8:
	.long	.L14-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L13-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L12-.L8
	.long	.L6-.L8
	.long	.L11-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L10-.L8
	.long	.L6-.L8
	.long	.L9-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L7-.L8
	.text
.L17:
	add	QWORD PTR -24[rbp], 1
.L15:
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L16
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	je	.L17
.L16:
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -24[rbp], rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	je	.L4
	lea	rax, .LC1[rip]
	mov	QWORD PTR -24[rbp], rax
	jmp	.L4
.L11:
	mov	DWORD PTR gen_map[rip], 0
	jmp	.L4
.L12:
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L19
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	strtol@PLT
	mov	DWORD PTR limit_char[rip], eax
	jmp	.L20
.L22:
	add	QWORD PTR -24[rbp], 1
.L20:
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L4
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	jne	.L22
	jmp	.L4
.L19:
	add	QWORD PTR -16[rbp], 8
	sub	DWORD PTR -36[rbp], 1
	cmp	DWORD PTR -36[rbp], 0
	jle	.L4
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR [rax]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	strtol@PLT
	mov	DWORD PTR limit_char[rip], eax
	jmp	.L4
.L7:
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L23
	lea	rcx, -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	strtol@PLT
	mov	DWORD PTR exclude_start[rip], eax
	mov	rax, QWORD PTR -32[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	je	.L24
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -24[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	DWORD PTR exclude_start[rip], 0
	jmp	.L4
.L24:
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 1
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	strtol@PLT
	mov	DWORD PTR exclude_end[rip], eax
	jmp	.L25
.L27:
	add	QWORD PTR -24[rbp], 1
.L25:
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L4
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	jne	.L27
	jmp	.L4
.L23:
	add	QWORD PTR -16[rbp], 8
	sub	DWORD PTR -36[rbp], 1
	cmp	DWORD PTR -36[rbp], 0
	jle	.L4
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rcx, -32[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	strtol@PLT
	mov	DWORD PTR exclude_start[rip], eax
	mov	rax, QWORD PTR -32[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	je	.L29
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	DWORD PTR exclude_start[rip], 0
	jmp	.L4
.L29:
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 1
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	strtol@PLT
	mov	DWORD PTR exclude_end[rip], eax
	jmp	.L4
.L10:
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L30
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	strtol@PLT
	mov	DWORD PTR start_char[rip], eax
	jmp	.L31
.L33:
	add	QWORD PTR -24[rbp], 1
.L31:
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L4
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	jne	.L33
	jmp	.L4
.L30:
	add	QWORD PTR -16[rbp], 8
	sub	DWORD PTR -36[rbp], 1
	cmp	DWORD PTR -36[rbp], 0
	jle	.L4
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR [rax]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	strtol@PLT
	mov	DWORD PTR start_char[rip], eax
	jmp	.L4
.L14:
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L34
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	strtol@PLT
	mov	DWORD PTR ascent_correction[rip], eax
	jmp	.L35
.L37:
	add	QWORD PTR -24[rbp], 1
.L35:
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L4
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	jne	.L37
	jmp	.L4
.L34:
	add	QWORD PTR -16[rbp], 8
	sub	DWORD PTR -36[rbp], 1
	cmp	DWORD PTR -36[rbp], 0
	jle	.L4
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR [rax]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	strtol@PLT
	mov	DWORD PTR ascent_correction[rip], eax
	jmp	.L4
.L13:
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L38
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	strtol@PLT
	mov	DWORD PTR descent_correction[rip], eax
	jmp	.L39
.L41:
	add	QWORD PTR -24[rbp], 1
.L39:
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L4
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	jne	.L41
	jmp	.L4
.L38:
	add	QWORD PTR -16[rbp], 8
	sub	DWORD PTR -36[rbp], 1
	cmp	DWORD PTR -36[rbp], 0
	jle	.L4
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR [rax]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	strtol@PLT
	mov	DWORD PTR descent_correction[rip], eax
	jmp	.L4
.L9:
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L42
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	strtol@PLT
	mov	DWORD PTR default_char[rip], eax
	jmp	.L43
.L45:
	add	QWORD PTR -24[rbp], 1
.L43:
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L4
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	jne	.L45
	jmp	.L4
.L42:
	add	QWORD PTR -16[rbp], 8
	sub	DWORD PTR -36[rbp], 1
	cmp	DWORD PTR -36[rbp], 0
	jle	.L4
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR [rax]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	strtol@PLT
	mov	DWORD PTR default_char[rip], eax
	jmp	.L4
.L6:
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, 1
	movzx	eax, BYTE PTR [rax]
	movsx	edx, al
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L4:
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L46
	add	QWORD PTR -16[rbp], 8
	sub	DWORD PTR -36[rbp], 1
.L3:
	cmp	DWORD PTR -36[rbp], 0
	jle	.L47
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	je	.L48
.L47:
	mov	rax, QWORD PTR -56[rbp]
	mov	edx, DWORD PTR -36[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -64[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	QWORD PTR [rax], rdx
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L49
	call	__stack_chk_fail@PLT
.L49:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	getopts, .-getopts
	.globl	basename
	.type	basename, @function
basename:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -16[rbp], rax
	jmp	.L51
.L53:
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 47
	jne	.L52
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 1
	mov	QWORD PTR -8[rbp], rax
.L52:
	add	QWORD PTR -16[rbp], 1
.L51:
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L53
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	lea	rdi, base.0[rip]
	call	strcpy@PLT
	lea	rax, base.0[rip]
	mov	QWORD PTR -16[rbp], rax
	jmp	.L54
.L57:
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 46
	jne	.L55
	mov	rax, QWORD PTR -16[rbp]
	mov	BYTE PTR [rax], 0
	jmp	.L56
.L55:
	add	QWORD PTR -16[rbp], 1
.L54:
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L57
.L56:
	lea	rax, base.0[rip]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	basename, .-basename
	.globl	convbdf
	.type	convbdf, @function
convbdf:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -12[rbp], 0
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	bdf_read_font
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L60
	mov	edi, 1
	call	exit@PLT
.L60:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	basename
	mov	rsi, rax
	lea	rdi, outfile[rip]
	call	strcpy@PLT
	lea	rdi, outfile[rip]
	call	strlen@PLT
	mov	rdx, rax
	lea	rax, outfile[rip]
	add	rax, rdx
	mov	WORD PTR [rax], 25390
	mov	BYTE PTR 2[rax], 0
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, outfile[rip]
	mov	rdi, rax
	call	gen_c_source
	or	DWORD PTR -12[rbp], eax
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free_font
	mov	eax, DWORD PTR -12[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	convbdf, .-convbdf
	.globl	main
	.type	main, @function
main:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -4[rbp], 0
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 8
	mov	QWORD PTR -32[rbp], rax
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, 1
	mov	DWORD PTR -20[rbp], eax
	lea	rdx, -32[rbp]
	lea	rax, -20[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	getopts
	mov	eax, DWORD PTR -20[rbp]
	test	eax, eax
	jg	.L64
	call	usage
	mov	edi, 1
	call	exit@PLT
.L65:
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	convbdf
	or	DWORD PTR -4[rbp], eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 8
	mov	QWORD PTR -32[rbp], rax
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, 1
	mov	DWORD PTR -20[rbp], eax
.L64:
	mov	eax, DWORD PTR -20[rbp]
	test	eax, eax
	jg	.L65
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	call	exit@PLT
	.cfi_endproc
.LFE10:
	.size	main, .-main
	.globl	free_font
	.type	free_font, @function
free_font:
.LFB11:
	.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
	cmp	QWORD PTR -8[rbp], 0
	je	.L74
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L69
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	free@PLT
.L69:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 72[rax]
	test	rax, rax
	je	.L70
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 72[rax]
	mov	rdi, rax
	call	free@PLT
.L70:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 32[rax]
	test	rax, rax
	je	.L71
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 32[rax]
	mov	rdi, rax
	call	free@PLT
.L71:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 40[rax]
	test	rax, rax
	je	.L72
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 40[rax]
	mov	rdi, rax
	call	free@PLT
.L72:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 48[rax]
	test	rax, rax
	je	.L73
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 48[rax]
	mov	rdi, rax
	call	free@PLT
.L73:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
	jmp	.L66
.L74:
	nop
.L66:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	free_font, .-free_font
	.section	.rodata
.LC4:
	.string	"rb"
.LC5:
	.string	"Error opening file: %s\n"
.LC6:
	.string	"Error reading font header\n"
.LC7:
	.string	"Error reading font bitmaps\n"
	.text
	.globl	bdf_read_font
	.type	bdf_read_font, @function
bdf_read_font:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	jne	.L76
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -24[rbp]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 0
	jmp	.L77
.L76:
	mov	esi, 112
	mov	edi, 1
	call	calloc@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	je	.L82
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	basename
	mov	rdi, rax
	call	strdup@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rdx, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	bdf_read_header
	test	eax, eax
	jne	.L80
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 26
	mov	esi, 1
	lea	rdi, .LC6[rip]
	call	fwrite@PLT
	jmp	.L79
.L80:
	mov	rdx, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	bdf_read_bitmaps
	test	eax, eax
	jne	.L81
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 27
	mov	esi, 1
	lea	rdi, .LC7[rip]
	call	fwrite@PLT
	jmp	.L79
.L81:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -8[rbp]
	jmp	.L77
.L82:
	nop
.L79:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free_font
	mov	eax, 0
.L77:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	bdf_read_font, .-bdf_read_font
	.section	.rodata
.LC8:
	.string	"Error: EOF on file\n"
.LC9:
	.string	"FONT "
.LC10:
	.string	"FONT %[^\n]"
.LC11:
	.string	"Error: bad 'FONT'\n"
.LC12:
	.string	"COPYRIGHT "
.LC13:
	.string	"COPYRIGHT \"%[^\"]"
.LC14:
	.string	"Error: bad 'COPYRIGHT'\n"
.LC15:
	.string	"DEFAULT_CHAR "
.LC16:
	.string	"DEFAULT_CHAR %d"
.LC17:
	.string	"Error: bad 'DEFAULT_CHAR'\n"
.LC18:
	.string	"FONT_DESCENT "
.LC19:
	.string	"FONT_DESCENT %d"
.LC20:
	.string	"Error: bad 'FONT_DESCENT'\n"
.LC21:
	.string	"FONT_ASCENT "
.LC22:
	.string	"FONT_ASCENT %d"
.LC23:
	.string	"Error: bad 'FONT_ASCENT'\n"
.LC24:
	.string	"FONTBOUNDINGBOX "
.LC25:
	.string	"FONTBOUNDINGBOX %d %d %d %d"
.LC26:
	.string	"Error: bad 'FONTBOUNDINGBOX'\n"
.LC27:
	.string	"CHARS "
.LC28:
	.string	"CHARS %d"
.LC29:
	.string	"Error: bad 'CHARS'\n"
.LC30:
	.string	"ENCODING "
.LC31:
	.string	"ENCODING %d"
.LC32:
	.string	"Error: bad 'ENCODING'\n"
.LC33:
	.string	"DWIDTH "
.LC34:
	.string	"DWIDTH %d"
	.align 8
.LC35:
	.string	"Error: bad 'DWIDTH' for encoding %d\n"
.LC36:
	.string	"ENDFONT"
	.align 8
.LC37:
	.string	"Error: Invalid BDF file, requires FONT_ASCENT/FONT_DESCENT/ENCODING\n"
	.align 8
.LC38:
	.string	"Error: no memory for font load\n"
	.text
	.globl	bdf_read_header
	.type	bdf_read_header, @function
bdf_read_header:
.LFB13:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 832
	mov	QWORD PTR -824[rbp], rdi
	mov	QWORD PTR -832[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -796[rbp], 0
	mov	DWORD PTR -792[rbp], 65535
	mov	DWORD PTR -788[rbp], -1
	mov	rax, QWORD PTR -832[rbp]
	mov	DWORD PTR 56[rax], -1
	mov	rax, QWORD PTR -832[rbp]
	mov	DWORD PTR 16[rax], -1
	mov	rax, QWORD PTR -832[rbp]
	mov	DWORD PTR 92[rax], -1
.L111:
	lea	rcx, -784[rbp]
	mov	rax, QWORD PTR -824[rbp]
	mov	edx, 256
	mov	rsi, rcx
	mov	rdi, rax
	call	bdf_getline
	test	rax, rax
	jne	.L84
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 19
	mov	esi, 1
	lea	rdi, .LC8[rip]
	call	fwrite@PLT
	mov	eax, 0
	jmp	.L119
.L84:
	lea	rax, -784[rbp]
	mov	edx, 5
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	jne	.L86
	lea	rdx, -528[rbp]
	lea	rax, -784[rbp]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	cmp	eax, 1
	je	.L87
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 18
	mov	esi, 1
	lea	rdi, .LC11[rip]
	call	fwrite@PLT
	mov	eax, 0
	jmp	.L119
.L87:
	lea	rax, -528[rbp]
	mov	rdi, rax
	call	strdup@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -832[rbp]
	mov	QWORD PTR 72[rax], rdx
	jmp	.L88
.L86:
	lea	rax, -784[rbp]
	mov	edx, 10
	lea	rsi, .LC12[rip]
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	jne	.L89
	lea	rdx, -272[rbp]
	lea	rax, -784[rbp]
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	cmp	eax, 1
	je	.L90
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 23
	mov	esi, 1
	lea	rdi, .LC14[rip]
	call	fwrite@PLT
	mov	eax, 0
	jmp	.L119
.L90:
	lea	rax, -272[rbp]
	mov	rdi, rax
	call	strdup@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -832[rbp]
	mov	QWORD PTR 80[rax], rdx
	jmp	.L88
.L89:
	lea	rax, -784[rbp]
	mov	edx, 13
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	jne	.L91
	mov	rax, QWORD PTR -832[rbp]
	lea	rdx, 56[rax]
	lea	rax, -784[rbp]
	lea	rsi, .LC16[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	cmp	eax, 1
	je	.L91
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 26
	mov	esi, 1
	lea	rdi, .LC17[rip]
	call	fwrite@PLT
	mov	eax, 0
	jmp	.L119
.L91:
	lea	rax, -784[rbp]
	mov	edx, 13
	lea	rsi, .LC18[rip]
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	jne	.L92
	mov	rax, QWORD PTR -832[rbp]
	lea	rdx, 92[rax]
	lea	rax, -784[rbp]
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	cmp	eax, 1
	je	.L122
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 26
	mov	esi, 1
	lea	rdi, .LC20[rip]
	call	fwrite@PLT
	mov	eax, 0
	jmp	.L119
.L92:
	lea	rax, -784[rbp]
	mov	edx, 12
	lea	rsi, .LC21[rip]
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	jne	.L94
	mov	rax, QWORD PTR -832[rbp]
	lea	rdx, 16[rax]
	lea	rax, -784[rbp]
	lea	rsi, .LC22[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	cmp	eax, 1
	je	.L123
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 25
	mov	esi, 1
	lea	rdi, .LC23[rip]
	call	fwrite@PLT
	mov	eax, 0
	jmp	.L119
.L94:
	lea	rax, -784[rbp]
	mov	edx, 16
	lea	rsi, .LC24[rip]
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	jne	.L96
	mov	rax, QWORD PTR -832[rbp]
	lea	rdi, 108[rax]
	mov	rax, QWORD PTR -832[rbp]
	lea	rsi, 104[rax]
	mov	rax, QWORD PTR -832[rbp]
	lea	rcx, 100[rax]
	mov	rax, QWORD PTR -832[rbp]
	lea	rdx, 96[rax]
	lea	rax, -784[rbp]
	mov	r9, rdi
	mov	r8, rsi
	lea	rsi, .LC25[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	cmp	eax, 4
	je	.L124
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 29
	mov	esi, 1
	lea	rdi, .LC26[rip]
	call	fwrite@PLT
	mov	eax, 0
	jmp	.L119
.L96:
	lea	rax, -784[rbp]
	mov	edx, 6
	lea	rsi, .LC27[rip]
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	jne	.L98
	lea	rdx, -804[rbp]
	lea	rax, -784[rbp]
	lea	rsi, .LC28[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	cmp	eax, 1
	je	.L125
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 19
	mov	esi, 1
	lea	rdi, .LC29[rip]
	call	fwrite@PLT
	mov	eax, 0
	jmp	.L119
.L98:
	lea	rax, -784[rbp]
	mov	edx, 9
	lea	rsi, .LC30[rip]
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	jne	.L100
	lea	rdx, -808[rbp]
	lea	rax, -784[rbp]
	lea	rsi, .LC31[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	cmp	eax, 1
	je	.L101
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 22
	mov	esi, 1
	lea	rdi, .LC32[rip]
	call	fwrite@PLT
	mov	eax, 0
	jmp	.L119
.L101:
	mov	edx, DWORD PTR -808[rbp]
	mov	eax, DWORD PTR limit_char[rip]
	cmp	edx, eax
	jg	.L126
	mov	edx, DWORD PTR -808[rbp]
	mov	eax, DWORD PTR start_char[rip]
	cmp	edx, eax
	jl	.L126
	mov	eax, DWORD PTR exclude_start[rip]
	test	eax, eax
	je	.L104
	mov	edx, DWORD PTR -808[rbp]
	mov	eax, DWORD PTR exclude_start[rip]
	cmp	edx, eax
	jl	.L104
	mov	edx, DWORD PTR -808[rbp]
	mov	eax, DWORD PTR exclude_end[rip]
	cmp	edx, eax
	jle	.L127
.L104:
	mov	eax, DWORD PTR -808[rbp]
	cmp	DWORD PTR -792[rbp], eax
	jle	.L105
	mov	eax, DWORD PTR -808[rbp]
	mov	DWORD PTR -792[rbp], eax
.L105:
	mov	eax, DWORD PTR -808[rbp]
	cmp	DWORD PTR -788[rbp], eax
	jge	.L128
	mov	eax, DWORD PTR -808[rbp]
	mov	DWORD PTR -788[rbp], eax
	jmp	.L128
.L100:
	lea	rax, -784[rbp]
	mov	edx, 7
	lea	rsi, .LC33[rip]
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	jne	.L107
	lea	rdx, -800[rbp]
	lea	rax, -784[rbp]
	lea	rsi, .LC34[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	cmp	eax, 1
	je	.L108
	mov	edx, DWORD PTR -808[rbp]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC35[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 0
	jmp	.L119
.L108:
	mov	eax, DWORD PTR -800[rbp]
	cmp	DWORD PTR -796[rbp], eax
	jge	.L129
	mov	eax, DWORD PTR -800[rbp]
	mov	DWORD PTR -796[rbp], eax
	jmp	.L111
.L107:
	lea	rax, -784[rbp]
	lea	rsi, .LC36[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L130
	jmp	.L111
.L122:
	nop
	jmp	.L111
.L123:
	nop
	jmp	.L111
.L124:
	nop
	jmp	.L111
.L125:
	nop
	jmp	.L111
.L126:
	nop
	jmp	.L111
.L127:
	nop
	jmp	.L111
.L128:
	nop
	jmp	.L111
.L129:
	nop
.L88:
	jmp	.L111
.L130:
	nop
	mov	rax, QWORD PTR -832[rbp]
	mov	eax, DWORD PTR 16[rax]
	test	eax, eax
	js	.L112
	mov	rax, QWORD PTR -832[rbp]
	mov	eax, DWORD PTR 92[rax]
	test	eax, eax
	js	.L112
	cmp	DWORD PTR -792[rbp], 0
	jns	.L113
.L112:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 68
	mov	esi, 1
	lea	rdi, .LC37[rip]
	call	fwrite@PLT
	mov	eax, 0
	jmp	.L119
.L113:
	mov	rax, QWORD PTR -832[rbp]
	mov	edx, DWORD PTR 16[rax]
	mov	rax, QWORD PTR -832[rbp]
	mov	eax, DWORD PTR 92[rax]
	add	edx, eax
	mov	rax, QWORD PTR -832[rbp]
	mov	DWORD PTR 12[rax], edx
	mov	eax, DWORD PTR default_char[rip]
	test	eax, eax
	je	.L114
	mov	edx, DWORD PTR default_char[rip]
	mov	rax, QWORD PTR -832[rbp]
	mov	DWORD PTR 56[rax], edx
.L114:
	mov	rax, QWORD PTR -832[rbp]
	mov	eax, DWORD PTR 56[rax]
	test	eax, eax
	js	.L115
	mov	rax, QWORD PTR -832[rbp]
	mov	eax, DWORD PTR 56[rax]
	cmp	DWORD PTR -792[rbp], eax
	jg	.L115
	mov	rax, QWORD PTR -832[rbp]
	mov	edx, DWORD PTR 56[rax]
	mov	eax, DWORD PTR limit_char[rip]
	cmp	edx, eax
	jle	.L116
.L115:
	mov	rax, QWORD PTR -832[rbp]
	mov	edx, DWORD PTR -792[rbp]
	mov	DWORD PTR 56[rax], edx
.L116:
	mov	rax, QWORD PTR -832[rbp]
	mov	edx, DWORD PTR -792[rbp]
	mov	DWORD PTR 20[rax], edx
	mov	eax, DWORD PTR -788[rbp]
	sub	eax, DWORD PTR -792[rbp]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -832[rbp]
	mov	DWORD PTR 24[rax], edx
	mov	eax, DWORD PTR -804[rbp]
	cdqe
	mov	edx, DWORD PTR -796[rbp]
	movsx	rdx, edx
	add	rdx, 15
	shr	rdx, 4
	imul	rdx, rax
	mov	rax, QWORD PTR -832[rbp]
	mov	eax, DWORD PTR 12[rax]
	cdqe
	imul	rax, rdx
	mov	rdx, rax
	mov	rax, QWORD PTR -832[rbp]
	mov	QWORD PTR 64[rax], rdx
	mov	rax, QWORD PTR -832[rbp]
	mov	rax, QWORD PTR 64[rax]
	add	rax, 150
	add	rax, rax
	mov	rdi, rax
	call	malloc@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -832[rbp]
	mov	QWORD PTR 32[rax], rdx
	mov	rax, QWORD PTR -832[rbp]
	mov	eax, DWORD PTR 24[rax]
	cdqe
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -832[rbp]
	mov	QWORD PTR 40[rax], rdx
	mov	rax, QWORD PTR -832[rbp]
	mov	eax, DWORD PTR 24[rax]
	cdqe
	mov	rdi, rax
	call	malloc@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -832[rbp]
	mov	QWORD PTR 48[rax], rdx
	mov	rax, QWORD PTR -832[rbp]
	mov	rax, QWORD PTR 32[rax]
	test	rax, rax
	je	.L117
	mov	rax, QWORD PTR -832[rbp]
	mov	rax, QWORD PTR 40[rax]
	test	rax, rax
	je	.L117
	mov	rax, QWORD PTR -832[rbp]
	mov	rax, QWORD PTR 48[rax]
	test	rax, rax
	jne	.L118
.L117:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 31
	mov	esi, 1
	lea	rdi, .LC38[rip]
	call	fwrite@PLT
	mov	eax, 0
	jmp	.L119
.L118:
	mov	eax, 1
.L119:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L120
	call	__stack_chk_fail@PLT
.L120:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	bdf_read_header, .-bdf_read_header
	.section	.rodata
.LC39:
	.string	"STARTCHAR"
.LC40:
	.string	"Error: bad 'DWIDTH'\n"
.LC41:
	.string	"BBX "
.LC42:
	.string	"BBX %d %d %d %d"
.LC43:
	.string	"Error: bad 'BBX'\n"
.LC44:
	.string	"BITMAP"
	.align 8
.LC45:
	.string	"Error: duplicate encoding for character %d (0x%02x), ignoring duplicate\n"
	.align 8
.LC46:
	.string	"Error: EOF reading BITMAP data\n"
.LC47:
	.string	"ENDCHAR"
	.align 8
.LC48:
	.string	"Error: row out of bounding box, check your BFD file!\n"
	.align 8
.LC49:
	.string	"Warning: DWIDTH spec > max FONTBOUNDINGBOX\n"
	.align 8
.LC50:
	.string	"Error: Not enough bits initially allocated\n"
	.text
	.globl	bdf_read_bitmaps
	.type	bdf_read_bitmaps, @function
bdf_read_bitmaps:
.LFB14:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 384
	mov	QWORD PTR -376[rbp], rdi
	mov	QWORD PTR -384[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -296[rbp], 0
	mov	DWORD PTR -340[rbp], 0
	mov	DWORD PTR -328[rbp], 0
	mov	DWORD PTR -324[rbp], 0
	mov	rax, QWORD PTR -376[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	mov	DWORD PTR -336[rbp], 0
	jmp	.L132
.L133:
	mov	rax, QWORD PTR -384[rbp]
	mov	rdx, QWORD PTR 40[rax]
	mov	eax, DWORD PTR -336[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	QWORD PTR [rax], -1
	add	DWORD PTR -336[rbp], 1
.L132:
	mov	rax, QWORD PTR -384[rbp]
	mov	eax, DWORD PTR 24[rax]
	cmp	DWORD PTR -336[rbp], eax
	jl	.L133
.L165:
	lea	rcx, -272[rbp]
	mov	rax, QWORD PTR -376[rbp]
	mov	edx, 256
	mov	rsi, rcx
	mov	rdi, rax
	call	bdf_getline
	test	rax, rax
	jne	.L134
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 19
	mov	esi, 1
	lea	rdi, .LC8[rip]
	call	fwrite@PLT
	mov	eax, 0
	jmp	.L182
.L134:
	lea	rax, -272[rbp]
	mov	edx, 9
	lea	rsi, .LC39[rip]
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	jne	.L136
	mov	DWORD PTR -344[rbp], -1
	mov	eax, DWORD PTR -344[rbp]
	mov	DWORD PTR -348[rbp], eax
	mov	eax, DWORD PTR -348[rbp]
	mov	DWORD PTR -352[rbp], eax
	mov	eax, DWORD PTR -352[rbp]
	mov	DWORD PTR -356[rbp], eax
	mov	eax, DWORD PTR -356[rbp]
	mov	DWORD PTR -360[rbp], eax
	mov	eax, DWORD PTR -360[rbp]
	mov	DWORD PTR -364[rbp], eax
	jmp	.L137
.L136:
	lea	rax, -272[rbp]
	mov	edx, 9
	lea	rsi, .LC30[rip]
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	jne	.L138
	lea	rdx, -364[rbp]
	lea	rax, -272[rbp]
	lea	rsi, .LC31[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	cmp	eax, 1
	je	.L139
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 22
	mov	esi, 1
	lea	rdi, .LC32[rip]
	call	fwrite@PLT
	mov	eax, 0
	jmp	.L182
.L139:
	mov	edx, DWORD PTR -364[rbp]
	mov	eax, DWORD PTR start_char[rip]
	cmp	edx, eax
	jl	.L140
	mov	edx, DWORD PTR -364[rbp]
	mov	eax, DWORD PTR limit_char[rip]
	cmp	edx, eax
	jle	.L141
.L140:
	mov	DWORD PTR -364[rbp], -1
.L141:
	mov	eax, DWORD PTR exclude_start[rip]
	test	eax, eax
	je	.L186
	mov	edx, DWORD PTR -364[rbp]
	mov	eax, DWORD PTR exclude_start[rip]
	cmp	edx, eax
	jl	.L186
	mov	edx, DWORD PTR -364[rbp]
	mov	eax, DWORD PTR exclude_end[rip]
	cmp	edx, eax
	jg	.L186
	mov	DWORD PTR -364[rbp], -1
	jmp	.L186
.L138:
	lea	rax, -272[rbp]
	mov	edx, 7
	lea	rsi, .LC33[rip]
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	jne	.L143
	lea	rdx, -360[rbp]
	lea	rax, -272[rbp]
	lea	rsi, .LC34[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	cmp	eax, 1
	je	.L144
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 20
	mov	esi, 1
	lea	rdi, .LC40[rip]
	call	fwrite@PLT
	mov	eax, 0
	jmp	.L182
.L144:
	mov	eax, DWORD PTR -360[rbp]
	test	eax, eax
	jg	.L187
	mov	rax, QWORD PTR -384[rbp]
	mov	edx, DWORD PTR 96[rax]
	mov	rax, QWORD PTR -384[rbp]
	mov	ecx, DWORD PTR 104[rax]
	mov	eax, edx
	sub	eax, ecx
	mov	DWORD PTR -360[rbp], eax
	jmp	.L187
.L143:
	lea	rax, -272[rbp]
	mov	edx, 4
	lea	rsi, .LC41[rip]
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	jne	.L146
	lea	rdi, -344[rbp]
	lea	rsi, -348[rbp]
	lea	rcx, -352[rbp]
	lea	rdx, -356[rbp]
	lea	rax, -272[rbp]
	mov	r9, rdi
	mov	r8, rsi
	lea	rsi, .LC42[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	cmp	eax, 4
	je	.L188
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 17
	mov	esi, 1
	lea	rdi, .LC43[rip]
	call	fwrite@PLT
	mov	eax, 0
	jmp	.L182
.L146:
	lea	rax, -272[rbp]
	lea	rsi, .LC44[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L148
	mov	rax, QWORD PTR -384[rbp]
	mov	rdx, QWORD PTR 32[rax]
	mov	rax, QWORD PTR -296[rbp]
	add	rax, rax
	add	rax, rdx
	mov	QWORD PTR -280[rbp], rax
	mov	eax, DWORD PTR -364[rbp]
	test	eax, eax
	js	.L189
	mov	rax, QWORD PTR -384[rbp]
	mov	rcx, QWORD PTR 40[rax]
	mov	edx, DWORD PTR -364[rbp]
	mov	rax, QWORD PTR -384[rbp]
	mov	esi, DWORD PTR 20[rax]
	mov	eax, edx
	sub	eax, esi
	cdqe
	sal	rax, 3
	add	rax, rcx
	mov	rax, QWORD PTR [rax]
	cmp	rax, -1
	je	.L150
	mov	ecx, DWORD PTR -364[rbp]
	mov	edx, DWORD PTR -364[rbp]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC45[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L137
.L150:
	mov	rax, QWORD PTR -384[rbp]
	mov	rcx, QWORD PTR 40[rax]
	mov	edx, DWORD PTR -364[rbp]
	mov	rax, QWORD PTR -384[rbp]
	mov	esi, DWORD PTR 20[rax]
	mov	eax, edx
	sub	eax, esi
	cdqe
	sal	rax, 3
	lea	rdx, [rcx+rax]
	mov	rax, QWORD PTR -296[rbp]
	mov	QWORD PTR [rdx], rax
	mov	eax, DWORD PTR -348[rbp]
	test	eax, eax
	jns	.L151
	mov	eax, DWORD PTR -360[rbp]
	mov	edx, DWORD PTR -348[rbp]
	sub	eax, edx
	mov	DWORD PTR -360[rbp], eax
	mov	DWORD PTR -348[rbp], 0
.L151:
	mov	eax, DWORD PTR -360[rbp]
	cmp	DWORD PTR -340[rbp], eax
	jge	.L152
	mov	eax, DWORD PTR -360[rbp]
	mov	DWORD PTR -340[rbp], eax
.L152:
	mov	ecx, DWORD PTR -360[rbp]
	mov	rax, QWORD PTR -384[rbp]
	mov	rsi, QWORD PTR 48[rax]
	mov	edx, DWORD PTR -364[rbp]
	mov	rax, QWORD PTR -384[rbp]
	mov	edi, DWORD PTR 20[rax]
	mov	eax, edx
	sub	eax, edi
	cdqe
	add	rax, rsi
	mov	edx, ecx
	mov	BYTE PTR [rax], dl
	mov	eax, DWORD PTR -360[rbp]
	cdqe
	add	rax, 15
	shr	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -384[rbp]
	mov	eax, DWORD PTR 12[rax]
	cdqe
	imul	rax, rdx
	lea	rdx, [rax+rax]
	mov	rax, QWORD PTR -280[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	eax, DWORD PTR -360[rbp]
	cdqe
	add	rax, 15
	shr	rax, 4
	mov	DWORD PTR -312[rbp], eax
	mov	DWORD PTR -336[rbp], 0
.L163:
	lea	rcx, -272[rbp]
	mov	rax, QWORD PTR -376[rbp]
	mov	edx, 256
	mov	rsi, rcx
	mov	rdi, rax
	call	bdf_getline
	test	rax, rax
	jne	.L153
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 31
	mov	esi, 1
	lea	rdi, .LC46[rip]
	call	fwrite@PLT
	mov	eax, 0
	jmp	.L182
.L153:
	lea	rax, -272[rbp]
	mov	edx, 7
	lea	rsi, .LC47[rip]
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	je	.L190
	lea	rax, -272[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -308[rbp], eax
	mov	DWORD PTR -332[rbp], 0
	jmp	.L156
.L162:
	mov	eax, DWORD PTR -332[rbp]
	cdqe
	sal	eax, 2
	mov	DWORD PTR -304[rbp], eax
	mov	eax, DWORD PTR -308[rbp]
	sub	eax, DWORD PTR -304[rbp]
	mov	DWORD PTR -320[rbp], eax
	cmp	DWORD PTR -320[rbp], 0
	jle	.L191
	mov	eax, DWORD PTR -320[rbp]
	cmp	eax, 3
	jbe	.L159
	mov	DWORD PTR -320[rbp], 0
.L159:
	mov	eax, DWORD PTR -304[rbp]
	mov	edx, DWORD PTR -320[rbp]
	sub	eax, edx
	add	eax, 3
	mov	edx, eax
	mov	ecx, DWORD PTR -304[rbp]
	lea	rax, -272[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	bdf_hexval
	mov	WORD PTR -366[rbp], ax
	movzx	edx, WORD PTR -366[rbp]
	mov	eax, DWORD PTR -320[rbp]
	cdqe
	sal	eax, 2
	mov	ecx, eax
	sal	edx, cl
	mov	eax, edx
	mov	WORD PTR -366[rbp], ax
	mov	rax, QWORD PTR -384[rbp]
	mov	edx, DWORD PTR 12[rax]
	mov	rax, QWORD PTR -384[rbp]
	mov	ecx, DWORD PTR 92[rax]
	mov	eax, edx
	sub	eax, ecx
	mov	edx, DWORD PTR -344[rbp]
	sub	eax, edx
	mov	edx, DWORD PTR -352[rbp]
	sub	eax, edx
	mov	ecx, eax
	mov	eax, DWORD PTR -336[rbp]
	add	eax, ecx
	mov	DWORD PTR -300[rbp], eax
	cmp	DWORD PTR -300[rbp], 0
	jns	.L160
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 53
	mov	esi, 1
	lea	rdi, .LC48[rip]
	call	fwrite@PLT
	mov	eax, 0
	jmp	.L182
.L160:
	mov	rax, QWORD PTR -384[rbp]
	mov	edx, DWORD PTR 12[rax]
	mov	rax, QWORD PTR -384[rbp]
	mov	ecx, DWORD PTR 92[rax]
	mov	eax, edx
	sub	eax, ecx
	mov	edx, DWORD PTR -344[rbp]
	sub	eax, edx
	mov	edx, DWORD PTR -352[rbp]
	sub	eax, edx
	mov	ecx, eax
	mov	eax, DWORD PTR -336[rbp]
	add	eax, ecx
	imul	eax, DWORD PTR -312[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -332[rbp]
	cdqe
	add	rax, rdx
	lea	rdx, [rax+rax]
	mov	rax, QWORD PTR -280[rbp]
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	mov	esi, eax
	movzx	edx, WORD PTR -366[rbp]
	mov	eax, DWORD PTR -348[rbp]
	mov	ecx, eax
	sar	edx, cl
	mov	eax, edx
	or	esi, eax
	mov	ecx, esi
	mov	rax, QWORD PTR -384[rbp]
	mov	edx, DWORD PTR 12[rax]
	mov	rax, QWORD PTR -384[rbp]
	mov	esi, DWORD PTR 92[rax]
	mov	eax, edx
	sub	eax, esi
	mov	edx, DWORD PTR -344[rbp]
	sub	eax, edx
	mov	edx, DWORD PTR -352[rbp]
	sub	eax, edx
	mov	esi, eax
	mov	eax, DWORD PTR -336[rbp]
	add	eax, esi
	imul	eax, DWORD PTR -312[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -332[rbp]
	cdqe
	add	rax, rdx
	lea	rdx, [rax+rax]
	mov	rax, QWORD PTR -280[rbp]
	add	rax, rdx
	mov	edx, ecx
	mov	WORD PTR [rax], dx
	mov	eax, DWORD PTR -348[rbp]
	test	eax, eax
	je	.L161
	movzx	edx, WORD PTR -366[rbp]
	mov	eax, DWORD PTR -348[rbp]
	mov	ecx, eax
	mov	eax, 16
	sub	eax, ecx
	mov	ecx, eax
	sal	edx, cl
	mov	ecx, edx
	mov	rax, QWORD PTR -384[rbp]
	mov	edx, DWORD PTR 12[rax]
	mov	rax, QWORD PTR -384[rbp]
	mov	esi, DWORD PTR 92[rax]
	mov	eax, edx
	sub	eax, esi
	mov	edx, DWORD PTR -344[rbp]
	sub	eax, edx
	mov	edx, DWORD PTR -352[rbp]
	sub	eax, edx
	mov	esi, eax
	mov	eax, DWORD PTR -336[rbp]
	add	eax, esi
	imul	eax, DWORD PTR -312[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -332[rbp]
	cdqe
	add	rax, rdx
	add	rax, 1
	lea	rdx, [rax+rax]
	mov	rax, QWORD PTR -280[rbp]
	add	rax, rdx
	mov	edx, ecx
	mov	WORD PTR [rax], dx
.L161:
	add	DWORD PTR -332[rbp], 1
.L156:
	mov	eax, DWORD PTR -332[rbp]
	cmp	eax, DWORD PTR -312[rbp]
	jl	.L162
	jmp	.L158
.L191:
	nop
.L158:
	add	DWORD PTR -336[rbp], 1
	jmp	.L163
.L190:
	nop
	mov	rax, QWORD PTR -384[rbp]
	mov	eax, DWORD PTR 12[rax]
	imul	eax, DWORD PTR -312[rbp]
	cdqe
	add	QWORD PTR -296[rbp], rax
	jmp	.L137
.L148:
	lea	rax, -272[rbp]
	lea	rsi, .LC36[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L192
	jmp	.L165
.L186:
	nop
	jmp	.L165
.L187:
	nop
	jmp	.L165
.L188:
	nop
	jmp	.L165
.L189:
	nop
.L137:
	jmp	.L165
.L192:
	nop
	mov	rax, QWORD PTR -384[rbp]
	mov	edx, DWORD PTR -340[rbp]
	mov	DWORD PTR 8[rax], edx
	mov	DWORD PTR -336[rbp], 0
	jmp	.L166
.L168:
	mov	rax, QWORD PTR -384[rbp]
	mov	edx, DWORD PTR 56[rax]
	mov	rax, QWORD PTR -384[rbp]
	mov	ecx, DWORD PTR 20[rax]
	mov	eax, edx
	sub	eax, ecx
	mov	DWORD PTR -316[rbp], eax
	mov	rax, QWORD PTR -384[rbp]
	mov	rdx, QWORD PTR 40[rax]
	mov	eax, DWORD PTR -336[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	cmp	rax, -1
	jne	.L167
	mov	rax, QWORD PTR -384[rbp]
	mov	rdx, QWORD PTR 40[rax]
	mov	eax, DWORD PTR -316[rbp]
	cdqe
	sal	rax, 3
	lea	rcx, [rdx+rax]
	mov	rax, QWORD PTR -384[rbp]
	mov	rdx, QWORD PTR 40[rax]
	mov	eax, DWORD PTR -336[rbp]
	cdqe
	sal	rax, 3
	add	rdx, rax
	mov	rax, QWORD PTR [rcx]
	mov	QWORD PTR [rdx], rax
	mov	rax, QWORD PTR -384[rbp]
	mov	rdx, QWORD PTR 48[rax]
	mov	eax, DWORD PTR -316[rbp]
	cdqe
	lea	rcx, [rdx+rax]
	mov	rax, QWORD PTR -384[rbp]
	mov	rdx, QWORD PTR 48[rax]
	mov	eax, DWORD PTR -336[rbp]
	cdqe
	add	rdx, rax
	movzx	eax, BYTE PTR [rcx]
	mov	BYTE PTR [rdx], al
.L167:
	add	DWORD PTR -336[rbp], 1
.L166:
	mov	rax, QWORD PTR -384[rbp]
	mov	eax, DWORD PTR 24[rax]
	cmp	DWORD PTR -336[rbp], eax
	jl	.L168
	mov	QWORD PTR -288[rbp], 0
	mov	DWORD PTR -336[rbp], 0
	jmp	.L169
.L172:
	mov	rax, QWORD PTR -384[rbp]
	mov	rdx, QWORD PTR 40[rax]
	mov	eax, DWORD PTR -336[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -288[rbp]
	cmp	rdx, rax
	je	.L170
	mov	DWORD PTR -324[rbp], 1
	jmp	.L171
.L170:
	mov	rax, QWORD PTR -384[rbp]
	mov	eax, DWORD PTR 12[rax]
	cdqe
	add	QWORD PTR -288[rbp], rax
	add	DWORD PTR -336[rbp], 1
.L169:
	mov	rax, QWORD PTR -384[rbp]
	mov	eax, DWORD PTR 24[rax]
	cmp	DWORD PTR -336[rbp], eax
	jl	.L172
.L171:
	cmp	DWORD PTR -324[rbp], 0
	jne	.L173
	mov	rax, QWORD PTR -384[rbp]
	mov	rax, QWORD PTR 40[rax]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -384[rbp]
	mov	QWORD PTR 40[rax], 0
.L173:
	mov	DWORD PTR -336[rbp], 0
	jmp	.L174
.L177:
	mov	rax, QWORD PTR -384[rbp]
	mov	rdx, QWORD PTR 48[rax]
	mov	eax, DWORD PTR -336[rbp]
	cdqe
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	cmp	DWORD PTR -340[rbp], eax
	je	.L175
	mov	DWORD PTR -328[rbp], 1
	jmp	.L176
.L175:
	add	DWORD PTR -336[rbp], 1
.L174:
	mov	rax, QWORD PTR -384[rbp]
	mov	eax, DWORD PTR 24[rax]
	cmp	DWORD PTR -336[rbp], eax
	jl	.L177
.L176:
	cmp	DWORD PTR -328[rbp], 0
	jne	.L178
	mov	rax, QWORD PTR -384[rbp]
	mov	rax, QWORD PTR 48[rax]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -384[rbp]
	mov	QWORD PTR 48[rax], 0
.L178:
	mov	rax, QWORD PTR -384[rbp]
	mov	rax, QWORD PTR 64[rax]
	cmp	QWORD PTR -296[rbp], rax
	jge	.L179
	mov	rax, QWORD PTR -296[rbp]
	lea	rdx, [rax+rax]
	mov	rax, QWORD PTR -384[rbp]
	mov	rax, QWORD PTR 32[rax]
	mov	rsi, rdx
	mov	rdi, rax
	call	realloc@PLT
	mov	rdx, QWORD PTR -384[rbp]
	mov	QWORD PTR 32[rdx], rax
	mov	rax, QWORD PTR -384[rbp]
	mov	rdx, QWORD PTR -296[rbp]
	mov	QWORD PTR 64[rax], rdx
	jmp	.L180
.L179:
	mov	rax, QWORD PTR -384[rbp]
	mov	rax, QWORD PTR 64[rax]
	cmp	QWORD PTR -296[rbp], rax
	jle	.L180
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 43
	mov	esi, 1
	lea	rdi, .LC49[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -384[rbp]
	mov	rax, QWORD PTR 64[rax]
	add	rax, 300
	cmp	QWORD PTR -296[rbp], rax
	jle	.L181
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 43
	mov	esi, 1
	lea	rdi, .LC50[rip]
	call	fwrite@PLT
	mov	eax, 0
	jmp	.L182
.L181:
	mov	rax, QWORD PTR -384[rbp]
	mov	rdx, QWORD PTR -296[rbp]
	mov	QWORD PTR 64[rax], rdx
.L180:
	mov	eax, 1
.L182:
	mov	rdi, QWORD PTR -8[rbp]
	sub	rdi, QWORD PTR fs:40
	je	.L183
	call	__stack_chk_fail@PLT
.L183:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	bdf_read_bitmaps, .-bdf_read_bitmaps
	.section	.rodata
.LC51:
	.string	"COMMENT"
	.text
	.globl	bdf_getline
	.type	bdf_getline, @function
bdf_getline:
.LFB15:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -36[rbp], edx
.L204:
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L194
.L199:
	cmp	DWORD PTR -12[rbp], 13
	jne	.L195
	jmp	.L194
.L195:
	cmp	DWORD PTR -12[rbp], 10
	je	.L206
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR -32[rbp]
	mov	rdx, rax
	mov	eax, DWORD PTR -36[rbp]
	sub	eax, 1
	cdqe
	cmp	rdx, rax
	jge	.L207
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -8[rbp], rdx
	mov	edx, DWORD PTR -12[rbp]
	mov	BYTE PTR [rax], dl
.L194:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	getc@PLT
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -12[rbp], -1
	jne	.L199
	jmp	.L197
.L206:
	nop
	jmp	.L197
.L207:
	nop
.L197:
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR [rax], 0
	cmp	DWORD PTR -12[rbp], -1
	jne	.L200
	mov	rax, QWORD PTR -8[rbp]
	cmp	rax, QWORD PTR -32[rbp]
	jne	.L200
	mov	eax, 0
	jmp	.L201
.L200:
	mov	rax, QWORD PTR -8[rbp]
	cmp	rax, QWORD PTR -32[rbp]
	je	.L204
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, 7
	lea	rsi, .LC51[rip]
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	jne	.L208
	jmp	.L204
.L208:
	nop
	mov	rax, QWORD PTR -32[rbp]
.L201:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	bdf_getline, .-bdf_getline
	.globl	bdf_hexval
	.type	bdf_hexval, @function
bdf_hexval:
.LFB16:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -32[rbp], edx
	mov	WORD PTR -10[rbp], 0
	mov	eax, DWORD PTR -28[rbp]
	mov	DWORD PTR -8[rbp], eax
	jmp	.L210
.L215:
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 47
	jle	.L211
	cmp	DWORD PTR -4[rbp], 57
	jg	.L211
	sub	DWORD PTR -4[rbp], 48
	jmp	.L212
.L211:
	cmp	DWORD PTR -4[rbp], 64
	jle	.L213
	cmp	DWORD PTR -4[rbp], 70
	jg	.L213
	sub	DWORD PTR -4[rbp], 55
	jmp	.L212
.L213:
	cmp	DWORD PTR -4[rbp], 96
	jle	.L214
	cmp	DWORD PTR -4[rbp], 102
	jg	.L214
	sub	DWORD PTR -4[rbp], 87
	jmp	.L212
.L214:
	mov	DWORD PTR -4[rbp], 0
.L212:
	movzx	eax, WORD PTR -10[rbp]
	sal	eax, 4
	mov	edx, eax
	mov	eax, DWORD PTR -4[rbp]
	or	eax, edx
	mov	WORD PTR -10[rbp], ax
	add	DWORD PTR -8[rbp], 1
.L210:
	mov	eax, DWORD PTR -8[rbp]
	cmp	eax, DWORD PTR -32[rbp]
	jle	.L215
	movzx	eax, WORD PTR -10[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	bdf_hexval, .-bdf_hexval
	.section	.rodata
.LC53:
	.string	"w"
.LC54:
	.string	"Can't create %s\n"
.LC55:
	.string	"Generating %s\n"
.LC56:
	.string	"yes"
.LC57:
	.string	"no"
	.align 8
.LC58:
	.string	"\n/* Character %d (0x%02x):\n   width %d"
.LC59:
	.string	"\n   +"
.LC60:
	.string	"+\n"
.LC61:
	.string	"   |"
.LC62:
	.string	"*"
.LC63:
	.string	" "
.LC64:
	.string	"|\n"
.LC65:
	.string	"   +"
.LC66:
	.string	"+ */\n"
.LC67:
	.string	" */\n"
.LC68:
	.string	"0x%04x,"
.LC69:
	.string	"};\n\n"
	.align 8
.LC70:
	.string	"/* Character->glyph mapping. */\nstatic const unsigned short _%s_offset[] = {\n"
.LC71:
	.string	"  %ld,\t/* (0x%02x) */\n"
	.align 8
.LC72:
	.string	"/* Character width data. */\nstatic const unsigned char _%s_width[] = {\n"
.LC73:
	.string	"  %d,\t/* (0x%02x) */\n"
.LC74:
	.string	"_%s_offset,"
.LC75:
	.string	"0,  /* no encode table*/"
.LC76:
	.string	"_%s_width,"
.LC77:
	.string	"0,  /* fixed width*/"
	.align 8
.LC78:
	.string	"/* Exported structure definition. */\nconst struct oled_font_t font_%s = {\n  \"%s\",\n  %d,\n  %d,\n  %d,\n  %d,\n  %d,\n  _%s_bits,\n  %s\n  %s\n  %d,\n  sizeof(_%s_bits) / sizeof(_%s_bits[0]),\n};\n"
	.align 8
.LC52:
	.ascii	"/* Generated by convbdf on %s. */\n#include \"oled.h\"\n\n/*"
	.ascii	" Font information:\n   name: %s\n   fac"
	.string	"ename: %s\n   w x h: %dx%d\n   size: %d\n   ascent: %d\n   descent: %d\n   first char: %d (0x%02x)\n   last char: %d (0x%02x)\n   default char: %d (0x%02x)\n   proportional: %s\n   %s\n*/\n\n/* Font character bitmap data. */\nstatic const unsigned short _%s_bits[] = {\n"
	.text
	.globl	gen_c_source
	.type	gen_c_source, @function
gen_c_source:
.LFB17:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 1016
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	QWORD PTR -1016[rbp], rdi
	mov	QWORD PTR -1024[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -992[rbp], 0
	mov	edi, 0
	call	time@PLT
	mov	QWORD PTR -968[rbp], rax
	lea	rax, -416[rbp]
	lea	rdx, .LC52[rip]
	mov	ecx, 43
	mov	rdi, rax
	mov	rsi, rdx
	rep movsq
	mov	rdx, rsi
	mov	rax, rdi
	mov	ecx, DWORD PTR [rdx]
	mov	DWORD PTR [rax], ecx
	lea	rax, 4[rax]
	lea	rdx, 4[rdx]
	movzx	ecx, BYTE PTR [rdx]
	mov	BYTE PTR [rax], cl
	mov	rax, QWORD PTR -1024[rbp]
	lea	rsi, .LC53[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -936[rbp], rax
	cmp	QWORD PTR -936[rbp], 0
	jne	.L218
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -1024[rbp]
	lea	rsi, .LC54[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 1
	jmp	.L268
.L218:
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -1024[rbp]
	lea	rsi, .LC55[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	lea	rax, -968[rbp]
	mov	rdi, rax
	call	ctime@PLT
	mov	rdx, rax
	lea	rax, -928[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	lea	rax, -928[rbp]
	mov	rdi, rax
	call	strlen@PLT
	sub	rax, 1
	mov	BYTE PTR -928[rbp+rax], 0
	mov	rax, QWORD PTR -1016[rbp]
	mov	r10, QWORD PTR [rax]
	mov	rax, QWORD PTR -1016[rbp]
	mov	rax, QWORD PTR 80[rax]
	test	rax, rax
	je	.L220
	mov	rax, QWORD PTR -1016[rbp]
	mov	rdi, QWORD PTR 80[rax]
	jmp	.L221
.L220:
	lea	rdi, .LC1[rip]
.L221:
	mov	rax, QWORD PTR -1016[rbp]
	mov	rax, QWORD PTR 48[rax]
	test	rax, rax
	je	.L222
	lea	r9, .LC56[rip]
	jmp	.L223
.L222:
	lea	r9, .LC57[rip]
.L223:
	mov	rax, QWORD PTR -1016[rbp]
	mov	r11d, DWORD PTR 56[rax]
	mov	rax, QWORD PTR -1016[rbp]
	mov	r14d, DWORD PTR 56[rax]
	mov	rax, QWORD PTR -1016[rbp]
	mov	edx, DWORD PTR 20[rax]
	mov	rax, QWORD PTR -1016[rbp]
	mov	eax, DWORD PTR 24[rax]
	add	eax, edx
	sub	eax, 1
	mov	DWORD PTR -1028[rbp], eax
	mov	rax, QWORD PTR -1016[rbp]
	mov	edx, DWORD PTR 20[rax]
	mov	rax, QWORD PTR -1016[rbp]
	mov	eax, DWORD PTR 24[rax]
	add	eax, edx
	sub	eax, 1
	mov	DWORD PTR -1032[rbp], eax
	mov	rax, QWORD PTR -1016[rbp]
	mov	r13d, DWORD PTR 20[rax]
	mov	rax, QWORD PTR -1016[rbp]
	mov	r12d, DWORD PTR 20[rax]
	mov	rax, QWORD PTR -1016[rbp]
	mov	eax, DWORD PTR 92[rax]
	mov	edx, DWORD PTR descent_correction[rip]
	sub	eax, edx
	mov	DWORD PTR -1036[rbp], eax
	mov	rax, QWORD PTR -1016[rbp]
	mov	eax, DWORD PTR 16[rax]
	mov	edx, DWORD PTR ascent_correction[rip]
	sub	eax, edx
	mov	DWORD PTR -1040[rbp], eax
	mov	rax, QWORD PTR -1016[rbp]
	mov	ebx, DWORD PTR 24[rax]
	mov	rax, QWORD PTR -1016[rbp]
	mov	eax, DWORD PTR 12[rax]
	mov	edx, DWORD PTR ascent_correction[rip]
	sub	eax, edx
	mov	edx, DWORD PTR descent_correction[rip]
	sub	eax, edx
	mov	r15d, eax
	mov	rax, QWORD PTR -1016[rbp]
	mov	eax, DWORD PTR 8[rax]
	mov	DWORD PTR -1044[rbp], eax
	mov	rax, QWORD PTR -1016[rbp]
	mov	rax, QWORD PTR 72[rax]
	test	rax, rax
	je	.L224
	mov	rax, QWORD PTR -1016[rbp]
	mov	r8, QWORD PTR 72[rax]
	jmp	.L225
.L224:
	lea	r8, .LC1[rip]
.L225:
	mov	rax, QWORD PTR -1016[rbp]
	mov	rcx, QWORD PTR [rax]
	lea	rdx, -928[rbp]
	lea	rsi, -416[rbp]
	mov	rax, QWORD PTR -936[rbp]
	sub	rsp, 8
	push	r10
	push	rdi
	push	r9
	push	r11
	push	r14
	mov	edi, DWORD PTR -1028[rbp]
	push	rdi
	mov	edi, DWORD PTR -1032[rbp]
	push	rdi
	push	r13
	push	r12
	mov	edi, DWORD PTR -1036[rbp]
	push	rdi
	mov	edi, DWORD PTR -1040[rbp]
	push	rdi
	push	rbx
	push	r15
	mov	r9d, DWORD PTR -1044[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	rsp, 112
	mov	DWORD PTR -996[rbp], 0
	jmp	.L226
.L252:
	mov	DWORD PTR -984[rbp], 0
	mov	rax, QWORD PTR -1016[rbp]
	mov	rax, QWORD PTR 48[rax]
	test	rax, rax
	je	.L227
	mov	rax, QWORD PTR -1016[rbp]
	mov	rdx, QWORD PTR 48[rax]
	mov	eax, DWORD PTR -996[rbp]
	cdqe
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	jmp	.L228
.L227:
	mov	rax, QWORD PTR -1016[rbp]
	mov	eax, DWORD PTR 8[rax]
.L228:
	mov	DWORD PTR -972[rbp], eax
	mov	rax, QWORD PTR -1016[rbp]
	mov	eax, DWORD PTR 12[rax]
	mov	edx, DWORD PTR ascent_correction[rip]
	sub	eax, edx
	mov	edx, DWORD PTR descent_correction[rip]
	sub	eax, edx
	mov	DWORD PTR -980[rbp], eax
	mov	rax, QWORD PTR -1016[rbp]
	mov	rdx, QWORD PTR 32[rax]
	mov	rax, QWORD PTR -1016[rbp]
	mov	rax, QWORD PTR 40[rax]
	test	rax, rax
	je	.L229
	mov	rax, QWORD PTR -1016[rbp]
	mov	rcx, QWORD PTR 40[rax]
	mov	eax, DWORD PTR -996[rbp]
	cdqe
	sal	rax, 3
	add	rax, rcx
	mov	rax, QWORD PTR [rax]
	add	rax, rax
	jmp	.L230
.L229:
	mov	rax, QWORD PTR -1016[rbp]
	mov	eax, DWORD PTR 12[rax]
	imul	eax, DWORD PTR -996[rbp]
	cdqe
	add	rax, rax
.L230:
	add	rax, rdx
	mov	QWORD PTR -960[rbp], rax
	mov	WORD PTR -998[rbp], 0
	mov	rax, QWORD PTR -1016[rbp]
	mov	rax, QWORD PTR 40[rax]
	test	rax, rax
	je	.L231
	mov	rax, QWORD PTR -1016[rbp]
	mov	rdx, QWORD PTR 40[rax]
	mov	eax, DWORD PTR -996[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -1016[rbp]
	mov	rsi, QWORD PTR 40[rax]
	mov	rax, QWORD PTR -1016[rbp]
	mov	ecx, DWORD PTR 56[rax]
	mov	rax, QWORD PTR -1016[rbp]
	mov	edi, DWORD PTR 20[rax]
	mov	eax, ecx
	sub	eax, edi
	cdqe
	sal	rax, 3
	add	rax, rsi
	mov	rax, QWORD PTR [rax]
	cmp	rdx, rax
	jne	.L231
	cmp	DWORD PTR -992[rbp], 0
	jne	.L270
	mov	DWORD PTR -992[rbp], 1
.L231:
	mov	rax, QWORD PTR -1016[rbp]
	mov	edx, DWORD PTR 20[rax]
	mov	eax, DWORD PTR -996[rbp]
	lea	ecx, [rdx+rax]
	mov	rax, QWORD PTR -1016[rbp]
	mov	edx, DWORD PTR 20[rax]
	mov	eax, DWORD PTR -996[rbp]
	add	edx, eax
	mov	esi, DWORD PTR -972[rbp]
	mov	rax, QWORD PTR -936[rbp]
	mov	r8d, esi
	lea	rsi, .LC58[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, DWORD PTR -972[rbp]
	cdqe
	add	rax, 15
	shr	rax, 4
	mov	rdx, rax
	mov	eax, DWORD PTR ascent_correction[rip]
	cdqe
	imul	rax, rdx
	add	rax, rax
	add	QWORD PTR -960[rbp], rax
	mov	eax, DWORD PTR gen_map[rip]
	test	eax, eax
	je	.L234
	mov	rax, QWORD PTR -936[rbp]
	mov	rcx, rax
	mov	edx, 5
	mov	esi, 1
	lea	rdi, .LC59[rip]
	call	fwrite@PLT
	mov	DWORD PTR -988[rbp], 0
	jmp	.L235
.L236:
	mov	rax, QWORD PTR -936[rbp]
	mov	rsi, rax
	mov	edi, 45
	call	fputc@PLT
	add	DWORD PTR -988[rbp], 1
.L235:
	mov	eax, DWORD PTR -988[rbp]
	cmp	eax, DWORD PTR -972[rbp]
	jl	.L236
	mov	rax, QWORD PTR -936[rbp]
	mov	rcx, rax
	mov	edx, 2
	mov	esi, 1
	lea	rdi, .LC60[rip]
	call	fwrite@PLT
	mov	DWORD PTR -988[rbp], 0
	jmp	.L237
.L242:
	cmp	DWORD PTR -988[rbp], 0
	jne	.L238
	mov	rax, QWORD PTR -936[rbp]
	mov	rcx, rax
	mov	edx, 4
	mov	esi, 1
	lea	rdi, .LC61[rip]
	call	fwrite@PLT
.L238:
	cmp	DWORD PTR -984[rbp], 0
	jg	.L239
	mov	DWORD PTR -984[rbp], 16
	mov	rax, QWORD PTR -960[rbp]
	lea	rdx, 2[rax]
	mov	QWORD PTR -960[rbp], rdx
	movzx	eax, WORD PTR [rax]
	mov	WORD PTR -998[rbp], ax
.L239:
	movzx	eax, WORD PTR -998[rbp]
	shr	ax, 15
	movzx	eax, ax
	and	eax, 1
	test	eax, eax
	je	.L240
	lea	rax, .LC62[rip]
	jmp	.L241
.L240:
	lea	rax, .LC63[rip]
.L241:
	mov	rdx, QWORD PTR -936[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	mov	eax, 0
	call	fprintf@PLT
	sal	WORD PTR -998[rbp]
	sub	DWORD PTR -984[rbp], 1
	add	DWORD PTR -988[rbp], 1
	mov	eax, DWORD PTR -988[rbp]
	cmp	eax, DWORD PTR -972[rbp]
	jne	.L237
	mov	rax, QWORD PTR -936[rbp]
	mov	rcx, rax
	mov	edx, 2
	mov	esi, 1
	lea	rdi, .LC64[rip]
	call	fwrite@PLT
	sub	DWORD PTR -980[rbp], 1
	mov	DWORD PTR -988[rbp], 0
	mov	DWORD PTR -984[rbp], 0
.L237:
	cmp	DWORD PTR -980[rbp], 0
	jg	.L242
	mov	rax, QWORD PTR -936[rbp]
	mov	rcx, rax
	mov	edx, 4
	mov	esi, 1
	lea	rdi, .LC65[rip]
	call	fwrite@PLT
	mov	DWORD PTR -988[rbp], 0
	jmp	.L243
.L244:
	mov	rax, QWORD PTR -936[rbp]
	mov	rsi, rax
	mov	edi, 45
	call	fputc@PLT
	add	DWORD PTR -988[rbp], 1
.L243:
	mov	eax, DWORD PTR -988[rbp]
	cmp	eax, DWORD PTR -972[rbp]
	jl	.L244
	mov	rax, QWORD PTR -936[rbp]
	mov	rcx, rax
	mov	edx, 5
	mov	esi, 1
	lea	rdi, .LC66[rip]
	call	fwrite@PLT
	jmp	.L245
.L234:
	mov	rax, QWORD PTR -936[rbp]
	mov	rcx, rax
	mov	edx, 4
	mov	esi, 1
	lea	rdi, .LC67[rip]
	call	fwrite@PLT
.L245:
	mov	rax, QWORD PTR -1016[rbp]
	mov	rdx, QWORD PTR 32[rax]
	mov	rax, QWORD PTR -1016[rbp]
	mov	rax, QWORD PTR 40[rax]
	test	rax, rax
	je	.L246
	mov	rax, QWORD PTR -1016[rbp]
	mov	rcx, QWORD PTR 40[rax]
	mov	eax, DWORD PTR -996[rbp]
	cdqe
	sal	rax, 3
	add	rax, rcx
	mov	rax, QWORD PTR [rax]
	add	rax, rax
	jmp	.L247
.L246:
	mov	rax, QWORD PTR -1016[rbp]
	mov	eax, DWORD PTR 12[rax]
	imul	eax, DWORD PTR -996[rbp]
	cdqe
	add	rax, rax
.L247:
	add	rax, rdx
	mov	QWORD PTR -960[rbp], rax
	mov	eax, DWORD PTR -972[rbp]
	cdqe
	add	rax, 15
	shr	rax, 4
	mov	rdx, rax
	mov	eax, DWORD PTR ascent_correction[rip]
	cdqe
	imul	rax, rdx
	add	rax, rax
	add	QWORD PTR -960[rbp], rax
	mov	rax, QWORD PTR -1016[rbp]
	mov	eax, DWORD PTR 12[rax]
	mov	edx, DWORD PTR ascent_correction[rip]
	sub	eax, edx
	mov	edx, DWORD PTR descent_correction[rip]
	sub	eax, edx
	mov	DWORD PTR -980[rbp], eax
	jmp	.L248
.L251:
	mov	eax, DWORD PTR -972[rbp]
	cdqe
	add	rax, 15
	shr	rax, 4
	mov	DWORD PTR -988[rbp], eax
	jmp	.L249
.L250:
	mov	rax, QWORD PTR -960[rbp]
	lea	rdx, 2[rax]
	mov	QWORD PTR -960[rbp], rdx
	movzx	eax, WORD PTR [rax]
	movzx	edx, ax
	mov	rax, QWORD PTR -936[rbp]
	lea	rsi, .LC68[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	sub	DWORD PTR -988[rbp], 1
.L249:
	cmp	DWORD PTR -988[rbp], 0
	jg	.L250
	mov	rax, QWORD PTR -936[rbp]
	mov	rsi, rax
	mov	edi, 10
	call	fputc@PLT
	sub	DWORD PTR -980[rbp], 1
.L248:
	cmp	DWORD PTR -980[rbp], 0
	jg	.L251
	jmp	.L233
.L270:
	nop
.L233:
	add	DWORD PTR -996[rbp], 1
.L226:
	mov	rax, QWORD PTR -1016[rbp]
	mov	eax, DWORD PTR 24[rax]
	cmp	DWORD PTR -996[rbp], eax
	jl	.L252
	mov	rax, QWORD PTR -936[rbp]
	mov	rcx, rax
	mov	edx, 4
	mov	esi, 1
	lea	rdi, .LC69[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -1016[rbp]
	mov	rax, QWORD PTR 40[rax]
	test	rax, rax
	je	.L253
	mov	rax, QWORD PTR -1016[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -936[rbp]
	lea	rsi, .LC70[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	QWORD PTR -952[rbp], 0
	mov	DWORD PTR -992[rbp], 0
	mov	QWORD PTR -944[rbp], 0
	mov	DWORD PTR -996[rbp], 0
	jmp	.L254
.L260:
	mov	rax, QWORD PTR -1016[rbp]
	mov	rax, QWORD PTR 48[rax]
	test	rax, rax
	je	.L255
	mov	rax, QWORD PTR -1016[rbp]
	mov	rdx, QWORD PTR 48[rax]
	mov	eax, DWORD PTR -996[rbp]
	cdqe
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	jmp	.L256
.L255:
	mov	rax, QWORD PTR -1016[rbp]
	mov	eax, DWORD PTR 8[rax]
.L256:
	mov	DWORD PTR -976[rbp], eax
	mov	rax, QWORD PTR -1016[rbp]
	mov	rax, QWORD PTR 40[rax]
	test	rax, rax
	je	.L257
	mov	rax, QWORD PTR -1016[rbp]
	mov	rdx, QWORD PTR 40[rax]
	mov	eax, DWORD PTR -996[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -1016[rbp]
	mov	rsi, QWORD PTR 40[rax]
	mov	rax, QWORD PTR -1016[rbp]
	mov	ecx, DWORD PTR 56[rax]
	mov	rax, QWORD PTR -1016[rbp]
	mov	edi, DWORD PTR 20[rax]
	mov	eax, ecx
	sub	eax, edi
	cdqe
	sal	rax, 3
	add	rax, rsi
	mov	rax, QWORD PTR [rax]
	cmp	rdx, rax
	jne	.L257
	cmp	DWORD PTR -992[rbp], 0
	je	.L258
	mov	rax, QWORD PTR -1016[rbp]
	mov	edx, DWORD PTR 20[rax]
	mov	eax, DWORD PTR -996[rbp]
	lea	ecx, [rdx+rax]
	mov	rdx, QWORD PTR -944[rbp]
	mov	rax, QWORD PTR -936[rbp]
	lea	rsi, .LC71[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L259
.L258:
	mov	DWORD PTR -992[rbp], 1
	mov	rax, QWORD PTR -952[rbp]
	mov	QWORD PTR -944[rbp], rax
.L257:
	mov	rax, QWORD PTR -1016[rbp]
	mov	edx, DWORD PTR 20[rax]
	mov	eax, DWORD PTR -996[rbp]
	lea	ecx, [rdx+rax]
	mov	rdx, QWORD PTR -952[rbp]
	mov	rax, QWORD PTR -936[rbp]
	lea	rsi, .LC71[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, DWORD PTR -976[rbp]
	cdqe
	add	rax, 15
	shr	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -1016[rbp]
	mov	eax, DWORD PTR 12[rax]
	mov	ecx, DWORD PTR ascent_correction[rip]
	sub	eax, ecx
	mov	ecx, DWORD PTR descent_correction[rip]
	sub	eax, ecx
	cdqe
	imul	rdx, rax
	mov	rax, QWORD PTR -952[rbp]
	add	rax, rdx
	mov	QWORD PTR -952[rbp], rax
.L259:
	add	DWORD PTR -996[rbp], 1
.L254:
	mov	rax, QWORD PTR -1016[rbp]
	mov	eax, DWORD PTR 24[rax]
	cmp	DWORD PTR -996[rbp], eax
	jl	.L260
	mov	rax, QWORD PTR -936[rbp]
	mov	rcx, rax
	mov	edx, 4
	mov	esi, 1
	lea	rdi, .LC69[rip]
	call	fwrite@PLT
.L253:
	mov	rax, QWORD PTR -1016[rbp]
	mov	rax, QWORD PTR 48[rax]
	test	rax, rax
	je	.L261
	mov	rax, QWORD PTR -1016[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -936[rbp]
	lea	rsi, .LC72[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	DWORD PTR -996[rbp], 0
	jmp	.L262
.L263:
	mov	rax, QWORD PTR -1016[rbp]
	mov	edx, DWORD PTR 20[rax]
	mov	eax, DWORD PTR -996[rbp]
	lea	ecx, [rdx+rax]
	mov	rax, QWORD PTR -1016[rbp]
	mov	rdx, QWORD PTR 48[rax]
	mov	eax, DWORD PTR -996[rbp]
	cdqe
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	edx, al
	mov	rax, QWORD PTR -936[rbp]
	lea	rsi, .LC73[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	DWORD PTR -996[rbp], 1
.L262:
	mov	rax, QWORD PTR -1016[rbp]
	mov	eax, DWORD PTR 24[rax]
	cmp	DWORD PTR -996[rbp], eax
	jl	.L263
	mov	rax, QWORD PTR -936[rbp]
	mov	rcx, rax
	mov	edx, 4
	mov	esi, 1
	lea	rdi, .LC69[rip]
	call	fwrite@PLT
.L261:
	mov	rax, QWORD PTR -1016[rbp]
	mov	rax, QWORD PTR 40[rax]
	test	rax, rax
	je	.L264
	mov	rax, QWORD PTR -1016[rbp]
	mov	rdx, QWORD PTR [rax]
	lea	rax, -672[rbp]
	lea	rsi, .LC74[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	jmp	.L265
.L264:
	lea	rax, -672[rbp]
	lea	rsi, .LC75[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
.L265:
	mov	rax, QWORD PTR -1016[rbp]
	mov	rax, QWORD PTR 48[rax]
	test	rax, rax
	je	.L266
	mov	rax, QWORD PTR -1016[rbp]
	mov	rdx, QWORD PTR [rax]
	lea	rax, -928[rbp]
	lea	rsi, .LC76[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	jmp	.L267
.L266:
	lea	rax, -928[rbp]
	lea	rsi, .LC77[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
.L267:
	mov	rax, QWORD PTR -1016[rbp]
	mov	r11, QWORD PTR [rax]
	mov	rax, QWORD PTR -1016[rbp]
	mov	r10, QWORD PTR [rax]
	mov	rax, QWORD PTR -1016[rbp]
	mov	r9d, DWORD PTR 56[rax]
	mov	rax, QWORD PTR -1016[rbp]
	mov	r8, QWORD PTR [rax]
	mov	rax, QWORD PTR -1016[rbp]
	mov	edi, DWORD PTR 24[rax]
	mov	rax, QWORD PTR -1016[rbp]
	mov	esi, DWORD PTR 20[rax]
	mov	rax, QWORD PTR -1016[rbp]
	mov	eax, DWORD PTR 16[rax]
	mov	edx, DWORD PTR ascent_correction[rip]
	sub	eax, edx
	mov	ebx, eax
	mov	rax, QWORD PTR -1016[rbp]
	mov	eax, DWORD PTR 12[rax]
	mov	edx, DWORD PTR ascent_correction[rip]
	sub	eax, edx
	mov	edx, DWORD PTR descent_correction[rip]
	sub	eax, edx
	mov	r13d, eax
	mov	rax, QWORD PTR -1016[rbp]
	mov	r12d, DWORD PTR 8[rax]
	mov	rax, QWORD PTR -1016[rbp]
	mov	rcx, QWORD PTR [rax]
	mov	rax, QWORD PTR -1016[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -936[rbp]
	sub	rsp, 8
	push	r11
	push	r10
	push	r9
	lea	r9, -928[rbp]
	push	r9
	lea	r9, -672[rbp]
	push	r9
	push	r8
	push	rdi
	push	rsi
	push	rbx
	mov	r9d, r13d
	mov	r8d, r12d
	lea	rsi, .LC78[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	rsp, 80
	mov	eax, 0
.L268:
	mov	rbx, QWORD PTR -56[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L269
	call	__stack_chk_fail@PLT
.L269:
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE17:
	.size	gen_c_source, .-gen_c_source
	.local	base.0
	.comm	base.0,256,32
	.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	"270214.c"
	.text
	.global	gen_map
	.data
	.align	2
	.type	gen_map, %object
	.size	gen_map, 4
gen_map:
	.word	1
	.global	start_char
	.bss
	.align	2
	.type	start_char, %object
	.size	start_char, 4
start_char:
	.space	4
	.global	default_char
	.align	2
	.type	default_char, %object
	.size	default_char, 4
default_char:
	.space	4
	.global	exclude_start
	.align	2
	.type	exclude_start, %object
	.size	exclude_start, 4
exclude_start:
	.space	4
	.global	exclude_end
	.align	2
	.type	exclude_end, %object
	.size	exclude_end, 4
exclude_end:
	.space	4
	.global	limit_char
	.data
	.align	2
	.type	limit_char, %object
	.size	limit_char, 4
limit_char:
	.word	65535
	.global	ascent_correction
	.bss
	.align	2
	.type	ascent_correction, %object
	.size	ascent_correction, 4
ascent_correction:
	.space	4
	.global	descent_correction
	.align	2
	.type	descent_correction, %object
	.size	descent_correction, 4
descent_correction:
	.space	4
	.comm	outfile,256,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Usage: convbdf [options] [input-files]\012Options:\012"
	.ascii	"    -s N   Start output at character encodings >= N"
	.ascii	"\012    -l N   Limit output to character encodings "
	.ascii	"<= N\012    -x N-M Exclude character range N...M\012"
	.ascii	"    -u N   Use code N as default char \012    -a N "
	.ascii	"  Decrease ascent by N\012    -d N   Decrease desce"
	.ascii	"nt by N\012    -n     Don't generate bitmaps as com"
	.ascii	"ments in .c file\012\000"
	.text
	.align	2
	.global	usage
	.syntax unified
	.arm
	.fpu softvfp
	.type	usage, %function
usage:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L2
	ldr	r3, [r3]
	ldr	r2, .L2+4
	mov	r1, #1
	ldr	r0, .L2+8
	bl	fwrite
	nop
	pop	{fp, pc}
.L3:
	.align	2
.L2:
	.word	stderr
	.word	354
	.word	.LC0
	.size	usage, .-usage
	.section	.rodata
	.align	2
.LC1:
	.ascii	"\000"
	.align	2
.LC2:
	.ascii	"Invalid option ignored: %s\015\012\000"
	.align	2
.LC3:
	.ascii	"Unknown option ignored: %c\015\012\000"
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	getopts
	.syntax unified
	.arm
	.fpu softvfp
	.type	getopts, %function
getopts:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	ldr	r3, .L52
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-32]
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-36]
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	b	.L5
.L50:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	add	r3, r3, #1
	str	r3, [fp, #-20]
	b	.L6
.L48:
	ldr	r3, [fp, #-20]
	add	r2, r3, #1
	str	r2, [fp, #-20]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L17
	cmp	r3, #32
	blt	.L8
	cmp	r3, #120
	bgt	.L8
	cmp	r3, #97
	blt	.L8
	sub	r3, r3, #97
	cmp	r3, #23
	ldrls	pc, [pc, r3, asl #2]
	b	.L8
.L10:
	.word	.L16
	.word	.L8
	.word	.L8
	.word	.L15
	.word	.L8
	.word	.L8
	.word	.L8
	.word	.L8
	.word	.L8
	.word	.L8
	.word	.L8
	.word	.L14
	.word	.L8
	.word	.L13
	.word	.L8
	.word	.L8
	.word	.L8
	.word	.L8
	.word	.L12
	.word	.L8
	.word	.L11
	.word	.L8
	.word	.L8
	.word	.L9
.L19:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L17:
	ldr	r3, [fp, #-20]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L18
	ldr	r3, [fp, #-20]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L19
.L18:
	ldr	r3, [fp, #-20]
	add	r2, r3, #1
	str	r2, [fp, #-20]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	beq	.L6
	ldr	r3, .L52+4
	str	r3, [fp, #-20]
	b	.L6
.L13:
	ldr	r3, .L52+8
	mov	r2, #0
	str	r2, [r3]
	b	.L6
.L14:
	ldr	r3, [fp, #-20]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L21
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-20]
	bl	strtol
	mov	r3, r0
	ldr	r2, .L52+12
	str	r3, [r2]
	b	.L22
.L24:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L22:
	ldr	r3, [fp, #-20]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L6
	ldr	r3, [fp, #-20]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	bne	.L24
	b	.L6
.L21:
	ldr	r3, [fp, #-16]
	add	r3, r3, #4
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-12]
	sub	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	ble	.L6
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #0
	mov	r0, r3
	bl	strtol
	mov	r3, r0
	ldr	r2, .L52+12
	str	r3, [r2]
	b	.L6
.L9:
	ldr	r3, [fp, #-20]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L25
	sub	r3, fp, #24
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-20]
	bl	strtol
	mov	r3, r0
	ldr	r2, .L52+16
	str	r3, [r2]
	ldr	r3, [fp, #-24]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	beq	.L26
	ldr	r3, .L52+20
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	ldr	r1, .L52+24
	mov	r0, r3
	bl	fprintf
	ldr	r3, .L52+16
	mov	r2, #0
	str	r2, [r3]
	b	.L6
.L26:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	mov	r2, #0
	mov	r1, #0
	mov	r0, r3
	bl	strtol
	mov	r3, r0
	ldr	r2, .L52+28
	str	r3, [r2]
	b	.L27
.L29:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L27:
	ldr	r3, [fp, #-20]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L6
	ldr	r3, [fp, #-20]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	bne	.L29
	b	.L6
.L25:
	ldr	r3, [fp, #-16]
	add	r3, r3, #4
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-12]
	sub	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	ble	.L6
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	sub	r1, fp, #24
	mov	r2, #0
	mov	r0, r3
	bl	strtol
	mov	r3, r0
	ldr	r2, .L52+16
	str	r3, [r2]
	ldr	r3, [fp, #-24]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	beq	.L31
	ldr	r3, .L52+20
	ldr	r0, [r3]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L52+24
	bl	fprintf
	ldr	r3, .L52+16
	mov	r2, #0
	str	r2, [r3]
	b	.L6
.L31:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	mov	r2, #0
	mov	r1, #0
	mov	r0, r3
	bl	strtol
	mov	r3, r0
	ldr	r2, .L52+28
	str	r3, [r2]
	b	.L6
.L12:
	ldr	r3, [fp, #-20]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L32
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-20]
	bl	strtol
	mov	r3, r0
	ldr	r2, .L52+32
	str	r3, [r2]
	b	.L33
.L35:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L33:
	ldr	r3, [fp, #-20]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L6
	ldr	r3, [fp, #-20]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	bne	.L35
	b	.L6
.L32:
	ldr	r3, [fp, #-16]
	add	r3, r3, #4
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-12]
	sub	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	ble	.L6
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #0
	mov	r0, r3
	bl	strtol
	mov	r3, r0
	ldr	r2, .L52+32
	str	r3, [r2]
	b	.L6
.L16:
	ldr	r3, [fp, #-20]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L36
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-20]
	bl	strtol
	mov	r3, r0
	ldr	r2, .L52+36
	str	r3, [r2]
	b	.L37
.L39:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L37:
	ldr	r3, [fp, #-20]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L6
	ldr	r3, [fp, #-20]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	bne	.L39
	b	.L6
.L36:
	ldr	r3, [fp, #-16]
	add	r3, r3, #4
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-12]
	sub	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	ble	.L6
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #0
	mov	r0, r3
	bl	strtol
	mov	r3, r0
	ldr	r2, .L52+36
	str	r3, [r2]
	b	.L6
.L15:
	ldr	r3, [fp, #-20]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L40
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-20]
	bl	strtol
	mov	r3, r0
	ldr	r2, .L52+40
	str	r3, [r2]
	b	.L41
.L43:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L41:
	ldr	r3, [fp, #-20]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L6
	ldr	r3, [fp, #-20]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	bne	.L43
	b	.L6
.L40:
	ldr	r3, [fp, #-16]
	add	r3, r3, #4
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-12]
	sub	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	ble	.L6
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #0
	mov	r0, r3
	bl	strtol
	mov	r3, r0
	ldr	r2, .L52+40
	str	r3, [r2]
	b	.L6
.L11:
	ldr	r3, [fp, #-20]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L44
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-20]
	bl	strtol
	mov	r3, r0
	ldr	r2, .L52+44
	str	r3, [r2]
	b	.L45
.L47:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L45:
	ldr	r3, [fp, #-20]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L6
	ldr	r3, [fp, #-20]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	bne	.L47
	b	.L6
.L44:
	ldr	r3, [fp, #-16]
	add	r3, r3, #4
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-12]
	sub	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	ble	.L6
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #0
	mov	r0, r3
	bl	strtol
	mov	r3, r0
	ldr	r2, .L52+44
	str	r3, [r2]
	b	.L6
.L8:
	ldr	r3, .L52+20
	ldr	r0, [r3]
	ldr	r3, [fp, #-20]
	sub	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r1, .L52+48
	bl	fprintf
.L6:
	ldr	r3, [fp, #-20]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L48
	ldr	r3, [fp, #-16]
	add	r3, r3, #4
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-12]
	sub	r3, r3, #1
	str	r3, [fp, #-12]
.L5:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	ble	.L49
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	beq	.L50
.L49:
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-12]
	str	r2, [r3]
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-16]
	str	r2, [r3]
	nop
	ldr	r3, .L52
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L51
	bl	__stack_chk_fail
.L51:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L53:
	.align	2
.L52:
	.word	.LC4
	.word	.LC1
	.word	gen_map
	.word	limit_char
	.word	exclude_start
	.word	stderr
	.word	.LC2
	.word	exclude_end
	.word	start_char
	.word	ascent_correction
	.word	descent_correction
	.word	default_char
	.word	.LC3
	.size	getopts, .-getopts
	.align	2
	.global	basename
	.syntax unified
	.arm
	.fpu softvfp
	.type	basename, %function
basename:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-12]
	b	.L55
.L57:
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #47
	bne	.L56
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L56:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L55:
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L57
	ldr	r1, [fp, #-8]
	ldr	r0, .L63
	bl	strcpy
	ldr	r3, .L63
	str	r3, [fp, #-12]
	b	.L58
.L61:
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #46
	bne	.L59
	ldr	r3, [fp, #-12]
	mov	r2, #0
	strb	r2, [r3]
	b	.L60
.L59:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L58:
	ldr	r3, [fp, #-12]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L61
.L60:
	ldr	r3, .L63
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L64:
	.align	2
.L63:
	.word	base.5516
	.size	basename, .-basename
	.section	.rodata
	.align	2
.LC5:
	.ascii	".c\000"
	.text
	.align	2
	.global	convbdf
	.syntax unified
	.arm
	.fpu softvfp
	.type	convbdf, %function
convbdf:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	ldr	r0, [fp, #-16]
	bl	bdf_read_font
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L66
	mov	r0, #1
	bl	exit
.L66:
	ldr	r0, [fp, #-16]
	bl	basename
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L68
	bl	strcpy
	ldr	r0, .L68
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L68
	add	r3, r2, r3
	ldr	r2, .L68+4
	mov	r0, r3
	mov	r1, r2
	mov	r3, #3
	mov	r2, r3
	bl	memcpy
	ldr	r1, .L68
	ldr	r0, [fp, #-8]
	bl	gen_c_source
	mov	r2, r0
	ldr	r3, [fp, #-12]
	orr	r3, r3, r2
	str	r3, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	free_font
	ldr	r3, [fp, #-12]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L69:
	.align	2
.L68:
	.word	outfile
	.word	.LC5
	.size	convbdf, .-convbdf
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-20]
	add	r3, r3, #4
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	str	r3, [fp, #-16]
	sub	r2, fp, #20
	sub	r3, fp, #16
	mov	r1, r2
	mov	r0, r3
	bl	getopts
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bgt	.L72
	bl	usage
	mov	r0, #1
	bl	exit
.L73:
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	mov	r0, r3
	bl	convbdf
	mov	r2, r0
	ldr	r3, [fp, #-8]
	orr	r3, r3, r2
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-20]
	add	r3, r3, #4
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	str	r3, [fp, #-16]
.L72:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bgt	.L73
	ldr	r0, [fp, #-8]
	bl	exit
	.size	main, .-main
	.align	2
	.global	free_font
	.syntax unified
	.arm
	.fpu softvfp
	.type	free_font, %function
free_font:
	@ 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]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L82
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L77
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
.L77:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #44]
	cmp	r3, #0
	beq	.L78
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #44]
	mov	r0, r3
	bl	free
.L78:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #24]
	cmp	r3, #0
	beq	.L79
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #24]
	mov	r0, r3
	bl	free
.L79:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #28]
	cmp	r3, #0
	beq	.L80
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #28]
	mov	r0, r3
	bl	free
.L80:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #32]
	cmp	r3, #0
	beq	.L81
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #32]
	mov	r0, r3
	bl	free
.L81:
	ldr	r0, [fp, #-8]
	bl	free
	b	.L74
.L82:
	nop
.L74:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	free_font, .-free_font
	.section	.rodata
	.align	2
.LC6:
	.ascii	"rb\000"
	.align	2
.LC7:
	.ascii	"Error opening file: %s\012\000"
	.align	2
.LC8:
	.ascii	"Error reading font header\012\000"
	.align	2
.LC9:
	.ascii	"Error reading font bitmaps\012\000"
	.text
	.align	2
	.global	bdf_read_font
	.syntax unified
	.arm
	.fpu softvfp
	.type	bdf_read_font, %function
bdf_read_font:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	ldr	r1, .L91
	ldr	r0, [fp, #-16]
	bl	fopen
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L84
	ldr	r3, .L91+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	ldr	r1, .L91+8
	mov	r0, r3
	bl	fprintf
	mov	r3, #0
	b	.L85
.L84:
	mov	r1, #76
	mov	r0, #1
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L90
	ldr	r0, [fp, #-16]
	bl	basename
	mov	r3, r0
	mov	r0, r3
	bl	strdup
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-8]
	str	r2, [r3]
	ldr	r1, [fp, #-8]
	ldr	r0, [fp, #-12]
	bl	bdf_read_header
	mov	r3, r0
	cmp	r3, #0
	bne	.L88
	ldr	r3, .L91+4
	ldr	r3, [r3]
	mov	r2, #26
	mov	r1, #1
	ldr	r0, .L91+12
	bl	fwrite
	b	.L87
.L88:
	ldr	r1, [fp, #-8]
	ldr	r0, [fp, #-12]
	bl	bdf_read_bitmaps
	mov	r3, r0
	cmp	r3, #0
	bne	.L89
	ldr	r3, .L91+4
	ldr	r3, [r3]
	mov	r2, #27
	mov	r1, #1
	ldr	r0, .L91+16
	bl	fwrite
	b	.L87
.L89:
	ldr	r0, [fp, #-12]
	bl	fclose
	ldr	r3, [fp, #-8]
	b	.L85
.L90:
	nop
.L87:
	ldr	r0, [fp, #-12]
	bl	fclose
	ldr	r0, [fp, #-8]
	bl	free_font
	mov	r3, #0
.L85:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L92:
	.align	2
.L91:
	.word	.LC6
	.word	stderr
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.size	bdf_read_font, .-bdf_read_font
	.section	.rodata
	.align	2
.LC10:
	.ascii	"Error: EOF on file\012\000"
	.align	2
.LC11:
	.ascii	"FONT \000"
	.align	2
.LC12:
	.ascii	"FONT %[^\012]\000"
	.align	2
.LC13:
	.ascii	"Error: bad 'FONT'\012\000"
	.align	2
.LC14:
	.ascii	"COPYRIGHT \000"
	.align	2
.LC15:
	.ascii	"COPYRIGHT \"%[^\"]\000"
	.align	2
.LC16:
	.ascii	"Error: bad 'COPYRIGHT'\012\000"
	.align	2
.LC17:
	.ascii	"DEFAULT_CHAR \000"
	.align	2
.LC18:
	.ascii	"DEFAULT_CHAR %d\000"
	.align	2
.LC19:
	.ascii	"Error: bad 'DEFAULT_CHAR'\012\000"
	.align	2
.LC20:
	.ascii	"FONT_DESCENT \000"
	.align	2
.LC21:
	.ascii	"FONT_DESCENT %d\000"
	.align	2
.LC22:
	.ascii	"Error: bad 'FONT_DESCENT'\012\000"
	.align	2
.LC23:
	.ascii	"FONT_ASCENT \000"
	.align	2
.LC24:
	.ascii	"FONT_ASCENT %d\000"
	.align	2
.LC25:
	.ascii	"Error: bad 'FONT_ASCENT'\012\000"
	.align	2
.LC26:
	.ascii	"FONTBOUNDINGBOX \000"
	.align	2
.LC27:
	.ascii	"FONTBOUNDINGBOX %d %d %d %d\000"
	.align	2
.LC28:
	.ascii	"Error: bad 'FONTBOUNDINGBOX'\012\000"
	.align	2
.LC29:
	.ascii	"CHARS \000"
	.align	2
.LC30:
	.ascii	"CHARS %d\000"
	.align	2
.LC31:
	.ascii	"Error: bad 'CHARS'\012\000"
	.align	2
.LC32:
	.ascii	"ENCODING \000"
	.align	2
.LC33:
	.ascii	"ENCODING %d\000"
	.align	2
.LC34:
	.ascii	"Error: bad 'ENCODING'\012\000"
	.align	2
.LC35:
	.ascii	"DWIDTH \000"
	.align	2
.LC36:
	.ascii	"DWIDTH %d\000"
	.align	2
.LC37:
	.ascii	"Error: bad 'DWIDTH' for encoding %d\012\000"
	.align	2
.LC38:
	.ascii	"ENDFONT\000"
	.align	2
.LC39:
	.ascii	"Error: Invalid BDF file, requires FONT_ASCENT/FONT_"
	.ascii	"DESCENT/ENCODING\012\000"
	.align	2
.LC40:
	.ascii	"Error: no memory for font load\012\000"
	.align	2
.LC41:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	bdf_read_header
	.syntax unified
	.arm
	.fpu softvfp
	.type	bdf_read_header, %function
bdf_read_header:
	@ args = 0, pretend = 0, frame = 808
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #816
	str	r0, [fp, #-808]
	str	r1, [fp, #-812]
	ldr	r3, .L141
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-788]
	ldr	r3, .L141+4
	str	r3, [fp, #-784]
	mvn	r3, #0
	str	r3, [fp, #-780]
	ldr	r3, [fp, #-812]
	mvn	r2, #0
	str	r2, [r3, #36]
	ldr	r3, [fp, #-812]
	mvn	r2, #0
	str	r2, [r3, #12]
	ldr	r3, [fp, #-812]
	mvn	r2, #0
	str	r2, [r3, #56]
.L121:
	sub	r3, fp, #776
	mov	r2, #256
	mov	r1, r3
	ldr	r0, [fp, #-808]
	bl	bdf_getline
	mov	r3, r0
	cmp	r3, #0
	bne	.L94
	ldr	r3, .L141+8
	ldr	r3, [r3]
	mov	r2, #19
	mov	r1, #1
	ldr	r0, .L141+12
	bl	fwrite
	mov	r3, #0
	b	.L129
.L94:
	sub	r3, fp, #776
	mov	r2, #5
	ldr	r1, .L141+16
	mov	r0, r3
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L96
	sub	r2, fp, #520
	sub	r3, fp, #776
	ldr	r1, .L141+20
	mov	r0, r3
	bl	__isoc99_sscanf
	mov	r3, r0
	cmp	r3, #1
	beq	.L97
	ldr	r3, .L141+8
	ldr	r3, [r3]
	mov	r2, #18
	mov	r1, #1
	ldr	r0, .L141+24
	bl	fwrite
	mov	r3, #0
	b	.L129
.L97:
	sub	r3, fp, #520
	mov	r0, r3
	bl	strdup
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-812]
	str	r2, [r3, #44]
	b	.L98
.L96:
	sub	r3, fp, #776
	mov	r2, #10
	ldr	r1, .L141+28
	mov	r0, r3
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L99
	sub	r2, fp, #264
	sub	r3, fp, #776
	ldr	r1, .L141+32
	mov	r0, r3
	bl	__isoc99_sscanf
	mov	r3, r0
	cmp	r3, #1
	beq	.L100
	ldr	r3, .L141+8
	ldr	r3, [r3]
	mov	r2, #23
	mov	r1, #1
	ldr	r0, .L141+36
	bl	fwrite
	mov	r3, #0
	b	.L129
.L100:
	sub	r3, fp, #264
	mov	r0, r3
	bl	strdup
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-812]
	str	r2, [r3, #48]
	b	.L98
.L99:
	sub	r3, fp, #776
	mov	r2, #13
	ldr	r1, .L141+40
	mov	r0, r3
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L101
	ldr	r3, [fp, #-812]
	add	r2, r3, #36
	sub	r3, fp, #776
	ldr	r1, .L141+44
	mov	r0, r3
	bl	__isoc99_sscanf
	mov	r3, r0
	cmp	r3, #1
	beq	.L101
	ldr	r3, .L141+8
	ldr	r3, [r3]
	mov	r2, #26
	mov	r1, #1
	ldr	r0, .L141+48
	bl	fwrite
	mov	r3, #0
	b	.L129
.L101:
	sub	r3, fp, #776
	mov	r2, #13
	ldr	r1, .L141+52
	mov	r0, r3
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L102
	ldr	r3, [fp, #-812]
	add	r2, r3, #56
	sub	r3, fp, #776
	ldr	r1, .L141+56
	mov	r0, r3
	bl	__isoc99_sscanf
	mov	r3, r0
	cmp	r3, #1
	beq	.L132
	ldr	r3, .L141+8
	ldr	r3, [r3]
	mov	r2, #26
	mov	r1, #1
	ldr	r0, .L141+60
	bl	fwrite
	mov	r3, #0
	b	.L129
.L102:
	sub	r3, fp, #776
	mov	r2, #12
	ldr	r1, .L141+64
	mov	r0, r3
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L104
	ldr	r3, [fp, #-812]
	add	r2, r3, #12
	sub	r3, fp, #776
	ldr	r1, .L141+68
	mov	r0, r3
	bl	__isoc99_sscanf
	mov	r3, r0
	cmp	r3, #1
	beq	.L133
	ldr	r3, .L141+8
	ldr	r3, [r3]
	mov	r2, #25
	mov	r1, #1
	ldr	r0, .L141+72
	bl	fwrite
	mov	r3, #0
	b	.L129
.L104:
	sub	r3, fp, #776
	mov	r2, #16
	ldr	r1, .L141+76
	mov	r0, r3
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L106
	ldr	r3, [fp, #-812]
	add	r1, r3, #60
	ldr	r3, [fp, #-812]
	add	ip, r3, #64
	ldr	r3, [fp, #-812]
	add	r3, r3, #68
	ldr	r2, [fp, #-812]
	add	r2, r2, #72
	sub	r0, fp, #776
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, ip
	mov	r2, r1
	ldr	r1, .L141+80
	bl	__isoc99_sscanf
	mov	r3, r0
	cmp	r3, #4
	beq	.L134
	ldr	r3, .L141+8
	ldr	r3, [r3]
	mov	r2, #29
	mov	r1, #1
	ldr	r0, .L141+84
	bl	fwrite
	mov	r3, #0
	b	.L129
.L106:
	sub	r3, fp, #776
	mov	r2, #6
	ldr	r1, .L141+88
	mov	r0, r3
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L108
	sub	r2, fp, #796
	sub	r3, fp, #776
	ldr	r1, .L141+92
	mov	r0, r3
	bl	__isoc99_sscanf
	mov	r3, r0
	cmp	r3, #1
	beq	.L135
	ldr	r3, .L141+8
	ldr	r3, [r3]
	mov	r2, #19
	mov	r1, #1
	ldr	r0, .L141+96
	bl	fwrite
	mov	r3, #0
	b	.L129
.L108:
	sub	r3, fp, #776
	mov	r2, #9
	ldr	r1, .L141+100
	mov	r0, r3
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L110
	sub	r2, fp, #800
	sub	r3, fp, #776
	ldr	r1, .L141+104
	mov	r0, r3
	bl	__isoc99_sscanf
	mov	r3, r0
	cmp	r3, #1
	beq	.L111
	ldr	r3, .L141+8
	ldr	r3, [r3]
	mov	r2, #22
	mov	r1, #1
	ldr	r0, .L141+108
	bl	fwrite
	mov	r3, #0
	b	.L129
.L111:
	ldr	r2, [fp, #-800]
	ldr	r3, .L141+112
	ldr	r3, [r3]
	cmp	r2, r3
	bgt	.L136
	ldr	r2, [fp, #-800]
	ldr	r3, .L141+116
	ldr	r3, [r3]
	cmp	r2, r3
	blt	.L136
	ldr	r3, .L141+120
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L114
	ldr	r2, [fp, #-800]
	ldr	r3, .L141+120
	ldr	r3, [r3]
	cmp	r2, r3
	blt	.L114
	ldr	r2, [fp, #-800]
	ldr	r3, .L141+124
	ldr	r3, [r3]
	cmp	r2, r3
	ble	.L137
.L114:
	ldr	r3, [fp, #-800]
	ldr	r2, [fp, #-784]
	cmp	r2, r3
	ble	.L115
	ldr	r3, [fp, #-800]
	str	r3, [fp, #-784]
.L115:
	ldr	r3, [fp, #-800]
	ldr	r2, [fp, #-780]
	cmp	r2, r3
	bge	.L138
	ldr	r3, [fp, #-800]
	str	r3, [fp, #-780]
	b	.L138
.L110:
	sub	r3, fp, #776
	mov	r2, #7
	ldr	r1, .L141+128
	mov	r0, r3
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L117
	sub	r2, fp, #792
	sub	r3, fp, #776
	ldr	r1, .L141+132
	mov	r0, r3
	bl	__isoc99_sscanf
	mov	r3, r0
	cmp	r3, #1
	beq	.L118
	ldr	r3, .L141+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-800]
	ldr	r1, .L141+136
	mov	r0, r3
	bl	fprintf
	mov	r3, #0
	b	.L129
.L118:
	ldr	r3, [fp, #-792]
	ldr	r2, [fp, #-788]
	cmp	r2, r3
	bge	.L139
	ldr	r3, [fp, #-792]
	str	r3, [fp, #-788]
	b	.L121
.L117:
	sub	r3, fp, #776
	ldr	r1, .L141+140
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L140
	b	.L121
.L132:
	nop
	b	.L121
.L133:
	nop
	b	.L121
.L134:
	nop
	b	.L121
.L135:
	nop
	b	.L121
.L136:
	nop
	b	.L121
.L137:
	nop
	b	.L121
.L138:
	nop
	b	.L121
.L139:
	nop
.L98:
	b	.L121
.L140:
	nop
	ldr	r3, [fp, #-812]
	ldr	r3, [r3, #12]
	cmp	r3, #0
	blt	.L122
	ldr	r3, [fp, #-812]
	ldr	r3, [r3, #56]
	cmp	r3, #0
	blt	.L122
	ldr	r3, [fp, #-784]
	cmp	r3, #0
	bge	.L123
.L122:
	ldr	r3, .L141+8
	ldr	r3, [r3]
	mov	r2, #68
	mov	r1, #1
	ldr	r0, .L141+144
	bl	fwrite
	mov	r3, #0
	b	.L129
.L123:
	ldr	r3, [fp, #-812]
	ldr	r2, [r3, #12]
	ldr	r3, [fp, #-812]
	ldr	r3, [r3, #56]
	add	r2, r2, r3
	ldr	r3, [fp, #-812]
	str	r2, [r3, #8]
	ldr	r3, .L141+148
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L124
	ldr	r3, .L141+148
	ldr	r2, [r3]
	ldr	r3, [fp, #-812]
	str	r2, [r3, #36]
.L124:
	ldr	r3, [fp, #-812]
	ldr	r3, [r3, #36]
	cmp	r3, #0
	blt	.L125
	ldr	r3, [fp, #-812]
	ldr	r3, [r3, #36]
	ldr	r2, [fp, #-784]
	cmp	r2, r3
	bgt	.L125
	ldr	r3, [fp, #-812]
	ldr	r2, [r3, #36]
	ldr	r3, .L141+112
	ldr	r3, [r3]
	cmp	r2, r3
	ble	.L126
.L125:
	ldr	r3, [fp, #-812]
	ldr	r2, [fp, #-784]
	str	r2, [r3, #36]
.L126:
	ldr	r3, [fp, #-812]
	ldr	r2, [fp, #-784]
	str	r2, [r3, #16]
	ldr	r2, [fp, #-780]
	ldr	r3, [fp, #-784]
	sub	r3, r2, r3
	add	r2, r3, #1
	ldr	r3, [fp, #-812]
	str	r2, [r3, #20]
	ldr	r3, [fp, #-788]
	add	r3, r3, #15
	lsr	r3, r3, #4
	ldr	r2, [fp, #-796]
	mul	r3, r2, r3
	ldr	r2, [fp, #-812]
	ldr	r2, [r2, #8]
	mul	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-812]
	str	r2, [r3, #40]
	ldr	r3, [fp, #-812]
	ldr	r3, [r3, #40]
	add	r3, r3, #150
	lsl	r3, r3, #1
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-812]
	str	r2, [r3, #24]
	ldr	r3, [fp, #-812]
	ldr	r3, [r3, #20]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-812]
	str	r2, [r3, #28]
	ldr	r3, [fp, #-812]
	ldr	r3, [r3, #20]
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-812]
	str	r2, [r3, #32]
	ldr	r3, [fp, #-812]
	ldr	r3, [r3, #24]
	cmp	r3, #0
	beq	.L127
	ldr	r3, [fp, #-812]
	ldr	r3, [r3, #28]
	cmp	r3, #0
	beq	.L127
	ldr	r3, [fp, #-812]
	ldr	r3, [r3, #32]
	cmp	r3, #0
	bne	.L128
.L127:
	ldr	r3, .L141+8
	ldr	r3, [r3]
	mov	r2, #31
	mov	r1, #1
	ldr	r0, .L141+152
	bl	fwrite
	mov	r3, #0
	b	.L129
.L128:
	mov	r3, #1
.L129:
	ldr	r2, .L141
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L130
	bl	__stack_chk_fail
.L130:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L142:
	.align	2
.L141:
	.word	.LC41
	.word	65535
	.word	stderr
	.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	.LC25
	.word	.LC26
	.word	.LC27
	.word	.LC28
	.word	.LC29
	.word	.LC30
	.word	.LC31
	.word	.LC32
	.word	.LC33
	.word	.LC34
	.word	limit_char
	.word	start_char
	.word	exclude_start
	.word	exclude_end
	.word	.LC35
	.word	.LC36
	.word	.LC37
	.word	.LC38
	.word	.LC39
	.word	default_char
	.word	.LC40
	.size	bdf_read_header, .-bdf_read_header
	.section	.rodata
	.align	2
.LC42:
	.ascii	"STARTCHAR\000"
	.align	2
.LC43:
	.ascii	"Error: bad 'DWIDTH'\012\000"
	.align	2
.LC44:
	.ascii	"BBX \000"
	.align	2
.LC45:
	.ascii	"BBX %d %d %d %d\000"
	.align	2
.LC46:
	.ascii	"Error: bad 'BBX'\012\000"
	.align	2
.LC47:
	.ascii	"BITMAP\000"
	.align	2
.LC48:
	.ascii	"Error: duplicate encoding for character %d (0x%02x)"
	.ascii	", ignoring duplicate\012\000"
	.align	2
.LC49:
	.ascii	"Error: EOF reading BITMAP data\012\000"
	.align	2
.LC50:
	.ascii	"ENDCHAR\000"
	.align	2
.LC51:
	.ascii	"Error: row out of bounding box, check your BFD file"
	.ascii	"!\012\000"
	.align	2
.LC52:
	.ascii	"Warning: DWIDTH spec > max FONTBOUNDINGBOX\012\000"
	.align	2
.LC53:
	.ascii	"Error: Not enough bits initially allocated\012\000"
	.align	2
.LC54:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	bdf_read_bitmaps
	.syntax unified
	.arm
	.fpu softvfp
	.type	bdf_read_bitmaps, %function
bdf_read_bitmaps:
	@ args = 0, pretend = 0, frame = 352
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #364
	str	r0, [fp, #-360]
	str	r1, [fp, #-364]
	ldr	r3, .L205
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-328]
	mov	r3, #0
	str	r3, [fp, #-324]
	mov	r3, #0
	str	r3, [fp, #-312]
	mov	r3, #0
	str	r3, [fp, #-308]
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-360]
	bl	fseek
	mov	r3, #0
	str	r3, [fp, #-320]
	b	.L144
.L145:
	ldr	r3, [fp, #-364]
	ldr	r2, [r3, #28]
	ldr	r3, [fp, #-320]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mvn	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-320]
	add	r3, r3, #1
	str	r3, [fp, #-320]
.L144:
	ldr	r3, [fp, #-364]
	ldr	r3, [r3, #20]
	ldr	r2, [fp, #-320]
	cmp	r2, r3
	blt	.L145
.L177:
	sub	r3, fp, #272
	mov	r2, #256
	mov	r1, r3
	ldr	r0, [fp, #-360]
	bl	bdf_getline
	mov	r3, r0
	cmp	r3, #0
	bne	.L146
	ldr	r3, .L205+4
	ldr	r3, [r3]
	mov	r2, #19
	mov	r1, #1
	ldr	r0, .L205+8
	bl	fwrite
	mov	r3, #0
	b	.L194
.L146:
	sub	r3, fp, #272
	mov	r2, #9
	ldr	r1, .L205+12
	mov	r0, r3
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L148
	mvn	r3, #0
	str	r3, [fp, #-332]
	ldr	r3, [fp, #-332]
	str	r3, [fp, #-336]
	ldr	r3, [fp, #-336]
	str	r3, [fp, #-340]
	ldr	r3, [fp, #-340]
	str	r3, [fp, #-344]
	ldr	r3, [fp, #-344]
	str	r3, [fp, #-348]
	ldr	r3, [fp, #-348]
	str	r3, [fp, #-352]
	b	.L149
.L148:
	sub	r3, fp, #272
	mov	r2, #9
	ldr	r1, .L205+16
	mov	r0, r3
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L150
	sub	r2, fp, #352
	sub	r3, fp, #272
	ldr	r1, .L205+20
	mov	r0, r3
	bl	__isoc99_sscanf
	mov	r3, r0
	cmp	r3, #1
	beq	.L151
	ldr	r3, .L205+4
	ldr	r3, [r3]
	mov	r2, #22
	mov	r1, #1
	ldr	r0, .L205+24
	bl	fwrite
	mov	r3, #0
	b	.L194
.L151:
	ldr	r2, [fp, #-352]
	ldr	r3, .L205+28
	ldr	r3, [r3]
	cmp	r2, r3
	blt	.L152
	ldr	r2, [fp, #-352]
	ldr	r3, .L205+32
	ldr	r3, [r3]
	cmp	r2, r3
	ble	.L153
.L152:
	mvn	r3, #0
	str	r3, [fp, #-352]
.L153:
	ldr	r3, .L205+36
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L198
	ldr	r2, [fp, #-352]
	ldr	r3, .L205+36
	ldr	r3, [r3]
	cmp	r2, r3
	blt	.L198
	ldr	r2, [fp, #-352]
	ldr	r3, .L205+40
	ldr	r3, [r3]
	cmp	r2, r3
	bgt	.L198
	mvn	r3, #0
	str	r3, [fp, #-352]
	b	.L198
.L150:
	sub	r3, fp, #272
	mov	r2, #7
	ldr	r1, .L205+44
	mov	r0, r3
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L155
	sub	r2, fp, #348
	sub	r3, fp, #272
	ldr	r1, .L205+48
	mov	r0, r3
	bl	__isoc99_sscanf
	mov	r3, r0
	cmp	r3, #1
	beq	.L156
	ldr	r3, .L205+4
	ldr	r3, [r3]
	mov	r2, #20
	mov	r1, #1
	ldr	r0, .L205+52
	bl	fwrite
	mov	r3, #0
	b	.L194
.L156:
	ldr	r3, [fp, #-348]
	cmp	r3, #0
	bgt	.L199
	ldr	r3, [fp, #-364]
	ldr	r2, [r3, #60]
	ldr	r3, [fp, #-364]
	ldr	r3, [r3, #68]
	sub	r3, r2, r3
	str	r3, [fp, #-348]
	b	.L199
.L155:
	sub	r3, fp, #272
	mov	r2, #4
	ldr	r1, .L205+56
	mov	r0, r3
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L158
	sub	r1, fp, #340
	sub	r2, fp, #344
	sub	r0, fp, #272
	sub	r3, fp, #332
	str	r3, [sp, #4]
	sub	r3, fp, #336
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, .L205+60
	bl	__isoc99_sscanf
	mov	r3, r0
	cmp	r3, #4
	beq	.L200
	ldr	r3, .L205+4
	ldr	r3, [r3]
	mov	r2, #17
	mov	r1, #1
	ldr	r0, .L205+64
	bl	fwrite
	mov	r3, #0
	b	.L194
.L158:
	sub	r3, fp, #272
	ldr	r1, .L205+68
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L160
	ldr	r3, [fp, #-364]
	ldr	r2, [r3, #24]
	ldr	r3, [fp, #-328]
	lsl	r3, r3, #1
	add	r3, r2, r3
	str	r3, [fp, #-292]
	ldr	r3, [fp, #-352]
	cmp	r3, #0
	blt	.L201
	ldr	r3, [fp, #-364]
	ldr	r2, [r3, #28]
	ldr	r1, [fp, #-352]
	ldr	r3, [fp, #-364]
	ldr	r3, [r3, #16]
	sub	r3, r1, r3
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	cmn	r3, #1
	beq	.L162
	ldr	r3, .L205+4
	ldr	r0, [r3]
	ldr	r2, [fp, #-352]
	ldr	r3, [fp, #-352]
	ldr	r1, .L205+72
	bl	fprintf
	b	.L149
.L162:
	ldr	r3, [fp, #-364]
	ldr	r2, [r3, #28]
	ldr	r1, [fp, #-352]
	ldr	r3, [fp, #-364]
	ldr	r3, [r3, #16]
	sub	r3, r1, r3
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [fp, #-328]
	str	r2, [r3]
	ldr	r3, [fp, #-336]
	cmp	r3, #0
	bge	.L163
	ldr	r2, [fp, #-348]
	ldr	r3, [fp, #-336]
	sub	r3, r2, r3
	str	r3, [fp, #-348]
	mov	r3, #0
	str	r3, [fp, #-336]
.L163:
	ldr	r3, [fp, #-348]
	ldr	r2, [fp, #-324]
	cmp	r2, r3
	bge	.L164
	ldr	r3, [fp, #-348]
	str	r3, [fp, #-324]
.L164:
	ldr	r2, [fp, #-348]
	ldr	r3, [fp, #-364]
	ldr	r3, [r3, #32]
	ldr	r0, [fp, #-352]
	ldr	r1, [fp, #-364]
	ldr	r1, [r1, #16]
	sub	r1, r0, r1
	add	r3, r3, r1
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r3, [fp, #-348]
	add	r3, r3, #15
	lsr	r3, r3, #4
	ldr	r2, [fp, #-364]
	ldr	r2, [r2, #8]
	mul	r3, r2, r3
	lsl	r3, r3, #1
	mov	r2, r3
	mov	r1, #0
	ldr	r0, [fp, #-292]
	bl	memset
	ldr	r3, [fp, #-348]
	add	r3, r3, #15
	lsr	r3, r3, #4
	str	r3, [fp, #-288]
	mov	r3, #0
	str	r3, [fp, #-320]
.L175:
	sub	r3, fp, #272
	mov	r2, #256
	mov	r1, r3
	ldr	r0, [fp, #-360]
	bl	bdf_getline
	mov	r3, r0
	cmp	r3, #0
	bne	.L165
	ldr	r3, .L205+4
	ldr	r3, [r3]
	mov	r2, #31
	mov	r1, #1
	ldr	r0, .L205+76
	bl	fwrite
	mov	r3, #0
	b	.L194
.L165:
	sub	r3, fp, #272
	mov	r2, #7
	ldr	r1, .L205+80
	mov	r0, r3
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L202
	sub	r3, fp, #272
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-284]
	mov	r3, #0
	str	r3, [fp, #-316]
	b	.L168
.L174:
	ldr	r3, [fp, #-316]
	lsl	r3, r3, #2
	str	r3, [fp, #-280]
	ldr	r2, [fp, #-284]
	ldr	r3, [fp, #-280]
	sub	r3, r2, r3
	str	r3, [fp, #-300]
	ldr	r3, [fp, #-300]
	cmp	r3, #0
	ble	.L203
	ldr	r3, [fp, #-300]
	cmp	r3, #3
	bls	.L171
	mov	r3, #0
	str	r3, [fp, #-300]
.L171:
	ldr	r2, [fp, #-280]
	ldr	r3, [fp, #-300]
	sub	r3, r2, r3
	add	r3, r3, #3
	mov	r2, r3
	sub	r3, fp, #12
	sub	r4, r3, #340
	sub	r4, r4, #2
	sub	r3, fp, #272
	ldr	r1, [fp, #-280]
	mov	r0, r3
	bl	bdf_hexval
	mov	r3, r0
	strh	r3, [r4]	@ movhi
	sub	r3, fp, #12
	sub	r3, r3, #340
	sub	r3, r3, #2
	ldrh	r2, [r3]
	ldr	r3, [fp, #-300]
	lsl	r3, r3, #2
	lsl	r2, r2, r3
	sub	r3, fp, #12
	sub	r3, r3, #340
	sub	r3, r3, #2
	strh	r2, [r3]	@ movhi
	ldr	r3, [fp, #-364]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-364]
	ldr	r3, [r3, #56]
	sub	r2, r2, r3
	ldr	r3, [fp, #-332]
	sub	r2, r2, r3
	ldr	r3, [fp, #-340]
	sub	r3, r2, r3
	ldr	r2, [fp, #-320]
	add	r3, r2, r3
	str	r3, [fp, #-276]
	ldr	r3, [fp, #-276]
	cmp	r3, #0
	bge	.L172
	ldr	r3, .L205+4
	ldr	r3, [r3]
	mov	r2, #53
	mov	r1, #1
	ldr	r0, .L205+84
	bl	fwrite
	mov	r3, #0
	b	.L194
.L172:
	ldr	r3, [fp, #-364]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-364]
	ldr	r3, [r3, #56]
	sub	r2, r2, r3
	ldr	r3, [fp, #-332]
	sub	r2, r2, r3
	ldr	r3, [fp, #-340]
	sub	r2, r2, r3
	ldr	r3, [fp, #-320]
	add	r3, r2, r3
	ldr	r2, [fp, #-288]
	mul	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-316]
	add	r3, r2, r3
	lsl	r3, r3, #1
	ldr	r2, [fp, #-292]
	add	r3, r2, r3
	ldrh	r3, [r3]
	lsl	r3, r3, #16
	asr	r2, r3, #16
	sub	r3, fp, #12
	sub	r3, r3, #340
	sub	r3, r3, #2
	ldrh	r1, [r3]
	ldr	r3, [fp, #-336]
	asr	r3, r1, r3
	lsl	r3, r3, #16
	asr	r3, r3, #16
	orr	r3, r2, r3
	lsl	r3, r3, #16
	asr	r2, r3, #16
	ldr	r3, [fp, #-364]
	ldr	r1, [r3, #8]
	ldr	r3, [fp, #-364]
	ldr	r3, [r3, #56]
	sub	r1, r1, r3
	ldr	r3, [fp, #-332]
	sub	r1, r1, r3
	ldr	r3, [fp, #-340]
	sub	r1, r1, r3
	ldr	r3, [fp, #-320]
	add	r3, r1, r3
	ldr	r1, [fp, #-288]
	mul	r3, r1, r3
	mov	r1, r3
	ldr	r3, [fp, #-316]
	add	r3, r1, r3
	lsl	r3, r3, #1
	ldr	r1, [fp, #-292]
	add	r3, r1, r3
	lsl	r2, r2, #16
	lsr	r2, r2, #16
	strh	r2, [r3]	@ movhi
	ldr	r3, [fp, #-336]
	cmp	r3, #0
	beq	.L173
	sub	r3, fp, #12
	sub	r3, r3, #340
	sub	r3, r3, #2
	ldrh	r2, [r3]
	ldr	r3, [fp, #-336]
	rsb	r3, r3, #16
	lsl	r2, r2, r3
	ldr	r3, [fp, #-364]
	ldr	r1, [r3, #8]
	ldr	r3, [fp, #-364]
	ldr	r3, [r3, #56]
	sub	r1, r1, r3
	ldr	r3, [fp, #-332]
	sub	r1, r1, r3
	ldr	r3, [fp, #-340]
	sub	r1, r1, r3
	ldr	r3, [fp, #-320]
	add	r3, r1, r3
	ldr	r1, [fp, #-288]
	mul	r3, r1, r3
	mov	r1, r3
	ldr	r3, [fp, #-316]
	add	r3, r1, r3
	add	r3, r3, #1
	lsl	r3, r3, #1
	ldr	r1, [fp, #-292]
	add	r3, r1, r3
	lsl	r2, r2, #16
	lsr	r2, r2, #16
	strh	r2, [r3]	@ movhi
.L173:
	ldr	r3, [fp, #-316]
	add	r3, r3, #1
	str	r3, [fp, #-316]
.L168:
	ldr	r2, [fp, #-316]
	ldr	r3, [fp, #-288]
	cmp	r2, r3
	blt	.L174
	b	.L170
.L203:
	nop
.L170:
	ldr	r3, [fp, #-320]
	add	r3, r3, #1
	str	r3, [fp, #-320]
	b	.L175
.L202:
	nop
	ldr	r3, [fp, #-364]
	ldr	r3, [r3, #8]
	ldr	r2, [fp, #-288]
	mul	r3, r2, r3
	ldr	r2, [fp, #-328]
	add	r3, r2, r3
	str	r3, [fp, #-328]
	b	.L149
.L160:
	sub	r3, fp, #272
	ldr	r1, .L205+88
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L204
	b	.L177
.L198:
	nop
	b	.L177
.L199:
	nop
	b	.L177
.L200:
	nop
	b	.L177
.L201:
	nop
.L149:
	b	.L177
.L204:
	nop
	ldr	r3, [fp, #-364]
	ldr	r2, [fp, #-324]
	str	r2, [r3, #4]
	mov	r3, #0
	str	r3, [fp, #-320]
	b	.L178
.L180:
	ldr	r3, [fp, #-364]
	ldr	r2, [r3, #36]
	ldr	r3, [fp, #-364]
	ldr	r3, [r3, #16]
	sub	r3, r2, r3
	str	r3, [fp, #-296]
	ldr	r3, [fp, #-364]
	ldr	r2, [r3, #28]
	ldr	r3, [fp, #-320]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	cmn	r3, #1
	bne	.L179
	ldr	r3, [fp, #-364]
	ldr	r2, [r3, #28]
	ldr	r3, [fp, #-296]
	lsl	r3, r3, #2
	add	r2, r2, r3
	ldr	r3, [fp, #-364]
	ldr	r1, [r3, #28]
	ldr	r3, [fp, #-320]
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r2, [r2]
	str	r2, [r3]
	ldr	r3, [fp, #-364]
	ldr	r2, [r3, #32]
	ldr	r3, [fp, #-296]
	add	r2, r2, r3
	ldr	r3, [fp, #-364]
	ldr	r1, [r3, #32]
	ldr	r3, [fp, #-320]
	add	r3, r1, r3
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
.L179:
	ldr	r3, [fp, #-320]
	add	r3, r3, #1
	str	r3, [fp, #-320]
.L178:
	ldr	r3, [fp, #-364]
	ldr	r3, [r3, #20]
	ldr	r2, [fp, #-320]
	cmp	r2, r3
	blt	.L180
	mov	r3, #0
	str	r3, [fp, #-304]
	mov	r3, #0
	str	r3, [fp, #-320]
	b	.L181
.L184:
	ldr	r3, [fp, #-364]
	ldr	r2, [r3, #28]
	ldr	r3, [fp, #-320]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-304]
	cmp	r2, r3
	beq	.L182
	mov	r3, #1
	str	r3, [fp, #-308]
	b	.L183
.L182:
	ldr	r3, [fp, #-364]
	ldr	r3, [r3, #8]
	ldr	r2, [fp, #-304]
	add	r3, r2, r3
	str	r3, [fp, #-304]
	ldr	r3, [fp, #-320]
	add	r3, r3, #1
	str	r3, [fp, #-320]
.L181:
	ldr	r3, [fp, #-364]
	ldr	r3, [r3, #20]
	ldr	r2, [fp, #-320]
	cmp	r2, r3
	blt	.L184
.L183:
	ldr	r3, [fp, #-308]
	cmp	r3, #0
	bne	.L185
	ldr	r3, [fp, #-364]
	ldr	r3, [r3, #28]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-364]
	mov	r2, #0
	str	r2, [r3, #28]
.L185:
	mov	r3, #0
	str	r3, [fp, #-320]
	b	.L186
.L189:
	ldr	r3, [fp, #-364]
	ldr	r2, [r3, #32]
	ldr	r3, [fp, #-320]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-324]
	cmp	r3, r2
	beq	.L187
	mov	r3, #1
	str	r3, [fp, #-312]
	b	.L188
.L187:
	ldr	r3, [fp, #-320]
	add	r3, r3, #1
	str	r3, [fp, #-320]
.L186:
	ldr	r3, [fp, #-364]
	ldr	r3, [r3, #20]
	ldr	r2, [fp, #-320]
	cmp	r2, r3
	blt	.L189
.L188:
	ldr	r3, [fp, #-312]
	cmp	r3, #0
	bne	.L190
	ldr	r3, [fp, #-364]
	ldr	r3, [r3, #32]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-364]
	mov	r2, #0
	str	r2, [r3, #32]
.L190:
	ldr	r3, [fp, #-364]
	ldr	r3, [r3, #40]
	ldr	r2, [fp, #-328]
	cmp	r2, r3
	bge	.L191
	ldr	r3, [fp, #-364]
	ldr	r2, [r3, #24]
	ldr	r3, [fp, #-328]
	lsl	r3, r3, #1
	mov	r1, r3
	mov	r0, r2
	bl	realloc
	mov	r2, r0
	ldr	r3, [fp, #-364]
	str	r2, [r3, #24]
	ldr	r3, [fp, #-364]
	ldr	r2, [fp, #-328]
	str	r2, [r3, #40]
	b	.L192
.L191:
	ldr	r3, [fp, #-364]
	ldr	r3, [r3, #40]
	ldr	r2, [fp, #-328]
	cmp	r2, r3
	ble	.L192
	ldr	r3, .L205+4
	ldr	r3, [r3]
	mov	r2, #43
	mov	r1, #1
	ldr	r0, .L205+92
	bl	fwrite
	ldr	r3, [fp, #-364]
	ldr	r3, [r3, #40]
	add	r3, r3, #300
	ldr	r2, [fp, #-328]
	cmp	r2, r3
	ble	.L193
	ldr	r3, .L205+4
	ldr	r3, [r3]
	mov	r2, #43
	mov	r1, #1
	ldr	r0, .L205+96
	bl	fwrite
	mov	r3, #0
	b	.L194
.L193:
	ldr	r3, [fp, #-364]
	ldr	r2, [fp, #-328]
	str	r2, [r3, #40]
.L192:
	mov	r3, #1
.L194:
	ldr	r2, .L205
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L195
	bl	__stack_chk_fail
.L195:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L206:
	.align	2
.L205:
	.word	.LC54
	.word	stderr
	.word	.LC10
	.word	.LC42
	.word	.LC32
	.word	.LC33
	.word	.LC34
	.word	start_char
	.word	limit_char
	.word	exclude_start
	.word	exclude_end
	.word	.LC35
	.word	.LC36
	.word	.LC43
	.word	.LC44
	.word	.LC45
	.word	.LC46
	.word	.LC47
	.word	.LC48
	.word	.LC49
	.word	.LC50
	.word	.LC51
	.word	.LC38
	.word	.LC52
	.word	.LC53
	.size	bdf_read_bitmaps, .-bdf_read_bitmaps
	.section	.rodata
	.align	2
.LC55:
	.ascii	"COMMENT\000"
	.text
	.align	2
	.global	bdf_getline
	.syntax unified
	.arm
	.fpu softvfp
	.type	bdf_getline, %function
bdf_getline:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
.L218:
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-12]
	b	.L208
.L213:
	ldr	r3, [fp, #-8]
	cmp	r3, #13
	bne	.L209
	b	.L208
.L209:
	ldr	r3, [fp, #-8]
	cmp	r3, #10
	beq	.L220
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-20]
	sub	r2, r2, r3
	ldr	r3, [fp, #-24]
	sub	r3, r3, #1
	cmp	r2, r3
	bge	.L221
	ldr	r3, [fp, #-12]
	add	r2, r3, #1
	str	r2, [fp, #-12]
	ldr	r2, [fp, #-8]
	and	r2, r2, #255
	strb	r2, [r3]
.L208:
	ldr	r0, [fp, #-16]
	bl	getc
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	bne	.L213
	b	.L211
.L220:
	nop
	b	.L211
.L221:
	nop
.L211:
	ldr	r3, [fp, #-12]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	bne	.L214
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	bne	.L214
	mov	r3, #0
	b	.L215
.L214:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	beq	.L218
	mov	r2, #7
	ldr	r1, .L223
	ldr	r0, [fp, #-20]
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L222
	b	.L218
.L222:
	nop
	ldr	r3, [fp, #-20]
.L215:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L224:
	.align	2
.L223:
	.word	.LC55
	.size	bdf_getline, .-bdf_getline
	.align	2
	.global	bdf_hexval
	.syntax unified
	.arm
	.fpu softvfp
	.type	bdf_hexval, %function
bdf_hexval:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #36
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	mov	r3, #0
	strh	r3, [fp, #-14]	@ movhi
	ldr	r3, [fp, #-28]
	str	r3, [fp, #-12]
	b	.L226
.L231:
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #47
	ble	.L227
	ldr	r3, [fp, #-8]
	cmp	r3, #57
	bgt	.L227
	ldr	r3, [fp, #-8]
	sub	r3, r3, #48
	str	r3, [fp, #-8]
	b	.L228
.L227:
	ldr	r3, [fp, #-8]
	cmp	r3, #64
	ble	.L229
	ldr	r3, [fp, #-8]
	cmp	r3, #70
	bgt	.L229
	ldr	r3, [fp, #-8]
	sub	r3, r3, #55
	str	r3, [fp, #-8]
	b	.L228
.L229:
	ldr	r3, [fp, #-8]
	cmp	r3, #96
	ble	.L230
	ldr	r3, [fp, #-8]
	cmp	r3, #102
	bgt	.L230
	ldr	r3, [fp, #-8]
	sub	r3, r3, #87
	str	r3, [fp, #-8]
	b	.L228
.L230:
	mov	r3, #0
	str	r3, [fp, #-8]
.L228:
	ldrh	r3, [fp, #-14]
	lsl	r3, r3, #4
	lsl	r3, r3, #16
	asr	r2, r3, #16
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #16
	asr	r3, r3, #16
	orr	r3, r2, r3
	lsl	r3, r3, #16
	asr	r3, r3, #16
	strh	r3, [fp, #-14]	@ movhi
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L226:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	ble	.L231
	ldrh	r3, [fp, #-14]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	bdf_hexval, .-bdf_hexval
	.section	.rodata
	.align	2
.LC57:
	.ascii	"w\000"
	.align	2
.LC58:
	.ascii	"Can't create %s\012\000"
	.align	2
.LC59:
	.ascii	"Generating %s\012\000"
	.align	2
.LC60:
	.ascii	"yes\000"
	.align	2
.LC61:
	.ascii	"no\000"
	.align	2
.LC62:
	.ascii	"\012/* Character %d (0x%02x):\012   width %d\000"
	.align	2
.LC63:
	.ascii	"\012   +\000"
	.align	2
.LC64:
	.ascii	"+\012\000"
	.align	2
.LC65:
	.ascii	"   |\000"
	.align	2
.LC66:
	.ascii	"*\000"
	.align	2
.LC67:
	.ascii	" \000"
	.align	2
.LC68:
	.ascii	"|\012\000"
	.align	2
.LC69:
	.ascii	"   +\000"
	.align	2
.LC70:
	.ascii	"+ */\012\000"
	.align	2
.LC71:
	.ascii	" */\012\000"
	.align	2
.LC72:
	.ascii	"0x%04x,\000"
	.align	2
.LC73:
	.ascii	"};\012\012\000"
	.align	2
.LC74:
	.ascii	"/* Character->glyph mapping. */\012static const uns"
	.ascii	"igned short _%s_offset[] = {\012\000"
	.align	2
.LC75:
	.ascii	"  %ld,\011/* (0x%02x) */\012\000"
	.align	2
.LC76:
	.ascii	"/* Character width data. */\012static const unsigne"
	.ascii	"d char _%s_width[] = {\012\000"
	.align	2
.LC77:
	.ascii	"  %d,\011/* (0x%02x) */\012\000"
	.align	2
.LC78:
	.ascii	"_%s_offset,\000"
	.align	2
.LC79:
	.ascii	"0,  /* no encode table*/\000"
	.align	2
.LC80:
	.ascii	"_%s_width,\000"
	.align	2
.LC81:
	.ascii	"0,  /* fixed width*/\000"
	.align	2
.LC82:
	.ascii	"/* Exported structure definition. */\012const struc"
	.ascii	"t oled_font_t font_%s = {\012  \"%s\",\012  %d,\012"
	.ascii	"  %d,\012  %d,\012  %d,\012  %d,\012  _%s_bits,\012"
	.ascii	"  %s\012  %s\012  %d,\012  sizeof(_%s_bits) / sizeo"
	.ascii	"f(_%s_bits[0]),\012};\012\000"
	.align	2
.LC56:
	.ascii	"/* Generated by convbdf on %s. */\012#include \"ole"
	.ascii	"d.h\"\012\012/* Font information:\012   name: %s\012"
	.ascii	"   facename: %s\012   w x h: %dx%d\012   size: %d\012"
	.ascii	"   ascent: %d\012   descent: %d\012   first char: %"
	.ascii	"d (0x%02x)\012   last char: %d (0x%02x)\012   defau"
	.ascii	"lt char: %d (0x%02x)\012   proportional: %s\012   %"
	.ascii	"s\012*/\012\012/* Font character bitmap data. */\012"
	.ascii	"static const unsigned short _%s_bits[] = {\012\000"
	.align	2
.LC83:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	gen_c_source
	.syntax unified
	.arm
	.fpu softvfp
	.type	gen_c_source, %function
gen_c_source:
	@ args = 0, pretend = 0, frame = 952
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	add	fp, sp, #32
	sub	sp, sp, #1020
	str	r0, [fp, #-960]
	str	r1, [fp, #-964]
	ldr	r3, .L287
	ldr	r3, [r3]
	str	r3, [fp, #-40]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-944]
	mov	r0, #0
	bl	time
	mov	r3, r0
	str	r3, [fp, #-952]
	ldr	r2, .L287+4
	sub	r3, fp, #392
	mov	r1, r2
	ldr	r2, .L287+8
	mov	r0, r3
	bl	memcpy
	ldr	r1, .L287+12
	ldr	r0, [fp, #-964]
	bl	fopen
	str	r0, [fp, #-916]
	ldr	r3, [fp, #-916]
	cmp	r3, #0
	bne	.L234
	ldr	r3, .L287+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-964]
	ldr	r1, .L287+20
	mov	r0, r3
	bl	fprintf
	mov	r3, #1
	b	.L284
.L234:
	ldr	r3, .L287+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-964]
	ldr	r1, .L287+24
	mov	r0, r3
	bl	fprintf
	sub	r3, fp, #952
	mov	r0, r3
	bl	ctime
	mov	r2, r0
	sub	r3, fp, #904
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	sub	r3, fp, #904
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	sub	r3, r3, #1
	sub	r2, fp, #36
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3, #-868]
	ldr	r3, [fp, #-960]
	ldr	r3, [r3]
	str	r3, [fp, #-968]
	ldr	r3, [fp, #-960]
	ldr	r3, [r3, #44]
	cmp	r3, #0
	beq	.L236
	ldr	r3, [fp, #-960]
	ldr	ip, [r3, #44]
	b	.L237
.L236:
	ldr	ip, .L287+28
.L237:
	ldr	r3, [fp, #-960]
	ldr	r5, [r3, #4]
	ldr	r3, [fp, #-960]
	ldr	r2, [r3, #8]
	ldr	r3, .L287+32
	ldr	r3, [r3]
	sub	r2, r2, r3
	ldr	r3, .L287+36
	ldr	r3, [r3]
	sub	r6, r2, r3
	ldr	r3, [fp, #-960]
	ldr	r7, [r3, #20]
	ldr	r3, [fp, #-960]
	ldr	r2, [r3, #12]
	ldr	r3, .L287+32
	ldr	r3, [r3]
	sub	r8, r2, r3
	ldr	r3, [fp, #-960]
	ldr	r2, [r3, #56]
	ldr	r3, .L287+36
	ldr	r3, [r3]
	sub	r9, r2, r3
	ldr	r3, [fp, #-960]
	ldr	r10, [r3, #16]
	ldr	r3, [fp, #-960]
	ldr	r3, [r3, #16]
	str	r3, [fp, #-972]
	ldr	r3, [fp, #-960]
	ldr	r2, [r3, #16]
	ldr	r3, [fp, #-960]
	ldr	r3, [r3, #20]
	add	r3, r2, r3
	sub	r3, r3, #1
	str	r3, [fp, #-976]
	ldr	r3, [fp, #-960]
	ldr	r2, [r3, #16]
	ldr	r3, [fp, #-960]
	ldr	r3, [r3, #20]
	add	r3, r2, r3
	sub	r3, r3, #1
	str	r3, [fp, #-980]
	ldr	r3, [fp, #-960]
	ldr	r3, [r3, #36]
	str	r3, [fp, #-984]
	ldr	r3, [fp, #-960]
	ldr	r4, [r3, #36]
	ldr	r3, [fp, #-960]
	ldr	r3, [r3, #32]
	cmp	r3, #0
	beq	.L238
	ldr	lr, .L287+40
	b	.L239
.L238:
	ldr	lr, .L287+44
.L239:
	ldr	r3, [fp, #-960]
	ldr	r3, [r3, #48]
	cmp	r3, #0
	beq	.L240
	ldr	r3, [fp, #-960]
	ldr	r2, [r3, #48]
	b	.L241
.L240:
	ldr	r2, .L287+28
.L241:
	ldr	r3, [fp, #-960]
	ldr	r3, [r3]
	sub	r0, fp, #904
	sub	r1, fp, #392
	str	r3, [sp, #56]
	str	r2, [sp, #52]
	str	lr, [sp, #48]
	str	r4, [sp, #44]
	ldr	r3, [fp, #-984]
	str	r3, [sp, #40]
	ldr	r3, [fp, #-980]
	str	r3, [sp, #36]
	ldr	r3, [fp, #-976]
	str	r3, [sp, #32]
	ldr	r3, [fp, #-972]
	str	r3, [sp, #28]
	str	r10, [sp, #24]
	str	r9, [sp, #20]
	str	r8, [sp, #16]
	str	r7, [sp, #12]
	str	r6, [sp, #8]
	str	r5, [sp, #4]
	str	ip, [sp]
	ldr	r3, [fp, #-968]
	mov	r2, r0
	ldr	r0, [fp, #-916]
	bl	fprintf
	mov	r3, #0
	str	r3, [fp, #-948]
	b	.L242
.L268:
	mov	r3, #0
	str	r3, [fp, #-936]
	ldr	r3, [fp, #-960]
	ldr	r3, [r3, #32]
	cmp	r3, #0
	beq	.L243
	ldr	r3, [fp, #-960]
	ldr	r2, [r3, #32]
	ldr	r3, [fp, #-948]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	b	.L244
.L243:
	ldr	r3, [fp, #-960]
	ldr	r3, [r3, #4]
.L244:
	str	r3, [fp, #-908]
	ldr	r3, [fp, #-960]
	ldr	r2, [r3, #8]
	ldr	r3, .L287+32
	ldr	r3, [r3]
	sub	r2, r2, r3
	ldr	r3, .L287+36
	ldr	r3, [r3]
	sub	r3, r2, r3
	str	r3, [fp, #-932]
	ldr	r3, [fp, #-960]
	ldr	r2, [r3, #24]
	ldr	r3, [fp, #-960]
	ldr	r3, [r3, #28]
	cmp	r3, #0
	beq	.L245
	ldr	r3, [fp, #-960]
	ldr	r1, [r3, #28]
	ldr	r3, [fp, #-948]
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3]
	lsl	r3, r3, #1
	b	.L246
.L245:
	ldr	r3, [fp, #-960]
	ldr	r3, [r3, #8]
	ldr	r1, [fp, #-948]
	mul	r3, r1, r3
	lsl	r3, r3, #1
.L246:
	add	r3, r2, r3
	str	r3, [fp, #-928]
	sub	r3, fp, #36
	sub	r3, r3, #916
	sub	r3, r3, #2
	mov	r2, #0
	strh	r2, [r3]	@ movhi
	ldr	r3, [fp, #-960]
	ldr	r3, [r3, #28]
	cmp	r3, #0
	beq	.L247
	ldr	r3, [fp, #-960]
	ldr	r2, [r3, #28]
	ldr	r3, [fp, #-948]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-960]
	ldr	r1, [r3, #28]
	ldr	r3, [fp, #-960]
	ldr	r0, [r3, #36]
	ldr	r3, [fp, #-960]
	ldr	r3, [r3, #16]
	sub	r3, r0, r3
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L247
	ldr	r3, [fp, #-944]
	cmp	r3, #0
	bne	.L286
	mov	r3, #1
	str	r3, [fp, #-944]
.L247:
	ldr	r3, [fp, #-960]
	ldr	r2, [r3, #16]
	ldr	r3, [fp, #-948]
	add	r1, r2, r3
	ldr	r3, [fp, #-960]
	ldr	r2, [r3, #16]
	ldr	r3, [fp, #-948]
	add	r2, r2, r3
	ldr	r3, [fp, #-908]
	str	r3, [sp]
	mov	r3, r2
	mov	r2, r1
	ldr	r1, .L287+48
	ldr	r0, [fp, #-916]
	bl	fprintf
	ldr	r3, [fp, #-908]
	add	r3, r3, #15
	lsr	r3, r3, #4
	ldr	r2, .L287+32
	ldr	r2, [r2]
	mul	r3, r2, r3
	lsl	r3, r3, #1
	ldr	r2, [fp, #-928]
	add	r3, r2, r3
	str	r3, [fp, #-928]
	ldr	r3, .L287+52
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L250
	ldr	r3, [fp, #-916]
	mov	r2, #5
	mov	r1, #1
	ldr	r0, .L287+56
	bl	fwrite
	mov	r3, #0
	str	r3, [fp, #-940]
	b	.L251
.L252:
	ldr	r1, [fp, #-916]
	mov	r0, #45
	bl	fputc
	ldr	r3, [fp, #-940]
	add	r3, r3, #1
	str	r3, [fp, #-940]
.L251:
	ldr	r2, [fp, #-940]
	ldr	r3, [fp, #-908]
	cmp	r2, r3
	blt	.L252
	ldr	r3, [fp, #-916]
	mov	r2, #2
	mov	r1, #1
	ldr	r0, .L287+60
	bl	fwrite
	mov	r3, #0
	str	r3, [fp, #-940]
	b	.L253
.L258:
	ldr	r3, [fp, #-940]
	cmp	r3, #0
	bne	.L254
	ldr	r3, [fp, #-916]
	mov	r2, #4
	mov	r1, #1
	ldr	r0, .L287+64
	bl	fwrite
.L254:
	ldr	r3, [fp, #-936]
	cmp	r3, #0
	bgt	.L255
	mov	r3, #16
	str	r3, [fp, #-936]
	ldr	r2, [fp, #-928]
	add	r3, r2, #2
	str	r3, [fp, #-928]
	sub	r3, fp, #36
	sub	r3, r3, #916
	sub	r3, r3, #2
	ldrh	r2, [r2]	@ movhi
	strh	r2, [r3]	@ movhi
.L255:
	sub	r3, fp, #36
	sub	r3, r3, #916
	sub	r3, r3, #2
	ldrh	r3, [r3]
	lsr	r3, r3, #15
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L256
	ldr	r3, .L287+68
	b	.L257
.L256:
	ldr	r3, .L287+72
.L257:
	mov	r1, r3
	ldr	r0, [fp, #-916]
	bl	fprintf
	sub	r3, fp, #36
	sub	r3, r3, #916
	sub	r3, r3, #2
	sub	r2, fp, #36
	sub	r2, r2, #916
	sub	r2, r2, #2
	ldrh	r2, [r2]	@ movhi
	lsl	r2, r2, #1
	strh	r2, [r3]	@ movhi
	ldr	r3, [fp, #-936]
	sub	r3, r3, #1
	str	r3, [fp, #-936]
	ldr	r3, [fp, #-940]
	add	r3, r3, #1
	str	r3, [fp, #-940]
	ldr	r2, [fp, #-940]
	ldr	r3, [fp, #-908]
	cmp	r2, r3
	bne	.L253
	ldr	r3, [fp, #-916]
	mov	r2, #2
	mov	r1, #1
	ldr	r0, .L287+76
	bl	fwrite
	ldr	r3, [fp, #-932]
	sub	r3, r3, #1
	str	r3, [fp, #-932]
	mov	r3, #0
	str	r3, [fp, #-940]
	mov	r3, #0
	str	r3, [fp, #-936]
.L253:
	ldr	r3, [fp, #-932]
	cmp	r3, #0
	bgt	.L258
	ldr	r3, [fp, #-916]
	mov	r2, #4
	mov	r1, #1
	ldr	r0, .L287+80
	bl	fwrite
	mov	r3, #0
	str	r3, [fp, #-940]
	b	.L259
.L260:
	ldr	r1, [fp, #-916]
	mov	r0, #45
	bl	fputc
	ldr	r3, [fp, #-940]
	add	r3, r3, #1
	str	r3, [fp, #-940]
.L259:
	ldr	r2, [fp, #-940]
	ldr	r3, [fp, #-908]
	cmp	r2, r3
	blt	.L260
	ldr	r3, [fp, #-916]
	mov	r2, #5
	mov	r1, #1
	ldr	r0, .L287+84
	bl	fwrite
	b	.L261
.L250:
	ldr	r3, [fp, #-916]
	mov	r2, #4
	mov	r1, #1
	ldr	r0, .L287+88
	bl	fwrite
.L261:
	ldr	r3, [fp, #-960]
	ldr	r2, [r3, #24]
	ldr	r3, [fp, #-960]
	ldr	r3, [r3, #28]
	cmp	r3, #0
	beq	.L262
	ldr	r3, [fp, #-960]
	ldr	r1, [r3, #28]
	ldr	r3, [fp, #-948]
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3]
	lsl	r3, r3, #1
	b	.L263
.L262:
	ldr	r3, [fp, #-960]
	ldr	r3, [r3, #8]
	ldr	r1, [fp, #-948]
	mul	r3, r1, r3
	lsl	r3, r3, #1
.L263:
	add	r3, r2, r3
	str	r3, [fp, #-928]
	ldr	r3, [fp, #-908]
	add	r3, r3, #15
	lsr	r3, r3, #4
	ldr	r2, .L287+32
	ldr	r2, [r2]
	mul	r3, r2, r3
	lsl	r3, r3, #1
	ldr	r2, [fp, #-928]
	add	r3, r2, r3
	str	r3, [fp, #-928]
	ldr	r3, [fp, #-960]
	ldr	r2, [r3, #8]
	ldr	r3, .L287+32
	ldr	r3, [r3]
	sub	r2, r2, r3
	ldr	r3, .L287+36
	ldr	r3, [r3]
	sub	r3, r2, r3
	str	r3, [fp, #-932]
	b	.L264
.L267:
	ldr	r3, [fp, #-908]
	add	r3, r3, #15
	lsr	r3, r3, #4
	str	r3, [fp, #-940]
	b	.L265
.L266:
	ldr	r3, [fp, #-928]
	add	r2, r3, #2
	str	r2, [fp, #-928]
	ldrh	r3, [r3]
	mov	r2, r3
	ldr	r1, .L287+92
	ldr	r0, [fp, #-916]
	bl	fprintf
	ldr	r3, [fp, #-940]
	sub	r3, r3, #1
	str	r3, [fp, #-940]
.L265:
	ldr	r3, [fp, #-940]
	cmp	r3, #0
	bgt	.L266
	ldr	r1, [fp, #-916]
	mov	r0, #10
	bl	fputc
	ldr	r3, [fp, #-932]
	sub	r3, r3, #1
	str	r3, [fp, #-932]
.L264:
	ldr	r3, [fp, #-932]
	cmp	r3, #0
	bgt	.L267
	b	.L249
.L286:
	nop
.L249:
	ldr	r3, [fp, #-948]
	add	r3, r3, #1
	str	r3, [fp, #-948]
.L242:
	ldr	r3, [fp, #-960]
	ldr	r3, [r3, #20]
	ldr	r2, [fp, #-948]
	cmp	r2, r3
	blt	.L268
	ldr	r3, [fp, #-916]
	mov	r2, #4
	mov	r1, #1
	ldr	r0, .L287+96
	bl	fwrite
	ldr	r3, [fp, #-960]
	ldr	r3, [r3, #28]
	cmp	r3, #0
	beq	.L269
	ldr	r3, [fp, #-960]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L287+100
	ldr	r0, [fp, #-916]
	bl	fprintf
	mov	r3, #0
	str	r3, [fp, #-924]
	mov	r3, #0
	str	r3, [fp, #-944]
	mov	r3, #0
	str	r3, [fp, #-920]
	mov	r3, #0
	str	r3, [fp, #-948]
	b	.L270
.L276:
	ldr	r3, [fp, #-960]
	ldr	r3, [r3, #32]
	cmp	r3, #0
	beq	.L271
	ldr	r3, [fp, #-960]
	ldr	r2, [r3, #32]
	ldr	r3, [fp, #-948]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	b	.L272
.L271:
	ldr	r3, [fp, #-960]
	ldr	r3, [r3, #4]
.L272:
	str	r3, [fp, #-912]
	ldr	r3, [fp, #-960]
	ldr	r3, [r3, #28]
	cmp	r3, #0
	beq	.L273
	ldr	r3, [fp, #-960]
	ldr	r2, [r3, #28]
	ldr	r3, [fp, #-948]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-960]
	ldr	r1, [r3, #28]
	ldr	r3, [fp, #-960]
	ldr	r0, [r3, #36]
	ldr	r3, [fp, #-960]
	ldr	r3, [r3, #16]
	sub	r3, r0, r3
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L273
	ldr	r3, [fp, #-944]
	cmp	r3, #0
	beq	.L274
	ldr	r3, [fp, #-960]
	ldr	r2, [r3, #16]
	ldr	r3, [fp, #-948]
	add	r3, r2, r3
	ldr	r2, [fp, #-920]
	ldr	r1, .L287+104
	ldr	r0, [fp, #-916]
	bl	fprintf
	b	.L275
.L274:
	mov	r3, #1
	str	r3, [fp, #-944]
	ldr	r3, [fp, #-924]
	str	r3, [fp, #-920]
.L273:
	ldr	r3, [fp, #-960]
	ldr	r2, [r3, #16]
	ldr	r3, [fp, #-948]
	add	r3, r2, r3
	ldr	r2, [fp, #-924]
	ldr	r1, .L287+104
	ldr	r0, [fp, #-916]
	bl	fprintf
	ldr	r3, [fp, #-912]
	add	r3, r3, #15
	lsr	r3, r3, #4
	ldr	r2, [fp, #-960]
	ldr	r1, [r2, #8]
	ldr	r2, .L287+32
	ldr	r2, [r2]
	sub	r1, r1, r2
	ldr	r2, .L287+36
	ldr	r2, [r2]
	sub	r2, r1, r2
	mul	r2, r3, r2
	ldr	r3, [fp, #-924]
	add	r3, r2, r3
	str	r3, [fp, #-924]
.L275:
	ldr	r3, [fp, #-948]
	add	r3, r3, #1
	str	r3, [fp, #-948]
.L270:
	ldr	r3, [fp, #-960]
	ldr	r3, [r3, #20]
	ldr	r2, [fp, #-948]
	cmp	r2, r3
	blt	.L276
	ldr	r3, [fp, #-916]
	mov	r2, #4
	mov	r1, #1
	ldr	r0, .L287+96
	bl	fwrite
.L269:
	ldr	r3, [fp, #-960]
	ldr	r3, [r3, #32]
	cmp	r3, #0
	beq	.L277
	ldr	r3, [fp, #-960]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L287+108
	ldr	r0, [fp, #-916]
	bl	fprintf
	mov	r3, #0
	str	r3, [fp, #-948]
	b	.L278
.L279:
	ldr	r3, [fp, #-960]
	ldr	r2, [r3, #32]
	ldr	r3, [fp, #-948]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r3, [fp, #-960]
	ldr	r2, [r3, #16]
	ldr	r3, [fp, #-948]
	add	r3, r2, r3
	mov	r2, r1
	ldr	r1, .L287+112
	ldr	r0, [fp, #-916]
	bl	fprintf
	ldr	r3, [fp, #-948]
	add	r3, r3, #1
	str	r3, [fp, #-948]
.L278:
	ldr	r3, [fp, #-960]
	ldr	r3, [r3, #20]
	ldr	r2, [fp, #-948]
	cmp	r2, r3
	blt	.L279
	ldr	r3, [fp, #-916]
	mov	r2, #4
	mov	r1, #1
	ldr	r0, .L287+96
	bl	fwrite
.L277:
	ldr	r3, [fp, #-960]
	ldr	r3, [r3, #28]
	cmp	r3, #0
	beq	.L280
	ldr	r3, [fp, #-960]
	ldr	r2, [r3]
	sub	r3, fp, #648
	ldr	r1, .L287+116
	mov	r0, r3
	bl	sprintf
	b	.L281
.L280:
	sub	r3, fp, #648
	ldr	r1, .L287+120
	mov	r0, r3
	bl	sprintf
.L281:
	ldr	r3, [fp, #-960]
	ldr	r3, [r3, #32]
	cmp	r3, #0
	beq	.L282
	ldr	r3, [fp, #-960]
	ldr	r2, [r3]
	sub	r3, fp, #904
	ldr	r1, .L287+124
	mov	r0, r3
	bl	sprintf
	b	.L283
.L282:
	sub	r3, fp, #904
	ldr	r1, .L287+128
	mov	r0, r3
	bl	sprintf
.L283:
	ldr	r3, [fp, #-960]
	ldr	r7, [r3]
	ldr	r3, [fp, #-960]
	ldr	r8, [r3]
	ldr	r3, [fp, #-960]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-960]
	ldr	r1, [r2, #8]
	ldr	r2, .L287+32
	ldr	r2, [r2]
	sub	r1, r1, r2
	ldr	r2, .L287+36
	ldr	r2, [r2]
	sub	r2, r1, r2
	ldr	r1, [fp, #-960]
	ldr	r0, [r1, #12]
	ldr	r1, .L287+32
	ldr	r1, [r1]
	sub	r1, r0, r1
	ldr	r0, [fp, #-960]
	ldr	r0, [r0, #16]
	ldr	ip, [fp, #-960]
	ldr	ip, [ip, #20]
	ldr	lr, [fp, #-960]
	ldr	lr, [lr]
	ldr	r4, [fp, #-960]
	ldr	r4, [r4, #36]
	ldr	r5, [fp, #-960]
	ldr	r5, [r5]
	ldr	r6, [fp, #-960]
	ldr	r6, [r6]
	str	r6, [sp, #40]
	str	r5, [sp, #36]
	str	r4, [sp, #32]
	sub	r4, fp, #904
	str	r4, [sp, #28]
	sub	r4, fp, #648
	str	r4, [sp, #24]
	str	lr, [sp, #20]
	str	ip, [sp, #16]
	str	r0, [sp, #12]
	str	r1, [sp, #8]
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, r8
	mov	r2, r7
	ldr	r1, .L287+132
	ldr	r0, [fp, #-916]
	bl	fprintf
	mov	r3, #0
.L284:
	ldr	r2, .L287
	ldr	r1, [r2]
	ldr	r2, [fp, #-40]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L285
	bl	__stack_chk_fail
.L285:
	mov	r0, r3
	sub	sp, fp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L288:
	.align	2
.L287:
	.word	.LC83
	.word	.LC56
	.word	349
	.word	.LC57
	.word	stderr
	.word	.LC58
	.word	.LC59
	.word	.LC1
	.word	ascent_correction
	.word	descent_correction
	.word	.LC60
	.word	.LC61
	.word	.LC62
	.word	gen_map
	.word	.LC63
	.word	.LC64
	.word	.LC65
	.word	.LC66
	.word	.LC67
	.word	.LC68
	.word	.LC69
	.word	.LC70
	.word	.LC71
	.word	.LC72
	.word	.LC73
	.word	.LC74
	.word	.LC75
	.word	.LC76
	.word	.LC77
	.word	.LC78
	.word	.LC79
	.word	.LC80
	.word	.LC81
	.word	.LC82
	.size	gen_c_source, .-gen_c_source
	.local	base.5516
	.comm	base.5516,256,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
