	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_ev_execute_reg_method     ## -- Begin function acpi_ev_execute_reg_method
	.p2align	4, 0x90
_acpi_ev_execute_reg_method:            ## @acpi_ev_execute_reg_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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	_ev_execute_reg_method@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ACPI_FUNCTION_TRACE
	movq	%r15, %rdi
	callq	_acpi_ns_get_secondary_object
	movq	%rax, %r12
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	cmpq	$0, (%r12)
	je	LBB0_3
LBB0_4:
	movl	$32, %edi
	callq	_ACPI_ALLOCATE_ZEROED
	movq	%rax, %rbx
	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	(%r12), %rax
	movq	%rax, (%rbx)
	movq	$0, 24(%rbx)
	leaq	-64(%rbp), %rax
	movq	%rax, 16(%rbx)
	movq	_ACPI_IGNORE_RETURN_VALUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	_ACPI_TYPE_INTEGER@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_acpi_ut_create_internal_object
	movq	%rax, -64(%rbp)
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	movl	(%r12), %edi
	callq	_acpi_ut_create_internal_object
	movq	%rax, -56(%rbp)
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:
	movl	(%r15), %eax
	movq	-64(%rbp), %rcx
	movl	%eax, (%rcx)
	movq	-56(%rbp), %rax
	movl	%r14d, (%rax)
	movq	$0, -48(%rbp)
	movq	_ACPI_TYPE_METHOD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%rbx), %rsi
	xorl	%edx, %edx
	callq	_acpi_ut_display_init_pathname
	movl	%eax, %edi
	callq	_ACPI_DEBUG_EXEC
	movq	%rbx, %rdi
	callq	_acpi_ns_evaluate
	movl	%eax, %r14d
	movq	-56(%rbp), %rdi
	callq	_acpi_ut_remove_reference
	jmp	LBB0_11
LBB0_1:
	movq	_AE_NOT_EXIST@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_return_ACPI_STATUS
	cmpq	$0, (%r12)
	jne	LBB0_4
LBB0_3:
	movq	_AE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_return_ACPI_STATUS
	jmp	LBB0_4
LBB0_7:
	movq	_AE_NO_MEMORY@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	jmp	LBB0_12
LBB0_9:
	movq	_AE_NO_MEMORY@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_11:
	movq	-64(%rbp), %rdi
	callq	_acpi_ut_remove_reference
LBB0_12:
	movq	%rbx, %rdi
	callq	_ACPI_FREE
	movl	%r14d, %edi
	callq	_return_ACPI_STATUS
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_14
## %bb.13:
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ev_execute_reg_method,4,2      ## @ev_execute_reg_method
	.comm	_AE_NOT_EXIST,4,2               ## @AE_NOT_EXIST
	.comm	_AE_OK,4,2                      ## @AE_OK
	.comm	_AE_NO_MEMORY,4,2               ## @AE_NO_MEMORY
	.comm	_ACPI_IGNORE_RETURN_VALUE,4,2   ## @ACPI_IGNORE_RETURN_VALUE
	.comm	_ACPI_TYPE_INTEGER,4,2          ## @ACPI_TYPE_INTEGER
	.comm	_ACPI_TYPE_METHOD,4,2           ## @ACPI_TYPE_METHOD
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_ev_execute_reg_method     ; -- Begin function acpi_ev_execute_reg_method
	.p2align	2
_acpi_ev_execute_reg_method:            ; @acpi_ev_execute_reg_method
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
Lloh3:
	adrp	x8, _ev_execute_reg_method@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ev_execute_reg_method@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_ACPI_FUNCTION_TRACE
	mov	x0, x21
	bl	_acpi_ns_get_secondary_object
	mov	x22, x0
	cbz	x0, LBB0_7
; %bb.1:
	ldr	x8, [x22]
	cbz	x8, LBB0_8
LBB0_2:
	mov	w0, #32
	bl	_ACPI_ALLOCATE_ZEROED
	mov	x19, x0
	cbnz	x0, LBB0_4
; %bb.3:
Lloh6:
	adrp	x8, _AE_NO_MEMORY@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AE_NO_MEMORY@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_return_ACPI_STATUS
LBB0_4:
	ldr	x8, [x22]
	str	x8, [x19]
	mov	x8, sp
Lloh9:
	adrp	x9, _ACPI_IGNORE_RETURN_VALUE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _ACPI_IGNORE_RETURN_VALUE@GOTPAGEOFF]
	stp	x8, xzr, [x19, #16]
Lloh11:
	ldr	w8, [x9]
	str	w8, [x19, #8]
Lloh12:
	adrp	x22, _ACPI_TYPE_INTEGER@GOTPAGE
Lloh13:
	ldr	x22, [x22, _ACPI_TYPE_INTEGER@GOTPAGEOFF]
	ldr	w0, [x22]
	bl	_acpi_ut_create_internal_object
	str	x0, [sp]
	cbz	x0, LBB0_9
; %bb.5:
	ldr	w0, [x22]
	bl	_acpi_ut_create_internal_object
	str	x0, [sp, #8]
	cbz	x0, LBB0_10
; %bb.6:
	ldr	w8, [x21]
	ldr	x9, [sp]
	str	w8, [x9]
	ldr	x8, [sp, #8]
	str	w20, [x8]
	str	xzr, [sp, #16]
Lloh14:
	adrp	x8, _ACPI_TYPE_METHOD@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ACPI_TYPE_METHOD@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	ldr	x1, [x19]
	mov	x2, #0
	bl	_acpi_ut_display_init_pathname
	bl	_ACPI_DEBUG_EXEC
	mov	x0, x19
	bl	_acpi_ns_evaluate
	mov	x20, x0
	ldr	x0, [sp, #8]
	bl	_acpi_ut_remove_reference
	b	LBB0_11
LBB0_7:
Lloh17:
	adrp	x8, _AE_NOT_EXIST@GOTPAGE
Lloh18:
	ldr	x8, [x8, _AE_NOT_EXIST@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	bl	_return_ACPI_STATUS
	ldr	x8, [x22]
	cbnz	x8, LBB0_2
LBB0_8:
Lloh20:
	adrp	x8, _AE_OK@GOTPAGE
Lloh21:
	ldr	x8, [x8, _AE_OK@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	bl	_return_ACPI_STATUS
	b	LBB0_2
LBB0_9:
Lloh23:
	adrp	x8, _AE_NO_MEMORY@GOTPAGE
Lloh24:
	ldr	x8, [x8, _AE_NO_MEMORY@GOTPAGEOFF]
Lloh25:
	ldr	w20, [x8]
	b	LBB0_12
LBB0_10:
Lloh26:
	adrp	x8, _AE_NO_MEMORY@GOTPAGE
Lloh27:
	ldr	x8, [x8, _AE_NO_MEMORY@GOTPAGEOFF]
Lloh28:
	ldr	w20, [x8]
LBB0_11:
	ldr	x0, [sp]
	bl	_acpi_ut_remove_reference
LBB0_12:
	mov	x0, x19
	bl	_ACPI_FREE
	mov	x0, x20
	bl	_return_ACPI_STATUS
	ldr	x8, [sp, #24]
Lloh29:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh30:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh31:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_14
; %bb.13:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_14:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_ev_execute_reg_method,4,2      ; @ev_execute_reg_method
	.comm	_AE_NOT_EXIST,4,2               ; @AE_NOT_EXIST
	.comm	_AE_OK,4,2                      ; @AE_OK
	.comm	_AE_NO_MEMORY,4,2               ; @AE_NO_MEMORY
	.comm	_ACPI_IGNORE_RETURN_VALUE,4,2   ; @ACPI_IGNORE_RETURN_VALUE
	.comm	_ACPI_TYPE_INTEGER,4,2          ; @ACPI_TYPE_INTEGER
	.comm	_ACPI_TYPE_METHOD,4,2           ; @ACPI_TYPE_METHOD
.subsections_via_symbols
