	.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
_nvme_tcp_try_send_data:                ## @nvme_tcp_try_send_data
	.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, %r14
	movq	16(%rdi), %r15
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	callq	_nvme_tcp_req_cur_page
	movq	%rax, %r12
	movq	%r14, %rdi
	callq	_nvme_tcp_req_cur_offset
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	_nvme_tcp_req_cur_length
	movq	%r14, %rdi
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%rax, %rsi
	callq	_nvme_tcp_pdu_last_send
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	testl	%eax, %eax
	je	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpq	$0, 8(%r15)
	movq	_MSG_EOR@GOTPCREL(%rip), %rax
	je	LBB0_4
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_MSG_MORE@GOTPCREL(%rip), %rax
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%r15, %rbx
	movq	_MSG_DONTWAIT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r13d
	orl	(%rax), %r13d
	movq	%r12, %rdi
	callq	_PageSlab
	movl	%eax, %edi
	callq	_unlikely
	movl	16(%r15), %edi
	movq	%r12, %rsi
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%r13d, %r8d
	callq	_sock_no_sendpage
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%r13d, %r8d
	callq	_kernel_sendpage
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	%eax, %r13d
	testl	%eax, %eax
	jle	LBB0_16
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r14, %rdi
	movl	%r13d, %esi
	callq	_nvme_tcp_advance_req
	cmpq	$0, 8(%r15)
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	(%r15), %edi
	movq	%r12, %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movl	%r13d, %ecx
	callq	_nvme_tcp_ddgst_update
LBB0_10:                                ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$0, -60(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_1
## %bb.11:                              ##   in Loop: Header=BB0_1 Depth=1
	movl	%r13d, %eax
	cmpq	%rax, -48(%rbp)                 ## 8-byte Folded Reload
	jne	LBB0_1
## %bb.12:
	cmpq	$0, 8(%r15)
	je	LBB0_14
## %bb.13:
	movl	(%r15), %edi
	leaq	12(%r14), %rsi
	callq	_nvme_tcp_ddgst_final
	movq	_NVME_TCP_SEND_DDGST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r14)
	movq	$0, (%r14)
	jmp	LBB0_15
LBB0_14:
	movq	%r15, %rdi
	callq	_nvme_tcp_done_send_req
LBB0_15:
	movl	$1, %r13d
LBB0_16:
	movl	%r13d, %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_EOR,4,2                    ## @MSG_EOR
	.comm	_MSG_MORE,4,2                   ## @MSG_MORE
	.comm	_NVME_TCP_SEND_DDGST,4,2        ## @NVME_TCP_SEND_DDGST
	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.no_dead_strip	_nvme_tcp_try_send_data
.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
_nvme_tcp_try_send_data:                ; @nvme_tcp_try_send_data
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	ldr	x20, [x0, #16]
Lloh0:
	adrp	x26, _MSG_DONTWAIT@GOTPAGE
Lloh1:
	ldr	x26, [x26, _MSG_DONTWAIT@GOTPAGEOFF]
Lloh2:
	adrp	x27, _MSG_MORE@GOTPAGE
Lloh3:
	ldr	x27, [x27, _MSG_MORE@GOTPAGEOFF]
Lloh4:
	adrp	x28, _MSG_EOR@GOTPAGE
Lloh5:
	ldr	x28, [x28, _MSG_EOR@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_nvme_tcp_req_cur_page
	mov	x22, x0
	mov	x0, x19
	bl	_nvme_tcp_req_cur_offset
	mov	x23, x0
	mov	x0, x19
	bl	_nvme_tcp_req_cur_length
	mov	x21, x0
	mov	x0, x19
	mov	x1, x21
	bl	_nvme_tcp_pdu_last_send
	mov	x24, x0
	cbz	w0, LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_1 Depth=1
	mov	x8, x27
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_1 Depth=1
	mov	x8, x28
LBB0_5:                                 ;   in Loop: Header=BB0_1 Depth=1
	ldr	w9, [x26]
	ldr	w8, [x8]
	orr	w25, w8, w9
	mov	x0, x22
	bl	_PageSlab
	bl	_unlikely
	mov	x8, x0
	ldr	w0, [x20, #16]
	mov	x1, x22
	mov	x2, x23
	mov	x3, x21
	mov	x4, x25
	cbz	x8, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_1 Depth=1
	bl	_sock_no_sendpage
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_1 Depth=1
	bl	_kernel_sendpage
LBB0_8:                                 ;   in Loop: Header=BB0_1 Depth=1
	mov	x25, x0
	cmp	w0, #1
	b.lt	LBB0_17
; %bb.9:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x19
	mov	x1, x25
	bl	_nvme_tcp_advance_req
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_1 Depth=1
	ldr	w0, [x20]
	mov	x1, x22
	mov	x2, x23
	mov	x3, x25
	bl	_nvme_tcp_ddgst_update
LBB0_11:                                ;   in Loop: Header=BB0_1 Depth=1
	cbz	w24, LBB0_1
; %bb.12:                               ;   in Loop: Header=BB0_1 Depth=1
	mov	w8, w25
	cmp	x21, x8
	b.ne	LBB0_1
; %bb.13:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_15
; %bb.14:
	ldr	w0, [x20]
	add	x1, x19, #12
	bl	_nvme_tcp_ddgst_final
Lloh6:
	adrp	x8, _NVME_TCP_SEND_DDGST@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NVME_TCP_SEND_DDGST@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x19, #8]
	str	xzr, [x19]
	b	LBB0_16
LBB0_15:
	mov	x0, x20
	bl	_nvme_tcp_done_send_req
LBB0_16:
	mov	w25, #1
LBB0_17:
	mov	x0, x25
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DONTWAIT,4,2               ; @MSG_DONTWAIT
	.comm	_MSG_EOR,4,2                    ; @MSG_EOR
	.comm	_MSG_MORE,4,2                   ; @MSG_MORE
	.comm	_NVME_TCP_SEND_DDGST,4,2        ; @NVME_TCP_SEND_DDGST
	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.no_dead_strip	_nvme_tcp_try_send_data
.subsections_via_symbols
