	.file	"extr_evglock.c_AcpiEvReleaseGlobalLock.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Cannot release the ACPI Global Lock, it has not been acquired"
	.align 8
.LC1:
	.string	"Released hardware Global Lock\n"
	.text
	.p2align 4
	.globl	AcpiEvReleaseGlobalLock
	.type	AcpiEvReleaseGlobalLock, @function
AcpiEvReleaseGlobalLock:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	edi, DWORD PTR EvReleaseGlobalLock[rip]
	mov	ebp, DWORD PTR AE_OK[rip]
	mov	rbx, QWORD PTR FALSE[rip]
	call	ACPI_FUNCTION_TRACE@PLT
	cmp	QWORD PTR AcpiGbl_GlobalLockAcquired[rip], 0
	je	.L10
.L2:
	cmp	QWORD PTR AcpiGbl_GlobalLockPresent[rip], 0
	jne	.L11
.L3:
	mov	rax, QWORD PTR FALSE[rip]
	mov	QWORD PTR AcpiGbl_GlobalLockAcquired[rip], rax
	mov	rax, QWORD PTR AcpiGbl_GlobalLockMutex[rip]
	mov	edi, DWORD PTR [rax]
	call	AcpiOsReleaseMutex@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	edi, ebp
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	return_ACPI_STATUS@PLT
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	edi, DWORD PTR AcpiGbl_FACS[rip]
	mov	rsi, rbx
	call	ACPI_RELEASE_GLOBAL_LOCK@PLT
	test	rbx, rbx
	je	.L4
	mov	esi, DWORD PTR ACPI_ENABLE_EVENT[rip]
	mov	edi, DWORD PTR ACPI_BITREG_GLOBAL_LOCK_RELEASE[rip]
	call	AcpiWriteBitRegister@PLT
	mov	ebp, eax
.L4:
	lea	rax, .LC1[rip]
	lea	edi, [rax]
	call	ACPI_DEBUG_PRINT@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L10:
	lea	rax, .LC0[rip]
	lea	edi, [rax]
	call	ACPI_WARNING@PLT
	mov	edi, DWORD PTR AE_NOT_ACQUIRED[rip]
	call	return_ACPI_STATUS@PLT
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	AcpiEvReleaseGlobalLock, .-AcpiEvReleaseGlobalLock
	.comm	FALSE,8,8
	.comm	EvReleaseGlobalLock,4,4
	.comm	AcpiGbl_GlobalLockPresent,8,8
	.comm	AcpiGbl_GlobalLockMutex,8,8
	.comm	AcpiGbl_GlobalLockAcquired,8,8
	.comm	AcpiGbl_FACS,4,4
	.comm	AE_OK,4,4
	.comm	AE_NOT_ACQUIRED,4,4
	.comm	AE_INFO,4,4
	.comm	ACPI_ENABLE_EVENT,4,4
	.comm	ACPI_DB_EXEC,4,4
	.comm	ACPI_BITREG_GLOBAL_LOCK_RELEASE,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_AcpiEvReleaseGlobalLock.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Cannot release the ACPI Global Lock, it has not bee"
	.ascii	"n acquired\000"
	.align	2
.LC1:
	.ascii	"Released hardware Global Lock\012\000"
	.text
	.align	2
	.global	AcpiEvReleaseGlobalLock
	.syntax unified
	.arm
	.fpu softvfp
	.type	AcpiEvReleaseGlobalLock, %function
AcpiEvReleaseGlobalLock:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r2, .L15
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r3, .L15+4
	ldr	r5, .L15+8
	ldr	r4, .L15+12
	ldr	r0, [r2]
	ldr	r6, [r3]
	ldr	r7, [r5]
	bl	ACPI_FUNCTION_TRACE
	ldr	r3, [r4]
	cmp	r3, #0
	beq	.L13
.L2:
	ldr	r3, .L15+16
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L14
.L3:
	ldr	r3, .L15+20
	ldr	r2, [r5]
	ldr	r3, [r3]
	str	r2, [r4]
	ldr	r0, [r3]
	bl	AcpiOsReleaseMutex
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, lr}
	b	return_ACPI_STATUS
.L14:
	ldr	r3, .L15+24
	mov	r1, r7
	ldr	r0, [r3]
	bl	ACPI_RELEASE_GLOBAL_LOCK
	cmp	r7, #0
	beq	.L4
	ldr	r2, .L15+28
	ldr	r3, .L15+32
	ldr	r1, [r2]
	ldr	r0, [r3]
	bl	AcpiWriteBitRegister
	mov	r6, r0
.L4:
	ldr	r0, .L15+36
	bl	ACPI_DEBUG_PRINT
	b	.L3
.L13:
	ldr	r0, .L15+40
	bl	ACPI_WARNING
	ldr	r3, .L15+44
	ldr	r0, [r3]
	bl	return_ACPI_STATUS
	b	.L2
.L16:
	.align	2
.L15:
	.word	EvReleaseGlobalLock
	.word	AE_OK
	.word	FALSE
	.word	AcpiGbl_GlobalLockAcquired
	.word	AcpiGbl_GlobalLockPresent
	.word	AcpiGbl_GlobalLockMutex
	.word	AcpiGbl_FACS
	.word	ACPI_ENABLE_EVENT
	.word	ACPI_BITREG_GLOBAL_LOCK_RELEASE
	.word	.LC1
	.word	.LC0
	.word	AE_NOT_ACQUIRED
	.size	AcpiEvReleaseGlobalLock, .-AcpiEvReleaseGlobalLock
	.comm	FALSE,4,4
	.comm	EvReleaseGlobalLock,4,4
	.comm	AcpiGbl_GlobalLockPresent,4,4
	.comm	AcpiGbl_GlobalLockMutex,4,4
	.comm	AcpiGbl_GlobalLockAcquired,4,4
	.comm	AcpiGbl_FACS,4,4
	.comm	AE_OK,4,4
	.comm	AE_NOT_ACQUIRED,4,4
	.comm	AE_INFO,4,4
	.comm	ACPI_ENABLE_EVENT,4,4
	.comm	ACPI_DB_EXEC,4,4
	.comm	ACPI_BITREG_GLOBAL_LOCK_RELEASE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
