	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nvdimm_has_flush               ## -- Begin function nvdimm_has_flush
	.p2align	4, 0x90
_nvdimm_has_flush:                      ## @nvdimm_has_flush
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	cmpl	$0, (%rdi)
	je	LBB0_7
## %bb.1:
	movq	%rdi, %rbx
	movq	_CONFIG_ARCH_HAS_PMEM_API@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_IS_ENABLED
	testl	%eax, %eax
	je	LBB0_7
## %bb.2:
	movl	(%rbx), %eax
	testl	%eax, %eax
	jle	LBB0_9
## %bb.3:
	movq	8(%rbx), %rcx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rcx,%rdx,8), %rsi
	cmpq	$0, (%rsi)
	jne	LBB0_10
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	incq	%rdx
	cmpq	%rdx, %rax
	jne	LBB0_4
LBB0_9:
	xorl	%eax, %eax
	jmp	LBB0_8
LBB0_7:
	movq	_ENXIO@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_10:
	movl	$1, %eax
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_CONFIG_ARCH_HAS_PMEM_API,4,2   ## @CONFIG_ARCH_HAS_PMEM_API
	.comm	_ENXIO,4,2                      ## @ENXIO
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nvdimm_has_flush               ; -- Begin function nvdimm_has_flush
	.p2align	2
_nvdimm_has_flush:                      ; @nvdimm_has_flush
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	w8, [x0]
	cbz	w8, LBB0_7
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x8, _CONFIG_ARCH_HAS_PMEM_API@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CONFIG_ARCH_HAS_PMEM_API@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_IS_ENABLED
	cbz	w0, LBB0_7
; %bb.2:
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.3:
	ldr	x9, [x19, #8]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x9]
	ldr	x10, [x10]
	cbnz	x10, LBB0_9
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x9, x9, #8
	subs	x8, x8, #1
	b.ne	LBB0_4
LBB0_6:
	mov	w0, #0
	b	LBB0_8
LBB0_7:
Lloh3:
	adrp	x8, _ENXIO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_9:
	mov	w0, #1
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_CONFIG_ARCH_HAS_PMEM_API,4,2   ; @CONFIG_ARCH_HAS_PMEM_API
	.comm	_ENXIO,4,2                      ; @ENXIO
.subsections_via_symbols
