	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function xgbe_config_dcb_tc
LCPI0_0:
	.long	0                               ## 0x0
	.long	1                               ## 0x1
	.long	2                               ## 0x2
	.long	3                               ## 0x3
LCPI0_1:
	.long	4                               ## 0x4
	.long	4                               ## 0x4
	.long	4                               ## 0x4
	.long	4                               ## 0x4
LCPI0_2:
	.long	1065353216                      ## 0x3f800000
	.long	1065353216                      ## 0x3f800000
	.long	1065353216                      ## 0x3f800000
	.long	1065353216                      ## 0x3f800000
LCPI0_3:
	.long	8                               ## 0x8
	.long	8                               ## 0x8
	.long	8                               ## 0x8
	.long	8                               ## 0x8
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_xgbe_config_dcb_tc:                    ## @xgbe_config_dcb_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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	16(%rdi), %r15
	testq	%r15, %r15
	je	LBB0_19
## %bb.1:
	movq	%rdi, %rbx
	movq	_MTL_OMR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ETSALG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_MTL_ETSALG_DWRR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_XGMAC_IOWRITE_BITS
	movq	(%rbx), %rcx
	movl	8(%rbx), %eax
	movl	(%rcx), %ecx
	imull	%eax, %ecx
	movl	$1, %edx
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	cmpl	$100, %ecx
	jb	LBB0_3
## %bb.2:
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	imulq	$1374389535, %rcx, %rcx         ## imm = 0x51EB851F
	shrq	$37, %rcx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
LBB0_3:
	testl	%eax, %eax
	je	LBB0_18
## %bb.4:
	xorl	%r8d, %r8d
	movdqa	LCPI0_1(%rip), %xmm9            ## xmm9 = [4,4,4,4]
	movdqa	LCPI0_2(%rip), %xmm10           ## xmm10 = [1065353216,1065353216,1065353216,1065353216]
	movdqa	LCPI0_3(%rip), %xmm11           ## xmm11 = [8,8,8,8]
	xorl	%r13d, %r13d
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	16(%r15), %rax
	movl	(%rax,%r13,4), %eax
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	imull	%edx, %eax
	imulq	$1374389535, %rax, %rdi         ## imm = 0x51EB851F
	shrq	$37, %rdi
                                        ## kill: def $edi killed $edi killed $rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_clamp
	movl	%eax, %r14d
	movq	_drv@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	(%rbx), %rdx
	movq	%rbx, %rdi
	leaq	L_.str.2(%rip), %rcx
	movl	%r13d, %r8d
	movl	%r14d, %r9d
	xorl	%eax, %eax
	callq	_netif_dbg
	movq	_MTL_TC_ETSCR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_TSA@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_MTL_TSA_ETS@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_XGMAC_MTL_IOWRITE_BITS
	movq	_QW@GOTPCREL(%rip), %rax
	movq	_MTL_TC_QWR@GOTPCREL(%rip), %rcx
LBB0_16:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	(%rcx), %edx
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	movl	%r13d, %esi
	movl	%r14d, %r8d
	callq	_XGMAC_MTL_IOWRITE_BITS
LBB0_17:                                ##   in Loop: Header=BB0_5 Depth=1
	incq	%r13
	movl	8(%rbx), %eax
	cmpq	%rax, %r13
	movl	$0, %r8d
	movdqa	LCPI0_1(%rip), %xmm9            ## xmm9 = [4,4,4,4]
	movdqa	LCPI0_2(%rip), %xmm10           ## xmm10 = [1065353216,1065353216,1065353216,1065353216]
	movdqa	LCPI0_3(%rip), %xmm11           ## xmm11 = [8,8,8,8]
	jae	LBB0_18
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
                                        ##     Child Loop BB0_11 Depth 2
	movq	_IEEE_8021QAZ_MAX_TCS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	$0, %esi
	testq	%rax, %rax
	je	LBB0_12
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	(%r15), %rdx
	cmpl	$8, %eax
	jae	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	xorl	%ecx, %ecx
	xorl	%esi, %esi
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	%eax, %ecx
	andl	$-8, %ecx
	movq	%r13, %xmm0
	pshufd	$68, %xmm0, %xmm8               ## xmm8 = xmm0[0,1,0,1]
	leaq	(,%rax,4), %rsi
	andq	$-32, %rsi
	xorps	%xmm1, %xmm1
	xorl	%edi, %edi
	xorps	%xmm2, %xmm2
	movdqa	LCPI0_0(%rip), %xmm3            ## xmm3 = [0,1,2,3]
	.p2align	4, 0x90
LBB0_9:                                 ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movdqa	%xmm3, %xmm4
	pmovzxdq	(%rdx,%rdi), %xmm5              ## xmm5 = mem[0],zero,mem[1],zero
	pmovzxdq	8(%rdx,%rdi), %xmm6             ## xmm6 = mem[0],zero,mem[1],zero
	pmovzxdq	16(%rdx,%rdi), %xmm7            ## xmm7 = mem[0],zero,mem[1],zero
	pmovzxdq	24(%rdx,%rdi), %xmm0            ## xmm0 = mem[0],zero,mem[1],zero
	paddd	%xmm9, %xmm4
	pcmpeqq	%xmm8, %xmm6
	pcmpeqq	%xmm8, %xmm5
	shufps	$136, %xmm6, %xmm5              ## xmm5 = xmm5[0,2],xmm6[0,2]
	pcmpeqq	%xmm8, %xmm0
	pcmpeqq	%xmm8, %xmm7
	shufps	$136, %xmm0, %xmm7              ## xmm7 = xmm7[0,2],xmm0[0,2]
	movdqa	%xmm3, %xmm0
	pslld	$23, %xmm0
	paddd	%xmm10, %xmm0
	cvttps2dq	%xmm0, %xmm0
	andps	%xmm5, %xmm0
	orps	%xmm0, %xmm1
	pslld	$23, %xmm4
	paddd	%xmm10, %xmm4
	cvttps2dq	%xmm4, %xmm0
	andps	%xmm7, %xmm0
	orps	%xmm0, %xmm2
	paddd	%xmm11, %xmm3
	addq	$32, %rdi
	cmpq	%rdi, %rsi
	jne	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	orps	%xmm1, %xmm2
	pshufd	$238, %xmm2, %xmm0              ## xmm0 = xmm2[2,3,2,3]
	por	%xmm2, %xmm0
	pshufd	$85, %xmm0, %xmm1               ## xmm1 = xmm0[1,1,1,1]
	por	%xmm0, %xmm1
	movd	%xmm1, %esi
	cmpq	%rax, %rcx
	je	LBB0_12
	.p2align	4, 0x90
LBB0_11:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	$1, %edi
	shll	%cl, %edi
	movl	(%rdx,%rcx,4), %ebx
	cmpq	%rbx, %r13
	cmovnel	%r8d, %edi
	orl	%edi, %esi
	incq	%rcx
	cmpq	%rcx, %rax
	jne	LBB0_11
LBB0_12:                                ##   in Loop: Header=BB0_5 Depth=1
	movzbl	%sil, %r15d
	movq	_drv@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	(%r14), %rdx
	movq	%r14, %rdi
	leaq	L_.str(%rip), %rcx
	movl	%r13d, %r8d
	movl	%r15d, %r9d
	xorl	%eax, %eax
	callq	_netif_dbg
	movl	%r13d, %eax
	xorl	%edx, %edx
	movq	_MTL_TCPM_TC_PER_REG@GOTPCREL(%rip), %r12
	divl	(%r12)
	movl	%eax, %ebx
	movq	_MTL_TCPM_INC@GOTPCREL(%rip), %rax
	imull	(%rax), %ebx
	movq	_MTL_TCPM0R@GOTPCREL(%rip), %rax
	addl	(%rax), %ebx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_XGMAC_IOREAD
	movl	%eax, %esi
	movl	%r13d, %eax
	xorl	%edx, %edx
	divl	(%r12)
                                        ## kill: def $edx killed $edx def $rdx
	leal	(,%rdx,8), %ecx
	movl	$255, %eax
	shll	%cl, %eax
	notl	%eax
	andl	%esi, %eax
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %r15d
	orl	%eax, %r15d
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%r15d, %edx
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	callq	_XGMAC_IOWRITE
	movq	8(%r15), %rax
	movl	(%rax,%r13,4), %eax
	cmpl	$129, %eax
	je	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$128, %eax
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	jne	LBB0_17
## %bb.14:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	_drv@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	(%rbx), %rdx
	movq	%rbx, %rdi
	leaq	L_.str.1(%rip), %rcx
	movl	%r13d, %r8d
	xorl	%eax, %eax
	callq	_netif_dbg
	movq	_MTL_TSA_SP@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_TSA@GOTPCREL(%rip), %rax
	movq	_MTL_TC_ETSCR@GOTPCREL(%rip), %rcx
	jmp	LBB0_16
LBB0_18:
	movq	%rbx, %rdi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_xgbe_config_tc                 ## TAILCALL
LBB0_19:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MTL_OMR,4,2                    ## @MTL_OMR
	.comm	_ETSALG,4,2                     ## @ETSALG
	.comm	_MTL_ETSALG_DWRR,4,2            ## @MTL_ETSALG_DWRR
	.comm	_IEEE_8021QAZ_MAX_TCS,4,2       ## @IEEE_8021QAZ_MAX_TCS
	.comm	_drv,4,2                        ## @drv
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"TC%u PRIO mask=%#x\n"

	.comm	_MTL_TCPM0R,4,2                 ## @MTL_TCPM0R
	.comm	_MTL_TCPM_INC,4,2               ## @MTL_TCPM_INC
	.comm	_MTL_TCPM_TC_PER_REG,4,2        ## @MTL_TCPM_TC_PER_REG
L_.str.1:                               ## @.str.1
	.asciz	"TC%u using SP\n"

	.comm	_MTL_TC_ETSCR,4,2               ## @MTL_TC_ETSCR
	.comm	_TSA,4,2                        ## @TSA
	.comm	_MTL_TSA_SP,4,2                 ## @MTL_TSA_SP
L_.str.2:                               ## @.str.2
	.asciz	"TC%u using DWRR (weight %u)\n"

	.comm	_MTL_TSA_ETS,4,2                ## @MTL_TSA_ETS
	.comm	_MTL_TC_QWR,4,2                 ## @MTL_TC_QWR
	.comm	_QW,4,2                         ## @QW
	.no_dead_strip	_xgbe_config_dcb_tc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function xgbe_config_dcb_tc
lCPI0_0:
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.long	2                               ; 0x2
	.long	3                               ; 0x3
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_xgbe_config_dcb_tc:                    ; @xgbe_config_dcb_tc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	ldr	x27, [x0, #16]
	cbz	x27, LBB0_18
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x8, _MTL_OMR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MTL_OMR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _ETSALG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ETSALG@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x8, _MTL_ETSALG_DWRR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MTL_ETSALG_DWRR@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
	bl	_XGMAC_IOWRITE_BITS
	ldr	x8, [x19]
	ldr	w8, [x8]
	ldr	w9, [x19, #8]
	mul	w20, w9, w8
	mov	w8, #34079
	movk	w8, #20971, lsl #16
	umull	x8, w20, w8
	lsr	x8, x8, #37
	cmp	w20, #100
	csinc	w8, w8, wzr, hs
	str	w8, [sp, #44]                   ; 4-byte Folded Spill
	cbz	w9, LBB0_17
; %bb.2:
	mov	x22, #0
Lloh9:
	adrp	x25, _drv@GOTPAGE
Lloh10:
	ldr	x25, [x25, _drv@GOTPAGEOFF]
	mov	w24, #255
Lloh11:
	adrp	x28, _MTL_TCPM_TC_PER_REG@GOTPAGE
Lloh12:
	ldr	x28, [x28, _MTL_TCPM_TC_PER_REG@GOTPAGEOFF]
	mov	w21, #1
	movi.4s	v25, #4
Lloh13:
	adrp	x8, lCPI0_0@PAGE
Lloh14:
	ldr	q0, [x8, lCPI0_0@PAGEOFF]
	str	q0, [sp, #16]                   ; 16-byte Folded Spill
	movi.4s	v26, #8
	movi.4s	v27, #12
	movi.4s	v28, #1
	movi.4s	v29, #16
	b	LBB0_6
LBB0_3:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x27, #16]
	ldr	w8, [x8, x22, lsl #2]
	mul	w8, w8, w20
	mov	w9, #34079
	movk	w9, #20971, lsl #16
	umull	x8, w8, w9
	lsr	x0, x8, #37
                                        ; kill: def $w0 killed $w0 killed $x0
	ldr	w1, [sp, #44]                   ; 4-byte Folded Reload
	mov	x2, x20
	bl	_clamp
	mov	x26, x0
	ldr	w1, [x25]
	ldr	x2, [x19]
	str	x26, [sp]
	mov	x0, x19
Lloh15:
	adrp	x3, l_.str.2@PAGE
Lloh16:
	add	x3, x3, l_.str.2@PAGEOFF
	mov	x4, x22
	bl	_netif_dbg
Lloh17:
	adrp	x8, _MTL_TC_ETSCR@GOTPAGE
Lloh18:
	ldr	x8, [x8, _MTL_TC_ETSCR@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
Lloh20:
	adrp	x8, _TSA@GOTPAGE
Lloh21:
	ldr	x8, [x8, _TSA@GOTPAGEOFF]
Lloh22:
	ldr	w3, [x8]
Lloh23:
	adrp	x8, _MTL_TSA_ETS@GOTPAGE
Lloh24:
	ldr	x8, [x8, _MTL_TSA_ETS@GOTPAGEOFF]
Lloh25:
	ldr	w4, [x8]
	mov	x0, x19
	mov	x1, x22
	bl	_XGMAC_MTL_IOWRITE_BITS
Lloh26:
	adrp	x8, _QW@GOTPAGE
Lloh27:
	ldr	x8, [x8, _QW@GOTPAGEOFF]
Lloh28:
	adrp	x9, _MTL_TC_QWR@GOTPAGE
Lloh29:
	ldr	x9, [x9, _MTL_TC_QWR@GOTPAGEOFF]
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w2, [x9]
	ldr	w3, [x8]
	mov	x0, x19
	mov	x1, x22
	mov	x4, x26
	bl	_XGMAC_MTL_IOWRITE_BITS
	movi.4s	v25, #4
	movi.4s	v26, #8
	movi.4s	v27, #12
	movi.4s	v28, #1
	movi.4s	v29, #16
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x22, x22, #1
	ldr	w8, [x19, #8]
	cmp	x22, x8
	b.hs	LBB0_17
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_11 Depth 2
                                        ;     Child Loop BB0_13 Depth 2
Lloh30:
	adrp	x8, _IEEE_8021QAZ_MAX_TCS@GOTPAGE
Lloh31:
	ldr	x8, [x8, _IEEE_8021QAZ_MAX_TCS@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	cbz	w8, LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x9, [x27]
	cmp	w8, #16
	b.hs	LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x10, #0
	mov	w11, #0
	b	LBB0_13
LBB0_9:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	w11, #0
	b	LBB0_14
LBB0_10:                                ;   in Loop: Header=BB0_6 Depth=1
	and	x10, x8, #0xfffffff0
	dup.2d	v0, x22
	add	x11, x9, #32
	movi.2d	v1, #0000000000000000
	mov	x12, x10
	movi.2d	v2, #0000000000000000
	movi.2d	v3, #0000000000000000
	movi.2d	v4, #0000000000000000
	ldr	q5, [sp, #16]                   ; 16-byte Folded Reload
LBB0_11:                                ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add.4s	v6, v5, v25
	add.4s	v7, v5, v26
	add.4s	v16, v5, v27
	ldp	q17, q18, [x11, #-32]
	ldp	q19, q20, [x11], #64
	ushll.2d	v21, v17, #0
	ushll2.2d	v17, v17, #0
	ushll.2d	v22, v18, #0
	ushll2.2d	v18, v18, #0
	ushll.2d	v23, v19, #0
	ushll2.2d	v19, v19, #0
	ushll.2d	v24, v20, #0
	ushll2.2d	v20, v20, #0
	cmeq.2d	v17, v0, v17
	cmeq.2d	v21, v0, v21
	uzp1.4s	v17, v21, v17
	cmeq.2d	v18, v0, v18
	cmeq.2d	v21, v0, v22
	uzp1.4s	v18, v21, v18
	cmeq.2d	v19, v0, v19
	cmeq.2d	v21, v0, v23
	uzp1.4s	v19, v21, v19
	cmeq.2d	v20, v0, v20
	cmeq.2d	v21, v0, v24
	uzp1.4s	v20, v21, v20
	ushl.4s	v21, v28, v5
	ushl.4s	v6, v28, v6
	ushl.4s	v7, v28, v7
	ushl.4s	v16, v28, v16
	and.16b	v17, v21, v17
	and.16b	v6, v6, v18
	and.16b	v7, v7, v19
	and.16b	v16, v16, v20
	orr.16b	v1, v17, v1
	orr.16b	v2, v6, v2
	orr.16b	v3, v7, v3
	orr.16b	v4, v16, v4
	add.4s	v5, v5, v29
	subs	x12, x12, #16
	b.ne	LBB0_11
; %bb.12:                               ;   in Loop: Header=BB0_6 Depth=1
	orr.16b	v0, v2, v1
	orr.16b	v0, v3, v0
	orr.16b	v0, v4, v0
	ext.16b	v1, v0, v0, #8
	orr.8b	v0, v0, v1
	fmov	w11, s0
	mov.s	w12, v0[1]
	orr	w11, w11, w12
	cmp	x10, x8
	b.eq	LBB0_14
LBB0_13:                                ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w12, [x9, x10, lsl #2]
	lsl	w13, w21, w10
	cmp	x22, x12
	csel	w12, w13, wzr, eq
	orr	w11, w12, w11
	add	x10, x10, #1
	cmp	x8, x10
	b.ne	LBB0_13
LBB0_14:                                ;   in Loop: Header=BB0_6 Depth=1
	and	w23, w11, #0xff
	ldr	w1, [x25]
	ldr	x2, [x19]
	str	x23, [sp]
	mov	x0, x19
Lloh33:
	adrp	x3, l_.str@PAGE
Lloh34:
	add	x3, x3, l_.str@PAGEOFF
	mov	x4, x22
	bl	_netif_dbg
Lloh35:
	adrp	x8, _MTL_TCPM0R@GOTPAGE
Lloh36:
	ldr	x8, [x8, _MTL_TCPM0R@GOTPAGEOFF]
Lloh37:
	ldr	w8, [x8]
Lloh38:
	adrp	x9, _MTL_TCPM_INC@GOTPAGE
Lloh39:
	ldr	x9, [x9, _MTL_TCPM_INC@GOTPAGEOFF]
Lloh40:
	ldr	w9, [x9]
	ldr	w10, [x28]
	udiv	w10, w22, w10
	madd	w26, w10, w9, w8
	mov	x0, x19
	mov	x1, x26
	bl	_XGMAC_IOREAD
	ldr	w8, [x28]
	udiv	w9, w22, w8
	msub	w8, w9, w8, w22
	lsl	w8, w8, #3
	lsl	w9, w24, w8
	bic	w9, w0, w9
	lsl	w8, w23, w8
	orr	w2, w9, w8
	mov	x0, x19
	mov	x1, x26
	bl	_XGMAC_IOWRITE
	ldr	x8, [x27, #8]
	ldr	w8, [x8, x22, lsl #2]
	cmp	w8, #129
	b.eq	LBB0_3
; %bb.15:                               ;   in Loop: Header=BB0_6 Depth=1
	cmp	w8, #128
	movi.4s	v25, #4
	movi.4s	v26, #8
	movi.4s	v27, #12
	movi.4s	v28, #1
	movi.4s	v29, #16
	b.ne	LBB0_5
; %bb.16:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w1, [x25]
	ldr	x2, [x19]
	mov	x0, x19
Lloh41:
	adrp	x3, l_.str.1@PAGE
Lloh42:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x4, x22
	bl	_netif_dbg
Lloh43:
	adrp	x8, _MTL_TSA_SP@GOTPAGE
Lloh44:
	ldr	x8, [x8, _MTL_TSA_SP@GOTPAGEOFF]
Lloh45:
	ldr	w26, [x8]
Lloh46:
	adrp	x8, _TSA@GOTPAGE
Lloh47:
	ldr	x8, [x8, _TSA@GOTPAGEOFF]
Lloh48:
	adrp	x9, _MTL_TC_ETSCR@GOTPAGE
Lloh49:
	ldr	x9, [x9, _MTL_TC_ETSCR@GOTPAGEOFF]
	b	LBB0_4
LBB0_17:
	mov	x0, x19
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	b	_xgbe_config_tc
LBB0_18:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdr	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpAdd	Lloh41, Lloh42
	.cfi_endproc
                                        ; -- End function
	.comm	_MTL_OMR,4,2                    ; @MTL_OMR
	.comm	_ETSALG,4,2                     ; @ETSALG
	.comm	_MTL_ETSALG_DWRR,4,2            ; @MTL_ETSALG_DWRR
	.comm	_IEEE_8021QAZ_MAX_TCS,4,2       ; @IEEE_8021QAZ_MAX_TCS
	.comm	_drv,4,2                        ; @drv
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"TC%u PRIO mask=%#x\n"

	.comm	_MTL_TCPM0R,4,2                 ; @MTL_TCPM0R
	.comm	_MTL_TCPM_INC,4,2               ; @MTL_TCPM_INC
	.comm	_MTL_TCPM_TC_PER_REG,4,2        ; @MTL_TCPM_TC_PER_REG
l_.str.1:                               ; @.str.1
	.asciz	"TC%u using SP\n"

	.comm	_MTL_TC_ETSCR,4,2               ; @MTL_TC_ETSCR
	.comm	_TSA,4,2                        ; @TSA
	.comm	_MTL_TSA_SP,4,2                 ; @MTL_TSA_SP
l_.str.2:                               ; @.str.2
	.asciz	"TC%u using DWRR (weight %u)\n"

	.comm	_MTL_TSA_ETS,4,2                ; @MTL_TSA_ETS
	.comm	_MTL_TC_QWR,4,2                 ; @MTL_TC_QWR
	.comm	_QW,4,2                         ; @QW
	.no_dead_strip	_xgbe_config_dcb_tc
.subsections_via_symbols
