	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function be_vlan_rem_vid
_be_vlan_rem_vid:                       ## @be_vlan_rem_vid
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_mutex_lock
	movq	%rbx, %rdi
	callq	_lancer_chip
	xorl	%r15d, %r15d
	testq	%r14, %r14
	jne	LBB0_2
## %bb.1:
	testq	%rax, %rax
	jne	LBB0_4
LBB0_2:
	movl	8(%rbx), %esi
	movq	%r14, %rdi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	8(%rbx), %esi
	movq	%r14, %rdi
	callq	_clear_bit
	decl	4(%rbx)
	movq	%rbx, %rdi
	callq	_be_vid_config
	movl	%eax, %r15d
LBB0_4:
	movq	%rbx, %rdi
	callq	_mutex_unlock
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_be_vlan_rem_vid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function be_vlan_rem_vid
_be_vlan_rem_vid:                       ; @be_vlan_rem_vid
	.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	x20, x2
	bl	_netdev_priv
	mov	x19, x0
	bl	_mutex_lock
	mov	x0, x19
	bl	_lancer_chip
	cbnz	x20, LBB0_2
; %bb.1:
	cbnz	x0, LBB0_4
LBB0_2:
	ldr	w1, [x19, #8]
	mov	x0, x20
	bl	_test_bit
	cbz	w0, LBB0_4
; %bb.3:
	ldr	w1, [x19, #8]
	mov	x0, x20
	bl	_clear_bit
	ldr	w8, [x19, #4]
	sub	w8, w8, #1
	str	w8, [x19, #4]
	mov	x0, x19
	bl	_be_vid_config
	mov	x20, x0
	b	LBB0_5
LBB0_4:
	mov	w20, #0
LBB0_5:
	mov	x0, x19
	bl	_mutex_unlock
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_be_vlan_rem_vid
.subsections_via_symbols
