	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sw_r_vlan_table
_sw_r_vlan_table:                       ## @sw_r_vlan_table
	.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	%r8, %r14
	movq	%rcx, %r15
	movq	%rdx, %rbx
	movq	%rsi, %rdx
	movq	_TABLE_VLAN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-28(%rbp), %rcx
	callq	_sw_r_table
	movslq	-28(%rbp), %rax
	movq	_VLAN_TABLE_VALID@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_1
## %bb.2:
	movq	_VLAN_TABLE_VID@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	andq	%rax, %rcx
	movq	%rcx, (%rbx)
	movq	_VLAN_TABLE_FID@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	andl	%eax, %edx
	movq	_VLAN_TABLE_FID_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %edx
	movslq	%edx, %rcx
	movq	%rcx, (%r15)
	movq	_VLAN_TABLE_MEMBERSHIP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	andl	%eax, %edx
	movq	_VLAN_TABLE_MEMBERSHIP_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	sarl	%cl, %edx
	movslq	%edx, %rax
	movq	%rax, (%r14)
	xorl	%eax, %eax
	jmp	LBB0_3
LBB0_1:
	movl	$-1, %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TABLE_VLAN,4,2                 ## @TABLE_VLAN
	.comm	_VLAN_TABLE_VALID,4,2           ## @VLAN_TABLE_VALID
	.comm	_VLAN_TABLE_VID,4,2             ## @VLAN_TABLE_VID
	.comm	_VLAN_TABLE_FID,4,2             ## @VLAN_TABLE_FID
	.comm	_VLAN_TABLE_FID_SHIFT,4,2       ## @VLAN_TABLE_FID_SHIFT
	.comm	_VLAN_TABLE_MEMBERSHIP,4,2      ## @VLAN_TABLE_MEMBERSHIP
	.comm	_VLAN_TABLE_MEMBERSHIP_SHIFT,4,2 ## @VLAN_TABLE_MEMBERSHIP_SHIFT
	.no_dead_strip	_sw_r_vlan_table
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sw_r_vlan_table
_sw_r_vlan_table:                       ; @sw_r_vlan_table
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x4
	mov	x20, x3
	mov	x21, x2
	mov	x2, x1
Lloh0:
	adrp	x8, _TABLE_VLAN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TABLE_VLAN@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x3, sp, #12
	bl	_sw_r_table
	ldrsw	x8, [sp, #12]
Lloh3:
	adrp	x9, _VLAN_TABLE_VALID@GOTPAGE
Lloh4:
	ldr	x9, [x9, _VLAN_TABLE_VALID@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	mov	w0, #0
Lloh6:
	adrp	x9, _VLAN_TABLE_VID@GOTPAGE
Lloh7:
	ldr	x9, [x9, _VLAN_TABLE_VID@GOTPAGEOFF]
Lloh8:
	ldrsw	x9, [x9]
	and	x9, x9, x8
	str	x9, [x21]
Lloh9:
	adrp	x9, _VLAN_TABLE_FID@GOTPAGE
Lloh10:
	ldr	x9, [x9, _VLAN_TABLE_FID@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	and	w9, w9, w8
Lloh12:
	adrp	x10, _VLAN_TABLE_FID_SHIFT@GOTPAGE
Lloh13:
	ldr	x10, [x10, _VLAN_TABLE_FID_SHIFT@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	asr	w9, w9, w10
	sxtw	x9, w9
	str	x9, [x20]
Lloh15:
	adrp	x9, _VLAN_TABLE_MEMBERSHIP@GOTPAGE
Lloh16:
	ldr	x9, [x9, _VLAN_TABLE_MEMBERSHIP@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	and	w8, w9, w8
Lloh18:
	adrp	x9, _VLAN_TABLE_MEMBERSHIP_SHIFT@GOTPAGE
Lloh19:
	ldr	x9, [x9, _VLAN_TABLE_MEMBERSHIP_SHIFT@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	asr	w8, w8, w9
	sxtw	x8, w8
	str	x8, [x19]
	b	LBB0_3
LBB0_2:
	mov	w0, #-1
LBB0_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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_TABLE_VLAN,4,2                 ; @TABLE_VLAN
	.comm	_VLAN_TABLE_VALID,4,2           ; @VLAN_TABLE_VALID
	.comm	_VLAN_TABLE_VID,4,2             ; @VLAN_TABLE_VID
	.comm	_VLAN_TABLE_FID,4,2             ; @VLAN_TABLE_FID
	.comm	_VLAN_TABLE_FID_SHIFT,4,2       ; @VLAN_TABLE_FID_SHIFT
	.comm	_VLAN_TABLE_MEMBERSHIP,4,2      ; @VLAN_TABLE_MEMBERSHIP
	.comm	_VLAN_TABLE_MEMBERSHIP_SHIFT,4,2 ; @VLAN_TABLE_MEMBERSHIP_SHIFT
	.no_dead_strip	_sw_r_vlan_table
.subsections_via_symbols
