	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hclge_tm_pg_info_init
_hclge_tm_pg_info_init:                 ## @hclge_tm_pg_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
	pushq	%rbx
	.cfi_offset %rbx, -24
	movq	(%rdi), %r11
	testq	%r11, %r11
	je	LBB0_12
## %bb.1:
	xorl	%ecx, %ecx
	movl	$100, %r8d
	movq	_HCLGE_SCH_MODE_DWRR@GOTPCREL(%rip), %r9
	movq	_HCLGE_ETHER_MAX_RATE@GOTPCREL(%rip), %r10
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%rcx
	cmpq	%r11, %rcx
	je	LBB0_12
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
                                        ##     Child Loop BB0_10 Depth 2
	movq	%rcx, %rdx
	shlq	$5, %rdx
	movl	$0, %eax
	testq	%rcx, %rcx
	cmoveq	%r8, %rax
	movq	24(%rdi), %rsi
	movq	%rax, (%rsi,%rcx,8)
	movq	16(%rdi), %rax
	movq	%rcx, (%rax,%rdx)
	movl	(%r9), %esi
	movl	%esi, 24(%rax,%rdx)
	movl	(%r10), %esi
	movl	%esi, 20(%rax,%rdx)
	jne	LBB0_11
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	32(%rdi), %edx
	movl	%edx, 16(%rax)
	movl	8(%rdi), %ebx
	testl	%ebx, %ebx
	jle	LBB0_11
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rax), %rax
	movq	$100, (%rax)
	cmpl	$1, %ebx
	je	LBB0_11
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	-1(%rbx), %rax
	addq	$-2, %rbx
	movl	%eax, %esi
	andl	$3, %esi
	movl	$1, %edx
	cmpq	$3, %rbx
	jb	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	andq	$-4, %rax
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	16(%rdi), %rbx
	movq	8(%rbx), %rbx
	movq	$100, 8(%rbx,%rdx,8)
	movq	16(%rdi), %rbx
	movq	8(%rbx), %rbx
	movq	$100, 16(%rbx,%rdx,8)
	movq	16(%rdi), %rbx
	movq	8(%rbx), %rbx
	movq	$100, 24(%rbx,%rdx,8)
	movq	16(%rdi), %rbx
	movq	8(%rbx), %rbx
	movq	$100, 32(%rbx,%rdx,8)
	addq	$4, %rdx
	cmpq	%rdx, %rax
	jne	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%rdx
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	testq	%rsi, %rsi
	je	LBB0_11
	.p2align	4, 0x90
LBB0_10:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	16(%rdi), %rax
	movq	8(%rax), %rax
	movq	$100, (%rax,%rdx,8)
	incq	%rdx
	decq	%rsi
	jne	LBB0_10
	jmp	LBB0_11
LBB0_12:
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HCLGE_SCH_MODE_DWRR,4,2        ## @HCLGE_SCH_MODE_DWRR
	.comm	_HCLGE_ETHER_MAX_RATE,4,2       ## @HCLGE_ETHER_MAX_RATE
	.comm	_BW_PERCENT,8,3                 ## @BW_PERCENT
	.no_dead_strip	_hclge_tm_pg_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_pg_info_init
_hclge_tm_pg_info_init:                 ; @hclge_tm_pg_info_init
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	cbz	x8, LBB0_8
; %bb.1:
	mov	x9, #0
	mov	w10, #100
Lloh0:
	adrp	x11, _HCLGE_SCH_MODE_DWRR@GOTPAGE
Lloh1:
	ldr	x11, [x11, _HCLGE_SCH_MODE_DWRR@GOTPAGEOFF]
Lloh2:
	adrp	x12, _HCLGE_ETHER_MAX_RATE@GOTPAGE
Lloh3:
	ldr	x12, [x12, _HCLGE_ETHER_MAX_RATE@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x9, x9, #1
	cmp	x9, x8
	b.eq	LBB0_8
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	cmp	x9, #0
	csel	x13, x10, xzr, eq
	ldr	x14, [x0, #24]
	str	x13, [x14, x9, lsl #3]
	ldr	x14, [x0, #16]
	add	x13, x14, x9, lsl #5
	str	x9, [x13]
	ldr	w15, [x11]
	str	w15, [x13, #24]
	ldr	w15, [x12]
	str	w15, [x13, #20]
	cbnz	x9, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w13, [x0, #32]
	str	w13, [x14, #16]
	ldr	w13, [x0, #8]
	cmp	w13, #1
	b.lt	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x14, [x14, #8]
	str	x10, [x14]
	cmp	w13, #1
	b.eq	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w14, #1
LBB0_7:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x15, [x0, #16]
	ldr	x15, [x15, #8]
	str	x10, [x15, x14, lsl #3]
	add	x14, x14, #1
	cmp	x13, x14
	b.ne	LBB0_7
	b	LBB0_2
LBB0_8:
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_HCLGE_SCH_MODE_DWRR,4,2        ; @HCLGE_SCH_MODE_DWRR
	.comm	_HCLGE_ETHER_MAX_RATE,4,2       ; @HCLGE_ETHER_MAX_RATE
	.comm	_BW_PERCENT,8,3                 ; @BW_PERCENT
	.no_dead_strip	_hclge_tm_pg_info_init
.subsections_via_symbols
