// File: /workspace/github_c_makefile_star2_O3/vtereshkov[P]umka-lang/src/umka_compiler.c
// Function: compilerInit
void compilerInit(Compiler *comp, const char *fileName, const char *sourceString, int stackSize, int argc, char **argv, bool fileSystemEnabled, bool implLibsEnabled)
{
#ifdef _WIN32
    comp->originalInputCodepage = GetConsoleCP();
    comp->originalOutputCodepage = GetConsoleOutputCP();
    SetConsoleCP(CP_UTF8);
    SetConsoleOutputCP(CP_UTF8);
#endif

    compilerSetAPI(comp);

    storageInit  (&comp->storage, &comp->error);
    moduleInit   (&comp->modules, &comp->storage, implLibsEnabled, &comp->error);
    blocksInit   (&comp->blocks, &comp->error);
    externalInit (&comp->externals, &comp->storage);
    typeInit     (&comp->types, &comp->storage, &comp->error);
    identInit    (&comp->idents, &comp->storage, &comp->debug, &comp->error);
    constInit    (&comp->consts, &comp->error);
    genInit      (&comp->gen, &comp->storage, &comp->debug, &comp->error);
    vmInit       (&comp->vm, &comp->storage, stackSize, fileSystemEnabled, &comp->error);

    vmReset(&comp->vm, comp->gen.code, comp->gen.debugPerInstr);

    comp->lex.fileName = "<unknown>";
    comp->lex.tok.line = 1;
    comp->lex.tok.pos = 1;
    comp->debug.fnName = "<unknown>";

    char filePath[DEFAULT_STR_LEN + 1] = "";
    moduleAssertRegularizePath(&comp->modules, fileName, comp->modules.curFolder, filePath, DEFAULT_STR_LEN + 1);

    comp->lex.fileName = filePath;

    lexInit(&comp->lex, &comp->storage, &comp->debug, filePath, sourceString, false, &comp->error);

    comp->argc  = argc;
    comp->argv  = argv;

    comp->blocks.module = moduleAdd(&comp->modules, "#universe");

    compilerDeclareBuiltinTypes (comp);
    compilerDeclareBuiltinIdents(comp);
    compilerDeclareExternalFuncs(comp, fileSystemEnabled);

    // Command-line-arguments
    Type *argvType = typeAdd(&comp->types, &comp->blocks, TYPE_ARRAY);
    argvType->base = comp->strType;
    typeResizeArray(argvType, comp->argc);

    Ident *rtlargv = identAllocVar(&comp->idents, &comp->types, &comp->modules, &comp->blocks, "rtlargv", argvType, true);
    char **argArray = (char **)rtlargv->ptr;

    for (int i = 0; i < comp->argc; i++)
    {
        argArray[i] = storageAddStr(&comp->storage, strlen(comp->argv[i]));
        strcpy(argArray[i], comp->argv[i]);
    }

    // Embedded standard library modules
    const int numRuntimeModules = sizeof(runtimeModuleSources) / sizeof(runtimeModuleSources[0]);
    for (int i = 0; i < numRuntimeModules; i++)
    {
        char runtimeModulePath[DEFAULT_STR_LEN + 1] = "";
        moduleAssertRegularizePath(&comp->modules, runtimeModuleNames[i], comp->modules.curFolder, runtimeModulePath, DEFAULT_STR_LEN + 1);

        const bool runtimeModuleTrusted = strcmp(runtimeModuleNames[i], "std.um") == 0;
        moduleAddSource(&comp->modules, runtimeModulePath, runtimeModuleSources[i], runtimeModuleTrusted);
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x278, %rsp            # imm = 0x278
movq %r9, 0x28(%rsp)
movl %r8d, 0x20(%rsp)
movl %ecx, 0x38(%rsp)
movq %rdx, 0x18(%rsp)
movq %rsi, 0x40(%rsp)
movq %rdi, %rbx
movb 0x2b8(%rsp), %r12b
leaq -0x143f(%rip), %rax     # 0x72dc
movq %rax, (%rdi)
leaq -0x143f(%rip), %rax     # 0x72e6
movq %rax, 0x8(%rdi)
leaq -0x10aa(%rip), %rax     # 0x7686
movq %rax, 0x10(%rdi)
leaq -0x1089(%rip), %rax     # 0x76b2
movq %rax, 0x18(%rdi)
leaq -0x1060(%rip), %rax     # 0x76e6
movq %rax, 0x20(%rdi)
leaq -0x1011(%rip), %rax     # 0x7740
movq %rax, 0x28(%rdi)
leaq -0x100a(%rip), %rax     # 0x7752
movq %rax, 0x30(%rdi)
leaq -0x100d(%rip), %rax     # 0x775a
movq %rax, 0x38(%rdi)
leaq -0x100c(%rip), %rax     # 0x7766
movq %rax, 0x40(%rdi)
leaq -0x1012(%rip), %rax     # 0x776b
movq %rax, 0x48(%rdi)
leaq -0x1018(%rip), %rax     # 0x7770
movq %rax, 0x50(%rdi)
leaq -0x101e(%rip), %rax     # 0x7775
movq %rax, 0x58(%rdi)
leaq -0x1024(%rip), %rax     # 0x777a
movq %rax, 0x60(%rdi)
leaq -0xf22(%rip), %rax      # 0x7887
movq %rax, 0x68(%rdi)
leaq -0xf21(%rip), %rax      # 0x7893
movq %rax, 0x70(%rdi)
leaq -0xf20(%rip), %rax      # 0x789f
movq %rax, 0x78(%rdi)
leaq -0xf18(%rip), %rax      # 0x78b2
movq %rax, 0x80(%rdi)
leaq -0xf13(%rip), %rax      # 0x78c5
movq %rax, 0x88(%rdi)
leaq -0xf15(%rip), %rax      # 0x78d1
movq %rax, 0x90(%rdi)
leaq -0xf17(%rip), %rax      # 0x78dd
movq %rax, 0x98(%rdi)
leaq -0xf19(%rip), %rax      # 0x78e9
movq %rax, 0xa0(%rdi)
leaq -0xf1b(%rip), %rax      # 0x78f5
movq %rax, 0xa8(%rdi)
leaq -0xf19(%rip), %rax      # 0x7905
movq %rax, 0xb0(%rdi)
leaq -0xf1f(%rip), %rax      # 0x790d
movq %rax, 0xb8(%rdi)
leaq -0xf21(%rip), %rax      # 0x7919
movq %rax, 0xc0(%rdi)
leaq -0xf1c(%rip), %rax      # 0x792c
movq %rax, 0xc8(%rdi)
leaq -0xf04(%rip), %rax      # 0x7952
movq %rax, 0xd0(%rdi)
leaq -0xf05(%rip), %rax      # 0x795f
movq %rax, 0xd8(%rdi)
leaq -0xef5(%rip), %rax      # 0x797d
movq %rax, 0xe0(%rdi)
leaq -0xefb(%rip), %rax      # 0x7985
movq %rax, 0xe8(%rdi)
leaq 0xf0(%rdi), %r15
leaq 0x50f8(%rdi), %rbp
movq %r15, %rdi
movq %rbp, %rsi
callq 0x7ae5
leaq 0x100(%rbx), %rdi
movq %rdi, 0x48(%rsp)
movzbl %r12b, %edx
movq %r15, %rsi
movq %rbp, %rcx
callq 0x7c21
leaq 0x4220(%rbx), %r13
movq %r13, %rdi
movq %rbp, %rsi
callq 0x84d8
leaq 0x4b98(%rbx), %rdi
movq %rdi, 0x68(%rsp)
movq %r15, %rsi
callq 0x85ce
leaq 0x4e18(%rbx), %rdi
movq %rdi, 0x58(%rsp)
movq %r15, %rsi
movq %rbp, %rdx
callq 0x19a5c
leaq 0x4e38(%rbx), %rdi
movq %rdi, 0x50(%rsp)
leaq 0x50e0(%rbx), %r12
movq %r15, %rsi
movq %r12, %rdx
movq %r12, 0x10(%rsp)
movq %rbp, %rcx
callq 0x14a00
leaq 0x4e68(%rbx), %rdi
movq %rbp, %rsi
callq 0x9c50
leaq 0x4e70(%rbx), %rdi
movq %r15, %rsi
movq %r12, %rdx
movq %rbp, %rcx
callq 0x12d84
leaq 0x5058(%rbx), %r12
movzbl 0x2b0(%rsp), %ecx
movl %ecx, 0x30(%rsp)
movq %r12, %rdi
movq %r15, %rsi
movl 0x38(%rsp), %edx
movq %rbp, %r8
callq 0x1b41c
movq 0x4e70(%rbx), %rsi
movq 0x5040(%rbx), %rdx
movq %r12, %rdi
callq 0x1ba56
leaq 0x4ba8(%rbx), %rax
movq %rax, 0x8(%rsp)
leaq 0x69a1d(%rip), %rax     # 0x723ad
movq %rax, 0x4ba8(%rbx)
movabsq $0x100000001, %rcx      # imm = 0x100000001
movq %rcx, 0x4ce0(%rbx)
movq %rax, 0x50e8(%rbx)
leaq 0x170(%rsp), %r14
movl $0x100, %edx            # imm = 0x100
movq %r14, %rdi
xorl %esi, %esi
callq 0x3190
leaq 0x4108(%rbx), %rdx
movq 0x48(%rsp), %r12
movq %r12, %rdi
movq 0x40(%rsp), %rsi
movq %rdx, 0x38(%rsp)
movq %r14, %rcx
movl $0x100, %r8d            # imm = 0x100
callq 0x849a
movq %r14, 0x4ba8(%rbx)
movq %rbp, (%rsp)
movq 0x8(%rsp), %rdi
movq %r15, 0x40(%rsp)
movq %r15, %rsi
movq 0x58(%rsp), %r15
movq 0x10(%rsp), %rdx
movq %r14, %rcx
movq 0x18(%rsp), %r8
xorl %r9d, %r9d
callq 0x15684
movl 0x20(%rsp), %eax
movl %eax, 0x52b8(%rbx)
movq 0x28(%rsp), %rax
movq %rax, 0x52c0(%rbx)
leaq 0x6997b(%rip), %rsi     # 0x723b7
movq %r12, %rdi
callq 0x7edd
movl %eax, 0x4b88(%rbx)
movq %r15, %r14
movq %r15, %rdi
movq %r13, %rsi
movl $0x2, %edx
callq 0x19a70
movq %rax, 0x5218(%rbx)
movq %r15, %rdi
movq %r13, %rsi
movl $0x3, %edx
callq 0x19a70
movq %rax, 0x5220(%rbx)
movq %r15, %rdi
movq %r13, %rsi
movl $0x4, %edx
callq 0x19a70
movq %rax, 0x5228(%rbx)
movq %r15, %rdi
movq %r13, %rsi
movl $0x5, %edx
callq 0x19a70
movq %rax, 0x5230(%rbx)
movq %r15, %rdi
movq %r13, %rsi
movl $0x6, %edx
callq 0x19a70
movq %rax, 0x5238(%rbx)
movq %r15, %rdi
movq %r13, %rsi
movl $0x7, %edx
callq 0x19a70
movq %rax, 0x5240(%rbx)
movq %r15, %rdi
movq %r13, %rsi
movl $0x8, %edx
callq 0x19a70
movq %rax, 0x5248(%rbx)
movq %r15, %rdi
movq %r13, %rsi
movl $0x9, %edx
callq 0x19a70
movq %rax, 0x5250(%rbx)
movq %r15, %rdi
movq %r13, %rsi
movl $0xa, %edx
callq 0x19a70
movq %rax, 0x5258(%rbx)
movq %r15, %rdi
movq %r13, %rsi
movl $0xb, %edx
callq 0x19a70
movq %rax, 0x5260(%rbx)
movq %r15, %rdi
movq %r13, %rsi
movl $0xc, %edx
callq 0x19a70
movq %rax, 0x5268(%rbx)
movq %r15, %rdi
movq %r13, %rsi
movl $0xd, %edx
callq 0x19a70
movq %rax, 0x5270(%rbx)
movq %r15, %rdi
movq %r13, %rsi
movl $0xe, %edx
callq 0x19a70
movq %rax, 0x5278(%rbx)
movq %r15, %rdi
movq %r13, %rsi
movl $0xf, %edx
callq 0x19a70
movq %rax, 0x5280(%rbx)
movq %r15, %rdi
movq %r13, %rsi
movl $0x14, %edx
callq 0x19a70
movq %rax, 0x5288(%rbx)
movq 0x5218(%rbx), %rdx
movq %r15, %rdi
movq %r13, %rsi
callq 0x19e01
movq %rax, 0x5298(%rbx)
movq 0x5220(%rbx), %rdx
movq %r15, %rdi
movq %r13, %rsi
callq 0x19e01
movq %rax, 0x52a0(%rbx)
movq %r15, %rdi
movq %r13, %rsi
movl $0x17, %edx
callq 0x19a70
movq %rax, %r12
movq 0x5298(%rbx), %rdx
leaq 0x697d7(%rip), %rcx     # 0x723d0
movq %r15, %rdi
movq %rax, %rsi
callq 0x1a697
movq 0x5298(%rbx), %rdx
leaq 0x697c4(%rip), %rcx     # 0x723d6
movq %r15, %rdi
movq %r12, %rsi
callq 0x1a697
movq %r12, 0x52a8(%rbx)
movq %r15, %rdi
movq %r13, %rsi
movl $0x19, %edx
callq 0x19a70
movq %rax, %r15
movq %r14, %rdi
movq %r13, %rsi
movl $0x1a, %edx
callq 0x19a70
movq %rax, %rbp
leaq 0x28(%rax), %rsi
movq 0x52a8(%rbx), %rdx
leaq 0x69784(%rip), %rcx     # 0x723e0
movq %r14, %rdi
xorl %r8d, %r8d
callq 0x1ab67
movq 0x5218(%rbx), %rax
movq %rax, 0xb8(%rbp)
movq %r14, %rdi
movq %r13, %rsi
movl $0x18, %edx
callq 0x19a70
movq %rax, %r12
leaq 0x6975b(%rip), %rcx     # 0x723ea
movq %r14, %rdi
movq %rax, %rsi
movq %rbp, %rdx
callq 0x1a697
movq 0x52a8(%rbx), %rdx
movq %r14, %rdi
movq %r12, %rsi
leaq 0x6972f(%rip), %rcx     # 0x723e0
callq 0x1a697
movq %r12, 0x8(%r15)
movq %r15, 0x5290(%rbx)
movq %r14, %rdi
movq %r13, %rsi
movl $0x16, %edx
callq 0x19a70
movq %rax, %r12
movq 0x5298(%rbx), %rdx
leaq 0x6970c(%rip), %rcx     # 0x723ee
movq %r14, %rdi
movq %rax, %rsi
callq 0x1a697
movq %r14, %rdi
movq %r14, %r15
movq %r13, %rsi
movq %r12, %rdx
callq 0x19e01
movq %rax, 0x52b0(%rbx)
movq 0x5268(%rbx), %r8
movq $0x1, (%rsp)
leaq 0x696d9(%rip), %rcx     # 0x723f4
movq 0x50(%rsp), %r14
movq %r14, %rdi
movq 0x48(%rsp), %r12
movq %r12, %rsi
movq %r13, %rdx
movl $0x1, %r9d
callq 0x14d61
movq 0x5268(%rbx), %r8
xorl %ebp, %ebp
movq %rbp, (%rsp)
leaq 0x696ac(%rip), %rcx     # 0x723f9
movq %r14, %rdi
movq %r12, %rsi
movq %r13, %rdx
movl $0x1, %r9d
callq 0x14d61
movq 0x52a0(%rbx), %r8
movq %rbp, (%rsp)
leaq 0x726e1(%rip), %rcx     # 0x7b454
movq %r14, %rdi
movq %r12, %rsi
movq %r13, %rdx
movl $0x1, %r9d
callq 0x14d61
movq 0x5218(%rbx), %r8
leaq 0x6d4e5(%rip), %rcx     # 0x7627a
movq %r14, %rdi
movq %r12, %rsi
movq %r13, %rdx
movl $0x1, %r9d
callq 0x151f3
movq 0x5228(%rbx), %r8
leaq 0x69649(%rip), %rcx     # 0x72400
movq %r14, %rdi
movq %r12, %rsi
movq %r13, %rdx
movl $0x1, %r9d
callq 0x151f3
movq 0x5230(%rbx), %r8
leaq 0x6962d(%rip), %rcx     # 0x72406
movq %r14, %rdi
movq %r12, %rsi
movq %r13, %rdx
movl $0x1, %r9d
callq 0x151f3
movq 0x5238(%rbx), %r8
leaq 0x69612(%rip), %rcx     # 0x7240d
movq %r14, %rdi
movq %r12, %rsi
movq %r13, %rdx
movl $0x1, %r9d
callq 0x151f3
movq 0x5240(%rbx), %r8
leaq 0x6d24b(%rip), %rcx     # 0x76068
movq %r14, %rdi
movq %r12, %rsi
movq %r13, %rdx
movl $0x1, %r9d
callq 0x151f3
movq 0x5248(%rbx), %r8
leaq 0x695c0(%rip), %rcx     # 0x723ff
movq %r14, %rdi
movq %r12, %rsi
movq %r13, %rdx
movl $0x1, %r9d
callq 0x151f3
movq 0x5250(%rbx), %r8
leaq 0x695a4(%rip), %rcx     # 0x72405
movq %r14, %rdi
movq %r12, %rsi
movq %r13, %rdx
movl $0x1, %r9d
callq 0x151f3
movq 0x5258(%rbx), %r8
leaq 0x69589(%rip), %rcx     # 0x7240c
movq %r14, %rdi
movq %r12, %rsi
movq %r13, %rdx
movl $0x1, %r9d
callq 0x151f3
movq 0x5260(%rbx), %r8
leaq 0x6956e(%rip), %rcx     # 0x72413
movq %r14, %rdi
movq %r12, %rsi
movq %r13, %rdx
movl $0x1, %r9d
callq 0x151f3
movq 0x5268(%rbx), %r8
leaq 0x69551(%rip), %rcx     # 0x72418
movq %r14, %rdi
movq %r12, %rsi
movq %r13, %rdx
movl $0x1, %r9d
callq 0x151f3
movq 0x5270(%rbx), %r8
leaq 0x69534(%rip), %rcx     # 0x7241d
movq %r14, %rdi
movq %r12, %rsi
movq %r13, %rdx
movl $0x1, %r9d
callq 0x151f3
movq 0x5278(%rbx), %r8
leaq 0x69517(%rip), %rcx     # 0x72422
movq %r14, %rdi
movq %r12, %rsi
movq %r13, %rdx
movl $0x1, %r9d
callq 0x151f3
movq 0x5280(%rbx), %r8
leaq 0x694fc(%rip), %rcx     # 0x72429
movq %r14, %rdi
movq %r12, %rsi
movq %r13, %rdx
movl $0x1, %r9d
callq 0x151f3
movq 0x5290(%rbx), %r8
leaq 0x7218a(%rip), %rcx     # 0x7b0d9
movq %r14, %rdi
movq %r12, %rsi
movq %r13, %rdx
movl $0x1, %r9d
callq 0x151f3
movq 0x52a8(%rbx), %r8
leaq 0x694bd(%rip), %rcx     # 0x7242e
movq %r14, %rdi
movq %r12, %rsi
movq %r13, %rdx
movl $0x1, %r9d
callq 0x151f3
movq 0x52b0(%rbx), %r8
leaq 0x6949f(%rip), %rcx     # 0x72432
movq %r14, %rdi
movq %r12, %rsi
movq %r13, %rdx
movl $0x1, %r9d
callq 0x151f3
movq 0x5240(%rbx), %r8
leaq 0x69485(%rip), %rcx     # 0x7243a
movq %r14, %rdi
movq %r12, %rsi
movq %r13, %rdx
xorl %r9d, %r9d
callq 0x1520d
movq 0x5240(%rbx), %r8
leaq 0x69465(%rip), %rcx     # 0x72439
movq %r14, %rdi
movq %r12, %rsi
movq %r13, %rdx
movl $0x1, %r9d
callq 0x1520d
movq 0x5288(%rbx), %r8
leaq 0x6944b(%rip), %rcx     # 0x72441
movq %r14, %rdi
movq %r12, %rsi
movq %r13, %rdx
movl $0x2, %r9d
callq 0x1520d
movq 0x5240(%rbx), %r8
leaq 0x69432(%rip), %rcx     # 0x7244a
movq %r14, %rdi
movq %r12, %rsi
movq %r13, %rdx
movl $0x3, %r9d
callq 0x1520d
movq 0x5240(%rbx), %r8
leaq 0x6940f(%rip), %rcx     # 0x72449
movq %r14, %rdi
movq %r12, %rsi
movq %r13, %rdx
movl $0x4, %r9d
callq 0x1520d
movq 0x5240(%rbx), %r8
leaq 0x693f4(%rip), %rcx     # 0x72450
movq %r14, %rdi
movq %r12, %rsi
movq %r13, %rdx
movl $0x5, %r9d
callq 0x1520d
movq 0x5240(%rbx), %r8
leaq 0x693d9(%rip), %rcx     # 0x72457
movq %r14, %rdi
movq %r12, %rsi
movq %r13, %rdx
movl $0x8, %r9d
callq 0x1520d
movq 0x5240(%rbx), %r8
leaq 0x693bd(%rip), %rcx     # 0x7245d
movq %r14, %rdi
movq %r12, %rsi
movq %r13, %rdx
movl $0x9, %r9d
callq 0x1520d
movq 0x5240(%rbx), %r8
leaq 0x693a1(%rip), %rcx     # 0x72463
movq %r14, %rdi
movq %r12, %rsi
movq %r13, %rdx
movl $0xa, %r9d
callq 0x1520d
movq 0x5240(%rbx), %r8
leaq 0x69384(%rip), %rcx     # 0x72468
movq %r14, %rdi
movq %r12, %rsi
movq %r13, %rdx
movl $0xb, %r9d
callq 0x1520d
movq 0x5240(%rbx), %r8
leaq 0x69369(%rip), %rcx     # 0x7246f
movq %r14, %rdi
movq %r12, %rsi
movq %r13, %rdx
movl $0xc, %r9d
callq 0x1520d
movq 0x5280(%rbx), %r8
leaq 0x69346(%rip), %rcx     # 0x7246e
movq %r14, %rdi
movq %r12, %rsi
movq %r13, %rdx
movl $0xd, %r9d
callq 0x1520d
movq 0x5280(%rbx), %r8
leaq 0x69329(%rip), %rcx     # 0x72473
movq %r14, %rdi
movq %r12, %rsi
movq %r13, %rdx
movl $0xe, %r9d
callq 0x1520d
movq 0x5280(%rbx), %r8
leaq 0x6930c(%rip), %rcx     # 0x72478
movq %r14, %rdi
movq %r12, %rsi
movq %r13, %rdx
movl $0xf, %r9d
callq 0x1520d
movq 0x5280(%rbx), %r8
leaq 0x692ee(%rip), %rcx     # 0x7247c
movq %r14, %rdi
movq %r12, %rsi
movq %r13, %rdx
movl $0x10, %r9d
callq 0x1520d
movq 0x5280(%rbx), %r8
leaq 0x692d0(%rip), %rcx     # 0x72480
movq %r14, %rdi
movq %r12, %rsi
movq %r13, %rdx
movl $0x11, %r9d
callq 0x1520d
movq 0x5280(%rbx), %r8
leaq 0x692b3(%rip), %rcx     # 0x72485
movq %r14, %rdi
movq %r12, %rsi
movq %r13, %rdx
movl $0x12, %r9d
callq 0x1520d
movq 0x5280(%rbx), %r8
leaq 0x69297(%rip), %rcx     # 0x7248b
movq %r14, %rdi
movq %r12, %rsi
movq %r13, %rdx
movl $0x13, %r9d
callq 0x1520d
movq 0x5280(%rbx), %r8
leaq 0x69279(%rip), %rcx     # 0x7248f
movq %r14, %rdi
movq %r12, %rsi
movq %r13, %rdx
movl $0x14, %r9d
callq 0x1520d
movq 0x5298(%rbx), %r8
leaq 0x6925b(%rip), %rcx     # 0x72493
movq %r14, %rdi
movq %r12, %rsi
movq %r13, %rdx
movl $0x15, %r9d
callq 0x1520d
movq 0x5298(%rbx), %r8
leaq 0x6923d(%rip), %rcx     # 0x72497
movq %r14, %rdi
movq %r12, %rsi
movq %r13, %rdx
movl $0x16, %r9d
callq 0x1520d
movq 0x5298(%rbx), %r8
leaq 0x69220(%rip), %rcx     # 0x7249c
movq %r14, %rdi
movq %r12, %rsi
movq %r13, %rdx
movl $0x1b, %r9d
callq 0x1520d
movq 0x5298(%rbx), %r8
leaq 0x69203(%rip), %rcx     # 0x724a1
movq %r14, %rdi
movq %r12, %rsi
movq %r13, %rdx
movl $0x1c, %r9d
callq 0x1520d
movq 0x5298(%rbx), %r8
leaq 0x691e8(%rip), %rcx     # 0x724a8
movq %r14, %rdi
movq %r12, %rsi
movq %r13, %rdx
movl $0x1d, %r9d
callq 0x1520d
movq 0x5298(%rbx), %r8
leaq 0x691cd(%rip), %rcx     # 0x724af
movq %r14, %rdi
movq %r12, %rsi
movq %r13, %rdx
movl $0x1e, %r9d
callq 0x1520d
movq 0x5298(%rbx), %r8
leaq 0x691b2(%rip), %rcx     # 0x724b6
movq %r14, %rdi
movq %r12, %rsi
movq %r13, %rdx
movl $0x1f, %r9d
callq 0x1520d
movq 0x5218(%rbx), %r8
leaq 0x69196(%rip), %rcx     # 0x724bc
movq %r14, %rdi
movq %r12, %rsi
movq %r13, %rdx
movl $0x20, %r9d
callq 0x1520d
movq 0x5240(%rbx), %r8
leaq 0x6cf38(%rip), %rcx     # 0x76280
movq %r14, %rdi
movq %r12, %rsi
movq %r13, %rdx
movl $0x22, %r9d
callq 0x1520d
movq 0x5240(%rbx), %r8
leaq 0x69157(%rip), %rcx     # 0x724c1
movq %r14, %rdi
movq %r12, %rsi
movq %r13, %rdx
movl $0x23, %r9d
callq 0x1520d
movq 0x5240(%rbx), %r8
leaq 0x69139(%rip), %rcx     # 0x724c5
movq %r14, %rdi
movq %r12, %rsi
movq %r13, %rdx
movl $0x24, %r9d
callq 0x1520d
movq 0x5240(%rbx), %r8
leaq 0x6911e(%rip), %rcx     # 0x724cc
movq %r14, %rdi
movq %r12, %rsi
movq %r13, %rdx
movl $0x25, %r9d
callq 0x1520d
movq 0x5298(%rbx), %r8
leaq 0x69107(%rip), %rcx     # 0x724d7
movq %r14, %rdi
movq %r12, %rsi
movq %r13, %rdx
movl $0x26, %r9d
callq 0x1520d
movq 0x5268(%rbx), %r8
leaq 0x690ed(%rip), %rcx     # 0x724df
movq %r14, %rdi
movq %r12, %rsi
movq %r13, %rdx
movl $0x27, %r9d
callq 0x1520d
movq 0x5268(%rbx), %r8
leaq 0x690d6(%rip), %rcx     # 0x724ea
movq %r14, %rdi
movq %r12, %rsi
movq %r13, %rdx
movl $0x28, %r9d
callq 0x1520d
movq 0x5298(%rbx), %r8
leaq 0x690bf(%rip), %rcx     # 0x724f5
movq %r14, %rdi
movq %r12, %rsi
movq %r13, %rdx
movl $0x29, %r9d
callq 0x1520d
movq 0x5268(%rbx), %r8
leaq 0x690a5(%rip), %rcx     # 0x724fd
movq %r14, %rdi
movq %r12, %rsi
movq %r13, %rdx
movl $0x2a, %r9d
callq 0x1520d
movq 0x5268(%rbx), %r8
leaq 0x69089(%rip), %rcx     # 0x72503
movq %r14, %rdi
movq %r12, %rsi
movq %r13, %rdx
movl $0x2b, %r9d
callq 0x1520d
movq 0x5298(%rbx), %r8
leaq 0x71ef3(%rip), %rcx     # 0x7b38f
movq %r14, %rdi
movq %r12, %rsi
movq %r13, %rdx
movl $0x2c, %r9d
callq 0x1520d
movq 0x5218(%rbx), %r8
leaq 0x6904e(%rip), %rcx     # 0x7250c
movq %r14, %rdi
movq %r12, %rsi
movq %r13, %rdx
movl $0x2d, %r9d
callq 0x1520d
movq 0x5240(%rbx), %r8
leaq 0x69033(%rip), %rcx     # 0x72513
movq %r14, %rdi
movq %r12, %rsi
movq %r13, %rdx
movl $0x2e, %r9d
callq 0x1520d
movq 0x5218(%rbx), %r8
leaq 0x6901a(%rip), %rcx     # 0x7251c
movq %r14, %rdi
movq %r12, %rsi
movq %r13, %rdx
movl $0x2f, %r9d
callq 0x1520d
leaq 0x69004(%rip), %rsi     # 0x72521
leaq 0xd288(%rip), %rdx      # 0x167ac
movq 0x68(%rsp), %r14
movq %r14, %rdi
movl $0x1, %ecx
callq 0x8640
leaq 0x68fee(%rip), %rsi     # 0x7252b
leaq 0xd2aa(%rip), %rdx      # 0x167ee
movq %r14, %rdi
movl $0x1, %ecx
callq 0x8640
leaq 0x68fdc(%rip), %rsi     # 0x72534
leaq 0xd2a4(%rip), %rdx      # 0x16803
movq %r14, %rdi
movl $0x1, %ecx
callq 0x8640
leaq 0x68fcb(%rip), %rsi     # 0x7253e
leaq 0xd29e(%rip), %rdx      # 0x16818
movq %r14, %rdi
movl $0x1, %ecx
callq 0x8640
leaq 0xd2e3(%rip), %rdx      # 0x16871
cmpb $0x0, 0x30(%rsp)
cmovneq 0x7d9fd(%rip), %rdx     # 0x86f98
leaq 0x68fa6(%rip), %rsi     # 0x72548
leaq 0xd308(%rip), %r12      # 0x168b1
cmovneq 0x7da1f(%rip), %r12     # 0x86fd0
leaq 0xd37a(%rip), %rbp      # 0x16932
cmovneq 0x7da00(%rip), %rbp     # 0x86fc0
leaq 0xd3ec(%rip), %rax      # 0x169b3
cmovneq 0x7d9d9(%rip), %rax     # 0x86fa8
movq %rax, 0x60(%rsp)
leaq 0xd454(%rip), %rax      # 0x16a2f
cmovneq 0x7d9ad(%rip), %rax     # 0x86f90
movq %rax, 0x8(%rsp)
leaq 0xd480(%rip), %rax      # 0x16a6f
cmovneq 0x7d9b9(%rip), %rax     # 0x86fb0
movq %rax, 0x10(%rsp)
leaq 0xd4ac(%rip), %rax      # 0x16aaf
cmovneq 0x7d9ad(%rip), %rax     # 0x86fb8
movq %rax, 0x18(%rsp)
leaq 0xd4d8(%rip), %rax      # 0x16aef
cmovneq 0x7d9c1(%rip), %rax     # 0x86fe0
movq %rax, 0x20(%rsp)
leaq 0xd737(%rip), %rax      # 0x16d62
cmovneq 0x7d9a5(%rip), %rax     # 0x86fd8
movq %rax, 0x28(%rsp)
leaq 0xd763(%rip), %rax      # 0x16da2
cmovneq 0x7d9a9(%rip), %rax     # 0x86ff0
movq %rax, 0x30(%rsp)
movq %r14, %rdi
movl $0x1, %ecx
callq 0x8640
movq %r14, %rdi
leaq 0x68eee(%rip), %rsi     # 0x72551
movq %r12, %rdx
movl $0x1, %ecx
callq 0x8640
movq %r14, %rdi
leaq 0x68ee1(%rip), %rsi     # 0x7255b
movq %rbp, %rdx
movl $0x1, %ecx
callq 0x8640
movq %r14, %rdi
leaq 0x68ed3(%rip), %rsi     # 0x72564
movq 0x60(%rsp), %rdx
movl $0x1, %ecx
callq 0x8640
movq %r14, %rdi
leaq 0x68ec4(%rip), %rsi     # 0x7256e
movq 0x8(%rsp), %rdx
movl $0x1, %ecx
callq 0x8640
movq %r14, %rdi
leaq 0x68eb4(%rip), %rsi     # 0x72577
movq 0x10(%rsp), %rdx
movl $0x1, %ecx
callq 0x8640
movq %r14, %rdi
leaq 0x68ea4(%rip), %rsi     # 0x72580
movq 0x18(%rsp), %rdx
movl $0x1, %ecx
callq 0x8640
movq %r14, %rdi
leaq 0x68e95(%rip), %rsi     # 0x7258a
movq 0x20(%rsp), %rdx
movl $0x1, %ecx
callq 0x8640
movq %r14, %rdi
leaq 0x68e84(%rip), %rsi     # 0x72592
leaq 0xd3e9(%rip), %rdx      # 0x16afe
movl $0x1, %ecx
callq 0x8640
movq %r14, %rdi
leaq 0x68e73(%rip), %rsi     # 0x7259c
leaq 0xd3ff(%rip), %rdx      # 0x16b2f
movl $0x1, %ecx
callq 0x8640
movq %r14, %rdi
leaq 0x68e60(%rip), %rsi     # 0x725a4
leaq 0xd40d(%rip), %rdx      # 0x16b58
movl $0x1, %ecx
callq 0x8640
movq %r14, %rdi
leaq 0x68e4e(%rip), %rsi     # 0x725ad
leaq 0xd44c(%rip), %rdx      # 0x16bb2
movl $0x1, %ecx
callq 0x8640
movq %r14, %rdi
leaq 0x68e40(%rip), %rsi     # 0x725ba
leaq 0xd4ec(%rip), %rdx      # 0x16c6d
movl $0x1, %ecx
callq 0x8640
movq %r14, %rdi
leaq 0x68e2f(%rip), %rsi     # 0x725c4
leaq 0xd51d(%rip), %rdx      # 0x16cb9
movl $0x1, %ecx
callq 0x8640
movq %r14, %rdi
leaq 0x68e1e(%rip), %rsi     # 0x725ce
movq 0x28(%rsp), %rdx
movl $0x1, %ecx
callq 0x8640
leaq 0x68e12(%rip), %rsi     # 0x725d8
movq %r14, %rdi
movq 0x30(%rsp), %rdx
movl $0x1, %ecx
callq 0x8640
leaq 0x68e03(%rip), %rsi     # 0x725e2
leaq 0xd5cb(%rip), %rdx      # 0x16db1
movq %r14, %rdi
movl $0x1, %ecx
callq 0x8640
movq %r15, %rdi
movq %r15, %r14
movq %r13, %rsi
movl $0x12, %edx
callq 0x19a70
movq 0x5288(%rbx), %rcx
movq %rcx, 0x8(%rax)
cmpl $0x12, (%rax)
jne 0x9838
movl 0x52b8(%rbx), %edx
movl %edx, 0x10(%rax)
imull 0xc0(%rcx), %edx
movl %edx, 0xc0(%rax)
movl 0xc4(%rcx), %ecx
movl %ecx, 0xc4(%rax)
movl $0x1, (%rsp)
leaq 0x68b7b(%rip), %r8      # 0x723c1
movq 0x50(%rsp), %rdi
movq %r14, %rsi
movq 0x48(%rsp), %rdx
movq %rdx, %r12
movq %r13, %rcx
movq %rax, %r9
callq 0x152ff
cmpl $0x0, 0x52b8(%rbx)
movq 0x40(%rsp), %r13
jle 0x98ba
movq 0x120(%rax), %r14
xorl %r15d, %r15d
movq 0x52c0(%rbx), %rax
movq (%rax,%r15,8), %rdi
callq 0x3130
movq %r13, %rdi
movq %rax, %rsi
callq 0x7b1c
movq %rax, (%r14,%r15,8)
movq 0x52c0(%rbx), %rcx
movq (%rcx,%r15,8), %rsi
movq %rax, %rdi
callq 0x30a0
incq %r15
movslq 0x52b8(%rbx), %rax
cmpq %rax, %r15
jl 0x9879
leaq 0x7cfcf(%rip), %r13     # 0x86890
xorl %ebp, %ebp
leaq 0x70(%rsp), %rbx
movq %r12, %r15
movq 0x38(%rsp), %r14
movl $0x100, %edx            # imm = 0x100
movq %rbx, %rdi
xorl %esi, %esi
callq 0x3190
movq (%r13), %r12
movq %r15, %rdi
movq %r12, %rsi
movq %r14, %rdx
movq %rbx, %rcx
movl $0x100, %r8d            # imm = 0x100
callq 0x849a
movq %r12, %rdi
leaq 0x68ac5(%rip), %rsi     # 0x723c9
callq 0x3210
xorl %ecx, %ecx
testl %eax, %eax
sete %cl
leaq 0x6c2c1(%rip), %rax     # 0x75bd8
movslq (%rbp,%rax), %rdx
addq %rax, %rdx
movq %r15, %rdi
movq %rbx, %rsi
callq 0x81dc
addq $0x4, %rbp
addq $0x8, %r13
cmpq $0x10, %rbp
jne 0x98d0
addq $0x278, %rsp            # imm = 0x278
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq