	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function map_address
_map_address:                           ## @map_address
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%edi, %ebx
	movl	%edi, %ecx
	andl	$-537919488, %ecx               ## imm = 0xDFF00000
	movl	$1048575, %eax                  ## imm = 0xFFFFF
	cmpl	$2097152, %ecx                  ## imm = 0x200000
	jne	LBB0_2
## %bb.1:
	movq	_LowWram@GOTPCREL(%rip), %rcx
	jmp	LBB0_5
LBB0_2:
	movl	%ebx, %edx
	andl	$-570425344, %edx               ## imm = 0xDE000000
	cmpl	$100663296, %edx                ## imm = 0x6000000
	jne	LBB0_4
## %bb.3:
	movq	_HighWram@GOTPCREL(%rip), %rcx
	jmp	LBB0_5
LBB0_4:
	xorl	%edi, %edi
	testl	%ecx, %ecx
	sete	%dil
	callq	_assert
	movl	$589823, %eax                   ## imm = 0x8FFFF
	movq	_BiosRom@GOTPCREL(%rip), %rcx
LBB0_5:
	andl	%ebx, %eax
	addq	(%rcx), %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LowWram,8,3                    ## @LowWram
	.comm	_HighWram,8,3                   ## @HighWram
	.comm	_BiosRom,8,3                    ## @BiosRom
	.no_dead_strip	_map_address
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function map_address
_map_address:                           ; @map_address
	.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
	mov	x19, x0
	mov	w8, #-537919488
	and	w8, w0, w8
	cmp	w8, #512, lsl #12               ; =2097152
	b.ne	LBB0_2
; %bb.1:
	mov	w8, #1048575
Lloh0:
	adrp	x9, _LowWram@GOTPAGE
Lloh1:
	ldr	x9, [x9, _LowWram@GOTPAGEOFF]
	b	LBB0_5
LBB0_2:
	mov	w9, #-570425344
	and	w9, w19, w9
	mov	w10, #100663296
	cmp	w9, w10
	b.ne	LBB0_4
; %bb.3:
	mov	w8, #1048575
Lloh2:
	adrp	x9, _HighWram@GOTPAGE
Lloh3:
	ldr	x9, [x9, _HighWram@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
	cmp	w8, #0
	cset	w0, eq
	bl	_assert
	mov	w8, #589823
Lloh4:
	adrp	x9, _BiosRom@GOTPAGE
Lloh5:
	ldr	x9, [x9, _BiosRom@GOTPAGEOFF]
LBB0_5:
	ldr	x9, [x9]
	and	w8, w8, w19
	add	x0, x9, x8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_LowWram,8,3                    ; @LowWram
	.comm	_HighWram,8,3                   ; @HighWram
	.comm	_BiosRom,8,3                    ; @BiosRom
	.no_dead_strip	_map_address
.subsections_via_symbols
