	.file	"extr_core.c_st21nfca_hci_close.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	st21nfca_hci_close, @function
st21nfca_hci_close:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	nfc_hci_get_clientdata@PLT
	lea	rbp, 8[rax]
	mov	rbx, rax
	mov	rdi, rbp
	call	mutex_lock@PLT
	mov	rax, QWORD PTR ST21NFCA_ST_COLD[rip]
	cmp	QWORD PTR [rbx], rax
	je	.L2
	mov	rax, QWORD PTR 16[rbx]
	mov	edi, DWORD PTR 12[rbx]
	call	[QWORD PTR [rax]]
	mov	rax, QWORD PTR ST21NFCA_ST_COLD[rip]
	mov	QWORD PTR [rbx], rax
.L2:
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	mutex_unlock@PLT
	.cfi_endproc
.LFE0:
	.size	st21nfca_hci_close, .-st21nfca_hci_close
	.comm	ST21NFCA_ST_COLD,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_core.c_st21nfca_hci_close.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	st21nfca_hci_close, %function
st21nfca_hci_close:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	bl	nfc_hci_get_clientdata
	mov	r4, r0
	ldr	r6, .L5
	add	r5, r0, #4
	mov	r0, r5
	bl	mutex_lock
	ldr	r2, [r4]
	ldr	r3, [r6]
	cmp	r2, r3
	beq	.L2
	ldr	r3, [r4, #12]
	ldr	r0, [r4, #8]
	ldr	r3, [r3]
	blx	r3
	ldr	r3, [r6]
	str	r3, [r4]
.L2:
	mov	r0, r5
	pop	{r4, r5, r6, lr}
	b	mutex_unlock
.L6:
	.align	2
.L5:
	.word	ST21NFCA_ST_COLD
	.size	st21nfca_hci_close, .-st21nfca_hci_close
	.comm	ST21NFCA_ST_COLD,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
