	.file	"extr_evglock.c_AcpiEvGlobalLockHandler.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Could not signal Global Lock semaphore"
	.text
	.p2align 4
	.type	AcpiEvGlobalLockHandler, @function
AcpiEvGlobalLockHandler:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	edi, DWORD PTR AcpiGbl_GlobalLockPendingLock[rip]
	call	AcpiOsAcquireLock@PLT
	cmp	QWORD PTR AcpiGbl_GlobalLockPending[rip], 0
	mov	ebp, eax
	jne	.L9
.L2:
	mov	edi, DWORD PTR AcpiGbl_GlobalLockPendingLock[rip]
	mov	esi, ebp
	call	AcpiOsReleaseLock@PLT
	mov	eax, DWORD PTR ACPI_INTERRUPT_HANDLED[rip]
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	edi, DWORD PTR AcpiGbl_GlobalLockSemaphore[rip]
	mov	esi, 1
	call	AcpiOsSignalSemaphore@PLT
	mov	edi, eax
	call	ACPI_FAILURE@PLT
	test	rax, rax
	jne	.L10
.L3:
	mov	rax, QWORD PTR FALSE[rip]
	mov	QWORD PTR AcpiGbl_GlobalLockPending[rip], rax
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L10:
	lea	rax, .LC0[rip]
	lea	edi, [rax]
	call	ACPI_ERROR@PLT
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	AcpiEvGlobalLockHandler, .-AcpiEvGlobalLockHandler
	.comm	FALSE,8,8
	.comm	AcpiGbl_GlobalLockSemaphore,4,4
	.comm	AcpiGbl_GlobalLockPendingLock,4,4
	.comm	AcpiGbl_GlobalLockPending,8,8
	.comm	AE_INFO,4,4
	.comm	ACPI_INTERRUPT_HANDLED,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_evglock.c_AcpiEvGlobalLockHandler.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Could not signal Global Lock semaphore\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	AcpiEvGlobalLockHandler, %function
AcpiEvGlobalLockHandler:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r5, .L14
	ldr	r6, .L14+4
	ldr	r0, [r5]
	bl	AcpiOsAcquireLock
	ldr	r3, [r6]
	mov	r4, r0
	cmp	r3, #0
	bne	.L12
.L2:
	mov	r1, r4
	ldr	r0, [r5]
	bl	AcpiOsReleaseLock
	ldr	r3, .L14+8
	ldr	r0, [r3]
	pop	{r4, r5, r6, pc}
.L12:
	ldr	r3, .L14+12
	mov	r1, #1
	ldr	r0, [r3]
	bl	AcpiOsSignalSemaphore
	bl	ACPI_FAILURE
	cmp	r0, #0
	bne	.L13
.L3:
	ldr	r3, .L14+16
	ldr	r3, [r3]
	str	r3, [r6]
	b	.L2
.L13:
	ldr	r0, .L14+20
	bl	ACPI_ERROR
	b	.L3
.L15:
	.align	2
.L14:
	.word	AcpiGbl_GlobalLockPendingLock
	.word	AcpiGbl_GlobalLockPending
	.word	ACPI_INTERRUPT_HANDLED
	.word	AcpiGbl_GlobalLockSemaphore
	.word	FALSE
	.word	.LC0
	.size	AcpiEvGlobalLockHandler, .-AcpiEvGlobalLockHandler
	.comm	FALSE,4,4
	.comm	AcpiGbl_GlobalLockSemaphore,4,4
	.comm	AcpiGbl_GlobalLockPendingLock,4,4
	.comm	AcpiGbl_GlobalLockPending,4,4
	.comm	AE_INFO,4,4
	.comm	ACPI_INTERRUPT_HANDLED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
