#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 */

/* Variables and functions */
scalar_t__ strcmp(char const *, char const *const);
int strlen(char const *const);
int /*<<< orphan*/ strncmp(char const *, char const *const, int);
char toupper(char);
bool is_ignored_symbol(const char *name, char type) {
  static const char *const ignored_symbols[] = {"kallsyms_addresses",
                                                "kallsyms_offsets",
                                                "kallsyms_relative_base",
                                                "kallsyms_num_syms",
                                                "kallsyms_names",
                                                "kallsyms_markers",
                                                "kallsyms_token_table",
                                                "kallsyms_token_index",
                                                "_SDA_BASE_",
                                                "_SDA2_BASE_",
                                                NULL};
  static const char *const ignored_prefixes[] = {"$", ".LASANPC", "__crc_",
                                                 "__efistub_", NULL};
  static const char *const ignored_suffixes[] = {"_from_arm", "_from_thumb",
                                                 "_veneer", NULL};
  const char *const *p;
  for (p = ignored_symbols; *p; p++)
    if (!strcmp(name, *p))
      return true;
  for (p = ignored_prefixes; *p; p++)
    if (!strncmp(name, *p, strlen(*p)))
      return true;
  for (p = ignored_suffixes; *p; p++) {
    int l = strlen(name) - strlen(*p);
    if (l >= 0 && !strcmp(name + l, *p))
      return true;
  }
  if (type == 'U' || type == 'u')
    return true;
  if (type == 'N' || type == 'n')
    return true;
  if (toupper(type) == 'A') {
    if (strcmp(name, "__kernel_syscall_via_break") &&
        strcmp(name, "__kernel_syscall_via_epc") &&
        strcmp(name, "__kernel_sigtramp") && strcmp(name, "__gp"))
      return true;
  }
  return false;
}


x86 assembly (clang, -O0):
<is_ignored_symbol>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
mov    %sil,%al
mov    %rdi,-0x10(%rbp)
mov    %al,-0x11(%rbp)
lea    0x2c17(%rip),%rax
mov    %rax,-0x20(%rbp)
mov    -0x20(%rbp),%rax
cmpq   $0x0,(%rax)
je     11a7 <is_ignored_symbol+0x67>
mov    -0x10(%rbp),%rdi
mov    -0x20(%rbp),%rax
mov    (%rax),%rsi
call   1060 <strcmp@plt>
cmp    $0x0,%rax
jne    1191 <is_ignored_symbol+0x51>
movl   $0x1,-0x4(%rbp)
jmp    1382 <is_ignored_symbol+0x242>
jmp    1196 <is_ignored_symbol+0x56>
mov    -0x20(%rbp),%rax
add    $0x8,%rax
mov    %rax,-0x20(%rbp)
jmp    115d <is_ignored_symbol+0x1d>
lea    0x2c22(%rip),%rax
mov    %rax,-0x20(%rbp)
mov    -0x20(%rbp),%rax
cmpq   $0x0,(%rax)
je     1219 <is_ignored_symbol+0xd9>
mov    -0x10(%rbp),%rax
mov    %rax,-0x38(%rbp)
mov    -0x20(%rbp),%rax
mov    (%rax),%rax
mov    %rax,-0x30(%rbp)
mov    -0x20(%rbp),%rax
mov    (%rax),%rdi
call   1050 <strlen@plt>
mov    -0x38(%rbp),%rdi
mov    -0x30(%rbp),%rsi
mov    %eax,%edx
call   1030 <strncmp@plt>
cmp    $0x0,%eax
jne    1203 <is_ignored_symbol+0xc3>
movl   $0x1,-0x4(%rbp)
jmp    1382 <is_ignored_symbol+0x242>
jmp    1208 <is_ignored_symbol+0xc8>
mov    -0x20(%rbp),%rax
add    $0x8,%rax
mov    %rax,-0x20(%rbp)
jmp    11b2 <is_ignored_symbol+0x72>
lea    0x2be0(%rip),%rax
mov    %rax,-0x20(%rbp)
mov    -0x20(%rbp),%rax
cmpq   $0x0,(%rax)
je     12a1 <is_ignored_symbol+0x161>
mov    -0x10(%rbp),%rdi
call   1050 <strlen@plt>
mov    %eax,-0x3c(%rbp)
mov    -0x20(%rbp),%rax
mov    (%rax),%rdi
call   1050 <strlen@plt>
mov    %eax,%ecx
mov    -0x3c(%rbp),%eax
sub    %ecx,%eax
mov    %eax,-0x24(%rbp)
cmpl   $0x0,-0x24(%rbp)
jl     128b <is_ignored_symbol+0x14b>
mov    -0x10(%rbp),%rdi
movslq -0x24(%rbp),%rax
add    %rax,%rdi
mov    -0x20(%rbp),%rax
mov    (%rax),%rsi
call   1060 <strcmp@plt>
cmp    $0x0,%rax
jne    128b <is_ignored_symbol+0x14b>
movl   $0x1,-0x4(%rbp)
jmp    1382 <is_ignored_symbol+0x242>
jmp    1290 <is_ignored_symbol+0x150>
mov    -0x20(%rbp),%rax
add    $0x8,%rax
mov    %rax,-0x20(%rbp)
jmp    1224 <is_ignored_symbol+0xe4>
movsbl -0x11(%rbp),%eax
cmp    $0x55,%eax
je     12bb <is_ignored_symbol+0x17b>
movsbl -0x11(%rbp),%eax
cmp    $0x75,%eax
jne    12c7 <is_ignored_symbol+0x187>
movl   $0x1,-0x4(%rbp)
jmp    1382 <is_ignored_symbol+0x242>
movsbl -0x11(%rbp),%eax
cmp    $0x4e,%eax
je     12e1 <is_ignored_symbol+0x1a1>
movsbl -0x11(%rbp),%eax
cmp    $0x6e,%eax
jne    12ed <is_ignored_symbol+0x1ad>
movl   $0x1,-0x4(%rbp)
jmp    1382 <is_ignored_symbol+0x242>
movsbl -0x11(%rbp),%edi
call   1040 <toupper@plt>
movsbl %al,%eax
cmp    $0x41,%eax
jne    137b <is_ignored_symbol+0x23b>
mov    -0x10(%rbp),%rdi
lea    0xddc(%rip),%rsi
call   1060 <strcmp@plt>
cmp    $0x0,%rax
je     1376 <is_ignored_symbol+0x236>
mov    -0x10(%rbp),%rdi
lea    0xddd(%rip),%rsi
call   1060 <strcmp@plt>
cmp    $0x0,%rax
je     1376 <is_ignored_symbol+0x236>
mov    -0x10(%rbp),%rdi
lea    0xddc(%rip),%rsi
call   1060 <strcmp@plt>
cmp    $0x0,%rax
je     1376 <is_ignored_symbol+0x236>
mov    -0x10(%rbp),%rdi
lea    0xdd4(%rip),%rsi
call   1060 <strcmp@plt>
cmp    $0x0,%rax
je     1376 <is_ignored_symbol+0x236>
movl   $0x1,-0x4(%rbp)
jmp    1382 <is_ignored_symbol+0x242>
jmp    137b <is_ignored_symbol+0x23b>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<is_ignored_symbol>:
push   %rbp
push   %r15
push   %r14
push   %rbx
push   %rax
mov    %esi,%r14d
mov    %rdi,%rbx
lea    0xeac(%rip),%rsi
call   1060 <strcmp@plt>
mov    $0x1,%ebp
test   %rax,%rax
je     1387 <is_ignored_symbol+0x247>
lea    0xea5(%rip),%rsi
mov    %rbx,%rdi
call   1060 <strcmp@plt>
test   %rax,%rax
je     1387 <is_ignored_symbol+0x247>
lea    0xe9e(%rip),%rsi
mov    %rbx,%rdi
call   1060 <strcmp@plt>
test   %rax,%rax
je     1387 <is_ignored_symbol+0x247>
lea    0xe9d(%rip),%rsi
mov    %rbx,%rdi
call   1060 <strcmp@plt>
test   %rax,%rax
je     1387 <is_ignored_symbol+0x247>
lea    0xe97(%rip),%rsi
mov    %rbx,%rdi
call   1060 <strcmp@plt>
test   %rax,%rax
je     1387 <is_ignored_symbol+0x247>
lea    0xe8e(%rip),%rsi
mov    %rbx,%rdi
call   1060 <strcmp@plt>
test   %rax,%rax
je     1387 <is_ignored_symbol+0x247>
lea    0xe87(%rip),%rsi
mov    %rbx,%rdi
call   1060 <strcmp@plt>
test   %rax,%rax
je     1387 <is_ignored_symbol+0x247>
lea    0xe84(%rip),%rsi
mov    %rbx,%rdi
call   1060 <strcmp@plt>
test   %rax,%rax
je     1387 <is_ignored_symbol+0x247>
lea    0xe81(%rip),%rsi
mov    %rbx,%rdi
call   1060 <strcmp@plt>
test   %rax,%rax
je     1387 <is_ignored_symbol+0x247>
lea    0xe74(%rip),%rsi
mov    %rbx,%rdi
call   1060 <strcmp@plt>
test   %rax,%rax
je     1387 <is_ignored_symbol+0x247>
lea    0xe68(%rip),%r15
mov    %r15,%rdi
call   1050 <strlen@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
mov    %eax,%edx
call   1030 <strncmp@plt>
test   %eax,%eax
je     1387 <is_ignored_symbol+0x247>
lea    0xe46(%rip),%r15
mov    %r15,%rdi
call   1050 <strlen@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
mov    %eax,%edx
call   1030 <strncmp@plt>
test   %eax,%eax
je     1387 <is_ignored_symbol+0x247>
lea    0xe2b(%rip),%r15
mov    %r15,%rdi
call   1050 <strlen@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
mov    %eax,%edx
call   1030 <strncmp@plt>
test   %eax,%eax
je     1387 <is_ignored_symbol+0x247>
lea    0xe0e(%rip),%r15
mov    %r15,%rdi
call   1050 <strlen@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
mov    %eax,%edx
call   1030 <strncmp@plt>
test   %eax,%eax
je     1387 <is_ignored_symbol+0x247>
mov    %rbx,%rdi
call   1050 <strlen@plt>
mov    %eax,%r15d
lea    0xdea(%rip),%rdi
call   1050 <strlen@plt>
sub    %eax,%r15d
js     1306 <is_ignored_symbol+0x1c6>
mov    %r15d,%edi
add    %rbx,%rdi
lea    0xdd3(%rip),%rsi
call   1060 <strcmp@plt>
test   %rax,%rax
je     1387 <is_ignored_symbol+0x247>
mov    %rbx,%rdi
call   1050 <strlen@plt>
mov    %eax,%r15d
lea    0xdbd(%rip),%rdi
call   1050 <strlen@plt>
sub    %eax,%r15d
js     1339 <is_ignored_symbol+0x1f9>
mov    %r15d,%edi
add    %rbx,%rdi
lea    0xda6(%rip),%rsi
call   1060 <strcmp@plt>
test   %rax,%rax
je     1387 <is_ignored_symbol+0x247>
mov    %rbx,%rdi
call   1050 <strlen@plt>
mov    %eax,%r15d
lea    0xd96(%rip),%rdi
call   1050 <strlen@plt>
sub    %eax,%r15d
js     136c <is_ignored_symbol+0x22c>
mov    %r15d,%edi
add    %rbx,%rdi
lea    0xd7f(%rip),%rsi
call   1060 <strcmp@plt>
test   %rax,%rax
je     1387 <is_ignored_symbol+0x247>
lea    -0x4e(%r14),%eax
cmp    $0x27,%al
ja     1394 <is_ignored_symbol+0x254>
movzbl %al,%eax
movabs $0x8100000081,%rcx
bt     %rax,%rcx
jae    1394 <is_ignored_symbol+0x254>
mov    %ebp,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r14
pop    %r15
pop    %rbp
ret
movsbl %r14b,%edi
call   1040 <toupper@plt>
cmp    $0x41,%al
jne    13f1 <is_ignored_symbol+0x2b1>
lea    0xd41(%rip),%rsi
mov    %rbx,%rdi
call   1060 <strcmp@plt>
test   %rax,%rax
je     13f1 <is_ignored_symbol+0x2b1>
lea    0xd48(%rip),%rsi
mov    %rbx,%rdi
call   1060 <strcmp@plt>
test   %rax,%rax
je     13f1 <is_ignored_symbol+0x2b1>
lea    0xd4d(%rip),%rsi
mov    %rbx,%rdi
call   1060 <strcmp@plt>
test   %rax,%rax
je     13f1 <is_ignored_symbol+0x2b1>
lea    0xd4b(%rip),%rsi
mov    %rbx,%rdi
call   1060 <strcmp@plt>
test   %rax,%rax
jne    1387 <is_ignored_symbol+0x247>
xor    %ebp,%ebp
jmp    1387 <is_ignored_symbol+0x247>

LLVM IR (-O0):
@is_ignored_symbol.ignored_symbols = internal constant [11 x i8*] [i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.1, i32 0, i32 0), i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.2, i32 0, i32 0), i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.3, i32 0, i32 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.4, i32 0, i32 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.5, i32 0, i32 0), i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.6, i32 0, i32 0), i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.7, i32 0, i32 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.8, i32 0, i32 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.9, i32 0, i32 0), i8* null]
@.str = [19 x i8] c"kallsyms_addresses\00"
@.str.1 = [17 x i8] c"kallsyms_offsets\00"
@.str.2 = [23 x i8] c"kallsyms_relative_base\00"
@.str.3 = [18 x i8] c"kallsyms_num_syms\00"
@.str.4 = [15 x i8] c"kallsyms_names\00"
@.str.5 = [17 x i8] c"kallsyms_markers\00"
@.str.6 = [21 x i8] c"kallsyms_token_table\00"
@.str.7 = [21 x i8] c"kallsyms_token_index\00"
@.str.8 = [11 x i8] c"_SDA_BASE_\00"
@.str.9 = [12 x i8] c"_SDA2_BASE_\00"
@is_ignored_symbol.ignored_prefixes = internal constant [5 x i8*] [i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.10, i32 0, i32 0), i8* getelementptr inbounds ([9 x i8], [9 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 ([11 x i8], [11 x i8]* @.str.13, i32 0, i32 0), i8* null]
@.str.10 = [2 x i8] c"$\00"
@.str.11 = [9 x i8] c".LASANPC\00"
@.str.12 = [7 x i8] c"__crc_\00"
@.str.13 = [11 x i8] c"__efistub_\00"
@is_ignored_symbol.ignored_suffixes = internal constant [4 x i8*] [i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.14, i32 0, i32 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.15, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.16, i32 0, i32 0), i8* null]
@.str.14 = [10 x i8] c"_from_arm\00"
@.str.15 = [12 x i8] c"_from_thumb\00"
@.str.16 = [8 x i8] c"_veneer\00"
@.str.17 = [27 x i8] c"__kernel_syscall_via_break\00"
@.str.18 = [25 x i8] c"__kernel_syscall_via_epc\00"
@.str.19 = [18 x i8] c"__kernel_sigtramp\00"
@.str.20 = [5 x i8] c"__gp\00"
define i32 @is_ignored_symbol(i8* %0, i8 signext %1) {
%3 = alloca i32
%4 = alloca i8*
%5 = alloca i8
%6 = alloca i8**
%7 = alloca i32
store i8* %0, i8** %4
store i8 %1, i8* %5
store i8** getelementptr inbounds ([11 x i8*], [11 x i8*]* @is_ignored_symbol.ignored_symbols, i64 0, i64 0), i8*** %6
br label %8
8: ; preds = %20, %2
%9 = load i8**, i8*** %6
%10 = load i8*, i8** %9
%11 = icmp ne i8* %10, null
br i1 %11, label %12, label %23
12: ; preds = %8
%13 = load i8*, i8** %4
%14 = load i8**, i8*** %6
%15 = load i8*, i8** %14
%16 = call i64 @strcmp(i8* %13, i8* %15)
%17 = icmp ne i64 %16, 0
br i1 %17, label %19, label %18
18: ; preds = %12
store i32 1, i32* %3
br label %112
19: ; preds = %12
br label %20
20: ; preds = %19
%21 = load i8**, i8*** %6
%22 = getelementptr inbounds i8*, i8** %21, i32 1
store i8** %22, i8*** %6
br label %8
23: ; preds = %8
store i8** getelementptr inbounds ([5 x i8*], [5 x i8*]* @is_ignored_symbol.ignored_prefixes, i64 0, i64 0), i8*** %6
br label %24
24: ; preds = %39, %23
%25 = load i8**, i8*** %6
%26 = load i8*, i8** %25
%27 = icmp ne i8* %26, null
br i1 %27, label %28, label %42
28: ; preds = %24
%29 = load i8*, i8** %4
%30 = load i8**, i8*** %6
%31 = load i8*, i8** %30
%32 = load i8**, i8*** %6
%33 = load i8*, i8** %32
%34 = call i32 @strlen(i8* %33)
%35 = call i32 @strncmp(i8* %29, i8* %31, i32 %34)
%36 = icmp ne i32 %35, 0
br i1 %36, label %38, label %37
37: ; preds = %28
store i32 1, i32* %3
br label %112
38: ; preds = %28
br label %39
39: ; preds = %38
%40 = load i8**, i8*** %6
%41 = getelementptr inbounds i8*, i8** %40, i32 1
store i8** %41, i8*** %6
br label %24
42: ; preds = %24
store i8** getelementptr inbounds ([4 x i8*], [4 x i8*]* @is_ignored_symbol.ignored_suffixes, i64 0, i64 0), i8*** %6
br label %43
43: ; preds = %67, %42
%44 = load i8**, i8*** %6
%45 = load i8*, i8** %44
%46 = icmp ne i8* %45, null
br i1 %46, label %47, label %70
47: ; preds = %43
%48 = load i8*, i8** %4
%49 = call i32 @strlen(i8* %48)
%50 = load i8**, i8*** %6
%51 = load i8*, i8** %50
%52 = call i32 @strlen(i8* %51)
%53 = sub nsw i32 %49, %52
store i32 %53, i32* %7
%54 = load i32, i32* %7
%55 = icmp sge i32 %54, 0
br i1 %55, label %56, label %66
56: ; preds = %47
%57 = load i8*, i8** %4
%58 = load i32, i32* %7
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds i8, i8* %57, i64 %59
%61 = load i8**, i8*** %6
%62 = load i8*, i8** %61
%63 = call i64 @strcmp(i8* %60, i8* %62)
%64 = icmp ne i64 %63, 0
br i1 %64, label %66, label %65
65: ; preds = %56
store i32 1, i32* %3
br label %112
66: ; preds = %56, %47
br label %67
67: ; preds = %66
%68 = load i8**, i8*** %6
%69 = getelementptr inbounds i8*, i8** %68, i32 1
store i8** %69, i8*** %6
br label %43
70: ; preds = %43
%71 = load i8, i8* %5
%72 = sext i8 %71 to i32
%73 = icmp eq i32 %72, 85
br i1 %73, label %78, label %74
74: ; preds = %70
%75 = load i8, i8* %5
%76 = sext i8 %75 to i32
%77 = icmp eq i32 %76, 117
br i1 %77, label %78, label %79
78: ; preds = %74, %70
store i32 1, i32* %3
br label %112
79: ; preds = %74
%80 = load i8, i8* %5
%81 = sext i8 %80 to i32
%82 = icmp eq i32 %81, 78
br i1 %82, label %87, label %83
83: ; preds = %79
%84 = load i8, i8* %5
%85 = sext i8 %84 to i32
%86 = icmp eq i32 %85, 110
br i1 %86, label %87, label %88
87: ; preds = %83, %79
store i32 1, i32* %3
br label %112
88: ; preds = %83
%89 = load i8, i8* %5
%90 = call signext i8 @toupper(i8 signext %89)
%91 = sext i8 %90 to i32
%92 = icmp eq i32 %91, 65
br i1 %92, label %93, label %111
93: ; preds = %88
%94 = load i8*, i8** %4
%95 = call i64 @strcmp(i8* %94, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.17, i64 0, i64 0))
%96 = icmp ne i64 %95, 0
br i1 %96, label %97, label %110
97: ; preds = %93
%98 = load i8*, i8** %4
%99 = call i64 @strcmp(i8* %98, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.18, i64 0, i64 0))
%100 = icmp ne i64 %99, 0
br i1 %100, label %101, label %110
101: ; preds = %97
%102 = load i8*, i8** %4
%103 = call i64 @strcmp(i8* %102, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.19, i64 0, i64 0))
%104 = icmp ne i64 %103, 0
br i1 %104, label %105, label %110
105: ; preds = %101
%106 = load i8*, i8** %4
%107 = call i64 @strcmp(i8* %106, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.20, i64 0, i64 0))
%108 = icmp ne i64 %107, 0
br i1 %108, label %109, label %110
109: ; preds = %105
store i32 1, i32* %3
br label %112
110: ; preds = %105, %101, %97, %93
br label %111
111: ; preds = %110, %88
store i32 0, i32* %3
br label %112
112: ; preds = %111, %109, %87, %78, %65, %37, %18
%113 = load i32, i32* %3
ret i32 %113
}

LLVM IR (-O2):
@.str = [19 x i8] c"kallsyms_addresses\00"
@.str.1 = [17 x i8] c"kallsyms_offsets\00"
@.str.2 = [23 x i8] c"kallsyms_relative_base\00"
@.str.3 = [18 x i8] c"kallsyms_num_syms\00"
@.str.4 = [15 x i8] c"kallsyms_names\00"
@.str.5 = [17 x i8] c"kallsyms_markers\00"
@.str.6 = [21 x i8] c"kallsyms_token_table\00"
@.str.7 = [21 x i8] c"kallsyms_token_index\00"
@.str.8 = [11 x i8] c"_SDA_BASE_\00"
@.str.9 = [12 x i8] c"_SDA2_BASE_\00"
@.str.10 = [2 x i8] c"$\00"
@.str.11 = [9 x i8] c".LASANPC\00"
@.str.12 = [7 x i8] c"__crc_\00"
@.str.13 = [11 x i8] c"__efistub_\00"
@.str.14 = [10 x i8] c"_from_arm\00"
@.str.15 = [12 x i8] c"_from_thumb\00"
@.str.16 = [8 x i8] c"_veneer\00"
@.str.17 = [27 x i8] c"__kernel_syscall_via_break\00"
@.str.18 = [25 x i8] c"__kernel_syscall_via_epc\00"
@.str.19 = [18 x i8] c"__kernel_sigtramp\00"
@.str.20 = [5 x i8] c"__gp\00"
define i32 @is_ignored_symbol(i8* %0, i8 signext %1) {
%3 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str, i64 0, i64 0))
%4 = icmp eq i64 %3, 0
br i1 %4, label %95, label %5
5: ; preds = %2
%6 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.1, i64 0, i64 0))
%7 = icmp eq i64 %6, 0
br i1 %7, label %95, label %8
8: ; preds = %5
%9 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.2, i64 0, i64 0))
%10 = icmp eq i64 %9, 0
br i1 %10, label %95, label %11
11: ; preds = %8
%12 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.3, i64 0, i64 0))
%13 = icmp eq i64 %12, 0
br i1 %13, label %95, label %14
14: ; preds = %11
%15 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.4, i64 0, i64 0))
%16 = icmp eq i64 %15, 0
br i1 %16, label %95, label %17
17: ; preds = %14
%18 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.5, i64 0, i64 0))
%19 = icmp eq i64 %18, 0
br i1 %19, label %95, label %20
20: ; preds = %17
%21 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.6, i64 0, i64 0))
%22 = icmp eq i64 %21, 0
br i1 %22, label %95, label %23
23: ; preds = %20
%24 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.7, i64 0, i64 0))
%25 = icmp eq i64 %24, 0
br i1 %25, label %95, label %26
26: ; preds = %23
%27 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.8, i64 0, i64 0))
%28 = icmp eq i64 %27, 0
br i1 %28, label %95, label %29
29: ; preds = %26
%30 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.9, i64 0, i64 0))
%31 = icmp eq i64 %30, 0
br i1 %31, label %95, label %32
32: ; preds = %29
%33 = tail call i32 @strlen(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.10, i64 0, i64 0))
%34 = tail call i32 @strncmp(i8* %0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.10, i64 0, i64 0), i32 %33)
%35 = icmp eq i32 %34, 0
br i1 %35, label %95, label %36
36: ; preds = %32
%37 = tail call i32 @strlen(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.11, i64 0, i64 0))
%38 = tail call i32 @strncmp(i8* %0, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.11, i64 0, i64 0), i32 %37)
%39 = icmp eq i32 %38, 0
br i1 %39, label %95, label %40
40: ; preds = %36
%41 = tail call i32 @strlen(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.12, i64 0, i64 0))
%42 = tail call i32 @strncmp(i8* %0, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.12, i64 0, i64 0), i32 %41)
%43 = icmp eq i32 %42, 0
br i1 %43, label %95, label %44
44: ; preds = %40
%45 = tail call i32 @strlen(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.13, i64 0, i64 0))
%46 = tail call i32 @strncmp(i8* %0, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.13, i64 0, i64 0), i32 %45)
%47 = icmp eq i32 %46, 0
br i1 %47, label %95, label %48
48: ; preds = %44
%49 = tail call i32 @strlen(i8* %0)
%50 = tail call i32 @strlen(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.14, i64 0, i64 0))
%51 = sub nsw i32 %49, %50
%52 = icmp sgt i32 %51, -1
br i1 %52, label %53, label %58
53: ; preds = %48
%54 = zext i32 %51 to i64
%55 = getelementptr inbounds i8, i8* %0, i64 %54
%56 = tail call i64 @strcmp(i8* %55, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.14, i64 0, i64 0))
%57 = icmp eq i64 %56, 0
br i1 %57, label %95, label %58
58: ; preds = %48, %53
%59 = tail call i32 @strlen(i8* %0)
%60 = tail call i32 @strlen(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.15, i64 0, i64 0))
%61 = sub nsw i32 %59, %60
%62 = icmp sgt i32 %61, -1
br i1 %62, label %63, label %68
63: ; preds = %58
%64 = zext i32 %61 to i64
%65 = getelementptr inbounds i8, i8* %0, i64 %64
%66 = tail call i64 @strcmp(i8* %65, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.15, i64 0, i64 0))
%67 = icmp eq i64 %66, 0
br i1 %67, label %95, label %68
68: ; preds = %63, %58
%69 = tail call i32 @strlen(i8* %0)
%70 = tail call i32 @strlen(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.16, i64 0, i64 0))
%71 = sub nsw i32 %69, %70
%72 = icmp sgt i32 %71, -1
br i1 %72, label %73, label %78
73: ; preds = %68
%74 = zext i32 %71 to i64
%75 = getelementptr inbounds i8, i8* %0, i64 %74
%76 = tail call i64 @strcmp(i8* %75, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.16, i64 0, i64 0))
%77 = icmp eq i64 %76, 0
br i1 %77, label %95, label %78
78: ; preds = %73, %68
switch i8 %1, label %79 [
i8 117, label %95
i8 110, label %95
i8 85, label %95
i8 78, label %95
]
79: ; preds = %78
%80 = tail call signext i8 @toupper(i8 signext %1)
%81 = icmp eq i8 %80, 65
br i1 %81, label %82, label %94
82: ; preds = %79
%83 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.17, i64 0, i64 0))
%84 = icmp eq i64 %83, 0
br i1 %84, label %94, label %85
85: ; preds = %82
%86 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.18, i64 0, i64 0))
%87 = icmp eq i64 %86, 0
br i1 %87, label %94, label %88
88: ; preds = %85
%89 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.19, i64 0, i64 0))
%90 = icmp eq i64 %89, 0
br i1 %90, label %94, label %91
91: ; preds = %88
%92 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.20, i64 0, i64 0))
%93 = icmp eq i64 %92, 0
br i1 %93, label %94, label %95
94: ; preds = %82, %85, %88, %91, %79
br label %95
95: ; preds = %2, %5, %8, %11, %14, %17, %20, %23, %26, %29, %32, %36, %40, %44, %53, %63, %73, %78, %78, %78, %78, %91, %94
%96 = phi i32 [ 0, %94 ], [ 1, %78 ], [ 1, %91 ], [ 1, %78 ], [ 1, %78 ], [ 1, %78 ], [ 1, %73 ], [ 1, %63 ], [ 1, %53 ], [ 1, %44 ], [ 1, %40 ], [ 1, %36 ], [ 1, %32 ], [ 1, %29 ], [ 1, %26 ], [ 1, %23 ], [ 1, %20 ], [ 1, %17 ], [ 1, %14 ], [ 1, %11 ], [ 1, %8 ], [ 1, %5 ], [ 1, %2 ]
ret i32 %96
}