	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iavf_add_filter
_iavf_add_filter:                       ## @iavf_add_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rsi, %rsi
	je	LBB0_6
## %bb.1:
	movq	%rsi, %r15
	movq	%rdi, %r14
	callq	_iavf_find_filter
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	%rax, %rbx
	movl	$0, 4(%rax)
	jmp	LBB0_7
LBB0_4:
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$16, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	%rax, %rbx
	movl	12(%rax), %edi
	movq	%r15, %rsi
	callq	_ether_addr_copy
	movq	%rbx, %rdi
	addq	$8, %rdi
	leaq	4(%r14), %rsi
	callq	_list_add_tail
	movl	$1, (%rbx)
	movq	_IAVF_FLAG_AQ_ADD_MAC_FILTER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r14)
	jmp	LBB0_7
LBB0_6:
	xorl	%ebx, %ebx
LBB0_7:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_IAVF_FLAG_AQ_ADD_MAC_FILTER,4,2 ## @IAVF_FLAG_AQ_ADD_MAC_FILTER
	.no_dead_strip	_iavf_add_filter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iavf_add_filter
_iavf_add_filter:                       ; @iavf_add_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
	cbz	x1, LBB0_3
; %bb.1:
	mov	x21, x1
	mov	x19, x0
	bl	_iavf_find_filter
	cbz	x0, LBB0_4
; %bb.2:
	mov	x20, x0
	str	wzr, [x0, #4]
	b	LBB0_6
LBB0_3:
	mov	x20, #0
	b	LBB0_6
LBB0_4:
Lloh0:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #16
	bl	_kzalloc
	mov	x20, x0
	cbz	x0, LBB0_6
; %bb.5:
	ldr	w0, [x20, #12]
	mov	x1, x21
	bl	_ether_addr_copy
	add	x0, x20, #8
	add	x1, x19, #4
	bl	_list_add_tail
	mov	w8, #1
	str	w8, [x20]
Lloh3:
	adrp	x8, _IAVF_FLAG_AQ_ADD_MAC_FILTER@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IAVF_FLAG_AQ_ADD_MAC_FILTER@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_6:
	mov	x0, x20
	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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_IAVF_FLAG_AQ_ADD_MAC_FILTER,4,2 ; @IAVF_FLAG_AQ_ADD_MAC_FILTER
	.no_dead_strip	_iavf_add_filter
.subsections_via_symbols
