	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvme_tcp_verify_hdgst
_nvme_tcp_verify_hdgst:                 ## @nvme_tcp_verify_hdgst
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	_NVME_TCP_F_HDGST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%edi, %edi
	andl	(%rsi), %eax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	(%r14), %rax
	movl	(%rax), %r15d
	movq	%r14, %rdi
	callq	_nvme_tcp_queue_id
	leaq	L_.str(%rip), %rsi
	xorl	%ebx, %ebx
	movl	%r15d, %edi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_err
	movq	_EPROTO@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_2:
	movslq	4(%rbx), %rax
	movq	(%rbx,%rax), %r12
	movl	8(%r14), %edi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_nvme_tcp_hdgst
	movslq	4(%rbx), %rax
	movq	(%rbx,%rax), %r15
	xorl	%ebx, %ebx
	cmpq	%r15, %r12
	je	LBB0_5
## %bb.3:
	movq	(%r14), %rax
	movl	(%rax), %r14d
	movq	%r12, %rdi
	callq	_le32_to_cpu
	movl	%eax, %r12d
	movq	%r15, %rdi
	callq	_le32_to_cpu
	leaq	L_.str.1(%rip), %rsi
	xorl	%ebx, %ebx
	movl	%r14d, %edi
	movl	%r12d, %edx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_dev_err
	movq	_EIO@GOTPCREL(%rip), %rax
LBB0_4:
	subl	(%rax), %ebx
LBB0_5:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NVME_TCP_F_HDGST,4,2           ## @NVME_TCP_F_HDGST
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"queue %d: header digest flag is cleared\n"

	.comm	_EPROTO,4,2                     ## @EPROTO
L_.str.1:                               ## @.str.1
	.asciz	"header digest error: recv %#x expected %#x\n"

	.comm	_EIO,4,2                        ## @EIO
	.no_dead_strip	_nvme_tcp_verify_hdgst
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nvme_tcp_verify_hdgst
_nvme_tcp_verify_hdgst:                 ; @nvme_tcp_verify_hdgst
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	ldr	w8, [x1]
Lloh0:
	adrp	x9, _NVME_TCP_F_HDGST@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NVME_TCP_F_HDGST@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x19]
	ldr	w20, [x8]
	mov	x0, x19
	bl	_nvme_tcp_queue_id
	mov	x2, x0
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_dev_err
Lloh5:
	adrp	x8, _EPROTO@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EPROTO@GOTPAGEOFF]
	b	LBB0_5
LBB0_2:
	ldrsw	x8, [x20, #4]
	ldr	x22, [x20, x8]
	ldr	w0, [x19, #8]
	mov	x1, x20
	mov	x2, x21
	bl	_nvme_tcp_hdgst
	ldrsw	x8, [x20, #4]
	ldr	x20, [x20, x8]
	cmp	x22, x20
	b.ne	LBB0_4
; %bb.3:
	mov	w0, #0
	b	LBB0_6
LBB0_4:
	ldr	x8, [x19]
	ldr	w19, [x8]
	mov	x0, x22
	bl	_le32_to_cpu
	mov	x21, x0
	mov	x0, x20
	bl	_le32_to_cpu
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x2, x21
	bl	_dev_err
Lloh9:
	adrp	x8, _EIO@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
LBB0_5:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_NVME_TCP_F_HDGST,4,2           ; @NVME_TCP_F_HDGST
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"queue %d: header digest flag is cleared\n"

	.comm	_EPROTO,4,2                     ; @EPROTO
l_.str.1:                               ; @.str.1
	.asciz	"header digest error: recv %#x expected %#x\n"

	.comm	_EIO,4,2                        ; @EIO
	.no_dead_strip	_nvme_tcp_verify_hdgst
.subsections_via_symbols
