#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 INT_MIN;
int /*<<< orphan*/ consoleCmdSetUpdateCmds();
int /*<<< orphan*/ consoleTranslAdd(char *, char *, int, char *, int);
int /*<<< orphan*/ sprintf(char *, char *, char const *const);
char **stringsGetContent(char *);
void initCmds() {
  int lastParams;
  char *lastParamsFlags;
  char *lastExpr;
  lastParams = 0;
  lastExpr = "gf.help(\"\")";
  lastParamsFlags = "";
  consoleTranslAdd("help", lastExpr, lastParams, lastParamsFlags, false);
  const char *const *helpPages = stringsGetContent("help");
  do {
    if (!**helpPages)
      continue;
    char cmd[50], expr[50];
    sprintf(cmd, "help %s", *helpPages);
    sprintf(expr, "gf.help(\"%s\")", *helpPages);
    lastParams = 0;
    lastExpr = expr;
    lastParamsFlags = "";
    consoleTranslAdd(cmd, lastExpr, lastParams, lastParamsFlags, false);
  } while (*++helpPages);
  lastParams = 0;
  lastExpr = "gf.history()";
  lastParamsFlags = "";
  consoleTranslAdd("history", lastExpr, lastParams, lastParamsFlags, false);
  lastParams = -2;
  lastExpr = "gf.map(%)";
  lastParamsFlags = "s";
  consoleTranslAdd("map ", lastExpr, lastParams, lastParamsFlags, false);
  lastParams = 1;
  lastExpr = "gf.new(%)";
  lastParamsFlags = "";
  consoleTranslAdd("new ", lastExpr, lastParams, lastParamsFlags, false);
  consoleTranslAdd("n ", lastExpr, lastParams, lastParamsFlags, true);
  lastParams = 0;
  lastExpr = "gf.close()";
  lastParamsFlags = "";
  consoleTranslAdd("close", lastExpr, lastParams, lastParamsFlags, false);
  lastParams = 1;
  lastExpr = "gf.open(%)";
  lastParamsFlags = "p";
  consoleTranslAdd("open ", lastExpr, lastParams, lastParamsFlags, false);
  consoleTranslAdd("o ", lastExpr, lastParams, lastParamsFlags, true);
  lastParams = 0;
  lastExpr = "gf.quit()";
  lastParamsFlags = "";
  consoleTranslAdd("quit", lastExpr, lastParams, lastParamsFlags, false);
  consoleTranslAdd("q", lastExpr, lastParams, lastParamsFlags, true);
  consoleTranslAdd("exit", lastExpr, lastParams, lastParamsFlags, true);
  lastParams = -3;
  lastExpr = "gf.rotate(%)";
  lastParamsFlags = "";
  consoleTranslAdd("rotate ", lastExpr, lastParams, lastParamsFlags, false);
  consoleTranslAdd("rot ", lastExpr, lastParams, lastParamsFlags, true);
  lastParams = 0;
  lastExpr = "gf.resetRotation()";
  lastParamsFlags = "";
  consoleTranslAdd("reset rotation", lastExpr, lastParams, lastParamsFlags,
                   false);
  consoleTranslAdd("reset rot", lastExpr, lastParams, lastParamsFlags, true);
  lastParams = 0;
  lastExpr = "gf.resetColors()";
  lastParamsFlags = "";
  consoleTranslAdd("reset colors", lastExpr, lastParams, lastParamsFlags,
                   false);
  lastParams = 0;
  lastExpr = "gf.resetBoundary()";
  lastParamsFlags = "";
  consoleTranslAdd("reset boundary", lastExpr, lastParams, lastParamsFlags,
                   false);
  lastParams = -3;
  lastExpr = "gf.rmap(%)";
  lastParamsFlags = "s-";
  consoleTranslAdd("rmap ", lastExpr, lastParams, lastParamsFlags, false);
  consoleCmdSetUpdateCmds();
  lastParams = 1;
  lastExpr = "gf.source(%)";
  lastParamsFlags = "p";
  consoleTranslAdd("source ", lastExpr, lastParams, lastParamsFlags, false);
  consoleTranslAdd("so ", lastExpr, lastParams, lastParamsFlags, true);
  lastParams = 0;
  lastExpr = "gf.vertexSelect(gf.vertexAdd())";
  lastParamsFlags = "";
  consoleTranslAdd("vertex add", lastExpr, lastParams, lastParamsFlags, false);
  consoleTranslAdd("vert add", lastExpr, lastParams, lastParamsFlags, true);
  lastParams = INT_MIN;
  lastExpr = "gf.vertexSelect(gf.vertexAdd(gf.posRotateBack(tuple(([%]+[0]*100)"
             "[:gf.get_dimen()]))))";
  lastParamsFlags = "";
  consoleTranslAdd("vertex add ", lastExpr, lastParams, lastParamsFlags, false);
  consoleTranslAdd("vert add ", lastExpr, lastParams, lastParamsFlags, true);
  lastParams = 0;
  lastExpr = "gf.vertexDeselect()";
  lastParamsFlags = "";
  consoleTranslAdd("vertex deselect", lastExpr, lastParams, lastParamsFlags,
                   false);
  consoleTranslAdd("vertex desel", lastExpr, lastParams, lastParamsFlags, true);
  consoleTranslAdd("vert deselect", lastExpr, lastParams, lastParamsFlags,
                   true);
  consoleTranslAdd("vert desel", lastExpr, lastParams, lastParamsFlags, true);
  lastParams = INT_MIN;
  lastExpr = "gf.vertexSetPos(gf.vertexSelected(),tuple(map(sum,zip(gf."
             "posRotateBack(tuple(([%]+[0]*100)[:gf.get_dimen()])),gf."
             "vertexGetPos(gf.vertexSelected())))))";
  lastParamsFlags = "";
  consoleTranslAdd("vertex move ", lastExpr, lastParams, lastParamsFlags,
                   false);
  consoleTranslAdd("vert move ", lastExpr, lastParams, lastParamsFlags, true);
  lastParams = 0;
  lastExpr = "gf.vertexNext()";
  lastParamsFlags = "";
  consoleTranslAdd("vertex next", lastExpr, lastParams, lastParamsFlags, false);
  consoleTranslAdd("vert next", lastExpr, lastParams, lastParamsFlags, true);
  lastParams = 0;
  lastExpr = "gf.vertexPrevious()";
  lastParamsFlags = "";
  consoleTranslAdd("vertex previous", lastExpr, lastParams, lastParamsFlags,
                   false);
  consoleTranslAdd("vertex prev", lastExpr, lastParams, lastParamsFlags, true);
  consoleTranslAdd("vert previous", lastExpr, lastParams, lastParamsFlags,
                   true);
  consoleTranslAdd("vert prev", lastExpr, lastParams, lastParamsFlags, true);
  lastParams = 0;
  lastExpr = "gf.vertexRemove(gf.vertexSelected())";
  lastParamsFlags = "";
  consoleTranslAdd("vertex remove", lastExpr, lastParams, lastParamsFlags,
                   false);
  consoleTranslAdd("vertex rm", lastExpr, lastParams, lastParamsFlags, true);
  consoleTranslAdd("vert remove", lastExpr, lastParams, lastParamsFlags, true);
  consoleTranslAdd("vert rm", lastExpr, lastParams, lastParamsFlags, true);
  lastParams = 0;
  lastExpr = "gf.vertexSelected()";
  lastParamsFlags = "";
  consoleTranslAdd("vertex select", lastExpr, lastParams, lastParamsFlags,
                   false);
  consoleTranslAdd("vertex sel", lastExpr, lastParams, lastParamsFlags, true);
  lastParams = 1;
  lastExpr = "gf.vertexSelect(%)";
  lastParamsFlags = "";
  consoleTranslAdd("vertex select ", lastExpr, lastParams, lastParamsFlags,
                   false);
  consoleTranslAdd("vertex sel ", lastExpr, lastParams, lastParamsFlags, true);
  consoleTranslAdd("vert select ", lastExpr, lastParams, lastParamsFlags, true);
  consoleTranslAdd("vert sel ", lastExpr, lastParams, lastParamsFlags, true);
  lastParams = 1;
  lastExpr = "gf.write(%)";
  lastParamsFlags = "p";
  consoleTranslAdd("write ", lastExpr, lastParams, lastParamsFlags, false);
  consoleTranslAdd("w ", lastExpr, lastParams, lastParamsFlags, true);
}


x86 assembly (clang, -O0):
<initCmds>:
push   %rbp
mov    %rsp,%rbp
sub    $0xa0,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xea7(%rip),%rax
mov    %rax,-0x18(%rbp)
lea    0x107c(%rip),%rax
mov    %rax,-0x10(%rbp)
mov    -0x18(%rbp),%rsi
mov    -0x4(%rbp),%edx
mov    -0x10(%rbp),%rcx
lea    0xe92(%rip),%rdi
xor    %r8d,%r8d
call   1040 <consoleTranslAdd@plt>
lea    0xe83(%rip),%rdi
call   1030 <stringsGetContent@plt>
mov    %rax,-0x20(%rbp)
mov    -0x20(%rbp),%rax
mov    (%rax),%rax
cmpb   $0x0,(%rax)
jne    11a7 <initCmds+0x67>
jmp    120c <initCmds+0xcc>
lea    -0x60(%rbp),%rdi
mov    -0x20(%rbp),%rax
mov    (%rax),%rdx
lea    0xe58(%rip),%rsi
call   1050 <sprintf@plt>
lea    -0xa0(%rbp),%rdi
mov    -0x20(%rbp),%rax
mov    (%rax),%rdx
lea    0xe46(%rip),%rsi
call   1050 <sprintf@plt>
movl   $0x0,-0x4(%rbp)
lea    -0xa0(%rbp),%rax
mov    %rax,-0x18(%rbp)
lea    0xfef(%rip),%rax
mov    %rax,-0x10(%rbp)
lea    -0x60(%rbp),%rdi
mov    -0x18(%rbp),%rsi
mov    -0x4(%rbp),%edx
mov    -0x10(%rbp),%rcx
xor    %r8d,%r8d
call   1040 <consoleTranslAdd@plt>
mov    -0x20(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x20(%rbp)
cmpq   $0x0,0x8(%rax)
jne    1192 <initCmds+0x52>
movl   $0x0,-0x4(%rbp)
lea    0xdf3(%rip),%rax
mov    %rax,-0x18(%rbp)
lea    0xfa1(%rip),%rax
mov    %rax,-0x10(%rbp)
mov    -0x18(%rbp),%rsi
mov    -0x4(%rbp),%edx
mov    -0x10(%rbp),%rcx
lea    0xddf(%rip),%rdi
xor    %r8d,%r8d
call   1040 <consoleTranslAdd@plt>
movl   $0xfffffffe,-0x4(%rbp)
lea    0xdd1(%rip),%rax
mov    %rax,-0x18(%rbp)
lea    0xda1(%rip),%rax
mov    %rax,-0x10(%rbp)
mov    -0x18(%rbp),%rsi
mov    -0x4(%rbp),%edx
mov    -0x10(%rbp),%rcx
lea    0xe96(%rip),%rdi
xor    %r8d,%r8d
call   1040 <consoleTranslAdd@plt>
movl   $0x1,-0x4(%rbp)
lea    0xda4(%rip),%rax
mov    %rax,-0x18(%rbp)
lea    0xf33(%rip),%rax
mov    %rax,-0x10(%rbp)
mov    -0x18(%rbp),%rsi
mov    -0x4(%rbp),%edx
mov    -0x10(%rbp),%rcx
lea    0xd8d(%rip),%rdi
xor    %r8d,%r8d
call   1040 <consoleTranslAdd@plt>
mov    -0x18(%rbp),%rsi
mov    -0x4(%rbp),%edx
mov    -0x10(%rbp),%rcx
lea    0xd97(%rip),%rdi
mov    $0x1,%r8d
call   1040 <consoleTranslAdd@plt>
movl   $0x0,-0x4(%rbp)
lea    0xd5f(%rip),%rax
mov    %rax,-0x18(%rbp)
lea    0xedf(%rip),%rax
mov    %rax,-0x10(%rbp)
mov    -0x18(%rbp),%rsi
mov    -0x4(%rbp),%edx
mov    -0x10(%rbp),%rcx
lea    0xd49(%rip),%rdi
xor    %r8d,%r8d
call   1040 <consoleTranslAdd@plt>
movl   $0x1,-0x4(%rbp)
lea    0xd39(%rip),%rax
mov    %rax,-0x18(%rbp)
lea    0xcd7(%rip),%rax
mov    %rax,-0x10(%rbp)
mov    -0x18(%rbp),%rsi
mov    -0x4(%rbp),%edx
mov    -0x10(%rbp),%rcx
lea    0xd23(%rip),%rdi
xor    %r8d,%r8d
call   1040 <consoleTranslAdd@plt>
mov    -0x18(%rbp),%rsi
mov    -0x4(%rbp),%edx
mov    -0x10(%rbp),%rcx
lea    0xdd5(%rip),%rdi
mov    $0x1,%r8d
call   1040 <consoleTranslAdd@plt>
movl   $0x0,-0x4(%rbp)
lea    0xcf6(%rip),%rax
mov    %rax,-0x18(%rbp)
lea    0xe54(%rip),%rax
mov    %rax,-0x10(%rbp)
mov    -0x18(%rbp),%rsi
mov    -0x4(%rbp),%edx
mov    -0x10(%rbp),%rcx
lea    0xcdf(%rip),%rdi
xor    %r8d,%r8d
call   1040 <consoleTranslAdd@plt>
mov    -0x18(%rbp),%rsi
mov    -0x4(%rbp),%edx
mov    -0x10(%rbp),%rcx
lea    0xcca(%rip),%rdi
mov    $0x1,%r8d
call   1040 <consoleTranslAdd@plt>
mov    -0x18(%rbp),%rsi
mov    -0x4(%rbp),%edx
mov    -0x10(%rbp),%rcx
lea    0xcaf(%rip),%rdi
mov    $0x1,%r8d
call   1040 <consoleTranslAdd@plt>
movl   $0xfffffffd,-0x4(%rbp)
lea    0xc9b(%rip),%rax
mov    %rax,-0x18(%rbp)
lea    0xde3(%rip),%rax
mov    %rax,-0x10(%rbp)
mov    -0x18(%rbp),%rsi
mov    -0x4(%rbp),%edx
mov    -0x10(%rbp),%rcx
lea    0xc87(%rip),%rdi
xor    %r8d,%r8d
call   1040 <consoleTranslAdd@plt>
mov    -0x18(%rbp),%rsi
mov    -0x4(%rbp),%edx
mov    -0x10(%rbp),%rcx
lea    0xc75(%rip),%rdi
mov    $0x1,%r8d
call   1040 <consoleTranslAdd@plt>
movl   $0x0,-0x4(%rbp)
lea    0xc61(%rip),%rax
mov    %rax,-0x18(%rbp)
lea    0xd8f(%rip),%rax
mov    %rax,-0x10(%rbp)
mov    -0x18(%rbp),%rsi
mov    -0x4(%rbp),%edx
mov    -0x10(%rbp),%rcx
lea    0xc53(%rip),%rdi
xor    %r8d,%r8d
call   1040 <consoleTranslAdd@plt>
mov    -0x18(%rbp),%rsi
mov    -0x4(%rbp),%edx
mov    -0x10(%rbp),%rcx
lea    0xc48(%rip),%rdi
mov    $0x1,%r8d
call   1040 <consoleTranslAdd@plt>
movl   $0x0,-0x4(%rbp)
lea    0xc39(%rip),%rax
mov    %rax,-0x18(%rbp)
lea    0xd3b(%rip),%rax
mov    %rax,-0x10(%rbp)
mov    -0x18(%rbp),%rsi
mov    -0x4(%rbp),%edx
mov    -0x10(%rbp),%rcx
lea    0xc29(%rip),%rdi
xor    %r8d,%r8d
call   1040 <consoleTranslAdd@plt>
movl   $0x0,-0x4(%rbp)
lea    0xc20(%rip),%rax
mov    %rax,-0x18(%rbp)
lea    0xd04(%rip),%rax
mov    %rax,-0x10(%rbp)
mov    -0x18(%rbp),%rsi
mov    -0x4(%rbp),%edx
mov    -0x10(%rbp),%rcx
lea    0xc12(%rip),%rdi
xor    %r8d,%r8d
call   1040 <consoleTranslAdd@plt>
movl   $0xfffffffd,-0x4(%rbp)
lea    0xc0b(%rip),%rax
mov    %rax,-0x18(%rbp)
lea    0xc0b(%rip),%rax
mov    %rax,-0x10(%rbp)
mov    -0x18(%rbp),%rsi
mov    -0x4(%rbp),%edx
mov    -0x10(%rbp),%rcx
lea    0xbf8(%rip),%rdi
xor    %r8d,%r8d
call   1040 <consoleTranslAdd@plt>
mov    $0x0,%al
call   1060 <consoleCmdSetUpdateCmds@plt>
movl   $0x1,-0x4(%rbp)
lea    0xbe1(%rip),%rax
mov    %rax,-0x18(%rbp)
lea    0xabe(%rip),%rax
mov    %rax,-0x10(%rbp)
mov    -0x18(%rbp),%rsi
mov    -0x4(%rbp),%edx
mov    -0x10(%rbp),%rcx
lea    0xbcd(%rip),%rdi
xor    %r8d,%r8d
call   1040 <consoleTranslAdd@plt>
mov    -0x18(%rbp),%rsi
mov    -0x4(%rbp),%edx
mov    -0x10(%rbp),%rcx
lea    0xbbb(%rip),%rdi
mov    $0x1,%r8d
call   1040 <consoleTranslAdd@plt>
movl   $0x0,-0x4(%rbp)
lea    0xba6(%rip),%rax
mov    %rax,-0x18(%rbp)
lea    0xc3b(%rip),%rax
mov    %rax,-0x10(%rbp)
mov    -0x18(%rbp),%rsi
mov    -0x4(%rbp),%edx
mov    -0x10(%rbp),%rcx
lea    0xba5(%rip),%rdi
xor    %r8d,%r8d
call   1040 <consoleTranslAdd@plt>
mov    -0x18(%rbp),%rsi
mov    -0x4(%rbp),%edx
mov    -0x10(%rbp),%rcx
lea    0xb96(%rip),%rdi
mov    $0x1,%r8d
call   1040 <consoleTranslAdd@plt>
mov    0x2a01(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x4(%rbp)
lea    0xb81(%rip),%rax
mov    %rax,-0x18(%rbp)
lea    0xbe2(%rip),%rax
mov    %rax,-0x10(%rbp)
mov    -0x18(%rbp),%rsi
mov    -0x4(%rbp),%edx
mov    -0x10(%rbp),%rcx
lea    0xbb7(%rip),%rdi
xor    %r8d,%r8d
call   1040 <consoleTranslAdd@plt>
mov    -0x18(%rbp),%rsi
mov    -0x4(%rbp),%edx
mov    -0x10(%rbp),%rcx
lea    0xba9(%rip),%rdi
mov    $0x1,%r8d
call   1040 <consoleTranslAdd@plt>
movl   $0x0,-0x4(%rbp)
lea    0xb9a(%rip),%rax
mov    %rax,-0x18(%rbp)
lea    0xb8e(%rip),%rax
mov    %rax,-0x10(%rbp)
mov    -0x18(%rbp),%rsi
mov    -0x4(%rbp),%edx
mov    -0x10(%rbp),%rcx
lea    0xb8d(%rip),%rdi
xor    %r8d,%r8d
call   1040 <consoleTranslAdd@plt>
mov    -0x18(%rbp),%rsi
mov    -0x4(%rbp),%edx
mov    -0x10(%rbp),%rcx
lea    0xb83(%rip),%rdi
mov    $0x1,%r8d
call   1040 <consoleTranslAdd@plt>
mov    -0x18(%rbp),%rsi
mov    -0x4(%rbp),%edx
mov    -0x10(%rbp),%rcx
lea    0xb73(%rip),%rdi
mov    $0x1,%r8d
call   1040 <consoleTranslAdd@plt>
mov    -0x18(%rbp),%rsi
mov    -0x4(%rbp),%edx
mov    -0x10(%rbp),%rcx
lea    0xb64(%rip),%rdi
mov    $0x1,%r8d
call   1040 <consoleTranslAdd@plt>
mov    0x291a(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x4(%rbp)
lea    0xb51(%rip),%rax
mov    %rax,-0x18(%rbp)
lea    0xafb(%rip),%rax
mov    %rax,-0x10(%rbp)
mov    -0x18(%rbp),%rsi
mov    -0x4(%rbp),%edx
mov    -0x10(%rbp),%rcx
lea    0xbc7(%rip),%rdi
xor    %r8d,%r8d
call   1040 <consoleTranslAdd@plt>
mov    -0x18(%rbp),%rsi
mov    -0x4(%rbp),%edx
mov    -0x10(%rbp),%rcx
lea    0xbba(%rip),%rdi
mov    $0x1,%r8d
call   1040 <consoleTranslAdd@plt>
movl   $0x0,-0x4(%rbp)
lea    0xbac(%rip),%rax
mov    %rax,-0x18(%rbp)
lea    0xaa7(%rip),%rax
mov    %rax,-0x10(%rbp)
mov    -0x18(%rbp),%rsi
mov    -0x4(%rbp),%edx
mov    -0x10(%rbp),%rcx
lea    0xb9b(%rip),%rdi
xor    %r8d,%r8d
call   1040 <consoleTranslAdd@plt>
mov    -0x18(%rbp),%rsi
mov    -0x4(%rbp),%edx
mov    -0x10(%rbp),%rcx
lea    0xb8d(%rip),%rdi
mov    $0x1,%r8d
call   1040 <consoleTranslAdd@plt>
movl   $0x0,-0x4(%rbp)
lea    0xb7e(%rip),%rax
mov    %rax,-0x18(%rbp)
lea    0xa53(%rip),%rax
mov    %rax,-0x10(%rbp)
mov    -0x18(%rbp),%rsi
mov    -0x4(%rbp),%edx
mov    -0x10(%rbp),%rcx
lea    0xb71(%rip),%rdi
xor    %r8d,%r8d
call   1040 <consoleTranslAdd@plt>
mov    -0x18(%rbp),%rsi
mov    -0x4(%rbp),%edx
mov    -0x10(%rbp),%rcx
lea    0xb67(%rip),%rdi
mov    $0x1,%r8d
call   1040 <consoleTranslAdd@plt>
mov    -0x18(%rbp),%rsi
mov    -0x4(%rbp),%edx
mov    -0x10(%rbp),%rcx
lea    0xb56(%rip),%rdi
mov    $0x1,%r8d
call   1040 <consoleTranslAdd@plt>
mov    -0x18(%rbp),%rsi
mov    -0x4(%rbp),%edx
mov    -0x10(%rbp),%rcx
lea    0xb47(%rip),%rdi
mov    $0x1,%r8d
call   1040 <consoleTranslAdd@plt>
movl   $0x0,-0x4(%rbp)
lea    0xb38(%rip),%rax
mov    %rax,-0x18(%rbp)
lea    0x9c5(%rip),%rax
mov    %rax,-0x10(%rbp)
mov    -0x18(%rbp),%rsi
mov    -0x4(%rbp),%edx
mov    -0x10(%rbp),%rcx
lea    0xb3c(%rip),%rdi
xor    %r8d,%r8d
call   1040 <consoleTranslAdd@plt>
mov    -0x18(%rbp),%rsi
mov    -0x4(%rbp),%edx
mov    -0x10(%rbp),%rcx
lea    0xb30(%rip),%rdi
mov    $0x1,%r8d
call   1040 <consoleTranslAdd@plt>
mov    -0x18(%rbp),%rsi
mov    -0x4(%rbp),%edx
mov    -0x10(%rbp),%rcx
lea    0xb1d(%rip),%rdi
mov    $0x1,%r8d
call   1040 <consoleTranslAdd@plt>
mov    -0x18(%rbp),%rsi
mov    -0x4(%rbp),%edx
mov    -0x10(%rbp),%rcx
lea    0xb0c(%rip),%rdi
mov    $0x1,%r8d
call   1040 <consoleTranslAdd@plt>
movl   $0x0,-0x4(%rbp)
lea    0xafb(%rip),%rax
mov    %rax,-0x18(%rbp)
lea    0x937(%rip),%rax
mov    %rax,-0x10(%rbp)
mov    -0x18(%rbp),%rsi
mov    -0x4(%rbp),%edx
mov    -0x10(%rbp),%rcx
lea    0xaee(%rip),%rdi
xor    %r8d,%r8d
call   1040 <consoleTranslAdd@plt>
mov    -0x18(%rbp),%rsi
mov    -0x4(%rbp),%edx
mov    -0x10(%rbp),%rcx
lea    0xae2(%rip),%rdi
mov    $0x1,%r8d
call   1040 <consoleTranslAdd@plt>
movl   $0x1,-0x4(%rbp)
lea    0xad4(%rip),%rax
mov    %rax,-0x18(%rbp)
lea    0x8e3(%rip),%rax
mov    %rax,-0x10(%rbp)
mov    -0x18(%rbp),%rsi
mov    -0x4(%rbp),%edx
mov    -0x10(%rbp),%rcx
lea    0xac6(%rip),%rdi
xor    %r8d,%r8d
call   1040 <consoleTranslAdd@plt>
mov    -0x18(%rbp),%rsi
mov    -0x4(%rbp),%edx
mov    -0x10(%rbp),%rcx
lea    0xabb(%rip),%rdi
mov    $0x1,%r8d
call   1040 <consoleTranslAdd@plt>
mov    -0x18(%rbp),%rsi
mov    -0x4(%rbp),%edx
mov    -0x10(%rbp),%rcx
lea    0xaaa(%rip),%rdi
mov    $0x1,%r8d
call   1040 <consoleTranslAdd@plt>
mov    -0x18(%rbp),%rsi
mov    -0x4(%rbp),%edx
mov    -0x10(%rbp),%rcx
lea    0xa9a(%rip),%rdi
mov    $0x1,%r8d
call   1040 <consoleTranslAdd@plt>
movl   $0x1,-0x4(%rbp)
lea    0xa8b(%rip),%rax
mov    %rax,-0x18(%rbp)
lea    0x684(%rip),%rax
mov    %rax,-0x10(%rbp)
mov    -0x18(%rbp),%rsi
mov    -0x4(%rbp),%edx
mov    -0x10(%rbp),%rcx
lea    0xa76(%rip),%rdi
xor    %r8d,%r8d
call   1040 <consoleTranslAdd@plt>
mov    -0x18(%rbp),%rsi
mov    -0x4(%rbp),%edx
mov    -0x10(%rbp),%rcx
lea    0x697(%rip),%rdi
mov    $0x1,%r8d
call   1040 <consoleTranslAdd@plt>
add    $0xa0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<initCmds>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x78,%rsp
lea    0xeb7(%rip),%rbx
lea    0xea4(%rip),%rsi
lea    0x107d(%rip),%r14
mov    %rbx,%rdi
xor    %edx,%edx
mov    %r14,%rcx
xor    %r8d,%r8d
call   1040 <consoleTranslAdd@plt>
mov    %rbx,%rdi
call   1030 <stringsGetContent@plt>
mov    %rax,%rbx
mov    (%rax),%rdx
add    $0x8,%rbx
lea    0xe85(%rip),%r15
lea    0x40(%rsp),%r12
lea    0xe81(%rip),%r13
mov    %rsp,%rbp
jmp    11ac <initCmds+0x6c>
nopl   (%rax)
mov    (%rbx),%rdx
add    $0x8,%rbx
test   %rdx,%rdx
je     11e0 <initCmds+0xa0>
cmpb   $0x0,(%rdx)
je     11a0 <initCmds+0x60>
mov    %r12,%rdi
mov    %r15,%rsi
call   1050 <sprintf@plt>
mov    -0x8(%rbx),%rdx
mov    %rbp,%rdi
mov    %r13,%rsi
call   1050 <sprintf@plt>
mov    %r12,%rdi
mov    %rbp,%rsi
xor    %edx,%edx
mov    %r14,%rcx
xor    %r8d,%r8d
call   1040 <consoleTranslAdd@plt>
jmp    11a0 <initCmds+0x60>
lea    0xe4d(%rip),%rdi
lea    0xe39(%rip),%rsi
lea    0xfeb(%rip),%rbx
xor    %edx,%edx
mov    %rbx,%rcx
xor    %r8d,%r8d
call   1040 <consoleTranslAdd@plt>
lea    0xf19(%rip),%rdi
lea    0xe2c(%rip),%rsi
lea    0xe00(%rip),%rcx
mov    $0xfffffffe,%edx
xor    %r8d,%r8d
call   1040 <consoleTranslAdd@plt>
lea    0xe25(%rip),%rdi
lea    0xe14(%rip),%rbp
mov    %rbp,%rsi
mov    $0x1,%edx
mov    %rbx,%rcx
xor    %r8d,%r8d
call   1040 <consoleTranslAdd@plt>
lea    0xe28(%rip),%rdi
mov    %rbp,%rsi
mov    $0x1,%edx
mov    %rbx,%rcx
mov    $0x1,%r8d
call   1040 <consoleTranslAdd@plt>
lea    0xdf7(%rip),%rdi
lea    0xde5(%rip),%rsi
xor    %edx,%edx
mov    %rbx,%rcx
xor    %r8d,%r8d
call   1040 <consoleTranslAdd@plt>
lea    0xded(%rip),%rdi
lea    0xddb(%rip),%rbp
lea    0xd7d(%rip),%r14
mov    %rbp,%rsi
mov    $0x1,%edx
mov    %r14,%rcx
xor    %r8d,%r8d
call   1040 <consoleTranslAdd@plt>
lea    0xe91(%rip),%rdi
mov    %rbp,%rsi
mov    $0x1,%edx
mov    %r14,%rcx
mov    $0x1,%r8d
call   1040 <consoleTranslAdd@plt>
lea    0xdb8(%rip),%rdi
lea    0xda7(%rip),%rbp
mov    %rbp,%rsi
xor    %edx,%edx
mov    %rbx,%rcx
xor    %r8d,%r8d
call   1040 <consoleTranslAdd@plt>
lea    0xd9f(%rip),%rdi
mov    %rbp,%rsi
xor    %edx,%edx
mov    %rbx,%rcx
mov    $0x1,%r8d
call   1040 <consoleTranslAdd@plt>
lea    0xd87(%rip),%rdi
mov    %rbp,%rsi
xor    %edx,%edx
mov    %rbx,%rcx
mov    $0x1,%r8d
call   1040 <consoleTranslAdd@plt>
lea    0xd7f(%rip),%rdi
lea    0xd6b(%rip),%rbp
mov    %rbp,%rsi
mov    $0xfffffffd,%edx
mov    %rbx,%rcx
xor    %r8d,%r8d
call   1040 <consoleTranslAdd@plt>
lea    0xd66(%rip),%rdi
mov    %rbp,%rsi
mov    $0xfffffffd,%edx
mov    %rbx,%rcx
mov    $0x1,%r8d
call   1040 <consoleTranslAdd@plt>
lea    0xd61(%rip),%rdi
lea    0xd47(%rip),%rbp
mov    %rbp,%rsi
xor    %edx,%edx
mov    %rbx,%rcx
xor    %r8d,%r8d
call   1040 <consoleTranslAdd@plt>
lea    0xd52(%rip),%rdi
mov    %rbp,%rsi
xor    %edx,%edx
mov    %rbx,%rcx
mov    $0x1,%r8d
call   1040 <consoleTranslAdd@plt>
lea    0xd53(%rip),%rdi
lea    0xd3b(%rip),%rsi
xor    %edx,%edx
mov    %rbx,%rcx
xor    %r8d,%r8d
call   1040 <consoleTranslAdd@plt>
lea    0xd58(%rip),%rdi
lea    0xd3e(%rip),%rsi
xor    %edx,%edx
mov    %rbx,%rcx
xor    %r8d,%r8d
call   1040 <consoleTranslAdd@plt>
lea    0xd5a(%rip),%rdi
lea    0xd45(%rip),%rsi
lea    0xd49(%rip),%rcx
mov    $0xfffffffd,%edx
xor    %r8d,%r8d
call   1040 <consoleTranslAdd@plt>
xor    %eax,%eax
call   1060 <consoleCmdSetUpdateCmds@plt>
lea    0xd44(%rip),%rdi
lea    0xd30(%rip),%rbp
mov    %rbp,%rsi
mov    $0x1,%edx
mov    %r14,%rcx
xor    %r8d,%r8d
call   1040 <consoleTranslAdd@plt>
lea    0xd2b(%rip),%rdi
mov    %rbp,%rsi
mov    $0x1,%edx
mov    %r14,%rcx
mov    $0x1,%r8d
call   1040 <consoleTranslAdd@plt>
lea    0xd32(%rip),%rdi
lea    0xd0b(%rip),%rbp
mov    %rbp,%rsi
xor    %edx,%edx
mov    %rbx,%rcx
xor    %r8d,%r8d
call   1040 <consoleTranslAdd@plt>
lea    0xd1f(%rip),%rdi
mov    %rbp,%rsi
xor    %edx,%edx
mov    %rbx,%rcx
mov    $0x1,%r8d
call   1040 <consoleTranslAdd@plt>
mov    0x2b82(%rip),%r12
mov    (%r12),%ebp
lea    0xd5a(%rip),%rdi
lea    0xcfc(%rip),%r15
mov    %r15,%rsi
mov    %ebp,%edx
mov    %rbx,%rcx
xor    %r8d,%r8d
call   1040 <consoleTranslAdd@plt>
lea    0xd48(%rip),%rdi
mov    %r15,%rsi
mov    %ebp,%edx
mov    %rbx,%rcx
mov    $0x1,%r8d
call   1040 <consoleTranslAdd@plt>
lea    0xd4c(%rip),%rdi
lea    0xd31(%rip),%rbp
mov    %rbp,%rsi
xor    %edx,%edx
mov    %rbx,%rcx
xor    %r8d,%r8d
call   1040 <consoleTranslAdd@plt>
lea    0xd3e(%rip),%rdi
mov    %rbp,%rsi
xor    %edx,%edx
mov    %rbx,%rcx
mov    $0x1,%r8d
call   1040 <consoleTranslAdd@plt>
lea    0xd31(%rip),%rdi
mov    %rbp,%rsi
xor    %edx,%edx
mov    %rbx,%rcx
mov    $0x1,%r8d
call   1040 <consoleTranslAdd@plt>
lea    0xd25(%rip),%rdi
mov    %rbp,%rsi
xor    %edx,%edx
mov    %rbx,%rcx
mov    $0x1,%r8d
call   1040 <consoleTranslAdd@plt>
mov    (%r12),%ebp
lea    0xda9(%rip),%rdi
lea    0xd0b(%rip),%r15
mov    %r15,%rsi
mov    %ebp,%edx
mov    %rbx,%rcx
xor    %r8d,%r8d
call   1040 <consoleTranslAdd@plt>
lea    0xd98(%rip),%rdi
mov    %r15,%rsi
mov    %ebp,%edx
mov    %rbx,%rcx
mov    $0x1,%r8d
call   1040 <consoleTranslAdd@plt>
lea    0xd99(%rip),%rdi
lea    0xd82(%rip),%rbp
mov    %rbp,%rsi
xor    %edx,%edx
mov    %rbx,%rcx
xor    %r8d,%r8d
call   1040 <consoleTranslAdd@plt>
lea    0xd87(%rip),%rdi
mov    %rbp,%rsi
xor    %edx,%edx
mov    %rbx,%rcx
mov    $0x1,%r8d
call   1040 <consoleTranslAdd@plt>
lea    0xd8b(%rip),%rdi
lea    0xd70(%rip),%rbp
mov    %rbp,%rsi
xor    %edx,%edx
mov    %rbx,%rcx
xor    %r8d,%r8d
call   1040 <consoleTranslAdd@plt>
lea    0xd7d(%rip),%rdi
mov    %rbp,%rsi
xor    %edx,%edx
mov    %rbx,%rcx
mov    $0x1,%r8d
call   1040 <consoleTranslAdd@plt>
lea    0xd6f(%rip),%rdi
mov    %rbp,%rsi
xor    %edx,%edx
mov    %rbx,%rcx
mov    $0x1,%r8d
call   1040 <consoleTranslAdd@plt>
lea    0xd63(%rip),%rdi
mov    %rbp,%rsi
xor    %edx,%edx
mov    %rbx,%rcx
mov    $0x1,%r8d
call   1040 <consoleTranslAdd@plt>
lea    0xd78(%rip),%rdi
lea    0xd4c(%rip),%rbp
mov    %rbp,%rsi
xor    %edx,%edx
mov    %rbx,%rcx
xor    %r8d,%r8d
call   1040 <consoleTranslAdd@plt>
lea    0xd68(%rip),%rdi
mov    %rbp,%rsi
xor    %edx,%edx
mov    %rbx,%rcx
mov    $0x1,%r8d
call   1040 <consoleTranslAdd@plt>
lea    0xd58(%rip),%rdi
mov    %rbp,%rsi
xor    %edx,%edx
mov    %rbx,%rcx
mov    $0x1,%r8d
call   1040 <consoleTranslAdd@plt>
lea    0xd4a(%rip),%rdi
mov    %rbp,%rsi
xor    %edx,%edx
mov    %rbx,%rcx
mov    $0x1,%r8d
call   1040 <consoleTranslAdd@plt>
lea    0xd4c(%rip),%rdi
lea    0xd31(%rip),%rbp
mov    %rbp,%rsi
xor    %edx,%edx
mov    %rbx,%rcx
xor    %r8d,%r8d
call   1040 <consoleTranslAdd@plt>
lea    0xd3c(%rip),%rdi
mov    %rbp,%rsi
xor    %edx,%edx
mov    %rbx,%rcx
mov    $0x1,%r8d
call   1040 <consoleTranslAdd@plt>
lea    0xd40(%rip),%rdi
lea    0xd26(%rip),%rbp
mov    %rbp,%rsi
mov    $0x1,%edx
mov    %rbx,%rcx
xor    %r8d,%r8d
call   1040 <consoleTranslAdd@plt>
lea    0xd2e(%rip),%rdi
mov    %rbp,%rsi
mov    $0x1,%edx
mov    %rbx,%rcx
mov    $0x1,%r8d
call   1040 <consoleTranslAdd@plt>
lea    0xd1d(%rip),%rdi
mov    %rbp,%rsi
mov    $0x1,%edx
mov    %rbx,%rcx
mov    $0x1,%r8d
call   1040 <consoleTranslAdd@plt>
lea    0xd0d(%rip),%rdi
mov    %rbp,%rsi
mov    $0x1,%edx
mov    %rbx,%rcx
mov    $0x1,%r8d
call   1040 <consoleTranslAdd@plt>
lea    0xd06(%rip),%rdi
lea    0xcf3(%rip),%rbx
mov    %rbx,%rsi
mov    $0x1,%edx
mov    %r14,%rcx
xor    %r8d,%r8d
call   1040 <consoleTranslAdd@plt>
lea    0x920(%rip),%rdi
mov    %rbx,%rsi
mov    $0x1,%edx
mov    %r14,%rcx
mov    $0x1,%r8d
call   1040 <consoleTranslAdd@plt>
add    $0x78,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [12 x i8] c"gf.help(\22\22)\00"
@.str.1 = [1 x i8] zeroinitializer
@.str.2 = [5 x i8] c"help\00"
@.str.3 = [8 x i8] c"help %s\00"
@.str.4 = [14 x i8] c"gf.help(\22%s\22)\00"
@.str.5 = [13 x i8] c"gf.history()\00"
@.str.6 = [8 x i8] c"history\00"
@.str.7 = [10 x i8] c"gf.map(%)\00"
@.str.8 = [2 x i8] c"s\00"
@.str.9 = [5 x i8] c"map \00"
@.str.10 = [10 x i8] c"gf.new(%)\00"
@.str.11 = [5 x i8] c"new \00"
@.str.12 = [3 x i8] c"n \00"
@.str.13 = [11 x i8] c"gf.close()\00"
@.str.14 = [6 x i8] c"close\00"
@.str.15 = [11 x i8] c"gf.open(%)\00"
@.str.16 = [2 x i8] c"p\00"
@.str.17 = [6 x i8] c"open \00"
@.str.18 = [3 x i8] c"o \00"
@.str.19 = [10 x i8] c"gf.quit()\00"
@.str.20 = [5 x i8] c"quit\00"
@.str.21 = [2 x i8] c"q\00"
@.str.22 = [5 x i8] c"exit\00"
@.str.23 = [13 x i8] c"gf.rotate(%)\00"
@.str.24 = [8 x i8] c"rotate \00"
@.str.25 = [5 x i8] c"rot \00"
@.str.26 = [19 x i8] c"gf.resetRotation()\00"
@.str.27 = [15 x i8] c"reset rotation\00"
@.str.28 = [10 x i8] c"reset rot\00"
@.str.29 = [17 x i8] c"gf.resetColors()\00"
@.str.30 = [13 x i8] c"reset colors\00"
@.str.31 = [19 x i8] c"gf.resetBoundary()\00"
@.str.32 = [15 x i8] c"reset boundary\00"
@.str.33 = [11 x i8] c"gf.rmap(%)\00"
@.str.34 = [3 x i8] c"s-\00"
@.str.35 = [6 x i8] c"rmap \00"
@.str.36 = [13 x i8] c"gf.source(%)\00"
@.str.37 = [8 x i8] c"source \00"
@.str.38 = [4 x i8] c"so \00"
@.str.39 = [32 x i8] c"gf.vertexSelect(gf.vertexAdd())\00"
@.str.40 = [11 x i8] c"vertex add\00"
@.str.41 = [9 x i8] c"vert add\00"
@INT_MIN = global i32 0
@.str.42 = [87 x i8] c"gf.vertexSelect(gf.vertexAdd(gf.posRotateBack(tuple(([%]+[0]*100)[:gf.get_dimen()]))))\00"
@.str.43 = [12 x i8] c"vertex add \00"
@.str.44 = [10 x i8] c"vert add \00"
@.str.45 = [20 x i8] c"gf.vertexDeselect()\00"
@.str.46 = [16 x i8] c"vertex deselect\00"
@.str.47 = [13 x i8] c"vertex desel\00"
@.str.48 = [14 x i8] c"vert deselect\00"
@.str.49 = [11 x i8] c"vert desel\00"
@.str.50 = [151 x i8] c"gf.vertexSetPos(gf.vertexSelected(),tuple(map(sum,zip(gf.posRotateBack(tuple(([%]+[0]*100)[:gf.get_dimen()])),gf.vertexGetPos(gf.vertexSelected())))))\00"
@.str.51 = [13 x i8] c"vertex move \00"
@.str.52 = [11 x i8] c"vert move \00"
@.str.53 = [16 x i8] c"gf.vertexNext()\00"
@.str.54 = [12 x i8] c"vertex next\00"
@.str.55 = [10 x i8] c"vert next\00"
@.str.56 = [20 x i8] c"gf.vertexPrevious()\00"
@.str.57 = [16 x i8] c"vertex previous\00"
@.str.58 = [12 x i8] c"vertex prev\00"
@.str.59 = [14 x i8] c"vert previous\00"
@.str.60 = [10 x i8] c"vert prev\00"
@.str.61 = [37 x i8] c"gf.vertexRemove(gf.vertexSelected())\00"
@.str.62 = [14 x i8] c"vertex remove\00"
@.str.63 = [10 x i8] c"vertex rm\00"
@.str.64 = [12 x i8] c"vert remove\00"
@.str.65 = [8 x i8] c"vert rm\00"
@.str.66 = [20 x i8] c"gf.vertexSelected()\00"
@.str.67 = [14 x i8] c"vertex select\00"
@.str.68 = [11 x i8] c"vertex sel\00"
@.str.69 = [19 x i8] c"gf.vertexSelect(%)\00"
@.str.70 = [15 x i8] c"vertex select \00"
@.str.71 = [12 x i8] c"vertex sel \00"
@.str.72 = [13 x i8] c"vert select \00"
@.str.73 = [10 x i8] c"vert sel \00"
@.str.74 = [12 x i8] c"gf.write(%)\00"
@.str.75 = [7 x i8] c"write \00"
@.str.76 = [3 x i8] c"w \00"
define void @initCmds() {
%1 = alloca i32
%2 = alloca i8*
%3 = alloca i8*
%4 = alloca i8**
%5 = alloca [50 x i8]
%6 = alloca [50 x i8]
store i32 0, i32* %1
store i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str, i64 0, i64 0), i8** %3
store i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0), i8** %2
%7 = load i8*, i8** %3
%8 = load i32, i32* %1
%9 = load i8*, i8** %2
%10 = call i32 @consoleTranslAdd(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i8* %7, i32 %8, i8* %9, i32 0)
%11 = call i8** @stringsGetContent(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0))
store i8** %11, i8*** %4
br label %12
12: ; preds = %33, %0
%13 = load i8**, i8*** %4
%14 = load i8*, i8** %13
%15 = load i8, i8* %14
%16 = icmp ne i8 %15, 0
br i1 %16, label %18, label %17
17: ; preds = %12
br label %33
18: ; preds = %12
%19 = getelementptr inbounds [50 x i8], [50 x i8]* %5, i64 0, i64 0
%20 = load i8**, i8*** %4
%21 = load i8*, i8** %20
%22 = call i32 @sprintf(i8* %19, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.3, i64 0, i64 0), i8* %21)
%23 = getelementptr inbounds [50 x i8], [50 x i8]* %6, i64 0, i64 0
%24 = load i8**, i8*** %4
%25 = load i8*, i8** %24
%26 = call i32 @sprintf(i8* %23, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.4, i64 0, i64 0), i8* %25)
store i32 0, i32* %1
%27 = getelementptr inbounds [50 x i8], [50 x i8]* %6, i64 0, i64 0
store i8* %27, i8** %3
store i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0), i8** %2
%28 = getelementptr inbounds [50 x i8], [50 x i8]* %5, i64 0, i64 0
%29 = load i8*, i8** %3
%30 = load i32, i32* %1
%31 = load i8*, i8** %2
%32 = call i32 @consoleTranslAdd(i8* %28, i8* %29, i32 %30, i8* %31, i32 0)
br label %33
33: ; preds = %18, %17
%34 = load i8**, i8*** %4
%35 = getelementptr inbounds i8*, i8** %34, i32 1
store i8** %35, i8*** %4
%36 = load i8*, i8** %35
%37 = icmp ne i8* %36, null
br i1 %37, label %12, label %38
38: ; preds = %33
store i32 0, i32* %1
store i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.5, i64 0, i64 0), i8** %3
store i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0), i8** %2
%39 = load i8*, i8** %3
%40 = load i32, i32* %1
%41 = load i8*, i8** %2
%42 = call i32 @consoleTranslAdd(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.6, i64 0, i64 0), i8* %39, i32 %40, i8* %41, i32 0)
store i32 -2, i32* %1
store i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.7, i64 0, i64 0), i8** %3
store i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.8, i64 0, i64 0), i8** %2
%43 = load i8*, i8** %3
%44 = load i32, i32* %1
%45 = load i8*, i8** %2
%46 = call i32 @consoleTranslAdd(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.9, i64 0, i64 0), i8* %43, i32 %44, i8* %45, i32 0)
store i32 1, i32* %1
store i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.10, i64 0, i64 0), i8** %3
store i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0), i8** %2
%47 = load i8*, i8** %3
%48 = load i32, i32* %1
%49 = load i8*, i8** %2
%50 = call i32 @consoleTranslAdd(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.11, i64 0, i64 0), i8* %47, i32 %48, i8* %49, i32 0)
%51 = load i8*, i8** %3
%52 = load i32, i32* %1
%53 = load i8*, i8** %2
%54 = call i32 @consoleTranslAdd(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.12, i64 0, i64 0), i8* %51, i32 %52, i8* %53, i32 1)
store i32 0, i32* %1
store i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.13, i64 0, i64 0), i8** %3
store i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0), i8** %2
%55 = load i8*, i8** %3
%56 = load i32, i32* %1
%57 = load i8*, i8** %2
%58 = call i32 @consoleTranslAdd(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.14, i64 0, i64 0), i8* %55, i32 %56, i8* %57, i32 0)
store i32 1, i32* %1
store i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.15, i64 0, i64 0), i8** %3
store i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.16, i64 0, i64 0), i8** %2
%59 = load i8*, i8** %3
%60 = load i32, i32* %1
%61 = load i8*, i8** %2
%62 = call i32 @consoleTranslAdd(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.17, i64 0, i64 0), i8* %59, i32 %60, i8* %61, i32 0)
%63 = load i8*, i8** %3
%64 = load i32, i32* %1
%65 = load i8*, i8** %2
%66 = call i32 @consoleTranslAdd(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.18, i64 0, i64 0), i8* %63, i32 %64, i8* %65, i32 1)
store i32 0, i32* %1
store i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.19, i64 0, i64 0), i8** %3
store i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0), i8** %2
%67 = load i8*, i8** %3
%68 = load i32, i32* %1
%69 = load i8*, i8** %2
%70 = call i32 @consoleTranslAdd(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.20, i64 0, i64 0), i8* %67, i32 %68, i8* %69, i32 0)
%71 = load i8*, i8** %3
%72 = load i32, i32* %1
%73 = load i8*, i8** %2
%74 = call i32 @consoleTranslAdd(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.21, i64 0, i64 0), i8* %71, i32 %72, i8* %73, i32 1)
%75 = load i8*, i8** %3
%76 = load i32, i32* %1
%77 = load i8*, i8** %2
%78 = call i32 @consoleTranslAdd(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.22, i64 0, i64 0), i8* %75, i32 %76, i8* %77, i32 1)
store i32 -3, i32* %1
store i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.23, i64 0, i64 0), i8** %3
store i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0), i8** %2
%79 = load i8*, i8** %3
%80 = load i32, i32* %1
%81 = load i8*, i8** %2
%82 = call i32 @consoleTranslAdd(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.24, i64 0, i64 0), i8* %79, i32 %80, i8* %81, i32 0)
%83 = load i8*, i8** %3
%84 = load i32, i32* %1
%85 = load i8*, i8** %2
%86 = call i32 @consoleTranslAdd(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.25, i64 0, i64 0), i8* %83, i32 %84, i8* %85, i32 1)
store i32 0, i32* %1
store i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.26, i64 0, i64 0), i8** %3
store i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0), i8** %2
%87 = load i8*, i8** %3
%88 = load i32, i32* %1
%89 = load i8*, i8** %2
%90 = call i32 @consoleTranslAdd(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.27, i64 0, i64 0), i8* %87, i32 %88, i8* %89, i32 0)
%91 = load i8*, i8** %3
%92 = load i32, i32* %1
%93 = load i8*, i8** %2
%94 = call i32 @consoleTranslAdd(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.28, i64 0, i64 0), i8* %91, i32 %92, i8* %93, i32 1)
store i32 0, i32* %1
store i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.29, i64 0, i64 0), i8** %3
store i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0), i8** %2
%95 = load i8*, i8** %3
%96 = load i32, i32* %1
%97 = load i8*, i8** %2
%98 = call i32 @consoleTranslAdd(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.30, i64 0, i64 0), i8* %95, i32 %96, i8* %97, i32 0)
store i32 0, i32* %1
store i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.31, i64 0, i64 0), i8** %3
store i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0), i8** %2
%99 = load i8*, i8** %3
%100 = load i32, i32* %1
%101 = load i8*, i8** %2
%102 = call i32 @consoleTranslAdd(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.32, i64 0, i64 0), i8* %99, i32 %100, i8* %101, i32 0)
store i32 -3, i32* %1
store i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.33, i64 0, i64 0), i8** %3
store i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.34, i64 0, i64 0), i8** %2
%103 = load i8*, i8** %3
%104 = load i32, i32* %1
%105 = load i8*, i8** %2
%106 = call i32 @consoleTranslAdd(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.35, i64 0, i64 0), i8* %103, i32 %104, i8* %105, i32 0)
%107 = call i32 (...) @consoleCmdSetUpdateCmds()
store i32 1, i32* %1
store i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.36, i64 0, i64 0), i8** %3
store i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.16, i64 0, i64 0), i8** %2
%108 = load i8*, i8** %3
%109 = load i32, i32* %1
%110 = load i8*, i8** %2
%111 = call i32 @consoleTranslAdd(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.37, i64 0, i64 0), i8* %108, i32 %109, i8* %110, i32 0)
%112 = load i8*, i8** %3
%113 = load i32, i32* %1
%114 = load i8*, i8** %2
%115 = call i32 @consoleTranslAdd(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.38, i64 0, i64 0), i8* %112, i32 %113, i8* %114, i32 1)
store i32 0, i32* %1
store i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.39, i64 0, i64 0), i8** %3
store i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0), i8** %2
%116 = load i8*, i8** %3
%117 = load i32, i32* %1
%118 = load i8*, i8** %2
%119 = call i32 @consoleTranslAdd(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.40, i64 0, i64 0), i8* %116, i32 %117, i8* %118, i32 0)
%120 = load i8*, i8** %3
%121 = load i32, i32* %1
%122 = load i8*, i8** %2
%123 = call i32 @consoleTranslAdd(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.41, i64 0, i64 0), i8* %120, i32 %121, i8* %122, i32 1)
%124 = load i32, i32* @INT_MIN
store i32 %124, i32* %1
store i8* getelementptr inbounds ([87 x i8], [87 x i8]* @.str.42, i64 0, i64 0), i8** %3
store i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0), i8** %2
%125 = load i8*, i8** %3
%126 = load i32, i32* %1
%127 = load i8*, i8** %2
%128 = call i32 @consoleTranslAdd(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.43, i64 0, i64 0), i8* %125, i32 %126, i8* %127, i32 0)
%129 = load i8*, i8** %3
%130 = load i32, i32* %1
%131 = load i8*, i8** %2
%132 = call i32 @consoleTranslAdd(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.44, i64 0, i64 0), i8* %129, i32 %130, i8* %131, i32 1)
store i32 0, i32* %1
store i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.45, i64 0, i64 0), i8** %3
store i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0), i8** %2
%133 = load i8*, i8** %3
%134 = load i32, i32* %1
%135 = load i8*, i8** %2
%136 = call i32 @consoleTranslAdd(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.46, i64 0, i64 0), i8* %133, i32 %134, i8* %135, i32 0)
%137 = load i8*, i8** %3
%138 = load i32, i32* %1
%139 = load i8*, i8** %2
%140 = call i32 @consoleTranslAdd(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.47, i64 0, i64 0), i8* %137, i32 %138, i8* %139, i32 1)
%141 = load i8*, i8** %3
%142 = load i32, i32* %1
%143 = load i8*, i8** %2
%144 = call i32 @consoleTranslAdd(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.48, i64 0, i64 0), i8* %141, i32 %142, i8* %143, i32 1)
%145 = load i8*, i8** %3
%146 = load i32, i32* %1
%147 = load i8*, i8** %2
%148 = call i32 @consoleTranslAdd(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.49, i64 0, i64 0), i8* %145, i32 %146, i8* %147, i32 1)
%149 = load i32, i32* @INT_MIN
store i32 %149, i32* %1
store i8* getelementptr inbounds ([151 x i8], [151 x i8]* @.str.50, i64 0, i64 0), i8** %3
store i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0), i8** %2
%150 = load i8*, i8** %3
%151 = load i32, i32* %1
%152 = load i8*, i8** %2
%153 = call i32 @consoleTranslAdd(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.51, i64 0, i64 0), i8* %150, i32 %151, i8* %152, i32 0)
%154 = load i8*, i8** %3
%155 = load i32, i32* %1
%156 = load i8*, i8** %2
%157 = call i32 @consoleTranslAdd(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.52, i64 0, i64 0), i8* %154, i32 %155, i8* %156, i32 1)
store i32 0, i32* %1
store i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.53, i64 0, i64 0), i8** %3
store i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0), i8** %2
%158 = load i8*, i8** %3
%159 = load i32, i32* %1
%160 = load i8*, i8** %2
%161 = call i32 @consoleTranslAdd(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.54, i64 0, i64 0), i8* %158, i32 %159, i8* %160, i32 0)
%162 = load i8*, i8** %3
%163 = load i32, i32* %1
%164 = load i8*, i8** %2
%165 = call i32 @consoleTranslAdd(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.55, i64 0, i64 0), i8* %162, i32 %163, i8* %164, i32 1)
store i32 0, i32* %1
store i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.56, i64 0, i64 0), i8** %3
store i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0), i8** %2
%166 = load i8*, i8** %3
%167 = load i32, i32* %1
%168 = load i8*, i8** %2
%169 = call i32 @consoleTranslAdd(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.57, i64 0, i64 0), i8* %166, i32 %167, i8* %168, i32 0)
%170 = load i8*, i8** %3
%171 = load i32, i32* %1
%172 = load i8*, i8** %2
%173 = call i32 @consoleTranslAdd(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.58, i64 0, i64 0), i8* %170, i32 %171, i8* %172, i32 1)
%174 = load i8*, i8** %3
%175 = load i32, i32* %1
%176 = load i8*, i8** %2
%177 = call i32 @consoleTranslAdd(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.59, i64 0, i64 0), i8* %174, i32 %175, i8* %176, i32 1)
%178 = load i8*, i8** %3
%179 = load i32, i32* %1
%180 = load i8*, i8** %2
%181 = call i32 @consoleTranslAdd(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.60, i64 0, i64 0), i8* %178, i32 %179, i8* %180, i32 1)
store i32 0, i32* %1
store i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.61, i64 0, i64 0), i8** %3
store i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0), i8** %2
%182 = load i8*, i8** %3
%183 = load i32, i32* %1
%184 = load i8*, i8** %2
%185 = call i32 @consoleTranslAdd(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.62, i64 0, i64 0), i8* %182, i32 %183, i8* %184, i32 0)
%186 = load i8*, i8** %3
%187 = load i32, i32* %1
%188 = load i8*, i8** %2
%189 = call i32 @consoleTranslAdd(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.63, i64 0, i64 0), i8* %186, i32 %187, i8* %188, i32 1)
%190 = load i8*, i8** %3
%191 = load i32, i32* %1
%192 = load i8*, i8** %2
%193 = call i32 @consoleTranslAdd(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.64, i64 0, i64 0), i8* %190, i32 %191, i8* %192, i32 1)
%194 = load i8*, i8** %3
%195 = load i32, i32* %1
%196 = load i8*, i8** %2
%197 = call i32 @consoleTranslAdd(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.65, i64 0, i64 0), i8* %194, i32 %195, i8* %196, i32 1)
store i32 0, i32* %1
store i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.66, i64 0, i64 0), i8** %3
store i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0), i8** %2
%198 = load i8*, i8** %3
%199 = load i32, i32* %1
%200 = load i8*, i8** %2
%201 = call i32 @consoleTranslAdd(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.67, i64 0, i64 0), i8* %198, i32 %199, i8* %200, i32 0)
%202 = load i8*, i8** %3
%203 = load i32, i32* %1
%204 = load i8*, i8** %2
%205 = call i32 @consoleTranslAdd(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.68, i64 0, i64 0), i8* %202, i32 %203, i8* %204, i32 1)
store i32 1, i32* %1
store i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.69, i64 0, i64 0), i8** %3
store i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0), i8** %2
%206 = load i8*, i8** %3
%207 = load i32, i32* %1
%208 = load i8*, i8** %2
%209 = call i32 @consoleTranslAdd(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.70, i64 0, i64 0), i8* %206, i32 %207, i8* %208, i32 0)
%210 = load i8*, i8** %3
%211 = load i32, i32* %1
%212 = load i8*, i8** %2
%213 = call i32 @consoleTranslAdd(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.71, i64 0, i64 0), i8* %210, i32 %211, i8* %212, i32 1)
%214 = load i8*, i8** %3
%215 = load i32, i32* %1
%216 = load i8*, i8** %2
%217 = call i32 @consoleTranslAdd(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.72, i64 0, i64 0), i8* %214, i32 %215, i8* %216, i32 1)
%218 = load i8*, i8** %3
%219 = load i32, i32* %1
%220 = load i8*, i8** %2
%221 = call i32 @consoleTranslAdd(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.73, i64 0, i64 0), i8* %218, i32 %219, i8* %220, i32 1)
store i32 1, i32* %1
store i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.74, i64 0, i64 0), i8** %3
store i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.16, i64 0, i64 0), i8** %2
%222 = load i8*, i8** %3
%223 = load i32, i32* %1
%224 = load i8*, i8** %2
%225 = call i32 @consoleTranslAdd(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.75, i64 0, i64 0), i8* %222, i32 %223, i8* %224, i32 0)
%226 = load i8*, i8** %3
%227 = load i32, i32* %1
%228 = load i8*, i8** %2
%229 = call i32 @consoleTranslAdd(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.76, i64 0, i64 0), i8* %226, i32 %227, i8* %228, i32 1)
ret void
}

LLVM IR (-O2):
@.str = [12 x i8] c"gf.help(\22\22)\00"
@.str.1 = [1 x i8] zeroinitializer
@.str.2 = [5 x i8] c"help\00"
@.str.3 = [8 x i8] c"help %s\00"
@.str.4 = [14 x i8] c"gf.help(\22%s\22)\00"
@.str.5 = [13 x i8] c"gf.history()\00"
@.str.6 = [8 x i8] c"history\00"
@.str.7 = [10 x i8] c"gf.map(%)\00"
@.str.8 = [2 x i8] c"s\00"
@.str.9 = [5 x i8] c"map \00"
@.str.10 = [10 x i8] c"gf.new(%)\00"
@.str.11 = [5 x i8] c"new \00"
@.str.12 = [3 x i8] c"n \00"
@.str.13 = [11 x i8] c"gf.close()\00"
@.str.14 = [6 x i8] c"close\00"
@.str.15 = [11 x i8] c"gf.open(%)\00"
@.str.16 = [2 x i8] c"p\00"
@.str.17 = [6 x i8] c"open \00"
@.str.18 = [3 x i8] c"o \00"
@.str.19 = [10 x i8] c"gf.quit()\00"
@.str.20 = [5 x i8] c"quit\00"
@.str.21 = [2 x i8] c"q\00"
@.str.22 = [5 x i8] c"exit\00"
@.str.23 = [13 x i8] c"gf.rotate(%)\00"
@.str.24 = [8 x i8] c"rotate \00"
@.str.25 = [5 x i8] c"rot \00"
@.str.26 = [19 x i8] c"gf.resetRotation()\00"
@.str.27 = [15 x i8] c"reset rotation\00"
@.str.28 = [10 x i8] c"reset rot\00"
@.str.29 = [17 x i8] c"gf.resetColors()\00"
@.str.30 = [13 x i8] c"reset colors\00"
@.str.31 = [19 x i8] c"gf.resetBoundary()\00"
@.str.32 = [15 x i8] c"reset boundary\00"
@.str.33 = [11 x i8] c"gf.rmap(%)\00"
@.str.34 = [3 x i8] c"s-\00"
@.str.35 = [6 x i8] c"rmap \00"
@.str.36 = [13 x i8] c"gf.source(%)\00"
@.str.37 = [8 x i8] c"source \00"
@.str.38 = [4 x i8] c"so \00"
@.str.39 = [32 x i8] c"gf.vertexSelect(gf.vertexAdd())\00"
@.str.40 = [11 x i8] c"vertex add\00"
@.str.41 = [9 x i8] c"vert add\00"
@INT_MIN = global i32 0
@.str.42 = [87 x i8] c"gf.vertexSelect(gf.vertexAdd(gf.posRotateBack(tuple(([%]+[0]*100)[:gf.get_dimen()]))))\00"
@.str.43 = [12 x i8] c"vertex add \00"
@.str.44 = [10 x i8] c"vert add \00"
@.str.45 = [20 x i8] c"gf.vertexDeselect()\00"
@.str.46 = [16 x i8] c"vertex deselect\00"
@.str.47 = [13 x i8] c"vertex desel\00"
@.str.48 = [14 x i8] c"vert deselect\00"
@.str.49 = [11 x i8] c"vert desel\00"
@.str.50 = [151 x i8] c"gf.vertexSetPos(gf.vertexSelected(),tuple(map(sum,zip(gf.posRotateBack(tuple(([%]+[0]*100)[:gf.get_dimen()])),gf.vertexGetPos(gf.vertexSelected())))))\00"
@.str.51 = [13 x i8] c"vertex move \00"
@.str.52 = [11 x i8] c"vert move \00"
@.str.53 = [16 x i8] c"gf.vertexNext()\00"
@.str.54 = [12 x i8] c"vertex next\00"
@.str.55 = [10 x i8] c"vert next\00"
@.str.56 = [20 x i8] c"gf.vertexPrevious()\00"
@.str.57 = [16 x i8] c"vertex previous\00"
@.str.58 = [12 x i8] c"vertex prev\00"
@.str.59 = [14 x i8] c"vert previous\00"
@.str.60 = [10 x i8] c"vert prev\00"
@.str.61 = [37 x i8] c"gf.vertexRemove(gf.vertexSelected())\00"
@.str.62 = [14 x i8] c"vertex remove\00"
@.str.63 = [10 x i8] c"vertex rm\00"
@.str.64 = [12 x i8] c"vert remove\00"
@.str.65 = [8 x i8] c"vert rm\00"
@.str.66 = [20 x i8] c"gf.vertexSelected()\00"
@.str.67 = [14 x i8] c"vertex select\00"
@.str.68 = [11 x i8] c"vertex sel\00"
@.str.69 = [19 x i8] c"gf.vertexSelect(%)\00"
@.str.70 = [15 x i8] c"vertex select \00"
@.str.71 = [12 x i8] c"vertex sel \00"
@.str.72 = [13 x i8] c"vert select \00"
@.str.73 = [10 x i8] c"vert sel \00"
@.str.74 = [12 x i8] c"gf.write(%)\00"
@.str.75 = [7 x i8] c"write \00"
@.str.76 = [3 x i8] c"w \00"
define void @initCmds() {
%1 = alloca [50 x i8]
%2 = alloca [50 x i8]
%3 = tail call i32 @consoleTranslAdd(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str, i64 0, i64 0), i32 0, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0), i32 0)
%4 = tail call i8** @stringsGetContent(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0))
%5 = getelementptr inbounds [50 x i8], [50 x i8]* %1, i64 0, i64 0
%6 = getelementptr inbounds [50 x i8], [50 x i8]* %2, i64 0, i64 0
%7 = load i8*, i8** %4
br label %8
8: ; preds = %18, %0
%9 = phi i8* [ %7, %0 ], [ %20, %18 ]
%10 = phi i8** [ %4, %0 ], [ %19, %18 ]
%11 = load i8, i8* %9
%12 = icmp eq i8 %11, 0
br i1 %12, label %18, label %13
13: ; preds = %8
%14 = call i32 @sprintf(i8* %5, i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.3, i64 0, i64 0), i8* %9)
%15 = load i8*, i8** %10
%16 = call i32 @sprintf(i8* %6, i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @.str.4, i64 0, i64 0), i8* %15)
%17 = call i32 @consoleTranslAdd(i8* %5, i8* %6, i32 0, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0), i32 0)
br label %18
18: ; preds = %8, %13
%19 = getelementptr inbounds i8*, i8** %10, i64 1
%20 = load i8*, i8** %19
%21 = icmp eq i8* %20, null
br i1 %21, label %22, label %8
22: ; preds = %18
%23 = call i32 @consoleTranslAdd(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.5, i64 0, i64 0), i32 0, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0), i32 0)
%24 = call i32 @consoleTranslAdd(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.9, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.7, i64 0, i64 0), i32 -2, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.8, i64 0, i64 0), i32 0)
%25 = call i32 @consoleTranslAdd(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.10, i64 0, i64 0), i32 1, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0), i32 0)
%26 = call i32 @consoleTranslAdd(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.12, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.10, i64 0, i64 0), i32 1, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0), i32 1)
%27 = call i32 @consoleTranslAdd(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.14, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.13, i64 0, i64 0), i32 0, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0), i32 0)
%28 = call i32 @consoleTranslAdd(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.17, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.15, i64 0, i64 0), i32 1, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.16, i64 0, i64 0), i32 0)
%29 = call i32 @consoleTranslAdd(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.18, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.15, i64 0, i64 0), i32 1, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.16, i64 0, i64 0), i32 1)
%30 = call i32 @consoleTranslAdd(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.20, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.19, i64 0, i64 0), i32 0, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0), i32 0)
%31 = call i32 @consoleTranslAdd(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.21, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.19, i64 0, i64 0), i32 0, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0), i32 1)
%32 = call i32 @consoleTranslAdd(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.22, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.19, i64 0, i64 0), i32 0, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0), i32 1)
%33 = call i32 @consoleTranslAdd(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.24, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.23, i64 0, i64 0), i32 -3, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0), i32 0)
%34 = call i32 @consoleTranslAdd(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.25, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.23, i64 0, i64 0), i32 -3, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0), i32 1)
%35 = call i32 @consoleTranslAdd(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.27, i64 0, i64 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.26, i64 0, i64 0), i32 0, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0), i32 0)
%36 = call i32 @consoleTranslAdd(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.28, i64 0, i64 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.26, i64 0, i64 0), i32 0, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0), i32 1)
%37 = call i32 @consoleTranslAdd(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.30, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.29, i64 0, i64 0), i32 0, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0), i32 0)
%38 = call i32 @consoleTranslAdd(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.32, i64 0, i64 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.31, i64 0, i64 0), i32 0, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0), i32 0)
%39 = call i32 @consoleTranslAdd(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.35, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.33, i64 0, i64 0), i32 -3, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.34, i64 0, i64 0), i32 0)
%40 = call i32 (...) @consoleCmdSetUpdateCmds()
%41 = call i32 @consoleTranslAdd(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.37, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.36, i64 0, i64 0), i32 1, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.16, i64 0, i64 0), i32 0)
%42 = call i32 @consoleTranslAdd(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.38, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.36, i64 0, i64 0), i32 1, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.16, i64 0, i64 0), i32 1)
%43 = call i32 @consoleTranslAdd(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.40, i64 0, i64 0), i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.39, i64 0, i64 0), i32 0, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0), i32 0)
%44 = call i32 @consoleTranslAdd(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.41, i64 0, i64 0), i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.39, i64 0, i64 0), i32 0, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0), i32 1)
%45 = load i32, i32* @INT_MIN
%46 = call i32 @consoleTranslAdd(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.43, i64 0, i64 0), i8* getelementptr inbounds ([87 x i8], [87 x i8]* @.str.42, i64 0, i64 0), i32 %45, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0), i32 0)
%47 = call i32 @consoleTranslAdd(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.44, i64 0, i64 0), i8* getelementptr inbounds ([87 x i8], [87 x i8]* @.str.42, i64 0, i64 0), i32 %45, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0), i32 1)
%48 = call i32 @consoleTranslAdd(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.46, i64 0, i64 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.45, i64 0, i64 0), i32 0, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0), i32 0)
%49 = call i32 @consoleTranslAdd(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.47, i64 0, i64 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.45, i64 0, i64 0), i32 0, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0), i32 1)
%50 = call i32 @consoleTranslAdd(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.48, i64 0, i64 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.45, i64 0, i64 0), i32 0, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0), i32 1)
%51 = call i32 @consoleTranslAdd(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.49, i64 0, i64 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.45, i64 0, i64 0), i32 0, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0), i32 1)
%52 = load i32, i32* @INT_MIN
%53 = call i32 @consoleTranslAdd(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.51, i64 0, i64 0), i8* getelementptr inbounds ([151 x i8], [151 x i8]* @.str.50, i64 0, i64 0), i32 %52, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0), i32 0)
%54 = call i32 @consoleTranslAdd(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.52, i64 0, i64 0), i8* getelementptr inbounds ([151 x i8], [151 x i8]* @.str.50, i64 0, i64 0), i32 %52, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0), i32 1)
%55 = call i32 @consoleTranslAdd(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.54, i64 0, i64 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.53, i64 0, i64 0), i32 0, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0), i32 0)
%56 = call i32 @consoleTranslAdd(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.55, i64 0, i64 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.53, i64 0, i64 0), i32 0, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0), i32 1)
%57 = call i32 @consoleTranslAdd(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.57, i64 0, i64 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.56, i64 0, i64 0), i32 0, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0), i32 0)
%58 = call i32 @consoleTranslAdd(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.58, i64 0, i64 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.56, i64 0, i64 0), i32 0, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0), i32 1)
%59 = call i32 @consoleTranslAdd(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.59, i64 0, i64 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.56, i64 0, i64 0), i32 0, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0), i32 1)
%60 = call i32 @consoleTranslAdd(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.60, i64 0, i64 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.56, i64 0, i64 0), i32 0, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0), i32 1)
%61 = call i32 @consoleTranslAdd(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.62, i64 0, i64 0), i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.61, i64 0, i64 0), i32 0, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0), i32 0)
%62 = call i32 @consoleTranslAdd(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.63, i64 0, i64 0), i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.61, i64 0, i64 0), i32 0, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0), i32 1)
%63 = call i32 @consoleTranslAdd(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.64, i64 0, i64 0), i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.61, i64 0, i64 0), i32 0, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0), i32 1)
%64 = call i32 @consoleTranslAdd(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.65, i64 0, i64 0), i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.61, i64 0, i64 0), i32 0, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0), i32 1)
%65 = call i32 @consoleTranslAdd(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.67, i64 0, i64 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.66, i64 0, i64 0), i32 0, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0), i32 0)
%66 = call i32 @consoleTranslAdd(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.68, i64 0, i64 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.66, i64 0, i64 0), i32 0, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0), i32 1)
%67 = call i32 @consoleTranslAdd(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.70, i64 0, i64 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.69, i64 0, i64 0), i32 1, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0), i32 0)
%68 = call i32 @consoleTranslAdd(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.71, i64 0, i64 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.69, i64 0, i64 0), i32 1, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0), i32 1)
%69 = call i32 @consoleTranslAdd(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.72, i64 0, i64 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.69, i64 0, i64 0), i32 1, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0), i32 1)
%70 = call i32 @consoleTranslAdd(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.73, i64 0, i64 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.69, i64 0, i64 0), i32 1, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.1, i64 0, i64 0), i32 1)
%71 = call i32 @consoleTranslAdd(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.75, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.74, i64 0, i64 0), i32 1, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.16, i64 0, i64 0), i32 0)
%72 = call i32 @consoleTranslAdd(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.76, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.74, i64 0, i64 0), i32 1, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.16, i64 0, i64 0), i32 1)
ret void
}