	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_evaluate_integer          ## -- Begin function acpi_evaluate_integer
	.p2align	4, 0x90
_acpi_evaluate_integer:                 ## @acpi_evaluate_integer
	.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	$48, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -64(%rbp)
	movaps	%xmm0, -80(%rbp)
	testq	%rcx, %rcx
	je	LBB0_1
## %bb.2:
	movq	%rcx, %r12
	movl	%esi, %r14d
	movl	%edi, %r15d
	movl	$8, -80(%rbp)
	leaq	-40(%rbp), %rax
	movq	%rax, -72(%rbp)
	leaq	-80(%rbp), %rcx
	callq	_acpi_evaluate_object
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_ACPI_FAILURE
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	%r15d, %edi
	movl	%r14d, %esi
	movl	%ebx, %edx
	callq	_acpi_util_eval_error
	jmp	LBB0_8
LBB0_1:
	movq	_AE_BAD_PARAMETER@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_4:
	movq	-40(%rbp), %rdi
	movq	_ACPI_TYPE_INTEGER@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdi
	jne	LBB0_5
## %bb.6:
	movq	%rdi, (%r12)
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_ACPI_DEBUG_PRINT
	movq	_AE_OK@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %ebx
	jmp	LBB0_8
LBB0_5:
	movq	_AE_BAD_DATA@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movl	%r15d, %edi
	movl	%r14d, %esi
	callq	_acpi_util_eval_error
	movl	(%rbx), %ebx
LBB0_8:
	movl	%ebx, %eax
	addq	$48, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AE_OK,4,2                      ## @AE_OK
	.comm	_AE_BAD_PARAMETER,4,2           ## @AE_BAD_PARAMETER
	.comm	_ACPI_TYPE_INTEGER,8,3          ## @ACPI_TYPE_INTEGER
	.comm	_AE_BAD_DATA,4,2                ## @AE_BAD_DATA
	.comm	_ACPI_DB_INFO,4,2               ## @ACPI_DB_INFO
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_evaluate_integer          ; -- Begin function acpi_evaluate_integer
	.p2align	2
_acpi_evaluate_integer:                 ; @acpi_evaluate_integer
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [sp]
	cbz	x3, LBB0_3
; %bb.1:
	mov	x21, x3
	mov	x19, x1
	mov	x20, x0
	mov	w8, #8
	str	w8, [sp]
	add	x8, sp, #40
	str	x8, [sp, #8]
	mov	x3, sp
	bl	_acpi_evaluate_object
	mov	x22, x0
	bl	_ACPI_FAILURE
	cbz	x0, LBB0_4
; %bb.2:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x22
	bl	_acpi_util_eval_error
	b	LBB0_8
LBB0_3:
Lloh0:
	adrp	x8, _AE_BAD_PARAMETER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AE_BAD_PARAMETER@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:
	ldr	x0, [sp, #40]
Lloh2:
	adrp	x8, _ACPI_TYPE_INTEGER@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ACPI_TYPE_INTEGER@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_7
; %bb.5:
	str	x0, [x21]
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_ACPI_DEBUG_PRINT
Lloh5:
	adrp	x8, _AE_OK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AE_OK@GOTPAGEOFF]
LBB0_6:
	ldr	w22, [x8]
	b	LBB0_8
LBB0_7:
Lloh7:
	adrp	x21, _AE_BAD_DATA@GOTPAGE
Lloh8:
	ldr	x21, [x21, _AE_BAD_DATA@GOTPAGEOFF]
	ldr	w2, [x21]
	mov	x0, x20
	mov	x1, x19
	bl	_acpi_util_eval_error
	ldr	w22, [x21]
LBB0_8:
	mov	x0, x22
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_AE_OK,4,2                      ; @AE_OK
	.comm	_AE_BAD_PARAMETER,4,2           ; @AE_BAD_PARAMETER
	.comm	_ACPI_TYPE_INTEGER,8,3          ; @ACPI_TYPE_INTEGER
	.comm	_AE_BAD_DATA,4,2                ; @AE_BAD_DATA
	.comm	_ACPI_DB_INFO,4,2               ; @ACPI_DB_INFO
.subsections_via_symbols
