	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mvpp2_set_rx_promisc
_mvpp2_set_rx_promisc:                  ## @mvpp2_set_rx_promisc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	testl	%esi, %esi
	je	LBB0_1
LBB0_3:
	movq	%rbx, %rdi
	callq	_mvpp2_prs_vid_disable_filtering
	jmp	LBB0_4
LBB0_1:
	movq	8(%rbx), %rax
	movq	_NETIF_F_HW_VLAN_CTAG_FILTER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	callq	_mvpp2_prs_vid_enable_filtering
LBB0_4:
	movl	(%rbx), %esi
	movl	4(%rbx), %edi
	movq	_MVPP2_PRS_L2_UNI_CAST@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r14d, %ecx
	callq	_mvpp2_prs_mac_promisc_set
	movl	(%rbx), %esi
	movl	4(%rbx), %edi
	movq	_MVPP2_PRS_L2_MULTI_CAST@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r14d, %ecx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_mvpp2_prs_mac_promisc_set      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_NETIF_F_HW_VLAN_CTAG_FILTER,4,2 ## @NETIF_F_HW_VLAN_CTAG_FILTER
	.comm	_MVPP2_PRS_L2_UNI_CAST,4,2      ## @MVPP2_PRS_L2_UNI_CAST
	.comm	_MVPP2_PRS_L2_MULTI_CAST,4,2    ## @MVPP2_PRS_L2_MULTI_CAST
	.no_dead_strip	_mvpp2_set_rx_promisc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mvpp2_set_rx_promisc
_mvpp2_set_rx_promisc:                  ; @mvpp2_set_rx_promisc
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	cbz	w1, LBB0_2
LBB0_1:
	mov	x0, x20
	bl	_mvpp2_prs_vid_disable_filtering
	b	LBB0_4
LBB0_2:
	ldr	x8, [x20, #8]
	ldr	w8, [x8]
Lloh0:
	adrp	x9, _NETIF_F_HW_VLAN_CTAG_FILTER@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NETIF_F_HW_VLAN_CTAG_FILTER@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_1
; %bb.3:
	mov	x0, x20
	bl	_mvpp2_prs_vid_enable_filtering
LBB0_4:
	ldp	w1, w0, [x20]
Lloh3:
	adrp	x8, _MVPP2_PRS_L2_UNI_CAST@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MVPP2_PRS_L2_UNI_CAST@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x3, x19
	bl	_mvpp2_prs_mac_promisc_set
Lloh6:
	adrp	x8, _MVPP2_PRS_L2_MULTI_CAST@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MVPP2_PRS_L2_MULTI_CAST@GOTPAGEOFF]
	ldp	w1, w0, [x20]
Lloh8:
	ldr	w2, [x8]
	mov	x3, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mvpp2_prs_mac_promisc_set
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.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	_MVPP2_PRS_L2_UNI_CAST,4,2      ; @MVPP2_PRS_L2_UNI_CAST
	.comm	_MVPP2_PRS_L2_MULTI_CAST,4,2    ; @MVPP2_PRS_L2_MULTI_CAST
	.no_dead_strip	_mvpp2_set_rx_promisc
.subsections_via_symbols
