	.file	"extr_iova.c_iova_cache_put.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	iova_cache_put
	.type	iova_cache_put, @function
iova_cache_put:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	lea	rdi, iova_cache_mutex[rip]
	call	mutex_lock@PLT
	mov	eax, DWORD PTR iova_cache_users[rip]
	xor	edi, edi
	test	eax, eax
	sete	dil
	call	WARN_ON@PLT
	test	rax, rax
	jne	.L3
	sub	DWORD PTR iova_cache_users[rip], 1
	je	.L6
.L3:
	lea	rdi, iova_cache_mutex[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	mutex_unlock@PLT
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	edi, DWORD PTR iova_cache[rip]
	call	kmem_cache_destroy@PLT
	lea	rdi, iova_cache_mutex[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 8
	jmp	mutex_unlock@PLT
	.cfi_endproc
.LFE0:
	.size	iova_cache_put, .-iova_cache_put
	.comm	iova_cache_users,4,4
	.comm	iova_cache_mutex,4,4
	.comm	iova_cache,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_iova.c_iova_cache_put.c"
	.text
	.align	2
	.global	iova_cache_put
	.syntax unified
	.arm
	.fpu softvfp
	.type	iova_cache_put, %function
iova_cache_put:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	ldr	r4, .L7
	ldr	r0, .L7+4
	bl	mutex_lock
	ldr	r0, [r4]
	clz	r0, r0
	lsr	r0, r0, #5
	bl	WARN_ON
	cmp	r0, #0
	bne	.L3
	ldr	r3, [r4]
	sub	r3, r3, #1
	cmp	r3, #0
	str	r3, [r4]
	beq	.L6
.L3:
	pop	{r4, lr}
	ldr	r0, .L7+4
	b	mutex_unlock
.L6:
	ldr	r3, .L7+8
	ldr	r0, [r3]
	bl	kmem_cache_destroy
	pop	{r4, lr}
	ldr	r0, .L7+4
	b	mutex_unlock
.L8:
	.align	2
.L7:
	.word	iova_cache_users
	.word	iova_cache_mutex
	.word	iova_cache
	.size	iova_cache_put, .-iova_cache_put
	.comm	iova_cache_users,4,4
	.comm	iova_cache_mutex,4,4
	.comm	iova_cache,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
