// File: /workspace/github_c_makefile_star2_O0/hfiguiere[P]exifprobe/maker_canon.c
// Function: canon1_offset_makervalue
void
canon1_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;
    unsigned long count;
    unsigned long max_offset = 0;
    unsigned long filesize = 0UL;
    unsigned short marker;
    char *nameoftag,*tagprefix;
    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;
        filesize = get_filesize(inptr);

        switch(entry_ptr->tag)
        {
            case 0x0001:    /* Camera Settings                        */
                if(at_offset)
                {
                    if((PRINT_SECTION))
                    {
                        print_tag_address(SECTION,value_offset,indent,prefix);
                        chpr += printf("<%s> ",nameoftag);
                        chpr += printf("%lu entries",entry_ptr->count - 1);
                    }
                }
                else if((PRINT_VALUE))
                    chpr += printf("\'%lu entries\'",entry_ptr->count - 1);
                if((PRINT_LONGNAMES))
                    tagprefix = fulldirname;
                else
                    tagprefix = nameoftag;
                setcharsprinted(chpr);
                chpr = 0;
                (void)canon_camera_settings(inptr,byteorder,tagprefix,value_offset,
                                        entry_ptr->count * sizeof(unsigned short),
                                                            indent + MEDIUMINDENT);
                if(PRINT_SECTION)
                {
                    print_tag_address(SECTION,value_offset + (entry_ptr->count * 2) - 1,
                                                            indent,prefix);
                    chpr += printf("</%s> ",nameoftag);
                }
                break;
            case 0x0002:    /* Focus Info                             */
               if(at_offset)
                {
                    if((PRINT_SECTION))
                    {
                        print_tag_address(SECTION,value_offset,indent,prefix);
                        chpr += printf("<%s> ",nameoftag);
                        chpr += printf("%lu entries",entry_ptr->count);
                    }
                }
                else if((PRINT_VALUE))
                    chpr += printf("\'%lu entries\'",entry_ptr->count);
                if((PRINT_LONGNAMES))
                    tagprefix = fulldirname;
                else
                    tagprefix = nameoftag;
                setcharsprinted(chpr);
                chpr = 0;
                (void)canon_focusinfo(inptr,byteorder,tagprefix,value_offset,
                                    entry_ptr->count * sizeof(unsigned short),
                                                            indent + MEDIUMINDENT);
                if(PRINT_SECTION)
                {
                    print_tag_address(SECTION,value_offset + (entry_ptr->count * 2) - 1,
                                                            indent,prefix);
                    chpr += printf("</%s> ",nameoftag);
                }
                break; 
            case 0x0004:    /* Shot Info                              */
                if(at_offset)
                {
                    if((PRINT_SECTION))
                    {
                        print_tag_address(SECTION,value_offset,indent,prefix);
                        chpr += printf("<%s> ",nameoftag);
                        chpr += printf("%lu entries",entry_ptr->count - 1);
                    }
                }
                else if((PRINT_VALUE))
                    chpr += printf("\'%lu entries\'",entry_ptr->count - 1);
                if((PRINT_LONGNAMES))
                    tagprefix = fulldirname;
                else
                    tagprefix = nameoftag;
                setcharsprinted(chpr);
                chpr = 0;
                (void)canon_shotinfo(inptr,byteorder,tagprefix,value_offset,
                                    entry_ptr->count * sizeof(unsigned short),
                                                        indent + MEDIUMINDENT);
                if(PRINT_SECTION)
                {
                    print_tag_address(SECTION,value_offset + (entry_ptr->count * 2) - 1,
                                                            indent,prefix);
                    chpr += printf("</%s> ",nameoftag);
                }
                break;
            case 0x0090:    /* Custom Functions                       */
            case 0x000F:    /* Custom Functions                       */
                if(at_offset)
                {
                    if((PRINT_SECTION))
                    {
                        print_tag_address(SECTION,value_offset,indent,prefix);
                        chpr += printf("<%s> ",nameoftag);
                        chpr += printf("%lu entries",entry_ptr->count - 1);
                    }
                }
                else if((PRINT_VALUE))
                    chpr += printf("\'%lu entries\'",entry_ptr->count - 1);
                if((PRINT_LONGNAMES))
                    tagprefix = fulldirname;
                else
                    tagprefix = nameoftag;
                setcharsprinted(chpr);
                chpr = 0;
                (void)canon_customfunctions(inptr,byteorder,tagprefix,value_offset,
                                        entry_ptr->count * sizeof(unsigned short),
                                        model,indent + MEDIUMINDENT);
                if(PRINT_SECTION)
                {
                    print_tag_address(SECTION,value_offset + (entry_ptr->count * 2) - 1,
                                    indent,prefix);
                    chpr += printf("</%s> ",nameoftag);
                }
                break;
            case 0x00E0:    /* Sensor Info                            */
                if(at_offset)
                {
                    if((PRINT_SECTION))
                    {
                        print_tag_address(SECTION,value_offset,indent,prefix);
                        chpr += printf("<%s> ",nameoftag);
                        chpr += printf("%lu entries",entry_ptr->count - 1);
                    }
                }
                else if((PRINT_VALUE))
                    chpr += printf("\'%lu entries\'",entry_ptr->count - 1);
                if((PRINT_LONGNAMES))
                    tagprefix = fulldirname;
                else
                    tagprefix = nameoftag;
                setcharsprinted(chpr);
                chpr = 0;
                (void)canon_sensorinfo(inptr,byteorder,tagprefix,value_offset,
                                    entry_ptr->count * sizeof(unsigned short),
                                    indent + MEDIUMINDENT);
                if(PRINT_SECTION)
                {
                    print_tag_address(SECTION,value_offset + (entry_ptr->count * 2) - 1,
                                                            indent,prefix);
                    chpr += printf("</%s> ",nameoftag);
                }
                break;
            case 0x0012:    /* Picture Info                           */
                if(at_offset)
                {
                    if((PRINT_SECTION))
                    {
                        print_tag_address(SECTION,value_offset,indent,prefix);
                        chpr += printf("<%s> ",nameoftag);
                        chpr += printf("%lu entries",entry_ptr->count - 1);
                    }
                }
                else if((PRINT_VALUE))
                    chpr += printf("\'%lu entries\'",entry_ptr->count - 1);
                if((PRINT_LONGNAMES))
                    tagprefix = fulldirname;
                else
                    tagprefix = nameoftag;
                setcharsprinted(chpr);
                chpr = 0;
                (void)canon_pictureinfo(inptr,byteorder,tagprefix,value_offset,
                                    entry_ptr->count * sizeof(unsigned short),
                                    indent + MEDIUMINDENT);
                if(PRINT_SECTION)
                {
                    print_tag_address(SECTION,value_offset + (entry_ptr->count * 2) - 1,
                                        indent,prefix);
                    chpr += printf("</%s> ",nameoftag);
                }
                break;
            case 0x0081:    /* JPEG image offset                      */
                if(at_offset && (PRINT_SECTION))
                {
                    print_tag_address(VALUE_AT_OFFSET,value_offset,indent,prefix);
                    chpr += printf("# Start of JPEG image from MakerNote");
                }
                else if(!at_offset && (PRINT_VALUE))
                {
                    if(!(PRINT_OFFSET))
                        chpr += printf("@%lu",value_offset);
                }
                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,
                                    0,summary_entry,fulldirname,
                                    prefix,indent+SMALLINDENT);
                if(at_offset)
                {
                    if((PRINT_SECTION))
                    {
                        if(max_offset == 0UL)
                            max_offset = filesize;
                        if(max_offset)
                        {
                            if((status = jpeg_status(0)) == JPEG_EARLY_EOI)
                                chpr = newline(chpr);
                            jpeg_status(status);
                            print_tag_address(VALUE_AT_OFFSET,max_offset - 1,indent,"-");
                            chpr += printf("# End of JPEG image from MakerNote");
                            chpr += printf(" length %lu",max_offset - value_offset); 
                        }
                        if(!(PRINT_VALUE) && (status == JPEG_NO_ERROR))
                            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;
                        if((summary_entry->compression == JPEG_SOF_3) && (max_offset == 0))
                            summary_entry->length = filesize - value_offset;
                    }
                }
                clearerr(inptr);
                break;
            case 0x009a:    /* AspectInfo                      */
                if(at_offset)
                {
                    if((PRINT_SECTION))
                    {
                        print_tag_address(SECTION,value_offset,indent,prefix);
                        chpr += printf("<%s> ",nameoftag);
                        chpr += printf("%lu entries",entry_ptr->count - 1);
                    }
                }
                else if((PRINT_VALUE))
                    chpr += printf("\'%lu entries\'",entry_ptr->count - 1);
                if((PRINT_LONGNAMES))
                    tagprefix = fulldirname;
                else
                    tagprefix = nameoftag;
                setcharsprinted(chpr);
                chpr = 0;
                (void)canon_aspectinfo(inptr,byteorder,tagprefix,value_offset,
                                    entry_ptr->count * sizeof(long),
                                    indent + MEDIUMINDENT);
                if(PRINT_SECTION)
                {
                    print_tag_address(SECTION,value_offset + (entry_ptr->count * 2) - 1,
                                                            indent,prefix);
                    chpr += printf("</%s> ",nameoftag);
                }
                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 $0xa8, %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, -0x50(%rbp)
movq $0x0, -0x58(%rbp)
movq $0x0, -0x78(%rbp)
movl $0x0, -0x7c(%rbp)
movl $0x0, -0x80(%rbp)
cmpq $0x0, -0x20(%rbp)
je 0x511ff
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 0x14475(%rip), %rsi     # 0x64962
callq 0x20960
movq %rax, -0x78(%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 -0x10(%rbp), %rdi
callq 0x5530
movq %rax, -0x58(%rbp)
movq -0x20(%rbp), %rax
movzwl (%rax), %eax
movl %eax, -0x84(%rbp)
subl $0x1, %eax
je 0x505cd
jmp 0x5053a
movl -0x84(%rbp), %eax
subl $0x2, %eax
je 0x50728
jmp 0x5054b
movl -0x84(%rbp), %eax
subl $0x4, %eax
je 0x5087b
jmp 0x5055c
movl -0x84(%rbp), %eax
subl $0xf, %eax
je 0x509d6
jmp 0x5056d
movl -0x84(%rbp), %eax
subl $0x12, %eax
je 0x50c91
jmp 0x5057e
movl -0x84(%rbp), %eax
subl $0x81, %eax
je 0x50dec
jmp 0x50591
movl -0x84(%rbp), %eax
subl $0x90, %eax
je 0x509d6
jmp 0x505a4
movl -0x84(%rbp), %eax
subl $0x9a, %eax
je 0x51055
jmp 0x505b7
movl -0x84(%rbp), %eax
subl $0xe0, %eax
je 0x50b36
jmp 0x511ae
cmpl $0x0, 0x30(%rbp)
je 0x50638
leaq 0x26ba6(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x40000, %rax          # imm = 0x40000
cmpq $0x0, %rax
je 0x50636
movq -0x40(%rbp), %rsi
movl 0x18(%rbp), %edx
movq 0x10(%rbp), %rcx
movl $0x40000, %edi          # imm = 0x40000
callq 0x5ed0
movq -0x68(%rbp), %rsi
leaq 0x1db23(%rip), %rdi     # 0x6e12c
movb $0x0, %al
callq 0x3110
addl -0x80(%rbp), %eax
movl %eax, -0x80(%rbp)
movq -0x20(%rbp), %rax
movq 0x8(%rax), %rsi
subq $0x1, %rsi
leaq 0x1bc9c(%rip), %rdi     # 0x6c2c5
movb $0x0, %al
callq 0x3110
addl -0x80(%rbp), %eax
movl %eax, -0x80(%rbp)
jmp 0x5066e
leaq 0x26b41(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x30, %rax
cmpq $0x0, %rax
je 0x5066c
movq -0x20(%rbp), %rax
movq 0x8(%rax), %rsi
subq $0x1, %rsi
leaq 0x1ee09(%rip), %rdi     # 0x6f468
movb $0x0, %al
callq 0x3110
addl -0x80(%rbp), %eax
movl %eax, -0x80(%rbp)
jmp 0x5066e
leaq 0x26b0b(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x40, %rax
cmpq $0x0, %rax
je 0x5068c
movq -0x78(%rbp), %rax
movq %rax, -0x70(%rbp)
jmp 0x50694
movq -0x68(%rbp), %rax
movq %rax, -0x70(%rbp)
movl -0x80(%rbp), %edi
callq 0x1ff00
movl $0x0, -0x80(%rbp)
movq -0x10(%rbp), %rdi
movw -0x12(%rbp), %ax
movq -0x70(%rbp), %rdx
movq -0x40(%rbp), %rcx
movq -0x20(%rbp), %rsi
movq 0x8(%rsi), %r8
shlq %r8
movl 0x18(%rbp), %r9d
addl $0x4, %r9d
movzwl %ax, %esi
callq 0x51220
leaq 0x26aab(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x40000, %rax          # imm = 0x40000
cmpq $0x0, %rax
je 0x50723
movq -0x40(%rbp), %rsi
movq -0x20(%rbp), %rax
movq 0x8(%rax), %rax
shlq %rax
addq %rax, %rsi
subq $0x1, %rsi
movl 0x18(%rbp), %edx
movq 0x10(%rbp), %rcx
movl $0x40000, %edi          # imm = 0x40000
callq 0x5ed0
movq -0x68(%rbp), %rsi
leaq 0x1da1c(%rip), %rdi     # 0x6e132
movb $0x0, %al
callq 0x3110
addl -0x80(%rbp), %eax
movl %eax, -0x80(%rbp)
jmp 0x511ed
cmpl $0x0, 0x30(%rbp)
je 0x5078f
leaq 0x26a4b(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x40000, %rax          # imm = 0x40000
cmpq $0x0, %rax
je 0x5078d
movq -0x40(%rbp), %rsi
movl 0x18(%rbp), %edx
movq 0x10(%rbp), %rcx
movl $0x40000, %edi          # imm = 0x40000
callq 0x5ed0
movq -0x68(%rbp), %rsi
leaq 0x1d9c8(%rip), %rdi     # 0x6e12c
movb $0x0, %al
callq 0x3110
addl -0x80(%rbp), %eax
movl %eax, -0x80(%rbp)
movq -0x20(%rbp), %rax
movq 0x8(%rax), %rsi
leaq 0x1bb45(%rip), %rdi     # 0x6c2c5
movb $0x0, %al
callq 0x3110
addl -0x80(%rbp), %eax
movl %eax, -0x80(%rbp)
jmp 0x507c1
leaq 0x269ea(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x30, %rax
cmpq $0x0, %rax
je 0x507bf
movq -0x20(%rbp), %rax
movq 0x8(%rax), %rsi
leaq 0x1ecb6(%rip), %rdi     # 0x6f468
movb $0x0, %al
callq 0x3110
addl -0x80(%rbp), %eax
movl %eax, -0x80(%rbp)
jmp 0x507c1
leaq 0x269b8(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x40, %rax
cmpq $0x0, %rax
je 0x507df
movq -0x78(%rbp), %rax
movq %rax, -0x70(%rbp)
jmp 0x507e7
movq -0x68(%rbp), %rax
movq %rax, -0x70(%rbp)
movl -0x80(%rbp), %edi
callq 0x1ff00
movl $0x0, -0x80(%rbp)
movq -0x10(%rbp), %rdi
movw -0x12(%rbp), %ax
movq -0x70(%rbp), %rdx
movq -0x40(%rbp), %rcx
movq -0x20(%rbp), %rsi
movq 0x8(%rsi), %r8
shlq %r8
movl 0x18(%rbp), %r9d
addl $0x4, %r9d
movzwl %ax, %esi
callq 0x531c0
leaq 0x26958(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x40000, %rax          # imm = 0x40000
cmpq $0x0, %rax
je 0x50876
movq -0x40(%rbp), %rsi
movq -0x20(%rbp), %rax
movq 0x8(%rax), %rax
shlq %rax
addq %rax, %rsi
subq $0x1, %rsi
movl 0x18(%rbp), %edx
movq 0x10(%rbp), %rcx
movl $0x40000, %edi          # imm = 0x40000
callq 0x5ed0
movq -0x68(%rbp), %rsi
leaq 0x1d8c9(%rip), %rdi     # 0x6e132
movb $0x0, %al
callq 0x3110
addl -0x80(%rbp), %eax
movl %eax, -0x80(%rbp)
jmp 0x511ed
cmpl $0x0, 0x30(%rbp)
je 0x508e6
leaq 0x268f8(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x40000, %rax          # imm = 0x40000
cmpq $0x0, %rax
je 0x508e4
movq -0x40(%rbp), %rsi
movl 0x18(%rbp), %edx
movq 0x10(%rbp), %rcx
movl $0x40000, %edi          # imm = 0x40000
callq 0x5ed0
movq -0x68(%rbp), %rsi
leaq 0x1d875(%rip), %rdi     # 0x6e12c
movb $0x0, %al
callq 0x3110
addl -0x80(%rbp), %eax
movl %eax, -0x80(%rbp)
movq -0x20(%rbp), %rax
movq 0x8(%rax), %rsi
subq $0x1, %rsi
leaq 0x1b9ee(%rip), %rdi     # 0x6c2c5
movb $0x0, %al
callq 0x3110
addl -0x80(%rbp), %eax
movl %eax, -0x80(%rbp)
jmp 0x5091c
leaq 0x26893(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x30, %rax
cmpq $0x0, %rax
je 0x5091a
movq -0x20(%rbp), %rax
movq 0x8(%rax), %rsi
subq $0x1, %rsi
leaq 0x1eb5b(%rip), %rdi     # 0x6f468
movb $0x0, %al
callq 0x3110
addl -0x80(%rbp), %eax
movl %eax, -0x80(%rbp)
jmp 0x5091c
leaq 0x2685d(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x40, %rax
cmpq $0x0, %rax
je 0x5093a
movq -0x78(%rbp), %rax
movq %rax, -0x70(%rbp)
jmp 0x50942
movq -0x68(%rbp), %rax
movq %rax, -0x70(%rbp)
movl -0x80(%rbp), %edi
callq 0x1ff00
movl $0x0, -0x80(%rbp)
movq -0x10(%rbp), %rdi
movw -0x12(%rbp), %ax
movq -0x70(%rbp), %rdx
movq -0x40(%rbp), %rcx
movq -0x20(%rbp), %rsi
movq 0x8(%rsi), %r8
shlq %r8
movl 0x18(%rbp), %r9d
addl $0x4, %r9d
movzwl %ax, %esi
callq 0x53520
leaq 0x267fd(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x40000, %rax          # imm = 0x40000
cmpq $0x0, %rax
je 0x509d1
movq -0x40(%rbp), %rsi
movq -0x20(%rbp), %rax
movq 0x8(%rax), %rax
shlq %rax
addq %rax, %rsi
subq $0x1, %rsi
movl 0x18(%rbp), %edx
movq 0x10(%rbp), %rcx
movl $0x40000, %edi          # imm = 0x40000
callq 0x5ed0
movq -0x68(%rbp), %rsi
leaq 0x1d76e(%rip), %rdi     # 0x6e132
movb $0x0, %al
callq 0x3110
addl -0x80(%rbp), %eax
movl %eax, -0x80(%rbp)
jmp 0x511ed
cmpl $0x0, 0x30(%rbp)
je 0x50a41
leaq 0x2679d(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x40000, %rax          # imm = 0x40000
cmpq $0x0, %rax
je 0x50a3f
movq -0x40(%rbp), %rsi
movl 0x18(%rbp), %edx
movq 0x10(%rbp), %rcx
movl $0x40000, %edi          # imm = 0x40000
callq 0x5ed0
movq -0x68(%rbp), %rsi
leaq 0x1d71a(%rip), %rdi     # 0x6e12c
movb $0x0, %al
callq 0x3110
addl -0x80(%rbp), %eax
movl %eax, -0x80(%rbp)
movq -0x20(%rbp), %rax
movq 0x8(%rax), %rsi
subq $0x1, %rsi
leaq 0x1b893(%rip), %rdi     # 0x6c2c5
movb $0x0, %al
callq 0x3110
addl -0x80(%rbp), %eax
movl %eax, -0x80(%rbp)
jmp 0x50a77
leaq 0x26738(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x30, %rax
cmpq $0x0, %rax
je 0x50a75
movq -0x20(%rbp), %rax
movq 0x8(%rax), %rsi
subq $0x1, %rsi
leaq 0x1ea00(%rip), %rdi     # 0x6f468
movb $0x0, %al
callq 0x3110
addl -0x80(%rbp), %eax
movl %eax, -0x80(%rbp)
jmp 0x50a77
leaq 0x26702(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x40, %rax
cmpq $0x0, %rax
je 0x50a95
movq -0x78(%rbp), %rax
movq %rax, -0x70(%rbp)
jmp 0x50a9d
movq -0x68(%rbp), %rax
movq %rax, -0x70(%rbp)
movl -0x80(%rbp), %edi
callq 0x1ff00
movl $0x0, -0x80(%rbp)
movq -0x10(%rbp), %rdi
movw -0x12(%rbp), %si
movq -0x70(%rbp), %rdx
movq -0x40(%rbp), %rcx
movq -0x20(%rbp), %rax
movq 0x8(%rax), %r8
shlq %r8
movl 0x28(%rbp), %r9d
movl 0x18(%rbp), %eax
addl $0x4, %eax
movzwl %si, %esi
movl %eax, (%rsp)
callq 0x54660
leaq 0x2669d(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x40000, %rax          # imm = 0x40000
cmpq $0x0, %rax
je 0x50b31
movq -0x40(%rbp), %rsi
movq -0x20(%rbp), %rax
movq 0x8(%rax), %rax
shlq %rax
addq %rax, %rsi
subq $0x1, %rsi
movl 0x18(%rbp), %edx
movq 0x10(%rbp), %rcx
movl $0x40000, %edi          # imm = 0x40000
callq 0x5ed0
movq -0x68(%rbp), %rsi
leaq 0x1d60e(%rip), %rdi     # 0x6e132
movb $0x0, %al
callq 0x3110
addl -0x80(%rbp), %eax
movl %eax, -0x80(%rbp)
jmp 0x511ed
cmpl $0x0, 0x30(%rbp)
je 0x50ba1
leaq 0x2663d(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x40000, %rax          # imm = 0x40000
cmpq $0x0, %rax
je 0x50b9f
movq -0x40(%rbp), %rsi
movl 0x18(%rbp), %edx
movq 0x10(%rbp), %rcx
movl $0x40000, %edi          # imm = 0x40000
callq 0x5ed0
movq -0x68(%rbp), %rsi
leaq 0x1d5ba(%rip), %rdi     # 0x6e12c
movb $0x0, %al
callq 0x3110
addl -0x80(%rbp), %eax
movl %eax, -0x80(%rbp)
movq -0x20(%rbp), %rax
movq 0x8(%rax), %rsi
subq $0x1, %rsi
leaq 0x1b733(%rip), %rdi     # 0x6c2c5
movb $0x0, %al
callq 0x3110
addl -0x80(%rbp), %eax
movl %eax, -0x80(%rbp)
jmp 0x50bd7
leaq 0x265d8(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x30, %rax
cmpq $0x0, %rax
je 0x50bd5
movq -0x20(%rbp), %rax
movq 0x8(%rax), %rsi
subq $0x1, %rsi
leaq 0x1e8a0(%rip), %rdi     # 0x6f468
movb $0x0, %al
callq 0x3110
addl -0x80(%rbp), %eax
movl %eax, -0x80(%rbp)
jmp 0x50bd7
leaq 0x265a2(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x40, %rax
cmpq $0x0, %rax
je 0x50bf5
movq -0x78(%rbp), %rax
movq %rax, -0x70(%rbp)
jmp 0x50bfd
movq -0x68(%rbp), %rax
movq %rax, -0x70(%rbp)
movl -0x80(%rbp), %edi
callq 0x1ff00
movl $0x0, -0x80(%rbp)
movq -0x10(%rbp), %rdi
movw -0x12(%rbp), %ax
movq -0x70(%rbp), %rdx
movq -0x40(%rbp), %rcx
movq -0x20(%rbp), %rsi
movq 0x8(%rsi), %r8
shlq %r8
movl 0x18(%rbp), %r9d
addl $0x4, %r9d
movzwl %ax, %esi
callq 0x54790
leaq 0x26542(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x40000, %rax          # imm = 0x40000
cmpq $0x0, %rax
je 0x50c8c
movq -0x40(%rbp), %rsi
movq -0x20(%rbp), %rax
movq 0x8(%rax), %rax
shlq %rax
addq %rax, %rsi
subq $0x1, %rsi
movl 0x18(%rbp), %edx
movq 0x10(%rbp), %rcx
movl $0x40000, %edi          # imm = 0x40000
callq 0x5ed0
movq -0x68(%rbp), %rsi
leaq 0x1d4b3(%rip), %rdi     # 0x6e132
movb $0x0, %al
callq 0x3110
addl -0x80(%rbp), %eax
movl %eax, -0x80(%rbp)
jmp 0x511ed
cmpl $0x0, 0x30(%rbp)
je 0x50cfc
leaq 0x264e2(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x40000, %rax          # imm = 0x40000
cmpq $0x0, %rax
je 0x50cfa
movq -0x40(%rbp), %rsi
movl 0x18(%rbp), %edx
movq 0x10(%rbp), %rcx
movl $0x40000, %edi          # imm = 0x40000
callq 0x5ed0
movq -0x68(%rbp), %rsi
leaq 0x1d45f(%rip), %rdi     # 0x6e12c
movb $0x0, %al
callq 0x3110
addl -0x80(%rbp), %eax
movl %eax, -0x80(%rbp)
movq -0x20(%rbp), %rax
movq 0x8(%rax), %rsi
subq $0x1, %rsi
leaq 0x1b5d8(%rip), %rdi     # 0x6c2c5
movb $0x0, %al
callq 0x3110
addl -0x80(%rbp), %eax
movl %eax, -0x80(%rbp)
jmp 0x50d32
leaq 0x2647d(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x30, %rax
cmpq $0x0, %rax
je 0x50d30
movq -0x20(%rbp), %rax
movq 0x8(%rax), %rsi
subq $0x1, %rsi
leaq 0x1e745(%rip), %rdi     # 0x6f468
movb $0x0, %al
callq 0x3110
addl -0x80(%rbp), %eax
movl %eax, -0x80(%rbp)
jmp 0x50d32
leaq 0x26447(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x40, %rax
cmpq $0x0, %rax
je 0x50d50
movq -0x78(%rbp), %rax
movq %rax, -0x70(%rbp)
jmp 0x50d58
movq -0x68(%rbp), %rax
movq %rax, -0x70(%rbp)
movl -0x80(%rbp), %edi
callq 0x1ff00
movl $0x0, -0x80(%rbp)
movq -0x10(%rbp), %rdi
movw -0x12(%rbp), %ax
movq -0x70(%rbp), %rdx
movq -0x40(%rbp), %rcx
movq -0x20(%rbp), %rsi
movq 0x8(%rsi), %r8
shlq %r8
movl 0x18(%rbp), %r9d
addl $0x4, %r9d
movzwl %ax, %esi
callq 0x54e90
leaq 0x263e7(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x40000, %rax          # imm = 0x40000
cmpq $0x0, %rax
je 0x50de7
movq -0x40(%rbp), %rsi
movq -0x20(%rbp), %rax
movq 0x8(%rax), %rax
shlq %rax
addq %rax, %rsi
subq $0x1, %rsi
movl 0x18(%rbp), %edx
movq 0x10(%rbp), %rcx
movl $0x40000, %edi          # imm = 0x40000
callq 0x5ed0
movq -0x68(%rbp), %rsi
leaq 0x1d358(%rip), %rdi     # 0x6e132
movb $0x0, %al
callq 0x3110
addl -0x80(%rbp), %eax
movl %eax, -0x80(%rbp)
jmp 0x511ed
cmpl $0x0, 0x30(%rbp)
je 0x50e33
leaq 0x26387(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x40000, %rax          # imm = 0x40000
cmpq $0x0, %rax
je 0x50e33
movq -0x40(%rbp), %rsi
movl 0x18(%rbp), %edx
movq 0x10(%rbp), %rcx
movl $0x1000000, %edi        # imm = 0x1000000
callq 0x5ed0
leaq 0x1e652(%rip), %rdi     # 0x6f476
movb $0x0, %al
callq 0x3110
addl -0x80(%rbp), %eax
movl %eax, -0x80(%rbp)
jmp 0x50e7f
cmpl $0x0, 0x30(%rbp)
jne 0x50e7d
leaq 0x26340(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x30, %rax
cmpq $0x0, %rax
je 0x50e7d
leaq 0x2632c(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x300, %rax            # imm = 0x300
cmpq $0x0, %rax
jne 0x50e7b
movq -0x40(%rbp), %rsi
leaq 0x19f1d(%rip), %rdi     # 0x6ad8b
movb $0x0, %al
callq 0x3110
addl -0x80(%rbp), %eax
movl %eax, -0x80(%rbp)
jmp 0x50e7d
jmp 0x50e7f
leaq 0x262fa(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x40000, %rax          # imm = 0x40000
cmpq $0x0, %rax
jne 0x50eab
leaq 0x262e4(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x80000, %rax          # imm = 0x80000
cmpq $0x0, %rax
je 0x50eb6
movl -0x80(%rbp), %edi
callq 0x1ef50
movl %eax, -0x80(%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 -0x30(%rbp), %r8
movq -0x78(%rbp), %r9
movq 0x10(%rbp), %r10
movl 0x18(%rbp), %eax
addl $0x2, %eax
xorl %ecx, %ecx
movzwl %dx, %edx
movq %r10, (%rsp)
movl %eax, 0x8(%rsp)
callq 0x17470
movq %rax, -0x50(%rbp)
cmpl $0x0, 0x30(%rbp)
je 0x50fd1
leaq 0x2626f(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x40000, %rax          # imm = 0x40000
cmpq $0x0, %rax
je 0x50fcf
cmpq $0x0, -0x50(%rbp)
jne 0x50f33
movq -0x58(%rbp), %rax
movq %rax, -0x50(%rbp)
cmpq $0x0, -0x50(%rbp)
je 0x50fa8
xorl %edi, %edi
callq 0x19930
movl %eax, -0x7c(%rbp)
cmpl $0x1, %eax
jne 0x50f54
movl -0x80(%rbp), %edi
callq 0x1ef50
movl %eax, -0x80(%rbp)
movl -0x7c(%rbp), %edi
callq 0x19930
movq -0x50(%rbp), %rsi
subq $0x1, %rsi
movl 0x18(%rbp), %edx
movl $0x1000000, %edi        # imm = 0x1000000
leaq 0x13186(%rip), %rcx     # 0x640f9
callq 0x5ed0
leaq 0x1e51c(%rip), %rdi     # 0x6f49b
movb $0x0, %al
callq 0x3110
addl -0x80(%rbp), %eax
movl %eax, -0x80(%rbp)
movq -0x50(%rbp), %rsi
subq -0x40(%rbp), %rsi
leaq 0x19d1e(%rip), %rdi     # 0x6acb9
movb $0x0, %al
callq 0x3110
addl -0x80(%rbp), %eax
movl %eax, -0x80(%rbp)
leaq 0x261d1(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x30, %rax
cmpq $0x0, %rax
jne 0x50fcd
cmpl $0x0, -0x7c(%rbp)
jne 0x50fcd
movl -0x80(%rbp), %edi
callq 0x1ef50
movl %eax, -0x80(%rbp)
jmp 0x50fcf
jmp 0x50fd1
movb $0x0, %al
callq 0xba00
movzwl -0x5a(%rbp), %eax
cmpl $0x0, %eax
je 0x51047
cmpq $0x0, -0x30(%rbp)
je 0x51047
movq -0x30(%rbp), %rdi
callq 0x15780
movq %rax, -0x30(%rbp)
cmpq $0x0, %rax
je 0x51045
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
cmpl $0xffc3, 0xc8(%rax)     # imm = 0xFFC3
jne 0x51043
cmpq $0x0, -0x50(%rbp)
jne 0x51043
movq -0x58(%rbp), %rcx
subq -0x40(%rbp), %rcx
movq -0x30(%rbp), %rax
movq %rcx, 0x98(%rax)
jmp 0x51045
jmp 0x51047
movq -0x10(%rbp), %rdi
callq 0x31a0
jmp 0x511ed
cmpl $0x0, 0x30(%rbp)
je 0x510c0
leaq 0x2611e(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x40000, %rax          # imm = 0x40000
cmpq $0x0, %rax
je 0x510be
movq -0x40(%rbp), %rsi
movl 0x18(%rbp), %edx
movq 0x10(%rbp), %rcx
movl $0x40000, %edi          # imm = 0x40000
callq 0x5ed0
movq -0x68(%rbp), %rsi
leaq 0x1d09b(%rip), %rdi     # 0x6e12c
movb $0x0, %al
callq 0x3110
addl -0x80(%rbp), %eax
movl %eax, -0x80(%rbp)
movq -0x20(%rbp), %rax
movq 0x8(%rax), %rsi
subq $0x1, %rsi
leaq 0x1b214(%rip), %rdi     # 0x6c2c5
movb $0x0, %al
callq 0x3110
addl -0x80(%rbp), %eax
movl %eax, -0x80(%rbp)
jmp 0x510f6
leaq 0x260b9(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x30, %rax
cmpq $0x0, %rax
je 0x510f4
movq -0x20(%rbp), %rax
movq 0x8(%rax), %rsi
subq $0x1, %rsi
leaq 0x1e381(%rip), %rdi     # 0x6f468
movb $0x0, %al
callq 0x3110
addl -0x80(%rbp), %eax
movl %eax, -0x80(%rbp)
jmp 0x510f6
leaq 0x26083(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x40, %rax
cmpq $0x0, %rax
je 0x51114
movq -0x78(%rbp), %rax
movq %rax, -0x70(%rbp)
jmp 0x5111c
movq -0x68(%rbp), %rax
movq %rax, -0x70(%rbp)
movl -0x80(%rbp), %edi
callq 0x1ff00
movl $0x0, -0x80(%rbp)
movq -0x10(%rbp), %rdi
movw -0x12(%rbp), %ax
movq -0x70(%rbp), %rdx
movq -0x40(%rbp), %rcx
movq -0x20(%rbp), %rsi
movq 0x8(%rsi), %r8
shlq $0x3, %r8
movl 0x18(%rbp), %r9d
addl $0x4, %r9d
movzwl %ax, %esi
callq 0x55330
leaq 0x26022(%rip), %rax     # 0x77180
movq (%rax), %rax
andq $0x40000, %rax          # imm = 0x40000
cmpq $0x0, %rax
je 0x511ac
movq -0x40(%rbp), %rsi
movq -0x20(%rbp), %rax
movq 0x8(%rax), %rax
shlq %rax
addq %rax, %rsi
subq $0x1, %rsi
movl 0x18(%rbp), %edx
movq 0x10(%rbp), %rcx
movl $0x40000, %edi          # imm = 0x40000
callq 0x5ed0
movq -0x68(%rbp), %rsi
leaq 0x1cf93(%rip), %rdi     # 0x6e132
movb $0x0, %al
callq 0x3110
addl -0x80(%rbp), %eax
movl %eax, -0x80(%rbp)
jmp 0x511ed
movq -0x10(%rbp), %rdi
movw -0x12(%rbp), %si
movq -0x20(%rbp), %rdx
movq -0x28(%rbp), %rcx
movq -0x78(%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, -0x78(%rbp)
je 0x511fd
movq -0x78(%rbp), %rdi
callq 0x3040
jmp 0x511ff
movl -0x80(%rbp), %edi
callq 0x1ff00
addq $0xa8, %rsp
popq %rbx
popq %rbp
retq
nopw %cs:(%rax,%rax)