MDL *__fastcall PopGenerateScratchMdl(INT64 a1, INT64 a2){
MDL *result;
result = MmAllocatePagesForMdlEx(0x1000000ui64, MmNotMapped, 0);
if( result )
{
result->Next = *(_MDL **)(a1 + 128);
*(_QWORD *)(a1 + 136) += a2;
*(_QWORD *)(a1 + 128) = result;
}
return result;
}