// File: /workspace/github_c_makefile_star2_O0/hfiguiere[P]exifprobe/print.c
// Function: print_private_offset_value
void
print_private_offset_value(FILE *inptr,unsigned short byteorder,
    struct ifd_entry *entry_ptr,unsigned long fileoffset_base,
    unsigned short subifd_ident,char *parent_name, char *prefix,
    int indent,int make,int model,int at_offset)
{
    unsigned long value_offset;
    unsigned long dumplength;
    int chpr = 0;

    if((value_type_size(entry_ptr->value_type) * entry_ptr->count) > 4)
    {
        value_offset = fileoffset_base + entry_ptr->value;
        if(PRINT_VALUE)
        {
            if(at_offset)
            {
                print_tag_address(ENTRY,value_offset,indent,prefix);
                print_private_tagid(entry_ptr,subifd_ident,make,SUBINDENT);
            }
            else
            {
                if((PRINT_OFFSET) && (entry_ptr->value_type != UNDEFINED))
                    chpr += printf(" = ");
            }
            switch(entry_ptr->value_type)
            {
                case UNDEFINED: 
                    /* Could make a pseudo-tag for 'count' in LIST    */
                    /* mode...                                        */
                    if((PRINT_SECTION))
                        chpr += printf("length %-9lu # UNDEFINED",entry_ptr->count);
                    else
                    {
                        if(!(PRINT_OFFSET))
                            chpr += printf("@%lu",value_offset);
                        chpr += printf(":%lu     # UNDEFINED",entry_ptr->count);
                    }
                    if(Max_undefined == 0)
                    {
                        if((PRINT_SECTION))
                            printred(" (not dumped, use -U)");
                    }
                    else
                    {
                        /* Even in LIST mode                          */
                        if((Max_undefined == DUMPALL)
                            || (Max_undefined > entry_ptr->count))
                                dumplength = entry_ptr->count;
                        else 
                            dumplength = Max_undefined;
                        chpr = newline(1);
                        hexdump(inptr,entry_ptr->value + fileoffset_base,
                                    entry_ptr->count,dumplength,12,
                                    indent,SUBINDENT);
                    }
                    /* make certain we're at the end                  */
                    fseek(inptr,(long)(entry_ptr->value + fileoffset_base + entry_ptr->count),SEEK_SET);
                    break;
                case ASCII:
                    print_ascii(inptr,entry_ptr->count,value_offset); 
                    break;
                case BYTE:
                    print_ubytes(inptr,entry_ptr->count,value_offset);
                    break;
                case SBYTE:
                    print_sbytes(inptr,entry_ptr->count,value_offset);
                    break;
                case SHORT:
                    print_ushort(inptr,entry_ptr->count,byteorder,value_offset);
                    break;
                case SSHORT:
                    print_sshort(inptr,entry_ptr->count,byteorder,value_offset);
                    break;
                case LONG:
                    print_ulong(inptr,entry_ptr->count,byteorder,value_offset);
                    break;
                case SLONG:
                    print_slong(inptr,entry_ptr->count,byteorder,value_offset);
                    break;
                case RATIONAL:
                    print_urational(inptr,entry_ptr->count,byteorder,value_offset);
                    break;
                case SRATIONAL:
                    print_srational(inptr,entry_ptr->count,byteorder,value_offset);
                    break;
                case FLOAT:
                    print_float(inptr,entry_ptr->count,byteorder,value_offset);
                    break;
                case DOUBLE:
                    print_double(inptr,entry_ptr->count,byteorder,value_offset);
                    break;
                default:
                    chpr = printf(" INVALID TYPE %#x",entry_ptr->value_type);
                    break;
            }
        }
    }
    if(ferror(inptr) || feof(inptr))
        clearerr(inptr);
    setcharsprinted(chpr);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movw %r8w, %ax
movl 0x30(%rbp), %r8d
movl 0x28(%rbp), %r8d
movl 0x20(%rbp), %r8d
movl 0x18(%rbp), %r8d
movq 0x10(%rbp), %r8
movq %rdi, -0x8(%rbp)
movw %si, -0xa(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movw %ax, -0x22(%rbp)
movq %r9, -0x30(%rbp)
movl $0x0, -0x44(%rbp)
movq -0x18(%rbp), %rax
movzwl 0x2(%rax), %edi
callq 0x1dbf0
cltq
movq -0x18(%rbp), %rcx
imulq 0x8(%rcx), %rax
cmpq $0x4, %rax
jbe 0xd541
movq -0x20(%rbp), %rax
movq -0x18(%rbp), %rcx
addq 0x10(%rcx), %rax
movq %rax, -0x38(%rbp)
leaq 0x69fa8(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x30, %rax
cmpq $0x0, %rax
je 0xd53f
cmpl $0x0, 0x30(%rbp)
je 0xd21e
movq -0x38(%rbp), %rsi
movl 0x18(%rbp), %edx
movq 0x10(%rbp), %rcx
movl $0x4003333, %edi        # imm = 0x4003333
callq 0x5ed0
movq -0x18(%rbp), %rdi
movw -0x22(%rbp), %ax
movl 0x20(%rbp), %edx
movl $0x2, %ecx
movzwl %ax, %esi
callq 0xd000
jmp 0xd257
leaq 0x69f5b(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x300, %rax            # imm = 0x300
cmpq $0x0, %rax
je 0xd255
movq -0x18(%rbp), %rax
movzwl 0x2(%rax), %eax
cmpl $0x7, %eax
je 0xd255
leaq 0x5fad0(%rip), %rdi     # 0x6cd18
movb $0x0, %al
callq 0x3110
addl -0x44(%rbp), %eax
movl %eax, -0x44(%rbp)
jmp 0xd257
movq -0x18(%rbp), %rax
movzwl 0x2(%rax), %eax
decl %eax
movl %eax, %ecx
movq %rcx, -0x50(%rbp)
subl $0xb, %eax
ja 0xd524
movq -0x50(%rbp), %rax
leaq 0x571ed(%rip), %rcx     # 0x64468
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x69ef5(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x40000, %rax          # imm = 0x40000
cmpq $0x0, %rax
je 0xd2b8
movq -0x18(%rbp), %rax
movq 0x8(%rax), %rsi
leaq 0x57a07(%rip), %rdi     # 0x64cb0
movb $0x0, %al
callq 0x3110
addl -0x44(%rbp), %eax
movl %eax, -0x44(%rbp)
jmp 0xd302
leaq 0x69ec1(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x300, %rax            # imm = 0x300
cmpq $0x0, %rax
jne 0xd2e6
movq -0x38(%rbp), %rsi
leaq 0x5dab2(%rip), %rdi     # 0x6ad8b
movb $0x0, %al
callq 0x3110
addl -0x44(%rbp), %eax
movl %eax, -0x44(%rbp)
movq -0x18(%rbp), %rax
movq 0x8(%rax), %rsi
leaq 0x579d4(%rip), %rdi     # 0x64cc9
movb $0x0, %al
callq 0x3110
addl -0x44(%rbp), %eax
movl %eax, -0x44(%rbp)
leaq 0x6b0ff(%rip), %rax     # 0x78408
cmpq $0x0, (%rax)
jne 0xd336
leaq 0x69e6a(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x40000, %rax          # imm = 0x40000
cmpq $0x0, %rax
je 0xd331
leaq 0x57353(%rip), %rdi     # 0x6467f
callq 0x6860
jmp 0xd3b6
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
leaq 0x6b0c6(%rip), %rax     # 0x78408
cmpq %rcx, (%rax)
je 0xd35b
leaq 0x6b0ba(%rip), %rax     # 0x78408
movq (%rax), %rax
movq -0x18(%rbp), %rcx
cmpq 0x8(%rcx), %rax
jbe 0xd369
movq -0x18(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, -0x40(%rbp)
jmp 0xd377
leaq 0x6b098(%rip), %rax     # 0x78408
movq (%rax), %rax
movq %rax, -0x40(%rbp)
movl $0x1, %edi
callq 0x1ef50
movl %eax, -0x44(%rbp)
movq -0x8(%rbp), %rdi
movq -0x18(%rbp), %rax
movq 0x10(%rax), %rsi
addq -0x20(%rbp), %rsi
movq -0x18(%rbp), %rax
movq 0x8(%rax), %rdx
movq -0x40(%rbp), %rcx
movl 0x18(%rbp), %r9d
movl $0xc, %r8d
movl $0x2, (%rsp)
callq 0x8aa0
movq -0x8(%rbp), %rdi
movq -0x18(%rbp), %rax
movq 0x10(%rax), %rsi
addq -0x20(%rbp), %rsi
movq -0x18(%rbp), %rax
addq 0x8(%rax), %rsi
xorl %edx, %edx
callq 0x3200
jmp 0xd53d
movq -0x8(%rbp), %rdi
movq -0x18(%rbp), %rax
movq 0x8(%rax), %rsi
movq -0x38(%rbp), %rdx
callq 0x8e70
jmp 0xd53d
movq -0x8(%rbp), %rdi
movq -0x18(%rbp), %rax
movq 0x8(%rax), %rsi
movq -0x38(%rbp), %rdx
callq 0x9110
jmp 0xd53d
movq -0x8(%rbp), %rdi
movq -0x18(%rbp), %rax
movq 0x8(%rax), %rsi
movq -0x38(%rbp), %rdx
callq 0x93c0
jmp 0xd53d
movq -0x8(%rbp), %rdi
movq -0x18(%rbp), %rax
movq 0x8(%rax), %rsi
movw -0xa(%rbp), %ax
movq -0x38(%rbp), %rcx
movzwl %ax, %edx
callq 0x9660
jmp 0xd53d
movq -0x8(%rbp), %rdi
movq -0x18(%rbp), %rax
movq 0x8(%rax), %rsi
movw -0xa(%rbp), %ax
movq -0x38(%rbp), %rcx
movzwl %ax, %edx
callq 0x9b30
jmp 0xd53d
movq -0x8(%rbp), %rdi
movq -0x18(%rbp), %rax
movq 0x8(%rax), %rsi
movw -0xa(%rbp), %ax
movq -0x38(%rbp), %rcx
movzwl %ax, %edx
callq 0x9df0
jmp 0xd53d
movq -0x8(%rbp), %rdi
movq -0x18(%rbp), %rax
movq 0x8(%rax), %rsi
movw -0xa(%rbp), %ax
movq -0x38(%rbp), %rcx
movzwl %ax, %edx
callq 0xa2b0
jmp 0xd53d
movq -0x8(%rbp), %rdi
movq -0x18(%rbp), %rax
movq 0x8(%rax), %rsi
movw -0xa(%rbp), %ax
movq -0x38(%rbp), %rcx
movzwl %ax, %edx
callq 0xa560
jmp 0xd53d
movq -0x8(%rbp), %rdi
movq -0x18(%rbp), %rax
movq 0x8(%rax), %rsi
movw -0xa(%rbp), %ax
movq -0x38(%rbp), %rcx
movzwl %ax, %edx
callq 0xab90
jmp 0xd53d
movq -0x8(%rbp), %rdi
movq -0x18(%rbp), %rax
movq 0x8(%rax), %rsi
movw -0xa(%rbp), %ax
movq -0x38(%rbp), %rcx
movzwl %ax, %edx
callq 0xb0f0
jmp 0xd53d
movq -0x8(%rbp), %rdi
movq -0x18(%rbp), %rax
movq 0x8(%rax), %rsi
movw -0xa(%rbp), %ax
movq -0x38(%rbp), %rcx
movzwl %ax, %edx
callq 0xb380
jmp 0xd53d
movq -0x18(%rbp), %rax
movzwl 0x2(%rax), %esi
leaq 0x57169(%rip), %rdi     # 0x6469c
movb $0x0, %al
callq 0x3110
movl %eax, -0x44(%rbp)
jmp 0xd53f
jmp 0xd541
movq -0x8(%rbp), %rdi
callq 0x30a0
cmpl $0x0, %eax
jne 0xd55d
movq -0x8(%rbp), %rdi
callq 0x3190
cmpl $0x0, %eax
je 0xd566
movq -0x8(%rbp), %rdi
callq 0x31a0
movl -0x44(%rbp), %edi
callq 0x1ff00
addq $0x60, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
nop