	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function veth_enable_xdp
_veth_enable_xdp:                       ## @veth_enable_xdp
	.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	%rdi, %r12
	callq	_netdev_priv
	movq	%rax, %r13
	movq	(%rax), %rdi
	callq	_xdp_rxq_info_is_reg
	testl	%eax, %eax
	je	LBB0_5
LBB0_1:
	cmpl	$0, (%r12)
	jle	LBB0_11
## %bb.2:
	movl	$4, %r14d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rax
	movl	(%rax,%r14), %edi
	movl	8(%r13), %esi
	callq	_rcu_assign_pointer
	incq	%rbx
	movslq	(%r12), %rax
	addq	$12, %r14
	cmpq	%rax, %rbx
	jl	LBB0_3
LBB0_11:
	xorl	%eax, %eax
	jmp	LBB0_19
LBB0_5:
	cmpl	$0, (%r12)
	jle	LBB0_12
## %bb.6:
	xorl	%ebx, %ebx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rsi
	movq	(%r13), %r15
	leaq	(%r15,%rbx), %r14
	movq	%r14, %rdi
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_xdp_rxq_info_reg
                                        ## kill: def $eax killed $eax def $rax
	testl	%eax, %eax
	js	LBB0_15
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	_MEM_TYPE_PAGE_SHARED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_xdp_rxq_info_reg_mem_model
                                        ## kill: def $eax killed $eax def $rax
	testl	%eax, %eax
	js	LBB0_14
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movl	(%r15,%rbx), %eax
	movl	%eax, 8(%r15,%rbx)
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	incq	%rdx
	movslq	(%r12), %rax
	addq	$12, %rbx
	cmpq	%rax, %rdx
	jl	LBB0_7
## %bb.10:
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_13
LBB0_12:
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
LBB0_13:
	movq	%r12, %rdi
	callq	_veth_napi_add
                                        ## kill: def $eax killed $eax def $rax
	testl	%eax, %eax
	jne	LBB0_15
	jmp	LBB0_1
LBB0_14:
	addq	(%r13), %rbx
	movq	%rbx, %rdi
	movq	%rax, %rbx
	callq	_xdp_rxq_info_unreg
	movq	%rbx, %rax
LBB0_15:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	testl	%ecx, %ecx
	jle	LBB0_19
## %bb.16:
	movq	%rax, %r15
	movl	%ecx, %eax
	leaq	1(%rax), %r14
	leaq	(%rax,%rax,2), %rax
	leaq	-12(,%rax,4), %rbx
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rdi
	addq	%rbx, %rdi
	callq	_xdp_rxq_info_unreg
	decq	%r14
	addq	$-12, %rbx
	cmpq	$1, %r14
	ja	LBB0_17
## %bb.18:
	movq	%r15, %rax
LBB0_19:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MEM_TYPE_PAGE_SHARED,4,2       ## @MEM_TYPE_PAGE_SHARED
	.no_dead_strip	_veth_enable_xdp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function veth_enable_xdp
_veth_enable_xdp:                       ; @veth_enable_xdp
	.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, x0
	bl	_netdev_priv
	mov	x19, x0
	ldr	x0, [x0]
	bl	_xdp_rxq_info_is_reg
	cbz	w0, LBB0_5
LBB0_1:
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.2:
	mov	x21, #0
	mov	w22, #4
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19]
	ldr	w0, [x8, x22]
	ldr	w1, [x19, #8]
	bl	_rcu_assign_pointer
	add	x21, x21, #1
	ldrsw	x8, [x20]
	add	x22, x22, #12
	cmp	x21, x8
	b.lt	LBB0_3
LBB0_4:
	mov	w22, #0
	b	LBB0_17
LBB0_5:
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.6:
	mov	x24, #0
	mov	x21, #0
Lloh0:
	adrp	x25, _MEM_TYPE_PAGE_SHARED@GOTPAGE
Lloh1:
	ldr	x25, [x25, _MEM_TYPE_PAGE_SHARED@GOTPAGEOFF]
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x26, [x19]
	add	x23, x26, x24
	mov	x0, x23
	mov	x1, x20
	mov	x2, x21
	bl	_xdp_rxq_info_reg
	tbnz	w0, #31, LBB0_12
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w1, [x25]
	mov	x0, x23
	mov	x2, #0
	bl	_xdp_rxq_info_reg_mem_model
	tbnz	w0, #31, LBB0_14
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x8, x26, x24
	ldr	w9, [x8]
	str	w9, [x8, #8]
	add	x21, x21, #1
	ldrsw	x8, [x20]
	add	x24, x24, #12
	cmp	x21, x8
	b.lt	LBB0_7
	b	LBB0_11
LBB0_10:
	mov	w21, #0
LBB0_11:
	mov	x0, x20
	bl	_veth_napi_add
	mov	x22, x0
	cbnz	w0, LBB0_13
	b	LBB0_1
LBB0_12:
	mov	x22, x0
LBB0_13:
	cmp	w21, #1
	b.ge	LBB0_15
	b	LBB0_17
LBB0_14:
	mov	x22, x0
	ldr	x8, [x19]
	add	x0, x8, x24
	bl	_xdp_rxq_info_unreg
	cmp	w21, #1
	b.lt	LBB0_17
LBB0_15:
	mov	w8, w21
	add	x20, x8, #1
	mov	w8, #12
	mov	x9, #-12
	umaddl	x21, w21, w8, x9
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19]
	add	x0, x8, x21
	bl	_xdp_rxq_info_unreg
	sub	x20, x20, #1
	sub	x21, x21, #12
	cmp	x20, #1
	b.hi	LBB0_16
LBB0_17:
	mov	x0, x22
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MEM_TYPE_PAGE_SHARED,4,2       ; @MEM_TYPE_PAGE_SHARED
	.no_dead_strip	_veth_enable_xdp
.subsections_via_symbols
