int __thiscall sub_FFD83186(char *this)
{
  int v2; // eax
  int v3; // eax
  int v4; // eax
  int v5; // eax
  int v6; // esi
  double v8; // [esp-4h] [ebp-20h]
  int v9; // [esp+14h] [ebp-8h] BYREF

  v2 = sub_FFD8D75C(&v9); /*0xffd8319f*/
  if ( v2 < 0 ) /*0xffd831b1*/
  {
    DebugPrint(0x80000000, (int)"\
ASSERT_EFI_ERROR (Status = %r)\
", v2); /*0xffd831be*/
    v3 = GetReportStatusCodePpi(); /*0xffd831c6*/
    if ( v3 ) /*0xffd831cd*/
      (*(void (__cdecl **)(const char *, int, const char *))(v3 + 4))( /*0xffd831d6*/
        "e:\\hs\\PurleySktPkg\\SouthClusterLbg\\LibraryPrivate\\PeiPchInitLib\\PchRootPorts.c",
        1132,
        "!EFI_ERROR (Status)");
  }
  v4 = sub_FFD9041E(&v9); /*0xffd831e8*/
  if ( v4 < 0 ) /*0xffd831f0*/
  {
    DebugPrint(0x80000000, (int)"\
ASSERT_EFI_ERROR (Status = %r)\
", v4); /*0xffd831fd*/
    v5 = GetReportStatusCodePpi(); /*0xffd83205*/
    if ( v5 ) /*0xffd8320c*/
      (*(void (__cdecl **)(const char *, int, const char *))(v5 + 4))( /*0xffd83215*/
        "e:\\hs\\PurleySktPkg\\SouthClusterLbg\\LibraryPrivate\\PeiPchInitLib\\PchRootPorts.c",
        1135,
        "!EFI_ERROR (Status)");
  }
  v6 = (unsigned __int16)v9 >> 14; /*0xffd83225*/
  LODWORD(v8) = off_FFD93F7C[v6]; // "4x1" /*0xffd83228*/
  DebugPrint(64, (int)"PCIe SP%c is %a\
", this + 65, v8); /*0xffd83237*/
  return v6; /*0xffd83241*/
}
