	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mvpp2_prs_mac_del_all          ## -- Begin function mvpp2_prs_mac_del_all
	.p2align	4, 0x90
_mvpp2_prs_mac_del_all:                 ## @mvpp2_prs_mac_del_all
	.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
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MVPP2_PE_MAC_RANGE_START@GOTPCREL(%rip), %rax
	movslq	(%rax), %r13
	movq	_MVPP2_PE_MAC_RANGE_END@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	jle	LBB0_1
LBB0_13:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_15
## %bb.14:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%rdi, %r14
	movq	16(%rdi), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	_ETH_ALEN@GOTPCREL(%rip), %rbx
	movq	_MVPP2_PRS_LU_MAC@GOTPCREL(%rip), %r15
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-96(%rbp), %rsp                 ## 8-byte Reload
	leaq	1(%r13), %rax
	movq	_MVPP2_PE_MAC_RANGE_END@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	cmpq	%rcx, %r13
	movq	%rax, %r13
	movq	_ETH_ALEN@GOTPCREL(%rip), %rbx
	jge	LBB0_13
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
	movq	%rsp, -96(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -56(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	leaq	(,%r13,2), %rcx
	addq	%r13, %rcx
	cmpl	$0, 16(%rax,%rcx,8)
	je	LBB0_12
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rax,%rcx,8), %rdx
	cmpq	(%r15), %rdx
	jne	LBB0_12
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rax,%rcx,8), %rax
	movq	_MVPP2_PRS_UDF_MAC_DEF@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_12
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	leaq	-64(%rbp), %rbx
	movq	%rbx, %rsi
	movl	%r13d, %edx
	callq	_mvpp2_prs_init_from_hw
	movq	%rbx, %rdi
	callq	_mvpp2_prs_tcam_port_map_get
	movq	%rax, -104(%rbp)
	movl	8(%r14), %edi
	leaq	-104(%rbp), %rsi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_12
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, -88(%rbp)                 ## 8-byte Spill
	movq	_ETH_ALEN@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	leaq	-64(%rbp), %rbx
	movq	%r12, %r13
	movq	%rbx, %r12
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	jle	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	leaq	(%rbx,%r14), %rdx
	leaq	(%r14,%r13), %rcx
	movq	%r12, %rdi
	movl	%r14d, %esi
	callq	_mvpp2_prs_tcam_data_byte_get
	incq	%r14
	movslq	(%r15), %rax
	cmpq	%rax, %r14
	jl	LBB0_8
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_is_broadcast_ether_addr
	testq	%rax, %rax
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movq	_MVPP2_PRS_LU_MAC@GOTPCREL(%rip), %r15
	movq	-88(%rbp), %r13                 ## 8-byte Reload
	jne	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r14), %rax
	movl	(%rax), %esi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_ether_addr_equal
	testq	%rax, %rax
	jne	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	xorl	%edx, %edx
	callq	_mvpp2_prs_mac_da_accept
	jmp	LBB0_12
LBB0_15:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MVPP2_PE_MAC_RANGE_START,4,2   ## @MVPP2_PE_MAC_RANGE_START
	.comm	_MVPP2_PE_MAC_RANGE_END,4,2     ## @MVPP2_PE_MAC_RANGE_END
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_MVPP2_PRS_LU_MAC,8,3           ## @MVPP2_PRS_LU_MAC
	.comm	_MVPP2_PRS_UDF_MAC_DEF,8,3      ## @MVPP2_PRS_UDF_MAC_DEF
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mvpp2_prs_mac_del_all          ; -- Begin function mvpp2_prs_mac_del_all
	.p2align	2
_mvpp2_prs_mac_del_all:                 ; @mvpp2_prs_mac_del_all
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #32
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _MVPP2_PE_MAC_RANGE_START@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MVPP2_PE_MAC_RANGE_START@GOTPAGEOFF]
	stur	x8, [x29, #-88]
Lloh5:
	ldrsw	x20, [x9]
Lloh6:
	adrp	x24, _MVPP2_PE_MAC_RANGE_END@GOTPAGE
Lloh7:
	ldr	x24, [x24, _MVPP2_PE_MAC_RANGE_END@GOTPAGEOFF]
	ldr	w8, [x24]
	cmp	w20, w8
	b.le	LBB0_3
LBB0_1:
	ldur	x8, [x29, #-88]
Lloh8:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh9:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_15
; %bb.2:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_3:
	mov	x23, x0
Lloh11:
	adrp	x25, _ETH_ALEN@GOTPAGE
Lloh12:
	ldr	x25, [x25, _ETH_ALEN@GOTPAGEOFF]
	ldr	x21, [x0, #16]
	mov	w26, #24
Lloh13:
	adrp	x27, _MVPP2_PRS_LU_MAC@GOTPAGE
Lloh14:
	ldr	x27, [x27, _MVPP2_PRS_LU_MAC@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	sp, x28
	add	x8, x20, #1
	ldrsw	x9, [x24]
	cmp	x20, x9
	mov	x20, x8
	b.ge	LBB0_1
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_11 Depth 2
	mov	x28, sp
	ldr	w8, [x25]
	mov	x9, x8
Lloh15:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh16:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x22, x9, x8
	mov	sp, x22
	ldr	w8, [x25]
	mov	x9, x8
Lloh17:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh18:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x19, x9, x8
	mov	sp, x19
	ldr	x8, [x21]
	madd	x9, x20, x26, x8
	ldr	w9, [x9, #16]
	cbz	w9, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mul	x9, x20, x26
	ldr	x9, [x8, x9]
	ldr	x10, [x27]
	cmp	x9, x10
	b.ne	LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	madd	x8, x20, x26, x8
	ldr	x8, [x8, #8]
Lloh19:
	adrp	x9, _MVPP2_PRS_UDF_MAC_DEF@GOTPAGE
Lloh20:
	ldr	x9, [x9, _MVPP2_PRS_UDF_MAC_DEF@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	sub	x1, x29, #96
	mov	x0, x21
	mov	x2, x20
	bl	_mvpp2_prs_init_from_hw
	sub	x0, x29, #96
	bl	_mvpp2_prs_tcam_port_map_get
	stur	x0, [x29, #-104]
	ldr	w0, [x23, #8]
	sub	x1, x29, #104
	bl	_test_bit
	cbz	w0, LBB0_4
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x24, x27
	mov	x27, x23
	ldr	w8, [x25]
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x23, #0
LBB0_11:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x2, x22, x23
	add	x3, x19, x23
	sub	x0, x29, #96
	mov	x1, x23
	bl	_mvpp2_prs_tcam_data_byte_get
	add	x23, x23, #1
	ldrsw	x8, [x25]
	cmp	x23, x8
	b.lt	LBB0_11
LBB0_12:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x22
	bl	_is_broadcast_ether_addr
	mov	x23, x27
	mov	x27, x24
Lloh22:
	adrp	x24, _MVPP2_PE_MAC_RANGE_END@GOTPAGE
Lloh23:
	ldr	x24, [x24, _MVPP2_PE_MAC_RANGE_END@GOTPAGEOFF]
	cbnz	x0, LBB0_4
; %bb.13:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x23]
	ldr	w1, [x8]
	mov	x0, x22
	bl	_ether_addr_equal
	cbnz	x0, LBB0_4
; %bb.14:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x23
	mov	x1, x22
	mov	w2, #0
	bl	_mvpp2_prs_mac_da_accept
	b	LBB0_4
LBB0_15:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_MVPP2_PE_MAC_RANGE_START,4,2   ; @MVPP2_PE_MAC_RANGE_START
	.comm	_MVPP2_PE_MAC_RANGE_END,4,2     ; @MVPP2_PE_MAC_RANGE_END
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_MVPP2_PRS_LU_MAC,8,3           ; @MVPP2_PRS_LU_MAC
	.comm	_MVPP2_PRS_UDF_MAC_DEF,8,3      ; @MVPP2_PRS_UDF_MAC_DEF
.subsections_via_symbols
