// File: /workspace/github_c_makefile_star2_O0/hfiguiere[P]exifprobe/misc.c
// Function: print_imagesubformat
void
print_imagesubformat(struct image_summary *entry)
{
    char *subformat;
    unsigned long imagesubformat = 0;
    int chpr = 0;

    subformat = NULLSTRING;
    if(entry)
    {
        imagesubformat = entry->imagesubformat & ~IMGSUBFMT_ERRORMASK;
        switch(imagesubformat)
        {
        case IMGSUBFMT_CFA:
            subformat = "CFA";
            break;
        case IMGSUBFMT_RGB:
            subformat = "RGB";
            break;
        case IMGSUBFMT_YCBCR:
            subformat = "YCBCR";
            break;
        case IMGSUBFMT_PALETTE:
            subformat = "PALETTE";
            break;
        case IMGSUBFMT_LINEARRAW:
            subformat = "LinearRaw";
            break;
        case IMGSUBFMT_JPEGTABLES:
            subformat = "JPEGTables";
            break;
        case IMGSUBFMT_HUFF_COMPRESSED_RGB:
            subformat = "RGB";
            break;
        case IMGSUBFMT_JPEG_COMPRESSED_RGB:
            subformat = "RGB";
            break;
        case IMGSUBFMT_X3F_COMPRESSED:
            subformat = "RAW";
            break;
        case IMGSUBFMT_X3F_UNSPECIFIED:
            subformat = "Unspecified";
            break;
        default:
            break;
        }
    }
    if(*subformat)
        chpr += printf(" %s",subformat);
    setcharsprinted(chpr);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq $0x0, -0x18(%rbp)
movl $0x0, -0x1c(%rbp)
leaq 0x4b0e8(%rip), %rax     # 0x6a31a
movq %rax, -0x10(%rbp)
cmpq $0x0, -0x8(%rbp)
je 0x1f386
movq -0x8(%rbp), %rax
movq 0x88(%rax), %rax
andl $0xfffffff, %eax        # imm = 0xFFFFFFF
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x28(%rbp)
subq $0x15b, %rax            # imm = 0x15B
je 0x1f341
jmp 0x1f26b
movq -0x28(%rbp), %rax
subq $0x10002, %rax          # imm = 0x10002
je 0x1f30d
jmp 0x1f27d
movq -0x28(%rbp), %rax
subq $0x10003, %rax          # imm = 0x10003
je 0x1f327
jmp 0x1f28f
movq -0x28(%rbp), %rax
subq $0x10006, %rax          # imm = 0x10006
je 0x1f31a
jmp 0x1f29d
movq -0x28(%rbp), %rax
subq $0x18023, %rax          # imm = 0x18023
je 0x1f300
jmp 0x1f2ab
movq -0x28(%rbp), %rax
subq $0x1884c, %rax          # imm = 0x1884C
je 0x1f334
jmp 0x1f2b9
movq -0x28(%rbp), %rax
subq $0x20001, %rax          # imm = 0x20001
je 0x1f34e
jmp 0x1f2cb
movq -0x28(%rbp), %rax
subq $0x20002, %rax          # imm = 0x20002
je 0x1f35b
jmp 0x1f2dd
movq -0x28(%rbp), %rax
subq $0x20003, %rax          # imm = 0x20003
je 0x1f375
jmp 0x1f2ef
movq -0x28(%rbp), %rax
subq $0x20004, %rax          # imm = 0x20004
je 0x1f368
jmp 0x1f382
leaq 0x491a6(%rip), %rax     # 0x684ad
movq %rax, -0x10(%rbp)
jmp 0x1f384
leaq 0x4e436(%rip), %rax     # 0x6d74a
movq %rax, -0x10(%rbp)
jmp 0x1f384
leaq 0x49190(%rip), %rax     # 0x684b1
movq %rax, -0x10(%rbp)
jmp 0x1f384
leaq 0x49189(%rip), %rax     # 0x684b7
movq %rax, -0x10(%rbp)
jmp 0x1f384
leaq 0x49184(%rip), %rax     # 0x684bf
movq %rax, -0x10(%rbp)
jmp 0x1f384
leaq 0x45f87(%rip), %rax     # 0x652cf
movq %rax, -0x10(%rbp)
jmp 0x1f384
leaq 0x4e3f5(%rip), %rax     # 0x6d74a
movq %rax, -0x10(%rbp)
jmp 0x1f384
leaq 0x4e3e8(%rip), %rax     # 0x6d74a
movq %rax, -0x10(%rbp)
jmp 0x1f384
leaq 0x4915a(%rip), %rax     # 0x684c9
movq %rax, -0x10(%rbp)
jmp 0x1f384
leaq 0x49151(%rip), %rax     # 0x684cd
movq %rax, -0x10(%rbp)
jmp 0x1f384
jmp 0x1f384
jmp 0x1f386
movq -0x10(%rbp), %rax
cmpb $0x0, (%rax)
je 0x1f3a7
movq -0x10(%rbp), %rsi
leaq 0x44cfc(%rip), %rdi     # 0x64096
movb $0x0, %al
callq 0x3110
addl -0x1c(%rbp), %eax
movl %eax, -0x1c(%rbp)
movl -0x1c(%rbp), %edi
callq 0x1ff00
addq $0x30, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)