	.file	"extr_ftdi-elan.c_ftdi_elan_delete.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"FREEING ftdi=%p\n"
	.text
	.p2align 4
	.type	ftdi_elan_delete, @function
ftdi_elan_delete:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	call	kref_to_usb_ftdi@PLT
	lea	rsi, .LC0[rip]
	mov	rdi, QWORD PTR 24[rax]
	mov	rbx, rax
	mov	rdx, rax
	call	dev_warn@PLT
	mov	rdi, QWORD PTR 24[rbx]
	call	usb_put_dev@PLT
	add	DWORD PTR [rbx], 1
	lea	rdi, ftdi_module_lock[rip]
	call	mutex_lock@PLT
	lea	rdi, 16[rbx]
	call	list_del_init@PLT
	lea	rdi, ftdi_module_lock[rip]
	sub	DWORD PTR ftdi_instances[rip], 1
	call	mutex_unlock@PLT
	mov	rdi, QWORD PTR 8[rbx]
	call	kfree@PLT
	mov	QWORD PTR 8[rbx], 0
	pop	rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	ftdi_elan_delete, .-ftdi_elan_delete
	.comm	ftdi_module_lock,4,4
	.comm	ftdi_instances,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_ftdi-elan.c_ftdi_elan_delete.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"FREEING ftdi=%p\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ftdi_elan_delete, %function
ftdi_elan_delete:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	bl	kref_to_usb_ftdi
	mov	r4, r0
	mov	r5, r0
	mov	r2, r0
	ldr	r1, .L4
	ldr	r0, [r0, #12]
	bl	dev_warn
	ldr	r0, [r4, #12]
	bl	usb_put_dev
	ldr	r3, [r4]
	ldr	r6, .L4+4
	add	r3, r3, #1
	str	r3, [r5], #8
	mov	r0, r6
	bl	mutex_lock
	mov	r0, r5
	bl	list_del_init
	ldr	r2, .L4+8
	mov	r0, r6
	ldr	r3, [r2]
	sub	r3, r3, #1
	str	r3, [r2]
	bl	mutex_unlock
	ldr	r0, [r4, #4]
	bl	kfree
	mov	r3, #0
	str	r3, [r4, #4]
	pop	{r4, r5, r6, pc}
.L5:
	.align	2
.L4:
	.word	.LC0
	.word	ftdi_module_lock
	.word	ftdi_instances
	.size	ftdi_elan_delete, .-ftdi_elan_delete
	.comm	ftdi_module_lock,4,4
	.comm	ftdi_instances,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
