	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qed_configure_filter_ucast
_qed_configure_filter_ucast:            ## @qed_configure_filter_ucast
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	cmpq	$0, 24(%rsi)
	jne	LBB0_3
## %bb.1:
	cmpq	$0, 16(%rbx)
	je	LBB0_2
LBB0_3:
	leaq	-40(%rbp), %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movl	(%rbx), %edx
	cmpl	$128, %edx
	je	LBB0_9
## %bb.4:
	cmpl	$129, %edx
	je	LBB0_8
## %bb.5:
	cmpl	$130, %edx
	jne	LBB0_10
## %bb.6:
	movq	_QED_FILTER_ADD@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_9:
	movq	_QED_FILTER_REPLACE@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_8:
	movq	_QED_FILTER_REMOVE@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
	movl	%eax, -20(%rbp)
	jmp	LBB0_11
LBB0_10:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_DP_NOTICE
LBB0_11:
	cmpq	$0, 24(%rbx)
	movq	16(%rbx), %rax
	je	LBB0_14
## %bb.12:
	testq	%rax, %rax
	je	LBB0_16
## %bb.13:
	movq	_QED_FILTER_MAC_VLAN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -28(%rbp)
	movl	-24(%rbp), %edi
	movl	8(%rbx), %esi
	callq	_ether_addr_copy
	jmp	LBB0_17
LBB0_14:
	testq	%rax, %rax
	je	LBB0_16
## %bb.15:
	movq	_QED_FILTER_MAC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -28(%rbp)
	movl	-24(%rbp), %edi
	movl	8(%rbx), %esi
	callq	_ether_addr_copy
	jmp	LBB0_18
LBB0_16:
	movq	_QED_FILTER_VLAN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -28(%rbp)
LBB0_17:
	movl	4(%rbx), %eax
	movl	%eax, -32(%rbp)
LBB0_18:
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, -40(%rbp)
	movq	_QED_SPQ_MODE_CB@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-40(%rbp), %rsi
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	callq	_qed_filter_ucast_cmd
	movl	%eax, %ebx
LBB0_19:
	movl	%ebx, %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	leaq	L_.str(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_DP_NOTICE
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_19
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Tried configuring a unicast filter, but both MAC and VLAN are not set\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_QED_FILTER_ADD,4,2             ## @QED_FILTER_ADD
	.comm	_QED_FILTER_REMOVE,4,2          ## @QED_FILTER_REMOVE
	.comm	_QED_FILTER_REPLACE,4,2         ## @QED_FILTER_REPLACE
L_.str.1:                               ## @.str.1
	.asciz	"Unknown unicast filter type %d\n"

	.comm	_QED_FILTER_MAC_VLAN,4,2        ## @QED_FILTER_MAC_VLAN
	.comm	_QED_FILTER_MAC,4,2             ## @QED_FILTER_MAC
	.comm	_QED_FILTER_VLAN,4,2            ## @QED_FILTER_VLAN
	.comm	_QED_SPQ_MODE_CB,4,2            ## @QED_SPQ_MODE_CB
	.no_dead_strip	_qed_configure_filter_ucast
.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_ucast
_qed_configure_filter_ucast:            ; @qed_configure_filter_ucast
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x1, #24]
	cbnz	x8, LBB0_2
; %bb.1:
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_17
LBB0_2:
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #24
	bl	_memset
	ldr	w8, [x20]
	cmp	w8, #128
	b.eq	LBB0_6
; %bb.3:
	cmp	w8, #129
	b.eq	LBB0_7
; %bb.4:
	cmp	w8, #130
	b.ne	LBB0_11
; %bb.5:
Lloh0:
	adrp	x8, _QED_FILTER_ADD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QED_FILTER_ADD@GOTPAGEOFF]
	b	LBB0_8
LBB0_6:
Lloh2:
	adrp	x8, _QED_FILTER_REPLACE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _QED_FILTER_REPLACE@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
Lloh4:
	adrp	x8, _QED_FILTER_REMOVE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _QED_FILTER_REMOVE@GOTPAGEOFF]
LBB0_8:
	ldr	w8, [x8]
	str	w8, [sp, #28]
	ldp	x8, x9, [x20, #16]
	cbz	x9, LBB0_12
LBB0_9:
	cbz	x8, LBB0_14
; %bb.10:
Lloh6:
	adrp	x8, _QED_FILTER_MAC_VLAN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _QED_FILTER_MAC_VLAN@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [sp, #20]
	ldr	w0, [sp, #24]
	ldr	w1, [x20, #8]
	bl	_ether_addr_copy
	ldr	w8, [x20, #4]
	str	w8, [sp, #16]
	b	LBB0_15
LBB0_11:
	str	x8, [sp]
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_DP_NOTICE
	ldp	x8, x9, [x20, #16]
	cbnz	x9, LBB0_9
LBB0_12:
	cbz	x8, LBB0_14
; %bb.13:
Lloh11:
	adrp	x8, _QED_FILTER_MAC@GOTPAGE
Lloh12:
	ldr	x8, [x8, _QED_FILTER_MAC@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	str	w8, [sp, #20]
	ldr	w0, [sp, #24]
	ldr	w1, [x20, #8]
	bl	_ether_addr_copy
	b	LBB0_15
LBB0_14:
Lloh14:
	adrp	x8, _QED_FILTER_VLAN@GOTPAGE
Lloh15:
	ldr	x8, [x8, _QED_FILTER_VLAN@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	ldr	w9, [x20, #4]
	stp	w9, w8, [sp, #16]
LBB0_15:
	movi.2s	v0, #1
	str	d0, [sp, #8]
Lloh17:
	adrp	x8, _QED_SPQ_MODE_CB@GOTPAGE
Lloh18:
	ldr	x8, [x8, _QED_SPQ_MODE_CB@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
	add	x1, sp, #8
	mov	x0, x19
	mov	x3, #0
	bl	_qed_filter_ucast_cmd
LBB0_16:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_17:
Lloh20:
	adrp	x1, l_.str@PAGE
Lloh21:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_DP_NOTICE
Lloh22:
	adrp	x8, _EINVAL@GOTPAGE
Lloh23:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_16
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Tried configuring a unicast filter, but both MAC and VLAN are not set\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_QED_FILTER_ADD,4,2             ; @QED_FILTER_ADD
	.comm	_QED_FILTER_REMOVE,4,2          ; @QED_FILTER_REMOVE
	.comm	_QED_FILTER_REPLACE,4,2         ; @QED_FILTER_REPLACE
l_.str.1:                               ; @.str.1
	.asciz	"Unknown unicast filter type %d\n"

	.comm	_QED_FILTER_MAC_VLAN,4,2        ; @QED_FILTER_MAC_VLAN
	.comm	_QED_FILTER_MAC,4,2             ; @QED_FILTER_MAC
	.comm	_QED_FILTER_VLAN,4,2            ; @QED_FILTER_VLAN
	.comm	_QED_SPQ_MODE_CB,4,2            ; @QED_SPQ_MODE_CB
	.no_dead_strip	_qed_configure_filter_ucast
.subsections_via_symbols
