	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function efx_ef10_filter_insert_addr_list
_efx_ef10_filter_insert_addr_list:      ## @efx_ef10_filter_insert_addr_list
	.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
	subq	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, -76(%rbp)                 ## 4-byte Spill
	movl	%edx, %r12d
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	%rsp, -128(%rbp)                ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	8(%rdi), %r15
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -120(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	xorl	%ecx, %ecx
	movl	%r12d, -100(%rbp)               ## 4-byte Spill
	testl	%r12d, %r12d
	sete	%al
	setne	%cl
	movq	%r14, -112(%rbp)                ## 8-byte Spill
	movq	16(%r14,%rcx,8), %rdx
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movl	(%r15,%rax,4), %r12d
	movq	8(%r15,%rcx,8), %rax
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	leaq	4(%rbx), %rdi
	callq	_efx_rss_active
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_EFX_FILTER_FLAG_RX_RSS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
LBB0_2:
	movq	%r12, -88(%rbp)                 ## 8-byte Spill
	testq	%r12, %r12
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	je	LBB0_11
## %bb.3:
	xorl	%r15d, %r15d
	movq	_EFX_EF10_FILTER_ID_INVALID@GOTPCREL(%rip), %rcx
	movq	_EFX_FILTER_PRI_AUTO@GOTPCREL(%rip), %rbx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	%ebx, %edi
	callq	_efx_ef10_filter_get_unsafe_id
	movq	%rax, (%r12,%r15,8)
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=1
	incq	%r15
	cmpq	%r15, -88(%rbp)                 ## 8-byte Folded Reload
	movq	%r13, %rcx
	movq	%r14, %rbx
	je	LBB0_11
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12,%r15,8), %rax
	xorl	%edi, %edi
	movq	%rcx, %r13
	cmpq	(%rcx), %rax
	setne	%dil
	callq	_EFX_WARN_ON_PARANOID
	movq	%rbx, %r14
	movl	(%rbx), %esi
	leaq	-96(%rbp), %rbx
	movq	%rbx, %rdi
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	xorl	%ecx, %ecx
	callq	_efx_filter_init_rx
	movq	-112(%rbp), %rax                ## 8-byte Reload
	movl	8(%rax), %esi
	movq	-136(%rbp), %rax                ## 8-byte Reload
	movq	(%rax,%r15,8), %rdx
	movq	%rbx, %rdi
	callq	_efx_filter_set_eth_local
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	movl	$1, %edx
	callq	_efx_ef10_filter_insert_locked
	movl	%eax, %ebx
	testl	%eax, %eax
	jns	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$0, -76(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_10
## %bb.6:
	movq	_drv@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	movl	(%r12), %edx
	leaq	L_.str(%rip), %rcx
	movq	%r12, %rdi
	movl	%ebx, %r8d
	callq	_netif_info
	testl	%r15d, %r15d
	je	LBB0_20
## %bb.7:
	xorl	%r12d, %r12d
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %esi
	movq	(%rax,%r12,8), %rdx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_efx_ef10_filter_remove_unsafe
	movq	(%r13), %rax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx,%r12,8)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	incq	%r12
	cmpq	%r12, %r15
	jne	LBB0_8
	jmp	LBB0_20
LBB0_11:
	xorl	%ebx, %ebx
	cmpl	$0, -100(%rbp)                  ## 4-byte Folded Reload
	je	LBB0_20
## %bb.12:
	cmpl	$0, -76(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_20
## %bb.13:
	movq	-112(%rbp), %r15                ## 8-byte Reload
	movq	(%r15), %rax
	movq	_EFX_EF10_BCAST@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rax
	movq	_EFX_EF10_FILTER_ID_INVALID@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setne	%dil
	callq	_EFX_WARN_ON_PARANOID
	movq	_EFX_FILTER_PRI_AUTO@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	leaq	-96(%rbp), %r12
	xorl	%ebx, %ebx
	movq	%r12, %rdi
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	xorl	%ecx, %ecx
	callq	_efx_filter_init_rx
	movq	-120(%rbp), %r14                ## 8-byte Reload
	movq	%r14, %rdi
	callq	_eth_broadcast_addr
	movl	8(%r15), %esi
	movq	%r12, %rdi
	movq	%r14, %rdx
	callq	_efx_filter_set_eth_local
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movq	%r12, %rsi
	movl	$1, %edx
	callq	_efx_ef10_filter_insert_locked
	movl	%eax, %r12d
	testl	%eax, %eax
	js	LBB0_14
## %bb.19:
	movl	%r12d, %edi
	callq	_efx_ef10_filter_get_unsafe_id
	movq	(%r15), %rcx
	movq	_EFX_EF10_BCAST@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	%rax, (%rcx,%rdx,8)
	jmp	LBB0_20
LBB0_14:
	movq	_drv@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %edx
	leaq	L_.str.1(%rip), %rcx
	movq	%r14, %rdi
	movl	%r12d, %r8d
	callq	_netif_warn
	cmpq	$0, -88(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_15
## %bb.16:
	movl	%r12d, -52(%rbp)                ## 4-byte Spill
	xorl	%ebx, %ebx
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	movq	-88(%rbp), %r12                 ## 8-byte Reload
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	_EFX_EF10_FILTER_ID_INVALID@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %esi
	movq	(%rax,%rbx,8), %rdx
	movq	%r15, %rdi
	callq	_efx_ef10_filter_remove_unsafe
	movq	(%r14), %rax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx,%rbx,8)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	incq	%rbx
	cmpq	%rbx, %r12
	jne	LBB0_17
## %bb.18:
	movl	-52(%rbp), %ebx                 ## 4-byte Reload
	jmp	LBB0_20
LBB0_15:
	movl	%r12d, %ebx
LBB0_20:
	movq	-128(%rbp), %rsp                ## 8-byte Reload
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_22
## %bb.21:
	movl	%ebx, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_22:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_EFX_FILTER_FLAG_RX_RSS,4,2     ## @EFX_FILTER_FLAG_RX_RSS
	.comm	_EFX_EF10_FILTER_ID_INVALID,8,3 ## @EFX_EF10_FILTER_ID_INVALID
	.comm	_EFX_FILTER_PRI_AUTO,4,2        ## @EFX_FILTER_PRI_AUTO
	.comm	_drv,4,2                        ## @drv
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"efx_ef10_filter_insert failed rc=%d\n"

	.comm	_EFX_EF10_BCAST,8,3             ## @EFX_EF10_BCAST
L_.str.1:                               ## @.str.1
	.asciz	"Broadcast filter insert failed rc=%d\n"

	.no_dead_strip	_efx_ef10_filter_insert_addr_list
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function efx_ef10_filter_insert_addr_list
_efx_ef10_filter_insert_addr_list:      ; @efx_ef10_filter_insert_addr_list
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #48
	stur	w3, [x29, #-100]                ; 4-byte Folded Spill
	mov	x20, x1
	mov	x19, x0
	mov	x8, sp
	stur	x8, [x29, #-112]                ; 8-byte Folded Spill
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	ldr	x12, [x0, #8]
Lloh3:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x9, x9, x8
	stur	w2, [x29, #-116]                ; 4-byte Folded Spill
	cmp	w2, #0
	cset	w8, eq
	stur	x9, [x29, #-128]                ; 8-byte Folded Spill
	mov	sp, x9
	mov	w9, #8
	mov	w10, #16
	mov	w11, #24
	csel	x11, x11, x10, ne
	ldr	x27, [x1, x11]
	csel	x9, x10, x9, ne
	ldr	w21, [x12, w8, uxtw #2]
	ldr	x23, [x12, x9]
	add	x0, x0, #4
	bl	_efx_rss_active
Lloh8:
	adrp	x8, _EFX_FILTER_FLAG_RX_RSS@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EFX_FILTER_FLAG_RX_RSS@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w25, wzr, w8, eq
Lloh11:
	adrp	x28, _EFX_EF10_FILTER_ID_INVALID@GOTPAGE
Lloh12:
	ldr	x28, [x28, _EFX_EF10_FILTER_ID_INVALID@GOTPAGEOFF]
Lloh13:
	adrp	x26, _EFX_FILTER_PRI_AUTO@GOTPAGE
Lloh14:
	ldr	x26, [x26, _EFX_FILTER_PRI_AUTO@GOTPAGEOFF]
	cbz	w21, LBB0_9
; %bb.1:
	mov	x24, #0
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x22
	bl	_efx_ef10_filter_get_unsafe_id
	str	x0, [x27, x24, lsl #3]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x24, x24, #1
	cmp	x21, x24
	b.eq	LBB0_9
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	lsl	x22, x24, #3
	ldr	x8, [x27, x22]
	ldr	x9, [x28]
	cmp	x8, x9
	cset	w0, ne
	bl	_EFX_WARN_ON_PARANOID
	ldr	w1, [x26]
	sub	x0, x29, #96
	mov	x2, x25
	mov	w3, #0
	bl	_efx_filter_init_rx
	ldr	w1, [x20, #8]
	ldr	x2, [x23, x22]
	sub	x0, x29, #96
	bl	_efx_filter_set_eth_local
	sub	x1, x29, #96
	mov	x0, x19
	mov	w2, #1
	bl	_efx_ef10_filter_insert_locked
	mov	x22, x0
	tbz	w0, #31, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldur	w8, [x29, #-100]                ; 4-byte Folded Reload
	cbz	w8, LBB0_3
; %bb.6:
Lloh15:
	adrp	x8, _drv@GOTPAGE
Lloh16:
	ldr	x8, [x8, _drv@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	ldr	w2, [x19]
Lloh18:
	adrp	x3, l_.str@PAGE
Lloh19:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x19
	mov	x4, x22
	bl	_netif_info
	cbz	w24, LBB0_13
; %bb.7:
	mov	x20, #0
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x26]
	lsl	x21, x20, #3
	ldr	x2, [x27, x21]
	mov	x0, x19
	bl	_efx_ef10_filter_remove_unsafe
	ldr	x8, [x28]
	str	x8, [x27, x21]
	add	x20, x20, #1
	cmp	x24, x20
	b.ne	LBB0_8
	b	LBB0_13
LBB0_9:
	mov	w22, #0
	ldur	w8, [x29, #-116]                ; 4-byte Folded Reload
	cbz	w8, LBB0_13
; %bb.10:
	ldur	x24, [x29, #-112]               ; 8-byte Folded Reload
	ldur	w8, [x29, #-100]                ; 4-byte Folded Reload
	cbz	w8, LBB0_16
; %bb.11:
	ldr	x8, [x20]
Lloh20:
	adrp	x23, _EFX_EF10_BCAST@GOTPAGE
Lloh21:
	ldr	x23, [x23, _EFX_EF10_BCAST@GOTPAGEOFF]
	ldr	x9, [x23]
	ldr	x8, [x8, x9, lsl #3]
	ldr	x9, [x28]
	cmp	x8, x9
	cset	w0, ne
	bl	_EFX_WARN_ON_PARANOID
	ldr	w1, [x26]
	sub	x0, x29, #96
	mov	x2, x25
	mov	w3, #0
	bl	_efx_filter_init_rx
	ldur	x22, [x29, #-128]               ; 8-byte Folded Reload
	mov	x0, x22
	bl	_eth_broadcast_addr
	ldr	w1, [x20, #8]
	sub	x0, x29, #96
	mov	x2, x22
	bl	_efx_filter_set_eth_local
	sub	x1, x29, #96
	mov	x0, x19
	mov	w2, #1
	bl	_efx_ef10_filter_insert_locked
	mov	x22, x0
	tbnz	w0, #31, LBB0_14
; %bb.12:
	mov	x0, x22
	bl	_efx_ef10_filter_get_unsafe_id
	mov	w22, #0
	ldr	x8, [x20]
	ldr	x9, [x23]
	str	x0, [x8, x9, lsl #3]
	b	LBB0_16
LBB0_13:
	ldur	x24, [x29, #-112]               ; 8-byte Folded Reload
	b	LBB0_16
LBB0_14:
Lloh22:
	adrp	x8, _drv@GOTPAGE
Lloh23:
	ldr	x8, [x8, _drv@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	ldr	w2, [x19]
Lloh25:
	adrp	x3, l_.str.1@PAGE
Lloh26:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x4, x22
	bl	_netif_warn
	cbz	w21, LBB0_16
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x26]
	ldr	x2, [x27]
	mov	x0, x19
	bl	_efx_ef10_filter_remove_unsafe
	ldr	x8, [x28]
	str	x8, [x27], #8
	subs	x21, x21, #1
	b.ne	LBB0_15
LBB0_16:
	mov	sp, x24
	ldur	x8, [x29, #-88]
Lloh27:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh28:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_18
; %bb.17:
	mov	x0, x22
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_18:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_EFX_FILTER_FLAG_RX_RSS,4,2     ; @EFX_FILTER_FLAG_RX_RSS
	.comm	_EFX_EF10_FILTER_ID_INVALID,8,3 ; @EFX_EF10_FILTER_ID_INVALID
	.comm	_EFX_FILTER_PRI_AUTO,4,2        ; @EFX_FILTER_PRI_AUTO
	.comm	_drv,4,2                        ; @drv
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"efx_ef10_filter_insert failed rc=%d\n"

	.comm	_EFX_EF10_BCAST,8,3             ; @EFX_EF10_BCAST
l_.str.1:                               ; @.str.1
	.asciz	"Broadcast filter insert failed rc=%d\n"

	.no_dead_strip	_efx_ef10_filter_insert_addr_list
.subsections_via_symbols
