	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function remap_word_ram
_remap_word_ram:                        ## @remap_word_ram
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r15d
	testb	$4, %r15b
	jne	LBB0_2
## %bb.1:
	movq	_Pico_mcd@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	8(%rax), %rbx
	movl	$2097152, %edi                  ## imm = 0x200000
	movl	$2359295, %esi                  ## imm = 0x23FFFF
	movq	%rbx, %rdx
	xorl	%ecx, %ecx
	callq	_cpu68k_map_all_ram
	movl	$524288, %edi                   ## imm = 0x80000
	movl	$786431, %esi                   ## imm = 0xBFFFF
	movq	%rbx, %rdx
	movl	$1, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_cpu68k_map_all_ram             ## TAILCALL
LBB0_2:
	movl	%r15d, %ebx
	andl	$1, %ebx
	shrl	$3, %r15d
	andl	$3, %r15d
	movq	_Pico_mcd@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	(%rax), %rax
	movq	(%rax,%rbx,8), %rdx
	movl	$2097152, %edi                  ## imm = 0x200000
	movl	$2228223, %esi                  ## imm = 0x21FFFF
	xorl	%ecx, %ecx
	callq	_cpu68k_map_all_ram
	movq	(%r14), %rax
	movq	(%rax), %rax
	movl	%ebx, %r14d
	xorl	$1, %r14d
	movq	(%rax,%r14,8), %rdx
	movl	$786432, %edi                   ## imm = 0xC0000
	movl	$983039, %esi                   ## imm = 0xEFFFF
	movl	$1, %ecx
	callq	_cpu68k_map_all_ram
	movq	_m68k_read8_map@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_m68k_cell_read8@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rbx,4), %ecx
	movl	$2228224, %esi                  ## imm = 0x220000
	movl	$2359295, %edx                  ## imm = 0x23FFFF
	movl	$1, %r8d
	callq	_cpu68k_map_set
	movq	_m68k_read16_map@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_m68k_cell_read16@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rbx,4), %ecx
	movl	$2228224, %esi                  ## imm = 0x220000
	movl	$2359295, %edx                  ## imm = 0x23FFFF
	movl	$1, %r8d
	callq	_cpu68k_map_set
	movq	_m68k_write8_map@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_m68k_cell_write8@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rbx,4), %ecx
	movl	$2228224, %esi                  ## imm = 0x220000
	movl	$2359295, %edx                  ## imm = 0x23FFFF
	movl	$1, %r8d
	callq	_cpu68k_map_set
	movq	_m68k_write16_map@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_m68k_cell_write16@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rbx,4), %ecx
	movl	$2228224, %esi                  ## imm = 0x220000
	movl	$2359295, %edx                  ## imm = 0x23FFFF
	movl	$1, %r8d
	callq	_cpu68k_map_set
	movq	_s68k_read8_map@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_s68k_dec_read8@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%r14,4), %ecx
	movl	$524288, %esi                   ## imm = 0x80000
	movl	$786431, %edx                   ## imm = 0xBFFFF
	movl	$1, %r8d
	callq	_cpu68k_map_set
	movq	_s68k_read16_map@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_s68k_dec_read16@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%r14,4), %ecx
	movl	$524288, %esi                   ## imm = 0x80000
	movl	$786431, %edx                   ## imm = 0xBFFFF
	movl	$1, %r8d
	callq	_cpu68k_map_set
	movq	_s68k_write8_map@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_s68k_dec_write8@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%r14,8), %rax
	movl	(%rax,%r15,4), %ecx
	movl	$524288, %esi                   ## imm = 0x80000
	movl	$786431, %edx                   ## imm = 0xBFFFF
	movl	$1, %r8d
	callq	_cpu68k_map_set
	movq	_s68k_write16_map@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_s68k_dec_write16@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%r14,8), %rax
	movl	(%rax,%r15,4), %ecx
	movl	$524288, %esi                   ## imm = 0x80000
	movl	$786431, %edx                   ## imm = 0xBFFFF
	movl	$1, %r8d
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_cpu68k_map_set                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_Pico_mcd,8,3                   ## @Pico_mcd
	.comm	_m68k_read8_map,4,2             ## @m68k_read8_map
	.comm	_m68k_cell_read8,8,3            ## @m68k_cell_read8
	.comm	_m68k_read16_map,4,2            ## @m68k_read16_map
	.comm	_m68k_cell_read16,8,3           ## @m68k_cell_read16
	.comm	_m68k_write8_map,4,2            ## @m68k_write8_map
	.comm	_m68k_cell_write8,8,3           ## @m68k_cell_write8
	.comm	_m68k_write16_map,4,2           ## @m68k_write16_map
	.comm	_m68k_cell_write16,8,3          ## @m68k_cell_write16
	.comm	_s68k_read8_map,4,2             ## @s68k_read8_map
	.comm	_s68k_dec_read8,8,3             ## @s68k_dec_read8
	.comm	_s68k_read16_map,4,2            ## @s68k_read16_map
	.comm	_s68k_dec_read16,8,3            ## @s68k_dec_read16
	.comm	_s68k_write8_map,4,2            ## @s68k_write8_map
	.comm	_s68k_dec_write8,8,3            ## @s68k_dec_write8
	.comm	_s68k_write16_map,4,2           ## @s68k_write16_map
	.comm	_s68k_dec_write16,8,3           ## @s68k_dec_write16
	.comm	_FAMEC_FETCHBITS,4,2            ## @FAMEC_FETCHBITS
	.comm	_M68K_FETCHBANK1,4,2            ## @M68K_FETCHBANK1
	.comm	_PicoCpuFM68k,8,3               ## @PicoCpuFM68k
	.comm	_PicoCpuFS68k,8,3               ## @PicoCpuFS68k
	.no_dead_strip	_remap_word_ram
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function remap_word_ram
_remap_word_ram:                        ; @remap_word_ram
	.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
	mov	w23, #786431
	tbnz	w0, #2, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _Pico_mcd@GOTPAGE
Lloh1:
	ldr	x8, [x8, _Pico_mcd@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x19, [x8, #8]
	add	w1, w23, #384, lsl #12          ; =1572864
	mov	w0, #2097152
	mov	x2, x19
	mov	w3, #0
	bl	_cpu68k_map_all_ram
	mov	w0, #524288
	mov	w1, #786431
	mov	x2, x19
	mov	w3, #1
	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
	b	_cpu68k_map_all_ram
LBB0_2:
	and	w19, w0, #0x1
Lloh3:
	adrp	x21, _Pico_mcd@GOTPAGE
Lloh4:
	ldr	x21, [x21, _Pico_mcd@GOTPAGEOFF]
	ubfx	w20, w0, #3, #2
	ldr	x8, [x21]
	ldr	x8, [x8]
	ldr	x2, [x8, w19, uxtw #3]
	add	w1, w23, #352, lsl #12          ; =1441792
	mov	w0, #2097152
	mov	w3, #0
	bl	_cpu68k_map_all_ram
	ldr	x8, [x21]
	ldr	x8, [x8]
	eor	w22, w19, #0x1
	lsl	x21, x22, #3
	ldr	x2, [x8, x21]
	add	w1, w23, #48, lsl #12           ; =196608
	mov	w0, #786432
	mov	w3, #1
	bl	_cpu68k_map_all_ram
Lloh5:
	adrp	x8, _m68k_read8_map@GOTPAGE
Lloh6:
	ldr	x8, [x8, _m68k_read8_map@GOTPAGEOFF]
Lloh7:
	adrp	x9, _m68k_cell_read8@GOTPAGE
Lloh8:
	ldr	x9, [x9, _m68k_cell_read8@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
Lloh10:
	ldr	x8, [x9]
	lsl	x24, x19, #2
	ldr	w3, [x8, x24]
	add	w19, w23, #384, lsl #12         ; =1572864
	mov	w1, #2228224
	mov	x2, x19
	mov	w4, #1
	bl	_cpu68k_map_set
Lloh11:
	adrp	x8, _m68k_read16_map@GOTPAGE
Lloh12:
	ldr	x8, [x8, _m68k_read16_map@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
Lloh14:
	adrp	x8, _m68k_cell_read16@GOTPAGE
Lloh15:
	ldr	x8, [x8, _m68k_cell_read16@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	ldr	w3, [x8, x24]
	mov	w1, #2228224
	mov	x2, x19
	mov	w4, #1
	bl	_cpu68k_map_set
Lloh17:
	adrp	x8, _m68k_write8_map@GOTPAGE
Lloh18:
	ldr	x8, [x8, _m68k_write8_map@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
Lloh20:
	adrp	x8, _m68k_cell_write8@GOTPAGE
Lloh21:
	ldr	x8, [x8, _m68k_cell_write8@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
	ldr	w3, [x8, x24]
	mov	w1, #2228224
	mov	x2, x19
	mov	w4, #1
	bl	_cpu68k_map_set
Lloh23:
	adrp	x8, _m68k_write16_map@GOTPAGE
Lloh24:
	ldr	x8, [x8, _m68k_write16_map@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
Lloh26:
	adrp	x8, _m68k_cell_write16@GOTPAGE
Lloh27:
	ldr	x8, [x8, _m68k_cell_write16@GOTPAGEOFF]
Lloh28:
	ldr	x8, [x8]
	ldr	w3, [x8, x24]
	mov	w1, #2228224
	mov	x2, x19
	mov	w4, #1
	bl	_cpu68k_map_set
Lloh29:
	adrp	x8, _s68k_read8_map@GOTPAGE
Lloh30:
	ldr	x8, [x8, _s68k_read8_map@GOTPAGEOFF]
Lloh31:
	ldr	w0, [x8]
Lloh32:
	adrp	x8, _s68k_dec_read8@GOTPAGE
Lloh33:
	ldr	x8, [x8, _s68k_dec_read8@GOTPAGEOFF]
Lloh34:
	ldr	x8, [x8]
	lsl	x19, x22, #2
	ldr	w3, [x8, x19]
	mov	w1, #524288
	mov	w2, #786431
	mov	w4, #1
	bl	_cpu68k_map_set
Lloh35:
	adrp	x8, _s68k_read16_map@GOTPAGE
Lloh36:
	ldr	x8, [x8, _s68k_read16_map@GOTPAGEOFF]
Lloh37:
	ldr	w0, [x8]
Lloh38:
	adrp	x8, _s68k_dec_read16@GOTPAGE
Lloh39:
	ldr	x8, [x8, _s68k_dec_read16@GOTPAGEOFF]
Lloh40:
	ldr	x8, [x8]
	ldr	w3, [x8, x19]
	mov	w1, #524288
	mov	w2, #786431
	mov	w4, #1
	bl	_cpu68k_map_set
Lloh41:
	adrp	x8, _s68k_write8_map@GOTPAGE
Lloh42:
	ldr	x8, [x8, _s68k_write8_map@GOTPAGEOFF]
Lloh43:
	ldr	w0, [x8]
Lloh44:
	adrp	x8, _s68k_dec_write8@GOTPAGE
Lloh45:
	ldr	x8, [x8, _s68k_dec_write8@GOTPAGEOFF]
Lloh46:
	ldr	x8, [x8]
	ldr	x8, [x8, x21]
	lsl	x19, x20, #2
	ldr	w3, [x8, x19]
	mov	w1, #524288
	mov	w2, #786431
	mov	w4, #1
	bl	_cpu68k_map_set
Lloh47:
	adrp	x8, _s68k_write16_map@GOTPAGE
Lloh48:
	ldr	x8, [x8, _s68k_write16_map@GOTPAGEOFF]
Lloh49:
	adrp	x9, _s68k_dec_write16@GOTPAGE
Lloh50:
	ldr	x9, [x9, _s68k_dec_write16@GOTPAGEOFF]
Lloh51:
	ldr	x9, [x9]
	ldr	x9, [x9, x21]
	ldr	w3, [x9, x19]
Lloh52:
	ldr	w0, [x8]
	mov	w1, #524288
	mov	w2, #786431
	mov	w4, #1
	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
	b	_cpu68k_map_set
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh52
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh9
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_Pico_mcd,8,3                   ; @Pico_mcd
	.comm	_m68k_read8_map,4,2             ; @m68k_read8_map
	.comm	_m68k_cell_read8,8,3            ; @m68k_cell_read8
	.comm	_m68k_read16_map,4,2            ; @m68k_read16_map
	.comm	_m68k_cell_read16,8,3           ; @m68k_cell_read16
	.comm	_m68k_write8_map,4,2            ; @m68k_write8_map
	.comm	_m68k_cell_write8,8,3           ; @m68k_cell_write8
	.comm	_m68k_write16_map,4,2           ; @m68k_write16_map
	.comm	_m68k_cell_write16,8,3          ; @m68k_cell_write16
	.comm	_s68k_read8_map,4,2             ; @s68k_read8_map
	.comm	_s68k_dec_read8,8,3             ; @s68k_dec_read8
	.comm	_s68k_read16_map,4,2            ; @s68k_read16_map
	.comm	_s68k_dec_read16,8,3            ; @s68k_dec_read16
	.comm	_s68k_write8_map,4,2            ; @s68k_write8_map
	.comm	_s68k_dec_write8,8,3            ; @s68k_dec_write8
	.comm	_s68k_write16_map,4,2           ; @s68k_write16_map
	.comm	_s68k_dec_write16,8,3           ; @s68k_dec_write16
	.comm	_FAMEC_FETCHBITS,4,2            ; @FAMEC_FETCHBITS
	.comm	_M68K_FETCHBANK1,4,2            ; @M68K_FETCHBANK1
	.comm	_PicoCpuFM68k,8,3               ; @PicoCpuFM68k
	.comm	_PicoCpuFS68k,8,3               ; @PicoCpuFS68k
	.no_dead_strip	_remap_word_ram
.subsections_via_symbols
