	.file	"extr_ecore_sriov.c_ecore_iov_configure_vport_forced.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"PF failed to configure MAC for VF\n"
	.align 8
.LC1:
	.string	"PF failed to configure VLAN for VF\n"
	.align 8
.LC2:
	.string	"PF failed to configure VF vport for vlan\n"
	.align 8
.LC3:
	.string	"Failed to send Rx update fo queue[0x%04x]\n"
	.text
	.p2align 4
	.type	ecore_iov_configure_vport_forced, @function
ecore_iov_configure_vport_forced:
.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
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 216
	.cfi_def_cfa_offset 272
	mov	r8d, DWORD PTR 40[rsi]
	mov	r14d, DWORD PTR ECORE_INVAL[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 200[rsp], rax
	xor	eax, eax
	test	r8d, r8d
	je	.L1
	mov	eax, DWORD PTR MAC_ADDR_FORCED[rip]
	mov	r13, rdi
	mov	rbp, rsi
	mov	r12d, edx
	mov	r14d, DWORD PTR ECORE_SUCCESS[rip]
	bt	edx, eax
	jc	.L37
.L5:
	mov	ecx, DWORD PTR VLAN_ADDR_FORCED[rip]
	mov	eax, r12d
	sar	eax, cl
	and	eax, 1
	mov	ebx, eax
	jne	.L38
.L7:
	test	r12d, r12d
	jne	.L39
.L1:
	mov	rax, QWORD PTR 200[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L40
	add	rsp, 216
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r14d
	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
.L37:
	.cfi_restore_state
	lea	r14, 32[rsp]
	mov	edx, 80
	xor	esi, esi
	mov	rdi, r14
	call	OSAL_MEMSET@PLT
	mov	eax, DWORD PTR ECORE_FILTER_MAC[rip]
	mov	edx, DWORD PTR ETH_ALEN[rip]
	mov	edi, DWORD PTR 104[rsp]
	mov	DWORD PTR 100[rsp], eax
	mov	rax, QWORD PTR ECORE_FILTER_REPLACE[rip]
	mov	QWORD PTR 88[rsp], rax
	movabs	rax, 4294967297
	mov	QWORD PTR 32[rsp], rax
	mov	eax, DWORD PTR 20[rbp]
	mov	DWORD PTR 96[rsp], eax
	mov	rax, QWORD PTR 32[rbp]
	mov	esi, DWORD PTR 8[rax]
	call	OSAL_MEMCPY@PLT
	mov	esi, DWORD PTR 24[rbp]
	mov	rdx, r14
	mov	rdi, r13
	mov	r8, QWORD PTR OSAL_NULL[rip]
	mov	ecx, DWORD PTR ECORE_SPQ_MODE_CB[rip]
	call	ecore_sp_eth_filter_ucast@PLT
	mov	r14d, eax
	test	eax, eax
	jne	.L41
	mov	ecx, DWORD PTR MAC_ADDR_FORCED[rip]
	mov	eax, 1
	sal	eax, cl
	or	DWORD PTR 0[rbp], eax
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L38:
	lea	r14, 32[rsp]
	xor	esi, esi
	mov	edx, 80
	movabs	r15, 4294967297
	mov	rdi, r14
	call	OSAL_MEMSET@PLT
	mov	esi, DWORD PTR 24[rbp]
	mov	rdx, r14
	mov	rdi, r13
	mov	eax, DWORD PTR ECORE_FILTER_VLAN[rip]
	mov	ecx, DWORD PTR ECORE_SPQ_MODE_CB[rip]
	mov	QWORD PTR 32[rsp], r15
	mov	r8, QWORD PTR OSAL_NULL[rip]
	mov	DWORD PTR 100[rsp], eax
	mov	eax, DWORD PTR 20[rbp]
	mov	DWORD PTR 96[rsp], eax
	mov	rax, QWORD PTR 32[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	mov	QWORD PTR 64[rsp], rax
	mov	rax, QWORD PTR ECORE_FILTER_REPLACE[rip]
	cmove	rax, QWORD PTR ECORE_FILTER_FLUSH[rip]
	mov	QWORD PTR 88[rsp], rax
	call	ecore_sp_eth_filter_ucast@PLT
	mov	r14d, eax
	test	eax, eax
	jne	.L42
	lea	r14, 112[rsp]
	mov	edx, 80
	xor	esi, esi
	mov	rdi, r14
	call	OSAL_MEMSET@PLT
	mov	rax, QWORD PTR 20[rbp]
	xor	edx, edx
	mov	DWORD PTR 120[rsp], 1
	mov	QWORD PTR 128[rsp], r15
	mov	QWORD PTR 160[rsp], rax
	mov	rax, QWORD PTR 64[rsp]
	test	rax, rax
	mov	QWORD PTR 152[rsp], rax
	setne	dl
	mov	DWORD PTR 124[rsp], edx
	jne	.L12
	mov	ebx, DWORD PTR 16[rbp]
.L12:
	mov	DWORD PTR 140[rsp], edx
	mov	rcx, QWORD PTR OSAL_NULL[rip]
	mov	rsi, r14
	mov	rdi, r13
	mov	edx, DWORD PTR ECORE_SPQ_MODE_EBLOCK[rip]
	mov	DWORD PTR 136[rsp], ebx
	call	ecore_sp_vport_update@PLT
	mov	r14d, eax
	test	eax, eax
	jne	.L13
	mov	ecx, DWORD PTR ECORE_MAX_VF_CHAINS_PER_PF[rip]
	xor	r15d, r15d
	lea	rbx, 24[rsp]
	test	ecx, ecx
	jle	.L18
	.p2align 4,,10
	.p2align 3
.L14:
	mov	rax, QWORD PTR 8[rbp]
	lea	rdi, [rax+r15*4]
	mov	rax, QWORD PTR OSAL_NULL[rip]
	mov	QWORD PTR 24[rsp], rax
	call	ecore_iov_get_vf_rx_queue_cid@PLT
	mov	rdx, QWORD PTR OSAL_NULL[rip]
	mov	QWORD PTR 24[rsp], rax
	cmp	rax, rdx
	je	.L19
	sub	rsp, 8
	.cfi_def_cfa_offset 280
	mov	r9d, DWORD PTR ECORE_SPQ_MODE_EBLOCK[rip]
	xor	ecx, ecx
	mov	rsi, rbx
	push	rdx
	.cfi_def_cfa_offset 288
	mov	r8d, 1
	mov	edx, 1
	mov	rdi, r13
	call	ecore_sp_eth_rx_queues_update@PLT
	mov	r8d, eax
	pop	rax
	.cfi_def_cfa_offset 280
	pop	rdx
	.cfi_def_cfa_offset 272
	test	r8d, r8d
	jne	.L43
.L19:
	add	r15, 1
	cmp	DWORD PTR ECORE_MAX_VF_CHAINS_PER_PF[rip], r15d
	jg	.L14
.L18:
	mov	esi, DWORD PTR 0[rbp]
	mov	ecx, DWORD PTR VLAN_ADDR_FORCED[rip]
	mov	eax, 1
	sal	eax, cl
	mov	edx, esi
	or	edx, eax
	cmp	QWORD PTR 64[rsp], 0
	je	.L44
.L20:
	mov	DWORD PTR 0[rbp], edx
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L39:
	mov	edx, r12d
	mov	rsi, rbp
	mov	rdi, r13
	call	ecore_iov_reconfigure_unicast_shadow@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L42:
	lea	rdx, .LC1[rip]
	mov	esi, 1
	mov	rdi, r13
	xor	eax, eax
	call	DP_NOTICE@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L41:
	lea	rdx, .LC0[rip]
	mov	esi, 1
	mov	rdi, r13
	xor	eax, eax
	call	DP_NOTICE@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L44:
	not	eax
	and	eax, esi
	mov	edx, eax
	jmp	.L20
	.p2align 4,,10
	.p2align 3
.L43:
	mov	rax, QWORD PTR 24[rsp]
	mov	esi, 1
	mov	rdi, r13
	mov	DWORD PTR 12[rsp], r8d
	lea	rdx, .LC3[rip]
	mov	ecx, DWORD PTR [rax]
	xor	eax, eax
	call	DP_NOTICE@PLT
	mov	r8d, DWORD PTR 12[rsp]
	mov	r14d, r8d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L13:
	lea	rdx, .LC2[rip]
	mov	esi, 1
	mov	rdi, r13
	xor	eax, eax
	call	DP_NOTICE@PLT
	jmp	.L1
.L40:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ecore_iov_configure_vport_forced, .-ecore_iov_configure_vport_forced
	.comm	VLAN_ADDR_FORCED,4,4
	.comm	OSAL_NULL,8,8
	.comm	MAC_ADDR_FORCED,4,4
	.comm	ETH_ALEN,4,4
	.comm	ECORE_SUCCESS,4,4
	.comm	ECORE_SPQ_MODE_EBLOCK,4,4
	.comm	ECORE_SPQ_MODE_CB,4,4
	.comm	ECORE_MAX_VF_CHAINS_PER_PF,4,4
	.comm	ECORE_INVAL,4,4
	.comm	ECORE_FILTER_VLAN,4,4
	.comm	ECORE_FILTER_REPLACE,8,8
	.comm	ECORE_FILTER_MAC,4,4
	.comm	ECORE_FILTER_FLUSH,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_ecore_sriov.c_ecore_iov_configure_vport_forced.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"PF failed to configure MAC for VF\012\000"
	.align	2
.LC1:
	.ascii	"PF failed to configure VLAN for VF\012\000"
	.align	2
.LC2:
	.ascii	"PF failed to configure VF vport for vlan\012\000"
	.align	2
.LC3:
	.ascii	"Failed to send Rx update fo queue[0x%04x]\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ecore_iov_configure_vport_forced, %function
ecore_iov_configure_vport_forced:
	@ args = 0, pretend = 0, frame = 136
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r3, [r1, #24]
	sub	sp, sp, #156
	cmp	r3, #0
	ldr	r3, .L44
	ldr	r3, [r3]
	str	r3, [sp, #148]
	mov	r3,#0
	beq	.L36
	ldr	r7, .L44+4
	mov	r4, r1
	ldr	r3, [r7]
	mov	r6, r0
	asr	r3, r2, r3
	tst	r3, #1
	mov	r5, r2
	bne	.L4
	ldr	r3, .L44+8
	ldr	r8, [r3]
.L5:
	ldr	r10, .L44+12
	ldr	r3, [r10]
	asr	r3, r5, r3
	ands	r7, r3, #1
	bne	.L37
.L7:
	cmp	r5, #0
	bne	.L38
.L1:
	ldr	r3, .L44
	ldr	r2, [r3]
	ldr	r3, [sp, #148]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L39
	mov	r0, r8
	add	sp, sp, #156
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L4:
	mov	r9, #1
	mov	r2, #64
	mov	r1, #0
	add	r0, sp, #20
	bl	OSAL_MEMSET
	ldr	r3, .L44+16
	ldr	r0, .L44+20
	ldr	r3, [r3]
	ldr	r1, [r4, #20]
	ldr	r0, [r0]
	ldr	r2, .L44+24
	ldr	r1, [r1, #4]
	str	r3, [sp, #76]
	ldr	r3, [r4, #12]
	ldr	r2, [r2]
	str	r0, [sp, #68]
	ldr	r0, [sp, #80]
	str	r3, [sp, #72]
	str	r9, [sp, #20]
	str	r9, [sp, #24]
	bl	OSAL_MEMCPY
	ldr	r2, .L44+28
	ldr	r3, .L44+32
	ldr	r1, [r2]
	mov	r0, r6
	str	r1, [sp]
	ldr	r3, [r3]
	ldr	r1, [r4, #16]
	add	r2, sp, #20
	bl	ecore_sp_eth_filter_ucast
	subs	r8, r0, #0
	bne	.L40
	ldr	r2, [r7]
	ldr	r3, [r4]
	orr	r9, r3, r9, lsl r2
	str	r9, [r4]
	b	.L5
.L36:
	ldr	r3, .L44+36
	ldr	r8, [r3]
	b	.L1
.L37:
	mov	r2, #64
	mov	r1, #0
	add	r0, sp, #20
	bl	OSAL_MEMSET
	mov	r3, #1
	ldr	r2, [r4, #20]
	ldr	r1, .L44+40
	ldr	r2, [r2]
	ldr	r0, [r1]
	cmp	r2, #0
	ldr	r1, [r4, #12]
	ldr	r9, .L44+28
	str	r3, [sp, #20]
	str	r3, [sp, #24]
	ldrne	r3, .L44+20
	ldreq	r3, .L44+44
	str	r1, [sp, #72]
	ldr	r1, [r9]
	ldr	ip, [r3]
	ldr	r3, .L44+32
	str	r1, [sp]
	str	r2, [sp, #52]
	str	r0, [sp, #76]
	ldr	r3, [r3]
	mov	r0, r6
	ldr	r1, [r4, #16]
	add	r2, sp, #20
	str	ip, [sp, #68]
	bl	ecore_sp_eth_filter_ucast
	subs	r8, r0, #0
	bne	.L41
	mov	r1, r8
	mov	r2, #64
	add	r0, sp, #84
	bl	OSAL_MEMSET
	mov	r3, #1
	ldr	r2, [sp, #52]
	ldr	r1, [r4, #16]
	cmp	r2, #0
	movne	ip, r3
	moveq	ip, #0
	str	r2, [sp, #120]
	str	r3, [sp, #92]
	ldr	r2, [r4, #12]
	str	r3, [sp, #100]
	str	r3, [sp, #104]
	ldr	r3, .L44+48
	ldreq	r7, [r4, #8]
	str	r1, [sp, #128]
	str	r2, [sp, #124]
	mov	r0, r6
	ldr	r2, [r3]
	add	r1, sp, #84
	ldr	r3, [r9]
	str	ip, [sp, #96]
	str	r7, [sp, #108]
	str	ip, [sp, #112]
	bl	ecore_sp_vport_update
	subs	r8, r0, #0
	bne	.L13
	ldr	fp, .L44+52
	ldr	r3, [fp]
	cmp	r3, #0
	movgt	r7, r8
	ble	.L18
.L14:
	ldr	r0, [r4, #4]
	ldr	r3, [r9]
	add	r0, r0, r7, lsl #2
	str	r3, [sp, #16]
	bl	ecore_iov_get_vf_rx_queue_cid
	ldr	r3, [r9]
	str	r0, [sp, #16]
	cmp	r0, r3
	beq	.L19
	ldr	r2, .L44+48
	mov	r0, r6
	ldr	r2, [r2]
	str	r3, [sp, #8]
	mov	r3, #1
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r2, #1
	mov	r3, #0
	add	r1, sp, #16
	bl	ecore_sp_eth_rx_queues_update
	cmp	r0, #0
	bne	.L42
.L19:
	ldr	r3, [fp]
	add	r7, r7, #1
	cmp	r3, r7
	bgt	.L14
.L18:
	mov	r3, #1
	ldr	r2, [r10]
	ldr	r1, [sp, #52]
	lsl	r3, r3, r2
	ldr	r2, [r4]
	cmp	r1, #0
	orrne	r3, r2, r3
	beq	.L43
.L20:
	str	r3, [r4]
	b	.L7
.L41:
	mov	r0, r6
	mov	r1, #1
	ldr	r2, .L44+56
	bl	DP_NOTICE
	b	.L1
.L38:
	mov	r2, r5
	mov	r1, r4
	mov	r0, r6
	bl	ecore_iov_reconfigure_unicast_shadow
	b	.L1
.L40:
	mov	r1, r9
	mov	r0, r6
	ldr	r2, .L44+60
	bl	DP_NOTICE
	b	.L1
.L43:
	bic	r3, r2, r3
	b	.L20
.L42:
	mov	ip, r0
	ldr	r3, [sp, #16]
	mov	r0, r6
	mov	r1, #1
	ldr	r3, [r3]
	ldr	r2, .L44+64
	mov	r8, ip
	bl	DP_NOTICE
	b	.L1
.L13:
	mov	r0, r6
	mov	r1, #1
	ldr	r2, .L44+68
	bl	DP_NOTICE
	b	.L1
.L39:
	bl	__stack_chk_fail
.L45:
	.align	2
.L44:
	.word	.LC4
	.word	MAC_ADDR_FORCED
	.word	ECORE_SUCCESS
	.word	VLAN_ADDR_FORCED
	.word	ECORE_FILTER_MAC
	.word	ECORE_FILTER_REPLACE
	.word	ETH_ALEN
	.word	OSAL_NULL
	.word	ECORE_SPQ_MODE_CB
	.word	ECORE_INVAL
	.word	ECORE_FILTER_VLAN
	.word	ECORE_FILTER_FLUSH
	.word	ECORE_SPQ_MODE_EBLOCK
	.word	ECORE_MAX_VF_CHAINS_PER_PF
	.word	.LC1
	.word	.LC0
	.word	.LC3
	.word	.LC2
	.size	ecore_iov_configure_vport_forced, .-ecore_iov_configure_vport_forced
	.comm	VLAN_ADDR_FORCED,4,4
	.comm	OSAL_NULL,4,4
	.comm	MAC_ADDR_FORCED,4,4
	.comm	ETH_ALEN,4,4
	.comm	ECORE_SUCCESS,4,4
	.comm	ECORE_SPQ_MODE_EBLOCK,4,4
	.comm	ECORE_SPQ_MODE_CB,4,4
	.comm	ECORE_MAX_VF_CHAINS_PER_PF,4,4
	.comm	ECORE_INVAL,4,4
	.comm	ECORE_FILTER_VLAN,4,4
	.comm	ECORE_FILTER_REPLACE,4,4
	.comm	ECORE_FILTER_MAC,4,4
	.comm	ECORE_FILTER_FLUSH,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
