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

    /* This is the same as Asahi/Pentax note version 2                */
    switch(tag)
    {
        case 0x0002: tagname = "JpegThumbnailDimensions"; break;
        case 0x0003: tagname = "JpegThumbnailLength"; break;
        case 0x0004: tagname = "JpegThumbnailOffset"; break;
        case 0x0008: tagname = "QualityMode"; break;
        case 0x0009: tagname = "ImageSize"; break;
        case 0x000D: tagname = "FocusMode"; break;
        case 0x0014: tagname = "IsoSensitivity"; break;
        case 0x0019: tagname = "WhiteBalance"; break;
        case 0x001D: tagname = "FocalLength"; break; /* units .1mm   */
        case 0x001F: tagname = "Saturation"; break;
        case 0x0020: tagname = "Contrast"; break;
        case 0x0021: tagname = "Sharpness"; break;
        case 0x2000: tagname = "JpegThumbnail"; break;
        case 0x2011: tagname = "WhiteBalanceBias"; break;
        case 0x2012: tagname = "WhiteBalance"; break;
        case 0x2022: tagname = "ObjectDistance"; break;
        case 0x2034: tagname = "FlashDistance"; break;
        case 0x3000: tagname = "RecordMode"; break;
        case 0x3001: tagname = "SelfTimer?"; break;
        case 0x3002: tagname = "Quality"; break;
        case 0x3003: tagname = "FocusMode"; break;
        case 0x3006: tagname = "TimeZone"; break;
        case 0x3007: tagname = "BestshotMode"; break;
        case 0x3014: tagname = "CCDSensitivity"; break;
        case 0x3015: tagname = "ColorMode"; break;
        case 0x3016: tagname = "Enhancement"; break;
        case 0x3017: tagname = "Filter"; break;
        default: break;
    }
    setnotetagset(2);
    return(tagname);
}

// Assembly:
pushq %rbx
xorl %ebx, %ebx
leal -0x3000(%rdi), %eax
cmpl $0x17, %eax
jbe 0x30a94
leal -0x2(%rdi), %eax
cmpl $0xb, %eax
jbe 0x30ab0
leal -0x14(%rdi), %eax
cmpl $0xd, %eax
ja 0x30acc
leaq 0x18a45(%rip), %rcx     # 0x494c4
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x18c31(%rip), %rbx     # 0x496c0
jmp 0x30bdd
leaq 0x18a61(%rip), %rcx     # 0x494fc
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x18c32(%rip), %rbx     # 0x496dd
jmp 0x30bdd
leaq 0x189dd(%rip), %rcx     # 0x49494
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x18bad(%rip), %rbx     # 0x49674
jmp 0x30bdd
cmpl $0x2000, %edi           # imm = 0x2000
je 0x30bc4
cmpl $0x2011, %edi           # imm = 0x2011
je 0x30bd6
cmpl $0x2012, %edi           # imm = 0x2012
je 0x30b1c
cmpl $0x2022, %edi           # imm = 0x2022
je 0x30bcd
cmpl $0x2034, %edi           # imm = 0x2034
jne 0x30bdd
leaq 0x18bc4(%rip), %rbx     # 0x496cf
jmp 0x30bdd
leaq 0x1760d(%rip), %rbx     # 0x48124
jmp 0x30bdd
leaq 0x106c8(%rip), %rbx     # 0x411eb
jmp 0x30bdd
leaq 0x1bb10(%rip), %rbx     # 0x4c63f
jmp 0x30bdd
leaq 0x18b51(%rip), %rbx     # 0x4968c
jmp 0x30bdd
leaq 0x18b59(%rip), %rbx     # 0x496a0
jmp 0x30bdd
leaq 0x18b61(%rip), %rbx     # 0x496b4
jmp 0x30bdd
leaq 0x18b94(%rip), %rbx     # 0x496f3
jmp 0x30bdd
leaq 0x190eb(%rip), %rbx     # 0x49c53
jmp 0x30bdd
leaq 0x18b98(%rip), %rbx     # 0x49709
jmp 0x30bdd
leaq 0x16a8d(%rip), %rbx     # 0x47607
jmp 0x30bdd
leaq 0x18b79(%rip), %rbx     # 0x496fc
jmp 0x30bdd
leaq 0x18b5c(%rip), %rbx     # 0x496e8
jmp 0x30bdd
leaq 0x16a5a(%rip), %rbx     # 0x475ef
jmp 0x30bdd
leaq 0x16a29(%rip), %rbx     # 0x475c7
jmp 0x30bdd
leaq 0x10695(%rip), %rbx     # 0x4123c
jmp 0x30bdd
leaq 0x1794b(%rip), %rbx     # 0x484fb
jmp 0x30bdd
leaq 0x108cc(%rip), %rbx     # 0x41485
jmp 0x30bdd
leaq 0x18157(%rip), %rbx     # 0x48d19
jmp 0x30bdd
leaq 0x1139a(%rip), %rbx     # 0x41f65
jmp 0x30bdd
leaq 0x18a91(%rip), %rbx     # 0x49665
jmp 0x30bdd
leaq 0x17568(%rip), %rbx     # 0x48145
pushq $0x2
popq %rdi
callq 0x1b2bd
movq %rbx, %rax
popq %rbx
retq