	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_ds_store_object_to_local  ## -- Begin function acpi_ds_store_object_to_local
	.p2align	4, 0x90
_acpi_ds_store_object_to_local:         ## @acpi_ds_store_object_to_local
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rdx, %r14
	movl	%esi, %ebx
	movq	%rdi, %r12
	movq	_ds_store_object_to_local@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ACPI_FUNCTION_TRACE
	movl	%r14d, %edi
	callq	_ACPI_DEBUG_PRINT
	testq	%r14, %r14
	jne	LBB0_2
## %bb.1:
	movq	_AE_BAD_PARAMETER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_return_ACPI_STATUS
LBB0_2:
	leaq	-72(%rbp), %rcx
	movq	%r12, %rdi
	movl	%ebx, -52(%rbp)                 ## 4-byte Spill
	movl	%ebx, %esi
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdx
	callq	_acpi_ds_method_data_get_node
	movl	%eax, %r15d
	movl	%eax, %edi
	callq	_ACPI_FAILURE
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	%r15d, %edi
	callq	_return_ACPI_STATUS
LBB0_4:
	movq	-72(%rbp), %rdi
	callq	_acpi_ns_get_attached_object
	movq	%rax, %r13
	cmpq	%r14, %rax
	jne	LBB0_6
## %bb.5:
	movl	%r14d, %edi
	callq	_ACPI_DEBUG_PRINT
	movl	%r15d, %edi
	callq	_return_ACPI_STATUS
LBB0_6:
	movq	%r14, -48(%rbp)
	cmpl	$2, (%r14)
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	jl	LBB0_9
## %bb.7:
	leaq	-48(%rbp), %rsi
	movq	%r14, %rdi
	movq	%r15, %rdx
	callq	_acpi_ut_copy_iobject_to_iobject
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_ACPI_FAILURE
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movl	%ebx, %edi
	callq	_return_ACPI_STATUS
LBB0_9:
	testq	%r13, %r13
	je	LBB0_18
## %bb.10:
	movq	_ACPI_REFCLASS_ARG@GOTPCREL(%rip), %rax
	cmpq	%r12, (%rax)
	jne	LBB0_17
## %bb.11:
	movq	%r13, %rdi
	callq	_ACPI_GET_DESCRIPTOR_TYPE
	movq	_ACPI_DESC_TYPE_OPERAND@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_17
## %bb.12:
	movq	8(%r13), %rax
	movq	_ACPI_TYPE_LOCAL_REFERENCE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_17
## %bb.13:
	movq	(%r13), %rax
	movq	_ACPI_REFCLASS_REFOF@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_17
## %bb.14:
	movl	%r13d, %edi
	callq	_ACPI_DEBUG_PRINT
	movq	-48(%rbp), %rdi
	movl	8(%r13), %esi
	movq	_ACPI_NO_IMPLICIT_CONVERSION@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdx
	callq	_acpi_ex_store_object_to_node
	movl	%eax, %r15d
	movq	-48(%rbp), %rdi
	cmpq	%r14, %rdi
	je	LBB0_16
## %bb.15:
	callq	_acpi_ut_remove_reference
LBB0_16:
	movl	%r15d, %edi
	callq	_return_ACPI_STATUS
	movq	-64(%rbp), %r15                 ## 8-byte Reload
LBB0_17:
	movq	%r12, %rdi
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	movq	%r15, %rdx
	callq	_acpi_ds_method_data_delete_value
LBB0_18:
	movq	-48(%rbp), %rdx
	movq	%r12, %rdi
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	movq	%r15, %rcx
	callq	_acpi_ds_method_data_set_value
	movl	%eax, %ebx
	movq	-48(%rbp), %rdi
	cmpq	%r14, %rdi
	je	LBB0_20
## %bb.19:
	callq	_acpi_ut_remove_reference
LBB0_20:
	movl	%ebx, %edi
	callq	_return_ACPI_STATUS
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ds_store_object_to_local,4,2   ## @ds_store_object_to_local
	.comm	_ACPI_DB_EXEC,4,2               ## @ACPI_DB_EXEC
	.comm	_AE_BAD_PARAMETER,4,2           ## @AE_BAD_PARAMETER
	.comm	_ACPI_REFCLASS_ARG,8,3          ## @ACPI_REFCLASS_ARG
	.comm	_ACPI_DESC_TYPE_OPERAND,8,3     ## @ACPI_DESC_TYPE_OPERAND
	.comm	_ACPI_TYPE_LOCAL_REFERENCE,8,3  ## @ACPI_TYPE_LOCAL_REFERENCE
	.comm	_ACPI_REFCLASS_REFOF,8,3        ## @ACPI_REFCLASS_REFOF
	.comm	_ACPI_NO_IMPLICIT_CONVERSION,4,2 ## @ACPI_NO_IMPLICIT_CONVERSION
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_ds_store_object_to_local  ; -- Begin function acpi_ds_store_object_to_local
	.p2align	2
_acpi_ds_store_object_to_local:         ; @acpi_ds_store_object_to_local
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x3
	mov	x19, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x8, _ds_store_object_to_local@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ds_store_object_to_local@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_ACPI_FUNCTION_TRACE
	mov	x0, x19
	bl	_ACPI_DEBUG_PRINT
	cbnz	x19, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _AE_BAD_PARAMETER@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AE_BAD_PARAMETER@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_return_ACPI_STATUS
LBB0_2:
	add	x3, sp, #8
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	bl	_acpi_ds_method_data_get_node
	mov	x24, x0
	bl	_ACPI_FAILURE
	cbz	x0, LBB0_4
; %bb.3:
	mov	x0, x24
	bl	_return_ACPI_STATUS
LBB0_4:
	ldr	x0, [sp, #8]
	bl	_acpi_ns_get_attached_object
	mov	x23, x0
	cmp	x0, x19
	b.ne	LBB0_6
; %bb.5:
	mov	x0, x19
	bl	_ACPI_DEBUG_PRINT
	mov	x0, x24
	bl	_return_ACPI_STATUS
LBB0_6:
	str	x19, [sp]
	ldr	w8, [x19]
	cmp	w8, #2
	b.lt	LBB0_9
; %bb.7:
	mov	x1, sp
	mov	x0, x19
	mov	x2, x20
	bl	_acpi_ut_copy_iobject_to_iobject
	mov	x24, x0
	bl	_ACPI_FAILURE
	cbz	x0, LBB0_9
; %bb.8:
	mov	x0, x24
	bl	_return_ACPI_STATUS
LBB0_9:
	cbz	x23, LBB0_18
; %bb.10:
Lloh6:
	adrp	x8, _ACPI_REFCLASS_ARG@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ACPI_REFCLASS_ARG@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x8, x22
	b.ne	LBB0_17
; %bb.11:
	mov	x0, x23
	bl	_ACPI_GET_DESCRIPTOR_TYPE
Lloh9:
	adrp	x8, _ACPI_DESC_TYPE_OPERAND@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ACPI_DESC_TYPE_OPERAND@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_17
; %bb.12:
	ldr	x8, [x23, #8]
Lloh12:
	adrp	x9, _ACPI_TYPE_LOCAL_REFERENCE@GOTPAGE
Lloh13:
	ldr	x9, [x9, _ACPI_TYPE_LOCAL_REFERENCE@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_17
; %bb.13:
	ldr	x8, [x23]
Lloh15:
	adrp	x9, _ACPI_REFCLASS_REFOF@GOTPAGE
Lloh16:
	ldr	x9, [x9, _ACPI_REFCLASS_REFOF@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_17
; %bb.14:
	mov	x0, x23
	bl	_ACPI_DEBUG_PRINT
	ldr	x0, [sp]
	ldr	w1, [x23, #8]
Lloh18:
	adrp	x8, _ACPI_NO_IMPLICIT_CONVERSION@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ACPI_NO_IMPLICIT_CONVERSION@GOTPAGEOFF]
Lloh20:
	ldr	w3, [x8]
	mov	x2, x20
	bl	_acpi_ex_store_object_to_node
	mov	x23, x0
	ldr	x0, [sp]
	cmp	x0, x19
	b.eq	LBB0_16
; %bb.15:
	bl	_acpi_ut_remove_reference
LBB0_16:
	mov	x0, x23
	bl	_return_ACPI_STATUS
LBB0_17:
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	bl	_acpi_ds_method_data_delete_value
LBB0_18:
	ldr	x2, [sp]
	mov	x0, x22
	mov	x1, x21
	mov	x3, x20
	bl	_acpi_ds_method_data_set_value
	mov	x20, x0
	ldr	x0, [sp]
	cmp	x0, x19
	b.eq	LBB0_20
; %bb.19:
	bl	_acpi_ut_remove_reference
LBB0_20:
	mov	x0, x20
	bl	_return_ACPI_STATUS
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_ds_store_object_to_local,4,2   ; @ds_store_object_to_local
	.comm	_ACPI_DB_EXEC,4,2               ; @ACPI_DB_EXEC
	.comm	_AE_BAD_PARAMETER,4,2           ; @AE_BAD_PARAMETER
	.comm	_ACPI_REFCLASS_ARG,8,3          ; @ACPI_REFCLASS_ARG
	.comm	_ACPI_DESC_TYPE_OPERAND,8,3     ; @ACPI_DESC_TYPE_OPERAND
	.comm	_ACPI_TYPE_LOCAL_REFERENCE,8,3  ; @ACPI_TYPE_LOCAL_REFERENCE
	.comm	_ACPI_REFCLASS_REFOF,8,3        ; @ACPI_REFCLASS_REFOF
	.comm	_ACPI_NO_IMPLICIT_CONVERSION,4,2 ; @ACPI_NO_IMPLICIT_CONVERSION
.subsections_via_symbols
