	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hisi_femac_set_hw_addr_filter
_hisi_femac_set_hw_addr_filter:         ## @hisi_femac_set_hw_addr_filter
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movq	%rsi, %r14
	movq	%rdi, %r15
	movl	%edx, %edi
	callq	_GLB_MAC_H16
	movl	%eax, %r12d
	movl	%ebx, %edi
	callq	_GLB_MAC_L32
	movzbl	5(%r14), %edi
	movl	%eax, %esi
	addq	(%r15), %rsi
	callq	_writel
	movl	%r12d, %ebx
	movq	(%r15), %rdi
	addq	%rbx, %rdi
	callq	_readl
	movq	_MACFLT_HI16_MASK@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	notb	%cl
	andb	%al, %cl
	movq	_BIT_MACFLT_ENA@GOTPCREL(%rip), %rax
	movq	_BIT_MACFLT_FW2CPU@GOTPCREL(%rip), %rdx
	orb	1(%r14), %cl
	orb	(%rax), %cl
	orb	(%rdx), %cl
	addq	(%r15), %rbx
	movzbl	%cl, %edi
	movq	%rbx, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_writel                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MACFLT_HI16_MASK,1,0           ## @MACFLT_HI16_MASK
	.comm	_BIT_MACFLT_ENA,1,0             ## @BIT_MACFLT_ENA
	.comm	_BIT_MACFLT_FW2CPU,1,0          ## @BIT_MACFLT_FW2CPU
	.no_dead_strip	_hisi_femac_set_hw_addr_filter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hisi_femac_set_hw_addr_filter
_hisi_femac_set_hw_addr_filter:         ; @hisi_femac_set_hw_addr_filter
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	mov	x0, x2
	bl	_GLB_MAC_H16
	mov	x22, x0
	mov	x0, x19
	bl	_GLB_MAC_L32
	ldrb	w8, [x20, #5]
	ldr	x9, [x21]
	add	x1, x9, w0, uxtw
	mov	x0, x8
	bl	_writel
	ldr	x8, [x21]
	mov	w19, w22
	add	x0, x8, x19
	bl	_readl
Lloh0:
	adrp	x8, _MACFLT_HI16_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MACFLT_HI16_MASK@GOTPAGEOFF]
	ldrb	w8, [x8]
	eor	w8, w8, #0xff
	and	w8, w0, w8
Lloh2:
	adrp	x9, _BIT_MACFLT_ENA@GOTPAGE
Lloh3:
	ldr	x9, [x9, _BIT_MACFLT_ENA@GOTPAGEOFF]
	ldrb	w10, [x20, #1]
	ldrb	w9, [x9]
Lloh4:
	adrp	x11, _BIT_MACFLT_FW2CPU@GOTPAGE
Lloh5:
	ldr	x11, [x11, _BIT_MACFLT_FW2CPU@GOTPAGEOFF]
	ldrb	w11, [x11]
	orr	w8, w10, w8
	orr	w8, w8, w9
	orr	w0, w8, w11
	ldr	x8, [x21]
	add	x1, x8, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_writel
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MACFLT_HI16_MASK,1,0           ; @MACFLT_HI16_MASK
	.comm	_BIT_MACFLT_ENA,1,0             ; @BIT_MACFLT_ENA
	.comm	_BIT_MACFLT_FW2CPU,1,0          ; @BIT_MACFLT_FW2CPU
	.no_dead_strip	_hisi_femac_set_hw_addr_filter
.subsections_via_symbols
