	.file	"extr_ixgbe_sriov.c_ixgbe_get_vf_queues.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ixgbe_get_vf_queues, @function
ixgbe_get_vf_queues:
.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
	lea	r12, [rdx+rdx*2]
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	sal	r12, 3
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR 32[rdi]
	mov	rcx, QWORD PTR RING_F_VMDQ[rip]
	mov	r14d, DWORD PTR [rdi]
	mov	QWORD PTR 8[rsp], rax
	mov	rax, QWORD PTR 24[rdi]
	lea	r15, [rax+rcx*4]
	mov	rax, QWORD PTR 8[rdi]
	mov	eax, DWORD PTR [rax+r12]
	add	eax, -128
	cmp	eax, 4
	ja	.L9
	mov	rax, QWORD PTR IXGBE_VF_TX_QUEUES[rip]
	mov	rbp, rsi
	mov	rbx, rdi
	mov	edi, 1
	lea	r13, [rsi+rax*8]
	mov	esi, DWORD PTR [r15]
	not	esi
	call	__ALIGN_MASK@PLT
	mov	esi, DWORD PTR [r15]
	mov	edi, 1
	mov	QWORD PTR 0[r13], rax
	mov	rax, QWORD PTR IXGBE_VF_RX_QUEUES[rip]
	not	esi
	lea	r13, 0[rbp+rax*8]
	call	__ALIGN_MASK@PLT
	mov	QWORD PTR 0[r13], rax
	cmp	r14d, 1
	jg	.L12
	mov	rax, QWORD PTR IXGBE_VF_TRANS_VLAN[rip]
	lea	rcx, 0[rbp+rax*8]
	test	r14d, r14d
	jne	.L13
	add	r12, QWORD PTR 8[rbx]
	cmp	QWORD PTR 16[r12], 0
	jne	.L7
	cmp	QWORD PTR 8[r12], 0
	je	.L8
.L7:
	mov	QWORD PTR [rcx], 1
	xor	eax, eax
.L6:
	mov	rdx, QWORD PTR IXGBE_VF_DEF_QUEUE[rip]
	mov	QWORD PTR 0[rbp+rdx*8], rax
	xor	eax, 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
.L12:
	.cfi_restore_state
	mov	esi, DWORD PTR 16[rbx]
	mov	rdi, QWORD PTR 8[rsp]
	call	netdev_get_prio_tc_map@PLT
	mov	rdx, QWORD PTR IXGBE_VF_TRANS_VLAN[rip]
	mov	eax, eax
	lea	rcx, 0[rbp+rdx*8]
.L4:
	movsx	rdx, r14d
	mov	QWORD PTR [rcx], rdx
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L8:
	mov	QWORD PTR [rcx], 0
	xor	eax, eax
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L13:
	xor	eax, eax
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L9:
	mov	eax, -1
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	ixgbe_get_vf_queues, .-ixgbe_get_vf_queues
	.comm	RING_F_VMDQ,8,8
	.comm	IXGBE_VF_TX_QUEUES,8,8
	.comm	IXGBE_VF_TRANS_VLAN,8,8
	.comm	IXGBE_VF_RX_QUEUES,8,8
	.comm	IXGBE_VF_DEF_QUEUE,8,8
	.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_sriov.c_ixgbe_get_vf_queues.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ixgbe_get_vf_queues, %function
ixgbe_get_vf_queues:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	add	r2, r2, r2, lsl #1
	ldr	r3, [r0, #4]
	lsl	r5, r2, #2
	ldr	r3, [r3, r5]
	ldr	r2, .L14
	sub	r3, r3, #128
	cmp	r3, #4
	ldr	r10, [r0, #16]
	ldr	r8, [r0, #12]
	ldr	r7, [r0]
	ldr	r9, [r2]
	bhi	.L9
	mov	r6, r1
	ldr	r1, [r8, r9, lsl #2]
	ldr	r3, .L14+4
	mvn	r1, r1
	mov	r4, r0
	mov	r0, #1
	ldr	fp, [r3]
	bl	__ALIGN_MASK
	ldr	r1, [r8, r9, lsl #2]
	ldr	r3, .L14+8
	str	r0, [r6, fp, lsl #2]
	mvn	r1, r1
	mov	r0, #1
	ldr	r8, [r3]
	bl	__ALIGN_MASK
	cmp	r7, #1
	str	r0, [r6, r8, lsl #2]
	bgt	.L12
	ldr	r3, .L14+12
	cmp	r7, #0
	ldr	r1, [r3]
	add	r2, r6, r1, lsl #2
	bne	.L13
	ldr	r2, [r4, #4]
	add	r5, r2, r5
	ldr	r3, [r5, #8]
	cmp	r3, #0
	bne	.L7
	ldr	r2, [r5, #4]
	cmp	r2, #0
	moveq	r3, r2
	streq	r2, [r6, r1, lsl #2]
	beq	.L6
.L7:
	mov	r2, #1
	mov	r3, #0
	str	r2, [r6, r1, lsl #2]
.L6:
	ldr	r2, .L14+16
	mov	r0, #0
	ldr	r2, [r2]
	str	r3, [r6, r2, lsl #2]
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L12:
	mov	r0, r10
	ldr	r1, [r4, #8]
	bl	netdev_get_prio_tc_map
	mov	r3, r0
	ldr	r2, .L14+12
	ldr	r2, [r2]
	add	r2, r6, r2, lsl #2
.L4:
	str	r7, [r2]
	b	.L6
.L13:
	mov	r3, #0
	b	.L4
.L9:
	mvn	r0, #0
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L15:
	.align	2
.L14:
	.word	RING_F_VMDQ
	.word	IXGBE_VF_TX_QUEUES
	.word	IXGBE_VF_RX_QUEUES
	.word	IXGBE_VF_TRANS_VLAN
	.word	IXGBE_VF_DEF_QUEUE
	.size	ixgbe_get_vf_queues, .-ixgbe_get_vf_queues
	.comm	RING_F_VMDQ,4,4
	.comm	IXGBE_VF_TX_QUEUES,4,4
	.comm	IXGBE_VF_TRANS_VLAN,4,4
	.comm	IXGBE_VF_RX_QUEUES,4,4
	.comm	IXGBE_VF_DEF_QUEUE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
