LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O0/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
movq %rsp, %rbp
subq $0x30, %rsp
movl %edi, -0xc(%rbp)
leaq 0xcc8e(%rip), %rax      # 0x2c750
movq 0x178(%rax), %rax
movq 0x10(%rax), %rax
movq %rax, -0x18(%rbp)
movl $0x0, -0x20(%rbp)
movl $0x1, -0x1c(%rbp)
movl -0x1c(%rbp), %eax
movq -0x18(%rbp), %rcx
cmpl 0x10(%rcx), %eax
jg 0x1fb67
movq -0x18(%rbp), %rdi
addq $0x10, %rdi
movl -0x1c(%rbp), %esi
callq 0x9700
movq %rax, -0x28(%rbp)
movq -0x28(%rbp), %rax
cmpb $0x0, 0x40(%rax)
jne 0x1fb57
movl -0x20(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x20(%rbp)
movl -0x20(%rbp), %eax
cmpl -0xc(%rbp), %eax
jne 0x1fb55
movq -0x28(%rbp), %rax
cmpq $0x0, (%rax)
jne 0x1fb2e
movq $0x0, -0x8(%rbp)
jmp 0x1fb6f
movq -0x28(%rbp), %rax
movq (%rax), %rax
movsbl 0x20(%rax), %eax
cmpl $0x2, %eax
jne 0x1fb48
movq $0x0, -0x8(%rbp)
jmp 0x1fb6f
movq -0x28(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x8(%rbp)
jmp 0x1fb6f
jmp 0x1fb57
jmp 0x1fb59
movl -0x1c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x1c(%rbp)
jmp 0x1fadf
movq $0x0, -0x8(%rbp)
movq -0x8(%rbp), %rax
addq $0x30, %rsp
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/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:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movl %edi, -0x4(%rbp)
movsd %xmm0, -0x10(%rbp)
movsd %xmm1, -0x18(%rbp)
movl -0x4(%rbp), %edi
callq 0x1fab0
movq %rax, -0x20(%rbp)
cmpq $0x0, -0x20(%rbp)
jne 0x1fbc9
leaq 0xcba1(%rip), %rax      # 0x2c750
movq 0xb8(%rax), %rsi
addq $-0x4, %rsi
movl $0x1a, %edi
callq 0xf740
jmp 0x1fc94
movq -0x20(%rbp), %rax
movq 0x10(%rax), %rax
cmpl $0x0, 0xc0(%rax)
je 0x1fbeb
movq -0x20(%rbp), %rax
movq 0x10(%rax), %rax
cmpl $0x3, 0xc0(%rax)
jle 0x1fc0c
leaq 0xcb5e(%rip), %rax      # 0x2c750
movq 0xb8(%rax), %rsi
addq $-0x4, %rsi
movl $0x29, %edi
callq 0xf740
jmp 0x1fc92
movq -0x20(%rbp), %rax
cmpl $0x1, 0x1c(%rax)
je 0x1fc34
leaq 0xcb33(%rip), %rax      # 0x2c750
movq 0xb8(%rax), %rsi
addq $-0x4, %rsi
movl $0x1f, %edi
callq 0xf740
jmp 0x1fc90
movq -0x20(%rbp), %rax
movq 0x10(%rax), %rdi
movq -0x20(%rbp), %rax
movl 0x18(%rax), %esi
callq 0x1a8d0
leaq 0xcb01(%rip), %rax      # 0x2c750
movsd 0x70(%rax), %xmm0
ucomisd -0x10(%rbp), %xmm0
jb 0x1fc72
leaq 0xcaee(%rip), %rax      # 0x2c750
movsd 0x70(%rax), %xmm1
movsd -0x18(%rbp), %xmm0
ucomisd %xmm1, %xmm0
jae 0x1fc8e
leaq 0xcad7(%rip), %rax      # 0x2c750
movq 0xb8(%rax), %rsi
addq $-0x4, %rsi
movl $0x2, %edi
callq 0xf740
jmp 0x1fc90
jmp 0x1fc92
jmp 0x1fc94
leaq 0xcab5(%rip), %rax      # 0x2c750
movsd 0x70(%rax), %xmm0
addq $0x20, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/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 %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movl %edx, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq 0x10(%rax), %rdi
addq $0x10, %rdi
movl -0xc(%rbp), %esi
addl -0x10(%rbp), %esi
addl $0x1, %esi
callq 0x9700
movq (%rax), %rax
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rax
movq 0x10(%rax), %rax
addq $0x10, %rax
movq %rax, -0x20(%rbp)
movq -0x18(%rbp), %rax
movl 0x1c(%rax), %eax
addl $0x1, %eax
movslq %eax, %rdi
callq 0x81d0
movq %rax, -0x28(%rbp)
cmpq $0x0, -0x28(%rbp)
jne 0x1fd2e
leaq 0xca39(%rip), %rax      # 0x2c750
movq 0xb8(%rax), %rsi
addq $-0x4, %rsi
movl $0x1, %edi
callq 0xf740
jmp 0x1fd63
movq -0x20(%rbp), %rdi
movq -0x18(%rbp), %rax
movl 0x18(%rax), %esi
addl $0x1, %esi
movq -0x18(%rbp), %rax
movl 0x18(%rax), %edx
movq -0x18(%rbp), %rax
addl 0x1c(%rax), %edx
movq -0x28(%rbp), %rcx
callq 0x9540
movq -0x28(%rbp), %rax
movq -0x18(%rbp), %rcx
movslq 0x1c(%rcx), %rcx
movb $0x0, (%rax,%rcx)
movq -0x28(%rbp), %rax
addq $0x30, %rsp
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/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 %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movl %edi, -0xc(%rbp)
movl -0xc(%rbp), %edi
callq 0x1fab0
movq %rax, -0x18(%rbp)
cmpq $0x0, -0x18(%rbp)
jne 0x1fdb7
leaq 0xc9bb(%rip), %rax      # 0x2c750
movq 0xb8(%rax), %rsi
addq $-0x4, %rsi
movl $0x1a, %edi
callq 0xf740
movq $0x0, -0x8(%rbp)
jmp 0x1fe9e
movq -0x18(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rax
cmpl $0x4, 0xc0(%rax)
jne 0x1fe1d
movq -0x18(%rbp), %rax
cmpl $0x1, 0x1c(%rax)
je 0x1fdf8
leaq 0xc96f(%rip), %rax      # 0x2c750
movq 0xb8(%rax), %rsi
addq $-0x4, %rsi
movl $0x1f, %edi
callq 0xf740
jmp 0x1fe1b
movq -0x20(%rbp), %rdi
addq $0x10, %rdi
movq -0x18(%rbp), %rax
movl 0x18(%rax), %esi
addl $0x1, %esi
callq 0x9700
movq (%rax), %rax
movq %rax, -0x8(%rbp)
jmp 0x1fe9e
jmp 0x1fe96
movq -0x20(%rbp), %rax
cmpl $0x6, 0xc0(%rax)
jne 0x1fe5f
movq -0x20(%rbp), %rax
cmpl $0x1, 0xc8(%rax)
jne 0x1fe5f
movq -0x20(%rbp), %rax
cmpl $0x1, 0xc4(%rax)
jne 0x1fe5f
movq -0x20(%rbp), %rdi
addq $0x10, %rdi
movl $0x1, %esi
callq 0x9700
movq (%rax), %rax
movq %rax, -0x8(%rbp)
jmp 0x1fe9e
movq -0x20(%rbp), %rax
cmpl $0x1, 0xc0(%rax)
jne 0x1fe76
movq -0x18(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0x1fe9e
leaq 0xc8d3(%rip), %rax      # 0x2c750
movq 0xb8(%rax), %rsi
addq $-0x4, %rsi
movl $0x25, %edi
callq 0xf740
jmp 0x1fe94
jmp 0x1fe96
movq $0x0, -0x8(%rbp)
movq -0x8(%rbp), %rax
addq $0x20, %rsp
popq %rbp
retq
nopl (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/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
movq %rsp, %rbp
subq $0x40, %rsp
movb %dl, %al
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movb %al, -0x19(%rbp)
movq -0x10(%rbp), %rdi
leaq 0x2e74(%rip), %rsi      # 0x22d44
callq 0x81b0
movq %rax, -0x38(%rbp)
cmpq $0x0, -0x38(%rbp)
jne 0x1feec
movl $0x31, -0x4(%rbp)
jmp 0x1ffd5
movq -0x38(%rbp), %rdi
xorl %eax, %eax
movl %eax, %esi
movl $0x2, %edx
callq 0x8190
movq -0x38(%rbp), %rdi
callq 0x8030
movl %eax, -0x20(%rbp)
movq -0x38(%rbp), %rdi
callq 0x8060
movl -0x20(%rbp), %eax
movl %eax, -0x24(%rbp)
cmpb $0x0, -0x19(%rbp)
je 0x1ff28
movl -0x24(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x24(%rbp)
movq -0x18(%rbp), %rdi
movl -0x24(%rbp), %esi
xorl %edx, %edx
callq 0x8ee0
movl %eax, -0x2c(%rbp)
cmpl $0x0, -0x2c(%rbp)
jne 0x1ff4b
movq -0x18(%rbp), %rdi
callq 0x8f70
movl %eax, -0x2c(%rbp)
cmpl $0x0, -0x2c(%rbp)
je 0x1ff59
movl -0x2c(%rbp), %eax
movl %eax, -0x4(%rbp)
jmp 0x1ffd5
cmpl $0x0, -0x20(%rbp)
jle 0x1ffa1
movq -0x18(%rbp), %rdi
movl $0x1, %esi
callq 0x9700
movq %rax, %rdi
movslq -0x20(%rbp), %rdx
movq -0x38(%rbp), %rcx
movl $0x1, %esi
callq 0x81e0
movl %eax, -0x28(%rbp)
movl -0x28(%rbp), %eax
cmpl -0x20(%rbp), %eax
je 0x1ff9f
movq -0x38(%rbp), %rdi
callq 0x8180
movl $0x31, -0x4(%rbp)
jmp 0x1ffd5
jmp 0x1ffa1
movq -0x38(%rbp), %rdi
callq 0x8180
movl %eax, -0x2c(%rbp)
cmpl $0x0, -0x2c(%rbp)
je 0x1ffba
movl $0x31, -0x2c(%rbp)
cmpb $0x0, -0x19(%rbp)
je 0x1ffcf
movq -0x18(%rbp), %rdi
movl -0x24(%rbp), %esi
callq 0x9700
movb $0x0, (%rax)
movl -0x2c(%rbp), %eax
movl %eax, -0x4(%rbp)
movl -0x4(%rbp), %eax
addq $0x40, %rsp
popq %rbp
retq
nop
// File: /workspace/github_c_makefile_star2_O0/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 %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movl %edi, -0x4(%rbp)
movl -0x4(%rbp), %edi
callq 0x1fab0
movq %rax, -0x10(%rbp)
cmpq $0x0, -0x10(%rbp)
jne 0x2001c
leaq 0xc74b(%rip), %rax      # 0x2c750
movq 0xb8(%rax), %rsi
addq $-0x4, %rsi
movl $0x1a, %edi
callq 0xf740
jmp 0x2008b
movq -0x10(%rbp), %rax
movq 0x10(%rax), %rax
cmpl $0x0, 0xc0(%rax)
je 0x2004b
leaq 0xc71c(%rip), %rax      # 0x2c750
movq 0xb8(%rax), %rsi
addq $-0x4, %rsi
movl $0x11, %edi
callq 0xf740
jmp 0x20089
movq -0x10(%rbp), %rax
cmpl $0x1, 0x1c(%rax)
je 0x20073
leaq 0xc6f4(%rip), %rax      # 0x2c750
movq 0xb8(%rax), %rsi
addq $-0x4, %rsi
movl $0x1f, %edi
callq 0xf740
jmp 0x20087
movq -0x10(%rbp), %rax
movq 0x10(%rax), %rdi
movq -0x10(%rbp), %rax
movl 0x18(%rax), %esi
callq 0x1b880
jmp 0x20089
jmp 0x2008b
leaq 0xc6be(%rip), %rax      # 0x2c750
movb 0x68(%rax), %al
addq $0x10, %rsp
popq %rbp
retq
nopl (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/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 %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
callq 0x1fa40
cmpl $0x1, %eax
je 0x200d4
leaq 0xc693(%rip), %rax      # 0x2c750
movq 0xb8(%rax), %rsi
addq $-0x4, %rsi
movl $0x2d, %edi
callq 0xf740
jmp 0x20127
movl $0x1, %edi
movsd 0x2be7(%rip), %xmm0     # 0x22cc8
movsd 0x2be7(%rip), %xmm1     # 0x22cd0
callq 0x1fb80
leaq 0xc65b(%rip), %rax      # 0x2c750
movsd %xmm0, 0x70(%rax)
leaq 0xc64f(%rip), %rax      # 0x2c750
cmpl $0x0, 0x18(%rax)
je 0x20109
jmp 0x20127
movq -0x8(%rbp), %rax
leaq 0xc63c(%rip), %rcx      # 0x2c750
movsd 0x70(%rcx), %xmm0
callq *%rax
leaq 0xc62e(%rip), %rax      # 0x2c750
movsd %xmm0, 0x70(%rax)
addq $0x10, %rsp
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/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 %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movl %edi, -0x4(%rbp)
movl %esi, -0x8(%rbp)
movl -0x4(%rbp), %edi
callq 0x1fab0
movq %rax, -0x10(%rbp)
cmpq $0x0, -0x10(%rbp)
jne 0x20296
jmp 0x20316
movq -0x10(%rbp), %rax
movq 0x10(%rax), %rax
cmpl $0x3, 0xc0(%rax)
jle 0x202c5
leaq 0xc4a2(%rip), %rax      # 0x2c750
movq 0xb8(%rax), %rsi
addq $-0x4, %rsi
movl $0x11, %edi
callq 0xf740
jmp 0x20314
movq -0x10(%rbp), %rax
cmpl $0x1, 0x1c(%rax)
je 0x202ed
leaq 0xc47a(%rip), %rax      # 0x2c750
movq 0xb8(%rax), %rsi
addq $-0x4, %rsi
movl $0x1f, %edi
callq 0xf740
jmp 0x20312
cvtsi2sdl -0x8(%rbp), %xmm0
leaq 0xc457(%rip), %rax      # 0x2c750
movsd %xmm0, 0x70(%rax)
movq -0x10(%rbp), %rax
movq 0x10(%rax), %rdi
movq -0x10(%rbp), %rax
movl 0x18(%rax), %esi
callq 0x1b940
jmp 0x20314
jmp 0x20316
addq $0x10, %rsp
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/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 %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movl %edi, -0x4(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x10(%rbp), %rax
movslq -0x4(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -0x40(%rbp)
movl -0x4(%rbp), %edi
movq -0x10(%rbp), %rsi
leaq -0x30(%rbp), %rdx
xorl %eax, %eax
movl %eax, %ecx
leaq -0x24(%rbp), %r8
leaq -0x20(%rbp), %r9
leaq -0x38(%rbp), %rax
movq %rax, (%rsp)
movb $0x0, %al
callq 0x20800
movq -0x40(%rbp), %rax
movl 0x4(%rax), %eax
movl %eax, -0x18(%rbp)
movq -0x20(%rbp), %rax
movl $0x1, (%rax)
cvtsi2sdl -0x24(%rbp), %xmm0
movq -0x30(%rbp), %rax
mulsd (%rax), %xmm0
movq -0x38(%rbp), %rax
movsd %xmm0, (%rax)
movl $0x0, -0x14(%rbp)
movl -0x14(%rbp), %eax
movq -0x40(%rbp), %rcx
cmpl 0x4(%rcx), %eax
jge 0x20440
cvtsi2sdl -0x24(%rbp), %xmm0
movq -0x30(%rbp), %rax
movslq -0x14(%rbp), %rcx
mulsd (%rax,%rcx,8), %xmm0
movq -0x38(%rbp), %rax
ucomisd (%rax), %xmm0
jbe 0x20433
movl -0x14(%rbp), %ecx
addl $0x1, %ecx
movq -0x20(%rbp), %rax
movl %ecx, (%rax)
cvtsi2sdl -0x24(%rbp), %xmm0
movq -0x30(%rbp), %rax
movslq -0x14(%rbp), %rcx
mulsd (%rax,%rcx,8), %xmm0
movq -0x38(%rbp), %rax
movsd %xmm0, (%rax)
jmp 0x20435
movl -0x14(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x14(%rbp)
jmp 0x203e5
xorl %eax, %eax
addq $0x50, %rsp
popq %rbp
retq
nopl (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/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 %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movl %edi, -0x4(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x10(%rbp), %rax
movslq -0x4(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -0x30(%rbp)
movl -0x4(%rbp), %edi
movq -0x10(%rbp), %rsi
leaq -0x20(%rbp), %rdx
leaq -0x28(%rbp), %rcx
movb $0x0, %al
callq 0x20800
movq -0x28(%rbp), %rax
xorps %xmm0, %xmm0
movsd %xmm0, (%rax)
movl $0x0, -0x14(%rbp)
movl -0x14(%rbp), %eax
movq -0x30(%rbp), %rcx
cmpl 0x4(%rcx), %eax
jge 0x204c7
movq -0x20(%rbp), %rax
movslq -0x14(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0
movq -0x28(%rbp), %rax
addsd (%rax), %xmm0
movsd %xmm0, (%rax)
movl -0x14(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x14(%rbp)
jmp 0x20497
xorl %eax, %eax
addq $0x30, %rsp
popq %rbp
retq
nop
// File: /workspace/github_c_makefile_star2_O0/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 %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movl %edi, -0x4(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x10(%rbp), %rax
movslq -0x4(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -0x38(%rbp)
movl -0x4(%rbp), %edi
movq -0x10(%rbp), %rsi
leaq -0x30(%rbp), %rdx
leaq -0x18(%rbp), %rcx
xorl %eax, %eax
movl %eax, %r8d
leaq -0x20(%rbp), %r9
movb $0x0, %al
callq 0x20800
movl $0x0, -0x24(%rbp)
movl -0x24(%rbp), %eax
movq -0x38(%rbp), %rcx
cmpl 0x4(%rcx), %eax
jge 0x2053b
movq -0x18(%rbp), %rax
movslq -0x24(%rbp), %rcx
movl $0xffffffff, (%rax,%rcx,4) # imm = 0xFFFFFFFF
movl -0x24(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x24(%rbp)
jmp 0x20515
movq -0x38(%rbp), %rax
movl 0x4(%rax), %esi
subl $0x1, %esi
movl -0x20(%rbp), %edx
movq -0x30(%rbp), %rcx
movq -0x18(%rbp), %r8
xorl %edi, %edi
callq 0x20a80
movl %eax, -0x1c(%rbp)
movl -0x1c(%rbp), %eax
addq $0x40, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/heltilda[P]cicada/ccmain.c
// Function: runCicada
ccInt runCicada(ccInt argc, char **argv)
{
    ccInt rtrn;
    
    cc_compile_global_struct hold_compile_globals = cc_compile_globals;
    cc_interpret_global_struct hold_interpret_globals = cc_interpret_globals;
    cc_bytecode_global_struct hold_bytecode_globals = cc_bytecode_globals;
    
    rtrn = cicadaMain(argc, argv);
    
    cc_compile_globals = hold_compile_globals;
    cc_interpret_globals = hold_interpret_globals;
    cc_bytecode_globals = hold_bytecode_globals;
    
    return rtrn;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x3a0, %rsp            # imm = 0x3A0
movl %edi, -0x4(%rbp)
movq %rsi, -0x10(%rbp)
leaq 0xb627(%rip), %rax      # 0x2c290
movq (%rax), %rcx
movq %rcx, -0x30(%rbp)
movq 0x8(%rax), %rcx
movq %rcx, -0x28(%rbp)
movq 0x10(%rax), %rax
movq %rax, -0x20(%rbp)
leaq -0xe8(%rbp), %rdi
leaq 0xba0a(%rip), %rsi      # 0x2c698
movl $0xb8, %edx
callq 0x8120
leaq -0x398(%rbp), %rdi
leaq 0xbaaa(%rip), %rsi      # 0x2c750
movl $0x2b0, %edx            # imm = 0x2B0
callq 0x8120
movl -0x4(%rbp), %edi
movq -0x10(%rbp), %rsi
callq 0x20d20
movl %eax, -0x14(%rbp)
leaq 0xb5ca(%rip), %rax      # 0x2c290
movq -0x30(%rbp), %rcx
movq %rcx, (%rax)
movq -0x28(%rbp), %rcx
movq %rcx, 0x8(%rax)
movq -0x20(%rbp), %rcx
movq %rcx, 0x10(%rax)
leaq 0xb9b4(%rip), %rdi      # 0x2c698
leaq -0xe8(%rbp), %rsi
movl $0xb8, %edx
callq 0x8120
leaq 0xba54(%rip), %rdi      # 0x2c750
leaq -0x398(%rbp), %rsi
movl $0x2b0, %edx            # imm = 0x2B0
callq 0x8120
movl -0x14(%rbp), %eax
addq $0x3a0, %rsp            # imm = 0x3A0
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/heltilda[P]cicada/ccmain.c
// Function: cleanUp
void cleanUp()
{
    derefCodeList(&codeRegister);
    
    deletePLL(&VariableList);
    deletePLL(&MasterCodeList);
    deleteStack(&PCStack);
    deleteLinkedList(&codeRegister);
    deleteLinkedList(&(GL_Object.arrayDimList));
    deleteLinkedList(&stringRegister);
    
    return;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
leaq 0xab85(%rip), %rdi      # 0x2c750
addq $0x98, %rdi
callq 0x19dc0
leaq 0xaaba(%rip), %rdi      # 0x2c698
addq $0x48, %rdi
callq 0x9870
leaq 0xaaaa(%rip), %rdi      # 0x2c698
callq 0x9870
leaq 0xaa9e(%rip), %rdi      # 0x2c698
addq $0x90, %rdi
callq 0x9b80
leaq 0xab43(%rip), %rdi      # 0x2c750
addq $0x98, %rdi
callq 0x8540
leaq 0xab30(%rip), %rdi      # 0x2c750
addq $0xd8, %rdi
addq $0x8, %rdi
callq 0x8540
leaq 0xab19(%rip), %rdi      # 0x2c750
addq $0x78, %rdi
callq 0x8540
popq %rbp
retq
nopw %cs:(%rax,%rax)
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/MrOneTwo[P]tinycc-dynamic-compilation/main.c
// Function: main
int
main(int argc, char* argv[])
{
  signal(SIGINT, signal_handler);

  script_t script;
  script.path = argv[1];

  while (1)
  {
    struct timespec t = {};
    t.tv_sec = 0;
    t.tv_nsec = 200000000;
    nanosleep(&t, &t);

    compile_program(&script);
    printf("%s\n", script.hello());
    printf("%s\n", script.bye());
  }

}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movl $0x0, -0x4(%rbp)
movl %edi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl $0x2, %edi
leaq -0x42(%rip), %rsi       # 0x2570
callq 0x2280
movq -0x10(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, -0x38(%rbp)
leaq -0x48(%rbp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x21d0
movq $0x0, -0x48(%rbp)
movq $0xbebc200, -0x40(%rbp) # imm = 0xBEBC200
leaq -0x48(%rbp), %rsi
movq %rsi, %rdi
callq 0x2170
leaq -0x38(%rbp), %rdi
callq 0x2630
callq *-0x20(%rbp)
movq %rax, %rsi
leaq 0x35bc6(%rip), %rdi     # 0x381cb
movb $0x0, %al
callq 0x2160
callq *-0x18(%rbp)
movq %rax, %rsi
leaq 0x35bb2(%rip), %rdi     # 0x381cb
movb $0x0, %al
callq 0x2160
jmp 0x25c3
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/ohkimur[P]the-c-programming-language-2nd-edition-solutions/chapter_5/exercise_5_04/strend.c
// Function: main
int main(void)
{
  char *s = "This si a simple string";
  char *t1 = "string";
  char *t2 = "random string";

  // Test if the string t1 occurs at the end of string s.
  if (strend(s, t1))
    puts("The string t1 orrurs at the end of the string s.");
  else
    puts("The string t1 doesn't orrur at the end of the string s.");

  // Test if the string t2 occurs at the end of string s.
  if (strend(s, t2))
    puts("The string t2 orrurs at the end of the string s.");
  else
    puts("The string t2 doesn't orrur at the end of the string s.");

  return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movl $0x0, -0x4(%rbp)
leaq 0xe9e(%rip), %rax       # 0x2004
movq %rax, -0x10(%rbp)
leaq 0xea4(%rip), %rax       # 0x2015
movq %rax, -0x18(%rbp)
leaq 0xea0(%rip), %rax       # 0x201c
movq %rax, -0x20(%rbp)
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rsi
callq 0x11e0
cmpl $0x0, %eax
je 0x11a0
leaq 0xe91(%rip), %rdi       # 0x202a
callq 0x1030
jmp 0x11ac
leaq 0xeb4(%rip), %rdi       # 0x205b
callq 0x1030
movq -0x10(%rbp), %rdi
movq -0x20(%rbp), %rsi
callq 0x11e0
cmpl $0x0, %eax
je 0x11cc
leaq 0xece(%rip), %rdi       # 0x2093
callq 0x1030
jmp 0x11d8
leaq 0xef1(%rip), %rdi       # 0x20c4
callq 0x1030
xorl %eax, %eax
addq $0x20, %rsp
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O0/ohkimur[P]the-c-programming-language-2nd-edition-solutions/chapter_5/exercise_5_04/strend.c
// Function: strend
int strend(char *s, char *t)
{
  // Determine the lengths of the strings.
  size_t s_length = strlen(s);
  size_t t_length = strlen(t);

  // Move the s & t pointer to the end of the corresponding strings.
  s += s_length - 1;
  t += t_length - 1;

  // Check backwards if each character from string t occurs in the corresonding
  // location from the string s.
  while (*s-- == *t--)
    --t_length;

  return !t_length;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rdi
callq 0x1040
movq %rax, -0x18(%rbp)
movq -0x10(%rbp), %rdi
callq 0x1040
movq %rax, -0x20(%rbp)
movq -0x18(%rbp), %rax
subq $0x1, %rax
addq -0x8(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x20(%rbp), %rax
subq $0x1, %rax
addq -0x10(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, %rcx
addq $-0x1, %rcx
movq %rcx, -0x8(%rbp)
movsbl (%rax), %eax
movq -0x10(%rbp), %rcx
movq %rcx, %rdx
addq $-0x1, %rdx
movq %rdx, -0x10(%rbp)
movsbl (%rcx), %ecx
cmpl %ecx, %eax
jne 0x1260
movq -0x20(%rbp), %rax
addq $-0x1, %rax
movq %rax, -0x20(%rbp)
jmp 0x122a
cmpq $0x0, -0x20(%rbp)
setne %al
xorb $-0x1, %al
andb $0x1, %al
movzbl %al, %eax
addq $0x20, %rsp
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O0/eric-lo[P]3150/3-ProcessUser/fork_example_2.c
// Function: main
int main(void) {
	int result;

	printf("before fork ...\n");
	result = fork();
	printf("result = %d\n", result);

	if(result == 0) {
		sleep(1);
		printf("I'm the child\n");
		printf("My PID is %d\n", getpid());
	}
	else {
		sleep(1);
		printf("I'm the parent\n");
		printf("My PID is %d\n", getpid());
	}

	printf("program terminated\n");

	return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movl $0x0, -0x4(%rbp)
leaq 0xe7e(%rip), %rdi       # 0x2004
movb $0x0, %al
callq 0x1040
callq 0x1060
movl %eax, -0x8(%rbp)
movl -0x8(%rbp), %esi
leaq 0xe76(%rip), %rdi       # 0x2015
movb $0x0, %al
callq 0x1040
cmpl $0x0, -0x8(%rbp)
jne 0x11db
movl $0x1, %edi
callq 0x1050
leaq 0xe65(%rip), %rdi       # 0x2022
movb $0x0, %al
callq 0x1040
callq 0x1030
movl %eax, %esi
leaq 0xe5f(%rip), %rdi       # 0x2031
movb $0x0, %al
callq 0x1040
jmp 0x1208
movl $0x1, %edi
callq 0x1050
leaq 0xe53(%rip), %rdi       # 0x203f
movb $0x0, %al
callq 0x1040
callq 0x1030
movl %eax, %esi
leaq 0xe30(%rip), %rdi       # 0x2031
movb $0x0, %al
callq 0x1040
leaq 0xe40(%rip), %rdi       # 0x204f
movb $0x0, %al
callq 0x1040
xorl %eax, %eax
addq $0x10, %rsp
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O0/mjosaarinen[P]brutus/crypto_aead/aes128poetv2aes4/ref/poet.c
// Function: keysetup_encrypt_only
void keysetup_encrypt_only(poet_ctx_t *ctx, const unsigned char key[KEYLEN_BITS])
{
    block ctr;
    AES_KEY aes_enc;

    memset(ctx->tau, 0, BLOCKLEN);
    memset(ctr, 0, BLOCKLEN);

    //  Generate block cipher key 
    aes_expand_enc_key(key, KEYLEN_BITS, &aes_enc);
    aes_encrypt(ctr, ctx->k, &aes_enc);

    aes_expand_enc_key(ctx->k, KEYLEN_BITS, &(ctx->aes_enc));

    //  Generate header key 
    ctr[BLOCKLEN - 1] = 1; 
    aes_encrypt(ctr, ctx->l, &aes_enc);

    //  Generate e-AXU hash-function keys 
    ctr[BLOCKLEN - 1] = 2; 
    aes_encrypt(ctr, ctx->k_axu, &aes_enc);
    aes_expand_enc_key(ctx->k_axu, KEYLEN_BITS, &(ctx->aes_axu));
}

// Assembly:
subq $0x128, %rsp            # imm = 0x128
movq %rdi, 0x120(%rsp)
movq %rsi, 0x118(%rsp)
movq 0x120(%rsp), %rdi
addq $0x32c, %rdi            # imm = 0x32C
xorl %esi, %esi
movl $0x10, %edx
callq 0x1030
leaq 0x100(%rsp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x1030
movq 0x118(%rsp), %rdi
movl $0x80, %esi
leaq 0xc(%rsp), %rdx
callq 0x10e0
leaq 0x100(%rsp), %rdi
movq 0x120(%rsp), %rsi
addq $0x2dc, %rsi            # imm = 0x2DC
leaq 0xc(%rsp), %rdx
callq 0x1110
movq 0x120(%rsp), %rdi
addq $0x2dc, %rdi            # imm = 0x2DC
movq 0x120(%rsp), %rdx
movl $0x80, %esi
callq 0x10e0
movb $0x1, 0x10f(%rsp)
leaq 0x100(%rsp), %rdi
movq 0x120(%rsp), %rsi
addq $0x2ec, %rsi            # imm = 0x2EC
leaq 0xc(%rsp), %rdx
callq 0x1110
movb $0x2, 0x10f(%rsp)
leaq 0x100(%rsp), %rdi
movq 0x120(%rsp), %rsi
addq $0x2fc, %rsi            # imm = 0x2FC
leaq 0xc(%rsp), %rdx
callq 0x1110
movq 0x120(%rsp), %rdi
addq $0x2fc, %rdi            # imm = 0x2FC
movq 0x120(%rsp), %rdx
addq $0x1e8, %rdx            # imm = 0x1E8
movl $0x80, %esi
callq 0x10e0
addq $0x128, %rsp            # imm = 0x128
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/mjosaarinen[P]brutus/crypto_aead/aes128poetv2aes4/ref/poet.c
// Function: encode_parameters
static void encode_parameters(block s, 
                              const unsigned long long num_blocks_per_part, 
                              const unsigned long long intermediate_taglen) 
{
    size_t j;
    memset(s, 0x00, BLOCKLEN);
    
    for (j = 0; j < 8; ++j) {
        s[j] = (unsigned char)((num_blocks_per_part >> (8*j)) & 0xFF);
        s[8+j] = (unsigned char)((intermediate_taglen >> (8*j)) & 0xFF);
    }
}

// Assembly:
subq $0x28, %rsp
movq %rdi, 0x20(%rsp)
movq %rsi, 0x18(%rsp)
movq %rdx, 0x10(%rsp)
movq 0x20(%rsp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x1030
movq $0x0, 0x8(%rsp)
cmpq $0x8, 0x8(%rsp)
jae 0x6585
movq 0x18(%rsp), %rax
movq 0x8(%rsp), %rcx
shlq $0x3, %rcx
shrq %cl, %rax
andq $0xff, %rax
movb %al, %dl
movq 0x20(%rsp), %rax
movq 0x8(%rsp), %rcx
movb %dl, (%rax,%rcx)
movq 0x10(%rsp), %rax
movq 0x8(%rsp), %rcx
shlq $0x3, %rcx
shrq %cl, %rax
andq $0xff, %rax
movb %al, %dl
movq 0x20(%rsp), %rax
movq 0x8(%rsp), %rcx
addq $0x8, %rcx
movb %dl, (%rax,%rcx)
movq 0x8(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x8(%rsp)
jmp 0x651d
addq $0x28, %rsp
retq
nopw (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/mjosaarinen[P]brutus/crypto_aead/aes128poetv2aes4/ref/poet.c
// Function: encrypt_block
static void encrypt_block(poet_ctx_t *ctx, 
                          const block in, 
                          block out)
{
    block tmp;
    TOP_HASH;
    xor_block(ctx->x, in, ctx->x);

    aes_encrypt(ctx->x, tmp, &(ctx->aes_enc)); // in, out, key

    BOTTOM_HASH;
    xor_block(out, tmp, ctx->y); // result, a, b

    memcpy(ctx->y, tmp, BLOCKLEN);
    ctx->mlen += BLOCKLEN_BITS;
}

// Assembly:
subq $0x28, %rsp
movq %rdi, 0x20(%rsp)
movq %rsi, 0x18(%rsp)
movq %rdx, 0x10(%rsp)
movq 0x20(%rsp), %rdi
addq $0x30c, %rdi            # imm = 0x30C
movq 0x20(%rsp), %rsi
addq $0x30c, %rsi            # imm = 0x30C
movq 0x20(%rsp), %rdx
addq $0x1e8, %rdx            # imm = 0x1E8
callq 0x10b0
movq 0x20(%rsp), %rdi
addq $0x30c, %rdi            # imm = 0x30C
movq 0x18(%rsp), %rsi
movq 0x20(%rsp), %rdx
addq $0x30c, %rdx            # imm = 0x30C
callq 0x6590
movq 0x20(%rsp), %rdi
addq $0x30c, %rdi            # imm = 0x30C
movq %rsp, %rsi
movq 0x20(%rsp), %rdx
callq 0x1110
movq 0x20(%rsp), %rdi
addq $0x31c, %rdi            # imm = 0x31C
movq 0x20(%rsp), %rsi
addq $0x31c, %rsi            # imm = 0x31C
movq 0x20(%rsp), %rdx
addq $0x1e8, %rdx            # imm = 0x1E8
callq 0x10b0
movq 0x10(%rsp), %rdi
movq %rsp, %rsi
movq 0x20(%rsp), %rdx
addq $0x31c, %rdx            # imm = 0x31C
callq 0x6590
movq 0x20(%rsp), %rax
movq (%rsp), %rcx
movq %rcx, 0x31c(%rax)
movq 0x8(%rsp), %rcx
movq %rcx, 0x324(%rax)
movq 0x20(%rsp), %rax
movq 0x340(%rax), %rcx
addq $0x80, %rcx
movq %rcx, 0x340(%rax)
addq $0x28, %rsp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/mjosaarinen[P]brutus/crypto_aead/aes128poetv2aes4/ref/poet.c
// Function: decrypt_block
static void decrypt_block(poet_ctx_t *ctx,
                          const block in,
                          block out)
{
    block tmp;
    BOTTOM_HASH;
    
    xor_block(ctx->y, in, ctx->y);
    aes_decrypt(ctx->y, tmp, &(ctx->aes_dec));

    TOP_HASH;
    
    xor_block(out, tmp, ctx->x);
    memcpy(ctx->x, tmp, BLOCKLEN);
    ctx->mlen += BLOCKLEN_BITS;
}

// Assembly:
subq $0x28, %rsp
movq %rdi, 0x20(%rsp)
movq %rsi, 0x18(%rsp)
movq %rdx, 0x10(%rsp)
movq 0x20(%rsp), %rdi
addq $0x31c, %rdi            # imm = 0x31C
movq 0x20(%rsp), %rsi
addq $0x31c, %rsi            # imm = 0x31C
movq 0x20(%rsp), %rdx
addq $0x1e8, %rdx            # imm = 0x1E8
callq 0x10b0
movq 0x20(%rsp), %rdi
addq $0x31c, %rdi            # imm = 0x31C
movq 0x18(%rsp), %rsi
movq 0x20(%rsp), %rdx
addq $0x31c, %rdx            # imm = 0x31C
callq 0x6590
movq 0x20(%rsp), %rdi
addq $0x31c, %rdi            # imm = 0x31C
movq %rsp, %rsi
movq 0x20(%rsp), %rdx
addq $0xf4, %rdx
callq 0x1100
movq 0x20(%rsp), %rdi
addq $0x30c, %rdi            # imm = 0x30C
movq 0x20(%rsp), %rsi
addq $0x30c, %rsi            # imm = 0x30C
movq 0x20(%rsp), %rdx
addq $0x1e8, %rdx            # imm = 0x1E8
callq 0x10b0
movq 0x10(%rsp), %rdi
movq %rsp, %rsi
movq 0x20(%rsp), %rdx
addq $0x30c, %rdx            # imm = 0x30C
callq 0x6590
movq 0x20(%rsp), %rax
movq (%rsp), %rcx
movq %rcx, 0x30c(%rax)
movq 0x8(%rsp), %rcx
movq %rcx, 0x314(%rax)
movq 0x20(%rsp), %rax
movq 0x340(%rax), %rcx
addq $0x80, %rcx
movq %rcx, 0x340(%rax)
addq $0x28, %rsp
retq
nopl (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/mjosaarinen[P]brutus/crypto_aead/aes128poetv2aes4/ref/poet.c
// Function: compare_blocks
static int compare_blocks(const unsigned char* a, 
                          const unsigned char* b, 
                          const size_t num_bytes)
{
    unsigned char result = 0;
    size_t i;
    
    for (i = 0; i < num_bytes; i++) {
        result |= a[i] ^ b[i];
    }
    
    return result;
}

// Assembly:
movq %rdi, -0x8(%rsp)
movq %rsi, -0x10(%rsp)
movq %rdx, -0x18(%rsp)
movb $0x0, -0x19(%rsp)
movq $0x0, -0x28(%rsp)
movq -0x28(%rsp), %rax
cmpq -0x18(%rsp), %rax
jae 0x6f32
movq -0x8(%rsp), %rax
movq -0x28(%rsp), %rcx
movzbl (%rax,%rcx), %ecx
movq -0x10(%rsp), %rax
movq -0x28(%rsp), %rdx
movzbl (%rax,%rdx), %eax
xorl %eax, %ecx
movzbl -0x19(%rsp), %eax
orl %ecx, %eax
movb %al, -0x19(%rsp)
movq -0x28(%rsp), %rax
addq $0x1, %rax
movq %rax, -0x28(%rsp)
jmp 0x6eed
movzbl -0x19(%rsp), %eax
retq
nopl (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/mjosaarinen[P]brutus/crypto_aead/aes128poetv2aes4/ref/poet.c
// Function: shift_right
static void shift_right(block h)
{
    size_t i;
    for (i = BLOCKLEN-1; i > 0; --i) {
        h[i] = (h[i] >> 1) | (h[i-1] << 7);
    }

    h[0] = h[0] >> 1;
}

// Assembly:
movq %rdi, -0x8(%rsp)
movq $0xf, -0x10(%rsp)
cmpq $0x0, -0x10(%rsp)
jbe 0x6f9c
movq -0x8(%rsp), %rax
movq -0x10(%rsp), %rcx
movzbl (%rax,%rcx), %eax
sarl %eax
movq -0x8(%rsp), %rcx
movq -0x10(%rsp), %rdx
subq $0x1, %rdx
movzbl (%rcx,%rdx), %ecx
shll $0x7, %ecx
orl %ecx, %eax
movb %al, %dl
movq -0x8(%rsp), %rax
movq -0x10(%rsp), %rcx
movb %dl, (%rax,%rcx)
movq -0x10(%rsp), %rax
addq $-0x1, %rax
movq %rax, -0x10(%rsp)
jmp 0x6f4e
movq -0x8(%rsp), %rax
movzbl (%rax), %eax
sarl %eax
movb %al, %cl
movq -0x8(%rsp), %rax
movb %cl, (%rax)
retq
// File: /workspace/github_c_makefile_star2_O0/mjosaarinen[P]brutus/crypto_aead/aes128poetv2aes4/ref/poet.c
// Function: to_array
static inline void to_array(unsigned char* dst, 
                            const uint64_t* src, 
                            const unsigned n)
{
    size_t i;
    size_t j;
    for (i = 0; i < n; i++) {
        for (j = 0; j < 8; ++j) {
            dst[i*8+j] = (unsigned char)((src[i] >> (8*j)) & 0xFF);
        }
    }
}

// Assembly:
movq %rdi, -0x8(%rsp)
movq %rsi, -0x10(%rsp)
movl %edx, -0x14(%rsp)
movq $0x0, -0x20(%rsp)
movq -0x20(%rsp), %rax
movl -0x14(%rsp), %ecx
cmpq %rcx, %rax
jae 0x7040
movq $0x0, -0x28(%rsp)
cmpq $0x8, -0x28(%rsp)
jae 0x702e
movq -0x10(%rsp), %rax
movq -0x20(%rsp), %rcx
movq (%rax,%rcx,8), %rax
movq -0x28(%rsp), %rcx
shlq $0x3, %rcx
shrq %cl, %rax
andq $0xff, %rax
movb %al, %dl
movq -0x8(%rsp), %rax
movq -0x20(%rsp), %rcx
shlq $0x3, %rcx
addq -0x28(%rsp), %rcx
movb %dl, (%rax,%rcx)
movq -0x28(%rsp), %rax
addq $0x1, %rax
movq %rax, -0x28(%rsp)
jmp 0x6fde
jmp 0x7030
movq -0x20(%rsp), %rax
addq $0x1, %rax
movq %rax, -0x20(%rsp)
jmp 0x6fc7
retq
nopw %cs:(%rax,%rax)
nopl (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/ramirezsebas[P]TP-LISTINGS/./src/capitulo_5/5.9/popen.c
// Function: main
int main()
{
    FILE *stream = popen("sort", "w");
    fprintf(stream, "This is a test.\n");
    fprintf(stream, "Hello, world.\n");
    fprintf(stream, "My dog has fleas.\n");
    fprintf(stream, "This program is great.\n");
    fprintf(stream, "One fish, two fish.\n");
    return pclose(stream);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movl $0x0, -0x4(%rbp)
leaq 0xe8e(%rip), %rdi       # 0x2004
leaq 0xe8c(%rip), %rsi       # 0x2009
callq 0x1050
movq %rax, -0x10(%rbp)
movq -0x10(%rbp), %rdi
leaq 0xe7a(%rip), %rsi       # 0x200b
movb $0x0, %al
callq 0x1040
movq -0x10(%rbp), %rdi
leaq 0xe79(%rip), %rsi       # 0x201c
movb $0x0, %al
callq 0x1040
movq -0x10(%rbp), %rdi
leaq 0xe76(%rip), %rsi       # 0x202b
movb $0x0, %al
callq 0x1040
movq -0x10(%rbp), %rdi
leaq 0xe77(%rip), %rsi       # 0x203e
movb $0x0, %al
callq 0x1040
movq -0x10(%rbp), %rdi
leaq 0xe7d(%rip), %rsi       # 0x2056
movb $0x0, %al
callq 0x1040
movq -0x10(%rbp), %rdi
callq 0x1030
addq $0x10, %rsp
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O0/simh[P]simtools/crossassemblers/macro1/macro1.c
// Function: punchLeader
void punchLeader( WORD32 count )
{
  WORD32  ix;

  /* If value is zero, set to the default of 2 feet of leader. */
  count = ( count == 0 ) ? 240 : count;

  if( objectfile != NULL )
  {
    for( ix = 0; ix < count; ix++ )
    {
      fputc( 0, objectfile );
    }
  }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movl %edi, -0x4(%rbp)
cmpl $0x0, -0x4(%rbp)
jne 0x2f9b
movl $0xf0, %eax
movl %eax, -0xc(%rbp)
jmp 0x2fa1
movl -0x4(%rbp), %eax
movl %eax, -0xc(%rbp)
movl -0xc(%rbp), %eax
movl %eax, -0x4(%rbp)
cmpq $0x0, 0x8e61(%rip)      # 0xbe10
je 0x2fdb
movl $0x0, -0x8(%rbp)
movl -0x8(%rbp), %eax
cmpl -0x4(%rbp), %eax
jge 0x2fd9
movq 0x8e49(%rip), %rsi      # 0xbe10
xorl %edi, %edi
callq 0x20c0
movl -0x8(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x8(%rbp)
jmp 0x2fb8
jmp 0x2fdb
addq $0x10, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/simh[P]simtools/crossassemblers/macro1/macro1.c
// Function: punchLoader
void
punchLoader() {
    int i;

    if (noinput)
	return;

    for (i = 0; i < DIM(loader); i++)
	punchLocObjectRIM(LOADERBASE+i, loader[i]);
    punchTriplet( JMP | LOADERBASE );
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
cmpl $0x0, 0x8d65(%rip)      # 0xbd64
je 0x3003
jmp 0x3045
movl $0x0, -0x4(%rbp)
movslq -0x4(%rbp), %rax
cmpq $0x15, %rax
jae 0x303b
movl -0x4(%rbp), %edi
addl $0xfe9, %edi            # imm = 0xFE9
movslq -0x4(%rbp), %rcx
leaq 0x89b8(%rip), %rax      # 0xb9e0
movl (%rax,%rcx,4), %esi
callq 0x6740
movl -0x4(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x4(%rbp)
jmp 0x300a
movl $0x30fe9, %edi          # imm = 0x30FE9
callq 0x6660
addq $0x10, %rsp
popq %rbp
retq
nopl (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/simh[P]simtools/crossassemblers/macro1/macro1.c
// Function: constants
void
constants(void) {
    int i;

    /* XXX illegal inside macro (curmacro != NULL) */

    if (pass == 1) {
	lit_loc[nconst] = clc;

	/* just use addition?! */
	for (i = 0; i < lit_count[nconst]; i++)
	    incrementClc();

	nconst++;
	return;
    }

    /* pass 2: */
    /* XXX complain if clc != lit_base[nconst]? */

    for (i = 0; i < lit_count[nconst]; i++) {
	if (i < nlit)
	    punchOutObject( clc, litter[i] & 0777777); /* punch it! */
	incrementClc();
    }

    nconst++;
    nlit = 0;				/* litter[] now empty */
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
cmpl $0x1, 0x8d21(%rip)      # 0xbd80
jne 0x30b6
movl 0xb04d(%rip), %edx      # 0xe0b4
movslq 0xb0de(%rip), %rcx      # 0xe14c
leaq 0xc31b(%rip), %rax      # 0xf390
movl %edx, (%rax,%rcx,4)
movl $0x0, -0x4(%rbp)
movl -0x4(%rbp), %eax
movslq 0xb0c3(%rip), %rdx      # 0xe14c
leaq 0xb330(%rip), %rcx      # 0xe3c0
cmpl (%rcx,%rdx,4), %eax
jge 0x30a5
callq 0x5340
movl -0x4(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x4(%rbp)
jmp 0x307f
movl 0xb0a1(%rip), %eax      # 0xe14c
addl $0x1, %eax
movl %eax, 0xb098(%rip)      # 0xe14c
jmp 0x3126
movl $0x0, -0x4(%rbp)
movl -0x4(%rbp), %eax
movslq 0xb085(%rip), %rdx      # 0xe14c
leaq 0xb2f2(%rip), %rcx      # 0xe3c0
cmpl (%rcx,%rdx,4), %eax
jge 0x310d
movl -0x4(%rbp), %eax
cmpl 0x8dd4(%rip), %eax      # 0xbeb0
jge 0x30fd
movl 0xafd0(%rip), %edi      # 0xe0b4
movslq -0x4(%rbp), %rcx
leaq 0xb301(%rip), %rax      # 0xe3f0
movl (%rax,%rcx,4), %esi
andl $0x3ffff, %esi          # imm = 0x3FFFF
callq 0x5300
callq 0x5340
movl -0x4(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x4(%rbp)
jmp 0x30bd
movl 0xb039(%rip), %eax      # 0xe14c
addl $0x1, %eax
movl %eax, 0xb030(%rip)      # 0xe14c
movl $0x0, 0x8d8a(%rip)      # 0xbeb0
addq $0x10, %rsp
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/simh[P]simtools/crossassemblers/macro1/macro1.c
// Function: printSymbolTable
void printSymbolTable()
{
    int    ix;
    int    symbol_lines;
    SYM_T *sym;
    char mark;

    symbol_lines = 0;
    for (ix = 0, sym = symtab; ix < symbol_top; ix++, sym++) {
	if (M_FIXED(sym->type) || M_PSEUDO(sym->type) ||
	    M_MACRO(sym->type) || M_EPSEUDO(sym->type))
	    continue;

	if (symbol_lines == 0) {
	    topOfForm( list_title, s_symtable );
	    symbol_lines = LIST_LINES_PER_PAGE;
	}

	switch( sym->type & ( DEFINED | REDEFINED )) {
	case UNDEFINED:
	    mark = '?';
	    break;

	case REDEFINED:
	    mark = '#';
	    break;

	default:
	    mark = ' ';
	    break;
	}
	fprintf( listfile, "%c%-6.6s %6.6o\n", mark, sym->name, sym->val );
	symbol_lines--;
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movl $0x0, -0x8(%rbp)
movl $0x0, -0x4(%rbp)
movq 0x8bfb(%rip), %rax      # 0xbd48
movq %rax, -0x10(%rbp)
movl -0x4(%rbp), %eax
cmpl 0x8bf6(%rip), %eax      # 0xbd50
jge 0x3238
movq -0x10(%rbp), %rax
movl (%rax), %eax
andl $0x2, %eax
cmpl $0x2, %eax
je 0x31a0
movq -0x10(%rbp), %rax
movl (%rax), %eax
andl $0x43, %eax
cmpl $0x43, %eax
je 0x31a0
movq -0x10(%rbp), %rax
movl (%rax), %eax
andl $0x101, %eax            # imm = 0x101
cmpl $0x101, %eax            # imm = 0x101
je 0x31a0
movq -0x10(%rbp), %rax
movl (%rax), %eax
andl $0x83, %eax
cmpl $0x83, %eax
jne 0x31a2
jmp 0x321e
cmpl $0x0, -0x8(%rbp)
jne 0x31c2
leaq 0xaf21(%rip), %rdi      # 0xe0d0
leaq 0x889c(%rip), %rsi      # 0xba52
callq 0x6380
movl $0x3c, -0x8(%rbp)
movq -0x10(%rbp), %rax
movl (%rax), %eax
andl $0x11, %eax
movl %eax, -0x18(%rbp)
je 0x31dc
jmp 0x31d2
movl -0x18(%rbp), %eax
subl $0x11, %eax
je 0x31e2
jmp 0x31e8
movb $0x3f, -0x11(%rbp)
jmp 0x31ec
movb $0x23, -0x11(%rbp)
jmp 0x31ec
movb $0x20, -0x11(%rbp)
movq 0x8cad(%rip), %rdi      # 0xbea0
movsbl -0x11(%rbp), %edx
movq -0x10(%rbp), %rcx
addq $0x4, %rcx
movq -0x10(%rbp), %rax
movl 0xc(%rax), %r8d
leaq 0x5705(%rip), %rsi      # 0x8913
movb $0x0, %al
callq 0x2110
movl -0x8(%rbp), %eax
addl $-0x1, %eax
movl %eax, -0x8(%rbp)
movl -0x4(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x4(%rbp)
movq -0x10(%rbp), %rax
addq $0x18, %rax
movq %rax, -0x10(%rbp)
jmp 0x3151
addq $0x20, %rsp
popq %rbp
retq
nop
// File: /workspace/github_c_makefile_star2_O0/simh[P]simtools/crossassemblers/macro1/macro1.c
// Function: printPermanentSymbolTable
void printPermanentSymbolTable()
{
    int     ix;
    FILE   *permfile;

    if(( permfile = fopen( permpathname, "w" )) == NULL )
    {
	exit( 2 );
    }

    fprintf( permfile, "/ PERMANENT SYMBOL TABLE\n/\n" );
    fprintf( permfile, "        expunge\n/\n" );

    for( ix = 0; ix < symbol_top; ix++ )
    {
	int type = symtab[ix].type;
	if( M_FIXED(type) && !M_PSEUDO(type) && !M_EPSEUDO(type) )
	    fprintf( permfile, "\t%s=%o\n",
		     symtab[ix].name, symtab[ix].val );
    }
    fclose( permfile );
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
leaq 0x8c81(%rip), %rdi      # 0xbed0
leaq 0x53d4(%rip), %rsi      # 0x862a
callq 0x2150
movq %rax, -0x10(%rbp)
cmpq $0x0, %rax
jne 0x326f
movl $0x2, %edi
callq 0x2190
movq -0x10(%rbp), %rdi
leaq 0x56a9(%rip), %rsi      # 0x8923
movb $0x0, %al
callq 0x2110
movq -0x10(%rbp), %rdi
leaq 0x56b3(%rip), %rsi      # 0x893f
movb $0x0, %al
callq 0x2110
movl $0x0, -0x4(%rbp)
movl -0x4(%rbp), %eax
cmpl 0x8aad(%rip), %eax      # 0xbd50
jge 0x3332
movq 0x8a98(%rip), %rax      # 0xbd48
movslq -0x4(%rbp), %rcx
imulq $0x18, %rcx, %rcx
addq %rcx, %rax
movl (%rax), %eax
movl %eax, -0x14(%rbp)
movl -0x14(%rbp), %eax
andl $0x2, %eax
cmpl $0x2, %eax
jne 0x3322
movl -0x14(%rbp), %eax
andl $0x43, %eax
cmpl $0x43, %eax
je 0x3322
movl -0x14(%rbp), %eax
andl $0x83, %eax
cmpl $0x83, %eax
je 0x3322
movq -0x10(%rbp), %rdi
movq 0x8a58(%rip), %rdx      # 0xbd48
movslq -0x4(%rbp), %rax
imulq $0x18, %rax, %rax
addq %rax, %rdx
addq $0x4, %rdx
movq 0x8a42(%rip), %rax      # 0xbd48
movslq -0x4(%rbp), %rcx
imulq $0x18, %rcx, %rcx
addq %rcx, %rax
movl 0xc(%rax), %ecx
leaq 0x5637(%rip), %rsi      # 0x8952
movb $0x0, %al
callq 0x2110
jmp 0x3324
movl -0x4(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x4(%rbp)
jmp 0x329a
movq -0x10(%rbp), %rdi
callq 0x2080
addq $0x20, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/simh[P]simtools/crossassemblers/macro1/macro1.c
// Function: getw
WORD32
getw(FILE *f)
{
    int i, c;
    WORD32 w;

    w = 0;
    for (i = 0; i < 3;) {
	c = getc(f);
	if (c == -1)
	    return -1;
	if (c & 0200) {			/* ignore if ch8 not punched */
	    w <<= 6;
	    w |= c & 077;
	    i++;
	}
    }
    return w;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x10(%rbp)
movl $0x0, -0x1c(%rbp)
movl $0x0, -0x14(%rbp)
cmpl $0x3, -0x14(%rbp)
jge 0x37b8
movq -0x10(%rbp), %rdi
callq 0x21a0
movl %eax, -0x18(%rbp)
cmpl $-0x1, -0x18(%rbp)
jne 0x378b
movl $0xffffffff, -0x4(%rbp) # imm = 0xFFFFFFFF
jmp 0x37be
movl -0x18(%rbp), %eax
andl $0x80, %eax
cmpl $0x0, %eax
je 0x37b6
movl -0x1c(%rbp), %eax
shll $0x6, %eax
movl %eax, -0x1c(%rbp)
movl -0x18(%rbp), %eax
andl $0x3f, %eax
orl -0x1c(%rbp), %eax
movl %eax, -0x1c(%rbp)
movl -0x14(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x14(%rbp)
jmp 0x376a
movl -0x1c(%rbp), %eax
movl %eax, -0x4(%rbp)
movl -0x4(%rbp), %eax
addq $0x20, %rsp
popq %rbp
retq
nopw (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/simh[P]simtools/crossassemblers/macro1/macro1.c
// Function: permute
WORD32
permute(WORD32 name)
{
    WORD32 temp;

    temp = name & 0202020;		/* get zone bits */
    temp = ((temp << 1) & 0777777) | ((temp >> 17) & 1); /* rotate left */
    name ^= temp;			/* flip zone bits */
    name ^= 0400000;			/* toggle sign */
    return name;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movl %edi, -0x4(%rbp)
movl -0x4(%rbp), %eax
andl $0x10410, %eax          # imm = 0x10410
movl %eax, -0x8(%rbp)
movl -0x8(%rbp), %eax
shll %eax
andl $0x3ffff, %eax          # imm = 0x3FFFF
movl -0x8(%rbp), %ecx
sarl $0x11, %ecx
andl $0x1, %ecx
orl %ecx, %eax
movl %eax, -0x8(%rbp)
movl -0x8(%rbp), %eax
xorl -0x4(%rbp), %eax
movl %eax, -0x4(%rbp)
movl -0x4(%rbp), %eax
xorl $0x20000, %eax          # imm = 0x20000
movl %eax, -0x4(%rbp)
movl -0x4(%rbp), %eax
popq %rbp
retq
nopw %cs:(%rax,%rax)