LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O3/msteveb[P]autosetup/./jimsh0.c
// Function: Jim_CdCmd
static int Jim_CdCmd(Jim_Interp *interp, int argc, Jim_Obj *const *argv)
{
    const char *path;

    if (argc != 2) {
        Jim_WrongNumArgs(interp, 1, argv, "dirname");
        return JIM_ERR;
    }

    path = Jim_String(argv[1]);

    if (chdir(path) != 0) {
        Jim_SetResultFormatted(interp, "couldn't change working directory to \"%s\": %s", path,
            strerror(errno));
        return JIM_ERR;
    }
    return JIM_OK;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
cmpl $0x2, %esi
jne 0x9cb7
movq 0x8(%rdx), %r15
movq (%r15), %r14
testq %r14, %r14
jne 0x9c80
movq 0x8(%r15), %rax
movq %r15, %rdi
callq *0x18(%rax)
movq (%r15), %r14
movq %r14, %rdi
callq 0x6190
testl %eax, %eax
je 0x9cd3
callq 0x6080
movl (%rax), %edi
callq 0x64b0
leaq 0x21b7f(%rip), %rsi     # 0x2b81e
movq %rbx, %rdi
movq %r14, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq 0x6923
movl $0x1, %r14d
jmp 0x9cd6
leaq 0x2198c(%rip), %rcx     # 0x2b64a
movl $0x1, %r14d
movq %rbx, %rdi
movl $0x1, %esi
callq 0x7446
jmp 0x9cd6
xorl %r14d, %r14d
movl %r14d, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/msteveb[P]autosetup/./jimsh0.c
// Function: Jim_execInit
int Jim_execInit(Jim_Interp *interp)
{
    struct WaitInfoTable *waitinfo;

    Jim_PackageProvideCheck(interp, "exec");

    waitinfo = JimAllocWaitInfoTable();
    Jim_CreateCommand(interp, "exec", Jim_ExecCmd, waitinfo, JimFreeWaitInfoTable);
    waitinfo->refcount++;
    Jim_CreateCommand(interp, "wait", Jim_WaitCommand, waitinfo, JimFreeWaitInfoTable);
    Jim_CreateCommand(interp, "pid", Jim_PidCommand, 0, 0);

    return JIM_OK;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movl $0x18, %esi
xorl %edi, %edi
callq *0x2d58a(%rip)          # 0x37288
movq %rax, %r14
xorps %xmm0, %xmm0
movups %xmm0, (%rax)
movl $0x1, 0x10(%rax)
leaq 0x21c27(%rip), %rsi     # 0x2b93c
movq %rbx, %rdi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x7508
leaq 0x80(%rip), %rdx        # 0x9da9
leaq 0x40f(%rip), %r15       # 0xa13f
movq %rbx, %rdi
movq %rax, %rsi
movq %r14, %rcx
movq %r15, %r8
callq 0xbec5
incl 0x10(%r14)
leaq 0x20e50(%rip), %rsi     # 0x2ab9c
movq %rbx, %rdi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x7508
leaq 0x40d(%rip), %rdx       # 0xa16d
movq %rbx, %rdi
movq %rax, %rsi
movq %r14, %rcx
movq %r15, %r8
callq 0xbec5
leaq 0x20e29(%rip), %rsi     # 0x2aba1
movq %rbx, %rdi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x7508
leaq 0x5aa(%rip), %rdx       # 0xa336
movq %rbx, %rdi
movq %rax, %rsi
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0xbec5
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/msteveb[P]autosetup/./jimsh0.c
// Function: Jim_PidCommand
static int Jim_PidCommand(Jim_Interp *interp, int argc, Jim_Obj *const *argv)
{
    if (argc != 1) {
        Jim_WrongNumArgs(interp, 1, argv, "");
        return JIM_ERR;
    }

    Jim_SetResultInt(interp, (jim_wide)getpid());
    return JIM_OK;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
cmpl $0x1, %esi
jne 0xa396
callq 0x6140
movslq %eax, %r15
movq %rbx, %rdi
callq 0xae38
movq %rax, %r14
leaq 0x2af8e(%rip), %rax     # 0x352f0
movq %rax, 0x8(%r14)
movq $0x0, (%r14)
movq %r15, 0x18(%r14)
incl 0x10(%r14)
movq (%rbx), %rsi
movl 0x10(%rsi), %eax
leal -0x1(%rax), %ecx
movl %ecx, 0x10(%rsi)
cmpl $0x1, %eax
jg 0xa38e
movq %rbx, %rdi
callq 0x758c
movq %r14, (%rbx)
xorl %r14d, %r14d
jmp 0xa3b0
leaq 0x23254(%rip), %rcx     # 0x2d5f1
movl $0x1, %r14d
movq %rbx, %rdi
movl $0x1, %esi
callq 0x7446
movl %r14d, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/msteveb[P]autosetup/./jimsh0.c
// Function: Jim_InitStaticExtensions
int Jim_InitStaticExtensions(Jim_Interp *interp)
{
extern int Jim_bootstrapInit(Jim_Interp *);
extern int Jim_aioInit(Jim_Interp *);
extern int Jim_readdirInit(Jim_Interp *);
extern int Jim_regexpInit(Jim_Interp *);
extern int Jim_fileInit(Jim_Interp *);
extern int Jim_globInit(Jim_Interp *);
extern int Jim_execInit(Jim_Interp *);
extern int Jim_clockInit(Jim_Interp *);
extern int Jim_arrayInit(Jim_Interp *);
extern int Jim_stdlibInit(Jim_Interp *);
extern int Jim_tclcompatInit(Jim_Interp *);
Jim_bootstrapInit(interp);
Jim_aioInit(interp);
Jim_readdirInit(interp);
Jim_regexpInit(interp);
Jim_fileInit(interp);
Jim_globInit(interp);
Jim_execInit(interp);
Jim_clockInit(interp);
Jim_arrayInit(interp);
Jim_stdlibInit(interp);
Jim_tclcompatInit(interp);
return JIM_OK;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
leaq 0x1d363(%rip), %rsi     # 0x277b0
leaq 0x1d36a(%rip), %rcx     # 0x277be
movl $0x1, %edx
callq 0x6661
movq %rbx, %rdi
callq 0x6baa
leaq 0x205a4(%rip), %rsi     # 0x2aa11
movq %rbx, %rdi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x7508
leaq -0x324d(%rip), %rdx     # 0x7234
movq %rbx, %rdi
movq %rax, %rsi
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0xbec5
movq %rbx, %rdi
callq 0x95aa
movq %rbx, %rdi
callq 0x9ad1
leaq 0x1e026(%rip), %rsi     # 0x284ce
leaq 0x1e028(%rip), %rcx     # 0x284d7
movq %rbx, %rdi
movl $0x1, %edx
callq 0x6661
movq %rbx, %rdi
callq 0x9ce4
leaq 0x206da(%rip), %rsi     # 0x2aba5
movq %rbx, %rdi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x7508
leaq -0x979(%rip), %r14      # 0x9b66
leaq 0x2ab1a(%rip), %rcx     # 0x35000
movq %rbx, %rdi
movq %rax, %rsi
movq %r14, %rdx
xorl %r8d, %r8d
callq 0xbec5
leaq 0x21609(%rip), %rsi     # 0x2bb07
movq %rbx, %rdi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x7508
leaq 0x2abae(%rip), %rcx     # 0x350c0
movq %rbx, %rdi
movq %rax, %rsi
movq %r14, %rdx
xorl %r8d, %r8d
callq 0xbec5
leaq 0x1ecdf(%rip), %rsi     # 0x29209
leaq 0x1ece3(%rip), %rcx     # 0x29214
movq %rbx, %rdi
movl $0x1, %edx
callq 0x6661
leaq 0x1f80a(%rip), %rsi     # 0x29d4f
leaq 0x1f811(%rip), %rcx     # 0x29d5d
movq %rbx, %rdi
movl $0x1, %edx
callq 0x6661
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/msteveb[P]autosetup/./jimsh0.c
// Function: Jim_StringToWide
int Jim_StringToWide(const char *str, jim_wide * widePtr, int base)
{
    char *endptr;

    if (base) {
        *widePtr = strtoull(str, &endptr, base);
    }
    else {
        *widePtr = jim_strtoull(str, &endptr);
    }

    return JimCheckConversion(str, endptr);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq -0x18(%rbp), %rsi
testl %edx, %edx
je 0xa580
callq 0x6460
jmp 0xa585
callq 0xd4a0
movq %rax, (%r14)
movq -0x18(%rbp), %rsi
movq %rbx, %rdi
callq 0xa59d
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/msteveb[P]autosetup/./jimsh0.c
// Function: JimCheckConversion
static int JimCheckConversion(const char *str, const char *endptr)
{
    if (str[0] == '\0' || str == endptr) {
        return JIM_ERR;
    }

    if (endptr[0] != '\0') {
        while (*endptr) {
            if (!isspace(UCHAR(*endptr))) {
                return JIM_ERR;
            }
            endptr++;
        }
    }
    return JIM_OK;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl $0x1, %ebx
cmpq %rsi, %rdi
je 0xa5e4
cmpb $0x0, (%rdi)
je 0xa5e4
movq %rsi, %r14
movb (%rsi), %r15b
testb %r15b, %r15b
je 0xa5e2
callq 0x64e0
movq (%rax), %rax
incq %r14
movzbl %r15b, %ecx
testb $0x20, 0x1(%rax,%rcx,2)
je 0xa5e4
movb (%r14), %r15b
incq %r14
testb %r15b, %r15b
jne 0xa5cc
xorl %ebx, %ebx
movl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/msteveb[P]autosetup/./jimsh0.c
// Function: JimDefaultAllocator
void *JimDefaultAllocator(void *ptr, size_t size)
{
    if (size == 0) {
        free(ptr);
        return NULL;
    }
    else if (ptr) {
        return realloc(ptr, size);
    }
    else {
        return malloc(size);
    }
}

// Assembly:
testq %rsi, %rsi
je 0xa64a
testq %rdi, %rdi
jne 0x63b0
movq %rsi, %rdi
jmp 0x6360
pushq %rbp
movq %rsp, %rbp
callq 0x6040
xorl %eax, %eax
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/msteveb[P]autosetup/./jimsh0.c
// Function: Jim_GenHashFunction
unsigned int Jim_GenHashFunction(const unsigned char *string, int length)
{
    unsigned result = 0;
    string += length;
    while (length--) {
        result += (result << 3) + (unsigned char)(*--string);
    }
    return result;
}

// Assembly:
testl %esi, %esi
je 0xa762
pushq %rbp
movq %rsp, %rbp
movslq %esi, %rax
leaq (%rax,%rdi), %rcx
decq %rcx
xorl %eax, %eax
movzbl (%rcx), %edx
leal (%rax,%rax,8), %eax
addl %edx, %eax
decq %rcx
decl %esi
jne 0xa751
popq %rbp
retq
xorl %eax, %eax
retq
// File: /workspace/github_c_makefile_star2_O3/msteveb[P]autosetup/./jimsh0.c
// Function: Jim_ExpandHashTable
void Jim_ExpandHashTable(Jim_HashTable *ht, unsigned int size)
{
    Jim_HashTable n;
    unsigned int realsize = JimHashTableNextPower(size), i;

     if (size <= ht->used)
        return;

    Jim_InitHashTable(&n, ht->type, ht->privdata);
    n.size = realsize;
    n.sizemask = realsize - 1;
    n.table = Jim_Alloc(realsize * sizeof(Jim_HashEntry *));

    n.uniq = ht->uniq;


    memset(n.table, 0, realsize * sizeof(Jim_HashEntry *));

    n.used = ht->used;
    for (i = 0; ht->used > 0; i++) {
        Jim_HashEntry *he, *nextHe;

        if (ht->table[i] == NULL)
            continue;


        he = ht->table[i];
        while (he) {
            unsigned int h;

            nextHe = he->next;

            h = Jim_HashKey(ht, he->key) & n.sizemask;
            he->next = n.table[h];
            n.table[h] = he;
            ht->used--;

            he = nextHe;
        }
    }
    assert(ht->used == 0);
    Jim_Free(ht->table);


    *ht = n;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
testl %esi, %esi
js 0xa7b2
movl $0x10, %eax
movl %eax, %ecx
leal (%rcx,%rcx), %eax
cmpl %esi, %ecx
jb 0xa7a7
jmp 0xa7b7
movl $0x80000000, %ecx       # imm = 0x80000000
cmpl %esi, 0x20(%rbx)
jae 0xa899
movq 0x8(%rbx), %rax
movq %rax, -0x40(%rbp)
movq 0x10(%rbx), %rax
movq %rax, -0x38(%rbp)
leal -0x1(%rcx), %r13d
movq %rcx, -0x48(%rbp)
movl %ecx, %r12d
shlq $0x3, %r12
xorl %r15d, %r15d
xorl %edi, %edi
movq %r12, %rsi
callq *0x2ca9b(%rip)          # 0x37288
movq %rax, %r14
movl 0x28(%rbx), %eax
movl %eax, -0x30(%rbp)
movq %r14, %rdi
xorl %esi, %esi
movq %r12, %rdx
callq 0x6240
movl 0x20(%rbx), %eax
movl %eax, -0x2c(%rbp)
testl %eax, %eax
je 0xa85d
movl -0x2c(%rbp), %eax
movq (%rbx), %rcx
movq %r15, -0x50(%rbp)
movl %r15d, %edx
movq (%rcx,%rdx,8), %r15
testq %r15, %r15
je 0xa852
movq (%r15), %rdi
movq 0x10(%r15), %r12
movq 0x8(%rbx), %rax
callq *(%rax)
addl 0x28(%rbx), %eax
andl %r13d, %eax
movq (%r14,%rax,8), %rcx
movq %rcx, 0x10(%r15)
movq %r15, (%r14,%rax,8)
movl 0x20(%rbx), %eax
decl %eax
movl %eax, 0x20(%rbx)
movq %r12, %r15
testq %r12, %r12
jne 0xa823
movq -0x50(%rbp), %r15
incl %r15d
testl %eax, %eax
jne 0xa810
movq (%rbx), %rdi
xorl %esi, %esi
callq *0x2ca20(%rip)          # 0x37288
movq %r14, (%rbx)
movq -0x40(%rbp), %rax
movq %rax, 0x8(%rbx)
movq -0x38(%rbp), %rax
movq %rax, 0x10(%rbx)
movq -0x48(%rbp), %rax
movl %eax, 0x18(%rbx)
movl %r13d, 0x1c(%rbx)
movl -0x2c(%rbp), %eax
movl %eax, 0x20(%rbx)
movl $0x0, 0x24(%rbx)
movl -0x30(%rbp), %eax
movl %eax, 0x28(%rbx)
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/msteveb[P]autosetup/./jimsh0.c
// Function: Jim_AddHashEntry
int Jim_AddHashEntry(Jim_HashTable *ht, const void *key, void *val)
{
    Jim_HashEntry *entry = JimInsertHashEntry(ht, key, 0);;
    if (entry == NULL)
        return JIM_ERR;


    Jim_SetHashKey(ht, entry, key);
    Jim_SetHashVal(ht, entry, val);
    return JIM_OK;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rdx, %rbx
movq %rsi, %r12
movq %rdi, %r15
xorl %edx, %edx
callq 0xa916
testq %rax, %rax
je 0xa908
movq %rax, %r14
movq 0x8(%r15), %rax
movq 0x8(%rax), %rcx
testq %rcx, %rcx
je 0xa8e8
movq 0x10(%r15), %rdi
movq %r12, %rsi
callq *%rcx
movq %rax, %r12
movq 0x8(%r15), %rax
movq %r12, (%r14)
movq 0x10(%rax), %rax
testq %rax, %rax
je 0xa900
movq 0x10(%r15), %rdi
movq %rbx, %rsi
callq *%rax
movq %rax, %rbx
movq %rbx, 0x8(%r14)
xorl %eax, %eax
jmp 0xa90d
movl $0x1, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/msteveb[P]autosetup/./jimsh0.c
// Function: JimInsertHashEntry
static Jim_HashEntry *JimInsertHashEntry(Jim_HashTable *ht, const void *key, int replace)
{
    unsigned int h;
    Jim_HashEntry *he;


    JimExpandHashTableIfNeeded(ht);


    h = Jim_HashKey(ht, key) & ht->sizemask;

    he = ht->table[h];
    while (he) {
        if (Jim_CompareHashKeys(ht, key, he->key))
            return replace ? he : NULL;
        he = he->next;
    }


    he = Jim_Alloc(sizeof(*he));
    he->next = ht->table[h];
    ht->table[h] = he;
    ht->used++;
    he->key = NULL;

    return he;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %edx, %r14d
movq %rsi, %r15
movq %rdi, %rbx
movl 0x18(%rdi), %esi
testl %esi, %esi
jne 0xa944
movq %rbx, %rdi
movl $0x10, %esi
callq 0xa78a
movl 0x18(%rbx), %esi
cmpl 0x20(%rbx), %esi
jne 0xa953
addl %esi, %esi
movq %rbx, %rdi
callq 0xa78a
movq 0x8(%rbx), %rax
movq %r15, %rdi
callq *(%rax)
movl %eax, %r12d
addl 0x28(%rbx), %r12d
andl 0x1c(%rbx), %r12d
movq (%rbx), %rax
movq (%rax,%r12,8), %r13
testq %r13, %r13
je 0xa99f
movq 0x8(%rbx), %rax
movq 0x18(%rax), %rax
testq %rax, %rax
je 0xa993
movq 0x10(%rbx), %rdi
movq (%r13), %rdx
movq %r15, %rsi
callq *%rax
testl %eax, %eax
je 0xa999
jmp 0xa9cb
cmpq %r15, (%r13)
je 0xa9cb
movq 0x10(%r13), %r13
jmp 0xa96e
movl $0x18, %esi
xorl %edi, %edi
callq *0x2c8dc(%rip)          # 0x37288
movq %rax, %r13
movq (%rbx), %rax
movq (%rax,%r12,8), %rcx
movq %rcx, 0x10(%r13)
movq %r13, (%rax,%r12,8)
incl 0x20(%rbx)
movq $0x0, (%r13)
jmp 0xa9d4
xorl %eax, %eax
testl %r14d, %r14d
cmoveq %rax, %r13
movq %r13, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/msteveb[P]autosetup/./jimsh0.c
// Function: Jim_ReplaceHashEntry
int Jim_ReplaceHashEntry(Jim_HashTable *ht, const void *key, void *val)
{
    int existed;
    Jim_HashEntry *entry;

    entry = JimInsertHashEntry(ht, key, 1);
    if (entry->key) {
        if (ht->type->valDestructor && ht->type->valDup) {
            void *newval = ht->type->valDup(ht->privdata, val);
            ht->type->valDestructor(ht->privdata, entry->u.val);
            entry->u.val = newval;
        }
        else {
            Jim_FreeEntryVal(ht, entry);
            Jim_SetHashVal(ht, entry, val);
        }
        existed = 1;
    }
    else {

        Jim_SetHashKey(ht, entry, key);
        Jim_SetHashVal(ht, entry, val);
        existed = 0;
    }

    return existed;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rdx, %r14
movq %rsi, %r12
movq %rdi, %r15
movl $0x1, %edx
callq 0xa916
movq %rax, %rbx
cmpq $0x0, (%rax)
movq 0x8(%r15), %rax
je 0xaa40
movq 0x28(%rax), %rcx
testq %rcx, %rcx
je 0xaa7e
movq 0x10(%rax), %rax
movq 0x10(%r15), %rdi
testq %rax, %rax
je 0xaa74
movq %r14, %rsi
callq *%rax
movq %rax, %r14
movq 0x8(%r15), %rax
movq 0x10(%r15), %rdi
movq 0x8(%rbx), %rsi
callq *0x28(%rax)
jmp 0xaa96
movq 0x8(%rax), %rcx
testq %rcx, %rcx
je 0xaa59
movq 0x10(%r15), %rdi
movq %r12, %rsi
callq *%rcx
movq %rax, %r12
movq 0x8(%r15), %rax
movq %r12, (%rbx)
movq 0x10(%rax), %rax
testq %rax, %rax
je 0xaaa1
movq 0x10(%r15), %rdi
movq %r14, %rsi
callq *%rax
movq %rax, 0x8(%rbx)
jmp 0xaaa5
movq 0x8(%rbx), %rsi
callq *%rcx
movq 0x8(%r15), %rax
movq 0x10(%rax), %rax
testq %rax, %rax
je 0xaa96
movq 0x10(%r15), %rdi
movq %r14, %rsi
callq *%rax
movq %rax, 0x8(%rbx)
jmp 0xaa9a
movq %r14, 0x8(%rbx)
movl $0x1, %eax
jmp 0xaaa7
movq %r14, 0x8(%rbx)
xorl %eax, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/msteveb[P]autosetup/./jimsh0.c
// Function: Jim_DeleteHashEntry
int Jim_DeleteHashEntry(Jim_HashTable *ht, const void *key)
{
    if (ht->used) {
        unsigned int h = Jim_HashKey(ht, key) & ht->sizemask;
        Jim_HashEntry *prevHe = NULL;
        Jim_HashEntry *he = ht->table[h];

        while (he) {
            if (Jim_CompareHashKeys(ht, key, he->key)) {

                if (prevHe)
                    prevHe->next = he->next;
                else
                    ht->table[h] = he->next;
                ht->used--;
                Jim_FreeEntryKey(ht, he);
                Jim_FreeEntryVal(ht, he);
                Jim_Free(he);
                return JIM_OK;
            }
            prevHe = he;
            he = he->next;
        }
    }

    return JIM_ERR;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl $0x1, %r14d
cmpl $0x0, 0x20(%rdi)
je 0xab90
movq %rsi, %r13
movq %rdi, %rbx
movq 0x8(%rdi), %rax
movq %rsi, %rdi
callq *(%rax)
movl %eax, %r12d
addl 0x28(%rbx), %r12d
andl 0x1c(%rbx), %r12d
movq (%rbx), %rax
movq (%rax,%r12,8), %rax
testq %rax, %rax
je 0xab90
xorl %r14d, %r14d
movq %rax, %r15
movq 0x8(%rbx), %rax
movq 0x18(%rax), %rax
testq %rax, %rax
je 0xab1d
movq 0x10(%rbx), %rdi
movq (%r15), %rdx
movq %r13, %rsi
callq *%rax
testl %eax, %eax
je 0xab22
jmp 0xab36
cmpq %r13, (%r15)
je 0xab36
movq 0x10(%r15), %rax
movq %r15, %r14
testq %rax, %rax
jne 0xaafb
movl $0x1, %r14d
jmp 0xab90
movq 0x10(%r15), %rax
testq %r14, %r14
je 0xab45
addq $0x10, %r14
jmp 0xab4f
shlq $0x3, %r12
addq (%rbx), %r12
movq %r12, %r14
movq %rax, (%r14)
decl 0x20(%rbx)
movq 0x8(%rbx), %rcx
movq 0x20(%rcx), %rax
testq %rax, %rax
je 0xab6f
movq 0x10(%rbx), %rdi
movq (%r15), %rsi
callq *%rax
movq 0x8(%rbx), %rcx
movq 0x28(%rcx), %rax
testq %rax, %rax
je 0xab82
movq 0x10(%rbx), %rdi
movq 0x8(%r15), %rsi
callq *%rax
xorl %r14d, %r14d
movq %r15, %rdi
xorl %esi, %esi
callq *0x2c6f8(%rip)          # 0x37288
movl %r14d, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/msteveb[P]autosetup/./jimsh0.c
// Function: Jim_ClearHashTable
void Jim_ClearHashTable(Jim_HashTable *ht)
{
    unsigned int i;


    for (i = 0; ht->used > 0; i++) {
        Jim_HashEntry *he, *nextHe;

        he = ht->table[i];
        while (he) {
            nextHe = he->next;
            Jim_FreeEntryKey(ht, he);
            Jim_FreeEntryVal(ht, he);
            Jim_Free(he);
            ht->used--;
            he = nextHe;
        }
        ht->table[i] = NULL;
    }
}

// Assembly:
movl 0x20(%rdi), %eax
testl %eax, %eax
je 0xac33
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rdi, %rbx
xorl %edx, %edx
movq (%rbx), %rcx
movl %edx, %r15d
movq (%rcx,%r15,8), %r14
testq %r14, %r14
je 0xac1b
movq 0x10(%r14), %r12
movq 0x8(%rbx), %rcx
movq 0x20(%rcx), %rax
testq %rax, %rax
je 0xabea
movq 0x10(%rbx), %rdi
movq (%r14), %rsi
callq *%rax
movq 0x8(%rbx), %rcx
movq 0x28(%rcx), %rax
testq %rax, %rax
je 0xabfd
movq 0x10(%rbx), %rdi
movq 0x8(%r14), %rsi
callq *%rax
movq %r14, %rdi
xorl %esi, %esi
callq *0x2c680(%rip)          # 0x37288
movl 0x20(%rbx), %eax
decl %eax
movl %eax, 0x20(%rbx)
movq %r12, %r14
testq %r12, %r12
jne 0xabcc
movq (%rbx), %rcx
movq $0x0, (%rcx,%r15,8)
leal 0x1(%r15), %edx
testl %eax, %eax
jne 0xabbd
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/msteveb[P]autosetup/./jimsh0.c
// Function: Jim_FreeHashTable
int Jim_FreeHashTable(Jim_HashTable *ht)
{
    Jim_ClearHashTable(ht);

    Jim_Free(ht->table);

    JimResetHashTable(ht);
    return JIM_OK;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
callq 0xaba2
movq (%rbx), %rdi
xorl %esi, %esi
callq *0x2c63b(%rip)          # 0x37288
movq $0x0, (%rbx)
xorps %xmm0, %xmm0
movups %xmm0, 0x18(%rbx)
movl $0x0, 0x28(%rbx)
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/msteveb[P]autosetup/./jimsh0.c
// Function: Jim_FindHashEntry
Jim_HashEntry *Jim_FindHashEntry(Jim_HashTable *ht, const void *key)
{
    Jim_HashEntry *he;
    unsigned int h;

    if (ht->used == 0)
        return NULL;
    h = Jim_HashKey(ht, key) & ht->sizemask;
    he = ht->table[h];
    while (he) {
        if (Jim_CompareHashKeys(ht, key, he->key))
            return he;
        he = he->next;
    }
    return NULL;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
cmpl $0x0, 0x20(%rdi)
je 0xacc8
movq %rsi, %rbx
movq %rdi, %r15
movq 0x8(%rdi), %rax
movq %rsi, %rdi
callq *(%rax)
addl 0x28(%r15), %eax
andl 0x1c(%r15), %eax
movq (%r15), %rcx
movq (%rcx,%rax,8), %r14
testq %r14, %r14
je 0xacc8
movq 0x8(%r15), %rax
movq 0x18(%rax), %rax
testq %rax, %rax
je 0xacbd
movq 0x10(%r15), %rdi
movq (%r14), %rdx
movq %rbx, %rsi
callq *%rax
testl %eax, %eax
je 0xacc2
jmp 0xaccb
cmpq %rbx, (%r14)
je 0xaccb
movq 0x10(%r14), %r14
jmp 0xac99
xorl %r14d, %r14d
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/msteveb[P]autosetup/./jimsh0.c
// Function: Jim_NextHashEntry
Jim_HashEntry *Jim_NextHashEntry(Jim_HashTableIterator *iter)
{
    while (1) {
        if (iter->entry == NULL) {
            iter->index++;
            if (iter->index >= (signed)iter->ht->size)
                break;
            iter->entry = iter->ht->table[iter->index];
        }
        else {
            iter->entry = iter->nextEntry;
        }
        if (iter->entry) {
            iter->nextEntry = iter->entry->next;
            return iter->entry;
        }
    }
    return NULL;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
leaq 0x10(%rdi), %rcx
cmpq $0x0, 0x8(%rdi)
movq %rcx, %rax
jne 0xad32
movslq 0x18(%rdi), %rax
incq %rax
movl %eax, 0x18(%rdi)
movq (%rdi), %rdx
cmpl 0x18(%rdx), %eax
jge 0xad47
shlq $0x3, %rax
addq (%rdx), %rax
movq (%rax), %rax
movq %rax, 0x8(%rdi)
testq %rax, %rax
je 0xad19
movq 0x10(%rax), %rdx
movq %rdx, (%rcx)
jmp 0xad49
xorl %eax, %eax
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/msteveb[P]autosetup/./jimsh0.c
// Function: Jim_StackPush
void Jim_StackPush(Jim_Stack *stack, void *element)
{
    int neededLen = stack->len + 1;

    if (neededLen > stack->maxlen) {
        stack->maxlen = neededLen < 20 ? 20 : neededLen * 2;
        stack->vector = Jim_Realloc(stack->vector, sizeof(void *) * stack->maxlen);
    }
    stack->vector[stack->len] = element;
    stack->len++;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rsi, %r14
movq %rdi, %rbx
movl (%rdi), %ecx
cmpl 0x4(%rdi), %ecx
jge 0xad8d
movq 0x8(%rbx), %rax
jmp 0xadb6
cmpl $0x13, %ecx
leal 0x2(%rcx,%rcx), %eax
movl $0x14, %ecx
cmovgel %eax, %ecx
movl %ecx, 0x4(%rbx)
movq 0x8(%rbx), %rdi
movslq %ecx, %rsi
shlq $0x3, %rsi
callq *0x2c4d8(%rip)          # 0x37288
movq %rax, 0x8(%rbx)
movl (%rbx), %ecx
movslq %ecx, %rcx
movq %r14, (%rax,%rcx,8)
incl %ecx
movl %ecx, (%rbx)
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/msteveb[P]autosetup/./jimsh0.c
// Function: Jim_NewObj
Jim_Obj *Jim_NewObj(Jim_Interp *interp)
{
    Jim_Obj *objPtr;


    if (interp->freeList != NULL) {

        objPtr = interp->freeList;
        interp->freeList = objPtr->nextObjPtr;
    }
    else {

        objPtr = Jim_Alloc(sizeof(*objPtr));
    }

    objPtr->refCount = 0;


    objPtr->prevObjPtr = NULL;
    objPtr->nextObjPtr = interp->liveList;
    if (interp->liveList)
        interp->liveList->prevObjPtr = objPtr;
    interp->liveList = objPtr;

    return objPtr;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0xc0(%rdi), %rax
testq %rax, %rax
je 0xae5a
movq 0x38(%rax), %rcx
movq %rcx, 0xc0(%rbx)
jmp 0xae67
movl $0x40, %esi
xorl %edi, %edi
callq *0x2c421(%rip)          # 0x37288
movl $0x0, 0x10(%rax)
movq $0x0, 0x30(%rax)
movq 0xb8(%rbx), %rcx
movq %rcx, 0x38(%rax)
testq %rcx, %rcx
je 0xae8a
movq %rax, 0x30(%rcx)
movq %rax, 0xb8(%rbx)
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/msteveb[P]autosetup/./jimsh0.c
// Function: Jim_Utf8Length
int Jim_Utf8Length(Jim_Interp *interp, Jim_Obj *objPtr)
{
#ifdef JIM_UTF8
    SetStringFromAny(interp, objPtr);

    if (objPtr->internalRep.strValue.charLength < 0) {
        objPtr->internalRep.strValue.charLength = utf8_strlen(objPtr->bytes, objPtr->length);
    }
    return objPtr->internalRep.strValue.charLength;
#else
    return Jim_Length(objPtr);
#endif
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rsi, %rbx
cmpq $0x0, (%rsi)
jne 0xaed4
movq 0x8(%rbx), %rax
movq %rbx, %rdi
callq *0x18(%rax)
movl 0x14(%rbx), %eax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/msteveb[P]autosetup/./jimsh0.c
// Function: Jim_NewStringObjNoAlloc
Jim_Obj *Jim_NewStringObjNoAlloc(Jim_Interp *interp, char *s, int len)
{
    Jim_Obj *objPtr = Jim_NewObj(interp);

    objPtr->bytes = s;
    objPtr->length = (len == -1) ? strlen(s) : len;
    objPtr->typePtr = NULL;
    return objPtr;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %edx, %r14d
movq %rsi, %r15
callq 0xae38
movq %rax, %rbx
movq %r15, (%rax)
cmpl $-0x1, %r14d
jne 0xaf14
movq %r15, %rdi
callq 0x6180
movq %rax, %r14
movl %r14d, 0x14(%rbx)
movq $0x0, 0x8(%rbx)
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/msteveb[P]autosetup/./jimsh0.c
// Function: SetStringFromAny
static int SetStringFromAny(Jim_Interp *interp, Jim_Obj *objPtr)
{
    if (objPtr->typePtr != &stringObjType) {

        if (objPtr->bytes == NULL) {

            JimPanic((objPtr->typePtr->updateStringProc == NULL, "UpdateStringProc called against '%s' type.", objPtr->typePtr->name));
            objPtr->typePtr->updateStringProc(objPtr);
        }

        Jim_FreeIntRep(interp, objPtr);

        objPtr->typePtr = &stringObjType;
        objPtr->internalRep.strValue.maxLength = objPtr->length;

        objPtr->internalRep.strValue.charLength = -1;
    }
    return JIM_OK;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq 0x8(%rsi), %rax
leaq 0x2adc5(%rip), %r15     # 0x35d08
cmpq %r15, %rax
je 0xaf85
movq %rsi, %rbx
movq %rdi, %r14
cmpq $0x0, (%rsi)
jne 0xaf5e
movq %rbx, %rdi
callq *0x18(%rax)
movq 0x8(%rbx), %rax
testq %rax, %rax
je 0xaf74
movq 0x8(%rax), %rax
testq %rax, %rax
je 0xaf74
movq %r14, %rdi
movq %rbx, %rsi
callq *%rax
movq %r15, 0x8(%rbx)
movl 0x14(%rbx), %eax
movl %eax, 0x18(%rbx)
movl $0xffffffff, 0x1c(%rbx) # imm = 0xFFFFFFFF
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/msteveb[P]autosetup/./jimsh0.c
// Function: Jim_AppendStrings
void Jim_AppendStrings(Jim_Interp *interp, Jim_Obj *objPtr, ...)
{
    va_list ap;

    SetStringFromAny(interp, objPtr);
    va_start(ap, objPtr);
    while (1) {
        const char *s = va_arg(ap, const char *);

        if (s == NULL)
            break;
        Jim_AppendString(interp, objPtr, s, -1);
    }
    va_end(ap);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0xc8, %rsp
movq %rsi, %rbx
movq %rdi, %r14
leaq -0xe0(%rbp), %r15
movq %rdx, 0x10(%r15)
movq %rcx, 0x18(%r15)
movq %r8, 0x20(%r15)
movq %r9, 0x28(%r15)
testb %al, %al
je 0xb02b
movaps %xmm0, -0xb0(%rbp)
movaps %xmm1, -0xa0(%rbp)
movaps %xmm2, -0x90(%rbp)
movaps %xmm3, -0x80(%rbp)
movaps %xmm4, -0x70(%rbp)
movaps %xmm5, -0x60(%rbp)
movaps %xmm6, -0x50(%rbp)
movaps %xmm7, -0x40(%rbp)
callq 0xaf2e
movq %r15, -0x20(%rbp)
leaq 0x10(%rbp), %rax
movq %rax, -0x28(%rbp)
movabsq $0x3000000010, %rax     # imm = 0x3000000010
movq %rax, -0x30(%rbp)
movl -0x30(%rbp), %ecx
cmpq $0x28, %rcx
ja 0xb062
movq %rcx, %rax
addq -0x20(%rbp), %rax
addl $0x8, %ecx
movl %ecx, -0x30(%rbp)
jmp 0xb06e
movq -0x28(%rbp), %rax
leaq 0x8(%rax), %rcx
movq %rcx, -0x28(%rbp)
movq (%rax), %rdx
testq %rdx, %rdx
je 0xb088
movq %r14, %rdi
movq %rbx, %rsi
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
callq 0x86a0
jmp 0xb04a
addq $0xc8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/msteveb[P]autosetup/./jimsh0.c
// Function: Jim_StringEqObj
int Jim_StringEqObj(Jim_Obj *aObjPtr, Jim_Obj *bObjPtr)
{
    if (aObjPtr == bObjPtr) {
        return 1;
    }
    else {
        int Alen, Blen;
        const char *sA = Jim_GetString(aObjPtr, &Alen);
        const char *sB = Jim_GetString(bObjPtr, &Blen);

        return Alen == Blen && memcmp(sA, sB, Alen) == 0;
    }
}

// Assembly:
cmpq %rsi, %rdi
je 0xb0fe
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r15
movq (%rdi), %r14
testq %r14, %r14
jne 0xb0c0
movq 0x8(%r15), %rax
movq %r15, %rdi
callq *0x18(%rax)
movq (%r15), %r14
movslq 0x14(%r15), %r15
cmpq $0x0, (%rbx)
jne 0xb0d4
movq 0x8(%rbx), %rax
movq %rbx, %rdi
callq *0x18(%rax)
xorl %eax, %eax
cmpl 0x14(%rbx), %r15d
jne 0xb0f3
movq (%rbx), %rsi
movq %r14, %rdi
movq %r15, %rdx
callq 0x6390
movl %eax, %ecx
xorl %eax, %eax
testl %ecx, %ecx
sete %al
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movl $0x1, %eax
retq
// File: /workspace/github_c_makefile_star2_O3/msteveb[P]autosetup/./jimsh0.c
// Function: Jim_StringMatchObj
int Jim_StringMatchObj(Jim_Interp *interp, Jim_Obj *patternObjPtr, Jim_Obj *objPtr, int nocase)
{
    int plen, slen;
    const char *pattern = Jim_GetString(patternObjPtr, &plen);
    const char *string = Jim_GetString(objPtr, &slen);
    return JimGlobMatch(pattern, plen, string, slen, nocase);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl %ecx, %ebx
movq %rdx, %r14
movq %rsi, %r12
movq (%rsi), %r15
testq %r15, %r15
jne 0xb12e
movq 0x8(%r12), %rax
movq %r12, %rdi
callq *0x18(%rax)
movq (%r12), %r15
movl 0x14(%r12), %r12d
movq (%r14), %rdx
testq %rdx, %rdx
jne 0xb148
movq 0x8(%r14), %rax
movq %r14, %rdi
callq *0x18(%rax)
movq (%r14), %rdx
movl 0x14(%r14), %ecx
movq %r15, %rdi
movl %r12d, %esi
movl %ebx, %r8d
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0xb15f
// File: /workspace/github_c_makefile_star2_O3/msteveb[P]autosetup/./jimsh0.c
// Function: Jim_StringCompareObj
int Jim_StringCompareObj(Jim_Interp *interp, Jim_Obj *firstObjPtr, Jim_Obj *secondObjPtr, int nocase)
{
    const char *s1 = Jim_String(firstObjPtr);
    int l1 = Jim_Utf8Length(interp, firstObjPtr);
    const char *s2 = Jim_String(secondObjPtr);
    int l2 = Jim_Utf8Length(interp, secondObjPtr);
    return JimStringCompareUtf8(s1, l1, s2, l2, nocase);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl %ecx, %ebx
movq %rdx, %r14
movq %rsi, %r12
movq (%rsi), %r15
testq %r15, %r15
jne 0xb34f
movq 0x8(%r12), %rax
movq %r12, %rdi
callq *0x18(%rax)
movq (%r12), %r15
testq %r15, %r15
jne 0xb34f
movq 0x8(%r12), %rax
movq %r12, %rdi
callq *0x18(%rax)
xorl %r15d, %r15d
movl 0x14(%r12), %r12d
movq (%r14), %rdx
testq %rdx, %rdx
jne 0xb37a
movq 0x8(%r14), %rax
movq %r14, %rdi
callq *0x18(%rax)
movq (%r14), %rdx
testq %rdx, %rdx
jne 0xb37a
movq 0x8(%r14), %rax
movq %r14, %rdi
callq *0x18(%rax)
xorl %edx, %edx
movl 0x14(%r14), %ecx
movq %r15, %rdi
movl %r12d, %esi
movl %ebx, %r8d
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0xb391
// File: /workspace/github_c_makefile_star2_O3/msteveb[P]autosetup/./jimsh0.c
// Function: JimStringCompareUtf8
static int JimStringCompareUtf8(const char *s1, int l1, const char *s2, int l2, int nocase)
{
    int minlen = l1;
    if (l2 < l1) {
        minlen = l2;
    }
    while (minlen) {
        int c1, c2;
        s1 += utf8_tounicode_case(s1, &c1, nocase);
        s2 += utf8_tounicode_case(s2, &c2, nocase);
        if (c1 != c2) {
            return JimSign(c1 - c2);
        }
        minlen--;
    }

    if (l1 < l2) {
        return -1;
    }
    if (l1 > l2) {
        return 1;
    }
    return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %r8d, -0x34(%rbp)
cmpl %esi, %ecx
movl %esi, -0x2c(%rbp)
movl %esi, %eax
movl %ecx, -0x30(%rbp)
cmovll %ecx, %eax
testl %eax, %eax
je 0xb401
movq %rdx, %r12
movq %rdi, %r13
movslq -0x30(%rbp), %rax
movslq -0x2c(%rbp), %r15
cmpq %r15, %rax
cmovlq %rax, %r15
xorl %r14d, %r14d
movzbl (%r13,%r14), %ebx
cmpl $0x0, -0x34(%rbp)
je 0xb3f0
movl %ebx, %edi
callq 0x60e0
movl %eax, %ebx
movzbl (%r12,%r14), %edi
callq 0x60e0
jmp 0xb3f5
movzbl (%r12,%r14), %eax
cmpl %eax, %ebx
jne 0xb416
incq %r14
cmpl %r14d, %r15d
jne 0xb3cf
xorl %ecx, %ecx
movl -0x2c(%rbp), %eax
cmpl %eax, -0x30(%rbp)
setl %cl
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
cmovlel %ecx, %eax
jmp 0xb423
setge %al
movzbl %al, %eax
leal -0x1(,%rax,2), %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/msteveb[P]autosetup/./jimsh0.c
// Function: Jim_StringByteRangeObj
Jim_Obj *Jim_StringByteRangeObj(Jim_Interp *interp,
    Jim_Obj *strObjPtr, Jim_Obj *firstObjPtr, Jim_Obj *lastObjPtr)
{
    int first, last;
    const char *str;
    int rangeLen;
    int bytelen;

    str = Jim_GetString(strObjPtr, &bytelen);

    if (JimStringGetRange(interp, firstObjPtr, lastObjPtr, bytelen, &first, &last, &rangeLen) != JIM_OK) {
        return NULL;
    }

    if (first == 0 && rangeLen == bytelen) {
        return strObjPtr;
    }
    return Jim_NewStringObj(interp, str + first, rangeLen);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdx, %r13
movq %rsi, %rbx
movq %rdi, %r12
movq (%rsi), %r15
testq %r15, %r15
jne 0xb467
movq 0x8(%rbx), %rax
movq %rbx, %rdi
movq %rcx, %r15
callq *0x18(%rax)
movq %r15, %rcx
movq (%rbx), %r15
movl 0x14(%rbx), %r14d
leaq -0x2c(%rbp), %rax
movq %rax, (%rsp)
leaq -0x30(%rbp), %r8
leaq -0x34(%rbp), %r9
movq %r12, %rdi
movq %r13, %rsi
movq %rcx, %rdx
movl %r14d, %ecx
callq 0xb4d1
testl %eax, %eax
je 0xb494
xorl %ebx, %ebx
jmp 0xb4a3
movslq -0x30(%rbp), %rax
movl -0x2c(%rbp), %edx
xorl %edx, %r14d
orl %eax, %r14d
jne 0xb4b5
movq %rbx, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
addq %rax, %r15
movq %r12, %rdi
movq %r15, %rsi
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x7508
// File: /workspace/github_c_makefile_star2_O3/msteveb[P]autosetup/./jimsh0.c
// Function: JimStringGetRange
static int JimStringGetRange(Jim_Interp *interp, Jim_Obj *firstObjPtr, Jim_Obj *lastObjPtr,
    int len, int *first, int *last, int *range)
{
    if (Jim_GetIndex(interp, firstObjPtr, first) != JIM_OK) {
        return JIM_ERR;
    }
    if (Jim_GetIndex(interp, lastObjPtr, last) != JIM_OK) {
        return JIM_ERR;
    }
    *first = JimRelToAbsIndex(len, *first);
    *last = JimRelToAbsIndex(len, *last);
    JimRelToAbsRange(len, first, last, range);
    return JIM_OK;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r9, -0x30(%rbp)
movq %r8, %r14
movl %ecx, %ebx
movq %rdx, %r13
movq %rdi, %r15
movq %r8, %rdx
callq 0x80ce
movl $0x1, %r12d
testl %eax, %eax
jne 0xb553
movq %r15, %rdi
movq %r13, %rsi
movq -0x30(%rbp), %r15
movq %r15, %rdx
callq 0x80ce
testl %eax, %eax
jne 0xb553
movq 0x10(%rbp), %rcx
movl (%r14), %eax
xorl %r12d, %r12d
movl $0x80000002, %edx       # imm = 0x80000002
cmpl %edx, %eax
movl $0x0, %esi
cmovael %ebx, %esi
addl %eax, %esi
movl %esi, (%r14)
movl (%r15), %eax
cmpl %edx, %eax
movl $0x0, %edx
cmovael %ebx, %edx
addl %eax, %edx
movl %edx, (%r15)
movl %ebx, %edi
movq %r14, %rsi
movq %r15, %rdx
callq 0xefc0
movl %r12d, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/msteveb[P]autosetup/./jimsh0.c
// Function: JimStringReplaceObj
Jim_Obj *JimStringReplaceObj(Jim_Interp *interp,
    Jim_Obj *strObjPtr, Jim_Obj *firstObjPtr, Jim_Obj *lastObjPtr, Jim_Obj *newStrObj)
{
    int first, last;
    const char *str;
    int len, rangeLen;
    Jim_Obj *objPtr;

    len = Jim_Utf8Length(interp, strObjPtr);

    if (JimStringGetRange(interp, firstObjPtr, lastObjPtr, len, &first, &last, &rangeLen) != JIM_OK) {
        return NULL;
    }

    if (last < first) {
        return strObjPtr;
    }

    str = Jim_String(strObjPtr);


    objPtr = Jim_NewStringObjUtf8(interp, str, first);


    if (newStrObj) {
        Jim_AppendObj(interp, objPtr, newStrObj);
    }


    Jim_AppendString(interp, objPtr, str + utf8_index(str, last + 1), len - last - 1);

    return objPtr;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %r8, -0x40(%rbp)
movq %rcx, %r13
movq %rdx, %r15
movq %rsi, %rbx
movq %rdi, %r14
cmpq $0x0, (%rsi)
jne 0xb5a0
movq 0x8(%rbx), %rax
movq %rbx, %rdi
callq *0x18(%rax)
movl 0x14(%rbx), %r12d
leaq -0x44(%rbp), %rax
movq %rax, (%rsp)
leaq -0x30(%rbp), %r8
leaq -0x2c(%rbp), %r9
movq %r14, %rdi
movq %r15, %rsi
movq %r13, %rdx
movl %r12d, %ecx
callq 0xb4d1
testl %eax, %eax
je 0xb5cd
xorl %ebx, %ebx
jmp 0xb634
movslq -0x2c(%rbp), %r13
movl -0x30(%rbp), %r15d
cmpl %r15d, %r13d
jl 0xb634
movq (%rbx), %rsi
testq %rsi, %rsi
jne 0xb5ef
movq 0x8(%rbx), %rax
movq %rbx, %rdi
callq *0x18(%rax)
movq (%rbx), %rsi
movq %r14, %rdi
movq %rsi, -0x38(%rbp)
movl %r15d, %edx
callq 0x7508
movq %rax, %rbx
movq -0x40(%rbp), %rdx
testq %rdx, %rdx
je 0xb615
movq %r14, %rdi
movq %rbx, %rsi
callq 0xaf90
movq -0x38(%rbp), %rax
leaq (%rax,%r13), %rdx
incq %rdx
notl %r13d
addl %r13d, %r12d
movq %r14, %rdi
movq %rbx, %rsi
movl %r12d, %ecx
callq 0x86a0
movq %rbx, %rax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/msteveb[P]autosetup/./jimsh0.c
// Function: Jim_ScriptIsComplete
int Jim_ScriptIsComplete(Jim_Interp *interp, Jim_Obj *scriptObj, char *stateCharPtr)
{
    ScriptObj *script = JimGetScript(interp, scriptObj);
    if (stateCharPtr) {
        *stateCharPtr = script->missing;
    }
    return script->missing == ' ' || script->missing == '}';
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rdx, %rbx
callq 0xb679
testq %rbx, %rbx
je 0xb65e
movb 0x24(%rax), %cl
movb %cl, (%rbx)
movl 0x24(%rax), %eax
cmpl $0x20, %eax
sete %cl
cmpl $0x7d, %eax
sete %al
orb %cl, %al
movzbl %al, %eax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/msteveb[P]autosetup/./jimsh0.c
// Function: Jim_GetSourceInfo
Jim_Obj *Jim_GetSourceInfo(Jim_Interp *interp, Jim_Obj *objPtr, int *lineptr)
{
    int line;
    Jim_Obj *fileNameObj;

    if (objPtr->typePtr == &sourceObjType) {
        fileNameObj = objPtr->internalRep.sourceValue.fileNameObj;
        line = objPtr->internalRep.sourceValue.lineNumber;
    }
    else if (objPtr->typePtr == &scriptObjType) {
        ScriptObj *script = JimGetScript(interp, objPtr);
        fileNameObj = script->fileNameObj;
        line = script->firstline;
    }
    else {
        fileNameObj = interp->emptyObj;
        line = 1;
    }
    *lineptr = line;
    return fileNameObj;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq 0x8(%rsi), %rax
leaq 0x29405(%rip), %rcx     # 0x351e8
cmpq %rcx, %rax
je 0xbe05
leaq 0x29421(%rip), %rcx     # 0x35210
cmpq %rcx, %rax
je 0xbe0e
addq $0x128, %rdi            # imm = 0x128
movl $0x1, %ecx
movq %rdi, %rsi
jmp 0xbe1d
movl 0x20(%rsi), %ecx
addq $0x18, %rsi
jmp 0xbe1d
callq 0xb679
movq %rax, %rsi
movl 0x1c(%rax), %ecx
addq $0x8, %rsi
movq (%rsi), %rax
movl %ecx, (%rbx)
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/msteveb[P]autosetup/./jimsh0.c
// Function: Jim_SetSourceInfo
void Jim_SetSourceInfo(Jim_Interp *interp, Jim_Obj *objPtr,
    Jim_Obj *fileNameObj, int lineNumber)
{
    JimPanic((Jim_IsShared(objPtr), "Jim_SetSourceInfo called with shared object"));
    Jim_FreeIntRep(interp, objPtr);
    Jim_IncrRefCount(fileNameObj);
    objPtr->internalRep.sourceValue.fileNameObj = fileNameObj;
    objPtr->internalRep.sourceValue.lineNumber = lineNumber;
    objPtr->typePtr = &sourceObjType;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %ecx, %r14d
movq %rdx, %r15
movq %rsi, %rbx
movq 0x8(%rsi), %rax
testq %rax, %rax
je 0xbe53
movq 0x8(%rax), %rax
testq %rax, %rax
je 0xbe53
movq %rbx, %rsi
callq *%rax
incl 0x10(%r15)
movq %r15, 0x18(%rbx)
movl %r14d, 0x20(%rbx)
leaq 0x29382(%rip), %rax     # 0x351e8
movq %rax, 0x8(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/msteveb[P]autosetup/./jimsh0.c
// Function: Jim_InterpIncrProcEpoch
void Jim_InterpIncrProcEpoch(Jim_Interp *interp)
{
    interp->procEpoch++;


    while (interp->oldCmdCache) {
        Jim_Cmd *next = interp->oldCmdCache->prevCmd;
        Jim_Free(interp->oldCmdCache);
        interp->oldCmdCache = next;
    }
    interp->oldCmdCacheSize = 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
incq 0x98(%rdi)
movq 0x1c0(%rdi), %rdi
testq %rdi, %rdi
je 0xbead
movq 0x8(%rdi), %r14
xorl %esi, %esi
callq *0x2b3ea(%rip)          # 0x37288
movq %r14, 0x1c0(%rbx)
movq %r14, %rdi
testq %r14, %r14
jne 0xbe92
movl $0x0, 0x1c8(%rbx)
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/msteveb[P]autosetup/./jimsh0.c
// Function: Jim_CreateCommandObj
int Jim_CreateCommandObj(Jim_Interp *interp, Jim_Obj *cmdNameObj,
    Jim_CmdProc *cmdProc, void *privData, Jim_DelCmdProc *delProc)
{
    Jim_Cmd *cmdPtr = Jim_Alloc(sizeof(*cmdPtr));


    memset(cmdPtr, 0, sizeof(*cmdPtr));
    cmdPtr->inUse = 1;
    cmdPtr->u.native.delProc = delProc;
    cmdPtr->u.native.cmdProc = cmdProc;
    cmdPtr->u.native.privData = privData;

    Jim_IncrRefCount(cmdNameObj);
    JimCreateCommand(interp, cmdNameObj, cmdPtr);
    Jim_DecrRefCount(interp, cmdNameObj);

    return JIM_OK;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r8, %r15
movq %rcx, %r12
movq %rdx, %r13
movq %rsi, %rbx
movq %rdi, %r14
movl $0x58, %esi
xorl %edi, %edi
callq *0x2b399(%rip)          # 0x37288
xorps %xmm0, %xmm0
movups %xmm0, (%rax)
movups %xmm0, 0x20(%rax)
movups %xmm0, 0x10(%rax)
movups %xmm0, 0x30(%rax)
movups %xmm0, 0x40(%rax)
movq $0x0, 0x50(%rax)
movl $0x1, (%rax)
movq %r15, 0x20(%rax)
movq %r13, 0x18(%rax)
movq %r12, 0x28(%rax)
incl 0x10(%rbx)
movq %r14, %rdi
movq %rbx, %rsi
movq %rax, %rdx
callq 0xbf5a
movl 0x10(%rbx), %eax
leal -0x1(%rax), %ecx
movl %ecx, 0x10(%rbx)
cmpl $0x1, %eax
jg 0xbf49
movq %r14, %rdi
movq %rbx, %rsi
callq 0x758c
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/msteveb[P]autosetup/./jimsh0.c
// Function: JimCreateCommand
static void JimCreateCommand(Jim_Interp *interp, Jim_Obj *nameObjPtr, Jim_Cmd *cmd)
{
    JimPanic((nameObjPtr->refCount == 0, "JimCreateCommand called with zero ref count name"));

    if (interp->local) {
        Jim_HashEntry *he = Jim_FindHashEntry(&interp->commands, nameObjPtr);
        if (he) {

            cmd->prevCmd = Jim_GetHashEntryVal(he);
            Jim_SetHashVal(&interp->commands, he, cmd);

            Jim_InterpIncrProcEpoch(interp);
            return;
        }
    }



    Jim_ReplaceHashEntry(&interp->commands, nameObjPtr, cmd);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rdx, %r14
movq %rsi, %r12
movq %rdi, %rbx
cmpl $0x0, 0xa8(%rdi)
je 0xbff1
leaq 0x68(%rbx), %rdi
movq %r12, %rsi
callq 0xac6b
testq %rax, %rax
je 0xbff1
movq %rax, %r15
movq 0x8(%rax), %rax
movq %rax, 0x8(%r14)
movq 0x70(%rbx), %rax
movq 0x10(%rax), %rax
testq %rax, %rax
je 0xbfac
movq 0x78(%rbx), %rdi
movq %r14, %rsi
callq *%rax
movq %rax, %r14
movq %r14, 0x8(%r15)
incq 0x98(%rbx)
movq 0x1c0(%rbx), %rdi
testq %rdi, %rdi
je 0xbfde
movq 0x8(%rdi), %r14
xorl %esi, %esi
callq *0x2b2b9(%rip)          # 0x37288
movq %r14, 0x1c0(%rbx)
movq %r14, %rdi
testq %r14, %r14
jne 0xbfc3
movl $0x0, 0x1c8(%rbx)
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
addq $0x68, %rbx
movq %rbx, %rdi
movq %r12, %rsi
movq %r14, %rdx
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0xa9e6
// File: /workspace/github_c_makefile_star2_O3/msteveb[P]autosetup/./jimsh0.c
// Function: Jim_DeleteCommand
int Jim_DeleteCommand(Jim_Interp *interp, Jim_Obj *nameObj)
{
    int ret = JIM_OK;

    nameObj = JimQualifyName(interp, nameObj);

    if (Jim_DeleteHashEntry(&interp->commands, nameObj) == JIM_ERR) {
        Jim_SetResultFormatted(interp, "can't delete \"%#s\": command doesn't exist", nameObj);
        ret = JIM_ERR;
    }
    Jim_DecrRefCount(interp, nameObj);

    return ret;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
incl 0x10(%rsi)
addq $0x68, %rdi
callq 0xaab0
testl %eax, %eax
je 0xc047
leaq 0x1eb84(%rip), %rsi     # 0x2abb6
movq %r14, %rdi
movq %rbx, %rdx
xorl %eax, %eax
callq 0x6923
movl $0x1, %r15d
jmp 0xc04a
xorl %r15d, %r15d
movl 0x10(%rbx), %eax
leal -0x1(%rax), %ecx
movl %ecx, 0x10(%rbx)
cmpl $0x1, %eax
jg 0xc063
movq %r14, %rdi
movq %rbx, %rsi
callq 0x758c
movl %r15d, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq