// File: /workspace/github_c_makefile_star2_O3/hfiguiere[P]exifprobe/x3f.c
// Function: display_x3f_prop_header
unsigned long
display_x3f_prop_header(struct x3f_direntry *direntry,struct x3f_prop_header *header,
                                                char *dirname,int entry_num,int indent)
{
    int chpr = 0;

    print_tag_address(ENTRY,direntry->data_offset,indent,"@");
    if((PRINT_TAGINFO))
    {
        if((PRINT_LONGNAMES))
            chpr += printf("%s:%d.Header.",dirname,entry_num);
        chpr += printf("%s","SectionId");
        if((PRINT_VALUE))
        {
            putindent(X3FTAGWIDTH - 9);
            chpr += printf(" = ");
        }
    }
    if((PRINT_VALUE))
        chpr += printf("%4.4s",(char *)&header->section_id);
    chpr = newline(chpr);

    print_tag_address(ENTRY,direntry->data_offset + 4,indent,"@");
    if((PRINT_TAGINFO))
    {
        if((PRINT_LONGNAMES))
            chpr += printf("%s:%d.Header.",dirname,entry_num);
        chpr += printf("%s","Version");
        if((PRINT_VALUE))
        {
            putindent(X3FTAGWIDTH - 7);
            chpr += printf(" = ");
        }
    }
    if((PRINT_VALUE))
        chpr += printf("%u.%u",header->version_major,header->version_minor);
    chpr = newline(chpr);

    print_tag_address(ENTRY,direntry->data_offset + 8,indent,"@");
    if((PRINT_TAGINFO))
    {
        if((PRINT_LONGNAMES))
            chpr += printf("%s:%d.Header.",dirname,entry_num);
        chpr += printf("%s","Entries");
        if((PRINT_VALUE))
        {
            putindent(X3FTAGWIDTH - 7);
            chpr += printf(" = ");
        }
    }
    if((PRINT_VALUE))
        chpr += printf("%lu",header->num_entries);
    chpr = newline(chpr);

    print_tag_address(ENTRY,direntry->data_offset + 12,indent,"@");
    if((PRINT_TAGINFO))
    {
        if((PRINT_LONGNAMES))
            chpr += printf("%s:%d.Header.",dirname,entry_num);
        chpr += printf("%s","CharFormat");
        if((PRINT_VALUE))
        {
            putindent(X3FTAGWIDTH - 10);
            chpr += printf(" = ");
        }
    }
    if((PRINT_VALUE))
        chpr += printf("%lu",header->char_format);
    chpr = newline(chpr);

    print_tag_address(ENTRY,direntry->data_offset + 16,indent,"@");
    if((PRINT_TAGINFO))
    {
        if((PRINT_LONGNAMES))
            chpr += printf("%s:%d.Header.",dirname,entry_num);
        chpr += printf("%s","RESERVED");
        if((PRINT_VALUE))
        {
            putindent(X3FTAGWIDTH - 8);
            chpr += printf(" = ");
        }
    }
    if((PRINT_VALUE))
        chpr += printf("%lu",header->reserved);
    chpr = newline(chpr);

    print_tag_address(ENTRY,direntry->data_offset + 20,indent,"@");
    if((PRINT_TAGINFO))
    {
        if((PRINT_LONGNAMES))
            chpr += printf("%s:%d.Header.",dirname,entry_num);
        chpr += printf("%s","SectionLength");
        if((PRINT_VALUE))
        {
            putindent(X3FTAGWIDTH - 13);
            chpr += printf(" = ");
        }
    }
    if((PRINT_VALUE))
        chpr += printf("%lu",header->entry_length);
    chpr = newline(chpr);

    return(direntry->data_offset + 24);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %r8d, %r12d
movl %ecx, 0xc(%rsp)
movq %rdx, 0x10(%rsp)
movq %rsi, %r14
movq %rdi, %rbx
movq 0x8(%rdi), %rsi
leaq 0x1670b(%rip), %rcx     # 0x410dc
movl $0x4003333, %edi        # imm = 0x4003333
movl %r8d, %edx
callq 0x55eb
leaq 0x2d79b(%rip), %r15     # 0x58180
movq (%r15), %rax
testl $0x3003, %eax           # imm = 0x3003
je 0x2aa50
xorl %ebp, %ebp
testb $0x40, %al
je 0x2aa0e
leaq 0x1f14d(%rip), %rdi     # 0x49b49
movq 0x10(%rsp), %rsi
movl 0xc(%rsp), %edx
xorl %eax, %eax
callq 0x3120
movl %eax, %ebp
leaq 0x16682(%rip), %rdi     # 0x41097
leaq 0x1f13b(%rip), %rsi     # 0x49b57
xorl %eax, %eax
callq 0x3120
movl %eax, %r13d
addl %ebp, %r13d
movq (%r15), %rax
testb $0x30, %al
je 0x2aa53
movl $0x9, %edi
callq 0x5716
leaq 0x1fb67(%rip), %rdi     # 0x4a5a8
xorl %eax, %eax
callq 0x3120
addl %eax, %r13d
movq (%r15), %rax
jmp 0x2aa53
xorl %r13d, %r13d
testb $0x30, %al
je 0x2aa6b
leaq 0x1f103(%rip), %rdi     # 0x49b61
movq %r14, %rsi
xorl %eax, %eax
callq 0x3120
addl %eax, %r13d
movl %r13d, %edi
callq 0x1707a
movl %eax, %r13d
movq 0x8(%rbx), %rsi
addq $0x4, %rsi
leaq 0x16657(%rip), %rcx     # 0x410dc
movl $0x4003333, %edi        # imm = 0x4003333
movl %r12d, %edx
callq 0x55eb
movq (%r15), %rax
testl $0x3003, %eax           # imm = 0x3003
je 0x2aafd
testb $0x40, %al
je 0x2aaba
leaq 0x1f0a2(%rip), %rdi     # 0x49b49
movq 0x10(%rsp), %rsi
movl 0xc(%rsp), %edx
xorl %eax, %eax
callq 0x3120
addl %eax, %r13d
movl %r13d, %ebp
leaq 0x165d3(%rip), %rdi     # 0x41097
leaq 0x1882f(%rip), %rsi     # 0x432fa
xorl %eax, %eax
callq 0x3120
movl %eax, %r13d
addl %ebp, %r13d
movq (%r15), %rax
testb $0x30, %al
je 0x2aafd
movl $0xb, %edi
callq 0x5716
leaq 0x1fab8(%rip), %rdi     # 0x4a5a8
xorl %eax, %eax
callq 0x3120
addl %eax, %r13d
movq (%r15), %rax
testb $0x30, %al
je 0x2ab1c
movzwl 0xa(%r14), %esi
movzwl 0x8(%r14), %edx
leaq 0x1f055(%rip), %rdi     # 0x49b67
xorl %eax, %eax
callq 0x3120
addl %eax, %r13d
movl %r13d, %edi
callq 0x1707a
movl %eax, %r13d
movq 0x8(%rbx), %rsi
addq $0x8, %rsi
leaq 0x165a6(%rip), %rcx     # 0x410dc
movl $0x4003333, %edi        # imm = 0x4003333
movl %r12d, %edx
callq 0x55eb
movq (%r15), %rax
testl $0x3003, %eax           # imm = 0x3003
je 0x2abae
testb $0x40, %al
je 0x2ab6b
leaq 0x1eff1(%rip), %rdi     # 0x49b49
movq 0x10(%rsp), %rsi
movl 0xc(%rsp), %edx
xorl %eax, %eax
callq 0x3120
addl %eax, %r13d
movl %r13d, %ebp
leaq 0x16522(%rip), %rdi     # 0x41097
leaq 0x1f099(%rip), %rsi     # 0x49c15
xorl %eax, %eax
callq 0x3120
movl %eax, %r13d
addl %ebp, %r13d
movq (%r15), %rax
testb $0x30, %al
je 0x2abae
movl $0xb, %edi
callq 0x5716
leaq 0x1fa07(%rip), %rdi     # 0x4a5a8
xorl %eax, %eax
callq 0x3120
addl %eax, %r13d
movq (%r15), %rax
testb $0x30, %al
je 0x2abc7
movq 0x10(%r14), %rsi
leaq 0x1dd78(%rip), %rdi     # 0x48935
xorl %eax, %eax
callq 0x3120
addl %eax, %r13d
movl %r13d, %edi
callq 0x1707a
movl %eax, %r13d
movq 0x8(%rbx), %rsi
addq $0xc, %rsi
leaq 0x164fb(%rip), %rcx     # 0x410dc
movl $0x4003333, %edi        # imm = 0x4003333
movl %r12d, %edx
callq 0x55eb
movq (%r15), %rax
testl $0x3003, %eax           # imm = 0x3003
je 0x2ac59
testb $0x40, %al
je 0x2ac16
leaq 0x1ef46(%rip), %rdi     # 0x49b49
movq 0x10(%rsp), %rsi
movl 0xc(%rsp), %edx
xorl %eax, %eax
callq 0x3120
addl %eax, %r13d
movl %r13d, %ebp
leaq 0x16477(%rip), %rdi     # 0x41097
leaq 0x1eff6(%rip), %rsi     # 0x49c1d
xorl %eax, %eax
callq 0x3120
movl %eax, %r13d
addl %ebp, %r13d
movq (%r15), %rax
testb $0x30, %al
je 0x2ac59
movl $0x8, %edi
callq 0x5716
leaq 0x1f95c(%rip), %rdi     # 0x4a5a8
xorl %eax, %eax
callq 0x3120
addl %eax, %r13d
movq (%r15), %rax
testb $0x30, %al
je 0x2ac72
movq 0x18(%r14), %rsi
leaq 0x1dccd(%rip), %rdi     # 0x48935
xorl %eax, %eax
callq 0x3120
addl %eax, %r13d
movl %r13d, %edi
callq 0x1707a
movl %eax, %r13d
movq 0x8(%rbx), %rsi
addq $0x10, %rsi
leaq 0x16450(%rip), %rcx     # 0x410dc
movl $0x4003333, %edi        # imm = 0x4003333
movl %r12d, %edx
callq 0x55eb
movq (%r15), %rax
testl $0x3003, %eax           # imm = 0x3003
je 0x2ad04
testb $0x40, %al
je 0x2acc1
leaq 0x1ee9b(%rip), %rdi     # 0x49b49
movq 0x10(%rsp), %rsi
movl 0xc(%rsp), %edx
xorl %eax, %eax
callq 0x3120
addl %eax, %r13d
movl %r13d, %ebp
leaq 0x163cc(%rip), %rdi     # 0x41097
leaq 0x1ef56(%rip), %rsi     # 0x49c28
xorl %eax, %eax
callq 0x3120
movl %eax, %r13d
addl %ebp, %r13d
movq (%r15), %rax
testb $0x30, %al
je 0x2ad04
movl $0xa, %edi
callq 0x5716
leaq 0x1f8b1(%rip), %rdi     # 0x4a5a8
xorl %eax, %eax
callq 0x3120
addl %eax, %r13d
movq (%r15), %rax
testb $0x30, %al
je 0x2ad1d
movq 0x20(%r14), %rsi
leaq 0x1dc22(%rip), %rdi     # 0x48935
xorl %eax, %eax
callq 0x3120
addl %eax, %r13d
movl %r13d, %edi
callq 0x1707a
movl %eax, %r13d
movq 0x8(%rbx), %rsi
addq $0x14, %rsi
leaq 0x163a5(%rip), %rcx     # 0x410dc
movl $0x4003333, %edi        # imm = 0x4003333
movl %r12d, %edx
callq 0x55eb
movq (%r15), %rax
testl $0x3003, %eax           # imm = 0x3003
je 0x2adaf
testb $0x40, %al
je 0x2ad6c
leaq 0x1edf0(%rip), %rdi     # 0x49b49
movq 0x10(%rsp), %rsi
movl 0xc(%rsp), %edx
xorl %eax, %eax
callq 0x3120
addl %eax, %r13d
movl %r13d, %ebp
leaq 0x16321(%rip), %rdi     # 0x41097
leaq 0x1eeb4(%rip), %rsi     # 0x49c31
xorl %eax, %eax
callq 0x3120
movl %eax, %r13d
addl %ebp, %r13d
movq (%r15), %rax
testb $0x30, %al
je 0x2adaf
movl $0x5, %edi
callq 0x5716
leaq 0x1f806(%rip), %rdi     # 0x4a5a8
xorl %eax, %eax
callq 0x3120
addl %eax, %r13d
movq (%r15), %rax
testb $0x30, %al
je 0x2adc8
movq 0x28(%r14), %rsi
leaq 0x1db77(%rip), %rdi     # 0x48935
xorl %eax, %eax
callq 0x3120
addl %eax, %r13d
movl %r13d, %edi
callq 0x1707a
movq 0x8(%rbx), %rax
addq $0x18, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq