LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O3/OpenKMIP[P]libkmip/src/kmip_io.c
// Function: kmip_print_key_block
void
kmip_print_key_block(FILE *f, int indent, KeyBlock *value)
{
    fprintf(f, "%*sKey Block @ %p\n", indent, "", (void *)value);
    
    if(value != NULL)
    {
        fprintf(f, "%*sKey Format Type: ", indent + 2, "");
        kmip_print_key_format_type_enum(f, value->key_format_type);
        fprintf(f, "\n");
        
        fprintf(f, "%*sKey Compression Type: ", indent + 2, "");
        kmip_print_key_compression_type_enum(f, value->key_compression_type);
        fprintf(f, "\n");
        
        kmip_print_key_value(f, indent + 2, value->key_value_type, value->key_format_type, value->key_value);
        
        fprintf(f, "%*sCryptographic Algorithm: ", indent + 2, "");
        kmip_print_cryptographic_algorithm_enum(f, value->cryptographic_algorithm);
        fprintf(f, "\n");
        
        fprintf(f, "%*sCryptographic Length: %d\n", indent + 2, "", value->cryptographic_length);
        
        kmip_print_key_wrapping_data(f, indent + 2, value->key_wrapping_data);
    }
    
    return;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r14
movl %esi, %ebx
movq %rdi, %r15
leaq 0x9d2b(%rip), %rsi      # 0x25ac3
leaq 0x4412(%rip), %rcx      # 0x201b1
movl %ebx, %edx
movq %r14, %r8
xorl %eax, %eax
callq 0x2200
testq %r14, %r14
je 0x1be92
addl $0x2, %ebx
leaq 0x9d18(%rip), %rsi      # 0x25ad6
leaq 0x43ec(%rip), %r12      # 0x201b1
movq %r15, %rdi
movl %ebx, %edx
movq %r12, %rcx
xorl %eax, %eax
callq 0x2200
movl (%r14), %esi
movq %r15, %rdi
callq 0x19d95
movl $0xa, %edi
movq %r15, %rsi
callq 0x21b0
leaq 0x9cf8(%rip), %rsi      # 0x25aeb
movq %r15, %rdi
movl %ebx, %edx
movq %r12, %rcx
xorl %eax, %eax
callq 0x2200
movl 0x4(%r14), %esi
movq %r15, %rdi
callq 0x19eec
movl $0xa, %edi
movq %r15, %rsi
callq 0x21b0
movl 0x10(%r14), %edx
movl (%r14), %ecx
movq 0x8(%r14), %r8
movq %r15, %rdi
movl %ebx, %esi
callq 0x1bca0
leaq 0x99f6(%rip), %rsi      # 0x2582d
movq %r15, %rdi
movl %ebx, %edx
movq %r12, %rcx
xorl %eax, %eax
callq 0x2200
movl 0x14(%r14), %esi
movq %r15, %rdi
callq 0x19f57
movl $0xa, %edi
movq %r15, %rsi
callq 0x21b0
movl 0x18(%r14), %r8d
leaq 0x9c9b(%rip), %rsi      # 0x25b05
movq %r15, %rdi
movl %ebx, %edx
movq %r12, %rcx
xorl %eax, %eax
callq 0x2200
movq 0x20(%r14), %rdx
movq %r15, %rdi
movl %ebx, %esi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x1b8df
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/OpenKMIP[P]libkmip/src/kmip_io.c
// Function: kmip_print_symmetric_key
void
kmip_print_symmetric_key(FILE *f, int indent, SymmetricKey *value)
{
    fprintf(f, "%*sSymmetric Key @ %p\n", indent, "", (void *)value);
    
    if(value != NULL)
    {
        kmip_print_key_block(f, indent + 2, value->key_block);
    }
    
    return;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %r14
movl %esi, %ebx
movq %rdi, %r15
leaq 0x9c70(%rip), %rsi      # 0x25b22
leaq 0x42f8(%rip), %rcx      # 0x201b1
movl %ebx, %edx
movq %r14, %r8
xorl %eax, %eax
callq 0x2200
testq %r14, %r14
je 0x1bedf
addl $0x2, %ebx
movq (%r14), %rdx
movq %r15, %rdi
movl %ebx, %esi
popq %rbx
popq %r14
popq %r15
jmp 0x1bd81
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/OpenKMIP[P]libkmip/src/kmip_io.c
// Function: kmip_print_attributes
void
kmip_print_attributes(FILE *f, int indent, Attributes *value)
{
    fprintf(f, "%*sAttributes @ %p\n", indent, "", (void *)value);

    if(value != NULL &&
       value->attribute_list != NULL)
    {
        fprintf(f, "%*sAttributes: %zu\n", indent + 2, "", value->attribute_list->size);
        LinkedListItem *curr = value->attribute_list->head;
        while(curr != NULL)
        {
            Attribute *attribute = (Attribute *)curr->data;
            kmip_print_attribute(f, indent + 4, attribute);

            curr = curr->next;
        }
    }
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %r15
movl %esi, %ebx
movq %rdi, %r14
leaq 0x9c37(%rip), %rsi      # 0x25b75
leaq 0x426c(%rip), %rcx      # 0x201b1
movl %ebx, %edx
movq %r15, %r8
xorl %eax, %eax
callq 0x2200
testq %r15, %r15
je 0x1bfa1
movq (%r15), %rax
testq %rax, %rax
je 0x1bfa1
leal 0x2(%rbx), %edx
movq 0x10(%rax), %r8
leaq 0x9b28(%rip), %rsi      # 0x25a94
leaq 0x423e(%rip), %rcx      # 0x201b1
movq %r14, %rdi
xorl %eax, %eax
callq 0x2200
movq (%r15), %rax
movq (%rax), %r15
testq %r15, %r15
je 0x1bfa1
addl $0x4, %ebx
movq 0x10(%r15), %rdx
movq %r14, %rdi
movl %ebx, %esi
callq 0x1bbaa
movq (%r15), %r15
testq %r15, %r15
jne 0x1bf8b
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/OpenKMIP[P]libkmip/src/kmip_io.c
// Function: kmip_print_template_attribute
void
kmip_print_template_attribute(FILE *f, int indent, TemplateAttribute *value)
{
    fprintf(f, "%*sTemplate Attribute @ %p\n", indent, "", (void *)value);
    
    if(value != NULL)
    {
        fprintf(f, "%*sNames: %zu\n", indent + 2, "", value->name_count);
        for(size_t i = 0; i < value->name_count; i++)
        {
            kmip_print_name(f, indent + 4, &value->names[i]);
        }
        
        fprintf(f, "%*sAttributes: %zu\n", indent + 2, "", value->attribute_count);
        for(size_t i = 0; i< value->attribute_count; i++)
        {
            kmip_print_attribute(f, indent + 4, &value->attributes[i]);
        }
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movl %esi, %r14d
movq %rdi, %r15
leaq 0x9bc7(%rip), %rsi      # 0x25b89
leaq 0x41e8(%rip), %rcx      # 0x201b1
movl %r14d, %edx
movq %rbx, %r8
xorl %eax, %eax
callq 0x2200
testq %rbx, %rbx
je 0x1c081
leal 0x2(%r14), %edx
movq 0x8(%rbx), %r8
leaq 0x9bb7(%rip), %rsi      # 0x25ba5
leaq 0x41bc(%rip), %rcx      # 0x201b1
movq %r15, %rdi
movl %edx, 0x4(%rsp)
xorl %eax, %eax
callq 0x2200
cmpq $0x0, 0x8(%rbx)
je 0x1c031
leal 0x4(%r14), %r12d
xorl %r13d, %r13d
xorl %ebp, %ebp
movq (%rbx), %rdx
addq %r13, %rdx
movq %r15, %rdi
movl %r12d, %esi
callq 0x1b35f
incq %rbp
addq $0x10, %r13
cmpq 0x8(%rbx), %rbp
jb 0x1c013
movq 0x18(%rbx), %r8
leaq 0x9a58(%rip), %rsi      # 0x25a94
leaq 0x416e(%rip), %rcx      # 0x201b1
movq %r15, %rdi
movl 0x4(%rsp), %edx
xorl %eax, %eax
callq 0x2200
cmpq $0x0, 0x18(%rbx)
je 0x1c081
addl $0x4, %r14d
xorl %r12d, %r12d
xorl %r13d, %r13d
movq 0x10(%rbx), %rdx
addq %r12, %rdx
movq %r15, %rdi
movl %r14d, %esi
callq 0x1bbaa
incq %r13
addq $0x10, %r12
cmpq 0x18(%rbx), %r13
jb 0x1c062
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/OpenKMIP[P]libkmip/src/kmip_io.c
// Function: kmip_print_create_request_payload
void
kmip_print_create_request_payload(FILE *f, int indent, CreateRequestPayload *value)
{
    fprintf(f, "%*sCreate Request Payload @ %p\n", indent, "", (void *)value);
    
    if(value != NULL)
    {
        fprintf(f, "%*sObject Type: ", indent + 2, "");
        kmip_print_object_type_enum(f, value->object_type);
        fprintf(f, "\n");
        
        kmip_print_template_attribute(f, indent + 2, value->template_attribute);
        kmip_print_attributes(f, indent + 2, value->attributes);
        kmip_print_protection_storage_masks(f, indent + 2, value->protection_storage_masks);
    }
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %r14
movl %esi, %ebx
movq %rdi, %r15
leaq 0x9b10(%rip), %rsi      # 0x25bb4
leaq 0x4106(%rip), %rcx      # 0x201b1
movl %ebx, %edx
movq %r14, %r8
xorl %eax, %eax
callq 0x2200
testq %r14, %r14
je 0x1c120
addl $0x2, %ebx
leaq 0x9b0e(%rip), %rsi      # 0x25bd4
leaq 0x40e4(%rip), %rcx      # 0x201b1
movq %r15, %rdi
movl %ebx, %edx
xorl %eax, %eax
callq 0x2200
movl (%r14), %esi
movq %r15, %rdi
callq 0x19cdc
movl $0xa, %edi
movq %r15, %rsi
callq 0x21b0
movq 0x8(%r14), %rdx
movq %r15, %rdi
movl %ebx, %esi
callq 0x1bfa7
movq 0x10(%r14), %rdx
movq %r15, %rdi
movl %ebx, %esi
callq 0x1bf2a
movq 0x18(%r14), %rdx
movq %r15, %rdi
movl %ebx, %esi
popq %rbx
popq %r14
popq %r15
jmp 0x1b040
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/OpenKMIP[P]libkmip/src/kmip_io.c
// Function: kmip_print_create_response_payload
void
kmip_print_create_response_payload(FILE *f, int indent, CreateResponsePayload *value)
{
    fprintf(f, "%*sCreate Response Payload @ %p\n", indent, "", (void *)value);
    
    if(value != NULL)
    {
        fprintf(f, "%*sObject Type: ", indent + 2, "");
        kmip_print_object_type_enum(f, value->object_type);
        fprintf(f, "\n");
        
        kmip_print_text_string(f, indent + 2, "Unique Identifier", value->unique_identifier);
        kmip_print_template_attribute(f, indent + 2, value->template_attribute);
    }
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %r14
movl %esi, %ebx
movq %rdi, %r15
leaq 0x9aab(%rip), %rsi      # 0x25be5
leaq 0x4070(%rip), %rcx      # 0x201b1
movl %ebx, %edx
movq %r14, %r8
xorl %eax, %eax
callq 0x2200
testq %r14, %r14
je 0x1c1af
addl $0x2, %ebx
leaq 0x9a78(%rip), %rsi      # 0x25bd4
leaq 0x404e(%rip), %rcx      # 0x201b1
movq %r15, %rdi
movl %ebx, %edx
xorl %eax, %eax
callq 0x2200
movl (%r14), %esi
movq %r15, %rdi
callq 0x19cdc
movl $0xa, %edi
movq %r15, %rsi
callq 0x21b0
movq 0x8(%r14), %rcx
leaq 0x622f(%rip), %rdx      # 0x223c1
movq %r15, %rdi
movl %ebx, %esi
callq 0x1b161
movq 0x10(%r14), %rdx
movq %r15, %rdi
movl %ebx, %esi
popq %rbx
popq %r14
popq %r15
jmp 0x1bfa7
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/OpenKMIP[P]libkmip/src/kmip_io.c
// Function: kmip_print_get_request_payload
void
kmip_print_get_request_payload(FILE *f, int indent, GetRequestPayload *value)
{
    fprintf(f, "%*sGet Request Payload @ %p\n", indent, "", (void *)value);
    
    if(value != NULL)
    {
        kmip_print_text_string(f, indent + 2, "Unique Identifier", value->unique_identifier);
        
        fprintf(f, "%*sKey Format Type: ", indent + 2, "");
        kmip_print_key_format_type_enum(f, value->key_format_type);
        fprintf(f, "\n");
        
        fprintf(f, "%*sKey Wrap Type: ", indent + 2, "");
        kmip_print_key_wrap_type_enum(f, value->key_wrap_type);
        fprintf(f, "\n");
        
        fprintf(f, "%*sKey Compression Type: ", indent + 2, "");
        kmip_print_key_compression_type_enum(f, value->key_compression_type);
        fprintf(f, "\n");
        
        kmip_print_key_wrapping_specification(f, indent + 2, value->key_wrapping_spec);
    }
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r15
movl %esi, %ebx
movq %rdi, %r14
leaq 0x9a3a(%rip), %rsi      # 0x25c06
leaq 0x3fde(%rip), %rcx      # 0x201b1
movl %ebx, %edx
movq %r15, %r8
xorl %eax, %eax
callq 0x2200
testq %r15, %r15
je 0x1c2b8
addl $0x2, %ebx
movq (%r15), %rcx
leaq 0x61cc(%rip), %rdx      # 0x223c1
movq %r14, %rdi
movl %ebx, %esi
callq 0x1b161
leaq 0x98d0(%rip), %rsi      # 0x25ad6
leaq 0x3fa4(%rip), %r12      # 0x201b1
movq %r14, %rdi
movl %ebx, %edx
movq %r12, %rcx
xorl %eax, %eax
callq 0x2200
movl 0x8(%r15), %esi
movq %r14, %rdi
callq 0x19d95
movl $0xa, %edi
movq %r14, %rsi
callq 0x21b0
leaq 0x99e7(%rip), %rsi      # 0x25c23
movq %r14, %rdi
movl %ebx, %edx
movq %r12, %rcx
xorl %eax, %eax
callq 0x2200
movl 0x18(%r15), %esi
movq %r14, %rdi
callq 0x1aa65
movl $0xa, %edi
movq %r14, %rsi
callq 0x21b0
leaq 0x9880(%rip), %rsi      # 0x25aeb
movq %r14, %rdi
movl %ebx, %edx
movq %r12, %rcx
xorl %eax, %eax
callq 0x2200
movl 0xc(%r15), %esi
movq %r14, %rdi
callq 0x19eec
movl $0xa, %edi
movq %r14, %rsi
callq 0x21b0
movq 0x10(%r15), %r8
leaq 0x98b3(%rip), %rsi      # 0x25b51
movq %r14, %rdi
movl %ebx, %edx
movq %r12, %rcx
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x2200
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/OpenKMIP[P]libkmip/src/kmip_io.c
// Function: kmip_print_get_response_payload
void
kmip_print_get_response_payload(FILE *f, int indent, GetResponsePayload *value)
{
    fprintf(f, "%*sGet Response Payload @ %p\n", indent, "", (void *)value);
    
    if(value != NULL)
    {
        fprintf(f, "%*sObject Type: ", indent + 2, "");
        kmip_print_object_type_enum(f, value->object_type);
        fprintf(f, "\n");
        
        kmip_print_text_string(f, indent + 2, "Unique Identifier", value->unique_identifier);
        kmip_print_object(f, indent + 2, value->object_type, value->object);
    }
    
    return;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %r14
movl %esi, %ebx
movq %rdi, %r15
leaq 0x995e(%rip), %rsi      # 0x25c36
leaq 0x3ed2(%rip), %rcx      # 0x201b1
movl %ebx, %edx
movq %r14, %r8
xorl %eax, %eax
callq 0x2200
testq %r14, %r14
je 0x1c350
addl $0x2, %ebx
leaq 0x98da(%rip), %rsi      # 0x25bd4
leaq 0x3eb0(%rip), %rcx      # 0x201b1
movq %r15, %rdi
movl %ebx, %edx
xorl %eax, %eax
callq 0x2200
movl (%r14), %esi
movq %r15, %rdi
callq 0x19cdc
movl $0xa, %edi
movq %r15, %rsi
callq 0x21b0
movq 0x8(%r14), %rcx
leaq 0x6091(%rip), %rdx      # 0x223c1
movq %r15, %rdi
movl %ebx, %esi
callq 0x1b161
movl (%r14), %edx
movq 0x10(%r14), %rcx
movq %r15, %rdi
movl %ebx, %esi
popq %rbx
popq %r14
popq %r15
jmp 0x1bee5
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/OpenKMIP[P]libkmip/src/kmip_io.c
// Function: kmip_print_request_payload
void
kmip_print_request_payload(FILE *f, int indent, enum operation type, void *value)
{
    switch(type)
    {
        case KMIP_OP_CREATE:
        kmip_print_create_request_payload(f, indent, value);
        break;
        
        case KMIP_OP_GET:
        kmip_print_get_request_payload(f, indent, (GetRequestPayload *)value);
        break;
        
        case KMIP_OP_DESTROY:
        kmip_print_destroy_request_payload(f, indent, value);
        break;
        
        case KMIP_OP_QUERY:
        kmip_print_query_request_payload(f, indent, value);
        break;

        default:
        fprintf(f, "%*sUnknown Payload @ %p\n", indent, "", value);
        break;
    };
}

// Assembly:
movq %rcx, %r8
movl %esi, %eax
cmpl $0x13, %edx
jg 0x1c410
cmpl $0x1, %edx
je 0x1c43b
cmpl $0xa, %edx
jne 0x1c424
movl %eax, %esi
movq %r8, %rdx
jmp 0x1c1b5
cmpl $0x14, %edx
je 0x1c445
cmpl $0x18, %edx
jne 0x1c424
movl %eax, %esi
movq %r8, %rdx
jmp 0x1c44f
leaq 0x986c(%rip), %rsi      # 0x25c97
leaq 0x3d7f(%rip), %rcx      # 0x201b1
movl %eax, %edx
xorl %eax, %eax
jmp 0x2200
movl %eax, %esi
movq %r8, %rdx
jmp 0x1c090
movl %eax, %esi
movq %r8, %rdx
jmp 0x1c356
// File: /workspace/github_c_makefile_star2_O3/OpenKMIP[P]libkmip/src/kmip_io.c
// Function: kmip_print_response_payload
void
kmip_print_response_payload(FILE *f, int indent, enum operation type, void *value)
{
    switch(type)
    {
        case KMIP_OP_CREATE:
        kmip_print_create_response_payload(f, indent, value);
        break;
        
        case KMIP_OP_GET:
        kmip_print_get_response_payload(f, indent, (GetResponsePayload *)value);
        break;
        
        case KMIP_OP_DESTROY:
        kmip_print_destroy_response_payload(f, indent, value);
        break;
        
        case KMIP_OP_QUERY:
        kmip_print_query_response_payload(f, indent, value);
        break;

        default:
        fprintf(f, "%*sUnknown Payload @ %p\n", indent, "", value);
        break;
    };
}

// Assembly:
movq %rcx, %r8
movl %esi, %eax
cmpl $0x13, %edx
jg 0x1c4b1
cmpl $0x1, %edx
je 0x1c4dc
cmpl $0xa, %edx
jne 0x1c4c5
movl %eax, %esi
movq %r8, %rdx
jmp 0x1c2c4
cmpl $0x14, %edx
je 0x1c4e6
cmpl $0x18, %edx
jne 0x1c4c5
movl %eax, %esi
movq %r8, %rdx
jmp 0x1c4f0
leaq 0x97cb(%rip), %rsi      # 0x25c97
leaq 0x3cde(%rip), %rcx      # 0x201b1
movl %eax, %edx
xorl %eax, %eax
jmp 0x2200
movl %eax, %esi
movq %r8, %rdx
jmp 0x1c126
movl %eax, %esi
movq %r8, %rdx
jmp 0x1c3a4
// File: /workspace/github_c_makefile_star2_O3/OpenKMIP[P]libkmip/src/kmip_io.c
// Function: kmip_print_query_response_payload
void
kmip_print_query_response_payload(FILE* f, int indent, QueryResponsePayload *value)
{
    fprintf(f,"%*sQuery response @ %p\n", indent, "", (void *)value);

    if(value != NULL)
    {
        kmip_print_operations(f,indent, value->operations);
        kmip_print_object_types(f,indent, value->objects);
        kmip_print_text_string(f,indent, "Vendor ID", value->vendor_identification);
        kmip_print_server_information(f,indent, value->server_information);
    }
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %r14
movl %esi, %ebx
movq %rdi, %r15
leaq 0x9e25(%rip), %rsi      # 0x26329
leaq 0x3ca6(%rip), %rcx      # 0x201b1
movl %ebx, %edx
movq %r14, %r8
xorl %eax, %eax
callq 0x2200
testq %r14, %r14
je 0x1c55f
movq (%r14), %rdx
movq %r15, %rdi
movl %ebx, %esi
callq 0x1d097
movq 0x8(%r14), %rdx
movq %r15, %rdi
movl %ebx, %esi
callq 0x1d161
movq 0x10(%r14), %rcx
leaq 0x9dff(%rip), %rdx      # 0x26341
movq %r15, %rdi
movl %ebx, %esi
callq 0x1b161
movq 0x18(%r14), %rdx
movq %r15, %rdi
movl %ebx, %esi
popq %rbx
popq %r14
popq %r15
jmp 0x1d2ff
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/OpenKMIP[P]libkmip/src/kmip_io.c
// Function: kmip_print_username_password_credential
void
kmip_print_username_password_credential(FILE *f, int indent, UsernamePasswordCredential *value)
{
    fprintf(f, "%*sUsername/Password Credential @ %p\n", indent, "", (void *)value);
    
    if(value != NULL)
    {
        kmip_print_text_string(f, indent + 2, "Username", value->username);
        kmip_print_text_string(f, indent + 2, "Password", value->password);
    }
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %r15
movl %esi, %ebx
movq %rdi, %r14
leaq 0x9737(%rip), %rsi      # 0x25cb0
leaq 0x3c31(%rip), %rcx      # 0x201b1
movl %ebx, %edx
movq %r15, %r8
xorl %eax, %eax
callq 0x2200
testq %r15, %r15
je 0x1c5c2
addl $0x2, %ebx
movq (%r15), %rcx
leaq 0x9738(%rip), %rdx      # 0x25cd6
movq %r14, %rdi
movl %ebx, %esi
callq 0x1b161
movq 0x8(%r15), %rcx
leaq 0x826e(%rip), %rdx      # 0x24821
movq %r14, %rdi
movl %ebx, %esi
popq %rbx
popq %r14
popq %r15
jmp 0x1b161
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/OpenKMIP[P]libkmip/src/kmip_io.c
// Function: kmip_print_device_credential
void
kmip_print_device_credential(FILE *f, int indent, DeviceCredential *value)
{
    fprintf(f, "%*sDevice Credential @ %p\n", indent, "", (void *)value);

    if(value != NULL)
    {
        kmip_print_text_string(f, indent + 2, "Device Serial Number", value->device_serial_number);
        kmip_print_text_string(f, indent + 2, "Password", value->password);
        kmip_print_text_string(f, indent + 2, "Device Identifier", value->device_identifier);
        kmip_print_text_string(f, indent + 2, "Network Identifier", value->network_identifier);
        kmip_print_text_string(f, indent + 2, "Machine Identifier", value->machine_identifier);
        kmip_print_text_string(f, indent + 2, "Media Identifier", value->media_identifier);
    }
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %r15
movl %esi, %ebx
movq %rdi, %r14
leaq 0x9703(%rip), %rsi      # 0x25cdf
leaq 0x3bce(%rip), %rcx      # 0x201b1
movl %ebx, %edx
movq %r15, %r8
xorl %eax, %eax
callq 0x2200
testq %r15, %r15
je 0x1c67d
addl $0x2, %ebx
movq (%r15), %rcx
leaq 0x96f5(%rip), %rdx      # 0x25cfa
movq %r14, %rdi
movl %ebx, %esi
callq 0x1b161
movq 0x8(%r15), %rcx
leaq 0x8207(%rip), %rdx      # 0x24821
movq %r14, %rdi
movl %ebx, %esi
callq 0x1b161
movq 0x10(%r15), %rcx
leaq 0x96e0(%rip), %rdx      # 0x25d0f
movq %r14, %rdi
movl %ebx, %esi
callq 0x1b161
movq 0x18(%r15), %rcx
leaq 0x96dd(%rip), %rdx      # 0x25d21
movq %r14, %rdi
movl %ebx, %esi
callq 0x1b161
movq 0x20(%r15), %rcx
leaq 0x96db(%rip), %rdx      # 0x25d34
movq %r14, %rdi
movl %ebx, %esi
callq 0x1b161
movq 0x28(%r15), %rcx
leaq 0x96d9(%rip), %rdx      # 0x25d47
movq %r14, %rdi
movl %ebx, %esi
popq %rbx
popq %r14
popq %r15
jmp 0x1b161
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/OpenKMIP[P]libkmip/src/kmip_io.c
// Function: kmip_print_attestation_credential
void
kmip_print_attestation_credential(FILE *f, int indent, AttestationCredential *value)
{
    fprintf(f, "%*sAttestation Credential @ %p\n", indent, "", (void *)value);

    if(value != NULL)
    {
        kmip_print_nonce(f, indent + 2, value->nonce);
        fprintf(f, "%*sAttestation Type: ", indent + 2, "");
        kmip_print_attestation_type_enum(f, value->attestation_type);
        fprintf(f, "\n");
        kmip_print_byte_string(f, indent + 2, "Attestation Measurement", value->attestation_measurement);
        kmip_print_byte_string(f, indent + 2, "Attestation Assertion", value->attestation_assertion);
    }
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %r15
movl %esi, %ebx
movq %rdi, %r14
leaq 0x96c1(%rip), %rsi      # 0x25d58
leaq 0x3b13(%rip), %rcx      # 0x201b1
movl %ebx, %edx
movq %r15, %r8
xorl %eax, %eax
callq 0x2200
testq %r15, %r15
je 0x1c721
addl $0x2, %ebx
movq (%r15), %rdx
movq %r14, %rdi
movl %ebx, %esi
callq 0x1b3dd
leaq 0x96b2(%rip), %rsi      # 0x25d78
leaq 0x3ae4(%rip), %rcx      # 0x201b1
movq %r14, %rdi
movl %ebx, %edx
xorl %eax, %eax
callq 0x2200
movl 0x8(%r15), %esi
movq %r14, %rdi
callq 0x194f2
movl $0xa, %edi
movq %r14, %rsi
callq 0x21b0
movq 0x10(%r15), %rcx
leaq 0x9691(%rip), %rdx      # 0x25d8e
movq %r14, %rdi
movl %ebx, %esi
callq 0x1b1bf
movq 0x18(%r15), %rcx
leaq 0x9694(%rip), %rdx      # 0x25da6
movq %r14, %rdi
movl %ebx, %esi
popq %rbx
popq %r14
popq %r15
jmp 0x1b1bf
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/OpenKMIP[P]libkmip/src/kmip_io.c
// Function: kmip_print_credential_value
void
kmip_print_credential_value(FILE *f, int indent, enum credential_type type, void *value)
{
    fprintf(f, "%*sCredential Value @ %p\n", indent, "", value);
    
    if(value != NULL)
    {
        switch(type)
        {
            case KMIP_CRED_USERNAME_AND_PASSWORD:
            kmip_print_username_password_credential(f, indent + 2, value);
            break;
            
            case KMIP_CRED_DEVICE:
            kmip_print_device_credential(f, indent + 2, value);
            break;
            
            case KMIP_CRED_ATTESTATION:
            kmip_print_attestation_credential(f, indent + 2, value);
            break;
            
            default:
            fprintf(f, "%*sUnknown Credential @ %p\n", indent + 2, "", value);
            break;
        };
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rcx, %rbx
movl %edx, %r15d
movl %esi, %ebp
movq %rdi, %r14
leaq 0x967c(%rip), %rsi      # 0x25dbc
leaq 0x3a6a(%rip), %rcx      # 0x201b1
movl %ebp, %edx
movq %rbx, %r8
xorl %eax, %eax
callq 0x2200
testq %rbx, %rbx
je 0x1c784
addl $0x2, %ebp
cmpl $0x3, %r15d
je 0x1c7a6
cmpl $0x2, %r15d
je 0x1c78f
cmpl $0x1, %r15d
jne 0x1c7bd
movq %r14, %rdi
movl %ebp, %esi
movq %rbx, %rdx
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x1c565
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq %r14, %rdi
movl %ebp, %esi
movq %rbx, %rdx
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x1c5c8
movq %r14, %rdi
movl %ebp, %esi
movq %rbx, %rdx
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x1c683
leaq 0x9612(%rip), %rsi      # 0x25dd6
leaq 0x39e6(%rip), %rcx      # 0x201b1
movq %r14, %rdi
movl %ebp, %edx
movq %rbx, %r8
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x2200
// File: /workspace/github_c_makefile_star2_O3/OpenKMIP[P]libkmip/src/kmip_io.c
// Function: kmip_print_credential
void
kmip_print_credential(FILE *f, int indent, Credential *value)
{
    fprintf(f, "%*sCredential @ %p\n", indent, "", (void *)value);
    
    if(value != NULL)
    {
        fprintf(f, "%*sCredential Type: ", indent + 2, "");
        kmip_print_credential_type_enum(f, value->credential_type);
        fprintf(f, "\n");
        
        kmip_print_credential_value(f, indent + 2, value->credential_type, value->credential_value);
    }
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %r14
movl %esi, %ebx
movq %rdi, %r15
leaq 0x95fa(%rip), %rsi      # 0x25df2
leaq 0x39b2(%rip), %rcx      # 0x201b1
movl %ebx, %edx
movq %r14, %r8
xorl %eax, %eax
callq 0x2200
testq %r14, %r14
je 0x1c85b
addl $0x2, %ebx
leaq 0x95ec(%rip), %rsi      # 0x25e06
leaq 0x3990(%rip), %rcx      # 0x201b1
movq %r15, %rdi
movl %ebx, %edx
xorl %eax, %eax
callq 0x2200
movl (%r14), %esi
movq %r15, %rdi
callq 0x1aab5
movl $0xa, %edi
movq %r15, %rsi
callq 0x21b0
movl (%r14), %edx
movq 0x8(%r14), %rcx
movq %r15, %rdi
movl %ebx, %esi
popq %rbx
popq %r14
popq %r15
jmp 0x1c727
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/OpenKMIP[P]libkmip/src/kmip_io.c
// Function: kmip_print_request_batch_item
void
kmip_print_request_batch_item(FILE *f, int indent, RequestBatchItem *value)
{
    fprintf(f, "%*sRequest Batch Item @ %p\n", indent, "", (void *)value);
    
    if(value != NULL)
    {
        fprintf(f, "%*sOperation: ", indent + 2, "");
        kmip_print_operation_enum(f, value->operation);
        fprintf(f, "\n");

        fprintf(f, "%*sEphemeral: ", indent + 2, "");
        kmip_print_bool(f, value->ephemeral);
        fprintf(f, "\n");

        kmip_print_byte_string(f, indent + 2, "Unique Batch Item ID", value->unique_batch_item_id);
        kmip_print_request_payload(f, indent + 2, value->operation, value->request_payload);
    }
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r14
movl %esi, %ebx
movq %rdi, %r15
leaq 0x9574(%rip), %rsi      # 0x25e33
leaq 0x38eb(%rip), %rcx      # 0x201b1
movl %ebx, %edx
movq %r14, %r8
xorl %eax, %eax
callq 0x2200
testq %r14, %r14
je 0x1c973
addl $0x2, %ebx
leaq 0x956a(%rip), %rsi      # 0x25e4f
leaq 0x38c5(%rip), %r12      # 0x201b1
movq %r15, %rdi
movl %ebx, %edx
movq %r12, %rcx
xorl %eax, %eax
callq 0x2200
movl (%r14), %esi
movq %r15, %rdi
callq 0x195bb
movl $0xa, %edi
movq %r15, %rsi
callq 0x21b0
leaq 0x9544(%rip), %rsi      # 0x25e5e
movq %r15, %rdi
movl %ebx, %edx
movq %r12, %rcx
xorl %eax, %eax
callq 0x2200
movl 0x18(%r14), %esi
movq %r15, %rdi
callq 0x1b124
movl $0xa, %edi
movq %r15, %rsi
callq 0x21b0
movq 0x8(%r14), %rcx
leaq 0x9520(%rip), %rdx      # 0x25e6d
movq %r15, %rdi
movl %ebx, %esi
callq 0x1b1bf
movl (%r14), %edx
movq 0x10(%r14), %rcx
movq %r15, %rdi
movl %ebx, %esi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x1c3f2
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/OpenKMIP[P]libkmip/src/kmip_io.c
// Function: kmip_print_response_batch_item
void
kmip_print_response_batch_item(FILE *f, int indent, ResponseBatchItem *value)
{
    fprintf(f, "%*sResponse Batch Item @ %p\n", indent, "", (void *)value);
    
    if(value != NULL)
    {
        fprintf(f, "%*sOperation: ", indent + 2, "");
        kmip_print_operation_enum(f, value->operation);
        fprintf(f, "\n");
        
        kmip_print_byte_string(f, indent + 2, "Unique Batch Item ID", value->unique_batch_item_id);
        
        fprintf(f, "%*sResult Status: ", indent + 2, "");
        kmip_print_result_status_enum(f, value->result_status);
        fprintf(f, "\n");
        
        fprintf(f, "%*sResult Reason: ", indent + 2, "");
        kmip_print_result_reason_enum(f, value->result_reason);
        fprintf(f, "\n");
        
        kmip_print_text_string(f, indent + 2, "Result Message", value->result_message);
        kmip_print_byte_string(f, indent + 2, "Asynchronous Correlation Value", value->asynchronous_correlation_value);
        
        kmip_print_response_payload(f, indent + 2, value->operation, value->response_payload);
    }
    
    return;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r14
movl %esi, %ebx
movq %rdi, %r15
leaq 0x94ec(%rip), %rsi      # 0x25e82
leaq 0x3814(%rip), %rcx      # 0x201b1
movl %ebx, %edx
movq %r14, %r8
xorl %eax, %eax
callq 0x2200
testq %r14, %r14
je 0x1caa3
addl $0x2, %ebx
leaq 0x9493(%rip), %rsi      # 0x25e4f
leaq 0x37ee(%rip), %r12      # 0x201b1
movq %r15, %rdi
movl %ebx, %edx
movq %r12, %rcx
xorl %eax, %eax
callq 0x2200
movl (%r14), %esi
movq %r15, %rdi
callq 0x195bb
movl $0xa, %edi
movq %r15, %rsi
callq 0x21b0
movq 0x8(%r14), %rcx
leaq 0x9478(%rip), %rdx      # 0x25e6d
movq %r15, %rdi
movl %ebx, %esi
callq 0x1b1bf
leaq 0x9499(%rip), %rsi      # 0x25e9f
movq %r15, %rdi
movl %ebx, %edx
movq %r12, %rcx
xorl %eax, %eax
callq 0x2200
movl 0x10(%r14), %esi
movq %r15, %rdi
callq 0x19897
movl $0xa, %edi
movq %r15, %rsi
callq 0x21b0
leaq 0x947d(%rip), %rsi      # 0x25eb2
movq %r15, %rdi
movl %ebx, %edx
movq %r12, %rcx
xorl %eax, %eax
callq 0x2200
movl 0x14(%r14), %esi
movq %r15, %rdi
callq 0x198f5
movl $0xa, %edi
movq %r15, %rsi
callq 0x21b0
movq 0x18(%r14), %rcx
leaq 0x945d(%rip), %rdx      # 0x25ec5
movq %r15, %rdi
movl %ebx, %esi
callq 0x1b161
movq 0x20(%r14), %rcx
leaq 0x7e05(%rip), %rdx      # 0x24882
movq %r15, %rdi
movl %ebx, %esi
callq 0x1b1bf
movl (%r14), %edx
movq 0x28(%r14), %rcx
movq %r15, %rdi
movl %ebx, %esi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x1c493
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/OpenKMIP[P]libkmip/src/kmip_io.c
// Function: kmip_print_request_message
void
kmip_print_request_message(FILE *f, RequestMessage *value)
{
    fprintf(f, "Request Message @ %p\n", (void *)value);
    
    if(value != NULL)
    {
        kmip_print_request_header(f, 2, value->request_header);
        fprintf(f, "%*sBatch Items: %zu\n", 2, "", value->batch_count);
        
        for(size_t i = 0; i < value->batch_count; i++)
        {
            kmip_print_request_batch_item(f, 4, &value->batch_items[i]);
        }
    }
    
    return;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x91a8(%rip), %rsi      # 0x26041
movq %rbx, %rdx
xorl %eax, %eax
callq 0x2200
testq %rbx, %rbx
je 0x1cf07
movq (%rbx), %rdx
movq %r14, %rdi
movl $0x2, %esi
callq 0x1caaf
movq 0x10(%rbx), %r8
leaq 0x9194(%rip), %rsi      # 0x26057
leaq 0x32e7(%rip), %rcx      # 0x201b1
movq %r14, %rdi
movl $0x2, %edx
xorl %eax, %eax
callq 0x2200
cmpq $0x0, 0x10(%rbx)
je 0x1cf07
xorl %r15d, %r15d
xorl %r12d, %r12d
movq 0x8(%rbx), %rdx
addq %r15, %rdx
movq %r14, %rdi
movl $0x4, %esi
callq 0x1c8a8
incq %r12
addq $0x20, %r15
cmpq 0x10(%rbx), %r12
jb 0x1cee6
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/OpenKMIP[P]libkmip/src/kmip_io.c
// Function: kmip_print_response_message
void
kmip_print_response_message(FILE *f, ResponseMessage *value)
{
    fprintf(f, "Response Message @ %p\n", (void *)value);
    
    if(value != NULL)
    {
        kmip_print_response_header(f, 2, value->response_header);
        fprintf(f, "  Batch Items: %zu\n", value->batch_count);
        
        for(size_t i = 0; i < value->batch_count; i++)
        {
            kmip_print_response_batch_item(f, 4, &value->batch_items[i]);
        }
    }
    
    return;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x9144(%rip), %rsi      # 0x2606c
movq %rbx, %rdx
xorl %eax, %eax
callq 0x2200
testq %rbx, %rbx
je 0x1cf8a
movq (%rbx), %rdx
movq %r14, %rdi
movl $0x2, %esi
callq 0x1cd06
movq 0x10(%rbx), %rdx
leaq 0x9131(%rip), %rsi      # 0x26083
movq %r14, %rdi
xorl %eax, %eax
callq 0x2200
cmpq $0x0, 0x10(%rbx)
je 0x1cf8a
xorl %r15d, %r15d
xorl %r12d, %r12d
movq 0x8(%rbx), %rdx
addq %r15, %rdx
movq %r14, %rdi
movl $0x4, %esi
callq 0x1c97f
incq %r12
addq $0x30, %r15
cmpq 0x10(%rbx), %r12
jb 0x1cf69
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/OpenKMIP[P]libkmip/src/kmip_io.c
// Function: kmip_print_query_functions
void
kmip_print_query_functions(FILE* f, int indent, Functions* value)
{
    fprintf(f, "%*sQuery Functions @ %p\n", indent, "", (void *)value);

    if(value != NULL &&
       value->function_list != NULL)
    {
        fprintf(f, "%*sFunctions: %zu\n", indent + 2, "", value->function_list->size);
        LinkedListItem *curr = value->function_list->head;
        size_t count = 1;
        while(curr != NULL)
        {
            fprintf(f, "%*sFunction: %zu: ", indent + 4, "", count);
            int32 func = *(int32 *)curr->data;
            kmip_print_query_function_enum(f, indent + 6, func);
            fprintf(f, "\n");

            curr = curr->next;
            count++;
        }
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r15
movl %esi, %ebx
movq %rdi, %r14
leaq 0x91c7(%rip), %rsi      # 0x261a7
leaq 0x31ca(%rip), %rcx      # 0x201b1
movl %ebx, %edx
movq %r15, %r8
xorl %eax, %eax
callq 0x2200
testq %r15, %r15
je 0x1d088
movq (%r15), %rax
testq %rax, %rax
je 0x1d088
leal 0x2(%rbx), %edx
movq 0x10(%rax), %r8
leaq 0x91aa(%rip), %rsi      # 0x261c0
leaq 0x3194(%rip), %rcx      # 0x201b1
movq %r14, %rdi
xorl %eax, %eax
callq 0x2200
movq (%r15), %rax
movq (%rax), %r12
testq %r12, %r12
je 0x1d088
leal 0x4(%rbx), %ebp
addl $0x6, %ebx
movl $0x1, %r15d
leaq 0x316c(%rip), %r13      # 0x201b1
movq %r14, %rdi
leaq 0x9184(%rip), %rsi      # 0x261d3
movl %ebp, %edx
movq %r13, %rcx
movq %r15, %r8
xorl %eax, %eax
callq 0x2200
movq 0x10(%r12), %rax
movl (%rax), %edx
movq %r14, %rdi
movl %ebx, %esi
callq 0x1cf96
movl $0xa, %edi
movq %r14, %rsi
callq 0x21b0
incq %r15
movq (%r12), %r12
testq %r12, %r12
jne 0x1d045
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/OpenKMIP[P]libkmip/src/kmip_io.c
// Function: kmip_print_operations
void
kmip_print_operations(FILE* f, int indent, Operations *value)
{
    fprintf(f, "%*sOperations @ %p\n", indent, "", (void *)value);

    if(value != NULL &&
       value->operation_list != NULL)
    {
        fprintf(f, "%*sOperations: %zu\n", indent + 2, "", value->operation_list->size);
        LinkedListItem *curr = value->operation_list->head;
        size_t count = 1;
        while(curr != NULL)
        {
            fprintf(f, "%*sOperation: %zu: ", indent + 4, "", count);
            int32 oper = *(int32 *)curr->data;
            kmip_print_operation_enum(f, oper);
            fprintf(f, "\n");

            curr = curr->next;
            count++;
        }
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r15
movl %esi, %ebx
movq %rdi, %r14
leaq 0x9135(%rip), %rsi      # 0x261e6
leaq 0x30f9(%rip), %rcx      # 0x201b1
movl %ebx, %edx
movq %r15, %r8
xorl %eax, %eax
callq 0x2200
testq %r15, %r15
je 0x1d152
movq (%r15), %rax
testq %rax, %rax
je 0x1d152
leal 0x2(%rbx), %edx
movq 0x10(%rax), %r8
leaq 0x9117(%rip), %rsi      # 0x261fa
leaq 0x30c7(%rip), %rcx      # 0x201b1
movq %r14, %rdi
xorl %eax, %eax
callq 0x2200
movq (%r15), %rax
movq (%rax), %rbp
testq %rbp, %rbp
je 0x1d152
addl $0x4, %ebx
movl $0x1, %r15d
leaq 0x90ff(%rip), %r12      # 0x2620e
leaq 0x309b(%rip), %r13      # 0x201b1
movq %r14, %rdi
movq %r12, %rsi
movl %ebx, %edx
movq %r13, %rcx
movq %r15, %r8
xorl %eax, %eax
callq 0x2200
movq 0x10(%rbp), %rax
movl (%rax), %esi
movq %r14, %rdi
callq 0x195bb
movl $0xa, %edi
movq %r14, %rsi
callq 0x21b0
incq %r15
movq (%rbp), %rbp
testq %rbp, %rbp
jne 0x1d116
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/OpenKMIP[P]libkmip/src/kmip_io.c
// Function: kmip_print_object_types
void
kmip_print_object_types(FILE* f, int indent, ObjectTypes* value)
{
    fprintf(f, "%*sObjects @ %p\n", indent, "", (void *)value);

    if(value != NULL &&
       value->object_list != NULL )
    {
        fprintf(f, "%*sObjects: %zu\n", indent + 2, "", value->object_list->size);
        LinkedListItem *curr = value->object_list->head;
        size_t count = 1;
        while(curr != NULL)
        {
            fprintf(f, "%*sObject: %zu: ", indent + 4, "", count);
            int32 obj = *(int32 *)curr->data;
            kmip_print_object_type_enum(f, obj);
            fprintf(f, "\n");

            curr = curr->next;
            count++;
        }
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r15
movl %esi, %ebx
movq %rdi, %r14
leaq 0x90a7(%rip), %rsi      # 0x26222
leaq 0x302f(%rip), %rcx      # 0x201b1
movl %ebx, %edx
movq %r15, %r8
xorl %eax, %eax
callq 0x2200
testq %r15, %r15
je 0x1d21c
movq (%r15), %rax
testq %rax, %rax
je 0x1d21c
leal 0x2(%rbx), %edx
movq 0x10(%rax), %r8
leaq 0x9086(%rip), %rsi      # 0x26233
leaq 0x2ffd(%rip), %rcx      # 0x201b1
movq %r14, %rdi
xorl %eax, %eax
callq 0x2200
movq (%r15), %rax
movq (%rax), %rbp
testq %rbp, %rbp
je 0x1d21c
addl $0x4, %ebx
movl $0x1, %r15d
leaq 0x906b(%rip), %r12      # 0x26244
leaq 0x2fd1(%rip), %r13      # 0x201b1
movq %r14, %rdi
movq %r12, %rsi
movl %ebx, %edx
movq %r13, %rcx
movq %r15, %r8
xorl %eax, %eax
callq 0x2200
movq 0x10(%rbp), %rax
movl (%rax), %esi
movq %r14, %rdi
callq 0x19cdc
movl $0xa, %edi
movq %r14, %rsi
callq 0x21b0
incq %r15
movq (%rbp), %rbp
testq %rbp, %rbp
jne 0x1d1e0
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/OpenKMIP[P]libkmip/src/kmip_io.c
// Function: kmip_print_alternative_endpoints
void
kmip_print_alternative_endpoints(FILE* f, int indent, AltEndpoints* value)
{
    fprintf(f, "%*sAlt Endpointss @ %p\n", indent, "", (void *)value);

    if(value != NULL &&
       value->endpoint_list != NULL )
    {
        fprintf(f, "%*sAlt Endpoints: %zu\n", indent + 2, "", value->endpoint_list->size);
        LinkedListItem *curr = value->endpoint_list->head;
        size_t count = 1;
        while(curr != NULL)
        {
            fprintf(f, "%*sEndpoint: %zu: ", indent + 4, "", count);
            TextString* endpoint = (TextString*)curr->data;
            kmip_print_text_string(f, indent + 2, "Endpoint", endpoint);
            fprintf(f, "\n");

            curr = curr->next;
            count++;
        }
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r15
movl %esi, %ebx
movq %rdi, %r14
leaq 0x9010(%rip), %rsi      # 0x26255
leaq 0x2f65(%rip), %rcx      # 0x201b1
movl %ebx, %edx
movq %r15, %r8
xorl %eax, %eax
callq 0x2200
testq %r15, %r15
je 0x1d2f0
movq (%r15), %rax
testq %rax, %rax
je 0x1d2f0
leal 0x2(%rbx), %ebp
movq 0x10(%rax), %r8
leaq 0x8ff2(%rip), %rsi      # 0x2626d
leaq 0x2f2f(%rip), %rcx      # 0x201b1
movq %r14, %rdi
movl %ebp, %edx
xorl %eax, %eax
callq 0x2200
movq (%r15), %rax
movq (%rax), %r13
testq %r13, %r13
je 0x1d2f0
addl $0x4, %ebx
movl $0x1, %r15d
leaq 0x8fee(%rip), %r12      # 0x26297
movq %r14, %rdi
leaq 0x8fd1(%rip), %rsi      # 0x26284
movl %ebx, %edx
leaq 0x2ef5(%rip), %rcx      # 0x201b1
movq %r15, %r8
xorl %eax, %eax
callq 0x2200
movq 0x10(%r13), %rcx
movq %r14, %rdi
movl %ebp, %esi
movq %r12, %rdx
callq 0x1b161
movl $0xa, %edi
movq %r14, %rsi
callq 0x21b0
incq %r15
movq (%r13), %r13
testq %r13, %r13
jne 0x1d2a9
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/OpenKMIP[P]libkmip/src/kmip_io.c
// Function: kmip_print_server_information
void
kmip_print_server_information(FILE* f, int indent, ServerInformation* value)
{
    fprintf(f,"%*sServer Information @ %p\n", indent, "", (void *)value);

    if(value != NULL)
    {
        kmip_print_text_string(f,indent + 2, "Server Name", value->server_name);
        kmip_print_text_string(f,indent + 2, "Server Serial Number", value->server_serial_number);
        kmip_print_text_string(f,indent + 2, "Server Version", value->server_version);
        kmip_print_text_string(f,indent + 2, "Server Load", value->server_load);
        kmip_print_text_string(f,indent + 2, "Product Name", value->product_name);
        kmip_print_text_string(f,indent + 2, "Build Level", value->build_level);
        kmip_print_text_string(f,indent + 2, "Build Date", value->build_date);
        kmip_print_text_string(f,indent + 2, "Cluster info", value->cluster_info);

        kmip_print_alternative_endpoints(f,indent+2, value->alternative_failover_endpoints);
    }
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %r14
movl %esi, %ebx
movq %rdi, %r15
leaq 0x8f8d(%rip), %rsi      # 0x262a0
leaq 0x2e97(%rip), %rcx      # 0x201b1
movl %ebx, %edx
movq %r14, %r8
xorl %eax, %eax
callq 0x2200
testq %r14, %r14
je 0x1d3ec
addl $0x2, %ebx
movq (%r14), %rcx
leaq 0x8f80(%rip), %rdx      # 0x262bc
movq %r15, %rdi
movl %ebx, %esi
callq 0x1b161
movq 0x8(%r14), %rcx
leaq 0x8f77(%rip), %rdx      # 0x262c8
movq %r15, %rdi
movl %ebx, %esi
callq 0x1b161
movq 0x10(%r14), %rcx
leaq 0x8f77(%rip), %rdx      # 0x262dd
movq %r15, %rdi
movl %ebx, %esi
callq 0x1b161
movq 0x18(%r14), %rcx
leaq 0x8f71(%rip), %rdx      # 0x262ec
movq %r15, %rdi
movl %ebx, %esi
callq 0x1b161
movq 0x20(%r14), %rcx
leaq 0x8f68(%rip), %rdx      # 0x262f8
movq %r15, %rdi
movl %ebx, %esi
callq 0x1b161
movq 0x28(%r14), %rcx
leaq 0x8f60(%rip), %rdx      # 0x26305
movq %r15, %rdi
movl %ebx, %esi
callq 0x1b161
movq 0x30(%r14), %rcx
leaq 0x8f57(%rip), %rdx      # 0x26311
movq %r15, %rdi
movl %ebx, %esi
callq 0x1b161
movq 0x38(%r14), %rcx
leaq 0x8f4d(%rip), %rdx      # 0x2631c
movq %r15, %rdi
movl %ebx, %esi
callq 0x1b161
movq 0x40(%r14), %rdx
movq %r15, %rdi
movl %ebx, %esi
popq %rbx
popq %r14
popq %r15
jmp 0x1d22b
popq %rbx
popq %r14
popq %r15
retq
nop
// File: /workspace/github_c_makefile_star2_O3/OpenKMIP[P]libkmip/src/kmip_bio.c
// Function: kmip_set_last_result
int kmip_set_last_result(ResponseBatchItem* value)
{
    if (value)
    {
        last_result.operation = value->operation;
        last_result.result_status = value->result_status;
        last_result.result_reason = value->result_reason;
        if (value->result_message)
            kmip_copy_textstring(last_result.result_message, value->result_message, sizeof(last_result.result_message));
        else
            last_result.result_message[0] = 0;
    }
    return 0;
}

// Assembly:
testq %rdi, %rdi
je 0x1e3c4
movl (%rdi), %eax
movl %eax, 0xedb3(%rip)      # 0x2d144
movq 0x10(%rdi), %rax
movq %rax, 0xedac(%rip)      # 0x2d148
movq 0x18(%rdi), %rsi
testq %rsi, %rsi
je 0x1e3bd
pushq %rax
leaq 0xeda3(%rip), %rdi      # 0x2d150
movl $0x80, %edx
callq 0x5e82
addq $0x8, %rsp
jmp 0x1e3c4
movb $0x0, 0xed8c(%rip)      # 0x2d150
xorl %eax, %eax
retq
// File: /workspace/github_c_makefile_star2_O3/baskerville[P]bspwm/src/helpers.c
// Function: read_string
char *read_string(const char *file_path, size_t *tlen)
{
	if (file_path == NULL) {
		return NULL;
	}

	int fd = open(file_path, O_RDONLY);

	if (fd == -1) {
		perror("Read file: open");
		return NULL;
	}

	char buf[BUFSIZ], *content = NULL;
	size_t len = sizeof(buf);

	if ((content = calloc(len, sizeof(char))) == NULL) {
		perror("Read file: calloc");
		goto end;
	}

	int nb;
	*tlen = 0;

	while (true) {
		nb = read(fd, buf, sizeof(buf));
		if (nb < 0) {
			perror("Restore tree: read");
			free(content);
			content = NULL;
			goto end;
		} else if (nb == 0) {
			break;
		} else {
			*tlen += nb;
			if (*tlen > len) {
				len *= 2;
				char *rcontent = realloc(content, len * sizeof(char));
				if (rcontent == NULL) {
					perror("Read file: realloc");
					free(content);
					content = NULL;
					goto end;
				} else {
					content = rcontent;
				}
			}
			strncpy(content + (*tlen - nb), buf, nb);
		}
	}

end:
	close(fd);
	return content;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x2008, %rsp           # imm = 0x2008
testq %rdi, %rdi
je 0x17d6
movq %rsi, %r15
xorl %esi, %esi
xorl %eax, %eax
callq 0x1200
cmpl $-0x1, %eax
je 0x17ca
movl %eax, %ebx
movl $0x2000, %edi           # imm = 0x2000
movl $0x1, %esi
callq 0x11a0
testq %rax, %rax
je 0x17db
movq %rax, %r14
movq $0x0, (%r15)
movq %rsp, %rsi
movl $0x2000, %r12d          # imm = 0x2000
movl $0x2000, %edx           # imm = 0x2000
movl %ebx, %edi
callq 0x1070
movq %rax, %rbp
testl %ebp, %ebp
js 0x17b4
movq %rsp, %r13
testl %ebp, %ebp
je 0x17ea
andl $0x7fffffff, %ebp       # imm = 0x7FFFFFFF
movq (%r15), %rdi
addq %rbp, %rdi
movq %rdi, (%r15)
cmpq %r12, %rdi
jbe 0x178d
addq %r12, %r12
movq %r14, %rdi
movq %r12, %rsi
callq 0x11e0
testq %rax, %rax
je 0x1806
movq (%r15), %rdi
movq %rax, %r14
subq %rbp, %rdi
addq %r14, %rdi
movq %r13, %rsi
movq %rbp, %rdx
callq 0x11b0
movl $0x2000, %edx           # imm = 0x2000
movl %ebx, %edi
movq %r13, %rsi
callq 0x1070
movq %rax, %rbp
testl %ebp, %ebp
jns 0x1758
leaq 0x91a(%rip), %rdi       # 0x20d5
callq 0x11f0
movq %r14, %rdi
callq 0x10c0
jmp 0x17e7
leaq 0x8e2(%rip), %rdi       # 0x20b3
callq 0x11f0
xorl %r14d, %r14d
jmp 0x17f1
leaq 0x8e1(%rip), %rdi       # 0x20c3
callq 0x11f0
xorl %r14d, %r14d
movl %ebx, %edi
callq 0x1040
movq %r14, %rax
addq $0x2008, %rsp           # imm = 0x2008
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x8db(%rip), %rdi       # 0x20e8
jmp 0x17bb
// File: /workspace/github_c_makefile_star2_O3/baskerville[P]bspwm/src/helpers.c
// Function: copy_string
char *copy_string(char *str, size_t len)
{
	char *cpy = calloc(1, ((len+1) * sizeof(char)));
	if (cpy == NULL) {
		perror("Copy string: calloc");
		return NULL;
	}
	strncpy(cpy, str, len);
	cpy[len] = '\0';
	return cpy;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %r14
movq %rdi, %r15
incq %rsi
movl $0x1, %edi
callq 0x11a0
movq %rax, %rbx
testq %rax, %rax
je 0x184b
movq %rbx, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0x11b0
movb $0x0, (%rbx,%r14)
movq %rbx, %rax
popq %rbx
popq %r14
popq %r15
retq
leaq 0x8a9(%rip), %rdi       # 0x20fb
callq 0x11f0
jmp 0x1842
// File: /workspace/github_c_makefile_star2_O3/baskerville[P]bspwm/src/helpers.c
// Function: mktempfifo
char *mktempfifo(const char *template)
{
	int tempfd;
	char *runtime_dir = getenv(RUNTIME_DIR_ENV);
	if (runtime_dir == NULL) {
		runtime_dir = "/tmp";
	}

	char *fifo_path = malloc(strlen(runtime_dir)+1+strlen(template)+1);
	if (fifo_path == NULL) {
		return NULL;
	}

	sprintf(fifo_path, "%s/%s", runtime_dir, template);

	if ((tempfd = mkstemp(fifo_path)) == -1) {
		free(fifo_path);
		return NULL;
	}

	close(tempfd);
	unlink(fifo_path);

	if (mkfifo(fifo_path, 0666) == -1) {
		free(fifo_path);
		return NULL;
	}

	return fifo_path;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %r14
leaq 0x8a7(%rip), %rdi       # 0x210f
callq 0x1160
testq %rax, %rax
leaq 0x8a8(%rip), %r15       # 0x211f
cmovneq %rax, %r15
movq %r15, %rdi
callq 0x10d0
movq %rax, %rbx
movq %r14, %rdi
callq 0x10d0
leaq (%rbx,%rax), %rdi
addq $0x2, %rdi
callq 0x1080
testq %rax, %rax
je 0x18f0
movq %rax, %rbx
leaq 0x87a(%rip), %rsi       # 0x2124
movq %rax, %rdi
movq %r15, %rdx
movq %r14, %rcx
xorl %eax, %eax
callq 0x1100
movq %rbx, %rdi
callq 0x1170
cmpl $-0x1, %eax
je 0x18e8
movl %eax, %edi
callq 0x1040
movq %rbx, %rdi
callq 0x10a0
movq %rbx, %rdi
movl $0x1b6, %esi            # imm = 0x1B6
callq 0x11d0
cmpl $-0x1, %eax
jne 0x18f2
movq %rbx, %rdi
callq 0x10c0
xorl %ebx, %ebx
movq %rbx, %rax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/baskerville[P]bspwm/src/helpers.c
// Function: tokenize_with_escape
char *tokenize_with_escape(struct tokenize_state *state, const char *s, char sep)
{
	if (s != NULL) {
		// first call
		state->in_escape = false;
		state->pos = s;
		state->len = strlen(s) + 1;
	}

	char *outp = calloc(state->len, 1);
	char *ret = outp;
	if (!outp) return NULL;

	char cur;
	while (*state->pos) {
		--state->len;
		cur = *state->pos++;

		if (state->in_escape) {
			*outp++ = cur;
			state->in_escape = false;
			continue;
		}

		if (cur == '\\') {
			state->in_escape = !state->in_escape;
		} else if (cur == sep) {
			return ret;
		} else {
			*outp++ = cur;
		}
	}

	return ret;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movl %edx, %ebx
movq %rdi, %r14
testq %rsi, %rsi
je 0x1a51
movb $0x0, (%r14)
movq %rsi, 0x8(%r14)
movq %rsi, %rdi
callq 0x10d0
movq %rax, %rdi
incq %rdi
movq %rdi, 0x10(%r14)
jmp 0x1a55
movq 0x10(%r14), %rdi
movl $0x1, %esi
callq 0x11a0
testq %rax, %rax
je 0x1aac
movq 0x8(%r14), %rdx
cmpb $0x0, (%rdx)
je 0x1aac
movq %rax, %rcx
decq 0x10(%r14)
leaq 0x1(%rdx), %rsi
movq %rsi, 0x8(%r14)
movb (%rdx), %dl
cmpb $0x1, (%r14)
jne 0x1a8f
movb %dl, (%rcx)
incq %rcx
movb $0x0, (%r14)
jmp 0x1aa3
cmpb $0x5c, %dl
jne 0x1a9a
movb $0x1, (%r14)
jmp 0x1aa3
cmpb %bl, %dl
je 0x1aac
movb %dl, (%rcx)
incq %rcx
movq 0x8(%r14), %rdx
cmpb $0x0, (%rdx)
jne 0x1a70
addq $0x8, %rsp
popq %rbx
popq %r14
retq