	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function acpi_get_root_from_loader
_acpi_get_root_from_loader:             ## @acpi_get_root_from_loader
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	leaq	L_.str(%rip), %rdi
	leaq	-16(%rbp), %rsi
	callq	_TUNABLE_ULONG_FETCH
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rdi
	leaq	L_.str.2(%rip), %rdx
	xorl	%ebx, %ebx
	leaq	-16(%rbp), %rcx
	xorl	%esi, %esi
	callq	_resource_long_value
	testq	%rax, %rax
	jne	LBB0_3
LBB0_2:
	movq	-16(%rbp), %rbx
LBB0_3:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"acpi.rsdp"

L_.str.1:                               ## @.str.1
	.asciz	"acpi"

L_.str.2:                               ## @.str.2
	.asciz	"rsdp"

	.no_dead_strip	_acpi_get_root_from_loader
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function acpi_get_root_from_loader
_acpi_get_root_from_loader:             ; @acpi_get_root_from_loader
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	add	x1, sp, #8
	bl	_TUNABLE_ULONG_FETCH
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x0, [sp, #8]
	b	LBB0_3
LBB0_2:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
Lloh4:
	adrp	x2, l_.str.2@PAGE
Lloh5:
	add	x2, x2, l_.str.2@PAGEOFF
	add	x3, sp, #8
	mov	w1, #0
	bl	_resource_long_value
	ldr	x8, [sp, #8]
	cmp	x0, #0
	csel	x0, x8, xzr, eq
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"acpi.rsdp"

l_.str.1:                               ; @.str.1
	.asciz	"acpi"

l_.str.2:                               ; @.str.2
	.asciz	"rsdp"

	.no_dead_strip	_acpi_get_root_from_loader
.subsections_via_symbols
