	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_ns_initialize_devices     ## -- Begin function acpi_ns_initialize_devices
	.p2align	4, 0x90
_acpi_ns_initialize_devices:            ## @acpi_ns_initialize_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_ns_initialize_devices@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ACPI_FUNCTION_TRACE
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -80(%rbp)
	movq	$0, -64(%rbp)
	leaq	L_.str(%rip), %rdi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_ACPI_DEBUG_PRINT_RAW
	movq	_ACPI_TYPE_ANY@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	_ACPI_ROOT_OBJECT@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	_ACPI_UINT32_MAX@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movq	_FALSE@GOTPCREL(%rip), %r13
	movl	(%r13), %ecx
	movq	_acpi_ns_find_ini_methods@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	$0, (%rsp)
	leaq	-80(%rbp), %r9
	callq	_acpi_ns_walk_namespace
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_ACPI_FAILURE
	testq	%rax, %rax
	je	LBB0_1
LBB0_9:
	leaq	L_.str.2(%rip), %rdi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_ACPI_EXCEPTION
	movl	%ebx, %edi
	callq	_return_ACPI_STATUS
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movl	$4, %edi
	callq	_ACPI_ALLOCATE_ZEROED
	movq	%rax, -56(%rbp)
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	_acpi_gbl_root_node@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 20(%rax)
	movq	_METHOD_NAME__INI@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 16(%rax)
	movq	$0, 8(%rax)
	movq	_ACPI_IGNORE_RETURN_VALUE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rax)
	movq	%rax, %rdi
	callq	_acpi_ns_evaluate
	movl	%eax, %edi
	callq	_ACPI_SUCCESS
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	incq	-64(%rbp)
LBB0_5:
	movl	(%r14), %edi
	movl	(%r15), %esi
	movl	(%r12), %edx
	movl	(%r13), %ecx
	movq	_acpi_ns_init_one_device@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	$0, (%rsp)
	leaq	-80(%rbp), %r9
	callq	_acpi_ns_walk_namespace
	movl	%eax, %ebx
	movq	_acpi_gbl_osi_data@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_ACPI_OSI_WIN_2000@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_7
## %bb.6:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_acpi_gbl_truncate_io_addresses@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
LBB0_7:
	movq	-56(%rbp), %rdi
	callq	_ACPI_FREE
	movl	%ebx, %edi
	callq	_ACPI_FAILURE
	testq	%rax, %rax
	jne	LBB0_9
## %bb.8:
	movl	-80(%rbp), %edi
	callq	_ACPI_DEBUG_PRINT_RAW
	movl	%ebx, %edi
	callq	_return_ACPI_STATUS
	jmp	LBB0_9
LBB0_2:
	movq	_AE_NO_MEMORY@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_ns_initialize_devices,4,2      ## @ns_initialize_devices
	.comm	_ACPI_DB_INIT,4,2               ## @ACPI_DB_INIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Initializing Device/Processor/Thermal objects by executing _INI methods:"

	.comm	_ACPI_TYPE_ANY,4,2              ## @ACPI_TYPE_ANY
	.comm	_ACPI_ROOT_OBJECT,4,2           ## @ACPI_ROOT_OBJECT
	.comm	_ACPI_UINT32_MAX,4,2            ## @ACPI_UINT32_MAX
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_acpi_ns_find_ini_methods,4,2   ## @acpi_ns_find_ini_methods
	.comm	_AE_NO_MEMORY,4,2               ## @AE_NO_MEMORY
	.comm	_acpi_gbl_root_node,4,2         ## @acpi_gbl_root_node
	.comm	_METHOD_NAME__INI,4,2           ## @METHOD_NAME__INI
	.comm	_ACPI_IGNORE_RETURN_VALUE,4,2   ## @ACPI_IGNORE_RETURN_VALUE
	.comm	_acpi_ns_init_one_device,4,2    ## @acpi_ns_init_one_device
	.comm	_acpi_gbl_osi_data,8,3          ## @acpi_gbl_osi_data
	.comm	_ACPI_OSI_WIN_2000,8,3          ## @ACPI_OSI_WIN_2000
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_acpi_gbl_truncate_io_addresses,4,2 ## @acpi_gbl_truncate_io_addresses
	.comm	_AE_INFO,4,2                    ## @AE_INFO
L_.str.2:                               ## @.str.2
	.asciz	"During device initialization"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_ns_initialize_devices     ; -- Begin function acpi_ns_initialize_devices
	.p2align	2
_acpi_ns_initialize_devices:            ; @acpi_ns_initialize_devices
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
Lloh0:
	adrp	x8, _ns_initialize_devices@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ns_initialize_devices@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_ACPI_FUNCTION_TRACE
	stp	xzr, xzr, [sp, #8]
	str	xzr, [sp]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_ACPI_DEBUG_PRINT_RAW
Lloh5:
	adrp	x20, _ACPI_TYPE_ANY@GOTPAGE
Lloh6:
	ldr	x20, [x20, _ACPI_TYPE_ANY@GOTPAGEOFF]
	ldr	w0, [x20]
Lloh7:
	adrp	x21, _ACPI_ROOT_OBJECT@GOTPAGE
Lloh8:
	ldr	x21, [x21, _ACPI_ROOT_OBJECT@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh9:
	adrp	x22, _ACPI_UINT32_MAX@GOTPAGE
Lloh10:
	ldr	x22, [x22, _ACPI_UINT32_MAX@GOTPAGEOFF]
	ldr	w2, [x22]
Lloh11:
	adrp	x23, _FALSE@GOTPAGE
Lloh12:
	ldr	x23, [x23, _FALSE@GOTPAGEOFF]
	ldr	w3, [x23]
Lloh13:
	adrp	x8, _acpi_ns_find_ini_methods@GOTPAGE
Lloh14:
	ldr	x8, [x8, _acpi_ns_find_ini_methods@GOTPAGEOFF]
Lloh15:
	ldr	w4, [x8]
	mov	x5, sp
	mov	x6, #0
	bl	_acpi_ns_walk_namespace
	mov	x19, x0
	bl	_ACPI_FAILURE
	cbz	x0, LBB0_2
LBB0_1:
Lloh16:
	adrp	x0, l_.str.2@PAGE
Lloh17:
	add	x0, x0, l_.str.2@PAGEOFF
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_ACPI_EXCEPTION
	mov	x0, x19
	bl	_return_ACPI_STATUS
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_2:
	mov	w0, #4
	bl	_ACPI_ALLOCATE_ZEROED
	str	x0, [sp, #24]
	cbz	x0, LBB0_9
; %bb.3:
Lloh18:
	adrp	x8, _acpi_gbl_root_node@GOTPAGE
Lloh19:
	ldr	x8, [x8, _acpi_gbl_root_node@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
Lloh21:
	adrp	x9, _METHOD_NAME__INI@GOTPAGE
Lloh22:
	ldr	x9, [x9, _METHOD_NAME__INI@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #16]
	str	xzr, [x0, #8]
Lloh24:
	adrp	x8, _ACPI_IGNORE_RETURN_VALUE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ACPI_IGNORE_RETURN_VALUE@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	str	w8, [x0]
	bl	_acpi_ns_evaluate
	bl	_ACPI_SUCCESS
	cbz	x0, LBB0_5
; %bb.4:
	ldr	x8, [sp, #16]
	add	x8, x8, #1
	str	x8, [sp, #16]
LBB0_5:
	ldr	w0, [x20]
	ldr	w1, [x21]
	ldr	w2, [x22]
	ldr	w3, [x23]
Lloh27:
	adrp	x8, _acpi_ns_init_one_device@GOTPAGE
Lloh28:
	ldr	x8, [x8, _acpi_ns_init_one_device@GOTPAGEOFF]
Lloh29:
	ldr	w4, [x8]
	mov	x5, sp
	mov	x6, #0
	bl	_acpi_ns_walk_namespace
	mov	x19, x0
Lloh30:
	adrp	x8, _acpi_gbl_osi_data@GOTPAGE
Lloh31:
	ldr	x8, [x8, _acpi_gbl_osi_data@GOTPAGEOFF]
Lloh32:
	ldr	x8, [x8]
Lloh33:
	adrp	x9, _ACPI_OSI_WIN_2000@GOTPAGE
Lloh34:
	ldr	x9, [x9, _ACPI_OSI_WIN_2000@GOTPAGEOFF]
Lloh35:
	ldr	x9, [x9]
	cmp	x8, x9
	b.lt	LBB0_7
; %bb.6:
Lloh36:
	adrp	x8, _TRUE@GOTPAGE
Lloh37:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh38:
	ldr	w8, [x8]
Lloh39:
	adrp	x9, _acpi_gbl_truncate_io_addresses@GOTPAGE
Lloh40:
	ldr	x9, [x9, _acpi_gbl_truncate_io_addresses@GOTPAGEOFF]
Lloh41:
	str	w8, [x9]
LBB0_7:
	ldr	x0, [sp, #24]
	bl	_ACPI_FREE
	mov	x0, x19
	bl	_ACPI_FAILURE
	cbnz	x0, LBB0_1
; %bb.8:
	ldr	w0, [sp]
	bl	_ACPI_DEBUG_PRINT_RAW
	mov	x0, x19
	bl	_return_ACPI_STATUS
	b	LBB0_1
LBB0_9:
Lloh42:
	adrp	x8, _AE_NO_MEMORY@GOTPAGE
Lloh43:
	ldr	x8, [x8, _AE_NO_MEMORY@GOTPAGEOFF]
Lloh44:
	ldr	w19, [x8]
	b	LBB0_1
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotStr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.cfi_endproc
                                        ; -- End function
	.comm	_ns_initialize_devices,4,2      ; @ns_initialize_devices
	.comm	_ACPI_DB_INIT,4,2               ; @ACPI_DB_INIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Initializing Device/Processor/Thermal objects by executing _INI methods:"

	.comm	_ACPI_TYPE_ANY,4,2              ; @ACPI_TYPE_ANY
	.comm	_ACPI_ROOT_OBJECT,4,2           ; @ACPI_ROOT_OBJECT
	.comm	_ACPI_UINT32_MAX,4,2            ; @ACPI_UINT32_MAX
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_acpi_ns_find_ini_methods,4,2   ; @acpi_ns_find_ini_methods
	.comm	_AE_NO_MEMORY,4,2               ; @AE_NO_MEMORY
	.comm	_acpi_gbl_root_node,4,2         ; @acpi_gbl_root_node
	.comm	_METHOD_NAME__INI,4,2           ; @METHOD_NAME__INI
	.comm	_ACPI_IGNORE_RETURN_VALUE,4,2   ; @ACPI_IGNORE_RETURN_VALUE
	.comm	_acpi_ns_init_one_device,4,2    ; @acpi_ns_init_one_device
	.comm	_acpi_gbl_osi_data,8,3          ; @acpi_gbl_osi_data
	.comm	_ACPI_OSI_WIN_2000,8,3          ; @ACPI_OSI_WIN_2000
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_acpi_gbl_truncate_io_addresses,4,2 ; @acpi_gbl_truncate_io_addresses
	.comm	_AE_INFO,4,2                    ; @AE_INFO
l_.str.2:                               ; @.str.2
	.asciz	"During device initialization"

.subsections_via_symbols
