	.file	"extr_vlan_util.c_vlan_rem.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"VLAN: vlan_rem(if_name=%s)"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"VLAN: failed to open netlink socket"
	.align 8
.LC2:
	.string	"VLAN: failed to connect to netlink: %s"
	.align 8
.LC3:
	.string	"VLAN: interface %s does not exists"
	.align 8
.LC4:
	.string	"VLAN: failed to remove link %s: %s"
	.text
	.p2align 4
	.globl	vlan_rem
	.type	vlan_rem, @function
vlan_rem:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	rdx, rdi
	mov	r12, rdi
	lea	rsi, .LC0[rip]
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	sub	rsp, 24
	.cfi_def_cfa_offset 48
	mov	edi, DWORD PTR MSG_DEBUG[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	QWORD PTR [rsp], 0
	call	wpa_printf@PLT
	xor	eax, eax
	call	nl_socket_alloc@PLT
	test	rax, rax
	je	.L17
	mov	esi, DWORD PTR NETLINK_ROUTE[rip]
	mov	rdi, rax
	mov	rbp, rax
	call	nl_connect@PLT
	test	eax, eax
	js	.L18
	xor	esi, esi
	mov	rcx, rsp
	mov	rdx, r12
	mov	rdi, rbp
	call	rtnl_link_get_kernel@PLT
	test	eax, eax
	js	.L19
	mov	rsi, QWORD PTR [rsp]
	mov	rdi, rbp
	call	rtnl_link_delete@PLT
	test	eax, eax
	js	.L20
	xor	r12d, r12d
.L6:
	mov	rdi, QWORD PTR [rsp]
	test	rdi, rdi
	je	.L8
	call	rtnl_link_put@PLT
	.p2align 4,,10
	.p2align 3
.L8:
	mov	rdi, rbp
	call	nl_socket_free@PLT
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L21
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
.L18:
	.cfi_restore_state
	mov	edi, eax
	mov	r12d, -1
	call	nl_geterror@PLT
	mov	edi, DWORD PTR MSG_ERROR[rip]
	lea	rsi, .LC2[rip]
	mov	edx, eax
	xor	eax, eax
	call	wpa_printf@PLT
	jmp	.L6
.L19:
	mov	edi, DWORD PTR MSG_ERROR[rip]
	mov	rdx, r12
	lea	rsi, .LC3[rip]
	xor	eax, eax
	mov	r12d, -1
	call	wpa_printf@PLT
	jmp	.L6
.L17:
	mov	edi, DWORD PTR MSG_ERROR[rip]
	lea	rsi, .LC1[rip]
	xor	eax, eax
	call	wpa_printf@PLT
	mov	rdi, QWORD PTR [rsp]
	test	rdi, rdi
	je	.L15
	call	rtnl_link_put@PLT
.L15:
	mov	r12d, -1
	jmp	.L1
.L20:
	mov	edi, eax
	call	nl_geterror@PLT
	mov	edi, DWORD PTR MSG_ERROR[rip]
	mov	rdx, r12
	lea	rsi, .LC4[rip]
	mov	ecx, eax
	xor	eax, eax
	mov	r12d, -1
	call	wpa_printf@PLT
	jmp	.L6
.L21:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	vlan_rem, .-vlan_rem
	.comm	NETLINK_ROUTE,4,4
	.comm	MSG_ERROR,4,4
	.comm	MSG_DEBUG,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_util.c_vlan_rem.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"VLAN: vlan_rem(if_name=%s)\000"
	.align	2
.LC1:
	.ascii	"VLAN: failed to open netlink socket\000"
	.align	2
.LC2:
	.ascii	"VLAN: failed to connect to netlink: %s\000"
	.align	2
.LC3:
	.ascii	"VLAN: interface %s does not exists\000"
	.align	2
.LC4:
	.ascii	"VLAN: failed to remove link %s: %s\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	vlan_rem
	.syntax unified
	.arm
	.fpu softvfp
	.type	vlan_rem, %function
vlan_rem:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r5, #0
	ldr	r3, .L22
	mov	r2, r0
	mov	r6, r0
	ldr	r0, [r3]
	ldr	r3, .L22+4
	sub	sp, sp, #12
	ldr	r1, .L22+8
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	str	r5, [sp]
	bl	wpa_printf
	bl	nl_socket_alloc
	subs	r4, r0, #0
	beq	.L17
	ldr	r3, .L22+12
	ldr	r1, [r3]
	bl	nl_connect
	cmp	r0, #0
	blt	.L18
	mov	r3, sp
	mov	r2, r6
	mov	r1, r5
	mov	r0, r4
	bl	rtnl_link_get_kernel
	cmp	r0, #0
	blt	.L19
	mov	r0, r4
	ldr	r1, [sp]
	bl	rtnl_link_delete
	cmp	r0, #0
	blt	.L20
.L6:
	ldr	r0, [sp]
	cmp	r0, #0
	beq	.L8
	bl	rtnl_link_put
.L8:
	mov	r0, r4
	bl	nl_socket_free
.L1:
	ldr	r3, .L22+4
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L21
	mov	r0, r5
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L18:
	ldr	r3, .L22+16
	mvn	r5, #0
	ldr	r6, [r3]
	bl	nl_geterror
	ldr	r1, .L22+20
	mov	r2, r0
	mov	r0, r6
	bl	wpa_printf
	b	.L6
.L19:
	ldr	r3, .L22+16
	mov	r2, r6
	ldr	r0, [r3]
	ldr	r1, .L22+24
	bl	wpa_printf
	mvn	r5, #0
	b	.L6
.L17:
	ldr	r3, .L22+16
	ldr	r1, .L22+28
	ldr	r0, [r3]
	bl	wpa_printf
	ldr	r0, [sp]
	cmp	r0, r5
	beq	.L15
	bl	rtnl_link_put
.L15:
	mvn	r5, #0
	b	.L1
.L20:
	ldr	r3, .L22+16
	mvn	r5, #0
	ldr	r7, [r3]
	bl	nl_geterror
	mov	r2, r6
	mov	r3, r0
	ldr	r1, .L22+32
	mov	r0, r7
	bl	wpa_printf
	b	.L6
.L21:
	bl	__stack_chk_fail
.L23:
	.align	2
.L22:
	.word	MSG_DEBUG
	.word	.LC5
	.word	.LC0
	.word	NETLINK_ROUTE
	.word	MSG_ERROR
	.word	.LC2
	.word	.LC3
	.word	.LC1
	.word	.LC4
	.size	vlan_rem, .-vlan_rem
	.comm	NETLINK_ROUTE,4,4
	.comm	MSG_ERROR,4,4
	.comm	MSG_DEBUG,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
