	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mvpp2_prs_mac_init
_mvpp2_prs_mac_init:                    ## @mvpp2_prs_mac_init
	.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
	movq	%rdi, %rbx
	leaq	-32(%rbp), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	_MVPP2_PE_MAC_NON_PROMISCUOUS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -32(%rbp)
	movq	_MVPP2_PRS_LU_MAC@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_mvpp2_prs_tcam_lu_set
	movq	_MVPP2_PRS_RI_DROP_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	%edx, %esi
	callq	_mvpp2_prs_sram_ri_update
	movq	_MVPP2_PRS_SRAM_LU_GEN_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$1, %edx
	callq	_mvpp2_prs_sram_bits_set
	movq	_MVPP2_PRS_LU_FLOWS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_mvpp2_prs_sram_next_lu_set
	movq	_MVPP2_PRS_PORT_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_mvpp2_prs_tcam_port_map_set
	movl	-32(%rbp), %esi
	movl	(%r15), %edx
	movq	%rbx, %rdi
	callq	_mvpp2_prs_shadow_set
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_mvpp2_prs_hw_write
	movq	%rbx, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_mvpp2_prs_mac_drop_all_set
	movq	_MVPP2_PRS_L2_UNI_CAST@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	callq	_mvpp2_prs_mac_promisc_set
	movq	_MVPP2_PRS_L2_MULTI_CAST@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	callq	_mvpp2_prs_mac_promisc_set
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MVPP2_PE_MAC_NON_PROMISCUOUS,4,2 ## @MVPP2_PE_MAC_NON_PROMISCUOUS
	.comm	_MVPP2_PRS_LU_MAC,4,2           ## @MVPP2_PRS_LU_MAC
	.comm	_MVPP2_PRS_RI_DROP_MASK,4,2     ## @MVPP2_PRS_RI_DROP_MASK
	.comm	_MVPP2_PRS_SRAM_LU_GEN_BIT,4,2  ## @MVPP2_PRS_SRAM_LU_GEN_BIT
	.comm	_MVPP2_PRS_LU_FLOWS,4,2         ## @MVPP2_PRS_LU_FLOWS
	.comm	_MVPP2_PRS_PORT_MASK,4,2        ## @MVPP2_PRS_PORT_MASK
	.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_prs_mac_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mvpp2_prs_mac_init
_mvpp2_prs_mac_init:                    ; @mvpp2_prs_mac_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #4
	bl	_memset
Lloh0:
	adrp	x8, _MVPP2_PE_MAC_NON_PROMISCUOUS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MVPP2_PE_MAC_NON_PROMISCUOUS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #8]
Lloh3:
	adrp	x20, _MVPP2_PRS_LU_MAC@GOTPAGE
Lloh4:
	ldr	x20, [x20, _MVPP2_PRS_LU_MAC@GOTPAGEOFF]
	ldr	w1, [x20]
	add	x0, sp, #8
	bl	_mvpp2_prs_tcam_lu_set
Lloh5:
	adrp	x8, _MVPP2_PRS_RI_DROP_MASK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MVPP2_PRS_RI_DROP_MASK@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	add	x0, sp, #8
	mov	x2, x1
	bl	_mvpp2_prs_sram_ri_update
Lloh8:
	adrp	x8, _MVPP2_PRS_SRAM_LU_GEN_BIT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MVPP2_PRS_SRAM_LU_GEN_BIT@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	add	x0, sp, #8
	mov	w2, #1
	bl	_mvpp2_prs_sram_bits_set
Lloh11:
	adrp	x8, _MVPP2_PRS_LU_FLOWS@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MVPP2_PRS_LU_FLOWS@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	add	x0, sp, #8
	bl	_mvpp2_prs_sram_next_lu_set
Lloh14:
	adrp	x8, _MVPP2_PRS_PORT_MASK@GOTPAGE
Lloh15:
	ldr	x8, [x8, _MVPP2_PRS_PORT_MASK@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	add	x0, sp, #8
	bl	_mvpp2_prs_tcam_port_map_set
	ldr	w1, [sp, #8]
	ldr	w2, [x20]
	mov	x0, x19
	bl	_mvpp2_prs_shadow_set
	add	x1, sp, #8
	mov	x0, x19
	bl	_mvpp2_prs_hw_write
	mov	x0, x19
	mov	w1, #0
	mov	w2, #0
	bl	_mvpp2_prs_mac_drop_all_set
Lloh17:
	adrp	x8, _MVPP2_PRS_L2_UNI_CAST@GOTPAGE
Lloh18:
	ldr	x8, [x8, _MVPP2_PRS_L2_UNI_CAST@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #0
	mov	w3, #0
	bl	_mvpp2_prs_mac_promisc_set
Lloh20:
	adrp	x8, _MVPP2_PRS_L2_MULTI_CAST@GOTPAGE
Lloh21:
	ldr	x8, [x8, _MVPP2_PRS_L2_MULTI_CAST@GOTPAGEOFF]
Lloh22:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #0
	mov	w3, #0
	bl	_mvpp2_prs_mac_promisc_set
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MVPP2_PE_MAC_NON_PROMISCUOUS,4,2 ; @MVPP2_PE_MAC_NON_PROMISCUOUS
	.comm	_MVPP2_PRS_LU_MAC,4,2           ; @MVPP2_PRS_LU_MAC
	.comm	_MVPP2_PRS_RI_DROP_MASK,4,2     ; @MVPP2_PRS_RI_DROP_MASK
	.comm	_MVPP2_PRS_SRAM_LU_GEN_BIT,4,2  ; @MVPP2_PRS_SRAM_LU_GEN_BIT
	.comm	_MVPP2_PRS_LU_FLOWS,4,2         ; @MVPP2_PRS_LU_FLOWS
	.comm	_MVPP2_PRS_PORT_MASK,4,2        ; @MVPP2_PRS_PORT_MASK
	.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_prs_mac_init
.subsections_via_symbols
