PopDirectedDripsInsertQueueDevice

_QWORD *__fastcall PopDirectedDripsInsertQueueDevice(__int64 a1, _QWORD *a2){
  _QWORD *v2; 
  _QWORD **v3; 
  _QWORD *result; 

  v2 = (_QWORD *)*a2;
  if( *(_QWORD **)(*a2 + 8i64) != a2
    || (v3 = (_QWORD **)a2[1], *v3 != a2)
    || (*v3 = v2, v2[1] = v3, result = *(_QWORD **)(a1 + 8), *result != a1) )
  {
    __fastfail(3u);
  }
  *a2 = a1;
  a2[1] = result;
  *result = a2;
  *(_QWORD *)(a1 + 8) = a2;
  return result;
}

Referenced by:

PopDirectedDripsBuildBroadcastTreeFull
PopDirectedDripsBuildPs4BroadcastTree
PopDirectedDripsMarkDfxDevice
PopDirectedDripsVisitPs4Device