// File: /workspace/github_c_makefile_star2_O3/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
cmpl $0xff, %edi
jle 0x2db40
cmpl $0x100, %edi            # imm = 0x100
je 0x2db81
cmpl $0xe00, %edi            # imm = 0xE00
je 0x2db8a
cmpl $0xe0e, %edi            # imm = 0xE0E
jne 0x2db91
leaq 0x1c7d1(%rip), %rbx     # 0x4a30f
jmp 0x2db91
leal -0x80(%rdi), %eax
cmpl $0x2b, %eax
ja 0x2db61
leaq 0x1c435(%rip), %rcx     # 0x49f84
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x1d20a(%rip), %rbx     # 0x4ad69
jmp 0x2db91
decl %edi
cmpl $0x18, %edi
ja 0x2db91
leaq 0x1c3b1(%rip), %rax     # 0x49f20
movslq (%rax,%rdi,4), %rcx
addq %rax, %rcx
jmpq *%rcx
leaq 0x1566c(%rip), %rbx     # 0x431eb
jmp 0x2db91
leaq 0x163dd(%rip), %rbx     # 0x43f65
jmp 0x2db91
leaq 0x15731(%rip), %rbx     # 0x432c2
movl $0x2, %edi
callq 0x1c4f0
movq %rbx, %rax
popq %rbx
retq
leaq 0x1ba98(%rip), %rbx     # 0x4963f
jmp 0x2db91
leaq 0x1c753(%rip), %rbx     # 0x4a303
jmp 0x2db91
leaq 0x1f80c(%rip), %rbx     # 0x4d3c5
jmp 0x2db91
leaq 0x1c6f1(%rip), %rbx     # 0x4a2b3
jmp 0x2db91
leaq 0x1c6ce(%rip), %rbx     # 0x4a299
jmp 0x2db91
leaq 0x1c684(%rip), %rbx     # 0x4a258
jmp 0x2db91
leaq 0x1c56d(%rip), %rbx     # 0x4a14a
jmp 0x2db91
leaq 0x158d3(%rip), %rbx     # 0x434b9
jmp 0x2db91
leaq 0x1c6f5(%rip), %rbx     # 0x4a2e4
jmp 0x2db91
leaq 0x1c537(%rip), %rbx     # 0x4a12f
jmp 0x2db91
leaq 0x1c63a(%rip), %rbx     # 0x4a23b
jmp 0x2db91
leaq 0x1c659(%rip), %rbx     # 0x4a263
jmp 0x2db91
leaq 0x1c60b(%rip), %rbx     # 0x4a21e
jmp 0x2db91
leaq 0x1c660(%rip), %rbx     # 0x4a27f
jmp 0x2db91
leaq 0x1c604(%rip), %rbx     # 0x4a22f
jmp 0x2db91
leaq 0x1588f(%rip), %rbx     # 0x434c6
jmp 0x2db91
leaq 0x1c680(%rip), %rbx     # 0x4a2c3
jmp 0x2db91
leaq 0x1c6a2(%rip), %rbx     # 0x4a2f1
jmp 0x2db91
leaq 0x1c677(%rip), %rbx     # 0x4a2d2
jmp 0x2db91
leaq 0x1c5dd(%rip), %rbx     # 0x4a244
jmp 0x2db91
leaq 0x1c5ff(%rip), %rbx     # 0x4a272
jmp 0x2db91
leaq 0x1c626(%rip), %rbx     # 0x4a2a5
jmp 0x2db91
leaq 0x1c604(%rip), %rbx     # 0x4a28f
jmp 0x2db91
leaq 0x1c50f(%rip), %rbx     # 0x4a1a6
jmp 0x2db91
leaq 0x1c566(%rip), %rbx     # 0x4a209
jmp 0x2db91
leaq 0x1c490(%rip), %rbx     # 0x4a13f
jmp 0x2db91
leaq 0x1c50a(%rip), %rbx     # 0x4a1c5
jmp 0x2db91
leaq 0x1c4b7(%rip), %rbx     # 0x4a17e
jmp 0x2db91
leaq 0x1c4c2(%rip), %rbx     # 0x4a195
jmp 0x2db91
leaq 0x1561b(%rip), %rbx     # 0x432fa
jmp 0x2db91
leaq 0x1c489(%rip), %rbx     # 0x4a174
jmp 0x2db91
leaq 0x1dfac(%rip), %rbx     # 0x4bca3
jmp 0x2db91
leaq 0x1b938(%rip), %rbx     # 0x4963b
jmp 0x2db91
leaq 0x1c4a4(%rip), %rbx     # 0x4a1b3
jmp 0x2db91
leaq 0x1c470(%rip), %rbx     # 0x4a18b
jmp 0x2db91
leaq 0x1c4b9(%rip), %rbx     # 0x4a1e0
jmp 0x2db91
leaq 0x1c431(%rip), %rbx     # 0x4a164
jmp 0x2db91
leaq 0x1c4af(%rip), %rbx     # 0x4a1ee
jmp 0x2db91
leaq 0x16c0a(%rip), %rbx     # 0x44955
jmp 0x2db91