	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function acpi_ex_resolve_object_to_value
_acpi_ex_resolve_object_to_value:       ## @acpi_ex_resolve_object_to_value
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	_AE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	$0, -40(%rbp)
	movq	_ex_resolve_object_to_value@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ACPI_FUNCTION_TRACE
	movq	(%r15), %rbx
	movl	(%rbx), %edi
	leal	-128(%rdi), %eax
	cmpl	$6, %eax
	ja	LBB0_24
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_22:
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_ACPI_DEBUG_PRINT
	leaq	-40(%rbp), %rdx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_acpi_ex_read_data_from_field
	movl	%eax, %r14d
	movq	(%r15), %rdi
LBB0_23:
	callq	_acpi_ut_remove_reference
	movq	-40(%rbp), %rax
	movq	%rax, (%r15)
LBB0_24:
	movl	%r14d, %edi
	callq	_return_ACPI_STATUS
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_21:
	movq	%rbx, %rdi
	callq	_acpi_ds_get_package_arguments
	movl	%eax, %r14d
	jmp	LBB0_24
LBB0_2:
	movl	28(%rbx), %edi
	leal	-135(%rdi), %eax
	cmpl	$6, %eax
	ja	LBB0_19
## %bb.3:
	leaq	LJTI0_1(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_4:
	movl	24(%rbx), %esi
	leaq	-40(%rbp), %rcx
                                        ## kill: def $edi killed $edi killed $rdi
	movq	%r12, %rdx
	callq	_acpi_ds_method_data_get_value
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_ACPI_FAILURE
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	movl	%r14d, %edi
	callq	_return_ACPI_STATUS
LBB0_6:
	movl	-40(%rbp), %edi
	callq	_ACPI_DEBUG_PRINT
	movq	%rbx, %rdi
	jmp	LBB0_23
LBB0_20:
	movq	%rbx, %rdi
	callq	_acpi_ds_get_buffer_arguments
	movl	%eax, %r14d
	jmp	LBB0_24
LBB0_14:
	movq	(%rbx), %rax
	movl	8(%rax), %ecx
	movq	_ACPI_TYPE_DEVICE@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	je	LBB0_16
## %bb.15:
	movq	_ACPI_TYPE_THERMAL@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	je	LBB0_16
## %bb.17:
	movq	(%rax), %rdi
	movq	%rdi, (%r15)
	callq	_acpi_ut_add_reference
	jmp	LBB0_18
LBB0_7:
	movl	8(%rbx), %eax
	cmpl	$133, %eax
	je	LBB0_24
## %bb.8:
	cmpl	$128, %eax
	jne	LBB0_19
## %bb.9:
	movl	(%r12), %eax
	movq	_AML_INT_METHODCALL_OP@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_24
## %bb.10:
	movq	_AML_COPY_OP@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_24
## %bb.11:
	movq	16(%rbx), %rax
	movq	(%rax), %r12
	movq	%r12, -40(%rbp)
	testq	%r12, %r12
	je	LBB0_13
## %bb.12:
	movq	%rbx, %rdi
	callq	_acpi_ut_remove_reference
	movq	%r12, %rdi
	callq	_acpi_ut_add_reference
	movq	%r12, (%r15)
	jmp	LBB0_24
LBB0_19:
	movl	%ebx, %edi
	callq	_ACPI_ERROR
	movq	_AE_AML_INTERNAL@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	jmp	LBB0_24
LBB0_16:
	movq	%rax, (%r15)
LBB0_18:
	movq	%rbx, %rdi
	callq	_acpi_ut_remove_reference
	jmp	LBB0_24
LBB0_13:
	movl	%ebx, %edi
	callq	_ACPI_ERROR
	movq	_AE_AML_UNINITIALIZED_ELEMENT@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	jmp	LBB0_24
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_21, LBB0_21-LJTI0_0
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
LJTI0_0:
	.long	L0_0_set_21
	.long	L0_0_set_22
	.long	L0_0_set_2
	.long	L0_0_set_22
	.long	L0_0_set_22
	.long	L0_0_set_22
	.long	L0_0_set_20
.set L0_1_set_24, LBB0_24-LJTI0_1
.set L0_1_set_14, LBB0_14-LJTI0_1
.set L0_1_set_4, LBB0_4-LJTI0_1
.set L0_1_set_7, LBB0_7-LJTI0_1
LJTI0_1:
	.long	L0_1_set_24
	.long	L0_1_set_24
	.long	L0_1_set_14
	.long	L0_1_set_4
	.long	L0_1_set_7
	.long	L0_1_set_24
	.long	L0_1_set_4
	.end_data_region
                                        ## -- End function
	.comm	_AE_OK,4,2                      ## @AE_OK
	.comm	_ex_resolve_object_to_value,4,2 ## @ex_resolve_object_to_value
	.comm	_ACPI_DB_EXEC,4,2               ## @ACPI_DB_EXEC
	.comm	_AML_INT_METHODCALL_OP,4,2      ## @AML_INT_METHODCALL_OP
	.comm	_AML_COPY_OP,4,2                ## @AML_COPY_OP
	.comm	_AE_INFO,4,2                    ## @AE_INFO
	.comm	_AE_AML_UNINITIALIZED_ELEMENT,4,2 ## @AE_AML_UNINITIALIZED_ELEMENT
	.comm	_AE_AML_INTERNAL,4,2            ## @AE_AML_INTERNAL
	.comm	_ACPI_TYPE_DEVICE,4,2           ## @ACPI_TYPE_DEVICE
	.comm	_ACPI_TYPE_THERMAL,4,2          ## @ACPI_TYPE_THERMAL
	.no_dead_strip	_acpi_ex_resolve_object_to_value
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function acpi_ex_resolve_object_to_value
_acpi_ex_resolve_object_to_value:       ; @acpi_ex_resolve_object_to_value
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x22, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _AE_OK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AE_OK@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
	str	xzr, [sp, #8]
Lloh3:
	adrp	x8, _ex_resolve_object_to_value@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ex_resolve_object_to_value@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_ACPI_FUNCTION_TRACE
	ldr	x21, [x20]
	ldr	w0, [x21]
	sub	w8, w0, #128
	cmp	w8, #6
	b.hi	LBB0_4
; %bb.1:
Lloh6:
	adrp	x9, lJTI0_0@PAGE
Lloh7:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	bl	_ACPI_DEBUG_PRINT
	add	x2, sp, #8
	mov	x0, x22
	mov	x1, x21
	bl	_acpi_ex_read_data_from_field
	mov	x19, x0
	ldr	x0, [x20]
LBB0_3:
	bl	_acpi_ut_remove_reference
	ldr	x8, [sp, #8]
	str	x8, [x20]
LBB0_4:
	mov	x0, x19
	bl	_return_ACPI_STATUS
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_5:
	ldr	w0, [x21, #28]
	sub	w8, w0, #135
	cmp	w8, #6
	b.hi	LBB0_19
; %bb.6:
Lloh8:
	adrp	x9, lJTI0_1@PAGE
Lloh9:
	add	x9, x9, lJTI0_1@PAGEOFF
	adr	x10, LBB0_4
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_7:
	ldr	w1, [x21, #24]
	add	x3, sp, #8
	mov	x2, x22
	bl	_acpi_ds_method_data_get_value
	mov	x19, x0
	bl	_ACPI_FAILURE
	cbz	w0, LBB0_9
; %bb.8:
	mov	x0, x19
	bl	_return_ACPI_STATUS
LBB0_9:
	ldr	w0, [sp, #8]
	bl	_ACPI_DEBUG_PRINT
	mov	x0, x21
	b	LBB0_3
LBB0_10:
	mov	x0, x21
	bl	_acpi_ds_get_buffer_arguments
	mov	x19, x0
	b	LBB0_4
LBB0_11:
	mov	x0, x21
	bl	_acpi_ds_get_package_arguments
	mov	x19, x0
	b	LBB0_4
LBB0_12:
	ldr	x8, [x21]
	ldr	w9, [x8, #8]
Lloh10:
	adrp	x10, _ACPI_TYPE_DEVICE@GOTPAGE
Lloh11:
	ldr	x10, [x10, _ACPI_TYPE_DEVICE@GOTPAGEOFF]
Lloh12:
	ldr	w10, [x10]
Lloh13:
	adrp	x11, _ACPI_TYPE_THERMAL@GOTPAGE
Lloh14:
	ldr	x11, [x11, _ACPI_TYPE_THERMAL@GOTPAGEOFF]
Lloh15:
	ldr	w11, [x11]
	cmp	w9, w10
	ccmp	w9, w11, #4, ne
	b.ne	LBB0_20
; %bb.13:
	str	x8, [x20]
	b	LBB0_21
LBB0_14:
	ldr	w8, [x21, #8]
	cmp	w8, #133
	b.eq	LBB0_4
; %bb.15:
	cmp	w8, #128
	b.ne	LBB0_19
; %bb.16:
	ldr	w8, [x22]
Lloh16:
	adrp	x9, _AML_INT_METHODCALL_OP@GOTPAGE
Lloh17:
	ldr	x9, [x9, _AML_INT_METHODCALL_OP@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
Lloh19:
	adrp	x10, _AML_COPY_OP@GOTPAGE
Lloh20:
	ldr	x10, [x10, _AML_COPY_OP@GOTPAGEOFF]
Lloh21:
	ldr	w10, [x10]
	cmp	w8, w9
	ccmp	w8, w10, #4, ne
	b.eq	LBB0_4
; %bb.17:
	ldr	x8, [x21, #16]
	ldr	x22, [x8]
	str	x22, [sp, #8]
	cbz	x22, LBB0_22
; %bb.18:
	mov	x0, x21
	bl	_acpi_ut_remove_reference
	mov	x0, x22
	bl	_acpi_ut_add_reference
	str	x22, [x20]
	b	LBB0_4
LBB0_19:
	mov	x0, x21
	bl	_ACPI_ERROR
Lloh22:
	adrp	x8, _AE_AML_INTERNAL@GOTPAGE
Lloh23:
	ldr	x8, [x8, _AE_AML_INTERNAL@GOTPAGEOFF]
Lloh24:
	ldr	w19, [x8]
	b	LBB0_4
LBB0_20:
	ldr	x0, [x8]
	str	x0, [x20]
	bl	_acpi_ut_add_reference
LBB0_21:
	mov	x0, x21
	bl	_acpi_ut_remove_reference
	b	LBB0_4
LBB0_22:
	mov	x0, x21
	bl	_ACPI_ERROR
Lloh25:
	adrp	x8, _AE_AML_UNINITIALIZED_ELEMENT@GOTPAGE
Lloh26:
	ldr	x8, [x8, _AE_AML_UNINITIALIZED_ELEMENT@GOTPAGEOFF]
Lloh27:
	ldr	w19, [x8]
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_11-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
lJTI0_1:
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_12-LBB0_4)>>2
	.byte	(LBB0_7-LBB0_4)>>2
	.byte	(LBB0_14-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_7-LBB0_4)>>2
                                        ; -- End function
	.comm	_AE_OK,4,2                      ; @AE_OK
	.comm	_ex_resolve_object_to_value,4,2 ; @ex_resolve_object_to_value
	.comm	_ACPI_DB_EXEC,4,2               ; @ACPI_DB_EXEC
	.comm	_AML_INT_METHODCALL_OP,4,2      ; @AML_INT_METHODCALL_OP
	.comm	_AML_COPY_OP,4,2                ; @AML_COPY_OP
	.comm	_AE_INFO,4,2                    ; @AE_INFO
	.comm	_AE_AML_UNINITIALIZED_ELEMENT,4,2 ; @AE_AML_UNINITIALIZED_ELEMENT
	.comm	_AE_AML_INTERNAL,4,2            ; @AE_AML_INTERNAL
	.comm	_ACPI_TYPE_DEVICE,4,2           ; @ACPI_TYPE_DEVICE
	.comm	_ACPI_TYPE_THERMAL,4,2          ; @ACPI_TYPE_THERMAL
	.no_dead_strip	_acpi_ex_resolve_object_to_value
.subsections_via_symbols
