	.file	"extr_vlan_dev.c_vlan_dev_change_flags.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	vlan_dev_change_flags
	.type	vlan_dev_change_flags, @function
vlan_dev_change_flags:
.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
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	ebp, edx
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	ebx, esi
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	call	vlan_dev_priv@PLT
	mov	r14, rax
	mov	eax, DWORD PTR VLAN_FLAG_REORDER_HDR[rip]
	or	eax, DWORD PTR VLAN_FLAG_GVRP[rip]
	or	eax, DWORD PTR VLAN_FLAG_LOOSE_BINDING[rip]
	or	eax, DWORD PTR VLAN_FLAG_MVRP[rip]
	or	eax, DWORD PTR VLAN_FLAG_BRIDGE_BINDING[rip]
	not	eax
	and	eax, ebp
	je	.L2
	mov	r12d, DWORD PTR EINVAL[rip]
	neg	r12d
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r12d
	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
.L2:
	.cfi_restore_state
	mov	r15d, DWORD PTR [r14]
	mov	rdi, r13
	mov	r12d, eax
	xor	ebx, r15d
	and	ebp, ebx
	xor	ebp, r15d
	mov	DWORD PTR [r14], ebp
	call	netif_running@PLT
	test	rax, rax
	je	.L4
	mov	edx, DWORD PTR [r14]
	mov	eax, DWORD PTR VLAN_FLAG_GVRP[rip]
	mov	ecx, edx
	xor	ecx, r15d
	test	ecx, eax
	je	.L4
	mov	rdi, r13
	test	edx, eax
	je	.L5
	call	vlan_gvrp_request_join@PLT
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rdi, r13
	call	netif_running@PLT
	test	rax, rax
	je	.L1
	mov	edx, DWORD PTR [r14]
	mov	eax, DWORD PTR VLAN_FLAG_MVRP[rip]
	xor	r15d, edx
	test	r15d, eax
	je	.L7
	mov	rdi, r13
	test	edx, eax
	je	.L6
	call	vlan_mvrp_request_join@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L7:
	xor	r12d, r12d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L6:
	call	vlan_mvrp_request_leave@PLT
	xor	r12d, r12d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L5:
	call	vlan_gvrp_request_leave@PLT
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	vlan_dev_change_flags, .-vlan_dev_change_flags
	.comm	VLAN_FLAG_REORDER_HDR,4,4
	.comm	VLAN_FLAG_MVRP,4,4
	.comm	VLAN_FLAG_LOOSE_BINDING,4,4
	.comm	VLAN_FLAG_GVRP,4,4
	.comm	VLAN_FLAG_BRIDGE_BINDING,4,4
	.comm	EINVAL,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_vlan_dev.c_vlan_dev_change_flags.c"
	.text
	.align	2
	.global	vlan_dev_change_flags
	.syntax unified
	.arm
	.fpu softvfp
	.type	vlan_dev_change_flags, %function
vlan_dev_change_flags:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r6, r2
	mov	r4, r1
	mov	r5, r0
	ldr	r9, .L21
	bl	vlan_dev_priv
	ldr	r3, .L21+4
	ldr	r1, .L21+8
	ldr	r2, [r9]
	ldr	r3, [r3]
	ldr	r1, [r1]
	ldr	r7, .L21+12
	orr	r3, r3, r2
	ldr	r2, .L21+16
	orr	r3, r3, r1
	ldr	r1, [r7]
	ldr	r2, [r2]
	orr	r3, r3, r1
	orr	r3, r3, r2
	bics	r3, r6, r3
	beq	.L2
	ldr	r3, .L21+20
	ldr	r4, [r3]
	rsb	r4, r4, #0
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L2:
	mov	r10, r0
	ldr	r8, [r0]
	mov	r0, r5
	eor	r4, r4, r8
	and	r6, r6, r4
	eor	r6, r6, r8
	str	r6, [r10]
	bl	netif_running
	cmp	r0, #0
	beq	.L4
	ldr	r2, [r10]
	ldr	r3, [r9]
	eor	r1, r2, r8
	tst	r1, r3
	beq	.L4
	tst	r2, r3
	mov	r0, r5
	beq	.L5
	bl	vlan_gvrp_request_join
.L4:
	mov	r0, r5
	bl	netif_running
	subs	r4, r0, #0
	beq	.L1
	ldr	r2, [r10]
	ldr	r3, [r7]
	eor	r4, r2, r8
	ands	r4, r4, r3
	beq	.L1
	ands	r4, r2, r3
	mov	r0, r5
	beq	.L6
	bl	vlan_mvrp_request_join
	mov	r4, #0
	b	.L1
.L6:
	bl	vlan_mvrp_request_leave
	b	.L1
.L5:
	bl	vlan_gvrp_request_leave
	b	.L4
.L22:
	.align	2
.L21:
	.word	VLAN_FLAG_GVRP
	.word	VLAN_FLAG_REORDER_HDR
	.word	VLAN_FLAG_LOOSE_BINDING
	.word	VLAN_FLAG_MVRP
	.word	VLAN_FLAG_BRIDGE_BINDING
	.word	EINVAL
	.size	vlan_dev_change_flags, .-vlan_dev_change_flags
	.comm	VLAN_FLAG_REORDER_HDR,4,4
	.comm	VLAN_FLAG_MVRP,4,4
	.comm	VLAN_FLAG_LOOSE_BINDING,4,4
	.comm	VLAN_FLAG_GVRP,4,4
	.comm	VLAN_FLAG_BRIDGE_BINDING,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
