	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_get_devices               ## -- Begin function acpi_get_devices
	.p2align	4, 0x90
_acpi_get_devices:                      ## @acpi_get_devices
	.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	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r12
	leaq	_acpi_get_devices(%rip), %rdi
	callq	_ACPI_FUNCTION_TRACE
	testq	%rbx, %rbx
	jne	LBB0_2
## %bb.1:
	movq	_AE_BAD_PARAMETER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_return_ACPI_STATUS
LBB0_2:
	movq	%r12, -56(%rbp)
	movq	%r15, -40(%rbp)
	movq	%rbx, -48(%rbp)
	movq	_ACPI_MTX_NAMESPACE@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_acpi_ut_acquire_mutex
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_ACPI_FAILURE
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	%ebx, %edi
	callq	_return_ACPI_STATUS
LBB0_4:
	movq	_ACPI_TYPE_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ACPI_ROOT_OBJECT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ACPI_UINT32_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ACPI_NS_WALK_UNLOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_acpi_ns_get_device_callback@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r14, (%rsp)
	leaq	-56(%rbp), %r9
	callq	_acpi_ns_walk_namespace
	movl	%eax, %ebx
	movl	(%r15), %edi
	callq	_acpi_ut_release_mutex
	movl	%ebx, %edi
	callq	_return_ACPI_STATUS
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AE_BAD_PARAMETER,4,2           ## @AE_BAD_PARAMETER
	.comm	_ACPI_MTX_NAMESPACE,4,2         ## @ACPI_MTX_NAMESPACE
	.comm	_ACPI_TYPE_DEVICE,4,2           ## @ACPI_TYPE_DEVICE
	.comm	_ACPI_ROOT_OBJECT,4,2           ## @ACPI_ROOT_OBJECT
	.comm	_ACPI_UINT32_MAX,4,2            ## @ACPI_UINT32_MAX
	.comm	_ACPI_NS_WALK_UNLOCK,4,2        ## @ACPI_NS_WALK_UNLOCK
	.comm	_acpi_ns_get_device_callback,4,2 ## @acpi_ns_get_device_callback
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_get_devices               ; -- Begin function acpi_get_devices
	.p2align	2
_acpi_get_devices:                      ; @acpi_get_devices
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x3
	mov	x21, x2
	mov	x20, x1
	mov	x22, x0
Lloh0:
	adrp	x0, _acpi_get_devices@PAGE
Lloh1:
	add	x0, x0, _acpi_get_devices@PAGEOFF
	bl	_ACPI_FUNCTION_TRACE
	cbnz	x20, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _AE_BAD_PARAMETER@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AE_BAD_PARAMETER@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_return_ACPI_STATUS
LBB0_2:
	stp	x20, x21, [sp, #16]
	str	x22, [sp, #8]
Lloh5:
	adrp	x21, _ACPI_MTX_NAMESPACE@GOTPAGE
Lloh6:
	ldr	x21, [x21, _ACPI_MTX_NAMESPACE@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_acpi_ut_acquire_mutex
	mov	x20, x0
	bl	_ACPI_FAILURE
	cbz	x0, LBB0_4
; %bb.3:
	mov	x0, x20
	bl	_return_ACPI_STATUS
LBB0_4:
Lloh7:
	adrp	x8, _ACPI_TYPE_DEVICE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ACPI_TYPE_DEVICE@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
Lloh10:
	adrp	x8, _ACPI_ROOT_OBJECT@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ACPI_ROOT_OBJECT@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
Lloh13:
	adrp	x8, _ACPI_UINT32_MAX@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ACPI_UINT32_MAX@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
Lloh16:
	adrp	x8, _ACPI_NS_WALK_UNLOCK@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ACPI_NS_WALK_UNLOCK@GOTPAGEOFF]
Lloh18:
	ldr	w3, [x8]
Lloh19:
	adrp	x8, _acpi_ns_get_device_callback@GOTPAGE
Lloh20:
	ldr	x8, [x8, _acpi_ns_get_device_callback@GOTPAGEOFF]
Lloh21:
	ldr	w4, [x8]
	add	x5, sp, #8
	mov	x6, x19
	bl	_acpi_ns_walk_namespace
	mov	x19, x0
	ldr	w0, [x21]
	bl	_acpi_ut_release_mutex
	mov	x0, x19
	bl	_return_ACPI_STATUS
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_AE_BAD_PARAMETER,4,2           ; @AE_BAD_PARAMETER
	.comm	_ACPI_MTX_NAMESPACE,4,2         ; @ACPI_MTX_NAMESPACE
	.comm	_ACPI_TYPE_DEVICE,4,2           ; @ACPI_TYPE_DEVICE
	.comm	_ACPI_ROOT_OBJECT,4,2           ; @ACPI_ROOT_OBJECT
	.comm	_ACPI_UINT32_MAX,4,2            ; @ACPI_UINT32_MAX
	.comm	_ACPI_NS_WALK_UNLOCK,4,2        ; @ACPI_NS_WALK_UNLOCK
	.comm	_acpi_ns_get_device_callback,4,2 ; @acpi_ns_get_device_callback
.subsections_via_symbols
