#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */
typedef int /*<<< orphan*/ tagname;

/* Variables and functions */
char *CM_PREPROC_parse_html_tag_tolower(char const *, char *, int);
char *strchr(char const *, char);
scalar_t__ strcmp(char *, char const *);
int CM_PREPROC_is_html(const char *body) {
  char tagname[100] = {0};
  const char *ppHtmlSubsetLowerCase[] = {
      "html",   "body",   "a",     "font",   "table",  "head",   "base",
      "meta",   "td",     "tr",    "style",  "img",    "object", "br",
      "b",      "i",      "span",  "div",    "form",   "input",  "button",
      "frame",  "iframe", "tbody", "col",    "th",     "hr",     "xml",
      "script", "pre",    "param", "applet", "center", "area",   "map",
      "em",     "embed",  "xmp",   "sub",    "sup",    NULL};
  if ((body == NULL) || (*body == '\0'))
    return 0;
  for (body = strchr(body, '<'); body != NULL; body = strchr(body + 1, '<')) {
    const char *pTagEnd =
        CM_PREPROC_parse_html_tag_tolower(body, tagname, sizeof(tagname));
    const char **ppCurTag;
    if (pTagEnd == NULL)
      continue;
    for (ppCurTag = ppHtmlSubsetLowerCase; *ppCurTag != NULL; ppCurTag++) {
      const char *pCurTag = *ppCurTag;
      if ((*pCurTag == *tagname) && (strcmp(tagname, pCurTag) == 0))
        return 1;
    }
    body = pTagEnd;
  }
  return 0;
}


x86 assembly (clang, -O0):
<CM_PREPROC_is_html>:
push   %rbp
mov    %rsp,%rbp
sub    $0x1f0,%rsp
mov    %rdi,-0x10(%rbp)
lea    -0x80(%rbp),%rdi
xor    %esi,%esi
mov    $0x64,%edx
call   1040 <memset@plt>
lea    -0x1d0(%rbp),%rdi
lea    0x2b53(%rip),%rsi
mov    $0x148,%edx
call   1060 <memcpy@plt>
cmpq   $0x0,-0x10(%rbp)
je     11a2 <CM_PREPROC_is_html+0x52>
mov    -0x10(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x0,%eax
jne    11ae <CM_PREPROC_is_html+0x5e>
movl   $0x0,-0x4(%rbp)
jmp    12ac <CM_PREPROC_is_html+0x15c>
mov    -0x10(%rbp),%rdi
mov    $0x3c,%esi
call   1030 <strchr@plt>
mov    %rax,-0x10(%rbp)
cmpq   $0x0,-0x10(%rbp)
je     12a5 <CM_PREPROC_is_html+0x155>
mov    -0x10(%rbp),%rdi
lea    -0x80(%rbp),%rsi
mov    $0x64,%edx
call   1070 <CM_PREPROC_parse_html_tag_tolower@plt>
mov    %rax,-0x1d8(%rbp)
cmpq   $0x0,-0x1d8(%rbp)
jne    11f7 <CM_PREPROC_is_html+0xa7>
jmp    128a <CM_PREPROC_is_html+0x13a>
lea    -0x1d0(%rbp),%rax
mov    %rax,-0x1e0(%rbp)
mov    -0x1e0(%rbp),%rax
cmpq   $0x0,(%rax)
je     127f <CM_PREPROC_is_html+0x12f>
mov    -0x1e0(%rbp),%rax
mov    (%rax),%rax
mov    %rax,-0x1e8(%rbp)
mov    -0x1e8(%rbp),%rax
movsbl (%rax),%eax
movsbl -0x80(%rbp),%ecx
cmp    %ecx,%eax
jne    1263 <CM_PREPROC_is_html+0x113>
lea    -0x80(%rbp),%rdi
mov    -0x1e8(%rbp),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    1263 <CM_PREPROC_is_html+0x113>
movl   $0x1,-0x4(%rbp)
jmp    12ac <CM_PREPROC_is_html+0x15c>
jmp    1268 <CM_PREPROC_is_html+0x118>
mov    -0x1e0(%rbp),%rax
add    $0x8,%rax
mov    %rax,-0x1e0(%rbp)
jmp    1205 <CM_PREPROC_is_html+0xb5>
mov    -0x1d8(%rbp),%rax
mov    %rax,-0x10(%rbp)
mov    -0x10(%rbp),%rdi
add    $0x1,%rdi
mov    $0x3c,%esi
call   1030 <strchr@plt>
mov    %rax,-0x10(%rbp)
jmp    11c0 <CM_PREPROC_is_html+0x70>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x1f0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<CM_PREPROC_is_html>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x1b8,%rsp
mov    %rdi,%rbx
xorps  %xmm0,%xmm0
movaps %xmm0,0x50(%rsp)
movaps %xmm0,0x40(%rsp)
movaps %xmm0,0x30(%rsp)
movaps %xmm0,0x20(%rsp)
movaps %xmm0,0x10(%rsp)
movaps %xmm0,(%rsp)
movl   $0x0,0x60(%rsp)
lea    0x2b4d(%rip),%rsi
lea    0x70(%rsp),%rdi
mov    $0x148,%edx
call   1050 <memcpy@plt>
xor    %r14d,%r14d
test   %rbx,%rbx
je     1248 <CM_PREPROC_is_html+0x108>
cmpb   $0x0,(%rbx)
je     1248 <CM_PREPROC_is_html+0x108>
mov    %rbx,%rdi
mov    $0x3c,%esi
call   1030 <strchr@plt>
test   %rax,%rax
je     1248 <CM_PREPROC_is_html+0x108>
mov    %rax,%rbp
lea    0x78(%rsp),%r12
mov    %rsp,%rbx
lea    0xe31(%rip),%r13
jmp    11fc <CM_PREPROC_is_html+0xbc>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
mov    %r15,%rbp
add    $0x1,%rbp
mov    %rbp,%rdi
mov    $0x3c,%esi
call   1030 <strchr@plt>
mov    %rax,%rbp
test   %rax,%rax
je     1248 <CM_PREPROC_is_html+0x108>
mov    %rbp,%rdi
mov    %rbx,%rsi
mov    $0x64,%edx
call   1060 <CM_PREPROC_parse_html_tag_tolower@plt>
test   %rax,%rax
je     11e3 <CM_PREPROC_is_html+0xa3>
mov    %rax,%r15
mov    %r12,%rbp
mov    %r13,%rsi
jmp    122d <CM_PREPROC_is_html+0xed>
nopl   0x0(%rax)
mov    0x0(%rbp),%rsi
add    $0x8,%rbp
test   %rsi,%rsi
je     11e0 <CM_PREPROC_is_html+0xa0>
movzbl (%rsi),%eax
cmp    (%rsp),%al
jne    1220 <CM_PREPROC_is_html+0xe0>
mov    %rbx,%rdi
call   1040 <strcmp@plt>
test   %rax,%rax
jne    1220 <CM_PREPROC_is_html+0xe0>
mov    $0x1,%r14d
mov    %r14d,%eax
add    $0x1b8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [5 x i8] c"html\00"
@.str.1 = [5 x i8] c"body\00"
@.str.2 = [2 x i8] c"a\00"
@.str.3 = [5 x i8] c"font\00"
@.str.4 = [6 x i8] c"table\00"
@.str.5 = [5 x i8] c"head\00"
@.str.6 = [5 x i8] c"base\00"
@.str.7 = [5 x i8] c"meta\00"
@.str.8 = [3 x i8] c"td\00"
@.str.9 = [3 x i8] c"tr\00"
@.str.10 = [6 x i8] c"style\00"
@.str.11 = [4 x i8] c"img\00"
@.str.12 = [7 x i8] c"object\00"
@.str.13 = [3 x i8] c"br\00"
@.str.14 = [2 x i8] c"b\00"
@.str.15 = [2 x i8] c"i\00"
@.str.16 = [5 x i8] c"span\00"
@.str.17 = [4 x i8] c"div\00"
@.str.18 = [5 x i8] c"form\00"
@.str.19 = [6 x i8] c"input\00"
@.str.20 = [7 x i8] c"button\00"
@.str.21 = [6 x i8] c"frame\00"
@.str.22 = [7 x i8] c"iframe\00"
@.str.23 = [6 x i8] c"tbody\00"
@.str.24 = [4 x i8] c"col\00"
@.str.25 = [3 x i8] c"th\00"
@.str.26 = [3 x i8] c"hr\00"
@.str.27 = [4 x i8] c"xml\00"
@.str.28 = [7 x i8] c"script\00"
@.str.29 = [4 x i8] c"pre\00"
@.str.30 = [6 x i8] c"param\00"
@.str.31 = [7 x i8] c"applet\00"
@.str.32 = [7 x i8] c"center\00"
@.str.33 = [5 x i8] c"area\00"
@.str.34 = [4 x i8] c"map\00"
@.str.35 = [3 x i8] c"em\00"
@.str.36 = [6 x i8] c"embed\00"
@.str.37 = [4 x i8] c"xmp\00"
@.str.38 = [4 x i8] c"sub\00"
@.str.39 = [4 x i8] c"sup\00"
@__const.CM_PREPROC_is_html.ppHtmlSubsetLowerCase = [41 x i8*] [i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i32 0, i32 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i32 0, i32 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i32 0, i32 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i32 0, i32 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i32 0, i32 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i32 0, i32 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i32 0, i32 0), i8* getelementptr inbounds ([3 x i8], [3 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 ([6 x i8], [6 x i8]* @.str.10, i32 0, i32 0), i8* getelementptr inbounds ([4 x i8], [4 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 ([2 x i8], [2 x i8]* @.str.14, i32 0, i32 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.15, i32 0, i32 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.16, i32 0, i32 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.17, i32 0, i32 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.18, i32 0, i32 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.19, i32 0, i32 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.20, i32 0, i32 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.21, i32 0, i32 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.22, i32 0, i32 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.23, i32 0, i32 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.24, i32 0, i32 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.25, i32 0, i32 0), i8* getelementptr inbounds ([3 x i8], [3 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 ([7 x i8], [7 x i8]* @.str.28, i32 0, i32 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.29, i32 0, i32 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.30, i32 0, i32 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.31, i32 0, i32 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.32, i32 0, i32 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.33, i32 0, i32 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.34, i32 0, i32 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.35, i32 0, i32 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.36, i32 0, i32 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.37, i32 0, i32 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.38, i32 0, i32 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.39, i32 0, i32 0), i8* null]
define i32 @CM_PREPROC_is_html(i8* %0) {
%2 = alloca i32
%3 = alloca i8*
%4 = alloca [100 x i8]
%5 = alloca [41 x i8*]
%6 = alloca i8*
%7 = alloca i8**
%8 = alloca i8*
store i8* %0, i8** %3
%9 = bitcast [100 x i8]* %4 to i8*
%10 = bitcast [41 x i8*]* %5 to i8*
%11 = load i8*, i8** %3
%12 = icmp eq i8* %11, null
br i1 %12, label %18, label %13
13: ; preds = %1
%14 = load i8*, i8** %3
%15 = load i8, i8* %14
%16 = sext i8 %15 to i32
%17 = icmp eq i32 %16, 0
br i1 %17, label %18, label %19
18: ; preds = %13, %1
store i32 0, i32* %2
br label %65
19: ; preds = %13
%20 = load i8*, i8** %3
%21 = call i8* @strchr(i8* %20, i8 signext 60)
store i8* %21, i8** %3
br label %22
22: ; preds = %60, %19
%23 = load i8*, i8** %3
%24 = icmp ne i8* %23, null
br i1 %24, label %25, label %64
25: ; preds = %22
%26 = load i8*, i8** %3
%27 = getelementptr inbounds [100 x i8], [100 x i8]* %4, i64 0, i64 0
%28 = call i8* @CM_PREPROC_parse_html_tag_tolower(i8* %26, i8* %27, i32 100)
store i8* %28, i8** %6
%29 = load i8*, i8** %6
%30 = icmp eq i8* %29, null
br i1 %30, label %31, label %32
31: ; preds = %25
br label %60
32: ; preds = %25
%33 = getelementptr inbounds [41 x i8*], [41 x i8*]* %5, i64 0, i64 0
store i8** %33, i8*** %7
br label %34
34: ; preds = %55, %32
%35 = load i8**, i8*** %7
%36 = load i8*, i8** %35
%37 = icmp ne i8* %36, null
br i1 %37, label %38, label %58
38: ; preds = %34
%39 = load i8**, i8*** %7
%40 = load i8*, i8** %39
store i8* %40, i8** %8
%41 = load i8*, i8** %8
%42 = load i8, i8* %41
%43 = sext i8 %42 to i32
%44 = getelementptr inbounds [100 x i8], [100 x i8]* %4, i64 0, i64 0
%45 = load i8, i8* %44
%46 = sext i8 %45 to i32
%47 = icmp eq i32 %43, %46
br i1 %47, label %48, label %54
48: ; preds = %38
%49 = getelementptr inbounds [100 x i8], [100 x i8]* %4, i64 0, i64 0
%50 = load i8*, i8** %8
%51 = call i64 @strcmp(i8* %49, i8* %50)
%52 = icmp eq i64 %51, 0
br i1 %52, label %53, label %54
53: ; preds = %48
store i32 1, i32* %2
br label %65
54: ; preds = %48, %38
br label %55
55: ; preds = %54
%56 = load i8**, i8*** %7
%57 = getelementptr inbounds i8*, i8** %56, i32 1
store i8** %57, i8*** %7
br label %34
58: ; preds = %34
%59 = load i8*, i8** %6
store i8* %59, i8** %3
br label %60
60: ; preds = %58, %31
%61 = load i8*, i8** %3
%62 = getelementptr inbounds i8, i8* %61, i64 1
%63 = call i8* @strchr(i8* %62, i8 signext 60)
store i8* %63, i8** %3
br label %22
64: ; preds = %22
store i32 0, i32* %2
br label %65
65: ; preds = %64, %53, %18
%66 = load i32, i32* %2
ret i32 %66
}

LLVM IR (-O2):
@.str = [5 x i8] c"html\00"
@.str.1 = [5 x i8] c"body\00"
@.str.2 = [2 x i8] c"a\00"
@.str.3 = [5 x i8] c"font\00"
@.str.4 = [6 x i8] c"table\00"
@.str.5 = [5 x i8] c"head\00"
@.str.6 = [5 x i8] c"base\00"
@.str.7 = [5 x i8] c"meta\00"
@.str.8 = [3 x i8] c"td\00"
@.str.9 = [3 x i8] c"tr\00"
@.str.10 = [6 x i8] c"style\00"
@.str.11 = [4 x i8] c"img\00"
@.str.12 = [7 x i8] c"object\00"
@.str.13 = [3 x i8] c"br\00"
@.str.14 = [2 x i8] c"b\00"
@.str.15 = [2 x i8] c"i\00"
@.str.16 = [5 x i8] c"span\00"
@.str.17 = [4 x i8] c"div\00"
@.str.18 = [5 x i8] c"form\00"
@.str.19 = [6 x i8] c"input\00"
@.str.20 = [7 x i8] c"button\00"
@.str.21 = [6 x i8] c"frame\00"
@.str.22 = [7 x i8] c"iframe\00"
@.str.23 = [6 x i8] c"tbody\00"
@.str.24 = [4 x i8] c"col\00"
@.str.25 = [3 x i8] c"th\00"
@.str.26 = [3 x i8] c"hr\00"
@.str.27 = [4 x i8] c"xml\00"
@.str.28 = [7 x i8] c"script\00"
@.str.29 = [4 x i8] c"pre\00"
@.str.30 = [6 x i8] c"param\00"
@.str.31 = [7 x i8] c"applet\00"
@.str.32 = [7 x i8] c"center\00"
@.str.33 = [5 x i8] c"area\00"
@.str.34 = [4 x i8] c"map\00"
@.str.35 = [3 x i8] c"em\00"
@.str.36 = [6 x i8] c"embed\00"
@.str.37 = [4 x i8] c"xmp\00"
@.str.38 = [4 x i8] c"sub\00"
@.str.39 = [4 x i8] c"sup\00"
@__const.CM_PREPROC_is_html.ppHtmlSubsetLowerCase = [41 x i8*] [i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i32 0, i32 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i32 0, i32 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i32 0, i32 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i32 0, i32 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i32 0, i32 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i32 0, i32 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i32 0, i32 0), i8* getelementptr inbounds ([3 x i8], [3 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 ([6 x i8], [6 x i8]* @.str.10, i32 0, i32 0), i8* getelementptr inbounds ([4 x i8], [4 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 ([2 x i8], [2 x i8]* @.str.14, i32 0, i32 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.15, i32 0, i32 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.16, i32 0, i32 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.17, i32 0, i32 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.18, i32 0, i32 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.19, i32 0, i32 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.20, i32 0, i32 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.21, i32 0, i32 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.22, i32 0, i32 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.23, i32 0, i32 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.24, i32 0, i32 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.25, i32 0, i32 0), i8* getelementptr inbounds ([3 x i8], [3 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 ([7 x i8], [7 x i8]* @.str.28, i32 0, i32 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.29, i32 0, i32 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.30, i32 0, i32 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.31, i32 0, i32 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.32, i32 0, i32 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.33, i32 0, i32 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.34, i32 0, i32 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.35, i32 0, i32 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.36, i32 0, i32 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.37, i32 0, i32 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.38, i32 0, i32 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.39, i32 0, i32 0), i8* null]
define i32 @CM_PREPROC_is_html(i8* %0) {
%2 = alloca [100 x i8]
%3 = alloca [41 x i8*]
%4 = getelementptr inbounds [100 x i8], [100 x i8]* %2, i64 0, i64 0
%5 = bitcast [41 x i8*]* %3 to i8*
%6 = icmp eq i8* %0, null
br i1 %6, label %37, label %7
7: ; preds = %1
%8 = load i8, i8* %0
%9 = icmp eq i8 %8, 0
br i1 %9, label %37, label %10
10: ; preds = %7
%11 = tail call i8* @strchr(i8* %0, i8 signext 60)
%12 = icmp eq i8* %11, null
br i1 %12, label %37, label %13
13: ; preds = %10
%14 = getelementptr inbounds [41 x i8*], [41 x i8*]* %3, i64 0, i64 0
br label %15
15: ; preds = %13, %32
%16 = phi i8* [ %11, %13 ], [ %35, %32 ]
%17 = call i8* @CM_PREPROC_parse_html_tag_tolower(i8* %16, i8* %4, i32 100)
%18 = icmp eq i8* %17, null
br i1 %18, label %32, label %19
19: ; preds = %15, %28
%20 = phi i8* [ %30, %28 ], [ getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), %15 ]
%21 = phi i8** [ %29, %28 ], [ %14, %15 ]
%22 = load i8, i8* %20
%23 = load i8, i8* %4
%24 = icmp eq i8 %22, %23
br i1 %24, label %25, label %28
25: ; preds = %19
%26 = call i64 @strcmp(i8* %4, i8* %20)
%27 = icmp eq i64 %26, 0
br i1 %27, label %37, label %28
28: ; preds = %19, %25
%29 = getelementptr inbounds i8*, i8** %21, i64 1
%30 = load i8*, i8** %29
%31 = icmp eq i8* %30, null
br i1 %31, label %32, label %19
32: ; preds = %28, %15
%33 = phi i8* [ %16, %15 ], [ %17, %28 ]
%34 = getelementptr inbounds i8, i8* %33, i64 1
%35 = call i8* @strchr(i8* %34, i8 signext 60)
%36 = icmp eq i8* %35, null
br i1 %36, label %37, label %15
37: ; preds = %32, %25, %10, %1, %7
%38 = phi i32 [ 0, %7 ], [ 0, %1 ], [ 0, %10 ], [ 1, %25 ], [ 0, %32 ]
ret i32 %38
}