	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function netsec_set_tx_de
_netsec_set_tx_de:                      ## @netsec_set_tx_de
	.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	%r8, -48(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r15
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movslq	(%rsi), %rcx
	movq	16(%rsi), %r14
	movq	_DESC_SZ@GOTPCREL(%rip), %rax
	movslq	(%rax), %r13
	imulq	%rcx, %r13
	movq	%rcx, %r9
	movq	_NETSEC_TX_SHIFT_OWN_FIELD@GOTPCREL(%rip), %rax
	movq	_NETSEC_TX_SHIFT_PT_FIELD@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$1, %esi
	shll	%cl, %esi
	movb	(%rax), %dil
	movq	_NETSEC_RING_GMAC@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_NETSEC_TX_SHIFT_TDRID_FIELD@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %ebx
	movl	$1, %r8d
	btsl	%edi, %esi
	orl	%esi, %ebx
	movq	_NETSEC_TX_SHIFT_FS_FIELD@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	btsl	%ecx, %ebx
	movq	_NETSEC_TX_SHIFT_CO@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movl	(%rdx), %esi
	shll	%cl, %esi
	movq	_NETSEC_TX_LAST@GOTPCREL(%rip), %rcx
	movb	(%rcx), %dil
	movq	_NETSEC_TX_SHIFT_SO@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	4(%rdx), %eax
	shll	%cl, %eax
	btsl	%edi, %ebx
	orl	%esi, %eax
	orl	%ebx, %eax
	movq	_NETSEC_TX_SHIFT_TRS_FIELD@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	btsl	%ecx, %eax
	movq	_DESC_NUM@GOTPCREL(%rip), %rdx
	movq	_NETSEC_TX_SHIFT_LD_FIELD@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %r8d
	movl	(%rdx), %ecx
	decl	%ecx
	xorl	%r12d, %r12d
	movq	%r9, %rbx
	cmpl	%ecx, %ebx
	cmovel	%r8d, %r12d
	orl	%eax, %r12d
	movl	32(%r15), %edi
	callq	_upper_32_bits
	shlq	$4, %r13
	movl	%eax, 12(%r14,%r13)
	movl	32(%r15), %edi
	callq	_lower_32_bits
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movl	%eax, 8(%r14,%r13)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	8(%rax), %eax
	shll	$16, %eax
	orl	(%r15), %eax
	movl	%eax, (%r14,%r13)
	movl	%r12d, 4(%r14,%r13)
	movq	8(%rsi), %rcx
	leaq	(%rbx,%rbx,4), %rax
	movq	32(%r15), %rdx
	movq	%rdx, 32(%rcx,%rax,8)
	movups	(%r15), %xmm0
	movups	16(%r15), %xmm1
	movups	%xmm1, 16(%rcx,%rax,8)
	movups	%xmm0, (%rcx,%rax,8)
	movq	8(%r15), %rcx
	movq	_TYPE_NETSEC_SKB@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_2
## %bb.1:
	movq	8(%rsi), %rcx
	leaq	(%rcx,%rax,8), %rax
	addq	$24, %rax
	movq	_DESC_NUM@GOTPCREL(%rip), %rdi
	jmp	LBB0_5
LBB0_2:
	movq	_TYPE_NETSEC_XDP_TX@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	movq	_DESC_NUM@GOTPCREL(%rip), %rdi
	je	LBB0_4
## %bb.3:
	movq	_TYPE_NETSEC_XDP_NDO@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_6
LBB0_4:
	movq	8(%rsi), %rcx
	leaq	(%rcx,%rax,8), %rax
	addq	$16, %rax
LBB0_5:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, (%rax)
LBB0_6:
	movl	(%rsi), %eax
	incl	%eax
	cltd
	idivl	(%rdi)
	movl	%edx, (%rsi)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DESC_SZ,4,2                    ## @DESC_SZ
	.comm	_NETSEC_TX_SHIFT_OWN_FIELD,4,2  ## @NETSEC_TX_SHIFT_OWN_FIELD
	.comm	_NETSEC_TX_SHIFT_PT_FIELD,4,2   ## @NETSEC_TX_SHIFT_PT_FIELD
	.comm	_NETSEC_RING_GMAC,4,2           ## @NETSEC_RING_GMAC
	.comm	_NETSEC_TX_SHIFT_TDRID_FIELD,4,2 ## @NETSEC_TX_SHIFT_TDRID_FIELD
	.comm	_NETSEC_TX_SHIFT_FS_FIELD,4,2   ## @NETSEC_TX_SHIFT_FS_FIELD
	.comm	_NETSEC_TX_LAST,4,2             ## @NETSEC_TX_LAST
	.comm	_NETSEC_TX_SHIFT_CO,4,2         ## @NETSEC_TX_SHIFT_CO
	.comm	_NETSEC_TX_SHIFT_SO,4,2         ## @NETSEC_TX_SHIFT_SO
	.comm	_NETSEC_TX_SHIFT_TRS_FIELD,4,2  ## @NETSEC_TX_SHIFT_TRS_FIELD
	.comm	_DESC_NUM,4,2                   ## @DESC_NUM
	.comm	_NETSEC_TX_SHIFT_LD_FIELD,4,2   ## @NETSEC_TX_SHIFT_LD_FIELD
	.comm	_TYPE_NETSEC_SKB,8,3            ## @TYPE_NETSEC_SKB
	.comm	_TYPE_NETSEC_XDP_TX,8,3         ## @TYPE_NETSEC_XDP_TX
	.comm	_TYPE_NETSEC_XDP_NDO,8,3        ## @TYPE_NETSEC_XDP_NDO
	.no_dead_strip	_netsec_set_tx_de
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function netsec_set_tx_de
_netsec_set_tx_de:                      ; @netsec_set_tx_de
	.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	x20, x4
	mov	x21, x3
	mov	x22, x2
	mov	x19, x1
	ldrsw	x23, [x1]
Lloh0:
	adrp	x8, _DESC_SZ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DESC_SZ@GOTPAGEOFF]
	ldr	x25, [x1, #16]
Lloh2:
	ldr	w8, [x8]
	mul	w26, w8, w23
Lloh3:
	adrp	x8, _NETSEC_TX_SHIFT_OWN_FIELD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NETSEC_TX_SHIFT_OWN_FIELD@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	mov	w9, #1
	lsl	w8, w9, w8
Lloh6:
	adrp	x10, _NETSEC_TX_SHIFT_PT_FIELD@GOTPAGE
Lloh7:
	ldr	x10, [x10, _NETSEC_TX_SHIFT_PT_FIELD@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	lsl	w10, w9, w10
	orr	w8, w10, w8
Lloh9:
	adrp	x10, _NETSEC_RING_GMAC@GOTPAGE
Lloh10:
	ldr	x10, [x10, _NETSEC_RING_GMAC@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
Lloh12:
	adrp	x11, _NETSEC_TX_SHIFT_TDRID_FIELD@GOTPAGE
Lloh13:
	ldr	x11, [x11, _NETSEC_TX_SHIFT_TDRID_FIELD@GOTPAGEOFF]
Lloh14:
	ldr	w11, [x11]
	lsl	w10, w10, w11
	orr	w8, w8, w10
Lloh15:
	adrp	x10, _NETSEC_TX_SHIFT_FS_FIELD@GOTPAGE
Lloh16:
	ldr	x10, [x10, _NETSEC_TX_SHIFT_FS_FIELD@GOTPAGEOFF]
Lloh17:
	ldr	w10, [x10]
	lsl	w10, w9, w10
	orr	w8, w8, w10
Lloh18:
	adrp	x10, _NETSEC_TX_LAST@GOTPAGE
Lloh19:
	ldr	x10, [x10, _NETSEC_TX_LAST@GOTPAGEOFF]
Lloh20:
	ldr	w10, [x10]
	lsl	w10, w9, w10
	orr	w8, w8, w10
Lloh21:
	adrp	x10, _NETSEC_TX_SHIFT_CO@GOTPAGE
Lloh22:
	ldr	x10, [x10, _NETSEC_TX_SHIFT_CO@GOTPAGEOFF]
Lloh23:
	ldr	w10, [x10]
	ldp	w11, w12, [x2]
	lsl	w10, w11, w10
	orr	w8, w8, w10
Lloh24:
	adrp	x10, _NETSEC_TX_SHIFT_SO@GOTPAGE
Lloh25:
	ldr	x10, [x10, _NETSEC_TX_SHIFT_SO@GOTPAGEOFF]
Lloh26:
	ldr	w10, [x10]
	lsl	w10, w12, w10
	orr	w8, w8, w10
Lloh27:
	adrp	x10, _NETSEC_TX_SHIFT_TRS_FIELD@GOTPAGE
Lloh28:
	ldr	x10, [x10, _NETSEC_TX_SHIFT_TRS_FIELD@GOTPAGEOFF]
Lloh29:
	ldr	w10, [x10]
	lsl	w10, w9, w10
	orr	w8, w8, w10
Lloh30:
	adrp	x24, _DESC_NUM@GOTPAGE
Lloh31:
	ldr	x24, [x24, _DESC_NUM@GOTPAGEOFF]
	ldr	w10, [x24]
	sub	w10, w10, #1
Lloh32:
	adrp	x11, _NETSEC_TX_SHIFT_LD_FIELD@GOTPAGE
Lloh33:
	ldr	x11, [x11, _NETSEC_TX_SHIFT_LD_FIELD@GOTPAGEOFF]
Lloh34:
	ldr	w11, [x11]
	lsl	w9, w9, w11
	cmp	w23, w10
	csel	w9, w9, wzr, eq
	orr	w27, w8, w9
	ldr	w0, [x3, #32]
	bl	_upper_32_bits
	add	x25, x25, w26, sxtw #4
	str	w0, [x25, #12]
	ldr	w0, [x21, #32]
	bl	_lower_32_bits
	str	w0, [x25, #8]
	ldr	w8, [x22, #8]
	ldr	w9, [x21]
	orr	w8, w9, w8, lsl #16
	stp	w8, w27, [x25]
	ldr	x8, [x19, #8]
	mov	w9, #40
	madd	x8, x23, x9, x8
	ldp	q0, q1, [x21]
	ldr	x9, [x21, #32]
	str	x9, [x8, #32]
	stp	q0, q1, [x8]
	ldr	x8, [x21, #8]
Lloh35:
	adrp	x9, _TYPE_NETSEC_SKB@GOTPAGE
Lloh36:
	ldr	x9, [x9, _TYPE_NETSEC_SKB@GOTPAGEOFF]
Lloh37:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	ldr	x8, [x19, #8]
	mov	w9, #40
	madd	x8, x23, x9, x8
	add	x8, x8, #24
	b	LBB0_5
LBB0_2:
Lloh38:
	adrp	x9, _TYPE_NETSEC_XDP_TX@GOTPAGE
Lloh39:
	ldr	x9, [x9, _TYPE_NETSEC_XDP_TX@GOTPAGEOFF]
Lloh40:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_4
; %bb.3:
Lloh41:
	adrp	x9, _TYPE_NETSEC_XDP_NDO@GOTPAGE
Lloh42:
	ldr	x9, [x9, _TYPE_NETSEC_XDP_NDO@GOTPAGEOFF]
Lloh43:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
LBB0_4:
	ldr	x8, [x19, #8]
	mov	w9, #40
	madd	x8, x23, x9, x8
	add	x8, x8, #16
LBB0_5:
	str	x20, [x8]
LBB0_6:
	ldr	w8, [x19]
	add	w8, w8, #1
	ldr	w9, [x24]
	sdiv	w10, w8, w9
	msub	w8, w10, w9, w8
	str	w8, [x19]
	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 AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.cfi_endproc
                                        ; -- End function
	.comm	_DESC_SZ,4,2                    ; @DESC_SZ
	.comm	_NETSEC_TX_SHIFT_OWN_FIELD,4,2  ; @NETSEC_TX_SHIFT_OWN_FIELD
	.comm	_NETSEC_TX_SHIFT_PT_FIELD,4,2   ; @NETSEC_TX_SHIFT_PT_FIELD
	.comm	_NETSEC_RING_GMAC,4,2           ; @NETSEC_RING_GMAC
	.comm	_NETSEC_TX_SHIFT_TDRID_FIELD,4,2 ; @NETSEC_TX_SHIFT_TDRID_FIELD
	.comm	_NETSEC_TX_SHIFT_FS_FIELD,4,2   ; @NETSEC_TX_SHIFT_FS_FIELD
	.comm	_NETSEC_TX_LAST,4,2             ; @NETSEC_TX_LAST
	.comm	_NETSEC_TX_SHIFT_CO,4,2         ; @NETSEC_TX_SHIFT_CO
	.comm	_NETSEC_TX_SHIFT_SO,4,2         ; @NETSEC_TX_SHIFT_SO
	.comm	_NETSEC_TX_SHIFT_TRS_FIELD,4,2  ; @NETSEC_TX_SHIFT_TRS_FIELD
	.comm	_DESC_NUM,4,2                   ; @DESC_NUM
	.comm	_NETSEC_TX_SHIFT_LD_FIELD,4,2   ; @NETSEC_TX_SHIFT_LD_FIELD
	.comm	_TYPE_NETSEC_SKB,8,3            ; @TYPE_NETSEC_SKB
	.comm	_TYPE_NETSEC_XDP_TX,8,3         ; @TYPE_NETSEC_XDP_TX
	.comm	_TYPE_NETSEC_XDP_NDO,8,3        ; @TYPE_NETSEC_XDP_NDO
	.no_dead_strip	_netsec_set_tx_de
.subsections_via_symbols
