	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_ps_init_scope             ## -- Begin function acpi_ps_init_scope
	.p2align	4, 0x90
_acpi_ps_init_scope:                    ## @acpi_ps_init_scope
	.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	%rsi, %r14
	movq	%rdi, %r15
	movq	_ps_init_scope@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ACPI_FUNCTION_TRACE_PTR
	xorl	%eax, %eax
	callq	_acpi_ut_create_generic_state
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	_AE_NO_MEMORY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_return_ACPI_STATUS
LBB0_2:
	movq	_ACPI_DESC_TYPE_STATE_RPSCOPE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movq	%r14, 16(%rbx)
	movq	_ACPI_VAR_ARGS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movl	16(%r15), %eax
	movl	%eax, 4(%rbx)
	movl	16(%r15), %eax
	movl	%eax, (%rbx)
	movq	%rbx, 8(%r15)
	movq	%r14, (%r15)
	movq	_AE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_return_ACPI_STATUS             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ps_init_scope,4,2              ## @ps_init_scope
	.comm	_AE_NO_MEMORY,4,2               ## @AE_NO_MEMORY
	.comm	_ACPI_DESC_TYPE_STATE_RPSCOPE,4,2 ## @ACPI_DESC_TYPE_STATE_RPSCOPE
	.comm	_ACPI_VAR_ARGS,4,2              ## @ACPI_VAR_ARGS
	.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_ps_init_scope             ; -- Begin function acpi_ps_init_scope
	.p2align	2
_acpi_ps_init_scope:                    ; @acpi_ps_init_scope
	.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, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _ps_init_scope@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ps_init_scope@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_ACPI_FUNCTION_TRACE_PTR
	bl	_acpi_ut_create_generic_state
	mov	x21, x0
	cbnz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _AE_NO_MEMORY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AE_NO_MEMORY@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_return_ACPI_STATUS
LBB0_2:
Lloh6:
	adrp	x8, _ACPI_DESC_TYPE_STATE_RPSCOPE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ACPI_DESC_TYPE_STATE_RPSCOPE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x21]
	str	x19, [x21, #16]
Lloh9:
	adrp	x8, _ACPI_VAR_ARGS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ACPI_VAR_ARGS@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	str	w8, [x21, #8]
	ldr	w8, [x20, #16]
	str	w8, [x21, #4]
	ldr	w8, [x20, #16]
	str	w8, [x21]
	stp	x19, x21, [x20]
Lloh12:
	adrp	x8, _AE_OK@GOTPAGE
Lloh13:
	ldr	x8, [x8, _AE_OK@GOTPAGEOFF]
Lloh14:
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ps_init_scope,4,2              ; @ps_init_scope
	.comm	_AE_NO_MEMORY,4,2               ; @AE_NO_MEMORY
	.comm	_ACPI_DESC_TYPE_STATE_RPSCOPE,4,2 ; @ACPI_DESC_TYPE_STATE_RPSCOPE
	.comm	_ACPI_VAR_ARGS,4,2              ; @ACPI_VAR_ARGS
	.comm	_AE_OK,4,2                      ; @AE_OK
.subsections_via_symbols
