const char *find_block_tag(str, len)
register const char *str;
register unsigned int len;
{
  enum {
    TOTAL_KEYWORDS = 43,
    MIN_WORD_LENGTH = 1,
    MAX_WORD_LENGTH = 10,
    MIN_HASH_VALUE = 1,
    MAX_HASH_VALUE = 72
  };
  static const char *const wordlist[] = {
      "",        "p",          "dl",      "del",        "form",    "",
      "footer",  "details",    "div",     "",           "",        "figure",
      "ul",      "fieldset",   "",        "figcaption", "header",  "ol",
      "pre",     "math",       "video",   "script",     "section", "noscript",
      "",        "blockquote", "hgroup",  "hr",         "ins",     "",
      "style",   "output",     "summary", "nav",        "",        "audio",
      "canvas",  "dd",         "h1",      "abbr",       "table",   "iframe",
      "article", "",           "",        "aside",      "",        "h6",
      "",        "",           "tfoot",   "",           "h5",      "",
      "",        "",           "",        "h4",         "",        "",
      "",        "",           "address", "",           "",        "",
      "",        "h3",         "",        "",           "",        "",
      "h2"};
  if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH) {
    unsigned int key = hash_block_tag(str, len);
    if (key <= MAX_HASH_VALUE) {
      register const char *s = wordlist[key];
      if ((((unsigned char)*str ^ (unsigned char)*s) & ~32) == 0 &&
          !strncasecmp(str, s, len) && s[len] == '\0')
        return s;
    }
  }
  return 0;
}


x86 assembly (clang, -O0):
<find_block_tag>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    %rdi,-0x10(%rbp)
mov    %esi,-0x14(%rbp)
cmpl   $0xa,-0x14(%rbp)
ja     11d4 <find_block_tag+0xb4>
cmpl   $0x1,-0x14(%rbp)
jb     11d4 <find_block_tag+0xb4>
mov    -0x10(%rbp),%rdi
mov    -0x14(%rbp),%esi
mov    $0x0,%al
call   1030 <hash_block_tag@plt>
mov    %eax,-0x18(%rbp)
cmpl   $0x48,-0x18(%rbp)
ja     11cf <find_block_tag+0xaf>
mov    -0x18(%rbp),%eax
mov    %eax,%ecx
lea    0x2a66(%rip),%rax
mov    (%rax,%rcx,8),%rax
mov    %rax,-0x20(%rbp)
mov    -0x10(%rbp),%rax
movzbl (%rax),%eax
mov    -0x20(%rbp),%rcx
movzbl (%rcx),%ecx
xor    %ecx,%eax
and    $0xffffffdf,%eax
cmp    $0x0,%eax
jne    11ca <find_block_tag+0xaa>
mov    -0x10(%rbp),%rdi
mov    -0x20(%rbp),%rsi
mov    -0x14(%rbp),%eax
mov    %eax,%edx
call   1040 <strncasecmp@plt>
cmp    $0x0,%eax
jne    11ca <find_block_tag+0xaa>
mov    -0x20(%rbp),%rax
mov    -0x14(%rbp),%ecx
movsbl (%rax,%rcx,1),%eax
cmp    $0x0,%eax
jne    11ca <find_block_tag+0xaa>
mov    -0x20(%rbp),%rax
mov    %rax,-0x8(%rbp)
jmp    11dc <find_block_tag+0xbc>
jmp    11cf <find_block_tag+0xaf>
jmp    11d4 <find_block_tag+0xb4>
movq   $0x0,-0x8(%rbp)
mov    -0x8(%rbp),%rax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<find_block_tag>:
push   %r15
push   %r14
push   %rbx
mov    %esi,%ebx
lea    -0x1(%rbx),%eax
cmp    $0x9,%eax
ja     1172 <find_block_tag+0x52>
mov    %rdi,%r14
mov    %ebx,%esi
xor    %eax,%eax
call   1030 <hash_block_tag@plt>
cmp    $0x48,%eax
ja     1172 <find_block_tag+0x52>
mov    %eax,%eax
lea    0x2a87(%rip),%rcx
mov    (%rcx,%rax,8),%r15
mov    (%r15),%al
xor    (%r14),%al
test   $0xdf,%al
jne    1172 <find_block_tag+0x52>
mov    %ebx,%ebx
mov    %r14,%rdi
mov    %r15,%rsi
mov    %rbx,%rdx
call   1040 <strncasecmp@plt>
test   %eax,%eax
jne    1172 <find_block_tag+0x52>
cmpb   $0x0,(%r15,%rbx,1)
je     1175 <find_block_tag+0x55>
xor    %r15d,%r15d
mov    %r15,%rax
pop    %rbx
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
@find_block_tag.wordlist = internal constant [73 x i8*] [i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i32 0, i32 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i32 0, i32 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i32 0, i32 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i32 0, i32 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.5, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.6, i32 0, i32 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.7, i32 0, i32 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.8, i32 0, i32 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.9, i32 0, i32 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.10, i32 0, i32 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.11, i32 0, i32 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.12, i32 0, i32 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.13, i32 0, i32 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.14, i32 0, i32 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.15, i32 0, i32 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.16, i32 0, i32 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.17, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.18, i32 0, i32 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.19, i32 0, i32 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.20, i32 0, i32 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.21, i32 0, i32 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.22, i32 0, i32 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.23, i32 0, i32 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.24, i32 0, i32 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.25, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.26, i32 0, i32 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.27, i32 0, i32 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.28, i32 0, i32 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.29, i32 0, i32 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.30, i32 0, i32 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.31, i32 0, i32 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.32, i32 0, i32 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.33, i32 0, i32 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.34, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.35, i32 0, i32 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.36, i32 0, i32 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.37, i32 0, i32 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.38, i32 0, i32 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.39, i32 0, i32 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.40, i32 0, i32 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.41, i32 0, i32 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.42, i32 0, i32 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.43, i32 0, i32 0)]
@.str = [1 x i8] zeroinitializer
@.str.1 = [2 x i8] c"p\00"
@.str.2 = [3 x i8] c"dl\00"
@.str.3 = [4 x i8] c"del\00"
@.str.4 = [5 x i8] c"form\00"
@.str.5 = [7 x i8] c"footer\00"
@.str.6 = [8 x i8] c"details\00"
@.str.7 = [4 x i8] c"div\00"
@.str.8 = [7 x i8] c"figure\00"
@.str.9 = [3 x i8] c"ul\00"
@.str.10 = [9 x i8] c"fieldset\00"
@.str.11 = [11 x i8] c"figcaption\00"
@.str.12 = [7 x i8] c"header\00"
@.str.13 = [3 x i8] c"ol\00"
@.str.14 = [4 x i8] c"pre\00"
@.str.15 = [5 x i8] c"math\00"
@.str.16 = [6 x i8] c"video\00"
@.str.17 = [7 x i8] c"script\00"
@.str.18 = [8 x i8] c"section\00"
@.str.19 = [9 x i8] c"noscript\00"
@.str.20 = [11 x i8] c"blockquote\00"
@.str.21 = [7 x i8] c"hgroup\00"
@.str.22 = [3 x i8] c"hr\00"
@.str.23 = [4 x i8] c"ins\00"
@.str.24 = [6 x i8] c"style\00"
@.str.25 = [7 x i8] c"output\00"
@.str.26 = [8 x i8] c"summary\00"
@.str.27 = [4 x i8] c"nav\00"
@.str.28 = [6 x i8] c"audio\00"
@.str.29 = [7 x i8] c"canvas\00"
@.str.30 = [3 x i8] c"dd\00"
@.str.31 = [3 x i8] c"h1\00"
@.str.32 = [5 x i8] c"abbr\00"
@.str.33 = [6 x i8] c"table\00"
@.str.34 = [7 x i8] c"iframe\00"
@.str.35 = [8 x i8] c"article\00"
@.str.36 = [6 x i8] c"aside\00"
@.str.37 = [3 x i8] c"h6\00"
@.str.38 = [6 x i8] c"tfoot\00"
@.str.39 = [3 x i8] c"h5\00"
@.str.40 = [3 x i8] c"h4\00"
@.str.41 = [8 x i8] c"address\00"
@.str.42 = [3 x i8] c"h3\00"
@.str.43 = [3 x i8] c"h2\00"
define i8* @find_block_tag(i8* %0, i32 %1) {
%3 = alloca i8*
%4 = alloca i8*
%5 = alloca i32
%6 = alloca i32
%7 = alloca i8*
store i8* %0, i8** %4
store i32 %1, i32* %5
%8 = load i32, i32* %5
%9 = icmp ule i32 %8, 10
br i1 %9, label %10, label %52
10: ; preds = %2
%11 = load i32, i32* %5
%12 = icmp uge i32 %11, 1
br i1 %12, label %13, label %52
13: ; preds = %10
%14 = load i8*, i8** %4
%15 = load i32, i32* %5
%16 = call i32 (i8*, i32, ...) bitcast (i32 (...)* @hash_block_tag to i32 (i8*, i32, ...)*)(i8* %14, i32 %15)
store i32 %16, i32* %6
%17 = load i32, i32* %6
%18 = icmp ule i32 %17, 72
br i1 %18, label %19, label %51
19: ; preds = %13
%20 = load i32, i32* %6
%21 = zext i32 %20 to i64
%22 = getelementptr inbounds [73 x i8*], [73 x i8*]* @find_block_tag.wordlist, i64 0, i64 %21
%23 = load i8*, i8** %22
store i8* %23, i8** %7
%24 = load i8*, i8** %4
%25 = load i8, i8* %24
%26 = zext i8 %25 to i32
%27 = load i8*, i8** %7
%28 = load i8, i8* %27
%29 = zext i8 %28 to i32
%30 = xor i32 %26, %29
%31 = and i32 %30, -33
%32 = icmp eq i32 %31, 0
br i1 %32, label %33, label %50
33: ; preds = %19
%34 = load i8*, i8** %4
%35 = load i8*, i8** %7
%36 = load i32, i32* %5
%37 = zext i32 %36 to i64
%38 = call i32 @strncasecmp(i8* %34, i8* %35, i64 %37)
%39 = icmp ne i32 %38, 0
br i1 %39, label %50, label %40
40: ; preds = %33
%41 = load i8*, i8** %7
%42 = load i32, i32* %5
%43 = zext i32 %42 to i64
%44 = getelementptr inbounds i8, i8* %41, i64 %43
%45 = load i8, i8* %44
%46 = sext i8 %45 to i32
%47 = icmp eq i32 %46, 0
br i1 %47, label %48, label %50
48: ; preds = %40
%49 = load i8*, i8** %7
store i8* %49, i8** %3
br label %53
50: ; preds = %40, %33, %19
br label %51
51: ; preds = %50, %13
br label %52
52: ; preds = %51, %10, %2
store i8* null, i8** %3
br label %53
53: ; preds = %52, %48
%54 = load i8*, i8** %3
ret i8* %54
}

LLVM IR (-O2):
@find_block_tag.wordlist = internal unnamed_addr constant [73 x i8*] [i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i32 0, i32 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i32 0, i32 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i32 0, i32 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i32 0, i32 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.5, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.6, i32 0, i32 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.7, i32 0, i32 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.8, i32 0, i32 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.9, i32 0, i32 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.10, i32 0, i32 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.11, i32 0, i32 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.12, i32 0, i32 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.13, i32 0, i32 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.14, i32 0, i32 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.15, i32 0, i32 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.16, i32 0, i32 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.17, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.18, i32 0, i32 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.19, i32 0, i32 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.20, i32 0, i32 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.21, i32 0, i32 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.22, i32 0, i32 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.23, i32 0, i32 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.24, i32 0, i32 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.25, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.26, i32 0, i32 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.27, i32 0, i32 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.28, i32 0, i32 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.29, i32 0, i32 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.30, i32 0, i32 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.31, i32 0, i32 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.32, i32 0, i32 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.33, i32 0, i32 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.34, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.35, i32 0, i32 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.36, i32 0, i32 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.37, i32 0, i32 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.38, i32 0, i32 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.39, i32 0, i32 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.40, i32 0, i32 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.41, i32 0, i32 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.42, i32 0, i32 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.43, i32 0, i32 0)]
@.str = [1 x i8] zeroinitializer
@.str.1 = [2 x i8] c"p\00"
@.str.2 = [3 x i8] c"dl\00"
@.str.3 = [4 x i8] c"del\00"
@.str.4 = [5 x i8] c"form\00"
@.str.5 = [7 x i8] c"footer\00"
@.str.6 = [8 x i8] c"details\00"
@.str.7 = [4 x i8] c"div\00"
@.str.8 = [7 x i8] c"figure\00"
@.str.9 = [3 x i8] c"ul\00"
@.str.10 = [9 x i8] c"fieldset\00"
@.str.11 = [11 x i8] c"figcaption\00"
@.str.12 = [7 x i8] c"header\00"
@.str.13 = [3 x i8] c"ol\00"
@.str.14 = [4 x i8] c"pre\00"
@.str.15 = [5 x i8] c"math\00"
@.str.16 = [6 x i8] c"video\00"
@.str.17 = [7 x i8] c"script\00"
@.str.18 = [8 x i8] c"section\00"
@.str.19 = [9 x i8] c"noscript\00"
@.str.20 = [11 x i8] c"blockquote\00"
@.str.21 = [7 x i8] c"hgroup\00"
@.str.22 = [3 x i8] c"hr\00"
@.str.23 = [4 x i8] c"ins\00"
@.str.24 = [6 x i8] c"style\00"
@.str.25 = [7 x i8] c"output\00"
@.str.26 = [8 x i8] c"summary\00"
@.str.27 = [4 x i8] c"nav\00"
@.str.28 = [6 x i8] c"audio\00"
@.str.29 = [7 x i8] c"canvas\00"
@.str.30 = [3 x i8] c"dd\00"
@.str.31 = [3 x i8] c"h1\00"
@.str.32 = [5 x i8] c"abbr\00"
@.str.33 = [6 x i8] c"table\00"
@.str.34 = [7 x i8] c"iframe\00"
@.str.35 = [8 x i8] c"article\00"
@.str.36 = [6 x i8] c"aside\00"
@.str.37 = [3 x i8] c"h6\00"
@.str.38 = [6 x i8] c"tfoot\00"
@.str.39 = [3 x i8] c"h5\00"
@.str.40 = [3 x i8] c"h4\00"
@.str.41 = [8 x i8] c"address\00"
@.str.42 = [3 x i8] c"h3\00"
@.str.43 = [3 x i8] c"h2\00"
define i8* @find_block_tag(i8* %0, i32 %1) {
%3 = add i32 %1, -1
%4 = icmp ult i32 %3, 10
br i1 %4, label %5, label %26
5: ; preds = %2
%6 = tail call i32 (i8*, i32, ...) bitcast (i32 (...)* @hash_block_tag to i32 (i8*, i32, ...)*)(i8* %0, i32 %1)
%7 = icmp ult i32 %6, 73
br i1 %7, label %8, label %25
8: ; preds = %5
%9 = zext i32 %6 to i64
%10 = getelementptr inbounds [73 x i8*], [73 x i8*]* @find_block_tag.wordlist, i64 0, i64 %9
%11 = load i8*, i8** %10
%12 = load i8, i8* %0
%13 = load i8, i8* %11
%14 = xor i8 %13, %12
%15 = and i8 %14, -33
%16 = icmp eq i8 %15, 0
br i1 %16, label %17, label %25
17: ; preds = %8
%18 = zext i32 %1 to i64
%19 = tail call i32 @strncasecmp(i8* %0, i8* %11, i64 %18)
%20 = icmp eq i32 %19, 0
br i1 %20, label %21, label %25
21: ; preds = %17
%22 = getelementptr inbounds i8, i8* %11, i64 %18
%23 = load i8, i8* %22
%24 = icmp eq i8 %23, 0
br i1 %24, label %26, label %25
25: ; preds = %5, %8, %17, %21
br label %26
26: ; preds = %2, %25, %21
%27 = phi i8* [ %11, %21 ], [ null, %25 ], [ null, %2 ]
ret i8* %27
}