	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function e1000_update_mng_vlan
_e1000_update_mng_vlan:                 ## @e1000_update_mng_vlan
	.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
	movq	24(%rdi), %r14
	movq	(%rdi), %r15
	movq	8(%rdi), %r12
	movq	_E1000_MNG_DHCP_COOKIE_STATUS_VLAN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 16(%rdi)
	je	LBB0_2
## %bb.1:
	movq	%rdi, %rbx
	movq	_ETH_P_8021Q@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	movq	%r14, %rdi
	movl	%eax, %esi
	movq	%r12, %rdx
	callq	_e1000_vlan_rx_add_vid
	movq	%r12, (%rbx)
LBB0_2:
	movq	_E1000_MNG_VLAN_NONE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r15
	je	LBB0_4
## %bb.3:
	cmpq	%r15, %r12
	je	LBB0_4
## %bb.5:
	movq	_ETH_P_8021Q@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	movq	%r14, %rdi
	movl	%eax, %esi
	movq	%r15, %rdx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_e1000_vlan_rx_kill_vid         ## TAILCALL
LBB0_4:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_E1000_MNG_DHCP_COOKIE_STATUS_VLAN,4,2 ## @E1000_MNG_DHCP_COOKIE_STATUS_VLAN
	.comm	_ETH_P_8021Q,4,2                ## @ETH_P_8021Q
	.comm	_E1000_MNG_VLAN_NONE,8,3        ## @E1000_MNG_VLAN_NONE
	.no_dead_strip	_e1000_update_mng_vlan
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function e1000_update_mng_vlan
_e1000_update_mng_vlan:                 ; @e1000_update_mng_vlan
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	ldr	x19, [x0, #24]
	ldp	x20, x21, [x0]
	ldr	w8, [x0, #16]
Lloh0:
	adrp	x9, _E1000_MNG_DHCP_COOKIE_STATUS_VLAN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _E1000_MNG_DHCP_COOKIE_STATUS_VLAN@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x23, _ETH_P_8021Q@GOTPAGE
Lloh4:
	ldr	x23, [x23, _ETH_P_8021Q@GOTPAGEOFF]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	mov	x22, x0
	ldr	w0, [x23]
	bl	_htons
	mov	x1, x0
	mov	x0, x19
	mov	x2, x21
	bl	_e1000_vlan_rx_add_vid
	str	x21, [x22]
LBB0_2:
Lloh5:
	adrp	x8, _E1000_MNG_VLAN_NONE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _E1000_MNG_VLAN_NONE@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cmp	x20, x8
	ccmp	x21, x20, #4, ne
	b.ne	LBB0_4
; %bb.3:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_4:
	ldr	w0, [x23]
	bl	_htons
	mov	x1, x0
	mov	x0, x19
	mov	x2, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_e1000_vlan_rx_kill_vid
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_E1000_MNG_DHCP_COOKIE_STATUS_VLAN,4,2 ; @E1000_MNG_DHCP_COOKIE_STATUS_VLAN
	.comm	_ETH_P_8021Q,4,2                ; @ETH_P_8021Q
	.comm	_E1000_MNG_VLAN_NONE,8,3        ; @E1000_MNG_VLAN_NONE
	.no_dead_strip	_e1000_update_mng_vlan
.subsections_via_symbols
