// File: /workspace/github_c_makefile_star2_O0/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 %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movl $0x0, -0x10(%rbp)
movl -0xc(%rbp), %eax
movl %eax, -0x14(%rbp)
subl $0x4f52, %eax           # imm = 0x4F52
je 0x20f81
jmp 0x20f75
movl -0x14(%rbp), %eax
subl $0x5352, %eax           # imm = 0x5352
jne 0x20ff0
jmp 0x20f81
xorl %eax, %eax
callq 0xb9a0
movq -0x8(%rbp), %rax
movq %rax, -0x20(%rbp)
subq $0x1, %rax
je 0x20fa4
jmp 0x20f98
movq -0x20(%rbp), %rax
subq $0x2, %rax
je 0x20fba
jmp 0x20fd0
leaq 0x47765(%rip), %rdi     # 0x68710
movb $0x0, %al
callq 0x3110
addl -0x10(%rbp), %eax
movl %eax, -0x10(%rbp)
jmp 0x20fe4
leaq 0x4775a(%rip), %rdi     # 0x6871b
movb $0x0, %al
callq 0x3110
addl -0x10(%rbp), %eax
movl %eax, -0x10(%rbp)
jmp 0x20fe4
leaq 0x4a634(%rip), %rdi     # 0x6b60b
movb $0x0, %al
callq 0x3110
addl -0x10(%rbp), %eax
movl %eax, -0x10(%rbp)
movb $0x0, %al
callq 0xb9d0
jmp 0x21226
xorl %eax, %eax
callq 0xb9a0
movq -0x8(%rbp), %rax
movq %rax, -0x28(%rbp)
testq %rax, %rax
je 0x210d5
jmp 0x2100a
movq -0x28(%rbp), %rax
subq $0x1, %rax
je 0x210ee
jmp 0x2101a
movq -0x28(%rbp), %rax
subq $0x2, %rax
je 0x21107
jmp 0x2102a
movq -0x28(%rbp), %rax
subq $0x3, %rax
je 0x21120
jmp 0x2103a
movq -0x28(%rbp), %rax
subq $0x4, %rax
je 0x21139
jmp 0x2104a
movq -0x28(%rbp), %rax
subq $0x5, %rax
je 0x21152
jmp 0x2105a
movq -0x28(%rbp), %rax
subq $0x6, %rax
je 0x2116b
jmp 0x2106a
movq -0x28(%rbp), %rax
subq $0x8, %rax
je 0x21184
jmp 0x2107a
movq -0x28(%rbp), %rax
subq $0xa, %rax
je 0x2119d
jmp 0x2108a
movq -0x28(%rbp), %rax
subq $0x8023, %rax           # imm = 0x8023
je 0x211b3
jmp 0x2109c
movq -0x28(%rbp), %rax
subq $0x804c, %rax           # imm = 0x804C
je 0x211c9
jmp 0x210ae
movq -0x28(%rbp), %rax
subq $0x804d, %rax           # imm = 0x804D
je 0x211df
jmp 0x210c0
movq -0x28(%rbp), %rax
subq $0x884c, %rax           # imm = 0x884C
je 0x211f5
jmp 0x2120b
leaq 0x4764a(%rip), %rdi     # 0x68726
movb $0x0, %al
callq 0x3110
addl -0x10(%rbp), %eax
movl %eax, -0x10(%rbp)
jmp 0x2121f
leaq 0x4763c(%rip), %rdi     # 0x68731
movb $0x0, %al
callq 0x3110
addl -0x10(%rbp), %eax
movl %eax, -0x10(%rbp)
jmp 0x2121f
leaq 0x4c63c(%rip), %rdi     # 0x6d74a
movb $0x0, %al
callq 0x3110
addl -0x10(%rbp), %eax
movl %eax, -0x10(%rbp)
jmp 0x2121f
leaq 0x47615(%rip), %rdi     # 0x6873c
movb $0x0, %al
callq 0x3110
addl -0x10(%rbp), %eax
movl %eax, -0x10(%rbp)
jmp 0x2121f
leaq 0x47604(%rip), %rdi     # 0x68744
movb $0x0, %al
callq 0x3110
addl -0x10(%rbp), %eax
movl %eax, -0x10(%rbp)
jmp 0x2121f
leaq 0x475fd(%rip), %rdi     # 0x68756
movb $0x0, %al
callq 0x3110
addl -0x10(%rbp), %eax
movl %eax, -0x10(%rbp)
jmp 0x2121f
leaq 0x475ee(%rip), %rdi     # 0x68760
movb $0x0, %al
callq 0x3110
addl -0x10(%rbp), %eax
movl %eax, -0x10(%rbp)
jmp 0x2121f
leaq 0x475db(%rip), %rdi     # 0x68766
movb $0x0, %al
callq 0x3110
addl -0x10(%rbp), %eax
movl %eax, -0x10(%rbp)
jmp 0x2121f
leaq 0x475c9(%rip), %rdi     # 0x6876d
movb $0x0, %al
callq 0x3110
addl -0x10(%rbp), %eax
movl %eax, -0x10(%rbp)
jmp 0x2121f
leaq 0x472f3(%rip), %rdi     # 0x684ad
movb $0x0, %al
callq 0x3110
addl -0x10(%rbp), %eax
movl %eax, -0x10(%rbp)
jmp 0x2121f
leaq 0x475a4(%rip), %rdi     # 0x68774
movb $0x0, %al
callq 0x3110
addl -0x10(%rbp), %eax
movl %eax, -0x10(%rbp)
jmp 0x2121f
leaq 0x4759a(%rip), %rdi     # 0x68780
movb $0x0, %al
callq 0x3110
addl -0x10(%rbp), %eax
movl %eax, -0x10(%rbp)
jmp 0x2121f
leaq 0x472c3(%rip), %rdi     # 0x684bf
movb $0x0, %al
callq 0x3110
addl -0x10(%rbp), %eax
movl %eax, -0x10(%rbp)
jmp 0x2121f
leaq 0x4a3f9(%rip), %rdi     # 0x6b60b
movb $0x0, %al
callq 0x3110
addl -0x10(%rbp), %eax
movl %eax, -0x10(%rbp)
movb $0x0, %al
callq 0xb9d0
movl -0x10(%rbp), %edi
callq 0x1ff00
addq $0x30, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)