// File: /workspace/github_c_makefile_star2_O0/hfiguiere[P]exifprobe/maker_agfa.c
// Function: agfa1_interpret_value
void
agfa1_interpret_value(struct ifd_entry *entry_ptr)
{
    int chpr = 0;

    if(entry_ptr && (PRINT_VALUE))
    {
        switch(entry_ptr->tag)
        {
            case 0x0201:    /* Compression Mode */
                print_startvalue();
                switch(entry_ptr->value)
                {
                    case 1: chpr += printf("SQ"); break;
                    case 2: chpr += printf("HQ"); break;
                    case 3: chpr += printf("SHQ"); break;
                    case 33: chpr += printf("not compressed"); break; /* TIFF  */
                    case 34:    /* not sure about this one ###%%%         */
                                chpr += printf("not compressed");
                                break;
                    default: printred("undefined"); break;
                }
                print_endvalue();
                break;
            case 0x0202:    /* Macro */
                print_startvalue();
                switch(entry_ptr->value)
                {
                    case 0: chpr += printf("Normal"); break;
                    case 1: chpr += printf("Macro"); break;
                    case 2: chpr += printf("View"); break;
                    default: printred("undefined"); break;
                }
                print_endvalue();
                break;
            default:
                break;
        }
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movl $0x0, -0xc(%rbp)
cmpq $0x0, -0x8(%rbp)
je 0x5cd23
leaq 0x1a5db(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x30, %rax
cmpq $0x0, %rax
je 0x5cd23
movq -0x8(%rbp), %rax
movzwl (%rax), %eax
movl %eax, -0x10(%rbp)
subl $0x201, %eax            # imm = 0x201
je 0x5cbdc
jmp 0x5cbc9
movl -0x10(%rbp), %eax
subl $0x202, %eax            # imm = 0x202
je 0x5cc96
jmp 0x5cd1f
xorl %eax, %eax
callq 0xb9a0
movq -0x8(%rbp), %rax
movq 0x10(%rax), %rax
decq %rax
movq %rax, -0x18(%rbp)
subq $0x21, %rax
ja 0x5cc7e
movq -0x18(%rbp), %rax
leaq 0x13c81(%rip), %rcx     # 0x70888
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x10239(%rip), %rdi     # 0x6ce50
movb $0x0, %al
callq 0x3110
addl -0xc(%rbp), %eax
movl %eax, -0xc(%rbp)
jmp 0x5cc8a
leaq 0x10227(%rip), %rdi     # 0x6ce54
movb $0x0, %al
callq 0x3110
addl -0xc(%rbp), %eax
movl %eax, -0xc(%rbp)
jmp 0x5cc8a
leaq 0x10210(%rip), %rdi     # 0x6ce53
movb $0x0, %al
callq 0x3110
addl -0xc(%rbp), %eax
movl %eax, -0xc(%rbp)
jmp 0x5cc8a
leaq 0x101fe(%rip), %rdi     # 0x6ce57
movb $0x0, %al
callq 0x3110
addl -0xc(%rbp), %eax
movl %eax, -0xc(%rbp)
jmp 0x5cc8a
leaq 0x101e8(%rip), %rdi     # 0x6ce57
movb $0x0, %al
callq 0x3110
addl -0xc(%rbp), %eax
movl %eax, -0xc(%rbp)
jmp 0x5cc8a
leaq 0xe986(%rip), %rdi      # 0x6b60b
callq 0x6860
movb $0x0, %al
callq 0xb9d0
jmp 0x5cd21
xorl %eax, %eax
callq 0xb9a0
movq -0x8(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x20(%rbp)
testq %rax, %rax
je 0x5ccc8
jmp 0x5ccb0
movq -0x20(%rbp), %rax
subq $0x1, %rax
je 0x5ccde
jmp 0x5ccbc
movq -0x20(%rbp), %rax
subq $0x2, %rax
je 0x5ccf4
jmp 0x5cd0a
leaq 0x10d1a(%rip), %rdi     # 0x6d9e9
movb $0x0, %al
callq 0x3110
addl -0xc(%rbp), %eax
movl %eax, -0xc(%rbp)
jmp 0x5cd16
leaq 0xbf42(%rip), %rdi      # 0x68c27
movb $0x0, %al
callq 0x3110
addl -0xc(%rbp), %eax
movl %eax, -0xc(%rbp)
jmp 0x5cd16
leaq 0x10523(%rip), %rdi     # 0x6d21e
movb $0x0, %al
callq 0x3110
addl -0xc(%rbp), %eax
movl %eax, -0xc(%rbp)
jmp 0x5cd16
leaq 0xe8fa(%rip), %rdi      # 0x6b60b
callq 0x6860
movb $0x0, %al
callq 0xb9d0
jmp 0x5cd21
jmp 0x5cd21
jmp 0x5cd23
addq $0x20, %rsp
popq %rbp
retq
nopl (%rax)