	.file	"234517053.c"
	.intel_syntax noprefix
	.text
	.globl	to_upper
	.type	to_upper, @function
to_upper:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 1
	mov	esi, 1
	mov	rdi, rax
	call	calloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	DWORD PTR -20[rbp], 0
	jmp	.L2
.L3:
	mov	edx, DWORD PTR -20[rbp]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edi, eax
	call	toupper@PLT
	mov	edx, eax
	mov	ecx, DWORD PTR -20[rbp]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rcx
	mov	BYTE PTR [rax], dl
	add	DWORD PTR -20[rbp], 1
.L2:
	mov	eax, DWORD PTR -20[rbp]
	cmp	QWORD PTR -16[rbp], rax
	ja	.L3
	mov	edx, DWORD PTR -20[rbp]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	to_upper, .-to_upper
	.globl	get_filename
	.type	get_filename, @function
get_filename:
.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	DWORD PTR -36[rbp], 0
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 1
	mov	esi, 1
	mov	rdi, rax
	call	calloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -56[rbp]
	mov	esi, 47
	mov	rdi, rax
	call	strrchr@PLT
	mov	QWORD PTR -32[rbp], rax
	cmp	QWORD PTR -32[rbp], 0
	jne	.L6
	mov	rax, QWORD PTR -56[rbp]
	mov	esi, 92
	mov	rdi, rax
	call	strrchr@PLT
	mov	QWORD PTR -32[rbp], rax
.L6:
	cmp	QWORD PTR -32[rbp], 0
	je	.L7
	add	QWORD PTR -32[rbp], 1
	jmp	.L8
.L7:
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR -32[rbp], rax
.L8:
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR -24[rbp], rax
	jmp	.L9
.L10:
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -8[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR [rdx], al
	add	DWORD PTR -36[rbp], 1
	add	QWORD PTR -24[rbp], 1
.L9:
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L10
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	get_filename, .-get_filename
	.globl	clean_name
	.type	clean_name, @function
clean_name:
.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, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 1
	mov	esi, 1
	mov	rdi, rax
	call	calloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	DWORD PTR -20[rbp], 0
	jmp	.L13
.L16:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	ecx, DWORD PTR -20[rbp]
	mov	rax, QWORD PTR -40[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, 8
	test	eax, eax
	jne	.L14
	mov	edx, DWORD PTR -20[rbp]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 95
	jmp	.L15
.L14:
	mov	edx, DWORD PTR -20[rbp]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	ecx, DWORD PTR -20[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	add	rdx, rcx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR [rdx], al
.L15:
	add	DWORD PTR -20[rbp], 1
.L13:
	mov	eax, DWORD PTR -20[rbp]
	cmp	QWORD PTR -16[rbp], rax
	ja	.L16
	mov	edx, DWORD PTR -20[rbp]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	clean_name, .-clean_name
	.section	.rodata
	.align 8
.LC0:
	.string	"Usage:\n\n%s <input file> <output file>\n"
.LC1:
	.string	"rb"
	.align 8
.LC2:
	.string	"Failed to open input file: %s\n"
.LC3:
	.string	"wb"
.LC4:
	.string	"#ifndef %s_H\n"
.LC5:
	.string	"#define %s_H\n\n"
	.align 8
.LC6:
	.string	"static const unsigned char %s_data[] = {\n"
.LC7:
	.string	"0x%.2x, "
.LC8:
	.string	"};\n\n"
.LC9:
	.string	"#include \"wx/mstream.h\"\n\n"
.LC10:
	.string	"static wxImage *%s_img()\n"
.LC11:
	.string	"{\n"
	.align 8
.LC12:
	.string	"\tif (!wxImage::FindHandler(wxT(\"PNG file\")))\n"
	.align 8
.LC13:
	.string	"\t\twxImage::AddHandler(new wxPNGHandler());\n"
	.align 8
.LC14:
	.string	"\tstatic wxImage *img_%s = new wxImage();\n"
	.align 8
.LC15:
	.string	"\tif (!img_%s || !img_%s->IsOk())\n"
.LC16:
	.string	"\t{\n"
	.align 8
.LC17:
	.string	"\t\twxMemoryInputStream img_%sIS(%s_data, sizeof(%s_data));\n"
	.align 8
.LC18:
	.string	"\t\timg_%s->LoadFile(img_%sIS, wxBITMAP_TYPE_PNG);\n"
.LC19:
	.string	"\t}\n"
.LC20:
	.string	"\treturn img_%s;\n"
.LC21:
	.string	"}\n"
.LC22:
	.string	"#define %s_img %s_img()\n\n"
.LC23:
	.string	"static wxBitmap *%s_bmp()\n"
.LC24:
	.string	"\tstatic wxBitmap *bmp_%s;\n"
	.align 8
.LC25:
	.string	"\tif (!bmp_%s || !bmp_%s->IsOk())\n"
	.align 8
.LC26:
	.string	"\t\tbmp_%s = new wxBitmap(*%s_img);\n"
.LC27:
	.string	"\treturn bmp_%s;\n"
.LC28:
	.string	"#define %s_bmp %s_bmp()\n\n"
.LC29:
	.string	"static wxIcon *%s_ico()\n"
.LC30:
	.string	"\tstatic wxIcon *ico_%s;\n"
	.align 8
.LC31:
	.string	"\tif (!ico_%s || !ico_%s->IsOk())\n"
.LC32:
	.string	"\t\tico_%s = new wxIcon();\n"
	.align 8
.LC33:
	.string	"\t\tico_%s->CopyFromBitmap(*%s_bmp);\n"
.LC34:
	.string	"\treturn ico_%s;\n"
.LC35:
	.string	"#define %s_ico %s_ico()\n\n"
.LC36:
	.string	"#endif // %s_H\n"
	.text
	.globl	main
	.type	main, @function
main:
.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, 64
	mov	DWORD PTR -52[rbp], edi
	mov	QWORD PTR -64[rbp], rsi
	cmp	DWORD PTR -52[rbp], 3
	je	.L19
	mov	rax, QWORD PTR -64[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L19:
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -32[rbp], rax
	cmp	QWORD PTR -32[rbp], 0
	jne	.L20
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 8
	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	edi, 1
	call	exit@PLT
.L20:
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -24[rbp], rax
	cmp	QWORD PTR -24[rbp], 0
	jne	.L21
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 8
	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	edi, 1
	call	exit@PLT
.L21:
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	get_filename
	mov	rdi, rax
	call	clean_name
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	to_upper
	mov	QWORD PTR -8[rbp], rax
	mov	rdx, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rdx, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	DWORD PTR -40[rbp], 1
	jmp	.L22
.L24:
	cmp	DWORD PTR -40[rbp], 47
	jle	.L23
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	mov	edi, 10
	call	fputc@PLT
	mov	DWORD PTR -40[rbp], 1
.L23:
	mov	edx, DWORD PTR -36[rbp]
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	DWORD PTR -40[rbp], 6
.L22:
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	fgetc@PLT
	mov	DWORD PTR -36[rbp], eax
	cmp	DWORD PTR -36[rbp], -1
	jne	.L24
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	mov	edi, 10
	call	fputc@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rcx, rax
	mov	edx, 4
	mov	esi, 1
	lea	rdi, .LC8[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rcx, rax
	mov	edx, 25
	mov	esi, 1
	lea	rdi, .LC9[rip]
	call	fwrite@PLT
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rcx, rax
	mov	edx, 2
	mov	esi, 1
	lea	rdi, .LC11[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rcx, rax
	mov	edx, 45
	mov	esi, 1
	lea	rdi, .LC12[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rcx, rax
	mov	edx, 43
	mov	esi, 1
	lea	rdi, .LC13[rip]
	call	fwrite@PLT
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC14[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rcx, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rcx, rax
	mov	edx, 3
	mov	esi, 1
	lea	rdi, .LC16[rip]
	call	fwrite@PLT
	mov	rsi, QWORD PTR -16[rbp]
	mov	rcx, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	r8, rsi
	lea	rsi, .LC17[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rcx, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC18[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rcx, rax
	mov	edx, 3
	mov	esi, 1
	lea	rdi, .LC19[rip]
	call	fwrite@PLT
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC20[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rcx, rax
	mov	edx, 2
	mov	esi, 1
	lea	rdi, .LC21[rip]
	call	fwrite@PLT
	mov	rcx, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC22[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC23[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rcx, rax
	mov	edx, 2
	mov	esi, 1
	lea	rdi, .LC11[rip]
	call	fwrite@PLT
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC24[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rcx, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC25[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rcx, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC26[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC27[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rcx, rax
	mov	edx, 2
	mov	esi, 1
	lea	rdi, .LC21[rip]
	call	fwrite@PLT
	mov	rcx, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC28[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC29[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rcx, rax
	mov	edx, 2
	mov	esi, 1
	lea	rdi, .LC11[rip]
	call	fwrite@PLT
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC30[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rcx, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC31[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rcx, rax
	mov	edx, 3
	mov	esi, 1
	lea	rdi, .LC16[rip]
	call	fwrite@PLT
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC32[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rcx, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC33[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rcx, rax
	mov	edx, 3
	mov	esi, 1
	lea	rdi, .LC19[rip]
	call	fwrite@PLT
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC34[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rcx, rax
	mov	edx, 2
	mov	esi, 1
	lea	rdi, .LC21[rip]
	call	fwrite@PLT
	mov	rcx, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC35[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rdx, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC36[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE9:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"234517053.c"
	.text
	.align	2
	.global	to_upper
	.syntax unified
	.arm
	.fpu softvfp
	.type	to_upper, %function
to_upper:
	@ 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, #-24]
	ldr	r0, [fp, #-24]
	bl	strlen
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	mov	r1, #1
	mov	r0, r3
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L2
.L3:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	toupper
	mov	r1, r0
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	and	r2, r1, #255
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L2:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	bcc	.L3
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	to_upper, .-to_upper
	.align	2
	.global	get_filename
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_filename, %function
get_filename:
	@ 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]
	mov	r3, #0
	str	r3, [fp, #-16]
	ldr	r0, [fp, #-32]
	bl	strlen
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	mov	r1, #1
	mov	r0, r3
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-8]
	mov	r1, #47
	ldr	r0, [fp, #-32]
	bl	strrchr
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L6
	mov	r1, #92
	ldr	r0, [fp, #-32]
	bl	strrchr
	str	r0, [fp, #-24]
.L6:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L7
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
	b	.L8
.L7:
	ldr	r3, [fp, #-32]
	str	r3, [fp, #-24]
.L8:
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-20]
	b	.L9
.L10:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	ldr	r2, [fp, #-20]
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L9:
	ldr	r3, [fp, #-20]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L10
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	get_filename, .-get_filename
	.align	2
	.global	clean_name
	.syntax unified
	.arm
	.fpu softvfp
	.type	clean_name, %function
clean_name:
	@ 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, #-24]
	ldr	r0, [fp, #-24]
	bl	strlen
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	mov	r1, #1
	mov	r0, r3
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L13
.L16:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r1, [fp, #-24]
	ldr	r3, [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, #8
	cmp	r3, #0
	bne	.L14
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	mov	r2, #95
	strb	r2, [r3]
	b	.L15
.L14:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-16]
	add	r2, r2, r3
	ldr	r1, [fp, #-8]
	ldr	r3, [fp, #-16]
	add	r3, r1, r3
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
.L15:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L13:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	bcc	.L16
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	clean_name, .-clean_name
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Usage:\012\012%s <input file> <output file>\012\000"
	.align	2
.LC1:
	.ascii	"rb\000"
	.align	2
.LC2:
	.ascii	"Failed to open input file: %s\012\000"
	.align	2
.LC3:
	.ascii	"wb\000"
	.align	2
.LC4:
	.ascii	"#ifndef %s_H\012\000"
	.align	2
.LC5:
	.ascii	"#define %s_H\012\012\000"
	.align	2
.LC6:
	.ascii	"static const unsigned char %s_data[] = {\012\000"
	.align	2
.LC7:
	.ascii	"0x%.2x, \000"
	.align	2
.LC8:
	.ascii	"};\012\012\000"
	.align	2
.LC9:
	.ascii	"#include \"wx/mstream.h\"\012\012\000"
	.align	2
.LC10:
	.ascii	"static wxImage *%s_img()\012\000"
	.align	2
.LC11:
	.ascii	"{\012\000"
	.align	2
.LC12:
	.ascii	"\011if (!wxImage::FindHandler(wxT(\"PNG file\")))\012"
	.ascii	"\000"
	.align	2
.LC13:
	.ascii	"\011\011wxImage::AddHandler(new wxPNGHandler());\012"
	.ascii	"\000"
	.align	2
.LC14:
	.ascii	"\011static wxImage *img_%s = new wxImage();\012\000"
	.align	2
.LC15:
	.ascii	"\011if (!img_%s || !img_%s->IsOk())\012\000"
	.align	2
.LC16:
	.ascii	"\011{\012\000"
	.align	2
.LC17:
	.ascii	"\011\011wxMemoryInputStream img_%sIS(%s_data, sizeo"
	.ascii	"f(%s_data));\012\000"
	.align	2
.LC18:
	.ascii	"\011\011img_%s->LoadFile(img_%sIS, wxBITMAP_TYPE_PN"
	.ascii	"G);\012\000"
	.align	2
.LC19:
	.ascii	"\011}\012\000"
	.align	2
.LC20:
	.ascii	"\011return img_%s;\012\000"
	.align	2
.LC21:
	.ascii	"}\012\000"
	.align	2
.LC22:
	.ascii	"#define %s_img %s_img()\012\012\000"
	.align	2
.LC23:
	.ascii	"static wxBitmap *%s_bmp()\012\000"
	.align	2
.LC24:
	.ascii	"\011static wxBitmap *bmp_%s;\012\000"
	.align	2
.LC25:
	.ascii	"\011if (!bmp_%s || !bmp_%s->IsOk())\012\000"
	.align	2
.LC26:
	.ascii	"\011\011bmp_%s = new wxBitmap(*%s_img);\012\000"
	.align	2
.LC27:
	.ascii	"\011return bmp_%s;\012\000"
	.align	2
.LC28:
	.ascii	"#define %s_bmp %s_bmp()\012\012\000"
	.align	2
.LC29:
	.ascii	"static wxIcon *%s_ico()\012\000"
	.align	2
.LC30:
	.ascii	"\011static wxIcon *ico_%s;\012\000"
	.align	2
.LC31:
	.ascii	"\011if (!ico_%s || !ico_%s->IsOk())\012\000"
	.align	2
.LC32:
	.ascii	"\011\011ico_%s = new wxIcon();\012\000"
	.align	2
.LC33:
	.ascii	"\011\011ico_%s->CopyFromBitmap(*%s_bmp);\012\000"
	.align	2
.LC34:
	.ascii	"\011return ico_%s;\012\000"
	.align	2
.LC35:
	.ascii	"#define %s_ico %s_ico()\012\012\000"
	.align	2
.LC36:
	.ascii	"#endif // %s_H\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	ldr	r3, [fp, #-32]
	cmp	r3, #3
	beq	.L19
	ldr	r3, .L25
	ldr	r0, [r3]
	ldr	r3, [fp, #-36]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L25+4
	bl	fprintf
	mov	r0, #1
	bl	exit
.L19:
	ldr	r3, [fp, #-36]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L25+8
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L20
	ldr	r3, .L25
	ldr	r0, [r3]
	ldr	r3, [fp, #-36]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L25+12
	bl	fprintf
	mov	r0, #1
	bl	exit
.L20:
	ldr	r3, [fp, #-36]
	add	r3, r3, #8
	ldr	r3, [r3]
	ldr	r1, .L25+16
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L21
	ldr	r3, .L25
	ldr	r0, [r3]
	ldr	r3, [fp, #-36]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L25+12
	bl	fprintf
	mov	r0, #1
	bl	exit
.L21:
	ldr	r3, [fp, #-36]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	get_filename
	mov	r3, r0
	mov	r0, r3
	bl	clean_name
	str	r0, [fp, #-16]
	ldr	r0, [fp, #-16]
	bl	to_upper
	str	r0, [fp, #-12]
	ldr	r2, [fp, #-12]
	ldr	r1, .L25+20
	ldr	r0, [fp, #-20]
	bl	fprintf
	ldr	r2, [fp, #-12]
	ldr	r1, .L25+24
	ldr	r0, [fp, #-20]
	bl	fprintf
	ldr	r2, [fp, #-16]
	ldr	r1, .L25+28
	ldr	r0, [fp, #-20]
	bl	fprintf
	mov	r3, #1
	str	r3, [fp, #-28]
	b	.L22
.L24:
	ldr	r3, [fp, #-28]
	cmp	r3, #47
	ble	.L23
	ldr	r1, [fp, #-20]
	mov	r0, #10
	bl	fputc
	mov	r3, #1
	str	r3, [fp, #-28]
.L23:
	ldr	r2, [fp, #-8]
	ldr	r1, .L25+32
	ldr	r0, [fp, #-20]
	bl	fprintf
	ldr	r3, [fp, #-28]
	add	r3, r3, #6
	str	r3, [fp, #-28]
.L22:
	ldr	r0, [fp, #-24]
	bl	fgetc
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	bne	.L24
	ldr	r1, [fp, #-20]
	mov	r0, #10
	bl	fputc
	ldr	r3, [fp, #-20]
	mov	r2, #4
	mov	r1, #1
	ldr	r0, .L25+36
	bl	fwrite
	ldr	r3, [fp, #-20]
	mov	r2, #25
	mov	r1, #1
	ldr	r0, .L25+40
	bl	fwrite
	ldr	r2, [fp, #-16]
	ldr	r1, .L25+44
	ldr	r0, [fp, #-20]
	bl	fprintf
	ldr	r3, [fp, #-20]
	mov	r2, #2
	mov	r1, #1
	ldr	r0, .L25+48
	bl	fwrite
	ldr	r3, [fp, #-20]
	mov	r2, #45
	mov	r1, #1
	ldr	r0, .L25+52
	bl	fwrite
	ldr	r3, [fp, #-20]
	mov	r2, #43
	mov	r1, #1
	ldr	r0, .L25+56
	bl	fwrite
	ldr	r2, [fp, #-16]
	ldr	r1, .L25+60
	ldr	r0, [fp, #-20]
	bl	fprintf
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-16]
	ldr	r1, .L25+64
	ldr	r0, [fp, #-20]
	bl	fprintf
	ldr	r3, [fp, #-20]
	mov	r2, #3
	mov	r1, #1
	ldr	r0, .L25+68
	bl	fwrite
	ldr	r3, [fp, #-16]
	str	r3, [sp]
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-16]
	ldr	r1, .L25+72
	ldr	r0, [fp, #-20]
	bl	fprintf
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-16]
	ldr	r1, .L25+76
	ldr	r0, [fp, #-20]
	bl	fprintf
	ldr	r3, [fp, #-20]
	mov	r2, #3
	mov	r1, #1
	ldr	r0, .L25+80
	bl	fwrite
	ldr	r2, [fp, #-16]
	ldr	r1, .L25+84
	ldr	r0, [fp, #-20]
	bl	fprintf
	ldr	r3, [fp, #-20]
	mov	r2, #2
	mov	r1, #1
	ldr	r0, .L25+88
	bl	fwrite
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-16]
	ldr	r1, .L25+92
	ldr	r0, [fp, #-20]
	bl	fprintf
	ldr	r2, [fp, #-16]
	ldr	r1, .L25+96
	ldr	r0, [fp, #-20]
	bl	fprintf
	ldr	r3, [fp, #-20]
	mov	r2, #2
	mov	r1, #1
	ldr	r0, .L25+48
	bl	fwrite
	ldr	r2, [fp, #-16]
	ldr	r1, .L25+100
	ldr	r0, [fp, #-20]
	bl	fprintf
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-16]
	ldr	r1, .L25+104
	ldr	r0, [fp, #-20]
	bl	fprintf
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-16]
	ldr	r1, .L25+108
	ldr	r0, [fp, #-20]
	bl	fprintf
	ldr	r2, [fp, #-16]
	ldr	r1, .L25+112
	ldr	r0, [fp, #-20]
	bl	fprintf
	ldr	r3, [fp, #-20]
	mov	r2, #2
	mov	r1, #1
	ldr	r0, .L25+88
	bl	fwrite
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-16]
	ldr	r1, .L25+116
	ldr	r0, [fp, #-20]
	bl	fprintf
	ldr	r2, [fp, #-16]
	ldr	r1, .L25+120
	ldr	r0, [fp, #-20]
	bl	fprintf
	ldr	r3, [fp, #-20]
	mov	r2, #2
	mov	r1, #1
	ldr	r0, .L25+48
	bl	fwrite
	ldr	r2, [fp, #-16]
	ldr	r1, .L25+124
	ldr	r0, [fp, #-20]
	bl	fprintf
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-16]
	ldr	r1, .L25+128
	ldr	r0, [fp, #-20]
	bl	fprintf
	ldr	r3, [fp, #-20]
	mov	r2, #3
	mov	r1, #1
	ldr	r0, .L25+68
	bl	fwrite
	ldr	r2, [fp, #-16]
	ldr	r1, .L25+132
	ldr	r0, [fp, #-20]
	bl	fprintf
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-16]
	ldr	r1, .L25+136
	ldr	r0, [fp, #-20]
	bl	fprintf
	ldr	r3, [fp, #-20]
	mov	r2, #3
	mov	r1, #1
	ldr	r0, .L25+80
	bl	fwrite
	ldr	r2, [fp, #-16]
	ldr	r1, .L25+140
	ldr	r0, [fp, #-20]
	bl	fprintf
	ldr	r3, [fp, #-20]
	mov	r2, #2
	mov	r1, #1
	ldr	r0, .L25+88
	bl	fwrite
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-16]
	ldr	r1, .L25+144
	ldr	r0, [fp, #-20]
	bl	fprintf
	ldr	r2, [fp, #-12]
	ldr	r1, .L25+148
	ldr	r0, [fp, #-20]
	bl	fprintf
	ldr	r0, [fp, #-24]
	bl	fclose
	ldr	r0, [fp, #-20]
	bl	fclose
	mov	r0, #0
	bl	exit
.L26:
	.align	2
.L25:
	.word	stderr
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.word	.LC27
	.word	.LC28
	.word	.LC29
	.word	.LC30
	.word	.LC31
	.word	.LC32
	.word	.LC33
	.word	.LC34
	.word	.LC35
	.word	.LC36
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
