	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mvpp2_cls_c2_write
_mvpp2_cls_c2_write:                    ## @mvpp2_cls_c2_write
	.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	%rsi, %r14
	movq	%rdi, %rbx
	movq	_MVPP22_CLS_C2_TCAM_IDX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	32(%r14), %edx
	callq	_mvpp2_write
	movq	_MVPP22_CLS_C2_TCAM_INV@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_mvpp2_read
	movq	_MVPP22_CLS_C2_TCAM_INV_BIT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%edx, %ecx
	notl	%ecx
	andl	%eax, %ecx
	orl	%eax, %edx
	cmpq	$0, 24(%r14)
	cmovnel	%ecx, %edx
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_mvpp2_write
	movq	_MVPP22_CLS_C2_ACT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	16(%r14), %edx
	movq	%rbx, %rdi
	callq	_mvpp2_write
	movq	_MVPP22_CLS_C2_ATTR0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	8(%r14), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_mvpp2_write
	movq	_MVPP22_CLS_C2_ATTR1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	8(%r14), %rax
	movl	4(%rax), %edx
	movq	%rbx, %rdi
	callq	_mvpp2_write
	movq	_MVPP22_CLS_C2_ATTR2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	8(%r14), %rax
	movl	8(%rax), %edx
	movq	%rbx, %rdi
	callq	_mvpp2_write
	movq	_MVPP22_CLS_C2_ATTR3@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	8(%r14), %rax
	movl	12(%rax), %edx
	movq	%rbx, %rdi
	callq	_mvpp2_write
	movq	_MVPP22_CLS_C2_TCAM_DATA0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	(%r14), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_mvpp2_write
	movq	_MVPP22_CLS_C2_TCAM_DATA1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	(%r14), %rax
	movl	4(%rax), %edx
	movq	%rbx, %rdi
	callq	_mvpp2_write
	movq	_MVPP22_CLS_C2_TCAM_DATA2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	(%r14), %rax
	movl	8(%rax), %edx
	movq	%rbx, %rdi
	callq	_mvpp2_write
	movq	_MVPP22_CLS_C2_TCAM_DATA3@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	(%r14), %rax
	movl	12(%rax), %edx
	movq	%rbx, %rdi
	callq	_mvpp2_write
	movq	_MVPP22_CLS_C2_TCAM_DATA4@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	(%r14), %rax
	movl	16(%rax), %edx
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mvpp2_write                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MVPP22_CLS_C2_TCAM_IDX,4,2     ## @MVPP22_CLS_C2_TCAM_IDX
	.comm	_MVPP22_CLS_C2_TCAM_INV,4,2     ## @MVPP22_CLS_C2_TCAM_INV
	.comm	_MVPP22_CLS_C2_TCAM_INV_BIT,4,2 ## @MVPP22_CLS_C2_TCAM_INV_BIT
	.comm	_MVPP22_CLS_C2_ACT,4,2          ## @MVPP22_CLS_C2_ACT
	.comm	_MVPP22_CLS_C2_ATTR0,4,2        ## @MVPP22_CLS_C2_ATTR0
	.comm	_MVPP22_CLS_C2_ATTR1,4,2        ## @MVPP22_CLS_C2_ATTR1
	.comm	_MVPP22_CLS_C2_ATTR2,4,2        ## @MVPP22_CLS_C2_ATTR2
	.comm	_MVPP22_CLS_C2_ATTR3,4,2        ## @MVPP22_CLS_C2_ATTR3
	.comm	_MVPP22_CLS_C2_TCAM_DATA0,4,2   ## @MVPP22_CLS_C2_TCAM_DATA0
	.comm	_MVPP22_CLS_C2_TCAM_DATA1,4,2   ## @MVPP22_CLS_C2_TCAM_DATA1
	.comm	_MVPP22_CLS_C2_TCAM_DATA2,4,2   ## @MVPP22_CLS_C2_TCAM_DATA2
	.comm	_MVPP22_CLS_C2_TCAM_DATA3,4,2   ## @MVPP22_CLS_C2_TCAM_DATA3
	.comm	_MVPP22_CLS_C2_TCAM_DATA4,4,2   ## @MVPP22_CLS_C2_TCAM_DATA4
	.no_dead_strip	_mvpp2_cls_c2_write
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mvpp2_cls_c2_write
_mvpp2_cls_c2_write:                    ; @mvpp2_cls_c2_write
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _MVPP22_CLS_C2_TCAM_IDX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MVPP22_CLS_C2_TCAM_IDX@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	w2, [x20, #32]
	bl	_mvpp2_write
Lloh3:
	adrp	x21, _MVPP22_CLS_C2_TCAM_INV@GOTPAGE
Lloh4:
	ldr	x21, [x21, _MVPP22_CLS_C2_TCAM_INV@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_mvpp2_read
	ldr	x8, [x20, #24]
Lloh5:
	adrp	x9, _MVPP22_CLS_C2_TCAM_INV_BIT@GOTPAGE
Lloh6:
	ldr	x9, [x9, _MVPP22_CLS_C2_TCAM_INV_BIT@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	bic	w10, w0, w9
	orr	w9, w9, w0
	cmp	x8, #0
	csel	w2, w9, w10, eq
	ldr	w1, [x21]
	mov	x0, x19
	bl	_mvpp2_write
Lloh8:
	adrp	x8, _MVPP22_CLS_C2_ACT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MVPP22_CLS_C2_ACT@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	ldr	w2, [x20, #16]
	mov	x0, x19
	bl	_mvpp2_write
Lloh11:
	adrp	x8, _MVPP22_CLS_C2_ATTR0@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MVPP22_CLS_C2_ATTR0@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	ldr	x8, [x20, #8]
	ldr	w2, [x8]
	mov	x0, x19
	bl	_mvpp2_write
Lloh14:
	adrp	x8, _MVPP22_CLS_C2_ATTR1@GOTPAGE
Lloh15:
	ldr	x8, [x8, _MVPP22_CLS_C2_ATTR1@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	ldr	x8, [x20, #8]
	ldr	w2, [x8, #4]
	mov	x0, x19
	bl	_mvpp2_write
Lloh17:
	adrp	x8, _MVPP22_CLS_C2_ATTR2@GOTPAGE
Lloh18:
	ldr	x8, [x8, _MVPP22_CLS_C2_ATTR2@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	ldr	x8, [x20, #8]
	ldr	w2, [x8, #8]
	mov	x0, x19
	bl	_mvpp2_write
Lloh20:
	adrp	x8, _MVPP22_CLS_C2_ATTR3@GOTPAGE
Lloh21:
	ldr	x8, [x8, _MVPP22_CLS_C2_ATTR3@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	ldr	x8, [x20, #8]
	ldr	w2, [x8, #12]
	mov	x0, x19
	bl	_mvpp2_write
Lloh23:
	adrp	x8, _MVPP22_CLS_C2_TCAM_DATA0@GOTPAGE
Lloh24:
	ldr	x8, [x8, _MVPP22_CLS_C2_TCAM_DATA0@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	ldr	x8, [x20]
	ldr	w2, [x8]
	mov	x0, x19
	bl	_mvpp2_write
Lloh26:
	adrp	x8, _MVPP22_CLS_C2_TCAM_DATA1@GOTPAGE
Lloh27:
	ldr	x8, [x8, _MVPP22_CLS_C2_TCAM_DATA1@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	ldr	x8, [x20]
	ldr	w2, [x8, #4]
	mov	x0, x19
	bl	_mvpp2_write
Lloh29:
	adrp	x8, _MVPP22_CLS_C2_TCAM_DATA2@GOTPAGE
Lloh30:
	ldr	x8, [x8, _MVPP22_CLS_C2_TCAM_DATA2@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
	ldr	x8, [x20]
	ldr	w2, [x8, #8]
	mov	x0, x19
	bl	_mvpp2_write
Lloh32:
	adrp	x8, _MVPP22_CLS_C2_TCAM_DATA3@GOTPAGE
Lloh33:
	ldr	x8, [x8, _MVPP22_CLS_C2_TCAM_DATA3@GOTPAGEOFF]
Lloh34:
	ldr	w1, [x8]
	ldr	x8, [x20]
	ldr	w2, [x8, #12]
	mov	x0, x19
	bl	_mvpp2_write
Lloh35:
	adrp	x8, _MVPP22_CLS_C2_TCAM_DATA4@GOTPAGE
Lloh36:
	ldr	x8, [x8, _MVPP22_CLS_C2_TCAM_DATA4@GOTPAGEOFF]
Lloh37:
	ldr	w1, [x8]
	ldr	x8, [x20]
	ldr	w2, [x8, #16]
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_mvpp2_write
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.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	_MVPP22_CLS_C2_TCAM_IDX,4,2     ; @MVPP22_CLS_C2_TCAM_IDX
	.comm	_MVPP22_CLS_C2_TCAM_INV,4,2     ; @MVPP22_CLS_C2_TCAM_INV
	.comm	_MVPP22_CLS_C2_TCAM_INV_BIT,4,2 ; @MVPP22_CLS_C2_TCAM_INV_BIT
	.comm	_MVPP22_CLS_C2_ACT,4,2          ; @MVPP22_CLS_C2_ACT
	.comm	_MVPP22_CLS_C2_ATTR0,4,2        ; @MVPP22_CLS_C2_ATTR0
	.comm	_MVPP22_CLS_C2_ATTR1,4,2        ; @MVPP22_CLS_C2_ATTR1
	.comm	_MVPP22_CLS_C2_ATTR2,4,2        ; @MVPP22_CLS_C2_ATTR2
	.comm	_MVPP22_CLS_C2_ATTR3,4,2        ; @MVPP22_CLS_C2_ATTR3
	.comm	_MVPP22_CLS_C2_TCAM_DATA0,4,2   ; @MVPP22_CLS_C2_TCAM_DATA0
	.comm	_MVPP22_CLS_C2_TCAM_DATA1,4,2   ; @MVPP22_CLS_C2_TCAM_DATA1
	.comm	_MVPP22_CLS_C2_TCAM_DATA2,4,2   ; @MVPP22_CLS_C2_TCAM_DATA2
	.comm	_MVPP22_CLS_C2_TCAM_DATA3,4,2   ; @MVPP22_CLS_C2_TCAM_DATA3
	.comm	_MVPP22_CLS_C2_TCAM_DATA4,4,2   ; @MVPP22_CLS_C2_TCAM_DATA4
	.no_dead_strip	_mvpp2_cls_c2_write
.subsections_via_symbols
