	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hclge_dbg_dump_tc
_hclge_dbg_dump_tc:                     ## @hclge_dbg_dump_tc
	.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	%rdi, %r14
	callq	_hnae3_dev_dcb_supported
	testl	%eax, %eax
	je	LBB0_7
## %bb.1:
	movq	_HCLGE_OPC_ETS_TC_WEIGHT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-48(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$1, %edx
	callq	_hclge_cmd_setup_basic_desc
	leaq	8(%r14), %rdi
	movq	%rbx, %rsi
	movl	$1, %edx
	callq	_hclge_cmd_send
	testl	%eax, %eax
	je	LBB0_3
## %bb.2:
	movq	(%r14), %rdi
	leaq	L_.str.1(%rip), %rsi
	movl	%eax, %edx
	callq	_dev_err
	jmp	LBB0_6
LBB0_7:
	movq	(%r14), %rdi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dev_info                       ## TAILCALL
LBB0_3:
	movq	-48(%rbp), %r15
	movq	(%r14), %rdi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_info
	movq	(%r14), %rdi
	movl	8(%r15), %edx
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_info
	movq	_HNAE3_MAX_TC@GOTPCREL(%rip), %r12
	cmpl	$0, (%r12)
	jle	LBB0_6
## %bb.4:
	xorl	%ebx, %ebx
	leaq	L_.str.6(%rip), %r13
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	movl	(%rax,%rbx,4), %esi
	movq	%r14, %rdi
	movl	%ebx, %edx
	leaq	L_.str.4(%rip), %rcx
	leaq	L_.str.5(%rip), %r8
	movq	%r13, %r9
	callq	_hclge_title_idx_print
	incq	%rbx
	movslq	(%r12), %rax
	cmpq	%rax, %rbx
	jl	LBB0_5
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Only DCB-supported dev supports tc\n"

	.comm	_HCLGE_OPC_ETS_TC_WEIGHT,4,2    ## @HCLGE_OPC_ETS_TC_WEIGHT
L_.str.1:                               ## @.str.1
	.asciz	"dump tc fail, ret = %d\n"

L_.str.2:                               ## @.str.2
	.asciz	"dump tc\n"

L_.str.3:                               ## @.str.3
	.asciz	"weight_offset: %u\n"

	.comm	_HNAE3_MAX_TC,4,2               ## @HNAE3_MAX_TC
L_.str.4:                               ## @.str.4
	.asciz	"tc"

L_.str.5:                               ## @.str.5
	.asciz	"no sp mode"

L_.str.6:                               ## @.str.6
	.asciz	"sp mode"

	.no_dead_strip	_hclge_dbg_dump_tc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hclge_dbg_dump_tc
_hclge_dbg_dump_tc:                     ; @hclge_dbg_dump_tc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
	bl	_hnae3_dev_dcb_supported
	cbz	w0, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _HCLGE_OPC_ETS_TC_WEIGHT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HCLGE_OPC_ETS_TC_WEIGHT@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x0, sp, #8
	mov	w2, #1
	bl	_hclge_cmd_setup_basic_desc
	add	x0, x19, #8
	add	x1, sp, #8
	mov	w2, #1
	bl	_hclge_cmd_send
	cbz	w0, LBB0_4
; %bb.2:
	mov	x2, x0
	ldr	x0, [x19]
Lloh3:
	adrp	x1, l_.str.1@PAGE
Lloh4:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_err
	b	LBB0_7
LBB0_3:
	ldr	x0, [x19]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_dev_info
LBB0_4:
	ldr	x24, [sp, #8]
	ldr	x0, [x19]
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_dev_info
	ldr	x0, [x19]
	ldr	w8, [x24, #8]
	str	x8, [sp]
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_dev_info
Lloh11:
	adrp	x25, _HNAE3_MAX_TC@GOTPAGE
Lloh12:
	ldr	x25, [x25, _HNAE3_MAX_TC@GOTPAGEOFF]
	ldr	w8, [x25]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.5:
	mov	x20, #0
Lloh13:
	adrp	x21, l_.str.4@PAGE
Lloh14:
	add	x21, x21, l_.str.4@PAGEOFF
Lloh15:
	adrp	x22, l_.str.5@PAGE
Lloh16:
	add	x22, x22, l_.str.5@PAGEOFF
Lloh17:
	adrp	x23, l_.str.6@PAGE
Lloh18:
	add	x23, x23, l_.str.6@PAGEOFF
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x24]
	ldr	w1, [x8, x20, lsl #2]
	mov	x0, x19
	mov	x2, x20
	mov	x3, x21
	mov	x4, x22
	mov	x5, x23
	bl	_hclge_title_idx_print
	add	x20, x20, #1
	ldrsw	x8, [x25]
	cmp	x20, x8
	b.lt	LBB0_6
LBB0_7:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Only DCB-supported dev supports tc\n"

	.comm	_HCLGE_OPC_ETS_TC_WEIGHT,4,2    ; @HCLGE_OPC_ETS_TC_WEIGHT
l_.str.1:                               ; @.str.1
	.asciz	"dump tc fail, ret = %d\n"

l_.str.2:                               ; @.str.2
	.asciz	"dump tc\n"

l_.str.3:                               ; @.str.3
	.asciz	"weight_offset: %u\n"

	.comm	_HNAE3_MAX_TC,4,2               ; @HNAE3_MAX_TC
l_.str.4:                               ; @.str.4
	.asciz	"tc"

l_.str.5:                               ; @.str.5
	.asciz	"no sp mode"

l_.str.6:                               ; @.str.6
	.asciz	"sp mode"

	.no_dead_strip	_hclge_dbg_dump_tc
.subsections_via_symbols
