// File: /workspace/github_c_makefile_star2_O0/OpenKMIP[P]libkmip/src/kmip_io.c
// Function: kmip_print_result_reason_enum
void
kmip_print_result_reason_enum(FILE *f, enum result_reason value)
{
    if(value == 0)
    {
        fprintf(f, "-");
        return;
    }
    
    switch(value)
    {
        case KMIP_REASON_GENERAL_FAILURE:
        fprintf(f, "General Failure");
        break;
        
        case KMIP_REASON_ITEM_NOT_FOUND:
        fprintf(f, "Item Not Found");
        break;
        
        case KMIP_REASON_RESPONSE_TOO_LARGE:
        fprintf(f, "Response Too Large");
        break;
        
        case KMIP_REASON_AUTHENTICATION_NOT_SUCCESSFUL:
        fprintf(f, "Authentication Not Successful");
        break;
        
        case KMIP_REASON_INVALID_MESSAGE:
        fprintf(f, "Invalid Message");
        break;
        
        case KMIP_REASON_OPERATION_NOT_SUPPORTED:
        fprintf(f, "Operation Not Supported");
        break;
        
        case KMIP_REASON_MISSING_DATA:
        fprintf(f, "Missing Data");
        break;
        
        case KMIP_REASON_INVALID_FIELD:
        fprintf(f, "Invalid Field");
        break;
        
        case KMIP_REASON_FEATURE_NOT_SUPPORTED:
        fprintf(f, "Feature Not Supported");
        break;
        
        case KMIP_REASON_OPERATION_CANCELED_BY_REQUESTER:
        fprintf(f, "Operation Canceled By Requester");
        break;
        
        case KMIP_REASON_CRYPTOGRAPHIC_FAILURE:
        fprintf(f, "Cryptographic Failure");
        break;
        
        case KMIP_REASON_ILLEGAL_OPERATION:
        fprintf(f, "Illegal Operation");
        break;
        
        case KMIP_REASON_PERMISSION_DENIED:
        fprintf(f, "Permission Denied");
        break;
        
        case KMIP_REASON_OBJECT_ARCHIVED:
        fprintf(f, "Object Archived");
        break;
        
        case KMIP_REASON_INDEX_OUT_OF_BOUNDS:
        fprintf(f, "Index Out Of Bounds");
        break;
        
        case KMIP_REASON_APPLICATION_NAMESPACE_NOT_SUPPORTED:
        fprintf(f, "Application Namespace Not Supported");
        break;
        
        case KMIP_REASON_KEY_FORMAT_TYPE_NOT_SUPPORTED:
        fprintf(f, "Key Format Type Not Supported");
        break;
        
        case KMIP_REASON_KEY_COMPRESSION_TYPE_NOT_SUPPORTED:
        fprintf(f, "Key Compression Type Not Supported");
        break;
        
        case KMIP_REASON_ENCODING_OPTION_FAILURE:
        fprintf(f, "Encoding Option Failure");
        break;
        
        case KMIP_REASON_KEY_VALUE_NOT_PRESENT:
        fprintf(f, "Key Value Not Present");
        break;
        
        case KMIP_REASON_ATTESTATION_REQUIRED:
        fprintf(f, "Attestation Required");
        break;
        
        case KMIP_REASON_ATTESTATION_FAILED:
        fprintf(f, "Attestation Failed");
        break;
        
        case KMIP_REASON_SENSITIVE:
        fprintf(f, "Sensitive");
        break;
        
        case KMIP_REASON_NOT_EXTRACTABLE:
        fprintf(f, "Not Extractable");
        break;
        
        case KMIP_REASON_OBJECT_ALREADY_EXISTS:
        fprintf(f, "Object Already Exists");
        break;
        
        case KMIP_REASON_INVALID_TICKET:
        fprintf(f, "Invalid Ticket");
        break;

        case KMIP_REASON_USAGE_LIMIT_EXCEEDED:
        fprintf(f, "Usage Limit Exceeded");
        break;

        case KMIP_REASON_NUMERIC_RANGE:
        fprintf(f, "Numeric Range");
        break;

        case KMIP_REASON_INVALID_DATA_TYPE:
        fprintf(f, "Invalid Data Type");
        break;

        case KMIP_REASON_READ_ONLY_ATTRIBUTE:
        fprintf(f, "Read Only Attribute");
        break;

        case KMIP_REASON_MULTI_VALUED_ATTRIBUTE:
        fprintf(f, "Multi Valued Attribute");
        break;

        case KMIP_REASON_UNSUPPORTED_ATTRIBUTE:
        fprintf(f, "Unsupported Attribute");
        break;

        case KMIP_REASON_ATTRIBUTE_INSTANCE_NOT_FOUND:
        fprintf(f, "Attribute Instance Not Found");
        break;

        case KMIP_REASON_ATTRIBUTE_NOT_FOUND:
        fprintf(f, "Attribute Not Found");
        break;

        case KMIP_REASON_ATTRIBUTE_READ_ONLY:
        fprintf(f, "Attribute Read Only");
        break;

        case KMIP_REASON_ATTRIBUTE_SINGLE_VALUED:
        fprintf(f, "Attribute Single Valued");
        break;

        case KMIP_REASON_BAD_CRYPTOGRAPHIC_PARAMETERS:
        fprintf(f, "Bad Cryptographic Parameters");
        break;

        case KMIP_REASON_BAD_PASSWORD:
        fprintf(f, "Bad Password");
        break;

        case KMIP_REASON_CODEC_ERROR:
        fprintf(f, "Codec Error");
        break;

        case KMIP_REASON_ILLEGAL_OBJECT_TYPE:
        fprintf(f, "Illegal Object Type");
        break;

        case KMIP_REASON_INCOMPATIBLE_CRYPTOGRAPHIC_USAGE_MASK:
        fprintf(f, "Incompatible Cryptographic Usage Mask");
        break;

        case KMIP_REASON_INTERNAL_SERVER_ERROR:
        fprintf(f, "Internal Server Error");
        break;

        case KMIP_REASON_INVALID_ASYNCHRONOUS_CORRELATION_VALUE:
        fprintf(f, "Invalid Asynchronous Correlation Value");
        break;

        case KMIP_REASON_INVALID_ATTRIBUTE:
        fprintf(f, "Invalid Attribute");
        break;

        case KMIP_REASON_INVALID_ATTRIBUTE_VALUE:
        fprintf(f, "Invalid Attribute Value");
        break;

        case KMIP_REASON_INVALID_CORRELATION_VALUE:
        fprintf(f, "Invalid Correlation Value");
        break;

        case KMIP_REASON_INVALID_CSR:
        fprintf(f, "Invalid CSR");
        break;

        case KMIP_REASON_INVALID_OBJECT_TYPE:
        fprintf(f, "Invalid Object Type");
        break;

        case KMIP_REASON_KEY_WRAP_TYPE_NOT_SUPPORTED:
        fprintf(f, "Key Wrap Type Not Supported");
        break;

        case KMIP_REASON_MISSING_INITIALIZATION_VECTOR:
        fprintf(f, "Missing Initialization Vector");
        break;

        case KMIP_REASON_NON_UNIQUE_NAME_ATTRIBUTE:
        fprintf(f, "Non Unique Name Attribute");
        break;

        case KMIP_REASON_OBJECT_DESTROYED:
        fprintf(f, "Object Destroyed");
        break;

        case KMIP_REASON_OBJECT_NOT_FOUND:
        fprintf(f, "Object Not Found");
        break;

        case KMIP_REASON_NOT_AUTHORISED:
        fprintf(f, "Not Authorised");
        break;

        case KMIP_REASON_SERVER_LIMIT_EXCEEDED:
        fprintf(f, "Server Limit Exceeded");
        break;

        case KMIP_REASON_UNKNOWN_ENUMERATION:
        fprintf(f, "Unknown Enumeration");
        break;

        case KMIP_REASON_UNKNOWN_MESSAGE_EXTENSION:
        fprintf(f, "Unknown Message Extension");
        break;

        case KMIP_REASON_UNKNOWN_TAG:
        fprintf(f, "Unknown Tag");
        break;

        case KMIP_REASON_UNSUPPORTED_CRYPTOGRAPHIC_PARAMETERS:
        fprintf(f, "Unsupported Cryptographic Parameters");
        break;

        case KMIP_REASON_UNSUPPORTED_PROTOCOL_VERSION:
        fprintf(f, "Unsupported Protocol Version");
        break;

        case KMIP_REASON_WRAPPING_OBJECT_ARCHIVED:
        fprintf(f, "Wrapping Object Archived");
        break;

        case KMIP_REASON_WRAPPING_OBJECT_DESTROYED:
        fprintf(f, "Wrapping Object Destroyed");
        break;

        case KMIP_REASON_WRAPPING_OBJECT_NOT_FOUND:
        fprintf(f, "Wrapping Object Not Found");
        break;

        case KMIP_REASON_WRONG_KEY_LIFECYCLE_STATE:
        fprintf(f, "Wrong Key Lifecycle State");
        break;

        case KMIP_REASON_PROTECTION_STORAGE_UNAVAILABLE:
        fprintf(f, "Protection Storage Unavailable");
        break;

        case KMIP_REASON_PKCS11_CODEC_ERROR:
        fprintf(f, "PKCS#11 Codec Error");
        break;

        case KMIP_REASON_PKCS11_INVALID_FUNCTION:
        fprintf(f, "PKCS#11 Invalid Function");
        break;

        case KMIP_REASON_PKCS11_INVALID_INTERFACE:
        fprintf(f, "PKCS#11 Invalid Interface");
        break;

        case KMIP_REASON_PRIVATE_PROTECTION_STORAGE_UNAVAILABLE:
        fprintf(f, "Private Protection Storage Unavailable");
        break;

        case KMIP_REASON_PUBLIC_PROTECTION_STORAGE_UNAVAILABLE:
        fprintf(f, "Public Protection Storage Unavailable");
        break;

        default:
        fprintf(f, "Unknown");
        break;
    };
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
cmpl $0x0, -0xc(%rbp)
jne 0x20b2c
movq -0x8(%rbp), %rdi
leaq 0xf736(%rip), %rsi      # 0x30256
movb $0x0, %al
callq 0x21d0
jmp 0x211a0
movl -0xc(%rbp), %eax
decl %eax
movl %eax, %ecx
movq %rcx, -0x18(%rbp)
subl $0xff, %eax
ja 0x2118e
movq -0x18(%rbp), %rax
leaq 0xceb3(%rip), %rcx      # 0x2da00
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq -0x8(%rbp), %rdi
leaq 0xdb77(%rip), %rsi      # 0x2e6d8
movb $0x0, %al
callq 0x21d0
jmp 0x211a0
movq -0x8(%rbp), %rdi
leaq 0xdb70(%rip), %rsi      # 0x2e6e8
movb $0x0, %al
callq 0x21d0
jmp 0x211a0
movq -0x8(%rbp), %rdi
leaq 0xdb68(%rip), %rsi      # 0x2e6f7
movb $0x0, %al
callq 0x21d0
jmp 0x211a0
movq -0x8(%rbp), %rdi
leaq 0xdb64(%rip), %rsi      # 0x2e70a
movb $0x0, %al
callq 0x21d0
jmp 0x211a0
movq -0x8(%rbp), %rdi
leaq 0xdb6b(%rip), %rsi      # 0x2e728
movb $0x0, %al
callq 0x21d0
jmp 0x211a0
movq -0x8(%rbp), %rdi
leaq 0xdb64(%rip), %rsi      # 0x2e738
movb $0x0, %al
callq 0x21d0
jmp 0x211a0
movq -0x8(%rbp), %rdi
leaq 0xdb65(%rip), %rsi      # 0x2e750
movb $0x0, %al
callq 0x21d0
jmp 0x211a0
movq -0x8(%rbp), %rdi
leaq 0xdb5b(%rip), %rsi      # 0x2e75d
movb $0x0, %al
callq 0x21d0
jmp 0x211a0
movq -0x8(%rbp), %rdi
leaq 0xdb52(%rip), %rsi      # 0x2e76b
movb $0x0, %al
callq 0x21d0
jmp 0x211a0
movq -0x8(%rbp), %rdi
leaq 0xdb51(%rip), %rsi      # 0x2e781
movb $0x0, %al
callq 0x21d0
jmp 0x211a0
movq -0x8(%rbp), %rdi
leaq 0xdb5a(%rip), %rsi      # 0x2e7a1
movb $0x0, %al
callq 0x21d0
jmp 0x211a0
movq -0x8(%rbp), %rdi
leaq 0xdb59(%rip), %rsi      # 0x2e7b7
movb $0x0, %al
callq 0x21d0
jmp 0x211a0
movq -0x8(%rbp), %rdi
leaq 0xdb54(%rip), %rsi      # 0x2e7c9
movb $0x0, %al
callq 0x21d0
jmp 0x211a0
movq -0x8(%rbp), %rdi
leaq 0xdf33(%rip), %rsi      # 0x2ebbf
movb $0x0, %al
callq 0x21d0
jmp 0x211a0
movq -0x8(%rbp), %rdi
leaq 0xdb38(%rip), %rsi      # 0x2e7db
movb $0x0, %al
callq 0x21d0
jmp 0x211a0
movq -0x8(%rbp), %rdi
leaq 0xdb35(%rip), %rsi      # 0x2e7ef
movb $0x0, %al
callq 0x21d0
jmp 0x211a0
movq -0x8(%rbp), %rdi
leaq 0xdb42(%rip), %rsi      # 0x2e813
movb $0x0, %al
callq 0x21d0
jmp 0x211a0
movq -0x8(%rbp), %rdi
leaq 0xdb49(%rip), %rsi      # 0x2e831
movb $0x0, %al
callq 0x21d0
jmp 0x211a0
movq -0x8(%rbp), %rdi
leaq 0xdb55(%rip), %rsi      # 0x2e854
movb $0x0, %al
callq 0x21d0
jmp 0x211a0
movq -0x8(%rbp), %rdi
leaq 0xdb56(%rip), %rsi      # 0x2e86c
movb $0x0, %al
callq 0x21d0
jmp 0x211a0
movq -0x8(%rbp), %rdi
leaq 0xdb55(%rip), %rsi      # 0x2e882
movb $0x0, %al
callq 0x21d0
jmp 0x211a0
movq -0x8(%rbp), %rdi
leaq 0xdb53(%rip), %rsi      # 0x2e897
movb $0x0, %al
callq 0x21d0
jmp 0x211a0
movq -0x8(%rbp), %rdi
leaq 0xdb4f(%rip), %rsi      # 0x2e8aa
movb $0x0, %al
callq 0x21d0
jmp 0x211a0
movq -0x8(%rbp), %rdi
leaq 0xdb42(%rip), %rsi      # 0x2e8b4
movb $0x0, %al
callq 0x21d0
jmp 0x211a0
movq -0x8(%rbp), %rdi
leaq 0xdb3b(%rip), %rsi      # 0x2e8c4
movb $0x0, %al
callq 0x21d0
jmp 0x211a0
movq -0x8(%rbp), %rdi
leaq 0xdb3a(%rip), %rsi      # 0x2e8da
movb $0x0, %al
callq 0x21d0
jmp 0x211a0
movq -0x8(%rbp), %rdi
leaq 0xdb32(%rip), %rsi      # 0x2e8e9
movb $0x0, %al
callq 0x21d0
jmp 0x211a0
movq -0x8(%rbp), %rdi
leaq 0xdb30(%rip), %rsi      # 0x2e8fe
movb $0x0, %al
callq 0x21d0
jmp 0x211a0
movq -0x8(%rbp), %rdi
leaq 0xdb27(%rip), %rsi      # 0x2e90c
movb $0x0, %al
callq 0x21d0
jmp 0x211a0
movq -0x8(%rbp), %rdi
leaq 0xdb22(%rip), %rsi      # 0x2e91e
movb $0x0, %al
callq 0x21d0
jmp 0x211a0
movq -0x8(%rbp), %rdi
leaq 0xdb1f(%rip), %rsi      # 0x2e932
movb $0x0, %al
callq 0x21d0
jmp 0x211a0
movq -0x8(%rbp), %rdi
leaq 0xdb1f(%rip), %rsi      # 0x2e949
movb $0x0, %al
callq 0x21d0
jmp 0x211a0
movq -0x8(%rbp), %rdi
leaq 0xdb1e(%rip), %rsi      # 0x2e95f
movb $0x0, %al
callq 0x21d0
jmp 0x211a0
movq -0x8(%rbp), %rdi
leaq 0xdb24(%rip), %rsi      # 0x2e97c
movb $0x0, %al
callq 0x21d0
jmp 0x211a0
movq -0x8(%rbp), %rdi
leaq 0xdb21(%rip), %rsi      # 0x2e990
movb $0x0, %al
callq 0x21d0
jmp 0x211a0
movq -0x8(%rbp), %rdi
leaq 0xdb1e(%rip), %rsi      # 0x2e9a4
movb $0x0, %al
callq 0x21d0
jmp 0x211a0
movq -0x8(%rbp), %rdi
leaq 0xdb1f(%rip), %rsi      # 0x2e9bc
movb $0x0, %al
callq 0x21d0
jmp 0x211a0
movq -0x8(%rbp), %rdi
leaq 0xdb25(%rip), %rsi      # 0x2e9d9
movb $0x0, %al
callq 0x21d0
jmp 0x211a0
movq -0x8(%rbp), %rdi
leaq 0xdd5a(%rip), %rsi      # 0x2ec25
movb $0x0, %al
callq 0x21d0
jmp 0x211a0
movq -0x8(%rbp), %rdi
leaq 0xdb04(%rip), %rsi      # 0x2e9e6
movb $0x0, %al
callq 0x21d0
jmp 0x211a0
movq -0x8(%rbp), %rdi
leaq 0xdb01(%rip), %rsi      # 0x2e9fa
movb $0x0, %al
callq 0x21d0
jmp 0x211a0
movq -0x8(%rbp), %rdi
leaq 0xdb10(%rip), %rsi      # 0x2ea20
movb $0x0, %al
callq 0x21d0
jmp 0x211a0
movq -0x8(%rbp), %rdi
leaq 0xdb0f(%rip), %rsi      # 0x2ea36
movb $0x0, %al
callq 0x21d0
jmp 0x211a0
movq -0x8(%rbp), %rdi
leaq 0xdb1f(%rip), %rsi      # 0x2ea5d
movb $0x0, %al
callq 0x21d0
jmp 0x211a0
movq -0x8(%rbp), %rdi
leaq 0xdb1a(%rip), %rsi      # 0x2ea6f
movb $0x0, %al
callq 0x21d0
jmp 0x211a0
movq -0x8(%rbp), %rdi
leaq 0xdb1b(%rip), %rsi      # 0x2ea87
movb $0x0, %al
callq 0x21d0
jmp 0x211a0
movq -0x8(%rbp), %rdi
leaq 0xdb1e(%rip), %rsi      # 0x2eaa1
movb $0x0, %al
callq 0x21d0
jmp 0x211a0
movq -0x8(%rbp), %rdi
leaq 0xdb13(%rip), %rsi      # 0x2eaad
movb $0x0, %al
callq 0x21d0
jmp 0x211a0
movq -0x8(%rbp), %rdi
leaq 0xdb10(%rip), %rsi      # 0x2eac1
movb $0x0, %al
callq 0x21d0
jmp 0x211a0
movq -0x8(%rbp), %rdi
leaq 0xdb15(%rip), %rsi      # 0x2eadd
movb $0x0, %al
callq 0x21d0
jmp 0x211a0
movq -0x8(%rbp), %rdi
leaq 0xdb1c(%rip), %rsi      # 0x2eafb
movb $0x0, %al
callq 0x21d0
jmp 0x211a0
movq -0x8(%rbp), %rdi
leaq 0xdbe2(%rip), %rsi      # 0x2ebd8
movb $0x0, %al
callq 0x21d0
jmp 0x211a0
movq -0x8(%rbp), %rdi
leaq 0xdbe5(%rip), %rsi      # 0x2ebf2
movb $0x0, %al
callq 0x21d0
jmp 0x211a0
movq -0x8(%rbp), %rdi
leaq 0xdaf1(%rip), %rsi      # 0x2eb15
movb $0x0, %al
callq 0x21d0
jmp 0x211a0
movq -0x8(%rbp), %rdi
leaq 0xdae9(%rip), %rsi      # 0x2eb24
movb $0x0, %al
callq 0x21d0
jmp 0x211a0
movq -0x8(%rbp), %rdi
leaq 0xdae8(%rip), %rsi      # 0x2eb3a
movb $0x0, %al
callq 0x21d0
jmp 0x211a0
movq -0x8(%rbp), %rdi
leaq 0xdae5(%rip), %rsi      # 0x2eb4e
movb $0x0, %al
callq 0x21d0
jmp 0x211a0
movq -0x8(%rbp), %rdi
leaq 0xdae8(%rip), %rsi      # 0x2eb68
movb $0x0, %al
callq 0x21d0
jmp 0x211a0
movq -0x8(%rbp), %rdi
leaq 0xdadd(%rip), %rsi      # 0x2eb74
movb $0x0, %al
callq 0x21d0
jmp 0x211a0
movq -0x8(%rbp), %rdi
leaq 0xdaeb(%rip), %rsi      # 0x2eb99
movb $0x0, %al
callq 0x21d0
jmp 0x211a0
movq -0x8(%rbp), %rdi
leaq 0xdaf1(%rip), %rsi      # 0x2ebb6
movb $0x0, %al
callq 0x21d0
jmp 0x211a0
movq -0x8(%rbp), %rdi
leaq 0xdaf3(%rip), %rsi      # 0x2ebcf
movb $0x0, %al
callq 0x21d0
jmp 0x211a0
movq -0x8(%rbp), %rdi
leaq 0xdaf6(%rip), %rsi      # 0x2ebe9
movb $0x0, %al
callq 0x21d0
jmp 0x211a0
movq -0x8(%rbp), %rdi
leaq 0xdaf9(%rip), %rsi      # 0x2ec03
movb $0x0, %al
callq 0x21d0
jmp 0x211a0
movq -0x8(%rbp), %rdi
leaq 0xdb71(%rip), %rsi      # 0x2ec92
movb $0x0, %al
callq 0x21d0
jmp 0x211a0
movq -0x8(%rbp), %rdi
leaq 0xdae8(%rip), %rsi      # 0x2ec1d
movb $0x0, %al
callq 0x21d0
jmp 0x211a0
movq -0x8(%rbp), %rdi
leaq 0xdae8(%rip), %rsi      # 0x2ec31
movb $0x0, %al
callq 0x21d0
jmp 0x211a0
movq -0x8(%rbp), %rdi
leaq 0xdaed(%rip), %rsi      # 0x2ec4a
movb $0x0, %al
callq 0x21d0
jmp 0x211a0
movq -0x8(%rbp), %rdi
leaq 0xdaf3(%rip), %rsi      # 0x2ec64
movb $0x0, %al
callq 0x21d0
jmp 0x211a0
movq -0x8(%rbp), %rdi
leaq 0xdb06(%rip), %rsi      # 0x2ec8b
movb $0x0, %al
callq 0x21d0
jmp 0x211a0
movq -0x8(%rbp), %rdi
leaq 0xf1c2(%rip), %rsi      # 0x3035b
movb $0x0, %al
callq 0x21d0
addq $0x20, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)