LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O3/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
movl $0x1, %ebx
cmpl $0x0, (%rax)
jne 0x7984
movl %r9d, %r14d
movq %rcx, %r12
movq %rdx, %r13
movq %rdi, %r15
movq %r8, -0x30(%rbp)
addq $0x188, %r15            # imm = 0x188
movl $0x7, %edx
movq %rsi, %rdi
movq %rcx, %rsi
movq %r15, %rcx
xorl %r8d, %r8d
callq 0x70f0
testl %eax, %eax
je 0x7995
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 0x7984
movslq 0x4(%r15,%rax,8), %rax
addq %rax, %r12
movq -0x30(%rbp), %rax
movq %r12, (%rax)
movl $0x7, %edx
movq %r13, %rdi
movq %r12, %rsi
movq %r15, %rcx
xorl %r8d, %r8d
callq 0x70f0
testl %eax, %eax
jne 0x7984
movslq (%r15), %rax
testq %rax, %rax
js 0x7984
movq -0x30(%rbp), %rcx
addq (%rcx), %rax
movq %rax, 0x8(%rcx)
xorl %ebx, %ebx
jmp 0x7984
// File: /workspace/github_c_makefile_star2_O3/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 0x85d4
cmpl $0x5, %eax
jne 0x868a
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 0x86a9
testl %eax, %eax
js 0x865d
movl %eax, %eax
imulq $0x38, %rax, %rax
movslq 0x30(%r14), %rdx
addq 0x28(%r14), %rax
testq %rdx, %rdx
setle %cl
testl %ebx, %ebx
setns %r9b
sets %sil
orb %cl, %sil
jne 0x8661
movq 0x38(%r14), %rsi
leaq 0x28(%rax), %rdi
addq $0x8, %rsi
movl $0x1, %r8d
xorl %ecx, %ecx
cmpq %rax, -0x8(%rsi)
jne 0x8645
cmpq $0x0, (%rsi)
movq %rsi, %rcx
cmoveq %rdi, %rcx
decl %ebx
testl %ebx, %ebx
setns %r9b
cmpq %rdx, %r8
jae 0x8663
addq $0x18, %rsi
incq %r8
testl %ebx, %ebx
jns 0x8632
jmp 0x8663
xorl %eax, %eax
jmp 0x867d
xorl %ecx, %ecx
testb %r9b, %r9b
je 0x8675
cmpq $0x0, 0x28(%rax)
je 0x8675
addq $0x28, %rax
jmp 0x867d
xorl %eax, %eax
testl %ebx, %ebx
cmovsq %rcx, %rax
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
leaq 0x1a72(%rip), %rdi      # 0xa103
leaq 0x1a9c(%rip), %rsi      # 0xa134
leaq 0x1aa0(%rip), %rcx      # 0xa13f
movl $0x3fe, %edx            # imm = 0x3FE
callq 0x7080
// File: /workspace/github_c_makefile_star2_O3/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, -0x40(%rbp)
movslq 0x20(%rdi), %rbx
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
testq %rbx, %rbx
jle 0x8751
movq (%rsi), %rax
movq 0x8(%rsi), %r12
movq %rax, -0x30(%rbp)
subq %rax, %r12
movl %r12d, %eax
movq %rax, -0x38(%rbp)
movl $0x10, %r14d
xorl %r15d, %r15d
testl %r12d, %r12d
je 0x873b
movq -0x40(%rbp), %rax
movq 0x28(%rax), %r13
movq -0x10(%r13,%r14), %rsi
movl -0x8(%r13,%r14), %eax
subl %esi, %eax
cmpl %eax, %r12d
jne 0x871d
movq -0x30(%rbp), %rdi
movq -0x38(%rbp), %rdx
callq 0x7040
testl %eax, %eax
je 0x874e
cmpl $0x2, %r12d
jne 0x873b
addq %r14, %r13
movl $0x2, %edx
movq -0x30(%rbp), %rdi
movq %r13, %rsi
callq 0x7040
testl %eax, %eax
je 0x874e
incq %r15
addq $0x38, %r14
cmpq %r15, %rbx
jne 0x86ee
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
jmp 0x8751
movl %r15d, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/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 0x8798
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x28(%rdi), %rdi
testq %rdi, %rdi
je 0x877c
callq 0x7030
movq 0x38(%rbx), %rdi
testq %rdi, %rdi
je 0x878a
callq 0x7030
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %rbp
jmp 0x7030
retq
// File: /workspace/github_c_makefile_star2_O3/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)
movslq %esi, %rax
imulq $0x3c8, %rax, %rax      # imm = 0x3C8
leaq 0x5815(%rip), %rcx      # 0xe210
movq 0xf8(%rax,%rcx), %r14
testq %r14, %r14
je 0x8a7e
movl %esi, -0x2c(%rbp)
leaq (%rcx,%rax), %rdx
movq %rdx, -0x40(%rbp)
leaq (%rax,%rcx), %r12
addq $0x110, %r12            # imm = 0x110
xorl %r15d, %r15d
movl -0x10(%r12), %edx
movq -0x38(%rbp), %rdi
movq %r14, %rsi
callq 0x85ae
testq %rax, %rax
je 0x8aea
movq -0x8(%r12), %rbx
testq %rbx, %rbx
je 0x8a6e
movq %rax, %r13
movq %rbx, %rdi
callq 0x7070
movq (%r13), %rsi
movl 0x8(%r13), %ecx
subl %esi, %ecx
cmpq %rcx, %rax
jne 0x8a85
movq %rbx, %rdi
movq %rax, %rdx
callq 0x7040
testl %eax, %eax
jne 0x8a85
movq (%r12), %r14
incl %r15d
addq $0x18, %r12
testq %r14, %r14
jne 0x8a21
xorl %eax, %eax
jmp 0x8b3f
movq 0x2854c(%rip), %rax     # 0x30fd8
movq (%rax), %rdi
movq -0x40(%rbp), %rax
movslq (%rax), %rcx
movq %rcx, -0x38(%rbp)
leaq 0x2861f(%rip), %rax     # 0x310c0
movq (%rax,%rcx,8), %rcx
leaq 0x341c(%rip), %rsi      # 0xbec8
movl -0x2c(%rbp), %r12d
movl %r12d, %edx
xorl %eax, %eax
callq 0x70e0
movq 0x28517(%rip), %rax     # 0x30fd8
movq (%rax), %rdi
leaq 0x3424(%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
addq $0x10, %rsp
jmp 0x8b3a
movq 0x284e7(%rip), %r12     # 0x30fd8
movq (%r12), %rdi
movq -0x40(%rbp), %rax
movslq (%rax), %rbx
leaq 0x285bd(%rip), %rax     # 0x310c0
movq (%rax,%rbx,8), %rcx
leaq 0x33ba(%rip), %rsi      # 0xbec8
movl -0x2c(%rbp), %r13d
movl %r13d, %edx
xorl %eax, %eax
callq 0x70e0
movq (%r12), %rdi
leaq 0x33ab(%rip), %rsi      # 0xbed2
movl %r13d, %edx
movl %r15d, %ecx
movl %ebx, %r8d
movq %r14, %r9
xorl %eax, %eax
callq 0x70e0
movl $0x1, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/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 0x8b74
movq 0x20(%rbx), %rax
jmp 0x8b8b
leal (%rsi,%rsi), %eax
movl %eax, 0x18(%rbx)
movq 0x20(%rbx), %rdi
shlq $0x4, %rsi
callq 0x7100
movq %rax, 0x20(%rbx)
movq $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_O3/jaroslov[P]docoptc/./docopt.h
// Function: docopt_parse_command
static void docopt_parse_command(struct docopt_parse_state* dS, struct docopt_str* usestmt)
{
    if (dS->entries->error) return;
    while (
        (usestmt->fst < usestmt->lst) &&
        (strncmp(DOCOPT_REPEAT, usestmt->fst, strlen(DOCOPT_REPEAT)) != 0) &&
        (strchr("()[]|", usestmt->fst[0]) == 0) &&
        !isspace(usestmt->fst[0]) &&
        1)
        ++usestmt->fst;
}

// Assembly:
testl %edi, %edi
je 0x93ec
retq
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq (%rsi), %r13
movq 0x8(%rsi), %r12
cmpq %r12, %r13
jae 0x9462
incq %r13
leaq 0x2e21(%rip), %r14      # 0xc234
movsbl -0x1(%r13), %r15d
cmpl $0x2e, %r15d
jne 0x942c
cmpb $0x2e, (%r13)
jne 0x942c
cmpb $0x2e, 0x1(%r13)
je 0x9462
movl $0x6, %edx
movq %r14, %rdi
movl %r15d, %esi
callq 0x70c0
testq %rax, %rax
jne 0x9462
callq 0x7140
movq (%rax), %rax
movslq %r15d, %rcx
testb $0x20, 0x1(%rax,%rcx,2)
jne 0x9462
movq %r13, (%rbx)
leaq 0x1(%r13), %rax
cmpq %r12, %r13
movq %rax, %r13
jne 0x9413
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/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 0x8be8
movl (%rdi), %r8d
movl %esi, %eax
subl %r8d, %eax
jle 0x8bee
incl %r8d
movsbl %dl, %ecx
movl %r8d, %esi
movl %eax, %edx
jmp 0x84af
movl $0x3, %eax
retq
xorl %eax, %eax
cmpl %r8d, %esi
jge 0x8bff
incl %esi
movl %r8d, %edx
jmp 0x868b
retq
// File: /workspace/github_c_makefile_star2_O3/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:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x30, %rsp
movq 0x8(%rdi), %rax
testq %rax, %rax
je 0x8c67
movq %rdi, %r14
movl (%rdi), %ecx
xorl %ebx, %ebx
cmpl (%rax), %ecx
je 0x8c6c
movups (%r14), %xmm0
movups 0x10(%r14), %xmm1
movaps %xmm0, (%rsp)
movaps %xmm1, 0x10(%rsp)
movl (%rsp), %ebp
movl 0x10(%rsp), %edx
movsd 0x18(%rsp), %xmm0
movq %r14, %rdi
movl %ebp, %esi
movsd %xmm0, 0x28(%rsp)
xorl %ecx, %ecx
callq 0x83e1
testl %eax, %eax
je 0x8c77
movl %eax, %ebx
movaps (%rsp), %xmm0
movaps 0x10(%rsp), %xmm1
movups %xmm1, 0x10(%r14)
movups %xmm0, (%r14)
jmp 0x8c6c
movl $0x3, %ebx
movl %ebx, %eax
addq $0x30, %rsp
popq %rbx
popq %r14
popq %rbp
retq
movsd 0x28(%rsp), %xmm0
movsd %xmm0, 0x18(%r14)
cmpl $0x0, (%r14)
jle 0x8ca7
movq %rsp, %rdi
movl $0x1, %esi
movq %r14, %rdx
movl $0x1, %ecx
movl %ebp, %r8d
callq 0x8856
movl %eax, %ebx
testl %eax, %eax
jne 0x8c6c
movq 0x8(%rsp), %rdi
xorl %ebx, %ebx
testq %rdi, %rdi
je 0x8c6c
movq 0x8(%rdi), %r14
callq 0x81c0
movq %r14, %rdi
testq %r14, %r14
jne 0x8cb3
jmp 0x8c6c
// File: /workspace/github_c_makefile_star2_O3/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:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq 0x8(%rdi), %r12
testq %r12, %r12
je 0x8fa6
movl %edx, %ebx
movq %rdi, %r14
movl (%rdi), %r8d
cmpl %esi, %r8d
setl %dl
testl %esi, %esi
setle %dil
orb %dl, %dil
movl $0x2, %eax
jne 0x8fab
cmpl %ebx, %r8d
setl %dil
testl %ebx, %ebx
setle %dl
orb %dil, %dl
jne 0x8fab
movl (%r12), %edx
movl $0x1, %edi
cmpl %esi, %edx
jge 0x8f4d
movl %edx, %edi
movq 0x8(%r12), %r12
movl (%r12), %edx
addl %edi, %edx
cmpl %esi, %edx
jl 0x8f3a
incl %edi
xorl %eax, %eax
cmpl %ebx, %esi
jg 0x8fab
movzbl %cl, %r15d
movl (%r12), %ecx
leal (%rcx,%rdi), %r13d
cmpl %ebx, %r13d
leal -0x1(%rcx,%rdi), %ebp
cmovgl %ebx, %ebp
movl %ebp, %ecx
subl %esi, %ecx
subl %edi, %esi
movslq 0x10(%r14), %rax
movslq %esi, %rdx
imulq %rax, %rdx
leaq (%r12,%rdx), %rdi
addq $0x18, %rdi
incl %ecx
movslq %ecx, %rdx
imulq %rax, %rdx
movl %r15d, %esi
callq 0x80c0
leal 0x1(%rbp), %esi
movq 0x8(%r12), %r12
movl %r13d, %edi
cmpl %ebx, %ebp
jl 0x8f57
xorl %eax, %eax
jmp 0x8fab
movl $0x3, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/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
pushq %rax
movq 0x8(%rdi), %r12
testq %r12, %r12
je 0x9087
movl %edx, %r14d
movl %esi, %ebp
cmpl %esi, %edx
jl 0x9083
movl (%rdi), %eax
cmpl %ebp, %eax
setl %sil
testl %ebp, %ebp
setle %dl
orb %sil, %dl
cmpl %r14d, %eax
setl %al
orb %dl, %al
movl $0x2, %eax
jne 0x908c
movq %rcx, %r15
movl (%r12), %edx
movl $0x1, %eax
cmpl %ebp, %edx
jge 0x9025
movl %edx, %eax
movq 0x8(%r12), %r12
movl (%r12), %edx
addl %eax, %edx
cmpl %ebp, %edx
jl 0x9012
incl %eax
movl %ebp, %esi
movq %rdi, (%rsp)
movl (%r12), %edx
leal (%rdx,%rax), %r13d
cmpl %r14d, %r13d
leal -0x1(%rdx,%rax), %ebx
cmovgl %r14d, %ebx
movl %esi, %edx
subl %eax, %edx
movl 0x10(%rdi), %eax
imull %eax, %edx
movslq %edx, %rdx
leaq (%r12,%rdx), %rdi
addq $0x18, %rdi
movl %ebx, %edx
subl %esi, %edx
subl %ebp, %esi
imull %eax, %esi
movslq %esi, %rsi
addq %r15, %rsi
incl %edx
imull %eax, %edx
movslq %edx, %rdx
callq 0x8220
movq (%rsp), %rdi
leal 0x1(%rbx), %esi
movq 0x8(%r12), %r12
movl %r13d, %eax
cmpl %r14d, %ebx
jl 0x902b
xorl %eax, %eax
jmp 0x908c
movl $0x3, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/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
pushq %rax
movq 0x8(%rdi), %r12
testq %r12, %r12
je 0x9178
movl %edx, %ebp
cmpl %esi, %edx
jl 0x9174
movq %rdi, %r14
movl (%rdi), %eax
cmpl %esi, %eax
setl %r8b
testl %esi, %esi
setle %dl
orb %r8b, %dl
cmpl %ebp, %eax
setl %al
orb %dl, %al
movl $0x2, %eax
jne 0x917d
movq %rcx, %r15
movl (%r12), %edx
movl $0x1, %eax
cmpl %esi, %edx
jge 0x910f
movl %edx, %eax
movq 0x8(%r12), %r12
movl (%r12), %edx
addl %eax, %edx
cmpl %esi, %edx
jl 0x90fc
incl %eax
movl %esi, %r9d
movl %esi, 0x4(%rsp)
movl (%r12), %edx
leal (%rdx,%rax), %r13d
cmpl %ebp, %r13d
leal -0x1(%rdx,%rax), %ebx
cmovgl %ebp, %ebx
movl %r9d, %edx
subl %esi, %edx
movl 0x10(%r14), %r8d
imull %r8d, %edx
movslq %edx, %rdi
addq %r15, %rdi
movl %ebx, %edx
subl %r9d, %edx
subl %eax, %r9d
imull %r8d, %r9d
movslq %r9d, %rax
leaq (%r12,%rax), %rsi
addq $0x18, %rsi
incl %edx
imull %r8d, %edx
movslq %edx, %rdx
callq 0x8220
movl 0x4(%rsp), %esi
leal 0x1(%rbx), %r9d
movq 0x8(%r12), %r12
movl %r13d, %eax
cmpl %ebp, %ebx
jl 0x9116
xorl %eax, %eax
jmp 0x917d
movl $0x3, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/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 (%rax), %r8d
cmpl %r8d, %ecx
jl 0x9229
subl %r8d, %ecx
movl %ecx, (%rdx)
movq 0x8(%rax), %rax
movq %rax, (%rsi)
jmp 0x9213
movslq 0x10(%rdi), %rdx
movslq %ecx, %rcx
imulq %rdx, %rcx
addq %rcx, %rax
addq $0x18, %rax
retq
// File: /workspace/github_c_makefile_star2_O3/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 0x83e1
testl %eax, %eax
jne 0x9281
leaq 0x20(%r14), %rdi
movl %ebx, %esi
movl $0x4, %edx
movsd (%rsp), %xmm0
movl $0x1, %ecx
callq 0x83e1
testl %eax, %eax
jne 0x9281
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_O3/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 0x94cb
retq
cmpl %esi, 0x40(%rdi)
jle 0x94d3
movl %esi, 0x40(%rdi)
cmpl %esi, 0x44(%rdi)
jge 0x94ca
movl %esi, 0x44(%rdi)
retq
// File: /workspace/github_c_makefile_star2_O3/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 %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movl (%rdi), %esi
cmpl 0x8(%rdi), %esi
jne 0x956e
leaq 0x8(%r14), %rdi
incl %esi
movl $0x1, %edx
xorl %ecx, %ecx
callq 0x84af
testl %eax, %eax
jne 0x95ac
movl (%r14), %esi
leal 0x1(%rsi), %ecx
movl %ecx, (%r14)
movq 0x10(%r14), %rax
movl (%rax), %edi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
cmpl %esi, %edi
jg 0x9593
movl %edi, %edx
movq 0x8(%rax), %rax
movl (%rax), %edi
addl %edx, %edi
cmpl %esi, %edi
jle 0x9583
notl %edx
movslq 0x18(%r14), %rsi
addl %ecx, %edx
movslq %edx, %rcx
imulq %rsi, %rcx
addq %rcx, %rax
addq $0x18, %rax
movq %rax, (%rbx)
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/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 %rbx
pushq %rax
movq %rdi, %rbx
addq $0x1200, %rdi           # imm = 0x1200
callq 0x847e
leaq 0x1220(%rbx), %rdi
callq 0x847e
movq 0x1240(%rbx), %rdi
callq 0x81c0
xorl %r15d, %r15d
movq %r15, %rax
shlq $0x5, %rax
leaq (%rbx,%rax), %r14
cmpq $0x0, 0x8(%rbx,%rax)
je 0xa46c
cmpl $0x0, (%r14)
jle 0xa46c
xorl %ebp, %ebp
incl %ebp
movq %r14, %rdi
movl %ebp, %esi
callq 0x91d8
movq (%rax), %rdi
callq 0x81c0
cmpl (%r14), %ebp
jl 0xa453
movq %r14, %rdi
callq 0x847e
incq %r15
cmpq $0x80, %r15
jne 0xa438
movq %rbx, %rdi
callq 0xb787
leaq 0x1440(%rbx), %rdi
callq 0x847e
leaq 0x1460(%rbx), %rdi
callq 0x847e
leaq 0x1480(%rbx), %rdi
callq 0x847e
leaq 0x14a0(%rbx), %rdi
callq 0x847e
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x81c0
// File: /workspace/github_c_makefile_star2_O3/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 0x8c00
testl %eax, %eax
je 0xb4db
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 0x8bc7
leaq 0x1480(%r14), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x8bc7
movl 0x1440(%r14), %edx
testl %edx, %edx
je 0xb4cb
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 0xbcef
addq $0x10, %rsp
testl %eax, %eax
jne 0xb4c8
movq 0x10(%rsp), %rax
movl $0x0, (%rax)
movl 0xc(%rsp), %esi
movsbl %bl, %edx
movq %r14, %rdi
callq 0xbf6f
testl %eax, %eax
jne 0xb4c8
movq %r15, %rdi
callq 0x8c00
jmp 0xb4c8
// File: /workspace/github_c_makefile_star2_O3/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
cmpl $0x0, 0x1440(%rdi)
jle 0xb7cb
xorl %ebp, %ebp
incl %ebp
movq %r14, %rdi
movl %ebp, %esi
callq 0x91d8
cmpq $0x0, 0x18(%rax)
je 0xb7c6
movq %r14, %rdi
movl %ebp, %esi
callq 0x91d8
movq 0x18(%rax), %rdi
callq 0x81c0
cmpl (%r14), %ebp
jl 0xb7a0
movq %r14, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x8bc7
leaq 0x1460(%rbx), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x8bc7
addq $0x1480, %rbx           # imm = 0x1480
movq %rbx, %rdi
xorl %esi, %esi
xorl %edx, %edx
popq %rbx
popq %r14
popq %rbp
jmp 0x8bc7
// File: /workspace/github_c_makefile_star2_O3/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 0xb787
movl $0x0, 0x19a95(%rip)     # 0x252ac
movq %rbx, %rdi
movq %r14, %rsi
xorl %edx, %edx
callq 0xa8a2
testl %eax, %eax
je 0xb830
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movq %rbx, %rdi
xorl %esi, %esi
movl $0x1, %edx
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0xb489
// File: /workspace/github_c_makefile_star2_O3/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
movq %rbx, %rdi
movl $0x1, %esi
movl $0x1, %edx
callq 0x8bb3
movl %eax, %ebp
testl %eax, %eax
jne 0xb8f4
movl 0x1440(%r13), %esi
movq %rbx, %rdi
callq 0x91d8
movl %r15d, 0xc(%rsp)
movq %rax, %r15
movl %r14d, (%rax)
addq $0x1200, %r13           # imm = 0x1200
movq %r13, %rdi
movl %r14d, %esi
callq 0x91d8
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 0x91d8
xorl %ecx, %ecx
cmpl 0x28(%rax), %ecx
movl $0x0, %eax
sbbl %eax, %eax
movl %eax, 0x14(%r15)
cmpl $0x2, %r14d
jne 0xb8f0
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_O3/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 0xce76
movl 0x1c(%r14), %edx
movq %rbx, %rdi
movl $0x1, %esi
callq 0x12023
leaq 0x18922(%rip), %rax     # 0x25760
cmpl $0x0, 0x18(%rax)
jne 0xcee7
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 0x8856
movq %rax, (%rsp)
movl 0x1c(%r14), %edx
movl %edx, 0xc(%rbx)
movl 0x18(%r14), %esi
movq %rbx, %rcx
movl $0x1, %r8d
callq 0xceef
testl %eax, %eax
je 0xcebe
leaq 0x188c2(%rip), %r8      # 0x25760
movq 0xb8(%r8), %rdi
addq $-0x4, %rdi
leaq 0x18(%r8), %rdx
leaq 0x1c(%r8), %rcx
addq $0x28, %r8
movl %eax, %esi
callq 0xef9a
jmp 0xcee7
movq (%rbx), %rax
testq %rax, %rax
je 0xcedf
movq 0x8(%rax), %rcx
movl (%rcx), %edx
leal 0x1(%rdx), %esi
movl %esi, (%rcx)
testl %edx, %edx
jne 0xcedf
movq 0x10(%rax), %rax
movq 0x8(%rax), %rax
incl (%rax)
movq %rsp, %rdi
callq 0xcfe2
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/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 %r13
pushq %r12
pushq %rbx
pushq %rax
movl %r8d, %r15d
movq %rcx, %r12
movl %edx, %ebp
movl %esi, %r14d
movq %rdi, %rbx
addq $0x30, %rdi
leaq 0x4(%rsp), %rdx
movq %rcx, %rsi
callq 0x92dc
movl $0x1, %r13d
testl %eax, %eax
jne 0xcf91
movl 0x4(%rsp), %esi
movq (%r12), %rax
movl %esi, (%rax)
leaq 0x50(%rbx), %rdi
callq 0x91d8
movq (%r12), %rcx
movq %rax, 0x8(%rcx)
movq (%r12), %rax
movq %rbx, 0x10(%rax)
movq (%r12), %rdi
movl %r14d, 0x18(%rdi)
xorl %r13d, %r13d
movl %r13d, 0x24(%rdi)
testb %r15b, %r15b
setne 0x20(%rdi)
movq 0x8(%rdi), %rax
movl %r13d, (%rax)
cmpl %r14d, 0xf0(%rbx)
jne 0xcf8e
movl $0x0, 0x1c(%rdi)
xorl %esi, %esi
movl %ebp, %edx
callq 0xe4ce
movl %eax, %r13d
movq %rbx, %rdi
movl $0x10, %esi
callq 0xf27d
jmp 0xcf91
movl %ebp, 0x1c(%rdi)
movl %r13d, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/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 0xcfd6
movq 0x8(%rdi), %rax
movl (%rax), %ecx
leal 0x1(%rcx), %edx
movl %edx, (%rax)
testl %ecx, %ecx
je 0xcfd7
retq
movq 0x10(%rdi), %rax
movq 0x8(%rax), %rax
incl (%rax)
retq
// File: /workspace/github_c_makefile_star2_O3/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 0xd01e
pushq %rbx
movq %rdi, %rbx
movq 0x10(%rax), %rdi
addq $0x30, %rdi
movl (%rax), %esi
movq 0x8(%rax), %rdx
callq 0x94c6
movq (%rbx), %rax
movq 0x8(%rax), %rcx
cmpl $0x0, (%rcx)
jne 0xd016
movq 0x10(%rax), %rdi
callq 0xf17a
movq $0x0, (%rbx)
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O3/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 0x185aa(%rip), %rbx     # 0x25760
cmpb $0x0, 0x68(%rbx)
je 0xd1f3
movq (%rsi), %rcx
movl 0x1c(%rdi), %r8d
cmpl 0x1c(%rcx), %r8d
jne 0xd1ef
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 0x8cc6
testb %al, %al
jne 0xd1f3
movb $0x0, 0x68(%rbx)
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O3/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 %rsi, %r14
movl (%rdx), %eax
leal 0x1(%rax), %esi
movl %esi, (%rdx)
cmpl 0x10(%rdi), %eax
jge 0xd325
movq %rdx, %rbx
movq %rdi, %r15
addq $0x10, %r15
movq %r15, %rdi
callq 0x91d8
movq %rax, (%r14)
cmpb $0x0, 0x40(%rax)
jne 0xd319
cmpl $0x0, 0xc(%rax)
jne 0xd325
movl (%rbx), %eax
leal 0x1(%rax), %esi
movl %esi, (%rbx)
cmpl (%r15), %eax
jl 0xd302
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/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 0xd346
movl 0x8(%rdi), %r8d
testq %rax, %rax
je 0xd354
movq %rax, (%rdi)
cmpb $0x2, 0x20(%rax)
jne 0xd383
movq $0x0, (%rdi)
leaq 0x183fe(%rip), %r8      # 0x25760
movq 0xb8(%r8), %rdi
addq $-0x4, %rdi
leaq 0x18(%r8), %rdx
leaq 0x1c(%r8), %rcx
addq $0x28, %r8
movl $0x1a, %esi
jmp 0xef9a
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_O3/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), %r15
movslq 0xc0(%r15), %rdx
addq %rax, %rdx
movq (%rcx,%rdx,8), %rbp
movq 0x18(%r15), %rax
movq %rax, 0x10(%rsp)
movl $0x0, 0xc(%rsp)
cmpl $0x0, 0xc(%rbx)
jle 0xd44c
movq %rdi, %r14
addq $0x10, %r15
movl 0x8(%rbx), %ecx
leaq 0x10(%rsp), %rsi
leaq 0xc(%rsp), %rdx
movq %r15, %rdi
callq 0x920c
movq %r14, %rdi
movq %rax, %rsi
callq *%rbp
leaq 0x18358(%rip), %r12     # 0x25760
cmpl $0x0, 0x18(%r12)
jne 0xd44c
cmpl $0x2, 0xc(%rbx)
jl 0xd44c
movl $0x1, %r13d
movq %r15, %rdi
leaq 0x10(%rsp), %rsi
leaq 0xc(%rsp), %rdx
movl $0x1, %ecx
callq 0x920c
movq %r14, %rdi
movq %rax, %rsi
callq *%rbp
cmpl $0x0, 0x18(%r12)
jne 0xd44c
incl %r13d
cmpl 0xc(%rbx), %r13d
jl 0xd41c
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/heltilda[P]cicada/intrpt.c
// Function: storageSize_String
void storageSize_String(view *theView, ccInt stringIndex, void *dataSize, void *dummy)
{
    member *stringMember = LL_member(theView->windowPtr->variable_ptr, stringIndex);
    view charView;
    
    charView.windowPtr = theView->windowPtr;
    charView.offset = 0;
    charView.width = 1;
    
    stepView(&charView, stringMember, 0, stringMember->indices);
    if (errCode == passed)  storageSizeView(&charView, dataSize, dummy);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rcx, %rbx
movq %rdx, %r14
movq %rdi, %r15
movq (%rdi), %rax
movq 0x10(%rax), %rdi
addq $0x10, %rdi
callq 0x91d8
movq (%r15), %rcx
leaq 0x8(%rsp), %rdi
movq %rcx, (%rdi)
movabsq $0x100000000, %rcx      # imm = 0x100000000
movq %rcx, 0x8(%rdi)
movl 0xc(%rax), %ecx
movq %rax, %rsi
xorl %edx, %edx
callq 0xd32b
leaq 0x17e3d(%rip), %rax     # 0x25760
cmpl $0x0, 0x18(%rax)
jne 0xd966
subq $0x8, %rsp
leaq -0x60(%rip), %rax       # 0xd8d4
leaq -0x1aa(%rip), %r10      # 0xd791
leaq -0x1e6(%rip), %r11      # 0xd75c
leaq 0x10(%rsp), %rdi
movq %r14, %rsi
movq %rbx, %rdx
xorl %ecx, %ecx
movl $0x1, %r8d
xorl %r9d, %r9d
pushq %rax
pushq %r10
pushq %r11
callq 0xd48d
addq $0x20, %rsp
addq $0x20, %rsp
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/heltilda[P]cicada/intrpt.c
// Function: writeString
void writeString(view *theView, ccInt stringIndex, void *bufferPtr, void *sizeofStrings)
{
    member *stringMember;
    view stringView;
    
    stringMember = LL_member(theView->windowPtr->variable_ptr, stringIndex);
    stringView.windowPtr = stringMember->memberWindow;
    resizeMember(stringMember, 1, *(ccInt *) sizeofStrings);
    if (errCode != passed)  return;
    
    if (*(ccInt *) sizeofStrings == 0)  return;
    
    setElements(&(stringMember->memberWindow->variable_ptr->mem.data), stringMember->memberWindow->offset+1,
            stringMember->memberWindow->offset+stringMember->memberWindow->width, *(void **) bufferPtr);
    *(char **) bufferPtr += *(ccInt *) sizeofStrings;
    *(ccInt *) sizeofStrings = 0;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rcx, %rbx
movq %rdx, %r14
movq (%rdi), %rax
movq 0x10(%rax), %rdi
addq $0x10, %rdi
callq 0x91d8
movq %rax, %r15
movl (%rbx), %edx
movq %rax, %rdi
movl $0x1, %esi
callq 0x12023
leaq 0x17d1e(%rip), %rax     # 0x25760
cmpl $0x0, 0x18(%rax)
jne 0xda75
cmpl $0x0, (%rbx)
je 0xda75
movq (%r15), %rax
movq 0x10(%rax), %rdi
addq $0x10, %rdi
movl 0x18(%rax), %edx
leal 0x1(%rdx), %esi
addl 0x1c(%rax), %edx
movq (%r14), %rcx
callq 0x8fba
movslq (%rbx), %rax
addq %rax, (%r14)
movl $0x0, (%rbx)
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/heltilda[P]cicada/intrpt.c
// Function: readData
void readData(view *theView, void *bufferPtr, void *dummy)
{
    linkedlist *theLL = &(theView->windowPtr->variable_ptr->mem.data);
    
    getElements(theLL, theView->offset+1, theView->offset+theView->width, *(void **) bufferPtr);
    *(char **) bufferPtr += theLL->elementSize*theView->width;
    if (extCallMode)  *(char **) bufferPtr += align(theLL->elementSize*theView->width);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
movq (%rdi), %rax
movq 0x10(%rax), %r15
leaq 0x10(%r15), %rdi
movl 0x8(%r14), %edx
leal 0x1(%rdx), %esi
addl 0xc(%r14), %edx
movq (%rbx), %rcx
callq 0x90a5
movslq 0x20(%r15), %rax
movslq 0xc(%r14), %rcx
imulq %rax, %rcx
movq (%rbx), %rax
addq %rcx, %rax
movq %rax, (%rbx)
leaq 0x17c6b(%rip), %rdx     # 0x25760
cmpb $0x0, 0x2a8(%rdx)
je 0xdb13
andl $0x3, %ecx
movl $0x4, %edx
subl %ecx, %edx
testl %ecx, %ecx
cmovel %ecx, %edx
addq %rdx, %rax
movq %rax, (%rbx)
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/heltilda[P]cicada/intrpt.c
// Function: readString
void readString(view *theView, ccInt stringIndex, void *bufferPtr, void *sizeofStrings)
{
    window *stringWindow = LL_member(theView->windowPtr->variable_ptr, stringIndex)->memberWindow;
    linkedlist *stringLL = &(stringWindow->variable_ptr->mem.data);
    
    getElements(stringLL, stringWindow->offset+1, stringWindow->offset+stringWindow->width, *(void **) bufferPtr);
    *(char **) bufferPtr += stringWindow->width;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq (%rdi), %rax
movq 0x10(%rax), %rdi
addq $0x10, %rdi
callq 0x91d8
movq (%rax), %r14
movq 0x10(%r14), %rdi
addq $0x10, %rdi
movl 0x18(%r14), %edx
leal 0x1(%rdx), %esi
addl 0x1c(%r14), %edx
movq (%rbx), %rcx
callq 0x90a5
movslq 0x1c(%r14), %rax
addq %rax, (%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq