	.file	"extr_amp.c_create_phylink_complete.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s status 0x%2.2x"
	.text
	.p2align 4
	.type	create_phylink_complete, @function
create_phylink_complete:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	edx, esi
	mov	r12d, esi
	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	esi, DWORD PTR [rdi]
	lea	rdi, .LC0[rip]
	call	BT_DBG@PLT
	mov	esi, DWORD PTR HCI_OP_CREATE_PHY_LINK[rip]
	mov	rdi, rbp
	call	hci_sent_cmd_data@PLT
	test	rax, rax
	je	.L1
	mov	rbx, rax
	mov	rdi, rbp
	call	hci_dev_lock@PLT
	mov	esi, DWORD PTR [rbx]
	mov	rdi, rbp
	test	r12d, r12d
	jne	.L10
	call	amp_write_remote_assoc@PLT
.L4:
	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	hci_dev_unlock@PLT
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	call	hci_conn_hash_lookup_handle@PLT
	mov	rdi, rax
	test	rax, rax
	je	.L4
	call	hci_conn_del@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	hci_dev_unlock@PLT
	.p2align 4,,10
	.p2align 3
.L1:
	.cfi_restore_state
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	create_phylink_complete, .-create_phylink_complete
	.comm	HCI_OP_CREATE_PHY_LINK,4,4
	.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_amp.c_create_phylink_complete.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%s status 0x%2.2x\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	create_phylink_complete, %function
create_phylink_complete:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r6, r1
	mov	r4, r0
	ldr	r1, [r0]
	mov	r2, r6
	ldr	r0, .L11
	bl	BT_DBG
	ldr	r3, .L11+4
	mov	r0, r4
	ldr	r1, [r3]
	bl	hci_sent_cmd_data
	subs	r5, r0, #0
	popeq	{r4, r5, r6, pc}
	mov	r0, r4
	bl	hci_dev_lock
	cmp	r6, #0
	mov	r0, r4
	ldr	r1, [r5]
	bne	.L10
	bl	amp_write_remote_assoc
.L4:
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	b	hci_dev_unlock
.L10:
	bl	hci_conn_hash_lookup_handle
	cmp	r0, #0
	beq	.L4
	bl	hci_conn_del
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	b	hci_dev_unlock
.L12:
	.align	2
.L11:
	.word	.LC0
	.word	HCI_OP_CREATE_PHY_LINK
	.size	create_phylink_complete, .-create_phylink_complete
	.comm	HCI_OP_CREATE_PHY_LINK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
