	.file	"extr_cpsw.c_cpsw_add_default_vlan.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	cpsw_add_default_vlan, @function
cpsw_add_default_vlan:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	rax, QWORD PTR CPSW_VERSION_1[rip]
	mov	r14, rdi
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13d, DWORD PTR CPSW2_PORT_VLAN[rip]
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbp, QWORD PTR 8[rdi]
	mov	r12d, DWORD PTR 24[rbp]
	cmp	QWORD PTR 0[rbp], rax
	jne	.L3
	mov	r13d, DWORD PTR CPSW1_PORT_VLAN[rip]
.L3:
	mov	rsi, QWORD PTR 32[rbp]
	mov	edi, r12d
	xor	ebx, ebx
	call	writel@PLT
	mov	eax, DWORD PTR 28[rbp]
	test	eax, eax
	jle	.L7
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rdi, QWORD PTR 16[rbp]
	mov	edx, r13d
	mov	esi, r12d
	add	rdi, rbx
	add	rbx, 1
	call	slave_write@PLT
	cmp	DWORD PTR 28[rbp], ebx
	jg	.L4
.L7:
	mov	edx, DWORD PTR ALE_ALL_PORTS[rip]
	mov	rax, QWORD PTR [r14]
	mov	r9d, edx
	mov	eax, DWORD PTR [rax]
	test	DWORD PTR IFF_ALLMULTI[rip], eax
	jne	.L5
	mov	r9d, DWORD PTR ALE_PORT_1[rip]
	or	r9d, DWORD PTR ALE_PORT_2[rip]
.L5:
	mov	edi, DWORD PTR 8[rbp]
	pop	rbx
	.cfi_def_cfa_offset 40
	mov	esi, r12d
	mov	r8d, edx
	pop	rbp
	.cfi_def_cfa_offset 32
	mov	ecx, edx
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	cpsw_ale_add_vlan@PLT
	.cfi_endproc
.LFE0:
	.size	cpsw_add_default_vlan, .-cpsw_add_default_vlan
	.comm	IFF_ALLMULTI,4,4
	.comm	CPSW_VERSION_1,8,8
	.comm	CPSW2_PORT_VLAN,4,4
	.comm	CPSW1_PORT_VLAN,4,4
	.comm	ALE_PORT_2,4,4
	.comm	ALE_PORT_1,4,4
	.comm	ALE_ALL_PORTS,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_cpsw.c_cpsw_add_default_vlan.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	cpsw_add_default_vlan, %function
cpsw_add_default_vlan:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r3, .L14
	ldr	r5, [r0, #4]
	ldr	r3, [r3]
	ldr	r2, [r5]
	ldr	r6, [r5, #12]
	cmp	r2, r3
	ldreq	r3, .L14+4
	ldrne	r3, .L14+8
	mov	r8, r0
	ldr	r1, [r5, #20]
	mov	r0, r6
	sub	sp, sp, #8
	ldr	r7, [r3]
	bl	writel
	ldr	r3, [r5, #16]
	cmp	r3, #0
	movgt	r4, #0
	ble	.L7
.L4:
	ldr	r0, [r5, #8]
	mov	r2, r7
	add	r0, r4, r0
	mov	r1, r6
	bl	slave_write
	ldr	r3, [r5, #16]
	add	r4, r4, #1
	cmp	r3, r4
	bgt	.L4
.L7:
	ldr	r2, [r8]
	ldr	r3, .L14+12
	ldr	r1, [r2]
	ldr	r2, [r3]
	ldr	r3, .L14+16
	tst	r1, r2
	ldr	r3, [r3]
	movne	r2, r3
	bne	.L5
	ldr	r2, .L14+20
	ldr	r1, .L14+24
	ldr	r2, [r2]
	ldr	r1, [r1]
	orr	r2, r2, r1
.L5:
	ldr	r0, [r5, #4]
	mov	r1, r6
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r2, r3
	bl	cpsw_ale_add_vlan
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L15:
	.align	2
.L14:
	.word	CPSW_VERSION_1
	.word	CPSW1_PORT_VLAN
	.word	CPSW2_PORT_VLAN
	.word	IFF_ALLMULTI
	.word	ALE_ALL_PORTS
	.word	ALE_PORT_1
	.word	ALE_PORT_2
	.size	cpsw_add_default_vlan, .-cpsw_add_default_vlan
	.comm	IFF_ALLMULTI,4,4
	.comm	CPSW_VERSION_1,4,4
	.comm	CPSW2_PORT_VLAN,4,4
	.comm	CPSW1_PORT_VLAN,4,4
	.comm	ALE_PORT_2,4,4
	.comm	ALE_PORT_1,4,4
	.comm	ALE_ALL_PORTS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
