	.file	"extr_l2cap_core.c_l2cap_logical_cfm.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"chan %p, hchan %p, status %d"
	.text
	.p2align 4
	.globl	l2cap_logical_cfm
	.type	l2cap_logical_cfm, @function
l2cap_logical_cfm:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	rcx, rdx
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdx
	mov	rdx, rsi
	mov	rsi, rdi
	lea	rdi, .LC0[rip]
	call	BT_DBG@PLT
	test	rbx, rbx
	jne	.L7
	mov	rax, QWORD PTR BT_CONNECTED[rip]
	cmp	QWORD PTR 0[rbp], rax
	je	.L3
	mov	rax, QWORD PTR AMP_ID_BREDR[rip]
	cmp	QWORD PTR 8[rbp], rax
	jne	.L8
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rsi, r12
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	l2cap_logical_finish_create@PLT
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	rdi, rbp
	call	l2cap_logical_fail@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	__release_logical_link@PLT
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	pop	rbx
	.cfi_def_cfa_offset 24
	mov	rsi, r12
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	l2cap_logical_finish_move@PLT
	.cfi_endproc
.LFE0:
	.size	l2cap_logical_cfm, .-l2cap_logical_cfm
	.comm	BT_CONNECTED,8,8
	.comm	AMP_ID_BREDR,8,8
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_l2cap_core.c_l2cap_logical_cfm.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"chan %p, hchan %p, status %d\000"
	.text
	.align	2
	.global	l2cap_logical_cfm
	.syntax unified
	.arm
	.fpu softvfp
	.type	l2cap_logical_cfm, %function
l2cap_logical_cfm:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r2
	mov	r4, r0
	mov	r2, r1
	mov	r6, r1
	mov	r3, r5
	mov	r1, r0
	ldr	r0, .L8
	bl	BT_DBG
	cmp	r5, #0
	bne	.L7
	ldr	r3, .L8+4
	ldr	r2, [r4]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L3
	ldr	r3, .L8+8
	ldr	r2, [r4, #4]
	ldr	r3, [r3]
	cmp	r2, r3
	popeq	{r4, r5, r6, pc}
	mov	r1, r6
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	b	l2cap_logical_finish_create
.L7:
	mov	r0, r4
	bl	l2cap_logical_fail
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	b	__release_logical_link
.L3:
	mov	r1, r6
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	b	l2cap_logical_finish_move
.L9:
	.align	2
.L8:
	.word	.LC0
	.word	BT_CONNECTED
	.word	AMP_ID_BREDR
	.size	l2cap_logical_cfm, .-l2cap_logical_cfm
	.comm	BT_CONNECTED,4,4
	.comm	AMP_ID_BREDR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
