	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hclgevf_get_rss
_hclgevf_get_rss:                       ## @hclgevf_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	%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
	movq	%rcx, %r12
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r13
	callq	_hclgevf_ae_get_hdev
	movq	%rax, %r14
	movq	(%r13), %rax
	cmpl	$33, (%rax)
	jl	LBB0_9
## %bb.1:
	testq	%r12, %r12
	je	LBB0_8
## %bb.2:
	movl	(%r14), %ecx
	cmpl	$129, %ecx
	jne	LBB0_3
## %bb.4:
	movq	_ETH_RSS_HASH_XOR@GOTPCREL(%rip), %rax
	cmpl	$128, %ecx
	je	LBB0_6
	jmp	LBB0_7
LBB0_9:
	testq	%r12, %r12
	je	LBB0_11
## %bb.10:
	movq	_ETH_RSS_HASH_TOP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r12)
LBB0_11:
	testq	%r15, %r15
	je	LBB0_14
## %bb.12:
	movq	%r14, %rdi
	callq	_hclgevf_get_rss_hash_key
                                        ## kill: def $eax killed $eax def $rax
	testl	%eax, %eax
	jne	LBB0_18
	jmp	LBB0_13
LBB0_3:
	movq	_ETH_RSS_HASH_UNKNOWN@GOTPCREL(%rip), %rax
	cmpl	$128, %ecx
	jne	LBB0_7
LBB0_6:
	movq	_ETH_RSS_HASH_TOP@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
	movl	%eax, (%r12)
LBB0_8:
	testq	%r15, %r15
	je	LBB0_14
LBB0_13:
	movl	16(%r14), %esi
	movq	_HCLGEVF_RSS_KEY_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_memcpy
LBB0_14:
	xorl	%eax, %eax
	testq	%rbx, %rbx
	je	LBB0_18
## %bb.15:
	movq	_HCLGEVF_RSS_IND_TBL_SIZE@GOTPCREL(%rip), %rcx
	cmpl	$0, (%rcx)
	jle	LBB0_18
## %bb.16:
	movq	8(%r14), %rdx
	xorl	%eax, %eax
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rdx,%rsi,4), %edi
	movl	%edi, (%rbx,%rsi,4)
	incq	%rsi
	movslq	(%rcx), %rdi
	cmpq	%rdi, %rsi
	jl	LBB0_17
LBB0_18:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	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	_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_get_rss
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hclgevf_get_rss
_hclgevf_get_rss:                       ; @hclgevf_get_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
	ldr	x8, [x23]
	ldr	w8, [x8]
	cmp	w8, #33
	b.lt	LBB0_4
; %bb.1:
	cbz	x22, LBB0_3
; %bb.2:
	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_3:
	cbnz	x21, LBB0_8
	b	LBB0_9
LBB0_4:
	cbz	x22, LBB0_6
; %bb.5:
Lloh6:
	adrp	x8, _ETH_RSS_HASH_TOP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ETH_RSS_HASH_TOP@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x22]
LBB0_6:
	cbz	x21, LBB0_9
; %bb.7:
	mov	x0, x20
	bl	_hclgevf_get_rss_hash_key
	cbnz	w0, LBB0_14
LBB0_8:
	ldr	w1, [x20, #16]
Lloh9:
	adrp	x8, _HCLGEVF_RSS_KEY_SIZE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _HCLGEVF_RSS_KEY_SIZE@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	x0, x21
	bl	_memcpy
LBB0_9:
	mov	w0, #0
	cbz	x19, LBB0_14
; %bb.10:
Lloh12:
	adrp	x8, _HCLGEVF_RSS_IND_TBL_SIZE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _HCLGEVF_RSS_IND_TBL_SIZE@GOTPAGEOFF]
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_14
; %bb.11:
	mov	x9, #0
	ldr	x10, [x20, #8]
LBB0_12:                                ; =>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_12
; %bb.13:
	mov	w0, #0
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	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.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	_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_get_rss
.subsections_via_symbols
