// File: /workspace/github_c_makefile_star2_O3/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, %r12
movq %rcx, %r13
movq %rdx, 0x18(%rsp)
movl %esi, %r14d
movq %rdi, 0x20(%rsp)
movq %rcx, %rdx
callq 0x45af
movl %eax, %ebx
leaq 0x1e0cb(%rip), %rax     # 0x58180
xorl %edi, %edi
testb $0x4, 0x2(%rax)
je 0x3a10f
leaq 0xe696(%rip), %rdi      # 0x4875a
movq %r12, %rsi
xorl %eax, %eax
callq 0x3120
movl %eax, %edi
movzwl %bx, %ebx
cmpq %r12, %rbx
je 0x3a10f
callq 0x1707a
movl %eax, %r15d
leaq 0x6ff5(%rip), %rcx      # 0x410dc
movl $0x40000, %edi          # imm = 0x40000
movq %r13, %rsi
movl (%rsp), %edx
callq 0x55eb
leaq 0x12d2f(%rip), %rdi     # 0x4ce2d
movl %ebx, %esi
movq %r12, %rdx
xorl %eax, %eax
callq 0x3120
movl %eax, %edi
addl %r15d, %edi
callq 0x1707a
movl %eax, %ebx
leaq 0x1e063(%rip), %rax     # 0x58180
testl $0x4003333, (%rax)      # imm = 0x4003333
movq %r12, 0x10(%rsp)
movq %r13, 0x8(%rsp)
je 0x3ab19
shrq %r12
decq %r12
je 0x3ab19
addq $0x2, %r13
movzwl %r14w, %eax
movl %eax, 0x4(%rsp)
movq 0x20(%rsp), %rdi
movl 0x4(%rsp), %esi
movq %r13, %rdx
callq 0x45af
movl %eax, %r15d
movl $0x4003333, %edi        # imm = 0x4003333
movq %r13, %rsi
movl (%rsp), %edx
leaq 0x6f6b(%rip), %rcx      # 0x410dc
callq 0x55eb
leaq 0x1e003(%rip), %rax     # 0x58180
movzwl (%rax), %eax
testl $0x3003, %eax           # imm = 0x3003
je 0x3a19c
leaq 0x6f09(%rip), %rdi      # 0x41097
movq 0x18(%rsp), %rsi
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
movzwl %r15w, %ebp
movl %ebp, %esi
shrl $0x8, %esi
movzbl %bpl, %r14d
leaq 0x1dfd0(%rip), %rax     # 0x58180
movq (%rax), %rax
cmpl $0x11, %esi
ja 0x3a88b
leaq 0x12919(%rip), %rdx     # 0x4cadc
movslq (%rdx,%rsi,4), %rcx
addq %rdx, %rcx
jmpq *%rcx
testl $0x3003, %eax           # imm = 0x3003
je 0x3a1f6
leaq 0x13707(%rip), %rdi     # 0x4d8e1
xorl %esi, %esi
leaq 0x13710(%rip), %rdx     # 0x4d8f3
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x1df8d(%rip), %rax     # 0x58180
movq (%rax), %rax
testb $0x30, %al
je 0x3a9ea
leaq 0xad99(%rip), %rdi      # 0x44f9e
movl %r14d, %esi
xorl %eax, %eax
callq 0x3120
movl %eax, %r14d
addl %ebx, %r14d
xorl %eax, %eax
callq 0x96fd
cmpb $0x4, %r15b
ja 0x3a9cd
movzbl %bpl, %eax
leaq 0x12913(%rip), %rcx     # 0x4cb44
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x136d0(%rip), %rdi     # 0x4d911
jmp 0x3aaef
testl $0x3003, %eax           # imm = 0x3003
je 0x3a273
leaq 0x1368d(%rip), %rdi     # 0x4d8e1
movl $0x10, %esi
leaq 0x13670(%rip), %rdx     # 0x4d8d0
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x1df10(%rip), %rax     # 0x58180
movq (%rax), %rax
testb $0x30, %al
je 0x3ab03
leaq 0xad1c(%rip), %rdi      # 0x44f9e
movl %r14d, %esi
xorl %eax, %eax
callq 0x3120
movl %eax, %r14d
addl %ebx, %r14d
xorl %eax, %eax
callq 0x96fd
cmpb $0x2, %r15b
je 0x3aa52
movzbl %r15b, %eax
cmpl $0x1, %eax
je 0x3aa46
testl %eax, %eax
jne 0x3a9cd
leaq 0x1327f(%rip), %rdi     # 0x4d53e
jmp 0x3aaef
testl $0x3003, %eax           # imm = 0x3003
je 0x3a2f1
leaq 0x1360f(%rip), %rdi     # 0x4d8e1
movl $0xe, %esi
leaq 0x13212(%rip), %rdx     # 0x4d4f0
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x1de92(%rip), %rax     # 0x58180
movq (%rax), %rax
testb $0x30, %al
je 0x3ab03
leaq 0xac9e(%rip), %rdi      # 0x44f9e
movl %r14d, %esi
xorl %eax, %eax
callq 0x3120
movl %eax, %r14d
addl %ebx, %r14d
xorl %eax, %eax
callq 0x96fd
cmpb $0x1, %r15b
je 0x3a9f2
movzbl %r15b, %eax
testl %eax, %eax
jne 0x3a9cd
leaq 0x13568(%rip), %rdi     # 0x4d89c
jmp 0x3aaef
testl $0x3003, %eax           # imm = 0x3003
je 0x3a366
leaq 0x1359a(%rip), %rdi     # 0x4d8e1
movl $0xb, %esi
leaq 0x130da(%rip), %rdx     # 0x4d42d
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x1de1d(%rip), %rax     # 0x58180
movq (%rax), %rax
testb $0x30, %al
je 0x3ab03
leaq 0xac29(%rip), %rdi      # 0x44f9e
movl %r14d, %esi
xorl %eax, %eax
callq 0x3120
movl %eax, %r14d
addl %ebx, %r14d
xorl %eax, %eax
callq 0x96fd
cmpb $0x1, %r15b
je 0x3a9fe
movzbl %r15b, %eax
testl %eax, %eax
jne 0x3a9cd
leaq 0x13121(%rip), %rdi     # 0x4d4ca
jmp 0x3aaef
testl $0x3003, %eax           # imm = 0x3003
je 0x3a3db
leaq 0x13525(%rip), %rdi     # 0x4d8e1
movl $0x4, %esi
leaq 0x13099(%rip), %rdx     # 0x4d461
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x1dda8(%rip), %rax     # 0x58180
movq (%rax), %rax
testb $0x30, %al
je 0x3ab03
leaq 0xabb4(%rip), %rdi      # 0x44f9e
movl %r14d, %esi
xorl %eax, %eax
callq 0x3120
movl %eax, %r14d
addl %ebx, %r14d
xorl %eax, %eax
callq 0x96fd
cmpb $0x2, %r15b
je 0x3aa73
movzbl %r15b, %eax
cmpl $0x1, %eax
je 0x3aa5e
testl %eax, %eax
jne 0x3a9cd
leaq 0x13533(%rip), %rdi     # 0x4d95a
jmp 0x3aaef
testl $0x3003, %eax           # imm = 0x3003
je 0x3a459
leaq 0x134a7(%rip), %rdi     # 0x4d8e1
movl $0xc, %esi
leaq 0x1355b(%rip), %rdx     # 0x4d9a1
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x1dd2a(%rip), %rax     # 0x58180
movq (%rax), %rax
testb $0x30, %al
je 0x3ab03
leaq 0xab36(%rip), %rdi      # 0x44f9e
movl %r14d, %esi
xorl %eax, %eax
callq 0x3120
movl %eax, %r14d
addl %ebx, %r14d
xorl %eax, %eax
callq 0x96fd
cmpb $0x2, %r15b
je 0x3aa7c
movzbl %r15b, %eax
cmpl $0x1, %eax
je 0x3aa6a
testl %eax, %eax
jne 0x3a9cd
leaq 0x10f54(%rip), %rdi     # 0x4b3f9
jmp 0x3aaef
testl $0x3003, %eax           # imm = 0x3003
je 0x3a4d7
leaq 0x13429(%rip), %rdi     # 0x4d8e1
movl $0x9, %esi
leaq 0x1332f(%rip), %rdx     # 0x4d7f3
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x1dcac(%rip), %rax     # 0x58180
movq (%rax), %rax
testb $0x30, %al
je 0x3ab03
leaq 0xaab8(%rip), %rdi      # 0x44f9e
movl %r14d, %esi
xorl %eax, %eax
callq 0x3120
movl %eax, %r14d
addl %ebx, %r14d
xorl %eax, %eax
callq 0x96fd
cmpb $0x1, %r15b
je 0x3a720
movzbl %r15b, %eax
testl %eax, %eax
je 0x3a9de
jmp 0x3a9cd
testl $0x3003, %eax           # imm = 0x3003
je 0x3a545
leaq 0x133bb(%rip), %rdi     # 0x4d8e1
movl $0x2, %esi
leaq 0x12f47(%rip), %rdx     # 0x4d479
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x1dc3e(%rip), %rax     # 0x58180
movq (%rax), %rax
testb $0x30, %al
je 0x3ab03
leaq 0xaa4a(%rip), %rdi      # 0x44f9e
movl %r14d, %esi
xorl %eax, %eax
callq 0x3120
movl %eax, %r14d
addl %ebx, %r14d
xorl %eax, %eax
callq 0x96fd
cmpb $0x1, %r15b
je 0x3aa0a
movzbl %r15b, %eax
testl %eax, %eax
jne 0x3a9cd
leaq 0x11272(%rip), %rdi     # 0x4b7fa
jmp 0x3aaef
testl $0x3003, %eax           # imm = 0x3003
je 0x3a5ba
leaq 0x13346(%rip), %rdi     # 0x4d8e1
movl $0xf, %esi
leaq 0x13306(%rip), %rdx     # 0x4d8ad
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x1dbc9(%rip), %rax     # 0x58180
movq (%rax), %rax
testb $0x30, %al
je 0x3ab03
leaq 0xa9d5(%rip), %rdi      # 0x44f9e
movl %r14d, %esi
xorl %eax, %eax
callq 0x3120
movl %eax, %r14d
addl %ebx, %r14d
xorl %eax, %eax
callq 0x96fd
cmpb $0x1, %r15b
je 0x3aa16
movzbl %r15b, %eax
testl %eax, %eax
jne 0x3a9cd
leaq 0x132c4(%rip), %rdi     # 0x4d8c1
jmp 0x3aaef
testl $0x3003, %eax           # imm = 0x3003
je 0x3a62f
leaq 0x132d1(%rip), %rdi     # 0x4d8e1
movl $0x3, %esi
leaq 0x12dca(%rip), %rdx     # 0x4d3e6
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x1db54(%rip), %rax     # 0x58180
movq (%rax), %rax
testb $0x30, %al
je 0x3ab03
leaq 0xa960(%rip), %rdi      # 0x44f9e
movl %r14d, %esi
xorl %eax, %eax
callq 0x3120
movl %eax, %r14d
addl %ebx, %r14d
xorl %eax, %eax
callq 0x96fd
cmpb $0x3, %r15b
ja 0x3a9cd
movzbl %bpl, %eax
leaq 0x124ca(%rip), %rcx     # 0x4cb34
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x12d81(%rip), %rdi     # 0x4d3fb
jmp 0x3aaef
testl $0x3003, %eax           # imm = 0x3003
je 0x3a6e4
leaq 0x13254(%rip), %rdi     # 0x4d8e1
movl $0x7, %esi
leaq 0x132f6(%rip), %rdx     # 0x4d98f
jmp 0x3a6d1
testl $0x3003, %eax           # imm = 0x3003
je 0x3a6e4
leaq 0x13238(%rip), %rdi     # 0x4d8e1
movl $0x1, %esi
leaq 0x12d04(%rip), %rdx     # 0x4d3b9
jmp 0x3a6d1
testl $0x3003, %eax           # imm = 0x3003
je 0x3a6e4
leaq 0x1321c(%rip), %rdi     # 0x4d8e1
movl $0x11, %esi
leaq 0x13320(%rip), %rdx     # 0x4d9f1
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x1da9f(%rip), %rax     # 0x58180
movq (%rax), %rax
testb $0x30, %al
je 0x3ab03
leaq 0xa8ab(%rip), %rdi      # 0x44f9e
movl %r14d, %esi
xorl %eax, %eax
callq 0x3120
movl %eax, %r14d
addl %ebx, %r14d
xorl %eax, %eax
callq 0x96fd
cmpb $0x1, %r15b
je 0x3a9de
movzbl %r15b, %eax
testl %eax, %eax
jne 0x3a9cd
leaq 0x10973(%rip), %rdi     # 0x4b09a
jmp 0x3aaef
testl $0x3003, %eax           # imm = 0x3003
je 0x3a759
leaq 0x131a7(%rip), %rdi     # 0x4d8e1
movl $0x5, %esi
leaq 0x12fda(%rip), %rdx     # 0x4d720
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x1da2a(%rip), %rax     # 0x58180
movq (%rax), %rax
testb $0x30, %al
je 0x3ab03
leaq 0xa836(%rip), %rdi      # 0x44f9e
movl %r14d, %esi
xorl %eax, %eax
callq 0x3120
movl %eax, %r14d
addl %ebx, %r14d
xorl %eax, %eax
callq 0x96fd
cmpb $0x1, %r15b
je 0x3aa22
movzbl %r15b, %eax
testl %eax, %eax
jne 0x3a9cd
leaq 0x12cb3(%rip), %rdi     # 0x4d44f
jmp 0x3aaef
testl $0x3003, %eax           # imm = 0x3003
je 0x3a7ce
leaq 0x13132(%rip), %rdi     # 0x4d8e1
movl $0xd, %esi
leaq 0x1322f(%rip), %rdx     # 0x4d9ea
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x1d9b5(%rip), %rax     # 0x58180
movq (%rax), %rax
testb $0x30, %al
je 0x3ab03
leaq 0xa7c1(%rip), %rdi      # 0x44f9e
movl %r14d, %esi
xorl %eax, %eax
callq 0x3120
movl %eax, %r14d
addl %ebx, %r14d
xorl %eax, %eax
callq 0x96fd
cmpb $0x1, %r15b
je 0x3aa2e
movzbl %r15b, %eax
testl %eax, %eax
jne 0x3a9cd
leaq 0x127df(%rip), %rdi     # 0x4cff0
jmp 0x3aaef
testl $0x3003, %eax           # imm = 0x3003
je 0x3a843
leaq 0x130bd(%rip), %rdi     # 0x4d8e1
movl $0x6, %esi
leaq 0x13153(%rip), %rdx     # 0x4d983
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x1d940(%rip), %rax     # 0x58180
movq (%rax), %rax
testb $0x30, %al
je 0x3ab03
leaq 0xa74c(%rip), %rdi      # 0x44f9e
movl %r14d, %esi
xorl %eax, %eax
callq 0x3120
movl %eax, %r14d
addl %ebx, %r14d
xorl %eax, %eax
callq 0x96fd
cmpb $0x1, %r15b
je 0x3aa3a
movzbl %r15b, %eax
testl %eax, %eax
jne 0x3a9cd
leaq 0x12e51(%rip), %rdi     # 0x4d6d7
jmp 0x3aaef
testl $0x3003, %eax           # imm = 0x3003
je 0x3a8b3
leaq 0x13048(%rip), %rdi     # 0x4d8e1
leaq 0xe5c9(%rip), %rdx      # 0x48e69
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x1d8d0(%rip), %rax     # 0x58180
movq (%rax), %rax
testb $0x30, %al
je 0x3ab03
leaq 0x12ac9(%rip), %rdi     # 0x4d38b
movl %r14d, %esi
movl %r14d, %edx
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
jmp 0x3ab03
testl $0x3003, %eax           # imm = 0x3003
je 0x3a903
leaq 0x12ffd(%rip), %rdi     # 0x4d8e1
movl $0xa, %esi
leaq 0x12f17(%rip), %rdx     # 0x4d807
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x1d880(%rip), %rax     # 0x58180
movq (%rax), %rax
testb $0x30, %al
je 0x3ab03
leaq 0xa68c(%rip), %rdi      # 0x44f9e
movl %r14d, %esi
xorl %eax, %eax
callq 0x3120
movl %eax, %r14d
addl %ebx, %r14d
xorl %eax, %eax
callq 0x96fd
cmpb $0x2, %r15b
je 0x3aa8e
movzbl %r15b, %eax
cmpl $0x1, %eax
je 0x3aa85
testl %eax, %eax
jne 0x3a9cd
leaq 0xfd9d(%rip), %rdi      # 0x4a6ec
jmp 0x3aaef
testl $0x3003, %eax           # imm = 0x3003
je 0x3a981
leaq 0x12f7f(%rip), %rdi     # 0x4d8e1
movl $0x8, %esi
leaq 0x12e79(%rip), %rdx     # 0x4d7e7
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x1d802(%rip), %rax     # 0x58180
movq (%rax), %rax
testb $0x30, %al
je 0x3ab03
leaq 0xa60e(%rip), %rdi      # 0x44f9e
movl %r14d, %esi
xorl %eax, %eax
callq 0x3120
movl %eax, %r14d
addl %ebx, %r14d
xorl %eax, %eax
callq 0x96fd
cmpb $0x3, %r15b
ja 0x3a9cd
movzbl %bpl, %eax
leaq 0x1216c(%rip), %rcx     # 0x4cb24
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x12aee(%rip), %rdi     # 0x4d4b6
jmp 0x3aaef
leaq 0xe495(%rip), %rdi      # 0x48e69
callq 0x5c26
jmp 0x3aaf9
leaq 0x106bc(%rip), %rdi     # 0x4b0a1
jmp 0x3aaef
movl %ebx, %r14d
jmp 0x3aaf9
leaq 0x12b1b(%rip), %rdi     # 0x4d514
jmp 0x3aaef
leaq 0x12ab7(%rip), %rdi     # 0x4d4bc
jmp 0x3aaef
leaq 0x12cac(%rip), %rdi     # 0x4d6bd
jmp 0x3aaef
leaq 0x12eac(%rip), %rdi     # 0x4d8c9
jmp 0x3aaef
leaq 0x12a2f(%rip), %rdi     # 0x4d458
jmp 0x3aaef
leaq 0xb93d(%rip), %rdi      # 0x46372
jmp 0x3aaef
leaq 0x12cd1(%rip), %rdi     # 0x4d712
jmp 0x3aaef
leaq 0x12af9(%rip), %rdi     # 0x4d546
jmp 0x3aaef
leaq 0x12af8(%rip), %rdi     # 0x4d551
jmp 0x3aaef
leaq 0x12efb(%rip), %rdi     # 0x4d960
jmp 0x3aaef
leaq 0x12f47(%rip), %rdi     # 0x4d9b8
jmp 0x3aaef
leaq 0x12ef4(%rip), %rdi     # 0x4d96e
jmp 0x3aaef
leaq 0x12f4d(%rip), %rdi     # 0x4d9d0
jmp 0x3aaef
leaq 0x12b0f(%rip), %rdi     # 0x4d59b
jmp 0x3aaef
leaq 0x12b1a(%rip), %rdi     # 0x4d5af
jmp 0x3aaef
leaq 0x12973(%rip), %rdi     # 0x4d411
jmp 0x3aaef
leaq 0x12975(%rip), %rdi     # 0x4d41c
jmp 0x3aaef
leaq 0x12956(%rip), %rdi     # 0x4d406
jmp 0x3aaef
leaq 0x12a1a(%rip), %rdi     # 0x4d4d3
jmp 0x3aaef
leaq 0x12a1f(%rip), %rdi     # 0x4d4e1
jmp 0x3aaef
leaq 0x129f9(%rip), %rdi     # 0x4d4c4
jmp 0x3aaef
leaq 0x12e79(%rip), %rdi     # 0x4d94d
jmp 0x3aaef
leaq 0x12e51(%rip), %rdi     # 0x4d92e
jmp 0x3aaef
leaq 0x12e5a(%rip), %rdi     # 0x4d940
jmp 0x3aaef
leaq 0x12e30(%rip), %rdi     # 0x4d91f
xorl %eax, %eax
callq 0x3120
addl %eax, %r14d
xorl %eax, %eax
callq 0x971e
movl %r14d, %ebx
movl %ebx, %edi
callq 0x1707a
movl %eax, %ebx
addq $0x2, %r13
decq %r12
jne 0x3a14b
movq 0x10(%rsp), %r14
addq 0x8(%rsp), %r14
movl %ebx, %edi
callq 0x17a82
movq %r14, %rax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq