	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function e1000_vlan_filter_on_off
_e1000_vlan_filter_on_off:              ## @e1000_vlan_filter_on_off
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	___E1000_DOWN@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_e1000_irq_disable
LBB0_2:
	movq	8(%rbx), %rax
	movl	4(%rax), %esi
	movq	%rbx, %rdi
	callq	___e1000_vlan_mode
	movq	_RCTL@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_er32
	testl	%r14d, %r14d
	je	LBB0_6
## %bb.3:
	movq	_E1000_RCTL_CFIEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	andl	%ecx, %eax
	movq	8(%rbx), %rcx
	movq	_IFF_PROMISC@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	xorl	%esi, %esi
	andl	(%rcx), %edx
	jne	LBB0_5
## %bb.4:
	movq	_E1000_RCTL_VFE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
LBB0_5:
	orl	%eax, %esi
	movl	(%r12), %edi
	callq	_ew32
	movq	%rbx, %rdi
	callq	_e1000_update_mng_vlan
	jmp	LBB0_7
LBB0_6:
	movq	_E1000_RCTL_VFE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	andl	%ecx, %eax
	movl	(%r12), %edi
	movl	%eax, %esi
	callq	_ew32
LBB0_7:
	movl	(%r15), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_9
## %bb.8:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_e1000_irq_enable               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	___E1000_DOWN,4,2               ## @__E1000_DOWN
	.comm	_RCTL,4,2                       ## @RCTL
	.comm	_E1000_RCTL_CFIEN,4,2           ## @E1000_RCTL_CFIEN
	.comm	_IFF_PROMISC,4,2                ## @IFF_PROMISC
	.comm	_E1000_RCTL_VFE,4,2             ## @E1000_RCTL_VFE
	.no_dead_strip	_e1000_vlan_filter_on_off
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function e1000_vlan_filter_on_off
_e1000_vlan_filter_on_off:              ; @e1000_vlan_filter_on_off
	.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
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x21, ___E1000_DOWN@GOTPAGE
Lloh1:
	ldr	x21, [x21, ___E1000_DOWN@GOTPAGEOFF]
	ldr	w0, [x21]
	mov	x1, x19
	bl	_test_bit
	cbnz	w0, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_e1000_irq_disable
LBB0_2:
	ldr	x8, [x19, #8]
	ldr	w1, [x8, #4]
	mov	x0, x19
	bl	___e1000_vlan_mode
Lloh2:
	adrp	x22, _RCTL@GOTPAGE
Lloh3:
	ldr	x22, [x22, _RCTL@GOTPAGEOFF]
	ldr	w0, [x22]
	bl	_er32
	cbz	w20, LBB0_4
; %bb.3:
Lloh4:
	adrp	x8, _E1000_RCTL_CFIEN@GOTPAGE
Lloh5:
	ldr	x8, [x8, _E1000_RCTL_CFIEN@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	bic	w8, w0, w8
	ldr	x9, [x19, #8]
	ldr	w9, [x9]
Lloh7:
	adrp	x10, _IFF_PROMISC@GOTPAGE
Lloh8:
	ldr	x10, [x10, _IFF_PROMISC@GOTPAGEOFF]
Lloh9:
	adrp	x11, _E1000_RCTL_VFE@GOTPAGE
Lloh10:
	ldr	x11, [x11, _E1000_RCTL_VFE@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
Lloh12:
	ldr	w11, [x11]
	tst	w10, w9
	csel	w9, w11, wzr, eq
	orr	w1, w9, w8
	ldr	w0, [x22]
	bl	_ew32
	mov	x0, x19
	bl	_e1000_update_mng_vlan
	b	LBB0_5
LBB0_4:
Lloh13:
	adrp	x8, _E1000_RCTL_VFE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _E1000_RCTL_VFE@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	bic	w1, w0, w8
	ldr	w0, [x22]
	bl	_ew32
LBB0_5:
	ldr	w0, [x21]
	mov	x1, x19
	bl	_test_bit
	cbz	w0, LBB0_7
; %bb.6:
	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
LBB0_7:
	mov	x0, x19
	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
	b	_e1000_irq_enable
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh11
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	___E1000_DOWN,4,2               ; @__E1000_DOWN
	.comm	_RCTL,4,2                       ; @RCTL
	.comm	_E1000_RCTL_CFIEN,4,2           ; @E1000_RCTL_CFIEN
	.comm	_IFF_PROMISC,4,2                ; @IFF_PROMISC
	.comm	_E1000_RCTL_VFE,4,2             ; @E1000_RCTL_VFE
	.no_dead_strip	_e1000_vlan_filter_on_off
.subsections_via_symbols
