	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hclge_tm_tc_info_init
_hclge_tm_tc_info_init:                 ## @hclge_tm_tc_info_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	8(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	32(%rdi), %rdx
	movq	40(%rdi), %rcx
	movl	(%rdx), %r9d
	addq	$24, %rcx
	xorl	%esi, %esi
	movq	_HCLGE_SCH_MODE_DWRR@GOTPCREL(%rip), %r8
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rsi, -24(%rcx)
	movl	(%r8), %edx
	movl	%edx, (%rcx)
	movq	$0, -8(%rcx)
	movl	%r9d, -16(%rcx)
	incq	%rsi
	addq	$32, %rcx
	cmpq	%rsi, %rax
	jne	LBB0_2
LBB0_3:
	movq	_HNAE3_MAX_USER_PRIO@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_6
## %bb.4:
	movq	16(%rdi), %rdx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rax, %rsi
	movl	$0, %eax
	cmovbq	%rsi, %rax
	movq	%rax, (%rdx,%rsi,8)
	incq	%rsi
	movq	8(%rdi), %rax
	cmpq	(%rcx), %rsi
	jb	LBB0_5
LBB0_6:
	cmpq	$1, %rax
	ja	LBB0_8
## %bb.7:
	cmpq	$0, 24(%rdi)
	je	LBB0_9
LBB0_8:
	movq	_HCLGE_FLAG_DCB_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rdi)
	popq	%rbp
	retq
LBB0_9:
	movq	_HCLGE_FLAG_DCB_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, (%rdi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HCLGE_SCH_MODE_DWRR,4,2        ## @HCLGE_SCH_MODE_DWRR
	.comm	_HNAE3_MAX_USER_PRIO,8,3        ## @HNAE3_MAX_USER_PRIO
	.comm	_HCLGE_FLAG_DCB_ENABLE,4,2      ## @HCLGE_FLAG_DCB_ENABLE
	.no_dead_strip	_hclge_tm_tc_info_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hclge_tm_tc_info_init
_hclge_tm_tc_info_init:                 ; @hclge_tm_tc_info_init
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_3
; %bb.1:
	mov	x9, #0
	ldp	x10, x11, [x0, #32]
	ldr	w10, [x10]
	add	x11, x11, #16
Lloh0:
	adrp	x12, _HCLGE_SCH_MODE_DWRR@GOTPAGE
Lloh1:
	ldr	x12, [x12, _HCLGE_SCH_MODE_DWRR@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	stur	x9, [x11, #-16]
	ldr	w13, [x12]
	str	w13, [x11, #8]
	str	xzr, [x11]
	stur	w10, [x11, #-8]
	add	x9, x9, #1
	add	x11, x11, #32
	cmp	x8, x9
	b.ne	LBB0_2
LBB0_3:
Lloh2:
	adrp	x9, _HNAE3_MAX_USER_PRIO@GOTPAGE
Lloh3:
	ldr	x9, [x9, _HNAE3_MAX_USER_PRIO@GOTPAGEOFF]
	ldr	x10, [x9]
	cbz	x10, LBB0_6
; %bb.4:
	mov	x10, #0
	ldr	x11, [x0, #16]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x10, x8
	csel	x8, x10, xzr, lo
	str	x8, [x11, x10, lsl #3]
	add	x10, x10, #1
	ldr	x12, [x9]
	ldr	x8, [x0, #8]
	cmp	x10, x12
	b.lo	LBB0_5
LBB0_6:
	cmp	x8, #1
	b.hi	LBB0_8
; %bb.7:
	ldr	x8, [x0, #24]
	cbz	x8, LBB0_9
LBB0_8:
Lloh4:
	adrp	x8, _HCLGE_FLAG_DCB_ENABLE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _HCLGE_FLAG_DCB_ENABLE@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	ldr	w9, [x0]
	orr	w8, w9, w8
	str	w8, [x0]
	ret
LBB0_9:
Lloh7:
	adrp	x8, _HCLGE_FLAG_DCB_ENABLE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _HCLGE_FLAG_DCB_ENABLE@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	ldr	w9, [x0]
	bic	w8, w9, w8
	str	w8, [x0]
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_HCLGE_SCH_MODE_DWRR,4,2        ; @HCLGE_SCH_MODE_DWRR
	.comm	_HNAE3_MAX_USER_PRIO,8,3        ; @HNAE3_MAX_USER_PRIO
	.comm	_HCLGE_FLAG_DCB_ENABLE,4,2      ; @HCLGE_FLAG_DCB_ENABLE
	.no_dead_strip	_hclge_tm_tc_info_init
.subsections_via_symbols
