#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*/ remove_files_created(char *, char *);
scalar_t__ strcmp(char *, char *);
int /*<<< orphan*/ strcpy(char *, char *);
void remove_files_created_by_mode(char *mode) {
  char file_name[256] = "";
  char file_extension[32] = "";
  if ((strcmp(mode, "sniffer") == 0) || (strcmp(mode, "all") == 0)) {
    strcpy(file_extension, ".txt");
    strcpy(file_name, "auditory");
    remove_files_created(file_name, file_extension);
    strcpy(file_name, "delay_debug");
    remove_files_created(file_name, file_extension);
    strcpy(file_name, "debug");
    remove_files_created(file_name, file_extension);
    strcpy(file_name, "session");
    remove_files_created(file_name, file_extension);
  }
  if ((strcmp(mode, "justparser") == 0) || (strcmp(mode, "learner") == 0) ||
      (strcmp(mode, "all") == 0)) {
    strcpy(file_extension, ".txt");
    strcpy(file_name, "aud");
    remove_files_created(file_name, file_extension);
  }
  if ((strcmp(mode, "justlearner") == 0) || (strcmp(mode, "learner") == 0) ||
      (strcmp(mode, "all") == 0)) {
    strcpy(file_extension, ".txt");
    strcpy(file_name, "profile");
    remove_files_created(file_name, file_extension);
    strcpy(file_name, "prof_seq");
    remove_files_created(file_name, file_extension);
    strcpy(file_name, "prof_time");
    remove_files_created(file_name, file_extension);
    strcpy(file_name, "prof_seq2");
    remove_files_created(file_name, file_extension);
  }
  if ((strcmp(mode, "detector") == 0) || (strcmp(mode, "all") == 0)) {
    strcpy(file_extension, ".txt");
    strcpy(file_name, "detect_debug");
    remove_files_created(file_name, file_extension);
    strcpy(file_name, "delay_debug");
    remove_files_created(file_name, file_extension);
  }
}


x86 assembly (clang, -O0):
<remove_files_created_by_mode>:
push   %rbp
mov    %rsp,%rbp
sub    $0x130,%rsp
mov    %rdi,-0x8(%rbp)
lea    -0x110(%rbp),%rdi
xor    %esi,%esi
mov    $0x100,%edx
call   1040 <memset@plt>
lea    -0x130(%rbp),%rdi
xor    %esi,%esi
mov    $0x20,%edx
call   1040 <memset@plt>
mov    -0x8(%rbp),%rdi
lea    0xe80(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
je     11a9 <remove_files_created_by_mode+0x69>
mov    -0x8(%rbp),%rdi
lea    0xe6e(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    1254 <remove_files_created_by_mode+0x114>
lea    -0x130(%rbp),%rdi
lea    0xe55(%rip),%rsi
call   1030 <strcpy@plt>
lea    -0x110(%rbp),%rdi
lea    0xe47(%rip),%rsi
call   1030 <strcpy@plt>
lea    -0x110(%rbp),%rdi
lea    -0x130(%rbp),%rsi
call   1060 <remove_files_created@plt>
lea    -0x110(%rbp),%rdi
lea    0xe2a(%rip),%rsi
call   1030 <strcpy@plt>
lea    -0x110(%rbp),%rdi
lea    -0x130(%rbp),%rsi
call   1060 <remove_files_created@plt>
lea    -0x110(%rbp),%rdi
lea    0xe68(%rip),%rsi
call   1030 <strcpy@plt>
lea    -0x110(%rbp),%rdi
lea    -0x130(%rbp),%rsi
call   1060 <remove_files_created@plt>
lea    -0x110(%rbp),%rdi
lea    0xdea(%rip),%rsi
call   1030 <strcpy@plt>
lea    -0x110(%rbp),%rdi
lea    -0x130(%rbp),%rsi
call   1060 <remove_files_created@plt>
mov    -0x8(%rbp),%rdi
lea    0xdcf(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
je     12a2 <remove_files_created_by_mode+0x162>
mov    -0x8(%rbp),%rdi
lea    0xdc8(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
je     12a2 <remove_files_created_by_mode+0x162>
mov    -0x8(%rbp),%rdi
lea    0xd75(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    12db <remove_files_created_by_mode+0x19b>
lea    -0x130(%rbp),%rdi
lea    0xd5c(%rip),%rsi
call   1030 <strcpy@plt>
lea    -0x110(%rbp),%rdi
lea    0xd76(%rip),%rsi
call   1030 <strcpy@plt>
lea    -0x110(%rbp),%rdi
lea    -0x130(%rbp),%rsi
call   1060 <remove_files_created@plt>
mov    -0x8(%rbp),%rdi
lea    0xd57(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
je     1329 <remove_files_created_by_mode+0x1e9>
mov    -0x8(%rbp),%rdi
lea    0xd41(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
je     1329 <remove_files_created_by_mode+0x1e9>
mov    -0x8(%rbp),%rdi
lea    0xcee(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    13d4 <remove_files_created_by_mode+0x294>
lea    -0x130(%rbp),%rdi
lea    0xcd5(%rip),%rsi
call   1030 <strcpy@plt>
lea    -0x110(%rbp),%rdi
lea    0xcff(%rip),%rsi
call   1030 <strcpy@plt>
lea    -0x110(%rbp),%rdi
lea    -0x130(%rbp),%rsi
call   1060 <remove_files_created@plt>
lea    -0x110(%rbp),%rdi
lea    0xce1(%rip),%rsi
call   1030 <strcpy@plt>
lea    -0x110(%rbp),%rdi
lea    -0x130(%rbp),%rsi
call   1060 <remove_files_created@plt>
lea    -0x110(%rbp),%rdi
lea    0xcc4(%rip),%rsi
call   1030 <strcpy@plt>
lea    -0x110(%rbp),%rdi
lea    -0x130(%rbp),%rsi
call   1060 <remove_files_created@plt>
lea    -0x110(%rbp),%rdi
lea    0xca8(%rip),%rsi
call   1030 <strcpy@plt>
lea    -0x110(%rbp),%rdi
lea    -0x130(%rbp),%rsi
call   1060 <remove_files_created@plt>
mov    -0x8(%rbp),%rdi
lea    0xc8f(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
je     1408 <remove_files_created_by_mode+0x2c8>
mov    -0x8(%rbp),%rdi
lea    0xc0f(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    1467 <remove_files_created_by_mode+0x327>
lea    -0x130(%rbp),%rdi
lea    0xbf6(%rip),%rsi
call   1030 <strcpy@plt>
lea    -0x110(%rbp),%rdi
lea    0xc4e(%rip),%rsi
call   1030 <strcpy@plt>
lea    -0x110(%rbp),%rdi
lea    -0x130(%rbp),%rsi
call   1060 <remove_files_created@plt>
lea    -0x110(%rbp),%rdi
lea    0xbcb(%rip),%rsi
call   1030 <strcpy@plt>
lea    -0x110(%rbp),%rdi
lea    -0x130(%rbp),%rsi
call   1060 <remove_files_created@plt>
add    $0x130,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<remove_files_created_by_mode>:
push   %r15
push   %r14
push   %rbx
sub    $0x120,%rsp
mov    %rdi,%r15
xorps  %xmm0,%xmm0
movaps %xmm0,0x110(%rsp)
movaps %xmm0,0x100(%rsp)
movaps %xmm0,0xf0(%rsp)
movaps %xmm0,0xe0(%rsp)
movaps %xmm0,0xd0(%rsp)
movaps %xmm0,0xc0(%rsp)
movaps %xmm0,0xb0(%rsp)
movaps %xmm0,0xa0(%rsp)
movaps %xmm0,0x90(%rsp)
movaps %xmm0,0x80(%rsp)
movaps %xmm0,0x70(%rsp)
movaps %xmm0,0x60(%rsp)
movaps %xmm0,0x50(%rsp)
movaps %xmm0,0x40(%rsp)
movaps %xmm0,0x30(%rsp)
movaps %xmm0,0x20(%rsp)
movaps %xmm0,0x10(%rsp)
movaps %xmm0,(%rsp)
lea    0xe40(%rip),%rsi
call   1040 <strcmp@plt>
test   %rax,%rax
je     11de <remove_files_created_by_mode+0xae>
lea    0xe37(%rip),%rsi
mov    %r15,%rdi
call   1040 <strcmp@plt>
test   %rax,%rax
jne    125d <remove_files_created_by_mode+0x12d>
lea    0xe27(%rip),%rsi
mov    %rsp,%r14
mov    %r14,%rdi
call   1030 <strcpy@plt>
lea    0xe1a(%rip),%rsi
lea    0x20(%rsp),%rbx
mov    %rbx,%rdi
call   1030 <strcpy@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
call   1050 <remove_files_created@plt>
lea    0xe04(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcpy@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
call   1050 <remove_files_created@plt>
lea    0xe4e(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcpy@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
call   1050 <remove_files_created@plt>
lea    0xddc(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcpy@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
call   1050 <remove_files_created@plt>
lea    0xdca(%rip),%rsi
mov    %r15,%rdi
call   1040 <strcmp@plt>
test   %rax,%rax
je     1299 <remove_files_created_by_mode+0x169>
lea    0xdc9(%rip),%rsi
mov    %r15,%rdi
call   1040 <strcmp@plt>
test   %rax,%rax
je     1299 <remove_files_created_by_mode+0x169>
lea    0xd7c(%rip),%rsi
mov    %r15,%rdi
call   1040 <strcmp@plt>
test   %rax,%rax
jne    12ca <remove_files_created_by_mode+0x19a>
lea    0xd6c(%rip),%rsi
mov    %rsp,%r14
mov    %r14,%rdi
call   1030 <strcpy@plt>
lea    0xd87(%rip),%rsi
lea    0x20(%rsp),%rbx
mov    %rbx,%rdi
call   1030 <strcpy@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
call   1050 <remove_files_created@plt>
lea    0xd6c(%rip),%rsi
mov    %r15,%rdi
call   1040 <strcmp@plt>
test   %rax,%rax
je     1306 <remove_files_created_by_mode+0x1d6>
lea    0xd5c(%rip),%rsi
mov    %r15,%rdi
call   1040 <strcmp@plt>
test   %rax,%rax
je     1306 <remove_files_created_by_mode+0x1d6>
lea    0xd0f(%rip),%rsi
mov    %r15,%rdi
call   1040 <strcmp@plt>
test   %rax,%rax
jne    1385 <remove_files_created_by_mode+0x255>
lea    0xcff(%rip),%rsi
mov    %rsp,%r14
mov    %r14,%rdi
call   1030 <strcpy@plt>
lea    0xd2a(%rip),%rsi
lea    0x20(%rsp),%rbx
mov    %rbx,%rdi
call   1030 <strcpy@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
call   1050 <remove_files_created@plt>
lea    0xd13(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcpy@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
call   1050 <remove_files_created@plt>
lea    0xd02(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcpy@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
call   1050 <remove_files_created@plt>
lea    0xcf2(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcpy@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
call   1050 <remove_files_created@plt>
lea    0xce2(%rip),%rsi
mov    %r15,%rdi
call   1040 <strcmp@plt>
test   %rax,%rax
je     13ad <remove_files_created_by_mode+0x27d>
lea    0xc68(%rip),%rsi
mov    %r15,%rdi
call   1040 <strcmp@plt>
test   %rax,%rax
jne    13f8 <remove_files_created_by_mode+0x2c8>
lea    0xc58(%rip),%rsi
mov    %rsp,%r14
mov    %r14,%rdi
call   1030 <strcpy@plt>
lea    0xcb1(%rip),%rsi
lea    0x20(%rsp),%rbx
mov    %rbx,%rdi
call   1030 <strcpy@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
call   1050 <remove_files_created@plt>
lea    0xc35(%rip),%rsi
mov    %rbx,%rdi
call   1030 <strcpy@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
call   1050 <remove_files_created@plt>
add    $0x120,%rsp
pop    %rbx
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
@.str = [8 x i8] c"sniffer\00"
@.str.1 = [4 x i8] c"all\00"
@.str.2 = [5 x i8] c".txt\00"
@.str.3 = [9 x i8] c"auditory\00"
@.str.4 = [12 x i8] c"delay_debug\00"
@.str.5 = [6 x i8] c"debug\00"
@.str.6 = [8 x i8] c"session\00"
@.str.7 = [11 x i8] c"justparser\00"
@.str.8 = [8 x i8] c"learner\00"
@.str.9 = [4 x i8] c"aud\00"
@.str.10 = [12 x i8] c"justlearner\00"
@.str.11 = [8 x i8] c"profile\00"
@.str.12 = [9 x i8] c"prof_seq\00"
@.str.13 = [10 x i8] c"prof_time\00"
@.str.14 = [10 x i8] c"prof_seq2\00"
@.str.15 = [9 x i8] c"detector\00"
@.str.16 = [13 x i8] c"detect_debug\00"
define void @remove_files_created_by_mode(i8* %0) {
%2 = alloca i8*
%3 = alloca [256 x i8]
%4 = alloca [32 x i8]
store i8* %0, i8** %2
%5 = bitcast [256 x i8]* %3 to i8*
%6 = bitcast [32 x i8]* %4 to i8*
%7 = load i8*, i8** %2
%8 = call i64 @strcmp(i8* %7, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0))
%9 = icmp eq i64 %8, 0
br i1 %9, label %14, label %10
10: ; preds = %1
%11 = load i8*, i8** %2
%12 = call i64 @strcmp(i8* %11, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0))
%13 = icmp eq i64 %12, 0
br i1 %13, label %14, label %37
14: ; preds = %10, %1
%15 = getelementptr inbounds [32 x i8], [32 x i8]* %4, i64 0, i64 0
%16 = call i32 @strcpy(i8* %15, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0))
%17 = getelementptr inbounds [256 x i8], [256 x i8]* %3, i64 0, i64 0
%18 = call i32 @strcpy(i8* %17, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.3, i64 0, i64 0))
%19 = getelementptr inbounds [256 x i8], [256 x i8]* %3, i64 0, i64 0
%20 = getelementptr inbounds [32 x i8], [32 x i8]* %4, i64 0, i64 0
%21 = call i32 @remove_files_created(i8* %19, i8* %20)
%22 = getelementptr inbounds [256 x i8], [256 x i8]* %3, i64 0, i64 0
%23 = call i32 @strcpy(i8* %22, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.4, i64 0, i64 0))
%24 = getelementptr inbounds [256 x i8], [256 x i8]* %3, i64 0, i64 0
%25 = getelementptr inbounds [32 x i8], [32 x i8]* %4, i64 0, i64 0
%26 = call i32 @remove_files_created(i8* %24, i8* %25)
%27 = getelementptr inbounds [256 x i8], [256 x i8]* %3, i64 0, i64 0
%28 = call i32 @strcpy(i8* %27, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0))
%29 = getelementptr inbounds [256 x i8], [256 x i8]* %3, i64 0, i64 0
%30 = getelementptr inbounds [32 x i8], [32 x i8]* %4, i64 0, i64 0
%31 = call i32 @remove_files_created(i8* %29, i8* %30)
%32 = getelementptr inbounds [256 x i8], [256 x i8]* %3, i64 0, i64 0
%33 = call i32 @strcpy(i8* %32, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.6, i64 0, i64 0))
%34 = getelementptr inbounds [256 x i8], [256 x i8]* %3, i64 0, i64 0
%35 = getelementptr inbounds [32 x i8], [32 x i8]* %4, i64 0, i64 0
%36 = call i32 @remove_files_created(i8* %34, i8* %35)
br label %37
37: ; preds = %14, %10
%38 = load i8*, i8** %2
%39 = call i64 @strcmp(i8* %38, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.7, i64 0, i64 0))
%40 = icmp eq i64 %39, 0
br i1 %40, label %49, label %41
41: ; preds = %37
%42 = load i8*, i8** %2
%43 = call i64 @strcmp(i8* %42, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.8, i64 0, i64 0))
%44 = icmp eq i64 %43, 0
br i1 %44, label %49, label %45
45: ; preds = %41
%46 = load i8*, i8** %2
%47 = call i64 @strcmp(i8* %46, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0))
%48 = icmp eq i64 %47, 0
br i1 %48, label %49, label %57
49: ; preds = %45, %41, %37
%50 = getelementptr inbounds [32 x i8], [32 x i8]* %4, i64 0, i64 0
%51 = call i32 @strcpy(i8* %50, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0))
%52 = getelementptr inbounds [256 x i8], [256 x i8]* %3, i64 0, i64 0
%53 = call i32 @strcpy(i8* %52, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.9, i64 0, i64 0))
%54 = getelementptr inbounds [256 x i8], [256 x i8]* %3, i64 0, i64 0
%55 = getelementptr inbounds [32 x i8], [32 x i8]* %4, i64 0, i64 0
%56 = call i32 @remove_files_created(i8* %54, i8* %55)
br label %57
57: ; preds = %49, %45
%58 = load i8*, i8** %2
%59 = call i64 @strcmp(i8* %58, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.10, i64 0, i64 0))
%60 = icmp eq i64 %59, 0
br i1 %60, label %69, label %61
61: ; preds = %57
%62 = load i8*, i8** %2
%63 = call i64 @strcmp(i8* %62, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.8, i64 0, i64 0))
%64 = icmp eq i64 %63, 0
br i1 %64, label %69, label %65
65: ; preds = %61
%66 = load i8*, i8** %2
%67 = call i64 @strcmp(i8* %66, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0))
%68 = icmp eq i64 %67, 0
br i1 %68, label %69, label %92
69: ; preds = %65, %61, %57
%70 = getelementptr inbounds [32 x i8], [32 x i8]* %4, i64 0, i64 0
%71 = call i32 @strcpy(i8* %70, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0))
%72 = getelementptr inbounds [256 x i8], [256 x i8]* %3, i64 0, i64 0
%73 = call i32 @strcpy(i8* %72, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.11, i64 0, i64 0))
%74 = getelementptr inbounds [256 x i8], [256 x i8]* %3, i64 0, i64 0
%75 = getelementptr inbounds [32 x i8], [32 x i8]* %4, i64 0, i64 0
%76 = call i32 @remove_files_created(i8* %74, i8* %75)
%77 = getelementptr inbounds [256 x i8], [256 x i8]* %3, i64 0, i64 0
%78 = call i32 @strcpy(i8* %77, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.12, i64 0, i64 0))
%79 = getelementptr inbounds [256 x i8], [256 x i8]* %3, i64 0, i64 0
%80 = getelementptr inbounds [32 x i8], [32 x i8]* %4, i64 0, i64 0
%81 = call i32 @remove_files_created(i8* %79, i8* %80)
%82 = getelementptr inbounds [256 x i8], [256 x i8]* %3, i64 0, i64 0
%83 = call i32 @strcpy(i8* %82, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.13, i64 0, i64 0))
%84 = getelementptr inbounds [256 x i8], [256 x i8]* %3, i64 0, i64 0
%85 = getelementptr inbounds [32 x i8], [32 x i8]* %4, i64 0, i64 0
%86 = call i32 @remove_files_created(i8* %84, i8* %85)
%87 = getelementptr inbounds [256 x i8], [256 x i8]* %3, i64 0, i64 0
%88 = call i32 @strcpy(i8* %87, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.14, i64 0, i64 0))
%89 = getelementptr inbounds [256 x i8], [256 x i8]* %3, i64 0, i64 0
%90 = getelementptr inbounds [32 x i8], [32 x i8]* %4, i64 0, i64 0
%91 = call i32 @remove_files_created(i8* %89, i8* %90)
br label %92
92: ; preds = %69, %65
%93 = load i8*, i8** %2
%94 = call i64 @strcmp(i8* %93, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.15, i64 0, i64 0))
%95 = icmp eq i64 %94, 0
br i1 %95, label %100, label %96
96: ; preds = %92
%97 = load i8*, i8** %2
%98 = call i64 @strcmp(i8* %97, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0))
%99 = icmp eq i64 %98, 0
br i1 %99, label %100, label %113
100: ; preds = %96, %92
%101 = getelementptr inbounds [32 x i8], [32 x i8]* %4, i64 0, i64 0
%102 = call i32 @strcpy(i8* %101, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0))
%103 = getelementptr inbounds [256 x i8], [256 x i8]* %3, i64 0, i64 0
%104 = call i32 @strcpy(i8* %103, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.16, i64 0, i64 0))
%105 = getelementptr inbounds [256 x i8], [256 x i8]* %3, i64 0, i64 0
%106 = getelementptr inbounds [32 x i8], [32 x i8]* %4, i64 0, i64 0
%107 = call i32 @remove_files_created(i8* %105, i8* %106)
%108 = getelementptr inbounds [256 x i8], [256 x i8]* %3, i64 0, i64 0
%109 = call i32 @strcpy(i8* %108, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.4, i64 0, i64 0))
%110 = getelementptr inbounds [256 x i8], [256 x i8]* %3, i64 0, i64 0
%111 = getelementptr inbounds [32 x i8], [32 x i8]* %4, i64 0, i64 0
%112 = call i32 @remove_files_created(i8* %110, i8* %111)
br label %113
113: ; preds = %100, %96
ret void
}

LLVM IR (-O2):
@.str = [8 x i8] c"sniffer\00"
@.str.1 = [4 x i8] c"all\00"
@.str.2 = [5 x i8] c".txt\00"
@.str.3 = [9 x i8] c"auditory\00"
@.str.4 = [12 x i8] c"delay_debug\00"
@.str.5 = [6 x i8] c"debug\00"
@.str.6 = [8 x i8] c"session\00"
@.str.7 = [11 x i8] c"justparser\00"
@.str.8 = [8 x i8] c"learner\00"
@.str.9 = [4 x i8] c"aud\00"
@.str.10 = [12 x i8] c"justlearner\00"
@.str.11 = [8 x i8] c"profile\00"
@.str.12 = [9 x i8] c"prof_seq\00"
@.str.13 = [10 x i8] c"prof_time\00"
@.str.14 = [10 x i8] c"prof_seq2\00"
@.str.15 = [9 x i8] c"detector\00"
@.str.16 = [13 x i8] c"detect_debug\00"
define void @remove_files_created_by_mode(i8* %0) {
%2 = alloca [256 x i8]
%3 = alloca [32 x i8]
%4 = getelementptr inbounds [256 x i8], [256 x i8]* %2, i64 0, i64 0
%5 = getelementptr inbounds [32 x i8], [32 x i8]* %3, i64 0, i64 0
%6 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0))
%7 = icmp eq i64 %6, 0
br i1 %7, label %11, label %8
8: ; preds = %1
%9 = tail call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0))
%10 = icmp eq i64 %9, 0
br i1 %10, label %11, label %21
11: ; preds = %8, %1
%12 = call i32 @strcpy(i8* %5, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0))
%13 = call i32 @strcpy(i8* %4, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.3, i64 0, i64 0))
%14 = call i32 @remove_files_created(i8* %4, i8* %5)
%15 = call i32 @strcpy(i8* %4, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.4, i64 0, i64 0))
%16 = call i32 @remove_files_created(i8* %4, i8* %5)
%17 = call i32 @strcpy(i8* %4, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0))
%18 = call i32 @remove_files_created(i8* %4, i8* %5)
%19 = call i32 @strcpy(i8* %4, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.6, i64 0, i64 0))
%20 = call i32 @remove_files_created(i8* %4, i8* %5)
br label %21
21: ; preds = %11, %8
%22 = call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.7, i64 0, i64 0))
%23 = icmp eq i64 %22, 0
br i1 %23, label %30, label %24
24: ; preds = %21
%25 = call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.8, i64 0, i64 0))
%26 = icmp eq i64 %25, 0
br i1 %26, label %30, label %27
27: ; preds = %24
%28 = call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0))
%29 = icmp eq i64 %28, 0
br i1 %29, label %30, label %34
30: ; preds = %27, %24, %21
%31 = call i32 @strcpy(i8* %5, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0))
%32 = call i32 @strcpy(i8* %4, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.9, i64 0, i64 0))
%33 = call i32 @remove_files_created(i8* %4, i8* %5)
br label %34
34: ; preds = %30, %27
%35 = call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.10, i64 0, i64 0))
%36 = icmp eq i64 %35, 0
br i1 %36, label %43, label %37
37: ; preds = %34
%38 = call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.8, i64 0, i64 0))
%39 = icmp eq i64 %38, 0
br i1 %39, label %43, label %40
40: ; preds = %37
%41 = call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0))
%42 = icmp eq i64 %41, 0
br i1 %42, label %43, label %53
43: ; preds = %40, %37, %34
%44 = call i32 @strcpy(i8* %5, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0))
%45 = call i32 @strcpy(i8* %4, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.11, i64 0, i64 0))
%46 = call i32 @remove_files_created(i8* %4, i8* %5)
%47 = call i32 @strcpy(i8* %4, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.12, i64 0, i64 0))
%48 = call i32 @remove_files_created(i8* %4, i8* %5)
%49 = call i32 @strcpy(i8* %4, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.13, i64 0, i64 0))
%50 = call i32 @remove_files_created(i8* %4, i8* %5)
%51 = call i32 @strcpy(i8* %4, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.14, i64 0, i64 0))
%52 = call i32 @remove_files_created(i8* %4, i8* %5)
br label %53
53: ; preds = %43, %40
%54 = call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.15, i64 0, i64 0))
%55 = icmp eq i64 %54, 0
br i1 %55, label %59, label %56
56: ; preds = %53
%57 = call i64 @strcmp(i8* %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0))
%58 = icmp eq i64 %57, 0
br i1 %58, label %59, label %65
59: ; preds = %56, %53
%60 = call i32 @strcpy(i8* %5, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0))
%61 = call i32 @strcpy(i8* %4, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.16, i64 0, i64 0))
%62 = call i32 @remove_files_created(i8* %4, i8* %5)
%63 = call i32 @strcpy(i8* %4, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.4, i64 0, i64 0))
%64 = call i32 @remove_files_created(i8* %4, i8* %5)
br label %65
65: ; preds = %59, %56
ret void
}