	.file	"extr_ixgbe_dcb_nl.c_ixgbe_dcbnl_ieee_setets.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ixgbe_dcbnl_ieee_setets, @function
ixgbe_dcbnl_ieee_setets:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rsi
	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
	call	netdev_priv@PLT
	mov	r13, rax
	mov	eax, DWORD PTR [rax]
	test	DWORD PTR DCB_CAP_DCBX_VER_IEEE[rip], eax
	je	.L29
	mov	eax, DWORD PTR ETH_HLEN[rip]
	mov	r9, QWORD PTR 16[r13]
	mov	ebx, DWORD PTR 0[rbp]
	mov	DWORD PTR 8[rsp], eax
	mov	eax, DWORD PTR ETH_FCS_LEN[rip]
	mov	DWORD PTR 12[rsp], eax
	test	r9, r9
	je	.L31
.L4:
	mov	eax, DWORD PTR IEEE_8021QAZ_MAX_TCS[rip]
	test	eax, eax
	jle	.L8
	lea	edi, -1[rax]
	mov	r11, QWORD PTR [r12]
	mov	r10, QWORD PTR [r9]
	xor	eax, eax
	xor	r15d, r15d
	xor	r14d, r14d
	mov	esi, 1
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L18:
	mov	rax, rdx
.L10:
	mov	rdx, QWORD PTR [r11+rax*8]
	movsx	rcx, DWORD PTR [r10+rax*4]
	cmp	r14, rdx
	cmovl	r14, rdx
	cmp	rdx, rcx
	lea	rdx, 1[rax]
	cmovne	r15, rsi
	cmp	rdi, rax
	jne	.L18
	mov	edx, 8
	mov	rsi, r12
	mov	rdi, r9
	call	memcpy@PLT
	cmp	r14, 1
	sbb	r14, -1
.L12:
	cmp	QWORD PTR 8[r13], r14
	jge	.L13
.L29:
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
.L1:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	mov	rdi, rbp
	call	netdev_get_num_tc@PLT
	cmp	rax, r14
	jne	.L32
	test	r15, r15
	jne	.L33
.L15:
	mov	edx, DWORD PTR 12[rsp]
	add	ebx, DWORD PTR 8[rsp]
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	lea	rdi, 4[r13]
	mov	rsi, r12
	add	edx, ebx
	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
	jmp	ixgbe_dcb_hw_ets@PLT
	.p2align 4,,10
	.p2align 3
.L32:
	.cfi_restore_state
	mov	rsi, r14
	mov	rdi, rbp
	call	ixgbe_setup_tc@PLT
	test	eax, eax
	je	.L15
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L31:
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	mov	edi, 8
	call	kmalloc@PLT
	mov	QWORD PTR 16[r13], rax
	test	rax, rax
	je	.L5
	mov	edx, DWORD PTR IEEE_8021QAZ_MAX_TCS[rip]
	mov	rsi, QWORD PTR [rax]
	xor	eax, eax
	test	edx, edx
	jle	.L7
	.p2align 4,,10
	.p2align 3
.L6:
	mov	DWORD PTR [rsi+rax*4], edx
	mov	edx, DWORD PTR IEEE_8021QAZ_MAX_TCS[rip]
	add	rax, 1
	cmp	edx, eax
	jg	.L6
.L7:
	lea	rdi, 4[r13]
	call	ixgbe_dcb_read_rtrup2tc@PLT
	mov	r9, QWORD PTR 16[r13]
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L8:
	mov	edx, 8
	mov	rsi, r12
	mov	rdi, r9
	xor	r15d, r15d
	call	memcpy@PLT
	xor	r14d, r14d
	jmp	.L12
.L33:
	mov	rdi, rbp
	call	ixgbe_dcbnl_devreset@PLT
	jmp	.L15
.L5:
	mov	eax, DWORD PTR ENOMEM[rip]
	neg	eax
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	ixgbe_dcbnl_ieee_setets, .-ixgbe_dcbnl_ieee_setets
	.comm	IEEE_8021QAZ_MAX_TCS,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ETH_HLEN,4,4
	.comm	ETH_FCS_LEN,4,4
	.comm	ENOMEM,4,4
	.comm	EINVAL,4,4
	.comm	DCB_CAP_DCBX_VER_IEEE,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_nl.c_ixgbe_dcbnl_ieee_setets.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ixgbe_dcbnl_ieee_setets, %function
ixgbe_dcbnl_ieee_setets:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	sub	sp, sp, #12
	mov	r6, r1
	mov	r7, r0
	bl	netdev_priv
	ldr	r3, .L34
	ldr	r2, [r0]
	ldr	r3, [r3]
	tst	r2, r3
	beq	.L30
	ldr	r2, [r0, #12]
	ldr	r1, .L34+4
	ldr	r3, .L34+8
	cmp	r2, #0
	mov	fp, r0
	ldr	r10, [r1]
	ldr	r9, [r3]
	ldr	r8, [r7]
	beq	.L27
	ldr	r4, .L34+12
.L4:
	ldr	ip, [r4]
	mov	r5, #0
	cmp	ip, #0
	ble	.L9
	mov	r4, r5
	ldr	r1, [r6]
	ldr	r0, [r2]
	add	ip, r1, ip, lsl #2
	sub	ip, ip, #4
	sub	r1, r1, #4
	sub	r0, r0, #4
.L11:
	ldr	r3, [r1, #4]!
	ldr	lr, [r0, #4]!
	cmp	r4, r3
	movlt	r4, r3
	cmp	r3, lr
	movne	r5, #1
	cmp	r1, ip
	bne	.L11
	mov	r0, r2
	mov	r1, r6
	mov	r2, #4
	bl	memcpy
	cmp	r4, #0
	addne	r4, r4, #1
.L13:
	ldr	r3, [fp, #8]
	cmp	r3, r4
	bge	.L14
.L30:
	ldr	r3, .L34+16
	ldr	r0, [r3]
	rsb	r0, r0, #0
.L1:
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L14:
	mov	r0, r7
	bl	netdev_get_num_tc
	cmp	r0, r4
	bne	.L32
	cmp	r5, #0
	bne	.L33
.L16:
	mov	r1, r6
	add	r2, r8, r10
	add	r2, r2, r9
	add	r0, fp, #4
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	ixgbe_dcb_hw_ets
.L32:
	mov	r1, r4
	mov	r0, r7
	bl	ixgbe_setup_tc
	cmp	r0, #0
	beq	.L16
	b	.L1
.L27:
	ldr	r3, .L34+20
	mov	r0, #4
	ldr	r1, [r3]
	str	r2, [sp, #4]
	bl	kmalloc
	cmp	r0, #0
	str	r0, [fp, #12]
	beq	.L5
	ldr	r4, .L34+12
	ldr	r1, [r0]
	ldr	r3, [r4]
	ldr	r2, [sp, #4]
	cmp	r3, #0
	subgt	r0, r1, #4
	ble	.L8
.L7:
	str	r3, [r0, #4]!
	ldr	r3, [r4]
	add	r2, r2, #1
	cmp	r3, r2
	bgt	.L7
.L8:
	add	r0, fp, #4
	bl	ixgbe_dcb_read_rtrup2tc
	ldr	r2, [fp, #12]
	b	.L4
.L9:
	mov	r0, r2
	mov	r1, r6
	mov	r2, #4
	bl	memcpy
	mov	r4, r5
	b	.L13
.L33:
	mov	r0, r7
	bl	ixgbe_dcbnl_devreset
	b	.L16
.L5:
	ldr	r3, .L34+24
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	.L1
.L35:
	.align	2
.L34:
	.word	DCB_CAP_DCBX_VER_IEEE
	.word	ETH_HLEN
	.word	ETH_FCS_LEN
	.word	IEEE_8021QAZ_MAX_TCS
	.word	EINVAL
	.word	GFP_KERNEL
	.word	ENOMEM
	.size	ixgbe_dcbnl_ieee_setets, .-ixgbe_dcbnl_ieee_setets
	.comm	IEEE_8021QAZ_MAX_TCS,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ETH_HLEN,4,4
	.comm	ETH_FCS_LEN,4,4
	.comm	ENOMEM,4,4
	.comm	EINVAL,4,4
	.comm	DCB_CAP_DCBX_VER_IEEE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
