	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_walk_namespace            ## -- Begin function acpi_walk_namespace
	.p2align	4, 0x90
_acpi_walk_namespace:                   ## @acpi_walk_namespace
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -64(%rbp)                  ## 8-byte Spill
	movq	%r8, %r13
	movl	%ecx, %ebx
	movl	%edx, %r15d
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r14
	leaq	_acpi_walk_namespace(%rip), %rdi
	callq	_ACPI_FUNCTION_TRACE
	testl	%ebx, %ebx
	je	LBB0_3
## %bb.1:
	testl	%r15d, %r15d
	je	LBB0_3
## %bb.2:
	movq	_ACPI_TYPE_LOCAL_MAX@GOTPCREL(%rip), %rax
	cmpq	%r14, (%rax)
	jge	LBB0_4
LBB0_3:
	movq	_AE_BAD_PARAMETER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_return_ACPI_STATUS
LBB0_4:
	movq	_acpi_gbl_namespace_rw_lock@GOTPCREL(%rip), %rdi
	callq	_acpi_ut_acquire_read_lock
	movl	%eax, %r12d
	movl	%eax, %edi
	callq	_ACPI_FAILURE
	testq	%rax, %rax
	jne	LBB0_8
## %bb.5:
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movq	_ACPI_MTX_NAMESPACE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_acpi_ut_acquire_mutex
	movl	%eax, %r13d
	movl	%eax, %edi
	callq	_ACPI_FAILURE
	testq	%rax, %rax
	jne	LBB0_7
## %bb.6:
	movq	_ACPI_NS_WALK_UNLOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, (%rsp)
	movq	%r14, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%r15d, %edx
	movl	%ebx, %r8d
	movq	-56(%rbp), %r9                  ## 8-byte Reload
	callq	_acpi_ns_walk_namespace
	movl	%eax, %r13d
	movq	_ACPI_MTX_NAMESPACE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_acpi_ut_release_mutex
LBB0_7:
	movq	_acpi_gbl_namespace_rw_lock@GOTPCREL(%rip), %rdi
	callq	_acpi_ut_release_read_lock
	movl	%r13d, %edi
	callq	_return_ACPI_STATUS
LBB0_8:
	movl	%r12d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ACPI_TYPE_LOCAL_MAX,8,3        ## @ACPI_TYPE_LOCAL_MAX
	.comm	_AE_BAD_PARAMETER,4,2           ## @AE_BAD_PARAMETER
	.comm	_acpi_gbl_namespace_rw_lock,4,2 ## @acpi_gbl_namespace_rw_lock
	.comm	_ACPI_MTX_NAMESPACE,4,2         ## @ACPI_MTX_NAMESPACE
	.comm	_ACPI_NS_WALK_UNLOCK,4,2        ## @ACPI_NS_WALK_UNLOCK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_walk_namespace            ; -- Begin function acpi_walk_namespace
	.p2align	2
_acpi_walk_namespace:                   ; @acpi_walk_namespace
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x5
	mov	x20, x4
	mov	x21, x3
	mov	x22, x2
	mov	x23, x1
	mov	x24, x0
Lloh0:
	adrp	x0, _acpi_walk_namespace@PAGE
Lloh1:
	add	x0, x0, _acpi_walk_namespace@PAGEOFF
	bl	_ACPI_FUNCTION_TRACE
	cbz	w21, LBB0_3
; %bb.1:
	cbz	w22, LBB0_3
; %bb.2:
Lloh2:
	adrp	x8, _ACPI_TYPE_LOCAL_MAX@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ACPI_TYPE_LOCAL_MAX@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x8, x24
	b.ge	LBB0_4
LBB0_3:
Lloh5:
	adrp	x8, _AE_BAD_PARAMETER@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AE_BAD_PARAMETER@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_return_ACPI_STATUS
LBB0_4:
Lloh8:
	adrp	x0, _acpi_gbl_namespace_rw_lock@GOTPAGE
Lloh9:
	ldr	x0, [x0, _acpi_gbl_namespace_rw_lock@GOTPAGEOFF]
	bl	_acpi_ut_acquire_read_lock
	mov	x25, x0
	bl	_ACPI_FAILURE
	cbnz	x0, LBB0_8
; %bb.5:
Lloh10:
	adrp	x27, _ACPI_MTX_NAMESPACE@GOTPAGE
Lloh11:
	ldr	x27, [x27, _ACPI_MTX_NAMESPACE@GOTPAGEOFF]
	ldr	w0, [x27]
	bl	_acpi_ut_acquire_mutex
	mov	x26, x0
	bl	_ACPI_FAILURE
	cbnz	x0, LBB0_7
; %bb.6:
Lloh12:
	adrp	x8, _ACPI_NS_WALK_UNLOCK@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ACPI_NS_WALK_UNLOCK@GOTPAGEOFF]
Lloh14:
	ldr	w3, [x8]
	mov	x0, x24
	mov	x1, x23
	mov	x2, x22
	mov	x4, x21
	mov	x5, x20
	mov	x6, x19
	bl	_acpi_ns_walk_namespace
	mov	x26, x0
	ldr	w0, [x27]
	bl	_acpi_ut_release_mutex
LBB0_7:
Lloh15:
	adrp	x0, _acpi_gbl_namespace_rw_lock@GOTPAGE
Lloh16:
	ldr	x0, [x0, _acpi_gbl_namespace_rw_lock@GOTPAGEOFF]
	bl	_acpi_ut_release_read_lock
	mov	x0, x26
	bl	_return_ACPI_STATUS
LBB0_8:
	mov	x0, x25
	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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_ACPI_TYPE_LOCAL_MAX,8,3        ; @ACPI_TYPE_LOCAL_MAX
	.comm	_AE_BAD_PARAMETER,4,2           ; @AE_BAD_PARAMETER
	.comm	_acpi_gbl_namespace_rw_lock,4,2 ; @acpi_gbl_namespace_rw_lock
	.comm	_ACPI_MTX_NAMESPACE,4,2         ; @ACPI_MTX_NAMESPACE
	.comm	_ACPI_NS_WALK_UNLOCK,4,2        ; @ACPI_NS_WALK_UNLOCK
.subsections_via_symbols
