	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tun_xdp_xmit
_tun_xdp_xmit:                          ## @tun_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
	movq	%rcx, %r12
	movq	%rdx, %rbx
	movl	%esi, %r15d
	callq	_netdev_priv
	movq	%rax, %r13
	movq	_XDP_XMIT_FLAGS_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	movl	%r12d, %edi
	andl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_18
LBB0_2:
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	_rcu_read_lock
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	xorl	%edx, %edx
	divq	%rbx
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r14,%rdx,4), %edi
	callq	_rcu_dereference
	movq	%rax, %rbx
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_9
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	16(%r13), %edi
	callq	_READ_ONCE
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, %rbx
	movq	8(%r13), %r14
	xorl	%eax, %eax
	callq	_smp_processor_id
	movq	%rax, %rcx
	orq	%rbx, %rcx
	shrq	$32, %rcx
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%ebx
                                        ## kill: def $edx killed $edx def $rdx
	jmp	LBB0_8
LBB0_4:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_rcu_read_unlock
	movq	_ENXIO@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_18
LBB0_9:
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_spin_lock
	testl	%r15d, %r15d
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
	jle	LBB0_10
## %bb.11:
	movl	%r15d, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	xorl	%r12d, %r12d
	xorl	%r15d, %r15d
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_12 Depth=1
	incq	%r12
	cmpq	%r12, -64(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_15
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax,%r12,8), %r14
	movq	%r14, %rdi
	callq	_tun_xdp_to_ptr
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	___ptr_ring_produce
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	(%r13), %rax
	movl	(%rax), %edi
	callq	_this_cpu_inc
	movq	%r14, %rdi
	callq	_xdp_return_frame_rx_napi
	incl	%r15d
	jmp	LBB0_14
LBB0_10:
	xorl	%r15d, %r15d
LBB0_15:
	movq	%rbx, %rdi
	callq	_spin_unlock
	movq	_XDP_XMIT_FLUSH@GOTPCREL(%rip), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	testq	%rcx, (%rax)
	je	LBB0_17
## %bb.16:
	movq	%rbx, %rdi
	callq	___tun_xdp_flush_tfile
LBB0_17:
	xorl	%eax, %eax
	callq	_rcu_read_unlock
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	subl	%r15d, %ebx
LBB0_18:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_XDP_XMIT_FLAGS_MASK,8,3        ## @XDP_XMIT_FLAGS_MASK
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ENXIO,4,2                      ## @ENXIO
	.comm	_XDP_XMIT_FLUSH,8,3             ## @XDP_XMIT_FLUSH
	.no_dead_strip	_tun_xdp_xmit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tun_xdp_xmit
_tun_xdp_xmit:                          ; @tun_xdp_xmit
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x3
	mov	x21, x2
	mov	x19, x1
	bl	_netdev_priv
	mov	x22, x0
Lloh0:
	adrp	x8, _XDP_XMIT_FLAGS_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _XDP_XMIT_FLAGS_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	bic	w0, w20, w8
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_11
LBB0_2:
	bl	_rcu_read_lock
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x22, #16]
	bl	_READ_ONCE
	cbz	x0, LBB0_10
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x23, x0
	ldr	x24, [x22, #8]
	bl	_smp_processor_id
	udiv	x8, x0, x23
	msub	x8, x8, x23, x0
	ldr	w0, [x24, x8, lsl #2]
	bl	_rcu_dereference
	mov	x23, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_unlikely
	cbnz	x0, LBB0_3
; %bb.5:
	mov	x0, x23
	bl	_spin_lock
	cmp	w19, #1
	b.lt	LBB0_13
; %bb.6:
	mov	w25, #0
	mov	w26, w19
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	x21, x21, #8
	subs	x26, x26, #1
	b.eq	LBB0_14
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x24, [x21]
	mov	x0, x24
	bl	_tun_xdp_to_ptr
	mov	x1, x0
	mov	x0, x23
	bl	___ptr_ring_produce
	cbz	x0, LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x22]
	ldr	w0, [x8]
	bl	_this_cpu_inc
	mov	x0, x24
	bl	_xdp_return_frame_rx_napi
	add	w25, w25, #1
	b	LBB0_7
LBB0_10:
	bl	_rcu_read_unlock
Lloh5:
	adrp	x8, _ENXIO@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
LBB0_11:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_12:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_13:
	mov	w25, #0
LBB0_14:
	mov	x0, x23
	bl	_spin_unlock
Lloh7:
	adrp	x8, _XDP_XMIT_FLUSH@GOTPAGE
Lloh8:
	ldr	x8, [x8, _XDP_XMIT_FLUSH@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	tst	x8, x20
	b.eq	LBB0_16
; %bb.15:
	mov	x0, x23
	bl	___tun_xdp_flush_tfile
LBB0_16:
	bl	_rcu_read_unlock
	sub	w0, w19, w25
	b	LBB0_12
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_XDP_XMIT_FLAGS_MASK,8,3        ; @XDP_XMIT_FLAGS_MASK
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ENXIO,4,2                      ; @ENXIO
	.comm	_XDP_XMIT_FLUSH,8,3             ; @XDP_XMIT_FLUSH
	.no_dead_strip	_tun_xdp_xmit
.subsections_via_symbols
