// File: /workspace/github_c_makefile_star2_O2/hfiguiere[P]exifprobe/tagnames.c
// Function: cifftagname
char *
cifftagname(unsigned short tag)
{
    static char unknown_buf[16];
    char *tagname;

    switch(tag)
    {
        case 0x0000: tagname = "NullRecord"; break;
        case 0x0001: tagname = "FreeBytes"; break;
        case 0x0032: tagname = "ColorInfo1"; break;
        case 0x0805: tagname = "FileDescription"; break;
        case 0x080a: tagname = "RawMakeModel"; break;
        case 0x080b: tagname = "FirmwareVersion"; break;
        case 0x080c: tagname = "ComponentVersion"; break;
        case 0x080d: tagname = "RomOperationMode"; break;
        case 0x0810: tagname = "OwnerName"; break;
        case 0x0815: tagname = "ImageType"; break;
        case 0x0816: tagname = "OriginalFilename"; break;
        case 0x0817: tagname = "ThumbnailFilename"; break;
        case 0x100a: tagname = "TargetImageType"; break;
        case 0x1010: tagname = "ShutterReleaseMethod"; break;
        case 0x1011: tagname = "ShutterReleaseTiming"; break;
        case 0x1016: tagname = "ReleaseSetting"; break;
        case 0x101c: tagname = "BaseISO"; break;
        /* case 0x1028: tagname = "TAG_0x1028"; break;                */
        case 0x1029: tagname = "FocalLengthInfo"; break;
        case 0x102a: tagname = "ShotInfo"; break;
        case 0x102c: tagname = "ColorInfo2"; break;
        case 0x102d: tagname = "CameraSettings"; break;
        case 0x1031: tagname = "SensorInfo"; break;
        case 0x1033: tagname = "CustomFunctions"; break;
        case 0x1038: tagname = "PictureInfo"; break;
        /* case 0x1039: tagname = "TAG_0x1039"; break;                */
        /* case 0x1093: tagname = "TAG_0x1093"; break;                */
        /* case 0x10a8: tagname = "TAG_0x10a8"; break;                */
        case 0x10a9: tagname = "WhiteBalanceTable"; break;
        /* case 0x10aa: tagname = "TAG_0x10aa"; break;                */
        /* case 0x10ae: tagname = "TAG_0x10ae"; break;                */
        case 0x10b4: tagname = "ColorSpace"; break;
        /* case 0x10b5: tagname = "TAG_0x10b5"; break;                */
        /* case 0x10c0: tagname = "0X10c0"; break;                    */
        /* case 0x10c1: tagname = "0X10c1"; break;                    */
        case 0x1803: tagname = "ImageSpec"; break;
        case 0x1804: tagname = "RecordId"; break;
        case 0x1806: tagname = "SelfTimerTime"; break;
        case 0x1807: tagname = "TargetDistanceSetting"; break;
        case 0x180b: tagname = "SerialNumber"; break;
        case 0x180e: tagname = "CapturedTime"; break;
        case 0x1810: tagname = "ImageInfo"; break;
        case 0x1813: tagname = "FlashInfo"; break;
        case 0x1814: tagname = "MeasuredEv"; break;
        case 0x1817: tagname = "Filenumber"; break;
        case 0x1818: tagname = "ExposureInfo"; break;
        /* case 0x1834: tagname = "TAG_0x1834"; break;                */
        case 0x1835: tagname = "DecoderTable"; break;
        /* case 0x183b: tagname = "TAG_0X183b"; break;                */
        case 0x2005: tagname = "RawImageData"; break;
        case 0x2007: tagname = "JpegImage"; break;
        case 0x2008: tagname = "JpegThumbnail"; break;
        case 0x2804: tagname = "ImageDescription"; break;
        case 0x2807: tagname = "CameraObject"; break;
        case 0x3002: tagname = "ShootingRecord"; break;
        case 0x3003: tagname = "MeasuredInfo"; break;
        case 0x3004: tagname = "CameraSpecification"; break;
        case 0x300a: tagname = "ImageProperties"; break;
        case 0x300b: tagname = "ExifInformation"; break;
        default:
            if(snprintf(unknown_buf,11,"TAG_%#06x",(int)tag) > 11)
            {
                printf(" bad tag %#x not converted\n",tag);
                why(stdout);
                tagname = "<BADTAG>";
            }
            else
                tagname = unknown_buf;
            break;
    }
    tagname = strdup(tagname);
    return(tagname);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movl %edi, %r14d
leal -0x1803(%r14), %eax
cmpl $0x15, %eax
jbe 0xbbf0
leal -0x805(%r14), %eax
cmpl $0x12, %eax
jbe 0xbc0c
leal -0x1029(%r14), %eax
cmpl $0xf, %eax
jbe 0xbc28
leal -0x3002(%r14), %eax
cmpl $0x9, %eax
jbe 0xbc44
testl %r14d, %r14d
je 0xbe81
cmpl $0x2807, %r14d          # imm = 0x2807
je 0xbe30
cmpl $0x32, %r14d
je 0xbe03
cmpl $0x100a, %r14d          # imm = 0x100A
je 0xbe78
cmpl $0x1010, %r14d          # imm = 0x1010
je 0xbe66
cmpl $0x1011, %r14d          # imm = 0x1011
je 0xbe6f
cmpl $0x1016, %r14d          # imm = 0x1016
je 0xbe54
cmpl $0x101c, %r14d          # imm = 0x101C
je 0xbe5d
cmpl $0x10a9, %r14d          # imm = 0x10A9
je 0xbe4b
cmpl $0x10b4, %r14d          # imm = 0x10B4
je 0xbe15
cmpl $0x1835, %r14d          # imm = 0x1835
je 0xbe42
cmpl $0x2005, %r14d          # imm = 0x2005
je 0xbe27
cmpl $0x2007, %r14d          # imm = 0x2007
je 0xbe39
cmpl $0x2008, %r14d          # imm = 0x2008
je 0xbe1e
cmpl $0x2804, %r14d          # imm = 0x2804
je 0xbe0c
cmpl $0x1, %r14d
jne 0xbc60
leaq 0x361a7(%rip), %rbx     # 0x41d92
jmp 0xbe88
leaq 0x34a25(%rip), %rcx     # 0x4061c
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x362c9(%rip), %rbx     # 0x41ed0
jmp 0xbe88
leaq 0x3497d(%rip), %rcx     # 0x40590
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x36184(%rip), %rbx     # 0x41da7
jmp 0xbe88
leaq 0x349ad(%rip), %rcx     # 0x405dc
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x36225(%rip), %rbx     # 0x41e64
jmp 0xbe88
leaq 0x34a29(%rip), %rcx     # 0x40674
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x36325(%rip), %rbx     # 0x41f80
jmp 0xbe88
leaq 0x508a9(%rip), %rbx     # 0x5c510
leaq 0x3401b(%rip), %rdx     # 0x3fc89
pushq $0xb
popq %rsi
movq %rbx, %rdi
movl %r14d, %ecx
xorl %eax, %eax
callq 0x3130
cmpl $0xc, %eax
jl 0xbe88
leaq 0x34005(%rip), %rdi     # 0x3fc93
movl %r14d, %esi
xorl %eax, %eax
callq 0x3120
movq 0x4b329(%rip), %rax     # 0x56fc8
movq (%rax), %rdi
callq 0x16e8c
leaq 0x34001(%rip), %rbx     # 0x3fcaf
jmp 0xbe88
leaq 0x3627a(%rip), %rbx     # 0x41f34
jmp 0xbe88
leaq 0x3f10d(%rip), %rbx     # 0x4add3
jmp 0xbe88
leaq 0x36235(%rip), %rbx     # 0x41f07
jmp 0xbe88
leaq 0x357db(%rip), %rbx     # 0x414b9
jmp 0xbe88
leaq 0x36207(%rip), %rbx     # 0x41ef1
jmp 0xbe88
leaq 0x36228(%rip), %rbx     # 0x41f1e
jmp 0xbe88
leaq 0x361e1(%rip), %rbx     # 0x41ee3
jmp 0xbe88
leaq 0x361cc(%rip), %rbx     # 0x41eda
jmp 0xbe88
leaq 0x361fa(%rip), %rbx     # 0x41f14
jmp 0xbe88
leaq 0x36203(%rip), %rbx     # 0x41f29
jmp 0xbe88
leaq 0x360b4(%rip), %rbx     # 0x41de6
jmp 0xbe88
leaq 0x36086(%rip), %rbx     # 0x41dc4
jmp 0xbe88
leaq 0x3cf22(%rip), %rbx     # 0x48c6c
jmp 0xbe88
leaq 0x3609a(%rip), %rbx     # 0x41df0
jmp 0xbe88
leaq 0x36055(%rip), %rbx     # 0x41db7
jmp 0xbe88
leaq 0x36067(%rip), %rbx     # 0x41dd5
jmp 0xbe88
leaq 0x3609f(%rip), %rbx     # 0x41e19
jmp 0xbe88
leaq 0x3607b(%rip), %rbx     # 0x41e01
jmp 0xbe88
leaq 0x3622e(%rip), %rbx     # 0x41fc0
jmp 0xbe88
leaq 0x36212(%rip), %rbx     # 0x41fb0
jmp 0xbe88
leaq 0x361e5(%rip), %rbx     # 0x41f8f
jmp 0xbe88
leaq 0x361e6(%rip), %rbx     # 0x41f9c
jmp 0xbe88
leaq 0x360f0(%rip), %rbx     # 0x41eb2
jmp 0xbe88
leaq 0x360d4(%rip), %rbx     # 0x41ea2
jmp 0xbe88
leaq 0x3609a(%rip), %rbx     # 0x41e74
jmp 0xbe88
leaq 0x360b1(%rip), %rbx     # 0x41e97
jmp 0xbe88
leaq 0x36096(%rip), %rbx     # 0x41e88
jmp 0xbe88
leaq 0x3607f(%rip), %rbx     # 0x41e7d
jmp 0xbe88
leaq 0x35f92(%rip), %rbx     # 0x41d9c
jmp 0xbe88
leaq 0x34a7f(%rip), %rbx     # 0x40892
jmp 0xbe88
leaq 0x3afda(%rip), %rbx     # 0x46df6
jmp 0xbe88
leaq 0x36140(%rip), %rbx     # 0x41f65
jmp 0xbe88
leaq 0x36120(%rip), %rbx     # 0x41f4e
jmp 0xbe88
leaq 0x3613c(%rip), %rbx     # 0x41f73
jmp 0xbe88
leaq 0x3611b(%rip), %rbx     # 0x41f5b
jmp 0xbe88
leaq 0x360f8(%rip), %rbx     # 0x41f41
jmp 0xbe88
leaq 0x3606c(%rip), %rbx     # 0x41ebe
jmp 0xbe88
leaq 0x35ff2(%rip), %rbx     # 0x41e4d
jmp 0xbe88
leaq 0x35ff8(%rip), %rbx     # 0x41e5c
jmp 0xbe88
leaq 0x35fb6(%rip), %rbx     # 0x41e23
jmp 0xbe88
leaq 0x35fc2(%rip), %rbx     # 0x41e38
jmp 0xbe88
leaq 0x35f94(%rip), %rbx     # 0x41e13
jmp 0xbe88
leaq 0x35eff(%rip), %rbx     # 0x41d87
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x32b0