INT64 __fastcall PopPowerAggregatorHandleIntent(UINT64 a1, UINT64 a2, UINT64 a3){
unsigned int v3;
unsigned int v4;
unsigned int v5;
unsigned int v6;
v3 = a1;
v4 = a3;
v5 = a2;
PopAcquireRwLockExclusive((_POP_RW_LOCK *)&PopPowerAggregatorLock);
v6 = PopPowerAggregatorHandleIntentUnsafe((_QWORD *)v3, v5, v4);
PopReleaseRwLock((UINT64)&PopPowerAggregatorLock);
return v6;
}