void *__fastcall HalpMmAllocatePerProcessorMemory(int a1){
int MaximumProcessorCount;
PSTR MemoryInternal;
PSTR v4;
MaximumProcessorCount = HalQueryMaximumProcessorCount();
MemoryInternal = HalpMmAllocateMemoryInternal((unsigned int)(MaximumProcessorCount * a1), MmCached);
v4 = MemoryInternal;
if( MemoryInternal )
memset((INT64)MemoryInternal, 0i64);
return v4;
}