	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Pico32xSwapDRAM                ## -- Begin function Pico32xSwapDRAM
	.p2align	4, 0x90
_Pico32xSwapDRAM:                       ## @Pico32xSwapDRAM
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_m68k_read8_map@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	movq	_Pico32xMem@GOTPCREL(%rip), %r14
	movq	(%r14), %rcx
	movq	(%rcx), %rcx
	movslq	%edi, %r13
	movl	(%rcx,%r13,4), %ecx
	movl	%eax, %edi
	movl	$8650752, %esi                  ## imm = 0x840000
	movl	$8781823, %edx                  ## imm = 0x85FFFF
	xorl	%r8d, %r8d
	callq	_cpu68k_map_set
	movq	_m68k_read16_map@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movq	(%r14), %rax
	movq	(%rax), %rax
	movl	(%rax,%r13,4), %ecx
	movl	$8650752, %esi                  ## imm = 0x840000
	movl	$8781823, %edx                  ## imm = 0x85FFFF
	xorl	%r8d, %r8d
	callq	_cpu68k_map_set
	movl	(%r15), %edi
	movq	(%r14), %rax
	movq	(%rax), %rax
	movl	(%rax,%r13,4), %ecx
	movl	$8781824, %esi                  ## imm = 0x860000
	movl	$8912895, %edx                  ## imm = 0x87FFFF
	xorl	%r8d, %r8d
	callq	_cpu68k_map_set
	movl	(%r12), %edi
	movq	(%r14), %rax
	movq	(%rax), %rax
	movl	(%rax,%r13,4), %ecx
	movl	$8781824, %esi                  ## imm = 0x860000
	movl	$8912895, %edx                  ## imm = 0x87FFFF
	xorl	%r8d, %r8d
	callq	_cpu68k_map_set
	movq	_m68k_write8_map@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	testl	%r13d, %r13d
	movq	_m68k_write8_dram1_ow@GOTPCREL(%rip), %rax
	cmoveq	_m68k_write8_dram0_ow@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_m68k_write16_dram1_ow@GOTPCREL(%rip), %rbx
	cmoveq	_m68k_write16_dram0_ow@GOTPCREL(%rip), %rbx
	movq	_sh2_write8_dram1@GOTPCREL(%rip), %r12
	cmoveq	_sh2_write8_dram0@GOTPCREL(%rip), %r12
	movq	_sh2_write16_dram1@GOTPCREL(%rip), %r15
	cmoveq	_sh2_write16_dram0@GOTPCREL(%rip), %r15
	movl	$8650752, %esi                  ## imm = 0x840000
	movl	$8912895, %edx                  ## imm = 0x87FFFF
	movl	$1, %r8d
	callq	_cpu68k_map_set
	movq	_m68k_write16_map@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %ecx
	movl	$8650752, %esi                  ## imm = 0x840000
	movl	$8912895, %edx                  ## imm = 0x87FFFF
	movl	$1, %r8d
	callq	_cpu68k_map_set
	movq	(%r14), %rax
	movq	(%rax), %rax
	movl	(%rax,%r13,4), %edi
	callq	_MAP_MEMORY
	movq	_sh2_read16_map@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%eax, 72(%rcx)
	movl	%eax, 8(%rcx)
	movq	_sh2_read8_map@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%eax, 72(%rcx)
	movl	%eax, 8(%rcx)
	movl	(%r12), %eax
	movq	_sh2_write8_map@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%eax, 72(%rcx)
	movl	%eax, 8(%rcx)
	movl	(%r15), %eax
	movq	_sh2_write16_map@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%eax, 72(%rcx)
	movl	%eax, 8(%rcx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_m68k_read8_map,4,2             ## @m68k_read8_map
	.comm	_Pico32xMem,8,3                 ## @Pico32xMem
	.comm	_m68k_read16_map,4,2            ## @m68k_read16_map
	.comm	_m68k_write8_map,4,2            ## @m68k_write8_map
	.comm	_m68k_write8_dram1_ow,4,2       ## @m68k_write8_dram1_ow
	.comm	_m68k_write8_dram0_ow,4,2       ## @m68k_write8_dram0_ow
	.comm	_m68k_write16_map,4,2           ## @m68k_write16_map
	.comm	_m68k_write16_dram1_ow,4,2      ## @m68k_write16_dram1_ow
	.comm	_m68k_write16_dram0_ow,4,2      ## @m68k_write16_dram0_ow
	.comm	_sh2_read16_map,8,3             ## @sh2_read16_map
	.comm	_sh2_read8_map,8,3              ## @sh2_read8_map
	.comm	_sh2_write8_dram1,4,2           ## @sh2_write8_dram1
	.comm	_sh2_write8_dram0,4,2           ## @sh2_write8_dram0
	.comm	_sh2_write8_map,8,3             ## @sh2_write8_map
	.comm	_sh2_write16_dram1,4,2          ## @sh2_write16_dram1
	.comm	_sh2_write16_dram0,4,2          ## @sh2_write16_dram0
	.comm	_sh2_write16_map,8,3            ## @sh2_write16_map
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Pico32xSwapDRAM                ; -- Begin function Pico32xSwapDRAM
	.p2align	2
_Pico32xSwapDRAM:                       ; @Pico32xSwapDRAM
	.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	x19, x0
Lloh0:
	adrp	x23, _m68k_read8_map@GOTPAGE
Lloh1:
	ldr	x23, [x23, _m68k_read8_map@GOTPAGEOFF]
	ldr	w0, [x23]
Lloh2:
	adrp	x21, _Pico32xMem@GOTPAGE
Lloh3:
	ldr	x21, [x21, _Pico32xMem@GOTPAGEOFF]
	ldr	x8, [x21]
	ldr	x8, [x8]
	sbfiz	x22, x19, #2, #32
	ldr	w3, [x8, x22]
	mov	w8, #8912895
	sub	w20, w8, #32, lsl #12           ; =131072
	mov	w1, #8650752
	mov	x2, x20
	mov	w4, #0
	bl	_cpu68k_map_set
Lloh4:
	adrp	x24, _m68k_read16_map@GOTPAGE
Lloh5:
	ldr	x24, [x24, _m68k_read16_map@GOTPAGEOFF]
	ldr	w0, [x24]
	ldr	x8, [x21]
	ldr	x8, [x8]
	ldr	w3, [x8, x22]
	mov	w1, #8650752
	mov	x2, x20
	mov	w4, #0
	bl	_cpu68k_map_set
	ldr	w0, [x23]
	ldr	x8, [x21]
	ldr	x8, [x8]
	ldr	w3, [x8, x22]
	mov	w1, #8781824
	mov	w2, #8912895
	mov	w4, #0
	bl	_cpu68k_map_set
	ldr	w0, [x24]
	ldr	x8, [x21]
	ldr	x8, [x8]
	ldr	w3, [x8, x22]
	mov	w1, #8781824
	mov	w2, #8912895
	mov	w4, #0
	bl	_cpu68k_map_set
Lloh6:
	adrp	x8, _m68k_write8_map@GOTPAGE
Lloh7:
	ldr	x8, [x8, _m68k_write8_map@GOTPAGEOFF]
Lloh8:
	adrp	x9, _m68k_write8_dram1_ow@GOTPAGE
Lloh9:
	ldr	x9, [x9, _m68k_write8_dram1_ow@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x8, _m68k_write8_dram0_ow@GOTPAGE
Lloh12:
	ldr	x8, [x8, _m68k_write8_dram0_ow@GOTPAGEOFF]
	cmp	w19, #0
	csel	x8, x8, x9, eq
	ldr	w3, [x8]
Lloh13:
	adrp	x8, _m68k_write16_dram1_ow@GOTPAGE
Lloh14:
	ldr	x8, [x8, _m68k_write16_dram1_ow@GOTPAGEOFF]
Lloh15:
	adrp	x9, _m68k_write16_dram0_ow@GOTPAGE
Lloh16:
	ldr	x9, [x9, _m68k_write16_dram0_ow@GOTPAGEOFF]
Lloh17:
	adrp	x10, _sh2_write8_dram1@GOTPAGE
Lloh18:
	ldr	x10, [x10, _sh2_write8_dram1@GOTPAGEOFF]
Lloh19:
	adrp	x11, _sh2_write8_dram0@GOTPAGE
Lloh20:
	ldr	x11, [x11, _sh2_write8_dram0@GOTPAGEOFF]
	csel	x19, x9, x8, eq
	csel	x20, x11, x10, eq
Lloh21:
	adrp	x8, _sh2_write16_dram1@GOTPAGE
Lloh22:
	ldr	x8, [x8, _sh2_write16_dram1@GOTPAGEOFF]
Lloh23:
	adrp	x9, _sh2_write16_dram0@GOTPAGE
Lloh24:
	ldr	x9, [x9, _sh2_write16_dram0@GOTPAGEOFF]
	csel	x23, x9, x8, eq
	mov	w1, #8650752
	mov	w2, #8912895
	mov	w4, #1
	bl	_cpu68k_map_set
Lloh25:
	adrp	x8, _m68k_write16_map@GOTPAGE
Lloh26:
	ldr	x8, [x8, _m68k_write16_map@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
	ldr	w3, [x19]
	mov	w1, #8650752
	mov	w2, #8912895
	mov	w4, #1
	bl	_cpu68k_map_set
	ldr	x8, [x21]
	ldr	x8, [x8]
	ldr	w0, [x8, x22]
	bl	_MAP_MEMORY
Lloh28:
	adrp	x8, _sh2_read16_map@GOTPAGE
Lloh29:
	ldr	x8, [x8, _sh2_read16_map@GOTPAGEOFF]
Lloh30:
	ldr	x8, [x8]
	str	w0, [x8, #72]
	str	w0, [x8, #8]
Lloh31:
	adrp	x8, _sh2_read8_map@GOTPAGE
Lloh32:
	ldr	x8, [x8, _sh2_read8_map@GOTPAGEOFF]
Lloh33:
	ldr	x8, [x8]
	str	w0, [x8, #72]
	str	w0, [x8, #8]
	ldr	w8, [x20]
Lloh34:
	adrp	x9, _sh2_write8_map@GOTPAGE
Lloh35:
	ldr	x9, [x9, _sh2_write8_map@GOTPAGEOFF]
Lloh36:
	ldr	x9, [x9]
	str	w8, [x9, #72]
	str	w8, [x9, #8]
	ldr	w8, [x23]
Lloh37:
	adrp	x9, _sh2_write16_map@GOTPAGE
Lloh38:
	ldr	x9, [x9, _sh2_write16_map@GOTPAGEOFF]
Lloh39:
	ldr	x9, [x9]
	str	w8, [x9, #72]
	str	w8, [x9, #8]
	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
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_m68k_read8_map,4,2             ; @m68k_read8_map
	.comm	_Pico32xMem,8,3                 ; @Pico32xMem
	.comm	_m68k_read16_map,4,2            ; @m68k_read16_map
	.comm	_m68k_write8_map,4,2            ; @m68k_write8_map
	.comm	_m68k_write8_dram1_ow,4,2       ; @m68k_write8_dram1_ow
	.comm	_m68k_write8_dram0_ow,4,2       ; @m68k_write8_dram0_ow
	.comm	_m68k_write16_map,4,2           ; @m68k_write16_map
	.comm	_m68k_write16_dram1_ow,4,2      ; @m68k_write16_dram1_ow
	.comm	_m68k_write16_dram0_ow,4,2      ; @m68k_write16_dram0_ow
	.comm	_sh2_read16_map,8,3             ; @sh2_read16_map
	.comm	_sh2_read8_map,8,3              ; @sh2_read8_map
	.comm	_sh2_write8_dram1,4,2           ; @sh2_write8_dram1
	.comm	_sh2_write8_dram0,4,2           ; @sh2_write8_dram0
	.comm	_sh2_write8_map,8,3             ; @sh2_write8_map
	.comm	_sh2_write16_dram1,4,2          ; @sh2_write16_dram1
	.comm	_sh2_write16_dram0,4,2          ; @sh2_write16_dram0
	.comm	_sh2_write16_map,8,3            ; @sh2_write16_map
.subsections_via_symbols
