	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qed_llh_add_mac_filter         ## -- Begin function qed_llh_add_mac_filter
	.p2align	4, 0x90
_qed_llh_add_mac_filter:                ## @qed_llh_add_mac_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movl	%esi, %r15d
	movq	%rdi, %rbx
	callq	_QED_LEADING_HWFN
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_qed_ptt_acquire
	movl	$0, -56(%rbp)
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r13
	movq	_QED_MF_LLH_MAC_CLSS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%edi, %edi
	movq	%r12, %rsi
	callq	_memcpy
	movq	_QED_LLH_FILTER_TYPE_MAC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-56(%rbp), %rcx
	leaq	-52(%rbp), %r8
	leaq	-60(%rbp), %r9
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_qed_llh_shadow_add_filter
	movq	%r12, %r8
	movl	%eax, %r12d
	testl	%eax, %eax
	movl	%r15d, %r11d
	jne	LBB0_8
## %bb.5:
	leaq	-48(%rbp), %rdx
	movq	%rbx, %rdi
	movl	%r11d, %esi
	movq	%r8, -72(%rbp)                  ## 8-byte Spill
	movl	%r11d, -44(%rbp)                ## 4-byte Spill
	callq	_qed_llh_abs_ppfid
	movl	-44(%rbp), %r11d                ## 4-byte Reload
	movq	-72(%rbp), %r8                  ## 8-byte Reload
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_8
## %bb.6:
	movl	(%r8), %r9d
	shll	$8, %r9d
	orl	4(%r8), %r9d
	movl	16(%r8), %ecx
	shll	$8, %ecx
	orl	20(%r8), %ecx
	movl	8(%r8), %eax
	movl	12(%r8), %edx
	shll	$16, %edx
	shll	$24, %eax
	orl	%edx, %eax
	orl	%ecx, %eax
	movl	-48(%rbp), %edx
	movl	-52(%rbp), %ecx
	subq	$8, %rsp
	xorl	%r15d, %r15d
	movq	%r14, %rdi
	movq	%r13, %rsi
	xorl	%r8d, %r8d
	pushq	%rax
	callq	_qed_llh_add_filter
	movl	-44(%rbp), %r11d                ## 4-byte Reload
	movq	-72(%rbp), %r8                  ## 8-byte Reload
	addq	$16, %rsp
	movl	%eax, %r12d
	testl	%eax, %eax
	je	LBB0_7
LBB0_8:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	movq	%r8, %rdx
	movl	%r11d, %ecx
	callq	_DP_NOTICE
	movl	%r12d, %r15d
	jmp	LBB0_9
LBB0_1:
	movq	_EAGAIN@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
	jmp	LBB0_10
LBB0_3:
	xorl	%r15d, %r15d
LBB0_9:
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_qed_ptt_release
LBB0_10:
	movl	%r15d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movl	-48(%rbp), %r9d
	movl	-60(%rbp), %r10d
	movq	_QED_MSG_SP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	-52(%rbp), %eax
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	movq	%r8, %rcx
	movl	%r11d, %r8d
	pushq	%r10
	pushq	%rax
	callq	_DP_VERBOSE
	addq	$16, %rsp
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.comm	_QED_MF_LLH_MAC_CLSS,4,2        ## @QED_MF_LLH_MAC_CLSS
	.comm	_QED_LLH_FILTER_TYPE_MAC,4,2    ## @QED_LLH_FILTER_TYPE_MAC
	.comm	_QED_MSG_SP,4,2                 ## @QED_MSG_SP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"LLH: Added MAC filter [%pM] to ppfid %hhd [abs %hhd] at idx %hhd [ref_cnt %d]\n"

L_.str.1:                               ## @.str.1
	.asciz	"LLH: Failed to add MAC filter [%pM] to ppfid %hhd\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qed_llh_add_mac_filter         ; -- Begin function qed_llh_add_mac_filter
	.p2align	2
_qed_llh_add_mac_filter:                ; @qed_llh_add_mac_filter
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x22, x2
	mov	x21, x1
	mov	x23, x0
	bl	_QED_LEADING_HWFN
	mov	x19, x0
	bl	_qed_ptt_acquire
	str	wzr, [sp, #24]
	cbz	x0, LBB0_6
; %bb.1:
	mov	x20, x0
Lloh0:
	adrp	x8, _QED_MF_LLH_MAC_CLSS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QED_MF_LLH_MAC_CLSS@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x23
	bl	_test_bit
	cbz	w0, LBB0_7
; %bb.2:
Lloh3:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	w0, #0
	mov	x1, x22
	bl	_memcpy
Lloh6:
	adrp	x8, _QED_LLH_FILTER_TYPE_MAC@GOTPAGE
Lloh7:
	ldr	x8, [x8, _QED_LLH_FILTER_TYPE_MAC@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	add	x3, sp, #24
	add	x4, sp, #20
	add	x5, sp, #12
	mov	x0, x23
	mov	x1, x21
	bl	_qed_llh_shadow_add_filter
	mov	x24, x0
	cbnz	w0, LBB0_5
; %bb.3:
	add	x2, sp, #16
	mov	x0, x23
	mov	x1, x21
	bl	_qed_llh_abs_ppfid
	mov	x24, x0
	cbnz	w0, LBB0_5
; %bb.4:
	ldp	w9, w8, [x22]
	orr	w5, w8, w9, lsl #8
	ldp	w9, w8, [x22, #16]
	orr	w8, w8, w9, lsl #8
	ldp	w10, w9, [x22, #8]
	orr	w8, w8, w9, lsl #16
	orr	w6, w8, w10, lsl #24
	ldp	w2, w3, [sp, #16]
	mov	x0, x19
	mov	x1, x20
	mov	w4, #0
	bl	_qed_llh_add_filter
	mov	x24, x0
	cbz	w0, LBB0_10
LBB0_5:
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x23
	mov	x2, x22
	mov	x3, x21
	bl	_DP_NOTICE
	b	LBB0_8
LBB0_6:
Lloh11:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	neg	w24, w8
	b	LBB0_9
LBB0_7:
	mov	w24, #0
LBB0_8:
	mov	x0, x19
	mov	x1, x20
	bl	_qed_ptt_release
LBB0_9:
	mov	x0, x24
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_10:
	ldp	w7, w5, [sp, #12]
Lloh14:
	adrp	x8, _QED_MSG_SP@GOTPAGE
Lloh15:
	ldr	x8, [x8, _QED_MSG_SP@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	ldr	w6, [sp, #20]
Lloh17:
	adrp	x2, l_.str@PAGE
Lloh18:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x23
	mov	x3, x22
	mov	x4, x21
	bl	_DP_VERBOSE
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.comm	_QED_MF_LLH_MAC_CLSS,4,2        ; @QED_MF_LLH_MAC_CLSS
	.comm	_QED_LLH_FILTER_TYPE_MAC,4,2    ; @QED_LLH_FILTER_TYPE_MAC
	.comm	_QED_MSG_SP,4,2                 ; @QED_MSG_SP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"LLH: Added MAC filter [%pM] to ppfid %hhd [abs %hhd] at idx %hhd [ref_cnt %d]\n"

l_.str.1:                               ; @.str.1
	.asciz	"LLH: Failed to add MAC filter [%pM] to ppfid %hhd\n"

.subsections_via_symbols
