	.file	"extr_exutils.c_acpi_ex_acquire_global_lock.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Could not acquire Global Lock"
	.text
	.p2align 4
	.globl	acpi_ex_acquire_global_lock
	.type	acpi_ex_acquire_global_lock, @function
acpi_ex_acquire_global_lock:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	mov	edi, DWORD PTR ex_acquire_global_lock[rip]
	call	ACPI_FUNCTION_TRACE@PLT
	xor	eax, eax
	call	acpi_os_get_thread_id@PLT
	mov	edi, DWORD PTR ACPI_WAIT_FOREVER[rip]
	mov	esi, DWORD PTR acpi_gbl_global_lock_mutex[rip]
	mov	edx, eax
	call	acpi_ex_acquire_mutex_object@PLT
	mov	edi, eax
	call	ACPI_FAILURE@PLT
	test	rax, rax
	jne	.L5
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	lea	rax, .LC0[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 8
	lea	edi, [rax]
	jmp	ACPI_EXCEPTION@PLT
	.cfi_endproc
.LFE0:
	.size	acpi_ex_acquire_global_lock, .-acpi_ex_acquire_global_lock
	.comm	return_VOID,4,4
	.comm	ex_acquire_global_lock,4,4
	.comm	acpi_gbl_global_lock_mutex,4,4
	.comm	AML_FIELD_LOCK_RULE_MASK,4,4
	.comm	AE_INFO,4,4
	.comm	ACPI_WAIT_FOREVER,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_exutils.c_acpi_ex_acquire_global_lock.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Could not acquire Global Lock\000"
	.text
	.align	2
	.global	acpi_ex_acquire_global_lock
	.syntax unified
	.arm
	.fpu softvfp
	.type	acpi_ex_acquire_global_lock, %function
acpi_ex_acquire_global_lock:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L5
	push	{r4, r5, r6, lr}
	ldr	r0, [r3]
	bl	ACPI_FUNCTION_TRACE
	ldr	r3, .L5+4
	ldr	r2, .L5+8
	ldr	r5, [r3]
	ldr	r4, [r2]
	bl	acpi_os_get_thread_id
	mov	r1, r5
	mov	r2, r0
	mov	r0, r4
	bl	acpi_ex_acquire_mutex_object
	bl	ACPI_FAILURE
	cmp	r0, #0
	popeq	{r4, r5, r6, pc}
	ldr	r0, .L5+12
	pop	{r4, r5, r6, lr}
	b	ACPI_EXCEPTION
.L6:
	.align	2
.L5:
	.word	ex_acquire_global_lock
	.word	acpi_gbl_global_lock_mutex
	.word	ACPI_WAIT_FOREVER
	.word	.LC0
	.size	acpi_ex_acquire_global_lock, .-acpi_ex_acquire_global_lock
	.comm	return_VOID,4,4
	.comm	ex_acquire_global_lock,4,4
	.comm	acpi_gbl_global_lock_mutex,4,4
	.comm	AML_FIELD_LOCK_RULE_MASK,4,4
	.comm	AE_INFO,4,4
	.comm	ACPI_WAIT_FOREVER,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
