#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 ch(char **, int);
int checkstring(char *);
int chmake(char **, int);
int cmake(char **, int);
int cpph(char **, int);
int cpphmake(char **, int);
int cppmake(char **, int);
int /*<<< orphan*/ cproject(char **, int);
int hfile(char **, int);
int java(char **, int);
int /*<<< orphan*/ printf(char *);
int scala(char **, int);
int sh(char **, char *, int);
int templatizer(char **, char *, int, char *);
void makefile(char **filenames, char *lang, int numfiles) {
  int err = 0;
  int namesum = checkstring(lang);
  if (namesum == 1)
    return;
  switch (namesum) {
  case 352:
    err = templatizer(filenames, "txt", numfiles, "");
    break;
  case 99:
    err = templatizer(
        filenames, "c", numfiles,
        "#include <stdio.h>\n\nint main(int argc, char* argv[]){\n    "
        "printf(\"%s\", \"Hello world!\\n\");\n\n    return 0;\n}\n");
    break;
  case 185:
    err = templatizer(
        filenames, "cc", numfiles,
        "#include <iostream>\n\nusing namespace std;\n\nint main(int argc, "
        "char* argv[]){\n    cout << \"Hello World!\" << endl;\n\n    "
        "return "
        "0;\n}\n");
    break;
  case 104:
    err = hfile(filenames, numfiles);
    break;
  case 203:
    err = ch(filenames, numfiles);
    break;
  case 289:
    err = cpph(filenames, numfiles);
    break;
  case 513:
    err = cmake(filenames, numfiles);
    break;
  case 617:
    err = chmake(filenames, numfiles);
    break;
  case 599:
    err = cppmake(filenames, numfiles);
    break;
  case 703:
    err = cpphmake(filenames, numfiles);
    break;
  case 418:
    err = java(filenames, numfiles);
    break;
  case 674:
    err = templatizer(filenames, "py", numfiles,
                      "import sys\n\n\ndef main():\n\tprint(\"Hello world!\")"
                      "\n\n\nif __name__==\"__main__\":\n\tmain()\n");
    break;
  case 214:
    err = templatizer(
        filenames, "go", numfiles,
        "package main// change this as needed\n\nimport \"fmt\"\n\nfunc "
        "main() {\n\tfmt.Printf(\"Hello World!\\n\")\n}\n");
    break;
  case 516:
    err = scala(filenames, numfiles);
    break;
  case 740:
    err = templatizer(filenames, "hs", numfiles,
                      "main = do\n\tputStrLn \"Hello World!\"");
    break;
  case 219:
    err = sh(filenames, lang, numfiles);
    break;
  case 414:
    err = sh(filenames, lang, numfiles);
    break;
  case 341:
    err = sh(filenames, lang, numfiles);
    break;
  case 326:
    err = sh(filenames, lang, numfiles);
    break;
  case 318:
    err = sh(filenames, lang, numfiles);
    break;
  case 435:
    err = templatizer(filenames, "", numfiles,
                      "#!/usr/bin/perl\nprint(\"Hello World!\\n\");\n");
    break;
  case 1177:
    err = templatizer(filenames, "", numfiles, "#!/usr/bin/env scala\n\n");
    break;
  case 1083:
    err = templatizer(filenames, "", numfiles, "#!/usr/bin/env node\n\n");
    break;
  case 1335:
    err = templatizer(filenames, "", numfiles, "#!/usr/bin/env python\n\n");
    break;
  case 437:
    err =
        templatizer(filenames, "html", numfiles,
                    "<!DOCTYPE html>\n<html>\n<link href=\"stylesheet.css\" "
                    "rel=\"stylesheet\" type=\"text/css\" />\n<meta "
                    "charset=\"utf-8\">\n\n<head>\n\t<title>TITLE GOES "
                    "HERE</title>\n</head>\n\n<body>\n\t<p>\n\t\tThis is some "
                    "text\n\t</p>\n</body>\n</html>\n");
    break;
  case 1098:
    err = templatizer(filenames, "html", numfiles,
                      "<!DOCTYPE html>\n<html>\n<link href=\"stylesheet.css\" "
                      "rel=\"stylesheet\" type=\"text/css\" />\n<meta "
                      "charset=\"utf-8\">\n\n<head>\n\t<title>TITLE GOES "
                      "HERE</title>\n</head>\n<script>\n\n</"
                      "script>\n<body>\n\t<p>\n\t\tThis is some "
                      "text\n\t</p>\n</body>\n</html>\n");
    break;
  case 329:
    err = templatizer(filenames, "css", numfiles, "body {\n\n}\n");
    break;
  case 1079:
    err = templatizer(
        filenames, "js", numfiles,
        "\n\nfunction main() {\n\tconsole.log(\"Hello World!\");\n} "
        "\n\nmain();\n");
    break;
  case 450:
    err = templatizer(filenames, "rb", numfiles, "puts \"Hello World!\"\n\n");
    break;
  case 672:
    err = templatizer(filenames, "js", numfiles,
                      "$(document).ready(function() {\n\n});\n");
    break;
  case 328:
    err = templatizer(filenames, "php", numfiles,
                      "<?php\n\necho \"Hello World!\"\n\n?>\n");
    break;
  case 524:
    err = templatizer(
        filenames, "ml", numfiles,
        "let main () =\n\tPrintf.printf \"Hello World!\\n\"\n\nlet _ = "
        "main ()\n");
    break;
  case 633:
    err = templatizer(filenames, "erl", numfiles, "\n");
    break;
  case 1277:
    err = templatizer(filenames, "coffee", numfiles,
                      "Console.log(\"Hello World!\")\n\n");
    break;
  case 867:
    err = templatizer(filenames, "md", numfiles, "# Title\n\n## Header 1");
    break;
  case 542:
    cproject(filenames, numfiles);
    break;
  default:
    printf("the file was not successfully created! Check command "
           "formatting. For help, use \"plate -h\" or \"plate help\"\n");
  }
  if (err == -1)
    printf("There is something wrong. Check above output to see why!");
}


x86 assembly (clang, -O0):
<makefile>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %edx,-0x14(%rbp)
movl   $0x0,-0x18(%rbp)
mov    -0x10(%rbp),%rdi
call   10d0 <checkstring@plt>
mov    %eax,-0x1c(%rbp)
cmpl   $0x1,-0x1c(%rbp)
jne    1215 <makefile+0x35>
jmp    18e9 <makefile+0x709>
mov    -0x1c(%rbp),%eax
mov    %eax,-0x20(%rbp)
sub    $0x63,%eax
je     14e2 <makefile+0x302>
jmp    1229 <makefile+0x49>
mov    -0x20(%rbp),%eax
sub    $0x68,%eax
je     1526 <makefile+0x346>
jmp    123a <makefile+0x5a>
mov    -0x20(%rbp),%eax
sub    $0xb9,%eax
je     1504 <makefile+0x324>
jmp    124d <makefile+0x6d>
mov    -0x20(%rbp),%eax
sub    $0xcb,%eax
je     153a <makefile+0x35a>
jmp    1260 <makefile+0x80>
mov    -0x20(%rbp),%eax
sub    $0xd6,%eax
je     15e8 <makefile+0x408>
jmp    1273 <makefile+0x93>
mov    -0x20(%rbp),%eax
sub    $0xdb,%eax
je     1640 <makefile+0x460>
jmp    1286 <makefile+0xa6>
mov    -0x20(%rbp),%eax
sub    $0x121,%eax
je     154e <makefile+0x36e>
jmp    1299 <makefile+0xb9>
mov    -0x20(%rbp),%eax
sub    $0x13e,%eax
je     16a0 <makefile+0x4c0>
jmp    12ac <makefile+0xcc>
mov    -0x20(%rbp),%eax
sub    $0x146,%eax
je     1688 <makefile+0x4a8>
jmp    12bf <makefile+0xdf>
mov    -0x20(%rbp),%eax
sub    $0x148,%eax
je     180c <makefile+0x62c>
jmp    12d2 <makefile+0xf2>
mov    -0x20(%rbp),%eax
sub    $0x149,%eax
je     1784 <makefile+0x5a4>
jmp    12e5 <makefile+0x105>
mov    -0x20(%rbp),%eax
sub    $0x155,%eax
je     1670 <makefile+0x490>
jmp    12f8 <makefile+0x118>
mov    -0x20(%rbp),%eax
sub    $0x160,%eax
je     14c0 <makefile+0x2e0>
jmp    130b <makefile+0x12b>
mov    -0x20(%rbp),%eax
sub    $0x19e,%eax
je     1658 <makefile+0x478>
jmp    131e <makefile+0x13e>
mov    -0x20(%rbp),%eax
sub    $0x1a2,%eax
je     15b2 <makefile+0x3d2>
jmp    1331 <makefile+0x151>
mov    -0x20(%rbp),%eax
sub    $0x1b3,%eax
je     16b8 <makefile+0x4d8>
jmp    1344 <makefile+0x164>
mov    -0x20(%rbp),%eax
sub    $0x1b5,%eax
je     1740 <makefile+0x560>
jmp    1357 <makefile+0x177>
mov    -0x20(%rbp),%eax
sub    $0x1c2,%eax
je     17c8 <makefile+0x5e8>
jmp    136a <makefile+0x18a>
mov    -0x20(%rbp),%eax
sub    $0x201,%eax
je     1562 <makefile+0x382>
jmp    137d <makefile+0x19d>
mov    -0x20(%rbp),%eax
sub    $0x204,%eax
je     160a <makefile+0x42a>
jmp    1390 <makefile+0x1b0>
mov    -0x20(%rbp),%eax
sub    $0x20c,%eax
je     182e <makefile+0x64e>
jmp    13a3 <makefile+0x1c3>
mov    -0x20(%rbp),%eax
sub    $0x21e,%eax
je     18b6 <makefile+0x6d6>
jmp    13b6 <makefile+0x1d6>
mov    -0x20(%rbp),%eax
sub    $0x257,%eax
je     158a <makefile+0x3aa>
jmp    13c9 <makefile+0x1e9>
mov    -0x20(%rbp),%eax
sub    $0x269,%eax
je     1576 <makefile+0x396>
jmp    13dc <makefile+0x1fc>
mov    -0x20(%rbp),%eax
sub    $0x279,%eax
je     1850 <makefile+0x670>
jmp    13ef <makefile+0x20f>
mov    -0x20(%rbp),%eax
sub    $0x2a0,%eax
je     17ea <makefile+0x60a>
jmp    1402 <makefile+0x222>
mov    -0x20(%rbp),%eax
sub    $0x2a2,%eax
je     15c6 <makefile+0x3e6>
jmp    1415 <makefile+0x235>
mov    -0x20(%rbp),%eax
sub    $0x2bf,%eax
je     159e <makefile+0x3be>
jmp    1428 <makefile+0x248>
mov    -0x20(%rbp),%eax
sub    $0x2e4,%eax
je     161e <makefile+0x43e>
jmp    143b <makefile+0x25b>
mov    -0x20(%rbp),%eax
sub    $0x363,%eax
je     1894 <makefile+0x6b4>
jmp    144e <makefile+0x26e>
mov    -0x20(%rbp),%eax
sub    $0x437,%eax
je     17a6 <makefile+0x5c6>
jmp    1461 <makefile+0x281>
mov    -0x20(%rbp),%eax
sub    $0x43b,%eax
je     16fc <makefile+0x51c>
jmp    1474 <makefile+0x294>
mov    -0x20(%rbp),%eax
sub    $0x44a,%eax
je     1762 <makefile+0x582>
jmp    1487 <makefile+0x2a7>
mov    -0x20(%rbp),%eax
sub    $0x499,%eax
je     16da <makefile+0x4fa>
jmp    149a <makefile+0x2ba>
mov    -0x20(%rbp),%eax
sub    $0x4fd,%eax
je     1872 <makefile+0x692>
jmp    14ad <makefile+0x2cd>
mov    -0x20(%rbp),%eax
sub    $0x537,%eax
je     171e <makefile+0x53e>
jmp    18c7 <makefile+0x6e7>
mov    -0x8(%rbp),%rdi
mov    -0x14(%rbp),%edx
lea    0xb32(%rip),%rsi
lea    0xfa0(%rip),%rcx
call   1070 <templatizer@plt>
mov    %eax,-0x18(%rbp)
jmp    18d3 <makefile+0x6f3>
mov    -0x8(%rbp),%rdi
mov    -0x14(%rbp),%edx
lea    0xb81(%rip),%rsi
lea    0xb0d(%rip),%rcx
call   1070 <templatizer@plt>
mov    %eax,-0x18(%rbp)
jmp    18d3 <makefile+0x6f3>
mov    -0x8(%rbp),%rdi
mov    -0x14(%rbp),%edx
lea    0xb5e(%rip),%rsi
lea    0xb5a(%rip),%rcx
call   1070 <templatizer@plt>
mov    %eax,-0x18(%rbp)
jmp    18d3 <makefile+0x6f3>
mov    -0x8(%rbp),%rdi
mov    -0x14(%rbp),%esi
call   10b0 <hfile@plt>
mov    %eax,-0x18(%rbp)
jmp    18d3 <makefile+0x6f3>
mov    -0x8(%rbp),%rdi
mov    -0x14(%rbp),%esi
call   1050 <ch@plt>
mov    %eax,-0x18(%rbp)
jmp    18d3 <makefile+0x6f3>
mov    -0x8(%rbp),%rdi
mov    -0x14(%rbp),%esi
call   10e0 <cpph@plt>
mov    %eax,-0x18(%rbp)
jmp    18d3 <makefile+0x6f3>
mov    -0x8(%rbp),%rdi
mov    -0x14(%rbp),%esi
call   1090 <cmake@plt>
mov    %eax,-0x18(%rbp)
jmp    18d3 <makefile+0x6f3>
mov    -0x8(%rbp),%rdi
mov    -0x14(%rbp),%esi
call   10a0 <chmake@plt>
mov    %eax,-0x18(%rbp)
jmp    18d3 <makefile+0x6f3>
mov    -0x8(%rbp),%rdi
mov    -0x14(%rbp),%esi
call   1040 <cppmake@plt>
mov    %eax,-0x18(%rbp)
jmp    18d3 <makefile+0x6f3>
mov    -0x8(%rbp),%rdi
mov    -0x14(%rbp),%esi
call   1100 <cpphmake@plt>
mov    %eax,-0x18(%rbp)
jmp    18d3 <makefile+0x6f3>
mov    -0x8(%rbp),%rdi
mov    -0x14(%rbp),%esi
call   1080 <java@plt>
mov    %eax,-0x18(%rbp)
jmp    18d3 <makefile+0x6f3>
mov    -0x8(%rbp),%rdi
mov    -0x14(%rbp),%edx
lea    0xb22(%rip),%rsi
lea    0xb1e(%rip),%rcx
call   1070 <templatizer@plt>
mov    %eax,-0x18(%rbp)
jmp    18d3 <makefile+0x6f3>
mov    -0x8(%rbp),%rdi
mov    -0x14(%rbp),%edx
lea    0xb57(%rip),%rsi
lea    0xb53(%rip),%rcx
call   1070 <templatizer@plt>
mov    %eax,-0x18(%rbp)
jmp    18d3 <makefile+0x6f3>
mov    -0x8(%rbp),%rdi
mov    -0x14(%rbp),%esi
call   10c0 <scala@plt>
mov    %eax,-0x18(%rbp)
jmp    18d3 <makefile+0x6f3>
mov    -0x8(%rbp),%rdi
mov    -0x14(%rbp),%edx
lea    0xb87(%rip),%rsi
lea    0xb83(%rip),%rcx
call   1070 <templatizer@plt>
mov    %eax,-0x18(%rbp)
jmp    18d3 <makefile+0x6f3>
mov    -0x8(%rbp),%rdi
mov    -0x10(%rbp),%rsi
mov    -0x14(%rbp),%edx
call   1030 <sh@plt>
mov    %eax,-0x18(%rbp)
jmp    18d3 <makefile+0x6f3>
mov    -0x8(%rbp),%rdi
mov    -0x10(%rbp),%rsi
mov    -0x14(%rbp),%edx
call   1030 <sh@plt>
mov    %eax,-0x18(%rbp)
jmp    18d3 <makefile+0x6f3>
mov    -0x8(%rbp),%rdi
mov    -0x10(%rbp),%rsi
mov    -0x14(%rbp),%edx
call   1030 <sh@plt>
mov    %eax,-0x18(%rbp)
jmp    18d3 <makefile+0x6f3>
mov    -0x8(%rbp),%rdi
mov    -0x10(%rbp),%rsi
mov    -0x14(%rbp),%edx
call   1030 <sh@plt>
mov    %eax,-0x18(%rbp)
jmp    18d3 <makefile+0x6f3>
mov    -0x8(%rbp),%rdi
mov    -0x10(%rbp),%rsi
mov    -0x14(%rbp),%edx
call   1030 <sh@plt>
mov    %eax,-0x18(%rbp)
jmp    18d3 <makefile+0x6f3>
mov    -0x8(%rbp),%rdi
mov    -0x14(%rbp),%edx
lea    0xdaf(%rip),%rsi
lea    0xb0c(%rip),%rcx
call   1070 <templatizer@plt>
mov    %eax,-0x18(%rbp)
jmp    18d3 <makefile+0x6f3>
mov    -0x8(%rbp),%rdi
mov    -0x14(%rbp),%edx
lea    0xd8d(%rip),%rsi
lea    0xb14(%rip),%rcx
call   1070 <templatizer@plt>
mov    %eax,-0x18(%rbp)
jmp    18d3 <makefile+0x6f3>
mov    -0x8(%rbp),%rdi
mov    -0x14(%rbp),%edx
lea    0xd6b(%rip),%rsi
lea    0xb09(%rip),%rcx
call   1070 <templatizer@plt>
mov    %eax,-0x18(%rbp)
jmp    18d3 <makefile+0x6f3>
mov    -0x8(%rbp),%rdi
mov    -0x14(%rbp),%edx
lea    0xd49(%rip),%rsi
lea    0xafd(%rip),%rcx
call   1070 <templatizer@plt>
mov    %eax,-0x18(%rbp)
jmp    18d3 <makefile+0x6f3>
mov    -0x8(%rbp),%rdi
mov    -0x14(%rbp),%edx
lea    0xafa(%rip),%rsi
lea    0xaf8(%rip),%rcx
call   1070 <templatizer@plt>
mov    %eax,-0x18(%rbp)
jmp    18d3 <makefile+0x6f3>
mov    -0x8(%rbp),%rdi
mov    -0x14(%rbp),%edx
lea    0xad8(%rip),%rsi
lea    0xbac(%rip),%rcx
call   1070 <templatizer@plt>
mov    %eax,-0x18(%rbp)
jmp    18d3 <makefile+0x6f3>
mov    -0x8(%rbp),%rdi
mov    -0x14(%rbp),%edx
lea    0xc7a(%rip),%rsi
lea    0xc77(%rip),%rcx
call   1070 <templatizer@plt>
mov    %eax,-0x18(%rbp)
jmp    18d3 <makefile+0x6f3>
mov    -0x8(%rbp),%rdi
mov    -0x14(%rbp),%edx
lea    0xc67(%rip),%rsi
lea    0xc63(%rip),%rcx
call   1070 <templatizer@plt>
mov    %eax,-0x18(%rbp)
jmp    18d3 <makefile+0x6f3>
mov    -0x8(%rbp),%rdi
mov    -0x14(%rbp),%edx
lea    0xc87(%rip),%rsi
lea    0xc83(%rip),%rcx
call   1070 <templatizer@plt>
mov    %eax,-0x18(%rbp)
jmp    18d3 <makefile+0x6f3>
mov    -0x8(%rbp),%rdi
mov    -0x14(%rbp),%edx
lea    0xc23(%rip),%rsi
lea    0xc77(%rip),%rcx
call   1070 <templatizer@plt>
mov    %eax,-0x18(%rbp)
jmp    18d3 <makefile+0x6f3>
mov    -0x8(%rbp),%rdi
mov    -0x14(%rbp),%edx
lea    0xc81(%rip),%rsi
lea    0xc7e(%rip),%rcx
call   1070 <templatizer@plt>
mov    %eax,-0x18(%rbp)
jmp    18d3 <makefile+0x6f3>
mov    -0x8(%rbp),%rdi
mov    -0x14(%rbp),%edx
lea    0xa0e(%rip),%rsi
lea    0xc7c(%rip),%rcx
call   1070 <templatizer@plt>
mov    %eax,-0x18(%rbp)
jmp    18d3 <makefile+0x6f3>
mov    -0x8(%rbp),%rdi
mov    -0x14(%rbp),%edx
lea    0xca1(%rip),%rsi
lea    0xc0f(%rip),%rcx
call   1070 <templatizer@plt>
mov    %eax,-0x18(%rbp)
jmp    18d3 <makefile+0x6f3>
mov    -0x8(%rbp),%rdi
mov    -0x14(%rbp),%edx
lea    0xc83(%rip),%rsi
lea    0xc83(%rip),%rcx
call   1070 <templatizer@plt>
mov    %eax,-0x18(%rbp)
jmp    18d3 <makefile+0x6f3>
mov    -0x8(%rbp),%rdi
mov    -0x14(%rbp),%edx
lea    0xc86(%rip),%rsi
lea    0xc82(%rip),%rcx
call   1070 <templatizer@plt>
mov    %eax,-0x18(%rbp)
jmp    18d3 <makefile+0x6f3>
mov    -0x8(%rbp),%rdi
mov    -0x14(%rbp),%esi
call   10f0 <cproject@plt>
jmp    18d3 <makefile+0x6f3>
lea    0xc72(%rip),%rdi
call   1060 <printf@plt>
cmpl   $0xffffffff,-0x18(%rbp)
jne    18e9 <makefile+0x709>
lea    0xcc7(%rip),%rdi
call   1060 <printf@plt>
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<makefile>:
push   %rbp
push   %r14
push   %rbx
mov    %edx,%r14d
mov    %rsi,%rbp
mov    %rdi,%rbx
mov    %rsi,%rdi
call   10e0 <checkstring@plt>
cmp    $0x200,%eax
jg     1246 <makefile+0x56>
cmp    $0x120,%eax
jle    12d1 <makefile+0xe1>
lea    -0x121(%rax),%ecx
cmp    $0x3f,%ecx
ja     130d <makefile+0x11d>
lea    0xe5f(%rip),%rax
movslq (%rax,%rcx,4),%rcx
add    %rax,%rcx
jmp    *%rcx
mov    %rbx,%rdi
mov    %r14d,%esi
call   10f0 <cpph@plt>
jmp    15be <makefile+0x3ce>
cmp    $0x2be,%eax
jg     1287 <makefile+0x97>
cmp    $0x268,%eax
jg     133e <makefile+0x14e>
lea    -0x201(%rax),%ecx
cmp    $0x1d,%ecx
ja     1485 <makefile+0x295>
lea    0xfb2(%rip),%rax
movslq (%rax,%rcx,4),%rcx
add    %rax,%rcx
jmp    *%rcx
mov    %rbx,%rdi
mov    %r14d,%esi
call   10a0 <cmake@plt>
jmp    15be <makefile+0x3ce>
cmp    $0x43a,%eax
jle    1372 <makefile+0x182>
cmp    $0x498,%eax
jle    13d1 <makefile+0x1e1>
cmp    $0x499,%eax
je     14d2 <makefile+0x2e2>
cmp    $0x4fd,%eax
je     14e5 <makefile+0x2f5>
cmp    $0x537,%eax
jne    15d8 <makefile+0x3e8>
lea    0x1448(%rip),%rsi
lea    0x11fc(%rip),%rcx
jmp    15b3 <makefile+0x3c3>
cmp    $0xb8,%eax
jle    13a6 <makefile+0x1b6>
add    $0xffffff47,%eax
cmp    $0x22,%eax
ja     15d8 <makefile+0x3e8>
lea    0xd0f(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
lea    0x1007(%rip),%rsi
lea    0x1003(%rip),%rcx
jmp    15b3 <makefile+0x3c3>
add    $0xfffffe62,%eax
cmp    $0x24,%eax
ja     15d8 <makefile+0x3e8>
lea    0xe6a(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
mov    %rbx,%rdi
mov    %rbp,%rsi
mov    %r14d,%edx
call   1040 <sh@plt>
jmp    15be <makefile+0x3ce>
cmp    $0x29f,%eax
jg     13fa <makefile+0x20a>
cmp    $0x269,%eax
je     155b <makefile+0x36b>
cmp    $0x279,%eax
jne    15d8 <makefile+0x3e8>
lea    0x1431(%rip),%rsi
lea    0x139f(%rip),%rcx
jmp    15b3 <makefile+0x3c3>
cmp    $0x362,%eax
jg     1423 <makefile+0x233>
cmp    $0x2bf,%eax
je     1568 <makefile+0x378>
cmp    $0x2e4,%eax
jne    15d8 <makefile+0x3e8>
lea    0x10b1(%rip),%rsi
lea    0x10ad(%rip),%rcx
jmp    15b3 <makefile+0x3c3>
cmp    $0x1,%eax
je     15c3 <makefile+0x3d3>
cmp    $0x63,%eax
je     1575 <makefile+0x385>
cmp    $0x68,%eax
jne    15d8 <makefile+0x3e8>
mov    %rbx,%rdi
mov    %r14d,%esi
call   10c0 <hfile@plt>
jmp    15be <makefile+0x3ce>
cmp    $0x43b,%eax
je     1585 <makefile+0x395>
cmp    $0x44a,%eax
jne    15d8 <makefile+0x3e8>
lea    0x10f2(%rip),%rsi
lea    0x11c6(%rip),%rcx
jmp    15b3 <makefile+0x3c3>
cmp    $0x2a0,%eax
je     1595 <makefile+0x3a5>
cmp    $0x2a2,%eax
jne    15d8 <makefile+0x3e8>
lea    0xf77(%rip),%rsi
lea    0xf73(%rip),%rcx
jmp    15b3 <makefile+0x3c3>
cmp    $0x363,%eax
je     15a5 <makefile+0x3b5>
cmp    $0x437,%eax
jne    15d8 <makefile+0x3e8>
lea    0x1273(%rip),%rsi
lea    0x126f(%rip),%rcx
jmp    15b3 <makefile+0x3c3>
lea    0x12e0(%rip),%rsi
lea    0x12dd(%rip),%rcx
jmp    15b3 <makefile+0x3c3>
lea    0x123e(%rip),%rsi
lea    0x123b(%rip),%rcx
jmp    15b3 <makefile+0x3c3>
lea    0xe1f(%rip),%rsi
lea    0x128d(%rip),%rcx
jmp    15b3 <makefile+0x3c3>
cmp    $0x257,%eax
jne    15d8 <makefile+0x3e8>
mov    %rbx,%rdi
mov    %r14d,%esi
call   1050 <cppmake@plt>
jmp    15be <makefile+0x3ce>
mov    %rbx,%rdi
mov    %r14d,%esi
call   10d0 <scala@plt>
jmp    15be <makefile+0x3ce>
lea    0x102b(%rip),%rsi
lea    0x1299(%rip),%rcx
jmp    15b3 <makefile+0x3c3>
mov    %rbx,%rdi
mov    %r14d,%esi
pop    %rbx
pop    %r14
pop    %rbp
jmp    1100 <cproject@plt>
lea    0x1234(%rip),%rsi
lea    0xfbb(%rip),%rcx
jmp    15b3 <makefile+0x3c3>
lea    0x12af(%rip),%rsi
lea    0x12af(%rip),%rcx
jmp    15b3 <makefile+0x3c3>
mov    %rbx,%rdi
mov    %r14d,%esi
call   1060 <ch@plt>
jmp    15be <makefile+0x3ce>
lea    0xed6(%rip),%rsi
lea    0xed2(%rip),%rcx
jmp    15b3 <makefile+0x3c3>
mov    %rbx,%rdi
mov    %r14d,%esi
call   1090 <java@plt>
jmp    15be <makefile+0x3ce>
lea    0x11db(%rip),%rsi
lea    0xf38(%rip),%rcx
jmp    15b3 <makefile+0x3c3>
lea    0xf9e(%rip),%rsi
lea    0xf9c(%rip),%rcx
jmp    15b3 <makefile+0x3c3>
lea    0x11a3(%rip),%rsi
lea    0x119f(%rip),%rcx
jmp    15b3 <makefile+0x3c3>
mov    %rbx,%rdi
mov    %r14d,%esi
call   10b0 <chmake@plt>
jmp    15be <makefile+0x3ce>
mov    %rbx,%rdi
mov    %r14d,%esi
call   1110 <cpphmake@plt>
jmp    15be <makefile+0x3ce>
lea    0xd8d(%rip),%rsi
lea    0xd19(%rip),%rcx
jmp    15b3 <makefile+0x3c3>
lea    0x1181(%rip),%rsi
lea    0xf1f(%rip),%rcx
jmp    15b3 <makefile+0x3c3>
lea    0x1117(%rip),%rsi
lea    0x116b(%rip),%rcx
jmp    15b3 <makefile+0x3c3>
lea    0x1214(%rip),%rsi
lea    0x1210(%rip),%rcx
mov    %rbx,%rdi
mov    %r14d,%edx
call   1080 <templatizer@plt>
cmp    $0xffffffff,%eax
je     15c8 <makefile+0x3d8>
pop    %rbx
pop    %r14
pop    %rbp
ret
lea    0x1209(%rip),%rdi
pop    %rbx
pop    %r14
pop    %rbp
jmp    1070 <printf@plt>
lea    0x1232(%rip),%rdi
pop    %rbx
pop    %r14
pop    %rbp
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [4 x i8] c"txt\00"
@.str.1 = [1 x i8] zeroinitializer
@.str.2 = [2 x i8] c"c\00"
@.str.3 = [108 x i8] c"#include <stdio.h>\0A\0Aint main(int argc, char* argv[]){\0A printf(\22%s\22, \22Hello world!\\n\22);\0A\0A return 0;\0A}\0A\00"
@.str.4 = [3 x i8] c"cc\00"
@.str.5 = [131 x i8] c"#include <iostream>\0A\0Ausing namespace std;\0A\0Aint main(int argc, char* argv[]){\0A cout << \22Hello World!\22 << endl;\0A\0A return 0;\0A}\0A\00"
@.str.6 = [3 x i8] c"py\00"
@.str.7 = [84 x i8] c"import sys\0A\0A\0Adef main():\0A\09print(\22Hello world!\22)\0A\0A\0Aif __name__==\22__main__\22:\0A\09main()\0A\00"
@.str.8 = [3 x i8] c"go\00"
@.str.9 = [99 x i8] c"package main// change this as needed\0A\0Aimport \22fmt\22\0A\0Afunc main() {\0A\09fmt.Printf(\22Hello World!\\n\22)\0A}\0A\00"
@.str.10 = [3 x i8] c"hs\00"
@.str.11 = [35 x i8] c"main = do\0A\09putStrLn \22Hello World!\22\00"
@.str.12 = [42 x i8] c"#!/usr/bin/perl\0Aprint(\22Hello World!\\n\22);\0A\00"
@.str.13 = [23 x i8] c"#!/usr/bin/env scala\0A\0A\00"
@.str.14 = [22 x i8] c"#!/usr/bin/env node\0A\0A\00"
@.str.15 = [24 x i8] c"#!/usr/bin/env python\0A\0A\00"
@.str.16 = [5 x i8] c"html\00"
@.str.17 = [214 x i8] c"<!DOCTYPE html>\0A<html>\0A<link href=\22stylesheet.css\22 rel=\22stylesheet\22 type=\22text/css\22 />\0A<meta charset=\22utf-8\22>\0A\0A<head>\0A\09<title>TITLE GOES HERE</title>\0A</head>\0A\0A<body>\0A\09<p>\0A\09\09This is some text\0A\09</p>\0A</body>\0A</html>\0A\00"
@.str.18 = [233 x i8] c"<!DOCTYPE html>\0A<html>\0A<link href=\22stylesheet.css\22 rel=\22stylesheet\22 type=\22text/css\22 />\0A<meta charset=\22utf-8\22>\0A\0A<head>\0A\09<title>TITLE GOES HERE</title>\0A</head>\0A<script>\0A\0A</script>\0A<body>\0A\09<p>\0A\09\09This is some text\0A\09</p>\0A</body>\0A</html>\0A\00"
@.str.19 = [4 x i8] c"css\00"
@.str.20 = [11 x i8] c"body {\0A\0A}\0A\00"
@.str.21 = [3 x i8] c"js\00"
@.str.22 = [63 x i8] c"\0A\0Afunction main() {\0A\09console.log(\22Hello World!\22);\0A} \0A\0Amain();\0A\00"
@.str.23 = [3 x i8] c"rb\00"
@.str.24 = [22 x i8] c"puts \22Hello World!\22\0A\0A\00"
@.str.25 = [37 x i8] c"$(document).ready(function() {\0A\0A});\0A\00"
@.str.26 = [4 x i8] c"php\00"
@.str.27 = [32 x i8] c"<?php\0A\0Aecho \22Hello World!\22\0A\0A?>\0A\00"
@.str.28 = [3 x i8] c"ml\00"
@.str.29 = [64 x i8] c"let main () =\0A\09Printf.printf \22Hello World!\\n\22\0A\0Alet _ = main ()\0A\00"
@.str.30 = [4 x i8] c"erl\00"
@.str.31 = [2 x i8] c"\0A\00"
@.str.32 = [7 x i8] c"coffee\00"
@.str.33 = [30 x i8] c"Console.log(\22Hello World!\22)\0A\0A\00"
@.str.34 = [3 x i8] c"md\00"
@.str.35 = [21 x i8] c"# Title\0A\0A## Header 1\00"
@.str.36 = [107 x i8] c"the file was not successfully created! Check command formatting. For help, use \22plate -h\22 or \22plate help\22\0A\00"
@.str.37 = [57 x i8] c"There is something wrong. Check above output to see why!\00"
define void @makefile(i8** %0, i8* %1, i32 %2) {
%4 = alloca i8**
%5 = alloca i8*
%6 = alloca i32
%7 = alloca i32
%8 = alloca i32
store i8** %0, i8*** %4
store i8* %1, i8** %5
store i32 %2, i32* %6
store i32 0, i32* %7
%9 = load i8*, i8** %5
%10 = call i32 @checkstring(i8* %9)
store i32 %10, i32* %8
%11 = load i32, i32* %8
%12 = icmp eq i32 %11, 1
br i1 %12, label %13, label %14
13: ; preds = %3
br label %172
14: ; preds = %3
%15 = load i32, i32* %8
switch i32 %15, label %165 [
i32 352, label %16
i32 99, label %20
i32 185, label %24
i32 104, label %28
i32 203, label %32
i32 289, label %36
i32 513, label %40
i32 617, label %44
i32 599, label %48
i32 703, label %52
i32 418, label %56
i32 674, label %60
i32 214, label %64
i32 516, label %68
i32 740, label %72
i32 219, label %76
i32 414, label %81
i32 341, label %86
i32 326, label %91
i32 318, label %96
i32 435, label %101
i32 1177, label %105
i32 1083, label %109
i32 1335, label %113
i32 437, label %117
i32 1098, label %121
i32 329, label %125
i32 1079, label %129
i32 450, label %133
i32 672, label %137
i32 328, label %141
i32 524, label %145
i32 633, label %149
i32 1277, label %153
i32 867, label %157
i32 542, label %161
]
16: ; preds = %14
%17 = load i8**, i8*** %4
%18 = load i32, i32* %6
%19 = call i32 @templatizer(i8** %17, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 %18, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0))
store i32 %19, i32* %7
br label %167
20: ; preds = %14
%21 = load i8**, i8*** %4
%22 = load i32, i32* %6
%23 = call i32 @templatizer(i8** %21, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0), i32 %22, i8* getelementptr inbounds ([108 x i8], [108 x i8]* @.str.3, i64 0, i64 0))
store i32 %23, i32* %7
br label %167
24: ; preds = %14
%25 = load i8**, i8*** %4
%26 = load i32, i32* %6
%27 = call i32 @templatizer(i8** %25, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i32 %26, i8* getelementptr inbounds ([131 x i8], [131 x i8]* @.str.5, i64 0, i64 0))
store i32 %27, i32* %7
br label %167
28: ; preds = %14
%29 = load i8**, i8*** %4
%30 = load i32, i32* %6
%31 = call i32 @hfile(i8** %29, i32 %30)
store i32 %31, i32* %7
br label %167
32: ; preds = %14
%33 = load i8**, i8*** %4
%34 = load i32, i32* %6
%35 = call i32 @ch(i8** %33, i32 %34)
store i32 %35, i32* %7
br label %167
36: ; preds = %14
%37 = load i8**, i8*** %4
%38 = load i32, i32* %6
%39 = call i32 @cpph(i8** %37, i32 %38)
store i32 %39, i32* %7
br label %167
40: ; preds = %14
%41 = load i8**, i8*** %4
%42 = load i32, i32* %6
%43 = call i32 @cmake(i8** %41, i32 %42)
store i32 %43, i32* %7
br label %167
44: ; preds = %14
%45 = load i8**, i8*** %4
%46 = load i32, i32* %6
%47 = call i32 @chmake(i8** %45, i32 %46)
store i32 %47, i32* %7
br label %167
48: ; preds = %14
%49 = load i8**, i8*** %4
%50 = load i32, i32* %6
%51 = call i32 @cppmake(i8** %49, i32 %50)
store i32 %51, i32* %7
br label %167
52: ; preds = %14
%53 = load i8**, i8*** %4
%54 = load i32, i32* %6
%55 = call i32 @cpphmake(i8** %53, i32 %54)
store i32 %55, i32* %7
br label %167
56: ; preds = %14
%57 = load i8**, i8*** %4
%58 = load i32, i32* %6
%59 = call i32 @java(i8** %57, i32 %58)
store i32 %59, i32* %7
br label %167
60: ; preds = %14
%61 = load i8**, i8*** %4
%62 = load i32, i32* %6
%63 = call i32 @templatizer(i8** %61, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0), i32 %62, i8* getelementptr inbounds ([84 x i8], [84 x i8]* @.str.7, i64 0, i64 0))
store i32 %63, i32* %7
br label %167
64: ; preds = %14
%65 = load i8**, i8*** %4
%66 = load i32, i32* %6
%67 = call i32 @templatizer(i8** %65, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.8, i64 0, i64 0), i32 %66, i8* getelementptr inbounds ([99 x i8], [99 x i8]* @.str.9, i64 0, i64 0))
store i32 %67, i32* %7
br label %167
68: ; preds = %14
%69 = load i8**, i8*** %4
%70 = load i32, i32* %6
%71 = call i32 @scala(i8** %69, i32 %70)
store i32 %71, i32* %7
br label %167
72: ; preds = %14
%73 = load i8**, i8*** %4
%74 = load i32, i32* %6
%75 = call i32 @templatizer(i8** %73, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.10, i64 0, i64 0), i32 %74, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.11, i64 0, i64 0))
store i32 %75, i32* %7
br label %167
76: ; preds = %14
%77 = load i8**, i8*** %4
%78 = load i8*, i8** %5
%79 = load i32, i32* %6
%80 = call i32 @sh(i8** %77, i8* %78, i32 %79)
store i32 %80, i32* %7
br label %167
81: ; preds = %14
%82 = load i8**, i8*** %4
%83 = load i8*, i8** %5
%84 = load i32, i32* %6
%85 = call i32 @sh(i8** %82, i8* %83, i32 %84)
store i32 %85, i32* %7
br label %167
86: ; preds = %14
%87 = load i8**, i8*** %4
%88 = load i8*, i8** %5
%89 = load i32, i32* %6
%90 = call i32 @sh(i8** %87, i8* %88, i32 %89)
store i32 %90, i32* %7
br label %167
91: ; preds = %14
%92 = load i8**, i8*** %4
%93 = load i8*, i8** %5
%94 = load i32, i32* %6
%95 = call i32 @sh(i8** %92, i8* %93, i32 %94)
store i32 %95, i32* %7
br label %167
96: ; preds = %14
%97 = load i8**, i8*** %4
%98 = load i8*, i8** %5
%99 = load i32, i32* %6
%100 = call i32 @sh(i8** %97, i8* %98, i32 %99)
store i32 %100, i32* %7
br label %167
101: ; preds = %14
%102 = load i8**, i8*** %4
%103 = load i32, i32* %6
%104 = call i32 @templatizer(i8** %102, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0), i32 %103, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.12, i64 0, i64 0))
store i32 %104, i32* %7
br label %167
105: ; preds = %14
%106 = load i8**, i8*** %4
%107 = load i32, i32* %6
%108 = call i32 @templatizer(i8** %106, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0), i32 %107, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.13, i64 0, i64 0))
store i32 %108, i32* %7
br label %167
109: ; preds = %14
%110 = load i8**, i8*** %4
%111 = load i32, i32* %6
%112 = call i32 @templatizer(i8** %110, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0), i32 %111, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.14, i64 0, i64 0))
store i32 %112, i32* %7
br label %167
113: ; preds = %14
%114 = load i8**, i8*** %4
%115 = load i32, i32* %6
%116 = call i32 @templatizer(i8** %114, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0), i32 %115, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.15, i64 0, i64 0))
store i32 %116, i32* %7
br label %167
117: ; preds = %14
%118 = load i8**, i8*** %4
%119 = load i32, i32* %6
%120 = call i32 @templatizer(i8** %118, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.16, i64 0, i64 0), i32 %119, i8* getelementptr inbounds ([214 x i8], [214 x i8]* @.str.17, i64 0, i64 0))
store i32 %120, i32* %7
br label %167
121: ; preds = %14
%122 = load i8**, i8*** %4
%123 = load i32, i32* %6
%124 = call i32 @templatizer(i8** %122, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.16, i64 0, i64 0), i32 %123, i8* getelementptr inbounds ([233 x i8], [233 x i8]* @.str.18, i64 0, i64 0))
store i32 %124, i32* %7
br label %167
125: ; preds = %14
%126 = load i8**, i8*** %4
%127 = load i32, i32* %6
%128 = call i32 @templatizer(i8** %126, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.19, i64 0, i64 0), i32 %127, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.20, i64 0, i64 0))
store i32 %128, i32* %7
br label %167
129: ; preds = %14
%130 = load i8**, i8*** %4
%131 = load i32, i32* %6
%132 = call i32 @templatizer(i8** %130, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.21, i64 0, i64 0), i32 %131, i8* getelementptr inbounds ([63 x i8], [63 x i8]* @.str.22, i64 0, i64 0))
store i32 %132, i32* %7
br label %167
133: ; preds = %14
%134 = load i8**, i8*** %4
%135 = load i32, i32* %6
%136 = call i32 @templatizer(i8** %134, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.23, i64 0, i64 0), i32 %135, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.24, i64 0, i64 0))
store i32 %136, i32* %7
br label %167
137: ; preds = %14
%138 = load i8**, i8*** %4
%139 = load i32, i32* %6
%140 = call i32 @templatizer(i8** %138, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.21, i64 0, i64 0), i32 %139, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.25, i64 0, i64 0))
store i32 %140, i32* %7
br label %167
141: ; preds = %14
%142 = load i8**, i8*** %4
%143 = load i32, i32* %6
%144 = call i32 @templatizer(i8** %142, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.26, i64 0, i64 0), i32 %143, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.27, i64 0, i64 0))
store i32 %144, i32* %7
br label %167
145: ; preds = %14
%146 = load i8**, i8*** %4
%147 = load i32, i32* %6
%148 = call i32 @templatizer(i8** %146, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.28, i64 0, i64 0), i32 %147, i8* getelementptr inbounds ([64 x i8], [64 x i8]* @.str.29, i64 0, i64 0))
store i32 %148, i32* %7
br label %167
149: ; preds = %14
%150 = load i8**, i8*** %4
%151 = load i32, i32* %6
%152 = call i32 @templatizer(i8** %150, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.30, i64 0, i64 0), i32 %151, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.31, i64 0, i64 0))
store i32 %152, i32* %7
br label %167
153: ; preds = %14
%154 = load i8**, i8*** %4
%155 = load i32, i32* %6
%156 = call i32 @templatizer(i8** %154, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.32, i64 0, i64 0), i32 %155, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.33, i64 0, i64 0))
store i32 %156, i32* %7
br label %167
157: ; preds = %14
%158 = load i8**, i8*** %4
%159 = load i32, i32* %6
%160 = call i32 @templatizer(i8** %158, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.34, i64 0, i64 0), i32 %159, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.35, i64 0, i64 0))
store i32 %160, i32* %7
br label %167
161: ; preds = %14
%162 = load i8**, i8*** %4
%163 = load i32, i32* %6
%164 = call i32 @cproject(i8** %162, i32 %163)
br label %167
165: ; preds = %14
%166 = call i32 @printf(i8* getelementptr inbounds ([107 x i8], [107 x i8]* @.str.36, i64 0, i64 0))
br label %167
167: ; preds = %165, %161, %157, %153, %149, %145, %141, %137, %133, %129, %125, %121, %117, %113, %109, %105, %101, %96, %91, %86, %81, %76, %72, %68, %64, %60, %56, %52, %48, %44, %40, %36, %32, %28, %24, %20, %16
%168 = load i32, i32* %7
%169 = icmp eq i32 %168, -1
br i1 %169, label %170, label %172
170: ; preds = %167
%171 = call i32 @printf(i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.37, i64 0, i64 0))
br label %172
172: ; preds = %13, %170, %167
ret void
}

LLVM IR (-O2):
@.str = [4 x i8] c"txt\00"
@.str.1 = [1 x i8] zeroinitializer
@.str.2 = [2 x i8] c"c\00"
@.str.3 = [108 x i8] c"#include <stdio.h>\0A\0Aint main(int argc, char* argv[]){\0A printf(\22%s\22, \22Hello world!\\n\22);\0A\0A return 0;\0A}\0A\00"
@.str.4 = [3 x i8] c"cc\00"
@.str.5 = [131 x i8] c"#include <iostream>\0A\0Ausing namespace std;\0A\0Aint main(int argc, char* argv[]){\0A cout << \22Hello World!\22 << endl;\0A\0A return 0;\0A}\0A\00"
@.str.6 = [3 x i8] c"py\00"
@.str.7 = [84 x i8] c"import sys\0A\0A\0Adef main():\0A\09print(\22Hello world!\22)\0A\0A\0Aif __name__==\22__main__\22:\0A\09main()\0A\00"
@.str.8 = [3 x i8] c"go\00"
@.str.9 = [99 x i8] c"package main// change this as needed\0A\0Aimport \22fmt\22\0A\0Afunc main() {\0A\09fmt.Printf(\22Hello World!\\n\22)\0A}\0A\00"
@.str.10 = [3 x i8] c"hs\00"
@.str.11 = [35 x i8] c"main = do\0A\09putStrLn \22Hello World!\22\00"
@.str.12 = [42 x i8] c"#!/usr/bin/perl\0Aprint(\22Hello World!\\n\22);\0A\00"
@.str.13 = [23 x i8] c"#!/usr/bin/env scala\0A\0A\00"
@.str.14 = [22 x i8] c"#!/usr/bin/env node\0A\0A\00"
@.str.15 = [24 x i8] c"#!/usr/bin/env python\0A\0A\00"
@.str.16 = [5 x i8] c"html\00"
@.str.17 = [214 x i8] c"<!DOCTYPE html>\0A<html>\0A<link href=\22stylesheet.css\22 rel=\22stylesheet\22 type=\22text/css\22 />\0A<meta charset=\22utf-8\22>\0A\0A<head>\0A\09<title>TITLE GOES HERE</title>\0A</head>\0A\0A<body>\0A\09<p>\0A\09\09This is some text\0A\09</p>\0A</body>\0A</html>\0A\00"
@.str.18 = [233 x i8] c"<!DOCTYPE html>\0A<html>\0A<link href=\22stylesheet.css\22 rel=\22stylesheet\22 type=\22text/css\22 />\0A<meta charset=\22utf-8\22>\0A\0A<head>\0A\09<title>TITLE GOES HERE</title>\0A</head>\0A<script>\0A\0A</script>\0A<body>\0A\09<p>\0A\09\09This is some text\0A\09</p>\0A</body>\0A</html>\0A\00"
@.str.19 = [4 x i8] c"css\00"
@.str.20 = [11 x i8] c"body {\0A\0A}\0A\00"
@.str.21 = [3 x i8] c"js\00"
@.str.22 = [63 x i8] c"\0A\0Afunction main() {\0A\09console.log(\22Hello World!\22);\0A} \0A\0Amain();\0A\00"
@.str.23 = [3 x i8] c"rb\00"
@.str.24 = [22 x i8] c"puts \22Hello World!\22\0A\0A\00"
@.str.25 = [37 x i8] c"$(document).ready(function() {\0A\0A});\0A\00"
@.str.26 = [4 x i8] c"php\00"
@.str.27 = [32 x i8] c"<?php\0A\0Aecho \22Hello World!\22\0A\0A?>\0A\00"
@.str.28 = [3 x i8] c"ml\00"
@.str.29 = [64 x i8] c"let main () =\0A\09Printf.printf \22Hello World!\\n\22\0A\0Alet _ = main ()\0A\00"
@.str.30 = [4 x i8] c"erl\00"
@.str.31 = [2 x i8] c"\0A\00"
@.str.32 = [7 x i8] c"coffee\00"
@.str.33 = [30 x i8] c"Console.log(\22Hello World!\22)\0A\0A\00"
@.str.34 = [3 x i8] c"md\00"
@.str.35 = [21 x i8] c"# Title\0A\0A## Header 1\00"
@.str.37 = [57 x i8] c"There is something wrong. Check above output to see why!\00"
@str = [106 x i8] c"the file was not successfully created! Check command formatting. For help, use \22plate -h\22 or \22plate help\22\00"
define void @makefile(i8** %0, i8* %1, i32 %2) {
%4 = tail call i32 @checkstring(i8* %1)
switch i32 %4, label %77 [
i32 1, label %84
i32 352, label %5
i32 99, label %7
i32 185, label %9
i32 104, label %11
i32 203, label %13
i32 289, label %15
i32 513, label %17
i32 617, label %19
i32 599, label %21
i32 703, label %23
i32 418, label %25
i32 674, label %27
i32 214, label %29
i32 516, label %31
i32 740, label %33
i32 219, label %35
i32 414, label %37
i32 341, label %39
i32 326, label %41
i32 318, label %43
i32 435, label %45
i32 1177, label %47
i32 1083, label %49
i32 1335, label %51
i32 437, label %53
i32 1098, label %55
i32 329, label %57
i32 1079, label %59
i32 450, label %61
i32 672, label %63
i32 328, label %65
i32 524, label %67
i32 633, label %69
i32 1277, label %71
i32 867, label %73
i32 542, label %75
]
5: ; preds = %3
%6 = tail call i32 @templatizer(i8** %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 %2, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0))
br label %79
7: ; preds = %3
%8 = tail call i32 @templatizer(i8** %0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0), i32 %2, i8* getelementptr inbounds ([108 x i8], [108 x i8]* @.str.3, i64 0, i64 0))
br label %79
9: ; preds = %3
%10 = tail call i32 @templatizer(i8** %0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i32 %2, i8* getelementptr inbounds ([131 x i8], [131 x i8]* @.str.5, i64 0, i64 0))
br label %79
11: ; preds = %3
%12 = tail call i32 @hfile(i8** %0, i32 %2)
br label %79
13: ; preds = %3
%14 = tail call i32 @ch(i8** %0, i32 %2)
br label %79
15: ; preds = %3
%16 = tail call i32 @cpph(i8** %0, i32 %2)
br label %79
17: ; preds = %3
%18 = tail call i32 @cmake(i8** %0, i32 %2)
br label %79
19: ; preds = %3
%20 = tail call i32 @chmake(i8** %0, i32 %2)
br label %79
21: ; preds = %3
%22 = tail call i32 @cppmake(i8** %0, i32 %2)
br label %79
23: ; preds = %3
%24 = tail call i32 @cpphmake(i8** %0, i32 %2)
br label %79
25: ; preds = %3
%26 = tail call i32 @java(i8** %0, i32 %2)
br label %79
27: ; preds = %3
%28 = tail call i32 @templatizer(i8** %0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0), i32 %2, i8* getelementptr inbounds ([84 x i8], [84 x i8]* @.str.7, i64 0, i64 0))
br label %79
29: ; preds = %3
%30 = tail call i32 @templatizer(i8** %0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.8, i64 0, i64 0), i32 %2, i8* getelementptr inbounds ([99 x i8], [99 x i8]* @.str.9, i64 0, i64 0))
br label %79
31: ; preds = %3
%32 = tail call i32 @scala(i8** %0, i32 %2)
br label %79
33: ; preds = %3
%34 = tail call i32 @templatizer(i8** %0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.10, i64 0, i64 0), i32 %2, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.11, i64 0, i64 0))
br label %79
35: ; preds = %3
%36 = tail call i32 @sh(i8** %0, i8* %1, i32 %2)
br label %79
37: ; preds = %3
%38 = tail call i32 @sh(i8** %0, i8* %1, i32 %2)
br label %79
39: ; preds = %3
%40 = tail call i32 @sh(i8** %0, i8* %1, i32 %2)
br label %79
41: ; preds = %3
%42 = tail call i32 @sh(i8** %0, i8* %1, i32 %2)
br label %79
43: ; preds = %3
%44 = tail call i32 @sh(i8** %0, i8* %1, i32 %2)
br label %79
45: ; preds = %3
%46 = tail call i32 @templatizer(i8** %0, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0), i32 %2, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.12, i64 0, i64 0))
br label %79
47: ; preds = %3
%48 = tail call i32 @templatizer(i8** %0, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0), i32 %2, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.13, i64 0, i64 0))
br label %79
49: ; preds = %3
%50 = tail call i32 @templatizer(i8** %0, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0), i32 %2, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.14, i64 0, i64 0))
br label %79
51: ; preds = %3
%52 = tail call i32 @templatizer(i8** %0, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0), i32 %2, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.15, i64 0, i64 0))
br label %79
53: ; preds = %3
%54 = tail call i32 @templatizer(i8** %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.16, i64 0, i64 0), i32 %2, i8* getelementptr inbounds ([214 x i8], [214 x i8]* @.str.17, i64 0, i64 0))
br label %79
55: ; preds = %3
%56 = tail call i32 @templatizer(i8** %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.16, i64 0, i64 0), i32 %2, i8* getelementptr inbounds ([233 x i8], [233 x i8]* @.str.18, i64 0, i64 0))
br label %79
57: ; preds = %3
%58 = tail call i32 @templatizer(i8** %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.19, i64 0, i64 0), i32 %2, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.20, i64 0, i64 0))
br label %79
59: ; preds = %3
%60 = tail call i32 @templatizer(i8** %0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.21, i64 0, i64 0), i32 %2, i8* getelementptr inbounds ([63 x i8], [63 x i8]* @.str.22, i64 0, i64 0))
br label %79
61: ; preds = %3
%62 = tail call i32 @templatizer(i8** %0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.23, i64 0, i64 0), i32 %2, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.24, i64 0, i64 0))
br label %79
63: ; preds = %3
%64 = tail call i32 @templatizer(i8** %0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.21, i64 0, i64 0), i32 %2, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.25, i64 0, i64 0))
br label %79
65: ; preds = %3
%66 = tail call i32 @templatizer(i8** %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.26, i64 0, i64 0), i32 %2, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.27, i64 0, i64 0))
br label %79
67: ; preds = %3
%68 = tail call i32 @templatizer(i8** %0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.28, i64 0, i64 0), i32 %2, i8* getelementptr inbounds ([64 x i8], [64 x i8]* @.str.29, i64 0, i64 0))
br label %79
69: ; preds = %3
%70 = tail call i32 @templatizer(i8** %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.30, i64 0, i64 0), i32 %2, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.31, i64 0, i64 0))
br label %79
71: ; preds = %3
%72 = tail call i32 @templatizer(i8** %0, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.32, i64 0, i64 0), i32 %2, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.33, i64 0, i64 0))
br label %79
73: ; preds = %3
%74 = tail call i32 @templatizer(i8** %0, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.34, i64 0, i64 0), i32 %2, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.35, i64 0, i64 0))
br label %79
75: ; preds = %3
%76 = tail call i32 @cproject(i8** %0, i32 %2)
br label %84
77: ; preds = %3
%78 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([106 x i8], [106 x i8]* @str, i64 0, i64 0))
br label %84
79: ; preds = %73, %71, %69, %67, %65, %63, %61, %59, %57, %55, %53, %51, %49, %47, %45, %43, %41, %39, %37, %35, %33, %31, %29, %27, %25, %23, %21, %19, %17, %15, %13, %11, %9, %7, %5
%80 = phi i32 [ %74, %73 ], [ %72, %71 ], [ %70, %69 ], [ %68, %67 ], [ %66, %65 ], [ %64, %63 ], [ %62, %61 ], [ %60, %59 ], [ %58, %57 ], [ %56, %55 ], [ %54, %53 ], [ %52, %51 ], [ %50, %49 ], [ %48, %47 ], [ %46, %45 ], [ %44, %43 ], [ %42, %41 ], [ %40, %39 ], [ %38, %37 ], [ %36, %35 ], [ %34, %33 ], [ %32, %31 ], [ %30, %29 ], [ %28, %27 ], [ %26, %25 ], [ %24, %23 ], [ %22, %21 ], [ %20, %19 ], [ %18, %17 ], [ %16, %15 ], [ %14, %13 ], [ %12, %11 ], [ %10, %9 ], [ %8, %7 ], [ %6, %5 ]
%81 = icmp eq i32 %80, -1
br i1 %81, label %82, label %84
82: ; preds = %79
%83 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([57 x i8], [57 x i8]* @.str.37, i64 0, i64 0))
br label %84
84: ; preds = %75, %77, %79, %82, %3
ret void
}