	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_mapper_93c46
_read_mapper_93c46:                     ## @read_mapper_93c46
	.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
	cmpl	$32768, %edi                    ## imm = 0x8000
	jne	LBB0_2
## %bb.1:
	movq	_eeprom_93c@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.3:
	xorl	%eax, %eax
	popq	%rbp
	jmp	_eeprom_93c_read                ## TAILCALL
LBB0_2:
	movq	_z80_readmap@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%edi, %ecx
	shrl	$10, %ecx
	movq	(%rax,%rcx,8), %rax
	andl	$1023, %edi                     ## imm = 0x3FF
	movzbl	(%rax,%rdi), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_eeprom_93c,8,3                 ## @eeprom_93c
	.comm	_z80_readmap,8,3                ## @z80_readmap
	.no_dead_strip	_read_mapper_93c46
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_mapper_93c46
_read_mapper_93c46:                     ; @read_mapper_93c46
	.cfi_startproc
; %bb.0:
                                        ; kill: def $w0 killed $w0 def $x0
	cmp	w0, #8, lsl #12                 ; =32768
	b.ne	LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _eeprom_93c@GOTPAGE
Lloh1:
	ldr	x8, [x8, _eeprom_93c@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.2:
	b	_eeprom_93c_read
LBB0_3:
Lloh3:
	adrp	x8, _z80_readmap@GOTPAGE
Lloh4:
	ldr	x8, [x8, _z80_readmap@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	lsr	w9, w0, #10
	ldr	x8, [x8, w9, uxtw #3]
	and	x9, x0, #0x3ff
	ldrb	w0, [x8, x9]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_eeprom_93c,8,3                 ; @eeprom_93c
	.comm	_z80_readmap,8,3                ; @z80_readmap
	.no_dead_strip	_read_mapper_93c46
.subsections_via_symbols
