	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_ns_create_node            ## -- Begin function acpi_ns_create_node
	.p2align	4, 0x90
_acpi_ns_create_node:                   ## @acpi_ns_create_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_create_node@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ACPI_FUNCTION_TRACE
	movq	_acpi_gbl_namespace_cache@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_acpi_os_acquire_object
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	xorl	%edi, %edi
	callq	_return_PTR
LBB0_2:
	movq	_acpi_gbl_ns_node_list@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rdi
	leaq	1(%rdi), %rcx
	movq	%rcx, (%rax)
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_ACPI_MEM_TRACKING
	movq	%r14, (%rbx)
	movq	_ACPI_DESC_TYPE_NAMED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_ACPI_SET_DESCRIPTOR_TYPE
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_return_PTR                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ns_create_node,4,2             ## @ns_create_node
	.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_DESC_TYPE_NAMED,4,2       ## @ACPI_DESC_TYPE_NAMED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_ns_create_node            ; -- Begin function acpi_ns_create_node
	.p2align	2
_acpi_ns_create_node:                   ; @acpi_ns_create_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_create_node@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ns_create_node@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_ACPI_FUNCTION_TRACE
Lloh3:
	adrp	x8, _acpi_gbl_namespace_cache@GOTPAGE
Lloh4:
	ldr	x8, [x8, _acpi_gbl_namespace_cache@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_acpi_os_acquire_object
	mov	x20, x0
	cbnz	x0, LBB0_2
; %bb.1:
	bl	_return_PTR
LBB0_2:
Lloh6:
	adrp	x8, _acpi_gbl_ns_node_list@GOTPAGE
Lloh7:
	ldr	x8, [x8, _acpi_gbl_ns_node_list@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	ldr	x0, [x8]
	add	x9, x0, #1
	str	x9, [x8]
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_ACPI_MEM_TRACKING
	str	x19, [x20]
Lloh9:
	adrp	x8, _ACPI_DESC_TYPE_NAMED@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ACPI_DESC_TYPE_NAMED@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_ACPI_SET_DESCRIPTOR_TYPE
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_return_PTR
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ns_create_node,4,2             ; @ns_create_node
	.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_DESC_TYPE_NAMED,4,2       ; @ACPI_DESC_TYPE_NAMED
.subsections_via_symbols
