// File: /workspace/github_c_makefile_star2_O3/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
cmpl $0x2011, %edi           # imm = 0x2011
jg 0x324c3
cmpl $0x13, %edi
jle 0x324f6
leal -0x14(%rdi), %eax
cmpl $0xd, %eax
ja 0x3254a
leaq 0x19066(%rip), %rcx     # 0x4b514
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x19252(%rip), %rbx     # 0x4b710
jmp 0x3262f
cmpl $0x2fff, %edi           # imm = 0x2FFF
jle 0x3251e
addl $0xffffd000, %edi       # imm = 0xFFFFD000
cmpl $0x17, %edi
ja 0x3262f
leaq 0x1906b(%rip), %rax     # 0x4b54c
movslq (%rax,%rdi,4), %rcx
addq %rax, %rcx
jmpq *%rcx
leaq 0x1923c(%rip), %rbx     # 0x4b72d
jmp 0x3262f
addl $-0x2, %edi
cmpl $0xb, %edi
ja 0x3262f
leaq 0x18fdb(%rip), %rax     # 0x4b4e4
movslq (%rax,%rdi,4), %rcx
addq %rax, %rcx
jmpq *%rcx
leaq 0x191ab(%rip), %rbx     # 0x4b6c4
jmp 0x3262f
cmpl $0x2012, %edi           # imm = 0x2012
je 0x3257a
cmpl $0x2022, %edi           # imm = 0x2022
je 0x3261f
cmpl $0x2034, %edi           # imm = 0x2034
jne 0x3262f
leaq 0x191da(%rip), %rbx     # 0x4b71f
jmp 0x3262f
cmpl $0x2000, %edi           # imm = 0x2000
je 0x32628
cmpl $0x2011, %edi           # imm = 0x2011
jne 0x3262f
leaq 0x17c2c(%rip), %rbx     # 0x4a195
jmp 0x3262f
leaq 0x17bff(%rip), %rbx     # 0x4a174
jmp 0x3262f
leaq 0x10c6a(%rip), %rbx     # 0x431eb
jmp 0x3262f
leaq 0x17fbe(%rip), %rbx     # 0x4a54b
jmp 0x3262f
leaq 0x10eec(%rip), %rbx     # 0x43485
jmp 0x3262f
leaq 0x187c4(%rip), %rbx     # 0x4ad69
jmp 0x3262f
leaq 0x10c8b(%rip), %rbx     # 0x4323c
jmp 0x3262f
leaq 0x19136(%rip), %rbx     # 0x4b6f0
jmp 0x3262f
leaq 0x19141(%rip), %rbx     # 0x4b704
jmp 0x3262f
leaq 0x1c0c3(%rip), %rbx     # 0x4e68f
jmp 0x3262f
leaq 0x19107(%rip), %rbx     # 0x4b6dc
jmp 0x3262f
leaq 0x17061(%rip), %rbx     # 0x4963f
jmp 0x3262f
leaq 0x19151(%rip), %rbx     # 0x4b738
jmp 0x3262f
leaq 0x19169(%rip), %rbx     # 0x4b759
jmp 0x3262f
leaq 0x196aa(%rip), %rbx     # 0x4bca3
jmp 0x3262f
leaq 0x19141(%rip), %rbx     # 0x4b743
jmp 0x3262f
leaq 0x19141(%rip), %rbx     # 0x4b74c
jmp 0x3262f
leaq 0x17003(%rip), %rbx     # 0x49617
jmp 0x3262f
leaq 0x1703a(%rip), %rbx     # 0x49657
jmp 0x3262f
leaq 0x1908f(%rip), %rbx     # 0x4b6b5
jmp 0x3262f
leaq 0x11936(%rip), %rbx     # 0x43f65
movl $0x2, %edi
callq 0x1c4f0
movq %rbx, %rax
popq %rbx
retq