	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function be_set_vlan_promisc
_be_set_vlan_promisc:                   ## @be_set_vlan_promisc
	.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	_BE_IF_FLAGS_VLAN_PROMISCUOUS@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	xorl	%r14d, %r14d
	testl	%esi, (%rdi)
	jne	LBB0_4
## %bb.1:
	movq	%rdi, %rbx
	movq	8(%rdi), %r15
	movq	_ON@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_be_cmd_rx_filter
	testl	%eax, %eax
	je	LBB0_2
## %bb.3:
	movl	%eax, %r12d
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_err
	movl	%r12d, %r14d
	jmp	LBB0_4
LBB0_2:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_info
	movl	(%r13), %eax
	orl	%eax, (%rbx)
LBB0_4:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BE_IF_FLAGS_VLAN_PROMISCUOUS,4,2 ## @BE_IF_FLAGS_VLAN_PROMISCUOUS
	.comm	_ON,4,2                         ## @ON
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Enabled VLAN promiscuous mode\n"

L_.str.1:                               ## @.str.1
	.asciz	"Failed to enable VLAN promiscuous mode\n"

	.no_dead_strip	_be_set_vlan_promisc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function be_set_vlan_promisc
_be_set_vlan_promisc:                   ; @be_set_vlan_promisc
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	ldr	w8, [x0]
Lloh0:
	adrp	x22, _BE_IF_FLAGS_VLAN_PROMISCUOUS@GOTPAGE
Lloh1:
	ldr	x22, [x22, _BE_IF_FLAGS_VLAN_PROMISCUOUS@GOTPAGEOFF]
	ldr	w1, [x22]
	tst	w1, w8
	b.eq	LBB0_2
; %bb.1:
	mov	w20, #0
	b	LBB0_5
LBB0_2:
	mov	x19, x0
	ldr	x21, [x0, #8]
Lloh2:
	adrp	x8, _ON@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ON@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	bl	_be_cmd_rx_filter
	mov	x20, x0
	cbz	w0, LBB0_4
; %bb.3:
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_dev_err
	b	LBB0_5
LBB0_4:
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_dev_info
	ldr	w8, [x22]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_5:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_BE_IF_FLAGS_VLAN_PROMISCUOUS,4,2 ; @BE_IF_FLAGS_VLAN_PROMISCUOUS
	.comm	_ON,4,2                         ; @ON
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Enabled VLAN promiscuous mode\n"

l_.str.1:                               ; @.str.1
	.asciz	"Failed to enable VLAN promiscuous mode\n"

	.no_dead_strip	_be_set_vlan_promisc
.subsections_via_symbols
