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

#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-yaml.gperf"
struct yaml_tag_data { int name; unsigned int etag; };
#include <string.h>
/* maximum key range = 65, duplicates = 0 */

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

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

struct yaml_tag_stringpool_t
  {
    char yaml_tag_stringpool_str4[sizeof("Tags")];
    char yaml_tag_stringpool_str5[sizeof("Merge")];
    char yaml_tag_stringpool_str6[sizeof("Custom")];
    char yaml_tag_stringpool_str7[sizeof("Package")];
    char yaml_tag_stringpool_str8[sizeof("Provides")];
    char yaml_tag_stringpool_str9[sizeof("Type")];
    char yaml_tag_stringpool_str10[sizeof("Recommends")];
    char yaml_tag_stringpool_str11[sizeof("Description")];
    char yaml_tag_stringpool_str12[sizeof("ProjectGroup")];
    char yaml_tag_stringpool_str13[sizeof("Replaces")];
    char yaml_tag_stringpool_str14[sizeof("ProjectLicense")];
    char yaml_tag_stringpool_str15[sizeof("Agreements")];
    char yaml_tag_stringpool_str17[sizeof("Reviews")];
    char yaml_tag_stringpool_str18[sizeof("ContentRating")];
    char yaml_tag_stringpool_str19[sizeof("Name")];
    char yaml_tag_stringpool_str21[sizeof("CompulsoryForDesktops")];
    char yaml_tag_stringpool_str22[sizeof("DateEOL")];
    char yaml_tag_stringpool_str23[sizeof("DeveloperName")];
    char yaml_tag_stringpool_str25[sizeof("Categories")];
    char yaml_tag_stringpool_str27[sizeof("Summary")];
    char yaml_tag_stringpool_str28[sizeof("Suggests")];
    char yaml_tag_stringpool_str30[sizeof("MetadataLicense")];
    char yaml_tag_stringpool_str31[sizeof("Screenshots")];
    char yaml_tag_stringpool_str32[sizeof("NameVariantSuffix")];
    char yaml_tag_stringpool_str33[sizeof("Supports")];
    char yaml_tag_stringpool_str34[sizeof("Languages")];
    char yaml_tag_stringpool_str35[sizeof("Launchable")];
    char yaml_tag_stringpool_str37[sizeof("ID")];
    char yaml_tag_stringpool_str38[sizeof("SourcePackage")];
    char yaml_tag_stringpool_str39[sizeof("Icon")];
    char yaml_tag_stringpool_str42[sizeof("Bundles")];
    char yaml_tag_stringpool_str43[sizeof("Requires")];
    char yaml_tag_stringpool_str47[sizeof("Extends")];
    char yaml_tag_stringpool_str48[sizeof("Releases")];
    char yaml_tag_stringpool_str53[sizeof("Priority")];
    char yaml_tag_stringpool_str58[sizeof("Branding")];
    char yaml_tag_stringpool_str63[sizeof("Url")];
    char yaml_tag_stringpool_str68[sizeof("Keywords")];
  };
static const struct yaml_tag_stringpool_t yaml_tag_stringpool_contents =
  {
    "Tags",
    "Merge",
    "Custom",
    "Package",
    "Provides",
    "Type",
    "Recommends",
    "Description",
    "ProjectGroup",
    "Replaces",
    "ProjectLicense",
    "Agreements",
    "Reviews",
    "ContentRating",
    "Name",
    "CompulsoryForDesktops",
    "DateEOL",
    "DeveloperName",
    "Categories",
    "Summary",
    "Suggests",
    "MetadataLicense",
    "Screenshots",
    "NameVariantSuffix",
    "Supports",
    "Languages",
    "Launchable",
    "ID",
    "SourcePackage",
    "Icon",
    "Bundles",
    "Requires",
    "Extends",
    "Releases",
    "Priority",
    "Branding",
    "Url",
    "Keywords"
  };
#define yaml_tag_stringpool ((const char *) &yaml_tag_stringpool_contents)
const struct yaml_tag_data *
_as_yaml_tag_from_gperf (register const char *str, register size_t len)
{
  enum
    {
      TOTAL_KEYWORDS = 38,
      MIN_WORD_LENGTH = 2,
      MAX_WORD_LENGTH = 21,
      MIN_HASH_VALUE = 4,
      MAX_HASH_VALUE = 68
    };

  static const struct yaml_tag_data wordlist[] =
    {
      {-1}, {-1}, {-1}, {-1},
#line 48 "../src/as-tag-yaml.gperf"
      {(int)(size_t)&((struct yaml_tag_stringpool_t *)0)->yaml_tag_stringpool_str4, AS_TAG_TAGS},
#line 14 "../src/as-tag-yaml.gperf"
      {(int)(size_t)&((struct yaml_tag_stringpool_t *)0)->yaml_tag_stringpool_str5, AS_TAG_MERGE},
#line 43 "../src/as-tag-yaml.gperf"
      {(int)(size_t)&((struct yaml_tag_stringpool_t *)0)->yaml_tag_stringpool_str6, AS_TAG_CUSTOM},
#line 17 "../src/as-tag-yaml.gperf"
      {(int)(size_t)&((struct yaml_tag_stringpool_t *)0)->yaml_tag_stringpool_str7, AS_TAG_PKGNAME},
#line 26 "../src/as-tag-yaml.gperf"
      {(int)(size_t)&((struct yaml_tag_stringpool_t *)0)->yaml_tag_stringpool_str8, AS_TAG_PROVIDES},
#line 12 "../src/as-tag-yaml.gperf"
      {(int)(size_t)&((struct yaml_tag_stringpool_t *)0)->yaml_tag_stringpool_str9, AS_TAG_TYPE},
#line 28 "../src/as-tag-yaml.gperf"
      {(int)(size_t)&((struct yaml_tag_stringpool_t *)0)->yaml_tag_stringpool_str10, AS_TAG_RECOMMENDS},
#line 21 "../src/as-tag-yaml.gperf"
      {(int)(size_t)&((struct yaml_tag_stringpool_t *)0)->yaml_tag_stringpool_str11, AS_TAG_DESCRIPTION},
#line 35 "../src/as-tag-yaml.gperf"
      {(int)(size_t)&((struct yaml_tag_stringpool_t *)0)->yaml_tag_stringpool_str12, AS_TAG_PROJECT_GROUP},
#line 30 "../src/as-tag-yaml.gperf"
      {(int)(size_t)&((struct yaml_tag_stringpool_t *)0)->yaml_tag_stringpool_str13, AS_TAG_REPLACES},
#line 34 "../src/as-tag-yaml.gperf"
      {(int)(size_t)&((struct yaml_tag_stringpool_t *)0)->yaml_tag_stringpool_str14, AS_TAG_PROJECT_LICENSE},
#line 45 "../src/as-tag-yaml.gperf"
      {(int)(size_t)&((struct yaml_tag_stringpool_t *)0)->yaml_tag_stringpool_str15, AS_TAG_AGREEMENT},
      {-1},
#line 46 "../src/as-tag-yaml.gperf"
      {(int)(size_t)&((struct yaml_tag_stringpool_t *)0)->yaml_tag_stringpool_str17, AS_TAG_REVIEWS},
#line 44 "../src/as-tag-yaml.gperf"
      {(int)(size_t)&((struct yaml_tag_stringpool_t *)0)->yaml_tag_stringpool_str18, AS_TAG_CONTENT_RATING},
#line 19 "../src/as-tag-yaml.gperf"
      {(int)(size_t)&((struct yaml_tag_stringpool_t *)0)->yaml_tag_stringpool_str19, AS_TAG_NAME},
      {-1},
#line 37 "../src/as-tag-yaml.gperf"
      {(int)(size_t)&((struct yaml_tag_stringpool_t *)0)->yaml_tag_stringpool_str21, AS_TAG_COMPULSORY_FOR_DESKTOP},
#line 15 "../src/as-tag-yaml.gperf"
      {(int)(size_t)&((struct yaml_tag_stringpool_t *)0)->yaml_tag_stringpool_str22, AS_TAG_DATE_EOL},
#line 36 "../src/as-tag-yaml.gperf"
      {(int)(size_t)&((struct yaml_tag_stringpool_t *)0)->yaml_tag_stringpool_str23, AS_TAG_DEVELOPER_NAME},
      {-1},
#line 24 "../src/as-tag-yaml.gperf"
      {(int)(size_t)&((struct yaml_tag_stringpool_t *)0)->yaml_tag_stringpool_str25, AS_TAG_CATEGORIES},
      {-1},
#line 20 "../src/as-tag-yaml.gperf"
      {(int)(size_t)&((struct yaml_tag_stringpool_t *)0)->yaml_tag_stringpool_str27, AS_TAG_SUMMARY},
#line 42 "../src/as-tag-yaml.gperf"
      {(int)(size_t)&((struct yaml_tag_stringpool_t *)0)->yaml_tag_stringpool_str28, AS_TAG_SUGGESTS},
      {-1},
#line 33 "../src/as-tag-yaml.gperf"
      {(int)(size_t)&((struct yaml_tag_stringpool_t *)0)->yaml_tag_stringpool_str30, AS_TAG_METADATA_LICENSE},
#line 32 "../src/as-tag-yaml.gperf"
      {(int)(size_t)&((struct yaml_tag_stringpool_t *)0)->yaml_tag_stringpool_str31, AS_TAG_SCREENSHOTS},
#line 47 "../src/as-tag-yaml.gperf"
      {(int)(size_t)&((struct yaml_tag_stringpool_t *)0)->yaml_tag_stringpool_str32, AS_TAG_NAME_VARIANT_SUFFIX},
#line 29 "../src/as-tag-yaml.gperf"
      {(int)(size_t)&((struct yaml_tag_stringpool_t *)0)->yaml_tag_stringpool_str33, AS_TAG_SUPPORTS},
#line 39 "../src/as-tag-yaml.gperf"
      {(int)(size_t)&((struct yaml_tag_stringpool_t *)0)->yaml_tag_stringpool_str34, AS_TAG_LANGUAGES},
#line 40 "../src/as-tag-yaml.gperf"
      {(int)(size_t)&((struct yaml_tag_stringpool_t *)0)->yaml_tag_stringpool_str35, AS_TAG_LAUNCHABLE},
      {-1},
#line 16 "../src/as-tag-yaml.gperf"
      {(int)(size_t)&((struct yaml_tag_stringpool_t *)0)->yaml_tag_stringpool_str37, AS_TAG_ID},
#line 18 "../src/as-tag-yaml.gperf"
      {(int)(size_t)&((struct yaml_tag_stringpool_t *)0)->yaml_tag_stringpool_str38, AS_TAG_SOURCE_PKGNAME},
#line 22 "../src/as-tag-yaml.gperf"
      {(int)(size_t)&((struct yaml_tag_stringpool_t *)0)->yaml_tag_stringpool_str39, AS_TAG_ICON},
      {-1}, {-1},
#line 41 "../src/as-tag-yaml.gperf"
      {(int)(size_t)&((struct yaml_tag_stringpool_t *)0)->yaml_tag_stringpool_str42, AS_TAG_BUNDLE},
#line 27 "../src/as-tag-yaml.gperf"
      {(int)(size_t)&((struct yaml_tag_stringpool_t *)0)->yaml_tag_stringpool_str43, AS_TAG_REQUIRES},
      {-1}, {-1}, {-1},
#line 31 "../src/as-tag-yaml.gperf"
      {(int)(size_t)&((struct yaml_tag_stringpool_t *)0)->yaml_tag_stringpool_str47, AS_TAG_EXTENDS},
#line 38 "../src/as-tag-yaml.gperf"
      {(int)(size_t)&((struct yaml_tag_stringpool_t *)0)->yaml_tag_stringpool_str48, AS_TAG_RELEASES},
      {-1}, {-1}, {-1}, {-1},
#line 13 "../src/as-tag-yaml.gperf"
      {(int)(size_t)&((struct yaml_tag_stringpool_t *)0)->yaml_tag_stringpool_str53, AS_TAG_PRIORITY},
      {-1}, {-1}, {-1}, {-1},
#line 49 "../src/as-tag-yaml.gperf"
      {(int)(size_t)&((struct yaml_tag_stringpool_t *)0)->yaml_tag_stringpool_str58, AS_TAG_BRANDING},
      {-1}, {-1}, {-1}, {-1},
#line 23 "../src/as-tag-yaml.gperf"
      {(int)(size_t)&((struct yaml_tag_stringpool_t *)0)->yaml_tag_stringpool_str63, AS_TAG_URL},
      {-1}, {-1}, {-1}, {-1},
#line 25 "../src/as-tag-yaml.gperf"
      {(int)(size_t)&((struct yaml_tag_stringpool_t *)0)->yaml_tag_stringpool_str68, AS_TAG_KEYWORDS}
    };

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

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

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