	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function write_mapper_none
_write_mapper_none:                     ## @write_mapper_none
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $edi killed $edi def $rdi
	movq	_z80_writemap@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%edi, %ecx
	shrl	$10, %ecx
	movq	(%rax,%rcx,8), %rax
	andl	$1023, %edi                     ## imm = 0x3FF
	movb	%sil, (%rax,%rdi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_z80_writemap,8,3               ## @z80_writemap
	.no_dead_strip	_write_mapper_none
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function write_mapper_none
_write_mapper_none:                     ; @write_mapper_none
	.cfi_startproc
; %bb.0:
                                        ; kill: def $w0 killed $w0 def $x0
Lloh0:
	adrp	x8, _z80_writemap@GOTPAGE
Lloh1:
	ldr	x8, [x8, _z80_writemap@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	lsr	w9, w0, #10
	ldr	x8, [x8, w9, uxtw #3]
	and	x9, x0, #0x3ff
	strb	w1, [x8, x9]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_z80_writemap,8,3               ; @z80_writemap
	.no_dead_strip	_write_mapper_none
.subsections_via_symbols
