	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_ex_resolve_object         ## -- Begin function acpi_ex_resolve_object
	.p2align	4, 0x90
_acpi_ex_resolve_object:                ## @acpi_ex_resolve_object
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	(%rdi), %r15
	movq	_AE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_ex_resolve_object@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ACPI_FUNCTION_TRACE
	leal	-128(%r14), %eax
	cmpl	$9, %eax
	ja	LBB0_13
## %bb.1:
	movl	$949, %ecx                      ## imm = 0x3B5
	btl	%eax, %ecx
	jae	LBB0_2
## %bb.4:
	movl	(%r15), %eax
	movq	_ACPI_TYPE_LOCAL_REFERENCE@GOTPCREL(%rip), %rsi
	cmpl	(%rsi), %eax
	jne	LBB0_6
## %bb.5:
	movq	%rbx, %rdi
	movq	%rsi, %rbx
	movq	%r12, %rsi
	callq	_acpi_ex_resolve_to_value
	movl	%eax, %r13d
	movl	%eax, %edi
	callq	_ACPI_FAILURE
	movq	%rbx, %rsi
	testl	%eax, %eax
	jne	LBB0_13
LBB0_6:
	movl	(%r12), %eax
	movq	_AML_COPY_OP@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_13
## %bb.7:
	movl	(%r15), %eax
	leal	-128(%rax), %ecx
	cmpl	$9, %ecx
	ja	LBB0_9
## %bb.8:
	movl	$641, %edx                      ## imm = 0x281
	btl	%ecx, %edx
	jb	LBB0_13
LBB0_9:
	cmpl	(%rsi), %eax
	jne	LBB0_11
## %bb.10:
	movq	_ACPI_REFCLASS_TABLE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_13
LBB0_11:
	movq	%r15, %rdi
	callq	_acpi_ut_get_object_type_name
	movl	%r14d, %edi
	callq	_acpi_ut_get_type_name
	movl	%eax, %edi
	movq	_AE_AML_OPERAND_TYPE@GOTPCREL(%rip), %rbx
	jmp	LBB0_12
LBB0_2:
	movl	$72, %ecx
	btl	%eax, %ecx
	jae	LBB0_13
## %bb.3:
	leaq	L_.str.1(%rip), %rdi
	movq	_AE_AML_INTERNAL@GOTPCREL(%rip), %rbx
LBB0_12:
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_ACPI_ERROR
	movl	(%rbx), %r13d
LBB0_13:
	movl	%r13d, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_return_ACPI_STATUS             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AE_OK,4,2                      ## @AE_OK
	.comm	_ex_resolve_object,4,2          ## @ex_resolve_object
	.comm	_ACPI_TYPE_LOCAL_REFERENCE,4,2  ## @ACPI_TYPE_LOCAL_REFERENCE
	.comm	_AML_COPY_OP,4,2                ## @AML_COPY_OP
	.comm	_ACPI_REFCLASS_TABLE,4,2        ## @ACPI_REFCLASS_TABLE
	.comm	_AE_INFO,4,2                    ## @AE_INFO
	.comm	_AE_AML_OPERAND_TYPE,4,2        ## @AE_AML_OPERAND_TYPE
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"Store into an unresolved Alias object"

	.comm	_AE_AML_INTERNAL,4,2            ## @AE_AML_INTERNAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_ex_resolve_object         ; -- Begin function acpi_ex_resolve_object
	.p2align	2
_acpi_ex_resolve_object:                ; @acpi_ex_resolve_object
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x22, x2
	mov	x20, x1
	mov	x23, x0
	ldr	x21, [x0]
Lloh0:
	adrp	x8, _AE_OK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AE_OK@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
Lloh3:
	adrp	x8, _ex_resolve_object@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ex_resolve_object@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_ACPI_FUNCTION_TRACE
	sub	w8, w20, #128
	cmp	w8, #9
	b.hi	LBB0_11
; %bb.1:
	mov	w9, #1
	lsl	w8, w9, w8
	mov	w9, #949
	tst	w8, w9
	b.eq	LBB0_8
; %bb.2:
	ldr	w8, [x21]
Lloh6:
	adrp	x24, _ACPI_TYPE_LOCAL_REFERENCE@GOTPAGE
Lloh7:
	ldr	x24, [x24, _ACPI_TYPE_LOCAL_REFERENCE@GOTPAGEOFF]
	ldr	w9, [x24]
	cmp	w8, w9
	b.ne	LBB0_4
; %bb.3:
	mov	x0, x23
	mov	x1, x22
	bl	_acpi_ex_resolve_to_value
	mov	x19, x0
	bl	_ACPI_FAILURE
	cbnz	w0, LBB0_11
LBB0_4:
	ldr	w8, [x22]
Lloh8:
	adrp	x9, _AML_COPY_OP@GOTPAGE
Lloh9:
	ldr	x9, [x9, _AML_COPY_OP@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_11
; %bb.5:
	ldr	w8, [x21]
	sub	w9, w8, #128
	cmp	w9, #9
	mov	w10, #1
	lsl	w9, w10, w9
	mov	w10, #641
	and	w9, w9, w10
	ccmp	w9, #0, #4, ls
	b.ne	LBB0_11
; %bb.6:
	ldr	w9, [x24]
Lloh11:
	adrp	x10, _ACPI_REFCLASS_TABLE@GOTPAGE
Lloh12:
	ldr	x10, [x10, _ACPI_REFCLASS_TABLE@GOTPAGEOFF]
Lloh13:
	ldr	w10, [x10]
	cmp	w8, w9
	ccmp	w8, w10, #0, eq
	b.eq	LBB0_11
; %bb.7:
	mov	x0, x21
	bl	_acpi_ut_get_object_type_name
	mov	x0, x20
	bl	_acpi_ut_get_type_name
                                        ; kill: def $w0 killed $w0 def $x0
Lloh14:
	adrp	x19, _AE_AML_OPERAND_TYPE@GOTPAGE
Lloh15:
	ldr	x19, [x19, _AE_AML_OPERAND_TYPE@GOTPAGEOFF]
	b	LBB0_10
LBB0_8:
	mov	w9, #72
	tst	w8, w9
	b.eq	LBB0_11
; %bb.9:
Lloh16:
	adrp	x0, l_.str.1@PAGE
Lloh17:
	add	x0, x0, l_.str.1@PAGEOFF
Lloh18:
	adrp	x19, _AE_AML_INTERNAL@GOTPAGE
Lloh19:
	ldr	x19, [x19, _AE_AML_INTERNAL@GOTPAGEOFF]
LBB0_10:
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_ACPI_ERROR
	ldr	w19, [x19]
LBB0_11:
	mov	x0, x19
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_return_ACPI_STATUS
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_AE_OK,4,2                      ; @AE_OK
	.comm	_ex_resolve_object,4,2          ; @ex_resolve_object
	.comm	_ACPI_TYPE_LOCAL_REFERENCE,4,2  ; @ACPI_TYPE_LOCAL_REFERENCE
	.comm	_AML_COPY_OP,4,2                ; @AML_COPY_OP
	.comm	_ACPI_REFCLASS_TABLE,4,2        ; @ACPI_REFCLASS_TABLE
	.comm	_AE_INFO,4,2                    ; @AE_INFO
	.comm	_AE_AML_OPERAND_TYPE,4,2        ; @AE_AML_OPERAND_TYPE
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"Store into an unresolved Alias object"

	.comm	_AE_AML_INTERNAL,4,2            ; @AE_AML_INTERNAL
.subsections_via_symbols
