// File: /workspace/github_c_makefile_star2_O0/hfiguiere[P]exifprobe/print_maker.c
// Function: print_generic_offset_makervalue
void
print_generic_offset_makervalue(FILE *inptr,unsigned short byteorder,
    struct ifd_entry *entry_ptr,unsigned long fileoffset_base,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);
                if(entry_ptr->value_type == UNDEFINED)
                    print_makertagid(entry_ptr,MAKERTAGWIDTH," : ",make,model);
                else
                    print_makertagid(entry_ptr,MAKERTAGWIDTH," = ",make,model);
            }
            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) && at_offset && (PRINT_VALUE_AT_OFFSET))
                        chpr += printf("length %-9lu # UNDEFINED",entry_ptr->count);
                    else
                    {
                        if(!(PRINT_OFFSET))
                            chpr += printf("@%lu",value_offset);
                        chpr += printf(":%-9lu # UNDEFINED",entry_ptr->count);
                    }
                    if(Max_undefined == 0)
                    {
                        if((PRINT_SECTION))
                            printred(" (not dumped, use -U)");
                    }
                    else
                    {
                        /* Even in LIST and REPORT modes              */
                        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,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 %si, %ax
movl 0x28(%rbp), %esi
movl 0x20(%rbp), %esi
movl 0x18(%rbp), %esi
movl 0x10(%rbp), %esi
movq %rdi, -0x8(%rbp)
movw %ax, -0xa(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq %r8, -0x28(%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 0x24383
movq -0x20(%rbp), %rax
movq -0x18(%rbp), %rcx
addq 0x10(%rcx), %rax
movq %rax, -0x38(%rbp)
leaq 0x531b1(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x30, %rax
cmpq $0x0, %rax
je 0x24381
cmpl $0x0, 0x28(%rbp)
je 0x24044
movq -0x38(%rbp), %rsi
movl 0x10(%rbp), %edx
movq -0x30(%rbp), %rcx
movl $0x4003333, %edi        # imm = 0x4003333
callq 0x5ed0
movq -0x18(%rbp), %rax
movzwl 0x2(%rax), %eax
cmpl $0x7, %eax
jne 0x24026
movq -0x18(%rbp), %rdi
movl 0x18(%rbp), %ecx
movl 0x20(%rbp), %r8d
movl $0x19, %esi
leaq 0x44dc5(%rip), %rdx     # 0x68de4
callq 0x23e20
jmp 0x24042
movq -0x18(%rbp), %rdi
movl 0x18(%rbp), %ecx
movl 0x20(%rbp), %r8d
movl $0x19, %esi
leaq 0x48cdb(%rip), %rdx     # 0x6cd18
callq 0x23e20
jmp 0x2407d
leaq 0x53135(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x300, %rax            # imm = 0x300
cmpq $0x0, %rax
je 0x2407b
movq -0x18(%rbp), %rax
movzwl 0x2(%rax), %eax
cmpl $0x7, %eax
je 0x2407b
leaq 0x48caa(%rip), %rdi     # 0x6cd18
movb $0x0, %al
callq 0x3110
addl -0x44(%rbp), %eax
movl %eax, -0x44(%rbp)
jmp 0x2407d
movq -0x18(%rbp), %rax
movzwl 0x2(%rax), %eax
decl %eax
movl %eax, %ecx
movq %rcx, -0x50(%rbp)
subl $0xb, %eax
ja 0x24366
movq -0x50(%rbp), %rax
leaq 0x44c73(%rip), %rcx     # 0x68d14
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x530cf(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x40000, %rax          # imm = 0x40000
cmpq $0x0, %rax
je 0x240fa
cmpl $0x0, 0x28(%rbp)
je 0x240fa
leaq 0x530b3(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x1000000, %rax        # imm = 0x1000000
cmpq $0x0, %rax
je 0x240fa
movq -0x18(%rbp), %rax
movq 0x8(%rax), %rsi
leaq 0x40bc5(%rip), %rdi     # 0x64cb0
movb $0x0, %al
callq 0x3110
addl -0x44(%rbp), %eax
movl %eax, -0x44(%rbp)
jmp 0x24144
leaq 0x5307f(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x300, %rax            # imm = 0x300
cmpq $0x0, %rax
jne 0x24128
movq -0x38(%rbp), %rsi
leaq 0x46c70(%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 0x44cb1(%rip), %rdi     # 0x68de8
movb $0x0, %al
callq 0x3110
addl -0x44(%rbp), %eax
movl %eax, -0x44(%rbp)
leaq 0x542bd(%rip), %rax     # 0x78408
cmpq $0x0, (%rax)
jne 0x24178
leaq 0x53028(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x40000, %rax          # imm = 0x40000
cmpq $0x0, %rax
je 0x24173
leaq 0x40511(%rip), %rdi     # 0x6467f
callq 0x6860
jmp 0x241f8
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
leaq 0x54284(%rip), %rax     # 0x78408
cmpq %rcx, (%rax)
je 0x2419d
leaq 0x54278(%rip), %rax     # 0x78408
movq (%rax), %rax
movq -0x18(%rbp), %rcx
cmpq 0x8(%rcx), %rax
jbe 0x241ab
movq -0x18(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, -0x40(%rbp)
jmp 0x241b9
leaq 0x54256(%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 0x10(%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 0x2437f
movq -0x8(%rbp), %rdi
movq -0x18(%rbp), %rax
movq 0x8(%rax), %rsi
movq -0x38(%rbp), %rdx
callq 0x8e70
jmp 0x2437f
movq -0x8(%rbp), %rdi
movq -0x18(%rbp), %rax
movq 0x8(%rax), %rsi
movq -0x38(%rbp), %rdx
callq 0x9110
jmp 0x2437f
movq -0x8(%rbp), %rdi
movq -0x18(%rbp), %rax
movq 0x8(%rax), %rsi
movq -0x38(%rbp), %rdx
callq 0x93c0
jmp 0x2437f
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 0x2437f
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 0x2437f
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 0x2437f
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 0x2437f
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 0x2437f
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 0x2437f
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 0x2437f
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 0x2437f
movq -0x18(%rbp), %rax
movzwl 0x2(%rax), %esi
leaq 0x40327(%rip), %rdi     # 0x6469c
movb $0x0, %al
callq 0x3110
movl %eax, -0x44(%rbp)
jmp 0x24381
jmp 0x24383
movq -0x8(%rbp), %rdi
callq 0x30a0
cmpl $0x0, %eax
jne 0x2439f
movq -0x8(%rbp), %rdi
callq 0x3190
cmpl $0x0, %eax
je 0x243a8
movq -0x8(%rbp), %rdi
callq 0x31a0
movl -0x44(%rbp), %edi
callq 0x1ff00
addq $0x60, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)