	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i40e_add_filter                ## -- Begin function i40e_add_filter
	.p2align	4, 0x90
_i40e_add_filter:                       ## @i40e_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%ebx, %ebx
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.1:
	movq	%rsi, %r15
	testq	%rsi, %rsi
	je	LBB0_10
## %bb.2:
	movq	%rdx, %r12
	movq	%rdi, %r14
	movq	%r15, %rsi
	callq	_i40e_find_filter
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_8
## %bb.3:
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$32, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %rbx
	testq	%r12, %r12
	js	LBB0_7
## %bb.6:
	movl	$1, (%r14)
LBB0_7:
	movl	24(%rbx), %edi
	movq	%r15, %rsi
	callq	_ether_addr_copy
	movq	%r12, 16(%rbx)
	movq	_I40E_FILTER_NEW@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
	movq	%rbx, %r12
	addq	$8, %r12
	movq	%r12, %rdi
	callq	_INIT_HLIST_NODE
	movq	%r15, %rdi
	callq	_i40e_addr_to_hkey
	movl	20(%r14), %edi
	movq	%r12, %rsi
	movl	%eax, %edx
	callq	_hash_add
	movq	_I40E_VSI_FLAG_FILTER_CHANGED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 16(%r14)
	movq	___I40E_MACVLAN_SYNC_PENDING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	8(%r14), %rax
	movl	(%rax), %esi
	callq	_set_bit
LBB0_8:
	movq	(%rbx), %rax
	movq	_I40E_FILTER_REMOVE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.9:
	movq	_I40E_FILTER_ACTIVE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
	jmp	LBB0_10
LBB0_4:
	xorl	%ebx, %ebx
LBB0_10:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_I40E_FILTER_NEW,8,3            ## @I40E_FILTER_NEW
	.comm	_I40E_VSI_FLAG_FILTER_CHANGED,4,2 ## @I40E_VSI_FLAG_FILTER_CHANGED
	.comm	___I40E_MACVLAN_SYNC_PENDING,4,2 ## @__I40E_MACVLAN_SYNC_PENDING
	.comm	_I40E_FILTER_REMOVE,8,3         ## @I40E_FILTER_REMOVE
	.comm	_I40E_FILTER_ACTIVE,8,3         ## @I40E_FILTER_ACTIVE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i40e_add_filter                ; -- Begin function i40e_add_filter
	.p2align	2
_i40e_add_filter:                       ; @i40e_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
	mov	x19, #0
	cbz	x0, LBB0_9
; %bb.1:
	mov	x21, x1
	cbz	x1, LBB0_9
; %bb.2:
	mov	x22, x2
	mov	x20, x0
	mov	x1, x21
	bl	_i40e_find_filter
	mov	x19, x0
	cbnz	x0, LBB0_7
; %bb.3:
Lloh0:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #32
	bl	_kzalloc
	mov	x19, x0
	cbz	x0, LBB0_9
; %bb.4:
	tbnz	x22, #63, LBB0_6
; %bb.5:
	mov	w8, #1
	str	w8, [x20]
LBB0_6:
	ldr	w0, [x19, #24]
	mov	x1, x21
	bl	_ether_addr_copy
	str	x22, [x19, #16]
Lloh3:
	adrp	x8, _I40E_FILTER_NEW@GOTPAGE
Lloh4:
	ldr	x8, [x8, _I40E_FILTER_NEW@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	str	x8, [x19]
	add	x22, x19, #8
	mov	x0, x22
	bl	_INIT_HLIST_NODE
	mov	x0, x21
	bl	_i40e_addr_to_hkey
	mov	x2, x0
	ldr	w0, [x20, #20]
	mov	x1, x22
	bl	_hash_add
Lloh6:
	adrp	x8, _I40E_VSI_FLAG_FILTER_CHANGED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _I40E_VSI_FLAG_FILTER_CHANGED@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	ldr	w9, [x20, #16]
	orr	w8, w9, w8
	str	w8, [x20, #16]
Lloh9:
	adrp	x8, ___I40E_MACVLAN_SYNC_PENDING@GOTPAGE
Lloh10:
	ldr	x8, [x8, ___I40E_MACVLAN_SYNC_PENDING@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	ldr	x8, [x20, #8]
	ldr	w1, [x8]
	bl	_set_bit
LBB0_7:
	ldr	x8, [x19]
Lloh12:
	adrp	x9, _I40E_FILTER_REMOVE@GOTPAGE
Lloh13:
	ldr	x9, [x9, _I40E_FILTER_REMOVE@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.8:
Lloh15:
	adrp	x8, _I40E_FILTER_ACTIVE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _I40E_FILTER_ACTIVE@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	str	x8, [x19]
LBB0_9:
	mov	x0, x19
	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	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_I40E_FILTER_NEW,8,3            ; @I40E_FILTER_NEW
	.comm	_I40E_VSI_FLAG_FILTER_CHANGED,4,2 ; @I40E_VSI_FLAG_FILTER_CHANGED
	.comm	___I40E_MACVLAN_SYNC_PENDING,4,2 ; @__I40E_MACVLAN_SYNC_PENDING
	.comm	_I40E_FILTER_REMOVE,8,3         ; @I40E_FILTER_REMOVE
	.comm	_I40E_FILTER_ACTIVE,8,3         ; @I40E_FILTER_ACTIVE
.subsections_via_symbols
