INT64 __fastcall BgSetBootGraphicsInformation(INT64 a1, INT64 a2){
INT64 v3;
INT64 v5;
unsigned int v6;
if( KeGetCurrentIrql() )
return 3221225473i64;
if( !a2 )
return 3221225485i64;
BgpFwAcquireLock(v3);
if( (dword_140C13310 & 1) != 0 )
v6 = BgpFwSetBootGraphicsInformation(v5, a2);
else
v6 = -1073741823;
BgpFwReleaseLock();
return v6;
}