	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hclge_dbg_dump_tm_pg
_hclge_dbg_dump_tm_pg:                  ## @hclge_dbg_dump_tm_pg
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	_HCLGE_OPC_TM_PG_C_SHAPPING@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	leaq	-40(%rbp), %rbx
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	$1, %edx
	callq	_hclge_cmd_setup_basic_desc
	leaq	8(%r15), %r14
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	$1, %edx
	callq	_hclge_cmd_send
	testl	%eax, %eax
	jne	LBB0_10
## %bb.1:
	movq	-40(%rbp), %rbx
	movq	(%r15), %rdi
	movl	4(%rbx), %edx
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_info
	movq	(%r15), %rdi
	movl	(%rbx), %edx
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_info
	movq	_HCLGE_OPC_TM_PG_P_SHAPPING@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	leaq	-40(%rbp), %rbx
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	$1, %edx
	callq	_hclge_cmd_setup_basic_desc
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	$1, %edx
	callq	_hclge_cmd_send
	testl	%eax, %eax
	jne	LBB0_10
## %bb.2:
	movq	-40(%rbp), %rbx
	movq	(%r15), %rdi
	movl	4(%rbx), %edx
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_info
	movq	(%r15), %rdi
	movl	(%rbx), %edx
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_info
	movq	_HCLGE_OPC_TM_PORT_SHAPPING@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	leaq	-40(%rbp), %rbx
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	$1, %edx
	callq	_hclge_cmd_setup_basic_desc
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	$1, %edx
	callq	_hclge_cmd_send
	testl	%eax, %eax
	jne	LBB0_10
## %bb.3:
	movq	-40(%rbp), %rax
	movq	(%r15), %rdi
	movl	(%rax), %edx
	leaq	L_.str.4(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_info
	movq	_HCLGE_OPC_TM_PG_SCH_MODE_CFG@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	leaq	-40(%rbp), %rbx
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	$1, %edx
	callq	_hclge_cmd_setup_basic_desc
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	$1, %edx
	callq	_hclge_cmd_send
	testl	%eax, %eax
	jne	LBB0_10
## %bb.4:
	movq	(%r15), %rdi
	movq	-40(%rbp), %rax
	movl	(%rax), %edx
	leaq	L_.str.5(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_info
	movq	_HCLGE_OPC_TM_PRI_SCH_MODE_CFG@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	leaq	-40(%rbp), %rbx
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	$1, %edx
	callq	_hclge_cmd_setup_basic_desc
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	$1, %edx
	callq	_hclge_cmd_send
	testl	%eax, %eax
	jne	LBB0_10
## %bb.5:
	movq	(%r15), %rdi
	movq	-40(%rbp), %rax
	movl	(%rax), %edx
	leaq	L_.str.6(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_info
	movq	_HCLGE_OPC_TM_QS_SCH_MODE_CFG@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	leaq	-40(%rbp), %rbx
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	$1, %edx
	callq	_hclge_cmd_setup_basic_desc
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	$1, %edx
	callq	_hclge_cmd_send
	testl	%eax, %eax
	je	LBB0_6
LBB0_10:
	movq	(%r15), %rdi
	leaq	L_.str.12(%rip), %rsi
	movl	%r12d, %edx
	movl	%eax, %ecx
	callq	_dev_err
LBB0_11:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	(%r15), %rdi
	movq	-40(%rbp), %rax
	movl	(%rax), %edx
	leaq	L_.str.7(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_info
	movq	%r15, %rdi
	callq	_hnae3_dev_dcb_supported
	testl	%eax, %eax
	je	LBB0_7
## %bb.8:
	movq	_HCLGE_OPC_TM_BP_TO_QSET_MAPPING@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	leaq	-40(%rbp), %rbx
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	$1, %edx
	callq	_hclge_cmd_setup_basic_desc
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	$1, %edx
	callq	_hclge_cmd_send
	testl	%eax, %eax
	jne	LBB0_10
## %bb.9:
	movq	-40(%rbp), %rbx
	movq	(%r15), %rdi
	movl	8(%rbx), %edx
	leaq	L_.str.9(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_info
	movq	(%r15), %rdi
	movl	4(%rbx), %edx
	leaq	L_.str.10(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_info
	movq	(%r15), %rdi
	movl	(%rbx), %edx
	leaq	L_.str.11(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_info
	jmp	LBB0_11
LBB0_7:
	movq	(%r15), %rdi
	leaq	L_.str.8(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_info
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_HCLGE_OPC_TM_PG_C_SHAPPING,4,2 ## @HCLGE_OPC_TM_PG_C_SHAPPING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PG_C pg_id: %u\n"

L_.str.1:                               ## @.str.1
	.asciz	"PG_C pg_shapping: 0x%x\n"

	.comm	_HCLGE_OPC_TM_PG_P_SHAPPING,4,2 ## @HCLGE_OPC_TM_PG_P_SHAPPING
L_.str.2:                               ## @.str.2
	.asciz	"PG_P pg_id: %u\n"

L_.str.3:                               ## @.str.3
	.asciz	"PG_P pg_shapping: 0x%x\n"

	.comm	_HCLGE_OPC_TM_PORT_SHAPPING,4,2 ## @HCLGE_OPC_TM_PORT_SHAPPING
L_.str.4:                               ## @.str.4
	.asciz	"PORT port_shapping: 0x%x\n"

	.comm	_HCLGE_OPC_TM_PG_SCH_MODE_CFG,4,2 ## @HCLGE_OPC_TM_PG_SCH_MODE_CFG
L_.str.5:                               ## @.str.5
	.asciz	"PG_SCH pg_id: %u\n"

	.comm	_HCLGE_OPC_TM_PRI_SCH_MODE_CFG,4,2 ## @HCLGE_OPC_TM_PRI_SCH_MODE_CFG
L_.str.6:                               ## @.str.6
	.asciz	"PRI_SCH pri_id: %u\n"

	.comm	_HCLGE_OPC_TM_QS_SCH_MODE_CFG,4,2 ## @HCLGE_OPC_TM_QS_SCH_MODE_CFG
L_.str.7:                               ## @.str.7
	.asciz	"QS_SCH qs_id: %u\n"

L_.str.8:                               ## @.str.8
	.asciz	"Only DCB-supported dev supports tm mapping\n"

	.comm	_HCLGE_OPC_TM_BP_TO_QSET_MAPPING,4,2 ## @HCLGE_OPC_TM_BP_TO_QSET_MAPPING
L_.str.9:                               ## @.str.9
	.asciz	"BP_TO_QSET tc_id: %u\n"

L_.str.10:                              ## @.str.10
	.asciz	"BP_TO_QSET qs_group_id: 0x%x\n"

L_.str.11:                              ## @.str.11
	.asciz	"BP_TO_QSET qs_bit_map: 0x%x\n"

L_.str.12:                              ## @.str.12
	.asciz	"dump tm_pg fail(0x%x), ret = %d\n"

	.no_dead_strip	_hclge_dbg_dump_tm_pg
.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_tm_pg
_hclge_dbg_dump_tm_pg:                  ; @hclge_dbg_dump_tm_pg
	.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
Lloh0:
	adrp	x8, _HCLGE_OPC_TM_PG_C_SHAPPING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HCLGE_OPC_TM_PG_C_SHAPPING@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
	add	x0, sp, #8
	mov	x1, x21
	mov	w2, #1
	bl	_hclge_cmd_setup_basic_desc
	add	x20, x19, #8
	add	x1, sp, #8
	mov	x0, x20
	mov	w2, #1
	bl	_hclge_cmd_send
	cbnz	w0, LBB0_6
; %bb.1:
	ldr	x21, [sp, #8]
	ldr	x0, [x19]
	ldr	w8, [x21, #4]
	str	x8, [sp]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_info
	ldr	x0, [x19]
	ldr	w8, [x21]
	str	x8, [sp]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_info
Lloh7:
	adrp	x8, _HCLGE_OPC_TM_PG_P_SHAPPING@GOTPAGE
Lloh8:
	ldr	x8, [x8, _HCLGE_OPC_TM_PG_P_SHAPPING@GOTPAGEOFF]
Lloh9:
	ldr	w21, [x8]
	add	x0, sp, #8
	mov	x1, x21
	mov	w2, #1
	bl	_hclge_cmd_setup_basic_desc
	add	x1, sp, #8
	mov	x0, x20
	mov	w2, #1
	bl	_hclge_cmd_send
	cbnz	w0, LBB0_6
; %bb.2:
	ldr	x21, [sp, #8]
	ldr	x0, [x19]
	ldr	w8, [x21, #4]
	str	x8, [sp]
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_dev_info
	ldr	x0, [x19]
	ldr	w8, [x21]
	str	x8, [sp]
Lloh12:
	adrp	x1, l_.str.3@PAGE
Lloh13:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_dev_info
Lloh14:
	adrp	x8, _HCLGE_OPC_TM_PORT_SHAPPING@GOTPAGE
Lloh15:
	ldr	x8, [x8, _HCLGE_OPC_TM_PORT_SHAPPING@GOTPAGEOFF]
Lloh16:
	ldr	w21, [x8]
	add	x0, sp, #8
	mov	x1, x21
	mov	w2, #1
	bl	_hclge_cmd_setup_basic_desc
	add	x1, sp, #8
	mov	x0, x20
	mov	w2, #1
	bl	_hclge_cmd_send
	cbnz	w0, LBB0_6
; %bb.3:
	ldr	x8, [sp, #8]
	ldr	x0, [x19]
	ldr	w8, [x8]
	str	x8, [sp]
Lloh17:
	adrp	x1, l_.str.4@PAGE
Lloh18:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_dev_info
Lloh19:
	adrp	x8, _HCLGE_OPC_TM_PG_SCH_MODE_CFG@GOTPAGE
Lloh20:
	ldr	x8, [x8, _HCLGE_OPC_TM_PG_SCH_MODE_CFG@GOTPAGEOFF]
Lloh21:
	ldr	w21, [x8]
	add	x0, sp, #8
	mov	x1, x21
	mov	w2, #1
	bl	_hclge_cmd_setup_basic_desc
	add	x1, sp, #8
	mov	x0, x20
	mov	w2, #1
	bl	_hclge_cmd_send
	cbnz	w0, LBB0_6
; %bb.4:
	ldr	x0, [x19]
	ldr	x8, [sp, #8]
	ldr	w8, [x8]
	str	x8, [sp]
Lloh22:
	adrp	x1, l_.str.5@PAGE
Lloh23:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_dev_info
Lloh24:
	adrp	x8, _HCLGE_OPC_TM_PRI_SCH_MODE_CFG@GOTPAGE
Lloh25:
	ldr	x8, [x8, _HCLGE_OPC_TM_PRI_SCH_MODE_CFG@GOTPAGEOFF]
Lloh26:
	ldr	w21, [x8]
	add	x0, sp, #8
	mov	x1, x21
	mov	w2, #1
	bl	_hclge_cmd_setup_basic_desc
	add	x1, sp, #8
	mov	x0, x20
	mov	w2, #1
	bl	_hclge_cmd_send
	cbnz	w0, LBB0_6
; %bb.5:
	ldr	x0, [x19]
	ldr	x8, [sp, #8]
	ldr	w8, [x8]
	str	x8, [sp]
Lloh27:
	adrp	x1, l_.str.6@PAGE
Lloh28:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_dev_info
Lloh29:
	adrp	x8, _HCLGE_OPC_TM_QS_SCH_MODE_CFG@GOTPAGE
Lloh30:
	ldr	x8, [x8, _HCLGE_OPC_TM_QS_SCH_MODE_CFG@GOTPAGEOFF]
Lloh31:
	ldr	w21, [x8]
	add	x0, sp, #8
	mov	x1, x21
	mov	w2, #1
	bl	_hclge_cmd_setup_basic_desc
	add	x1, sp, #8
	mov	x0, x20
	mov	w2, #1
	bl	_hclge_cmd_send
	cbz	w0, LBB0_8
LBB0_6:
	mov	x3, x0
	ldr	x0, [x19]
Lloh32:
	adrp	x1, l_.str.12@PAGE
Lloh33:
	add	x1, x1, l_.str.12@PAGEOFF
	mov	x2, x21
	bl	_dev_err
LBB0_7:
	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
LBB0_8:
	ldr	x0, [x19]
	ldr	x8, [sp, #8]
	ldr	w8, [x8]
	str	x8, [sp]
Lloh34:
	adrp	x1, l_.str.7@PAGE
Lloh35:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_dev_info
	mov	x0, x19
	bl	_hnae3_dev_dcb_supported
	cbz	w0, LBB0_11
; %bb.9:
Lloh36:
	adrp	x8, _HCLGE_OPC_TM_BP_TO_QSET_MAPPING@GOTPAGE
Lloh37:
	ldr	x8, [x8, _HCLGE_OPC_TM_BP_TO_QSET_MAPPING@GOTPAGEOFF]
Lloh38:
	ldr	w21, [x8]
	add	x0, sp, #8
	mov	x1, x21
	mov	w2, #1
	bl	_hclge_cmd_setup_basic_desc
	add	x1, sp, #8
	mov	x0, x20
	mov	w2, #1
	bl	_hclge_cmd_send
	cbnz	w0, LBB0_6
; %bb.10:
	ldr	x20, [sp, #8]
	ldr	x0, [x19]
	ldr	w8, [x20, #8]
	str	x8, [sp]
Lloh39:
	adrp	x1, l_.str.9@PAGE
Lloh40:
	add	x1, x1, l_.str.9@PAGEOFF
	bl	_dev_info
	ldr	x0, [x19]
	ldr	w8, [x20, #4]
	str	x8, [sp]
Lloh41:
	adrp	x1, l_.str.10@PAGE
Lloh42:
	add	x1, x1, l_.str.10@PAGEOFF
	bl	_dev_info
	ldr	x0, [x19]
	ldr	w8, [x20]
	str	x8, [sp]
Lloh43:
	adrp	x1, l_.str.11@PAGE
Lloh44:
	add	x1, x1, l_.str.11@PAGEOFF
	bl	_dev_info
	b	LBB0_7
LBB0_11:
	ldr	x0, [x19]
Lloh45:
	adrp	x1, l_.str.8@PAGE
Lloh46:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_dev_info
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh45, Lloh46
	.cfi_endproc
                                        ; -- End function
	.comm	_HCLGE_OPC_TM_PG_C_SHAPPING,4,2 ; @HCLGE_OPC_TM_PG_C_SHAPPING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PG_C pg_id: %u\n"

l_.str.1:                               ; @.str.1
	.asciz	"PG_C pg_shapping: 0x%x\n"

	.comm	_HCLGE_OPC_TM_PG_P_SHAPPING,4,2 ; @HCLGE_OPC_TM_PG_P_SHAPPING
l_.str.2:                               ; @.str.2
	.asciz	"PG_P pg_id: %u\n"

l_.str.3:                               ; @.str.3
	.asciz	"PG_P pg_shapping: 0x%x\n"

	.comm	_HCLGE_OPC_TM_PORT_SHAPPING,4,2 ; @HCLGE_OPC_TM_PORT_SHAPPING
l_.str.4:                               ; @.str.4
	.asciz	"PORT port_shapping: 0x%x\n"

	.comm	_HCLGE_OPC_TM_PG_SCH_MODE_CFG,4,2 ; @HCLGE_OPC_TM_PG_SCH_MODE_CFG
l_.str.5:                               ; @.str.5
	.asciz	"PG_SCH pg_id: %u\n"

	.comm	_HCLGE_OPC_TM_PRI_SCH_MODE_CFG,4,2 ; @HCLGE_OPC_TM_PRI_SCH_MODE_CFG
l_.str.6:                               ; @.str.6
	.asciz	"PRI_SCH pri_id: %u\n"

	.comm	_HCLGE_OPC_TM_QS_SCH_MODE_CFG,4,2 ; @HCLGE_OPC_TM_QS_SCH_MODE_CFG
l_.str.7:                               ; @.str.7
	.asciz	"QS_SCH qs_id: %u\n"

l_.str.8:                               ; @.str.8
	.asciz	"Only DCB-supported dev supports tm mapping\n"

	.comm	_HCLGE_OPC_TM_BP_TO_QSET_MAPPING,4,2 ; @HCLGE_OPC_TM_BP_TO_QSET_MAPPING
l_.str.9:                               ; @.str.9
	.asciz	"BP_TO_QSET tc_id: %u\n"

l_.str.10:                              ; @.str.10
	.asciz	"BP_TO_QSET qs_group_id: 0x%x\n"

l_.str.11:                              ; @.str.11
	.asciz	"BP_TO_QSET qs_bit_map: 0x%x\n"

l_.str.12:                              ; @.str.12
	.asciz	"dump tm_pg fail(0x%x), ret = %d\n"

	.no_dead_strip	_hclge_dbg_dump_tm_pg
.subsections_via_symbols
