#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 */
int /*<<< orphan*/ strncmp(char *, char *, int);
int get_dump_format(char *str) {
  if (!strncmp(str, "member_groups", 13)) {
    return 2;
  }
  if (!strncmp(str, "group_members", 13)) {
    return 1;
  }
  if (!strncmp(str, "groups_short", 12)) {
    return 3;
  }
  if (!strncmp(str, "app_fans_settings", 17) ||
      !strncmp(str, "app_members_settings", 20)) {
    return 6;
  }
  if (!strncmp(str, "fan_apps_settings", 17) ||
      !strncmp(str, "member_apps_settings", 20)) {
    return 7;
  }
  if (!strncmp(str, "fan_apps_balance", 16) ||
      !strncmp(str, "member_apps_balance", 19)) {
    return 10;
  }
  if (!strncmp(str, "app_fans_notify", 15) ||
      !strncmp(str, "app_members_notify", 18)) {
    return 8;
  }
  if (!strncmp(str, "fan_apps_notify", 15) ||
      !strncmp(str, "member_apps_notify", 18)) {
    return 9;
  }
  if (!strncmp(str, "app_fans", 8) || !strncmp(str, "app_members", 11)) {
    return 4;
  }
  if (!strncmp(str, "fan_apps", 8) || !strncmp(str, "member_apps", 11)) {
    return 5;
  }
  if (!strncmp(str, "family", 6)) {
    return 11;
  }
  if (!strncmp(str, "widget_comments", 15)) {
    return 12;
  }
  if (!strncmp(str, "widget_votes", 12)) {
    return 13;
  }
  if (!strncmp(str, "blacklist", 10)) {
    return 14;
  }
  if (!strncmp(str, "blacklisted", 12)) {
    return 15;
  }
  if (!strncmp(str, "banlist", 8)) {
    return 16;
  }
  if (!strncmp(str, "banlisted", 10)) {
    return 17;
  }
  if (!strncmp(str, "photorev", 9)) {
    return 18;
  }
  return 0;
}


x86 assembly (clang, -O0):
<get_dump_format>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x10(%rbp)
mov    -0x10(%rbp),%rdi
lea    0xed9(%rip),%rsi
mov    $0xd,%edx
call   1030 <strncmp@plt>
cmp    $0x0,%eax
jne    1146 <get_dump_format+0x36>
movl   $0x2,-0x4(%rbp)
jmp    14e9 <get_dump_format+0x3d9>
mov    -0x10(%rbp),%rdi
lea    0xebd(%rip),%rsi
mov    $0xd,%edx
call   1030 <strncmp@plt>
cmp    $0x0,%eax
jne    1170 <get_dump_format+0x60>
movl   $0x1,-0x4(%rbp)
jmp    14e9 <get_dump_format+0x3d9>
mov    -0x10(%rbp),%rdi
lea    0xea1(%rip),%rsi
mov    $0xc,%edx
call   1030 <strncmp@plt>
cmp    $0x0,%eax
jne    119a <get_dump_format+0x8a>
movl   $0x3,-0x4(%rbp)
jmp    14e9 <get_dump_format+0x3d9>
mov    -0x10(%rbp),%rdi
lea    0xe84(%rip),%rsi
mov    $0x11,%edx
call   1030 <strncmp@plt>
cmp    $0x0,%eax
je     11d6 <get_dump_format+0xc6>
mov    -0x10(%rbp),%rdi
lea    0xe78(%rip),%rsi
mov    $0x14,%edx
call   1030 <strncmp@plt>
cmp    $0x0,%eax
jne    11e2 <get_dump_format+0xd2>
movl   $0x6,-0x4(%rbp)
jmp    14e9 <get_dump_format+0x3d9>
mov    -0x10(%rbp),%rdi
lea    0xe63(%rip),%rsi
mov    $0x11,%edx
call   1030 <strncmp@plt>
cmp    $0x0,%eax
je     121e <get_dump_format+0x10e>
mov    -0x10(%rbp),%rdi
lea    0xe57(%rip),%rsi
mov    $0x14,%edx
call   1030 <strncmp@plt>
cmp    $0x0,%eax
jne    122a <get_dump_format+0x11a>
movl   $0x7,-0x4(%rbp)
jmp    14e9 <get_dump_format+0x3d9>
mov    -0x10(%rbp),%rdi
lea    0xe42(%rip),%rsi
mov    $0x10,%edx
call   1030 <strncmp@plt>
cmp    $0x0,%eax
je     1266 <get_dump_format+0x156>
mov    -0x10(%rbp),%rdi
lea    0xe35(%rip),%rsi
mov    $0x13,%edx
call   1030 <strncmp@plt>
cmp    $0x0,%eax
jne    1272 <get_dump_format+0x162>
movl   $0xa,-0x4(%rbp)
jmp    14e9 <get_dump_format+0x3d9>
mov    -0x10(%rbp),%rdi
lea    0xe1f(%rip),%rsi
mov    $0xf,%edx
call   1030 <strncmp@plt>
cmp    $0x0,%eax
je     12ae <get_dump_format+0x19e>
mov    -0x10(%rbp),%rdi
lea    0xe11(%rip),%rsi
mov    $0x12,%edx
call   1030 <strncmp@plt>
cmp    $0x0,%eax
jne    12ba <get_dump_format+0x1aa>
movl   $0x8,-0x4(%rbp)
jmp    14e9 <get_dump_format+0x3d9>
mov    -0x10(%rbp),%rdi
lea    0xdfa(%rip),%rsi
mov    $0xf,%edx
call   1030 <strncmp@plt>
cmp    $0x0,%eax
je     12f6 <get_dump_format+0x1e6>
mov    -0x10(%rbp),%rdi
lea    0xdec(%rip),%rsi
mov    $0x12,%edx
call   1030 <strncmp@plt>
cmp    $0x0,%eax
jne    1302 <get_dump_format+0x1f2>
movl   $0x9,-0x4(%rbp)
jmp    14e9 <get_dump_format+0x3d9>
mov    -0x10(%rbp),%rdi
lea    0xdd5(%rip),%rsi
mov    $0x8,%edx
call   1030 <strncmp@plt>
cmp    $0x0,%eax
je     133e <get_dump_format+0x22e>
mov    -0x10(%rbp),%rdi
lea    0xdc0(%rip),%rsi
mov    $0xb,%edx
call   1030 <strncmp@plt>
cmp    $0x0,%eax
jne    134a <get_dump_format+0x23a>
movl   $0x4,-0x4(%rbp)
jmp    14e9 <get_dump_format+0x3d9>
mov    -0x10(%rbp),%rdi
lea    0xda2(%rip),%rsi
mov    $0x8,%edx
call   1030 <strncmp@plt>
cmp    $0x0,%eax
je     1386 <get_dump_format+0x276>
mov    -0x10(%rbp),%rdi
lea    0xd8d(%rip),%rsi
mov    $0xb,%edx
call   1030 <strncmp@plt>
cmp    $0x0,%eax
jne    1392 <get_dump_format+0x282>
movl   $0x5,-0x4(%rbp)
jmp    14e9 <get_dump_format+0x3d9>
mov    -0x10(%rbp),%rdi
lea    0xd6f(%rip),%rsi
mov    $0x6,%edx
call   1030 <strncmp@plt>
cmp    $0x0,%eax
jne    13bc <get_dump_format+0x2ac>
movl   $0xb,-0x4(%rbp)
jmp    14e9 <get_dump_format+0x3d9>
mov    -0x10(%rbp),%rdi
lea    0xd4c(%rip),%rsi
mov    $0xf,%edx
call   1030 <strncmp@plt>
cmp    $0x0,%eax
jne    13e6 <get_dump_format+0x2d6>
movl   $0xc,-0x4(%rbp)
jmp    14e9 <get_dump_format+0x3d9>
mov    -0x10(%rbp),%rdi
lea    0xd32(%rip),%rsi
mov    $0xc,%edx
call   1030 <strncmp@plt>
cmp    $0x0,%eax
jne    1410 <get_dump_format+0x300>
movl   $0xd,-0x4(%rbp)
jmp    14e9 <get_dump_format+0x3d9>
mov    -0x10(%rbp),%rdi
lea    0xd15(%rip),%rsi
mov    $0xa,%edx
call   1030 <strncmp@plt>
cmp    $0x0,%eax
jne    143a <get_dump_format+0x32a>
movl   $0xe,-0x4(%rbp)
jmp    14e9 <get_dump_format+0x3d9>
mov    -0x10(%rbp),%rdi
lea    0xcf5(%rip),%rsi
mov    $0xc,%edx
call   1030 <strncmp@plt>
cmp    $0x0,%eax
jne    1464 <get_dump_format+0x354>
movl   $0xf,-0x4(%rbp)
jmp    14e9 <get_dump_format+0x3d9>
mov    -0x10(%rbp),%rdi
lea    0xcd7(%rip),%rsi
mov    $0x8,%edx
call   1030 <strncmp@plt>
cmp    $0x0,%eax
jne    148e <get_dump_format+0x37e>
movl   $0x10,-0x4(%rbp)
jmp    14e9 <get_dump_format+0x3d9>
mov    -0x10(%rbp),%rdi
lea    0xcb5(%rip),%rsi
mov    $0xa,%edx
call   1030 <strncmp@plt>
cmp    $0x0,%eax
jne    14b8 <get_dump_format+0x3a8>
movl   $0x11,-0x4(%rbp)
jmp    14e9 <get_dump_format+0x3d9>
mov    -0x10(%rbp),%rdi
lea    0xc95(%rip),%rsi
mov    $0x9,%edx
call   1030 <strncmp@plt>
cmp    $0x0,%eax
jne    14e2 <get_dump_format+0x3d2>
movl   $0x12,-0x4(%rbp)
jmp    14e9 <get_dump_format+0x3d9>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<get_dump_format>:
push   %rbp
push   %rbx
push   %rax
mov    %rdi,%rbx
lea    0xee3(%rip),%rsi
mov    $0xd,%edx
call   1030 <strncmp@plt>
test   %eax,%eax
je     13f5 <get_dump_format+0x2e5>
lea    0xed8(%rip),%rsi
mov    %rbx,%rdi
mov    $0xd,%edx
call   1030 <strncmp@plt>
test   %eax,%eax
je     13fc <get_dump_format+0x2ec>
lea    0xeca(%rip),%rsi
mov    %rbx,%rdi
mov    $0xc,%edx
call   1030 <strncmp@plt>
test   %eax,%eax
je     1403 <get_dump_format+0x2f3>
lea    0xebb(%rip),%rsi
mov    %rbx,%rdi
mov    $0x11,%edx
call   1030 <strncmp@plt>
mov    $0x6,%ebp
test   %eax,%eax
je     1408 <get_dump_format+0x2f8>
lea    0xeac(%rip),%rsi
mov    %rbx,%rdi
mov    $0x14,%edx
call   1030 <strncmp@plt>
test   %eax,%eax
je     1408 <get_dump_format+0x2f8>
lea    0xea5(%rip),%rsi
mov    %rbx,%rdi
mov    $0x11,%edx
call   1030 <strncmp@plt>
mov    $0x7,%ebp
test   %eax,%eax
je     1408 <get_dump_format+0x2f8>
lea    0xe96(%rip),%rsi
mov    %rbx,%rdi
mov    $0x14,%edx
call   1030 <strncmp@plt>
test   %eax,%eax
je     1408 <get_dump_format+0x2f8>
lea    0xe8f(%rip),%rsi
mov    %rbx,%rdi
mov    $0x10,%edx
call   1030 <strncmp@plt>
mov    $0xa,%ebp
test   %eax,%eax
je     1408 <get_dump_format+0x2f8>
lea    0xe7f(%rip),%rsi
mov    %rbx,%rdi
mov    $0x13,%edx
call   1030 <strncmp@plt>
test   %eax,%eax
je     1408 <get_dump_format+0x2f8>
lea    0xe77(%rip),%rsi
mov    %rbx,%rdi
mov    $0xf,%edx
call   1030 <strncmp@plt>
mov    $0x8,%ebp
test   %eax,%eax
je     1408 <get_dump_format+0x2f8>
lea    0xe66(%rip),%rsi
mov    %rbx,%rdi
mov    $0x12,%edx
call   1030 <strncmp@plt>
test   %eax,%eax
je     1408 <get_dump_format+0x2f8>
lea    0xe5d(%rip),%rsi
mov    %rbx,%rdi
mov    $0xf,%edx
call   1030 <strncmp@plt>
mov    $0x9,%ebp
test   %eax,%eax
je     1408 <get_dump_format+0x2f8>
lea    0xe4c(%rip),%rsi
mov    %rbx,%rdi
mov    $0x12,%edx
call   1030 <strncmp@plt>
test   %eax,%eax
je     1408 <get_dump_format+0x2f8>
lea    0xe43(%rip),%rsi
mov    %rbx,%rdi
mov    $0x8,%edx
call   1030 <strncmp@plt>
mov    $0x4,%ebp
test   %eax,%eax
je     1408 <get_dump_format+0x2f8>
lea    0xe2b(%rip),%rsi
mov    %rbx,%rdi
mov    $0xb,%edx
call   1030 <strncmp@plt>
test   %eax,%eax
je     1408 <get_dump_format+0x2f8>
lea    0xe1b(%rip),%rsi
mov    %rbx,%rdi
mov    $0x8,%edx
call   1030 <strncmp@plt>
mov    $0x5,%ebp
test   %eax,%eax
je     1408 <get_dump_format+0x2f8>
lea    0xe03(%rip),%rsi
mov    %rbx,%rdi
mov    $0xb,%edx
call   1030 <strncmp@plt>
test   %eax,%eax
je     1408 <get_dump_format+0x2f8>
lea    0xdf3(%rip),%rsi
mov    %rbx,%rdi
mov    $0x6,%edx
call   1030 <strncmp@plt>
mov    $0xb,%ebp
test   %eax,%eax
je     1408 <get_dump_format+0x2f8>
lea    0xdd9(%rip),%rsi
mov    %rbx,%rdi
mov    $0xf,%edx
call   1030 <strncmp@plt>
test   %eax,%eax
je     1411 <get_dump_format+0x301>
lea    0xdcd(%rip),%rsi
mov    %rbx,%rdi
mov    $0xc,%edx
call   1030 <strncmp@plt>
test   %eax,%eax
je     1418 <get_dump_format+0x308>
lea    0xdbe(%rip),%rsi
mov    %rbx,%rdi
mov    $0xa,%edx
call   1030 <strncmp@plt>
test   %eax,%eax
je     141f <get_dump_format+0x30f>
lea    0xdac(%rip),%rsi
mov    %rbx,%rdi
mov    $0xc,%edx
call   1030 <strncmp@plt>
test   %eax,%eax
je     1426 <get_dump_format+0x316>
lea    0xd9c(%rip),%rsi
mov    %rbx,%rdi
mov    $0x8,%edx
call   1030 <strncmp@plt>
test   %eax,%eax
je     142d <get_dump_format+0x31d>
lea    0xd8c(%rip),%rsi
mov    %rbx,%rdi
mov    $0xa,%edx
call   1030 <strncmp@plt>
test   %eax,%eax
je     1434 <get_dump_format+0x324>
lea    0xd7e(%rip),%rsi
mov    %rbx,%rdi
mov    $0x9,%edx
call   1030 <strncmp@plt>
xor    %ecx,%ecx
test   %eax,%eax
mov    $0x12,%ebp
cmovne %ecx,%ebp
jmp    1408 <get_dump_format+0x2f8>
mov    $0x2,%ebp
jmp    1408 <get_dump_format+0x2f8>
mov    $0x1,%ebp
jmp    1408 <get_dump_format+0x2f8>
mov    $0x3,%ebp
mov    %ebp,%eax
add    $0x8,%rsp
pop    %rbx
pop    %rbp
ret
mov    $0xc,%ebp
jmp    1408 <get_dump_format+0x2f8>
mov    $0xd,%ebp
jmp    1408 <get_dump_format+0x2f8>
mov    $0xe,%ebp
jmp    1408 <get_dump_format+0x2f8>
mov    $0xf,%ebp
jmp    1408 <get_dump_format+0x2f8>
mov    $0x10,%ebp
jmp    1408 <get_dump_format+0x2f8>
mov    $0x11,%ebp
jmp    1408 <get_dump_format+0x2f8>

LLVM IR (-O0):
@.str = [14 x i8] c"member_groups\00"
@.str.1 = [14 x i8] c"group_members\00"
@.str.2 = [13 x i8] c"groups_short\00"
@.str.3 = [18 x i8] c"app_fans_settings\00"
@.str.4 = [21 x i8] c"app_members_settings\00"
@.str.5 = [18 x i8] c"fan_apps_settings\00"
@.str.6 = [21 x i8] c"member_apps_settings\00"
@.str.7 = [17 x i8] c"fan_apps_balance\00"
@.str.8 = [20 x i8] c"member_apps_balance\00"
@.str.9 = [16 x i8] c"app_fans_notify\00"
@.str.10 = [19 x i8] c"app_members_notify\00"
@.str.11 = [16 x i8] c"fan_apps_notify\00"
@.str.12 = [19 x i8] c"member_apps_notify\00"
@.str.13 = [9 x i8] c"app_fans\00"
@.str.14 = [12 x i8] c"app_members\00"
@.str.15 = [9 x i8] c"fan_apps\00"
@.str.16 = [12 x i8] c"member_apps\00"
@.str.17 = [7 x i8] c"family\00"
@.str.18 = [16 x i8] c"widget_comments\00"
@.str.19 = [13 x i8] c"widget_votes\00"
@.str.20 = [10 x i8] c"blacklist\00"
@.str.21 = [12 x i8] c"blacklisted\00"
@.str.22 = [8 x i8] c"banlist\00"
@.str.23 = [10 x i8] c"banlisted\00"
@.str.24 = [9 x i8] c"photorev\00"
define i32 @get_dump_format(i8* %0) {
%2 = alloca i32
%3 = alloca i8*
store i8* %0, i8** %3
%4 = load i8*, i8** %3
%5 = call i32 @strncmp(i8* %4, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str, i64 0, i64 0), i32 13)
%6 = icmp ne i32 %5, 0
br i1 %6, label %8, label %7
7: ; preds = %1
store i32 2, i32* %2
br label %122
8: ; preds = %1
%9 = load i8*, i8** %3
%10 = call i32 @strncmp(i8* %9, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.1, i64 0, i64 0), i32 13)
%11 = icmp ne i32 %10, 0
br i1 %11, label %13, label %12
12: ; preds = %8
store i32 1, i32* %2
br label %122
13: ; preds = %8
%14 = load i8*, i8** %3
%15 = call i32 @strncmp(i8* %14, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.2, i64 0, i64 0), i32 12)
%16 = icmp ne i32 %15, 0
br i1 %16, label %18, label %17
17: ; preds = %13
store i32 3, i32* %2
br label %122
18: ; preds = %13
%19 = load i8*, i8** %3
%20 = call i32 @strncmp(i8* %19, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.3, i64 0, i64 0), i32 17)
%21 = icmp ne i32 %20, 0
br i1 %21, label %22, label %26
22: ; preds = %18
%23 = load i8*, i8** %3
%24 = call i32 @strncmp(i8* %23, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.4, i64 0, i64 0), i32 20)
%25 = icmp ne i32 %24, 0
br i1 %25, label %27, label %26
26: ; preds = %22, %18
store i32 6, i32* %2
br label %122
27: ; preds = %22
%28 = load i8*, i8** %3
%29 = call i32 @strncmp(i8* %28, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.5, i64 0, i64 0), i32 17)
%30 = icmp ne i32 %29, 0
br i1 %30, label %31, label %35
31: ; preds = %27
%32 = load i8*, i8** %3
%33 = call i32 @strncmp(i8* %32, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.6, i64 0, i64 0), i32 20)
%34 = icmp ne i32 %33, 0
br i1 %34, label %36, label %35
35: ; preds = %31, %27
store i32 7, i32* %2
br label %122
36: ; preds = %31
%37 = load i8*, i8** %3
%38 = call i32 @strncmp(i8* %37, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.7, i64 0, i64 0), i32 16)
%39 = icmp ne i32 %38, 0
br i1 %39, label %40, label %44
40: ; preds = %36
%41 = load i8*, i8** %3
%42 = call i32 @strncmp(i8* %41, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.8, i64 0, i64 0), i32 19)
%43 = icmp ne i32 %42, 0
br i1 %43, label %45, label %44
44: ; preds = %40, %36
store i32 10, i32* %2
br label %122
45: ; preds = %40
%46 = load i8*, i8** %3
%47 = call i32 @strncmp(i8* %46, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.9, i64 0, i64 0), i32 15)
%48 = icmp ne i32 %47, 0
br i1 %48, label %49, label %53
49: ; preds = %45
%50 = load i8*, i8** %3
%51 = call i32 @strncmp(i8* %50, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.10, i64 0, i64 0), i32 18)
%52 = icmp ne i32 %51, 0
br i1 %52, label %54, label %53
53: ; preds = %49, %45
store i32 8, i32* %2
br label %122
54: ; preds = %49
%55 = load i8*, i8** %3
%56 = call i32 @strncmp(i8* %55, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.11, i64 0, i64 0), i32 15)
%57 = icmp ne i32 %56, 0
br i1 %57, label %58, label %62
58: ; preds = %54
%59 = load i8*, i8** %3
%60 = call i32 @strncmp(i8* %59, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.12, i64 0, i64 0), i32 18)
%61 = icmp ne i32 %60, 0
br i1 %61, label %63, label %62
62: ; preds = %58, %54
store i32 9, i32* %2
br label %122
63: ; preds = %58
%64 = load i8*, i8** %3
%65 = call i32 @strncmp(i8* %64, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.13, i64 0, i64 0), i32 8)
%66 = icmp ne i32 %65, 0
br i1 %66, label %67, label %71
67: ; preds = %63
%68 = load i8*, i8** %3
%69 = call i32 @strncmp(i8* %68, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.14, i64 0, i64 0), i32 11)
%70 = icmp ne i32 %69, 0
br i1 %70, label %72, label %71
71: ; preds = %67, %63
store i32 4, i32* %2
br label %122
72: ; preds = %67
%73 = load i8*, i8** %3
%74 = call i32 @strncmp(i8* %73, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.15, i64 0, i64 0), i32 8)
%75 = icmp ne i32 %74, 0
br i1 %75, label %76, label %80
76: ; preds = %72
%77 = load i8*, i8** %3
%78 = call i32 @strncmp(i8* %77, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.16, i64 0, i64 0), i32 11)
%79 = icmp ne i32 %78, 0
br i1 %79, label %81, label %80
80: ; preds = %76, %72
store i32 5, i32* %2
br label %122
81: ; preds = %76
%82 = load i8*, i8** %3
%83 = call i32 @strncmp(i8* %82, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.17, i64 0, i64 0), i32 6)
%84 = icmp ne i32 %83, 0
br i1 %84, label %86, label %85
85: ; preds = %81
store i32 11, i32* %2
br label %122
86: ; preds = %81
%87 = load i8*, i8** %3
%88 = call i32 @strncmp(i8* %87, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.18, i64 0, i64 0), i32 15)
%89 = icmp ne i32 %88, 0
br i1 %89, label %91, label %90
90: ; preds = %86
store i32 12, i32* %2
br label %122
91: ; preds = %86
%92 = load i8*, i8** %3
%93 = call i32 @strncmp(i8* %92, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.19, i64 0, i64 0), i32 12)
%94 = icmp ne i32 %93, 0
br i1 %94, label %96, label %95
95: ; preds = %91
store i32 13, i32* %2
br label %122
96: ; preds = %91
%97 = load i8*, i8** %3
%98 = call i32 @strncmp(i8* %97, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.20, i64 0, i64 0), i32 10)
%99 = icmp ne i32 %98, 0
br i1 %99, label %101, label %100
100: ; preds = %96
store i32 14, i32* %2
br label %122
101: ; preds = %96
%102 = load i8*, i8** %3
%103 = call i32 @strncmp(i8* %102, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.21, i64 0, i64 0), i32 12)
%104 = icmp ne i32 %103, 0
br i1 %104, label %106, label %105
105: ; preds = %101
store i32 15, i32* %2
br label %122
106: ; preds = %101
%107 = load i8*, i8** %3
%108 = call i32 @strncmp(i8* %107, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.22, i64 0, i64 0), i32 8)
%109 = icmp ne i32 %108, 0
br i1 %109, label %111, label %110
110: ; preds = %106
store i32 16, i32* %2
br label %122
111: ; preds = %106
%112 = load i8*, i8** %3
%113 = call i32 @strncmp(i8* %112, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.23, i64 0, i64 0), i32 10)
%114 = icmp ne i32 %113, 0
br i1 %114, label %116, label %115
115: ; preds = %111
store i32 17, i32* %2
br label %122
116: ; preds = %111
%117 = load i8*, i8** %3
%118 = call i32 @strncmp(i8* %117, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.24, i64 0, i64 0), i32 9)
%119 = icmp ne i32 %118, 0
br i1 %119, label %121, label %120
120: ; preds = %116
store i32 18, i32* %2
br label %122
121: ; preds = %116
store i32 0, i32* %2
br label %122
122: ; preds = %121, %120, %115, %110, %105, %100, %95, %90, %85, %80, %71, %62, %53, %44, %35, %26, %17, %12, %7
%123 = load i32, i32* %2
ret i32 %123
}

LLVM IR (-O2):
@.str = [14 x i8] c"member_groups\00"
@.str.1 = [14 x i8] c"group_members\00"
@.str.2 = [13 x i8] c"groups_short\00"
@.str.3 = [18 x i8] c"app_fans_settings\00"
@.str.4 = [21 x i8] c"app_members_settings\00"
@.str.5 = [18 x i8] c"fan_apps_settings\00"
@.str.6 = [21 x i8] c"member_apps_settings\00"
@.str.7 = [17 x i8] c"fan_apps_balance\00"
@.str.8 = [20 x i8] c"member_apps_balance\00"
@.str.9 = [16 x i8] c"app_fans_notify\00"
@.str.10 = [19 x i8] c"app_members_notify\00"
@.str.11 = [16 x i8] c"fan_apps_notify\00"
@.str.12 = [19 x i8] c"member_apps_notify\00"
@.str.13 = [9 x i8] c"app_fans\00"
@.str.14 = [12 x i8] c"app_members\00"
@.str.15 = [9 x i8] c"fan_apps\00"
@.str.16 = [12 x i8] c"member_apps\00"
@.str.17 = [7 x i8] c"family\00"
@.str.18 = [16 x i8] c"widget_comments\00"
@.str.19 = [13 x i8] c"widget_votes\00"
@.str.20 = [10 x i8] c"blacklist\00"
@.str.21 = [12 x i8] c"blacklisted\00"
@.str.22 = [8 x i8] c"banlist\00"
@.str.23 = [10 x i8] c"banlisted\00"
@.str.24 = [9 x i8] c"photorev\00"
define i32 @get_dump_format(i8* %0) {
%2 = tail call i32 @strncmp(i8* %0, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str, i64 0, i64 0), i32 13)
%3 = icmp eq i32 %2, 0
br i1 %3, label %77, label %4
4: ; preds = %1
%5 = tail call i32 @strncmp(i8* %0, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.1, i64 0, i64 0), i32 13)
%6 = icmp eq i32 %5, 0
br i1 %6, label %77, label %7
7: ; preds = %4
%8 = tail call i32 @strncmp(i8* %0, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.2, i64 0, i64 0), i32 12)
%9 = icmp eq i32 %8, 0
br i1 %9, label %77, label %10
10: ; preds = %7
%11 = tail call i32 @strncmp(i8* %0, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.3, i64 0, i64 0), i32 17)
%12 = icmp eq i32 %11, 0
br i1 %12, label %77, label %13
13: ; preds = %10
%14 = tail call i32 @strncmp(i8* %0, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.4, i64 0, i64 0), i32 20)
%15 = icmp eq i32 %14, 0
br i1 %15, label %77, label %16
16: ; preds = %13
%17 = tail call i32 @strncmp(i8* %0, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.5, i64 0, i64 0), i32 17)
%18 = icmp eq i32 %17, 0
br i1 %18, label %77, label %19
19: ; preds = %16
%20 = tail call i32 @strncmp(i8* %0, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.6, i64 0, i64 0), i32 20)
%21 = icmp eq i32 %20, 0
br i1 %21, label %77, label %22
22: ; preds = %19
%23 = tail call i32 @strncmp(i8* %0, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.7, i64 0, i64 0), i32 16)
%24 = icmp eq i32 %23, 0
br i1 %24, label %77, label %25
25: ; preds = %22
%26 = tail call i32 @strncmp(i8* %0, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.8, i64 0, i64 0), i32 19)
%27 = icmp eq i32 %26, 0
br i1 %27, label %77, label %28
28: ; preds = %25
%29 = tail call i32 @strncmp(i8* %0, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.9, i64 0, i64 0), i32 15)
%30 = icmp eq i32 %29, 0
br i1 %30, label %77, label %31
31: ; preds = %28
%32 = tail call i32 @strncmp(i8* %0, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.10, i64 0, i64 0), i32 18)
%33 = icmp eq i32 %32, 0
br i1 %33, label %77, label %34
34: ; preds = %31
%35 = tail call i32 @strncmp(i8* %0, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.11, i64 0, i64 0), i32 15)
%36 = icmp eq i32 %35, 0
br i1 %36, label %77, label %37
37: ; preds = %34
%38 = tail call i32 @strncmp(i8* %0, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.12, i64 0, i64 0), i32 18)
%39 = icmp eq i32 %38, 0
br i1 %39, label %77, label %40
40: ; preds = %37
%41 = tail call i32 @strncmp(i8* %0, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.13, i64 0, i64 0), i32 8)
%42 = icmp eq i32 %41, 0
br i1 %42, label %77, label %43
43: ; preds = %40
%44 = tail call i32 @strncmp(i8* %0, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.14, i64 0, i64 0), i32 11)
%45 = icmp eq i32 %44, 0
br i1 %45, label %77, label %46
46: ; preds = %43
%47 = tail call i32 @strncmp(i8* %0, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.15, i64 0, i64 0), i32 8)
%48 = icmp eq i32 %47, 0
br i1 %48, label %77, label %49
49: ; preds = %46
%50 = tail call i32 @strncmp(i8* %0, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.16, i64 0, i64 0), i32 11)
%51 = icmp eq i32 %50, 0
br i1 %51, label %77, label %52
52: ; preds = %49
%53 = tail call i32 @strncmp(i8* %0, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.17, i64 0, i64 0), i32 6)
%54 = icmp eq i32 %53, 0
br i1 %54, label %77, label %55
55: ; preds = %52
%56 = tail call i32 @strncmp(i8* %0, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.18, i64 0, i64 0), i32 15)
%57 = icmp eq i32 %56, 0
br i1 %57, label %77, label %58
58: ; preds = %55
%59 = tail call i32 @strncmp(i8* %0, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.19, i64 0, i64 0), i32 12)
%60 = icmp eq i32 %59, 0
br i1 %60, label %77, label %61
61: ; preds = %58
%62 = tail call i32 @strncmp(i8* %0, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.20, i64 0, i64 0), i32 10)
%63 = icmp eq i32 %62, 0
br i1 %63, label %77, label %64
64: ; preds = %61
%65 = tail call i32 @strncmp(i8* %0, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.21, i64 0, i64 0), i32 12)
%66 = icmp eq i32 %65, 0
br i1 %66, label %77, label %67
67: ; preds = %64
%68 = tail call i32 @strncmp(i8* %0, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.22, i64 0, i64 0), i32 8)
%69 = icmp eq i32 %68, 0
br i1 %69, label %77, label %70
70: ; preds = %67
%71 = tail call i32 @strncmp(i8* %0, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.23, i64 0, i64 0), i32 10)
%72 = icmp eq i32 %71, 0
br i1 %72, label %77, label %73
73: ; preds = %70
%74 = tail call i32 @strncmp(i8* %0, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.24, i64 0, i64 0), i32 9)
%75 = icmp eq i32 %74, 0
%76 = select i1 %75, i32 18, i32 0
br label %77
77: ; preds = %73, %70, %67, %64, %61, %58, %55, %52, %46, %49, %40, %43, %34, %37, %28, %31, %22, %25, %16, %19, %10, %13, %7, %4, %1
%78 = phi i32 [ 2, %1 ], [ 1, %4 ], [ 3, %7 ], [ 6, %13 ], [ 6, %10 ], [ 7, %19 ], [ 7, %16 ], [ 10, %25 ], [ 10, %22 ], [ 8, %31 ], [ 8, %28 ], [ 9, %37 ], [ 9, %34 ], [ 4, %43 ], [ 4, %40 ], [ 5, %49 ], [ 5, %46 ], [ 11, %52 ], [ 12, %55 ], [ 13, %58 ], [ 14, %61 ], [ 15, %64 ], [ 16, %67 ], [ 17, %70 ], [ %76, %73 ]
ret i32 %78
}