	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvme_tcp_try_send
_nvme_tcp_try_send:                     ## @nvme_tcp_try_send
	.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
	movq	(%rdi), %r14
	testq	%r14, %r14
	jne	LBB0_3
## %bb.1:
	movq	%rdi, %rbx
	callq	_nvme_tcp_fetch_request
	movq	%rax, %r14
	movq	%rax, (%rbx)
	testq	%rax, %rax
	je	LBB0_2
LBB0_3:
	movq	(%r14), %rax
	movq	_NVME_TCP_SEND_CMD_PDU@GOTPCREL(%rip), %rcx
	movl	$1, %ebx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.4:
	movq	%r14, %rdi
	callq	_nvme_tcp_try_send_cmd_pdu
	movl	%eax, %ebx
	testl	%eax, %eax
	jle	LBB0_15
## %bb.5:
	movq	%r14, %rdi
	callq	_nvme_tcp_has_inline_data
	testl	%eax, %eax
	je	LBB0_16
## %bb.6:
	movq	(%r14), %rax
LBB0_7:
	movq	_NVME_TCP_SEND_H2C_PDU@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.8:
	movq	%r14, %rdi
	callq	_nvme_tcp_try_send_data_pdu
	movl	%eax, %ebx
	testl	%eax, %eax
	jle	LBB0_15
## %bb.9:
	movq	(%r14), %rax
LBB0_10:
	movq	_NVME_TCP_SEND_DATA@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_13
## %bb.11:
	movq	%r14, %rdi
	callq	_nvme_tcp_try_send_data
	movl	%eax, %ebx
	testl	%eax, %eax
	jle	LBB0_15
## %bb.12:
	movq	(%r14), %rax
LBB0_13:
	movq	_NVME_TCP_SEND_DDGST@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_15
## %bb.14:
	movq	%r14, %rdi
	callq	_nvme_tcp_try_send_ddgst
	movl	%eax, %ebx
LBB0_15:
	movq	_EAGAIN@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	movl	(%rax), %eax
	addl	%ebx, %eax
	cmovel	%ecx, %ebx
LBB0_16:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	xorl	%ebx, %ebx
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
	.comm	_NVME_TCP_SEND_CMD_PDU,8,3      ## @NVME_TCP_SEND_CMD_PDU
	.comm	_NVME_TCP_SEND_H2C_PDU,8,3      ## @NVME_TCP_SEND_H2C_PDU
	.comm	_NVME_TCP_SEND_DATA,8,3         ## @NVME_TCP_SEND_DATA
	.comm	_NVME_TCP_SEND_DDGST,8,3        ## @NVME_TCP_SEND_DDGST
	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.no_dead_strip	_nvme_tcp_try_send
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nvme_tcp_try_send
_nvme_tcp_try_send:                     ; @nvme_tcp_try_send
	.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
	ldr	x19, [x0]
	cbnz	x19, LBB0_2
; %bb.1:
	mov	x20, x0
	bl	_nvme_tcp_fetch_request
	mov	x19, x0
	str	x0, [x20]
	cbz	x0, LBB0_17
LBB0_2:
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _NVME_TCP_SEND_CMD_PDU@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NVME_TCP_SEND_CMD_PDU@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.3:
	mov	x0, x19
	bl	_nvme_tcp_try_send_cmd_pdu
	mov	x20, x0
	cmp	w0, #1
	b.lt	LBB0_15
; %bb.4:
	mov	x0, x19
	bl	_nvme_tcp_has_inline_data
	cbz	w0, LBB0_16
; %bb.5:
	ldr	x8, [x19]
	b	LBB0_7
LBB0_6:
	mov	w20, #1
LBB0_7:
Lloh3:
	adrp	x9, _NVME_TCP_SEND_H2C_PDU@GOTPAGE
Lloh4:
	ldr	x9, [x9, _NVME_TCP_SEND_H2C_PDU@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.8:
	mov	x0, x19
	bl	_nvme_tcp_try_send_data_pdu
	mov	x20, x0
	cmp	w0, #1
	b.lt	LBB0_15
; %bb.9:
	ldr	x8, [x19]
LBB0_10:
Lloh6:
	adrp	x9, _NVME_TCP_SEND_DATA@GOTPAGE
Lloh7:
	ldr	x9, [x9, _NVME_TCP_SEND_DATA@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_13
; %bb.11:
	mov	x0, x19
	bl	_nvme_tcp_try_send_data
	mov	x20, x0
	cmp	w0, #1
	b.lt	LBB0_15
; %bb.12:
	ldr	x8, [x19]
LBB0_13:
Lloh9:
	adrp	x9, _NVME_TCP_SEND_DDGST@GOTPAGE
Lloh10:
	ldr	x9, [x9, _NVME_TCP_SEND_DDGST@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_15
; %bb.14:
	mov	x0, x19
	bl	_nvme_tcp_try_send_ddgst
	mov	x20, x0
LBB0_15:
Lloh12:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	cmn	w20, w8
	csel	w20, wzr, w20, eq
LBB0_16:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_17:
	mov	w20, #0
	b	LBB0_16
	.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	_NVME_TCP_SEND_CMD_PDU,8,3      ; @NVME_TCP_SEND_CMD_PDU
	.comm	_NVME_TCP_SEND_H2C_PDU,8,3      ; @NVME_TCP_SEND_H2C_PDU
	.comm	_NVME_TCP_SEND_DATA,8,3         ; @NVME_TCP_SEND_DATA
	.comm	_NVME_TCP_SEND_DDGST,8,3        ; @NVME_TCP_SEND_DDGST
	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.no_dead_strip	_nvme_tcp_try_send
.subsections_via_symbols
