// File: /workspace/github_c_makefile_star2_O2/hfiguiere[P]exifprobe/maker_canon.c
// Function: canon_customfunctionsD30
unsigned long
canon_customfunctionsD30(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;

    length = read_ushort(inptr,byteorder,offset);
    end_offset = offset + dirlength;
    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("D30.%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("D30.%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 3:
                    if((PRINT_TAGINFO))
                        chpr += printf("D30.%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 4:
                    if((PRINT_TAGINFO))
                        chpr += printf("D30.%02d_%-30.30s",cfn,"TvAvAndExposureLevel");
                    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 5:
                    if((PRINT_TAGINFO))
                        chpr += printf("D30.%02d_%-30.30s",cfn,"AFAssistLight");
                    if((PRINT_VALUE))
                    {
                        chpr += printf(" = %u",cfv);
                        print_startvalue();
                        switch(cfv)
                        {
                            case 0: chpr += printf("On (auto)"); break;
                            case 1: chpr += printf("Off"); break;
                            default: printred("undefined"); break;
                        }
                        print_endvalue();
                    }
                    break;
                case 6:
                    if((PRINT_TAGINFO))
                        chpr += printf("D30.%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("D30/200 (fixed)"); break;
                            default: printred("undefined"); break;
                        }
                        print_endvalue();
                    }
                    break;
                case 7:
                    if((PRINT_TAGINFO))
                        chpr += printf("D30.%02d_%-30.30s",cfn,"AEBSequenceAutoCancellation");
                    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 8:
                    if((PRINT_TAGINFO))
                        chpr += printf("D30.%02d_%-30.30s",cfn,"ShutterCurtainSync");
                    if((PRINT_VALUE))
                    {
                        chpr += printf(" = %u",cfv);
                        print_startvalue();
                        switch(cfv)
                        {
                            case 0: chpr += printf("D30-curtain sync"); break;
                            case 1: chpr += printf("2nd-curtain sync"); break;
                            default: printred("undefined"); break;
                        }
                        print_endvalue();
                    }
                    break;
                case 9:
                    if((PRINT_TAGINFO))
                        chpr += printf("D30.%02d_%-30.30s",cfn,"LensAFStopButtonFnSwitch");
                    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 10:
                    if((PRINT_TAGINFO))
                        chpr += printf("D30.%02d_%-30.30s",cfn,"AutoReductionOfFillFlash");
                    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 11:
                    if((PRINT_TAGINFO))
                        chpr += printf("D30.%02d_%-30.30s",cfn,"MenuButtonReturnPosition");
                    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 12:
                    if((PRINT_TAGINFO))
                        chpr += printf("D30.%02d_%-30.30s",cfn,"SETButtonFuncWhenShooting");
                    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 ISO speed"); break;
                            case 3: chpr += printf("PreviouSelect parameters"); break;
                            default: printred("undefined"); break;
                        }
                        print_endvalue();
                    }
                    break;
                case 13:
                    if((PRINT_TAGINFO))
                        chpr += printf("D30.%02d_%-30.30s",cfn,"SensorCleaning");
                    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 14:
                    if((PRINT_TAGINFO))
                        chpr += printf("D30.%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 15:
                    if((PRINT_TAGINFO))
                        chpr += printf("D30.%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;
                default:
                    if((PRINT_TAGINFO))
                        chpr += printf("D30.%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, %ebp
movq %rdi, 0x20(%rsp)
movq %rcx, %rdx
callq 0x416a
movl %eax, %ebx
leaq 0x1d8ec(%rip), %rax     # 0x57180
xorl %edi, %edi
testb $0x4, 0x2(%rax)
je 0x398ee
leaq 0xce67(%rip), %rdi      # 0x4670a
movq %r12, %rsi
xorl %eax, %eax
callq 0x3120
movl %eax, %edi
movzwl %bx, %ebx
cmpq %r12, %rbx
je 0x398ee
callq 0x160f7
movl %eax, %r15d
leaq 0x5816(%rip), %rcx      # 0x3f0dc
movl $0x40000, %edi          # imm = 0x40000
movq %r13, %rsi
movl (%rsp), %edx
callq 0x5100
leaq 0x11500(%rip), %rdi     # 0x4addd
movl %ebx, %esi
movq %r12, %rdx
xorl %eax, %eax
callq 0x3120
movl %eax, %edi
addl %r15d, %edi
callq 0x160f7
movl %eax, %ebx
leaq 0x1d884(%rip), %rax     # 0x57180
testl $0x4003333, (%rax)      # imm = 0x4003333
je 0x3a128
movq %r12, 0x10(%rsp)
shrq %r12
decq %r12
movq %r13, 0x8(%rsp)
addq $0x2, %r13
movzwl %bp, %eax
movl %eax, 0x4(%rsp)
subq $0x1, %r12
jb 0x3a11e
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 0x5789(%rip), %rcx      # 0x3f0dc
callq 0x5100
leaq 0x1d821(%rip), %rax     # 0x57180
movzwl (%rax), %eax
testw $0x3003, %ax            # imm = 0x3003
je 0x3997d
leaq 0x5728(%rip), %rdi      # 0x3f097
movq 0x18(%rsp), %rsi
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
movzwl %r15w, %r14d
movl %r14d, %esi
shrl $0x8, %esi
movzbl %r14b, %ebp
leaq 0x1d7ee(%rip), %rax     # 0x57180
movq (%rax), %rax
leal -0x1(%rsi), %ecx
cmpl $0xe, %ecx
ja 0x39c5e
leaq 0x11234(%rip), %rdx     # 0x4abdc
movslq (%rdx,%rcx,4), %rcx
addq %rdx, %rcx
jmpq *%rcx
testw $0x3003, %ax            # imm = 0x3003
je 0x399db
leaq 0x11999(%rip), %rdi     # 0x4b357
pushq $0x1
popq %rsi
leaq 0x119a1(%rip), %rdx     # 0x4b369
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x1d7a8(%rip), %rax     # 0x57180
movq (%rax), %rax
testb $0x30, %al
je 0x3a10c
leaq 0x9570(%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 0x39ecd
movzbl %r15b, %eax
testl %eax, %eax
je 0x3a051
jmp 0x3a034
testw $0x3003, %ax            # imm = 0x3003
je 0x39a43
leaq 0x1195e(%rip), %rdi     # 0x4b384
pushq $0xf
popq %rsi
leaq 0x11bbc(%rip), %rdx     # 0x4b5ec
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x1d740(%rip), %rax     # 0x57180
movq (%rax), %rax
testb $0x30, %al
je 0x3a10c
leaq 0x9508(%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 0x3a05d
movzbl %r15b, %eax
testl %eax, %eax
jne 0x3a034
leaq 0x10531(%rip), %rdi     # 0x49fb4
jmp 0x3a0fa
testw $0x3003, %ax            # imm = 0x3003
je 0x39ab2
leaq 0x118ef(%rip), %rdi     # 0x4b384
pushq $0xc
popq %rsi
leaq 0x11ac9(%rip), %rdx     # 0x4b568
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x1d6d1(%rip), %rax     # 0x57180
movq (%rax), %rax
testb $0x30, %al
je 0x3a10c
leaq 0x9499(%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 0x3a034
movzbl %r14b, %eax
leaq 0x1112e(%rip), %rcx     # 0x4ac18
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x11a88(%rip), %rdi     # 0x4b582
jmp 0x3a0fa
testw $0x3003, %ax            # imm = 0x3003
je 0x39b29
leaq 0x11878(%rip), %rdi     # 0x4b384
pushq $0x5
popq %rsi
leaq 0x118fb(%rip), %rdx     # 0x4b411
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x1d65a(%rip), %rax     # 0x57180
movq (%rax), %rax
testb $0x30, %al
je 0x3a10c
leaq 0x9422(%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 0x3a051
movzbl %r15b, %eax
testl %eax, %eax
jne 0x3a034
leaq 0x118b6(%rip), %rdi     # 0x4b41f
jmp 0x3a0fa
testw $0x3003, %ax            # imm = 0x3003
je 0x39c19
leaq 0x11805(%rip), %rdi     # 0x4b384
pushq $0xd
popq %rsi
leaq 0x11a3f(%rip), %rdx     # 0x4b5c8
jmp 0x39c06
testw $0x3003, %ax            # imm = 0x3003
je 0x39bb5
leaq 0x117ec(%rip), %rdi     # 0x4b384
pushq $0xa
popq %rsi
leaq 0x11977(%rip), %rdx     # 0x4b519
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x1d5ce(%rip), %rax     # 0x57180
movq (%rax), %rax
testb $0x30, %al
je 0x3a10c
leaq 0x9396(%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 0x39c52
movzbl %r15b, %eax
testl %eax, %eax
je 0x3a045
jmp 0x3a034
testw $0x3003, %ax            # imm = 0x3003
je 0x39c19
leaq 0x11788(%rip), %rdi     # 0x4b384
pushq $0x3
popq %rsi
leaq 0x117d7(%rip), %rdx     # 0x4b3dd
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x1d56a(%rip), %rax     # 0x57180
movq (%rax), %rax
testb $0x30, %al
je 0x3a10c
leaq 0x9332(%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 0x3a045
movzbl %r15b, %eax
testl %eax, %eax
jne 0x3a034
leaq 0x11821(%rip), %rdi     # 0x4b47a
jmp 0x3a0fa
testw $0x3003, %ax            # imm = 0x3003
je 0x39c85
leaq 0x11719(%rip), %rdi     # 0x4b384
leaq 0xd1a7(%rip), %rdx      # 0x46e19
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x1d4fe(%rip), %rax     # 0x57180
movq (%rax), %rax
testb $0x30, %al
je 0x3a10c
leaq 0x116a7(%rip), %rdi     # 0x4b33b
movl %ebp, %esi
movl %ebp, %edx
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
jmp 0x3a10c
testw $0x3003, %ax            # imm = 0x3003
je 0x39cd0
leaq 0x116d1(%rip), %rdi     # 0x4b384
pushq $0x4
popq %rsi
leaq 0x1172d(%rip), %rdx     # 0x4b3ea
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x1d4b3(%rip), %rax     # 0x57180
movq (%rax), %rax
testb $0x30, %al
je 0x3a10c
leaq 0x927b(%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 0x3a069
movzbl %r15b, %eax
testl %eax, %eax
jne 0x3a034
leaq 0x116ef(%rip), %rdi     # 0x4b3ff
jmp 0x3a0fa
testw $0x3003, %ax            # imm = 0x3003
je 0x39d3f
leaq 0x11662(%rip), %rdi     # 0x4b384
pushq $0x8
popq %rsi
leaq 0x11774(%rip), %rdx     # 0x4b4a0
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x1d444(%rip), %rax     # 0x57180
movq (%rax), %rax
testb $0x30, %al
je 0x3a10c
leaq 0x920c(%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 0x3a075
movzbl %r15b, %eax
testl %eax, %eax
jne 0x3a034
leaq 0x11734(%rip), %rdi     # 0x4b4b3
jmp 0x3a0fa
testw $0x3003, %ax            # imm = 0x3003
je 0x39dae
leaq 0x115f3(%rip), %rdi     # 0x4b384
pushq $0x2
popq %rsi
leaq 0x115fb(%rip), %rdx     # 0x4b396
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x1d3d5(%rip), %rax     # 0x57180
movq (%rax), %rax
testb $0x30, %al
je 0x3a10c
leaq 0x919d(%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 0x3a034
movzbl %r14b, %eax
leaq 0x10e52(%rip), %rcx     # 0x4ac38
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x115b5(%rip), %rdi     # 0x4b3ab
jmp 0x3a0fa
testw $0x3003, %ax            # imm = 0x3003
je 0x39e25
leaq 0x1157c(%rip), %rdi     # 0x4b384
pushq $0x6
popq %rsi
leaq 0x11617(%rip), %rdx     # 0x4b429
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x1d35e(%rip), %rax     # 0x57180
movq (%rax), %rax
testb $0x30, %al
je 0x3a10c
leaq 0x9126(%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 0x3a07e
movzbl %r15b, %eax
testl %eax, %eax
jne 0x3a034
leaq 0xf945(%rip), %rdi      # 0x497aa
jmp 0x3a0fa
testw $0x3003, %ax            # imm = 0x3003
je 0x39e94
leaq 0x1150d(%rip), %rdi     # 0x4b384
pushq $0xe
popq %rsi
leaq 0x11756(%rip), %rdx     # 0x4b5d7
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x1d2ef(%rip), %rax     # 0x57180
movq (%rax), %rax
testb $0x30, %al
je 0x3a10c
leaq 0x90b7(%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 0x3a051
movzbl %r15b, %eax
testl %eax, %eax
jne 0x3a034
leaq 0xf17d(%rip), %rdi      # 0x49051
jmp 0x3a0fa
testw $0x3003, %ax            # imm = 0x3003
je 0x39f03
leaq 0x1149e(%rip), %rdi     # 0x4b384
pushq $0x7
popq %rsi
leaq 0x1155a(%rip), %rdx     # 0x4b44a
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x1d280(%rip), %rax     # 0x57180
movq (%rax), %rax
testb $0x30, %al
je 0x3a10c
leaq 0x9048(%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 0x3a034
movzbl %r14b, %eax
leaq 0x10ced(%rip), %rcx     # 0x4ac28
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x1151b(%rip), %rdi     # 0x4b466
jmp 0x3a0fa
testw $0x3003, %ax            # imm = 0x3003
je 0x39f7a
leaq 0x11427(%rip), %rdi     # 0x4b384
pushq $0xb
popq %rsi
leaq 0x115cb(%rip), %rdx     # 0x4b532
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x1d209(%rip), %rax     # 0x57180
movq (%rax), %rax
testb $0x30, %al
je 0x3a10c
leaq 0x8fd1(%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 0x3a099
movzbl %r15b, %eax
cmpl $0x1, %eax
je 0x3a087
testl %eax, %eax
jne 0x3a034
leaq 0xe6dd(%rip), %rdi      # 0x4869c
jmp 0x3a0fa
testw $0x3003, %ax            # imm = 0x3003
je 0x39fee
leaq 0x113b3(%rip), %rdi     # 0x4b384
pushq $0x9
popq %rsi
leaq 0x114fa(%rip), %rdx     # 0x4b4d5
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x1d195(%rip), %rax     # 0x57180
movq (%rax), %rax
testb $0x30, %al
je 0x3a10c
leaq 0x8f5d(%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 0x3a0a2
movzbl %r15b, %eax
cmpl $0x1, %eax
je 0x3a090
testl %eax, %eax
jne 0x3a034
leaq 0x114bf(%rip), %rdi     # 0x4b4ee
jmp 0x3a0fa
leaq 0xcdde(%rip), %rdi      # 0x46e19
callq 0x56e2
jmp 0x3a103
leaq 0x11420(%rip), %rdi     # 0x4b46c
jmp 0x3a0fa
leaq 0xeff2(%rip), %rdi      # 0x4904a
jmp 0x3a0fa
leaq 0x10ce4(%rip), %rdi     # 0x4ad48
jmp 0x3a0fa
leaq 0x11398(%rip), %rdi     # 0x4b408
jmp 0x3a0fa
leaq 0x11448(%rip), %rdi     # 0x4b4c4
jmp 0x3a0fa
leaq 0x113b5(%rip), %rdi     # 0x4b43a
jmp 0x3a0fa
leaq 0x114bd(%rip), %rdi     # 0x4b54b
jmp 0x3a0fa
leaq 0x1145f(%rip), %rdi     # 0x4b4f6
jmp 0x3a0fa
leaq 0x114bf(%rip), %rdi     # 0x4b55f
jmp 0x3a0fa
leaq 0x11458(%rip), %rdi     # 0x4b501
jmp 0x3a0fa
leaq 0x114ec(%rip), %rdi     # 0x4b59e
jmp 0x3a0fa
leaq 0x114f4(%rip), %rdi     # 0x4b5af
jmp 0x3a0fa
leaq 0x114cb(%rip), %rdi     # 0x4b58f
jmp 0x3a0fa
leaq 0x112f4(%rip), %rdi     # 0x4b3c1
jmp 0x3a0fa
leaq 0x112f6(%rip), %rdi     # 0x4b3cc
jmp 0x3a0fa
leaq 0x112d7(%rip), %rdi     # 0x4b3b6
jmp 0x3a0fa
leaq 0x1139b(%rip), %rdi     # 0x4b483
jmp 0x3a0fa
leaq 0x113a0(%rip), %rdi     # 0x4b491
jmp 0x3a0fa
leaq 0x1137a(%rip), %rdi     # 0x4b474
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 0x39923
movq 0x10(%rsp), %r12
movq 0x8(%rsp), %r13
addq %r13, %r12
movl %ebx, %edi
callq 0x16a4f
movq %r12, %rax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq