	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_ns_delete_namespace_by_owner ## -- Begin function acpi_ns_delete_namespace_by_owner
	.p2align	4, 0x90
_acpi_ns_delete_namespace_by_owner:     ## @acpi_ns_delete_namespace_by_owner
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_ns_delete_namespace_by_owner@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_ACPI_FUNCTION_TRACE_U32
	movq	_ACPI_MTX_NAMESPACE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_acpi_ut_acquire_mutex
	movl	%eax, %edi
	callq	_ACPI_FAILURE
	movq	_acpi_gbl_root_node@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movl	$1, %r13d
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	cmpq	$0, 16(%rbx)
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	incl	%r13d
	xorl	%r12d, %r12d
	movq	%rbx, %rax
	xorl	%ebx, %ebx
LBB0_15:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%rax, %r15
	testl	%r13d, %r13d
	jle	LBB0_16
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_acpi_ns_get_next_node
	movq	%rax, %rbx
	testq	%r12, %r12
	je	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r12, %rdi
	callq	_acpi_ns_delete_children
	movq	%r12, %rdi
	callq	_acpi_ns_remove_node
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	testq	%rbx, %rbx
	je	LBB0_11
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpq	%r14, (%rbx)
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%rbx, %rdi
	callq	_acpi_ns_detach_object
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_1 Depth=1
	decl	%r13d
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	%r15, %r12
	cmpq	%r14, (%r15)
	je	LBB0_14
LBB0_13:                                ##   in Loop: Header=BB0_1 Depth=1
	xorl	%r12d, %r12d
LBB0_14:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	8(%r15), %rax
	movq	%r15, %rbx
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%rbx, %r12
	cmpq	%r14, (%rbx)
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_1 Depth=1
	xorl	%r12d, %r12d
LBB0_10:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%r15, %rax
	jmp	LBB0_15
LBB0_16:
	movq	_ACPI_MTX_NAMESPACE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_acpi_ut_release_mutex          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ns_delete_namespace_by_owner,4,2 ## @ns_delete_namespace_by_owner
	.comm	_return_VOID,4,2                ## @return_VOID
	.comm	_ACPI_MTX_NAMESPACE,4,2         ## @ACPI_MTX_NAMESPACE
	.comm	_acpi_gbl_root_node,8,3         ## @acpi_gbl_root_node
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_ns_delete_namespace_by_owner ; -- Begin function acpi_ns_delete_namespace_by_owner
	.p2align	2
_acpi_ns_delete_namespace_by_owner:     ; @acpi_ns_delete_namespace_by_owner
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _ns_delete_namespace_by_owner@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ns_delete_namespace_by_owner@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_ACPI_FUNCTION_TRACE_U32
Lloh3:
	adrp	x23, _ACPI_MTX_NAMESPACE@GOTPAGE
Lloh4:
	ldr	x23, [x23, _ACPI_MTX_NAMESPACE@GOTPAGEOFF]
	ldr	w0, [x23]
	bl	_acpi_ut_acquire_mutex
	bl	_ACPI_FAILURE
	mov	x1, #0
	mov	x21, #0
Lloh5:
	adrp	x8, _acpi_gbl_root_node@GOTPAGE
Lloh6:
	ldr	x8, [x8, _acpi_gbl_root_node@GOTPAGEOFF]
Lloh7:
	ldr	x20, [x8]
	mov	w24, #1
	b	LBB0_4
LBB0_1:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x22, #16]
	cbz	x8, LBB0_11
; %bb.2:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x21, #0
	mov	x20, #0
	add	w24, w24, #1
	mov	x8, x22
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x1, x20
	mov	x20, x8
	cmp	w24, #0
	b.le	LBB0_14
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_acpi_ns_get_next_node
	mov	x22, x0
	cbz	x21, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x21
	bl	_acpi_ns_delete_children
	mov	x0, x21
	bl	_acpi_ns_remove_node
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	cbz	x22, LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x22]
	cmp	x8, x19
	b.ne	LBB0_1
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x22
	bl	_acpi_ns_detach_object
	b	LBB0_1
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	subs	w24, w24, #1
	b.eq	LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x20]
	cmp	x8, x19
	csel	x21, x20, xzr, eq
	b	LBB0_13
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x22]
	cmp	x8, x19
	csel	x21, x22, xzr, eq
	mov	x8, x20
	mov	x20, x22
	b	LBB0_3
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x21, #0
LBB0_13:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x20, #8]
	b	LBB0_3
LBB0_14:
	ldr	w0, [x23]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_acpi_ut_release_mutex
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ns_delete_namespace_by_owner,4,2 ; @ns_delete_namespace_by_owner
	.comm	_return_VOID,4,2                ; @return_VOID
	.comm	_ACPI_MTX_NAMESPACE,4,2         ; @ACPI_MTX_NAMESPACE
	.comm	_acpi_gbl_root_node,8,3         ; @acpi_gbl_root_node
.subsections_via_symbols
