	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function netsec_xdp_xmit
_netsec_xdp_xmit:                       ## @netsec_xdp_xmit
	.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	%ecx, %r12d
	movq	%rdx, %rbx
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	callq	_netdev_priv
	movq	%rax, %r13
	movq	(%rax), %r14
	movq	_NETSEC_RING_TX@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	_XDP_XMIT_FLAGS_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	notl	%edi
	andl	%r12d, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_12
LBB0_2:
	movl	%r12d, -48(%rbp)                ## 4-byte Spill
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	shlq	$4, %r15
	leaq	(%r14,%r15), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	leaq	(%r14,%r15), %rdi
	addq	$8, %rdi
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	callq	_spin_lock
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	testl	%eax, %eax
	jle	LBB0_3
## %bb.4:
	movl	%eax, %r15d
	xorl	%r12d, %r12d
	xorl	%r14d, %r14d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	incq	(%rax)
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	incq	%r12
	cmpq	%r12, %r15
	je	LBB0_9
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx,%r12,8), %r13
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	movl	$1, %edx
	callq	_netsec_xdp_queue_one
	movq	_NETSEC_XDP_TX@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%r13, %rdi
	callq	_xdp_return_frame_rx_napi
	incl	%r14d
	jmp	LBB0_8
LBB0_3:
	xorl	%r14d, %r14d
LBB0_9:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_spin_unlock
	movq	_XDP_XMIT_FLUSH@GOTPCREL(%rip), %rax
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	andl	(%rax), %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	(%rbx), %rsi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_netsec_xdp_ring_tx_db
	movq	$0, (%rbx)
LBB0_11:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	subl	%r14d, %eax
LBB0_12:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NETSEC_RING_TX,8,3             ## @NETSEC_RING_TX
	.comm	_XDP_XMIT_FLAGS_MASK,4,2        ## @XDP_XMIT_FLAGS_MASK
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_NETSEC_XDP_TX,4,2              ## @NETSEC_XDP_TX
	.comm	_XDP_XMIT_FLUSH,4,2             ## @XDP_XMIT_FLUSH
	.no_dead_strip	_netsec_xdp_xmit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function netsec_xdp_xmit
_netsec_xdp_xmit:                       ; @netsec_xdp_xmit
	.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	x21, x3
	mov	x22, x2
	mov	x19, x1
	bl	_netdev_priv
	mov	x20, x0
Lloh0:
	adrp	x8, _NETSEC_RING_TX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NETSEC_RING_TX@GOTPAGEOFF]
	ldr	x23, [x0]
Lloh2:
	ldr	x24, [x8]
Lloh3:
	adrp	x8, _XDP_XMIT_FLAGS_MASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _XDP_XMIT_FLAGS_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	bic	w0, w21, w8
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_12
LBB0_2:
	add	x25, x23, x24, lsl #4
	add	x23, x25, #8
	mov	x0, x23
	bl	_spin_lock
	cmp	w19, #1
	b.lt	LBB0_8
; %bb.3:
	mov	w26, #0
	mov	w27, w19
Lloh9:
	adrp	x28, _NETSEC_XDP_TX@GOTPAGE
Lloh10:
	ldr	x28, [x28, _NETSEC_XDP_TX@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x25]
	add	x8, x8, #1
	str	x8, [x25]
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x22, x22, #8
	subs	x27, x27, #1
	b.eq	LBB0_9
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x24, [x22]
	mov	x0, x20
	mov	x1, x24
	mov	w2, #1
	bl	_netsec_xdp_queue_one
	ldr	w8, [x28]
	cmp	w0, w8
	b.eq	LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x24
	bl	_xdp_return_frame_rx_napi
	add	w26, w26, #1
	b	LBB0_5
LBB0_8:
	mov	w26, #0
LBB0_9:
	mov	x0, x23
	bl	_spin_unlock
Lloh11:
	adrp	x8, _XDP_XMIT_FLUSH@GOTPAGE
Lloh12:
	ldr	x8, [x8, _XDP_XMIT_FLUSH@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	and	w0, w8, w21
	bl	_unlikely
	cbz	x0, LBB0_11
; %bb.10:
	ldr	x1, [x25]
	mov	x0, x20
	bl	_netsec_xdp_ring_tx_db
	str	xzr, [x25]
LBB0_11:
	sub	w0, w19, w26
LBB0_12:
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_NETSEC_RING_TX,8,3             ; @NETSEC_RING_TX
	.comm	_XDP_XMIT_FLAGS_MASK,4,2        ; @XDP_XMIT_FLAGS_MASK
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_NETSEC_XDP_TX,4,2              ; @NETSEC_XDP_TX
	.comm	_XDP_XMIT_FLUSH,4,2             ; @XDP_XMIT_FLUSH
	.no_dead_strip	_netsec_xdp_xmit
.subsections_via_symbols
