	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function be_enable_if_filters
_be_enable_if_filters:                  ## @be_enable_if_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_BE_IF_FILT_FLAGS_BASIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ON@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_be_cmd_rx_filter
	testl	%eax, %eax
	jne	LBB0_12
## %bb.1:
	movl	24(%rbx), %edi
	movq	16(%rbx), %rax
	movl	(%rax), %esi
	callq	_ether_addr_equal
	testl	%eax, %eax
	je	LBB0_2
## %bb.9:
	cmpq	$0, 8(%rbx)
	je	LBB0_11
LBB0_10:
	movq	%rbx, %rdi
	callq	_be_vid_config
LBB0_11:
	movq	%rbx, %rdi
	callq	___be_set_rx_mode
	xorl	%eax, %eax
	jmp	LBB0_12
LBB0_2:
	movl	24(%rbx), %edi
	callq	_is_zero_ether_addr
	movl	$-1, %r14d
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movq	(%rbx), %rax
	movl	(%rax), %r14d
LBB0_4:
	movq	16(%rbx), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_be_dev_mac_add
	testl	%eax, %eax
	je	LBB0_5
LBB0_12:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_5:
	testl	%r14d, %r14d
	js	LBB0_8
## %bb.6:
	movq	(%rbx), %rax
	cmpl	(%rax), %r14d
	je	LBB0_8
## %bb.7:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_be_dev_mac_del
LBB0_8:
	movl	24(%rbx), %edi
	movq	16(%rbx), %rax
	movl	(%rax), %esi
	callq	_ether_addr_copy
	cmpq	$0, 8(%rbx)
	jne	LBB0_10
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_BE_IF_FILT_FLAGS_BASIC,4,2     ## @BE_IF_FILT_FLAGS_BASIC
	.comm	_ON,4,2                         ## @ON
	.no_dead_strip	_be_enable_if_filters
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function be_enable_if_filters
_be_enable_if_filters:                  ; @be_enable_if_filters
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _BE_IF_FILT_FLAGS_BASIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BE_IF_FILT_FLAGS_BASIC@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _ON@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ON@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	bl	_be_cmd_rx_filter
	cbnz	w0, LBB0_9
; %bb.1:
	ldr	w0, [x19, #24]
	ldr	x8, [x19, #16]
	ldr	w1, [x8]
	bl	_ether_addr_equal
	cbz	w0, LBB0_5
; %bb.2:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_4
LBB0_3:
	mov	x0, x19
	bl	_be_vid_config
LBB0_4:
	mov	x0, x19
	bl	___be_set_rx_mode
	mov	w0, #0
	b	LBB0_9
LBB0_5:
	ldr	w0, [x19, #24]
	bl	_is_zero_ether_addr
	cbz	w0, LBB0_7
; %bb.6:
	mov	w20, #-1
	b	LBB0_8
LBB0_7:
	ldr	x8, [x19]
	ldr	w20, [x8]
LBB0_8:
	ldr	x8, [x19, #16]
	ldr	w1, [x8]
	mov	x0, x19
	bl	_be_dev_mac_add
	cbz	w0, LBB0_10
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_10:
	tbnz	w20, #31, LBB0_13
; %bb.11:
	ldr	x8, [x19]
	ldr	w8, [x8]
	cmp	w20, w8
	b.eq	LBB0_13
; %bb.12:
	mov	x0, x19
	mov	x1, x20
	bl	_be_dev_mac_del
LBB0_13:
	ldr	w0, [x19, #24]
	ldr	x8, [x19, #16]
	ldr	w1, [x8]
	bl	_ether_addr_copy
	ldr	x8, [x19, #8]
	cbnz	x8, LBB0_3
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_BE_IF_FILT_FLAGS_BASIC,4,2     ; @BE_IF_FILT_FLAGS_BASIC
	.comm	_ON,4,2                         ; @ON
	.no_dead_strip	_be_enable_if_filters
.subsections_via_symbols
