	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nd_region_notify
_nd_region_notify:                      ## @nd_region_notify
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movl	%esi, -20(%rbp)
	movq	_NVDIMM_REVALIDATE_POISON@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jne	LBB0_4
## %bb.1:
	movq	%r14, %rdi
	callq	_to_nd_region
	movq	%rax, %rbx
	leaq	32(%rax), %rdi
	callq	_is_memory
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	24(%rbx), %rax
	movq	%rax, -32(%rbp)
	movq	16(%rbx), %rcx
	addq	%rcx, %rax
	decq	%rax
	movq	%rax, -40(%rbp)
	movq	%rbx, %rsi
	addq	$8, %rsi
	leaq	-40(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_nvdimm_badblocks_populate
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.3:
	callq	_sysfs_notify_dirent
LBB0_4:
	movq	_child_notify@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-20(%rbp), %rsi
	movq	%r14, %rdi
	callq	_device_for_each_child
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NVDIMM_REVALIDATE_POISON,4,2   ## @NVDIMM_REVALIDATE_POISON
	.comm	_child_notify,4,2               ## @child_notify
	.no_dead_strip	_nd_region_notify
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nd_region_notify
_nd_region_notify:                      ; @nd_region_notify
	.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, x0
	stur	w1, [x29, #-20]
Lloh0:
	adrp	x8, _NVDIMM_REVALIDATE_POISON@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NVDIMM_REVALIDATE_POISON@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	b.ne	LBB0_4
; %bb.1:
	mov	x0, x19
	bl	_to_nd_region
	mov	x20, x0
	add	x0, x0, #32
	bl	_is_memory
	cbz	x0, LBB0_4
; %bb.2:
	ldp	x9, x8, [x20, #16]
	add	x9, x8, x9
	sub	x9, x9, #1
	stp	x9, x8, [sp, #8]
	add	x1, x20, #8
	add	x2, sp, #8
	mov	x0, x20
	bl	_nvdimm_badblocks_populate
	ldr	x0, [x20]
	cbz	x0, LBB0_4
; %bb.3:
	bl	_sysfs_notify_dirent
LBB0_4:
Lloh3:
	adrp	x8, _child_notify@GOTPAGE
Lloh4:
	ldr	x8, [x8, _child_notify@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	sub	x1, x29, #20
	mov	x0, x19
	bl	_device_for_each_child
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_NVDIMM_REVALIDATE_POISON,4,2   ; @NVDIMM_REVALIDATE_POISON
	.comm	_child_notify,4,2               ; @child_notify
	.no_dead_strip	_nd_region_notify
.subsections_via_symbols
