	.file	"extr_ib_cma.c_cma_release_port.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	cma_release_port, @function
cma_release_port:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	r12, QWORD PTR 16[rdi]
	test	r12, r12
	je	.L1
	mov	r13, QWORD PTR 8[rdi]
	mov	rbp, rdi
	lea	rdi, lock[rip]
	call	mutex_lock@PLT
	mov	rdi, rbp
	call	hlist_del@PLT
	lea	rdi, 8[r12]
	call	hlist_empty@PLT
	test	rax, rax
	jne	.L9
.L3:
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	lea	rdi, lock[rip]
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	mutex_unlock@PLT
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	esi, DWORD PTR 4[r12]
	mov	edx, DWORD PTR [r12]
	mov	rdi, r13
	call	cma_ps_remove@PLT
	mov	rdi, r12
	call	kfree@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L1:
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	cma_release_port, .-cma_release_port
	.comm	lock,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_ib_cma.c_cma_release_port.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	cma_release_port, %function
cma_release_port:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r5, [r0, #8]
	cmp	r5, #0
	popeq	{r4, r5, r6, pc}
	mov	r4, r0
	ldr	r0, .L10
	ldr	r6, [r4, #4]
	bl	mutex_lock
	mov	r0, r4
	bl	hlist_del
	add	r0, r5, #8
	bl	hlist_empty
	cmp	r0, #0
	bne	.L9
	pop	{r4, r5, r6, lr}
	ldr	r0, .L10
	b	mutex_unlock
.L9:
	ldr	r2, [r5]
	ldr	r1, [r5, #4]
	mov	r0, r6
	bl	cma_ps_remove
	mov	r0, r5
	bl	kfree
	pop	{r4, r5, r6, lr}
	ldr	r0, .L10
	b	mutex_unlock
.L11:
	.align	2
.L10:
	.word	lock
	.size	cma_release_port, .-cma_release_port
	.comm	lock,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
