	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_ds_create_node            ## -- Begin function acpi_ds_create_node
	.p2align	4, 0x90
_acpi_ds_create_node:                   ## @acpi_ds_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	_ds_create_node@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rdx, %rsi
	callq	_ACPI_FUNCTION_TRACE_PTR
	movq	%r15, %rdi
	callq	_acpi_ns_get_attached_object
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_AE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_return_ACPI_STATUS
LBB0_2:
	movl	(%rbx), %esi
	testl	%esi, %esi
	jne	LBB0_4
## %bb.3:
	movq	_AE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_return_ACPI_STATUS
	movl	(%rbx), %esi
LBB0_4:
	leaq	-32(%rbp), %rdx
	movq	%r14, %rdi
	callq	_acpi_ds_build_internal_object
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_ACPI_FAILURE
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movl	%ebx, %edi
	callq	_return_ACPI_STATUS
LBB0_6:
	movq	-32(%rbp), %rsi
	movl	(%rsi), %edx
	movl	%edx, (%r15)
	movq	%r15, %rdi
	callq	_acpi_ns_attach_object
	movl	%eax, %ebx
	movq	-32(%rbp), %rdi
	callq	_acpi_ut_remove_reference
	movl	%ebx, %edi
	callq	_return_ACPI_STATUS
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ds_create_node,4,2             ## @ds_create_node
	.comm	_AE_OK,4,2                      ## @AE_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_ds_create_node            ; -- Begin function acpi_ds_create_node
	.p2align	2
_acpi_ds_create_node:                   ; @acpi_ds_create_node
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _ds_create_node@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ds_create_node@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x2
	bl	_ACPI_FUNCTION_TRACE_PTR
	mov	x0, x19
	bl	_acpi_ns_get_attached_object
Lloh3:
	adrp	x22, _AE_OK@GOTPAGE
Lloh4:
	ldr	x22, [x22, _AE_OK@GOTPAGEOFF]
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w0, [x22]
	bl	_return_ACPI_STATUS
LBB0_2:
	ldr	w1, [x21]
	cbnz	w1, LBB0_4
; %bb.3:
	ldr	w0, [x22]
	bl	_return_ACPI_STATUS
	ldr	w1, [x21]
LBB0_4:
	add	x2, sp, #8
	mov	x0, x20
	bl	_acpi_ds_build_internal_object
	mov	x20, x0
	bl	_ACPI_FAILURE
	cbz	x0, LBB0_6
; %bb.5:
	mov	x0, x20
	bl	_return_ACPI_STATUS
LBB0_6:
	ldr	x1, [sp, #8]
	ldr	w2, [x1]
	str	w2, [x19]
	mov	x0, x19
	bl	_acpi_ns_attach_object
	mov	x19, x0
	ldr	x0, [sp, #8]
	bl	_acpi_ut_remove_reference
	mov	x0, x19
	bl	_return_ACPI_STATUS
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ds_create_node,4,2             ; @ds_create_node
	.comm	_AE_OK,4,2                      ; @AE_OK
.subsections_via_symbols
