LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O1/OpenKMIP[P]libkmip/src/kmip.c
// Function: kmip_compare_destroy_response_payload
int
kmip_compare_destroy_response_payload(const DestroyResponsePayload *a, const DestroyResponsePayload *b)
{
    if(a != b)
    {
        if((a == NULL) || (b == NULL))
        {
            return(KMIP_FALSE);
        }
        
        if(a->unique_identifier != b->unique_identifier)
        {
            if((a->unique_identifier == NULL) || (b->unique_identifier == NULL))
            {
                return(KMIP_FALSE);
            }
            
            if(kmip_compare_text_string(a->unique_identifier, b->unique_identifier) == KMIP_FALSE)
            {
                return(KMIP_FALSE);
            }
        }
    }
    
    return(KMIP_TRUE);
}

// Assembly:
pushq %rbx
cmpq %rsi, %rdi
je 0xb1d4
testq %rdi, %rdi
sete %al
testq %rsi, %rsi
sete %cl
xorl %ebx, %ebx
orb %al, %cl
jne 0xb1d9
movq (%rdi), %rdi
movq (%rsi), %rsi
cmpq %rsi, %rdi
je 0xb1d4
testq %rdi, %rdi
sete %al
testq %rsi, %rsi
sete %cl
orb %al, %cl
jne 0xb1d9
callq 0x6480
testl %eax, %eax
je 0xb1d9
movl $0x1, %ebx
movl %ebx, %eax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/OpenKMIP[P]libkmip/src/kmip.c
// Function: kmip_compare_query_request_payload
int
kmip_compare_query_request_payload(const QueryRequestPayload *a, const QueryRequestPayload *b)
{
    if(a != b)
    {
        if((a == NULL) || (b == NULL))
        {
            return(KMIP_FALSE);
        }

        if(a->functions != b->functions)
        {
            if((a->functions == NULL) || (b->functions == NULL))
            {
                return(KMIP_FALSE);
            }

            if(kmip_compare_query_functions(a->functions, b->functions) == KMIP_FALSE)
            {
                return(KMIP_FALSE);
            }
        }
    }

    return(KMIP_TRUE);
}

// Assembly:
pushq %rbx
cmpq %rsi, %rdi
je 0xb2e7
testq %rdi, %rdi
sete %al
testq %rsi, %rsi
sete %cl
xorl %ebx, %ebx
orb %al, %cl
jne 0xb2ec
movq (%rdi), %rdi
movq (%rsi), %rsi
cmpq %rsi, %rdi
je 0xb2e7
testq %rdi, %rdi
sete %al
testq %rsi, %rsi
sete %cl
orb %al, %cl
jne 0xb2ec
callq 0x6e00
testl %eax, %eax
je 0xb2ec
movl $0x1, %ebx
movl %ebx, %eax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/OpenKMIP[P]libkmip/src/kmip.c
// Function: kmip_compare_query_response_payload
int
kmip_compare_query_response_payload(const QueryResponsePayload *a, const QueryResponsePayload *b)
{
    if(a != b)
    {
        if((a == NULL) || (b == NULL))
        {
            return(KMIP_FALSE);
        }

        if(a->operations != b->operations)
        {
            if((a->operations == NULL) || (b->operations == NULL))
            {
                return(KMIP_FALSE);
            }

            if(kmip_compare_operations(a->operations, b->operations) == KMIP_FALSE)
            {
                return(KMIP_FALSE);
            }
        }

        if(a->objects != b->objects)
        {
            if((a->objects == NULL) || (b->objects == NULL))
            {
                return(KMIP_FALSE);
            }

            if(kmip_compare_objects(a->objects, b->objects) == KMIP_FALSE)
            {
                return(KMIP_FALSE);
            }
        }

        if(a->vendor_identification != b->vendor_identification)
        {
            if((a->vendor_identification == NULL) || (b->vendor_identification == NULL))
            {
                return(KMIP_FALSE);
            }

            if(kmip_compare_text_string(a->vendor_identification, b->vendor_identification) == KMIP_FALSE)
            {
                return(KMIP_FALSE);
            }
        }

        if(a->server_information != b->server_information)
        {
            if((a->server_information == NULL) || (b->server_information == NULL))
            {
                return(KMIP_FALSE);
            }

            if(kmip_compare_server_information(a->server_information, b->server_information) == KMIP_FALSE)
            {
                return(KMIP_FALSE);
            }
        }
    }

    return(KMIP_TRUE);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
cmpq %rsi, %rdi
je 0xb4ec
movq %rsi, %r14
movq %rdi, %r15
testq %rdi, %rdi
sete %al
testq %rsi, %rsi
sete %cl
xorl %ebx, %ebx
orb %al, %cl
jne 0xb4f1
movq (%r15), %rdi
movq (%r14), %rsi
cmpq %rsi, %rdi
je 0xb47a
testq %rdi, %rdi
sete %al
testq %rsi, %rsi
sete %cl
orb %al, %cl
jne 0xb4f1
callq 0x6460
testl %eax, %eax
je 0xb4f1
movq 0x8(%r15), %rdi
movq 0x8(%r14), %rsi
cmpq %rsi, %rdi
je 0xb4a0
testq %rdi, %rdi
sete %al
testq %rsi, %rsi
sete %cl
orb %al, %cl
jne 0xb4f1
callq 0x66a0
testl %eax, %eax
je 0xb4f1
movq 0x10(%r15), %rdi
movq 0x10(%r14), %rsi
cmpq %rsi, %rdi
je 0xb4c6
testq %rdi, %rdi
sete %al
testq %rsi, %rsi
sete %cl
orb %al, %cl
jne 0xb4f1
callq 0x6480
testl %eax, %eax
je 0xb4f1
movq 0x18(%r15), %rdi
movq 0x18(%r14), %rsi
cmpq %rsi, %rdi
je 0xb4ec
testq %rdi, %rdi
sete %al
testq %rsi, %rsi
sete %cl
orb %al, %cl
jne 0xb4f1
callq 0x61d0
testl %eax, %eax
je 0xb4f1
movl $0x1, %ebx
movl %ebx, %eax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/OpenKMIP[P]libkmip/src/kmip.c
// Function: kmip_compare_nonce
int
kmip_compare_nonce(const Nonce *a, const Nonce *b)
{
    if(a != b)
    {
        if((a == NULL) || (b == NULL))
        {
            return(KMIP_FALSE);
        }
        
        if(a->nonce_id != b->nonce_id)
        {
            if((a->nonce_id == NULL) || (b->nonce_id == NULL))
            {
                return(KMIP_FALSE);
            }
            
            if(kmip_compare_byte_string(a->nonce_id, b->nonce_id) == KMIP_FALSE)
            {
                return(KMIP_FALSE);
            }
        }
        
        if(a->nonce_value != b->nonce_value)
        {
            if((a->nonce_value == NULL) || (b->nonce_value == NULL))
            {
                return(KMIP_FALSE);
            }
            
            if(kmip_compare_byte_string(a->nonce_value, b->nonce_value) == KMIP_FALSE)
            {
                return(KMIP_FALSE);
            }
        }
    }
    
    return(KMIP_TRUE);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
cmpq %rsi, %rdi
je 0xb565
movq %rsi, %r14
movq %rdi, %r15
testq %rdi, %rdi
sete %al
testq %rsi, %rsi
sete %cl
xorl %ebx, %ebx
orb %al, %cl
jne 0xb56a
movq (%r15), %rdi
movq (%r14), %rsi
cmpq %rsi, %rdi
je 0xb53f
testq %rdi, %rdi
sete %al
testq %rsi, %rsi
sete %cl
orb %al, %cl
jne 0xb56a
callq 0x63e0
testl %eax, %eax
je 0xb56a
movq 0x8(%r15), %rdi
movq 0x8(%r14), %rsi
cmpq %rsi, %rdi
je 0xb565
testq %rdi, %rdi
sete %al
testq %rsi, %rsi
sete %cl
orb %al, %cl
jne 0xb56a
callq 0x63e0
testl %eax, %eax
je 0xb56a
movl $0x1, %ebx
movl %ebx, %eax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/OpenKMIP[P]libkmip/src/kmip.c
// Function: kmip_compare_username_password_credential
int
kmip_compare_username_password_credential(const UsernamePasswordCredential *a, const UsernamePasswordCredential *b)
{
    if(a != b)
    {
        if((a == NULL) || (b == NULL))
        {
            return(KMIP_FALSE);
        }
        
        if(a->username != b->username)
        {
            if((a->username == NULL) || (b->username == NULL))
            {
                return(KMIP_FALSE);
            }
            
            if(kmip_compare_text_string(a->username, b->username) == KMIP_FALSE)
            {
                return(KMIP_FALSE);
            }
        }
        
        if(a->password != b->password)
        {
            if((a->password == NULL) || (b->password == NULL))
            {
                return(KMIP_FALSE);
            }
            
            if(kmip_compare_text_string(a->password, b->password) == KMIP_FALSE)
            {
                return(KMIP_FALSE);
            }
        }
    }
    
    return(KMIP_TRUE);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
cmpq %rsi, %rdi
je 0xb5de
movq %rsi, %r14
movq %rdi, %r15
testq %rdi, %rdi
sete %al
testq %rsi, %rsi
sete %cl
xorl %ebx, %ebx
orb %al, %cl
jne 0xb5e3
movq (%r15), %rdi
movq (%r14), %rsi
cmpq %rsi, %rdi
je 0xb5b8
testq %rdi, %rdi
sete %al
testq %rsi, %rsi
sete %cl
orb %al, %cl
jne 0xb5e3
callq 0x6480
testl %eax, %eax
je 0xb5e3
movq 0x8(%r15), %rdi
movq 0x8(%r14), %rsi
cmpq %rsi, %rdi
je 0xb5de
testq %rdi, %rdi
sete %al
testq %rsi, %rsi
sete %cl
orb %al, %cl
jne 0xb5e3
callq 0x6480
testl %eax, %eax
je 0xb5e3
movl $0x1, %ebx
movl %ebx, %eax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/OpenKMIP[P]libkmip/src/kmip.c
// Function: kmip_compare_attestation_credential
int
kmip_compare_attestation_credential(const AttestationCredential *a, const AttestationCredential *b)
{
    if(a != b)
    {
        if((a == NULL) || (b == NULL))
        {
            return(KMIP_FALSE);
        }
        
        if(a->attestation_type != b->attestation_type)
        {
            return(KMIP_FALSE);
        }
        
        if(a->nonce != b->nonce)
        {
            if((a->nonce == NULL) || (b->nonce == NULL))
            {
                return(KMIP_FALSE);
            }
            
            if(kmip_compare_nonce(a->nonce, b->nonce) == KMIP_FALSE)
            {
                return(KMIP_FALSE);
            }
        }
        
        if(a->attestation_measurement != b->attestation_measurement)
        {
            if((a->attestation_measurement == NULL) || (b->attestation_measurement == NULL))
            {
                return(KMIP_FALSE);
            }
            
            if(kmip_compare_byte_string(a->attestation_measurement, b->attestation_measurement) == KMIP_FALSE)
            {
                return(KMIP_FALSE);
            }
        }
        
        if(a->attestation_assertion != b->attestation_assertion)
        {
            if((a->attestation_assertion == NULL) || (b->attestation_assertion == NULL))
            {
                return(KMIP_FALSE);
            }
            
            if(kmip_compare_byte_string(a->attestation_assertion, b->attestation_assertion) == KMIP_FALSE)
            {
                return(KMIP_FALSE);
            }
        }
    }
    
    return(KMIP_TRUE);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
cmpq %rsi, %rdi
je 0xb7b8
movq %rsi, %r14
movq %rdi, %r15
testq %rdi, %rdi
sete %al
testq %rsi, %rsi
sete %cl
xorl %ebx, %ebx
orb %al, %cl
jne 0xb7bd
movl 0x8(%r15), %eax
cmpl 0x8(%r14), %eax
jne 0xb7bd
movq (%r15), %rdi
movq (%r14), %rsi
cmpq %rsi, %rdi
je 0xb76c
testq %rdi, %rdi
sete %al
testq %rsi, %rsi
sete %cl
orb %al, %cl
jne 0xb7bd
callq 0x6530
testl %eax, %eax
je 0xb7bd
movq 0x10(%r15), %rdi
movq 0x10(%r14), %rsi
cmpq %rsi, %rdi
je 0xb792
testq %rdi, %rdi
sete %al
testq %rsi, %rsi
sete %cl
orb %al, %cl
jne 0xb7bd
callq 0x63e0
testl %eax, %eax
je 0xb7bd
movq 0x18(%r15), %rdi
movq 0x18(%r14), %rsi
cmpq %rsi, %rdi
je 0xb7b8
testq %rdi, %rdi
sete %al
testq %rsi, %rsi
sete %cl
orb %al, %cl
jne 0xb7bd
callq 0x63e0
testl %eax, %eax
je 0xb7bd
movl $0x1, %ebx
movl %ebx, %eax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/OpenKMIP[P]libkmip/src/kmip.c
// Function: kmip_compare_credential
int
kmip_compare_credential(const Credential *a, const Credential *b)
{
    if(a != b)
    {
        if((a == NULL) || (b == NULL))
        {
            return(KMIP_FALSE);
        }
        
        if(a->credential_type != b->credential_type)
        {
            return(KMIP_FALSE);
        }
        
        if(a->credential_value != b->credential_value)
        {
            if((a->credential_value == NULL) || (b->credential_value == NULL))
            {
                return(KMIP_FALSE);
            }
            
            if(kmip_compare_credential_value(a->credential_type, (void**)&a->credential_value, (void**)&b->credential_value) == KMIP_FALSE)
            {
                return(KMIP_FALSE);
            }
        }
    }
    
    return(KMIP_TRUE);
}

// Assembly:
pushq %rbx
movq %rsi, %rdx
cmpq %rsi, %rdi
je 0xb882
movq %rdi, %rsi
testq %rdi, %rdi
sete %al
testq %rdx, %rdx
sete %cl
xorl %ebx, %ebx
orb %al, %cl
jne 0xb887
movl (%rsi), %edi
cmpl (%rdx), %edi
jne 0xb887
movq 0x8(%rsi), %rcx
movq 0x8(%rdx), %rax
cmpq %rax, %rcx
je 0xb882
testq %rcx, %rcx
sete %cl
testq %rax, %rax
sete %al
orb %cl, %al
jne 0xb887
addq $0x8, %rsi
addq $0x8, %rdx
callq 0x6310
testl %eax, %eax
je 0xb887
movl $0x1, %ebx
movl %ebx, %eax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/OpenKMIP[P]libkmip/src/kmip.c
// Function: kmip_compare_authentication
int
kmip_compare_authentication(const Authentication *a, const Authentication *b)
{
    if(a != b)
    {
        if((a == NULL) || (b == NULL))
        {
            return(KMIP_FALSE);
        }
        
        if(a->credential != b->credential)
        {
            if((a->credential == NULL) || (b->credential == NULL))
            {
                return(KMIP_FALSE);
            }
            
            if(kmip_compare_credential(a->credential, b->credential) == KMIP_FALSE)
            {
                return(KMIP_FALSE);
            }
        }
    }
    
    return(KMIP_TRUE);
}

// Assembly:
pushq %rbx
cmpq %rsi, %rdi
je 0xb8c7
testq %rdi, %rdi
sete %al
testq %rsi, %rsi
sete %cl
xorl %ebx, %ebx
orb %al, %cl
jne 0xb8cc
movq (%rdi), %rdi
movq (%rsi), %rsi
cmpq %rsi, %rdi
je 0xb8c7
testq %rdi, %rdi
sete %al
testq %rsi, %rsi
sete %cl
orb %al, %cl
jne 0xb8cc
callq 0x68d0
testl %eax, %eax
je 0xb8cc
movl $0x1, %ebx
movl %ebx, %eax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/OpenKMIP[P]libkmip/src/kmip.c
// Function: kmip_compare_request_message
int
kmip_compare_request_message(const RequestMessage *a, const RequestMessage *b)
{
    if(a != b)
    {
        if((a == NULL) || (b == NULL))
        {
            return(KMIP_FALSE);
        }
        
        if(a->batch_count != b->batch_count)
        {
            return(KMIP_FALSE);
        }
        
        if(a->request_header != b->request_header)
        {
            if((a->request_header == NULL) || (b->request_header == NULL))
            {
                return(KMIP_FALSE);
            }
            
            if(kmip_compare_request_header(a->request_header, b->request_header) == KMIP_FALSE)
            {
                return(KMIP_FALSE);
            }
        }
        
        if(a->batch_items != b->batch_items)
        {
            if((a->batch_items == NULL) || (b->batch_items == NULL))
            {
                return(KMIP_FALSE);
            }
            
            for(size_t i = 0; i < a->batch_count; i++)
            {
                if(kmip_compare_request_batch_item(&a->batch_items[i], &b->batch_items[i]) == KMIP_FALSE)
                {
                    return(KMIP_FALSE);
                }
            }
        }
    }
    
    return(KMIP_TRUE);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
cmpq %rsi, %rdi
je 0xbd00
movq %rsi, %r15
movq %rdi, %r14
testq %rdi, %rdi
sete %al
testq %rsi, %rsi
sete %cl
xorl %ebx, %ebx
orb %al, %cl
jne 0xbd05
movq 0x10(%r14), %r12
cmpq 0x10(%r15), %r12
jne 0xbd05
movq (%r14), %rdi
movq (%r15), %rsi
cmpq %rsi, %rdi
je 0xbc90
testq %rdi, %rdi
sete %al
testq %rsi, %rsi
sete %cl
orb %al, %cl
jne 0xbd05
callq 0x64d0
testl %eax, %eax
je 0xbd05
movq 0x8(%r14), %r14
movq 0x8(%r15), %r15
cmpq %r15, %r14
je 0xbd00
testq %r14, %r14
sete %al
testq %r15, %r15
sete %cl
orb %al, %cl
jne 0xbd05
testq %r12, %r12
setne %bpl
je 0xbd00
movq %r14, %rdi
movq %r15, %rsi
callq 0x6110
testl %eax, %eax
je 0xbcfb
addq $0x20, %r14
addq $0x20, %r15
leaq -0x1(%r12), %rbp
xorl %r13d, %r13d
cmpq %r13, %rbp
je 0xbd00
movq %r14, %rdi
movq %r15, %rsi
callq 0x6110
addq $0x20, %r14
addq $0x20, %r15
incq %r13
testl %eax, %eax
jne 0xbcd5
cmpq %r12, %r13
setb %bpl
testb %bpl, %bpl
jne 0xbd05
movl $0x1, %ebx
movl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/OpenKMIP[P]libkmip/src/kmip.c
// Function: kmip_compare_response_message
int
kmip_compare_response_message(const ResponseMessage *a, const ResponseMessage *b)
{
    if(a != b)
    {
        if((a == NULL) || (b == NULL))
        {
            return(KMIP_FALSE);
        }
        
        if(a->batch_count != b->batch_count)
        {
            return(KMIP_FALSE);
        }
        
        if(a->response_header != b->response_header)
        {
            if((a->response_header == NULL) || (b->response_header == NULL))
            {
                return(KMIP_FALSE);
            }
            
            if(kmip_compare_response_header(a->response_header, b->response_header) == KMIP_FALSE)
            {
                return(KMIP_FALSE);
            }
        }
        
        if(a->batch_items != b->batch_items)
        {
            if((a->batch_items == NULL) || (b->batch_items == NULL))
            {
                return(KMIP_FALSE);
            }
            
            for(size_t i = 0; i < a->batch_count; i++)
            {
                if(kmip_compare_response_batch_item(&a->batch_items[i], &b->batch_items[i]) == KMIP_FALSE)
                {
                    return(KMIP_FALSE);
                }
            }
        }
    }
    
    return(KMIP_TRUE);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
cmpq %rsi, %rdi
je 0xbde8
movq %rsi, %r15
movq %rdi, %r14
testq %rdi, %rdi
sete %al
testq %rsi, %rsi
sete %cl
xorl %ebx, %ebx
orb %al, %cl
jne 0xbded
movq 0x10(%r14), %r12
cmpq 0x10(%r15), %r12
jne 0xbded
movq (%r14), %rdi
movq (%r15), %rsi
cmpq %rsi, %rdi
je 0xbd78
testq %rdi, %rdi
sete %al
testq %rsi, %rsi
sete %cl
orb %al, %cl
jne 0xbded
callq 0x6380
testl %eax, %eax
je 0xbded
movq 0x8(%r14), %r14
movq 0x8(%r15), %r15
cmpq %r15, %r14
je 0xbde8
testq %r14, %r14
sete %al
testq %r15, %r15
sete %cl
orb %al, %cl
jne 0xbded
testq %r12, %r12
setne %bpl
je 0xbde8
movq %r14, %rdi
movq %r15, %rsi
callq 0x6d00
testl %eax, %eax
je 0xbde3
addq $0x30, %r14
addq $0x30, %r15
leaq -0x1(%r12), %rbp
xorl %r13d, %r13d
cmpq %r13, %rbp
je 0xbde8
movq %r14, %rdi
movq %r15, %rsi
callq 0x6d00
addq $0x30, %r14
addq $0x30, %r15
incq %r13
testl %eax, %eax
jne 0xbdbd
cmpq %r12, %r13
setb %bpl
testb %bpl, %bpl
jne 0xbded
movl $0x1, %ebx
movl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/OpenKMIP[P]libkmip/src/kmip.c
// Function: kmip_compare_linklist_items_textstring
int
kmip_compare_linklist_items_textstring(const LinkedListItem *a_item, const LinkedListItem *b_item)
{
    while((a_item != NULL) && (b_item != NULL))
    {
        if(a_item != b_item)
        {
            TextString *a_data = (TextString *)a_item->data;
            TextString *b_data = (TextString *)b_item->data;
            if(kmip_compare_text_string(a_data, b_data) == KMIP_FALSE)
            {
                return(KMIP_FALSE);
            }
        }

        a_item = a_item->next;
        b_item = b_item->next;
    }

    if(a_item != b_item)
    {
        return(KMIP_FALSE);
    }

    return(KMIP_TRUE);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
testq %rdi, %rdi
sete %al
testq %rsi, %rsi
sete %cl
orb %al, %cl
jne 0xbe8b
cmpq %rbx, %r14
je 0xbe7b
movq 0x10(%r14), %rdi
movq 0x10(%rbx), %rsi
callq 0x6480
testl %eax, %eax
je 0xbe9b
movq (%r14), %r14
movq (%rbx), %rbx
testq %r14, %r14
je 0xbe8b
testq %rbx, %rbx
jne 0xbe65
xorl %eax, %eax
cmpq %rbx, %r14
sete %al
addq $0x8, %rsp
popq %rbx
popq %r14
retq
xorl %eax, %eax
jmp 0xbe93
// File: /workspace/github_c_makefile_star2_O1/OpenKMIP[P]libkmip/src/kmip.c
// Function: kmip_compare_operations
int
kmip_compare_operations(const Operations *a, const Operations *b)
{
    if(a != b)
    {
        if((a == NULL) || (b == NULL))
        {
            return(KMIP_FALSE);
        }

        if((a->operation_list != b->operation_list))
        {
            if((a->operation_list == NULL) || (b->operation_list == NULL))
            {
                return(KMIP_FALSE);
            }

            if((a->operation_list->size != b->operation_list->size))
            {
                return(KMIP_FALSE);
            }

            LinkedListItem *a_item = a->operation_list->head;
            LinkedListItem *b_item = b->operation_list->head;
            if (kmip_compare_linklist_items_int32(a_item, b_item) == KMIP_FALSE)
            {
                return(KMIP_FALSE);
            }
        }
    }

    return(KMIP_TRUE);
}

// Assembly:
pushq %rbx
cmpq %rsi, %rdi
je 0xbf44
testq %rdi, %rdi
sete %al
testq %rsi, %rsi
sete %cl
xorl %ebx, %ebx
orb %al, %cl
jne 0xbf49
movq (%rdi), %rax
movq (%rsi), %rcx
cmpq %rcx, %rax
je 0xbf44
testq %rax, %rax
sete %dl
testq %rcx, %rcx
sete %sil
orb %dl, %sil
jne 0xbf49
movq 0x10(%rax), %rdx
cmpq 0x10(%rcx), %rdx
jne 0xbf49
movq (%rax), %rdi
movq (%rcx), %rsi
callq 0x63c0
testl %eax, %eax
je 0xbf49
movl $0x1, %ebx
movl %ebx, %eax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/OpenKMIP[P]libkmip/src/kmip.c
// Function: kmip_compare_objects
int
kmip_compare_objects(const ObjectTypes *a, const ObjectTypes *b)
{
    if(a != b)
    {
        if((a == NULL) || (b == NULL))
        {
            return(KMIP_FALSE);
        }

        if((a->object_list != b->object_list))
        {
            if((a->object_list == NULL) || (b->object_list == NULL))
            {
                return(KMIP_FALSE);
            }

            if((a->object_list->size != b->object_list->size))
            {
                return(KMIP_FALSE);
            }

            LinkedListItem *a_item = a->object_list->head;
            LinkedListItem *b_item = b->object_list->head;
            if (kmip_compare_linklist_items_int32(a_item, b_item) == KMIP_FALSE)
            {
                return(KMIP_FALSE);
            }
        }
    }

    return(KMIP_TRUE);
}

// Assembly:
pushq %rbx
cmpq %rsi, %rdi
je 0xbf9b
testq %rdi, %rdi
sete %al
testq %rsi, %rsi
sete %cl
xorl %ebx, %ebx
orb %al, %cl
jne 0xbfa0
movq (%rdi), %rax
movq (%rsi), %rcx
cmpq %rcx, %rax
je 0xbf9b
testq %rax, %rax
sete %dl
testq %rcx, %rcx
sete %sil
orb %dl, %sil
jne 0xbfa0
movq 0x10(%rax), %rdx
cmpq 0x10(%rcx), %rdx
jne 0xbfa0
movq (%rax), %rdi
movq (%rcx), %rsi
callq 0x63c0
testl %eax, %eax
je 0xbfa0
movl $0x1, %ebx
movl %ebx, %eax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/OpenKMIP[P]libkmip/src/kmip.c
// Function: kmip_compare_alternative_endpoints
int
kmip_compare_alternative_endpoints(const AltEndpoints* a, const AltEndpoints* b)
{
    if(a != b)
    {
        if((a == NULL) || (b == NULL))
        {
            return(KMIP_FALSE);
        }

        if((a->endpoint_list != b->endpoint_list))
        {
            if((a->endpoint_list == NULL) || (b->endpoint_list == NULL))
            {
                return(KMIP_FALSE);
            }

            if((a->endpoint_list->size != b->endpoint_list->size))
            {
                return(KMIP_FALSE);
            }

            LinkedListItem *a_item = a->endpoint_list->head;
            LinkedListItem *b_item = b->endpoint_list->head;
            if (kmip_compare_linklist_items_textstring(a_item, b_item) == KMIP_FALSE)
            {
                return(KMIP_FALSE);
            }
        }
    }

    return(KMIP_TRUE);
}

// Assembly:
pushq %rbx
cmpq %rsi, %rdi
je 0xbff2
testq %rdi, %rdi
sete %al
testq %rsi, %rsi
sete %cl
xorl %ebx, %ebx
orb %al, %cl
jne 0xbff7
movq (%rdi), %rax
movq (%rsi), %rcx
cmpq %rcx, %rax
je 0xbff2
testq %rax, %rax
sete %dl
testq %rcx, %rcx
sete %sil
orb %dl, %sil
jne 0xbff7
movq 0x10(%rax), %rdx
cmpq 0x10(%rcx), %rdx
jne 0xbff7
movq (%rax), %rdi
movq (%rcx), %rsi
callq 0x6370
testl %eax, %eax
je 0xbff7
movl $0x1, %ebx
movl %ebx, %eax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/OpenKMIP[P]libkmip/src/kmip.c
// Function: kmip_compare_server_information
int
kmip_compare_server_information(const ServerInformation* a, const ServerInformation* b)
{
    if(a != b)
    {
        if((a == NULL) || (b == NULL))
        {
            return(KMIP_FALSE);
        }

        if(kmip_compare_text_string(a->server_name, b->server_name) == KMIP_FALSE)
        {
            return(KMIP_FALSE);
        }

        if(kmip_compare_text_string(a->server_serial_number, b->server_serial_number) == KMIP_FALSE)
        {
            return(KMIP_FALSE);
        }

        if(kmip_compare_text_string(a->server_version, b->server_version) == KMIP_FALSE)
        {
            return(KMIP_FALSE);
        }

        if(kmip_compare_text_string(a->server_load, b->server_load) == KMIP_FALSE)
        {
            return(KMIP_FALSE);
        }
        if(kmip_compare_text_string(a->product_name, b->product_name) == KMIP_FALSE)
        {
            return(KMIP_FALSE);
        }
        if(kmip_compare_text_string(a->build_level, b->build_level) == KMIP_FALSE)
        {
            return(KMIP_FALSE);
        }
        if(kmip_compare_text_string(a->build_date, b->build_date) == KMIP_FALSE)
        {
            return(KMIP_FALSE);
        }

        if(a->alternative_failover_endpoints != b->alternative_failover_endpoints )
        {
            if(kmip_compare_alternative_endpoints(a->alternative_failover_endpoints, b->alternative_failover_endpoints) == KMIP_FALSE)
            {
                return(KMIP_FALSE);
            }
        }

//      if(a->vendor_specific != b->vendor_specific )
//      {
//          if(kmip_compare_vendor_specifi(a->vendor_specific, b->vendor_specific) == KMIP_FALSE)
//          {
//              return(KMIP_FALSE);
//          }
//      }

    }

    return(KMIP_TRUE);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
cmpq %rsi, %rdi
je 0xc0b4
movq %rsi, %r14
movq %rdi, %r15
testq %rdi, %rdi
sete %al
testq %rsi, %rsi
sete %cl
xorl %ebx, %ebx
orb %al, %cl
jne 0xc0b9
movq (%r15), %rdi
movq (%r14), %rsi
callq 0x6480
testl %eax, %eax
je 0xc0b9
movq 0x8(%r15), %rdi
movq 0x8(%r14), %rsi
callq 0x6480
testl %eax, %eax
je 0xc0b9
movq 0x10(%r15), %rdi
movq 0x10(%r14), %rsi
callq 0x6480
testl %eax, %eax
je 0xc0b9
movq 0x18(%r15), %rdi
movq 0x18(%r14), %rsi
callq 0x6480
testl %eax, %eax
je 0xc0b9
movq 0x20(%r15), %rdi
movq 0x20(%r14), %rsi
callq 0x6480
testl %eax, %eax
je 0xc0b9
movq 0x28(%r15), %rdi
movq 0x28(%r14), %rsi
callq 0x6480
testl %eax, %eax
je 0xc0b9
movq 0x30(%r15), %rdi
movq 0x30(%r14), %rsi
callq 0x6480
testl %eax, %eax
je 0xc0b9
movq 0x40(%r15), %rdi
movq 0x40(%r14), %rsi
cmpq %rsi, %rdi
je 0xc0b4
callq 0x6050
testl %eax, %eax
je 0xc0b9
movl $0x1, %ebx
movl %ebx, %eax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/OpenKMIP[P]libkmip/src/kmip.c
// Function: kmip_encode_int8_be
int
kmip_encode_int8_be(KMIP *ctx, int8 value)
{
    CHECK_BUFFER_FULL(ctx, sizeof(int8));

    uint8 v = *(uint8 *)((void *)(&value));

    *ctx->index++ = v;
    
    return(KMIP_OK);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq (%rdi), %rcx
movq 0x8(%rdi), %rax
subq %rax, %rcx
addq 0x10(%rdi), %rcx
jne 0xc0f6
leaq 0x38(%rbx), %rdi
xorl %r14d, %r14d
cmpl $0x0, 0x64(%rdi,%r14)
je 0xc105
addq $0x68, %r14
cmpq $0x820, %r14            # imm = 0x820
jne 0xc0df
jmp 0xc12c
leaq 0x1(%rax), %rcx
movq %rcx, 0x8(%rbx)
movb %sil, (%rax)
xorl %eax, %eax
jmp 0xc131
addq %r14, %rdi
movq %rdi, 0x860(%rbx)
leaq 0x1334e(%rip), %rsi     # 0x1f464
movl $0x63, %edx
callq 0x66f0
movl $0x1801, 0x9c(%rbx,%r14) # imm = 0x1801
movl $0xfffffffe, %eax       # imm = 0xFFFFFFFE
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/OpenKMIP[P]libkmip/src/kmip.c
// Function: kmip_encode_int32_be
int
kmip_encode_int32_be(KMIP *ctx, int32 value)
{
    CHECK_BUFFER_FULL(ctx, sizeof(int32));

    uint32 v = *(uint32 *)((void *)(&value));

    *ctx->index++ = (uint8)((v & 0xFF000000) >> 24);
    *ctx->index++ = (uint8)((v & 0x00FF0000) >> 16);
    *ctx->index++ = (uint8)((v & 0x0000FF00) >> 8);
    *ctx->index++ = (uint8)((v & 0x000000FF) >> 0);

    return(KMIP_OK);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x8(%rdi), %rcx
movq 0x10(%rdi), %rdx
subq %rcx, %rdx
addq (%rdi), %rdx
cmpq $0x3, %rdx
ja 0xc172
leaq 0x38(%rbx), %rdi
xorl %r14d, %r14d
cmpl $0x0, 0x64(%rdi,%r14)
je 0xc1b6
addq $0x68, %r14
cmpq $0x820, %r14            # imm = 0x820
jne 0xc15b
jmp 0xc1dd
movl %esi, %eax
movl %esi, %edx
shrl $0x18, %edx
leaq 0x1(%rcx), %rsi
movq %rsi, 0x8(%rbx)
movb %dl, (%rcx)
movl %eax, %ecx
shrl $0x10, %ecx
movq 0x8(%rbx), %rdx
leaq 0x1(%rdx), %rsi
movq %rsi, 0x8(%rbx)
movb %cl, (%rdx)
movq 0x8(%rbx), %rcx
leaq 0x1(%rcx), %rdx
movq %rdx, 0x8(%rbx)
movb %ah, (%rcx)
movq 0x8(%rbx), %rcx
leaq 0x1(%rcx), %rdx
movq %rdx, 0x8(%rbx)
movb %al, (%rcx)
xorl %eax, %eax
jmp 0xc1e2
addq %r14, %rdi
movq %rdi, 0x860(%rbx)
leaq 0x13301(%rip), %rsi     # 0x1f4c8
movl $0x63, %edx
callq 0x66f0
movl $0x180d, 0x9c(%rbx,%r14) # imm = 0x180D
movl $0xfffffffe, %eax       # imm = 0xFFFFFFFE
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/OpenKMIP[P]libkmip/src/kmip.c
// Function: kmip_encode_int64_be
int
kmip_encode_int64_be(KMIP *ctx, int64 value)
{
    CHECK_BUFFER_FULL(ctx, sizeof(int64));

    uint64 v = *(uint64 *)((void *)(&value));

    *ctx->index++ = (uint8)((v & 0xFF00000000000000) >> 56);
    *ctx->index++ = (uint8)((v & 0x00FF000000000000) >> 48);
    *ctx->index++ = (uint8)((v & 0x0000FF0000000000) >> 40);
    *ctx->index++ = (uint8)((v & 0x000000FF00000000) >> 32);
    *ctx->index++ = (uint8)((v & 0x00000000FF000000) >> 24);
    *ctx->index++ = (uint8)((v & 0x0000000000FF0000) >> 16);
    *ctx->index++ = (uint8)((v & 0x000000000000FF00) >> 8);
    *ctx->index++ = (uint8)((v & 0x00000000000000FF) >> 0);
    
    return(KMIP_OK);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x8(%rdi), %rcx
movq 0x10(%rdi), %rdx
subq %rcx, %rdx
addq (%rdi), %rdx
cmpq $0x7, %rdx
ja 0xc22a
leaq 0x38(%rbx), %rdi
xorl %r14d, %r14d
cmpl $0x0, 0x64(%rdi,%r14)
je 0xc2c3
addq $0x68, %r14
cmpq $0x820, %r14            # imm = 0x820
jne 0xc20c
jmp 0xc2ea
movq %rsi, %rax
movq %rsi, %rdx
shrq $0x38, %rdx
leaq 0x1(%rcx), %rsi
movq %rsi, 0x8(%rbx)
movb %dl, (%rcx)
movq %rax, %rcx
shrq $0x30, %rcx
movq 0x8(%rbx), %rdx
leaq 0x1(%rdx), %rsi
movq %rsi, 0x8(%rbx)
movb %cl, (%rdx)
movq %rax, %rcx
shrq $0x28, %rcx
movq 0x8(%rbx), %rdx
leaq 0x1(%rdx), %rsi
movq %rsi, 0x8(%rbx)
movb %cl, (%rdx)
movq %rax, %rcx
shrq $0x20, %rcx
movq 0x8(%rbx), %rdx
leaq 0x1(%rdx), %rsi
movq %rsi, 0x8(%rbx)
movb %cl, (%rdx)
movl %eax, %ecx
shrl $0x18, %ecx
movq 0x8(%rbx), %rdx
leaq 0x1(%rdx), %rsi
movq %rsi, 0x8(%rbx)
movb %cl, (%rdx)
movl %eax, %ecx
shrl $0x10, %ecx
movq 0x8(%rbx), %rdx
leaq 0x1(%rdx), %rsi
movq %rsi, 0x8(%rbx)
movb %cl, (%rdx)
movq 0x8(%rbx), %rcx
leaq 0x1(%rcx), %rdx
movq %rdx, 0x8(%rbx)
movb %ah, (%rcx)
movq 0x8(%rbx), %rcx
leaq 0x1(%rcx), %rdx
movq %rdx, 0x8(%rbx)
movb %al, (%rcx)
xorl %eax, %eax
jmp 0xc2ef
addq %r14, %rdi
movq %rdi, 0x860(%rbx)
leaq 0x13258(%rip), %rsi     # 0x1f52c
movl $0x63, %edx
callq 0x66f0
movl $0x181c, 0x9c(%rbx,%r14) # imm = 0x181C
movl $0xfffffffe, %eax       # imm = 0xFFFFFFFE
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/OpenKMIP[P]libkmip/src/kmip.c
// Function: kmip_encode_integer
int
kmip_encode_integer(KMIP *ctx, enum tag t, int32 value)
{
    CHECK_BUFFER_FULL(ctx, 16);
    
    kmip_encode_int32_be(ctx, TAG_TYPE(t, KMIP_TYPE_INTEGER));
    kmip_encode_int32_be(ctx, 4);
    kmip_encode_int32_be(ctx, value);
    kmip_encode_int32_be(ctx, 0);
    
    return(KMIP_OK);
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
movq 0x10(%rdi), %rax
subq 0x8(%rdi), %rax
addq (%rdi), %rax
cmpq $0xf, %rax
ja 0xc32d
leaq 0x38(%rbx), %rdi
xorl %r14d, %r14d
cmpl $0x0, 0x64(%rdi,%r14)
je 0xc362
addq $0x68, %r14
cmpq $0x820, %r14            # imm = 0x820
jne 0xc316
jmp 0xc389
movl %edx, %ebp
shll $0x8, %esi
orl $0x2, %esi
movq %rbx, %rdi
callq 0x60a0
movq %rbx, %rdi
movl $0x4, %esi
callq 0x60a0
movq %rbx, %rdi
movl %ebp, %esi
callq 0x60a0
xorl %ebp, %ebp
movq %rbx, %rdi
xorl %esi, %esi
callq 0x60a0
jmp 0xc38e
addq %r14, %rdi
movq %rdi, 0x860(%rbx)
leaq 0x1321d(%rip), %rsi     # 0x1f590
movl $0x63, %edx
callq 0x66f0
movl $0x182f, 0x9c(%rbx,%r14) # imm = 0x182F
movl $0xfffffffe, %ebp       # imm = 0xFFFFFFFE
movl %ebp, %eax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/OpenKMIP[P]libkmip/src/kmip.c
// Function: kmip_encode_long
int
kmip_encode_long(KMIP *ctx, enum tag t, int64 value)
{
    CHECK_BUFFER_FULL(ctx, 16);
    
    kmip_encode_int32_be(ctx, TAG_TYPE(t, KMIP_TYPE_LONG_INTEGER));
    kmip_encode_int32_be(ctx, 8);
    kmip_encode_int64_be(ctx, value);
    
    return(KMIP_OK);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x10(%rdi), %rax
subq 0x8(%rdi), %rax
addq (%rdi), %rax
cmpq $0xf, %rax
ja 0xc3cb
leaq 0x38(%rbx), %rdi
xorl %r14d, %r14d
cmpl $0x0, 0x64(%rdi,%r14)
je 0xc3f8
addq $0x68, %r14
cmpq $0x820, %r14            # imm = 0x820
jne 0xc3b4
jmp 0xc41f
movq %rdx, %r14
shll $0x8, %esi
orl $0x3, %esi
movq %rbx, %rdi
callq 0x60a0
movq %rbx, %rdi
movl $0x8, %esi
callq 0x60a0
movq %rbx, %rdi
movq %r14, %rsi
callq 0x6910
xorl %eax, %eax
jmp 0xc424
addq %r14, %rdi
movq %rdi, 0x860(%rbx)
leaq 0x131eb(%rip), %rsi     # 0x1f5f4
movl $0x63, %edx
callq 0x66f0
movl $0x183c, 0x9c(%rbx,%r14) # imm = 0x183C
movl $0xfffffffe, %eax       # imm = 0xFFFFFFFE
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/OpenKMIP[P]libkmip/src/kmip.c
// Function: kmip_encode_enum
int
kmip_encode_enum(KMIP *ctx, enum tag t, int32 value)
{
    CHECK_BUFFER_FULL(ctx, 16);
    
    kmip_encode_int32_be(ctx, TAG_TYPE(t, KMIP_TYPE_ENUMERATION));
    kmip_encode_int32_be(ctx, 4);
    kmip_encode_int32_be(ctx, value);
    kmip_encode_int32_be(ctx, 0);
    
    return(KMIP_OK);
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
movq 0x10(%rdi), %rax
subq 0x8(%rdi), %rax
addq (%rdi), %rax
cmpq $0xf, %rax
ja 0xc462
leaq 0x38(%rbx), %rdi
xorl %r14d, %r14d
cmpl $0x0, 0x64(%rdi,%r14)
je 0xc497
addq $0x68, %r14
cmpq $0x820, %r14            # imm = 0x820
jne 0xc44b
jmp 0xc4be
movl %edx, %ebp
shll $0x8, %esi
orl $0x5, %esi
movq %rbx, %rdi
callq 0x60a0
movq %rbx, %rdi
movl $0x4, %esi
callq 0x60a0
movq %rbx, %rdi
movl %ebp, %esi
callq 0x60a0
xorl %ebp, %ebp
movq %rbx, %rdi
xorl %esi, %esi
callq 0x60a0
jmp 0xc4c3
addq %r14, %rdi
movq %rdi, 0x860(%rbx)
leaq 0x131b0(%rip), %rsi     # 0x1f658
movl $0x63, %edx
callq 0x66f0
movl $0x1848, 0x9c(%rbx,%r14) # imm = 0x1848
movl $0xfffffffe, %ebp       # imm = 0xFFFFFFFE
movl %ebp, %eax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/OpenKMIP[P]libkmip/src/kmip.c
// Function: kmip_encode_bool
int
kmip_encode_bool(KMIP *ctx, enum tag t, bool32 value)
{
    CHECK_BUFFER_FULL(ctx, 16);
    
    kmip_encode_int32_be(ctx, TAG_TYPE(t, KMIP_TYPE_BOOLEAN));
    kmip_encode_int32_be(ctx, 8);
    kmip_encode_int32_be(ctx, 0);
    kmip_encode_int32_be(ctx, value);
    
    return(KMIP_OK);
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
movq 0x10(%rdi), %rax
subq 0x8(%rdi), %rax
addq (%rdi), %rax
cmpq $0xf, %rax
ja 0xc500
leaq 0x38(%rbx), %rdi
xorl %r14d, %r14d
cmpl $0x0, 0x64(%rdi,%r14)
je 0xc536
addq $0x68, %r14
cmpq $0x820, %r14            # imm = 0x820
jne 0xc4e9
jmp 0xc55d
movl %edx, %ebp
shll $0x8, %esi
orl $0x6, %esi
movq %rbx, %rdi
callq 0x60a0
movq %rbx, %rdi
movl $0x8, %esi
callq 0x60a0
xorl %r14d, %r14d
movq %rbx, %rdi
xorl %esi, %esi
callq 0x60a0
movq %rbx, %rdi
movl %ebp, %esi
callq 0x60a0
jmp 0xc563
addq %r14, %rdi
movq %rdi, 0x860(%rbx)
leaq 0x13175(%rip), %rsi     # 0x1f6bc
movl $0x63, %edx
callq 0x66f0
movl $0x1855, 0x9c(%rbx,%r14) # imm = 0x1855
movl $0xfffffffe, %r14d      # imm = 0xFFFFFFFE
movl %r14d, %eax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/OpenKMIP[P]libkmip/src/kmip.c
// Function: kmip_encode_text_string
int
kmip_encode_text_string(KMIP *ctx, enum tag t, const TextString *value)
{
    /* TODO (ph) What if value is NULL? */
    uint8 padding = CALCULATE_PADDING(value->size);
    CHECK_BUFFER_FULL(ctx, 8 + value->size + padding);
    
    kmip_encode_int32_be(ctx, TAG_TYPE(t, KMIP_TYPE_TEXT_STRING));
    kmip_encode_int32_be(ctx, value->size);
    
    for(uint32 i = 0; i < value->size; i++)
    {
        kmip_encode_int8_be(ctx, value->value[i]);
    }
    for(uint8 i = 0; i < padding; i++)
    {
        kmip_encode_int8_be(ctx, 0);
    }
    
    return(KMIP_OK);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rdi, %rbx
movq 0x8(%rdx), %rax
movl %eax, %r15d
negb %r15b
movq 0x10(%rdi), %rcx
subq 0x8(%rdi), %rcx
addq (%rdi), %rcx
andb $0x7, %r15b
movzbl %r15b, %edx
addq %rdx, %rax
addq $0x8, %rax
cmpq %rax, %rcx
jae 0xc5c2
leaq 0x38(%rbx), %rdi
xorl %r14d, %r14d
cmpl $0x0, 0x64(%rdi,%r14)
je 0xc61b
addq $0x68, %r14
cmpq $0x820, %r14            # imm = 0x820
jne 0xc5a8
jmp 0xc642
shll $0x8, %esi
orl $0x7, %esi
movq %rbx, %rdi
callq 0x60a0
movl 0x8(%r14), %esi
movq %rbx, %rdi
callq 0x60a0
cmpq $0x0, 0x8(%r14)
je 0xc603
movl $0x1, %ebp
xorl %eax, %eax
movq (%r14), %rcx
movsbl (%rcx,%rax), %esi
movq %rbx, %rdi
callq 0x64c0
movl %ebp, %eax
incl %ebp
cmpq %rax, 0x8(%r14)
ja 0xc5ea
xorl %ebp, %ebp
testb %r15b, %r15b
je 0xc647
movq %rbx, %rdi
xorl %esi, %esi
callq 0x64c0
decb %r15b
jne 0xc60a
jmp 0xc647
addq %r14, %rdi
movq %rdi, 0x860(%rbx)
leaq 0x130f4(%rip), %rsi     # 0x1f720
movl $0x63, %edx
callq 0x66f0
movl $0x1864, 0x9c(%rbx,%r14) # imm = 0x1864
movl $0xfffffffe, %ebp       # imm = 0xFFFFFFFE
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/OpenKMIP[P]libkmip/src/kmip.c
// Function: kmip_encode_byte_string
int
kmip_encode_byte_string(KMIP *ctx, enum tag t, const ByteString *value)
{
    uint8 padding = CALCULATE_PADDING(value->size);
    CHECK_BUFFER_FULL(ctx, 8 + value->size + padding);
    
    kmip_encode_int32_be(ctx, TAG_TYPE(t, KMIP_TYPE_BYTE_STRING));
    kmip_encode_int32_be(ctx, value->size);
    
    for(uint32 i = 0; i < value->size; i++)
    {
        kmip_encode_int8_be(ctx, value->value[i]);
    }
    for(uint8 i = 0; i < padding; i++)
    {
        kmip_encode_int8_be(ctx, 0);
    }
    
    return(KMIP_OK);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rdi, %rbx
movq 0x8(%rdx), %rax
movl %eax, %r15d
negb %r15b
movq 0x10(%rdi), %rcx
subq 0x8(%rdi), %rcx
addq (%rdi), %rcx
andb $0x7, %r15b
movzbl %r15b, %edx
addq %rdx, %rax
addq $0x8, %rax
cmpq %rax, %rcx
jae 0xc6ab
leaq 0x38(%rbx), %rdi
xorl %r14d, %r14d
cmpl $0x0, 0x64(%rdi,%r14)
je 0xc704
addq $0x68, %r14
cmpq $0x820, %r14            # imm = 0x820
jne 0xc691
jmp 0xc72b
shll $0x8, %esi
orl $0x8, %esi
movq %rbx, %rdi
callq 0x60a0
movl 0x8(%r14), %esi
movq %rbx, %rdi
callq 0x60a0
cmpq $0x0, 0x8(%r14)
je 0xc6ec
movl $0x1, %ebp
xorl %eax, %eax
movq (%r14), %rcx
movsbl (%rcx,%rax), %esi
movq %rbx, %rdi
callq 0x64c0
movl %ebp, %eax
incl %ebp
cmpq %rax, 0x8(%r14)
ja 0xc6d3
xorl %ebp, %ebp
testb %r15b, %r15b
je 0xc730
movq %rbx, %rdi
xorl %esi, %esi
callq 0x64c0
decb %r15b
jne 0xc6f3
jmp 0xc730
addq %r14, %rdi
movq %rdi, 0x860(%rbx)
leaq 0x1306f(%rip), %rsi     # 0x1f784
movl $0x63, %edx
callq 0x66f0
movl $0x1879, 0x9c(%rbx,%r14) # imm = 0x1879
movl $0xfffffffe, %ebp       # imm = 0xFFFFFFFE
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/OpenKMIP[P]libkmip/src/kmip.c
// Function: kmip_encode_date_time
int
kmip_encode_date_time(KMIP *ctx, enum tag t, int64 value)
{
    CHECK_BUFFER_FULL(ctx, 16);
    
    kmip_encode_int32_be(ctx, TAG_TYPE(t, KMIP_TYPE_DATE_TIME));
    kmip_encode_int32_be(ctx, 8);
    kmip_encode_int64_be(ctx, value);
    
    return(KMIP_OK);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x10(%rdi), %rax
subq 0x8(%rdi), %rax
addq (%rdi), %rax
cmpq $0xf, %rax
ja 0xc773
leaq 0x38(%rbx), %rdi
xorl %r14d, %r14d
cmpl $0x0, 0x64(%rdi,%r14)
je 0xc7a0
addq $0x68, %r14
cmpq $0x820, %r14            # imm = 0x820
jne 0xc75c
jmp 0xc7c7
movq %rdx, %r14
shll $0x8, %esi
orl $0x9, %esi
movq %rbx, %rdi
callq 0x60a0
movq %rbx, %rdi
movl $0x8, %esi
callq 0x60a0
movq %rbx, %rdi
movq %r14, %rsi
callq 0x6910
xorl %eax, %eax
jmp 0xc7cc
addq %r14, %rdi
movq %rdi, 0x860(%rbx)
leaq 0x13037(%rip), %rsi     # 0x1f7e8
movl $0x63, %edx
callq 0x66f0
movl $0x188d, 0x9c(%rbx,%r14) # imm = 0x188D
movl $0xfffffffe, %eax       # imm = 0xFFFFFFFE
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/OpenKMIP[P]libkmip/src/kmip.c
// Function: kmip_encode_interval
int
kmip_encode_interval(KMIP *ctx, enum tag t, uint32 value)
{
    CHECK_BUFFER_FULL(ctx, 16);
    
    kmip_encode_int32_be(ctx, TAG_TYPE(t, KMIP_TYPE_INTERVAL));
    kmip_encode_int32_be(ctx, 4);
    kmip_encode_int32_be(ctx, value);
    kmip_encode_int32_be(ctx, 0);
    
    return(KMIP_OK);
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
movq 0x10(%rdi), %rax
subq 0x8(%rdi), %rax
addq (%rdi), %rax
cmpq $0xf, %rax
ja 0xc80a
leaq 0x38(%rbx), %rdi
xorl %r14d, %r14d
cmpl $0x0, 0x64(%rdi,%r14)
je 0xc83f
addq $0x68, %r14
cmpq $0x820, %r14            # imm = 0x820
jne 0xc7f3
jmp 0xc866
movl %edx, %ebp
shll $0x8, %esi
orl $0xa, %esi
movq %rbx, %rdi
callq 0x60a0
movq %rbx, %rdi
movl $0x4, %esi
callq 0x60a0
movq %rbx, %rdi
movl %ebp, %esi
callq 0x60a0
xorl %ebp, %ebp
movq %rbx, %rdi
xorl %esi, %esi
callq 0x60a0
jmp 0xc86b
addq %r14, %rdi
movq %rdi, 0x860(%rbx)
leaq 0x12ffc(%rip), %rsi     # 0x1f84c
movl $0x63, %edx
callq 0x66f0
movl $0x1899, 0x9c(%rbx,%r14) # imm = 0x1899
movl $0xfffffffe, %ebp       # imm = 0xFFFFFFFE
movl %ebp, %eax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/OpenKMIP[P]libkmip/src/kmip.c
// Function: kmip_encode_length
int
kmip_encode_length(KMIP *ctx, intptr length)
{
    // NOTE: Length is encoded as a signed 32-bit integer but the usage of this
    // function uses the difference between two buffer pointers to determine
    // the length in bytes that should be encoded. See the intptr typedef in
    // the header for type details.
    int result = 0;

    if((length > INT_MAX) || (length < 0))
    {
        HANDLE_FAILURE(ctx, KMIP_INVALID_LENGTH);
    }
    else
    {
        result = kmip_encode_int32_be(ctx, (int32)length);
        CHECK_RESULT(ctx, result);
    }

    return(KMIP_OK);
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
cmpq $0x7fffffff, %rsi       # imm = 0x7FFFFFFF
jbe 0xc88d
movl $0xffffffeb, %ebp       # imm = 0xFFFFFFEB
movl $0x18ae, %edx           # imm = 0x18AE
jmp 0xc8a0
movq %rbx, %rdi
callq 0x60a0
testl %eax, %eax
je 0xc8b8
movl %eax, %ebp
movl $0x18b3, %edx           # imm = 0x18B3
leaq 0x14696(%rip), %rsi     # 0x20f3d
movq %rbx, %rdi
callq 0x6de0
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
xorl %ebp, %ebp
jmp 0xc8af
// File: /workspace/github_c_makefile_star2_O1/OpenKMIP[P]libkmip/src/kmip.c
// Function: kmip_encode_name
int
kmip_encode_name(KMIP *ctx, const Name *value)
{
    /* TODO (ph) Check for value == NULL? */
    
    int result = 0;
    
    result = kmip_encode_int32_be(ctx, TAG_TYPE(KMIP_TAG_NAME, KMIP_TYPE_STRUCTURE));
    CHECK_RESULT(ctx, result);
    
    uint8 *length_index = ctx->index;
    uint8 *value_index = ctx->index += 4;
    
    result = kmip_encode_text_string(ctx, KMIP_TAG_NAME_VALUE, value->value);
    CHECK_RESULT(ctx, result);
    
    result = kmip_encode_enum(ctx, KMIP_TAG_NAME_TYPE, value->type);
    CHECK_RESULT(ctx, result);
    
    uint8 *curr_index = ctx->index;
    ctx->index = length_index;

    result = kmip_encode_length(ctx, curr_index - value_index);
    CHECK_RESULT(ctx, result);
    
    ctx->index = curr_index;
    
    return(KMIP_OK);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rsi, %r14
movq %rdi, %rbx
movl $0x42005301, %esi       # imm = 0x42005301
callq 0x60a0
testl %eax, %eax
je 0xc8ee
movl %eax, %ebp
leaq 0x1466f(%rip), %rsi     # 0x20f50
movq %rbx, %rdi
movl $0x18c1, %edx           # imm = 0x18C1
jmp 0xc975
movq 0x8(%rbx), %r12
leaq 0x4(%r12), %r15
movq %r15, 0x8(%rbx)
movq (%r14), %rdx
movq %rbx, %rdi
movl $0x420055, %esi         # imm = 0x420055
callq 0x6670
testl %eax, %eax
je 0xc922
movl %eax, %ebp
leaq 0x14638(%rip), %rsi     # 0x20f50
movq %rbx, %rdi
movl $0x18c7, %edx           # imm = 0x18C7
jmp 0xc975
movl 0x8(%r14), %edx
movq %rbx, %rdi
movl $0x420054, %esi         # imm = 0x420054
callq 0x66d0
testl %eax, %eax
je 0xc94a
movl %eax, %ebp
leaq 0x14610(%rip), %rsi     # 0x20f50
movq %rbx, %rdi
movl $0x18ca, %edx           # imm = 0x18CA
jmp 0xc975
movq 0x8(%rbx), %r14
movq %r12, 0x8(%rbx)
movq %r14, %rsi
subq %r15, %rsi
movq %rbx, %rdi
callq 0x6a80
testl %eax, %eax
je 0xc985
movl %eax, %ebp
leaq 0x145e3(%rip), %rsi     # 0x20f50
movq %rbx, %rdi
movl $0x18d0, %edx           # imm = 0x18D0
callq 0x6de0
movl %ebp, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %r14, 0x8(%rbx)
xorl %ebp, %ebp
jmp 0xc97a
// File: /workspace/github_c_makefile_star2_O1/OpenKMIP[P]libkmip/src/kmip.c
// Function: kmip_encode_template_attribute
int
kmip_encode_template_attribute(KMIP *ctx, const TemplateAttribute *value)
{
    int result = 0;
    
    result = kmip_encode_int32_be(ctx, TAG_TYPE(KMIP_TAG_TEMPLATE_ATTRIBUTE, KMIP_TYPE_STRUCTURE));
    CHECK_RESULT(ctx, result);
    
    uint8 *length_index = ctx->index;
    uint8 *value_index = ctx->index += 4;
    
    for(size_t i = 0; i < value->name_count; i++)
    {
        result = kmip_encode_name(ctx, &value->names[i]);
        CHECK_RESULT(ctx, result);
    }
    
    for(size_t i = 0; i <value->attribute_count; i++)
    {
        result = kmip_encode_attribute(ctx, &value->attributes[i]);
        CHECK_RESULT(ctx, result);
    }
    
    uint8 *curr_index = ctx->index;
    ctx->index = length_index;
    
    result = kmip_encode_length(ctx, curr_index - value_index);
    CHECK_RESULT(ctx, result);
    
    ctx->index = curr_index;
    
    return(KMIP_OK);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movl $0x42009101, %esi       # imm = 0x42009101
callq 0x60a0
testl %eax, %eax
je 0xd889
movl %eax, %ebp
leaq 0x1382c(%rip), %rsi     # 0x210a3
movq %rbx, %rdi
movl $0x1ac7, %edx           # imm = 0x1AC7
callq 0x6de0
jmp 0xd9c4
movq 0x8(%rbx), %rax
movq %rax, 0x10(%rsp)
leaq 0x4(%rax), %r15
movq %r15, 0x8(%rbx)
cmpq $0x0, 0x8(%r14)
setne %r13b
je 0xd8b8
movq (%r14), %rsi
movq %rbx, %rdi
callq 0x6180
testl %eax, %eax
je 0xd8ba
movl %eax, %ebp
jmp 0xd8f1
jmp 0xd905
movq %r15, 0x8(%rsp)
movl $0x10, %esi
xorl %r15d, %r15d
incq %r15
cmpq 0x8(%r14), %r15
setb %r13b
jae 0xd92d
leaq 0x10(%rsi), %r12
addq (%r14), %rsi
movq %rbx, %rdi
callq 0x6180
movq %r12, %rsi
testl %eax, %eax
je 0xd8c7
movl %eax, %ebp
movq 0x8(%rsp), %r15
leaq 0x137ab(%rip), %rsi     # 0x210a3
movq %rbx, %rdi
movl $0x1acf, %edx           # imm = 0x1ACF
callq 0x6de0
testb %r13b, %r13b
jne 0xd9c4
cmpq $0x0, 0x18(%r14)
setne %r13b
je 0xd984
movq 0x10(%r14), %rsi
movq %rbx, %rdi
callq 0x6a90
testl %eax, %eax
je 0xd934
movl %eax, %ebp
jmp 0xd970
movq 0x8(%rsp), %r15
jmp 0xd905
movq %r15, 0x8(%rsp)
movl $0x10, %esi
xorl %r15d, %r15d
incq %r15
cmpq 0x18(%r14), %r15
setb %r13b
jae 0xd9d5
leaq 0x10(%rsi), %r12
addq 0x10(%r14), %rsi
movq %rbx, %rdi
callq 0x6a90
movq %r12, %rsi
testl %eax, %eax
je 0xd941
movl %eax, %ebp
movq 0x8(%rsp), %r15
leaq 0x1372c(%rip), %rsi     # 0x210a3
movq %rbx, %rdi
movl $0x1ad5, %edx           # imm = 0x1AD5
callq 0x6de0
testb %r13b, %r13b
jne 0xd9c4
movq 0x8(%rbx), %r14
movq 0x10(%rsp), %rax
movq %rax, 0x8(%rbx)
movq %r14, %rsi
subq %r15, %rsi
movq %rbx, %rdi
callq 0x6a80
testl %eax, %eax
je 0xd9be
movl %eax, %ebp
leaq 0x136f2(%rip), %rsi     # 0x210a3
movq %rbx, %rdi
movl $0x1adc, %edx           # imm = 0x1ADC
jmp 0xd87f
movq %r14, 0x8(%rbx)
xorl %ebp, %ebp
movl %ebp, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x8(%rsp), %r15
jmp 0xd984