	.file	"70115.c"
	.intel_syntax noprefix
	.text
	.globl	inname
	.bss
	.align 8
	.type	inname, @object
	.size	inname, 8
inname:
	.zero	8
	.globl	outname
	.align 8
	.type	outname, @object
	.size	outname, 8
outname:
	.zero	8
	.globl	in
	.align 8
	.type	in, @object
	.size	in, 8
in:
	.zero	8
	.globl	out
	.align 8
	.type	out, @object
	.size	out, 8
out:
	.zero	8
	.globl	line
	.align 4
	.type	line, @object
	.size	line, 4
line:
	.zero	4
	.globl	root
	.align 8
	.type	root, @object
	.size	root, 8
root:
	.zero	8
	.globl	rootname
	.section	.rodata
.LC0:
	.string	"fml"
	.section	.data.rel.local,"aw"
	.align 8
	.type	rootname, @object
	.size	rootname, 8
rootname:
	.quad	.LC0
	.globl	inbuf
	.bss
	.align 32
	.type	inbuf, @object
	.size	inbuf, 256
inbuf:
	.zero	256
	.globl	strings
	.align 32
	.type	strings, @object
	.size	strings, 8192
strings:
	.zero	8192
	.globl	freestring
	.section	.data.rel.local
	.align 8
	.type	freestring, @object
	.size	freestring, 8
freestring:
	.quad	strings
	.text
	.globl	clone_string
	.type	clone_string, @function
clone_string:
.LFB0:
	.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	rdi, rax
	call	strlen@PLT
	add	eax, 1
	mov	DWORD PTR -12[rbp], eax
	mov	rax, QWORD PTR freestring[rip]
	mov	QWORD PTR -8[rbp], rax
	mov	rdx, QWORD PTR freestring[rip]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	add	rax, rdx
	mov	QWORD PTR freestring[rip], rax
	mov	rax, QWORD PTR freestring[rip]
	lea	rdx, strings[rip+8192]
	cmp	rax, rdx
	jb	.L2
	mov	rdx, QWORD PTR freestring[rip]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	neg	rax
	add	rax, rdx
	mov	QWORD PTR freestring[rip], rax
	mov	eax, 0
	jmp	.L3
.L2:
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	rax, QWORD PTR -8[rbp]
.L3:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	clone_string, .-clone_string
	.globl	lcase
	.type	lcase, @function
lcase:
.LFB1:
	.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
	jmp	.L5
.L7:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 256
	test	eax, eax
	je	.L6
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	add	eax, 32
	mov	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR [rax], dl
.L6:
	add	QWORD PTR -8[rbp], 1
.L5:
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L7
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	lcase, .-lcase
	.globl	n_line
	.type	n_line, @function
n_line:
.LFB2:
	.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 in[rip]
	mov	rdx, rax
	mov	esi, 256
	lea	rdi, inbuf[rip]
	call	fgets@PLT
	test	rax, rax
	jne	.L9
	mov	eax, 0
	jmp	.L10
.L9:
	mov	eax, 1
.L10:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	n_line, .-n_line
	.globl	next_line
	.type	next_line, @function
next_line:
.LFB3:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
.L15:
	mov	eax, 0
	call	n_line
	test	eax, eax
	jne	.L12
	mov	eax, 0
	jmp	.L13
.L12:
	movzx	eax, BYTE PTR inbuf[rip]
	cmp	al, 35
	je	.L15
	mov	eax, 1
.L13:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	next_line, .-next_line
	.section	.rodata
.LC1:
	.string	"Usage: "
	.align 8
.LC2:
	.string	"    makemenu infile.txt outfile.c rootname"
.LC3:
	.string	"Example:"
	.align 8
.LC4:
	.string	"    makemenu fontmenu.txt fontmenu.c fmu"
.LC5:
	.string	""
	.align 8
.LC6:
	.string	"This creates a set of Button structures in outfile.c, one for "
	.align 8
.LC7:
	.string	"each line of infile.txt. (The first line makes a Menuhdr.)"
	.align 8
.LC8:
	.string	"If fontmenu.txt consisted of the single line:"
.LC9:
	.string	"     points 5 9 88 10"
	.align 8
.LC10:
	.string	"then fontmenu.c would have one structure named fmu_poi_sel and"
	.align 8
.LC11:
	.string	"the x/y/width/height of fmu_poi_sel would be 5 9 (88 10)."
.LC12:
	.string	"r"
	.align 8
.LC13:
	.string	"Couldn't open %s to read, sorry."
.LC14:
	.string	"w"
	.align 8
.LC15:
	.string	"Couldn't open %s to write, sorry."
	.align 8
.LC16:
	.string	"\n/*********   End of makemenu generated code *********/\n\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB4:
	.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	DWORD PTR -4[rbp], edi
	mov	QWORD PTR -16[rbp], rsi
	cmp	DWORD PTR -4[rbp], 4
	je	.L17
	lea	rdi, .LC1[rip]
	call	puts@PLT
	lea	rdi, .LC2[rip]
	call	puts@PLT
	lea	rdi, .LC3[rip]
	call	puts@PLT
	lea	rdi, .LC4[rip]
	call	puts@PLT
	lea	rdi, .LC5[rip]
	call	puts@PLT
	lea	rdi, .LC6[rip]
	call	puts@PLT
	lea	rdi, .LC7[rip]
	call	puts@PLT
	lea	rdi, .LC5[rip]
	call	puts@PLT
	lea	rdi, .LC8[rip]
	call	puts@PLT
	lea	rdi, .LC9[rip]
	call	puts@PLT
	lea	rdi, .LC10[rip]
	call	puts@PLT
	lea	rdi, .LC11[rip]
	call	puts@PLT
	mov	edi, 0
	call	exit@PLT
.L17:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR inname[rip], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR outname[rip], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	QWORD PTR rootname[rip], rax
	mov	rax, QWORD PTR inname[rip]
	lea	rsi, .LC12[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR in[rip], rax
	mov	rax, QWORD PTR in[rip]
	test	rax, rax
	jne	.L18
	mov	rax, QWORD PTR inname[rip]
	mov	rsi, rax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
.L18:
	mov	rax, QWORD PTR outname[rip]
	lea	rsi, .LC14[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR out[rip], rax
	mov	rax, QWORD PTR out[rip]
	test	rax, rax
	jne	.L19
	mov	rax, QWORD PTR outname[rip]
	mov	rsi, rax
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
.L19:
	mov	eax, 0
	call	read_lines
	test	eax, eax
	je	.L20
	mov	eax, 0
	call	write_headers
	mov	eax, 0
	call	write_flicm
	mov	eax, 0
	call	write_button_list
	mov	rax, QWORD PTR out[rip]
	mov	rcx, rax
	mov	edx, 57
	mov	esi, 1
	lea	rdi, .LC16[rip]
	call	fwrite@PLT
.L20:
	mov	eax, 0
	call	cleanup
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	main, .-main
	.globl	cleanup
	.type	cleanup, @function
cleanup:
.LFB5:
	.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 in[rip]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR out[rip]
	mov	rdi, rax
	call	fclose@PLT
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE5:
	.size	cleanup, .-cleanup
	.section	.rodata
	.align 8
.LC17:
	.string	"/* generated with makemenu 2.0 */\n"
.LC18:
	.string	"#include \"jimk.h\"\n"
.LC19:
	.string	"#include \"menus.h\"\n"
.LC20:
	.string	"\n\n"
.LC21:
	.string	"/*** Button Data ***/\n"
	.text
	.globl	write_headers
	.type	write_headers, @function
write_headers:
.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 out[rip]
	mov	rcx, rax
	mov	edx, 34
	mov	esi, 1
	lea	rdi, .LC17[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR out[rip]
	mov	rcx, rax
	mov	edx, 18
	mov	esi, 1
	lea	rdi, .LC18[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR out[rip]
	mov	rcx, rax
	mov	edx, 19
	mov	esi, 1
	lea	rdi, .LC19[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR out[rip]
	mov	rcx, rax
	mov	edx, 2
	mov	esi, 1
	lea	rdi, .LC20[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR out[rip]
	mov	rcx, rax
	mov	edx, 22
	mov	esi, 1
	lea	rdi, .LC21[rip]
	call	fwrite@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	write_headers, .-write_headers
	.globl	skip_space
	.type	skip_space, @function
skip_space:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
.L26:
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -1[rbp], al
	cmp	BYTE PTR -1[rbp], 0
	je	.L25
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	movsx	rax, BYTE PTR -1[rbp]
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8192
	test	eax, eax
	je	.L25
	add	QWORD PTR -24[rbp], 1
	jmp	.L26
.L25:
	mov	rax, QWORD PTR -24[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	skip_space, .-skip_space
	.globl	skip_to_space
	.type	skip_to_space, @function
skip_to_space:
.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
.L30:
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -1[rbp], al
	cmp	BYTE PTR -1[rbp], 0
	je	.L29
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	movsx	rax, BYTE PTR -1[rbp]
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8192
	test	eax, eax
	jne	.L29
	add	QWORD PTR -24[rbp], 1
	jmp	.L30
.L29:
	mov	rax, QWORD PTR -24[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	skip_to_space, .-skip_to_space
	.globl	remove_trailing
	.type	remove_trailing, @function
remove_trailing:
.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	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -4[rbp], eax
	jmp	.L33
.L36:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8192
	test	eax, eax
	je	.L38
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
.L33:
	sub	DWORD PTR -4[rbp], 1
	cmp	DWORD PTR -4[rbp], 0
	jns	.L36
	jmp	.L35
.L38:
	nop
.L35:
	mov	rax, QWORD PTR -24[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	remove_trailing, .-remove_trailing
	.section	.rodata
.LC22:
	.string	"%s_menu"
.LC23:
	.string	"%s_%.8s_sel"
	.text
	.globl	single_name
	.type	single_name, @function
single_name:
.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, 288
	mov	QWORD PTR -280[rbp], rdi
	mov	DWORD PTR -284[rbp], esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -284[rbp], 0
	je	.L40
	mov	rdx, QWORD PTR rootname[rip]
	lea	rax, -272[rbp]
	lea	rsi, .LC22[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	jmp	.L41
.L40:
	mov	rdx, QWORD PTR rootname[rip]
	mov	rcx, QWORD PTR -280[rbp]
	lea	rax, -272[rbp]
	lea	rsi, .LC23[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
.L41:
	lea	rax, -272[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	lcase
	lea	rax, -272[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	clone_string
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L43
	call	__stack_chk_fail@PLT
.L43:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	single_name, .-single_name
	.globl	next_word
	.type	next_word, @function
next_word:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	skip_space
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L45
	mov	eax, 0
	jmp	.L46
.L45:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	skip_to_space
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -9[rbp], al
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR [rax], 0
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	rax, QWORD PTR -8[rbp]
	movzx	edx, BYTE PTR -9[rbp]
	mov	BYTE PTR [rax], dl
	mov	rax, QWORD PTR -8[rbp]
.L46:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	next_word, .-next_word
	.section	.rodata
.LC24:
	.string	"Out of memory"
.LC25:
	.string	"Too many strings"
	.text
	.globl	read_m
	.type	read_m, @function
read_m:
.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, 304
	mov	DWORD PTR -292[rbp], edi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
.L48:
	mov	eax, 0
	call	next_line
	test	eax, eax
	jne	.L49
	mov	eax, 0
	jmp	.L60
.L49:
	lea	rax, inbuf[rip]
	mov	QWORD PTR -288[rbp], rax
	mov	esi, 88
	mov	edi, 1
	call	calloc@PLT
	mov	QWORD PTR -280[rbp], rax
	cmp	QWORD PTR -280[rbp], 0
	jne	.L51
	lea	rdi, .LC24[rip]
	call	puts@PLT
	mov	eax, 0
	jmp	.L60
.L51:
	lea	rdx, -272[rbp]
	mov	rax, QWORD PTR -288[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	mov	eax, 0
	call	next_word
	mov	QWORD PTR -288[rbp], rax
	cmp	QWORD PTR -288[rbp], 0
	jne	.L52
	jmp	.L48
.L52:
	lea	rax, -272[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	clone_string
	mov	rdx, QWORD PTR -280[rbp]
	mov	QWORD PTR 24[rdx], rax
	mov	rax, QWORD PTR -280[rbp]
	mov	rax, QWORD PTR 24[rax]
	test	rax, rax
	jne	.L53
	lea	rdi, .LC25[rip]
	call	puts@PLT
	mov	eax, 0
	jmp	.L60
.L53:
	mov	rax, QWORD PTR -280[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	edx, DWORD PTR -292[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	single_name
	mov	rdx, QWORD PTR -280[rbp]
	mov	QWORD PTR 72[rdx], rax
	mov	rax, QWORD PTR -280[rbp]
	mov	rax, QWORD PTR 72[rax]
	test	rax, rax
	jne	.L54
	lea	rdi, .LC25[rip]
	call	puts@PLT
	mov	eax, 0
	jmp	.L60
.L54:
	lea	rdx, -272[rbp]
	mov	rax, QWORD PTR -288[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	mov	eax, 0
	call	next_word
	mov	QWORD PTR -288[rbp], rax
	cmp	QWORD PTR -288[rbp], 0
	je	.L62
	lea	rax, -272[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	atoi@PLT
	mov	edx, eax
	mov	rax, QWORD PTR -280[rbp]
	mov	WORD PTR 16[rax], dx
	lea	rdx, -272[rbp]
	mov	rax, QWORD PTR -288[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	mov	eax, 0
	call	next_word
	mov	QWORD PTR -288[rbp], rax
	cmp	QWORD PTR -288[rbp], 0
	je	.L63
	lea	rax, -272[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	atoi@PLT
	mov	edx, eax
	mov	rax, QWORD PTR -280[rbp]
	mov	WORD PTR 18[rax], dx
	lea	rdx, -272[rbp]
	mov	rax, QWORD PTR -288[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	mov	eax, 0
	call	next_word
	mov	QWORD PTR -288[rbp], rax
	cmp	QWORD PTR -288[rbp], 0
	je	.L64
	lea	rax, -272[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	atoi@PLT
	mov	edx, eax
	mov	rax, QWORD PTR -280[rbp]
	mov	WORD PTR 20[rax], dx
	lea	rdx, -272[rbp]
	mov	rax, QWORD PTR -288[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	mov	eax, 0
	call	next_word
	mov	QWORD PTR -288[rbp], rax
	cmp	QWORD PTR -288[rbp], 0
	je	.L65
	lea	rax, -272[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	atoi@PLT
	mov	edx, eax
	mov	rax, QWORD PTR -280[rbp]
	mov	WORD PTR 22[rax], dx
	jmp	.L56
.L62:
	nop
	jmp	.L56
.L63:
	nop
	jmp	.L56
.L64:
	nop
	jmp	.L56
.L65:
	nop
.L56:
	mov	rax, QWORD PTR -280[rbp]
.L60:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L61
	call	__stack_chk_fail@PLT
.L61:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	read_m, .-read_m
	.globl	pj_copy_bytes
	.type	pj_copy_bytes, @function
pj_copy_bytes:
.LFB13:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	rax, rdi
	mov	rcx, rsi
	mov	DWORD PTR -4[rbp], edx
	jmp	.L67
.L68:
	mov	rsi, rax
	lea	rax, 1[rsi]
	mov	rdx, rcx
	lea	rcx, 1[rdx]
	movzx	esi, BYTE PTR [rsi]
	mov	BYTE PTR [rdx], sil
.L67:
	sub	DWORD PTR -4[rbp], 1
	cmp	DWORD PTR -4[rbp], 0
	jns	.L68
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	pj_copy_bytes, .-pj_copy_bytes
	.section	.rodata
.LC26:
	.string	"No data in %s!\n"
	.align 8
.LC27:
	.string	"Only one line in %s, hope that's ok...\n"
	.text
	.globl	read_lines
	.type	read_lines, @function
read_lines:
.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, 32
	mov	QWORD PTR -16[rbp], 0
	mov	edi, 1
	call	read_m
	mov	QWORD PTR root[rip], rax
	mov	rax, QWORD PTR root[rip]
	test	rax, rax
	jne	.L70
	mov	rdx, QWORD PTR inname[rip]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC26[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 0
	jmp	.L71
.L70:
	mov	DWORD PTR -20[rbp], 0
.L76:
	mov	edi, 0
	call	read_m
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	je	.L79
	cmp	QWORD PTR -16[rbp], 0
	jne	.L74
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR root[rip]
	mov	rdx, QWORD PTR -16[rbp]
	mov	QWORD PTR 8[rax], rdx
	jmp	.L75
.L74:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR -16[rbp], rax
.L75:
	add	DWORD PTR -20[rbp], 1
	jmp	.L76
.L79:
	nop
	cmp	DWORD PTR -20[rbp], 0
	jne	.L77
	mov	rdx, QWORD PTR inname[rip]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC27[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L77:
	mov	eax, 1
.L71:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	read_lines, .-read_lines
	.globl	print_idents
	.type	print_idents, @function
print_idents:
.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, 16
	mov	DWORD PTR -4[rbp], edi
	jmp	.L81
.L82:
	mov	rax, QWORD PTR out[rip]
	mov	rsi, rax
	mov	edi, 9
	call	fputc@PLT
.L81:
	sub	DWORD PTR -4[rbp], 1
	cmp	DWORD PTR -4[rbp], 0
	jns	.L82
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	print_idents, .-print_idents
	.section	.rodata
.LC28:
	.string	"static Button %s = MB_INIT1(\n"
.LC29:
	.string	"NONEXT, /* next */\n"
.LC30:
	.string	"&%s, /* next */\n"
.LC31:
	.string	"NOCHILD, /* children */\n"
.LC32:
	.string	"&%s,\n /* children */"
	.align 8
.LC33:
	.string	"%d, %d, %d, %d, /* w,h,x,y */\n"
.LC34:
	.string	"NOTEXT, /* datme */\n"
.LC35:
	.string	"\"%s\", /* datme */\n"
.LC36:
	.string	"NOSEE,\n"
.LC37:
	.string	"NOFEEL,\n"
.LC38:
	.string	"NOOPT,\n"
.LC39:
	.string	"NOGROUP,0,\n"
.LC40:
	.string	"NOKEY,\n"
.LC41:
	.string	"0,\t/* flags */\n"
.LC42:
	.string	");\n"
	.text
	.globl	write_button
	.type	write_button, @function
write_button:
.LFB16:
	.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
	mov	DWORD PTR -12[rbp], esi
	mov	eax, DWORD PTR -12[rbp]
	mov	edi, eax
	mov	eax, 0
	call	print_idents
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR 72[rax]
	mov	rax, QWORD PTR out[rip]
	lea	rsi, .LC28[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	DWORD PTR -12[rbp], 1
	mov	eax, DWORD PTR -12[rbp]
	mov	edi, eax
	mov	eax, 0
	call	print_idents
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L84
	mov	rax, QWORD PTR out[rip]
	mov	rcx, rax
	mov	edx, 19
	mov	esi, 1
	lea	rdi, .LC29[rip]
	call	fwrite@PLT
	jmp	.L85
.L84:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR 72[rax]
	mov	rax, QWORD PTR out[rip]
	lea	rsi, .LC30[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L85:
	mov	eax, DWORD PTR -12[rbp]
	mov	edi, eax
	mov	eax, 0
	call	print_idents
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	jne	.L86
	mov	rax, QWORD PTR out[rip]
	mov	rcx, rax
	mov	edx, 24
	mov	esi, 1
	lea	rdi, .LC31[rip]
	call	fwrite@PLT
	jmp	.L87
.L86:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdx, QWORD PTR 72[rax]
	mov	rax, QWORD PTR out[rip]
	lea	rsi, .LC32[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L87:
	mov	eax, DWORD PTR -12[rbp]
	mov	edi, eax
	mov	eax, 0
	call	print_idents
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, WORD PTR 18[rax]
	movsx	edi, ax
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, WORD PTR 16[rax]
	movsx	esi, ax
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, WORD PTR 22[rax]
	movzx	ecx, ax
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, WORD PTR 20[rax]
	movzx	edx, ax
	mov	rax, QWORD PTR out[rip]
	mov	r9d, edi
	mov	r8d, esi
	lea	rsi, .LC33[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, DWORD PTR -12[rbp]
	mov	edi, eax
	mov	eax, 0
	call	print_idents
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 24[rax]
	test	rax, rax
	jne	.L88
	mov	rax, QWORD PTR out[rip]
	mov	rcx, rax
	mov	edx, 20
	mov	esi, 1
	lea	rdi, .LC34[rip]
	call	fwrite@PLT
	jmp	.L89
.L88:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR 24[rax]
	mov	rax, QWORD PTR out[rip]
	lea	rsi, .LC35[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L89:
	mov	eax, DWORD PTR -12[rbp]
	mov	edi, eax
	mov	eax, 0
	call	print_idents
	mov	rax, QWORD PTR out[rip]
	mov	rcx, rax
	mov	edx, 7
	mov	esi, 1
	lea	rdi, .LC36[rip]
	call	fwrite@PLT
	mov	eax, DWORD PTR -12[rbp]
	mov	edi, eax
	mov	eax, 0
	call	print_idents
	mov	rax, QWORD PTR out[rip]
	mov	rcx, rax
	mov	edx, 8
	mov	esi, 1
	lea	rdi, .LC37[rip]
	call	fwrite@PLT
	mov	eax, DWORD PTR -12[rbp]
	mov	edi, eax
	mov	eax, 0
	call	print_idents
	mov	rax, QWORD PTR out[rip]
	mov	rcx, rax
	mov	edx, 7
	mov	esi, 1
	lea	rdi, .LC38[rip]
	call	fwrite@PLT
	mov	eax, DWORD PTR -12[rbp]
	mov	edi, eax
	mov	eax, 0
	call	print_idents
	mov	rax, QWORD PTR out[rip]
	mov	rcx, rax
	mov	edx, 11
	mov	esi, 1
	lea	rdi, .LC39[rip]
	call	fwrite@PLT
	mov	eax, DWORD PTR -12[rbp]
	mov	edi, eax
	mov	eax, 0
	call	print_idents
	mov	rax, QWORD PTR out[rip]
	mov	rcx, rax
	mov	edx, 7
	mov	esi, 1
	lea	rdi, .LC40[rip]
	call	fwrite@PLT
	mov	eax, DWORD PTR -12[rbp]
	mov	edi, eax
	mov	eax, 0
	call	print_idents
	mov	rax, QWORD PTR out[rip]
	mov	rcx, rax
	mov	edx, 15
	mov	esi, 1
	lea	rdi, .LC41[rip]
	call	fwrite@PLT
	mov	eax, DWORD PTR -12[rbp]
	mov	edi, eax
	mov	eax, 0
	call	print_idents
	mov	rax, QWORD PTR out[rip]
	mov	rcx, rax
	mov	edx, 3
	mov	esi, 1
	lea	rdi, .LC42[rip]
	call	fwrite@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	write_button, .-write_button
	.globl	write_tree
	.type	write_tree, @function
write_tree:
.LFB17:
	.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
	mov	DWORD PTR -12[rbp], esi
	cmp	QWORD PTR -8[rbp], 0
	je	.L93
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	edx, DWORD PTR -12[rbp]
	mov	esi, edx
	mov	rdi, rax
	mov	eax, 0
	call	write_tree
	mov	eax, DWORD PTR -12[rbp]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	esi, edx
	mov	rdi, rax
	mov	eax, 0
	call	write_tree
	mov	edx, DWORD PTR -12[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, edx
	mov	rdi, rax
	mov	eax, 0
	call	write_button
	jmp	.L92
.L93:
	nop
.L92:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE17:
	.size	write_tree, .-write_tree
	.globl	list_els
	.type	list_els, @function
list_els:
.LFB18:
	.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 -4[rbp], 0
	jmp	.L95
.L96:
	add	DWORD PTR -4[rbp], 1
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -24[rbp], rax
.L95:
	cmp	QWORD PTR -24[rbp], 0
	jne	.L96
	mov	eax, DWORD PTR -4[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE18:
	.size	list_els, .-list_els
	.section	.rodata
.LC43:
	.string	"\nMenuhdr %s = MENU_INIT0(\n"
.LC44:
	.string	"\t%d,%d,%d,%d,\t/* w,h,x,y */ \n"
.LC45:
	.string	"\tMAKEMENU_MUID,\t\t/* id */\n"
.LC46:
	.string	"\tPANELMENU,\t\t/* type */\n"
.LC47:
	.string	"NULL"
.LC48:
	.string	"\t&%s,\t/* buttons */\n"
.LC49:
	.string	"\tSCREEN_FONT,\t/* font */\n"
.LC50:
	.string	"\t&menu_cursor,\t/* cursor */\n"
.LC51:
	.string	"\tseebg_white,\t/* seebg */\n"
.LC52:
	.string	"\tNULL,\t\t\t/* data */\n"
.LC53:
	.string	"\tNULL,\t\t\t/* domenu */\n"
	.align 8
.LC54:
	.string	"\t(MBPEN|MBRIGHT|KEYHIT),\t/* ioflags */\n"
.LC55:
	.string	"\t0,\t\t\t/* flags */\n"
.LC56:
	.string	"\tNULL,\t\t\t/* procmouse */\n"
.LC57:
	.string	"\tNULL,\t\t\t/* on_showhide */\n"
.LC58:
	.string	"\tNULL,\t\t\t/* cleanup */\n"
	.text
	.globl	write_menuhdr
	.type	write_menuhdr, @function
write_menuhdr:
.LFB19:
	.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
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR 72[rax]
	mov	rax, QWORD PTR out[rip]
	lea	rsi, .LC43[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, WORD PTR 18[rax]
	movsx	edi, ax
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, WORD PTR 16[rax]
	movsx	esi, ax
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, WORD PTR 22[rax]
	movzx	ecx, ax
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, WORD PTR 20[rax]
	movzx	edx, ax
	mov	rax, QWORD PTR out[rip]
	mov	r9d, edi
	mov	r8d, esi
	lea	rsi, .LC44[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR out[rip]
	mov	rcx, rax
	mov	edx, 26
	mov	esi, 1
	lea	rdi, .LC45[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR out[rip]
	mov	rcx, rax
	mov	edx, 24
	mov	esi, 1
	lea	rdi, .LC46[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	je	.L99
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rax, QWORD PTR 72[rax]
	jmp	.L100
.L99:
	lea	rax, .LC47[rip]
.L100:
	mov	rcx, QWORD PTR out[rip]
	mov	rdx, rax
	lea	rsi, .LC48[rip]
	mov	rdi, rcx
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR out[rip]
	mov	rcx, rax
	mov	edx, 25
	mov	esi, 1
	lea	rdi, .LC49[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR out[rip]
	mov	rcx, rax
	mov	edx, 28
	mov	esi, 1
	lea	rdi, .LC50[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR out[rip]
	mov	rcx, rax
	mov	edx, 26
	mov	esi, 1
	lea	rdi, .LC51[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR out[rip]
	mov	rcx, rax
	mov	edx, 20
	mov	esi, 1
	lea	rdi, .LC52[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR out[rip]
	mov	rcx, rax
	mov	edx, 22
	mov	esi, 1
	lea	rdi, .LC53[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR out[rip]
	mov	rcx, rax
	mov	edx, 39
	mov	esi, 1
	lea	rdi, .LC54[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR out[rip]
	mov	rcx, rax
	mov	edx, 18
	mov	esi, 1
	lea	rdi, .LC55[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR out[rip]
	mov	rcx, rax
	mov	edx, 25
	mov	esi, 1
	lea	rdi, .LC56[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR out[rip]
	mov	rcx, rax
	mov	edx, 27
	mov	esi, 1
	lea	rdi, .LC57[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR out[rip]
	mov	rcx, rax
	mov	edx, 23
	mov	esi, 1
	lea	rdi, .LC58[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR out[rip]
	mov	rcx, rax
	mov	edx, 3
	mov	esi, 1
	lea	rdi, .LC42[rip]
	call	fwrite@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE19:
	.size	write_menuhdr, .-write_menuhdr
	.globl	write_flicm
	.type	write_flicm, @function
write_flicm:
.LFB20:
	.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 root[rip]
	mov	rax, QWORD PTR 8[rax]
	mov	esi, 0
	mov	rdi, rax
	mov	eax, 0
	call	write_tree
	mov	rax, QWORD PTR root[rip]
	mov	rdi, rax
	call	write_menuhdr
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE20:
	.size	write_flicm, .-write_flicm
	.section	.rodata
.LC59:
	.string	"&%s,\n"
	.text
	.globl	rwrite_blist
	.type	rwrite_blist, @function
rwrite_blist:
.LFB21:
	.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	.L105
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	rwrite_blist
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdi, rax
	call	rwrite_blist
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR 72[rax]
	mov	rax, QWORD PTR out[rip]
	lea	rsi, .LC59[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L104
.L105:
	nop
.L104:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE21:
	.size	rwrite_blist, .-rwrite_blist
	.section	.rodata
	.align 8
.LC60:
	.string	"\nstatic Button *%s_buttons[] = {\n"
.LC61:
	.string	"};\n\n"
	.align 8
.LC62:
	.string	"void scale_%s_menu(Rscale *scale)\n"
.LC63:
	.string	"{\n"
	.align 8
.LC64:
	.string	"scale_menu(&%s,%s_buttons,Array_els(%s_buttons),scale);\n"
.LC65:
	.string	"}\n"
	.text
	.globl	write_button_list
	.type	write_button_list, @function
write_button_list:
.LFB22:
	.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 root[rip]
	test	rax, rax
	je	.L107
	mov	rax, QWORD PTR root[rip]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	je	.L107
	mov	rdx, QWORD PTR rootname[rip]
	mov	rax, QWORD PTR out[rip]
	lea	rsi, .LC60[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR root[rip]
	mov	rax, QWORD PTR 8[rax]
	mov	rdi, rax
	call	rwrite_blist
	mov	rax, QWORD PTR out[rip]
	mov	rcx, rax
	mov	edx, 4
	mov	esi, 1
	lea	rdi, .LC61[rip]
	call	fwrite@PLT
	mov	rdx, QWORD PTR rootname[rip]
	mov	rax, QWORD PTR out[rip]
	lea	rsi, .LC62[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR out[rip]
	mov	rcx, rax
	mov	edx, 2
	mov	esi, 1
	lea	rdi, .LC63[rip]
	call	fwrite@PLT
	mov	rsi, QWORD PTR rootname[rip]
	mov	rcx, QWORD PTR rootname[rip]
	mov	rax, QWORD PTR root[rip]
	mov	rdx, QWORD PTR 72[rax]
	mov	rax, QWORD PTR out[rip]
	mov	r8, rsi
	lea	rsi, .LC64[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR out[rip]
	mov	rcx, rax
	mov	edx, 2
	mov	esi, 1
	lea	rdi, .LC65[rip]
	call	fwrite@PLT
.L107:
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE22:
	.size	write_button_list, .-write_button_list
	.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	"70115.c"
	.text
	.comm	inname,4,4
	.comm	outname,4,4
	.comm	in,4,4
	.comm	out,4,4
	.comm	line,4,4
	.comm	root,4,4
	.global	rootname
	.section	.rodata
	.align	2
.LC0:
	.ascii	"fml\000"
	.data
	.align	2
	.type	rootname, %object
	.size	rootname, 4
rootname:
	.word	.LC0
	.comm	inbuf,256,4
	.comm	strings,8192,4
	.global	freestring
	.align	2
	.type	freestring, %object
	.size	freestring, 4
freestring:
	.word	strings
	.text
	.align	2
	.global	clone_string
	.syntax unified
	.arm
	.fpu softvfp
	.type	clone_string, %function
clone_string:
	@ 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	r0, [fp, #-16]
	bl	strlen
	mov	r3, r0
	add	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r3, .L4
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, .L4
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	ldr	r2, .L4
	str	r3, [r2]
	ldr	r3, .L4
	ldr	r3, [r3]
	ldr	r2, .L4+4
	cmp	r3, r2
	bcc	.L2
	ldr	r3, .L4
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	rsb	r3, r3, #0
	add	r3, r2, r3
	ldr	r2, .L4
	str	r3, [r2]
	mov	r3, #0
	b	.L3
.L2:
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-8]
	bl	strcpy
	ldr	r3, [fp, #-8]
.L3:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L5:
	.align	2
.L4:
	.word	freestring
	.word	strings+8192
	.size	clone_string, .-clone_string
	.align	2
	.global	lcase
	.syntax unified
	.arm
	.fpu softvfp
	.type	lcase, %function
lcase:
	@ 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]
	b	.L7
.L9:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #256
	cmp	r3, #0
	beq	.L8
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	add	r3, r3, #32
	and	r2, r3, #255
	ldr	r3, [fp, #-8]
	strb	r2, [r3]
.L8:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L7:
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L9
	nop
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	lcase, .-lcase
	.align	2
	.global	n_line
	.syntax unified
	.arm
	.fpu softvfp
	.type	n_line, %function
n_line:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L13
	ldr	r3, [r3]
	mov	r2, r3
	mov	r1, #256
	ldr	r0, .L13+4
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L11
	mov	r3, #0
	b	.L12
.L11:
	mov	r3, #1
.L12:
	mov	r0, r3
	pop	{fp, pc}
.L14:
	.align	2
.L13:
	.word	in
	.word	inbuf
	.size	n_line, .-n_line
	.align	2
	.global	next_line
	.syntax unified
	.arm
	.fpu softvfp
	.type	next_line, %function
next_line:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
.L19:
	bl	n_line
	mov	r3, r0
	cmp	r3, #0
	bne	.L16
	mov	r3, #0
	b	.L17
.L16:
	ldr	r3, .L20
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #35
	beq	.L19
	mov	r3, #1
.L17:
	mov	r0, r3
	pop	{fp, pc}
.L21:
	.align	2
.L20:
	.word	inbuf
	.size	next_line, .-next_line
	.section	.rodata
	.align	2
.LC1:
	.ascii	"Usage: \000"
	.align	2
.LC2:
	.ascii	"    makemenu infile.txt outfile.c rootname\000"
	.align	2
.LC3:
	.ascii	"Example:\000"
	.align	2
.LC4:
	.ascii	"    makemenu fontmenu.txt fontmenu.c fmu\000"
	.align	2
.LC5:
	.ascii	"\000"
	.align	2
.LC6:
	.ascii	"This creates a set of Button structures in outfile."
	.ascii	"c, one for \000"
	.align	2
.LC7:
	.ascii	"each line of infile.txt. (The first line makes a Me"
	.ascii	"nuhdr.)\000"
	.align	2
.LC8:
	.ascii	"If fontmenu.txt consisted of the single line:\000"
	.align	2
.LC9:
	.ascii	"     points 5 9 88 10\000"
	.align	2
.LC10:
	.ascii	"then fontmenu.c would have one structure named fmu_"
	.ascii	"poi_sel and\000"
	.align	2
.LC11:
	.ascii	"the x/y/width/height of fmu_poi_sel would be 5 9 (8"
	.ascii	"8 10).\000"
	.align	2
.LC12:
	.ascii	"r\000"
	.align	2
.LC13:
	.ascii	"Couldn't open %s to read, sorry.\000"
	.align	2
.LC14:
	.ascii	"w\000"
	.align	2
.LC15:
	.ascii	"Couldn't open %s to write, sorry.\000"
	.align	2
.LC16:
	.ascii	"\012/*********   End of makemenu generated code ***"
	.ascii	"******/\012\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ 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]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-8]
	cmp	r3, #4
	beq	.L23
	ldr	r0, .L28
	bl	puts
	ldr	r0, .L28+4
	bl	puts
	ldr	r0, .L28+8
	bl	puts
	ldr	r0, .L28+12
	bl	puts
	ldr	r0, .L28+16
	bl	puts
	ldr	r0, .L28+20
	bl	puts
	ldr	r0, .L28+24
	bl	puts
	ldr	r0, .L28+16
	bl	puts
	ldr	r0, .L28+28
	bl	puts
	ldr	r0, .L28+32
	bl	puts
	ldr	r0, .L28+36
	bl	puts
	ldr	r0, .L28+40
	bl	puts
	mov	r0, #0
	bl	exit
.L23:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #4]
	ldr	r2, .L28+44
	str	r3, [r2]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #8]
	ldr	r2, .L28+48
	str	r3, [r2]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #12]
	ldr	r2, .L28+52
	str	r3, [r2]
	ldr	r3, .L28+44
	ldr	r3, [r3]
	ldr	r1, .L28+56
	mov	r0, r3
	bl	fopen
	mov	r3, r0
	ldr	r2, .L28+60
	str	r3, [r2]
	ldr	r3, .L28+60
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L24
	ldr	r3, .L28+44
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L28+64
	bl	printf
	mov	r0, #0
	bl	exit
.L24:
	ldr	r3, .L28+48
	ldr	r3, [r3]
	ldr	r1, .L28+68
	mov	r0, r3
	bl	fopen
	mov	r3, r0
	ldr	r2, .L28+72
	str	r3, [r2]
	ldr	r3, .L28+72
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L25
	ldr	r3, .L28+48
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L28+76
	bl	printf
	mov	r0, #0
	bl	exit
.L25:
	bl	read_lines
	mov	r3, r0
	cmp	r3, #0
	beq	.L26
	bl	write_headers
	bl	write_flicm
	bl	write_button_list
	ldr	r3, .L28+72
	ldr	r3, [r3]
	mov	r2, #57
	mov	r1, #1
	ldr	r0, .L28+80
	bl	fwrite
.L26:
	bl	cleanup
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L29:
	.align	2
.L28:
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	inname
	.word	outname
	.word	rootname
	.word	.LC12
	.word	in
	.word	.LC13
	.word	.LC14
	.word	out
	.word	.LC15
	.word	.LC16
	.size	main, .-main
	.align	2
	.global	cleanup
	.syntax unified
	.arm
	.fpu softvfp
	.type	cleanup, %function
cleanup:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L31
	ldr	r3, [r3]
	mov	r0, r3
	bl	fclose
	ldr	r3, .L31+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	fclose
	mov	r0, #0
	bl	exit
.L32:
	.align	2
.L31:
	.word	in
	.word	out
	.size	cleanup, .-cleanup
	.section	.rodata
	.align	2
.LC17:
	.ascii	"/* generated with makemenu 2.0 */\012\000"
	.align	2
.LC18:
	.ascii	"#include \"jimk.h\"\012\000"
	.align	2
.LC19:
	.ascii	"#include \"menus.h\"\012\000"
	.align	2
.LC20:
	.ascii	"\012\012\000"
	.align	2
.LC21:
	.ascii	"/*** Button Data ***/\012\000"
	.text
	.align	2
	.global	write_headers
	.syntax unified
	.arm
	.fpu softvfp
	.type	write_headers, %function
write_headers:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L34
	ldr	r3, [r3]
	mov	r2, #34
	mov	r1, #1
	ldr	r0, .L34+4
	bl	fwrite
	ldr	r3, .L34
	ldr	r3, [r3]
	mov	r2, #18
	mov	r1, #1
	ldr	r0, .L34+8
	bl	fwrite
	ldr	r3, .L34
	ldr	r3, [r3]
	mov	r2, #19
	mov	r1, #1
	ldr	r0, .L34+12
	bl	fwrite
	ldr	r3, .L34
	ldr	r3, [r3]
	mov	r2, #2
	mov	r1, #1
	ldr	r0, .L34+16
	bl	fwrite
	ldr	r3, .L34
	ldr	r3, [r3]
	mov	r2, #22
	mov	r1, #1
	ldr	r0, .L34+20
	bl	fwrite
	nop
	mov	r0, r3
	pop	{fp, pc}
.L35:
	.align	2
.L34:
	.word	out
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.size	write_headers, .-write_headers
	.align	2
	.global	skip_space
	.syntax unified
	.arm
	.fpu softvfp
	.type	skip_space, %function
skip_space:
	@ 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]
.L38:
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]
	strb	r3, [fp, #-5]
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L37
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	beq	.L37
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
	b	.L38
.L37:
	ldr	r3, [fp, #-16]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	skip_space, .-skip_space
	.align	2
	.global	skip_to_space
	.syntax unified
	.arm
	.fpu softvfp
	.type	skip_to_space, %function
skip_to_space:
	@ 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]
.L42:
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]
	strb	r3, [fp, #-5]
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L41
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	bne	.L41
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
	b	.L42
.L41:
	ldr	r3, [fp, #-16]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	skip_to_space, .-skip_to_space
	.align	2
	.global	remove_trailing
	.syntax unified
	.arm
	.fpu softvfp
	.type	remove_trailing, %function
remove_trailing:
	@ 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	r0, [fp, #-16]
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-8]
	b	.L45
.L48:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r1, [fp, #-16]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	beq	.L50
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
.L45:
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bge	.L48
	b	.L47
.L50:
	nop
.L47:
	ldr	r3, [fp, #-16]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	remove_trailing, .-remove_trailing
	.section	.rodata
	.align	2
.LC22:
	.ascii	"%s_menu\000"
	.align	2
.LC23:
	.ascii	"%s_%.8s_sel\000"
	.align	2
.LC24:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	single_name
	.syntax unified
	.arm
	.fpu softvfp
	.type	single_name, %function
single_name:
	@ args = 0, pretend = 0, frame = 272
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #272
	str	r0, [fp, #-272]
	str	r1, [fp, #-276]
	ldr	r3, .L56
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-276]
	cmp	r3, #0
	beq	.L52
	ldr	r3, .L56+4
	ldr	r2, [r3]
	sub	r3, fp, #264
	ldr	r1, .L56+8
	mov	r0, r3
	bl	sprintf
	b	.L53
.L52:
	ldr	r3, .L56+4
	ldr	r2, [r3]
	sub	r0, fp, #264
	ldr	r3, [fp, #-272]
	ldr	r1, .L56+12
	bl	sprintf
.L53:
	sub	r3, fp, #264
	mov	r0, r3
	bl	lcase
	sub	r3, fp, #264
	mov	r0, r3
	bl	clone_string
	mov	r3, r0
	ldr	r2, .L56
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L55
	bl	__stack_chk_fail
.L55:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L57:
	.align	2
.L56:
	.word	.LC24
	.word	rootname
	.word	.LC22
	.word	.LC23
	.size	single_name, .-single_name
	.align	2
	.global	next_word
	.syntax unified
	.arm
	.fpu softvfp
	.type	next_word, %function
next_word:
	@ 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]
	ldr	r0, [fp, #-16]
	bl	skip_space
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L59
	mov	r3, #0
	b	.L60
.L59:
	ldr	r0, [fp, #-16]
	bl	skip_to_space
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]
	strb	r3, [fp, #-9]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-20]
	bl	strcpy
	ldr	r3, [fp, #-8]
	ldrb	r2, [fp, #-9]
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
.L60:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	next_word, .-next_word
	.section	.rodata
	.align	2
.LC25:
	.ascii	"Out of memory\000"
	.align	2
.LC26:
	.ascii	"Too many strings\000"
	.align	2
.LC27:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	read_m
	.syntax unified
	.arm
	.fpu softvfp
	.type	read_m, %function
read_m:
	@ args = 0, pretend = 0, frame = 280
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #280
	str	r0, [fp, #-280]
	ldr	r3, .L80
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
.L62:
	bl	next_line
	mov	r3, r0
	cmp	r3, #0
	bne	.L63
	mov	r3, #0
	b	.L74
.L63:
	ldr	r3, .L80+4
	str	r3, [fp, #-272]
	mov	r1, #52
	mov	r0, #1
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-268]
	ldr	r3, [fp, #-268]
	cmp	r3, #0
	bne	.L65
	ldr	r0, .L80+8
	bl	puts
	mov	r3, #0
	b	.L74
.L65:
	sub	r3, fp, #264
	mov	r1, r3
	ldr	r0, [fp, #-272]
	bl	next_word
	str	r0, [fp, #-272]
	ldr	r3, [fp, #-272]
	cmp	r3, #0
	bne	.L66
	b	.L62
.L66:
	sub	r3, fp, #264
	mov	r0, r3
	bl	clone_string
	mov	r2, r0
	ldr	r3, [fp, #-268]
	str	r2, [r3, #16]
	ldr	r3, [fp, #-268]
	ldr	r3, [r3, #16]
	cmp	r3, #0
	bne	.L67
	ldr	r0, .L80+12
	bl	puts
	mov	r3, #0
	b	.L74
.L67:
	ldr	r3, [fp, #-268]
	ldr	r3, [r3, #16]
	ldr	r1, [fp, #-280]
	mov	r0, r3
	bl	single_name
	mov	r2, r0
	ldr	r3, [fp, #-268]
	str	r2, [r3, #44]
	ldr	r3, [fp, #-268]
	ldr	r3, [r3, #44]
	cmp	r3, #0
	bne	.L68
	ldr	r0, .L80+12
	bl	puts
	mov	r3, #0
	b	.L74
.L68:
	sub	r3, fp, #264
	mov	r1, r3
	ldr	r0, [fp, #-272]
	bl	next_word
	str	r0, [fp, #-272]
	ldr	r3, [fp, #-272]
	cmp	r3, #0
	beq	.L76
	sub	r3, fp, #264
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	lsl	r3, r3, #16
	asr	r2, r3, #16
	ldr	r3, [fp, #-268]
	strh	r2, [r3, #8]	@ movhi
	sub	r3, fp, #264
	mov	r1, r3
	ldr	r0, [fp, #-272]
	bl	next_word
	str	r0, [fp, #-272]
	ldr	r3, [fp, #-272]
	cmp	r3, #0
	beq	.L77
	sub	r3, fp, #264
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	lsl	r3, r3, #16
	asr	r2, r3, #16
	ldr	r3, [fp, #-268]
	strh	r2, [r3, #10]	@ movhi
	sub	r3, fp, #264
	mov	r1, r3
	ldr	r0, [fp, #-272]
	bl	next_word
	str	r0, [fp, #-272]
	ldr	r3, [fp, #-272]
	cmp	r3, #0
	beq	.L78
	sub	r3, fp, #264
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldr	r3, [fp, #-268]
	strh	r2, [r3, #12]	@ movhi
	sub	r3, fp, #264
	mov	r1, r3
	ldr	r0, [fp, #-272]
	bl	next_word
	str	r0, [fp, #-272]
	ldr	r3, [fp, #-272]
	cmp	r3, #0
	beq	.L79
	sub	r3, fp, #264
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldr	r3, [fp, #-268]
	strh	r2, [r3, #14]	@ movhi
	b	.L70
.L76:
	nop
	b	.L70
.L77:
	nop
	b	.L70
.L78:
	nop
	b	.L70
.L79:
	nop
.L70:
	ldr	r3, [fp, #-268]
.L74:
	ldr	r2, .L80
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L75
	bl	__stack_chk_fail
.L75:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L81:
	.align	2
.L80:
	.word	.LC27
	.word	inbuf
	.word	.LC25
	.word	.LC26
	.size	read_m, .-read_m
	.align	2
	.global	pj_copy_bytes
	.syntax unified
	.arm
	.fpu softvfp
	.type	pj_copy_bytes, %function
pj_copy_bytes:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r2, [fp, #-8]
	b	.L83
.L84:
	mov	r2, r0
	add	r0, r2, #1
	mov	r3, r1
	add	r1, r3, #1
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
.L83:
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bge	.L84
	nop
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	pj_copy_bytes, .-pj_copy_bytes
	.section	.rodata
	.align	2
.LC28:
	.ascii	"No data in %s!\012\000"
	.align	2
.LC29:
	.ascii	"Only one line in %s, hope that's ok...\012\000"
	.text
	.align	2
	.global	read_lines
	.syntax unified
	.arm
	.fpu softvfp
	.type	read_lines, %function
read_lines:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r0, #1
	bl	read_m
	mov	r3, r0
	ldr	r2, .L96
	str	r3, [r2]
	ldr	r3, .L96
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L86
	ldr	r3, .L96+4
	ldr	r3, [r3]
	ldr	r2, .L96+8
	ldr	r2, [r2]
	ldr	r1, .L96+12
	mov	r0, r3
	bl	fprintf
	mov	r3, #0
	b	.L87
.L86:
	mov	r3, #0
	str	r3, [fp, #-16]
.L92:
	mov	r0, #0
	bl	read_m
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L95
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L90
	ldr	r3, [fp, #-8]
	str	r3, [fp, #-12]
	ldr	r3, .L96
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	str	r2, [r3, #4]
	b	.L91
.L90:
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-8]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	str	r3, [fp, #-12]
.L91:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
	b	.L92
.L95:
	nop
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L93
	ldr	r3, .L96+4
	ldr	r3, [r3]
	ldr	r2, .L96+8
	ldr	r2, [r2]
	ldr	r1, .L96+16
	mov	r0, r3
	bl	fprintf
.L93:
	mov	r3, #1
.L87:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L97:
	.align	2
.L96:
	.word	root
	.word	stderr
	.word	inname
	.word	.LC28
	.word	.LC29
	.size	read_lines, .-read_lines
	.align	2
	.global	print_idents
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_idents, %function
print_idents:
	@ 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]
	b	.L99
.L100:
	ldr	r3, .L101
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, #9
	bl	fputc
.L99:
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bge	.L100
	nop
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L102:
	.align	2
.L101:
	.word	out
	.size	print_idents, .-print_idents
	.section	.rodata
	.align	2
.LC30:
	.ascii	"static Button %s = MB_INIT1(\012\000"
	.align	2
.LC31:
	.ascii	"NONEXT, /* next */\012\000"
	.align	2
.LC32:
	.ascii	"&%s, /* next */\012\000"
	.align	2
.LC33:
	.ascii	"NOCHILD, /* children */\012\000"
	.align	2
.LC34:
	.ascii	"&%s,\012 /* children */\000"
	.align	2
.LC35:
	.ascii	"%d, %d, %d, %d, /* w,h,x,y */\012\000"
	.align	2
.LC36:
	.ascii	"NOTEXT, /* datme */\012\000"
	.align	2
.LC37:
	.ascii	"\"%s\", /* datme */\012\000"
	.align	2
.LC38:
	.ascii	"NOSEE,\012\000"
	.align	2
.LC39:
	.ascii	"NOFEEL,\012\000"
	.align	2
.LC40:
	.ascii	"NOOPT,\012\000"
	.align	2
.LC41:
	.ascii	"NOGROUP,0,\012\000"
	.align	2
.LC42:
	.ascii	"NOKEY,\012\000"
	.align	2
.LC43:
	.ascii	"0,\011/* flags */\012\000"
	.align	2
.LC44:
	.ascii	");\012\000"
	.text
	.align	2
	.global	write_button
	.syntax unified
	.arm
	.fpu softvfp
	.type	write_button, %function
write_button:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r0, [fp, #-12]
	bl	print_idents
	ldr	r3, .L110
	ldr	r0, [r3]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #44]
	mov	r2, r3
	ldr	r1, .L110+4
	bl	fprintf
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r0, [fp, #-12]
	bl	print_idents
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L104
	ldr	r3, .L110
	ldr	r3, [r3]
	mov	r2, #19
	mov	r1, #1
	ldr	r0, .L110+8
	bl	fwrite
	b	.L105
.L104:
	ldr	r3, .L110
	ldr	r0, [r3]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r3, [r3, #44]
	mov	r2, r3
	ldr	r1, .L110+12
	bl	fprintf
.L105:
	ldr	r0, [fp, #-12]
	bl	print_idents
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bne	.L106
	ldr	r3, .L110
	ldr	r3, [r3]
	mov	r2, #24
	mov	r1, #1
	ldr	r0, .L110+16
	bl	fwrite
	b	.L107
.L106:
	ldr	r3, .L110
	ldr	r0, [r3]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	ldr	r3, [r3, #44]
	mov	r2, r3
	ldr	r1, .L110+20
	bl	fprintf
.L107:
	ldr	r0, [fp, #-12]
	bl	print_idents
	ldr	r3, .L110
	ldr	r0, [r3]
	ldr	r3, [fp, #-8]
	ldrh	r3, [r3, #12]
	mov	r1, r3
	ldr	r3, [fp, #-8]
	ldrh	r3, [r3, #14]
	mov	ip, r3
	ldr	r3, [fp, #-8]
	ldrsh	r3, [r3, #8]
	mov	r2, r3
	ldr	r3, [fp, #-8]
	ldrsh	r3, [r3, #10]
	str	r3, [sp, #4]
	str	r2, [sp]
	mov	r3, ip
	mov	r2, r1
	ldr	r1, .L110+24
	bl	fprintf
	ldr	r0, [fp, #-12]
	bl	print_idents
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #16]
	cmp	r3, #0
	bne	.L108
	ldr	r3, .L110
	ldr	r3, [r3]
	mov	r2, #20
	mov	r1, #1
	ldr	r0, .L110+28
	bl	fwrite
	b	.L109
.L108:
	ldr	r3, .L110
	ldr	r0, [r3]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #16]
	mov	r2, r3
	ldr	r1, .L110+32
	bl	fprintf
.L109:
	ldr	r0, [fp, #-12]
	bl	print_idents
	ldr	r3, .L110
	ldr	r3, [r3]
	mov	r2, #7
	mov	r1, #1
	ldr	r0, .L110+36
	bl	fwrite
	ldr	r0, [fp, #-12]
	bl	print_idents
	ldr	r3, .L110
	ldr	r3, [r3]
	mov	r2, #8
	mov	r1, #1
	ldr	r0, .L110+40
	bl	fwrite
	ldr	r0, [fp, #-12]
	bl	print_idents
	ldr	r3, .L110
	ldr	r3, [r3]
	mov	r2, #7
	mov	r1, #1
	ldr	r0, .L110+44
	bl	fwrite
	ldr	r0, [fp, #-12]
	bl	print_idents
	ldr	r3, .L110
	ldr	r3, [r3]
	mov	r2, #11
	mov	r1, #1
	ldr	r0, .L110+48
	bl	fwrite
	ldr	r0, [fp, #-12]
	bl	print_idents
	ldr	r3, .L110
	ldr	r3, [r3]
	mov	r2, #7
	mov	r1, #1
	ldr	r0, .L110+52
	bl	fwrite
	ldr	r0, [fp, #-12]
	bl	print_idents
	ldr	r3, .L110
	ldr	r3, [r3]
	mov	r2, #15
	mov	r1, #1
	ldr	r0, .L110+56
	bl	fwrite
	ldr	r0, [fp, #-12]
	bl	print_idents
	ldr	r3, .L110
	ldr	r3, [r3]
	mov	r2, #3
	mov	r1, #1
	ldr	r0, .L110+60
	bl	fwrite
	nop
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L111:
	.align	2
.L110:
	.word	out
	.word	.LC30
	.word	.LC31
	.word	.LC32
	.word	.LC33
	.word	.LC34
	.word	.LC35
	.word	.LC36
	.word	.LC37
	.word	.LC38
	.word	.LC39
	.word	.LC40
	.word	.LC41
	.word	.LC42
	.word	.LC43
	.word	.LC44
	.size	write_button, .-write_button
	.align	2
	.global	write_tree
	.syntax unified
	.arm
	.fpu softvfp
	.type	write_tree, %function
write_tree:
	@ 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]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L115
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r1, [fp, #-12]
	mov	r0, r3
	bl	write_tree
	ldr	r3, [fp, #-8]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	mov	r1, r3
	mov	r0, r2
	bl	write_tree
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	write_button
	b	.L114
.L115:
	nop
.L114:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	write_tree, .-write_tree
	.align	2
	.global	list_els
	.syntax unified
	.arm
	.fpu softvfp
	.type	list_els, %function
list_els:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L117
.L118:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	str	r3, [fp, #-16]
.L117:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L118
	ldr	r3, [fp, #-8]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	list_els, .-list_els
	.section	.rodata
	.align	2
.LC45:
	.ascii	"\012Menuhdr %s = MENU_INIT0(\012\000"
	.align	2
.LC46:
	.ascii	"\011%d,%d,%d,%d,\011/* w,h,x,y */ \012\000"
	.align	2
.LC47:
	.ascii	"\011MAKEMENU_MUID,\011\011/* id */\012\000"
	.align	2
.LC48:
	.ascii	"\011PANELMENU,\011\011/* type */\012\000"
	.align	2
.LC49:
	.ascii	"NULL\000"
	.align	2
.LC50:
	.ascii	"\011&%s,\011/* buttons */\012\000"
	.align	2
.LC51:
	.ascii	"\011SCREEN_FONT,\011/* font */\012\000"
	.align	2
.LC52:
	.ascii	"\011&menu_cursor,\011/* cursor */\012\000"
	.align	2
.LC53:
	.ascii	"\011seebg_white,\011/* seebg */\012\000"
	.align	2
.LC54:
	.ascii	"\011NULL,\011\011\011/* data */\012\000"
	.align	2
.LC55:
	.ascii	"\011NULL,\011\011\011/* domenu */\012\000"
	.align	2
.LC56:
	.ascii	"\011(MBPEN|MBRIGHT|KEYHIT),\011/* ioflags */\012\000"
	.align	2
.LC57:
	.ascii	"\0110,\011\011\011/* flags */\012\000"
	.align	2
.LC58:
	.ascii	"\011NULL,\011\011\011/* procmouse */\012\000"
	.align	2
.LC59:
	.ascii	"\011NULL,\011\011\011/* on_showhide */\012\000"
	.align	2
.LC60:
	.ascii	"\011NULL,\011\011\011/* cleanup */\012\000"
	.text
	.align	2
	.global	write_menuhdr
	.syntax unified
	.arm
	.fpu softvfp
	.type	write_menuhdr, %function
write_menuhdr:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-8]
	ldr	r3, .L123
	ldr	r0, [r3]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #44]
	mov	r2, r3
	ldr	r1, .L123+4
	bl	fprintf
	ldr	r3, .L123
	ldr	r0, [r3]
	ldr	r3, [fp, #-8]
	ldrh	r3, [r3, #12]
	mov	r1, r3
	ldr	r3, [fp, #-8]
	ldrh	r3, [r3, #14]
	mov	ip, r3
	ldr	r3, [fp, #-8]
	ldrsh	r3, [r3, #8]
	mov	r2, r3
	ldr	r3, [fp, #-8]
	ldrsh	r3, [r3, #10]
	str	r3, [sp, #4]
	str	r2, [sp]
	mov	r3, ip
	mov	r2, r1
	ldr	r1, .L123+8
	bl	fprintf
	ldr	r3, .L123
	ldr	r3, [r3]
	mov	r2, #26
	mov	r1, #1
	ldr	r0, .L123+12
	bl	fwrite
	ldr	r3, .L123
	ldr	r3, [r3]
	mov	r2, #24
	mov	r1, #1
	ldr	r0, .L123+16
	bl	fwrite
	ldr	r3, .L123
	ldr	r0, [r3]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	beq	.L121
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	ldr	r3, [r3, #44]
	b	.L122
.L121:
	ldr	r3, .L123+20
.L122:
	mov	r2, r3
	ldr	r1, .L123+24
	bl	fprintf
	ldr	r3, .L123
	ldr	r3, [r3]
	mov	r2, #25
	mov	r1, #1
	ldr	r0, .L123+28
	bl	fwrite
	ldr	r3, .L123
	ldr	r3, [r3]
	mov	r2, #28
	mov	r1, #1
	ldr	r0, .L123+32
	bl	fwrite
	ldr	r3, .L123
	ldr	r3, [r3]
	mov	r2, #26
	mov	r1, #1
	ldr	r0, .L123+36
	bl	fwrite
	ldr	r3, .L123
	ldr	r3, [r3]
	mov	r2, #20
	mov	r1, #1
	ldr	r0, .L123+40
	bl	fwrite
	ldr	r3, .L123
	ldr	r3, [r3]
	mov	r2, #22
	mov	r1, #1
	ldr	r0, .L123+44
	bl	fwrite
	ldr	r3, .L123
	ldr	r3, [r3]
	mov	r2, #39
	mov	r1, #1
	ldr	r0, .L123+48
	bl	fwrite
	ldr	r3, .L123
	ldr	r3, [r3]
	mov	r2, #18
	mov	r1, #1
	ldr	r0, .L123+52
	bl	fwrite
	ldr	r3, .L123
	ldr	r3, [r3]
	mov	r2, #25
	mov	r1, #1
	ldr	r0, .L123+56
	bl	fwrite
	ldr	r3, .L123
	ldr	r3, [r3]
	mov	r2, #27
	mov	r1, #1
	ldr	r0, .L123+60
	bl	fwrite
	ldr	r3, .L123
	ldr	r3, [r3]
	mov	r2, #23
	mov	r1, #1
	ldr	r0, .L123+64
	bl	fwrite
	ldr	r3, .L123
	ldr	r3, [r3]
	mov	r2, #3
	mov	r1, #1
	ldr	r0, .L123+68
	bl	fwrite
	nop
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L124:
	.align	2
.L123:
	.word	out
	.word	.LC45
	.word	.LC46
	.word	.LC47
	.word	.LC48
	.word	.LC49
	.word	.LC50
	.word	.LC51
	.word	.LC52
	.word	.LC53
	.word	.LC54
	.word	.LC55
	.word	.LC56
	.word	.LC57
	.word	.LC58
	.word	.LC59
	.word	.LC60
	.word	.LC44
	.size	write_menuhdr, .-write_menuhdr
	.align	2
	.global	write_flicm
	.syntax unified
	.arm
	.fpu softvfp
	.type	write_flicm, %function
write_flicm:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L126
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	mov	r1, #0
	mov	r0, r3
	bl	write_tree
	ldr	r3, .L126
	ldr	r3, [r3]
	mov	r0, r3
	bl	write_menuhdr
	nop
	mov	r0, r3
	pop	{fp, pc}
.L127:
	.align	2
.L126:
	.word	root
	.size	write_flicm, .-write_flicm
	.section	.rodata
	.align	2
.LC61:
	.ascii	"&%s,\012\000"
	.text
	.align	2
	.global	rwrite_blist
	.syntax unified
	.arm
	.fpu softvfp
	.type	rwrite_blist, %function
rwrite_blist:
	@ 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	.L131
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mov	r0, r3
	bl	rwrite_blist
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	rwrite_blist
	ldr	r3, .L132
	ldr	r0, [r3]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #44]
	mov	r2, r3
	ldr	r1, .L132+4
	bl	fprintf
	b	.L130
.L131:
	nop
.L130:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L133:
	.align	2
.L132:
	.word	out
	.word	.LC61
	.size	rwrite_blist, .-rwrite_blist
	.section	.rodata
	.align	2
.LC62:
	.ascii	"\012static Button *%s_buttons[] = {\012\000"
	.align	2
.LC63:
	.ascii	"};\012\012\000"
	.align	2
.LC64:
	.ascii	"void scale_%s_menu(Rscale *scale)\012\000"
	.align	2
.LC65:
	.ascii	"{\012\000"
	.align	2
.LC66:
	.ascii	"scale_menu(&%s,%s_buttons,Array_els(%s_buttons),sca"
	.ascii	"le);\012\000"
	.align	2
.LC67:
	.ascii	"}\012\000"
	.text
	.align	2
	.global	write_button_list
	.syntax unified
	.arm
	.fpu softvfp
	.type	write_button_list, %function
write_button_list:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r3, .L136
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L135
	ldr	r3, .L136
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	beq	.L135
	ldr	r3, .L136+4
	ldr	r3, [r3]
	ldr	r2, .L136+8
	ldr	r2, [r2]
	ldr	r1, .L136+12
	mov	r0, r3
	bl	fprintf
	ldr	r3, .L136
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	rwrite_blist
	ldr	r3, .L136+4
	ldr	r3, [r3]
	mov	r2, #4
	mov	r1, #1
	ldr	r0, .L136+16
	bl	fwrite
	ldr	r3, .L136+4
	ldr	r3, [r3]
	ldr	r2, .L136+8
	ldr	r2, [r2]
	ldr	r1, .L136+20
	mov	r0, r3
	bl	fprintf
	ldr	r3, .L136+4
	ldr	r3, [r3]
	mov	r2, #2
	mov	r1, #1
	ldr	r0, .L136+24
	bl	fwrite
	ldr	r3, .L136+4
	ldr	r0, [r3]
	ldr	r3, .L136
	ldr	r3, [r3]
	ldr	r2, [r3, #44]
	ldr	r3, .L136+8
	ldr	r1, [r3]
	ldr	r3, .L136+8
	ldr	r3, [r3]
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, .L136+28
	bl	fprintf
	ldr	r3, .L136+4
	ldr	r3, [r3]
	mov	r2, #2
	mov	r1, #1
	ldr	r0, .L136+32
	bl	fwrite
.L135:
	nop
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L137:
	.align	2
.L136:
	.word	root
	.word	out
	.word	rootname
	.word	.LC62
	.word	.LC63
	.word	.LC64
	.word	.LC65
	.word	.LC66
	.word	.LC67
	.size	write_button_list, .-write_button_list
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
