	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PicoMemSetupMS                 ## -- Begin function PicoMemSetupMS
	.p2align	4, 0x90
_PicoMemSetupMS:                        ## @PicoMemSetupMS
	.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
	movq	_z80_read_map@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	_Pico@GOTPCREL(%rip), %r14
	movq	8(%r14), %rcx
	xorl	%esi, %esi
	movl	$49151, %edx                    ## imm = 0xBFFF
	xorl	%r8d, %r8d
	callq	_z80_map_set
	movl	(%rbx), %edi
	movq	(%r14), %rcx
	movl	$49152, %esi                    ## imm = 0xC000
	movl	$57343, %edx                    ## imm = 0xDFFF
	xorl	%r8d, %r8d
	callq	_z80_map_set
	movl	(%rbx), %edi
	movq	(%r14), %rcx
	movl	$57344, %esi                    ## imm = 0xE000
	movl	$65535, %edx                    ## imm = 0xFFFF
	xorl	%r8d, %r8d
	callq	_z80_map_set
	movq	_z80_write_map@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	_xwrite@GOTPCREL(%rip), %r15
	movq	(%r15), %rcx
	xorl	%esi, %esi
	movl	$49151, %edx                    ## imm = 0xBFFF
	movl	$1, %r8d
	callq	_z80_map_set
	movl	(%rbx), %edi
	movq	(%r14), %rcx
	movl	$49152, %esi                    ## imm = 0xC000
	movl	$57343, %edx                    ## imm = 0xDFFF
	xorl	%r8d, %r8d
	callq	_z80_map_set
	movl	(%rbx), %edi
	movq	(%r15), %rcx
	movl	$57344, %esi                    ## imm = 0xE000
	movl	$65535, %edx                    ## imm = 0xFFFF
	movl	$1, %r8d
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_z80_map_set                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_z80_read_map,4,2               ## @z80_read_map
	.comm	_Pico,16,3                      ## @Pico
	.comm	_z80_write_map,4,2              ## @z80_write_map
	.comm	_xwrite,8,3                     ## @xwrite
	.comm	_CZ80,4,2                       ## @CZ80
	.comm	_drZ80,8,2                      ## @drZ80
	.comm	_z80_sms_in,4,2                 ## @z80_sms_in
	.comm	_z80_sms_out,4,2                ## @z80_sms_out
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PicoMemSetupMS                 ; -- Begin function PicoMemSetupMS
	.p2align	2
_PicoMemSetupMS:                        ; @PicoMemSetupMS
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
Lloh0:
	adrp	x19, _z80_read_map@GOTPAGE
Lloh1:
	ldr	x19, [x19, _z80_read_map@GOTPAGEOFF]
	ldr	w0, [x19]
Lloh2:
	adrp	x20, _Pico@GOTPAGE
Lloh3:
	ldr	x20, [x20, _Pico@GOTPAGEOFF]
	ldr	x3, [x20, #8]
	mov	w1, #0
	mov	w2, #49151
	mov	w4, #0
	bl	_z80_map_set
	ldr	w0, [x19]
	ldr	x3, [x20]
	mov	w1, #49152
	mov	w2, #57343
	mov	w4, #0
	bl	_z80_map_set
	ldr	w0, [x19]
	ldr	x3, [x20]
	mov	w1, #57344
	mov	w2, #65535
	mov	w4, #0
	bl	_z80_map_set
Lloh4:
	adrp	x19, _z80_write_map@GOTPAGE
Lloh5:
	ldr	x19, [x19, _z80_write_map@GOTPAGEOFF]
	ldr	w0, [x19]
Lloh6:
	adrp	x21, _xwrite@GOTPAGE
Lloh7:
	ldr	x21, [x21, _xwrite@GOTPAGEOFF]
	ldr	x3, [x21]
	mov	w1, #0
	mov	w2, #49151
	mov	w4, #1
	bl	_z80_map_set
	ldr	w0, [x19]
	ldr	x3, [x20]
	mov	w1, #49152
	mov	w2, #57343
	mov	w4, #0
	bl	_z80_map_set
	ldr	w0, [x19]
	ldr	x3, [x21]
	mov	w1, #57344
	mov	w2, #65535
	mov	w4, #1
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_z80_map_set
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_z80_read_map,4,2               ; @z80_read_map
	.comm	_Pico,16,3                      ; @Pico
	.comm	_z80_write_map,4,2              ; @z80_write_map
	.comm	_xwrite,8,3                     ; @xwrite
	.comm	_CZ80,4,2                       ; @CZ80
	.comm	_drZ80,8,2                      ; @drZ80
	.comm	_z80_sms_in,4,2                 ; @z80_sms_in
	.comm	_z80_sms_out,4,2                ; @z80_sms_out
.subsections_via_symbols
