// File: /workspace/github_c_makefile_star2_O1/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 0x7053
cmpl $0x42009d, %edi         # imm = 0x42009D
jle 0x70c0
cmpl $0x4200c6, %edi         # imm = 0x4200C6
jle 0x7170
cmpl $0x420100, %edi         # imm = 0x420100
jg 0x7192
xorl %eax, %eax
cmpl $0x4200c7, %edi         # imm = 0x4200C7
je 0x7207
cmpl $0x4200f8, %edi         # imm = 0x4200F8
jne 0x7202
movl $0xc, %eax
retq
cmpl $0x42002b, %edi         # imm = 0x42002B
jg 0x708a
cmpl $0x420010, %edi         # imm = 0x420010
jg 0x70f2
testl %edi, %edi
je 0x71c0
cmpl $0x1, %edi
je 0x71a8
cmpl $0x42000e, %edi         # imm = 0x42000E
jne 0x7202
movl $0x1, %eax
retq
cmpl $0x420041, %edi         # imm = 0x420041
jg 0x711c
cmpl $0x42002c, %edi         # imm = 0x42002C
je 0x71c6
cmpl $0x420038, %edi         # imm = 0x420038
je 0x71ae
cmpl $0x420041, %edi         # imm = 0x420041
jne 0x7202
movl $0x9, %eax
retq
cmpl $0x42007e, %edi         # imm = 0x42007E
jg 0x7146
cmpl $0x42005c, %edi         # imm = 0x42005C
je 0x71e4
cmpl $0x42005f, %edi         # imm = 0x42005F
je 0x71d8
cmpl $0x42007e, %edi         # imm = 0x42007E
jne 0x7202
movl $0x13, %eax
retq
cmpl $0x420011, %edi         # imm = 0x420011
je 0x71cc
cmpl $0x420024, %edi         # imm = 0x420024
je 0x71b4
cmpl $0x420028, %edi         # imm = 0x420028
jne 0x7202
movl $0x4, %eax
retq
cmpl $0x420042, %edi         # imm = 0x420042
je 0x71d2
cmpl $0x420054, %edi         # imm = 0x420054
je 0x71ba
cmpl $0x420057, %edi         # imm = 0x420057
jne 0x7202
movl $0xf, %eax
retq
cmpl $0x42007f, %edi         # imm = 0x42007F
je 0x71ea
cmpl $0x420083, %edi         # imm = 0x420083
je 0x71de
cmpl $0x42008d, %edi         # imm = 0x42008D
jne 0x7202
movl $0x15, %eax
retq
cmpl $0x42009e, %edi         # imm = 0x42009E
je 0x71fc
cmpl $0x4200a3, %edi         # imm = 0x4200A3
je 0x71f6
cmpl $0x4200ae, %edi         # imm = 0x4200AE
jne 0x7202
movl $0x6, %eax
retq
cmpl $0x420101, %edi         # imm = 0x420101
je 0x71f0
cmpl $0x42015e, %edi         # imm = 0x42015E
jne 0x7202
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