	.file	"extr_core.c_cleanup_glue_dir.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	cleanup_glue_dir, @function
cleanup_glue_dir:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsi
	mov	rsi, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rdi, rbp
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	live_in_glue_dir@PLT
	test	eax, eax
	jne	.L12
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	lea	rdi, gdp_mutex[rip]
	call	mutex_lock@PLT
	mov	rdi, rbp
	call	kref_read@PLT
	mov	rdi, rbp
	mov	ebx, eax
	call	kobject_has_children@PLT
	cmp	ebx, 1
	jne	.L3
	test	eax, eax
	je	.L13
.L3:
	mov	rdi, rbp
	call	kobject_put@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	lea	rdi, gdp_mutex[rip]
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	mutex_unlock@PLT
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	mov	rdi, rbp
	call	kobject_del@PLT
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	cleanup_glue_dir, .-cleanup_glue_dir
	.comm	gdp_mutex,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_core.c_cleanup_glue_dir.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	cleanup_glue_dir, %function
cleanup_glue_dir:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r1
	mov	r1, r0
	mov	r0, r4
	bl	live_in_glue_dir
	cmp	r0, #0
	popeq	{r4, r5, r6, pc}
	ldr	r0, .L10
	bl	mutex_lock
	mov	r0, r4
	bl	kref_read
	mov	r5, r0
	mov	r0, r4
	bl	kobject_has_children
	cmp	r5, #1
	cmpeq	r0, #0
	beq	.L9
.L3:
	mov	r0, r4
	bl	kobject_put
	pop	{r4, r5, r6, lr}
	ldr	r0, .L10
	b	mutex_unlock
.L9:
	mov	r0, r4
	bl	kobject_del
	b	.L3
.L11:
	.align	2
.L10:
	.word	gdp_mutex
	.size	cleanup_glue_dir, .-cleanup_glue_dir
	.comm	gdp_mutex,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
