	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mv643xx_eth_program_unicast_filter
_mv643xx_eth_program_unicast_filter:    ## @mv643xx_eth_program_unicast_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
	movq	%rdi, %rbx
	callq	_netdev_priv
	movq	%rax, %r12
	movl	(%rbx), %esi
	movq	%rax, %rdi
	callq	_uc_addr_set
	movq	_PORT_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_rdlp
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	_UNICAST_PROMISCUOUS_MODE@GOTPCREL(%rip), %r13
	movl	(%r13), %r14d
	movq	%rbx, %rdi
	callq	_uc_addr_filter_mask
	xorl	%ecx, %ecx
	testl	%eax, %eax
	movl	$65535, %r15d                   ## imm = 0xFFFF
	cmovnel	%eax, %r15d
	movl	(%r12), %edi
	cmovel	(%r13), %ecx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	callq	_UNICAST_TABLE
	movl	%r15d, %ecx
	andl	$1, %ecx
	movl	%r15d, %edx
	andl	$2, %edx
	shll	$7, %edx
	orl	%ecx, %edx
	movl	%r15d, %ecx
	andl	$4, %ecx
	shll	$14, %ecx
	orl	%edx, %ecx
	movl	%r15d, %edx
	andl	$8, %edx
	shll	$21, %edx
	orl	%ecx, %edx
	movl	%r15d, %ebx
	sarl	$4, %ebx
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_wrl
	movl	(%r12), %edi
	callq	_UNICAST_TABLE
                                        ## kill: def $eax killed $eax def $rax
	leal	4(%rax), %esi
	movl	%ebx, %eax
	andl	$1, %eax
	movl	%ebx, %ecx
	andl	$2, %ecx
	shll	$7, %ecx
	orl	%eax, %ecx
	movl	%ebx, %eax
	andl	$4, %eax
	shll	$14, %eax
	orl	%ecx, %eax
	andl	$8, %ebx
	shll	$21, %ebx
	orl	%eax, %ebx
	movl	%r15d, %r13d
	sarl	$8, %r13d
	movq	%r12, %rdi
	movl	%ebx, %edx
	callq	_wrl
	movl	(%r12), %edi
	callq	_UNICAST_TABLE
                                        ## kill: def $eax killed $eax def $rax
	leal	8(%rax), %esi
	movl	%r13d, %eax
	andl	$1, %eax
	movl	%r13d, %ecx
	andl	$2, %ecx
	shll	$7, %ecx
	orl	%eax, %ecx
	movl	%r13d, %eax
	andl	$4, %eax
	shll	$14, %eax
	orl	%ecx, %eax
	andl	$8, %r13d
	shll	$21, %r13d
	orl	%eax, %r13d
	sarl	$12, %r15d
	movq	%r12, %rdi
	movl	%r13d, %edx
	callq	_wrl
	movl	(%r12), %edi
	callq	_UNICAST_TABLE
                                        ## kill: def $eax killed $eax def $rax
	leal	12(%rax), %esi
	movl	%r15d, %eax
	andl	$1, %eax
	movl	%r15d, %ecx
	andl	$2, %ecx
	shll	$7, %ecx
	orl	%eax, %ecx
	movl	%r15d, %eax
	andl	$4, %eax
	shll	$14, %eax
	orl	%ecx, %eax
	andl	$8, %r15d
	shll	$21, %r15d
	orl	%eax, %r15d
	movq	%r12, %rdi
	movl	%r15d, %edx
	callq	_wrl
	notl	%r14d
	andl	-48(%rbp), %r14d                ## 4-byte Folded Reload
	orl	-44(%rbp), %r14d                ## 4-byte Folded Reload
	movq	_PORT_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	%r14d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wrlp                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PORT_CONFIG,4,2                ## @PORT_CONFIG
	.comm	_UNICAST_PROMISCUOUS_MODE,4,2   ## @UNICAST_PROMISCUOUS_MODE
	.no_dead_strip	_mv643xx_eth_program_unicast_filter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mv643xx_eth_program_unicast_filter
_mv643xx_eth_program_unicast_filter:    ; @mv643xx_eth_program_unicast_filter
	.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
	mov	x21, x0
	bl	_netdev_priv
	mov	x19, x0
	ldr	w1, [x21]
	bl	_uc_addr_set
Lloh0:
	adrp	x8, _PORT_CONFIG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PORT_CONFIG@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_rdlp
	mov	x20, x0
Lloh3:
	adrp	x24, _UNICAST_PROMISCUOUS_MODE@GOTPAGE
Lloh4:
	ldr	x24, [x24, _UNICAST_PROMISCUOUS_MODE@GOTPAGEOFF]
	ldr	w23, [x24]
	mov	x0, x21
	bl	_uc_addr_filter_mask
	mov	x21, x0
	ldr	w25, [x24]
	ldr	w0, [x19]
	bl	_UNICAST_TABLE
	mov	x1, x0
	mov	w8, #65535
	cmp	w21, #0
	csel	w24, w8, w21, eq
	lsr	w8, w24, #3
	lsr	w9, w24, #2
	lsr	w10, w24, #1
	and	w2, w24, #0x1
	bfi	w2, w10, #8, #1
	bfi	w2, w9, #16, #1
	bfi	w2, w8, #24, #1
	asr	w26, w24, #4
	lsr	w27, w26, #3
	lsr	w28, w26, #2
	lsr	w22, w26, #1
	csel	w21, w25, wzr, eq
	mov	x0, x19
	bl	_wrl
	ldr	w0, [x19]
	bl	_UNICAST_TABLE
	and	w2, w26, #0x1
	bfi	w2, w22, #8, #1
	bfi	w2, w28, #16, #1
	bfi	w2, w27, #24, #1
	add	w1, w0, #4
	asr	w22, w24, #8
	lsr	w25, w22, #3
	lsr	w26, w22, #2
	lsr	w27, w22, #1
	mov	x0, x19
	bl	_wrl
	ldr	w0, [x19]
	bl	_UNICAST_TABLE
	and	w2, w22, #0x1
	bfi	w2, w27, #8, #1
	bfi	w2, w26, #16, #1
	bfi	w2, w25, #24, #1
	add	w1, w0, #8
	asr	w22, w24, #12
	lsr	w24, w22, #3
	lsr	w25, w22, #2
	lsr	w26, w22, #1
	mov	x0, x19
	bl	_wrl
	ldr	w0, [x19]
	bl	_UNICAST_TABLE
	add	w1, w0, #12
	and	w2, w22, #0x1
	bfi	w2, w26, #8, #1
	bfi	w2, w25, #16, #1
	bfi	w2, w24, #24, #1
	bic	w20, w20, w23
	mov	x0, x19
	bl	_wrl
	orr	w2, w21, w20
Lloh5:
	adrp	x8, _PORT_CONFIG@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PORT_CONFIG@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x19
	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
	b	_wrlp
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PORT_CONFIG,4,2                ; @PORT_CONFIG
	.comm	_UNICAST_PROMISCUOUS_MODE,4,2   ; @UNICAST_PROMISCUOUS_MODE
	.no_dead_strip	_mv643xx_eth_program_unicast_filter
.subsections_via_symbols
