	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_vlan
_parse_vlan:                            ## @parse_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	%rsi, %r15
	movq	%rdi, %rbx
	xorl	%edi, %edi
	cmpl	$12, (%rbx)
	setb	%dil
	callq	_unlikely
	xorl	%r14d, %r14d
	testq	%rax, %rax
	jne	LBB0_4
## %bb.1:
	movq	%rbx, %rdi
	movl	$12, %esi
	callq	_pskb_may_pull
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	jmp	LBB0_4
LBB0_3:
	movq	8(%rbx), %rax
	movl	4(%rax), %r12d
	movq	_VLAN_TAG_PRESENT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	orl	%r12d, %eax
	movl	%eax, (%r15)
	movq	%rbx, %rdi
	movl	$8, %esi
	callq	___skb_pull
LBB0_4:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_VLAN_TAG_PRESENT,4,2           ## @VLAN_TAG_PRESENT
	.no_dead_strip	_parse_vlan
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_vlan
_parse_vlan:                            ; @parse_vlan
	.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	x20, x1
	mov	x19, x0
	ldr	w8, [x0]
	cmp	w8, #12
	cset	w0, lo
	bl	_unlikely
	cbz	x0, LBB0_2
LBB0_1:
	mov	w0, #0
	b	LBB0_4
LBB0_2:
	mov	x0, x19
	mov	w1, #12
	bl	_pskb_may_pull
	cmp	w0, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_5
; %bb.3:
Lloh0:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_4:
	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
LBB0_5:
	ldr	x8, [x19, #8]
	ldr	w21, [x8, #4]
Lloh3:
	adrp	x8, _VLAN_TAG_PRESENT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VLAN_TAG_PRESENT@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_htons
	orr	w8, w0, w21
	str	w8, [x20]
	mov	x0, x19
	mov	w1, #8
	bl	___skb_pull
	b	LBB0_1
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_VLAN_TAG_PRESENT,4,2           ; @VLAN_TAG_PRESENT
	.no_dead_strip	_parse_vlan
.subsections_via_symbols
