	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function e1000e_vlan_filter_disable
_e1000e_vlan_filter_disable:            ## @e1000e_vlan_filter_disable
	.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	_FLAG_HAS_HW_VLAN_FILTER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	je	LBB0_3
## %bb.1:
	movq	%rdi, %rbx
	movq	24(%rdi), %r14
	movq	_RCTL@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_er32
	movq	_E1000_RCTL_VFE@GOTPCREL(%rip), %rcx
	movq	_E1000_RCTL_CFIEN@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	orl	(%rcx), %esi
	notl	%esi
	andl	%eax, %esi
	movl	(%r15), %edi
	callq	_ew32
	movq	8(%rbx), %rax
	movq	_E1000_MNG_VLAN_NONE@GOTPCREL(%rip), %r15
	cmpq	(%r15), %rax
	je	LBB0_3
## %bb.2:
	movq	_ETH_P_8021Q@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	movq	8(%rbx), %rdx
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_e1000_vlan_rx_kill_vid
	movq	(%r15), %rax
	movq	%rax, 8(%rbx)
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FLAG_HAS_HW_VLAN_FILTER,4,2    ## @FLAG_HAS_HW_VLAN_FILTER
	.comm	_RCTL,4,2                       ## @RCTL
	.comm	_E1000_RCTL_VFE,4,2             ## @E1000_RCTL_VFE
	.comm	_E1000_RCTL_CFIEN,4,2           ## @E1000_RCTL_CFIEN
	.comm	_E1000_MNG_VLAN_NONE,8,3        ## @E1000_MNG_VLAN_NONE
	.comm	_ETH_P_8021Q,4,2                ## @ETH_P_8021Q
	.no_dead_strip	_e1000e_vlan_filter_disable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function e1000e_vlan_filter_disable
_e1000e_vlan_filter_disable:            ; @e1000e_vlan_filter_disable
	.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	x9, _FLAG_HAS_HW_VLAN_FILTER@GOTPAGE
Lloh1:
	ldr	x9, [x9, _FLAG_HAS_HW_VLAN_FILTER@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.1:
	mov	x19, x0
	ldr	x20, [x0, #24]
Lloh3:
	adrp	x21, _RCTL@GOTPAGE
Lloh4:
	ldr	x21, [x21, _RCTL@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_er32
Lloh5:
	adrp	x8, _E1000_RCTL_VFE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _E1000_RCTL_VFE@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _E1000_RCTL_CFIEN@GOTPAGE
Lloh9:
	ldr	x9, [x9, _E1000_RCTL_CFIEN@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	orr	w8, w9, w8
	bic	w1, w0, w8
	ldr	w0, [x21]
	bl	_ew32
	ldr	x8, [x19, #8]
Lloh11:
	adrp	x21, _E1000_MNG_VLAN_NONE@GOTPAGE
Lloh12:
	ldr	x21, [x21, _E1000_MNG_VLAN_NONE@GOTPAGEOFF]
	ldr	x9, [x21]
	cmp	x8, x9
	b.eq	LBB0_3
; %bb.2:
Lloh13:
	adrp	x8, _ETH_P_8021Q@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ETH_P_8021Q@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	bl	_htons
	mov	x1, x0
	ldr	x2, [x19, #8]
	mov	x0, x20
	bl	_e1000_vlan_rx_kill_vid
	ldr	x8, [x21]
	str	x8, [x19, #8]
LBB0_3:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_FLAG_HAS_HW_VLAN_FILTER,4,2    ; @FLAG_HAS_HW_VLAN_FILTER
	.comm	_RCTL,4,2                       ; @RCTL
	.comm	_E1000_RCTL_VFE,4,2             ; @E1000_RCTL_VFE
	.comm	_E1000_RCTL_CFIEN,4,2           ; @E1000_RCTL_CFIEN
	.comm	_E1000_MNG_VLAN_NONE,8,3        ; @E1000_MNG_VLAN_NONE
	.comm	_ETH_P_8021Q,4,2                ; @ETH_P_8021Q
	.no_dead_strip	_e1000e_vlan_filter_disable
.subsections_via_symbols
