	.file	"extr_ixgbe_dcb_82599.c_ixgbe_dcb_config_tx_data_arbiter_82599.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	ixgbe_dcb_config_tx_data_arbiter_82599
	.type	ixgbe_dcb_config_tx_data_arbiter_82599, @function
ixgbe_dcb_config_tx_data_arbiter_82599:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, r8
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rcx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, r9
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	rcx, QWORD PTR IXGBE_RTTPCS_ARBD_SHIFT[rip]
	mov	rax, QWORD PTR IXGBE_RTTPCS_ARBD_DCB[rip]
	mov	QWORD PTR 8[rsp], rsi
	mov	rdx, QWORD PTR IXGBE_RTTPCS_TPPAC[rip]
	sal	rax, cl
	or	rdx, QWORD PTR IXGBE_RTTPCS_TPRM[rip]
	mov	esi, DWORD PTR IXGBE_RTTPCS[rip]
	or	rdx, QWORD PTR IXGBE_RTTPCS_ARBDIS[rip]
	or	rdx, rax
	call	IXGBE_WRITE_REG@PLT
	mov	rdx, QWORD PTR MAX_USER_PRIORITY[rip]
	test	rdx, rdx
	je	.L2
	mov	edi, DWORD PTR IXGBE_RTTUP2TC_UP_SHIFT[rip]
	lea	rsi, [r12+rdx*8]
	mov	r9, r12
	xor	ecx, ecx
	xor	edx, edx
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rax, QWORD PTR [r9]
	add	r9, 8
	sal	rax, cl
	add	ecx, edi
	or	rdx, rax
	cmp	rsi, r9
	jne	.L3
.L2:
	mov	esi, DWORD PTR IXGBE_RTTUP2TC[rip]
	mov	rdi, rbp
	call	IXGBE_WRITE_REG@PLT
	cmp	QWORD PTR MAX_TRAFFIC_CLASS[rip], 0
	je	.L4
	xor	ebx, ebx
	.p2align 4,,10
	.p2align 3
.L7:
	mov	rcx, QWORD PTR IXGBE_RTTPT2C_MCL_SHIFT[rip]
	mov	r12, QWORD PTR 0[r13+rbx*8]
	mov	rdx, QWORD PTR [r14+rbx*8]
	mov	rax, QWORD PTR 8[rsp]
	sal	r12, cl
	mov	rcx, QWORD PTR IXGBE_RTTPT2C_BWG_SHIFT[rip]
	sal	rdx, cl
	or	r12, rdx
	or	r12, QWORD PTR [rax+rbx*8]
	mov	rax, QWORD PTR [r15+rbx*8]
	cmp	rax, QWORD PTR prio_group[rip]
	jne	.L5
	or	r12, QWORD PTR IXGBE_RTTPT2C_GSP[rip]
.L5:
	cmp	rax, QWORD PTR prio_link[rip]
	jne	.L6
	or	r12, QWORD PTR IXGBE_RTTPT2C_LSP[rip]
.L6:
	mov	rdi, rbx
	add	rbx, 1
	call	IXGBE_RTTPT2C@PLT
	mov	rdx, r12
	mov	rdi, rbp
	mov	esi, eax
	call	IXGBE_WRITE_REG@PLT
	cmp	QWORD PTR MAX_TRAFFIC_CLASS[rip], rbx
	ja	.L7
.L4:
	mov	rcx, QWORD PTR IXGBE_RTTPCS_ARBD_SHIFT[rip]
	mov	rax, QWORD PTR IXGBE_RTTPCS_ARBD_DCB[rip]
	mov	rdi, rbp
	mov	rdx, QWORD PTR IXGBE_RTTPCS_TPPAC[rip]
	mov	esi, DWORD PTR IXGBE_RTTPCS[rip]
	or	rdx, QWORD PTR IXGBE_RTTPCS_TPRM[rip]
	sal	rax, cl
	or	rdx, rax
	call	IXGBE_WRITE_REG@PLT
	add	rsp, 24
	.cfi_def_cfa_offset 56
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	ixgbe_dcb_config_tx_data_arbiter_82599, .-ixgbe_dcb_config_tx_data_arbiter_82599
	.comm	prio_link,8,8
	.comm	prio_group,8,8
	.comm	MAX_USER_PRIORITY,8,8
	.comm	MAX_TRAFFIC_CLASS,8,8
	.comm	IXGBE_RTTUP2TC_UP_SHIFT,8,8
	.comm	IXGBE_RTTUP2TC,4,4
	.comm	IXGBE_RTTPT2C_MCL_SHIFT,8,8
	.comm	IXGBE_RTTPT2C_LSP,8,8
	.comm	IXGBE_RTTPT2C_GSP,8,8
	.comm	IXGBE_RTTPT2C_BWG_SHIFT,8,8
	.comm	IXGBE_RTTPCS_TPRM,8,8
	.comm	IXGBE_RTTPCS_TPPAC,8,8
	.comm	IXGBE_RTTPCS_ARBD_SHIFT,8,8
	.comm	IXGBE_RTTPCS_ARBD_DCB,8,8
	.comm	IXGBE_RTTPCS_ARBDIS,8,8
	.comm	IXGBE_RTTPCS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_ixgbe_dcb_82599.c_ixgbe_dcb_config_tx_data_arbiter_82599.c"
	.text
	.align	2
	.global	ixgbe_dcb_config_tx_data_arbiter_82599
	.syntax unified
	.arm
	.fpu softvfp
	.type	ixgbe_dcb_config_tx_data_arbiter_82599, %function
ixgbe_dcb_config_tx_data_arbiter_82599:
	@ args = 8, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r5, r2
	ldr	r2, .L18
	mov	r6, r1
	ldr	r1, [r2]
	ldr	r2, .L18+4
	ldr	ip, .L18+8
	ldr	r2, [r2]
	ldr	lr, [ip]
	orr	r1, r1, r2
	ldr	ip, .L18+12
	ldr	r2, .L18+16
	ldr	ip, [ip]
	ldr	r2, [r2]
	orr	r1, r1, lr
	orr	r2, r1, r2, lsl ip
	ldr	r1, .L18+20
	sub	sp, sp, #12
	ldr	r1, [r1]
	mov	r7, r3
	mov	r8, r0
	ldr	r4, [sp, #52]
	bl	IXGBE_WRITE_REG
	ldr	r3, .L18+24
	ldr	r2, [r3]
	cmp	r2, #0
	beq	.L2
	add	r0, r4, r2, lsl #2
	mov	r2, #0
	mov	r3, r2
	ldr	r1, .L18+28
	sub	r0, r0, #4
	ldr	ip, [r1]
	sub	r4, r4, #4
.L3:
	ldr	r1, [r4, #4]!
	cmp	r0, r4
	orr	r2, r2, r1, lsl r3
	add	r3, r3, ip
	bne	.L3
.L2:
	ldr	r3, .L18+32
	ldr	r9, .L18+36
	ldr	r1, [r3]
	mov	r0, r8
	bl	IXGBE_WRITE_REG
	ldr	r3, [r9]
	cmp	r3, #0
	beq	.L4
	mov	r4, #0
	ldr	r2, [sp, #48]
	ldr	r3, .L18+40
	sub	r2, r2, #4
	ldr	fp, .L18+44
	ldr	r10, .L18+48
	sub	r6, r6, #4
	sub	r5, r5, #4
	sub	r7, r7, #4
	str	r2, [sp]
.L7:
	ldr	lr, [fp]
	ldr	r2, [r7, #4]!
	ldr	r1, [r5, #4]!
	lsl	r2, r2, lr
	ldr	lr, [r3]
	ldr	ip, .L18+52
	orr	r2, r2, r1, lsl lr
	ldr	lr, [sp]
	ldr	ip, [ip]
	ldr	r1, [lr, #4]!
	mov	r0, r4
	str	lr, [sp]
	ldr	lr, [r6, #4]!
	add	r4, r4, #1
	orr	r2, r2, lr
	ldr	lr, [r10]
	cmp	r1, lr
	ldreq	lr, .L18+56
	ldreq	lr, [lr]
	orreq	r2, r2, lr
	cmp	r1, ip
	ldreq	r1, .L18+60
	ldreq	r1, [r1]
	orreq	r2, r2, r1
	str	r2, [sp, #4]
	bl	IXGBE_RTTPT2C
	ldr	r2, [sp, #4]
	mov	r1, r0
	mov	r0, r8
	bl	IXGBE_WRITE_REG
	ldr	r2, [r9]
	ldr	r3, .L18+40
	cmp	r2, r4
	bhi	.L7
.L4:
	ldr	r2, .L18+4
	ldr	r3, .L18
	ldr	r0, [r2]
	ldr	r1, .L18+12
	ldr	r2, .L18+16
	ldr	r3, [r3]
	ldr	r1, [r1]
	ldr	r2, [r2]
	orr	r3, r3, r0
	orr	r2, r3, r2, lsl r1
	ldr	r3, .L18+20
	mov	r0, r8
	ldr	r1, [r3]
	bl	IXGBE_WRITE_REG
	mov	r0, #0
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L19:
	.align	2
.L18:
	.word	IXGBE_RTTPCS_TPPAC
	.word	IXGBE_RTTPCS_TPRM
	.word	IXGBE_RTTPCS_ARBDIS
	.word	IXGBE_RTTPCS_ARBD_SHIFT
	.word	IXGBE_RTTPCS_ARBD_DCB
	.word	IXGBE_RTTPCS
	.word	MAX_USER_PRIORITY
	.word	IXGBE_RTTUP2TC_UP_SHIFT
	.word	IXGBE_RTTUP2TC
	.word	MAX_TRAFFIC_CLASS
	.word	IXGBE_RTTPT2C_MCL_SHIFT
	.word	IXGBE_RTTPT2C_BWG_SHIFT
	.word	prio_group
	.word	prio_link
	.word	IXGBE_RTTPT2C_GSP
	.word	IXGBE_RTTPT2C_LSP
	.size	ixgbe_dcb_config_tx_data_arbiter_82599, .-ixgbe_dcb_config_tx_data_arbiter_82599
	.comm	prio_link,4,4
	.comm	prio_group,4,4
	.comm	MAX_USER_PRIORITY,4,4
	.comm	MAX_TRAFFIC_CLASS,4,4
	.comm	IXGBE_RTTUP2TC_UP_SHIFT,4,4
	.comm	IXGBE_RTTUP2TC,4,4
	.comm	IXGBE_RTTPT2C_MCL_SHIFT,4,4
	.comm	IXGBE_RTTPT2C_LSP,4,4
	.comm	IXGBE_RTTPT2C_GSP,4,4
	.comm	IXGBE_RTTPT2C_BWG_SHIFT,4,4
	.comm	IXGBE_RTTPCS_TPRM,4,4
	.comm	IXGBE_RTTPCS_TPPAC,4,4
	.comm	IXGBE_RTTPCS_ARBD_SHIFT,4,4
	.comm	IXGBE_RTTPCS_ARBD_DCB,4,4
	.comm	IXGBE_RTTPCS_ARBDIS,4,4
	.comm	IXGBE_RTTPCS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
