	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hclgevf_rss_init_hw
_hclgevf_rss_init_hw:                   ## @hclgevf_rss_init_hw
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	leaq	16(%rdi), %rbx
	movq	(%rdi), %rax
	movq	8(%rdi), %rcx
	movq	%rcx, 16(%rdi)
	cmpl	$33, (%rax)
	jl	LBB0_3
## %bb.1:
	movq	_HCLGEVF_RSS_HASH_ALGO_SIMPLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 100(%r14)
	movl	96(%r14), %edi
	movq	_hclgevf_hash_key@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_HCLGEVF_RSS_KEY_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_memcpy
	movl	96(%r14), %edx
	movl	100(%r14), %esi
	movq	%r14, %rdi
	callq	_hclgevf_set_rss_algo_key
	testl	%eax, %eax
	jne	LBB0_10
## %bb.2:
	movq	_HCLGEVF_RSS_INPUT_TUPLE_OTHER@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 88(%r14)
	movq	%rax, 80(%r14)
	movq	_HCLGEVF_RSS_INPUT_TUPLE_SCTP@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 72(%r14)
	movq	%rax, 64(%r14)
	movq	%rax, 56(%r14)
	movq	%rax, 48(%r14)
	movq	%rcx, 40(%r14)
	movq	%rax, 32(%r14)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_hclgevf_set_rss_input_tuple
	testl	%eax, %eax
	jne	LBB0_10
LBB0_3:
	movq	_HCLGEVF_RSS_IND_TBL_SIZE@GOTPCREL(%rip), %r8
	cmpq	$0, (%r8)
	je	LBB0_9
## %bb.4:
	movq	24(%r14), %rdi
	xorl	%ecx, %ecx
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	%rcx, %rax
	xorl	%edx, %edx
	divq	%rsi
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	%rdx, (%rdi,%rcx,8)
	incq	%rcx
	cmpq	(%r8), %rcx
	jae	LBB0_9
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rsi
	movq	%rcx, %rax
	orq	%rsi, %rax
	shrq	$32, %rax
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	%ecx, %eax
	xorl	%edx, %edx
	divl	%esi
                                        ## kill: def $edx killed $edx def $rdx
	jmp	LBB0_8
LBB0_9:
	movq	%r14, %rdi
	callq	_hclgevf_set_rss_indir_table
	testl	%eax, %eax
	je	LBB0_11
LBB0_10:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_11:
	movq	16(%r14), %rsi
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_hclgevf_set_rss_tc_mode        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_HCLGEVF_RSS_HASH_ALGO_SIMPLE,4,2 ## @HCLGEVF_RSS_HASH_ALGO_SIMPLE
	.comm	_hclgevf_hash_key,4,2           ## @hclgevf_hash_key
	.comm	_HCLGEVF_RSS_KEY_SIZE,4,2       ## @HCLGEVF_RSS_KEY_SIZE
	.comm	_HCLGEVF_RSS_INPUT_TUPLE_OTHER,8,3 ## @HCLGEVF_RSS_INPUT_TUPLE_OTHER
	.comm	_HCLGEVF_RSS_INPUT_TUPLE_SCTP,8,3 ## @HCLGEVF_RSS_INPUT_TUPLE_SCTP
	.comm	_HCLGEVF_RSS_IND_TBL_SIZE,8,3   ## @HCLGEVF_RSS_IND_TBL_SIZE
	.no_dead_strip	_hclgevf_rss_init_hw
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hclgevf_rss_init_hw
_hclgevf_rss_init_hw:                   ; @hclgevf_rss_init_hw
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	mov	x20, x0
	ldp	x9, x8, [x0]
	str	x8, [x20, #16]!
	ldr	w8, [x9]
	cmp	w8, #33
	b.lt	LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _HCLGEVF_RSS_HASH_ALGO_SIMPLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HCLGEVF_RSS_HASH_ALGO_SIMPLE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19, #100]
	ldr	w0, [x19, #96]
Lloh3:
	adrp	x8, _hclgevf_hash_key@GOTPAGE
Lloh4:
	ldr	x8, [x8, _hclgevf_hash_key@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _HCLGEVF_RSS_KEY_SIZE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _HCLGEVF_RSS_KEY_SIZE@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	bl	_memcpy
	ldp	w2, w1, [x19, #96]
	mov	x0, x19
	bl	_hclgevf_set_rss_algo_key
	cbnz	w0, LBB0_7
; %bb.2:
Lloh9:
	adrp	x8, _HCLGEVF_RSS_INPUT_TUPLE_OTHER@GOTPAGE
Lloh10:
	ldr	x8, [x8, _HCLGEVF_RSS_INPUT_TUPLE_OTHER@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	stp	x8, x8, [x19, #80]
Lloh12:
	adrp	x9, _HCLGEVF_RSS_INPUT_TUPLE_SCTP@GOTPAGE
Lloh13:
	ldr	x9, [x9, _HCLGEVF_RSS_INPUT_TUPLE_SCTP@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	stp	x8, x9, [x19, #64]
	stp	x8, x8, [x19, #48]
	stp	x8, x9, [x19, #32]
	mov	x0, x19
	mov	x1, x20
	bl	_hclgevf_set_rss_input_tuple
	cbnz	w0, LBB0_7
LBB0_3:
Lloh15:
	adrp	x8, _HCLGEVF_RSS_IND_TBL_SIZE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _HCLGEVF_RSS_IND_TBL_SIZE@GOTPAGEOFF]
	ldr	x9, [x8]
	cbz	x9, LBB0_6
; %bb.4:
	mov	x9, #0
	ldr	x10, [x19, #24]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x20]
	udiv	x12, x9, x11
	msub	x11, x12, x11, x9
	str	x11, [x10, x9, lsl #3]
	add	x9, x9, #1
	ldr	x11, [x8]
	cmp	x9, x11
	b.lo	LBB0_5
LBB0_6:
	mov	x0, x19
	bl	_hclgevf_set_rss_indir_table
	cbz	w0, LBB0_8
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_8:
	ldr	x1, [x19, #16]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_hclgevf_set_rss_tc_mode
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_HCLGEVF_RSS_HASH_ALGO_SIMPLE,4,2 ; @HCLGEVF_RSS_HASH_ALGO_SIMPLE
	.comm	_hclgevf_hash_key,4,2           ; @hclgevf_hash_key
	.comm	_HCLGEVF_RSS_KEY_SIZE,4,2       ; @HCLGEVF_RSS_KEY_SIZE
	.comm	_HCLGEVF_RSS_INPUT_TUPLE_OTHER,8,3 ; @HCLGEVF_RSS_INPUT_TUPLE_OTHER
	.comm	_HCLGEVF_RSS_INPUT_TUPLE_SCTP,8,3 ; @HCLGEVF_RSS_INPUT_TUPLE_SCTP
	.comm	_HCLGEVF_RSS_IND_TBL_SIZE,8,3   ; @HCLGEVF_RSS_IND_TBL_SIZE
	.no_dead_strip	_hclgevf_rss_init_hw
.subsections_via_symbols
