	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hclgevf_set_rss
_hclgevf_set_rss:                       ## @hclgevf_set_rss
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r12d
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r13
	callq	_hclgevf_ae_get_hdev
	movq	%rax, %r14
	testq	%r15, %r15
	je	LBB0_8
## %bb.1:
	movq	(%r13), %rax
	cmpl	$33, (%rax)
	jl	LBB0_8
## %bb.2:
	cmpl	$128, %r12d
	je	LBB0_14
## %bb.3:
	cmpl	$129, %r12d
	je	LBB0_12
## %bb.4:
	cmpl	$130, %r12d
	jne	LBB0_15
## %bb.5:
	movl	12(%r14), %esi
	jmp	LBB0_6
LBB0_14:
	movq	_HCLGEVF_RSS_HASH_ALGO_SIMPLE@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_12:
	movq	_HCLGEVF_RSS_HASH_ALGO_TOEPLITZ@GOTPCREL(%rip), %rax
LBB0_13:
	movl	(%rax), %esi
	movl	%esi, 12(%r14)
LBB0_6:
	movq	%r14, %rdi
	movq	%r15, %rdx
	callq	_hclgevf_set_rss_algo_key
	testl	%eax, %eax
	jne	LBB0_16
## %bb.7:
	movl	8(%r14), %edi
	movq	_HCLGEVF_RSS_KEY_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rsi
	callq	_memcpy
LBB0_8:
	movq	_HCLGEVF_RSS_IND_TBL_SIZE@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_11
## %bb.9:
	movq	(%r14), %rcx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rbx,%rdx,4), %esi
	movl	%esi, (%rcx,%rdx,4)
	incq	%rdx
	movslq	(%rax), %rsi
	cmpq	%rsi, %rdx
	jl	LBB0_10
LBB0_11:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_hclgevf_set_rss_indir_table    ## TAILCALL
LBB0_15:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_16:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HCLGEVF_RSS_HASH_ALGO_TOEPLITZ,4,2 ## @HCLGEVF_RSS_HASH_ALGO_TOEPLITZ
	.comm	_HCLGEVF_RSS_HASH_ALGO_SIMPLE,4,2 ## @HCLGEVF_RSS_HASH_ALGO_SIMPLE
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_HCLGEVF_RSS_KEY_SIZE,4,2       ## @HCLGEVF_RSS_KEY_SIZE
	.comm	_HCLGEVF_RSS_IND_TBL_SIZE,4,2   ## @HCLGEVF_RSS_IND_TBL_SIZE
	.no_dead_strip	_hclgevf_set_rss
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hclgevf_set_rss
_hclgevf_set_rss:                       ; @hclgevf_set_rss
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x22, x3
	mov	x21, x2
	mov	x19, x1
	mov	x23, x0
	bl	_hclgevf_ae_get_hdev
	mov	x20, x0
	cbz	x21, LBB0_11
; %bb.1:
	ldr	x8, [x23]
	ldr	w8, [x8]
	cmp	w8, #33
	b.lt	LBB0_11
; %bb.2:
	cmp	w22, #128
	b.eq	LBB0_6
; %bb.3:
	cmp	w22, #129
	b.eq	LBB0_7
; %bb.4:
	cmp	w22, #130
	b.ne	LBB0_15
; %bb.5:
	ldr	w1, [x20, #12]
	b	LBB0_9
LBB0_6:
Lloh0:
	adrp	x8, _HCLGEVF_RSS_HASH_ALGO_SIMPLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HCLGEVF_RSS_HASH_ALGO_SIMPLE@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
Lloh2:
	adrp	x8, _HCLGEVF_RSS_HASH_ALGO_TOEPLITZ@GOTPAGE
Lloh3:
	ldr	x8, [x8, _HCLGEVF_RSS_HASH_ALGO_TOEPLITZ@GOTPAGEOFF]
LBB0_8:
	ldr	w1, [x8]
	str	w1, [x20, #12]
LBB0_9:
	mov	x0, x20
	mov	x2, x21
	bl	_hclgevf_set_rss_algo_key
	cbnz	w0, LBB0_16
; %bb.10:
	ldr	w0, [x20, #8]
Lloh4:
	adrp	x8, _HCLGEVF_RSS_KEY_SIZE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _HCLGEVF_RSS_KEY_SIZE@GOTPAGEOFF]
Lloh6:
	ldr	w2, [x8]
	mov	x1, x21
	bl	_memcpy
LBB0_11:
Lloh7:
	adrp	x8, _HCLGEVF_RSS_IND_TBL_SIZE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _HCLGEVF_RSS_IND_TBL_SIZE@GOTPAGEOFF]
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_14
; %bb.12:
	mov	x9, #0
	ldr	x10, [x20]
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	lsl	x11, x9, #2
	ldr	w12, [x19, x11]
	str	w12, [x10, x11]
	add	x9, x9, #1
	ldrsw	x11, [x8]
	cmp	x9, x11
	b.lt	LBB0_13
LBB0_14:
	mov	x0, x20
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_hclgevf_set_rss_indir_table
LBB0_15:
Lloh9:
	adrp	x8, _EINVAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_16:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_HCLGEVF_RSS_HASH_ALGO_TOEPLITZ,4,2 ; @HCLGEVF_RSS_HASH_ALGO_TOEPLITZ
	.comm	_HCLGEVF_RSS_HASH_ALGO_SIMPLE,4,2 ; @HCLGEVF_RSS_HASH_ALGO_SIMPLE
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_HCLGEVF_RSS_KEY_SIZE,4,2       ; @HCLGEVF_RSS_KEY_SIZE
	.comm	_HCLGEVF_RSS_IND_TBL_SIZE,4,2   ; @HCLGEVF_RSS_IND_TBL_SIZE
	.no_dead_strip	_hclgevf_set_rss
.subsections_via_symbols
