	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function acpi_ns_check_object_type
_acpi_ns_check_object_type:             ## @acpi_ns_check_object_type
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	(%rsi), %rbx
	testq	%rbx, %rbx
	je	LBB0_16
## %bb.1:
	movq	%rsi, %r13
	movq	%r14, -104(%rbp)                ## 8-byte Spill
	movq	%rdi, %r14
	movq	%rcx, %r15
	movq	_AE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%rbx, %rdi
	callq	_ACPI_GET_DESCRIPTOR_TYPE
	movq	_ACPI_DESC_TYPE_NAMED@GOTPCREL(%rip), %rcx
	movl	(%rbx), %edi
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.2:
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_acpi_ut_get_type_name
	movl	%eax, %edi
	jmp	LBB0_17
LBB0_3:
	leal	-128(%rdi), %ecx
	cmpl	$4, %ecx
	movq	%r14, %r8
	movq	-104(%rbp), %r14                ## 8-byte Reload
	ja	LBB0_16
## %bb.4:
	movq	_ACPI_RTYPE_INTEGER@GOTPCREL(%rip), %rax
	leaq	LJTI0_0(%rip), %rsi
	movslq	(%rsi,%rcx,4), %rcx
	addq	%rsi, %rcx
	jmpq	*%rcx
LBB0_6:
	movq	_ACPI_RTYPE_STRING@GOTPCREL(%rip), %rax
	testq	%r14, (%rax)
	jne	LBB0_9
	jmp	LBB0_13
LBB0_7:
	movq	_ACPI_RTYPE_PACKAGE@GOTPCREL(%rip), %rax
LBB0_8:
	testq	%r14, (%rax)
	je	LBB0_13
LBB0_9:
	cmpl	$130, %edi
	je	LBB0_10
	jmp	LBB0_19
LBB0_12:
	movq	_ACPI_RTYPE_REFERENCE@GOTPCREL(%rip), %rax
	testq	%r14, (%rax)
	je	LBB0_13
LBB0_10:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_11
## %bb.15:
	movq	%r8, %rdi
	movq	%rbx, %rsi
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_acpi_ns_check_reference        ## TAILCALL
LBB0_5:
	movq	_ACPI_RTYPE_BUFFER@GOTPCREL(%rip), %rax
	testq	%r14, (%rax)
	jne	LBB0_9
LBB0_13:
	movq	%r8, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	movq	%r13, %rcx
	callq	_acpi_ns_repair_object
	movl	%eax, %edi
	callq	_ACPI_SUCCESS
	testq	%rax, %rax
	je	LBB0_16
## %bb.14:
	movq	_AE_OK@GOTPCREL(%rip), %rax
	jmp	LBB0_18
LBB0_16:
	leaq	-96(%rbp), %r15
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_acpi_ns_get_expected_types
	movq	%rbx, %rdi
	callq	_acpi_ut_get_object_type_name
	movl	%r15d, %edi
LBB0_17:
	callq	_ACPI_WARN_PREDEFINED
	movq	_AE_AML_OPERAND_TYPE@GOTPCREL(%rip), %rax
LBB0_18:
	movl	(%rax), %r12d
LBB0_19:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_11
## %bb.20:
	movl	%r12d, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	callq	___stack_chk_fail
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
LJTI0_0:
	.long	L0_0_set_6
	.long	L0_0_set_7
	.long	L0_0_set_12
	.long	L0_0_set_8
	.long	L0_0_set_5
	.end_data_region
                                        ## -- End function
	.comm	_AE_OK,4,2                      ## @AE_OK
	.comm	_ACPI_DESC_TYPE_NAMED,8,3       ## @ACPI_DESC_TYPE_NAMED
	.comm	_AE_INFO,4,2                    ## @AE_INFO
	.comm	_AE_AML_OPERAND_TYPE,4,2        ## @AE_AML_OPERAND_TYPE
	.comm	_ACPI_RTYPE_INTEGER,8,3         ## @ACPI_RTYPE_INTEGER
	.comm	_ACPI_RTYPE_BUFFER,8,3          ## @ACPI_RTYPE_BUFFER
	.comm	_ACPI_RTYPE_STRING,8,3          ## @ACPI_RTYPE_STRING
	.comm	_ACPI_RTYPE_PACKAGE,8,3         ## @ACPI_RTYPE_PACKAGE
	.comm	_ACPI_RTYPE_REFERENCE,8,3       ## @ACPI_RTYPE_REFERENCE
	.comm	_ACPI_NOT_PACKAGE_ELEMENT,8,3   ## @ACPI_NOT_PACKAGE_ELEMENT
	.no_dead_strip	_acpi_ns_check_object_type
.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_object_type
_acpi_ns_check_object_type:             ; @acpi_ns_check_object_type
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	x20, x2
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #56]
	ldr	x19, [x1]
	cbz	x19, LBB0_15
; %bb.1:
	mov	x23, x3
	mov	x24, x1
	mov	x21, x0
Lloh3:
	adrp	x25, _AE_OK@GOTPAGE
Lloh4:
	ldr	x25, [x25, _AE_OK@GOTPAGEOFF]
	ldr	w22, [x25]
	mov	x0, x19
	bl	_ACPI_GET_DESCRIPTOR_TYPE
	mov	x8, x0
Lloh5:
	adrp	x9, _ACPI_DESC_TYPE_NAMED@GOTPAGE
Lloh6:
	ldr	x9, [x9, _ACPI_DESC_TYPE_NAMED@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	ldr	w0, [x19]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
	bl	_acpi_ut_get_type_name
	b	LBB0_16
LBB0_3:
	sub	w9, w0, #128
	cmp	w9, #4
	b.hi	LBB0_15
; %bb.4:
Lloh8:
	adrp	x8, _ACPI_RTYPE_INTEGER@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ACPI_RTYPE_INTEGER@GOTPAGEOFF]
Lloh10:
	adrp	x10, lJTI0_0@PAGE
Lloh11:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_5
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_5:
Lloh12:
	adrp	x8, _ACPI_RTYPE_STRING@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ACPI_RTYPE_STRING@GOTPAGEOFF]
	b	LBB0_9
LBB0_6:
Lloh14:
	adrp	x8, _ACPI_RTYPE_PACKAGE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ACPI_RTYPE_PACKAGE@GOTPAGEOFF]
	b	LBB0_9
LBB0_7:
Lloh16:
	adrp	x8, _ACPI_RTYPE_REFERENCE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ACPI_RTYPE_REFERENCE@GOTPAGEOFF]
Lloh18:
	ldr	x8, [x8]
	tst	x8, x20
	b.ne	LBB0_11
	b	LBB0_13
LBB0_8:
Lloh19:
	adrp	x8, _ACPI_RTYPE_BUFFER@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ACPI_RTYPE_BUFFER@GOTPAGEOFF]
LBB0_9:
	ldr	x8, [x8]
	tst	x8, x20
	b.eq	LBB0_13
; %bb.10:
	cmp	w0, #130
	b.ne	LBB0_17
LBB0_11:
	ldr	x8, [sp, #56]
Lloh21:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh22:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_19
; %bb.12:
	mov	x0, x21
	mov	x1, x19
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #144
	b	_acpi_ns_check_reference
LBB0_13:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x23
	mov	x3, x24
	bl	_acpi_ns_repair_object
	bl	_ACPI_SUCCESS
	cbz	x0, LBB0_15
; %bb.14:
	ldr	w22, [x25]
	b	LBB0_17
LBB0_15:
	add	x0, sp, #8
	mov	x1, x20
	bl	_acpi_ns_get_expected_types
	mov	x0, x19
	bl	_acpi_ut_get_object_type_name
	add	x0, sp, #8
LBB0_16:
	bl	_ACPI_WARN_PREDEFINED
Lloh24:
	adrp	x8, _AE_AML_OPERAND_TYPE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _AE_AML_OPERAND_TYPE@GOTPAGEOFF]
Lloh26:
	ldr	w22, [x8]
LBB0_17:
	ldr	x8, [sp, #56]
Lloh27:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh28:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_19
; %bb.18:
	mov	x0, x22
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_19:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_6-LBB0_5)>>2
	.byte	(LBB0_7-LBB0_5)>>2
	.byte	(LBB0_9-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
                                        ; -- End function
	.comm	_AE_OK,4,2                      ; @AE_OK
	.comm	_ACPI_DESC_TYPE_NAMED,8,3       ; @ACPI_DESC_TYPE_NAMED
	.comm	_AE_INFO,4,2                    ; @AE_INFO
	.comm	_AE_AML_OPERAND_TYPE,4,2        ; @AE_AML_OPERAND_TYPE
	.comm	_ACPI_RTYPE_INTEGER,8,3         ; @ACPI_RTYPE_INTEGER
	.comm	_ACPI_RTYPE_BUFFER,8,3          ; @ACPI_RTYPE_BUFFER
	.comm	_ACPI_RTYPE_STRING,8,3          ; @ACPI_RTYPE_STRING
	.comm	_ACPI_RTYPE_PACKAGE,8,3         ; @ACPI_RTYPE_PACKAGE
	.comm	_ACPI_RTYPE_REFERENCE,8,3       ; @ACPI_RTYPE_REFERENCE
	.comm	_ACPI_NOT_PACKAGE_ELEMENT,8,3   ; @ACPI_NOT_PACKAGE_ELEMENT
	.no_dead_strip	_acpi_ns_check_object_type
.subsections_via_symbols
