#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*/ strcmp(char const *, char *);
int /*<<< orphan*/ strcpy(char *, char *);
int /*<<< orphan*/ strncmp(char const *, char *, int);
void mime_to_ext(const char *mime, char *buf) {
  switch (*mime) {
  case 'a':
    if (strcmp(mime + 6, "mpeg") == 0)
      strcpy(buf, "mp3");
    else if (strcmp(mime + 6, "mp4") == 0)
      strcpy(buf, "m4a");
    else if (strcmp(mime + 6, "x-ms-wma") == 0)
      strcpy(buf, "wma");
    else if (strcmp(mime + 6, "x-flac") == 0)
      strcpy(buf, "flac");
    else if (strcmp(mime + 6, "flac") == 0)
      strcpy(buf, "flac");
    else if (strcmp(mime + 6, "x-wav") == 0)
      strcpy(buf, "wav");
    else if (strncmp(mime + 6, "L16", 3) == 0)
      strcpy(buf, "pcm");
    else if (strcmp(mime + 6, "3gpp") == 0)
      strcpy(buf, "3gp");
    else if (strcmp(mime, "application/ogg") == 0)
      strcpy(buf, "ogg");
    else
      strcpy(buf, "dat");
    break;
  case 'v':
    if (strcmp(mime + 6, "avi") == 0)
      strcpy(buf, "avi");
    else if (strcmp(mime + 6, "divx") == 0)
      strcpy(buf, "avi");
    else if (strcmp(mime + 6, "x-msvideo") == 0)
      strcpy(buf, "avi");
    else if (strcmp(mime + 6, "mpeg") == 0)
      strcpy(buf, "mpg");
    else if (strcmp(mime + 6, "mp4") == 0)
      strcpy(buf, "mp4");
    else if (strcmp(mime + 6, "x-ms-wmv") == 0)
      strcpy(buf, "wmv");
    else if (strcmp(mime + 6, "x-matroska") == 0)
      strcpy(buf, "mkv");
    else if (strcmp(mime + 6, "x-mkv") == 0)
      strcpy(buf, "mkv");
    else if (strcmp(mime + 6, "x-flv") == 0)
      strcpy(buf, "flv");
    else if (strcmp(mime + 6, "vnd.dlna.mpeg-tts") == 0)
      strcpy(buf, "mpg");
    else if (strcmp(mime + 6, "quicktime") == 0)
      strcpy(buf, "mov");
    else if (strcmp(mime + 6, "3gpp") == 0)
      strcpy(buf, "3gp");
    else if (strcmp(mime + 6, "x-tivo-mpeg") == 0)
      strcpy(buf, "TiVo");
    else
      strcpy(buf, "dat");
    break;
  case 'i':
    if (strcmp(mime + 6, "jpeg") == 0)
      strcpy(buf, "jpg");
    else if (strcmp(mime + 6, "png") == 0)
      strcpy(buf, "png");
    else
      strcpy(buf, "dat");
    break;
  default:
    strcpy(buf, "dat");
    break;
  }
}


x86 assembly (clang, -O0):
<mime_to_ext>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    -0x8(%rbp),%rax
movsbl (%rax),%eax
mov    %eax,-0x14(%rbp)
sub    $0x61,%eax
je     117a <mime_to_ext+0x4a>
jmp    1158 <mime_to_ext+0x28>
mov    -0x14(%rbp),%eax
sub    $0x69,%eax
je     1655 <mime_to_ext+0x525>
jmp    1169 <mime_to_ext+0x39>
mov    -0x14(%rbp),%eax
sub    $0x76,%eax
je     137a <mime_to_ext+0x24a>
jmp    16d3 <mime_to_ext+0x5a3>
mov    -0x8(%rbp),%rdi
add    $0x6,%rdi
lea    0xf1c(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%eax
jne    11ac <mime_to_ext+0x7c>
mov    -0x10(%rbp),%rdi
lea    0xe5e(%rip),%rsi
call   1040 <strcpy@plt>
jmp    1375 <mime_to_ext+0x245>
mov    -0x8(%rbp),%rdi
add    $0x6,%rdi
lea    0xe49(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%eax
jne    11de <mime_to_ext+0xae>
mov    -0x10(%rbp),%rdi
lea    0xe34(%rip),%rsi
call   1040 <strcpy@plt>
jmp    1370 <mime_to_ext+0x240>
mov    -0x8(%rbp),%rdi
add    $0x6,%rdi
lea    0xe1f(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%eax
jne    1210 <mime_to_ext+0xe0>
mov    -0x10(%rbp),%rdi
lea    0xe0b(%rip),%rsi
call   1040 <strcpy@plt>
jmp    136b <mime_to_ext+0x23b>
mov    -0x8(%rbp),%rdi
add    $0x6,%rdi
lea    0xdf6(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%eax
jne    1242 <mime_to_ext+0x112>
mov    -0x10(%rbp),%rdi
lea    0xddf(%rip),%rsi
call   1040 <strcpy@plt>
jmp    1366 <mime_to_ext+0x236>
mov    -0x8(%rbp),%rdi
add    $0x6,%rdi
lea    0xdc6(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%eax
jne    1274 <mime_to_ext+0x144>
mov    -0x10(%rbp),%rdi
lea    0xdad(%rip),%rsi
call   1040 <strcpy@plt>
jmp    1361 <mime_to_ext+0x231>
mov    -0x8(%rbp),%rdi
add    $0x6,%rdi
lea    0xd99(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%eax
jne    12a6 <mime_to_ext+0x176>
mov    -0x10(%rbp),%rdi
lea    0xd82(%rip),%rsi
call   1040 <strcpy@plt>
jmp    135c <mime_to_ext+0x22c>
mov    -0x8(%rbp),%rdi
add    $0x6,%rdi
lea    0xd6d(%rip),%rsi
mov    $0x3,%edx
call   1030 <strncmp@plt>
cmp    $0x0,%eax
jne    12dd <mime_to_ext+0x1ad>
mov    -0x10(%rbp),%rdi
lea    0xd53(%rip),%rsi
call   1040 <strcpy@plt>
jmp    1357 <mime_to_ext+0x227>
mov    -0x8(%rbp),%rdi
add    $0x6,%rdi
lea    0xd3e(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%eax
jne    130f <mime_to_ext+0x1df>
mov    -0x10(%rbp),%rdi
lea    0xd2a(%rip),%rsi
call   1040 <strcpy@plt>
jmp    1352 <mime_to_ext+0x222>
mov    -0x8(%rbp),%rdi
lea    0xd19(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%eax
jne    133d <mime_to_ext+0x20d>
mov    -0x10(%rbp),%rdi
lea    0xd0c(%rip),%rsi
call   1040 <strcpy@plt>
jmp    134d <mime_to_ext+0x21d>
mov    -0x10(%rbp),%rdi
lea    0xcfb(%rip),%rsi
call   1040 <strcpy@plt>
jmp    1352 <mime_to_ext+0x222>
jmp    1357 <mime_to_ext+0x227>
jmp    135c <mime_to_ext+0x22c>
jmp    1361 <mime_to_ext+0x231>
jmp    1366 <mime_to_ext+0x236>
jmp    136b <mime_to_ext+0x23b>
jmp    1370 <mime_to_ext+0x240>
jmp    1375 <mime_to_ext+0x245>
jmp    16e3 <mime_to_ext+0x5b3>
mov    -0x8(%rbp),%rdi
add    $0x6,%rdi
lea    0xcbe(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%eax
jne    13ac <mime_to_ext+0x27c>
mov    -0x10(%rbp),%rdi
lea    0xca5(%rip),%rsi
call   1040 <strcpy@plt>
jmp    1650 <mime_to_ext+0x520>
mov    -0x8(%rbp),%rdi
add    $0x6,%rdi
lea    0xc90(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%eax
jne    13de <mime_to_ext+0x2ae>
mov    -0x10(%rbp),%rdi
lea    0xc73(%rip),%rsi
call   1040 <strcpy@plt>
jmp    164b <mime_to_ext+0x51b>
mov    -0x8(%rbp),%rdi
add    $0x6,%rdi
lea    0xc63(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%eax
jne    1410 <mime_to_ext+0x2e0>
mov    -0x10(%rbp),%rdi
lea    0xc41(%rip),%rsi
call   1040 <strcpy@plt>
jmp    1646 <mime_to_ext+0x516>
mov    -0x8(%rbp),%rdi
add    $0x6,%rdi
lea    0xc86(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%eax
jne    1442 <mime_to_ext+0x312>
mov    -0x10(%rbp),%rdi
lea    0xc22(%rip),%rsi
call   1040 <strcpy@plt>
jmp    1641 <mime_to_ext+0x511>
mov    -0x8(%rbp),%rdi
add    $0x6,%rdi
lea    0xbb3(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%eax
jne    1474 <mime_to_ext+0x344>
mov    -0x10(%rbp),%rdi
lea    0xb9a(%rip),%rsi
call   1040 <strcpy@plt>
jmp    163c <mime_to_ext+0x50c>
mov    -0x8(%rbp),%rdi
add    $0x6,%rdi
lea    0xbdb(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%eax
jne    14a6 <mime_to_ext+0x376>
mov    -0x10(%rbp),%rdi
lea    0xbc7(%rip),%rsi
call   1040 <strcpy@plt>
jmp    1637 <mime_to_ext+0x507>
mov    -0x8(%rbp),%rdi
add    $0x6,%rdi
lea    0xbb2(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%eax
jne    14d8 <mime_to_ext+0x3a8>
mov    -0x10(%rbp),%rdi
lea    0xba6(%rip),%rsi
call   1040 <strcpy@plt>
jmp    1632 <mime_to_ext+0x502>
mov    -0x8(%rbp),%rdi
add    $0x6,%rdi
lea    0xb8b(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%eax
jne    150a <mime_to_ext+0x3da>
mov    -0x10(%rbp),%rdi
lea    0xb74(%rip),%rsi
call   1040 <strcpy@plt>
jmp    162d <mime_to_ext+0x4fd>
mov    -0x8(%rbp),%rdi
add    $0x6,%rdi
lea    0xb5f(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%eax
jne    153c <mime_to_ext+0x40c>
mov    -0x10(%rbp),%rdi
lea    0xb48(%rip),%rsi
call   1040 <strcpy@plt>
jmp    1628 <mime_to_ext+0x4f8>
mov    -0x8(%rbp),%rdi
add    $0x6,%rdi
lea    0xb33(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%eax
jne    156e <mime_to_ext+0x43e>
mov    -0x10(%rbp),%rdi
lea    0xaf6(%rip),%rsi
call   1040 <strcpy@plt>
jmp    1623 <mime_to_ext+0x4f3>
mov    -0x8(%rbp),%rdi
add    $0x6,%rdi
lea    0xb13(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%eax
jne    15a0 <mime_to_ext+0x470>
mov    -0x10(%rbp),%rdi
lea    0xb04(%rip),%rsi
call   1040 <strcpy@plt>
jmp    161e <mime_to_ext+0x4ee>
mov    -0x8(%rbp),%rdi
add    $0x6,%rdi
lea    0xa7b(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%eax
jne    15d2 <mime_to_ext+0x4a2>
mov    -0x10(%rbp),%rdi
lea    0xa67(%rip),%rsi
call   1040 <strcpy@plt>
jmp    1619 <mime_to_ext+0x4e9>
mov    -0x8(%rbp),%rdi
add    $0x6,%rdi
lea    0xabd(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%eax
jne    1604 <mime_to_ext+0x4d4>
mov    -0x10(%rbp),%rdi
lea    0xab0(%rip),%rsi
call   1040 <strcpy@plt>
jmp    1614 <mime_to_ext+0x4e4>
mov    -0x10(%rbp),%rdi
lea    0xa34(%rip),%rsi
call   1040 <strcpy@plt>
jmp    1619 <mime_to_ext+0x4e9>
jmp    161e <mime_to_ext+0x4ee>
jmp    1623 <mime_to_ext+0x4f3>
jmp    1628 <mime_to_ext+0x4f8>
jmp    162d <mime_to_ext+0x4fd>
jmp    1632 <mime_to_ext+0x502>
jmp    1637 <mime_to_ext+0x507>
jmp    163c <mime_to_ext+0x50c>
jmp    1641 <mime_to_ext+0x511>
jmp    1646 <mime_to_ext+0x516>
jmp    164b <mime_to_ext+0x51b>
jmp    1650 <mime_to_ext+0x520>
jmp    16e3 <mime_to_ext+0x5b3>
mov    -0x8(%rbp),%rdi
add    $0x6,%rdi
lea    0xa4b(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%eax
jne    1687 <mime_to_ext+0x557>
mov    -0x10(%rbp),%rdi
lea    0xa37(%rip),%rsi
call   1040 <strcpy@plt>
jmp    16ce <mime_to_ext+0x59e>
mov    -0x8(%rbp),%rdi
add    $0x6,%rdi
lea    0xa22(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%eax
jne    16b9 <mime_to_ext+0x589>
mov    -0x10(%rbp),%rdi
lea    0xa09(%rip),%rsi
call   1040 <strcpy@plt>
jmp    16c9 <mime_to_ext+0x599>
mov    -0x10(%rbp),%rdi
lea    0x97f(%rip),%rsi
call   1040 <strcpy@plt>
jmp    16ce <mime_to_ext+0x59e>
jmp    16e3 <mime_to_ext+0x5b3>
mov    -0x10(%rbp),%rdi
lea    0x965(%rip),%rsi
call   1040 <strcpy@plt>
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<mime_to_ext>:
push   %r15
push   %r14
push   %r12
push   %rbx
push   %rax
mov    %rsi,%r14
mov    %rdi,%r15
movsbl (%rdi),%eax
cmp    $0x76,%eax
je     1248 <mime_to_ext+0x118>
cmp    $0x69,%eax
je     1394 <mime_to_ext+0x264>
cmp    $0x61,%eax
jne    13cc <mime_to_ext+0x29c>
lea    0x6(%r15),%r12
lea    0xf3e(%rip),%rsi
mov    %r12,%rdi
call   1050 <strcmp@plt>
test   %eax,%eax
je     13d5 <mime_to_ext+0x2a5>
lea    0xe86(%rip),%rsi
mov    %r12,%rdi
call   1050 <strcmp@plt>
test   %eax,%eax
je     13e7 <mime_to_ext+0x2b7>
lea    0xe77(%rip),%rsi
mov    %r12,%rdi
call   1050 <strcmp@plt>
test   %eax,%eax
je     13f0 <mime_to_ext+0x2c0>
lea    0xe69(%rip),%rsi
mov    %r12,%rdi
call   1050 <strcmp@plt>
lea    0xe5c(%rip),%rbx
test   %eax,%eax
je     1432 <mime_to_ext+0x302>
mov    %r12,%rdi
mov    %rbx,%rsi
call   1050 <strcmp@plt>
test   %eax,%eax
je     1432 <mime_to_ext+0x302>
lea    0xe3f(%rip),%rsi
mov    %r12,%rdi
call   1050 <strcmp@plt>
test   %eax,%eax
je     13fe <mime_to_ext+0x2ce>
lea    0xe2e(%rip),%rsi
mov    %r12,%rdi
mov    $0x3,%edx
call   1030 <strncmp@plt>
test   %eax,%eax
je     1410 <mime_to_ext+0x2e0>
lea    0xe1a(%rip),%rsi
mov    %r12,%rdi
call   1050 <strcmp@plt>
test   %eax,%eax
je     1419 <mime_to_ext+0x2e9>
lea    0xe0c(%rip),%rsi
mov    %r15,%rdi
call   1050 <strcmp@plt>
test   %eax,%eax
lea    0xe07(%rip),%rax
lea    0xe04(%rip),%rbx
cmove  %rax,%rbx
jmp    1432 <mime_to_ext+0x302>
add    $0x6,%r15
lea    0xdf4(%rip),%rbx
mov    %r15,%rdi
mov    %rbx,%rsi
call   1050 <strcmp@plt>
test   %eax,%eax
je     1432 <mime_to_ext+0x302>
lea    0xdde(%rip),%rsi
mov    %r15,%rdi
call   1050 <strcmp@plt>
test   %eax,%eax
je     1432 <mime_to_ext+0x302>
lea    0xdcc(%rip),%rsi
mov    %r15,%rdi
call   1050 <strcmp@plt>
test   %eax,%eax
je     1432 <mime_to_ext+0x302>
lea    0xe0a(%rip),%rsi
mov    %r15,%rdi
call   1050 <strcmp@plt>
lea    0xdb0(%rip),%r12
test   %eax,%eax
je     13f9 <mime_to_ext+0x2c9>
lea    0xd4b(%rip),%rbx
mov    %r15,%rdi
mov    %rbx,%rsi
call   1050 <strcmp@plt>
test   %eax,%eax
je     1432 <mime_to_ext+0x302>
lea    0xd8b(%rip),%rsi
mov    %r15,%rdi
call   1050 <strcmp@plt>
test   %eax,%eax
je     1407 <mime_to_ext+0x2d7>
lea    0xd7d(%rip),%rsi
mov    %r15,%rdi
call   1050 <strcmp@plt>
lea    0xd7b(%rip),%rbx
test   %eax,%eax
je     1432 <mime_to_ext+0x302>
lea    0xd6a(%rip),%rsi
mov    %r15,%rdi
call   1050 <strcmp@plt>
test   %eax,%eax
je     1432 <mime_to_ext+0x302>
lea    0xd59(%rip),%rsi
mov    %r15,%rdi
call   1050 <strcmp@plt>
test   %eax,%eax
je     1422 <mime_to_ext+0x2f2>
lea    0xd48(%rip),%rsi
mov    %r15,%rdi
call   1050 <strcmp@plt>
mov    %r12,%rbx
test   %eax,%eax
je     1432 <mime_to_ext+0x302>
lea    0xd40(%rip),%rsi
mov    %r15,%rdi
call   1050 <strcmp@plt>
test   %eax,%eax
je     142b <mime_to_ext+0x2fb>
lea    0xcc3(%rip),%rsi
mov    %r15,%rdi
call   1050 <strcmp@plt>
test   %eax,%eax
je     1419 <mime_to_ext+0x2e9>
lea    0xd20(%rip),%rsi
mov    %r15,%rdi
call   1050 <strcmp@plt>
test   %eax,%eax
lea    0xd1b(%rip),%rax
jmp    1238 <mime_to_ext+0x108>
add    $0x6,%r15
lea    0xd10(%rip),%rsi
mov    %r15,%rdi
call   1050 <strcmp@plt>
test   %eax,%eax
je     13de <mime_to_ext+0x2ae>
lea    0xd06(%rip),%r12
mov    %r15,%rdi
mov    %r12,%rsi
call   1050 <strcmp@plt>
test   %eax,%eax
lea    0xc7d(%rip),%rbx
cmove  %r12,%rbx
jmp    1432 <mime_to_ext+0x302>
lea    0xc70(%rip),%rbx
jmp    1432 <mime_to_ext+0x302>
lea    0xc24(%rip),%rbx
jmp    1432 <mime_to_ext+0x302>
lea    0xccf(%rip),%rbx
jmp    1432 <mime_to_ext+0x302>
lea    0xc1a(%rip),%rbx
jmp    1432 <mime_to_ext+0x302>
lea    0xc1a(%rip),%rbx
jmp    1432 <mime_to_ext+0x302>
mov    %r12,%rbx
jmp    1432 <mime_to_ext+0x302>
lea    0xc19(%rip),%rbx
jmp    1432 <mime_to_ext+0x302>
lea    0xc55(%rip),%rbx
jmp    1432 <mime_to_ext+0x302>
lea    0xc0f(%rip),%rbx
jmp    1432 <mime_to_ext+0x302>
lea    0xc0f(%rip),%rbx
jmp    1432 <mime_to_ext+0x302>
lea    0xc51(%rip),%rbx
jmp    1432 <mime_to_ext+0x302>
lea    0xc68(%rip),%rbx
mov    %r14,%rdi
mov    %rbx,%rsi
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
jmp    1040 <strcpy@plt>

LLVM IR (-O0):
@.str = [5 x i8] c"mpeg\00"
@.str.1 = [4 x i8] c"mp3\00"
@.str.2 = [4 x i8] c"mp4\00"
@.str.3 = [4 x i8] c"m4a\00"
@.str.4 = [9 x i8] c"x-ms-wma\00"
@.str.5 = [4 x i8] c"wma\00"
@.str.6 = [7 x i8] c"x-flac\00"
@.str.7 = [5 x i8] c"flac\00"
@.str.8 = [6 x i8] c"x-wav\00"
@.str.9 = [4 x i8] c"wav\00"
@.str.10 = [4 x i8] c"L16\00"
@.str.11 = [4 x i8] c"pcm\00"
@.str.12 = [5 x i8] c"3gpp\00"
@.str.13 = [4 x i8] c"3gp\00"
@.str.14 = [16 x i8] c"application/ogg\00"
@.str.15 = [4 x i8] c"ogg\00"
@.str.16 = [4 x i8] c"dat\00"
@.str.17 = [4 x i8] c"avi\00"
@.str.18 = [5 x i8] c"divx\00"
@.str.19 = [10 x i8] c"x-msvideo\00"
@.str.20 = [4 x i8] c"mpg\00"
@.str.21 = [9 x i8] c"x-ms-wmv\00"
@.str.22 = [4 x i8] c"wmv\00"
@.str.23 = [11 x i8] c"x-matroska\00"
@.str.24 = [4 x i8] c"mkv\00"
@.str.25 = [6 x i8] c"x-mkv\00"
@.str.26 = [6 x i8] c"x-flv\00"
@.str.27 = [4 x i8] c"flv\00"
@.str.28 = [18 x i8] c"vnd.dlna.mpeg-tts\00"
@.str.29 = [10 x i8] c"quicktime\00"
@.str.30 = [4 x i8] c"mov\00"
@.str.31 = [12 x i8] c"x-tivo-mpeg\00"
@.str.32 = [5 x i8] c"TiVo\00"
@.str.33 = [5 x i8] c"jpeg\00"
@.str.34 = [4 x i8] c"jpg\00"
@.str.35 = [4 x i8] c"png\00"
define void @mime_to_ext(i8* %0, i8* %1) {
%3 = alloca i8*
%4 = alloca i8*
store i8* %0, i8** %3
store i8* %1, i8** %4
%5 = load i8*, i8** %3
%6 = load i8, i8* %5
%7 = sext i8 %6 to i32
switch i32 %7, label %232 [
i32 97, label %8
i32 118, label %91
i32 105, label %211
]
8: ; preds = %2
%9 = load i8*, i8** %3
%10 = getelementptr inbounds i8, i8* %9, i64 6
%11 = call i32 @strcmp(i8* %10, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0))
%12 = icmp eq i32 %11, 0
br i1 %12, label %13, label %16
13: ; preds = %8
%14 = load i8*, i8** %4
%15 = call i32 @strcpy(i8* %14, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0))
br label %90
16: ; preds = %8
%17 = load i8*, i8** %3
%18 = getelementptr inbounds i8, i8* %17, i64 6
%19 = call i32 @strcmp(i8* %18, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0))
%20 = icmp eq i32 %19, 0
br i1 %20, label %21, label %24
21: ; preds = %16
%22 = load i8*, i8** %4
%23 = call i32 @strcpy(i8* %22, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0))
br label %89
24: ; preds = %16
%25 = load i8*, i8** %3
%26 = getelementptr inbounds i8, i8* %25, i64 6
%27 = call i32 @strcmp(i8* %26, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0))
%28 = icmp eq i32 %27, 0
br i1 %28, label %29, label %32
29: ; preds = %24
%30 = load i8*, i8** %4
%31 = call i32 @strcpy(i8* %30, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.5, i64 0, i64 0))
br label %88
32: ; preds = %24
%33 = load i8*, i8** %3
%34 = getelementptr inbounds i8, i8* %33, i64 6
%35 = call i32 @strcmp(i8* %34, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.6, i64 0, i64 0))
%36 = icmp eq i32 %35, 0
br i1 %36, label %37, label %40
37: ; preds = %32
%38 = load i8*, i8** %4
%39 = call i32 @strcpy(i8* %38, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0))
br label %87
40: ; preds = %32
%41 = load i8*, i8** %3
%42 = getelementptr inbounds i8, i8* %41, i64 6
%43 = call i32 @strcmp(i8* %42, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0))
%44 = icmp eq i32 %43, 0
br i1 %44, label %45, label %48
45: ; preds = %40
%46 = load i8*, i8** %4
%47 = call i32 @strcpy(i8* %46, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0))
br label %86
48: ; preds = %40
%49 = load i8*, i8** %3
%50 = getelementptr inbounds i8, i8* %49, i64 6
%51 = call i32 @strcmp(i8* %50, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.8, i64 0, i64 0))
%52 = icmp eq i32 %51, 0
br i1 %52, label %53, label %56
53: ; preds = %48
%54 = load i8*, i8** %4
%55 = call i32 @strcpy(i8* %54, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.9, i64 0, i64 0))
br label %85
56: ; preds = %48
%57 = load i8*, i8** %3
%58 = getelementptr inbounds i8, i8* %57, i64 6
%59 = call i32 @strncmp(i8* %58, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.10, i64 0, i64 0), i32 3)
%60 = icmp eq i32 %59, 0
br i1 %60, label %61, label %64
61: ; preds = %56
%62 = load i8*, i8** %4
%63 = call i32 @strcpy(i8* %62, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.11, i64 0, i64 0))
br label %84
64: ; preds = %56
%65 = load i8*, i8** %3
%66 = getelementptr inbounds i8, i8* %65, i64 6
%67 = call i32 @strcmp(i8* %66, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.12, i64 0, i64 0))
%68 = icmp eq i32 %67, 0
br i1 %68, label %69, label %72
69: ; preds = %64
%70 = load i8*, i8** %4
%71 = call i32 @strcpy(i8* %70, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.13, i64 0, i64 0))
br label %83
72: ; preds = %64
%73 = load i8*, i8** %3
%74 = call i32 @strcmp(i8* %73, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.14, i64 0, i64 0))
%75 = icmp eq i32 %74, 0
br i1 %75, label %76, label %79
76: ; preds = %72
%77 = load i8*, i8** %4
%78 = call i32 @strcpy(i8* %77, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.15, i64 0, i64 0))
br label %82
79: ; preds = %72
%80 = load i8*, i8** %4
%81 = call i32 @strcpy(i8* %80, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.16, i64 0, i64 0))
br label %82
82: ; preds = %79, %76
br label %83
83: ; preds = %82, %69
br label %84
84: ; preds = %83, %61
br label %85
85: ; preds = %84, %53
br label %86
86: ; preds = %85, %45
br label %87
87: ; preds = %86, %37
br label %88
88: ; preds = %87, %29
br label %89
89: ; preds = %88, %21
br label %90
90: ; preds = %89, %13
br label %235
91: ; preds = %2
%92 = load i8*, i8** %3
%93 = getelementptr inbounds i8, i8* %92, i64 6
%94 = call i32 @strcmp(i8* %93, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.17, i64 0, i64 0))
%95 = icmp eq i32 %94, 0
br i1 %95, label %96, label %99
96: ; preds = %91
%97 = load i8*, i8** %4
%98 = call i32 @strcpy(i8* %97, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.17, i64 0, i64 0))
br label %210
99: ; preds = %91
%100 = load i8*, i8** %3
%101 = getelementptr inbounds i8, i8* %100, i64 6
%102 = call i32 @strcmp(i8* %101, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.18, i64 0, i64 0))
%103 = icmp eq i32 %102, 0
br i1 %103, label %104, label %107
104: ; preds = %99
%105 = load i8*, i8** %4
%106 = call i32 @strcpy(i8* %105, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.17, i64 0, i64 0))
br label %209
107: ; preds = %99
%108 = load i8*, i8** %3
%109 = getelementptr inbounds i8, i8* %108, i64 6
%110 = call i32 @strcmp(i8* %109, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.19, i64 0, i64 0))
%111 = icmp eq i32 %110, 0
br i1 %111, label %112, label %115
112: ; preds = %107
%113 = load i8*, i8** %4
%114 = call i32 @strcpy(i8* %113, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.17, i64 0, i64 0))
br label %208
115: ; preds = %107
%116 = load i8*, i8** %3
%117 = getelementptr inbounds i8, i8* %116, i64 6
%118 = call i32 @strcmp(i8* %117, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0))
%119 = icmp eq i32 %118, 0
br i1 %119, label %120, label %123
120: ; preds = %115
%121 = load i8*, i8** %4
%122 = call i32 @strcpy(i8* %121, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.20, i64 0, i64 0))
br label %207
123: ; preds = %115
%124 = load i8*, i8** %3
%125 = getelementptr inbounds i8, i8* %124, i64 6
%126 = call i32 @strcmp(i8* %125, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0))
%127 = icmp eq i32 %126, 0
br i1 %127, label %128, label %131
128: ; preds = %123
%129 = load i8*, i8** %4
%130 = call i32 @strcpy(i8* %129, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0))
br label %206
131: ; preds = %123
%132 = load i8*, i8** %3
%133 = getelementptr inbounds i8, i8* %132, i64 6
%134 = call i32 @strcmp(i8* %133, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.21, i64 0, i64 0))
%135 = icmp eq i32 %134, 0
br i1 %135, label %136, label %139
136: ; preds = %131
%137 = load i8*, i8** %4
%138 = call i32 @strcpy(i8* %137, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.22, i64 0, i64 0))
br label %205
139: ; preds = %131
%140 = load i8*, i8** %3
%141 = getelementptr inbounds i8, i8* %140, i64 6
%142 = call i32 @strcmp(i8* %141, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.23, i64 0, i64 0))
%143 = icmp eq i32 %142, 0
br i1 %143, label %144, label %147
144: ; preds = %139
%145 = load i8*, i8** %4
%146 = call i32 @strcpy(i8* %145, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.24, i64 0, i64 0))
br label %204
147: ; preds = %139
%148 = load i8*, i8** %3
%149 = getelementptr inbounds i8, i8* %148, i64 6
%150 = call i32 @strcmp(i8* %149, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.25, i64 0, i64 0))
%151 = icmp eq i32 %150, 0
br i1 %151, label %152, label %155
152: ; preds = %147
%153 = load i8*, i8** %4
%154 = call i32 @strcpy(i8* %153, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.24, i64 0, i64 0))
br label %203
155: ; preds = %147
%156 = load i8*, i8** %3
%157 = getelementptr inbounds i8, i8* %156, i64 6
%158 = call i32 @strcmp(i8* %157, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.26, i64 0, i64 0))
%159 = icmp eq i32 %158, 0
br i1 %159, label %160, label %163
160: ; preds = %155
%161 = load i8*, i8** %4
%162 = call i32 @strcpy(i8* %161, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.27, i64 0, i64 0))
br label %202
163: ; preds = %155
%164 = load i8*, i8** %3
%165 = getelementptr inbounds i8, i8* %164, i64 6
%166 = call i32 @strcmp(i8* %165, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.28, i64 0, i64 0))
%167 = icmp eq i32 %166, 0
br i1 %167, label %168, label %171
168: ; preds = %163
%169 = load i8*, i8** %4
%170 = call i32 @strcpy(i8* %169, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.20, i64 0, i64 0))
br label %201
171: ; preds = %163
%172 = load i8*, i8** %3
%173 = getelementptr inbounds i8, i8* %172, i64 6
%174 = call i32 @strcmp(i8* %173, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.29, i64 0, i64 0))
%175 = icmp eq i32 %174, 0
br i1 %175, label %176, label %179
176: ; preds = %171
%177 = load i8*, i8** %4
%178 = call i32 @strcpy(i8* %177, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.30, i64 0, i64 0))
br label %200
179: ; preds = %171
%180 = load i8*, i8** %3
%181 = getelementptr inbounds i8, i8* %180, i64 6
%182 = call i32 @strcmp(i8* %181, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.12, i64 0, i64 0))
%183 = icmp eq i32 %182, 0
br i1 %183, label %184, label %187
184: ; preds = %179
%185 = load i8*, i8** %4
%186 = call i32 @strcpy(i8* %185, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.13, i64 0, i64 0))
br label %199
187: ; preds = %179
%188 = load i8*, i8** %3
%189 = getelementptr inbounds i8, i8* %188, i64 6
%190 = call i32 @strcmp(i8* %189, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.31, i64 0, i64 0))
%191 = icmp eq i32 %190, 0
br i1 %191, label %192, label %195
192: ; preds = %187
%193 = load i8*, i8** %4
%194 = call i32 @strcpy(i8* %193, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.32, i64 0, i64 0))
br label %198
195: ; preds = %187
%196 = load i8*, i8** %4
%197 = call i32 @strcpy(i8* %196, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.16, i64 0, i64 0))
br label %198
198: ; preds = %195, %192
br label %199
199: ; preds = %198, %184
br label %200
200: ; preds = %199, %176
br label %201
201: ; preds = %200, %168
br label %202
202: ; preds = %201, %160
br label %203
203: ; preds = %202, %152
br label %204
204: ; preds = %203, %144
br label %205
205: ; preds = %204, %136
br label %206
206: ; preds = %205, %128
br label %207
207: ; preds = %206, %120
br label %208
208: ; preds = %207, %112
br label %209
209: ; preds = %208, %104
br label %210
210: ; preds = %209, %96
br label %235
211: ; preds = %2
%212 = load i8*, i8** %3
%213 = getelementptr inbounds i8, i8* %212, i64 6
%214 = call i32 @strcmp(i8* %213, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.33, i64 0, i64 0))
%215 = icmp eq i32 %214, 0
br i1 %215, label %216, label %219
216: ; preds = %211
%217 = load i8*, i8** %4
%218 = call i32 @strcpy(i8* %217, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.34, i64 0, i64 0))
br label %231
219: ; preds = %211
%220 = load i8*, i8** %3
%221 = getelementptr inbounds i8, i8* %220, i64 6
%222 = call i32 @strcmp(i8* %221, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.35, i64 0, i64 0))
%223 = icmp eq i32 %222, 0
br i1 %223, label %224, label %227
224: ; preds = %219
%225 = load i8*, i8** %4
%226 = call i32 @strcpy(i8* %225, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.35, i64 0, i64 0))
br label %230
227: ; preds = %219
%228 = load i8*, i8** %4
%229 = call i32 @strcpy(i8* %228, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.16, i64 0, i64 0))
br label %230
230: ; preds = %227, %224
br label %231
231: ; preds = %230, %216
br label %235
232: ; preds = %2
%233 = load i8*, i8** %4
%234 = call i32 @strcpy(i8* %233, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.16, i64 0, i64 0))
br label %235
235: ; preds = %232, %231, %210, %90
ret void
}

LLVM IR (-O2):
@.str = [5 x i8] c"mpeg\00"
@.str.1 = [4 x i8] c"mp3\00"
@.str.2 = [4 x i8] c"mp4\00"
@.str.3 = [4 x i8] c"m4a\00"
@.str.4 = [9 x i8] c"x-ms-wma\00"
@.str.5 = [4 x i8] c"wma\00"
@.str.6 = [7 x i8] c"x-flac\00"
@.str.7 = [5 x i8] c"flac\00"
@.str.8 = [6 x i8] c"x-wav\00"
@.str.9 = [4 x i8] c"wav\00"
@.str.10 = [4 x i8] c"L16\00"
@.str.11 = [4 x i8] c"pcm\00"
@.str.12 = [5 x i8] c"3gpp\00"
@.str.13 = [4 x i8] c"3gp\00"
@.str.14 = [16 x i8] c"application/ogg\00"
@.str.15 = [4 x i8] c"ogg\00"
@.str.16 = [4 x i8] c"dat\00"
@.str.17 = [4 x i8] c"avi\00"
@.str.18 = [5 x i8] c"divx\00"
@.str.19 = [10 x i8] c"x-msvideo\00"
@.str.20 = [4 x i8] c"mpg\00"
@.str.21 = [9 x i8] c"x-ms-wmv\00"
@.str.22 = [4 x i8] c"wmv\00"
@.str.23 = [11 x i8] c"x-matroska\00"
@.str.24 = [4 x i8] c"mkv\00"
@.str.25 = [6 x i8] c"x-mkv\00"
@.str.26 = [6 x i8] c"x-flv\00"
@.str.27 = [4 x i8] c"flv\00"
@.str.28 = [18 x i8] c"vnd.dlna.mpeg-tts\00"
@.str.29 = [10 x i8] c"quicktime\00"
@.str.30 = [4 x i8] c"mov\00"
@.str.31 = [12 x i8] c"x-tivo-mpeg\00"
@.str.32 = [5 x i8] c"TiVo\00"
@.str.33 = [5 x i8] c"jpeg\00"
@.str.34 = [4 x i8] c"jpg\00"
@.str.35 = [4 x i8] c"png\00"
define void @mime_to_ext(i8* %0, i8* %1) {
%3 = load i8, i8* %0
%4 = sext i8 %3 to i32
switch i32 %4, label %83 [
i32 97, label %5
i32 118, label %34
i32 105, label %75
]
5: ; preds = %2
%6 = getelementptr inbounds i8, i8* %0, i64 6
%7 = tail call i32 @strcmp(i8* %6, i8* dereferenceable(5) getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0))
%8 = icmp eq i32 %7, 0
br i1 %8, label %83, label %9
9: ; preds = %5
%10 = tail call i32 @strcmp(i8* %6, i8* dereferenceable(4) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0))
%11 = icmp eq i32 %10, 0
br i1 %11, label %83, label %12
12: ; preds = %9
%13 = tail call i32 @strcmp(i8* %6, i8* dereferenceable(9) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0))
%14 = icmp eq i32 %13, 0
br i1 %14, label %83, label %15
15: ; preds = %12
%16 = tail call i32 @strcmp(i8* %6, i8* dereferenceable(7) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.6, i64 0, i64 0))
%17 = icmp eq i32 %16, 0
br i1 %17, label %83, label %18
18: ; preds = %15
%19 = tail call i32 @strcmp(i8* %6, i8* dereferenceable(5) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0))
%20 = icmp eq i32 %19, 0
br i1 %20, label %83, label %21
21: ; preds = %18
%22 = tail call i32 @strcmp(i8* %6, i8* dereferenceable(6) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.8, i64 0, i64 0))
%23 = icmp eq i32 %22, 0
br i1 %23, label %83, label %24
24: ; preds = %21
%25 = tail call i32 @strncmp(i8* %6, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.10, i64 0, i64 0), i32 3)
%26 = icmp eq i32 %25, 0
br i1 %26, label %83, label %27
27: ; preds = %24
%28 = tail call i32 @strcmp(i8* %6, i8* dereferenceable(5) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.12, i64 0, i64 0))
%29 = icmp eq i32 %28, 0
br i1 %29, label %83, label %30
30: ; preds = %27
%31 = tail call i32 @strcmp(i8* %0, i8* dereferenceable(16) getelementptr inbounds ([16 x i8], [16 x i8]* @.str.14, i64 0, i64 0))
%32 = icmp eq i32 %31, 0
%33 = select i1 %32, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.15, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.16, i64 0, i64 0)
br label %83
34: ; preds = %2
%35 = getelementptr inbounds i8, i8* %0, i64 6
%36 = tail call i32 @strcmp(i8* %35, i8* dereferenceable(4) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.17, i64 0, i64 0))
%37 = icmp eq i32 %36, 0
br i1 %37, label %83, label %38
38: ; preds = %34
%39 = tail call i32 @strcmp(i8* %35, i8* dereferenceable(5) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.18, i64 0, i64 0))
%40 = icmp eq i32 %39, 0
br i1 %40, label %83, label %41
41: ; preds = %38
%42 = tail call i32 @strcmp(i8* %35, i8* dereferenceable(10) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.19, i64 0, i64 0))
%43 = icmp eq i32 %42, 0
br i1 %43, label %83, label %44
44: ; preds = %41
%45 = tail call i32 @strcmp(i8* %35, i8* dereferenceable(5) getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0))
%46 = icmp eq i32 %45, 0
br i1 %46, label %83, label %47
47: ; preds = %44
%48 = tail call i32 @strcmp(i8* %35, i8* dereferenceable(4) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0))
%49 = icmp eq i32 %48, 0
br i1 %49, label %83, label %50
50: ; preds = %47
%51 = tail call i32 @strcmp(i8* %35, i8* dereferenceable(9) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.21, i64 0, i64 0))
%52 = icmp eq i32 %51, 0
br i1 %52, label %83, label %53
53: ; preds = %50
%54 = tail call i32 @strcmp(i8* %35, i8* dereferenceable(11) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.23, i64 0, i64 0))
%55 = icmp eq i32 %54, 0
br i1 %55, label %83, label %56
56: ; preds = %53
%57 = tail call i32 @strcmp(i8* %35, i8* dereferenceable(6) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.25, i64 0, i64 0))
%58 = icmp eq i32 %57, 0
br i1 %58, label %83, label %59
59: ; preds = %56
%60 = tail call i32 @strcmp(i8* %35, i8* dereferenceable(6) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.26, i64 0, i64 0))
%61 = icmp eq i32 %60, 0
br i1 %61, label %83, label %62
62: ; preds = %59
%63 = tail call i32 @strcmp(i8* %35, i8* dereferenceable(18) getelementptr inbounds ([18 x i8], [18 x i8]* @.str.28, i64 0, i64 0))
%64 = icmp eq i32 %63, 0
br i1 %64, label %83, label %65
65: ; preds = %62
%66 = tail call i32 @strcmp(i8* %35, i8* dereferenceable(10) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.29, i64 0, i64 0))
%67 = icmp eq i32 %66, 0
br i1 %67, label %83, label %68
68: ; preds = %65
%69 = tail call i32 @strcmp(i8* %35, i8* dereferenceable(5) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.12, i64 0, i64 0))
%70 = icmp eq i32 %69, 0
br i1 %70, label %83, label %71
71: ; preds = %68
%72 = tail call i32 @strcmp(i8* %35, i8* dereferenceable(12) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.31, i64 0, i64 0))
%73 = icmp eq i32 %72, 0
%74 = select i1 %73, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.32, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.16, i64 0, i64 0)
br label %83
75: ; preds = %2
%76 = getelementptr inbounds i8, i8* %0, i64 6
%77 = tail call i32 @strcmp(i8* %76, i8* dereferenceable(5) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.33, i64 0, i64 0))
%78 = icmp eq i32 %77, 0
br i1 %78, label %83, label %79
79: ; preds = %75
%80 = tail call i32 @strcmp(i8* %76, i8* dereferenceable(4) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.35, i64 0, i64 0))
%81 = icmp eq i32 %80, 0
%82 = select i1 %81, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.35, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.16, i64 0, i64 0)
br label %83
83: ; preds = %2, %79, %75, %71, %68, %65, %62, %59, %56, %53, %50, %47, %44, %41, %38, %34, %30, %27, %24, %21, %18, %15, %12, %9, %5
%84 = phi i8* [ getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), %5 ], [ getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), %9 ], [ getelementptr inbounds ([4 x i8], [4 x i8]* @.str.5, i64 0, i64 0), %12 ], [ getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0), %15 ], [ getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0), %18 ], [ getelementptr inbounds ([4 x i8], [4 x i8]* @.str.9, i64 0, i64 0), %21 ], [ getelementptr inbounds ([4 x i8], [4 x i8]* @.str.11, i64 0, i64 0), %24 ], [ getelementptr inbounds ([4 x i8], [4 x i8]* @.str.13, i64 0, i64 0), %27 ], [ %33, %30 ], [ getelementptr inbounds ([4 x i8], [4 x i8]* @.str.17, i64 0, i64 0), %34 ], [ getelementptr inbounds ([4 x i8], [4 x i8]* @.str.17, i64 0, i64 0), %38 ], [ getelementptr inbounds ([4 x i8], [4 x i8]* @.str.17, i64 0, i64 0), %41 ], [ getelementptr inbounds ([4 x i8], [4 x i8]* @.str.20, i64 0, i64 0), %44 ], [ getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), %47 ], [ getelementptr inbounds ([4 x i8], [4 x i8]* @.str.22, i64 0, i64 0), %50 ], [ getelementptr inbounds ([4 x i8], [4 x i8]* @.str.24, i64 0, i64 0), %53 ], [ getelementptr inbounds ([4 x i8], [4 x i8]* @.str.24, i64 0, i64 0), %56 ], [ getelementptr inbounds ([4 x i8], [4 x i8]* @.str.27, i64 0, i64 0), %59 ], [ getelementptr inbounds ([4 x i8], [4 x i8]* @.str.20, i64 0, i64 0), %62 ], [ getelementptr inbounds ([4 x i8], [4 x i8]* @.str.30, i64 0, i64 0), %65 ], [ getelementptr inbounds ([4 x i8], [4 x i8]* @.str.13, i64 0, i64 0), %68 ], [ %74, %71 ], [ getelementptr inbounds ([4 x i8], [4 x i8]* @.str.34, i64 0, i64 0), %75 ], [ %82, %79 ], [ getelementptr inbounds ([4 x i8], [4 x i8]* @.str.16, i64 0, i64 0), %2 ]
%85 = tail call i32 @strcpy(i8* %1, i8* %84)
ret void
}