// File: /workspace/github_cpp_makefile_star2_O2/readmapping[P]alfalfa/src/options.cpp
// Function: processParameters(int, char**, mapOptions_t&)
void processParameters(int argc, char* argv[], mapOptions_t& opt) {
    //parse command
    if (strcmp(argv[1], "index") == 0) {
        opt.command = INDEX;
        opt.saveIndex = true;
    } else if (strcmp(argv[1], "align") == 0) {
        opt.command = ALN;
    } else {
        fprintf(stderr, "[main] unrecognized command '%s'\n", argv[0]);
        option::printUsage(std::cerr, basicUsage);
    }

    cerr << "parsing options: ..." << endl;
    argc -= 2;
    argv++;
    argv++;
    option::Stats stats(fullUsage, argc, argv);
    //misc option parsing
    option::Option* options = new option::Option[stats.options_max];
    option::Option* buffer = new option::Option[stats.buffer_max];
    option::Parser parser(fullUsage, argc, argv, options, buffer);
    if (parser.error()) {
        cerr << "error during parsing of command line options" << endl;
        exit(1);
    }
    if (options[ARG_HELP]) {
        if (opt.command == INDEX) {
            option::printUsage(std::cerr, indexUsage);
        } else {
            option::printUsage(std::cerr, alignUsage);
        }
        option::printUsage(std::cerr, miscUsage);
        exit(0);
    }
    if (options[ARG_VERBOSE])
        opt.alnOptions.print = atoi(options[ARG_VERBOSE].arg);
    if (options[ARG_DEBUG])
        opt.alnOptions.debugFile = fopen(options[ARG_DEBUG].arg, "w");
    //index parsing options
    if(options[ARG_UNKNOWN] || parser.nonOptionsCount() > 0){
        cerr << "encountered illegal options:" << endl;
        for (option::Option* opt = options[ARG_UNKNOWN]; opt; opt = opt->next())
            std::cerr << "Unknown option: " << opt->name << "\n";
        for (int i = 0; i < parser.nonOptionsCount(); ++i)
            std::cerr << "Non-option #" << i << ": " << parser.nonOption(i) << "\n";
        cerr << "terminating ..." << endl;
        exit(1);
    }
    //index parsing options
    for (int i = 0; i < parser.optionsCount(); ++i) {
        option::Option& option = buffer[i];
        switch (option.index()) {
            case ARG_REFERENCE: opt.ref_fasta = option.arg;
                break;
            case ARG_SPARSENESS: opt.K = atoi(option.arg);
                break;
            case ARG_PREFIX: opt.index_prefix = option.arg;
                break;
            case ARG_NO_CHILD: opt.hasChild = false;
                break;
            case ARG_SUFLINK: opt.hasSuflink = true;
                break;
            case ARG_NO_KMER: opt.hasKmer = false;
                break;
            default: break;
                throw 1;
        }
    }
    //check needed options and correctness
    if (opt.command == INDEX && !options[ARG_REFERENCE]) {
        cerr << "ERROR: no reference file given." << endl;
        exit(1);
    }
    if (opt.command == INDEX) {
        if (opt.index_prefix.empty()) {
            opt.index_prefix = opt.ref_fasta;
        }
        if (opt.hasChild && opt.hasSuflink)
            fprintf(stderr, "WARNING: having both child array and suffix link support is marginally useful and requires more memory! \n");
        if (!opt.hasChild && opt.K >= 3)
            fprintf(stderr, "WARNING: no child array means much slower search times! \n");
    }
    if (opt.command == ALN && !(options[ARG_REFERENCE] || options[ARG_INDEX])) {
        cerr << "ERROR: no reference or index name given." << endl;
        exit(1);
    }
    //mapping options parsing
    if (opt.command == ALN) {
        for (int i = 0; i < parser.optionsCount(); ++i) {
            option::Option& option = buffer[i];
            switch (option.index()) {
                case ARG_INDEX: opt.indexLocation = option.arg;
                    break;
                case ARG_SAVE: opt.saveIndex = true;
                    break;
                case ARG_SINGLE: opt.unpairedQ = option.arg;
                    break;
                case ARG_MATES1: opt.pair1 = option.arg;
                    break;
                case ARG_MATES2: opt.pair2 = option.arg;
                    break;
                case ARG_OUTPUT: opt.outputName = option.arg;
                    break;
                case ARG_ALIGNMENTS: opt.alnOptions.alignmentCount = atoi(option.arg);
                    break;
                case ARG_NO_FORWARD: opt.alnOptions.noFW = 1;
                    break;
                case ARG_NO_REVERSE: opt.alnOptions.noRC = 1;
                    break;
                case ARG_EDIT_DISTANCE: opt.alnOptions.errorPercent = atof(option.arg) + 0.01;
                    break;
                case ARG_THREADS: opt.query_threads = atoi(option.arg);
                    break;
                case ARG_SEED: opt.alnOptions.memType = parseSeedType(option.arg);
                    break;
                case ARG_MIN_LENGTH: opt.alnOptions.minMemLength = atoi(option.arg);
                    opt.alnOptions.fixedMinLength = true;
                    break;
                case ARG_MAX_SEEDS: opt.alnOptions.maxSeedCandidates = atoi(option.arg);
                    break;
                case ARG_MAX_SMEM: opt.alnOptions.maxSmemMemStart = atoi(option.arg);
                    break;
                case ARG_MAX_MEM: opt.alnOptions.maxRegionMems = atoi(option.arg);
                    break;
                case ARG_MIN_MEML: opt.alnOptions.minMemRegLength = atoi(option.arg);
                    break;
                case ARG_NO_RESCUE: opt.alnOptions.rescue = false;
                    break;
                case ARG_NO_SPARSEQ: opt.alnOptions.noSparseQ = true;
                    break;
                case ARG_FULLDP: opt.alnOptions.fullDP = true;
                    break;
                case ARG_MAX_FAILURES: opt.alnOptions.maxTrial = atoi(option.arg);
                    break;
                case ARG_MAX_F_BEST: opt.alnOptions.maxTrialBest = false;
                    break;
                case ARG_MIN_ALIGN: opt.alnOptions.minTrial = atoi(option.arg);
                    break;
                case ARG_MIN_COVERAGE: opt.alnOptions.minCoverage = atof(option.arg);
                    break;
                case ARG_ALWAYS_UNIQUE: opt.alnOptions.alwaysUnique = false;
                    break;
                case ARG_LOCAL: opt.alnOptions.global = false;
                    break;
                case ARG_BANDWIDTH: opt.alnOptions.fixedBandSize = atoi(option.arg);
                    break;
                case ARG_MATCH: opt.alnOptions.match = atoi(option.arg);
                    opt.alnOptions.scoresSetByUser = true;
                    break;
                case ARG_MISMATCH: opt.alnOptions.mismatch = atoi(option.arg);
                    opt.alnOptions.scoresSetByUser = true;
                    break;
                case ARG_GAP_OPEN: opt.alnOptions.openGap = atoi(option.arg);
                    opt.alnOptions.scoresSetByUser = true;
                    break;
                case ARG_GAP_EXTEND: opt.alnOptions.extendGap = atoi(option.arg);
                    opt.alnOptions.scoresSetByUser = true;
                    break;
                case ARG_MIN_INSERT: opt.pairedOpt.minInsert = atoi(option.arg);
                    break;
                case ARG_MAX_INSERT: opt.pairedOpt.maxInsert = atoi(option.arg);
                    break;
                case ARG_ORIENTATION: opt.pairedOpt.orientation = parseOrientation(option.arg);
                    break;
                case ARG_NO_MIXED: opt.pairedOpt.mixed = false;
                    break;
                case ARG_NO_DISCORDANT: opt.pairedOpt.discordant = false;
                    break;
                case ARG_DOVETAIL: opt.pairedOpt.dovetail = true;
                    break;
                case ARG_NO_CONTAIN: opt.pairedOpt.contain = false;
                    break;
                case ARG_NO_OVERLAP: opt.pairedOpt.overlap = false;
                    break;
                case ARG_PAIRED_MODE: opt.pairedOpt.mode = atoi(option.arg);
                    break;
                case ARG_PAIRED_RESCUE: opt.pairedOpt.pairedRescue = true;
                    break;
                default: break;
                    throw 1;
            }
        }
        if (opt.indexLocation.empty() && opt.index_prefix.empty()) {
            opt.index_prefix = opt.ref_fasta;
        }
        if (opt.hasChild && opt.hasSuflink)
            fprintf(stderr, "WARNING: having both child array and suffix link support is marginally useful and requires more memory! \n");
        if (!opt.hasChild && opt.K >= 3)
            fprintf(stderr, "WARNING: no child array means much slower search times! \n");
        if (!opt.saveIndex && opt.indexLocation.empty())
            fprintf(stderr, "WARNING: index will not be saved to disk! \n");
        if (opt.unpairedQ.empty() && (opt.pair1.empty() || opt.pair2.empty())) {
            fprintf(stderr, "ERROR: ALFALFA requires query files. Specify query files with -0 or -1,-2 options.\n");
            exit(1);
        }
        if (opt.outputName.empty())
            opt.outputName = opt.ref_fasta.substr().append(".sam");
        if (opt.alnOptions.errorPercent < 0.0 || opt.alnOptions.errorPercent > 1.0) {
            fprintf(stderr, "ERROR: uncorrect value for edit distance. Value should lie in the interval [0,1[\n");
            exit(1);
        }
        if (opt.alnOptions.minCoverage < 0.0 || opt.alnOptions.minCoverage > 1.0) {
            fprintf(stderr, "ERROR: uncorrect value for minimum coverage. Value should lie in the interval [0,1[\n");
            exit(1);
        }
        if (opt.pairedOpt.minInsert > opt.pairedOpt.maxInsert) {
            fprintf(stderr, "ERROR: minimum insert size is larger than maximum insert size\n");
            exit(1);
        }
        if (opt.pairedOpt.mode < 1 || opt.pairedOpt.mode > 6) {
            fprintf(stderr, "ERROR: chosen paired-end mode not supported.\n");
            exit(1);
        }
        opt.alnOptions.maxAlnCount = max(opt.alnOptions.alignmentCount, opt.alnOptions.minTrial);
        opt.alnOptions.fill_m();
    }
    if (opt.alnOptions.print >= 1)
        opt.printOptions();
    delete[] options;
    delete[] buffer;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xc8, %rsp
movq %rdx, %rbx
movq %rsi, %r12
movl %edi, %ebp
movq 0x8(%rsi), %r14
leaq 0x270ab(%rip), %rsi     # 0x32eb7
movq %r14, %rdi
callq 0x7460
testl %eax, %eax
je 0xbe37
leaq 0x2709e(%rip), %rsi     # 0x32ebd
movq %r14, %rdi
callq 0x7460
testl %eax, %eax
jne 0xc579
movl $0x2, (%rbx)
jmp 0xbe41
andl $0x0, (%rbx)
movb $0x1, 0xb0(%rbx)
movq 0x3e1a0(%rip), %rdi     # 0x49fe8
leaq 0x27096(%rip), %rsi     # 0x32ee5
callq 0x72b0
movq %rax, %rdi
callq 0x7160
addl $-0x2, %ebp
addq $0x10, %r12
leaq 0x3c626(%rip), %rsi     # 0x48490
leaq 0x60(%rsp), %r14
movq %r14, %rdi
movl %ebp, %edx
movq %r12, %rcx
xorl %r8d, %r8d
xorl %r9d, %r9d
callq 0xc892
movl 0x4(%r14), %r13d
imulq $0x30, %r13, %r15
movq %r15, %rdi
callq 0x7030
movq %rax, %r14
testq %r13, %r13
je 0xbeca
leaq 0x10(%r14), %rax
leaq 0x1(%r14), %rcx
xorl %edx, %edx
xorpd %xmm0, %xmm0
leaq (%rcx,%rdx), %rsi
movupd %xmm0, 0xc(%rax,%rdx)
movupd %xmm0, (%rax,%rdx)
movq %rsi, -0x8(%rax,%rdx)
movq %rsi, -0x10(%rax,%rdx)
addq $0x30, %rdx
cmpq %rdx, %r15
jne 0xbea8
movl 0x60(%rsp), %r15d
imulq $0x30, %r15, %r13
movq %r13, %rdi
callq 0x7030
testq %r15, %r15
movq %rax, %r15
je 0xbf13
leaq 0x10(%r15), %rax
leaq 0x1(%r15), %rcx
xorl %edx, %edx
xorpd %xmm0, %xmm0
leaq (%rcx,%rdx), %rsi
movupd %xmm0, 0xc(%rax,%rdx)
movupd %xmm0, (%rax,%rdx)
movq %rsi, -0x8(%rax,%rdx)
movq %rsi, -0x10(%rax,%rdx)
addq $0x30, %rdx
cmpq %rdx, %r13
jne 0xbef1
subq $0x8, %rsp
leaq 0x3c572(%rip), %rsi     # 0x48490
leaq 0x50(%rsp), %r13
movq %r13, %rdi
movl %ebp, %edx
movq %r12, %rcx
movq %r14, %r8
movq %r15, %r9
pushq $-0x1
pushq $0x0
pushq $0x0
callq 0xc8bc
addq $0x20, %rsp
cmpb $0x1, 0x10(%r13)
je 0xc668
cmpq $0x0, 0x970(%r14)
jne 0xc67b
cmpq $0x0, 0x910(%r14)
je 0xbf75
movq 0x920(%r14), %rdi
callq 0x7520
movl %eax, 0x178(%rbx)
cmpq $0x0, 0x940(%r14)
je 0xbf99
movq 0x950(%r14), %rdi
leaq 0x2d458(%rip), %rsi     # 0x393e5
callq 0x7350
movq %rax, 0x180(%rbx)
cmpq $0x0, 0x10(%r14)
jne 0xc6d0
cmpl $0x0, 0x4c(%rsp)
jg 0xc6d0
leaq 0x90(%rbx), %rbp
leaq 0x70(%rbx), %rax
movq %rax, 0x8(%rsp)
movq %r15, 0x18(%rsp)
addq $0x20, %r15
xorl %r12d, %r12d
leaq 0x26a02(%rip), %r13     # 0x329d4
movslq 0x48(%rsp), %rax
cmpq %rax, %r12
jge 0xc03e
movq -0x10(%r15), %rax
testq %rax, %rax
je 0xc035
movl (%rax), %eax
decl %eax
cmpl $0x5, %eax
ja 0xc035
movslq (%r13,%rax,4), %rax
addq %r13, %rax
jmpq *%rax
movq (%r15), %rsi
movq 0x8(%rsp), %rdi
jmp 0xc011
movb $0x1, 0xb2(%rbx)
jmp 0xc035
movq (%r15), %rsi
movq %rbp, %rdi
callq 0x7660
jmp 0xc035
movb $0x0, 0xb1(%rbx)
jmp 0xc035
movq (%r15), %rdi
callq 0x7520
movl %eax, 0x4(%rbx)
jmp 0xc035
movb $0x0, 0xb3(%rbx)
incq %r12
addq $0x30, %r15
jmp 0xbfd2
movl (%rbx), %eax
testl %eax, %eax
movq 0x18(%rsp), %r15
jne 0xc092
cmpq $0x0, 0x40(%r14)
je 0xc80b
cmpq $0x0, 0x98(%rbx)
jne 0xc06b
movq %rbp, %rdi
movq 0x8(%rsp), %rsi
callq 0x7180
movb 0xb1(%rbx), %al
cmpb $0x1, %al
jne 0xc082
cmpb $0x1, 0xb2(%rbx)
je 0xc641
testb $0x1, %al
jne 0xc090
cmpl $0x3, 0x4(%rbx)
jge 0xc5f9
movl (%rbx), %eax
cmpl $0x2, %eax
jne 0xc546
cmpq $0x0, 0x40(%r14)
jne 0xc0b0
cmpq $0x0, 0x160(%r14)
je 0xc81b
leaq 0x100(%rbx), %rax
movq %rax, 0x40(%rsp)
leaq 0xd8(%rbx), %rax
movq %rax, 0x10(%rsp)
leaq 0x50(%rbx), %rax
movq %rax, 0x38(%rsp)
leaq 0x30(%rbx), %rax
movq %rax, 0x30(%rsp)
leaq 0x10(%rbx), %rax
movq %rax, 0x28(%rsp)
leaq 0xb8(%rbx), %rax
movq %rax, 0x20(%rsp)
addq $0x20, %r15
xorl %r13d, %r13d
leaq 0x26833(%rip), %r12     # 0x32930
movslq 0x48(%rsp), %rax
cmpq %rax, %r13
jge 0xc3fb
movq -0x10(%r15), %rax
testq %rax, %rax
je 0xc3d6
movl (%rax), %eax
addl $-0x7, %eax
cmpl $0x28, %eax
ja 0xc3d6
movslq (%r12,%rax,4), %rax
addq %r12, %rax
jmpq *%rax
movq (%r15), %rsi
movq 0x20(%rsp), %rdi
jmp 0xc2e4
movb $0x0, 0x1a3(%rbx)
jmp 0xc3d6
movb $0x0, 0x1a1(%rbx)
jmp 0xc3d6
movb $0x1, 0x1a2(%rbx)
jmp 0xc3d6
movq (%r15), %rdi
callq 0x7520
movl %eax, 0x100(%rbx)
jmp 0xc3cf
movb $0x0, 0x1a0(%rbx)
jmp 0xc3d6
movb $0x1, 0x173(%rbx)
jmp 0xc3d6
movb $0x0, 0x171(%rbx)
jmp 0xc3d6
movq (%r15), %rsi
leaq 0x88(%rsp), %rdi
leaq 0x68(%rsp), %rdx
callq 0x91c4
leaq 0x88(%rsp), %rdi
callq 0xbd7b
movl %eax, 0x1b0(%rbx)
leaq 0x88(%rsp), %rdi
jmp 0xc1f9
movq (%r15), %rsi
leaq 0xa8(%rsp), %rdi
leaq 0x68(%rsp), %rdx
callq 0x91c4
leaq 0xa8(%rsp), %rdi
callq 0xbccc
movl %eax, 0x188(%rbx)
leaq 0xa8(%rsp), %rdi
callq 0x76a8
jmp 0xc3d6
movq (%r15), %rsi
movq 0x38(%rsp), %rdi
jmp 0xc2e4
movb $0x1, 0x1ac(%rbx)
jmp 0xc3d6
movq (%r15), %rdi
callq 0x7520
movl %eax, 0x138(%rbx)
movb $0x1, 0x13c(%rbx)
jmp 0xc3d6
movq (%r15), %rdi
callq 0x73c0
addsd 0x266e2(%rip), %xmm0    # 0x32928
movsd %xmm0, 0x130(%rbx)
jmp 0xc3d6
movb $0x0, 0x170(%rbx)
jmp 0xc3d6
movb $0x0, 0x12a(%rbx)
jmp 0xc3d6
movq (%r15), %rsi
movq 0x28(%rsp), %rdi
jmp 0xc2e4
movb $0x1, 0x172(%rbx)
jmp 0xc3d6
movq (%r15), %rsi
movq 0x30(%rsp), %rdi
jmp 0xc2e4
movb $0x1, 0x174(%rbx)
jmp 0xc3d6
movb $0x1, 0xb0(%rbx)
jmp 0xc3d6
movq (%r15), %rdi
callq 0x7520
movl %eax, 0x198(%rbx)
jmp 0xc3d6
movq (%r15), %rdi
callq 0x7520
movl %eax, 0x144(%rbx)
jmp 0xc3d6
movq (%r15), %rdi
callq 0x7520
movl %eax, 0x154(%rbx)
jmp 0xc3d6
movq (%r15), %rsi
movq 0x10(%rsp), %rdi
callq 0x7660
jmp 0xc3d6
movb $0x0, 0x15c(%rbx)
jmp 0xc3d6
movq (%r15), %rdi
callq 0x7520
movl %eax, 0x140(%rbx)
jmp 0xc3d6
movq (%r15), %rdi
callq 0x7520
movl %eax, 0x150(%rbx)
jmp 0xc3d6
movq (%r15), %rdi
callq 0x7520
movl %eax, 0x148(%rbx)
jmp 0xc3d6
movq (%r15), %rdi
callq 0x7520
movl %eax, 0x8(%rbx)
jmp 0xc3d6
movb $0x1, 0x175(%rbx)
jmp 0xc3d6
movq (%r15), %rdi
callq 0x7520
movl %eax, 0x10c(%rbx)
jmp 0xc3cf
movq (%r15), %rdi
callq 0x7520
movl %eax, 0x19c(%rbx)
jmp 0xc3d6
movq (%r15), %rdi
callq 0x7520
movl %eax, 0x158(%rbx)
jmp 0xc3d6
movq (%r15), %rdi
callq 0x7520
movl %eax, 0x1a8(%rbx)
jmp 0xc3d6
movq (%r15), %rdi
callq 0x7520
movl %eax, 0x14c(%rbx)
jmp 0xc3d6
movq (%r15), %rdi
callq 0x73c0
movsd %xmm0, 0x168(%rbx)
jmp 0xc3d6
movq (%r15), %rdi
callq 0x7520
movl %eax, 0x104(%rbx)
jmp 0xc3cf
movq (%r15), %rdi
callq 0x7520
movl %eax, 0x108(%rbx)
movb $0x1, 0x129(%rbx)
incq %r13
addq $0x30, %r15
jmp 0xc0fd
movb $0x0, 0x1a4(%rbx)
jmp 0xc3d6
movq (%r15), %rdi
callq 0x7520
movl %eax, 0x190(%rbx)
jmp 0xc3d6
movq 0x98(%rbx), %rax
orq 0xc0(%rbx), %rax
jne 0xc418
movq %rbp, %rdi
movq 0x8(%rsp), %rsi
callq 0x7180
movb 0xb1(%rbx), %al
cmpb $0x1, %al
movq 0x18(%rsp), %r15
jne 0xc434
cmpb $0x1, 0xb2(%rbx)
je 0xc61a
testb $0x1, %al
jne 0xc442
cmpl $0x3, 0x4(%rbx)
jge 0xc5b7
cmpb $0x0, 0xb0(%rbx)
jne 0xc459
cmpq $0x0, 0xc0(%rbx)
je 0xc5d8
cmpq $0x0, 0x18(%rbx)
jne 0xc476
cmpq $0x0, 0x38(%rbx)
je 0xc838
cmpq $0x0, 0x58(%rbx)
je 0xc838
cmpq $0x0, 0xe0(%rbx)
jne 0xc4bd
leaq 0x68(%rsp), %r13
pushq $-0x1
popq %rcx
movq %r13, %rdi
movq 0x8(%rsp), %rsi
xorl %edx, %edx
callq 0x72f0
leaq 0x26c41(%rip), %rsi     # 0x330df
movq %r13, %rdi
callq 0x7650
movq 0x10(%rsp), %rdi
movq %rax, %rsi
callq 0x7180
leaq 0x68(%rsp), %rdi
callq 0x76a8
movsd 0x130(%rbx), %xmm0
xorpd %xmm1, %xmm1
ucomisd %xmm0, %xmm1
ja 0xc7b7
ucomisd 0x26445(%rip), %xmm0    # 0x32920
ja 0xc7b7
movsd 0x168(%rbx), %xmm0
ucomisd %xmm0, %xmm1
ja 0xc7cc
ucomisd 0x26425(%rip), %xmm0    # 0x32920
ja 0xc7cc
movl 0x198(%rbx), %eax
cmpl 0x19c(%rbx), %eax
jg 0xc7e1
movl 0x1a8(%rbx), %eax
addl $-0x7, %eax
cmpl $-0x7, %eax
jbe 0xc7f6
movl 0x150(%rbx), %eax
movl 0x158(%rbx), %ecx
cmpl %ecx, %eax
cmovgl %eax, %ecx
movl %ecx, 0x160(%rbx)
movq 0x40(%rsp), %rdi
callq 0xb290
cmpl $0x0, 0x178(%rbx)
jle 0xc557
movq %rbx, %rdi
callq 0xb4a6
movq %r14, %rdi
callq 0x73f0
movq %r15, %rdi
callq 0x73f0
addq $0xc8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x3da48(%rip), %rax     # 0x49fc8
movq (%rax), %rdi
movq (%r12), %rdx
leaq 0x26935(%rip), %rsi     # 0x32ec3
xorl %eax, %eax
callq 0x7480
movq 0x3da4c(%rip), %rdi     # 0x49fe8
leaq 0x3bdfd(%rip), %rsi     # 0x483a0
pushq $0x50
popq %rdx
pushq $0x32
popq %rcx
pushq $0x4b
popq %r8
callq 0x99da
jmp 0xbe41
movq 0x3da0a(%rip), %rax     # 0x49fc8
movq (%rax), %rcx
leaq 0x26a34(%rip), %rdi     # 0x32ffc
pushq $0x39
popq %rsi
pushq $0x1
popq %rdx
callq 0x7670
jmp 0xc442
movq 0x3d9e9(%rip), %rax     # 0x49fc8
movq (%rax), %rcx
leaq 0x26a76(%rip), %rdi     # 0x3305f
pushq $0x2b
popq %rsi
pushq $0x1
popq %rdx
callq 0x7670
jmp 0xc459
movq 0x3d9c8(%rip), %rax     # 0x49fc8
movq (%rax), %rcx
leaq 0x269f2(%rip), %rdi     # 0x32ffc
pushq $0x39
popq %rsi
pushq $0x1
popq %rdx
callq 0x7670
jmp 0xc090
movq 0x3d9a7(%rip), %rax     # 0x49fc8
movq (%rax), %rcx
leaq 0x26967(%rip), %rdi     # 0x32f92
pushq $0x69
popq %rsi
pushq $0x1
popq %rdx
callq 0x7670
movb 0xb1(%rbx), %al
jmp 0xc434
movq 0x3d980(%rip), %rax     # 0x49fc8
movq (%rax), %rcx
leaq 0x26940(%rip), %rdi     # 0x32f92
pushq $0x69
popq %rsi
pushq $0x1
popq %rdx
callq 0x7670
movb 0xb1(%rbx), %al
jmp 0xc082
movq 0x3d979(%rip), %rdi     # 0x49fe8
leaq 0x26884(%rip), %rsi     # 0x32efa
jmp 0xc829
cmpl $0x0, (%rbx)
leaq 0x3c65b(%rip), %rax     # 0x48ce0
leaq 0x3c794(%rip), %rsi     # 0x48e20
cmoveq %rax, %rsi
movq 0x3d951(%rip), %rbx     # 0x49fe8
pushq $0x50
popq %rbp
pushq $0x32
popq %r14
pushq $0x4b
popq %r15
movq %rbx, %rdi
movl %ebp, %edx
movl %r14d, %ecx
movl %r15d, %r8d
callq 0x99da
leaq 0x3cf37(%rip), %rsi     # 0x495f0
movq %rbx, %rdi
movl %ebp, %edx
movl %r14d, %ecx
movl %r15d, %r8d
callq 0x99da
xorl %edi, %edi
callq 0x7390
movq 0x3d911(%rip), %rbx     # 0x49fe8
leaq 0x26849(%rip), %rsi     # 0x32f27
movq %rbx, %rdi
callq 0x72b0
movq %rax, %rdi
callq 0x7160
movq 0x10(%r14), %rax
testq %rax, %rax
cmoveq %rax, %r14
leaq 0x26844(%rip), %r15     # 0x32f44
leaq 0x26982(%rip), %r12     # 0x33089
xorl %r13d, %r13d
testq %r14, %r14
je 0xc73e
movq %rbx, %rdi
movq %r15, %rsi
callq 0x72b0
movq 0x18(%r14), %rsi
movq %rax, %rdi
callq 0x72b0
movq %rax, %rdi
movq %r12, %rsi
callq 0x72b0
movq (%r14), %r14
testb $0x1, %r14b
cmovneq %r13, %r14
jmp 0xc70a
xorl %ebx, %ebx
movq 0x3d8a1(%rip), %r14     # 0x49fe8
leaq 0x26807(%rip), %r15     # 0x32f55
leaq 0x2a86f(%rip), %r12     # 0x36fc4
leaq 0x2692d(%rip), %r13     # 0x33089
movslq 0x4c(%rsp), %rax
cmpq %rax, %rbx
jge 0xc7a7
movq %r14, %rdi
movq %r15, %rsi
callq 0x72b0
movq %rax, %rdi
movl %ebx, %esi
callq 0x75c0
movq %rax, %rdi
movq %r12, %rsi
callq 0x72b0
movq 0x50(%rsp), %rcx
movq (%rcx,%rbx,8), %rsi
movq %rax, %rdi
callq 0x72b0
movq %rax, %rdi
movq %r13, %rsi
callq 0x72b0
incq %rbx
jmp 0xc75c
movq 0x3d83a(%rip), %rdi     # 0x49fe8
leaq 0x267ad(%rip), %rsi     # 0x32f62
jmp 0xc829
movq 0x3d80a(%rip), %rax     # 0x49fc8
movq (%rax), %rcx
leaq 0x2691c(%rip), %rdi     # 0x330e4
pushq $0x51
jmp 0xc84b
movq 0x3d7f5(%rip), %rax     # 0x49fc8
movq (%rax), %rcx
leaq 0x26959(%rip), %rdi     # 0x33136
pushq $0x54
jmp 0xc84b
movq 0x3d7e0(%rip), %rax     # 0x49fc8
movq (%rax), %rcx
leaq 0x26999(%rip), %rdi     # 0x3318b
pushq $0x3e
jmp 0xc84b
movq 0x3d7cb(%rip), %rax     # 0x49fc8
movq (%rax), %rcx
leaq 0x269c3(%rip), %rdi     # 0x331ca
pushq $0x2d
jmp 0xc84b
movq 0x3d7d6(%rip), %rdi     # 0x49fe8
leaq 0x26759(%rip), %rsi     # 0x32f72
jmp 0xc829
movq 0x3d7c6(%rip), %rdi     # 0x49fe8
leaq 0x2680d(%rip), %rsi     # 0x33036
callq 0x72b0
movq %rax, %rdi
callq 0x7160
jmp 0xc854
movq 0x3d789(%rip), %rax     # 0x49fc8
movq (%rax), %rcx
leaq 0x26842(%rip), %rdi     # 0x3308b
pushq $0x53
popq %rsi
pushq $0x1
popq %rdx
callq 0x7670
pushq $0x1
popq %rdi
callq 0x7390
movq %rax, %rbx
leaq 0xa8(%rsp), %rdi
jmp 0xc885
jmp 0xc878
movq %rax, %rbx
leaq 0x88(%rsp), %rdi
jmp 0xc885
movq %rax, %rbx
jmp 0xc88a
movq %rax, %rbx
leaq 0x68(%rsp), %rdi
callq 0x76a8
movq %rbx, %rdi
callq 0x75e0