	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function siw_0copy_tx
_siw_0copy_tx:                          ## @siw_0copy_tx
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r14d
	movl	%ecx, %r12d
	movq	%rdx, %r15
	movq	%rsi, %r13
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movq	8(%rdx), %rdi
	movl	%ecx, %eax
	subq	%rax, %rdi
	movl	%r8d, %esi
	callq	_min
	testl	%r14d, %r14d
	je	LBB0_6
## %bb.1:
	movl	%eax, %ebx
	addl	(%r15), %r12d
	movq	_PAGE_MASK@GOTPCREL(%rip), %rax
	movq	%r13, %rsi
	movq	%r15, %r13
	movl	(%rax), %r15d
	notl	%r15d
	andl	%r12d, %r15d
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	movl	%r15d, %edx
	movl	%ebx, %ecx
	callq	_siw_tcp_sendpages
	testl	%eax, %eax
	js	LBB0_9
## %bb.2:
	addq	$24, %r13
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	xorl	%r13d, %r13d
	movl	%r14d, -52(%rbp)                ## 4-byte Spill
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	addl	%eax, %r13d
	movl	%r13d, %ecx
	movl	%r13d, -44(%rbp)                ## 4-byte Spill
	cmpl	%r14d, %r13d
	je	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	%eax, %ebx
	jg	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%r14d, %r13d
	addl	%r15d, %ebx
	movl	%ebx, %edi
	callq	_PAGE_ALIGN
	movq	_PAGE_SHIFT@GOTPCREL(%rip), %rcx
	movzbl	(%rcx), %ecx
	sarl	%cl, %eax
	movl	-48(%rbp), %r14d                ## 4-byte Reload
	addl	%eax, %r14d
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	movq	(%r12), %rdi
	movl	%r13d, %esi
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	subl	%r13d, %esi
	callq	_min
	movl	%eax, %ebx
	movq	_PAGE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	notl	%r15d
	andl	-8(%r12), %r15d
	movl	%r14d, -48(%rbp)                ## 4-byte Spill
	movslq	%r14d, %rax
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,8), %rsi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%r15d, %edx
	movl	%ebx, %ecx
	callq	_siw_tcp_sendpages
	movl	-52(%rbp), %r14d                ## 4-byte Reload
	addq	$16, %r12
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	testl	%eax, %eax
	jns	LBB0_3
	jmp	LBB0_9
LBB0_6:
	xorl	%eax, %eax
	jmp	LBB0_9
LBB0_8:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
LBB0_9:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PAGE_MASK,4,2                  ## @PAGE_MASK
	.comm	_PAGE_SHIFT,4,2                 ## @PAGE_SHIFT
	.no_dead_strip	_siw_0copy_tx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function siw_0copy_tx
_siw_0copy_tx:                          ; @siw_0copy_tx
	.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, x4
	mov	x23, x3
	mov	x24, x2
	mov	x20, x1
	mov	x21, x0
	ldr	x8, [x2, #8]
	sub	x0, x8, w3, uxtw
	mov	x1, x4
	bl	_min
	cbz	w19, LBB0_5
; %bb.1:
	mov	x22, x0
	ldr	w8, [x24]
Lloh0:
	adrp	x25, _PAGE_MASK@GOTPAGE
Lloh1:
	ldr	x25, [x25, _PAGE_MASK@GOTPAGEOFF]
	ldr	w9, [x25]
	add	w8, w8, w23
	bic	w23, w8, w9
	mov	x0, x21
	mov	x1, x20
	mov	x2, x23
	mov	x3, x22
	bl	_siw_tcp_sendpages
	tbnz	w0, #31, LBB0_7
; %bb.2:
	mov	w27, #0
	mov	w26, #0
	add	x24, x24, #24
Lloh2:
	adrp	x28, _PAGE_SHIFT@GOTPAGE
Lloh3:
	ldr	x28, [x28, _PAGE_SHIFT@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	w26, w0, w26
	cmp	w26, w19
	ccmp	w22, w0, #0, ne
	b.gt	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	w0, w22, w23
	bl	_PAGE_ALIGN
	ldr	w8, [x28]
	asr	w8, w0, w8
	add	w27, w8, w27
	ldr	x0, [x24]
	sub	w1, w19, w26
	bl	_min
	mov	x22, x0
	ldur	w8, [x24, #-8]
	ldr	w9, [x25]
	bic	w23, w8, w9
	add	x1, x20, w27, sxtw #3
	mov	x0, x21
	mov	x2, x23
	mov	x3, x22
	bl	_siw_tcp_sendpages
	add	x24, x24, #16
	tbz	w0, #31, LBB0_3
	b	LBB0_7
LBB0_5:
	mov	w0, #0
	b	LBB0_7
LBB0_6:
	mov	x0, x26
LBB0_7:
	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	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_PAGE_MASK,4,2                  ; @PAGE_MASK
	.comm	_PAGE_SHIFT,4,2                 ; @PAGE_SHIFT
	.no_dead_strip	_siw_0copy_tx
.subsections_via_symbols
