	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_ps_execute_method         ## -- Begin function acpi_ps_execute_method
	.p2align	4, 0x90
_acpi_ps_execute_method:                ## @acpi_ps_execute_method
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	movq	_ps_execute_method@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ACPI_FUNCTION_TRACE
	testq	%r13, %r13
	je	LBB0_2
## %bb.1:
	movq	24(%r13), %rdi
	testq	%rdi, %rdi
	jne	LBB0_3
LBB0_2:
	movq	_AE_NULL_ENTRY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_return_ACPI_STATUS
	movq	24(%r13), %rdi
LBB0_3:
	movq	8(%r13), %rsi
	xorl	%edx, %edx
	callq	_acpi_ds_begin_method_execution
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_ACPI_FAILURE
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movl	%ebx, %edi
	callq	_return_ACPI_STATUS
LBB0_5:
	movq	_REF_INCREMENT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_acpi_ps_update_parameter_list
	movq	%r13, %rdi
	callq	_acpi_ps_start_trace
	movl	8(%r13), %edi
	callq	_ACPI_DEBUG_PRINT
	xorl	%eax, %eax
	callq	_acpi_ps_create_scope_op
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	_ACPI_IMODE_EXECUTE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r13)
	movq	8(%r13), %rax
	movl	24(%rax), %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_acpi_ds_create_walk_state
	testq	%rax, %rax
	je	LBB0_6
## %bb.8:
	movq	%rax, %r15
	movq	24(%r13), %rdx
	movq	8(%r13), %rax
	movl	16(%rax), %r8d
	movl	20(%rax), %ecx
	movl	16(%r13), %eax
	movl	%eax, (%rsp)
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%r13, %r9
	callq	_acpi_ds_init_aml_walk
	movl	%eax, %r12d
	movl	%eax, %edi
	callq	_ACPI_FAILURE
	testq	%rax, %rax
	jne	LBB0_9
## %bb.10:
	movq	8(%r13), %rax
	movq	_AOPOBJ_MODULE_LEVEL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_12
## %bb.11:
	movq	_ACPI_PARSE_MODULE_LEVEL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, 24(%r15)
LBB0_12:
	movq	_AML_METHOD_INTERNAL_ONLY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, 4(%rax)
	je	LBB0_14
## %bb.13:
	movq	%r15, %rdi
	callq	*8(%rax)
	movl	%eax, %r12d
	movq	16(%r15), %rax
	movq	%rax, (%r13)
	movq	%r15, %rdi
	callq	_acpi_ds_scope_stack_clear
	movq	%r15, %rdi
	addq	$12, %rdi
	callq	_acpi_ps_cleanup_scope
	movl	8(%r15), %edi
	movq	%r15, %rsi
	callq	_acpi_ds_terminate_control_method
LBB0_9:
	movq	%r15, %rdi
	callq	_acpi_ds_delete_walk_state
	jmp	LBB0_19
LBB0_6:
	movq	_AE_NO_MEMORY@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
LBB0_19:
	movq	%r14, %rdi
	callq	_acpi_ps_delete_parse_tree
	movq	%r13, %rdi
	callq	_acpi_ps_stop_trace
	movq	_REF_DECREMENT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_acpi_ps_update_parameter_list
	movl	%r12d, %edi
	callq	_ACPI_FAILURE
	testq	%rax, %rax
	je	LBB0_21
## %bb.20:
	movl	%r12d, %edi
	callq	_return_ACPI_STATUS
LBB0_21:
	movq	(%r13), %rdi
	testq	%rdi, %rdi
	je	LBB0_23
## %bb.22:
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_ACPI_DEBUG_PRINT
	movq	(%r13), %rdi
	callq	_ACPI_DUMP_STACK_ENTRY
	movq	_AE_CTRL_RETURN_VALUE@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
LBB0_23:
	movl	%r12d, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_return_ACPI_STATUS             ## TAILCALL
LBB0_14:
	movq	_acpi_gbl_enable_interpreter_slack@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_18
## %bb.15:
	movq	_ACPI_TYPE_INTEGER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_acpi_ut_create_internal_object
	movq	%rax, (%r15)
	testq	%rax, %rax
	je	LBB0_16
## %bb.17:
	movq	$0, (%rax)
LBB0_18:
	movq	%r15, %rdi
	callq	_acpi_ps_parse_aml
	movl	%eax, %r12d
	jmp	LBB0_19
LBB0_16:
	movq	_AE_NO_MEMORY@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_ps_execute_method,4,2          ## @ps_execute_method
	.comm	_AE_NULL_ENTRY,4,2              ## @AE_NULL_ENTRY
	.comm	_REF_INCREMENT,4,2              ## @REF_INCREMENT
	.comm	_ACPI_DB_PARSE,4,2              ## @ACPI_DB_PARSE
	.comm	_AE_NO_MEMORY,4,2               ## @AE_NO_MEMORY
	.comm	_ACPI_IMODE_EXECUTE,4,2         ## @ACPI_IMODE_EXECUTE
	.comm	_AOPOBJ_MODULE_LEVEL,4,2        ## @AOPOBJ_MODULE_LEVEL
	.comm	_ACPI_PARSE_MODULE_LEVEL,4,2    ## @ACPI_PARSE_MODULE_LEVEL
	.comm	_AML_METHOD_INTERNAL_ONLY,4,2   ## @AML_METHOD_INTERNAL_ONLY
	.comm	_acpi_gbl_enable_interpreter_slack,8,3 ## @acpi_gbl_enable_interpreter_slack
	.comm	_ACPI_TYPE_INTEGER,4,2          ## @ACPI_TYPE_INTEGER
	.comm	_REF_DECREMENT,4,2              ## @REF_DECREMENT
	.comm	_AE_CTRL_RETURN_VALUE,4,2       ## @AE_CTRL_RETURN_VALUE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_ps_execute_method         ; -- Begin function acpi_ps_execute_method
	.p2align	2
_acpi_ps_execute_method:                ; @acpi_ps_execute_method
	.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, x0
Lloh0:
	adrp	x8, _ps_execute_method@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ps_execute_method@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_ACPI_FUNCTION_TRACE
	cbz	x19, LBB0_2
; %bb.1:
	ldr	x0, [x19, #24]
	cbnz	x0, LBB0_3
LBB0_2:
Lloh3:
	adrp	x8, _AE_NULL_ENTRY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AE_NULL_ENTRY@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_return_ACPI_STATUS
	ldr	x0, [x19, #24]
LBB0_3:
	ldr	x1, [x19, #8]
	mov	x2, #0
	bl	_acpi_ds_begin_method_execution
	mov	x20, x0
	bl	_ACPI_FAILURE
	cbz	x0, LBB0_5
; %bb.4:
	mov	x0, x20
	bl	_return_ACPI_STATUS
LBB0_5:
Lloh6:
	adrp	x8, _REF_INCREMENT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _REF_INCREMENT@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_acpi_ps_update_parameter_list
	mov	x0, x19
	bl	_acpi_ps_start_trace
	ldr	w0, [x19, #8]
	bl	_ACPI_DEBUG_PRINT
	bl	_acpi_ps_create_scope_op
	mov	x20, x0
	cbz	x0, LBB0_13
; %bb.6:
Lloh9:
	adrp	x8, _ACPI_IMODE_EXECUTE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ACPI_IMODE_EXECUTE@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	str	w8, [x19, #16]
	ldr	x8, [x19, #8]
	ldr	w0, [x8, #24]
	mov	x1, #0
	mov	x2, #0
	mov	x3, #0
	bl	_acpi_ds_create_walk_state
	cbz	x0, LBB0_13
; %bb.7:
	mov	x21, x0
	ldr	x2, [x19, #24]
	ldr	x8, [x19, #8]
	ldp	w4, w3, [x8, #16]
	ldr	w6, [x19, #16]
	mov	x1, x20
	mov	x5, x19
	bl	_acpi_ds_init_aml_walk
	mov	x22, x0
	bl	_ACPI_FAILURE
	cbnz	x0, LBB0_12
; %bb.8:
	ldr	x8, [x19, #8]
	ldr	w9, [x8]
Lloh12:
	adrp	x10, _AOPOBJ_MODULE_LEVEL@GOTPAGE
Lloh13:
	ldr	x10, [x10, _AOPOBJ_MODULE_LEVEL@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_10
; %bb.9:
Lloh15:
	adrp	x9, _ACPI_PARSE_MODULE_LEVEL@GOTPAGE
Lloh16:
	ldr	x9, [x9, _ACPI_PARSE_MODULE_LEVEL@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	ldr	w10, [x21, #24]
	orr	w9, w10, w9
	str	w9, [x21, #24]
LBB0_10:
	ldr	w9, [x8, #4]
Lloh18:
	adrp	x10, _AML_METHOD_INTERNAL_ONLY@GOTPAGE
Lloh19:
	ldr	x10, [x10, _AML_METHOD_INTERNAL_ONLY@GOTPAGEOFF]
Lloh20:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_19
; %bb.11:
	ldr	x8, [x8, #8]
	mov	x0, x21
	blr	x8
	mov	x22, x0
	ldr	x8, [x21, #16]
	str	x8, [x19]
	mov	x0, x21
	bl	_acpi_ds_scope_stack_clear
	add	x0, x21, #12
	bl	_acpi_ps_cleanup_scope
	ldr	w0, [x21, #8]
	mov	x1, x21
	bl	_acpi_ds_terminate_control_method
LBB0_12:
	mov	x0, x21
	bl	_acpi_ds_delete_walk_state
	b	LBB0_14
LBB0_13:
Lloh21:
	adrp	x8, _AE_NO_MEMORY@GOTPAGE
Lloh22:
	ldr	x8, [x8, _AE_NO_MEMORY@GOTPAGEOFF]
Lloh23:
	ldr	w22, [x8]
LBB0_14:
	mov	x0, x20
	bl	_acpi_ps_delete_parse_tree
	mov	x0, x19
	bl	_acpi_ps_stop_trace
Lloh24:
	adrp	x8, _REF_DECREMENT@GOTPAGE
Lloh25:
	ldr	x8, [x8, _REF_DECREMENT@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_acpi_ps_update_parameter_list
	mov	x0, x22
	bl	_ACPI_FAILURE
	cbz	x0, LBB0_16
; %bb.15:
	mov	x0, x22
	bl	_return_ACPI_STATUS
LBB0_16:
	ldr	x0, [x19]
	cbz	x0, LBB0_18
; %bb.17:
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_ACPI_DEBUG_PRINT
	ldr	x0, [x19]
	bl	_ACPI_DUMP_STACK_ENTRY
Lloh27:
	adrp	x8, _AE_CTRL_RETURN_VALUE@GOTPAGE
Lloh28:
	ldr	x8, [x8, _AE_CTRL_RETURN_VALUE@GOTPAGEOFF]
Lloh29:
	ldr	w22, [x8]
LBB0_18:
	mov	x0, x22
	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
LBB0_19:
Lloh30:
	adrp	x8, _acpi_gbl_enable_interpreter_slack@GOTPAGE
Lloh31:
	ldr	x8, [x8, _acpi_gbl_enable_interpreter_slack@GOTPAGEOFF]
Lloh32:
	ldr	x8, [x8]
	cbz	x8, LBB0_22
; %bb.20:
Lloh33:
	adrp	x8, _ACPI_TYPE_INTEGER@GOTPAGE
Lloh34:
	ldr	x8, [x8, _ACPI_TYPE_INTEGER@GOTPAGEOFF]
Lloh35:
	ldr	w0, [x8]
	bl	_acpi_ut_create_internal_object
	str	x0, [x21]
	cbz	x0, LBB0_23
; %bb.21:
	str	xzr, [x0]
LBB0_22:
	mov	x0, x21
	bl	_acpi_ps_parse_aml
	mov	x22, x0
	b	LBB0_14
LBB0_23:
Lloh36:
	adrp	x8, _AE_NO_MEMORY@GOTPAGE
Lloh37:
	ldr	x8, [x8, _AE_NO_MEMORY@GOTPAGEOFF]
Lloh38:
	ldr	w22, [x8]
	b	LBB0_12
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.cfi_endproc
                                        ; -- End function
	.comm	_ps_execute_method,4,2          ; @ps_execute_method
	.comm	_AE_NULL_ENTRY,4,2              ; @AE_NULL_ENTRY
	.comm	_REF_INCREMENT,4,2              ; @REF_INCREMENT
	.comm	_ACPI_DB_PARSE,4,2              ; @ACPI_DB_PARSE
	.comm	_AE_NO_MEMORY,4,2               ; @AE_NO_MEMORY
	.comm	_ACPI_IMODE_EXECUTE,4,2         ; @ACPI_IMODE_EXECUTE
	.comm	_AOPOBJ_MODULE_LEVEL,4,2        ; @AOPOBJ_MODULE_LEVEL
	.comm	_ACPI_PARSE_MODULE_LEVEL,4,2    ; @ACPI_PARSE_MODULE_LEVEL
	.comm	_AML_METHOD_INTERNAL_ONLY,4,2   ; @AML_METHOD_INTERNAL_ONLY
	.comm	_acpi_gbl_enable_interpreter_slack,8,3 ; @acpi_gbl_enable_interpreter_slack
	.comm	_ACPI_TYPE_INTEGER,4,2          ; @ACPI_TYPE_INTEGER
	.comm	_REF_DECREMENT,4,2              ; @REF_DECREMENT
	.comm	_AE_CTRL_RETURN_VALUE,4,2       ; @AE_CTRL_RETURN_VALUE
.subsections_via_symbols
