	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function acpi_bus_scan_fixed
_acpi_bus_scan_fixed:                   ## @acpi_bus_scan_fixed
	.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	$0, -32(%rbp)
	leaq	-24(%rbp), %rdi
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, -24(%rbp)
	movq	_acpi_gbl_FADT@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	movq	_ACPI_FADT_POWER_BUTTON@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_2
## %bb.1:
	movq	_ACPI_BUS_TYPE_POWER_BUTTON@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ACPI_STA_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-32(%rbp), %rdi
	leaq	-24(%rbp), %r8
	xorl	%esi, %esi
	callq	_acpi_add_single_object
	movl	%eax, %ebx
	movl	(%r14), %eax
LBB0_2:
	movq	_ACPI_FADT_SLEEP_BUTTON@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_4
## %bb.3:
	movq	_ACPI_BUS_TYPE_SLEEP_BUTTON@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ACPI_STA_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-32(%rbp), %rdi
	leaq	-24(%rbp), %r8
	xorl	%esi, %esi
	callq	_acpi_add_single_object
	movl	%eax, %ebx
LBB0_4:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_acpi_gbl_FADT,4,2              ## @acpi_gbl_FADT
	.comm	_ACPI_FADT_POWER_BUTTON,4,2     ## @ACPI_FADT_POWER_BUTTON
	.comm	_ACPI_BUS_TYPE_POWER_BUTTON,4,2 ## @ACPI_BUS_TYPE_POWER_BUTTON
	.comm	_ACPI_STA_DEFAULT,4,2           ## @ACPI_STA_DEFAULT
	.comm	_ACPI_FADT_SLEEP_BUTTON,4,2     ## @ACPI_FADT_SLEEP_BUTTON
	.comm	_ACPI_BUS_TYPE_SLEEP_BUTTON,4,2 ## @ACPI_BUS_TYPE_SLEEP_BUTTON
	.no_dead_strip	_acpi_bus_scan_fixed
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function acpi_bus_scan_fixed
_acpi_bus_scan_fixed:                   ; @acpi_bus_scan_fixed
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	str	xzr, [sp, #8]
	mov	x0, sp
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	movi.2s	v0, #1
Lloh0:
	adrp	x19, _acpi_gbl_FADT@GOTPAGE
Lloh1:
	ldr	x19, [x19, _acpi_gbl_FADT@GOTPAGEOFF]
	str	d0, [sp]
	ldr	w8, [x19]
Lloh2:
	adrp	x9, _ACPI_FADT_POWER_BUTTON@GOTPAGE
Lloh3:
	ldr	x9, [x9, _ACPI_FADT_POWER_BUTTON@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_3
LBB0_2:
Lloh5:
	adrp	x8, _ACPI_BUS_TYPE_POWER_BUTTON@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ACPI_BUS_TYPE_POWER_BUTTON@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
Lloh8:
	adrp	x8, _ACPI_STA_DEFAULT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ACPI_STA_DEFAULT@GOTPAGEOFF]
Lloh10:
	ldr	w3, [x8]
	add	x0, sp, #8
	mov	x4, sp
	mov	x1, #0
	bl	_acpi_add_single_object
	ldr	w8, [x19]
LBB0_3:
Lloh11:
	adrp	x9, _ACPI_FADT_SLEEP_BUTTON@GOTPAGE
Lloh12:
	ldr	x9, [x9, _ACPI_FADT_SLEEP_BUTTON@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_5
; %bb.4:
Lloh14:
	adrp	x8, _ACPI_BUS_TYPE_SLEEP_BUTTON@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ACPI_BUS_TYPE_SLEEP_BUTTON@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
Lloh17:
	adrp	x8, _ACPI_STA_DEFAULT@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ACPI_STA_DEFAULT@GOTPAGEOFF]
Lloh19:
	ldr	w3, [x8]
	add	x0, sp, #8
	mov	x4, sp
	mov	x1, #0
	bl	_acpi_add_single_object
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_acpi_gbl_FADT,4,2              ; @acpi_gbl_FADT
	.comm	_ACPI_FADT_POWER_BUTTON,4,2     ; @ACPI_FADT_POWER_BUTTON
	.comm	_ACPI_BUS_TYPE_POWER_BUTTON,4,2 ; @ACPI_BUS_TYPE_POWER_BUTTON
	.comm	_ACPI_STA_DEFAULT,4,2           ; @ACPI_STA_DEFAULT
	.comm	_ACPI_FADT_SLEEP_BUTTON,4,2     ; @ACPI_FADT_SLEEP_BUTTON
	.comm	_ACPI_BUS_TYPE_SLEEP_BUTTON,4,2 ; @ACPI_BUS_TYPE_SLEEP_BUTTON
	.no_dead_strip	_acpi_bus_scan_fixed
.subsections_via_symbols
