// File: /workspace/github_c_makefile_star2_O1/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 0x31c34
cmpl $0x13, %edi
jle 0x31c67
leal -0x14(%rdi), %eax
cmpl $0xd, %eax
ja 0x31cbb
leaq 0x198b5(%rip), %rcx     # 0x4b4d4
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x19aa1(%rip), %rbx     # 0x4b6d0
jmp 0x31da0
cmpl $0x2fff, %edi           # imm = 0x2FFF
jle 0x31c8f
addl $0xffffd000, %edi       # imm = 0xFFFFD000
cmpl $0x17, %edi
ja 0x31da0
leaq 0x198ba(%rip), %rax     # 0x4b50c
movslq (%rax,%rdi,4), %rcx
addq %rax, %rcx
jmpq *%rcx
leaq 0x19a8b(%rip), %rbx     # 0x4b6ed
jmp 0x31da0
addl $-0x2, %edi
cmpl $0xb, %edi
ja 0x31da0
leaq 0x1982a(%rip), %rax     # 0x4b4a4
movslq (%rax,%rdi,4), %rcx
addq %rax, %rcx
jmpq *%rcx
leaq 0x199fa(%rip), %rbx     # 0x4b684
jmp 0x31da0
cmpl $0x2012, %edi           # imm = 0x2012
je 0x31ceb
cmpl $0x2022, %edi           # imm = 0x2022
je 0x31d90
cmpl $0x2034, %edi           # imm = 0x2034
jne 0x31da0
leaq 0x19a29(%rip), %rbx     # 0x4b6df
jmp 0x31da0
cmpl $0x2000, %edi           # imm = 0x2000
je 0x31d99
cmpl $0x2011, %edi           # imm = 0x2011
jne 0x31da0
leaq 0x1847b(%rip), %rbx     # 0x4a155
jmp 0x31da0
leaq 0x1844e(%rip), %rbx     # 0x4a134
jmp 0x31da0
leaq 0x114f9(%rip), %rbx     # 0x431eb
jmp 0x31da0
leaq 0x1880d(%rip), %rbx     # 0x4a50b
jmp 0x31da0
leaq 0x1177b(%rip), %rbx     # 0x43485
jmp 0x31da0
leaq 0x19013(%rip), %rbx     # 0x4ad29
jmp 0x31da0
leaq 0x1151a(%rip), %rbx     # 0x4323c
jmp 0x31da0
leaq 0x19985(%rip), %rbx     # 0x4b6b0
jmp 0x31da0
leaq 0x19990(%rip), %rbx     # 0x4b6c4
jmp 0x31da0
leaq 0x1c912(%rip), %rbx     # 0x4e64f
jmp 0x31da0
leaq 0x19956(%rip), %rbx     # 0x4b69c
jmp 0x31da0
leaq 0x178b0(%rip), %rbx     # 0x495ff
jmp 0x31da0
leaq 0x199a0(%rip), %rbx     # 0x4b6f8
jmp 0x31da0
leaq 0x199b8(%rip), %rbx     # 0x4b719
jmp 0x31da0
leaq 0x19ef9(%rip), %rbx     # 0x4bc63
jmp 0x31da0
leaq 0x19990(%rip), %rbx     # 0x4b703
jmp 0x31da0
leaq 0x19990(%rip), %rbx     # 0x4b70c
jmp 0x31da0
leaq 0x17852(%rip), %rbx     # 0x495d7
jmp 0x31da0
leaq 0x17889(%rip), %rbx     # 0x49617
jmp 0x31da0
leaq 0x198de(%rip), %rbx     # 0x4b675
jmp 0x31da0
leaq 0x121c5(%rip), %rbx     # 0x43f65
movl $0x2, %edi
callq 0x1bff7
movq %rbx, %rax
popq %rbx
retq