	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qed_configure_filter_mcast
_qed_configure_filter_mcast:            ## @qed_configure_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	-48(%rbp), %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movl	(%r15), %edx
	cmpl	$128, %edx
	je	LBB0_4
## %bb.1:
	cmpl	$129, %edx
	jne	LBB0_5
## %bb.2:
	movq	_QED_FILTER_ADD@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_4:
	movq	_QED_FILTER_REMOVE@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	movl	%eax, -32(%rbp)
	jmp	LBB0_6
LBB0_5:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_DP_NOTICE
LBB0_6:
	movl	4(%r15), %eax
	movl	%eax, -48(%rbp)
	testl	%eax, %eax
	jle	LBB0_9
## %bb.7:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	-40(%rbp), %rax
	movl	(%rax,%rbx,4), %edi
	movq	8(%r15), %rax
	movl	(%rax,%rbx,4), %esi
	callq	_ether_addr_copy
	incq	%rbx
	movslq	-48(%rbp), %rax
	cmpq	%rax, %rbx
	jl	LBB0_8
LBB0_9:
	movq	_QED_SPQ_MODE_CB@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-48(%rbp), %rsi
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	callq	_qed_filter_mcast_cmd
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QED_FILTER_ADD,4,2             ## @QED_FILTER_ADD
	.comm	_QED_FILTER_REMOVE,4,2          ## @QED_FILTER_REMOVE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unknown multicast filter type %d\n"

	.comm	_QED_SPQ_MODE_CB,4,2            ## @QED_SPQ_MODE_CB
	.no_dead_strip	_qed_configure_filter_mcast
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qed_configure_filter_mcast
_qed_configure_filter_mcast:            ; @qed_configure_filter_mcast
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #24
	bl	_memset
	ldr	w2, [x20]
	cmp	w2, #128
	b.eq	LBB0_3
; %bb.1:
	cmp	w2, #129
	b.ne	LBB0_5
; %bb.2:
Lloh0:
	adrp	x8, _QED_FILTER_ADD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QED_FILTER_ADD@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh2:
	adrp	x8, _QED_FILTER_REMOVE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _QED_FILTER_REMOVE@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
	str	w8, [sp, #24]
	b	LBB0_6
LBB0_5:
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_DP_NOTICE
LBB0_6:
	ldr	w8, [x20, #4]
	str	w8, [sp, #8]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.7:
	mov	x21, #0
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [sp, #16]
	lsl	x9, x21, #2
	ldr	w0, [x8, x9]
	ldr	x8, [x20, #8]
	ldr	w1, [x8, x9]
	bl	_ether_addr_copy
	add	x21, x21, #1
	ldrsw	x8, [sp, #8]
	cmp	x21, x8
	b.lt	LBB0_8
LBB0_9:
Lloh6:
	adrp	x8, _QED_SPQ_MODE_CB@GOTPAGE
Lloh7:
	ldr	x8, [x8, _QED_SPQ_MODE_CB@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	add	x1, sp, #8
	mov	x0, x19
	mov	x3, #0
	bl	_qed_filter_mcast_cmd
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_QED_FILTER_ADD,4,2             ; @QED_FILTER_ADD
	.comm	_QED_FILTER_REMOVE,4,2          ; @QED_FILTER_REMOVE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unknown multicast filter type %d\n"

	.comm	_QED_SPQ_MODE_CB,4,2            ; @QED_SPQ_MODE_CB
	.no_dead_strip	_qed_configure_filter_mcast
.subsections_via_symbols
