	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PicoMemSetup32x                ## -- Begin function PicoMemSetup32x
	.p2align	4, 0x90
_PicoMemSetup32x:                       ## @PicoMemSetup32x
	.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
	movl	$100663296, %edi                ## imm = 0x6000000
	movl	$24, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_plat_mmap
	movq	_Pico32xMem@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	je	LBB0_12
## %bb.1:
	xorl	%eax, %eax
	callq	_get_bios
	movq	_Pico@GOTPCREL(%rip), %rax
	cmpl	$0, 16(%rax)
	jne	LBB0_3
## %bb.2:
	movq	_m68k_read8_map@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_Pico32xMem@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movq	16(%rax), %rcx
	xorl	%esi, %esi
	movl	$7, %edx
	xorl	%r8d, %r8d
	callq	_cpu68k_map_set
	movq	_m68k_read16_map@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	(%rbx), %rax
	movq	16(%rax), %rcx
	xorl	%esi, %esi
	movl	$7, %edx
	xorl	%r8d, %r8d
	callq	_cpu68k_map_set
	movq	_m68k_write8_map@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movq	_PicoWrite8_hint@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	xorl	%esi, %esi
	movl	$7, %edx
	movl	$1, %r8d
	callq	_cpu68k_map_set
	movq	_m68k_write16_map@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movq	_PicoWrite16_hint@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	xorl	%esi, %esi
	movl	$7, %edx
	movl	$1, %r8d
	callq	_cpu68k_map_set
	movq	_M68K_BANK_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_Pico@GOTPCREL(%rip), %r13
	movl	(%r13), %ecx
	addl	%eax, %ecx
	notl	%eax
	andl	%ecx, %eax
	cmpl	$524288, %eax                   ## imm = 0x80000
	movl	$524288, %ebx                   ## imm = 0x80000
	cmovbl	%eax, %ebx
	movq	_m68k_read8_map@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addl	$8912895, %ebx                  ## imm = 0x87FFFF
	movq	8(%r13), %rcx
	movl	$8912896, %esi                  ## imm = 0x880000
	movl	%ebx, %edx
	xorl	%r8d, %r8d
	callq	_cpu68k_map_set
	movl	(%r14), %edi
	movq	8(%r13), %rcx
	movl	$8912896, %esi                  ## imm = 0x880000
	movl	%ebx, %edx
	xorl	%r8d, %r8d
	callq	_cpu68k_map_set
	movl	(%r15), %edi
	movq	_PicoWrite8_cart@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movl	$8912896, %esi                  ## imm = 0x880000
	movl	%ebx, %edx
	movl	$1, %r8d
	callq	_cpu68k_map_set
	movl	(%r12), %edi
	movq	_PicoWrite16_cart@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movl	$8912896, %esi                  ## imm = 0x880000
	movl	%ebx, %edx
	movl	$1, %r8d
	callq	_cpu68k_map_set
	xorl	%edi, %edi
	callq	_bank_switch
	movl	(%r15), %edi
	movq	_PicoWrite8_bank@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movl	$9437184, %esi                  ## imm = 0x900000
	movl	$10485759, %edx                 ## imm = 0x9FFFFF
	movl	$1, %r8d
	callq	_cpu68k_map_set
	movl	(%r12), %edi
	movq	_PicoWrite16_bank@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movl	$9437184, %esi                  ## imm = 0x900000
	movl	$10485759, %edx                 ## imm = 0x9FFFFF
	movl	$1, %r8d
	callq	_cpu68k_map_set
LBB0_3:
	movq	_m68k_read8_map@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_PicoRead8_32x_on@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movl	$10551296, %esi                 ## imm = 0xA10000
	movl	$10616831, %edx                 ## imm = 0xA1FFFF
	movl	$1, %r8d
	callq	_cpu68k_map_set
	movq	_m68k_read16_map@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_PicoRead16_32x_on@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movl	$10551296, %esi                 ## imm = 0xA10000
	movl	$10616831, %edx                 ## imm = 0xA1FFFF
	movl	$1, %r8d
	callq	_cpu68k_map_set
	movq	_m68k_write8_map@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_PicoWrite8_32x_on@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movl	$10551296, %esi                 ## imm = 0xA10000
	movl	$10616831, %edx                 ## imm = 0xA1FFFF
	movl	$1, %r8d
	callq	_cpu68k_map_set
	movq	_m68k_write16_map@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_PicoWrite16_32x_on@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movl	$10551296, %esi                 ## imm = 0xA10000
	movl	$10616831, %edx                 ## imm = 0xA1FFFF
	movl	$1, %r8d
	callq	_cpu68k_map_set
	movq	_sh2_read8_map@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_6
## %bb.4:
	movl	$8, %ebx
	xorl	%r14d, %r14d
	movq	_sh2_read16_unmapped@GOTPCREL(%rip), %r13
	movq	_sh2_read16_map@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	_sh2_read8_unmapped@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MAP_HANDLER
	movq	(%r15), %rcx
	movq	%rax, (%rcx,%rbx)
	movl	(%r13), %edi
	callq	_MAP_HANDLER
	movq	(%r12), %rcx
	movq	%rax, (%rcx,%rbx)
	incq	%r14
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	cltq
	addq	$16, %rbx
	cmpq	%rax, %r14
	jl	LBB0_5
LBB0_6:
	movq	_sh2_write8_map@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_9
## %bb.7:
	xorl	%ebx, %ebx
	movq	_sh2_write16_map@GOTPCREL(%rip), %r15
	movq	_sh2_write16_unmapped@GOTPCREL(%rip), %r13
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rax
	movq	_sh2_write8_unmapped@GOTPCREL(%rip), %rcx
	movups	(%rcx), %xmm0
	movups	%xmm0, (%rax,%rbx)
	movq	(%r15), %rax
	movups	(%r13), %xmm0
	movups	%xmm0, (%rax,%rbx)
	incq	%r14
	movq	(%r12), %rdi
	callq	_ARRAY_SIZE
	cltq
	addq	$16, %rbx
	cmpq	%rax, %r14
	jl	LBB0_8
LBB0_9:
	xorl	%eax, %eax
	movq	_sh2_write16_map@GOTPCREL(%rip), %r13
	movq	_sh2_write_ignore@GOTPCREL(%rip), %rcx
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rdx
	movq	(%r13), %rsi
	movups	(%rcx), %xmm0
	movups	%xmm0, 512(%rsi,%rax,8)
	movups	(%rcx), %xmm0
	movups	%xmm0, 512(%rdx,%rax,8)
	movq	(%r12), %rdx
	movq	(%r13), %rsi
	movups	(%rcx), %xmm0
	movups	%xmm0, 512(%rsi,%rax,8)
	movups	(%rcx), %xmm0
	movups	%xmm0, 512(%rdx,%rax,8)
	addq	$2, %rax
	cmpl	$32, %eax
	jne	LBB0_10
## %bb.11:
	movq	_sh2_read8_cs0@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MAP_HANDLER
	movq	_sh2_read8_map@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rcx
	movq	%rax, 264(%rcx)
	movq	%rax, 8(%rcx)
	movq	_sh2_read16_cs0@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MAP_HANDLER
	movq	_sh2_read16_map@GOTPCREL(%rip), %r15
	movq	(%r15), %rcx
	movq	%rax, 264(%rcx)
	movq	%rax, 8(%rcx)
	movq	(%r12), %rax
	movq	_sh2_write8_cs0@GOTPCREL(%rip), %rcx
	movups	(%rcx), %xmm0
	movups	%xmm0, 256(%rax)
	movups	(%rcx), %xmm0
	movups	%xmm0, (%rax)
	movq	(%r13), %rax
	movq	_sh2_write16_cs0@GOTPCREL(%rip), %rcx
	movups	(%rcx), %xmm0
	movups	%xmm0, 256(%rax)
	movups	(%rcx), %xmm0
	movups	%xmm0, (%rax)
	movq	_Pico@GOTPCREL(%rip), %rax
	movq	8(%rax), %rdi
	callq	_MAP_MEMORY
	movq	(%r15), %rcx
	movq	%rax, 280(%rcx)
	movq	%rax, 24(%rcx)
	movq	(%rbx), %rdx
	movq	%rax, 280(%rdx)
	movq	%rax, 24(%rdx)
	movl	$4194303, 272(%rcx)             ## imm = 0x3FFFFF
	movl	$4194303, 16(%rcx)              ## imm = 0x3FFFFF
	movl	$4194303, 272(%rdx)             ## imm = 0x3FFFFF
	movl	$4194303, 16(%rdx)              ## imm = 0x3FFFFF
	movl	$131071, 288(%rcx)              ## imm = 0x1FFFF
	movl	$131071, 32(%rcx)               ## imm = 0x1FFFF
	movl	$131071, 288(%rdx)              ## imm = 0x1FFFF
	movl	$131071, 32(%rdx)               ## imm = 0x1FFFF
	movq	_Pico32xMem@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rdi
	callq	_MAP_MEMORY
	movq	(%r15), %rcx
	movq	%rax, 312(%rcx)
	movq	%rax, 56(%rcx)
	movq	(%rbx), %rdx
	movq	%rax, 312(%rdx)
	movq	%rax, 56(%rdx)
	movq	(%r12), %rax
	movq	_sh2_write8_sdram@GOTPCREL(%rip), %rsi
	movups	(%rsi), %xmm0
	movups	%xmm0, 48(%rax)
	movq	_sh2_write8_sdram_wt@GOTPCREL(%rip), %rsi
	movups	(%rsi), %xmm0
	movups	%xmm0, 304(%rax)
	movq	(%r13), %rax
	movq	_sh2_write16_sdram@GOTPCREL(%rip), %rsi
	movups	(%rsi), %xmm0
	movups	%xmm0, 304(%rax)
	movups	(%rsi), %xmm0
	movups	%xmm0, 48(%rax)
	movl	$262143, 304(%rcx)              ## imm = 0x3FFFF
	movl	$262143, 48(%rcx)               ## imm = 0x3FFFF
	movl	$262143, 304(%rdx)              ## imm = 0x3FFFF
	movl	$262143, 48(%rdx)               ## imm = 0x3FFFF
	movq	_sh2_read8_da@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MAP_HANDLER
	movq	(%rbx), %rcx
	movq	%rax, 1544(%rcx)
	movq	_sh2_read16_da@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MAP_HANDLER
	movq	(%r15), %rcx
	movq	%rax, 1544(%rcx)
	movq	(%r12), %rax
	movq	_sh2_write8_da@GOTPCREL(%rip), %rcx
	movups	(%rcx), %xmm0
	movups	%xmm0, 1536(%rax)
	movq	(%r13), %rax
	movq	_sh2_write16_da@GOTPCREL(%rip), %rcx
	movups	(%rcx), %xmm0
	movups	%xmm0, 1536(%rax)
	movq	_sh2_peripheral_read8@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MAP_HANDLER
	movq	(%rbx), %rcx
	movq	%rax, 2040(%rcx)
	movq	_sh2_peripheral_read16@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MAP_HANDLER
	movq	(%r15), %rcx
	movq	%rax, 2040(%rcx)
	movq	(%r12), %rax
	movq	_sh2_peripheral_write8@GOTPCREL(%rip), %rcx
	movups	(%rcx), %xmm0
	movups	%xmm0, 2032(%rax)
	movq	(%r13), %rax
	movq	_sh2_peripheral_write16@GOTPCREL(%rip), %rcx
	movups	(%rcx), %xmm0
	movups	%xmm0, 2032(%rax)
	movl	$1, %edi
	callq	_Pico32xSwapDRAM
	movq	(%rbx), %rax
	movq	_ssh2@GOTPCREL(%rip), %r14
	movq	%rax, 24(%r14)
	movq	_msh2@GOTPCREL(%rip), %rdi
	movq	%rax, 24(%rdi)
	movq	(%r15), %rax
	movq	%rax, 16(%r14)
	movq	%rax, 16(%rdi)
	movq	(%r12), %rax
	movq	%rax, (%r14)
	movq	%rax, (%rdi)
	movq	(%r13), %rax
	movq	%rax, 8(%r14)
	movq	%rax, 8(%rdi)
	callq	_sh2_drc_mem_setup
	movq	%r14, %rdi
	callq	_sh2_drc_mem_setup
	movq	_z80_write_map@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_z80_md_bank_write_32x@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	$32768, %esi                    ## imm = 0x8000
	movl	$65535, %edx                    ## imm = 0xFFFF
	movl	$1, %r8d
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_z80_map_set                    ## TAILCALL
LBB0_12:
	movq	_EL_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_elprintf                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_Pico32xMem,8,3                 ## @Pico32xMem
	.comm	_EL_STATUS,4,2                  ## @EL_STATUS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"OOM"

	.comm	_Pico,24,3                      ## @Pico
	.comm	_m68k_read8_map,4,2             ## @m68k_read8_map
	.comm	_m68k_read16_map,4,2            ## @m68k_read16_map
	.comm	_m68k_write8_map,4,2            ## @m68k_write8_map
	.comm	_PicoWrite8_hint,8,3            ## @PicoWrite8_hint
	.comm	_m68k_write16_map,4,2           ## @m68k_write16_map
	.comm	_PicoWrite16_hint,8,3           ## @PicoWrite16_hint
	.comm	_M68K_BANK_MASK,4,2             ## @M68K_BANK_MASK
	.comm	_PicoWrite8_cart,8,3            ## @PicoWrite8_cart
	.comm	_PicoWrite16_cart,8,3           ## @PicoWrite16_cart
	.comm	_PicoWrite8_bank,8,3            ## @PicoWrite8_bank
	.comm	_PicoWrite16_bank,8,3           ## @PicoWrite16_bank
	.comm	_PicoRead8_32x_on,8,3           ## @PicoRead8_32x_on
	.comm	_PicoRead16_32x_on,8,3          ## @PicoRead16_32x_on
	.comm	_PicoWrite8_32x_on,8,3          ## @PicoWrite8_32x_on
	.comm	_PicoWrite16_32x_on,8,3         ## @PicoWrite16_32x_on
	.comm	_sh2_read8_map,8,3              ## @sh2_read8_map
	.comm	_sh2_read8_unmapped,4,2         ## @sh2_read8_unmapped
	.comm	_sh2_read16_unmapped,4,2        ## @sh2_read16_unmapped
	.comm	_sh2_read16_map,8,3             ## @sh2_read16_map
	.comm	_sh2_write8_map,8,3             ## @sh2_write8_map
	.comm	_sh2_write8_unmapped,16,3       ## @sh2_write8_unmapped
	.comm	_sh2_write16_map,8,3            ## @sh2_write16_map
	.comm	_sh2_write16_unmapped,16,3      ## @sh2_write16_unmapped
	.comm	_sh2_write_ignore,16,3          ## @sh2_write_ignore
	.comm	_sh2_read8_cs0,4,2              ## @sh2_read8_cs0
	.comm	_sh2_read16_cs0,4,2             ## @sh2_read16_cs0
	.comm	_sh2_write8_cs0,16,3            ## @sh2_write8_cs0
	.comm	_sh2_write16_cs0,16,3           ## @sh2_write16_cs0
	.comm	_sh2_write8_sdram,16,3          ## @sh2_write8_sdram
	.comm	_sh2_write8_sdram_wt,16,3       ## @sh2_write8_sdram_wt
	.comm	_sh2_write16_sdram,16,3         ## @sh2_write16_sdram
	.comm	_sh2_read8_da,4,2               ## @sh2_read8_da
	.comm	_sh2_read16_da,4,2              ## @sh2_read16_da
	.comm	_sh2_write8_da,16,3             ## @sh2_write8_da
	.comm	_sh2_write16_da,16,3            ## @sh2_write16_da
	.comm	_sh2_peripheral_read8,4,2       ## @sh2_peripheral_read8
	.comm	_sh2_peripheral_read16,4,2      ## @sh2_peripheral_read16
	.comm	_sh2_peripheral_write8,16,3     ## @sh2_peripheral_write8
	.comm	_sh2_peripheral_write16,16,3    ## @sh2_peripheral_write16
	.comm	_ssh2,32,3                      ## @ssh2
	.comm	_msh2,32,3                      ## @msh2
	.comm	_z80_write_map,4,2              ## @z80_write_map
	.comm	_z80_md_bank_write_32x,4,2      ## @z80_md_bank_write_32x
	.comm	_PicoCpuFM68k,8,3               ## @PicoCpuFM68k
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PicoMemSetup32x                ; -- Begin function PicoMemSetup32x
	.p2align	2
_PicoMemSetup32x:                       ; @PicoMemSetup32x
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	w0, #100663296
	mov	w1, #24
	mov	w2, #0
	mov	w3, #0
	bl	_plat_mmap
Lloh0:
	adrp	x20, _Pico32xMem@GOTPAGE
Lloh1:
	ldr	x20, [x20, _Pico32xMem@GOTPAGEOFF]
	str	x0, [x20]
	cbz	x0, LBB0_12
; %bb.1:
	mov	w26, #10616831
	bl	_get_bios
Lloh2:
	adrp	x21, _Pico@GOTPAGE
Lloh3:
	ldr	x21, [x21, _Pico@GOTPAGEOFF]
	ldr	w8, [x21, #16]
Lloh4:
	adrp	x25, _m68k_read8_map@GOTPAGE
Lloh5:
	ldr	x25, [x25, _m68k_read8_map@GOTPAGEOFF]
Lloh6:
	adrp	x24, _m68k_read16_map@GOTPAGE
Lloh7:
	ldr	x24, [x24, _m68k_read16_map@GOTPAGEOFF]
Lloh8:
	adrp	x23, _m68k_write8_map@GOTPAGE
Lloh9:
	ldr	x23, [x23, _m68k_write8_map@GOTPAGEOFF]
Lloh10:
	adrp	x22, _m68k_write16_map@GOTPAGE
Lloh11:
	ldr	x22, [x22, _m68k_write16_map@GOTPAGEOFF]
	cbnz	w8, LBB0_3
; %bb.2:
	ldr	w0, [x25]
	ldr	x8, [x20]
	ldr	x3, [x8, #16]
	mov	w1, #0
	mov	w2, #7
	mov	w4, #0
	bl	_cpu68k_map_set
	ldr	w0, [x24]
	ldr	x8, [x20]
	ldr	x3, [x8, #16]
	mov	w1, #0
	mov	w2, #7
	mov	w4, #0
	bl	_cpu68k_map_set
	ldr	w0, [x23]
Lloh12:
	adrp	x8, _PicoWrite8_hint@GOTPAGE
Lloh13:
	ldr	x8, [x8, _PicoWrite8_hint@GOTPAGEOFF]
Lloh14:
	ldr	x3, [x8]
	mov	w1, #0
	mov	w2, #7
	mov	w4, #1
	bl	_cpu68k_map_set
	ldr	w0, [x22]
Lloh15:
	adrp	x8, _PicoWrite16_hint@GOTPAGE
Lloh16:
	ldr	x8, [x8, _PicoWrite16_hint@GOTPAGEOFF]
Lloh17:
	ldr	x3, [x8]
	mov	w1, #0
	mov	w2, #7
	mov	w4, #1
	bl	_cpu68k_map_set
	ldr	w8, [x21]
Lloh18:
	adrp	x9, _M68K_BANK_MASK@GOTPAGE
Lloh19:
	ldr	x9, [x9, _M68K_BANK_MASK@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	add	w8, w9, w8
	bic	w8, w8, w9
	mov	w9, #524288
	cmp	w8, #128, lsl #12               ; =524288
	csel	w8, w8, w9, lo
	ldr	w0, [x25]
	add	w8, w26, w8
	sub	w19, w8, #416, lsl #12          ; =1703936
	ldr	x3, [x21, #8]
	mov	w1, #8912896
	mov	x2, x19
	mov	w4, #0
	bl	_cpu68k_map_set
	ldr	w0, [x24]
	ldr	x3, [x21, #8]
	mov	w1, #8912896
	mov	x2, x19
	mov	w4, #0
	bl	_cpu68k_map_set
	ldr	w0, [x23]
Lloh21:
	adrp	x8, _PicoWrite8_cart@GOTPAGE
Lloh22:
	ldr	x8, [x8, _PicoWrite8_cart@GOTPAGEOFF]
Lloh23:
	ldr	x3, [x8]
	mov	w1, #8912896
	mov	x2, x19
	mov	w4, #1
	bl	_cpu68k_map_set
	ldr	w0, [x22]
Lloh24:
	adrp	x8, _PicoWrite16_cart@GOTPAGE
Lloh25:
	ldr	x8, [x8, _PicoWrite16_cart@GOTPAGEOFF]
Lloh26:
	ldr	x3, [x8]
	mov	w1, #8912896
	mov	x2, x19
	mov	w4, #1
	bl	_cpu68k_map_set
	mov	w0, #0
	bl	_bank_switch
	ldr	w0, [x23]
Lloh27:
	adrp	x8, _PicoWrite8_bank@GOTPAGE
Lloh28:
	ldr	x8, [x8, _PicoWrite8_bank@GOTPAGEOFF]
Lloh29:
	ldr	x3, [x8]
	sub	w19, w26, #32, lsl #12          ; =131072
	mov	w1, #9437184
	mov	x2, x19
	mov	w4, #1
	bl	_cpu68k_map_set
	ldr	w0, [x22]
Lloh30:
	adrp	x8, _PicoWrite16_bank@GOTPAGE
Lloh31:
	ldr	x8, [x8, _PicoWrite16_bank@GOTPAGEOFF]
Lloh32:
	ldr	x3, [x8]
	mov	w1, #9437184
	mov	x2, x19
	mov	w4, #1
	bl	_cpu68k_map_set
LBB0_3:
	ldr	w0, [x25]
Lloh33:
	adrp	x8, _PicoRead8_32x_on@GOTPAGE
Lloh34:
	ldr	x8, [x8, _PicoRead8_32x_on@GOTPAGEOFF]
Lloh35:
	ldr	x3, [x8]
	mov	w1, #10551296
	mov	w2, #10616831
	mov	w4, #1
	bl	_cpu68k_map_set
	ldr	w0, [x24]
Lloh36:
	adrp	x8, _PicoRead16_32x_on@GOTPAGE
Lloh37:
	ldr	x8, [x8, _PicoRead16_32x_on@GOTPAGEOFF]
Lloh38:
	ldr	x3, [x8]
	mov	w1, #10551296
	mov	w2, #10616831
	mov	w4, #1
	bl	_cpu68k_map_set
	ldr	w0, [x23]
Lloh39:
	adrp	x8, _PicoWrite8_32x_on@GOTPAGE
Lloh40:
	ldr	x8, [x8, _PicoWrite8_32x_on@GOTPAGEOFF]
Lloh41:
	ldr	x3, [x8]
	mov	w1, #10551296
	mov	w2, #10616831
	mov	w4, #1
	bl	_cpu68k_map_set
	ldr	w0, [x22]
Lloh42:
	adrp	x8, _PicoWrite16_32x_on@GOTPAGE
Lloh43:
	ldr	x8, [x8, _PicoWrite16_32x_on@GOTPAGEOFF]
Lloh44:
	ldr	x3, [x8]
	mov	w1, #10551296
	mov	w2, #10616831
	mov	w4, #1
	bl	_cpu68k_map_set
Lloh45:
	adrp	x22, _sh2_read8_map@GOTPAGE
Lloh46:
	ldr	x22, [x22, _sh2_read8_map@GOTPAGEOFF]
	ldr	x0, [x22]
	bl	_ARRAY_SIZE
Lloh47:
	adrp	x23, _sh2_read16_map@GOTPAGE
Lloh48:
	ldr	x23, [x23, _sh2_read16_map@GOTPAGEOFF]
	cmp	w0, #1
	b.lt	LBB0_6
; %bb.4:
	mov	x19, #0
	mov	w24, #8
Lloh49:
	adrp	x25, _sh2_read8_unmapped@GOTPAGE
Lloh50:
	ldr	x25, [x25, _sh2_read8_unmapped@GOTPAGEOFF]
Lloh51:
	adrp	x26, _sh2_read16_unmapped@GOTPAGE
Lloh52:
	ldr	x26, [x26, _sh2_read16_unmapped@GOTPAGEOFF]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x25]
	bl	_MAP_HANDLER
	ldr	x8, [x22]
	str	x0, [x8, x24]
	ldr	w0, [x26]
	bl	_MAP_HANDLER
	ldr	x8, [x23]
	str	x0, [x8, x24]
	add	x19, x19, #1
	ldr	x0, [x22]
	bl	_ARRAY_SIZE
	add	x24, x24, #16
	cmp	x19, w0, sxtw
	b.lt	LBB0_5
LBB0_6:
Lloh53:
	adrp	x24, _sh2_write8_map@GOTPAGE
Lloh54:
	ldr	x24, [x24, _sh2_write8_map@GOTPAGEOFF]
	ldr	x0, [x24]
	bl	_ARRAY_SIZE
Lloh55:
	adrp	x25, _sh2_write16_map@GOTPAGE
Lloh56:
	ldr	x25, [x25, _sh2_write16_map@GOTPAGEOFF]
	cmp	w0, #1
	b.lt	LBB0_9
; %bb.7:
	mov	x19, #0
	mov	x26, #0
Lloh57:
	adrp	x27, _sh2_write8_unmapped@GOTPAGE
Lloh58:
	ldr	x27, [x27, _sh2_write8_unmapped@GOTPAGEOFF]
Lloh59:
	adrp	x28, _sh2_write16_unmapped@GOTPAGE
Lloh60:
	ldr	x28, [x28, _sh2_write16_unmapped@GOTPAGEOFF]
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x24]
	ldr	q0, [x27]
	str	q0, [x8, x19]
	ldr	x8, [x25]
	ldr	q0, [x28]
	str	q0, [x8, x19]
	add	x26, x26, #1
	ldr	x0, [x24]
	bl	_ARRAY_SIZE
	add	x19, x19, #16
	cmp	x26, w0, sxtw
	b.lt	LBB0_8
LBB0_9:
	mov	w8, #64
Lloh61:
	adrp	x9, _sh2_write_ignore@GOTPAGE
Lloh62:
	ldr	x9, [x9, _sh2_write_ignore@GOTPAGEOFF]
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x24]
	lsr	w11, w8, #1
	lsl	x11, x11, #4
	ldr	x12, [x25]
	ldr	q0, [x9]
	str	q0, [x12, x11]
	ldr	q0, [x9]
	str	q0, [x10, x11]
	add	w8, w8, #1
	cmp	w8, #96
	b.ne	LBB0_10
; %bb.11:
Lloh63:
	adrp	x8, _sh2_read8_cs0@GOTPAGE
Lloh64:
	ldr	x8, [x8, _sh2_read8_cs0@GOTPAGEOFF]
Lloh65:
	ldr	w0, [x8]
	bl	_MAP_HANDLER
	ldr	x8, [x22]
	str	x0, [x8, #264]
	str	x0, [x8, #8]
Lloh66:
	adrp	x8, _sh2_read16_cs0@GOTPAGE
Lloh67:
	ldr	x8, [x8, _sh2_read16_cs0@GOTPAGEOFF]
Lloh68:
	ldr	w0, [x8]
	bl	_MAP_HANDLER
	ldr	x8, [x23]
	str	x0, [x8, #264]
	str	x0, [x8, #8]
	ldr	x8, [x24]
Lloh69:
	adrp	x9, _sh2_write8_cs0@GOTPAGE
Lloh70:
	ldr	x9, [x9, _sh2_write8_cs0@GOTPAGEOFF]
Lloh71:
	ldr	q0, [x9]
	str	q0, [x8, #256]
	str	q0, [x8]
	ldr	x8, [x25]
Lloh72:
	adrp	x9, _sh2_write16_cs0@GOTPAGE
Lloh73:
	ldr	x9, [x9, _sh2_write16_cs0@GOTPAGEOFF]
Lloh74:
	ldr	q0, [x9]
	str	q0, [x8, #256]
	str	q0, [x8]
	ldr	x0, [x21, #8]
	bl	_MAP_MEMORY
	ldr	x8, [x23]
	str	x0, [x8, #280]
	str	x0, [x8, #24]
	ldr	x9, [x22]
	str	x0, [x9, #280]
	str	x0, [x9, #24]
	mov	w10, #4194303
	str	w10, [x8, #272]
	str	w10, [x8, #16]
	str	w10, [x9, #272]
	str	w10, [x9, #16]
	mov	w10, #131071
	str	w10, [x8, #288]
	str	w10, [x8, #32]
	str	w10, [x9, #288]
	str	w10, [x9, #32]
	ldr	x8, [x20]
	ldr	x0, [x8]
	bl	_MAP_MEMORY
	ldr	x8, [x23]
	str	x0, [x8, #312]
	str	x0, [x8, #56]
	ldr	x9, [x22]
	str	x0, [x9, #312]
	str	x0, [x9, #56]
	ldr	x10, [x24]
Lloh75:
	adrp	x11, _sh2_write8_sdram@GOTPAGE
Lloh76:
	ldr	x11, [x11, _sh2_write8_sdram@GOTPAGEOFF]
Lloh77:
	ldr	q0, [x11]
	str	q0, [x10, #48]
Lloh78:
	adrp	x11, _sh2_write8_sdram_wt@GOTPAGE
Lloh79:
	ldr	x11, [x11, _sh2_write8_sdram_wt@GOTPAGEOFF]
Lloh80:
	ldr	q0, [x11]
	str	q0, [x10, #304]
Lloh81:
	adrp	x10, _sh2_write16_sdram@GOTPAGE
Lloh82:
	ldr	x10, [x10, _sh2_write16_sdram@GOTPAGEOFF]
	ldr	x11, [x25]
Lloh83:
	ldr	q0, [x10]
	str	q0, [x11, #304]
	str	q0, [x11, #48]
	mov	w10, #262143
	str	w10, [x8, #304]
	str	w10, [x8, #48]
	str	w10, [x9, #304]
	str	w10, [x9, #48]
Lloh84:
	adrp	x8, _sh2_read8_da@GOTPAGE
Lloh85:
	ldr	x8, [x8, _sh2_read8_da@GOTPAGEOFF]
Lloh86:
	ldr	w0, [x8]
	bl	_MAP_HANDLER
	ldr	x8, [x22]
	str	x0, [x8, #1544]
Lloh87:
	adrp	x8, _sh2_read16_da@GOTPAGE
Lloh88:
	ldr	x8, [x8, _sh2_read16_da@GOTPAGEOFF]
Lloh89:
	ldr	w0, [x8]
	bl	_MAP_HANDLER
	ldr	x8, [x23]
	str	x0, [x8, #1544]
	ldr	x8, [x24]
Lloh90:
	adrp	x9, _sh2_write8_da@GOTPAGE
Lloh91:
	ldr	x9, [x9, _sh2_write8_da@GOTPAGEOFF]
Lloh92:
	ldr	q0, [x9]
	str	q0, [x8, #1536]
Lloh93:
	adrp	x8, _sh2_write16_da@GOTPAGE
Lloh94:
	ldr	x8, [x8, _sh2_write16_da@GOTPAGEOFF]
	ldr	x9, [x25]
Lloh95:
	ldr	q0, [x8]
	str	q0, [x9, #1536]
Lloh96:
	adrp	x8, _sh2_peripheral_read8@GOTPAGE
Lloh97:
	ldr	x8, [x8, _sh2_peripheral_read8@GOTPAGEOFF]
Lloh98:
	ldr	w0, [x8]
	bl	_MAP_HANDLER
	ldr	x8, [x22]
	str	x0, [x8, #2040]
Lloh99:
	adrp	x8, _sh2_peripheral_read16@GOTPAGE
Lloh100:
	ldr	x8, [x8, _sh2_peripheral_read16@GOTPAGEOFF]
Lloh101:
	ldr	w0, [x8]
	bl	_MAP_HANDLER
	ldr	x8, [x23]
	str	x0, [x8, #2040]
	ldr	x8, [x24]
Lloh102:
	adrp	x9, _sh2_peripheral_write8@GOTPAGE
Lloh103:
	ldr	x9, [x9, _sh2_peripheral_write8@GOTPAGEOFF]
Lloh104:
	ldr	q0, [x9]
	str	q0, [x8, #2032]
	ldr	x8, [x25]
Lloh105:
	adrp	x9, _sh2_peripheral_write16@GOTPAGE
Lloh106:
	ldr	x9, [x9, _sh2_peripheral_write16@GOTPAGEOFF]
Lloh107:
	ldr	q0, [x9]
	str	q0, [x8, #2032]
	mov	w0, #1
	bl	_Pico32xSwapDRAM
Lloh108:
	adrp	x19, _ssh2@GOTPAGE
Lloh109:
	ldr	x19, [x19, _ssh2@GOTPAGEOFF]
Lloh110:
	adrp	x0, _msh2@GOTPAGE
Lloh111:
	ldr	x0, [x0, _msh2@GOTPAGEOFF]
	ldr	x8, [x22]
	ldr	x9, [x23]
	stp	x9, x8, [x19, #16]
	stp	x9, x8, [x0, #16]
	ldr	x8, [x24]
	ldr	x9, [x25]
	stp	x8, x9, [x19]
	stp	x8, x9, [x0]
	bl	_sh2_drc_mem_setup
	mov	x0, x19
	bl	_sh2_drc_mem_setup
Lloh112:
	adrp	x8, _z80_write_map@GOTPAGE
Lloh113:
	ldr	x8, [x8, _z80_write_map@GOTPAGEOFF]
Lloh114:
	ldr	w0, [x8]
Lloh115:
	adrp	x8, _z80_md_bank_write_32x@GOTPAGE
Lloh116:
	ldr	x8, [x8, _z80_md_bank_write_32x@GOTPAGEOFF]
Lloh117:
	ldr	w3, [x8]
	mov	w1, #32768
	mov	w2, #65535
	mov	w4, #1
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_z80_map_set
LBB0_12:
Lloh118:
	adrp	x8, _EL_STATUS@GOTPAGE
Lloh119:
	ldr	x8, [x8, _EL_STATUS@GOTPAGEOFF]
Lloh120:
	ldr	w0, [x8]
Lloh121:
	adrp	x1, l_.str@PAGE
Lloh122:
	add	x1, x1, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_elprintf
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh47, Lloh48
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh51, Lloh52
	.loh AdrpLdrGot	Lloh49, Lloh50
	.loh AdrpLdrGot	Lloh55, Lloh56
	.loh AdrpLdrGot	Lloh53, Lloh54
	.loh AdrpLdrGot	Lloh59, Lloh60
	.loh AdrpLdrGot	Lloh57, Lloh58
	.loh AdrpLdrGot	Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh115, Lloh116, Lloh117
	.loh AdrpLdrGotLdr	Lloh112, Lloh113, Lloh114
	.loh AdrpLdrGot	Lloh110, Lloh111
	.loh AdrpLdrGot	Lloh108, Lloh109
	.loh AdrpLdrGotLdr	Lloh105, Lloh106, Lloh107
	.loh AdrpLdrGotLdr	Lloh102, Lloh103, Lloh104
	.loh AdrpLdrGotLdr	Lloh99, Lloh100, Lloh101
	.loh AdrpLdrGotLdr	Lloh96, Lloh97, Lloh98
	.loh AdrpLdrGotLdr	Lloh93, Lloh94, Lloh95
	.loh AdrpLdrGotLdr	Lloh90, Lloh91, Lloh92
	.loh AdrpLdrGotLdr	Lloh87, Lloh88, Lloh89
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh86
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpAdd	Lloh121, Lloh122
	.loh AdrpLdrGotLdr	Lloh118, Lloh119, Lloh120
	.cfi_endproc
                                        ; -- End function
	.comm	_Pico32xMem,8,3                 ; @Pico32xMem
	.comm	_EL_STATUS,4,2                  ; @EL_STATUS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"OOM"

	.comm	_Pico,24,3                      ; @Pico
	.comm	_m68k_read8_map,4,2             ; @m68k_read8_map
	.comm	_m68k_read16_map,4,2            ; @m68k_read16_map
	.comm	_m68k_write8_map,4,2            ; @m68k_write8_map
	.comm	_PicoWrite8_hint,8,3            ; @PicoWrite8_hint
	.comm	_m68k_write16_map,4,2           ; @m68k_write16_map
	.comm	_PicoWrite16_hint,8,3           ; @PicoWrite16_hint
	.comm	_M68K_BANK_MASK,4,2             ; @M68K_BANK_MASK
	.comm	_PicoWrite8_cart,8,3            ; @PicoWrite8_cart
	.comm	_PicoWrite16_cart,8,3           ; @PicoWrite16_cart
	.comm	_PicoWrite8_bank,8,3            ; @PicoWrite8_bank
	.comm	_PicoWrite16_bank,8,3           ; @PicoWrite16_bank
	.comm	_PicoRead8_32x_on,8,3           ; @PicoRead8_32x_on
	.comm	_PicoRead16_32x_on,8,3          ; @PicoRead16_32x_on
	.comm	_PicoWrite8_32x_on,8,3          ; @PicoWrite8_32x_on
	.comm	_PicoWrite16_32x_on,8,3         ; @PicoWrite16_32x_on
	.comm	_sh2_read8_map,8,3              ; @sh2_read8_map
	.comm	_sh2_read8_unmapped,4,2         ; @sh2_read8_unmapped
	.comm	_sh2_read16_unmapped,4,2        ; @sh2_read16_unmapped
	.comm	_sh2_read16_map,8,3             ; @sh2_read16_map
	.comm	_sh2_write8_map,8,3             ; @sh2_write8_map
	.comm	_sh2_write8_unmapped,16,3       ; @sh2_write8_unmapped
	.comm	_sh2_write16_map,8,3            ; @sh2_write16_map
	.comm	_sh2_write16_unmapped,16,3      ; @sh2_write16_unmapped
	.comm	_sh2_write_ignore,16,3          ; @sh2_write_ignore
	.comm	_sh2_read8_cs0,4,2              ; @sh2_read8_cs0
	.comm	_sh2_read16_cs0,4,2             ; @sh2_read16_cs0
	.comm	_sh2_write8_cs0,16,3            ; @sh2_write8_cs0
	.comm	_sh2_write16_cs0,16,3           ; @sh2_write16_cs0
	.comm	_sh2_write8_sdram,16,3          ; @sh2_write8_sdram
	.comm	_sh2_write8_sdram_wt,16,3       ; @sh2_write8_sdram_wt
	.comm	_sh2_write16_sdram,16,3         ; @sh2_write16_sdram
	.comm	_sh2_read8_da,4,2               ; @sh2_read8_da
	.comm	_sh2_read16_da,4,2              ; @sh2_read16_da
	.comm	_sh2_write8_da,16,3             ; @sh2_write8_da
	.comm	_sh2_write16_da,16,3            ; @sh2_write16_da
	.comm	_sh2_peripheral_read8,4,2       ; @sh2_peripheral_read8
	.comm	_sh2_peripheral_read16,4,2      ; @sh2_peripheral_read16
	.comm	_sh2_peripheral_write8,16,3     ; @sh2_peripheral_write8
	.comm	_sh2_peripheral_write16,16,3    ; @sh2_peripheral_write16
	.comm	_ssh2,32,3                      ; @ssh2
	.comm	_msh2,32,3                      ; @msh2
	.comm	_z80_write_map,4,2              ; @z80_write_map
	.comm	_z80_md_bank_write_32x,4,2      ; @z80_md_bank_write_32x
	.comm	_PicoCpuFM68k,8,3               ; @PicoCpuFM68k
.subsections_via_symbols
