LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O1/cjxgm[P]libgpp/src/libgpp.cpp
// Function: (anonymous namespace)::Preprocessor::get_char(int)
char get_char(int pos) {
            static int lastchar = -666;
            int c;

            if (lastchar == -666 && !strcmp(S->meta.macro_end, "\n"))
                lastchar = '\n';

            if (!C->read_stdin) {
                if (pos >= C->len)
                    return 0;
                else
                    return C->buf[pos];
            }
            extend_buf(pos);
            while (pos >= C->len) {
                do {
                    c = getchar();
                } while (c == 13);
                if (lastchar == '\n')
                    C->lineno++;
                lastchar = c;
                if (c == EOF)
                    c = 0;
                C->buf[C->len++] = (char) c;
            }
            return C->buf[pos];
        }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl %esi, %ebx
movq %rdi, %r14
cmpl $0xfffffd66, 0x6073(%rip) # imm = 0xFFFFFD66
jne 0x6108
movq (%r14), %rax
movq 0x50(%rax), %rdi
leaq 0x2073(%rip), %rsi      # 0x8168
callq 0x21b0
testl %eax, %eax
jne 0x6108
movl $0xa, 0x6050(%rip)      # 0xc158
movq 0x20(%r14), %r12
cmpl $0x0, 0x1c(%r12)
je 0x61b2
movl 0x14(%r12), %eax
cmpl %ebx, %eax
jg 0x615e
addl %ebx, %eax
movl %eax, 0x14(%r12)
movslq %eax, %rdi
callq 0x2180
movq %rax, %r15
movq (%r12), %rsi
movslq 0x10(%r12), %rdx
movq %rax, %rdi
callq 0x20f0
movq 0x8(%r12), %rdi
callq 0x2170
movq 0x20(%r14), %rax
movq %r15, (%rax)
movq %r15, 0x8(%rax)
testq %r15, %r15
je 0x61d0
movq 0x20(%r14), %r12
cmpl %ebx, 0x10(%r12)
jg 0x61b9
xorl %ebp, %ebp
callq 0x2190
cmpl $0xd, %eax
je 0x616b
cmpl $0xa, 0x5fdc(%rip)      # 0xc158
jne 0x6185
movq 0x20(%r14), %rcx
incl 0x18(%rcx)
movl %eax, 0x5fcd(%rip)      # 0xc158
cmpl $-0x1, %eax
cmovel %ebp, %eax
movq 0x20(%r14), %rcx
movq (%rcx), %rdx
movslq 0x10(%rcx), %rsi
leal 0x1(%rsi), %edi
movl %edi, 0x10(%rcx)
movb %al, (%rdx,%rsi)
movq 0x20(%r14), %r12
cmpl %ebx, 0x10(%r12)
jle 0x616b
jmp 0x61b9
cmpl %ebx, 0x10(%r12)
jle 0x61cc
movq (%r12), %rax
movslq %ebx, %rcx
movb (%rax,%rcx), %al
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
xorl %eax, %eax
jmp 0x61c3
leaq 0x24f7(%rip), %rdi      # 0x86ce
callq 0x2fc4
// File: /workspace/github_cpp_makefile_star2_O1/cjxgm[P]libgpp/src/libgpp.cpp
// Function: (anonymous namespace)::Preprocessor::identifier_end(int)
int identifier_end(int start) {
            char c;

            c = get_char(start);
            if (c == 0)
                return start;
            if (c == S->user.quotechar) {
                c = get_char(start + 1);
                if (c == 0)
                    return (start + 1);
                if (is_delim(c))
                    return (start + 2);
                start += 2;
                c = get_char(start);
            }
            while (!is_delim(c))
                c = get_char(++start);
            return start;
        }

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movl %esi, %r14d
movq %rdi, %rbx
callq 0x60ce
testb %al, %al
je 0x623d
movq (%rbx), %rcx
cmpb 0x30(%rcx), %al
jne 0x6242
leal 0x1(%r14), %ebp
movq %rbx, %rdi
movl %ebp, %esi
callq 0x60ce
testb %al, %al
je 0x628d
movl %r14d, %ebp
addl $0x2, %ebp
cmpb $0x5f, %al
je 0x6231
leal -0x61(%rax), %ecx
cmpb $0x1a, %cl
jb 0x6231
leal -0x41(%rax), %ecx
cmpb $0x1a, %cl
jb 0x6231
testb %al, %al
js 0x6231
addb $-0x30, %al
cmpb $0x9, %al
ja 0x628d
movq %rbx, %rdi
movl %ebp, %esi
callq 0x60ce
jmp 0x6245
movl %r14d, %ebp
jmp 0x628d
movl %r14d, %ebp
cmpb $0x5f, %al
je 0x6263
leal -0x61(%rax), %ecx
cmpb $0x1a, %cl
jb 0x6263
leal -0x41(%rax), %ecx
cmpb $0x1a, %cl
jb 0x6263
testb %al, %al
js 0x6263
addb $-0x30, %al
cmpb $0x9, %al
ja 0x628d
incl %ebp
movq %rbx, %rdi
movl %ebp, %esi
callq 0x60ce
cmpb $0x5f, %al
je 0x6263
leal -0x61(%rax), %ecx
cmpb $0x1a, %cl
jb 0x6263
leal -0x41(%rax), %ecx
cmpb $0x1a, %cl
jb 0x6263
testb %al, %al
js 0x6263
addb $-0x30, %al
cmpb $0xa, %al
jb 0x6263
movl %ebp, %eax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/cjxgm[P]libgpp/src/libgpp.cpp
// Function: (anonymous namespace)::Preprocessor::outchar(char)
void outchar(char c) {
            if (C->out->bufsize) {
                if (C->out->len + 1 == C->out->bufsize) {
                    C->out->bufsize = C->out->bufsize * 2;
                    C->out->buf = XX realloc(C->out->buf, C->out->bufsize);
                    if (C->out->buf == nullptr )
                        bug("out of memory");
                }
                C->out->buf[C->out->len++] = c;
            } else {
                if (c != 13) {
                    C->out->output_char(c, C->out->output_char_data);
                }
            }
        }

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movl %esi, %ebx
movq 0x20(%rdi), %rax
movq 0x38(%rax), %rax
movslq 0xc(%rax), %rsi
testq %rsi, %rsi
je 0x62ef
movq %rdi, %r14
movl 0x8(%rax), %ecx
incl %ecx
cmpl %esi, %ecx
jne 0x62d5
addq %rsi, %rsi
movl %esi, 0xc(%rax)
movq (%rax), %rdi
callq 0x2220
movq 0x20(%r14), %rcx
movq 0x38(%rcx), %rcx
movq %rax, (%rcx)
testq %rax, %rax
je 0x6310
movq 0x20(%r14), %rax
movq 0x38(%rax), %rax
movq (%rax), %rcx
movslq 0x8(%rax), %rdx
leal 0x1(%rdx), %esi
movl %esi, 0x8(%rax)
movb %bl, (%rcx,%rdx)
jmp 0x62f4
cmpb $0xd, %bl
jne 0x62fc
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movq 0x10(%rax), %rcx
movq 0x18(%rax), %rsi
movsbl %bl, %edi
addq $0x8, %rsp
popq %rbx
popq %r14
jmpq *%rcx
leaq 0x23b7(%rip), %rdi      # 0x86ce
callq 0x2fc4
// File: /workspace/github_cpp_makefile_star2_O1/cjxgm[P]libgpp/src/libgpp.cpp
// Function: (anonymous namespace)::id_equal(char const*, int, char const*)
int id_equal(const char *b, int l, const char *s) {
        int i;

        if ((int) strlen(s) != l)
            return 0;
        for (i = 0; i < l; i++)
            if (b[i] != s[i])
                return 0;
        return 1;
    }

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movq %rdx, %rbx
movl %esi, %ebp
movq %rdi, %r14
movq %rdx, %rdi
callq 0x2070
movq %rax, %rcx
xorl %eax, %eax
cmpl %ebp, %ecx
jne 0x635c
movl $0x1, %eax
testl %ebp, %ebp
jle 0x635c
movl %ebp, %ecx
xorl %edx, %edx
movb (%r14,%rdx), %sil
cmpb (%rbx,%rdx), %sil
jne 0x635a
incq %rdx
cmpq %rdx, %rcx
jne 0x6346
jmp 0x635c
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/cjxgm[P]libgpp/src/libgpp.cpp
// Function: (anonymous namespace)::delete_comment((anonymous namespace)::Specs*, char*)
void delete_comment(Specs *S, char *start) {
        Comment *p, *q;

        q = nullptr;
        for (p = S->comments; p != nullptr ; p = p->next) {
            if (!strcmp(p->start, start)) {
                if (q == nullptr )
                    S->comments = p->next;
                else
                    q->next = p->next;
                free(p->start);
                free(p->end);
                free(p);
                free(start);
                return;
            } else
                q = p;
        }
        free(start);
    }

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rsi, %rbx
movq 0x90(%rdi), %r14
testq %r14, %r14
je 0x63e8
movq %rdi, %r15
movq (%r14), %r12
movq %r12, %rdi
movq %rbx, %rsi
callq 0x21b0
testl %eax, %eax
je 0x63b4
movq %r14, %r13
movq 0x20(%r13), %r14
testq %r14, %r14
je 0x63e8
movq (%r14), %r12
movq %r12, %rdi
movq %rbx, %rsi
callq 0x21b0
movq %r13, %rcx
movq %r14, %r13
testl %eax, %eax
jne 0x6391
jmp 0x63b6
xorl %ecx, %ecx
addq $0x90, %r15
leaq 0x20(%rcx), %rax
testq %rcx, %rcx
movq 0x20(%r14), %rcx
cmoveq %r15, %rax
movq %rcx, (%rax)
movq %r12, %rdi
callq 0x2170
movq 0x8(%r14), %rdi
callq 0x2170
movq %r14, %rdi
callq 0x2170
movq %rbx, %rdi
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
jmp 0x2170
nop
// File: /workspace/github_cpp_makefile_star2_O1/cjxgm[P]libgpp/src/libgpp.cpp
// Function: (anonymous namespace)::Preprocessor::comment_or_white(int, int, int)
int comment_or_white(int start, int end, int cmtmode) {
            char c;

            while (start < end) {
                skip_possible_comments(&start, cmtmode, 1);
                if (start < end) {
                    c = get_char(start++);
                    if ((c != ' ') && (c != '\n') && (c != '\t'))
                        return 0;
                }
            }
            return 1;
        }

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movl %esi, 0x4(%rsp)
movl $0x1, %eax
cmpl %edx, %esi
jge 0x6469
movl %edx, %ebx
movq %rdi, %r14
leaq 0x4(%rsp), %r15
movabsq $0x100000600, %r12      # imm = 0x100000600
movq %r14, %rdi
movq %r15, %rsi
xorl %edx, %edx
movl $0x1, %ecx
callq 0x6eb6
movl 0x4(%rsp), %esi
cmpl %ebx, %esi
jge 0x645e
leal 0x1(%rsi), %eax
movl %eax, 0x4(%rsp)
movq %r14, %rdi
callq 0x60ce
movl %eax, %ecx
xorl %eax, %eax
cmpb $0x20, %cl
ja 0x6469
movzbl %cl, %ecx
btq %rcx, %r12
jae 0x6469
cmpl %ebx, 0x4(%rsp)
jl 0x6423
movl $0x1, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/cjxgm[P]libgpp/src/libgpp.cpp
// Function: (anonymous namespace)::Preprocessor::whiteout(int*, int*)
int whiteout(int *pos1, int *pos2) // remove whitespace on both sides
        {
            while ((*pos1 < *pos2) && is_white(get_char(*pos1)))
                (*pos1)++;
            while ((*pos1 < *pos2) && is_white(get_char(*pos2 - 1)))
                (*pos2)--;
            return (*pos1 < *pos2);
        }

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
movl (%rsi), %esi
movabsq $0x100000600, %r12      # imm = 0x100000600
cmpl (%rdx), %esi
jge 0x64b8
movq %r15, %rdi
callq 0x60ce
cmpb $0x20, %al
ja 0x64b8
movzbl %al, %eax
btq %rax, %r12
jae 0x64b8
movl (%r14), %esi
incl %esi
movl %esi, (%r14)
cmpl (%rbx), %esi
jl 0x6497
movl (%rbx), %esi
cmpl %esi, (%r14)
jge 0x64de
decl %esi
movq %r15, %rdi
callq 0x60ce
cmpb $0x20, %al
ja 0x64de
movzbl %al, %eax
btq %rax, %r12
jae 0x64de
movl (%rbx), %esi
decl %esi
movl %esi, (%rbx)
jmp 0x64ba
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O1/cjxgm[P]libgpp/src/libgpp.cpp
// Function: (anonymous namespace)::Preprocessor::find_ident(char const*, int)
int find_ident(const char *b, int l) {
            int i;

            for (i = 0; i < nmacros; i++)
                if (id_equal(b, l, macros[i].username))
                    return i;
            return -1;
        }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movslq 0x10(%rdi), %r12
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
testq %r12, %r12
jle 0x6564
movl %edx, %ebp
movq %rsi, %r14
movq 0x8(%rdi), %rax
movq %rax, (%rsp)
movl %edx, %ebx
xorl %r13d, %r13d
leaq (,%r13,2), %rax
addq %r13, %rax
shlq $0x4, %rax
movq (%rsp), %rcx
movq (%rcx,%rax), %r15
movq %r15, %rdi
callq 0x2070
cmpl %ebp, %eax
jne 0x6552
testl %ebp, %ebp
jle 0x6561
xorl %eax, %eax
movb (%r14,%rax), %cl
cmpb (%r15,%rax), %cl
jne 0x6552
incq %rax
cmpq %rax, %rbx
jne 0x653e
jmp 0x6561
incq %r13
cmpq %r12, %r13
jne 0x6515
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
jmp 0x6564
movl %r13d, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/cjxgm[P]libgpp/src/libgpp.cpp
// Function: (anonymous namespace)::Preprocessor::delete_macro(int)
void delete_macro(int i) {
            int j;
            nmacros--;
            free(macros[i].username);
            free(macros[i].macrotext);
            if (macros[i].argnames != nullptr ) {
                for (j = 0; j < macros[i].nnamedargs; j++)
                    free(macros[i].argnames[j]);
                free(macros[i].argnames);
                macros[i].argnames = nullptr;
            }
            free_comments(macros[i].define_specs);
            free(macros[i].define_specs);
            memcpy(macros + i, macros + nmacros, sizeof(Macro));
        }

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
decl 0x10(%rdi)
movq 0x8(%rdi), %rax
movl %esi, %r15d
movq %r15, %rcx
shlq $0x4, %rcx
leaq (%rcx,%rcx,2), %r14
movq (%rax,%r14), %rdi
callq 0x2170
movq 0x8(%rbx), %rax
movq 0x8(%rax,%r14), %rdi
callq 0x2170
movq 0x8(%rbx), %rax
cmpq $0x0, 0x10(%rax,%r14)
je 0x6600
movq 0x8(%rbx), %rax
leaq (%r15,%r15,2), %rcx
shlq $0x4, %rcx
cmpl $0x0, 0x1c(%rax,%rcx)
jle 0x65e9
xorl %r15d, %r15d
movq 0x10(%rax,%r14), %rax
movq (%rax,%r15,8), %rdi
callq 0x2170
incq %r15
movq 0x8(%rbx), %rax
movslq 0x1c(%rax,%r14), %rcx
cmpq %rcx, %r15
jl 0x65ca
movq 0x10(%rax,%r14), %rdi
callq 0x2170
movq 0x8(%rbx), %rax
movq $0x0, 0x10(%rax,%r14)
movq 0x8(%rbx), %rax
movq 0x20(%rax,%r14), %rdi
callq 0x6f76
movq 0x8(%rbx), %rax
movq 0x20(%rax,%r14), %rdi
callq 0x2170
movq 0x8(%rbx), %rax
movslq 0x10(%rbx), %rcx
leaq (%rcx,%rcx,2), %rcx
shlq $0x4, %rcx
movups (%rax,%rcx), %xmm0
movups 0x10(%rax,%rcx), %xmm1
movups 0x20(%rax,%rcx), %xmm2
movups %xmm2, 0x20(%rax,%r14)
movups %xmm1, 0x10(%rax,%r14)
movups %xmm0, (%rax,%r14)
popq %rbx
popq %r14
popq %r15
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/cjxgm[P]libgpp/src/libgpp.cpp
// Function: (anonymous namespace)::Preprocessor::newmacro(char const*, int, int)
void newmacro(const char *s, int len, int hasspecs) {
            if (nmacros == nalloced) {
                nalloced = 2 * nalloced + 1;
                macros = XX realloc(macros, nalloced * sizeof *macros);
                if (macros == nullptr )
                    bug("out of memory");
            }
            macros[nmacros].username = XX malloc(len + 1);
            strncpy(macros[nmacros].username, s, len + 1);
            macros[nmacros].username[len] = 0;
            macros[nmacros].argnames = nullptr;
            macros[nmacros].nnamedargs = 0;
            macros[nmacros].defined_in_comment = 0;
            if (hasspecs)
                macros[nmacros].define_specs = clone_specs(S);
            else
                macros[nmacros].define_specs = nullptr;
        }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %edx, %r14d
movq %rsi, %r15
movq %rdi, %rbx
movslq 0x14(%rdi), %rax
cmpl %eax, 0x10(%rdi)
jne 0x6698
leaq 0x1(,%rax,2), %rax
movl %eax, 0x14(%rbx)
movq 0x8(%rbx), %rdi
shlq $0x4, %rax
leaq (%rax,%rax,2), %rsi
callq 0x2220
movq %rax, 0x8(%rbx)
testq %rax, %rax
je 0x6725
leal 0x1(%r14), %eax
movslq %eax, %r12
movq %r12, %rdi
callq 0x2180
movq 0x8(%rbx), %r13
movslq 0x10(%rbx), %rcx
leaq (%rcx,%rcx,2), %rbp
shlq $0x4, %rbp
movq %rax, (%r13,%rbp)
movq %rax, %rdi
movq %r15, %rsi
movq %r12, %rdx
callq 0x20a0
movq (%r13,%rbp), %rax
movslq %r14d, %rcx
movb $0x0, (%rax,%rcx)
movq 0x8(%rbx), %rax
movslq 0x10(%rbx), %rcx
leaq (%rcx,%rcx,2), %rcx
shlq $0x4, %rcx
movq $0x0, 0x10(%rax,%rcx)
xorl %edx, %edx
movl %edx, 0x1c(%rax,%rcx)
movl %edx, 0x28(%rax,%rcx)
movq (%rbx), %rdi
callq 0x6b86
movq 0x8(%rbx), %rcx
movslq 0x10(%rbx), %rdx
leaq (%rdx,%rdx,2), %rdx
shlq $0x4, %rdx
movq %rax, 0x20(%rcx,%rdx)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x1fa2(%rip), %rdi      # 0x86ce
callq 0x2fc4
nop
// File: /workspace/github_cpp_makefile_star2_O1/cjxgm[P]libgpp/src/libgpp.cpp
// Function: (anonymous namespace)::Preprocessor::remove_comments(int, int, int)
char *remove_comments(int start, int end, int cmtmode) {
            char *s, *t;

            t = s = XX malloc(end - start + 1);
            while (start < end) {
                skip_possible_comments(&start, cmtmode, 1);
                if (start < end) {
                    *t = get_char(start++);
                    if ((*t == S->user.quotechar) && (start < end)) {
                        *(++t) = get_char(start++);
                    }
                    t++;
                }
            }
            *t = 0;
            return s;
        }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %ecx, %ebx
movl %edx, %ebp
movl %esi, %r12d
movq %rdi, %r14
movl %esi, 0x4(%rsp)
movl %edx, %eax
subl %esi, %eax
incl %eax
movslq %eax, %rdi
callq 0x2180
movq %rax, %r15
movq %rax, %r13
cmpl %r12d, %ebp
jle 0x67c8
leaq 0x4(%rsp), %r12
movq %r15, %r13
movq %r14, %rdi
movq %r12, %rsi
movl %ebx, %edx
movl $0x1, %ecx
callq 0x6eb6
movl 0x4(%rsp), %esi
cmpl %ebp, %esi
jge 0x67c2
leal 0x1(%rsi), %eax
movl %eax, 0x4(%rsp)
movq %r14, %rdi
callq 0x60ce
movb %al, (%r13)
movq (%r14), %rcx
cmpb 0x30(%rcx), %al
jne 0x67bf
movl 0x4(%rsp), %esi
cmpl %ebp, %esi
jge 0x67bf
leal 0x1(%rsi), %eax
movl %eax, 0x4(%rsp)
movq %r14, %rdi
callq 0x60ce
movb %al, 0x1(%r13)
incq %r13
incq %r13
cmpl %ebp, 0x4(%rsp)
jl 0x676c
movb $0x0, (%r13)
movq %r15, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/cjxgm[P]libgpp/src/libgpp.cpp
// Function: (anonymous namespace)::Preprocessor::lookup_arg_refs(int)
void lookup_arg_refs(int n) {
            int i, l;
            char *p;

            if (macros[n].argnames != nullptr )
                return; // don't mess with those
            macros[n].nnamedargs = -1;
            l = strlen(S->user.macro_arg_ref);
            for (i = 0, p = macros[n].macrotext; i < macros[n].macrolen; i++, p++) {
                if ((*p != 0) && (*p == S->user.quotechar)) {
                    i++;
                    p++;
                } else if (!strncmp(p, S->user.macro_arg_ref, l))
                    if ((p[l] >= '1') && (p[l] <= '9')) {
                        macros[n].nnamedargs = 0;
                        return;
                    }
            }
        }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq 0x8(%rdi), %rcx
movslq %esi, %rax
leaq (%rax,%rax,2), %r13
shlq $0x4, %r13
movq %rcx, 0x8(%rsp)
cmpq $0x0, 0x10(%rcx,%r13)
jne 0x689b
movq 0x8(%rsp), %rcx
leaq (%rcx,%r13), %rax
movl $0xffffffff, 0x1c(%rax) # imm = 0xFFFFFFFF
movl 0x18(%rcx,%r13), %ebp
testl %ebp, %ebp
jle 0x689b
movq (%rdi), %rax
movq %rax, 0x10(%rsp)
movq 0x28(%rax), %rbx
movq 0x8(%rsp), %rax
movq 0x8(%rax,%r13), %r14
movq %rbx, %rdi
callq 0x2070
movslq %eax, %r15
xorl %r12d, %r12d
movb (%r14), %al
testb %al, %al
je 0x6864
movq 0x10(%rsp), %rcx
cmpb 0x30(%rcx), %al
jne 0x6864
incl %r12d
incq %r14
jmp 0x6880
movq %r14, %rdi
movq %rbx, %rsi
movq %r15, %rdx
callq 0x2080
testl %eax, %eax
jne 0x6880
movb (%r14,%r15), %al
addb $-0x31, %al
cmpb $0x8, %al
jbe 0x688d
incl %r12d
incq %r14
cmpl %ebp, %r12d
jl 0x684b
jmp 0x689b
movq 0x8(%rsp), %rax
movl $0x0, 0x1c(%rax,%r13)
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/cjxgm[P]libgpp/src/libgpp.cpp
// Function: (anonymous namespace)::nowhite_strcmp(char*, char*)
int nowhite_strcmp(char *s, char *t) {
        char *p;

        while (is_white(*s))
            s++;
        while (is_white(*t))
            t++;
        if ((*s == 0) || (*t == 0))
            return strcmp(s, t);
        p = s + strlen(s) - 1;
        while (is_white(*p))
            *(p--) = 0;
        p = t + strlen(t) - 1;
        while (is_white(*p))
            *(p--) = 0;
        return strcmp(s, t);
    }

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
movabsq $0x100000600, %r15      # imm = 0x100000600
movzbl (%r14), %eax
cmpq $0x20, %rax
ja 0x68dd
btq %rax, %r15
jae 0x68dd
incq %r14
jmp 0x68bf
btq %rcx, %r15
jae 0x68e6
incq %rbx
movzbl (%rbx), %ecx
cmpq $0x20, %rcx
jbe 0x68d4
testb %al, %al
sete %al
testb %cl, %cl
sete %cl
orb %al, %cl
je 0x6904
movq %r14, %rdi
movq %rbx, %rsi
popq %rbx
popq %r14
popq %r15
jmp 0x21b0
movq %r14, %rdi
callq 0x2070
addq %r14, %rax
decq %rax
movzbl (%rax), %ecx
cmpq $0x20, %rcx
ja 0x6929
btq %rcx, %r15
jae 0x6929
movb $0x0, (%rax)
decq %rax
jmp 0x6912
movq %rbx, %rdi
callq 0x2070
addq %rbx, %rax
decq %rax
movzbl (%rax), %ecx
cmpq $0x20, %rcx
ja 0x68f4
btq %rcx, %r15
jae 0x68f4
movb $0x0, (%rax)
decq %rax
jmp 0x6937
// File: /workspace/github_cpp_makefile_star2_O1/cjxgm[P]libgpp/src/libgpp.cpp
// Function: (anonymous namespace)::Preprocessor::pop_specs()
void pop_specs() {
            Specs *P;

            P = S;
            S = P->stack_next;
            free_comments(P);
            free(P);
            if (S == nullptr )
                bug("#mode restore without #mode save");
        }

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq (%rdi), %r14
movq 0x98(%r14), %rax
movq %rax, (%rdi)
movq %r14, %rdi
callq 0x6f76
movq %r14, %rdi
callq 0x2170
cmpq $0x0, (%rbx)
je 0x6b7a
addq $0x8, %rsp
popq %rbx
popq %r14
retq
leaq 0x2200(%rip), %rdi      # 0x8d81
callq 0x2fc4
// File: /workspace/github_cpp_makefile_star2_O1/cjxgm[P]libgpp/src/libgpp.cpp
// Function: (anonymous namespace)::clone_specs((anonymous namespace)::Specs const*)
Specs *clone_specs(const Specs *Q) {
        Specs *P;
        Comment *x, *y;

        P = XX malloc(sizeof *P);
        if (P == nullptr )
            bug("out of memory.");
        memcpy(P, Q, sizeof(Specs));
        P->stack_next = nullptr;
        if (Q->comments != nullptr )
            P->comments = XX malloc(sizeof *(P->comments));
        for (x = Q->comments, y = P->comments; x != nullptr ;
                x = x->next, y = y->next) {
            memcpy(y, x, sizeof(Comment));
            y->start = my_strdup(x->start);
            y->end = my_strdup(x->end);
            if (x->next != nullptr )
                y->next = XX malloc(sizeof *(y->next));
        }
        return P;
    }

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %r14
movl $0xb8, %edi
callq 0x2180
testq %rax, %rax
je 0x6c50
movq %rax, %rbx
movl $0xb8, %edx
movq %rax, %rdi
movq %r14, %rsi
callq 0x20f0
movq $0x0, 0x98(%rbx)
cmpq $0x0, 0x90(%r14)
je 0x6bda
movl $0x28, %edi
callq 0x2180
movq %rax, 0x90(%rbx)
movq 0x90(%r14), %r14
testq %r14, %r14
je 0x6c47
movq %rbx, %r15
addq $0x90, %r15
movq (%r15), %r15
movq 0x20(%r14), %rax
movq %rax, 0x20(%r15)
movups (%r14), %xmm0
movups 0x10(%r14), %xmm1
movups %xmm1, 0x10(%r15)
movups %xmm0, (%r15)
movq (%r14), %rdi
callq 0x2f86
movq %rax, (%r15)
movq 0x8(%r14), %rdi
callq 0x2f86
movq %rax, 0x8(%r15)
cmpq $0x0, 0x20(%r14)
je 0x6c3a
movl $0x28, %edi
callq 0x2180
movq %rax, 0x20(%r15)
addq $0x20, %r15
movq 0x20(%r14), %r14
testq %r14, %r14
jne 0x6bf0
movq %rbx, %rax
popq %rbx
popq %r14
popq %r15
retq
leaq 0x1ea6(%rip), %rdi      # 0x8afd
callq 0x2fc4
// File: /workspace/github_cpp_makefile_star2_O1/cjxgm[P]libgpp/src/libgpp.cpp
// Function: (anonymous namespace)::Preprocessor::skip_possible_comments(int*, int, int)
void skip_possible_comments(int *pos, int cmtmode, int silentonly) {
            int found;
            Comment *c;

            if (C->in_comment)
                return;
            do {
                found = 0;
                if (get_char(*pos) == 0)
                    return; // EOF
                for (c = S->comments; c != nullptr ; c = c->next)
                    if (!(c->flags[cmtmode] & FLAG_IGNORE))
                        if (!silentonly || (c->flags[cmtmode] == FLAG_COMMENT))
                            if (match_start_sequence(c->start, pos)) {
                                *pos = find_comment_end(c->end, c->quote, c->warn, *pos,
                                        c->flags[cmtmode]);
                                match_end_sequence(c->end, pos);
                                found = 1;
                                break;
                            }
            } while (found);
        }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq 0x20(%rdi), %rax
cmpl $0x0, 0x44(%rax)
je 0x6eda
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl %ecx, %ebx
movl %edx, %ebp
movq %rsi, %r14
movq %rdi, %r15
movl (%rsi), %esi
callq 0x60ce
testb %al, %al
je 0x6ecb
movl %ebp, %r12d
movq (%r15), %rax
movq 0x90(%rax), %r13
testq %r13, %r13
je 0x6ecb
testl %ebx, %ebx
sete %al
movl 0x14(%r13,%r12,4), %edx
testl %edx, %edx
sete %cl
testb $0x40, %dl
jne 0x6f2c
orb %cl, %al
je 0x6f2c
movq (%r13), %rsi
movq %r15, %rdi
movq %r14, %rdx
callq 0x5968
testl %eax, %eax
jne 0x6f32
movq 0x20(%r13), %r13
jmp 0x6efc
movq 0x8(%r13), %rsi
movsbl 0x10(%r13), %edx
movsbl 0x11(%r13), %ecx
movl (%r14), %r8d
movl 0x14(%r13,%r12,4), %r9d
movq %r15, %rdi
callq 0x5ac4
movl %eax, (%r14)
movq 0x8(%r13), %rsi
movq %r15, %rdi
movq %r14, %rdx
callq 0x5b98
movl (%r14), %esi
movq %r15, %rdi
callq 0x60ce
testb %al, %al
jne 0x6ef2
jmp 0x6ecb
// File: /workspace/github_cpp_makefile_star2_O1/cjxgm[P]libgpp/src/libgpp.cpp
// Function: (anonymous namespace)::free_comments((anonymous namespace)::Specs*)
void free_comments(Specs *Q) {
        Comment *p;

        while (Q && Q->comments != nullptr ) {
            p = Q->comments;
            Q->comments = p->next;
            free(p->start);
            free(p->end);
            free(p);
        }
    }

// Assembly:
testq %rdi, %rdi
je 0x6fbe
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x90(%rbx), %r14
testq %r14, %r14
je 0x6fb7
movq 0x20(%r14), %rax
movq %rax, 0x90(%rbx)
movq (%r14), %rdi
callq 0x2170
movq 0x8(%r14), %rdi
callq 0x2170
movq %r14, %rdi
callq 0x2170
testq %rbx, %rbx
jne 0x6f82
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O1/cjxgm[P]libgpp/src/libgpp.cpp
// Function: (anonymous namespace)::splice_infix(char const*, int, int, char const*, int*, int*)
int splice_infix(const char *buf, int pos1, int pos2, char const* sep, int *spl1, int *spl2) {
        int pos, numpar, l;
        const char *p;

        numpar = 0;
        l = strlen(sep);
        for (pos = pos2 - 1, p = buf + pos; pos >= pos1; pos--, p--) {
            if (*p == ')')
                numpar++;
            if (*p == '(')
                numpar--;
            if (numpar < 0)
                return 0;
            if ((numpar == 0) && (pos2 - pos >= l) && !strncmp(p, sep, l)) {
                *spl1 = pos;
                *spl2 = pos + l;
                return 1;
            }
        }
        return 0;
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %r9, %r14
movq %r8, %r15
movl %edx, %ebp
movl %esi, %r13d
movq %rdi, %rbx
movq %rcx, 0x20(%rsp)
movq %rcx, %rdi
callq 0x2070
movq %rax, %rdx
xorl %eax, %eax
cmpl %r13d, %ebp
jle 0x7d43
movq %r15, 0x8(%rsp)
movq %r14, 0x10(%rsp)
movslq %ebp, %rax
leaq (%rax,%rbx), %r14
decq %r14
movslq %edx, %rax
movq %rax, 0x18(%rsp)
movl $0x1, %r15d
movl $0x1, %ebx
subl %ebp, %ebx
xorl %r12d, %r12d
movl %r13d, 0x4(%rsp)
movb (%r14), %al
xorl %ecx, %ecx
cmpb $0x29, %al
sete %cl
addl %ecx, %r12d
xorl %ecx, %ecx
cmpb $0x28, %al
sete %cl
subl %ecx, %r12d
js 0x7d41
setne %al
cmpl %edx, %r15d
setl %cl
orb %al, %cl
jne 0x7d32
movq %r14, %rdi
movq 0x20(%rsp), %rsi
movq %rdx, %r13
movq 0x18(%rsp), %rdx
callq 0x2080
movq %r13, %rdx
movl 0x4(%rsp), %r13d
testl %eax, %eax
je 0x7d52
decq %r14
incl %ebx
decl %ebp
incl %r15d
cmpl %r13d, %ebp
jg 0x7ceb
xorl %eax, %eax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
subl %ebx, %edx
negl %ebx
movq 0x8(%rsp), %rax
movl %ebx, (%rax)
movq 0x10(%rsp), %rax
movl %edx, (%rax)
movl $0x1, %eax
jmp 0x7d43
// File: /workspace/github_cpp_makefile_star2_O1/cjxgm[P]libgpp/src/libgpp.cpp
// Function: (anonymous namespace)::my_strcasecmp(char const*, char const*)
int my_strcasecmp(const char *s, const char *s2) {
        do {
            char c1 = tolower(*s);
            char c2 = tolower(*s2);
            if (c1 > c2)
                return 1;
            if (c1 < c2)
                return -1;
        } while (*s++ && *s2++);
        return 0;
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, (%rsp)
movq %rdi, %r14
xorl %r15d, %r15d
movb (%r14,%r15), %r13b
movsbl %r13b, %edi
callq 0x21e0
movl %eax, %ebp
movq (%rsp), %rax
movb (%rax,%r15), %bl
movsbl %bl, %edi
callq 0x21e0
movsbl %bpl, %ecx
movsbl %al, %eax
cmpl %eax, %ecx
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
cmovll %eax, %r12d
movl $0x1, %eax
cmovgl %eax, %r12d
jne 0x7dcc
xorl %eax, %eax
testb %r13b, %r13b
je 0x7dcf
incq %r15
testb %bl, %bl
jne 0x7d80
jmp 0x7dcf
movl %r12d, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/DivyanshuSaxena[P]green-vrp/Vehicle.cpp
// Function: Vehicle::Vehicle()
Vehicle::Vehicle() {
    // Add depot at both ends of the route
    type = 1;
    currentNodeId = 0;
    Node start;
    start.id = 0;
    start.arrival_time = -1;
    start.departure_time = startTime;
    Node end;
    end.id = 0;
    end.arrival_time = 0;
    end.departure_time = -1;
    this->route.push_back(start);
    this->route.push_back(end);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x30, %rsp
movq %rdi, %rbx
leaq 0x8(%rdi), %r14
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rdi)
movq $0x0, 0x18(%rdi)
movl $0x1, (%rdi)
xorl %eax, %eax
movl %eax, 0x70(%rdi)
movups %xmm0, 0x8(%rsp)
movl %eax, (%rsp)
movabsq $-0x4010000000000000, %rcx # imm = 0xBFF0000000000000
movq %rcx, 0x8(%rsp)
leaq 0x6cf4(%rip), %rdx      # 0x9288
movsd (%rdx), %xmm1
movsd %xmm1, 0x10(%rsp)
movl %eax, 0x18(%rsp)
movups %xmm0, 0x20(%rsp)
movq %rcx, 0x28(%rsp)
movq 0x10(%rdi), %rsi
cmpq 0x18(%rdi), %rsi
je 0x25cd
movq 0x10(%rsp), %rax
movq %rax, 0x10(%rsi)
movups (%rsp), %xmm0
movups %xmm0, (%rsi)
addq $0x18, 0x10(%rbx)
jmp 0x25d8
movq %rsp, %rdx
movq %r14, %rdi
callq 0x377a
movq 0x10(%rbx), %rsi
cmpq 0x18(%rbx), %rsi
je 0x25fa
movq 0x28(%rsp), %rax
movq %rax, 0x10(%rsi)
movups 0x18(%rsp), %xmm0
movups %xmm0, (%rsi)
addq $0x18, 0x10(%rbx)
jmp 0x2607
leaq 0x18(%rsp), %rdx
movq %r14, %rdi
callq 0x377a
addq $0x30, %rsp
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %r15
movq (%r14), %rdi
testq %rdi, %rdi
je 0x2628
movq 0x18(%rbx), %rsi
subq %rdi, %rsi
callq 0x2160
movq %r15, %rdi
callq 0x2250
// File: /workspace/github_cpp_makefile_star2_O1/DivyanshuSaxena[P]green-vrp/Vehicle.cpp
// Function: Vehicle::feasible(int)
bool Vehicle::feasible(int customerid) {
	bool timingbool=timingCondition(customers.at(customerid));
	bool chargingbool=chargingCondition(customers.at(customerid));
	bool capacitybool=capacityCondition(customers.at(customerid));
	bool feasiblebool= timingbool && chargingbool && capacitybool ;
	return feasiblebool;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movslq %esi, %r14
leaq 0x6bb0(%rip), %r12      # 0x91f8
movq (%r12), %rax
movq 0x8(%r12), %rdx
subq %rax, %rdx
sarq $0x3, %rdx
movabsq $0x6db6db6db6db6db7, %r13 # imm = 0x6DB6DB6DB6DB6DB7
imulq %r13, %rdx
cmpq %r14, %rdx
jbe 0x277b
movq %rdi, %rbx
imulq $0x38, %r14, %r15
movq 0x30(%rax,%r15), %rcx
movq %rcx, 0x30(%rsp)
movups (%rax,%r15), %xmm0
movups 0x10(%rax,%r15), %xmm1
movups 0x20(%rax,%r15), %xmm2
movups %xmm2, 0x20(%rsp)
movups %xmm1, 0x10(%rsp)
movups %xmm0, (%rsp)
callq 0x278c
movl %eax, %ebp
movq (%r12), %rax
movq 0x8(%r12), %rdx
subq %rax, %rdx
sarq $0x3, %rdx
imulq %r13, %rdx
cmpq %r14, %rdx
jbe 0x277b
movq 0x30(%rax,%r15), %rcx
movq %rcx, 0x30(%rsp)
movups (%rax,%r15), %xmm0
movups 0x10(%rax,%r15), %xmm1
movups 0x20(%rax,%r15), %xmm2
movups %xmm2, 0x20(%rsp)
movups %xmm1, 0x10(%rsp)
movups %xmm0, (%rsp)
movq %rbx, %rdi
callq 0x2880
movq (%r12), %rcx
movq 0x8(%r12), %rdx
subq %rcx, %rdx
sarq $0x3, %rdx
imulq %r13, %rdx
cmpq %r14, %rdx
jbe 0x277b
movl (%rbx), %edx
leaq 0x6b12(%rip), %rsi      # 0x9228
movsd (%rsi), %xmm0
leaq 0x6b0f(%rip), %rsi      # 0x9230
movsd (%rsi), %xmm3
movapd %xmm0, %xmm1
cmpl $0x1, %edx
je 0x2732
movapd %xmm3, %xmm1
movsd 0x8(%rcx,%r15), %xmm2
movsd 0x10(%rcx,%r15), %xmm4
cmpl $0x2, %edx
je 0x2749
movapd %xmm3, %xmm0
addsd 0x48(%rbx), %xmm4
ucomisd %xmm4, %xmm1
addsd 0x40(%rbx), %xmm2
setae %cl
ucomisd %xmm2, %xmm0
setae %dl
andb %al, %bpl
andb %cl, %bpl
andb %dl, %bpl
movl %ebp, %eax
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x38aa(%rip), %rdi      # 0x602c
movq %r14, %rsi
xorl %eax, %eax
callq 0x21e0
// File: /workspace/github_cpp_makefile_star2_O1/DivyanshuSaxena[P]green-vrp/Vehicle.cpp
// Function: Vehicle::timingCondition(Customer)
bool Vehicle::timingCondition(Customer customer) {
    time_type currDeptTime = this->route.at(this->route.size()-2).departure_time;
    time_type expectedTime = travelTimes.at(this->currentNodeId).at(customer.id) + currDeptTime;
    time_type timeToEnd = travelTimes.at(0).at(customer.id);
    this->route.back().arrival_time = expectedTime + serviceTime + timeToEnd;
    return (expectedTime < customer.timeWindowEnds && this->route.back().arrival_time < endTime);
}

// Assembly:
pushq %rax
movq 0x8(%rdi), %r8
movq 0x10(%rdi), %rcx
movq %rcx, %rdx
subq %r8, %rdx
sarq $0x3, %rdx
movabsq $-0x5555555555555555, %r10 # imm = 0xAAAAAAAAAAAAAAAB
imulq %r10, %rdx
leaq -0x2(%rdx), %rsi
cmpq $0x1, %rdx
jbe 0x2872
movslq 0x70(%rdi), %rax
leaq 0x6a02(%rip), %rdx      # 0x91c8
movq (%rdx), %r9
movq 0x8(%rdx), %rdx
subq %r9, %rdx
sarq $0x3, %rdx
imulq %r10, %rdx
cmpq %rax, %rdx
jbe 0x2866
leaq 0x10(%rsp), %rdi
leaq (%rax,%rax,2), %rdx
movslq (%rdi), %rax
movq (%r9,%rdx,8), %r10
movq 0x8(%r9,%rdx,8), %rdx
subq %r10, %rdx
sarq $0x3, %rdx
cmpq %rax, %rdx
jbe 0x2866
movq (%r9), %r11
movq 0x8(%r9), %rdx
subq %r11, %rdx
sarq $0x3, %rdx
cmpq %rax, %rdx
jbe 0x2866
leaq (%rsi,%rsi,2), %rdx
movsd 0x10(%r8,%rdx,8), %xmm0
addsd (%r10,%rax,8), %xmm0
leaq 0x6933(%rip), %rdx      # 0x9160
movsd (%rdx), %xmm1
addsd %xmm0, %xmm1
addsd (%r11,%rax,8), %xmm1
movsd %xmm1, -0x10(%rcx)
leaq 0x6a49(%rip), %rax      # 0x9290
movsd (%rax), %xmm2
movsd 0x30(%rdi), %xmm3
cmpltpd %xmm3, %xmm0
cmpltpd %xmm2, %xmm1
andpd %xmm0, %xmm1
movd %xmm1, %eax
andb $0x1, %al
popq %rcx
retq
leaq 0x37bf(%rip), %rdi      # 0x602c
movq %rax, %rsi
jmp 0x2879
leaq 0x37b3(%rip), %rdi      # 0x602c
xorl %eax, %eax
callq 0x21e0
// File: /workspace/github_cpp_makefile_star2_O1/DivyanshuSaxena[P]green-vrp/Vehicle.cpp
// Function: Vehicle::chargingCondition(Customer)
bool Vehicle::chargingCondition(Customer customer) {
    // Distance till Depot check must be thought of
    // Find the nearest charging station to the customer
    double distance = travelCosts.at(this->currentNodeId).at(customer.id) + travelCosts.at(0).at(customer.id) - travelCosts.at(this->currentNodeId).at(0);
    return (this->distanceRemaining > distance);
}

// Assembly:
pushq %rax
movslq 0x70(%rdi), %rsi
leaq 0x690c(%rip), %rcx      # 0x9198
movq (%rcx), %rax
movq 0x8(%rcx), %rcx
subq %rax, %rcx
sarq $0x3, %rcx
movabsq $-0x5555555555555555, %rdx # imm = 0xAAAAAAAAAAAAAAAB
imulq %rcx, %rdx
cmpq %rsi, %rdx
jbe 0x28fe
leaq 0x10(%rsp), %rcx
leaq (%rsi,%rsi,2), %rdx
movslq (%rcx), %rsi
movq (%rax,%rdx,8), %rcx
movq 0x8(%rax,%rdx,8), %rdx
subq %rcx, %rdx
sarq $0x3, %rdx
cmpq %rsi, %rdx
jbe 0x28fe
movq (%rax), %r8
movq 0x8(%rax), %rdx
subq %r8, %rdx
sarq $0x3, %rdx
cmpq %rsi, %rdx
jbe 0x28fe
movsd (%rcx,%rsi,8), %xmm0
addsd (%r8,%rsi,8), %xmm0
subsd (%rcx), %xmm0
movsd 0x68(%rdi), %xmm1
ucomisd %xmm0, %xmm1
seta %al
popq %rcx
retq
leaq 0x3727(%rip), %rdi      # 0x602c
xorl %eax, %eax
callq 0x21e0
// File: /workspace/github_cpp_makefile_star2_O1/DivyanshuSaxena[P]green-vrp/Vehicle.cpp
// Function: Vehicle::costAddCustomerCS(Customer, int)
double Vehicle::costAddCustomerCS(Customer customer, int chargingStation) {
    double costNodeCS = travelCosts.at(this->currentNodeId).at(chargingStation);
    double costCustomerCS = travelCosts.at(customer.id).at(chargingStation);
    double endCost = travelCosts.at(customer.id).at(0);
    double additionCost = costNodeCS + costCustomerCS + endCost - travelCosts.at(this->currentNodeId).at(0);
    return additionCost;
}

// Assembly:
pushq %rax
movl %esi, %eax
movslq 0x70(%rdi), %rsi
leaq 0x67f6(%rip), %rdx      # 0x9198
movq (%rdx), %rcx
movq 0x8(%rdx), %rdi
subq %rcx, %rdi
sarq $0x3, %rdi
movabsq $-0x5555555555555555, %rdx # imm = 0xAAAAAAAAAAAAAAAB
imulq %rdi, %rdx
cmpq %rsi, %rdx
jbe 0x2a19
leaq (%rsi,%rsi,2), %r8
movslq %eax, %rsi
movq (%rcx,%r8,8), %rdi
movq 0x8(%rcx,%r8,8), %rax
subq %rdi, %rax
sarq $0x3, %rax
cmpq %rsi, %rax
jbe 0x2a22
leaq 0x10(%rsp), %rax
movslq (%rax), %rax
cmpq %rax, %rdx
jbe 0x2a2e
leaq (%rax,%rax,2), %rdx
movq (%rcx,%rdx,8), %rax
movq 0x8(%rcx,%rdx,8), %rdx
subq %rax, %rdx
sarq $0x3, %rdx
cmpq %rsi, %rdx
jbe 0x2a19
movsd (%rdi,%rsi,8), %xmm0
addsd (%rax,%rsi,8), %xmm0
addsd (%rax), %xmm0
subsd (%rdi), %xmm0
popq %rax
retq
leaq 0x360c(%rip), %rdi      # 0x602c
jmp 0x2a38
leaq 0x3603(%rip), %rdi      # 0x602c
movq %rax, %rdx
jmp 0x2a38
leaq 0x35f7(%rip), %rdi      # 0x602c
movq %rax, %rsi
xorl %eax, %eax
callq 0x21e0
nop
// File: /workspace/github_cpp_makefile_star2_O1/DivyanshuSaxena[P]green-vrp/./Classes.h
// Function: Customer::findNearestCS()
int findNearestCS() {
		double minCost = -1;
		int nearestCS = -1;
		for(int id = csStartId; id <= csEndId; id++) {
			double cost = travelCosts.at(id).at(this->id);
			if ((minCost > cost) || nearestCS == -1) {
				nearestCS = id;
				minCost = cost;
			} 
		}
		return nearestCS;
	}

// Assembly:
pushq %rax
leaq 0x5ae6(%rip), %rax      # 0x9184
movslq (%rax), %rsi
leaq 0x5ae0(%rip), %rax      # 0x9188
movl (%rax), %r8d
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
cmpl %r8d, %esi
jg 0x3753
leaq 0x5ad8(%rip), %rax      # 0x9198
movq (%rax), %r9
movq 0x8(%rax), %rax
subq %r9, %rax
sarq $0x3, %rax
movabsq $-0x5555555555555555, %rdx # imm = 0xAAAAAAAAAAAAAAAB
imulq %rax, %rdx
movslq (%rdi), %rcx
incl %r8d
leaq (%rsi,%rsi,2), %rax
leaq (%r9,%rax,8), %rdi
addq $0x8, %rdi
movl $0xffffffff, %r10d      # imm = 0xFFFFFFFF
movsd 0x2914(%rip), %xmm0     # 0x6010
movq %rsi, %r9
cmpq %r9, %rdx
jbe 0x3764
movq -0x8(%rdi), %r11
movq (%rdi), %rax
subq %r11, %rax
sarq $0x3, %rax
cmpq %rcx, %rax
jbe 0x3755
movsd (%r11,%rcx,8), %xmm1
ucomisd %xmm1, %xmm0
seta %al
cmpl $-0x1, %r10d
sete %r11b
orb %al, %r11b
movl %r9d, %eax
testb %r11b, %r11b
jne 0x373a
movl %r10d, %eax
jne 0x3740
movapd %xmm0, %xmm1
incq %r9
addq $0x18, %rdi
movapd %xmm1, %xmm0
movl %eax, %r10d
cmpl %r9d, %r8d
jne 0x36ff
popq %rcx
retq
leaq 0x28d0(%rip), %rdi      # 0x602c
movq %rcx, %rsi
movq %rax, %rdx
jmp 0x3772
cmpq %rsi, %rdx
cmovaq %rdx, %rsi
leaq 0x28ba(%rip), %rdi      # 0x602c
xorl %eax, %eax
callq 0x21e0
nop
// File: /workspace/github_cpp_makefile_star2_O1/DivyanshuSaxena[P]green-vrp/Main.cpp
// Function: checknewCustomerCost(int, int)
double checknewCustomerCost(int id1,int id2){
	double waitingcostid12,travellingcostid12; //id1--id2
    double factor = vehicles.at(currentvehicle).type == 1? unitTransCost1 : unitTransCost2;	
	travellingcostid12=travelDistance[id1][id2] * factor;

	time_type currDeptTime = vehicles.at(currentvehicle).route.at(vehicles.at(currentvehicle).route.size()-2).departure_time;
	if((travelTimes.at(id1).at(id2) + currDeptTime) < customers.at(id2).timeWindowStarts){
		waitingcostid12=(customers.at(id2).timeWindowStarts - (travelTimes.at(id1).at(id2) + currDeptTime)) * 24; //no varible here just value check agan
	}
	else{
		waitingcostid12= 0; 	
	}

	double totalcostid12=waitingcostid12+travellingcostid12;
	return totalcostid12;
}

// Assembly:
pushq %rbx
movl %esi, %eax
movslq 0x3dfe(%rip), %rsi      # 0x92c0
movq 0x3d4f(%rip), %rcx      # 0x9218
movq 0x3d40(%rip), %r8       # 0x9210
subq %r8, %rcx
sarq $0x3, %rcx
movabsq $-0x1111111111111111, %rdx # imm = 0xEEEEEEEEEEEEEEEF
imulq %rcx, %rdx
cmpq %rsi, %rdx
jbe 0x55f2
imulq $0x78, %rsi, %r9
movq 0x10(%r8,%r9), %rdx
movq 0x8(%r8,%r9), %r10
subq %r10, %rdx
sarq $0x3, %rdx
movabsq $-0x5555555555555555, %r11 # imm = 0xAAAAAAAAAAAAAAAB
imulq %r11, %rdx
leaq -0x2(%rdx), %rsi
cmpq $0x1, %rdx
jbe 0x55f2
movslq %edi, %rcx
movq 0x3ca7(%rip), %rdx      # 0x91d0
movq 0x3c98(%rip), %rbx      # 0x91c8
subq %rbx, %rdx
sarq $0x3, %rdx
imulq %r11, %rdx
cmpq %rcx, %rdx
jbe 0x5607
leaq (%rcx,%rcx,2), %rdi
cltq
movq (%rbx,%rdi,8), %rcx
movq 0x8(%rbx,%rdi,8), %rdx
subq %rcx, %rdx
sarq $0x3, %rdx
cmpq %rax, %rdx
jbe 0x55fb
movq 0x3c96(%rip), %rbx      # 0x9200
movq 0x3c87(%rip), %r11      # 0x91f8
subq %r11, %rbx
sarq $0x3, %rbx
movabsq $0x6db6db6db6db6db7, %rdx # imm = 0x6DB6DB6DB6DB6DB7
imulq %rbx, %rdx
cmpq %rax, %rdx
jbe 0x55fb
movq 0x3c1e(%rip), %rdx      # 0x91b0
movq (%rdx,%rdi,8), %rdx
movsd (%rdx,%rax,8), %xmm1
leaq (%rsi,%rsi,2), %rdx
movsd 0x10(%r10,%rdx,8), %xmm2
addsd (%rcx,%rax,8), %xmm2
imulq $0x38, %rax, %rax
movsd 0x28(%r11,%rax), %xmm0
movapd %xmm0, %xmm3
subsd %xmm2, %xmm3
mulsd 0xad2(%rip), %xmm3      # 0x6098
cmpltsd %xmm0, %xmm2
andpd %xmm3, %xmm2
cmpl $0x1, (%r8,%r9)
je 0x55e0
movsd 0x3c92(%rip), %xmm0     # 0x9270
jmp 0x55e8
movsd 0x3c80(%rip), %xmm0     # 0x9268
mulsd %xmm1, %xmm0
addsd %xmm2, %xmm0
popq %rbx
retq
leaq 0xa33(%rip), %rdi       # 0x602c
jmp 0x5611
leaq 0xa2a(%rip), %rdi       # 0x602c
movq %rax, %rsi
jmp 0x5611
leaq 0xa1e(%rip), %rdi       # 0x602c
movq %rcx, %rsi
xorl %eax, %eax
callq 0x21e0
// File: /workspace/github_cpp_makefile_star2_O1/adamiaonr[P]rid-analytics/src/pugixml.cpp
// Function: bool pugi::impl::(anonymous namespace)::set_value_integer<char*, unsigned long, int>(char*&, unsigned long&, unsigned long, int)
PUGI__FN char_t* integer_to_string(char_t* begin, char_t* end, T value)
	{
		typedef typename make_unsigned<T>::type U;

		bool negative = value < 0;

		char_t* result = end - 1;
		U rest = negative ? 0 - U(value) : U(value);

		do
		{
			*result-- = static_cast<char_t>('0' + (rest % 10));
			rest /= 10;
		}
		while (rest);

		assert(result >= begin);
		(void)begin;

		*result = '-';

		return result + !negative;
	}

// Assembly:
pushq %rbx
subq $0x40, %rsp
leaq 0x3f(%rsp), %rcx
movl %edx, %eax
negl %eax
cmovsl %edx, %eax
movl $0x1, %r8d
movl $0xcccccccd, %r9d       # imm = 0xCCCCCCCD
movl %eax, %r10d
imulq %r9, %r10
shrq $0x23, %r10
leal (%r10,%r10), %r11d
leal (%r11,%r11,4), %r11d
movl %eax, %ebx
subl %r11d, %ebx
orb $0x30, %bl
movb %bl, (%rcx)
decq %rcx
incq %r8
cmpl $0x9, %eax
movl %r10d, %eax
ja 0x65e8
movq %rsp, %rax
cmpq %rax, %rcx
jb 0x663b
xorl %eax, %eax
testl %edx, %edx
setns %al
movb $0x2d, (%rcx)
addq %rax, %rcx
subq %rax, %r8
movl $0x10, %edx
callq 0x636a
addq $0x40, %rsp
popq %rbx
retq
leaq 0x2a5b3(%rip), %rdi     # 0x30bf5
leaq 0x2717c(%rip), %rsi     # 0x2d7c5
leaq 0x2a5b5(%rip), %rcx     # 0x30c05
movl $0x11fa, %edx           # imm = 0x11FA
callq 0x4270
// File: /workspace/github_cpp_makefile_star2_O1/adamiaonr[P]rid-analytics/src/pugixml.cpp
// Function: bool pugi::impl::(anonymous namespace)::set_value_integer<char*, unsigned long, long>(char*&, unsigned long&, unsigned long, long)
PUGI__FN bool set_value_integer(String& dest, Header& header, uintptr_t header_mask, Integer value)
	{
		char_t buf[64];
		char_t* end = buf + sizeof(buf) / sizeof(buf[0]);
		char_t* begin = integer_to_string(buf, end, value);

		return strcpy_insitu(dest, header, header_mask, begin, end - begin);
	}

// Assembly:
pushq %rbx
subq $0x40, %rsp
movq %rdx, %r9
leaq 0x3f(%rsp), %rcx
movq %rdx, %r10
negq %r10
cmovsq %rdx, %r10
movl $0x1, %r8d
movabsq $-0x3333333333333333, %r11 # imm = 0xCCCCCCCCCCCCCCCD
movq %r10, %rax
mulq %r11
shrq $0x3, %rdx
leal (%rdx,%rdx), %eax
leal (%rax,%rax,4), %eax
movl %r10d, %ebx
subl %eax, %ebx
orb $0x30, %bl
movb %bl, (%rcx)
decq %rcx
incq %r8
cmpq $0x9, %r10
movq %rdx, %r10
ja 0x6700
movq %rsp, %rax
cmpq %rax, %rcx
jb 0x6751
movb $0x2d, (%rcx)
notq %r9
shrq $0x3f, %r9
addq %r9, %rcx
subq %r9, %r8
movl $0x10, %edx
callq 0x636a
addq $0x40, %rsp
popq %rbx
retq
leaq 0x2a49d(%rip), %rdi     # 0x30bf5
leaq 0x27066(%rip), %rsi     # 0x2d7c5
leaq 0x2a564(%rip), %rcx     # 0x30cca
movl $0x11fa, %edx           # imm = 0x11FA
callq 0x4270
// File: /workspace/github_cpp_makefile_star2_O1/adamiaonr[P]rid-analytics/src/pugixml.cpp
// Function: pugi::xml_node::append_buffer(void const*, unsigned long, unsigned int, pugi::xml_encoding)
PUGI__FN xml_parse_result xml_node::append_buffer(const void* contents, size_t size, unsigned int options, xml_encoding encoding)
	{
		// append_buffer is only valid for elements/documents
		if (!impl::allow_insert_child(type(), node_element)) return impl::make_parse_result(status_append_invalid_root);

		// get document node
		impl::xml_document_struct* doc = &impl::get_document(_root);

		// disable document_buffer_order optimization since in a document with multiple buffers comparing buffer pointers does not make sense
		doc->header |= impl::xml_memory_page_contents_shared_mask;

		// get extra buffer element (we'll store the document fragment buffer there so that we can deallocate it later)
		impl::xml_memory_page* page = 0;
		impl::xml_extra_buffer* extra = static_cast<impl::xml_extra_buffer*>(doc->allocate_memory(sizeof(impl::xml_extra_buffer), page));
		(void)page;

		if (!extra) return impl::make_parse_result(status_out_of_memory);

		// add extra buffer to the list
		extra->buffer = 0;
		extra->next = doc->extra_buffers;
		doc->extra_buffers = extra;

		// name of the root has to be NULL before parsing - otherwise closing node mismatches will not be detected at the top level
		impl::name_null_sentry sentry(_root);

		return impl::load_buffer_impl(doc, _root, const_cast<void*>(contents), size, options, encoding, false, false, &extra->buffer);
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
movq (%rsi), %rax
testq %rax, %rax
je 0x8d35
movq %rcx, %r15
movl (%rax), %ecx
andl $0xf, %ecx
decl %ecx
cmpl $0x2, %ecx
jae 0x8d35
testq %rax, %rax
je 0x8d94
movl %r9d, %r11d
movl %r8d, %ebp
movq %rdx, %r12
movq %rsi, %r13
movq (%rax), %rcx
shrq $0x8, %rcx
negq %rcx
movq (%rax,%rcx), %r14
orq $0x40, -0x40(%r14)
movq $0x0, 0x8(%rsp)
movq 0x8(%r14), %rax
leaq 0x10(%rax), %rcx
cmpq $0x7fd9, %rcx           # imm = 0x7FD9
jae 0x8d73
movq (%r14), %rdx
addq %rdx, %rax
addq $0x28, %rax
movq %rcx, 0x8(%r14)
movq %rdx, 0x8(%rsp)
testq %rax, %rax
je 0x8d5c
leaq -0x40(%r14), %rsi
xorl %r10d, %r10d
movq %r10, (%rax)
movq 0x18(%r14), %rcx
movq %rcx, 0x8(%rax)
movq %rax, 0x18(%r14)
movq (%r13), %r14
movq 0x8(%r14), %r13
movq %r10, 0x8(%r14)
movq %rbx, %rdi
movq %r14, %rdx
movq %r12, %rcx
movq %r15, %r8
movl %ebp, %r9d
pushq %rax
pushq %r10
pushq %r10
pushq %r11
callq 0x8dbf
addq $0x20, %rsp
movq %r13, 0x8(%r14)
jmp 0x8d4a
movq $0x0, 0x8(%rbx)
movl $0x0, 0x10(%rbx)
movl $0xf, (%rbx)
movq %rbx, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq $0x0, 0x8(%rbx)
movl $0x0, 0x10(%rbx)
movl $0x3, (%rbx)
jmp 0x8d4a
leaq 0x8(%rsp), %rdx
movl $0x10, %esi
movq %r14, %rdi
movq %r11, 0x10(%rsp)
callq 0x10a04
movq 0x10(%rsp), %r11
jmp 0x8ce9
leaq 0x25403(%rip), %rdi     # 0x2e19e
leaq 0x24a23(%rip), %rsi     # 0x2d7c5
leaq 0x280c4(%rip), %rcx     # 0x30e6d
movl $0x479, %edx            # imm = 0x479
callq 0x4270
movq %r13, 0x8(%r14)
movq %rax, %rdi
callq 0x4700