	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function virtnet_xdp_xmit
LCPI0_0:
	.space	4
	.long	1                               ## 0x1
	.space	4
	.space	4
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_virtnet_xdp_xmit:                      ## @virtnet_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	$56, %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, -48(%rbp)                 ## 8-byte Spill
	movl	%esi, %r13d
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	(%rax), %rax
	movl	(%rax), %edi
	callq	_rcu_dereference
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%rbx, %rdi
	callq	_virtnet_xdp_sq
	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_6
## %bb.2:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
	pxor	%xmm0, %xmm0
	movdqa	%xmm0, -80(%rbp)                ## 16-byte Spill
	movl	%r13d, %r14d
	jmp	LBB0_3
LBB0_4:
	movq	_ENXIO@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
	jmp	LBB0_5
LBB0_6:
	movl	24(%r15), %edi
	leaq	-60(%rbp), %rsi
	callq	_virtqueue_get_buf
	testq	%rax, %rax
	movl	%r12d, -56(%rbp)                ## 4-byte Spill
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	je	LBB0_12
## %bb.7:
	movq	%rax, %r14
	pxor	%xmm0, %xmm0
	movdqa	%xmm0, -80(%rbp)                ## 16-byte Spill
	leaq	-60(%rbp), %r12
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_10 Depth=1
	movq	(%r14), %rbx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_napi_consume_skb
LBB0_9:                                 ##   in Loop: Header=BB0_10 Depth=1
	movdqa	-80(%rbp), %xmm1                ## 16-byte Reload
	movdqa	LCPI0_0(%rip), %xmm0            ## xmm0 = <u,1,u,u>
	pinsrd	$0, %ebx, %xmm0
	paddd	%xmm0, %xmm1
	movdqa	%xmm1, -80(%rbp)                ## 16-byte Spill
	movl	24(%r15), %edi
	movq	%r12, %rsi
	callq	_virtqueue_get_buf
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_13
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	callq	_is_xdp_frame
	movl	%eax, %edi
	callq	_likely
	testq	%rax, %rax
	je	LBB0_8
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	%r14, %rdi
	callq	_ptr_to_xdp
	movq	(%rax), %rbx
	movq	%rax, %rdi
	callq	_xdp_return_frame
	jmp	LBB0_9
LBB0_12:
	pxor	%xmm0, %xmm0
	movdqa	%xmm0, -80(%rbp)                ## 16-byte Spill
LBB0_13:
	movl	$0, %r14d
	movl	%r13d, -52(%rbp)                ## 4-byte Spill
	testl	%r13d, %r13d
	jle	LBB0_18
## %bb.14:
	movl	-52(%rbp), %r12d                ## 4-byte Reload
	xorl	%r13d, %r13d
	xorl	%r14d, %r14d
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_16 Depth=1
	incq	%r13
	cmpq	%r13, %r12
	je	LBB0_18
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax,%r13,8), %rbx
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	movq	%rbx, %rdx
	callq	___virtnet_xdp_xmit_one
	testl	%eax, %eax
	je	LBB0_15
## %bb.17:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	%rbx, %rdi
	callq	_xdp_return_frame_rx_napi
	incl	%r14d
	jmp	LBB0_15
LBB0_18:
	movl	-52(%rbp), %r12d                ## 4-byte Reload
	movl	%r12d, %r13d
	subl	%r14d, %r12d
	movq	_XDP_XMIT_FLUSH@GOTPCREL(%rip), %rax
	movl	-56(%rbp), %ecx                 ## 4-byte Reload
	testl	%ecx, (%rax)
	je	LBB0_22
## %bb.19:
	movl	24(%r15), %edi
	callq	_virtqueue_kick_prepare
	testq	%rax, %rax
	je	LBB0_22
## %bb.20:
	movl	24(%r15), %edi
	callq	_virtqueue_notify
	xorl	%ecx, %ecx
	testq	%rax, %rax
	setne	%cl
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	jmp	LBB0_3
LBB0_22:
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
LBB0_3:
	movq	%r15, %rbx
	addq	$20, %rbx
	movq	%rbx, %rdi
	callq	_u64_stats_update_begin
	movdqa	-80(%rbp), %xmm1                ## 16-byte Reload
	pinsrd	$2, %r13d, %xmm1
	movdqu	(%r15), %xmm0
	pinsrd	$3, %r14d, %xmm1
	paddd	%xmm0, %xmm1
	movdqu	%xmm1, (%r15)
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	addl	%eax, 16(%r15)
	movq	%rbx, %rdi
	callq	_u64_stats_update_end
LBB0_5:
	movl	%r12d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENXIO,4,2                      ## @ENXIO
	.comm	_XDP_XMIT_FLAGS_MASK,4,2        ## @XDP_XMIT_FLAGS_MASK
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_XDP_XMIT_FLUSH,4,2             ## @XDP_XMIT_FLUSH
	.no_dead_strip	_virtnet_xdp_xmit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function virtnet_xdp_xmit
_virtnet_xdp_xmit:                      ; @virtnet_xdp_xmit
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	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
	mov	x21, x3
	mov	x22, x2
	mov	x19, x1
	bl	_netdev_priv
	mov	x23, x0
	ldr	x8, [x0]
	ldr	w0, [x8]
	bl	_rcu_dereference
	cbz	x0, LBB0_3
; %bb.1:
	mov	x0, x23
	bl	_virtnet_xdp_sq
	mov	x20, x0
Lloh0:
	adrp	x8, _XDP_XMIT_FLAGS_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _XDP_XMIT_FLAGS_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	bic	w0, w21, w8
	bl	_unlikely
	cbz	x0, LBB0_4
; %bb.2:
	mov	w23, #0
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w22, w8
	movi.2d	v0, #0000000000000000
	str	q0, [sp]                        ; 16-byte Folded Spill
	mov	x25, x19
	b	LBB0_21
LBB0_3:
Lloh6:
	adrp	x8, _ENXIO@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_22
LBB0_4:
	ldr	w0, [x20, #24]
	add	x1, sp, #28
	bl	_virtqueue_get_buf
	cbz	x0, LBB0_10
; %bb.5:
	mov	x24, x0
	movi.2d	v0, #0000000000000000
	str	q0, [sp]                        ; 16-byte Folded Spill
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldr	x25, [x24]
	mov	x0, x24
	mov	w1, #0
	bl	_napi_consume_skb
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldr	q1, [sp]                        ; 16-byte Folded Reload
	movi.2s	v0, #1
	mov.s	v0[0], w25
	add.2s	v1, v1, v0
	str	q1, [sp]                        ; 16-byte Folded Spill
	ldr	w0, [x20, #24]
	add	x1, sp, #28
	bl	_virtqueue_get_buf
	mov	x24, x0
	cbz	x0, LBB0_11
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x24
	bl	_is_xdp_frame
	bl	_likely
	cbz	x0, LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x24
	bl	_ptr_to_xdp
	ldr	x25, [x0]
	bl	_xdp_return_frame
	b	LBB0_7
LBB0_10:
	movi.2d	v0, #0000000000000000
	str	q0, [sp]                        ; 16-byte Folded Spill
LBB0_11:
	cmp	w19, #1
	b.lt	LBB0_16
; %bb.12:
	mov	w25, #0
	mov	w26, w19
	b	LBB0_14
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=1
	add	x22, x22, #8
	subs	x26, x26, #1
	b.eq	LBB0_17
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	x24, [x22]
	mov	x0, x23
	mov	x1, x20
	mov	x2, x24
	bl	___virtnet_xdp_xmit_one
	cbz	w0, LBB0_13
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	x0, x24
	bl	_xdp_return_frame_rx_napi
	add	w25, w25, #1
	b	LBB0_13
LBB0_16:
	mov	w25, #0
LBB0_17:
	sub	w22, w19, w25
Lloh9:
	adrp	x8, _XDP_XMIT_FLUSH@GOTPAGE
Lloh10:
	ldr	x8, [x8, _XDP_XMIT_FLUSH@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_20
; %bb.18:
	ldr	w0, [x20, #24]
	bl	_virtqueue_kick_prepare
	cbz	x0, LBB0_20
; %bb.19:
	ldr	w0, [x20, #24]
	bl	_virtqueue_notify
	cmp	x0, #0
	cset	w23, ne
	b	LBB0_21
LBB0_20:
	mov	w23, #0
LBB0_21:
	add	x21, x20, #20
	mov	x0, x21
	bl	_u64_stats_update_begin
	ldr	d0, [x20]
	ldr	q1, [sp]                        ; 16-byte Folded Reload
	add.2s	v0, v0, v1
	str	d0, [x20]
	ldp	w8, w9, [x20, #8]
	add	w8, w8, w19
	add	w9, w9, w25
	stp	w8, w9, [x20, #8]
	ldr	w8, [x20, #16]
	add	w8, w8, w23
	str	w8, [x20, #16]
	mov	x0, x21
	bl	_u64_stats_update_end
LBB0_22:
	mov	x0, x22
	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
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_ENXIO,4,2                      ; @ENXIO
	.comm	_XDP_XMIT_FLAGS_MASK,4,2        ; @XDP_XMIT_FLAGS_MASK
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_XDP_XMIT_FLUSH,4,2             ; @XDP_XMIT_FLUSH
	.no_dead_strip	_virtnet_xdp_xmit
.subsections_via_symbols
