	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function z80_mem_setup
_z80_mem_setup:                         ## @z80_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_z80_read_map@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	_Pico@GOTPCREL(%rip), %r14
	movq	(%r14), %rcx
	xorl	%esi, %esi
	movl	$8191, %edx                     ## imm = 0x1FFF
	xorl	%r8d, %r8d
	callq	_z80_map_set
	movl	(%rbx), %edi
	movq	(%r14), %rcx
	movl	$8192, %esi                     ## imm = 0x2000
	movl	$16383, %edx                    ## imm = 0x3FFF
	xorl	%r8d, %r8d
	callq	_z80_map_set
	movl	(%rbx), %edi
	movq	_ym2612_read_local_z80@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movl	$16384, %esi                    ## imm = 0x4000
	movl	$24575, %edx                    ## imm = 0x5FFF
	movl	$1, %r8d
	callq	_z80_map_set
	movl	(%rbx), %edi
	movq	_z80_md_vdp_read@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movl	$24576, %esi                    ## imm = 0x6000
	movl	$32767, %edx                    ## imm = 0x7FFF
	movl	$1, %r8d
	callq	_z80_map_set
	movl	(%rbx), %edi
	movq	_z80_md_bank_read@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movl	$32768, %esi                    ## imm = 0x8000
	movl	$65535, %edx                    ## imm = 0xFFFF
	movl	$1, %r8d
	callq	_z80_map_set
	movq	_z80_write_map@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	(%r14), %rcx
	xorl	%esi, %esi
	movl	$8191, %edx                     ## imm = 0x1FFF
	xorl	%r8d, %r8d
	callq	_z80_map_set
	movl	(%rbx), %edi
	movq	(%r14), %rcx
	movl	$8192, %esi                     ## imm = 0x2000
	movl	$16383, %edx                    ## imm = 0x3FFF
	xorl	%r8d, %r8d
	callq	_z80_map_set
	movl	(%rbx), %edi
	movq	_z80_md_ym2612_write@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movl	$16384, %esi                    ## imm = 0x4000
	movl	$24575, %edx                    ## imm = 0x5FFF
	movl	$1, %r8d
	callq	_z80_map_set
	movl	(%rbx), %edi
	movq	_z80_md_vdp_br_write@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movl	$24576, %esi                    ## imm = 0x6000
	movl	$32767, %edx                    ## imm = 0x7FFF
	movl	$1, %r8d
	callq	_z80_map_set
	movl	(%rbx), %edi
	movq	_z80_md_bank_write@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movl	$32768, %esi                    ## imm = 0x8000
	movl	$65535, %edx                    ## imm = 0xFFFF
	movl	$1, %r8d
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_z80_map_set                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_z80_read_map,4,2               ## @z80_read_map
	.comm	_Pico,8,3                       ## @Pico
	.comm	_ym2612_read_local_z80,8,3      ## @ym2612_read_local_z80
	.comm	_z80_md_vdp_read,8,3            ## @z80_md_vdp_read
	.comm	_z80_md_bank_read,8,3           ## @z80_md_bank_read
	.comm	_z80_write_map,4,2              ## @z80_write_map
	.comm	_z80_md_ym2612_write,8,3        ## @z80_md_ym2612_write
	.comm	_z80_md_vdp_br_write,8,3        ## @z80_md_vdp_br_write
	.comm	_z80_md_bank_write,8,3          ## @z80_md_bank_write
	.comm	_CZ80,4,2                       ## @CZ80
	.comm	_drZ80,8,2                      ## @drZ80
	.comm	_z80_md_in,4,2                  ## @z80_md_in
	.comm	_z80_md_out,4,2                 ## @z80_md_out
	.no_dead_strip	_z80_mem_setup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function z80_mem_setup
_z80_mem_setup:                         ; @z80_mem_setup
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x20, _z80_read_map@GOTPAGE
Lloh1:
	ldr	x20, [x20, _z80_read_map@GOTPAGEOFF]
	ldr	w0, [x20]
Lloh2:
	adrp	x19, _Pico@GOTPAGE
Lloh3:
	ldr	x19, [x19, _Pico@GOTPAGEOFF]
	ldr	x3, [x19]
	mov	w1, #0
	mov	w2, #8191
	mov	w4, #0
	bl	_z80_map_set
	ldr	w0, [x20]
	ldr	x3, [x19]
	mov	w1, #8192
	mov	w2, #16383
	mov	w4, #0
	bl	_z80_map_set
	ldr	w0, [x20]
Lloh4:
	adrp	x8, _ym2612_read_local_z80@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ym2612_read_local_z80@GOTPAGEOFF]
Lloh6:
	ldr	x3, [x8]
	mov	w1, #16384
	mov	w2, #24575
	mov	w4, #1
	bl	_z80_map_set
	ldr	w0, [x20]
Lloh7:
	adrp	x8, _z80_md_vdp_read@GOTPAGE
Lloh8:
	ldr	x8, [x8, _z80_md_vdp_read@GOTPAGEOFF]
Lloh9:
	ldr	x3, [x8]
	mov	w1, #24576
	mov	w2, #32767
	mov	w4, #1
	bl	_z80_map_set
	ldr	w0, [x20]
Lloh10:
	adrp	x8, _z80_md_bank_read@GOTPAGE
Lloh11:
	ldr	x8, [x8, _z80_md_bank_read@GOTPAGEOFF]
Lloh12:
	ldr	x3, [x8]
	mov	w1, #32768
	mov	w2, #65535
	mov	w4, #1
	bl	_z80_map_set
Lloh13:
	adrp	x20, _z80_write_map@GOTPAGE
Lloh14:
	ldr	x20, [x20, _z80_write_map@GOTPAGEOFF]
	ldr	w0, [x20]
	ldr	x3, [x19]
	mov	w1, #0
	mov	w2, #8191
	mov	w4, #0
	bl	_z80_map_set
	ldr	w0, [x20]
	ldr	x3, [x19]
	mov	w1, #8192
	mov	w2, #16383
	mov	w4, #0
	bl	_z80_map_set
	ldr	w0, [x20]
Lloh15:
	adrp	x8, _z80_md_ym2612_write@GOTPAGE
Lloh16:
	ldr	x8, [x8, _z80_md_ym2612_write@GOTPAGEOFF]
Lloh17:
	ldr	x3, [x8]
	mov	w1, #16384
	mov	w2, #24575
	mov	w4, #1
	bl	_z80_map_set
	ldr	w0, [x20]
Lloh18:
	adrp	x8, _z80_md_vdp_br_write@GOTPAGE
Lloh19:
	ldr	x8, [x8, _z80_md_vdp_br_write@GOTPAGEOFF]
Lloh20:
	ldr	x3, [x8]
	mov	w1, #24576
	mov	w2, #32767
	mov	w4, #1
	bl	_z80_map_set
	ldr	w0, [x20]
Lloh21:
	adrp	x8, _z80_md_bank_write@GOTPAGE
Lloh22:
	ldr	x8, [x8, _z80_md_bank_write@GOTPAGEOFF]
Lloh23:
	ldr	x3, [x8]
	mov	w1, #32768
	mov	w2, #65535
	mov	w4, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_z80_map_set
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_z80_read_map,4,2               ; @z80_read_map
	.comm	_Pico,8,3                       ; @Pico
	.comm	_ym2612_read_local_z80,8,3      ; @ym2612_read_local_z80
	.comm	_z80_md_vdp_read,8,3            ; @z80_md_vdp_read
	.comm	_z80_md_bank_read,8,3           ; @z80_md_bank_read
	.comm	_z80_write_map,4,2              ; @z80_write_map
	.comm	_z80_md_ym2612_write,8,3        ; @z80_md_ym2612_write
	.comm	_z80_md_vdp_br_write,8,3        ; @z80_md_vdp_br_write
	.comm	_z80_md_bank_write,8,3          ; @z80_md_bank_write
	.comm	_CZ80,4,2                       ; @CZ80
	.comm	_drZ80,8,2                      ; @drZ80
	.comm	_z80_md_in,4,2                  ; @z80_md_in
	.comm	_z80_md_out,4,2                 ; @z80_md_out
	.no_dead_strip	_z80_mem_setup
.subsections_via_symbols
