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

    if(entry_ptr && (PRINT_VALUE))
    {
        switch(entry_ptr->tag)
        {
            case 0x0101:    /* ColorMode                                  */
                print_startvalue();
                switch(entry_ptr->value)
                {
                    case 0: chpr += printf("Natural"); break;
                    case 1: chpr += printf("Black/White*"); break;
                    case 2: chpr += printf("Vivid"); break;
                    case 3: chpr += printf("Solarize"); break;
                    case 4: chpr += printf("Adobe RGB"); break;
                    case 9: chpr += printf("unknown"); break;
                    case 132: chpr += printf("Adobe RGB Embedded Profile"); break;
                    default: printred("undefined"); break;
                }
                print_endvalue();
                break;
            case 0x0102:    /* CameraSettings ImageQuality, 7, 7Hi, F300  */
minolta_7Hi_botch:
                print_startvalue();
                switch(entry_ptr->value)
                {
                    /* ###%%% jpeg quality/compression? check this        */
                    case 0: chpr += printf("Raw"); break;
                    case 1: chpr += printf("Uncompressed"); break; /* superfine, raw? tiff? */
                    case 2: chpr += printf("Fine(1/2)"); break;
                    case 3: chpr += printf("Normal(1/3)"); break;   /* ###%%% */
                    case 4: chpr += printf("Economy(1/4)"); break;  /* ###%%% */
                    case 5: chpr += printf("ExtraFine(1/1)"); break;
                    default: printred("undefined"); break;
                }
                print_endvalue();
                break;
            case 0x0103:    /* CameraSettings ImageSize*, 7Hi, F300       */
                /* The 7Hi appears to get this wrong, printing the same   */
                /* value for this as for 0x0102; the F300 seems to do it  */
                /* right. The ImageSize entry in "Camera Settings"        */
                /* appears correct in both cases. For the 7Hi, it would   */
                /* be wrong to report this as image size, so just don't   */
                /* do it.                                                 */
                if(model == MINOLTA_DIMAGE7Hi)
                    goto minolta_7Hi_botch;

                print_startvalue();
                switch(entry_ptr->value)
                {
                    case 1: chpr += printf("1600x1200"); break;
                    case 2: chpr += printf("unknown"); break;   /* 1280x960? */
                    case 3: chpr += printf("640x480"); break;
                    case 4: chpr += printf("unknown"); break;
                    case 5: chpr += printf("2560x1920"); break;
                    case 6: chpr += printf("2272x1704"); break; 
                    case 7: chpr += printf("2048x1536"); break;
                    case 13: chpr += printf("3264x2448"); break;
                    default: printred("undefined"); break;
                }
                print_endvalue();
                break;
            case 0x0201:    /* Quality, X, F100                           */
                print_startvalue();
                    /* ###%%% jpeg quality/compression? check this, same as 0x0102?       */
                switch(entry_ptr->value)
                {
                    case 0: chpr += printf("Raw*"); break;
                    case 1: chpr += printf("Economy(1/8)"); break;
                    case 2: chpr += printf("Normal(1/4)"); break; 
                    case 3: chpr += printf("Fine(1/2)"); break;
                    case 4: chpr += printf("Uncompressed"); 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;
        }
    }
    setcharsprinted(chpr);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movl $0x0, -0x10(%rbp)
cmpq $0x0, -0x8(%rbp)
je 0x4a097
leaq 0x2d598(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x30, %rax
cmpq $0x0, %rax
je 0x4a097
movq -0x8(%rbp), %rax
movzwl (%rax), %eax
movl %eax, -0x14(%rbp)
subl $0x101, %eax            # imm = 0x101
je 0x49c4f
jmp 0x49c0c
movl -0x14(%rbp), %eax
subl $0x102, %eax            # imm = 0x102
je 0x49d77
jmp 0x49c1c
movl -0x14(%rbp), %eax
subl $0x103, %eax            # imm = 0x103
je 0x49e46
jmp 0x49c2c
movl -0x14(%rbp), %eax
subl $0x201, %eax            # imm = 0x201
je 0x49f53
jmp 0x49c3c
movl -0x14(%rbp), %eax
subl $0x202, %eax            # imm = 0x202
je 0x4a00a
jmp 0x4a093
xorl %eax, %eax
callq 0xb9a0
movq -0x8(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x20(%rbp)
testq %rax, %rax
je 0x49cc2
jmp 0x49c69
movq -0x20(%rbp), %rax
subq $0x1, %rax
je 0x49cdb
jmp 0x49c75
movq -0x20(%rbp), %rax
subq $0x2, %rax
je 0x49cf1
jmp 0x49c81
movq -0x20(%rbp), %rax
subq $0x3, %rax
je 0x49d07
jmp 0x49c8d
movq -0x20(%rbp), %rax
subq $0x4, %rax
je 0x49d1d
jmp 0x49c9d
movq -0x20(%rbp), %rax
subq $0x9, %rax
je 0x49d33
jmp 0x49cad
movq -0x20(%rbp), %rax
subq $0x84, %rax
je 0x49d49
jmp 0x49d5f
leaq 0x245a8(%rip), %rdi     # 0x6e271
movb $0x0, %al
callq 0x3110
addl -0x10(%rbp), %eax
movl %eax, -0x10(%rbp)
jmp 0x49d6b
leaq 0x24597(%rip), %rdi     # 0x6e279
movb $0x0, %al
callq 0x3110
addl -0x10(%rbp), %eax
movl %eax, -0x10(%rbp)
jmp 0x49d6b
leaq 0x2458e(%rip), %rdi     # 0x6e286
movb $0x0, %al
callq 0x3110
addl -0x10(%rbp), %eax
movl %eax, -0x10(%rbp)
jmp 0x49d6b
leaq 0x2457e(%rip), %rdi     # 0x6e28c
movb $0x0, %al
callq 0x3110
addl -0x10(%rbp), %eax
movl %eax, -0x10(%rbp)
jmp 0x49d6b
leaq 0x23a20(%rip), %rdi     # 0x6d744
movb $0x0, %al
callq 0x3110
addl -0x10(%rbp), %eax
movl %eax, -0x10(%rbp)
jmp 0x49d6b
leaq 0x1e2a4(%rip), %rdi     # 0x67fde
movb $0x0, %al
callq 0x3110
addl -0x10(%rbp), %eax
movl %eax, -0x10(%rbp)
jmp 0x49d6b
leaq 0x24545(%rip), %rdi     # 0x6e295
movb $0x0, %al
callq 0x3110
addl -0x10(%rbp), %eax
movl %eax, -0x10(%rbp)
jmp 0x49d6b
leaq 0x218a5(%rip), %rdi     # 0x6b60b
callq 0x6860
movb $0x0, %al
callq 0xb9d0
jmp 0x4a095
jmp 0x49d79
xorl %eax, %eax
callq 0xb9a0
movq -0x8(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x28(%rbp)
subq $0x5, %rax
ja 0x49e2e
movq -0x28(%rbp), %rax
leaq 0x24077(%rip), %rcx     # 0x6de18
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x1b267(%rip), %rdi     # 0x65018
movb $0x0, %al
callq 0x3110
addl -0x10(%rbp), %eax
movl %eax, -0x10(%rbp)
jmp 0x49e3a
leaq 0x244e9(%rip), %rdi     # 0x6e2b0
movb $0x0, %al
callq 0x3110
addl -0x10(%rbp), %eax
movl %eax, -0x10(%rbp)
jmp 0x49e3a
leaq 0x244e0(%rip), %rdi     # 0x6e2bd
movb $0x0, %al
callq 0x3110
addl -0x10(%rbp), %eax
movl %eax, -0x10(%rbp)
jmp 0x49e3a
leaq 0x244d4(%rip), %rdi     # 0x6e2c7
movb $0x0, %al
callq 0x3110
addl -0x10(%rbp), %eax
movl %eax, -0x10(%rbp)
jmp 0x49e3a
leaq 0x244ca(%rip), %rdi     # 0x6e2d3
movb $0x0, %al
callq 0x3110
addl -0x10(%rbp), %eax
movl %eax, -0x10(%rbp)
jmp 0x49e3a
leaq 0x244c1(%rip), %rdi     # 0x6e2e0
movb $0x0, %al
callq 0x3110
addl -0x10(%rbp), %eax
movl %eax, -0x10(%rbp)
jmp 0x49e3a
leaq 0x217d6(%rip), %rdi     # 0x6b60b
callq 0x6860
movb $0x0, %al
callq 0xb9d0
jmp 0x4a095
cmpl $0x3, -0xc(%rbp)
jne 0x49e51
jmp 0x49d79
xorl %eax, %eax
callq 0xb9a0
movq -0x8(%rbp), %rax
movq 0x10(%rax), %rax
decq %rax
movq %rax, -0x30(%rbp)
subq $0xc, %rax
ja 0x49f3b
movq -0x30(%rbp), %rax
leaq 0x23f68(%rip), %rcx     # 0x6dde4
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x22d06(%rip), %rdi     # 0x6cb92
movb $0x0, %al
callq 0x3110
addl -0x10(%rbp), %eax
movl %eax, -0x10(%rbp)
jmp 0x49f47
leaq 0x1e139(%rip), %rdi     # 0x67fde
movb $0x0, %al
callq 0x3110
addl -0x10(%rbp), %eax
movl %eax, -0x10(%rbp)
jmp 0x49f47
leaq 0x23ea7(%rip), %rdi     # 0x6dd65
movb $0x0, %al
callq 0x3110
addl -0x10(%rbp), %eax
movl %eax, -0x10(%rbp)
jmp 0x49f47
leaq 0x1e10a(%rip), %rdi     # 0x67fde
movb $0x0, %al
callq 0x3110
addl -0x10(%rbp), %eax
movl %eax, -0x10(%rbp)
jmp 0x49f47
leaq 0x24405(%rip), %rdi     # 0x6e2ef
movb $0x0, %al
callq 0x3110
addl -0x10(%rbp), %eax
movl %eax, -0x10(%rbp)
jmp 0x49f47
leaq 0x243f9(%rip), %rdi     # 0x6e2f9
movb $0x0, %al
callq 0x3110
addl -0x10(%rbp), %eax
movl %eax, -0x10(%rbp)
jmp 0x49f47
leaq 0x23e57(%rip), %rdi     # 0x6dd6d
movb $0x0, %al
callq 0x3110
addl -0x10(%rbp), %eax
movl %eax, -0x10(%rbp)
jmp 0x49f47
leaq 0x243d7(%rip), %rdi     # 0x6e303
movb $0x0, %al
callq 0x3110
addl -0x10(%rbp), %eax
movl %eax, -0x10(%rbp)
jmp 0x49f47
leaq 0x216c9(%rip), %rdi     # 0x6b60b
callq 0x6860
movb $0x0, %al
callq 0xb9d0
jmp 0x4a095
xorl %eax, %eax
callq 0xb9a0
movq -0x8(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x38(%rbp)
subq $0x4, %rax
ja 0x49ff2
movq -0x38(%rbp), %rax
leaq 0x23e55(%rip), %rcx     # 0x6ddd0
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x24382(%rip), %rdi     # 0x6e30d
movb $0x0, %al
callq 0x3110
addl -0x10(%rbp), %eax
movl %eax, -0x10(%rbp)
jmp 0x49ffe
leaq 0x24371(%rip), %rdi     # 0x6e312
movb $0x0, %al
callq 0x3110
addl -0x10(%rbp), %eax
movl %eax, -0x10(%rbp)
jmp 0x49ffe
leaq 0x24368(%rip), %rdi     # 0x6e31f
movb $0x0, %al
callq 0x3110
addl -0x10(%rbp), %eax
movl %eax, -0x10(%rbp)
jmp 0x49ffe
leaq 0x242f0(%rip), %rdi     # 0x6e2bd
movb $0x0, %al
callq 0x3110
addl -0x10(%rbp), %eax
movl %eax, -0x10(%rbp)
jmp 0x49ffe
leaq 0x242cd(%rip), %rdi     # 0x6e2b0
movb $0x0, %al
callq 0x3110
addl -0x10(%rbp), %eax
movl %eax, -0x10(%rbp)
jmp 0x49ffe
leaq 0x21612(%rip), %rdi     # 0x6b60b
callq 0x6860
movb $0x0, %al
callq 0xb9d0
jmp 0x4a095
xorl %eax, %eax
callq 0xb9a0
movq -0x8(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x40(%rbp)
testq %rax, %rax
je 0x4a03c
jmp 0x4a024
movq -0x40(%rbp), %rax
subq $0x1, %rax
je 0x4a052
jmp 0x4a030
movq -0x40(%rbp), %rax
subq $0x2, %rax
je 0x4a068
jmp 0x4a07e
leaq 0x239a6(%rip), %rdi     # 0x6d9e9
movb $0x0, %al
callq 0x3110
addl -0x10(%rbp), %eax
movl %eax, -0x10(%rbp)
jmp 0x4a08a
leaq 0x1ebce(%rip), %rdi     # 0x68c27
movb $0x0, %al
callq 0x3110
addl -0x10(%rbp), %eax
movl %eax, -0x10(%rbp)
jmp 0x4a08a
leaq 0x231af(%rip), %rdi     # 0x6d21e
movb $0x0, %al
callq 0x3110
addl -0x10(%rbp), %eax
movl %eax, -0x10(%rbp)
jmp 0x4a08a
leaq 0x21586(%rip), %rdi     # 0x6b60b
callq 0x6860
movb $0x0, %al
callq 0xb9d0
jmp 0x4a095
jmp 0x4a095
jmp 0x4a097
movl -0x10(%rbp), %edi
callq 0x1ff00
addq $0x40, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)