// File: /workspace/github_c_makefile_star2_O2/hfiguiere[P]exifprobe/maker_canon.c
// Function: canon_customfunctions10D
unsigned long
canon_customfunctions10D(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 1:
                    if((PRINT_TAGINFO))
                        chpr += printf("10D.%02d_%-30.30s",cfn,"Set Button Function");
                    if((PRINT_VALUE))
                    {
                        chpr += printf(" = %u",cfv);
                        print_startvalue();
                        switch(cfv)
                        {
                            case 0: chpr += printf("Not assigned"); 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 2:
                    if((PRINT_TAGINFO))
                        chpr += printf("10D.%02d_%-30.30s",cfn,"ShutterReleaseNoCFCard");
                    if((PRINT_VALUE))
                    {
                        chpr += printf(" = %u",cfv);
                        print_startvalue();
                        switch(cfv)
                        {
                            case 0: chpr += printf("Yes"); break;
                            case 1: chpr += printf("No"); break;
                            default: printred("undefined"); break;
                        }
                        print_endvalue();
                    }
                    break;
                case 3:
                    if((PRINT_TAGINFO))
                        chpr += printf("10D.%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 4:
                    if((PRINT_TAGINFO))
                        chpr += printf("10D.%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/AF"); break;
                            default: printred("undefined"); break;
                        }
                        print_endvalue();
                    }
                    break;
                case 5:
                    if((PRINT_TAGINFO))
                        chpr += printf("10D.%02d_%-30.30s",cfn,"AFAssistLight");
                    if((PRINT_VALUE))
                    {
                        chpr += printf(" = %u",cfv);
                        print_startvalue();
                        switch(cfv)
                        {
                            case 0: chpr += printf("Emits/Fires"); break;
                            case 1: chpr += printf("Does not emit/Fires"); break;
                            case 2: chpr += printf("Only ext flash emits/Fires"); break;
                            case 3: chpr += printf("Emits/Does not fire"); break;
                            default: printred("undefined"); break;
                        }
                        print_endvalue();
                    }
                    break;
                case 6:
                    if((PRINT_TAGINFO))
                        chpr += printf("10D.%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 7:
                    if((PRINT_TAGINFO))
                        chpr += printf("10D.%02d_%-30.30s",cfn,"AFPointRegistration");
                    if((PRINT_VALUE))
                    {
                        chpr += printf(" = %u",cfv);
                        print_startvalue();
                        switch(cfv)
                        {
                            case 0: chpr += printf("Center"); break;
                            case 1: chpr += printf("Bottom"); break;
                            case 2: chpr += printf("Right"); break;
                            case 3: chpr += printf("Extreme Right"); break;
                            case 4: chpr += printf("Automatic"); break;
                            case 5: chpr += printf("Extreme Left"); break;
                            case 6: chpr += printf("Left"); break;
                            case 7: chpr += printf("Top"); break;
                            default: printred("undefined"); break;
                        }
                        print_endvalue();
                    }
                    break;
                case 8:
                    if((PRINT_TAGINFO))
                        chpr += printf("10D.%02d_%-30.30s",cfn,"RawandJpegRecording");
                    if((PRINT_VALUE))
                    {
                        chpr += printf(" = %u",cfv);
                        print_startvalue();
                        switch(cfv)
                        {
                            case 0: chpr += printf("RAW+Small/Normal"); break;
                            case 1: chpr += printf("RAW+Small/Fine"); break;
                            case 2: chpr += printf("RAW+Medium/Normal"); break;
                            case 3: chpr += printf("RAW+Medium/Fine"); break;
                            case 4: chpr += printf("RAW+Large/Normal"); break;
                            case 5: chpr += printf("RAW+Large/Fine"); break;
                            default: printred("undefined"); break;
                        }
                        print_endvalue();
                    }
                    break;
                case 9:
                    if((PRINT_TAGINFO))
                        chpr += printf("10D.%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 10:
                    if((PRINT_TAGINFO))
                        chpr += printf("10D.%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 11:
                    if((PRINT_TAGINFO))
                        chpr += printf("10D.%02d_%-30.30s",cfn,"MenuButtonDisplayPosition");
                    if((PRINT_VALUE))
                    {
                        chpr += printf(" = %u",cfv);
                        print_startvalue();
                        switch(cfv)
                        {
                            case 0: chpr += printf("Previous (volatile)"); break;
                            case 1: chpr += printf("Previous"); break;
                            case 2: chpr += printf("Top"); break;
                            default: printred("undefined"); break;
                        }
                        print_endvalue();
                    }
                    break;
                case 12:
                    if((PRINT_TAGINFO))
                        chpr += printf("10D.%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 13:
                    if((PRINT_TAGINFO))
                        chpr += printf("10D.%02d_%-30.30s",cfn,"AssistButtonFunction");
                    if((PRINT_VALUE))
                    {
                        chpr += printf(" = %u",cfv);
                        print_startvalue();
                        switch(cfv)
                        {
                            case 0: chpr += printf("Normal"); break;
                            case 1: chpr += printf("Select home position"); break;
                            case 2: chpr += printf("Select HP (while pressing)"); break;
                            case 3: chpr += printf("Ax+/-(AF point by QCD)"); break;
                            case 4: chpr += printf("FE lock"); break;
                            default: printred("undefined"); break;
                        }
                        print_endvalue();
                    }
                    break;
                case 14:
                    if((PRINT_TAGINFO))
                        chpr += printf("10D.%02d_%-30.30s",cfn,"FillFlashAutoReduction");
                    if((PRINT_VALUE))
                    {
                        chpr += printf(" = %u",cfv);
                        print_startvalue();
                        switch(cfv)
                        {
                            case 0: chpr += printf("Enabled"); break;
                            case 1: chpr += printf("Disabled"); break;
                            default: printred("undefined"); break;
                        }
                        print_endvalue();
                    }
                    break;
                case 15:
                    if((PRINT_TAGINFO))
                        chpr += printf("10D.%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 16:
                    if((PRINT_TAGINFO))
                        chpr += printf("10D.%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 17:
                    if((PRINT_TAGINFO))
                        chpr += printf("10D.%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;
                default:
                    if((PRINT_TAGINFO))
                        chpr += printf("10D.%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 0x1e424(%rip), %rax     # 0x57180
xorl %edi, %edi
testb $0x4, 0x2(%rax)
je 0x38db6
leaq 0xd99f(%rip), %rdi      # 0x4670a
movq %r15, %rsi
xorl %eax, %eax
callq 0x3120
movl %eax, %edi
movzwl %bx, %ebx
cmpq %r15, %rbx
je 0x38db6
callq 0x160f7
movl %eax, %r14d
leaq 0x634e(%rip), %rcx      # 0x3f0dc
movl $0x40000, %edi          # imm = 0x40000
movq %r12, %rsi
movl (%rsp), %edx
callq 0x5100
leaq 0x12038(%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 0x1e3bc(%rip), %rax     # 0x57180
testl $0x4003333, (%rax)      # imm = 0x4003333
je 0x39843
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 0x39839
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 0x62bd(%rip), %rcx      # 0x3f0dc
callq 0x5100
leaq 0x1e355(%rip), %rax     # 0x57180
movzwl (%rax), %eax
testw $0x3003, %ax            # imm = 0x3003
je 0x38e49
leaq 0x625c(%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 0x1e322(%rip), %rax     # 0x57180
movq (%rax), %rax
leal -0x1(%rsi), %ecx
cmpl $0x10, %ecx
ja 0x393db
leaq 0x11c94(%rip), %rdx     # 0x4ab08
movslq (%rdx,%rcx,4), %rcx
addq %rdx, %rcx
jmpq *%rcx
testw $0x3003, %ax            # imm = 0x3003
je 0x38ea7
leaq 0x1277a(%rip), %rdi     # 0x4b604
pushq $0x1
popq %rsi
leaq 0x12782(%rip), %rdx     # 0x4b616
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x1e2dc(%rip), %rax     # 0x57180
movq (%rax), %rax
testb $0x30, %al
je 0x39827
leaq 0xa0a4(%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 0x3965f
movzbl %r12b, %eax
leaq 0x11ce9(%rip), %rcx     # 0x4abc8
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x12693(%rip), %rdi     # 0x4b582
jmp 0x39815
testw $0x3003, %ax            # imm = 0x3003
je 0x38f1e
leaq 0x12703(%rip), %rdi     # 0x4b604
pushq $0x11
popq %rsi
leaq 0x12975(%rip), %rdx     # 0x4b880
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x1e265(%rip), %rax     # 0x57180
movq (%rax), %rax
testb $0x30, %al
je 0x39827
leaq 0xa02d(%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 0x396dc
movzbl %r15b, %eax
cmpl $0x1, %eax
je 0x396d0
testl %eax, %eax
jne 0x3965f
leaq 0x12587(%rip), %rdi     # 0x4b4ee
jmp 0x39815
testw $0x3003, %ax            # imm = 0x3003
je 0x38f96
leaq 0x1268b(%rip), %rdi     # 0x4b604
pushq $0xf
popq %rsi
leaq 0x1251d(%rip), %rdx     # 0x4b4a0
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x1e1ed(%rip), %rax     # 0x57180
movq (%rax), %rax
testb $0x30, %al
je 0x39827
leaq 0x9fb5(%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 0x39688
movzbl %r15b, %eax
testl %eax, %eax
jne 0x3965f
leaq 0x12876(%rip), %rdi     # 0x4b84c
jmp 0x39815
testw $0x3003, %ax            # imm = 0x3003
je 0x39005
leaq 0x1261c(%rip), %rdi     # 0x4b604
pushq $0xc
popq %rsi
leaq 0x123eb(%rip), %rdx     # 0x4b3dd
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x1e17e(%rip), %rax     # 0x57180
movq (%rax), %rax
testb $0x30, %al
je 0x39827
leaq 0x9f46(%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 0x394f5
movzbl %r15b, %eax
testl %eax, %eax
je 0x39670
jmp 0x3965f
testw $0x3003, %ax            # imm = 0x3003
je 0x3906d
leaq 0x125b4(%rip), %rdi     # 0x4b604
pushq $0x5
popq %rsi
leaq 0x123b7(%rip), %rdx     # 0x4b411
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x1e116(%rip), %rax     # 0x57180
movq (%rax), %rax
testb $0x30, %al
je 0x39827
leaq 0x9ede(%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 0x3965f
movzbl %r12b, %eax
leaq 0x11b03(%rip), %rcx     # 0x4aba8
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x125cc(%rip), %rdi     # 0x4b681
jmp 0x39815
testw $0x3003, %ax            # imm = 0x3003
je 0x390e4
leaq 0x1253d(%rip), %rdi     # 0x4b604
pushq $0xd
popq %rsi
leaq 0x12700(%rip), %rdx     # 0x4b7d1
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x1e09f(%rip), %rax     # 0x57180
movq (%rax), %rax
testb $0x30, %al
je 0x39827
leaq 0x9e67(%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 0x3965f
movzbl %r12b, %eax
leaq 0x11a30(%rip), %rcx     # 0x4ab4c
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x1027d(%rip), %rdi     # 0x493a9
jmp 0x39815
testw $0x3003, %ax            # imm = 0x3003
je 0x3915b
leaq 0x124c6(%rip), %rdi     # 0x4b604
pushq $0xa
popq %rsi
leaq 0x1265b(%rip), %rdx     # 0x4b7a3
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x1e028(%rip), %rax     # 0x57180
movq (%rax), %rax
testb $0x30, %al
je 0x39827
leaq 0x9df0(%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 0x39694
movzbl %r15b, %eax
testl %eax, %eax
jne 0x3965f
leaq 0xfeb6(%rip), %rdi      # 0x49051
jmp 0x39815
testw $0x3003, %ax            # imm = 0x3003
je 0x391ca
leaq 0x12457(%rip), %rdi     # 0x4b604
pushq $0x3
popq %rsi
leaq 0x12272(%rip), %rdx     # 0x4b429
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x1dfb9(%rip), %rax     # 0x57180
movq (%rax), %rax
testb $0x30, %al
je 0x39827
leaq 0x9d81(%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 0x396a0
movzbl %r15b, %eax
testl %eax, %eax
jne 0x3965f
leaq 0x105a0(%rip), %rdi     # 0x497aa
jmp 0x39815
testw $0x3003, %ax            # imm = 0x3003
je 0x39239
leaq 0x123e8(%rip), %rdi     # 0x4b604
pushq $0x10
popq %rsi
leaq 0x12637(%rip), %rdx     # 0x4b85d
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x1df4a(%rip), %rax     # 0x57180
movq (%rax), %rax
testb $0x30, %al
je 0x39827
leaq 0x9d12(%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 0x396ac
movzbl %r15b, %eax
testl %eax, %eax
jne 0x3965f
leaq 0x125f8(%rip), %rdi     # 0x4b871
jmp 0x39815
testw $0x3003, %ax            # imm = 0x3003
je 0x392a8
leaq 0x12379(%rip), %rdi     # 0x4b604
pushq $0x4
popq %rsi
leaq 0x12101(%rip), %rdx     # 0x4b396
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x1dedb(%rip), %rax     # 0x57180
movq (%rax), %rax
testb $0x30, %al
je 0x39827
leaq 0x9ca3(%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 0x3965f
movzbl %r12b, %eax
leaq 0x118d8(%rip), %rcx     # 0x4abb8
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x120bb(%rip), %rdi     # 0x4b3ab
jmp 0x39815
testw $0x3003, %ax            # imm = 0x3003
je 0x3931f
leaq 0x12302(%rip), %rdi     # 0x4b604
pushq $0x8
popq %rsi
leaq 0x12415(%rip), %rdx     # 0x4b721
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x1de64(%rip), %rax     # 0x57180
movq (%rax), %rax
testb $0x30, %al
je 0x39827
leaq 0x9c2c(%rip), %rdi      # 0x42f5a
movl %ebp, %esi
xorl %eax, %eax
callq 0x3120
movl %eax, %ebp
addl %ebx, %ebp
xorl %eax, %eax
callq 0x8f81
cmpb $0x5, %r15b
ja 0x3965f
movzbl %r12b, %eax
leaq 0x11819(%rip), %rcx     # 0x4ab70
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x123ce(%rip), %rdi     # 0x4b735
jmp 0x39815
testw $0x3003, %ax            # imm = 0x3003
je 0x39396
leaq 0x1228b(%rip), %rdi     # 0x4b604
pushq $0x2
popq %rsi
leaq 0x122d3(%rip), %rdx     # 0x4b656
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x1dded(%rip), %rax     # 0x57180
movq (%rax), %rax
testb $0x30, %al
je 0x39827
leaq 0x9bb5(%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 0x396b8
movzbl %r15b, %eax
testl %eax, %eax
jne 0x3965f
leaq 0x10bde(%rip), %rdi     # 0x49fb4
jmp 0x39815
testw $0x3003, %ax            # imm = 0x3003
je 0x39402
leaq 0x1221c(%rip), %rdi     # 0x4b604
leaq 0xda2a(%rip), %rdx      # 0x46e19
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x1dd81(%rip), %rax     # 0x57180
movq (%rax), %rax
testb $0x30, %al
je 0x39827
leaq 0x11f2a(%rip), %rdi     # 0x4b33b
movl %ebp, %esi
movl %ebp, %edx
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
jmp 0x39827
testw $0x3003, %ax            # imm = 0x3003
je 0x3944d
leaq 0x121d4(%rip), %rdi     # 0x4b604
pushq $0x6
popq %rsi
leaq 0x12296(%rip), %rdx     # 0x4b6d0
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x1dd36(%rip), %rax     # 0x57180
movq (%rax), %rax
testb $0x30, %al
je 0x39827
leaq 0x9afe(%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 0x396c4
movzbl %r15b, %eax
testl %eax, %eax
jne 0x3965f
leaq 0x11f72(%rip), %rdi     # 0x4b3ff
jmp 0x39815
testw $0x3003, %ax            # imm = 0x3003
je 0x394bc
leaq 0x12165(%rip), %rdi     # 0x4b604
pushq $0xe
popq %rsi
leaq 0x1238c(%rip), %rdx     # 0x4b835
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x1dcc7(%rip), %rax     # 0x57180
movq (%rax), %rax
testb $0x30, %al
je 0x39827
leaq 0x9a8f(%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 0x39670
movzbl %r15b, %eax
testl %eax, %eax
jne 0x3965f
leaq 0x11f70(%rip), %rdi     # 0x4b46c
jmp 0x39815
testw $0x3003, %ax            # imm = 0x3003
je 0x3952b
leaq 0x120f6(%rip), %rdi     # 0x4b604
pushq $0x7
popq %rsi
leaq 0x121d0(%rip), %rdx     # 0x4b6e8
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x1dc58(%rip), %rax     # 0x57180
movq (%rax), %rax
testb $0x30, %al
je 0x39827
leaq 0x9a20(%rip), %rdi      # 0x42f5a
movl %ebp, %esi
xorl %eax, %eax
callq 0x3120
movl %eax, %ebp
addl %ebx, %ebp
xorl %eax, %eax
callq 0x8f81
cmpb $0x7, %r15b
ja 0x3965f
movzbl %r12b, %eax
leaq 0x11625(%rip), %rcx     # 0x4ab88
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x12816(%rip), %rdi     # 0x4bd89
jmp 0x39815
testw $0x3003, %ax            # imm = 0x3003
je 0x395a2
leaq 0x1207f(%rip), %rdi     # 0x4b604
pushq $0xb
popq %rsi
leaq 0x12228(%rip), %rdx     # 0x4b7b7
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x1dbe1(%rip), %rax     # 0x57180
movq (%rax), %rax
testb $0x30, %al
je 0x39827
leaq 0x99a9(%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 0x3967c
movzbl %r15b, %eax
cmpl $0x1, %eax
je 0x396e8
testl %eax, %eax
jne 0x3965f
leaq 0x11f64(%rip), %rdi     # 0x4b54b
jmp 0x39815
testw $0x3003, %ax            # imm = 0x3003
je 0x39616
leaq 0x1200b(%rip), %rdi     # 0x4b604
pushq $0x9
popq %rsi
leaq 0x12194(%rip), %rdx     # 0x4b797
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x1db6d(%rip), %rax     # 0x57180
movq (%rax), %rax
testb $0x30, %al
je 0x39827
leaq 0x9935(%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 0x3965f
movzbl %r12b, %eax
leaq 0x11516(%rip), %rcx     # 0x4ab60
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x11e0c(%rip), %rdi     # 0x4b466
jmp 0x39815
leaq 0xd7b3(%rip), %rdi      # 0x46e19
callq 0x56e2
jmp 0x3981e
leaq 0x11e03(%rip), %rdi     # 0x4b47a
jmp 0x39815
leaq 0xf019(%rip), %rdi      # 0x4869c
jmp 0x39815
leaq 0x11e35(%rip), %rdi     # 0x4b4c4
jmp 0x39815
leaq 0xf9af(%rip), %rdi      # 0x4904a
jmp 0x39815
leaq 0x11fc6(%rip), %rdi     # 0x4b66d
jmp 0x39815
leaq 0x121c6(%rip), %rdi     # 0x4b879
jmp 0x39815
leaq 0x11689(%rip), %rdi     # 0x4ad48
jmp 0x39815
leaq 0x11d3d(%rip), %rdi     # 0x4b408
jmp 0x39815
leaq 0x11e1f(%rip), %rdi     # 0x4b4f6
jmp 0x39815
leaq 0x11e1e(%rip), %rdi     # 0x4b501
jmp 0x39815
leaq 0x11e70(%rip), %rdi     # 0x4b55f
jmp 0x39815
leaq 0x11fa6(%rip), %rdi     # 0x4b6a1
jmp 0x39815
leaq 0x11fb5(%rip), %rdi     # 0x4b6bc
jmp 0x39815
leaq 0x11f7a(%rip), %rdi     # 0x4b68d
jmp 0x39815
leaq 0x11ca2(%rip), %rdi     # 0x4b3c1
jmp 0x39815
leaq 0x11f50(%rip), %rdi     # 0x4b67b
jmp 0x39815
leaq 0x11c7f(%rip), %rdi     # 0x4b3b6
jmp 0x39815
leaq 0x11d40(%rip), %rdi     # 0x4b483
jmp 0x39815
leaq 0x11d42(%rip), %rdi     # 0x4b491
jmp 0x39815
leaq 0x11d19(%rip), %rdi     # 0x4b474
jmp 0x39815
leaq 0x120c6(%rip), %rdi     # 0x4b82d
jmp 0x39815
leaq 0x12088(%rip), %rdi     # 0x4b7fb
jmp 0x39815
leaq 0x12097(%rip), %rdi     # 0x4b816
jmp 0x39815
leaq 0x11ebe(%rip), %rdi     # 0x4b649
jmp 0x39815
leaq 0x1204f(%rip), %rdi     # 0x4b7e6
jmp 0x39815
leaq 0x11e8a(%rip), %rdi     # 0x4b62a
jmp 0x39815
leaq 0x11e93(%rip), %rdi     # 0x4b63c
jmp 0x39815
leaq 0x11ddd(%rip), %rdi     # 0x4b58f
jmp 0x39815
leaq 0x11fbc(%rip), %rdi     # 0x4b777
jmp 0x39815
leaq 0x11f91(%rip), %rdi     # 0x4b755
jmp 0x39815
leaq 0x11f9a(%rip), %rdi     # 0x4b767
jmp 0x39815
leaq 0x11f70(%rip), %rdi     # 0x4b746
jmp 0x39815
leaq 0x11fa9(%rip), %rdi     # 0x4b788
jmp 0x39815
leaq 0x11f22(%rip), %rdi     # 0x4b70a
jmp 0x39815
leaq 0x11f13(%rip), %rdi     # 0x4b704
jmp 0x39815
leaq 0x11f02(%rip), %rdi     # 0x4b6fc
jmp 0x39815
leaq 0xeea5(%rip), %rdi      # 0x486a8
jmp 0x39815
leaq 0x11f08(%rip), %rdi     # 0x4b714
jmp 0x39815
leaq 0x11f07(%rip), %rdi     # 0x4b71c
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 0x38def
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