	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function netsec_set_rx_de
_netsec_set_rx_de:                      ## @netsec_set_rx_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r12
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	8(%rsi), %r15
	movq	_DESC_SZ@GOTPCREL(%rip), %rax
	movslq	(%rax), %rbx
	movq	_NETSEC_RX_PKT_OWN_FIELD@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	movq	_NETSEC_RX_PKT_FS_FIELD@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$1, %r13d
	movl	$1, %esi
	shll	%cl, %esi
	btsl	%eax, %esi
	movq	_NETSEC_RX_PKT_LS_FIELD@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	btsl	%eax, %esi
	movq	_DESC_NUM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	decl	%eax
	movq	_NETSEC_RX_PKT_LD_FIELD@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %r13d
	xorl	%ecx, %ecx
	cmpl	%edx, %eax
	cmovnel	%ecx, %r13d
	orl	%esi, %r13d
	movslq	%edx, %r14
	imulq	%r14, %rbx
	movl	8(%r12), %edi
	callq	_upper_32_bits
	shlq	$4, %rbx
	movl	%eax, 12(%r15,%rbx)
	movl	8(%r12), %edi
	callq	_lower_32_bits
	movl	%eax, 8(%r15,%rbx)
	movl	(%r12), %eax
	movl	%eax, 4(%r15,%rbx)
	movl	%r13d, (%r15,%rbx)
	xorl	%eax, %eax
	callq	_dma_wmb
	movl	8(%r12), %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rcx
	leaq	(%r14,%r14,2), %rdx
	movl	%eax, 8(%rcx,%rdx,4)
	movl	4(%r12), %eax
	movl	%eax, 4(%rcx,%rdx,4)
	movl	(%r12), %eax
	movl	%eax, (%rcx,%rdx,4)
	addq	$8, %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_RX_PKT_OWN_FIELD,4,2    ## @NETSEC_RX_PKT_OWN_FIELD
	.comm	_NETSEC_RX_PKT_FS_FIELD,4,2     ## @NETSEC_RX_PKT_FS_FIELD
	.comm	_NETSEC_RX_PKT_LS_FIELD,4,2     ## @NETSEC_RX_PKT_LS_FIELD
	.comm	_DESC_NUM,4,2                   ## @DESC_NUM
	.comm	_NETSEC_RX_PKT_LD_FIELD,4,2     ## @NETSEC_RX_PKT_LD_FIELD
	.no_dead_strip	_netsec_set_rx_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_rx_de
_netsec_set_rx_de:                      ; @netsec_set_rx_de
	.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, x3
	mov	x20, x2
	mov	x21, x1
Lloh0:
	adrp	x8, _DESC_SZ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DESC_SZ@GOTPAGEOFF]
	ldr	x22, [x1, #8]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _NETSEC_RX_PKT_OWN_FIELD@GOTPAGE
Lloh4:
	ldr	x9, [x9, _NETSEC_RX_PKT_OWN_FIELD@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	mov	w10, #1
	lsl	w9, w10, w9
Lloh6:
	adrp	x11, _NETSEC_RX_PKT_FS_FIELD@GOTPAGE
Lloh7:
	ldr	x11, [x11, _NETSEC_RX_PKT_FS_FIELD@GOTPAGEOFF]
Lloh8:
	ldr	w11, [x11]
	lsl	w11, w10, w11
	orr	w9, w11, w9
Lloh9:
	adrp	x11, _NETSEC_RX_PKT_LS_FIELD@GOTPAGE
Lloh10:
	ldr	x11, [x11, _NETSEC_RX_PKT_LS_FIELD@GOTPAGEOFF]
Lloh11:
	ldr	w11, [x11]
	lsl	w11, w10, w11
Lloh12:
	adrp	x12, _DESC_NUM@GOTPAGE
Lloh13:
	ldr	x12, [x12, _DESC_NUM@GOTPAGEOFF]
	orr	w9, w9, w11
Lloh14:
	ldr	w11, [x12]
	sub	w11, w11, #1
Lloh15:
	adrp	x12, _NETSEC_RX_PKT_LD_FIELD@GOTPAGE
Lloh16:
	ldr	x12, [x12, _NETSEC_RX_PKT_LD_FIELD@GOTPAGEOFF]
Lloh17:
	ldr	w12, [x12]
	lsl	w10, w10, w12
	cmp	w11, w2
	csel	w10, w10, wzr, eq
	orr	w23, w9, w10
	mul	w24, w8, w2
	ldr	w0, [x3, #8]
	bl	_upper_32_bits
	add	x22, x22, w24, sxtw #4
	str	w0, [x22, #12]
	ldr	w0, [x19, #8]
	bl	_lower_32_bits
	str	w0, [x22, #8]
	ldr	w8, [x19]
	stp	w23, w8, [x22]
	bl	_dma_wmb
	ldr	w8, [x19, #8]
	ldr	x9, [x21]
	mov	w10, #12
	smaddl	x9, w20, w10, x9
	str	w8, [x9, #8]
	ldr	d0, [x19]
	str	d0, [x9]
	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	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
	.cfi_endproc
                                        ; -- End function
	.comm	_DESC_SZ,4,2                    ; @DESC_SZ
	.comm	_NETSEC_RX_PKT_OWN_FIELD,4,2    ; @NETSEC_RX_PKT_OWN_FIELD
	.comm	_NETSEC_RX_PKT_FS_FIELD,4,2     ; @NETSEC_RX_PKT_FS_FIELD
	.comm	_NETSEC_RX_PKT_LS_FIELD,4,2     ; @NETSEC_RX_PKT_LS_FIELD
	.comm	_DESC_NUM,4,2                   ; @DESC_NUM
	.comm	_NETSEC_RX_PKT_LD_FIELD,4,2     ; @NETSEC_RX_PKT_LD_FIELD
	.no_dead_strip	_netsec_set_rx_de
.subsections_via_symbols
