	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fill_tso_desc
_fill_tso_desc:                         ## @fill_tso_desc
	.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
                                        ## kill: def $r9d killed $r9d def $r9
	movq	%r9, -80(%rbp)                  ## 8-byte Spill
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movl	%edx, %r14d
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	_BD_MAX_SEND_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leal	(%r14,%rsi), %eax
	decl	%eax
	cltd
	idivl	%esi
	movl	%eax, %r15d
	movl	%r14d, %eax
	cltd
	idivl	%esi
	movl	%edx, %r12d
	testl	%edx, %edx
	cmovel	%esi, %r12d
	testl	%r15d, %r15d
	jle	LBB0_6
## %bb.1:
	decl	%r15d
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	setne	%al
	testl	%r13d, %r13d
	movl	$0, %edx
	cmovel	%r14d, %edx
	cmpl	%r13d, %r15d
	movl	%esi, %ecx
	cmovel	%r12d, %ecx
	sete	%bl
	imull	%r13d, %esi
	movslq	%esi, %r8
	addq	-72(%rbp), %r8                  ## 8-byte Folded Reload
	andb	%al, %bl
	movq	_DESC_TYPE_SKB@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, %esi
	xorl	16(%rbp), %esi
	orl	%r13d, %esi
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_DESC_TYPE_PAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movzbl	%bl, %r9d
	subq	$8, %rsp
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movl	24(%rbp), %ebx
	pushq	%rbx
	pushq	%rax
	pushq	-80(%rbp)                       ## 8-byte Folded Reload
	callq	_fill_v2_desc_hw
	addq	$32, %rsp
	cmpl	%r13d, %r15d
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_BD_MAX_SEND_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	incl	%r13d
	jmp	LBB0_2
LBB0_6:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BD_MAX_SEND_SIZE,4,2           ## @BD_MAX_SEND_SIZE
	.comm	_DESC_TYPE_SKB,4,2              ## @DESC_TYPE_SKB
	.comm	_DESC_TYPE_PAGE,4,2             ## @DESC_TYPE_PAGE
	.no_dead_strip	_fill_tso_desc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fill_tso_desc
_fill_tso_desc:                         ; @fill_tso_desc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	str	w7, [sp, #12]                   ; 4-byte Folded Spill
Lloh0:
	adrp	x8, _BD_MAX_SEND_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BD_MAX_SEND_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	add	w9, w2, w8
	sub	w9, w9, #1
	sdiv	w9, w9, w8
	sdiv	w10, w2, w8
	msub	w10, w10, w8, w2
	cmp	w10, #0
	csel	w28, w8, w10, eq
	subs	w27, w9, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x20, x6
	mov	x21, x5
	mov	x22, x4
	mov	x23, x3
	mov	x24, x2
	mov	x25, x1
	mov	x26, x0
	mov	w19, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w22, #0
	cset	w9, ne
	cmp	w27, w19
	csel	w3, w28, w8, eq
	cset	w10, eq
	cmp	w19, #0
	csel	w2, w24, wzr, eq
	mul	w8, w8, w19
	add	x4, x23, w8, sxtw
	and	w5, w9, w10
Lloh3:
	adrp	x8, _DESC_TYPE_SKB@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DESC_TYPE_SKB@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ccmp	w8, w20, #0, eq
Lloh6:
	adrp	x9, _DESC_TYPE_PAGE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _DESC_TYPE_PAGE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	csel	w7, w9, w8, ne
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	str	w8, [sp]
	mov	x0, x26
	mov	x1, x25
	mov	x6, x21
	bl	_fill_v2_desc_hw
	cmp	w27, w19
	b.eq	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh9:
	adrp	x8, _BD_MAX_SEND_SIZE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _BD_MAX_SEND_SIZE@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	add	w19, w19, #1
	b	LBB0_2
LBB0_4:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_BD_MAX_SEND_SIZE,4,2           ; @BD_MAX_SEND_SIZE
	.comm	_DESC_TYPE_SKB,4,2              ; @DESC_TYPE_SKB
	.comm	_DESC_TYPE_PAGE,4,2             ; @DESC_TYPE_PAGE
	.no_dead_strip	_fill_tso_desc
.subsections_via_symbols
