LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O3/loversmile[P]sugarcrm/md5.c
// Function: MD5Final
void MD5Final(MD5_CTX *context,unsigned char digest[16])
{
    unsigned int index = 0,padlen = 0;
    unsigned char bits[8];
    index = (context->count[0] >> 3) & 0x3F;
    padlen = (index < 56)?(56-index):(120-index);
    MD5Encode(bits,context->count,8);
    MD5Update(context,PADDING,padlen);
    MD5Update(context,bits,8);
    MD5Encode(digest,context->state,16);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movl (%rdi), %eax
shrl $0x3, %eax
andl $0x3f, %eax
xorl %edx, %edx
cmpl $0x38, %eax
setae %dl
shll $0x6, %edx
orl $0x38, %edx
xorl %ecx, %ecx
movl (%r14,%rcx,4), %esi
movl %esi, (%rsp,%rcx,4)
incq %rcx
cmpq $0x2, %rcx
jne 0x4ba7c
subl %eax, %edx
leaq 0x2678b(%rip), %rsi     # 0x72220
movq %r14, %rdi
callq 0x4b055
movq %rsp, %rsi
movq %r14, %rdi
movl $0x8, %edx
callq 0x4b055
xorl %eax, %eax
movb 0x8(%r14,%rax,4), %cl
movb %cl, (%rbx,%rax,4)
movb 0x9(%r14,%rax,4), %cl
movb %cl, 0x1(%rbx,%rax,4)
movb 0xa(%r14,%rax,4), %cl
movb %cl, 0x2(%rbx,%rax,4)
movb 0xb(%r14,%rax,4), %cl
movb %cl, 0x3(%rbx,%rax,4)
incq %rax
cmpq $0x4, %rax
jne 0x4baaf
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/loversmile[P]sugarcrm/md5.c
// Function: MD5Encode
void MD5Encode(unsigned char *output,unsigned int *input,unsigned int len)
{
    unsigned int i = 0,j = 0;
    while(j < len)
    {
            output[j] = input[i] & 0xFF;
            output[j+1] = (input[i] >> 8) & 0xFF;
            output[j+2] = (input[i] >> 16) & 0xFF;
            output[j+3] = (input[i] >> 24) & 0xFF;
            i++;
            j+=4;
        }
}

// Assembly:
testl %edx, %edx
je 0x4bb16
decl %edx
shrl $0x2, %edx
incl %edx
xorl %eax, %eax
movb (%rsi,%rax,4), %cl
movb %cl, (%rdi,%rax,4)
movb 0x1(%rsi,%rax,4), %cl
movb %cl, 0x1(%rdi,%rax,4)
movb 0x2(%rsi,%rax,4), %cl
movb %cl, 0x2(%rdi,%rax,4)
movb 0x3(%rsi,%rax,4), %cl
movb %cl, 0x3(%rdi,%rax,4)
incq %rax
cmpq %rax, %rdx
jne 0x4baf0
retq
// File: /workspace/github_c_makefile_star2_O3/loversmile[P]sugarcrm/md5.c
// Function: MD5Decode
void MD5Decode(unsigned int *output,unsigned char *input,unsigned int len)
{
    unsigned int i = 0,j = 0;
    while(j < len)
    {
            output[i] = (input[j]) |
                (input[j+1] << 8) |
                (input[j+2] << 16) |
                (input[j+3] << 24);
            i++;
            j+=4;
        }
}

// Assembly:
testl %edx, %edx
je 0x4bb32
decl %edx
shrl $0x2, %edx
incl %edx
xorl %eax, %eax
movl (%rsi,%rax,4), %ecx
movl %ecx, (%rdi,%rax,4)
incq %rax
cmpq %rax, %rdx
jne 0x4bb24
retq
// File: /workspace/github_c_makefile_star2_O3/loversmile[P]sugarcrm/md5.c
// Function: MD_5
char *MD_5(unsigned char *input)
{                   
    MD5_CTX md5;    
    MD5Init(&md5);  
    int i;          
    unsigned char decrypt[16];
    MD5Update(&md5,input,strlen((char *)input));
    MD5Final(&md5,decrypt);
    char buf[40] = {0};
    for (i = 0; i < 16; i++)
    {               
        snprintf(buf + strlen(buf), sizeof(buf) - strlen(buf), "%02x", decrypt[i]);
    }               
    return strdup(buf);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0xa0, %rsp
movq %rdi, %rbx
movaps 0x8257(%rip), %xmm0     # 0x53da0
leaq 0x40(%rsp), %r14
movaps %xmm0, (%r14)
movabsq $0x1032547698badcfe, %rax # imm = 0x1032547698BADCFE
movq %rax, 0x10(%r14)
callq 0x3110
movq %r14, %rdi
movq %rbx, %rsi
movl %eax, %edx
callq 0x4b055
movq %rsp, %rsi
movq %r14, %rdi
callq 0x4ba5a
xorps %xmm0, %xmm0
leaq 0x10(%rsp), %rbx
movaps %xmm0, 0x10(%rbx)
movaps %xmm0, (%rbx)
movq $0x0, 0x20(%rbx)
leaq 0x8215(%rip), %r14      # 0x53db0
xorl %r15d, %r15d
movq %rbx, %rdi
callq 0x3110
leaq (%rsp,%rax), %rdi
addq $0x10, %rdi
movl $0x28, %esi
subq %rax, %rsi
movzbl (%rsp,%r15), %ecx
movq %r14, %rdx
xorl %eax, %eax
callq 0x3150
incq %r15
cmpq $0x10, %r15
jne 0x4bb9e
leaq 0x10(%rsp), %rdi
callq 0x3390
addq $0xa0, %rsp
popq %rbx
popq %r14
popq %r15
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O3/loversmile[P]sugarcrm/sugar_client.c
// Function: monitorTaskAll
int monitorTaskAll()
{
	/* a function need to build calls */
	printf("nonitorajdfkl ajsdlk fjadsf \n");
    SGCRMTask *crm_task = NULL;
    crm_task = initSGCRMTask(crm_task);
    crm_task->search_string = strdup("(586) 4-4536");
    addSGCRMTask(crm_task);
}

// Assembly:
pushq %rbx
leaq 0x8207(%rip), %rdi      # 0x53e29
callq 0x30a0
xorl %edi, %edi
callq 0x4c215
movq %rax, %rbx
leaq 0x818a(%rip), %rdi      # 0x53dc2
callq 0x3390
movq %rax, (%rbx)
leaq 0x266e1(%rip), %rdi     # 0x72328
movq %rbx, %rsi
callq 0x4c025
leaq 0x815f(%rip), %rdi      # 0x53db5
movl %eax, %esi
xorl %eax, %eax
popq %rbx
jmp 0x3140
// File: /workspace/github_c_makefile_star2_O3/loversmile[P]sugarcrm/sugar_client.c
// Function: executeRequest
int executeRequest(SGCRMInfoTask *info_task, SGCRMTask *crm_task)
{
	
	if (crm_task->search_result == NULL)
	{
		crm_task->search_result = initSGSearchResult(crm_task->search_result);
	}
	int res = searchAccounts(info_task->server_info, info_task->login_return->session_id, crm_task->search_string, crm_task->search_result);
	if (res == SOAP_OK)
	{
		if (crm_task->search_result->id == NULL)
		{
			printf("Not search ,continue need add\n");
			/* choose added to Account,Contacts,Leads */
			//continue;
		}
		printf("id = %s\nmodule = %s\n", crm_task->search_result->id, crm_task->search_result->module);
	}
	/*
    execute();
    search();
    cdr();
    addCall();
    callLinkUser();
    callLinkContact();*/
    return res;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
movq 0x10(%rsi), %rcx
testq %rcx, %rcx
jne 0x4bc81
xorl %edi, %edi
callq 0x4c3b7
movq %rax, %rcx
movq %rax, 0x10(%rbx)
movq (%r14), %rax
movq 0x8(%r14), %rdi
movq (%rax), %rsi
movq (%rbx), %rdx
callq 0x4f191
movl %eax, %ebp
testl %eax, %eax
jne 0x4bcca
movq 0x10(%rbx), %rax
movq (%rax), %rsi
testq %rsi, %rsi
jne 0x4bcb8
leaq 0x819a(%rip), %rdi      # 0x53e46
callq 0x30a0
movq 0x10(%rbx), %rax
movq (%rax), %rsi
movq 0x8(%rax), %rdx
leaq 0x810c(%rip), %rdi      # 0x53dcf
xorl %eax, %eax
callq 0x3140
movl %ebp, %eax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/loversmile[P]sugarcrm/sugar_client.c
// Function: crmClientStart
void crmClientStart()
{
    g_crm_task = 1;
    pthread_t crm_client_phread;
    pthread_attr_t crm_request_attr;
    pthread_attr_init(&crm_request_attr);
    pthread_attr_setstacksize((&crm_request_attr), CRM_STACK_SIZE);
    pthread_attr_setdetachstate((&crm_request_attr), PTHREAD_CREATE_DETACHED); //PTHREAD_CREATE_DETACHED
    //connectConfigDB(DB_CONF_CCRM);
    //connectConfigDB(DB_CDR_CCRM);
    //connectConfigDB(DB_STATUS_CCRM);
    pthread_create(&crm_client_phread, &crm_request_attr, (void *)crmClient, NULL);

}

// Assembly:
pushq %rbx
subq $0x40, %rsp
movl $0x1, 0x264f6(%rip)     # 0x72390
leaq 0x8(%rsp), %rbx
movq %rbx, %rdi
callq 0x31d0
movl $0x100000, %esi         # imm = 0x100000
movq %rbx, %rdi
callq 0x3410
movq %rbx, %rdi
movl $0x1, %esi
callq 0x3270
leaq -0x1f7(%rip), %rdx      # 0x4bcd1
movq %rsp, %rdi
movq %rbx, %rsi
xorl %ecx, %ecx
callq 0x32f0
addq $0x40, %rsp
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O3/loversmile[P]sugarcrm/sugar_function.c
// Function: leave_number
char *leave_number(char *dest, char *src)
{
    if(src == NULL){
        return NULL;
    }
    char *p = dest;
    while(*src) {
        if (*src > '9' || *src <  '0') {
            src++;
        } else {
            *dest = *src;
            dest++;
            src++;
        }
    }
    *dest = '\0';
    return p;
}

// Assembly:
testq %rsi, %rsi
je 0x4bf22
movq %rdi, %rax
movb (%rsi), %dl
movq %rdi, %rcx
testb %dl, %dl
je 0x4bf1e
incq %rsi
movq %rax, %rcx
leal -0x3a(%rdx), %edi
cmpb $-0xa, %dil
jb 0x4bf15
movb %dl, (%rcx)
incq %rcx
movb (%rsi), %dl
incq %rsi
testb %dl, %dl
jne 0x4bf07
movb $0x0, (%rcx)
retq
xorl %eax, %eax
retq
// File: /workspace/github_c_makefile_star2_O3/loversmile[P]sugarcrm/sugar_function.c
// Function: addPercent
char *addPercent(char *dest, char *src)
{
    if (src == NULL) {
        return NULL;
    }
    char *p = dest;
    while(*src) {
        *dest++ = '%';
        *dest++ = *src++;
    }
    *dest = '\0';
    return p;
}

// Assembly:
testq %rsi, %rsi
je 0x4bf55
movq %rdi, %rax
cmpb $0x0, (%rsi)
movq %rdi, %rcx
je 0x4bf51
incq %rsi
movq %rax, %rcx
movb $0x25, (%rcx)
movb -0x1(%rsi), %dl
movb %dl, 0x1(%rcx)
addq $0x2, %rcx
cmpb $0x0, (%rsi)
leaq 0x1(%rsi), %rsi
jne 0x4bf3b
movb $0x0, (%rcx)
retq
xorl %eax, %eax
retq
// File: /workspace/github_c_makefile_star2_O3/loversmile[P]sugarcrm/sugar_function.c
// Function: queueInitialize
void queueInitialize(Queue *queue)
{
    QueueNode *q_head_node = malloc(sizeof(QueueNode));
    if (q_head_node)
    {
        q_head_node->value = NULL;
        q_head_node->next = NULL;
    }

    queue->head = queue->end = q_head_node;
    queue->not_empty = 0;

    pthread_mutex_init(&queue->q_h_lock, NULL);
    pthread_mutex_init(&queue->q_t_lock, NULL);
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movl $0x1, %edi
movl $0x10, %esi
callq 0x31f0
movq %rax, 0x8(%rbx)
movq %rax, (%rbx)
movl $0x0, 0x60(%rbx)
leaq 0x10(%rbx), %rdi
xorl %esi, %esi
callq 0x33c0
addq $0x38, %rbx
movq %rbx, %rdi
xorl %esi, %esi
popq %rbx
jmp 0x33c0
// File: /workspace/github_c_makefile_star2_O3/loversmile[P]sugarcrm/sugar_function.c
// Function: cleanQueue
void cleanQueue(Queue *queue)
{
    QueueNode *free_q_head_node = NULL;

    if (queue)
    {
        while(queue->head != NULL)
        {
            free_q_head_node = queue->head->next;
            if (queue->head->value != NULL)
            {
                cleanSGCRMTask(queue->head->value);
                queue->head->value = NULL;
            }

            free(queue->head);
            queue->head = free_q_head_node;
        }
    }
}

// Assembly:
testq %rdi, %rdi
je 0x4bfd9
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq (%rdi), %r14
testq %r14, %r14
je 0x4bfd2
movq %r14, %rdi
movq (%r14), %rax
movq 0x8(%r14), %r14
testq %rax, %rax
je 0x4bfc8
movq %rax, %rdi
callq 0x4bfda
movq (%rbx), %rdi
movq $0x0, (%rdi)
callq 0x3030
movq %r14, (%rbx)
jmp 0x4bfa2
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/loversmile[P]sugarcrm/sugar_function.c
// Function: cleanSGCRMTask
void cleanSGCRMTask(struct __sg_crm_task *crm_task)
{
    if (crm_task)
    {
        cleanSGSearchResult(crm_task->search_result);
        cleanSGCallItem(crm_task->call_item);
        cleanSGLinkReturn(crm_task->link_return);
    }
    SAFE_FREE(crm_task);
}

// Assembly:
testq %rdi, %rdi
je 0x4c024
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x10(%rdi), %rdi
callq 0x4c231
movq 0x18(%rbx), %rdi
callq 0x4c2b8
movq 0x20(%rbx), %r14
leaq 0x8257(%rip), %rdi      # 0x5425a
callq 0x30a0
testq %r14, %r14
je 0x4c015
movq %r14, %rdi
callq 0x3030
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x3030
retq
// File: /workspace/github_c_makefile_star2_O3/loversmile[P]sugarcrm/sugar_function.c
// Function: enqueueTask
ENQUEUE_RESULT enqueueTask(Queue *q, SGCRMTask *task)
{
    QueueNode* node = malloc(sizeof(QueueNode));
    if (node != NULL)
    {
        node->value = task;
        node->next = NULL;
    }

    pthread_mutex_lock(&q->q_t_lock);
    if (q->end != NULL)
    {
        q->end->next = node;
        q->end = node;
    }
    else
    {
        q->not_empty = 0;
        pthread_mutex_unlock(&q->q_t_lock);
        return ENQUEUE_FAILED_USER_DELETE;
    }
    q->not_empty = 1;
    pthread_mutex_unlock(&q->q_t_lock);

    return ENQUEUE_SUCCESS;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
movl $0x10, %edi
callq 0x3290
movq %rax, %r15
testq %rax, %rax
je 0x4c04f
movq %r14, (%r15)
movq $0x0, 0x8(%r15)
leaq 0x38(%rbx), %r14
movq %r14, %rdi
callq 0x33e0
movq 0x8(%rbx), %rax
testq %rax, %rax
je 0x4c075
movq %r15, 0x8(%rax)
movq %r15, 0x8(%rbx)
xorl %ebp, %ebp
movl $0x1, %eax
jmp 0x4c07c
movl $0x1, %ebp
xorl %eax, %eax
movl %eax, 0x60(%rbx)
movq %r14, %rdi
callq 0x3280
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/loversmile[P]sugarcrm/sugar_function.c
// Function: dequeueTask
DEQUEUE_RESULT dequeueTask(Queue *q, SGCRMTask **pvalue)
{
    DEQUEUE_RESULT ret;
    QueueNode *next_node = NULL;

    pthread_mutex_lock(&q->q_h_lock);
    if (0 == q->not_empty)
    {
        pthread_mutex_unlock(&q->q_h_lock);
        return DEQUEUE_FAILED_EMPTY;
    }

    if(q->head != NULL)
    {
        next_node = q->head->next ;
    }

    if (next_node != NULL)
    {
        if (next_node == q->end)
        {
            pthread_mutex_lock(&q->q_t_lock);
            q->end = q->head;
            *pvalue = next_node->value;

            q->not_empty = 0;
			q->head->next = NULL;
            ret = DEQUEUE_SUCCESS_AND_EMPTY;
            pthread_mutex_unlock(&q->q_t_lock);
        }
        else
        {
            *pvalue = next_node->value;
            q->head->next = next_node->next ;
            ret = DEQUEUE_SUCCESS_AND_CONTINUE;
        }

        pthread_mutex_unlock(&q->q_h_lock);
        free(next_node);
    }
    else
    {
        pthread_mutex_unlock(&q->q_h_lock);
        ret = DEQUEUE_FAILED_EMPTY;
    }

    return ret;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r12
movq %rdi, %r15
leaq 0x10(%rdi), %rbx
movq %rbx, %rdi
callq 0x33e0
cmpl $0x0, 0x60(%r15)
je 0x4c0e5
movq (%r15), %rax
testq %rax, %rax
je 0x4c0e5
movq 0x8(%rax), %r14
testq %r14, %r14
je 0x4c0e5
cmpq 0x8(%r15), %r14
je 0x4c0f4
movq (%r14), %rax
movq %rax, (%r12)
movq 0x8(%r14), %rax
movq (%r15), %rcx
movq %rax, 0x8(%rcx)
xorl %ebp, %ebp
jmp 0x4c12e
movq %rbx, %rdi
callq 0x3280
movl $0x2, %ebp
jmp 0x4c13e
leaq 0x38(%r15), %r13
movq %r13, %rdi
callq 0x33e0
movq (%r15), %rax
movq %rax, 0x8(%r15)
movq (%r14), %rax
movq %rax, (%r12)
movl $0x0, 0x60(%r15)
movq (%r15), %rax
movq $0x0, 0x8(%rax)
movq %r13, %rdi
callq 0x3280
movl $0x1, %ebp
movq %rbx, %rdi
callq 0x3280
movq %r14, %rdi
callq 0x3030
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/loversmile[P]sugarcrm/sugar_function.c
// Function: initSGCRMInfoTask
struct __sg_crm_info_task *initSGCRMInfoTask(struct __sg_crm_info_task *crm_info_task)
{
    crm_info_task = (struct __sg_crm_info_task *)malloc(sizeof(struct __sg_crm_info_task));
    crm_info_task->login_return = initSGLoginReturn(crm_info_task->login_return);
    crm_info_task->server_info = initSGServerInfo(crm_info_task->server_info);
    return crm_info_task;
}

// Assembly:
pushq %rbx
movl $0x10, %edi
callq 0x3290
movq %rax, %rbx
movl $0x1, %edi
movl $0x10, %esi
callq 0x31f0
movq %rax, (%rbx)
movl $0x10, %edi
callq 0x3290
movq %rax, 0x8(%rbx)
movq %rbx, %rax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O3/loversmile[P]sugarcrm/sugar_function.c
// Function: cleanSGCRMInfoTask
void cleanSGCRMInfoTask(struct __sg_crm_info_task *crm_info_task)
{
    if (crm_info_task)
    {
        cleanSGLoginReturn(crm_info_task->login_return);
        cleanSGServerInfo(crm_info_task->server_info);
    }
    SAFE_FREE(crm_info_task);
}

// Assembly:
testq %rdi, %rdi
je 0x4c1be
pushq %rbx
movq %rdi, %rbx
movq (%rdi), %rdi
callq 0x4c1bf
movq 0x8(%rbx), %rdi
callq 0x4c1f4
movq %rbx, %rdi
popq %rbx
jmp 0x3030
retq
// File: /workspace/github_c_makefile_star2_O3/loversmile[P]sugarcrm/sugar_function.c
// Function: cleanSGLoginReturn
void cleanSGLoginReturn(struct __sg_login_return *login_return)
{
    if (login_return) {
        SAFE_FREE(login_return->session_id);
        SAFE_FREE(login_return->user_id);
    }
    SAFE_FREE(login_return);
}

// Assembly:
testq %rdi, %rdi
je 0x4c1f3
pushq %rbx
movq %rdi, %rbx
movq (%rdi), %rdi
testq %rdi, %rdi
je 0x4c1dc
callq 0x3030
movq $0x0, (%rbx)
movq 0x8(%rbx), %rdi
testq %rdi, %rdi
je 0x4c1ea
callq 0x3030
movq %rbx, %rdi
popq %rbx
jmp 0x3030
retq
// File: /workspace/github_c_makefile_star2_O3/loversmile[P]sugarcrm/sugar_function.c
// Function: cleanSGSearchResult
void cleanSGSearchResult(struct __sg_search_result *search_result)
{
    printf("cleanSearchResult\n");
    if (search_result) {
		printf("youyou\n");
		if (search_result->id)
			printf("asdjfsadfasd\n");
		else
			printf("no nulllllll]n\n");
        SAFE_FREE(search_result->id);
        SAFE_FREE(search_result->module);
		printf("ono\n");
    }
    SAFE_FREE(search_result);
	printf("cleanSearchResult end\n");
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
leaq 0x7fc1(%rip), %rdi      # 0x541fd
callq 0x30a0
testq %rbx, %rbx
je 0x4c2ab
leaq 0x7fc2(%rip), %rdi      # 0x5420f
callq 0x30a0
cmpq $0x0, (%rbx)
leaq 0x7fb9(%rip), %rax      # 0x54216
leaq 0x7fc1(%rip), %rdi      # 0x54225
cmoveq %rax, %rdi
callq 0x30a0
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x4c281
callq 0x3030
movq $0x0, (%rbx)
movq 0x8(%rbx), %rdi
testq %rdi, %rdi
je 0x4c297
callq 0x3030
movq $0x0, 0x8(%rbx)
leaq 0x7f94(%rip), %rdi      # 0x54232
callq 0x30a0
movq %rbx, %rdi
callq 0x3030
leaq 0x7f84(%rip), %rdi      # 0x54236
popq %rbx
jmp 0x30a0
// File: /workspace/github_c_makefile_star2_O3/loversmile[P]sugarcrm/sugar_function.c
// Function: cleanSGCallItem
void cleanSGCallItem(struct __sg_call_item* call_item)
{
    if (call_item) {
		printf("cleanCallItem\n");
        SAFE_FREE(call_item->name);
        SAFE_FREE(call_item->parent_type);
        SAFE_FREE(call_item->parent_id);
        SAFE_FREE(call_item->direction);
        SAFE_FREE(call_item->description);
        SAFE_FREE(call_item->duration_hours);
        SAFE_FREE(call_item->duration_minutes);
        SAFE_FREE(call_item->date_start);
        SAFE_FREE(call_item->assigned_user_id);
    }
    SAFE_FREE(call_item);
}

// Assembly:
testq %rdi, %rdi
je 0x4c396
pushq %rbx
movq %rdi, %rbx
leaq 0x7f80(%rip), %rdi      # 0x5424c
callq 0x30a0
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x4c2e5
callq 0x3030
movq $0x0, (%rbx)
movq 0x8(%rbx), %rdi
testq %rdi, %rdi
je 0x4c2fb
callq 0x3030
movq $0x0, 0x8(%rbx)
movq 0x10(%rbx), %rdi
testq %rdi, %rdi
je 0x4c311
callq 0x3030
movq $0x0, 0x10(%rbx)
movq 0x18(%rbx), %rdi
testq %rdi, %rdi
je 0x4c327
callq 0x3030
movq $0x0, 0x18(%rbx)
movq 0x20(%rbx), %rdi
testq %rdi, %rdi
je 0x4c33d
callq 0x3030
movq $0x0, 0x20(%rbx)
movq 0x30(%rbx), %rdi
testq %rdi, %rdi
je 0x4c353
callq 0x3030
movq $0x0, 0x30(%rbx)
movq 0x28(%rbx), %rdi
testq %rdi, %rdi
je 0x4c369
callq 0x3030
movq $0x0, 0x28(%rbx)
movq 0x38(%rbx), %rdi
testq %rdi, %rdi
je 0x4c37f
callq 0x3030
movq $0x0, 0x38(%rbx)
movq 0x40(%rbx), %rdi
testq %rdi, %rdi
je 0x4c38d
callq 0x3030
movq %rbx, %rdi
popq %rbx
jmp 0x3030
retq
// File: /workspace/github_c_makefile_star2_O3/loversmile[P]sugarcrm/sugar_function.c
// Function: cleanSGContactItem
void cleanSGContactItem(struct __sg_contact_item *contact_item)
{
    if (contact_item) {
        SAFE_FREE(contact_item->title);
        SAFE_FREE(contact_item->first_name);
        SAFE_FREE(contact_item->last_name);
        SAFE_FREE(contact_item->phone_home);
        SAFE_FREE(contact_item->phone_work);
        SAFE_FREE(contact_item->phone_mobile);
        SAFE_FREE(contact_item->phone_other);
        SAFE_FREE(contact_item->phone_fax);
		SAFE_FREE(contact_item->description);
    }
    SAFE_FREE(contact_item);
}

// Assembly:
testq %rdi, %rdi
je 0x4c4c1
pushq %rbx
movq %rdi, %rbx
movq (%rdi), %rdi
testq %rdi, %rdi
je 0x4c410
callq 0x3030
movq $0x0, (%rbx)
movq 0x8(%rbx), %rdi
testq %rdi, %rdi
je 0x4c426
callq 0x3030
movq $0x0, 0x8(%rbx)
movq 0x10(%rbx), %rdi
testq %rdi, %rdi
je 0x4c43c
callq 0x3030
movq $0x0, 0x10(%rbx)
movq 0x18(%rbx), %rdi
testq %rdi, %rdi
je 0x4c452
callq 0x3030
movq $0x0, 0x18(%rbx)
movq 0x28(%rbx), %rdi
testq %rdi, %rdi
je 0x4c468
callq 0x3030
movq $0x0, 0x28(%rbx)
movq 0x20(%rbx), %rdi
testq %rdi, %rdi
je 0x4c47e
callq 0x3030
movq $0x0, 0x20(%rbx)
movq 0x30(%rbx), %rdi
testq %rdi, %rdi
je 0x4c494
callq 0x3030
movq $0x0, 0x30(%rbx)
movq 0x38(%rbx), %rdi
testq %rdi, %rdi
je 0x4c4aa
callq 0x3030
movq $0x0, 0x38(%rbx)
movq 0x40(%rbx), %rdi
testq %rdi, %rdi
je 0x4c4b8
callq 0x3030
movq %rbx, %rdi
popq %rbx
jmp 0x3030
retq
// File: /workspace/github_c_makefile_star2_O3/loversmile[P]sugarcrm/sugar_function.c
// Function: cleanSGAccountItem
void cleanSGAccountItem(struct __sg_account_item *account_item)
{
	if (account_item) {
        SAFE_FREE(account_item->name);
        SAFE_FREE(account_item->phone_office);
        SAFE_FREE(account_item->phone_alternate);
        SAFE_FREE(account_item->phone_fax);
		SAFE_FREE(account_item->description);
    }
    SAFE_FREE(account_item);
}

// Assembly:
testq %rdi, %rdi
je 0x4c547
pushq %rbx
movq %rdi, %rbx
movq (%rdi), %rdi
testq %rdi, %rdi
je 0x4c4ee
callq 0x3030
movq $0x0, (%rbx)
movq 0x8(%rbx), %rdi
testq %rdi, %rdi
je 0x4c504
callq 0x3030
movq $0x0, 0x8(%rbx)
movq 0x10(%rbx), %rdi
testq %rdi, %rdi
je 0x4c51a
callq 0x3030
movq $0x0, 0x10(%rbx)
movq 0x18(%rbx), %rdi
testq %rdi, %rdi
je 0x4c530
callq 0x3030
movq $0x0, 0x18(%rbx)
movq 0x20(%rbx), %rdi
testq %rdi, %rdi
je 0x4c53e
callq 0x3030
movq %rbx, %rdi
popq %rbx
jmp 0x3030
retq
// File: /workspace/github_c_makefile_star2_O3/loversmile[P]sugarcrm/sugar_function.c
// Function: cleanSGLeadItem
void cleanSGLeadItem(struct __sg_lead_item *lead_item)
{
	if (lead_item) {
        SAFE_FREE(lead_item->title);
        SAFE_FREE(lead_item->first_name);
        SAFE_FREE(lead_item->last_name);
        SAFE_FREE(lead_item->phone_home);
        SAFE_FREE(lead_item->phone_work);
        SAFE_FREE(lead_item->phone_mobile);
        SAFE_FREE(lead_item->phone_other);
        SAFE_FREE(lead_item->phone_fax);
		SAFE_FREE(lead_item->description);
    }
    SAFE_FREE(lead_item);
}

// Assembly:
testq %rdi, %rdi
je 0x4c629
pushq %rbx
movq %rdi, %rbx
movq (%rdi), %rdi
testq %rdi, %rdi
je 0x4c578
callq 0x3030
movq $0x0, (%rbx)
movq 0x8(%rbx), %rdi
testq %rdi, %rdi
je 0x4c58e
callq 0x3030
movq $0x0, 0x8(%rbx)
movq 0x10(%rbx), %rdi
testq %rdi, %rdi
je 0x4c5a4
callq 0x3030
movq $0x0, 0x10(%rbx)
movq 0x18(%rbx), %rdi
testq %rdi, %rdi
je 0x4c5ba
callq 0x3030
movq $0x0, 0x18(%rbx)
movq 0x28(%rbx), %rdi
testq %rdi, %rdi
je 0x4c5d0
callq 0x3030
movq $0x0, 0x28(%rbx)
movq 0x20(%rbx), %rdi
testq %rdi, %rdi
je 0x4c5e6
callq 0x3030
movq $0x0, 0x20(%rbx)
movq 0x30(%rbx), %rdi
testq %rdi, %rdi
je 0x4c5fc
callq 0x3030
movq $0x0, 0x30(%rbx)
movq 0x38(%rbx), %rdi
testq %rdi, %rdi
je 0x4c612
callq 0x3030
movq $0x0, 0x38(%rbx)
movq 0x40(%rbx), %rdi
testq %rdi, %rdi
je 0x4c620
callq 0x3030
movq %rbx, %rdi
popq %rbx
jmp 0x3030
retq
// File: /workspace/github_c_makefile_star2_O3/loversmile[P]sugarcrm/sugar_function.c
// Function: initSGCallsItem
struct __sg_calls_item *initSGCallsItem(struct __sg_calls_item *calls_item)
{
	calls_item = (struct __sg_calls_item *)malloc(sizeof(struct __sg_calls_item));
	calls_item->call_id = NULL;
	calls_item->call_item = initSGCallItem(calls_item->call_item);
	calls_item->next = NULL;
	return calls_item;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movl $0x18, %edi
callq 0x3290
movq %rax, %rbx
xorl %r14d, %r14d
movq %r14, (%rax)
movl $0x48, %edi
callq 0x3290
movq %rax, 0x8(%rbx)
movq %r14, 0x10(%rbx)
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/loversmile[P]sugarcrm/sugar_function.c
// Function: cleanSGCallsItem
void cleanSGCallsItem(struct __sg_calls_item *calls_item)
{
	struct __sg_calls_item *tmp_node = calls_item;
	while (calls_item)
	{
		if (calls_item->next)
		{
			tmp_node = calls_item->next;
			SAFE_FREE(calls_item->call_id);
			cleanSGCallItem(calls_item->call_item);
			SAFE_FREE(calls_item);
			calls_item = tmp_node;
		}
		else
		{
			SAFE_FREE(calls_item->call_id);
			cleanSGCallItem(calls_item->call_item);
			free(calls_item);
			calls_item = NULL;
		}
	}
}

// Assembly:
testq %rdi, %rdi
je 0x4c6b3
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %r14
movq 0x10(%rdi), %rax
testq %rax, %rax
je 0x4c6b4
movq %rax, %rbx
movq (%r14), %rdi
testq %rdi, %rdi
je 0x4c694
callq 0x3030
movq $0x0, (%r14)
movq 0x8(%r14), %rdi
callq 0x4c2b8
movq %r14, %rdi
callq 0x3030
movq 0x10(%rbx), %rax
movq %rbx, %r14
testq %rax, %rax
jne 0x4c67d
jmp 0x4c6b7
retq
movq %r14, %rbx
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x4c6cb
callq 0x3030
movq $0x0, (%rbx)
movq 0x8(%rbx), %rdi
callq 0x4c2b8
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x3030
// File: /workspace/github_c_makefile_star2_O3/loversmile[P]sugarcrm/sugar_function.c
// Function: cleanSGContactsID
void cleanSGContactsID(struct __sg_contacts_id *contacts_id)
{
	struct __sg_contacts_id *tmp_node = contacts_id;
	while (contacts_id)
	{
		if (contacts_id->next)
		{
			tmp_node = contacts_id->next;
			SAFE_FREE(contacts_id->id);
			SAFE_FREE(contacts_id);
			contacts_id = tmp_node;
		}
		else
		{
			SAFE_FREE(contacts_id->id);
			free(contacts_id);
			contacts_id = NULL;
		}
	}
}

// Assembly:
testq %rdi, %rdi
je 0x4c72d
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %r14
movq 0x8(%rdi), %rax
testq %rax, %rax
je 0x4c72e
movq %rax, %rbx
movq (%r14), %rdi
testq %rdi, %rdi
je 0x4c717
callq 0x3030
movq %r14, %rdi
callq 0x3030
movq 0x8(%rbx), %rax
movq %rbx, %r14
testq %rax, %rax
jne 0x4c707
jmp 0x4c731
retq
movq %r14, %rbx
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x4c745
callq 0x3030
movq $0x0, (%rbx)
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x3030
// File: /workspace/github_c_makefile_star2_O3/loversmile[P]sugarcrm/sugar_function.c
// Function: cleanSGLinksID
void cleanSGLinksID(struct __sg_links_id *links_id)
{
	struct __sg_links_id *tmp_node = links_id;
	while (links_id)
	{
		if (links_id->next)
		{
			tmp_node = links_id->next;
			SAFE_FREE(links_id->id);
			SAFE_FREE(links_id);
			links_id = tmp_node;
		}
		else
		{
			SAFE_FREE(links_id->id);
			free(links_id);
			links_id = NULL;
		}
	}
}

// Assembly:
testq %rdi, %rdi
je 0x4c79e
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %r14
movq 0x8(%rdi), %rax
testq %rax, %rax
je 0x4c79f
movq %rax, %rbx
movq (%r14), %rdi
testq %rdi, %rdi
je 0x4c788
callq 0x3030
movq %r14, %rdi
callq 0x3030
movq 0x8(%rbx), %rax
movq %rbx, %r14
testq %rax, %rax
jne 0x4c778
jmp 0x4c7a2
retq
movq %r14, %rbx
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x4c7b6
callq 0x3030
movq $0x0, (%rbx)
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x3030
// File: /workspace/github_c_makefile_star2_O3/loversmile[P]sugarcrm/sugar_function.c
// Function: cleanSGReturnCallsID
void cleanSGReturnCallsID(struct __sg_return_calls_id *return_calls_id)
{
	struct __sg_return_calls_id *tmp_node = return_calls_id;
	while (return_calls_id)
	{
		if (return_calls_id->next)
		{
			tmp_node = return_calls_id->next;
			SAFE_FREE(return_calls_id->return_call_id);
			SAFE_FREE(return_calls_id);
			return_calls_id = tmp_node;
		}
		else
		{
			SAFE_FREE(return_calls_id->return_call_id);
			free(return_calls_id);
			return_calls_id = NULL;
		}
	}
}

// Assembly:
testq %rdi, %rdi
je 0x4c80f
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %r14
movq 0x8(%rdi), %rax
testq %rax, %rax
je 0x4c810
movq %rax, %rbx
movq (%r14), %rdi
testq %rdi, %rdi
je 0x4c7f9
callq 0x3030
movq %r14, %rdi
callq 0x3030
movq 0x8(%rbx), %rax
movq %rbx, %r14
testq %rax, %rax
jne 0x4c7e9
jmp 0x4c813
retq
movq %r14, %rbx
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x4c827
callq 0x3030
movq $0x0, (%rbx)
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x3030
// File: /workspace/github_c_makefile_star2_O3/loversmile[P]sugarcrm/sugar_function.c
// Function: sugarLogin
int sugarLogin(struct soap *soap, const char *soap_endpoint, char *login_name, char *login_pwd, struct ns1__loginResponse *_param_1)
{
    char soap_action[128] = {0};

    memset(soap_action, 0, sizeof(soap_action));
    snprintf(soap_action, sizeof(soap_action), "%s/login", soap_endpoint);
    struct ns1__user_USCOREauth *user_auth = NULL;
    struct name_USCOREvalue_USCORElist *name_value_list = NULL;
    user_auth = (struct ns1__user_USCOREauth*)malloc(sizeof(struct ns1__user_USCOREauth));
    
    char *username = (char*)malloc(256);
    char *password = (char*)malloc(512);
    
    snprintf(username, 256, "%s", login_name);
    char *md_res = MD_5(login_pwd);
    snprintf(password, 512, "%s", md_res);
    //printf("%s\n", password);
    if (md_res) {
        free(md_res);
        md_res = NULL;
    }

    user_auth->user_USCOREname = username;
    user_auth->password = password;
    char *application_name = "UCM6XXX";
    
    int ret = soap_call_ns1__login(soap, soap_endpoint, soap_action, user_auth, application_name, name_value_list, _param_1);

    //SAFE_FREE(username);
    //SAFE_FREE(password);
	if (user_auth)
	{
		SAFE_FREE(user_auth->user_USCOREname);
		SAFE_FREE(user_auth->password);
		free(user_auth);
	}
    return ret;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xa8, %rsp
movq %r8, 0x10(%rsp)
movq %rcx, 0x8(%rsp)
movq %rdx, %r13
movq %rsi, %r14
movq %rdi, 0x18(%rsp)
xorps %xmm0, %xmm0
leaq 0x20(%rsp), %rdi
movaps %xmm0, 0x70(%rdi)
movaps %xmm0, 0x60(%rdi)
movaps %xmm0, 0x50(%rdi)
movaps %xmm0, 0x40(%rdi)
movaps %xmm0, 0x30(%rdi)
movaps %xmm0, 0x20(%rdi)
movaps %xmm0, 0x10(%rdi)
movaps %xmm0, (%rdi)
leaq 0x7727(%rip), %rdx      # 0x53fb1
movl $0x80, %esi
movq %r14, %rcx
xorl %eax, %eax
callq 0x3150
movl $0x10, %edi
callq 0x3290
movq %rax, %rbx
movl $0x100, %edi            # imm = 0x100
callq 0x3290
movq %rax, %r15
movl $0x200, %edi            # imm = 0x200
callq 0x3290
movq %rax, %r12
leaq 0x68a1(%rip), %rbp      # 0x53168
movl $0x100, %esi            # imm = 0x100
movq %r15, %rdi
movq %rbp, %rdx
movq %r13, %rcx
xorl %eax, %eax
callq 0x3150
movq 0x8(%rsp), %rdi
callq 0x4bb33
movq %rax, %r13
movl $0x200, %esi            # imm = 0x200
movq %r12, %rdi
movq %rbp, %rdx
movq %rax, %rcx
xorl %eax, %eax
callq 0x3150
testq %r13, %r13
je 0x4c90b
movq %r13, %rdi
callq 0x3030
movq %r15, (%rbx)
movq %r12, 0x8(%rbx)
movq 0x10(%rsp), %rax
movq %rax, (%rsp)
leaq 0x7698(%rip), %r8       # 0x53fba
leaq 0x20(%rsp), %rdx
movq 0x18(%rsp), %rdi
movq %r14, %rsi
movq %rbx, %rcx
xorl %r9d, %r9d
callq 0x339ac
movl %eax, %ebp
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x4c950
callq 0x3030
movq $0x0, (%rbx)
movq 0x8(%rbx), %rdi
testq %rdi, %rdi
je 0x4c95e
callq 0x3030
movq %rbx, %rdi
callq 0x3030
movl %ebp, %eax
addq $0xa8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/loversmile[P]sugarcrm/sugar_function.c
// Function: SGCRMLogin
int SGCRMLogin(SGServerInfo *server_info, char *username, char *password, SGLoginReturn *login_return)
{
    int ret = -1;
    struct ns1__loginResponse *_param_1;
    _param_1 = (struct ns1__loginResponse*)soap_malloc(server_info->soap, sizeof(struct ns1__entry_USCOREvalue));
    ret = sugarLogin(server_info->soap, server_info->soap_endpoint, username, password, _param_1);
    if (ret == SOAP_OK) {
        printf("CRMLogin Success!\n");
        if (login_return) {
            login_return->session_id = strdup(_param_1->return_->id);
        }

        int value_size = _param_1->return_->name_USCOREvalue_USCORElist->__size;
        int i = 0;
        for (i = 0; i < value_size; i++){
            if (!strcmp(_param_1->return_->name_USCOREvalue_USCORElist->__ptr[i]->name, "user_id") && login_return) {
                login_return->user_id = strdup(_param_1->return_->name_USCOREvalue_USCORElist->__ptr[i]->value);
            }
        }
    } else {
        soap_print_fault(server_info->soap, stderr);
    }
    return ret;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, %rbx
movq %rdx, %r12
movq %rsi, %r13
movq %rdi, %r14
movq (%rdi), %rdi
movl $0x18, %esi
callq 0x39272
movq %rax, %r15
movq (%r14), %rdi
movq 0x8(%r14), %rsi
movq %r13, %rdx
movq %r12, %rcx
movq %rax, %r8
callq 0x4c836
movl %eax, 0x4(%rsp)
testl %eax, %eax
je 0x4efe1
movq (%r14), %rdi
movq 0x23021(%rip), %rax     # 0x71ff8
movq (%rax), %rsi
callq 0x4ab13
jmp 0x4f048
leaq 0x5340(%rip), %rdi      # 0x54328
callq 0x30a0
movq (%r15), %r14
testq %rbx, %rbx
je 0x4f000
movq (%r14), %rdi
callq 0x3390
movq %rax, (%rbx)
movq 0x10(%r14), %rax
movslq 0x8(%rax), %r15
testq %r15, %r15
jle 0x4f048
movq (%rax), %r12
xorl %r13d, %r13d
leaq 0x2592(%rip), %r14      # 0x515ac
movq (%r12,%r13,8), %rbp
movq (%rbp), %rdi
movq %r14, %rsi
callq 0x3210
testq %rbx, %rbx
je 0x4f040
testl %eax, %eax
jne 0x4f040
movq 0x8(%rbp), %rdi
callq 0x3390
movq %rax, 0x8(%rbx)
incq %r13
cmpq %r13, %r15
jne 0x4f01a
movl 0x4(%rsp), %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/mjosaarinen[P]brutus/crypto_aead/lunarkeyakv2/reference/KeccakP-1600-reference.c
// Function: KeccakP1600_AddBytes
void KeccakP1600_AddBytes(void *state, const unsigned char *data, unsigned int offset, unsigned int length)
{
    unsigned int i;

    assert(offset < 200);
    assert(offset+length <= 200);
    for(i=0; i<length; i++)
        ((unsigned char *)state)[offset+i] ^= data[i];
}

// Assembly:
pushq %rax
cmpl $0xc8, %edx
jae 0x5884
leal (%rcx,%rdx), %eax
cmpl $0xc8, %eax
ja 0x58a3
testl %ecx, %ecx
je 0x5882
movl %ecx, %eax
movl %edx, %ecx
xorl %edx, %edx
movb (%rsi,%rdx), %r8b
leal (%rcx,%rdx), %r9d
xorb %r8b, (%rdi,%r9)
incq %rdx
cmpq %rdx, %rax
jne 0x586e
popq %rax
retq
leaq 0x97b9(%rip), %rdi      # 0xf044
leaq 0x97bf(%rip), %rsi      # 0xf051
leaq 0x9832(%rip), %rcx      # 0xf0cb
movl $0x9a, %edx
callq 0x5180
leaq 0x9876(%rip), %rdi      # 0xf120
leaq 0x97a0(%rip), %rsi      # 0xf051
leaq 0x9813(%rip), %rcx      # 0xf0cb
movl $0x9b, %edx
callq 0x5180
// File: /workspace/github_c_makefile_star2_O3/mjosaarinen[P]brutus/crypto_aead/lunarkeyakv2/reference/KeccakP-1600-reference.c
// Function: KeccakP1600_ExtractAndAddBytes
void KeccakP1600_ExtractAndAddBytes(const void *state, const unsigned char *input, unsigned char *output, unsigned int offset, unsigned int length)
{
    unsigned int i;

    assert(offset < 200);
    assert(offset+length <= 200);
    for(i=0; i<length; i++)
        output[i] = input[i] ^ ((unsigned char *)state)[offset+i];
}

// Assembly:
pushq %rax
cmpl $0xc8, %ecx
jae 0x5dbc
leal (%r8,%rcx), %eax
cmpl $0xc8, %eax
ja 0x5ddb
testl %r8d, %r8d
je 0x5dba
movl %r8d, %eax
movl %ecx, %ecx
xorl %r8d, %r8d
leal (%rcx,%r8), %r9d
movb (%rdi,%r9), %r9b
xorb (%rsi,%r8), %r9b
movb %r9b, (%rdx,%r8)
incq %r8
cmpq %r8, %rax
jne 0x5da2
popq %rax
retq
leaq 0x9281(%rip), %rdi      # 0xf044
leaq 0x9287(%rip), %rsi      # 0xf051
leaq 0x9464(%rip), %rcx      # 0xf235
movl $0x16e, %edx            # imm = 0x16E
callq 0x5180
leaq 0x933e(%rip), %rdi      # 0xf120
leaq 0x9268(%rip), %rsi      # 0xf051
leaq 0x9445(%rip), %rcx      # 0xf235
movl $0x16f, %edx            # imm = 0x16F
callq 0x5180
// File: /workspace/github_c_makefile_star2_O3/mjosaarinen[P]brutus/crypto_aead/lunarkeyakv2/reference/KeccakP-1600-reference.c
// Function: KeccakP1600_DisplayRoundConstants
void KeccakP1600_DisplayRoundConstants(FILE *f)
{
    unsigned int i;

    for(i=0; i<maxNrRounds; i++) {
        fprintf(f, "RC[%02i][0][0] = ", i);
        fprintf(f, "%08X", (unsigned int)(KeccakRoundConstants[i] >> 32));
        fprintf(f, "%08X", (unsigned int)(KeccakRoundConstants[i] & 0xFFFFFFFFULL));
        fprintf(f, "\n");
    }
    fprintf(f, "\n");
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0x94d1(%rip), %rbp      # 0xf2e0
leaq 0x9495(%rip), %r14      # 0xf2ab
leaq 0xa09b(%rip), %r15      # 0xfeb8
xorl %r12d, %r12d
movq %rbx, %rdi
movq %r14, %rsi
movl %r12d, %edx
xorl %eax, %eax
callq 0x5690
movq (%rbp), %r13
movq %r13, %rdx
shrq $0x20, %rdx
movq %rbx, %rdi
movq %r15, %rsi
xorl %eax, %eax
callq 0x5690
movq %rbx, %rdi
movq %r15, %rsi
movl %r13d, %edx
xorl %eax, %eax
callq 0x5690
movl $0xa, %edi
movq %rbx, %rsi
callq 0x5340
incq %r12
addq $0x8, %rbp
cmpq $0x18, %r12
jne 0x5e20
movl $0xa, %edi
movq %rbx, %rsi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x5340
// File: /workspace/github_c_makefile_star2_O3/mflatt[P]gc-demo/gc/mark_and_sweep.c
// Function: allocate
struct node *allocate()
{
  struct gc_node *nh;
  
  if (!free_list) {
    collect_garbage();
    if (!free_list)
      get_more_memory();
  }

  nh = free_list;
  free_list = free_list->next_free;

  return &nh->n;
}

// Assembly:
pushq %rbx
movq 0x2d00(%rip), %rax      # 0x4060
testq %rax, %rax
jne 0x13fb
xorl %eax, %eax
callq 0x1350
movq 0x2ce9(%rip), %rax      # 0x4060
testq %rax, %rax
jne 0x13fb
movl $0x18, %edi
callq 0x1318
movq %rax, %rbx
movq 0x2ce0(%rip), %rax      # 0x4070
movq %rax, (%rbx)
movq %rbx, 0x2cd6(%rip)      # 0x4070
incl 0x30e0(%rip)            # 0x4480
movl $0xc0000, %edi          # imm = 0xC0000
callq 0x1318
movq %rax, 0x8(%rbx)
xorl %eax, %eax
movq 0x2ca9(%rip), %rsi      # 0x4060
xorl %ecx, %ecx
movq 0x8(%rbx), %rdx
leaq (%rcx,%rcx,2), %rdi
movq %rsi, (%rdx,%rax)
leaq (%rdx,%rdi,8), %rsi
leaq (%rdx,%rax), %rdi
movq %rdi, 0x2c8c(%rip)      # 0x4060
incq %rcx
addq $0x18, %rax
cmpq $0xc0000, %rax          # imm = 0xC0000
jne 0x13b9
movl $0x8000, %ecx           # imm = 0x8000
addl %ecx, 0x3096(%rip)      # 0x4484
addl %ecx, 0x3094(%rip)      # 0x4488
addq %rdx, %rax
addq $-0x18, %rax
movq (%rax), %rcx
movq %rcx, 0x2c5b(%rip)      # 0x4060
addq $0x8, %rax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O3/mflatt[P]gc-demo/gc/mark_and_sweep.c
// Function: mark
static void mark(struct node *n)
{
  if (n != NULL) {
    struct gc_node *nh;
    nh = NODE_TO_GC(n);
    
    if (!nh->marked) {
      nh->marked = 1;

      /* Recur to keep referenced objects live: */
      mark(nh->n.left);
      mark(nh->n.right);
    }
  }
}

// Assembly:
testq %rdi, %rdi
je 0x1502
pushq %rbx
movq %rdi, %rbx
cmpl $0x0, -0x8(%rbx)
jne 0x1501
movl $0x1, -0x8(%rbx)
movq (%rbx), %rdi
callq 0x14da
movq 0x8(%rbx), %rbx
testq %rbx, %rbx
jne 0x14e3
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O3/ohkimur[P]the-c-programming-language-2nd-edition-solutions/chapter_1/exercise_1_17/line_80.c
// Function: get_line
int get_line(char line[], int max_line_len)
{
  int c, i;

  for (i = 0; i < max_line_len - 1 && (c = getchar()) != EOF && c != '\n'; ++i)
  {
    line[i] = c;
  }

  if (c == '\n')
  {
    line[i] = c;
    ++i;
  }

  line[i] = '\0';

  return i;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
xorl %ecx, %ecx
cmpl $0x2, %esi
jl 0x11e3
movl %esi, %ebp
decl %ebp
movl %ebp, %r15d
xorl %r14d, %r14d
callq 0x1040
cmpl $-0x1, %eax
je 0x11d9
cmpl $0xa, %eax
je 0x11d9
movb %al, (%rbx,%r14)
incq %r14
cmpq %r14, %r15
jne 0x11bc
jmp 0x11dc
movl %r14d, %ebp
movl %ebp, %ecx
cmpl $0xa, %eax
jne 0x11ed
movl %ecx, %eax
movb $0xa, (%rbx,%rax)
incl %ecx
movl %ecx, %ebp
movslq %ebp, %rax
movb $0x0, (%rbx,%rax)
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/ramirezsebas[P]TP-LISTINGS/./src/capitulo_3/3.7/sigchld.c
// Function: main
int main ()
{
	/* Handle SIGCHLD by calling clean_up_child_process. */
	struct sigaction sigchld_action;
	memset (&sigchld_action, 0, sizeof (sigchld_action));
	sigchld_action.sa_handler = &clean_up_child_process;
	sigaction (SIGCHLD, &sigchld_action, NULL);

	pid_t pidc;

	if((pidc = fork()) == 0) {
    		printf ("Child process: %d\n", (int)getpid());
    		pid_t pidcc;

		if ((pidcc = fork()) == 0) {
			printf("Child's child process: %d\n", (int)getpid());
		} else {
      			kill((int)getpid(),SIGCHLD);
		}
	}else {
   	 	printf ("Parent process: %d\n", (int)getpid());
      		kill((int)getpid(),SIGCHLD);
	}

	return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
subq $0x98, %rsp
leaq -0x98(%rbp), %rbx
movl $0x90, %edx
movq %rbx, %rdi
xorl %esi, %esi
callq 0x1050
leaq -0x4a(%rip), %rax       # 0x119c
movq %rax, -0x8(%rbx)
leaq -0xa0(%rbp), %rsi
movl $0x11, %edi
xorl %edx, %edx
callq 0x1070
callq 0x1040
movl %eax, %ebx
callq 0x1090
testl %ebx, %ebx
je 0x1224
leaq 0xe1e(%rip), %rdi       # 0x2032
movl %eax, %esi
xorl %eax, %eax
callq 0x1030
callq 0x1090
jmp 0x1244
leaq 0xdd9(%rip), %rdi       # 0x2004
movl %eax, %esi
xorl %eax, %eax
callq 0x1030
callq 0x1040
movl %eax, %ebx
callq 0x1090
testl %ebx, %ebx
je 0x125c
movl %eax, %edi
movl $0x11, %esi
callq 0x1080
xorl %eax, %eax
addq $0x98, %rsp
popq %rbx
popq %rbp
retq
leaq 0xdb4(%rip), %rdi       # 0x2017
movl %eax, %esi
xorl %eax, %eax
callq 0x1030
jmp 0x1250
// File: /workspace/github_c_makefile_star2_O3/chriso[P]columnix/lib/column.c
// Function: cx_column_new_mmapped
struct cx_column *cx_column_new_mmapped(enum cx_column_type type,
                                        enum cx_encoding_type encoding,
                                        const void *ptr, size_t size,
                                        size_t count)
{
    struct cx_column *column = cx_column_new_size(type, encoding, 0, count);
    if (!column)
        return NULL;
    column->offset = size;
    column->size = size;
    column->mmapped = true;
    column->buffer.mmapped = ptr;
    return column;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %r8, %r15
movq %rcx, %r14
movq %rdx, %rbx
movl %esi, %ebp
movl %edi, %r12d
movl $0x1, %edi
movl $0x30, %esi
callq 0x5450
testq %rax, %rax
je 0x5baf
movl %r12d, 0x20(%rax)
movl %ebp, 0x24(%rax)
movq %r15, 0x8(%rax)
movq %r14, 0x10(%rax)
movq %r14, 0x18(%rax)
movb $0x1, 0x28(%rax)
movq %rbx, (%rax)
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/chriso[P]columnix/lib/column.c
// Function: cx_column_new_compressed
struct cx_column *cx_column_new_compressed(enum cx_column_type type,
                                           enum cx_encoding_type encoding,
                                           void **ptr, size_t size,
                                           size_t count)
{
    if (!size)
        return NULL;
    struct cx_column *column = cx_column_new_size(type, encoding, size, count);
    if (!column)
        return NULL;
    column->offset = size;
    *ptr = column->buffer.mutable;
    return column;
}

// Assembly:
testq %rcx, %rcx
je 0x5be3
pushq %r14
pushq %rbx
pushq %rax
movq %rcx, %r14
movq %rdx, %rbx
movq %rcx, %rdx
movq %r8, %rcx
callq 0x5b05
testq %rax, %rax
je 0x5be6
movq %r14, 0x10(%rax)
movq (%rax), %rcx
movq %rcx, (%rbx)
jmp 0x5be8
xorl %eax, %eax
retq
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/chriso[P]columnix/lib/column.c
// Function: cx_column_put_bit
bool cx_column_put_bit(struct cx_column *column, bool value)
{
    if (column->count % 64 == 0) {
        uint64_t bitset = value != 0;
        return cx_column_put(column, CX_COLUMN_BIT, &bitset, sizeof(uint64_t));
    } else if (column->type != CX_COLUMN_BIT || column->mmapped)
        return false;
    if (value) {
        uint64_t *bitset = (uint64_t *)cx_column_offset(
            column, column->offset - sizeof(uint64_t));
        *bitset |= (uint64_t)1 << column->count;
    }
    column->count++;
    return true;
}

// Assembly:
movq 0x8(%rdi), %rcx
testb $0x3f, %cl
je 0x5c3b
cmpl $0x0, 0x20(%rdi)
jne 0x5c38
cmpb $0x0, 0x28(%rdi)
je 0x5c57
xorl %eax, %eax
retq
pushq %rax
movzbl %sil, %eax
movq %rsp, %rdx
movq %rax, (%rdx)
movl $0x8, %ecx
xorl %esi, %esi
callq 0x5c7e
addq $0x8, %rsp
retq
testb %sil, %sil
je 0x5c74
movq (%rdi), %rax
movq 0x10(%rdi), %rdx
movl $0x1, %esi
shlq %cl, %rsi
orq %rsi, -0x8(%rdx,%rax)
movq 0x8(%rdi), %rcx
incq %rcx
movq %rcx, 0x8(%rdi)
movb $0x1, %al
retq
// File: /workspace/github_c_makefile_star2_O3/chriso[P]columnix/lib/column.c
// Function: cx_column_put
static bool cx_column_put(struct cx_column *column, enum cx_column_type type,
                          const void *value, size_t size)
{
    if (column->mmapped || column->type != type || !value)
        return false;
    if (column->offset + size > column->size)
        if (!cx_column_resize(column, size))
            return false;
    void *slot = (void *)cx_column_tail(column);
    memcpy(slot, value, size);
    column->count++;
    column->offset += size;
    return true;
}

// Assembly:
cmpb $0x0, 0x28(%rdi)
je 0x5c87
xorl %eax, %eax
retq
pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %r15
xorl %eax, %eax
testq %rdx, %rdx
je 0x5cf5
movq %rdi, %rbx
cmpl %esi, 0x20(%rdi)
jne 0x5cf5
movq %rcx, %r14
movq 0x10(%rbx), %rdi
leaq (%rdi,%rcx), %rax
cmpq 0x18(%rbx), %rax
jbe 0x5cc2
movq %rbx, %rdi
movq %r14, %rsi
callq 0x6220
testb %al, %al
je 0x5cf3
movq 0x10(%rbx), %rdi
addq (%rbx), %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0x54e0
movdqu 0x8(%rbx), %xmm0
movq %r14, %xmm1
movdqa 0x631e(%rip), %xmm2     # 0xc000
punpcklqdq %xmm1, %xmm2    # xmm2 = xmm2[0],xmm1[0]
paddq %xmm0, %xmm2
movdqu %xmm2, 0x8(%rbx)
movb $0x1, %al
jmp 0x5cf5
xorl %eax, %eax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/chriso[P]columnix/lib/column.c
// Function: cx_column_put_unit
bool cx_column_put_unit(struct cx_column *column)
{
    switch (column->type) {
        case CX_COLUMN_BIT:
            return cx_column_put_bit(column, false);
        case CX_COLUMN_I32:
            return cx_column_put_i32(column, 0);
        case CX_COLUMN_I64:
            return cx_column_put_i64(column, 0);
        case CX_COLUMN_FLT:
            return cx_column_put_flt(column, 0.0);
        case CX_COLUMN_DBL:
            return cx_column_put_dbl(column, 0.0);
        case CX_COLUMN_STR:
            return cx_column_put_str(column, "");
    }
    return false;
}

// Assembly:
pushq %rax
movl 0x20(%rdi), %eax
cmpq $0x5, %rax
ja 0x5e25
leaq 0x626e(%rip), %rcx      # 0xc010
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
xorl %esi, %esi
popq %rax
jmp 0x54a0
movq %rsp, %rdx
movq $0x0, (%rdx)
movl $0x8, %ecx
movl $0x4, %esi
jmp 0x5e07
movq %rsp, %rdx
movq $0x0, (%rdx)
movl $0x8, %ecx
movl $0x2, %esi
jmp 0x5e07
movq %rsp, %rdx
movl $0x0, (%rdx)
movl $0x4, %ecx
movl $0x3, %esi
jmp 0x5e07
movq %rsp, %rdx
movl $0x0, (%rdx)
movl $0x4, %ecx
movl $0x1, %esi
callq 0x5c7e
popq %rcx
retq
leaq 0x75d7(%rip), %rdx      # 0xd3ec
movl $0x1, %ecx
movl $0x5, %esi
popq %rax
jmp 0x5c7e
xorl %eax, %eax
jmp 0x5e0c
// File: /workspace/github_c_makefile_star2_O3/chriso[P]columnix/lib/column.c
// Function: cx_column_cursor_new
struct cx_column_cursor *cx_column_cursor_new(const struct cx_column *column)
{
    struct cx_column_cursor *cursor = malloc(sizeof(*cursor));
    if (!cursor)
        return NULL;
    cursor->column = column;
    cursor->start = cx_column_head(column);
    cursor->end = cx_column_tail(column);
    if (!cx_column_madvise(column, MADV_SEQUENTIAL))
        goto error;
    cx_column_cursor_rewind(cursor);
    return cursor;
error:
    free(cursor);
    return NULL;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %r15
movl $0x420, %edi            # imm = 0x420
callq 0x5590
testq %rax, %rax
je 0x5e9a
movq %rax, %rbx
movq %r15, (%rax)
movq (%r15), %r14
movq %r14, 0x8(%rax)
movq 0x10(%r15), %rax
addq %r14, %rax
movq %rax, 0x10(%rbx)
cmpb $0x1, 0x28(%r15)
jne 0x5e9e
movq 0x18(%r15), %r15
testq %r15, %r15
je 0x5e9e
callq 0x5890
movslq %eax, %rcx
movq %r14, %rax
xorl %edx, %edx
divq %rcx
movq %r14, %rdi
subq %rdx, %rdi
addq %rdx, %r15
movq %r15, %rsi
movl $0x2, %edx
callq 0x5770
testl %eax, %eax
je 0x5e9e
movq %rbx, %rdi
callq 0x5080
xorl %ebx, %ebx
jmp 0x5ea2
movq %r14, 0x18(%rbx)
movq %rbx, %rax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/chriso[P]columnix/lib/column.c
// Function: cx_column_cursor_skip_bit
size_t cx_column_cursor_skip_bit(struct cx_column_cursor *cursor, size_t count)
{
    assert(count % 64 == 0);
    size_t skipped = cx_column_cursor_skip(cursor, CX_COLUMN_BIT,
                                           sizeof(uint64_t), count / 64);
    skipped *= 64;
    if (!cx_column_cursor_valid(cursor)) {
        size_t trailing_bits = cursor->column->count % 64;
        if (trailing_bits)
            skipped -= 64 - trailing_bits;
    }
    return skipped;
}

// Assembly:
pushq %rbx
movq %rsi, %rcx
testb $0x3f, %cl
jne 0x5f0b
movq %rdi, %rbx
shrq $0x6, %rcx
movl $0x8, %edx
xorl %esi, %esi
callq 0x5f2a
shlq $0x6, %rax
movq 0x18(%rbx), %rcx
cmpq 0x10(%rbx), %rcx
jb 0x5f09
movq (%rbx), %rcx
movq 0x8(%rcx), %rcx
movl %ecx, %edx
andl $0x3f, %edx
orq $-0x40, %rcx
testq %rdx, %rdx
cmoveq %rdx, %rcx
addq %rcx, %rax
popq %rbx
retq
leaq 0x6116(%rip), %rdi      # 0xc028
leaq 0x611f(%rip), %rsi      # 0xc038
leaq 0x6121(%rip), %rcx      # 0xc041
movl $0x13b, %edx            # imm = 0x13B
callq 0x5350