// File: /workspace/github_c_makefile_star2_O3/hfiguiere[P]exifprobe/maker_canon.c
// Function: maker_canon1_tagname
char *
maker_canon1_tagname(unsigned short tag,int model)
{
    char *tagname = CNULL;

    switch(tag)
    {
        case 0x0001: tagname = "CameraSettings"; break;
        case 0x0002: tagname = "FocusInfo"; break;
        case 0x0004: tagname = "ShotInfo"; break;
        case 0x0006: tagname = "ImageType"; break;
        case 0x0007: tagname = "FirmwareVersion"; break;
        case 0x0008: tagname = "ImageNumber"; break;
        case 0x0009: tagname = "OwnerName"; break;
        case 0x000a: tagname = "ColorInfoD30*"; break;
        case 0x000c: tagname = "CameraSerialNo"; break;
        case 0x000d: tagname = "CameraInfo"; break;
        case 0x000e: tagname = "FileLength"; break;
        case 0x000f: tagname = "CustomFunctions"; break;
        case 0x0010: tagname = "UniqueModelId"; break; /* from dcraw */
        case 0x0012: tagname = "PictureInfo"; break;
        case 0x0013: tagname = "ThumbnailImageValidArea"; break;
        case 0x0081: tagname = "JpegImage"; break;
        case 0x0090: tagname = "CustomFunctions"; break;
        case 0x0093: tagname = "FileInfo**"; break;   /* exiftool shows wrong type */
        case 0x0095: tagname = "LensName"; break;
        case 0x0098: tagname = "CropInfo"; break;
        case 0x009a: tagname = "AspectInfo"; break;
        case 0x00a0: tagname = "ColorInfo**"; break;  /* exiftool - wrong # values */
        case 0x00a9: tagname = "WhiteBalanceTable"; break;
        case 0x00ae: tagname = "ColorTemperature"; break;
        case 0x00b6: tagname = "PreviewImageInfo"; break;
        case 0x00e0: tagname = "SensorInfo"; break;
        default: break;
    }
    setnotetagset(1);
    return(tagname);
}

// Assembly:
pushq %rbx
xorl %ebx, %ebx
cmpl $0x8f, %edi
jg 0x3916a
leal -0x1(%rdi), %eax
cmpl $0x12, %eax
ja 0x391f5
leaq 0x1381f(%rip), %rcx     # 0x4c974
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0xad23(%rip), %rbx      # 0x43e88
jmp 0x392ce
cmpl $0x9f, %edi
jg 0x3919d
addl $0xffffff70, %edi       # imm = 0xFFFFFF70
cmpl $0xa, %edi
ja 0x392ce
leaq 0x13838(%rip), %rax     # 0x4c9c0
movslq (%rax,%rdi,4), %rcx
addq %rax, %rcx
jmpq *%rcx
leaq 0xad0a(%rip), %rbx      # 0x43ea2
jmp 0x392ce
cmpl $0xad, %edi
jle 0x391d5
cmpl $0xae, %edi
je 0x3923d
cmpl $0xb6, %edi
je 0x39252
cmpl $0xe0, %edi
jne 0x392ce
leaq 0xacc7(%rip), %rbx      # 0x43e97
jmp 0x392ce
cmpl $0xa0, %edi
je 0x39249
cmpl $0xa9, %edi
jne 0x392ce
leaq 0xacce(%rip), %rbx      # 0x43ebe
jmp 0x392ce
cmpl $0x81, %edi
jne 0x392ce
leaq 0xad53(%rip), %rbx      # 0x43f5b
jmp 0x392ce
leaq 0x13bc3(%rip), %rbx     # 0x4cdd7
jmp 0x392ce
leaq 0x13bd4(%rip), %rbx     # 0x4cdf4
jmp 0x392ce
leaq 0x13bb6(%rip), %rbx     # 0x4cde2
jmp 0x392ce
leaq 0x13bb3(%rip), %rbx     # 0x4cdeb
jmp 0x392ce
leaq 0x13bc7(%rip), %rbx     # 0x4ce0b
jmp 0x392ce
leaq 0x13baf(%rip), %rbx     # 0x4cdff
jmp 0x392ce
leaq 0x13bc3(%rip), %rbx     # 0x4ce1c
jmp 0x392ce
leaq 0xac50(%rip), %rbx      # 0x43eb2
jmp 0x392ce
leaq 0x13b13(%rip), %rbx     # 0x4cd7e
jmp 0x392ce
leaq 0x13b32(%rip), %rbx     # 0x4cda6
jmp 0x392ce
leaq 0xab9c(%rip), %rbx      # 0x43e19
jmp 0x392ce
leaq 0xab60(%rip), %rbx      # 0x43de6
jmp 0x392ce
leaq 0x1192f(%rip), %rbx     # 0x4abbe
jmp 0x392ce
leaq 0x11a24(%rip), %rbx     # 0x4acbc
jmp 0x392ce
leaq 0xabd3(%rip), %rbx      # 0x43e74
jmp 0x392ce
leaq 0x13ae2(%rip), %rbx     # 0x4cd8c
jmp 0x392ce
leaq 0x9e06(%rip), %rbx      # 0x430b9
jmp 0x392ce
leaq 0x13adf(%rip), %rbx     # 0x4cd9b
jmp 0x392ce
leaq 0x13afa(%rip), %rbx     # 0x4cdbf
jmp 0x392ce
leaq 0x13ae3(%rip), %rbx     # 0x4cdb1
movl $0x1, %edi
callq 0x1c4f0
movq %rbx, %rax
popq %rbx
retq