	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ArcGetMemoryDescriptor         ## -- Begin function ArcGetMemoryDescriptor
	.p2align	4, 0x90
_ArcGetMemoryDescriptor:                ## @ArcGetMemoryDescriptor
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movq	%rdi, %rax
	movq	8(%rdi), %rcx
	addq	$8, %rax
	testq	%rcx, %rcx
	cmoveq	%rcx, %rax
	popq	%rbp
	retq
LBB0_1:
	movq	_BiosMemoryMap@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BiosMemoryMap,8,3              ## @BiosMemoryMap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ArcGetMemoryDescriptor         ; -- Begin function ArcGetMemoryDescriptor
	.p2align	2
_ArcGetMemoryDescriptor:                ; @ArcGetMemoryDescriptor
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x0, #8]!
	cmp	x8, #0
	csel	x0, xzr, x0, eq
	ret
LBB0_2:
Lloh0:
	adrp	x8, _BiosMemoryMap@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BiosMemoryMap@GOTPAGEOFF]
Lloh2:
	ldr	x0, [x8]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_BiosMemoryMap,8,3              ; @BiosMemoryMap
.subsections_via_symbols
