	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pop_vlan
_pop_vlan:                              ## @pop_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	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	callq	_vlan_tx_tag_present
	movl	%eax, %edi
	callq	_likely
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	$0, 16(%r14)
LBB0_6:
	movq	(%r14), %rbx
	movq	_ETH_P_8021Q@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	movl	$1, %edi
	cmpq	%rax, %rbx
	jne	LBB0_8
## %bb.7:
	movq	8(%r14), %rax
	movq	_VLAN_ETH_HLEN@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setl	%dil
LBB0_8:
	callq	_likely
	xorl	%ebx, %ebx
	testq	%rax, %rax
	jne	LBB0_11
## %bb.9:
	leaq	-20(%rbp), %rsi
	movq	%r14, %rdi
	callq	___pop_vlan_tci
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_11
## %bb.10:
	movl	-20(%rbp), %edi
	callq	_ntohs
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	___vlan_hwaccel_put_tag
	xorl	%ebx, %ebx
	jmp	LBB0_11
LBB0_2:
	movq	(%r14), %rbx
	movq	_ETH_P_8021Q@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	movl	$1, %edi
	cmpq	%rax, %rbx
	jne	LBB0_4
## %bb.3:
	movq	8(%r14), %rax
	movq	_VLAN_ETH_HLEN@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setl	%dil
LBB0_4:
	callq	_unlikely
	xorl	%ebx, %ebx
	testq	%rax, %rax
	jne	LBB0_11
## %bb.5:
	leaq	-20(%rbp), %rsi
	movq	%r14, %rdi
	callq	___pop_vlan_tci
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_6
LBB0_11:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_P_8021Q,4,2                ## @ETH_P_8021Q
	.comm	_VLAN_ETH_HLEN,8,3              ## @VLAN_ETH_HLEN
	.no_dead_strip	_pop_vlan
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pop_vlan
_pop_vlan:                              ; @pop_vlan
	.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, x0
	bl	_vlan_tx_tag_present
	bl	_likely
Lloh0:
	adrp	x21, _ETH_P_8021Q@GOTPAGE
Lloh1:
	ldr	x21, [x21, _ETH_P_8021Q@GOTPAGEOFF]
	cbz	x0, LBB0_4
; %bb.1:
	str	xzr, [x19, #16]
LBB0_2:
	ldr	x20, [x19]
	ldr	w0, [x21]
	bl	_htons
	cmp	x20, x0
	b.ne	LBB0_6
; %bb.3:
	ldr	x8, [x19, #8]
Lloh2:
	adrp	x9, _VLAN_ETH_HLEN@GOTPAGE
Lloh3:
	ldr	x9, [x9, _VLAN_ETH_HLEN@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, lt
	bl	_likely
	cbnz	x0, LBB0_10
	b	LBB0_7
LBB0_4:
	ldr	x20, [x19]
	ldr	w0, [x21]
	bl	_htons
	cmp	x20, x0
	b.ne	LBB0_9
; %bb.5:
	ldr	x8, [x19, #8]
Lloh5:
	adrp	x9, _VLAN_ETH_HLEN@GOTPAGE
Lloh6:
	ldr	x9, [x9, _VLAN_ETH_HLEN@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, lt
	bl	_unlikely
	cbnz	x0, LBB0_10
	b	LBB0_12
LBB0_6:
	mov	w0, #1
	bl	_likely
	cbnz	x0, LBB0_10
LBB0_7:
	add	x1, sp, #12
	mov	x0, x19
	bl	___pop_vlan_tci
	mov	x20, x0
	bl	_unlikely
	cbnz	x0, LBB0_11
; %bb.8:
	ldr	w0, [sp, #12]
	bl	_ntohs
	mov	x1, x0
	mov	x0, x19
	bl	___vlan_hwaccel_put_tag
	b	LBB0_10
LBB0_9:
	mov	w0, #1
	bl	_unlikely
	cbz	x0, LBB0_12
LBB0_10:
	mov	w20, #0
LBB0_11:
	mov	x0, 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
	add	sp, sp, #64
	ret
LBB0_12:
	add	x1, sp, #12
	mov	x0, x19
	bl	___pop_vlan_tci
	mov	x20, x0
	cbnz	w0, LBB0_11
	b	LBB0_2
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_P_8021Q,4,2                ; @ETH_P_8021Q
	.comm	_VLAN_ETH_HLEN,8,3              ; @VLAN_ETH_HLEN
	.no_dead_strip	_pop_vlan
.subsections_via_symbols
