	.file	"extr_ethsw.c_ethsw_add_vlan.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"dpsw_vlan_add err %d\n"
	.text
	.p2align 4
	.type	ethsw_add_vlan, @function
ethsw_add_vlan:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	rcx, rsi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rsi
	xor	esi, esi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	sub	rsp, 16
	.cfi_def_cfa_offset 48
	mov	edx, DWORD PTR 12[rdi]
	mov	edi, DWORD PTR 16[rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	lea	r8, 4[rsp]
	mov	DWORD PTR 4[rsp], 0
	call	dpsw_vlan_add@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L7
	mov	rax, QWORD PTR [rbx]
	mov	edx, DWORD PTR ETHSW_VLAN_MEMBER[rip]
	mov	DWORD PTR [rax+rbp*4], edx
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L8
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	edi, DWORD PTR 8[rbx]
	mov	edx, eax
	lea	rsi, .LC0[rip]
	call	dev_err@PLT
	jmp	.L1
.L8:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ethsw_add_vlan, .-ethsw_add_vlan
	.comm	ETHSW_VLAN_MEMBER,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_ethsw.c_ethsw_add_vlan.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"dpsw_vlan_add err %d\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ethsw_add_vlan, %function
ethsw_add_vlan:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r6, r1
	mov	r1, #0
	sub	sp, sp, #16
	add	ip, sp, #8
	ldr	r2, [r0, #8]
	mov	r4, r0
	ldr	r0, [r0, #12]
	str	ip, [sp]
	ldr	ip, .L9
	mov	r3, r6
	ldr	ip, [ip]
	str	ip, [sp, #12]
	mov	ip,#0
	str	r1, [sp, #8]
	bl	dpsw_vlan_add
	subs	r5, r0, #0
	bne	.L7
	ldr	r2, .L9+4
	ldr	r3, [r4]
	ldr	r2, [r2]
	str	r2, [r3, r6, lsl #2]
.L1:
	ldr	r3, .L9
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L8
	mov	r0, r5
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, pc}
.L7:
	mov	r2, r5
	ldr	r0, [r4, #4]
	ldr	r1, .L9+8
	bl	dev_err
	b	.L1
.L8:
	bl	__stack_chk_fail
.L10:
	.align	2
.L9:
	.word	.LC1
	.word	ETHSW_VLAN_MEMBER
	.word	.LC0
	.size	ethsw_add_vlan, .-ethsw_add_vlan
	.comm	ETHSW_VLAN_MEMBER,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
