#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 */
char *q_internal(char *, char *, int);
char *remove_char(char *, char *);
int /*<<< orphan*/ s_internal(char *, char *, char *, int);
scalar_t__ strcmp(char *, char *);
char *substitute_char(char, char, char *);
char *system_(char *);
char *uname_m(void) {
  char *p = system_("uname -m");
  char *p2;
  p2 = remove_char("\r\n", p);
  (s_internal(p, "p",
              "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
              "2022-01-22/02-19-57/repos/guicho271828/roswell/refs/heads/"
              "master/src/util.c",
              166));
  if (strcmp(p2, "i686") == 0) {
    (s_internal(p2, "p2",
                "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/"
                "outputs/2022-01-22/02-19-57/repos/guicho271828/roswell/refs/"
                "heads/master/src/util.c",
                168));
    return (q_internal("x86",
                       "/scratch/repos/new/home/jordi_armengol_estape/"
                       "c-scraper/outputs/2022-01-22/02-19-57/repos/"
                       "guicho271828/roswell/refs/heads/master/src/util.c",
                       169));
  }
  if (strcmp(p2, "amd64") == 0) {
    (s_internal(p2, "p2",
                "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/"
                "outputs/2022-01-22/02-19-57/repos/guicho271828/roswell/refs/"
                "heads/master/src/util.c",
                172));
    return (q_internal("x86-64",
                       "/scratch/repos/new/home/jordi_armengol_estape/"
                       "c-scraper/outputs/2022-01-22/02-19-57/repos/"
                       "guicho271828/roswell/refs/heads/master/src/util.c",
                       173));
  }
  if (strcmp(p2, "aarch64") == 0) {
    (s_internal(p2, "p2",
                "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/"
                "outputs/2022-01-22/02-19-57/repos/guicho271828/roswell/refs/"
                "heads/master/src/util.c",
                176));
    return (q_internal("arm64",
                       "/scratch/repos/new/home/jordi_armengol_estape/"
                       "c-scraper/outputs/2022-01-22/02-19-57/repos/"
                       "guicho271828/roswell/refs/heads/master/src/util.c",
                       177));
  }
  if (strcmp(p2, "armv6l") == 0 || strcmp(p2, "armv7l") == 0) {
    char *result =
        system_("readelf -A /proc/self/exe |grep Tag_ABI_VFP_args|wc -l");
    char *result2 = remove_char("\r\n", result);
    (s_internal(result, "result",
                "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/"
                "outputs/2022-01-22/02-19-57/repos/guicho271828/roswell/refs/"
                "heads/master/src/util.c",
                183));
    if (strcmp(result2, "0") != 0) {
      (s_internal(result2, "result2",
                  "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/"
                  "outputs/2022-01-22/02-19-57/repos/guicho271828/roswell/refs/"
                  "heads/master/src/util.c",
                  185));
      return (q_internal("armhf",
                         "/scratch/repos/new/home/jordi_armengol_estape/"
                         "c-scraper/outputs/2022-01-22/02-19-57/repos/"
                         "guicho271828/roswell/refs/heads/master/src/util.c",
                         186));
    } else {
      (s_internal(result2, "result2",
                  "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/"
                  "outputs/2022-01-22/02-19-57/repos/guicho271828/roswell/refs/"
                  "heads/master/src/util.c",
                  188));
      return (q_internal("armel",
                         "/scratch/repos/new/home/jordi_armengol_estape/"
                         "c-scraper/outputs/2022-01-22/02-19-57/repos/"
                         "guicho271828/roswell/refs/heads/master/src/util.c",
                         189));
    }
  }
  return substitute_char('-', '_', p2);
}


x86 assembly (clang, -O0):
<uname_m>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
lea    0xe91(%rip),%rdi
call   1070 <system_@plt>
mov    %rax,-0x10(%rbp)
mov    -0x10(%rbp),%rsi
lea    0xe86(%rip),%rdi
call   1040 <remove_char@plt>
mov    %rax,-0x18(%rbp)
mov    -0x10(%rbp),%rdi
lea    0xe75(%rip),%rsi
lea    0xe70(%rip),%rdx
mov    $0xa6,%ecx
call   1030 <s_internal@plt>
mov    -0x18(%rbp),%rdi
lea    0xee7(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    11ff <uname_m+0x9f>
mov    -0x18(%rbp),%rdi
lea    0xed2(%rip),%rsi
lea    0xe3a(%rip),%rdx
mov    $0xa8,%ecx
call   1030 <s_internal@plt>
lea    0xebd(%rip),%rdi
lea    0xe22(%rip),%rsi
mov    $0xa9,%edx
call   1080 <q_internal@plt>
mov    %rax,-0x8(%rbp)
jmp    13cc <uname_m+0x26c>
mov    -0x18(%rbp),%rdi
lea    0xe9c(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    1256 <uname_m+0xf6>
mov    -0x18(%rbp),%rdi
lea    0xe7b(%rip),%rsi
lea    0xde3(%rip),%rdx
mov    $0xac,%ecx
call   1030 <s_internal@plt>
lea    0xe70(%rip),%rdi
lea    0xdcb(%rip),%rsi
mov    $0xad,%edx
call   1080 <q_internal@plt>
mov    %rax,-0x8(%rbp)
jmp    13cc <uname_m+0x26c>
mov    -0x18(%rbp),%rdi
lea    0xe52(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    12ad <uname_m+0x14d>
mov    -0x18(%rbp),%rdi
lea    0xe24(%rip),%rsi
lea    0xd8c(%rip),%rdx
mov    $0xb0,%ecx
call   1030 <s_internal@plt>
lea    0xe28(%rip),%rdi
lea    0xd74(%rip),%rsi
mov    $0xb1,%edx
call   1080 <q_internal@plt>
mov    %rax,-0x8(%rbp)
jmp    13cc <uname_m+0x26c>
mov    -0x18(%rbp),%rdi
lea    0xe09(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
je     12e1 <uname_m+0x181>
mov    -0x18(%rbp),%rdi
lea    0xdf6(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    13b5 <uname_m+0x255>
lea    0xde7(%rip),%rdi
call   1070 <system_@plt>
mov    %rax,-0x20(%rbp)
mov    -0x20(%rbp),%rsi
lea    0xd0d(%rip),%rdi
call   1040 <remove_char@plt>
mov    %rax,-0x28(%rbp)
mov    -0x20(%rbp),%rdi
lea    0xdf6(%rip),%rsi
lea    0xcf7(%rip),%rdx
mov    $0xb7,%ecx
call   1030 <s_internal@plt>
mov    -0x28(%rbp),%rdi
lea    0xde1(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
je     1378 <uname_m+0x218>
mov    -0x28(%rbp),%rdi
lea    0xdc9(%rip),%rsi
lea    0xcc1(%rip),%rdx
mov    $0xb9,%ecx
call   1030 <s_internal@plt>
lea    0xdb9(%rip),%rdi
lea    0xca9(%rip),%rsi
mov    $0xba,%edx
call   1080 <q_internal@plt>
mov    %rax,-0x8(%rbp)
jmp    13cc <uname_m+0x26c>
mov    -0x28(%rbp),%rdi
lea    0xd8c(%rip),%rsi
lea    0xc84(%rip),%rdx
mov    $0xbc,%ecx
call   1030 <s_internal@plt>
lea    0xd82(%rip),%rdi
lea    0xc6c(%rip),%rsi
mov    $0xbd,%edx
call   1080 <q_internal@plt>
mov    %rax,-0x8(%rbp)
jmp    13cc <uname_m+0x26c>
mov    -0x18(%rbp),%rdx
mov    $0x2d,%edi
mov    $0x5f,%esi
call   1060 <substitute_char@plt>
mov    %rax,-0x8(%rbp)
mov    -0x8(%rbp),%rax
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<uname_m>:
push   %r14
push   %rbx
push   %rax
lea    0xe95(%rip),%rdi
call   1070 <system_@plt>
mov    %rax,%rbx
lea    0xe8f(%rip),%rdi
mov    %rax,%rsi
call   1040 <remove_char@plt>
mov    %rax,%r14
lea    0xe80(%rip),%rsi
lea    0xe7b(%rip),%rdx
mov    %rbx,%rdi
mov    $0xa6,%ecx
call   1030 <s_internal@plt>
lea    0xef3(%rip),%rsi
mov    %r14,%rdi
call   1050 <strcmp@plt>
test   %rax,%rax
je     122d <uname_m+0xcd>
lea    0xeeb(%rip),%rsi
mov    %r14,%rdi
call   1050 <strcmp@plt>
test   %rax,%rax
je     125f <uname_m+0xff>
lea    0xee0(%rip),%rsi
mov    %r14,%rdi
call   1050 <strcmp@plt>
test   %rax,%rax
je     1291 <uname_m+0x131>
lea    0xed6(%rip),%rsi
mov    %r14,%rdi
call   1050 <strcmp@plt>
test   %rax,%rax
je     12c3 <uname_m+0x163>
lea    0xec5(%rip),%rsi
mov    %r14,%rdi
call   1050 <strcmp@plt>
test   %rax,%rax
je     12c3 <uname_m+0x163>
mov    $0x2d,%edi
mov    $0x5f,%esi
mov    %r14,%rdx
add    $0x8,%rsp
pop    %rbx
pop    %r14
jmp    1060 <substitute_char@plt>
lea    0xe6b(%rip),%rsi
lea    0xdd3(%rip),%rbx
mov    %r14,%rdi
mov    %rbx,%rdx
mov    $0xa8,%ecx
call   1030 <s_internal@plt>
lea    0xe50(%rip),%rdi
mov    %rbx,%rsi
mov    $0xa9,%edx
jmp    135b <uname_m+0x1fb>
lea    0xe39(%rip),%rsi
lea    0xda1(%rip),%rbx
mov    %r14,%rdi
mov    %rbx,%rdx
mov    $0xac,%ecx
call   1030 <s_internal@plt>
lea    0xe28(%rip),%rdi
mov    %rbx,%rsi
mov    $0xad,%edx
jmp    135b <uname_m+0x1fb>
lea    0xe07(%rip),%rsi
lea    0xd6f(%rip),%rbx
mov    %r14,%rdi
mov    %rbx,%rdx
mov    $0xb0,%ecx
call   1030 <s_internal@plt>
lea    0xe05(%rip),%rdi
mov    %rbx,%rsi
mov    $0xb1,%edx
jmp    135b <uname_m+0x1fb>
lea    0xe05(%rip),%rdi
call   1070 <system_@plt>
mov    %rax,%rbx
lea    0xd30(%rip),%rdi
mov    %rax,%rsi
call   1040 <remove_char@plt>
mov    %rax,%r14
lea    0xe1b(%rip),%rsi
lea    0xd1c(%rip),%rdx
mov    %rbx,%rdi
mov    $0xb7,%ecx
call   1030 <s_internal@plt>
lea    0xe07(%rip),%rsi
mov    %r14,%rdi
call   1050 <strcmp@plt>
lea    0xdfa(%rip),%rsi
lea    0xcf2(%rip),%rbx
mov    %r14,%rdi
mov    %rbx,%rdx
test   %rax,%rax
je     1342 <uname_m+0x1e2>
mov    $0xb9,%ecx
call   1030 <s_internal@plt>
lea    0xddf(%rip),%rdi
mov    %rbx,%rsi
mov    $0xba,%edx
jmp    135b <uname_m+0x1fb>
mov    $0xbc,%ecx
call   1030 <s_internal@plt>
lea    0xdca(%rip),%rdi
mov    %rbx,%rsi
mov    $0xbd,%edx
add    $0x8,%rsp
pop    %rbx
pop    %r14
jmp    1080 <q_internal@plt>

LLVM IR (-O0):
@.str = [9 x i8] c"uname -m\00"
@.str.1 = [3 x i8] c"\0D\0A\00"
@.str.2 = [2 x i8] c"p\00"
@.str.3 = [140 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/guicho271828/roswell/refs/heads/master/src/util.c\00"
@.str.4 = [5 x i8] c"i686\00"
@.str.5 = [3 x i8] c"p2\00"
@.str.6 = [4 x i8] c"x86\00"
@.str.7 = [6 x i8] c"amd64\00"
@.str.8 = [7 x i8] c"x86-64\00"
@.str.9 = [8 x i8] c"aarch64\00"
@.str.10 = [6 x i8] c"arm64\00"
@.str.11 = [7 x i8] c"armv6l\00"
@.str.12 = [7 x i8] c"armv7l\00"
@.str.13 = [55 x i8] c"readelf -A /proc/self/exe |grep Tag_ABI_VFP_args|wc -l\00"
@.str.14 = [7 x i8] c"result\00"
@.str.15 = [2 x i8] c"0\00"
@.str.16 = [8 x i8] c"result2\00"
@.str.17 = [6 x i8] c"armhf\00"
@.str.18 = [6 x i8] c"armel\00"
define i8* @uname_m() {
%1 = alloca i8*
%2 = alloca i8*
%3 = alloca i8*
%4 = alloca i8*
%5 = alloca i8*
%6 = call i8* @system_(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0))
store i8* %6, i8** %2
%7 = load i8*, i8** %2
%8 = call i8* @remove_char(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i8* %7)
store i8* %8, i8** %3
%9 = load i8*, i8** %2
%10 = call i32 @s_internal(i8* %9, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([140 x i8], [140 x i8]* @.str.3, i64 0, i64 0), i32 166)
%11 = load i8*, i8** %3
%12 = call i64 @strcmp(i8* %11, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0))
%13 = icmp eq i64 %12, 0
br i1 %13, label %14, label %18
14: ; preds = %0
%15 = load i8*, i8** %3
%16 = call i32 @s_internal(i8* %15, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([140 x i8], [140 x i8]* @.str.3, i64 0, i64 0), i32 168)
%17 = call i8* @q_internal(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([140 x i8], [140 x i8]* @.str.3, i64 0, i64 0), i32 169)
store i8* %17, i8** %1
br label %62
18: ; preds = %0
%19 = load i8*, i8** %3
%20 = call i64 @strcmp(i8* %19, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0))
%21 = icmp eq i64 %20, 0
br i1 %21, label %22, label %26
22: ; preds = %18
%23 = load i8*, i8** %3
%24 = call i32 @s_internal(i8* %23, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([140 x i8], [140 x i8]* @.str.3, i64 0, i64 0), i32 172)
%25 = call i8* @q_internal(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([140 x i8], [140 x i8]* @.str.3, i64 0, i64 0), i32 173)
store i8* %25, i8** %1
br label %62
26: ; preds = %18
%27 = load i8*, i8** %3
%28 = call i64 @strcmp(i8* %27, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.9, i64 0, i64 0))
%29 = icmp eq i64 %28, 0
br i1 %29, label %30, label %34
30: ; preds = %26
%31 = load i8*, i8** %3
%32 = call i32 @s_internal(i8* %31, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([140 x i8], [140 x i8]* @.str.3, i64 0, i64 0), i32 176)
%33 = call i8* @q_internal(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([140 x i8], [140 x i8]* @.str.3, i64 0, i64 0), i32 177)
store i8* %33, i8** %1
br label %62
34: ; preds = %26
%35 = load i8*, i8** %3
%36 = call i64 @strcmp(i8* %35, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.11, i64 0, i64 0))
%37 = icmp eq i64 %36, 0
br i1 %37, label %42, label %38
38: ; preds = %34
%39 = load i8*, i8** %3
%40 = call i64 @strcmp(i8* %39, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.12, i64 0, i64 0))
%41 = icmp eq i64 %40, 0
br i1 %41, label %42, label %59
42: ; preds = %38, %34
%43 = call i8* @system_(i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.13, i64 0, i64 0))
store i8* %43, i8** %4
%44 = load i8*, i8** %4
%45 = call i8* @remove_char(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i8* %44)
store i8* %45, i8** %5
%46 = load i8*, i8** %4
%47 = call i32 @s_internal(i8* %46, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.14, i64 0, i64 0), i8* getelementptr inbounds ([140 x i8], [140 x i8]* @.str.3, i64 0, i64 0), i32 183)
%48 = load i8*, i8** %5
%49 = call i64 @strcmp(i8* %48, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.15, i64 0, i64 0))
%50 = icmp ne i64 %49, 0
br i1 %50, label %51, label %55
51: ; preds = %42
%52 = load i8*, i8** %5
%53 = call i32 @s_internal(i8* %52, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.16, i64 0, i64 0), i8* getelementptr inbounds ([140 x i8], [140 x i8]* @.str.3, i64 0, i64 0), i32 185)
%54 = call i8* @q_internal(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.17, i64 0, i64 0), i8* getelementptr inbounds ([140 x i8], [140 x i8]* @.str.3, i64 0, i64 0), i32 186)
store i8* %54, i8** %1
br label %62
55: ; preds = %42
%56 = load i8*, i8** %5
%57 = call i32 @s_internal(i8* %56, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.16, i64 0, i64 0), i8* getelementptr inbounds ([140 x i8], [140 x i8]* @.str.3, i64 0, i64 0), i32 188)
%58 = call i8* @q_internal(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.18, i64 0, i64 0), i8* getelementptr inbounds ([140 x i8], [140 x i8]* @.str.3, i64 0, i64 0), i32 189)
store i8* %58, i8** %1
br label %62
59: ; preds = %38
%60 = load i8*, i8** %3
%61 = call i8* @substitute_char(i8 signext 45, i8 signext 95, i8* %60)
store i8* %61, i8** %1
br label %62
62: ; preds = %59, %55, %51, %30, %22, %14
%63 = load i8*, i8** %1
ret i8* %63
}

LLVM IR (-O2):
@.str = [9 x i8] c"uname -m\00"
@.str.1 = [3 x i8] c"\0D\0A\00"
@.str.2 = [2 x i8] c"p\00"
@.str.3 = [140 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/guicho271828/roswell/refs/heads/master/src/util.c\00"
@.str.4 = [5 x i8] c"i686\00"
@.str.5 = [3 x i8] c"p2\00"
@.str.6 = [4 x i8] c"x86\00"
@.str.7 = [6 x i8] c"amd64\00"
@.str.8 = [7 x i8] c"x86-64\00"
@.str.9 = [8 x i8] c"aarch64\00"
@.str.10 = [6 x i8] c"arm64\00"
@.str.11 = [7 x i8] c"armv6l\00"
@.str.12 = [7 x i8] c"armv7l\00"
@.str.13 = [55 x i8] c"readelf -A /proc/self/exe |grep Tag_ABI_VFP_args|wc -l\00"
@.str.14 = [7 x i8] c"result\00"
@.str.15 = [2 x i8] c"0\00"
@.str.16 = [8 x i8] c"result2\00"
@.str.17 = [6 x i8] c"armhf\00"
@.str.18 = [6 x i8] c"armel\00"
define i8* @uname_m() {
%1 = tail call i8* @system_(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0))
%2 = tail call i8* @remove_char(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i8* %1)
%3 = tail call i32 @s_internal(i8* %1, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([140 x i8], [140 x i8]* @.str.3, i64 0, i64 0), i32 166)
%4 = tail call i64 @strcmp(i8* %2, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0))
%5 = icmp eq i64 %4, 0
br i1 %5, label %6, label %9
6: ; preds = %0
%7 = tail call i32 @s_internal(i8* %2, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([140 x i8], [140 x i8]* @.str.3, i64 0, i64 0), i32 168)
%8 = tail call i8* @q_internal(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([140 x i8], [140 x i8]* @.str.3, i64 0, i64 0), i32 169)
br label %41
9: ; preds = %0
%10 = tail call i64 @strcmp(i8* %2, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0))
%11 = icmp eq i64 %10, 0
br i1 %11, label %12, label %15
12: ; preds = %9
%13 = tail call i32 @s_internal(i8* %2, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([140 x i8], [140 x i8]* @.str.3, i64 0, i64 0), i32 172)
%14 = tail call i8* @q_internal(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([140 x i8], [140 x i8]* @.str.3, i64 0, i64 0), i32 173)
br label %41
15: ; preds = %9
%16 = tail call i64 @strcmp(i8* %2, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.9, i64 0, i64 0))
%17 = icmp eq i64 %16, 0
br i1 %17, label %18, label %21
18: ; preds = %15
%19 = tail call i32 @s_internal(i8* %2, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([140 x i8], [140 x i8]* @.str.3, i64 0, i64 0), i32 176)
%20 = tail call i8* @q_internal(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([140 x i8], [140 x i8]* @.str.3, i64 0, i64 0), i32 177)
br label %41
21: ; preds = %15
%22 = tail call i64 @strcmp(i8* %2, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.11, i64 0, i64 0))
%23 = icmp eq i64 %22, 0
br i1 %23, label %27, label %24
24: ; preds = %21
%25 = tail call i64 @strcmp(i8* %2, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.12, i64 0, i64 0))
%26 = icmp eq i64 %25, 0
br i1 %26, label %27, label %39
27: ; preds = %24, %21
%28 = tail call i8* @system_(i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.13, i64 0, i64 0))
%29 = tail call i8* @remove_char(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i8* %28)
%30 = tail call i32 @s_internal(i8* %28, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.14, i64 0, i64 0), i8* getelementptr inbounds ([140 x i8], [140 x i8]* @.str.3, i64 0, i64 0), i32 183)
%31 = tail call i64 @strcmp(i8* %29, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.15, i64 0, i64 0))
%32 = icmp eq i64 %31, 0
br i1 %32, label %36, label %33
33: ; preds = %27
%34 = tail call i32 @s_internal(i8* %29, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.16, i64 0, i64 0), i8* getelementptr inbounds ([140 x i8], [140 x i8]* @.str.3, i64 0, i64 0), i32 185)
%35 = tail call i8* @q_internal(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.17, i64 0, i64 0), i8* getelementptr inbounds ([140 x i8], [140 x i8]* @.str.3, i64 0, i64 0), i32 186)
br label %41
36: ; preds = %27
%37 = tail call i32 @s_internal(i8* %29, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.16, i64 0, i64 0), i8* getelementptr inbounds ([140 x i8], [140 x i8]* @.str.3, i64 0, i64 0), i32 188)
%38 = tail call i8* @q_internal(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.18, i64 0, i64 0), i8* getelementptr inbounds ([140 x i8], [140 x i8]* @.str.3, i64 0, i64 0), i32 189)
br label %41
39: ; preds = %24
%40 = tail call i8* @substitute_char(i8 signext 45, i8 signext 95, i8* %2)
br label %41
41: ; preds = %33, %36, %39, %18, %12, %6
%42 = phi i8* [ %8, %6 ], [ %14, %12 ], [ %20, %18 ], [ %40, %39 ], [ %35, %33 ], [ %38, %36 ]
ret i8* %42
}