	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hclge_set_rss
_hclge_set_rss:                         ## @hclge_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, %r13d
	movq	%rdx, %r12
	movq	%rsi, %rbx
	callq	_hclge_get_vport
	movq	%rax, %r15
	movq	24(%rax), %r14
	testq	%r12, %r12
	je	LBB0_9
## %bb.1:
	cmpl	$130, %r13d
	je	LBB0_6
## %bb.2:
	cmpl	$129, %r13d
	je	LBB0_3
## %bb.4:
	cmpl	$128, %r13d
	jne	LBB0_13
## %bb.5:
	movq	_HCLGE_RSS_HASH_ALGO_SIMPLE@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_6:
	movq	%r15, %rax
	jmp	LBB0_7
LBB0_3:
	movq	_HCLGE_RSS_HASH_ALGO_TOEPLITZ@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %r13d
	movq	%r14, %rdi
	movl	%r13d, %esi
	movq	%r12, %rdx
	callq	_hclge_set_rss_algo_key
	testl	%eax, %eax
	jne	LBB0_14
## %bb.8:
	movl	16(%r15), %edi
	movq	_HCLGE_RSS_KEY_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rsi
	callq	_memcpy
	movl	%r13d, (%r15)
LBB0_9:
	movq	_HCLGE_RSS_IND_TBL_SIZE@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	movq	8(%r15), %rsi
	jle	LBB0_12
## %bb.10:
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rbx,%rcx,4), %edx
	movl	%edx, (%rsi,%rcx,4)
	incq	%rcx
	movslq	(%rax), %rdx
	cmpq	%rdx, %rcx
	jl	LBB0_11
LBB0_12:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_hclge_set_rss_indir_table      ## TAILCALL
LBB0_13:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_14:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HCLGE_RSS_HASH_ALGO_TOEPLITZ,4,2 ## @HCLGE_RSS_HASH_ALGO_TOEPLITZ
	.comm	_HCLGE_RSS_HASH_ALGO_SIMPLE,4,2 ## @HCLGE_RSS_HASH_ALGO_SIMPLE
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_HCLGE_RSS_KEY_SIZE,4,2         ## @HCLGE_RSS_KEY_SIZE
	.comm	_HCLGE_RSS_IND_TBL_SIZE,4,2     ## @HCLGE_RSS_IND_TBL_SIZE
	.no_dead_strip	_hclge_set_rss
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hclge_set_rss
_hclge_set_rss:                         ; @hclge_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	x23, x3
	mov	x22, x2
	mov	x19, x1
	bl	_hclge_get_vport
	mov	x21, x0
	ldr	x20, [x0, #24]
	cbz	x22, LBB0_9
; %bb.1:
	cmp	w23, #130
	b.eq	LBB0_5
; %bb.2:
	cmp	w23, #129
	b.eq	LBB0_6
; %bb.3:
	cmp	w23, #128
	b.ne	LBB0_13
; %bb.4:
Lloh0:
	adrp	x8, _HCLGE_RSS_HASH_ALGO_SIMPLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HCLGE_RSS_HASH_ALGO_SIMPLE@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:
	mov	x8, x21
	b	LBB0_7
LBB0_6:
Lloh2:
	adrp	x8, _HCLGE_RSS_HASH_ALGO_TOEPLITZ@GOTPAGE
Lloh3:
	ldr	x8, [x8, _HCLGE_RSS_HASH_ALGO_TOEPLITZ@GOTPAGEOFF]
LBB0_7:
	ldr	w23, [x8]
	mov	x0, x20
	mov	x1, x23
	mov	x2, x22
	bl	_hclge_set_rss_algo_key
	cbnz	w0, LBB0_14
; %bb.8:
	ldr	w0, [x21, #16]
Lloh4:
	adrp	x8, _HCLGE_RSS_KEY_SIZE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _HCLGE_RSS_KEY_SIZE@GOTPAGEOFF]
Lloh6:
	ldr	w2, [x8]
	mov	x1, x22
	bl	_memcpy
	str	w23, [x21]
LBB0_9:
Lloh7:
	adrp	x8, _HCLGE_RSS_IND_TBL_SIZE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _HCLGE_RSS_IND_TBL_SIZE@GOTPAGEOFF]
	ldr	w9, [x8]
	ldr	x1, [x21, #8]
	cmp	w9, #1
	b.lt	LBB0_12
; %bb.10:
	mov	x9, #0
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	lsl	x10, x9, #2
	ldr	w11, [x19, x10]
	str	w11, [x1, x10]
	add	x9, x9, #1
	ldrsw	x10, [x8]
	cmp	x9, x10
	b.lt	LBB0_11
LBB0_12:
	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	_hclge_set_rss_indir_table
LBB0_13:
Lloh9:
	adrp	x8, _EINVAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_14:
	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	_HCLGE_RSS_HASH_ALGO_TOEPLITZ,4,2 ; @HCLGE_RSS_HASH_ALGO_TOEPLITZ
	.comm	_HCLGE_RSS_HASH_ALGO_SIMPLE,4,2 ; @HCLGE_RSS_HASH_ALGO_SIMPLE
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_HCLGE_RSS_KEY_SIZE,4,2         ; @HCLGE_RSS_KEY_SIZE
	.comm	_HCLGE_RSS_IND_TBL_SIZE,4,2     ; @HCLGE_RSS_IND_TBL_SIZE
	.no_dead_strip	_hclge_set_rss
.subsections_via_symbols
