LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O3/atomlang[P]atomlang/src/pk_core.c
// Function: assertModuleNameDef
static inline void assertModuleNameDef(PKVM* vm, Script* script,
                                       const char* name) {
  // Check if function with the same name already exists.
  if (scriptGetFunc(script, name, (uint32_t)strlen(name)) != -1) {
    __ASSERT(false, stringFormat(vm, "A function named '$' already esists "
      "on module '@'", name, script->module)->data);
  }

  // Check if a global variable with the same name already exists.
  if (scriptGetGlobals(script, name, (uint32_t)strlen(name)) != -1) {
    __ASSERT(false, stringFormat(vm, "A global variable named '$' already "
      "esists on module '@'", name, script->module)->data);
  }
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %rbx
movq %rsi, %r15
movq %rdi, %r14
movq %rdx, %rdi
callq 0x2140
movq %r15, %rdi
movq %rbx, %rsi
movl %eax, %edx
callq 0xa40c
cmpl $-0x1, %eax
jne 0x18845
movq %rbx, %rdi
callq 0x2140
movq %r15, %rdi
movq %rbx, %rsi
movl %eax, %edx
callq 0xa47b
cmpl $-0x1, %eax
jne 0x18853
popq %rbx
popq %r14
popq %r15
retq
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq 0x7a8c
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq 0x7ada
// File: /workspace/github_c_makefile_star2_O3/atomlang[P]atomlang/cli/main.c
// Function: errorFunction
void errorFunction(PKVM* vm, PkErrorType type, const char* file, int line,
                   const char* message) {

  VmUserData* ud = (VmUserData*)pkGetUserData(vm);
  bool repl = (ud) ? ud->repl_mode : false;

  if (type == PK_ERROR_COMPILE) {

    if (repl) fprintf(stderr, "Error: %s\n", message);
    else fprintf(stderr, "Error: %s\n       at \"%s\":%i\n",
                 message, file, line);

  } else if (type == PK_ERROR_RUNTIME) {
    fprintf(stderr, "Error: %s\n", message);

  } else if (type == PK_ERROR_STACKTRACE) {
    if (repl) fprintf(stderr, "  %s() [line:%i]\n", message, line);
    else fprintf(stderr, "  %s() [\"%s\":%i]\n", message, file, line);
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %r8, %rbx
movl %ecx, %ebp
movq %rdx, %r14
movl %esi, %r15d
callq 0xb4ff
testq %rax, %rax
je 0x18ada
cmpb $0x0, (%rax)
sete %al
jmp 0x18adc
movb $0x1, %al
cmpl $0x2, %r15d
je 0x18b04
cmpl $0x1, %r15d
je 0x18af8
testl %r15d, %r15d
je 0x18b1b
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq 0x104f9(%rip), %rax     # 0x28ff8
movq (%rax), %rdi
jmp 0x18b4a
movq 0x104ed(%rip), %rcx     # 0x28ff8
movq (%rcx), %rdi
testb %al, %al
je 0x18b65
leaq 0x69a6(%rip), %rsi      # 0x1f4bf
jmp 0x18b30
movq 0x104d6(%rip), %rcx     # 0x28ff8
movq (%rcx), %rdi
testb %al, %al
je 0x18b4a
leaq 0x6960(%rip), %rsi      # 0x1f490
movq %rbx, %rdx
movq %r14, %rcx
movl %ebp, %r8d
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x2250
leaq 0x6934(%rip), %rsi      # 0x1f485
movq %rbx, %rdx
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x2250
leaq 0x6941(%rip), %rsi      # 0x1f4ad
movq %rbx, %rdx
movl %ebp, %ecx
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x2250
// File: /workspace/github_c_makefile_star2_O3/atomlang[P]atomlang/cli/main.c
// Function: readFunction
PkStringPtr readFunction(PKVM* vm) {
  PkStringPtr result;
  result.string = read_line(NULL);
  result.on_done = onResultDone;
  result.user_data = (void*)true;
  return result;
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
xorl %edi, %edi
callq 0x19c20
movq %rax, (%rbx)
leaq -0x109(%rip), %rax      # 0x18aa0
movq %rax, 0x8(%rbx)
movq $0x1, 0x10(%rbx)
movq %rbx, %rax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O3/atomlang[P]atomlang/cli/main.c
// Function: resolvePath
PkStringPtr resolvePath(PKVM* vm, const char* from, const char* path) {
  PkStringPtr result;
  result.on_done = onResultDone;

  size_t from_dir_len;
  pathGetDirName(from, &from_dir_len);

  // FIXME: Should handle paths with size of more than FILENAME_MAX.

  if (from_dir_len == 0 || pathIsAbsolute(path)) {
    size_t length = strlen(path);

    char* resolved = (char*)malloc(length + 1);
    pathNormalize(path, resolved, length + 1);

    result.string = resolved;
    result.user_data = (void*)true;

  } else {
    char from_dir[FILENAME_MAX];
    strncpy(from_dir, from, from_dir_len);
    from_dir[from_dir_len] = '\0';

    char fullpath[FILENAME_MAX];
    size_t length = pathJoin(from_dir, path, fullpath, sizeof(fullpath));

    char* resolved = (char*)malloc(length + 1);
    pathNormalize(fullpath, resolved, length + 1);

    result.string = resolved;
    result.user_data = (void*)true;
  }

  return result;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x2010, %rsp           # imm = 0x2010
movq %rcx, %r14
movq %rdx, %r15
movq %rdi, %rbx
leaq -0x13a(%rip), %rax      # 0x18aa0
movq %rax, 0x8(%rdi)
leaq 0x8(%rsp), %r12
movq %rdx, %rdi
movq %r12, %rsi
callq 0x19200
cmpq $0x0, (%r12)
je 0x18c01
movq %r14, %rdi
callq 0x191fb
testb %al, %al
je 0x18c23
movq %r14, %rdi
callq 0x2140
leaq 0x1(%rax), %r15
movq %r15, %rdi
callq 0x22b0
movq %rax, %r12
movq %r14, %rdi
movq %rax, %rsi
movq %r15, %rdx
jmp 0x18c74
movq 0x8(%rsp), %r12
leaq 0x10(%rsp), %r13
movq %r13, %rdi
movq %r15, %rsi
movq %r12, %rdx
callq 0x2080
movb $0x0, 0x10(%rsp,%r12)
leaq 0x1010(%rsp), %r15
movl $0x1000, %ecx           # imm = 0x1000
movq %r13, %rdi
movq %r14, %rsi
movq %r15, %rdx
callq 0x1920a
leaq 0x1(%rax), %r14
movq %r14, %rdi
callq 0x22b0
movq %rax, %r12
movq %r15, %rdi
movq %rax, %rsi
movq %r14, %rdx
callq 0x19205
movq %r12, (%rbx)
movq $0x1, 0x10(%rbx)
movq %rbx, %rax
addq $0x2010, %rsp           # imm = 0x2010
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/atomlang[P]atomlang/cli/main.c
// Function: loadScript
PkStringPtr loadScript(PKVM* vm, const char* path) {

  PkStringPtr result;
  result.on_done = onResultDone;

  // Open the file.
  FILE* file = fopen(path, "r");
  if (file == NULL) {
    // Setting .string to NULL to indicate the failure of loading the script.
    result.string = NULL;
    return result;
  }

  // Get the source length.
  fseek(file, 0, SEEK_END);
  long file_size = ftell(file);
  fseek(file, 0, SEEK_SET);

  // Read source to buffer.
  char* buff = (char*)malloc((size_t)(file_size) + 1);
  // Using read instead of file_size is because "\r\n" is read as '\n' in
  // windows.
  size_t read = fread(buff, sizeof(char), file_size, file);
  buff[read] = '\0';
  fclose(file);

  result.string = buff;
  result.user_data = (void*)true;

  return result;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq -0x20a(%rip), %rax      # 0x18aa0
movq %rax, 0x8(%rdi)
leaq 0x5145(%rip), %rsi      # 0x1ddfa
movq %rdx, %rdi
callq 0x2310
testq %rax, %rax
je 0x18d22
movq %rax, %r14
movq %rax, %rdi
xorl %esi, %esi
movl $0x2, %edx
callq 0x22e0
movq %r14, %rdi
callq 0x2260
movq %rax, %r12
movq %r14, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x22e0
leaq 0x1(%r12), %rdi
callq 0x22b0
movq %rax, %r15
movl $0x1, %esi
movq %rax, %rdi
movq %r12, %rdx
movq %r14, %rcx
callq 0x20c0
movb $0x0, (%r15,%rax)
movq %r14, %rdi
callq 0x2120
movq $0x1, 0x10(%rbx)
jmp 0x18d25
xorl %r15d, %r15d
movq %r15, (%rbx)
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/atomlang[P]atomlang/cli/modules.c
// Function: objGetAttrib
void objGetAttrib(PKVM* vm, void* instance, uint32_t id, PkStringPtr attrib) {
  Obj* obj = (Obj*)instance;
  ASSERT(obj->type == (ObjType)id, OOPS);

  if (obj->type == OBJ_FILE) {
    File* file = (File*)obj;
    if (strcmp(attrib.string, "closed") == 0) {
      pkReturnBool(vm, file->closed);
      return;
    }
  }

  return; // Attribute not found.
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
cmpl %edx, (%rsi)
jne 0x191ae
cmpl $0x1, %edx
jne 0x19192
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x20(%rsp), %rax
movq (%rax), %rdi
leaq 0x654b(%rip), %rsi      # 0x1f6d4
callq 0x2230
testl %eax, %eax
je 0x1919a
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movzbl 0x14(%r14), %esi
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x13532
callq 0x7c6c
// File: /workspace/github_c_makefile_star2_O3/atomlang[P]atomlang/cli/modules.c
// Function: freeObj
void freeObj(PKVM* vm, void* instance, uint32_t id) {
  Obj* obj = (Obj*)instance;
  ASSERT(obj->type == (ObjType)id, OOPS);

  // If the file isn't closed, close it to flush it's buffer.
  if (obj->type == OBJ_FILE) {
    File* file = (File*)obj;
    if (!file->closed) {
      if (fclose(file->fp) != 0) { /* TODO: error! */ }
      file->closed = true;
    }
  }

  FREE_OBJ(obj);
}

// Assembly:
pushq %rbx
cmpl %edx, (%rsi)
jne 0x191e5
movq %rsi, %rbx
cmpl $0x1, %edx
jne 0x191dc
cmpb $0x0, 0x14(%rbx)
jne 0x191dc
movq 0x8(%rbx), %rdi
callq 0x2120
movq %rbx, %rdi
popq %rbx
jmp 0x2040
callq 0x7cd4
// File: /workspace/github_c_makefile_star2_O3/atomlang[P]atomlang/cli/modules.c
// Function: registerModulePath
void registerModulePath(PKVM* vm) {
  PkHandle* path = pkNewModule(vm, "path");

  pkModuleAddFunction(vm, path, "setunix",   _pathSetStyleUnix, 1);
  pkModuleAddFunction(vm, path, "getcwd",    _pathGetCWD,       0);
  pkModuleAddFunction(vm, path, "abspath",   _pathAbspath,      1);
  pkModuleAddFunction(vm, path, "relpath",   _pathRelpath,      2);
  pkModuleAddFunction(vm, path, "join",      _pathJoin,        -1);
  pkModuleAddFunction(vm, path, "normalize", _pathNormalize,    1);
  pkModuleAddFunction(vm, path, "basename",  _pathBaseName,     1);
  pkModuleAddFunction(vm, path, "dirname",   _pathDirName,      1);
  pkModuleAddFunction(vm, path, "isabspath", _pathIsPathAbs,    1);
  pkModuleAddFunction(vm, path, "getext",    _pathGetExtension, 1);
  pkModuleAddFunction(vm, path, "exists",    _pathExists,       1);
  pkModuleAddFunction(vm, path, "isfile",    _pathIsFile,       1);
  pkModuleAddFunction(vm, path, "isdir",     _pathIsDir,        1);

  pkReleaseHandle(vm, path);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0x64e5(%rip), %rsi      # 0x1f702
callq 0x12c98
movq %rax, %r14
leaq 0x64c4(%rip), %rdx      # 0x1f6f0
leaq 0x194(%rip), %rcx       # 0x193c7
movq %rbx, %rdi
movq %rax, %rsi
movl $0x1, %r8d
callq 0x12e01
leaq 0x64ad(%rip), %rdx      # 0x1f6f8
leaq 0x195(%rip), %rcx       # 0x193e7
movq %rbx, %rdi
movq %r14, %rsi
xorl %r8d, %r8d
callq 0x12e01
leaq 0x64c2(%rip), %rdx      # 0x1f729
leaq 0x1ac(%rip), %rcx       # 0x1941a
movq %rbx, %rdi
movq %r14, %rsi
movl $0x1, %r8d
callq 0x12e01
leaq 0x6479(%rip), %rdx      # 0x1f6ff
leaq 0x202(%rip), %rcx       # 0x1948f
movq %rbx, %rdi
movq %r14, %rsi
movl $0x2, %r8d
callq 0x12e01
leaq 0x6462(%rip), %rdx      # 0x1f707
leaq 0x2c3(%rip), %rcx       # 0x1956f
movq %rbx, %rdi
movq %r14, %rsi
movl $0xffffffff, %r8d       # imm = 0xFFFFFFFF
callq 0x12e01
leaq 0x6448(%rip), %rdx      # 0x1f70c
leaq 0x347(%rip), %rcx       # 0x19612
movq %rbx, %rdi
movq %r14, %rsi
movl $0x1, %r8d
callq 0x12e01
leaq 0x6433(%rip), %rdx      # 0x1f716
leaq 0x37a(%rip), %rcx       # 0x19664
movq %rbx, %rdi
movq %r14, %rsi
movl $0x1, %r8d
callq 0x12e01
leaq 0x641d(%rip), %rdx      # 0x1f71f
leaq 0x3a1(%rip), %rcx       # 0x196aa
movq %rbx, %rdi
movq %r14, %rsi
movl $0x1, %r8d
callq 0x12e01
leaq 0x6406(%rip), %rdx      # 0x1f727
leaq 0x3cb(%rip), %rcx       # 0x196f3
movq %rbx, %rdi
movq %r14, %rsi
movl $0x1, %r8d
callq 0x12e01
leaq 0x63f1(%rip), %rdx      # 0x1f731
leaq 0x3e4(%rip), %rcx       # 0x1972b
movq %rbx, %rdi
movq %r14, %rsi
movl $0x1, %r8d
callq 0x12e01
leaq 0x4cd1(%rip), %rdx      # 0x1e030
leaq 0x41b(%rip), %rcx       # 0x19781
movq %rbx, %rdi
movq %r14, %rsi
movl $0x1, %r8d
callq 0x12e01
leaq 0x63ba(%rip), %rdx      # 0x1f738
leaq 0x466(%rip), %rcx       # 0x197eb
movq %rbx, %rdi
movq %r14, %rsi
movl $0x1, %r8d
callq 0x12e01
leaq 0x63a2(%rip), %rdx      # 0x1f73f
leaq 0x49a(%rip), %rcx       # 0x1983e
movq %rbx, %rdi
movq %r14, %rsi
movl $0x1, %r8d
callq 0x12e01
movq %rbx, %rdi
movq %r14, %rsi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0xb581
// File: /workspace/github_c_makefile_star2_O3/atomlang[P]atomlang/cli/modules.c
// Function: pathAbspath
static void _pathAbspath(PKVM* vm) {
  const char* path;
  if (!pkGetArgString(vm, 1, &path, NULL)) return;

  char abspath[FILENAME_MAX];
  size_t len = pathAbs(path, abspath, sizeof(abspath));
  pkReturnStringLength(vm, abspath, len);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x2018, %rsp           # imm = 0x2018
movq %rdi, %rbx
leaq 0x8(%rsp), %rdx
movl $0x1, %esi
xorl %ecx, %ecx
callq 0x131d5
testb %al, %al
je 0x19480
movq 0x8(%rsp), %r14
leaq 0x1010(%rsp), %r15
movl $0x1000, %esi           # imm = 0x1000
movq %r15, %rdi
callq 0x21b0
leaq 0x10(%rsp), %r12
movl $0x1000, %ecx           # imm = 0x1000
movq %r15, %rdi
movq %r14, %rsi
movq %r12, %rdx
callq 0x1a020
movq %rbx, %rdi
movq %r12, %rsi
movq %rax, %rdx
callq 0x135ba
addq $0x2018, %rsp           # imm = 0x2018
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/atomlang[P]atomlang/cli/modules.c
// Function: pathRelpath
static void _pathRelpath(PKVM* vm) {
  const char* from, * path;
  if (!pkGetArgString(vm, 1, &from, NULL)) return;
  if (!pkGetArgString(vm, 2, &path, NULL)) return;

  char abs_from[FILENAME_MAX];
  pathAbs(from, abs_from, sizeof(abs_from));

  char abs_path[FILENAME_MAX];
  pathAbs(path, abs_path, sizeof(abs_path));

  char result[FILENAME_MAX];
  size_t len = cwk_path_get_relative(abs_from, abs_path,
    result, sizeof(result));
  pkReturnStringLength(vm, result, len);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x3010, %rsp           # imm = 0x3010
movq %rdi, %rbx
leaq 0x8(%rsp), %rdx
movl $0x1, %esi
xorl %ecx, %ecx
callq 0x131d5
testb %al, %al
je 0x1955e
movq %rsp, %rdx
movq %rbx, %rdi
movl $0x2, %esi
xorl %ecx, %ecx
callq 0x131d5
testb %al, %al
je 0x1955e
movq 0x8(%rsp), %r15
leaq 0x10(%rsp), %r12
movl $0x1000, %esi           # imm = 0x1000
movq %r12, %rdi
callq 0x21b0
leaq 0x2010(%rsp), %r14
movl $0x1000, %ecx           # imm = 0x1000
movq %r12, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0x1a020
movq (%rsp), %r15
leaq 0x10(%rsp), %r12
movl $0x1000, %esi           # imm = 0x1000
movq %r12, %rdi
callq 0x21b0
leaq 0x1010(%rsp), %r13
movl $0x1000, %ecx           # imm = 0x1000
movq %r12, %rdi
movq %r15, %rsi
movq %r13, %rdx
callq 0x1a020
leaq 0x10(%rsp), %r15
movl $0x1000, %ecx           # imm = 0x1000
movq %r14, %rdi
movq %r13, %rsi
movq %r15, %rdx
callq 0x1a2d4
movq %rbx, %rdi
movq %r15, %rsi
movq %rax, %rdx
callq 0x135ba
addq $0x3010, %rsp           # imm = 0x3010
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/atomlang[P]atomlang/cli/modules.c
// Function: pathJoin
static void _pathJoin(PKVM* vm) {
  const char* paths[MAX_JOIN_PATHS + 1]; // +1 for NULL.
  int argc = pkGetArgc(vm);

  if (argc > MAX_JOIN_PATHS) {
    pkSetRuntimeError(vm, "Cannot join more than " STRINGIFY(MAX_JOIN_PATHS)
                           "paths.");
    return;
  }

  for (int i = 0; i < argc; i++) {
    pkGetArgString(vm, i + 1, &paths[i], NULL);
  }
  paths[argc] = NULL;

  char result[FILENAME_MAX];
  size_t len = cwk_path_join_multiple(paths, result, sizeof(result));
  pkReturnStringLength(vm, result, len);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x1050, %rsp           # imm = 0x1050
movq %rdi, %rbx
callq 0x12f43
cmpl $0x8, %eax
jle 0x195a9
leaq 0x61c3(%rip), %rsi      # 0x1f755
movq %rbx, %rdi
addq $0x1050, %rsp           # imm = 0x1050
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0xdf56
movl %eax, %ebp
testl %eax, %eax
jle 0x195d4
movq %rsp, %r14
movl %ebp, %r12d
xorl %r15d, %r15d
incq %r15
movq %rbx, %rdi
movl %r15d, %esi
movq %r14, %rdx
xorl %ecx, %ecx
callq 0x131d5
addq $0x8, %r14
cmpq %r15, %r12
jne 0x195b8
movslq %ebp, %rax
movq $0x0, (%rsp,%rax,8)
movq %rsp, %rdi
leaq 0x50(%rsp), %r14
movl $0x1000, %edx           # imm = 0x1000
movq %r14, %rsi
callq 0x1a819
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x135ba
addq $0x1050, %rsp           # imm = 0x1050
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/atomlang[P]atomlang/cli/modules.c
// Function: pathNormalize
static void _pathNormalize(PKVM* vm) {
  const char* path;
  if (!pkGetArgString(vm, 1, &path, NULL)) return;

  char result[FILENAME_MAX];
  size_t len = cwk_path_normalize(path, result, sizeof(result));
  pkReturnStringLength(vm, result, len);
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x1018, %rsp           # imm = 0x1018
movq %rdi, %rbx
leaq 0x8(%rsp), %rdx
movl $0x1, %esi
xorl %ecx, %ecx
callq 0x131d5
testb %al, %al
je 0x19659
movq 0x8(%rsp), %rdi
leaq 0x10(%rsp), %r14
movl $0x1000, %edx           # imm = 0x1000
movq %r14, %rsi
callq 0x1b046
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x135ba
addq $0x1018, %rsp           # imm = 0x1018
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/atomlang[P]atomlang/cli/modules.c
// Function: pathBaseName
static void _pathBaseName(PKVM* vm) {
  const char* path;
  if (!pkGetArgString(vm, 1, &path, NULL)) return;

  const char* base_name;
  size_t length;
  cwk_path_get_basename(path, &base_name, &length);
  pkReturnString(vm, base_name);
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
movq %rsp, %rdx
movl $0x1, %esi
xorl %ecx, %ecx
callq 0x131d5
testb %al, %al
je 0x196a2
movq (%rsp), %rdi
leaq 0x10(%rsp), %r14
leaq 0x8(%rsp), %rdx
movq %r14, %rsi
callq 0x1aa0d
movq (%r14), %rsi
movq %rbx, %rdi
callq 0x1356e
addq $0x18, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/atomlang[P]atomlang/cli/modules.c
// Function: pathDirName
static void _pathDirName(PKVM* vm) {
  const char* path;
  if (!pkGetArgString(vm, 1, &path, NULL)) return;

  size_t length;
  cwk_path_get_dirname(path, &length);
  pkReturnStringLength(vm, path, length);
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
leaq 0x8(%rsp), %rdx
movl $0x1, %esi
xorl %ecx, %ecx
callq 0x131d5
testb %al, %al
je 0x196eb
movq 0x8(%rsp), %rdi
leaq 0x10(%rsp), %r14
movq %r14, %rsi
callq 0x1ad81
movq 0x8(%rsp), %rsi
movq (%r14), %rdx
movq %rbx, %rdi
callq 0x135ba
addq $0x18, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/atomlang[P]atomlang/cli/modules.c
// Function: pathGetExtension
static void _pathGetExtension(PKVM* vm) {
  const char* path;
  if (!pkGetArgString(vm, 1, &path, NULL)) return;

  const char* ext;
  size_t length;
  if (cwk_path_get_extension(path, &ext, &length)) {
    pkReturnStringLength(vm, ext, length);
  } else {
    pkReturnStringLength(vm, NULL, 0);
  }
}

// Assembly:
pushq %rbx
subq $0x20, %rsp
movq %rdi, %rbx
leaq 0x18(%rsp), %rdx
movl $0x1, %esi
xorl %ecx, %ecx
callq 0x131d5
testb %al, %al
je 0x1977b
movq 0x18(%rsp), %rdi
leaq 0x10(%rsp), %rsi
leaq 0x8(%rsp), %rdx
callq 0x1adb9
testb %al, %al
je 0x1976f
movq 0x10(%rsp), %rsi
movq 0x8(%rsp), %rdx
movq %rbx, %rdi
jmp 0x19776
movq %rbx, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x135ba
addq $0x20, %rsp
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O3/atomlang[P]atomlang/cli/modules.c
// Function: registerModuleFile
void registerModuleFile(PKVM* vm) {
  PkHandle* file = pkNewModule(vm, "File");

  pkModuleAddFunction(vm, file, "open",  _fileOpen, -1);
  pkModuleAddFunction(vm, file, "read",  _fileRead,  1);
  pkModuleAddFunction(vm, file, "write", _fileWrite, 2);
  pkModuleAddFunction(vm, file, "close", _fileClose, 1);

  pkReleaseHandle(vm, file);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0x3eb6(%rip), %rsi      # 0x1d74e
callq 0x12c98
movq %rax, %r14
leaq 0x5e9e(%rip), %rdx      # 0x1f745
leaq 0x80(%rip), %rcx        # 0x1992e
movq %rbx, %rdi
movq %rax, %rsi
movl $0xffffffff, %r8d       # imm = 0xFFFFFFFF
callq 0x12e01
leaq 0x5e84(%rip), %rdx      # 0x1f74a
leaq 0x1bb(%rip), %rcx       # 0x19a88
movq %rbx, %rdi
movq %r14, %rsi
movl $0x1, %r8d
callq 0x12e01
leaq 0x431f(%rip), %rdx      # 0x1dc04
leaq 0x22a(%rip), %rcx       # 0x19b16
movq %rbx, %rdi
movq %r14, %rsi
movl $0x2, %r8d
callq 0x12e01
leaq 0x5e4b(%rip), %rdx      # 0x1f74f
leaq 0x29b(%rip), %rcx       # 0x19ba6
movq %rbx, %rdi
movq %r14, %rsi
movl $0x1, %r8d
callq 0x12e01
movq %rbx, %rdi
movq %r14, %rsi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0xb581
// File: /workspace/github_c_makefile_star2_O3/atomlang[P]atomlang/cli/modules.c
// Function: fileOpen
static void _fileOpen(PKVM* vm) {

  int argc = pkGetArgc(vm);
  if (!pkCheckArgcRange(vm, argc, 1, 2)) return;

  const char* path;
  if (!pkGetArgString(vm, 1, &path, NULL)) return;

  const char* mode_str = "r";
  FileAccessMode mode = FMODE_READ;

  if (argc == 2) {
    if (!pkGetArgString(vm, 2, &mode_str, NULL)) return;

    // Check if the mode string is valid, and update the mode value.
    do {
      if (strcmp(mode_str, "r")  == 0) { mode = FMODE_READ;       break; }
      if (strcmp(mode_str, "w")  == 0) { mode = FMODE_WRITE;      break; }
      if (strcmp(mode_str, "a")  == 0) { mode = FMODE_APPEND;     break; }
      if (strcmp(mode_str, "r+") == 0) { mode = FMODE_READ_EXT;   break; }
      if (strcmp(mode_str, "w+") == 0) { mode = FMODE_WRITE_EXT;  break; }
      if (strcmp(mode_str, "a+") == 0) { mode = FMODE_APPEND_EXT; break; }

      // TODO: (fmt, ...) va_arg for runtime error public api.
      // If we reached here, that means it's an invalid mode string.
      pkSetRuntimeError(vm, "Invalid mode string.");
      return;
    } while (false);
  }

  FILE* fp = fopen(path, mode_str);

  if (fp != NULL) {
    File* file = NEW_OBJ(File);
    initObj(&file->_super, OBJ_FILE);
    file->fp = fp;
    file->mode = mode;
    file->closed = false;

    pkReturnInstNative(vm, (void*)file, OBJ_FILE);

  } else {
    pkReturnNull(vm);
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
callq 0x12f43
movl %eax, %ebp
movq %rbx, %rdi
movl %eax, %esi
movl $0x1, %edx
movl $0x2, %ecx
callq 0x12f64
testb %al, %al
je 0x19a7d
movl $0x1, %r15d
leaq 0x10(%rsp), %rdx
movq %rbx, %rdi
movl $0x1, %esi
xorl %ecx, %ecx
callq 0x131d5
testb %al, %al
je 0x19a7d
leaq 0x4473(%rip), %rsi      # 0x1ddfa
movq %rsi, 0x8(%rsp)
cmpl $0x2, %ebp
jne 0x19a35
leaq 0x8(%rsp), %rdx
movq %rbx, %rdi
movl $0x2, %esi
xorl %ecx, %ecx
callq 0x131d5
testb %al, %al
je 0x19a7d
movq 0x8(%rsp), %rsi
movzbl (%rsi), %eax
cmpl $0x61, %eax
je 0x199fc
cmpl $0x77, %eax
je 0x199e2
cmpl $0x72, %eax
jne 0x19a0e
cmpb $0x0, 0x1(%rsi)
je 0x19a35
cmpb $0x2b, 0x1(%rsi)
jne 0x19a0e
cmpb $0x0, 0x2(%rsi)
jne 0x19a0e
movl $0x9, %r15d
jmp 0x19a35
cmpb $0x0, 0x1(%rsi)
je 0x19a1f
cmpb $0x2b, 0x1(%rsi)
jne 0x19a0e
cmpb $0x0, 0x2(%rsi)
jne 0x19a0e
movl $0xa, %r15d
jmp 0x19a35
cmpb $0x0, 0x1(%rsi)
je 0x19a27
cmpb $0x2b, 0x1(%rsi)
jne 0x19a0e
cmpb $0x0, 0x2(%rsi)
je 0x19a2f
leaq 0x5d5e(%rip), %rsi      # 0x1f773
movq %rbx, %rdi
callq 0xdf56
jmp 0x19a7d
movl $0x2, %r15d
jmp 0x19a35
movl $0x4, %r15d
jmp 0x19a35
movl $0xc, %r15d
movq 0x10(%rsp), %rdi
callq 0x2310
testq %rax, %rax
je 0x19a75
movq %rax, %r14
movl $0x18, %edi
callq 0x22b0
movl $0x1, (%rax)
movq %r14, 0x8(%rax)
movl %r15d, 0x10(%rax)
movb $0x0, 0x14(%rax)
movq %rbx, %rdi
movq %rax, %rsi
movl $0x1, %edx
callq 0x13604
jmp 0x19a7d
movq %rbx, %rdi
callq 0x13519
addq $0x18, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/atomlang[P]atomlang/cli/modules.c
// Function: fileRead
static void _fileRead(PKVM* vm) {
  File* file;
  if (!pkGetArgInst(vm, 1, OBJ_FILE, (void**)&file)) return;

  if (file->closed) {
    pkSetRuntimeError(vm, "Cannot read from a closed file.");
    return;
  }

  if ((file->mode != FMODE_READ) && ((_FMODE_EXT & file->mode) == 0)) {
    pkSetRuntimeError(vm, "File is not readable.");
    return;
  }

  // TODO: this is temproary.
  char buff[2048];
  fread((void*)buff, sizeof(char), sizeof(buff), file->fp);
  pkReturnString(vm, (const char*)buff);
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x818, %rsp            # imm = 0x818
movq %rdi, %rbx
leaq 0x8(%rsp), %rcx
movl $0x1, %esi
movl $0x1, %edx
callq 0x132f0
testb %al, %al
je 0x19b0b
movq 0x8(%rsp), %rax
cmpb $0x1, 0x14(%rax)
jne 0x19ac1
leaq 0x5cc9(%rip), %rsi      # 0x1f788
jmp 0x19adb
movl 0x10(%rax), %ecx
cmpl $0x1, %ecx
sete %dl
andl $0x8, %ecx
shrl $0x3, %ecx
orb %dl, %cl
jne 0x19ae5
leaq 0x5ccd(%rip), %rsi      # 0x1f7a8
movq %rbx, %rdi
callq 0xdf56
jmp 0x19b0b
movq 0x8(%rax), %rcx
leaq 0x10(%rsp), %r14
movl $0x1, %esi
movl $0x800, %edx            # imm = 0x800
movq %r14, %rdi
callq 0x20c0
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1356e
addq $0x818, %rsp            # imm = 0x818
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/atomlang[P]atomlang/cli/modules.c
// Function: fileWrite
static void _fileWrite(PKVM* vm) {
  File* file;
  const char* text; uint32_t length;
  if (!pkGetArgInst(vm, 1, OBJ_FILE, (void**)&file)) return;
  if (!pkGetArgString(vm, 2, &text, &length)) return;

  if (file->closed) {
    pkSetRuntimeError(vm, "Cannot write to a closed file.");
    return;
  }

  if ((file->mode != FMODE_WRITE) && ((_FMODE_EXT & file->mode) == 0)) {
    pkSetRuntimeError(vm, "File is not writable.");
    return;
  }

  fwrite(text, sizeof(char), (size_t)length, file->fp);
}

// Assembly:
pushq %rbx
subq $0x20, %rsp
movq %rdi, %rbx
leaq 0x18(%rsp), %rcx
movl $0x1, %esi
movl $0x1, %edx
callq 0x132f0
testb %al, %al
je 0x19ba0
leaq 0x10(%rsp), %rdx
leaq 0xc(%rsp), %rcx
movq %rbx, %rdi
movl $0x2, %esi
callq 0x131d5
testb %al, %al
je 0x19ba0
movq 0x18(%rsp), %rax
cmpb $0x1, 0x14(%rax)
jne 0x19b65
leaq 0x5c5b(%rip), %rsi      # 0x1f7be
jmp 0x19b7f
movl 0x10(%rax), %ecx
cmpl $0x2, %ecx
sete %dl
andl $0x8, %ecx
shrl $0x3, %ecx
orb %dl, %cl
jne 0x19b89
leaq 0x5c5e(%rip), %rsi      # 0x1f7dd
movq %rbx, %rdi
callq 0xdf56
jmp 0x19ba0
movq 0x10(%rsp), %rdi
movl 0xc(%rsp), %edx
movq 0x8(%rax), %rcx
movl $0x1, %esi
callq 0x2380
addq $0x20, %rsp
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O3/atomlang[P]atomlang/cli/modules.c
// Function: fileClose
static void _fileClose(PKVM* vm) {
  File* file;
  if (!pkGetArgInst(vm, 1, OBJ_FILE, (void**)&file)) return;

  if (file->closed) {
    pkSetRuntimeError(vm, "File already closed.");
    return;
  }

  if (fclose(file->fp) != 0) {
    pkSetRuntimeError(vm, "fclose() failed!\n"                     \
                      "  at " __FILE__ ":" STRINGIFY(__LINE__) ".");
  }
  file->closed = true;
}

// Assembly:
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
leaq 0x8(%rsp), %rcx
movl $0x1, %esi
movl $0x1, %edx
callq 0x132f0
testb %al, %al
je 0x19c07
movq 0x8(%rsp), %rax
cmpb $0x1, 0x14(%rax)
jne 0x19be2
leaq 0x5c1b(%rip), %rsi      # 0x1f7f3
movq %rbx, %rdi
callq 0xdf56
jmp 0x19c07
movq 0x8(%rax), %rdi
callq 0x2120
testl %eax, %eax
je 0x19bfe
leaq 0x5c12(%rip), %rsi      # 0x1f808
movq %rbx, %rdi
callq 0xdf56
movq 0x8(%rsp), %rax
movb $0x1, 0x14(%rax)
addq $0x10, %rsp
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O3/atomlang[P]atomlang/cli/repl.c
// Function: read_line
const char* read_line(uint32_t* length) {
  const int size = 1024;
  char* mem = (char*)malloc(size);
  if (fgets(mem, size, stdin) == NULL) {
    // TODO: handle error.
  }
  size_t len = strlen(mem);

  // FIXME: handle \r\n, this is temp.
  mem[len - 1] = '\0';
  if (length != NULL) *length = (uint32_t)(len - 1);

  return mem;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movl $0x400, %edi            # imm = 0x400
callq 0x22b0
movq %rax, %r14
movq 0xf39d(%rip), %rax      # 0x28fd8
movq (%rax), %rdx
movq %r14, %rdi
movl $0x400, %esi            # imm = 0x400
callq 0x2220
movq %r14, %rdi
callq 0x2140
movb $0x0, -0x1(%r14,%rax)
testq %rbx, %rbx
je 0x19c63
decq %rax
movl %eax, (%rbx)
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/atomlang[P]atomlang/cli/thirdparty/cwalk/cwalk.c
// Function: cwk_path_is_absolute
bool cwk_path_is_absolute(const char* path)
{
  size_t length;

  // We grab the root of the path. This root does not include the first
  // separator of a path.
  cwk_path_get_root(path, &length);

  // Now we can determine whether the root is absolute or not.
  return cwk_path_is_root_absolute(path, length);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq %rsp, %r14
movq %r14, %rsi
callq 0x1a61b
movq (%r14), %rax
testq %rax, %rax
je 0x1a108
movl 0xf817(%rip), %ecx      # 0x298f0
leaq 0xece0(%rip), %rdx      # 0x28dc0
movq (%rdx,%rcx,8), %rcx
movb (%rcx), %sil
testb %sil, %sil
je 0x1a108
movb -0x1(%rbx,%rax), %dl
incq %rcx
cmpb %dl, %sil
sete %al
je 0x1a10a
movb (%rcx), %sil
incq %rcx
testb %sil, %sil
jne 0x1a0f3
jmp 0x1a10a
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/atomlang[P]atomlang/cli/thirdparty/argparse/argparse.c
// Function: argparse_short_opt
static int
argparse_short_opt(struct argparse *self, const struct argparse_option *options)
{
    for (; options->type != ARGPARSE_OPT_END; options++) {
        if (options->short_name == *self->optvalue) {
            self->optvalue = self->optvalue[1] ? self->optvalue + 1 : NULL;
            return argparse_getvalue(self, options, 0);
        }
    }
    return -2;
}

// Assembly:
cmpl $0x0, (%rsi)
je 0x1b7b7
movq 0x48(%rdi), %rax
movb (%rax), %cl
cmpb %cl, 0x4(%rsi)
je 0x1b7bd
cmpl $0x0, 0x38(%rsi)
leaq 0x38(%rsi), %rsi
jne 0x1b7a8
movl $0xfffffffe, %eax       # imm = 0xFFFFFFFE
retq
leaq 0x1(%rax), %rcx
xorl %edx, %edx
cmpb $0x0, 0x1(%rax)
cmovneq %rcx, %rdx
movq %rdx, 0x48(%rdi)
xorl %edx, %edx
jmp 0x1bbdb
// File: /workspace/github_c_makefile_star2_O3/atomlang[P]atomlang/cli/thirdparty/argparse/argparse.c
// Function: argparse_error
static void
argparse_error(struct argparse *self, const struct argparse_option *opt,
               const char *reason, int flags)
{
    (void)self;
    if (flags & OPT_LONG) {
        fprintf(stderr, "error: option `--%s` %s\n", opt->long_name, reason);
    } else {
        fprintf(stderr, "error: option `-%c` %s\n", opt->short_name, reason);
    }
    exit(EXIT_FAILURE);
}

// Assembly:
pushq %rax
movq %rsi, %rcx
movq %rdi, %rax
movq 0xd1f2(%rip), %rsi      # 0x28ff8
movq (%rsi), %rdi
testb $0x2, %dl
jne 0x1be22
movsbl 0x4(%rax), %edx
leaq 0x3cf7(%rip), %rsi      # 0x1fb10
xorl %eax, %eax
callq 0x2250
jmp 0x1be34
movq 0x8(%rax), %rdx
leaq 0x3cca(%rip), %rsi      # 0x1faf7
xorl %eax, %eax
callq 0x2250
movl $0x1, %edi
callq 0x2370
// File: /workspace/github_c_makefile_star2_O3/mjosaarinen[P]brutus/crypto_aead/minalpherv11/ref/minalpher.c
// Function: AEAD_DEC
int AEAD_DEC(
  const unsigned char     *_K,    /* I    Secret key              */
  const unsigned char     *_N,    /* I    Nonce                   */
  const unsigned char     *_AD,   /* I    Associate Data          */
  const unsigned long long _adlen,/* I    Length of Associate Data*/
  const unsigned char     *_C,    /* I    Ciphertext              */
  const unsigned long long _clen, /* I    Length of Ciphertext    */
  const unsigned char     *_tag,  /* I    Tag                     */

  unsigned char           *M_,    /* O    Message                 */
  unsigned long long      *mlen_  /* O    Length of Message       */
)
{
  int d, ret=0;
  unsigned char tagS[TAGBYTES];

  if( _clen < BLOCK_SIZE ) return -1;
  AEAD_TGEN( _K, _N, _AD, _adlen, _C, _clen, tagS );
  for( d=0; d<TAGBYTES; d++ ){
    if( _tag[d] != tagS[d] ) ret |= 1;
  }
  if( ret != 0 )  return -1;
  if(AEAD_MGEN( _K, _N, _C, _clen, M_, mlen_ ) < 0){
    return -1;
  }

  return 0;
}

// Assembly:
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
cmpq $0x20, %r9
jb 0x1791
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %r9, %rbp
movq %r8, %r12
movq %rsi, %r14
movq %rdi, %r15
movq 0xa0(%rsp), %rbx
leaq 0x50(%rsp), %r13
movq %r13, (%rsp)
callq 0x1452
vmovq (%rbx), %xmm0
vmovq (%r13), %xmm1
vpcmpneqb %xmm1, %xmm0, %k0
vmovq 0x8(%rbx), %xmm0
vmovq 0x8(%r13), %xmm1
vpcmpneqb %xmm1, %xmm0, %k1
kortestb %k1, %k0
je 0x1792
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0xa8(%rsp), %rax
cmpq $0x40, %rbp
jb 0x1810
shrq $0x5, %rbp
movl $0x1, %r13d
xorl %ebx, %ebx
movq %r15, 0x8(%rsp)
movq %r14, %r15
vmovups (%r12,%rbx), %ymm0
vmovups %ymm0, 0x30(%rsp)
movq 0x8(%rsp), %rdi
movq %rax, %r14
movq %r15, %rsi
movq %r13, %rdx
leaq 0x30(%rsp), %rcx
leaq 0x10(%rsp), %r8
vzeroupper
callq 0x1c52
movq %r14, %rax
vmovdqu 0x10(%rsp), %ymm0
vmovdqu %ymm0, (%r14,%rbx)
addq $0x2, %r13
decq %rbp
addq $0x20, %rbx
cmpq $0x1, %rbp
ja 0x17b4
addq %rbx, %rax
addq %rbx, %r12
movq %r15, %r14
movq 0x8(%rsp), %r15
jmp 0x1818
movl $0x1, %r13d
xorl %ebx, %ebx
movq %rax, %rbp
xorl %eax, %eax
movb (%r12,%rax), %cl
movb %cl, 0x30(%rsp,%rax)
incq %rax
cmpq $0x20, %rax
jne 0x181d
leaq 0x30(%rsp), %rcx
leaq 0x10(%rsp), %r8
movq %r15, %rdi
movq %r14, %rsi
movq %r13, %rdx
vzeroupper
callq 0x1c52
movl $0x1f, %eax
movzbl 0x10(%rsp,%rax), %ecx
testl %ecx, %ecx
jne 0x1862
addq $-0x1, %rax
jb 0x184e
jmp 0x177e
cmpl $0x80, %ecx
jne 0x177e
testq %rax, %rax
jle 0x1885
xorl %ecx, %ecx
movb 0x10(%rsp,%rcx), %dl
movb %dl, (%rbp,%rcx)
incq %rcx
cmpq %rcx, %rax
jne 0x1875
addq %rax, %rbx
movq 0xb0(%rsp), %rax
movq %rbx, (%rax)
xorl %eax, %eax
jmp 0x1783
// File: /workspace/github_c_makefile_star2_O3/mjosaarinen[P]brutus/crypto_aead/minalpherv11/ref/minalpher.c
// Function: TEM_ENC
static void TEM_ENC(
  const unsigned char     *_K,    /* I    Secret key              */
  unsigned char           _flag,  /* I    Flag for the padding    */
  const unsigned char     *_N,    /* I    Nonce                   */
  unsigned long long      _i,     /* I    an integer              */
  unsigned long long      _j,     /* I    an integer              */
  unsigned char           *_M,    /* I    Message                 */

  unsigned char           *C_     /* O    Ciphertext              */
  )
{
  int d;
  unsigned char L[BLOCK_SIZE];

  /*-- L=(K||flag||N) + P(K||flag||N) --*/
  Copy( L, _K, KEYBYTES );
  L[KEYBYTES]   = _flag;
  L[KEYBYTES+1] = 0x00;
  L[KEYBYTES+2] = 0x00;
  for( d=0; d<NONCEBYTES; d++ ) L[d+KEYBYTES+3] = _N[d];

  minalpher_P( L, FORWARD );

  Xor( L, _K, KEYBYTES );
  L[KEYBYTES]   ^= _flag;
  L[KEYBYTES+1] ^= 0x00;
  L[KEYBYTES+2] ^= 0x00;
  for( d=0; d<NONCEBYTES; d++ ) L[d+KEYBYTES+3] ^= _N[d];

  /* C=y^{i}(y+1)^{j}L + P(M+y^{i}(y+1)^{j}L) --*/
  Copy( C_, _M, BLOCK_SIZE );
  TweakGen( L, _i, _j );
  Xor(  C_,  L, BLOCK_SIZE );
  minalpher_P( C_, FORWARD );
  Xor(  C_,  L, BLOCK_SIZE );
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %r9, %r12
movq %r8, 0x10(%rsp)
movq %rcx, 0x8(%rsp)
movq %rdx, %r13
movl %esi, 0x4(%rsp)
movq %rdi, %r14
movq 0x90(%rsp), %rbx
vmovups (%rdi), %xmm0
leaq 0x30(%rsp), %r15
vmovaps %xmm0, (%r15)
movb %sil, 0x10(%r15)
movw $0x0, 0x11(%r15)
movq (%rdx), %rax
movq 0x5(%rdx), %rcx
movq %rax, 0x13(%r15)
movq %rcx, 0x18(%r15)
xorl %ebp, %ebp
movq %r15, %rdi
xorl %esi, %esi
callq 0x1d7c
vmovaps (%r15), %xmm0
vxorps (%r14), %xmm0, %xmm0
vmovaps %xmm0, (%r15)
movl 0x4(%rsp), %eax
xorb %al, 0x10(%r15)
movw $0x1fff, %ax            # imm = 0x1FFF
kmovd %eax, %k1
vmovdqu8 (%r13), %xmm0 {%k1} {z}
vmovdqu8 0x13(%r15), %xmm1 {%k1} {z}
vpxor %xmm0, %xmm1, %xmm0
vmovdqu8 %xmm0, 0x13(%r15) {%k1}
movb (%r12,%rbp), %al
movb %al, (%rbx,%rbp)
incq %rbp
cmpq $0x20, %rbp
jne 0x1b0f
leaq 0x30(%rsp), %r14
movq %r14, %rdi
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
callq 0x2882
vmovups (%r14), %ymm0
vmovups %ymm0, 0x10(%rsp)
vxorps (%rbx), %ymm0, %ymm0
vmovups %ymm0, (%rbx)
movq %rbx, %rdi
xorl %esi, %esi
vzeroupper
callq 0x1d7c
vmovups 0x10(%rsp), %ymm0
vxorps (%rbx), %ymm0, %ymm0
vmovups %ymm0, (%rbx)
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
vzeroupper
retq
// File: /workspace/github_c_makefile_star2_O3/mjosaarinen[P]brutus/crypto_aead/minalpherv11/ref/minalpher.c
// Function: MAC_VERIF
int MAC_VERIF(
  const unsigned char     *_K,    /* I    Secret key              */
  const unsigned char     *_M,    /* I    Message                 */
  unsigned long long      _mlen,  /* I    Length of Message       */

  const unsigned char     *_C,    /* I    Tag to be verified      */
  unsigned long long      _clen   /* I    Length of Tag           */
  )
{
  int result=0;
  unsigned long long d, len=0;
  unsigned char tag[TAGBYTES];

  result = MAC_GEN( _K, _M, _mlen, tag, &len );

  if( len != _clen ) result |= 1;
  for( d=0; d<len; d++ ){
    if( tag[d] != _C[d] ) result |= 1;
  }

  if( result != 0 ) return -1;
  return 0;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %r8, %rbx
movq %rcx, %r14
leaq 0x18(%rsp), %r15
movq $0x0, (%r15)
movq %rsp, %rcx
movq %r15, %r8
callq 0x1030
movq (%r15), %rax
cmpq %rbx, %rax
setne %cl
testq %rax, %rax
je 0x1c40
leaq 0x7(%rax), %rcx
andq $-0x8, %rcx
leaq -0x1(%rax), %rdx
kxorw %k0, %k0, %k1
vpbroadcastq %rdx, %ymm0
xorl %edx, %edx
vpmovsxbq 0x1491(%rip), %ymm1 # 0x3060
vpmovsxbq 0x148c(%rip), %ymm2 # 0x3064
kmovq %k1, %k0
vpbroadcastq %rdx, %ymm3
vpor %ymm1, %ymm3, %ymm4
vpor %ymm2, %ymm3, %ymm3
vpcmpleuq %ymm0, %ymm3, %k1
vpcmpleuq %ymm0, %ymm4, %k2
kshiftlb $0x4, %k2, %k2
korb %k2, %k1, %k2
kmovb %k2, %k1
vmovdqu8 (%rsp,%rdx), %xmm3 {%k1} {z}
vmovdqu8 (%r14,%rdx), %xmm4 {%k1} {z}
vpcmpneqb %xmm4, %xmm3, %k1
korb %k1, %k0, %k1
addq $0x8, %rdx
cmpq %rdx, %rcx
jne 0x1bd8
cmpq %rbx, %rax
setne %al
kandnb %k0, %k2, %k0
kandb %k2, %k1, %k1
kortestb %k0, %k1
setne %cl
orb %al, %cl
movzbl %cl, %eax
negl %eax
addq $0x20, %rsp
popq %rbx
popq %r14
popq %r15
vzeroupper
retq
// File: /workspace/github_c_makefile_star2_O3/mjosaarinen[P]brutus/crypto_aead/minalpherv11/ref/minalpher.c
// Function: TEM_DEC
static void TEM_DEC(
  const unsigned char     *_K,    /* I    Secret key              */
  unsigned char           _flag,  /* I    Flag for the padding    */
  const unsigned char     *_N,    /* I    Nonce                   */
  unsigned long long      _i,     /* I    an integer              */
  unsigned long long      _j,     /* I    an integer              */
  unsigned char           *_C,    /* I    Ciphertext              */

  unsigned char           *M_     /* O    Message                 */
  )
{
  int d;
  unsigned char L[BLOCK_SIZE];

  /*-- L=(K||flag||N) + P(K||flag||N) --*/
  Copy( L, _K, KEYBYTES );
  L[KEYBYTES]   = _flag;
  L[KEYBYTES+1] = 0x00;
  L[KEYBYTES+2] = 0x00;
  for( d=0; d<NONCEBYTES; d++ ) L[d+KEYBYTES+3] = _N[d];

  minalpher_P( L, FORWARD );

  Xor( L, _K, KEYBYTES );
  L[KEYBYTES]   ^= _flag;
  L[KEYBYTES+1] ^= 0x00;
  L[KEYBYTES+2] ^= 0x00;
  for( d=0; d<NONCEBYTES; d++ ) L[d+KEYBYTES+3] ^= _N[d];

  /* M=y^{i}(y+1)^{j}L + P^{-1}(C+y^{i}(y+1)^{j}L)    --*/
  Copy( M_, _C, BLOCK_SIZE );
  TweakGen( L, _i, _j );
  Xor(  M_,  L, BLOCK_SIZE );
  minalpher_P( M_, BACKWARD );
  Xor(  M_,  L, BLOCK_SIZE );
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %r8, %rbx
movq %rcx, %r15
movq %rdx, %r14
movq %rsi, %r12
movq %rdi, 0x20(%rsp)
vmovups (%rdi), %xmm0
movq %rsp, %rbp
vmovaps %xmm0, (%rbp)
movw $0x40, 0x10(%rbp)
movb $0x0, 0x12(%rbp)
movq (%rsi), %rax
movq 0x5(%rsi), %rcx
movq %rax, 0x13(%rbp)
movq %rcx, 0x18(%rbp)
xorl %r13d, %r13d
movq %rbp, %rdi
xorl %esi, %esi
callq 0x1d7c
vmovaps (%rbp), %xmm0
movq 0x20(%rsp), %rax
vxorps (%rax), %xmm0, %xmm0
vmovaps %xmm0, (%rbp)
xorb $0x40, 0x10(%rbp)
movw $0x1fff, %ax            # imm = 0x1FFF
kmovd %eax, %k1
vmovdqu8 (%r12), %xmm0 {%k1} {z}
vmovdqu8 0x13(%rbp), %xmm1 {%k1} {z}
vpxor %xmm0, %xmm1, %xmm0
vmovdqu8 %xmm0, 0x13(%rbp) {%k1}
movb (%r15,%r13), %al
movb %al, (%rbx,%r13)
incq %r13
cmpq $0x20, %r13
jne 0x1ce1
testq %r14, %r14
je 0x1d39
leaq 0x1(%rsp), %r15
movq %rsp, %r12
movb (%rsp), %r13b
movl $0x1f, %edx
movq %r12, %rdi
movq %r15, %rsi
callq 0x1090
leal (,%r13,2), %eax
movb %al, 0x1f(%rsp)
xorb %r13b, 0x1c(%rsp)
xorb %r13b, 0x1d(%rsp)
testb %r13b, %r13b
jns 0x1d34
xorb $-0x5d, %al
movb %al, 0x1f(%rsp)
decq %r14
jne 0x1cff
vmovups (%rsp), %ymm0
vmovups %ymm0, 0x20(%rsp)
vxorps (%rbx), %ymm0, %ymm0
vmovups %ymm0, (%rbx)
movq %rbx, %rdi
movl $0x1, %esi
vzeroupper
callq 0x1d7c
vmovups 0x20(%rsp), %ymm0
vxorps (%rbx), %ymm0, %ymm0
vmovups %ymm0, (%rbx)
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
vzeroupper
retq
// File: /workspace/github_c_makefile_star2_O3/mjosaarinen[P]brutus/crypto_aead/minalpherv11/ref/minalpher.c
// Function: TweakGen
static void TweakGen(
  unsigned char       *_L_,   /* I/O  Tweak       */
  unsigned long long  _i,     /* I    an integer  */
  unsigned long long  _j      /* I    an integer  */
  )
{
  int d;
  unsigned char t,dat[BLOCK_SIZE];

  /*-- y^{i}(y+1)^{j}L --*/
  while( _j>0 ){

    Copy( dat, _L_, BLOCK_SIZE );
    t = _L_[0];

    for( d=0; d<(BLOCK_SIZE-1); d++ ) _L_[d] = _L_[d+1];
    _L_[31]  = t<<1;
    _L_[28] ^= t;
    _L_[29] ^= t; 

    if( (t&0x80) == 0x80 ) _L_[31] ^= R;
    Xor( _L_, dat, BLOCK_SIZE );

    _j--;
  }

  while( _i>0 ){

    Copy( dat, _L_, BLOCK_SIZE );
    t = _L_[0];

    for( d=0; d<(BLOCK_SIZE-1); d++ ) _L_[d] = _L_[d+1];
    _L_[31]  = t<<1;
    _L_[28] ^= t;
    _L_[29] ^= t; 

    if( (t&0x80) == 0x80 ) _L_[31] ^= R;

    _i--;
  }
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x20, %rsp
movq %rsi, %rbx
movq %rdi, %r14
testq %rdx, %rdx
je 0x28f4
movq %rdx, %r15
leaq 0x1(%r14), %r12
vmovups (%r14), %ymm0
vmovups %ymm0, (%rsp)
movb (%r14), %r13b
movl $0x1f, %edx
movq %r14, %rdi
movq %r12, %rsi
vzeroupper
callq 0x1090
leal (,%r13,2), %eax
movb %al, 0x1f(%r14)
xorb %r13b, 0x1c(%r14)
xorb %r13b, 0x1d(%r14)
testb %r13b, %r13b
jns 0x28e0
xorb $-0x5d, %al
movb %al, 0x1f(%r14)
vmovups (%rsp), %ymm0
vxorps (%r14), %ymm0, %ymm0
vmovups %ymm0, (%r14)
decq %r15
jne 0x28a1
testq %rbx, %rbx
je 0x2933
leaq 0x1(%r14), %r15
movb (%r14), %r12b
movl $0x1f, %edx
movq %r14, %rdi
movq %r15, %rsi
vzeroupper
callq 0x1090
leal (%r12,%r12), %eax
movb %al, 0x1f(%r14)
xorb %r12b, 0x1c(%r14)
xorb %r12b, 0x1d(%r14)
testb %r12b, %r12b
jns 0x292e
xorb $-0x5d, %al
movb %al, 0x1f(%r14)
decq %rbx
jne 0x28fd
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
vzeroupper
retq
// File: /workspace/github_c_makefile_star2_O3/mjosaarinen[P]brutus/crypto_aead/minalpherv11/ref/minalpher.c
// Function: M
static void M( 
  unsigned char *_m_      /* I/O  Message     */
  )
{
  int i;
  unsigned char t0,t1,t2,t3;

  /*--- XorMatrix ---*/
  for( i=0; i<BLOCK_SIZE; i+=8 ){
    _m_[i+4] ^= _m_[i];
    _m_[i+5] ^= _m_[i+1];
    _m_[i+6] ^= _m_[i+2];
    _m_[i+7] ^= _m_[i+3];
  }

  /*--- MixColumns ---*/
  for( i=0; i<8; i++ ){
    t0 = _m_[i];
    t1 = _m_[i+8];
    t2 = _m_[i+16];
    t3 = _m_[i+24];

    _m_[i]  = t0 ^ t1 ^ t3;
    _m_[i+ 8] = t1 ^ t2 ^ t0;
    _m_[i+16] = t2 ^ t3 ^ t1;
    _m_[i+24] = t3 ^ t0 ^ t2;
  }
}

// Assembly:
vpmovsxbq 0x5e3(%rip), %xmm0 # 0x3094
xorl %eax, %eax
vpbroadcastw 0x5da(%rip), %xmm1 # 0x3096
vpbroadcastw 0x5d3(%rip), %xmm2 # 0x3098
vpbroadcastw 0x5cc(%rip), %xmm3 # 0x309a
vpbroadcastw 0x5c5(%rip), %xmm4 # 0x309c
vpbroadcastw 0x5be(%rip), %xmm5 # 0x309e
vpbroadcastw 0x5b7(%rip), %xmm6 # 0x30a0
vpbroadcastw 0x5b0(%rip), %xmm7 # 0x30a2
vpbroadcastq 0x685(%rip), %xmm8 # 0x3180
vpbroadcastq 0x684(%rip), %xmm9 # 0x3188
vpbroadcastq 0x683(%rip), %xmm10 # 0x3190
vpbroadcastq 0x682(%rip), %xmm11 # 0x3198
vpbroadcastq 0x681(%rip), %xmm12 # 0x31a0
vmovdqu (%rdi,%rax,8), %xmm13
vpmovqb %xmm13, %xmm14
vpshufb %xmm1, %xmm13, %xmm15
vpshufb %xmm2, %xmm13, %xmm16
vpshufb %xmm3, %xmm13, %xmm17
vpshufb %xmm4, %xmm13, %xmm18
vpxorq %xmm14, %xmm18, %xmm14
vpshufb %xmm5, %xmm13, %xmm18
vpxorq %xmm15, %xmm18, %xmm15
vporq %xmm8, %xmm0, %xmm18
vmovq %xmm18, %rcx
vpextrq $0x1, %xmm18, %rdx
vpshufb %xmm6, %xmm13, %xmm18
vpextrb $0x0, %xmm14, (%rdi,%rcx)
vpextrb $0x1, %xmm14, (%rdi,%rdx)
vpxorq %xmm16, %xmm18, %xmm14
vpshufb %xmm7, %xmm13, %xmm13
vporq %xmm9, %xmm0, %xmm16
vmovq %xmm16, %rcx
vpextrq $0x1, %xmm16, %rdx
vpextrb $0x0, %xmm15, (%rdi,%rcx)
vpextrb $0x1, %xmm15, (%rdi,%rdx)
vpxorq %xmm17, %xmm13, %xmm13
vpor %xmm0, %xmm10, %xmm15
vmovq %xmm15, %rcx
vpextrb $0x0, %xmm14, (%rdi,%rcx)
vpextrq $0x1, %xmm15, %rcx
vpextrb $0x1, %xmm14, (%rdi,%rcx)
vpor %xmm0, %xmm11, %xmm14
vmovq %xmm14, %rcx
vpextrq $0x1, %xmm14, %rdx
vpextrb $0x0, %xmm13, (%rdi,%rcx)
vpextrb $0x1, %xmm13, (%rdi,%rdx)
addq $0x2, %rax
vpaddq %xmm0, %xmm12, %xmm0
cmpq $0x4, %rax
jne 0x2b1f
movq (%rdi), %rax
movq 0x8(%rdi), %rcx
movq 0x10(%rdi), %rdx
movq 0x18(%rdi), %rsi
movq %rdx, %r8
xorq %rcx, %r8
xorq %rax, %rcx
movq %rcx, %r9
xorq %rsi, %r9
vmovq %r9, %xmm0
xorq %rsi, %r8
vmovq %r8, %xmm1
xorq %rdx, %rax
xorq %rsi, %rax
vmovq %rax, %xmm2
vinserti128 $0x1, %xmm2, %ymm1, %ymm1
xorq %rdx, %rcx
vmovq %rcx, %xmm2
vinserti128 $0x1, %xmm2, %ymm0, %ymm0
vpmovsxbq 0x421(%rip), %ymm2 # 0x306c
vpermi2q %ymm1, %ymm0, %ymm2
vmovdqu %ymm2, (%rdi)
vzeroupper
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O3/teodorst[P]app-huffman/huffman_codification_mpi.c
// Function: main
int main (int argc, char* argv[]) {

	MPI_Init (&argc, &argv);
    if (argc == 4) {
        huffman_compress(argv[INPUT_FILE], argv[OUTPUT_FILE], argv[CODIFICATION]);
    }
    else {
        printf("Bad arguments\n");
        printf("Usage huffman_serial_codification input_file ouput_file codification_file_name\n");
        MPI_Finalize();
	return 1;
    }

    MPI_Finalize();
    return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
subq $0x18, %rsp
leaq -0x14(%rbp), %rbx
movl %edi, (%rbx)
leaq -0x10(%rbp), %rax
movq %rsi, (%rax)
movq %rbx, %rdi
movq %rax, %rsi
callq 0x10f0
cmpl $0x4, (%rbx)
jne 0x1972
movq -0x10(%rbp), %rax
movq 0x8(%rax), %rdi
movq 0x10(%rax), %rsi
movq 0x18(%rax), %rdx
callq 0x1369
xorl %ebx, %ebx
jmp 0x198f
leaq 0x1703(%rip), %rdi      # 0x307c
callq 0x1080
leaq 0x1705(%rip), %rdi      # 0x308a
callq 0x1080
movl $0x1, %ebx
callq 0x11b0
movl %ebx, %eax
addq $0x18, %rsp
popq %rbx
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O3/aimerneige[P]st/x.c
// Function: bmotion
void
bmotion(XEvent *e)
{
	if (!xw.pointerisvisible) {
		XDefineCursor(xw.dpy, xw.win, xw.vpointer);
		xw.pointerisvisible = 1;
		if (!IS_SET(MODE_MOUSEMANY))
			xsetpointermotion(0);
	}

	if (IS_SET(MODE_MOUSE) && !(e->xbutton.state & forcemousemod)) {
		mousereport(e);
		return;
	}

	mousesel(e, 0);
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
cmpl $0x0, 0xef3c(%rip)      # 0x1ce00
jne 0xdefa
movq 0xee3b(%rip), %rdi      # 0x1cd08
movq 0xee44(%rip), %rsi      # 0x1cd18
movq 0xef15(%rip), %rdx      # 0x1cdf0
callq 0x5740
movl $0x1, 0xef16(%rip)      # 0x1ce00
testb $-0x80, 0xef58(%rip)    # 0x1ce49
jne 0xdefa
xorl %edi, %edi
callq 0xc314
movzwl 0xef47(%rip), %eax      # 0x1ce48
testl $0xc018, %eax           # imm = 0xC018
je 0xdf17
testb $0x1, 0x50(%rbx)
jne 0xdf17
movq %rbx, %rdi
popq %rbx
jmp 0xe5b4
movq %rbx, %rdi
xorl %esi, %esi
popq %rbx
jmp 0xe7f7
// File: /workspace/github_c_makefile_star2_O3/darwin-on-arm[P]darwin-sdk/developer_cmds/what/what.c
// Function: main
int
main(argc, argv)
	int argc;
	char **argv;
{
	if (!*++argv) 
		search();
	else do {
		if (!freopen(*argv, "r", stdin)) {
			perror(*argv);
			exit(1);
		}
		printf("%s\n", *argv);
		search();
	} while(*++argv);
	exit(0);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq 0x8(%rsi), %rdi
testq %rdi, %rdi
jne 0x11a1
callq 0x11f6
jmp 0x11e0
movq %rsi, %rbx
addq $0x10, %rbx
movq 0x2e31(%rip), %r15      # 0x3fe0
leaq 0xe4e(%rip), %r14       # 0x2004
movq (%r15), %rdx
movq %r14, %rsi
callq 0x1050
movq -0x8(%rbx), %rdi
testq %rax, %rax
je 0x11e7
callq 0x1040
callq 0x11f6
movq (%rbx), %rdi
addq $0x8, %rbx
testq %rdi, %rdi
jne 0x11b6
xorl %edi, %edi
callq 0x1080
callq 0x1070
movl $0x1, %edi
callq 0x1080