	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function acpi_processor_get_platform_limit
_acpi_processor_get_platform_limit:     ## @acpi_processor_get_platform_limit
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	$0, -32(%rbp)
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.3:
	movq	%rdi, %r14
	movq	_ignore_tpc@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	cmpq	$0, (%rax)
	movl	$0, %eax
	je	LBB0_4
LBB0_6:
	movl	%eax, (%r14)
	jmp	LBB0_7
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_4:
	movl	4(%r14), %edi
	leaq	L_.str(%rip), %rsi
	leaq	-32(%rbp), %rcx
	xorl	%edx, %edx
	callq	_acpi_evaluate_integer
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_ACPI_FAILURE
	testq	%rax, %rax
	je	LBB0_5
## %bb.8:
	movq	_AE_NOT_FOUND@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r15
	je	LBB0_10
## %bb.9:
	leaq	L_.str.1(%rip), %rdi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_ACPI_EXCEPTION
LBB0_10:
	movq	_ENODEV@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_7:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movl	-32(%rbp), %eax
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ignore_tpc,8,3                 ## @ignore_tpc
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"_TPC"

	.comm	_AE_NOT_FOUND,8,3               ## @AE_NOT_FOUND
	.comm	_AE_INFO,4,2                    ## @AE_INFO
L_.str.1:                               ## @.str.1
	.asciz	"Evaluating _TPC"

	.comm	_ENODEV,4,2                     ## @ENODEV
	.no_dead_strip	_acpi_processor_get_platform_limit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function acpi_processor_get_platform_limit
_acpi_processor_get_platform_limit:     ; @acpi_processor_get_platform_limit
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	str	xzr, [sp, #8]
	cbz	x0, LBB0_4
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x8, _ignore_tpc@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ignore_tpc@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.2:
	mov	w8, #0
LBB0_3:
	mov	w0, #0
	str	w8, [x19]
	b	LBB0_10
LBB0_4:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_9
LBB0_5:
	ldr	w0, [x19, #4]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	add	x3, sp, #8
	mov	x2, #0
	bl	_acpi_evaluate_integer
	mov	x20, x0
	bl	_ACPI_FAILURE
	cbz	x0, LBB0_11
; %bb.6:
Lloh7:
	adrp	x8, _AE_NOT_FOUND@GOTPAGE
Lloh8:
	ldr	x8, [x8, _AE_NOT_FOUND@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	cmp	x20, x8
	b.eq	LBB0_8
; %bb.7:
Lloh10:
	adrp	x0, l_.str.1@PAGE
Lloh11:
	add	x0, x0, l_.str.1@PAGEOFF
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_ACPI_EXCEPTION
LBB0_8:
Lloh12:
	adrp	x8, _ENODEV@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
LBB0_9:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_10:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_11:
	ldr	w8, [sp, #8]
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ignore_tpc,8,3                 ; @ignore_tpc
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"_TPC"

	.comm	_AE_NOT_FOUND,8,3               ; @AE_NOT_FOUND
	.comm	_AE_INFO,4,2                    ; @AE_INFO
l_.str.1:                               ; @.str.1
	.asciz	"Evaluating _TPC"

	.comm	_ENODEV,4,2                     ; @ENODEV
	.no_dead_strip	_acpi_processor_get_platform_limit
.subsections_via_symbols
