// File: /workspace/github_c_makefile_star2_O1/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, %r14d
movq %rdi, 0x20(%rsp)
movq %rcx, %rdx
callq 0x4574
movl %eax, %ebx
leaq 0x1d375(%rip), %rax     # 0x58180
xorl %edi, %edi
testb $0x4, 0x2(%rax)
je 0x3ae65
leaq 0xd900(%rip), %rdi      # 0x4871a
movq %r12, %rsi
xorl %eax, %eax
callq 0x3120
movl %eax, %edi
movzwl %bx, %ebx
cmpq %r12, %rbx
je 0x3ae65
callq 0x16b56
movl %eax, %r15d
leaq 0x629f(%rip), %rcx      # 0x410dc
movl $0x40000, %edi          # imm = 0x40000
movq %r13, %rsi
movl (%rsp), %edx
callq 0x5605
leaq 0x11f99(%rip), %rdi     # 0x4cded
movl %ebx, %esi
movq %r12, %rdx
xorl %eax, %eax
callq 0x3120
movl %eax, %edi
addl %r15d, %edi
callq 0x16b56
movl %eax, %ebx
leaq 0x1d30d(%rip), %rax     # 0x58180
testl $0x4003333, (%rax)      # imm = 0x4003333
movq %r12, 0x10(%rsp)
movq %r13, 0x8(%rsp)
je 0x3b6db
shrq %r12
decq %r12
je 0x3b6db
addq $0x2, %r13
movzwl %r14w, %eax
movl %eax, 0x4(%rsp)
movq 0x20(%rsp), %rdi
movl 0x4(%rsp), %esi
movq %r13, %rdx
callq 0x4574
movl %eax, %r15d
movl $0x4003333, %edi        # imm = 0x4003333
movq %r13, %rsi
movl (%rsp), %edx
leaq 0x6215(%rip), %rcx      # 0x410dc
callq 0x5605
leaq 0x1d2ad(%rip), %rax     # 0x58180
movzwl (%rax), %eax
testl $0x3003, %eax           # imm = 0x3003
je 0x3aef2
leaq 0x61b3(%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 0x1d27a(%rip), %rax     # 0x58180
movq (%rax), %rax
leal -0x1(%rsi), %ecx
cmpl $0xe, %ecx
ja 0x3b1f0
leaq 0x11cd0(%rip), %rdx     # 0x4cbec
movslq (%rdx,%rcx,4), %rcx
addq %rdx, %rcx
jmpq *%rcx
testl $0x3003, %eax           # imm = 0x3003
je 0x3af48
leaq 0x12434(%rip), %rdi     # 0x4d367
movl $0x1, %esi
leaq 0x1243a(%rip), %rdx     # 0x4d379
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x1d231(%rip), %rax     # 0x58180
testb $0x30, (%rax)
je 0x3b6c5
leaq 0x9ffb(%rip), %rdi      # 0x44f5a
movl %r14d, %esi
xorl %eax, %eax
callq 0x3120
movl %eax, %r14d
addl %ebx, %r14d
xorl %eax, %eax
callq 0x95d2
cmpb $0x1, %r15b
je 0x3b474
movzbl %r15b, %eax
testl %eax, %eax
je 0x3b608
jmp 0x3b5eb
testl $0x3003, %eax           # imm = 0x3003
je 0x3afb4
leaq 0x123f5(%rip), %rdi     # 0x4d394
movl $0xf, %esi
leaq 0x12651(%rip), %rdx     # 0x4d5fc
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x1d1c5(%rip), %rax     # 0x58180
testb $0x30, (%rax)
je 0x3b6c5
leaq 0x9f8f(%rip), %rdi      # 0x44f5a
movl %r14d, %esi
xorl %eax, %eax
callq 0x3120
movl %eax, %r14d
addl %ebx, %r14d
xorl %eax, %eax
callq 0x95d2
cmpb $0x1, %r15b
je 0x3b614
movzbl %r15b, %eax
testl %eax, %eax
jne 0x3b5eb
leaq 0x10fc5(%rip), %rdi     # 0x4bfc4
jmp 0x3b6b1
testl $0x3003, %eax           # imm = 0x3003
je 0x3b027
leaq 0x12382(%rip), %rdi     # 0x4d394
movl $0xc, %esi
leaq 0x1255a(%rip), %rdx     # 0x4d578
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x1d152(%rip), %rax     # 0x58180
testb $0x30, (%rax)
je 0x3b6c5
leaq 0x9f1c(%rip), %rdi      # 0x44f5a
movl %r14d, %esi
xorl %eax, %eax
callq 0x3120
movl %eax, %r14d
addl %ebx, %r14d
xorl %eax, %eax
callq 0x95d2
cmpb $0x3, %r15b
ja 0x3b5eb
movzbl %bpl, %eax
leaq 0x11bbe(%rip), %rcx     # 0x4cc28
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x12518(%rip), %rdi     # 0x4d592
jmp 0x3b6b1
testl $0x3003, %eax           # imm = 0x3003
je 0x3b0a2
leaq 0x12307(%rip), %rdi     # 0x4d394
movl $0x5, %esi
leaq 0x12388(%rip), %rdx     # 0x4d421
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x1d0d7(%rip), %rax     # 0x58180
testb $0x30, (%rax)
je 0x3b6c5
leaq 0x9ea1(%rip), %rdi      # 0x44f5a
movl %r14d, %esi
xorl %eax, %eax
callq 0x3120
movl %eax, %r14d
addl %ebx, %r14d
xorl %eax, %eax
callq 0x95d2
cmpb $0x1, %r15b
je 0x3b608
movzbl %r15b, %eax
testl %eax, %eax
jne 0x3b5eb
leaq 0x12342(%rip), %rdi     # 0x4d42f
jmp 0x3b6b1
testl $0x3003, %eax           # imm = 0x3003
je 0x3b1a0
leaq 0x12290(%rip), %rdi     # 0x4d394
movl $0xd, %esi
leaq 0x124c8(%rip), %rdx     # 0x4d5d8
jmp 0x3b197
testl $0x3003, %eax           # imm = 0x3003
je 0x3b138
leaq 0x12271(%rip), %rdi     # 0x4d394
movl $0xa, %esi
leaq 0x123fa(%rip), %rdx     # 0x4d529
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x1d041(%rip), %rax     # 0x58180
testb $0x30, (%rax)
je 0x3b6c5
leaq 0x9e0b(%rip), %rdi      # 0x44f5a
movl %r14d, %esi
xorl %eax, %eax
callq 0x3120
movl %eax, %r14d
addl %ebx, %r14d
xorl %eax, %eax
callq 0x95d2
cmpb $0x1, %r15b
je 0x3b1e4
movzbl %r15b, %eax
testl %eax, %eax
je 0x3b5fc
jmp 0x3b5eb
testl $0x3003, %eax           # imm = 0x3003
je 0x3b1a0
leaq 0x12209(%rip), %rdi     # 0x4d394
movl $0x3, %esi
leaq 0x12256(%rip), %rdx     # 0x4d3ed
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x1cfd9(%rip), %rax     # 0x58180
testb $0x30, (%rax)
je 0x3b6c5
leaq 0x9da3(%rip), %rdi      # 0x44f5a
movl %r14d, %esi
xorl %eax, %eax
callq 0x3120
movl %eax, %r14d
addl %ebx, %r14d
xorl %eax, %eax
callq 0x95d2
cmpb $0x1, %r15b
je 0x3b5fc
movzbl %r15b, %eax
testl %eax, %eax
jne 0x3b5eb
leaq 0x1229f(%rip), %rdi     # 0x4d48a
jmp 0x3b6b1
testl $0x3003, %eax           # imm = 0x3003
je 0x3b20e
leaq 0x12196(%rip), %rdi     # 0x4d394
leaq 0xdc24(%rip), %rdx      # 0x48e29
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x1cf6b(%rip), %rax     # 0x58180
testb $0x30, (%rax)
je 0x3b6c5
leaq 0x12126(%rip), %rdi     # 0x4d34b
movl %r14d, %esi
movl %r14d, %edx
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
jmp 0x3b6c5
testl $0x3003, %eax           # imm = 0x3003
je 0x3b25c
leaq 0x1214d(%rip), %rdi     # 0x4d394
movl $0x4, %esi
leaq 0x121a7(%rip), %rdx     # 0x4d3fa
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x1cf1d(%rip), %rax     # 0x58180
testb $0x30, (%rax)
je 0x3b6c5
leaq 0x9ce7(%rip), %rdi      # 0x44f5a
movl %r14d, %esi
xorl %eax, %eax
callq 0x3120
movl %eax, %r14d
addl %ebx, %r14d
xorl %eax, %eax
callq 0x95d2
cmpb $0x1, %r15b
je 0x3b620
movzbl %r15b, %eax
testl %eax, %eax
jne 0x3b5eb
leaq 0x12168(%rip), %rdi     # 0x4d40f
jmp 0x3b6b1
testl $0x3003, %eax           # imm = 0x3003
je 0x3b2cf
leaq 0x120da(%rip), %rdi     # 0x4d394
movl $0x8, %esi
leaq 0x121ea(%rip), %rdx     # 0x4d4b0
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x1ceaa(%rip), %rax     # 0x58180
testb $0x30, (%rax)
je 0x3b6c5
leaq 0x9c74(%rip), %rdi      # 0x44f5a
movl %r14d, %esi
xorl %eax, %eax
callq 0x3120
movl %eax, %r14d
addl %ebx, %r14d
xorl %eax, %eax
callq 0x95d2
cmpb $0x1, %r15b
je 0x3b62c
movzbl %r15b, %eax
testl %eax, %eax
jne 0x3b5eb
leaq 0x121a9(%rip), %rdi     # 0x4d4c3
jmp 0x3b6b1
testl $0x3003, %eax           # imm = 0x3003
je 0x3b342
leaq 0x12067(%rip), %rdi     # 0x4d394
movl $0x2, %esi
leaq 0x1206d(%rip), %rdx     # 0x4d3a6
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x1ce37(%rip), %rax     # 0x58180
testb $0x30, (%rax)
je 0x3b6c5
leaq 0x9c01(%rip), %rdi      # 0x44f5a
movl %r14d, %esi
xorl %eax, %eax
callq 0x3120
movl %eax, %r14d
addl %ebx, %r14d
xorl %eax, %eax
callq 0x95d2
cmpb $0x3, %r15b
ja 0x3b5eb
movzbl %bpl, %eax
leaq 0x118c3(%rip), %rcx     # 0x4cc48
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x12026(%rip), %rdi     # 0x4d3bb
jmp 0x3b6b1
testl $0x3003, %eax           # imm = 0x3003
je 0x3b3bd
leaq 0x11fec(%rip), %rdi     # 0x4d394
movl $0x6, %esi
leaq 0x12085(%rip), %rdx     # 0x4d439
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x1cdbc(%rip), %rax     # 0x58180
testb $0x30, (%rax)
je 0x3b6c5
leaq 0x9b86(%rip), %rdi      # 0x44f5a
movl %r14d, %esi
xorl %eax, %eax
callq 0x3120
movl %eax, %r14d
addl %ebx, %r14d
xorl %eax, %eax
callq 0x95d2
cmpb $0x1, %r15b
je 0x3b635
movzbl %r15b, %eax
testl %eax, %eax
jne 0x3b5eb
leaq 0x103b2(%rip), %rdi     # 0x4b7ba
jmp 0x3b6b1
testl $0x3003, %eax           # imm = 0x3003
je 0x3b430
leaq 0x11f79(%rip), %rdi     # 0x4d394
movl $0xe, %esi
leaq 0x121c0(%rip), %rdx     # 0x4d5e7
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x1cd49(%rip), %rax     # 0x58180
testb $0x30, (%rax)
je 0x3b6c5
leaq 0x9b13(%rip), %rdi      # 0x44f5a
movl %r14d, %esi
xorl %eax, %eax
callq 0x3120
movl %eax, %r14d
addl %ebx, %r14d
xorl %eax, %eax
callq 0x95d2
cmpb $0x1, %r15b
je 0x3b608
movzbl %r15b, %eax
testl %eax, %eax
jne 0x3b5eb
leaq 0xfbe6(%rip), %rdi      # 0x4b061
jmp 0x3b6b1
testl $0x3003, %eax           # imm = 0x3003
je 0x3b4a3
leaq 0x11f06(%rip), %rdi     # 0x4d394
movl $0x7, %esi
leaq 0x11fc0(%rip), %rdx     # 0x4d45a
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x1ccd6(%rip), %rax     # 0x58180
testb $0x30, (%rax)
je 0x3b6c5
leaq 0x9aa0(%rip), %rdi      # 0x44f5a
movl %r14d, %esi
xorl %eax, %eax
callq 0x3120
movl %eax, %r14d
addl %ebx, %r14d
xorl %eax, %eax
callq 0x95d2
cmpb $0x3, %r15b
ja 0x3b5eb
movzbl %bpl, %eax
leaq 0x11752(%rip), %rcx     # 0x4cc38
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x11f80(%rip), %rdi     # 0x4d476
jmp 0x3b6b1
testl $0x3003, %eax           # imm = 0x3003
je 0x3b51e
leaq 0x11e8b(%rip), %rdi     # 0x4d394
movl $0xb, %esi
leaq 0x1202d(%rip), %rdx     # 0x4d542
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x1cc5b(%rip), %rax     # 0x58180
testb $0x30, (%rax)
je 0x3b6c5
leaq 0x9a25(%rip), %rdi      # 0x44f5a
movl %r14d, %esi
xorl %eax, %eax
callq 0x3120
movl %eax, %r14d
addl %ebx, %r14d
xorl %eax, %eax
callq 0x95d2
cmpb $0x2, %r15b
je 0x3b650
movzbl %r15b, %eax
cmpl $0x1, %eax
je 0x3b63e
testl %eax, %eax
jne 0x3b5eb
leaq 0xf13a(%rip), %rdi      # 0x4a6ac
jmp 0x3b6b1
testl $0x3003, %eax           # imm = 0x3003
je 0x3b59a
leaq 0x11e0f(%rip), %rdi     # 0x4d394
movl $0x9, %esi
leaq 0x11f54(%rip), %rdx     # 0x4d4e5
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x1cbdf(%rip), %rax     # 0x58180
testb $0x30, (%rax)
je 0x3b6c5
leaq 0x99a9(%rip), %rdi      # 0x44f5a
movl %r14d, %esi
xorl %eax, %eax
callq 0x3120
movl %eax, %r14d
addl %ebx, %r14d
xorl %eax, %eax
callq 0x95d2
cmpb $0x2, %r15b
je 0x3b659
movzbl %r15b, %eax
cmpl $0x1, %eax
je 0x3b647
testl %eax, %eax
jne 0x3b5eb
leaq 0x11f18(%rip), %rdi     # 0x4d4fe
jmp 0x3b6b1
leaq 0xd837(%rip), %rdi      # 0x48e29
callq 0x5c33
jmp 0x3b6bb
leaq 0x11e79(%rip), %rdi     # 0x4d47c
jmp 0x3b6b1
leaq 0xfa4b(%rip), %rdi      # 0x4b05a
jmp 0x3b6b1
leaq 0x1173d(%rip), %rdi     # 0x4cd58
jmp 0x3b6b1
leaq 0x11df1(%rip), %rdi     # 0x4d418
jmp 0x3b6b1
leaq 0x11ea1(%rip), %rdi     # 0x4d4d4
jmp 0x3b6b1
leaq 0x11e0e(%rip), %rdi     # 0x4d44a
jmp 0x3b6b1
leaq 0x11f16(%rip), %rdi     # 0x4d55b
jmp 0x3b6b1
leaq 0x11eb8(%rip), %rdi     # 0x4d506
jmp 0x3b6b1
leaq 0x11f18(%rip), %rdi     # 0x4d56f
jmp 0x3b6b1
leaq 0x11eb1(%rip), %rdi     # 0x4d511
jmp 0x3b6b1
leaq 0x11f45(%rip), %rdi     # 0x4d5ae
jmp 0x3b6b1
leaq 0x11f4d(%rip), %rdi     # 0x4d5bf
jmp 0x3b6b1
leaq 0x11f24(%rip), %rdi     # 0x4d59f
jmp 0x3b6b1
leaq 0x11d4d(%rip), %rdi     # 0x4d3d1
jmp 0x3b6b1
leaq 0x11d4f(%rip), %rdi     # 0x4d3dc
jmp 0x3b6b1
leaq 0x11d30(%rip), %rdi     # 0x4d3c6
jmp 0x3b6b1
leaq 0x11df4(%rip), %rdi     # 0x4d493
jmp 0x3b6b1
leaq 0x11df9(%rip), %rdi     # 0x4d4a1
jmp 0x3b6b1
leaq 0x11dd3(%rip), %rdi     # 0x4d484
xorl %eax, %eax
callq 0x3120
addl %eax, %r14d
xorl %eax, %eax
callq 0x95f3
movl %r14d, %ebx
movl %ebx, %edi
callq 0x16b56
movl %eax, %ebx
addq $0x2, %r13
decq %r12
jne 0x3aea1
movq 0x10(%rsp), %r14
addq 0x8(%rsp), %r14
movl %ebx, %edi
callq 0x17530
movq %r14, %rax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq