	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mvpp22_port_rss_init           ## -- Begin function mvpp22_port_rss_init
	.p2align	4, 0x90
_mvpp22_port_rss_init:                  ## @mvpp22_port_rss_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	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movl	$0, -36(%rbp)
	movq	_MVPP22_N_RSS_TABLES@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_3
## %bb.1:
	movq	(%r15), %rcx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	$-1, (%rcx,%rdx,4)
	incq	%rdx
	movslq	(%rax), %rsi
	cmpq	%rsi, %rdx
	jl	LBB0_2
LBB0_3:
	leaq	-36(%rbp), %rsi
	movq	%r15, %rdi
	callq	_mvpp22_rss_context_create
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_10
## %bb.4:
	movl	12(%r15), %edi
	movl	-36(%rbp), %esi
	callq	_mvpp22_rss_table_get
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	%rax, %r12
	movl	-36(%rbp), %eax
	movq	(%r15), %rcx
	movl	%eax, (%rcx)
	movq	_MVPP22_RSS_TABLE_ENTRIES@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	jle	LBB0_9
## %bb.7:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movl	8(%r15), %esi
	movl	%ebx, %edi
	callq	_ethtool_rxfh_indir_default
	movq	(%r12), %rcx
	movl	%eax, (%rcx,%rbx,4)
	incq	%rbx
	movslq	(%r14), %rax
	cmpq	%rax, %rbx
	jl	LBB0_8
LBB0_9:
	xorl	%r14d, %r14d
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_mvpp22_rss_ctx
	movq	%r15, %rdi
	movq	%r12, %rsi
	movl	%eax, %edx
	callq	_mvpp22_rss_fill_table
	movq	_MVPP22_FLOW_IP4@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MVPP22_CLS_HEK_IP4_2T@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_mvpp2_port_rss_hash_opts_set
	movq	_MVPP22_FLOW_IP6@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MVPP22_CLS_HEK_IP6_2T@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_mvpp2_port_rss_hash_opts_set
	movq	_MVPP22_FLOW_TCP4@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MVPP22_CLS_HEK_IP4_5T@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movq	%r15, %rdi
	callq	_mvpp2_port_rss_hash_opts_set
	movq	_MVPP22_FLOW_TCP6@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MVPP22_CLS_HEK_IP6_5T@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movq	%r15, %rdi
	callq	_mvpp2_port_rss_hash_opts_set
	movq	_MVPP22_FLOW_UDP4@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r12), %edx
	movq	%r15, %rdi
	callq	_mvpp2_port_rss_hash_opts_set
	movq	_MVPP22_FLOW_UDP6@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %edx
	movq	%r15, %rdi
	callq	_mvpp2_port_rss_hash_opts_set
	jmp	LBB0_10
LBB0_5:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
LBB0_10:
	movl	%r14d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MVPP22_N_RSS_TABLES,4,2        ## @MVPP22_N_RSS_TABLES
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_MVPP22_RSS_TABLE_ENTRIES,4,2   ## @MVPP22_RSS_TABLE_ENTRIES
	.comm	_MVPP22_FLOW_IP4,4,2            ## @MVPP22_FLOW_IP4
	.comm	_MVPP22_CLS_HEK_IP4_2T,4,2      ## @MVPP22_CLS_HEK_IP4_2T
	.comm	_MVPP22_FLOW_IP6,4,2            ## @MVPP22_FLOW_IP6
	.comm	_MVPP22_CLS_HEK_IP6_2T,4,2      ## @MVPP22_CLS_HEK_IP6_2T
	.comm	_MVPP22_FLOW_TCP4,4,2           ## @MVPP22_FLOW_TCP4
	.comm	_MVPP22_CLS_HEK_IP4_5T,4,2      ## @MVPP22_CLS_HEK_IP4_5T
	.comm	_MVPP22_FLOW_TCP6,4,2           ## @MVPP22_FLOW_TCP6
	.comm	_MVPP22_CLS_HEK_IP6_5T,4,2      ## @MVPP22_CLS_HEK_IP6_5T
	.comm	_MVPP22_FLOW_UDP4,4,2           ## @MVPP22_FLOW_UDP4
	.comm	_MVPP22_FLOW_UDP6,4,2           ## @MVPP22_FLOW_UDP6
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mvpp22_port_rss_init           ; -- Begin function mvpp22_port_rss_init
	.p2align	2
_mvpp22_port_rss_init:                  ; @mvpp22_port_rss_init
	.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, x0
	str	wzr, [sp, #12]
Lloh0:
	adrp	x8, _MVPP22_N_RSS_TABLES@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MVPP22_N_RSS_TABLES@GOTPAGEOFF]
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x9, #0
	ldr	x10, [x19]
	mov	w11, #-1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	str	w11, [x10, x9, lsl #2]
	add	x9, x9, #1
	ldrsw	x12, [x8]
	cmp	x9, x12
	b.lt	LBB0_2
LBB0_3:
	add	x1, sp, #12
	mov	x0, x19
	bl	_mvpp22_rss_context_create
	cbnz	w0, LBB0_10
; %bb.4:
	ldr	w0, [x19, #12]
	ldr	w1, [sp, #12]
	bl	_mvpp22_rss_table_get
	cbz	x0, LBB0_9
; %bb.5:
	mov	x20, x0
	ldr	w8, [sp, #12]
	ldr	x9, [x19]
	str	w8, [x9]
Lloh2:
	adrp	x22, _MVPP22_RSS_TABLE_ENTRIES@GOTPAGE
Lloh3:
	ldr	x22, [x22, _MVPP22_RSS_TABLE_ENTRIES@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.6:
	mov	x21, #0
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x19, #8]
	mov	x0, x21
	bl	_ethtool_rxfh_indir_default
	ldr	x8, [x20]
	str	w0, [x8, x21, lsl #2]
	add	x21, x21, #1
	ldrsw	x8, [x22]
	cmp	x21, x8
	b.lt	LBB0_7
LBB0_8:
	mov	x0, x19
	mov	w1, #0
	bl	_mvpp22_rss_ctx
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_mvpp22_rss_fill_table
Lloh4:
	adrp	x8, _MVPP22_FLOW_IP4@GOTPAGE
Lloh5:
	ldr	x8, [x8, _MVPP22_FLOW_IP4@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
Lloh7:
	adrp	x8, _MVPP22_CLS_HEK_IP4_2T@GOTPAGE
Lloh8:
	ldr	x8, [x8, _MVPP22_CLS_HEK_IP4_2T@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_mvpp2_port_rss_hash_opts_set
Lloh10:
	adrp	x8, _MVPP22_FLOW_IP6@GOTPAGE
Lloh11:
	ldr	x8, [x8, _MVPP22_FLOW_IP6@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
Lloh13:
	adrp	x8, _MVPP22_CLS_HEK_IP6_2T@GOTPAGE
Lloh14:
	ldr	x8, [x8, _MVPP22_CLS_HEK_IP6_2T@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_mvpp2_port_rss_hash_opts_set
Lloh16:
	adrp	x8, _MVPP22_FLOW_TCP4@GOTPAGE
Lloh17:
	ldr	x8, [x8, _MVPP22_FLOW_TCP4@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
Lloh19:
	adrp	x20, _MVPP22_CLS_HEK_IP4_5T@GOTPAGE
Lloh20:
	ldr	x20, [x20, _MVPP22_CLS_HEK_IP4_5T@GOTPAGEOFF]
	ldr	w2, [x20]
	mov	x0, x19
	bl	_mvpp2_port_rss_hash_opts_set
Lloh21:
	adrp	x8, _MVPP22_FLOW_TCP6@GOTPAGE
Lloh22:
	ldr	x8, [x8, _MVPP22_FLOW_TCP6@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
Lloh24:
	adrp	x21, _MVPP22_CLS_HEK_IP6_5T@GOTPAGE
Lloh25:
	ldr	x21, [x21, _MVPP22_CLS_HEK_IP6_5T@GOTPAGEOFF]
	ldr	w2, [x21]
	mov	x0, x19
	bl	_mvpp2_port_rss_hash_opts_set
Lloh26:
	adrp	x8, _MVPP22_FLOW_UDP4@GOTPAGE
Lloh27:
	ldr	x8, [x8, _MVPP22_FLOW_UDP4@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	ldr	w2, [x20]
	mov	x0, x19
	bl	_mvpp2_port_rss_hash_opts_set
Lloh29:
	adrp	x8, _MVPP22_FLOW_UDP6@GOTPAGE
Lloh30:
	ldr	x8, [x8, _MVPP22_FLOW_UDP6@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
	ldr	w2, [x21]
	mov	x0, x19
	bl	_mvpp2_port_rss_hash_opts_set
	mov	w0, #0
	b	LBB0_10
LBB0_9:
Lloh32:
	adrp	x8, _EINVAL@GOTPAGE
Lloh33:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_10:
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.comm	_MVPP22_N_RSS_TABLES,4,2        ; @MVPP22_N_RSS_TABLES
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_MVPP22_RSS_TABLE_ENTRIES,4,2   ; @MVPP22_RSS_TABLE_ENTRIES
	.comm	_MVPP22_FLOW_IP4,4,2            ; @MVPP22_FLOW_IP4
	.comm	_MVPP22_CLS_HEK_IP4_2T,4,2      ; @MVPP22_CLS_HEK_IP4_2T
	.comm	_MVPP22_FLOW_IP6,4,2            ; @MVPP22_FLOW_IP6
	.comm	_MVPP22_CLS_HEK_IP6_2T,4,2      ; @MVPP22_CLS_HEK_IP6_2T
	.comm	_MVPP22_FLOW_TCP4,4,2           ; @MVPP22_FLOW_TCP4
	.comm	_MVPP22_CLS_HEK_IP4_5T,4,2      ; @MVPP22_CLS_HEK_IP4_5T
	.comm	_MVPP22_FLOW_TCP6,4,2           ; @MVPP22_FLOW_TCP6
	.comm	_MVPP22_CLS_HEK_IP6_5T,4,2      ; @MVPP22_CLS_HEK_IP6_5T
	.comm	_MVPP22_FLOW_UDP4,4,2           ; @MVPP22_FLOW_UDP4
	.comm	_MVPP22_FLOW_UDP6,4,2           ; @MVPP22_FLOW_UDP6
.subsections_via_symbols
