	.file	"extr_fplustm.c_mac_update_multicast.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	mac_update_multicast
	.type	mac_update_multicast, @function
mac_update_multicast:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	ebp, DWORD PTR FM_IINV_CAM[rip]
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	mov	edi, DWORD PTR FM_AFCMD[rip]
	call	FM_A@PLT
	mov	esi, ebp
	mov	edi, eax
	call	outpw@PLT
	cmp	QWORD PTR 8[rbx], 0
	jne	.L9
.L2:
	mov	edi, DWORD PTR FM_AFMASK0[rip]
	call	FM_A@PLT
	mov	esi, 65535
	mov	edi, eax
	call	outpw@PLT
	mov	edi, DWORD PTR FM_AFMASK1[rip]
	call	FM_A@PLT
	mov	esi, 65535
	mov	edi, eax
	call	outpw@PLT
	mov	edi, DWORD PTR FM_AFMASK2[rip]
	call	FM_A@PLT
	mov	esi, 65535
	mov	edi, eax
	call	outpw@PLT
	mov	edi, DWORD PTR FM_AFPERS[rip]
	mov	ebp, DWORD PTR FM_VALID[rip]
	or	ebp, DWORD PTR FM_DA[rip]
	call	FM_A@PLT
	mov	esi, ebp
	mov	edi, eax
	call	outpw@PLT
	mov	eax, DWORD PTR FPMAX_MULTICAST[rip]
	mov	rbx, QWORD PTR [rbx]
	test	eax, eax
	jle	.L1
	xor	ebp, ebp
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L4:
	add	ebp, 1
	add	rbx, 16
	cmp	DWORD PTR FPMAX_MULTICAST[rip], ebp
	jle	.L1
.L5:
	cmp	QWORD PTR 8[rbx], 0
	je	.L4
	xor	eax, eax
	add	ebp, 1
	add	rbx, 16
	call	CHECK_CAM@PLT
	mov	rax, QWORD PTR -16[rbx]
	mov	edi, DWORD PTR FM_AFCOMP2[rip]
	mov	r12d, DWORD PTR [rax]
	sal	r12d, 8
	add	r12d, DWORD PTR 4[rax]
	call	FM_A@PLT
	mov	esi, r12d
	mov	edi, eax
	call	outpw@PLT
	mov	rax, QWORD PTR -16[rbx]
	mov	edi, DWORD PTR FM_AFCOMP1[rip]
	mov	r12d, DWORD PTR 8[rax]
	sal	r12d, 8
	add	r12d, DWORD PTR 12[rax]
	call	FM_A@PLT
	mov	esi, r12d
	mov	edi, eax
	call	outpw@PLT
	mov	rax, QWORD PTR -16[rbx]
	mov	edi, DWORD PTR FM_AFCOMP0[rip]
	mov	r12d, DWORD PTR 16[rax]
	sal	r12d, 8
	add	r12d, DWORD PTR 20[rax]
	call	FM_A@PLT
	mov	esi, r12d
	mov	edi, eax
	call	outpw@PLT
	mov	edi, DWORD PTR FM_AFCMD[rip]
	mov	r12d, DWORD PTR FM_IWRITE_CAM[rip]
	call	FM_A@PLT
	mov	esi, r12d
	mov	edi, eax
	call	outpw@PLT
	cmp	DWORD PTR FPMAX_MULTICAST[rip], ebp
	jg	.L5
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	edi, DWORD PTR FM_AFMASK2[rip]
	call	FM_A@PLT
	mov	esi, 65535
	mov	edi, eax
	call	outpw@PLT
	mov	ebp, DWORD PTR 8[rbx]
	mov	edi, DWORD PTR FM_AFMASK1[rip]
	sal	ebp, 8
	add	ebp, DWORD PTR 12[rbx]
	call	FM_A@PLT
	not	ebp
	mov	esi, ebp
	mov	edi, eax
	call	outpw@PLT
	mov	ebp, DWORD PTR 16[rbx]
	mov	edi, DWORD PTR FM_AFMASK0[rip]
	sal	ebp, 8
	add	ebp, DWORD PTR 20[rbx]
	call	FM_A@PLT
	not	ebp
	mov	esi, ebp
	mov	edi, eax
	call	outpw@PLT
	mov	edi, DWORD PTR FM_AFPERS[rip]
	mov	ebp, DWORD PTR FM_VALID[rip]
	or	ebp, DWORD PTR FM_DA[rip]
	call	FM_A@PLT
	mov	esi, ebp
	mov	edi, eax
	call	outpw@PLT
	mov	edi, DWORD PTR FM_AFCOMP2[rip]
	call	FM_A@PLT
	mov	esi, 49152
	mov	edi, eax
	call	outpw@PLT
	mov	edi, DWORD PTR FM_AFCOMP1[rip]
	call	FM_A@PLT
	xor	esi, esi
	mov	edi, eax
	call	outpw@PLT
	mov	edi, DWORD PTR FM_AFCOMP0[rip]
	call	FM_A@PLT
	xor	esi, esi
	mov	edi, eax
	call	outpw@PLT
	mov	edi, DWORD PTR FM_AFCMD[rip]
	mov	ebp, DWORD PTR FM_IWRITE_CAM[rip]
	call	FM_A@PLT
	mov	esi, ebp
	mov	edi, eax
	call	outpw@PLT
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	mac_update_multicast, .-mac_update_multicast
	.comm	FPMAX_MULTICAST,4,4
	.comm	FM_VALID,4,4
	.comm	FM_IWRITE_CAM,4,4
	.comm	FM_IINV_CAM,4,4
	.comm	FM_DA,4,4
	.comm	FM_AFPERS,4,4
	.comm	FM_AFMASK2,4,4
	.comm	FM_AFMASK1,4,4
	.comm	FM_AFMASK0,4,4
	.comm	FM_AFCOMP2,4,4
	.comm	FM_AFCOMP1,4,4
	.comm	FM_AFCOMP0,4,4
	.comm	FM_AFCMD,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_fplustm.c_mac_update_multicast.c"
	.text
	.align	2
	.global	mac_update_multicast
	.syntax unified
	.arm
	.fpu softvfp
	.type	mac_update_multicast, %function
mac_update_multicast:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r4, r0
	ldr	r6, .L15
	ldr	r9, .L15+4
	ldr	r0, [r6]
	bl	FM_A
	ldr	r3, .L15+8
	ldr	r10, .L15+12
	ldr	r1, [r3]
	bl	outpw
	ldr	r3, [r4, #4]
	cmp	r3, #0
	bne	.L12
	ldr	fp, .L15+16
	ldr	r8, .L15+20
	ldr	r7, .L15+24
	ldr	r5, .L15+28
.L2:
	ldr	r0, [fp]
	bl	FM_A
	ldr	r1, .L15+32
	bl	outpw
	ldr	r0, [r10]
	bl	FM_A
	ldr	r1, .L15+32
	bl	outpw
	ldr	r0, [r9]
	bl	FM_A
	ldr	r1, .L15+32
	bl	outpw
	ldr	r0, [r8]
	bl	FM_A
	ldr	r3, [r5]
	ldr	r1, [r7]
	ldr	fp, .L15+36
	orr	r1, r1, r3
	bl	outpw
	ldr	r3, [fp]
	ldr	r5, [r4]
	cmp	r3, #0
	pople	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
	mov	r4, #0
	ldr	r10, .L15+40
	ldr	r9, .L15+44
	ldr	r8, .L15+48
	add	r7, r5, #4
	b	.L5
.L4:
	ldr	r3, [fp]
	add	r4, r4, #1
	cmp	r3, r4
	pople	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L5:
	ldr	r3, [r7, r4, lsl #3]
	cmp	r3, #0
	beq	.L4
	bl	CHECK_CAM
	ldr	r0, [r10]
	bl	FM_A
	ldr	r3, [r5, r4, lsl #3]
	ldm	r3, {r1, r3}
	add	r1, r3, r1, lsl #8
	bl	outpw
	ldr	r0, [r9]
	bl	FM_A
	ldr	r3, [r5, r4, lsl #3]
	ldr	r1, [r3, #8]
	ldr	r3, [r3, #12]
	add	r1, r3, r1, lsl #8
	bl	outpw
	ldr	r0, [r8]
	bl	FM_A
	ldr	r3, [r5, r4, lsl #3]
	ldr	r1, [r3, #16]
	ldr	r3, [r3, #20]
	add	r1, r3, r1, lsl #8
	bl	outpw
	ldr	r0, [r6]
	bl	FM_A
	ldr	r3, .L15+52
	ldr	r1, [r3]
	bl	outpw
	b	.L4
.L12:
	ldr	r0, [r9]
	bl	FM_A
	ldr	r1, .L15+32
	bl	outpw
	ldr	r0, [r10]
	bl	FM_A
	ldr	r3, [r4, #4]
	ldr	r1, [r4, #8]
	ldr	fp, .L15+16
	add	r1, r1, r3, lsl #8
	mvn	r1, r1
	bl	outpw
	ldr	r0, [fp]
	bl	FM_A
	ldr	r3, [r4, #12]
	ldr	r1, [r4, #16]
	ldr	r8, .L15+20
	add	r1, r1, r3, lsl #8
	mvn	r1, r1
	ldr	r7, .L15+24
	ldr	r5, .L15+28
	bl	outpw
	ldr	r0, [r8]
	bl	FM_A
	ldr	r3, [r5]
	ldr	r1, [r7]
	orr	r1, r1, r3
	bl	outpw
	ldr	r3, .L15+40
	ldr	r0, [r3]
	bl	FM_A
	mov	r1, #49152
	bl	outpw
	ldr	r3, .L15+44
	ldr	r0, [r3]
	bl	FM_A
	mov	r1, #0
	bl	outpw
	ldr	r3, .L15+48
	ldr	r0, [r3]
	bl	FM_A
	mov	r1, #0
	bl	outpw
	ldr	r0, [r6]
	bl	FM_A
	ldr	r3, .L15+52
	ldr	r1, [r3]
	bl	outpw
	b	.L2
.L16:
	.align	2
.L15:
	.word	FM_AFCMD
	.word	FM_AFMASK2
	.word	FM_IINV_CAM
	.word	FM_AFMASK1
	.word	FM_AFMASK0
	.word	FM_AFPERS
	.word	FM_VALID
	.word	FM_DA
	.word	65535
	.word	FPMAX_MULTICAST
	.word	FM_AFCOMP2
	.word	FM_AFCOMP1
	.word	FM_AFCOMP0
	.word	FM_IWRITE_CAM
	.size	mac_update_multicast, .-mac_update_multicast
	.comm	FPMAX_MULTICAST,4,4
	.comm	FM_VALID,4,4
	.comm	FM_IWRITE_CAM,4,4
	.comm	FM_IINV_CAM,4,4
	.comm	FM_DA,4,4
	.comm	FM_AFPERS,4,4
	.comm	FM_AFMASK2,4,4
	.comm	FM_AFMASK1,4,4
	.comm	FM_AFMASK0,4,4
	.comm	FM_AFCOMP2,4,4
	.comm	FM_AFCOMP1,4,4
	.comm	FM_AFCOMP0,4,4
	.comm	FM_AFCMD,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
