LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O1/srned[P]baselib/dict.c
// Function: dictRehash
int dictRehash(dict *d, int n) {
    if (!dictIsRehashing(d)) return 0;

    while(n--) {
        dictEntry *de, *nextde;

        /* Check if we already rehashed the whole table... */
        if (d->ht[0].used == 0) {
            zfree(d->ht[0].table);
            d->ht[0] = d->ht[1];
            _dictReset(&d->ht[1]);
            d->rehashidx = -1;
            return 0;
        }

        /* Note that rehashidx can't overflow as we are sure there are more
         * elements because ht[0].used != 0 */
        assert(d->ht[0].size > (unsigned)d->rehashidx);
        while(d->ht[0].table[d->rehashidx] == NULL) d->rehashidx++;
        de = d->ht[0].table[d->rehashidx];
        /* Move all the keys in this bucket from the old to the new hash HT */
        while(de) {
            unsigned int h;

            nextde = de->next;
            /* Get the index in the new hash table */
            h = dictHashKey(d, de->key) & d->ht[1].sizemask;
            de->next = d->ht[1].table[h];
            d->ht[1].table[h] = de;
            d->ht[0].used--;
            d->ht[1].used++;
            de = nextde;
        }
        d->ht[0].table[d->rehashidx] = NULL;
        d->rehashidx++;
    }
    return 1;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
xorl %eax, %eax
cmpl $-0x1, 0x50(%rdi)
je 0x618e
movl %esi, %ebp
movq %rdi, %r14
leaq 0x10(%rdi), %rax
movq %rax, (%rsp)
leaq 0x30(%rdi), %r12
subl $0x1, %ebp
jb 0x6189
movq 0x28(%r14), %r13
testq %r13, %r13
je 0x6147
movl 0x50(%r14), %eax
cmpq %rax, 0x18(%r14)
jbe 0x619d
movq 0x10(%r14), %rcx
movl 0x50(%r14), %eax
movslq %eax, %rdx
movq (%rcx,%rdx,8), %rbx
testq %rbx, %rbx
jne 0x6102
leaq (%rcx,%rdx,8), %rcx
addq $0x8, %rcx
movq (%rcx), %rbx
incl %eax
addq $0x8, %rcx
testq %rbx, %rbx
je 0x60f0
movl %eax, 0x50(%r14)
movq (%rbx), %rdi
movq 0x10(%rbx), %r15
movq (%r14), %rax
callq *(%rax)
andl 0x40(%r14), %eax
movq 0x30(%r14), %rcx
movq (%rcx,%rax,8), %rdx
movq %rdx, 0x10(%rbx)
movq %rbx, (%rcx,%rax,8)
decq 0x28(%r14)
incq 0x48(%r14)
movq %r15, %rbx
testq %r15, %r15
jne 0x6102
movq 0x10(%r14), %rax
movslq 0x50(%r14), %rcx
movq $0x0, (%rax,%rcx,8)
leal 0x1(%rcx), %eax
jmp 0x6178
movq (%rsp), %rbx
movq (%rbx), %rdi
callq 0xb873
movups (%r12), %xmm0
movups 0x10(%r12), %xmm1
movups %xmm1, 0x10(%rbx)
movups %xmm0, (%rbx)
xorps %xmm0, %xmm0
movups %xmm0, (%r12)
movups %xmm0, 0x10(%r12)
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
movl %eax, 0x50(%r14)
testq %r13, %r13
jne 0x60b0
xorl %eax, %eax
jmp 0x618e
movl $0x1, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x676c(%rip), %rdi      # 0xc910
leaq 0x678c(%rip), %rsi      # 0xc937
leaq 0x678c(%rip), %rcx      # 0xc93e
movl $0xd8, %edx
callq 0x4190
// File: /workspace/github_c_makefile_star2_O1/srned[P]baselib/dict.c
// Function: dictAddRaw
dictEntry *dictAddRaw(dict *d, void *key)
{
    int index;
    dictEntry *entry;
    dictht *ht;

    if (dictIsRehashing(d)) _dictRehashStep(d);

    /* Get the index of the new element, or -1 if
     * the element already exists. */
    if ((index = _dictKeyIndex(d, key)) == -1)
        return NULL;

    /* Allocate the memory and store the new entry */
    ht = dictIsRehashing(d) ? &d->ht[1] : &d->ht[0];
    entry = zmalloc(sizeof(*entry));
    entry->next = ht->table[index];
    ht->table[index] = entry;
    ht->used++;

    /* Set the hash entry fields. */
    dictSetKey(d, entry, key);
    return entry;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
cmpl $-0x1, 0x50(%rdi)
je 0x631d
cmpl $0x0, 0x54(%r14)
jne 0x631d
movq %r14, %rdi
movl $0x1, %esi
callq 0x6088
cmpl $-0x1, 0x50(%r14)
je 0x63f8
movq (%r14), %rax
movq %rbx, %rdi
callq *(%rax)
movl %eax, 0x4(%rsp)
leaq 0x10(%r14), %r15
xorl %r13d, %r13d
movq %r13, %rax
shlq $0x5, %rax
movl 0x10(%r15,%rax), %r12d
andl 0x4(%rsp), %r12d
movq (%r15,%rax), %rax
movq (%rax,%r12,8), %rbp
testq %rbp, %rbp
je 0x6384
movq (%r14), %rax
movq 0x18(%rax), %rax
testq %rax, %rax
je 0x6378
movq 0x8(%r14), %rdi
movq (%rbp), %rdx
movq %rbx, %rsi
callq *%rax
testl %eax, %eax
je 0x637e
jmp 0x6395
cmpq %rbx, (%rbp)
je 0x6395
movq 0x10(%rbp), %rbp
jmp 0x6354
testq %r13, %r13
jne 0x639b
incq %r13
cmpl $-0x1, 0x50(%r14)
jne 0x633b
jmp 0x639b
movl $0xffffffff, %r12d      # imm = 0xFFFFFFFF
cmpl $-0x1, %r12d
je 0x642e
xorl %r13d, %r13d
cmpl $-0x1, 0x50(%r14)
setne %r13b
shll $0x5, %r13d
movl $0x18, %edi
callq 0xb709
movq %rax, %r15
movq 0x10(%r14,%r13), %rax
movslq %r12d, %rcx
movq (%rax,%rcx,8), %rdx
movq %rdx, 0x10(%r15)
movq %r15, (%rax,%rcx,8)
incq 0x28(%r14,%r13)
movq (%r14), %rax
movq 0x8(%rax), %rax
testq %rax, %rax
je 0x63f3
movq 0x8(%r14), %rdi
movq %rbx, %rsi
callq *%rax
movq %rax, %rbx
movq %rbx, (%r15)
jmp 0x6431
movq 0x18(%r14), %rcx
testq %rcx, %rcx
je 0x6443
movq 0x28(%r14), %rsi
cmpq %rcx, %rsi
jb 0x6328
cmpb $0x1, 0xae17(%rip)      # 0x1122c
jne 0x6429
movq %rsi, %rax
xorl %edx, %edx
divq %rcx
cmpq $0x6, %rax
jb 0x6328
addq %rsi, %rsi
jmp 0x6448
xorl %r15d, %r15d
movq %r15, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x4, %esi
movq %r14, %rdi
callq 0x5ffa
movl $0xffffffff, %r12d      # imm = 0xFFFFFFFF
testl %eax, %eax
jne 0x639b
jmp 0x6328
// File: /workspace/github_c_makefile_star2_O1/srned[P]baselib/dict.c
// Function: dictFind
dictEntry *dictFind(dict *d, const void *key)
{
    dictEntry *he;
    unsigned int h, idx, table;

    if (d->ht[0].size == 0) return NULL; /* We don't have a table at all */
    if (dictIsRehashing(d)) _dictRehashStep(d);
    h = dictHashKey(d, key);
    for (table = 0; table <= 1; table++) {
        idx = h & d->ht[table].sizemask;
        he = d->ht[table].table[idx];
        while(he) {
            if (dictCompareKeys(d, key, he->key))
                return he;
            he = he->next;
        }
        if (!dictIsRehashing(d)) return NULL;
    }
    return NULL;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
cmpq $0x0, 0x18(%rdi)
je 0x6583
movq %rsi, %rbx
movq %rdi, %r14
cmpl $-0x1, 0x50(%rdi)
je 0x650b
cmpl $0x0, 0x54(%r14)
jne 0x650b
movq %r14, %rdi
movl $0x1, %esi
callq 0x6088
leaq 0x10(%r14), %r12
movq (%r14), %rax
movq %rbx, %rdi
callq *(%rax)
movl %eax, %ebp
movq $0x0, (%rsp)
xorl %r13d, %r13d
movq %r13, %rax
shlq $0x5, %rax
movl 0x10(%r12,%rax), %ecx
andl %ebp, %ecx
movq (%r12,%rax), %rax
movq (%rax,%rcx,8), %r15
testq %r15, %r15
je 0x6568
movq (%r14), %rax
movq 0x18(%rax), %rax
testq %rax, %rax
je 0x655d
movq 0x8(%r14), %rdi
movq (%r15), %rdx
movq %rbx, %rsi
callq *%rax
testl %eax, %eax
je 0x6562
jmp 0x657d
cmpq %rbx, (%r15)
je 0x657d
movq 0x10(%r15), %r15
jmp 0x653a
cmpl $-0x1, 0x50(%r14)
je 0x658b
leaq 0x1(%r13), %rax
testq %r13, %r13
movq %rax, %r13
je 0x6524
jmp 0x658b
movq %r15, (%rsp)
jmp 0x658b
movq $0x0, (%rsp)
movq (%rsp), %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/srned[P]baselib/dict.c
// Function: dictClear
int _dictClear(dict *d, dictht *ht)
{
    unsigned long i;

    /* Free all the elements */
    for (i = 0; i < ht->size && ht->used > 0; i++) {
        dictEntry *he, *nextHe;

        if ((he = ht->table[i]) == NULL) continue;
        while(he) {
            nextHe = he->next;
            dictFreeKey(d, he);
            dictFreeVal(d, he);
            zfree(he);
            ht->used--;
            he = nextHe;
        }
    }
    /* Free the table and the allocated cache structure */
    zfree(ht->table);
    /* Re-initialize the table */
    _dictReset(ht);
    return DICT_OK; /* never fails */
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rsi, %rbx
cmpq $0x0, 0x8(%rsi)
je 0x679f
movq %rdi, %r14
xorl %r12d, %r12d
cmpq $0x0, 0x18(%rbx)
je 0x679f
movq (%rbx), %rax
movq (%rax,%r12,8), %r15
testq %r15, %r15
je 0x6796
movq 0x10(%r15), %r13
movq (%r14), %rax
movq 0x20(%rax), %rax
testq %rax, %rax
je 0x676c
movq 0x8(%r14), %rdi
movq (%r15), %rsi
callq *%rax
movq (%r14), %rax
movq 0x28(%rax), %rax
testq %rax, %rax
je 0x6782
movq 0x8(%r14), %rdi
movq 0x8(%r15), %rsi
callq *%rax
movq %r15, %rdi
callq 0xb873
decq 0x18(%rbx)
movq %r13, %r15
testq %r13, %r13
jne 0x6753
incq %r12
cmpq 0x8(%rbx), %r12
jb 0x6740
movq (%rbx), %rdi
callq 0xb873
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%rbx)
movups %xmm0, (%rbx)
xorl %eax, %eax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/srned[P]baselib/dict.c
// Function: dictNext
dictEntry *dictNext(dictIterator *iter)
{
    while (1) {
        if (iter->entry == NULL) {
            dictht *ht = &iter->d->ht[iter->table];
            if (iter->safe && iter->index == -1 && iter->table == 0)
                iter->d->iterators++;
            iter->index++;
            if (iter->index >= (signed) ht->size) {
                if (dictIsRehashing(iter->d) && iter->table == 0) {
                    iter->table++;
                    iter->index = 0;
                    ht = &iter->d->ht[1];
                } else {
                    break;
                }
            }
            iter->entry = ht->table[iter->index];
        } else {
            iter->entry = iter->nextEntry;
        }
        if (iter->entry) {
            /* We need to save the 'next' here, the iterator user
             * may delete the entry we are returning. */
            iter->nextEntry = iter->entry->next;
            return iter->entry;
        }
    }
    return NULL;
}

// Assembly:
cmpq $0x0, 0x18(%rdi)
je 0x685f
leaq 0x20(%rdi), %rcx
jmp 0x68b9
movq (%rdi), %rcx
movslq 0x8(%rdi), %rdx
movq %rdx, %rax
shlq $0x5, %rax
addq %rcx, %rax
addq $0x10, %rax
cmpl $0x0, 0x10(%rdi)
je 0x6886
movl 0xc(%rdi), %esi
notl %esi
orl %edx, %esi
jne 0x6886
incl 0x54(%rcx)
movl 0xc(%rdi), %esi
incl %esi
movl %esi, 0xc(%rdi)
cmpl 0x8(%rax), %esi
jl 0x68ae
xorl %eax, %eax
cmpl $-0x1, 0x50(%rcx)
je 0x68cd
testl %edx, %edx
jne 0x68cd
movq $0x1, 0x8(%rdi)
addq $0x30, %rcx
movq %rcx, %rax
movslq 0xc(%rdi), %rcx
shlq $0x3, %rcx
addq (%rax), %rcx
movq (%rcx), %rax
movq %rax, 0x18(%rdi)
testq %rax, %rax
je 0x685f
movq 0x10(%rax), %rcx
movq %rcx, 0x20(%rdi)
retq
// File: /workspace/github_c_makefile_star2_O1/srned[P]baselib/dict.c
// Function: dictGetRandomKey
dictEntry *dictGetRandomKey(dict *d)
{
    dictEntry *he, *orighe;
    unsigned int h;
    int listlen, listele;

    if (dictSize(d) == 0) return NULL;
    if (dictIsRehashing(d)) _dictRehashStep(d);
    if (dictIsRehashing(d)) {
        do {
            h = random() % (d->ht[0].size+d->ht[1].size);
            he = (h >= d->ht[0].size) ? d->ht[1].table[h - d->ht[0].size] :
                                      d->ht[0].table[h];
        } while(he == NULL);
    } else {
        do {
            h = random() & d->ht[0].sizemask;
            he = d->ht[0].table[h];
        } while(he == NULL);
    }

    /* Now we found a non empty bucket, but it is a linked
     * list and we need to get a random element from the list.
     * The only sane way to do so is counting the elements and
     * select a random index. */
    listlen = 0;
    orighe = he;
    while(he) {
        he = he->next;
        listlen++;
    }
    listele = random() % listlen;
    he = orighe;
    while(listele--) he = he->next;
    return he;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq 0x28(%rdi), %rax
addq 0x48(%rdi), %rax
jne 0x6909
xorl %r14d, %r14d
jmp 0x69a6
movq %rdi, %rbx
cmpl $-0x1, 0x50(%rdi)
je 0x6925
cmpl $0x0, 0x54(%rbx)
jne 0x6925
movq %rbx, %rdi
movl $0x1, %esi
callq 0x6088
cmpl $-0x1, 0x50(%rbx)
je 0x6969
callq 0x4260
movq 0x18(%rbx), %rsi
movq 0x38(%rbx), %rcx
addq %rsi, %rcx
xorl %edx, %edx
divq %rcx
movl %edx, %ecx
movq %rcx, %rax
subq %rsi, %rax
jae 0x6957
shlq $0x3, %rcx
addq 0x10(%rbx), %rcx
movq %rcx, %rax
jmp 0x695f
shlq $0x3, %rax
addq 0x30(%rbx), %rax
movq (%rax), %r14
testq %r14, %r14
je 0x692b
jmp 0x697e
callq 0x4260
movq 0x10(%rbx), %rcx
andl 0x20(%rbx), %eax
movq (%rcx,%rax,8), %r14
testq %r14, %r14
je 0x6969
xorl %ebx, %ebx
movq %r14, %rax
movq 0x10(%rax), %rax
incq %rbx
testq %rax, %rax
jne 0x6983
callq 0x4260
cqto
idivq %rbx
testq %rdx, %rdx
je 0x69a6
movq 0x10(%r14), %r14
decl %edx
jne 0x699e
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/srned[P]baselib/dict.c
// Function: dictEmpty
void dictEmpty(dict *d) {
    _dictClear(d,&d->ht[0]);
    _dictClear(d,&d->ht[1]);
    d->rehashidx = -1;
    d->iterators = 0;
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
leaq 0x10(%rdi), %rsi
callq 0x6727
leaq 0x30(%rbx), %rsi
movq %rbx, %rdi
callq 0x6727
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
movq %rax, 0x50(%rbx)
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/srned[P]baselib/sds.c
// Function: sdsnewlen
sds sdsnewlen(const void *init, size_t initlen) {
    struct sdshdr *sh;

    if (init) {
        sh = zmalloc(sizeof(struct sdshdr)+initlen+1);
    } else {
        sh = zcalloc(sizeof(struct sdshdr)+initlen+1);
    }
    if (sh == NULL) return NULL;
    sh->len = initlen;
    sh->free = 0;
    if (initlen && init)
        memcpy(sh->buf, init, initlen);
    sh->buf[initlen] = '\0';
    return (char*)sh->buf;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x9(%rsi), %rdi
testq %r14, %r14
je 0x7473
callq 0xb709
jmp 0x7478
callq 0xb76b
movq %rax, %r15
testq %rax, %rax
je 0x74b6
testq %r14, %r14
sete %al
movl %ebx, (%r15)
movl $0x0, 0x4(%r15)
testq %rbx, %rbx
sete %cl
orb %al, %cl
jne 0x74aa
leaq 0x8(%r15), %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq 0x4240
movb $0x0, 0x8(%r15,%rbx)
addq $0x8, %r15
jmp 0x74b9
xorl %r15d, %r15d
movq %r15, %rax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/srned[P]baselib/sds.c
// Function: sdsMakeRoomFor
sds sdsMakeRoomFor(sds s, size_t addlen) {
    struct sdshdr *sh, *newsh;
    size_t free = sdsavail(s);
    size_t len, newlen;

    if (free >= addlen) return s;
    len = sdslen(s);
    sh = (void*) (s-(sizeof(struct sdshdr)));
    newlen = (len+addlen);
    if (newlen < SDS_MAX_PREALLOC)
        newlen *= 2;
    else
        newlen += SDS_MAX_PREALLOC;
    newsh = zrealloc(sh, sizeof(struct sdshdr)+newlen+1);
    if (newsh == NULL) return NULL;

    newsh->free = newlen - len;
    return newsh->buf;
}

// Assembly:
movq %rdi, %rax
movslq -0x4(%rdi), %rcx
cmpq %rsi, %rcx
jae 0x75a0
pushq %r14
pushq %rbx
pushq %rax
movslq -0x8(%rax), %rbx
addq $-0x8, %rax
addq %rbx, %rsi
leaq (%rsi,%rsi), %rcx
movl $0x100000, %edx         # imm = 0x100000
leaq (%rsi,%rdx), %r14
cmpq %rdx, %rsi
cmovbq %rcx, %r14
leaq 0x9(%r14), %rsi
movq %rax, %rdi
callq 0xb7d2
testq %rax, %rax
je 0x7597
subl %ebx, %r14d
movl %r14d, 0x4(%rax)
addq $0x8, %rax
jmp 0x7599
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/srned[P]baselib/sds.c
// Function: sdsRemoveFreeSpace
sds sdsRemoveFreeSpace(sds s) {
    struct sdshdr *sh;

    sh = (void*) (s-(sizeof(struct sdshdr)));
    sh = zrealloc(sh, sizeof(struct sdshdr)+sh->len+1);
    sh->free = 0;
    return sh->buf;
}

// Assembly:
pushq %rax
movslq -0x8(%rdi), %rsi
addq $-0x8, %rdi
addq $0x9, %rsi
callq 0xb7d2
movl $0x0, 0x4(%rax)
addq $0x8, %rax
popq %rcx
retq
// File: /workspace/github_c_makefile_star2_O1/srned[P]baselib/sds.c
// Function: sdsIncrLen
void sdsIncrLen(sds s, int incr) {
    struct sdshdr *sh = (void*) (s-(sizeof(struct sdshdr)));

    assert(sh->free >= incr);
    sh->len += incr;
    sh->free -= incr;
    assert(sh->free >= 0);
    s[sh->len] = '\0';
}

// Assembly:
pushq %rax
movl -0x4(%rdi), %eax
cmpl %esi, %eax
jl 0x75f2
movslq -0x8(%rdi), %rdx
movslq %esi, %rcx
addq %rdx, %rcx
movl %ecx, -0x8(%rdi)
subl %esi, %eax
movl %eax, -0x4(%rdi)
js 0x7611
movb $0x0, (%rdi,%rcx)
popq %rax
retq
leaq 0x53ef(%rip), %rdi      # 0xc9e8
leaq 0x53f9(%rip), %rsi      # 0xc9f9
leaq 0x53f8(%rip), %rcx      # 0xc9ff
movl $0x9c, %edx
callq 0x4190
leaq 0x5401(%rip), %rdi      # 0xca19
leaq 0x53da(%rip), %rsi      # 0xc9f9
leaq 0x53d9(%rip), %rcx      # 0xc9ff
movl $0x9f, %edx
callq 0x4190
// File: /workspace/github_c_makefile_star2_O1/srned[P]baselib/ziplist.c
// Function: ziplistNew
unsigned char *ziplistNew(void) {
    unsigned int bytes = ZIPLIST_HEADER_SIZE+1;
    unsigned char *zl = zmalloc(bytes);
    ZIPLIST_BYTES(zl) = intrev32ifbe(bytes);
    ZIPLIST_TAIL_OFFSET(zl) = intrev32ifbe(ZIPLIST_HEADER_SIZE);
    ZIPLIST_LENGTH(zl) = 0;
    zl[bytes-1] = ZIP_END;
    return zl;
}

// Assembly:
pushq %rax
movl $0xb, %edi
callq 0xb709
movabsq $0xa0000000b, %rcx      # imm = 0xA0000000B
movq %rcx, (%rax)
movw $0x0, 0x8(%rax)
movb $-0x1, 0xa(%rax)
popq %rcx
retq
// File: /workspace/github_c_makefile_star2_O1/srned[P]baselib/ziplist.c
// Function: ziplistIndex
unsigned char *ziplistIndex(unsigned char *zl, int index) {
    unsigned char *p;
    zlentry entry;
    if (index < 0) {
        index = (-index)-1;
        p = ZIPLIST_ENTRY_TAIL(zl);
        if (p[0] != ZIP_END) {
            entry = zipEntry(p);
            while (entry.prevrawlen > 0 && index--) {
                p -= entry.prevrawlen;
                entry = zipEntry(p);
            }
        }
    } else {
        p = ZIPLIST_ENTRY_HEAD(zl);
        while (p[0] != ZIP_END && index--) {
            p += zipRawEntryLength(p);
        }
    }
    return (p[0] == ZIP_END || index > 0) ? NULL : p;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movl %esi, %ebx
testl %esi, %esi
js 0xa482
leaq 0xa(%rdi), %r15
cmpb $-0x1, 0xa(%rdi)
je 0xa4ce
subl $0x1, %ebx
jb 0xa4c9
movq %r15, %rdi
callq 0xa617
movl %eax, %eax
leaq (%r15,%rax), %r14
cmpb $-0x1, (%r15,%rax)
movq %r14, %r15
jne 0xa463
jmp 0xa4d1
notl %ebx
movl 0x4(%rdi), %eax
leaq (%rdi,%rax), %r14
cmpb $-0x1, (%rdi,%rax)
je 0xa4d1
movq %rsp, %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0xa4f5
movl 0x4(%r15), %eax
testl %eax, %eax
je 0xa4d1
movq %rsp, %r15
subl $0x1, %ebx
jb 0xa4ee
movl %eax, %eax
subq %rax, %r14
movq %r15, %rdi
movq %r14, %rsi
callq 0xa4f5
movl 0x4(%rsp), %eax
testl %eax, %eax
jne 0xa4aa
jmp 0xa4d1
movl $0xffffffff, %ebx       # imm = 0xFFFFFFFF
movq %r15, %r14
xorl %ecx, %ecx
testl %ebx, %ebx
movq %r14, %rax
cmovgq %rcx, %rax
cmpb $-0x1, (%r14)
cmoveq %rcx, %rax
addq $0x20, %rsp
popq %rbx
popq %r14
popq %r15
retq
movl $0xffffffff, %ebx       # imm = 0xFFFFFFFF
jmp 0xa4d1
// File: /workspace/github_c_makefile_star2_O1/srned[P]baselib/ziplist.c
// Function: zipEntry
static zlentry zipEntry(unsigned char *p) {
    zlentry e;

    ZIP_DECODE_PREVLEN(p, e.prevrawlensize, e.prevrawlen);
    ZIP_DECODE_LENGTH(p + e.prevrawlensize, e.encoding, e.lensize, e.len);
    e.headersize = e.prevrawlensize + e.lensize;
    e.p = p;
    return e;
}

// Assembly:
movzbl (%rsi), %ecx
xorl %eax, %eax
cmpl $0xfe, %ecx
setae %al
leal 0x1(,%rax,4), %eax
movl %eax, (%rdi)
jb 0xa511
movl 0x1(%rsi), %ecx
movl %ecx, 0x4(%rdi)
movl %eax, %edx
movzbl (%rsi,%rdx), %ecx
movl %ecx, %r8d
andb $-0x40, %r8b
movzbl %r8b, %r8d
cmpl $0xc0, %ecx
cmovael %ecx, %r8d
movb %r8b, 0x14(%rdi)
jae 0xa561
cmpb $-0x80, %r8b
je 0xa5c0
movzbl %r8b, %r8d
cmpl $0x40, %r8d
je 0xa5aa
testl %r8d, %r8d
jne 0xa5f7
movl $0x1, 0x8(%rdi)
andl $0x3f, %ecx
jmp 0xa5e6
movl $0x1, 0x8(%rdi)
movzbl %r8b, %edx
cmpl $0xdf, %edx
jle 0xa593
cmpl $0xe0, %edx
je 0xa5cf
cmpl $0xf0, %edx
je 0xa5d6
movl $0x1, %ecx
cmpl $0xfe, %edx
je 0xa5e6
jmp 0xa5e4
cmpl $0xc0, %edx
je 0xa5dd
cmpl $0xd0, %edx
jne 0xa5e4
movl $0x4, %ecx
jmp 0xa5e6
movl $0x2, 0x8(%rdi)
andl $0x3f, %ecx
shll $0x8, %ecx
movzbl 0x1(%rsi,%rdx), %edx
orl %edx, %ecx
jmp 0xa5e6
movl $0x5, 0x8(%rdi)
movl 0x1(%rsi,%rdx), %ecx
bswapl %ecx
jmp 0xa5e6
movl $0x8, %ecx
jmp 0xa5e6
movl $0x3, %ecx
jmp 0xa5e6
movl $0x2, %ecx
jmp 0xa5e6
xorl %ecx, %ecx
movl %ecx, 0xc(%rdi)
addl 0x8(%rdi), %eax
movl %eax, 0x10(%rdi)
movq %rsi, 0x18(%rdi)
movq %rdi, %rax
retq
pushq %rax
leaq 0x2500(%rip), %rdi      # 0xcaff
leaq 0x24b2(%rip), %rsi      # 0xcab8
leaq 0x262f(%rip), %rcx      # 0xcc3c
movl $0x17d, %edx            # imm = 0x17D
callq 0x4190
// File: /workspace/github_c_makefile_star2_O1/srned[P]baselib/ziplist.c
// Function: zipRawEntryLength
static unsigned int zipRawEntryLength(unsigned char *p) {
    unsigned int prevlensize, encoding, lensize, len;
    ZIP_DECODE_PREVLENSIZE(p, prevlensize);
    ZIP_DECODE_LENGTH(p + prevlensize, encoding, lensize, len);
    return prevlensize + lensize + len;
}

// Assembly:
xorl %eax, %eax
cmpb $-0x2, (%rdi)
setae %al
leal 0x1(,%rax,4), %eax
movzbl (%rdi,%rax), %ecx
movl %ecx, %edx
andl $-0x40, %edx
cmpl $0xc0, %ecx
cmovael %ecx, %edx
cmpl $0xbf, %edx
ja 0xa65f
cmpb $-0x80, %dl
je 0xa6b9
movzbl %dl, %edx
cmpl $0x40, %edx
je 0xa6a5
testl %edx, %edx
jne 0xa6e2
andl $0x3f, %ecx
movl $0x1, %edx
jmp 0xa6dd
movzbl %dl, %ecx
movl $0x1, %edx
cmpl $0xdf, %ecx
jle 0xa68e
cmpl $0xe0, %ecx
je 0xa6c6
cmpl $0xf0, %ecx
je 0xa6cd
cmpl $0xfe, %ecx
jne 0xa6db
movl $0x1, %ecx
jmp 0xa6dd
cmpl $0xc0, %ecx
je 0xa6d4
cmpl $0xd0, %ecx
jne 0xa6db
movl $0x4, %ecx
jmp 0xa6dd
andl $0x3f, %ecx
shll $0x8, %ecx
movzbl 0x1(%rdi,%rax), %edx
orl %edx, %ecx
movl $0x2, %edx
jmp 0xa6dd
movl 0x1(%rdi,%rax), %ecx
bswapl %ecx
movl $0x5, %edx
jmp 0xa6dd
movl $0x8, %ecx
jmp 0xa6dd
movl $0x3, %ecx
jmp 0xa6dd
movl $0x2, %ecx
jmp 0xa6dd
xorl %ecx, %ecx
addl %edx, %eax
addl %ecx, %eax
retq
pushq %rax
leaq 0x2415(%rip), %rdi      # 0xcaff
leaq 0x23c7(%rip), %rsi      # 0xcab8
leaq 0x2566(%rip), %rcx      # 0xcc5e
movl $0x11a, %edx            # imm = 0x11A
callq 0x4190
// File: /workspace/github_c_makefile_star2_O1/srned[P]baselib/ziplist.c
// Function: ziplistGet
unsigned int ziplistGet(unsigned char *p, unsigned char **sstr, unsigned int *slen, long long *sval) {
    zlentry entry;
    if (p == NULL || p[0] == ZIP_END) return 0;
    if (sstr) *sstr = NULL;

    entry = zipEntry(p);
    if (ZIP_IS_STR(entry.encoding)) {
        if (sstr) {
            *slen = entry.len;
            *sstr = p+entry.headersize;
        }
    } else {
        if (sval) {
            *sval = zipLoadInteger(p+entry.headersize,entry.encoding);
        }
    }
    return 1;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
xorl %ebp, %ebp
testq %rdi, %rdi
je 0xa81c
movq %rdi, %rbx
cmpb $-0x1, (%rdi)
je 0xa81c
movq %rcx, %r14
movq %rdx, %r12
movq %rsi, %r15
testq %rsi, %rsi
je 0xa7cf
movq $0x0, (%r15)
leaq 0x8(%rsp), %r13
movq %r13, %rdi
movq %rbx, %rsi
callq 0xa4f5
movl 0x10(%r13), %eax
movb 0x14(%r13), %cl
movl $0x1, %ebp
cmpb $-0x41, %cl
jbe 0xa809
testq %r14, %r14
je 0xa81c
addq %rax, %rbx
movzbl %cl, %esi
movq %rbx, %rdi
callq 0xa82d
movq %rax, (%r14)
jmp 0xa81c
testq %r15, %r15
je 0xa81c
movl 0x14(%rsp), %ecx
movl %ecx, (%r12)
addq %rax, %rbx
movq %rbx, (%r15)
movl %ebp, %eax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/srned[P]baselib/ziplist.c
// Function: ziplistDelete
unsigned char *ziplistDelete(unsigned char *zl, unsigned char **p) {
    size_t offset = *p-zl;
    zl = __ziplistDelete(zl,*p,1);

    /* Store pointer to current element in p, because ziplistDelete will
     * do a realloc which might result in a different "zl"-pointer.
     * When the delete direction is back to front, we might delete the last
     * entry and end up with "p" pointing to ZIP_END, so check this. */
    *p = zl+offset;
    return zl;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq (%rsi), %rsi
movq %rsi, %r14
subq %rdi, %r14
movl $0x1, %edx
callq 0xa8df
addq %rax, %r14
movq %r14, (%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/srned[P]baselib/ziplist.c
// Function: ziplistCompare
unsigned int ziplistCompare(unsigned char *p, unsigned char *sstr, unsigned int slen) {
    zlentry entry;
    unsigned char sencoding;
    long long zval, sval;
    if (p[0] == ZIP_END) return 0;

    entry = zipEntry(p);
    if (ZIP_IS_STR(entry.encoding)) {
        /* Raw compare */
        if (entry.len == slen) {
            return memcmp(p+entry.headersize,sstr,slen) == 0;
        } else {
            return 0;
        }
    } else {
        /* Try to compare encoded values. Don't compare encoding because
         * different implementations may encoded integers differently. */
        if (zipTryEncoding(sstr,slen,&sval,&sencoding)) {
          zval = zipLoadInteger(p+entry.headersize,entry.encoding);
          return zval == sval;
        }
    }
    return 0;
}

// Assembly:
cmpb $-0x1, (%rdi)
je 0xaafd
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x30, %rsp
movl %edx, %ebp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x10(%rsp), %r15
movq %r15, %rdi
movq %rbx, %rsi
callq 0xa4f5
movl 0x10(%r15), %r12d
movb 0x14(%r15), %r15b
cmpb $-0x41, %r15b
jbe 0xab01
leaq 0x10(%rsp), %rdx
leaq 0xf(%rsp), %rcx
movq %r14, %rdi
movl %ebp, %esi
callq 0xab30
testl %eax, %eax
je 0xab1e
addq %r12, %rbx
movzbl %r15b, %esi
movq %rbx, %rdi
callq 0xa82d
cmpq 0x10(%rsp), %rax
jmp 0xab19
xorl %eax, %eax
jmp 0xab2c
cmpl %ebp, 0x1c(%rsp)
jne 0xab1e
addq %r12, %rbx
movl %ebp, %edx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x42b0
testl %eax, %eax
sete %al
jmp 0xab20
xorl %eax, %eax
addq $0x30, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
movzbl %al, %eax
retq
// File: /workspace/github_c_makefile_star2_O1/srned[P]baselib/ziplist.c
// Function: ziplistLen
unsigned int ziplistLen(unsigned char *zl) {
    unsigned int len = 0;
    if (intrev16ifbe(ZIPLIST_LENGTH(zl)) < UINT16_MAX) {
        len = intrev16ifbe(ZIPLIST_LENGTH(zl));
    } else {
        unsigned char *p = zl+ZIPLIST_HEADER_SIZE;
        while (*p != ZIP_END) {
            p += zipRawEntryLength(p);
            len++;
        }

        /* Re-store length if small enough */
        if (len < UINT16_MAX) ZIPLIST_LENGTH(zl) = intrev16ifbe(len);
    }
    return len;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movzwl 0x8(%rdi), %ebp
cmpl $0xffff, %ebp           # imm = 0xFFFF
jne 0xae42
movq %rdi, %rbx
cmpb $-0x1, 0xa(%rdi)
je 0xae34
leaq 0xa(%rbx), %r14
xorl %ebp, %ebp
movq %r14, %rdi
callq 0xa617
movl %eax, %eax
incl %ebp
cmpb $-0x1, (%r14,%rax)
leaq (%r14,%rax), %r14
jne 0xae1b
jmp 0xae36
xorl %ebp, %ebp
cmpl $0xfffe, %ebp           # imm = 0xFFFE
ja 0xae42
movw %bp, 0x8(%rbx)
movl %ebp, %eax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/srned[P]baselib/zipmap.c
// Function: zipmapNew
unsigned char *zipmapNew(void) {
    unsigned char *zm = zmalloc(2);

    zm[0] = 0; /* Length */
    zm[1] = ZIPMAP_END;
    return zm;
}

// Assembly:
pushq %rax
movl $0x2, %edi
callq 0xb709
movw $0xff00, (%rax)         # imm = 0xFF00
popq %rcx
retq
// File: /workspace/github_c_makefile_star2_O1/srned[P]baselib/zipmap.c
// Function: zipmapLookupRaw
static unsigned char *zipmapLookupRaw(unsigned char *zm, unsigned char *key, unsigned int klen, unsigned int *totlen) {
    unsigned char *p = zm+1, *k = NULL;
    unsigned int l,llen;

    while(*p != ZIPMAP_END) {
        unsigned char free;

        /* Match or skip the key */
        l = zipmapDecodeLength(p);
        llen = zipmapEncodeLength(NULL,l);
        if (key != NULL && k == NULL && l == klen && !memcmp(p+llen,key,l)) {
            /* Only return when the user doesn't care
             * for the total length of the zipmap. */
            if (totlen != NULL) {
                k = p;
            } else {
                return p;
            }
        }
        p += llen+l;
        /* Skip the value as well */
        l = zipmapDecodeLength(p);
        p += zipmapEncodeLength(NULL,l);
        free = p[0];
        p += l+1+free; /* +1 to skip the free byte */
    }
    if (totlen != NULL) *totlen = (unsigned int)(p-zm)+1;
    return k;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rcx, %rbp
movl %edx, %r15d
movq %rsi, %rbx
movq %rdi, 0x10(%rsp)
leaq 0x1(%rdi), %r13
xorl %eax, %eax
movzbl (%r13), %r14d
cmpl $0xfe, %r14d
je 0xb375
cmpl $0xff, %r14d
jne 0xb379
jmp 0xb420
movl 0x1(%r13), %r14d
xorl %edx, %edx
cmpl $0xfe, %r14d
setae %dl
leal 0x1(,%rdx,4), %r12d
testq %rbx, %rbx
je 0xb3d4
testq %rax, %rax
jne 0xb3d4
cmpl %r15d, %r14d
jne 0xb3d2
testq %rbp, %rbp
sete 0x7(%rsp)
movl %r12d, %edi
addq %r13, %rdi
movl %r14d, %edx
movq %rbx, %rsi
callq 0x42b0
xorl %edi, %edi
testl %eax, %eax
sete %dl
movq %r13, %rax
cmovneq %rdi, %rax
testb %dl, 0x7(%rsp)
je 0xb3d4
xorl %eax, %eax
movq %r13, 0x8(%rsp)
jmp 0xb415
xorl %eax, %eax
addl %r14d, %r12d
leaq (%r12,%r13), %rdx
movzbl (%r13,%r12), %r8d
cmpl $0xfd, %r8d
jbe 0xb3ee
movl 0x1(%rdx), %r8d
xorl %r10d, %r10d
cmpl $0xfe, %r8d
setae %r10b
leaq (%rdx,%r10,4), %rdi
movzbl 0x1(%rdx,%r10,4), %edx
addl %r8d, %edx
incl %edx
leaq (%rdx,%rdi), %r13
incq %r13
movb $0x1, %dil
testb %dil, %dil
jne 0xb359
jmp 0xb436
testq %rbp, %rbp
je 0xb431
subl 0x10(%rsp), %r13d
incl %r13d
movl %r13d, (%rbp)
movq %rax, 0x8(%rsp)
movq 0x8(%rsp), %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/srned[P]baselib/zipmap.c
// Function: zipmapGet
int zipmapGet(unsigned char *zm, unsigned char *key, unsigned int klen, unsigned char **value, unsigned int *vlen) {
    unsigned char *p;

    if ((p = zipmapLookupRaw(zm,key,klen,NULL)) == NULL) return 0;
    p += zipmapRawKeyLength(p);
    *vlen = zipmapDecodeLength(p);
    *value = p + ZIPMAP_LEN_BYTES(*vlen) + 1;
    return 1;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %r8, %r14
movq %rcx, %rbx
xorl %r15d, %r15d
xorl %ecx, %ecx
callq 0xb337
testq %rax, %rax
je 0xb648
movq %rax, %rcx
movzbl (%rax), %edx
cmpl $0xfd, %edx
jbe 0xb606
movl 0x1(%rcx), %edx
xorl %esi, %esi
cmpl $0xfe, %edx
setae %sil
leal (%rdx,%rsi,4), %edx
incl %edx
addq %rdx, %rax
movzbl (%rcx,%rdx), %ecx
cmpl $0xfd, %ecx
jbe 0xb629
movl 0x1(%rax), %ecx
movl %ecx, (%r14)
xorl %edx, %edx
cmpl $0xfe, %ecx
setae %dl
leaq (%rax,%rdx,4), %rax
addq $0x2, %rax
movq %rax, (%rbx)
movl $0x1, %r15d
movl %r15d, %eax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/srned[P]baselib/zipmap.c
// Function: zipmapLen
unsigned int zipmapLen(unsigned char *zm) {
    unsigned int len = 0;
    if (zm[0] < ZIPMAP_BIGLEN) {
        len = zm[0];
    } else {
        unsigned char *p = zipmapRewind(zm);
        while((p = zipmapNext(p,NULL,NULL,NULL,NULL)) != NULL) len++;

        /* Re-store length if small enough */
        if (len < ZIPMAP_BIGLEN) zm[0] = len;
    }
    return len;
}

// Assembly:
movzbl (%rdi), %eax
cmpl $0xfd, %eax
jbe 0xb6e5
leaq 0x1(%rdi), %rcx
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
movzbl (%rcx), %edx
cmpl $0xfe, %edx
je 0xb68f
cmpl $0xff, %edx
jne 0xb692
xorl %ecx, %ecx
jmp 0xb6d5
movl 0x1(%rcx), %edx
xorl %esi, %esi
cmpl $0xfe, %edx
setae %sil
leal (%rdx,%rsi,4), %esi
incl %esi
leaq (%rcx,%rsi), %rdx
movzbl (%rcx,%rsi), %ecx
cmpl $0xfd, %ecx
jbe 0xb6b6
movl 0x1(%rdx), %ecx
xorl %esi, %esi
cmpl $0xfe, %ecx
setae %sil
movzbl 0x1(%rdx,%rsi,4), %r8d
addl %ecx, %r8d
leal (%r8,%rsi,4), %ecx
addl $0x2, %ecx
addq %rdx, %rcx
incl %eax
testq %rcx, %rcx
jne 0xb678
cmpl $0xfd, %eax
ja 0xb6e5
movb %al, (%rdi)
retq
// File: /workspace/github_c_makefile_star2_O1/openshmem-org[P]openshmem-examples/c/finalize.c
// Function: main
int
main(void)
{
    int me, npes;
    struct utsname u;

    uname(&u);

    shmem_init();

    me = shmem_my_pe();
    npes = shmem_n_pes();

    printf("%s: %4d / %4d: Hello\n", u.nodename, me, npes);

    shmem_finalize();

    printf("%s: %4d / %4d: OpenSHMEM finalized, but can do other things\n",
           u.nodename, me, npes);

    shmem_finalize();

    return 0;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x190, %rsp            # imm = 0x190
leaq 0xa(%rsp), %rdi
callq 0x1040
callq 0x1080
callq 0x1070
movl %eax, %ebx
callq 0x1050
movl %eax, %ebp
leaq 0x4b(%rsp), %r14
leaq 0xe44(%rip), %rdi       # 0x2004
movq %r14, %rsi
movl %ebx, %edx
movl %eax, %ecx
xorl %eax, %eax
callq 0x1030
callq 0x1060
leaq 0xe40(%rip), %rdi       # 0x201a
movq %r14, %rsi
movl %ebx, %edx
movl %ebp, %ecx
xorl %eax, %eax
callq 0x1030
callq 0x1060
xorl %eax, %eax
addq $0x190, %rsp            # imm = 0x190
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/mjosaarinen[P]brutus/crypto_aead/aezv4/ref/blake2b.c
// Function: blake2b_init
int blake2b_init(blake2b_ctx *ctx, size_t outlen,
    const void *key, size_t keylen)        // (keylen=0: no key)
{
    size_t i;

    if (outlen == 0 || outlen > 64 || keylen > 64)
        return -1;                      // illegal parameters

    for (i = 0; i < 8; i++)             // state, "param block"
        ctx->h[i] = blake2b_iv[i];
    ctx->h[0] ^= 0x01010000 ^ (keylen << 8) ^ outlen;

    ctx->t[0] = 0;                      // input count low word
    ctx->t[1] = 0;                      // input count high word
    ctx->c = 0;                         // pointer within buffer
    ctx->outlen = outlen;

    for (i = keylen; i < 128; i++)      // zero input block
        ctx->b[i] = 0;
    if (keylen > 0) {
        blake2b_update(ctx, key, keylen);
        ctx->c = 128;                   // at the end
    }

    return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rcx, %r14
leaq -0x41(%rsi), %rax
cmpq $-0x40, %rax
setb %al
cmpq $0x41, %rcx
setae %cl
orb %al, %cl
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
jne 0x12b5
movq %rdx, %r15
movq %rdi, %rbx
vmovups 0x3dcd(%rip), %ymm0     # 0x5000
vmovups %ymm0, 0x80(%rdi)
vmovups 0x3ddd(%rip), %ymm0     # 0x5020
vmovups %ymm0, 0xa0(%rdi)
movq %r14, %rax
shlq $0x8, %rax
addq %rsi, %rax
addq $0x1010000, %rax        # imm = 0x1010000
xorq %rax, 0x80(%rdi)
vxorps %xmm0, %xmm0, %xmm0
vmovups %xmm0, 0xc0(%rdi)
movq $0x0, 0xd0(%rdi)
movq %rsi, 0xd8(%rdi)
addq %r14, %rdi
movl $0x80, %edx
subq %r14, %rdx
xorl %ebp, %ebp
xorl %esi, %esi
vzeroupper
callq 0x1040
testq %r14, %r14
je 0x12b5
movq %rbx, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0x1050
movq $0x80, 0xd0(%rbx)
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/mjosaarinen[P]brutus/crypto_aead/aezv4/ref/blake2b.c
// Function: blake2b_update
void blake2b_update(blake2b_ctx *ctx,
    const void *in, size_t inlen)       // data bytes
{
    size_t i;

    for (i = 0; i < inlen; i++) {
        if (ctx->c == 128) {            // buffer full ?
            ctx->t[0] += ctx->c;        // add counters
            if (ctx->t[0] < ctx->c)     // carry overflow ?
                ctx->t[1]++;            // high word
            blake2b_compress(ctx, 0);   // compress (not last)
            ctx->c = 0;                 // counter to zero
        }
        ctx->b[ctx->c++] = ((const uint8_t *) in)[i];
    }
}

// Assembly:
testq %rdx, %rdx
je 0x134e
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
xorl %r12d, %r12d
movq 0xd0(%r15), %rax
cmpq $0x80, %rax
jne 0x1321
movq 0xc0(%r15), %rcx
subq $-0x80, %rcx
movq %rcx, 0xc0(%r15)
cmpq %rax, %rcx
jae 0x130c
incq 0xc8(%r15)
movq %r15, %rdi
xorl %esi, %esi
callq 0x134f
movq $0x0, 0xd0(%r15)
movb (%r14,%r12), %al
movq 0xd0(%r15), %rcx
leaq 0x1(%rcx), %rdx
movq %rdx, 0xd0(%r15)
movb %al, (%r15,%rcx)
incq %r12
cmpq %r12, %rbx
jne 0x12df
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/mjosaarinen[P]brutus/crypto_aead/aezv4/ref/blake2b.c
// Function: blake2b_final
void blake2b_final(blake2b_ctx *ctx, void *out)
{
    size_t i;

    ctx->t[0] += ctx->c;                // mark last block offset
    if (ctx->t[0] < ctx->c)             // carry overflow
        ctx->t[1]++;                    // high word

    while (ctx->c < 128)                // fill up with zeros
        ctx->b[ctx->c++] = 0;
    blake2b_compress(ctx, 1);           // final block flag = 1

    // little endian convert and store
    for (i = 0; i < ctx->outlen; i++) {
        ((uint8_t *) out)[i] =
            (ctx->h[i >> 3] >> (8 * (i & 7))) & 0xFF;
    }
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq 0xd0(%rdi), %rax
addq %rax, 0xc0(%rdi)
jae 0x1893
incq 0xc8(%r14)
movq 0xd0(%r14), %rax
cmpq $0x7f, %rax
ja 0x18bb
incq %rax
movq %rax, 0xd0(%r14)
movb $0x0, -0x1(%r14,%rax)
incq %rax
cmpq $0x81, %rax
jne 0x18a3
movq %r14, %rdi
movl $0x1, %esi
callq 0x134f
cmpq $0x0, 0xd8(%r14)
je 0x1900
xorl %eax, %eax
xorl %ecx, %ecx
movq %rcx, %rdx
andq $-0x8, %rdx
movl %eax, %esi
andb $0x38, %sil
shrxq %rsi, 0x80(%r14,%rdx), %rdx
movb %dl, (%rbx,%rcx)
incq %rcx
addq $0x8, %rax
cmpq 0xd8(%r14), %rcx
jb 0x18d6
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/mjosaarinen[P]brutus/crypto_aead/aezv4/ref/encrypt.c
// Function: crypto_aead_encrypt
int crypto_aead_encrypt(
    unsigned char *c,unsigned long long *clen,
    const unsigned char *m,unsigned long long mlen,
    const unsigned char *ad,unsigned long long adlen,
    const unsigned char *nsec,
    const unsigned char *npub,
    const unsigned char *k
)
{
    byte *AD[] = {(byte*)ad};
    unsigned adbytes[] = {(unsigned)adlen};
    (void)nsec;
    if (clen) *clen = mlen+16;
    Encrypt((byte*)k, 48, (byte*)npub, 12, AD,
                adbytes, 1, 16, (byte*)m, mlen, (byte*)c);
    return 0;
}

// Assembly:
subq $0x18, %rsp
movq %rcx, %r10
movq %rdx, %rax
movq %rdi, %r11
movq 0x30(%rsp), %rdi
movq 0x28(%rsp), %rdx
movq %r8, 0x10(%rsp)
movl %r9d, 0xc(%rsp)
testq %rsi, %rsi
je 0x20be
leaq 0x10(%r10), %rcx
movq %rcx, (%rsi)
subq $0x8, %rsp
leaq 0x18(%rsp), %r8
leaq 0x14(%rsp), %r9
movl $0x30, %esi
movl $0xc, %ecx
pushq %r11
pushq %r10
pushq %rax
pushq $0x10
pushq $0x1
callq 0x10d0
addq $0x30, %rsp
xorl %eax, %eax
addq $0x18, %rsp
retq
// File: /workspace/github_c_makefile_star2_O1/mjosaarinen[P]brutus/crypto_aead/aezv4/ref/encrypt.c
// Function: crypto_aead_decrypt
int crypto_aead_decrypt(
    unsigned char *m,unsigned long long *mlen,
    unsigned char *nsec,
    const unsigned char *c,unsigned long long clen,
    const unsigned char *ad,unsigned long long adlen,
    const unsigned char *npub,
    const unsigned char *k
)
{
    byte *AD[] = {(byte*)ad};
    unsigned adbytes[] = {(unsigned)adlen};
    (void)nsec;
    if (mlen) *mlen = clen-16;
    return Decrypt((byte*)k, 48, (byte*)npub, 12, AD,
                    adbytes, 1, 16, (byte*)c, clen, (byte*)m);
}

// Assembly:
subq $0x18, %rsp
movq %r8, %r10
movq %rcx, %rax
movq %rdi, %r11
movq 0x30(%rsp), %rdi
movq 0x28(%rsp), %rdx
movl 0x20(%rsp), %ecx
movq %r9, 0x10(%rsp)
movl %ecx, 0xc(%rsp)
testq %rsi, %rsi
je 0x211f
leaq -0x10(%r10), %rcx
movq %rcx, (%rsi)
subq $0x8, %rsp
leaq 0x18(%rsp), %r8
leaq 0x14(%rsp), %r9
movl $0x30, %esi
movl $0xc, %ecx
pushq %r11
pushq %r10
pushq %rax
pushq $0x10
pushq $0x1
callq 0x1030
addq $0x48, %rsp
retq
// File: /workspace/github_c_makefile_star2_O1/mjosaarinen[P]brutus/crypto_aead/aezv4/ref/encrypt.c
// Function: mult_block
static void mult_block(unsigned x, byte *src, byte *dst) {
    byte t[16], r[16];
    memcpy(t,src,16); memset(r,0,16);
    while (x != 0) {
        if (x&1) xor_bytes(r,t,16,r);
        double_block(t);
        x>>=1;
    }
    memcpy(dst,r,16);
}

// Assembly:
vmovdqu (%rsi), %xmm0
vmovdqa %xmm0, -0x18(%rsp)
vpxor %xmm0, %xmm0, %xmm0
testl %edi, %edi
je 0x2534
leaq -0x17(%rsp), %rax
movw $0x7fff, %cx            # imm = 0x7FFF
kmovd %ecx, %k1
vpbroadcastd 0x2d41(%rip), %xmm1 # 0x5220
vmovdqa -0x18(%rsp), %xmm2
testb $0x1, %dil
je 0x24ef
vpxor %xmm0, %xmm2, %xmm0
movb -0x18(%rsp), %cl
vmovdqu8 (%rax), %xmm3 {%k1} {z}
vpsrlw $0x7, %xmm3, %xmm3
vpaddw %xmm2, %xmm2, %xmm2
vpternlogd $0xe4, %xmm1, %xmm3, %xmm2
vmovdqu8 %xmm2, -0x18(%rsp) {%k1}
movb -0x9(%rsp), %sil
addb %sil, %sil
sarb $0x7, %cl
andb $-0x79, %cl
xorb %sil, %cl
movb %cl, -0x9(%rsp)
movl %edi, %ecx
shrl %ecx
cmpl $0x1, %edi
movl %ecx, %edi
ja 0x24df
vmovdqu %xmm0, (%rdx)
retq
// File: /workspace/github_c_makefile_star2_O1/YunyiQian[P]multitel3/multisyn.c
// Function: trapezoid
float *trapezoid(float dura, float rise, float dt, int *ns) {
   int i, nr;
   float amp, *src;
   *ns = rint(dura/dt); if (*ns<2) *ns = 2;
   src = malloc((1+*ns)*sizeof(float));
   if (src == NULL) {*ns=0; return src;}
   nr = rint(rise*(*ns)); if (nr<1) nr = 1; if (2*nr>*ns) nr=*ns/2;
   amp = 1./(nr*(*ns-nr));
   for(i=0;i<nr;i++) src[i] = i*amp;
   for(;i<*ns-nr;i++) src[i] = nr*amp;
   for(;i<=*ns;i++)   src[i] = (*ns-i)*amp;
   (*ns)++;
   return src;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movss %xmm1, 0x4(%rsp)
divss %xmm2, %xmm0
callq 0x1170
cvttss2si %xmm0, %eax
cmpl $0x3, %eax
movl $0x2, %r15d
cmovgel %eax, %r15d
movl %r15d, (%rbx)
leaq 0x4(,%r15,4), %rdi
callq 0x1160
movq %rax, %r14
testq %rax, %rax
je 0x2211
leal 0x1(%r15), %ebp
xorps %xmm0, %xmm0
cvtsi2ss %r15d, %xmm0
mulss 0x4(%rsp), %xmm0
callq 0x1170
cvttss2si %xmm0, %eax
cmpl $0x2, %eax
movl $0x1, %edx
cmovgel %eax, %edx
leal (%rdx,%rdx), %eax
movl %r15d, %ecx
shrl %ecx
cmpl %r15d, %eax
cmovbel %edx, %ecx
movl %r15d, %edx
subl %ecx, %edx
movl %ecx, %eax
imull %edx, %eax
xorps %xmm0, %xmm0
cvtsi2sd %eax, %xmm0
movsd 0x3ed6(%rip), %xmm1     # 0x6078
divsd %xmm0, %xmm1
xorps %xmm0, %xmm0
cvtsd2ss %xmm1, %xmm0
xorl %eax, %eax
xorps %xmm1, %xmm1
cvtsi2ss %eax, %xmm1
mulss %xmm0, %xmm1
movss %xmm1, (%r14,%rax,4)
incq %rax
cmpq %rax, %rcx
jne 0x21af
cmpl %eax, %edx
jle 0x21ea
xorps %xmm1, %xmm1
cvtsi2ss %ecx, %xmm1
mulss %xmm0, %xmm1
movl %eax, %eax
movslq %edx, %rcx
movss %xmm1, (%r14,%rax,4)
incq %rax
cmpq %rcx, %rax
jl 0x21dc
subl %eax, %r15d
jb 0x2213
movl %eax, %eax
leaq (%r14,%rax,4), %rax
xorps %xmm1, %xmm1
cvtsi2ss %r15d, %xmm1
mulss %xmm0, %xmm1
movss %xmm1, (%rax)
addq $0x4, %rax
addl $-0x1, %r15d
jb 0x21f5
jmp 0x2213
xorl %ebp, %ebp
movl %ebp, (%rbx)
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_c_makefile_star2_O1/YunyiQian[P]multitel3/fft.c
// Function: cor
void	cor(
	    complex	*src,		/* In: source function */
	    complex     *data,		/* In: data */
	                                /* Out: cross-correlation */
	    float	dt,		/* In: dt */
	    int 	nft		/* In: number of pts */
	    )
{
  int	j;
  float	aa;

  data[0]=cmplx(data[0].x*src[0].x, data[0].y*src[0].y);
  for (aa=-1.,j=1; j<nft; j++) {
    data[j]=cmltp(data[j], conjg(src[j]));
    data[j]=dmltp(aa, data[j]);
    aa = -aa;
  }
  fftr(data, nft, -dt);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x20, %rsp
movl %edx, %ebx
movaps %xmm0, 0x10(%rsp)
movq %rsi, %r14
movq %rdi, %r15
movss (%rsi), %xmm0
movss 0x4(%rsi), %xmm1
mulss (%rdi), %xmm0
mulss 0x4(%rdi), %xmm1
callq 0x3954
movlps %xmm0, (%r14)
cmpl $0x2, %ebx
jl 0x2747
movl %ebx, %r12d
movss 0x42ed(%rip), %xmm0     # 0x69e4
movaps %xmm0, (%rsp)
movl $0x1, %r13d
movsd (%r15,%r13,8), %xmm0
callq 0x3862
movaps %xmm0, %xmm1
movsd (%r14,%r13,8), %xmm0
callq 0x37dc
movaps %xmm0, %xmm1
movlps %xmm0, (%r14,%r13,8)
movaps (%rsp), %xmm0
callq 0x384c
movlps %xmm0, (%r14,%r13,8)
movaps (%rsp), %xmm0
xorps 0x38d5(%rip), %xmm0     # 0x6010
movaps %xmm0, (%rsp)
incq %r13
cmpq %r13, %r12
jne 0x2701
movaps 0x10(%rsp), %xmm0
xorps 0x38bd(%rip), %xmm0     # 0x6010
movq %r14, %rdi
movl %ebx, %esi
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
jmp 0x243e
// File: /workspace/github_c_makefile_star2_O1/YunyiQian[P]multitel3/fft.c
// Function: conv
void    conv(float *s, int ns, float *f, int n) {
  int   i,j,k,m;
  float *g,*pt;
  m = n+ns;
  if ( (g=(float *) malloc(m*sizeof(float))) == NULL ) {
     fprintf(stderr, "fail to malloc in conv()\n");
     exit(-1);
  }
  for(i=0;i<ns;i++) g[i] = 0.;
  for(pt=f,k=0;k<n;k++,i++,pt++){
     g[i] = *pt;
     for(*pt=0.,j=0;j<ns;j++) *pt += g[i-j]*s[j];
  }
  free(g);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %ecx, %ebx
movq %rdx, %r14
movl %esi, %r15d
movq %rdi, %r12
leal (%rbx,%r15), %eax
movslq %eax, %rdi
shlq $0x2, %rdi
callq 0x1160
testq %rax, %rax
je 0x2838
movq %rax, %r13
movl %r15d, %ebp
testl %r15d, %r15d
jle 0x27bb
leaq (,%rbp,4), %rdx
movq %r13, %rdi
xorl %esi, %esi
callq 0x10d0
movq %rbp, %rax
jmp 0x27bd
xorl %eax, %eax
testl %ebx, %ebx
jle 0x2822
leaq (,%rax,4), %rcx
addq %r13, %rcx
negq %rbp
xorl %edx, %edx
movss (%r14), %xmm0
movss %xmm0, (%r13,%rax,4)
movl $0x0, (%r14)
testl %r15d, %r15d
jle 0x2811
movss (%r14), %xmm0
movq %r12, %rsi
xorl %edi, %edi
movss (%rcx,%rdi,4), %xmm1
mulss (%rsi), %xmm1
addss %xmm1, %xmm0
movss %xmm0, (%r14)
decq %rdi
addq $0x4, %rsi
cmpq %rdi, %rbp
jne 0x27f3
incl %edx
incq %rax
addq $0x4, %r14
addq $0x4, %rcx
cmpl %ebx, %edx
jne 0x27d1
movq %r13, %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x1040
callq 0x1274
// File: /workspace/github_c_makefile_star2_O1/YunyiQian[P]multitel3/fft.c
// Function: crscrl
float	*crscrl(int npt,float *rec,float *syn,int m) {
  int	i,nft,nft2;
  float	*ss1,*ss2;
  nft=2;while(nft<npt)nft*=2;nft2=nft;nft*=2;
  ss1=(float *)calloc(nft, sizeof(float));
  ss2=(float *)calloc(nft, sizeof(float));
  memcpy((char *)ss1, (char *) rec, npt*sizeof(float));
  memcpy((char *)ss2, (char *) syn, npt*sizeof(float));
  for(i=npt;i<nft;i++) {ss1[i]=0.;ss2[i]=0.;}
  fftr((complex *) ss1,nft2,1.);
  fftr((complex *) ss2,nft2,1.);

  cor((complex *) ss2, (complex *) ss1, 1., nft2);

  nft2 -= m/2;
  i = (m+1)*sizeof(float);
  ss2=(float *)realloc(ss2, i);
  memcpy(ss2, ss1+nft2, i);
  free(ss1);
  return(ss2);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rcx, 0x20(%rsp)
movq %rdx, 0x18(%rsp)
movq %rsi, 0x10(%rsp)
movl %edi, %ebp
movl $0x2, %eax
movl %eax, %ebx
leal (%rbx,%rbx), %eax
cmpl %ebp, %ebx
jl 0x286a
leal (%rbx,%rbx), %r13d
movl $0x4, %esi
movq %r13, %rdi
callq 0x1110
movq %rax, %r15
movl $0x4, %esi
movq %r13, %rdi
callq 0x1110
movq %rax, %r12
movslq %ebp, %rax
movq %rax, 0x8(%rsp)
leaq (,%rax,4), %r14
movq %r15, %rdi
movq 0x10(%rsp), %rsi
movq %r14, %rdx
callq 0x1130
movq %r12, %rdi
movq 0x18(%rsp), %rsi
movq %r14, %rdx
callq 0x1130
cmpl %ebp, %r13d
jle 0x28ff
movq 0x8(%rsp), %rax
leaq (%r15,%rax,4), %rdi
notl %ebp
addl %ebp, %r13d
leaq 0x4(,%r13,4), %r14
xorl %esi, %esi
movq %r14, %rdx
callq 0x10d0
movq 0x8(%rsp), %rax
leaq (%r12,%rax,4), %rdi
xorl %esi, %esi
movq %r14, %rdx
callq 0x10d0
movss 0x40d9(%rip), %xmm0     # 0x69e0
movq %r15, %rdi
movl %ebx, %esi
callq 0x243e
movq %r12, %rdi
movl %ebx, %esi
movss 0x40c2(%rip), %xmm0     # 0x69e0
callq 0x243e
movq %r12, %rdi
movq %r15, %rsi
movss 0x40af(%rip), %xmm0     # 0x69e0
movl %ebx, %edx
callq 0x26b2
movq 0x20(%rsp), %rcx
movl %ecx, %eax
shrl $0x1f, %eax
addl %ecx, %eax
sarl %eax
subl %eax, %ebx
leal 0x4(,%rcx,4), %eax
movslq %eax, %r14
movq %r12, %rdi
movq %r14, %rsi
callq 0x11b0
movq %rax, %r12
movslq %ebx, %rax
leaq (%r15,%rax,4), %rsi
movq %r12, %rdi
movq %r14, %rdx
callq 0x1130
movq %r15, %rdi
callq 0x1040
movq %r12, %rax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq