	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnep_pfilter
_bnep_pfilter:                          ## @bnep_pfilter
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	16(%rsi), %rdi
	callq	_be16dec
	movq	_ETHERTYPE_VLAN@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_3
## %bb.1:
	xorl	%eax, %eax
	cmpl	$4, (%rbx)
	jl	LBB0_10
## %bb.2:
	movq	8(%rbx), %rdi
	addq	$2, %rdi
	callq	_be16dec
LBB0_3:
	movl	(%r14), %ecx
	testl	%ecx, %ecx
	jle	LBB0_9
## %bb.4:
	movq	8(%r14), %rdx
	xorl	%esi, %esi
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	incq	%rsi
	cmpq	%rsi, %rcx
	je	LBB0_9
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%eax, (%rdx,%rsi,8)
	jg	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpl	%eax, 4(%rdx,%rsi,8)
	jl	LBB0_8
## %bb.7:
	movl	$1, %eax
	jmp	LBB0_10
LBB0_9:
	xorl	%eax, %eax
LBB0_10:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ETHERTYPE_VLAN,4,2             ## @ETHERTYPE_VLAN
	.no_dead_strip	_bnep_pfilter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnep_pfilter
_bnep_pfilter:                          ; @bnep_pfilter
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	ldr	x0, [x1, #16]
	bl	_be16dec
Lloh0:
	adrp	x8, _ETHERTYPE_VLAN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETHERTYPE_VLAN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_3
; %bb.1:
	ldr	w8, [x20]
	cmp	w8, #4
	b.lt	LBB0_9
; %bb.2:
	ldr	x8, [x20, #8]
	add	x0, x8, #2
	bl	_be16dec
LBB0_3:
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.4:
	ldr	x9, [x19, #8]
	add	x9, x9, #4
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x9, x9, #8
	subs	x8, x8, #1
	b.eq	LBB0_9
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldur	w10, [x9, #-4]
	cmp	w10, w0
	b.gt	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w10, [x9]
	cmp	w10, w0
	b.lt	LBB0_5
; %bb.8:
	mov	w0, #1
	b	LBB0_10
LBB0_9:
	mov	w0, #0
LBB0_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ETHERTYPE_VLAN,4,2             ; @ETHERTYPE_VLAN
	.no_dead_strip	_bnep_pfilter
.subsections_via_symbols
