	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function PrepareForROM
_PrepareForROM:                         ## @PrepareForROM
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	$0, -56(%rbp)
	movq	_PicoAHW@GOTPCREL(%rip), %rax
	movq	_PAHW_PICO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r14d
	andl	(%rax), %r14d
	movq	_PI_ROM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_MF_ENABLED@GOTPCREL(%rip), %rbx
	cmoveq	_MF_GRAYED@GOTPCREL(%rip), %rbx
	movq	_SW_SHOWNA@GOTPCREL(%rip), %r13
	cmoveq	_SW_HIDE@GOTPCREL(%rip), %r13
	movq	_MF_CHECKED@GOTPCREL(%rip), %r12
	cmoveq	_MF_UNCHECKED@GOTPCREL(%rip), %r12
	leaq	-56(%rbp), %rsi
	callq	_PicoGetInternal
	movq	_mmain@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_MF_BYPOSITION@GOTPCREL(%rip), %rax
	movl	(%rbx), %edx
	orl	(%rax), %edx
	movl	$2, %esi
	callq	_EnableMenuItem
	movq	_PicoPadWnd@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r13), %esi
	callq	_ShowWindow
	movq	_PicoSwWnd@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movl	(%r13), %esi
	callq	_ShowWindow
	movq	_mpicohw@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movl	(%r12), %edx
	movl	$1210, %esi                     ## imm = 0x4BA
	callq	_CheckMenuItem
	movl	(%rbx), %edi
	movl	(%r12), %edx
	movl	$1211, %esi                     ## imm = 0x4BB
	callq	_CheckMenuItem
	movq	_FrameWnd@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	_WM_COMMAND@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_PicoPicohw@GOTPCREL(%rip), %r12
	movl	$1220, %edx                     ## imm = 0x4C4
	addq	8(%r12), %rdx
	xorl	%ecx, %ecx
	callq	_PostMessage
	movl	(%rbx), %edi
	callq	_DrawMenuBar
	movl	(%r15), %edi
	xorl	%esi, %esi
	movl	$1, %edx
	callq	_InvalidateRect
	movq	(%r12), %rax
	movabsq	$140737488388096, %rcx          ## imm = 0x800000008000
	movq	%rcx, (%rax)
	movq	_in_vk_add_pl12@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_rom_name@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	movl	$336, %esi                      ## imm = 0x150
	addq	-56(%rbp), %rsi
	movl	$32, %edx
	callq	_extract_rom_name
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	(%r15), %rdi
	movl	$304, %esi                      ## imm = 0x130
	addq	-56(%rbp), %rsi
	movl	$32, %edx
	callq	_extract_rom_name
LBB0_2:
	testl	%r14d, %r14d
	je	LBB0_23
## %bb.3:
	movq	%rsp, %r12
	movq	_MAX_PATH@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	leal	-32(%rbx), %edx
	xorl	%edi, %edi
	movq	%r14, %rsi
	callq	_GetModuleFileName
	movq	%r14, %rdi
	movl	$92, %esi
	callq	_strrchr
	leaq	1(%rax), %rbx
	testq	%rax, %rax
	cmoveq	%r14, %rbx
	movq	_ppad_bmp@GOTPCREL(%rip), %r13
	cmpq	$0, (%r13)
	jne	LBB0_5
## %bb.4:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcpy
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_png2hb
	movq	%rax, (%r13)
LBB0_5:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcpy
	movq	%r14, %rdi
	callq	_check_name_alias
	movq	_ppage_bmps@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.6:
	callq	_DeleteObject
LBB0_7:
	movq	(%r15), %rdx
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	xorl	%eax, %eax
	callq	_sprintf
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_png2hb
	movq	(%r13), %rcx
	movq	%rax, (%rcx)
	movq	(%r13), %rax
	movq	8(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.8:
	callq	_DeleteObject
LBB0_9:
	movq	(%r15), %rdx
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	movl	$1, %ecx
	xorl	%eax, %eax
	callq	_sprintf
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_png2hb
	movq	(%r13), %rcx
	movq	%rax, 8(%rcx)
	movq	16(%rcx), %rdi
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.10:
	callq	_DeleteObject
LBB0_11:
	movq	(%r15), %rdx
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	movl	$2, %ecx
	xorl	%eax, %eax
	callq	_sprintf
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_png2hb
	movq	(%r13), %rcx
	movq	%rax, 16(%rcx)
	movq	24(%rcx), %rdi
	testq	%rdi, %rdi
	je	LBB0_13
## %bb.12:
	callq	_DeleteObject
LBB0_13:
	movq	(%r15), %rdx
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	movl	$3, %ecx
	xorl	%eax, %eax
	callq	_sprintf
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_png2hb
	movq	(%r13), %rcx
	movq	%rax, 24(%rcx)
	movq	32(%rcx), %rdi
	testq	%rdi, %rdi
	je	LBB0_15
## %bb.14:
	callq	_DeleteObject
LBB0_15:
	movq	(%r15), %rdx
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	movl	$4, %ecx
	xorl	%eax, %eax
	callq	_sprintf
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_png2hb
	movq	(%r13), %rcx
	movq	%rax, 32(%rcx)
	movq	40(%rcx), %rdi
	testq	%rdi, %rdi
	je	LBB0_17
## %bb.16:
	callq	_DeleteObject
LBB0_17:
	movq	(%r15), %rdx
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	movl	$5, %ecx
	xorl	%eax, %eax
	callq	_sprintf
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_png2hb
	movq	(%r13), %rcx
	movq	%rax, 40(%rcx)
	movq	48(%rcx), %rdi
	testq	%rdi, %rdi
	je	LBB0_19
## %bb.18:
	callq	_DeleteObject
LBB0_19:
	movq	(%r15), %rdx
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	movl	$6, %ecx
	xorl	%eax, %eax
	callq	_sprintf
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_png2hb
	movq	(%r13), %rcx
	movq	%rax, 48(%rcx)
	testq	%rax, %rax
	jne	LBB0_22
## %bb.20:
	cmpq	$0, 40(%rcx)
	je	LBB0_22
## %bb.21:
	movq	(%r15), %rdx
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_sprintf
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_png2hb
	movq	(%r13), %rcx
	movq	%rax, 48(%rcx)
LBB0_22:
	movq	%r12, %rsp
LBB0_23:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_25
## %bb.24:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_25:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_PicoAHW,4,2                    ## @PicoAHW
	.comm	_PAHW_PICO,4,2                  ## @PAHW_PICO
	.comm	_PI_ROM,4,2                     ## @PI_ROM
	.comm	_mmain,4,2                      ## @mmain
	.comm	_MF_BYPOSITION,4,2              ## @MF_BYPOSITION
	.comm	_MF_ENABLED,4,2                 ## @MF_ENABLED
	.comm	_MF_GRAYED,4,2                  ## @MF_GRAYED
	.comm	_PicoPadWnd,4,2                 ## @PicoPadWnd
	.comm	_SW_SHOWNA,4,2                  ## @SW_SHOWNA
	.comm	_SW_HIDE,4,2                    ## @SW_HIDE
	.comm	_PicoSwWnd,4,2                  ## @PicoSwWnd
	.comm	_mpicohw,4,2                    ## @mpicohw
	.comm	_MF_CHECKED,4,2                 ## @MF_CHECKED
	.comm	_MF_UNCHECKED,4,2               ## @MF_UNCHECKED
	.comm	_FrameWnd,4,2                   ## @FrameWnd
	.comm	_WM_COMMAND,4,2                 ## @WM_COMMAND
	.comm	_PicoPicohw,16,3                ## @PicoPicohw
	.comm	_in_vk_add_pl12,8,3             ## @in_vk_add_pl12
	.comm	_rom_name,8,3                   ## @rom_name
	.comm	_MAX_PATH,4,2                   ## @MAX_PATH
	.comm	_ppad_bmp,8,3                   ## @ppad_bmp
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pico\\pad.png"

L_.str.1:                               ## @.str.1
	.asciz	"pico\\alias.txt"

	.comm	_ppage_bmps,8,3                 ## @ppage_bmps
L_.str.2:                               ## @.str.2
	.asciz	"pico\\%s_%i.png"

L_.str.3:                               ## @.str.3
	.asciz	"pico\\%s_5.png"

	.no_dead_strip	_PrepareForROM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function PrepareForROM
_PrepareForROM:                         ; @PrepareForROM
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	sub	sp, sp, #16
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	stur	xzr, [x29, #-64]
Lloh3:
	adrp	x8, _PicoAHW@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PicoAHW@GOTPAGEOFF]
Lloh5:
	ldr	w19, [x8]
Lloh6:
	adrp	x8, _PAHW_PICO@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PAHW_PICO@GOTPAGEOFF]
Lloh8:
	ldr	w20, [x8]
Lloh9:
	adrp	x8, _PI_ROM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PI_ROM@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	sub	x1, x29, #64
	bl	_PicoGetInternal
Lloh12:
	adrp	x8, _mmain@GOTPAGE
Lloh13:
	ldr	x8, [x8, _mmain@GOTPAGEOFF]
	ands	w19, w20, w19
Lloh14:
	ldr	w0, [x8]
Lloh15:
	adrp	x8, _MF_BYPOSITION@GOTPAGE
Lloh16:
	ldr	x8, [x8, _MF_BYPOSITION@GOTPAGEOFF]
Lloh17:
	adrp	x9, _MF_ENABLED@GOTPAGE
Lloh18:
	ldr	x9, [x9, _MF_ENABLED@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
Lloh20:
	adrp	x10, _MF_GRAYED@GOTPAGE
Lloh21:
	ldr	x10, [x10, _MF_GRAYED@GOTPAGEOFF]
	csel	x9, x10, x9, eq
	ldr	w9, [x9]
	orr	w2, w9, w8
Lloh22:
	adrp	x8, _SW_SHOWNA@GOTPAGE
Lloh23:
	ldr	x8, [x8, _SW_SHOWNA@GOTPAGEOFF]
Lloh24:
	adrp	x9, _SW_HIDE@GOTPAGE
Lloh25:
	ldr	x9, [x9, _SW_HIDE@GOTPAGEOFF]
	csel	x20, x9, x8, eq
Lloh26:
	adrp	x8, _MF_CHECKED@GOTPAGE
Lloh27:
	ldr	x8, [x8, _MF_CHECKED@GOTPAGEOFF]
Lloh28:
	adrp	x9, _MF_UNCHECKED@GOTPAGE
Lloh29:
	ldr	x9, [x9, _MF_UNCHECKED@GOTPAGEOFF]
	csel	x21, x9, x8, eq
	mov	w1, #2
	bl	_EnableMenuItem
Lloh30:
	adrp	x8, _PicoPadWnd@GOTPAGE
Lloh31:
	ldr	x8, [x8, _PicoPadWnd@GOTPAGEOFF]
Lloh32:
	ldr	w0, [x8]
	ldr	w1, [x20]
	bl	_ShowWindow
Lloh33:
	adrp	x22, _PicoSwWnd@GOTPAGE
Lloh34:
	ldr	x22, [x22, _PicoSwWnd@GOTPAGEOFF]
	ldr	w0, [x22]
	ldr	w1, [x20]
	bl	_ShowWindow
Lloh35:
	adrp	x20, _mpicohw@GOTPAGE
Lloh36:
	ldr	x20, [x20, _mpicohw@GOTPAGEOFF]
	ldr	w0, [x20]
	ldr	w2, [x21]
	mov	w1, #1210
	bl	_CheckMenuItem
	ldr	w0, [x20]
	ldr	w2, [x21]
	mov	w1, #1211
	bl	_CheckMenuItem
Lloh37:
	adrp	x20, _FrameWnd@GOTPAGE
Lloh38:
	ldr	x20, [x20, _FrameWnd@GOTPAGEOFF]
Lloh39:
	adrp	x8, _WM_COMMAND@GOTPAGE
Lloh40:
	ldr	x8, [x8, _WM_COMMAND@GOTPAGEOFF]
	ldr	w0, [x20]
Lloh41:
	ldr	w1, [x8]
Lloh42:
	adrp	x21, _PicoPicohw@GOTPAGE
Lloh43:
	ldr	x21, [x21, _PicoPicohw@GOTPAGEOFF]
	ldr	x8, [x21, #8]
	add	x2, x8, #1220
	mov	w3, #0
	bl	_PostMessage
	ldr	w0, [x20]
	bl	_DrawMenuBar
	ldr	w0, [x22]
	mov	x1, #0
	mov	w2, #1
	bl	_InvalidateRect
	ldr	x8, [x21]
	movi.2s	v0, #128, lsl #8
	str	d0, [x8]
Lloh44:
	adrp	x8, _in_vk_add_pl12@GOTPAGE
Lloh45:
	ldr	x8, [x8, _in_vk_add_pl12@GOTPAGEOFF]
Lloh46:
	str	xzr, [x8]
Lloh47:
	adrp	x21, _rom_name@GOTPAGE
Lloh48:
	ldr	x21, [x21, _rom_name@GOTPAGEOFF]
	ldr	x0, [x21]
	ldur	x8, [x29, #-64]
	add	x1, x8, #336
	mov	w2, #32
	bl	_extract_rom_name
	cbnz	w0, LBB0_2
; %bb.1:
	ldr	x0, [x21]
	ldur	x8, [x29, #-64]
	add	x1, x8, #304
	mov	w2, #32
	bl	_extract_rom_name
LBB0_2:
	cbz	w19, LBB0_23
; %bb.3:
	mov	x22, sp
Lloh49:
	adrp	x8, _MAX_PATH@GOTPAGE
Lloh50:
	ldr	x8, [x8, _MAX_PATH@GOTPAGEOFF]
Lloh51:
	ldr	w8, [x8]
	mov	x9, x8
Lloh52:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh53:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x8, #15
	and	x10, x10, #0x1fffffff0
	sub	x19, x9, x10
	mov	sp, x19
	sub	w2, w8, #32
	mov	x0, #0
	mov	x1, x19
	bl	_GetModuleFileName
	mov	x0, x19
	mov	w1, #92
	bl	_strrchr
	cmp	x0, #0
	csinc	x20, x19, x0, eq
Lloh54:
	adrp	x23, _ppad_bmp@GOTPAGE
Lloh55:
	ldr	x23, [x23, _ppad_bmp@GOTPAGEOFF]
	ldr	x8, [x23]
	cbnz	x8, LBB0_5
; %bb.4:
Lloh56:
	adrp	x1, l_.str@PAGE
Lloh57:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_strcpy
	mov	x0, x19
	mov	w1, #0
	bl	_png2hb
	str	x0, [x23]
LBB0_5:
Lloh58:
	adrp	x1, l_.str.1@PAGE
Lloh59:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_strcpy
	mov	x0, x19
	bl	_check_name_alias
Lloh60:
	adrp	x23, _ppage_bmps@GOTPAGE
Lloh61:
	ldr	x23, [x23, _ppage_bmps@GOTPAGEOFF]
	ldr	x8, [x23]
	ldr	x0, [x8]
	cbz	x0, LBB0_7
; %bb.6:
	bl	_DeleteObject
LBB0_7:
	ldr	x2, [x21]
	str	xzr, [sp, #-16]!
Lloh62:
	adrp	x1, l_.str.2@PAGE
Lloh63:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_sprintf
	add	sp, sp, #16
	mov	x0, x19
	mov	w1, #1
	bl	_png2hb
	ldr	x8, [x23]
	str	x0, [x8]
	ldr	x8, [x23]
	ldr	x0, [x8, #8]
	cbz	x0, LBB0_9
; %bb.8:
	bl	_DeleteObject
LBB0_9:
	ldr	x2, [x21]
	mov	w8, #1
	str	x8, [sp, #-16]!
Lloh64:
	adrp	x1, l_.str.2@PAGE
Lloh65:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_sprintf
	add	sp, sp, #16
	mov	x0, x19
	mov	w1, #1
	bl	_png2hb
	ldr	x8, [x23]
	str	x0, [x8, #8]
	ldr	x0, [x8, #16]
	cbz	x0, LBB0_11
; %bb.10:
	bl	_DeleteObject
LBB0_11:
	ldr	x2, [x21]
	mov	w8, #2
	str	x8, [sp, #-16]!
Lloh66:
	adrp	x1, l_.str.2@PAGE
Lloh67:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_sprintf
	add	sp, sp, #16
	mov	x0, x19
	mov	w1, #1
	bl	_png2hb
	ldr	x8, [x23]
	str	x0, [x8, #16]
	ldr	x0, [x8, #24]
	cbz	x0, LBB0_13
; %bb.12:
	bl	_DeleteObject
LBB0_13:
	ldr	x2, [x21]
	mov	w8, #3
	str	x8, [sp, #-16]!
Lloh68:
	adrp	x1, l_.str.2@PAGE
Lloh69:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_sprintf
	add	sp, sp, #16
	mov	x0, x19
	mov	w1, #1
	bl	_png2hb
	ldr	x8, [x23]
	str	x0, [x8, #24]
	ldr	x0, [x8, #32]
	cbz	x0, LBB0_15
; %bb.14:
	bl	_DeleteObject
LBB0_15:
	ldr	x2, [x21]
	mov	w8, #4
	str	x8, [sp, #-16]!
Lloh70:
	adrp	x1, l_.str.2@PAGE
Lloh71:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_sprintf
	add	sp, sp, #16
	mov	x0, x19
	mov	w1, #1
	bl	_png2hb
	ldr	x8, [x23]
	str	x0, [x8, #32]
	ldr	x0, [x8, #40]
	cbz	x0, LBB0_17
; %bb.16:
	bl	_DeleteObject
LBB0_17:
	ldr	x2, [x21]
	mov	w8, #5
	str	x8, [sp, #-16]!
Lloh72:
	adrp	x1, l_.str.2@PAGE
Lloh73:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_sprintf
	add	sp, sp, #16
	mov	x0, x19
	mov	w1, #1
	bl	_png2hb
	ldr	x8, [x23]
	str	x0, [x8, #40]
	ldr	x0, [x8, #48]
	cbz	x0, LBB0_19
; %bb.18:
	bl	_DeleteObject
LBB0_19:
	ldr	x2, [x21]
	mov	w8, #6
	str	x8, [sp, #-16]!
Lloh74:
	adrp	x1, l_.str.2@PAGE
Lloh75:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_sprintf
	add	sp, sp, #16
	mov	x0, x19
	mov	w1, #1
	bl	_png2hb
	ldr	x8, [x23]
	str	x0, [x8, #48]
	cbnz	x0, LBB0_22
; %bb.20:
	ldr	x8, [x8, #40]
	cbz	x8, LBB0_22
; %bb.21:
	ldr	x2, [x21]
Lloh76:
	adrp	x1, l_.str.3@PAGE
Lloh77:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_sprintf
	mov	x0, x19
	mov	w1, #1
	bl	_png2hb
	ldr	x8, [x23]
	str	x0, [x8, #48]
LBB0_22:
	mov	sp, x22
LBB0_23:
	ldur	x8, [x29, #-56]
Lloh78:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh79:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh80:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_25
; %bb.24:
	sub	sp, x29, #48
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_25:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh47, Lloh48
	.loh AdrpLdrGotStr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh19
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh54, Lloh55
	.loh AdrpLdrGot	Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpLdrGot	Lloh60, Lloh61
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpAdd	Lloh62, Lloh63
	.loh AdrpAdd	Lloh64, Lloh65
	.loh AdrpAdd	Lloh66, Lloh67
	.loh AdrpAdd	Lloh68, Lloh69
	.loh AdrpAdd	Lloh70, Lloh71
	.loh AdrpAdd	Lloh72, Lloh73
	.loh AdrpAdd	Lloh74, Lloh75
	.loh AdrpAdd	Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.cfi_endproc
                                        ; -- End function
	.comm	_PicoAHW,4,2                    ; @PicoAHW
	.comm	_PAHW_PICO,4,2                  ; @PAHW_PICO
	.comm	_PI_ROM,4,2                     ; @PI_ROM
	.comm	_mmain,4,2                      ; @mmain
	.comm	_MF_BYPOSITION,4,2              ; @MF_BYPOSITION
	.comm	_MF_ENABLED,4,2                 ; @MF_ENABLED
	.comm	_MF_GRAYED,4,2                  ; @MF_GRAYED
	.comm	_PicoPadWnd,4,2                 ; @PicoPadWnd
	.comm	_SW_SHOWNA,4,2                  ; @SW_SHOWNA
	.comm	_SW_HIDE,4,2                    ; @SW_HIDE
	.comm	_PicoSwWnd,4,2                  ; @PicoSwWnd
	.comm	_mpicohw,4,2                    ; @mpicohw
	.comm	_MF_CHECKED,4,2                 ; @MF_CHECKED
	.comm	_MF_UNCHECKED,4,2               ; @MF_UNCHECKED
	.comm	_FrameWnd,4,2                   ; @FrameWnd
	.comm	_WM_COMMAND,4,2                 ; @WM_COMMAND
	.comm	_PicoPicohw,16,3                ; @PicoPicohw
	.comm	_in_vk_add_pl12,8,3             ; @in_vk_add_pl12
	.comm	_rom_name,8,3                   ; @rom_name
	.comm	_MAX_PATH,4,2                   ; @MAX_PATH
	.comm	_ppad_bmp,8,3                   ; @ppad_bmp
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pico\\pad.png"

l_.str.1:                               ; @.str.1
	.asciz	"pico\\alias.txt"

	.comm	_ppage_bmps,8,3                 ; @ppage_bmps
l_.str.2:                               ; @.str.2
	.asciz	"pico\\%s_%i.png"

l_.str.3:                               ; @.str.3
	.asciz	"pico\\%s_5.png"

	.no_dead_strip	_PrepareForROM
.subsections_via_symbols
