	.file	"extr_dsmthdat.c_AcpiDsStoreObjectToLocal.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	AcpiDsStoreObjectToLocal
	.type	AcpiDsStoreObjectToLocal, @function
AcpiDsStoreObjectToLocal:
.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
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13d, esi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rcx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdx
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	edi, DWORD PTR DsStoreObjectToLocal[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	call	ACPI_FUNCTION_TRACE@PLT
	mov	edi, ebx
	call	ACPI_DEBUG_PRINT@PLT
	test	rbx, rbx
	je	.L22
.L2:
	mov	rdi, rbp
	lea	rcx, 8[rsp]
	mov	rdx, r12
	mov	esi, r13d
	call	AcpiDsMethodDataGetNode@PLT
	mov	edi, eax
	mov	r15d, eax
	call	ACPI_FAILURE@PLT
	test	rax, rax
	jne	.L23
.L3:
	mov	rdi, QWORD PTR 8[rsp]
	call	AcpiNsGetAttachedObject@PLT
	mov	r14, rax
	cmp	rbx, rax
	je	.L24
	cmp	DWORD PTR 16[rbx], 1
	mov	QWORD PTR 16[rsp], rbx
	jg	.L5
.L10:
	test	r14, r14
	je	.L12
.L11:
	cmp	QWORD PTR ACPI_REFCLASS_ARG[rip], rbp
	je	.L25
.L13:
	mov	rdx, r12
	mov	esi, r13d
	mov	rdi, rbp
	call	AcpiDsMethodDataDeleteValue@PLT
.L12:
	mov	rdx, QWORD PTR 16[rsp]
	mov	rdi, rbp
	mov	rcx, r12
	mov	esi, r13d
	call	AcpiDsMethodDataSetValue@PLT
	mov	rdi, QWORD PTR 16[rsp]
	mov	ebp, eax
	cmp	rdi, rbx
	je	.L15
	call	AcpiUtRemoveReference@PLT
.L15:
	mov	edi, ebp
	call	return_ACPI_STATUS@PLT
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L26
	add	rsp, 40
	.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
.L24:
	.cfi_restore_state
	mov	edi, ebx
	call	ACPI_DEBUG_PRINT@PLT
	mov	edi, r15d
	call	return_ACPI_STATUS@PLT
	cmp	DWORD PTR 16[rbx], 1
	mov	QWORD PTR 16[rsp], rbx
	jle	.L11
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rdi, rbx
	lea	rsi, 16[rsp]
	mov	rdx, r12
	call	AcpiUtCopyIobjectToIobject@PLT
	mov	edi, eax
	mov	r15d, eax
	call	ACPI_FAILURE@PLT
	test	rax, rax
	je	.L10
	mov	edi, r15d
	call	return_ACPI_STATUS@PLT
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L23:
	mov	edi, r15d
	call	return_ACPI_STATUS@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L22:
	mov	edi, DWORD PTR AE_BAD_PARAMETER[rip]
	call	return_ACPI_STATUS@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L25:
	mov	rdi, r14
	call	ACPI_GET_DESCRIPTOR_TYPE@PLT
	cmp	rax, QWORD PTR ACPI_DESC_TYPE_OPERAND[rip]
	jne	.L13
	mov	rax, QWORD PTR ACPI_TYPE_LOCAL_REFERENCE[rip]
	cmp	QWORD PTR 24[r14], rax
	jne	.L13
	mov	rax, QWORD PTR ACPI_REFCLASS_REFOF[rip]
	cmp	QWORD PTR [r14], rax
	jne	.L13
	mov	edi, r14d
	call	ACPI_DEBUG_PRINT@PLT
	mov	esi, DWORD PTR 8[r14]
	mov	rdi, QWORD PTR 16[rsp]
	mov	rdx, r12
	mov	ecx, DWORD PTR ACPI_NO_IMPLICIT_CONVERSION[rip]
	call	AcpiExStoreObjectToNode@PLT
	mov	rdi, QWORD PTR 16[rsp]
	mov	r14d, eax
	cmp	rdi, rbx
	je	.L14
	call	AcpiUtRemoveReference@PLT
.L14:
	mov	edi, r14d
	call	return_ACPI_STATUS@PLT
	jmp	.L13
.L26:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	AcpiDsStoreObjectToLocal, .-AcpiDsStoreObjectToLocal
	.comm	DsStoreObjectToLocal,4,4
	.comm	AE_BAD_PARAMETER,4,4
	.comm	ACPI_TYPE_LOCAL_REFERENCE,8,8
	.comm	ACPI_REFCLASS_REFOF,8,8
	.comm	ACPI_REFCLASS_ARG,8,8
	.comm	ACPI_NO_IMPLICIT_CONVERSION,4,4
	.comm	ACPI_DESC_TYPE_OPERAND,8,8
	.comm	ACPI_DB_EXEC,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_dsmthdat.c_AcpiDsStoreObjectToLocal.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	AcpiDsStoreObjectToLocal
	.syntax unified
	.arm
	.fpu softvfp
	.type	AcpiDsStoreObjectToLocal, %function
AcpiDsStoreObjectToLocal:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	mov	r4, r2
	ldr	r2, .L27
	mov	r6, r3
	ldr	r3, .L27+4
	sub	sp, sp, #20
	mov	r5, r0
	ldr	r0, [r2]
	mov	r7, r1
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	bl	ACPI_FUNCTION_TRACE
	mov	r0, r4
	bl	ACPI_DEBUG_PRINT
	cmp	r4, #0
	beq	.L22
.L2:
	mov	r2, r6
	mov	r1, r7
	add	r3, sp, #4
	mov	r0, r5
	bl	AcpiDsMethodDataGetNode
	mov	r9, r0
	bl	ACPI_FAILURE
	cmp	r0, #0
	bne	.L23
.L3:
	ldr	r0, [sp, #4]
	bl	AcpiNsGetAttachedObject
	cmp	r4, r0
	mov	r8, r0
	beq	.L24
	ldr	r3, [r4, #8]
	str	r4, [sp, #8]
	cmp	r3, #1
	bgt	.L5
.L10:
	cmp	r8, #0
	beq	.L12
.L11:
	ldr	r3, .L27+8
	ldr	r3, [r3]
	cmp	r3, r5
	beq	.L25
.L13:
	mov	r2, r6
	mov	r1, r7
	mov	r0, r5
	bl	AcpiDsMethodDataDeleteValue
.L12:
	mov	r3, r6
	mov	r0, r5
	mov	r1, r7
	ldr	r2, [sp, #8]
	bl	AcpiDsMethodDataSetValue
	ldr	r3, [sp, #8]
	mov	r5, r0
	cmp	r3, r4
	beq	.L15
	mov	r0, r3
	bl	AcpiUtRemoveReference
.L15:
	mov	r0, r5
	bl	return_ACPI_STATUS
	ldr	r3, .L27+4
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L26
	mov	r0, #0
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L24:
	bl	ACPI_DEBUG_PRINT
	mov	r0, r9
	bl	return_ACPI_STATUS
	ldr	r3, [r4, #8]
	str	r4, [sp, #8]
	cmp	r3, #1
	ble	.L11
.L5:
	mov	r2, r6
	add	r1, sp, #8
	mov	r0, r4
	bl	AcpiUtCopyIobjectToIobject
	mov	r9, r0
	bl	ACPI_FAILURE
	cmp	r0, #0
	beq	.L10
	mov	r0, r9
	bl	return_ACPI_STATUS
	b	.L10
.L23:
	mov	r0, r9
	bl	return_ACPI_STATUS
	b	.L3
.L22:
	ldr	r3, .L27+12
	ldr	r0, [r3]
	bl	return_ACPI_STATUS
	b	.L2
.L25:
	mov	r0, r8
	bl	ACPI_GET_DESCRIPTOR_TYPE
	ldr	r3, .L27+16
	ldr	r3, [r3]
	cmp	r0, r3
	bne	.L13
	ldr	r3, .L27+20
	ldr	r2, [r8, #12]
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L13
	ldr	r3, .L27+24
	ldr	r2, [r8]
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L13
	mov	r0, r8
	bl	ACPI_DEBUG_PRINT
	ldr	r3, .L27+28
	ldr	r1, [r8, #4]
	ldr	r3, [r3]
	mov	r2, r6
	ldr	r0, [sp, #8]
	bl	AcpiExStoreObjectToNode
	ldr	r3, [sp, #8]
	mov	r8, r0
	cmp	r3, r4
	beq	.L14
	mov	r0, r3
	bl	AcpiUtRemoveReference
.L14:
	mov	r0, r8
	bl	return_ACPI_STATUS
	b	.L13
.L26:
	bl	__stack_chk_fail
.L28:
	.align	2
.L27:
	.word	DsStoreObjectToLocal
	.word	.LC0
	.word	ACPI_REFCLASS_ARG
	.word	AE_BAD_PARAMETER
	.word	ACPI_DESC_TYPE_OPERAND
	.word	ACPI_TYPE_LOCAL_REFERENCE
	.word	ACPI_REFCLASS_REFOF
	.word	ACPI_NO_IMPLICIT_CONVERSION
	.size	AcpiDsStoreObjectToLocal, .-AcpiDsStoreObjectToLocal
	.comm	DsStoreObjectToLocal,4,4
	.comm	AE_BAD_PARAMETER,4,4
	.comm	ACPI_TYPE_LOCAL_REFERENCE,4,4
	.comm	ACPI_REFCLASS_REFOF,4,4
	.comm	ACPI_REFCLASS_ARG,4,4
	.comm	ACPI_NO_IMPLICIT_CONVERSION,4,4
	.comm	ACPI_DESC_TYPE_OPERAND,4,4
	.comm	ACPI_DB_EXEC,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
