LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O2/OpenKMIP[P]libkmip/src/kmip.c
// Function: kmip_free_mac_signature_key_information
void
kmip_free_mac_signature_key_information(KMIP *ctx, MACSignatureKeyInformation *value)
{
    if(value != NULL)
    {
        if(value->unique_identifier != NULL)
        {
            kmip_free_text_string(ctx, value->unique_identifier);
            
            ctx->free_func(ctx->state, value->unique_identifier);
            value->unique_identifier = NULL;
        }
        
        if(value->cryptographic_parameters != NULL)
        {
            kmip_free_cryptographic_parameters(ctx, value->cryptographic_parameters);
            
            ctx->free_func(ctx->state, value->cryptographic_parameters);
            value->cryptographic_parameters = NULL;
        }
    }
    
    return;
}

// Assembly:
testq %rsi, %rsi
je 0x82d0
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq (%rsi), %rsi
testq %rsi, %rsi
je 0x82a1
movq %r14, %rdi
callq 0x6350
movq 0x890(%r14), %rdi
movq (%rbx), %rsi
callq *0x878(%r14)
andq $0x0, (%rbx)
movq 0x8(%rbx), %rsi
testq %rsi, %rsi
je 0x82c9
movq %r14, %rdi
callq 0x6e50
movq 0x890(%r14), %rdi
movq 0x8(%rbx), %rsi
callq *0x878(%r14)
andq $0x0, 0x8(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/OpenKMIP[P]libkmip/src/kmip.c
// Function: kmip_free_key_wrapping_data
void
kmip_free_key_wrapping_data(KMIP *ctx, KeyWrappingData *value)
{
    if(value != NULL)
    {
        if(value->encryption_key_info != NULL)
        {
            kmip_free_encryption_key_information(ctx, value->encryption_key_info);
            
            ctx->free_func(ctx->state, value->encryption_key_info);
            value->encryption_key_info = NULL;
        }
        
        if(value->mac_signature_key_info != NULL)
        {
            kmip_free_mac_signature_key_information(ctx, value->mac_signature_key_info);
            
            ctx->free_func(ctx->state, value->mac_signature_key_info);
            value->mac_signature_key_info = NULL;
        }
        
        if(value->mac_signature != NULL)
        {
            kmip_free_byte_string(ctx, value->mac_signature);
            
            ctx->free_func(ctx->state, value->mac_signature);
            value->mac_signature = NULL;
        }
        
        if(value->iv_counter_nonce != NULL)
        {
            kmip_free_byte_string(ctx, value->iv_counter_nonce);
            
            ctx->free_func(ctx->state, value->iv_counter_nonce);
            value->iv_counter_nonce = NULL;
        }
        
        value->wrapping_method = 0;
        value->encoding_option = 0;
    }
    
    return;
}

// Assembly:
testq %rsi, %rsi
je 0x8392
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq 0x8(%rsi), %rsi
testq %rsi, %rsi
je 0x830c
movq %r14, %rdi
callq 0x6a70
movq 0x890(%r14), %rdi
movq 0x8(%rbx), %rsi
callq *0x878(%r14)
andq $0x0, 0x8(%rbx)
movq 0x10(%rbx), %rsi
testq %rsi, %rsi
je 0x8334
movq %r14, %rdi
callq 0x6af0
movq 0x890(%r14), %rdi
movq 0x10(%rbx), %rsi
callq *0x878(%r14)
andq $0x0, 0x10(%rbx)
movq 0x18(%rbx), %rsi
testq %rsi, %rsi
je 0x835c
movq %r14, %rdi
callq 0x6100
movq 0x890(%r14), %rdi
movq 0x18(%rbx), %rsi
callq *0x878(%r14)
andq $0x0, 0x18(%rbx)
movq 0x20(%rbx), %rsi
testq %rsi, %rsi
je 0x8384
movq %r14, %rdi
callq 0x6100
movq 0x890(%r14), %rdi
movq 0x20(%rbx), %rsi
callq *0x878(%r14)
andq $0x0, 0x20(%rbx)
andl $0x0, (%rbx)
andl $0x0, 0x28(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/OpenKMIP[P]libkmip/src/kmip.c
// Function: kmip_free_key_block
void
kmip_free_key_block(KMIP *ctx, KeyBlock *value)
{
    if(value != NULL)
    {
        if(value->key_value != NULL)
        {
            if(value->key_value_type == KMIP_TYPE_BYTE_STRING)
            {
                kmip_free_byte_string(ctx, value->key_value);
                ctx->free_func(ctx->state, value->key_value);
            }
            else
            {
                kmip_free_key_value(ctx, value->key_format_type, value->key_value);
                ctx->free_func(ctx->state, value->key_value);
            }
            value->key_value = NULL;
        }
        
        if(value->key_wrapping_data != NULL)
        {
            kmip_free_key_wrapping_data(ctx, value->key_wrapping_data);
            ctx->free_func(ctx->state, value->key_wrapping_data);
            value->key_wrapping_data = NULL;
        }
        
        kmip_init_key_block(value);
    }
    
    return;
}

// Assembly:
testq %rsi, %rsi
je 0x8421
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq 0x8(%rsi), %rdx
testq %rdx, %rdx
je 0x83e3
cmpl $0x8, 0x10(%rbx)
jne 0x83c2
movq %r14, %rdi
movq %rdx, %rsi
callq 0x6100
jmp 0x83cc
movl (%rbx), %esi
movq %r14, %rdi
callq 0x6430
movq 0x890(%r14), %rdi
movq 0x8(%rbx), %rsi
callq *0x878(%r14)
andq $0x0, 0x8(%rbx)
movq 0x20(%rbx), %rsi
testq %rsi, %rsi
je 0x8406
movq %r14, %rdi
callq 0x6920
movq 0x890(%r14), %rdi
movq 0x20(%rbx), %rsi
callq *0x878(%r14)
xorps %xmm0, %xmm0
andq $0x0, 0x10(%rbx)
movups %xmm0, (%rbx)
orl $-0x1, 0x18(%rbx)
andq $0x0, 0x20(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/OpenKMIP[P]libkmip/src/kmip.c
// Function: kmip_free_symmetric_key
void
kmip_free_symmetric_key(KMIP *ctx, SymmetricKey *value)
{
    if(value != NULL)
    {
        if(value->key_block != NULL)
        {
            kmip_free_key_block(ctx, value->key_block);
            ctx->free_func(ctx->state, value->key_block);
            value->key_block = NULL;
        }
    }
    
    return;
}

// Assembly:
testq %rsi, %rsi
je 0x845a
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq (%rsi), %rsi
testq %rsi, %rsi
je 0x8453
movq %rdi, %r14
callq 0x6b90
movq 0x890(%r14), %rdi
movq (%rbx), %rsi
callq *0x878(%r14)
andq $0x0, (%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/OpenKMIP[P]libkmip/src/kmip.c
// Function: kmip_free_public_key
void
kmip_free_public_key(KMIP *ctx, PublicKey *value)
{
    if(value != NULL)
    {
        if(value->key_block != NULL)
        {
            kmip_free_key_block(ctx, value->key_block);
            ctx->free_func(ctx->state, value->key_block);
            value->key_block = NULL;
        }
    }
    
    return;
}

// Assembly:
testq %rsi, %rsi
je 0x8493
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq (%rsi), %rsi
testq %rsi, %rsi
je 0x848c
movq %rdi, %r14
callq 0x6b90
movq 0x890(%r14), %rdi
movq (%rbx), %rsi
callq *0x878(%r14)
andq $0x0, (%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/OpenKMIP[P]libkmip/src/kmip.c
// Function: kmip_free_private_key
void
kmip_free_private_key(KMIP *ctx, PrivateKey *value)
{
    if(value != NULL)
    {
        if(value->key_block != NULL)
        {
            kmip_free_key_block(ctx, value->key_block);
            ctx->free_func(ctx->state, value->key_block);
            value->key_block = NULL;
        }
    }
    
    return;
}

// Assembly:
testq %rsi, %rsi
je 0x84cc
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq (%rsi), %rsi
testq %rsi, %rsi
je 0x84c5
movq %rdi, %r14
callq 0x6b90
movq 0x890(%r14), %rdi
movq (%rbx), %rsi
callq *0x878(%r14)
andq $0x0, (%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/OpenKMIP[P]libkmip/src/kmip.c
// Function: kmip_free_key_wrapping_specification
void
kmip_free_key_wrapping_specification(KMIP *ctx, KeyWrappingSpecification *value)
{
    if(value != NULL)
    {
        if(value->encryption_key_info != NULL)
        {
            kmip_free_encryption_key_information(ctx, value->encryption_key_info);
            ctx->free_func(ctx->state, value->encryption_key_info);
            value->encryption_key_info = NULL;
        }
        
        if(value->mac_signature_key_info != NULL)
        {
            kmip_free_mac_signature_key_information(ctx, value->mac_signature_key_info);
            ctx->free_func(ctx->state, value->mac_signature_key_info);
            value->mac_signature_key_info = NULL;
        }
        
        if(value->attribute_names != NULL)
        {
            for(size_t i = 0; i < value->attribute_name_count; i++)
            {
                kmip_free_text_string(ctx, &value->attribute_names[i]);
            }
            ctx->free_func(ctx->state, value->attribute_names);
            value->attribute_names = NULL;
        }
        value->attribute_name_count = 0;
        
        value->wrapping_method = 0;
        value->encoding_option = 0;
    }
    
    return;
}

// Assembly:
testq %rsi, %rsi
je 0x858d
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq 0x8(%rsi), %rsi
testq %rsi, %rsi
je 0x850c
movq %r14, %rdi
callq 0x6a70
movq 0x890(%r14), %rdi
movq 0x8(%rbx), %rsi
callq *0x878(%r14)
andq $0x0, 0x8(%rbx)
movq 0x10(%rbx), %rsi
testq %rsi, %rsi
je 0x8534
movq %r14, %rdi
callq 0x6af0
movq 0x890(%r14), %rdi
movq 0x10(%rbx), %rsi
callq *0x878(%r14)
andq $0x0, 0x10(%rbx)
cmpq $0x0, 0x18(%rbx)
je 0x8576
xorl %r15d, %r15d
xorl %r12d, %r12d
cmpq 0x20(%rbx), %r12
jae 0x855f
movq 0x18(%rbx), %rsi
addq %r15, %rsi
movq %r14, %rdi
callq 0x6350
incq %r12
addq $0x10, %r15
jmp 0x8541
movq 0x890(%r14), %rdi
movq 0x18(%rbx), %rsi
callq *0x878(%r14)
andq $0x0, 0x18(%rbx)
andq $0x0, 0x20(%rbx)
andl $0x0, (%rbx)
andl $0x0, 0x28(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/OpenKMIP[P]libkmip/src/kmip.c
// Function: kmip_free_create_request_payload
void
kmip_free_create_request_payload(KMIP *ctx, CreateRequestPayload *value)
{
    if(value != NULL)
    {
        if(value->template_attribute != NULL)
        {
            kmip_free_template_attribute(ctx, value->template_attribute);
            ctx->free_func(ctx->state, value->template_attribute);
            value->template_attribute = NULL;
        }

        if(value->attributes != NULL)
        {
            kmip_free_attributes(ctx, value->attributes);
            ctx->free_func(ctx->state, value->attributes);
            value->attributes = NULL;
        }

        if(value->protection_storage_masks != NULL)
        {
            kmip_free_protection_storage_masks(ctx, value->protection_storage_masks);
            ctx->free_func(ctx->state, value->protection_storage_masks);
            value->protection_storage_masks = NULL;
        }
        
        value->object_type = 0;
    }
    
    return;
}

// Assembly:
testq %rsi, %rsi
je 0x8623
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq 0x8(%rsi), %rsi
testq %rsi, %rsi
je 0x85c9
movq %r14, %rdi
callq 0x6460
movq 0x890(%r14), %rdi
movq 0x8(%rbx), %rsi
callq *0x878(%r14)
andq $0x0, 0x8(%rbx)
movq 0x10(%rbx), %rsi
testq %rsi, %rsi
je 0x85f1
movq %r14, %rdi
callq 0x6e30
movq 0x890(%r14), %rdi
movq 0x10(%rbx), %rsi
callq *0x878(%r14)
andq $0x0, 0x10(%rbx)
movq 0x18(%rbx), %rsi
testq %rsi, %rsi
je 0x8619
movq %r14, %rdi
callq 0x6b80
movq 0x890(%r14), %rdi
movq 0x18(%rbx), %rsi
callq *0x878(%r14)
andq $0x0, 0x18(%rbx)
andl $0x0, (%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/OpenKMIP[P]libkmip/src/kmip.c
// Function: kmip_free_create_response_payload
void
kmip_free_create_response_payload(KMIP *ctx, CreateResponsePayload *value)
{
    if(value != NULL)
    {
        if(value->unique_identifier != NULL)
        {
            kmip_free_text_string(ctx, value->unique_identifier);
            ctx->free_func(ctx->state, value->unique_identifier);
            value->unique_identifier = NULL;
        }
        
        if(value->template_attribute != NULL)
        {
            kmip_free_template_attribute(ctx, value->template_attribute);
            ctx->free_func(ctx->state, value->template_attribute);
            value->template_attribute = NULL;
        }
        
        value->object_type = 0;
    }
    
    return;
}

// Assembly:
testq %rsi, %rsi
je 0x868d
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq 0x8(%rsi), %rsi
testq %rsi, %rsi
je 0x865b
movq %r14, %rdi
callq 0x6350
movq 0x890(%r14), %rdi
movq 0x8(%rbx), %rsi
callq *0x878(%r14)
andq $0x0, 0x8(%rbx)
movq 0x10(%rbx), %rsi
testq %rsi, %rsi
je 0x8683
movq %r14, %rdi
callq 0x6460
movq 0x890(%r14), %rdi
movq 0x10(%rbx), %rsi
callq *0x878(%r14)
andq $0x0, 0x10(%rbx)
andl $0x0, (%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/OpenKMIP[P]libkmip/src/kmip.c
// Function: kmip_free_get_request_payload
void
kmip_free_get_request_payload(KMIP *ctx, GetRequestPayload *value)
{
    if(value != NULL)
    {
        if(value->unique_identifier != NULL)
        {
            kmip_free_text_string(ctx, value->unique_identifier);
            ctx->free_func(ctx->state, value->unique_identifier);
            value->unique_identifier = NULL;
        }
        
        if(value->key_wrapping_spec != NULL)
        {
            kmip_free_key_wrapping_specification(ctx, value->key_wrapping_spec);
            ctx->free_func(ctx->state, value->key_wrapping_spec);
            value->key_wrapping_spec = NULL;
        }
        
        value->key_format_type = 0;
        value->key_compression_type = 0;
        value->key_wrap_type = 0;
    }
    
    return;
}

// Assembly:
testq %rsi, %rsi
je 0x86fa
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq (%rsi), %rsi
testq %rsi, %rsi
je 0x86c2
movq %r14, %rdi
callq 0x6350
movq 0x890(%r14), %rdi
movq (%rbx), %rsi
callq *0x878(%r14)
andq $0x0, (%rbx)
movq 0x10(%rbx), %rsi
testq %rsi, %rsi
je 0x86ea
movq %r14, %rdi
callq 0x68c0
movq 0x890(%r14), %rdi
movq 0x10(%rbx), %rsi
callq *0x878(%r14)
andq $0x0, 0x10(%rbx)
andq $0x0, 0x8(%rbx)
andl $0x0, 0x18(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/OpenKMIP[P]libkmip/src/kmip.c
// Function: kmip_free_destroy_request_payload
void
kmip_free_destroy_request_payload(KMIP *ctx, DestroyRequestPayload *value)
{
    if(value != NULL)
    {
        if(value->unique_identifier != NULL)
        {
            kmip_free_text_string(ctx, value->unique_identifier);
            ctx->free_func(ctx->state, value->unique_identifier);
            value->unique_identifier = NULL;
        }
    }
    
    return;
}

// Assembly:
testq %rsi, %rsi
je 0x87c6
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq (%rsi), %rsi
testq %rsi, %rsi
je 0x87bf
movq %rdi, %r14
callq 0x6350
movq 0x890(%r14), %rdi
movq (%rbx), %rsi
callq *0x878(%r14)
andq $0x0, (%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/OpenKMIP[P]libkmip/src/kmip.c
// Function: kmip_free_destroy_response_payload
void
kmip_free_destroy_response_payload(KMIP *ctx, DestroyResponsePayload *value)
{
    if(value != NULL)
    {
        if(value->unique_identifier != NULL)
        {
            kmip_free_text_string(ctx, value->unique_identifier);
            ctx->free_func(ctx->state, value->unique_identifier);
            value->unique_identifier = NULL;
        }
    }
    
    return;
}

// Assembly:
testq %rsi, %rsi
je 0x87ff
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq (%rsi), %rsi
testq %rsi, %rsi
je 0x87f8
movq %rdi, %r14
callq 0x6350
movq 0x890(%r14), %rdi
movq (%rbx), %rsi
callq *0x878(%r14)
andq $0x0, (%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/OpenKMIP[P]libkmip/src/kmip.c
// Function: kmip_free_query_request_payload
void
kmip_free_query_request_payload(KMIP *ctx, QueryRequestPayload *value)
{
    if(ctx == NULL || value == NULL)
    {
        return;
    }

    if (value->functions != NULL)
    {
        kmip_free_query_functions(ctx, value->functions);
        ctx->free_func(ctx->state, value->functions);
        value->functions = NULL;
    }
}

// Assembly:
testq %rdi, %rdi
sete %al
testq %rsi, %rsi
sete %cl
orb %al, %cl
jne 0x88e9
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq (%rsi), %rsi
testq %rsi, %rsi
je 0x88e2
movq %rdi, %r14
callq 0x6a90
movq 0x890(%r14), %rdi
movq (%rbx), %rsi
callq *0x878(%r14)
andq $0x0, (%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/OpenKMIP[P]libkmip/src/kmip.c
// Function: kmip_free_query_response_payload
void
kmip_free_query_response_payload(KMIP *ctx, QueryResponsePayload *value)
{
    if (value->operations)
    {
        kmip_free_operations(ctx, value->operations);
        ctx->free_func(ctx->state, value->operations);
        value->operations = NULL;
    }
    if (value->objects)
    {
        kmip_free_objects(ctx, value->objects);
        ctx->free_func(ctx->state, value->objects);
        value->objects = NULL;
    }

    if (value->vendor_identification)
    {
        kmip_free_text_string(ctx, value->vendor_identification);
        ctx->free_func(ctx->state, value->vendor_identification);
        value->vendor_identification = NULL;
    }

    if (value->server_information)
    {
        kmip_free_server_information(ctx, value->server_information);
        ctx->free_func(ctx->state, value->server_information);
        value->server_information = NULL;
    }
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq (%rsi), %rsi
testq %rsi, %rsi
je 0x8a10
movq %r14, %rdi
callq 0x6e10
movq 0x890(%r14), %rdi
movq (%rbx), %rsi
callq *0x878(%r14)
andq $0x0, (%rbx)
movq 0x8(%rbx), %rsi
testq %rsi, %rsi
je 0x8a38
movq %r14, %rdi
callq 0x6230
movq 0x890(%r14), %rdi
movq 0x8(%rbx), %rsi
callq *0x878(%r14)
andq $0x0, 0x8(%rbx)
movq 0x10(%rbx), %rsi
testq %rsi, %rsi
je 0x8a60
movq %r14, %rdi
callq 0x6350
movq 0x890(%r14), %rdi
movq 0x10(%rbx), %rsi
callq *0x878(%r14)
andq $0x0, 0x10(%rbx)
movq 0x18(%rbx), %rsi
testq %rsi, %rsi
je 0x8a88
movq %r14, %rdi
callq 0x6970
movq 0x890(%r14), %rdi
movq 0x18(%rbx), %rsi
callq *0x878(%r14)
andq $0x0, 0x18(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/OpenKMIP[P]libkmip/src/kmip.c
// Function: kmip_free_nonce
void
kmip_free_nonce(KMIP *ctx, Nonce *value)
{
    if(value != NULL)
    {
        if(value->nonce_id != NULL)
        {
            kmip_free_byte_string(ctx, value->nonce_id);
            ctx->free_func(ctx->state, value->nonce_id);
            value->nonce_id = NULL;
        }
        
        if(value->nonce_value != NULL)
        {
            kmip_free_byte_string(ctx, value->nonce_value);
            ctx->free_func(ctx->state, value->nonce_value);
            value->nonce_value = NULL;
        }
    }
    
    return;
}

// Assembly:
testq %rsi, %rsi
je 0x8af3
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq (%rsi), %rsi
testq %rsi, %rsi
je 0x8ac4
movq %r14, %rdi
callq 0x6100
movq 0x890(%r14), %rdi
movq (%rbx), %rsi
callq *0x878(%r14)
andq $0x0, (%rbx)
movq 0x8(%rbx), %rsi
testq %rsi, %rsi
je 0x8aec
movq %r14, %rdi
callq 0x6100
movq 0x890(%r14), %rdi
movq 0x8(%rbx), %rsi
callq *0x878(%r14)
andq $0x0, 0x8(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/OpenKMIP[P]libkmip/src/kmip.c
// Function: kmip_free_username_password_credential
void
kmip_free_username_password_credential(KMIP *ctx, UsernamePasswordCredential *value)
{
    if(value != NULL)
    {
        if(value->username != NULL)
        {
            kmip_free_text_string(ctx, value->username);
            ctx->free_func(ctx->state, value->username);
            value->username = NULL;
        }
        
        if(value->password != NULL)
        {
            kmip_free_text_string(ctx, value->password);
            ctx->free_func(ctx->state, value->password);
            value->password = NULL;
        }
    }
    
    return;
}

// Assembly:
testq %rsi, %rsi
je 0x8b57
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq (%rsi), %rsi
testq %rsi, %rsi
je 0x8b28
movq %r14, %rdi
callq 0x6350
movq 0x890(%r14), %rdi
movq (%rbx), %rsi
callq *0x878(%r14)
andq $0x0, (%rbx)
movq 0x8(%rbx), %rsi
testq %rsi, %rsi
je 0x8b50
movq %r14, %rdi
callq 0x6350
movq 0x890(%r14), %rdi
movq 0x8(%rbx), %rsi
callq *0x878(%r14)
andq $0x0, 0x8(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/OpenKMIP[P]libkmip/src/kmip.c
// Function: kmip_free_device_credential
void
kmip_free_device_credential(KMIP *ctx, DeviceCredential *value)
{
    if(value != NULL)
    {
        if(value->device_serial_number != NULL)
        {
            kmip_free_text_string(ctx, value->device_serial_number);
            ctx->free_func(ctx->state, value->device_serial_number);
            value->device_serial_number = NULL;
        }
        
        if(value->password != NULL)
        {
            kmip_free_text_string(ctx, value->password);
            ctx->free_func(ctx->state, value->password);
            value->password = NULL;
        }
        
        if(value->device_identifier != NULL)
        {
            kmip_free_text_string(ctx, value->device_identifier);
            ctx->free_func(ctx->state, value->device_identifier);
            value->device_identifier = NULL;
        }
        
        if(value->network_identifier != NULL)
        {
            kmip_free_text_string(ctx, value->network_identifier);
            ctx->free_func(ctx->state, value->network_identifier);
            value->network_identifier = NULL;
        }
        
        if(value->machine_identifier != NULL)
        {
            kmip_free_text_string(ctx, value->machine_identifier);
            ctx->free_func(ctx->state, value->machine_identifier);
            value->machine_identifier = NULL;
        }
        
        if(value->media_identifier != NULL)
        {
            kmip_free_text_string(ctx, value->media_identifier);
            ctx->free_func(ctx->state, value->media_identifier);
            value->media_identifier = NULL;
        }
    }
    
    return;
}

// Assembly:
testq %rsi, %rsi
je 0x8c5f
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq (%rsi), %rsi
testq %rsi, %rsi
je 0x8b90
movq %r14, %rdi
callq 0x6350
movq 0x890(%r14), %rdi
movq (%rbx), %rsi
callq *0x878(%r14)
andq $0x0, (%rbx)
movq 0x8(%rbx), %rsi
testq %rsi, %rsi
je 0x8bb8
movq %r14, %rdi
callq 0x6350
movq 0x890(%r14), %rdi
movq 0x8(%rbx), %rsi
callq *0x878(%r14)
andq $0x0, 0x8(%rbx)
movq 0x10(%rbx), %rsi
testq %rsi, %rsi
je 0x8be0
movq %r14, %rdi
callq 0x6350
movq 0x890(%r14), %rdi
movq 0x10(%rbx), %rsi
callq *0x878(%r14)
andq $0x0, 0x10(%rbx)
movq 0x18(%rbx), %rsi
testq %rsi, %rsi
je 0x8c08
movq %r14, %rdi
callq 0x6350
movq 0x890(%r14), %rdi
movq 0x18(%rbx), %rsi
callq *0x878(%r14)
andq $0x0, 0x18(%rbx)
movq 0x20(%rbx), %rsi
testq %rsi, %rsi
je 0x8c30
movq %r14, %rdi
callq 0x6350
movq 0x890(%r14), %rdi
movq 0x20(%rbx), %rsi
callq *0x878(%r14)
andq $0x0, 0x20(%rbx)
movq 0x28(%rbx), %rsi
testq %rsi, %rsi
je 0x8c58
movq %r14, %rdi
callq 0x6350
movq 0x890(%r14), %rdi
movq 0x28(%rbx), %rsi
callq *0x878(%r14)
andq $0x0, 0x28(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/OpenKMIP[P]libkmip/src/kmip.c
// Function: kmip_free_attestation_credential
void
kmip_free_attestation_credential(KMIP *ctx, AttestationCredential *value)
{
    if(value != NULL)
    {
        if(value->nonce != NULL)
        {
            kmip_free_nonce(ctx, value->nonce);
            ctx->free_func(ctx->state, value->nonce);
            value->nonce = NULL;
        }
        
        if(value->attestation_measurement != NULL)
        {
            kmip_free_byte_string(ctx, value->attestation_measurement);
            ctx->free_func(ctx->state, value->attestation_measurement);
            value->attestation_measurement = NULL;
        }
        
        if(value->attestation_assertion != NULL)
        {
            kmip_free_byte_string(ctx, value->attestation_assertion);
            ctx->free_func(ctx->state, value->attestation_assertion);
            value->attestation_assertion = NULL;
        }
        
        value->attestation_type = 0;
    }
    
    return;
}

// Assembly:
testq %rsi, %rsi
je 0x8cf3
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq (%rsi), %rsi
testq %rsi, %rsi
je 0x8c98
movq %r14, %rdi
callq 0x62f0
movq 0x890(%r14), %rdi
movq (%rbx), %rsi
callq *0x878(%r14)
andq $0x0, (%rbx)
movq 0x10(%rbx), %rsi
testq %rsi, %rsi
je 0x8cc0
movq %r14, %rdi
callq 0x6100
movq 0x890(%r14), %rdi
movq 0x10(%rbx), %rsi
callq *0x878(%r14)
andq $0x0, 0x10(%rbx)
movq 0x18(%rbx), %rsi
testq %rsi, %rsi
je 0x8ce8
movq %r14, %rdi
callq 0x6100
movq 0x890(%r14), %rdi
movq 0x18(%rbx), %rsi
callq *0x878(%r14)
andq $0x0, 0x18(%rbx)
andl $0x0, 0x8(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/OpenKMIP[P]libkmip/src/kmip.c
// Function: kmip_free_authentication
void
kmip_free_authentication(KMIP *ctx, Authentication *value)
{
    if(value != NULL)
    {
        if(value->credential != NULL)
        {
            kmip_free_credential(ctx, value->credential);
            ctx->free_func(ctx->state, value->credential);
            value->credential = NULL;
        }
    }
    
    return;
}

// Assembly:
testq %rsi, %rsi
je 0x8db2
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq (%rsi), %rsi
testq %rsi, %rsi
je 0x8dab
movq %rdi, %r14
callq 0x64b0
movq 0x890(%r14), %rdi
movq (%rbx), %rsi
callq *0x878(%r14)
andq $0x0, (%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/OpenKMIP[P]libkmip/src/kmip.c
// Function: kmip_free_request_header
void
kmip_free_request_header(KMIP *ctx, RequestHeader *value)
{
    if(value != NULL)
    {
        if(value->protocol_version != NULL)
        {
            ctx->memset_func(
                value->protocol_version,
                0,
                sizeof(ProtocolVersion));
            ctx->free_func(ctx->state, value->protocol_version);
            value->protocol_version = NULL;
        }
        
        if(value->authentication != NULL)
        {
            kmip_free_authentication(ctx, value->authentication);
            ctx->free_func(ctx->state, value->authentication);
            value->authentication = NULL;
        }
        
        if(value->attestation_types != NULL)
        {
            ctx->memset_func(
                value->attestation_types,
                0,
                value->attestation_type_count * sizeof(enum attestation_type));
            ctx->free_func(ctx->state, value->attestation_types);
            value->attestation_types = NULL;
            value->attestation_type_count = 0;
        }
        
        if(value->client_correlation_value != NULL)
        {
            kmip_free_text_string(ctx, value->client_correlation_value);
            ctx->free_func(ctx->state, value->client_correlation_value);
            value->client_correlation_value = NULL;
        }
        
        if(value->server_correlation_value != NULL)
        {
            kmip_free_text_string(ctx, value->server_correlation_value);
            ctx->free_func(ctx->state, value->server_correlation_value);
            value->server_correlation_value = NULL;
        }
        
        kmip_init_request_header(value);
    }
    
    return;
}

// Assembly:
testq %rsi, %rsi
je 0x8eac
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
movq (%rsi), %rdi
testq %rdi, %rdi
je 0x8df0
pushq $0x8
popq %rdx
xorl %esi, %esi
callq *0x888(%r14)
movq 0x890(%r14), %rdi
movq (%rbx), %rsi
callq *0x878(%r14)
andq $0x0, (%rbx)
movq 0x10(%rbx), %rsi
testq %rsi, %rsi
je 0x8e18
movq %r14, %rdi
callq 0x60b0
movq 0x890(%r14), %rdi
movq 0x10(%rbx), %rsi
callq *0x878(%r14)
andq $0x0, 0x10(%rbx)
movq 0x30(%rbx), %rdi
testq %rdi, %rdi
je 0x8e4f
leaq 0x30(%rbx), %r15
movq 0x38(%rbx), %rdx
shlq $0x2, %rdx
xorl %esi, %esi
callq *0x888(%r14)
movq 0x890(%r14), %rdi
movq 0x30(%rbx), %rsi
callq *0x878(%r14)
xorps %xmm0, %xmm0
movups %xmm0, (%r15)
movq 0x40(%rbx), %rsi
testq %rsi, %rsi
je 0x8e77
movq %r14, %rdi
callq 0x6350
movq 0x890(%r14), %rdi
movq 0x40(%rbx), %rsi
callq *0x878(%r14)
andq $0x0, 0x40(%rbx)
movq 0x48(%rbx), %rsi
testq %rsi, %rsi
je 0x8e9f
movq %r14, %rdi
callq 0x6350
movq 0x890(%r14), %rdi
movq 0x48(%rbx), %rsi
callq *0x878(%r14)
andq $0x0, 0x48(%rbx)
movq %rbx, %rdi
popq %rbx
popq %r14
popq %r15
jmp 0x6800
retq
// File: /workspace/github_c_makefile_star2_O2/OpenKMIP[P]libkmip/src/kmip.c
// Function: kmip_free_request_message
void
kmip_free_request_message(KMIP *ctx, RequestMessage *value)
{
    if(value != NULL)
    {
        if(value->request_header != NULL)
        {
            kmip_free_request_header(ctx, value->request_header);
            ctx->free_func(ctx->state, value->request_header);
            value->request_header = NULL;
        }
        
        if(value->batch_items != NULL)
        {
            for(size_t i = 0; i < value->batch_count; i++)
            {
                kmip_free_request_batch_item(ctx, &value->batch_items[i]);
            }
            ctx->free_func(ctx, value->batch_items);
            value->batch_items = NULL;
        }
        
        value->batch_count = 0;
    }
    
    return;
}

// Assembly:
testq %rsi, %rsi
je 0x9065
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq (%rsi), %rsi
testq %rsi, %rsi
je 0x9017
movq %r14, %rdi
callq 0x6440
movq 0x890(%r14), %rdi
movq (%rbx), %rsi
callq *0x878(%r14)
andq $0x0, (%rbx)
cmpq $0x0, 0x8(%rbx)
je 0x9055
xorl %r15d, %r15d
xorl %r12d, %r12d
cmpq 0x10(%rbx), %r12
jae 0x9042
movq 0x8(%rbx), %rsi
addq %r15, %rsi
movq %r14, %rdi
callq 0x64c0
incq %r12
addq $0x20, %r15
jmp 0x9024
movq 0x8(%rbx), %rsi
movq %r14, %rdi
callq *0x878(%r14)
andq $0x0, 0x8(%rbx)
andq $0x0, 0x10(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/OpenKMIP[P]libkmip/src/kmip.c
// Function: kmip_free_response_message
void
kmip_free_response_message(KMIP *ctx, ResponseMessage *value)
{
    if(value != NULL)
    {
        if(value->response_header != NULL)
        {
            kmip_free_response_header(ctx, value->response_header);
            ctx->free_func(ctx->state, value->response_header);
            value->response_header = NULL;
        }
        
        if(value->batch_items != NULL)
        {
            for(size_t i = 0; i < value->batch_count; i++)
            {
                kmip_free_response_batch_item(ctx, &value->batch_items[i]);
            }
            ctx->free_func(ctx, value->batch_items);
            value->batch_items = NULL;
        }
        
        value->batch_count = 0;
    }
    
    return;
}

// Assembly:
testq %rsi, %rsi
je 0x90f0
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq (%rsi), %rsi
testq %rsi, %rsi
je 0x90a2
movq %r14, %rdi
callq 0x6960
movq 0x890(%r14), %rdi
movq (%rbx), %rsi
callq *0x878(%r14)
andq $0x0, (%rbx)
cmpq $0x0, 0x8(%rbx)
je 0x90e0
xorl %r15d, %r15d
xorl %r12d, %r12d
cmpq 0x10(%rbx), %r12
jae 0x90cd
movq 0x8(%rbx), %rsi
addq %r15, %rsi
movq %r14, %rdi
callq 0x6520
incq %r12
addq $0x30, %r15
jmp 0x90af
movq 0x8(%rbx), %rsi
movq %r14, %rdi
callq *0x878(%r14)
andq $0x0, 0x8(%rbx)
andq $0x0, 0x10(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/OpenKMIP[P]libkmip/src/kmip.c
// Function: kmip_free_query_functions
void
kmip_free_query_functions(KMIP *ctx, Functions* value)
{
    if (value != NULL)
    {
        if (value->function_list != NULL)
        {
            LinkedListItem *curr = kmip_linked_list_pop(value->function_list);
            while(curr != NULL)
            {
                ctx->free_func(ctx->state, curr->data);
                curr->data = NULL;
                ctx->free_func(ctx->state, curr);
                curr = kmip_linked_list_pop(value->function_list);
            }
            ctx->free_func(ctx->state, value->function_list);
            value->function_list = NULL;
        }
    }

    return;
}

// Assembly:
testq %rsi, %rsi
je 0x9153
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
movq (%rsi), %rdi
testq %rdi, %rdi
jne 0x912a
jmp 0x914e
movq 0x10(%r15), %rsi
callq *%rax
andq $0x0, 0x10(%r15)
movq 0x890(%r14), %rdi
movq %r15, %rsi
callq *0x878(%r14)
movq (%rbx), %rdi
callq 0x65d0
movq %rax, %r15
movq 0x878(%r14), %rax
movq 0x890(%r14), %rdi
testq %r15, %r15
jne 0x910b
movq (%rbx), %rsi
callq *%rax
andq $0x0, (%rbx)
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/OpenKMIP[P]libkmip/src/kmip.c
// Function: kmip_free_operations
void
kmip_free_operations(KMIP *ctx, Operations *value)
{

    if(value != NULL)
    {
        if(value->operation_list != NULL)
        {
            LinkedListItem *curr = kmip_linked_list_pop(value->operation_list);
            while(curr != NULL)
            {
                ctx->free_func(ctx->state, curr->data);
                curr->data = NULL;
                ctx->free_func(ctx->state, curr);
                curr = kmip_linked_list_pop(value->operation_list);
            }
            ctx->free_func(ctx->state, value->operation_list);
            value->operation_list = NULL;
        }
    }

    return;
}

// Assembly:
testq %rsi, %rsi
je 0x91b6
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
movq (%rsi), %rdi
testq %rdi, %rdi
jne 0x918d
jmp 0x91b1
movq 0x10(%r15), %rsi
callq *%rax
andq $0x0, 0x10(%r15)
movq 0x890(%r14), %rdi
movq %r15, %rsi
callq *0x878(%r14)
movq (%rbx), %rdi
callq 0x65d0
movq %rax, %r15
movq 0x878(%r14), %rax
movq 0x890(%r14), %rdi
testq %r15, %r15
jne 0x916e
movq (%rbx), %rsi
callq *%rax
andq $0x0, (%rbx)
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/OpenKMIP[P]libkmip/src/kmip.c
// Function: kmip_free_objects
void
kmip_free_objects(KMIP *ctx, ObjectTypes* value)
{
    if(value != NULL)
    {
        if(value->object_list != NULL)
        {
            LinkedListItem *curr = kmip_linked_list_pop(value->object_list);
            while(curr != NULL)
            {
                ctx->free_func(ctx->state, curr->data);
                curr->data = NULL;
                ctx->free_func(ctx->state, curr);
                curr = kmip_linked_list_pop(value->object_list);
            }
            ctx->free_func(ctx->state, value->object_list);
            value->object_list = NULL;
        }
    }

    return;
}

// Assembly:
testq %rsi, %rsi
je 0x9219
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
movq (%rsi), %rdi
testq %rdi, %rdi
jne 0x91f0
jmp 0x9214
movq 0x10(%r15), %rsi
callq *%rax
andq $0x0, 0x10(%r15)
movq 0x890(%r14), %rdi
movq %r15, %rsi
callq *0x878(%r14)
movq (%rbx), %rdi
callq 0x65d0
movq %rax, %r15
movq 0x878(%r14), %rax
movq 0x890(%r14), %rdi
testq %r15, %r15
jne 0x91d1
movq (%rbx), %rsi
callq *%rax
andq $0x0, (%rbx)
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/OpenKMIP[P]libkmip/src/kmip.c
// Function: kmip_free_server_information
void
kmip_free_server_information(KMIP* ctx, ServerInformation* value)
{
    kmip_free_text_string(ctx, value->server_name);
    kmip_free_text_string(ctx, value->server_serial_number);
    kmip_free_text_string(ctx, value->server_version);
    kmip_free_text_string(ctx, value->server_load);
    kmip_free_text_string(ctx, value->product_name);
    kmip_free_text_string(ctx, value->build_level);
    kmip_free_text_string(ctx, value->build_date);
    kmip_free_text_string(ctx, value->cluster_info);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
movq (%rsi), %rsi
callq 0x6350
movq 0x8(%r14), %rsi
movq %rbx, %rdi
callq 0x6350
movq 0x10(%r14), %rsi
movq %rbx, %rdi
callq 0x6350
movq 0x18(%r14), %rsi
movq %rbx, %rdi
callq 0x6350
movq 0x20(%r14), %rsi
movq %rbx, %rdi
callq 0x6350
movq 0x28(%r14), %rsi
movq %rbx, %rdi
callq 0x6350
movq 0x30(%r14), %rsi
movq %rbx, %rdi
callq 0x6350
movq 0x38(%r14), %rsi
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x6350
// File: /workspace/github_c_makefile_star2_O2/OpenKMIP[P]libkmip/src/kmip.c
// Function: kmip_deep_copy_int32
int32 *
kmip_deep_copy_int32(KMIP *ctx, const int32 *value)
{
    if(ctx == NULL || value == NULL)
        return(NULL);

    int32 *copy = ctx->calloc_func(ctx, 1, sizeof(int32));
    if(copy == NULL)
        return(NULL);

    copy = ctx->memcpy_func(ctx->state, copy, value, sizeof(int32));
    return(copy);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
testq %rdi, %rdi
sete %al
testq %rsi, %rsi
sete %cl
orb %al, %cl
jne 0x92d3
movq %rsi, %rbx
movq %rdi, %r14
pushq $0x1
popq %rsi
pushq $0x4
popq %rdx
callq *0x868(%rdi)
testq %rax, %rax
je 0x92d3
movq 0x880(%r14), %r8
movq 0x890(%r14), %rdi
pushq $0x4
popq %rcx
movq %rax, %rsi
movq %rbx, %rdx
addq $0x8, %rsp
popq %rbx
popq %r14
jmpq *%r8
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/OpenKMIP[P]libkmip/src/kmip.c
// Function: kmip_deep_copy_int64
int64 *
kmip_deep_copy_int64(KMIP *ctx, const int64 *value)
{
    if(ctx == NULL || value == NULL)
    {
        return(NULL);
    }

    int64 *copy = ctx->calloc_func(ctx->state, 1, sizeof(int64));
    if(copy == NULL)
    {
        return(NULL);
    }

    copy = ctx->memcpy_func(ctx->state, copy, value, sizeof(int64));
    return(copy);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
testq %rdi, %rdi
sete %al
testq %rsi, %rsi
sete %cl
orb %al, %cl
jne 0x9331
movq %rsi, %rbx
movq %rdi, %r14
movq 0x890(%rdi), %rdi
pushq $0x1
popq %rsi
pushq $0x8
popq %rdx
callq *0x868(%r14)
testq %rax, %rax
je 0x9331
movq 0x880(%r14), %r8
movq 0x890(%r14), %rdi
pushq $0x8
popq %rcx
movq %rax, %rsi
movq %rbx, %rdx
addq $0x8, %rsp
popq %rbx
popq %r14
jmpq *%r8
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/OpenKMIP[P]libkmip/src/kmip.c
// Function: kmip_deep_copy_text_string
TextString *
kmip_deep_copy_text_string(KMIP *ctx, const TextString *value)
{
    if(ctx == NULL || value == NULL)
        return(NULL);

    TextString *copy = ctx->calloc_func(ctx->state, 1, sizeof(TextString));
    if(copy == NULL)
        return(NULL);

    copy->size = value->size;
    if(value->value != NULL)
    {
        copy->value = ctx->calloc_func(ctx->state, 1, value->size);
        if(copy->value == NULL && value->value != NULL)
        {
            ctx->free_func(ctx->state, copy);
            return(NULL);
        }
        copy->value = ctx->memcpy_func(ctx->state, copy->value, value->value, value->size);
    }
    else
        copy->value = NULL;

    return(copy);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
testq %rdi, %rdi
sete %al
testq %rsi, %rsi
sete %cl
orb %al, %cl
jne 0x93d5
movq %rsi, %r15
movq %rdi, %r14
movq 0x890(%rdi), %rdi
pushq $0x1
popq %rsi
pushq $0x10
popq %rdx
callq *0x868(%r14)
testq %rax, %rax
je 0x93d5
movq %rax, %rbx
movq 0x8(%r15), %rdx
movq %rdx, 0x8(%rax)
cmpq $0x0, (%r15)
je 0x93c4
movq 0x890(%r14), %rdi
pushq $0x1
popq %rsi
callq *0x868(%r14)
movq %rax, (%rbx)
testq %rax, %rax
setne %cl
movq (%r15), %rdx
testq %rdx, %rdx
sete %sil
orb %cl, %sil
movq 0x890(%r14), %rdi
je 0x93cb
movq 0x8(%r15), %rcx
movq %rax, %rsi
callq *0x880(%r14)
jmp 0x93c6
xorl %eax, %eax
movq %rax, (%rbx)
jmp 0x93d7
movq %rbx, %rsi
callq *0x878(%r14)
xorl %ebx, %ebx
movq %rbx, %rax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/OpenKMIP[P]libkmip/src/kmip.c
// Function: kmip_deep_copy_byte_string
ByteString *
kmip_deep_copy_byte_string(KMIP *ctx, const ByteString *value)
{
    if(NULL == ctx || NULL == value)
    {
        return(NULL);
    }

    ByteString *copy = ctx->calloc_func(ctx->state, 1, sizeof(ByteString));
    if(NULL == copy)
    {
        return(NULL);
    }

    copy->size = value->size;
    if(NULL != value->value)
    {
        copy->value = ctx->calloc_func(ctx->state, 1, value->size);
        if(NULL == copy->value)
        {
            ctx->free_func(ctx->state, copy);
            return(NULL);
        }
        copy->value = ctx->memcpy_func(ctx->state, copy->value, value->value, value->size);
    }
    else
    {
        copy->value = NULL;
    }

    return(copy);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
testq %rdi, %rdi
sete %al
testq %rsi, %rsi
sete %cl
orb %al, %cl
jne 0x9469
movq %rsi, %r15
movq %rdi, %r14
movq 0x890(%rdi), %rdi
pushq $0x1
popq %rsi
pushq $0x10
popq %rdx
callq *0x868(%r14)
testq %rax, %rax
je 0x9469
movq %rax, %rbx
movq 0x8(%r15), %rdx
movq %rdx, 0x8(%rax)
cmpq $0x0, (%r15)
je 0x9458
movq 0x890(%r14), %rdi
pushq $0x1
popq %rsi
callq *0x868(%r14)
movq %rax, (%rbx)
movq 0x890(%r14), %rdi
testq %rax, %rax
je 0x945f
movq (%r15), %rdx
movq 0x8(%r15), %rcx
movq %rax, %rsi
callq *0x880(%r14)
jmp 0x945a
xorl %eax, %eax
movq %rax, (%rbx)
jmp 0x946b
movq %rbx, %rsi
callq *0x878(%r14)
xorl %ebx, %ebx
movq %rbx, %rax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/OpenKMIP[P]libkmip/src/kmip.c
// Function: kmip_deep_copy_name
Name *
kmip_deep_copy_name(KMIP *ctx, const Name *value)
{
    if(ctx == NULL || value == NULL)
        return(NULL);

    Name *copy = ctx->calloc_func(ctx->state, 1, sizeof(Name));
    if(copy == NULL)
        return(NULL);

    copy->type = value->type;
    if(value->value != NULL)
    {
        copy->value = kmip_deep_copy_text_string(ctx, value->value);
        if(copy->value == NULL)
        {
            ctx->free_func(ctx->state, copy);
            return(NULL);
        }
    }
    else
        copy->value = NULL;

    return(copy);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
testq %rdi, %rdi
sete %al
testq %rsi, %rsi
sete %cl
orb %al, %cl
jne 0x94db
movq %rsi, %r15
movq %rdi, %r14
movq 0x890(%rdi), %rdi
pushq $0x1
popq %rsi
pushq $0x10
popq %rdx
callq *0x868(%r14)
testq %rax, %rax
je 0x94db
movq %rax, %rbx
movl 0x8(%r15), %eax
movl %eax, 0x8(%rbx)
movq (%r15), %rsi
testq %rsi, %rsi
je 0x94e6
movq %r14, %rdi
callq 0x6540
movq %rax, (%rbx)
testq %rax, %rax
jne 0x94dd
movq 0x890(%r14), %rdi
movq %rbx, %rsi
callq *0x878(%r14)
xorl %ebx, %ebx
movq %rbx, %rax
popq %rbx
popq %r14
popq %r15
retq
andq $0x0, (%rbx)
jmp 0x94dd
// File: /workspace/github_c_makefile_star2_O2/OpenKMIP[P]libkmip/src/kmip.c
// Function: kmip_deep_copy_cryptographic_parameters
CryptographicParameters *
kmip_deep_copy_cryptographic_parameters(KMIP *ctx, const CryptographicParameters *value)
{
    if(NULL == ctx || NULL == value)
    {
        return(NULL);
    }

    CryptographicParameters *copy = ctx->calloc_func(ctx->state, 1, sizeof(CryptographicParameters));
    if(NULL == copy)
    {
        return(NULL);
    }

    if(NULL != value->p_source)
    {
        copy->p_source = kmip_deep_copy_byte_string(ctx, value->p_source);
        if(NULL == copy->p_source)
        {
            kmip_free_cryptographic_parameters(ctx, copy);
            ctx->free_func(ctx->state, copy);
            return(NULL);
        }
    }
    else
    {
        copy->p_source = NULL;
    }

    copy->block_cipher_mode = value->block_cipher_mode;
    copy->padding_method = value->padding_method;
    copy->hashing_algorithm = value->hashing_algorithm;
    copy->key_role_type = value->key_role_type;

    copy->digital_signature_algorithm = value->digital_signature_algorithm;
    copy->cryptographic_algorithm = value->cryptographic_algorithm;
    copy->random_iv = value->random_iv;
    copy->iv_length = value->iv_length;
    copy->tag_length = value->tag_length;
    copy->fixed_field_length = value->fixed_field_length;
    copy->invocation_field_length = value->invocation_field_length;
    copy->counter_length = value->counter_length;
    copy->initial_counter_value = value->initial_counter_value;

    copy->salt_length = value->salt_length;
    copy->mask_generator = value->mask_generator;
    copy->mask_generator_hashing_algorithm = value->mask_generator_hashing_algorithm;
    copy->trailer_field = value->trailer_field;

    return(copy);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
testq %rdi, %rdi
sete %al
testq %rsi, %rsi
sete %cl
orb %al, %cl
jne 0x9559
movq %rsi, %r14
movq %rdi, %r15
movq 0x890(%rdi), %rdi
pushq $0x1
popq %rsi
pushq $0x50
popq %rdx
callq *0x868(%r15)
testq %rax, %rax
je 0x9559
movq %rax, %rbx
movq 0x40(%r14), %rsi
testq %rsi, %rsi
je 0x955d
movq %r15, %rdi
callq 0x6040
movq %rax, 0x40(%rbx)
testq %rax, %rax
jne 0x9562
movq %r15, %rdi
movq %rbx, %rsi
callq 0x6e50
movq 0x890(%r15), %rdi
movq %rbx, %rsi
callq *0x878(%r15)
xorl %ebx, %ebx
jmp 0x958b
andq $0x0, 0x40(%rbx)
movups (%r14), %xmm0
movups %xmm0, (%rbx)
movups 0x10(%r14), %xmm0
movups %xmm0, 0x10(%rbx)
movups 0x20(%r14), %xmm0
movups %xmm0, 0x20(%rbx)
movups 0x30(%r14), %xmm0
movups %xmm0, 0x30(%rbx)
movl 0x48(%r14), %eax
movl %eax, 0x48(%rbx)
movq %rbx, %rax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/OpenKMIP[P]libkmip/src/kmip.c
// Function: kmip_deep_copy_application_specific_information
ApplicationSpecificInformation *
kmip_deep_copy_application_specific_information(KMIP *ctx, const ApplicationSpecificInformation *value)
{
    if(ctx == NULL || value == NULL)
    {
        return(NULL);
    }

    ApplicationSpecificInformation *copy = ctx->calloc_func(ctx->state, 1, sizeof(ApplicationSpecificInformation));
    if(copy == NULL)
    {
        return(NULL);
    }

    if(value->application_namespace != NULL)
    {
        copy->application_namespace = kmip_deep_copy_text_string(ctx, value->application_namespace);
        if(copy->application_namespace == NULL)
        {
            ctx->free_func(ctx->state, copy);
            return(NULL);
        }
    }
    else
    {
        copy->application_namespace = NULL;
    }

    if(value->application_data != NULL)
    {
        copy->application_data = kmip_deep_copy_text_string(ctx, value->application_data);
        if(copy->application_data == NULL)
        {
            kmip_free_application_specific_information(ctx, copy);
            ctx->free_func(ctx->state, copy);
            return(NULL);
        }
    }
    else
    {
        copy->application_data = NULL;
    }

    return(copy);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
testq %rdi, %rdi
sete %al
testq %rsi, %rsi
sete %cl
orb %al, %cl
jne 0x961f
movq %rsi, %r15
movq %rdi, %r14
movq 0x890(%rdi), %rdi
pushq $0x1
popq %rsi
pushq $0x10
popq %rdx
callq *0x868(%r14)
testq %rax, %rax
je 0x961f
movq %rax, %rbx
movq (%r15), %rsi
testq %rsi, %rsi
je 0x95e5
movq %r14, %rdi
callq 0x6540
movq %rax, (%rbx)
testq %rax, %rax
jne 0x95e9
jmp 0x960e
andq $0x0, (%rbx)
movq 0x8(%r15), %rsi
testq %rsi, %rsi
je 0x962a
movq %r14, %rdi
callq 0x6540
movq %rax, 0x8(%rbx)
testq %rax, %rax
jne 0x9621
movq %r14, %rdi
movq %rbx, %rsi
callq 0x6cd0
movq 0x890(%r14), %rdi
movq %rbx, %rsi
callq *0x878(%r14)
xorl %ebx, %ebx
movq %rbx, %rax
popq %rbx
popq %r14
popq %r15
retq
andq $0x0, 0x8(%rbx)
jmp 0x9621
// File: /workspace/github_c_makefile_star2_O2/OpenKMIP[P]libkmip/src/kmip.c
// Function: kmip_copy_textstring
char*
kmip_copy_textstring(char* dest, TextString* src, size_t size)
{
    if(src && src->value != NULL)
    {
        size_t len = KMIP_MIN(size, src->size);
        memcpy(dest, src->value, len);
        dest[len] = 0;
    }
    else
        *dest = 0;

    return dest;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq %rdi, %rcx
testq %rsi, %rsi
je 0x9735
movq (%rsi), %rax
movq %rbx, %rcx
testq %rax, %rax
je 0x9735
movq %rdx, %r14
movq 0x8(%rsi), %rcx
cmpq %rdx, %rcx
cmovbq %rcx, %r14
movq %rbx, %rdi
movq %rax, %rsi
movq %r14, %rdx
callq 0x6720
addq %rbx, %r14
movq %r14, %rcx
movb $0x0, (%rcx)
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/OpenKMIP[P]libkmip/src/kmip.c
// Function: kmip_copy_operations
void
kmip_copy_operations(int ops[], size_t* ops_size, Operations *value, unsigned max_ops)
{
    if(value != NULL &&
       value->operation_list != NULL)
    {
        *ops_size = value->operation_list->size;

        LinkedListItem *curr = value->operation_list->head;
        size_t idx = 0;
        while(curr != NULL && idx < max_ops )
        {
            ops[idx] = *(int32 *)curr->data;
            curr = curr->next;
            idx++;
        }
    }
}

// Assembly:
testq %rdx, %rdx
je 0x9776
movq (%rdx), %rax
testq %rax, %rax
je 0x9776
movq 0x10(%rax), %rdx
movq %rdx, (%rsi)
movl %ecx, %ecx
xorl %edx, %edx
movq (%rax), %rax
testq %rax, %rax
je 0x9776
cmpq %rcx, %rdx
jae 0x9776
movq 0x10(%rax), %rsi
movl (%rsi), %esi
movl %esi, (%rdi,%rdx,4)
incq %rdx
jmp 0x975b
retq