	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bcsp_enqueue
_bcsp_enqueue:                          ## @bcsp_enqueue
	.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
	cmpl	$4096, (%rsi)                   ## imm = 0x1000
	jl	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_5
LBB0_2:
	movq	(%rdi), %r14
	movq	%rbx, %rdi
	callq	_bt_cb
	movl	(%rax), %eax
	leal	-129(%rax), %ecx
	cmpl	$2, %ecx
	jae	LBB0_3
## %bb.6:
	addq	$4, %r14
	jmp	LBB0_7
LBB0_3:
	cmpl	$128, %eax
	jne	LBB0_4
LBB0_7:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_skb_queue_tail
	jmp	LBB0_8
LBB0_4:
	leaq	L_.str.1(%rip), %rdi
LBB0_5:
	callq	_BT_ERR
	movq	%rbx, %rdi
	callq	_kfree_skb
LBB0_8:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Packet too long"

L_.str.1:                               ## @.str.1
	.asciz	"Unknown packet type"

	.no_dead_strip	_bcsp_enqueue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bcsp_enqueue
_bcsp_enqueue:                          ; @bcsp_enqueue
	.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	x19, x1
	ldr	w8, [x1]
	cmp	w8, #1, lsl #12                 ; =4096
	b.lt	LBB0_2
; %bb.1:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_8
LBB0_2:
	ldr	x20, [x0]
	mov	x0, x19
	bl	_bt_cb
	ldr	w8, [x0]
	sub	w9, w8, #129
	cmp	w9, #2
	b.hs	LBB0_4
; %bb.3:
	add	x0, x20, #4
	b	LBB0_6
LBB0_4:
	cmp	w8, #128
	b.ne	LBB0_7
; %bb.5:
	mov	x0, x20
LBB0_6:
	mov	x1, x19
	bl	_skb_queue_tail
	b	LBB0_9
LBB0_7:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_8:
	bl	_BT_ERR
	mov	x0, x19
	bl	_kfree_skb
LBB0_9:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Packet too long"

l_.str.1:                               ; @.str.1
	.asciz	"Unknown packet type"

	.no_dead_strip	_bcsp_enqueue
.subsections_via_symbols
