	.file	"extr_uteval.c_acpi_ut_evaluate_object.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Method execution failed"
.LC1:
	.string	"No object was returned from"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC2:
	.string	"Return object type is incorrect"
	.text
	.p2align 4
	.globl	acpi_ut_evaluate_object
	.type	acpi_ut_evaluate_object, @function
acpi_ut_evaluate_object:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15d, edx
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rsi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rcx
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	edi, DWORD PTR ut_evaluate_object[rip]
	call	ACPI_FUNCTION_TRACE@PLT
	mov	edi, 24
	call	ACPI_ALLOCATE_ZEROED@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L35
.L2:
	mov	QWORD PTR 16[rbp], r13
	mov	rdi, rbp
	mov	QWORD PTR 0[rbp], r14
	call	acpi_ns_evaluate@PLT
	mov	rdi, rax
	mov	r12, rax
	call	ACPI_FAILURE@PLT
	test	rax, rax
	jne	.L36
	mov	rdi, QWORD PTR 8[rbp]
	test	rdi, rdi
	je	.L37
	mov	eax, DWORD PTR [rdi]
	cmp	eax, 130
	je	.L7
	jg	.L8
	cmp	eax, 128
	je	.L9
	cmp	eax, 129
	jne	.L11
	mov	edx, DWORD PTR ACPI_BTYPE_PACKAGE[rip]
.L13:
	cmp	QWORD PTR acpi_gbl_enable_interpreter_slack[rip], 0
	jne	.L38
	.p2align 4,,10
	.p2align 3
.L14:
	test	edx, r15d
	je	.L18
	mov	QWORD PTR [rbx], rdi
.L5:
	mov	rdi, rbp
	call	ACPI_FREE@PLT
	mov	rdi, r12
	call	return_ACPI_STATUS@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 48
	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
.L8:
	.cfi_restore_state
	mov	edx, DWORD PTR ACPI_BTYPE_BUFFER[rip]
	cmp	eax, 131
	je	.L13
.L11:
	cmp	QWORD PTR acpi_gbl_enable_interpreter_slack[rip], 0
	je	.L18
	test	r15d, r15d
	jne	.L18
.L16:
	call	acpi_ut_remove_reference@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L36:
	cmp	QWORD PTR AE_NOT_FOUND[rip], r12
	je	.L39
	mov	rcx, r12
	mov	rdx, r14
	lea	rdi, .LC0[rip]
	mov	rsi, r13
	call	ACPI_ERROR_METHOD@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L9:
	cmp	QWORD PTR acpi_gbl_enable_interpreter_slack[rip], 0
	mov	edx, DWORD PTR ACPI_BTYPE_STRING[rip]
	je	.L14
.L38:
	test	r15d, r15d
	jne	.L14
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L7:
	cmp	QWORD PTR acpi_gbl_enable_interpreter_slack[rip], 0
	mov	edx, DWORD PTR ACPI_BTYPE_INTEGER[rip]
	je	.L14
	jmp	.L38
	.p2align 4,,10
	.p2align 3
.L35:
	mov	rdi, QWORD PTR AE_NO_MEMORY[rip]
	call	return_ACPI_STATUS@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L37:
	test	r15d, r15d
	je	.L5
	mov	rcx, QWORD PTR AE_NOT_EXIST[rip]
	mov	rdx, r14
	mov	rsi, r13
	lea	rdi, .LC1[rip]
	call	ACPI_ERROR_METHOD@PLT
	mov	r12, QWORD PTR AE_NOT_EXIST[rip]
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L39:
	mov	rdi, r13
	call	acpi_ut_get_node_name@PLT
	mov	edi, r14d
	call	ACPI_DEBUG_PRINT@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L18:
	mov	rcx, QWORD PTR AE_TYPE[rip]
	mov	rdx, r14
	mov	rsi, r13
	lea	rdi, .LC2[rip]
	call	ACPI_ERROR_METHOD@PLT
	mov	rdi, QWORD PTR 8[rbp]
	call	acpi_ut_get_object_type_name@PLT
	mov	edi, r15d
	call	ACPI_ERROR@PLT
	mov	rdi, QWORD PTR 8[rbp]
	call	acpi_ut_remove_reference@PLT
	mov	r12, QWORD PTR AE_TYPE[rip]
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	acpi_ut_evaluate_object, .-acpi_ut_evaluate_object
	.comm	ut_evaluate_object,4,4
	.comm	acpi_gbl_enable_interpreter_slack,8,8
	.comm	AE_TYPE,8,8
	.comm	AE_NO_MEMORY,8,8
	.comm	AE_NOT_FOUND,8,8
	.comm	AE_NOT_EXIST,8,8
	.comm	AE_INFO,4,4
	.comm	ACPI_DB_EXEC,4,4
	.comm	ACPI_BTYPE_STRING,4,4
	.comm	ACPI_BTYPE_PACKAGE,4,4
	.comm	ACPI_BTYPE_INTEGER,4,4
	.comm	ACPI_BTYPE_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_uteval.c_acpi_ut_evaluate_object.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Method execution failed\000"
	.align	2
.LC1:
	.ascii	"No object was returned from\000"
	.align	2
.LC2:
	.ascii	"Return object type is incorrect\000"
	.text
	.align	2
	.global	acpi_ut_evaluate_object
	.syntax unified
	.arm
	.fpu softvfp
	.type	acpi_ut_evaluate_object, %function
acpi_ut_evaluate_object:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	ip, .L26
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r6, r0
	ldr	r0, [ip]
	mov	r7, r1
	mov	r8, r2
	mov	r9, r3
	bl	ACPI_FUNCTION_TRACE
	mov	r0, #12
	bl	ACPI_ALLOCATE_ZEROED
	subs	r4, r0, #0
	beq	.L20
.L2:
	mov	r0, r4
	str	r6, [r4, #8]
	str	r7, [r4]
	bl	acpi_ns_evaluate
	mov	r5, r0
	bl	ACPI_FAILURE
	subs	ip, r0, #0
	bne	.L21
	ldr	r0, [r4, #4]
	cmp	r0, #0
	beq	.L22
	ldr	r3, [r0]
	sub	r3, r3, #128
	cmp	r3, #3
	ldrls	pc, [pc, r3, asl #2]
	b	.L7
.L9:
	.word	.L12
	.word	.L11
	.word	.L10
	.word	.L8
.L10:
	ldr	r3, .L26+4
	ldr	ip, [r3]
.L7:
	clz	r3, r8
	ldr	r2, .L26+8
	lsr	r3, r3, #5
	ldr	r2, [r2]
	cmp	r2, #0
	moveq	r3, #0
	cmp	r3, #0
	bne	.L23
	tst	ip, r8
	strne	r0, [r9]
	beq	.L24
.L5:
	mov	r0, r4
	bl	ACPI_FREE
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	return_ACPI_STATUS
.L21:
	ldr	r3, .L26+12
	ldr	r3, [r3]
	cmp	r3, r5
	beq	.L25
	mov	r2, r7
	mov	r1, r6
	mov	r3, r5
	ldr	r0, .L26+16
	bl	ACPI_ERROR_METHOD
	b	.L5
.L8:
	ldr	r3, .L26+20
	ldr	ip, [r3]
	b	.L7
.L12:
	ldr	r3, .L26+24
	ldr	ip, [r3]
	b	.L7
.L11:
	ldr	r3, .L26+28
	ldr	ip, [r3]
	b	.L7
.L23:
	bl	acpi_ut_remove_reference
	b	.L5
.L20:
	ldr	r3, .L26+32
	ldr	r0, [r3]
	bl	return_ACPI_STATUS
	b	.L2
.L22:
	cmp	r8, #0
	beq	.L5
	ldr	r5, .L26+36
	mov	r2, r7
	ldr	r3, [r5]
	mov	r1, r6
	ldr	r0, .L26+40
	bl	ACPI_ERROR_METHOD
	ldr	r5, [r5]
	b	.L5
.L25:
	mov	r0, r6
	bl	acpi_ut_get_node_name
	mov	r0, r7
	bl	ACPI_DEBUG_PRINT
	b	.L5
.L24:
	ldr	r5, .L26+44
	mov	r2, r7
	ldr	r3, [r5]
	mov	r1, r6
	ldr	r0, .L26+48
	bl	ACPI_ERROR_METHOD
	ldr	r0, [r4, #4]
	bl	acpi_ut_get_object_type_name
	mov	r0, r8
	bl	ACPI_ERROR
	ldr	r0, [r4, #4]
	bl	acpi_ut_remove_reference
	ldr	r5, [r5]
	b	.L5
.L27:
	.align	2
.L26:
	.word	ut_evaluate_object
	.word	ACPI_BTYPE_INTEGER
	.word	acpi_gbl_enable_interpreter_slack
	.word	AE_NOT_FOUND
	.word	.LC0
	.word	ACPI_BTYPE_BUFFER
	.word	ACPI_BTYPE_STRING
	.word	ACPI_BTYPE_PACKAGE
	.word	AE_NO_MEMORY
	.word	AE_NOT_EXIST
	.word	.LC1
	.word	AE_TYPE
	.word	.LC2
	.size	acpi_ut_evaluate_object, .-acpi_ut_evaluate_object
	.comm	ut_evaluate_object,4,4
	.comm	acpi_gbl_enable_interpreter_slack,4,4
	.comm	AE_TYPE,4,4
	.comm	AE_NO_MEMORY,4,4
	.comm	AE_NOT_FOUND,4,4
	.comm	AE_NOT_EXIST,4,4
	.comm	AE_INFO,4,4
	.comm	ACPI_DB_EXEC,4,4
	.comm	ACPI_BTYPE_STRING,4,4
	.comm	ACPI_BTYPE_PACKAGE,4,4
	.comm	ACPI_BTYPE_INTEGER,4,4
	.comm	ACPI_BTYPE_BUFFER,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
