	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lp_disconnect_ind              ## -- Begin function lp_disconnect_ind
	.p2align	4, 0x90
_lp_disconnect_ind:                     ## @lp_disconnect_ind
	.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
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r12
	movq	_l2cap_active_pcbs@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.1:
	leaq	L_.str(%rip), %r15
	movq	_ERR_OK@GOTPCREL(%rip), %r14
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rbx
	testq	%r13, %r13
	je	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %r13
	movq	%r15, %rdi
	callq	_LOG
	leaq	4(%rbx), %rdi
	movq	%r12, %rsi
	callq	_bd_addr_cmp
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_L2CAP_CLOSED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	leaq	L_.str.1(%rip), %rdi
	callq	_LOG
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_L2CA_ACTION_DISCONN_IND
	jmp	LBB0_4
LBB0_5:
	movq	%r12, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_l2cap_disconnect_bb_cb         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_l2cap_active_pcbs,8,3          ## @l2cap_active_pcbs
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"lp_disconnect_ind: Find a pcb with a matching Bluetooth address\n"

	.comm	_L2CAP_CLOSED,4,2               ## @L2CAP_CLOSED
L_.str.1:                               ## @.str.1
	.asciz	"lp_disconnect_ind: Notify application\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	_lp_disconnect_ind              ; -- Begin function lp_disconnect_ind
	.p2align	2
_lp_disconnect_ind:                     ; @lp_disconnect_ind
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _l2cap_active_pcbs@GOTPAGE
Lloh1:
	ldr	x8, [x8, _l2cap_active_pcbs@GOTPAGEOFF]
Lloh2:
	ldr	x22, [x8]
	cbz	x22, LBB0_5
; %bb.1:
Lloh3:
	adrp	x21, l_.str@PAGE
Lloh4:
	add	x21, x21, l_.str@PAGEOFF
Lloh5:
	adrp	x24, _L2CAP_CLOSED@GOTPAGE
Lloh6:
	ldr	x24, [x24, _L2CAP_CLOSED@GOTPAGEOFF]
Lloh7:
	adrp	x25, _ERR_OK@GOTPAGE
Lloh8:
	ldr	x25, [x25, _ERR_OK@GOTPAGEOFF]
Lloh9:
	adrp	x23, l_.str.1@PAGE
Lloh10:
	add	x23, x23, l_.str.1@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x22, x26
	cbz	x26, LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x26, [x22, #8]
	mov	x0, x21
	bl	_LOG
	add	x0, x22, #4
	mov	x1, x20
	bl	_bd_addr_cmp
	cbz	x0, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x24]
	str	w8, [x22]
	mov	x0, x23
	bl	_LOG
	ldr	w1, [x25]
	mov	x0, x22
	bl	_L2CA_ACTION_DISCONN_IND
	b	LBB0_2
LBB0_5:
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_l2cap_disconnect_bb_cb
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_l2cap_active_pcbs,8,3          ; @l2cap_active_pcbs
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"lp_disconnect_ind: Find a pcb with a matching Bluetooth address\n"

	.comm	_L2CAP_CLOSED,4,2               ; @L2CAP_CLOSED
l_.str.1:                               ; @.str.1
	.asciz	"lp_disconnect_ind: Notify application\n"

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