	.file	"extr_ecore_sp.c_ecore_optimize_vlan_mac.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"ADD"
.LC1:
	.string	"DEL"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC2:
	.string	"Failed to return the credit for the optimized ADD command\n"
	.align 8
.LC3:
	.string	"Failed to recover the credit from the optimized DEL command\n"
	.section	.rodata.str1.1
.LC4:
	.string	"Optimizing %s command\n"
	.text
	.p2align 4
	.type	ecore_optimize_vlan_mac, @function
ecore_optimize_vlan_mac:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rdx
	mov	edx, 12
	mov	rsi, rbx
	sub	rsp, 32
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	lea	r12, 12[rsp]
	mov	rdi, r12
	call	ECORE_MEMCPY@PLT
	mov	edx, DWORD PTR 4[rbx]
	cmp	edx, 128
	je	.L2
	xor	eax, eax
	cmp	edx, 129
	jne	.L1
	mov	DWORD PTR 16[rsp], 128
.L4:
	lea	r14, 16[rbp]
	mov	rsi, r12
	mov	rdi, r14
	call	[QWORD PTR 24[rbp]]
	mov	r12, rax
	xor	eax, eax
	test	r12, r12
	je	.L1
	mov	edi, DWORD PTR ECORE_DONT_CONSUME_CAM_CREDIT[rip]
	lea	rsi, 8[r12]
	call	ECORE_TEST_BIT@PLT
	test	eax, eax
	jne	.L5
	cmp	DWORD PTR 16[rsp], 129
	je	.L15
.L6:
	mov	rdi, rbp
	call	[QWORD PTR 0[rbp]]
	test	eax, eax
	je	.L16
.L5:
	cmp	DWORD PTR 4[rbx], 129
	lea	rax, .LC1[rip]
	mov	rdi, r13
	lea	rdx, .LC0[rip]
	lea	rsi, .LC4[rip]
	cmovne	rdx, rax
	call	ECORE_MSG@PLT
	mov	rsi, r14
	mov	rdi, r12
	call	ECORE_LIST_REMOVE_ENTRY@PLT
	mov	rsi, r12
	mov	rdi, r13
	call	ecore_exe_queue_free_elem@PLT
	mov	eax, 1
.L1:
	mov	rcx, QWORD PTR 24[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L17
	add	rsp, 32
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	DWORD PTR 16[rsp], 129
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L15:
	mov	rdi, rbp
	call	[QWORD PTR 8[rbp]]
	test	eax, eax
	jne	.L6
	lea	rdi, .LC2[rip]
	call	ECORE_ERR@PLT
	mov	eax, DWORD PTR ECORE_INVAL[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L16:
	lea	rdi, .LC3[rip]
	call	ECORE_ERR@PLT
	mov	eax, DWORD PTR ECORE_INVAL[rip]
	jmp	.L1
.L17:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ecore_optimize_vlan_mac, .-ecore_optimize_vlan_mac
	.comm	ECORE_INVAL,4,4
	.comm	ECORE_DONT_CONSUME_CAM_CREDIT,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_ecore_sp.c_ecore_optimize_vlan_mac.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"ADD\000"
	.align	2
.LC1:
	.ascii	"DEL\000"
	.align	2
.LC2:
	.ascii	"Failed to return the credit for the optimized ADD c"
	.ascii	"ommand\012\000"
	.align	2
.LC3:
	.ascii	"Failed to recover the credit from the optimized DEL"
	.ascii	" command\012\000"
	.align	2
.LC4:
	.ascii	"Optimizing %s command\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ecore_optimize_vlan_mac, %function
ecore_optimize_vlan_mac:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r2
	ldr	r3, .L17
	sub	sp, sp, #16
	mov	r7, r0
	mov	r6, r1
	mov	r0, sp
	mov	r1, r2
	mov	r2, #12
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	bl	ECORE_MEMCPY
	ldr	r3, [r5, #4]
	cmp	r3, #128
	beq	.L2
	cmp	r3, #129
	moveq	r3, #128
	streq	r3, [sp, #4]
	beq	.L4
	mov	r0, #0
.L1:
	ldr	r3, .L17
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L14
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	mov	r3, #129
	str	r3, [sp, #4]
.L4:
	add	r8, r6, #8
	mov	r1, sp
	mov	r0, r8
	ldr	r3, [r6, #12]
	blx	r3
	subs	r4, r0, #0
	moveq	r0, r4
	beq	.L1
	ldr	r3, .L17+4
	add	r1, r4, #8
	ldr	r0, [r3]
	bl	ECORE_TEST_BIT
	cmp	r0, #0
	bne	.L5
	ldr	r3, [sp, #4]
	cmp	r3, #129
	beq	.L15
.L6:
	mov	r0, r6
	ldr	r3, [r6]
	blx	r3
	cmp	r0, #0
	beq	.L16
.L5:
	ldr	r0, [r5, #4]
	ldr	r3, .L17+8
	cmp	r0, #129
	ldr	r2, .L17+12
	ldr	r1, .L17+16
	movne	r2, r3
	mov	r0, r7
	bl	ECORE_MSG
	mov	r1, r8
	mov	r0, r4
	bl	ECORE_LIST_REMOVE_ENTRY
	mov	r1, r4
	mov	r0, r7
	bl	ecore_exe_queue_free_elem
	mov	r0, #1
	b	.L1
.L15:
	mov	r0, r6
	ldr	r3, [r6, #4]
	blx	r3
	cmp	r0, #0
	bne	.L6
	ldr	r0, .L17+20
	bl	ECORE_ERR
	ldr	r3, .L17+24
	ldr	r0, [r3]
	b	.L1
.L16:
	ldr	r0, .L17+28
	bl	ECORE_ERR
	ldr	r3, .L17+24
	ldr	r0, [r3]
	b	.L1
.L14:
	bl	__stack_chk_fail
.L18:
	.align	2
.L17:
	.word	.LC5
	.word	ECORE_DONT_CONSUME_CAM_CREDIT
	.word	.LC1
	.word	.LC0
	.word	.LC4
	.word	.LC2
	.word	ECORE_INVAL
	.word	.LC3
	.size	ecore_optimize_vlan_mac, .-ecore_optimize_vlan_mac
	.comm	ECORE_INVAL,4,4
	.comm	ECORE_DONT_CONSUME_CAM_CREDIT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
