// File: /workspace/github_c_makefile_star2_O3/hfiguiere[P]exifprobe/print_maker.c
// Function: print_offset_makervalue
unsigned long
print_offset_makervalue(FILE *inptr,unsigned short byteorder,
    struct ifd_entry *entry_ptr,unsigned long fileoffset_base,
    struct image_summary *summary_entry,char *parent_name,char*prefix,
    int indent,int make,int model,int at_offset)
{
    unsigned long endoffset = 0L;

    if(inptr && entry_ptr)
    {
        if((value_type_size(entry_ptr->value_type) * entry_ptr->count) <= 4UL)
            endoffset = 0;
        else
            endoffset = fileoffset_base + entry_ptr->value + 
                (value_type_size(entry_ptr->value_type) * entry_ptr->count);

        switch(make)
        {
            case MAKER_AGFA:
                print_agfa_offset_makervalue(inptr,byteorder,entry_ptr,
                                            fileoffset_base,summary_entry,
											parent_name,prefix,indent,make,
											model,at_offset);
                break;
            case MAKER_ASAHI:   /* Pentax                             */
            case MAKER_PENTAX:  /* Pentax                             */
                print_asahi_offset_makervalue(inptr,byteorder,entry_ptr,
                                            fileoffset_base,summary_entry,
											parent_name,prefix,indent,make,
											model,at_offset);
                break;
            case MAKER_CANON:
                print_canon_offset_makervalue(inptr,byteorder,entry_ptr,
                                            fileoffset_base,summary_entry,
                                            parent_name,prefix,indent,make,
                                            model,at_offset);
                break;
            case MAKER_CASIO:
                print_casio_offset_makervalue(inptr,byteorder,entry_ptr,
                                            fileoffset_base,summary_entry,
											parent_name,prefix,indent,make,
											model,at_offset);
                break;
            case MAKER_EPSON:
                print_epson_offset_makervalue(inptr,byteorder,entry_ptr,
                                            fileoffset_base,summary_entry,
											parent_name,prefix,indent,make,
											model,at_offset);
                break;
            case MAKER_FUJIFILM:
                print_fujifilm_offset_makervalue(inptr,byteorder,entry_ptr,
                                            fileoffset_base,summary_entry,
                                            parent_name,prefix,indent,
                                            make,model,at_offset);
                break;
            case MAKER_HP:
                print_generic_offset_makervalue(inptr,byteorder,entry_ptr,
                                            fileoffset_base,parent_name,prefix,indent,
                                            make,model,at_offset);
                break;
            case MAKER_KODAK:
                print_generic_offset_makervalue(inptr,byteorder,entry_ptr,
                                            fileoffset_base,parent_name,prefix,indent,
                                            make,model,at_offset);
                break;
            case MAKER_KYOCERA:
                print_kyocera_offset_makervalue(inptr,byteorder,entry_ptr,
                                            fileoffset_base,summary_entry,
                                            parent_name,prefix,indent,
                                            make,model,at_offset);
                break;
            case MAKER_KONICA:
                print_konica_offset_makervalue(inptr,byteorder,entry_ptr,
                                            fileoffset_base,summary_entry,
                                            parent_name,prefix,indent,
                                            make,model,at_offset);
                break;
            case MAKER_LEICA:
                print_leica_offset_makervalue(inptr,byteorder,entry_ptr,
                                            fileoffset_base,summary_entry,
                                            parent_name,prefix,indent,
                                            make,model,at_offset);
                break;
            case MAKER_MINOLTA:
                print_minolta_offset_makervalue(inptr,byteorder,entry_ptr,
                                            fileoffset_base,summary_entry,
											parent_name,prefix,indent,make,
											model,at_offset);
                break;
            case MAKER_NIKON:
                print_nikon_offset_makervalue(inptr,byteorder,entry_ptr,
                                            fileoffset_base,summary_entry,
											parent_name,prefix,indent,make,
											model,at_offset);
                break;
            case MAKER_OLYMPUS:
                print_olympus_offset_makervalue(inptr,byteorder,entry_ptr,
                                            fileoffset_base,summary_entry,
											parent_name,prefix,indent,make,
											model,at_offset);
                break;
            case MAKER_PANASONIC:
                print_panasonic_offset_makervalue(inptr,byteorder,entry_ptr,
                                            fileoffset_base,summary_entry,
                                            parent_name,prefix,indent,
                                            make,model,at_offset);
                break;
            case MAKER_RICOH:
                print_generic_offset_makervalue(inptr,byteorder,entry_ptr,
                                            fileoffset_base,parent_name,prefix,indent,
                                            make,model,at_offset);
                break;
            case MAKER_SANYO:
                print_sanyo_offset_makervalue(inptr,byteorder,entry_ptr,
                                            fileoffset_base,summary_entry,
											parent_name,prefix,indent,make,
											model,at_offset);
                break;
            case MAKER_SIGMA:
                print_sigma_offset_makervalue(inptr,byteorder,entry_ptr,
                                            fileoffset_base,summary_entry,
                                            parent_name,prefix,indent,
                                            make,model,at_offset);
                break;
            case MAKER_SONY:
                print_sony_offset_makervalue(inptr,byteorder,entry_ptr,
                                            fileoffset_base,summary_entry,
                                            parent_name,prefix,indent,
                                            make,model,at_offset);
                break;
            case MAKER_TOSHIBA:
                print_toshiba_offset_makervalue(inptr,byteorder,entry_ptr,
                                            fileoffset_base,summary_entry,
                                            parent_name,prefix,indent,
                                            make,model,at_offset);
                break;
            case MAKER_TRAVELER:
                print_generic_offset_makervalue(inptr,byteorder,entry_ptr,
                                            fileoffset_base,parent_name,prefix,indent,
                                            make,model,at_offset);
                break;
            default:
                print_generic_offset_makervalue(inptr,byteorder,entry_ptr,
                                            fileoffset_base,parent_name,prefix,indent,
                                            make,model,at_offset);
                break;
        }
    }
    else
    {
        printred(" invalid call to print_offset_makervalue ");
        if(inptr == (FILE *)0)
            printred(" no input file pointer ");
        if(entry_ptr == (struct ifd_entry *)0)
            printred(" null entry pointer");
    }
    if(ferror(inptr) || feof(inptr))
        clearerr(inptr);
    (void)newline(0);
    if(ftell(inptr) > endoffset)
        endoffset = ftell(inptr);
    return(endoffset);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rcx, %r13
movq %rdx, %rbp
movq %rdi, %rbx
testq %rdi, %rdi
sete %al
testq %rdx, %rdx
sete %cl
orb %al, %cl
jne 0x19149
movl %esi, %r14d
movq %r8, 0x28(%rsp)
movq %r9, 0x30(%rsp)
movl 0x90(%rsp), %eax
movq %rax, 0x8(%rsp)
movl 0x88(%rsp), %eax
movq %rax, 0x10(%rsp)
movl 0x80(%rsp), %r12d
movl 0x78(%rsp), %eax
movq %rax, 0x20(%rsp)
movq 0x70(%rsp), %rax
movq %rax, 0x18(%rsp)
movzwl 0x2(%rbp), %edi
callq 0x1646c
cltq
imulq 0x8(%rbp), %rax
cmpq $0x5, %rax
jae 0x1917f
xorl %r15d, %r15d
jmp 0x1919c
leaq 0x2d746(%rip), %rdi     # 0x46896
callq 0x5c26
testq %rbx, %rbx
jne 0x19166
leaq 0x285b6(%rip), %rdi     # 0x41717
callq 0x5c26
testq %rbp, %rbp
jne 0x19177
leaq 0x285bf(%rip), %rdi     # 0x41731
callq 0x5c26
xorl %r15d, %r15d
jmp 0x1960c
movq 0x10(%rbp), %r15
addq %r13, %r15
movzwl 0x2(%rbp), %edi
callq 0x1646c
cltq
imulq 0x8(%rbp), %rax
addq %r15, %rax
movq %rax, %r15
leal -0x1(%r12), %eax
cmpl $0x15, %eax
ja 0x195ab
leaq 0x2d5fb(%rip), %rcx     # 0x467ac
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
subq $0x8, %rsp
movzwl %r14w, %esi
movq %rbx, %rdi
movq %rbp, %rdx
movq %r13, %rcx
movq 0x30(%rsp), %r8
movq 0x38(%rsp), %r9
pushq 0x10(%rsp)
pushq 0x20(%rsp)
pushq %r12
pushq 0x40(%rsp)
pushq 0x40(%rsp)
callq 0x3e6a9
jmp 0x19608
subq $0x8, %rsp
movzwl %r14w, %esi
movq %rbx, %rdi
movq %rbp, %rdx
movq %r13, %rcx
movq 0x30(%rsp), %r8
movq 0x38(%rsp), %r9
pushq 0x10(%rsp)
pushq 0x20(%rsp)
pushq $0x11
pushq 0x40(%rsp)
pushq 0x40(%rsp)
callq 0x3563a
jmp 0x19608
subq $0x8, %rsp
movzwl %r14w, %esi
movq %rbx, %rdi
movq %rbp, %rdx
movq %r13, %rcx
movq 0x30(%rsp), %r8
movq 0x38(%rsp), %r9
pushq 0x10(%rsp)
pushq 0x20(%rsp)
pushq $0xe
pushq 0x40(%rsp)
pushq 0x40(%rsp)
callq 0x3f9c7
jmp 0x19608
subq $0x8, %rsp
movzwl %r14w, %esi
movq %rbx, %rdi
movq %rbp, %rdx
movq %r13, %rcx
movq 0x30(%rsp), %r8
movq 0x38(%rsp), %r9
pushq 0x10(%rsp)
pushq 0x20(%rsp)
pushq $0xb
pushq 0x40(%rsp)
pushq 0x40(%rsp)
callq 0x3d031
jmp 0x19608
subq $0x8, %rsp
movzwl %r14w, %esi
movq %rbx, %rdi
movq %rbp, %rdx
movq %r13, %rcx
movq 0x30(%rsp), %r8
movq 0x38(%rsp), %r9
pushq 0x10(%rsp)
pushq 0x20(%rsp)
pushq $0x4
pushq 0x40(%rsp)
pushq 0x40(%rsp)
callq 0x31aa5
jmp 0x19608
subq $0x8, %rsp
movzwl %r14w, %esi
movq %rbx, %rdi
movq %rbp, %rdx
movq %r13, %rcx
movq 0x30(%rsp), %r8
movq 0x38(%rsp), %r9
pushq 0x10(%rsp)
pushq 0x20(%rsp)
pushq $0xc
pushq 0x40(%rsp)
pushq 0x40(%rsp)
callq 0x2c32a
jmp 0x19608
subq $0x8, %rsp
movzwl %r14w, %esi
movq %rbx, %rdi
movq %rbp, %rdx
movq %r13, %rcx
movq 0x30(%rsp), %r8
movq 0x38(%rsp), %r9
pushq 0x10(%rsp)
pushq 0x20(%rsp)
pushq $0x9
pushq 0x40(%rsp)
pushq 0x40(%rsp)
callq 0x408da
jmp 0x19608
subq $0x8, %rsp
movzwl %r14w, %esi
movq %rbx, %rdi
movq %rbp, %rdx
movq %r13, %rcx
movq 0x30(%rsp), %r8
movq 0x38(%rsp), %r9
pushq 0x10(%rsp)
pushq 0x20(%rsp)
pushq $0x1
pushq 0x40(%rsp)
pushq 0x40(%rsp)
callq 0x3d419
jmp 0x19608
movzwl %r14w, %esi
movq %rbx, %rdi
movq %rbp, %rdx
movq %r13, %rcx
movq 0x18(%rsp), %r9
pushq 0x8(%rsp)
pushq 0x18(%rsp)
pushq $0x10
jmp 0x195c7
subq $0x8, %rsp
movzwl %r14w, %esi
movq %rbx, %rdi
movq %rbp, %rdx
movq %r13, %rcx
movq 0x30(%rsp), %r8
movq 0x38(%rsp), %r9
pushq 0x10(%rsp)
pushq 0x20(%rsp)
pushq $0x3
pushq 0x40(%rsp)
pushq 0x40(%rsp)
callq 0x360b5
jmp 0x19608
movzwl %r14w, %esi
movq %rbx, %rdi
movq %rbp, %rdx
movq %r13, %rcx
movq 0x18(%rsp), %r9
pushq 0x8(%rsp)
pushq 0x18(%rsp)
pushq $0x7
jmp 0x195c7
subq $0x8, %rsp
movzwl %r14w, %esi
movq %rbx, %rdi
movq %rbp, %rdx
movq %r13, %rcx
movq 0x30(%rsp), %r8
movq 0x38(%rsp), %r9
pushq 0x10(%rsp)
pushq 0x20(%rsp)
pushq $0x12
pushq 0x40(%rsp)
pushq 0x40(%rsp)
callq 0x2df16
jmp 0x19608
subq $0x8, %rsp
movzwl %r14w, %esi
movq %rbx, %rdi
movq %rbp, %rdx
movq %r13, %rcx
movq 0x30(%rsp), %r8
movq 0x38(%rsp), %r9
pushq 0x10(%rsp)
pushq 0x20(%rsp)
pushq $0x15
pushq 0x40(%rsp)
pushq 0x40(%rsp)
callq 0x400b3
jmp 0x19608
movzwl %r14w, %esi
movq %rbx, %rdi
movq %rbp, %rdx
movq %r13, %rcx
movq 0x18(%rsp), %r9
pushq 0x8(%rsp)
pushq 0x18(%rsp)
pushq $0x5
jmp 0x195c7
movzwl %r14w, %esi
movq %rbx, %rdi
movq %rbp, %rdx
movq %r13, %rcx
movq 0x18(%rsp), %r9
pushq 0x8(%rsp)
pushq 0x18(%rsp)
pushq $0x16
jmp 0x195c7
subq $0x8, %rsp
movzwl %r14w, %esi
movq %rbx, %rdi
movq %rbp, %rdx
movq %r13, %rcx
movq 0x30(%rsp), %r8
movq 0x38(%rsp), %r9
pushq 0x10(%rsp)
pushq 0x20(%rsp)
pushq $0xd
pushq 0x40(%rsp)
pushq 0x40(%rsp)
callq 0x2eda5
jmp 0x19608
subq $0x8, %rsp
movzwl %r14w, %esi
movq %rbx, %rdi
movq %rbp, %rdx
movq %r13, %rcx
movq 0x30(%rsp), %r8
movq 0x38(%rsp), %r9
pushq 0x10(%rsp)
pushq 0x20(%rsp)
pushq $0x6
pushq 0x40(%rsp)
pushq 0x40(%rsp)
callq 0x31078
jmp 0x19608
subq $0x8, %rsp
movzwl %r14w, %esi
movq %rbx, %rdi
movq %rbp, %rdx
movq %r13, %rcx
movq 0x30(%rsp), %r8
movq 0x38(%rsp), %r9
pushq 0x10(%rsp)
pushq 0x20(%rsp)
pushq $0x13
pushq 0x40(%rsp)
pushq 0x40(%rsp)
callq 0x403a8
jmp 0x19608
subq $0x8, %rsp
movzwl %r14w, %esi
movq %rbx, %rdi
movq %rbp, %rdx
movq %r13, %rcx
movq 0x30(%rsp), %r8
movq 0x38(%rsp), %r9
pushq 0x10(%rsp)
pushq 0x20(%rsp)
pushq $0xa
pushq 0x40(%rsp)
pushq 0x40(%rsp)
callq 0x3fda5
jmp 0x19608
subq $0x8, %rsp
movzwl %r14w, %esi
movq %rbx, %rdi
movq %rbp, %rdx
movq %r13, %rcx
movq 0x30(%rsp), %r8
movq 0x38(%rsp), %r9
pushq 0x10(%rsp)
pushq 0x20(%rsp)
pushq $0x8
pushq 0x40(%rsp)
pushq 0x40(%rsp)
callq 0x329fb
jmp 0x19608
movzwl %r14w, %esi
movq %rbx, %rdi
movq %rbp, %rdx
movq %r13, %rcx
movq 0x18(%rsp), %r9
pushq 0x8(%rsp)
pushq 0x18(%rsp)
pushq %r12
pushq 0x38(%rsp)
callq 0x19706
addq $0x20, %rsp
jmp 0x1960c
subq $0x8, %rsp
movzwl %r14w, %esi
movq %rbx, %rdi
movq %rbp, %rdx
movq %r13, %rcx
movq 0x30(%rsp), %r8
movq 0x38(%rsp), %r9
pushq 0x10(%rsp)
pushq 0x20(%rsp)
pushq $0x14
pushq 0x40(%rsp)
pushq 0x40(%rsp)
callq 0x4062d
addq $0x30, %rsp
movq %rbx, %rdi
callq 0x30b0
testl %eax, %eax
jne 0x19624
movq %rbx, %rdi
callq 0x31a0
testl %eax, %eax
je 0x1962c
movq %rbx, %rdi
callq 0x31b0
xorl %edi, %edi
callq 0x1707a
movq %rbx, %rdi
callq 0x3190
cmpq %r15, %rax
jbe 0x19656
movq %rbx, %rdi
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x3190
movq %r15, %rax
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq