	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qed_vf_pf_filter_mcast         ## -- Begin function qed_vf_pf_filter_mcast
	.p2align	4, 0x90
_qed_vf_pf_filter_mcast:                ## @qed_vf_pf_filter_mcast
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	leaq	-40(%rbp), %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	movl	$1, -40(%rbp)
	movq	(%r15), %rax
	movq	_QED_FILTER_ADD@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.1:
	cmpl	$0, 8(%r15)
	jle	LBB0_4
## %bb.2:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r15), %rax
	movl	(%rax,%rbx,4), %edi
	callq	_qed_mcast_bin_from_mac
                                        ## kill: def $eax killed $eax def $rax
	movl	$1, %edx
	movl	%eax, %ecx
	shll	%cl, %edx
	movq	-32(%rbp), %rcx
	leal	31(%rax), %esi
	testl	%eax, %eax
	cmovnsl	%eax, %esi
	sarl	$5, %esi
	movslq	%esi, %rax
	orl	%edx, (%rcx,%rax,4)
	incq	%rbx
	movslq	8(%r15), %rax
	cmpq	%rax, %rbx
	jl	LBB0_3
LBB0_4:
	leaq	-40(%rbp), %rsi
	movq	%r14, %rdi
	callq	_qed_vf_pf_vport_update
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QED_FILTER_ADD,8,3             ## @QED_FILTER_ADD
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qed_vf_pf_filter_mcast         ; -- Begin function qed_vf_pf_filter_mcast
	.p2align	2
_qed_vf_pf_filter_mcast:                ; @qed_vf_pf_filter_mcast
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x20, x1
	mov	x19, x0
	mov	x0, sp
	mov	w1, #0
	mov	w2, #16
	bl	_memset
	mov	w8, #1
	str	w8, [sp]
	ldr	x8, [x20]
Lloh0:
	adrp	x9, _QED_FILTER_ADD@GOTPAGE
Lloh1:
	ldr	x9, [x9, _QED_FILTER_ADD@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.1:
	ldr	w8, [x20, #8]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.2:
	mov	x21, #0
	mov	w22, #1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #16]
	ldr	w0, [x8, x21, lsl #2]
	bl	_qed_mcast_bin_from_mac
	lsl	w8, w22, w0
	ldr	x9, [sp, #8]
	add	w10, w0, #31
	cmp	w0, #0
	csel	w10, w10, w0, lt
	asr	w10, w10, #5
	sbfiz	x10, x10, #2, #32
	ldr	w11, [x9, x10]
	orr	w8, w11, w8
	str	w8, [x9, x10]
	add	x21, x21, #1
	ldrsw	x8, [x20, #8]
	cmp	x21, x8
	b.lt	LBB0_3
LBB0_4:
	mov	x1, sp
	mov	x0, x19
	bl	_qed_vf_pf_vport_update
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_QED_FILTER_ADD,8,3             ; @QED_FILTER_ADD
.subsections_via_symbols
