/* ANSI-C code produced by gperf version 3.1 */
/* Command-line: /usr/bin/gperf --output-file src/as-tag-xml-private.h ../src/as-tag-xml.gperf  */
/* Computed positions: -k'1,6' */

#if !((' ' == 32) && ('!' == 33) && ('"' == 34) && ('#' == 35) \
      && ('%' == 37) && ('&' == 38) && ('\'' == 39) && ('(' == 40) \
      && (')' == 41) && ('*' == 42) && ('+' == 43) && (',' == 44) \
      && ('-' == 45) && ('.' == 46) && ('/' == 47) && ('0' == 48) \
      && ('1' == 49) && ('2' == 50) && ('3' == 51) && ('4' == 52) \
      && ('5' == 53) && ('6' == 54) && ('7' == 55) && ('8' == 56) \
      && ('9' == 57) && (':' == 58) && (';' == 59) && ('<' == 60) \
      && ('=' == 61) && ('>' == 62) && ('?' == 63) && ('A' == 65) \
      && ('B' == 66) && ('C' == 67) && ('D' == 68) && ('E' == 69) \
      && ('F' == 70) && ('G' == 71) && ('H' == 72) && ('I' == 73) \
      && ('J' == 74) && ('K' == 75) && ('L' == 76) && ('M' == 77) \
      && ('N' == 78) && ('O' == 79) && ('P' == 80) && ('Q' == 81) \
      && ('R' == 82) && ('S' == 83) && ('T' == 84) && ('U' == 85) \
      && ('V' == 86) && ('W' == 87) && ('X' == 88) && ('Y' == 89) \
      && ('Z' == 90) && ('[' == 91) && ('\\' == 92) && (']' == 93) \
      && ('^' == 94) && ('_' == 95) && ('a' == 97) && ('b' == 98) \
      && ('c' == 99) && ('d' == 100) && ('e' == 101) && ('f' == 102) \
      && ('g' == 103) && ('h' == 104) && ('i' == 105) && ('j' == 106) \
      && ('k' == 107) && ('l' == 108) && ('m' == 109) && ('n' == 110) \
      && ('o' == 111) && ('p' == 112) && ('q' == 113) && ('r' == 114) \
      && ('s' == 115) && ('t' == 116) && ('u' == 117) && ('v' == 118) \
      && ('w' == 119) && ('x' == 120) && ('y' == 121) && ('z' == 122) \
      && ('{' == 123) && ('|' == 124) && ('}' == 125) && ('~' == 126))
/* The character set is not based on ISO-646.  */
#error "gperf generated tables don't work with this execution character set. Please report a bug to <bug-gperf@gnu.org>."
#endif

#line 10 "../src/as-tag-xml.gperf"
struct xml_tag_data { int name; unsigned int etag; };
#include <string.h>
/* maximum key range = 66, duplicates = 0 */

#ifdef __GNUC__
__inline
#else
#ifdef __cplusplus
inline
#endif
#endif
static unsigned int
_as_xml_tag_hash (register const char *str, register size_t len)
{
  static const unsigned char asso_values[] =
    {
      68, 68, 68, 68, 68, 68, 68, 68, 68, 68,
      68, 68, 68, 68, 68, 68, 68, 68, 68, 68,
      68, 68, 68, 68, 68, 68, 68, 68, 68, 68,
      68, 68, 68, 68, 68, 68, 68, 68, 68, 68,
      68, 68, 68, 68, 68, 68, 68, 68, 68, 68,
      68, 68, 68, 68, 68, 68, 68, 68, 68, 68,
      68, 68, 68, 68, 68, 68, 68, 68, 68, 68,
      68, 68, 68, 68, 68, 68, 68, 68, 68, 68,
      68, 68, 68, 68, 68, 68, 68, 68, 68, 68,
      68, 68, 68, 68, 68, 15, 68, 40,  0, 15,
       5, 30,  5, 68, 68, 30, 40, 45,  0,  0,
       0, 15,  5, 68,  5,  0, 25, 25, 68, 20,
      10, 68,  5, 68, 68, 68, 68, 68, 68, 68,
      68, 68, 68, 68, 68, 68, 68, 68, 68, 68,
      68, 68, 68, 68, 68, 68, 68, 68, 68, 68,
      68, 68, 68, 68, 68, 68, 68, 68, 68, 68,
      68, 68, 68, 68, 68, 68, 68, 68, 68, 68,
      68, 68, 68, 68, 68, 68, 68, 68, 68, 68,
      68, 68, 68, 68, 68, 68, 68, 68, 68, 68,
      68, 68, 68, 68, 68, 68, 68, 68, 68, 68,
      68, 68, 68, 68, 68, 68, 68, 68, 68, 68,
      68, 68, 68, 68, 68, 68, 68, 68, 68, 68,
      68, 68, 68, 68, 68, 68, 68, 68, 68, 68,
      68, 68, 68, 68, 68, 68, 68, 68, 68, 68,
      68, 68, 68, 68, 68, 68, 68, 68, 68, 68,
      68, 68, 68, 68, 68, 68, 68
    };
  register unsigned int hval = len;

  switch (hval)
    {
      default:
        hval += asso_values[(unsigned char)str[5]+1];
      /*FALLTHROUGH*/
      case 5:
      case 4:
      case 3:
      case 2:
      case 1:
        hval += asso_values[(unsigned char)str[0]];
        break;
    }
  return hval;
}

struct xml_tag_stringpool_t
  {
    char xml_tag_stringpool_str2[sizeof("li")];
    char xml_tag_stringpool_str4[sizeof("name")];
    char xml_tag_stringpool_str6[sizeof("p")];
    char xml_tag_stringpool_str7[sizeof("summary")];
    char xml_tag_stringpool_str8[sizeof("supports")];
    char xml_tag_stringpool_str9[sizeof("languages")];
    char xml_tag_stringpool_str11[sizeof("bundle")];
    char xml_tag_stringpool_str12[sizeof("pkgname")];
    char xml_tag_stringpool_str13[sizeof("requires")];
    char xml_tag_stringpool_str14[sizeof("mimetypes")];
    char xml_tag_stringpool_str15[sizeof("recommends")];
    char xml_tag_stringpool_str16[sizeof("metadata_license")];
    char xml_tag_stringpool_str17[sizeof("ol")];
    char xml_tag_stringpool_str18[sizeof("replaces")];
    char xml_tag_stringpool_str19[sizeof("source_pkgname")];
    char xml_tag_stringpool_str21[sizeof("custom")];
    char xml_tag_stringpool_str22[sizeof("reviews")];
    char xml_tag_stringpool_str23[sizeof("project_group")];
    char xml_tag_stringpool_str24[sizeof("developer_name")];
    char xml_tag_stringpool_str25[sizeof("project_license")];
    char xml_tag_stringpool_str26[sizeof("screenshots")];
    char xml_tag_stringpool_str27[sizeof("ul")];
    char xml_tag_stringpool_str28[sizeof("url")];
    char xml_tag_stringpool_str29[sizeof("tags")];
    char xml_tag_stringpool_str30[sizeof("categories")];
    char xml_tag_stringpool_str31[sizeof("_asi_origin")];
    char xml_tag_stringpool_str32[sizeof("id")];
    char xml_tag_stringpool_str33[sizeof("suggests")];
    char xml_tag_stringpool_str34[sizeof("icon")];
    char xml_tag_stringpool_str36[sizeof("translation")];
    char xml_tag_stringpool_str37[sizeof("compulsory_for_desktop")];
    char xml_tag_stringpool_str38[sizeof("releases")];
    char xml_tag_stringpool_str39[sizeof("name_variant_suffix")];
    char xml_tag_stringpool_str40[sizeof("launchable")];
    char xml_tag_stringpool_str41[sizeof("_asi_branch")];
    char xml_tag_stringpool_str43[sizeof("provides")];
    char xml_tag_stringpool_str44[sizeof("content_rating")];
    char xml_tag_stringpool_str48[sizeof("branding")];
    char xml_tag_stringpool_str49[sizeof("agreement")];
    char xml_tag_stringpool_str50[sizeof("_asi_scope")];
    char xml_tag_stringpool_str53[sizeof("keywords")];
    char xml_tag_stringpool_str56[sizeof("description")];
    char xml_tag_stringpool_str67[sizeof("extends")];
  };
static const struct xml_tag_stringpool_t xml_tag_stringpool_contents =
  {
    "li",
    "name",
    "p",
    "summary",
    "supports",
    "languages",
    "bundle",
    "pkgname",
    "requires",
    "mimetypes",
    "recommends",
    "metadata_license",
    "ol",
    "replaces",
    "source_pkgname",
    "custom",
    "reviews",
    "project_group",
    "developer_name",
    "project_license",
    "screenshots",
    "ul",
    "url",
    "tags",
    "categories",
    "_asi_origin",
    "id",
    "suggests",
    "icon",
    "translation",
    "compulsory_for_desktop",
    "releases",
    "name_variant_suffix",
    "launchable",
    "_asi_branch",
    "provides",
    "content_rating",
    "branding",
    "agreement",
    "_asi_scope",
    "keywords",
    "description",
    "extends"
  };
#define xml_tag_stringpool ((const char *) &xml_tag_stringpool_contents)
const struct xml_tag_data *
_as_xml_tag_from_gperf (register const char *str, register size_t len)
{
  enum
    {
      TOTAL_KEYWORDS = 43,
      MIN_WORD_LENGTH = 1,
      MAX_WORD_LENGTH = 22,
      MIN_HASH_VALUE = 2,
      MAX_HASH_VALUE = 67
    };

  static const struct xml_tag_data wordlist[] =
    {
      {-1}, {-1},
#line 49 "../src/as-tag-xml.gperf"
      {(int)(size_t)&((struct xml_tag_stringpool_t *)0)->xml_tag_stringpool_str2, AS_TAG_LI},
      {-1},
#line 15 "../src/as-tag-xml.gperf"
      {(int)(size_t)&((struct xml_tag_stringpool_t *)0)->xml_tag_stringpool_str4, AS_TAG_NAME},
      {-1},
#line 48 "../src/as-tag-xml.gperf"
      {(int)(size_t)&((struct xml_tag_stringpool_t *)0)->xml_tag_stringpool_str6, AS_TAG_P},
#line 16 "../src/as-tag-xml.gperf"
      {(int)(size_t)&((struct xml_tag_stringpool_t *)0)->xml_tag_stringpool_str7, AS_TAG_SUMMARY},
#line 26 "../src/as-tag-xml.gperf"
      {(int)(size_t)&((struct xml_tag_stringpool_t *)0)->xml_tag_stringpool_str8, AS_TAG_SUPPORTS},
#line 36 "../src/as-tag-xml.gperf"
      {(int)(size_t)&((struct xml_tag_stringpool_t *)0)->xml_tag_stringpool_str9, AS_TAG_LANGUAGES},
      {-1},
#line 38 "../src/as-tag-xml.gperf"
      {(int)(size_t)&((struct xml_tag_stringpool_t *)0)->xml_tag_stringpool_str11, AS_TAG_BUNDLE},
#line 13 "../src/as-tag-xml.gperf"
      {(int)(size_t)&((struct xml_tag_stringpool_t *)0)->xml_tag_stringpool_str12, AS_TAG_PKGNAME},
#line 24 "../src/as-tag-xml.gperf"
      {(int)(size_t)&((struct xml_tag_stringpool_t *)0)->xml_tag_stringpool_str13, AS_TAG_REQUIRES},
#line 22 "../src/as-tag-xml.gperf"
      {(int)(size_t)&((struct xml_tag_stringpool_t *)0)->xml_tag_stringpool_str14, AS_TAG_MIMETYPES},
#line 25 "../src/as-tag-xml.gperf"
      {(int)(size_t)&((struct xml_tag_stringpool_t *)0)->xml_tag_stringpool_str15, AS_TAG_RECOMMENDS},
#line 30 "../src/as-tag-xml.gperf"
      {(int)(size_t)&((struct xml_tag_stringpool_t *)0)->xml_tag_stringpool_str16, AS_TAG_METADATA_LICENSE},
#line 51 "../src/as-tag-xml.gperf"
      {(int)(size_t)&((struct xml_tag_stringpool_t *)0)->xml_tag_stringpool_str17, AS_TAG_OL},
#line 27 "../src/as-tag-xml.gperf"
      {(int)(size_t)&((struct xml_tag_stringpool_t *)0)->xml_tag_stringpool_str18, AS_TAG_REPLACES},
#line 14 "../src/as-tag-xml.gperf"
      {(int)(size_t)&((struct xml_tag_stringpool_t *)0)->xml_tag_stringpool_str19, AS_TAG_SOURCE_PKGNAME},
      {-1},
#line 41 "../src/as-tag-xml.gperf"
      {(int)(size_t)&((struct xml_tag_stringpool_t *)0)->xml_tag_stringpool_str21, AS_TAG_CUSTOM},
#line 44 "../src/as-tag-xml.gperf"
      {(int)(size_t)&((struct xml_tag_stringpool_t *)0)->xml_tag_stringpool_str22, AS_TAG_REVIEWS},
#line 32 "../src/as-tag-xml.gperf"
      {(int)(size_t)&((struct xml_tag_stringpool_t *)0)->xml_tag_stringpool_str23, AS_TAG_PROJECT_GROUP},
#line 33 "../src/as-tag-xml.gperf"
      {(int)(size_t)&((struct xml_tag_stringpool_t *)0)->xml_tag_stringpool_str24, AS_TAG_DEVELOPER_NAME},
#line 31 "../src/as-tag-xml.gperf"
      {(int)(size_t)&((struct xml_tag_stringpool_t *)0)->xml_tag_stringpool_str25, AS_TAG_PROJECT_LICENSE},
#line 29 "../src/as-tag-xml.gperf"
      {(int)(size_t)&((struct xml_tag_stringpool_t *)0)->xml_tag_stringpool_str26, AS_TAG_SCREENSHOTS},
#line 50 "../src/as-tag-xml.gperf"
      {(int)(size_t)&((struct xml_tag_stringpool_t *)0)->xml_tag_stringpool_str27, AS_TAG_UL},
#line 19 "../src/as-tag-xml.gperf"
      {(int)(size_t)&((struct xml_tag_stringpool_t *)0)->xml_tag_stringpool_str28, AS_TAG_URL},
#line 46 "../src/as-tag-xml.gperf"
      {(int)(size_t)&((struct xml_tag_stringpool_t *)0)->xml_tag_stringpool_str29, AS_TAG_TAGS},
#line 20 "../src/as-tag-xml.gperf"
      {(int)(size_t)&((struct xml_tag_stringpool_t *)0)->xml_tag_stringpool_str30, AS_TAG_CATEGORIES},
#line 53 "../src/as-tag-xml.gperf"
      {(int)(size_t)&((struct xml_tag_stringpool_t *)0)->xml_tag_stringpool_str31, AS_TAG_INTERNAL_ORIGIN},
#line 12 "../src/as-tag-xml.gperf"
      {(int)(size_t)&((struct xml_tag_stringpool_t *)0)->xml_tag_stringpool_str32, AS_TAG_ID},
#line 40 "../src/as-tag-xml.gperf"
      {(int)(size_t)&((struct xml_tag_stringpool_t *)0)->xml_tag_stringpool_str33, AS_TAG_SUGGESTS},
#line 18 "../src/as-tag-xml.gperf"
      {(int)(size_t)&((struct xml_tag_stringpool_t *)0)->xml_tag_stringpool_str34, AS_TAG_ICON},
      {-1},
#line 39 "../src/as-tag-xml.gperf"
      {(int)(size_t)&((struct xml_tag_stringpool_t *)0)->xml_tag_stringpool_str36, AS_TAG_TRANSLATION},
#line 34 "../src/as-tag-xml.gperf"
      {(int)(size_t)&((struct xml_tag_stringpool_t *)0)->xml_tag_stringpool_str37, AS_TAG_COMPULSORY_FOR_DESKTOP},
#line 35 "../src/as-tag-xml.gperf"
      {(int)(size_t)&((struct xml_tag_stringpool_t *)0)->xml_tag_stringpool_str38, AS_TAG_RELEASES},
#line 45 "../src/as-tag-xml.gperf"
      {(int)(size_t)&((struct xml_tag_stringpool_t *)0)->xml_tag_stringpool_str39, AS_TAG_NAME_VARIANT_SUFFIX},
#line 37 "../src/as-tag-xml.gperf"
      {(int)(size_t)&((struct xml_tag_stringpool_t *)0)->xml_tag_stringpool_str40, AS_TAG_LAUNCHABLE},
#line 54 "../src/as-tag-xml.gperf"
      {(int)(size_t)&((struct xml_tag_stringpool_t *)0)->xml_tag_stringpool_str41, AS_TAG_INTERNAL_BRANCH},
      {-1},
#line 23 "../src/as-tag-xml.gperf"
      {(int)(size_t)&((struct xml_tag_stringpool_t *)0)->xml_tag_stringpool_str43, AS_TAG_PROVIDES},
#line 42 "../src/as-tag-xml.gperf"
      {(int)(size_t)&((struct xml_tag_stringpool_t *)0)->xml_tag_stringpool_str44, AS_TAG_CONTENT_RATING},
      {-1}, {-1}, {-1},
#line 47 "../src/as-tag-xml.gperf"
      {(int)(size_t)&((struct xml_tag_stringpool_t *)0)->xml_tag_stringpool_str48, AS_TAG_BRANDING},
#line 43 "../src/as-tag-xml.gperf"
      {(int)(size_t)&((struct xml_tag_stringpool_t *)0)->xml_tag_stringpool_str49, AS_TAG_AGREEMENT},
#line 52 "../src/as-tag-xml.gperf"
      {(int)(size_t)&((struct xml_tag_stringpool_t *)0)->xml_tag_stringpool_str50, AS_TAG_INTERNAL_SCOPE},
      {-1}, {-1},
#line 21 "../src/as-tag-xml.gperf"
      {(int)(size_t)&((struct xml_tag_stringpool_t *)0)->xml_tag_stringpool_str53, AS_TAG_KEYWORDS},
      {-1}, {-1},
#line 17 "../src/as-tag-xml.gperf"
      {(int)(size_t)&((struct xml_tag_stringpool_t *)0)->xml_tag_stringpool_str56, AS_TAG_DESCRIPTION},
      {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1},
      {-1},
#line 28 "../src/as-tag-xml.gperf"
      {(int)(size_t)&((struct xml_tag_stringpool_t *)0)->xml_tag_stringpool_str67, AS_TAG_EXTENDS}
    };

  if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
    {
      register unsigned int key = _as_xml_tag_hash (str, len);

      if (key <= MAX_HASH_VALUE)
        {
          register int o = wordlist[key].name;
          if (o >= 0)
            {
              register const char *s = o + xml_tag_stringpool;

              if (*str == *s && !strcmp (str + 1, s + 1))
                return &wordlist[key];
            }
        }
    }
  return 0;
}
