	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function acpi_bus_get_flags
_acpi_bus_get_flags:                    ## @acpi_bus_get_flags
	.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	%rdi, %r14
	movq	$0, -24(%rbp)
	movl	24(%rdi), %edi
	leaq	L_.str(%rip), %rsi
	leaq	-24(%rbp), %rdx
	callq	_acpi_get_handle
	movl	%eax, %edi
	callq	_ACPI_SUCCESS
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	$1, (%r14)
LBB0_2:
	movl	24(%r14), %edi
	leaq	L_.str.1(%rip), %rsi
	leaq	-24(%rbp), %rdx
	callq	_acpi_get_handle
	movl	%eax, %edi
	callq	_ACPI_SUCCESS
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	$1, 4(%r14)
LBB0_4:
	movl	24(%r14), %edi
	leaq	L_.str.2(%rip), %rsi
	leaq	-24(%rbp), %rdx
	callq	_acpi_get_handle
	movl	%eax, %edi
	callq	_ACPI_SUCCESS
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:
	movl	24(%r14), %edi
	leaq	L_.str.3(%rip), %rsi
	leaq	-24(%rbp), %rdx
	callq	_acpi_get_handle
	movl	%eax, %edi
	callq	_ACPI_SUCCESS
	testq	%rax, %rax
	je	LBB0_7
LBB0_6:
	movl	$1, 8(%r14)
LBB0_7:
	movl	24(%r14), %edi
	leaq	L_.str.4(%rip), %rsi
	leaq	-24(%rbp), %rdx
	callq	_acpi_get_handle
	movl	%eax, %edi
	callq	_ACPI_SUCCESS
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movl	$1, 12(%r14)
LBB0_9:
	movl	24(%r14), %edi
	leaq	L_.str.5(%rip), %rsi
	leaq	-24(%rbp), %rdx
	callq	_acpi_get_handle
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_ACPI_FAILURE
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movl	24(%r14), %edi
	leaq	L_.str.6(%rip), %rsi
	leaq	-24(%rbp), %rdx
	callq	_acpi_get_handle
	movl	%eax, %ebx
LBB0_11:
	movl	%ebx, %edi
	callq	_ACPI_SUCCESS
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movl	$1, 16(%r14)
LBB0_13:
	movl	24(%r14), %edi
	leaq	L_.str.7(%rip), %rsi
	leaq	-24(%rbp), %rdx
	callq	_acpi_get_handle
	movl	%eax, %edi
	callq	_ACPI_SUCCESS
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:
	movl	$1, 20(%r14)
LBB0_15:
	xorl	%eax, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AE_OK,4,2                      ## @AE_OK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"_STA"

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

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

L_.str.3:                               ## @.str.3
	.asciz	"_EJ0"

L_.str.4:                               ## @.str.4
	.asciz	"_LCK"

L_.str.5:                               ## @.str.5
	.asciz	"_PS0"

L_.str.6:                               ## @.str.6
	.asciz	"_PR0"

L_.str.7:                               ## @.str.7
	.asciz	"_PRW"

	.no_dead_strip	_acpi_bus_get_flags
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function acpi_bus_get_flags
_acpi_bus_get_flags:                    ; @acpi_bus_get_flags
	.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
	mov	x19, x0
	str	xzr, [sp, #8]
	ldr	w0, [x0, #24]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #8
	bl	_acpi_get_handle
	bl	_ACPI_SUCCESS
	cbz	x0, LBB0_2
; %bb.1:
	mov	w8, #1
	str	w8, [x19]
LBB0_2:
	ldr	w0, [x19, #24]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x2, sp, #8
	bl	_acpi_get_handle
	bl	_ACPI_SUCCESS
	cbz	x0, LBB0_4
; %bb.3:
	mov	w8, #1
	str	w8, [x19, #4]
LBB0_4:
	ldr	w0, [x19, #24]
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x2, sp, #8
	bl	_acpi_get_handle
	bl	_ACPI_SUCCESS
	cbnz	x0, LBB0_6
; %bb.5:
	ldr	w0, [x19, #24]
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	add	x2, sp, #8
	bl	_acpi_get_handle
	bl	_ACPI_SUCCESS
	cbz	x0, LBB0_7
LBB0_6:
	mov	w8, #1
	str	w8, [x19, #8]
LBB0_7:
	ldr	w0, [x19, #24]
Lloh8:
	adrp	x1, l_.str.4@PAGE
Lloh9:
	add	x1, x1, l_.str.4@PAGEOFF
	add	x2, sp, #8
	bl	_acpi_get_handle
	bl	_ACPI_SUCCESS
	cbz	x0, LBB0_9
; %bb.8:
	mov	w8, #1
	str	w8, [x19, #12]
LBB0_9:
	ldr	w0, [x19, #24]
Lloh10:
	adrp	x1, l_.str.5@PAGE
Lloh11:
	add	x1, x1, l_.str.5@PAGEOFF
	add	x2, sp, #8
	bl	_acpi_get_handle
	mov	x20, x0
	bl	_ACPI_FAILURE
	cbz	x0, LBB0_11
; %bb.10:
	ldr	w0, [x19, #24]
Lloh12:
	adrp	x1, l_.str.6@PAGE
Lloh13:
	add	x1, x1, l_.str.6@PAGEOFF
	add	x2, sp, #8
	bl	_acpi_get_handle
	mov	x20, x0
LBB0_11:
	mov	x0, x20
	bl	_ACPI_SUCCESS
	cbz	x0, LBB0_13
; %bb.12:
	mov	w8, #1
	str	w8, [x19, #16]
LBB0_13:
	ldr	w0, [x19, #24]
Lloh14:
	adrp	x1, l_.str.7@PAGE
Lloh15:
	add	x1, x1, l_.str.7@PAGEOFF
	add	x2, sp, #8
	bl	_acpi_get_handle
	bl	_ACPI_SUCCESS
	cbz	x0, LBB0_15
; %bb.14:
	mov	w8, #1
	str	w8, [x19, #20]
LBB0_15:
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_AE_OK,4,2                      ; @AE_OK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"_STA"

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

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

l_.str.3:                               ; @.str.3
	.asciz	"_EJ0"

l_.str.4:                               ; @.str.4
	.asciz	"_LCK"

l_.str.5:                               ; @.str.5
	.asciz	"_PS0"

l_.str.6:                               ; @.str.6
	.asciz	"_PR0"

l_.str.7:                               ; @.str.7
	.asciz	"_PRW"

	.no_dead_strip	_acpi_bus_get_flags
.subsections_via_symbols
