	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ixgbe_dcb_config_tx_desc_arbiter_82598 ## -- Begin function ixgbe_dcb_config_tx_desc_arbiter_82598
	.p2align	4, 0x90
_ixgbe_dcb_config_tx_desc_arbiter_82598: ## @ixgbe_dcb_config_tx_desc_arbiter_82598
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r12
	movq	%rsi, %r13
	movq	%rdi, %rbx
	movq	_IXGBE_DPMCS@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	callq	_IXGBE_READ_REG
	movq	_IXGBE_DPMCS_ARBDIS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	notl	%esi
	andl	%eax, %esi
	movq	_IXGBE_DPMCS_TSOEF@GOTPCREL(%rip), %rax
	movq	_IXGBE_DPMCS_MTSOS_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$4, %edx
	shll	%cl, %edx
	orl	(%rax), %esi
	orl	%esi, %edx
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_IXGBE_WRITE_REG
	movq	_MAX_TRAFFIC_CLASS@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_7
## %bb.1:
	xorl	%r14d, %r14d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	orl	%ecx, %r15d
	movq	%r14, %rdi
	callq	_IXGBE_TDTQ2TCCR
	movq	%rbx, %rdi
	movl	%eax, %esi
	movl	%r15d, %edx
	callq	_IXGBE_WRITE_REG
	incq	%r14
	movq	_MAX_TRAFFIC_CLASS@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r14
	jae	LBB0_7
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12,%r14,4), %eax
	movq	_IXGBE_TDTQ2TCCR_MCL_SHIFT@GOTPCREL(%rip), %rcx
	movzbl	(%rcx), %ecx
	shll	%cl, %eax
	orl	(%r13,%r14,4), %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx,%r14,8), %r15d
	movq	_IXGBE_TDTQ2TCCR_BWG_SHIFT@GOTPCREL(%rip), %rcx
	movzbl	(%rcx), %ecx
	shll	%cl, %r15d
	orl	%eax, %r15d
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax,%r14,8), %rax
	movl	$0, %ecx
	movq	_prio_group@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_IXGBE_TDTQ2TCCR_GSP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	orl	%ecx, %r15d
	movl	$0, %ecx
	movq	_prio_link@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_IXGBE_TDTQ2TCCR_LSP@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	jmp	LBB0_6
LBB0_7:
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IXGBE_DPMCS,4,2                ## @IXGBE_DPMCS
	.comm	_IXGBE_DPMCS_ARBDIS,4,2         ## @IXGBE_DPMCS_ARBDIS
	.comm	_IXGBE_DPMCS_TSOEF,4,2          ## @IXGBE_DPMCS_TSOEF
	.comm	_IXGBE_DPMCS_MTSOS_SHIFT,4,2    ## @IXGBE_DPMCS_MTSOS_SHIFT
	.comm	_MAX_TRAFFIC_CLASS,8,3          ## @MAX_TRAFFIC_CLASS
	.comm	_IXGBE_TDTQ2TCCR_MCL_SHIFT,4,2  ## @IXGBE_TDTQ2TCCR_MCL_SHIFT
	.comm	_IXGBE_TDTQ2TCCR_BWG_SHIFT,4,2  ## @IXGBE_TDTQ2TCCR_BWG_SHIFT
	.comm	_prio_group,8,3                 ## @prio_group
	.comm	_IXGBE_TDTQ2TCCR_GSP,4,2        ## @IXGBE_TDTQ2TCCR_GSP
	.comm	_prio_link,8,3                  ## @prio_link
	.comm	_IXGBE_TDTQ2TCCR_LSP,4,2        ## @IXGBE_TDTQ2TCCR_LSP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ixgbe_dcb_config_tx_desc_arbiter_82598 ; -- Begin function ixgbe_dcb_config_tx_desc_arbiter_82598
	.p2align	2
_ixgbe_dcb_config_tx_desc_arbiter_82598: ; @ixgbe_dcb_config_tx_desc_arbiter_82598
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x4
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
Lloh0:
	adrp	x24, _IXGBE_DPMCS@GOTPAGE
Lloh1:
	ldr	x24, [x24, _IXGBE_DPMCS@GOTPAGEOFF]
	ldr	w1, [x24]
	bl	_IXGBE_READ_REG
Lloh2:
	adrp	x8, _IXGBE_DPMCS_ARBDIS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IXGBE_DPMCS_ARBDIS@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	bic	w8, w0, w8
Lloh5:
	adrp	x9, _IXGBE_DPMCS_TSOEF@GOTPAGE
Lloh6:
	ldr	x9, [x9, _IXGBE_DPMCS_TSOEF@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
Lloh8:
	adrp	x10, _IXGBE_DPMCS_MTSOS_SHIFT@GOTPAGE
Lloh9:
	ldr	x10, [x10, _IXGBE_DPMCS_MTSOS_SHIFT@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh10:
	ldr	w9, [x10]
	mov	w10, #4
	lsl	w9, w10, w9
	orr	w2, w8, w9
	ldr	w1, [x24]
	mov	x0, x23
	bl	_IXGBE_WRITE_REG
Lloh11:
	adrp	x27, _MAX_TRAFFIC_CLASS@GOTPAGE
Lloh12:
	ldr	x27, [x27, _MAX_TRAFFIC_CLASS@GOTPAGEOFF]
	ldr	x8, [x27]
	cbz	x8, LBB0_3
; %bb.1:
	mov	x24, #0
Lloh13:
	adrp	x28, _prio_link@GOTPAGE
Lloh14:
	ldr	x28, [x28, _prio_link@GOTPAGEOFF]
Lloh15:
	adrp	x26, _IXGBE_TDTQ2TCCR_LSP@GOTPAGE
Lloh16:
	ldr	x26, [x26, _IXGBE_TDTQ2TCCR_LSP@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	lsl	x8, x24, #2
	ldr	w9, [x21, x8]
Lloh17:
	adrp	x10, _IXGBE_TDTQ2TCCR_MCL_SHIFT@GOTPAGE
Lloh18:
	ldr	x10, [x10, _IXGBE_TDTQ2TCCR_MCL_SHIFT@GOTPAGEOFF]
Lloh19:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	ldr	w8, [x22, x8]
	orr	w8, w9, w8
	lsl	x9, x24, #3
	ldr	w10, [x20, x9]
Lloh20:
	adrp	x11, _IXGBE_TDTQ2TCCR_BWG_SHIFT@GOTPAGE
Lloh21:
	ldr	x11, [x11, _IXGBE_TDTQ2TCCR_BWG_SHIFT@GOTPAGEOFF]
Lloh22:
	ldr	w11, [x11]
	lsl	w10, w10, w11
	orr	w8, w8, w10
	ldr	x9, [x19, x9]
Lloh23:
	adrp	x10, _prio_group@GOTPAGE
Lloh24:
	ldr	x10, [x10, _prio_group@GOTPAGEOFF]
Lloh25:
	ldr	x10, [x10]
Lloh26:
	adrp	x11, _IXGBE_TDTQ2TCCR_GSP@GOTPAGE
Lloh27:
	ldr	x11, [x11, _IXGBE_TDTQ2TCCR_GSP@GOTPAGEOFF]
Lloh28:
	ldr	w11, [x11]
	cmp	x9, x10
	csel	w10, w11, wzr, eq
	orr	w8, w8, w10
	ldr	x10, [x28]
	ldr	w11, [x26]
	cmp	x9, x10
	csel	w9, w11, wzr, eq
	orr	w25, w8, w9
	mov	x0, x24
	bl	_IXGBE_TDTQ2TCCR
	mov	x1, x0
	mov	x0, x23
	mov	x2, x25
	bl	_IXGBE_WRITE_REG
	add	x24, x24, #1
	ldr	x8, [x27]
	cmp	x24, x8
	b.lo	LBB0_2
LBB0_3:
	mov	w0, #0
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_IXGBE_DPMCS,4,2                ; @IXGBE_DPMCS
	.comm	_IXGBE_DPMCS_ARBDIS,4,2         ; @IXGBE_DPMCS_ARBDIS
	.comm	_IXGBE_DPMCS_TSOEF,4,2          ; @IXGBE_DPMCS_TSOEF
	.comm	_IXGBE_DPMCS_MTSOS_SHIFT,4,2    ; @IXGBE_DPMCS_MTSOS_SHIFT
	.comm	_MAX_TRAFFIC_CLASS,8,3          ; @MAX_TRAFFIC_CLASS
	.comm	_IXGBE_TDTQ2TCCR_MCL_SHIFT,4,2  ; @IXGBE_TDTQ2TCCR_MCL_SHIFT
	.comm	_IXGBE_TDTQ2TCCR_BWG_SHIFT,4,2  ; @IXGBE_TDTQ2TCCR_BWG_SHIFT
	.comm	_prio_group,8,3                 ; @prio_group
	.comm	_IXGBE_TDTQ2TCCR_GSP,4,2        ; @IXGBE_TDTQ2TCCR_GSP
	.comm	_prio_link,8,3                  ; @prio_link
	.comm	_IXGBE_TDTQ2TCCR_LSP,4,2        ; @IXGBE_TDTQ2TCCR_LSP
.subsections_via_symbols
