	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function e1000_vlan_rx_add_vid
_e1000_vlan_rx_add_vid:                 ## @e1000_vlan_rx_add_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	callq	_netdev_priv
	movq	%rax, %r12
	movq	%rax, %r14
	movq	_E1000_MNG_DHCP_COOKIE_STATUS_VLAN_SUPPORT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 8(%r12)
	je	LBB0_2
## %bb.1:
	cmpl	%r15d, (%r14)
	je	LBB0_5
LBB0_2:
	addq	$8, %r12
	movq	%r14, %rdi
	callq	_e1000_vlan_used
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_e1000_vlan_filter_on_off
LBB0_4:
	movl	%r15d, %ebx
	shrl	$5, %ebx
	andl	$127, %ebx
	movq	_VFTA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	%ebx, %edx
	callq	_E1000_READ_REG_ARRAY
	btsl	%r15d, %eax
	movq	%r12, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_e1000_write_vfta
	movl	4(%r14), %esi
	movl	%r15d, %edi
	callq	_set_bit
LBB0_5:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_E1000_MNG_DHCP_COOKIE_STATUS_VLAN_SUPPORT,4,2 ## @E1000_MNG_DHCP_COOKIE_STATUS_VLAN_SUPPORT
	.comm	_VFTA,4,2                       ## @VFTA
	.no_dead_strip	_e1000_vlan_rx_add_vid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function e1000_vlan_rx_add_vid
_e1000_vlan_rx_add_vid:                 ; @e1000_vlan_rx_add_vid
	.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	x19, x2
	bl	_netdev_priv
	mov	x20, x0
	mov	x21, x0
	ldr	w8, [x21, #8]!
Lloh0:
	adrp	x9, _E1000_MNG_DHCP_COOKIE_STATUS_VLAN_SUPPORT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _E1000_MNG_DHCP_COOKIE_STATUS_VLAN_SUPPORT@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	ldr	w8, [x20]
	cmp	w8, w19
	b.eq	LBB0_5
LBB0_2:
	mov	x0, x20
	bl	_e1000_vlan_used
	cbnz	w0, LBB0_4
; %bb.3:
	mov	x0, x20
	mov	w1, #1
	bl	_e1000_vlan_filter_on_off
LBB0_4:
	ubfx	w22, w19, #5, #7
Lloh3:
	adrp	x8, _VFTA@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VFTA@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x21
	mov	x2, x22
	bl	_E1000_READ_REG_ARRAY
	mov	w8, #1
	lsl	w8, w8, w19
	orr	w2, w0, w8
	mov	x0, x21
	mov	x1, x22
	bl	_e1000_write_vfta
	ldr	w1, [x20, #4]
	mov	x0, x19
	bl	_set_bit
LBB0_5:
	mov	w0, #0
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_E1000_MNG_DHCP_COOKIE_STATUS_VLAN_SUPPORT,4,2 ; @E1000_MNG_DHCP_COOKIE_STATUS_VLAN_SUPPORT
	.comm	_VFTA,4,2                       ; @VFTA
	.no_dead_strip	_e1000_vlan_rx_add_vid
.subsections_via_symbols
