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

    compression = NULLSTRING;
    if(entry)
    {
        switch(entry->compression)
        {
            case JPEG_SOF_0: compression="baseline DCT compressed"; break;
            case JPEG_SOF_1: compression="extended seq DCT Huffman"; break;
            case JPEG_SOF_2: compression="progressive DCT Huffman"; break;
            case JPEG_SOF_3: compression="lossless seq Huffman"; break;
            case JPEG_SOF_5: compression="differential seq DCT Huffman"; break;
            case JPEG_SOF_6: compression="differential progressive DCT Huffman"; break;
            case JPEG_SOF_7: compression="differential lossless Huffman"; break;
            case JPEG_SOF_9: compression="extended seq DCT arithmetic"; break;
            case JPEG_SOF_10: compression="progressive seq arithmetic"; break;
            case JPEG_SOF_11: compression="lossless seq arithmetic"; break;
            case JPEG_SOF_13: compression="differential seq DCT arithmetic"; break;
            case JPEG_SOF_14: compression="differential progressive DCT arithmetic"; break;
            case JPEG_SOF_15: compression="differential lossless arithmetic"; break;
            default: compression = "(UNKNOWN JPEG compression)"; break;
        }
    }
    chpr += printf(" %s",compression);
    setcharsprinted(chpr);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movl $0x0, -0x14(%rbp)
leaq 0x49ff0(%rip), %rax     # 0x6a31a
movq %rax, -0x10(%rbp)
cmpq $0x0, -0x8(%rbp)
je 0x2042d
movq -0x8(%rbp), %rax
movl 0xc8(%rax), %eax
addl $0xffff0040, %eax       # imm = 0xFFFF0040
movl %eax, %ecx
movq %rcx, -0x20(%rbp)
subl $0xf, %eax
ja 0x20420
movq -0x20(%rbp), %rax
leaq 0x478d2(%rip), %rcx     # 0x67c34
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x47f16(%rip), %rax     # 0x68288
movq %rax, -0x10(%rbp)
jmp 0x2042b
leaq 0x47f1e(%rip), %rax     # 0x682a0
movq %rax, -0x10(%rbp)
jmp 0x2042b
leaq 0x47f66(%rip), %rax     # 0x682f8
movq %rax, -0x10(%rbp)
jmp 0x2042b
leaq 0x47f17(%rip), %rax     # 0x682b9
movq %rax, -0x10(%rbp)
jmp 0x2042b
leaq 0x47f1c(%rip), %rax     # 0x682ce
movq %rax, -0x10(%rbp)
jmp 0x2042b
leaq 0x47f2c(%rip), %rax     # 0x682eb
movq %rax, -0x10(%rbp)
jmp 0x2042b
leaq 0x47f44(%rip), %rax     # 0x68310
movq %rax, -0x10(%rbp)
jmp 0x2042b
leaq 0x47f55(%rip), %rax     # 0x6832e
movq %rax, -0x10(%rbp)
jmp 0x2042b
leaq 0x47f64(%rip), %rax     # 0x6834a
movq %rax, -0x10(%rbp)
jmp 0x2042b
leaq 0x47f72(%rip), %rax     # 0x68365
movq %rax, -0x10(%rbp)
jmp 0x2042b
leaq 0x47f7d(%rip), %rax     # 0x6837d
movq %rax, -0x10(%rbp)
jmp 0x2042b
leaq 0x47f90(%rip), %rax     # 0x6839d
movq %rax, -0x10(%rbp)
jmp 0x2042b
leaq 0x47fab(%rip), %rax     # 0x683c5
movq %rax, -0x10(%rbp)
jmp 0x2042b
leaq 0x47fbf(%rip), %rax     # 0x683e6
movq %rax, -0x10(%rbp)
jmp 0x2042d
movq -0x10(%rbp), %rsi
leaq 0x43c5e(%rip), %rdi     # 0x64096
movb $0x0, %al
callq 0x3110
addl -0x14(%rbp), %eax
movl %eax, -0x14(%rbp)
movl -0x14(%rbp), %edi
callq 0x1ff00
addq $0x20, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)