int __thiscall sub_FFD879ED(_DWORD *this)
{
unsigned __int8 i; // bl
int v3; // ecx
int v5; // [esp-4h] [ebp-20h]
unsigned __int8 v6; // [esp+11h] [ebp-Bh]
char v7; // [esp+12h] [ebp-Ah] BYREF
char v8; // [esp+13h] [ebp-9h] BYREF
_BYTE v9[2]; // [esp+14h] [ebp-8h] BYREF
DebugPrint(64, (int)"XhciUsb3Tune() Start\n"); /*0xffd879fd*/
for ( i = 0; i < (unsigned __int8)sub_FFD8C051(); ++i ) /*0xffd87a06*/
{
if ( (*(_BYTE *)(this + 4 * i + 67) & 0x81) != 0 ) /*0xffd87a22*/
{
sub_FFD8E3BE(); /*0xffd87a2c*/
sub_FFD8E062(v6, &v8, &v7); /*0xffd87a41*/
v3 = v5; /*0xffd87a4b*/
if ( v7 == 1 ) /*0xffd87a4c*/
{
LOBYTE(v3) = v6; /*0xffd87a56*/
sub_FFD8EBC8(v3, v9); /*0xffd87a58*/
if ( (*(this + 4 * i + 67) & 1) != 0 ) /*0xffd87a6e*/
sub_FFD8C578(-4128769, (*(this + 4 * i + 67) & 0x7E) << 15); /*0xffd87a85*/
if ( (*(this + 4 * i + 67) & 0x80u) != 0 ) /*0xffd87a95*/
sub_FFD8C578(-4128769, (*(this + 4 * i + 67) & 0x3F00) << 8); /*0xffd87aae*/
sub_FFD8C578(-3, 0); /*0xffd87ac9*/
sub_FFD8C578(-1, 2); /*0xffd87ad6*/
}
}
}
return DebugPrint(64, (int)"XhciUsb3Tune() End\n"); /*0xffd87afb*/
}