	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vega10_didt_set_mask
_vega10_didt_set_mask:                  ## @vega10_didt_set_mask
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	xorl	%r12d, %r12d
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	testl	%esi, %esi
	setne	%r12b
	movq	_SQ_IR_MASK@GOTPCREL(%rip), %rax
	movq	_TCP_IR_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	orl	(%rax), %ebx
	movq	_TD_PCC_MASK@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_PHM_PlatformCaps_SQRamping@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	callq	_PP_CAP
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	(%r15), %edi
	movq	_CGS_IND_REG__DIDT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DIDT_SQ_CTRL0@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_DIDT_CTRL_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r12d, %r8d
	callq	_CGS_WREG32_FIELD_IND
	movq	_SQ_Enable_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %ebx
	movq	_SQ_Enable_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	%r12d, %eax
	shll	%cl, %eax
	orl	%eax, %ebx
LBB0_2:
	movq	_PHM_PlatformCaps_DBRamping@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_PP_CAP
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	(%r15), %edi
	movq	_CGS_IND_REG__DIDT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DIDT_DB_CTRL0@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_DIDT_CTRL_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r12d, %r8d
	callq	_CGS_WREG32_FIELD_IND
	movq	_DB_Enable_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %ebx
	movq	_DB_Enable_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	%r12d, %eax
	shll	%cl, %eax
	orl	%eax, %ebx
LBB0_4:
	movq	_PHM_PlatformCaps_TDRamping@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_PP_CAP
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movl	(%r15), %edi
	movq	_CGS_IND_REG__DIDT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DIDT_TD_CTRL0@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_DIDT_CTRL_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r12d, %r8d
	callq	_CGS_WREG32_FIELD_IND
	movq	_TD_Enable_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %ebx
	movq	_TD_Enable_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	%r12d, %eax
	shll	%cl, %eax
	orl	%eax, %ebx
LBB0_6:
	movq	_PHM_PlatformCaps_TCPRamping@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_PP_CAP
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movl	(%r15), %edi
	movq	_CGS_IND_REG__DIDT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DIDT_TCP_CTRL0@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_DIDT_CTRL_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r12d, %r8d
	callq	_CGS_WREG32_FIELD_IND
	movq	_TCP_Enable_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %ebx
	movq	_TCP_Enable_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	%r12d, %eax
	shll	%cl, %eax
	orl	%eax, %ebx
LBB0_8:
	movq	_PHM_PlatformCaps_DBRRamping@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_PP_CAP
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movl	(%r15), %edi
	movq	_CGS_IND_REG__DIDT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DIDT_DBR_CTRL0@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_DIDT_CTRL_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r12d, %r8d
	callq	_CGS_WREG32_FIELD_IND
LBB0_10:
	movq	_PHM_PlatformCaps_DiDtEDCEnable@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_PP_CAP
	testq	%rax, %rax
	je	LBB0_21
## %bb.11:
	movl	(%r13), %edi
	callq	_PP_CAP
	movl	%r12d, %r13d
	notl	%r13d
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movl	(%r15), %edi
	movq	_CGS_IND_REG__DIDT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ixDIDT_SQ_EDC_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_cgs_read_ind_register
	movq	_DIDT_SQ_EDC_CTRL@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	_EDC_EN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	movl	%r12d, %ecx
	callq	_REG_SET_FIELD
	movl	(%r14), %esi
	movq	_PHM_PlatformCaps_TDRamping@GOTPCREL(%rip), %r14
	movq	_EDC_SW_RST@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	movl	%r13d, %ecx
	callq	_REG_SET_FIELD
	movl	(%r15), %edi
	movq	_CGS_IND_REG__DIDT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_ixDIDT_SQ_EDC_CTRL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %ecx
	callq	_cgs_write_ind_register
LBB0_13:
	movq	_PHM_PlatformCaps_DBRamping@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_PP_CAP
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:
	movl	(%r15), %edi
	movq	_CGS_IND_REG__DIDT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ixDIDT_DB_EDC_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_cgs_read_ind_register
	movq	_DIDT_DB_EDC_CTRL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_EDC_EN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	movl	%r12d, %ecx
	callq	_REG_SET_FIELD
	movq	_DIDT_DB_EDC_CTRL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_EDC_SW_RST@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	movl	%r13d, %ecx
	callq	_REG_SET_FIELD
	movl	(%r15), %edi
	movq	_CGS_IND_REG__DIDT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_ixDIDT_DB_EDC_CTRL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %ecx
	callq	_cgs_write_ind_register
LBB0_15:
	movl	(%r14), %edi
	callq	_PP_CAP
	testq	%rax, %rax
	je	LBB0_17
## %bb.16:
	movl	(%r15), %edi
	movq	_CGS_IND_REG__DIDT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ixDIDT_TD_EDC_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_cgs_read_ind_register
	movq	_DIDT_TD_EDC_CTRL@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	_EDC_EN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	movl	%r12d, %ecx
	callq	_REG_SET_FIELD
	movl	(%r14), %esi
	movq	_EDC_SW_RST@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	movl	%r13d, %ecx
	callq	_REG_SET_FIELD
	movl	(%r15), %edi
	movq	_CGS_IND_REG__DIDT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_ixDIDT_TD_EDC_CTRL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %ecx
	callq	_cgs_write_ind_register
LBB0_17:
	movq	_PHM_PlatformCaps_TCPRamping@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_PP_CAP
	testq	%rax, %rax
	je	LBB0_19
## %bb.18:
	movl	(%r15), %edi
	movq	_CGS_IND_REG__DIDT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ixDIDT_TCP_EDC_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_cgs_read_ind_register
	movq	_DIDT_TCP_EDC_CTRL@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	_EDC_EN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	movl	%r12d, %ecx
	callq	_REG_SET_FIELD
	movl	(%r14), %esi
	movq	_EDC_SW_RST@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	movl	%r13d, %ecx
	callq	_REG_SET_FIELD
	movl	(%r15), %edi
	movq	_CGS_IND_REG__DIDT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_ixDIDT_TCP_EDC_CTRL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %ecx
	callq	_cgs_write_ind_register
LBB0_19:
	movq	_PHM_PlatformCaps_DBRRamping@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_PP_CAP
	testq	%rax, %rax
	je	LBB0_21
## %bb.20:
	movl	(%r15), %edi
	movq	_CGS_IND_REG__DIDT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ixDIDT_DBR_EDC_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_cgs_read_ind_register
	movq	_DIDT_DBR_EDC_CTRL@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	_EDC_EN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	movl	%r12d, %ecx
	callq	_REG_SET_FIELD
	movl	(%r14), %esi
	movq	_EDC_SW_RST@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	movl	%r13d, %ecx
	callq	_REG_SET_FIELD
	movl	(%r15), %edi
	movq	_CGS_IND_REG__DIDT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_ixDIDT_DBR_EDC_CTRL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %ecx
	callq	_cgs_write_ind_register
LBB0_21:
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_22
## %bb.23:
	movq	_PPSMC_MSG_ConfigureGfxDidt@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	%ebx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_smum_send_msg_to_smc_with_parameter ## TAILCALL
LBB0_22:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SQ_IR_MASK,4,2                 ## @SQ_IR_MASK
	.comm	_TCP_IR_MASK,4,2                ## @TCP_IR_MASK
	.comm	_TD_PCC_MASK,4,2                ## @TD_PCC_MASK
	.comm	_PHM_PlatformCaps_SQRamping,4,2 ## @PHM_PlatformCaps_SQRamping
	.comm	_CGS_IND_REG__DIDT,4,2          ## @CGS_IND_REG__DIDT
	.comm	_DIDT_SQ_CTRL0,4,2              ## @DIDT_SQ_CTRL0
	.comm	_DIDT_CTRL_EN,4,2               ## @DIDT_CTRL_EN
	.comm	_SQ_Enable_MASK,4,2             ## @SQ_Enable_MASK
	.comm	_SQ_Enable_SHIFT,4,2            ## @SQ_Enable_SHIFT
	.comm	_PHM_PlatformCaps_DBRamping,4,2 ## @PHM_PlatformCaps_DBRamping
	.comm	_DIDT_DB_CTRL0,4,2              ## @DIDT_DB_CTRL0
	.comm	_DB_Enable_MASK,4,2             ## @DB_Enable_MASK
	.comm	_DB_Enable_SHIFT,4,2            ## @DB_Enable_SHIFT
	.comm	_PHM_PlatformCaps_TDRamping,4,2 ## @PHM_PlatformCaps_TDRamping
	.comm	_DIDT_TD_CTRL0,4,2              ## @DIDT_TD_CTRL0
	.comm	_TD_Enable_MASK,4,2             ## @TD_Enable_MASK
	.comm	_TD_Enable_SHIFT,4,2            ## @TD_Enable_SHIFT
	.comm	_PHM_PlatformCaps_TCPRamping,4,2 ## @PHM_PlatformCaps_TCPRamping
	.comm	_DIDT_TCP_CTRL0,4,2             ## @DIDT_TCP_CTRL0
	.comm	_TCP_Enable_MASK,4,2            ## @TCP_Enable_MASK
	.comm	_TCP_Enable_SHIFT,4,2           ## @TCP_Enable_SHIFT
	.comm	_PHM_PlatformCaps_DBRRamping,4,2 ## @PHM_PlatformCaps_DBRRamping
	.comm	_DIDT_DBR_CTRL0,4,2             ## @DIDT_DBR_CTRL0
	.comm	_PHM_PlatformCaps_DiDtEDCEnable,4,2 ## @PHM_PlatformCaps_DiDtEDCEnable
	.comm	_ixDIDT_SQ_EDC_CTRL,4,2         ## @ixDIDT_SQ_EDC_CTRL
	.comm	_DIDT_SQ_EDC_CTRL,4,2           ## @DIDT_SQ_EDC_CTRL
	.comm	_EDC_EN,4,2                     ## @EDC_EN
	.comm	_EDC_SW_RST,4,2                 ## @EDC_SW_RST
	.comm	_ixDIDT_DB_EDC_CTRL,4,2         ## @ixDIDT_DB_EDC_CTRL
	.comm	_DIDT_DB_EDC_CTRL,4,2           ## @DIDT_DB_EDC_CTRL
	.comm	_ixDIDT_TD_EDC_CTRL,4,2         ## @ixDIDT_TD_EDC_CTRL
	.comm	_DIDT_TD_EDC_CTRL,4,2           ## @DIDT_TD_EDC_CTRL
	.comm	_ixDIDT_TCP_EDC_CTRL,4,2        ## @ixDIDT_TCP_EDC_CTRL
	.comm	_DIDT_TCP_EDC_CTRL,4,2          ## @DIDT_TCP_EDC_CTRL
	.comm	_ixDIDT_DBR_EDC_CTRL,4,2        ## @ixDIDT_DBR_EDC_CTRL
	.comm	_DIDT_DBR_EDC_CTRL,4,2          ## @DIDT_DBR_EDC_CTRL
	.comm	_PPSMC_MSG_ConfigureGfxDidt,4,2 ## @PPSMC_MSG_ConfigureGfxDidt
	.no_dead_strip	_vega10_didt_set_mask
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vega10_didt_set_mask
_vega10_didt_set_mask:                  ; @vega10_didt_set_mask
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x1
	mov	x19, x0
	cmp	w1, #0
	cset	w21, ne
Lloh0:
	adrp	x8, _SQ_IR_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SQ_IR_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _TCP_IR_MASK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _TCP_IR_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _TD_PCC_MASK@GOTPAGE
Lloh7:
	ldr	x10, [x10, _TD_PCC_MASK@GOTPAGEOFF]
	orr	w8, w9, w8
Lloh8:
	ldr	w9, [x10]
	orr	w22, w8, w9
Lloh9:
	adrp	x27, _PHM_PlatformCaps_SQRamping@GOTPAGE
Lloh10:
	ldr	x27, [x27, _PHM_PlatformCaps_SQRamping@GOTPAGEOFF]
	ldr	w0, [x27]
	bl	_PP_CAP
Lloh11:
	adrp	x23, _CGS_IND_REG__DIDT@GOTPAGE
Lloh12:
	ldr	x23, [x23, _CGS_IND_REG__DIDT@GOTPAGEOFF]
Lloh13:
	adrp	x24, _DIDT_CTRL_EN@GOTPAGE
Lloh14:
	ldr	x24, [x24, _DIDT_CTRL_EN@GOTPAGEOFF]
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w0, [x19]
	ldr	w1, [x23]
Lloh15:
	adrp	x8, _DIDT_SQ_CTRL0@GOTPAGE
Lloh16:
	ldr	x8, [x8, _DIDT_SQ_CTRL0@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	ldr	w3, [x24]
	mov	x4, x21
	bl	_CGS_WREG32_FIELD_IND
Lloh18:
	adrp	x8, _SQ_Enable_MASK@GOTPAGE
Lloh19:
	ldr	x8, [x8, _SQ_Enable_MASK@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	bic	w8, w22, w8
Lloh21:
	adrp	x9, _SQ_Enable_SHIFT@GOTPAGE
Lloh22:
	ldr	x9, [x9, _SQ_Enable_SHIFT@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	lsl	w9, w21, w9
	orr	w22, w9, w8
LBB0_2:
Lloh24:
	adrp	x25, _PHM_PlatformCaps_DBRamping@GOTPAGE
Lloh25:
	ldr	x25, [x25, _PHM_PlatformCaps_DBRamping@GOTPAGEOFF]
	ldr	w0, [x25]
	bl	_PP_CAP
	cbz	x0, LBB0_4
; %bb.3:
	ldr	w0, [x19]
	ldr	w1, [x23]
Lloh26:
	adrp	x8, _DIDT_DB_CTRL0@GOTPAGE
Lloh27:
	ldr	x8, [x8, _DIDT_DB_CTRL0@GOTPAGEOFF]
Lloh28:
	ldr	w2, [x8]
	ldr	w3, [x24]
	mov	x4, x21
	bl	_CGS_WREG32_FIELD_IND
Lloh29:
	adrp	x8, _DB_Enable_MASK@GOTPAGE
Lloh30:
	ldr	x8, [x8, _DB_Enable_MASK@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	bic	w8, w22, w8
Lloh32:
	adrp	x9, _DB_Enable_SHIFT@GOTPAGE
Lloh33:
	ldr	x9, [x9, _DB_Enable_SHIFT@GOTPAGEOFF]
Lloh34:
	ldr	w9, [x9]
	lsl	w9, w21, w9
	orr	w22, w9, w8
LBB0_4:
Lloh35:
	adrp	x8, _PHM_PlatformCaps_TDRamping@GOTPAGE
Lloh36:
	ldr	x8, [x8, _PHM_PlatformCaps_TDRamping@GOTPAGEOFF]
Lloh37:
	ldr	w0, [x8]
	bl	_PP_CAP
	cbz	x0, LBB0_6
; %bb.5:
	ldr	w0, [x19]
	ldr	w1, [x23]
Lloh38:
	adrp	x8, _DIDT_TD_CTRL0@GOTPAGE
Lloh39:
	ldr	x8, [x8, _DIDT_TD_CTRL0@GOTPAGEOFF]
Lloh40:
	ldr	w2, [x8]
	ldr	w3, [x24]
	mov	x4, x21
	bl	_CGS_WREG32_FIELD_IND
Lloh41:
	adrp	x8, _TD_Enable_MASK@GOTPAGE
Lloh42:
	ldr	x8, [x8, _TD_Enable_MASK@GOTPAGEOFF]
Lloh43:
	ldr	w8, [x8]
	bic	w8, w22, w8
Lloh44:
	adrp	x9, _TD_Enable_SHIFT@GOTPAGE
Lloh45:
	ldr	x9, [x9, _TD_Enable_SHIFT@GOTPAGEOFF]
Lloh46:
	ldr	w9, [x9]
	lsl	w9, w21, w9
	orr	w22, w9, w8
LBB0_6:
Lloh47:
	adrp	x26, _PHM_PlatformCaps_TCPRamping@GOTPAGE
Lloh48:
	ldr	x26, [x26, _PHM_PlatformCaps_TCPRamping@GOTPAGEOFF]
	ldr	w0, [x26]
	bl	_PP_CAP
	cbz	x0, LBB0_8
; %bb.7:
	ldr	w0, [x19]
	ldr	w1, [x23]
Lloh49:
	adrp	x8, _DIDT_TCP_CTRL0@GOTPAGE
Lloh50:
	ldr	x8, [x8, _DIDT_TCP_CTRL0@GOTPAGEOFF]
Lloh51:
	ldr	w2, [x8]
	ldr	w3, [x24]
	mov	x4, x21
	bl	_CGS_WREG32_FIELD_IND
Lloh52:
	adrp	x8, _TCP_Enable_MASK@GOTPAGE
Lloh53:
	ldr	x8, [x8, _TCP_Enable_MASK@GOTPAGEOFF]
Lloh54:
	ldr	w8, [x8]
	bic	w8, w22, w8
Lloh55:
	adrp	x9, _TCP_Enable_SHIFT@GOTPAGE
Lloh56:
	ldr	x9, [x9, _TCP_Enable_SHIFT@GOTPAGEOFF]
Lloh57:
	ldr	w9, [x9]
	lsl	w9, w21, w9
	orr	w22, w9, w8
LBB0_8:
Lloh58:
	adrp	x8, _PHM_PlatformCaps_DBRRamping@GOTPAGE
Lloh59:
	ldr	x8, [x8, _PHM_PlatformCaps_DBRRamping@GOTPAGEOFF]
Lloh60:
	ldr	w0, [x8]
	bl	_PP_CAP
	cbz	x0, LBB0_10
; %bb.9:
	ldr	w0, [x19]
	ldr	w1, [x23]
Lloh61:
	adrp	x8, _DIDT_DBR_CTRL0@GOTPAGE
Lloh62:
	ldr	x8, [x8, _DIDT_DBR_CTRL0@GOTPAGEOFF]
Lloh63:
	ldr	w2, [x8]
	ldr	w3, [x24]
	mov	x4, x21
	bl	_CGS_WREG32_FIELD_IND
LBB0_10:
Lloh64:
	adrp	x8, _PHM_PlatformCaps_DiDtEDCEnable@GOTPAGE
Lloh65:
	ldr	x8, [x8, _PHM_PlatformCaps_DiDtEDCEnable@GOTPAGEOFF]
Lloh66:
	ldr	w0, [x8]
	bl	_PP_CAP
	cbz	x0, LBB0_21
; %bb.11:
	ldr	w0, [x27]
	bl	_PP_CAP
Lloh67:
	adrp	x28, _EDC_EN@GOTPAGE
Lloh68:
	ldr	x28, [x28, _EDC_EN@GOTPAGEOFF]
Lloh69:
	adrp	x27, _EDC_SW_RST@GOTPAGE
Lloh70:
	ldr	x27, [x27, _EDC_SW_RST@GOTPAGEOFF]
	cbz	x0, LBB0_13
; %bb.12:
	ldr	w0, [x19]
	ldr	w1, [x23]
Lloh71:
	adrp	x8, _ixDIDT_SQ_EDC_CTRL@GOTPAGE
Lloh72:
	ldr	x8, [x8, _ixDIDT_SQ_EDC_CTRL@GOTPAGEOFF]
Lloh73:
	ldr	w2, [x8]
	bl	_cgs_read_ind_register
	mov	x24, x26
	mov	x26, x27
Lloh74:
	adrp	x27, _DIDT_SQ_EDC_CTRL@GOTPAGE
Lloh75:
	ldr	x27, [x27, _DIDT_SQ_EDC_CTRL@GOTPAGEOFF]
	ldr	w1, [x27]
	ldr	w2, [x28]
	mov	x3, x21
	bl	_REG_SET_FIELD
	ldr	w1, [x27]
	mov	x27, x26
	mov	x26, x24
	ldr	w2, [x27]
	mvn	w3, w21
	bl	_REG_SET_FIELD
	mov	x3, x0
	ldr	w0, [x19]
	ldr	w1, [x23]
Lloh76:
	adrp	x8, _ixDIDT_SQ_EDC_CTRL@GOTPAGE
Lloh77:
	ldr	x8, [x8, _ixDIDT_SQ_EDC_CTRL@GOTPAGEOFF]
Lloh78:
	ldr	w2, [x8]
	bl	_cgs_write_ind_register
LBB0_13:
	ldr	w0, [x25]
	bl	_PP_CAP
	cbz	x0, LBB0_15
; %bb.14:
	ldr	w0, [x19]
	ldr	w1, [x23]
Lloh79:
	adrp	x24, _ixDIDT_DB_EDC_CTRL@GOTPAGE
Lloh80:
	ldr	x24, [x24, _ixDIDT_DB_EDC_CTRL@GOTPAGEOFF]
	ldr	w2, [x24]
	bl	_cgs_read_ind_register
Lloh81:
	adrp	x25, _DIDT_DB_EDC_CTRL@GOTPAGE
Lloh82:
	ldr	x25, [x25, _DIDT_DB_EDC_CTRL@GOTPAGEOFF]
	ldr	w1, [x25]
	ldr	w2, [x28]
	mov	x3, x21
	bl	_REG_SET_FIELD
	ldr	w1, [x25]
	ldr	w2, [x27]
	mvn	w3, w21
	bl	_REG_SET_FIELD
	mov	x3, x0
	ldr	w0, [x19]
	ldr	w1, [x23]
	ldr	w2, [x24]
	bl	_cgs_write_ind_register
LBB0_15:
Lloh83:
	adrp	x8, _PHM_PlatformCaps_TDRamping@GOTPAGE
Lloh84:
	ldr	x8, [x8, _PHM_PlatformCaps_TDRamping@GOTPAGEOFF]
Lloh85:
	ldr	w0, [x8]
	bl	_PP_CAP
	cbz	x0, LBB0_17
; %bb.16:
	ldr	w0, [x19]
	ldr	w1, [x23]
Lloh86:
	adrp	x24, _ixDIDT_TD_EDC_CTRL@GOTPAGE
Lloh87:
	ldr	x24, [x24, _ixDIDT_TD_EDC_CTRL@GOTPAGEOFF]
	ldr	w2, [x24]
	bl	_cgs_read_ind_register
Lloh88:
	adrp	x25, _DIDT_TD_EDC_CTRL@GOTPAGE
Lloh89:
	ldr	x25, [x25, _DIDT_TD_EDC_CTRL@GOTPAGEOFF]
	ldr	w1, [x25]
	ldr	w2, [x28]
	mov	x3, x21
	bl	_REG_SET_FIELD
	ldr	w1, [x25]
	ldr	w2, [x27]
	mvn	w3, w21
	bl	_REG_SET_FIELD
	mov	x3, x0
	ldr	w0, [x19]
	ldr	w1, [x23]
	ldr	w2, [x24]
	bl	_cgs_write_ind_register
LBB0_17:
	ldr	w0, [x26]
	bl	_PP_CAP
	cbz	x0, LBB0_19
; %bb.18:
	ldr	w0, [x19]
	ldr	w1, [x23]
Lloh90:
	adrp	x24, _ixDIDT_TCP_EDC_CTRL@GOTPAGE
Lloh91:
	ldr	x24, [x24, _ixDIDT_TCP_EDC_CTRL@GOTPAGEOFF]
	ldr	w2, [x24]
	bl	_cgs_read_ind_register
Lloh92:
	adrp	x25, _DIDT_TCP_EDC_CTRL@GOTPAGE
Lloh93:
	ldr	x25, [x25, _DIDT_TCP_EDC_CTRL@GOTPAGEOFF]
	ldr	w1, [x25]
	ldr	w2, [x28]
	mov	x3, x21
	bl	_REG_SET_FIELD
	ldr	w1, [x25]
	ldr	w2, [x27]
	mvn	w3, w21
	bl	_REG_SET_FIELD
	mov	x3, x0
	ldr	w0, [x19]
	ldr	w1, [x23]
	ldr	w2, [x24]
	bl	_cgs_write_ind_register
LBB0_19:
Lloh94:
	adrp	x8, _PHM_PlatformCaps_DBRRamping@GOTPAGE
Lloh95:
	ldr	x8, [x8, _PHM_PlatformCaps_DBRRamping@GOTPAGEOFF]
Lloh96:
	ldr	w0, [x8]
	bl	_PP_CAP
	cbz	x0, LBB0_21
; %bb.20:
	ldr	w0, [x19]
	ldr	w1, [x23]
Lloh97:
	adrp	x24, _ixDIDT_DBR_EDC_CTRL@GOTPAGE
Lloh98:
	ldr	x24, [x24, _ixDIDT_DBR_EDC_CTRL@GOTPAGEOFF]
	ldr	w2, [x24]
	bl	_cgs_read_ind_register
Lloh99:
	adrp	x25, _DIDT_DBR_EDC_CTRL@GOTPAGE
Lloh100:
	ldr	x25, [x25, _DIDT_DBR_EDC_CTRL@GOTPAGEOFF]
	ldr	w1, [x25]
	ldr	w2, [x28]
	mov	x3, x21
	bl	_REG_SET_FIELD
	ldr	w1, [x25]
	ldr	w2, [x27]
	mvn	w3, w21
	bl	_REG_SET_FIELD
	mov	x3, x0
	ldr	w0, [x19]
	ldr	w1, [x23]
	ldr	w2, [x24]
	bl	_cgs_write_ind_register
LBB0_21:
	cbz	w20, LBB0_23
; %bb.22:
Lloh101:
	adrp	x8, _PPSMC_MSG_ConfigureGfxDidt@GOTPAGE
Lloh102:
	ldr	x8, [x8, _PPSMC_MSG_ConfigureGfxDidt@GOTPAGEOFF]
Lloh103:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x22
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_smum_send_msg_to_smc_with_parameter
LBB0_23:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGot	Lloh69, Lloh70
	.loh AdrpLdrGot	Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.loh AdrpLdrGot	Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpLdrGot	Lloh81, Lloh82
	.loh AdrpLdrGot	Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh85
	.loh AdrpLdrGot	Lloh88, Lloh89
	.loh AdrpLdrGot	Lloh86, Lloh87
	.loh AdrpLdrGot	Lloh92, Lloh93
	.loh AdrpLdrGot	Lloh90, Lloh91
	.loh AdrpLdrGotLdr	Lloh94, Lloh95, Lloh96
	.loh AdrpLdrGot	Lloh99, Lloh100
	.loh AdrpLdrGot	Lloh97, Lloh98
	.loh AdrpLdrGotLdr	Lloh101, Lloh102, Lloh103
	.cfi_endproc
                                        ; -- End function
	.comm	_SQ_IR_MASK,4,2                 ; @SQ_IR_MASK
	.comm	_TCP_IR_MASK,4,2                ; @TCP_IR_MASK
	.comm	_TD_PCC_MASK,4,2                ; @TD_PCC_MASK
	.comm	_PHM_PlatformCaps_SQRamping,4,2 ; @PHM_PlatformCaps_SQRamping
	.comm	_CGS_IND_REG__DIDT,4,2          ; @CGS_IND_REG__DIDT
	.comm	_DIDT_SQ_CTRL0,4,2              ; @DIDT_SQ_CTRL0
	.comm	_DIDT_CTRL_EN,4,2               ; @DIDT_CTRL_EN
	.comm	_SQ_Enable_MASK,4,2             ; @SQ_Enable_MASK
	.comm	_SQ_Enable_SHIFT,4,2            ; @SQ_Enable_SHIFT
	.comm	_PHM_PlatformCaps_DBRamping,4,2 ; @PHM_PlatformCaps_DBRamping
	.comm	_DIDT_DB_CTRL0,4,2              ; @DIDT_DB_CTRL0
	.comm	_DB_Enable_MASK,4,2             ; @DB_Enable_MASK
	.comm	_DB_Enable_SHIFT,4,2            ; @DB_Enable_SHIFT
	.comm	_PHM_PlatformCaps_TDRamping,4,2 ; @PHM_PlatformCaps_TDRamping
	.comm	_DIDT_TD_CTRL0,4,2              ; @DIDT_TD_CTRL0
	.comm	_TD_Enable_MASK,4,2             ; @TD_Enable_MASK
	.comm	_TD_Enable_SHIFT,4,2            ; @TD_Enable_SHIFT
	.comm	_PHM_PlatformCaps_TCPRamping,4,2 ; @PHM_PlatformCaps_TCPRamping
	.comm	_DIDT_TCP_CTRL0,4,2             ; @DIDT_TCP_CTRL0
	.comm	_TCP_Enable_MASK,4,2            ; @TCP_Enable_MASK
	.comm	_TCP_Enable_SHIFT,4,2           ; @TCP_Enable_SHIFT
	.comm	_PHM_PlatformCaps_DBRRamping,4,2 ; @PHM_PlatformCaps_DBRRamping
	.comm	_DIDT_DBR_CTRL0,4,2             ; @DIDT_DBR_CTRL0
	.comm	_PHM_PlatformCaps_DiDtEDCEnable,4,2 ; @PHM_PlatformCaps_DiDtEDCEnable
	.comm	_ixDIDT_SQ_EDC_CTRL,4,2         ; @ixDIDT_SQ_EDC_CTRL
	.comm	_DIDT_SQ_EDC_CTRL,4,2           ; @DIDT_SQ_EDC_CTRL
	.comm	_EDC_EN,4,2                     ; @EDC_EN
	.comm	_EDC_SW_RST,4,2                 ; @EDC_SW_RST
	.comm	_ixDIDT_DB_EDC_CTRL,4,2         ; @ixDIDT_DB_EDC_CTRL
	.comm	_DIDT_DB_EDC_CTRL,4,2           ; @DIDT_DB_EDC_CTRL
	.comm	_ixDIDT_TD_EDC_CTRL,4,2         ; @ixDIDT_TD_EDC_CTRL
	.comm	_DIDT_TD_EDC_CTRL,4,2           ; @DIDT_TD_EDC_CTRL
	.comm	_ixDIDT_TCP_EDC_CTRL,4,2        ; @ixDIDT_TCP_EDC_CTRL
	.comm	_DIDT_TCP_EDC_CTRL,4,2          ; @DIDT_TCP_EDC_CTRL
	.comm	_ixDIDT_DBR_EDC_CTRL,4,2        ; @ixDIDT_DBR_EDC_CTRL
	.comm	_DIDT_DBR_EDC_CTRL,4,2          ; @DIDT_DBR_EDC_CTRL
	.comm	_PPSMC_MSG_ConfigureGfxDidt,4,2 ; @PPSMC_MSG_ConfigureGfxDidt
	.no_dead_strip	_vega10_didt_set_mask
.subsections_via_symbols
