LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O3/cfiutak1[P]HPyC-KD-Tree/./utils/fileprocessor/QueryFileProcessor.hpp
// Function: QueryFileProcessor::readQueryFileHeader()
QueryFileData* readQueryFileHeader() {
        char file_type[8];
        this->input_stream.read(reinterpret_cast<char *>(&file_type), 8);

        std::size_t file_id = 0;
        this->input_stream.read(reinterpret_cast<char *>(&file_id), 8);

        std::size_t num_points = 0;
        this->input_stream.read(reinterpret_cast<char *>(&num_points), 8);

        std::size_t num_dimensions = 0;
        this->input_stream.read(reinterpret_cast<char *>(&num_dimensions), 8);

        std::size_t num_neighbors = 0;
        this->input_stream.read(reinterpret_cast<char *>(&num_neighbors), 8);

        this->file_data = new QueryFileData(file_id, num_points, num_dimensions, num_neighbors);

        return static_cast<QueryFileData*>(this->file_data);
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
leaq 0x20(%rdi), %r14
leaq 0x20(%rsp), %rsi
movl $0x8, %edx
movq %r14, %rdi
callq 0x2130
xorl %r15d, %r15d
movq %rsp, %rsi
movq %r15, (%rsi)
movl $0x8, %edx
movq %r14, %rdi
callq 0x2130
leaq 0x18(%rsp), %r12
movq %r15, (%r12)
movl $0x8, %edx
movq %r14, %rdi
movq %r12, %rsi
callq 0x2130
leaq 0x10(%rsp), %r13
movq %r15, (%r13)
movl $0x8, %edx
movq %r14, %rdi
movq %r13, %rsi
callq 0x2130
leaq 0x8(%rsp), %rbp
movq %r15, (%rbp)
movl $0x8, %edx
movq %r14, %rdi
movq %rbp, %rsi
callq 0x2130
movl $0x20, %edi
callq 0x2110
movq %rsp, %rcx
movq (%rcx), %rcx
movq (%r12), %rdx
movq (%r13), %rsi
movq (%rbp), %rdi
movq %rcx, (%rax)
movq %rdx, 0x8(%rax)
movq %rsi, 0x10(%rax)
movq %rdi, 0x18(%rax)
movq %rax, 0x228(%rbx)
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/cfiutak1[P]HPyC-KD-Tree/./utils/fileprocessor/FileProcessor.hpp
// Function: FileProcessor::readPointsRowCol()
float** readPointsRowCol() {
        std::size_t num_points = this->file_data->num_points;

        float** points = new float*[num_points];

        for (std::size_t i = 0; i < num_points; i++) {
            if (this->input_stream) {
                float* f = new float[this->file_data->num_dimensions];

                this->input_stream.read(
                    (char*) f,
                    this->file_data->num_dimensions * sizeof(float)
                );

                points[i] = (f);
            }
        }

        this->close();

        return points;
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x228(%rdi), %rax
movq 0x8(%rax), %r13
movq %r13, %rax
shrq $0x3d, %rax
leaq (,%r13,8), %rcx
xorl %edi, %edi
negq %rax
sbbq %rdi, %rdi
orq %rcx, %rdi
callq 0x2030
movq %rax, (%rsp)
testq %r13, %r13
je 0x2c7f
leaq 0x20(%rbx), %r15
xorl %ebp, %ebp
movq 0x20(%rbx), %rax
movq -0x18(%rax), %rax
testb $0x5, 0x40(%rbx,%rax)
jne 0x2c77
movq 0x228(%rbx), %r14
movq 0x10(%r14), %rax
movq %rax, %rcx
shrq $0x3e, %rcx
shlq $0x2, %rax
negq %rcx
movl $0x0, %edi
sbbq %rdi, %rdi
orq %rax, %rdi
callq 0x2030
movq %rax, %r12
movq 0x10(%r14), %rdx
shlq $0x2, %rdx
movq %r15, %rdi
movq %rax, %rsi
callq 0x2130
movq (%rsp), %rax
movq %r12, (%rax,%rbp,8)
incq %rbp
cmpq %rbp, %r13
jne 0x2c21
movq 0x20(%rbx), %rax
movq -0x18(%rax), %rax
testb $0x5, 0x40(%rbx,%rax)
jne 0x2c9a
addq $0x20, %rbx
movq %rbx, %rdi
callq 0x2050
movq (%rsp), %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/cfiutak1[P]HPyC-KD-Tree/./utils/filewriter/ResultsFileWriter.hpp
// Function: ResultsFileWriter::writeFileHeader()
void writeFileHeader() {
        char file_type[] = "RESULT\0\0";
        auto file_id = this->generateFileID();
        this->results_file.write(reinterpret_cast<const char*>(&file_type), 8);
        this->results_file.write(reinterpret_cast<const char*>(&this->training_file_data->file_id), 8);
        this->results_file.write(reinterpret_cast<const char*>(&this->query_file_data->file_id), 8);
        this->results_file.write(reinterpret_cast<const char*>(&file_id), 8);
        this->results_file.write(reinterpret_cast<const char*>(&(this->query_file_data->num_points)), 8);
        this->results_file.write(reinterpret_cast<const char*>(&(this->query_file_data->num_dimensions)), 8);
        this->results_file.write(reinterpret_cast<const char*>(&(this->query_file_data->num_neighbors)), 8);
    }

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
movabsq $0x544c55534552, %rax   # imm = 0x544C55534552
leaq 0x8(%rsp), %r12
movq %rax, (%r12)
movb $0x0, 0x8(%r12)
callq 0x31e2
movq %rsp, %r15
movq %rax, (%r15)
leaq 0x30(%rbx), %r14
movl $0x8, %edx
movq %r14, %rdi
movq %r12, %rsi
callq 0x2150
movq 0x20(%rbx), %rsi
movl $0x8, %edx
movq %r14, %rdi
callq 0x2150
movq 0x28(%rbx), %rsi
movl $0x8, %edx
movq %r14, %rdi
callq 0x2150
movl $0x8, %edx
movq %r14, %rdi
movq %r15, %rsi
callq 0x2150
movq 0x28(%rbx), %rsi
addq $0x8, %rsi
movl $0x8, %edx
movq %r14, %rdi
callq 0x2150
movq 0x28(%rbx), %rsi
addq $0x10, %rsi
movl $0x8, %edx
movq %r14, %rdi
callq 0x2150
movq 0x28(%rbx), %rsi
addq $0x18, %rsi
movl $0x8, %edx
movq %r14, %rdi
callq 0x2150
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/cfiutak1[P]HPyC-KD-Tree/./utils/filewriter/../../src/kdtree/KDTree.hpp
// Function: hpyc::KDTree<float>::nearestNeighborsSearch(float const*, unsigned long, unsigned long*, double*) const
void KDTree<ItemT>::nearestNeighborsSearch(const ItemT* query_point, const std::size_t num_neighbors, std::size_t* indices, double* distances) const {
    KNNQueue<ItemT> queue(query_point, num_neighbors, this->num_dimensions);

    this->nearestNeighborsSearch(query_point, 0, this->num_points, 0, queue);
        queue.sortArray();

    for (std::size_t i = num_neighbors; i > 0; --i) {
        indices[i - 1] = queue.array[i - 1].index;
        distances[i - 1] = queue.array[i - 1].distance_from_queried_point;
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %r8, %rbx
movq %rcx, %r14
movq %rdx, %r15
movq %rsi, 0x10(%rsp)
movq %rdi, %rbp
movq 0x18(%rdi), %r12
leaq 0x18(%rsp), %rax
movq %rsi, (%rax)
movq %rdx, 0x10(%rax)
movq %r12, 0x18(%rax)
movq $0x0, 0x20(%rax)
movq %rdx, %rax
shrq $0x3c, %rax
movq %rdx, %rcx
shlq $0x4, %rcx
xorl %r13d, %r13d
negq %rax
movl $0x0, %edi
sbbq %rdi, %rdi
movq %rcx, 0x8(%rsp)
orq %rcx, %rdi
callq 0x2030
leaq 0x18(%rsp), %rcx
movq %rax, 0x28(%rcx)
movq %r12, %rax
shrq $0x3e, %rax
shlq $0x2, %r12
negq %rax
sbbq %r13, %r13
orq %r12, %r13
movq %r13, %rdi
callq 0x2030
leaq 0x18(%rsp), %r9
movq %rax, 0x8(%r9)
movq 0x10(%rbp), %rcx
movq %rbp, %rdi
movq 0x10(%rsp), %rsi
xorl %edx, %edx
xorl %r8d, %r8d
callq 0x41a4
movq 0x28(%rsp), %r12
testq %r12, %r12
je 0x2ec1
movq 0x40(%rsp), %r13
bsrq %r12, %rdx
shlq $0x4, %r12
addq %r13, %r12
xorl $0x3f, %edx
addl %edx, %edx
xorq $0x7e, %rdx
movq %r13, %rdi
movq %r12, %rsi
callq 0x4834
movq %r13, %rdi
movq %r12, %rsi
callq 0x493e
testq %r15, %r15
je 0x2efb
movq 0x40(%rsp), %rax
movq 0x8(%rsp), %rcx
addq %rcx, %rax
addq $-0x8, %rax
movq -0x8(%rax), %rcx
movq %rcx, -0x8(%r14,%r15,8)
movsd (%rax), %xmm0
movsd %xmm0, -0x8(%rbx,%r15,8)
leaq -0x1(%r15), %rcx
addq $-0x10, %rax
movq %rcx, %r15
testq %rcx, %rcx
jne 0x2ed7
movq 0x20(%rsp), %rdi
testq %rdi, %rdi
je 0x2f0a
callq 0x2140
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0x20(%rsp), %rdi
testq %rdi, %rdi
je 0x2f2b
callq 0x2140
movq %rbx, %rdi
callq 0x21a0
nop
// File: /workspace/github_cpp_makefile_star2_O3/cfiutak1[P]HPyC-KD-Tree/./utils/filewriter/ResultsFileWriter.hpp
// Function: void ResultsFileWriter::writeQueryResults<float>(hpyc::KDTree<float>&, unsigned long*)
void writeQueryResults(hpyc::KDTree<ItemT>& tree, std::size_t* indices) {
        ItemT* point_to_write = new ItemT[this->query_file_data->num_dimensions];

        for (std::size_t i = 0; i < this->query_file_data->num_neighbors; i++) {
            tree.readPointAt(point_to_write, indices[i]);

            this->results_file.write(
                reinterpret_cast<char*>(&(point_to_write)),
                sizeof(ItemT) * this->query_file_data->num_dimensions
            );
        }

        delete[] point_to_write;
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdx, 0x10(%rsp)
movq %rsi, %r14
movq %rdi, %r15
movq 0x28(%rdi), %rbp
movq 0x10(%rbp), %rax
movq %rax, %rcx
shrq $0x3e, %rcx
shlq $0x2, %rax
xorl %edi, %edi
negq %rcx
sbbq %rdi, %rdi
orq %rax, %rdi
callq 0x2030
movq %rax, 0x8(%rsp)
cmpq $0x0, 0x18(%rbp)
je 0x2fe5
leaq 0x30(%r15), %r12
xorl %ebx, %ebx
leaq 0x8(%rsp), %r13
movq 0x18(%r14), %rax
testq %rax, %rax
je 0x2fbb
movq 0x8(%rsp), %rcx
movq 0x10(%rsp), %rdx
movq (%rdx,%rbx,8), %rdx
movq 0x8(%r14), %rsi
xorl %edi, %edi
movq (%rsi,%rdi,8), %r8
movss (%r8,%rdx,4), %xmm0
movss %xmm0, (%rcx,%rdi,4)
incq %rdi
cmpq %rdi, %rax
jne 0x2fa4
movq 0x10(%rbp), %rdx
shlq $0x2, %rdx
movq %r12, %rdi
movq %r13, %rsi
callq 0x2150
incq %rbx
movq 0x28(%r15), %rbp
cmpq 0x18(%rbp), %rbx
jb 0x2f87
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0x2fed
movq %rax, %rdi
callq 0x2140
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/cfiutak1[P]HPyC-KD-Tree/./utils/filewriter/ResultsFileWriter.hpp
// Function: ResultsFileWriter::generateFileID()
std::size_t generateFileID() {
        std::ifstream urandom("/dev/urandom", std::ios::in|std::ios::binary);
        std::size_t rand = 0;

        if (urandom) {
            urandom.read(reinterpret_cast<char*>(&rand), 8);
            urandom.close();
        }

        return 69;
//        return rand;
    }

// Assembly:
pushq %rbx
subq $0x210, %rsp            # imm = 0x210
leaq 0x1ef2(%rip), %rsi      # 0x50e3
leaq 0x8(%rsp), %rbx
movq %rbx, %rdi
movl $0xc, %edx
callq 0x21c0
movq $0x0, (%rsp)
movq (%rbx), %rax
movq -0x18(%rax), %rax
testb $0x5, 0x28(%rsp,%rax)
jne 0x3235
leaq 0x8(%rsp), %rdi
movq %rsp, %rsi
movl $0x8, %edx
callq 0x2130
leaq 0x8(%rsp), %rdi
callq 0x2050
leaq 0x8(%rsp), %rdi
callq 0x2060
movl $0x45, %eax
addq $0x210, %rsp            # imm = 0x210
popq %rbx
retq
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x2060
movq %rbx, %rdi
callq 0x21a0
// File: /workspace/github_cpp_makefile_star2_O3/cfiutak1[P]HPyC-KD-Tree/./utils/filewriter/../../src/kdtree/KNNQueue.hpp
// Function: hpyc::KNNQueue<float>::registerAsNeighbor(unsigned long)
void KNNQueue<ItemT>::registerAsNeighbor(std::size_t index) {
    double distance_from_query = distanceBetween(this->query_point, this->potential_neighbor, this->num_dimensions);

    this->array[current_size].index = index;
    this->array[this->current_size].distance_from_queried_point = distance_from_query;

    // Swap the new neighbor with the neighbor at i=0 if its distance from the query point is greater.
    std::swap(
        this->array[0],
        this->array[this->current_size & (0 - (this->array[0].distance_from_queried_point < this->array[current_size].distance_from_queried_point))]
    );

    ++this->current_size;
}

// Assembly:
movq 0x18(%rdi), %rax
testq %rax, %rax
je 0x4547
movq (%rdi), %rcx
movq 0x8(%rdi), %rdx
xorpd %xmm0, %xmm0
xorl %r8d, %r8d
movss (%rdx,%r8,4), %xmm1
subss (%rcx,%r8,4), %xmm1
cvtss2sd %xmm1, %xmm1
mulsd %xmm1, %xmm1
addsd %xmm1, %xmm0
incq %r8
cmpq %r8, %rax
jne 0x4525
jmp 0x454b
xorpd %xmm0, %xmm0
movq 0x20(%rdi), %rax
movq 0x28(%rdi), %rcx
movq %rax, %rdx
shlq $0x4, %rdx
movq %rsi, (%rcx,%rdx)
movsd %xmm0, 0x8(%rcx,%rdx)
xorl %edx, %edx
ucomisd 0x8(%rcx), %xmm0
cmovaq %rax, %rdx
shlq $0x4, %rdx
movups (%rcx), %xmm0
movaps %xmm0, -0x18(%rsp)
movups (%rcx,%rdx), %xmm0
movups %xmm0, (%rcx)
movaps -0x18(%rsp), %xmm0
movups %xmm0, (%rcx,%rdx)
incq 0x20(%rdi)
retq
// File: /workspace/github_cpp_makefile_star2_O3/cfiutak1[P]HPyC-KD-Tree/./utils/filewriter/../../src/kdtree/KNNQueue.hpp
// Function: hpyc::KNNQueue<float>::registerAsNeighborIfCloser(unsigned long)
void KNNQueue<ItemT>::registerAsNeighborIfCloser(std::size_t index) {
    // If the priority queue is at capacity and the potential neighbor is closer to the query point than the current
    // furthest neighbor, remove the furthest neighbor from the priority queue and push the potential neighbor.
    double distance_from_query = distanceBetween(this->query_point, this->potential_neighbor, this->num_dimensions);

    if (this->closerThanFarthestNeighbor(distance_from_query)) {
        this->array[0].index = index;
        this->array[0].distance_from_queried_point = distance_from_query;

        this->siftDownRoot();
    }
}

// Assembly:
movq 0x18(%rdi), %rax
testq %rax, %rax
je 0x45c9
movq (%rdi), %rcx
movq 0x8(%rdi), %rdx
xorpd %xmm0, %xmm0
xorl %r8d, %r8d
movss (%rdx,%r8,4), %xmm1
subss (%rcx,%r8,4), %xmm1
cvtss2sd %xmm1, %xmm1
mulsd %xmm1, %xmm1
addsd %xmm1, %xmm0
incq %r8
cmpq %r8, %rax
jne 0x45a7
jmp 0x45cd
xorpd %xmm0, %xmm0
movq 0x28(%rdi), %rax
movsd 0x8(%rax), %xmm1
ucomisd %xmm0, %xmm1
jbe 0x45e9
movq %rsi, (%rax)
movsd %xmm0, 0x8(%rax)
jmp 0x4738
retq
// File: /workspace/github_cpp_makefile_star2_O3/cfiutak1[P]HPyC-KD-Tree/./utils/filewriter/../../src/kdtree/KNNQueue.hpp
// Function: hpyc::KNNQueue<float>::siftDownRoot()
void KNNQueue<ItemT>::siftDownRoot() {
    std::size_t index = 0;
    std::size_t first_index_without_both_children = this->current_size / 2 - (this->current_size % 2 == 0);

    while (index < first_index_without_both_children) {
        std::size_t left_child = 2 * index + 1;
        std::size_t larger_child = left_child + (this->array[left_child] < this->array[left_child + 1]);
        std::size_t swap_destination = index + ((larger_child - index) & (0 - (this->array[index] < this->array[larger_child])));

        if (index == swap_destination) { return; }

        std::swap(
            this->array[index],
            this->array[swap_destination]
        );

        index = swap_destination;
    }

    // Special case for when the index only has one child.
    if (index == first_index_without_both_children && (this->current_size % 2 == 0)) {
        std::size_t left_child = 2 * index + 1;
        std::size_t swap_destination = index + ((left_child - index) & (0 - (this->array[index] < this->array[left_child])));

        std::swap(
            this->array[index],
            this->array[swap_destination]
        );
    }
}

// Assembly:
movq 0x20(%rdi), %rax
movl %eax, %ecx
notl %ecx
shrq %rax
andl $0x1, %ecx
subq %rcx, %rax
jne 0x4752
xorl %edx, %edx
jmp 0x47e0
xorl %esi, %esi
leaq 0x1(,%rsi,2), %rdx
movq 0x28(%rdi), %rcx
movq %rsi, %r8
shlq $0x5, %r8
shlq $0x4, %rdx
movsd 0x28(%rcx,%r8), %xmm0
xorl %r8d, %r8d
ucomisd 0x8(%rcx,%rdx), %xmm0
seta %r8b
leaq (%r8,%rsi,2), %rdx
incq %rdx
movq %rsi, %r8
shlq $0x4, %r8
movq %rdx, %r9
shlq $0x4, %r9
movsd 0x8(%rcx,%r9), %xmm0
ucomisd 0x8(%rcx,%r8), %xmm0
ja 0x47a7
movq %rsi, %rdx
cmpq %rdx, %rsi
je 0x4833
addq %rcx, %r8
movq %rdx, %rsi
shlq $0x4, %rsi
movups (%r8), %xmm0
movaps %xmm0, -0x18(%rsp)
movups (%rcx,%rsi), %xmm0
movups %xmm0, (%r8)
movaps -0x18(%rsp), %xmm0
movups %xmm0, (%rcx,%rsi)
movq %rdx, %rsi
cmpq %rax, %rdx
jb 0x4754
cmpq %rax, %rdx
jne 0x4833
testb $0x1, 0x20(%rdi)
jne 0x4833
leaq 0x1(,%rax,2), %rcx
movq 0x28(%rdi), %rdx
movq %rax, %rsi
shlq $0x4, %rsi
movq %rcx, %rdi
shlq $0x4, %rdi
movsd 0x8(%rdx,%rdi), %xmm0
ucomisd 0x8(%rdx,%rsi), %xmm0
cmovaq %rcx, %rax
shlq $0x4, %rax
movups (%rdx,%rsi), %xmm0
movaps %xmm0, -0x18(%rsp)
movups (%rdx,%rax), %xmm0
movups %xmm0, (%rdx,%rsi)
movaps -0x18(%rsp), %xmm0
movups %xmm0, (%rdx,%rax)
retq
// File: /workspace/github_cpp_makefile_star2_O3/kelwinfc[P]ci4721-Fernandez-Gyomrey/src/token.cpp
// Function: tokenBoolean::tokenBoolean(int, int, char*)
tokenBoolean::tokenBoolean(int l, int c, char* val){
    line = l;
    column = c;
    
    if ( strcmp(val,"true") == 0 ){
        value = true;
    } else {
        value = false;
    }
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movl %esi, (%rdi)
movl %edx, 0x4(%rdi)
leaq 0x263b4(%rip), %rsi     # 0x2d004
movq %rcx, %rdi
callq 0x6410
testl %eax, %eax
sete 0x8(%rbx)
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O3/kelwinfc[P]ci4721-Fernandez-Gyomrey/src/token.cpp
// Function: tokenConstant::tokenConstant(int, int, char*, int)
tokenConstant::tokenConstant(int l, int c, char* id, int t){
    line = l;
    column = c;
    
    ident = string(id);
    type = t;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x28, %rsp
movl %r8d, %ebx
movq %rdi, %r14
leaq 0x8(%rdi), %r15
leaq 0x18(%rdi), %r12
movq %r12, 0x8(%rdi)
movq $0x0, 0x10(%rdi)
movb $0x0, 0x18(%rdi)
movl %esi, (%rdi)
movl %edx, 0x4(%rdi)
leaq 0x8(%rsp), %rdi
leaq 0x7(%rsp), %rdx
movq %rcx, %rsi
callq 0x6fca
leaq 0x8(%rsp), %r12
movq %r15, %rdi
movq %r12, %rsi
callq 0x63d0
movq (%r12), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x6f9b
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x6300
movl %ebx, 0x28(%r14)
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %rbx
movq (%r15), %rdi
cmpq %r12, %rdi
je 0x6fc2
movq (%r12), %rsi
incq %rsi
callq 0x6300
movq %rbx, %rdi
callq 0x6560
// File: /workspace/github_cpp_makefile_star2_O3/kelwinfc[P]ci4721-Fernandez-Gyomrey/src/AST/dump.cpp
// Function: AST_variable_declaration::dump(std::ostream&, int)
void AST_variable_declaration::dump(ostream &strm, int indentation){
    
    AST_declaration::dump(strm, indentation);
    
    strm << "Declaration: " << sym->getName()
         << " ("
         << types.types[ sym->getType() ]->name
         << ") [offset "
         << sym->offset
         << "] ";
    
    if ( value != 0 ){
        strm << "initialized with" << endl;
        value->dump(strm, indentation+1);
    } else {
        strm << "unitialized" << endl;
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x28, %rsp
movl %edx, %ebp
movq %rsi, %rbx
movq %rdi, %r14
callq 0x7230
leaq 0x261e7(%rip), %rsi     # 0x2d493
movl $0xd, %edx
movq %rbx, %rdi
callq 0x6370
movq 0x98(%r14), %rsi
leaq 0x8(%rsp), %r15
movq %r15, %rdi
callq 0x17ff4
movq (%r15), %rsi
movq 0x8(%r15), %rdx
movq %rbx, %rdi
callq 0x6370
movq %rax, %r15
leaq 0x26209(%rip), %rsi     # 0x2d4ef
movl $0x2, %edx
movq %rax, %rdi
callq 0x6370
movq 0x98(%r14), %rdi
callq 0x1801a
cltq
leaq 0x38108(%rip), %rcx     # 0x3f410
movq (%rcx), %rcx
movq (%rcx,%rax,8), %rax
movq 0x8(%rax), %rsi
movq 0x10(%rax), %rdx
movq %r15, %rdi
callq 0x6370
movq %rax, %r15
leaq 0x26178(%rip), %rsi     # 0x2d4a1
movl $0xa, %edx
movq %rax, %rdi
callq 0x6370
movq 0x98(%r14), %rax
movl 0x34(%rax), %esi
movq %r15, %rdi
callq 0x61f0
leaq 0x2615d(%rip), %rsi     # 0x2d4ac
movl $0x2, %edx
movq %rax, %rdi
callq 0x6370
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x7377
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x6300
cmpq $0x0, 0xa0(%r14)
je 0x73d1
leaq 0x26127(%rip), %rsi     # 0x2d4af
movl $0x10, %edx
movq %rbx, %rdi
callq 0x6370
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x62c0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x6040
movq %rax, %rdi
callq 0x6200
movq 0xa0(%r14), %rdi
incl %ebp
movq (%rdi), %rax
movq %rbx, %rsi
movl %ebp, %edx
callq *(%rax)
jmp 0x740c
leaq 0x260e8(%rip), %rsi     # 0x2d4c0
movl $0xb, %edx
movq %rbx, %rdi
callq 0x6370
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x62c0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x6040
movq %rax, %rdi
callq 0x6200
addq $0x28, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x7435
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x6300
movq %rbx, %rdi
callq 0x6560
nop
// File: /workspace/github_cpp_makefile_star2_O3/kelwinfc[P]ci4721-Fernandez-Gyomrey/src/AST/dump.cpp
// Function: AST_discrete_arg_list::dump(std::ostream&, int)
void AST_discrete_arg_list::dump(ostream &strm, int indentation){  
    vector<symbol*>::iterator it;
    vector<pair<int,int> >::iterator it_boundaries;
    
    it_boundaries = boundaries.begin();
    for ( it = args.begin(); it != args.end(); ++it_boundaries){
        strm << setw(3) << (*it)->getLine() << ": ";
        dump_indentation(strm, indentation);

        strm << types.types[(*it)->getType()]->name << "(";
        strm << (*it)->getName();
        strm << ") in [" << (*it_boundaries).first << ", "
             << (*it_boundaries).second << "]";
        
        if ( ++it != args.end() ){
            strm << ",";
        }
        
        strm << endl;
        
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movl %edx, 0x4(%rsp)
movq 0x10(%rdi), %rbp
cmpq 0x18(%rdi), %rbp
je 0x79f7
movq %rsi, %r14
movq %rdi, %r15
movq 0x28(%rdi), %rbx
leaq 0x27ed2(%rip), %r13     # 0x2f751
movq (%r14), %rax
movq -0x18(%rax), %rax
movq $0x3, 0x10(%r14,%rax)
movq (%rbp), %rdi
callq 0x1801e
movq %r14, %rdi
movl %eax, %esi
callq 0x6540
movl $0x2, %edx
movq %rax, %rdi
leaq 0x25e06(%rip), %rsi     # 0x2d6b7
callq 0x6370
cmpl $0x0, 0x4(%rsp)
jle 0x78d7
movl 0x4(%rsp), %r12d
movl $0x4, %edx
movq %r14, %rdi
movq %r13, %rsi
callq 0x6370
decl %r12d
jne 0x78c2
movq (%rbp), %rdi
callq 0x1801a
cltq
leaq 0x37b27(%rip), %rcx     # 0x3f410
movq (%rcx), %rcx
movq (%rcx,%rax,8), %rax
movq 0x8(%rax), %rsi
movq 0x10(%rax), %rdx
movq %r14, %rdi
callq 0x6370
movl $0x1, %edx
movq %rax, %rdi
leaq 0x25be1(%rip), %rsi     # 0x2d4f0
callq 0x6370
movq (%rbp), %rsi
leaq 0x8(%rsp), %rdi
callq 0x17ff4
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %r14, %rdi
callq 0x6370
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x7950
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x6300
movl $0x6, %edx
movq %r14, %rdi
leaq 0x25b9b(%rip), %rsi     # 0x2d4fa
callq 0x6370
movl (%rbx), %esi
movq %r14, %rdi
callq 0x6540
movq %rax, %r12
movl $0x2, %edx
movq %rax, %rdi
leaq 0x260c6(%rip), %rsi     # 0x2da46
callq 0x6370
movl 0x4(%rbx), %esi
movq %r12, %rdi
callq 0x6540
movl $0x1, %edx
movq %rax, %rdi
leaq 0x2569e(%rip), %rsi     # 0x2d03d
callq 0x6370
addq $0x8, %rbp
cmpq 0x18(%r15), %rbp
je 0x79c2
movl $0x1, %edx
movq %r14, %rdi
leaq 0x25cd5(%rip), %rsi     # 0x2d692
callq 0x6370
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x62c0
movsbl %al, %esi
movq %r14, %rdi
callq 0x6040
movq %rax, %rdi
callq 0x6200
addq $0x8, %rbx
cmpq 0x18(%r15), %rbp
jne 0x787f
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x7a25
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x6300
movq %rbx, %rdi
callq 0x6560
nop
// File: /workspace/github_cpp_makefile_star2_O3/kelwinfc[P]ci4721-Fernandez-Gyomrey/src/AST/dump.cpp
// Function: AST_block::dump(std::ostream&, int)
void AST_block::dump(ostream &strm, int indentation){
    
    strm << setw(3) << line << ": ";
    dump_indentation(strm, indentation);
    strm << "{" << endl;
    
    vector<AST_statement*>::iterator it;
    for (it = statements.begin(); it != statements.end(); ++ it){
        (*it)->dump(strm, indentation+1);
    }
    
    strm << setw(3) << (statements.size() ? statements.back()->line : line) << ": ";
    dump_indentation(strm, indentation);
    strm << "}" << endl;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl %edx, %r14d
movq %rsi, %rbx
movq %rdi, %r15
movq (%rsi), %rax
movq -0x18(%rax), %rax
movq $0x3, 0x10(%rsi,%rax)
movl 0x8(%rdi), %esi
movq %rbx, %rdi
callq 0x6540
leaq 0x25c54(%rip), %rsi     # 0x2d6b7
movl $0x2, %edx
movq %rax, %rdi
callq 0x6370
testl %r14d, %r14d
jle 0x7a93
leaq 0x27cd5(%rip), %r12     # 0x2f751
movl %r14d, %ebp
movl $0x4, %edx
movq %rbx, %rdi
movq %r12, %rsi
callq 0x6370
decl %ebp
jne 0x7a7f
leaq 0x25a67(%rip), %rsi     # 0x2d501
movl $0x1, %edx
movq %rbx, %rdi
callq 0x6370
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x62c0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x6040
movq %rax, %rdi
callq 0x6200
movq 0x80(%r15), %r12
movq 0x88(%r15), %rax
cmpq %rax, %r12
je 0x7b0a
leal 0x1(%r14), %ebp
movq (%r12), %rdi
movq (%rdi), %rax
movq %rbx, %rsi
movl %ebp, %edx
callq *(%rax)
addq $0x8, %r12
movq 0x88(%r15), %rax
cmpq %rax, %r12
jne 0x7ae5
movq 0x80(%r15), %r12
movq (%rbx), %rcx
movq -0x18(%rcx), %rcx
movq $0x3, 0x10(%rbx,%rcx)
cmpq %r12, %rax
je 0x7b23
movq -0x8(%rax), %r15
addq $0x8, %r15
movl (%r15), %esi
movq %rbx, %rdi
callq 0x6540
leaq 0x25b7e(%rip), %rsi     # 0x2d6b7
movl $0x2, %edx
movq %rax, %rdi
callq 0x6370
testl %r14d, %r14d
jle 0x7b67
leaq 0x27bff(%rip), %r15     # 0x2f751
movl $0x4, %edx
movq %rbx, %rdi
movq %r15, %rsi
callq 0x6370
decl %r14d
jne 0x7b52
leaq 0x25995(%rip), %rsi     # 0x2d503
movl $0x1, %edx
movq %rbx, %rdi
callq 0x6370
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x62c0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x6040
movq %rax, %rdi
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0x6200
// File: /workspace/github_cpp_makefile_star2_O3/kelwinfc[P]ci4721-Fernandez-Gyomrey/src/AST/dump.cpp
// Function: AST_rlval::dump(std::ostream&, int)
void AST_rlval::dump(ostream &strm, int indentation){
    strm << setw(3) << line << ": ";
    dump_indentation(strm, indentation);
    strm << "R-L-Value:" << endl;
    value->dump(strm, indentation+1);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl %edx, %ebx
movq %rsi, %r14
movq %rdi, %r15
movq (%rsi), %rax
movq -0x18(%rax), %rax
movq $0x3, 0x10(%rsi,%rax)
movl 0x8(%rdi), %esi
movq %r14, %rdi
callq 0x6540
leaq 0x25a0b(%rip), %rsi     # 0x2d6b7
movl $0x2, %edx
movq %rax, %rdi
callq 0x6370
testl %ebx, %ebx
jle 0x7cda
leaq 0x27a8d(%rip), %r12     # 0x2f751
movl %ebx, %ebp
movl $0x4, %edx
movq %r14, %rdi
movq %r12, %rsi
callq 0x6370
decl %ebp
jne 0x7cc6
leaq 0x25837(%rip), %rsi     # 0x2d518
movl $0xa, %edx
movq %r14, %rdi
callq 0x6370
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x62c0
movsbl %al, %esi
movq %r14, %rdi
callq 0x6040
movq %rax, %rdi
callq 0x6200
movq 0x48(%r15), %rdi
incl %ebx
movq (%rdi), %rax
movq (%rax), %rax
movq %r14, %rsi
movl %ebx, %edx
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmpq *%rax
// File: /workspace/github_cpp_makefile_star2_O3/kelwinfc[P]ci4721-Fernandez-Gyomrey/src/AST/dump.cpp
// Function: AST_dereference::dump(std::ostream&, int)
void AST_dereference::dump(ostream &strm, int indentation){
    strm << setw(3) << line << ": ";
    dump_indentation(strm, indentation);
    strm << "Dereference [" << types.types[type]->name << "]" << endl;
    value->dump(strm, indentation+1);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl %edx, %ebx
movq %rsi, %r14
movq %rdi, %r15
movq (%rsi), %rax
movq -0x18(%rax), %rax
movq $0x3, 0x10(%rsi,%rax)
movl 0x8(%rdi), %esi
movq %r14, %rdi
callq 0x6540
leaq 0x25955(%rip), %rsi     # 0x2d6b7
movl $0x2, %edx
movq %rax, %rdi
callq 0x6370
testl %ebx, %ebx
jle 0x7d90
leaq 0x279d7(%rip), %r12     # 0x2f751
movl %ebx, %ebp
movl $0x4, %edx
movq %r14, %rdi
movq %r12, %rsi
callq 0x6370
decl %ebp
jne 0x7d7c
leaq 0x2578c(%rip), %rsi     # 0x2d523
movl $0xd, %edx
movq %r14, %rdi
callq 0x6370
movslq 0x10(%r15), %rax
leaq 0x37661(%rip), %rcx     # 0x3f410
movq (%rcx), %rcx
movq (%rcx,%rax,8), %rax
movq 0x8(%rax), %rsi
movq 0x10(%rax), %rdx
movq %r14, %rdi
callq 0x6370
movq %rax, %r12
leaq 0x2526d(%rip), %rsi     # 0x2d03d
movl $0x1, %edx
movq %rax, %rdi
callq 0x6370
movq (%r12), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x62c0
movsbl %al, %esi
movq %r12, %rdi
callq 0x6040
movq %rax, %rdi
callq 0x6200
movq 0x48(%r15), %rdi
incl %ebx
movq (%rdi), %rax
movq (%rax), %rax
movq %r14, %rsi
movl %ebx, %edx
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmpq *%rax
// File: /workspace/github_cpp_makefile_star2_O3/kelwinfc[P]ci4721-Fernandez-Gyomrey/src/AST/dump.cpp
// Function: AST_address::dump(std::ostream&, int)
void AST_address::dump(ostream &strm, int indentation){
    strm << setw(3) << line << ": ";
    dump_indentation(strm, indentation);
    strm << "Pointer to:" << endl;
    value->dump(strm, indentation+1);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl %edx, %ebx
movq %rsi, %r14
movq %rdi, %r15
movq (%rsi), %rax
movq -0x18(%rax), %rax
movq $0x3, 0x10(%rsi,%rax)
movl 0x8(%rdi), %esi
movq %r14, %rdi
callq 0x6540
leaq 0x25865(%rip), %rsi     # 0x2d6b7
movl $0x2, %edx
movq %rax, %rdi
callq 0x6370
testl %ebx, %ebx
jle 0x7e80
leaq 0x278e7(%rip), %r12     # 0x2f751
movl %ebx, %ebp
movl $0x4, %edx
movq %r14, %rdi
movq %r12, %rsi
callq 0x6370
decl %ebp
jne 0x7e6c
leaq 0x256aa(%rip), %rsi     # 0x2d531
movl $0xb, %edx
movq %r14, %rdi
callq 0x6370
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x62c0
movsbl %al, %esi
movq %r14, %rdi
callq 0x6040
movq %rax, %rdi
callq 0x6200
movq 0x48(%r15), %rdi
incl %ebx
movq (%rdi), %rax
movq (%rax), %rax
movq %r14, %rsi
movl %ebx, %edx
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmpq *%rax
// File: /workspace/github_cpp_makefile_star2_O3/kelwinfc[P]ci4721-Fernandez-Gyomrey/src/AST/dump.cpp
// Function: AST_array_access::dump(std::ostream&, int)
void AST_array_access::dump(ostream &strm, int indentation){
    
    strm << setw(3) << line << ": ";
    dump_indentation(strm, indentation);
    
    if (index == 0){
        strm << "Error in array access" << endl;
        return;
    }
    
    strm << "Get: [" << types.types[type]->name << "]" << endl;
    
    // si hay un error, no habr�a �ndice
    if (0 != index) {
        index->dump(strm, indentation+1);
    }
    
    strm << setw(3) << line << ": ";
    dump_indentation(strm, indentation);
    strm << "From:" << endl;
    
    value->dump(strm, indentation+1);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl %edx, %r14d
movq %rsi, %rbx
movq %rdi, %r15
movq (%rsi), %rax
movq -0x18(%rax), %rax
movq $0x3, 0x10(%rsi,%rax)
movl 0x8(%rdi), %esi
movq %rbx, %rdi
callq 0x6540
leaq 0x257ae(%rip), %rsi     # 0x2d6b7
movl $0x2, %edx
movq %rax, %rdi
callq 0x6370
testl %r14d, %r14d
jle 0x7f39
leaq 0x2782f(%rip), %r12     # 0x2f751
movl %r14d, %ebp
movl $0x4, %edx
movq %rbx, %rdi
movq %r12, %rsi
callq 0x6370
decl %ebp
jne 0x7f25
cmpq $0x0, 0x50(%r15)
je 0x8079
leaq 0x25608(%rip), %rsi     # 0x2d553
movl $0x6, %edx
movq %rbx, %rdi
callq 0x6370
movslq 0x10(%r15), %rax
leaq 0x374ad(%rip), %rcx     # 0x3f410
movq (%rcx), %rcx
movq (%rcx,%rax,8), %rax
movq 0x8(%rax), %rsi
movq 0x10(%rax), %rdx
movq %rbx, %rdi
callq 0x6370
movq %rax, %r12
leaq 0x250b9(%rip), %rsi     # 0x2d03d
movl $0x1, %edx
movq %rax, %rdi
callq 0x6370
movq (%r12), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x62c0
movsbl %al, %esi
movq %r12, %rdi
callq 0x6040
movq %rax, %rdi
callq 0x6200
movq 0x50(%r15), %rdi
testq %rdi, %rdi
je 0x7fce
leal 0x1(%r14), %edx
movq (%rdi), %rax
movq %rbx, %rsi
callq *(%rax)
movq (%rbx), %rax
movq -0x18(%rax), %rax
movq $0x3, 0x10(%rbx,%rax)
movl 0x8(%r15), %esi
movq %rbx, %rdi
callq 0x6540
leaq 0x256c6(%rip), %rsi     # 0x2d6b7
movl $0x2, %edx
movq %rax, %rdi
callq 0x6370
testl %r14d, %r14d
jle 0x8021
leaq 0x27747(%rip), %r12     # 0x2f751
movl %r14d, %ebp
movl $0x4, %edx
movq %rbx, %rdi
movq %r12, %rsi
callq 0x6370
decl %ebp
jne 0x800d
leaq 0x25532(%rip), %rsi     # 0x2d55a
movl $0x5, %edx
movq %rbx, %rdi
callq 0x6370
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x62c0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x6040
movq %rax, %rdi
callq 0x6200
movq 0x48(%r15), %rdi
incl %r14d
movq (%rdi), %rax
movq (%rax), %rax
movq %rbx, %rsi
movl %r14d, %edx
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmpq *%rax
leaq 0x254bd(%rip), %rsi     # 0x2d53d
movl $0x15, %edx
movq %rbx, %rdi
callq 0x6370
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x62c0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x6040
movq %rax, %rdi
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0x6200
// File: /workspace/github_cpp_makefile_star2_O3/kelwinfc[P]ci4721-Fernandez-Gyomrey/src/AST/dump.cpp
// Function: AST_struct_access::dump(std::ostream&, int)
void AST_struct_access::dump(ostream &strm, int indentation){
    strm << setw(3) << line << ": ";
    dump_indentation(strm, indentation);
    strm << "Get " << field << "[" << types.types[type]->name << "] ";
    strm << "from:" << endl;
    
    value->dump(strm, indentation+1);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl %edx, %ebx
movq %rsi, %r14
movq %rdi, %r15
movq (%rsi), %rax
movq -0x18(%rax), %rax
movq $0x3, 0x10(%rsi,%rax)
movl 0x8(%rdi), %esi
movq %r14, %rdi
callq 0x6540
leaq 0x255c9(%rip), %rsi     # 0x2d6b7
movl $0x2, %edx
movq %rax, %rdi
callq 0x6370
testl %ebx, %ebx
jle 0x811c
leaq 0x2764b(%rip), %r12     # 0x2f751
movl %ebx, %ebp
movl $0x4, %edx
movq %r14, %rdi
movq %r12, %rsi
callq 0x6370
decl %ebp
jne 0x8108
leaq 0x2543d(%rip), %rsi     # 0x2d560
movl $0x4, %edx
movq %r14, %rdi
callq 0x6370
movq 0x50(%r15), %rsi
movq 0x58(%r15), %rdx
movq %r14, %rdi
callq 0x6370
movq %rax, %r12
leaq 0x2540e(%rip), %rsi     # 0x2d558
movl $0x1, %edx
movq %rax, %rdi
callq 0x6370
movslq 0x10(%r15), %rax
leaq 0x372ae(%rip), %rcx     # 0x3f410
movq (%rcx), %rcx
movq (%rcx,%rax,8), %rax
movq 0x8(%rax), %rsi
movq 0x10(%rax), %rdx
movq %r12, %rdi
callq 0x6370
leaq 0x2532c(%rip), %rsi     # 0x2d4ac
movl $0x2, %edx
movq %rax, %rdi
callq 0x6370
leaq 0x253d1(%rip), %rsi     # 0x2d565
movl $0x5, %edx
movq %r14, %rdi
callq 0x6370
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x62c0
movsbl %al, %esi
movq %r14, %rdi
callq 0x6040
movq %rax, %rdi
callq 0x6200
movq 0x48(%r15), %rdi
incl %ebx
movq (%rdi), %rax
movq (%rax), %rax
movq %r14, %rsi
movl %ebx, %edx
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmpq *%rax
nop
// File: /workspace/github_cpp_makefile_star2_O3/kelwinfc[P]ci4721-Fernandez-Gyomrey/src/AST/dump.cpp
// Function: AST_op::binary_operator[abi:cxx11]()
string AST_op::binary_operator(){
    switch ( oper_type ){
        case PLUS:
            return "+";
        case MINUS:
            return "-";
        case PROD:
            return "*";
        case DIV:
            return "/";
        case MOD:
            return "%";
        case AND:
            return "&&";
        case OR:
            return "||";
        case IMP:
            return "==>";
        case CONSEQ:
            return "<==";
        case EQ:
            return "==";
        case UNEQ:
            return "!=";
        case LESS:
            return "<";
        case LESS_EQ:
            return "<=";
        case GREAT:
            return ">";
        case GREAT_EQ:
            return ">=";
    }
    return "";
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movl 0x68(%rsi), %eax
leaq 0x10(%rdi), %rcx
movq %rcx, (%rdi)
cmpq $0xe, %rax
ja 0x8291
leaq 0x24e89(%rip), %rcx     # 0x2d08c
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x25358(%rip), %rsi     # 0x2d56b
leaq 0x25352(%rip), %rdx     # 0x2d56c
jmp 0x8321
leaq 0x25361(%rip), %rsi     # 0x2d587
leaq 0x2535c(%rip), %rdx     # 0x2d589
jmp 0x8321
leaq 0x25349(%rip), %rsi     # 0x2d582
leaq 0x25343(%rip), %rdx     # 0x2d583
jmp 0x8321
leaq 0x25323(%rip), %rsi     # 0x2d56f
leaq 0x2531d(%rip), %rdx     # 0x2d570
jmp 0x8321
leaq 0x25325(%rip), %rsi     # 0x2d584
leaq 0x25320(%rip), %rdx     # 0x2d586
jmp 0x8321
leaq 0x2530a(%rip), %rsi     # 0x2d57c
leaq 0x25305(%rip), %rdx     # 0x2d57e
jmp 0x8321
leaq 0x2745d(%rip), %rsi     # 0x2f6e2
leaq 0x27457(%rip), %rdx     # 0x2f6e3
jmp 0x8321
leaq 0x270ea(%rip), %rdx     # 0x2f382
movq %rbx, %rdi
movq %rdx, %rsi
jmp 0x8324
leaq 0x252c3(%rip), %rsi     # 0x2d56d
leaq 0x252bd(%rip), %rdx     # 0x2d56e
jmp 0x8321
leaq 0x252bd(%rip), %rsi     # 0x2d577
leaq 0x252b9(%rip), %rdx     # 0x2d57a
jmp 0x8321
leaq 0x2744f(%rip), %rsi     # 0x2f719
leaq 0x27449(%rip), %rdx     # 0x2f71a
jmp 0x8321
leaq 0x25297(%rip), %rsi     # 0x2d571
leaq 0x25292(%rip), %rdx     # 0x2d573
jmp 0x8321
leaq 0x27079(%rip), %rsi     # 0x2f363
leaq 0x27073(%rip), %rdx     # 0x2f364
jmp 0x8321
leaq 0x2527a(%rip), %rsi     # 0x2d574
leaq 0x25275(%rip), %rdx     # 0x2d576
jmp 0x8321
leaq 0x25275(%rip), %rsi     # 0x2d57f
leaq 0x25270(%rip), %rdx     # 0x2d581
jmp 0x8321
leaq 0x25261(%rip), %rsi     # 0x2d57b
leaq 0x2525d(%rip), %rdx     # 0x2d57e
movq %rbx, %rdi
callq 0x7008
movq %rbx, %rax
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O3/kelwinfc[P]ci4721-Fernandez-Gyomrey/src/AST/dump.cpp
// Function: AST_op::dump(std::ostream&, int)
void AST_op::dump(ostream &strm, int indentation){
    strm << setw(3) << line << ": ";
    dump_indentation(strm, indentation);
    strm << binary_operator() << " [" << types.types[type]->name << "]" << endl;
    
    left->dump(strm, indentation+1);
    right->dump(strm, indentation+1);
    
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x20, %rsp
movl %edx, %ebx
movq %rsi, %r14
movq %rdi, %r15
movq (%rsi), %rax
movq -0x18(%rax), %rax
movq $0x3, 0x10(%rsi,%rax)
movl 0x8(%rdi), %esi
movq %r14, %rdi
callq 0x6540
leaq 0x25353(%rip), %rsi     # 0x2d6b7
movl $0x2, %edx
movq %rax, %rdi
callq 0x6370
testl %ebx, %ebx
jle 0x8392
leaq 0x273d5(%rip), %r12     # 0x2f751
movl %ebx, %ebp
movl $0x4, %edx
movq %r14, %rdi
movq %r12, %rsi
callq 0x6370
decl %ebp
jne 0x837e
movq %rsp, %r12
movq %r12, %rdi
movq %r15, %rsi
callq 0x81e4
movq (%r12), %rsi
movq 0x8(%r12), %rdx
movq %r14, %rdi
callq 0x6370
movq %rax, %r12
leaq 0x2519c(%rip), %rsi     # 0x2d557
movl $0x2, %edx
movq %rax, %rdi
callq 0x6370
movslq 0x10(%r15), %rax
leaq 0x3703d(%rip), %rcx     # 0x3f410
movq (%rcx), %rcx
movq (%rcx,%rax,8), %rax
movq 0x8(%rax), %rsi
movq 0x10(%rax), %rdx
movq %r12, %rdi
callq 0x6370
movq %rax, %r12
leaq 0x24c49(%rip), %rsi     # 0x2d03d
movl $0x1, %edx
movq %rax, %rdi
callq 0x6370
movq (%r12), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x62c0
movsbl %al, %esi
movq %r12, %rdi
callq 0x6040
movq %rax, %rdi
callq 0x6200
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8444
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x6300
movq 0x58(%r15), %rdi
incl %ebx
movq (%rdi), %rax
movq %r14, %rsi
movl %ebx, %edx
callq *(%rax)
movq 0x60(%r15), %rdi
movq (%rdi), %rax
movq %r14, %rsi
movl %ebx, %edx
callq *(%rax)
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x848d
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x6300
movq %rbx, %rdi
callq 0x6560
nop
// File: /workspace/github_cpp_makefile_star2_O3/kelwinfc[P]ci4721-Fernandez-Gyomrey/src/AST/dump.cpp
// Function: AST_un_op::unary_operator[abi:cxx11]()
string AST_un_op::unary_operator(){
    
    switch ( oper_type ){
        case NOT:
            return "!";
        case NEG:
            return "-";
    }
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
leaq 0x10(%rdi), %rax
cmpl $0x1, 0x48(%rsi)
movq %rax, (%rdi)
jne 0x84b7
leaq 0x2a680(%rip), %rsi     # 0x32b2e
leaq 0x2a67a(%rip), %rdx     # 0x32b2f
jmp 0x84c5
leaq 0x2725b(%rip), %rsi     # 0x2f719
leaq 0x27255(%rip), %rdx     # 0x2f71a
movq %rbx, %rdi
callq 0x7008
movq %rbx, %rax
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O3/kelwinfc[P]ci4721-Fernandez-Gyomrey/src/AST/dump.cpp
// Function: AST_un_op::dump(std::ostream&, int)
void AST_un_op::dump(ostream &strm, int indentation){
    strm << setw(3) << line << ": ";
    dump_indentation(strm, indentation);
    strm << "Unary " << unary_operator()
         << " [" << types.types[type]->name << "]" << endl;
    
    expr->dump(strm, indentation+1);
    
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x20, %rsp
movl %edx, %ebx
movq %rsi, %r14
movq %rdi, %r15
movq (%rsi), %rax
movq -0x18(%rax), %rax
movq $0x3, 0x10(%rsi,%rax)
movl 0x8(%rdi), %esi
movq %r14, %rdi
callq 0x6540
leaq 0x251af(%rip), %rsi     # 0x2d6b7
movl $0x2, %edx
movq %rax, %rdi
callq 0x6370
testl %ebx, %ebx
jle 0x8536
leaq 0x27231(%rip), %r12     # 0x2f751
movl %ebx, %ebp
movl $0x4, %edx
movq %r14, %rdi
movq %r12, %rsi
callq 0x6370
decl %ebp
jne 0x8522
leaq 0x2504d(%rip), %rsi     # 0x2d58a
movl $0x6, %edx
movq %r14, %rdi
callq 0x6370
movq %rsp, %r12
movq %r12, %rdi
movq %r15, %rsi
callq 0x8496
movq (%r12), %rsi
movq 0x8(%r12), %rdx
movq %r14, %rdi
callq 0x6370
movq %rax, %r12
leaq 0x24fe4(%rip), %rsi     # 0x2d557
movl $0x2, %edx
movq %rax, %rdi
callq 0x6370
movslq 0x10(%r15), %rax
leaq 0x36e85(%rip), %rcx     # 0x3f410
movq (%rcx), %rcx
movq (%rcx,%rax,8), %rax
movq 0x8(%rax), %rsi
movq 0x10(%rax), %rdx
movq %r12, %rdi
callq 0x6370
movq %rax, %r12
leaq 0x24a91(%rip), %rsi     # 0x2d03d
movl $0x1, %edx
movq %rax, %rdi
callq 0x6370
movq (%r12), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x62c0
movsbl %al, %esi
movq %r12, %rdi
callq 0x6040
movq %rax, %rdi
callq 0x6200
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x85fc
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x6300
movq 0x50(%r15), %rdi
incl %ebx
movq (%rdi), %rax
movq %r14, %rsi
movl %ebx, %edx
callq *(%rax)
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8637
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x6300
movq %rbx, %rdi
callq 0x6560
nop
// File: /workspace/github_cpp_makefile_star2_O3/kelwinfc[P]ci4721-Fernandez-Gyomrey/src/AST/dump.cpp
// Function: AST_ident::dump(std::ostream&, int)
void AST_ident::dump(ostream &strm, int indentation){
    strm << setw(3) << line << ": ";
    dump_indentation(strm, indentation);
    strm << "Identifier: " << value;
    if ( sym ){
        strm << " ["
             << types.types[sym->getType()]->name
             << ":"
             << sym->getLine()
             << ":"
             << sym->getColumn()
             << "]";
    } else {
        strm << " [UNDEFINED]";
    }
    strm << endl;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl %edx, %ebp
movq %rsi, %rbx
movq %rdi, %r14
movq (%rsi), %rax
movq -0x18(%rax), %rax
movq $0x3, 0x10(%rsi,%rax)
movl 0x8(%rdi), %esi
movq %rbx, %rdi
callq 0x6540
leaq 0x24bf5(%rip), %rsi     # 0x2d6b7
movl $0x2, %edx
movq %rax, %rdi
callq 0x6370
testl %ebp, %ebp
jle 0x8aee
leaq 0x26c77(%rip), %r15     # 0x2f751
movl $0x4, %edx
movq %rbx, %rdi
movq %r15, %rsi
callq 0x6370
decl %ebp
jne 0x8ada
leaq 0x24b07(%rip), %rsi     # 0x2d5fc
movl $0xc, %edx
movq %rbx, %rdi
callq 0x6370
movq 0x48(%r14), %rsi
movq 0x50(%r14), %rdx
movq %rbx, %rdi
callq 0x6370
cmpq $0x0, 0x68(%r14)
je 0x8bbe
leaq 0x24a33(%rip), %rsi     # 0x2d557
movl $0x2, %edx
movq %rbx, %rdi
callq 0x6370
movq 0x68(%r14), %rdi
callq 0x1801a
cltq
leaq 0x368cd(%rip), %rcx     # 0x3f410
movq (%rcx), %rcx
movq (%rcx,%rax,8), %rax
movq 0x8(%rax), %rsi
movq 0x10(%rax), %rdx
movq %rbx, %rdi
callq 0x6370
movq %rax, %r15
leaq 0x267a6(%rip), %r12     # 0x2f30a
movl $0x1, %edx
movq %rax, %rdi
movq %r12, %rsi
callq 0x6370
movq 0x68(%r14), %rdi
callq 0x1801e
movq %r15, %rdi
movl %eax, %esi
callq 0x6540
movq %rax, %r15
movl $0x1, %edx
movq %rax, %rdi
movq %r12, %rsi
callq 0x6370
movq 0x68(%r14), %rdi
callq 0x18022
movq %r15, %rdi
movl %eax, %esi
callq 0x6540
leaq 0x24489(%rip), %rsi     # 0x2d03d
movl $0x1, %edx
movq %rax, %rdi
jmp 0x8bcd
leaq 0x24a44(%rip), %rsi     # 0x2d609
movl $0xc, %edx
movq %rbx, %rdi
callq 0x6370
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x62c0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x6040
movq %rax, %rdi
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0x6200
nop
// File: /workspace/github_cpp_makefile_star2_O3/kelwinfc[P]ci4721-Fernandez-Gyomrey/src/AST/dump.cpp
// Function: AST_conversion::dump(std::ostream&, int)
void AST_conversion::dump(ostream &strm, int indentation){
    
    strm << setw(3) << line << ": ";
    dump_indentation(strm, indentation);
    
    strm << "Conversion from " << types.types[original_type]->name
         << " to " << types.types[type]->name << endl;
     
     expr->dump(strm, indentation+1);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %edx, %ebx
movq %rsi, %r14
movq %rdi, %r15
movq (%rsi), %rax
movq -0x18(%rax), %rax
movq $0x3, 0x10(%rsi,%rax)
movl 0x8(%rdi), %esi
movq %r14, %rdi
callq 0x6540
leaq 0x24732(%rip), %rsi     # 0x2d6b7
movl $0x2, %edx
movq %rax, %rdi
callq 0x6370
testl %ebx, %ebx
jle 0x8fb3
leaq 0x267b4(%rip), %r12     # 0x2f751
movl %ebx, %ebp
movl $0x4, %edx
movq %r14, %rdi
movq %r12, %rsi
callq 0x6370
decl %ebp
jne 0x8f9f
leaq 0x2465c(%rip), %rsi     # 0x2d616
movl $0x10, %edx
movq %r14, %rdi
callq 0x6370
movslq 0x48(%r15), %rax
leaq 0x3643e(%rip), %r13     # 0x3f410
movq (%r13), %rcx
movq (%rcx,%rax,8), %rax
movq 0x8(%rax), %rsi
movq 0x10(%rax), %rdx
movq %r14, %rdi
callq 0x6370
movq %rax, %r12
leaq 0x24633(%rip), %rsi     # 0x2d627
movl $0x4, %edx
movq %rax, %rdi
callq 0x6370
movslq 0x10(%r15), %rax
movq (%r13), %rcx
movq (%rcx,%rax,8), %rax
movq 0x8(%rax), %rsi
movq 0x10(%rax), %rdx
movq %r12, %rdi
callq 0x6370
movq %rax, %r12
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x62c0
movsbl %al, %esi
movq %r12, %rdi
callq 0x6040
movq %rax, %rdi
callq 0x6200
movq 0x50(%r15), %rdi
incl %ebx
movq (%rdi), %rax
movq (%rax), %rax
movq %r14, %rsi
movl %ebx, %edx
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmpq *%rax
// File: /workspace/github_cpp_makefile_star2_O3/kelwinfc[P]ci4721-Fernandez-Gyomrey/src/AST/dump.cpp
// Function: AST_return::dump(std::ostream&, int)
void AST_return::dump(ostream &strm, int indentation){
    strm << setw(3) << line << ": ";
    dump_indentation(strm, indentation);
    
    if ( expr ){
        strm << "Return [" << types.types[expr->type]->name << "]" << endl;
        expr->dump(strm, indentation+1);
    } else {
        strm << "Empty return" << endl;
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl %edx, %ebp
movq %rsi, %rbx
movq %rdi, %r14
movq (%rsi), %rax
movq -0x18(%rax), %rax
movq $0x3, 0x10(%rsi,%rax)
movl 0x8(%rdi), %esi
movq %rbx, %rdi
callq 0x6540
leaq 0x24303(%rip), %rsi     # 0x2d6b7
movl $0x2, %edx
movq %rax, %rdi
callq 0x6370
testl %ebp, %ebp
jle 0x93e4
leaq 0x26385(%rip), %r15     # 0x2f751
movl %ebp, %r12d
movl $0x4, %edx
movq %rbx, %rdi
movq %r15, %rsi
callq 0x6370
decl %r12d
jne 0x93cf
cmpq $0x0, 0x78(%r14)
je 0x9482
leaq 0x24265(%rip), %rsi     # 0x2d65b
movl $0x8, %edx
movq %rbx, %rdi
callq 0x6370
movq 0x78(%r14), %rax
movslq 0x10(%rax), %rax
leaq 0x35ffe(%rip), %rcx     # 0x3f410
movq (%rcx), %rcx
movq (%rcx,%rax,8), %rax
movq 0x8(%rax), %rsi
movq 0x10(%rax), %rdx
movq %rbx, %rdi
callq 0x6370
movq %rax, %r15
leaq 0x23c0a(%rip), %rsi     # 0x2d03d
movl $0x1, %edx
movq %rax, %rdi
callq 0x6370
movq (%r15), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x62c0
movsbl %al, %esi
movq %r15, %rdi
callq 0x6040
movq %rax, %rdi
callq 0x6200
movq 0x78(%r14), %rdi
incl %ebp
movq (%rdi), %rax
movq (%rax), %rax
movq %rbx, %rsi
movl %ebp, %edx
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmpq *%rax
leaq 0x241db(%rip), %rsi     # 0x2d664
movl $0xc, %edx
movq %rbx, %rdi
callq 0x6370
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x62c0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x6040
movq %rax, %rdi
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0x6200
nop