// File: /workspace/github_c_makefile_star2_O2/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
leal -0x1(%rdi), %eax
cmpl $0x12, %eax
ja 0x3743a
leaq 0x134ff(%rip), %rcx     # 0x4a924
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0xaa53(%rip), %rbx      # 0x41e88
jmp 0x3758e
leal -0x90(%rdi), %eax
cmpl $0xa, %eax
jbe 0x37499
cmpl $0x81, %edi
je 0x37587
cmpl $0xa0, %edi
je 0x3757e
cmpl $0xa9, %edi
je 0x37563
cmpl $0xae, %edi
je 0x37575
cmpl $0xb6, %edi
je 0x3756c
cmpl $0xe0, %edi
jne 0x3758e
leaq 0xaa03(%rip), %rbx      # 0x41e97
jmp 0x3758e
leaq 0x134d0(%rip), %rcx     # 0x4a970
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0xa9f2(%rip), %rbx      # 0x41ea2
jmp 0x3758e
leaq 0x138df(%rip), %rbx     # 0x4ad9b
jmp 0x3758e
leaq 0x138ca(%rip), %rbx     # 0x4ad92
jmp 0x3758e
leaq 0x138b3(%rip), %rbx     # 0x4ad87
jmp 0x3758e
leaq 0x138c4(%rip), %rbx     # 0x4ada4
jmp 0x3758e
leaq 0x13883(%rip), %rbx     # 0x4ad6f
jmp 0x3758e
leaq 0x1385e(%rip), %rbx     # 0x4ad56
jmp 0x3758e
leaq 0xa8e2(%rip), %rbx      # 0x41de6
jmp 0x3758e
leaq 0xa9a2(%rip), %rbx      # 0x41eb2
jmp 0x3758e
leaq 0x11753(%rip), %rbx     # 0x48c6c
jmp 0x3758e
leaq 0xa952(%rip), %rbx      # 0x41e74
jmp 0x3758e
leaq 0x13811(%rip), %rbx     # 0x4ad3c
jmp 0x3758e
leaq 0x13817(%rip), %rbx     # 0x4ad4b
jmp 0x3758e
leaq 0x11631(%rip), %rbx     # 0x48b6e
jmp 0x3758e
leaq 0xa8d3(%rip), %rbx      # 0x41e19
jmp 0x3758e
leaq 0x9b6a(%rip), %rbx      # 0x410b9
jmp 0x3758e
leaq 0x137d6(%rip), %rbx     # 0x4ad2e
jmp 0x3758e
leaq 0x13800(%rip), %rbx     # 0x4ad61
jmp 0x3758e
leaq 0xa954(%rip), %rbx      # 0x41ebe
jmp 0x3758e
leaq 0x13859(%rip), %rbx     # 0x4adcc
jmp 0x3758e
leaq 0x1383f(%rip), %rbx     # 0x4adbb
jmp 0x3758e
leaq 0x1382a(%rip), %rbx     # 0x4adaf
jmp 0x3758e
leaq 0xa9cd(%rip), %rbx      # 0x41f5b
pushq $0x1
popq %rdi
callq 0x1b2bd
movq %rbx, %rax
popq %rbx
retq