#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__ strstr(char const *, char *);
int af_str2fmt(const char *str) {
  int format = 0;
  if (strstr(str, "be") || strstr(str, "BE"))
    format |= (0 << 0);
  else if (strstr(str, "le") || strstr(str, "LE"))
    format |= (1 << 0);
  else
    format |= (0 << 0);
  if (strstr(str, "mulaw") || strstr(str, "MULAW")) {
    format |= (1 << 6);
    return format;
  }
  if (strstr(str, "alaw") || strstr(str, "ALAW")) {
    format |= (2 << 6);
    return format;
  }
  if (strstr(str, "ac3") || strstr(str, "AC3")) {
    format |= (4 << 6) | (1 << 3);
    return format;
  }
  if (strstr(str, "mpeg2") || strstr(str, "MPEG2")) {
    format |= (3 << 6);
    return format;
  }
  if (strstr(str, "iec61937") || strstr(str, "IEC61937")) {
    format |= (6 << 6) | (1 << 3);
    return format;
  }
  if (strstr(str, "imaadpcm") || strstr(str, "IMAADPCM")) {
    format |= (5 << 6);
    return format;
  }
  if (strstr(str, "float") || strstr(str, "FLOAT")) {
    format |= (1 << 2);
    return format;
  } else
    format |= (0 << 2);
  if (strstr(str, "unsigned") || strstr(str, "UNSIGNED"))
    format |= (1 << 1);
  else
    format |= (0 << 1);
  return format;
}


x86 assembly (clang, -O0):
<af_str2fmt>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    %rdi,-0x10(%rbp)
movl   $0x0,-0x14(%rbp)
mov    -0x10(%rbp),%rdi
lea    0xed2(%rip),%rsi
call   1030 <strstr@plt>
cmp    $0x0,%rax
jne    1157 <af_str2fmt+0x47>
mov    -0x10(%rbp),%rdi
lea    0xebb(%rip),%rsi
call   1030 <strstr@plt>
cmp    $0x0,%rax
je     1165 <af_str2fmt+0x55>
mov    -0x14(%rbp),%eax
or     $0x0,%eax
mov    %eax,-0x14(%rbp)
jmp    11b5 <af_str2fmt+0xa5>
mov    -0x10(%rbp),%rdi
lea    0xe96(%rip),%rsi
call   1030 <strstr@plt>
cmp    $0x0,%rax
jne    1199 <af_str2fmt+0x89>
mov    -0x10(%rbp),%rdi
lea    0xe7f(%rip),%rsi
call   1030 <strstr@plt>
cmp    $0x0,%rax
je     11a7 <af_str2fmt+0x97>
mov    -0x14(%rbp),%eax
or     $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    11b0 <af_str2fmt+0xa0>
mov    -0x14(%rbp),%eax
or     $0x0,%eax
mov    %eax,-0x14(%rbp)
jmp    11b5 <af_str2fmt+0xa5>
mov    -0x10(%rbp),%rdi
lea    0xe4c(%rip),%rsi
call   1030 <strstr@plt>
cmp    $0x0,%rax
jne    11e9 <af_str2fmt+0xd9>
mov    -0x10(%rbp),%rdi
lea    0xe38(%rip),%rsi
call   1030 <strstr@plt>
cmp    $0x0,%rax
je     11fd <af_str2fmt+0xed>
mov    -0x14(%rbp),%eax
or     $0x40,%eax
mov    %eax,-0x14(%rbp)
mov    -0x14(%rbp),%eax
mov    %eax,-0x4(%rbp)
jmp    1411 <af_str2fmt+0x301>
mov    -0x10(%rbp),%rdi
lea    0xe10(%rip),%rsi
call   1030 <strstr@plt>
cmp    $0x0,%rax
jne    1231 <af_str2fmt+0x121>
mov    -0x10(%rbp),%rdi
lea    0xdfb(%rip),%rsi
call   1030 <strstr@plt>
cmp    $0x0,%rax
je     1247 <af_str2fmt+0x137>
mov    -0x14(%rbp),%eax
or     $0x80,%eax
mov    %eax,-0x14(%rbp)
mov    -0x14(%rbp),%eax
mov    %eax,-0x4(%rbp)
jmp    1411 <af_str2fmt+0x301>
mov    -0x10(%rbp),%rdi
lea    0xdd0(%rip),%rsi
call   1030 <strstr@plt>
cmp    $0x0,%rax
jne    127b <af_str2fmt+0x16b>
mov    -0x10(%rbp),%rdi
lea    0xdba(%rip),%rsi
call   1030 <strstr@plt>
cmp    $0x0,%rax
je     1291 <af_str2fmt+0x181>
mov    -0x14(%rbp),%eax
or     $0x108,%eax
mov    %eax,-0x14(%rbp)
mov    -0x14(%rbp),%eax
mov    %eax,-0x4(%rbp)
jmp    1411 <af_str2fmt+0x301>
mov    -0x10(%rbp),%rdi
lea    0xd8e(%rip),%rsi
call   1030 <strstr@plt>
cmp    $0x0,%rax
jne    12c5 <af_str2fmt+0x1b5>
mov    -0x10(%rbp),%rdi
lea    0xd7a(%rip),%rsi
call   1030 <strstr@plt>
cmp    $0x0,%rax
je     12db <af_str2fmt+0x1cb>
mov    -0x14(%rbp),%eax
or     $0xc0,%eax
mov    %eax,-0x14(%rbp)
mov    -0x14(%rbp),%eax
mov    %eax,-0x4(%rbp)
jmp    1411 <af_str2fmt+0x301>
mov    -0x10(%rbp),%rdi
lea    0xd50(%rip),%rsi
call   1030 <strstr@plt>
cmp    $0x0,%rax
jne    130f <af_str2fmt+0x1ff>
mov    -0x10(%rbp),%rdi
lea    0xd3f(%rip),%rsi
call   1030 <strstr@plt>
cmp    $0x0,%rax
je     1325 <af_str2fmt+0x215>
mov    -0x14(%rbp),%eax
or     $0x188,%eax
mov    %eax,-0x14(%rbp)
mov    -0x14(%rbp),%eax
mov    %eax,-0x4(%rbp)
jmp    1411 <af_str2fmt+0x301>
mov    -0x10(%rbp),%rdi
lea    0xd18(%rip),%rsi
call   1030 <strstr@plt>
cmp    $0x0,%rax
jne    1359 <af_str2fmt+0x249>
mov    -0x10(%rbp),%rdi
lea    0xd07(%rip),%rsi
call   1030 <strstr@plt>
cmp    $0x0,%rax
je     136f <af_str2fmt+0x25f>
mov    -0x14(%rbp),%eax
or     $0x140,%eax
mov    %eax,-0x14(%rbp)
mov    -0x14(%rbp),%eax
mov    %eax,-0x4(%rbp)
jmp    1411 <af_str2fmt+0x301>
mov    -0x10(%rbp),%rdi
lea    0xce0(%rip),%rsi
call   1030 <strstr@plt>
cmp    $0x0,%rax
jne    13a3 <af_str2fmt+0x293>
mov    -0x10(%rbp),%rdi
lea    0xccc(%rip),%rsi
call   1030 <strstr@plt>
cmp    $0x0,%rax
je     13b7 <af_str2fmt+0x2a7>
mov    -0x14(%rbp),%eax
or     $0x4,%eax
mov    %eax,-0x14(%rbp)
mov    -0x14(%rbp),%eax
mov    %eax,-0x4(%rbp)
jmp    1411 <af_str2fmt+0x301>
mov    -0x14(%rbp),%eax
or     $0x0,%eax
mov    %eax,-0x14(%rbp)
mov    -0x10(%rbp),%rdi
lea    0xc9b(%rip),%rsi
call   1030 <strstr@plt>
cmp    $0x0,%rax
jne    13f4 <af_str2fmt+0x2e4>
mov    -0x10(%rbp),%rdi
lea    0xc8a(%rip),%rsi
call   1030 <strstr@plt>
cmp    $0x0,%rax
je     1402 <af_str2fmt+0x2f2>
mov    -0x14(%rbp),%eax
or     $0x2,%eax
mov    %eax,-0x14(%rbp)
jmp    140b <af_str2fmt+0x2fb>
mov    -0x14(%rbp),%eax
or     $0x0,%eax
mov    %eax,-0x14(%rbp)
mov    -0x14(%rbp),%eax
mov    %eax,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<af_str2fmt>:
push   %rbp
push   %rbx
push   %rax
mov    %rdi,%rbx
lea    0xee3(%rip),%rsi
call   1030 <strstr@plt>
xor    %ebp,%ebp
test   %rax,%rax
jne    116e <af_str2fmt+0x5e>
lea    0xed3(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strstr@plt>
test   %rax,%rax
jne    116e <af_str2fmt+0x5e>
lea    0xec2(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strstr@plt>
mov    $0x1,%ebp
test   %rax,%rax
jne    116e <af_str2fmt+0x5e>
lea    0xeac(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strstr@plt>
xor    %ebp,%ebp
test   %rax,%rax
setne  %bpl
lea    0xe97(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strstr@plt>
test   %rax,%rax
jne    1196 <af_str2fmt+0x86>
lea    0xe89(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strstr@plt>
test   %rax,%rax
je     11a2 <af_str2fmt+0x92>
or     $0x40,%ebp
mov    %ebp,%eax
add    $0x8,%rsp
pop    %rbx
pop    %rbp
ret
lea    0xe6f(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strstr@plt>
test   %rax,%rax
jne    11ca <af_str2fmt+0xba>
lea    0xe60(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strstr@plt>
test   %rax,%rax
je     11d2 <af_str2fmt+0xc2>
or     $0x80,%ebp
jmp    1199 <af_str2fmt+0x89>
lea    0xe49(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strstr@plt>
test   %rax,%rax
jne    11fa <af_str2fmt+0xea>
lea    0xe39(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strstr@plt>
test   %rax,%rax
je     1202 <af_str2fmt+0xf2>
or     $0x108,%ebp
jmp    1199 <af_str2fmt+0x89>
lea    0xe21(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strstr@plt>
test   %rax,%rax
jne    122a <af_str2fmt+0x11a>
lea    0xe13(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strstr@plt>
test   %rax,%rax
je     1235 <af_str2fmt+0x125>
or     $0xc0,%ebp
jmp    1199 <af_str2fmt+0x89>
lea    0xdfa(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strstr@plt>
test   %rax,%rax
jne    125d <af_str2fmt+0x14d>
lea    0xdef(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strstr@plt>
test   %rax,%rax
je     1268 <af_str2fmt+0x158>
or     $0x188,%ebp
jmp    1199 <af_str2fmt+0x89>
lea    0xdd9(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strstr@plt>
test   %rax,%rax
jne    1290 <af_str2fmt+0x180>
lea    0xdce(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strstr@plt>
test   %rax,%rax
je     129b <af_str2fmt+0x18b>
or     $0x140,%ebp
jmp    1199 <af_str2fmt+0x89>
lea    0xdb8(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strstr@plt>
test   %rax,%rax
jne    12c3 <af_str2fmt+0x1b3>
lea    0xdaa(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strstr@plt>
test   %rax,%rax
je     12cb <af_str2fmt+0x1bb>
or     $0x4,%ebp
jmp    1199 <af_str2fmt+0x89>
lea    0xd94(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strstr@plt>
test   %rax,%rax
jne    12f7 <af_str2fmt+0x1e7>
lea    0xd89(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strstr@plt>
test   %rax,%rax
je     1199 <af_str2fmt+0x89>
or     $0x2,%ebp
jmp    1199 <af_str2fmt+0x89>

LLVM IR (-O0):
@.str = [3 x i8] c"be\00"
@.str.1 = [3 x i8] c"BE\00"
@.str.2 = [3 x i8] c"le\00"
@.str.3 = [3 x i8] c"LE\00"
@.str.4 = [6 x i8] c"mulaw\00"
@.str.5 = [6 x i8] c"MULAW\00"
@.str.6 = [5 x i8] c"alaw\00"
@.str.7 = [5 x i8] c"ALAW\00"
@.str.8 = [4 x i8] c"ac3\00"
@.str.9 = [4 x i8] c"AC3\00"
@.str.10 = [6 x i8] c"mpeg2\00"
@.str.11 = [6 x i8] c"MPEG2\00"
@.str.12 = [9 x i8] c"iec61937\00"
@.str.13 = [9 x i8] c"IEC61937\00"
@.str.14 = [9 x i8] c"imaadpcm\00"
@.str.15 = [9 x i8] c"IMAADPCM\00"
@.str.16 = [6 x i8] c"float\00"
@.str.17 = [6 x i8] c"FLOAT\00"
@.str.18 = [9 x i8] c"unsigned\00"
@.str.19 = [9 x i8] c"UNSIGNED\00"
define i32 @af_str2fmt(i8* %0) {
%2 = alloca i32
%3 = alloca i8*
%4 = alloca i32
store i8* %0, i8** %3
store i32 0, i32* %4
%5 = load i8*, i8** %3
%6 = call i64 @strstr(i8* %5, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0))
%7 = icmp ne i64 %6, 0
br i1 %7, label %12, label %8
8: ; preds = %1
%9 = load i8*, i8** %3
%10 = call i64 @strstr(i8* %9, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0))
%11 = icmp ne i64 %10, 0
br i1 %11, label %12, label %15
12: ; preds = %8, %1
%13 = load i32, i32* %4
%14 = or i32 %13, 0
store i32 %14, i32* %4
br label %30
15: ; preds = %8
%16 = load i8*, i8** %3
%17 = call i64 @strstr(i8* %16, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0))
%18 = icmp ne i64 %17, 0
br i1 %18, label %23, label %19
19: ; preds = %15
%20 = load i8*, i8** %3
%21 = call i64 @strstr(i8* %20, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0))
%22 = icmp ne i64 %21, 0
br i1 %22, label %23, label %26
23: ; preds = %19, %15
%24 = load i32, i32* %4
%25 = or i32 %24, 1
store i32 %25, i32* %4
br label %29
26: ; preds = %19
%27 = load i32, i32* %4
%28 = or i32 %27, 0
store i32 %28, i32* %4
br label %29
29: ; preds = %26, %23
br label %30
30: ; preds = %29, %12
%31 = load i8*, i8** %3
%32 = call i64 @strstr(i8* %31, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0))
%33 = icmp ne i64 %32, 0
br i1 %33, label %38, label %34
34: ; preds = %30
%35 = load i8*, i8** %3
%36 = call i64 @strstr(i8* %35, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0))
%37 = icmp ne i64 %36, 0
br i1 %37, label %38, label %42
38: ; preds = %34, %30
%39 = load i32, i32* %4
%40 = or i32 %39, 64
store i32 %40, i32* %4
%41 = load i32, i32* %4
store i32 %41, i32* %2
br label %133
42: ; preds = %34
%43 = load i8*, i8** %3
%44 = call i64 @strstr(i8* %43, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0))
%45 = icmp ne i64 %44, 0
br i1 %45, label %50, label %46
46: ; preds = %42
%47 = load i8*, i8** %3
%48 = call i64 @strstr(i8* %47, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0))
%49 = icmp ne i64 %48, 0
br i1 %49, label %50, label %54
50: ; preds = %46, %42
%51 = load i32, i32* %4
%52 = or i32 %51, 128
store i32 %52, i32* %4
%53 = load i32, i32* %4
store i32 %53, i32* %2
br label %133
54: ; preds = %46
%55 = load i8*, i8** %3
%56 = call i64 @strstr(i8* %55, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.8, i64 0, i64 0))
%57 = icmp ne i64 %56, 0
br i1 %57, label %62, label %58
58: ; preds = %54
%59 = load i8*, i8** %3
%60 = call i64 @strstr(i8* %59, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.9, i64 0, i64 0))
%61 = icmp ne i64 %60, 0
br i1 %61, label %62, label %66
62: ; preds = %58, %54
%63 = load i32, i32* %4
%64 = or i32 %63, 264
store i32 %64, i32* %4
%65 = load i32, i32* %4
store i32 %65, i32* %2
br label %133
66: ; preds = %58
%67 = load i8*, i8** %3
%68 = call i64 @strstr(i8* %67, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.10, i64 0, i64 0))
%69 = icmp ne i64 %68, 0
br i1 %69, label %74, label %70
70: ; preds = %66
%71 = load i8*, i8** %3
%72 = call i64 @strstr(i8* %71, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.11, i64 0, i64 0))
%73 = icmp ne i64 %72, 0
br i1 %73, label %74, label %78
74: ; preds = %70, %66
%75 = load i32, i32* %4
%76 = or i32 %75, 192
store i32 %76, i32* %4
%77 = load i32, i32* %4
store i32 %77, i32* %2
br label %133
78: ; preds = %70
%79 = load i8*, i8** %3
%80 = call i64 @strstr(i8* %79, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.12, i64 0, i64 0))
%81 = icmp ne i64 %80, 0
br i1 %81, label %86, label %82
82: ; preds = %78
%83 = load i8*, i8** %3
%84 = call i64 @strstr(i8* %83, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.13, i64 0, i64 0))
%85 = icmp ne i64 %84, 0
br i1 %85, label %86, label %90
86: ; preds = %82, %78
%87 = load i32, i32* %4
%88 = or i32 %87, 392
store i32 %88, i32* %4
%89 = load i32, i32* %4
store i32 %89, i32* %2
br label %133
90: ; preds = %82
%91 = load i8*, i8** %3
%92 = call i64 @strstr(i8* %91, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.14, i64 0, i64 0))
%93 = icmp ne i64 %92, 0
br i1 %93, label %98, label %94
94: ; preds = %90
%95 = load i8*, i8** %3
%96 = call i64 @strstr(i8* %95, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.15, i64 0, i64 0))
%97 = icmp ne i64 %96, 0
br i1 %97, label %98, label %102
98: ; preds = %94, %90
%99 = load i32, i32* %4
%100 = or i32 %99, 320
store i32 %100, i32* %4
%101 = load i32, i32* %4
store i32 %101, i32* %2
br label %133
102: ; preds = %94
%103 = load i8*, i8** %3
%104 = call i64 @strstr(i8* %103, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.16, i64 0, i64 0))
%105 = icmp ne i64 %104, 0
br i1 %105, label %110, label %106
106: ; preds = %102
%107 = load i8*, i8** %3
%108 = call i64 @strstr(i8* %107, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.17, i64 0, i64 0))
%109 = icmp ne i64 %108, 0
br i1 %109, label %110, label %114
110: ; preds = %106, %102
%111 = load i32, i32* %4
%112 = or i32 %111, 4
store i32 %112, i32* %4
%113 = load i32, i32* %4
store i32 %113, i32* %2
br label %133
114: ; preds = %106
%115 = load i32, i32* %4
%116 = or i32 %115, 0
store i32 %116, i32* %4
br label %117
117: ; preds = %114
%118 = load i8*, i8** %3
%119 = call i64 @strstr(i8* %118, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.18, i64 0, i64 0))
%120 = icmp ne i64 %119, 0
br i1 %120, label %125, label %121
121: ; preds = %117
%122 = load i8*, i8** %3
%123 = call i64 @strstr(i8* %122, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.19, i64 0, i64 0))
%124 = icmp ne i64 %123, 0
br i1 %124, label %125, label %128
125: ; preds = %121, %117
%126 = load i32, i32* %4
%127 = or i32 %126, 2
store i32 %127, i32* %4
br label %131
128: ; preds = %121
%129 = load i32, i32* %4
%130 = or i32 %129, 0
store i32 %130, i32* %4
br label %131
131: ; preds = %128, %125
%132 = load i32, i32* %4
store i32 %132, i32* %2
br label %133
133: ; preds = %131, %110, %98, %86, %74, %62, %50, %38
%134 = load i32, i32* %2
ret i32 %134
}

LLVM IR (-O2):
@.str = [3 x i8] c"be\00"
@.str.1 = [3 x i8] c"BE\00"
@.str.2 = [3 x i8] c"le\00"
@.str.3 = [3 x i8] c"LE\00"
@.str.4 = [6 x i8] c"mulaw\00"
@.str.5 = [6 x i8] c"MULAW\00"
@.str.6 = [5 x i8] c"alaw\00"
@.str.7 = [5 x i8] c"ALAW\00"
@.str.8 = [4 x i8] c"ac3\00"
@.str.9 = [4 x i8] c"AC3\00"
@.str.10 = [6 x i8] c"mpeg2\00"
@.str.11 = [6 x i8] c"MPEG2\00"
@.str.12 = [9 x i8] c"iec61937\00"
@.str.13 = [9 x i8] c"IEC61937\00"
@.str.14 = [9 x i8] c"imaadpcm\00"
@.str.15 = [9 x i8] c"IMAADPCM\00"
@.str.16 = [6 x i8] c"float\00"
@.str.17 = [6 x i8] c"FLOAT\00"
@.str.18 = [9 x i8] c"unsigned\00"
@.str.19 = [9 x i8] c"UNSIGNED\00"
define i32 @af_str2fmt(i8* %0) {
%2 = tail call i64 @strstr(i8* %0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0))
%3 = icmp eq i64 %2, 0
br i1 %3, label %4, label %14
4: ; preds = %1
%5 = tail call i64 @strstr(i8* %0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0))
%6 = icmp eq i64 %5, 0
br i1 %6, label %7, label %14
7: ; preds = %4
%8 = tail call i64 @strstr(i8* %0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0))
%9 = icmp eq i64 %8, 0
br i1 %9, label %10, label %14
10: ; preds = %7
%11 = tail call i64 @strstr(i8* %0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0))
%12 = icmp ne i64 %11, 0
%13 = zext i1 %12 to i32
br label %14
14: ; preds = %10, %7, %1, %4
%15 = phi i32 [ 0, %4 ], [ 0, %1 ], [ 1, %7 ], [ %13, %10 ]
%16 = tail call i64 @strstr(i8* %0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0))
%17 = icmp eq i64 %16, 0
br i1 %17, label %18, label %21
18: ; preds = %14
%19 = tail call i64 @strstr(i8* %0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0))
%20 = icmp eq i64 %19, 0
br i1 %20, label %23, label %21
21: ; preds = %18, %14
%22 = or i32 %15, 64
br label %79
23: ; preds = %18
%24 = tail call i64 @strstr(i8* %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0))
%25 = icmp eq i64 %24, 0
br i1 %25, label %26, label %29
26: ; preds = %23
%27 = tail call i64 @strstr(i8* %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0))
%28 = icmp eq i64 %27, 0
br i1 %28, label %31, label %29
29: ; preds = %26, %23
%30 = or i32 %15, 128
br label %79
31: ; preds = %26
%32 = tail call i64 @strstr(i8* %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.8, i64 0, i64 0))
%33 = icmp eq i64 %32, 0
br i1 %33, label %34, label %37
34: ; preds = %31
%35 = tail call i64 @strstr(i8* %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.9, i64 0, i64 0))
%36 = icmp eq i64 %35, 0
br i1 %36, label %39, label %37
37: ; preds = %34, %31
%38 = or i32 %15, 264
br label %79
39: ; preds = %34
%40 = tail call i64 @strstr(i8* %0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.10, i64 0, i64 0))
%41 = icmp eq i64 %40, 0
br i1 %41, label %42, label %45
42: ; preds = %39
%43 = tail call i64 @strstr(i8* %0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.11, i64 0, i64 0))
%44 = icmp eq i64 %43, 0
br i1 %44, label %47, label %45
45: ; preds = %42, %39
%46 = or i32 %15, 192
br label %79
47: ; preds = %42
%48 = tail call i64 @strstr(i8* %0, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.12, i64 0, i64 0))
%49 = icmp eq i64 %48, 0
br i1 %49, label %50, label %53
50: ; preds = %47
%51 = tail call i64 @strstr(i8* %0, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.13, i64 0, i64 0))
%52 = icmp eq i64 %51, 0
br i1 %52, label %55, label %53
53: ; preds = %50, %47
%54 = or i32 %15, 392
br label %79
55: ; preds = %50
%56 = tail call i64 @strstr(i8* %0, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.14, i64 0, i64 0))
%57 = icmp eq i64 %56, 0
br i1 %57, label %58, label %61
58: ; preds = %55
%59 = tail call i64 @strstr(i8* %0, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.15, i64 0, i64 0))
%60 = icmp eq i64 %59, 0
br i1 %60, label %63, label %61
61: ; preds = %58, %55
%62 = or i32 %15, 320
br label %79
63: ; preds = %58
%64 = tail call i64 @strstr(i8* %0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.16, i64 0, i64 0))
%65 = icmp eq i64 %64, 0
br i1 %65, label %66, label %69
66: ; preds = %63
%67 = tail call i64 @strstr(i8* %0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.17, i64 0, i64 0))
%68 = icmp eq i64 %67, 0
br i1 %68, label %71, label %69
69: ; preds = %66, %63
%70 = or i32 %15, 4
br label %79
71: ; preds = %66
%72 = tail call i64 @strstr(i8* %0, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.18, i64 0, i64 0))
%73 = icmp eq i64 %72, 0
br i1 %73, label %74, label %77
74: ; preds = %71
%75 = tail call i64 @strstr(i8* %0, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.19, i64 0, i64 0))
%76 = icmp eq i64 %75, 0
br i1 %76, label %79, label %77
77: ; preds = %74, %71
%78 = or i32 %15, 2
br label %79
79: ; preds = %77, %74, %69, %61, %53, %45, %37, %29, %21
%80 = phi i32 [ %22, %21 ], [ %30, %29 ], [ %38, %37 ], [ %46, %45 ], [ %54, %53 ], [ %62, %61 ], [ %70, %69 ], [ %78, %77 ], [ %15, %74 ]
ret i32 %80
}