	.file	"extr_dev.c_netif_setup_tc.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Number of in use tx queues changed invalidating tc mappings. Priority traffic classification disabled!\n"
	.align 8
.LC1:
	.string	"Number of in use tx queues changed. Priority %i to tc mapping %i is no longer valid. Setting map to 0\n"
	.text
	.p2align 4
	.type	netif_setup_tc, @function
netif_setup_tc:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	rdx, QWORD PTR [rdi]
	mov	eax, DWORD PTR 4[rdx]
	add	eax, DWORD PTR [rdx]
	cmp	eax, esi
	ja	.L2
	mov	eax, DWORD PTR TC_BITMASK[rip]
	mov	ebp, esi
	mov	ebx, 1
	lea	r12, .LC1[rip]
	test	eax, eax
	jg	.L3
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L6:
	add	ebx, 1
	cmp	DWORD PTR TC_BITMASK[rip], ebx
	jl	.L1
.L3:
	mov	esi, ebx
	mov	rdi, r13
	call	netdev_get_prio_tc_map@PLT
	mov	rcx, QWORD PTR 0[r13]
	movsx	rsi, eax
	mov	eax, DWORD PTR [rcx+rsi*8]
	add	eax, DWORD PTR 4[rcx+rsi*8]
	mov	rdx, rsi
	cmp	eax, ebp
	jbe	.L6
	mov	esi, ebx
	mov	rdi, r12
	xor	eax, eax
	call	pr_warn@PLT
	xor	edx, edx
	mov	esi, ebx
	mov	rdi, r13
	call	netdev_set_prio_tc_map@PLT
	add	ebx, 1
	cmp	DWORD PTR TC_BITMASK[rip], ebx
	jge	.L3
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	lea	rdi, .LC0[rip]
	xor	eax, eax
	call	pr_warn@PLT
	mov	QWORD PTR 8[r13], 0
	add	rsp, 8
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	netif_setup_tc, .-netif_setup_tc
	.comm	TC_BITMASK,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_dev.c_netif_setup_tc.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Number of in use tx queues changed invalidating tc "
	.ascii	"mappings. Priority traffic classification disabled!"
	.ascii	"\012\000"
	.align	2
.LC1:
	.ascii	"Number of in use tx queues changed. Priority %i to "
	.ascii	"tc mapping %i is no longer valid. Setting map to 0\012"
	.ascii	"\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	netif_setup_tc, %function
netif_setup_tc:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r2, [r0]
	push	{r4, r5, r6, r7, r8, lr}
	ldm	r2, {r2, r3}
	add	r3, r3, r2
	cmp	r3, r1
	mov	r8, r0
	bhi	.L2
	ldr	r6, .L12
	ldr	r3, [r6]
	cmp	r3, #0
	pople	{r4, r5, r6, r7, r8, pc}
	mov	r5, r1
	mov	r4, #1
	ldr	r7, .L12+4
	b	.L3
.L6:
	ldr	r3, [r6]
	add	r4, r4, #1
	cmp	r3, r4
	poplt	{r4, r5, r6, r7, r8, pc}
.L3:
	mov	r1, r4
	mov	r0, r8
	bl	netdev_get_prio_tc_map
	mov	r2, r0
	ldr	r1, [r8]
	add	r3, r1, r0, lsl #3
	ldr	r0, [r3, #4]
	ldr	r3, [r1, r2, lsl #3]
	add	r3, r3, r0
	cmp	r3, r5
	bls	.L6
	mov	r1, r4
	mov	r0, r7
	bl	pr_warn
	mov	r2, #0
	mov	r1, r4
	mov	r0, r8
	bl	netdev_set_prio_tc_map
	b	.L6
.L2:
	ldr	r0, .L12+8
	bl	pr_warn
	mov	r3, #0
	str	r3, [r8, #4]
	pop	{r4, r5, r6, r7, r8, pc}
.L13:
	.align	2
.L12:
	.word	TC_BITMASK
	.word	.LC1
	.word	.LC0
	.size	netif_setup_tc, .-netif_setup_tc
	.comm	TC_BITMASK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
