// File: /workspace/github_c_makefile_star2_O2/hfiguiere[P]exifprobe/maker_panasonic.c
// Function: panasonic1_offset_makervalue
void
panasonic1_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 value_offset,count;
    char *nameoftag;
    char *fulldirname = NULL;
    int chpr = 0;

    if(entry_ptr)
    {
        nameoftag = maker_tagname(entry_ptr->tag,make,model);
        fulldirname = splice(parent_name,".",nameoftag);
        value_offset = fileoffset_base + entry_ptr->value;
        count = entry_ptr->count;
        switch(entry_ptr->tag)
        {
            case 0x0e00: /* PrintIM (Epson Print Image matching)      */
                if(!at_offset && (PRINT_VALUE))
                {
                    if(!(PRINT_OFFSET))
                    {
                        chpr += printf("@%lu:%lu",value_offset,count);
                        chpr = newline(chpr);
                    }
                }
                process_pim(inptr,byteorder,entry_ptr->value,fileoffset_base,
                    count,nameoftag,parent_name,prefix,indent);
                break;
            default:
                print_generic_offset_makervalue(inptr,byteorder,entry_ptr,
                                        fileoffset_base,parent_name,prefix,indent,
                                        make,model,at_offset);
                break;
        }
        if(fulldirname)
            free(fulldirname);
    }
    setcharsprinted(chpr);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
testq %rdx, %rdx
je 0x3da7e
movq %rdx, %r14
movl %esi, 0x4(%rsp)
movq %rdi, 0x18(%rsp)
movq %rcx, 0x8(%rsp)
movl 0x90(%rsp), %ebp
movl 0x88(%rsp), %r13d
movl 0x80(%rsp), %r15d
movl 0x78(%rsp), %eax
movq %rax, 0x10(%rsp)
movq 0x70(%rsp), %rbx
movzwl (%rdx), %edi
movl %r15d, %esi
movl %r13d, %edx
movq %r9, %r12
callq 0x1b2e4
leaq 0x1f59(%rip), %rsi      # 0x3f997
movq %r12, %rdi
movq %rax, 0x28(%rsp)
movq %rax, %rdx
callq 0x16f1d
movq %rax, 0x30(%rsp)
cmpw $0xe00, (%r14)          # imm = 0xE00
jne 0x3da86
movq %r12, 0x20(%rsp)
movq 0x10(%rsp), %r13
movq 0x10(%r14), %rdx
movq 0x8(%r14), %r8
xorl %r15d, %r15d
testl %ebp, %ebp
je 0x3dab5
movq 0x8(%rsp), %r12
jmp 0x3daff
xorl %r15d, %r15d
jmp 0x3db2f
movzwl 0x4(%rsp), %esi
movq 0x18(%rsp), %rdi
movq %r14, %rdx
movq 0x8(%rsp), %rcx
movq %r12, %r8
movq %rbx, %r9
pushq %rbp
pushq %r13
pushq %r15
pushq 0x28(%rsp)
callq 0x185a8
addq $0x20, %rsp
xorl %r15d, %r15d
jmp 0x3db25
leaq 0x196c4(%rip), %rax     # 0x57180
movq (%rax), %rax
testb $0x30, %al
sete %cl
testw $0x300, %ax             # imm = 0x300
setne %al
orb %cl, %al
movq 0x8(%rsp), %r12
jne 0x3daff
addq %r12, %rdx
leaq 0x5684(%rip), %rdi      # 0x43162
movq %rdx, %rsi
movq %r8, %rdx
xorl %eax, %eax
movq %r8, %r15
callq 0x3120
movl %eax, %edi
callq 0x160f7
movq %r15, %r8
movl %eax, %r15d
movq 0x10(%r14), %rdx
subq $0x8, %rsp
movzwl 0xc(%rsp), %esi
movq 0x20(%rsp), %rdi
movq %r12, %rcx
movq 0x30(%rsp), %r9
pushq %r13
pushq %rbx
pushq 0x38(%rsp)
callq 0x125a8
addq $0x20, %rsp
movq 0x30(%rsp), %rdi
callq 0x3050
movl %r15d, %edi
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x16a4f