LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O2/hanhwi[P]SimPoint/analysiscode/Dataset.cpp
// Function: Dataset::readBinary(_IO_FILE*)
void Dataset::readBinary(FILE *in) {
    unsigned int length;
    fread((void *)&length, sizeof(unsigned int), 1, in);

    unsigned int hasWeights;
    fread((void *)&hasWeights, sizeof(unsigned int), 1, in);

    resize(length);

    double weight;
    for (unsigned int i = 0; i < length; i++) {
        if (hasWeights) {
            fread((void *)&weight, sizeof(double), 1, in);
            setWeight(i, weight);
        } else {
            setWeight(i, 1.0 / length);
        }
        (*this)[i].readBinary(in);
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x1c(%rsp), %r15
pushq $0x4
popq %r12
pushq $0x1
popq %r13
movq %r15, %rdi
movq %r12, %rsi
movq %r13, %rdx
movq %rbx, %rcx
callq 0x4450
leaq 0x4(%rsp), %rdi
movq %r12, %rsi
movq %r13, %rdx
movq %rbx, %rcx
callq 0x4450
movl (%r15), %r15d
leaq 0x20(%rsp), %r12
movq %r12, %rdi
callq 0x5868
movq %r14, %rdi
movl %r15d, %esi
movq %r12, %rdx
callq 0x664e
leaq 0x20(%rsp), %rdi
callq 0x5f0a
cvtsi2sd %r15, %xmm0
movl 0x4(%rsp), %r12d
movsd 0xe7a7(%rip), %xmm1     # 0x15250
divsd %xmm0, %xmm1
movsd %xmm1, 0x8(%rsp)
xorl %r13d, %r13d
xorl %ebp, %ebp
cmpq %rbp, %r15
je 0x6b01
movsd 0x8(%rsp), %xmm0
testl %r12d, %r12d
je 0x6ae1
leaq 0x10(%rsp), %rdi
pushq $0x8
popq %rsi
pushq $0x1
popq %rdx
movq %rbx, %rcx
callq 0x4450
movsd 0x10(%rsp), %xmm0
movq 0x18(%r14), %rax
movsd %xmm0, (%rax,%rbp,8)
movq (%r14), %rdi
addq %r13, %rdi
movq %rbx, %rsi
callq 0x5d80
incq %rbp
addq $0x18, %r13
jmp 0x6ab8
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq 0x20(%rsp), %rdi
callq 0x5f0a
movq %rbx, %rdi
callq 0x4530
// File: /workspace/github_cpp_makefile_star2_O2/hanhwi[P]SimPoint/analysiscode/Dataset.cpp
// Function: operator<<(std::ostream&, Dataset const&)
ostream &operator<<(ostream &os, const Dataset &ds) {
    unsigned int s = ds.size();
    for (unsigned int i = 0; i < s; i++) {
        os << ds[i] << endl;
    }

    return os;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
movq 0x8(%rsi), %rax
subq (%rsi), %rax
pushq $0x18
popq %rcx
cqto
idivq %rcx
movl %eax, %eax
imulq $0x18, %rax, %r15
xorl %r12d, %r12d
cmpq %r12, %r15
je 0x6b6c
movq (%r14), %rsi
addq %r12, %rsi
movq %rbx, %rdi
callq 0x5dcd
movq %rax, %rdi
callq 0x4180
addq $0x18, %r12
jmp 0x6b4b
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/hanhwi[P]SimPoint/analysiscode/FVParser.cpp
// Function: FVParser::FVParser(_IO_FILE*)
FVParser::FVParser(FILE *input_file) {
    Utilities::check(input_file != NULL, 
                     "FVParser::FVParser() input_file is NULL");
    input = input_file;
    lineNumber = 0;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x30, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0xdef0(%rip), %rsi      # 0x1529a
leaq 0x10(%rsp), %r15
leaq 0xf(%rsp), %rdx
movq %r15, %rdi
callq 0x53a6
xorl %edi, %edi
testq %r14, %r14
setne %dil
movq %r15, %rsi
callq 0x5364
leaq 0x10(%rsp), %rdi
callq 0x45e8
movq %r14, (%rbx)
andl $0x0, 0x8(%rbx)
addq $0x30, %rsp
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x45e8
movq %rbx, %rdi
callq 0x4530
nop
// File: /workspace/github_cpp_makefile_star2_O2/hanhwi[P]SimPoint/analysiscode/KMeans.cpp
// Function: KMeans::initializeRandomly(int, Dataset const&, Dataset*)
void KMeans::initializeRandomly(int randSeed, const Dataset &data,
        Dataset *centers) {
    Random rand(randSeed);

    for (unsigned int i = 0; i < centers->numRows(); i++) {
        int ndx = rand.randInt() % data.numRows();
        (*centers)[i] = data[ndx];
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x118, %rsp            # imm = 0x118
movq %rdx, %rbx
movslq %edi, %rax
movq %rax, %rcx
negq %rcx
cmpl $0x2, %eax
cmovlq %rax, %rcx
movq %rsp, %r14
movq %rcx, (%r14)
movq $0x75bcd15, 0x8(%r14)   # imm = 0x75BCD15
andq $0x0, 0x10(%r14)
movq %rsi, %r15
xorl %r12d, %r12d
pushq $0x18
popq %r13
xorl %ebp, %ebp
movq 0x8(%rbx), %rax
subq (%rbx), %rax
cqto
idivq %r13
movl %eax, %eax
cmpq %rax, %rbp
jae 0x779a
movq %r14, %rdi
callq 0x815c
movl %eax, %ecx
movq (%r15), %rdi
movq 0x8(%r15), %rax
subq %rdi, %rax
cqto
idivq %r13
movq %rax, %rsi
movl %ecx, %eax
xorl %edx, %edx
divl %esi
movslq %edx, %rax
imulq $0x18, %rax, %rsi
addq %rdi, %rsi
movq (%rbx), %rdi
addq %r12, %rdi
callq 0x7200
incq %rbp
addq $0x18, %r12
jmp 0x7747
addq $0x118, %rsp            # imm = 0x118
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/hanhwi[P]SimPoint/analysiscode/KMeans.cpp
// Function: KMeans::initializeFurthestFirst(int, Dataset const&, Dataset*)
void KMeans::initializeFurthestFirst(int randSeed, const Dataset &data,
        Dataset *centers) {
    if ((! centers) || (centers->numRows() <= 0)) {
        return;
    }

    Random rand(randSeed);

    int ndx = rand.randInt() % data.numRows();
    (*centers)[0] = data[ndx];

    Datapoint distances(data.numRows());

    for (unsigned int i = 1; i < centers->numRows(); i++) {
        for (unsigned int j = 0; j < data.numRows(); j++) {
            double d = data[j].distSquared((*centers)[i - 1]);
            if ((i == 1) || (d < distances[j])) {
                distances[j] = d;
            }
        }

        int next = distances.maxNdx();
        (*centers)[i] = data[next];
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x138, %rsp            # imm = 0x138
testq %rdx, %rdx
je 0x7903
movq %rdx, %r15
movq 0x8(%rdx), %rax
subq (%rdx), %rax
pushq $0x18
popq %rbx
cqto
idivq %rbx
testl %eax, %eax
je 0x7903
movq %rsi, %r14
movslq %edi, %rax
movq %rax, %rcx
negq %rcx
cmpl $0x2, %eax
cmovlq %rax, %rcx
leaq 0x20(%rsp), %rdi
movq %rcx, (%rdi)
movq $0x75bcd15, 0x8(%rdi)   # imm = 0x75BCD15
andq $0x0, 0x10(%rdi)
callq 0x815c
movl %eax, %ecx
movq (%r14), %rdi
movq 0x8(%r14), %rax
subq %rdi, %rax
cqto
idivq %rbx
movq %rax, %rsi
movl %ecx, %eax
xorl %edx, %edx
divl %esi
movslq %edx, %rax
imulq $0x18, %rax, %rsi
addq %rdi, %rsi
movq (%r15), %rdi
callq 0x7200
movq 0x8(%r14), %rax
subq (%r14), %rax
cqto
idivq %rbx
leaq 0x8(%rsp), %rdi
movl %eax, %esi
callq 0x589e
pushq $0x1
popq %rcx
movq 0x8(%r15), %rax
subq (%r15), %rax
cqto
idivq %rbx
movl %eax, %eax
cmpq %rax, %rcx
jae 0x78f9
movq %rcx, (%rsp)
imulq $0x18, %rcx, %r12
xorl %ebp, %ebp
xorl %r13d, %r13d
movq (%r14), %rdi
movq 0x8(%r14), %rax
subq %rdi, %rax
cqto
idivq %rbx
movl %eax, %eax
cmpq %rax, %r13
jae 0x78c8
addq %rbp, %rdi
movq (%r15), %rax
leaq (%rax,%r12), %rsi
addq $-0x18, %rsi
callq 0x58ca
movq 0x8(%rsp), %rax
cmpq $0x1, (%rsp)
je 0x78b9
movsd (%rax,%r13,8), %xmm1
ucomisd %xmm0, %xmm1
jbe 0x78bf
movsd %xmm0, (%rax,%r13,8)
incq %r13
addq $0x18, %rbp
jmp 0x7878
leaq 0x8(%rsp), %rdi
xorl %esi, %esi
pushq $-0x1
popq %rdx
xorl %ecx, %ecx
callq 0x5900
cltq
imulq $0x18, %rax, %rsi
addq (%r14), %rsi
addq (%r15), %r12
movq %r12, %rdi
callq 0x7200
movq (%rsp), %rcx
incq %rcx
jmp 0x7854
leaq 0x8(%rsp), %rdi
callq 0x5f0a
addq $0x138, %rsp            # imm = 0x138
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x7917
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x5f0a
movq %rbx, %rdi
callq 0x4530
// File: /workspace/github_cpp_makefile_star2_O2/hanhwi[P]SimPoint/analysiscode/KMeans.cpp
// Function: KMeans::findLabelsAndDists(Dataset const&, Dataset const&, std::vector<int, std::allocator<int>>*, Datapoint*)
void KMeans::findLabelsAndDists(const Dataset &data, const Dataset &centers,
                                vector<int> *labels, Datapoint *dists) {
    unsigned int n = data.numRows();
    unsigned int k = centers.numRows();
    for (unsigned int i = 0; i < n; i++) {
        (*labels)[i] = 0;
        double minDist = data[i].distSquared(centers[0]);

        for (unsigned int c = 1; c < k; c++) {
            double d = data[i].distSquared(centers[c]);
            if (d < minDist) {
                (*labels)[i] = c;
                minDist = d;
            }
        }
        if (dists) { (*dists)[i] = sqrt(minDist); }
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rcx, (%rsp)
movq %rdx, 0x8(%rsp)
movq %rsi, %r15
movq %rdi, %r12
movq 0x8(%rdi), %rax
subq (%rdi), %rax
pushq $0x18
popq %rsi
cqto
idivq %rsi
movq %rax, %rcx
movq 0x8(%r15), %rax
subq (%r15), %rax
cqto
idivq %rsi
movl %eax, %ebp
movl %ecx, %eax
movq %rax, 0x20(%rsp)
xorl %ebx, %ebx
cmpq 0x20(%rsp), %rbx
je 0x7d81
movq 0x8(%rsp), %rax
movq (%rax), %rax
andl $0x0, (%rax,%rbx,4)
movq %rbx, 0x10(%rsp)
imulq $0x18, %rbx, %rbx
movq (%r12), %rdi
addq %rbx, %rdi
movq (%r15), %rsi
callq 0x58ca
movapd %xmm0, %xmm1
pushq $0x18
popq %r14
pushq $0x1
popq %r13
movsd %xmm1, 0x18(%rsp)
cmpq %rbp, %r13
jae 0x7d46
movq (%r12), %rdi
addq %rbx, %rdi
movq (%r15), %rsi
addq %r14, %rsi
callq 0x58ca
movsd 0x18(%rsp), %xmm1
ucomisd %xmm0, %xmm1
jbe 0x7d3d
movq 0x8(%rsp), %rax
movq (%rax), %rax
movq 0x10(%rsp), %rcx
movl %r13d, (%rax,%rcx,4)
movapd %xmm0, %xmm1
incq %r13
addq $0x18, %r14
jmp 0x7cff
cmpq $0x0, (%rsp)
movq 0x10(%rsp), %rbx
je 0x7d79
movsd 0x18(%rsp), %xmm0
ucomisd 0xd5a8(%rip), %xmm0     # 0x15308
jb 0x7d68
sqrtsd %xmm0, %xmm0
jmp 0x7d6d
callq 0x4220
movq (%rsp), %rax
movq (%rax), %rax
movsd %xmm0, (%rax,%rbx,8)
incq %rbx
jmp 0x7cc4
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/hanhwi[P]SimPoint/analysiscode/KMeans.cpp
// Function: KMeans::findWeights(std::vector<int, std::allocator<int>> const&, std::vector<int, std::allocator<int>>*)
void KMeans::findWeights(const vector<int> &labels, vector<int> *weights) {
    unsigned int i;
    for (i = 0; i < weights->size(); i++) {
        (*weights)[i] = 0;
    }

    for (i = 0; i < labels.size(); i++) {
        (*weights)[labels[i]]++;
    }
}

// Assembly:
movq (%rsi), %rax
movq 0x8(%rsi), %rcx
subq %rax, %rcx
sarq $0x2, %rcx
xorl %edx, %edx
movl %edx, %edx
cmpq %rdx, %rcx
jbe 0x7daf
andl $0x0, (%rax,%rdx,4)
incl %edx
jmp 0x7da0
movq (%rdi), %rcx
movq 0x8(%rdi), %rdx
subq %rcx, %rdx
sarq $0x2, %rdx
xorl %esi, %esi
movl %esi, %esi
cmpq %rsi, %rdx
jbe 0x7dd1
movslq (%rcx,%rsi,4), %rdi
incl (%rax,%rdi,4)
incl %esi
jmp 0x7dbf
retq
// File: /workspace/github_cpp_makefile_star2_O2/hanhwi[P]SimPoint/analysiscode/Simpoint.cpp
// Function: Simpoint::openInputVectorFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, bool)
FILE *Simpoint::openInputVectorFile(const string &filename, bool isGzipped) {
    Utilities::check(isRegularFile(filename),
            "openInputVectorFile() not regular file: " + filename);
    FILE *input = NULL;
    if (isGzipped) {
        string command = "gzip -dc " + filename;
        input = popen(command.c_str(), "r");
    } else {
        input = fopen(filename.c_str(), "r");
    }
    Utilities::check(input != NULL, 
        "openInputVectorFile() could not open file " + filename);
    return input;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x28, %rsp
movl %esi, %ebp
movq %rdi, %rbx
callq 0x8734
movl %eax, %r14d
leaq 0xcc3a(%rip), %rsi      # 0x153c0
leaq 0x8(%rsp), %r15
movq %r15, %rdi
movq %rbx, %rdx
callq 0x54af
movzbl %r14b, %edi
movq %r15, %rsi
callq 0x5364
leaq 0x8(%rsp), %rdi
callq 0x45e8
testb %bpl, %bpl
je 0x87e4
leaq 0xcc31(%rip), %rsi      # 0x153e9
leaq 0x8(%rsp), %r15
movq %r15, %rdi
movq %rbx, %rdx
callq 0x54af
movq (%r15), %rdi
leaq 0xcb21(%rip), %rsi      # 0x152f3
callq 0x4100
movq %rax, %r14
movq %r15, %rdi
callq 0x45e8
jmp 0x87f6
movq (%rbx), %rdi
leaq 0xcb05(%rip), %rsi      # 0x152f3
callq 0x4320
movq %rax, %r14
xorl %ebp, %ebp
testq %r14, %r14
setne %bpl
leaq 0xcbed(%rip), %rsi      # 0x153f3
leaq 0x8(%rsp), %r15
movq %r15, %rdi
movq %rbx, %rdx
callq 0x54af
movl %ebp, %edi
movq %r15, %rsi
callq 0x5364
leaq 0x8(%rsp), %rdi
callq 0x45e8
movq %r14, %rax
addq $0x28, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
jmp 0x883a
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x45e8
movq %rbx, %rdi
callq 0x4530
nop
// File: /workspace/github_cpp_makefile_star2_O2/hanhwi[P]SimPoint/analysiscode/Simpoint.cpp
// Function: Simpoint::saveSimpointWeights(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::vector<bool, std::allocator<bool>> const&, Dataset const&)
void Simpoint::saveSimpointWeights(const string &filename, 
        const vector<bool> &largestClusters, const Dataset &centers) {
    ofstream output(filename.c_str());
    Utilities::check(output.is_open(), "Simpoint::saveSimpointWeights(): could not open file " +
                            filename);
    double sumWeights = 0.0;
    for (unsigned int r = 0; r < centers.numRows(); r++) {
        if (largestClusters[r]) {
            sumWeights += centers.getWeight(r);
        }
    }

    for (unsigned int r = 0; r < centers.numRows(); r++) {
        if (largestClusters[r]) {
            output << (centers.getWeight(r) / sumWeights) << " " << r << endl;
        }
    }
    output.close();
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x228, %rsp            # imm = 0x228
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
movq (%rdi), %rsi
leaq 0x28(%rsp), %rdi
pushq $0x10
popq %rdx
callq 0x42f0
leaq 0x98(%rsp), %rdi
callq 0x40a0
movl %eax, %ebp
leaq 0xb382(%rip), %rsi      # 0x15bd6
leaq 0x8(%rsp), %rdi
movq %r15, %rdx
callq 0x54af
movzbl %bpl, %edi
leaq 0x8(%rsp), %rsi
callq 0x5364
leaq 0x8(%rsp), %rdi
callq 0x45e8
xorpd %xmm0, %xmm0
movsd %xmm0, (%rsp)
xorl %r15d, %r15d
pushq $0x18
popq %rbp
movq (%rbx), %rsi
movq 0x8(%rbx), %rcx
movq %rcx, %rax
subq %rsi, %rax
cqto
idivq %rbp
movl %eax, %eax
cmpq %rax, %r15
jae 0xa8c9
movq %r14, %rdi
movq %r15, %rsi
callq 0xc37c
testb %al, %al
je 0xa8c4
movq 0x18(%rbx), %rax
movsd (%rsp), %xmm0
addsd (%rax,%r15,8), %xmm0
movsd %xmm0, (%rsp)
incq %r15
jmp 0xa888
xorl %r15d, %r15d
leaq 0x28(%rsp), %r12
leaq 0xd8dc(%rip), %r13      # 0x181b4
subq %rsi, %rcx
movq %rcx, %rax
cqto
idivq %rbp
movl %eax, %eax
cmpq %rax, %r15
jae 0xa93a
movq %r14, %rdi
movq %r15, %rsi
callq 0xc37c
testb %al, %al
je 0xa92e
movq 0x18(%rbx), %rax
movsd (%rax,%r15,8), %xmm0
divsd (%rsp), %xmm0
movq %r12, %rdi
callq 0x44d0
movq %rax, %rdi
movq %r13, %rsi
callq 0x4290
movq %rax, %rdi
movq %r15, %rsi
callq 0x41e0
movq %rax, %rdi
callq 0x4180
incq %r15
movq (%rbx), %rsi
movq 0x8(%rbx), %rcx
jmp 0xa8d8
leaq 0x28(%rsp), %rdi
callq 0x4400
leaq 0x28(%rsp), %rdi
callq 0x4440
addq $0x228, %rsp            # imm = 0x228
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0xa975
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x45e8
jmp 0xa978
jmp 0xa975
jmp 0xa975
movq %rax, %rbx
leaq 0x28(%rsp), %rdi
callq 0x4440
movq %rbx, %rdi
callq 0x4530
// File: /workspace/github_cpp_makefile_star2_O2/hanhwi[P]SimPoint/analysiscode/Simpoint.cpp
// Function: Simpoint::~Simpoint()
Simpoint::~Simpoint() {
    if (wholeDataset && (wholeDataset == sampledDataset)) {
        delete wholeDataset;
    } else {
        if (wholeDataset) { delete wholeDataset; }
        if (sampledDataset) { delete sampledDataset; }
    }
    wholeDataset = sampledDataset = NULL;

    for (unsigned int i = 0; i < initialCenters.size(); i++) {
        if (initialCenters[i]) { delete initialCenters[i]; initialCenters[i] = NULL; }
    }

    for (unsigned int i = 0; i < finalCenters.size(); i++) {
        if (finalCenters[i]) { delete finalCenters[i]; finalCenters[i] = NULL; }
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq (%rdi), %r14
movq 0x8(%rdi), %rax
testq %r14, %r14
setne %cl
cmpq %rax, %r14
sete %dl
testb %dl, %cl
jne 0xbf7f
testq %r14, %r14
je 0xbf77
movq %r14, %rdi
callq 0x819a
pushq $0x30
popq %rsi
movq %r14, %rdi
callq 0x42c0
movq 0x8(%rbx), %r14
jmp 0xbf7a
movq %rax, %r14
testq %r14, %r14
je 0xbf92
movq %r14, %rdi
callq 0x819a
pushq $0x30
popq %rsi
movq %r14, %rdi
callq 0x42c0
leaq 0x10(%rbx), %r14
xorps %xmm0, %xmm0
movups %xmm0, (%rbx)
xorl %r13d, %r13d
pushq $0x30
popq %r15
movl %r13d, %r13d
movq 0x10(%rbx), %rax
movq 0x18(%rbx), %rcx
subq %rax, %rcx
sarq $0x3, %rcx
cmpq %r13, %rcx
jbe 0xbfe3
movq (%rax,%r13,8), %r12
testq %r12, %r12
je 0xbfde
movq %r12, %rdi
callq 0x819a
movq %r12, %rdi
movq %r15, %rsi
callq 0x42c0
movq (%r14), %rax
andq $0x0, (%rax,%r13,8)
incl %r13d
jmp 0xbfa3
leaq 0x28(%rbx), %r15
xorl %ebp, %ebp
pushq $0x30
popq %r12
movl %ebp, %ebp
movq 0x28(%rbx), %rax
movq 0x30(%rbx), %rcx
subq %rax, %rcx
sarq $0x3, %rcx
cmpq %rbp, %rcx
jbe 0xc02b
movq (%rax,%rbp,8), %r13
testq %r13, %r13
je 0xc027
movq %r13, %rdi
callq 0x819a
movq %r13, %rdi
movq %r12, %rsi
callq 0x42c0
movq (%r15), %rax
andq $0x0, (%rax,%rbp,8)
incl %ebp
jmp 0xbfed
leaq 0x58(%rbx), %rdi
callq 0xc550
addq $0x40, %rbx
movq %rbx, %rdi
callq 0x5f0a
movq %r15, %rdi
callq 0xcc3e
movq %r14, %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0xcc3e
// File: /workspace/github_cpp_makefile_star2_O2/hanhwi[P]SimPoint/analysiscode/Simpoint.cpp
// Function: Simpoint::parseCmdLineOptions(int, char**)
bool Simpoint::parseCmdLineOptions(int argc, char **argv) {
    Logger::log() << "Command-line: \"";
    for (int i = 0; i < argc; i++) {
        if (i > 0) { Logger::log() << ' '; }
        Logger::log() << argv[i];
    }
    Logger::log() << "\"\n";

    if (argc == 1) {
        options.usage(argv[0]);
        return false;
    }

    if (! options.parseOptions(argc, argv)) {
        return false;
    }

    Logger::log() << "Using these options (*** indicates user-specified option):\n";
    options.printOptionSettings(Logger::log());
    Logger::log() << "-------------------------------------------------------------\n";

    return true;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r14
movl %esi, %ebp
movq %rdi, (%rsp)
leaq 0x1529f(%rip), %r12     # 0x21318
movl (%r12), %eax
shrl $0x1f, %eax
movq 0x8(%r12,%rax,8), %rdi
leaq 0x9f38(%rip), %rsi      # 0x15fc4
callq 0x4290
xorl %r13d, %r13d
testl %ebp, %ebp
movl $0x0, %ebx
cmovgl %ebp, %ebx
pushq $0x20
popq %r15
cmpq %r13, %rbx
je 0xc0da
testq %r13, %r13
je 0xc0c0
movl (%r12), %eax
shrl $0x1f, %eax
movq 0x8(%r12,%rax,8), %rdi
movl %r15d, %esi
callq 0x4310
movl (%r12), %eax
shrl $0x1f, %eax
movq 0x8(%r12,%rax,8), %rdi
movq (%r14,%r13,8), %rsi
callq 0x4290
incq %r13
jmp 0xc0a2
movl (%r12), %eax
shrl $0x1f, %eax
movq 0x8(%r12,%rax,8), %rdi
leaq 0x9ee7(%rip), %rsi      # 0x15fd4
callq 0x4290
movq (%rsp), %rbx
addq $0x58, %rbx
cmpl $0x1, %ebp
jne 0xc10c
movq (%r14), %rsi
movq %rbx, %rdi
callq 0x1173a
jmp 0xc165
movq %rbx, %rdi
movl %ebp, %esi
movq %r14, %rdx
callq 0x10d16
testb %al, %al
je 0xc165
movl (%r12), %eax
shrl $0x1f, %eax
movq 0x8(%r12,%rax,8), %rdi
leaq 0x9ea7(%rip), %rsi      # 0x15fd7
callq 0x4290
movl (%r12), %eax
shrl $0x1f, %eax
movq 0x8(%r12,%rax,8), %rsi
movq %rbx, %rdi
callq 0x117a6
movl (%r12), %eax
shrl $0x1f, %eax
movq 0x8(%r12,%rax,8), %rdi
leaq 0x9d6f(%rip), %rsi      # 0x15ecb
callq 0x4290
movb $0x1, %al
jmp 0xc167
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/hanhwi[P]SimPoint/analysiscode/Simpoint.cpp
// Function: main
int main(int argc, char **argv) {
    Simpoint simpointAnalyzer;

    if (simpointAnalyzer.parseCmdLineOptions(argc, argv)) {
        // do everything else
        simpointAnalyzer.doClustering();
    }

    return 0;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x3d0, %rsp            # imm = 0x3D0
movq %rsi, %rbx
movl %edi, %ebp
leaq 0x8(%rsp), %r14
movq %r14, %rdi
callq 0xc656
movq %r14, %rdi
movl %ebp, %esi
movq %rbx, %rdx
callq 0xc05e
testb %al, %al
je 0xc1ae
leaq 0x8(%rsp), %rdi
callq 0xb568
leaq 0x8(%rsp), %rdi
callq 0xbf34
xorl %eax, %eax
addq $0x3d0, %rsp            # imm = 0x3D0
popq %rbx
popq %r14
popq %rbp
retq
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0xbf34
movq %rbx, %rdi
callq 0x4530
nop
// File: /workspace/github_cpp_makefile_star2_O2/hanhwi[P]SimPoint/analysiscode/SimpointOptions.cpp
// Function: SimpointOptions::parseOptions(int, char**)
bool SimpointOptions::parseOptions(int argc, char **argv) {
    if (! cmdLineParser.parseCmdLine(argc, argv)) {
        Logger::log() << "Error in parsing command line options:\n"
             << cmdLineParser.getErrorMsg() << endl;
        return false;
    }

    Logger::setLoggingLevel(verboseLevel);

    // check that the user has specified options in a way that is sensible
    string errMessage;
    if (! validateOptions(&errMessage)) {
        Logger::log() << "Error in combination of command-line options:\n";
        Logger::log() << errMessage << endl;
        return false;
    }

    return true;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rdi, %rbx
addq $0x2e8, %rdi            # imm = 0x2E8
callq 0x48bc
testb %al, %al
je 0x10da1
movl 0x70(%rbx), %eax
leaq 0x105da(%rip), %r14     # 0x21318
movl %eax, (%r14)
leaq -0x20(%rbp), %rax
movq %rax, -0x10(%rax)
andq $0x0, -0x8(%rax)
movb $0x0, (%rax)
leaq -0x30(%rbp), %rsi
movq %rbx, %rdi
callq 0x10dfa
movl %eax, %ebx
testb %al, %al
jne 0x10d96
movl (%r14), %eax
shrl $0x1f, %eax
movq 0x8(%r14,%rax,8), %rdi
leaq 0x6aa7(%rip), %rsi      # 0x1781c
callq 0x4290
movl (%r14), %eax
shrl $0x1f, %eax
movq 0x8(%r14,%rax,8), %rdi
leaq -0x30(%rbp), %rsi
callq 0x4270
movq %rax, %rdi
callq 0x4180
leaq -0x30(%rbp), %rdi
callq 0x45e8
jmp 0x10dda
leaq 0x10570(%rip), %rax     # 0x21318
movl (%rax), %ecx
shrl $0x1f, %ecx
movq 0x8(%rax,%rcx,8), %rdi
leaq 0x6a3b(%rip), %rsi      # 0x177f4
callq 0x4290
addq $0x350, %rbx            # imm = 0x350
movq %rax, %rdi
movq %rbx, %rsi
callq 0x4270
movq %rax, %rdi
callq 0x4180
xorl %ebx, %ebx
movl %ebx, %eax
addq $0x20, %rsp
popq %rbx
popq %r14
popq %rbp
retq
movq %rax, %rbx
leaq -0x30(%rbp), %rdi
callq 0x45e8
movq %rbx, %rdi
callq 0x4530
nop
// File: /workspace/github_cpp_makefile_star2_O2/hanhwi[P]SimPoint/analysiscode/SimpointOptions.cpp
// Function: SimpointOptions::printOptionSettings(std::ostream&) const
void SimpointOptions::printOptionSettings(ostream &os) const {
    for (unsigned int i = 0; i < cmdLineParser.getNumOptions(); i++) {
        const CmdLineOption *opt = cmdLineParser.getOption(i);
        if (opt->isSpecified()) {
            os << "*** ";
        } else {
            os << "    ";
        }
        os << opt->getPrettyValue() << endl;
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x2e8(%rdi), %rax
movq %rax, -0x30(%rbp)
xorl %r12d, %r12d
leaq -0x50(%rbp), %r13
movq 0x2f8(%r14), %rax
subq 0x2f0(%r14), %rax
shrq $0x3, %rax
cmpl %eax, %r12d
jae 0x1183f
movq -0x30(%rbp), %rdi
movl %r12d, %esi
callq 0x123a6
movq %rax, %r15
cmpb $0x0, 0x89(%rax)
leaq 0x69a9(%rip), %rsi      # 0x181ac
jne 0x1180c
leaq 0x69a5(%rip), %rsi      # 0x181b1
movq %rbx, %rdi
callq 0x4290
movq %r13, %rdi
movq %r15, %rsi
callq 0x12426
movq %rbx, %rdi
movq %r13, %rsi
callq 0x4270
movq %rax, %rdi
callq 0x4180
movq %r13, %rdi
callq 0x45e8
incl %r12d
jmp 0x117cf
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq -0x50(%rbp), %rdi
callq 0x45e8
movq %rbx, %rdi
callq 0x4530
// File: /workspace/github_cpp_makefile_star2_O2/hanhwi[P]SimPoint/analysiscode/SimpointOptions.cpp
// Function: split(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, char)
vector<string> split(const string &s, char c) {
    vector<string> parts;
    unsigned long start = 0, end;
    while (start < s.size()) {
        end = s.find(c, start);
        if (end == string::npos) {
            parts.push_back(s.substr(start));
            start = s.size();
        } else {
            parts.push_back(s.substr(start, end - start));
            start = end + 1;
        }
    }

    return parts;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rsi, %r14
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
movq %rdi, -0x30(%rbp)
andq $0x0, 0x10(%rdi)
xorl %ebx, %ebx
movsbl %dl, %r15d
leaq -0x50(%rbp), %r12
cmpq 0x8(%r14), %rbx
jae 0x11907
movq %r14, %rdi
movl %r15d, %esi
movq %rbx, %rdx
callq 0x43b0
cmpq $-0x1, %rax
je 0x118dc
movq %rax, %r13
movq %rax, %rcx
subq %rbx, %rcx
movq %r12, %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq 0x42d0
movq -0x30(%rbp), %rdi
movq %r12, %rsi
callq 0x568a
movq %r12, %rdi
callq 0x45e8
incq %r13
movq %r13, %rbx
jmp 0x1188f
movq %r12, %rdi
movq %r14, %rsi
movq %rbx, %rdx
pushq $-0x1
popq %rcx
callq 0x42d0
movq -0x30(%rbp), %rdi
movq %r12, %rsi
callq 0x568a
movq %r12, %rdi
callq 0x45e8
movq 0x8(%r14), %rbx
jmp 0x1188f
movq -0x30(%rbp), %rax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x11923
jmp 0x1191e
movq %rax, %r14
jmp 0x1192f
movq %rax, %r14
leaq -0x50(%rbp), %rdi
callq 0x45e8
movq -0x30(%rbp), %rdi
callq 0xc7f2
movq %r14, %rdi
callq 0x4530
// File: /workspace/github_cpp_makefile_star2_O2/hanhwi[P]SimPoint/analysiscode/./CmdLineParser.h
// Function: CmdLineParser::addOption(CmdLineOption*)
void addOption(CmdLineOption *option) {
            Utilities::check(option != NULL,
                    "CmdLineParser::addOption(): option cannnot be NULL");
            Utilities::check(findOption(option->getName()) == NULL, 
                    "CmdLineParser::addOption(): option " + option->getName() +
                    " is already added");
            optionNameToNdxMap[option->getName()] = allOptions.size();
            allOptions.push_back(option);
        }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x50, %rsp
movq %rsi, %rbx
movq %rdi, %r14
movq %rsi, -0x48(%rbp)
leaq 0x6511(%rip), %rsi      # 0x1822d
leaq -0x40(%rbp), %rdi
leaq -0x68(%rbp), %rdx
callq 0x53a6
xorl %edi, %edi
testq %rbx, %rbx
setne %dil
leaq -0x40(%rbp), %rsi
callq 0x5364
leaq -0x40(%rbp), %rdi
callq 0x45e8
addq $0x8, %rbx
movq %r14, %rdi
movq %rbx, %rsi
callq 0x53e2
movq %rax, %r15
leaq 0x6503(%rip), %rsi      # 0x18260
leaq -0x68(%rbp), %r12
movq %r12, %rdi
movq %rbx, %rdx
callq 0x54af
leaq 0x6511(%rip), %rdx      # 0x18284
leaq -0x40(%rbp), %rdi
movq %r12, %rsi
callq 0x5490
xorl %edi, %edi
testq %r15, %r15
sete %dil
leaq -0x40(%rbp), %rsi
callq 0x5364
leaq -0x40(%rbp), %rdi
callq 0x45e8
leaq -0x68(%rbp), %rdi
callq 0x45e8
leaq 0x8(%r14), %r15
movq 0x10(%r14), %r12
subq 0x8(%r14), %r12
shrq $0x3, %r12
addq $0x20, %r14
movq %r14, %rdi
movq %rbx, %rsi
callq 0xc1dc
movl %r12d, (%rax)
leaq -0x48(%rbp), %rsi
movq %r15, %rdi
callq 0x1262c
addq $0x50, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq -0x40(%rbp), %rdi
callq 0x45e8
jmp 0x11def
movq %rax, %rbx
leaq -0x68(%rbp), %rdi
jmp 0x11dfc
movq %rax, %rbx
leaq -0x40(%rbp), %rdi
callq 0x45e8
jmp 0x11e06
movq %rax, %rbx
movq %rbx, %rdi
callq 0x4530
// File: /workspace/github_cpp_makefile_star2_O2/hanhwi[P]SimPoint/analysiscode/./SimpointOptions.h
// Function: StringCmdLineOption::StringCmdLineOption(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::set<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>)
StringCmdLineOption(const string &option_name, const string &argument_name,
                const string &the_explanation, string *string_target, 
                const string &defaultValue = string(),
                const set<string> arg_options = set<string>()) :
            CmdLineOption(option_name, true, argument_name, the_explanation) {
            Utilities::check(string_target != NULL,
                    "StringCmdLineOption constructor: string_target cannnot be NULL");
            stringTarget = string_target;
            *stringTarget = defaultValue;
            argumentOptions = arg_options;
        }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x30, %rsp
movq %r9, %r15
movq %r8, %r12
movq %rcx, %r8
movq %rdx, %rcx
movq %rdi, %rbx
pushq $0x1
popq %rdx
callq 0x127c0
leaq 0xed6d(%rip), %rax      # 0x20ba8
movq %rax, (%rbx)
leaq 0x98(%rbx), %r14
leaq 0xa0(%rbx), %rax
andl $0x0, 0xa0(%rbx)
andq $0x0, 0xa8(%rbx)
movq %rax, 0xb0(%rbx)
movq %rax, 0xb8(%rbx)
andq $0x0, 0xc0(%rbx)
leaq 0x641e(%rip), %rsi      # 0x18296
leaq -0x48(%rbp), %rdi
leaq -0x21(%rbp), %rdx
callq 0x53a6
xorl %edi, %edi
testq %r12, %r12
setne %dil
leaq -0x48(%rbp), %rsi
callq 0x5364
leaq -0x48(%rbp), %rdi
callq 0x45e8
movq %r12, 0x90(%rbx)
movq %r12, %rdi
movq %r15, %rsi
callq 0x41a0
movq 0x10(%rbp), %rsi
movq %r14, %rdi
callq 0x129bc
addq $0x30, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r15
leaq -0x48(%rbp), %rdi
callq 0x45e8
jmp 0x11ede
jmp 0x11edb
movq %rax, %r15
movq %r14, %rdi
callq 0x12e4a
movq %rbx, %rdi
callq 0x124da
movq %r15, %rdi
callq 0x4530
// File: /workspace/github_cpp_makefile_star2_O2/hanhwi[P]SimPoint/analysiscode/./SimpointOptions.h
// Function: NumClustersCmdLineOption::NumClustersCmdLineOption(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, bool*, std::vector<int, std::allocator<int>>*)
NumClustersCmdLineOption(const string &option_name,
                const string &argument_name, const string &the_explanation,
                bool *search_target,
                vector<int> *kvalues_target) :
            CmdLineOption(option_name, true, argument_name, the_explanation) {
            Utilities::check(search_target != NULL,
                "NumClustersCmdLineOption constructor: search_target cannnot be NULL");
            Utilities::check(kvalues_target != NULL,
                "NumClustersCmdLineOption constructor: kvalues_target cannnot be NULL");
            searchTarget = search_target;
            kValuesTarget = kvalues_target;
            *searchTarget = true;
        }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %r9, %r15
movq %r8, %r14
movq %rcx, %r8
movq %rdx, %rcx
movq %rdi, %rbx
pushq $0x1
popq %rdx
callq 0x127c0
leaq 0xec27(%rip), %rax      # 0x20b48
movq %rax, (%rbx)
leaq 0x63cd(%rip), %rsi      # 0x182f8
leaq -0x40(%rbp), %rdi
leaq -0x19(%rbp), %rdx
callq 0x53a6
xorl %edi, %edi
testq %r14, %r14
setne %dil
leaq -0x40(%rbp), %rsi
callq 0x5364
leaq -0x40(%rbp), %rdi
callq 0x45e8
leaq 0x63e2(%rip), %rsi      # 0x1833c
leaq -0x40(%rbp), %rdi
leaq -0x19(%rbp), %rdx
callq 0x53a6
xorl %edi, %edi
testq %r15, %r15
setne %dil
leaq -0x40(%rbp), %rsi
callq 0x5364
leaq -0x40(%rbp), %rdi
callq 0x45e8
movq %r14, 0x90(%rbx)
movq %r15, 0x98(%rbx)
movb $0x1, (%r14)
addq $0x28, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
jmp 0x11fa3
jmp 0x11fb1
movq %rax, %r14
leaq -0x40(%rbp), %rdi
callq 0x45e8
jmp 0x11fb4
movq %rax, %r14
movq %rbx, %rdi
callq 0x124da
movq %r14, %rdi
callq 0x4530
// File: /workspace/github_cpp_makefile_star2_O2/hanhwi[P]SimPoint/analysiscode/./SimpointOptions.h
// Function: NumItersCmdLineOption::NumItersCmdLineOption(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, bool*, int*, int)
NumItersCmdLineOption(const string &option_name,
                const string &argument_name, const string &the_explanation,
                bool *no_iter_limit_target, int *num_iters_target,
                int defaultNumIters) :
            IntCmdLineOption(option_name, argument_name, the_explanation,
                    num_iters_target, defaultNumIters, 0) {
            Utilities::check(no_iter_limit_target != NULL,
                "NumItersCmdLineOption constructor: no_iter_limit_target cannnot be NULL");
            noIterLimitTarget = no_iter_limit_target;
            *noIterLimitTarget = false;
        }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x30, %rsp
movq %r9, %rax
movq %r8, %r14
movq %rdi, %rbx
movl 0x10(%rbp), %r9d
movq %rax, %r8
pushq $0x7fffffff             # imm = 0x7FFFFFFF
pushq $0x0
callq 0x12122
popq %rax
popq %rcx
leaq 0xec0e(%rip), %rax      # 0x20c30
movq %rax, (%rbx)
leaq 0x6355(%rip), %rsi      # 0x18381
leaq -0x38(%rbp), %rdi
leaq -0x11(%rbp), %rdx
callq 0x53a6
xorl %edi, %edi
testq %r14, %r14
setne %dil
leaq -0x38(%rbp), %rsi
callq 0x5364
leaq -0x38(%rbp), %rdi
callq 0x45e8
movq %r14, 0xa0(%rbx)
movb $0x0, (%r14)
addq $0x30, %rsp
popq %rbx
popq %r14
popq %rbp
retq
movq %rax, %r14
leaq -0x38(%rbp), %rdi
callq 0x45e8
jmp 0x12079
movq %rax, %r14
movq %rbx, %rdi
callq 0x124da
movq %r14, %rdi
callq 0x4530
nop
// File: /workspace/github_cpp_makefile_star2_O2/hanhwi[P]SimPoint/analysiscode/./SimpointOptions.h
// Function: DimensionCmdLineOption::DimensionCmdLineOption(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, bool*, int*, int)
DimensionCmdLineOption(const string &option_name,
                const string &argument_name, const string &the_explanation,
                bool *noproject_target,
                int *dimension_target, int defaultDimension) :
            IntCmdLineOption(option_name, argument_name, the_explanation,
                    dimension_target, defaultDimension, 1) {
            Utilities::check(noproject_target != NULL,
                "DimensionCmdLineOption constructor: noproject_target cannnot be NULL");
            noProjectTarget = noproject_target;
            *noProjectTarget = false;
        }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x30, %rsp
movq %r9, %rax
movq %r8, %r14
movq %rdi, %rbx
movl 0x10(%rbp), %r9d
movq %rax, %r8
pushq $0x7fffffff             # imm = 0x7FFFFFFF
pushq $0x1
callq 0x12122
popq %rax
popq %rcx
leaq 0xec16(%rip), %rax      # 0x20cd0
movq %rax, (%rbx)
leaq 0x636b(%rip), %rsi      # 0x1842f
leaq -0x38(%rbp), %rdi
leaq -0x11(%rbp), %rdx
callq 0x53a6
xorl %edi, %edi
testq %r14, %r14
setne %dil
leaq -0x38(%rbp), %rsi
callq 0x5364
leaq -0x38(%rbp), %rdi
callq 0x45e8
movq %r14, 0xa0(%rbx)
movb $0x0, (%r14)
addq $0x30, %rsp
popq %rbx
popq %r14
popq %rbp
retq
movq %rax, %r14
leaq -0x38(%rbp), %rdi
callq 0x45e8
jmp 0x12111
movq %rax, %r14
movq %rbx, %rdi
callq 0x124da
movq %r14, %rdi
callq 0x4530
nop
// File: /workspace/github_cpp_makefile_star2_O2/hanhwi[P]SimPoint/analysiscode/./SimpointOptions.h
// Function: IntCmdLineOption::IntCmdLineOption(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, int*, int, int, int)
IntCmdLineOption(const string &option_name, const string &argument_name,
                const string &the_explanation, int *int_target, int defaultValue,
                int min_valid_value = INT_MIN,
                int max_valid_value = INT_MAX) : 
            CmdLineOption(option_name, true, argument_name, the_explanation) {
            Utilities::check(int_target != NULL,
                    "IntCmdLineOption constructor: int_target cannnot be NULL");
            intTarget = int_target;
            *intTarget = defaultValue;
            minValidValue = min_valid_value;
            maxValidValue = max_valid_value;
        }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movl %r9d, %r14d
movq %r8, %r15
movq %rcx, %r8
movq %rdx, %rcx
movq %rdi, %rbx
pushq $0x1
popq %rdx
callq 0x127c0
leaq 0xeb47(%rip), %rax      # 0x20c98
movq %rax, (%rbx)
leaq 0x626e(%rip), %rsi      # 0x183c9
leaq -0x50(%rbp), %rdi
leaq -0x29(%rbp), %rdx
callq 0x53a6
xorl %edi, %edi
testq %r15, %r15
setne %dil
leaq -0x50(%rbp), %rsi
callq 0x5364
movl 0x18(%rbp), %r12d
movl 0x10(%rbp), %r13d
leaq -0x50(%rbp), %rdi
callq 0x45e8
movq %r15, 0x90(%rbx)
movl %r14d, (%r15)
movl %r13d, 0x9c(%rbx)
movl %r12d, 0x98(%rbx)
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
leaq -0x50(%rbp), %rdi
callq 0x45e8
jmp 0x121c3
movq %rax, %r14
movq %rbx, %rdi
callq 0x124da
movq %r14, %rdi
callq 0x4530
nop
// File: /workspace/github_cpp_makefile_star2_O2/hanhwi[P]SimPoint/analysiscode/./SimpointOptions.h
// Function: DoubleCmdLineOption::DoubleCmdLineOption(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, double*, double, double, double)
DoubleCmdLineOption(const string &option_name, const string &argument_name,
                const string &the_explanation, double *double_target, 
                double defaultValue,
                double min_valid_value = -DBL_MAX, 
                double max_valid_value = DBL_MAX) :
            CmdLineOption(option_name, true, argument_name, the_explanation) {
            Utilities::check(double_target != NULL,
                    "DoubleCmdLineOption constructor: double_target cannnot be NULL");
            doubleTarget = double_target;
            *doubleTarget = defaultValue;
            minValidValue = min_valid_value;
            maxValidValue = max_valid_value;
        }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x40, %rsp
movsd %xmm2, -0x30(%rbp)
movsd %xmm1, -0x28(%rbp)
movsd %xmm0, -0x20(%rbp)
movq %r8, %r14
movq %rcx, %r8
movq %rdx, %rcx
movq %rdi, %rbx
pushq $0x1
popq %rdx
callq 0x127c0
leaq 0xeb17(%rip), %rax      # 0x20d20
movq %rax, (%rbx)
leaq 0x626b(%rip), %rsi      # 0x1847e
leaq -0x50(%rbp), %rdi
leaq -0x11(%rbp), %rdx
callq 0x53a6
xorl %edi, %edi
testq %r14, %r14
setne %dil
leaq -0x50(%rbp), %rsi
callq 0x5364
leaq -0x50(%rbp), %rdi
callq 0x45e8
movq %r14, 0x90(%rbx)
movsd -0x20(%rbp), %xmm0
movsd %xmm0, (%r14)
movsd -0x28(%rbp), %xmm0
movsd %xmm0, 0x98(%rbx)
movsd -0x30(%rbp), %xmm0
movsd %xmm0, 0xa0(%rbx)
addq $0x40, %rsp
popq %rbx
popq %r14
popq %rbp
retq
movq %rax, %r14
leaq -0x50(%rbp), %rdi
callq 0x45e8
jmp 0x12280
movq %rax, %r14
movq %rbx, %rdi
callq 0x124da
movq %r14, %rdi
callq 0x4530
// File: /workspace/github_cpp_makefile_star2_O2/hanhwi[P]SimPoint/analysiscode/./SimpointOptions.h
// Function: FlagCmdLineOption::FlagCmdLineOption(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, bool*)
FlagCmdLineOption(const string &option_name, 
                const string &the_explanation, bool *flag_target) :
            CmdLineOption(option_name, false, string(""), the_explanation) {
            Utilities::check(flag_target != NULL,
                    "FlagCmdLineOption constructor: flag_target cannnot be NULL");
            flagTarget = flag_target;
            *flagTarget = false;
        }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x30, %rsp
movq %rcx, %r14
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %rbx
leaq 0x2f4d(%rip), %rsi      # 0x151ff
leaq -0x48(%rbp), %rdi
leaq -0x21(%rbp), %rdx
callq 0x53a6
leaq -0x48(%rbp), %rcx
movq %rbx, %rdi
movq %r12, %rsi
xorl %edx, %edx
movq %r15, %r8
callq 0x127c0
leaq -0x48(%rbp), %rdi
callq 0x45e8
leaq 0xea8d(%rip), %rax      # 0x20d70
movq %rax, (%rbx)
leaq 0x61f7(%rip), %rsi      # 0x184e4
leaq -0x48(%rbp), %rdi
leaq -0x21(%rbp), %rdx
callq 0x53a6
xorl %edi, %edi
testq %r14, %r14
setne %dil
leaq -0x48(%rbp), %rsi
callq 0x5364
leaq -0x48(%rbp), %rdi
callq 0x45e8
movq %r14, 0x90(%rbx)
movb $0x0, (%r14)
addq $0x30, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
leaq -0x48(%rbp), %rdi
callq 0x45e8
jmp 0x1233e
movq %rax, %r14
movq %rbx, %rdi
callq 0x124da
jmp 0x12359
movq %rax, %r14
leaq -0x48(%rbp), %rdi
callq 0x45e8
jmp 0x12359
movq %rax, %r14
movq %r14, %rdi
callq 0x4530
nop
// File: /workspace/github_cpp_makefile_star2_O2/hanhwi[P]SimPoint/analysiscode/./SimpointOptions.h
// Function: NumClustersCmdLineOption::getPrettyValueSub[abi:cxx11]() const
virtual string getPrettyValueSub() const {
            string s;
            if (*searchTarget) {
                s = "search";
            } else {
                for (unsigned int i = 0; i < kValuesTarget->size(); i++) {
                    if (i > 0) { s += ","; }
                    s += toString((*kValuesTarget)[i]);
                }
            }
            return s;
        }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
leaq 0x10(%rdi), %rax
movq %rax, (%rdi)
andq $0x0, 0x8(%rdi)
movb $0x0, 0x10(%rdi)
movq 0x90(%rsi), %rax
cmpb $0x0, (%rax)
je 0x1259b
leaq 0x5c35(%rip), %rsi      # 0x181b6
movq %rbx, %rdi
callq 0x4590
movq %rbx, %rax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rsi, %r14
xorl %r13d, %r13d
leaq -0x48(%rbp), %r15
leaq 0x5fde(%rip), %r12      # 0x1858a
movl %r13d, %r13d
movq 0x98(%r14), %rcx
movq (%rcx), %rax
movq 0x8(%rcx), %rcx
subq %rax, %rcx
sarq $0x2, %rcx
cmpq %r13, %rcx
jbe 0x12589
testq %r13, %r13
je 0x125e3
movq %rbx, %rdi
movq %r12, %rsi
callq 0x4580
movq 0x98(%r14), %rax
movq (%rax), %rax
movl (%rax,%r13,4), %esi
movq %r15, %rdi
callq 0x13a78
movq %rbx, %rdi
movq %r15, %rsi
callq 0x45b0
movq %r15, %rdi
callq 0x45e8
incl %r13d
jmp 0x125ac
jmp 0x1260b
jmp 0x1260b
movq %rax, %r14
jmp 0x1261c
movq %rax, %r14
leaq -0x48(%rbp), %rdi
callq 0x45e8
movq %rbx, %rdi
callq 0x45e8
movq %r14, %rdi
callq 0x4530
// File: /workspace/github_cpp_makefile_star2_O2/hanhwi[P]SimPoint/analysiscode/./CmdLineParser.h
// Function: CmdLineOption::CmdLineOption(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, bool, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
CmdLineOption(const string &option_name,
                bool requires_argument,
                const string &argument_name,
                const string &the_explanation) {
            name = option_name;
            argumentName = argument_name;
            explanation = the_explanation;
            argumentRequired = requires_argument;
            specified = false;
        }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %r8, %r12
movq %rcx, %r14
movl %edx, -0x2c(%rbp)
movq %rdi, %r15
leaq 0xe414(%rip), %rax      # 0x20bf8
movq %rax, (%rdi)
leaq 0x18(%rdi), %rax
movq %rax, 0x8(%rdi)
andq $0x0, 0x10(%rdi)
addq $0x8, %rdi
xorl %eax, %eax
movb %al, 0x18(%r15)
leaq 0x38(%r15), %rcx
movq %rcx, 0x28(%r15)
andq $0x0, 0x30(%r15)
leaq 0x28(%r15), %r13
movb %al, 0x38(%r15)
leaq 0x48(%r15), %rbx
leaq 0x58(%r15), %rcx
movq %rcx, 0x48(%r15)
andq $0x0, 0x50(%r15)
movb %al, 0x58(%r15)
leaq 0x68(%r15), %rcx
movq %rcx, -0x38(%rbp)
leaq 0x78(%r15), %rcx
movq %rcx, 0x68(%r15)
andq $0x0, 0x70(%r15)
movb %al, 0x78(%r15)
movq %rdi, -0x40(%rbp)
callq 0x41a0
movq %r13, %rdi
movq %r14, %rsi
callq 0x41a0
movq %rbx, %rdi
movq %r12, %rsi
callq 0x41a0
movl -0x2c(%rbp), %eax
movb %al, 0x88(%r15)
movb $0x0, 0x89(%r15)
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movq -0x38(%rbp), %rdi
callq 0x45e8
movq %rbx, %rdi
callq 0x45e8
movq %r13, %rdi
callq 0x45e8
movq -0x40(%rbp), %rdi
callq 0x45e8
movq %r14, %rdi
callq 0x4530
// File: /workspace/github_cpp_makefile_star2_O2/hanhwi[P]SimPoint/analysiscode/./SimpointOptions.h
// Function: StringCmdLineOption::parseArgumentSub(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
virtual bool parseArgumentSub(const string &argument) {
            if ((argumentOptions.size() > 0) &&
                    (argumentOptions.find(argument) == argumentOptions.end())) {
                setParseError("string value is not a valid option");
                return false;
            }
            *stringTarget = argument;
            return true;
        }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x30, %rsp
movq %rsi, %r14
movq %rdi, %rbx
cmpq $0x0, 0xc0(%rdi)
je 0x12934
leaq 0x98(%rbx), %rdi
movq %r14, %rsi
callq 0x12dc0
leaq 0xa0(%rbx), %rcx
cmpq %rcx, %rax
je 0x12947
movq 0x90(%rbx), %rdi
movq %r14, %rsi
callq 0x41a0
movb $0x1, %al
jmp 0x12978
leaq 0x5987(%rip), %rsi      # 0x182d5
leaq -0x38(%rbp), %r14
leaq -0x11(%rbp), %rdx
movq %r14, %rdi
callq 0x53a6
addq $0x68, %rbx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x41a0
leaq -0x38(%rbp), %rdi
callq 0x45e8
xorl %eax, %eax
addq $0x30, %rsp
popq %rbx
popq %r14
popq %rbp
retq
movq %rax, %rbx
leaq -0x38(%rbp), %rdi
callq 0x45e8
movq %rbx, %rdi
callq 0x4530
nop
// File: /workspace/github_cpp_makefile_star2_O2/hanhwi[P]SimPoint/analysiscode/./SimpointOptions.h
// Function: NumItersCmdLineOption::parseArgumentSub(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
virtual bool parseArgumentSub(const string &argument) {
            if (argument == string("off")) {
                *noIterLimitTarget = true;
                return true;
            }
            return IntCmdLineOption::parseArgumentSub(argument);
        }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x30, %rsp
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x455d(%rip), %rsi      # 0x173fd
leaq -0x48(%rbp), %r15
leaq -0x21(%rbp), %rdx
movq %r15, %rdi
callq 0x53a6
movq %rbx, %rdi
movq %r15, %rsi
callq 0x130c1
movl %eax, %r12d
movq %r15, %rdi
callq 0x45e8
testb %r12b, %r12b
je 0x12ed9
movq 0xa0(%r14), %rax
movb $0x1, (%rax)
movb $0x1, %al
jmp 0x12ee4
movq %r14, %rdi
movq %rbx, %rsi
callq 0x12f5a
addq $0x30, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
nop