	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvme_tcp_try_send_cmd_pdu
_nvme_tcp_try_send_cmd_pdu:             ## @nvme_tcp_try_send_cmd_pdu
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	8(%rdi), %r13
	movq	16(%rdi), %r14
	callq	_nvme_tcp_has_inline_data
	movq	_MSG_DONTWAIT@GOTPCREL(%rip), %rdx
	testl	%eax, %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	jne	LBB0_2
## %bb.1:
	movq	_MSG_EOR@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_2:
	movq	_MSG_MORE@GOTPCREL(%rip), %rcx
LBB0_3:
	movl	(%rcx), %r15d
	orl	(%rdx), %r15d
	movq	%r14, %rdi
	callq	_nvme_tcp_hdgst_len
	movl	%eax, %ebx
	movl	(%r12), %eax
	subl	%eax, %ebx
	addl	$4, %ebx
	cmpq	$0, 24(%r14)
	je	LBB0_6
## %bb.4:
	testl	%eax, %eax
	jne	LBB0_6
## %bb.5:
	movl	(%r14), %edi
	movq	%r13, %rsi
	movl	$4, %edx
	callq	_nvme_tcp_hdgst
LBB0_6:
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movl	16(%r14), %r14d
	movq	%r13, %rdi
	callq	_virt_to_page
	movq	%r13, %rdi
	movl	%eax, %r13d
	callq	_offset_in_page
	addl	(%r12), %eax
	movl	%r14d, %edi
	movl	%r13d, %esi
	movl	%eax, %edx
	movl	%ebx, %ecx
	movl	%r15d, %r8d
	callq	_kernel_sendpage
	movl	%eax, %r15d
	xorl	%edi, %edi
	testl	%eax, %eax
	setle	%dil
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_15
## %bb.7:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	cmpl	%r15d, %ebx
	jne	LBB0_12
## %bb.8:
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_13
## %bb.9:
	movq	_NVME_TCP_SEND_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r12)
	cmpq	$0, 8(%rdi)
	je	LBB0_11
## %bb.10:
	movl	(%rdi), %edi
	callq	_crypto_ahash_init
LBB0_11:
	movq	_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_nvme_tcp_init_iter
	jmp	LBB0_14
LBB0_12:
	addl	%r15d, (%r12)
	movq	_EAGAIN@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
	jmp	LBB0_15
LBB0_13:
	callq	_nvme_tcp_done_send_req
LBB0_14:
	movl	$1, %r15d
LBB0_15:
	movl	%r15d, %eax
	addq	$24, %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	_MSG_MORE,4,2                   ## @MSG_MORE
	.comm	_MSG_EOR,4,2                    ## @MSG_EOR
	.comm	_NVME_TCP_SEND_DATA,4,2         ## @NVME_TCP_SEND_DATA
	.comm	_WRITE,4,2                      ## @WRITE
	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.no_dead_strip	_nvme_tcp_try_send_cmd_pdu
.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_cmd_pdu
_nvme_tcp_try_send_cmd_pdu:             ; @nvme_tcp_try_send_cmd_pdu
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
	ldp	x23, x20, [x0, #8]
	bl	_nvme_tcp_has_inline_data
	mov	x21, x0
Lloh0:
	adrp	x8, _MSG_DONTWAIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MSG_DONTWAIT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _MSG_MORE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MSG_MORE@GOTPAGEOFF]
Lloh5:
	adrp	x10, _MSG_EOR@GOTPAGE
Lloh6:
	ldr	x10, [x10, _MSG_EOR@GOTPAGEOFF]
	cmp	w0, #0
	csel	x9, x10, x9, eq
	ldr	w9, [x9]
	orr	w24, w9, w8
	mov	x0, x20
	bl	_nvme_tcp_hdgst_len
	ldr	w8, [x19]
	sub	w9, w0, w8
	add	w22, w9, #4
	ldr	x9, [x20, #24]
	cmp	x9, #0
	ccmp	w8, #0, #0, ne
	b.ne	LBB0_2
; %bb.1:
	ldr	w0, [x20]
	mov	x1, x23
	mov	w2, #4
	bl	_nvme_tcp_hdgst
LBB0_2:
	ldr	w25, [x20, #16]
	mov	x0, x23
	bl	_virt_to_page
	mov	x26, x0
	mov	x0, x23
	bl	_offset_in_page
	ldr	w8, [x19]
	add	w2, w8, w0
	mov	x0, x25
	mov	x1, x26
	mov	x3, x22
	mov	x4, x24
	bl	_kernel_sendpage
	mov	x23, x0
	cmp	w0, #1
	cset	w0, lt
	bl	_unlikely
	cbnz	x0, LBB0_11
; %bb.3:
	cmp	w22, w23
	b.ne	LBB0_8
; %bb.4:
	cbz	w21, LBB0_9
; %bb.5:
Lloh7:
	adrp	x8, _NVME_TCP_SEND_DATA@GOTPAGE
Lloh8:
	ldr	x8, [x8, _NVME_TCP_SEND_DATA@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	str	w8, [x19, #4]
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_7
; %bb.6:
	ldr	w0, [x20]
	bl	_crypto_ahash_init
LBB0_7:
Lloh10:
	adrp	x8, _WRITE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _WRITE@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_nvme_tcp_init_iter
	b	LBB0_10
LBB0_8:
	ldr	w8, [x19]
	add	w8, w8, w23
	str	w8, [x19]
Lloh13:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	neg	w23, w8
	b	LBB0_11
LBB0_9:
	mov	x0, x20
	bl	_nvme_tcp_done_send_req
LBB0_10:
	mov	w23, #1
LBB0_11:
	mov	x0, x23
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DONTWAIT,4,2               ; @MSG_DONTWAIT
	.comm	_MSG_MORE,4,2                   ; @MSG_MORE
	.comm	_MSG_EOR,4,2                    ; @MSG_EOR
	.comm	_NVME_TCP_SEND_DATA,4,2         ; @NVME_TCP_SEND_DATA
	.comm	_WRITE,4,2                      ; @WRITE
	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.no_dead_strip	_nvme_tcp_try_send_cmd_pdu
.subsections_via_symbols
