	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function enetc_sync_mac_filters
_enetc_sync_mac_filters:                ## @enetc_sync_mac_filters
	.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
	movq	_MADDR_TYPE@GOTPCREL(%rip), %r13
	cmpl	$0, (%r13)
	jle	LBB0_14
## %bb.1:
	movq	(%rdi), %r15
	movq	_EMETC_MAC_ADDR_FILT_RES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	8(%rdi), %r12
	addq	$16, %r12
	xorl	%ebx, %ebx
	movq	_UC@GOTPCREL(%rip), %r14
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-8(%r12), %rcx
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	%ebx, %edx
	callq	_enetc_set_mac_ht_flt
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	incl	%ebx
	addq	$24, %r12
	cmpl	(%r13), %ebx
	jge	LBB0_14
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	-16(%r12), %ecx
	movl	(%r14), %eax
	testl	%ecx, %ecx
	je	LBB0_3
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$1, %ecx
	jne	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%eax, %ebx
	jne	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	%ebx, %edx
	callq	_enetc_clear_mac_ht_flt
	movq	%r13, %r14
	movl	(%r12), %r13d
	xorl	%edi, %edi
	callq	_BIT
	movq	%r15, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%r13d, %edx
	movq	%r14, %r13
	movq	_UC@GOTPCREL(%rip), %r14
	movl	%eax, %ecx
	callq	_enetc_set_mac_flt_entry
	testl	%eax, %eax
	je	LBB0_13
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r15), %rdi
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edx
	callq	_dev_warn
	movl	(%r14), %eax
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%eax, %ebx
	jne	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_enetc_clear_mac_flt_entry
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%eax, %ebx
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_enetc_clear_mac_flt_entry
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	%ebx, %edx
	callq	_enetc_clear_mac_ht_flt
	jmp	LBB0_13
LBB0_14:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EMETC_MAC_ADDR_FILT_RES,4,2    ## @EMETC_MAC_ADDR_FILT_RES
	.comm	_MADDR_TYPE,4,2                 ## @MADDR_TYPE
	.comm	_UC,4,2                         ## @UC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"fallback to HT filt (%d)\n"

	.no_dead_strip	_enetc_sync_mac_filters
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function enetc_sync_mac_filters
_enetc_sync_mac_filters:                ; @enetc_sync_mac_filters
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
Lloh0:
	adrp	x24, _MADDR_TYPE@GOTPAGE
Lloh1:
	ldr	x24, [x24, _MADDR_TYPE@GOTPAGEOFF]
	ldr	w8, [x24]
	cmp	w8, #1
	b.lt	LBB0_13
; %bb.1:
	mov	w19, #0
Lloh2:
	adrp	x8, _EMETC_MAC_ADDR_FILT_RES@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EMETC_MAC_ADDR_FILT_RES@GOTPAGEOFF]
Lloh4:
	ldr	w20, [x8]
	ldp	x21, x8, [x0]
	add	x25, x8, #16
Lloh5:
	adrp	x26, _UC@GOTPAGE
Lloh6:
	ldr	x26, [x26, _UC@GOTPAGEOFF]
Lloh7:
	adrp	x22, l_.str@PAGE
Lloh8:
	add	x22, x22, l_.str@PAGEOFF
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldur	x3, [x25, #-8]
	mov	x0, x21
	mov	w1, #0
	mov	x2, x19
	bl	_enetc_set_mac_ht_flt
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w19, w19, #1
	ldr	w8, [x24]
	add	x25, x25, #24
	cmp	w19, w8
	b.ge	LBB0_13
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldur	w9, [x25, #-16]
	ldr	w8, [x26]
	cbz	w9, LBB0_10
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w9, #1
	ccmp	w19, w8, #0, eq
	b.ne	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x21
	mov	w1, #0
	mov	x2, x19
	bl	_enetc_clear_mac_ht_flt
	ldr	w23, [x25]
	mov	w0, #0
	bl	_BIT
	mov	x3, x0
	mov	x0, x21
	mov	x1, x20
	mov	x2, x23
	bl	_enetc_set_mac_flt_entry
	cbz	w0, LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x2, x0
	ldr	x0, [x21]
	mov	x1, x22
	bl	_dev_warn
	ldr	w8, [x26]
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	cmp	w19, w8
	b.ne	LBB0_2
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x21
	mov	x1, x20
	bl	_enetc_clear_mac_flt_entry
	b	LBB0_2
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w19, w8
	b.ne	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x21
	mov	x1, x20
	bl	_enetc_clear_mac_flt_entry
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x21
	mov	w1, #0
	mov	x2, x19
	bl	_enetc_clear_mac_ht_flt
	b	LBB0_3
LBB0_13:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_EMETC_MAC_ADDR_FILT_RES,4,2    ; @EMETC_MAC_ADDR_FILT_RES
	.comm	_MADDR_TYPE,4,2                 ; @MADDR_TYPE
	.comm	_UC,4,2                         ; @UC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"fallback to HT filt (%d)\n"

	.no_dead_strip	_enetc_sync_mac_filters
.subsections_via_symbols
