	.file	"extr_acpi.c_acpi_GetInteger.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	acpi_GetInteger
	.type	acpi_GetInteger, @function
acpi_GetInteger:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rdx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	sub	rsp, 48
	.cfi_def_cfa_offset 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	test	rdi, rdi
	cmove	rbp, QWORD PTR ACPI_ROOT_OBJECT[rip]
	mov	r15, rsp
	lea	rax, 16[rsp]
	xor	edx, edx
	mov	rcx, r15
	mov	DWORD PTR [rsp], 16
	mov	rdi, rbp
	mov	QWORD PTR 8[rsp], rax
	call	AcpiEvaluateObject@PLT
	mov	rdi, rax
	mov	r12, rax
	call	ACPI_SUCCESS@PLT
	test	rax, rax
	je	.L3
	mov	rax, QWORD PTR ACPI_TYPE_INTEGER[rip]
	cmp	QWORD PTR 16[rsp], rax
	je	.L17
	mov	r12, QWORD PTR AE_TYPE[rip]
.L3:
	cmp	QWORD PTR AE_BUFFER_OVERFLOW[rip], r12
	je	.L18
.L1:
	mov	rax, QWORD PTR 40[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L19
	add	rsp, 48
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	mov	rax, r12
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L18:
	.cfi_restore_state
	mov	edi, DWORD PTR [rsp]
	call	AcpiOsAllocate@PLT
	mov	r12, QWORD PTR AE_NO_MEMORY[rip]
	mov	QWORD PTR 8[rsp], rax
	test	rax, rax
	je	.L1
	xor	edx, edx
	mov	rdi, rbp
	mov	rcx, r15
	mov	rsi, r13
	call	AcpiEvaluateObject@PLT
	mov	rdi, rax
	mov	r12, rax
	call	ACPI_SUCCESS@PLT
	test	rax, rax
	jne	.L20
.L7:
	mov	rdi, QWORD PTR 8[rsp]
	call	AcpiOsFree@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L17:
	mov	eax, DWORD PTR 24[rsp]
	mov	DWORD PTR [r14], eax
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L20:
	mov	rsi, r14
	mov	rdi, r15
	call	acpi_ConvertBufferToInteger@PLT
	mov	r12, rax
	jmp	.L7
.L19:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	acpi_GetInteger, .-acpi_GetInteger
	.comm	AE_TYPE,8,8
	.comm	AE_NO_MEMORY,8,8
	.comm	AE_BUFFER_OVERFLOW,8,8
	.comm	ACPI_TYPE_INTEGER,8,8
	.comm	ACPI_ROOT_OBJECT,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_acpi.c_acpi_GetInteger.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	acpi_GetInteger
	.syntax unified
	.arm
	.fpu softvfp
	.type	acpi_GetInteger, %function
acpi_GetInteger:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r3, .L21
	sub	sp, sp, #28
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	subs	r5, r0, #0
	mov	r0, #8
	ldreq	r3, .L21+4
	add	ip, sp, #12
	ldreq	r5, [r3]
	str	r0, [sp, #4]
	add	r3, sp, #4
	mov	r7, r2
	mov	r0, r5
	mov	r2, #0
	mov	r6, r1
	str	ip, [sp, #8]
	bl	AcpiEvaluateObject
	mov	r4, r0
	bl	ACPI_SUCCESS
	cmp	r0, #0
	beq	.L3
	ldr	r3, .L21+8
	ldr	r2, [sp, #12]
	ldr	r3, [r3]
	cmp	r2, r3
	ldrne	r3, .L21+12
	ldreq	r3, [sp, #16]
	ldrne	r4, [r3]
	streq	r3, [r7]
.L3:
	ldr	r3, .L21+16
	ldr	r3, [r3]
	cmp	r3, r4
	beq	.L17
.L1:
	ldr	r3, .L21
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L18
	mov	r0, r4
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L17:
	ldr	r0, [sp, #4]
	bl	AcpiOsAllocate
	cmp	r0, #0
	str	r0, [sp, #8]
	beq	.L19
	mov	r1, r6
	mov	r2, #0
	add	r3, sp, #4
	mov	r0, r5
	bl	AcpiEvaluateObject
	mov	r4, r0
	bl	ACPI_SUCCESS
	cmp	r0, #0
	bne	.L20
.L7:
	ldr	r0, [sp, #8]
	bl	AcpiOsFree
	b	.L1
.L19:
	ldr	r3, .L21+20
	ldr	r4, [r3]
	b	.L1
.L20:
	mov	r1, r7
	add	r0, sp, #4
	bl	acpi_ConvertBufferToInteger
	mov	r4, r0
	b	.L7
.L18:
	bl	__stack_chk_fail
.L22:
	.align	2
.L21:
	.word	.LC0
	.word	ACPI_ROOT_OBJECT
	.word	ACPI_TYPE_INTEGER
	.word	AE_TYPE
	.word	AE_BUFFER_OVERFLOW
	.word	AE_NO_MEMORY
	.size	acpi_GetInteger, .-acpi_GetInteger
	.comm	AE_TYPE,4,4
	.comm	AE_NO_MEMORY,4,4
	.comm	AE_BUFFER_OVERFLOW,4,4
	.comm	ACPI_TYPE_INTEGER,4,4
	.comm	ACPI_ROOT_OBJECT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
