LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O3/OpenKMIP[P]libkmip/src/kmip.c
// Function: kmip_free_text_string
void
kmip_free_text_string(KMIP *ctx, TextString *value)
{
    if(ctx == NULL)
    {
        return;
    }
    
    if(value != NULL)
    {
        if(value->value != NULL)
        {
            ctx->memset_func(value->value, 0, value->size);
            ctx->free_func(ctx->state, value->value);
            
            value->value = NULL;
        }
        
        value->size = 0;
    }
    
    return;
}

// Assembly:
testq %rdi, %rdi
sete %al
testq %rsi, %rsi
sete %cl
orb %al, %cl
jne 0x80a4
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq (%rsi), %rdi
testq %rdi, %rdi
je 0x8095
movq 0x8(%rbx), %rdx
xorl %esi, %esi
callq *0x888(%r14)
movq 0x890(%r14), %rdi
movq (%rbx), %rsi
callq *0x878(%r14)
movq $0x0, (%rbx)
movq $0x0, 0x8(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/OpenKMIP[P]libkmip/src/kmip.c
// Function: kmip_free_byte_string
void
kmip_free_byte_string(KMIP *ctx, ByteString *value)
{
    if(value != NULL)
    {
        if(value->value != NULL)
        {
            ctx->memset_func(value->value, 0, value->size);
            ctx->free_func(ctx->state, value->value);
            
            value->value = NULL;
        }
        
        value->size = 0;
    }
    
    return;
}

// Assembly:
testq %rsi, %rsi
je 0x80f0
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq (%rsi), %rdi
testq %rdi, %rdi
je 0x80e1
movq 0x8(%rbx), %rdx
xorl %esi, %esi
callq *0x888(%r14)
movq 0x890(%r14), %rdi
movq (%rbx), %rsi
callq *0x878(%r14)
movq $0x0, (%rbx)
movq $0x0, 0x8(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/OpenKMIP[P]libkmip/src/kmip.c
// Function: kmip_free_name
void
kmip_free_name(KMIP *ctx, Name *value)
{
    if(value != NULL)
    {
        if(value->value != NULL)
        {
            kmip_free_text_string(ctx, value->value);
            ctx->free_func(ctx->state, value->value);
            
            value->value = NULL;
        }
        
        value->type = 0;
    }
    
    return;
}

// Assembly:
testq %rsi, %rsi
je 0x8133
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq (%rsi), %rsi
testq %rsi, %rsi
je 0x8125
movq %rdi, %r14
callq 0x6330
movq 0x890(%r14), %rdi
movq (%rbx), %rsi
callq *0x878(%r14)
movq $0x0, (%rbx)
movl $0x0, 0x8(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/OpenKMIP[P]libkmip/src/kmip.c
// Function: kmip_free_protection_storage_masks
void
kmip_free_protection_storage_masks(KMIP *ctx, ProtectionStorageMasks *value)
{
    if(value != NULL)
    {
        if(value->masks != NULL)
        {
            LinkedListItem *curr = kmip_linked_list_pop(value->masks);
            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->masks);
            }
            ctx->free_func(ctx->state, value->masks);
            value->masks = NULL;
        }
    }

    return;
}

// Assembly:
testq %rsi, %rsi
je 0x81b1
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
movq (%rsi), %rdi
testq %rdi, %rdi
je 0x81ac
callq 0x65a0
testq %rax, %rax
je 0x8194
movq %rax, %r15
movq 0x890(%r14), %rdi
movq 0x10(%r15), %rsi
callq *0x878(%r14)
movq $0x0, 0x10(%r15)
movq 0x890(%r14), %rdi
movq %r15, %rsi
callq *0x878(%r14)
movq (%rbx), %rdi
callq 0x65a0
movq %rax, %r15
testq %rax, %rax
jne 0x8159
movq 0x890(%r14), %rdi
movq (%rbx), %rsi
callq *0x878(%r14)
movq $0x0, (%rbx)
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/OpenKMIP[P]libkmip/src/kmip.c
// Function: kmip_free_application_specific_information
void
kmip_free_application_specific_information(KMIP *ctx, ApplicationSpecificInformation *value)
{
    if(value != NULL)
    {
        if(value->application_namespace != NULL)
        {
            kmip_free_text_string(ctx, value->application_namespace);

            ctx->free_func(ctx->state, value->application_namespace);
            value->application_namespace = NULL;
        }

        if(value->application_data != NULL)
        {
            kmip_free_text_string(ctx, value->application_data);

            ctx->free_func(ctx->state, value->application_data);
            value->application_data = NULL;
        }
    }

    return;
}

// Assembly:
testq %rsi, %rsi
je 0x82bd
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq (%rsi), %rsi
testq %rsi, %rsi
je 0x828b
movq %r14, %rdi
callq 0x6330
movq 0x890(%r14), %rdi
movq (%rbx), %rsi
callq *0x878(%r14)
movq $0x0, (%rbx)
movq 0x8(%rbx), %rsi
testq %rsi, %rsi
je 0x82b6
movq %r14, %rdi
callq 0x6330
movq 0x890(%r14), %rdi
movq 0x8(%rbx), %rsi
callq *0x878(%r14)
movq $0x0, 0x8(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/OpenKMIP[P]libkmip/src/kmip.c
// Function: kmip_free_cryptographic_parameters
void
kmip_free_cryptographic_parameters(KMIP *ctx, CryptographicParameters *value)
{
    if(value != NULL)
    {
        if(value->p_source != NULL)
        {
            kmip_free_byte_string(ctx, value->p_source);
            
            ctx->free_func(ctx->state, value->p_source);
            value->p_source = NULL;
        }
        
        kmip_init_cryptographic_parameters(value);
    }
    
    return;
}

// Assembly:
testq %rsi, %rsi
je 0x8351
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq 0x40(%rsi), %r15
testq %r15, %r15
je 0x8325
movq %rdi, %r14
movq (%r15), %rdi
movq %r15, %rsi
testq %rdi, %rdi
je 0x830f
movq 0x8(%r15), %rdx
xorl %esi, %esi
callq *0x888(%r14)
movq 0x890(%r14), %rdi
movq (%r15), %rsi
callq *0x878(%r14)
movq $0x0, (%r15)
movq 0x40(%rbx), %rsi
movq $0x0, 0x8(%r15)
movq 0x890(%r14), %rdi
callq *0x878(%r14)
xorps %xmm0, %xmm0
movups %xmm0, (%rbx)
movq $0x0, 0x10(%rbx)
pcmpeqd %xmm1, %xmm1
movdqu %xmm1, 0x18(%rbx)
movdqu %xmm1, 0x28(%rbx)
movups %xmm0, 0x38(%rbx)
movl $0xffffffff, 0x48(%rbx) # imm = 0xFFFFFFFF
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/OpenKMIP[P]libkmip/src/kmip.c
// Function: kmip_free_attributes
void
kmip_free_attributes(KMIP *ctx, Attributes *value)
{
    if(value != NULL)
    {
        if(value->attribute_list != NULL)
        {
            LinkedListItem *curr = kmip_linked_list_pop(value->attribute_list);
            while(curr != NULL)
            {
                Attribute *attribute = (Attribute *)curr->data;
                kmip_free_attribute(ctx, attribute);
                ctx->free_func(ctx->state, attribute);
                ctx->free_func(ctx->state, curr);
                curr = kmip_linked_list_pop(value->attribute_list);
            }
            ctx->free_func(ctx->state, value->attribute_list);

            value->attribute_list = NULL;
        }
    }

    return;
}

// Assembly:
testq %rsi, %rsi
je 0x83e2
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq (%rsi), %rdi
testq %rdi, %rdi
je 0x83d7
callq 0x65a0
testq %rax, %rax
je 0x83bf
movq %rax, %r15
movq 0x10(%r15), %r12
movq %r14, %rdi
movq %r12, %rsi
callq 0x65e0
movq 0x890(%r14), %rdi
movq %r12, %rsi
callq *0x878(%r14)
movq 0x890(%r14), %rdi
movq %r15, %rsi
callq *0x878(%r14)
movq (%rbx), %rdi
callq 0x65a0
movq %rax, %r15
testq %rax, %rax
jne 0x837e
movq 0x890(%r14), %rdi
movq (%rbx), %rsi
callq *0x878(%r14)
movq $0x0, (%rbx)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/OpenKMIP[P]libkmip/src/kmip.c
// Function: kmip_free_template_attribute
void
kmip_free_template_attribute(KMIP *ctx, TemplateAttribute *value)
{
    if(value != NULL)
    {
        if(value->names != NULL)
        {
            for(size_t i = 0; i < value->name_count; i++)
            {
                kmip_free_name(ctx, &value->names[i]);
            }
            ctx->free_func(ctx->state, value->names);
            
            value->names = NULL;
        }
        
        value->name_count = 0;
        
        if(value->attributes != NULL)
        {
            for(size_t i = 0; i < value->attribute_count; i++)
            {
                kmip_free_attribute(ctx, &value->attributes[i]);
            }
            ctx->free_func(ctx->state, value->attributes);
            
            value->attributes = NULL;
        }
        
        value->attribute_count = 0;
    }
    
    return;
}

// Assembly:
testq %rsi, %rsi
je 0x84a9
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq (%rsi), %rsi
testq %rsi, %rsi
je 0x8442
cmpq $0x0, 0x8(%rbx)
je 0x842d
xorl %r15d, %r15d
xorl %r12d, %r12d
movq (%rbx), %rsi
addq %r15, %rsi
movq %r14, %rdi
callq 0x65b0
incq %r12
addq $0x10, %r15
cmpq 0x8(%rbx), %r12
jb 0x840f
movq (%rbx), %rsi
movq 0x890(%r14), %rdi
callq *0x878(%r14)
movq $0x0, (%rbx)
movq $0x0, 0x8(%rbx)
movq 0x10(%rbx), %rsi
testq %rsi, %rsi
je 0x8496
cmpq $0x0, 0x18(%rbx)
je 0x8480
xorl %r15d, %r15d
xorl %r12d, %r12d
movq 0x10(%rbx), %rsi
addq %r15, %rsi
movq %r14, %rdi
callq 0x65e0
incq %r12
addq $0x10, %r15
cmpq 0x18(%rbx), %r12
jb 0x8460
movq 0x10(%rbx), %rsi
movq 0x890(%r14), %rdi
callq *0x878(%r14)
movq $0x0, 0x10(%rbx)
movq $0x0, 0x18(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/OpenKMIP[P]libkmip/src/kmip.c
// Function: kmip_free_transparent_symmetric_key
void
kmip_free_transparent_symmetric_key(KMIP *ctx, TransparentSymmetricKey *value)
{
    if(value != NULL)
    {
        if(value->key != NULL)
        {
            kmip_free_byte_string(ctx, value->key);
            
            ctx->free_func(ctx->state, value->key);
            value->key = NULL;
        }
    }
    
    return;
}

// Assembly:
testq %rsi, %rsi
je 0x851b
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq (%rsi), %r15
testq %r15, %r15
je 0x8510
movq %rdi, %r14
movq (%r15), %rdi
movq %r15, %rsi
testq %rdi, %rdi
je 0x84f8
movq 0x8(%r15), %rdx
xorl %esi, %esi
callq *0x888(%r14)
movq 0x890(%r14), %rdi
movq (%r15), %rsi
callq *0x878(%r14)
movq $0x0, (%r15)
movq (%rbx), %rsi
xorl %r12d, %r12d
movq %r12, 0x8(%r15)
movq 0x890(%r14), %rdi
callq *0x878(%r14)
movq %r12, (%rbx)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/OpenKMIP[P]libkmip/src/kmip.c
// Function: kmip_free_key_value
void
kmip_free_key_value(KMIP *ctx, enum key_format_type format, KeyValue *value)
{
    if(value != NULL)
    {
        if(value->key_material != NULL)
        {
            kmip_free_key_material(ctx, format, &value->key_material);
            value->key_material = NULL;
        }
        
        if(value->attributes != NULL)
        {
            for(size_t i = 0; i < value->attribute_count; i++)
            {
                kmip_free_attribute(ctx, &value->attributes[i]);
            }
            ctx->free_func(ctx->state, value->attributes);
            
            value->attributes = NULL;
        }
        
        value->attribute_count = 0;
    }
    
    return;
}

// Assembly:
testq %rdx, %rdx
je 0x8602
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rdi, %r14
cmpq $0x0, (%rdx)
je 0x85a3
movq %r14, %rdi
movq %rbx, %rdx
callq 0x66e0
movq $0x0, (%rbx)
movq 0x8(%rbx), %rsi
testq %rsi, %rsi
je 0x85ef
cmpq $0x0, 0x10(%rbx)
je 0x85d9
xorl %r15d, %r15d
xorl %r12d, %r12d
movq 0x8(%rbx), %rsi
addq %r15, %rsi
movq %r14, %rdi
callq 0x65e0
incq %r12
addq $0x10, %r15
cmpq 0x10(%rbx), %r12
jb 0x85b9
movq 0x8(%rbx), %rsi
movq 0x890(%r14), %rdi
callq *0x878(%r14)
movq $0x0, 0x8(%rbx)
movq $0x0, 0x10(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/OpenKMIP[P]libkmip/src/kmip.c
// Function: kmip_free_encryption_key_information
void
kmip_free_encryption_key_information(KMIP *ctx, EncryptionKeyInformation *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 0x866c
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq (%rsi), %rsi
testq %rsi, %rsi
je 0x863a
movq %r14, %rdi
callq 0x6330
movq 0x890(%r14), %rdi
movq (%rbx), %rsi
callq *0x878(%r14)
movq $0x0, (%rbx)
movq 0x8(%rbx), %rsi
testq %rsi, %rsi
je 0x8665
movq %r14, %rdi
callq 0x6db0
movq 0x890(%r14), %rdi
movq 0x8(%rbx), %rsi
callq *0x878(%r14)
movq $0x0, 0x8(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/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 0x86d6
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq (%rsi), %rsi
testq %rsi, %rsi
je 0x86a4
movq %r14, %rdi
callq 0x6330
movq 0x890(%r14), %rdi
movq (%rbx), %rsi
callq *0x878(%r14)
movq $0x0, (%rbx)
movq 0x8(%rbx), %rsi
testq %rsi, %rsi
je 0x86cf
movq %r14, %rdi
callq 0x6db0
movq 0x890(%r14), %rdi
movq 0x8(%rbx), %rsi
callq *0x878(%r14)
movq $0x0, 0x8(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/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 0x8802
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq 0x8(%rsi), %rsi
testq %rsi, %rsi
je 0x8719
movq %r14, %rdi
callq 0x6a00
movq 0x890(%r14), %rdi
movq 0x8(%rbx), %rsi
callq *0x878(%r14)
movq $0x0, 0x8(%rbx)
movq 0x10(%rbx), %rsi
testq %rsi, %rsi
je 0x8744
movq %r14, %rdi
callq 0x6a60
movq 0x890(%r14), %rdi
movq 0x10(%rbx), %rsi
callq *0x878(%r14)
movq $0x0, 0x10(%rbx)
movq 0x18(%rbx), %r15
testq %r15, %r15
je 0x879a
movq (%r15), %rdi
movq %r15, %rsi
testq %rdi, %rdi
je 0x8781
movq 0x8(%r15), %rdx
xorl %esi, %esi
callq *0x888(%r14)
movq 0x890(%r14), %rdi
movq (%r15), %rsi
callq *0x878(%r14)
movq $0x0, (%r15)
movq 0x18(%rbx), %rsi
xorl %r12d, %r12d
movq %r12, 0x8(%r15)
movq 0x890(%r14), %rdi
callq *0x878(%r14)
movq %r12, 0x18(%rbx)
movq 0x20(%rbx), %r15
testq %r15, %r15
je 0x87f0
movq (%r15), %rdi
movq %r15, %rsi
testq %rdi, %rdi
je 0x87d7
movq 0x8(%r15), %rdx
xorl %esi, %esi
callq *0x888(%r14)
movq 0x890(%r14), %rdi
movq (%r15), %rsi
callq *0x878(%r14)
movq $0x0, (%r15)
movq 0x20(%rbx), %rsi
xorl %r12d, %r12d
movq %r12, 0x8(%r15)
movq 0x890(%r14), %rdi
callq *0x878(%r14)
movq %r12, 0x20(%rbx)
xorl %eax, %eax
movl %eax, (%rbx)
movl %eax, 0x28(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/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 0x88d1
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
movq 0x8(%rsi), %r15
testq %r15, %r15
je 0x8892
cmpl $0x8, 0x10(%rbx)
jne 0x886b
movq (%r15), %rdi
movq %r15, %rsi
testq %rdi, %rdi
je 0x885a
movq 0x8(%r15), %rdx
xorl %esi, %esi
callq *0x888(%r14)
movq 0x890(%r14), %rdi
movq (%r15), %rsi
callq *0x878(%r14)
movq $0x0, (%r15)
movq 0x8(%rbx), %rsi
movq $0x0, 0x8(%r15)
movq 0x890(%r14), %rdi
jmp 0x8883
movl (%rbx), %esi
movq %r14, %rdi
movq %r15, %rdx
callq 0x6410
movq 0x890(%r14), %rdi
movq 0x8(%rbx), %rsi
callq *0x878(%r14)
movq $0x0, 0x8(%rbx)
movq 0x20(%rbx), %rsi
testq %rsi, %rsi
je 0x88b5
movq %r14, %rdi
callq 0x68e0
movq 0x890(%r14), %rdi
movq 0x20(%rbx), %rsi
callq *0x878(%r14)
xorps %xmm0, %xmm0
movups %xmm0, (%rbx)
xorl %eax, %eax
movq %rax, 0x10(%rbx)
movl $0xffffffff, 0x18(%rbx) # imm = 0xFFFFFFFF
movq %rax, 0x20(%rbx)
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/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 0x890d
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq (%rsi), %rsi
testq %rsi, %rsi
je 0x8906
movq %rdi, %r14
callq 0x6b00
movq 0x890(%r14), %rdi
movq (%rbx), %rsi
callq *0x878(%r14)
movq $0x0, (%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/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 0x8949
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq (%rsi), %rsi
testq %rsi, %rsi
je 0x8942
movq %rdi, %r14
callq 0x6b00
movq 0x890(%r14), %rdi
movq (%rbx), %rsi
callq *0x878(%r14)
movq $0x0, (%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/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 0x8985
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq (%rsi), %rsi
testq %rsi, %rsi
je 0x897e
movq %rdi, %r14
callq 0x6b00
movq 0x890(%r14), %rdi
movq (%rbx), %rsi
callq *0x878(%r14)
movq $0x0, (%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/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 0x8a59
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq 0x8(%rsi), %rsi
testq %rsi, %rsi
je 0x89c8
movq %r14, %rdi
callq 0x6a00
movq 0x890(%r14), %rdi
movq 0x8(%rbx), %rsi
callq *0x878(%r14)
movq $0x0, 0x8(%rbx)
movq 0x10(%rbx), %rsi
testq %rsi, %rsi
je 0x89f3
movq %r14, %rdi
callq 0x6a60
movq 0x890(%r14), %rdi
movq 0x10(%rbx), %rsi
callq *0x878(%r14)
movq $0x0, 0x10(%rbx)
movq 0x18(%rbx), %rsi
testq %rsi, %rsi
je 0x8a3f
cmpq $0x0, 0x20(%rbx)
je 0x8a29
xorl %r15d, %r15d
xorl %r12d, %r12d
movq 0x18(%rbx), %rsi
addq %r15, %rsi
movq %r14, %rdi
callq 0x6330
incq %r12
addq $0x10, %r15
cmpq 0x20(%rbx), %r12
jb 0x8a09
movq 0x18(%rbx), %rsi
movq 0x890(%r14), %rdi
callq *0x878(%r14)
movq $0x0, 0x18(%rbx)
movq $0x0, 0x20(%rbx)
xorl %eax, %eax
movl %eax, (%rbx)
movl %eax, 0x28(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/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 0x8afb
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq 0x8(%rsi), %rsi
testq %rsi, %rsi
je 0x8a98
movq %r14, %rdi
callq 0x6440
movq 0x890(%r14), %rdi
movq 0x8(%rbx), %rsi
callq *0x878(%r14)
movq $0x0, 0x8(%rbx)
movq 0x10(%rbx), %rsi
testq %rsi, %rsi
je 0x8ac3
movq %r14, %rdi
callq 0x6d90
movq 0x890(%r14), %rdi
movq 0x10(%rbx), %rsi
callq *0x878(%r14)
movq $0x0, 0x10(%rbx)
movq 0x18(%rbx), %rsi
testq %rsi, %rsi
je 0x8aee
movq %r14, %rdi
callq 0x6af0
movq 0x890(%r14), %rdi
movq 0x18(%rbx), %rsi
callq *0x878(%r14)
movq $0x0, 0x18(%rbx)
movl $0x0, (%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/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 0x8b6e
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq 0x8(%rsi), %rsi
testq %rsi, %rsi
je 0x8b36
movq %r14, %rdi
callq 0x6330
movq 0x890(%r14), %rdi
movq 0x8(%rbx), %rsi
callq *0x878(%r14)
movq $0x0, 0x8(%rbx)
movq 0x10(%rbx), %rsi
testq %rsi, %rsi
je 0x8b61
movq %r14, %rdi
callq 0x6440
movq 0x890(%r14), %rdi
movq 0x10(%rbx), %rsi
callq *0x878(%r14)
movq $0x0, 0x10(%rbx)
movl $0x0, (%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/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 0x8be7
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq (%rsi), %rsi
testq %rsi, %rsi
je 0x8ba6
movq %r14, %rdi
callq 0x6330
movq 0x890(%r14), %rdi
movq (%rbx), %rsi
callq *0x878(%r14)
movq $0x0, (%rbx)
movq 0x10(%rbx), %rsi
testq %rsi, %rsi
je 0x8bd1
movq %r14, %rdi
callq 0x6880
movq 0x890(%r14), %rdi
movq 0x10(%rbx), %rsi
callq *0x878(%r14)
movq $0x0, 0x10(%rbx)
movq $0x0, 0x8(%rbx)
movl $0x0, 0x18(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/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 0x8cbf
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq (%rsi), %rsi
testq %rsi, %rsi
je 0x8cb8
movq %rdi, %r14
callq 0x6330
movq 0x890(%r14), %rdi
movq (%rbx), %rsi
callq *0x878(%r14)
movq $0x0, (%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/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 0x8cfb
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq (%rsi), %rsi
testq %rsi, %rsi
je 0x8cf4
movq %rdi, %r14
callq 0x6330
movq 0x890(%r14), %rdi
movq (%rbx), %rsi
callq *0x878(%r14)
movq $0x0, (%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/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 0x8e26
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq (%rsi), %rsi
testq %rsi, %rsi
je 0x8e1f
movq %rdi, %r14
callq 0x6a20
movq 0x890(%r14), %rdi
movq (%rbx), %rsi
callq *0x878(%r14)
movq $0x0, (%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/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 0x8fc5
movq %r14, %rdi
callq 0x6d70
movq 0x890(%r14), %rdi
movq (%rbx), %rsi
callq *0x878(%r14)
movq $0x0, (%rbx)
movq 0x8(%rbx), %rsi
testq %rsi, %rsi
je 0x8ff0
movq %r14, %rdi
callq 0x6220
movq 0x890(%r14), %rdi
movq 0x8(%rbx), %rsi
callq *0x878(%r14)
movq $0x0, 0x8(%rbx)
movq 0x10(%rbx), %rsi
testq %rsi, %rsi
je 0x901b
movq %r14, %rdi
callq 0x6330
movq 0x890(%r14), %rdi
movq 0x10(%rbx), %rsi
callq *0x878(%r14)
movq $0x0, 0x10(%rbx)
movq 0x18(%rbx), %rsi
testq %rsi, %rsi
je 0x9046
movq %r14, %rdi
callq 0x6930
movq 0x890(%r14), %rdi
movq 0x18(%rbx), %rsi
callq *0x878(%r14)
movq $0x0, 0x18(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/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 0x9119
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq (%rsi), %r15
testq %r15, %r15
je 0x90b8
movq (%r15), %rdi
movq %r15, %rsi
testq %rdi, %rdi
je 0x90a0
movq 0x8(%r15), %rdx
xorl %esi, %esi
callq *0x888(%r14)
movq 0x890(%r14), %rdi
movq (%r15), %rsi
callq *0x878(%r14)
movq $0x0, (%r15)
movq (%rbx), %rsi
xorl %r12d, %r12d
movq %r12, 0x8(%r15)
movq 0x890(%r14), %rdi
callq *0x878(%r14)
movq %r12, (%rbx)
movq 0x8(%rbx), %r15
testq %r15, %r15
je 0x910e
movq (%r15), %rdi
movq %r15, %rsi
testq %rdi, %rdi
je 0x90f5
movq 0x8(%r15), %rdx
xorl %esi, %esi
callq *0x888(%r14)
movq 0x890(%r14), %rdi
movq (%r15), %rsi
callq *0x878(%r14)
movq $0x0, (%r15)
movq 0x8(%rbx), %rsi
xorl %r12d, %r12d
movq %r12, 0x8(%r15)
movq 0x890(%r14), %rdi
callq *0x878(%r14)
movq %r12, 0x8(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/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 0x9183
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq (%rsi), %rsi
testq %rsi, %rsi
je 0x9151
movq %r14, %rdi
callq 0x6330
movq 0x890(%r14), %rdi
movq (%rbx), %rsi
callq *0x878(%r14)
movq $0x0, (%rbx)
movq 0x8(%rbx), %rsi
testq %rsi, %rsi
je 0x917c
movq %r14, %rdi
callq 0x6330
movq 0x890(%r14), %rdi
movq 0x8(%rbx), %rsi
callq *0x878(%r14)
movq $0x0, 0x8(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/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 0x929d
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq (%rsi), %rsi
testq %rsi, %rsi
je 0x91bf
movq %r14, %rdi
callq 0x6330
movq 0x890(%r14), %rdi
movq (%rbx), %rsi
callq *0x878(%r14)
movq $0x0, (%rbx)
movq 0x8(%rbx), %rsi
testq %rsi, %rsi
je 0x91ea
movq %r14, %rdi
callq 0x6330
movq 0x890(%r14), %rdi
movq 0x8(%rbx), %rsi
callq *0x878(%r14)
movq $0x0, 0x8(%rbx)
movq 0x10(%rbx), %rsi
testq %rsi, %rsi
je 0x9215
movq %r14, %rdi
callq 0x6330
movq 0x890(%r14), %rdi
movq 0x10(%rbx), %rsi
callq *0x878(%r14)
movq $0x0, 0x10(%rbx)
movq 0x18(%rbx), %rsi
testq %rsi, %rsi
je 0x9240
movq %r14, %rdi
callq 0x6330
movq 0x890(%r14), %rdi
movq 0x18(%rbx), %rsi
callq *0x878(%r14)
movq $0x0, 0x18(%rbx)
movq 0x20(%rbx), %rsi
testq %rsi, %rsi
je 0x926b
movq %r14, %rdi
callq 0x6330
movq 0x890(%r14), %rdi
movq 0x20(%rbx), %rsi
callq *0x878(%r14)
movq $0x0, 0x20(%rbx)
movq 0x28(%rbx), %rsi
testq %rsi, %rsi
je 0x9296
movq %r14, %rdi
callq 0x6330
movq 0x890(%r14), %rdi
movq 0x28(%rbx), %rsi
callq *0x878(%r14)
movq $0x0, 0x28(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/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 0x939b
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq (%rsi), %rsi
testq %rsi, %rsi
je 0x92dd
movq %r14, %rdi
callq 0x62d0
movq 0x890(%r14), %rdi
movq (%rbx), %rsi
callq *0x878(%r14)
movq $0x0, (%rbx)
movq 0x10(%rbx), %r15
testq %r15, %r15
je 0x9333
movq (%r15), %rdi
movq %r15, %rsi
testq %rdi, %rdi
je 0x931a
movq 0x8(%r15), %rdx
xorl %esi, %esi
callq *0x888(%r14)
movq 0x890(%r14), %rdi
movq (%r15), %rsi
callq *0x878(%r14)
movq $0x0, (%r15)
movq 0x10(%rbx), %rsi
xorl %r12d, %r12d
movq %r12, 0x8(%r15)
movq 0x890(%r14), %rdi
callq *0x878(%r14)
movq %r12, 0x10(%rbx)
movq 0x18(%rbx), %r15
testq %r15, %r15
je 0x9389
movq (%r15), %rdi
movq %r15, %rsi
testq %rdi, %rdi
je 0x9370
movq 0x8(%r15), %rdx
xorl %esi, %esi
callq *0x888(%r14)
movq 0x890(%r14), %rdi
movq (%r15), %rsi
callq *0x878(%r14)
movq $0x0, (%r15)
movq 0x18(%rbx), %rsi
xorl %r12d, %r12d
movq %r12, 0x8(%r15)
movq 0x890(%r14), %rdi
callq *0x878(%r14)
movq %r12, 0x18(%rbx)
movl $0x0, 0x8(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/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 0x9488
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq (%rsi), %r15
testq %r15, %r15
je 0x9483
movq %rdi, %r14
cmpq $0x0, 0x8(%r15)
movq %r15, %rsi
je 0x9467
leaq 0x8(%r15), %rdx
movl (%r15), %esi
movq %r14, %rdi
callq 0x6cb0
movq $0x0, 0x8(%r15)
movq (%rbx), %rsi
movl $0x0, (%r15)
movq 0x890(%r14), %rdi
callq *0x878(%r14)
movq $0x0, (%rbx)
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/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 0x95b6
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
movq (%rsi), %rdi
testq %rdi, %rdi
je 0x94cb
movl $0x8, %edx
xorl %esi, %esi
callq *0x888(%r14)
movq 0x890(%r14), %rdi
movq (%rbx), %rsi
callq *0x878(%r14)
movq $0x0, (%rbx)
movq 0x10(%rbx), %rsi
testq %rsi, %rsi
je 0x94f6
movq %r14, %rdi
callq 0x60b0
movq 0x890(%r14), %rdi
movq 0x10(%rbx), %rsi
callq *0x878(%r14)
movq $0x0, 0x10(%rbx)
leaq 0x30(%rbx), %r15
movq 0x30(%rbx), %rdi
testq %rdi, %rdi
je 0x952d
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 0x9558
movq %r14, %rdi
callq 0x6330
movq 0x890(%r14), %rdi
movq 0x40(%rbx), %rsi
callq *0x878(%r14)
movq $0x0, 0x40(%rbx)
movq 0x48(%rbx), %rsi
testq %rsi, %rsi
je 0x957b
movq %r14, %rdi
callq 0x6330
movq 0x890(%r14), %rdi
movq 0x48(%rbx), %rsi
callq *0x878(%r14)
xorl %eax, %eax
movq %rax, (%rbx)
movq $-0x1, %rcx
movq %rcx, 0x8(%rbx)
movq %rax, 0x10(%rbx)
movabsq $-0x100000000, %rdx     # imm = 0xFFFFFFFF00000000
movq %rdx, 0x18(%rbx)
movq %rax, 0x20(%rbx)
movq %rcx, 0x28(%rbx)
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%r15)
movups %xmm0, (%r15)
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/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 0x97ce
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq (%rsi), %rsi
testq %rsi, %rsi
je 0x9773
movq %r14, %rdi
callq 0x6420
movq 0x890(%r14), %rdi
movq (%rbx), %rsi
callq *0x878(%r14)
movq $0x0, (%rbx)
movq 0x8(%rbx), %rsi
testq %rsi, %rsi
je 0x97bb
cmpq $0x0, 0x10(%rbx)
je 0x97a9
xorl %r15d, %r15d
xorl %r12d, %r12d
movq 0x8(%rbx), %rsi
addq %r15, %rsi
movq %r14, %rdi
callq 0x64a0
incq %r12
addq $0x20, %r15
cmpq 0x10(%rbx), %r12
jb 0x9789
movq 0x8(%rbx), %rsi
movq %r14, %rdi
callq *0x878(%r14)
movq $0x0, 0x8(%rbx)
movq $0x0, 0x10(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/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 0x9869
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq (%rsi), %rsi
testq %rsi, %rsi
je 0x980e
movq %r14, %rdi
callq 0x6920
movq 0x890(%r14), %rdi
movq (%rbx), %rsi
callq *0x878(%r14)
movq $0x0, (%rbx)
movq 0x8(%rbx), %rsi
testq %rsi, %rsi
je 0x9856
cmpq $0x0, 0x10(%rbx)
je 0x9844
xorl %r15d, %r15d
xorl %r12d, %r12d
movq 0x8(%rbx), %rsi
addq %r15, %rsi
movq %r14, %rdi
callq 0x6500
incq %r12
addq $0x30, %r15
cmpq 0x10(%rbx), %r12
jb 0x9824
movq 0x8(%rbx), %rsi
movq %r14, %rdi
callq *0x878(%r14)
movq $0x0, 0x8(%rbx)
movq $0x0, 0x10(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/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 0x98e7
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
movq (%rsi), %rdi
testq %rdi, %rdi
je 0x98e2
callq 0x65a0
testq %rax, %rax
je 0x98ca
movq %rax, %r15
movq 0x890(%r14), %rdi
movq 0x10(%r15), %rsi
callq *0x878(%r14)
movq $0x0, 0x10(%r15)
movq 0x890(%r14), %rdi
movq %r15, %rsi
callq *0x878(%r14)
movq (%rbx), %rdi
callq 0x65a0
movq %rax, %r15
testq %rax, %rax
jne 0x988f
movq 0x890(%r14), %rdi
movq (%rbx), %rsi
callq *0x878(%r14)
movq $0x0, (%rbx)
popq %rbx
popq %r14
popq %r15
retq