	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_ds_scope_stack_push       ## -- Begin function acpi_ds_scope_stack_push
	.p2align	4, 0x90
_acpi_ds_scope_stack_push:              ## @acpi_ds_scope_stack_push
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	_ds_scope_stack_push@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ACPI_FUNCTION_TRACE
	testq	%rbx, %rbx
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_ACPI_ERROR
	movq	_AE_BAD_PARAMETER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_return_ACPI_STATUS
LBB0_2:
	movq	%r15, %rdi
	callq	_acpi_ut_valid_object_type
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movl	%r15d, %edi
	callq	_ACPI_WARNING
LBB0_4:
	xorl	%eax, %eax
	callq	_acpi_ut_create_generic_state
	movq	%rax, %r12
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:
	movq	_AE_NO_MEMORY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_return_ACPI_STATUS
LBB0_6:
	movq	_ACPI_DESC_TYPE_STATE_WSCOPE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r12)
	movq	%r15, (%r12)
	movq	8(%r14), %rdi
	incq	%rdi
	movq	%rdi, 8(%r14)
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_ACPI_DEBUG_PRINT
	movq	(%r14), %rbx
	testq	%rbx, %rbx
	je	LBB0_7
## %bb.8:
	movq	(%rbx), %rdi
	callq	_acpi_ut_get_node_name
	movq	(%rbx), %rdi
	callq	_acpi_ut_get_type_name
	movl	%eax, %edi
	jmp	LBB0_9
LBB0_7:
	leaq	L_.str.5(%rip), %rdi
LBB0_9:
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_ACPI_DEBUG_PRINT_RAW
	movq	(%r12), %rdi
	callq	_acpi_ut_get_node_name
	movq	(%r12), %rdi
	callq	_acpi_ut_get_type_name
	movl	%eax, %edi
	callq	_ACPI_DEBUG_PRINT_RAW
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_acpi_ut_push_generic_state
	movq	_AE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_return_ACPI_STATUS             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ds_scope_stack_push,4,2        ## @ds_scope_stack_push
	.comm	_AE_INFO,4,2                    ## @AE_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Null scope parameter"

	.comm	_AE_BAD_PARAMETER,4,2           ## @AE_BAD_PARAMETER
	.comm	_AE_NO_MEMORY,4,2               ## @AE_NO_MEMORY
	.comm	_ACPI_DESC_TYPE_STATE_WSCOPE,4,2 ## @ACPI_DESC_TYPE_STATE_WSCOPE
	.comm	_ACPI_DB_EXEC,4,2               ## @ACPI_DB_EXEC
L_.str.5:                               ## @.str.5
	.asciz	"ROOT"

	.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_scope_stack_push       ; -- Begin function acpi_ds_scope_stack_push
	.p2align	2
_acpi_ds_scope_stack_push:              ; @acpi_ds_scope_stack_push
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x19, x2
	mov	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _ds_scope_stack_push@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ds_scope_stack_push@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_ACPI_FUNCTION_TRACE
	cbnz	x20, LBB0_2
; %bb.1:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_ACPI_ERROR
Lloh5:
	adrp	x8, _AE_BAD_PARAMETER@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AE_BAD_PARAMETER@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_return_ACPI_STATUS
LBB0_2:
	mov	x0, x21
	bl	_acpi_ut_valid_object_type
	cbnz	w0, LBB0_4
; %bb.3:
	mov	x0, x21
	bl	_ACPI_WARNING
LBB0_4:
	bl	_acpi_ut_create_generic_state
	mov	x20, x0
	cbnz	x0, LBB0_6
; %bb.5:
Lloh8:
	adrp	x8, _AE_NO_MEMORY@GOTPAGE
Lloh9:
	ldr	x8, [x8, _AE_NO_MEMORY@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_return_ACPI_STATUS
LBB0_6:
Lloh11:
	adrp	x8, _ACPI_DESC_TYPE_STATE_WSCOPE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ACPI_DESC_TYPE_STATE_WSCOPE@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	str	w8, [x20, #8]
	str	x21, [x20]
	ldr	x8, [x19, #8]
	add	x0, x8, #1
	str	x0, [x19, #8]
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_ACPI_DEBUG_PRINT
	ldr	x21, [x19]
	cbz	x21, LBB0_8
; %bb.7:
	ldr	x0, [x21]
	bl	_acpi_ut_get_node_name
	ldr	x0, [x21]
	bl	_acpi_ut_get_type_name
                                        ; kill: def $w0 killed $w0 def $x0
	b	LBB0_9
LBB0_8:
Lloh14:
	adrp	x0, l_.str.5@PAGE
Lloh15:
	add	x0, x0, l_.str.5@PAGEOFF
LBB0_9:
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_ACPI_DEBUG_PRINT_RAW
	ldr	x0, [x20]
	bl	_acpi_ut_get_node_name
	ldr	x0, [x20]
	bl	_acpi_ut_get_type_name
	bl	_ACPI_DEBUG_PRINT_RAW
	mov	x0, x19
	mov	x1, x20
	bl	_acpi_ut_push_generic_state
Lloh16:
	adrp	x8, _AE_OK@GOTPAGE
Lloh17:
	ldr	x8, [x8, _AE_OK@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_return_ACPI_STATUS
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_ds_scope_stack_push,4,2        ; @ds_scope_stack_push
	.comm	_AE_INFO,4,2                    ; @AE_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Null scope parameter"

	.comm	_AE_BAD_PARAMETER,4,2           ; @AE_BAD_PARAMETER
	.comm	_AE_NO_MEMORY,4,2               ; @AE_NO_MEMORY
	.comm	_ACPI_DESC_TYPE_STATE_WSCOPE,4,2 ; @ACPI_DESC_TYPE_STATE_WSCOPE
	.comm	_ACPI_DB_EXEC,4,2               ; @ACPI_DB_EXEC
l_.str.5:                               ; @.str.5
	.asciz	"ROOT"

	.comm	_AE_OK,4,2                      ; @AE_OK
.subsections_via_symbols
