	.file	"extr_ixl_pf_main.c_ixl_add_filter.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"ixl_add_filter: begin"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"WARNING: no filter available!!\n"
	.text
	.p2align 4
	.globl	ixl_add_filter
	.type	ixl_add_filter, @function
ixl_add_filter:
.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, rsi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	lea	rdi, .LC0[rip]
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	DEBUGOUT@PLT
	mov	rax, QWORD PTR 8[rbp]
	mov	rdx, r12
	mov	rsi, r13
	mov	rdi, rbp
	mov	r14d, DWORD PTR [rax]
	call	ixl_find_filter@PLT
	test	rax, rax
	je	.L14
	add	rsp, 8
	.cfi_remember_state
	.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
.L14:
	.cfi_restore_state
	mov	rdx, QWORD PTR IXL_VLAN_ANY[rip]
	cmp	rdx, r12
	je	.L4
	cmp	DWORD PTR 0[rbp], 1
	je	.L15
.L4:
	mov	rdx, r12
	mov	rsi, r13
	mov	rdi, rbp
	call	ixl_new_filter@PLT
	test	rax, rax
	je	.L16
	mov	esi, DWORD PTR 8[rax]
	mov	rcx, QWORD PTR IXL_VLAN_ANY[rip]
	cmp	QWORD PTR [rax], rcx
	je	.L7
	or	esi, DWORD PTR IXL_FILTER_VLAN[rip]
.L8:
	or	esi, DWORD PTR IXL_FILTER_USED[rip]
	mov	rdi, rbp
	mov	edx, 1
	mov	DWORD PTR 8[rax], esi
	add	rsp, 8
	.cfi_remember_state
	.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
	jmp	ixl_add_hw_filters@PLT
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	add	DWORD PTR 4[rbp], 1
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L15:
	mov	rsi, r13
	mov	rdi, rbp
	call	ixl_find_filter@PLT
	test	rax, rax
	je	.L4
	mov	rdx, QWORD PTR IXL_VLAN_ANY[rip]
	mov	rsi, r13
	mov	rdi, rbp
	call	ixl_del_filter@PLT
	xor	edx, edx
	mov	rsi, r13
	mov	rdi, rbp
	call	ixl_add_filter
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L16:
	add	rsp, 8
	.cfi_def_cfa_offset 40
	mov	edi, r14d
	lea	rsi, .LC1[rip]
	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
	jmp	device_printf@PLT
	.cfi_endproc
.LFE0:
	.size	ixl_add_filter, .-ixl_add_filter
	.comm	IXL_VLAN_ANY,8,8
	.comm	IXL_FILTER_VLAN,4,4
	.comm	IXL_FILTER_USED,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_ixl_pf_main.c_ixl_add_filter.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"ixl_add_filter: begin\000"
	.align	2
.LC1:
	.ascii	"WARNING: no filter available!!\012\000"
	.text
	.align	2
	.global	ixl_add_filter
	.syntax unified
	.arm
	.fpu softvfp
	.type	ixl_add_filter, %function
ixl_add_filter:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r4, r0
	mov	r7, r1
	mov	r5, r2
	ldr	r0, .L16
	bl	DEBUGOUT
	ldr	r3, [r4, #8]
	mov	r2, r5
	mov	r1, r7
	mov	r0, r4
	ldr	r8, [r3]
	bl	ixl_find_filter
	subs	r6, r0, #0
	popne	{r4, r5, r6, r7, r8, r9, r10, pc}
	ldr	r9, .L16+4
	ldr	r2, [r9]
	cmp	r2, r5
	beq	.L4
	ldr	r3, [r4]
	cmp	r3, #1
	beq	.L14
.L4:
	mov	r2, r5
	mov	r1, r7
	mov	r0, r4
	bl	ixl_new_filter
	subs	r3, r0, #0
	beq	.L15
	ldm	r3, {r0, r1}
	ldr	r2, [r9]
	cmp	r0, r2
	ldrne	r2, .L16+8
	ldreq	r2, [r4, #4]
	ldrne	r2, [r2]
	addeq	r2, r2, #1
	streq	r2, [r4, #4]
	orrne	r1, r1, r2
	ldr	r2, .L16+12
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	ip, [r2]
	mov	r2, #1
	orr	r1, r1, ip
	str	r1, [r3, #4]
	b	ixl_add_hw_filters
.L14:
	mov	r1, r7
	mov	r0, r4
	bl	ixl_find_filter
	cmp	r0, #0
	beq	.L4
	mov	r1, r7
	ldr	r2, [r9]
	mov	r0, r4
	bl	ixl_del_filter
	mov	r2, r6
	mov	r1, r7
	mov	r0, r4
	bl	ixl_add_filter
	b	.L4
.L15:
	mov	r0, r8
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r1, .L16+16
	b	device_printf
.L17:
	.align	2
.L16:
	.word	.LC0
	.word	IXL_VLAN_ANY
	.word	IXL_FILTER_VLAN
	.word	IXL_FILTER_USED
	.word	.LC1
	.size	ixl_add_filter, .-ixl_add_filter
	.comm	IXL_VLAN_ANY,4,4
	.comm	IXL_FILTER_VLAN,4,4
	.comm	IXL_FILTER_USED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
