// GetAndSetSocketIioConfig - decompiled from Platform.efi
__int64 GetAndSetSocketIioConfig()
{
  __int64 v0; // rax
  __int64 Protocol; // rax
  __int64 v2; // rax
  _BYTE v4[6680]; // [rsp+30h] [rbp-1A18h] BYREF
  unsigned int v5; // [rsp+1A50h] [rbp+8h] BYREF
  __int64 n6668; // [rsp+1A58h] [rbp+10h] BYREF

  n6668 = 6668; /*0x908*/
  v0 = (*(__int64 (__fastcall **)(const __int16 *, void *, unsigned int *, __int64 *, _BYTE *))(RuntimeServices + 72))( /*0x932*/
         L"SocketIioConfig",
         &unk_FB80,
         &v5,
         &n6668,
         v4);
  if ( v0 < 0 ) /*0x93d*/
  {
    DebugPrint(0x80000000, "\nASSERT_EFI_ERROR (Status = %r)\n", v0); /*0x94b*/
    Assert((__int64)"e:\\hs\\PurleyRpPkg\\Platform\\Dxe\\Setup\\SetupPlatform.c", 270, (__int64)"!EFI_ERROR (Status)"); /*0x963*/
  }
  Protocol = LocateProtocol(); /*0x968*/
  v4[6463] = (*(unsigned __int8 (__fastcall **)(__int64))(Protocol + 8))(35) == 17; /*0x99d*/
  v2 = (*(__int64 (__fastcall **)(const __int16 *, void *, _QWORD, __int64, _BYTE *))(RuntimeServices + 88))( /*0x9ac*/
         L"SocketIioConfig",
         &unk_FB80,
         v5,
         6668,
         v4);
  if ( v2 < 0 ) /*0x9b2*/
  {
    DebugPrint(0x80000000, "\nASSERT_EFI_ERROR (Status = %r)\n", v2); /*0x9c1*/
    Assert((__int64)"e:\\hs\\PurleyRpPkg\\Platform\\Dxe\\Setup\\SetupPlatform.c", 286, (__int64)"!EFI_ERROR (Status)"); /*0x9d9*/
  }
  return 0; /*0x9e0*/
}
