	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function e820_pmem_probe
_e820_pmem_probe:                       ## @e820_pmem_probe
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	_ENXIO@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	movq	_e820_pmem_attribute_groups@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, _e820_pmem_probe.nd_desc+12(%rip)
	leaq	_e820_pmem_probe.nd_desc(%rip), %rsi
	leaq	L_.str(%rip), %rax
	movq	%rax, _e820_pmem_probe.nd_desc(%rip)
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, _e820_pmem_probe.nd_desc+8(%rip)
	callq	_nvdimm_bus_register
	movq	%rax, %r12
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_platform_set_drvdata
	movq	_IORES_DESC_PERSISTENT_MEMORY_LEGACY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_IORESOURCE_MEM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_e820_register_one@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	xorl	%edx, %edx
	movl	$-1, %ecx
	movq	%r12, %r8
	callq	_walk_iomem_res_desc
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_3
LBB0_2:
	movq	%r12, %rdi
	callq	_nvdimm_bus_unregister
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_err
	movl	%ebx, %r14d
LBB0_3:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_e820_pmem_probe.nd_desc,16,3 ## @e820_pmem_probe.nd_desc
	.comm	_ENXIO,4,2                      ## @ENXIO
	.comm	_e820_pmem_attribute_groups,4,2 ## @e820_pmem_attribute_groups
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"e820"

	.comm	_THIS_MODULE,4,2                ## @THIS_MODULE
	.comm	_IORES_DESC_PERSISTENT_MEMORY_LEGACY,4,2 ## @IORES_DESC_PERSISTENT_MEMORY_LEGACY
	.comm	_IORESOURCE_MEM,4,2             ## @IORESOURCE_MEM
	.comm	_e820_register_one,4,2          ## @e820_register_one
L_.str.1:                               ## @.str.1
	.asciz	"failed to register legacy persistent memory ranges\n"

	.no_dead_strip	_e820_pmem_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function e820_pmem_probe
_e820_pmem_probe:                       ; @e820_pmem_probe
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
Lloh0:
	adrp	x8, _ENXIO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
Lloh2:
	adrp	x9, _e820_pmem_attribute_groups@GOTPAGE
Lloh3:
	ldr	x9, [x9, _e820_pmem_attribute_groups@GOTPAGEOFF]
Lloh4:
	ldr	w21, [x8]
Lloh5:
	ldr	w8, [x9]
Lloh6:
	adrp	x1, _e820_pmem_probe.nd_desc@PAGE
Lloh7:
	add	x1, x1, _e820_pmem_probe.nd_desc@PAGEOFF
Lloh8:
	adrp	x9, l_.str@PAGE
Lloh9:
	add	x9, x9, l_.str@PAGEOFF
	str	x9, [x1]
Lloh10:
	adrp	x9, _THIS_MODULE@GOTPAGE
Lloh11:
	ldr	x9, [x9, _THIS_MODULE@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	stp	w9, w8, [x1, #8]
	bl	_nvdimm_bus_register
	mov	x20, x0
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	mov	x1, x20
	bl	_platform_set_drvdata
Lloh13:
	adrp	x8, _IORES_DESC_PERSISTENT_MEMORY_LEGACY@GOTPAGE
Lloh14:
	ldr	x8, [x8, _IORES_DESC_PERSISTENT_MEMORY_LEGACY@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
Lloh16:
	adrp	x8, _IORESOURCE_MEM@GOTPAGE
Lloh17:
	ldr	x8, [x8, _IORESOURCE_MEM@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
Lloh19:
	adrp	x8, _e820_register_one@GOTPAGE
Lloh20:
	ldr	x8, [x8, _e820_register_one@GOTPAGEOFF]
Lloh21:
	ldr	w5, [x8]
	mov	w2, #0
	mov	w3, #-1
	mov	x4, x20
	bl	_walk_iomem_res_desc
	mov	x21, x0
	cbnz	w0, LBB0_3
	b	LBB0_4
LBB0_2:
	neg	w21, w21
LBB0_3:
	mov	x0, x20
	bl	_nvdimm_bus_unregister
Lloh22:
	adrp	x1, l_.str.1@PAGE
Lloh23:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_dev_err
LBB0_4:
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_e820_pmem_probe.nd_desc,16,3 ; @e820_pmem_probe.nd_desc
	.comm	_ENXIO,4,2                      ; @ENXIO
	.comm	_e820_pmem_attribute_groups,4,2 ; @e820_pmem_attribute_groups
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"e820"

	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
	.comm	_IORES_DESC_PERSISTENT_MEMORY_LEGACY,4,2 ; @IORES_DESC_PERSISTENT_MEMORY_LEGACY
	.comm	_IORESOURCE_MEM,4,2             ; @IORESOURCE_MEM
	.comm	_e820_register_one,4,2          ; @e820_register_one
l_.str.1:                               ; @.str.1
	.asciz	"failed to register legacy persistent memory ranges\n"

	.no_dead_strip	_e820_pmem_probe
.subsections_via_symbols
