	.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	%rdi, %rbx
	movq	8(%rdi), %rdi
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.1:
	movq	16(%rbx), %r14
	movq	24(%rbx), %r12
	movq	(%rbx), %r15
	movq	%r12, %rsi
	callq	_vlan_group_get_device
	testl	%eax, %eax
	je	LBB0_2
## %bb.9:
	movq	%r12, (%rbx)
LBB0_10:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	_E1000_MNG_DHCP_COOKIE_STATUS_VLAN_SUPPORT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 32(%rbx)
	je	LBB0_4
## %bb.3:
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_e1000_vlan_rx_add_vid
	movq	%r12, %rax
	jmp	LBB0_5
LBB0_4:
	movq	_E1000_MNG_VLAN_NONE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_5:
	movq	%rax, (%rbx)
	movq	_E1000_MNG_VLAN_NONE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r15
	je	LBB0_10
## %bb.6:
	cmpq	%r15, %r12
	je	LBB0_10
## %bb.7:
	movq	8(%rbx), %rdi
	movq	%r15, %rsi
	callq	_vlan_group_get_device
	testl	%eax, %eax
	jne	LBB0_10
## %bb.8:
	movq	%r14, %rdi
	movq	%r15, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_e1000_vlan_rx_kill_vid         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_E1000_MNG_DHCP_COOKIE_STATUS_VLAN_SUPPORT,4,2 ## @E1000_MNG_DHCP_COOKIE_STATUS_VLAN_SUPPORT
	.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
	mov	x21, x0
	ldr	x0, [x0, #8]
	cbz	x0, LBB0_8
; %bb.1:
	ldp	x19, x22, [x21, #16]
	ldr	x20, [x21]
	mov	x1, x22
	bl	_vlan_group_get_device
	cbz	w0, LBB0_3
; %bb.2:
	str	x22, [x21]
	b	LBB0_8
LBB0_3:
	ldr	w8, [x21, #32]
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]
Lloh3:
	adrp	x23, _E1000_MNG_VLAN_NONE@GOTPAGE
Lloh4:
	ldr	x23, [x23, _E1000_MNG_VLAN_NONE@GOTPAGEOFF]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.4:
	mov	x0, x19
	mov	x1, x22
	bl	_e1000_vlan_rx_add_vid
	mov	x8, x22
	b	LBB0_6
LBB0_5:
	ldr	x8, [x23]
LBB0_6:
	str	x8, [x21]
	ldr	x8, [x23]
	cmp	x20, x8
	ccmp	x22, x20, #4, ne
	b.eq	LBB0_8
; %bb.7:
	ldr	x0, [x21, #8]
	mov	x1, x20
	bl	_vlan_group_get_device
	cbz	w0, LBB0_9
LBB0_8:
	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_9:
	mov	x0, x19
	mov	x1, 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
	.cfi_endproc
                                        ; -- End function
	.comm	_E1000_MNG_DHCP_COOKIE_STATUS_VLAN_SUPPORT,4,2 ; @E1000_MNG_DHCP_COOKIE_STATUS_VLAN_SUPPORT
	.comm	_E1000_MNG_VLAN_NONE,8,3        ; @E1000_MNG_VLAN_NONE
	.no_dead_strip	_e1000_update_mng_vlan
.subsections_via_symbols
