	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mvpp2_cls_init                 ## -- Begin function mvpp2_cls_init
	.p2align	4, 0x90
_mvpp2_cls_init:                        ## @mvpp2_cls_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	%r12
	pushq	%rbx
	subq	$48, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	_MVPP2_CLS_MODE_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MVPP2_CLS_MODE_ACTIVE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_mvpp2_write
	leaq	-68(%rbp), %rdi
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movq	_MVPP2_CLS_FLOWS_TBL_SIZE@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	jle	LBB0_3
## %bb.1:
	leaq	-72(%rbp), %r14
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, -72(%rbp)
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_mvpp2_cls_flow_write
	incl	%ebx
	cmpl	(%r15), %ebx
	jl	LBB0_2
LBB0_3:
	movq	$0, -48(%rbp)
	movq	_MVPP2_CLS_LKP_TBL_SIZE@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	jle	LBB0_6
## %bb.4:
	xorl	%ebx, %ebx
	leaq	-56(%rbp), %r14
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, -56(%rbp)
	movl	$0, -52(%rbp)
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_mvpp2_cls_lookup_write
	movl	$1, -52(%rbp)
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_mvpp2_cls_lookup_write
	incl	%ebx
	cmpl	(%r15), %ebx
	jl	LBB0_5
LBB0_6:
	leaq	-40(%rbp), %rdi
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movl	$0, -40(%rbp)
	movq	_MVPP22_CLS_C2_N_ENTRIES@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	jle	LBB0_9
## %bb.7:
	leaq	-40(%rbp), %r14
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, -36(%rbp)
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_mvpp2_cls_c2_write
	incl	%ebx
	cmpl	(%r15), %ebx
	jl	LBB0_8
LBB0_9:
	movq	_MVPP22_CLS_C2_TCAM_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MVPP22_CLS_C2_TCAM_BYPASS_FIFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	callq	_mvpp2_write
	movq	%r12, %rdi
	callq	_mvpp2_cls_port_init_flows
	addq	$48, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MVPP2_CLS_MODE_REG,4,2         ## @MVPP2_CLS_MODE_REG
	.comm	_MVPP2_CLS_MODE_ACTIVE_MASK,4,2 ## @MVPP2_CLS_MODE_ACTIVE_MASK
	.comm	_MVPP2_CLS_FLOWS_TBL_SIZE,4,2   ## @MVPP2_CLS_FLOWS_TBL_SIZE
	.comm	_MVPP2_CLS_LKP_TBL_SIZE,4,2     ## @MVPP2_CLS_LKP_TBL_SIZE
	.comm	_MVPP22_CLS_C2_N_ENTRIES,4,2    ## @MVPP22_CLS_C2_N_ENTRIES
	.comm	_MVPP22_CLS_C2_TCAM_CTRL,4,2    ## @MVPP22_CLS_C2_TCAM_CTRL
	.comm	_MVPP22_CLS_C2_TCAM_BYPASS_FIFO,4,2 ## @MVPP22_CLS_C2_TCAM_BYPASS_FIFO
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mvpp2_cls_init                 ; -- Begin function mvpp2_cls_init
	.p2align	2
_mvpp2_cls_init:                        ; @mvpp2_cls_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x19, x0
Lloh0:
	adrp	x8, _MVPP2_CLS_MODE_REG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MVPP2_CLS_MODE_REG@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _MVPP2_CLS_MODE_ACTIVE_MASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MVPP2_CLS_MODE_ACTIVE_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	bl	_mvpp2_write
	add	x8, sp, #16
	orr	x0, x8, #0x4
	mov	w1, #0
	mov	w2, #8
	bl	_memset
Lloh6:
	adrp	x20, _MVPP2_CLS_FLOWS_TBL_SIZE@GOTPAGE
Lloh7:
	ldr	x20, [x20, _MVPP2_CLS_FLOWS_TBL_SIZE@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	w21, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	str	w21, [sp, #16]
	add	x1, sp, #16
	mov	x0, x19
	bl	_mvpp2_cls_flow_write
	add	w21, w21, #1
	ldr	w8, [x20]
	cmp	w21, w8
	b.lt	LBB0_2
LBB0_3:
	str	xzr, [sp, #40]
Lloh8:
	adrp	x20, _MVPP2_CLS_LKP_TBL_SIZE@GOTPAGE
Lloh9:
	ldr	x20, [x20, _MVPP2_CLS_LKP_TBL_SIZE@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.4:
	mov	w21, #0
	mov	w22, #1
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	stp	w21, wzr, [sp, #32]
	add	x1, sp, #32
	mov	x0, x19
	bl	_mvpp2_cls_lookup_write
	str	w22, [sp, #36]
	add	x1, sp, #32
	mov	x0, x19
	bl	_mvpp2_cls_lookup_write
	add	w21, w21, #1
	ldr	w8, [x20]
	cmp	w21, w8
	b.lt	LBB0_5
LBB0_6:
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	str	wzr, [sp, #8]
Lloh10:
	adrp	x20, _MVPP22_CLS_C2_N_ENTRIES@GOTPAGE
Lloh11:
	ldr	x20, [x20, _MVPP22_CLS_C2_N_ENTRIES@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.7:
	mov	w21, #0
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	str	w21, [sp, #12]
	add	x1, sp, #8
	mov	x0, x19
	bl	_mvpp2_cls_c2_write
	add	w21, w21, #1
	ldr	w8, [x20]
	cmp	w21, w8
	b.lt	LBB0_8
LBB0_9:
Lloh12:
	adrp	x8, _MVPP22_CLS_C2_TCAM_CTRL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MVPP22_CLS_C2_TCAM_CTRL@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
Lloh15:
	adrp	x8, _MVPP22_CLS_C2_TCAM_BYPASS_FIFO@GOTPAGE
Lloh16:
	ldr	x8, [x8, _MVPP22_CLS_C2_TCAM_BYPASS_FIFO@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_mvpp2_write
	mov	x0, x19
	bl	_mvpp2_cls_port_init_flows
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_MVPP2_CLS_MODE_REG,4,2         ; @MVPP2_CLS_MODE_REG
	.comm	_MVPP2_CLS_MODE_ACTIVE_MASK,4,2 ; @MVPP2_CLS_MODE_ACTIVE_MASK
	.comm	_MVPP2_CLS_FLOWS_TBL_SIZE,4,2   ; @MVPP2_CLS_FLOWS_TBL_SIZE
	.comm	_MVPP2_CLS_LKP_TBL_SIZE,4,2     ; @MVPP2_CLS_LKP_TBL_SIZE
	.comm	_MVPP22_CLS_C2_N_ENTRIES,4,2    ; @MVPP22_CLS_C2_N_ENTRIES
	.comm	_MVPP22_CLS_C2_TCAM_CTRL,4,2    ; @MVPP22_CLS_C2_TCAM_CTRL
	.comm	_MVPP22_CLS_C2_TCAM_BYPASS_FIFO,4,2 ; @MVPP22_CLS_C2_TCAM_BYPASS_FIFO
.subsections_via_symbols
