LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O3/heltilda[P]cicada/bytecd.c
// Function: numAdapter
void numAdapter(ccInt numType)
{
    variable *theVariable;
    void(*loadNum)(variable *, ccInt);
    
    pcCodePtr--;
    callBytecodeFunction();        // read in an argument
    if (errCode != passed)  return;
    
    if ((GL_Object.type != var_type) || (searchView.windowPtr == NULL))
        {  setError(not_a_variable_err, pcCodePtr-1);  return;  }
    
    if (searchView.width != 1)  {  setError(multiple_indices_not_allowed_err, pcCodePtr-1);  return;  }
    theVariable = searchView.windowPtr->variable_ptr;
    if ((theVariable->type < char_type) || (theVariable->type > double_type))
        {  setError(not_a_number_err, pcCodePtr-1);  return;  }    // must be numeric
    
    if (numType == int_type)  loadNum = &loadIntRegister;
    else if (numType == double_type)  loadNum = &loadDoubleRegister;
    else if (theVariable->type == double_type)  loadNum = &loadDoubleRegister;
    else  loadNum = &loadIntRegister;
    
    loadNum(searchView.windowPtr->variable_ptr, searchView.offset);
}

// Assembly:
pushq %rbx
movl %edi, %ebx
movq 0x10119(%rip), %rax     # 0x25818
movslq -0x4(%rax), %rax
leaq 0xee56(%rip), %rcx      # 0x24560
callq *(%rcx,%rax,8)
cmpl $0x0, 0x10064(%rip)     # 0x25778
je 0x15718
popq %rbx
retq
cmpl $-0x1, 0x10119(%rip)    # 0x25838
setne %cl
movq 0x1018f(%rip), %rax     # 0x258b8
testq %rax, %rax
sete %dl
orb %cl, %dl
cmpb $0x1, %dl
jne 0x15748
movq 0x100db(%rip), %rsi     # 0x25818
addq $-0x4, %rsi
movl $0x22, %edi
jmp 0x15785
cmpl $0x1, 0x10175(%rip)     # 0x258c4
jne 0x15775
movq 0x10(%rax), %rdi
movl 0xc0(%rdi), %eax
leal -0x4(%rax), %ecx
cmpl $-0x4, %ecx
ja 0x1578b
movq 0x100ae(%rip), %rsi     # 0x25818
addq $-0x4, %rsi
movl $0x29, %edi
jmp 0x15785
movq 0x1009c(%rip), %rsi     # 0x25818
addq $-0x4, %rsi
movl $0x1f, %edi
popq %rbx
jmp 0xcfa3
cmpl $0x2, %ebx
je 0x1579e
cmpl $0x3, %ebx
jne 0x157a7
leaq 0x5a(%rip), %rax        # 0x157f6
jmp 0x157bc
leaq 0x2a(%rip), %rax        # 0x157cf
jmp 0x157bc
cmpl $0x3, %eax
leaq 0x45(%rip), %rcx        # 0x157f6
leaq 0x17(%rip), %rax        # 0x157cf
cmoveq %rcx, %rax
movl 0x100fe(%rip), %esi     # 0x258c0
popq %rbx
jmpq *%rax
// File: /workspace/github_c_makefile_star2_O3/heltilda[P]cicada/bytecd.c
// Function: checkBytecodeSentences
void checkBytecodeSentences()
{
    ccInt rtrn;
    
    while (*pcCodePtr != end_of_script)   {
        
        
            // keep track of our sentence beginnings for checkBytecode()
            
        rtrn = addElements(&sentenceList, 1, ccFalse);
        if (rtrn != passed)  {  setError(out_of_memory_err, pcCodePtr);  return;  }
        *(ccInt **) findElement(&sentenceList, sentenceList.elementNum) = pcCodePtr;
        
        
            // run each outermost command
        
        checkBytecodeArg(start_arg);
        if (errCode != passed)  break;         }
        
        
        // add the null terminator as a valid jump point
    
    rtrn = addElements(&sentenceList, 1, ccFalse);
    if (rtrn != passed)  {  setError(out_of_memory_err, pcCodePtr);  return;  }
    *(ccInt **) findElement(&sentenceList, sentenceList.elementNum) = pcCodePtr;
    
    if (errCode == passed)  pcCodePtr++;   // get past the null terminator
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
leaq 0xfd4b(%rip), %rbx      # 0x259c8
movq 0xfb94(%rip), %rax      # 0x25818
cmpl $0x0, (%rax)
je 0x15cc4
movq %rbx, %rdi
movl $0x1, %esi
xorl %edx, %edx
callq 0x8bb3
movq 0xfb79(%rip), %r14      # 0x25818
testl %eax, %eax
jne 0x15cec
movl 0xfd1f(%rip), %esi      # 0x259c8
movq %rbx, %rdi
callq 0x9196
movq %r14, (%rax)
xorl %edi, %edi
callq 0x15d2e
cmpl $0x0, 0xfab6(%rip)      # 0x25778
je 0x15c7d
leaq 0xfcfd(%rip), %rdi      # 0x259c8
movl $0x1, %esi
xorl %edx, %edx
callq 0x8bb3
movq 0xfb3a(%rip), %rbx      # 0x25818
testl %eax, %eax
je 0x15d00
movl $0x1, %edi
movq %rbx, %rsi
jmp 0x15cf4
movl $0x1, %edi
movq %r14, %rsi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0xcfa3
movl 0xfcc2(%rip), %esi      # 0x259c8
leaq 0xfcbb(%rip), %rdi      # 0x259c8
callq 0x9196
movq %rbx, (%rax)
cmpl $0x0, 0xfa5c(%rip)      # 0x25778
jne 0x15d26
addq $0x4, 0xfaf2(%rip)      # 0x25818
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/heltilda[P]cicada/bytecd.c
// Function: checkBytecodeArg
void checkBytecodeArg(ccInt tableID)     // runs a bytecode function via the check jump tables
{
    ccInt theCommand = *pcCodePtr;
    
    if ((theCommand < 0) || (theCommand >= commands_num))  {  setError(illegal_command_err, pcCodePtr);  return;  }
    
    pcCodePtr++;
    if (pcCodePtr >= endCodePtr)  {  pcCodePtr = endCodePtr;  setError(code_overflow_err, pcCodePtr);  return;  }
    
    checkJumpTables[tableID][theCommand](theCommand);
}

// Assembly:
movl %edi, %eax
movq 0xfae1(%rip), %rsi      # 0x25818
movl (%rsi), %edi
cmpq $0x3a, %rdi
jb 0x15d49
movl $0x12, %edi
jmp 0xcfa3
addq $0x4, %rsi
movq %rsi, 0xfac4(%rip)      # 0x25818
movq 0xfacd(%rip), %rcx      # 0x25828
cmpq %rcx, %rsi
jae 0x15d76
cltq
imulq $0x1d0, %rax, %rax      # imm = 0x1D0
leaq 0xdb40(%rip), %rcx      # 0x238b0
addq %rax, %rcx
jmpq *(%rcx,%rdi,8)
movq %rcx, 0xfa9b(%rip)      # 0x25818
movl $0x13, %edi
movq %rcx, %rsi
jmp 0xcfa3
// File: /workspace/github_c_makefile_star2_O3/heltilda[P]cicada/bytecd.c
// Function: checkCommand
void checkCommand(ccInt theCmd)      // checks bread-and-butter operators
{
    if (theCmd == define_equate)  pcCodePtr++;
    if ((theCmd == code_number) || (theCmd == substitute_code))  {
        if ((rightArgs[theCmd] != no_arg) && (errCode == passed))  checkBytecodeArg(rightArgs[theCmd]);
        if ((leftArgs[theCmd] != no_arg) && (errCode == passed))  checkBytecodeArg(leftArgs[theCmd]);     }
    else  {
        if ((leftArgs[theCmd] != no_arg) && (errCode == passed))  checkBytecodeArg(leftArgs[theCmd]);
        if ((rightArgs[theCmd] != no_arg) && (errCode == passed))  checkBytecodeArg(rightArgs[theCmd]);     }
}

// Assembly:
pushq %rbx
cmpl $0x8, %edi
jne 0x15d9a
addq $0x4, 0xfa80(%rip)      # 0x25818
jmp 0x15ddb
leal -0x25(%rdi), %eax
cmpl $0x1, %eax
ja 0x15ddb
movl %edi, %ebx
leaq 0xda85(%rip), %rax      # 0x23830
movsbl (%rbx,%rax), %edi
cmpl $0x5, %edi
setne %cl
movl 0xf9bd(%rip), %eax      # 0x25778
testl %eax, %eax
sete %dl
andb %cl, %dl
cmpb $0x1, %dl
jne 0x15dd2
callq 0x15d2e
movl 0xf9a6(%rip), %eax      # 0x25778
leaq 0xda97(%rip), %rcx      # 0x23870
jmp 0x15e13
movslq %edi, %rbx
leaq 0xda8b(%rip), %rax      # 0x23870
movsbl (%rbx,%rax), %edi
cmpl $0x5, %edi
setne %cl
movl 0xf983(%rip), %eax      # 0x25778
testl %eax, %eax
sete %dl
andb %cl, %dl
cmpb $0x1, %dl
jne 0x15e0c
callq 0x15d2e
movl 0xf96c(%rip), %eax      # 0x25778
leaq 0xda1d(%rip), %rcx      # 0x23830
movb (%rbx,%rcx), %cl
cmpb $0x5, %cl
je 0x15e28
testl %eax, %eax
jne 0x15e28
movsbl %cl, %edi
popq %rbx
jmp 0x15d2e
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O3/heltilda[P]cicada/bytecd.c
// Function: checkInteger
void checkInteger(ccInt theCmd)          // checks commands that have integer constants
{
    pcCodePtr++;
    if (pcCodePtr >= endCodePtr)  {  pcCodePtr = endCodePtr;  setError(code_overflow_err, pcCodePtr);  }
    
    if ((leftArgs[theCmd] != no_arg) && (errCode == passed))  checkBytecodeArg(leftArgs[theCmd]);
    if ((rightArgs[theCmd] != no_arg) && (errCode == passed))  checkBytecodeArg(rightArgs[theCmd]);
}

// Assembly:
pushq %rbx
movl %edi, %ebx
movq 0xf966(%rip), %rax      # 0x25818
addq $0x4, %rax
movq %rax, 0xf95b(%rip)      # 0x25818
movq 0xf964(%rip), %rsi      # 0x25828
cmpq %rsi, %rax
jb 0x15eda
movq %rsi, 0xf948(%rip)      # 0x25818
movl $0x13, %edi
callq 0xcfa3
movslq %ebx, %rbx
leaq 0xd98c(%rip), %rax      # 0x23870
movsbl (%rbx,%rax), %edi
cmpl $0x5, %edi
setne %cl
movl 0xf884(%rip), %eax      # 0x25778
testl %eax, %eax
sete %dl
andb %cl, %dl
cmpb $0x1, %dl
jne 0x15f0b
callq 0x15d2e
movl 0xf86d(%rip), %eax      # 0x25778
leaq 0xd91e(%rip), %rcx      # 0x23830
movsbl (%rbx,%rcx), %edi
cmpl $0x5, %edi
je 0x15f25
testl %eax, %eax
jne 0x15f25
popq %rbx
jmp 0x15d2e
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O3/heltilda[P]cicada/bytecd.c
// Function: checkString
void checkString(ccInt theCmd)    // checks inlined strings
{
    ccInt sizeofStrings = *pcCodePtr;
    if (sizeofStrings < 0)  {  setError(illegal_command_err, pcCodePtr);  return;  }
    
    sizeofStrings += align(sizeofStrings);
    
    pcCodePtr++;
    
    if (pcCodePtr + (ccInt) ceil(1.*sizeofStrings/sizeof(ccInt)) >= endCodePtr)      // step over the width of the string
        {  pcCodePtr = endCodePtr;  setError(code_overflow_err, pcCodePtr);  return;  }
    pcCodePtr += (ccInt) ceil(1.*sizeofStrings/sizeof(ccInt));
}

// Assembly:
pushq %rbx
movq 0xf8b9(%rip), %rsi      # 0x25818
movl (%rsi), %ebx
testl %ebx, %ebx
js 0x15fa9
movl %ebx, %edi
callq 0xd74c
addl %ebx, %eax
movq 0xf8a3(%rip), %rbx      # 0x25818
cvtsi2sd %eax, %xmm0
mulsd 0x5097(%rip), %xmm0     # 0x1b018
callq 0x8070
cvttsd2si %xmm0, %eax
cltq
leaq (%rbx,%rax,4), %rax
addq $0x4, %rax
movq 0xf88d(%rip), %rsi      # 0x25828
cmpq %rsi, %rax
jae 0x15fb0
movq %rax, 0xf871(%rip)      # 0x25818
popq %rbx
retq
movl $0x12, %edi
jmp 0x15fbc
movq %rsi, 0xf861(%rip)      # 0x25818
movl $0x13, %edi
popq %rbx
jmp 0xcfa3
// File: /workspace/github_c_makefile_star2_O3/heltilda[P]cicada/bytecd.c
// Function: checkJump
void checkJump(ccInt theCmd)     // cheks conditional/unconditional jumps
{
    ccInt rtrn, jumpOffset = *pcCodePtr;
    
    if (pcCodePtr + jumpOffset >= endCodePtr)  {  setError(bad_jump_err, pcCodePtr);  return;  }
    
    
        // Add the jump position to checkBytecode()'s jumpList.
    
    rtrn = addElements(&jumpList, 1, ccFalse);
    if (rtrn != passed)  {  setError(out_of_memory_err, pcCodePtr);  return;  }
    rtrn = addElements(&jumpFromList, 1, ccFalse);
    if (rtrn != passed)  {  setError(out_of_memory_err, pcCodePtr);  return;  }
    *(ccInt **) findElement(&jumpList, jumpList.elementNum) = pcCodePtr + jumpOffset;
    *(ccInt **) findElement(&jumpFromList, jumpFromList.elementNum) = pcCodePtr;
    
    pcCodePtr++;
    if (pcCodePtr >= endCodePtr)  {  pcCodePtr = endCodePtr;  setError(code_overflow_err, pcCodePtr);  return;  }
    
    if ((rightArgs[theCmd] != no_arg) && (errCode == passed))  checkBytecodeArg(rightArgs[theCmd]);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq 0xf846(%rip), %rsi      # 0x25818
movslq (%rsi), %r14
leaq (%rsi,%r14,4), %rax
cmpq 0xf848(%rip), %rax      # 0x25828
jae 0x16004
movl %edi, %ebx
leaq 0xf99d(%rip), %rdi      # 0x25988
movl $0x1, %esi
xorl %edx, %edx
callq 0x8bb3
testl %eax, %eax
je 0x1600b
movq 0xf816(%rip), %rsi      # 0x25818
jmp 0x16029
movl $0x15, %edi
jmp 0x1602e
leaq 0xf996(%rip), %rdi      # 0x259a8
movl $0x1, %esi
xorl %edx, %edx
callq 0x8bb3
movq 0xf7f3(%rip), %rsi      # 0x25818
testl %eax, %eax
je 0x1603a
movl $0x1, %edi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0xcfa3
leaq (%rsi,%r14,4), %r14
movl 0xf944(%rip), %esi      # 0x25988
leaq 0xf93d(%rip), %rdi      # 0x25988
callq 0x9196
movq %r14, (%rax)
movq 0xf7be(%rip), %r14      # 0x25818
movl 0xf948(%rip), %esi      # 0x259a8
leaq 0xf941(%rip), %rdi      # 0x259a8
callq 0x9196
movq %r14, (%rax)
movq 0xf7a2(%rip), %rax      # 0x25818
addq $0x4, %rax
movq %rax, 0xf797(%rip)      # 0x25818
movq 0xf7a0(%rip), %rsi      # 0x25828
cmpq %rsi, %rax
jae 0x160b5
movslq %ebx, %rax
leaq 0xd799(%rip), %rcx      # 0x23830
movsbl (%rax,%rcx), %edi
cmpl $0x5, %edi
je 0x160c6
cmpl $0x0, 0xf6d1(%rip)      # 0x25778
jne 0x160c6
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x15d2e
movq %rsi, 0xf75c(%rip)      # 0x25818
movl $0x13, %edi
jmp 0x1602e
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/heltilda[P]cicada/bytecd.c
// Function: checkIndices
void checkIndices(ccInt theCmd)     // checks array operators [] of various sorts
{
    if (theCmd == type_array)  checkBytecodeArg(data_arg);
    if ((leftArgs[theCmd] != no_arg) && (errCode == passed))  checkBytecodeArg(leftArgs[theCmd]);
    if ((rightArgs[theCmd] != no_arg) && (errCode == passed))  checkBytecodeArg(rightArgs[theCmd]);
    
    if (theCmd != type_array)  {
        checkBytecodeArg(data_arg);
        if (((theCmd == step_to_indices) || (theCmd == insert_indices)) && (errCode == passed))  {
            checkBytecodeArg(data_arg);     }   }
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movl %edi, %ebx
cmpl $0x2e, %edi
jne 0x160e3
movl $0x2, %edi
callq 0x15d2e
movslq %ebx, %r14
leaq 0xd783(%rip), %rax      # 0x23870
movsbl (%r14,%rax), %edi
cmpl $0x5, %edi
setne %cl
movl 0xf67a(%rip), %eax      # 0x25778
testl %eax, %eax
sete %dl
andb %cl, %dl
cmpb $0x1, %dl
jne 0x16115
callq 0x15d2e
movl 0xf663(%rip), %eax      # 0x25778
leaq 0xd714(%rip), %rcx      # 0x23830
movsbl (%r14,%rcx), %edi
cmpl $0x5, %edi
je 0x1612f
testl %eax, %eax
jne 0x1612f
callq 0x15d2e
cmpl $0x2e, %ebx
jne 0x1613c
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movl $0x2, %edi
callq 0x15d2e
addl $-0xd, %ebx
testl $0xfffffffb, %ebx       # imm = 0xFFFFFFFB
jne 0x16134
cmpl $0x0, 0xf620(%rip)      # 0x25778
jne 0x16134
movl $0x2, %edi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x15d2e
// File: /workspace/github_c_makefile_star2_O3/heltilda[P]cicada/bytecd.c
// Function: runBytecode
void runBytecode()
{
    while ((*pcCodePtr != end_of_script) && (*pcCodePtr != code_marker))   {
        callSentenceStartFunction();
        if (errCode != passed)  return;         }
    
    pcCodePtr++;         // over the 0 or code marker
}

// Assembly:
pushq %rbx
leaq 0xe20c(%rip), %rbx      # 0x24390
movq 0xf68d(%rip), %rax      # 0x25818
movslq (%rax), %rcx
addq $0x4, %rax
testl $0xfffffffb, %ecx       # imm = 0xFFFFFFFB
je 0x161af
movq %rax, 0xf677(%rip)      # 0x25818
callq *(%rbx,%rcx,8)
cmpl $0x0, 0xf5cd(%rip)      # 0x25778
je 0x16184
jmp 0x161b6
movq %rax, 0xf662(%rip)      # 0x25818
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O3/heltilda[P]cicada/bytecd.c
// Function: loadStringRegister
void loadStringRegister(variable *sourceVar, ccInt sourceOffset)
{
    window *stringCharsWindow = LL_member(sourceVar, sourceOffset + 1)->memberWindow;
    ccInt rtrn = resizeLinkedList(&stringRegister, stringCharsWindow->width, ccFalse);
    if (rtrn != passed)  setError(rtrn, pcCodePtr-1);
    
    copyElements(&(stringCharsWindow->variable_ptr->mem.data), stringCharsWindow->offset+1, &stringRegister, 1, stringRegister.elementNum);
}

// Assembly:
pushq %rbx
addq $0x10, %rdi
incl %esi
callq 0x91d8
movq (%rax), %rbx
movl 0x1c(%rbx), %esi
leaq 0xf556(%rip), %rdi      # 0x257d8
xorl %edx, %edx
callq 0x8bc7
testl %eax, %eax
je 0x1629f
movq 0xf584(%rip), %rsi      # 0x25818
addq $-0x4, %rsi
movl %eax, %edi
callq 0xcfa3
movq 0x10(%rbx), %rdi
addq $0x10, %rdi
movl 0x18(%rbx), %esi
incl %esi
movl 0xf525(%rip), %r8d      # 0x257d8
leaq 0xf51e(%rip), %rdx      # 0x257d8
movl $0x1, %ecx
popq %rbx
jmp 0x8856
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O3/heltilda[P]cicada/ciclib.c
// Function: cclib_load
void cclib_load()
{
    window *fileNameWindow;
    linkedlist *fileNameLL;
    ccInt rtrn;
    char *fileString;
    
    
        // get the name of the file (arg 1)
    
    if (numBIF_args() != 1)  {  setError(wrong_argument_count_err, pcCodePtr-1);  return;  }
    
    fileNameWindow = getBIFstringArg(1);
    if (errCode != passed)  return;
    fileNameLL = &(fileNameWindow->variable_ptr->mem.data);
    
    
        // copy the file name, plus a null terminator, into a separate buffer
    
    fileString = (char *) malloc(fileNameWindow->width+1);
    if (fileString == NULL)  {  setError(out_of_memory_err, pcCodePtr-1);  return;  }
    getElements(fileNameLL, fileNameWindow->offset+1, fileNameWindow->width, fileString);
    fileString[fileNameWindow->width] = 0;
    
    
        // try to open the file; throw an error if unsuccessful
    
    rtrn = loadFile(fileString, &stringRegister, ccFalse);
    if (rtrn != passed)  setError(rtrn, pcCodePtr-1);
    
    free((void *) fileString);      // clean up
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
callq 0x19254
cmpl $0x1, %eax
jne 0x17939
movl $0x1, %edi
callq 0x1943c
leaq 0xde38(%rip), %r13      # 0x25760
cmpl $0x0, 0x18(%r13)
je 0x1795e
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
leaq 0xde20(%rip), %rax      # 0x25760
movq 0xb8(%rax), %rsi
addq $-0x4, %rsi
movl $0x2d, %edi
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
jmp 0xcfa3
movq %rax, %r14
movq 0x10(%rax), %r12
movslq 0x1c(%rax), %r15
leaq 0x1(%r15), %rdi
callq 0x81d0
testq %rax, %rax
je 0x179cf
movq %rax, %rbx
addq $0x10, %r12
movl 0x18(%r14), %esi
incl %esi
movq %r12, %rdi
movl %r15d, %edx
movq %rax, %rcx
callq 0x90a5
movslq 0x1c(%r14), %rax
movb $0x0, (%rbx,%rax)
leaq 0x78(%r13), %rsi
movq %rbx, %rdi
xorl %edx, %edx
callq 0x194ec
testl %eax, %eax
je 0x179be
movq 0xb8(%r13), %rsi
addq $-0x4, %rsi
movl %eax, %edi
callq 0xcfa3
movq %rbx, %rdi
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
jmp 0x81c0
movq 0xb8(%r13), %rsi
addq $-0x4, %rsi
movl $0x1, %edi
jmp 0x17950
// File: /workspace/github_c_makefile_star2_O3/heltilda[P]cicada/ciclib.c
// Function: cclib_input
void cclib_input()
{
    ccInt counter, bytesRead, rtrn;
    const ccInt fileReadBufferSize = 1000;
    char charBuffer[1001], *readRetrn;
    ccBool done;
    
    if (numBIF_args() != 0)  {  cclib_print();  }
    
    rtrn = resizeLinkedList(&stringRegister, 0, ccFalse);
    if (rtrn != passed)  {  setError(out_of_memory_err, pcCodePtr-1);  return;  }
    
    
        // loop until all of the data has been read
    
    done = ccFalse;
    do  {
        
            // load the data into the inlined buffer (on the stack)
        
        bytesRead = fileReadBufferSize;
        readRetrn = fgets(charBuffer, fileReadBufferSize+1, stdin);
        if (readRetrn == NULL)  {  setError(IO_error, pcCodePtr-1);  break;  }
        for (counter = 0; counter < fileReadBufferSize; counter++)  {
            if (*(charBuffer+counter) == '\n')  {
                done = ccTrue;
                bytesRead = counter;    // don't include the terminator
                break;
        }   }
        
        
            // copy from the buffer into the string register
        
        rtrn = addElements(&stringRegister, bytesRead, ccFalse);         // will be contiguous if spareRoom = 0
        if (rtrn != passed)  {  setError(out_of_memory_err, pcCodePtr-1);  return;  }
        setElements(&stringRegister, stringRegister.elementNum-bytesRead+1, stringRegister.elementNum, charBuffer);
    }  while (!done);
    
    defragmentLinkedList(&stringRegister);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x3f8, %rsp            # imm = 0x3F8
callq 0x19254
testl %eax, %eax
je 0x17b88
callq 0x17ca6
leaq 0xdbd1(%rip), %r12      # 0x25760
leaq 0x78(%r12), %rbx
movq %rbx, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x8bc7
testl %eax, %eax
je 0x17bcb
movq 0xb8(%r12), %rsi
addq $-0x4, %rsi
movl $0x1, %edi
addq $0x3f8, %rsp            # imm = 0x3F8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0xcfa3
movq 0xa3f6(%rip), %r13      # 0x21fc8
movq %rsp, %r14
movq (%r13), %rdx
movq %r14, %rdi
movl $0x3e9, %esi            # imm = 0x3E9
callq 0x8210
testq %rax, %rax
je 0x17c5e
xorl %ebp, %ebp
cmpb $0xa, (%rsp)
movl $0x0, %r15d
je 0x17c2b
xorl %eax, %eax
cmpq $0x3e7, %rax            # imm = 0x3E7
je 0x17c21
leaq 0x1(%rax), %r15
cmpb $0xa, 0x1(%rsp,%rax)
movq %r15, %rax
jne 0x17bfb
leaq -0x1(%r15), %rax
cmpq $0x3e7, %rax            # imm = 0x3E7
setae %bpl
jmp 0x17c2b
setae %bpl
movl $0x3e8, %r15d           # imm = 0x3E8
movq %rbx, %rdi
movl %r15d, %esi
xorl %edx, %edx
callq 0x8bb3
testl %eax, %eax
jne 0x17c7e
movl 0x78(%r12), %edx
movl %edx, %esi
subl %r15d, %esi
incl %esi
movq %rbx, %rdi
movq %r14, %rcx
callq 0x8fba
testb %bpl, %bpl
jne 0x17bd5
jmp 0x17c74
movq 0xb8(%r12), %rsi
addq $-0x4, %rsi
movl $0x31, %edi
callq 0xcfa3
movq %rbx, %rdi
callq 0x8c00
jmp 0x17c94
movq 0xb8(%r12), %rsi
addq $-0x4, %rsi
movl $0x1, %edi
callq 0xcfa3
addq $0x3f8, %rsp            # imm = 0x3F8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/heltilda[P]cicada/ciclib.c
// Function: cclib_top
void cclib_top()
{
    view viewToTop;
    
    if (numBIF_args() != 1)  {  setError(wrong_argument_count_err, pcCodePtr-1);  return;  }
    
    
        // get the argument variable
    
    viewToTop.windowPtr = getBIFmember(1);
    if (viewToTop.windowPtr == NULL)  {  setError(void_member_err, pcCodePtr-1);  return;  }
    if (viewToTop.windowPtr->variable_ptr->type < string_type)  {  setError(not_composite_err, pcCodePtr-1);  return;  }
    viewToTop.offset = viewToTop.windowPtr->offset;
    
    intRegister = numMemberIndices(&viewToTop);
}

// Assembly:
subq $0x18, %rsp
callq 0x19254
cmpl $0x1, %eax
jne 0x18720
movl $0x1, %edi
callq 0x1929e
movq %rax, (%rsp)
testq %rax, %rax
je 0x18739
movq 0x10(%rax), %rcx
cmpl $0x3, 0xc0(%rcx)
jg 0x18759
leaq 0xd052(%rip), %rax      # 0x25760
movq 0xb8(%rax), %rsi
addq $-0x4, %rsi
movl $0x24, %edi
jmp 0x18750
leaq 0xd039(%rip), %rax      # 0x25760
movq 0xb8(%rax), %rsi
addq $-0x4, %rsi
movl $0x2d, %edi
jmp 0x18750
leaq 0xd020(%rip), %rax      # 0x25760
movq 0xb8(%rax), %rsi
addq $-0x4, %rsi
movl $0x1a, %edi
addq $0x18, %rsp
jmp 0xcfa3
movl 0x18(%rax), %eax
movq %rsp, %rdi
movl %eax, 0x8(%rdi)
callq 0xef33
leaq 0xcff2(%rip), %rcx      # 0x25760
movl %eax, 0x6c(%rcx)
addq $0x18, %rsp
retq
// File: /workspace/github_c_makefile_star2_O3/heltilda[P]cicada/ciclib.c
// Function: cclib_size
void cclib_size()
{
    view viewToSize;
    ccInt dataSize = 0, sizeofStrings = 0, ssMode, numArgs = numBIF_args();
    ccBool trueSize = ccFalse;
    
    
        // read in the arguments
        // optional arg 2:  whether or not to double-count overlapping memory
    
    if ((numArgs != 1) && (numArgs != 2))  {  setError(wrong_argument_count_err, pcCodePtr-1);  return;  }
    
    viewToSize.windowPtr = getBIFmember(1);
    
    if (numArgs == 2)  {
        trueSize = getBIFboolArg(2);
        if (errCode != passed)  return;     }


        // calculate the size
    
    if (viewToSize.windowPtr != NULL)  {
        viewToSize.offset = viewToSize.windowPtr->offset;
        viewToSize.width = viewToSize.windowPtr->width;
        
        if (!trueSize)  sizeView(&viewToSize, &dataSize, &sizeofStrings);
        else  {
        for (ssMode = 1; ssMode <= 3; ssMode++)  {
            storageSizeView(&viewToSize, (void *) &dataSize, (void *) &ssMode);
        }}
        
        intRegister = dataSize+sizeofStrings;       }
    
    else  intRegister = 0;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x30, %rsp
xorl %eax, %eax
movl %eax, 0xc(%rsp)
movl %eax, 0x14(%rsp)
callq 0x19254
movl %eax, %r14d
leal -0x3(%r14), %eax
cmpl $-0x3, %eax
ja 0x187bf
leaq 0xcfbf(%rip), %rax      # 0x25760
movq 0xb8(%rax), %rsi
addq $-0x4, %rsi
movl $0x2d, %edi
addq $0x30, %rsp
popq %rbx
popq %r14
popq %r15
jmp 0xcfa3
movl $0x1, %edi
callq 0x1929e
movq %rax, %rbx
movq %rax, 0x18(%rsp)
cmpl $0x2, %r14d
jne 0x1883b
movl $0x2, %edi
callq 0x195d3
leaq 0xcf78(%rip), %rcx      # 0x25760
cmpl $0x0, 0x18(%rcx)
jne 0x18874
testq %rbx, %rbx
je 0x18868
movq 0x18(%rbx), %rcx
movq %rcx, 0x20(%rsp)
testb %al, %al
je 0x18849
leaq 0x10(%rsp), %rbx
movl $0x1, (%rbx)
leaq 0x18(%rsp), %r14
leaq 0xc(%rsp), %r15
movq %r14, %rdi
movq %r15, %rsi
movq %rbx, %rdx
callq 0xd75c
movl 0x10(%rsp), %eax
leal 0x1(%rax), %ecx
movl %ecx, 0x10(%rsp)
cmpl $0x3, %eax
jl 0x18819
xorl %eax, %eax
jmp 0x18862
testq %rbx, %rbx
je 0x18868
movq 0x18(%rbx), %rax
movq %rax, 0x20(%rsp)
leaq 0x18(%rsp), %rdi
leaq 0xc(%rsp), %rsi
leaq 0x14(%rsp), %rbx
movq %rbx, %rdx
callq 0xd45b
movl (%rbx), %eax
addl 0xc(%rsp), %eax
jmp 0x1886a
xorl %eax, %eax
leaq 0xceef(%rip), %rcx      # 0x25760
movl %eax, 0x6c(%rcx)
addq $0x30, %rsp
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/heltilda[P]cicada/ciclib.c
// Function: doMath
void doMath(ccFloat(MathFunction)(ccFloat argument))
{
    if (numBIF_args() != 1)  {  setError(wrong_argument_count_err, pcCodePtr-1);  return;  }
    
    doubleRegister = getBIFnumArg(1, -DBL_MAX, DBL_MAX);
    if (errCode != passed)  return;
    
    doubleRegister = MathFunction(doubleRegister);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
callq 0x19254
cmpl $0x1, %eax
jne 0x196a4
movsd 0x270a(%rip), %xmm0     # 0x1bd78
movsd 0x270a(%rip), %xmm1     # 0x1bd80
movl $0x1, %edi
callq 0x1930e
leaq 0xc0d9(%rip), %r14      # 0x25760
movsd %xmm0, 0x70(%r14)
cmpl $0x0, 0x18(%r14)
jne 0x1969c
callq *%rbx
movsd %xmm0, 0x70(%r14)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
leaq 0xc0b5(%rip), %rax      # 0x25760
movq 0xb8(%rax), %rsi
addq $-0x4, %rsi
movl $0x2d, %edi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0xcfa3
// File: /workspace/github_c_makefile_star2_O3/heltilda[P]cicada/ciclib.c
// Function: cclib_type
void cclib_type()
{
    window *hostWindow;
    ccInt numArgs = numBIF_args();


        // get the variable (arg 1)
    
    if ((numArgs < 1) || (numArgs > 2))  {  setError(wrong_argument_count_err, pcCodePtr-1);  return;  }
    hostWindow = getBIFmember(1);
    if (hostWindow == NULL)  {  setError(void_member_err, pcCodePtr-1);  return;  }
    
    
        // return the requested piece of information
    
    if (numArgs == 1)  intRegister = hostWindow->variable_ptr->type;
    
    else if (hostWindow->variable_ptr->type == composite_type)  {
        ccInt memberIndex = getBIFnumArg(2, 1., (ccFloat) hostWindow->variable_ptr->mem.members.elementNum);
        if (errCode == passed)  {
            intRegister = LL_member(hostWindow->variable_ptr, memberIndex)->type;
    }   }
    
    else  setError(not_composite_err, pcCodePtr-1);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
callq 0x19254
movl %eax, %r14d
leal -0x3(%r14), %eax
cmpl $-0x3, %eax
ja 0x18df6
leaq 0xc97f(%rip), %rax      # 0x25760
movq 0xb8(%rax), %rsi
addq $-0x4, %rsi
movl $0x2d, %edi
jmp 0x18e9e
movl $0x1, %edi
callq 0x1929e
testq %rax, %rax
je 0x18e24
movq %rax, %rbx
movq 0x10(%rax), %rax
movl 0xc0(%rax), %ecx
cmpl $0x1, %r14d
jne 0x18e3d
leaq 0xc941(%rip), %rax      # 0x25760
movl %ecx, 0x6c(%rax)
jmp 0x18e7f
leaq 0xc935(%rip), %rax      # 0x25760
movq 0xb8(%rax), %rsi
addq $-0x4, %rsi
movl $0x1a, %edi
jmp 0x18e9e
cmpl $0x5, %ecx
jne 0x18e87
cvtsi2sdl 0x10(%rax), %xmm1
movsd 0x21b9(%rip), %xmm0     # 0x1b008
movl $0x2, %edi
callq 0x1930e
leaq 0xc900(%rip), %r14      # 0x25760
cmpl $0x0, 0x18(%r14)
jne 0x18e7f
cvttsd2si %xmm0, %esi
movq 0x10(%rbx), %rdi
addq $0x10, %rdi
callq 0x91d8
movl 0x10(%rax), %eax
movl %eax, 0x6c(%r14)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
leaq 0xc8d2(%rip), %rax      # 0x25760
movq 0xb8(%rax), %rsi
addq $-0x4, %rsi
movl $0x24, %edi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0xcfa3
// File: /workspace/github_c_makefile_star2_O3/heltilda[P]cicada/ciclib.c
// Function: cclib_member_ID
void cclib_member_ID()
{
    window *hostWindow;
    ccInt memberIndex, memberNumber, entryOffset, rtrn;
    member *soughtMember;
    
    if (numBIF_args() != 2)  {  setError(wrong_argument_count_err, pcCodePtr-1);  return;  }
    
    
        // get the variable containing the member (arg 1)
    
    hostWindow = getBIFmember(1);
    if (hostWindow == NULL)  {  setError(void_member_err, pcCodePtr-1);  return;  }
    if (hostWindow->variable_ptr->type < composite_type)  {  setError(type_mismatch_err, pcCodePtr-1);  return;  }
    
    
        // get the member index -- arg 2
    
    memberIndex = (ccInt) getBIFnumArg(2, 1., (ccFloat) hostWindow->variable_ptr->mem.members.elementNum);
    if (errCode != passed)  return;
    rtrn = findMemberIndex(hostWindow->variable_ptr, 0, memberIndex, &soughtMember, &memberNumber, &entryOffset, ccFalse);
    if (rtrn != passed)  {  setError(rtrn, pcCodePtr-1);  return;  }
    
    
        // return the ID number
    
    intRegister = soughtMember->memberID;
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x18, %rsp
callq 0x19254
cmpl $0x2, %eax
jne 0x18ef3
movl $0x1, %edi
callq 0x1929e
testq %rax, %rax
je 0x18f0c
movq %rax, %rbx
movq 0x10(%rax), %rax
cmpl $0x4, 0xc0(%rax)
jg 0x18f2f
leaq 0xc87f(%rip), %rax      # 0x25760
movq 0xb8(%rax), %rsi
addq $-0x4, %rsi
movl $0x11, %edi
jmp 0x18f23
leaq 0xc866(%rip), %rax      # 0x25760
movq 0xb8(%rax), %rsi
addq $-0x4, %rsi
movl $0x2d, %edi
jmp 0x18f23
leaq 0xc84d(%rip), %rax      # 0x25760
movq 0xb8(%rax), %rsi
addq $-0x4, %rsi
movl $0x1a, %edi
addq $0x18, %rsp
popq %rbx
popq %r14
jmp 0xcfa3
cvtsi2sdl 0x10(%rax), %xmm1
movsd 0x20cc(%rip), %xmm0     # 0x1b008
movl $0x2, %edi
callq 0x1930e
leaq 0xc813(%rip), %r14      # 0x25760
cmpl $0x0, 0x18(%r14)
jne 0x18f9d
cvttsd2si %xmm0, %edx
movq 0x10(%rbx), %rdi
movl $0x0, (%rsp)
leaq 0x8(%rsp), %rcx
leaq 0x14(%rsp), %r8
leaq 0x10(%rsp), %r9
xorl %esi, %esi
callq 0xee01
testl %eax, %eax
je 0x18f91
movq 0xb8(%r14), %rsi
addq $-0x4, %rsi
movl %eax, %edi
callq 0xcfa3
jmp 0x18f9d
movq 0x8(%rsp), %rax
movl 0x8(%rax), %eax
movl %eax, 0x6c(%r14)
addq $0x18, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/heltilda[P]cicada/ciclib.c
// Function: springCleaning
void springCleaning()
{
    if (numBIF_args() == 0)  combVariables();
    
    else if (numBIF_args() == 1)  {
        window *theWindow = getBIFmember(1);
        ccInt loopMember;
        
        if (theWindow == NULL)  {  setError(void_member_err, pcCodePtr-1);  return;  }
        if (theWindow->variable_ptr->type != composite_type)  {  setError(not_composite_err, pcCodePtr-1);  return;  }
        
        for (loopMember = theWindow->variable_ptr->mem.members.elementNum; loopMember >= 1; loopMember--)  {
        if (LL_member(theWindow->variable_ptr, loopMember)->ifHidden)  {
            removeMember(theWindow->variable_ptr, loopMember);
            if (errCode != passed)  return;
    }   }}
    
    else  {  setError(wrong_argument_count_err, pcCodePtr-1);  return;  }
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
callq 0x19254
testl %eax, %eax
je 0x191f4
callq 0x19254
cmpl $0x1, %eax
jne 0x191fd
movl $0x1, %edi
callq 0x1929e
testq %rax, %rax
je 0x19216
movq %rax, %rbx
movq 0x10(%rax), %rdi
cmpl $0x5, 0xc0(%rdi)
jne 0x1922f
movl 0x10(%rdi), %ebp
testl %ebp, %ebp
jle 0x1924f
leaq 0xc5a3(%rip), %r14      # 0x25760
addq $0x10, %rdi
movl %ebp, %esi
callq 0x91d8
cmpb $0x0, 0x40(%rax)
je 0x191e7
movq 0x10(%rbx), %rdi
movl %ebp, %esi
callq 0xf789
cmpl $0x0, 0x18(%r14)
jne 0x1924f
cmpl $0x1, %ebp
jg 0x191ec
jmp 0x1924f
cmpl $0x2, %ebp
jl 0x1924f
decl %ebp
movq 0x10(%rbx), %rdi
jmp 0x191bd
popq %rbx
popq %r14
popq %rbp
jmp 0xf2dc
leaq 0xc55c(%rip), %rax      # 0x25760
movq 0xb8(%rax), %rsi
addq $-0x4, %rsi
movl $0x2d, %edi
jmp 0x19246
leaq 0xc543(%rip), %rax      # 0x25760
movq 0xb8(%rax), %rsi
addq $-0x4, %rsi
movl $0x1a, %edi
jmp 0x19246
leaq 0xc52a(%rip), %rax      # 0x25760
movq 0xb8(%rax), %rsi
addq $-0x4, %rsi
movl $0x24, %edi
popq %rbx
popq %r14
popq %rbp
jmp 0xcfa3
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/heltilda[P]cicada/ciclib.c
// Function: numBIF_args
ccInt numBIF_args()
{
    variable *BIFargsVariable = BIF_argsView.windowPtr->variable_ptr;
    ccInt counter, visibleMemberCounter = 0;
    
    for (counter = 1; counter <= BIFargsVariable->mem.members.elementNum; counter++)   {
    if (!(LL_member(BIFargsVariable, counter)->ifHidden))   {
        visibleMemberCounter++;
    }}
    
    return visibleMemberCounter;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
leaq 0xc501(%rip), %rax      # 0x25760
movq 0x178(%rax), %rax
movq 0x10(%rax), %rbx
cmpl $0x0, 0x10(%rbx)
jle 0x19295
addq $0x10, %rbx
xorl %r14d, %r14d
xorl %ebp, %ebp
incl %r14d
movq %rbx, %rdi
movl %r14d, %esi
callq 0x91d8
cmpb $0x1, 0x40(%rax)
adcl $0x0, %ebp
cmpl (%rbx), %r14d
jl 0x19279
jmp 0x19297
xorl %ebp, %ebp
movl %ebp, %eax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/heltilda[P]cicada/ciclib.c
// Function: getBIFmember
window *getBIFmember(ccInt soughtMemberIndex)
{
    variable *BIFargsVariable = BIF_argsView.windowPtr->variable_ptr;
    ccInt counter, memberCounter = 0;
    member *loopMember;
    
    for (counter = 1; counter <= BIFargsVariable->mem.members.elementNum; counter++)   {
        loopMember = LL_member(BIFargsVariable, counter);
        if (!loopMember->ifHidden)  {
            memberCounter++;
            if (memberCounter == soughtMemberIndex)  {
                if (loopMember->memberWindow == NULL)  return NULL;
                else if (loopMember->memberWindow->jamStatus == unjammed)  return NULL;
                else  return loopMember->memberWindow;
    }   }   }
    
    return NULL;    // should never happen
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
leaq 0xc4b3(%rip), %rax      # 0x25760
movq 0x178(%rax), %rax
movq 0x10(%rax), %r14
xorl %ebx, %ebx
cmpl $0x0, 0x10(%r14)
jle 0x192ee
movl %edi, %ebp
addq $0x10, %r14
xorl %r15d, %r15d
xorl %r12d, %r12d
incl %r15d
movq %r14, %rdi
movl %r15d, %esi
callq 0x91d8
cmpb $0x0, 0x40(%rax)
jne 0x192e9
incl %r12d
cmpl %ebp, %r12d
je 0x192fa
cmpl (%r14), %r15d
jl 0x192cd
movq %rbx, %rax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq (%rax), %rax
xorl %ebx, %ebx
testq %rax, %rax
je 0x192ee
cmpb $0x2, 0x20(%rax)
cmovneq %rax, %rbx
jmp 0x192ee
// File: /workspace/github_c_makefile_star2_O3/heltilda[P]cicada/ciclib.c
// Function: getBIFnumArg
ccFloat getBIFnumArg(ccInt argNum, ccFloat argMin, ccFloat argMax)
{
    window *argWindow = getBIFmember(argNum);
    
    if (argWindow == NULL)  setError(void_member_err, pcCodePtr-1);
    else if ((argWindow->variable_ptr->type == bool_type) || (argWindow->variable_ptr->type > double_type))
        setError(not_a_number_err, pcCodePtr-1);
    else if (argWindow->width != 1)  setError(multiple_indices_not_allowed_err, pcCodePtr-1);
    
    else  {
        loadDoubleRegister(argWindow->variable_ptr, argWindow->offset);
        if (!((doubleRegister >= argMin) && (doubleRegister <= argMax)))  setError(out_of_range_err, pcCodePtr-1);     }
    
    return doubleRegister;
}

// Assembly:
subq $0x18, %rsp
movsd %xmm1, 0x8(%rsp)
movsd %xmm0, 0x10(%rsp)
callq 0x1929e
testq %rax, %rax
je 0x19385
movq 0x10(%rax), %rcx
movl 0xc0(%rcx), %edx
testl %edx, %edx
sete %sil
cmpl $0x4, %edx
setge %dl
orb %sil, %dl
movl $0x29, %edi
jne 0x1938a
movl $0x1f, %edi
cmpl $0x1, 0x1c(%rax)
jne 0x1938a
movl 0x18(%rax), %esi
movq %rcx, %rdi
callq 0x157f6
leaq 0xc3fb(%rip), %rax      # 0x25760
movsd 0x70(%rax), %xmm0
ucomisd 0x10(%rsp), %xmm0
movl $0x2, %edi
jb 0x1938a
movsd 0x8(%rsp), %xmm1
ucomisd %xmm0, %xmm1
jae 0x193a1
jmp 0x1938a
movl $0x1a, %edi
leaq 0xc3cf(%rip), %rax      # 0x25760
movq 0xb8(%rax), %rsi
addq $-0x4, %rsi
callq 0xcfa3
leaq 0xc3b8(%rip), %rax      # 0x25760
movsd 0x70(%rax), %xmm0
addq $0x18, %rsp
retq
// File: /workspace/github_c_makefile_star2_O3/heltilda[P]cicada/ciclib.c
// Function: getCompilerString
char *getCompilerString(window *stringsWindow, ccInt windowOffset, ccInt whichCommand)
{
    window *charsWindow = LL_member(stringsWindow->variable_ptr, windowOffset+whichCommand+1)->memberWindow;
    linkedlist *charsLL = &(charsWindow->variable_ptr->mem.data);
    
    char *stringCopy = (char *) malloc(charsWindow->width+1);
    if (stringCopy == NULL)  setError(out_of_memory_err, pcCodePtr-1);
    else  {
        getElements(charsLL, charsWindow->offset+1, charsWindow->offset+charsWindow->width, (void *) stringCopy);
        stringCopy[charsWindow->width] = 0;     }
    
    return stringCopy;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq 0x10(%rdi), %rdi
addq $0x10, %rdi
addl %edx, %esi
incl %esi
callq 0x91d8
movq (%rax), %r12
movq 0x10(%r12), %r15
movslq 0x1c(%r12), %r14
leaq 0x1(%r14), %rdi
callq 0x81d0
movq %rax, %rbx
testq %rax, %rax
je 0x19411
addq $0x10, %r15
movl 0x18(%r12), %eax
leal 0x1(%rax), %esi
addl %eax, %r14d
movq %r15, %rdi
movl %r14d, %edx
movq %rbx, %rcx
callq 0x90a5
movslq 0x1c(%r12), %rax
movb $0x0, (%rbx,%rax)
jmp 0x1942d
leaq 0xc348(%rip), %rax      # 0x25760
movq 0xb8(%rax), %rsi
addq $-0x4, %rsi
movl $0x1, %edi
callq 0xcfa3
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/heltilda[P]cicada/ciclib.c
// Function: getBIFstringArg
window *getBIFstringArg(ccInt argNum)
{
    window *argWindow = getBIFmember(argNum);
    variable *argVar;
    
    if (argWindow == NULL)  {  setError(void_member_err, pcCodePtr-1);  return NULL;  }
    argVar = argWindow->variable_ptr;
    
    if (argVar->type == string_type)  {
        if (argWindow->width != 1)  setError(multiple_indices_not_allowed_err, pcCodePtr-1);
        else  return LL_member(argVar, argWindow->offset+1)->memberWindow;     }
    
    else if ((argVar->type == array_type) && (argVar->arrayDepth == 1) && (argVar->eventualType == char_type))  {
        return LL_member(argVar, 1)->memberWindow;     }
    
    else if (argVar->type == char_type)  {
        return argWindow;     }
    
    else  setError(string_expected_err, pcCodePtr-1);
    
    return NULL;   
}

// Assembly:
pushq %rax
callq 0x1929e
testq %rax, %rax
je 0x19475
movq 0x10(%rax), %rdi
movl 0xc0(%rdi), %ecx
cmpl $0x1, %ecx
je 0x194ea
cmpl $0x6, %ecx
je 0x1948e
cmpl $0x4, %ecx
jne 0x194b3
cmpl $0x1, 0x1c(%rax)
jne 0x194cc
addq $0x10, %rdi
movl 0x18(%rax), %esi
incl %esi
jmp 0x194a9
leaq 0xc2e4(%rip), %rax      # 0x25760
movq 0xb8(%rax), %rsi
addq $-0x4, %rsi
movl $0x1a, %edi
jmp 0x194e3
cmpl $0x1, 0xc8(%rdi)
jne 0x194b3
cmpl $0x1, 0xc4(%rdi)
jne 0x194b3
addq $0x10, %rdi
movl $0x1, %esi
callq 0x91d8
movq (%rax), %rax
jmp 0x194ea
leaq 0xc2a6(%rip), %rax      # 0x25760
movq 0xb8(%rax), %rsi
addq $-0x4, %rsi
movl $0x25, %edi
jmp 0x194e3
leaq 0xc28d(%rip), %rax      # 0x25760
movq 0xb8(%rax), %rsi
addq $-0x4, %rsi
movl $0x1f, %edi
callq 0xcfa3
xorl %eax, %eax
popq %rcx
retq
// File: /workspace/github_c_makefile_star2_O3/heltilda[P]cicada/ciclib.c
// Function: loadFile
ccInt loadFile(char *fileString, linkedlist *textString, ccBool addFinalNull)
{
    ccInt fileSize, LLsize, bytesRead, rtrn;
    FILE *fileToRead;
    
    
        // try to open the file; throw an error if unsuccessful
    
    fileToRead = fopen(fileString, "rb");
    if (fileToRead == NULL)  return IO_error;
    
    
        // get the size of the file
    
    fseek(fileToRead, 0, SEEK_END);
    fileSize = (ccInt) ftell(fileToRead);
    rewind(fileToRead);
    
    
        // allocate memory and read the file
    
    LLsize = fileSize;
    if (addFinalNull)  LLsize++;
    rtrn = resizeLinkedList(textString, LLsize, ccFalse);
    if (rtrn == passed)  rtrn = defragmentLinkedList(textString);
    if (rtrn != passed)  return rtrn;
    
    if (fileSize > 0)    {
        bytesRead = (ccInt) fread(element(textString, 1), 1, (size_t) fileSize, fileToRead);
        if (bytesRead != fileSize)  {
            fclose(fileToRead);
            return IO_error;
    }   }
    
    rtrn = fclose(fileToRead);
    if (rtrn != 0)  rtrn = IO_error;
    
    if (addFinalNull)  *LL_Char(textString, LLsize) = 0;
    
    return rtrn;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %edx, %ebp
movq %rsi, %r14
leaq 0x28f1(%rip), %rsi      # 0x1bdf4
callq 0x81b0
movl $0x31, %ebx
testq %rax, %rax
je 0x19561
movq %rax, %r15
movq %rax, %rdi
xorl %esi, %esi
movl $0x2, %edx
callq 0x8190
movq %r15, %rdi
callq 0x8030
movq %rax, %r13
movq %r15, %rdi
callq 0x8060
leal 0x1(%r13), %r12d
testb %bpl, %bpl
movl %r12d, %esi
cmovel %r13d, %esi
movq %r14, %rdi
xorl %edx, %edx
callq 0x8bc7
testl %eax, %eax
jne 0x1955f
movq %r14, %rdi
callq 0x8c00
testl %eax, %eax
je 0x19572
movl %eax, %ebx
movl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
testl %r13d, %r13d
jle 0x195a2
movq %r14, %rdi
movl $0x1, %esi
callq 0x91d8
movl %r13d, %edx
andl $0x7fffffff, %edx       # imm = 0x7FFFFFFF
movl $0x1, %esi
movq %rax, %rdi
movq %r15, %rcx
callq 0x81f0
cmpl %r13d, %eax
jne 0x195c9
movq %r15, %rdi
callq 0x8170
testl %eax, %eax
movl $0x31, %ebx
cmovel %eax, %ebx
testb %bpl, %bpl
je 0x19561
movq %r14, %rdi
movl %r12d, %esi
callq 0x91d8
movb $0x0, (%rax)
jmp 0x19561
movq %r15, %rdi
callq 0x8170
jmp 0x19561
// File: /workspace/github_c_makefile_star2_O3/heltilda[P]cicada/ciclib.c
// Function: getBIFboolArg
ccBool getBIFboolArg(ccInt argNum)
{
    window *argWindow = getBIFmember(argNum);
    
    if (argWindow == NULL)  setError(void_member_err, pcCodePtr-1);
    else if (argWindow->variable_ptr->type != bool_type)  setError(type_mismatch_err, pcCodePtr-1);
    else if (argWindow->width != 1)  setError(multiple_indices_not_allowed_err, pcCodePtr-1);
    
    else  loadBoolRegister(argWindow->variable_ptr, argWindow->offset);
    
    return boolRegister;
}

// Assembly:
pushq %rax
callq 0x1929e
testq %rax, %rax
je 0x19604
movq 0x10(%rax), %rdi
cmpl $0x0, 0xc0(%rdi)
je 0x1961d
leaq 0xc16e(%rip), %rax      # 0x25760
movq 0xb8(%rax), %rsi
addq $-0x4, %rsi
movl $0x11, %edi
jmp 0x19644
leaq 0xc155(%rip), %rax      # 0x25760
movq 0xb8(%rax), %rsi
addq $-0x4, %rsi
movl $0x1a, %edi
jmp 0x19644
cmpl $0x1, 0x1c(%rax)
jne 0x1962d
movl 0x18(%rax), %esi
callq 0x161ef
jmp 0x19649
leaq 0xc12c(%rip), %rax      # 0x25760
movq 0xb8(%rax), %rsi
addq $-0x4, %rsi
movl $0x1f, %edi
callq 0xcfa3
leaq 0xc110(%rip), %rax      # 0x25760
movb 0x68(%rax), %al
popq %rcx
retq
// File: /workspace/github_c_makefile_star2_O3/heltilda[P]cicada/ciclib.c
// Function: writeBIFintArg
void writeBIFintArg(ccInt argNum, ccInt theNum)
{
    window *argWindow = getBIFmember(argNum);
    
    if (argWindow == NULL)  return;
    else if (argWindow->variable_ptr->type > double_type)  setError(type_mismatch_err, pcCodePtr-1);
    else if (argWindow->width != 1)  setError(multiple_indices_not_allowed_err, pcCodePtr-1);
    
    else  {
        doubleRegister = (ccFloat) theNum;
        saveDoubleRegister(argWindow->variable_ptr, argWindow->offset);   }
}

// Assembly:
pushq %rbx
movl %esi, %ebx
callq 0x1929e
testq %rax, %rax
je 0x1972f
movq 0x10(%rax), %rdi
cmpl $0x4, 0xc0(%rdi)
jl 0x19731
leaq 0xc043(%rip), %rax      # 0x25760
movq 0xb8(%rax), %rsi
addq $-0x4, %rsi
movl $0x11, %edi
jmp 0x19767
popq %rbx
retq
cmpl $0x1, 0x1c(%rax)
jne 0x19750
cvtsi2sd %ebx, %xmm0
leaq 0xc01e(%rip), %rcx      # 0x25760
movsd %xmm0, 0x70(%rcx)
movl 0x18(%rax), %esi
popq %rbx
jmp 0x16242
leaq 0xc009(%rip), %rax      # 0x25760
movq 0xb8(%rax), %rsi
addq $-0x4, %rsi
movl $0x1f, %edi
popq %rbx
jmp 0xcfa3
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O3/heltilda[P]cicada/userfn.c
// Function: callMinMax
ccInt callMinMax(ccInt argc, char **argv)
{
    ccInt c1, listTop, *bestIdx, mult;
    ccFloat *theList, *bestValue;
    arg_info *argInfo = (arg_info *) argv[argc];
    
    getArgs(argc, argv, &theList, byValue(&mult), &bestIdx, &bestValue);
    listTop = argInfo[0].argIndices;
    
    *bestIdx = 1;
    *bestValue = mult * theList[0];
    
    for (c1 = 0; c1 < argInfo[0].argIndices; c1++)  {
    if (mult*theList[c1] > *bestValue)  {
        *bestIdx = c1 + 1;
        *bestValue = mult * theList[c1];
    }}
    
    return passed;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x30, %rsp
movslq %edi, %rdi
movq (%rsi,%rdi,8), %r12
leaq 0x18(%rsp), %r13
movq %r13, (%rsp)
leaq 0x20(%rsp), %rbx
leaq 0x14(%rsp), %r14
leaq 0x28(%rsp), %r15
movq %rbx, %rdx
xorl %ecx, %ecx
movq %r14, %r8
movq %r15, %r9
xorl %eax, %eax
callq 0x19abb
movq (%r15), %rax
movl $0x1, (%rax)
movl (%r14), %esi
cvtsi2sd %esi, %xmm0
movq (%rbx), %rcx
mulsd (%rcx), %xmm0
movq (%r13), %rdx
movsd %xmm0, (%rdx)
movl 0x4(%r12), %r8d
testl %r8d, %r8d
jle 0x1985d
xorl %edi, %edi
xorps %xmm2, %xmm2
cvtsi2sd %esi, %xmm2
movsd (%rcx,%rdi,8), %xmm1
mulsd %xmm1, %xmm2
ucomisd %xmm0, %xmm2
jbe 0x19852
leal 0x1(%rdi), %esi
movl %esi, (%rax)
movl 0x14(%rsp), %esi
xorps %xmm0, %xmm0
cvtsi2sd %esi, %xmm0
mulsd %xmm0, %xmm1
movsd %xmm1, (%rdx)
movl 0x4(%r12), %r8d
movapd %xmm1, %xmm0
incq %rdi
movslq %r8d, %r9
cmpq %r9, %rdi
jl 0x1981b
xorl %eax, %eax
addq $0x30, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/heltilda[P]cicada/userfn.c
// Function: callSum
ccInt callSum(ccInt argc, char **argv)
{
    ccInt c1;
    ccFloat *theList, *theSum;
    arg_info *argInfo = (arg_info *) argv[argc];
    
    getArgs(argc, argv, &theList, &theSum);
    
    *theSum = 0.;
    for (c1 = 0; c1 < argInfo[0].argIndices; c1++)  *theSum += theList[c1];
    
    return passed;
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x18, %rsp
movslq %edi, %rdi
movq (%rsi,%rdi,8), %r14
leaq 0x8(%rsp), %rdx
leaq 0x10(%rsp), %rbx
movq %rbx, %rcx
xorl %eax, %eax
callq 0x19abb
movq (%rbx), %rax
movq $0x0, (%rax)
movslq 0x4(%r14), %rcx
testq %rcx, %rcx
jle 0x198be
xorpd %xmm0, %xmm0
movq 0x8(%rsp), %rdx
xorl %esi, %esi
addsd (%rdx,%rsi,8), %xmm0
movsd %xmm0, (%rax)
incq %rsi
cmpq %rsi, %rcx
jne 0x198ad
xorl %eax, %eax
addq $0x18, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/heltilda[P]cicada/userfn.c
// Function: callMakeLinkList
ccInt callMakeLinkList(ccInt argc, char **argv)
{
    ccInt *linkList, firstIndex, direction, cl;
    ccFloat *sortingList;
    arg_info *argInfo = (arg_info *) argv[argc];
    
    getArgs(argc, argv, &sortingList, &linkList, byValue(&direction));
    
    for (cl = 0; cl < argInfo[0].argIndices; cl++)  linkList[cl] = -1;
    
    firstIndex = makeLinkList(0, argInfo[0].argIndices-1, direction, sortingList, linkList);
    
    return firstIndex;
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x18, %rsp
movslq %edi, %rdi
movq (%rsi,%rdi,8), %r14
leaq 0x8(%rsp), %rdx
leaq 0x10(%rsp), %rbx
leaq 0x4(%rsp), %r9
movq %rbx, %rcx
xorl %r8d, %r8d
xorl %eax, %eax
callq 0x19abb
movl 0x4(%r14), %esi
movq (%rbx), %r8
testl %esi, %esi
jle 0x19913
xorl %eax, %eax
movl $0xffffffff, (%r8,%rax,4) # imm = 0xFFFFFFFF
incq %rax
movslq 0x4(%r14), %rsi
cmpq %rsi, %rax
jl 0x198ff
decl %esi
movl 0x4(%rsp), %edx
movq 0x8(%rsp), %rcx
xorl %edi, %edi
callq 0x19c2e
addq $0x18, %rsp
popq %rbx
popq %r14
retq