// File: /workspace/github_c_makefile_star2_O0/hfiguiere[P]exifprobe/x3f.c
// Function: print_property
void
print_property(FILE *inptr,unsigned short byteorder,unsigned long name_offset,
                        unsigned long value_offset,unsigned long char_format,
                        char *dirname,int index,int indent)
{
    int chpr = 0;
    int i = 0;
    int ch;

    if(inptr)
    {
        clearerr(inptr);
        if(fseek(inptr,name_offset,SEEK_SET) == 0)
        {
            if((PRINT_SECTION) && (PRINT_VALUE_AT_OFFSET))
            {
                print_tag_address(ENTRY,name_offset,indent + SMALLINDENT,"@");
                if((PRINT_TAGINFO))
                {
                    if((PRINT_LONGNAMES))
                        chpr += printf("%s.Data.",dirname);
                    chpr += printf("Name.%-2d",index);
                    if((PRINT_VALUE))
                    {
                        putindent(X3FTAGWIDTH - 17);
                        chpr += printf(" = ");
                    }
                }
                if((PRINT_VALUE))
                {
                    while((ch = read_ushort(inptr,byteorder,HERE)))
                    {
                        if((PRINT_UNICODE))
                            fwrite((char *)&ch,2,1,stdout);
                        else
                            putchar(ch);
                        ++chpr;
                    }
                }
            }
            else
            {
                print_tag_address(ENTRY,name_offset,indent + SMALLINDENT,"@");
                if((PRINT_TAGINFO))
                {
                    if((PRINT_LONGNAMES))
                        chpr += printf("%s.Data.",dirname);
                    i = 0;
                    while((ch = read_ushort(inptr,byteorder,HERE)))
                    {
                        if((PRINT_UNICODE))
                            fwrite((char *)&ch,2,1,stdout);
                        else
                            putchar(ch);
                        ++chpr;
                        ++i;
                    }
                    if((PRINT_VALUE))
                    {
                        putindent(X3FTAGWIDTH - i - 6);
                        chpr += printf(" = ");
                    }
                }
            }
        }
        if((PRINT_SECTION) && (PRINT_VALUE_AT_OFFSET))
            chpr = newline(chpr);
        if(fseek(inptr,value_offset,SEEK_SET) == 0)
        {
            if((PRINT_SECTION) && (PRINT_VALUE_AT_OFFSET))
            {
                print_tag_address(ENTRY,value_offset,indent + SMALLINDENT,"@");
                if((PRINT_TAGINFO))
                {
                    if((PRINT_LONGNAMES))
                        chpr += printf("%s.",dirname);
                    chpr += printf("Value.%-2d",index);
                    if((PRINT_VALUE))
                    {
                        putindent(X3FTAGWIDTH - 18);
                        chpr += printf(" = ");
                    }
                }
                if((PRINT_VALUE))
                {
                    while((ch = read_ushort(inptr,byteorder,HERE)))
                    {
                        if((PRINT_UNICODE))
                            fwrite((char *)&ch,2,1,stdout);
                        else
                            putchar(ch & 0xff);
                        ++chpr;
                    }
                }
            }
            else if((PRINT_VALUE))
            {
                while((ch = read_ushort(inptr,byteorder,HERE)))
                {
                    if((PRINT_UNICODE))
                        fwrite((char *)&ch,2,1,stdout);
                    else
                        putchar(ch & 0xff);
                    ++chpr;
                }
            }
        }
        chpr = newline(chpr);
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movw %si, %ax
movl 0x18(%rbp), %esi
movl 0x10(%rbp), %esi
movq %rdi, -0x8(%rbp)
movw %ax, -0xa(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq %r8, -0x28(%rbp)
movq %r9, -0x30(%rbp)
movl $0x0, -0x34(%rbp)
movl $0x0, -0x38(%rbp)
cmpq $0x0, -0x8(%rbp)
je 0x3e3c7
movq -0x8(%rbp), %rdi
callq 0x31a0
movq -0x8(%rbp), %rdi
movq -0x18(%rbp), %rsi
xorl %edx, %edx
callq 0x3200
cmpl $0x0, %eax
jne 0x3e185
leaq 0x39266(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x40000, %rax          # imm = 0x40000
cmpq $0x0, %rax
je 0x3e071
leaq 0x3924c(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x1000000, %rax        # imm = 0x1000000
cmpq $0x0, %rax
je 0x3e071
movq -0x18(%rbp), %rsi
movl 0x18(%rbp), %edx
addl $0x2, %edx
movl $0x4003333, %edi        # imm = 0x4003333
leaq 0x2617f(%rip), %rcx     # 0x640dc
callq 0x5ed0
leaq 0x39217(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x3003, %rax           # imm = 0x3003
cmpq $0x0, %rax
je 0x3dfef
leaq 0x39201(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x40, %rax
cmpq $0x0, %rax
je 0x3dfa4
movq -0x30(%rbp), %rsi
leaq 0x2e70b(%rip), %rdi     # 0x6c6a2
movb $0x0, %al
callq 0x3110
addl -0x34(%rbp), %eax
movl %eax, -0x34(%rbp)
movl 0x10(%rbp), %esi
leaq 0x2e6fd(%rip), %rdi     # 0x6c6ab
movb $0x0, %al
callq 0x3110
addl -0x34(%rbp), %eax
movl %eax, -0x34(%rbp)
leaq 0x391be(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x30, %rax
cmpq $0x0, %rax
je 0x3dfed
movl $0x1, %edi
callq 0x60e0
leaq 0x2ed38(%rip), %rdi     # 0x6cd18
movb $0x0, %al
callq 0x3110
addl -0x34(%rbp), %eax
movl %eax, -0x34(%rbp)
jmp 0x3dfef
leaq 0x3918a(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x30, %rax
cmpq $0x0, %rax
je 0x3e06c
jmp 0x3e005
movq -0x8(%rbp), %rdi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
movzwl -0xa(%rbp), %esi
callq 0x4480
movzwl %ax, %eax
movl %eax, -0x3c(%rbp)
cmpl $0x0, %eax
je 0x3e06a
leaq 0x39157(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x4000, %rax           # imm = 0x4000
cmpq $0x0, %rax
je 0x3e057
movq 0x38f89(%rip), %rax     # 0x76fc8
movq (%rax), %rcx
leaq -0x3c(%rbp), %rdi
movl $0x2, %esi
movl $0x1, %edx
callq 0x3290
jmp 0x3e05f
movl -0x3c(%rbp), %edi
callq 0x3050
movl -0x34(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x34(%rbp)
jmp 0x3e005
jmp 0x3e06c
jmp 0x3e183
movq -0x18(%rbp), %rsi
movl 0x18(%rbp), %edx
addl $0x2, %edx
movl $0x4003333, %edi        # imm = 0x4003333
leaq 0x26055(%rip), %rcx     # 0x640dc
callq 0x5ed0
leaq 0x390ed(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x3003, %rax           # imm = 0x3003
cmpq $0x0, %rax
je 0x3e181
leaq 0x390d3(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x40, %rax
cmpq $0x0, %rax
je 0x3e0d2
movq -0x30(%rbp), %rsi
leaq 0x2e5dd(%rip), %rdi     # 0x6c6a2
movb $0x0, %al
callq 0x3110
addl -0x34(%rbp), %eax
movl %eax, -0x34(%rbp)
movl $0x0, -0x38(%rbp)
movq -0x8(%rbp), %rdi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
movzwl -0xa(%rbp), %esi
callq 0x4480
movzwl %ax, %eax
movl %eax, -0x3c(%rbp)
cmpl $0x0, %eax
je 0x3e147
leaq 0x39083(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x4000, %rax           # imm = 0x4000
cmpq $0x0, %rax
je 0x3e12b
movq 0x38eb5(%rip), %rax     # 0x76fc8
movq (%rax), %rcx
leaq -0x3c(%rbp), %rdi
movl $0x2, %esi
movl $0x1, %edx
callq 0x3290
jmp 0x3e133
movl -0x3c(%rbp), %edi
callq 0x3050
movl -0x34(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x34(%rbp)
movl -0x38(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x38(%rbp)
jmp 0x3e0d9
leaq 0x39032(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x30, %rax
cmpq $0x0, %rax
je 0x3e17f
movl $0x12, %edi
subl -0x38(%rbp), %edi
subl $0x6, %edi
callq 0x60e0
leaq 0x2eba6(%rip), %rdi     # 0x6cd18
movb $0x0, %al
callq 0x3110
addl -0x34(%rbp), %eax
movl %eax, -0x34(%rbp)
jmp 0x3e181
jmp 0x3e183
jmp 0x3e185
leaq 0x38ff4(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x40000, %rax          # imm = 0x40000
cmpq $0x0, %rax
je 0x3e1bc
leaq 0x38fde(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x1000000, %rax        # imm = 0x1000000
cmpq $0x0, %rax
je 0x3e1bc
movl -0x34(%rbp), %edi
callq 0x1ef50
movl %eax, -0x34(%rbp)
movq -0x8(%rbp), %rdi
movq -0x20(%rbp), %rsi
xorl %edx, %edx
callq 0x3200
cmpl $0x0, %eax
jne 0x3e3bc
leaq 0x38fa5(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x40000, %rax          # imm = 0x40000
cmpq $0x0, %rax
je 0x3e335
leaq 0x38f8b(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x1000000, %rax        # imm = 0x1000000
cmpq $0x0, %rax
je 0x3e335
movq -0x20(%rbp), %rsi
movl 0x18(%rbp), %edx
addl $0x2, %edx
movl $0x4003333, %edi        # imm = 0x4003333
leaq 0x25ebe(%rip), %rcx     # 0x640dc
callq 0x5ed0
leaq 0x38f56(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x3003, %rax           # imm = 0x3003
cmpq $0x0, %rax
je 0x3e2ad
leaq 0x38f40(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x40, %rax
cmpq $0x0, %rax
je 0x3e265
movq -0x30(%rbp), %rsi
leaq 0x29921(%rip), %rdi     # 0x67b79
movb $0x0, %al
callq 0x3110
addl -0x34(%rbp), %eax
movl %eax, -0x34(%rbp)
movl 0x10(%rbp), %esi
leaq 0x2e446(%rip), %rdi     # 0x6c6b5
movb $0x0, %al
callq 0x3110
addl -0x34(%rbp), %eax
movl %eax, -0x34(%rbp)
leaq 0x38efd(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x30, %rax
cmpq $0x0, %rax
je 0x3e2ab
xorl %edi, %edi
callq 0x60e0
leaq 0x2ea7a(%rip), %rdi     # 0x6cd18
movb $0x0, %al
callq 0x3110
addl -0x34(%rbp), %eax
movl %eax, -0x34(%rbp)
jmp 0x3e2ad
leaq 0x38ecc(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x30, %rax
cmpq $0x0, %rax
je 0x3e330
jmp 0x3e2c3
movq -0x8(%rbp), %rdi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
movzwl -0xa(%rbp), %esi
callq 0x4480
movzwl %ax, %eax
movl %eax, -0x3c(%rbp)
cmpl $0x0, %eax
je 0x3e32e
leaq 0x38e99(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x4000, %rax           # imm = 0x4000
cmpq $0x0, %rax
je 0x3e315
movq 0x38ccb(%rip), %rax     # 0x76fc8
movq (%rax), %rcx
leaq -0x3c(%rbp), %rdi
movl $0x2, %esi
movl $0x1, %edx
callq 0x3290
jmp 0x3e323
movl -0x3c(%rbp), %edi
andl $0xff, %edi
callq 0x3050
movl -0x34(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x34(%rbp)
jmp 0x3e2c3
jmp 0x3e330
jmp 0x3e3ba
leaq 0x38e44(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x30, %rax
cmpq $0x0, %rax
je 0x3e3b8
jmp 0x3e34b
movq -0x8(%rbp), %rdi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
movzwl -0xa(%rbp), %esi
callq 0x4480
movzwl %ax, %eax
movl %eax, -0x3c(%rbp)
cmpl $0x0, %eax
je 0x3e3b6
leaq 0x38e11(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x4000, %rax           # imm = 0x4000
cmpq $0x0, %rax
je 0x3e39d
movq 0x38c43(%rip), %rax     # 0x76fc8
movq (%rax), %rcx
leaq -0x3c(%rbp), %rdi
movl $0x2, %esi
movl $0x1, %edx
callq 0x3290
jmp 0x3e3ab
movl -0x3c(%rbp), %edi
andl $0xff, %edi
callq 0x3050
movl -0x34(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x34(%rbp)
jmp 0x3e34b
jmp 0x3e3b8
jmp 0x3e3ba
jmp 0x3e3bc
movl -0x34(%rbp), %edi
callq 0x1ef50
movl %eax, -0x34(%rbp)
addq $0x40, %rsp
popq %rbp
retq
nopl (%rax)