	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_processor_tstate_has_changed ## -- Begin function acpi_processor_tstate_has_changed
	.p2align	4, 0x90
_acpi_processor_tstate_has_changed:     ## @acpi_processor_tstate_has_changed
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_ignore_tpc@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	cmpq	$0, (%rcx)
	jne	LBB0_8
## %bb.1:
	movq	%rdi, %rbx
	callq	_acpi_processor_get_platform_limit
	testl	%eax, %eax
	jne	LBB0_8
## %bb.2:
	movl	(%rbx), %esi
	cmpl	12(%rbx), %esi
	jge	LBB0_3
## %bb.4:
	cmpl	%esi, 16(%rbx)
	jle	LBB0_7
## %bb.5:
	movl	8(%rbx), %eax
	cmpl	%esi, %eax
	cmovgl	%eax, %esi
	movl	4(%rbx), %eax
	cmpl	%esi, %eax
	cmovgl	%eax, %esi
	jmp	LBB0_6
LBB0_3:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_8
LBB0_7:
	movl	$0, %eax
	jne	LBB0_6
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_6:
	movq	%rbx, %rdi
	xorl	%edx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_acpi_processor_set_throttling  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ignore_tpc,8,3                 ## @ignore_tpc
	.comm	_EINVAL,4,2                     ## @EINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_processor_tstate_has_changed ; -- Begin function acpi_processor_tstate_has_changed
	.p2align	2
_acpi_processor_tstate_has_changed:     ; @acpi_processor_tstate_has_changed
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _ignore_tpc@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ignore_tpc@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
LBB0_1:
	mov	w0, #0
	b	LBB0_7
LBB0_2:
	mov	x19, x0
	bl	_acpi_processor_get_platform_limit
	cbnz	w0, LBB0_7
; %bb.3:
	ldr	w1, [x19]
	ldr	w8, [x19, #12]
	cmp	w1, w8
	b.ge	LBB0_6
; %bb.4:
	ldr	w8, [x19, #16]
	cmp	w8, w1
	b.le	LBB0_8
; %bb.5:
	ldp	w9, w8, [x19, #4]
	cmp	w8, w1
	csel	w8, w8, w1, gt
	cmp	w9, w8
	csel	w1, w9, w8, gt
	b	LBB0_9
LBB0_6:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_8:
	b.eq	LBB0_1
LBB0_9:
	mov	x0, x19
	mov	w2, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_acpi_processor_set_throttling
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ignore_tpc,8,3                 ; @ignore_tpc
	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
