	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hclgevf_set_rss_tc_mode
_hclgevf_set_rss_tc_mode:               ## @hclgevf_set_rss_tc_mode
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movl	%esi, %edi
	callq	_roundup_pow_of_two
	movl	%eax, %edi
	callq	_ilog2
	movq	_HCLGEVF_MAX_TC_NUM@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	je	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_BIT
	incq	%rbx
	movl	(%r15), %eax
	cmpq	%rax, %rbx
	jb	LBB0_2
LBB0_3:
	movq	_HCLGEVF_OPC_RSS_TC_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-32(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_hclgevf_cmd_setup_basic_desc
	leaq	16(%r14), %rdi
	movq	%rbx, %rsi
	movl	$1, %edx
	callq	_hclgevf_cmd_send
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	movq	8(%r14), %rdi
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edx
	callq	_dev_err
LBB0_5:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HCLGEVF_MAX_TC_NUM,4,2         ## @HCLGEVF_MAX_TC_NUM
	.comm	_HCLGEVF_OPC_RSS_TC_MODE,4,2    ## @HCLGEVF_OPC_RSS_TC_MODE
	.comm	_HCLGEVF_RSS_TC_VALID_B,4,2     ## @HCLGEVF_RSS_TC_VALID_B
	.comm	_HCLGEVF_RSS_TC_SIZE_M,4,2      ## @HCLGEVF_RSS_TC_SIZE_M
	.comm	_HCLGEVF_RSS_TC_SIZE_S,4,2      ## @HCLGEVF_RSS_TC_SIZE_S
	.comm	_HCLGEVF_RSS_TC_OFFSET_M,4,2    ## @HCLGEVF_RSS_TC_OFFSET_M
	.comm	_HCLGEVF_RSS_TC_OFFSET_S,4,2    ## @HCLGEVF_RSS_TC_OFFSET_S
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"VF failed(=%d) to set rss tc mode\n"

	.no_dead_strip	_hclgevf_set_rss_tc_mode
.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_tc_mode
_hclgevf_set_rss_tc_mode:               ; @hclgevf_set_rss_tc_mode
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x0
	mov	x0, x1
	bl	_roundup_pow_of_two
	bl	_ilog2
Lloh0:
	adrp	x21, _HCLGEVF_MAX_TC_NUM@GOTPAGE
Lloh1:
	ldr	x21, [x21, _HCLGEVF_MAX_TC_NUM@GOTPAGEOFF]
	ldr	w8, [x21]
	cbz	w8, LBB0_3
; %bb.1:
	mov	x20, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_BIT
	add	x20, x20, #1
	ldr	w8, [x21]
	cmp	x20, x8
	b.lo	LBB0_2
LBB0_3:
Lloh2:
	adrp	x8, _HCLGEVF_OPC_RSS_TC_MODE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _HCLGEVF_OPC_RSS_TC_MODE@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	add	x0, sp, #8
	mov	w2, #0
	bl	_hclgevf_cmd_setup_basic_desc
	add	x0, x19, #16
	add	x1, sp, #8
	mov	w2, #1
	bl	_hclgevf_cmd_send
	mov	x20, x0
	cbz	w0, LBB0_5
; %bb.4:
	ldr	x0, [x19, #8]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_dev_err
LBB0_5:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_HCLGEVF_MAX_TC_NUM,4,2         ; @HCLGEVF_MAX_TC_NUM
	.comm	_HCLGEVF_OPC_RSS_TC_MODE,4,2    ; @HCLGEVF_OPC_RSS_TC_MODE
	.comm	_HCLGEVF_RSS_TC_VALID_B,4,2     ; @HCLGEVF_RSS_TC_VALID_B
	.comm	_HCLGEVF_RSS_TC_SIZE_M,4,2      ; @HCLGEVF_RSS_TC_SIZE_M
	.comm	_HCLGEVF_RSS_TC_SIZE_S,4,2      ; @HCLGEVF_RSS_TC_SIZE_S
	.comm	_HCLGEVF_RSS_TC_OFFSET_M,4,2    ; @HCLGEVF_RSS_TC_OFFSET_M
	.comm	_HCLGEVF_RSS_TC_OFFSET_S,4,2    ; @HCLGEVF_RSS_TC_OFFSET_S
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"VF failed(=%d) to set rss tc mode\n"

	.no_dead_strip	_hclgevf_set_rss_tc_mode
.subsections_via_symbols
