#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__ malloc(int);
int /*<<< orphan*/ strcat(char *, char *);
char *or_parseMiscellaneous(short *s, int size) {
  char *phoneticScript = (char *)malloc(100 * sizeof(char));
  int i = 0;
  char gap[] = " G3000 ";
  char *englishAlph[26] = {
      "7",  "b3",  "s3", "d3", "3",         "7f",     "j3",  "7ch",  "1y",
      "j7", "k7",  "7l", "7m", "7n",        "11",     "p3",  "kHy5", "2r",
      "7s", "tt3", "y5", "v3", "d1b l3 y5", "7 k 0s", "v1y", "3z 1d"};
  phoneticScript[0] = '\0';
  strcat(phoneticScript, " ");
  for (i = 0; i < size; i++) {
    if (s[i] >= 65 && s[i] <= 90) {
      strcat(phoneticScript, englishAlph[s[i] - 65]);
      strcat(phoneticScript, gap);
    } else if (s[i] >= 97 && s[i] <= 122) {
      strcat(phoneticScript, englishAlph[s[i] - 97]);
      strcat(phoneticScript, gap);
    } else {
      if (s[i] == 0x25) {
        strcat(phoneticScript, "s1 t1 m2 n1m");
        strcat(phoneticScript, gap);
      }
      if (s[i] == 0x24) {
        strcat(phoneticScript, "d12 ll1r");
        strcat(phoneticScript, gap);
      }
      if (s[i] == 0x3D) {
        strcat(phoneticScript, "s1 m1m");
        strcat(phoneticScript, gap);
      }
      if (s[i] == 0x40) {
        strcat(phoneticScript, "1tt");
        strcat(phoneticScript, gap);
      }
    }
  }
  return phoneticScript;
}


x86 assembly (clang, -O0):
<or_parseMiscellaneous>:
push   %rbp
mov    %rsp,%rbp
sub    $0x100,%rsp
mov    %rdi,-0x8(%rbp)
mov    %esi,-0xc(%rbp)
mov    $0x64,%edi
call   1040 <malloc@plt>
mov    %rax,-0x18(%rbp)
movl   $0x0,-0x1c(%rbp)
mov    0xea2(%rip),%rax
mov    %rax,-0x24(%rbp)
lea    -0x100(%rbp),%rdi
lea    0x2be0(%rip),%rsi
mov    $0xd0,%edx
call   1030 <memcpy@plt>
mov    -0x18(%rbp),%rax
movb   $0x0,(%rax)
mov    -0x18(%rbp),%rdi
lea    0xe7a(%rip),%rsi
call   1050 <strcat@plt>
movl   $0x0,-0x1c(%rbp)
mov    -0x1c(%rbp),%eax
cmp    -0xc(%rbp),%eax
jge    1345 <or_parseMiscellaneous+0x215>
mov    -0x8(%rbp),%rax
movslq -0x1c(%rbp),%rcx
movswl (%rax,%rcx,2),%eax
cmp    $0x41,%eax
jl     1202 <or_parseMiscellaneous+0xd2>
mov    -0x8(%rbp),%rax
movslq -0x1c(%rbp),%rcx
movswl (%rax,%rcx,2),%eax
cmp    $0x5a,%eax
jg     1202 <or_parseMiscellaneous+0xd2>
mov    -0x18(%rbp),%rdi
mov    -0x8(%rbp),%rax
movslq -0x1c(%rbp),%rcx
movswl (%rax,%rcx,2),%eax
sub    $0x41,%eax
cltq
mov    -0x100(%rbp,%rax,8),%rsi
ff
call   1050 <strcat@plt>
mov    -0x18(%rbp),%rdi
lea    -0x24(%rbp),%rsi
call   1050 <strcat@plt>
jmp    1332 <or_parseMiscellaneous+0x202>
mov    -0x8(%rbp),%rax
movslq -0x1c(%rbp),%rcx
movswl (%rax,%rcx,2),%eax
cmp    $0x61,%eax
jl     1260 <or_parseMiscellaneous+0x130>
mov    -0x8(%rbp),%rax
movslq -0x1c(%rbp),%rcx
movswl (%rax,%rcx,2),%eax
cmp    $0x7a,%eax
jg     1260 <or_parseMiscellaneous+0x130>
mov    -0x18(%rbp),%rdi
mov    -0x8(%rbp),%rax
movslq -0x1c(%rbp),%rcx
movswl (%rax,%rcx,2),%eax
sub    $0x61,%eax
cltq
mov    -0x100(%rbp,%rax,8),%rsi
ff
call   1050 <strcat@plt>
mov    -0x18(%rbp),%rdi
lea    -0x24(%rbp),%rsi
call   1050 <strcat@plt>
jmp    132d <or_parseMiscellaneous+0x1fd>
mov    -0x8(%rbp),%rax
movslq -0x1c(%rbp),%rcx
movswl (%rax,%rcx,2),%eax
cmp    $0x25,%eax
jne    1292 <or_parseMiscellaneous+0x162>
mov    -0x18(%rbp),%rdi
lea    0xddd(%rip),%rsi
call   1050 <strcat@plt>
mov    -0x18(%rbp),%rdi
lea    -0x24(%rbp),%rsi
call   1050 <strcat@plt>
mov    -0x8(%rbp),%rax
movslq -0x1c(%rbp),%rcx
movswl (%rax,%rcx,2),%eax
cmp    $0x24,%eax
jne    12c4 <or_parseMiscellaneous+0x194>
mov    -0x18(%rbp),%rdi
lea    0xdb8(%rip),%rsi
call   1050 <strcat@plt>
mov    -0x18(%rbp),%rdi
lea    -0x24(%rbp),%rsi
call   1050 <strcat@plt>
mov    -0x8(%rbp),%rax
movslq -0x1c(%rbp),%rcx
movswl (%rax,%rcx,2),%eax
cmp    $0x3d,%eax
jne    12f6 <or_parseMiscellaneous+0x1c6>
mov    -0x18(%rbp),%rdi
lea    0xd8f(%rip),%rsi
call   1050 <strcat@plt>
mov    -0x18(%rbp),%rdi
lea    -0x24(%rbp),%rsi
call   1050 <strcat@plt>
mov    -0x8(%rbp),%rax
movslq -0x1c(%rbp),%rcx
movswl (%rax,%rcx,2),%eax
cmp    $0x40,%eax
jne    1328 <or_parseMiscellaneous+0x1f8>
mov    -0x18(%rbp),%rdi
lea    0xd64(%rip),%rsi
call   1050 <strcat@plt>
mov    -0x18(%rbp),%rdi
lea    -0x24(%rbp),%rsi
call   1050 <strcat@plt>
jmp    132d <or_parseMiscellaneous+0x1fd>
jmp    1332 <or_parseMiscellaneous+0x202>
jmp    1337 <or_parseMiscellaneous+0x207>
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    1198 <or_parseMiscellaneous+0x68>
mov    -0x18(%rbp),%rax
add    $0x100,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<or_parseMiscellaneous>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
mov    %esi,%ebp
mov    %rdi,%r14
mov    $0x64,%edi
call   1030 <malloc@plt>
mov    %rax,%rbx
movabs $0x20303030334720,%rax
mov    %rax,(%rsp)
movb   $0x0,(%rbx)
lea    0xf00(%rip),%rsi
mov    %rbx,%rdi
call   1040 <strcat@plt>
test   %ebp,%ebp
jle    125a <or_parseMiscellaneous+0x13a>
mov    $0xffffff9f,%eax
mov    %ebp,%r12d
xor    %r13d,%r13d
lea    0x20(%rax),%rbp
lea    0xefd(%rip),%r15
jmp    11ad <or_parseMiscellaneous+0x8d>
nopl   (%rax)
movswq %ax,%rax
add    %eax,%ecx
movslq (%r15,%rcx,4),%rsi
add    %r15,%rsi
mov    %rbx,%rdi
call   1040 <strcat@plt>
mov    %rbx,%rdi
mov    %rsp,%rsi
call   1040 <strcat@plt>
add    $0x1,%r13
cmp    %r13,%r12
je     125a <or_parseMiscellaneous+0x13a>
movzwl (%r14,%r13,2),%eax
mov    %eax,%edx
add    $0xffffffbf,%edx
mov    %rbp,%rcx
cmp    $0x1a,%dx
jb     1180 <or_parseMiscellaneous+0x60>
lea    -0x61(%rax),%edx
mov    $0xffffff9f,%ecx
cmp    $0x1a,%dx
jb     1180 <or_parseMiscellaneous+0x60>
cmp    $0x25,%ax
je     120e <or_parseMiscellaneous+0xee>
cmp    $0x24,%ax
je     1233 <or_parseMiscellaneous+0x113>
cmp    $0x3d,%ax
jne    11ff <or_parseMiscellaneous+0xdf>
mov    %rbx,%rdi
lea    0xe83(%rip),%rsi
call   1040 <strcat@plt>
mov    %rbx,%rdi
mov    %rsp,%rsi
call   1040 <strcat@plt>
movzwl (%r14,%r13,2),%eax
lea    0xe6e(%rip),%rsi
cmp    $0x40,%ax
je     118d <or_parseMiscellaneous+0x6d>
jmp    11a0 <or_parseMiscellaneous+0x80>
mov    %rbx,%rdi
lea    0xe3f(%rip),%rsi
call   1040 <strcat@plt>
mov    %rbx,%rdi
mov    %rsp,%rsi
call   1040 <strcat@plt>
movzwl (%r14,%r13,2),%eax
cmp    $0x24,%ax
jne    11da <or_parseMiscellaneous+0xba>
mov    %rbx,%rdi
lea    0xe27(%rip),%rsi
call   1040 <strcat@plt>
mov    %rbx,%rdi
mov    %rsp,%rsi
call   1040 <strcat@plt>
movzwl (%r14,%r13,2),%eax
cmp    $0x3d,%ax
je     11e0 <or_parseMiscellaneous+0xc0>
jmp    11ff <or_parseMiscellaneous+0xdf>
mov    %rbx,%rax
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@__const.or_parseMiscellaneous.gap = [8 x i8] c" G3000 \00"
@.str = [2 x i8] c"7\00"
@.str.1 = [3 x i8] c"b3\00"
@.str.2 = [3 x i8] c"s3\00"
@.str.3 = [3 x i8] c"d3\00"
@.str.4 = [2 x i8] c"3\00"
@.str.5 = [3 x i8] c"7f\00"
@.str.6 = [3 x i8] c"j3\00"
@.str.7 = [4 x i8] c"7ch\00"
@.str.8 = [3 x i8] c"1y\00"
@.str.9 = [3 x i8] c"j7\00"
@.str.10 = [3 x i8] c"k7\00"
@.str.11 = [3 x i8] c"7l\00"
@.str.12 = [3 x i8] c"7m\00"
@.str.13 = [3 x i8] c"7n\00"
@.str.14 = [3 x i8] c"11\00"
@.str.15 = [3 x i8] c"p3\00"
@.str.16 = [5 x i8] c"kHy5\00"
@.str.17 = [3 x i8] c"2r\00"
@.str.18 = [3 x i8] c"7s\00"
@.str.19 = [4 x i8] c"tt3\00"
@.str.20 = [3 x i8] c"y5\00"
@.str.21 = [3 x i8] c"v3\00"
@.str.22 = [10 x i8] c"d1b l3 y5\00"
@.str.23 = [7 x i8] c"7 k 0s\00"
@.str.24 = [4 x i8] c"v1y\00"
@.str.25 = [6 x i8] c"3z 1d\00"
@__const.or_parseMiscellaneous.englishAlph = [26 x i8*] [i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i32 0, i32 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i32 0, i32 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i32 0, i32 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i32 0, i32 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i32 0, i32 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i32 0, i32 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.7, i32 0, i32 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.8, i32 0, i32 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.9, i32 0, i32 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.10, i32 0, i32 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.11, i32 0, i32 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.12, i32 0, i32 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.13, i32 0, i32 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.14, i32 0, i32 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.15, i32 0, i32 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.16, i32 0, i32 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.17, i32 0, i32 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.18, i32 0, i32 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.19, i32 0, i32 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.20, i32 0, i32 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.21, i32 0, i32 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.22, i32 0, i32 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.23, i32 0, i32 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.24, i32 0, i32 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.25, i32 0, i32 0)]
@.str.26 = [2 x i8] c" \00"
@.str.27 = [13 x i8] c"s1 t1 m2 n1m\00"
@.str.28 = [9 x i8] c"d12 ll1r\00"
@.str.29 = [7 x i8] c"s1 m1m\00"
@.str.30 = [4 x i8] c"1tt\00"
define i8* @or_parseMiscellaneous(i16* %0, i32 %1) {
%3 = alloca i16*
%4 = alloca i32
%5 = alloca i8*
%6 = alloca i32
%7 = alloca [8 x i8]
%8 = alloca [26 x i8*]
store i16* %0, i16** %3
store i32 %1, i32* %4
%9 = call i64 @malloc(i32 100)
%10 = inttoptr i64 %9 to i8*
store i8* %10, i8** %5
store i32 0, i32* %6
%11 = bitcast [8 x i8]* %7 to i8*
%12 = bitcast [26 x i8*]* %8 to i8*
%13 = load i8*, i8** %5
%14 = getelementptr inbounds i8, i8* %13, i64 0
store i8 0, i8* %14
%15 = load i8*, i8** %5
%16 = call i32 @strcat(i8* %15, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.26, i64 0, i64 0))
store i32 0, i32* %6
br label %17
17: ; preds = %144, %2
%18 = load i32, i32* %6
%19 = load i32, i32* %4
%20 = icmp slt i32 %18, %19
br i1 %20, label %21, label %147
21: ; preds = %17
%22 = load i16*, i16** %3
%23 = load i32, i32* %6
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i16, i16* %22, i64 %24
%26 = load i16, i16* %25
%27 = sext i16 %26 to i32
%28 = icmp sge i32 %27, 65
br i1 %28, label %29, label %53
29: ; preds = %21
%30 = load i16*, i16** %3
%31 = load i32, i32* %6
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds i16, i16* %30, i64 %32
%34 = load i16, i16* %33
%35 = sext i16 %34 to i32
%36 = icmp sle i32 %35, 90
br i1 %36, label %37, label %53
37: ; preds = %29
%38 = load i8*, i8** %5
%39 = load i16*, i16** %3
%40 = load i32, i32* %6
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i16, i16* %39, i64 %41
%43 = load i16, i16* %42
%44 = sext i16 %43 to i32
%45 = sub nsw i32 %44, 65
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds [26 x i8*], [26 x i8*]* %8, i64 0, i64 %46
%48 = load i8*, i8** %47
%49 = call i32 @strcat(i8* %38, i8* %48)
%50 = load i8*, i8** %5
%51 = getelementptr inbounds [8 x i8], [8 x i8]* %7, i64 0, i64 0
%52 = call i32 @strcat(i8* %50, i8* %51)
br label %143
53: ; preds = %29, %21
%54 = load i16*, i16** %3
%55 = load i32, i32* %6
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds i16, i16* %54, i64 %56
%58 = load i16, i16* %57
%59 = sext i16 %58 to i32
%60 = icmp sge i32 %59, 97
br i1 %60, label %61, label %85
61: ; preds = %53
%62 = load i16*, i16** %3
%63 = load i32, i32* %6
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds i16, i16* %62, i64 %64
%66 = load i16, i16* %65
%67 = sext i16 %66 to i32
%68 = icmp sle i32 %67, 122
br i1 %68, label %69, label %85
69: ; preds = %61
%70 = load i8*, i8** %5
%71 = load i16*, i16** %3
%72 = load i32, i32* %6
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds i16, i16* %71, i64 %73
%75 = load i16, i16* %74
%76 = sext i16 %75 to i32
%77 = sub nsw i32 %76, 97
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds [26 x i8*], [26 x i8*]* %8, i64 0, i64 %78
%80 = load i8*, i8** %79
%81 = call i32 @strcat(i8* %70, i8* %80)
%82 = load i8*, i8** %5
%83 = getelementptr inbounds [8 x i8], [8 x i8]* %7, i64 0, i64 0
%84 = call i32 @strcat(i8* %82, i8* %83)
br label %142
85: ; preds = %61, %53
%86 = load i16*, i16** %3
%87 = load i32, i32* %6
%88 = sext i32 %87 to i64
%89 = getelementptr inbounds i16, i16* %86, i64 %88
%90 = load i16, i16* %89
%91 = sext i16 %90 to i32
%92 = icmp eq i32 %91, 37
br i1 %92, label %93, label %99
93: ; preds = %85
%94 = load i8*, i8** %5
%95 = call i32 @strcat(i8* %94, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.27, i64 0, i64 0))
%96 = load i8*, i8** %5
%97 = getelementptr inbounds [8 x i8], [8 x i8]* %7, i64 0, i64 0
%98 = call i32 @strcat(i8* %96, i8* %97)
br label %99
99: ; preds = %93, %85
%100 = load i16*, i16** %3
%101 = load i32, i32* %6
%102 = sext i32 %101 to i64
%103 = getelementptr inbounds i16, i16* %100, i64 %102
%104 = load i16, i16* %103
%105 = sext i16 %104 to i32
%106 = icmp eq i32 %105, 36
br i1 %106, label %107, label %113
107: ; preds = %99
%108 = load i8*, i8** %5
%109 = call i32 @strcat(i8* %108, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.28, i64 0, i64 0))
%110 = load i8*, i8** %5
%111 = getelementptr inbounds [8 x i8], [8 x i8]* %7, i64 0, i64 0
%112 = call i32 @strcat(i8* %110, i8* %111)
br label %113
113: ; preds = %107, %99
%114 = load i16*, i16** %3
%115 = load i32, i32* %6
%116 = sext i32 %115 to i64
%117 = getelementptr inbounds i16, i16* %114, i64 %116
%118 = load i16, i16* %117
%119 = sext i16 %118 to i32
%120 = icmp eq i32 %119, 61
br i1 %120, label %121, label %127
121: ; preds = %113
%122 = load i8*, i8** %5
%123 = call i32 @strcat(i8* %122, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.29, i64 0, i64 0))
%124 = load i8*, i8** %5
%125 = getelementptr inbounds [8 x i8], [8 x i8]* %7, i64 0, i64 0
%126 = call i32 @strcat(i8* %124, i8* %125)
br label %127
127: ; preds = %121, %113
%128 = load i16*, i16** %3
%129 = load i32, i32* %6
%130 = sext i32 %129 to i64
%131 = getelementptr inbounds i16, i16* %128, i64 %130
%132 = load i16, i16* %131
%133 = sext i16 %132 to i32
%134 = icmp eq i32 %133, 64
br i1 %134, label %135, label %141
135: ; preds = %127
%136 = load i8*, i8** %5
%137 = call i32 @strcat(i8* %136, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.30, i64 0, i64 0))
%138 = load i8*, i8** %5
%139 = getelementptr inbounds [8 x i8], [8 x i8]* %7, i64 0, i64 0
%140 = call i32 @strcat(i8* %138, i8* %139)
br label %141
141: ; preds = %135, %127
br label %142
142: ; preds = %141, %69
br label %143
143: ; preds = %142, %37
br label %144
144: ; preds = %143
%145 = load i32, i32* %6
%146 = add nsw i32 %145, 1
store i32 %146, i32* %6
br label %17
147: ; preds = %17
%148 = load i8*, i8** %5
ret i8* %148
}

LLVM IR (-O2):
@.str = [2 x i8] c"7\00"
@.str.1 = [3 x i8] c"b3\00"
@.str.2 = [3 x i8] c"s3\00"
@.str.3 = [3 x i8] c"d3\00"
@.str.4 = [2 x i8] c"3\00"
@.str.5 = [3 x i8] c"7f\00"
@.str.6 = [3 x i8] c"j3\00"
@.str.7 = [4 x i8] c"7ch\00"
@.str.8 = [3 x i8] c"1y\00"
@.str.9 = [3 x i8] c"j7\00"
@.str.10 = [3 x i8] c"k7\00"
@.str.11 = [3 x i8] c"7l\00"
@.str.12 = [3 x i8] c"7m\00"
@.str.13 = [3 x i8] c"7n\00"
@.str.14 = [3 x i8] c"11\00"
@.str.15 = [3 x i8] c"p3\00"
@.str.16 = [5 x i8] c"kHy5\00"
@.str.17 = [3 x i8] c"2r\00"
@.str.18 = [3 x i8] c"7s\00"
@.str.19 = [4 x i8] c"tt3\00"
@.str.20 = [3 x i8] c"y5\00"
@.str.21 = [3 x i8] c"v3\00"
@.str.22 = [10 x i8] c"d1b l3 y5\00"
@.str.23 = [7 x i8] c"7 k 0s\00"
@.str.24 = [4 x i8] c"v1y\00"
@.str.25 = [6 x i8] c"3z 1d\00"
@reltable.or_parseMiscellaneous = [26 x i32] [i32 trunc (i64 sub (i64 ptrtoint ([2 x i8]* @.str to i64), i64 ptrtoint ([26 x i32]* @reltable.or_parseMiscellaneous to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([3 x i8]* @.str.1 to i64), i64 ptrtoint ([26 x i32]* @reltable.or_parseMiscellaneous to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([3 x i8]* @.str.2 to i64), i64 ptrtoint ([26 x i32]* @reltable.or_parseMiscellaneous to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([3 x i8]* @.str.3 to i64), i64 ptrtoint ([26 x i32]* @reltable.or_parseMiscellaneous to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([2 x i8]* @.str.4 to i64), i64 ptrtoint ([26 x i32]* @reltable.or_parseMiscellaneous to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([3 x i8]* @.str.5 to i64), i64 ptrtoint ([26 x i32]* @reltable.or_parseMiscellaneous to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([3 x i8]* @.str.6 to i64), i64 ptrtoint ([26 x i32]* @reltable.or_parseMiscellaneous to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([4 x i8]* @.str.7 to i64), i64 ptrtoint ([26 x i32]* @reltable.or_parseMiscellaneous to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([3 x i8]* @.str.8 to i64), i64 ptrtoint ([26 x i32]* @reltable.or_parseMiscellaneous to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([3 x i8]* @.str.9 to i64), i64 ptrtoint ([26 x i32]* @reltable.or_parseMiscellaneous to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([3 x i8]* @.str.10 to i64), i64 ptrtoint ([26 x i32]* @reltable.or_parseMiscellaneous to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([3 x i8]* @.str.11 to i64), i64 ptrtoint ([26 x i32]* @reltable.or_parseMiscellaneous to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([3 x i8]* @.str.12 to i64), i64 ptrtoint ([26 x i32]* @reltable.or_parseMiscellaneous to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([3 x i8]* @.str.13 to i64), i64 ptrtoint ([26 x i32]* @reltable.or_parseMiscellaneous to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([3 x i8]* @.str.14 to i64), i64 ptrtoint ([26 x i32]* @reltable.or_parseMiscellaneous to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([3 x i8]* @.str.15 to i64), i64 ptrtoint ([26 x i32]* @reltable.or_parseMiscellaneous to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str.16 to i64), i64 ptrtoint ([26 x i32]* @reltable.or_parseMiscellaneous to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([3 x i8]* @.str.17 to i64), i64 ptrtoint ([26 x i32]* @reltable.or_parseMiscellaneous to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([3 x i8]* @.str.18 to i64), i64 ptrtoint ([26 x i32]* @reltable.or_parseMiscellaneous to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([4 x i8]* @.str.19 to i64), i64 ptrtoint ([26 x i32]* @reltable.or_parseMiscellaneous to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([3 x i8]* @.str.20 to i64), i64 ptrtoint ([26 x i32]* @reltable.or_parseMiscellaneous to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([3 x i8]* @.str.21 to i64), i64 ptrtoint ([26 x i32]* @reltable.or_parseMiscellaneous to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([10 x i8]* @.str.22 to i64), i64 ptrtoint ([26 x i32]* @reltable.or_parseMiscellaneous to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([7 x i8]* @.str.23 to i64), i64 ptrtoint ([26 x i32]* @reltable.or_parseMiscellaneous to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([4 x i8]* @.str.24 to i64), i64 ptrtoint ([26 x i32]* @reltable.or_parseMiscellaneous to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([6 x i8]* @.str.25 to i64), i64 ptrtoint ([26 x i32]* @reltable.or_parseMiscellaneous to i64)) to i32)]
@.str.26 = [2 x i8] c" \00"
@.str.27 = [13 x i8] c"s1 t1 m2 n1m\00"
@.str.28 = [9 x i8] c"d12 ll1r\00"
@.str.29 = [7 x i8] c"s1 m1m\00"
@.str.30 = [4 x i8] c"1tt\00"
define i8* @or_parseMiscellaneous(i16* nocapture %0, i32 %1) {
%3 = alloca i64
%4 = tail call i64 @malloc(i32 100)
%5 = inttoptr i64 %4 to i8*
%6 = bitcast i64* %3 to i8*
store i64 9060182779971360, i64* %3
store i8 0, i8* %5
%7 = tail call i32 @strcat(i8* %5, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.26, i64 0, i64 0))
%8 = icmp sgt i32 %1, 0
br i1 %8, label %9, label %57
9: ; preds = %2
%10 = zext i32 %1 to i64
br label %11
11: ; preds = %9, %54
%12 = phi i64 [ 0, %9 ], [ %55, %54 ]
%13 = getelementptr inbounds i16, i16* %0, i64 %12
%14 = load i16, i16* %13
%15 = sext i16 %14 to i64
%16 = add i16 %14, -65
%17 = icmp ult i16 %16, 26
br i1 %17, label %44, label %18
18: ; preds = %11
%19 = add i16 %14, -97
%20 = icmp ult i16 %19, 26
br i1 %20, label %44, label %21
21: ; preds = %18
%22 = icmp eq i16 %14, 37
br i1 %22, label %23, label %27
23: ; preds = %21
%24 = call i32 @strcat(i8* %5, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.27, i64 0, i64 0))
%25 = call i32 @strcat(i8* %5, i8* %6)
%26 = load i16, i16* %13
br label %27
27: ; preds = %23, %21
%28 = phi i16 [ %26, %23 ], [ %14, %21 ]
%29 = icmp eq i16 %28, 36
br i1 %29, label %30, label %34
30: ; preds = %27
%31 = call i32 @strcat(i8* %5, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.28, i64 0, i64 0))
%32 = call i32 @strcat(i8* %5, i8* %6)
%33 = load i16, i16* %13
br label %34
34: ; preds = %30, %27
%35 = phi i16 [ %33, %30 ], [ %28, %27 ]
%36 = icmp eq i16 %35, 61
br i1 %36, label %37, label %41
37: ; preds = %34
%38 = call i32 @strcat(i8* %5, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.29, i64 0, i64 0))
%39 = call i32 @strcat(i8* %5, i8* %6)
%40 = load i16, i16* %13
br label %41
41: ; preds = %37, %34
%42 = phi i16 [ %40, %37 ], [ %35, %34 ]
%43 = icmp eq i16 %42, 64
br i1 %43, label %50, label %54
44: ; preds = %18, %11
%45 = phi i64 [ 4294967231, %11 ], [ 4294967199, %18 ]
%46 = add nsw i64 %45, %15
%47 = and i64 %46, 4294967295
%48 = shl i64 %47, 2
%49 = call i8* @llvm.load.relative.i64(i8* bitcast ([26 x i32]* @reltable.or_parseMiscellaneous to i8*), i64 %48)
br label %50
50: ; preds = %44, %41
%51 = phi i8* [ getelementptr inbounds ([4 x i8], [4 x i8]* @.str.30, i64 0, i64 0), %41 ], [ %49, %44 ]
%52 = call i32 @strcat(i8* %5, i8* %51)
%53 = call i32 @strcat(i8* %5, i8* %6)
br label %54
54: ; preds = %50, %41
%55 = add nuw nsw i64 %12, 1
%56 = icmp eq i64 %55, %10
br i1 %56, label %57, label %11
57: ; preds = %54, %2
ret i8* %5
}