	.file	"extr_qed_sriov.c_qed_iov_bulletin_set_forced_vlan.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Can not set forced MAC, invalid vfid [%d]\n"
	.align 8
.LC1:
	.string	"Can't set forced vlan to malicious VF [%d]\n"
	.text
	.p2align 4
	.type	qed_iov_bulletin_set_forced_vlan, @function
qed_iov_bulletin_set_forced_vlan:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rsi
	movsx	rsi, edx
	mov	edx, 1
	mov	r12, rsi
	call	qed_iov_get_vf_info@PLT
	mov	edx, r12d
	lea	rsi, .LC0[rip]
	test	rax, rax
	je	.L7
	cmp	QWORD PTR 8[rax], 0
	mov	rsi, rax
	jne	.L9
	mov	ecx, DWORD PTR VLAN_ADDR_FORCED[rip]
	mov	edx, 1
	sal	edx, cl
	mov	rcx, QWORD PTR [rax]
	mov	eax, edx
	mov	edi, DWORD PTR [rcx]
	not	eax
	mov	QWORD PTR 8[rcx], rbx
	mov	r8d, edi
	and	eax, edi
	mov	rdi, rbp
	or	r8d, edx
	test	rbx, rbx
	cmovne	eax, r8d
	mov	DWORD PTR [rcx], eax
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	qed_iov_configure_vport_forced@PLT
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	lea	rsi, .LC1[rip]
.L7:
	mov	edi, DWORD PTR 0[rbp]
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	DP_NOTICE@PLT
	.cfi_endproc
.LFE0:
	.size	qed_iov_bulletin_set_forced_vlan, .-qed_iov_bulletin_set_forced_vlan
	.comm	VLAN_ADDR_FORCED,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_qed_sriov.c_qed_iov_bulletin_set_forced_vlan.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Can not set forced MAC, invalid vfid [%d]\012\000"
	.align	2
.LC1:
	.ascii	"Can't set forced vlan to malicious VF [%d]\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	qed_iov_bulletin_set_forced_vlan, %function
qed_iov_bulletin_set_forced_vlan:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r2
	mov	r4, r1
	mov	r1, r2
	mov	r2, #1
	mov	r6, r0
	bl	qed_iov_get_vf_info
	subs	r1, r0, #0
	beq	.L8
	ldr	r3, [r1, #4]
	cmp	r3, #0
	bne	.L9
	mov	r2, #1
	ldr	r0, .L10
	ldr	r3, [r1]
	ldr	r0, [r0]
	cmp	r4, #0
	lsl	r2, r2, r0
	ldr	r0, [r3]
	str	r4, [r3, #4]
	orrne	r0, r0, r2
	biceq	r0, r0, r2
	str	r0, [r3]
	mov	r0, r6
	pop	{r4, r5, r6, lr}
	b	qed_iov_configure_vport_forced
.L9:
	mov	r2, r5
	ldr	r0, [r6]
	ldr	r1, .L10+4
	pop	{r4, r5, r6, lr}
	b	DP_NOTICE
.L8:
	mov	r2, r5
	ldr	r0, [r6]
	ldr	r1, .L10+8
	pop	{r4, r5, r6, lr}
	b	DP_NOTICE
.L11:
	.align	2
.L10:
	.word	VLAN_ADDR_FORCED
	.word	.LC1
	.word	.LC0
	.size	qed_iov_bulletin_set_forced_vlan, .-qed_iov_bulletin_set_forced_vlan
	.comm	VLAN_ADDR_FORCED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
