	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnep_rx_extension
_bnep_rx_extension:                     ## @bnep_rx_extension
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	leaq	L_.str(%rip), %r15
	movq	_BNEP_TYPE_MASK@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %r13
	movq	%rbx, %rdi
	movl	$8, %esi
	callq	_skb_pull
	testl	%eax, %eax
	je	LBB0_2
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	(%r13), %esi
	movl	4(%r13), %edx
	movq	%r15, %rdi
	callq	_BT_DBG
	movl	(%r12), %eax
	andl	(%r13), %eax
	cmpl	$128, %eax
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	8(%rbx), %rsi
	movl	(%rbx), %edx
	movq	%r14, %rdi
	callq	_bnep_rx_control
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	4(%r13), %esi
	movq	%rbx, %rdi
	callq	_skb_pull
	testl	%eax, %eax
	je	LBB0_2
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_BNEP_EXT_HEADER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r13)
	jne	LBB0_1
## %bb.7:
	xorl	%eax, %eax
	jmp	LBB0_8
LBB0_2:
	movq	_EILSEQ@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EILSEQ,4,2                     ## @EILSEQ
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"type 0x%x len %d"

	.comm	_BNEP_TYPE_MASK,4,2             ## @BNEP_TYPE_MASK
	.comm	_BNEP_EXT_HEADER,4,2            ## @BNEP_EXT_HEADER
	.no_dead_strip	_bnep_rx_extension
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnep_rx_extension
_bnep_rx_extension:                     ; @bnep_rx_extension
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x22, _BNEP_TYPE_MASK@GOTPAGE
Lloh1:
	ldr	x22, [x22, _BNEP_TYPE_MASK@GOTPAGEOFF]
Lloh2:
	adrp	x23, _BNEP_EXT_HEADER@GOTPAGE
Lloh3:
	ldr	x23, [x23, _BNEP_EXT_HEADER@GOTPAGEOFF]
Lloh4:
	adrp	x21, l_.str@PAGE
Lloh5:
	add	x21, x21, l_.str@PAGEOFF
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x24, [x19, #8]
	mov	x0, x19
	mov	w1, #8
	bl	_skb_pull
	cbz	w0, LBB0_7
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldp	w1, w2, [x24]
	mov	x0, x21
	bl	_BT_DBG
	ldr	w8, [x24]
	ldr	w9, [x22]
	and	w8, w9, w8
	cmp	w8, #128
	b.ne	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x1, [x19, #8]
	ldr	w2, [x19]
	mov	x0, x20
	bl	_bnep_rx_control
LBB0_4:                                 ;   in Loop: Header=BB0_1 Depth=1
	ldr	w1, [x24, #4]
	mov	x0, x19
	bl	_skb_pull
	cbz	w0, LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w8, [x24]
	ldr	w9, [x23]
	tst	w9, w8
	b.ne	LBB0_1
; %bb.6:
	mov	w0, #0
	b	LBB0_8
LBB0_7:
Lloh6:
	adrp	x8, _EILSEQ@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EILSEQ@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_EILSEQ,4,2                     ; @EILSEQ
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"type 0x%x len %d"

	.comm	_BNEP_TYPE_MASK,4,2             ; @BNEP_TYPE_MASK
	.comm	_BNEP_EXT_HEADER,4,2            ; @BNEP_EXT_HEADER
	.no_dead_strip	_bnep_rx_extension
.subsections_via_symbols
