	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mvpp2_port_c2_cls_init
_mvpp2_port_c2_cls_init:                ## @mvpp2_port_c2_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, %r15
	leaq	-72(%rbp), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$40, %edx
	callq	_memset
	movl	8(%r15), %edi
	callq	_MVPP22_CLS_C2_RSS_ENTRY
	movl	%eax, -40(%rbp)
	movl	8(%r15), %edi
	callq	_BIT
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_MVPP22_CLS_C2_PORT_ID
	movq	-48(%rbp), %rcx
	movl	%eax, 16(%rcx)
	movl	%ebx, %edi
	callq	_MVPP22_CLS_C2_PORT_ID
	movl	%eax, %edi
	callq	_MVPP22_CLS_C2_TCAM_EN
	movq	-48(%rbp), %rcx
	orl	%eax, 16(%rcx)
	movq	_MVPP2_CLS_LU_TYPE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MVPP22_CLS_C2_LU_TYPE
	movl	%eax, %edi
	callq	_MVPP22_CLS_C2_TCAM_EN
	movq	-48(%rbp), %rcx
	orl	%eax, 16(%rcx)
	movq	_MVPP22_CLS_LU_TYPE_ALL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MVPP22_CLS_C2_LU_TYPE
	movq	-48(%rbp), %rcx
	orl	%eax, 16(%rcx)
	movq	_MVPP22_C2_UPD_LOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MVPP22_CLS_C2_ACT_RSS_EN
	movl	%eax, -72(%rbp)
	movq	_MVPP22_C2_FWD_SW_LOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MVPP22_CLS_C2_ACT_FWD
	orl	%eax, -72(%rbp)
	movq	_MVPP22_C2_UPD@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_MVPP22_CLS_C2_ACT_QHIGH
	movl	%eax, %ebx
	movl	(%r12), %edi
	callq	_MVPP22_CLS_C2_ACT_QLOW
	orl	%ebx, %eax
	orl	%eax, -72(%rbp)
	movl	(%r15), %ebx
	movl	%ebx, %edi
	sarl	$3, %edi
	movq	_MVPP22_CLS_C2_ATTR0_QHIGH_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %edi
	movq	_MVPP22_CLS_C2_ATTR0_QLOW_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %ebx
	callq	_MVPP22_CLS_C2_ATTR0_QHIGH
	movl	%eax, %r12d
	movl	%ebx, %edi
	callq	_MVPP22_CLS_C2_ATTR0_QLOW
	orl	%r12d, %eax
	movq	-64(%rbp), %rcx
	movl	%eax, (%rcx)
	movl	$1, -56(%rbp)
	movl	4(%r15), %edi
	movq	%r14, %rsi
	callq	_mvpp2_cls_c2_write
	addq	$48, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MVPP2_CLS_LU_TYPE_MASK,4,2     ## @MVPP2_CLS_LU_TYPE_MASK
	.comm	_MVPP22_CLS_LU_TYPE_ALL,4,2     ## @MVPP22_CLS_LU_TYPE_ALL
	.comm	_MVPP22_C2_UPD_LOCK,4,2         ## @MVPP22_C2_UPD_LOCK
	.comm	_MVPP22_C2_FWD_SW_LOCK,4,2      ## @MVPP22_C2_FWD_SW_LOCK
	.comm	_MVPP22_C2_UPD,4,2              ## @MVPP22_C2_UPD
	.comm	_MVPP22_CLS_C2_ATTR0_QHIGH_MASK,4,2 ## @MVPP22_CLS_C2_ATTR0_QHIGH_MASK
	.comm	_MVPP22_CLS_C2_ATTR0_QLOW_MASK,4,2 ## @MVPP22_CLS_C2_ATTR0_QLOW_MASK
	.no_dead_strip	_mvpp2_port_c2_cls_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mvpp2_port_c2_cls_init
_mvpp2_port_c2_cls_init:                ; @mvpp2_port_c2_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
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #40
	bl	_memset
	ldr	w0, [x19, #8]
	bl	_MVPP22_CLS_C2_RSS_ENTRY
	str	w0, [sp, #40]
	ldr	w0, [x19, #8]
	bl	_BIT
	mov	x20, x0
	bl	_MVPP22_CLS_C2_PORT_ID
	ldr	x8, [sp, #32]
	str	w0, [x8, #16]
	mov	x0, x20
	bl	_MVPP22_CLS_C2_PORT_ID
	bl	_MVPP22_CLS_C2_TCAM_EN
	ldr	x8, [sp, #32]
	ldr	w9, [x8, #16]
	orr	w9, w9, w0
	str	w9, [x8, #16]
Lloh0:
	adrp	x8, _MVPP2_CLS_LU_TYPE_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MVPP2_CLS_LU_TYPE_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_MVPP22_CLS_C2_LU_TYPE
	bl	_MVPP22_CLS_C2_TCAM_EN
	ldr	x8, [sp, #32]
	ldr	w9, [x8, #16]
	orr	w9, w9, w0
	str	w9, [x8, #16]
Lloh3:
	adrp	x8, _MVPP22_CLS_LU_TYPE_ALL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MVPP22_CLS_LU_TYPE_ALL@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_MVPP22_CLS_C2_LU_TYPE
	ldr	x8, [sp, #32]
	ldr	w9, [x8, #16]
	orr	w9, w9, w0
	str	w9, [x8, #16]
Lloh6:
	adrp	x8, _MVPP22_C2_UPD_LOCK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MVPP22_C2_UPD_LOCK@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_MVPP22_CLS_C2_ACT_RSS_EN
	str	w0, [sp, #8]
Lloh9:
	adrp	x8, _MVPP22_C2_FWD_SW_LOCK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MVPP22_C2_FWD_SW_LOCK@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_MVPP22_CLS_C2_ACT_FWD
	ldr	w8, [sp, #8]
	orr	w8, w8, w0
	str	w8, [sp, #8]
Lloh12:
	adrp	x21, _MVPP22_C2_UPD@GOTPAGE
Lloh13:
	ldr	x21, [x21, _MVPP22_C2_UPD@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_MVPP22_CLS_C2_ACT_QHIGH
	mov	x20, x0
	ldr	w0, [x21]
	bl	_MVPP22_CLS_C2_ACT_QLOW
	orr	w8, w0, w20
	ldr	w9, [sp, #8]
	orr	w8, w8, w9
	str	w8, [sp, #8]
	ldr	w8, [x19]
Lloh14:
	adrp	x9, _MVPP22_CLS_C2_ATTR0_QHIGH_MASK@GOTPAGE
Lloh15:
	ldr	x9, [x9, _MVPP22_CLS_C2_ATTR0_QHIGH_MASK@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	and	w0, w9, w8, asr #3
Lloh17:
	adrp	x9, _MVPP22_CLS_C2_ATTR0_QLOW_MASK@GOTPAGE
Lloh18:
	ldr	x9, [x9, _MVPP22_CLS_C2_ATTR0_QLOW_MASK@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	and	w20, w9, w8
	bl	_MVPP22_CLS_C2_ATTR0_QHIGH
	mov	x21, x0
	mov	x0, x20
	bl	_MVPP22_CLS_C2_ATTR0_QLOW
	orr	w8, w0, w21
	ldr	x9, [sp, #16]
	str	w8, [x9]
	mov	w8, #1
	str	w8, [sp, #24]
	ldr	w0, [x19, #4]
	add	x1, sp, #8
	bl	_mvpp2_cls_c2_write
	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 AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MVPP2_CLS_LU_TYPE_MASK,4,2     ; @MVPP2_CLS_LU_TYPE_MASK
	.comm	_MVPP22_CLS_LU_TYPE_ALL,4,2     ; @MVPP22_CLS_LU_TYPE_ALL
	.comm	_MVPP22_C2_UPD_LOCK,4,2         ; @MVPP22_C2_UPD_LOCK
	.comm	_MVPP22_C2_FWD_SW_LOCK,4,2      ; @MVPP22_C2_FWD_SW_LOCK
	.comm	_MVPP22_C2_UPD,4,2              ; @MVPP22_C2_UPD
	.comm	_MVPP22_CLS_C2_ATTR0_QHIGH_MASK,4,2 ; @MVPP22_CLS_C2_ATTR0_QHIGH_MASK
	.comm	_MVPP22_CLS_C2_ATTR0_QLOW_MASK,4,2 ; @MVPP22_CLS_C2_ATTR0_QLOW_MASK
	.no_dead_strip	_mvpp2_port_c2_cls_init
.subsections_via_symbols
