LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O1/OpenKMIP[P]libkmip/src/kmip.c
// Function: kmip_get_num_items_next
size_t
kmip_get_num_items_next(KMIP *ctx, enum tag t)
{
    if(ctx == NULL)
    {
        return(0);
    }
    
    size_t count = 0;
    
    uint8 *index = ctx->index;
    uint32 length = 0;
    
    while((ctx->size - (uint64)(ctx->index - ctx->buffer)) > 8)
    {
        if(kmip_is_tag_next(ctx, t))
        {
            ctx->index += 4;
            
            length = 0;
            length |= ((int32)*ctx->index++ << 24);
            length |= ((int32)*ctx->index++ << 16);
            length |= ((int32)*ctx->index++ << 8);
            length |= ((int32)*ctx->index++ << 0);
            length += CALCULATE_PADDING(length);
            
            if((ctx->size - (ctx->index - ctx->buffer)) >= length)
            {
                ctx->index += length;
                count++;
            }
            else
            {
                break;
            }
        }
        else
        {
            break;
        }
    }
    
    ctx->index = index;
    return(count);
}

// Assembly:
testq %rdi, %rdi
je 0x7e96
pushq %rbx
movq (%rdi), %rdx
movq 0x8(%rdi), %rcx
movq 0x10(%rdi), %r8
movq %r8, %rax
subq %rcx, %rax
addq %rdx, %rax
cmpq $0x9, %rax
jb 0x7e99
xorl %eax, %eax
movq %rcx, %r10
movq %rcx, %r9
movq %r8, %r11
subq %r10, %r11
addq %rdx, %r11
cmpq $0x3, %r11
jb 0x7e9b
movzbl (%r9), %r10d
shll $0x10, %r10d
movzbl 0x1(%r9), %r11d
shll $0x8, %r11d
orl %r10d, %r11d
movzbl 0x2(%r9), %r10d
orl %r11d, %r10d
cmpl %esi, %r10d
jne 0x7e9b
leaq 0x5(%r9), %r10
movq %r10, 0x8(%rdi)
movzbl 0x4(%r9), %r10d
shll $0x18, %r10d
leaq 0x6(%r9), %r11
movq %r11, 0x8(%rdi)
movzbl 0x5(%r9), %r11d
shll $0x10, %r11d
orl %r10d, %r11d
leaq 0x7(%r9), %r10
movq %r10, 0x8(%rdi)
movzbl 0x6(%r9), %ebx
shll $0x8, %ebx
orl %r11d, %ebx
leaq 0x8(%r9), %r10
movq %r10, 0x8(%rdi)
movzbl 0x7(%r9), %r9d
orl %r9d, %ebx
negl %r9d
andl $0x7, %r9d
addl %ebx, %r9d
movq %r8, %r11
subq %r10, %r11
addq %rdx, %r11
cmpq %r9, %r11
jb 0x7e9b
addq %r9, %r10
movq %r10, 0x8(%rdi)
incq %rax
movq %r8, %r11
subq %r10, %r11
addq %rdx, %r11
movq %r10, %r9
cmpq $0x8, %r11
ja 0x7ddc
jmp 0x7e9b
xorl %eax, %eax
retq
xorl %eax, %eax
movq %rcx, 0x8(%rdi)
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O1/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 0x80a2
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq (%rsi), %rdi
testq %rdi, %rdi
je 0x8093
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_O1/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 0x80ee
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq (%rsi), %rdi
testq %rdi, %rdi
je 0x80df
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_O1/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 0x8131
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq (%rsi), %rsi
testq %rsi, %rsi
je 0x8123
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_O1/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 0x81af
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
movq (%rsi), %rdi
testq %rdi, %rdi
je 0x81aa
callq 0x65a0
testq %rax, %rax
je 0x8192
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 0x8157
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_O1/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 0x82bb
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq (%rsi), %rsi
testq %rsi, %rsi
je 0x8289
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 0x82b4
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_O1/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 0x8358
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq 0x40(%rsi), %r15
testq %r15, %r15
je 0x8326
movq %rdi, %r14
movq (%r15), %rdi
testq %rdi, %rdi
je 0x8309
movq 0x8(%r15), %rdx
xorl %esi, %esi
callq *0x888(%r14)
movq 0x890(%r14), %rdi
movq (%r15), %rsi
callq *0x878(%r14)
movq $0x0, (%r15)
xorl %r12d, %r12d
movq %r12, 0x8(%r15)
movq 0x890(%r14), %rdi
movq 0x40(%rbx), %rsi
callq *0x878(%r14)
movq %r12, 0x40(%rbx)
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
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/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 0x83e9
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq (%rsi), %rdi
testq %rdi, %rdi
je 0x83de
callq 0x65a0
testq %rax, %rax
je 0x83c6
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 0x8385
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_O1/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 0x84ac
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
cmpq $0x0, (%rsi)
je 0x8447
cmpq $0x0, 0x8(%rbx)
je 0x842f
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 0x8414
movq 0x890(%r14), %rdi
movq (%rbx), %rsi
callq *0x878(%r14)
movq $0x0, (%rbx)
movq $0x0, 0x8(%rbx)
cmpq $0x0, 0x10(%rbx)
je 0x8499
cmpq $0x0, 0x18(%rbx)
je 0x847f
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 0x8463
movq 0x890(%r14), %rdi
movq 0x10(%rbx), %rsi
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_O1/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
testq %rdi, %rdi
je 0x84f5
movq 0x8(%r15), %rdx
xorl %esi, %esi
callq *0x888(%r14)
movq 0x890(%r14), %rdi
movq (%r15), %rsi
callq *0x878(%r14)
movq $0x0, (%r15)
xorl %r12d, %r12d
movq %r12, 0x8(%r15)
movq 0x890(%r14), %rdi
movq (%rbx), %rsi
callq *0x878(%r14)
movq %r12, (%rbx)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/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 0x8600
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)
cmpq $0x0, 0x8(%rbx)
je 0x85ed
cmpq $0x0, 0x10(%rbx)
je 0x85d3
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 0x85b7
movq 0x890(%r14), %rdi
movq 0x8(%rbx), %rsi
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_O1/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 0x866a
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq (%rsi), %rsi
testq %rsi, %rsi
je 0x8638
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 0x8663
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_O1/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 0x86d4
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq (%rsi), %rsi
testq %rsi, %rsi
je 0x86a2
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 0x86cd
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_O1/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 0x87fa
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq 0x8(%rsi), %rsi
testq %rsi, %rsi
je 0x8717
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 0x8742
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 0x8795
movq (%r15), %rdi
testq %rdi, %rdi
je 0x8778
movq 0x8(%r15), %rdx
xorl %esi, %esi
callq *0x888(%r14)
movq 0x890(%r14), %rdi
movq (%r15), %rsi
callq *0x878(%r14)
movq $0x0, (%r15)
xorl %r12d, %r12d
movq %r12, 0x8(%r15)
movq 0x890(%r14), %rdi
movq 0x18(%rbx), %rsi
callq *0x878(%r14)
movq %r12, 0x18(%rbx)
movq 0x20(%rbx), %r15
testq %r15, %r15
je 0x87e8
movq (%r15), %rdi
testq %rdi, %rdi
je 0x87cb
movq 0x8(%r15), %rdx
xorl %esi, %esi
callq *0x888(%r14)
movq 0x890(%r14), %rdi
movq (%r15), %rsi
callq *0x878(%r14)
movq $0x0, (%r15)
xorl %r12d, %r12d
movq %r12, 0x8(%r15)
movq 0x890(%r14), %rdi
movq 0x20(%rbx), %rsi
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_O1/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 0x88c3
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
movq 0x8(%rsi), %r15
testq %r15, %r15
je 0x887c
cmpl $0x8, 0x10(%rbx)
jne 0x8855
movq (%r15), %rdi
testq %rdi, %rdi
je 0x884b
movq 0x8(%r15), %rdx
xorl %esi, %esi
callq *0x888(%r14)
movq 0x890(%r14), %rdi
movq (%r15), %rsi
callq *0x878(%r14)
movq $0x0, (%r15)
movq $0x0, 0x8(%r15)
jmp 0x8862
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 0x88a7
movq %r14, %rdi
callq 0x68e0
movq 0x890(%r14), %rdi
movq 0x20(%rbx), %rsi
callq *0x878(%r14)
movq $0x0, 0x20(%rbx)
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_O1/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 0x88ff
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq (%rsi), %rsi
testq %rsi, %rsi
je 0x88f8
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_O1/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 0x893b
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq (%rsi), %rsi
testq %rsi, %rsi
je 0x8934
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_O1/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 0x8977
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq (%rsi), %rsi
testq %rsi, %rsi
je 0x8970
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_O1/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 0x8a49
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq 0x8(%rsi), %rsi
testq %rsi, %rsi
je 0x89ba
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 0x89e5
movq %r14, %rdi
callq 0x6a60
movq 0x890(%r14), %rdi
movq 0x10(%rbx), %rsi
callq *0x878(%r14)
movq $0x0, 0x10(%rbx)
cmpq $0x0, 0x18(%rbx)
je 0x8a2f
cmpq $0x0, 0x20(%rbx)
je 0x8a15
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 0x89f9
movq 0x890(%r14), %rdi
movq 0x18(%rbx), %rsi
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_O1/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 0x8aeb
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq 0x8(%rsi), %rsi
testq %rsi, %rsi
je 0x8a88
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 0x8ab3
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 0x8ade
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_O1/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 0x8b5e
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq 0x8(%rsi), %rsi
testq %rsi, %rsi
je 0x8b26
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 0x8b51
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_O1/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 0x8bd7
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq (%rsi), %rsi
testq %rsi, %rsi
je 0x8b96
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 0x8bc1
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_O1/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 0x8caf
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq (%rsi), %rsi
testq %rsi, %rsi
je 0x8ca8
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_O1/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 0x8ceb
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq (%rsi), %rsi
testq %rsi, %rsi
je 0x8ce4
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_O1/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 0x8e13
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq (%rsi), %rsi
testq %rsi, %rsi
je 0x8e0c
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_O1/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 0x8fac
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 0x8fd7
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 0x9002
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 0x902d
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_O1/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 0x90fa
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq (%rsi), %r15
testq %r15, %r15
je 0x909c
movq (%r15), %rdi
testq %rdi, %rdi
je 0x9081
movq 0x8(%r15), %rdx
xorl %esi, %esi
callq *0x888(%r14)
movq 0x890(%r14), %rdi
movq (%r15), %rsi
callq *0x878(%r14)
movq $0x0, (%r15)
xorl %r12d, %r12d
movq %r12, 0x8(%r15)
movq 0x890(%r14), %rdi
movq (%rbx), %rsi
callq *0x878(%r14)
movq %r12, (%rbx)
movq 0x8(%rbx), %r15
testq %r15, %r15
je 0x90ef
movq (%r15), %rdi
testq %rdi, %rdi
je 0x90d2
movq 0x8(%r15), %rdx
xorl %esi, %esi
callq *0x888(%r14)
movq 0x890(%r14), %rdi
movq (%r15), %rsi
callq *0x878(%r14)
movq $0x0, (%r15)
xorl %r12d, %r12d
movq %r12, 0x8(%r15)
movq 0x890(%r14), %rdi
movq 0x8(%rbx), %rsi
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_O1/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 0x9164
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq (%rsi), %rsi
testq %rsi, %rsi
je 0x9132
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 0x915d
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_O1/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 0x927e
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq (%rsi), %rsi
testq %rsi, %rsi
je 0x91a0
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 0x91cb
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 0x91f6
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 0x9221
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 0x924c
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 0x9277
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_O1/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 0x9376
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq (%rsi), %rsi
testq %rsi, %rsi
je 0x92be
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 0x9311
movq (%r15), %rdi
testq %rdi, %rdi
je 0x92f4
movq 0x8(%r15), %rdx
xorl %esi, %esi
callq *0x888(%r14)
movq 0x890(%r14), %rdi
movq (%r15), %rsi
callq *0x878(%r14)
movq $0x0, (%r15)
xorl %r12d, %r12d
movq %r12, 0x8(%r15)
movq 0x890(%r14), %rdi
movq 0x10(%rbx), %rsi
callq *0x878(%r14)
movq %r12, 0x10(%rbx)
movq 0x18(%rbx), %r15
testq %r15, %r15
je 0x9364
movq (%r15), %rdi
testq %rdi, %rdi
je 0x9347
movq 0x8(%r15), %rdx
xorl %esi, %esi
callq *0x888(%r14)
movq 0x890(%r14), %rdi
movq (%r15), %rsi
callq *0x878(%r14)
movq $0x0, (%r15)
xorl %r12d, %r12d
movq %r12, 0x8(%r15)
movq 0x890(%r14), %rdi
movq 0x18(%rbx), %rsi
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_O1/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 0x9460
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq (%rsi), %r15
testq %r15, %r15
je 0x945b
movq %rdi, %r14
cmpq $0x0, 0x8(%r15)
je 0x943c
leaq 0x8(%r15), %rdx
movl (%r15), %esi
movq %r14, %rdi
callq 0x6cb0
movq $0x0, 0x8(%r15)
movl $0x0, (%r15)
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_O1/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 0x9596
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
movq (%rsi), %rdi
testq %rdi, %rdi
je 0x94a3
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 0x94ce
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 0x9505
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 0x9530
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 0x955b
movq %r14, %rdi
callq 0x6330
movq 0x890(%r14), %rdi
movq 0x48(%rbx), %rsi
callq *0x878(%r14)
movq $0x0, 0x48(%rbx)
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_O1/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 0x97b1
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq (%rsi), %rsi
testq %rsi, %rsi
je 0x9758
movq %r14, %rdi
callq 0x6420
movq 0x890(%r14), %rdi
movq (%rbx), %rsi
callq *0x878(%r14)
movq $0x0, (%rbx)
cmpq $0x0, 0x8(%rbx)
je 0x979e
cmpq $0x0, 0x10(%rbx)
je 0x9788
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 0x976c
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_O1/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 0x984a
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq (%rsi), %rsi
testq %rsi, %rsi
je 0x97f1
movq %r14, %rdi
callq 0x6920
movq 0x890(%r14), %rdi
movq (%rbx), %rsi
callq *0x878(%r14)
movq $0x0, (%rbx)
cmpq $0x0, 0x8(%rbx)
je 0x9837
cmpq $0x0, 0x10(%rbx)
je 0x9821
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 0x9805
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