	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_ds_scope_stack_pop        ## -- Begin function acpi_ds_scope_stack_pop
	.p2align	4, 0x90
_acpi_ds_scope_stack_pop:               ## @acpi_ds_scope_stack_pop
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_ds_scope_stack_pop@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ACPI_FUNCTION_TRACE
	movq	%rbx, %rdi
	callq	_acpi_ut_pop_generic_state
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	_AE_STACK_UNDERFLOW@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_return_ACPI_STATUS
LBB0_2:
	decq	8(%rbx)
	movl	(%r14), %edi
	callq	_acpi_ut_get_node_name
	movl	(%r14), %edi
	callq	_acpi_ut_get_type_name
	movl	%eax, %edi
	callq	_ACPI_DEBUG_PRINT
	movq	(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_3
## %bb.4:
	movl	(%rbx), %edi
	callq	_acpi_ut_get_node_name
	movl	(%rbx), %edi
	callq	_acpi_ut_get_type_name
	movl	%eax, %edi
	jmp	LBB0_5
LBB0_3:
	leaq	L_.str.2(%rip), %rdi
LBB0_5:
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_ACPI_DEBUG_PRINT_RAW
	movq	%r14, %rdi
	callq	_acpi_ut_delete_generic_state
	movq	_AE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_return_ACPI_STATUS             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ds_scope_stack_pop,4,2         ## @ds_scope_stack_pop
	.comm	_AE_STACK_UNDERFLOW,4,2         ## @AE_STACK_UNDERFLOW
	.comm	_ACPI_DB_EXEC,4,2               ## @ACPI_DB_EXEC
	.section	__TEXT,__cstring,cstring_literals
L_.str.2:                               ## @.str.2
	.asciz	"[\\___] (ROOT)\n"

	.comm	_AE_OK,4,2                      ## @AE_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_ds_scope_stack_pop        ; -- Begin function acpi_ds_scope_stack_pop
	.p2align	2
_acpi_ds_scope_stack_pop:               ; @acpi_ds_scope_stack_pop
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x0
Lloh0:
	adrp	x8, _ds_scope_stack_pop@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ds_scope_stack_pop@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_ACPI_FUNCTION_TRACE
	mov	x0, x20
	bl	_acpi_ut_pop_generic_state
	mov	x19, x0
	cbnz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _AE_STACK_UNDERFLOW@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AE_STACK_UNDERFLOW@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_return_ACPI_STATUS
LBB0_2:
	ldr	x8, [x20, #8]
	sub	x8, x8, #1
	str	x8, [x20, #8]
	ldr	w0, [x19]
	bl	_acpi_ut_get_node_name
	ldr	w0, [x19]
	bl	_acpi_ut_get_type_name
	bl	_ACPI_DEBUG_PRINT
	ldr	x20, [x20]
	cbz	x20, LBB0_4
; %bb.3:
	ldr	w0, [x20]
	bl	_acpi_ut_get_node_name
	ldr	w0, [x20]
	bl	_acpi_ut_get_type_name
                                        ; kill: def $w0 killed $w0 def $x0
	b	LBB0_5
LBB0_4:
Lloh6:
	adrp	x0, l_.str.2@PAGE
Lloh7:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_5:
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_ACPI_DEBUG_PRINT_RAW
	mov	x0, x19
	bl	_acpi_ut_delete_generic_state
Lloh8:
	adrp	x8, _AE_OK@GOTPAGE
Lloh9:
	ldr	x8, [x8, _AE_OK@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_return_ACPI_STATUS
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_ds_scope_stack_pop,4,2         ; @ds_scope_stack_pop
	.comm	_AE_STACK_UNDERFLOW,4,2         ; @AE_STACK_UNDERFLOW
	.comm	_ACPI_DB_EXEC,4,2               ; @ACPI_DB_EXEC
	.section	__TEXT,__cstring,cstring_literals
l_.str.2:                               ; @.str.2
	.asciz	"[\\___] (ROOT)\n"

	.comm	_AE_OK,4,2                      ; @AE_OK
.subsections_via_symbols
