LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O2/jaroslov[P]docoptc/./docopt.h
// Function: docopt_get_section
static int docopt_get_section(struct docopt_parse_state* dS, regex_t* start, regex_t* stop, const char* fst, struct docopt_str* sec, int pidx, int qidx)
{
    if (dS->entries->error) return 1;
    if (regexec(start, fst, DOCOPT_NUM_PMATCHES, &dS->docopt_pmatches[0], 0))
        return 1;
    if (dS->docopt_pmatches[pidx].rm_so < 0) return 1;
    sec->fst    = dS->docopt_pmatches[pidx].rm_eo + fst;
    if (regexec(stop, sec->fst, DOCOPT_NUM_PMATCHES, &dS->docopt_pmatches[0], 0)) return 1;
    if (dS->docopt_pmatches[qidx].rm_so < 0) return 1;
    sec->lst    = dS->docopt_pmatches[qidx].rm_so + sec->fst;
    return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq 0x8(%rdi), %rax
pushq $0x1
popq %rbx
cmpl $0x0, (%rax)
jne 0x8372
movl %r9d, %r14d
movq %rcx, %r12
movq %rdx, %r13
movq %rdi, %r15
movq %r8, -0x30(%rbp)
addq $0x188, %r15            # imm = 0x188
pushq $0x7
popq %rdx
movq %rsi, %rdi
movq %rcx, %rsi
movq %r15, %rcx
xorl %r8d, %r8d
callq 0x70f0
testl %eax, %eax
je 0x8383
movl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl %r14d, %eax
cmpl $0x0, (%r15,%rax,8)
js 0x8372
movslq 0x4(%r15,%rax,8), %rax
addq %rax, %r12
movq -0x30(%rbp), %rax
movq %r12, (%rax)
pushq $0x7
popq %rdx
movq %r13, %rdi
movq %r12, %rsi
movq %r15, %rcx
xorl %r8d, %r8d
callq 0x70f0
testl %eax, %eax
jne 0x8372
movslq (%r15), %rax
testq %rax, %rax
js 0x8372
movq -0x30(%rbp), %rcx
addq (%rcx), %rax
movq %rax, 0x8(%rcx)
xorl %ebx, %ebx
jmp 0x8372
// File: /workspace/github_c_makefile_star2_O2/jaroslov[P]docoptc/./docopt.h
// Function: docopt_get
docopt_str_t* docopt_get(docopt_t doc, const char* cmd, int idx)
{
    struct docopt_entries* dE   = (struct docopt_entries*)doc;
    assert(!dE->error || (dE->error == DOCOPT_PRINTED_HELP));
    struct docopt_str str       = { cmd, cmd + strlen(cmd) };
    struct docopt_entry* owner  = 0;
    struct docopt_str* result   = 0;
    int entry                   = 0;
    if ((entry = docopt_entries_get_entry(dE, &str)) < 0)
        return 0;
    owner                       = docopt_fetch_entry(dE, entry);
    for (int i = 0; (i < dE->nargs) && (idx >= 0); ++i)
        if (dE->args[i].owner == owner)
        {
            if (dE->args[i].value.fst)
                result  = &dE->args[i].value;
            else
                result  = &owner->defvalue;
            --idx;
        }
    if ((idx >= 0) && owner->defvalue.fst)
    {
        return &owner->defvalue;
    }
    return (idx < 0) ? result : 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movl %edx, %ebx
movq %rsi, %r15
movq %rdi, %r14
movl (%rdi), %eax
testl %eax, %eax
je 0x83f9
cmpl $0x5, %eax
jne 0x848c
leaq -0x30(%rbp), %r12
movq %r15, (%r12)
movq %r15, %rdi
callq 0x7070
addq %r15, %rax
movq %rax, 0x8(%r12)
movq %r14, %rdi
movq %r12, %rsi
callq 0x84ab
testl %eax, %eax
js 0x847d
movq %r14, %rdi
movl %eax, %esi
callq 0x8553
movq %rax, %rcx
movslq 0x30(%r14), %rsi
addq $0x28, %rax
pushq $0x8
popq %rdi
xorl %r8d, %r8d
xorl %edx, %edx
cmpq %rsi, %r8
jge 0x8469
testl %ebx, %ebx
js 0x8469
movq 0x38(%r14), %r9
cmpq %rcx, -0x8(%r9,%rdi)
jne 0x8460
cmpq $0x0, (%r9,%rdi)
leaq (%r9,%rdi), %rdx
cmoveq %rax, %rdx
decl %ebx
incq %r8
addq $0x18, %rdi
jmp 0x843d
testl %ebx, %ebx
js 0x8473
cmpq $0x0, (%rax)
jne 0x847f
xorl %eax, %eax
testl %ebx, %ebx
cmovsq %rdx, %rax
jmp 0x847f
xorl %eax, %eax
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
leaq 0x1c70(%rip), %rdi      # 0xa103
leaq 0x1c9a(%rip), %rsi      # 0xa134
leaq 0x1c9e(%rip), %rcx      # 0xa13f
movl $0x3fe, %edx            # imm = 0x3FE
callq 0x7080
// File: /workspace/github_c_makefile_star2_O2/jaroslov[P]docoptc/./docopt.h
// Function: docopt_entries_get_entry
static int docopt_entries_get_entry(struct docopt_entries* dE, struct docopt_str* str)
{
    for (int i = 0; i < dE->curentry; ++i)
    {
        if (((docopt_str_len(str) > 0) &&
                docopt_str_len(str) == docopt_str_len(&dE->entries[i].name)) &&
                !strncmp(str->fst, dE->entries[i].name.fst, docopt_str_len(str)))
            return i;
        if ((docopt_str_len(str) == 2) && (strncmp(str->fst, &dE->entries[i].short_name[0], 2) == 0))
            return i;
    }
    return -1;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, -0x30(%rbp)
movl 0x20(%rdi), %eax
xorl %r12d, %r12d
testl %eax, %eax
cmovlel %r12d, %eax
movq %rax, -0x40(%rbp)
movq %rsi, -0x38(%rbp)
pushq $0x10
popq %rbx
cmpq %r12, -0x40(%rbp)
je 0x853c
movq -0x38(%rbp), %rax
movq (%rax), %r13
movq 0x8(%rax), %r15
subq %r13, %r15
testl %r15d, %r15d
je 0x8533
movq -0x30(%rbp), %rax
movq 0x28(%rax), %r14
movl -0x8(%r14,%rbx), %eax
movq -0x10(%r14,%rbx), %rsi
subl %esi, %eax
cmpl %eax, %r15d
jne 0x8518
movl %r15d, %edx
movq %r13, %rdi
callq 0x7040
testl %eax, %eax
je 0x8541
cmpl $0x2, %r15d
jne 0x8533
addq %rbx, %r14
movq %r13, %rdi
movq %r14, %rsi
pushq $0x2
popq %rdx
callq 0x7040
testl %eax, %eax
je 0x8541
incq %r12
addq $0x38, %rbx
jmp 0x84d7
pushq $-0x1
popq %rax
jmp 0x8544
movl %r12d, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/jaroslov[P]docoptc/./docopt.h
// Function: docopt_free
void docopt_free(docopt_t doc)
{
    struct docopt_entries* dE   = (struct docopt_entries*)doc;
    if (dE)
    {
        if (dE->entries) free(dE->entries);
        if (dE->args) free(dE->args);
        free(dE);
    }
}

// Assembly:
testq %rdi, %rdi
je 0x85b3
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x28(%rdi), %rdi
callq 0x7030
movq 0x38(%rbx), %rdi
callq 0x7030
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %rbp
jmp 0x7030
retq
// File: /workspace/github_c_makefile_star2_O2/jaroslov[P]docoptc/test.c
// Function: check_test
int check_test(docopt_t doc, int i)
{
    for (int j = 0; tests[i].checks[j].key; ++j)
    {
        struct docopt_str* get  = docopt_get(doc, tests[i].checks[j].key, tests[i].checks[j].index);
        if (!get)
        {
            fprintf(stdout, "(%d): %s\n", i, usages[tests[i].usage]);
            fprintf(stdout, "Failed to get (%d.%d.%d) %s\n", i, j, tests[i].usage, tests[i].checks[j].key);
            return 1;
        }
        else
        {
            if (tests[i].checks[j].value)
            {
                if ((strlen(tests[i].checks[j].value) != docopt_str_len(get)) ||
                    strncmp(tests[i].checks[j].value, get->fst, docopt_str_len(get)))
                {
                    fprintf(stdout, "(%d): %s\n", i, usages[tests[i].usage]);
                    fprintf(stdout, "Mismatch (%d.%d.%d) %s wants='%s' gots='%s'\n", i, j, tests[i].usage, tests[i].checks[j].key, tests[i].checks[j].value, get->fst);
                    return 1;
                }
            }
        }
    }
    return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, -0x38(%rbp)
movl %esi, -0x2c(%rbp)
movslq %esi, %rax
imulq $0x3c8, %rax, %rax      # imm = 0x3C8
leaq 0x5a19(%rip), %rcx      # 0xe210
leaq (%rcx,%rax), %rdx
movq %rdx, -0x40(%rbp)
leaq (%rax,%rcx), %r12
addq $0x108, %r12            # imm = 0x108
xorl %r15d, %r15d
movq -0x10(%r12), %r14
testq %r14, %r14
je 0x8923
movl -0x8(%r12), %edx
movq -0x38(%rbp), %rdi
movq %r14, %rsi
callq 0x83d3
testq %rax, %rax
je 0x88d3
movq (%r12), %rbx
testq %rbx, %rbx
je 0x8867
movq %rax, %r13
movq %rbx, %rdi
callq 0x7070
movl 0x8(%r13), %ecx
movq (%r13), %rsi
subl %esi, %ecx
cmpq %rcx, %rax
jne 0x8870
movq %rbx, %rdi
movq %rax, %rdx
callq 0x7040
testl %eax, %eax
jne 0x8870
incl %r15d
addq $0x18, %r12
jmp 0x880d
movq 0x28761(%rip), %rax     # 0x30fd8
movq (%rax), %rdi
movq -0x40(%rbp), %rax
movslq (%rax), %rcx
movq %rcx, -0x38(%rbp)
leaq 0x28834(%rip), %rax     # 0x310c0
movq (%rax,%rcx,8), %rcx
leaq 0x3631(%rip), %rsi      # 0xbec8
movl -0x2c(%rbp), %r12d
movl %r12d, %edx
xorl %eax, %eax
callq 0x70e0
movq 0x2872c(%rip), %rax     # 0x30fd8
movq (%rax), %rdi
leaq 0x3639(%rip), %rsi      # 0xbeef
movl %r12d, %edx
movl %r15d, %ecx
movq -0x38(%rbp), %r8
movq %r14, %r9
xorl %eax, %eax
pushq (%r13)
pushq %rbx
callq 0x70e0
popq %rcx
popq %rdx
jmp 0x8923
movq 0x286fe(%rip), %r12     # 0x30fd8
movq (%r12), %rdi
movq -0x40(%rbp), %rax
movslq (%rax), %rbx
leaq 0x287d4(%rip), %rax     # 0x310c0
movq (%rax,%rbx,8), %rcx
leaq 0x35d1(%rip), %rsi      # 0xbec8
movl -0x2c(%rbp), %r13d
movl %r13d, %edx
xorl %eax, %eax
callq 0x70e0
movq (%r12), %rdi
leaq 0x35c2(%rip), %rsi      # 0xbed2
movl %r13d, %edx
movl %r15d, %ecx
movl %ebx, %r8d
movq %r14, %r9
xorl %eax, %eax
callq 0x70e0
xorl %eax, %eax
testq %r14, %r14
setne %al
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/jaroslov[P]docoptc/./docopt.h
// Function: docopt_new_term
static int docopt_new_term(struct docopt_parse_state* dS, enum DOCOPT_TYPE type)
{
    int hterm                   = dS->curterm;
    if ((dS->curterm+1) >= dS->nterms)
    {
        dS->nterms      *= 2;
        dS->terms       = (struct docopt_term*)realloc(dS->terms, sizeof(struct docopt_term) * dS->nterms);
    }
    memset(docopt_fetch_term(dS, hterm), 0x0, sizeof(struct docopt_term));
    docopt_fetch_term(dS, hterm)->type = type;
    ++dS->curterm;
    return hterm;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %esi, %r15d
movq %rdi, %rbx
movslq 0x1c(%rdi), %r14
leal 0x1(%r14), %eax
movslq 0x18(%rdi), %rsi
cmpl %esi, %eax
jge 0x8960
movq 0x20(%rbx), %rax
jmp 0x8977
leal (%rsi,%rsi), %eax
movl %eax, 0x18(%rbx)
movq 0x20(%rbx), %rdi
shlq $0x4, %rsi
callq 0x7100
movq %rax, 0x20(%rbx)
andq $0x0, (%rax,%r14,8)
movq 0x20(%rbx), %rax
movl 0x4(%rax,%r14,8), %ecx
andl $0x1f, %r15d
andl $-0x20, %ecx
orl %r15d, %ecx
movl %ecx, 0x4(%rax,%r14,8)
incl 0x1c(%rbx)
movl %r14d, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/heltilda[P]cicada/lnklst.c
// Function: newSublist(int, int, int, char)
sublistHeader *newSublist(ccInt numberOfElements, ccInt maximumElements, ccInt elementSize, ccBool ifCleared)
{
    sublistHeader *temp;
    
    if (ifCleared)
        temp = (sublistHeader *) calloc((size_t) maximumElements*elementSize + sublistHeaderSize, (size_t) 1);
    else 
        temp = (sublistHeader *) malloc((size_t) maximumElements*elementSize + sublistHeaderSize);
    
    if (temp != NULL)  {
        temp->numElements = numberOfElements;
        temp->maxElements = maximumElements;
        temp->nextSublist = NULL;     }
    
    return temp;
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
movl %esi, %ebx
movl %edi, %ebp
movslq %esi, %rax
movslq %edx, %rdi
imulq %rax, %rdi
addq $0x18, %rdi
testb %cl, %cl
je 0x839f
pushq $0x1
popq %rsi
callq 0x80e0
jmp 0x83a4
callq 0x81d0
testq %rax, %rax
je 0x83b3
movl %ebp, (%rax)
movl %ebx, 0x10(%rax)
andq $0x0, 0x8(%rax)
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/heltilda[P]cicada/lnklst.c
// Function: findSublist(linkedlist*, int, int*)
sublistHeader *findSublist(linkedlist *theList, ccInt theElement, ccInt *bottomRtrn)
{
    sublistHeader *currentSublist = theList->memory;
    ccInt bottom = 1, top = currentSublist->numElements;
    
    while (theElement > top)  {
        currentSublist = currentSublist->nextSublist;
        bottom = top+1;
        top += currentSublist->numElements;    }
    
    *bottomRtrn = bottom;
    return currentSublist;
}

// Assembly:
movq 0x8(%rdi), %rax
movl (%rax), %ecx
pushq $0x1
popq %rdi
cmpl %esi, %ecx
jge 0x83d2
movq 0x8(%rax), %rax
leal 0x1(%rcx), %edi
addl (%rax), %ecx
jmp 0x83c3
movl %edi, (%rdx)
retq
// File: /workspace/github_c_makefile_star2_O2/heltilda[P]cicada/lnklst.c
// Function: newLinkedList
ccInt newLinkedList(linkedlist *theList, ccInt numberOfElements, ccInt elementSize, ccFloat spareRoom, ccBool ifCleared)
{
    ccInt maxElements;
    sublistHeader *temp;
    
    if ((numberOfElements < 0) || (elementSize < 0) || (spareRoom < 0.))  return out_of_range_err;
    
    maxElements = numberOfElements + floor(numberOfElements*spareRoom);
    if (maxElements < 1)  maxElements = 1;
    
    temp = newSublist(numberOfElements, maxElements, elementSize, ifCleared);      // allocate one sublist
    theList->memory = temp;
    if (temp == NULL)  return out_of_memory_err;
    
    theList->elementSize = elementSize;
    theList->elementNum = numberOfElements;
    theList->spareRoom = spareRoom;
    
    return passed;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movl %edx, %eax
orl %esi, %eax
pushq $0x2
popq %r12
js 0x845b
movapd %xmm0, %xmm1
xorpd %xmm0, %xmm0
ucomisd %xmm1, %xmm0
ja 0x845b
movl %ecx, %r15d
movl %edx, %r14d
movl %esi, %ebp
movq %rdi, %rbx
cvtsi2sd %esi, %xmm0
movsd %xmm0, (%rsp)
mulsd %xmm1, %xmm0
movsd %xmm1, 0x8(%rsp)
callq 0x8240
addsd (%rsp), %xmm0
cvttsd2si %xmm0, %esi
cmpl $0x2, %esi
pushq $0x1
popq %r12
cmovll %r12d, %esi
movsbl %r15b, %ecx
movl %ebp, %edi
movl %r14d, %edx
callq 0x837c
movsd 0x8(%rsp), %xmm0
movq %rax, 0x8(%rbx)
testq %rax, %rax
je 0x845b
movl %r14d, 0x10(%rbx)
movl %ebp, (%rbx)
movsd %xmm0, 0x18(%rbx)
xorl %r12d, %r12d
movl %r12d, %eax
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/heltilda[P]cicada/lnklst.c
// Function: deleteLinkedList
void deleteLinkedList(linkedlist *theList)
{
    sublistHeader *currentSublist, *nextSublist;
    
    nextSublist = theList->memory;
    while (nextSublist != NULL)  {
        currentSublist = nextSublist;
        nextSublist = currentSublist->nextSublist;
        free((void *) currentSublist);    }
    
    theList->memory = NULL;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x8(%rdi), %rdi
testq %rdi, %rdi
je 0x8489
movq 0x8(%rdi), %r14
callq 0x81c0
movq %r14, %rdi
jmp 0x8476
andq $0x0, 0x8(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/heltilda[P]cicada/lnklst.c
// Function: resizeLinkedList
ccInt resizeLinkedList(linkedlist *theList, ccInt newTop, ccBool ifCleared)
{
    if (theList->memory == NULL)  return init_err;
    
    if (theList->elementNum < newTop)
        return addElements(theList, newTop-theList->elementNum, ifCleared);
    else if (theList->elementNum > newTop)
        return deleteElements(theList, newTop+1, theList->elementNum);
    else  return passed;
}

// Assembly:
cmpq $0x0, 0x8(%rdi)
je 0x8b3e
movl %edx, %eax
movl (%rdi), %edx
movl %esi, %ecx
subl %edx, %ecx
jle 0x8b42
movsbl %al, %edx
movl %ecx, %esi
jmp 0x8b0f
pushq $0x3
popq %rax
retq
xorl %eax, %eax
cmpl %edx, %esi
jge 0x8b4f
incl %esi
jmp 0x864f
retq
// File: /workspace/github_c_makefile_star2_O2/heltilda[P]cicada/lnklst.c
// Function: defragmentLinkedList
ccInt defragmentLinkedList(linkedlist *theList)
{
    linkedlist oldList;
    ccInt defLL_rtrn;
    
    if (theList->memory == NULL)  return init_err;
    if (theList->elementNum == theList->memory->numElements)  return passed;
    
    oldList = *theList;
    defLL_rtrn = newLinkedList(theList, oldList.elementNum, oldList.elementSize, oldList.spareRoom, ccFalse);
    if (defLL_rtrn != passed)  {
        *theList = oldList;
        return defLL_rtrn;    }
    
    theList->spareRoom = oldList.spareRoom;
    
    if (theList->elementNum > 0)  {
        defLL_rtrn = copyElements(&oldList, 1, theList, 1, oldList.elementNum);
        if (defLL_rtrn != passed)  return defLL_rtrn;         }
    
    deleteLinkedList(&oldList);
    
    return passed;
}

// Assembly:
movq 0x8(%rdi), %rcx
testq %rcx, %rcx
je 0x8baf
pushq %rbp
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
movl (%rdi), %edx
xorl %eax, %eax
cmpl (%rcx), %edx
je 0x8be4
movups (%rbx), %xmm0
movups 0x10(%rbx), %xmm1
movaps %xmm0, (%rsp)
movaps %xmm1, 0x10(%rsp)
movl (%rsp), %ebp
movl 0x10(%rsp), %edx
movsd 0x18(%rsp), %xmm0
movq %rbx, %rdi
movl %ebp, %esi
movsd %xmm0, 0x20(%rsp)
xorl %ecx, %ecx
callq 0x83d5
testl %eax, %eax
je 0x8bb3
movaps (%rsp), %xmm0
movaps 0x10(%rsp), %xmm1
movups %xmm1, 0x10(%rbx)
movups %xmm0, (%rbx)
jmp 0x8be4
pushq $0x3
popq %rax
retq
movsd 0x20(%rsp), %xmm0
movsd %xmm0, 0x18(%rbx)
cmpl $0x0, (%rbx)
jle 0x8bda
movq %rsp, %rdi
pushq $0x1
popq %rcx
movl %ecx, %esi
movq %rbx, %rdx
movl %ebp, %r8d
callq 0x87c7
testl %eax, %eax
jne 0x8be4
movq %rsp, %rdi
callq 0x846b
xorl %eax, %eax
addq $0x28, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/heltilda[P]cicada/lnklst.c
// Function: fillElements
ccInt fillElements(linkedlist *theList, ccInt firstElement, ccInt lastElement, char fillValue)
{
    ccInt firstFilled, lastFilled, top, bottom;
    sublistHeader *currentSublist;
    
    if (theList->memory == NULL)  return init_err;
    if ((!elementExists(theList, firstElement)) || (!elementExists(theList, lastElement)))
        return out_of_range_err;
    
    firstFilled = firstElement;
    lastFilled = firstElement-1;
    currentSublist = findSublist(theList, firstElement, &bottom);
    
    while (lastFilled < lastElement)
    {
        top = bottom + currentSublist->numElements - 1;
        lastFilled = lastElement;
        if (top < lastElement) lastFilled = top;
        
        memset((void *) ((char *) currentSublist + (firstFilled-bottom)*theList->elementSize + sublistHeaderSize), fillValue,
                (size_t) theList->elementSize*(lastFilled - firstFilled + 1));
        
        bottom = top+1;
        firstFilled = lastFilled+1;
        currentSublist = currentSublist->nextSublist;
    }
    
    return passed;
}

// Assembly:
cmpq $0x0, 0x8(%rdi)
je 0x8e95
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %ecx, %ebp
movl %edx, %ebx
movl %esi, %r15d
movq %rdi, %r14
movl (%rdi), %ecx
cmpl %esi, %ecx
setl %al
testl %esi, %esi
setle %dl
orb %al, %dl
pushq $0x2
popq %rax
jne 0x8e9b
cmpl %ebx, %ecx
setl %cl
testl %ebx, %ebx
setle %dl
orb %cl, %dl
jne 0x8e9b
leal -0x1(%r15), %r13d
leaq 0x4(%rsp), %rdx
movq %r14, %rdi
movl %r15d, %esi
callq 0x83ba
movq %rax, %r12
leaq 0x4(%rsp), %rax
movl (%rax), %eax
movzbl %bpl, %ecx
movl %ecx, (%rsp)
cmpl %ebx, %r13d
jge 0x8e99
movl (%r12), %ecx
leal (%rcx,%rax), %ebp
cmpl %ebx, %ebp
leal -0x1(%rcx,%rax), %r13d
cmovgl %ebx, %r13d
movl %r13d, %ecx
subl %r15d, %ecx
subl %eax, %r15d
movslq 0x10(%r14), %rax
movslq %r15d, %rdx
imulq %rax, %rdx
leaq (%r12,%rdx), %rdi
addq $0x18, %rdi
incl %ecx
movslq %ecx, %rdx
imulq %rax, %rdx
movl (%rsp), %esi
callq 0x80c0
leal 0x1(%r13), %r15d
movq 0x8(%r12), %r12
movl %ebp, %eax
jmp 0x8e44
pushq $0x3
popq %rax
retq
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_O2/heltilda[P]cicada/lnklst.c
// Function: setElements
ccInt setElements(linkedlist *theList, ccInt firstElement, ccInt lastElement, void *readAddress)
{
    ccInt firstSet, lastSet, top, bottom;
    sublistHeader *currentSublist;
    
    firstSet = firstElement;
    lastSet = 0;
    
    if (theList->memory == NULL)  return init_err;
    if (lastElement < firstElement)  return passed;
    if ((!elementExists(theList, firstElement)) || (!elementExists(theList, lastElement)))
        return out_of_range_err;
    
    currentSublist = findSublist(theList, firstElement, &bottom);
    
    while (lastSet < lastElement)
    {
        top = bottom + currentSublist->numElements - 1;
        lastSet = lastElement;
        if (top < lastElement) lastSet = top;
        
        memmove((void *) ((char *) currentSublist + (firstSet-bottom)*theList->elementSize + sublistHeaderSize),
                (void *) ((char *) readAddress + (firstSet-firstElement)*theList->elementSize),
                theList->elementSize*(lastSet-firstSet+1));
        
        bottom = top + 1;
        firstSet = lastSet + 1;
        currentSublist = currentSublist->nextSublist;
    }
    
    return passed;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rcx, 0x8(%rsp)
cmpq $0x0, 0x8(%rdi)
je 0x8ef3
movl %edx, %ebp
movl %esi, %r14d
xorl %eax, %eax
cmpl %esi, %edx
jl 0x8f72
movq %rdi, %r15
movl (%rdi), %eax
cmpl %r14d, %eax
setl %cl
testl %r14d, %r14d
setle %dl
orb %cl, %dl
cmpl %ebp, %eax
setl %al
orb %dl, %al
je 0x8ef8
pushq $0x2
jmp 0x8ef5
pushq $0x3
popq %rax
jmp 0x8f72
leaq 0x14(%rsp), %rbx
movq %r15, %rdi
movl %r14d, %esi
movq %rbx, %rdx
callq 0x83ba
movq %rax, %r13
movl (%rbx), %ecx
movl %r14d, %eax
xorl %r12d, %r12d
cmpl %ebp, %r12d
jge 0x8f70
movl (%r13), %edx
leal (%rdx,%rcx), %ebx
cmpl %ebp, %ebx
leal -0x1(%rdx,%rcx), %r12d
cmovgl %ebp, %r12d
movl %eax, %edx
subl %ecx, %edx
movl 0x10(%r15), %ecx
imull %ecx, %edx
movslq %edx, %rdx
leaq (%rdx,%r13), %rdi
addq $0x18, %rdi
movl %r12d, %edx
subl %eax, %edx
subl %r14d, %eax
imull %ecx, %eax
movslq %eax, %rsi
addq 0x8(%rsp), %rsi
incl %edx
imull %ecx, %edx
movslq %edx, %rdx
callq 0x8220
leal 0x1(%r12), %eax
movq 0x8(%r13), %r13
movl %ebx, %ecx
jmp 0x8f16
xorl %eax, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/heltilda[P]cicada/lnklst.c
// Function: getElements
ccInt getElements(linkedlist *theList, ccInt firstElement, ccInt lastElement, void *writeAddress)
{
    ccInt firstGet, lastGet, top, bottom;
    sublistHeader *currentSublist;
    
    firstGet = firstElement;
    lastGet = 0;
    
    if (theList->memory == NULL)  return init_err;
    if (lastElement < firstElement)  return passed;
    if ((!elementExists(theList, firstElement)) || (!elementExists(theList, lastElement)))
        return out_of_range_err;
    
    currentSublist = findSublist(theList, firstElement, &bottom);
    
    while (lastGet < lastElement)
    {
        top = bottom + currentSublist->numElements - 1;
        lastGet = lastElement;
        if (top < lastElement) lastGet = top;
        
        memmove((void *) ((char *) writeAddress + (firstGet-firstElement)*theList->elementSize),
                (void *) ((char *) currentSublist + (firstGet-bottom)*theList->elementSize + sublistHeaderSize),
                    theList->elementSize*(lastGet - firstGet + 1));
        
        bottom = top + 1;
        firstGet = lastGet + 1;
        currentSublist = currentSublist->nextSublist;
    }
    
    return passed;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rcx, 0x8(%rsp)
cmpq $0x0, 0x8(%rdi)
je 0x8fd4
movl %edx, %ebp
movl %esi, %r14d
xorl %eax, %eax
cmpl %esi, %edx
jl 0x9055
movq %rdi, %r15
movl (%rdi), %eax
cmpl %r14d, %eax
setl %cl
testl %r14d, %r14d
setle %dl
orb %cl, %dl
cmpl %ebp, %eax
setl %al
orb %dl, %al
je 0x8fd9
pushq $0x2
jmp 0x8fd6
pushq $0x3
popq %rax
jmp 0x9055
leaq 0x14(%rsp), %rbx
movq %r15, %rdi
movl %r14d, %esi
movq %rbx, %rdx
callq 0x83ba
movq %rax, %r13
movl (%rbx), %ecx
movl %r14d, %eax
xorl %r12d, %r12d
cmpl %ebp, %r12d
jge 0x9053
movl (%r13), %edx
leal (%rdx,%rcx), %ebx
cmpl %ebp, %ebx
leal -0x1(%rdx,%rcx), %r12d
cmovgl %ebp, %r12d
movl %eax, %edx
subl %r14d, %edx
movl 0x10(%r15), %r8d
imull %r8d, %edx
movslq %edx, %rdi
addq 0x8(%rsp), %rdi
movl %r12d, %edx
subl %eax, %edx
subl %ecx, %eax
imull %r8d, %eax
cltq
leaq (%rax,%r13), %rsi
addq $0x18, %rsi
incl %edx
imull %r8d, %edx
movslq %edx, %rdx
callq 0x8220
leal 0x1(%r12), %eax
movq 0x8(%r13), %r13
movl %ebx, %ecx
jmp 0x8ff7
xorl %eax, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/heltilda[P]cicada/lnklst.c
// Function: skipElements
void *skipElements(linkedlist *theList, sublistHeader **theSublist, ccInt *localIndex, ccInt numberToSkip)
{
    *localIndex += numberToSkip;
    while (*localIndex >= (*theSublist)->numElements)  {
        *localIndex -= (*theSublist)->numElements;
        *theSublist = (*theSublist)->nextSublist;      }
    
    return (void *) ((char *) (*theSublist) + sublistHeaderSize + theList->elementSize*(*localIndex));
}

// Assembly:
addl (%rdx), %ecx
movl %ecx, (%rdx)
movq (%rsi), %rax
movl %ecx, %r8d
subl (%rax), %r8d
jl 0x90e3
movl %r8d, (%rdx)
movq 0x8(%rax), %rax
movq %rax, (%rsi)
movl %r8d, %ecx
jmp 0x90cf
movslq 0x10(%rdi), %rdx
movslq %ecx, %rcx
imulq %rdx, %rcx
addq %rcx, %rax
addq $0x18, %rax
retq
// File: /workspace/github_c_makefile_star2_O2/heltilda[P]cicada/lnklst.c
// Function: newPLL
ccInt newPLL(pinned_LL *basePLL, ccInt numElements, ccInt dataSize, ccFloat spareRoom)
{
    ccInt rtrn;
    
    rtrn = newLinkedList(&(basePLL->data), numElements, dataSize, spareRoom, ccFalse);
    if (rtrn != passed)  return rtrn;
    rtrn = newLinkedList(&(basePLL->references), numElements, sizeof(ccInt), spareRoom, ccTrue);
    if (rtrn != passed)  return rtrn;
    basePLL->lowestFreeSpot = 1;
    basePLL->highestFreeSpot = numElements;
    
    return passed;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movl %esi, %ebx
movq %rdi, %r14
movsd %xmm0, (%rsp)
xorl %ecx, %ecx
callq 0x83d5
testl %eax, %eax
jne 0x9137
leaq 0x20(%r14), %rdi
pushq $0x4
popq %rdx
pushq $0x1
popq %rcx
movl %ebx, %esi
movsd (%rsp), %xmm0
callq 0x83d5
testl %eax, %eax
jne 0x9137
movl $0x1, 0x40(%r14)
movl %ebx, 0x44(%r14)
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/heltilda[P]cicada/lnklst.c
// Function: addPLLElement
ccInt addPLLElement(pinned_LL *basePLL, void **newElementPtr, ccInt *newElementIndex)
{
    ccInt counter, rtrn;
    
    
        // Case 1:  add to the top of the list
    
    if (basePLL->lowestFreeSpot > basePLL->data.elementNum)   {             // shouldn't move what's in the lower sublists
        rtrn = addElements(&(basePLL->data), 1, ccFalse);         // with my current insertElements scheme
        if (rtrn != passed)  return rtrn;
        rtrn = addElements(&(basePLL->references), 1, ccTrue);     // references must be initially set to 0
        if (rtrn != passed)  return rtrn;
        
        *newElementIndex = basePLL->data.elementNum;
        *newElementPtr = element(&(basePLL->data), *newElementIndex);
        basePLL->lowestFreeSpot = *newElementIndex+1;
        basePLL->highestFreeSpot = 1;         }   // cannot equal lowestFreeSpot: we need it to be lower than any spots that open up
    
    
        // Case 2:  go to the lowest free element in the existing list
    
    else  {
        *newElementIndex = basePLL->lowestFreeSpot;
        *newElementPtr = element(&(basePLL->data), *newElementIndex);
        *LL_int(&(basePLL->references), *newElementIndex) = 0;
        
        if (basePLL->lowestFreeSpot >= basePLL->highestFreeSpot)  {
            basePLL->lowestFreeSpot = basePLL->data.elementNum+1;
            basePLL->highestFreeSpot = 1;     }
        
        else  {
        for (counter = basePLL->lowestFreeSpot+1; counter <= basePLL->highestFreeSpot; counter++)  {
        if (*LL_int(&(basePLL->references), counter) == 0)  {
            basePLL->lowestFreeSpot = counter;
            counter = basePLL->highestFreeSpot;
    }   }}}
    
    return passed;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %r15
movq %rsi, %r14
movq %rdi, %rbx
movl 0x40(%rdi), %ebp
cmpl (%rdi), %ebp
jle 0x91b0
pushq $0x1
popq %rsi
movq %rbx, %rdi
xorl %edx, %edx
callq 0x8b0f
testl %eax, %eax
jne 0x920e
leaq 0x20(%rbx), %rdi
pushq $0x1
popq %rdx
movl %edx, %esi
callq 0x8b0f
testl %eax, %eax
jne 0x920e
movl (%rbx), %ebp
movl %ebp, (%r15)
movq %rbx, %rdi
movl %ebp, %esi
callq 0x9088
movq %rax, (%r14)
incl %ebp
movl %ebp, 0x40(%rbx)
addq $0x44, %rbx
jmp 0x9206
movl %ebp, (%r15)
movq %rbx, %rdi
movl %ebp, %esi
callq 0x9088
movq %rax, (%r14)
leaq 0x20(%rbx), %r14
movq %r14, %rdi
movl %ebp, %esi
callq 0x9088
andl $0x0, (%rax)
movl 0x40(%rbx), %ebp
movl 0x44(%rbx), %r15d
cmpl %r15d, %ebp
jge 0x91fb
cmpl %r15d, %ebp
jge 0x920c
incl %ebp
movq %r14, %rdi
movl %ebp, %esi
callq 0x9088
cmpl $0x0, (%rax)
jne 0x91dd
movl %ebp, 0x40(%rbx)
movl %r15d, %ebp
jmp 0x91dd
movl (%rbx), %eax
incl %eax
movl %eax, 0x40(%rbx)
addq $0x44, %rbx
movl $0x1, (%rbx)
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/heltilda[P]cicada/lnklst.c
// Function: derefPLLPtr
void derefPLLPtr(pinned_LL *basePLL, ccInt elementIndex, ccInt *referencePtr)
{
    (*referencePtr)--;
    if (*referencePtr == 0)  {
        if (elementIndex < basePLL->lowestFreeSpot)  basePLL->lowestFreeSpot = elementIndex;
        if (elementIndex > basePLL->highestFreeSpot)  basePLL->highestFreeSpot = elementIndex;    }
    
    return;
}

// Assembly:
decl (%rdx)
je 0x9258
retq
cmpl %esi, 0x40(%rdi)
jle 0x9260
movl %esi, 0x40(%rdi)
cmpl %esi, 0x44(%rdi)
jge 0x9257
movl %esi, 0x44(%rdi)
retq
// File: /workspace/github_c_makefile_star2_O2/heltilda[P]cicada/lnklst.c
// Function: pushStack
ccInt pushStack(stack *theStack, void **newElementPtr)
{
    ccInt rtrn;
    
    if (theStack->top == theStack->data.elementNum)  {
        rtrn = addElements(&(theStack->data), 1, ccFalse);
        if (rtrn != passed)  return rtrn;         }
    
    (theStack->top)++;
    *newElementPtr = element(&(theStack->data), theStack->top);
    
    return passed;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r15
movl (%rdi), %esi
leaq 0x8(%rdi), %r14
cmpl 0x8(%rdi), %esi
jne 0x92d0
pushq $0x1
popq %rsi
movq %r14, %rdi
xorl %edx, %edx
callq 0x8b0f
testl %eax, %eax
jne 0x92e2
movl (%r15), %esi
incl %esi
movl %esi, (%r15)
movq %r14, %rdi
callq 0x9088
movq %rax, (%rbx)
xorl %eax, %eax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/heltilda[P]cicada/cmpile.c
// Function: freeCompiler
void freeCompiler(compiler_type *compiler)
{
    ccInt loopList, loopTokenString;
    
    deleteLinkedList(&(compiler->tokenSpecs));
    deleteLinkedList(&(compiler->allCodeWords));
    
    free((void *) compiler->OoOdirections);
    
    for (loopList = 0; loopList < 128; loopList++)  {
        linkedlist *theList = compiler->tokens + loopList;
        if (theList->memory != NULL)  {
        for (loopTokenString = 1; loopTokenString <= theList->elementNum; loopTokenString++)  {
            free((void *) (((tokenStringType *) element(theList, loopTokenString))->name));
        }}
        deleteLinkedList(theList);       }
    
    freeBytecode(compiler);
    
    deleteLinkedList(&(compiler->scriptTokens));
    deleteLinkedList(&(compiler->bytecode));
    deleteLinkedList(&(compiler->opCharNum));
    deleteLinkedList(&(compiler->varNames));
    free((void *) compiler);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rdi, %rbx
addq $0x1200, %rdi           # imm = 0x1200
callq 0x846b
leaq 0x1220(%rbx), %rdi
callq 0x846b
movq 0x1240(%rbx), %rdi
callq 0x81c0
xorl %r15d, %r15d
pushq $0x1
popq %r12
cmpq $0x80, %r15
je 0xa03b
movq %r15, %rax
shlq $0x5, %rax
leaq (%rbx,%rax), %r14
cmpq $0x0, 0x8(%rbx,%rax)
je 0xa02e
movl %r12d, %ebp
cmpl (%r14), %ebp
jg 0xa02e
movq %r14, %rdi
movl %ebp, %esi
callq 0x9088
movq (%rax), %rdi
callq 0x81c0
incl %ebp
jmp 0xa013
movq %r14, %rdi
callq 0x846b
incq %r15
jmp 0x9ff4
movq %rbx, %rdi
callq 0xb237
leaq 0x1440(%rbx), %rdi
callq 0x846b
leaq 0x1460(%rbx), %rdi
callq 0x846b
leaq 0x1480(%rbx), %rdi
callq 0x846b
leaq 0x14a0(%rbx), %rdi
callq 0x846b
movq %rbx, %rdi
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0x81c0
// File: /workspace/github_c_makefile_star2_O2/heltilda[P]cicada/cmpile.c
// Function: reorderTokens
ccInt reorderTokens(compiler_type *compiler, ccInt expressionType, ccBool replaceCommandWords)
{
    ccInt firstCmd, *lastOrderedToken = &firstCmd, firstToken = 1, rtrn;
    ccInt dummyLastTokenToFix;
    ccBool dummyRtrnTypes[11], *dummyRtrnTypePtr = &(dummyRtrnTypes[0]);       // this extra step prevents a warning message
    
    rtrn = defragmentLinkedList(&(compiler->scriptTokens));
    if (rtrn != passed)  return rtrn;
    
    resizeLinkedList(&(compiler->bytecode), 0, ccFalse);
    resizeLinkedList(&(compiler->opCharNum), 0, ccFalse);
    
    if (compiler->scriptTokens.elementNum == 0)  return passed;
    
    rtrn = relinkExpression(compiler, &firstToken, compiler->scriptTokens.elementNum, 0, expressionType, &lastOrderedToken,
        &dummyRtrnTypePtr, &dummyLastTokenToFix);
    if (rtrn != passed)  return rtrn;
    *lastOrderedToken = 0;         // so the reorderer knows it's finished here
    
    rtrn = writeTokenOps(compiler, firstCmd, replaceCommandWords);
    if (rtrn == passed)  rtrn = defragmentLinkedList(&(compiler->bytecode));
    
    return rtrn;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x30, %rsp
movl %edx, %ebx
movl %esi, %ebp
movq %rdi, %r14
leaq 0xc(%rsp), %rax
movq %rax, 0x10(%rsp)
movl $0x1, 0x8(%rsp)
leaq 0x25(%rsp), %rax
movq %rax, 0x18(%rsp)
addq $0x1440, %rdi           # imm = 0x1440
callq 0x8b50
testl %eax, %eax
je 0xaf15
movl %eax, %r12d
movl %r12d, %eax
addq $0x30, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
leaq 0x1460(%r14), %r15
xorl %r12d, %r12d
movq %r15, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x8b23
leaq 0x1480(%r14), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x8b23
movl 0x1440(%r14), %edx
testl %edx, %edx
je 0xaf05
leaq 0x20(%rsp), %rax
leaq 0x18(%rsp), %r10
leaq 0x8(%rsp), %rsi
leaq 0x10(%rsp), %r9
movq %r14, %rdi
xorl %ecx, %ecx
movl %ebp, %r8d
pushq %rax
pushq %r10
callq 0xb654
addq $0x10, %rsp
testl %eax, %eax
jne 0xaf02
movq 0x10(%rsp), %rax
andl $0x0, (%rax)
movl 0xc(%rsp), %esi
movsbl %bl, %edx
movq %r14, %rdi
callq 0xb898
testl %eax, %eax
jne 0xaf02
movq %r15, %rdi
callq 0x8b50
jmp 0xaf02
// File: /workspace/github_c_makefile_star2_O2/heltilda[P]cicada/cmpile.c
// Function: freeBytecode
void freeBytecode(compiler_type *compiler)
{
    ccInt loopOldToken;
    
    for (loopOldToken = 1; loopOldToken <= compiler->scriptTokens.elementNum; loopOldToken++)  {
    if (scriptToken(loopOldToken)->constData != NULL)  {
        free((void *) scriptToken(loopOldToken)->constData);
    }}
    
    resizeLinkedList(&(compiler->scriptTokens), 0, ccFalse);
    resizeLinkedList(&(compiler->bytecode), 0, ccFalse);
    resizeLinkedList(&(compiler->opCharNum), 0, ccFalse);
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
leaq 0x1440(%rdi), %r14
pushq $0x1
popq %rbp
cmpl (%r14), %ebp
jg 0xb275
movq %r14, %rdi
movl %ebp, %esi
callq 0x9088
cmpq $0x0, 0x18(%rax)
je 0xb271
movq %r14, %rdi
movl %ebp, %esi
callq 0x9088
movq 0x18(%rax), %rdi
callq 0x81c0
incl %ebp
jmp 0xb248
movq %r14, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x8b23
leaq 0x1460(%rbx), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x8b23
addq $0x1480, %rbx           # imm = 0x1480
movq %rbx, %rdi
xorl %esi, %esi
xorl %edx, %edx
popq %rbx
popq %r14
popq %rbp
jmp 0x8b23
// File: /workspace/github_c_makefile_star2_O2/heltilda[P]cicada/cmpile.c
// Function: compile
ccInt compile(compiler_type *compiler, char *programString)
{
    ccInt rtrn;
    
    freeBytecode(compiler);
    compilerWarning = 0;
    
    rtrn = tokenize(compiler, programString, 0);
    if (rtrn == passed)  rtrn = reorderTokens(compiler, 0, ccTrue);
    
    return rtrn;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
callq 0xb237
andl $0x0, 0x18fee(%rip)     # 0x242ac
movq %rbx, %rdi
movq %r14, %rsi
xorl %edx, %edx
callq 0xa417
testl %eax, %eax
je 0xb2d7
addq $0x8, %rsp
popq %rbx
popq %r14
retq
pushq $0x1
popq %rdx
movq %rbx, %rdi
xorl %esi, %esi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0xaec3
// File: /workspace/github_c_makefile_star2_O2/heltilda[P]cicada/cmpile.c
// Function: addScriptToken
ccInt addScriptToken(compiler_type *compiler, ccInt tokenID, ccInt tokenCharNum, ccInt *constData, ccInt constDataSize)
{
    scriptTokenType *oneScriptToken;
    
    ccInt rtrn = addElements(&(compiler->scriptTokens), 1, ccTrue);
    if (rtrn != passed)  return rtrn;
    
    oneScriptToken = scriptToken(compiler->scriptTokens.elementNum);
    
    oneScriptToken->tokenID = tokenID;
    oneScriptToken->rtrnTypes = tokenSpec(tokenID)->rtrnTypes;
    oneScriptToken->tokenCharNum = tokenCharNum;
    oneScriptToken->constData = constData;
    oneScriptToken->constDataSize = constDataSize;
    if (tokenSpec(tokenID)->nextToken != 0)  oneScriptToken->nextScriptToken = -1;
    else  oneScriptToken->nextScriptToken = 0;
    if (tokenID != 2)  oneScriptToken->adapterTokenToFix = 0;
    else  oneScriptToken->adapterTokenToFix = compiler->scriptTokens.elementNum;
    
    return passed;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %r8d, %r15d
movq %rcx, 0x10(%rsp)
movl %edx, %r12d
movl %esi, %r14d
movq %rdi, %r13
leaq 0x1440(%rdi), %rbx
pushq $0x1
popq %rdx
movq %rbx, %rdi
movl %edx, %esi
callq 0x8b0f
movl %eax, %ebp
testl %eax, %eax
jne 0xb394
movl 0x1440(%r13), %esi
movq %rbx, %rdi
callq 0x9088
movl %r15d, 0xc(%rsp)
movq %rax, %r15
movl %r14d, (%rax)
addq $0x1200, %r13           # imm = 0x1200
movq %r13, %rdi
movl %r14d, %esi
callq 0x9088
addq $0x18, %rax
movq %rax, 0x28(%r15)
movl %r12d, 0x4(%r15)
movq 0x10(%rsp), %rax
movq %rax, 0x18(%r15)
movl 0xc(%rsp), %eax
movl %eax, 0x20(%r15)
movq %r13, %rdi
movl %r14d, %esi
callq 0x9088
xorl %ecx, %ecx
cmpl 0x28(%rax), %ecx
movl $0x0, %eax
sbbl %eax, %eax
movl %eax, 0x14(%r15)
cmpl $0x2, %r14d
jne 0xb390
movl (%rbx), %ecx
movl %ecx, 0x30(%r15)
movl %ebp, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/heltilda[P]cicada/intrpt.c
// Function: copyString
void copyString(window *sourceStringWindow, member *destStringMember)
{
    ccInt rtrn;
    
    
        // if the source and destination variables are the same, then make a new window
        // (we check variables, not windows, in case we have a fake window from encompassMultiView())
    
    if (destStringMember->memberWindow->variable_ptr == sourceStringWindow->variable_ptr)  {
        window *oldDestWindow = destStringMember->memberWindow;
        destStringMember->indices = sourceStringWindow->width;
        rtrn = addWindow(sourceStringWindow->variable_ptr, sourceStringWindow->offset, sourceStringWindow->width,
                    &(destStringMember->memberWindow), ccTrue);
        if (rtrn != passed)  {  setError(rtrn, pcCodePtr-1);  return;  }
        refWindow(destStringMember->memberWindow);
        derefWindow(&oldDestWindow);        }
    
    
        // otherwise just resize the member and copy the data
    
    else  {
        resizeMember(destStringMember, 1, sourceStringWindow->width);
        if (errCode != passed)  return;
        
        copyElements(&(sourceStringWindow->variable_ptr->mem.data), sourceStringWindow->offset+1,
                &(destStringMember->memberWindow->variable_ptr->mem.data), destStringMember->memberWindow->offset+1,
                sourceStringWindow->width);     }
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq (%rsi), %rax
movq 0x10(%rdi), %rdi
cmpq %rdi, 0x10(%rax)
je 0xc6c6
movl 0x1c(%r14), %edx
pushq $0x1
popq %rsi
movq %rbx, %rdi
callq 0x11183
leaq 0x180ce(%rip), %rax     # 0x24760
cmpl $0x0, 0x18(%rax)
jne 0xc710
movq 0x10(%r14), %rdi
addq $0x10, %rdi
movl 0x18(%r14), %esi
incl %esi
movq (%rbx), %rax
movq 0x10(%rax), %rdx
addq $0x10, %rdx
movl 0x18(%rax), %ecx
incl %ecx
movl 0x1c(%r14), %r8d
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x87c7
movq %rax, (%rsp)
movl 0x1c(%r14), %edx
movl %edx, 0xc(%rbx)
movl 0x18(%r14), %esi
pushq $0x1
popq %r8
movq %rbx, %rcx
callq 0xc718
testl %eax, %eax
je 0xc700
leaq 0x18074(%rip), %rcx     # 0x24760
movq 0xb8(%rcx), %rsi
addq $-0x4, %rsi
movl %eax, %edi
callq 0xc7c2
jmp 0xc710
movq (%rbx), %rdi
callq 0xc7e1
movq %rsp, %rdi
callq 0xc801
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/heltilda[P]cicada/intrpt.c
// Function: addWindow
ccInt addWindow(variable *hostVariable, ccInt windowOffset, ccInt addedInstances, window **newWindow, ccBool ifCanJam)
{
    ccInt newIndex, rtrn;
    
    rtrn = addPLLElement(&(hostVariable->windows), (void **) newWindow, &newIndex);
    if (rtrn != passed)  return out_of_memory_err;
    
    (*newWindow)->PLL_index = newIndex;
    (*newWindow)->references = (ccInt *) element(&(hostVariable->windows.references), newIndex);
    (*newWindow)->variable_ptr = hostVariable;
    (*newWindow)->offset = windowOffset;
    (*newWindow)->business = ccFalse;
    if (ifCanJam)  (*newWindow)->jamStatus = can_jam;
    else  (*newWindow)->jamStatus = cannot_jam;
    
    *((*newWindow)->references) = 0;
    
    if (windowOffset == hostVariable->instances)   {
        (*newWindow)->width = 0;                            // the 'starting width' before addMemory() adds to it
        rtrn = addMemory(*newWindow, 0, addedInstances);    // no need to check overlap
        unflagVariables(hostVariable, busy_add_flag);
        return rtrn;       }
    else  (*newWindow)->width = addedInstances;
    
    return passed;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movl %r8d, %r15d
movq %rcx, %r12
movl %edx, %ebp
movl %esi, %r14d
movq %rdi, %rbx
addq $0x30, %rdi
leaq 0xc(%rsp), %rdx
movq %rcx, %rsi
callq 0x9155
testl %eax, %eax
je 0xc74c
pushq $0x1
popq %rbp
jmp 0xc7b3
movl 0xc(%rsp), %esi
movq (%r12), %rax
movl %esi, (%rax)
leaq 0x50(%rbx), %rdi
callq 0x9088
movq (%r12), %rcx
movq %rax, 0x8(%rcx)
movq (%r12), %rax
movq %rbx, 0x10(%rax)
movq (%r12), %rdi
movl %r14d, 0x18(%rdi)
andl $0x0, 0x24(%rdi)
testb %r15b, %r15b
setne 0x20(%rdi)
movq 0x8(%rdi), %rax
andl $0x0, (%rax)
cmpl %r14d, 0xf0(%rbx)
jne 0xc7ae
andl $0x0, 0x1c(%rdi)
xorl %esi, %esi
movl %ebp, %edx
callq 0xdaa5
movl %eax, %ebp
pushq $0x10
popq %rsi
movq %rbx, %rdi
callq 0xe756
jmp 0xc7b3
movl %ebp, 0x1c(%rdi)
xorl %ebp, %ebp
movl %ebp, %eax
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/heltilda[P]cicada/intrpt.c
// Function: refWindow
void refWindow(window *theWindow)
{
    if (theWindow == NULL)  return;
    
    RefPLLPtr(theWindow->references);
    if (*(theWindow->references) == 1)   {
        refVariable(theWindow->variable_ptr);    }
        
    return;
}

// Assembly:
testq %rdi, %rdi
je 0xc7f5
movq 0x8(%rdi), %rax
movl (%rax), %ecx
leal 0x1(%rcx), %edx
movl %edx, (%rax)
testl %ecx, %ecx
je 0xc7f6
retq
movq 0x10(%rdi), %rax
movq 0x8(%rax), %rax
incl (%rax)
retq
// File: /workspace/github_c_makefile_star2_O2/heltilda[P]cicada/intrpt.c
// Function: derefWindow
void derefWindow(window **theWindow)
{
    if (*theWindow == NULL)  return;
    
    derefPLLPtr(&((*theWindow)->variable_ptr->windows), (*theWindow)->PLL_index, (*theWindow)->references);
    if (*((*theWindow)->references) == 0)  derefVariable((*theWindow)->variable_ptr);
    
    *theWindow = NULL;
    
    return;
}

// Assembly:
movq (%rdi), %rax
testq %rax, %rax
je 0xc83a
pushq %rbx
movq %rdi, %rbx
movq 0x10(%rax), %rdi
addq $0x30, %rdi
movl (%rax), %esi
movq 0x8(%rax), %rdx
callq 0x9253
movq (%rbx), %rax
movq 0x8(%rax), %rcx
cmpl $0x0, (%rcx)
jne 0xc835
movq 0x10(%rax), %rdi
callq 0xe68d
andq $0x0, (%rbx)
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O2/heltilda[P]cicada/intrpt.c
// Function: compareString
void compareString(window *stringWindow1, member *stringMember2)
{
    window *stringWindow2 = stringMember2->memberWindow;
    
    if (!boolRegister)  return;
    if (stringWindow1->width != stringWindow2->width)  boolRegister = ccFalse;
    else if (!compareElements(&(stringWindow1->variable_ptr->mem.data), stringWindow1->offset+1,
            &(stringWindow2->variable_ptr->mem.data), stringWindow2->offset+1, stringWindow1->width))  boolRegister = ccFalse;
}

// Assembly:
pushq %rbx
leaq 0x17dc6(%rip), %rbx     # 0x24760
cmpb $0x0, 0x68(%rbx)
je 0xc9d7
movq (%rsi), %rcx
movl 0x1c(%rdi), %r8d
cmpl 0x1c(%rcx), %r8d
jne 0xc9d3
movq 0x10(%rdi), %rax
addq $0x10, %rax
movl 0x18(%rdi), %esi
incl %esi
movq 0x10(%rcx), %rdx
addq $0x10, %rdx
movl 0x18(%rcx), %ecx
incl %ecx
movq %rax, %rdi
callq 0x8beb
testb %al, %al
jne 0xc9d7
movb $0x0, 0x68(%rbx)
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O2/heltilda[P]cicada/intrpt.c
// Function: findNextVisibleMember
void findNextVisibleMember(variable *theVariable, member **theMember, ccInt *memberCounter)
{
    do  {
        (*memberCounter)++;
        if (*memberCounter > theVariable->mem.members.elementNum)  return;
        *theMember = LL_member(theVariable, *memberCounter);
    }  while (((*theMember)->ifHidden) || ((*theMember)->indices == 0));
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
addq $0x10, %r15
movl (%rbx), %eax
leal 0x1(%rax), %esi
movl %esi, (%rbx)
cmpl (%r15), %eax
jge 0xcafd
movq %r15, %rdi
callq 0x9088
movq %rax, (%r14)
cmpb $0x0, 0x40(%rax)
jne 0xcada
cmpl $0x0, 0xc(%rax)
je 0xcada
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/heltilda[P]cicada/intrpt.c
// Function: stepView
void stepView(view *viewToStep, member *startingMember, ccInt entryOffset, ccInt indexWidth)
{
    window *memberWindow = startingMember->memberWindow;
    ccInt startingOffset = viewToStep->offset;
    if (viewToStep->windowPtr->variable_ptr->type == string_type)  startingOffset = 0;
    
    if (memberWindow == NULL)  {  viewToStep->windowPtr = NULL;  setError(void_member_err, pcCodePtr-1);  return;  };
    
    viewToStep->windowPtr = memberWindow;
    if (startingMember->memberWindow->jamStatus == unjammed)  {
        viewToStep->windowPtr = NULL;
        setError(void_member_err, pcCodePtr-1);
        return;         }
    
    viewToStep->offset = startingOffset*startingMember->indices + viewToStep->windowPtr->offset + entryOffset;
    viewToStep->width *= indexWidth;
}

// Assembly:
movq (%rsi), %rax
movq (%rdi), %r8
movq 0x10(%r8), %r9
xorl %r8d, %r8d
cmpl $0x4, 0xc0(%r9)
je 0xcb1e
movl 0x8(%rdi), %r8d
testq %rax, %rax
je 0xcb2c
movq %rax, (%rdi)
cmpb $0x2, 0x20(%rax)
jne 0xcb4a
andq $0x0, (%rdi)
leaq 0x17c29(%rip), %rax     # 0x24760
movq 0xb8(%rax), %rsi
addq $-0x4, %rsi
pushq $0x1a
popq %rdi
jmp 0xc7c2
imull 0xc(%rsi), %r8d
addl 0x18(%rax), %edx
addl %r8d, %edx
movl %edx, 0x8(%rdi)
imull 0xc(%rdi), %ecx
movl %ecx, 0xc(%rdi)
retq
// File: /workspace/github_c_makefile_star2_O2/heltilda[P]cicada/intrpt.c
// Function: copyCompareListToVar
void copyCompareListToVar(void *sourceData, ccInt sourceDataType, view *destView, void(**copyCompareJumpTable)(void *, void *))
{
    void(*ccFunction)(void *, void *) = copyCompareJumpTable[5*sourceDataType + destView->windowPtr->variable_ptr->type];
    linkedlist *destLL = &(destView->windowPtr->variable_ptr->mem.data);
    sublistHeader *destLLsublist = destLL->memory;
    ccInt loopVar, LLsublistLocalIndex = 0;
    
    if (destView->width >= 1)  {
        ccFunction(sourceData, skipElements(destLL, &destLLsublist, &LLsublistLocalIndex, destView->offset));
        if (errCode == passed)  {
        for (loopVar = 2; loopVar <= destView->width; loopVar++)  {
            ccFunction(sourceData, skipElements(destLL, &destLLsublist, &LLsublistLocalIndex, 1));
            if (errCode != passed)  break;
    }   }}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdx, %rbx
movslq %esi, %rax
leaq (%rax,%rax,4), %rax
movq (%rdx), %rdx
movq 0x10(%rdx), %r14
movslq 0xc0(%r14), %rdx
addq %rax, %rdx
movq (%rcx,%rdx,8), %r12
movq 0x18(%r14), %rax
andl $0x0, 0xc(%rsp)
movq %rax, 0x10(%rsp)
cmpl $0x0, 0xc(%rbx)
jle 0xcc03
movq %rdi, %r15
addq $0x10, %r14
movl 0x8(%rbx), %ecx
leaq 0x10(%rsp), %rsi
leaq 0xc(%rsp), %rdx
movq %r14, %rdi
callq 0x90c5
movq %r15, %rdi
movq %rax, %rsi
callq *%r12
leaq 0x17b93(%rip), %r13     # 0x24760
cmpl $0x0, 0x18(%r13)
jne 0xcc03
pushq $0x1
popq %rbp
incl %ebp
cmpl 0xc(%rbx), %ebp
jg 0xcc03
movq %r14, %rdi
leaq 0x10(%rsp), %rsi
leaq 0xc(%rsp), %rdx
pushq $0x1
popq %rcx
callq 0x90c5
movq %r15, %rdi
movq %rax, %rsi
callq *%r12
cmpl $0x0, 0x18(%r13)
je 0xcbd7
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq