	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hclge_get_rss
_hclge_get_rss:                         ## @hclge_get_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r12
	movq	%rdx, %r15
	movq	%rsi, %rbx
	callq	_hclge_get_vport
	movq	%rax, %r14
	testq	%r12, %r12
	je	LBB0_7
## %bb.1:
	movl	(%r14), %ecx
	cmpl	$129, %ecx
	jne	LBB0_2
## %bb.3:
	movq	_ETH_RSS_HASH_XOR@GOTPCREL(%rip), %rax
	cmpl	$128, %ecx
	je	LBB0_5
	jmp	LBB0_6
LBB0_2:
	movq	_ETH_RSS_HASH_UNKNOWN@GOTPCREL(%rip), %rax
	cmpl	$128, %ecx
	jne	LBB0_6
LBB0_5:
	movq	_ETH_RSS_HASH_TOP@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %eax
	movl	%eax, (%r12)
LBB0_7:
	testq	%r15, %r15
	je	LBB0_9
## %bb.8:
	movl	16(%r14), %esi
	movq	_HCLGE_RSS_KEY_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_memcpy
LBB0_9:
	testq	%rbx, %rbx
	je	LBB0_13
## %bb.10:
	movq	_HCLGE_RSS_IND_TBL_SIZE@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_13
## %bb.11:
	movq	8(%r14), %rcx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rcx,%rdx,4), %esi
	movl	%esi, (%rbx,%rdx,4)
	incq	%rdx
	movslq	(%rax), %rsi
	cmpq	%rsi, %rdx
	jl	LBB0_12
LBB0_13:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_RSS_HASH_TOP,4,2           ## @ETH_RSS_HASH_TOP
	.comm	_ETH_RSS_HASH_XOR,4,2           ## @ETH_RSS_HASH_XOR
	.comm	_ETH_RSS_HASH_UNKNOWN,4,2       ## @ETH_RSS_HASH_UNKNOWN
	.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_get_rss
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hclge_get_rss
_hclge_get_rss:                         ; @hclge_get_rss
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x22, x3
	mov	x21, x2
	mov	x19, x1
	bl	_hclge_get_vport
	mov	x20, x0
	cbz	x22, LBB0_2
; %bb.1:
	ldr	w8, [x20]
Lloh0:
	adrp	x9, _ETH_RSS_HASH_TOP@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ETH_RSS_HASH_TOP@GOTPAGEOFF]
Lloh2:
	adrp	x10, _ETH_RSS_HASH_XOR@GOTPAGE
Lloh3:
	ldr	x10, [x10, _ETH_RSS_HASH_XOR@GOTPAGEOFF]
Lloh4:
	adrp	x11, _ETH_RSS_HASH_UNKNOWN@GOTPAGE
Lloh5:
	ldr	x11, [x11, _ETH_RSS_HASH_UNKNOWN@GOTPAGEOFF]
	cmp	w8, #129
	csel	x10, x10, x11, eq
	cmp	w8, #128
	csel	x8, x9, x10, eq
	ldr	w8, [x8]
	str	w8, [x22]
LBB0_2:
	cbz	x21, LBB0_4
; %bb.3:
	ldr	w1, [x20, #16]
Lloh6:
	adrp	x8, _HCLGE_RSS_KEY_SIZE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _HCLGE_RSS_KEY_SIZE@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x0, x21
	bl	_memcpy
LBB0_4:
	cbz	x19, LBB0_8
; %bb.5:
Lloh9:
	adrp	x8, _HCLGE_RSS_IND_TBL_SIZE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _HCLGE_RSS_IND_TBL_SIZE@GOTPAGEOFF]
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_8
; %bb.6:
	mov	x9, #0
	ldr	x10, [x20, #8]
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	lsl	x11, x9, #2
	ldr	w12, [x10, x11]
	str	w12, [x19, x11]
	add	x9, x9, #1
	ldrsw	x11, [x8]
	cmp	x9, x11
	b.lt	LBB0_7
LBB0_8:
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_RSS_HASH_TOP,4,2           ; @ETH_RSS_HASH_TOP
	.comm	_ETH_RSS_HASH_XOR,4,2           ; @ETH_RSS_HASH_XOR
	.comm	_ETH_RSS_HASH_UNKNOWN,4,2       ; @ETH_RSS_HASH_UNKNOWN
	.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_get_rss
.subsections_via_symbols
