/* Node must be in a variable list of arguments. Traversal Order: VarArgNode, f, g, NULL */
AML_NODE_HEADER* EFIAPI AmlGetSiblingVariableArgument(IN AML_NODE_HEADER *VarArgNode)
/* Node must be in a variable list of arguments. Traversal Order: VarArgNode, f, g, NULL */
AML_NODE_HEADER* EFIAPI AmlGetSiblingVariableArgument(IN AML_NODE_HEADER *VarArgNode)
{
  EAML_PARSE_INDEX  Index;
  AML_NODE_HEADER   *ParentNode;
  if ((!IS_AML_OBJECT_NODE (VarArgNode) &&
       !IS_AML_DATA_NODE (VarArgNode))  ||
      AmlIsNodeFixedArgument (VarArgNode, &Index))
  {
    ASSERT (0);
    return NULL;
  }
  ParentNode = AmlGetParent (VarArgNode);
  if (!IS_AML_NODE_VALID (ParentNode)) {
    ASSERT (0);
    return NULL;
  }
  return AmlGetNextVariableArgument (ParentNode, VarArgNode);
}