	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvme_tcp_check_ddgst
_nvme_tcp_check_ddgst:                  ## @nvme_tcp_check_ddgst
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	callq	_nvme_tcp_hdgst_len
	movl	%eax, %r15d
	movl	16(%rbx), %edi
	callq	_le32_to_cpu
	movl	(%rbx), %ecx
	movq	_NVME_TCP_F_HDGST@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	andl	%ecx, %edx
	cmovnel	%r15d, %edx
	movslq	%edx, %rdx
	addq	8(%rbx), %rdx
	cmpq	%rdx, %rax
	setne	%al
	movq	_NVME_TCP_F_DDGST@GOTPCREL(%rip), %rdx
	andl	(%rdx), %ecx
	sete	%cl
	andb	%al, %cl
	movzbl	%cl, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	8(%r14), %rax
	movl	(%rax), %ebx
	movq	%r14, %rdi
	callq	_nvme_tcp_queue_id
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edi
	movl	%eax, %edx
	callq	_dev_err
	movq	_EPROTO@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_3
LBB0_2:
	movl	(%r14), %edi
	callq	_crypto_ahash_init
	xorl	%eax, %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NVME_TCP_F_HDGST,4,2           ## @NVME_TCP_F_HDGST
	.comm	_NVME_TCP_F_DDGST,4,2           ## @NVME_TCP_F_DDGST
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"queue %d: data digest flag is cleared\n"

	.comm	_EPROTO,4,2                     ## @EPROTO
	.no_dead_strip	_nvme_tcp_check_ddgst
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nvme_tcp_check_ddgst
_nvme_tcp_check_ddgst:                  ; @nvme_tcp_check_ddgst
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x20, x1
	mov	x19, x0
	bl	_nvme_tcp_hdgst_len
	mov	x21, x0
	ldr	w0, [x20, #16]
	bl	_le32_to_cpu
	ldr	x8, [x20, #8]
	ldr	w9, [x20]
Lloh0:
	adrp	x10, _NVME_TCP_F_HDGST@GOTPAGE
Lloh1:
	ldr	x10, [x10, _NVME_TCP_F_HDGST@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	tst	w10, w9
	csel	w10, wzr, w21, eq
	add	x8, x8, w10, sxtw
Lloh3:
	adrp	x10, _NVME_TCP_F_DDGST@GOTPAGE
Lloh4:
	ldr	x10, [x10, _NVME_TCP_F_DDGST@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	tst	w10, w9
	ccmp	x0, x8, #4, eq
	cset	w0, ne
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x19, #8]
	ldr	w20, [x8]
	mov	x0, x19
	bl	_nvme_tcp_queue_id
	mov	x2, x0
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_dev_err
Lloh8:
	adrp	x8, _EPROTO@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EPROTO@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_3
LBB0_2:
	ldr	w0, [x19]
	bl	_crypto_ahash_init
	mov	w0, #0
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_NVME_TCP_F_HDGST,4,2           ; @NVME_TCP_F_HDGST
	.comm	_NVME_TCP_F_DDGST,4,2           ; @NVME_TCP_F_DDGST
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"queue %d: data digest flag is cleared\n"

	.comm	_EPROTO,4,2                     ; @EPROTO
	.no_dead_strip	_nvme_tcp_check_ddgst
.subsections_via_symbols
