	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_ds_exec_begin_op          ## -- Begin function acpi_ds_exec_begin_op
	.p2align	4, 0x90
_acpi_ds_exec_begin_op:                 ## @acpi_ds_exec_begin_op
	.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	%rsi, %r12
	movq	%rdi, %rbx
	movq	_AE_OK@GOTPCREL(%rip), %r13
	movl	(%r13), %r14d
	movq	_ds_exec_begin_op@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_ACPI_FUNCTION_TRACE_PTR
	movq	40(%rbx), %r15
	testq	%r15, %r15
	je	LBB0_1
LBB0_4:
	cmpq	32(%rbx), %r15
	jne	LBB0_8
## %bb.5:
	testq	%r12, %r12
	je	LBB0_7
## %bb.6:
	movq	%r15, (%r12)
LBB0_7:
	movl	(%r13), %edi
	callq	_return_ACPI_STATUS
LBB0_8:
	movq	24(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_11
## %bb.9:
	movq	8(%rax), %rax
	movq	_ACPI_CONTROL_CONDITIONAL_EXECUTING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_11
## %bb.10:
	movl	%ebx, %edi
	callq	_ACPI_DEBUG_PRINT
	movq	_ACPI_CONTROL_PREDICATE_EXECUTING@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	24(%rbx), %rcx
	movq	%rax, 8(%rcx)
	movq	%r15, (%rcx)
LBB0_11:
	movq	(%r15), %rcx
	movq	_AML_INT_NAMEPATH_OP@GOTPCREL(%rip), %rdx
	movl	$128, %eax
	cmpq	(%rdx), %rcx
	je	LBB0_13
## %bb.12:
	movq	16(%rbx), %rax
	movl	(%rax), %eax
LBB0_13:
	cmpl	$128, %eax
	je	LBB0_16
## %bb.14:
	cmpl	$131, %eax
	jne	LBB0_19
## %bb.15:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_acpi_ds_exec_begin_control_op
	jmp	LBB0_18
LBB0_1:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_acpi_ds_load2_begin_op
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_ACPI_FAILURE
	testq	%rax, %rax
	jne	LBB0_20
## %bb.2:
	movq	(%r12), %r15
	movq	%r15, 40(%rbx)
	movq	(%r15), %rax
	movq	%rax, (%rbx)
	movq	(%r15), %rdi
	callq	_acpi_ps_get_opcode_info
	movq	%rax, 16(%rbx)
	movl	4(%rax), %edi
	callq	_acpi_ns_opens_scope
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	16(%rbx), %rax
	movl	4(%rax), %edi
	callq	_acpi_ut_get_type_name
	movl	%r15d, %edi
	callq	_ACPI_DEBUG_PRINT
	movq	%rbx, %rdi
	callq	_acpi_ds_scope_stack_pop
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_ACPI_FAILURE
	testq	%rax, %rax
	jne	LBB0_20
	jmp	LBB0_4
LBB0_16:
	movq	_ACPI_WALK_METHOD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 8(%rbx)
	je	LBB0_19
## %bb.17:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_acpi_ds_load2_begin_op
LBB0_18:
	movl	%eax, %r14d
LBB0_19:
	movl	%r14d, %edi
	callq	_return_ACPI_STATUS
LBB0_20:
	movl	%r14d, %edi
	movq	%rbx, %rsi
	callq	_acpi_ds_method_error
	movl	%eax, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_return_ACPI_STATUS             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AE_OK,4,2                      ## @AE_OK
	.comm	_ds_exec_begin_op,4,2           ## @ds_exec_begin_op
	.comm	_ACPI_DB_DISPATCH,4,2           ## @ACPI_DB_DISPATCH
	.comm	_ACPI_CONTROL_CONDITIONAL_EXECUTING,8,3 ## @ACPI_CONTROL_CONDITIONAL_EXECUTING
	.comm	_ACPI_DB_EXEC,4,2               ## @ACPI_DB_EXEC
	.comm	_ACPI_CONTROL_PREDICATE_EXECUTING,8,3 ## @ACPI_CONTROL_PREDICATE_EXECUTING
	.comm	_AML_INT_NAMEPATH_OP,8,3        ## @AML_INT_NAMEPATH_OP
	.comm	_ACPI_WALK_METHOD,4,2           ## @ACPI_WALK_METHOD
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_ds_exec_begin_op          ; -- Begin function acpi_ds_exec_begin_op
	.p2align	2
_acpi_ds_exec_begin_op:                 ; @acpi_ds_exec_begin_op
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x22, x1
	mov	x19, x0
Lloh0:
	adrp	x23, _AE_OK@GOTPAGE
Lloh1:
	ldr	x23, [x23, _AE_OK@GOTPAGEOFF]
	ldr	w20, [x23]
Lloh2:
	adrp	x8, _ds_exec_begin_op@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ds_exec_begin_op@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_ACPI_FUNCTION_TRACE_PTR
	ldr	x21, [x19, #40]
	cbz	x21, LBB0_11
LBB0_1:
	ldr	x8, [x19, #32]
	cmp	x21, x8
	b.ne	LBB0_5
; %bb.2:
	cbz	x22, LBB0_4
; %bb.3:
	str	x21, [x22]
LBB0_4:
	ldr	w0, [x23]
	bl	_return_ACPI_STATUS
LBB0_5:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_8
; %bb.6:
	ldr	x8, [x8, #8]
Lloh5:
	adrp	x9, _ACPI_CONTROL_CONDITIONAL_EXECUTING@GOTPAGE
Lloh6:
	ldr	x9, [x9, _ACPI_CONTROL_CONDITIONAL_EXECUTING@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.7:
	mov	x0, x19
	bl	_ACPI_DEBUG_PRINT
Lloh8:
	adrp	x8, _ACPI_CONTROL_PREDICATE_EXECUTING@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ACPI_CONTROL_PREDICATE_EXECUTING@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	ldr	x9, [x19, #24]
	stp	x21, x8, [x9]
LBB0_8:
	ldr	x8, [x19, #16]
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _AML_INT_NAMEPATH_OP@GOTPAGE
Lloh12:
	ldr	x9, [x9, _AML_INT_NAMEPATH_OP@GOTPAGEOFF]
	ldr	x10, [x21]
Lloh13:
	ldr	x9, [x9]
	cmp	x10, x9
	mov	w9, #128
	csel	w8, w9, w8, eq
	cmp	w8, #128
	b.eq	LBB0_14
; %bb.9:
	cmp	w8, #131
	b.ne	LBB0_17
; %bb.10:
	mov	x0, x19
	mov	x1, x21
	bl	_acpi_ds_exec_begin_control_op
	b	LBB0_16
LBB0_11:
	mov	x0, x19
	mov	x1, x22
	bl	_acpi_ds_load2_begin_op
	mov	x20, x0
	bl	_ACPI_FAILURE
	cbnz	x0, LBB0_18
; %bb.12:
	ldr	x21, [x22]
	str	x21, [x19, #40]
	ldr	x8, [x21]
	str	x8, [x19]
	ldr	x0, [x21]
	bl	_acpi_ps_get_opcode_info
	str	x0, [x19, #16]
	ldr	w0, [x0, #4]
	bl	_acpi_ns_opens_scope
	cbz	x0, LBB0_1
; %bb.13:
	ldr	x8, [x19, #16]
	ldr	w0, [x8, #4]
	bl	_acpi_ut_get_type_name
	mov	x0, x21
	bl	_ACPI_DEBUG_PRINT
	mov	x0, x19
	bl	_acpi_ds_scope_stack_pop
	mov	x20, x0
	bl	_ACPI_FAILURE
	cbnz	x0, LBB0_18
	b	LBB0_1
LBB0_14:
	ldr	w8, [x19, #8]
Lloh14:
	adrp	x9, _ACPI_WALK_METHOD@GOTPAGE
Lloh15:
	ldr	x9, [x9, _ACPI_WALK_METHOD@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_17
; %bb.15:
	mov	x0, x19
	mov	x1, #0
	bl	_acpi_ds_load2_begin_op
LBB0_16:
	mov	x20, x0
LBB0_17:
	mov	x0, x20
	bl	_return_ACPI_STATUS
LBB0_18:
	mov	x0, x20
	mov	x1, x19
	bl	_acpi_ds_method_error
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_return_ACPI_STATUS
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_AE_OK,4,2                      ; @AE_OK
	.comm	_ds_exec_begin_op,4,2           ; @ds_exec_begin_op
	.comm	_ACPI_DB_DISPATCH,4,2           ; @ACPI_DB_DISPATCH
	.comm	_ACPI_CONTROL_CONDITIONAL_EXECUTING,8,3 ; @ACPI_CONTROL_CONDITIONAL_EXECUTING
	.comm	_ACPI_DB_EXEC,4,2               ; @ACPI_DB_EXEC
	.comm	_ACPI_CONTROL_PREDICATE_EXECUTING,8,3 ; @ACPI_CONTROL_PREDICATE_EXECUTING
	.comm	_AML_INT_NAMEPATH_OP,8,3        ; @AML_INT_NAMEPATH_OP
	.comm	_ACPI_WALK_METHOD,4,2           ; @ACPI_WALK_METHOD
.subsections_via_symbols
