	.file	"extr_if_rl.c_rl_rxfilter.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	rl_rxfilter, @function
rl_rxfilter:
.LFB0:
	.cfi_startproc
	endbr64
	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
	sub	rsp, 16
	.cfi_def_cfa_offset 48
	mov	r13, QWORD PTR [rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	QWORD PTR [rsp], 0
	call	RL_LOCK_ASSERT@PLT
	mov	esi, DWORD PTR RL_RXCFG[rip]
	mov	rdi, rbp
	call	CSR_READ_4@PLT
	mov	esi, DWORD PTR RL_RXCFG_RX_ALLPHYS[rip]
	mov	edx, DWORD PTR RL_RXCFG_RX_BROAD[rip]
	mov	ecx, DWORD PTR RL_RXCFG_RX_MULTI[rip]
	mov	r12d, esi
	or	r12d, edx
	or	r12d, ecx
	not	r12d
	and	r12d, eax
	or	r12d, DWORD PTR RL_RXCFG_RX_INDIV[rip]
	mov	eax, DWORD PTR 0[r13]
	or	edx, r12d
	test	DWORD PTR IFF_BROADCAST[rip], eax
	cmovne	r12d, edx
	mov	edx, DWORD PTR IFF_PROMISC[rip]
	and	edx, eax
	test	DWORD PTR IFF_ALLMULTI[rip], eax
	jne	.L3
	test	edx, edx
	je	.L22
	or	r12d, ecx
.L8:
	or	r12d, esi
.L6:
	mov	QWORD PTR [rsp], -1
	mov	edx, -1
.L7:
	mov	esi, DWORD PTR RL_MAR0[rip]
	mov	rdi, rbp
	call	CSR_WRITE_4@PLT
	mov	edx, DWORD PTR 4[rsp]
	mov	esi, DWORD PTR RL_MAR4[rip]
	mov	rdi, rbp
	call	CSR_WRITE_4@PLT
	mov	esi, DWORD PTR RL_RXCFG[rip]
	mov	edx, r12d
	mov	rdi, rbp
	call	CSR_WRITE_4@PLT
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L23
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	pop	rbp
	.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
.L3:
	.cfi_restore_state
	or	r12d, ecx
	test	edx, edx
	je	.L6
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L22:
	mov	esi, DWORD PTR rl_hash_maddr[rip]
	mov	rdx, rsp
	mov	rdi, r13
	call	if_foreach_llmaddr@PLT
	mov	eax, DWORD PTR [rsp]
	mov	edx, eax
	or	edx, DWORD PTR 4[rsp]
	je	.L7
	or	r12d, DWORD PTR RL_RXCFG_RX_MULTI[rip]
	mov	edx, eax
	jmp	.L7
.L23:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	rl_rxfilter, .-rl_rxfilter
	.comm	rl_hash_maddr,4,4
	.comm	RL_RXCFG_RX_MULTI,4,4
	.comm	RL_RXCFG_RX_INDIV,4,4
	.comm	RL_RXCFG_RX_BROAD,4,4
	.comm	RL_RXCFG_RX_ALLPHYS,4,4
	.comm	RL_RXCFG,4,4
	.comm	RL_MAR4,4,4
	.comm	RL_MAR0,4,4
	.comm	IFF_PROMISC,4,4
	.comm	IFF_BROADCAST,4,4
	.comm	IFF_ALLMULTI,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_if_rl.c_rl_rxfilter.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	rl_rxfilter, %function
rl_rxfilter:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	mov	r3, #0
	mov	r6, r0
	ldr	r2, .L25
	ldr	r5, .L25+4
	sub	sp, sp, #20
	ldr	r2, [r2]
	str	r2, [sp, #12]
	mov	r2,#0
	ldr	r8, [r0]
	str	r3, [sp, #4]
	str	r3, [sp, #8]
	bl	RL_LOCK_ASSERT
	ldr	r1, [r5]
	mov	r0, r6
	bl	CSR_READ_4
	ldr	r2, .L25+8
	ldr	r3, .L25+12
	ldr	r7, .L25+16
	ldr	r1, [r3]
	ldr	ip, [r2]
	ldr	r3, .L25+20
	ldr	lr, .L25+24
	ldr	r2, [r7]
	orr	r4, ip, r1
	ldr	r9, [r3]
	ldr	lr, [lr]
	ldr	r3, [r8]
	orr	r4, r4, r2
	bic	r4, r0, r4
	tst	r3, lr
	ldr	r0, .L25+28
	orr	r4, r4, r9
	orrne	r4, r4, r1
	ldr	r1, .L25+32
	ldr	r0, [r0]
	ldr	r1, [r1]
	tst	r3, r0
	and	r3, r3, r1
	bne	.L3
	cmp	r3, #0
	orrne	r4, r4, r2
	beq	.L23
.L8:
	orr	r4, r4, ip
.L6:
	mvn	r2, #0
	str	r2, [sp, #4]
	str	r2, [sp, #8]
.L7:
	ldr	r3, .L25+36
	mov	r0, r6
	ldr	r1, [r3]
	bl	CSR_WRITE_4
	ldr	r3, .L25+40
	ldr	r2, [sp, #8]
	ldr	r1, [r3]
	mov	r0, r6
	bl	CSR_WRITE_4
	mov	r2, r4
	mov	r0, r6
	ldr	r1, [r5]
	bl	CSR_WRITE_4
	ldr	r3, .L25
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L24
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L3:
	cmp	r3, #0
	orr	r4, r4, r2
	beq	.L6
	b	.L8
.L23:
	ldr	r3, .L25+44
	add	r2, sp, #4
	ldr	r1, [r3]
	mov	r0, r8
	bl	if_foreach_llmaddr
	ldr	r3, [sp, #4]
	ldr	r2, [sp, #8]
	orrs	r2, r3, r2
	movne	r2, r3
	ldrne	r3, [r7]
	orrne	r4, r4, r3
	b	.L7
.L24:
	bl	__stack_chk_fail
.L26:
	.align	2
.L25:
	.word	.LC0
	.word	RL_RXCFG
	.word	RL_RXCFG_RX_ALLPHYS
	.word	RL_RXCFG_RX_BROAD
	.word	RL_RXCFG_RX_MULTI
	.word	RL_RXCFG_RX_INDIV
	.word	IFF_BROADCAST
	.word	IFF_ALLMULTI
	.word	IFF_PROMISC
	.word	RL_MAR0
	.word	RL_MAR4
	.word	rl_hash_maddr
	.size	rl_rxfilter, .-rl_rxfilter
	.comm	rl_hash_maddr,4,4
	.comm	RL_RXCFG_RX_MULTI,4,4
	.comm	RL_RXCFG_RX_INDIV,4,4
	.comm	RL_RXCFG_RX_BROAD,4,4
	.comm	RL_RXCFG_RX_ALLPHYS,4,4
	.comm	RL_RXCFG,4,4
	.comm	RL_MAR4,4,4
	.comm	RL_MAR0,4,4
	.comm	IFF_PROMISC,4,4
	.comm	IFF_BROADCAST,4,4
	.comm	IFF_ALLMULTI,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
