	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function acpi_scan_rsd_ptr
_acpi_scan_rsd_ptr:                     ## @acpi_scan_rsd_ptr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_ACPI_EBDA_PTR_LOCATION@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ecx, -20(%rbp)
	movq	_acpi_mem_fd@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-20(%rbp), %rsi
	movl	$4, %edx
	callq	_pread
	movq	_ACPI_EBDA_WINDOW_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	testl	%r14d, %r14d
	jle	LBB0_4
## %bb.1:
	movl	-20(%rbp), %ebx
	shll	$4, %ebx
	addl	%ebx, %r14d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_acpi_get_rsdp
	testq	%rax, %rax
	jne	LBB0_9
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	addl	$16, %ebx
	cmpl	%r14d, %ebx
	jl	LBB0_2
LBB0_4:
	movq	_ACPI_HI_RSDP_WINDOW_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	testl	%r14d, %r14d
	jle	LBB0_8
## %bb.5:
	movq	_ACPI_HI_RSDP_WINDOW_BASE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	addl	%ebx, %r14d
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_acpi_get_rsdp
	testq	%rax, %rax
	jne	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	addl	$16, %ebx
	cmpl	%r14d, %ebx
	jl	LBB0_6
LBB0_8:
	xorl	%eax, %eax
LBB0_9:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ACPI_EBDA_PTR_LOCATION,4,2     ## @ACPI_EBDA_PTR_LOCATION
	.comm	_acpi_mem_fd,4,2                ## @acpi_mem_fd
	.comm	_ACPI_EBDA_WINDOW_SIZE,4,2      ## @ACPI_EBDA_WINDOW_SIZE
	.comm	_ACPI_HI_RSDP_WINDOW_BASE,4,2   ## @ACPI_HI_RSDP_WINDOW_BASE
	.comm	_ACPI_HI_RSDP_WINDOW_SIZE,4,2   ## @ACPI_HI_RSDP_WINDOW_SIZE
	.no_dead_strip	_acpi_scan_rsd_ptr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function acpi_scan_rsd_ptr
_acpi_scan_rsd_ptr:                     ; @acpi_scan_rsd_ptr
	.cfi_startproc
; %bb.0:
	mov	x0, #0
	ret
	.cfi_endproc
                                        ; -- End function
	.comm	_ACPI_EBDA_PTR_LOCATION,4,2     ; @ACPI_EBDA_PTR_LOCATION
	.comm	_ACPI_EBDA_WINDOW_SIZE,4,2      ; @ACPI_EBDA_WINDOW_SIZE
	.comm	_ACPI_HI_RSDP_WINDOW_BASE,4,2   ; @ACPI_HI_RSDP_WINDOW_BASE
	.comm	_ACPI_HI_RSDP_WINDOW_SIZE,4,2   ; @ACPI_HI_RSDP_WINDOW_SIZE
	.comm	_acpi_mem_fd,4,2                ; @acpi_mem_fd
	.no_dead_strip	_acpi_scan_rsd_ptr
.subsections_via_symbols
