// File: /workspace/github_c_makefile_star2_O1/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 0x16e94(%rip), %rcx     # 0x410dc
movl $0x4003333, %edi        # imm = 0x4003333
movl %r8d, %edx
callq 0x5605
leaq 0x2df24(%rip), %r15     # 0x58180
movq (%r15), %rax
testl $0x3003, %eax           # imm = 0x3003
je 0x2a2c3
xorl %ebp, %ebp
testb $0x40, %al
je 0x2a285
leaq 0x1f896(%rip), %rdi     # 0x49b09
movq 0x10(%rsp), %rsi
movl 0xc(%rsp), %edx
xorl %eax, %eax
callq 0x3120
movl %eax, %ebp
leaq 0x16e0b(%rip), %rdi     # 0x41097
leaq 0x1f884(%rip), %rsi     # 0x49b17
xorl %eax, %eax
callq 0x3120
movl %eax, %r13d
addl %ebp, %r13d
testb $0x30, (%r15)
je 0x2a2c6
movl $0x9, %edi
callq 0x5730
leaq 0x202b1(%rip), %rdi     # 0x4a568
xorl %eax, %eax
callq 0x3120
addl %eax, %r13d
jmp 0x2a2c6
xorl %r13d, %r13d
testb $0x30, (%r15)
je 0x2a2e0
leaq 0x1f84e(%rip), %rdi     # 0x49b21
movq %r14, %rsi
xorl %eax, %eax
callq 0x3120
addl %eax, %r13d
movl %r13d, %edi
callq 0x16b56
movl %eax, %r13d
movq 0x8(%rbx), %rsi
addq $0x4, %rsi
leaq 0x16de2(%rip), %rcx     # 0x410dc
movl $0x4003333, %edi        # imm = 0x4003333
movl %r12d, %edx
callq 0x5605
movq (%r15), %rax
testl $0x3003, %eax           # imm = 0x3003
je 0x2a36e
testb $0x40, %al
je 0x2a32f
leaq 0x1f7ed(%rip), %rdi     # 0x49b09
movq 0x10(%rsp), %rsi
movl 0xc(%rsp), %edx
xorl %eax, %eax
callq 0x3120
addl %eax, %r13d
movl %r13d, %ebp
leaq 0x16d5e(%rip), %rdi     # 0x41097
leaq 0x18fba(%rip), %rsi     # 0x432fa
xorl %eax, %eax
callq 0x3120
movl %eax, %r13d
addl %ebp, %r13d
testb $0x30, (%r15)
je 0x2a36e
movl $0xb, %edi
callq 0x5730
leaq 0x20204(%rip), %rdi     # 0x4a568
xorl %eax, %eax
callq 0x3120
addl %eax, %r13d
testb $0x30, (%r15)
je 0x2a38f
movzwl 0xa(%r14), %esi
movzwl 0x8(%r14), %edx
leaq 0x1f7a2(%rip), %rdi     # 0x49b27
xorl %eax, %eax
callq 0x3120
addl %eax, %r13d
movl %r13d, %edi
callq 0x16b56
movl %eax, %r13d
movq 0x8(%rbx), %rsi
addq $0x8, %rsi
leaq 0x16d33(%rip), %rcx     # 0x410dc
movl $0x4003333, %edi        # imm = 0x4003333
movl %r12d, %edx
callq 0x5605
movq (%r15), %rax
testl $0x3003, %eax           # imm = 0x3003
je 0x2a41d
testb $0x40, %al
je 0x2a3de
leaq 0x1f73e(%rip), %rdi     # 0x49b09
movq 0x10(%rsp), %rsi
movl 0xc(%rsp), %edx
xorl %eax, %eax
callq 0x3120
addl %eax, %r13d
movl %r13d, %ebp
leaq 0x16caf(%rip), %rdi     # 0x41097
leaq 0x1f7e6(%rip), %rsi     # 0x49bd5
xorl %eax, %eax
callq 0x3120
movl %eax, %r13d
addl %ebp, %r13d
testb $0x30, (%r15)
je 0x2a41d
movl $0xb, %edi
callq 0x5730
leaq 0x20155(%rip), %rdi     # 0x4a568
xorl %eax, %eax
callq 0x3120
addl %eax, %r13d
testb $0x30, (%r15)
je 0x2a438
movq 0x10(%r14), %rsi
leaq 0x1e4c7(%rip), %rdi     # 0x488f5
xorl %eax, %eax
callq 0x3120
addl %eax, %r13d
movl %r13d, %edi
callq 0x16b56
movl %eax, %r13d
movq 0x8(%rbx), %rsi
addq $0xc, %rsi
leaq 0x16c8a(%rip), %rcx     # 0x410dc
movl $0x4003333, %edi        # imm = 0x4003333
movl %r12d, %edx
callq 0x5605
movq (%r15), %rax
testl $0x3003, %eax           # imm = 0x3003
je 0x2a4c6
testb $0x40, %al
je 0x2a487
leaq 0x1f695(%rip), %rdi     # 0x49b09
movq 0x10(%rsp), %rsi
movl 0xc(%rsp), %edx
xorl %eax, %eax
callq 0x3120
addl %eax, %r13d
movl %r13d, %ebp
leaq 0x16c06(%rip), %rdi     # 0x41097
leaq 0x1f745(%rip), %rsi     # 0x49bdd
xorl %eax, %eax
callq 0x3120
movl %eax, %r13d
addl %ebp, %r13d
testb $0x30, (%r15)
je 0x2a4c6
movl $0x8, %edi
callq 0x5730
leaq 0x200ac(%rip), %rdi     # 0x4a568
xorl %eax, %eax
callq 0x3120
addl %eax, %r13d
testb $0x30, (%r15)
je 0x2a4e1
movq 0x18(%r14), %rsi
leaq 0x1e41e(%rip), %rdi     # 0x488f5
xorl %eax, %eax
callq 0x3120
addl %eax, %r13d
movl %r13d, %edi
callq 0x16b56
movl %eax, %r13d
movq 0x8(%rbx), %rsi
addq $0x10, %rsi
leaq 0x16be1(%rip), %rcx     # 0x410dc
movl $0x4003333, %edi        # imm = 0x4003333
movl %r12d, %edx
callq 0x5605
movq (%r15), %rax
testl $0x3003, %eax           # imm = 0x3003
je 0x2a56f
testb $0x40, %al
je 0x2a530
leaq 0x1f5ec(%rip), %rdi     # 0x49b09
movq 0x10(%rsp), %rsi
movl 0xc(%rsp), %edx
xorl %eax, %eax
callq 0x3120
addl %eax, %r13d
movl %r13d, %ebp
leaq 0x16b5d(%rip), %rdi     # 0x41097
leaq 0x1f6a7(%rip), %rsi     # 0x49be8
xorl %eax, %eax
callq 0x3120
movl %eax, %r13d
addl %ebp, %r13d
testb $0x30, (%r15)
je 0x2a56f
movl $0xa, %edi
callq 0x5730
leaq 0x20003(%rip), %rdi     # 0x4a568
xorl %eax, %eax
callq 0x3120
addl %eax, %r13d
testb $0x30, (%r15)
je 0x2a58a
movq 0x20(%r14), %rsi
leaq 0x1e375(%rip), %rdi     # 0x488f5
xorl %eax, %eax
callq 0x3120
addl %eax, %r13d
movl %r13d, %edi
callq 0x16b56
movl %eax, %r13d
movq 0x8(%rbx), %rsi
addq $0x14, %rsi
leaq 0x16b38(%rip), %rcx     # 0x410dc
movl $0x4003333, %edi        # imm = 0x4003333
movl %r12d, %edx
callq 0x5605
movq (%r15), %rax
testl $0x3003, %eax           # imm = 0x3003
je 0x2a618
testb $0x40, %al
je 0x2a5d9
leaq 0x1f543(%rip), %rdi     # 0x49b09
movq 0x10(%rsp), %rsi
movl 0xc(%rsp), %edx
xorl %eax, %eax
callq 0x3120
addl %eax, %r13d
movl %r13d, %ebp
leaq 0x16ab4(%rip), %rdi     # 0x41097
leaq 0x1f607(%rip), %rsi     # 0x49bf1
xorl %eax, %eax
callq 0x3120
movl %eax, %r13d
addl %ebp, %r13d
testb $0x30, (%r15)
je 0x2a618
movl $0x5, %edi
callq 0x5730
leaq 0x1ff5a(%rip), %rdi     # 0x4a568
xorl %eax, %eax
callq 0x3120
addl %eax, %r13d
testb $0x30, (%r15)
je 0x2a633
movq 0x28(%r14), %rsi
leaq 0x1e2cc(%rip), %rdi     # 0x488f5
xorl %eax, %eax
callq 0x3120
addl %eax, %r13d
movl %r13d, %edi
callq 0x16b56
movq 0x8(%rbx), %rax
addq $0x18, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq