// File: /workspace/github_c_makefile_star2_O3/OpenKMIP[P]libkmip/src/kmip.c
// Function: kmip_get_enum_string_index
int
kmip_get_enum_string_index(enum tag t)
{
    switch(t)
    {
        case KMIP_TAG_ATTESTATION_TYPE:
        return(0);
        break;
        
        case KMIP_TAG_BATCH_ERROR_CONTINUATION_OPTION:
        return(1);
        break;
        
        case KMIP_TAG_BLOCK_CIPHER_MODE:
        return(2);
        break;
        
        case KMIP_TAG_CREDENTIAL_TYPE:
        return(3);
        break;
        
        case KMIP_TAG_CRYPTOGRAPHIC_ALGORITHM:
        return(4);
        break;
        
        case KMIP_TAG_CRYPTOGRAPHIC_USAGE_MASK:
        return(5);
        break;
        
        case KMIP_TAG_DIGITAL_SIGNATURE_ALGORITHM:
        return(6);
        break;
        
        case KMIP_TAG_ENCODING_OPTION:
        return(7);
        break;
        
        case KMIP_TAG_HASHING_ALGORITHM:
        return(8);
        break;
        
        case KMIP_TAG_KEY_COMPRESSION_TYPE:
        return(9);
        break;
        
        case KMIP_TAG_KEY_FORMAT_TYPE:
        return(10);
        break;
        
        case KMIP_TAG_KEY_ROLE_TYPE:
        return(11);
        break;
        
        case KMIP_TAG_KEY_WRAP_TYPE:
        return(12);
        break;
        
        case KMIP_TAG_MASK_GENERATOR:
        return(13);
        break;
        
        case KMIP_TAG_NAME_TYPE:
        return(14);
        break;
        
        case KMIP_TAG_OBJECT_TYPE:
        return(15);
        break;
        
        case KMIP_TAG_OPERATION:
        return(16);
        break;
        
        case KMIP_TAG_PADDING_METHOD:
        return(17);
        break;

        case KMIP_TAG_PROTECTION_STORAGE_MASK:
        return(18);
        break;
        
        case KMIP_TAG_RESULT_REASON:
        return(19);
        break;
        
        case KMIP_TAG_RESULT_STATUS:
        return(20);
        break;
        
        case KMIP_TAG_STATE:
        return(21);
        break;
        
        case KMIP_TAG_TAG:
        return(22);
        break;
        
        case KMIP_TAG_TYPE:
        return(23);
        break;
        
        case KMIP_TAG_WRAPPING_METHOD:
        return(24);
        break;
        
        default:
        return(25);
        break;
    };
}

// Assembly:
cmpl $0x42005b, %edi         # imm = 0x42005B
jle 0x7052
cmpl $0x42009d, %edi         # imm = 0x42009D
jle 0x70bf
cmpl $0x4200c6, %edi         # imm = 0x4200C6
jle 0x716f
cmpl $0x420100, %edi         # imm = 0x420100
jg 0x7191
xorl %eax, %eax
cmpl $0x4200c7, %edi         # imm = 0x4200C7
je 0x7206
cmpl $0x4200f8, %edi         # imm = 0x4200F8
jne 0x7201
movl $0xc, %eax
retq
cmpl $0x42002b, %edi         # imm = 0x42002B
jg 0x7089
cmpl $0x420010, %edi         # imm = 0x420010
jg 0x70f1
testl %edi, %edi
je 0x71bf
cmpl $0x1, %edi
je 0x71a7
cmpl $0x42000e, %edi         # imm = 0x42000E
jne 0x7201
movl $0x1, %eax
retq
cmpl $0x420041, %edi         # imm = 0x420041
jg 0x711b
cmpl $0x42002c, %edi         # imm = 0x42002C
je 0x71c5
cmpl $0x420038, %edi         # imm = 0x420038
je 0x71ad
cmpl $0x420041, %edi         # imm = 0x420041
jne 0x7201
movl $0x9, %eax
retq
cmpl $0x42007e, %edi         # imm = 0x42007E
jg 0x7145
cmpl $0x42005c, %edi         # imm = 0x42005C
je 0x71e3
cmpl $0x42005f, %edi         # imm = 0x42005F
je 0x71d7
cmpl $0x42007e, %edi         # imm = 0x42007E
jne 0x7201
movl $0x13, %eax
retq
cmpl $0x420011, %edi         # imm = 0x420011
je 0x71cb
cmpl $0x420024, %edi         # imm = 0x420024
je 0x71b3
cmpl $0x420028, %edi         # imm = 0x420028
jne 0x7201
movl $0x4, %eax
retq
cmpl $0x420042, %edi         # imm = 0x420042
je 0x71d1
cmpl $0x420054, %edi         # imm = 0x420054
je 0x71b9
cmpl $0x420057, %edi         # imm = 0x420057
jne 0x7201
movl $0xf, %eax
retq
cmpl $0x42007f, %edi         # imm = 0x42007F
je 0x71e9
cmpl $0x420083, %edi         # imm = 0x420083
je 0x71dd
cmpl $0x42008d, %edi         # imm = 0x42008D
jne 0x7201
movl $0x15, %eax
retq
cmpl $0x42009e, %edi         # imm = 0x42009E
je 0x71fb
cmpl $0x4200a3, %edi         # imm = 0x4200A3
je 0x71f5
cmpl $0x4200ae, %edi         # imm = 0x4200AE
jne 0x7201
movl $0x6, %eax
retq
cmpl $0x420101, %edi         # imm = 0x420101
je 0x71ef
cmpl $0x42015e, %edi         # imm = 0x42015E
jne 0x7201
movl $0x12, %eax
retq
movl $0x17, %eax
retq
movl $0x8, %eax
retq
movl $0x3, %eax
retq
movl $0xe, %eax
retq
movl $0x16, %eax
retq
movl $0x5, %eax
retq
movl $0x2, %eax
retq
movl $0xa, %eax
retq
movl $0x11, %eax
retq
movl $0xb, %eax
retq
movl $0x10, %eax
retq
movl $0x14, %eax
retq
movl $0xd, %eax
retq
movl $0x7, %eax
retq
movl $0x18, %eax
retq
movl $0x19, %eax
retq