	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function intel_thermal_interrupt
_intel_thermal_interrupt:               ## @intel_thermal_interrupt
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_MSR_IA32_THERM_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_rdmsrl
	movq	_THERMAL_THROTTLING_EVENT@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	_CORE_LEVEL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	xorl	%edi, %edi
	callq	_therm_throt_process
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	callq	_mce_log_therm_throt_event
LBB0_2:
	movq	_X86_FEATURE_PLN@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_this_cpu_has
	movq	_int_pln_enable@GOTPCREL(%rip), %r14
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	cmpq	$0, (%r14)
	je	LBB0_5
## %bb.4:
	movq	_POWER_LIMIT_EVENT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %edx
	xorl	%edi, %edi
	callq	_therm_throt_process
LBB0_5:
	movq	_X86_FEATURE_PTS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_this_cpu_has
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	movq	_MSR_IA32_PACKAGE_THERM_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_rdmsrl
	movl	(%r15), %esi
	movq	_PACKAGE_LEVEL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	xorl	%edi, %edi
	callq	_therm_throt_process
	movl	(%r12), %edi
	callq	_this_cpu_has
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	cmpq	$0, (%r14)
	je	LBB0_8
## %bb.9:
	movq	_POWER_LIMIT_EVENT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %edx
	xorl	%edi, %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_therm_throt_process            ## TAILCALL
LBB0_8:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSR_IA32_THERM_STATUS,4,2      ## @MSR_IA32_THERM_STATUS
	.comm	_THERM_STATUS_PROCHOT,4,2       ## @THERM_STATUS_PROCHOT
	.comm	_THERMAL_THROTTLING_EVENT,4,2   ## @THERMAL_THROTTLING_EVENT
	.comm	_CORE_LEVEL,4,2                 ## @CORE_LEVEL
	.comm	_X86_FEATURE_PLN,4,2            ## @X86_FEATURE_PLN
	.comm	_int_pln_enable,8,3             ## @int_pln_enable
	.comm	_THERM_STATUS_POWER_LIMIT,4,2   ## @THERM_STATUS_POWER_LIMIT
	.comm	_POWER_LIMIT_EVENT,4,2          ## @POWER_LIMIT_EVENT
	.comm	_X86_FEATURE_PTS,4,2            ## @X86_FEATURE_PTS
	.comm	_MSR_IA32_PACKAGE_THERM_STATUS,4,2 ## @MSR_IA32_PACKAGE_THERM_STATUS
	.comm	_PACKAGE_THERM_STATUS_PROCHOT,4,2 ## @PACKAGE_THERM_STATUS_PROCHOT
	.comm	_PACKAGE_LEVEL,4,2              ## @PACKAGE_LEVEL
	.comm	_PACKAGE_THERM_STATUS_POWER_LIMIT,4,2 ## @PACKAGE_THERM_STATUS_POWER_LIMIT
	.no_dead_strip	_intel_thermal_interrupt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function intel_thermal_interrupt
_intel_thermal_interrupt:               ; @intel_thermal_interrupt
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
Lloh0:
	adrp	x8, _MSR_IA32_THERM_STATUS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MSR_IA32_THERM_STATUS@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_rdmsrl
Lloh3:
	adrp	x19, _THERMAL_THROTTLING_EVENT@GOTPAGE
Lloh4:
	ldr	x19, [x19, _THERMAL_THROTTLING_EVENT@GOTPAGEOFF]
	ldr	w1, [x19]
Lloh5:
	adrp	x22, _CORE_LEVEL@GOTPAGE
Lloh6:
	ldr	x22, [x22, _CORE_LEVEL@GOTPAGEOFF]
	ldr	w2, [x22]
	mov	w0, #0
	bl	_therm_throt_process
	cbz	x0, LBB0_2
; %bb.1:
	bl	_mce_log_therm_throt_event
LBB0_2:
Lloh7:
	adrp	x21, _X86_FEATURE_PLN@GOTPAGE
Lloh8:
	ldr	x21, [x21, _X86_FEATURE_PLN@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_this_cpu_has
Lloh9:
	adrp	x20, _int_pln_enable@GOTPAGE
Lloh10:
	ldr	x20, [x20, _int_pln_enable@GOTPAGEOFF]
	ldr	x8, [x20]
	cmp	x0, #0
	ccmp	x8, #0, #4, ne
	b.eq	LBB0_4
; %bb.3:
Lloh11:
	adrp	x8, _POWER_LIMIT_EVENT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _POWER_LIMIT_EVENT@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	ldr	w2, [x22]
	mov	w0, #0
	bl	_therm_throt_process
LBB0_4:
Lloh14:
	adrp	x8, _X86_FEATURE_PTS@GOTPAGE
Lloh15:
	ldr	x8, [x8, _X86_FEATURE_PTS@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	bl	_this_cpu_has
	cbz	x0, LBB0_8
; %bb.5:
Lloh17:
	adrp	x8, _MSR_IA32_PACKAGE_THERM_STATUS@GOTPAGE
Lloh18:
	ldr	x8, [x8, _MSR_IA32_PACKAGE_THERM_STATUS@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	bl	_rdmsrl
	ldr	w1, [x19]
Lloh20:
	adrp	x19, _PACKAGE_LEVEL@GOTPAGE
Lloh21:
	ldr	x19, [x19, _PACKAGE_LEVEL@GOTPAGEOFF]
	ldr	w2, [x19]
	mov	w0, #0
	bl	_therm_throt_process
	ldr	w0, [x21]
	bl	_this_cpu_has
	cbz	x0, LBB0_8
; %bb.6:
	ldr	x8, [x20]
	cbz	x8, LBB0_8
; %bb.7:
Lloh22:
	adrp	x8, _POWER_LIMIT_EVENT@GOTPAGE
Lloh23:
	ldr	x8, [x8, _POWER_LIMIT_EVENT@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	ldr	w2, [x19]
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_therm_throt_process
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_MSR_IA32_THERM_STATUS,4,2      ; @MSR_IA32_THERM_STATUS
	.comm	_THERM_STATUS_PROCHOT,4,2       ; @THERM_STATUS_PROCHOT
	.comm	_THERMAL_THROTTLING_EVENT,4,2   ; @THERMAL_THROTTLING_EVENT
	.comm	_CORE_LEVEL,4,2                 ; @CORE_LEVEL
	.comm	_X86_FEATURE_PLN,4,2            ; @X86_FEATURE_PLN
	.comm	_int_pln_enable,8,3             ; @int_pln_enable
	.comm	_THERM_STATUS_POWER_LIMIT,4,2   ; @THERM_STATUS_POWER_LIMIT
	.comm	_POWER_LIMIT_EVENT,4,2          ; @POWER_LIMIT_EVENT
	.comm	_X86_FEATURE_PTS,4,2            ; @X86_FEATURE_PTS
	.comm	_MSR_IA32_PACKAGE_THERM_STATUS,4,2 ; @MSR_IA32_PACKAGE_THERM_STATUS
	.comm	_PACKAGE_THERM_STATUS_PROCHOT,4,2 ; @PACKAGE_THERM_STATUS_PROCHOT
	.comm	_PACKAGE_LEVEL,4,2              ; @PACKAGE_LEVEL
	.comm	_PACKAGE_THERM_STATUS_POWER_LIMIT,4,2 ; @PACKAGE_THERM_STATUS_POWER_LIMIT
	.no_dead_strip	_intel_thermal_interrupt
.subsections_via_symbols
