	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_ns_one_complete_parse     ## -- Begin function acpi_ns_one_complete_parse
	.p2align	4, 0x90
_acpi_ns_one_complete_parse:            ## @acpi_ns_one_complete_parse
	.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, %r15
	movl	%esi, %r14d
	movl	%edi, -44(%rbp)                 ## 4-byte Spill
	movq	_ns_one_complete_parse@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ACPI_FUNCTION_TRACE
	leaq	-48(%rbp), %rsi
	movl	%r14d, %edi
	callq	_acpi_tb_get_owner_id
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_ACPI_FAILURE
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	%ebx, %edi
	callq	_return_ACPI_STATUS
LBB0_2:
	xorl	%eax, %eax
	callq	_acpi_ps_create_scope_op
	movq	%rax, %r12
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	movq	_AE_NO_MEMORY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_return_ACPI_STATUS
LBB0_4:
	movl	-48(%rbp), %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_acpi_ds_create_walk_state
	movq	%rax, %r13
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:
	movq	%r12, %rdi
	callq	_acpi_ps_free_op
	movq	_AE_NO_MEMORY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_return_ACPI_STATUS
LBB0_6:
	leaq	-56(%rbp), %rsi
	movl	%r14d, %edi
	callq	_acpi_get_table_by_index
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_ACPI_FAILURE
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	%r13, %rdi
	callq	_acpi_ds_delete_walk_state
	movq	%r12, %rdi
	callq	_acpi_ps_free_op
	movl	%ebx, %edi
	callq	_return_ACPI_STATUS
LBB0_8:
	movq	-56(%rbp), %rcx
	movl	(%rcx), %r8d
	cmpl	$3, %r8d
	ja	LBB0_10
## %bb.9:
	movq	_AE_BAD_HEADER@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_11
LBB0_10:
	addq	$16, %rcx
	addl	$-4, %r8d
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, (%rsp)
	movq	%r13, %rdi
	movq	%r12, %rsi
	xorl	%edx, %edx
	xorl	%r9d, %r9d
	callq	_acpi_ds_init_aml_walk
	movl	%eax, %ebx
LBB0_11:
	movl	%ebx, %edi
	callq	_ACPI_FAILURE
	testq	%rax, %rax
	je	LBB0_13
LBB0_12:
	movq	%r13, %rdi
	callq	_acpi_ds_delete_walk_state
	jmp	LBB0_17
LBB0_13:
	testq	%r15, %r15
	je	LBB0_16
## %bb.14:
	movq	_acpi_gbl_root_node@GOTPCREL(%rip), %rax
	cmpq	%r15, (%rax)
	je	LBB0_16
## %bb.15:
	movq	_ACPI_TYPE_METHOD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movq	%r13, %rdx
	callq	_acpi_ds_scope_stack_push
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_ACPI_FAILURE
	testq	%rax, %rax
	jne	LBB0_12
LBB0_16:
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_ACPI_DEBUG_PRINT
	movq	%r13, %rdi
	callq	_acpi_ps_parse_aml
	movl	%eax, %ebx
LBB0_17:
	movq	%r12, %rdi
	callq	_acpi_ps_delete_parse_tree
	movl	%ebx, %edi
	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	_ns_one_complete_parse,4,2      ## @ns_one_complete_parse
	.comm	_AE_NO_MEMORY,4,2               ## @AE_NO_MEMORY
	.comm	_AE_BAD_HEADER,4,2              ## @AE_BAD_HEADER
	.comm	_acpi_gbl_root_node,8,3         ## @acpi_gbl_root_node
	.comm	_ACPI_TYPE_METHOD,4,2           ## @ACPI_TYPE_METHOD
	.comm	_ACPI_DB_PARSE,4,2              ## @ACPI_DB_PARSE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_ns_one_complete_parse     ; -- Begin function acpi_ns_one_complete_parse
	.p2align	2
_acpi_ns_one_complete_parse:            ; @acpi_ns_one_complete_parse
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x2
	mov	x23, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _ns_one_complete_parse@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ns_one_complete_parse@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_ACPI_FUNCTION_TRACE
	add	x1, sp, #4
	mov	x0, x23
	bl	_acpi_tb_get_owner_id
	mov	x20, x0
	bl	_ACPI_FAILURE
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_return_ACPI_STATUS
LBB0_2:
	bl	_acpi_ps_create_scope_op
	mov	x20, x0
	cbnz	x0, LBB0_4
; %bb.3:
Lloh3:
	adrp	x8, _AE_NO_MEMORY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AE_NO_MEMORY@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_return_ACPI_STATUS
LBB0_4:
	ldr	w0, [sp, #4]
	mov	x1, #0
	mov	x2, #0
	mov	x3, #0
	bl	_acpi_ds_create_walk_state
	mov	x22, x0
	cbnz	x0, LBB0_6
; %bb.5:
	mov	x0, x20
	bl	_acpi_ps_free_op
Lloh6:
	adrp	x8, _AE_NO_MEMORY@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AE_NO_MEMORY@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_return_ACPI_STATUS
LBB0_6:
	add	x1, sp, #8
	mov	x0, x23
	bl	_acpi_get_table_by_index
	mov	x23, x0
	bl	_ACPI_FAILURE
	cbz	x0, LBB0_8
; %bb.7:
	mov	x0, x22
	bl	_acpi_ds_delete_walk_state
	mov	x0, x20
	bl	_acpi_ps_free_op
	mov	x0, x23
	bl	_return_ACPI_STATUS
LBB0_8:
	ldr	x8, [sp, #8]
	ldr	w9, [x8]
	cmp	w9, #3
	b.hi	LBB0_10
; %bb.9:
Lloh9:
	adrp	x8, _AE_BAD_HEADER@GOTPAGE
Lloh10:
	ldr	x8, [x8, _AE_BAD_HEADER@GOTPAGEOFF]
Lloh11:
	ldr	w23, [x8]
	b	LBB0_11
LBB0_10:
	add	x3, x8, #16
	sub	w4, w9, #4
	mov	x0, x22
	mov	x1, x20
	mov	x2, #0
	mov	x5, #0
	mov	x6, x19
	bl	_acpi_ds_init_aml_walk
	mov	x23, x0
LBB0_11:
	mov	x0, x23
	bl	_ACPI_FAILURE
	cbz	x0, LBB0_13
LBB0_12:
	mov	x0, x22
	bl	_acpi_ds_delete_walk_state
	b	LBB0_17
LBB0_13:
	cbz	x21, LBB0_16
; %bb.14:
Lloh12:
	adrp	x8, _acpi_gbl_root_node@GOTPAGE
Lloh13:
	ldr	x8, [x8, _acpi_gbl_root_node@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	cmp	x8, x21
	b.eq	LBB0_16
; %bb.15:
Lloh15:
	adrp	x8, _ACPI_TYPE_METHOD@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ACPI_TYPE_METHOD@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x21
	mov	x2, x22
	bl	_acpi_ds_scope_stack_push
	mov	x23, x0
	bl	_ACPI_FAILURE
	cbnz	x0, LBB0_12
LBB0_16:
	mov	x0, x19
	bl	_ACPI_DEBUG_PRINT
	mov	x0, x22
	bl	_acpi_ps_parse_aml
	mov	x23, x0
LBB0_17:
	mov	x0, x20
	bl	_acpi_ps_delete_parse_tree
	mov	x0, x23
	bl	_return_ACPI_STATUS
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.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
	.cfi_endproc
                                        ; -- End function
	.comm	_ns_one_complete_parse,4,2      ; @ns_one_complete_parse
	.comm	_AE_NO_MEMORY,4,2               ; @AE_NO_MEMORY
	.comm	_AE_BAD_HEADER,4,2              ; @AE_BAD_HEADER
	.comm	_acpi_gbl_root_node,8,3         ; @acpi_gbl_root_node
	.comm	_ACPI_TYPE_METHOD,4,2           ; @ACPI_TYPE_METHOD
	.comm	_ACPI_DB_PARSE,4,2              ; @ACPI_DB_PARSE
.subsections_via_symbols
