	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_ps_parse_loop             ## -- Begin function acpi_ps_parse_loop
	.p2align	4, 0x90
_acpi_ps_parse_loop:                    ## @acpi_ps_parse_loop
	.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	%rdi, %r12
	movq	_AE_OK@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	$0, -48(%rbp)
	movq	_ps_parse_loop@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r12, %rsi
	callq	_ACPI_FUNCTION_TRACE_PTR
	cmpq	$0, 96(%r12)
	jne	LBB0_2
## %bb.1:
	movq	_AE_BAD_PARAMETER@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_return_ACPI_STATUS
LBB0_2:
	leaq	72(%r12), %r14
	leaq	44(%r12), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	$0, 44(%r12)
	movq	_ACPI_WALK_METHOD_RESTART@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r12)
	je	LBB0_17
## %bb.3:
	movq	%r14, %rdi
	callq	_acpi_ps_has_completed_scope
	testq	%rax, %rax
	je	LBB0_16
## %bb.4:
	movq	88(%r12), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_15
## %bb.5:
	movq	(%rax), %rax
	movq	_AML_IF_OP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_7
## %bb.6:
	movq	_AML_WHILE_OP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_15
LBB0_7:
	movq	64(%r12), %rax
	testq	%rax, %rax
	je	LBB0_15
## %bb.8:
	movq	(%rax), %rax
	movq	_ACPI_CONTROL_PREDICATE_EXECUTING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_15
## %bb.9:
	movq	$0, 24(%r12)
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ACPI_TO_POINTER
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_acpi_ds_get_predicate_value
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_ACPI_FAILURE
	testq	%rax, %rax
	je	LBB0_14
## %bb.10:
	movq	_AE_CODE_MASK@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	andq	%rbx, %rax
	movq	_AE_CODE_CONTROL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_14
## %bb.11:
	movq	_AE_AML_NO_RETURN_VALUE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jne	LBB0_13
## %bb.12:
	leaq	L_.str(%rip), %rdi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_ACPI_EXCEPTION
LBB0_13:
	leaq	L_.str.1(%rip), %rdi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_ACPI_EXCEPTION
	movq	%rbx, %rdi
	callq	_return_ACPI_STATUS
LBB0_14:
	movq	%r12, %rdi
	xorl	%esi, %esi
	movq	%rbx, %rdx
	callq	_acpi_ps_next_parse_state
	movq	%rax, %rbx
LBB0_15:
	leaq	40(%r12), %rcx
	leaq	-48(%rbp), %rsi
	movq	%r14, %rdi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	callq	_acpi_ps_pop_scope
	movl	-48(%rbp), %edi
	callq	_ACPI_DEBUG_PRINT
	cmpq	$0, -48(%rbp)
	setne	%al
	jmp	LBB0_18
LBB0_16:
	movq	56(%r12), %rax
	testq	%rax, %rax
	je	LBB0_17
## %bb.51:
	movq	%rax, -48(%rbp)
	movl	52(%r12), %eax
	movl	%eax, 44(%r12)
	leaq	80(%r12), %r13
	movq	72(%r12), %r15
	movb	$1, %al
	jmp	LBB0_20
LBB0_17:
	xorl	%eax, %eax
LBB0_18:
	leaq	80(%r12), %r13
	movq	72(%r12), %r15
	cmpq	80(%r12), %r15
	jb	LBB0_20
## %bb.19:
	testb	%al, %al
	je	LBB0_37
	jmp	LBB0_20
LBB0_36:                                ##   in Loop: Header=BB0_20 Depth=1
	movq	$0, -48(%rbp)
	movq	(%r14), %r15
	xorl	%eax, %eax
	cmpq	(%r13), %r15
	jae	LBB0_37
	.p2align	4, 0x90
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	testb	$1, %al
	je	LBB0_21
LBB0_32:                                ##   in Loop: Header=BB0_20 Depth=1
	movl	$0, 40(%r12)
	cmpl	$0, 44(%r12)
	je	LBB0_38
## %bb.33:                              ##   in Loop: Header=BB0_20 Depth=1
	movq	-48(%rbp), %rdx
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_acpi_ps_get_arguments
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_ACPI_FAILURE
	testq	%rax, %rax
	jne	LBB0_26
## %bb.34:                              ##   in Loop: Header=BB0_20 Depth=1
	movl	40(%r12), %ecx
	testl	%ecx, %ecx
	je	LBB0_38
## %bb.35:                              ##   in Loop: Header=BB0_20 Depth=1
	movq	-48(%rbp), %rsi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_acpi_ps_push_scope
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_ACPI_FAILURE
	testq	%rax, %rax
	jne	LBB0_26
	jmp	LBB0_36
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_20 Depth=1
	movq	%r12, %rdi
	movq	%r15, %rsi
	leaq	-48(%rbp), %rdx
	callq	_acpi_ps_create_op
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_ACPI_FAILURE
	testq	%rax, %rax
	je	LBB0_30
## %bb.22:                              ##   in Loop: Header=BB0_20 Depth=1
	movq	_AE_CTRL_PARSE_CONTINUE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	je	LBB0_28
## %bb.23:                              ##   in Loop: Header=BB0_20 Depth=1
	movq	_AE_CTRL_PARSE_PENDING@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	je	LBB0_25
	jmp	LBB0_26
	.p2align	4, 0x90
LBB0_38:                                ##   in Loop: Header=BB0_20 Depth=1
	movq	-48(%rbp), %rax
	movq	(%rax), %rdi
	callq	_acpi_ps_get_opcode_info
	movq	%rax, 32(%r12)
	movl	(%rax), %eax
	movq	_AML_NAMED@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_44
## %bb.39:                              ##   in Loop: Header=BB0_20 Depth=1
	movq	_acpi_gbl_depth@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rcx
	testq	%rcx, %rcx
	je	LBB0_41
## %bb.40:                              ##   in Loop: Header=BB0_20 Depth=1
	decq	%rcx
	movq	%rcx, (%rdx)
LBB0_41:                                ##   in Loop: Header=BB0_20 Depth=1
	movq	-48(%rbp), %rcx
	movq	(%rcx), %rdx
	movq	_AML_REGION_OP@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	je	LBB0_43
## %bb.42:                              ##   in Loop: Header=BB0_20 Depth=1
	movq	_AML_DATA_REGION_OP@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	jne	LBB0_44
LBB0_43:                                ##   in Loop: Header=BB0_20 Depth=1
	movq	72(%r12), %rax
	subq	%rdx, %rax
	sarq	$2, %rax
	movq	%rax, 8(%rcx)
	movq	32(%r12), %rax
	movl	(%rax), %eax
LBB0_44:                                ##   in Loop: Header=BB0_20 Depth=1
	movq	_AML_CREATE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_45
## %bb.46:                              ##   in Loop: Header=BB0_20 Depth=1
	movq	(%r14), %rcx
	movq	-48(%rbp), %rax
	subq	(%rax), %rcx
	sarq	$2, %rcx
	movq	%rcx, 8(%rax)
	jmp	LBB0_47
LBB0_30:                                ##   in Loop: Header=BB0_20 Depth=1
	movl	48(%r12), %edi
	movq	-48(%rbp), %rax
	movl	%edi, 8(%rax)
	cmpq	$0, 32(%r12)
	je	LBB0_32
## %bb.31:                              ##   in Loop: Header=BB0_20 Depth=1
	callq	_ACPI_DEBUG_PRINT
	jmp	LBB0_32
LBB0_45:                                ##   in Loop: Header=BB0_20 Depth=1
	movq	-48(%rbp), %rax
LBB0_47:                                ##   in Loop: Header=BB0_20 Depth=1
	movq	(%rax), %rcx
	movq	_AML_BANK_FIELD_OP@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_49
## %bb.48:                              ##   in Loop: Header=BB0_20 Depth=1
	movq	(%r14), %rdx
	subq	%rcx, %rdx
	sarq	$2, %rdx
	movq	%rdx, 8(%rax)
LBB0_49:                                ##   in Loop: Header=BB0_20 Depth=1
	movq	8(%r12), %rcx
	testq	%rcx, %rcx
	je	LBB0_26
## %bb.50:                              ##   in Loop: Header=BB0_20 Depth=1
	movq	%rax, 24(%r12)
	movq	(%rax), %rax
	movq	%rax, 16(%r12)
	movq	%r12, %rdi
	callq	*%rcx
	movq	-48(%rbp), %rsi
	movq	%r12, %rdi
	movq	%rax, %rdx
	callq	_acpi_ps_next_parse_state
	movq	%rax, %rbx
	movq	_AE_CTRL_PENDING@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jne	LBB0_26
LBB0_25:                                ##   in Loop: Header=BB0_20 Depth=1
	movq	_AE_OK@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
LBB0_26:                                ##   in Loop: Header=BB0_20 Depth=1
	movq	%r12, %rdi
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdx
	callq	_acpi_ps_complete_op
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_ACPI_FAILURE
	testq	%rax, %rax
	je	LBB0_28
## %bb.27:                              ##   in Loop: Header=BB0_20 Depth=1
	movq	%rbx, %rdi
	callq	_return_ACPI_STATUS
LBB0_28:                                ##   in Loop: Header=BB0_20 Depth=1
	movq	-48(%rbp), %rcx
	movq	(%r14), %r15
	testq	%rcx, %rcx
	setne	%al
	cmpq	(%r13), %r15
	jb	LBB0_20
## %bb.29:                              ##   in Loop: Header=BB0_20 Depth=1
	testq	%rcx, %rcx
	jne	LBB0_20
LBB0_37:
	movq	%r12, %rdi
	xorl	%esi, %esi
	movq	%rbx, %rdx
	callq	_acpi_ps_complete_final_op
	movq	%rax, %rdi
	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	_AE_OK,8,3                      ## @AE_OK
	.comm	_ps_parse_loop,4,2              ## @ps_parse_loop
	.comm	_AE_BAD_PARAMETER,8,3           ## @AE_BAD_PARAMETER
	.comm	_ACPI_WALK_METHOD_RESTART,4,2   ## @ACPI_WALK_METHOD_RESTART
	.comm	_AML_IF_OP,8,3                  ## @AML_IF_OP
	.comm	_AML_WHILE_OP,8,3               ## @AML_WHILE_OP
	.comm	_ACPI_CONTROL_PREDICATE_EXECUTING,8,3 ## @ACPI_CONTROL_PREDICATE_EXECUTING
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_AE_CODE_MASK,8,3               ## @AE_CODE_MASK
	.comm	_AE_CODE_CONTROL,8,3            ## @AE_CODE_CONTROL
	.comm	_AE_AML_NO_RETURN_VALUE,8,3     ## @AE_AML_NO_RETURN_VALUE
	.comm	_AE_INFO,4,2                    ## @AE_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invoked method did not return a value"

L_.str.1:                               ## @.str.1
	.asciz	"GetPredicate Failed"

	.comm	_ACPI_DB_PARSE,4,2              ## @ACPI_DB_PARSE
	.comm	_AE_CTRL_PARSE_CONTINUE,8,3     ## @AE_CTRL_PARSE_CONTINUE
	.comm	_AE_CTRL_PARSE_PENDING,8,3      ## @AE_CTRL_PARSE_PENDING
	.comm	_AML_NAMED,4,2                  ## @AML_NAMED
	.comm	_acpi_gbl_depth,8,3             ## @acpi_gbl_depth
	.comm	_AML_REGION_OP,8,3              ## @AML_REGION_OP
	.comm	_AML_DATA_REGION_OP,8,3         ## @AML_DATA_REGION_OP
	.comm	_AML_CREATE,4,2                 ## @AML_CREATE
	.comm	_AML_BANK_FIELD_OP,8,3          ## @AML_BANK_FIELD_OP
	.comm	_AE_CTRL_PENDING,8,3            ## @AE_CTRL_PENDING
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_ps_parse_loop             ; -- Begin function acpi_ps_parse_loop
	.p2align	2
_acpi_ps_parse_loop:                    ; @acpi_ps_parse_loop
	.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	x19, x0
Lloh0:
	adrp	x8, _AE_OK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AE_OK@GOTPAGEOFF]
Lloh2:
	ldr	x22, [x8]
	str	xzr, [sp, #8]
Lloh3:
	adrp	x8, _ps_parse_loop@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ps_parse_loop@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_ACPI_FUNCTION_TRACE_PTR
	ldr	x8, [x19, #96]
	cbnz	x8, LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _AE_BAD_PARAMETER@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AE_BAD_PARAMETER@GOTPAGEOFF]
Lloh8:
	ldr	x0, [x8]
	bl	_return_ACPI_STATUS
LBB0_2:
	mov	x20, x19
	ldr	w8, [x20], #72
	mov	x21, x19
	str	wzr, [x21, #44]!
Lloh9:
	adrp	x9, _ACPI_WALK_METHOD_RESTART@GOTPAGE
Lloh10:
	ldr	x9, [x9, _ACPI_WALK_METHOD_RESTART@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_15
; %bb.3:
	mov	x0, x20
	bl	_acpi_ps_has_completed_scope
	cbz	x0, LBB0_17
; %bb.4:
	ldr	x8, [x19, #88]
	ldr	x8, [x8]
	cbz	x8, LBB0_14
; %bb.5:
	ldr	x8, [x8]
Lloh12:
	adrp	x9, _AML_IF_OP@GOTPAGE
Lloh13:
	ldr	x9, [x9, _AML_IF_OP@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
Lloh15:
	adrp	x10, _AML_WHILE_OP@GOTPAGE
Lloh16:
	ldr	x10, [x10, _AML_WHILE_OP@GOTPAGEOFF]
Lloh17:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_14
; %bb.6:
	ldr	x8, [x19, #64]
	cbz	x8, LBB0_14
; %bb.7:
	ldr	x8, [x8]
Lloh18:
	adrp	x9, _ACPI_CONTROL_PREDICATE_EXECUTING@GOTPAGE
Lloh19:
	ldr	x9, [x9, _ACPI_CONTROL_PREDICATE_EXECUTING@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_14
; %bb.8:
	str	xzr, [x19, #24]
Lloh21:
	adrp	x8, _TRUE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	bl	_ACPI_TO_POINTER
	mov	x1, x0
	mov	x0, x19
	bl	_acpi_ds_get_predicate_value
	mov	x22, x0
	bl	_ACPI_FAILURE
	cbz	x0, LBB0_13
; %bb.9:
Lloh24:
	adrp	x8, _AE_CODE_MASK@GOTPAGE
Lloh25:
	ldr	x8, [x8, _AE_CODE_MASK@GOTPAGEOFF]
Lloh26:
	ldr	x8, [x8]
	and	x8, x8, x22
Lloh27:
	adrp	x9, _AE_CODE_CONTROL@GOTPAGE
Lloh28:
	ldr	x9, [x9, _AE_CODE_CONTROL@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_13
; %bb.10:
Lloh30:
	adrp	x8, _AE_AML_NO_RETURN_VALUE@GOTPAGE
Lloh31:
	ldr	x8, [x8, _AE_AML_NO_RETURN_VALUE@GOTPAGEOFF]
Lloh32:
	ldr	x8, [x8]
	cmp	x22, x8
	b.ne	LBB0_12
; %bb.11:
Lloh33:
	adrp	x0, l_.str@PAGE
Lloh34:
	add	x0, x0, l_.str@PAGEOFF
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_ACPI_EXCEPTION
LBB0_12:
Lloh35:
	adrp	x0, l_.str.1@PAGE
Lloh36:
	add	x0, x0, l_.str.1@PAGEOFF
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_ACPI_EXCEPTION
	mov	x0, x22
	bl	_return_ACPI_STATUS
LBB0_13:
	mov	x0, x19
	mov	x1, #0
	mov	x2, x22
	bl	_acpi_ps_next_parse_state
	mov	x22, x0
LBB0_14:
	add	x3, x19, #40
	add	x1, sp, #8
	mov	x0, x20
	mov	x2, x21
	bl	_acpi_ps_pop_scope
	ldr	w0, [sp, #8]
	bl	_ACPI_DEBUG_PRINT
	ldr	x8, [sp, #8]
	cmp	x8, #0
	cset	w8, ne
	b	LBB0_16
LBB0_15:
	mov	w8, #0
LBB0_16:
	mov	x25, x19
	ldr	x9, [x25, #80]!
	ldur	x23, [x25, #-8]
	cmp	x23, x9
	ccmp	w8, #0, #0, hs
	b.ne	LBB0_19
	b	LBB0_48
LBB0_17:
	ldr	x8, [x19, #56]
	cbz	x8, LBB0_16
; %bb.18:
	str	x8, [sp, #8]
	ldr	w8, [x19, #52]
	str	w8, [x19, #44]
	add	x25, x19, #80
	ldr	x23, [x19, #72]
	mov	w8, #1
LBB0_19:
Lloh37:
	adrp	x27, _AML_CREATE@GOTPAGE
Lloh38:
	ldr	x27, [x27, _AML_CREATE@GOTPAGEOFF]
Lloh39:
	adrp	x28, _AML_BANK_FIELD_OP@GOTPAGE
Lloh40:
	ldr	x28, [x28, _AML_BANK_FIELD_OP@GOTPAGEOFF]
Lloh41:
	adrp	x24, _acpi_gbl_depth@GOTPAGE
Lloh42:
	ldr	x24, [x24, _acpi_gbl_depth@GOTPAGEOFF]
Lloh43:
	adrp	x26, _AE_CTRL_PARSE_CONTINUE@GOTPAGE
Lloh44:
	ldr	x26, [x26, _AE_CTRL_PARSE_CONTINUE@GOTPAGEOFF]
	b	LBB0_21
LBB0_20:                                ;   in Loop: Header=BB0_21 Depth=1
	mov	w8, #0
	str	xzr, [sp, #8]
	ldr	x23, [x20]
	ldr	x9, [x25]
	cmp	x23, x9
	b.hs	LBB0_48
LBB0_21:                                ; =>This Inner Loop Header: Depth=1
	tbz	w8, #0, LBB0_26
LBB0_22:                                ;   in Loop: Header=BB0_21 Depth=1
	str	wzr, [x19, #40]
	ldr	w8, [x19, #44]
	cbz	w8, LBB0_29
; %bb.23:                               ;   in Loop: Header=BB0_21 Depth=1
	ldr	x2, [sp, #8]
	mov	x0, x19
	mov	x1, x23
	bl	_acpi_ps_get_arguments
	mov	x22, x0
	bl	_ACPI_FAILURE
	cbnz	x0, LBB0_43
; %bb.24:                               ;   in Loop: Header=BB0_21 Depth=1
	ldr	w3, [x19, #40]
	cbz	w3, LBB0_29
; %bb.25:                               ;   in Loop: Header=BB0_21 Depth=1
	ldr	x1, [sp, #8]
	ldr	w2, [x21]
	mov	x0, x20
	bl	_acpi_ps_push_scope
	mov	x22, x0
	bl	_ACPI_FAILURE
	cbnz	x0, LBB0_43
	b	LBB0_20
LBB0_26:                                ;   in Loop: Header=BB0_21 Depth=1
	add	x2, sp, #8
	mov	x0, x19
	mov	x1, x23
	bl	_acpi_ps_create_op
	mov	x22, x0
	bl	_ACPI_FAILURE
	cbz	x0, LBB0_36
; %bb.27:                               ;   in Loop: Header=BB0_21 Depth=1
	ldr	x8, [x26]
	cmp	x22, x8
	b.eq	LBB0_46
; %bb.28:                               ;   in Loop: Header=BB0_21 Depth=1
Lloh45:
	adrp	x8, _AE_CTRL_PARSE_PENDING@GOTPAGE
Lloh46:
	ldr	x8, [x8, _AE_CTRL_PARSE_PENDING@GOTPAGEOFF]
Lloh47:
	ldr	x8, [x8]
Lloh48:
	adrp	x9, _AE_OK@GOTPAGE
Lloh49:
	ldr	x9, [x9, _AE_OK@GOTPAGEOFF]
Lloh50:
	ldr	x9, [x9]
	cmp	x22, x8
	csel	x2, x9, x22, eq
	add	x1, sp, #8
	mov	x0, x19
	b	LBB0_44
LBB0_29:                                ;   in Loop: Header=BB0_21 Depth=1
	ldr	x8, [sp, #8]
	ldr	x0, [x8]
	bl	_acpi_ps_get_opcode_info
	str	x0, [x19, #32]
	ldr	w8, [x0]
Lloh51:
	adrp	x9, _AML_NAMED@GOTPAGE
Lloh52:
	ldr	x9, [x9, _AML_NAMED@GOTPAGEOFF]
Lloh53:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_34
; %bb.30:                               ;   in Loop: Header=BB0_21 Depth=1
	ldr	x9, [x24]
	cbz	x9, LBB0_32
; %bb.31:                               ;   in Loop: Header=BB0_21 Depth=1
	sub	x9, x9, #1
	str	x9, [x24]
LBB0_32:                                ;   in Loop: Header=BB0_21 Depth=1
	ldr	x9, [sp, #8]
	ldr	x10, [x9]
Lloh54:
	adrp	x11, _AML_REGION_OP@GOTPAGE
Lloh55:
	ldr	x11, [x11, _AML_REGION_OP@GOTPAGEOFF]
Lloh56:
	ldr	x11, [x11]
Lloh57:
	adrp	x12, _AML_DATA_REGION_OP@GOTPAGE
Lloh58:
	ldr	x12, [x12, _AML_DATA_REGION_OP@GOTPAGEOFF]
Lloh59:
	ldr	x12, [x12]
	cmp	x10, x11
	ccmp	x10, x12, #4, ne
	b.ne	LBB0_34
; %bb.33:                               ;   in Loop: Header=BB0_21 Depth=1
	ldr	x8, [x19, #72]
	sub	x8, x8, x10
	asr	x8, x8, #2
	str	x8, [x9, #8]
	ldr	x8, [x19, #32]
	ldr	w8, [x8]
LBB0_34:                                ;   in Loop: Header=BB0_21 Depth=1
	ldr	w9, [x27]
	tst	w9, w8
	b.eq	LBB0_38
; %bb.35:                               ;   in Loop: Header=BB0_21 Depth=1
	ldr	x9, [x20]
	ldr	x8, [sp, #8]
	ldr	x10, [x8]
	sub	x9, x9, x10
	asr	x9, x9, #2
	str	x9, [x8, #8]
	b	LBB0_39
LBB0_36:                                ;   in Loop: Header=BB0_21 Depth=1
	ldr	w0, [x19, #48]
	ldr	x8, [sp, #8]
	str	w0, [x8, #8]
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_22
; %bb.37:                               ;   in Loop: Header=BB0_21 Depth=1
	bl	_ACPI_DEBUG_PRINT
	b	LBB0_22
LBB0_38:                                ;   in Loop: Header=BB0_21 Depth=1
	ldr	x8, [sp, #8]
LBB0_39:                                ;   in Loop: Header=BB0_21 Depth=1
	ldr	x9, [x8]
	ldr	x10, [x28]
	cmp	x9, x10
	b.ne	LBB0_41
; %bb.40:                               ;   in Loop: Header=BB0_21 Depth=1
	ldr	x10, [x20]
	sub	x9, x10, x9
	asr	x9, x9, #2
	str	x9, [x8, #8]
LBB0_41:                                ;   in Loop: Header=BB0_21 Depth=1
	ldr	x9, [x19, #8]
	cbz	x9, LBB0_43
; %bb.42:                               ;   in Loop: Header=BB0_21 Depth=1
	str	x8, [x19, #24]
	ldr	x8, [x8]
	str	x8, [x19, #16]
	mov	x0, x19
	blr	x9
	mov	x2, x0
	ldr	x1, [sp, #8]
	mov	x0, x19
	bl	_acpi_ps_next_parse_state
Lloh60:
	adrp	x8, _AE_CTRL_PENDING@GOTPAGE
Lloh61:
	ldr	x8, [x8, _AE_CTRL_PENDING@GOTPAGEOFF]
Lloh62:
	ldr	x8, [x8]
Lloh63:
	adrp	x9, _AE_OK@GOTPAGE
Lloh64:
	ldr	x9, [x9, _AE_OK@GOTPAGEOFF]
Lloh65:
	ldr	x9, [x9]
	cmp	x0, x8
	csel	x22, x9, x0, eq
LBB0_43:                                ;   in Loop: Header=BB0_21 Depth=1
	add	x1, sp, #8
	mov	x0, x19
	mov	x2, x22
LBB0_44:                                ;   in Loop: Header=BB0_21 Depth=1
	bl	_acpi_ps_complete_op
	mov	x22, x0
	bl	_ACPI_FAILURE
	cbz	x0, LBB0_46
; %bb.45:                               ;   in Loop: Header=BB0_21 Depth=1
	mov	x0, x22
	bl	_return_ACPI_STATUS
LBB0_46:                                ;   in Loop: Header=BB0_21 Depth=1
	ldr	x9, [sp, #8]
	ldr	x23, [x20]
	ldr	x10, [x25]
	cmp	x9, #0
	cset	w8, ne
	cmp	x23, x10
	b.lo	LBB0_21
; %bb.47:                               ;   in Loop: Header=BB0_21 Depth=1
	cbnz	x9, LBB0_21
LBB0_48:
	mov	x0, x19
	mov	x1, #0
	mov	x2, x22
	bl	_acpi_ps_complete_final_op
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.cfi_endproc
                                        ; -- End function
	.comm	_AE_OK,8,3                      ; @AE_OK
	.comm	_ps_parse_loop,4,2              ; @ps_parse_loop
	.comm	_AE_BAD_PARAMETER,8,3           ; @AE_BAD_PARAMETER
	.comm	_ACPI_WALK_METHOD_RESTART,4,2   ; @ACPI_WALK_METHOD_RESTART
	.comm	_AML_IF_OP,8,3                  ; @AML_IF_OP
	.comm	_AML_WHILE_OP,8,3               ; @AML_WHILE_OP
	.comm	_ACPI_CONTROL_PREDICATE_EXECUTING,8,3 ; @ACPI_CONTROL_PREDICATE_EXECUTING
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_AE_CODE_MASK,8,3               ; @AE_CODE_MASK
	.comm	_AE_CODE_CONTROL,8,3            ; @AE_CODE_CONTROL
	.comm	_AE_AML_NO_RETURN_VALUE,8,3     ; @AE_AML_NO_RETURN_VALUE
	.comm	_AE_INFO,4,2                    ; @AE_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invoked method did not return a value"

l_.str.1:                               ; @.str.1
	.asciz	"GetPredicate Failed"

	.comm	_ACPI_DB_PARSE,4,2              ; @ACPI_DB_PARSE
	.comm	_AE_CTRL_PARSE_CONTINUE,8,3     ; @AE_CTRL_PARSE_CONTINUE
	.comm	_AE_CTRL_PARSE_PENDING,8,3      ; @AE_CTRL_PARSE_PENDING
	.comm	_AML_NAMED,4,2                  ; @AML_NAMED
	.comm	_acpi_gbl_depth,8,3             ; @acpi_gbl_depth
	.comm	_AML_REGION_OP,8,3              ; @AML_REGION_OP
	.comm	_AML_DATA_REGION_OP,8,3         ; @AML_DATA_REGION_OP
	.comm	_AML_CREATE,4,2                 ; @AML_CREATE
	.comm	_AML_BANK_FIELD_OP,8,3          ; @AML_BANK_FIELD_OP
	.comm	_AE_CTRL_PENDING,8,3            ; @AE_CTRL_PENDING
.subsections_via_symbols
