	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_l2cap_input                    ## -- Begin function l2cap_input
	.p2align	4, 0x90
_l2cap_input:                           ## @l2cap_input
	.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, %r13
	movq	%rdi, %r15
	movq	_HCI_ACL_HDR_LEN@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rsi
	callq	_btpbuf_header
	movq	8(%r15), %r12
	xorl	%esi, %esi
	subq	(%rbx), %rsi
	movq	%r15, %rdi
	callq	_btpbuf_header
	movl	(%r12), %esi
	movq	%r15, %rdi
	callq	_btpbuf_realloc
	movq	_l2cap_insegs@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	testq	%r14, %r14
	je	LBB0_3
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	leaq	32(%r14), %rsi
	movq	%r13, %rdi
	callq	_bd_addr_cmp
	testq	%rax, %rax
	sete	%bl
	jne	LBB0_5
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	40(%r14), %r14
	testq	%r14, %r14
	jne	LBB0_1
	jmp	LBB0_4
LBB0_3:
	movb	$1, %bl
LBB0_4:
	xorl	%r14d, %r14d
LBB0_5:
	movl	4(%r12), %edi
	callq	_le16toh
	movl	%eax, 4(%r12)
	movl	(%r12), %edi
	callq	_le16toh
	movl	%eax, (%r12)
	movl	4(%r12), %eax
	shrl	$12, %eax
	andl	$3, %eax
	movq	_L2CAP_ACL_CONT@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_8
## %bb.6:
	testb	%bl, %bl
	je	LBB0_11
## %bb.7:
	leaq	L_.str(%rip), %rdi
	callq	_LOG
	jmp	LBB0_15
LBB0_8:
	movq	_L2CAP_ACL_START@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_13
## %bb.9:
	testb	%bl, %bl
	je	LBB0_16
## %bb.10:
	movq	_l2cap_segs@GOTPCREL(%rip), %rdi
	callq	_btmemb_alloc
	movq	%rax, %r14
	leaq	32(%rax), %rdi
	movq	%r13, %rsi
	callq	_bd_addr_set
	movq	_l2cap_insegs@GOTPCREL(%rip), %rdi
	movq	%r14, %rsi
	callq	_L2CAP_SEG_REG
	jmp	LBB0_17
LBB0_11:
	movq	8(%r14), %rdi
	movq	(%r15), %rax
	addq	(%rdi), %rax
	cmpq	(%r14), %rax
	jle	LBB0_21
## %bb.12:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_14
LBB0_13:
	leaq	L_.str.3(%rip), %rdi
LBB0_14:
	callq	_LOG
	movq	8(%r14), %rdi
	callq	_btpbuf_free
	movq	_l2cap_insegs@GOTPCREL(%rip), %rdi
	movq	%r14, %rsi
	callq	_L2CAP_SEG_RMV
	movq	_l2cap_segs@GOTPCREL(%rip), %rdi
	movq	%r14, %rsi
	callq	_btmemb_free
LBB0_15:
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_btpbuf_free                    ## TAILCALL
LBB0_16:
	leaq	L_.str.2(%rip), %rdi
	callq	_LOG
	movq	8(%r14), %rdi
	callq	_btpbuf_free
LBB0_17:
	movq	%r15, 8(%r14)
	movq	8(%r15), %rax
	movq	%rax, 24(%r14)
	movl	8(%rax), %edi
	callq	_le16toh
	movq	24(%r14), %rcx
	movl	%eax, 8(%rcx)
	movl	(%rcx), %edi
	callq	_le16toh
	movq	24(%r14), %rdx
	movl	%eax, (%rdx)
	cltq
	movq	_L2CAP_HDR_LEN@GOTPCREL(%rip), %rcx
	addq	(%rcx), %rax
	movq	%rax, (%r14)
	movq	_l2cap_active_pcbs@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 16(%r14)
	testq	%rcx, %rcx
	je	LBB0_22
## %bb.18:
	movl	8(%rdx), %edx
	.p2align	4, 0x90
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	cmpl	%edx, (%rcx)
	je	LBB0_22
## %bb.20:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	8(%rcx), %rcx
	movq	%rcx, 16(%r14)
	testq	%rcx, %rcx
	jne	LBB0_19
	jmp	LBB0_22
LBB0_21:
	movq	%r15, %rsi
	callq	_btpbuf_chain
	movq	%r15, %rdi
	callq	_btpbuf_free
	movq	(%r14), %rax
LBB0_22:
	movq	8(%r14), %rdi
	cmpq	%rax, (%rdi)
	jge	LBB0_24
## %bb.23:
	leaq	L_.str.4(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_LOG                            ## TAILCALL
LBB0_24:
	movq	24(%r14), %rax
	movl	8(%rax), %eax
	cmpl	$128, %eax
	je	LBB0_28
## %bb.25:
	cmpl	$130, %eax
	je	LBB0_36
## %bb.26:
	cmpl	$129, %eax
	jne	LBB0_30
## %bb.27:
	leaq	L_.str.5(%rip), %rdi
	callq	_LOG
	jmp	LBB0_35
LBB0_28:
	movq	_L2CAP_HDR_LEN@GOTPCREL(%rip), %rax
	xorl	%esi, %esi
	subq	(%rax), %rsi
	callq	_btpbuf_header
	movq	8(%r14), %rdi
	movq	24(%r14), %rsi
	movq	%r13, %rdx
	callq	_l2cap_process_sig
	jmp	LBB0_35
LBB0_30:
	cmpl	$64, %eax
	jl	LBB0_33
## %bb.31:
	cmpq	$0, 16(%r14)
	je	LBB0_33
## %bb.32:
	movq	_L2CAP_HDR_LEN@GOTPCREL(%rip), %rax
	xorl	%esi, %esi
	subq	(%rax), %rsi
	callq	_btpbuf_header
	leaq	L_.str.6(%rip), %rdi
	callq	_LOG
	movq	8(%r14), %rsi
	movq	16(%r14), %rdi
	movq	_ERR_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_L2CA_ACTION_RECV
	jmp	LBB0_37
LBB0_33:
	movq	_PBUF_RAW@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_L2CAP_CMD_REJ_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	addl	$4, %esi
	movq	_PBUF_RAM@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_btpbuf_alloc
	testq	%rax, %rax
	je	LBB0_35
## %bb.34:
	movq	%rax, %r15
	movq	_L2CAP_INVALID_CID@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htole16
	movq	8(%r15), %rcx
	movl	%eax, (%rcx)
	movq	24(%r14), %rax
	movl	8(%rax), %edi
	callq	_htole16
	movq	8(%r15), %rcx
	movl	%eax, 4(%rcx)
	movl	$129, %edi
	callq	_htole16
	movq	8(%r15), %rcx
	movl	%eax, 8(%rcx)
	movq	_L2CAP_CMD_REJ@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	xorl	%eax, %eax
	callq	_l2cap_next_sigid
	xorl	%edi, %edi
	movl	%r12d, %esi
	movl	%eax, %edx
	movq	%r13, %rcx
	movq	%r15, %r8
	callq	_l2cap_signal
LBB0_35:
	movq	8(%r14), %rdi
LBB0_36:
	callq	_btpbuf_free
LBB0_37:
	movq	_l2cap_insegs@GOTPCREL(%rip), %rdi
	movq	%r14, %rsi
	callq	_L2CAP_SEG_RMV
	movq	_l2cap_segs@GOTPCREL(%rip), %rdi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_btmemb_free                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_HCI_ACL_HDR_LEN,8,3            ## @HCI_ACL_HDR_LEN
	.comm	_l2cap_insegs,8,3               ## @l2cap_insegs
	.comm	_L2CAP_ACL_CONT,4,2             ## @L2CAP_ACL_CONT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"l2cap_input: Continuing fragment. Discard packet\n"

L_.str.1:                               ## @.str.1
	.asciz	"l2cap_input: Continuing fragment. Length exceeds L2CAP hdr length. Discard packet\n"

	.comm	_l2cap_segs,4,2                 ## @l2cap_segs
	.comm	_L2CAP_ACL_START,4,2            ## @L2CAP_ACL_START
L_.str.2:                               ## @.str.2
	.asciz	"l2cap_input: Start of L2CAP packet. Discard previous packet\n"

	.comm	_L2CAP_HDR_LEN,8,3              ## @L2CAP_HDR_LEN
	.comm	_l2cap_active_pcbs,8,3          ## @l2cap_active_pcbs
L_.str.3:                               ## @.str.3
	.asciz	"l2cap_input: Discard packet\n"

L_.str.4:                               ## @.str.4
	.asciz	"l2cap_input: Get continuing segments\n"

L_.str.5:                               ## @.str.5
	.asciz	"l2cap_input: Illegal null cid\n"

	.comm	_PBUF_RAW,4,2                   ## @PBUF_RAW
	.comm	_L2CAP_CMD_REJ_SIZE,4,2         ## @L2CAP_CMD_REJ_SIZE
	.comm	_PBUF_RAM,4,2                   ## @PBUF_RAM
	.comm	_L2CAP_INVALID_CID,4,2          ## @L2CAP_INVALID_CID
	.comm	_L2CAP_CMD_REJ,4,2              ## @L2CAP_CMD_REJ
L_.str.6:                               ## @.str.6
	.asciz	"l2cap_input: Forward packet to higher layer\n"

	.comm	_ERR_OK,4,2                     ## @ERR_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_l2cap_input                    ; -- Begin function l2cap_input
	.p2align	2
_l2cap_input:                           ; @l2cap_input
	.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	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x19, _HCI_ACL_HDR_LEN@GOTPAGE
Lloh1:
	ldr	x19, [x19, _HCI_ACL_HDR_LEN@GOTPAGEOFF]
	ldr	x1, [x19]
	bl	_btpbuf_header
	ldr	x22, [x21, #8]
	ldr	x8, [x19]
	neg	x1, x8
	mov	x0, x21
	bl	_btpbuf_header
	ldr	w1, [x22]
	mov	x0, x21
	bl	_btpbuf_realloc
Lloh2:
	adrp	x8, _l2cap_insegs@GOTPAGE
Lloh3:
	ldr	x8, [x8, _l2cap_insegs@GOTPAGEOFF]
Lloh4:
	ldr	x19, [x8]
	cbz	x19, LBB0_3
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	add	x1, x19, #32
	mov	x0, x20
	bl	_bd_addr_cmp
	cmp	x0, #0
	cset	w23, eq
	cbnz	x0, LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x19, [x19, #40]
	cbnz	x19, LBB0_1
	b	LBB0_4
LBB0_3:
	mov	w23, #1
LBB0_4:
	ldr	w0, [x22, #4]
	bl	_le16toh
	str	w0, [x22, #4]
	ldr	w0, [x22]
	bl	_le16toh
	str	w0, [x22]
	ldr	w8, [x22, #4]
	ubfx	w8, w8, #12, #2
Lloh5:
	adrp	x9, _L2CAP_ACL_CONT@GOTPAGE
Lloh6:
	ldr	x9, [x9, _L2CAP_ACL_CONT@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_7
; %bb.5:
	cbz	w23, LBB0_10
; %bb.6:
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	_LOG
	b	LBB0_14
LBB0_7:
Lloh10:
	adrp	x9, _L2CAP_ACL_START@GOTPAGE
Lloh11:
	ldr	x9, [x9, _L2CAP_ACL_START@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_12
; %bb.8:
	tbz	w23, #0, LBB0_15
; %bb.9:
Lloh13:
	adrp	x0, _l2cap_segs@GOTPAGE
Lloh14:
	ldr	x0, [x0, _l2cap_segs@GOTPAGEOFF]
	bl	_btmemb_alloc
	mov	x19, x0
	add	x0, x0, #32
	mov	x1, x20
	bl	_bd_addr_set
Lloh15:
	adrp	x0, _l2cap_insegs@GOTPAGE
Lloh16:
	ldr	x0, [x0, _l2cap_insegs@GOTPAGEOFF]
	mov	x1, x19
	bl	_L2CAP_SEG_REG
	b	LBB0_16
LBB0_10:
	ldp	x8, x0, [x19]
	ldr	x9, [x0]
	ldr	x10, [x21]
	add	x9, x10, x9
	cmp	x9, x8
	b.le	LBB0_20
; %bb.11:
Lloh17:
	adrp	x0, l_.str.1@PAGE
Lloh18:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_13
LBB0_12:
Lloh19:
	adrp	x0, l_.str.3@PAGE
Lloh20:
	add	x0, x0, l_.str.3@PAGEOFF
LBB0_13:
	bl	_LOG
	ldr	x0, [x19, #8]
	bl	_btpbuf_free
Lloh21:
	adrp	x0, _l2cap_insegs@GOTPAGE
Lloh22:
	ldr	x0, [x0, _l2cap_insegs@GOTPAGEOFF]
	mov	x1, x19
	bl	_L2CAP_SEG_RMV
Lloh23:
	adrp	x0, _l2cap_segs@GOTPAGE
Lloh24:
	ldr	x0, [x0, _l2cap_segs@GOTPAGEOFF]
	mov	x1, x19
	bl	_btmemb_free
LBB0_14:
	mov	x0, x21
	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
	b	_btpbuf_free
LBB0_15:
Lloh25:
	adrp	x0, l_.str.2@PAGE
Lloh26:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_LOG
	ldr	x0, [x19, #8]
	bl	_btpbuf_free
LBB0_16:
	str	x21, [x19, #8]
	ldr	x8, [x21, #8]
	str	x8, [x19, #24]
	ldr	w0, [x8, #8]
	bl	_le16toh
	ldr	x8, [x19, #24]
	str	w0, [x8, #8]
	ldr	w0, [x8]
	bl	_le16toh
	ldr	x10, [x19, #24]
	str	w0, [x10]
Lloh27:
	adrp	x8, _L2CAP_HDR_LEN@GOTPAGE
Lloh28:
	ldr	x8, [x8, _L2CAP_HDR_LEN@GOTPAGEOFF]
Lloh29:
	ldr	x8, [x8]
	add	x8, x8, w0, sxtw
	str	x8, [x19]
Lloh30:
	adrp	x9, _l2cap_active_pcbs@GOTPAGE
Lloh31:
	ldr	x9, [x9, _l2cap_active_pcbs@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
	str	x9, [x19, #16]
	cbz	x9, LBB0_21
; %bb.17:
	ldr	w10, [x10, #8]
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x9]
	cmp	w11, w10
	b.eq	LBB0_21
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=1
	ldr	x9, [x9, #8]
	str	x9, [x19, #16]
	cbnz	x9, LBB0_18
	b	LBB0_21
LBB0_20:
	mov	x1, x21
	bl	_btpbuf_chain
	mov	x0, x21
	bl	_btpbuf_free
	ldr	x8, [x19]
LBB0_21:
	ldr	x0, [x19, #8]
	ldr	x9, [x0]
	cmp	x9, x8
	b.ge	LBB0_23
; %bb.22:
Lloh33:
	adrp	x0, l_.str.4@PAGE
Lloh34:
	add	x0, x0, l_.str.4@PAGEOFF
	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
	b	_LOG
LBB0_23:
	ldr	x8, [x19, #24]
	ldr	w8, [x8, #8]
	cmp	w8, #128
	b.eq	LBB0_27
; %bb.24:
	cmp	w8, #130
	b.eq	LBB0_34
; %bb.25:
	cmp	w8, #129
	b.ne	LBB0_28
; %bb.26:
Lloh35:
	adrp	x0, l_.str.5@PAGE
Lloh36:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_LOG
	b	LBB0_33
LBB0_27:
Lloh37:
	adrp	x8, _L2CAP_HDR_LEN@GOTPAGE
Lloh38:
	ldr	x8, [x8, _L2CAP_HDR_LEN@GOTPAGEOFF]
Lloh39:
	ldr	x8, [x8]
	neg	x1, x8
	bl	_btpbuf_header
	ldr	x0, [x19, #8]
	ldr	x1, [x19, #24]
	mov	x2, x20
	bl	_l2cap_process_sig
	b	LBB0_33
LBB0_28:
	cmp	w8, #64
	b.lt	LBB0_31
; %bb.29:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_31
; %bb.30:
Lloh40:
	adrp	x8, _L2CAP_HDR_LEN@GOTPAGE
Lloh41:
	ldr	x8, [x8, _L2CAP_HDR_LEN@GOTPAGEOFF]
Lloh42:
	ldr	x8, [x8]
	neg	x1, x8
	bl	_btpbuf_header
Lloh43:
	adrp	x0, l_.str.6@PAGE
Lloh44:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_LOG
	ldp	x1, x0, [x19, #8]
Lloh45:
	adrp	x8, _ERR_OK@GOTPAGE
Lloh46:
	ldr	x8, [x8, _ERR_OK@GOTPAGEOFF]
Lloh47:
	ldr	w2, [x8]
	bl	_L2CA_ACTION_RECV
	b	LBB0_35
LBB0_31:
Lloh48:
	adrp	x8, _PBUF_RAW@GOTPAGE
Lloh49:
	ldr	x8, [x8, _PBUF_RAW@GOTPAGEOFF]
Lloh50:
	adrp	x9, _L2CAP_CMD_REJ_SIZE@GOTPAGE
Lloh51:
	ldr	x9, [x9, _L2CAP_CMD_REJ_SIZE@GOTPAGEOFF]
Lloh52:
	ldr	w0, [x8]
Lloh53:
	ldr	w8, [x9]
	add	w1, w8, #4
Lloh54:
	adrp	x8, _PBUF_RAM@GOTPAGE
Lloh55:
	ldr	x8, [x8, _PBUF_RAM@GOTPAGEOFF]
Lloh56:
	ldr	w2, [x8]
	bl	_btpbuf_alloc
	cbz	x0, LBB0_33
; %bb.32:
	mov	x21, x0
Lloh57:
	adrp	x8, _L2CAP_INVALID_CID@GOTPAGE
Lloh58:
	ldr	x8, [x8, _L2CAP_INVALID_CID@GOTPAGEOFF]
Lloh59:
	ldr	w0, [x8]
	bl	_htole16
	ldr	x8, [x21, #8]
	str	w0, [x8]
	ldr	x8, [x19, #24]
	ldr	w0, [x8, #8]
	bl	_htole16
	ldr	x8, [x21, #8]
	str	w0, [x8, #4]
	mov	w0, #129
	bl	_htole16
	ldr	x8, [x21, #8]
	str	w0, [x8, #8]
Lloh60:
	adrp	x8, _L2CAP_CMD_REJ@GOTPAGE
Lloh61:
	ldr	x8, [x8, _L2CAP_CMD_REJ@GOTPAGEOFF]
Lloh62:
	ldr	w22, [x8]
	bl	_l2cap_next_sigid
	mov	x2, x0
	mov	x0, #0
	mov	x1, x22
	mov	x3, x20
	mov	x4, x21
	bl	_l2cap_signal
LBB0_33:
	ldr	x0, [x19, #8]
LBB0_34:
	bl	_btpbuf_free
LBB0_35:
Lloh63:
	adrp	x0, _l2cap_insegs@GOTPAGE
Lloh64:
	ldr	x0, [x0, _l2cap_insegs@GOTPAGEOFF]
	mov	x1, x19
	bl	_L2CAP_SEG_RMV
Lloh65:
	adrp	x0, _l2cap_segs@GOTPAGE
Lloh66:
	ldr	x0, [x0, _l2cap_segs@GOTPAGEOFF]
	mov	x1, x19
	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
	b	_btmemb_free
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh52
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGot	Lloh65, Lloh66
	.loh AdrpLdrGot	Lloh63, Lloh64
	.cfi_endproc
                                        ; -- End function
	.comm	_HCI_ACL_HDR_LEN,8,3            ; @HCI_ACL_HDR_LEN
	.comm	_l2cap_insegs,8,3               ; @l2cap_insegs
	.comm	_L2CAP_ACL_CONT,4,2             ; @L2CAP_ACL_CONT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"l2cap_input: Continuing fragment. Discard packet\n"

l_.str.1:                               ; @.str.1
	.asciz	"l2cap_input: Continuing fragment. Length exceeds L2CAP hdr length. Discard packet\n"

	.comm	_l2cap_segs,4,2                 ; @l2cap_segs
	.comm	_L2CAP_ACL_START,4,2            ; @L2CAP_ACL_START
l_.str.2:                               ; @.str.2
	.asciz	"l2cap_input: Start of L2CAP packet. Discard previous packet\n"

	.comm	_L2CAP_HDR_LEN,8,3              ; @L2CAP_HDR_LEN
	.comm	_l2cap_active_pcbs,8,3          ; @l2cap_active_pcbs
l_.str.3:                               ; @.str.3
	.asciz	"l2cap_input: Discard packet\n"

l_.str.4:                               ; @.str.4
	.asciz	"l2cap_input: Get continuing segments\n"

l_.str.5:                               ; @.str.5
	.asciz	"l2cap_input: Illegal null cid\n"

	.comm	_PBUF_RAW,4,2                   ; @PBUF_RAW
	.comm	_L2CAP_CMD_REJ_SIZE,4,2         ; @L2CAP_CMD_REJ_SIZE
	.comm	_PBUF_RAM,4,2                   ; @PBUF_RAM
	.comm	_L2CAP_INVALID_CID,4,2          ; @L2CAP_INVALID_CID
	.comm	_L2CAP_CMD_REJ,4,2              ; @L2CAP_CMD_REJ
l_.str.6:                               ; @.str.6
	.asciz	"l2cap_input: Forward packet to higher layer\n"

	.comm	_ERR_OK,4,2                     ; @ERR_OK
.subsections_via_symbols
