	.file	"extr_if_msk.c_msk_rxfilter.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	msk_rxfilter, @function
msk_rxfilter:
.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
	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	rbx, rdi
	sub	rsp, 16
	.cfi_def_cfa_offset 64
	mov	rbp, QWORD PTR 16[rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	r14, rsp
	call	MSK_IF_LOCK_ASSERT@PLT
	mov	esi, 8
	mov	rdi, r14
	mov	r13, QWORD PTR 8[rbx]
	call	bzero@PLT
	mov	edx, DWORD PTR GM_RX_CTRL[rip]
	mov	esi, DWORD PTR [rbx]
	mov	rdi, rbp
	call	GMAC_READ_2@PLT
	mov	edx, DWORD PTR 0[r13]
	mov	r12d, eax
	mov	eax, DWORD PTR GM_RXCR_UCF_ENA[rip]
	test	DWORD PTR IFF_PROMISC[rip], edx
	je	.L2
	or	eax, DWORD PTR GM_RXCR_MCF_ENA[rip]
	movzx	ecx, WORD PTR [rsp]
	not	eax
	and	r12d, eax
.L3:
	mov	edx, DWORD PTR GM_MC_ADDR_H1[rip]
	mov	esi, DWORD PTR [rbx]
	mov	rdi, rbp
	call	GMAC_WRITE_2@PLT
	movzx	ecx, WORD PTR 2[rsp]
	mov	esi, DWORD PTR [rbx]
	mov	rdi, rbp
	mov	edx, DWORD PTR GM_MC_ADDR_H2[rip]
	call	GMAC_WRITE_2@PLT
	movzx	ecx, WORD PTR 4[rsp]
	mov	esi, DWORD PTR [rbx]
	mov	rdi, rbp
	mov	edx, DWORD PTR GM_MC_ADDR_H3[rip]
	call	GMAC_WRITE_2@PLT
	movzx	ecx, WORD PTR 6[rsp]
	mov	esi, DWORD PTR [rbx]
	mov	rdi, rbp
	mov	edx, DWORD PTR GM_MC_ADDR_H4[rip]
	call	GMAC_WRITE_2@PLT
	mov	edx, DWORD PTR GM_RX_CTRL[rip]
	mov	esi, DWORD PTR [rbx]
	mov	ecx, r12d
	mov	rdi, rbp
	call	GMAC_WRITE_2@PLT
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L11
	add	rsp, 16
	.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
	test	DWORD PTR IFF_ALLMULTI[rip], edx
	je	.L4
	or	eax, DWORD PTR GM_RXCR_MCF_ENA[rip]
	mov	ecx, 65535
	or	r12d, eax
	movabs	rax, 281470681808895
	mov	QWORD PTR [rsp], rax
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L4:
	mov	esi, DWORD PTR msk_hash_maddr[rip]
	mov	rdx, r14
	mov	rdi, r13
	or	r12d, eax
	call	if_foreach_llmaddr@PLT
	mov	eax, DWORD PTR [rsp]
	mov	ecx, eax
	or	ecx, DWORD PTR 4[rsp]
	je	.L3
	or	r12d, DWORD PTR GM_RXCR_MCF_ENA[rip]
	movzx	ecx, ax
	jmp	.L3
.L11:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	msk_rxfilter, .-msk_rxfilter
	.comm	msk_hash_maddr,4,4
	.comm	IFF_PROMISC,4,4
	.comm	IFF_ALLMULTI,4,4
	.comm	GM_RX_CTRL,4,4
	.comm	GM_RXCR_UCF_ENA,4,4
	.comm	GM_RXCR_MCF_ENA,4,4
	.comm	GM_MC_ADDR_H4,4,4
	.comm	GM_MC_ADDR_H3,4,4
	.comm	GM_MC_ADDR_H2,4,4
	.comm	GM_MC_ADDR_H1,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_msk.c_msk_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	msk_rxfilter, %function
msk_rxfilter:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	ldr	r3, .L12
	sub	sp, sp, #16
	ldr	r5, [r0, #8]
	ldr	r7, .L12+4
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	bl	MSK_IF_LOCK_ASSERT
	mov	r1, #8
	add	r0, sp, #4
	ldr	r8, [r4, #4]
	bl	bzero
	ldr	r2, [r7]
	mov	r0, r5
	ldr	r1, [r4]
	bl	GMAC_READ_2
	ldr	r2, .L12+8
	ldr	r3, [r8]
	ldr	r2, [r2]
	mov	r6, r0
	tst	r3, r2
	beq	.L2
	ldr	r2, .L12+12
	ldr	r3, .L12+16
	ldr	r0, [r2]
	ldr	r2, [r3]
	ldrh	r3, [sp, #4]
	orr	r0, r0, r2
	bic	r6, r6, r0
.L3:
	ldr	r2, .L12+20
	ldr	r1, [r4]
	ldr	r2, [r2]
	mov	r0, r5
	bl	GMAC_WRITE_2
	ldr	r2, .L12+24
	ldrh	r3, [sp, #6]
	ldr	r2, [r2]
	ldr	r1, [r4]
	mov	r0, r5
	bl	GMAC_WRITE_2
	ldr	r2, .L12+28
	ldrh	r3, [sp, #8]
	ldr	r2, [r2]
	ldr	r1, [r4]
	mov	r0, r5
	bl	GMAC_WRITE_2
	ldr	r2, .L12+32
	ldrh	r3, [sp, #10]
	ldr	r2, [r2]
	ldr	r1, [r4]
	mov	r0, r5
	bl	GMAC_WRITE_2
	mov	r3, r6
	ldr	r2, [r7]
	mov	r0, r5
	ldr	r1, [r4]
	bl	GMAC_WRITE_2
	ldr	r3, .L12
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L11
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	ldr	r2, .L12+36
	ldr	r1, .L12+12
	ldr	r2, [r2]
	ldr	ip, [r1]
	tst	r3, r2
	beq	.L4
	ldr	r2, .L12+16
	ldr	r3, .L12+40
	ldr	r0, [r2]
	str	r3, [sp, #4]
	orr	r0, ip, r0
	orr	r6, r0, r6
	str	r3, [sp, #8]
	b	.L3
.L4:
	ldr	r3, .L12+44
	add	r2, sp, #4
	ldr	r1, [r3]
	mov	r0, r8
	orr	r6, r6, ip
	bl	if_foreach_llmaddr
	ldmib	sp, {r2, r3}
	orrs	r3, r2, r3
	ldrne	r1, .L12+16
	lslne	r3, r2, #16
	ldrne	r2, [r1]
	lsrne	r3, r3, #16
	orrne	r6, r6, r2
	b	.L3
.L11:
	bl	__stack_chk_fail
.L13:
	.align	2
.L12:
	.word	.LC0
	.word	GM_RX_CTRL
	.word	IFF_PROMISC
	.word	GM_RXCR_UCF_ENA
	.word	GM_RXCR_MCF_ENA
	.word	GM_MC_ADDR_H1
	.word	GM_MC_ADDR_H2
	.word	GM_MC_ADDR_H3
	.word	GM_MC_ADDR_H4
	.word	IFF_ALLMULTI
	.word	65535
	.word	msk_hash_maddr
	.size	msk_rxfilter, .-msk_rxfilter
	.comm	msk_hash_maddr,4,4
	.comm	IFF_PROMISC,4,4
	.comm	IFF_ALLMULTI,4,4
	.comm	GM_RX_CTRL,4,4
	.comm	GM_RXCR_UCF_ENA,4,4
	.comm	GM_RXCR_MCF_ENA,4,4
	.comm	GM_MC_ADDR_H4,4,4
	.comm	GM_MC_ADDR_H3,4,4
	.comm	GM_MC_ADDR_H2,4,4
	.comm	GM_MC_ADDR_H1,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
