Newer
Older
AMI-Aptio-BIOS-Reversed / MdeModulePkg / Core / DxeIplPeim / DxeIplLzmaGetBit.c
@Ajax Dong Ajax Dong 2 days ago 491 bytes Full restructure
/* DxeIplLzmaGetBit @ 0xffc188f5 size=0x2f */
int __fastcall DxeIplLzmaGetBit(char *a1, _BYTE *a2, unsigned int n7)
{
  char i; // al

  for ( i = *a1; *a1; i = *a1 ) /*0xffc188f5*/
  {
    if ( !*a2 ) /*0xffc18901*/
      break; /*0xffc18905*/
    if ( i != *a2 ) /*0xffc18909*/
      break; /*0xffc18909*/
    if ( n7 <= 1 ) /*0xffc1890e*/
      break; /*0xffc1890e*/
    ++a1; /*0xffc18910*/
    ++a2; /*0xffc18911*/
    --n7; /*0xffc18912*/
  }
  return *a1 - (char)*a2; /*0xffc18923*/
}