	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function remap_prg_window
_remap_prg_window:                      ## @remap_prg_window
	.cfi_startproc
## %bb.0:
                                        ## kill: def $esi killed $esi def $rsi
	testb	$2, %dil
	jne	LBB0_1
## %bb.2:
	movl	$131072, %edi                   ## imm = 0x20000
	movl	$262143, %esi                   ## imm = 0x3FFFF
	jmp	_m68k_map_unmap                 ## TAILCALL
LBB0_1:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_Pico_mcd@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	shrl	$6, %esi
	andl	$3, %esi
	movq	(%rax,%rsi,8), %rdx
	movl	$131072, %edi                   ## imm = 0x20000
	movl	$262143, %esi                   ## imm = 0x3FFFF
	xorl	%ecx, %ecx
	popq	%rbp
	jmp	_cpu68k_map_all_ram             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_Pico_mcd,8,3                   ## @Pico_mcd
	.no_dead_strip	_remap_prg_window
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function remap_prg_window
_remap_prg_window:                      ; @remap_prg_window
	.cfi_startproc
; %bb.0:
	tbnz	w0, #1, LBB0_2
; %bb.1:
	mov	w0, #131072
	mov	w1, #262143
	b	_m68k_map_unmap
LBB0_2:
Lloh0:
	adrp	x8, _Pico_mcd@GOTPAGE
Lloh1:
	ldr	x8, [x8, _Pico_mcd@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x8, [x8]
	ubfx	w9, w1, #6, #2
	ldr	x2, [x8, w9, uxtw #3]
	mov	w0, #131072
	mov	w1, #262143
	mov	w3, #0
	b	_cpu68k_map_all_ram
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_Pico_mcd,8,3                   ; @Pico_mcd
	.no_dead_strip	_remap_prg_window
.subsections_via_symbols
