	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_smu7_thermal_disable_alert     ## -- Begin function smu7_thermal_disable_alert
	.p2align	4, 0x90
_smu7_thermal_disable_alert:            ## @smu7_thermal_disable_alert
	.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	%rdi, %rbx
	movl	(%rdi), %edi
	movq	_CGS_IND_REG__SMC@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	_CG_THERMAL_INT@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	movq	_THERM_INT_MASK@GOTPCREL(%rip), %r12
	movl	(%r12), %ecx
	callq	_PHM_READ_VFPF_INDIRECT_FIELD
	movq	_SMU7_THERMAL_HIGH_ALERT_MASK@GOTPCREL(%rip), %rcx
	movq	_SMU7_THERMAL_LOW_ALERT_MASK@GOTPCREL(%rip), %rdx
	orl	(%rcx), %eax
	orl	(%rdx), %eax
	movl	(%rbx), %edi
	movl	(%r14), %esi
	movl	(%r15), %edx
	movl	(%r12), %ecx
	movl	%eax, %r8d
	callq	_PHM_WRITE_VFPF_INDIRECT_FIELD
	movq	_PPSMC_MSG_Thermal_Cntl_Disable@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_smum_send_msg_to_smc           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CGS_IND_REG__SMC,4,2           ## @CGS_IND_REG__SMC
	.comm	_CG_THERMAL_INT,4,2             ## @CG_THERMAL_INT
	.comm	_THERM_INT_MASK,4,2             ## @THERM_INT_MASK
	.comm	_SMU7_THERMAL_HIGH_ALERT_MASK,4,2 ## @SMU7_THERMAL_HIGH_ALERT_MASK
	.comm	_SMU7_THERMAL_LOW_ALERT_MASK,4,2 ## @SMU7_THERMAL_LOW_ALERT_MASK
	.comm	_PPSMC_MSG_Thermal_Cntl_Disable,4,2 ## @PPSMC_MSG_Thermal_Cntl_Disable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_smu7_thermal_disable_alert     ; -- Begin function smu7_thermal_disable_alert
	.p2align	2
_smu7_thermal_disable_alert:            ; @smu7_thermal_disable_alert
	.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
	mov	x19, x0
	ldr	w0, [x0]
Lloh0:
	adrp	x20, _CGS_IND_REG__SMC@GOTPAGE
Lloh1:
	ldr	x20, [x20, _CGS_IND_REG__SMC@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh2:
	adrp	x21, _CG_THERMAL_INT@GOTPAGE
Lloh3:
	ldr	x21, [x21, _CG_THERMAL_INT@GOTPAGEOFF]
	ldr	w2, [x21]
Lloh4:
	adrp	x22, _THERM_INT_MASK@GOTPAGE
Lloh5:
	ldr	x22, [x22, _THERM_INT_MASK@GOTPAGEOFF]
	ldr	w3, [x22]
	bl	_PHM_READ_VFPF_INDIRECT_FIELD
Lloh6:
	adrp	x8, _SMU7_THERMAL_HIGH_ALERT_MASK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SMU7_THERMAL_HIGH_ALERT_MASK@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _SMU7_THERMAL_LOW_ALERT_MASK@GOTPAGE
Lloh10:
	ldr	x9, [x9, _SMU7_THERMAL_LOW_ALERT_MASK@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w8, w0
	orr	w4, w8, w9
	ldr	w0, [x19]
	ldr	w1, [x20]
	ldr	w2, [x21]
	ldr	w3, [x22]
	bl	_PHM_WRITE_VFPF_INDIRECT_FIELD
Lloh12:
	adrp	x8, _PPSMC_MSG_Thermal_Cntl_Disable@GOTPAGE
Lloh13:
	ldr	x8, [x8, _PPSMC_MSG_Thermal_Cntl_Disable@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x19
	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	_smum_send_msg_to_smc
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_CGS_IND_REG__SMC,4,2           ; @CGS_IND_REG__SMC
	.comm	_CG_THERMAL_INT,4,2             ; @CG_THERMAL_INT
	.comm	_THERM_INT_MASK,4,2             ; @THERM_INT_MASK
	.comm	_SMU7_THERMAL_HIGH_ALERT_MASK,4,2 ; @SMU7_THERMAL_HIGH_ALERT_MASK
	.comm	_SMU7_THERMAL_LOW_ALERT_MASK,4,2 ; @SMU7_THERMAL_LOW_ALERT_MASK
	.comm	_PPSMC_MSG_Thermal_Cntl_Disable,4,2 ; @PPSMC_MSG_Thermal_Cntl_Disable
.subsections_via_symbols
