	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function acpi_ps_complete_final_op
_acpi_ps_complete_final_op:             ## @acpi_ps_complete_final_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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r13
	movq	%rdi, %r14
	movq	%rsi, -48(%rbp)
	movq	_ps_complete_final_op@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_ACPI_FUNCTION_TRACE_PTR
	movl	%r13d, %edi
	callq	_ACPI_DEBUG_PRINT
	leaq	16(%r14), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	leaq	12(%r14), %r15
	leaq	8(%r14), %r12
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
LBB0_18:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%rbx, %rdi
	leaq	-48(%rbp), %rsi
	movq	%r15, %rdx
	movq	%r12, %rcx
	callq	_acpi_ps_pop_scope
	movq	-48(%rbp), %r13
	testq	%r13, %r13
	je	LBB0_19
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
	testq	%r13, %r13
	je	LBB0_2
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpq	$0, (%r14)
	je	LBB0_16
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r13, 32(%r14)
	movl	(%r13), %edi
	callq	_acpi_ps_get_opcode_info
	movl	%eax, 24(%r14)
	movq	-48(%rbp), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%r14)
	movq	%r14, %rdi
	callq	*(%r14)
	movq	-48(%rbp), %rsi
	movq	%r14, %rdi
	movq	%rax, %rdx
	callq	_acpi_ps_next_parse_state
	movq	%rax, %rbx
	movq	_AE_CTRL_PENDING@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	jne	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_AE_OK@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	%r14, %rdi
	leaq	-48(%rbp), %rsi
	callq	_acpi_ps_complete_op
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_ACPI_FAILURE
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%rbx, %rdi
	callq	_return_ACPI_STATUS
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_AE_CTRL_TERMINATE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jne	LBB0_13
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_AE_OK@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	-48(%rbp), %rsi
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_9 Depth=2
	movq	%r13, %rdi
	leaq	-48(%rbp), %rsi
	movq	%r15, %rdx
	movq	%r12, %rcx
	callq	_acpi_ps_pop_scope
	movq	-48(%rbp), %rsi
	testq	%rsi, %rsi
	je	LBB0_15
LBB0_9:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	testq	%rsi, %rsi
	je	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=2
	movq	%r14, %rdi
	callq	_acpi_ps_complete_this_op
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_ACPI_FAILURE
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=2
	movq	%rbx, %rdi
	callq	_return_ACPI_STATUS
	jmp	LBB0_12
LBB0_13:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_ACPI_FAILURE
	testq	%rax, %rax
	je	LBB0_16
## %bb.14:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	-48(%rbp), %rsi
	movq	%r14, %rdi
	callq	_acpi_ps_complete_this_op
LBB0_15:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	callq	_return_ACPI_STATUS
LBB0_16:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	-48(%rbp), %rsi
	movq	%r14, %rdi
	callq	_acpi_ps_complete_this_op
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_ACPI_FAILURE
	testq	%rax, %rax
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	%r13, %rdi
	callq	_return_ACPI_STATUS
	jmp	LBB0_18
LBB0_19:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_return_ACPI_STATUS
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ps_complete_final_op,4,2       ## @ps_complete_final_op
	.comm	_ACPI_DB_PARSE,4,2              ## @ACPI_DB_PARSE
	.comm	_AE_CTRL_PENDING,8,3            ## @AE_CTRL_PENDING
	.comm	_AE_OK,8,3                      ## @AE_OK
	.comm	_AE_CTRL_TERMINATE,8,3          ## @AE_CTRL_TERMINATE
	.no_dead_strip	_acpi_ps_complete_final_op
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function acpi_ps_complete_final_op
_acpi_ps_complete_final_op:             ; @acpi_ps_complete_final_op
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x23, x2
	mov	x24, x1
	mov	x19, x0
	str	x1, [sp, #8]
Lloh0:
	adrp	x8, _ps_complete_final_op@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ps_complete_final_op@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_ACPI_FUNCTION_TRACE_PTR
	mov	x0, x24
	bl	_ACPI_DEBUG_PRINT
	add	x20, x19, #16
	add	x21, x19, #12
	add	x22, x19, #8
Lloh3:
	adrp	x25, _AE_CTRL_PENDING@GOTPAGE
Lloh4:
	ldr	x25, [x25, _AE_CTRL_PENDING@GOTPAGEOFF]
Lloh5:
	adrp	x26, _AE_OK@GOTPAGE
Lloh6:
	ldr	x26, [x26, _AE_OK@GOTPAGEOFF]
Lloh7:
	adrp	x27, _AE_CTRL_TERMINATE@GOTPAGE
Lloh8:
	ldr	x27, [x27, _AE_CTRL_TERMINATE@GOTPAGEOFF]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	x1, sp, #8
	mov	x0, x20
	mov	x2, x21
	mov	x3, x22
	bl	_acpi_ps_pop_scope
	ldr	x24, [sp, #8]
	cbz	x24, LBB0_18
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_10 Depth 2
	cbz	x24, LBB0_1
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x19]
	cbz	x8, LBB0_16
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	str	x24, [x19, #32]
	ldr	w0, [x24]
	bl	_acpi_ps_get_opcode_info
	str	w0, [x19, #24]
	ldr	x8, [sp, #8]
	ldr	w8, [x8]
	str	w8, [x19, #20]
	ldr	x8, [x19]
	mov	x0, x19
	blr	x8
	mov	x2, x0
	ldr	x1, [sp, #8]
	mov	x0, x19
	bl	_acpi_ps_next_parse_state
	mov	x23, x0
	ldr	x8, [x25]
	cmp	x0, x8
	b.ne	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x2, [x26]
	add	x1, sp, #8
	mov	x0, x19
	bl	_acpi_ps_complete_op
	mov	x23, x0
	bl	_ACPI_FAILURE
	cbz	x0, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x23
	bl	_return_ACPI_STATUS
LBB0_7:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x27]
	cmp	x23, x8
	b.ne	LBB0_13
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x23, [x26]
	ldr	x1, [sp, #8]
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=2
	add	x1, sp, #8
	mov	x0, x20
	mov	x2, x21
	mov	x3, x22
	bl	_acpi_ps_pop_scope
	ldr	x1, [sp, #8]
	cbz	x1, LBB0_15
LBB0_10:                                ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cbz	x1, LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=2
	mov	x0, x19
	bl	_acpi_ps_complete_this_op
	mov	x24, x0
	bl	_ACPI_FAILURE
	cbz	x0, LBB0_9
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=2
	mov	x0, x24
	bl	_return_ACPI_STATUS
	b	LBB0_9
LBB0_13:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x23
	bl	_ACPI_FAILURE
	cbz	x0, LBB0_16
; %bb.14:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x1, [sp, #8]
	mov	x0, x19
	bl	_acpi_ps_complete_this_op
LBB0_15:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x23
	bl	_return_ACPI_STATUS
LBB0_16:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x1, [sp, #8]
	mov	x0, x19
	bl	_acpi_ps_complete_this_op
	mov	x24, x0
	bl	_ACPI_FAILURE
	cbz	x0, LBB0_1
; %bb.17:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x24
	bl	_return_ACPI_STATUS
	b	LBB0_1
LBB0_18:
	mov	x0, x23
	bl	_return_ACPI_STATUS
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ps_complete_final_op,4,2       ; @ps_complete_final_op
	.comm	_ACPI_DB_PARSE,4,2              ; @ACPI_DB_PARSE
	.comm	_AE_CTRL_PENDING,8,3            ; @AE_CTRL_PENDING
	.comm	_AE_OK,8,3                      ; @AE_OK
	.comm	_AE_CTRL_TERMINATE,8,3          ; @AE_CTRL_TERMINATE
	.no_dead_strip	_acpi_ps_complete_final_op
.subsections_via_symbols
