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

    switch(tag)
    {
        case 0x0001: tagname = "Version"; break;
        case 0x0002: tagname = "ISO"; break;
        case 0x0003: tagname = "ColorMode"; break;
        case 0x0004: tagname = "Quality"; break;
        case 0x0005: tagname = "WhiteBalance"; break;
        case 0x0006: tagname = "ImageSharpening"; break;
        case 0x0007: tagname = "FocusMode"; break;
        case 0x0008: tagname = "FlashSetting"; break;
        case 0x0009: tagname = "FlashType"; break; /* Harvey          */
#if 0
        case 0x000a: break; /* WhiteBal Bias ???                      */
        case 0x000d: break; /* WhiteBal coeff ???                     */
        case 0x000e: break; /* ISOSel? ???                            */
#endif
        case 0x000b: tagname = "WhiteBalanceBias"; break;
        case 0x000c: tagname = "WhiteBalance"; break;
        case 0x000f: tagname = "ISOSelection"; break;
        case 0x0010: tagname = "Data"; break;
        case 0x0011: tagname = "NikonPreviewImage"; break;
        case 0x0012: tagname = "FlashExposureCompensation*"; break;
        case 0x0013: tagname = "ISOSetting"; break;
        case 0x0016: tagname = "ImageBoundary"; break; 
        case 0x0018: tagname = "FlashExposureBracketValue*"; break; 
        case 0x0019: tagname = "ExposureBracketValue"; break; 

        case 0x0080: tagname = "ImageAdjustment"; break; 
        case 0x0081: tagname = "ToneCompensation"; break; 
        case 0x0082: tagname = "LensAdapter"; break;
        case 0x0083: tagname = "LensType"; break; 
        case 0x0084: tagname = "LensInfo"; break; 
        case 0x0085: tagname = "ManualFocusDistance"; break; 
        case 0x0086: tagname = "DigitalZoom"; break;
        case 0x0087: tagname = "FlashMode*"; break; 
        case 0x0088: tagname = "AutoFocusArea*"; break; 
        case 0x0089: tagname = "ShootingMode"; break;
        case 0x008c: tagname = "NEFDecodeTable1"; break;
        case 0x008d: tagname = "ColorMode"; break;
        case 0x008f: tagname = "SceneMode"; break;
        case 0x0090: tagname = "Lightsource"; break;
        case 0x0092: tagname = "HueAdjustment"; break;
        case 0x0094: tagname = "Saturation"; break;
        case 0x0095: tagname = "NoiseReduction"; break;
        case 0x0096: tagname = "NEFDecodeTable2"; break;
        case 0x0097: tagname = "ColorBalance**"; break;
        case 0x0099: tagname = "NEFThumbnailSize*"; break;
        case 0x00a0: tagname = "SerialNumber"; break; 
        case 0x00a7: tagname = "ShutterCount"; break; 
        case 0x00a9: tagname = "ImageOptimization"; break; 
        case 0x00aa: tagname = "Saturation"; break; 
        case 0x00ab: tagname = "VariProgram"; break; 

        case 0x0100: tagname = "JpegThumbnail"; break;
        case 0x0e00: tagname = "PrintIM"; break;
        case 0x0e0e: tagname = "NikonCaptureOffsets"; break;
        default: break;
    }
    setnotetagset(2);
    return(tagname);
}

// Assembly:
pushq %rbx
xorl %ebx, %ebx
leal -0x80(%rdi), %eax
cmpl $0x2b, %eax
ja 0x2c43f
leaq 0x1bb0a(%rip), %rcx     # 0x47f34
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x1c8df(%rip), %rbx     # 0x48d19
jmp 0x2c650
leal -0x1(%rdi), %eax
cmpl $0x18, %eax
ja 0x2c463
leaq 0x1ba82(%rip), %rcx     # 0x47ed0
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x14d8d(%rip), %rbx     # 0x411eb
jmp 0x2c650
cmpl $0x100, %edi            # imm = 0x100
je 0x2c640
cmpl $0xe00, %edi            # imm = 0xE00
je 0x2c649
cmpl $0xe0e, %edi            # imm = 0xE0E
jne 0x2c650
leaq 0x1be31(%rip), %rbx     # 0x482bf
jmp 0x2c650
leaq 0x1b155(%rip), %rbx     # 0x475ef
jmp 0x2c650
leaq 0x1bddc(%rip), %rbx     # 0x48282
jmp 0x2c650
leaq 0x15007(%rip), %rbx     # 0x414b9
jmp 0x2c650
leaq 0x1bd64(%rip), %rbx     # 0x48222
jmp 0x2c650
leaq 0x1bde9(%rip), %rbx     # 0x482b3
jmp 0x2c650
leaq 0x1bd32(%rip), %rbx     # 0x48208
jmp 0x2c650
leaq 0x1bd91(%rip), %rbx     # 0x48273
jmp 0x2c650
leaq 0x1bcfd(%rip), %rbx     # 0x481eb
jmp 0x2c650
leaq 0x1bce5(%rip), %rbx     # 0x481df
jmp 0x2c650
leaq 0x1bcc8(%rip), %rbx     # 0x481ce
jmp 0x2c650
leaq 0x1bd82(%rip), %rbx     # 0x48294
jmp 0x2c650
leaq 0x1bbc1(%rip), %rbx     # 0x480df
jmp 0x2c650
leaq 0x1bd77(%rip), %rbx     # 0x482a1
jmp 0x2c650
leaq 0x1bd09(%rip), %rbx     # 0x4823f
jmp 0x2c650
leaq 0x1bd07(%rip), %rbx     # 0x48249
jmp 0x2c650
leaq 0x1bcc5(%rip), %rbx     # 0x48213
jmp 0x2c650
leaq 0x14f6c(%rip), %rbx     # 0x414c6
jmp 0x2c650
leaq 0x1bb94(%rip), %rbx     # 0x480fa
jmp 0x2c650
leaq 0x1bc82(%rip), %rbx     # 0x481f4
jmp 0x2c650
leaq 0x1bcd7(%rip), %rbx     # 0x48255
jmp 0x2c650
leaq 0x1edeb(%rip), %rbx     # 0x4b375
jmp 0x2c650
leaq 0x1bc99(%rip), %rbx     # 0x4822f
jmp 0x2c650
leaq 0x1bcc1(%rip), %rbx     # 0x48263
jmp 0x2c650
leaq 0x1bc0b(%rip), %rbx     # 0x481b9
jmp 0x2c650
leaq 0x1bb9c(%rip), %rbx     # 0x48156
jmp 0x2c650
leaq 0x1bbca(%rip), %rbx     # 0x48190
jmp 0x2c650
leaq 0x1bb52(%rip), %rbx     # 0x48124
jmp 0x2c650
leaq 0x16336(%rip), %rbx     # 0x42911
jmp 0x2c650
leaq 0x1bb30(%rip), %rbx     # 0x48114
jmp 0x2c650
leaq 0x1affe(%rip), %rbx     # 0x475eb
jmp 0x2c650
leaq 0x1bb38(%rip), %rbx     # 0x4812e
jmp 0x2c650
leaq 0x1d654(%rip), %rbx     # 0x49c53
jmp 0x2c650
leaq 0x14cf2(%rip), %rbx     # 0x412fa
jmp 0x2c650
leaq 0x1bb2a(%rip), %rbx     # 0x4813b
jmp 0x2c650
leaq 0x1bb2b(%rip), %rbx     # 0x48145
jmp 0x2c650
leaq 0x1bb40(%rip), %rbx     # 0x48163
jmp 0x2c650
leaq 0x1bb49(%rip), %rbx     # 0x48175
jmp 0x2c650
leaq 0x1baba(%rip), %rbx     # 0x480ef
jmp 0x2c650
leaq 0x1bb60(%rip), %rbx     # 0x4819e
jmp 0x2c650
leaq 0x1591e(%rip), %rbx     # 0x41f65
jmp 0x2c650
leaq 0x14c72(%rip), %rbx     # 0x412c2
pushq $0x2
popq %rdi
callq 0x1b2bd
movq %rbx, %rax
popq %rbx
retq