	.file	"extr_be_main.c_be_enable_if_filters.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	be_enable_if_filters, @function
be_enable_if_filters:
.LFB0:
	.cfi_startproc
	endbr64
	mov	edx, DWORD PTR ON[rip]
	mov	esi, DWORD PTR BE_IF_FILT_FLAGS_BASIC[rip]
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	call	be_cmd_rx_filter@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L13
.L1:
	mov	eax, r12d
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	mov	rax, QWORD PTR 16[rbp]
	mov	edi, DWORD PTR 24[rbp]
	mov	esi, DWORD PTR [rax]
	call	ether_addr_equal@PLT
	test	eax, eax
	je	.L14
	cmp	QWORD PTR 8[rbp], 0
	jne	.L15
.L8:
	mov	rdi, rbp
	call	__be_set_rx_mode@PLT
	mov	eax, r12d
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	mov	edi, DWORD PTR 24[rbp]
	call	is_zero_ether_addr@PLT
	test	eax, eax
	jne	.L4
	mov	rax, QWORD PTR 0[rbp]
	mov	rdi, rbp
	mov	r13d, DWORD PTR [rax]
	mov	rax, QWORD PTR 16[rbp]
	mov	esi, DWORD PTR [rax]
	call	be_dev_mac_add@PLT
	test	eax, eax
	jne	.L10
	test	r13d, r13d
	js	.L6
	mov	rax, QWORD PTR 0[rbp]
	cmp	DWORD PTR [rax], r13d
	jne	.L16
.L6:
	mov	rax, QWORD PTR 16[rbp]
	mov	edi, DWORD PTR 24[rbp]
	mov	esi, DWORD PTR [rax]
	call	ether_addr_copy@PLT
	cmp	QWORD PTR 8[rbp], 0
	je	.L8
.L15:
	mov	rdi, rbp
	call	be_vid_config@PLT
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rax, QWORD PTR 16[rbp]
	mov	rdi, rbp
	mov	esi, DWORD PTR [rax]
	call	be_dev_mac_add@PLT
	test	eax, eax
	je	.L6
.L10:
	mov	r12d, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L16:
	mov	esi, r13d
	mov	rdi, rbp
	call	be_dev_mac_del@PLT
	jmp	.L6
	.cfi_endproc
.LFE0:
	.size	be_enable_if_filters, .-be_enable_if_filters
	.comm	ON,4,4
	.comm	BE_IF_FILT_FLAGS_BASIC,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_be_main.c_be_enable_if_filters.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	be_enable_if_filters, %function
be_enable_if_filters:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L20
	ldr	r2, .L20+4
	push	{r4, r5, r6, lr}
	ldr	r2, [r2]
	ldr	r1, [r3]
	mov	r4, r0
	bl	be_cmd_rx_filter
	subs	r5, r0, #0
	beq	.L16
.L1:
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L16:
	ldr	r3, [r4, #8]
	ldr	r0, [r4, #12]
	ldr	r1, [r3]
	bl	ether_addr_equal
	cmp	r0, #0
	beq	.L17
	ldr	r3, [r4, #4]
	cmp	r3, #0
	bne	.L18
.L8:
	mov	r0, r4
	bl	__be_set_rx_mode
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L17:
	ldr	r0, [r4, #12]
	bl	is_zero_ether_addr
	cmp	r0, #0
	bne	.L4
	ldr	r2, [r4, #8]
	ldr	r3, [r4]
	mov	r0, r4
	ldr	r1, [r2]
	ldr	r6, [r3]
	bl	be_dev_mac_add
	cmp	r0, #0
	bne	.L10
	cmp	r6, #0
	blt	.L6
	ldr	r3, [r4]
	ldr	r3, [r3]
	cmp	r3, r6
	bne	.L19
.L6:
	ldr	r3, [r4, #8]
	ldr	r0, [r4, #12]
	ldr	r1, [r3]
	bl	ether_addr_copy
	ldr	r3, [r4, #4]
	cmp	r3, #0
	beq	.L8
.L18:
	mov	r0, r4
	bl	be_vid_config
	b	.L8
.L4:
	ldr	r3, [r4, #8]
	mov	r0, r4
	ldr	r1, [r3]
	bl	be_dev_mac_add
	cmp	r0, #0
	beq	.L6
.L10:
	mov	r5, r0
	b	.L1
.L19:
	mov	r1, r6
	mov	r0, r4
	bl	be_dev_mac_del
	b	.L6
.L21:
	.align	2
.L20:
	.word	BE_IF_FILT_FLAGS_BASIC
	.word	ON
	.size	be_enable_if_filters, .-be_enable_if_filters
	.comm	ON,4,4
	.comm	BE_IF_FILT_FLAGS_BASIC,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
