	.file	"extr_extent_tree.c_ext_tree_remove.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	ext_tree_remove
	.type	ext_tree_remove, @function
ext_tree_remove:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14d, ecx
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13d, edx
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	mov	edi, DWORD PTR tmp[rip]
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	ebx, esi
	call	LIST_HEAD@PLT
	mov	rdi, rbp
	call	spin_lock@PLT
	lea	rdi, 8[rbp]
	mov	edx, r14d
	mov	esi, r13d
	lea	rcx, tmp[rip]
	call	__ext_tree_remove@PLT
	mov	r12d, eax
	test	ebx, ebx
	jne	.L8
.L2:
	mov	rdi, rbp
	call	spin_unlock@PLT
	lea	rdi, tmp[rip]
	call	__ext_put_deviceids@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	lea	rdi, 4[rbp]
	lea	rcx, tmp[rip]
	mov	edx, r14d
	mov	esi, r13d
	call	__ext_tree_remove@PLT
	test	r12d, r12d
	cmove	r12d, eax
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	ext_tree_remove, .-ext_tree_remove
	.comm	tmp,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_extent_tree.c_ext_tree_remove.c"
	.text
	.align	2
	.global	ext_tree_remove
	.syntax unified
	.arm
	.fpu softvfp
	.type	ext_tree_remove, %function
ext_tree_remove:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	mov	r6, r2
	mov	r7, r3
	ldr	r8, .L9
	mov	r5, r1
	ldr	r0, [r8]
	bl	LIST_HEAD
	mov	r0, r4
	bl	spin_lock
	mov	r3, r8
	mov	r2, r7
	mov	r1, r6
	add	r0, r4, #8
	bl	__ext_tree_remove
	cmp	r5, #0
	mov	r5, r0
	bne	.L8
.L2:
	mov	r0, r4
	bl	spin_unlock
	ldr	r0, .L9
	bl	__ext_put_deviceids
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, pc}
.L8:
	mov	r3, r8
	mov	r2, r7
	mov	r1, r6
	add	r0, r4, #4
	bl	__ext_tree_remove
	cmp	r5, #0
	moveq	r5, r0
	b	.L2
.L10:
	.align	2
.L9:
	.word	tmp
	.size	ext_tree_remove, .-ext_tree_remove
	.comm	tmp,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
