	.file	"extr_nsalloc.c_acpi_ns_create_node.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	acpi_ns_create_node
	.type	acpi_ns_create_node, @function
acpi_ns_create_node:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	edi, DWORD PTR ns_create_node[rip]
	call	ACPI_FUNCTION_TRACE@PLT
	mov	edi, DWORD PTR acpi_gbl_namespace_cache[rip]
	call	acpi_os_acquire_object@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L5
.L2:
	mov	rax, QWORD PTR acpi_gbl_ns_node_list[rip]
	mov	rdi, QWORD PTR [rax]
	lea	rdx, 1[rdi]
	mov	QWORD PTR [rax], rdx
	call	ACPI_MEM_TRACKING@PLT
	mov	QWORD PTR 0[rbp], rbx
	mov	esi, DWORD PTR ACPI_DESC_TYPE_NAMED[rip]
	mov	rdi, rbp
	call	ACPI_SET_DESCRIPTOR_TYPE@PLT
	mov	rdi, rbp
	call	return_PTR@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	xor	edi, edi
	call	return_PTR@PLT
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	acpi_ns_create_node, .-acpi_ns_create_node
	.comm	ns_create_node,4,4
	.comm	acpi_gbl_ns_node_list,8,8
	.comm	acpi_gbl_namespace_cache,4,4
	.comm	ACPI_DESC_TYPE_NAMED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_nsalloc.c_acpi_ns_create_node.c"
	.text
	.align	2
	.global	acpi_ns_create_node
	.syntax unified
	.arm
	.fpu softvfp
	.type	acpi_ns_create_node, %function
acpi_ns_create_node:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L6
	push	{r4, r5, r6, lr}
	mov	r5, r0
	ldr	r0, [r3]
	bl	ACPI_FUNCTION_TRACE
	ldr	r3, .L6+4
	ldr	r0, [r3]
	bl	acpi_os_acquire_object
	subs	r4, r0, #0
	beq	.L5
.L2:
	ldr	r3, .L6+8
	ldr	r3, [r3]
	ldr	r0, [r3]
	add	r2, r0, #1
	str	r2, [r3]
	bl	ACPI_MEM_TRACKING
	ldr	r3, .L6+12
	mov	r0, r4
	str	r5, [r4]
	ldr	r1, [r3]
	bl	ACPI_SET_DESCRIPTOR_TYPE
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	b	return_PTR
.L5:
	bl	return_PTR
	b	.L2
.L7:
	.align	2
.L6:
	.word	ns_create_node
	.word	acpi_gbl_namespace_cache
	.word	acpi_gbl_ns_node_list
	.word	ACPI_DESC_TYPE_NAMED
	.size	acpi_ns_create_node, .-acpi_ns_create_node
	.comm	ns_create_node,4,4
	.comm	acpi_gbl_ns_node_list,4,4
	.comm	acpi_gbl_namespace_cache,4,4
	.comm	ACPI_DESC_TYPE_NAMED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
