	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mvpp2_rss_port_c2_enable
_mvpp2_rss_port_c2_enable:              ## @mvpp2_rss_port_c2_enable
	.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	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r15
	movl	(%rdi), %r12d
	movl	4(%rdi), %edi
	callq	_MVPP22_CLS_C2_RSS_ENTRY
	leaq	-40(%rbp), %r14
	movl	%r12d, %edi
	movl	%eax, %esi
	movq	%r14, %rdx
	callq	_mvpp2_cls_c2_read
	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	-40(%rbp), %rcx
	movl	%eax, (%rcx)
	movq	_MVPP22_CLS_C2_ATTR2_RSS_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 8(%rcx)
	movl	(%r15), %edi
	movq	%r14, %rsi
	callq	_mvpp2_cls_c2_write
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.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
	.comm	_MVPP22_CLS_C2_ATTR2_RSS_EN,4,2 ## @MVPP22_CLS_C2_ATTR2_RSS_EN
	.no_dead_strip	_mvpp2_rss_port_c2_enable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mvpp2_rss_port_c2_enable
_mvpp2_rss_port_c2_enable:              ; @mvpp2_rss_port_c2_enable
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x1
	mov	x20, x0
	ldp	w21, w0, [x0]
	bl	_MVPP22_CLS_C2_RSS_ENTRY
	mov	x1, x0
	add	x2, sp, #8
	mov	x0, x21
	bl	_mvpp2_cls_c2_read
Lloh0:
	adrp	x8, _MVPP22_CLS_C2_ATTR0_QHIGH_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MVPP22_CLS_C2_ATTR0_QHIGH_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	and	w0, w8, w19, asr #3
Lloh3:
	adrp	x8, _MVPP22_CLS_C2_ATTR0_QLOW_MASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MVPP22_CLS_C2_ATTR0_QLOW_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	and	w19, w8, w19
	bl	_MVPP22_CLS_C2_ATTR0_QHIGH
	mov	x21, x0
	mov	x0, x19
	bl	_MVPP22_CLS_C2_ATTR0_QLOW
	orr	w8, w0, w21
	ldr	x9, [sp, #8]
Lloh6:
	adrp	x10, _MVPP22_CLS_C2_ATTR2_RSS_EN@GOTPAGE
Lloh7:
	ldr	x10, [x10, _MVPP22_CLS_C2_ATTR2_RSS_EN@GOTPAGEOFF]
	str	w8, [x9]
Lloh8:
	ldr	w8, [x10]
	ldr	w10, [x9, #8]
	orr	w8, w10, w8
	str	w8, [x9, #8]
	ldr	w0, [x20]
	add	x1, sp, #8
	bl	_mvpp2_cls_c2_write
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.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
	.comm	_MVPP22_CLS_C2_ATTR2_RSS_EN,4,2 ; @MVPP22_CLS_C2_ATTR2_RSS_EN
	.no_dead_strip	_mvpp2_rss_port_c2_enable
.subsections_via_symbols
