	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvmet_tcp_try_recv_ddgst
_nvmet_tcp_try_recv_ddgst:              ## @nvmet_tcp_try_recv_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	40(%rdi), %r14
	movq	_MSG_DONTWAIT@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movl	%r9d, -48(%rbp)
	movslq	(%rdi), %rax
	addq	%r14, %rax
	movq	%rax, -72(%rbp)
	movq	24(%rdi), %r8
	movq	%r8, -64(%rbp)
	movl	32(%rdi), %edi
	leaq	-48(%rbp), %rsi
	leaq	-72(%rbp), %rdx
	movl	$1, %ecx
	callq	_kernel_recvmsg
	movl	%eax, %ebx
	movl	%eax, %edi
	shrl	$31, %edi
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_10
## %bb.1:
	addl	%ebx, (%r15)
	movslq	%ebx, %rax
	subq	%rax, 24(%r15)
	jne	LBB0_2
## %bb.3:
	cmpq	$0, 16(%r15)
	je	LBB0_6
## %bb.4:
	movq	(%r14), %rdi
	cmpq	%rdi, 8(%r14)
	jne	LBB0_5
LBB0_6:
	movq	_NVMET_TCP_F_INIT_FAILED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%ebx, %ebx
	testl	%eax, 16(%r14)
	jne	LBB0_9
## %bb.7:
	movq	24(%r14), %rax
	cmpq	32(%r14), %rax
	jne	LBB0_9
## %bb.8:
	addq	$32, %r14
	movq	%r14, %rdi
	callq	_nvmet_req_execute
	jmp	LBB0_9
LBB0_2:
	movq	_EAGAIN@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_10
LBB0_5:
	movl	4(%r15), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	8(%r15), %r13d
	movq	40(%r14), %rax
	movl	(%rax), %ebx
	callq	_le32_to_cpu
	movl	%eax, %r12d
	movq	8(%r14), %rdi
	callq	_le32_to_cpu
	leaq	L_.str(%rip), %rdi
	movl	%r13d, %esi
	movl	%ebx, %edx
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	movl	%r12d, %r8d
	movl	%eax, %r9d
	callq	_pr_err
	movq	%r14, %rdi
	callq	_nvmet_tcp_finish_cmd
	movq	%r15, %rdi
	callq	_nvmet_tcp_fatal_error
	movq	_EPROTO@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_9:
	movq	%r15, %rdi
	callq	_nvmet_prepare_receive_pdu
LBB0_10:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_DONTWAIT,4,2               ## @MSG_DONTWAIT
	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"queue %d: cmd %d pdu (%d) data digest error: recv %#x expected %#x\n"

	.comm	_EPROTO,4,2                     ## @EPROTO
	.comm	_NVMET_TCP_F_INIT_FAILED,4,2    ## @NVMET_TCP_F_INIT_FAILED
	.no_dead_strip	_nvmet_tcp_try_recv_ddgst
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nvmet_tcp_try_recv_ddgst
_nvmet_tcp_try_recv_ddgst:              ; @nvmet_tcp_try_recv_ddgst
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	ldr	x20, [x0, #40]
Lloh0:
	adrp	x8, _MSG_DONTWAIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MSG_DONTWAIT@GOTPAGEOFF]
Lloh2:
	ldr	w5, [x8]
	str	w5, [sp, #24]
	ldrsw	x8, [x0]
	add	x8, x20, x8
	ldr	x4, [x0, #24]
	stp	x8, x4, [sp, #8]
	ldr	w0, [x0, #32]
	add	x1, sp, #24
	add	x2, sp, #8
	mov	w3, #1
	bl	_kernel_recvmsg
	mov	x21, x0
	lsr	w0, w0, #31
	bl	_unlikely
	cbnz	x0, LBB0_11
; %bb.1:
	ldr	w8, [x19]
	add	w8, w8, w21
	str	w8, [x19]
	sxtw	x8, w21
	ldr	x9, [x19, #24]
	subs	x8, x9, x8
	str	x8, [x19, #24]
	b.ne	LBB0_8
; %bb.2:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_4
; %bb.3:
	ldp	x0, x8, [x20]
	cmp	x8, x0
	b.ne	LBB0_9
LBB0_4:
	ldr	w8, [x20, #16]
Lloh3:
	adrp	x9, _NVMET_TCP_F_INIT_FAILED@GOTPAGE
Lloh4:
	ldr	x9, [x9, _NVMET_TCP_F_INIT_FAILED@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_7
; %bb.5:
	ldr	x8, [x20, #32]!
	ldur	x9, [x20, #-8]
	cmp	x9, x8
	b.ne	LBB0_7
; %bb.6:
	mov	x0, x20
	bl	_nvmet_req_execute
LBB0_7:
	mov	w21, #0
	b	LBB0_10
LBB0_8:
Lloh6:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_11
LBB0_9:
	ldr	x8, [x20, #40]
	ldr	w21, [x8]
	ldp	w23, w22, [x19, #4]
	bl	_le32_to_cpu
	mov	x24, x0
	ldr	x0, [x20, #8]
	bl	_le32_to_cpu
	mov	x5, x0
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x22
	mov	x2, x21
	mov	x3, x23
	mov	x4, x24
	bl	_pr_err
	mov	x0, x20
	bl	_nvmet_tcp_finish_cmd
	mov	x0, x19
	bl	_nvmet_tcp_fatal_error
Lloh11:
	adrp	x8, _EPROTO@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EPROTO@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_10:
	mov	x0, x19
	bl	_nvmet_prepare_receive_pdu
LBB0_11:
	mov	x0, x21
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DONTWAIT,4,2               ; @MSG_DONTWAIT
	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"queue %d: cmd %d pdu (%d) data digest error: recv %#x expected %#x\n"

	.comm	_EPROTO,4,2                     ; @EPROTO
	.comm	_NVMET_TCP_F_INIT_FAILED,4,2    ; @NVMET_TCP_F_INIT_FAILED
	.no_dead_strip	_nvmet_tcp_try_recv_ddgst
.subsections_via_symbols
