	.file	"extr_vlan_dev.c_vlan_dev_stop.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	vlan_dev_stop, @function
vlan_dev_stop:
.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
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	vlan_dev_info@PLT
	mov	r12, QWORD PTR 8[rax]
	mov	eax, DWORD PTR [rax]
	test	DWORD PTR VLAN_FLAG_GVRP[rip], eax
	jne	.L20
.L2:
	mov	rsi, rbp
	mov	rdi, r12
	call	dev_mc_unsync@PLT
	mov	rsi, rbp
	mov	rdi, r12
	call	dev_unicast_unsync@PLT
	mov	eax, DWORD PTR 0[rbp]
	test	DWORD PTR IFF_ALLMULTI[rip], eax
	jne	.L21
.L3:
	test	DWORD PTR IFF_PROMISC[rip], eax
	jne	.L22
.L4:
	mov	esi, DWORD PTR 4[r12]
	mov	edi, DWORD PTR 4[rbp]
	call	compare_ether_addr@PLT
	test	rax, rax
	jne	.L23
.L5:
	mov	rdi, rbp
	call	netif_carrier_off@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L20:
	.cfi_restore_state
	mov	rdi, rbp
	call	vlan_gvrp_request_leave@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L23:
	mov	esi, DWORD PTR 4[rbp]
	mov	rdi, r12
	call	dev_unicast_delete@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L22:
	mov	esi, -1
	mov	rdi, r12
	call	dev_set_promiscuity@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L21:
	mov	esi, -1
	mov	rdi, r12
	call	dev_set_allmulti@PLT
	mov	eax, DWORD PTR 0[rbp]
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	vlan_dev_stop, .-vlan_dev_stop
	.comm	VLAN_FLAG_GVRP,4,4
	.comm	IFF_PROMISC,4,4
	.comm	IFF_ALLMULTI,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_stop.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	vlan_dev_stop, %function
vlan_dev_stop:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	bl	vlan_dev_info
	ldr	r3, .L24
	ldr	r2, [r0]
	ldr	r3, [r3]
	ldr	r5, [r0, #4]
	tst	r2, r3
	bne	.L20
.L2:
	mov	r1, r4
	mov	r0, r5
	bl	dev_mc_unsync
	mov	r1, r4
	mov	r0, r5
	bl	dev_unicast_unsync
	ldr	r2, .L24+4
	ldr	r3, [r4]
	ldr	r2, [r2]
	tst	r3, r2
	bne	.L21
.L3:
	ldr	r2, .L24+8
	ldr	r2, [r2]
	tst	r3, r2
	bne	.L22
.L4:
	ldr	r1, [r5, #4]
	ldr	r0, [r4, #4]
	bl	compare_ether_addr
	cmp	r0, #0
	bne	.L23
.L5:
	mov	r0, r4
	bl	netif_carrier_off
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L20:
	mov	r0, r4
	bl	vlan_gvrp_request_leave
	b	.L2
.L23:
	mov	r0, r5
	ldr	r1, [r4, #4]
	bl	dev_unicast_delete
	b	.L5
.L22:
	mvn	r1, #0
	mov	r0, r5
	bl	dev_set_promiscuity
	b	.L4
.L21:
	mvn	r1, #0
	mov	r0, r5
	bl	dev_set_allmulti
	ldr	r3, [r4]
	b	.L3
.L25:
	.align	2
.L24:
	.word	VLAN_FLAG_GVRP
	.word	IFF_ALLMULTI
	.word	IFF_PROMISC
	.size	vlan_dev_stop, .-vlan_dev_stop
	.comm	VLAN_FLAG_GVRP,4,4
	.comm	IFF_PROMISC,4,4
	.comm	IFF_ALLMULTI,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
