LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O3/ArashPartow[P]exprtk/./exprtk.hpp
// Function: exprtk::results_context<double>::get_string(unsigned long const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&) const
inline bool get_string(const std::size_t& index, std::string& out) const
      {
         if (
              (index < parameter_list_.size()) &&
              (parameter_list_[index].type == type_store_t::e_string)
            )
         {
            const string_t str(parameter_list_[index]);
            out.assign(str.begin(),str.size());
            return true;
         }

         return false;
      }

// Assembly:
movq (%rsi), %rcx
movq 0x8(%rdi), %rax
movq 0x10(%rdi), %rsi
subq %rax, %rsi
sarq $0x3, %rsi
movabsq $-0x5555555555555555, %rdi # imm = 0xAAAAAAAAAAAAAAAB
imulq %rsi, %rdi
cmpq %rdi, %rcx
jae 0x388044
leaq (%rcx,%rcx,2), %rcx
cmpl $0x3, 0x10(%rax,%rcx,8)
jne 0x388044
pushq %rax
leaq (%rax,%rcx,8), %rax
movq (%rax), %rcx
movq 0x8(%rax), %r8
movq 0x8(%rdx), %rax
movq %rdx, %rdi
xorl %esi, %esi
movq %rax, %rdx
callq 0x11e290
movb $0x1, %al
addq $0x8, %rsp
retq
xorl %eax, %eax
retq
// File: /workspace/github_cpp_makefile_star2_O3/ArashPartow[P]exprtk/./exprtk.hpp
// Function: exprtk::parser_error::to_str[abi:cxx11](exprtk::parser_error::error_mode)
inline std::string to_str(error_mode mode)
      {
         switch (mode)
         {
            case e_unknown : return std::string("Unknown Error");
            case e_syntax  : return std::string("Syntax Error" );
            case e_token   : return std::string("Token Error"  );
            case e_numeric : return std::string("Numeric Error");
            case e_symtab  : return std::string("Symbol Error" );
            case e_lexer   : return std::string("Lexer Error"  );
            case e_helper  : return std::string("Helper Error" );
            case e_parser  : return std::string("Parser Error" );
            default        : return std::string("Unknown Error");
         }
      }

// Assembly:
pushq %rbx
movq %rdi, %rbx
leaq 0x10(%rdi), %rax
movq %rax, (%rdi)
cmpl $0x9, %esi
ja 0x38818b
movl %esi, %eax
leaq 0x598a(%rip), %rcx      # 0x38db0c
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x3a7a8(%rip), %rsi     # 0x3c293a
leaq 0x3a7ae(%rip), %rdx     # 0x3c2947
jmp 0x388209
leaq 0x3a7da(%rip), %rsi     # 0x3c297c
leaq 0x3a7de(%rip), %rdx     # 0x3c2987
jmp 0x388209
leaq 0x3a796(%rip), %rsi     # 0x3c2948
leaq 0x3a79b(%rip), %rdx     # 0x3c2954
jmp 0x388209
leaq 0x3a7c6(%rip), %rsi     # 0x3c2988
leaq 0x3a7cb(%rip), %rdx     # 0x3c2994
jmp 0x388209
leaq 0x3a7c3(%rip), %rsi     # 0x3c2995
leaq 0x3a7c8(%rip), %rdx     # 0x3c29a1
jmp 0x388209
leaq 0x3a773(%rip), %rsi     # 0x3c2955
leaq 0x3a777(%rip), %rdx     # 0x3c2960
jmp 0x388209
leaq 0x3a76f(%rip), %rsi     # 0x3c2961
leaq 0x3a775(%rip), %rdx     # 0x3c296e
jmp 0x388209
leaq 0x3a76d(%rip), %rsi     # 0x3c296f
leaq 0x3a772(%rip), %rdx     # 0x3c297b
movq %rbx, %rdi
callq 0x1e4740
movq %rbx, %rax
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O3/sorazy[P]canny/HashMap.cpp
// Function: HashMap::contains(int, int)
int HashMap::contains(int a, int b)
{
	Point *temp = new Point(a, b);
	int hash = this->hash(temp);

	for (int i = 0; this->table[hash % this->capacity] != NULL; i++)
	{
		temp = this->table[hash % this->capacity];
		if (temp->x == a && temp->y == b)
			return 1;
		else
			hash += 2 * i + 1;
	}

	return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movl %edx, %ecx
leal 0x25(%rcx), %eax
leal (%rsi,%rsi,8), %edx
leal (%rsi,%rdx,2), %r8d
addl $0x5dd, %r8d            # imm = 0x5DD
imull %eax, %r8d
addl $0x19189, %r8d          # imm = 0x19189
movq (%rdi), %r9
movl 0xc(%rdi), %edi
movl %r8d, %eax
cltd
idivl %edi
movslq %edx, %rax
movq (%r9,%rax,8), %rax
testq %rax, %rax
je 0x3d52
xorl %r10d, %r10d
cmpl %esi, (%rax)
jne 0x3d36
cmpl %ecx, 0x4(%rax)
je 0x3d56
addl %r10d, %r8d
incl %r8d
movl %r8d, %eax
cltd
idivl %edi
movslq %edx, %rax
movq (%r9,%rax,8), %rax
addl $0x2, %r10d
testq %rax, %rax
jne 0x3d2d
xorl %eax, %eax
jmp 0x3d5b
movl $0x1, %eax
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/sorazy[P]canny/HashMap.cpp
// Function: HashMap::insert(int, int)
void HashMap::insert(int a, int b)
{
	// Disallow duplicates
	if (this->contains(a, b))
		return;

	Point *newPoint = new Point(a, b);
	int hash = this->hash(newPoint);

	if (this->size > this->capacity / 2)
		this->expand();

	for (int i = 0; this->table[hash % this->capacity] != NULL; i++)
		hash += 2 * i + 1;

	this->table[hash % this->capacity] = newPoint;
	this->size++;

	return;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl %edx, %r12d
movl %esi, %r15d
movq %rdi, %rbx
callq 0x3cf0
testl %eax, %eax
jne 0x3e02
movl $0x8, %edi
callq 0x2170
movq %rax, %r14
movl %r15d, (%rax)
movl %r12d, 0x4(%rax)
addl $0x25, %r12d
leal (%r15,%r15,8), %eax
leal (%r15,%rax,2), %r15d
addl $0x5dd, %r15d           # imm = 0x5DD
imull %r12d, %r15d
addl $0x19189, %r15d         # imm = 0x19189
movl 0xc(%rbx), %ecx
movl %ecx, %eax
shrl $0x1f, %eax
addl %ecx, %eax
sarl %eax
cmpl %eax, 0x8(%rbx)
jle 0x3dcd
movq %rbx, %rdi
callq 0x3e0c
movl 0xc(%rbx), %ecx
movq (%rbx), %rsi
movl %r15d, %eax
cltd
idivl %ecx
movslq %edx, %rax
cmpq $0x0, (%rsi,%rax,8)
je 0x3dfb
xorl %edi, %edi
addl %edi, %r15d
incl %r15d
movl %r15d, %eax
cltd
idivl %ecx
movslq %edx, %rax
addl $0x2, %edi
cmpq $0x0, (%rsi,%rax,8)
jne 0x3de2
movq %r14, (%rsi,%rax,8)
incl 0x8(%rbx)
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/sorazy[P]canny/HashMap.cpp
// Function: HashMap::printTable()
void HashMap::printTable(void)
{
	Point *temp;

	for (int i = 0; i < this->size; i++)
	{
		temp = this->table[i];
		if (temp == NULL)
			cout << "NULL, ";
		else
			cout << "(" << temp->x << ", " << temp->y << "), ";
	}

	cout << endl << "size is : " << this->size << " and capacity: " << this->capacity << endl;
	return;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
cmpl $0x0, 0x8(%rdi)
jle 0x3f48
xorl %r13d, %r13d
movq 0x310f(%rip), %r14      # 0x6fd8
movq (%rbx), %rax
movq (%rax,%r13,8), %r15
testq %r15, %r15
je 0x3f28
movl $0x1, %edx
movq %r14, %rdi
leaq 0x1327(%rip), %rsi      # 0x520b
callq 0x21a0
movl (%r15), %esi
movq %r14, %rdi
callq 0x2260
movq %rax, %r12
movl $0x2, %edx
movq %rax, %rdi
leaq 0x1308(%rip), %rsi      # 0x520e
callq 0x21a0
movl 0x4(%r15), %esi
movq %r12, %rdi
callq 0x2260
movl $0x3, %edx
movq %rax, %rdi
leaq 0x12e7(%rip), %rsi      # 0x520d
jmp 0x3f37
movl $0x6, %edx
movq %r14, %rdi
leaq 0x12cd(%rip), %rsi      # 0x5204
callq 0x21a0
incq %r13
movslq 0x8(%rbx), %rax
cmpq %rax, %r13
jl 0x3ec9
movq 0x3089(%rip), %r14      # 0x6fd8
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x2160
movsbl %al, %esi
movq %r14, %rdi
callq 0x2040
movq %rax, %rdi
callq 0x2100
movq %rax, %r14
leaq 0x1291(%rip), %rsi      # 0x5211
movl $0xa, %edx
movq %rax, %rdi
callq 0x21a0
movl 0x8(%rbx), %esi
movq %r14, %rdi
callq 0x2260
movq %rax, %r14
leaq 0x127a(%rip), %rsi      # 0x521c
movl $0xf, %edx
movq %rax, %rdi
callq 0x21a0
movl 0xc(%rbx), %esi
movq %r14, %rdi
callq 0x2260
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2160
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2040
movq %rax, %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x2100
// File: /workspace/github_cpp_makefile_star2_O3/bchu7796[P]p2p-file-sharing/server_main.cpp
// Function: main
int main(void){
    server server_instance;
    if(server_instance.execute()!= 0){
        perror("server execution fault");
    }
    return 0;
}

// Assembly:
pushq %rax
leaq 0x7(%rsp), %rdi
callq 0x3046
testl %eax, %eax
jne 0x248f
xorl %eax, %eax
popq %rcx
retq
leaq 0x2b6e(%rip), %rdi      # 0x5004
callq 0x2180
jmp 0x248b
nopl (%rax)
// File: /workspace/github_cpp_makefile_star2_O3/bchu7796[P]p2p-file-sharing/server.cpp
// Function: server::execute()
int server::execute(void){
    server myserver;
    int process_fd;
    int server_fd;
    struct sockaddr_in server_address, client_address;
    //create socket
    if((server_fd = socket(AF_INET, SOCK_STREAM, 0)) < 0){
        perror("Failed to create socket"); 
        exit(0);
    }

    //initailize address structure
    bzero(&server_address, sizeof(server_address));
    server_address.sin_family = PF_INET; 
    server_address.sin_addr.s_addr = INADDR_ANY; 
    server_address.sin_port = htons(SERVER_PORT); 

    //bind socket
    if(bind(server_fd, (struct sockaddr*) &server_address, sizeof(server_address)) < 0){
        perror("Failed to bind"); 
        exit(0);
    }

    //listen socket
    if(listen(server_fd, 5) < 0){
        perror("Failed to listen"); 
        exit(0);
    }


    while(1){
        int client_address_length = sizeof(client_address);
        if((process_fd = accept(server_fd,(struct sockaddr*) &client_address, (socklen_t *) &client_address_length)) < 0){
            perror("Failed to accept"); 
            exit(0);
        }
        uint32_t request_type;
        recv(process_fd, &request_type, sizeof(request_type), 0);
        //use multi-thread to handle requests
        std::thread tid(&server::handle_request, myserver, process_fd, request_type, client_address);
        tid.detach();
        //handle_request(process_fd, request_type, client_address);
    }
    return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movl $0x2, %edi
movl $0x1, %esi
xorl %edx, %edx
callq 0x2050
testl %eax, %eax
jns 0x3075
leaq 0x201f(%rip), %rdi      # 0x508f
jmp 0x3175
movl %eax, %ebx
leaq 0x48(%rsp), %rsi
movq $0x0, 0x8(%rsi)
movl $0x901f0002, %eax       # imm = 0x901F0002
movq %rax, (%rsi)
movl %ebx, %edi
movl $0x10, %edx
callq 0x2040
testl %eax, %eax
jns 0x30a8
leaq 0x2004(%rip), %rdi      # 0x50a7
jmp 0x3175
movl %ebx, %edi
movl $0x5, %esi
callq 0x21f0
testl %eax, %eax
jns 0x30c4
leaq 0x1ff7(%rip), %rdi      # 0x50b6
jmp 0x3175
leaq 0x10(%rsp), %rdx
movl $0x10, (%rdx)
leaq 0x38(%rsp), %rsi
movl %ebx, %edi
callq 0x2070
movl %eax, 0x14(%rsp)
testl %eax, %eax
js 0x316e
leaq 0x24(%rsp), %r14
leaq 0x18(%rsp), %r15
leaq 0x14(%rsp), %rbp
leaq 0x38(%rsp), %r12
leaq 0x10(%rsp), %r13
movl $0x4, %edx
movl %eax, %edi
movq %r14, %rsi
xorl %ecx, %ecx
callq 0x2080
leaq -0x104(%rip), %rax      # 0x3014
movq %rax, 0x28(%rsp)
movq $0x0, 0x30(%rsp)
movq %r15, %rdi
leaq 0x28(%rsp), %rsi
leaq 0xf(%rsp), %rdx
movq %rbp, %rcx
movq %r14, %r8
movq %r12, %r9
callq 0x33aa
movq %r15, %rdi
callq 0x2280
cmpq $0x0, 0x18(%rsp)
jne 0x3191
movl $0x10, 0x10(%rsp)
movl %ebx, %edi
movq %r12, %rsi
movq %r13, %rdx
callq 0x2070
movl %eax, 0x14(%rsp)
testl %eax, %eax
jns 0x3100
leaq 0x1f52(%rip), %rdi      # 0x50c7
callq 0x2180
xorl %edi, %edi
callq 0x2210
cmpq $0x0, 0x18(%rsp)
jne 0x3191
movq %rax, %rdi
callq 0x2290
callq 0x2060
// File: /workspace/github_cpp_makefile_star2_O3/lemire[P]validateutf8-experiments/tests/unit.cpp
// Function: display(std::vector<unsigned char, std::allocator<unsigned char>> const&)
void display(const std::vector<uint8_t> & string) {
  printf("[");
  for(size_t i = 0; i < string.size(); i++) {
    printf("0x%02x", string[i]);
    if(i + 1 < string.size()) printf(",");
  }
  printf("]");
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
movl $0x5b, %edi
callq 0x2160
movq (%rbx), %rax
cmpq %rax, 0x8(%rbx)
je 0x5c83
leaq 0x2b3a(%rip), %r14      # 0x8780
xorl %r15d, %r15d
movzbl (%rax,%r15), %esi
movq %r14, %rdi
xorl %eax, %eax
callq 0x2030
incq %r15
movq (%rbx), %rax
movq 0x8(%rbx), %rcx
subq %rax, %rcx
cmpq %rcx, %r15
jae 0x5c7e
movl $0x2c, %edi
callq 0x2160
movq (%rbx), %rax
movq 0x8(%rbx), %rcx
subq %rax, %rcx
cmpq %rcx, %r15
jb 0x5c49
movl $0x5d, %edi
popq %rbx
popq %r14
popq %r15
jmp 0x2160
// File: /workspace/github_cpp_makefile_star2_O3/lemire[P]validateutf8-experiments/tests/unit.cpp
// Function: twobytetest()
void twobytetest() {
  // this should not validate
  const char * twobyte = "\xcf\xcf\xcf";
  if(active_fastvalidate::lookup2::validate(twobyte, 3) != fastvalidate::error_code::UTF8_ERROR) {
        printf("twobytetest bug\n");
        abort();
  }
  if(active_fastvalidate::lookup3::validate(twobyte, 3) != fastvalidate::error_code::UTF8_ERROR) {
        printf("twobytetest bug\n");
        abort();
  }  
  if(active_fastvalidate::lookup4::validate(twobyte, 3) != fastvalidate::error_code::UTF8_ERROR) {
        printf("twobytetest bug\n");
        abort();
  }  
}

// Assembly:
pushq %rax
leaq 0x20ef(%rip), %rdi      # 0x888a
movl $0x3, %esi
callq 0x550c
cmpl $0x1, %eax
jne 0x67d8
leaq 0x20d9(%rip), %rdi      # 0x888a
movl $0x3, %esi
callq 0x5511
cmpl $0x1, %eax
jne 0x67d8
leaq 0x20c3(%rip), %rdi      # 0x888a
movl $0x3, %esi
callq 0x5516
cmpl $0x1, %eax
jne 0x67d8
popq %rax
retq
leaq 0x2349(%rip), %rdi      # 0x8b28
callq 0x2180
callq 0x20b0
// File: /workspace/github_cpp_makefile_star2_O3/lemire[P]validateutf8-experiments/tests/unit.cpp
// Function: main
int main() {
  brute_force_tests();
  twobytetest();
  test();
  return EXIT_SUCCESS;
}

// Assembly:
pushq %rax
callq 0x5c92
callq 0x6793
callq 0x67e9
xorl %eax, %eax
popq %rcx
retq
// File: /workspace/github_cpp_makefile_star2_O3/rofl0r[P]ascc/main.cpp
// Function: add_macro(char const*, char const*)
static void add_macro(const char *name, const char *value) {
	char buf[1024];
	sprintf(buf, "#define %s %s\n", name, value);
	buffer_append(&macrobuf, buf, strlen(buf));
	ccDefineMacro(name, value);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x400, %rsp            # imm = 0x400
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x15cc2(%rip), %rsi     # 0x1a2a6
movq %rsp, %r15
movq %r15, %rdi
movq %r14, %rdx
movq %rbx, %rcx
xorl %eax, %eax
callq 0x30d0
movq %r15, %rdi
callq 0x31a0
movq %rax, %r15
addq $0xfff, %r15            # imm = 0xFFF
andq $-0x1000, %r15          # imm = 0xF000
movq 0x20d81(%rip), %rdi     # 0x25398
movq %r15, %rsi
callq 0x3520
testq %rax, %rax
je 0x4632
movq %rax, 0x20d6d(%rip)     # 0x25398
movq %r15, 0x20d5e(%rip)     # 0x25390
movq %r14, %rdi
movq %rbx, %rsi
addq $0x400, %rsp            # imm = 0x400
popq %rbx
popq %r14
popq %r15
jmp 0x168f9
// File: /workspace/github_cpp_makefile_star2_O3/rofl0r[P]ascc/main.cpp
// Function: getbasename(char*)
static char *getbasename(char *filename) {
	char *q = strrchr(filename, '/');
	/* for windoze folks... */
	if(!q) q = strrchr(filename, '\\');
	if(q) q++;
	else q = filename;
	return q;
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movl $0x2f, %esi
callq 0x3360
testq %rax, %rax
jne 0x4669
movq %rbx, %rdi
movl $0x5c, %esi
callq 0x3360
leaq 0x1(%rax), %rcx
testq %rax, %rax
cmoveq %rbx, %rcx
movq %rcx, %rax
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O3/rofl0r[P]ascc/main.cpp
// Function: run_cpp(char*, char*)
static char *run_cpp(char *cppcmd, char* fc) {
	char *fn = tempfile();
	if(!fn) return 0;
	FILE *f = fopen(fn, "w");
	if(!f) return 0;
	fwrite(macrobuf.mem, 1, macrobuf.used, f);
	fwrite(fc, 1, strlen(fc), f);
	fclose(f);
	char buf[4096];
	sprintf(buf, "%s %s", cppcmd, fn);
	FILE *p = popen(buf, "r");
	if(!p) {
	cpp_err:
		fprintf(stderr, "error creating cpp process:");
		perror("");
		return 0;
	}
	struct buffer out;
	while(fgets(buf, sizeof buf, p))
		buffer_append(&out, buf, strlen(buf));
	int status = pclose(p);
	if(status == -1 || !WIFEXITED(status)) {
		goto cpp_err;
	}
	unlink(fn);
	free(fn);
	buffer_makestring(&out);
	return out.mem;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x1008, %rsp           # imm = 0x1008
movq %rsi, %r15
movq %rdi, %r14
callq 0x3adc
testq %rax, %rax
je 0x470f
movq %rax, %rbx
leaq 0x1834c(%rip), %rsi     # 0x1ca4e
movq %rax, %rdi
callq 0x33b0
testq %rax, %rax
jne 0x4720
xorl %eax, %eax
addq $0x1008, %rsp           # imm = 0x1008
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %r12
movq %r15, %rdi
callq 0x31a0
movl $0x1, %esi
movq %r15, %rdi
movq %rax, %rdx
movq %r12, %rcx
callq 0x35c0
movq %r12, %rdi
callq 0x3300
leaq 0x15ac6(%rip), %rsi     # 0x1a213
movq %rsp, %r15
movq %r15, %rdi
movq %r14, %rdx
movq %rbx, %rcx
xorl %eax, %eax
callq 0x30d0
leaq 0x18c5c(%rip), %rsi     # 0x1d3c3
movq %r15, %rdi
callq 0x3130
testq %rax, %rax
je 0x4793
movq %rax, %r14
movq %rsp, %rdi
movl $0x1000, %esi           # imm = 0x1000
movq %rax, %rdx
callq 0x34e0
movq %r14, %rdi
callq 0x3470
testb $0x7f, %al
je 0x47a0
movq %rsp, %rdi
callq 0x3803
jmp 0x470f
movq %rbx, %rdi
callq 0x31c0
// File: /workspace/github_cpp_makefile_star2_O3/rofl0r[P]ascc/cs_parser.cpp
// Function: yank_chunk(ccCompiledScript*, std::vector<ccChunk, std::allocator<ccChunk>>*, int, int)
void yank_chunk(ccCompiledScript *scrip, std::vector<ccChunk> *list, int codeoffset, int fixupoffset) {
    ccChunk item;
    int index;

    for(index = codeoffset; index < scrip->codesize; index++)
        item.code.push_back(scrip->code[index]);
    for(index = fixupoffset; index < scrip->numfixups; index++) {
        item.fixups.push_back(scrip->fixups[index]);
        item.fixuptypes.push_back(scrip->fixuptypes[index]);
    }
    item.codeoffset = codeoffset;
    item.fixupoffset = fixupoffset;
    list->push_back(item);
    scrip->codesize = codeoffset;
    scrip->numfixups = fixupoffset;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movl %ecx, %r13d
movl %edx, %ebp
movq %rsi, 0x60(%rsp)
movq %rdi, %r14
xorps %xmm0, %xmm0
movaps %xmm0, 0x40(%rsp)
movaps %xmm0, 0x30(%rsp)
movaps %xmm0, 0x20(%rsp)
movaps %xmm0, 0x10(%rsp)
movq $0x0, 0x50(%rsp)
cmpl %edx, 0x20(%rdi)
jle 0x4839
movslq %ebp, %rbx
leaq (,%rbx,4), %r15
leaq 0x10(%rsp), %r12
movq 0x18(%r14), %rdx
addq %r15, %rdx
movq 0x18(%rsp), %rsi
cmpq 0x20(%rsp), %rsi
je 0x4821
movl (%rdx), %eax
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x18(%rsp)
jmp 0x4829
movq %r12, %rdi
callq 0xfba8
incq %rbx
movslq 0x20(%r14), %rax
addq $0x4, %r15
cmpq %rax, %rbx
jl 0x47ff
movl %r13d, 0xc(%rsp)
cmpl %r13d, 0x48(%r14)
jle 0x48bb
leaq 0x28(%rsp), %r12
leaq 0x40(%rsp), %r13
movslq 0xc(%rsp), %r15
leaq (,%r15,4), %rbx
movq 0x40(%r14), %rdx
addq %rbx, %rdx
movq 0x30(%rsp), %rsi
cmpq 0x38(%rsp), %rsi
je 0x487d
movl (%rdx), %eax
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x30(%rsp)
jmp 0x4885
movq %r12, %rdi
callq 0xfba8
movq 0x38(%r14), %rdx
addq %r15, %rdx
movq 0x48(%rsp), %rsi
cmpq 0x50(%rsp), %rsi
je 0x48a3
movb (%rdx), %al
movb %al, (%rsi)
incq 0x48(%rsp)
jmp 0x48ab
movq %r13, %rdi
callq 0xfcc8
incq %r15
movslq 0x48(%r14), %rax
addq $0x4, %rbx
cmpq %rax, %r15
jl 0x485b
leaq 0x10(%rsp), %rsi
movl %ebp, 0x48(%rsi)
movl 0xc(%rsp), %ebx
movl %ebx, 0x4c(%rsi)
movq 0x60(%rsp), %rdi
callq 0xf880
movl %ebp, 0x20(%r14)
movl %ebx, 0x48(%r14)
movq 0x40(%rsp), %rdi
testq %rdi, %rdi
je 0x48f3
movq 0x50(%rsp), %rsi
subq %rdi, %rsi
callq 0x3320
movq 0x28(%rsp), %rdi
testq %rdi, %rdi
je 0x490a
movq 0x38(%rsp), %rsi
subq %rdi, %rsi
callq 0x3320
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x4921
movq 0x20(%rsp), %rsi
subq %rdi, %rsi
callq 0x3320
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x4934
jmp 0x4934
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0xf8aa
movq %rbx, %rdi
callq 0x3560
// File: /workspace/github_cpp_makefile_star2_O3/rofl0r[P]ascc/cs_parser.cpp
// Function: write_chunk(ccCompiledScript*, ccChunk)
void write_chunk(ccCompiledScript *scrip, ccChunk item) {
    int index;
    int limit;
    int adjust;

    scrip->flush_line_numbers();
    adjust = scrip->codesize - item.codeoffset;
    limit = item.code.size();
    for(index = 0; index < limit; index++) {
        scrip->write_code(item.code[index]);
    }
    limit = item.fixups.size();
    for(index = 0; index < limit; index++)
        scrip->add_fixup(item.fixups[index] + adjust, item.fixuptypes[index]);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
callq 0x13c16
movl 0x20(%r14), %ebp
subl 0x48(%rbx), %ebp
movq 0x8(%rbx), %r15
subq (%rbx), %r15
shrq $0x2, %r15
testl %r15d, %r15d
jle 0x4994
andl $0x7fffffff, %r15d      # imm = 0x7FFFFFFF
xorl %r12d, %r12d
movq (%rbx), %rax
movl (%rax,%r12,4), %esi
movq %r14, %rdi
callq 0x13412
incq %r12
cmpq %r12, %r15
jne 0x497d
movq 0x20(%rbx), %r15
subq 0x18(%rbx), %r15
shrq $0x2, %r15
testl %r15d, %r15d
jle 0x49d2
andl $0x7fffffff, %r15d      # imm = 0x7FFFFFFF
xorl %r12d, %r12d
movq 0x18(%rbx), %rax
movq 0x30(%rbx), %rcx
movl (%rax,%r12,4), %esi
addl %ebp, %esi
movsbl (%rcx,%r12), %edx
movq %r14, %rdi
callq 0x1376e
incq %r12
cmpq %r12, %r15
jne 0x49af
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/rofl0r[P]ascc/cs_parser.cpp
// Function: get_member_full_name(int, int)
const char *get_member_full_name(int structSym, int memberSym) {

    const char* memberName = sym.get_name(memberSym);

    // de-mangle name, if appropriate
    if (memberName[0] == '.')
        memberName = &memberName[1];

    sprintf(constructedMemberName, "%s::%s", sym.get_name(structSym), memberName);

    return constructedMemberName;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movl %edi, %ebx
leaq 0x20b97(%rip), %r14     # 0x256e0
movq %r14, %rdi
callq 0x124c6
xorl %r15d, %r15d
cmpb $0x2e, (%rax)
sete %r15b
addq %rax, %r15
movq %r14, %rdi
movl %ebx, %esi
callq 0x124c6
leaq 0x20841(%rip), %rbx     # 0x253b0
leaq 0x15dfa(%rip), %rsi     # 0x1a970
movq %rbx, %rdi
movq %rax, %rdx
movq %r15, %rcx
xorl %eax, %eax
callq 0x30d0
movq %rbx, %rax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/rofl0r[P]ascc/cs_parser.cpp
// Function: sym_find_or_add(symbolTable&, char const*)
int sym_find_or_add(symbolTable &sym, const char *sname) {
    int symdex = sym.find(sname);
    if (symdex < 0) {
        symdex = sym.add(sname);
    }
    return symdex;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
callq 0x11e22
testl %eax, %eax
js 0x4baa
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movq %r14, %rdi
movq %rbx, %rsi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x125d0
// File: /workspace/github_cpp_makefile_star2_O3/rofl0r[P]ascc/cs_parser.cpp
// Function: free_pointer(int, int, int, ccCompiledScript*)
void free_pointer(int spOffset, int zeroCmd, int arraySym, ccCompiledScript *scrip) {

    load_stack_variable(scrip, spOffset);
    scrip->write_cmd(zeroCmd);

    if ((sym.entries[arraySym].flags & (SFLG_ARRAY | SFLG_DYNAMICARRAY)) == SFLG_ARRAY) {
        // array of pointers -- release each one
        for (int ee = 1; ee < sym.entries[arraySym].arrsize; ee++) {
            scrip->write_cmd2(SCMD_ADD, SREG_MAR, 4);
            scrip->write_cmd(zeroCmd);
        }
    }

}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rcx, %rbx
movl %edx, %r14d
movl %esi, %ebp
movl %edi, %esi
movq %rcx, %rdi
callq 0x5216
movq %rbx, %rdi
movl %ebp, %esi
callq 0x1340c
movslq %r14d, %rcx
leaq 0x2052a(%rip), %r14     # 0x256e0
movq 0x28(%r14), %rax
imulq $0xb0, %rcx, %r15
movl $0x40002, %ecx          # imm = 0x40002
andl 0x28(%rax,%r15), %ecx
cmpl $0x2, %ecx
jne 0x520d
cmpq $0x2, 0x48(%rax,%r15)
jl 0x520d
movl $0x1, %r12d
movq %rbx, %rdi
movl $0x1, %esi
movl $0x2, %edx
movl $0x4, %ecx
callq 0x1348e
movq %rbx, %rdi
movl %ebp, %esi
callq 0x1340c
incq %r12
movq 0x28(%r14), %rax
cmpq %r12, 0x48(%rax,%r15)
jg 0x51de
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/rofl0r[P]ascc/cs_parser.cpp
// Function: load_stack_variable(ccCompiledScript*, int)
static void load_stack_variable(ccCompiledScript *scrip, int offset) {
	if(compiler_max_command >= SCMD_LOADSPOFFS) {
		scrip->write_cmd1(SCMD_LOADSPOFFS, offset);
	} else {
		scrip->write_cmd2(SCMD_REGTOREG,SREG_SP,SREG_MAR);
		scrip->write_cmd2(SCMD_SUB,SREG_MAR,offset);
	}
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movl %esi, %ebx
movq %rdi, %r14
cmpl $0x33, 0x200da(%rip)    # 0x25300
jl 0x523e
movq %r14, %rdi
movl $0x33, %esi
movl %ebx, %edx
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x1346e
movq %r14, %rdi
movl $0x3, %esi
movl $0x1, %edx
movl $0x2, %ecx
callq 0x1348e
movq %r14, %rdi
movl $0x2, %esi
movl $0x2, %edx
movl %ebx, %ecx
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x1348e
// File: /workspace/github_cpp_makefile_star2_O3/rofl0r[P]ascc/cs_parser.cpp
// Function: deal_with_end_of_do(long*, long*, ccCompiledScript*, ccInternalList*, int*)
int deal_with_end_of_do (long *nested_info, long *nested_start, ccCompiledScript *scrip, ccInternalList *targ, int *nestlevel) {
    int cursym;
    int nested_level;

    cursym = targ->getnext();
    nested_level = nestlevel[0];
    scrip->flush_line_numbers();
    if (sym.get_type(cursym) != SYM_WHILE) {
        cc_error("Do without while");
        return -1;
    }
    if (sym.get_type(targ->peeknext()) != SYM_OPENPARENTHESIS) {
        cc_error("expected '('");
        return -1;
    }
    scrip->flush_line_numbers();
    if (evaluate_expression(targ, scrip, 1, false))
        return -1;
    if (sym.get_type(targ->peeknext()) != SYM_SEMICOLON) {
        cc_error("expected ';'");
        return -1;
    }
    targ->getnext();
    // Jump back to the start of the loop while the condition is true
    scrip->write_cmd1(SCMD_JNZ, -((scrip->codesize + 2) - nested_start[nested_level]));
    // Write the correct location for the end of the loop
    scrip->code[nested_info[nested_level]] = (scrip->codesize - nested_info[nested_level]) - 1;
    nestlevel[0]--;

    return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r8, %rbx
movq %rcx, %r13
movq %rdx, %r14
movq %rsi, %r12
movq %rdi, (%rsp)
movq %rcx, %rdi
callq 0x10e44
movq %rax, %rbp
movslq (%rbx), %r15
movq %r14, %rdi
callq 0x13c16
leaq 0x1ff30(%rip), %rdi     # 0x256e0
movl %ebp, %esi
callq 0x1106e
cmpl $0x1f, %eax
jne 0x585a
movq %r13, %rdi
callq 0x10e06
leaq 0x1ff11(%rip), %rdi     # 0x256e0
movl %eax, %esi
callq 0x1106e
cmpl $0x5, %eax
jne 0x5863
movq %r14, %rdi
callq 0x13c16
movq %r13, %rdi
movq %r14, %rsi
movl $0x1, %edx
xorl %ecx, %ecx
callq 0x5897
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
testl %eax, %eax
jne 0x5876
movq %r13, %rdi
callq 0x10e06
leaq 0x1fecf(%rip), %rdi     # 0x256e0
movl %eax, %esi
callq 0x1106e
cmpl $0x28, %eax
jne 0x5887
movq %r13, %rdi
callq 0x10e44
movl (%r12,%r15,8), %edx
subl 0x20(%r14), %edx
addl $-0x2, %edx
movq %r14, %rdi
movl $0x46, %esi
callq 0x1346e
movq (%rsp), %rax
movq (%rax,%r15,8), %rax
movl %eax, %ecx
notl %ecx
addl 0x20(%r14), %ecx
movq 0x18(%r14), %rdx
movl %ecx, (%rdx,%rax,4)
decl (%rbx)
xorl %ebp, %ebp
jmp 0x5876
leaq 0x151c5(%rip), %rdi     # 0x1aa26
jmp 0x586a
leaq 0x151cd(%rip), %rdi     # 0x1aa37
xorl %eax, %eax
callq 0x102f4
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x151b6(%rip), %rdi     # 0x1aa44
xorl %eax, %eax
callq 0x102f4
jmp 0x5876
// File: /workspace/github_cpp_makefile_star2_O3/rofl0r[P]ascc/cs_parser.cpp
// Function: find_member_sym(int, long*, int)
int find_member_sym(int structSym, long *memSym, int allowProtected) {
    int oriname = *memSym;
    const char *possname = get_member_full_name(structSym, oriname);

    oriname = sym.find(possname);
    if (oriname < 0) {
        if (sym.entries[structSym].extends > 0) {
            // walk the inheritance tree to find the member
            if (find_member_sym(sym.entries[structSym].extends, memSym, allowProtected) == 0)
                return 0;
            // the inherited member was not found, so fall through to
            // the error message
        }
        cc_error("'%s' is not a public member of '%s'. Are you sure you spelt it correctly (remember, capital letters are important)?",sym.get_friendly_name(*memSym).c_str(),sym.get_friendly_name(structSym).c_str());
        return -1;
    }
    if ((!allowProtected) && (sym.entries[oriname].flags & SFLG_PROTECTED)) {
        cc_error("Cannot access protected member '%s'", sym.get_friendly_name(oriname).c_str());
        return -1;
    }
    *memSym = oriname;
    return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x48, %rsp
movl %edx, %r14d
movq %rsi, %rbx
movl %edi, %ebp
movl (%rsi), %esi
callq 0x4b3b
leaq 0x1f8ee(%rip), %r15     # 0x256e0
leaq 0x1f5b7(%rip), %rsi     # 0x253b0
movq %r15, %rdi
callq 0x11e22
testl %eax, %eax
js 0x5e2c
movl %eax, %ecx
testl %r14d, %r14d
jne 0x5e22
movq 0x28(%r15), %rdx
imulq $0xb0, %rcx, %rsi
testb $0x40, 0x29(%rdx,%rsi)
jne 0x5eb0
movq %rcx, (%rbx)
xorl %eax, %eax
jmp 0x5ef7
movslq %ebp, %rax
movq 0x28(%r15), %rcx
imulq $0xb0, %rax, %rax
movswl 0x50(%rcx,%rax), %edi
testl %edi, %edi
jle 0x5e52
movq %rbx, %rsi
movl %r14d, %edx
callq 0x5dd2
testl %eax, %eax
je 0x5e25
movl (%rbx), %edx
leaq 0x1f885(%rip), %r14     # 0x256e0
leaq 0x8(%rsp), %rbx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x11e2c
movq (%rbx), %rbx
leaq 0x28(%rsp), %rdi
movq %r14, %rsi
movl %ebp, %edx
callq 0x11e2c
movq 0x28(%rsp), %rdx
leaq 0x14bc8(%rip), %rdi     # 0x1aa51
movq %rbx, %rsi
xorl %eax, %eax
callq 0x102f4
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x5ed7
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x3320
jmp 0x5ed7
leaq 0x1f829(%rip), %rsi     # 0x256e0
leaq 0x8(%rsp), %rbx
movq %rbx, %rdi
movl %eax, %edx
callq 0x11e2c
movq (%rbx), %rsi
leaq 0x14bf5(%rip), %rdi     # 0x1aac5
xorl %eax, %eax
callq 0x102f4
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x5ef2
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3320
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
addq $0x48, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
jmp 0x5f24
movq %rax, %rbx
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x5f27
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x3320
jmp 0x5f27
movq %rax, %rbx
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x5f42
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3320
movq %rbx, %rdi
callq 0x3560
// File: /workspace/github_cpp_makefile_star2_O3/rofl0r[P]ascc/cs_parser.cpp
// Function: friendly_int_symbol[abi:cxx11](int, bool)
std::string friendly_int_symbol(int symidx, bool isNegative) {
    if (isNegative) {
        return "-" + sym.get_friendly_name(symidx);
    } else {
        return sym.get_friendly_name(symidx);
    }
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x28, %rsp
movl %edx, %eax
movl %esi, %edx
movq %rdi, %rbx
leaq 0x1f781(%rip), %rsi     # 0x256e0
testl %eax, %eax
je 0x5fab
leaq 0x8(%rsp), %r14
movq %r14, %rdi
callq 0x11e2c
leaq 0x16abf(%rip), %rcx     # 0x1ca36
movl $0x1, %r8d
movq %r14, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x3390
leaq 0x10(%rbx), %rdx
movq %rdx, (%rbx)
movq (%rax), %rsi
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rsi
je 0x5fb5
movq %rsi, (%rbx)
movq (%rcx), %rdx
movq %rdx, 0x10(%rbx)
jmp 0x5fbb
movq %rbx, %rdi
callq 0x11e2c
jmp 0x5fed
movups (%rcx), %xmm0
movups %xmm0, (%rdx)
movq 0x8(%rax), %rdx
movq %rdx, 0x8(%rbx)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x5fed
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3320
movq %rbx, %rax
addq $0x28, %rsp
popq %rbx
popq %r14
retq
movq %rax, %rbx
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6016
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3320
movq %rbx, %rdi
callq 0x3560
// File: /workspace/github_cpp_makefile_star2_O3/rofl0r[P]ascc/cs_parser.cpp
// Function: check_not_eof(ccInternalList&)
int check_not_eof(ccInternalList &targ) {
  if (targ.peeknext() == SCODE_INVALID) {
    // We are past the last symbol in the file
    targ.getnext();
    currentline = targ.lineAtEnd;
    cc_error("Unexpected end of file");
    return -1;
  }
  return 0;
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
callq 0x10e06
movq %rax, %rcx
xorl %eax, %eax
cmpq $-0x1, %rcx
jne 0x62a6
movq %rbx, %rdi
callq 0x10e44
movl 0x14(%rbx), %eax
leaq 0x1f50f(%rip), %rcx     # 0x257a0
movl %eax, (%rcx)
leaq 0x148d7(%rip), %rdi     # 0x1ab71
xorl %eax, %eax
callq 0x102f4
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O3/rofl0r[P]ascc/cs_parser.cpp
// Function: check_for_default_value(ccInternalList&, int, int)
int check_for_default_value(ccInternalList &targ, int funcsym, int numparams) {

    if (sym.get_type(targ.peeknext()) == SYM_ASSIGN) {
        // parameter has default value
        targ.getnext();
        int defValSym = targ.getnext();
        bool negateIt = false;

        if (sym.get_name(defValSym)[0] == '-') {
            // allow negative default value
            negateIt = true;
            defValSym = targ.getnext();
        }

        int defaultValue;

        // extract the default value
        if (accept_literal_or_constant_value(defValSym, defaultValue, negateIt, "Parameter default value must be literal") < 0) {
            return -1;
        }

        sym.entries[funcsym].funcParamDefaultValues[numparams % 100] = defaultValue;
        sym.entries[funcsym].funcParamHasDefaultValues[numparams % 100] = true;

    }

    return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %edx, %ebp
movl %esi, %r14d
movq %rdi, %r15
callq 0x10e06
leaq 0x1f419(%rip), %rdi     # 0x256e0
movl %eax, %esi
callq 0x1106e
xorl %ebx, %ebx
cmpl $0x19, %eax
jne 0x63c4
movq %r15, %rdi
callq 0x10e44
movq %r15, %rdi
callq 0x10e44
movq %rax, %r13
leaq 0x1f3ed(%rip), %rdi     # 0x256e0
movl %r13d, %esi
callq 0x124c6
movb (%rax), %r12b
cmpb $0x2d, %r12b
jne 0x630f
movq %r15, %rdi
callq 0x10e44
movq %rax, %r13
xorl %edx, %edx
cmpb $0x2d, %r12b
sete %dl
leaq 0x14869(%rip), %rcx     # 0x1ab88
leaq 0x4(%rsp), %rsi
movl %r13d, %edi
callq 0x601e
testl %eax, %eax
js 0x63bf
movl 0x4(%rsp), %esi
movslq %r14d, %rcx
leaq 0x1f39e(%rip), %rax     # 0x256e0
movq 0x28(%rax), %rax
imulq $0xb0, %rcx, %rdx
movslq %ebp, %rcx
imulq $0x51eb851f, %rcx, %rdi # imm = 0x51EB851F
movq %rdi, %r8
shrq $0x3f, %r8
sarq $0x25, %rdi
addl %r8d, %edi
imull $0x64, %edi, %edi
subl %edi, %ecx
movslq %ecx, %rcx
movq 0x70(%rax,%rdx), %rdi
movl %esi, (%rdi,%rcx,4)
movl %ecx, %esi
sarb $0x7, %sil
shrb $0x2, %sil
addb %cl, %sil
sarb $0x6, %sil
movsbq %sil, %rsi
shlq $0x3, %rsi
addq 0x88(%rax,%rdx), %rsi
movabsq $-0x8000000000000000, %rax # imm = 0x8000000000000000
leaq 0x3f(%rax), %rdx
andq %rcx, %rdx
xorl %edi, %edi
cmpq %rax, %rdx
setbe %dil
movl $0x1, %eax
shlq %cl, %rax
orq %rax, -0x8(%rsi,%rdi,8)
jmp 0x63c4
movl $0xffffffff, %ebx       # imm = 0xFFFFFFFF
movl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/rofl0r[P]ascc/cs_parser.cpp
// Function: check_for_dynamic_array_declaration(ccInternalList&, int, bool)
int check_for_dynamic_array_declaration(ccInternalList &targ, int typeSym, bool isPointer)
{
  if (sym.get_type(targ.peeknext()) == SYM_OPENBRACKET)
  {
    // dynamic array
    targ.getnext();
    if (sym.get_type(targ.getnext()) != SYM_CLOSEBRACKET)
    {
      cc_error("fixed size array cannot be used in this way");
      return -1;
    }
    if (sym.entries[typeSym].flags & SFLG_STRUCTTYPE) {
        if (!(sym.entries[typeSym].flags & SFLG_MANAGED)) {
            cc_error("cannot pass non-managed struct array");
            return -1;
        }
        if (!isPointer) {
            cc_error("cannot pass non-pointer struct array");
            return -1;
        }
    }
    return 1;
  }
  return 0;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movl %edx, %ebx
movl %esi, %ebp
movq %rdi, %r14
callq 0x10e06
leaq 0x1f2f4(%rip), %rdi     # 0x256e0
movl %eax, %esi
callq 0x1106e
movl %eax, %ecx
xorl %eax, %eax
cmpl $0x7, %ecx
jne 0x6471
movq %r14, %rdi
callq 0x10e44
movq %r14, %rdi
callq 0x10e44
leaq 0x1f2cd(%rip), %r14     # 0x256e0
movq %r14, %rdi
movl %eax, %esi
callq 0x1106e
cmpl $0x8, %eax
jne 0x645e
movslq %ebp, %rax
movq 0x28(%r14), %rcx
imulq $0xb0, %rax, %rax
movq 0x28(%rcx,%rax), %rcx
movl $0x1, %eax
btl $0xa, %ecx
jae 0x6471
shrl $0xc, %ecx
andl $0x1, %ecx
leaq 0x147b4(%rip), %rdx     # 0x1ac01
leaq 0x14788(%rip), %rdi     # 0x1abdc
cmovneq %rdx, %rdi
testb %bl, %cl
je 0x6465
jmp 0x6471
leaq 0x1474b(%rip), %rdi     # 0x1abb0
xorl %eax, %eax
callq 0x102f4
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/rofl0r[P]ascc/cs_parser.cpp
// Function: isPartOfExpression(ccInternalList*, int)
int isPartOfExpression(ccInternalList *targ, int j) {
  if (sym.get_type(targ->script[j]) == SYM_NEW)
    return 1;
  if (sym.get_type(targ->script[j]) < NOTEXPRESSION)
    return 1;
  // static member access
  if ((j < targ->length - 1) &&
      (sym.get_type(targ->script[j + 1]) == SYM_DOT) &&
      (sym.get_type(targ->script[j]) == SYM_VARTYPE))
    return 1;
  return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %esi, %ebp
movq %rdi, %r14
movq 0x8(%rdi), %rax
movslq %esi, %r15
movl (%rax,%r15,8), %esi
leaq 0x1e460(%rip), %rdi     # 0x256e0
callq 0x1106e
movl $0x1, %ebx
cmpl $0x35, %eax
je 0x72e6
movq 0x8(%r14), %rax
movl (%rax,%r15,8), %esi
leaq 0x1e442(%rip), %rdi     # 0x256e0
callq 0x1106e
cmpl $0x17, %eax
jl 0x72e6
movl (%r14), %eax
decl %eax
cmpl %ebp, %eax
jle 0x72e4
movq 0x8(%r14), %rax
movl 0x8(%rax,%r15,8), %esi
leaq 0x1e41f(%rip), %rdi     # 0x256e0
callq 0x1106e
cmpl $0x9, %eax
jne 0x72e4
movq 0x8(%r14), %rax
movl (%rax,%r15,8), %esi
leaq 0x1e406(%rip), %rdi     # 0x256e0
callq 0x1106e
cmpl $0x2e, %eax
je 0x72e6
xorl %ebx, %ebx
movl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/rofl0r[P]ascc/cs_parser.cpp
// Function: find_lowest_bonding_operator(long*, int)
int find_lowest_bonding_operator(long*slist,int listlen) {
  int k,blevel=0,plevel=0;
  int lowestis = 0,lowestat = -1;
  for (k=0;k<listlen;k++) {
    int thisType = sym.get_type(slist[k]);
    if (thisType == SYM_OPENBRACKET)
      blevel++;
    else if (thisType == SYM_CLOSEBRACKET)
      blevel--;
    else if (thisType == SYM_OPENPARENTHESIS)
      plevel++;
    else if (thisType == SYM_CLOSEPARENTHESIS)
      plevel--;

    if (((thisType == SYM_OPERATOR) || (thisType == SYM_NEW)) &&
        (plevel == 0) && (blevel == 0)) {
      // .ssize stores the precedence
      int thisIsTheOperator = 0;
      if (ccGetOption(SCOPT_LEFTTORIGHT)) {
        // left-to-right; find the right-most operator, then
        // they will be recursively processed left
        if (sym.entries[slist[k]].ssize >= lowestis)
          thisIsTheOperator = 1;
      }
      else {
        // right-to-left; find the left-most operator, then
        // they will be recursively processed right
        if (sym.entries[slist[k]].ssize > lowestis)
          thisIsTheOperator = 1;
      }
      if (thisIsTheOperator) {
        lowestis = sym.entries[slist[k]].ssize;
        lowestat = k;
      }
    }
  }
  return lowestat;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
testl %esi, %esi
jle 0x73c2
movq %rdi, %rbx
movl %esi, %r15d
xorl %r12d, %r12d
movl $0xffffffff, (%rsp)     # imm = 0xFFFFFFFF
leaq 0x13543(%rip), %r13     # 0x1a860
movl $0x0, 0x4(%rsp)
xorl %ebp, %ebp
xorl %r14d, %r14d
movl (%rbx,%r12,8), %esi
leaq 0x1e3ab(%rip), %rdi     # 0x256e0
callq 0x1106e
leal -0x5(%rax), %ecx
cmpl $0x3, %ecx
ja 0x735c
movslq (%r13,%rcx,4), %rcx
addq %r13, %rcx
jmpq *%rcx
incl %ebp
jmp 0x735c
incl %r14d
jmp 0x735c
decl %r14d
jmp 0x735c
decl %ebp
cmpl $0x3, %eax
setne %cl
cmpl $0x35, %eax
setne %al
testb %al, %cl
jne 0x73ad
testl %ebp, %ebp
jne 0x73ad
testl %r14d, %r14d
jne 0x73ad
movl $0x40, %edi
callq 0x13f2c
imulq $0xb0, (%rbx,%r12,8), %rcx
leaq 0x1e352(%rip), %rdx     # 0x256e0
movq 0x28(%rdx), %rdx
movq 0x38(%rdx,%rcx), %rcx
movslq 0x4(%rsp), %rdx
testl %eax, %eax
je 0x73bb
cmpq %rdx, %rcx
jl 0x73ad
movl %ecx, 0x4(%rsp)
movl %r12d, (%rsp)
incq %r12
cmpq %r12, %r15
jne 0x732a
jmp 0x73c9
cmpq %rdx, %rcx
jg 0x73a5
jmp 0x73ad
movl $0xffffffff, (%rsp)     # imm = 0xFFFFFFFF
movl (%rsp), %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/rofl0r[P]ascc/cs_parser.cpp
// Function: is_string(int)
int is_string(int valtype) {

  if (strcmp(sym.get_name(valtype),"const string")==0)
    return 1;
  if (strcmp(sym.get_name(valtype),"string")==0)
    return 1;
  if (strcmp(sym.get_name(valtype),"char*")==0)
    return 1;

  return 0;
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
movl %edi, %ebx
leaq 0x1e2f9(%rip), %rdi     # 0x256e0
movl %ebx, %esi
callq 0x124c6
leaq 0x13c0e(%rip), %rsi     # 0x1b003
movq %rax, %rdi
callq 0x3450
movl $0x1, %ebp
testl %eax, %eax
je 0x744c
leaq 0x1e2d3(%rip), %rdi     # 0x256e0
movl %ebx, %esi
callq 0x124c6
leaq 0x15fd8(%rip), %rsi     # 0x1d3f3
movq %rax, %rdi
callq 0x3450
testl %eax, %eax
je 0x744c
leaq 0x1e2b2(%rip), %rdi     # 0x256e0
movl %ebx, %esi
callq 0x124c6
leaq 0x13bd4(%rip), %rsi     # 0x1b010
movq %rax, %rdi
callq 0x3450
xorl %ebp, %ebp
testl %eax, %eax
sete %bpl
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/rofl0r[P]ascc/cs_parser.cpp
// Function: DoNullCheckOnStringInAXIfNecessary(ccCompiledScript*, int, int)
void DoNullCheckOnStringInAXIfNecessary(ccCompiledScript *scrip, int valTypeFrom, int valTypeTo) {

  // Convert normal literal string into String object
  if (((valTypeFrom & (~STYPE_POINTER)) == sym.stringStructSym) &&
     ((valTypeTo & (~STYPE_CONST)) == sym.normalStringSym)) {

    scrip->write_cmd1(SCMD_CHECKNULLREG, SREG_AX);
  }

}

// Assembly:
andl $0xbfffffff, %esi       # imm = 0xBFFFFFFF
leaq 0x1d88e(%rip), %rax     # 0x256e0
cmpl 0x20(%rax), %esi
jne 0x7e71
andl $0xdfffffff, %edx       # imm = 0xDFFFFFFF
cmpl 0x10(%rax), %edx
jne 0x7e71
movl $0x43, %esi
movl $0x3, %edx
jmp 0x1346e
retq
// File: /workspace/github_cpp_makefile_star2_O3/rofl0r[P]ascc/cs_parser.cpp
// Function: PerformStringConversionInAX(ccCompiledScript*, int*, int)
void PerformStringConversionInAX(ccCompiledScript *scrip, int *valTypeFrom, int valTypeTo) {

  // Convert normal literal string into String object
  if (((*valTypeFrom & (~STYPE_CONST)) == sym.normalStringSym) &&
     ((valTypeTo & (~STYPE_POINTER)) == sym.stringStructSym)) {

    scrip->write_cmd1(SCMD_CREATESTRING, SREG_AX);
    *valTypeFrom = STYPE_POINTER | sym.stringStructSym;
  }

}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movl $0xdfffffff, %eax       # imm = 0xDFFFFFFF
andl (%rsi), %eax
leaq 0x1d85c(%rip), %r14     # 0x256e0
cmpl 0x10(%r14), %eax
jne 0x7eb3
andl $0xbfffffff, %edx       # imm = 0xBFFFFFFF
cmpl 0x20(%r14), %edx
jne 0x7eb3
movq %rsi, %rbx
movl $0x40, %esi
movl $0x3, %edx
callq 0x1346e
movl $0x40000000, %eax       # imm = 0x40000000
orl 0x20(%r14), %eax
movl %eax, (%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O3/rofl0r[P]ascc/cs_parser.cpp
// Function: set_ax_scope(ccCompiledScript*, int)
void set_ax_scope(ccCompiledScript *scrip, int syoffs) {
  // "null" is a global var
  if (sym.get_type(syoffs) == SYM_NULL)
    scrip->ax_val_scope = SYM_GLOBALVAR;
  // if it's a parameter, pretend it's a global var
  // this allows it to be returned back from the function
  else if (sym.entries[syoffs].flags & SFLG_PARAMETER)
    scrip->ax_val_scope = SYM_GLOBALVAR;
  else
    scrip->ax_val_scope = sym.entries[syoffs].stype;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movl %esi, %ebp
movq %rdi, %rbx
leaq 0x1d815(%rip), %r14     # 0x256e0
movq %r14, %rdi
callq 0x1106e
movl $0x1, %ecx
cmpl $0x15, %eax
je 0x7ef9
movslq %ebp, %rdx
movq 0x28(%r14), %rax
imulq $0xb0, %rdx, %rdx
testb $0x1, 0x28(%rax,%rdx)
jne 0x7ef9
addq %rdx, %rax
movswl 0x20(%rax), %ecx
movl %ecx, 0x8d50(%rbx)
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/rofl0r[P]ascc/cs_parser.cpp
// Function: findClosingBracketOffs(int, long*, int)
int findClosingBracketOffs(int openBracketOffs, long *symlist, int slilen) {
  int endof,braclevel=0;
  for (endof = openBracketOffs + 1; endof < slilen; endof++) {
    int symtype = sym.get_type(symlist[endof]);
    if ((symtype == SYM_OPENBRACKET) || (symtype == SYM_OPENPARENTHESIS))
      braclevel++;
    if ((symtype == SYM_CLOSEBRACKET) || (symtype == SYM_CLOSEPARENTHESIS)) {
      braclevel--;
      if (braclevel < 0) break;
    }
  }
  return endof;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
leal 0x1(%rdi), %ebx
cmpl %edx, %ebx
jge 0x7f64
movl %edx, %ebp
movslq %edi, %rax
leaq (%rsi,%rax,8), %r15
addq $0x8, %r15
xorl %r12d, %r12d
leaq 0x1d7b6(%rip), %r14     # 0x256e0
movl (%r15), %esi
movq %r14, %rdi
callq 0x1106e
movl %eax, %edx
andl $-0x3, %edx
xorl %ecx, %ecx
cmpl $0x5, %edx
sete %cl
addl %r12d, %ecx
cmpl $0x8, %eax
je 0x7f4f
cmpl $0x6, %eax
jne 0x7f55
testl %ecx, %ecx
jle 0x7f64
decl %ecx
incl %ebx
addq $0x8, %r15
movl %ecx, %r12d
cmpl %ebx, %ebp
jne 0x7f2a
movl %ebp, %ebx
movl %ebx, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/rofl0r[P]ascc/cs_parser.cpp
// Function: findOpeningBracketOffs(int, long*)
int findOpeningBracketOffs(int closeBracketOffs, long *symlist) {
  int endof,braclevel=0;
  for (endof = closeBracketOffs - 1; endof >= 0; endof--) {
    int symtype = sym.get_type(symlist[endof]);
    if ((symtype == SYM_OPENBRACKET) || (symtype == SYM_OPENPARENTHESIS)) {
      braclevel--;
      if (braclevel < 0) break;
    }
    if ((symtype == SYM_CLOSEBRACKET) || (symtype == SYM_CLOSEPARENTHESIS))
      braclevel++;
  }
  return endof;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
leal -0x1(%rdi), %ebx
testl %edi, %edi
jle 0x7fc4
movq %rsi, %r14
movl %ebx, %ebx
xorl %ebp, %ebp
leaq 0x1d755(%rip), %r15     # 0x256e0
movl (%r14,%rbx,8), %esi
movq %r15, %rdi
callq 0x1106e
movl %eax, %ecx
andl $-0x3, %ecx
cmpl $0x5, %ecx
jne 0x7fa7
testl %ebp, %ebp
jle 0x7fc4
decl %ebp
cmpl $0x8, %eax
je 0x7fb1
cmpl $0x6, %eax
jne 0x7fb3
incl %ebp
leaq -0x1(%rbx), %rax
testq %rbx, %rbx
movq %rax, %rbx
jg 0x7f8b
movl $0xffffffff, %ebx       # imm = 0xFFFFFFFF
movl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq