// File: /workspace/github_c_makefile_star2_O1/hfiguiere[P]exifprobe/interpret.c
// Function: print_photometric
void
print_photometric(unsigned long metric,int fileformat)
{
    int chpr = 0;

    switch(fileformat)
    {
        case FILEFMT_ORF1:
        case FILEFMT_ORF2:
            print_startvalue();
            switch(metric)
            {
                case 1: chpr += printf("CFA 16 bit"); break;
                case 2: chpr += printf("CFA 12 bit"); break;
                default: chpr += printf("undefined"); break;
            }
            print_endvalue();
            break;
        default:
            print_startvalue();
            switch(metric)
            {
                case 0: chpr += printf("MINISWHITE"); break;
                case 1: chpr += printf("MINISBLACK"); break;
                case 2: chpr += printf("RGB"); break;
                case 3: chpr += printf("Palette"); break;
                case 4: chpr += printf("Transparency Mask"); break;
                case 5: chpr += printf("Separated"); break;
                case 6: chpr += printf("YCbCr"); break;
                case 8: chpr += printf("CIELAB"); break;
                case 10: chpr += printf("ITULAB"); break;
                case 32803: chpr += printf("CFA"); break;    /* TIFFEP, DNG */
                case 32844: chpr += printf("CIE Log2(L)"); break;
                case 32845: chpr += printf("CIE Log2(L) (u',v')"); break;
                case 34892: chpr += printf("LinearRaw"); break;
                default: chpr += printf("undefined"); break;
            }
            print_endvalue();
            break;
    }
    setcharsprinted(chpr);
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
cmpl $0x5352, %esi           # imm = 0x5352
je 0x182ba
cmpl $0x4f52, %esi           # imm = 0x4F52
jne 0x182fe
xorl %eax, %eax
callq 0x95d2
cmpq $0x2, %rbx
leaq 0x2deff(%rip), %rax     # 0x461cb
leaq 0x30b56(%rip), %rcx     # 0x48e29
cmoveq %rax, %rcx
cmpq $0x1, %rbx
leaq 0x2dede(%rip), %rdi     # 0x461c0
cmovneq %rcx, %rdi
xorl %eax, %eax
callq 0x3120
movl %eax, %ebx
xorl %eax, %eax
callq 0x95f3
movl %ebx, %edi
popq %rbx
jmp 0x17530
xorl %eax, %eax
callq 0x95d2
cmpq $0x8022, %rbx           # imm = 0x8022
jg 0x18331
cmpq $0xa, %rbx
ja 0x183fb
leaq 0x2dcc9(%rip), %rax     # 0x45fe8
movslq (%rax,%rbx,4), %rcx
addq %rax, %rcx
jmpq *%rcx
leaq 0x2dea7(%rip), %rdi     # 0x461d6
jmp 0x182e6
cmpq $0x804c, %rbx           # imm = 0x804C
jg 0x1835d
cmpq $0x8023, %rbx           # imm = 0x8023
je 0x183e3
cmpq $0x804c, %rbx           # imm = 0x804C
jne 0x183fb
leaq 0x2dec9(%rip), %rdi     # 0x46224
jmp 0x182e6
cmpq $0x804d, %rbx           # imm = 0x804D
je 0x183ef
cmpq $0x884c, %rbx           # imm = 0x884C
jne 0x183fb
leaq 0x2dac7(%rip), %rdi     # 0x45e45
jmp 0x182e6
leaq 0x2de6a(%rip), %rdi     # 0x461f4
jmp 0x182e6
leaq 0x32d28(%rip), %rdi     # 0x4b0be
jmp 0x182e6
leaq 0x2de74(%rip), %rdi     # 0x46216
jmp 0x182e6
leaq 0x2de58(%rip), %rdi     # 0x46206
jmp 0x182e6
leaq 0x2de32(%rip), %rdi     # 0x461ec
jmp 0x182e6
leaq 0x2de4a(%rip), %rdi     # 0x46210
jmp 0x182e6
leaq 0x2de4b(%rip), %rdi     # 0x4621d
jmp 0x182e6
leaq 0x2de03(%rip), %rdi     # 0x461e1
jmp 0x182e6
leaq 0x2da49(%rip), %rdi     # 0x45e33
jmp 0x182e6
leaq 0x2de3a(%rip), %rdi     # 0x46230
jmp 0x182e6
leaq 0x30a27(%rip), %rdi     # 0x48e29
jmp 0x182e6