	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvme_tcp_try_send_data_pdu
_nvme_tcp_try_send_data_pdu:            ## @nvme_tcp_try_send_data_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	16(%rdi), %r12
	movq	24(%rdi), %r14
	movq	%r14, %rdi
	callq	_nvme_tcp_hdgst_len
	movl	%eax, %ebx
	movl	(%r15), %eax
	subl	%eax, %ebx
	addl	$4, %ebx
	cmpq	$0, 24(%r14)
	je	LBB0_3
## %bb.1:
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	movl	(%r14), %edi
	movq	%r12, %rsi
	movl	$4, %edx
	callq	_nvme_tcp_hdgst
LBB0_3:
	movl	16(%r14), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r12, %rdi
	callq	_virt_to_page
	movl	%eax, %r13d
	movq	%r12, %rdi
	callq	_offset_in_page
	movslq	(%r15), %rdx
	addq	%rax, %rdx
	movq	_MSG_DONTWAIT@GOTPCREL(%rip), %rax
	movq	_MSG_MORE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	orl	(%rax), %r8d
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	%r13d, %esi
	movl	%ebx, %ecx
	callq	_kernel_sendpage
	movl	%eax, %r12d
	xorl	%edi, %edi
	testl	%eax, %eax
	setle	%dil
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_10
## %bb.4:
	cmpl	%r12d, %ebx
	jne	LBB0_9
## %bb.5:
	movq	_NVME_TCP_SEND_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r15)
	cmpq	$0, 8(%r14)
	je	LBB0_7
## %bb.6:
	movl	(%r14), %edi
	callq	_crypto_ahash_init
LBB0_7:
	movl	$1, %r12d
	cmpl	$0, 4(%r15)
	jne	LBB0_10
## %bb.8:
	movq	_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_nvme_tcp_init_iter
	jmp	LBB0_10
LBB0_9:
	addl	%r12d, (%r15)
	movq	_EAGAIN@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
LBB0_10:
	movl	%r12d, %eax
	addq	$8, %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	_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_data_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_data_pdu
_nvme_tcp_try_send_data_pdu:            ; @nvme_tcp_try_send_data_pdu
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	ldp	x22, x20, [x0, #16]
	mov	x0, x20
	bl	_nvme_tcp_hdgst_len
	ldr	w8, [x19]
	sub	w9, w0, w8
	add	w21, 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, x22
	mov	w2, #4
	bl	_nvme_tcp_hdgst
LBB0_2:
	ldr	w23, [x20, #16]
	mov	x0, x22
	bl	_virt_to_page
	mov	x24, x0
	mov	x0, x22
	bl	_offset_in_page
	ldrsw	x8, [x19]
Lloh0:
	adrp	x9, _MSG_DONTWAIT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MSG_DONTWAIT@GOTPAGEOFF]
	add	x2, x0, x8
Lloh2:
	ldr	w8, [x9]
Lloh3:
	adrp	x9, _MSG_MORE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MSG_MORE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w4, w9, w8
	mov	x0, x23
	mov	x1, x24
	mov	x3, x21
	bl	_kernel_sendpage
	mov	x22, x0
	cmp	w0, #1
	cset	w0, lt
	bl	_unlikely
	cbnz	x0, LBB0_10
; %bb.3:
	cmp	w21, w22
	b.ne	LBB0_9
; %bb.4:
Lloh6:
	adrp	x8, _NVME_TCP_SEND_DATA@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NVME_TCP_SEND_DATA@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x19, #8]
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_6
; %bb.5:
	ldr	w0, [x20]
	bl	_crypto_ahash_init
LBB0_6:
	ldr	w8, [x19, #4]
	cbnz	w8, LBB0_8
; %bb.7:
Lloh9:
	adrp	x8, _WRITE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _WRITE@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_nvme_tcp_init_iter
LBB0_8:
	mov	w22, #1
	b	LBB0_10
LBB0_9:
	ldr	w8, [x19]
	add	w8, w8, w22
	str	w8, [x19]
Lloh12:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	neg	w22, w8
LBB0_10:
	mov	x0, x22
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DONTWAIT,4,2               ; @MSG_DONTWAIT
	.comm	_MSG_MORE,4,2                   ; @MSG_MORE
	.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_data_pdu
.subsections_via_symbols
