	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nvdimm_check_config_data       ## -- Begin function nvdimm_check_config_data
	.p2align	4, 0x90
_nvdimm_check_config_data:              ## @nvdimm_check_config_data
	.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
	callq	_to_nvdimm
	movq	%rax, %rbx
	cmpl	$0, 4(%rax)
	je	LBB0_2
## %bb.1:
	leaq	4(%rbx), %rsi
	movq	_ND_CMD_GET_CONFIG_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_test_bit
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	jne	LBB0_6
LBB0_2:
	movq	_NDD_ALIASING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_ENXIO@GOTPCREL(%rip), %rcx
	jmp	LBB0_5
LBB0_4:
	movq	_ENOTTY@GOTPCREL(%rip), %rcx
LBB0_5:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ND_CMD_GET_CONFIG_DATA,4,2     ## @ND_CMD_GET_CONFIG_DATA
	.comm	_NDD_ALIASING,4,2               ## @NDD_ALIASING
	.comm	_ENXIO,4,2                      ## @ENXIO
	.comm	_ENOTTY,4,2                     ## @ENOTTY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nvdimm_check_config_data       ; -- Begin function nvdimm_check_config_data
	.p2align	2
_nvdimm_check_config_data:              ; @nvdimm_check_config_data
	.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
	bl	_to_nvdimm
	mov	x19, x0
	mov	x1, x0
	ldr	w8, [x1, #4]!
	cbz	w8, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _ND_CMD_GET_CONFIG_DATA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ND_CMD_GET_CONFIG_DATA@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_test_bit
	cbz	x0, LBB0_3
; %bb.2:
	mov	w0, #0
	b	LBB0_7
LBB0_3:
Lloh3:
	adrp	x8, _NDD_ALIASING@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NDD_ALIASING@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_test_bit
	cbz	x0, LBB0_5
; %bb.4:
Lloh6:
	adrp	x8, _ENXIO@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh8:
	adrp	x8, _ENOTTY@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENOTTY@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_ND_CMD_GET_CONFIG_DATA,4,2     ; @ND_CMD_GET_CONFIG_DATA
	.comm	_NDD_ALIASING,4,2               ; @NDD_ALIASING
	.comm	_ENXIO,4,2                      ; @ENXIO
	.comm	_ENOTTY,4,2                     ; @ENOTTY
.subsections_via_symbols
