	.file	"extr_hisi_femac.c_hisi_femac_set_hw_addr_filter.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	hisi_femac_set_hw_addr_filter, @function
hisi_femac_set_hw_addr_filter:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13d, edx
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	mov	edi, edx
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	GLB_MAC_H16@PLT
	mov	edi, r13d
	mov	ebx, eax
	call	GLB_MAC_L32@PLT
	movzx	edi, BYTE PTR 5[r12]
	mov	esi, eax
	add	rsi, QWORD PTR 0[rbp]
	call	writel@PLT
	mov	rdi, QWORD PTR 0[rbp]
	add	rdi, rbx
	call	readl@PLT
	movzx	edi, BYTE PTR MACFLT_HI16_MASK[rip]
	add	rbx, QWORD PTR 0[rbp]
	mov	rsi, rbx
	not	edi
	and	edi, eax
	movzx	eax, BYTE PTR 1[r12]
	or	eax, edi
	movzx	edi, BYTE PTR BIT_MACFLT_ENA[rip]
	or	dil, BYTE PTR BIT_MACFLT_FW2CPU[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 40
	or	edi, eax
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	movzx	edi, dil
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	writel@PLT
	.cfi_endproc
.LFE0:
	.size	hisi_femac_set_hw_addr_filter, .-hisi_femac_set_hw_addr_filter
	.comm	MACFLT_HI16_MASK,1,1
	.comm	BIT_MACFLT_FW2CPU,1,1
	.comm	BIT_MACFLT_ENA,1,1
	.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_hisi_femac.c_hisi_femac_set_hw_addr_filter.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	hisi_femac_set_hw_addr_filter, %function
hisi_femac_set_hw_addr_filter:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	mov	r0, r2
	mov	r7, r2
	mov	r6, r1
	bl	GLB_MAC_H16
	mov	r5, r0
	mov	r0, r7
	bl	GLB_MAC_L32
	mov	r1, r0
	ldr	r3, [r4]
	ldrb	r0, [r6, #5]	@ zero_extendqisi2
	add	r1, r1, r3
	bl	writel
	ldr	r0, [r4]
	add	r0, r5, r0
	bl	readl
	ldr	r3, .L4
	ldr	r1, .L4+4
	ldrb	r3, [r3]	@ zero_extendqisi2
	ldr	r2, .L4+8
	ldrb	ip, [r6, #1]	@ zero_extendqisi2
	bic	r3, r0, r3
	ldrb	r2, [r2]	@ zero_extendqisi2
	ldrb	r0, [r1]	@ zero_extendqisi2
	orr	r3, r3, ip
	ldr	r1, [r4]
	and	r3, r3, #255
	orr	r0, r0, r2
	add	r1, r5, r1
	orr	r0, r3, r0
	pop	{r4, r5, r6, r7, r8, lr}
	b	writel
.L5:
	.align	2
.L4:
	.word	MACFLT_HI16_MASK
	.word	BIT_MACFLT_ENA
	.word	BIT_MACFLT_FW2CPU
	.size	hisi_femac_set_hw_addr_filter, .-hisi_femac_set_hw_addr_filter
	.comm	MACFLT_HI16_MASK,1,1
	.comm	BIT_MACFLT_FW2CPU,1,1
	.comm	BIT_MACFLT_ENA,1,1
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
