	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PicoMemSetup                   ## -- Begin function PicoMemSetup
	.p2align	4, 0x90
_PicoMemSetup:                          ## @PicoMemSetup
	.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), %rax
	movq	(%rax), %rdi
	movq	_m68k_unmapped_read8@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	xorl	%esi, %esi
	movl	$16777215, %edx                 ## imm = 0xFFFFFF
	movl	$1, %r8d
	callq	_cpu68k_map_set
	movq	_m68k_read16_map@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	_m68k_unmapped_read16@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	xorl	%esi, %esi
	movl	$16777215, %edx                 ## imm = 0xFFFFFF
	movl	$1, %r8d
	callq	_cpu68k_map_set
	movq	_m68k_write8_map@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	_m68k_unmapped_write8@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	xorl	%esi, %esi
	movl	$16777215, %edx                 ## imm = 0xFFFFFF
	movl	$1, %r8d
	callq	_cpu68k_map_set
	movq	_m68k_write16_map@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	movq	_m68k_unmapped_write16@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	xorl	%esi, %esi
	movl	$16777215, %edx                 ## imm = 0xFFFFFF
	movl	$1, %r8d
	callq	_cpu68k_map_set
	movq	_M68K_MEM_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	$-1, %r13d
	shll	%cl, %r13d
	movl	%r13d, %r14d
	notl	%r14d
	movq	_Pico@GOTPCREL(%rip), %r15
	movl	(%r15), %ebx
	addl	%r14d, %ebx
	andl	%r13d, %ebx
	movq	_m68k_read8_map@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	decl	%ebx
	movq	16(%r15), %rcx
	xorl	%esi, %esi
	movl	%ebx, %edx
	xorl	%r8d, %r8d
	callq	_cpu68k_map_set
	movq	_m68k_read16_map@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	16(%r15), %rcx
	xorl	%esi, %esi
	movl	%ebx, %edx
	xorl	%r8d, %r8d
	callq	_cpu68k_map_set
	movq	_SRam@GOTPCREL(%rip), %r15
	movq	_SRF_ENABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r15)
	je	LBB0_3
## %bb.1:
	cmpq	$0, 16(%r15)
	je	LBB0_3
## %bb.2:
	movl	8(%r15), %esi
	addl	4(%r15), %r14d
	subl	%esi, %r14d
	andl	%r13d, %r14d
	leal	(%r14,%rsi), %eax
	movl	$16777216, %ebx                 ## imm = 0x1000000
	subl	%esi, %ebx
	cmpl	$16777216, %eax                 ## imm = 0x1000000
	cmovll	%r14d, %ebx
	movq	_m68k_read8_map@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	leal	-1(%rbx,%rsi), %edx
	movq	_PicoRead8_sram@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
                                        ## kill: def $esi killed $esi killed $rsi
	movl	$1, %r8d
	callq	_cpu68k_map_set
	movq	_m68k_read16_map@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movl	8(%r15), %esi
	leal	(%rbx,%rsi), %edx
	decl	%edx
	movq	_PicoRead16_sram@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
                                        ## kill: def $esi killed $esi killed $rsi
	movl	$1, %r8d
	callq	_cpu68k_map_set
	movq	_m68k_write8_map@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movl	8(%r15), %esi
	leal	(%rbx,%rsi), %edx
	decl	%edx
	movq	_PicoWrite8_sram@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
                                        ## kill: def $esi killed $esi killed $rsi
	movl	$1, %r8d
	callq	_cpu68k_map_set
	movq	(%r12), %rdi
	movl	8(%r15), %esi
	leal	(%rbx,%rsi), %edx
	decl	%edx
	movq	_PicoWrite16_sram@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
                                        ## kill: def $esi killed $esi killed $rsi
	movl	$1, %r8d
	callq	_cpu68k_map_set
LBB0_3:
	movq	_m68k_read8_map@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	movq	_PicoRead8_z80@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movl	$10485760, %esi                 ## imm = 0xA00000
	movl	$10551295, %edx                 ## imm = 0xA0FFFF
	movl	$1, %r8d
	callq	_cpu68k_map_set
	movq	_m68k_read16_map@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	movq	_PicoRead16_z80@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movl	$10485760, %esi                 ## imm = 0xA00000
	movl	$10551295, %edx                 ## imm = 0xA0FFFF
	movl	$1, %r8d
	callq	_cpu68k_map_set
	movq	_m68k_write8_map@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	movq	_PicoWrite8_z80@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movl	$10485760, %esi                 ## imm = 0xA00000
	movl	$10551295, %edx                 ## imm = 0xA0FFFF
	movl	$1, %r8d
	callq	_cpu68k_map_set
	movq	(%r12), %rdi
	movq	_PicoWrite16_z80@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movl	$10485760, %esi                 ## imm = 0xA00000
	movl	$10551295, %edx                 ## imm = 0xA0FFFF
	movl	$1, %r8d
	callq	_cpu68k_map_set
	movq	(%r14), %rdi
	movq	_PicoRead8_io@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movl	$10551296, %esi                 ## imm = 0xA10000
	movl	$10616831, %edx                 ## imm = 0xA1FFFF
	movl	$1, %r8d
	callq	_cpu68k_map_set
	movq	(%rbx), %rdi
	movq	_PicoRead16_io@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movl	$10551296, %esi                 ## imm = 0xA10000
	movl	$10616831, %edx                 ## imm = 0xA1FFFF
	movl	$1, %r8d
	callq	_cpu68k_map_set
	movq	(%r15), %rdi
	movq	_PicoWrite8_io@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movl	$10551296, %esi                 ## imm = 0xA10000
	movl	$10616831, %edx                 ## imm = 0xA1FFFF
	movl	$1, %r8d
	callq	_cpu68k_map_set
	movq	(%r12), %rdi
	movq	_PicoWrite16_io@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movl	$10551296, %esi                 ## imm = 0xA10000
	movl	$10616831, %edx                 ## imm = 0xA1FFFF
	movl	$1, %r8d
	callq	_cpu68k_map_set
	movl	$12517376, %ebx                 ## imm = 0xBF0000
	movq	_PicoWrite8_vdp@GOTPCREL(%rip), %r13
	movq	_PicoWrite16_vdp@GOTPCREL(%rip), %r15
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	%r14d, %ebx
	cmpl	$14614528, %r14d                ## imm = 0xDF0000
	jae	LBB0_7
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	leal	65536(%rbx), %r14d
	movl	%r14d, %eax
	andl	$15138816, %eax                 ## imm = 0xE70000
	cmpl	$12582912, %eax                 ## imm = 0xC00000
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	_m68k_read8_map@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addl	$131071, %ebx                   ## imm = 0x1FFFF
	movq	_PicoRead8_vdp@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movl	%r14d, %esi
	movl	%ebx, %edx
	movl	$1, %r8d
	callq	_cpu68k_map_set
	movq	_m68k_read16_map@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	_PicoRead16_vdp@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movl	%r14d, %esi
	movl	%ebx, %edx
	movl	$1, %r8d
	callq	_cpu68k_map_set
	movq	_m68k_write8_map@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	(%r13), %rcx
	movl	%r14d, %esi
	movl	%ebx, %edx
	movl	$1, %r8d
	callq	_cpu68k_map_set
	movq	(%r12), %rdi
	movq	(%r15), %rcx
	movl	%r14d, %esi
	movl	%ebx, %edx
	movl	$1, %r8d
	callq	_cpu68k_map_set
	jmp	LBB0_6
LBB0_7:
	movl	$14680064, %ebx                 ## imm = 0xE00000
	movq	%r12, %r15
	movq	_m68k_write8_map@GOTPCREL(%rip), %r12
	movq	_Pico@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	_m68k_read8_map@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	8(%r13), %rcx
	leal	65535(%rbx), %r14d
	movl	%ebx, %esi
	movl	%r14d, %edx
	xorl	%r8d, %r8d
	callq	_cpu68k_map_set
	movq	_m68k_read16_map@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	8(%r13), %rcx
	movl	%ebx, %esi
	movl	%r14d, %edx
	xorl	%r8d, %r8d
	callq	_cpu68k_map_set
	movq	(%r12), %rdi
	movq	8(%r13), %rcx
	movl	%ebx, %esi
	movl	%r14d, %edx
	xorl	%r8d, %r8d
	callq	_cpu68k_map_set
	movq	(%r15), %rdi
	movq	8(%r13), %rcx
	movl	%ebx, %esi
	movl	%r14d, %edx
	xorl	%r8d, %r8d
	callq	_cpu68k_map_set
	leal	65536(%rbx), %eax
	cmpl	$16711680, %ebx                 ## imm = 0xFF0000
	movl	%eax, %ebx
	jb	LBB0_8
## %bb.9:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_z80_mem_setup                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_m68k_read8_map,8,3             ## @m68k_read8_map
	.comm	_m68k_unmapped_read8,8,3        ## @m68k_unmapped_read8
	.comm	_m68k_read16_map,8,3            ## @m68k_read16_map
	.comm	_m68k_unmapped_read16,8,3       ## @m68k_unmapped_read16
	.comm	_m68k_write8_map,8,3            ## @m68k_write8_map
	.comm	_m68k_unmapped_write8,8,3       ## @m68k_unmapped_write8
	.comm	_m68k_write16_map,8,3           ## @m68k_write16_map
	.comm	_m68k_unmapped_write16,8,3      ## @m68k_unmapped_write16
	.comm	_M68K_MEM_SHIFT,4,2             ## @M68K_MEM_SHIFT
	.comm	_Pico,24,3                      ## @Pico
	.comm	_SRam,24,3                      ## @SRam
	.comm	_SRF_ENABLED,4,2                ## @SRF_ENABLED
	.comm	_PicoRead8_sram,8,3             ## @PicoRead8_sram
	.comm	_PicoRead16_sram,8,3            ## @PicoRead16_sram
	.comm	_PicoWrite8_sram,8,3            ## @PicoWrite8_sram
	.comm	_PicoWrite16_sram,8,3           ## @PicoWrite16_sram
	.comm	_PicoRead8_z80,8,3              ## @PicoRead8_z80
	.comm	_PicoRead16_z80,8,3             ## @PicoRead16_z80
	.comm	_PicoWrite8_z80,8,3             ## @PicoWrite8_z80
	.comm	_PicoWrite16_z80,8,3            ## @PicoWrite16_z80
	.comm	_PicoRead8_io,8,3               ## @PicoRead8_io
	.comm	_PicoRead16_io,8,3              ## @PicoRead16_io
	.comm	_PicoWrite8_io,8,3              ## @PicoWrite8_io
	.comm	_PicoWrite16_io,8,3             ## @PicoWrite16_io
	.comm	_PicoRead8_vdp,8,3              ## @PicoRead8_vdp
	.comm	_PicoRead16_vdp,8,3             ## @PicoRead16_vdp
	.comm	_PicoWrite8_vdp,8,3             ## @PicoWrite8_vdp
	.comm	_PicoWrite16_vdp,8,3            ## @PicoWrite16_vdp
	.comm	_FAMEC_FETCHBITS,4,2            ## @FAMEC_FETCHBITS
	.comm	_M68K_FETCHBANK1,4,2            ## @M68K_FETCHBANK1
	.comm	_PicoCpuCM68k,80,3              ## @PicoCpuCM68k
	.comm	_PicoCpuFM68k,32,3              ## @PicoCpuFM68k
	.comm	_m68k_read16,4,2                ## @m68k_read16
	.comm	_m68k_read32,4,2                ## @m68k_read32
	.comm	_m68k_read8,4,2                 ## @m68k_read8
	.comm	_m68k_write16,4,2               ## @m68k_write16
	.comm	_m68k_write32,4,2               ## @m68k_write32
	.comm	_m68k_write8,4,2                ## @m68k_write8
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PicoMemSetup                   ; -- Begin function PicoMemSetup
	.p2align	2
_PicoMemSetup:                          ; @PicoMemSetup
	.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
Lloh0:
	adrp	x22, _m68k_read8_map@GOTPAGE
Lloh1:
	ldr	x22, [x22, _m68k_read8_map@GOTPAGEOFF]
	ldr	x0, [x22]
Lloh2:
	adrp	x8, _m68k_unmapped_read8@GOTPAGE
Lloh3:
	ldr	x8, [x8, _m68k_unmapped_read8@GOTPAGEOFF]
Lloh4:
	ldr	x3, [x8]
	mov	w1, #0
	mov	w2, #16777215
	mov	w4, #1
	bl	_cpu68k_map_set
Lloh5:
	adrp	x26, _m68k_read16_map@GOTPAGE
Lloh6:
	ldr	x26, [x26, _m68k_read16_map@GOTPAGEOFF]
	ldr	x0, [x26]
Lloh7:
	adrp	x8, _m68k_unmapped_read16@GOTPAGE
Lloh8:
	ldr	x8, [x8, _m68k_unmapped_read16@GOTPAGEOFF]
Lloh9:
	ldr	x3, [x8]
	mov	w1, #0
	mov	w2, #16777215
	mov	w4, #1
	bl	_cpu68k_map_set
Lloh10:
	adrp	x27, _m68k_write8_map@GOTPAGE
Lloh11:
	ldr	x27, [x27, _m68k_write8_map@GOTPAGEOFF]
	ldr	x0, [x27]
Lloh12:
	adrp	x8, _m68k_unmapped_write8@GOTPAGE
Lloh13:
	ldr	x8, [x8, _m68k_unmapped_write8@GOTPAGEOFF]
Lloh14:
	ldr	x3, [x8]
	mov	w1, #0
	mov	w2, #16777215
	mov	w4, #1
	bl	_cpu68k_map_set
Lloh15:
	adrp	x28, _m68k_write16_map@GOTPAGE
Lloh16:
	ldr	x28, [x28, _m68k_write16_map@GOTPAGEOFF]
	ldr	x0, [x28]
Lloh17:
	adrp	x8, _m68k_unmapped_write16@GOTPAGE
Lloh18:
	ldr	x8, [x8, _m68k_unmapped_write16@GOTPAGEOFF]
Lloh19:
	ldr	x3, [x8]
	mov	w1, #0
	mov	w2, #16777215
	mov	w4, #1
	bl	_cpu68k_map_set
Lloh20:
	adrp	x8, _M68K_MEM_SHIFT@GOTPAGE
Lloh21:
	ldr	x8, [x8, _M68K_MEM_SHIFT@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	mov	w9, #-1
	lsl	w20, w9, w8
	mvn	w21, w20
Lloh23:
	adrp	x25, _Pico@GOTPAGE
Lloh24:
	ldr	x25, [x25, _Pico@GOTPAGEOFF]
	ldr	w8, [x25]
	add	w8, w8, w21
	and	w8, w8, w20
	ldr	x0, [x22]
	sub	w19, w8, #1
	ldr	x3, [x25, #16]
	mov	w1, #0
	mov	x2, x19
	mov	w4, #0
	bl	_cpu68k_map_set
	ldr	x0, [x26]
	ldr	x3, [x25, #16]
	mov	w1, #0
	mov	x2, x19
	mov	w4, #0
	bl	_cpu68k_map_set
Lloh25:
	adrp	x19, _SRam@GOTPAGE
Lloh26:
	ldr	x19, [x19, _SRam@GOTPAGEOFF]
	ldr	w8, [x19]
Lloh27:
	adrp	x9, _SRF_ENABLED@GOTPAGE
Lloh28:
	ldr	x9, [x9, _SRF_ENABLED@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.1:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_3
; %bb.2:
	ldp	w8, w1, [x19, #4]
	add	w8, w8, w21
	sub	w8, w8, w1
	and	w8, w8, w20
	mov	w9, #16777216
	sub	w9, w9, w1
	mov	w10, #16777215
	add	w11, w8, w1
	cmp	w11, w10
	csel	w8, w9, w8, gt
	ldr	x0, [x22]
	sub	w20, w8, #1
	add	w2, w20, w1
Lloh30:
	adrp	x8, _PicoRead8_sram@GOTPAGE
Lloh31:
	ldr	x8, [x8, _PicoRead8_sram@GOTPAGEOFF]
Lloh32:
	ldr	x3, [x8]
	mov	w4, #1
	bl	_cpu68k_map_set
	ldr	x0, [x26]
	ldr	w1, [x19, #8]
	add	w2, w20, w1
Lloh33:
	adrp	x8, _PicoRead16_sram@GOTPAGE
Lloh34:
	ldr	x8, [x8, _PicoRead16_sram@GOTPAGEOFF]
Lloh35:
	ldr	x3, [x8]
	mov	w4, #1
	bl	_cpu68k_map_set
	ldr	x0, [x27]
	ldr	w1, [x19, #8]
	add	w2, w20, w1
Lloh36:
	adrp	x8, _PicoWrite8_sram@GOTPAGE
Lloh37:
	ldr	x8, [x8, _PicoWrite8_sram@GOTPAGEOFF]
Lloh38:
	ldr	x3, [x8]
	mov	w4, #1
	bl	_cpu68k_map_set
	ldr	x0, [x28]
	ldr	w1, [x19, #8]
	add	w2, w20, w1
Lloh39:
	adrp	x8, _PicoWrite16_sram@GOTPAGE
Lloh40:
	ldr	x8, [x8, _PicoWrite16_sram@GOTPAGEOFF]
Lloh41:
	ldr	x3, [x8]
	mov	w4, #1
	bl	_cpu68k_map_set
LBB0_3:
	mov	w19, #10551295
	ldr	x0, [x22]
Lloh42:
	adrp	x8, _PicoRead8_z80@GOTPAGE
Lloh43:
	ldr	x8, [x8, _PicoRead8_z80@GOTPAGEOFF]
Lloh44:
	ldr	x3, [x8]
	mov	w1, #10485760
	mov	w2, #10551295
	mov	w4, #1
	bl	_cpu68k_map_set
	ldr	x0, [x26]
Lloh45:
	adrp	x8, _PicoRead16_z80@GOTPAGE
Lloh46:
	ldr	x8, [x8, _PicoRead16_z80@GOTPAGEOFF]
Lloh47:
	ldr	x3, [x8]
	mov	w1, #10485760
	mov	w2, #10551295
	mov	w4, #1
	bl	_cpu68k_map_set
	ldr	x0, [x27]
Lloh48:
	adrp	x8, _PicoWrite8_z80@GOTPAGE
Lloh49:
	ldr	x8, [x8, _PicoWrite8_z80@GOTPAGEOFF]
Lloh50:
	ldr	x3, [x8]
	mov	w1, #10485760
	mov	w2, #10551295
	mov	w4, #1
	bl	_cpu68k_map_set
	ldr	x0, [x28]
Lloh51:
	adrp	x8, _PicoWrite16_z80@GOTPAGE
Lloh52:
	ldr	x8, [x8, _PicoWrite16_z80@GOTPAGEOFF]
Lloh53:
	ldr	x3, [x8]
	mov	w1, #10485760
	mov	w2, #10551295
	mov	w4, #1
	bl	_cpu68k_map_set
	ldr	x0, [x22]
Lloh54:
	adrp	x8, _PicoRead8_io@GOTPAGE
Lloh55:
	ldr	x8, [x8, _PicoRead8_io@GOTPAGEOFF]
Lloh56:
	ldr	x3, [x8]
	orr	w19, w19, #0x10000
	mov	w1, #10551296
	mov	x2, x19
	mov	w4, #1
	bl	_cpu68k_map_set
	mov	x23, x26
	ldr	x0, [x26]
Lloh57:
	adrp	x8, _PicoRead16_io@GOTPAGE
Lloh58:
	ldr	x8, [x8, _PicoRead16_io@GOTPAGEOFF]
Lloh59:
	ldr	x3, [x8]
	mov	w1, #10551296
	mov	x2, x19
	mov	w4, #1
	bl	_cpu68k_map_set
	mov	x24, x27
	ldr	x0, [x27]
Lloh60:
	adrp	x8, _PicoWrite8_io@GOTPAGE
Lloh61:
	ldr	x8, [x8, _PicoWrite8_io@GOTPAGEOFF]
Lloh62:
	ldr	x3, [x8]
	mov	w1, #10551296
	mov	x2, x19
	mov	w4, #1
	bl	_cpu68k_map_set
	ldr	x0, [x28]
Lloh63:
	adrp	x8, _PicoWrite16_io@GOTPAGE
Lloh64:
	ldr	x8, [x8, _PicoWrite16_io@GOTPAGEOFF]
Lloh65:
	ldr	x3, [x8]
	mov	w1, #10551296
	mov	x2, x19
	mov	w4, #1
	bl	_cpu68k_map_set
	mov	w8, #12517376
	mov	w27, #15138816
Lloh66:
	adrp	x28, _PicoRead8_vdp@GOTPAGE
Lloh67:
	ldr	x28, [x28, _PicoRead8_vdp@GOTPAGEOFF]
Lloh68:
	adrp	x26, _PicoRead16_vdp@GOTPAGE
Lloh69:
	ldr	x26, [x26, _PicoRead16_vdp@GOTPAGEOFF]
Lloh70:
	adrp	x21, _PicoWrite8_vdp@GOTPAGE
Lloh71:
	ldr	x21, [x21, _PicoWrite8_vdp@GOTPAGEOFF]
Lloh72:
	adrp	x22, _PicoWrite16_vdp@GOTPAGE
Lloh73:
	ldr	x22, [x22, _PicoWrite16_vdp@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x8, x19
	cmp	w19, #3568, lsl #12             ; =14614528
	b.hs	LBB0_7
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	add	w19, w8, #16, lsl #12           ; =65536
	and	w9, w19, w27
	cmp	w9, #3072, lsl #12              ; =12582912
	b.ne	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh74:
	adrp	x9, _m68k_read8_map@GOTPAGE
Lloh75:
	ldr	x9, [x9, _m68k_read8_map@GOTPAGEOFF]
Lloh76:
	ldr	x0, [x9]
	mov	w9, #10551295
	add	w8, w9, w8
	sub	w20, w8, #2544, lsl #12         ; =10420224
	ldr	x3, [x28]
	mov	x1, x19
	mov	x2, x20
	mov	w4, #1
	bl	_cpu68k_map_set
	ldr	x0, [x23]
	ldr	x3, [x26]
	mov	x1, x19
	mov	x2, x20
	mov	w4, #1
	bl	_cpu68k_map_set
	ldr	x0, [x24]
	ldr	x3, [x21]
	mov	x1, x19
	mov	x2, x20
	mov	w4, #1
	bl	_cpu68k_map_set
Lloh77:
	adrp	x8, _m68k_write16_map@GOTPAGE
Lloh78:
	ldr	x8, [x8, _m68k_write16_map@GOTPAGEOFF]
Lloh79:
	ldr	x0, [x8]
	ldr	x3, [x22]
	mov	x1, x19
	mov	x2, x20
	mov	w4, #1
	bl	_cpu68k_map_set
	b	LBB0_4
LBB0_7:
	mov	w19, #14680064
	mov	w21, #65535
Lloh80:
	adrp	x22, _m68k_read8_map@GOTPAGE
Lloh81:
	ldr	x22, [x22, _m68k_read8_map@GOTPAGEOFF]
Lloh82:
	adrp	x26, _m68k_write16_map@GOTPAGE
Lloh83:
	ldr	x26, [x26, _m68k_write16_map@GOTPAGEOFF]
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x22]
	ldr	x3, [x25, #8]
	add	w20, w19, w21
	mov	x1, x19
	mov	x2, x20
	mov	w4, #0
	bl	_cpu68k_map_set
	ldr	x0, [x23]
	ldr	x3, [x25, #8]
	mov	x1, x19
	mov	x2, x20
	mov	w4, #0
	bl	_cpu68k_map_set
	ldr	x0, [x24]
	ldr	x3, [x25, #8]
	mov	x1, x19
	mov	x2, x20
	mov	w4, #0
	bl	_cpu68k_map_set
	ldr	x0, [x26]
	ldr	x3, [x25, #8]
	mov	x1, x19
	mov	x2, x20
	mov	w4, #0
	bl	_cpu68k_map_set
	add	w8, w19, #16, lsl #12           ; =65536
	cmp	w19, #4080, lsl #12             ; =16711680
	mov	x19, x8
	b.lo	LBB0_8
; %bb.9:
	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_mem_setup
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh72, Lloh73
	.loh AdrpLdrGot	Lloh70, Lloh71
	.loh AdrpLdrGot	Lloh68, Lloh69
	.loh AdrpLdrGot	Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpLdrGot	Lloh82, Lloh83
	.loh AdrpLdrGot	Lloh80, Lloh81
	.cfi_endproc
                                        ; -- End function
	.comm	_m68k_read8_map,8,3             ; @m68k_read8_map
	.comm	_m68k_unmapped_read8,8,3        ; @m68k_unmapped_read8
	.comm	_m68k_read16_map,8,3            ; @m68k_read16_map
	.comm	_m68k_unmapped_read16,8,3       ; @m68k_unmapped_read16
	.comm	_m68k_write8_map,8,3            ; @m68k_write8_map
	.comm	_m68k_unmapped_write8,8,3       ; @m68k_unmapped_write8
	.comm	_m68k_write16_map,8,3           ; @m68k_write16_map
	.comm	_m68k_unmapped_write16,8,3      ; @m68k_unmapped_write16
	.comm	_M68K_MEM_SHIFT,4,2             ; @M68K_MEM_SHIFT
	.comm	_Pico,24,3                      ; @Pico
	.comm	_SRam,24,3                      ; @SRam
	.comm	_SRF_ENABLED,4,2                ; @SRF_ENABLED
	.comm	_PicoRead8_sram,8,3             ; @PicoRead8_sram
	.comm	_PicoRead16_sram,8,3            ; @PicoRead16_sram
	.comm	_PicoWrite8_sram,8,3            ; @PicoWrite8_sram
	.comm	_PicoWrite16_sram,8,3           ; @PicoWrite16_sram
	.comm	_PicoRead8_z80,8,3              ; @PicoRead8_z80
	.comm	_PicoRead16_z80,8,3             ; @PicoRead16_z80
	.comm	_PicoWrite8_z80,8,3             ; @PicoWrite8_z80
	.comm	_PicoWrite16_z80,8,3            ; @PicoWrite16_z80
	.comm	_PicoRead8_io,8,3               ; @PicoRead8_io
	.comm	_PicoRead16_io,8,3              ; @PicoRead16_io
	.comm	_PicoWrite8_io,8,3              ; @PicoWrite8_io
	.comm	_PicoWrite16_io,8,3             ; @PicoWrite16_io
	.comm	_PicoRead8_vdp,8,3              ; @PicoRead8_vdp
	.comm	_PicoRead16_vdp,8,3             ; @PicoRead16_vdp
	.comm	_PicoWrite8_vdp,8,3             ; @PicoWrite8_vdp
	.comm	_PicoWrite16_vdp,8,3            ; @PicoWrite16_vdp
	.comm	_FAMEC_FETCHBITS,4,2            ; @FAMEC_FETCHBITS
	.comm	_M68K_FETCHBANK1,4,2            ; @M68K_FETCHBANK1
	.comm	_PicoCpuCM68k,80,3              ; @PicoCpuCM68k
	.comm	_PicoCpuFM68k,32,3              ; @PicoCpuFM68k
	.comm	_m68k_read16,4,2                ; @m68k_read16
	.comm	_m68k_read32,4,2                ; @m68k_read32
	.comm	_m68k_read8,4,2                 ; @m68k_read8
	.comm	_m68k_write16,4,2               ; @m68k_write16
	.comm	_m68k_write32,4,2               ; @m68k_write32
	.comm	_m68k_write8,4,2                ; @m68k_write8
.subsections_via_symbols
