	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_ut_walk_package_tree      ## -- Begin function acpi_ut_walk_package_tree
	.p2align	4, 0x90
_acpi_ut_walk_package_tree:             ## @acpi_ut_walk_package_tree
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	$0, -48(%rbp)
	movq	_ut_walk_package_tree@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ACPI_FUNCTION_TRACE
	movq	%rbx, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_acpi_ut_create_pkg_state
	testq	%rax, %rax
	je	LBB0_20
## %bb.1:
	movq	%rax, %rbx
	leaq	-48(%rbp), %r12
	movq	_AE_OK@GOTPCREL(%rip), %r15
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_2
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%ebx, %ebx
LBB0_17:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_AE_NO_MEMORY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_return_ACPI_STATUS
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_2 Depth=1
	testq	%rbx, %rbx
	je	LBB0_19
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_16 Depth 2
                                        ##     Child Loop BB0_8 Depth 2
	movq	(%rbx), %rax
	movq	16(%rbx), %rcx
	movq	8(%rcx), %rcx
	movq	(%rcx,%rax,8), %r13
	testq	%r13, %r13
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	callq	_ACPI_GET_DESCRIPTOR_TYPE
	movq	_ACPI_DESC_TYPE_OPERAND@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r13), %rax
	movq	_ACPI_TYPE_PACKAGE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_ACPI_COPY_TYPE_PACKAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	movq	%rbx, %rdx
	movq	%r14, %rcx
	callq	*-64(%rbp)                      ## 8-byte Folded Reload
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_ACPI_FAILURE
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	%r14d, %edi
	callq	_return_ACPI_STATUS
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_acpi_ut_push_generic_state
	movq	8(%rbx), %rsi
	movq	%r13, %rdi
	xorl	%edx, %edx
	callq	_acpi_ut_create_pkg_state
	movq	%rax, %rbx
	testq	%rax, %rax
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	jne	LBB0_18
## %bb.14:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, -48(%rbp)
	je	LBB0_15
	.p2align	4, 0x90
LBB0_16:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r12, %rdi
	callq	_acpi_ut_pop_generic_state
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_acpi_ut_delete_generic_state
	cmpq	$0, -48(%rbp)
	jne	LBB0_16
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_ACPI_COPY_TYPE_SIMPLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	movq	%rbx, %rdx
	movq	%r14, %rcx
	callq	*-64(%rbp)                      ## 8-byte Folded Reload
	movl	%eax, %r13d
	movl	%eax, %edi
	callq	_ACPI_FAILURE
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%r13d, %edi
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	callq	_return_ACPI_STATUS
LBB0_8:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rbx), %rax
	movq	16(%rbx), %rcx
	incq	%rax
	movq	%rax, (%rbx)
	cmpq	(%rcx), %rax
	jb	LBB0_18
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=2
	movq	%rbx, %rdi
	callq	_acpi_ut_delete_generic_state
	movq	%r12, %rdi
	callq	_acpi_ut_pop_generic_state
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_8
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r15), %edi
	jmp	LBB0_7
LBB0_20:
	movq	_AE_NO_MEMORY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_return_ACPI_STATUS
LBB0_19:
	movq	_AE_AML_INTERNAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_return_ACPI_STATUS
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AE_OK,4,2                      ## @AE_OK
	.comm	_ut_walk_package_tree,4,2       ## @ut_walk_package_tree
	.comm	_AE_NO_MEMORY,4,2               ## @AE_NO_MEMORY
	.comm	_ACPI_DESC_TYPE_OPERAND,8,3     ## @ACPI_DESC_TYPE_OPERAND
	.comm	_ACPI_TYPE_PACKAGE,8,3          ## @ACPI_TYPE_PACKAGE
	.comm	_ACPI_COPY_TYPE_SIMPLE,4,2      ## @ACPI_COPY_TYPE_SIMPLE
	.comm	_ACPI_COPY_TYPE_PACKAGE,4,2     ## @ACPI_COPY_TYPE_PACKAGE
	.comm	_AE_AML_INTERNAL,4,2            ## @AE_AML_INTERNAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_ut_walk_package_tree      ; -- Begin function acpi_ut_walk_package_tree
	.p2align	2
_acpi_ut_walk_package_tree:             ; @acpi_ut_walk_package_tree
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	str	xzr, [sp, #8]
Lloh0:
	adrp	x8, _ut_walk_package_tree@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ut_walk_package_tree@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_ACPI_FUNCTION_TRACE
	mov	x0, x22
	mov	x1, x21
	mov	w2, #0
	bl	_acpi_ut_create_pkg_state
	cbz	x0, LBB0_19
; %bb.1:
	mov	x21, x0
Lloh3:
	adrp	x24, _ACPI_COPY_TYPE_SIMPLE@GOTPAGE
Lloh4:
	ldr	x24, [x24, _ACPI_COPY_TYPE_SIMPLE@GOTPAGEOFF]
Lloh5:
	adrp	x25, _AE_OK@GOTPAGE
Lloh6:
	ldr	x25, [x25, _AE_OK@GOTPAGEOFF]
Lloh7:
	adrp	x26, _ACPI_DESC_TYPE_OPERAND@GOTPAGE
Lloh8:
	ldr	x26, [x26, _ACPI_DESC_TYPE_OPERAND@GOTPAGEOFF]
Lloh9:
	adrp	x27, _ACPI_TYPE_PACKAGE@GOTPAGE
Lloh10:
	ldr	x27, [x27, _ACPI_TYPE_PACKAGE@GOTPAGEOFF]
Lloh11:
	adrp	x28, _ACPI_COPY_TYPE_PACKAGE@GOTPAGE
Lloh12:
	ldr	x28, [x28, _ACPI_COPY_TYPE_PACKAGE@GOTPAGEOFF]
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x21, #0
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
Lloh13:
	adrp	x8, _AE_NO_MEMORY@GOTPAGE
Lloh14:
	ldr	x8, [x8, _AE_NO_MEMORY@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	bl	_return_ACPI_STATUS
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	cbz	x21, LBB0_20
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_12 Depth 2
                                        ;     Child Loop BB0_16 Depth 2
	ldr	x8, [x21]
	ldr	x9, [x21, #16]
	ldr	x9, [x9, #8]
	ldr	x22, [x9, x8, lsl #3]
	cbz	x22, LBB0_13
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x22
	bl	_ACPI_GET_DESCRIPTOR_TYPE
	ldr	x8, [x26]
	cmp	x0, x8
	b.ne	LBB0_13
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x22]
	ldr	x9, [x27]
	cmp	x8, x9
	b.ne	LBB0_13
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x28]
	mov	x1, x22
	mov	x2, x21
	mov	x3, x19
	blr	x20
	mov	x23, x0
	bl	_ACPI_FAILURE
	cbz	x0, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x23
	bl	_return_ACPI_STATUS
LBB0_10:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x0, sp, #8
	mov	x1, x21
	bl	_acpi_ut_push_generic_state
	ldr	x1, [x21, #8]
	mov	x0, x22
	mov	w2, #0
	bl	_acpi_ut_create_pkg_state
	mov	x21, x0
	cbnz	x0, LBB0_4
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_2
LBB0_12:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x0, sp, #8
	bl	_acpi_ut_pop_generic_state
	mov	x21, x0
	bl	_acpi_ut_delete_generic_state
	ldr	x8, [sp, #8]
	cbnz	x8, LBB0_12
	b	LBB0_3
LBB0_13:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x24]
	mov	x1, x22
	mov	x2, x21
	mov	x3, x19
	blr	x20
	mov	x22, x0
	bl	_ACPI_FAILURE
	cbz	x0, LBB0_16
; %bb.14:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x22
LBB0_15:                                ;   in Loop: Header=BB0_5 Depth=1
	bl	_return_ACPI_STATUS
LBB0_16:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x21]
	add	x8, x8, #1
	str	x8, [x21]
	ldr	x9, [x21, #16]
	ldr	x9, [x9]
	cmp	x8, x9
	b.lo	LBB0_4
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=2
	mov	x0, x21
	bl	_acpi_ut_delete_generic_state
	add	x0, sp, #8
	bl	_acpi_ut_pop_generic_state
	mov	x21, x0
	cbnz	x0, LBB0_16
; %bb.18:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x25]
	b	LBB0_15
LBB0_19:
Lloh16:
	adrp	x8, _AE_NO_MEMORY@GOTPAGE
Lloh17:
	ldr	x8, [x8, _AE_NO_MEMORY@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	bl	_return_ACPI_STATUS
LBB0_20:
Lloh19:
	adrp	x8, _AE_AML_INTERNAL@GOTPAGE
Lloh20:
	ldr	x8, [x8, _AE_AML_INTERNAL@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	bl	_return_ACPI_STATUS
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_AE_OK,4,2                      ; @AE_OK
	.comm	_ut_walk_package_tree,4,2       ; @ut_walk_package_tree
	.comm	_AE_NO_MEMORY,4,2               ; @AE_NO_MEMORY
	.comm	_ACPI_DESC_TYPE_OPERAND,8,3     ; @ACPI_DESC_TYPE_OPERAND
	.comm	_ACPI_TYPE_PACKAGE,8,3          ; @ACPI_TYPE_PACKAGE
	.comm	_ACPI_COPY_TYPE_SIMPLE,4,2      ; @ACPI_COPY_TYPE_SIMPLE
	.comm	_ACPI_COPY_TYPE_PACKAGE,4,2     ; @ACPI_COPY_TYPE_PACKAGE
	.comm	_AE_AML_INTERNAL,4,2            ; @AE_AML_INTERNAL
.subsections_via_symbols
