	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qlcnic_add_lb_filter
_qlcnic_add_lb_filter:                  ## @qlcnic_add_lb_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %ebx
	movl	%edx, %r12d
	movq	%rdi, %r14
	movq	(%rsi), %r13
	movq	$0, -48(%rbp)
	callq	_qlcnic_sriov_pf_check
	testl	%eax, %eax
	cmovnel	%ebx, %eax
	xorl	%r15d, %r15d
	cmpl	$65535, %ebx                    ## imm = 0xFFFF
	cmovnel	%eax, %r15d
	movq	(%r13), %rsi
	movq	_ETH_ALEN@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	leaq	-48(%rbp), %rdi
	callq	_memcpy
	movq	-48(%rbp), %rdi
	movl	%r15d, %esi
	callq	_qlcnic_mac_hash
	movslq	40(%r14), %rcx
	decq	%rcx
	movslq	%eax, %rbx
	andq	%rcx, %rbx
	testl	%r12d, %r12d
	je	LBB0_7
## %bb.1:
	movq	8(%r14), %rax
	cmpq	16(%r14), %rax
	jge	LBB0_18
## %bb.2:
	shlq	$2, %rbx
	addq	24(%r14), %rbx
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	movl	%r15d, %edx
	callq	_qlcnic_find_mac_filter
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	%rax, %r12
	movq	_jiffies@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	movq	_QLCNIC_READD_AGE@GOTPCREL(%rip), %rax
	movq	_HZ@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	imulq	(%rax), %rsi
	addq	(%r12), %rsi
	callq	_time_after
	testq	%rax, %rax
	je	LBB0_18
## %bb.4:
	movq	(%rbx), %rax
	movq	%rax, (%r12)
	jmp	LBB0_18
LBB0_7:
	shlq	$2, %rbx
	movq	48(%r14), %r13
	addq	%rbx, %r13
	leaq	32(%r14), %r12
	movq	%r12, %rdi
	callq	_spin_lock
	leaq	-48(%rbp), %rsi
	movq	%r13, %rdi
	movl	%r15d, %edx
	callq	_qlcnic_find_mac_filter
	testq	%rax, %rax
	je	LBB0_14
## %bb.8:
	movq	%rax, %r13
	testl	%r15d, %r15d
	jne	LBB0_9
## %bb.10:
	movq	_QLCNIC_MAC_DEL@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_14:
	movq	%r12, %rdi
	callq	_spin_unlock
	addq	24(%r14), %rbx
	movq	%r14, %rdi
	callq	_spin_lock
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	movl	%r15d, %edx
	callq	_qlcnic_find_mac_filter
	testq	%rax, %rax
	je	LBB0_16
## %bb.15:
	leaq	-48(%rbp), %rdx
	movq	%r14, %rdi
	movq	%rax, %rsi
	movl	%r15d, %ecx
	callq	_qlcnic_delete_rx_list_mac
	jmp	LBB0_16
LBB0_5:
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$24, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_18
## %bb.6:
	movq	%rax, %r12
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r12)
	movq	16(%r12), %rdi
	movl	(%r13), %edx
	leaq	-48(%rbp), %rsi
	callq	_memcpy
	movl	%r15d, 8(%r12)
	movq	%r14, %rdi
	callq	_spin_lock
	addq	$12, %r12
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_hlist_add_head
	incq	8(%r14)
LBB0_16:
	movq	%r14, %rdi
	jmp	LBB0_17
LBB0_9:
	movq	_QLCNIC_MAC_VLAN_DEL@GOTPCREL(%rip), %rax
LBB0_11:
	movq	(%rax), %rcx
	leaq	-48(%rbp), %rsi
	movq	%r14, %rdi
	movl	%r15d, %edx
	callq	_qlcnic_sre_macaddr_change
	testl	%eax, %eax
	jne	LBB0_13
## %bb.12:
	addq	$12, %r13
	movq	%r13, %rdi
	callq	_hlist_del
	decl	44(%r14)
LBB0_13:
	movq	%r12, %rdi
LBB0_17:
	callq	_spin_unlock
LBB0_18:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_QLCNIC_READD_AGE,8,3           ## @QLCNIC_READD_AGE
	.comm	_HZ,8,3                         ## @HZ
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_QLCNIC_MAC_VLAN_DEL,8,3        ## @QLCNIC_MAC_VLAN_DEL
	.comm	_QLCNIC_MAC_DEL,8,3             ## @QLCNIC_MAC_DEL
	.no_dead_strip	_qlcnic_add_lb_filter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qlcnic_add_lb_filter
_qlcnic_add_lb_filter:                  ; @qlcnic_add_lb_filter
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x3
	mov	x21, x2
	mov	x19, x0
	ldr	x22, [x1]
	str	xzr, [sp, #8]
	bl	_qlcnic_sriov_pf_check
	cmp	w0, #0
	mov	w8, #65535
	ccmp	w20, w8, #4, ne
	csel	w20, wzr, w20, eq
	ldr	x1, [x22]
Lloh0:
	adrp	x23, _ETH_ALEN@GOTPAGE
Lloh1:
	ldr	x23, [x23, _ETH_ALEN@GOTPAGEOFF]
	ldr	w2, [x23]
	add	x0, sp, #8
	bl	_memcpy
	ldr	x0, [sp, #8]
	mov	x1, x20
	bl	_qlcnic_mac_hash
	ldr	w8, [x19, #40]
	sub	w8, w8, #1
	and	w8, w8, w0
	sxtw	x24, w8
	cbz	w21, LBB0_5
; %bb.1:
	ldp	x8, x9, [x19, #8]
	cmp	x8, x9
	b.ge	LBB0_15
; %bb.2:
	ldr	x8, [x19, #24]
	add	x21, x8, x24, lsl #2
	add	x1, sp, #8
	mov	x0, x21
	mov	x2, x20
	bl	_qlcnic_find_mac_filter
	cbz	x0, LBB0_11
; %bb.3:
	mov	x22, x0
	ldr	x8, [x0]
Lloh2:
	adrp	x19, _jiffies@GOTPAGE
Lloh3:
	ldr	x19, [x19, _jiffies@GOTPAGEOFF]
Lloh4:
	adrp	x9, _QLCNIC_READD_AGE@GOTPAGE
Lloh5:
	ldr	x9, [x9, _QLCNIC_READD_AGE@GOTPAGEOFF]
	ldr	x0, [x19]
Lloh6:
	ldr	x9, [x9]
Lloh7:
	adrp	x10, _HZ@GOTPAGE
Lloh8:
	ldr	x10, [x10, _HZ@GOTPAGEOFF]
Lloh9:
	ldr	x10, [x10]
	madd	x1, x10, x9, x8
	bl	_time_after
	cbz	x0, LBB0_15
; %bb.4:
	ldr	x8, [x19]
	str	x8, [x22]
	b	LBB0_15
LBB0_5:
	ldr	x8, [x19, #48]
	add	x22, x8, x24, lsl #2
	add	x21, x19, #32
	mov	x0, x21
	bl	_spin_lock
	add	x1, sp, #8
	mov	x0, x22
	mov	x2, x20
	bl	_qlcnic_find_mac_filter
	cbz	x0, LBB0_9
; %bb.6:
	mov	x22, x0
Lloh10:
	adrp	x8, _QLCNIC_MAC_VLAN_DEL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _QLCNIC_MAC_VLAN_DEL@GOTPAGEOFF]
Lloh12:
	adrp	x9, _QLCNIC_MAC_DEL@GOTPAGE
Lloh13:
	ldr	x9, [x9, _QLCNIC_MAC_DEL@GOTPAGEOFF]
	cmp	w20, #0
	csel	x8, x9, x8, eq
	ldr	x3, [x8]
	add	x1, sp, #8
	mov	x0, x19
	mov	x2, x20
	bl	_qlcnic_sre_macaddr_change
	cbnz	w0, LBB0_8
; %bb.7:
	add	x0, x22, #12
	bl	_hlist_del
	ldr	w8, [x19, #44]
	sub	w8, w8, #1
	str	w8, [x19, #44]
LBB0_8:
	mov	x0, x21
	b	LBB0_14
LBB0_9:
	mov	x0, x21
	bl	_spin_unlock
	ldr	x8, [x19, #24]
	add	x21, x8, x24, lsl #2
	mov	x0, x19
	bl	_spin_lock
	add	x1, sp, #8
	mov	x0, x21
	mov	x2, x20
	bl	_qlcnic_find_mac_filter
	cbz	x0, LBB0_13
; %bb.10:
	mov	x1, x0
	add	x2, sp, #8
	mov	x0, x19
	mov	x3, x20
	bl	_qlcnic_delete_rx_list_mac
	b	LBB0_13
LBB0_11:
Lloh14:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh15:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	w0, #24
	bl	_kzalloc
	cbz	x0, LBB0_15
; %bb.12:
	mov	x22, x0
Lloh17:
	adrp	x8, _jiffies@GOTPAGE
Lloh18:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
	str	x8, [x0]
	ldr	x0, [x0, #16]
	ldr	w2, [x23]
	add	x1, sp, #8
	bl	_memcpy
	str	w20, [x22, #8]
	mov	x0, x19
	bl	_spin_lock
	add	x0, x22, #12
	mov	x1, x21
	bl	_hlist_add_head
	ldr	x8, [x19, #8]
	add	x8, x8, #1
	str	x8, [x19, #8]
LBB0_13:
	mov	x0, x19
LBB0_14:
	bl	_spin_unlock
LBB0_15:
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_QLCNIC_READD_AGE,8,3           ; @QLCNIC_READD_AGE
	.comm	_HZ,8,3                         ; @HZ
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_QLCNIC_MAC_VLAN_DEL,8,3        ; @QLCNIC_MAC_VLAN_DEL
	.comm	_QLCNIC_MAC_DEL,8,3             ; @QLCNIC_MAC_DEL
	.no_dead_strip	_qlcnic_add_lb_filter
.subsections_via_symbols
