	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mvpp2_prs_mac_drop_all_set
_mvpp2_prs_mac_drop_all_set:            ## @mvpp2_prs_mac_drop_all_set
	.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
	movl	%edx, %r14d
	movl	%esi, %r15d
	movq	%rdi, %r13
	movq	(%rdi), %rax
	movq	_MVPP2_PE_DROP_ALL@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdx
	cmpq	$0, (%rax,%rdx,8)
	je	LBB0_2
## %bb.1:
	leaq	-48(%rbp), %rsi
	movq	%r13, %rdi
	callq	_mvpp2_prs_init_from_hw
	jmp	LBB0_3
LBB0_2:
	leaq	-48(%rbp), %r12
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movq	_MVPP2_PRS_LU_MAC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_mvpp2_prs_tcam_lu_set
	movq	(%rbx), %rax
	movq	%rax, -48(%rbp)
	movq	_MVPP2_PRS_RI_DROP_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movl	%edx, %esi
	callq	_mvpp2_prs_sram_ri_update
	movq	_MVPP2_PRS_SRAM_LU_GEN_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	$1, %edx
	callq	_mvpp2_prs_sram_bits_set
	movq	_MVPP2_PRS_LU_FLOWS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_mvpp2_prs_sram_next_lu_set
	movq	-48(%rbp), %rsi
	movq	_MVPP2_PRS_LU_MAC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	callq	_mvpp2_prs_shadow_set
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_mvpp2_prs_tcam_port_map_set
LBB0_3:
	leaq	-48(%rbp), %rbx
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	%r14d, %edx
	callq	_mvpp2_prs_tcam_port_set
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_mvpp2_prs_hw_write
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MVPP2_PE_DROP_ALL,8,3          ## @MVPP2_PE_DROP_ALL
	.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
	.no_dead_strip	_mvpp2_prs_mac_drop_all_set
.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_drop_all_set
_mvpp2_prs_mac_drop_all_set:            ; @mvpp2_prs_mac_drop_all_set
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x22, _MVPP2_PE_DROP_ALL@GOTPAGE
Lloh1:
	ldr	x22, [x22, _MVPP2_PE_DROP_ALL@GOTPAGEOFF]
	ldr	x2, [x22]
	ldr	x8, [x8, x2, lsl #3]
	cbz	x8, LBB0_2
; %bb.1:
	add	x1, sp, #8
	mov	x0, x19
	bl	_mvpp2_prs_init_from_hw
	b	LBB0_3
LBB0_2:
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #8
	bl	_memset
Lloh2:
	adrp	x23, _MVPP2_PRS_LU_MAC@GOTPAGE
Lloh3:
	ldr	x23, [x23, _MVPP2_PRS_LU_MAC@GOTPAGEOFF]
	ldr	w1, [x23]
	add	x0, sp, #8
	bl	_mvpp2_prs_tcam_lu_set
	ldr	x8, [x22]
	str	x8, [sp, #8]
Lloh4:
	adrp	x8, _MVPP2_PRS_RI_DROP_MASK@GOTPAGE
Lloh5:
	ldr	x8, [x8, _MVPP2_PRS_RI_DROP_MASK@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	add	x0, sp, #8
	mov	x2, x1
	bl	_mvpp2_prs_sram_ri_update
Lloh7:
	adrp	x8, _MVPP2_PRS_SRAM_LU_GEN_BIT@GOTPAGE
Lloh8:
	ldr	x8, [x8, _MVPP2_PRS_SRAM_LU_GEN_BIT@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	add	x0, sp, #8
	mov	w2, #1
	bl	_mvpp2_prs_sram_bits_set
Lloh10:
	adrp	x8, _MVPP2_PRS_LU_FLOWS@GOTPAGE
Lloh11:
	ldr	x8, [x8, _MVPP2_PRS_LU_FLOWS@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	add	x0, sp, #8
	bl	_mvpp2_prs_sram_next_lu_set
	ldr	x1, [sp, #8]
	ldr	w2, [x23]
	mov	x0, x19
	bl	_mvpp2_prs_shadow_set
	add	x0, sp, #8
	mov	w1, #0
	bl	_mvpp2_prs_tcam_port_map_set
LBB0_3:
	add	x0, sp, #8
	mov	x1, x21
	mov	x2, x20
	bl	_mvpp2_prs_tcam_port_set
	add	x1, sp, #8
	mov	x0, x19
	bl	_mvpp2_prs_hw_write
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_MVPP2_PE_DROP_ALL,8,3          ; @MVPP2_PE_DROP_ALL
	.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
	.no_dead_strip	_mvpp2_prs_mac_drop_all_set
.subsections_via_symbols
