	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvmet_tcp_try_recv_one
_nvmet_tcp_try_recv_one:                ## @nvmet_tcp_try_recv_one
	.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	%rdi, %rbx
	movq	(%rdi), %rax
	movq	_NVMET_TCP_RECV_ERR@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_unlikely
	xorl	%ecx, %ecx
	testq	%rax, %rax
	jne	LBB0_11
## %bb.1:
	movq	(%rbx), %rax
	movq	_NVMET_TCP_RECV_PDU@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.2:
	movq	%rbx, %rdi
	callq	_nvmet_tcp_try_recv_pdu
	testl	%eax, %eax
	jne	LBB0_9
## %bb.3:
	movq	(%rbx), %rax
LBB0_4:
	movq	_NVMET_TCP_RECV_DATA@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.5:
	movq	%rbx, %rdi
	callq	_nvmet_tcp_try_recv_data
	testl	%eax, %eax
	jne	LBB0_9
## %bb.6:
	movq	(%rbx), %rax
LBB0_7:
	movq	_NVMET_TCP_RECV_DDGST@GOTPCREL(%rip), %rdx
	movl	$1, %ecx
	cmpq	(%rdx), %rax
	jne	LBB0_11
## %bb.8:
	movq	%rbx, %rdi
	callq	_nvmet_tcp_try_recv_ddgst
LBB0_9:
	movl	$1, %ecx
	testl	%eax, %eax
	jns	LBB0_11
## %bb.10:
	movq	_EAGAIN@GOTPCREL(%rip), %rdx
	xorl	%ecx, %ecx
	movl	(%rdx), %edx
	addl	%eax, %edx
	cmovnel	%eax, %ecx
LBB0_11:
	movl	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NVMET_TCP_RECV_ERR,8,3         ## @NVMET_TCP_RECV_ERR
	.comm	_NVMET_TCP_RECV_PDU,8,3         ## @NVMET_TCP_RECV_PDU
	.comm	_NVMET_TCP_RECV_DATA,8,3        ## @NVMET_TCP_RECV_DATA
	.comm	_NVMET_TCP_RECV_DDGST,8,3       ## @NVMET_TCP_RECV_DDGST
	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.no_dead_strip	_nvmet_tcp_try_recv_one
.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_one
_nvmet_tcp_try_recv_one:                ; @nvmet_tcp_try_recv_one
	.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
	mov	x19, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _NVMET_TCP_RECV_ERR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NVMET_TCP_RECV_ERR@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_13
LBB0_2:
	ldr	x8, [x19]
Lloh3:
	adrp	x9, _NVMET_TCP_RECV_PDU@GOTPAGE
Lloh4:
	ldr	x9, [x9, _NVMET_TCP_RECV_PDU@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.3:
	mov	x0, x19
	bl	_nvmet_tcp_try_recv_pdu
	cbnz	w0, LBB0_10
; %bb.4:
	ldr	x8, [x19]
LBB0_5:
Lloh6:
	adrp	x9, _NVMET_TCP_RECV_DATA@GOTPAGE
Lloh7:
	ldr	x9, [x9, _NVMET_TCP_RECV_DATA@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.6:
	mov	x0, x19
	bl	_nvmet_tcp_try_recv_data
	cbnz	w0, LBB0_10
; %bb.7:
	ldr	x8, [x19]
LBB0_8:
Lloh9:
	adrp	x9, _NVMET_TCP_RECV_DDGST@GOTPAGE
Lloh10:
	ldr	x9, [x9, _NVMET_TCP_RECV_DDGST@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_11
; %bb.9:
	mov	x0, x19
	bl	_nvmet_tcp_try_recv_ddgst
LBB0_10:
	tbnz	w0, #31, LBB0_12
LBB0_11:
	mov	w0, #1
	b	LBB0_13
LBB0_12:
Lloh12:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	cmn	w0, w8
	csel	w0, wzr, w0, eq
LBB0_13:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_NVMET_TCP_RECV_ERR,8,3         ; @NVMET_TCP_RECV_ERR
	.comm	_NVMET_TCP_RECV_PDU,8,3         ; @NVMET_TCP_RECV_PDU
	.comm	_NVMET_TCP_RECV_DATA,8,3        ; @NVMET_TCP_RECV_DATA
	.comm	_NVMET_TCP_RECV_DDGST,8,3       ; @NVMET_TCP_RECV_DDGST
	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.no_dead_strip	_nvmet_tcp_try_recv_one
.subsections_via_symbols
