	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_ns_delete_node            ## -- Begin function acpi_ns_delete_node
	.p2align	4, 0x90
_acpi_ns_delete_node:                   ## @acpi_ns_delete_node
	.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, %r14
	movq	_ns_delete_node@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ACPI_FUNCTION_NAME
	movq	%r14, %rdi
	callq	_acpi_ns_detach_object
	movq	(%r14), %rbx
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.1:
	movq	(%rbx), %rsi
	movq	_ACPI_TYPE_LOCAL_DATA@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rsi
	jne	LBB0_5
## %bb.2:
	movq	8(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%r14, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	*%rax
LBB0_4:
	movq	%rbx, %rdi
	callq	_acpi_ut_remove_reference
LBB0_5:
	movq	_acpi_gbl_namespace_cache@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_acpi_os_release_object
	movq	_acpi_gbl_ns_node_list@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %edi
	leal	1(%rdi), %ecx
	movl	%ecx, (%rax)
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_ACPI_MEM_TRACKING
	movq	_acpi_gbl_current_node_count@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ACPI_DEBUG_PRINT               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ns_delete_node,4,2             ## @ns_delete_node
	.comm	_ACPI_TYPE_LOCAL_DATA,8,3       ## @ACPI_TYPE_LOCAL_DATA
	.comm	_acpi_gbl_namespace_cache,4,2   ## @acpi_gbl_namespace_cache
	.comm	_acpi_gbl_ns_node_list,8,3      ## @acpi_gbl_ns_node_list
	.comm	_ACPI_DB_ALLOCATIONS,4,2        ## @ACPI_DB_ALLOCATIONS
	.comm	_acpi_gbl_current_node_count,4,2 ## @acpi_gbl_current_node_count
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_ns_delete_node            ; -- Begin function acpi_ns_delete_node
	.p2align	2
_acpi_ns_delete_node:                   ; @acpi_ns_delete_node
	.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	x19, x0
Lloh0:
	adrp	x8, _ns_delete_node@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ns_delete_node@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_ACPI_FUNCTION_NAME
	mov	x0, x19
	bl	_acpi_ns_detach_object
	ldr	x20, [x19]
	cbz	x20, LBB0_5
; %bb.1:
	ldr	x1, [x20]
Lloh3:
	adrp	x8, _ACPI_TYPE_LOCAL_DATA@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ACPI_TYPE_LOCAL_DATA@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x1, x8
	b.ne	LBB0_5
; %bb.2:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_4
; %bb.3:
	mov	x0, x19
                                        ; kill: def $w1 killed $w1 killed $x1
	blr	x8
LBB0_4:
	mov	x0, x20
	bl	_acpi_ut_remove_reference
LBB0_5:
Lloh6:
	adrp	x8, _acpi_gbl_namespace_cache@GOTPAGE
Lloh7:
	ldr	x8, [x8, _acpi_gbl_namespace_cache@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_acpi_os_release_object
Lloh9:
	adrp	x8, _acpi_gbl_ns_node_list@GOTPAGE
Lloh10:
	ldr	x8, [x8, _acpi_gbl_ns_node_list@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	ldr	w0, [x8]
	add	w9, w0, #1
	str	w9, [x8]
	bl	_ACPI_MEM_TRACKING
Lloh12:
	adrp	x8, _acpi_gbl_current_node_count@GOTPAGE
Lloh13:
	ldr	x8, [x8, _acpi_gbl_current_node_count@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ACPI_DEBUG_PRINT
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ns_delete_node,4,2             ; @ns_delete_node
	.comm	_ACPI_TYPE_LOCAL_DATA,8,3       ; @ACPI_TYPE_LOCAL_DATA
	.comm	_acpi_gbl_namespace_cache,4,2   ; @acpi_gbl_namespace_cache
	.comm	_acpi_gbl_ns_node_list,8,3      ; @acpi_gbl_ns_node_list
	.comm	_ACPI_DB_ALLOCATIONS,4,2        ; @ACPI_DB_ALLOCATIONS
	.comm	_acpi_gbl_current_node_count,4,2 ; @acpi_gbl_current_node_count
.subsections_via_symbols
