// File: /workspace/github_c_makefile_star2_O0/hfiguiere[P]exifprobe/maker_epson.c
// Function: epson1_offset_makervalue
void
epson1_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;
    unsigned long dumplength;
    unsigned long max_offset = 0;
    unsigned short marker;
    char *nameoftag;
    char *fulldirname = NULL;
    int status = 0;
    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 0x020a:    /* MakerNote version of UserComment   */
                if(at_offset)
                {
                    print_tag_address(ENTRY,value_offset,indent,prefix);
                    print_makertagid(entry_ptr,23," = ",make,model);
                }
                if((PRINT_VALUE))
                {
                    if((PRINT_OFFSET) && !at_offset)
                            chpr += printf(" = ");
                    print_user_comment(inptr,entry_ptr->count,value_offset,byteorder);
                }
                break;
            case 0x0209:    /* CameraId                           */
                if(at_offset)
                {
                    print_tag_address(ENTRY,value_offset,indent,prefix);
                    print_makertagid(entry_ptr,23," = ",make,model);
                }
                if((PRINT_VALUE))
                {
                    if((PRINT_OFFSET) && !at_offset)
                        chpr += printf(" = ");
                    print_ascii(inptr,entry_ptr->count,value_offset);
                }
                break;
            case 0x0301:
                /* This is an odd one. Overwrite the values for       */
                /* offset and length, then fall through and display   */
                /* the thumbnail.                                     */
                /* Why didn't they just do this as an UNDEFINED       */
                /* section?                                           */
                value_offset = read_ulong(inptr,byteorder,value_offset);
                count = read_ulong(inptr,byteorder,HERE);
                if(at_offset && (PRINT_SECTION))
                {
                    print_tag_address(SECTION,fileoffset_base + entry_ptr->value,
                                                            indent,prefix);
                    print_makertagid(entry_ptr,23," = ",make,model);
                    if((PRINT_VALUE))
                        chpr += printf("@%lu:%lu",value_offset,count);
                    chpr = newline(chpr);
                }
                else if((LIST_MODE) && !at_offset)
                {
                    if((PRINT_VALUE))
                    {
                        if(!(PRINT_OFFSET))
                            chpr += printf("@%lu",fileoffset_base + entry_ptr->value);
                    }
                    chpr = newline(chpr);
                    /* In list mode, when SECTIONS are not printed,   */
                    /* provide these items as "pseudotags".           */
                    print_tag_address(ENTRY,value_offset,indent,prefix);
                    if((PRINT_TAGINFO))
                    {
                        if((PRINT_LONGNAMES))
                            chpr += printf("%s.",fulldirname);
                        chpr += printf("%-*.*s",9,9,"Offset");
                    }
                    if((PRINT_VALUE))
                    {
                        if((PRINT_OFFSET))
                        {
                            if(PRINT_BOTH_OFFSET)
                                chpr += printf(" = @%#lx=%lu",value_offset,value_offset);
                            else if(PRINT_HEX_OFFSET)
                                chpr += printf(" = @%#lx",value_offset);
                            else if(PRINT_DEC_OFFSET)
                                chpr += printf(" = @%lu",value_offset);
                        }
                        else
                            chpr += printf(" = @%lu",value_offset);
                    }

                    chpr = newline(chpr);
                    print_tag_address(ENTRY,value_offset,indent,prefix);
                    if((PRINT_TAGINFO))
                    {
                        if((PRINT_LONGNAMES))
                            chpr += printf("%s.",fulldirname);
                        chpr += printf("%-*.*s",9,9,"Length");
                    }
                    if((PRINT_VALUE))
                        chpr += printf(" = %lu",count);
                }
                /* fall through and process the thumbnail             */
            case 0x0100: /* Jpeg Thumbnail                            */
                if(at_offset && (PRINT_SECTION))
                {
                    print_tag_address(VALUE_AT_OFFSET,value_offset,indent,prefix);
                    chpr += printf("# Start of JPEG Thumbnail from MakerNote");
                    chpr += printf(" length %ld",count); 
                }
                else if(!at_offset && (PRINT_VALUE) && (entry_ptr->tag == 0x0100))
                {
                    if(!(PRINT_OFFSET))
                        chpr += printf("@%lu:%lu",value_offset,entry_ptr->count);
                    else
                        chpr = printf("length %lu", entry_ptr->count);
                }
                if((PRINT_SECTION) || (PRINT_SEGMENT))
                    chpr = newline(chpr);
                marker = read_ushort(inptr,TIFF_MOTOROLA,value_offset);
                max_offset = process_jpeg_segments(inptr,value_offset,marker,
                                    count,summary_entry,fulldirname,
                                    prefix,indent+SMALLINDENT);
                if(at_offset)
                {
                    if((PRINT_SECTION))
                    {
                        if((status = jpeg_status(0) == JPEG_EARLY_EOI))
                            chpr = newline(chpr);
                        jpeg_status(status);
                        print_tag_address(VALUE_AT_OFFSET,value_offset + count - 1,
                                                    indent,prefix);
                        chpr += printf("# End of JPEG Thumbnail from MakerNote");
                        if((PRINT_ENTRY) && !(PRINT_VALUE))
                            chpr = newline(chpr);
                    }
                }
                print_jpeg_status();
                if(marker && summary_entry)
                { 
                    /* The new one is on the end of the chain         */
                    if((summary_entry = last_summary_entry(summary_entry)))
                    {
                        summary_entry->filesubformat |= FILESUBFMT_MNOTE;
                        summary_entry->datatype = MAKER_IFD;
                        summary_entry->subfiletype = THUMBNAIL_TYPE;
                    }
                }
                /* make certain we're at the end                      */
                clearerr(inptr);
                fseek(inptr,value_offset + count,SEEK_SET);
                break;
            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;
            case 0x0f00:    /* Data                               */
                if(at_offset && (PRINT_ENTRY))
                {
                    print_tag_address(ENTRY,value_offset,indent,prefix);
                    print_makertagid(entry_ptr,23," : ",make,model);
                    chpr += printf("length %lu", count);
                    if(Max_undefined == 0)
                    {
                        if(chpr)
                            printred(" (not dumped, use -U)");
                    }
                    else
                    {
                        if((Max_undefined == DUMPALL) || (Max_undefined > count))
                            dumplength = count;
                        else 
                            dumplength = Max_undefined;
                        chpr = newline(chpr);
                        hexdump(inptr,value_offset,count,dumplength,12,
                                    indent,SUBINDENT);
                        chpr = newline(1);
                    }
                }
                else if(!at_offset && (PRINT_VALUE))
                {
                    if(!(PRINT_OFFSET))
                        chpr += printf("@%lu:%lu",value_offset,entry_ptr->count);
                    else
                        chpr = printf("length %lu", entry_ptr->count);
                    if(!(PRINT_VALUE_AT_OFFSET))
                        chpr += printf(" # UNDEFINED");
                }
                /* make certain we're at the end                      */
                fseek(inptr,value_offset + count,SEEK_SET);
                break;
            default:
                print_generic_offset_makervalue(inptr,byteorder,entry_ptr,
                                        fileoffset_base,fulldirname,prefix,indent,
                                        make,model,at_offset);
                break;
        }
        if(fulldirname)
            free(fulldirname);
    }
    setcharsprinted(chpr);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
subq $0x98, %rsp
movw %si, %ax
movl 0x30(%rbp), %esi
movl 0x28(%rbp), %esi
movl 0x20(%rbp), %esi
movl 0x18(%rbp), %esi
movq 0x10(%rbp), %rsi
movq %rdi, -0x10(%rbp)
movw %ax, -0x12(%rbp)
movq %rdx, -0x20(%rbp)
movq %rcx, -0x28(%rbp)
movq %r8, -0x30(%rbp)
movq %r9, -0x38(%rbp)
movq $0x0, -0x58(%rbp)
movq $0x0, -0x70(%rbp)
movl $0x0, -0x74(%rbp)
movl $0x0, -0x78(%rbp)
cmpq $0x0, -0x20(%rbp)
je 0x42356
movq -0x20(%rbp), %rax
movzwl (%rax), %edi
movl 0x20(%rbp), %esi
movl 0x28(%rbp), %edx
callq 0x28160
movq %rax, -0x68(%rbp)
movq -0x38(%rbp), %rdi
movq -0x68(%rbp), %rdx
leaq 0x2305d(%rip), %rsi     # 0x64962
callq 0x20960
movq %rax, -0x70(%rbp)
movq -0x28(%rbp), %rax
movq -0x20(%rbp), %rcx
movq 0x10(%rcx), %rcx
addq %rcx, %rax
movq %rax, -0x40(%rbp)
movq -0x20(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, -0x48(%rbp)
movq -0x20(%rbp), %rax
movzwl (%rax), %eax
movl %eax, -0x7c(%rbp)
subl $0x100, %eax            # imm = 0x100
je 0x41e18
jmp 0x41944
movl -0x7c(%rbp), %eax
subl $0x209, %eax            # imm = 0x209
je 0x41a2c
jmp 0x41954
movl -0x7c(%rbp), %eax
subl $0x20a, %eax            # imm = 0x20A
je 0x41993
jmp 0x41960
movl -0x7c(%rbp), %eax
subl $0x301, %eax            # imm = 0x301
je 0x41ac1
jmp 0x41970
movl -0x7c(%rbp), %eax
subl $0xe00, %eax            # imm = 0xE00
je 0x420af
jmp 0x41980
movl -0x7c(%rbp), %eax
subl $0xf00, %eax            # imm = 0xF00
je 0x42149
jmp 0x42305
cmpl $0x0, 0x30(%rbp)
je 0x419ca
movq -0x40(%rbp), %rsi
movl 0x18(%rbp), %edx
movq 0x10(%rbp), %rcx
movl $0x4003333, %edi        # imm = 0x4003333
callq 0x5ed0
movq -0x20(%rbp), %rdi
movl 0x20(%rbp), %ecx
movl 0x28(%rbp), %r8d
movl $0x17, %esi
leaq 0x2b353(%rip), %rdx     # 0x6cd18
callq 0x23e20
leaq 0x357af(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x30, %rax
cmpq $0x0, %rax
je 0x41a27
leaq 0x3579b(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x300, %rax            # imm = 0x300
cmpq $0x0, %rax
je 0x41a0e
cmpl $0x0, 0x30(%rbp)
jne 0x41a0e
leaq 0x2b317(%rip), %rdi     # 0x6cd18
movb $0x0, %al
callq 0x3110
addl -0x78(%rbp), %eax
movl %eax, -0x78(%rbp)
movq -0x10(%rbp), %rdi
movq -0x20(%rbp), %rax
movq 0x8(%rax), %rsi
movq -0x40(%rbp), %rdx
movzwl -0x12(%rbp), %ecx
callq 0x82f0
jmp 0x42344
cmpl $0x0, 0x30(%rbp)
je 0x41a63
movq -0x40(%rbp), %rsi
movl 0x18(%rbp), %edx
movq 0x10(%rbp), %rcx
movl $0x4003333, %edi        # imm = 0x4003333
callq 0x5ed0
movq -0x20(%rbp), %rdi
movl 0x20(%rbp), %ecx
movl 0x28(%rbp), %r8d
movl $0x17, %esi
leaq 0x2b2ba(%rip), %rdx     # 0x6cd18
callq 0x23e20
leaq 0x35716(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x30, %rax
cmpq $0x0, %rax
je 0x41abc
leaq 0x35702(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x300, %rax            # imm = 0x300
cmpq $0x0, %rax
je 0x41aa7
cmpl $0x0, 0x30(%rbp)
jne 0x41aa7
leaq 0x2b27e(%rip), %rdi     # 0x6cd18
movb $0x0, %al
callq 0x3110
addl -0x78(%rbp), %eax
movl %eax, -0x78(%rbp)
movq -0x10(%rbp), %rdi
movq -0x20(%rbp), %rax
movq 0x8(%rax), %rsi
movq -0x40(%rbp), %rdx
callq 0x8e70
jmp 0x42344
movq -0x10(%rbp), %rdi
movw -0x12(%rbp), %ax
movq -0x40(%rbp), %rdx
movzwl %ax, %esi
callq 0x4610
movq %rax, -0x40(%rbp)
movq -0x10(%rbp), %rdi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
movzwl -0x12(%rbp), %esi
callq 0x4610
movq %rax, -0x48(%rbp)
cmpl $0x0, 0x30(%rbp)
je 0x41b88
leaq 0x35680(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x40000, %rax          # imm = 0x40000
cmpq $0x0, %rax
je 0x41b88
movq -0x28(%rbp), %rsi
movq -0x20(%rbp), %rax
addq 0x10(%rax), %rsi
movl 0x18(%rbp), %edx
movq 0x10(%rbp), %rcx
movl $0x40000, %edi          # imm = 0x40000
callq 0x5ed0
movq -0x20(%rbp), %rdi
movl 0x20(%rbp), %ecx
movl 0x28(%rbp), %r8d
movl $0x17, %esi
leaq 0x2b1d5(%rip), %rdx     # 0x6cd18
callq 0x23e20
leaq 0x35631(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x30, %rax
cmpq $0x0, %rax
je 0x41b78
movq -0x40(%rbp), %rsi
movq -0x48(%rbp), %rdx
leaq 0x25cc9(%rip), %rdi     # 0x67834
movb $0x0, %al
callq 0x3110
addl -0x78(%rbp), %eax
movl %eax, -0x78(%rbp)
movl -0x78(%rbp), %edi
callq 0x1ef50
movl %eax, -0x78(%rbp)
jmp 0x41e16
leaq 0x355f1(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x1040000, %rax        # imm = 0x1040000
cmpq $0x0, %rax
jne 0x41e14
cmpl $0x0, 0x30(%rbp)
jne 0x41e14
leaq 0x355cd(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x30, %rax
cmpq $0x0, %rax
je 0x41bf8
leaq 0x355b9(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x300, %rax            # imm = 0x300
cmpq $0x0, %rax
jne 0x41bf6
movq -0x28(%rbp), %rsi
movq -0x20(%rbp), %rax
addq 0x10(%rax), %rsi
leaq 0x291a2(%rip), %rdi     # 0x6ad8b
movb $0x0, %al
callq 0x3110
addl -0x78(%rbp), %eax
movl %eax, -0x78(%rbp)
jmp 0x41bf8
movl -0x78(%rbp), %edi
callq 0x1ef50
movl %eax, -0x78(%rbp)
movq -0x40(%rbp), %rsi
movl 0x18(%rbp), %edx
movq 0x10(%rbp), %rcx
movl $0x4003333, %edi        # imm = 0x4003333
callq 0x5ed0
leaq 0x35561(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x3003, %rax           # imm = 0x3003
cmpq $0x0, %rax
je 0x41c7c
leaq 0x3554b(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x40, %rax
cmpq $0x0, %rax
je 0x41c5a
movq -0x70(%rbp), %rsi
leaq 0x25f2c(%rip), %rdi     # 0x67b79
movb $0x0, %al
callq 0x3110
addl -0x78(%rbp), %eax
movl %eax, -0x78(%rbp)
leaq 0x2943b(%rip), %rdi     # 0x6b09c
movl $0x9, %edx
leaq 0x2a263(%rip), %rcx     # 0x6bed0
movl %edx, %esi
movb $0x0, %al
callq 0x3110
addl -0x78(%rbp), %eax
movl %eax, -0x78(%rbp)
leaq 0x354fd(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x30, %rax
cmpq $0x0, %rax
je 0x41d62
leaq 0x354e5(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x300, %rax            # imm = 0x300
cmpq $0x0, %rax
je 0x41d48
leaq 0x354cb(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x300, %rax            # imm = 0x300
cmpq $0x300, %rax            # imm = 0x300
jne 0x41ce4
movq -0x40(%rbp), %rsi
movq -0x40(%rbp), %rdx
leaq 0x25c07(%rip), %rdi     # 0x678dc
movb $0x0, %al
callq 0x3110
addl -0x78(%rbp), %eax
movl %eax, -0x78(%rbp)
jmp 0x41d46
leaq 0x35495(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x100, %rax            # imm = 0x100
cmpq $0x0, %rax
je 0x41d14
movq -0x40(%rbp), %rsi
leaq 0x25be4(%rip), %rdi     # 0x678e9
movb $0x0, %al
callq 0x3110
addl -0x78(%rbp), %eax
movl %eax, -0x78(%rbp)
jmp 0x41d44
leaq 0x35465(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x200, %rax            # imm = 0x200
cmpq $0x0, %rax
je 0x41d42
movq -0x40(%rbp), %rsi
leaq 0x29053(%rip), %rdi     # 0x6ad88
movb $0x0, %al
callq 0x3110
addl -0x78(%rbp), %eax
movl %eax, -0x78(%rbp)
jmp 0x41d44
jmp 0x41d46
jmp 0x41d60
movq -0x40(%rbp), %rsi
leaq 0x29035(%rip), %rdi     # 0x6ad88
movb $0x0, %al
callq 0x3110
addl -0x78(%rbp), %eax
movl %eax, -0x78(%rbp)
jmp 0x41d62
movl -0x78(%rbp), %edi
callq 0x1ef50
movl %eax, -0x78(%rbp)
movq -0x40(%rbp), %rsi
movl 0x18(%rbp), %edx
movq 0x10(%rbp), %rcx
movl $0x4003333, %edi        # imm = 0x4003333
callq 0x5ed0
leaq 0x353f7(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x3003, %rax           # imm = 0x3003
cmpq $0x0, %rax
je 0x41de6
leaq 0x353e1(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x40, %rax
cmpq $0x0, %rax
je 0x41dc4
movq -0x70(%rbp), %rsi
leaq 0x25dc2(%rip), %rdi     # 0x67b79
movb $0x0, %al
callq 0x3110
addl -0x78(%rbp), %eax
movl %eax, -0x78(%rbp)
leaq 0x292d1(%rip), %rdi     # 0x6b09c
movl $0x9, %edx
leaq 0x2a106(%rip), %rcx     # 0x6bedd
movl %edx, %esi
movb $0x0, %al
callq 0x3110
addl -0x78(%rbp), %eax
movl %eax, -0x78(%rbp)
leaq 0x35393(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x30, %rax
cmpq $0x0, %rax
je 0x41e12
movq -0x48(%rbp), %rsi
leaq 0x222c6(%rip), %rdi     # 0x640cb
movb $0x0, %al
callq 0x3110
addl -0x78(%rbp), %eax
movl %eax, -0x78(%rbp)
jmp 0x41e14
jmp 0x41e16
jmp 0x41e18
cmpl $0x0, 0x30(%rbp)
je 0x41e77
leaq 0x3535b(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x40000, %rax          # imm = 0x40000
cmpq $0x0, %rax
je 0x41e77
movq -0x40(%rbp), %rsi
movl 0x18(%rbp), %edx
movq 0x10(%rbp), %rcx
movl $0x1000000, %edi        # imm = 0x1000000
callq 0x5ed0
leaq 0x2a96c(%rip), %rdi     # 0x6c7bc
movb $0x0, %al
callq 0x3110
addl -0x78(%rbp), %eax
movl %eax, -0x78(%rbp)
movq -0x48(%rbp), %rsi
leaq 0x2a9a4(%rip), %rdi     # 0x6c80c
movb $0x0, %al
callq 0x3110
addl -0x78(%rbp), %eax
movl %eax, -0x78(%rbp)
jmp 0x41ef4
cmpl $0x0, 0x30(%rbp)
jne 0x41ef2
leaq 0x352fc(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x30, %rax
cmpq $0x0, %rax
je 0x41ef2
movq -0x20(%rbp), %rax
movzwl (%rax), %eax
cmpl $0x100, %eax            # imm = 0x100
jne 0x41ef2
leaq 0x352da(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x300, %rax            # imm = 0x300
cmpq $0x0, %rax
jne 0x41ed7
movq -0x40(%rbp), %rsi
movq -0x20(%rbp), %rax
movq 0x8(%rax), %rdx
leaq 0x2596c(%rip), %rdi     # 0x67834
movb $0x0, %al
callq 0x3110
addl -0x78(%rbp), %eax
movl %eax, -0x78(%rbp)
jmp 0x41ef0
movq -0x20(%rbp), %rax
movq 0x8(%rax), %rsi
leaq 0x28dd4(%rip), %rdi     # 0x6acba
movb $0x0, %al
callq 0x3110
movl %eax, -0x78(%rbp)
jmp 0x41ef2
jmp 0x41ef4
leaq 0x35285(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x40000, %rax          # imm = 0x40000
cmpq $0x0, %rax
jne 0x41f20
leaq 0x3526f(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x80000, %rax          # imm = 0x80000
cmpq $0x0, %rax
je 0x41f2b
movl -0x78(%rbp), %edi
callq 0x1ef50
movl %eax, -0x78(%rbp)
movq -0x10(%rbp), %rdi
movq -0x40(%rbp), %rdx
movl $0x4d4d, %esi           # imm = 0x4D4D
callq 0x4480
movw %ax, -0x5a(%rbp)
movq -0x10(%rbp), %rdi
movq -0x40(%rbp), %rsi
movw -0x5a(%rbp), %dx
movq -0x48(%rbp), %rcx
movq -0x30(%rbp), %r8
movq -0x70(%rbp), %r9
movq 0x10(%rbp), %r10
movl 0x18(%rbp), %eax
addl $0x2, %eax
movzwl %dx, %edx
movq %r10, (%rsp)
movl %eax, 0x8(%rsp)
callq 0x17470
movq %rax, -0x58(%rbp)
cmpl $0x0, 0x30(%rbp)
je 0x42036
leaq 0x351f8(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x40000, %rax          # imm = 0x40000
cmpq $0x0, %rax
je 0x42034
xorl %edi, %edi
callq 0x19930
cmpl $0x1, %eax
sete %al
movb %al, %cl
andb $0x1, %cl
movzbl %cl, %ecx
movl %ecx, -0x74(%rbp)
testb $0x1, %al
jne 0x41fb9
jmp 0x41fc4
movl -0x78(%rbp), %edi
callq 0x1ef50
movl %eax, -0x78(%rbp)
movl -0x74(%rbp), %edi
callq 0x19930
movq -0x40(%rbp), %rsi
addq -0x48(%rbp), %rsi
subq $0x1, %rsi
movl 0x18(%rbp), %edx
movq 0x10(%rbp), %rcx
movl $0x1000000, %edi        # imm = 0x1000000
callq 0x5ed0
leaq 0x2a7f5(%rip), %rdi     # 0x6c7e5
movb $0x0, %al
callq 0x3110
addl -0x78(%rbp), %eax
movl %eax, -0x78(%rbp)
leaq 0x3517c(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x4003333, %rax        # imm = 0x4003333
cmpq $0x0, %rax
je 0x42032
leaq 0x35166(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x30, %rax
cmpq $0x0, %rax
jne 0x42032
movl -0x78(%rbp), %edi
callq 0x1ef50
movl %eax, -0x78(%rbp)
jmp 0x42034
jmp 0x42036
movb $0x0, %al
callq 0xba00
movzwl -0x5a(%rbp), %eax
cmpl $0x0, %eax
je 0x4208e
cmpq $0x0, -0x30(%rbp)
je 0x4208e
movq -0x30(%rbp), %rdi
callq 0x15780
movq %rax, -0x30(%rbp)
cmpq $0x0, %rax
je 0x4208c
movq -0x30(%rbp), %rax
movl 0x18(%rax), %ecx
orl $0x100, %ecx            # imm = 0x100
movl %ecx, 0x18(%rax)
movq -0x30(%rbp), %rax
movl $0x5, 0x118(%rax)
movq -0x30(%rbp), %rax
movl $0x2, 0xc4(%rax)
jmp 0x4208e
movq -0x10(%rbp), %rdi
callq 0x31a0
movq -0x10(%rbp), %rdi
movq -0x40(%rbp), %rsi
addq -0x48(%rbp), %rsi
xorl %edx, %edx
callq 0x3200
jmp 0x42344
cmpl $0x0, 0x30(%rbp)
jne 0x42108
leaq 0x350c4(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x30, %rax
cmpq $0x0, %rax
je 0x42108
leaq 0x350b0(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x300, %rax            # imm = 0x300
cmpq $0x0, %rax
jne 0x42106
movq -0x40(%rbp), %rsi
movq -0x48(%rbp), %rdx
leaq 0x25746(%rip), %rdi     # 0x67834
movb $0x0, %al
callq 0x3110
addl -0x78(%rbp), %eax
movl %eax, -0x78(%rbp)
movl -0x78(%rbp), %edi
callq 0x1ef50
movl %eax, -0x78(%rbp)
jmp 0x42108
movq -0x10(%rbp), %rdi
movw -0x12(%rbp), %si
movq -0x20(%rbp), %rax
movq 0x10(%rax), %rdx
movq -0x28(%rbp), %rcx
movq -0x48(%rbp), %r8
movq -0x68(%rbp), %r9
movq -0x38(%rbp), %r11
movq 0x10(%rbp), %r10
movl 0x18(%rbp), %eax
movzwl %si, %esi
movq %r11, (%rsp)
movq %r10, 0x8(%rsp)
movl %eax, 0x10(%rsp)
callq 0x19950
jmp 0x42344
cmpl $0x0, 0x30(%rbp)
je 0x42253
leaq 0x35026(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x4003333, %rax        # imm = 0x4003333
cmpq $0x0, %rax
je 0x42253
movq -0x40(%rbp), %rsi
movl 0x18(%rbp), %edx
movq 0x10(%rbp), %rcx
movl $0x4003333, %edi        # imm = 0x4003333
callq 0x5ed0
movq -0x20(%rbp), %rdi
movl 0x20(%rbp), %ecx
movl 0x28(%rbp), %r8d
movl $0x17, %esi
leaq 0x26c4b(%rip), %rdx     # 0x68de4
callq 0x23e20
movq -0x48(%rbp), %rsi
leaq 0x28b11(%rip), %rdi     # 0x6acba
movb $0x0, %al
callq 0x3110
addl -0x78(%rbp), %eax
movl %eax, -0x78(%rbp)
leaq 0x3624b(%rip), %rax     # 0x78408
cmpq $0x0, (%rax)
jne 0x421d7
cmpl $0x0, -0x78(%rbp)
je 0x421d5
leaq 0x224af(%rip), %rdi     # 0x6467f
callq 0x6860
jmp 0x4224e
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
leaq 0x36225(%rip), %rax     # 0x78408
cmpq %rcx, (%rax)
je 0x421f8
leaq 0x36219(%rip), %rax     # 0x78408
movq (%rax), %rax
cmpq -0x48(%rbp), %rax
jbe 0x42202
movq -0x48(%rbp), %rax
movq %rax, -0x50(%rbp)
jmp 0x42210
leaq 0x361ff(%rip), %rax     # 0x78408
movq (%rax), %rax
movq %rax, -0x50(%rbp)
movl -0x78(%rbp), %edi
callq 0x1ef50
movl %eax, -0x78(%rbp)
movq -0x10(%rbp), %rdi
movq -0x40(%rbp), %rsi
movq -0x48(%rbp), %rdx
movq -0x50(%rbp), %rcx
movl 0x18(%rbp), %r9d
movl $0xc, %r8d
movl $0x2, (%rsp)
callq 0x8aa0
movl $0x1, %edi
callq 0x1ef50
movl %eax, -0x78(%rbp)
jmp 0x422f0
cmpl $0x0, 0x30(%rbp)
jne 0x422ee
leaq 0x34f1c(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x30, %rax
cmpq $0x0, %rax
je 0x422ee
leaq 0x34f08(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x300, %rax            # imm = 0x300
cmpq $0x0, %rax
jne 0x422a9
movq -0x40(%rbp), %rsi
movq -0x20(%rbp), %rax
movq 0x8(%rax), %rdx
leaq 0x2559a(%rip), %rdi     # 0x67834
movb $0x0, %al
callq 0x3110
addl -0x78(%rbp), %eax
movl %eax, -0x78(%rbp)
jmp 0x422c2
movq -0x20(%rbp), %rax
movq 0x8(%rax), %rsi
leaq 0x28a02(%rip), %rdi     # 0x6acba
movb $0x0, %al
callq 0x3110
movl %eax, -0x78(%rbp)
leaq 0x34eb7(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x1000000, %rax        # imm = 0x1000000
cmpq $0x0, %rax
jne 0x422ec
leaq 0x229f2(%rip), %rdi     # 0x64cd1
movb $0x0, %al
callq 0x3110
addl -0x78(%rbp), %eax
movl %eax, -0x78(%rbp)
jmp 0x422ee
jmp 0x422f0
movq -0x10(%rbp), %rdi
movq -0x40(%rbp), %rsi
addq -0x48(%rbp), %rsi
xorl %edx, %edx
callq 0x3200
jmp 0x42344
movq -0x10(%rbp), %rdi
movw -0x12(%rbp), %si
movq -0x20(%rbp), %rdx
movq -0x28(%rbp), %rcx
movq -0x70(%rbp), %r8
movq 0x10(%rbp), %r9
movl 0x18(%rbp), %ebx
movl 0x20(%rbp), %r11d
movl 0x28(%rbp), %r10d
movl 0x30(%rbp), %eax
movzwl %si, %esi
movl %ebx, (%rsp)
movl %r11d, 0x8(%rsp)
movl %r10d, 0x10(%rsp)
movl %eax, 0x18(%rsp)
callq 0x23f60
cmpq $0x0, -0x70(%rbp)
je 0x42354
movq -0x70(%rbp), %rdi
callq 0x3040
jmp 0x42356
movl -0x78(%rbp), %edi
callq 0x1ff00
addq $0x98, %rsp
popq %rbx
popq %rbp
retq
nopl (%rax,%rax)