	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_evaluate_object_typed     ## -- Begin function acpi_evaluate_object_typed
	.p2align	4, 0x90
_acpi_evaluate_object_typed:            ## @acpi_evaluate_object_typed
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %rbx
	movq	%rcx, %r14
	movq	%rdx, %r15
	movl	%esi, %r12d
	movl	%edi, %r13d
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	leaq	_acpi_evaluate_object_typed(%rip), %rdi
	callq	_ACPI_FUNCTION_TRACE
	testq	%r14, %r14
	jne	LBB0_2
## %bb.1:
	movq	_AE_BAD_PARAMETER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_return_ACPI_STATUS
LBB0_2:
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	(%r14), %rax
	movq	_ACPI_ALLOCATE_BUFFER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.3:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
LBB0_4:
	movl	%r13d, %edi
	movl	%r12d, %esi
	movq	%r15, %rdx
	movq	%r14, %rcx
	callq	_acpi_evaluate_object
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_ACPI_FAILURE
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movl	%ebx, %edi
	callq	_return_ACPI_STATUS
LBB0_6:
	movq	_ACPI_TYPE_ANY@GOTPCREL(%rip), %rax
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	cmpq	%rbx, (%rax)
	jne	LBB0_8
## %bb.7:
	movq	_AE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_return_ACPI_STATUS
LBB0_8:
	cmpq	$0, (%r14)
	jne	LBB0_10
## %bb.9:
	leaq	L_.str(%rip), %rdi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_ACPI_ERROR
	movq	_AE_NULL_OBJECT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_return_ACPI_STATUS
LBB0_10:
	movq	8(%r14), %rax
	movq	(%rax), %rdi
	cmpq	%rbx, %rdi
	jne	LBB0_12
## %bb.11:
	movq	_AE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_return_ACPI_STATUS
	movq	8(%r14), %rax
	movq	(%rax), %rdi
LBB0_12:
	callq	_acpi_ut_get_type_name
	movq	%rbx, %rdi
	callq	_acpi_ut_get_type_name
	movl	%eax, %edi
	callq	_ACPI_ERROR
	cmpq	$0, -48(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_14
## %bb.13:
	movq	8(%r14), %rdi
	callq	_ACPI_FREE
	movq	$0, 8(%r14)
LBB0_14:
	movq	$0, (%r14)
	movq	_AE_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_return_ACPI_STATUS             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,8,3                      ## @FALSE
	.comm	_AE_BAD_PARAMETER,4,2           ## @AE_BAD_PARAMETER
	.comm	_ACPI_ALLOCATE_BUFFER,8,3       ## @ACPI_ALLOCATE_BUFFER
	.comm	_TRUE,8,3                       ## @TRUE
	.comm	_ACPI_TYPE_ANY,8,3              ## @ACPI_TYPE_ANY
	.comm	_AE_OK,4,2                      ## @AE_OK
	.comm	_AE_INFO,4,2                    ## @AE_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"No return value"

	.comm	_AE_NULL_OBJECT,4,2             ## @AE_NULL_OBJECT
	.comm	_AE_TYPE,4,2                    ## @AE_TYPE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_evaluate_object_typed     ; -- Begin function acpi_evaluate_object_typed
	.p2align	2
_acpi_evaluate_object_typed:            ; @acpi_evaluate_object_typed
	.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	x20, x4
	mov	x19, x3
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
Lloh0:
	adrp	x8, _FALSE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh2:
	ldr	x24, [x8]
Lloh3:
	adrp	x0, _acpi_evaluate_object_typed@PAGE
Lloh4:
	add	x0, x0, _acpi_evaluate_object_typed@PAGEOFF
	bl	_ACPI_FUNCTION_TRACE
	cbnz	x19, LBB0_2
; %bb.1:
Lloh5:
	adrp	x8, _AE_BAD_PARAMETER@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AE_BAD_PARAMETER@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_return_ACPI_STATUS
LBB0_2:
	ldr	x8, [x19]
Lloh8:
	adrp	x9, _ACPI_ALLOCATE_BUFFER@GOTPAGE
Lloh9:
	ldr	x9, [x9, _ACPI_ALLOCATE_BUFFER@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
Lloh11:
	adrp	x10, _TRUE@GOTPAGE
Lloh12:
	ldr	x10, [x10, _TRUE@GOTPAGEOFF]
Lloh13:
	ldr	x10, [x10]
	cmp	x8, x9
	csel	x24, x10, x24, eq
	mov	x0, x23
	mov	x1, x22
	mov	x2, x21
	mov	x3, x19
	bl	_acpi_evaluate_object
	mov	x21, x0
	bl	_ACPI_FAILURE
	cbz	x0, LBB0_4
; %bb.3:
	mov	x0, x21
	bl	_return_ACPI_STATUS
LBB0_4:
Lloh14:
	adrp	x8, _ACPI_TYPE_ANY@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ACPI_TYPE_ANY@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	cmp	x8, x20
	b.ne	LBB0_6
; %bb.5:
Lloh17:
	adrp	x8, _AE_OK@GOTPAGE
Lloh18:
	ldr	x8, [x8, _AE_OK@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	bl	_return_ACPI_STATUS
LBB0_6:
	ldr	x8, [x19]
	cbnz	x8, LBB0_8
; %bb.7:
Lloh20:
	adrp	x0, l_.str@PAGE
Lloh21:
	add	x0, x0, l_.str@PAGEOFF
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_ACPI_ERROR
Lloh22:
	adrp	x8, _AE_NULL_OBJECT@GOTPAGE
Lloh23:
	ldr	x8, [x8, _AE_NULL_OBJECT@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
	bl	_return_ACPI_STATUS
LBB0_8:
	ldr	x8, [x19, #8]
	ldr	x0, [x8]
	cmp	x0, x20
	b.ne	LBB0_10
; %bb.9:
Lloh25:
	adrp	x8, _AE_OK@GOTPAGE
Lloh26:
	ldr	x8, [x8, _AE_OK@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
	bl	_return_ACPI_STATUS
	ldr	x8, [x19, #8]
	ldr	x0, [x8]
LBB0_10:
	bl	_acpi_ut_get_type_name
	mov	x0, x20
	bl	_acpi_ut_get_type_name
	bl	_ACPI_ERROR
	cbz	x24, LBB0_12
; %bb.11:
	ldr	x0, [x19, #8]
	bl	_ACPI_FREE
	str	xzr, [x19, #8]
LBB0_12:
	str	xzr, [x19]
Lloh28:
	adrp	x8, _AE_TYPE@GOTPAGE
Lloh29:
	ldr	x8, [x8, _AE_TYPE@GOTPAGEOFF]
Lloh30:
	ldr	w0, [x8]
	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 AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,8,3                      ; @FALSE
	.comm	_AE_BAD_PARAMETER,4,2           ; @AE_BAD_PARAMETER
	.comm	_ACPI_ALLOCATE_BUFFER,8,3       ; @ACPI_ALLOCATE_BUFFER
	.comm	_TRUE,8,3                       ; @TRUE
	.comm	_ACPI_TYPE_ANY,8,3              ; @ACPI_TYPE_ANY
	.comm	_AE_OK,4,2                      ; @AE_OK
	.comm	_AE_INFO,4,2                    ; @AE_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"No return value"

	.comm	_AE_NULL_OBJECT,4,2             ; @AE_NULL_OBJECT
	.comm	_AE_TYPE,4,2                    ; @AE_TYPE
.subsections_via_symbols
