// File: /workspace/github_c_makefile_star2_O1/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 0x2d399
cmpl $0x100, %edi            # imm = 0x100
je 0x2d3da
cmpl $0xe00, %edi            # imm = 0xE00
je 0x2d3e3
cmpl $0xe0e, %edi            # imm = 0xE0E
jne 0x2d3ea
leaq 0x1cf38(%rip), %rbx     # 0x4a2cf
jmp 0x2d3ea
leal -0x80(%rdi), %eax
cmpl $0x2b, %eax
ja 0x2d3ba
leaq 0x1cb9c(%rip), %rcx     # 0x49f44
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x1d971(%rip), %rbx     # 0x4ad29
jmp 0x2d3ea
decl %edi
cmpl $0x18, %edi
ja 0x2d3ea
leaq 0x1cb18(%rip), %rax     # 0x49ee0
movslq (%rax,%rdi,4), %rcx
addq %rax, %rcx
jmpq *%rcx
leaq 0x15e13(%rip), %rbx     # 0x431eb
jmp 0x2d3ea
leaq 0x16b84(%rip), %rbx     # 0x43f65
jmp 0x2d3ea
leaq 0x15ed8(%rip), %rbx     # 0x432c2
movl $0x2, %edi
callq 0x1bff7
movq %rbx, %rax
popq %rbx
retq
leaq 0x1c1ff(%rip), %rbx     # 0x495ff
jmp 0x2d3ea
leaq 0x1ceba(%rip), %rbx     # 0x4a2c3
jmp 0x2d3ea
leaq 0x1ff73(%rip), %rbx     # 0x4d385
jmp 0x2d3ea
leaq 0x1ce58(%rip), %rbx     # 0x4a273
jmp 0x2d3ea
leaq 0x1ce35(%rip), %rbx     # 0x4a259
jmp 0x2d3ea
leaq 0x1cdeb(%rip), %rbx     # 0x4a218
jmp 0x2d3ea
leaq 0x1ccd4(%rip), %rbx     # 0x4a10a
jmp 0x2d3ea
leaq 0x1607a(%rip), %rbx     # 0x434b9
jmp 0x2d3ea
leaq 0x1ce5c(%rip), %rbx     # 0x4a2a4
jmp 0x2d3ea
leaq 0x1cc9e(%rip), %rbx     # 0x4a0ef
jmp 0x2d3ea
leaq 0x1cda1(%rip), %rbx     # 0x4a1fb
jmp 0x2d3ea
leaq 0x1cdc0(%rip), %rbx     # 0x4a223
jmp 0x2d3ea
leaq 0x1cd72(%rip), %rbx     # 0x4a1de
jmp 0x2d3ea
leaq 0x1cdc7(%rip), %rbx     # 0x4a23f
jmp 0x2d3ea
leaq 0x1cd6b(%rip), %rbx     # 0x4a1ef
jmp 0x2d3ea
leaq 0x16036(%rip), %rbx     # 0x434c6
jmp 0x2d3ea
leaq 0x1cde7(%rip), %rbx     # 0x4a283
jmp 0x2d3ea
leaq 0x1ce09(%rip), %rbx     # 0x4a2b1
jmp 0x2d3ea
leaq 0x1cdde(%rip), %rbx     # 0x4a292
jmp 0x2d3ea
leaq 0x1cd44(%rip), %rbx     # 0x4a204
jmp 0x2d3ea
leaq 0x1cd66(%rip), %rbx     # 0x4a232
jmp 0x2d3ea
leaq 0x1cd8d(%rip), %rbx     # 0x4a265
jmp 0x2d3ea
leaq 0x1cd6b(%rip), %rbx     # 0x4a24f
jmp 0x2d3ea
leaq 0x1cc76(%rip), %rbx     # 0x4a166
jmp 0x2d3ea
leaq 0x1cccd(%rip), %rbx     # 0x4a1c9
jmp 0x2d3ea
leaq 0x1cbf7(%rip), %rbx     # 0x4a0ff
jmp 0x2d3ea
leaq 0x1cc71(%rip), %rbx     # 0x4a185
jmp 0x2d3ea
leaq 0x1cc1e(%rip), %rbx     # 0x4a13e
jmp 0x2d3ea
leaq 0x1cc29(%rip), %rbx     # 0x4a155
jmp 0x2d3ea
leaq 0x15dc2(%rip), %rbx     # 0x432fa
jmp 0x2d3ea
leaq 0x1cbf0(%rip), %rbx     # 0x4a134
jmp 0x2d3ea
leaq 0x1e713(%rip), %rbx     # 0x4bc63
jmp 0x2d3ea
leaq 0x1c09f(%rip), %rbx     # 0x495fb
jmp 0x2d3ea
leaq 0x1cc0b(%rip), %rbx     # 0x4a173
jmp 0x2d3ea
leaq 0x1cbd7(%rip), %rbx     # 0x4a14b
jmp 0x2d3ea
leaq 0x1cc20(%rip), %rbx     # 0x4a1a0
jmp 0x2d3ea
leaq 0x1cb98(%rip), %rbx     # 0x4a124
jmp 0x2d3ea
leaq 0x1cc16(%rip), %rbx     # 0x4a1ae
jmp 0x2d3ea
leaq 0x1736d(%rip), %rbx     # 0x44911
jmp 0x2d3ea