#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*/ fprintf(int /*<<< orphan*/, char *, char *);
int /*<<< orphan*/ printf(char *, char *);
char *rindex(char *, char);
int /*<<< orphan*/ stderr;
scalar_t__ strcmp(char *, char *);
int main(int argc, char **argv) {
  int len;
  char *cp;
  if (argc < 4) {
    fprintf(stderr,
            "Usage: %s <name of test> <cycle count for short test> <cycle "
            "count for long test>\n",
            argv[0]);
    return -1;
  }
  cp = rindex(argv[1], '/');
  if (cp == (char *)0)
    cp = argv[1];
  else
    cp++;
  if ((strcmp(cp, "test_tlb_exception_fill.log") == 0) ||
      (strcmp(cp, "test_tlb_exception_fill_cached.log") == 0) ||
      (strcmp(cp, "test_tlb_exception_fill_multi.log") == 0) ||
      (strcmp(cp, "test_tlb_exception_fill_cachedmulti.log") == 0) ||
      (strcmp(cp, "test_cp2_tlb_exception_fill.log") == 0) ||
      (strcmp(cp, "test_cp2_tlb_exception_fill_cached.log") == 0) ||
      (strcmp(cp, "test_cp2_tlb_exception_fill_multi.log") == 0) ||
      (strcmp(cp, "test_cp2_tlb_exception_fill_cachedmulti.log") == 0) ||
      (strcmp(cp, "test_mc_llsc.log") == 0) ||
      (strcmp(cp, "test_mc_llsc_cached.log") == 0) ||
      (strcmp(cp, "test_mc_llsc_multi.log") == 0) ||
      (strcmp(cp, "test_mc_llsc_cachedmulti.log") == 0) ||
      (strcmp(cp, "test_mc_llsc_alias.log") == 0) ||
      (strcmp(cp, "test_mc_llsc_alias_cached.log") == 0) ||
      (strcmp(cp, "test_mc_llsc_alias_multi.log") == 0) ||
      (strcmp(cp, "test_mc_llsc_alias_cachedmulti.log") == 0) ||
      (strcmp(cp, "test_mc_tag_coherence.log") == 0) ||
      (strcmp(cp, "test_mc_tag_coherence_cached.log") == 0) ||
      (strcmp(cp, "test_mc_tag_coherence_multi.log") == 0) ||
      (strcmp(cp, "test_mc_tag_coherence_cachedmulti.log") == 0))
    printf("%s\n", argv[3]);
  else
    printf("%s\n", argv[2]);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
cmpl   $0x4,-0x8(%rbp)
jge    1188 <main+0x48>
mov    0x2e79(%rip),%rax
mov    (%rax),%edi
mov    -0x10(%rbp),%rax
mov    (%rax),%rdx
lea    0xe89(%rip),%rsi
call   1050 <fprintf@plt>
movl   $0xffffffff,-0x4(%rbp)
jmp    1402 <main+0x2c2>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
mov    $0x2f,%esi
call   1060 <rindex@plt>
mov    %rax,-0x20(%rbp)
cmpq   $0x0,-0x20(%rbp)
jne    11ba <main+0x7a>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rax
mov    %rax,-0x20(%rbp)
jmp    11c6 <main+0x86>
mov    -0x20(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x20(%rbp)
mov    -0x20(%rbp),%rdi
lea    0xe82(%rip),%rsi
call   1040 <strcmp@plt>
cmp    $0x0,%rax
je     13ce <main+0x28e>
mov    -0x20(%rbp),%rdi
lea    0xe84(%rip),%rsi
call   1040 <strcmp@plt>
cmp    $0x0,%rax
je     13ce <main+0x28e>
mov    -0x20(%rbp),%rdi
lea    0xe8d(%rip),%rsi
call   1040 <strcmp@plt>
cmp    $0x0,%rax
je     13ce <main+0x28e>
mov    -0x20(%rbp),%rdi
lea    0xe95(%rip),%rsi
call   1040 <strcmp@plt>
cmp    $0x0,%rax
je     13ce <main+0x28e>
mov    -0x20(%rbp),%rdi
lea    0xea3(%rip),%rsi
call   1040 <strcmp@plt>
cmp    $0x0,%rax
je     13ce <main+0x28e>
mov    -0x20(%rbp),%rdi
lea    0xea9(%rip),%rsi
call   1040 <strcmp@plt>
cmp    $0x0,%rax
je     13ce <main+0x28e>
mov    -0x20(%rbp),%rdi
lea    0xeb6(%rip),%rsi
call   1040 <strcmp@plt>
cmp    $0x0,%rax
je     13ce <main+0x28e>
mov    -0x20(%rbp),%rdi
lea    0xec2(%rip),%rsi
call   1040 <strcmp@plt>
cmp    $0x0,%rax
je     13ce <main+0x28e>
mov    -0x20(%rbp),%rdi
lea    0xed4(%rip),%rsi
call   1040 <strcmp@plt>
cmp    $0x0,%rax
je     13ce <main+0x28e>
mov    -0x20(%rbp),%rdi
lea    0xecb(%rip),%rsi
call   1040 <strcmp@plt>
cmp    $0x0,%rax
je     13ce <main+0x28e>
mov    -0x20(%rbp),%rdi
lea    0xec9(%rip),%rsi
call   1040 <strcmp@plt>
cmp    $0x0,%rax
je     13ce <main+0x28e>
mov    -0x20(%rbp),%rdi
lea    0xec6(%rip),%rsi
call   1040 <strcmp@plt>
cmp    $0x0,%rax
je     13ce <main+0x28e>
mov    -0x20(%rbp),%rdi
lea    0xec9(%rip),%rsi
call   1040 <strcmp@plt>
cmp    $0x0,%rax
je     13ce <main+0x28e>
mov    -0x20(%rbp),%rdi
lea    0xec6(%rip),%rsi
call   1040 <strcmp@plt>
cmp    $0x0,%rax
je     13ce <main+0x28e>
mov    -0x20(%rbp),%rdi
lea    0xeca(%rip),%rsi
call   1040 <strcmp@plt>
cmp    $0x0,%rax
je     13ce <main+0x28e>
mov    -0x20(%rbp),%rdi
lea    0xecd(%rip),%rsi
call   1040 <strcmp@plt>
cmp    $0x0,%rax
je     13ce <main+0x28e>
mov    -0x20(%rbp),%rdi
lea    0xed6(%rip),%rsi
call   1040 <strcmp@plt>
cmp    $0x0,%rax
je     13ce <main+0x28e>
mov    -0x20(%rbp),%rdi
lea    0xed6(%rip),%rsi
call   1040 <strcmp@plt>
cmp    $0x0,%rax
je     13ce <main+0x28e>
mov    -0x20(%rbp),%rdi
lea    0xedd(%rip),%rsi
call   1040 <strcmp@plt>
cmp    $0x0,%rax
je     13ce <main+0x28e>
mov    -0x20(%rbp),%rdi
lea    0xee3(%rip),%rsi
call   1040 <strcmp@plt>
cmp    $0x0,%rax
jne    13e7 <main+0x2a7>
mov    -0x10(%rbp),%rax
mov    0x18(%rax),%rsi
lea    0xeeb(%rip),%rdi
call   1030 <printf@plt>
jmp    13fb <main+0x2bb>
mov    -0x10(%rbp),%rax
mov    0x10(%rax),%rsi
lea    0xed2(%rip),%rdi
call   1030 <printf@plt>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r14
push   %rbx
push   %rax
mov    %rsi,%r14
cmp    $0x3,%edi
jg     116e <main+0x2e>
mov    0x2e8d(%rip),%rax
mov    (%rax),%edi
mov    (%r14),%rdx
lea    0xea1(%rip),%rsi
call   1050 <fprintf@plt>
mov    $0xffffffff,%eax
jmp    136a <main+0x22a>
mov    0x8(%r14),%rdi
mov    $0x2f,%esi
call   1060 <rindex@plt>
test   %rax,%rax
je     118a <main+0x4a>
mov    %rax,%rbx
add    $0x1,%rbx
jmp    118e <main+0x4e>
mov    0x8(%r14),%rbx
lea    0xebe(%rip),%rsi
mov    %rbx,%rdi
call   1040 <strcmp@plt>
test   %rax,%rax
je     1358 <main+0x218>
lea    0xec2(%rip),%rsi
mov    %rbx,%rdi
call   1040 <strcmp@plt>
test   %rax,%rax
je     1358 <main+0x218>
lea    0xecd(%rip),%rsi
mov    %rbx,%rdi
call   1040 <strcmp@plt>
test   %rax,%rax
je     1358 <main+0x218>
lea    0xed7(%rip),%rsi
mov    %rbx,%rdi
call   1040 <strcmp@plt>
test   %rax,%rax
je     1358 <main+0x218>
lea    0xee7(%rip),%rsi
mov    %rbx,%rdi
call   1040 <strcmp@plt>
test   %rax,%rax
je     1358 <main+0x218>
lea    0xeef(%rip),%rsi
mov    %rbx,%rdi
call   1040 <strcmp@plt>
test   %rax,%rax
je     1358 <main+0x218>
lea    0xefe(%rip),%rsi
mov    %rbx,%rdi
call   1040 <strcmp@plt>
test   %rax,%rax
je     1358 <main+0x218>
lea    0xf0c(%rip),%rsi
mov    %rbx,%rdi
call   1040 <strcmp@plt>
test   %rax,%rax
je     1358 <main+0x218>
lea    0xf20(%rip),%rsi
mov    %rbx,%rdi
call   1040 <strcmp@plt>
test   %rax,%rax
je     1358 <main+0x218>
lea    0xf19(%rip),%rsi
mov    %rbx,%rdi
call   1040 <strcmp@plt>
test   %rax,%rax
je     1358 <main+0x218>
lea    0xf19(%rip),%rsi
mov    %rbx,%rdi
call   1040 <strcmp@plt>
test   %rax,%rax
je     1358 <main+0x218>
lea    0xf18(%rip),%rsi
mov    %rbx,%rdi
call   1040 <strcmp@plt>
test   %rax,%rax
je     1358 <main+0x218>
lea    0xf1d(%rip),%rsi
mov    %rbx,%rdi
call   1040 <strcmp@plt>
test   %rax,%rax
je     1358 <main+0x218>
lea    0xf1c(%rip),%rsi
mov    %rbx,%rdi
call   1040 <strcmp@plt>
test   %rax,%rax
je     1358 <main+0x218>
lea    0xf26(%rip),%rsi
mov    %rbx,%rdi
call   1040 <strcmp@plt>
test   %rax,%rax
je     1358 <main+0x218>
lea    0xf2f(%rip),%rsi
mov    %rbx,%rdi
call   1040 <strcmp@plt>
test   %rax,%rax
je     1358 <main+0x218>
lea    0xf3e(%rip),%rsi
mov    %rbx,%rdi
call   1040 <strcmp@plt>
test   %rax,%rax
je     1358 <main+0x218>
lea    0xf44(%rip),%rsi
mov    %rbx,%rdi
call   1040 <strcmp@plt>
test   %rax,%rax
je     1358 <main+0x218>
lea    0xf51(%rip),%rsi
mov    %rbx,%rdi
call   1040 <strcmp@plt>
test   %rax,%rax
je     1358 <main+0x218>
lea    0xf5d(%rip),%rsi
mov    %rbx,%rdi
call   1040 <strcmp@plt>
test   %rax,%rax
je     1358 <main+0x218>
mov    0x10(%r14),%rsi
jmp    135c <main+0x21c>
mov    0x18(%r14),%rsi
lea    0xf65(%rip),%rdi
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r14
ret

LLVM IR (-O0):
@stderr = global i32 0
@.str = [83 x i8] c"Usage: %s <name of test> <cycle count for short test> <cycle count for long test>\0A\00"
@.str.1 = [28 x i8] c"test_tlb_exception_fill.log\00"
@.str.2 = [35 x i8] c"test_tlb_exception_fill_cached.log\00"
@.str.3 = [34 x i8] c"test_tlb_exception_fill_multi.log\00"
@.str.4 = [40 x i8] c"test_tlb_exception_fill_cachedmulti.log\00"
@.str.5 = [32 x i8] c"test_cp2_tlb_exception_fill.log\00"
@.str.6 = [39 x i8] c"test_cp2_tlb_exception_fill_cached.log\00"
@.str.7 = [38 x i8] c"test_cp2_tlb_exception_fill_multi.log\00"
@.str.8 = [44 x i8] c"test_cp2_tlb_exception_fill_cachedmulti.log\00"
@.str.9 = [17 x i8] c"test_mc_llsc.log\00"
@.str.10 = [24 x i8] c"test_mc_llsc_cached.log\00"
@.str.11 = [23 x i8] c"test_mc_llsc_multi.log\00"
@.str.12 = [29 x i8] c"test_mc_llsc_cachedmulti.log\00"
@.str.13 = [23 x i8] c"test_mc_llsc_alias.log\00"
@.str.14 = [30 x i8] c"test_mc_llsc_alias_cached.log\00"
@.str.15 = [29 x i8] c"test_mc_llsc_alias_multi.log\00"
@.str.16 = [35 x i8] c"test_mc_llsc_alias_cachedmulti.log\00"
@.str.17 = [26 x i8] c"test_mc_tag_coherence.log\00"
@.str.18 = [33 x i8] c"test_mc_tag_coherence_cached.log\00"
@.str.19 = [32 x i8] c"test_mc_tag_coherence_multi.log\00"
@.str.20 = [38 x i8] c"test_mc_tag_coherence_cachedmulti.log\00"
@.str.21 = [4 x i8] c"%s\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i32
%7 = alloca i8*
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%8 = load i32, i32* %4
%9 = icmp slt i32 %8, 4
br i1 %9, label %10, label %16
10: ; preds = %2
%11 = load i32, i32* @stderr
%12 = load i8**, i8*** %5
%13 = getelementptr inbounds i8*, i8** %12, i64 0
%14 = load i8*, i8** %13
%15 = call i32 @fprintf(i32 %11, i8* getelementptr inbounds ([83 x i8], [83 x i8]* @.str, i64 0, i64 0), i8* %14)
store i32 -1, i32* %3
br label %121
16: ; preds = %2
%17 = load i8**, i8*** %5
%18 = getelementptr inbounds i8*, i8** %17, i64 1
%19 = load i8*, i8** %18
%20 = call i8* @rindex(i8* %19, i8 signext 47)
store i8* %20, i8** %7
%21 = load i8*, i8** %7
%22 = icmp eq i8* %21, null
br i1 %22, label %23, label %27
23: ; preds = %16
%24 = load i8**, i8*** %5
%25 = getelementptr inbounds i8*, i8** %24, i64 1
%26 = load i8*, i8** %25
store i8* %26, i8** %7
br label %30
27: ; preds = %16
%28 = load i8*, i8** %7
%29 = getelementptr inbounds i8, i8* %28, i32 1
store i8* %29, i8** %7
br label %30
30: ; preds = %27, %23
%31 = load i8*, i8** %7
%32 = call i64 @strcmp(i8* %31, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.1, i64 0, i64 0))
%33 = icmp eq i64 %32, 0
br i1 %33, label %110, label %34
34: ; preds = %30
%35 = load i8*, i8** %7
%36 = call i64 @strcmp(i8* %35, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.2, i64 0, i64 0))
%37 = icmp eq i64 %36, 0
br i1 %37, label %110, label %38
38: ; preds = %34
%39 = load i8*, i8** %7
%40 = call i64 @strcmp(i8* %39, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.3, i64 0, i64 0))
%41 = icmp eq i64 %40, 0
br i1 %41, label %110, label %42
42: ; preds = %38
%43 = load i8*, i8** %7
%44 = call i64 @strcmp(i8* %43, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.4, i64 0, i64 0))
%45 = icmp eq i64 %44, 0
br i1 %45, label %110, label %46
46: ; preds = %42
%47 = load i8*, i8** %7
%48 = call i64 @strcmp(i8* %47, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.5, i64 0, i64 0))
%49 = icmp eq i64 %48, 0
br i1 %49, label %110, label %50
50: ; preds = %46
%51 = load i8*, i8** %7
%52 = call i64 @strcmp(i8* %51, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.6, i64 0, i64 0))
%53 = icmp eq i64 %52, 0
br i1 %53, label %110, label %54
54: ; preds = %50
%55 = load i8*, i8** %7
%56 = call i64 @strcmp(i8* %55, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.7, i64 0, i64 0))
%57 = icmp eq i64 %56, 0
br i1 %57, label %110, label %58
58: ; preds = %54
%59 = load i8*, i8** %7
%60 = call i64 @strcmp(i8* %59, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.8, i64 0, i64 0))
%61 = icmp eq i64 %60, 0
br i1 %61, label %110, label %62
62: ; preds = %58
%63 = load i8*, i8** %7
%64 = call i64 @strcmp(i8* %63, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.9, i64 0, i64 0))
%65 = icmp eq i64 %64, 0
br i1 %65, label %110, label %66
66: ; preds = %62
%67 = load i8*, i8** %7
%68 = call i64 @strcmp(i8* %67, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.10, i64 0, i64 0))
%69 = icmp eq i64 %68, 0
br i1 %69, label %110, label %70
70: ; preds = %66
%71 = load i8*, i8** %7
%72 = call i64 @strcmp(i8* %71, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.11, i64 0, i64 0))
%73 = icmp eq i64 %72, 0
br i1 %73, label %110, label %74
74: ; preds = %70
%75 = load i8*, i8** %7
%76 = call i64 @strcmp(i8* %75, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.12, i64 0, i64 0))
%77 = icmp eq i64 %76, 0
br i1 %77, label %110, label %78
78: ; preds = %74
%79 = load i8*, i8** %7
%80 = call i64 @strcmp(i8* %79, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.13, i64 0, i64 0))
%81 = icmp eq i64 %80, 0
br i1 %81, label %110, label %82
82: ; preds = %78
%83 = load i8*, i8** %7
%84 = call i64 @strcmp(i8* %83, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.14, i64 0, i64 0))
%85 = icmp eq i64 %84, 0
br i1 %85, label %110, label %86
86: ; preds = %82
%87 = load i8*, i8** %7
%88 = call i64 @strcmp(i8* %87, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.15, i64 0, i64 0))
%89 = icmp eq i64 %88, 0
br i1 %89, label %110, label %90
90: ; preds = %86
%91 = load i8*, i8** %7
%92 = call i64 @strcmp(i8* %91, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.16, i64 0, i64 0))
%93 = icmp eq i64 %92, 0
br i1 %93, label %110, label %94
94: ; preds = %90
%95 = load i8*, i8** %7
%96 = call i64 @strcmp(i8* %95, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.17, i64 0, i64 0))
%97 = icmp eq i64 %96, 0
br i1 %97, label %110, label %98
98: ; preds = %94
%99 = load i8*, i8** %7
%100 = call i64 @strcmp(i8* %99, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.18, i64 0, i64 0))
%101 = icmp eq i64 %100, 0
br i1 %101, label %110, label %102
102: ; preds = %98
%103 = load i8*, i8** %7
%104 = call i64 @strcmp(i8* %103, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.19, i64 0, i64 0))
%105 = icmp eq i64 %104, 0
br i1 %105, label %110, label %106
106: ; preds = %102
%107 = load i8*, i8** %7
%108 = call i64 @strcmp(i8* %107, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.20, i64 0, i64 0))
%109 = icmp eq i64 %108, 0
br i1 %109, label %110, label %115
110: ; preds = %106, %102, %98, %94, %90, %86, %82, %78, %74, %70, %66, %62, %58, %54, %50, %46, %42, %38, %34, %30
%111 = load i8**, i8*** %5
%112 = getelementptr inbounds i8*, i8** %111, i64 3
%113 = load i8*, i8** %112
%114 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.21, i64 0, i64 0), i8* %113)
br label %120
115: ; preds = %106
%116 = load i8**, i8*** %5
%117 = getelementptr inbounds i8*, i8** %116, i64 2
%118 = load i8*, i8** %117
%119 = call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.21, i64 0, i64 0), i8* %118)
br label %120
120: ; preds = %115, %110
store i32 0, i32* %3
br label %121
121: ; preds = %120, %10
%122 = load i32, i32* %3
ret i32 %122
}

LLVM IR (-O2):
@stderr = global i32 0
@.str = [83 x i8] c"Usage: %s <name of test> <cycle count for short test> <cycle count for long test>\0A\00"
@.str.1 = [28 x i8] c"test_tlb_exception_fill.log\00"
@.str.2 = [35 x i8] c"test_tlb_exception_fill_cached.log\00"
@.str.3 = [34 x i8] c"test_tlb_exception_fill_multi.log\00"
@.str.4 = [40 x i8] c"test_tlb_exception_fill_cachedmulti.log\00"
@.str.5 = [32 x i8] c"test_cp2_tlb_exception_fill.log\00"
@.str.6 = [39 x i8] c"test_cp2_tlb_exception_fill_cached.log\00"
@.str.7 = [38 x i8] c"test_cp2_tlb_exception_fill_multi.log\00"
@.str.8 = [44 x i8] c"test_cp2_tlb_exception_fill_cachedmulti.log\00"
@.str.9 = [17 x i8] c"test_mc_llsc.log\00"
@.str.10 = [24 x i8] c"test_mc_llsc_cached.log\00"
@.str.11 = [23 x i8] c"test_mc_llsc_multi.log\00"
@.str.12 = [29 x i8] c"test_mc_llsc_cachedmulti.log\00"
@.str.13 = [23 x i8] c"test_mc_llsc_alias.log\00"
@.str.14 = [30 x i8] c"test_mc_llsc_alias_cached.log\00"
@.str.15 = [29 x i8] c"test_mc_llsc_alias_multi.log\00"
@.str.16 = [35 x i8] c"test_mc_llsc_alias_cachedmulti.log\00"
@.str.17 = [26 x i8] c"test_mc_tag_coherence.log\00"
@.str.18 = [33 x i8] c"test_mc_tag_coherence_cached.log\00"
@.str.19 = [32 x i8] c"test_mc_tag_coherence_multi.log\00"
@.str.20 = [38 x i8] c"test_mc_tag_coherence_cachedmulti.log\00"
@.str.21 = [4 x i8] c"%s\0A\00"
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = icmp slt i32 %0, 4
br i1 %3, label %4, label %8
4: ; preds = %2
%5 = load i32, i32* @stderr
%6 = load i8*, i8** %1
%7 = tail call i32 @fprintf(i32 %5, i8* getelementptr inbounds ([83 x i8], [83 x i8]* @.str, i64 0, i64 0), i8* %6)
br label %86
8: ; preds = %2
%9 = getelementptr inbounds i8*, i8** %1, i64 1
%10 = load i8*, i8** %9
%11 = tail call i8* @rindex(i8* %10, i8 signext 47)
%12 = icmp eq i8* %11, null
br i1 %12, label %13, label %15
13: ; preds = %8
%14 = load i8*, i8** %9
br label %17
15: ; preds = %8
%16 = getelementptr inbounds i8, i8* %11, i64 1
br label %17
17: ; preds = %15, %13
%18 = phi i8* [ %14, %13 ], [ %16, %15 ]
%19 = tail call i64 @strcmp(i8* %18, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.1, i64 0, i64 0))
%20 = icmp eq i64 %19, 0
br i1 %20, label %78, label %21
21: ; preds = %17
%22 = tail call i64 @strcmp(i8* %18, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.2, i64 0, i64 0))
%23 = icmp eq i64 %22, 0
br i1 %23, label %78, label %24
24: ; preds = %21
%25 = tail call i64 @strcmp(i8* %18, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.3, i64 0, i64 0))
%26 = icmp eq i64 %25, 0
br i1 %26, label %78, label %27
27: ; preds = %24
%28 = tail call i64 @strcmp(i8* %18, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.4, i64 0, i64 0))
%29 = icmp eq i64 %28, 0
br i1 %29, label %78, label %30
30: ; preds = %27
%31 = tail call i64 @strcmp(i8* %18, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.5, i64 0, i64 0))
%32 = icmp eq i64 %31, 0
br i1 %32, label %78, label %33
33: ; preds = %30
%34 = tail call i64 @strcmp(i8* %18, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.6, i64 0, i64 0))
%35 = icmp eq i64 %34, 0
br i1 %35, label %78, label %36
36: ; preds = %33
%37 = tail call i64 @strcmp(i8* %18, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.7, i64 0, i64 0))
%38 = icmp eq i64 %37, 0
br i1 %38, label %78, label %39
39: ; preds = %36
%40 = tail call i64 @strcmp(i8* %18, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.8, i64 0, i64 0))
%41 = icmp eq i64 %40, 0
br i1 %41, label %78, label %42
42: ; preds = %39
%43 = tail call i64 @strcmp(i8* %18, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.9, i64 0, i64 0))
%44 = icmp eq i64 %43, 0
br i1 %44, label %78, label %45
45: ; preds = %42
%46 = tail call i64 @strcmp(i8* %18, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.10, i64 0, i64 0))
%47 = icmp eq i64 %46, 0
br i1 %47, label %78, label %48
48: ; preds = %45
%49 = tail call i64 @strcmp(i8* %18, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.11, i64 0, i64 0))
%50 = icmp eq i64 %49, 0
br i1 %50, label %78, label %51
51: ; preds = %48
%52 = tail call i64 @strcmp(i8* %18, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.12, i64 0, i64 0))
%53 = icmp eq i64 %52, 0
br i1 %53, label %78, label %54
54: ; preds = %51
%55 = tail call i64 @strcmp(i8* %18, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.13, i64 0, i64 0))
%56 = icmp eq i64 %55, 0
br i1 %56, label %78, label %57
57: ; preds = %54
%58 = tail call i64 @strcmp(i8* %18, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.14, i64 0, i64 0))
%59 = icmp eq i64 %58, 0
br i1 %59, label %78, label %60
60: ; preds = %57
%61 = tail call i64 @strcmp(i8* %18, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.15, i64 0, i64 0))
%62 = icmp eq i64 %61, 0
br i1 %62, label %78, label %63
63: ; preds = %60
%64 = tail call i64 @strcmp(i8* %18, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.16, i64 0, i64 0))
%65 = icmp eq i64 %64, 0
br i1 %65, label %78, label %66
66: ; preds = %63
%67 = tail call i64 @strcmp(i8* %18, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.17, i64 0, i64 0))
%68 = icmp eq i64 %67, 0
br i1 %68, label %78, label %69
69: ; preds = %66
%70 = tail call i64 @strcmp(i8* %18, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.18, i64 0, i64 0))
%71 = icmp eq i64 %70, 0
br i1 %71, label %78, label %72
72: ; preds = %69
%73 = tail call i64 @strcmp(i8* %18, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.19, i64 0, i64 0))
%74 = icmp eq i64 %73, 0
br i1 %74, label %78, label %75
75: ; preds = %72
%76 = tail call i64 @strcmp(i8* %18, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.20, i64 0, i64 0))
%77 = icmp eq i64 %76, 0
br i1 %77, label %78, label %82
78: ; preds = %75, %72, %69, %66, %63, %60, %57, %54, %51, %48, %45, %42, %39, %36, %33, %30, %27, %24, %21, %17
%79 = getelementptr inbounds i8*, i8** %1, i64 3
%80 = load i8*, i8** %79
%81 = tail call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.21, i64 0, i64 0), i8* %80)
br label %86
82: ; preds = %75
%83 = getelementptr inbounds i8*, i8** %1, i64 2
%84 = load i8*, i8** %83
%85 = tail call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.21, i64 0, i64 0), i8* %84)
br label %86
86: ; preds = %78, %82, %4
%87 = phi i32 [ -1, %4 ], [ 0, %82 ], [ 0, %78 ]
ret i32 %87
}