	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function carthw_sprot_mem_setup
_carthw_sprot_mem_setup:                ## @carthw_sprot_mem_setup
	.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	_Pico@GOTPCREL(%rip), %rax
	movq	_M68K_BANK_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	movl	(%rax), %eax
	addl	%ebx, %eax
	notl	%ebx
	andl	%eax, %ebx
	movq	_m68k_read8_map@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_PicoRead8_sprot@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ebx, %esi
	movl	$8388607, %edx                  ## imm = 0x7FFFFF
	movl	$1, %r8d
	callq	_cpu68k_map_set
	movq	_m68k_read16_map@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_PicoRead16_sprot@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ebx, %esi
	movl	$8388607, %edx                  ## imm = 0x7FFFFF
	movl	$1, %r8d
	callq	_cpu68k_map_set
	movq	_m68k_write8_map@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	_PicoWrite8_sprot@GOTPCREL(%rip), %r15
	movl	(%r15), %ecx
	movl	%ebx, %esi
	movl	$8388607, %edx                  ## imm = 0x7FFFFF
	movl	$1, %r8d
	callq	_cpu68k_map_set
	movq	_m68k_write16_map@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movq	_PicoWrite16_sprot@GOTPCREL(%rip), %r13
	movl	(%r13), %ecx
	movl	%ebx, %esi
	movl	$8388607, %edx                  ## imm = 0x7FFFFF
	movl	$1, %r8d
	callq	_cpu68k_map_set
	movq	_m68k_read8_map@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_PicoRead8_sprot@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	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_sprot@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	$10551296, %esi                 ## imm = 0xA10000
	movl	$10616831, %edx                 ## imm = 0xA1FFFF
	movl	$1, %r8d
	callq	_cpu68k_map_set
	movl	(%r14), %edi
	movl	(%r15), %ecx
	movl	$10551296, %esi                 ## imm = 0xA10000
	movl	$10616831, %edx                 ## imm = 0xA1FFFF
	movl	$1, %r8d
	callq	_cpu68k_map_set
	movl	(%r12), %edi
	movl	(%r13), %ecx
	movl	$10551296, %esi                 ## imm = 0xA10000
	movl	$10616831, %edx                 ## imm = 0xA1FFFF
	movl	$1, %r8d
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_cpu68k_map_set                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_Pico,4,2                       ## @Pico
	.comm	_M68K_BANK_MASK,4,2             ## @M68K_BANK_MASK
	.comm	_m68k_read8_map,4,2             ## @m68k_read8_map
	.comm	_PicoRead8_sprot,4,2            ## @PicoRead8_sprot
	.comm	_m68k_read16_map,4,2            ## @m68k_read16_map
	.comm	_PicoRead16_sprot,4,2           ## @PicoRead16_sprot
	.comm	_m68k_write8_map,4,2            ## @m68k_write8_map
	.comm	_PicoWrite8_sprot,4,2           ## @PicoWrite8_sprot
	.comm	_m68k_write16_map,4,2           ## @m68k_write16_map
	.comm	_PicoWrite16_sprot,4,2          ## @PicoWrite16_sprot
	.no_dead_strip	_carthw_sprot_mem_setup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function carthw_sprot_mem_setup
_carthw_sprot_mem_setup:                ; @carthw_sprot_mem_setup
	.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	x8, _Pico@GOTPAGE
Lloh1:
	ldr	x8, [x8, _Pico@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _M68K_BANK_MASK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _M68K_BANK_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	add	w8, w9, w8
	bic	w19, w8, w9
Lloh6:
	adrp	x20, _m68k_read8_map@GOTPAGE
Lloh7:
	ldr	x20, [x20, _m68k_read8_map@GOTPAGEOFF]
	ldr	w0, [x20]
Lloh8:
	adrp	x21, _PicoRead8_sprot@GOTPAGE
Lloh9:
	ldr	x21, [x21, _PicoRead8_sprot@GOTPAGEOFF]
	ldr	w3, [x21]
	mov	x1, x19
	mov	w2, #8388607
	mov	w4, #1
	bl	_cpu68k_map_set
Lloh10:
	adrp	x22, _m68k_read16_map@GOTPAGE
Lloh11:
	ldr	x22, [x22, _m68k_read16_map@GOTPAGEOFF]
	ldr	w0, [x22]
Lloh12:
	adrp	x23, _PicoRead16_sprot@GOTPAGE
Lloh13:
	ldr	x23, [x23, _PicoRead16_sprot@GOTPAGEOFF]
	ldr	w3, [x23]
	mov	x1, x19
	mov	w2, #8388607
	mov	w4, #1
	bl	_cpu68k_map_set
Lloh14:
	adrp	x24, _m68k_write8_map@GOTPAGE
Lloh15:
	ldr	x24, [x24, _m68k_write8_map@GOTPAGEOFF]
	ldr	w0, [x24]
Lloh16:
	adrp	x25, _PicoWrite8_sprot@GOTPAGE
Lloh17:
	ldr	x25, [x25, _PicoWrite8_sprot@GOTPAGEOFF]
	ldr	w3, [x25]
	mov	x1, x19
	mov	w2, #8388607
	mov	w4, #1
	bl	_cpu68k_map_set
Lloh18:
	adrp	x26, _m68k_write16_map@GOTPAGE
Lloh19:
	ldr	x26, [x26, _m68k_write16_map@GOTPAGEOFF]
	ldr	w0, [x26]
Lloh20:
	adrp	x27, _PicoWrite16_sprot@GOTPAGE
Lloh21:
	ldr	x27, [x27, _PicoWrite16_sprot@GOTPAGEOFF]
	ldr	w3, [x27]
	mov	x1, x19
	mov	w2, #8388607
	mov	w4, #1
	bl	_cpu68k_map_set
	ldr	w0, [x20]
	ldr	w3, [x21]
	mov	w1, #10551296
	mov	w2, #10616831
	mov	w4, #1
	bl	_cpu68k_map_set
	ldr	w0, [x22]
	ldr	w3, [x23]
	mov	w1, #10551296
	mov	w2, #10616831
	mov	w4, #1
	bl	_cpu68k_map_set
	ldr	w0, [x24]
	ldr	w3, [x25]
	mov	w1, #10551296
	mov	w2, #10616831
	mov	w4, #1
	bl	_cpu68k_map_set
	ldr	w0, [x26]
	ldr	w3, [x27]
	mov	w1, #10551296
	mov	w2, #10616831
	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	_cpu68k_map_set
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_Pico,4,2                       ; @Pico
	.comm	_M68K_BANK_MASK,4,2             ; @M68K_BANK_MASK
	.comm	_m68k_read8_map,4,2             ; @m68k_read8_map
	.comm	_PicoRead8_sprot,4,2            ; @PicoRead8_sprot
	.comm	_m68k_read16_map,4,2            ; @m68k_read16_map
	.comm	_PicoRead16_sprot,4,2           ; @PicoRead16_sprot
	.comm	_m68k_write8_map,4,2            ; @m68k_write8_map
	.comm	_PicoWrite8_sprot,4,2           ; @PicoWrite8_sprot
	.comm	_m68k_write16_map,4,2           ; @m68k_write16_map
	.comm	_PicoWrite16_sprot,4,2          ; @PicoWrite16_sprot
	.no_dead_strip	_carthw_sprot_mem_setup
.subsections_via_symbols
