NTSTATUS __stdcall KiOpFetchBytes(INT64 a1, INT64 a2, _BYTE *a3){
int v4;
NTSTATUS result;
v4 = a2;
while( 1 )
{
result = KiOpFetchNextByte(a1, a3);
if( result < 0 )
break;
++a3;
if( !--v4 )
return 0;
}
return result;
}