	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hclge_tm_lvl34_schd_mode_cfg
_hclge_tm_lvl34_schd_mode_cfg:          ## @hclge_tm_lvl34_schd_mode_cfg
	.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
	movq	(%rdi), %rax
	movq	24(%rdi), %r13
	movq	_HCLGE_FLAG_TC_BASE_SCH_MODE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.6:
	cmpq	$0, 16(%r14)
	jle	LBB0_5
## %bb.7:
	xorl	%r15d, %r15d
	movq	_HCLGE_SCH_MODE_DWRR@GOTPCREL(%rip), %r12
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_8 Depth=1
	incq	%r15
	xorl	%eax, %eax
	cmpq	16(%r14), %r15
	jge	LBB0_14
LBB0_8:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_12 Depth 2
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_hclge_tm_pri_schd_mode_cfg
	testl	%eax, %eax
	jne	LBB0_14
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	cmpq	$0, 8(%r14)
	jle	LBB0_13
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_12:                                ##   Parent Loop BB0_8 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%r13,%rbx,8), %rsi
	addq	%r15, %rsi
	movl	(%r12), %edx
	movq	%r14, %rdi
	callq	_hclge_tm_qs_schd_mode_cfg
	testl	%eax, %eax
	jne	LBB0_14
## %bb.11:                              ##   in Loop: Header=BB0_12 Depth=2
	incq	%rbx
	cmpq	8(%r14), %rbx
	jl	LBB0_12
	jmp	LBB0_13
LBB0_1:
	cmpq	$0, 8(%r14)
	jle	LBB0_5
## %bb.2:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	callq	_hclge_tm_schd_mode_vnet_base_cfg
	testl	%eax, %eax
	jne	LBB0_14
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	addq	$8, %r13
	incq	%rbx
	cmpq	8(%r14), %rbx
	jl	LBB0_3
LBB0_5:
	xorl	%eax, %eax
LBB0_14:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HCLGE_FLAG_TC_BASE_SCH_MODE,8,3 ## @HCLGE_FLAG_TC_BASE_SCH_MODE
	.comm	_HCLGE_SCH_MODE_DWRR,4,2        ## @HCLGE_SCH_MODE_DWRR
	.no_dead_strip	_hclge_tm_lvl34_schd_mode_cfg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hclge_tm_lvl34_schd_mode_cfg
_hclge_tm_lvl34_schd_mode_cfg:          ; @hclge_tm_lvl34_schd_mode_cfg
	.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	x19, x0
	ldr	x20, [x0, #24]
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _HCLGE_FLAG_TC_BASE_SCH_MODE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _HCLGE_FLAG_TC_BASE_SCH_MODE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.1:
	ldr	x8, [x19, #16]
	cmp	x8, #1
	b.lt	LBB0_13
; %bb.2:
	mov	x21, #0
Lloh3:
	adrp	x22, _HCLGE_SCH_MODE_DWRR@GOTPAGE
Lloh4:
	ldr	x22, [x22, _HCLGE_SCH_MODE_DWRR@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w0, #0
	add	x21, x21, #1
	ldr	x8, [x19, #16]
	cmp	x21, x8
	b.ge	LBB0_14
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	mov	x0, x19
	mov	x1, x21
	bl	_hclge_tm_pri_schd_mode_cfg
	cbnz	w0, LBB0_14
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19, #8]
	cmp	x8, #1
	b.lt	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x23, #0
LBB0_7:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x20, x23, lsl #3]
	add	x1, x8, x21
	ldr	w2, [x22]
	mov	x0, x19
	bl	_hclge_tm_qs_schd_mode_cfg
	cbnz	w0, LBB0_14
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	add	x23, x23, #1
	ldr	x8, [x19, #8]
	cmp	x23, x8
	b.lt	LBB0_7
	b	LBB0_3
LBB0_9:
	ldr	x8, [x19, #8]
	cmp	x8, #1
	b.lt	LBB0_13
; %bb.10:
	mov	x21, #0
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_hclge_tm_schd_mode_vnet_base_cfg
	cbnz	w0, LBB0_14
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	add	x20, x20, #8
	add	x21, x21, #1
	ldr	x8, [x19, #8]
	cmp	x21, x8
	b.lt	LBB0_11
LBB0_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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_HCLGE_FLAG_TC_BASE_SCH_MODE,8,3 ; @HCLGE_FLAG_TC_BASE_SCH_MODE
	.comm	_HCLGE_SCH_MODE_DWRR,4,2        ; @HCLGE_SCH_MODE_DWRR
	.no_dead_strip	_hclge_tm_lvl34_schd_mode_cfg
.subsections_via_symbols
