	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nd_pmem_forget_poison_check
_nd_pmem_forget_poison_check:           ## @nd_pmem_forget_poison_check
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %rbx
	callq	_is_nd_btt
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	callq	_to_nd_btt
	movq	%rax, %r15
	jmp	LBB0_3
LBB0_1:
	xorl	%r15d, %r15d
LBB0_3:
	movq	%rbx, %rdi
	callq	_is_nd_pfn
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rbx, %rdi
	callq	_to_nd_pfn
	movq	%rax, %r13
	jmp	LBB0_6
LBB0_4:
	xorl	%r13d, %r13d
LBB0_6:
	movq	%rbx, %rdi
	callq	_is_nd_dax
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	%rbx, %rdi
	callq	_to_nd_dax
	xorl	%r14d, %r14d
	testq	%rax, %rax
	jne	LBB0_19
LBB0_8:
	xorl	%r14d, %r14d
	cmpl	$0, (%rbx)
	je	LBB0_19
## %bb.9:
	movq	(%r12), %rax
	movq	8(%r12), %r12
	addq	%rax, %r12
	testq	%r15, %r15
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	jne	LBB0_11
## %bb.10:
	testq	%r13, %r13
	jne	LBB0_11
## %bb.15:
	movq	%rbx, %rdi
	callq	_to_ndns
	movq	%rax, %rdi
	jmp	LBB0_16
LBB0_11:
	testq	%r15, %r15
	jne	LBB0_14
## %bb.12:
	testq	%r13, %r13
	je	LBB0_19
## %bb.13:
	movq	%r13, %r15
LBB0_14:
	movq	(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_19
LBB0_16:
	callq	_to_nd_namespace_io
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	cmpq	%rcx, (%rax)
	jl	LBB0_19
## %bb.17:
	cmpq	%r12, 8(%rax)
	jge	LBB0_19
## %bb.18:
	movq	_EBUSY@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
LBB0_19:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EBUSY,4,2                      ## @EBUSY
	.no_dead_strip	_nd_pmem_forget_poison_check
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nd_pmem_forget_poison_check
_nd_pmem_forget_poison_check:           ; @nd_pmem_forget_poison_check
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x1
	mov	x19, x0
	bl	_is_nd_btt
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_to_nd_btt
	mov	x21, x0
	b	LBB0_3
LBB0_2:
	mov	x21, #0
LBB0_3:
	mov	x0, x19
	bl	_is_nd_pfn
	cbz	x0, LBB0_5
; %bb.4:
	mov	x0, x19
	bl	_to_nd_pfn
	mov	x22, x0
	b	LBB0_6
LBB0_5:
	mov	x22, #0
LBB0_6:
	mov	x0, x19
	bl	_is_nd_dax
	cbz	x0, LBB0_8
; %bb.7:
	mov	x0, x19
	bl	_to_nd_dax
	cbnz	x0, LBB0_19
LBB0_8:
	ldr	w8, [x19]
	cbz	w8, LBB0_19
; %bb.9:
	ldp	x23, x20, [x20]
	cbnz	x21, LBB0_12
; %bb.10:
	cbnz	x22, LBB0_12
; %bb.11:
	mov	x0, x19
	bl	_to_ndns
	b	LBB0_16
LBB0_12:
	cbz	x21, LBB0_14
; %bb.13:
	ldr	x0, [x21]
	cbnz	x0, LBB0_16
	b	LBB0_20
LBB0_14:
	cbz	x22, LBB0_19
; %bb.15:
	mov	x21, x22
	ldr	x0, [x21]
	cbz	x0, LBB0_20
LBB0_16:
	bl	_to_nd_namespace_io
	ldr	x8, [x0]
	cmp	x8, x23
	b.lt	LBB0_19
; %bb.17:
	ldr	x8, [x0, #8]
	add	x9, x20, x23
	cmp	x8, x9
	b.ge	LBB0_19
; %bb.18:
Lloh0:
	adrp	x8, _EBUSY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_20
LBB0_19:
	mov	w0, #0
LBB0_20:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EBUSY,4,2                      ; @EBUSY
	.no_dead_strip	_nd_pmem_forget_poison_check
.subsections_via_symbols
