	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nvmf_reg_read64                ## -- Begin function nvmf_reg_read64
	.p2align	4, 0x90
_nvmf_reg_read64:                       ## @nvmf_reg_read64
	.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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movl	%esi, %r14d
	movq	%rdi, %r12
	leaq	-56(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	movq	_nvme_fabrics_command@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
	movq	_nvme_fabrics_type_property_get@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	movl	$1, -56(%rbp)
	movl	%r14d, %edi
	callq	_cpu_to_le32
	movl	%eax, -52(%rbp)
	movl	4(%r12), %edi
	movq	_NVME_QID_ANY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	-40(%rbp), %rdx
	movq	%rbx, %rsi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	pushq	$0
	pushq	$0
	pushq	$0
	pushq	%rax
	callq	___nvme_submit_sync_cmd
	addq	$32, %rsp
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_2
## %bb.1:
	movl	-40(%rbp), %edi
	callq	_le64_to_cpu
	movl	%eax, (%r15)
LBB0_2:
	xorl	%edi, %edi
	testl	%ebx, %ebx
	setne	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	(%r12), %edi
	testl	%ebx, %ebx
	movq	_NVME_SC_DNR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	movl	$-1, %edx
	cmovgl	%eax, %edx
	andl	%ebx, %edx
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %ecx
	callq	_dev_err
LBB0_4:
	movl	%ebx, %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_nvme_fabrics_command,4,2       ## @nvme_fabrics_command
	.comm	_nvme_fabrics_type_property_get,4,2 ## @nvme_fabrics_type_property_get
	.comm	_NVME_QID_ANY,4,2               ## @NVME_QID_ANY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Property Get error: %d, offset %#x\n"

	.comm	_NVME_SC_DNR,4,2                ## @NVME_SC_DNR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nvmf_reg_read64                ; -- Begin function nvmf_reg_read64
	.p2align	2
_nvmf_reg_read64:                       ; @nvmf_reg_read64
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
	add	x0, sp, #16
	mov	w1, #0
	mov	w2, #16
	bl	_memset
Lloh0:
	adrp	x8, _nvme_fabrics_command@GOTPAGE
Lloh1:
	ldr	x8, [x8, _nvme_fabrics_command@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #28]
Lloh3:
	adrp	x8, _nvme_fabrics_type_property_get@GOTPAGE
Lloh4:
	ldr	x8, [x8, _nvme_fabrics_type_property_get@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	mov	w9, #1
	str	w8, [sp, #24]
	str	w9, [sp, #16]
	mov	x0, x19
	bl	_cpu_to_le32
	str	w0, [sp, #20]
	ldr	w0, [x20, #4]
Lloh6:
	adrp	x8, _NVME_QID_ANY@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NVME_QID_ANY@GOTPAGEOFF]
Lloh8:
	ldr	w6, [x8]
	str	xzr, [sp]
	add	x1, sp, #16
	add	x2, sp, #8
	mov	x3, #0
	mov	w4, #0
	mov	w5, #0
	mov	w7, #0
	bl	___nvme_submit_sync_cmd
	mov	x22, x0
	tbnz	w0, #31, LBB0_2
; %bb.1:
	ldr	w0, [sp, #8]
	bl	_le64_to_cpu
	str	w0, [x21]
LBB0_2:
	cmp	w22, #0
	cset	w0, ne
	bl	_unlikely
	cbz	x0, LBB0_4
; %bb.3:
Lloh9:
	adrp	x8, _NVME_SC_DNR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _NVME_SC_DNR@GOTPAGEOFF]
	ldr	w0, [x20]
Lloh11:
	ldr	w8, [x8]
	cmp	w22, #0
	mov	w9, #-1
	csinv	w8, w9, w8, le
	and	w2, w8, w22
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	mov	x3, x19
	bl	_dev_err
LBB0_4:
	mov	x0, x22
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_nvme_fabrics_command,4,2       ; @nvme_fabrics_command
	.comm	_nvme_fabrics_type_property_get,4,2 ; @nvme_fabrics_type_property_get
	.comm	_NVME_QID_ANY,4,2               ; @NVME_QID_ANY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Property Get error: %d, offset %#x\n"

	.comm	_NVME_SC_DNR,4,2                ; @NVME_SC_DNR
.subsections_via_symbols
