	.file	"extr_i40e_virtchnl_pf.c_i40e_vc_config_promiscuous_mode_msg.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Unprivileged VF %d is attempting to configure promiscuous mode\n"
	.align 8
.LC1:
	.string	"VF %d successfully set multicast promiscuous mode\n"
	.align 8
.LC2:
	.string	"VF %d successfully unset multicast promiscuous mode\n"
	.align 8
.LC3:
	.string	"VF %d successfully set unicast promiscuous mode\n"
	.align 8
.LC4:
	.string	"VF %d successfully unset unicast promiscuous mode\n"
	.text
	.p2align 4
	.type	i40e_vc_config_promiscuous_mode_msg, @function
i40e_vc_config_promiscuous_mode_msg:
.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, 4[rdi]
	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
	mov	rbx, rsi
	mov	rsi, r12
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	r13, QWORD PTR 16[rdi]
	mov	edi, DWORD PTR I40E_VF_STATE_ACTIVE[rip]
	call	test_bit@PLT
	test	eax, eax
	jne	.L2
.L22:
	mov	r15, QWORD PTR I40E_ERR_PARAM[rip]
.L3:
	mov	esi, DWORD PTR VIRTCHNL_OP_CONFIG_PROMISCUOUS_MODE[rip]
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rdx, r15
	mov	rdi, rbp
	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	i40e_vc_send_resp_to_vf@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	edi, DWORD PTR I40E_VIRTCHNL_VF_CAP_PRIVILEGE[rip]
	lea	rsi, 8[rbp]
	call	test_bit@PLT
	test	eax, eax
	je	.L24
	mov	eax, DWORD PTR I40E_MAX_VF_PROMISC_FLAGS[rip]
	cmp	DWORD PTR [rbx], eax
	jg	.L22
	mov	esi, DWORD PTR 4[rbx]
	mov	rdi, rbp
	call	i40e_vc_isvalid_vsi_id@PLT
	test	eax, eax
	je	.L22
	mov	r14d, DWORD PTR [rbx]
	mov	esi, DWORD PTR 4[rbx]
	mov	rdi, rbp
	mov	eax, r14d
	and	eax, DWORD PTR FLAG_VF_UNICAST_PROMISC[rip]
	setne	cl
	xor	edx, edx
	and	r14d, DWORD PTR FLAG_VF_MULTICAST_PROMISC[rip]
	mov	DWORD PTR 12[rsp], eax
	movzx	ecx, cl
	setne	dl
	call	i40e_config_vf_promiscuous_mode@PLT
	mov	r15, rax
	test	rax, rax
	jne	.L3
	mov	edi, DWORD PTR I40E_VF_STATE_MC_PROMISC[rip]
	mov	rsi, r12
	test	r14d, r14d
	jne	.L25
	call	test_and_clear_bit@PLT
	test	rax, rax
	jne	.L26
.L9:
	mov	eax, DWORD PTR 12[rsp]
	mov	edi, DWORD PTR I40E_VF_STATE_UC_PROMISC[rip]
	mov	rsi, r12
	test	eax, eax
	je	.L11
	call	test_and_set_bit@PLT
	test	eax, eax
	jne	.L3
	mov	edx, DWORD PTR 0[rbp]
	mov	rdi, QWORD PTR 0[r13]
	lea	rsi, .LC3[rip]
	call	dev_info@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L24:
	mov	edx, DWORD PTR 0[rbp]
	mov	rdi, QWORD PTR 0[r13]
	lea	rsi, .LC0[rip]
	xor	r15d, r15d
	call	dev_err@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L25:
	call	test_and_set_bit@PLT
	test	eax, eax
	jne	.L9
	mov	edx, DWORD PTR 0[rbp]
	mov	rdi, QWORD PTR 0[r13]
	lea	rsi, .LC1[rip]
	call	dev_info@PLT
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L11:
	call	test_and_clear_bit@PLT
	test	rax, rax
	je	.L3
	mov	edx, DWORD PTR 0[rbp]
	mov	rdi, QWORD PTR 0[r13]
	lea	rsi, .LC4[rip]
	call	dev_info@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L26:
	mov	edx, DWORD PTR 0[rbp]
	mov	rdi, QWORD PTR 0[r13]
	lea	rsi, .LC2[rip]
	call	dev_info@PLT
	jmp	.L9
	.cfi_endproc
.LFE0:
	.size	i40e_vc_config_promiscuous_mode_msg, .-i40e_vc_config_promiscuous_mode_msg
	.comm	VIRTCHNL_OP_CONFIG_PROMISCUOUS_MODE,4,4
	.comm	I40E_VIRTCHNL_VF_CAP_PRIVILEGE,4,4
	.comm	I40E_VF_STATE_UC_PROMISC,4,4
	.comm	I40E_VF_STATE_MC_PROMISC,4,4
	.comm	I40E_VF_STATE_ACTIVE,4,4
	.comm	I40E_MAX_VF_PROMISC_FLAGS,4,4
	.comm	I40E_ERR_PARAM,8,8
	.comm	FLAG_VF_UNICAST_PROMISC,4,4
	.comm	FLAG_VF_MULTICAST_PROMISC,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_i40e_virtchnl_pf.c_i40e_vc_config_promiscuous_mode_msg.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Unprivileged VF %d is attempting to configure promi"
	.ascii	"scuous mode\012\000"
	.align	2
.LC1:
	.ascii	"VF %d successfully set multicast promiscuous mode\012"
	.ascii	"\000"
	.align	2
.LC2:
	.ascii	"VF %d successfully unset multicast promiscuous mode"
	.ascii	"\012\000"
	.align	2
.LC3:
	.ascii	"VF %d successfully set unicast promiscuous mode\012"
	.ascii	"\000"
	.align	2
.LC4:
	.ascii	"VF %d successfully unset unicast promiscuous mode\012"
	.ascii	"\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	i40e_vc_config_promiscuous_mode_msg, %function
i40e_vc_config_promiscuous_mode_msg:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r4, r0
	ldr	r2, .L27
	add	r7, r0, #4
	mov	r6, r1
	ldr	r0, [r2]
	mov	r1, r7
	ldr	r8, [r4, #12]
	bl	test_bit
	cmp	r0, #0
	bne	.L2
.L22:
	ldr	r3, .L27+4
	ldr	r5, [r3]
.L3:
	ldr	r3, .L27+8
	mov	r2, r5
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r1, [r3]
	b	i40e_vc_send_resp_to_vf
.L2:
	ldr	r3, .L27+12
	add	r1, r4, #8
	ldr	r0, [r3]
	bl	test_bit
	subs	r5, r0, #0
	beq	.L24
	ldr	r3, .L27+16
	ldr	r2, [r6]
	ldr	r3, [r3]
	cmp	r2, r3
	bgt	.L22
	mov	r0, r4
	ldr	r1, [r6, #4]
	bl	i40e_vc_isvalid_vsi_id
	cmp	r0, #0
	beq	.L22
	ldr	r3, .L27+20
	ldr	r1, .L27+24
	ldr	r2, [r6]
	ldr	r9, [r3]
	ldr	r0, [r1]
	ands	r9, r2, r9
	movne	r3, #1
	moveq	r3, #0
	ldr	r1, [r6, #4]
	ands	r6, r2, r0
	movne	r2, #1
	moveq	r2, #0
	mov	r0, r4
	bl	i40e_config_vf_promiscuous_mode
	subs	r5, r0, #0
	bne	.L3
	ldr	r3, .L27+28
	cmp	r6, #0
	mov	r1, r7
	ldr	r0, [r3]
	bne	.L25
	bl	test_and_clear_bit
	cmp	r0, #0
	bne	.L26
.L9:
	ldr	r3, .L27+32
	cmp	r9, #0
	mov	r1, r7
	ldr	r0, [r3]
	beq	.L11
	bl	test_and_set_bit
	subs	r3, r0, #0
	bne	.L3
	ldr	r0, [r8]
	ldr	r2, [r4]
	ldr	r1, .L27+36
	mov	r5, r3
	bl	dev_info
	b	.L3
.L24:
	ldr	r0, [r8]
	ldr	r2, [r4]
	ldr	r1, .L27+40
	bl	dev_err
	b	.L3
.L25:
	bl	test_and_set_bit
	cmp	r0, #0
	bne	.L9
	ldr	r2, [r4]
	ldr	r1, .L27+44
	ldr	r0, [r8]
	bl	dev_info
	b	.L9
.L11:
	bl	test_and_clear_bit
	cmp	r0, #0
	beq	.L3
	ldr	r0, [r8]
	ldr	r2, [r4]
	ldr	r1, .L27+48
	mov	r5, r9
	bl	dev_info
	b	.L3
.L26:
	ldr	r2, [r4]
	ldr	r1, .L27+52
	ldr	r0, [r8]
	bl	dev_info
	b	.L9
.L28:
	.align	2
.L27:
	.word	I40E_VF_STATE_ACTIVE
	.word	I40E_ERR_PARAM
	.word	VIRTCHNL_OP_CONFIG_PROMISCUOUS_MODE
	.word	I40E_VIRTCHNL_VF_CAP_PRIVILEGE
	.word	I40E_MAX_VF_PROMISC_FLAGS
	.word	FLAG_VF_UNICAST_PROMISC
	.word	FLAG_VF_MULTICAST_PROMISC
	.word	I40E_VF_STATE_MC_PROMISC
	.word	I40E_VF_STATE_UC_PROMISC
	.word	.LC3
	.word	.LC0
	.word	.LC1
	.word	.LC4
	.word	.LC2
	.size	i40e_vc_config_promiscuous_mode_msg, .-i40e_vc_config_promiscuous_mode_msg
	.comm	VIRTCHNL_OP_CONFIG_PROMISCUOUS_MODE,4,4
	.comm	I40E_VIRTCHNL_VF_CAP_PRIVILEGE,4,4
	.comm	I40E_VF_STATE_UC_PROMISC,4,4
	.comm	I40E_VF_STATE_MC_PROMISC,4,4
	.comm	I40E_VF_STATE_ACTIVE,4,4
	.comm	I40E_MAX_VF_PROMISC_FLAGS,4,4
	.comm	I40E_ERR_PARAM,4,4
	.comm	FLAG_VF_UNICAST_PROMISC,4,4
	.comm	FLAG_VF_MULTICAST_PROMISC,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
