// File: /workspace/github_c_makefile_star2_O2/hfiguiere[P]exifprobe/maker_canon.c
// Function: canon_customfunctions20D
unsigned long
canon_customfunctions20D(FILE *inptr,unsigned short byteorder,char *tagprefix,
                        unsigned long offset,unsigned long dirlength,int indent)
{
    unsigned long count;
    unsigned long end_offset;
    unsigned short length,value;
    int i,cfn,cfv;
    int chpr = 0;

    end_offset = offset + dirlength;
    length = read_ushort(inptr,byteorder,offset);
    if(PRINT_SECTION)
    {
        chpr += printf(" length %lu",dirlength);
        if(length != dirlength)
        {
            chpr = newline(chpr);
            PUSHCOLOR(RED);
            print_tag_address(SECTION,offset,indent,"@");
            chpr += printf("# WARNING: length %u from segment does not match length %lu from directory",
                        length,dirlength);
            POPCOLOR();
        }
    }
    chpr = newline(chpr);

    if((PRINT_ENTRY))
    {
        offset += 2;
        count = (dirlength / sizeof(unsigned short)) - 1;

        for(i = 0; i < count; ++i)
        {
            value = read_ushort(inptr,byteorder,offset);
            print_tag_address(ENTRY,offset,indent,"@");
            if((PRINT_TAGINFO))
                chpr += printf("%s",tagprefix);
            offset += 2;
            cfn = (value & 0xff00) >> 8;
            cfv = value & 0xff;
            switch(cfn)
            {
                case 0:
                    if((PRINT_TAGINFO))
                        chpr += printf("20D.%02d_%-30.30s",cfn,"SetButtonFunctionWhenShooting");
                    if((PRINT_VALUE))
                    {
                        chpr += printf(" = %u",cfv);
                        print_startvalue();
                        switch(cfv)
                        {
                            case 0: chpr += printf("(no function)"); break;
                            case 1: chpr += printf("change quality"); break;
                            case 2: chpr += printf("change parameters"); break;
                            case 3: chpr += printf("menu display"); break;
                            case 4: chpr += printf("image replay"); break;
                            default: printred("undefined"); break;
                        }
                    }
                    print_endvalue();
                    break;
                case 1:
                    if((PRINT_TAGINFO))
                        chpr += printf("20D.%02d_%-30.30s",cfn,"LongExposureNoiseReduction");
                    if((PRINT_VALUE))
                    {
                        chpr += printf(" = %u",cfv);
                        print_startvalue();
                        switch(cfv)
                        {
                            case 0: chpr += printf("Off"); break;
                            case 1: chpr += printf("On"); break;
                            default: printred("undefined"); break;
                        }
                        print_endvalue();
                    }
                    break;
                case 2:
                    if((PRINT_TAGINFO))
                        chpr += printf("20D.%02d_%-30.30s",cfn,"FlashSyncSpeedAv");
                    if((PRINT_VALUE))
                    {
                        chpr += printf(" = %u",cfv);
                        print_startvalue();
                        switch(cfv)
                        {
                            case 0: chpr += printf("Auto"); break;
                            case 1: chpr += printf("1/200 (fixed)"); break;
                            default: printred("undefined"); break;
                        }
                        print_endvalue();
                    }
                    break;
                case 3:
                    if((PRINT_TAGINFO))
                        chpr += printf("20D.%02d_%-30.30s",cfn,"ShutterAElockButtons");
                    if((PRINT_VALUE))
                    {
                        chpr += printf(" = %u",cfv);
                        print_startvalue();
                        switch(cfv)
                        {
                            case 0: chpr += printf("AF/AE lock"); break;
                            case 1: chpr += printf("AE lock/AF"); break;
                            case 2: chpr += printf("AF/AF lock"); break;
                            case 3: chpr += printf("AE+release/AE+AF"); break;
                            default: printred("undefined"); break;
                        }
                        print_endvalue();
                    }
                    break;
                case 4:
                    if((PRINT_TAGINFO))
                        chpr += printf("20D.%02d_%-30.30s",cfn,"AFAssistLight");
                    if((PRINT_VALUE))
                    {
                        chpr += printf(" = %u",cfv);
                        print_startvalue();
                        switch(cfv)
                        {
                            case 0: chpr += printf("Emits"); break;
                            case 1: chpr += printf("Does not emit"); break;
                            case 2: chpr += printf("Only ext flash emits"); break;
                            default: printred("undefined"); break;
                        }
                        print_endvalue();
                    }
                    break;
                case 5:
                    if((PRINT_TAGINFO))
                        chpr += printf("20D.%02d_%-30.30s",cfn,"ExposureLevelIncrements");
                    if((PRINT_VALUE))
                    {
                        chpr += printf(" = %u",cfv);
                        print_startvalue();
                        switch(cfv)
                        {
                            case 0: chpr += printf("1/2 stop"); break;
                            case 1: chpr += printf("1/3 stop"); break;
                            default: printred("undefined"); break;
                        }
                        print_endvalue();
                    }
                    break;
                case 6:
                    if((PRINT_TAGINFO))
                        chpr += printf("20D.%02d_%-30.30s",cfn,"FlashFiring");
                    if((PRINT_VALUE))
                    {
                        chpr += printf(" = %u",cfv);
                        print_startvalue();
                        switch(cfv)
                        {
                            case 0: chpr += printf("Fires"); break;
                            case 1: chpr += printf("Does not fire"); break;
                            default: printred("undefined"); break;
                        }
                        print_endvalue();
                    }
                    break;
                case 7:
                    if((PRINT_TAGINFO))
                        chpr += printf("20D.%02d_%-30.30s",cfn,"ISOSpeedExpansion");
                    if((PRINT_VALUE))
                    {
                        chpr += printf(" = %u",cfv);
                        print_startvalue();
                        switch(cfv)
                        {
                            case 0: chpr += printf("Off"); break;
                            case 1: chpr += printf("On"); break;
                            default: printred("undefined"); break;
                        }
                        print_endvalue();
                    }
                    break;
                case 8:
                    if((PRINT_TAGINFO))
                        chpr += printf("20D.%02d_%-30.30s",cfn,"AEBSequence");
                    if((PRINT_VALUE))
                    {
                        chpr += printf(" = %u",cfv);
                        print_startvalue();
                        switch(cfv)
                        {
                            case 0: chpr += printf("0,-,+/Enabled"); break;
                            case 1: chpr += printf("0,-,+/Disabled"); break;
                            case 2: chpr += printf("-,0,+/Enabled"); break;
                            case 3: chpr += printf("-,0,+/Disabled"); break;
                            default: printred("undefined"); break;
                        }
                        print_endvalue();
                    }
                    break;
                case 9:
                    if((PRINT_TAGINFO))
                        chpr += printf("20D.%02d_%-30.30s",cfn,"SuperimposedDisplay");
                    if((PRINT_VALUE))
                    {
                        chpr += printf(" = %u",cfv);
                        print_startvalue();
                        switch(cfv)
                        {
                            case 0: chpr += printf("On"); break;
                            case 1: chpr += printf("Off"); break;
                            default: printred("undefined"); break;
                        }
                        print_endvalue();
                    }
                    break;
                case 10:
                    if((PRINT_TAGINFO))
                        chpr += printf("20D.%02d_%-30.30s",cfn,"MenuButtonDisplayPosition");
                    if((PRINT_VALUE))
                    {
                        chpr += printf(" = %u",cfv);
                        print_startvalue();
                        switch(cfv)
                        {
                            case 0: chpr += printf("Top"); break;
                            case 1: chpr += printf("Previous (volatile)"); break;
                            case 2: chpr += printf("Previous"); break;
                            default: printred("undefined"); break;
                        }
                        print_endvalue();
                    }
                    break;
                case 11:
                    if((PRINT_TAGINFO))
                        chpr += printf("20D.%02d_%-30.30s",cfn,"MirrorLockup");
                    if((PRINT_VALUE))
                    {
                        chpr += printf(" = %u",cfv);
                        print_startvalue();
                        switch(cfv)
                        {
                            case 0: chpr += printf("Disabled"); break;
                            case 1: chpr += printf("Enabled"); break;
                            default: printred("undefined"); break;
                        }
                        print_endvalue();
                    }
                    break;
                case 12:
                    if((PRINT_TAGINFO))
                        chpr += printf("20D.%02d_%-30.30s",cfn,"AFPointSelectionMethod");
                    if((PRINT_VALUE))
                    {
                        chpr += printf(" = %u",cfv);
                        print_startvalue();
                        switch(cfv)
                        {
                            case 0: chpr += printf("Normal"); break;
                            case 1: chpr += printf("Multi-controller direct"); break;
                            case 2: chpr += printf("Quick control dial direct"); break;
                            default: printred("undefined"); break;
                        }
                        print_endvalue();
                    }
                    break;
                case 13:
                    if((PRINT_TAGINFO))
                        chpr += printf("20D.%02d_%-30.30s",cfn,"ETTLII");
                    if((PRINT_VALUE))
                    {
                        chpr += printf(" = %u",cfv);
                        print_startvalue();
                        switch(cfv)
                        {
                            case 0: chpr += printf("Evaluative"); break;
                            case 1: chpr += printf("Average"); break;
                            default: printred("undefined"); break;
                        }
                        print_endvalue();
                    }
                    break;
                case 14:
                    if((PRINT_TAGINFO))
                        chpr += printf("20D.%02d_%-30.30s",cfn,"ShutterCurtainSync");
                    if((PRINT_VALUE))
                    {
                        chpr += printf(" = %u",cfv);
                        print_startvalue();
                        switch(cfv)
                        {
                            case 0: chpr += printf("1st-curtain sync"); break;
                            case 1: chpr += printf("2nd-curtain sync"); break;
                            default: printred("undefined"); break;
                        }
                        print_endvalue();
                    }
                    break;
                case 15:
                    if((PRINT_TAGINFO))
                        chpr += printf("20D.%02d_%-30.30s",cfn,"SafetyShiftInAvOrTv");
                    if((PRINT_VALUE))
                    {
                        chpr += printf(" = %u",cfv);
                        print_startvalue();
                        switch(cfv)
                        {
                            case 0: chpr += printf("Disable"); break;
                            case 1: chpr += printf("Enable"); break;
                            default: printred("undefined"); break;
                        }
                        print_endvalue();
                    }
                    break;
                case 16:
                    if((PRINT_TAGINFO))
                        chpr += printf("20D.%02d_%-30.30s",cfn,"LensAFStopButton");
                    if((PRINT_VALUE))
                    {
                        chpr += printf(" = %u",cfv);
                        print_startvalue();
                        switch(cfv)
                        {
                            case 0: chpr += printf("AF Stop"); break;
                            case 1: chpr += printf("Operate AF"); break;
                            case 2: chpr += printf("Lock AE and start timer"); break;
                            default: printred("undefined"); break;
                        }
                        print_endvalue();
                    }
                    break;
                case 17:
                    if((PRINT_TAGINFO))
                        chpr += printf("20D.%02d_%-30.30s",cfn,"AddOriginalDecisionData");
                    if((PRINT_VALUE))
                    {
                        chpr += printf(" = %u",cfv);
                        print_startvalue();
                        switch(cfv)
                        {
                            case 0: chpr += printf("Off"); break;
                            case 1: chpr += printf("On"); break;
                            default: printred("undefined"); break;
                        }
                        print_endvalue();
                    }
                    break;
                default:
                    if((PRINT_TAGINFO))
                        chpr += printf("20D.%02d_%-30.30s",cfn,"undefined");
                    if((PRINT_VALUE))
                        chpr += printf(" = %#x/%u",cfv,cfv);
                    break;
            }
            chpr = newline(chpr);
        }
    }
    setcharsprinted(chpr);
    return(end_offset);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movl %r9d, (%rsp)
movq %r8, %r15
movq %rcx, %r12
movq %rdx, 0x18(%rsp)
movl %esi, %ebp
movq %rdi, 0x20(%rsp)
movq %rcx, %rdx
callq 0x416a
movl %eax, %ebx
leaq 0x1ee78(%rip), %rax     # 0x57180
xorl %edi, %edi
testb $0x4, 0x2(%rax)
je 0x38362
leaq 0xe3f3(%rip), %rdi      # 0x4670a
movq %r15, %rsi
xorl %eax, %eax
callq 0x3120
movl %eax, %edi
movzwl %bx, %ebx
cmpq %r15, %rbx
je 0x38362
callq 0x160f7
movl %eax, %r14d
leaq 0x6da2(%rip), %rcx      # 0x3f0dc
movl $0x40000, %edi          # imm = 0x40000
movq %r12, %rsi
movl (%rsp), %edx
callq 0x5100
leaq 0x12a8c(%rip), %rdi     # 0x4addd
movl %ebx, %esi
movq %r15, %rdx
xorl %eax, %eax
callq 0x3120
movl %eax, %edi
addl %r14d, %edi
callq 0x160f7
movl %eax, %ebx
leaq 0x1ee10(%rip), %rax     # 0x57180
testl $0x4003333, (%rax)      # imm = 0x4003333
je 0x38d0b
movq %r15, 0x10(%rsp)
movq %r15, %r14
shrq %r14
decq %r14
movq %r12, 0x8(%rsp)
leaq 0x2(%r12), %r13
movzwl %bp, %eax
movl %eax, 0x4(%rsp)
subq $0x1, %r14
jb 0x38d01
movq 0x20(%rsp), %rdi
movl 0x4(%rsp), %esi
movq %r13, %rdx
callq 0x416a
movl %eax, %r15d
movl $0x4003333, %edi        # imm = 0x4003333
movq %r13, %rsi
movl (%rsp), %edx
leaq 0x6d11(%rip), %rcx      # 0x3f0dc
callq 0x5100
leaq 0x1eda9(%rip), %rax     # 0x57180
movzwl (%rax), %eax
testw $0x3003, %ax            # imm = 0x3003
je 0x383f5
leaq 0x6cb0(%rip), %rdi      # 0x3f097
movq 0x18(%rsp), %rsi
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
movzwl %r15w, %r12d
movl %r12d, %esi
shrl $0x8, %esi
movzbl %r12b, %ebp
leaq 0x1ed76(%rip), %rax     # 0x57180
movq (%rax), %rax
cmpl $0x11, %esi
ja 0x38a8d
leaq 0x1266f(%rip), %rdx     # 0x4aa8c
movslq (%rdx,%rsi,4), %rcx
addq %rdx, %rcx
jmpq *%rcx
testw $0x3003, %ax            # imm = 0x3003
je 0x3844f
leaq 0x1345e(%rip), %rdi     # 0x4b891
xorl %esi, %esi
leaq 0x13467(%rip), %rdx     # 0x4b8a3
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x1ed34(%rip), %rax     # 0x57180
movq (%rax), %rax
testb $0x30, %al
je 0x38bd9
leaq 0xaafc(%rip), %rdi      # 0x42f5a
movl %ebp, %esi
xorl %eax, %eax
callq 0x3120
movl %eax, %ebp
addl %ebx, %ebp
xorl %eax, %eax
callq 0x8f81
cmpb $0x4, %r15b
ja 0x38bbc
movzbl %r12b, %eax
leaq 0x1266d(%rip), %rcx     # 0x4aaf4
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x1342a(%rip), %rdi     # 0x4b8c1
jmp 0x38cdd
testw $0x3003, %ax            # imm = 0x3003
je 0x384c6
leaq 0x133e8(%rip), %rdi     # 0x4b891
pushq $0x10
popq %rsi
leaq 0x133cd(%rip), %rdx     # 0x4b880
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x1ecbd(%rip), %rax     # 0x57180
movq (%rax), %rax
testb $0x30, %al
je 0x38cef
leaq 0xaa85(%rip), %rdi      # 0x42f5a
movl %ebp, %esi
xorl %eax, %eax
callq 0x3120
movl %eax, %ebp
addl %ebx, %ebp
xorl %eax, %eax
callq 0x8f81
cmpb $0x2, %r15b
je 0x38c40
movzbl %r15b, %eax
cmpl $0x1, %eax
je 0x38c34
testl %eax, %eax
jne 0x38bbc
leaq 0x12fdf(%rip), %rdi     # 0x4b4ee
jmp 0x38cdd
testw $0x3003, %ax            # imm = 0x3003
je 0x3853e
leaq 0x13370(%rip), %rdi     # 0x4b891
pushq $0xe
popq %rsi
leaq 0x12f75(%rip), %rdx     # 0x4b4a0
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x1ec45(%rip), %rax     # 0x57180
movq (%rax), %rax
testb $0x30, %al
je 0x38cef
leaq 0xaa0d(%rip), %rdi      # 0x42f5a
movl %ebp, %esi
xorl %eax, %eax
callq 0x3120
movl %eax, %ebp
addl %ebx, %ebp
xorl %eax, %eax
callq 0x8f81
cmpb $0x1, %r15b
je 0x38be0
movzbl %r15b, %eax
testl %eax, %eax
jne 0x38bbc
leaq 0x132ce(%rip), %rdi     # 0x4b84c
jmp 0x38cdd
testw $0x3003, %ax            # imm = 0x3003
je 0x385ad
leaq 0x13301(%rip), %rdi     # 0x4b891
pushq $0xb
popq %rsi
leaq 0x12e43(%rip), %rdx     # 0x4b3dd
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x1ebd6(%rip), %rax     # 0x57180
movq (%rax), %rax
testb $0x30, %al
je 0x38cef
leaq 0xa99e(%rip), %rdi      # 0x42f5a
movl %ebp, %esi
xorl %eax, %eax
callq 0x3120
movl %eax, %ebp
addl %ebx, %ebp
xorl %eax, %eax
callq 0x8f81
cmpb $0x1, %r15b
je 0x38bec
movzbl %r15b, %eax
testl %eax, %eax
jne 0x38bbc
leaq 0x12e8d(%rip), %rdi     # 0x4b47a
jmp 0x38cdd
testw $0x3003, %ax            # imm = 0x3003
je 0x3861c
leaq 0x13292(%rip), %rdi     # 0x4b891
pushq $0x4
popq %rsi
leaq 0x12e08(%rip), %rdx     # 0x4b411
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x1eb67(%rip), %rax     # 0x57180
movq (%rax), %rax
testb $0x30, %al
je 0x38cef
leaq 0xa92f(%rip), %rdi      # 0x42f5a
movl %ebp, %esi
xorl %eax, %eax
callq 0x3120
movl %eax, %ebp
addl %ebx, %ebp
xorl %eax, %eax
callq 0x8f81
cmpb $0x2, %r15b
je 0x38c61
movzbl %r15b, %eax
cmpl $0x1, %eax
je 0x38c4c
testl %eax, %eax
jne 0x38bbc
leaq 0x132a5(%rip), %rdi     # 0x4b90a
jmp 0x38cdd
testw $0x3003, %ax            # imm = 0x3003
je 0x38694
leaq 0x1321a(%rip), %rdi     # 0x4b891
pushq $0xc
popq %rsi
leaq 0x132d0(%rip), %rdx     # 0x4b951
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x1eaef(%rip), %rax     # 0x57180
movq (%rax), %rax
testb $0x30, %al
je 0x38cef
leaq 0xa8b7(%rip), %rdi      # 0x42f5a
movl %ebp, %esi
xorl %eax, %eax
callq 0x3120
movl %eax, %ebp
addl %ebx, %ebp
xorl %eax, %eax
callq 0x8f81
cmpb $0x2, %r15b
je 0x38c6a
movzbl %r15b, %eax
cmpl $0x1, %eax
je 0x38c58
testl %eax, %eax
jne 0x38bbc
leaq 0x10ccc(%rip), %rdi     # 0x493a9
jmp 0x38cdd
testw $0x3003, %ax            # imm = 0x3003
je 0x3870c
leaq 0x131a2(%rip), %rdi     # 0x4b891
pushq $0x9
popq %rsi
leaq 0x130aa(%rip), %rdx     # 0x4b7a3
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x1ea77(%rip), %rax     # 0x57180
movq (%rax), %rax
testb $0x30, %al
je 0x38cef
leaq 0xa83f(%rip), %rdi      # 0x42f5a
movl %ebp, %esi
xorl %eax, %eax
callq 0x3120
movl %eax, %ebp
addl %ebx, %ebp
xorl %eax, %eax
callq 0x8f81
cmpb $0x1, %r15b
je 0x38934
movzbl %r15b, %eax
testl %eax, %eax
je 0x38bcd
jmp 0x38bbc
testw $0x3003, %ax            # imm = 0x3003
je 0x38774
leaq 0x1313a(%rip), %rdi     # 0x4b891
pushq $0x2
popq %rsi
leaq 0x12cc8(%rip), %rdx     # 0x4b429
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x1ea0f(%rip), %rax     # 0x57180
movq (%rax), %rax
testb $0x30, %al
je 0x38cef
leaq 0xa7d7(%rip), %rdi      # 0x42f5a
movl %ebp, %esi
xorl %eax, %eax
callq 0x3120
movl %eax, %ebp
addl %ebx, %ebp
xorl %eax, %eax
callq 0x8f81
cmpb $0x1, %r15b
je 0x38bf8
movzbl %r15b, %eax
testl %eax, %eax
jne 0x38bbc
leaq 0x10ff6(%rip), %rdi     # 0x497aa
jmp 0x38cdd
testw $0x3003, %ax            # imm = 0x3003
je 0x387e3
leaq 0x130cb(%rip), %rdi     # 0x4b891
pushq $0xf
popq %rsi
leaq 0x1308d(%rip), %rdx     # 0x4b85d
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x1e9a0(%rip), %rax     # 0x57180
movq (%rax), %rax
testb $0x30, %al
je 0x38cef
leaq 0xa768(%rip), %rdi      # 0x42f5a
movl %ebp, %esi
xorl %eax, %eax
callq 0x3120
movl %eax, %ebp
addl %ebx, %ebp
xorl %eax, %eax
callq 0x8f81
cmpb $0x1, %r15b
je 0x38c04
movzbl %r15b, %eax
testl %eax, %eax
jne 0x38bbc
leaq 0x1304e(%rip), %rdi     # 0x4b871
jmp 0x38cdd
testw $0x3003, %ax            # imm = 0x3003
je 0x38852
leaq 0x1305c(%rip), %rdi     # 0x4b891
pushq $0x3
popq %rsi
leaq 0x12b57(%rip), %rdx     # 0x4b396
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x1e931(%rip), %rax     # 0x57180
movq (%rax), %rax
testb $0x30, %al
je 0x38cef
leaq 0xa6f9(%rip), %rdi      # 0x42f5a
movl %ebp, %esi
xorl %eax, %eax
callq 0x3120
movl %eax, %ebp
addl %ebx, %ebp
xorl %eax, %eax
callq 0x8f81
cmpb $0x3, %r15b
ja 0x38bbc
movzbl %r12b, %eax
leaq 0x1225a(%rip), %rcx     # 0x4aae4
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x12b11(%rip), %rdi     # 0x4b3ab
jmp 0x38cdd
testw $0x3003, %ax            # imm = 0x3003
je 0x388fb
leaq 0x12fe5(%rip), %rdi     # 0x4b891
pushq $0x7
popq %rsi
leaq 0x13089(%rip), %rdx     # 0x4b93f
jmp 0x388e8
testw $0x3003, %ax            # imm = 0x3003
je 0x388fb
leaq 0x12fcc(%rip), %rdi     # 0x4b891
pushq $0x1
popq %rsi
leaq 0x12a9a(%rip), %rdx     # 0x4b369
jmp 0x388e8
testw $0x3003, %ax            # imm = 0x3003
je 0x388fb
leaq 0x12fb3(%rip), %rdi     # 0x4b891
pushq $0x11
popq %rsi
leaq 0x130b9(%rip), %rdx     # 0x4b9a1
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x1e888(%rip), %rax     # 0x57180
movq (%rax), %rax
testb $0x30, %al
je 0x38cef
leaq 0xa650(%rip), %rdi      # 0x42f5a
movl %ebp, %esi
xorl %eax, %eax
callq 0x3120
movl %eax, %ebp
addl %ebx, %ebp
xorl %eax, %eax
callq 0x8f81
cmpb $0x1, %r15b
je 0x38bcd
movzbl %r15b, %eax
testl %eax, %eax
jne 0x38bbc
leaq 0x1070f(%rip), %rdi     # 0x4904a
jmp 0x38cdd
testw $0x3003, %ax            # imm = 0x3003
je 0x3896a
leaq 0x12f44(%rip), %rdi     # 0x4b891
pushq $0x5
popq %rsi
leaq 0x12d79(%rip), %rdx     # 0x4b6d0
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x1e819(%rip), %rax     # 0x57180
movq (%rax), %rax
testb $0x30, %al
je 0x38cef
leaq 0xa5e1(%rip), %rdi      # 0x42f5a
movl %ebp, %esi
xorl %eax, %eax
callq 0x3120
movl %eax, %ebp
addl %ebx, %ebp
xorl %eax, %eax
callq 0x8f81
cmpb $0x1, %r15b
je 0x38c10
movzbl %r15b, %eax
testl %eax, %eax
jne 0x38bbc
leaq 0x12a55(%rip), %rdi     # 0x4b3ff
jmp 0x38cdd
testw $0x3003, %ax            # imm = 0x3003
je 0x389d9
leaq 0x12ed5(%rip), %rdi     # 0x4b891
pushq $0xd
popq %rsi
leaq 0x12fd4(%rip), %rdx     # 0x4b99a
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x1e7aa(%rip), %rax     # 0x57180
movq (%rax), %rax
testb $0x30, %al
je 0x38cef
leaq 0xa572(%rip), %rdi      # 0x42f5a
movl %ebp, %esi
xorl %eax, %eax
callq 0x3120
movl %eax, %ebp
addl %ebx, %ebp
xorl %eax, %eax
callq 0x8f81
cmpb $0x1, %r15b
je 0x38c1c
movzbl %r15b, %eax
testl %eax, %eax
jne 0x38bbc
leaq 0x12587(%rip), %rdi     # 0x4afa0
jmp 0x38cdd
testw $0x3003, %ax            # imm = 0x3003
je 0x38a48
leaq 0x12e66(%rip), %rdi     # 0x4b891
pushq $0x6
popq %rsi
leaq 0x12efe(%rip), %rdx     # 0x4b933
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x1e73b(%rip), %rax     # 0x57180
movq (%rax), %rax
testb $0x30, %al
je 0x38cef
leaq 0xa503(%rip), %rdi      # 0x42f5a
movl %ebp, %esi
xorl %eax, %eax
callq 0x3120
movl %eax, %ebp
addl %ebx, %ebp
xorl %eax, %eax
callq 0x8f81
cmpb $0x1, %r15b
je 0x38c28
movzbl %r15b, %eax
testl %eax, %eax
jne 0x38bbc
leaq 0x12bff(%rip), %rdi     # 0x4b687
jmp 0x38cdd
testw $0x3003, %ax            # imm = 0x3003
je 0x38ab4
leaq 0x12df7(%rip), %rdi     # 0x4b891
leaq 0xe378(%rip), %rdx      # 0x46e19
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x1e6cf(%rip), %rax     # 0x57180
movq (%rax), %rax
testb $0x30, %al
je 0x38cef
leaq 0x12878(%rip), %rdi     # 0x4b33b
movl %ebp, %esi
movl %ebp, %edx
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
jmp 0x38cef
testw $0x3003, %ax            # imm = 0x3003
je 0x38aff
leaq 0x12daf(%rip), %rdi     # 0x4b891
pushq $0xa
popq %rsi
leaq 0x12ccb(%rip), %rdx     # 0x4b7b7
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x1e684(%rip), %rax     # 0x57180
movq (%rax), %rax
testb $0x30, %al
je 0x38cef
leaq 0xa44c(%rip), %rdi      # 0x42f5a
movl %ebp, %esi
xorl %eax, %eax
callq 0x3120
movl %eax, %ebp
addl %ebx, %ebp
xorl %eax, %eax
callq 0x8f81
cmpb $0x2, %r15b
je 0x38c7c
movzbl %r15b, %eax
cmpl $0x1, %eax
je 0x38c73
testl %eax, %eax
jne 0x38bbc
leaq 0xfb58(%rip), %rdi      # 0x4869c
jmp 0x38cdd
testw $0x3003, %ax            # imm = 0x3003
je 0x38b73
leaq 0x12d3b(%rip), %rdi     # 0x4b891
pushq $0x8
popq %rsi
leaq 0x12c37(%rip), %rdx     # 0x4b797
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x1e610(%rip), %rax     # 0x57180
movq (%rax), %rax
testb $0x30, %al
je 0x38cef
leaq 0xa3d8(%rip), %rdi      # 0x42f5a
movl %ebp, %esi
xorl %eax, %eax
callq 0x3120
movl %eax, %ebp
addl %ebx, %ebp
xorl %eax, %eax
callq 0x8f81
cmpb $0x3, %r15b
ja 0x38bbc
movzbl %r12b, %eax
leaq 0x11f2d(%rip), %rcx     # 0x4aad4
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x128af(%rip), %rdi     # 0x4b466
jmp 0x38cdd
leaq 0xe256(%rip), %rdi      # 0x46e19
callq 0x56e2
jmp 0x38ce6
leaq 0x1047d(%rip), %rdi     # 0x49051
jmp 0x38cdd
movl %ebx, %ebp
jmp 0x38ce6
leaq 0x128dd(%rip), %rdi     # 0x4b4c4
jmp 0x38cdd
leaq 0x12879(%rip), %rdi     # 0x4b46c
jmp 0x38cdd
leaq 0x12a6e(%rip), %rdi     # 0x4b66d
jmp 0x38cdd
leaq 0x12c6e(%rip), %rdi     # 0x4b879
jmp 0x38cdd
leaq 0x127f1(%rip), %rdi     # 0x4b408
jmp 0x38cdd
leaq 0xb6ff(%rip), %rdi      # 0x44322
jmp 0x38cdd
leaq 0x12a93(%rip), %rdi     # 0x4b6c2
jmp 0x38cdd
leaq 0x128bb(%rip), %rdi     # 0x4b4f6
jmp 0x38cdd
leaq 0x128ba(%rip), %rdi     # 0x4b501
jmp 0x38cdd
leaq 0x12cbd(%rip), %rdi     # 0x4b910
jmp 0x38cdd
leaq 0x12d09(%rip), %rdi     # 0x4b968
jmp 0x38cdd
leaq 0x12cb6(%rip), %rdi     # 0x4b91e
jmp 0x38cdd
leaq 0x12d0f(%rip), %rdi     # 0x4b980
jmp 0x38cdd
leaq 0x128d1(%rip), %rdi     # 0x4b54b
jmp 0x38cdd
leaq 0x128dc(%rip), %rdi     # 0x4b55f
jmp 0x38cdd
leaq 0x12735(%rip), %rdi     # 0x4b3c1
jmp 0x38cdd
leaq 0x12737(%rip), %rdi     # 0x4b3cc
jmp 0x38cdd
leaq 0x12718(%rip), %rdi     # 0x4b3b6
jmp 0x38cdd
leaq 0x127dc(%rip), %rdi     # 0x4b483
jmp 0x38cdd
leaq 0x127e1(%rip), %rdi     # 0x4b491
jmp 0x38cdd
leaq 0x127bb(%rip), %rdi     # 0x4b474
jmp 0x38cdd
leaq 0x12c3b(%rip), %rdi     # 0x4b8fd
jmp 0x38cdd
leaq 0x12c13(%rip), %rdi     # 0x4b8de
jmp 0x38cdd
leaq 0x12c1c(%rip), %rdi     # 0x4b8f0
jmp 0x38cdd
leaq 0x12bf2(%rip), %rdi     # 0x4b8cf
xorl %eax, %eax
callq 0x3120
addl %eax, %ebp
xorl %eax, %eax
callq 0x8fa0
movl %ebp, %ebx
movl %ebx, %edi
callq 0x160f7
movl %eax, %ebx
addq $0x2, %r13
jmp 0x3839b
movq 0x10(%rsp), %r15
movq 0x8(%rsp), %r12
addq %r12, %r15
movl %ebx, %edi
callq 0x16a4f
movq %r15, %rax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq