	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvmet_tcp_try_send_one
_nvmet_tcp_try_send_one:                ## @nvmet_tcp_try_send_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	8(%rdi), %rbx
	testq	%rbx, %rbx
	je	LBB0_2
## %bb.1:
	movq	(%rdi), %rax
	movq	_NVMET_TCP_Q_DISCONNECTING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
LBB0_2:
	callq	_nvmet_tcp_fetch_cmd
	movq	%rax, %rbx
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_unlikely
	xorl	%ecx, %ecx
	testq	%rax, %rax
	jne	LBB0_19
LBB0_3:
	movq	(%rbx), %rax
	movq	_NVMET_TCP_SEND_DATA_PDU@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.4:
	movq	%rbx, %rdi
	callq	_nvmet_try_send_data_pdu
	testl	%eax, %eax
	jle	LBB0_17
## %bb.5:
	movq	(%rbx), %rax
LBB0_6:
	movq	_NVMET_TCP_SEND_DATA@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.7:
	movq	%rbx, %rdi
	callq	_nvmet_try_send_data
	testl	%eax, %eax
	jle	LBB0_17
## %bb.8:
	movq	(%rbx), %rax
LBB0_9:
	movq	_NVMET_TCP_SEND_DDGST@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_12
## %bb.10:
	movq	%rbx, %rdi
	callq	_nvmet_try_send_ddgst
	testl	%eax, %eax
	jle	LBB0_17
## %bb.11:
	movq	(%rbx), %rax
LBB0_12:
	movq	_NVMET_TCP_SEND_R2T@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_15
## %bb.13:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_nvmet_try_send_r2t
	testl	%eax, %eax
	jle	LBB0_17
## %bb.14:
	movq	(%rbx), %rax
LBB0_15:
	movq	_NVMET_TCP_SEND_RESPONSE@GOTPCREL(%rip), %rdx
	movl	$1, %ecx
	cmpq	(%rdx), %rax
	jne	LBB0_19
## %bb.16:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_nvmet_try_send_response
LBB0_17:
	movl	$1, %ecx
	testl	%eax, %eax
	jns	LBB0_19
## %bb.18:
	movq	_EAGAIN@GOTPCREL(%rip), %rdx
	xorl	%ecx, %ecx
	movl	(%rdx), %edx
	addl	%eax, %edx
	cmovnel	%eax, %ecx
LBB0_19:
	movl	%ecx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NVMET_TCP_Q_DISCONNECTING,8,3  ## @NVMET_TCP_Q_DISCONNECTING
	.comm	_NVMET_TCP_SEND_DATA_PDU,8,3    ## @NVMET_TCP_SEND_DATA_PDU
	.comm	_NVMET_TCP_SEND_DATA,8,3        ## @NVMET_TCP_SEND_DATA
	.comm	_NVMET_TCP_SEND_DDGST,8,3       ## @NVMET_TCP_SEND_DDGST
	.comm	_NVMET_TCP_SEND_R2T,8,3         ## @NVMET_TCP_SEND_R2T
	.comm	_NVMET_TCP_SEND_RESPONSE,8,3    ## @NVMET_TCP_SEND_RESPONSE
	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.no_dead_strip	_nvmet_tcp_try_send_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_send_one
_nvmet_tcp_try_send_one:                ; @nvmet_tcp_try_send_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, x1
	ldr	x20, [x0, #8]
	cbz	x20, LBB0_2
; %bb.1:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _NVMET_TCP_Q_DISCONNECTING@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NVMET_TCP_Q_DISCONNECTING@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
LBB0_2:
	bl	_nvmet_tcp_fetch_cmd
	mov	x20, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_4
; %bb.3:
	mov	w0, #0
	b	LBB0_21
LBB0_4:
	ldr	x8, [x20]
Lloh3:
	adrp	x9, _NVMET_TCP_SEND_DATA_PDU@GOTPAGE
Lloh4:
	ldr	x9, [x9, _NVMET_TCP_SEND_DATA_PDU@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.5:
	mov	x0, x20
	bl	_nvmet_try_send_data_pdu
	cmp	w0, #1
	b.lt	LBB0_18
; %bb.6:
	ldr	x8, [x20]
LBB0_7:
Lloh6:
	adrp	x9, _NVMET_TCP_SEND_DATA@GOTPAGE
Lloh7:
	ldr	x9, [x9, _NVMET_TCP_SEND_DATA@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.8:
	mov	x0, x20
	bl	_nvmet_try_send_data
	cmp	w0, #1
	b.lt	LBB0_18
; %bb.9:
	ldr	x8, [x20]
LBB0_10:
Lloh9:
	adrp	x9, _NVMET_TCP_SEND_DDGST@GOTPAGE
Lloh10:
	ldr	x9, [x9, _NVMET_TCP_SEND_DDGST@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_13
; %bb.11:
	mov	x0, x20
	bl	_nvmet_try_send_ddgst
	cmp	w0, #1
	b.lt	LBB0_18
; %bb.12:
	ldr	x8, [x20]
LBB0_13:
Lloh12:
	adrp	x9, _NVMET_TCP_SEND_R2T@GOTPAGE
Lloh13:
	ldr	x9, [x9, _NVMET_TCP_SEND_R2T@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_16
; %bb.14:
	mov	x0, x20
	mov	x1, x19
	bl	_nvmet_try_send_r2t
	cmp	w0, #1
	b.lt	LBB0_18
; %bb.15:
	ldr	x8, [x20]
LBB0_16:
Lloh15:
	adrp	x9, _NVMET_TCP_SEND_RESPONSE@GOTPAGE
Lloh16:
	ldr	x9, [x9, _NVMET_TCP_SEND_RESPONSE@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_19
; %bb.17:
	mov	x0, x20
	mov	x1, x19
	bl	_nvmet_try_send_response
LBB0_18:
	tbnz	w0, #31, LBB0_20
LBB0_19:
	mov	w0, #1
	b	LBB0_21
LBB0_20:
Lloh18:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh19:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	cmn	w0, w8
	csel	w0, wzr, w0, eq
LBB0_21:
	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
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_NVMET_TCP_Q_DISCONNECTING,8,3  ; @NVMET_TCP_Q_DISCONNECTING
	.comm	_NVMET_TCP_SEND_DATA_PDU,8,3    ; @NVMET_TCP_SEND_DATA_PDU
	.comm	_NVMET_TCP_SEND_DATA,8,3        ; @NVMET_TCP_SEND_DATA
	.comm	_NVMET_TCP_SEND_DDGST,8,3       ; @NVMET_TCP_SEND_DDGST
	.comm	_NVMET_TCP_SEND_R2T,8,3         ; @NVMET_TCP_SEND_R2T
	.comm	_NVMET_TCP_SEND_RESPONSE,8,3    ; @NVMET_TCP_SEND_RESPONSE
	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.no_dead_strip	_nvmet_tcp_try_send_one
.subsections_via_symbols
