	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function e820_register_one
_e820_register_one:                     ## @e820_register_one
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	leaq	-56(%rbp), %r15
	xorl	%r12d, %r12d
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movq	%rbx, -40(%rbp)
	movq	_e820_pmem_region_attribute_groups@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
	movl	(%rbx), %edi
	callq	_e820_range_to_nid
	movl	%eax, -52(%rbp)
	movl	%eax, -48(%rbp)
	movq	_ND_REGION_PAGEMAP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_set_bit
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_nvdimm_pmem_region_create
	movq	_ENXIO@GOTPCREL(%rip), %rdx
	xorl	%ecx, %ecx
	subl	(%rdx), %ecx
	testl	%eax, %eax
	cmovnel	%r12d, %ecx
	movl	%ecx, %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_e820_pmem_region_attribute_groups,4,2 ## @e820_pmem_region_attribute_groups
	.comm	_ND_REGION_PAGEMAP,4,2          ## @ND_REGION_PAGEMAP
	.comm	_ENXIO,4,2                      ## @ENXIO
	.no_dead_strip	_e820_register_one
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function e820_register_one
_e820_register_one:                     ; @e820_register_one
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #24
	bl	_memset
	str	x20, [sp, #24]
Lloh0:
	adrp	x8, _e820_pmem_region_attribute_groups@GOTPAGE
Lloh1:
	ldr	x8, [x8, _e820_pmem_region_attribute_groups@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #20]
	ldr	w0, [x20]
	bl	_e820_range_to_nid
	stp	w0, w0, [sp, #12]
Lloh3:
	adrp	x8, _ND_REGION_PAGEMAP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ND_REGION_PAGEMAP@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	add	x1, sp, #8
	bl	_set_bit
	add	x1, sp, #8
	mov	x0, x19
	bl	_nvdimm_pmem_region_create
Lloh6:
	adrp	x8, _ENXIO@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w0, #0
	csneg	w0, wzr, w8, ne
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_e820_pmem_region_attribute_groups,4,2 ; @e820_pmem_region_attribute_groups
	.comm	_ND_REGION_PAGEMAP,4,2          ; @ND_REGION_PAGEMAP
	.comm	_ENXIO,4,2                      ; @ENXIO
	.no_dead_strip	_e820_register_one
.subsections_via_symbols
