	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_ns_terminate              ## -- Begin function acpi_ns_terminate
	.p2align	4, 0x90
_acpi_ns_terminate:                     ## @acpi_ns_terminate
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_ns_terminate@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ACPI_FUNCTION_TRACE
	movq	_acpi_gbl_root_node@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_acpi_ns_delete_namespace_subtree
	movl	(%rbx), %edi
	callq	_acpi_ns_get_attached_object
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	(%rbx), %edi
	callq	_acpi_ns_detach_object
LBB0_2:
	leaq	L_.str(%rip), %rdi
                                        ## kill: def $edi killed $edi killed $rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_ACPI_DEBUG_PRINT               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ns_terminate,4,2               ## @ns_terminate
	.comm	_acpi_gbl_root_node,4,2         ## @acpi_gbl_root_node
	.comm	_ACPI_DB_INFO,4,2               ## @ACPI_DB_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Namespace freed\n"

	.comm	_return_VOID,4,2                ## @return_VOID
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_ns_terminate              ; -- Begin function acpi_ns_terminate
	.p2align	2
_acpi_ns_terminate:                     ; @acpi_ns_terminate
	.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
Lloh0:
	adrp	x8, _ns_terminate@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ns_terminate@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_ACPI_FUNCTION_TRACE
Lloh3:
	adrp	x19, _acpi_gbl_root_node@GOTPAGE
Lloh4:
	ldr	x19, [x19, _acpi_gbl_root_node@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_acpi_ns_delete_namespace_subtree
	ldr	w0, [x19]
	bl	_acpi_ns_get_attached_object
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w0, [x19]
	bl	_acpi_ns_detach_object
LBB0_2:
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
                                        ; kill: def $w0 killed $w0 killed $x0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ACPI_DEBUG_PRINT
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_ns_terminate,4,2               ; @ns_terminate
	.comm	_acpi_gbl_root_node,4,2         ; @acpi_gbl_root_node
	.comm	_ACPI_DB_INFO,4,2               ; @ACPI_DB_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Namespace freed\n"

	.comm	_return_VOID,4,2                ; @return_VOID
.subsections_via_symbols
