	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvdimm_get_user_key_payload
_nvdimm_get_user_key_payload:           ## @nvdimm_get_user_key_payload
	.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
	movq	$0, (%rcx)
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.3:
	movq	%rcx, %rbx
	callq	_nvdimm_lookup_user_key
	movq	%rax, (%rbx)
	testq	%rax, %rax
	je	LBB0_4
## %bb.6:
	movq	%rax, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_key_data                       ## TAILCALL
LBB0_1:
	movq	_NVDIMM_BASE_KEY@GOTPCREL(%rip), %rax
	cmpl	%edx, (%rax)
	jne	LBB0_4
## %bb.2:
	movq	_zero_key@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_5
LBB0_4:
	xorl	%eax, %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NVDIMM_BASE_KEY,4,2            ## @NVDIMM_BASE_KEY
	.comm	_zero_key,8,3                   ## @zero_key
	.no_dead_strip	_nvdimm_get_user_key_payload
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nvdimm_get_user_key_payload
_nvdimm_get_user_key_payload:           ; @nvdimm_get_user_key_payload
	.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
	str	xzr, [x3]
	cbz	x1, LBB0_3
; %bb.1:
	mov	x19, x3
	bl	_nvdimm_lookup_user_key
	str	x0, [x19]
	cbz	x0, LBB0_4
; %bb.2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_key_data
LBB0_3:
Lloh0:
	adrp	x8, _NVDIMM_BASE_KEY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NVDIMM_BASE_KEY@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _zero_key@GOTPAGE
Lloh4:
	ldr	x9, [x9, _zero_key@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	w8, w2
	csel	x0, x9, xzr, eq
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NVDIMM_BASE_KEY,4,2            ; @NVDIMM_BASE_KEY
	.comm	_zero_key,8,3                   ; @zero_key
	.no_dead_strip	_nvdimm_get_user_key_payload
.subsections_via_symbols
