// File: /workspace/github_c_makefile_star2_O1/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 0x3f21b
movq %rdx, %r13
movl %esi, 0xc(%rsp)
movq %rdi, 0x20(%rsp)
movq %rcx, 0x10(%rsp)
movl 0x90(%rsp), %ebx
movl 0x88(%rsp), %ebp
movl 0x80(%rsp), %r15d
movl 0x78(%rsp), %eax
movq %rax, 0x18(%rsp)
movq 0x70(%rsp), %r14
movzwl (%rdx), %edi
movl %r15d, %esi
movl %ebp, %edx
movq %r9, %r12
callq 0x1c020
leaq 0x27ba(%rip), %rsi      # 0x41997
movq %r12, %rdi
movq %rax, 0x28(%rsp)
movq %rax, %rdx
callq 0x17a47
cmpw $0xe00, (%r13)          # imm = 0xE00
movq %rax, 0x30(%rsp)
jne 0x3f223
movq %r12, %rbp
movq 0x18(%rsp), %rdx
movq 0x8(%r13), %r8
xorl %r15d, %r15d
testl %ebx, %ebx
je 0x3f251
movq %rdx, %rbx
movq 0x10(%rsp), %r12
jmp 0x3f29c
xorl %r15d, %r15d
jmp 0x3f2d2
movzwl 0xc(%rsp), %esi
movq 0x20(%rsp), %rdi
movq %r13, %rdx
movq 0x10(%rsp), %rcx
movq %r12, %r8
movq %r14, %r9
pushq %rbx
pushq %rbp
pushq %r15
pushq 0x30(%rsp)
callq 0x191ac
addq $0x20, %rsp
xorl %r15d, %r15d
jmp 0x3f2c3
leaq 0x18f28(%rip), %rax     # 0x58180
movq (%rax), %rax
testb $0x30, %al
sete %cl
testl $0x300, %eax            # imm = 0x300
setne %al
orb %cl, %al
movq %rdx, %rbx
movq 0x10(%rsp), %r12
jne 0x3f29c
movq 0x10(%r13), %rsi
addq %r12, %rsi
leaq 0x5ee0(%rip), %rdi      # 0x45162
movq %r8, %rdx
xorl %eax, %eax
movq %r8, %r15
callq 0x3120
movl %eax, %edi
callq 0x16b56
movq %r15, %r8
movl %eax, %r15d
movq 0x10(%r13), %rdx
subq $0x8, %rsp
movzwl 0x14(%rsp), %esi
movq 0x28(%rsp), %rdi
movq %r12, %rcx
movq 0x30(%rsp), %r9
pushq %rbx
pushq %r14
pushq %rbp
callq 0x12f22
addq $0x20, %rsp
movq 0x30(%rsp), %rdi
testq %rdi, %rdi
je 0x3f2d2
callq 0x3050
movl %r15d, %edi
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x17530