	.file	"extr_dbtest.c_AcpiDbReadFromObject.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Could not read from object, %s"
	.align 8
.LC1:
	.string	" Type mismatch:  Expected %s, Received %s"
	.align 8
.LC2:
	.string	" Unsupported return object type, %s"
	.text
	.p2align 4
	.type	AcpiDbReadFromObject, @function
AcpiDbReadFromObject:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	ebp, esi
	mov	rsi, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdx
	sub	rsp, 64
	.cfi_def_cfa_offset 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 56[rsp], rax
	xor	eax, eax
	mov	eax, DWORD PTR ACPI_TYPE_LOCAL_REFERENCE[rip]
	mov	DWORD PTR 32[rsp], eax
	mov	eax, DWORD PTR [rdi]
	mov	edi, DWORD PTR ACPI_HANDLE[rip]
	mov	DWORD PTR 40[rsp], eax
	call	ACPI_CAST_PTR@PLT
	mov	edi, DWORD PTR ReadHandle[rip]
	xor	esi, esi
	mov	rdx, rsp
	mov	DWORD PTR 36[rsp], eax
	lea	rax, 32[rsp]
	lea	rcx, 16[rsp]
	mov	QWORD PTR 8[rsp], rax
	mov	eax, DWORD PTR ACPI_ALLOCATE_BUFFER[rip]
	mov	DWORD PTR [rsp], 1
	mov	DWORD PTR 24[rsp], eax
	mov	eax, DWORD PTR TRUE[rip]
	mov	DWORD PTR AcpiGbl_MethodExecuting[rip], eax
	call	AcpiEvaluateObject@PLT
	mov	r12d, eax
	mov	eax, DWORD PTR FALSE[rip]
	mov	edi, r12d
	mov	DWORD PTR AcpiGbl_MethodExecuting[rip], eax
	call	ACPI_FAILURE@PLT
	test	rax, rax
	jne	.L9
	mov	rax, QWORD PTR 16[rsp]
	mov	edi, DWORD PTR [rax]
	lea	edx, -128[rdi]
	cmp	edx, 3
	ja	.L4
	cmp	edi, ebp
	jne	.L10
	mov	QWORD PTR [rbx], rax
.L1:
	mov	rax, QWORD PTR 56[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L11
	add	rsp, 64
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	call	AcpiUtGetTypeName@PLT
	lea	rdi, .LC2[rip]
	mov	esi, eax
	xor	eax, eax
	call	AcpiOsPrintf@PLT
	mov	rdi, QWORD PTR 16[rsp]
	call	AcpiOsFree@PLT
	mov	r12d, DWORD PTR AE_TYPE[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L9:
	mov	edi, r12d
	call	AcpiFormatException@PLT
	lea	rdi, .LC0[rip]
	mov	esi, eax
	xor	eax, eax
	call	AcpiOsPrintf@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L10:
	call	AcpiUtGetTypeName@PLT
	mov	edi, ebp
	mov	r12d, eax
	call	AcpiUtGetTypeName@PLT
	mov	edx, r12d
	lea	rdi, .LC1[rip]
	mov	esi, eax
	xor	eax, eax
	call	AcpiOsPrintf@PLT
	mov	rdi, QWORD PTR 16[rsp]
	call	AcpiOsFree@PLT
	mov	r12d, DWORD PTR AE_TYPE[rip]
	jmp	.L1
.L11:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	AcpiDbReadFromObject, .-AcpiDbReadFromObject
	.comm	TRUE,4,4
	.comm	ReadHandle,4,4
	.comm	FALSE,4,4
	.comm	AcpiGbl_MethodExecuting,4,4
	.comm	AE_TYPE,4,4
	.comm	ACPI_TYPE_LOCAL_REFERENCE,4,4
	.comm	ACPI_HANDLE,4,4
	.comm	ACPI_ALLOCATE_BUFFER,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_dbtest.c_AcpiDbReadFromObject.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Could not read from object, %s\000"
	.align	2
.LC1:
	.ascii	" Type mismatch:  Expected %s, Received %s\000"
	.align	2
.LC2:
	.ascii	" Unsupported return object type, %s\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	AcpiDbReadFromObject, %function
AcpiDbReadFromObject:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r3, .L12
	ldr	lr, .L12+4
	ldr	ip, [r0]
	ldr	r3, [r3]
	mov	r6, r2
	ldr	r2, .L12+8
	sub	sp, sp, #52
	mov	r5, r1
	mov	r1, r0
	ldr	r0, [lr]
	ldr	r2, [r2]
	str	r2, [sp, #44]
	mov	r2,#0
	str	ip, [sp, #28]
	str	r3, [sp, #20]
	bl	ACPI_CAST_PTR
	mov	r1, #1
	mov	ip, r0
	ldr	r3, .L12+12
	ldr	r2, .L12+16
	ldr	r3, [r3]
	ldr	r2, [r2]
	ldr	r7, .L12+20
	ldr	r0, .L12+24
	str	ip, [sp, #24]
	str	r3, [sp, #16]
	add	ip, sp, #20
	add	r3, sp, #12
	str	r2, [r7]
	str	r1, [sp, #4]
	add	r2, sp, #4
	mov	r1, #0
	ldr	r0, [r0]
	str	ip, [sp, #8]
	bl	AcpiEvaluateObject
	ldr	r3, .L12+28
	mov	r4, r0
	ldr	r3, [r3]
	str	r3, [r7]
	bl	ACPI_FAILURE
	cmp	r0, #0
	bne	.L9
	ldr	r7, [sp, #12]
	ldr	r0, [r7]
	sub	r3, r0, #128
	cmp	r3, #3
	bhi	.L4
	cmp	r0, r5
	streq	r7, [r6]
	bne	.L10
.L1:
	ldr	r3, .L12+8
	ldr	r2, [r3]
	ldr	r3, [sp, #44]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L11
	mov	r0, r4
	add	sp, sp, #52
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L4:
	bl	AcpiUtGetTypeName
	mov	r1, r0
	ldr	r0, .L12+32
	bl	AcpiOsPrintf
	ldr	r0, [sp, #12]
	bl	AcpiOsFree
	ldr	r3, .L12+36
	ldr	r4, [r3]
	b	.L1
.L9:
	mov	r0, r4
	bl	AcpiFormatException
	mov	r1, r0
	ldr	r0, .L12+40
	bl	AcpiOsPrintf
	b	.L1
.L10:
	mov	r0, r5
	bl	AcpiUtGetTypeName
	mov	r4, r0
	ldr	r0, [r7]
	bl	AcpiUtGetTypeName
	mov	r1, r4
	mov	r2, r0
	ldr	r0, .L12+44
	bl	AcpiOsPrintf
	ldr	r0, [sp, #12]
	bl	AcpiOsFree
	ldr	r3, .L12+36
	ldr	r4, [r3]
	b	.L1
.L11:
	bl	__stack_chk_fail
.L13:
	.align	2
.L12:
	.word	ACPI_TYPE_LOCAL_REFERENCE
	.word	ACPI_HANDLE
	.word	.LC3
	.word	ACPI_ALLOCATE_BUFFER
	.word	TRUE
	.word	AcpiGbl_MethodExecuting
	.word	ReadHandle
	.word	FALSE
	.word	.LC2
	.word	AE_TYPE
	.word	.LC0
	.word	.LC1
	.size	AcpiDbReadFromObject, .-AcpiDbReadFromObject
	.comm	TRUE,4,4
	.comm	ReadHandle,4,4
	.comm	FALSE,4,4
	.comm	AcpiGbl_MethodExecuting,4,4
	.comm	AE_TYPE,4,4
	.comm	ACPI_TYPE_LOCAL_REFERENCE,4,4
	.comm	ACPI_HANDLE,4,4
	.comm	ACPI_ALLOCATE_BUFFER,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
