	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mvpp2_set_features
_mvpp2_set_features:                    ## @mvpp2_set_features
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movl	(%rdi), %ebx
	xorl	%esi, %ebx
	callq	_netdev_priv
	movq	%rax, %r14
	movq	_NETIF_F_HW_VLAN_CTAG_FILTER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%ebx, %eax
	je	LBB0_4
## %bb.1:
	movq	%r14, %rdi
	testl	%r15d, %eax
	je	LBB0_3
## %bb.2:
	callq	_mvpp2_prs_vid_enable_filtering
	jmp	LBB0_4
LBB0_3:
	callq	_mvpp2_prs_vid_remove_all
	movq	%r14, %rdi
	callq	_mvpp2_prs_vid_disable_filtering
LBB0_4:
	movq	_NETIF_F_RXHASH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%ebx, %eax
	je	LBB0_8
## %bb.5:
	movq	%r14, %rdi
	testl	%r15d, %eax
	je	LBB0_7
## %bb.6:
	callq	_mvpp22_port_rss_enable
	jmp	LBB0_8
LBB0_7:
	callq	_mvpp22_port_rss_disable
LBB0_8:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NETIF_F_HW_VLAN_CTAG_FILTER,4,2 ## @NETIF_F_HW_VLAN_CTAG_FILTER
	.comm	_NETIF_F_RXHASH,4,2             ## @NETIF_F_RXHASH
	.no_dead_strip	_mvpp2_set_features
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mvpp2_set_features
_mvpp2_set_features:                    ; @mvpp2_set_features
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	ldr	w8, [x0]
	eor	w21, w8, w1
	bl	_netdev_priv
	mov	x20, x0
Lloh0:
	adrp	x8, _NETIF_F_HW_VLAN_CTAG_FILTER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NETIF_F_HW_VLAN_CTAG_FILTER@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_4
; %bb.1:
	mov	x0, x20
	tst	w8, w19
	b.eq	LBB0_3
; %bb.2:
	bl	_mvpp2_prs_vid_enable_filtering
	b	LBB0_4
LBB0_3:
	bl	_mvpp2_prs_vid_remove_all
	mov	x0, x20
	bl	_mvpp2_prs_vid_disable_filtering
LBB0_4:
Lloh3:
	adrp	x8, _NETIF_F_RXHASH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NETIF_F_RXHASH@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_8
; %bb.5:
	mov	x0, x20
	tst	w8, w19
	b.eq	LBB0_7
; %bb.6:
	bl	_mvpp22_port_rss_enable
	b	LBB0_8
LBB0_7:
	bl	_mvpp22_port_rss_disable
LBB0_8:
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_NETIF_F_HW_VLAN_CTAG_FILTER,4,2 ; @NETIF_F_HW_VLAN_CTAG_FILTER
	.comm	_NETIF_F_RXHASH,4,2             ; @NETIF_F_RXHASH
	.no_dead_strip	_mvpp2_set_features
.subsections_via_symbols
