	.file	"extr_fwio.c_p54_set_groupfilter.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	p54_set_groupfilter
	.type	p54_set_groupfilter, @function
p54_set_groupfilter:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r8d, DWORD PTR GFP_KERNEL[rip]
	mov	edx, 24
	mov	ecx, DWORD PTR P54_CONTROL_TYPE_GROUP_ADDRESS_TABLE[rip]
	mov	esi, DWORD PTR P54_HDR_FLAG_CONTROL_OPSET[rip]
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	call	p54_alloc_skb@PLT
	test	rax, rax
	je	.L8
	mov	esi, 24
	mov	rdi, rax
	mov	r12, rax
	call	skb_put@PLT
	mov	rbx, rax
	mov	eax, DWORD PTR 0[rbp]
	test	DWORD PTR FIF_ALLMULTI[rip], eax
	jne	.L4
	mov	eax, DWORD PTR 4[rbp]
	test	eax, eax
	jle	.L4
	cmp	eax, DWORD PTR MC_FILTER_ADDRESS_NUM[rip]
	jle	.L9
.L4:
	xor	edi, edi
	call	cpu_to_le16@PLT
	xor	edi, edi
	mov	QWORD PTR 16[rbx], rax
	call	cpu_to_le16@PLT
	mov	edi, DWORD PTR [rbx]
	mov	edx, 4
	xor	esi, esi
	mov	QWORD PTR 8[rbx], rax
	call	memset@PLT
.L5:
	mov	rsi, r12
	mov	rdi, rbp
	call	p54_tx@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	eax, DWORD PTR ENOMEM[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	neg	eax
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	edi, 1
	call	cpu_to_le16@PLT
	mov	edi, DWORD PTR 4[rbp]
	mov	QWORD PTR 16[rbx], rax
	call	cpu_to_le16@PLT
	mov	esi, DWORD PTR 8[rbp]
	mov	edi, DWORD PTR [rbx]
	mov	edx, 4
	mov	QWORD PTR 8[rbx], rax
	call	memcpy@PLT
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	p54_set_groupfilter, .-p54_set_groupfilter
	.comm	P54_HDR_FLAG_CONTROL_OPSET,4,4
	.comm	P54_CONTROL_TYPE_GROUP_ADDRESS_TABLE,4,4
	.comm	MC_FILTER_ADDRESS_NUM,4,4
	.comm	GFP_KERNEL,4,4
	.comm	FIF_ALLMULTI,4,4
	.comm	ENOMEM,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_fwio.c_p54_set_groupfilter.c"
	.text
	.align	2
	.global	p54_set_groupfilter
	.syntax unified
	.arm
	.fpu softvfp
	.type	p54_set_groupfilter, %function
p54_set_groupfilter:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r2, .L10
	sub	sp, sp, #8
	ldr	r1, [r2]
	ldr	r3, .L10+4
	ldr	r2, .L10+8
	str	r1, [sp]
	ldr	r1, [r2]
	ldr	r3, [r3]
	mov	r2, #12
	mov	r4, r0
	bl	p54_alloc_skb
	subs	r6, r0, #0
	beq	.L8
	mov	r1, #12
	bl	skb_put
	ldr	r3, .L10+12
	ldr	r2, [r4]
	ldr	r3, [r3]
	mov	r5, r0
	tst	r2, r3
	bne	.L4
	ldr	r3, [r4, #4]
	cmp	r3, #0
	ble	.L4
	ldr	r2, .L10+16
	ldr	r2, [r2]
	cmp	r3, r2
	ble	.L9
.L4:
	mov	r0, #0
	bl	cpu_to_le16
	mov	r3, r0
	mov	r0, #0
	str	r3, [r5, #8]
	bl	cpu_to_le16
	mov	r2, #4
	str	r0, [r5, #4]
	mov	r1, #0
	ldr	r0, [r5]
	bl	memset
.L5:
	mov	r1, r6
	mov	r0, r4
	bl	p54_tx
	mov	r0, #0
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L8:
	ldr	r3, .L10+20
	ldr	r0, [r3]
	rsb	r0, r0, #0
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L9:
	mov	r0, #1
	bl	cpu_to_le16
	mov	r3, r0
	ldr	r0, [r4, #4]
	str	r3, [r5, #8]
	bl	cpu_to_le16
	mov	r2, #4
	str	r0, [r5, #4]
	ldr	r1, [r4, #8]
	ldr	r0, [r5]
	bl	memcpy
	b	.L5
.L11:
	.align	2
.L10:
	.word	GFP_KERNEL
	.word	P54_CONTROL_TYPE_GROUP_ADDRESS_TABLE
	.word	P54_HDR_FLAG_CONTROL_OPSET
	.word	FIF_ALLMULTI
	.word	MC_FILTER_ADDRESS_NUM
	.word	ENOMEM
	.size	p54_set_groupfilter, .-p54_set_groupfilter
	.comm	P54_HDR_FLAG_CONTROL_OPSET,4,4
	.comm	P54_CONTROL_TYPE_GROUP_ADDRESS_TABLE,4,4
	.comm	MC_FILTER_ADDRESS_NUM,4,4
	.comm	GFP_KERNEL,4,4
	.comm	FIF_ALLMULTI,4,4
	.comm	ENOMEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
