	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ebt_vlan_mt
_ebt_vlan_mt:                           ## @ebt_vlan_mt
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%r14d, %r14d
	leaq	-40(%rbp), %rcx
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_skb_header_pointer
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	movq	%rax, %rbx
	movl	4(%rax), %edi
	callq	_ntohs
	movl	%eax, %r14d
	movq	_VLAN_VID_MASK@GOTPCREL(%rip), %rax
	movzwl	(%rax), %r15d
	movb	(%rbx), %r12b
	movq	_EBT_VLAN_ID@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_GET_BITMASK
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	andl	%r14d, %r15d
	movl	(%rbx), %esi
	movzbl	%r15b, %edi
	callq	_EXIT_ON_MISMATCH
LBB0_3:
	movq	_EBT_VLAN_PRIO@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_GET_BITMASK
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movzwl	%r14w, %eax
	shrl	$13, %eax
	movl	(%rbx), %esi
	movzbl	%al, %edi
	callq	_EXIT_ON_MISMATCH
LBB0_5:
	movq	_EBT_VLAN_ENCAP@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_GET_BITMASK
	movl	$1, %r14d
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movl	(%rbx), %esi
	movzbl	%r12b, %edi
	callq	_EXIT_ON_MISMATCH
LBB0_7:
	movl	%r14d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VLAN_VID_MASK,2,1              ## @VLAN_VID_MASK
	.comm	_EBT_VLAN_ID,4,2                ## @EBT_VLAN_ID
	.comm	_EBT_VLAN_PRIO,4,2              ## @EBT_VLAN_PRIO
	.comm	_EBT_VLAN_ENCAP,4,2             ## @EBT_VLAN_ENCAP
	.no_dead_strip	_ebt_vlan_mt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ebt_vlan_mt
_ebt_vlan_mt:                           ; @ebt_vlan_mt
	.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
	add	x3, sp, #8
	mov	w1, #0
	mov	w2, #8
	bl	_skb_header_pointer
	cbz	x0, LBB0_8
; %bb.1:
	mov	x19, x0
	ldr	w0, [x0, #4]
	bl	_ntohs
	mov	x20, x0
Lloh0:
	adrp	x8, _VLAN_VID_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VLAN_VID_MASK@GOTPAGEOFF]
	ldrh	w21, [x8]
	ldrb	w19, [x19]
Lloh2:
	adrp	x22, _EBT_VLAN_ID@GOTPAGE
Lloh3:
	ldr	x22, [x22, _EBT_VLAN_ID@GOTPAGEOFF]
	ldr	w0, [x22]
	bl	_GET_BITMASK
	cbz	x0, LBB0_3
; %bb.2:
	and	w8, w21, w20
	ldr	w1, [x22]
	and	w0, w8, #0xff
	bl	_EXIT_ON_MISMATCH
LBB0_3:
Lloh4:
	adrp	x21, _EBT_VLAN_PRIO@GOTPAGE
Lloh5:
	ldr	x21, [x21, _EBT_VLAN_PRIO@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_GET_BITMASK
	cbz	x0, LBB0_5
; %bb.4:
	lsr	w0, w20, #13
	ldr	w1, [x21]
	bl	_EXIT_ON_MISMATCH
LBB0_5:
Lloh6:
	adrp	x20, _EBT_VLAN_ENCAP@GOTPAGE
Lloh7:
	ldr	x20, [x20, _EBT_VLAN_ENCAP@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_GET_BITMASK
	cbz	x0, LBB0_7
; %bb.6:
	ldr	w1, [x20]
	mov	x0, x19
	bl	_EXIT_ON_MISMATCH
LBB0_7:
	mov	w0, #1
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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_VLAN_VID_MASK,2,1              ; @VLAN_VID_MASK
	.comm	_EBT_VLAN_ID,4,2                ; @EBT_VLAN_ID
	.comm	_EBT_VLAN_PRIO,4,2              ; @EBT_VLAN_PRIO
	.comm	_EBT_VLAN_ENCAP,4,2             ; @EBT_VLAN_ENCAP
	.no_dead_strip	_ebt_vlan_mt
.subsections_via_symbols
