// File: /workspace/github_c_makefile_star2_O3/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 0x3fb1a
movq %rdx, %r12
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), %r14
movzwl (%rdx), %edi
movl %r15d, %esi
movl %r13d, %edx
movq %r9, %rbx
callq 0x1c518
leaq 0x1ec0(%rip), %rsi      # 0x41997
movq %rbx, %rdi
movq %rax, 0x28(%rsp)
movq %rax, %rdx
callq 0x17f99
cmpw $0xe00, (%r12)          # imm = 0xE00
movq %rax, 0x30(%rsp)
jne 0x3fb22
movq %rbx, 0x20(%rsp)
movq 0x10(%rsp), %r13
movq 0x10(%r12), %rdx
movq 0x8(%r12), %r8
xorl %r15d, %r15d
testl %ebp, %ebp
je 0x3fb51
movq 0x8(%rsp), %rbx
jmp 0x3fb9d
xorl %r15d, %r15d
jmp 0x3fbd3
movzwl 0x4(%rsp), %esi
movq 0x18(%rsp), %rdi
movq %r12, %rdx
movq 0x8(%rsp), %rcx
movq %rbx, %r8
movq %r14, %r9
pushq %rbp
pushq %r13
pushq %r15
pushq 0x28(%rsp)
callq 0x19706
addq $0x20, %rsp
xorl %r15d, %r15d
jmp 0x3fbc4
leaq 0x18628(%rip), %rax     # 0x58180
movq (%rax), %rax
testb $0x30, %al
sete %cl
testl $0x300, %eax            # imm = 0x300
setne %al
orb %cl, %al
movq 0x8(%rsp), %rbx
jne 0x3fb9d
addq %rbx, %rdx
leaq 0x562b(%rip), %rdi      # 0x451a6
movq %rdx, %rsi
movq %r8, %rdx
xorl %eax, %eax
movq %r8, %r15
callq 0x3120
movl %eax, %edi
callq 0x1707a
movq %r15, %r8
movl %eax, %r15d
movq 0x10(%r12), %rdx
subq $0x8, %rsp
movzwl 0xc(%rsp), %esi
movq 0x20(%rsp), %rdi
movq %rbx, %rcx
movq 0x30(%rsp), %r9
pushq %r13
pushq %r14
pushq 0x38(%rsp)
callq 0x1337a
addq $0x20, %rsp
movq 0x30(%rsp), %rdi
testq %rdi, %rdi
je 0x3fbd3
callq 0x3050
movl %r15d, %edi
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x17a82