// File: /workspace/github_c_makefile_star2_O0/hfiguiere[P]exifprobe/interpret.c
// Function: interpret_offset_value
void
interpret_offset_value(FILE *inptr,struct ifd_entry *entry_ptr,unsigned short byteorder,
                                                           unsigned long fileoffset_base)
{
    unsigned long offset;
    int chpr = 0;

    switch(entry_ptr->tag)
    {
        case TIFFEPTAG_CFAPattern:
            print_offset_epcfapattern(inptr,entry_ptr,fileoffset_base);
            break;
        case EXIFTAG_ExposureTime:
            setcharsprinted(printf(" sec"));
            break;
        case EXIFTAG_ShutterSpeedValue:
            chpr += printf(" APEX"); 
            offset = entry_ptr->value + fileoffset_base;
            print_shutterspeed(inptr,byteorder,offset);
            break;
        case EXIFTAG_ApertureValue:
        case EXIFTAG_MaxApertureValue:
        case EXIFTAG_FNumber:
            chpr += printf(" APEX");
            offset = entry_ptr->value + fileoffset_base;
            print_aperture(inptr,byteorder,offset);
            break;
        case EXIFTAG_BrightnessValue:
            chpr += printf(" APEX");
            offset = entry_ptr->value + fileoffset_base;
            print_brightness(inptr,byteorder,offset);
            break;
        case EXIFTAG_FocalLength:
            chpr += printf(" mm");
            break;
        case EXIFTAG_SubjectDistance:
            chpr += printf(" meters");
            break;
        case EXIFTAG_ExposureBiasValue:
            chpr += printf(" APEX");
            break;
    }
    setcharsprinted(chpr);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movw %dx, %ax
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movw %ax, -0x12(%rbp)
movq %rcx, -0x20(%rbp)
movl $0x0, -0x2c(%rbp)
movq -0x10(%rbp), %rax
movzwl (%rax), %eax
movl %eax, -0x30(%rbp)
subl $0x828e, %eax           # imm = 0x828E
je 0x229cc
jmp 0x22939
movl -0x30(%rbp), %eax
subl $0x829a, %eax           # imm = 0x829A
je 0x229e2
jmp 0x22949
movl -0x30(%rbp), %eax
subl $0x829d, %eax           # imm = 0x829D
je 0x22a39
jmp 0x22959
movl -0x30(%rbp), %eax
subl $0x9201, %eax           # imm = 0x9201
je 0x229fc
jmp 0x22969
movl -0x30(%rbp), %eax
subl $0x9202, %eax           # imm = 0x9202
je 0x22a39
jmp 0x22979
movl -0x30(%rbp), %eax
subl $0x9203, %eax           # imm = 0x9203
je 0x22a73
jmp 0x22989
movl -0x30(%rbp), %eax
subl $0x9204, %eax           # imm = 0x9204
je 0x22ad9
jmp 0x22999
movl -0x30(%rbp), %eax
subl $0x9205, %eax           # imm = 0x9205
je 0x22a39
jmp 0x229a9
movl -0x30(%rbp), %eax
subl $0x9206, %eax           # imm = 0x9206
je 0x22ac3
jmp 0x229b9
movl -0x30(%rbp), %eax
subl $0x920a, %eax           # imm = 0x920A
je 0x22aad
jmp 0x22aed
movq -0x8(%rbp), %rdi
movq -0x10(%rbp), %rsi
movq -0x20(%rbp), %rdx
callq 0x22b00
jmp 0x22aed
leaq 0x46264(%rip), %rdi     # 0x68c4d
movb $0x0, %al
callq 0x3110
movl %eax, %edi
callq 0x1ff00
jmp 0x22aed
leaq 0x4a2cc(%rip), %rdi     # 0x6cccf
movb $0x0, %al
callq 0x3110
addl -0x2c(%rbp), %eax
movl %eax, -0x2c(%rbp)
movq -0x10(%rbp), %rax
movq 0x10(%rax), %rax
addq -0x20(%rbp), %rax
movq %rax, -0x28(%rbp)
movq -0x8(%rbp), %rdi
movw -0x12(%rbp), %ax
movq -0x28(%rbp), %rdx
movzwl %ax, %esi
callq 0x22bc0
jmp 0x22aed
leaq 0x4a28f(%rip), %rdi     # 0x6cccf
movb $0x0, %al
callq 0x3110
addl -0x2c(%rbp), %eax
movl %eax, -0x2c(%rbp)
movq -0x10(%rbp), %rax
movq 0x10(%rax), %rax
addq -0x20(%rbp), %rax
movq %rax, -0x28(%rbp)
movq -0x8(%rbp), %rdi
movw -0x12(%rbp), %ax
movq -0x28(%rbp), %rdx
movzwl %ax, %esi
callq 0x22c90
jmp 0x22aed
leaq 0x4a255(%rip), %rdi     # 0x6cccf
movb $0x0, %al
callq 0x3110
addl -0x2c(%rbp), %eax
movl %eax, -0x2c(%rbp)
movq -0x10(%rbp), %rax
movq 0x10(%rax), %rax
addq -0x20(%rbp), %rax
movq %rax, -0x28(%rbp)
movq -0x8(%rbp), %rdi
movw -0x12(%rbp), %ax
movq -0x28(%rbp), %rdx
movzwl %ax, %esi
callq 0x22d80
jmp 0x22aed
leaq 0x4e3cd(%rip), %rdi     # 0x70e81
movb $0x0, %al
callq 0x3110
addl -0x2c(%rbp), %eax
movl %eax, -0x2c(%rbp)
jmp 0x22aed
leaq 0x45c3e(%rip), %rdi     # 0x68708
movb $0x0, %al
callq 0x3110
addl -0x2c(%rbp), %eax
movl %eax, -0x2c(%rbp)
jmp 0x22aed
leaq 0x4a1ef(%rip), %rdi     # 0x6cccf
movb $0x0, %al
callq 0x3110
addl -0x2c(%rbp), %eax
movl %eax, -0x2c(%rbp)
movl -0x2c(%rbp), %edi
callq 0x1ff00
addq $0x30, %rsp
popq %rbp
retq
nopl (%rax,%rax)