	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function acpi_ns_check_package
_acpi_ns_check_package:                 ## @acpi_ns_check_package
	.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	%rsi, %r12
	movq	%rdi, %rbx
	movq	(%rsi), %r15
	movq	_ns_check_package@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ACPI_FUNCTION_NAME
	movq	8(%rbx), %r14
	movl	(%r15), %edi
	callq	_ACPI_DEBUG_PRINT
	movl	32(%r14), %esi
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	movq	%r15, %rdx
	callq	_acpi_ns_remove_null_elements
	movq	(%r15), %rbx
	testq	%rbx, %rbx
	je	LBB0_1
## %bb.2:
	leaq	32(%r14), %rsi
	movl	(%rsi), %edi
	leal	-128(%rdi), %eax
	cmpl	$8, %eax
	ja	LBB0_30
## %bb.3:
	movq	8(%r15), %r13
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	jmpq	*%rax
LBB0_24:
	movq	(%r13), %rax
	movl	(%rax), %eax
	movq	_ACPI_TYPE_PACKAGE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_27
## %bb.25:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	callq	_acpi_ns_repair_package_list
	movl	%eax, %r15d
	movl	%eax, %edi
	callq	_ACPI_FAILURE
	testl	%eax, %eax
	jne	LBB0_34
## %bb.26:
	movq	(%r12), %rax
	movq	8(%rax), %r13
	movl	$1, %ebx
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
LBB0_27:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
LBB0_28:
	movq	%r13, %rdx
	movq	%rbx, %rcx
LBB0_29:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_acpi_ns_check_package_list     ## TAILCALL
LBB0_1:
	leaq	L_.str.1(%rip), %rdi
                                        ## kill: def $edi killed $edi killed $rdi
LBB0_32:
	callq	_ACPI_WARN_PREDEFINED
	movq	_AE_AML_OPERAND_VALUE@GOTPCREL(%rip), %rax
LBB0_33:
	movl	(%rax), %r15d
LBB0_34:
	movl	%r15d, %eax
LBB0_35:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_30:
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_ACPI_WARN_PREDEFINED
	movq	_AE_AML_INTERNAL@GOTPCREL(%rip), %rax
	jmp	LBB0_33
LBB0_19:
	movq	_ACPI_RTYPE_INTEGER@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	xorl	%ecx, %ecx
	callq	_acpi_ns_check_object_type
	movl	%eax, %r15d
	movl	%eax, %edi
	callq	_ACPI_FAILURE
	testl	%eax, %eax
	jne	LBB0_34
## %bb.20:
	addq	$8, %r13
	decq	%rbx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	jmp	LBB0_28
LBB0_21:
	movq	_ACPI_RTYPE_INTEGER@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	xorl	%ecx, %ecx
	callq	_acpi_ns_check_object_type
	movl	%eax, %r15d
	movl	%eax, %edi
	callq	_ACPI_FAILURE
	testl	%eax, %eax
	jne	LBB0_34
## %bb.22:
	movq	(%r13), %rax
	movslq	(%rax), %rax
	cmpq	%rax, %rbx
	jbe	LBB0_31
## %bb.23:
	addq	$8, %r13
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%r13, %rdx
	movq	%rax, %rcx
	jmp	LBB0_29
LBB0_8:
	movq	%rbx, %r12
	movl	$1, %ebx
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	leaq	-1(%rbx), %rcx
	movl	56(%r14), %edx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	callq	_acpi_ns_check_object_type
	movl	%eax, %r15d
	movl	%eax, %edi
	callq	_ACPI_FAILURE
	testl	%eax, %eax
	jne	LBB0_34
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	addq	$8, %r13
	leaq	1(%rbx), %rax
	cmpq	%r12, %rbx
	movq	%rax, %rbx
	jb	LBB0_9
	jmp	LBB0_34
LBB0_11:
	movq	(%rsi), %rax
	cmpq	%rax, %rbx
	jb	LBB0_31
## %bb.12:
	decq	%rbx
	xorl	%r12d, %r12d
	cmpq	%rax, %r12
	jae	LBB0_15
	.p2align	4, 0x90
LBB0_14:
	movq	48(%r14), %rax
	movl	(%rax,%r12,4), %edx
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_15:
	movl	40(%r14), %edx
LBB0_16:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	movq	%r12, %rcx
	callq	_acpi_ns_check_object_type
	movl	%eax, %r15d
	movl	%eax, %edi
	callq	_ACPI_FAILURE
	testl	%eax, %eax
	jne	LBB0_34
## %bb.17:
	cmpq	%r12, %rbx
	je	LBB0_34
## %bb.18:
	addq	$8, %r13
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	incq	%r12
	cmpq	%rax, %r12
	jae	LBB0_15
	jmp	LBB0_14
LBB0_4:
	movq	40(%r14), %rcx
	movq	48(%r14), %r9
	leaq	(%r9,%rcx), %rax
	cmpq	%rax, %rbx
	jae	LBB0_5
LBB0_31:
	movl	%eax, %edi
	jmp	LBB0_32
LBB0_5:
	jbe	LBB0_7
## %bb.6:
	movl	%eax, %edi
	callq	_ACPI_WARN_PREDEFINED
	movq	40(%r14), %rcx
	movq	48(%r14), %r9
LBB0_7:
	movl	56(%r14), %edx
	movl	60(%r14), %r8d
	movl	$0, (%rsp)
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	callq	_acpi_ns_check_package_elements
	jmp	LBB0_35
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
.set L0_0_set_24, LBB0_24-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
LJTI0_0:
	.long	L0_0_set_19
	.long	L0_0_set_21
	.long	L0_0_set_24
	.long	L0_0_set_24
	.long	L0_0_set_24
	.long	L0_0_set_24
	.long	L0_0_set_8
	.long	L0_0_set_11
	.long	L0_0_set_4
	.end_data_region
                                        ## -- End function
	.comm	_AE_OK,4,2                      ## @AE_OK
	.comm	_ns_check_package,4,2           ## @ns_check_package
	.comm	_ACPI_DB_NAMES,4,2              ## @ACPI_DB_NAMES
	.comm	_AE_INFO,4,2                    ## @AE_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"Return Package has no elements (empty)"

	.comm	_AE_AML_OPERAND_VALUE,4,2       ## @AE_AML_OPERAND_VALUE
	.comm	_ACPI_RTYPE_INTEGER,4,2         ## @ACPI_RTYPE_INTEGER
	.comm	_ACPI_TYPE_PACKAGE,4,2          ## @ACPI_TYPE_PACKAGE
	.comm	_AE_AML_INTERNAL,4,2            ## @AE_AML_INTERNAL
	.no_dead_strip	_acpi_ns_check_package
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function acpi_ns_check_package
_acpi_ns_check_package:                 ; @acpi_ns_check_package
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x24, x1
	mov	x19, x0
	ldr	x20, [x1]
Lloh0:
	adrp	x8, _ns_check_package@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ns_check_package@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_ACPI_FUNCTION_NAME
	ldr	x25, [x19, #8]
	ldr	w0, [x20]
	bl	_ACPI_DEBUG_PRINT
	mov	x21, x25
	ldr	w1, [x21, #32]!
	mov	x0, x19
	mov	x2, x20
	bl	_acpi_ns_remove_null_elements
	ldr	x22, [x20]
	cbz	x22, LBB0_8
; %bb.1:
	ldr	w0, [x21]
	sub	w8, w0, #128
	cmp	w8, #8
	b.hi	LBB0_12
; %bb.2:
	ldr	x20, [x20, #8]
Lloh3:
	adrp	x9, lJTI0_0@PAGE
Lloh4:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_3
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_3:
	ldr	x8, [x20]
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _ACPI_TYPE_PACKAGE@GOTPAGE
Lloh6:
	ldr	x9, [x9, _ACPI_TYPE_PACKAGE@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_6
; %bb.4:
	mov	x0, x19
	mov	x1, x24
	bl	_acpi_ns_repair_package_list
	mov	x23, x0
	bl	_ACPI_FAILURE
	cbnz	w0, LBB0_11
; %bb.5:
	ldr	x8, [x24]
	ldr	x20, [x8, #8]
	mov	w22, #1
LBB0_6:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	mov	x3, x22
LBB0_7:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_acpi_ns_check_package_list
LBB0_8:
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
                                        ; kill: def $w0 killed $w0 killed $x0
LBB0_9:
	bl	_ACPI_WARN_PREDEFINED
Lloh10:
	adrp	x8, _AE_AML_OPERAND_VALUE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _AE_AML_OPERAND_VALUE@GOTPAGEOFF]
LBB0_10:
	ldr	w23, [x8]
LBB0_11:
	mov	x0, x23
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_12:
	bl	_ACPI_WARN_PREDEFINED
Lloh12:
	adrp	x8, _AE_AML_INTERNAL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _AE_AML_INTERNAL@GOTPAGEOFF]
	b	LBB0_10
LBB0_13:
Lloh14:
	adrp	x8, _ACPI_RTYPE_INTEGER@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ACPI_RTYPE_INTEGER@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x20
	mov	x3, #0
	bl	_acpi_ns_check_object_type
	mov	x23, x0
	bl	_ACPI_FAILURE
	cbnz	w0, LBB0_11
; %bb.14:
	add	x2, x20, #8
	sub	x3, x22, #1
	mov	x0, x19
	mov	x1, x21
	b	LBB0_7
LBB0_15:
Lloh17:
	adrp	x8, _ACPI_RTYPE_INTEGER@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ACPI_RTYPE_INTEGER@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x20
	mov	x3, #0
	bl	_acpi_ns_check_object_type
	mov	x23, x0
	bl	_ACPI_FAILURE
	cbnz	w0, LBB0_11
; %bb.16:
	ldr	x8, [x20]
	ldrsw	x8, [x8]
	cmp	x22, x8
	b.ls	LBB0_28
; %bb.17:
	add	x2, x20, #8
	mov	x0, x19
	mov	x1, x21
	mov	x3, x8
	b	LBB0_7
LBB0_18:
	mov	w21, #1
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	sub	x3, x21, #1
	ldr	w2, [x25, #56]
	mov	x0, x19
	mov	x1, x20
	bl	_acpi_ns_check_object_type
	mov	x23, x0
	bl	_ACPI_FAILURE
	add	x20, x20, #8
	cmp	w0, #0
	ccmp	x21, x22, #2, eq
	add	x21, x21, #1
	b.lo	LBB0_19
	b	LBB0_11
LBB0_20:
	ldr	x8, [x21]
	cmp	x22, x8
	b.lo	LBB0_28
; %bb.21:
	mov	x24, #0
	sub	x22, x22, #1
	cmp	x24, x8
	b.hs	LBB0_23
LBB0_22:
	ldr	x8, [x25, #48]
	ldr	w2, [x8, x24, lsl #2]
	b	LBB0_24
LBB0_23:
	ldr	w2, [x25, #40]
LBB0_24:
	mov	x0, x19
	mov	x1, x20
	mov	x3, x24
	bl	_acpi_ns_check_object_type
	mov	x23, x0
	bl	_ACPI_FAILURE
	cbnz	w0, LBB0_11
; %bb.25:
	cmp	x22, x24
	b.eq	LBB0_11
; %bb.26:
	add	x20, x20, #8
	ldr	x8, [x21]
	add	x24, x24, #1
	cmp	x24, x8
	b.hs	LBB0_23
	b	LBB0_22
LBB0_27:
	ldp	x3, x5, [x25, #40]
	add	x8, x5, x3
	cmp	x22, x8
	b.hs	LBB0_29
LBB0_28:
	mov	x0, x8
	b	LBB0_9
LBB0_29:
	b.ls	LBB0_31
; %bb.30:
	mov	x0, x8
	bl	_ACPI_WARN_PREDEFINED
	ldp	x3, x5, [x25, #40]
LBB0_31:
	ldp	w2, w4, [x25, #56]
	mov	x0, x19
	mov	x1, x20
	mov	w6, #0
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_acpi_ns_check_package_elements
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_13-LBB0_3)>>2
	.byte	(LBB0_15-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_18-LBB0_3)>>2
	.byte	(LBB0_20-LBB0_3)>>2
	.byte	(LBB0_27-LBB0_3)>>2
                                        ; -- End function
	.comm	_AE_OK,4,2                      ; @AE_OK
	.comm	_ns_check_package,4,2           ; @ns_check_package
	.comm	_ACPI_DB_NAMES,4,2              ; @ACPI_DB_NAMES
	.comm	_AE_INFO,4,2                    ; @AE_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"Return Package has no elements (empty)"

	.comm	_AE_AML_OPERAND_VALUE,4,2       ; @AE_AML_OPERAND_VALUE
	.comm	_ACPI_RTYPE_INTEGER,4,2         ; @ACPI_RTYPE_INTEGER
	.comm	_ACPI_TYPE_PACKAGE,4,2          ; @ACPI_TYPE_PACKAGE
	.comm	_AE_AML_INTERNAL,4,2            ; @AE_AML_INTERNAL
	.no_dead_strip	_acpi_ns_check_package
.subsections_via_symbols
