	.file	"extr_utmutex.c_acpi_ut_mutex_terminate.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	acpi_ut_mutex_terminate
	.type	acpi_ut_mutex_terminate, @function
acpi_ut_mutex_terminate:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	edi, DWORD PTR ut_mutex_terminate[rip]
	call	ACPI_FUNCTION_TRACE@PLT
	cmp	QWORD PTR ACPI_NUM_MUTEX[rip], 0
	jle	.L2
	xor	ebx, ebx
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rdi, rbx
	add	rbx, 1
	call	acpi_ut_delete_mutex@PLT
	cmp	QWORD PTR ACPI_NUM_MUTEX[rip], rbx
	jg	.L3
.L2:
	mov	edi, DWORD PTR acpi_gbl_gpe_lock[rip]
	call	acpi_os_delete_lock@PLT
	mov	edi, DWORD PTR acpi_gbl_hardware_lock[rip]
	call	acpi_os_delete_lock@PLT
	lea	rdi, acpi_gbl_namespace_rw_lock[rip]
	pop	rbx
	.cfi_def_cfa_offset 8
	jmp	acpi_ut_delete_rw_lock@PLT
	.cfi_endproc
.LFE0:
	.size	acpi_ut_mutex_terminate, .-acpi_ut_mutex_terminate
	.comm	ut_mutex_terminate,4,4
	.comm	return_VOID,4,4
	.comm	acpi_gbl_namespace_rw_lock,4,4
	.comm	acpi_gbl_hardware_lock,4,4
	.comm	acpi_gbl_gpe_lock,4,4
	.comm	ACPI_NUM_MUTEX,8,8
	.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_utmutex.c_acpi_ut_mutex_terminate.c"
	.text
	.align	2
	.global	acpi_ut_mutex_terminate
	.syntax unified
	.arm
	.fpu softvfp
	.type	acpi_ut_mutex_terminate, %function
acpi_ut_mutex_terminate:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L7
	push	{r4, r5, r6, lr}
	ldr	r5, .L7+4
	ldr	r0, [r3]
	bl	ACPI_FUNCTION_TRACE
	ldr	r3, [r5]
	cmp	r3, #0
	ble	.L2
	mov	r4, #0
.L3:
	mov	r0, r4
	bl	acpi_ut_delete_mutex
	ldr	r3, [r5]
	add	r4, r4, #1
	cmp	r3, r4
	bgt	.L3
.L2:
	ldr	r3, .L7+8
	ldr	r0, [r3]
	bl	acpi_os_delete_lock
	ldr	r3, .L7+12
	ldr	r0, [r3]
	bl	acpi_os_delete_lock
	pop	{r4, r5, r6, lr}
	ldr	r0, .L7+16
	b	acpi_ut_delete_rw_lock
.L8:
	.align	2
.L7:
	.word	ut_mutex_terminate
	.word	ACPI_NUM_MUTEX
	.word	acpi_gbl_gpe_lock
	.word	acpi_gbl_hardware_lock
	.word	acpi_gbl_namespace_rw_lock
	.size	acpi_ut_mutex_terminate, .-acpi_ut_mutex_terminate
	.comm	ut_mutex_terminate,4,4
	.comm	return_VOID,4,4
	.comm	acpi_gbl_namespace_rw_lock,4,4
	.comm	acpi_gbl_hardware_lock,4,4
	.comm	acpi_gbl_gpe_lock,4,4
	.comm	ACPI_NUM_MUTEX,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
