LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O2/ArashPartow[P]exprtk/./exprtk.hpp
// Function: bool result_equal<double>(exprtk::results_context<double> const&, double const&)
inline std::size_t count() const
      {
         if (results_available_)
            return parameter_list_.size();
         else
            return 0;
      }

// Assembly:
cmpb $0x1, (%rdi)
jne 0x2cc0e4
movq 0x8(%rdi), %rax
movq 0x10(%rdi), %rcx
subq %rax, %rcx
cmpq $0x18, %rcx
jne 0x2cc0e4
cmpl $0x1, 0x10(%rax)
jne 0x2cc0e4
movq (%rax), %rax
movsd (%rax), %xmm0
cmpeqsd (%rsi), %xmm0
movq %xmm0, %rax
andl $0x1, %eax
retq
xorl %eax, %eax
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/ArashPartow[P]exprtk/./exprtk.hpp
// Function: exprtk::results_context<double>::get_scalar(unsigned long const&, double&) const
inline bool get_scalar(const std::size_t& index, T& out) const
      {
         if (
              (index < parameter_list_.size()) &&
              (parameter_list_[index].type == type_store_t::e_scalar)
            )
         {
            const scalar_t scalar(parameter_list_[index]);
            out = scalar();
            return true;
         }

         return false;
      }

// Assembly:
movq %rdx, %rcx
movq (%rsi), %r8
movq 0x8(%rdi), %rsi
movq 0x10(%rdi), %rax
subq %rsi, %rax
pushq $0x18
popq %rdi
cqto
idivq %rdi
cmpq %rax, %r8
jae 0x2cc122
imulq $0x18, %r8, %rax
cmpl $0x1, 0x10(%rsi,%rax)
jne 0x2cc122
addq %rax, %rsi
movq (%rsi), %rax
movsd (%rax), %xmm0
movsd %xmm0, (%rcx)
movb $0x1, %al
retq
xorl %eax, %eax
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/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 %rdx, %rcx
movq (%rsi), %rsi
movq 0x8(%rdi), %r8
movq 0x10(%rdi), %rax
subq %r8, %rax
pushq $0x18
popq %rdi
cqto
idivq %rdi
cmpq %rax, %rsi
jae 0x2cc16a
imulq $0x18, %rsi, %rax
cmpl $0x3, 0x10(%r8,%rax)
jne 0x2cc16a
pushq %rax
addq %rax, %r8
movq (%r8), %rsi
movq 0x8(%r8), %rdx
movq %rcx, %rdi
callq 0x1182b0
movb $0x1, %al
addq $0x8, %rsp
retq
xorl %eax, %eax
retq
// File: /workspace/github_cpp_makefile_star2_O2/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
subq $0x10, %rsp
movq %rdi, %rbx
cmpl $0x9, %esi
ja 0x2cc28a
movl %esi, %eax
leaq 0x6f49(%rip), %rcx      # 0x2d31bc
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x3bdf5(%rip), %rsi     # 0x308078
leaq 0xf(%rsp), %rdx
jmp 0x2cc2f8
leaq 0x3bde7(%rip), %rsi     # 0x308078
leaq 0x7(%rsp), %rdx
jmp 0x2cc2f8
leaq 0x3be1b(%rip), %rsi     # 0x3080ba
leaq 0xa(%rsp), %rdx
jmp 0x2cc2f8
leaq 0x3bdd9(%rip), %rsi     # 0x308086
leaq 0xe(%rsp), %rdx
jmp 0x2cc2f8
leaq 0x3be0b(%rip), %rsi     # 0x3080c6
leaq 0x9(%rsp), %rdx
jmp 0x2cc2f8
leaq 0x3be0a(%rip), %rsi     # 0x3080d3
leaq 0x8(%rsp), %rdx
jmp 0x2cc2f8
leaq 0x3bdbc(%rip), %rsi     # 0x308093
leaq 0xd(%rsp), %rdx
jmp 0x2cc2f8
leaq 0x3bdba(%rip), %rsi     # 0x30809f
leaq 0xc(%rsp), %rdx
jmp 0x2cc2f8
leaq 0x3bdba(%rip), %rsi     # 0x3080ad
leaq 0xb(%rsp), %rdx
movq %rbx, %rdi
callq 0x127016
movq %rbx, %rax
addq $0x10, %rsp
popq %rbx
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/ArashPartow[P]exprtk/./exprtk.hpp
// Function: bool exprtk::results_context<double>::get_vector<std::back_insert_iterator<std::vector<double, std::allocator<double>>>>(unsigned long const&, std::back_insert_iterator<std::vector<double, std::allocator<double>>>) const
inline bool get_vector(const std::size_t& index, OutputIterator out_itr) const
      {
         if (
              (index < parameter_list_.size()) &&
              (parameter_list_[index].type == type_store_t::e_vector)
            )
         {
            const vector_t vector(parameter_list_[index]);
            for (std::size_t i = 0; i < vector.size(); ++i)
            {
               *(out_itr++) = vector[i];
            }

            return true;
         }

         return false;
      }

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq (%rsi), %rcx
movq 0x8(%rdi), %r15
movq 0x10(%rdi), %rax
subq %r15, %rax
pushq $0x18
popq %rsi
cqto
idivq %rsi
cmpq %rax, %rcx
jae 0x2cc453
imulq $0x18, %rcx, %rax
cmpl $0x2, 0x10(%r15,%rax)
jne 0x2cc453
addq %rax, %r15
movq (%r15), %r14
xorl %r12d, %r12d
cmpq 0x8(%r15), %r12
jae 0x2cc457
movq %rbx, %rdi
movq %r14, %rsi
callq 0x2cc466
incq %r12
addq $0x8, %r14
jmp 0x2cc439
xorl %eax, %eax
jmp 0x2cc459
movb $0x1, %al
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/ArashPartow[P]exprtk/exprtk_test.cpp
// Function: vv_size_handler_t<double>::operator()(exprtk::type_store<double>::parameter_list)
inline T operator()(parameter_list_t parameters)
   {
      vector_t vector(parameters[0]);
      size_t   new_size = static_cast<std::size_t>(scalar_t(parameters[1])());
      void*    key      = static_cast<void*>(&vector[0]);

      typename map_t::iterator itr = vector_map_.find(key);

      if (itr == vector_map_.end())
      {
         return T(0);
      }

      exprtk::vector_view<T>& vv = *itr->second;

      if (vv.base_size() < new_size)
      {
         return T(0);
      }

      return vv.set_size(new_size) ? T(1) : T(0);
   }

// Assembly:
pushq %rbx
subq $0x20, %rsp
movq %rdi, %rbx
movq (%rsi), %rax
movq (%rax), %rcx
movq 0x18(%rax), %rax
movsd (%rax), %xmm0
movaps %xmm0, (%rsp)
leaq 0x18(%rsp), %rsi
movq %rcx, (%rsi)
addq $0x48, %rdi
callq 0x2cc780
addq $0x50, %rbx
xorps %xmm0, %xmm0
cmpq %rbx, %rax
je 0x2cc77a
movapd (%rsp), %xmm1
cvttsd2si %xmm1, %rdx
movq %rdx, %rsi
subsd 0x1bee(%rip), %xmm1     # 0x2ce338
sarq $0x3f, %rsi
cvttsd2si %xmm1, %rcx
andq %rsi, %rcx
orq %rdx, %rcx
movq 0x28(%rax), %rax
movq (%rax), %rdx
cmpq %rcx, %rdx
jb 0x2cc77a
leaq -0x1(%rcx), %rsi
cmpq %rdx, %rsi
jae 0x2cc77a
movq %rcx, 0x8(%rax)
movsd 0x1a46(%rip), %xmm0     # 0x2ce1c0
addq $0x20, %rsp
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O2/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
imull $0x13, %esi, %r8d
addl $0x5dd, %r8d            # imm = 0x5DD
imull %eax, %r8d
addl $0x19189, %r8d          # imm = 0x19189
movq (%rdi), %r9
movl 0xc(%rdi), %edi
xorl %r10d, %r10d
movl %r8d, %eax
cltd
idivl %edi
movslq %edx, %rax
movq (%r9,%rax,8), %rdx
testq %rdx, %rdx
je 0x38ff
cmpl %esi, (%rdx)
jne 0x38f3
cmpl %ecx, 0x4(%rdx)
je 0x38ff
addl %r10d, %r8d
incl %r8d
addl $0x2, %r10d
jmp 0x38d8
xorl %eax, %eax
testq %rdx, %rdx
setne %al
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/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 0x38b0
testl %eax, %eax
jne 0x3997
pushq $0x8
popq %rdi
callq 0x2170
movq %rax, %r14
movl %r15d, (%rax)
movl %r12d, 0x4(%rax)
addl $0x25, %r12d
imull $0x13, %r15d, %r15d
addl $0x5dd, %r15d           # imm = 0x5DD
imull %r12d, %r15d
movl 0x8(%rbx), %esi
movl 0xc(%rbx), %ecx
pushq $0x2
popq %rdi
movl %ecx, %eax
cltd
idivl %edi
cmpl %eax, %esi
jle 0x3969
movq %rbx, %rdi
callq 0x39a0
movl 0xc(%rbx), %ecx
addl $0x19189, %r15d         # imm = 0x19189
movq (%rbx), %rsi
xorl %edi, %edi
movl %r15d, %eax
cltd
idivl %ecx
movslq %edx, %rax
cmpq $0x0, (%rsi,%rax,8)
je 0x3990
addl %edi, %r15d
incl %r15d
addl $0x2, %edi
jmp 0x3975
movq %r14, (%rsi,%rax,8)
incl 0x8(%rbx)
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/sorazy[P]canny/HashMap.cpp
// Function: HashMap::expand()
void HashMap::expand(void)
{
	this->capacity = this->primes[++this->currentPrime];
	Point **newTable = new Point*[this->capacity];
	Point *temp;

	for (int i = 0; i < this->primes[this->currentPrime - 1]; i++)
	{
		temp = this->table[i];
		if (temp == NULL)
			continue; 

		int hash = this->hash(temp);

		newTable[hash % this->capacity] = temp;

	}

	this->table = newTable;
	return;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movslq 0x10(%rdi), %r15
leaq 0x1(%r15), %rax
movl %eax, 0x10(%rdi)
movslq 0x18(%rdi,%r15,4), %r14
leaq (,%r14,8), %rax
testq %r14, %r14
movl %r14d, 0xc(%rdi)
pushq $-0x1
popq %rdi
cmovnsq %rax, %rdi
callq 0x2030
movq %rax, %rcx
movslq 0x14(%rbx,%r15,4), %rsi
movq (%rbx), %rdi
xorl %r8d, %r8d
cmpq %rsi, %r8
jge 0x3a1c
movq (%rdi,%r8,8), %r9
testq %r9, %r9
je 0x3a17
movl 0x4(%r9), %edx
addl $0x25, %edx
imull $0x13, (%r9), %eax
addl $0x5dd, %eax            # imm = 0x5DD
imull %edx, %eax
addl $0x19189, %eax          # imm = 0x19189
cltd
idivl %r14d
movslq %edx, %rax
movq %r9, (%rcx,%rax,8)
incq %r8
jmp 0x39e6
movq %rcx, (%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/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
xorl %r12d, %r12d
movq 0x258b(%rip), %r14      # 0x5fd0
leaq 0x7c1(%rip), %r15       # 0x420d
movslq 0x8(%rbx), %rax
cmpq %rax, %r12
jge 0x3ab0
movq (%rbx), %rax
movq (%rax,%r12,8), %r13
movq %r14, %rdi
testq %r13, %r13
je 0x3a9f
leaq 0x7a0(%rip), %rsi       # 0x420b
callq 0x2160
movl (%r13), %esi
movq %rax, %rdi
callq 0x2240
movq %rax, %rdi
leaq 0x788(%rip), %rsi       # 0x420e
callq 0x2160
movl 0x4(%r13), %esi
movq %rax, %rdi
callq 0x2240
movq %rax, %rdi
movq %r15, %rsi
jmp 0x3aa6
leaq 0x75e(%rip), %rsi       # 0x4204
callq 0x2160
incq %r12
jmp 0x3a4c
movq 0x2519(%rip), %rdi      # 0x5fd0
callq 0x20d0
leaq 0x74e(%rip), %rsi       # 0x4211
movq %rax, %rdi
callq 0x2160
movl 0x8(%rbx), %esi
movq %rax, %rdi
callq 0x2240
leaq 0x73f(%rip), %rsi       # 0x421c
movq %rax, %rdi
callq 0x2160
movl 0xc(%rbx), %esi
movq %rax, %rdi
callq 0x2240
movq %rax, %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x20d0
// File: /workspace/github_cpp_makefile_star2_O2/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 0x2d32
testl %eax, %eax
jne 0x247f
xorl %eax, %eax
popq %rcx
retq
leaq 0x2b7e(%rip), %rdi      # 0x5004
callq 0x2190
jmp 0x247b
nopl (%rax)
// File: /workspace/github_cpp_makefile_star2_O2/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
pushq $0x2
popq %rdi
pushq $0x1
popq %rsi
xorl %edx, %edx
callq 0x2040
testl %eax, %eax
jns 0x2d5d
leaq 0x2337(%rip), %rdi      # 0x508f
jmp 0x2e30
movl %eax, %ebx
leaq 0x48(%rsp), %rsi
andq $0x0, 0x8(%rsi)
movl $0x901f0002, %eax       # imm = 0x901F0002
movq %rax, (%rsi)
pushq $0x10
popq %rdx
movl %ebx, %edi
callq 0x2030
testl %eax, %eax
jns 0x2d8b
leaq 0x2321(%rip), %rdi      # 0x50a7
jmp 0x2e30
pushq $0x5
popq %rsi
movl %ebx, %edi
callq 0x2200
testl %eax, %eax
jns 0x2da5
leaq 0x2316(%rip), %rdi      # 0x50b6
jmp 0x2e30
leaq 0x38(%rsp), %r14
leaq 0x24(%rsp), %r12
leaq 0x18(%rsp), %rbp
leaq 0xf(%rsp), %r13
leaq 0x14(%rsp), %r15
movl $0x10, 0x10(%rsp)
movl %ebx, %edi
movq %r14, %rsi
leaq 0x10(%rsp), %rdx
callq 0x2060
movl %eax, 0x14(%rsp)
testl %eax, %eax
js 0x2e29
movl %eax, %edi
movq %r12, %rsi
pushq $0x4
popq %rdx
xorl %ecx, %ecx
callq 0x2070
leaq -0xf3(%rip), %rax       # 0x2d00
movq %rax, 0x28(%rsp)
andq $0x0, 0x30(%rsp)
movq %rbp, %rdi
leaq 0x28(%rsp), %rsi
movq %r13, %rdx
movq %r15, %rcx
movq %r12, %r8
movq %r14, %r9
callq 0x3078
movq %rbp, %rdi
callq 0x22a0
movq %rbp, %rdi
callq 0x3112
jmp 0x2dbe
leaq 0x2297(%rip), %rdi      # 0x50c7
callq 0x2190
xorl %edi, %edi
callq 0x2210
movq %rax, %rbx
leaq 0x18(%rsp), %rdi
callq 0x3112
movq %rbx, %rdi
callq 0x22b0
nop
// File: /workspace/github_cpp_makefile_star2_O2/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 %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
pushq $0x5b
popq %rdi
callq 0x2170
leaq 0x5d72(%rip), %r14      # 0x8780
pushq $0x2c
popq %rbp
xorl %r15d, %r15d
movq (%rbx), %rax
movq 0x8(%rbx), %rcx
subq %rax, %rcx
cmpq %rcx, %r15
jae 0x2a4a
movzbl (%rax,%r15), %esi
movq %r14, %rdi
xorl %eax, %eax
callq 0x2030
incq %r15
movq 0x8(%rbx), %rax
subq (%rbx), %rax
cmpq %rax, %r15
jae 0x2a14
movl %ebp, %edi
callq 0x2170
jmp 0x2a14
pushq $0x5d
popq %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x2170
// File: /workspace/github_cpp_makefile_star2_O2/lemire[P]validateutf8-experiments/benchmarks/hoehrmann.h
// Function: shiftless_validate_dfa_utf8(signed char const*, unsigned long)
static inline fastvalidate::error_code
shiftless_validate_dfa_utf8(const signed char *c, size_t len) {
  const unsigned char *cu = (const unsigned char *)c;
  uint32_t state = 0;
  for (size_t i = 0; i < len; i++) {
    uint32_t byteval = (uint32_t)cu[i];
    if (shiftless_updatestate(&state, byteval) == SHIFTLESS_UTF8_REJECT)
      return fastvalidate::error_code::UTF8_ERROR;
  }
  if (shiftless_updatestate(&state, 0) == SHIFTLESS_UTF8_REJECT)
    return fastvalidate::error_code::UTF8_ERROR;
  return fastvalidate::error_code::SUCCESS;
}

// Assembly:
xorl %r9d, %r9d
leaq 0x517a(%rip), %rdx      # 0x8030
leaq 0x5273(%rip), %rcx      # 0x8130
pushq $0x1
popq %rax
xorl %r8d, %r8d
movl %r9d, %r9d
cmpq %r8, %rsi
je 0x2ee7
movzbl (%rdi,%r8), %r10d
movzbl (%r10,%rdx), %r10d
addq %r10, %r9
movzbl (%rcx,%r9), %r9d
incq %r8
cmpl $0x10, %r9d
jne 0x2ec3
retq
xorl %eax, %eax
cmpb $0x10, (%r9,%rcx)
sete %al
retq
// File: /workspace/github_cpp_makefile_star2_O2/lemire[P]validateutf8-experiments/benchmarks/hoehrmann.h
// Function: shiftless_validate_dfa_utf8_double(signed char const*, unsigned long)
static inline fastvalidate::error_code
shiftless_validate_dfa_utf8_double(const signed char *c, size_t len) {
  if (len < 32) { // if too small, do not bother
    return shiftless_validate_dfa_utf8(c, len);
  }
  // go to the middle:
  size_t middle_point = len / 2;
  // backtrack until we find a leading byte
  while (!is_leading(c[middle_point])) {
    if (middle_point == 0) {
      // we have determined that there is an error
      return fastvalidate::error_code::UTF8_ERROR;
    }
    middle_point -= 1;
  }
  uint32_t state1 = 0;
  uint32_t state2 = 0;
  const unsigned char *cu1 = (const unsigned char *)c;
  const unsigned char *cu2 = (const unsigned char *)(c + middle_point);

  for (size_t i = 0; i < middle_point; i++) {
    uint32_t byteval1 = (uint32_t)cu1[i];
    uint32_t byteval2 = (uint32_t)cu2[i];
    if ((shiftless_updatestate(&state1, byteval1) == SHIFTLESS_UTF8_REJECT) ||
        (shiftless_updatestate(&state2, byteval2) == SHIFTLESS_UTF8_REJECT)) {
      return fastvalidate::error_code::UTF8_ERROR;
    }
  }
  if (shiftless_updatestate(&state1, 0) == SHIFTLESS_UTF8_REJECT) {
    return fastvalidate::error_code::UTF8_ERROR;
  }
  for (size_t i = middle_point; i < len - middle_point; i++) {
    uint32_t byteval2 = (uint32_t)cu2[i];
    if (shiftless_updatestate(&state2, byteval2) == SHIFTLESS_UTF8_REJECT) {
      return fastvalidate::error_code::UTF8_ERROR;
    }
  }
  if (shiftless_updatestate(&state2, 0) == SHIFTLESS_UTF8_REJECT) {
    return fastvalidate::error_code::UTF8_ERROR;
  }
  return fastvalidate::error_code::SUCCESS;
}

// Assembly:
pushq %r14
pushq %rbx
cmpq $0x1f, %rsi
ja 0x2f00
popq %rbx
popq %r14
jmp 0x2eac
movq %rsi, %rcx
shrq %rcx
movq %rsi, %r8
andq $-0x2, %r8
negq %r8
movl $0x1, %eax
cmpb $-0x40, (%rdi,%rcx)
jge 0x2f2b
subq $0x1, %rcx
jb 0x2fc4
addq $0x2, %r8
jmp 0x2f15
movq %rdi, %rdx
subq %r8, %rdx
xorl %ebx, %ebx
leaq 0x50f6(%rip), %r9       # 0x8030
leaq 0x51ef(%rip), %r8       # 0x8130
xorl %r10d, %r10d
xorl %r11d, %r11d
movl %ebx, %ebx
cmpq %r11, %rcx
je 0x2f89
movzbl (%rdi,%r11), %r14d
movzbl (%r14,%r9), %r14d
addq %r14, %rbx
movzbl (%r8,%rbx), %ebx
cmpl $0x10, %ebx
je 0x2fc4
leaq (%rdi,%r11), %r14
movzbl (%rcx,%r14), %r14d
movzbl (%r14,%r9), %r14d
movl %r10d, %r10d
addq %r14, %r10
movzbl (%r8,%r10), %r10d
incq %r11
cmpl $0x10, %r10d
jne 0x2f47
jmp 0x2fc4
cmpb $0x10, (%rbx,%r8)
je 0x2fc4
subq %rcx, %rsi
movl %r10d, %edi
cmpq %rsi, %rcx
jae 0x2fba
movzbl (%rdx), %r10d
movzbl (%r10,%r9), %r10d
addq %r10, %rdi
movzbl (%r8,%rdi), %r10d
incq %rcx
incq %rdx
cmpl $0x10, %r10d
jne 0x2f93
jmp 0x2fc4
xorl %eax, %eax
cmpb $0x10, (%rdi,%r8)
sete %al
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O2/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 0x52e9(%rip), %rdi      # 0x888a
pushq $0x3
popq %rsi
callq 0x230c
cmpl $0x1, %eax
jne 0x35d8
leaq 0x52d5(%rip), %rdi      # 0x888a
pushq $0x3
popq %rsi
callq 0x2316
cmpl $0x1, %eax
jne 0x35d8
leaq 0x52c1(%rip), %rdi      # 0x888a
pushq $0x3
popq %rsi
callq 0x2320
cmpl $0x1, %eax
jne 0x35d8
popq %rax
retq
leaq 0x5549(%rip), %rdi      # 0x8b28
callq 0x2190
callq 0x20c0
// File: /workspace/github_cpp_makefile_star2_O2/lemire[P]validateutf8-experiments/tests/unit.cpp
// Function: main
int main() {
  brute_force_tests();
  twobytetest();
  test();
  return EXIT_SUCCESS;
}

// Assembly:
pushq %rax
callq 0x2a5c
callq 0x3599
callq 0x35e9
xorl %eax, %eax
popq %rcx
retq
// File: /workspace/github_cpp_makefile_star2_O2/rofl0r[P]ascc/main.cpp
// Function: slurp_file(_IO_FILE*)
char *slurp_file(FILE *f) {
	fseek(f, 0, SEEK_END);
	unsigned len = ftell(f);
	fseek(f, 0, SEEK_SET);
	char *mem = (char*) malloc(len+1);
	fread(mem, 1, len, f);
	mem[len] = 0;
	fclose(f);
	return mem;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
pushq $0x2
popq %rdx
xorl %esi, %esi
callq 0x3370
movq %rbx, %rdi
callq 0x3030
movq %rax, %r14
movq %rbx, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x3370
leal 0x1(%r14), %edi
callq 0x3430
movq %rax, %r15
movl %r14d, %r14d
pushq $0x1
popq %rsi
movq %rax, %rdi
movq %r14, %rdx
movq %rbx, %rcx
callq 0x34a0
movb $0x0, (%r15,%r14)
movq %rbx, %rdi
callq 0x32e0
movq %r15, %rax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O2/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 0x13fd0(%rip), %rsi     # 0x182a6
movq %rsp, %r15
movq %r15, %rdi
movq %r14, %rdx
movq %rbx, %rcx
xorl %eax, %eax
callq 0x30c0
movq %r15, %rdi
callq 0x3190
leaq 0x21098(%rip), %rdi     # 0x25390
movq %rax, %rsi
callq 0x4631
movq %r14, %rdi
movq %rbx, %rsi
addq $0x400, %rsp            # imm = 0x400
popq %rbx
popq %r14
popq %r15
jmp 0x14e9a
// File: /workspace/github_cpp_makefile_star2_O2/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
pushq $0x2f
popq %rsi
callq 0x3360
testq %rax, %rax
jne 0x4440
pushq $0x5c
popq %rsi
movq %rbx, %rdi
callq 0x3360
leaq 0x1(%rax), %rcx
testq %rax, %rax
cmoveq %rbx, %rcx
movq %rcx, %rax
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O2/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 %r13
pushq %r12
pushq %rbx
subq $0x1020, %rsp           # imm = 0x1020
movq %rsi, %r15
movq %rdi, %r14
callq 0x379c
testq %rax, %rax
je 0x45cd
movq %rax, %rbx
leaq 0x16574(%rip), %rsi     # 0x1aa2e
movq %rax, %rdi
callq 0x3390
testq %rax, %rax
je 0x45cd
movq %rax, %r12
movq 0x20ecb(%rip), %rdi     # 0x253a0
movq 0x20ebc(%rip), %rdx     # 0x25398
pushq $0x1
popq %r13
movq %r13, %rsi
movq %rax, %rcx
callq 0x35b0
movq %r15, %rdi
callq 0x3190
movq %r15, %rdi
movq %r13, %rsi
movq %rax, %rdx
movq %r12, %rcx
callq 0x35b0
movq %r12, %rdi
callq 0x32e0
leaq 0x13d00(%rip), %rsi     # 0x18213
leaq 0x20(%rsp), %r15
movq %r15, %rdi
movq %r14, %rdx
movq %rbx, %rcx
xorl %eax, %eax
callq 0x30c0
leaq 0x16ea4(%rip), %rsi     # 0x1b3d3
movq %r15, %rdi
callq 0x3130
testq %rax, %rax
je 0x45a5
movq %rax, %r14
leaq 0x20(%rsp), %r15
leaq 0x8(%rsp), %r12
movq %r15, %rdi
movl $0x1000, %esi           # imm = 0x1000
movq %r14, %rdx
callq 0x34e0
testq %rax, %rax
je 0x4573
movq %r15, %rdi
callq 0x3190
movq %r12, %rdi
movq %rax, %rsi
callq 0x4631
jmp 0x4549
movq %r14, %rdi
callq 0x3470
testb $0x7f, %al
jne 0x45a5
movq %rbx, %rdi
callq 0x31c0
movq %rbx, %rdi
callq 0x33a0
leaq 0x8(%rsp), %rbx
pushq $0x1
popq %rsi
movq %rbx, %rdi
callq 0x4631
movq 0x10(%rbx), %rax
jmp 0x45cf
movq 0x20a14(%rip), %rax     # 0x24fc0
movq (%rax), %rcx
leaq 0x14247(%rip), %rdi     # 0x187fd
pushq $0x1b
popq %rsi
pushq $0x1
popq %rdx
callq 0x35b0
leaq 0x16c30(%rip), %rdi     # 0x1b1f8
callq 0x3290
xorl %eax, %eax
addq $0x1020, %rsp           # imm = 0x1020
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O2/rofl0r[P]ascc/main.cpp
// Function: process_custom_option(char*, char*)
static int process_custom_option(char *option, char *value) {
	for(unsigned i = 0; cust_f_opts[i].name; ++i)
		if(!strcmp(cust_f_opts[i].name, option)) {
			if(cust_f_opts[i].need_value) {
				if(!value) {
					fprintf(stderr, "error: option %s requires value\n", option);
					exit(1);
				}
				*cust_f_opts[i].target = atoi(value);
			} else
				*cust_f_opts[i].target = 1;
			return 1;
		}
	return 0;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
xorl %r15d, %r15d
leaq 0x2051b(%rip), %r12     # 0x24b10
movq (%r15,%r12), %r14
addq $0x20, %r15
cmpl $0x40, %r15d
je 0x461d
movq %r14, %rdi
movq %rbx, %rsi
callq 0x3450
testl %eax, %eax
jne 0x45f5
movq -0x10(%r15,%r12), %rax
movl $0x1, (%rax)
xorl %eax, %eax
testq %r14, %r14
setne %al
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O2/rofl0r[P]ascc/main.cpp
// Function: buffer_append(buffer*, char const*, unsigned long)
static int buffer_append(struct buffer *b, const char* data, size_t len) {
	if(b->used+len > b->capa) {
		size_t want = ALIGN(b->used+len, 4096);
		char *n = (char*) realloc(b->mem, want);
		if(!n) return 0;
		b->mem = n;
		b->capa = want;
	}
	memcpy(b->mem+b->used, data, len);
	b->used += len;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x8(%rdi), %rax
movq 0x10(%rdi), %rdi
leaq (%rax,%rsi), %r14
addq $0xfff, %r14            # imm = 0xFFF
andq $-0x1000, %r14          # imm = 0xF000
movq %r14, %rsi
callq 0x3530
testq %rax, %rax
je 0x4666
movq %rax, 0x10(%rbx)
movq %r14, (%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O2/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, 0x8(%rsp)
movq %rdi, %r14
xorps %xmm0, %xmm0
leaq 0x10(%rsp), %r12
movaps %xmm0, 0x30(%r12)
movaps %xmm0, 0x20(%r12)
andq $0x0, 0x40(%r12)
movaps %xmm0, 0x10(%r12)
movaps %xmm0, (%r12)
movslq %edx, %rbx
leaq (,%rbx,4), %r15
movslq 0x20(%r14), %rax
cmpq %rax, %rbx
jge 0x4707
movq 0x18(%r14), %rsi
addq %r15, %rsi
movq %r12, %rdi
callq 0xe7ca
incq %rbx
addq $0x4, %r15
jmp 0x46e6
leaq 0x28(%rsp), %r12
movl %r13d, %eax
leaq 0x40(%rsp), %r13
movl %eax, 0x4(%rsp)
movslq %eax, %r15
leaq (,%r15,4), %rbx
movslq 0x48(%r14), %rax
cmpq %rax, %r15
jge 0x4753
movq 0x40(%r14), %rsi
addq %rbx, %rsi
movq %r12, %rdi
callq 0xe7ca
movq 0x38(%r14), %rsi
addq %r15, %rsi
movq %r13, %rdi
callq 0xe7e8
incq %r15
addq $0x4, %rbx
jmp 0x4723
leaq 0x10(%rsp), %rsi
movl %ebp, 0x48(%rsi)
movl 0x4(%rsp), %ebx
movl %ebx, 0x4c(%rsi)
movq 0x8(%rsp), %rdi
callq 0xe802
movl %ebp, 0x20(%r14)
movl %ebx, 0x48(%r14)
leaq 0x10(%rsp), %rdi
callq 0xe82e
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x4791
jmp 0x4791
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0xe82e
movq %rbx, %rdi
callq 0x3560
// File: /workspace/github_cpp_makefile_star2_O2/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 %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
callq 0x12512
movl 0x20(%r14), %ebp
movl 0x48(%rbx), %r15d
movq 0x8(%rbx), %r12
subq (%rbx), %r12
shrq $0x2, %r12
xorl %r13d, %r13d
testl %r12d, %r12d
cmovlel %r13d, %r12d
cmpq %r13, %r12
je 0x47f2
movq (%rbx), %rax
movl (%rax,%r13,4), %esi
movq %r14, %rdi
callq 0x11dee
incq %r13
jmp 0x47d9
subl %r15d, %ebp
movq 0x20(%rbx), %r15
subq 0x18(%rbx), %r15
shrq $0x2, %r15
xorl %r12d, %r12d
testl %r15d, %r15d
cmovlel %r12d, %r15d
cmpq %r12, %r15
je 0x4830
movq 0x18(%rbx), %rax
movq 0x30(%rbx), %rcx
movl (%rax,%r12,4), %esi
addl %ebp, %esi
movsbl (%rcx,%r12), %edx
movq %r14, %rdi
callq 0x1208c
incq %r12
jmp 0x480b
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/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 0x20d46(%rip), %r14     # 0x256f0
movq %r14, %rdi
callq 0x10b48
xorl %r15d, %r15d
cmpb $0x2e, (%rax)
sete %r15b
addq %rax, %r15
movq %r14, %rdi
movl %ebx, %esi
callq 0x10b48
leaq 0x209f0(%rip), %rbx     # 0x253c0
leaq 0x13f79(%rip), %rsi     # 0x18950
movq %rbx, %rdi
movq %rax, %rdx
movq %r15, %rcx
xorl %eax, %eax
callq 0x30c0
movq %rbx, %rax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O2/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 0x1085a
testl %eax, %eax
js 0x4a0b
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movq %r14, %rdi
movq %rbx, %rsi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x10c12
// File: /workspace/github_cpp_makefile_star2_O2/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 %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, %rbx
movl %edx, %r14d
movl %esi, %ebp
movl %edi, %esi
movq %rcx, %rdi
callq 0x5035
movq %rbx, %rdi
movl %ebp, %esi
callq 0x11de8
movslq %r14d, %rcx
leaq 0x20722(%rip), %rax     # 0x256f0
movq 0x28(%rax), %rax
imulq $0xb0, %rcx, %r13
movl $0x40002, %ecx          # imm = 0x40002
andl 0x28(%rax,%r13), %ecx
cmpl $0x2, %ecx
jne 0x5026
pushq $0x1
popq %r14
pushq $0x2
popq %r15
pushq $0x4
popq %r12
cmpq %r14, 0x48(%rax,%r13)
jle 0x5026
movq %rbx, %rdi
pushq $0x1
popq %rsi
movl %r15d, %edx
movl %r12d, %ecx
callq 0x11e6a
movq %rbx, %rdi
movl %ebp, %esi
callq 0x11de8
incq %r14
leaq 0x206d0(%rip), %rax     # 0x256f0
movq 0x28(%rax), %rax
jmp 0x4ff4
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/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 %rbp
pushq %r14
pushq %rbx
movl %esi, %ebx
movq %rdi, %r14
cmpl $0x33, 0x202bb(%rip)    # 0x25300
jl 0x5058
pushq $0x33
popq %rsi
movq %r14, %rdi
movl %ebx, %edx
popq %rbx
popq %r14
popq %rbp
jmp 0x11e4a
pushq $0x3
popq %rsi
pushq $0x1
popq %rdx
pushq $0x2
popq %rbp
movq %r14, %rdi
movl %ebp, %ecx
callq 0x11e6a
movq %r14, %rdi
movl %ebp, %esi
movl %ebp, %edx
movl %ebx, %ecx
popq %rbx
popq %r14
popq %rbp
jmp 0x11e6a
// File: /workspace/github_cpp_makefile_star2_O2/rofl0r[P]ascc/cs_parser.cpp
// Function: free_pointers_from_struct(int, ccCompiledScript*)
void free_pointers_from_struct(int structVarSym, ccCompiledScript *scrip) {
    int structType = sym.entries[structVarSym].vartype;

    for (int dd = 0; (size_t)dd < sym.entries.size(); dd++) {
        if ((sym.entries[dd].stype == SYM_STRUCTMEMBER) &&
            (sym.entries[dd].extends == structType) &&
            ((sym.entries[dd].flags & SFLG_IMPORTED) == 0) &&
            ((sym.entries[dd].flags & SFLG_PROPERTY) == 0)) {

                if (sym.entries[dd].flags & SFLG_POINTER) {
                    int spOffs = (scrip->cur_sp - sym.entries[structVarSym].soffs) - sym.entries[dd].soffs;

                    free_pointer(spOffs, SCMD_MEMZEROPTR, dd, scrip);

                    if (sym.entries[structVarSym].flags & SFLG_ARRAY) {
                        // an array of structs, free any pointers in them
                        for (int ii = 1; ii < sym.entries[structVarSym].arrsize; ii++) {
                            spOffs -= sym.entries[structType].ssize;
                            free_pointer(spOffs, SCMD_MEMZEROPTR, dd, scrip);
                        }
                    }
                }
                else {
                    // non-pointer struct, need to procss its members
                    // **** TODO

                }
        }
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movslq %edi, %rax
leaq 0x2065b(%rip), %rcx     # 0x256f0
movq 0x28(%rcx), %rcx
imulq $0xb0, %rax, %r13
movswq 0x30(%rcx,%r13), %r12
xorl %r14d, %r14d
movl $0xb0, %esi
movl $0x304, %edi            # imm = 0x304
imulq $0xb0, %r12, %rbp
movq %r12, (%rsp)
leaq 0x2062b(%rip), %rax     # 0x256f0
movq 0x30(%rax), %rax
subq %rcx, %rax
cqto
idivq %rsi
cmpq %r14, %rax
jbe 0x518b
imulq $0xb0, %r14, %rax
cmpw $0xa, 0x20(%rcx,%rax)
jne 0x5183
addq %rcx, %rax
cmpw %r12w, 0x50(%rax)
jne 0x5183
movl 0x28(%rax), %edx
andl %edi, %edx
cmpl $0x100, %edx            # imm = 0x100
jne 0x5183
movq 0x8d40(%rbx), %r15
movl 0x34(%rcx,%r13), %ecx
movl 0x34(%rax), %eax
addq %rcx, %rax
subq %rax, %r15
movl %r15d, %edi
pushq $0x31
popq %rsi
movl %r14d, %edx
movq %rbx, %rcx
callq 0x4f9d
leaq 0x205bb(%rip), %rax     # 0x256f0
movq 0x28(%rax), %rcx
testb $0x2, 0x28(%rcx,%r13)
je 0x5179
pushq $0x1
popq %r12
cmpq %r12, 0x48(%rcx,%r13)
jle 0x5175
movslq %r15d, %r15
subq 0x38(%rcx,%rbp), %r15
movl %r15d, %edi
pushq $0x31
popq %rsi
movl %r14d, %edx
movq %rbx, %rcx
callq 0x4f9d
incq %r12
leaq 0x20581(%rip), %rax     # 0x256f0
movq 0x28(%rax), %rcx
jmp 0x5145
movq (%rsp), %r12
movl $0xb0, %esi
movl $0x304, %edi            # imm = 0x304
incq %r14
jmp 0x50be
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/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 0xfc84
movq %rax, %rbp
movslq (%rbx), %r15
movq %r14, %rdi
callq 0x12512
leaq 0x20226(%rip), %rdi     # 0x256f0
movl %ebp, %esi
callq 0xfe60
cmpl $0x1f, %eax
jne 0x556a
movq %r13, %rdi
callq 0xfc58
leaq 0x20207(%rip), %rdi     # 0x256f0
movl %eax, %esi
callq 0xfe60
cmpl $0x5, %eax
jne 0x5573
movq %r14, %rdi
callq 0x12512
pushq $0x1
popq %rdx
movq %r13, %rdi
movq %r14, %rsi
xorl %ecx, %ecx
callq 0x55a5
pushq $-0x1
popq %rbp
testl %eax, %eax
jne 0x5584
movq %r13, %rdi
callq 0xfc58
leaq 0x201cd(%rip), %rdi     # 0x256f0
movl %eax, %esi
callq 0xfe60
cmpl $0x28, %eax
jne 0x5595
movq %r13, %rdi
callq 0xfc84
movl (%r12,%r15,8), %edx
subl 0x20(%r14), %edx
addl $-0x2, %edx
pushq $0x46
popq %rsi
movq %r14, %rdi
callq 0x11e4a
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 0x5584
leaq 0x13495(%rip), %rdi     # 0x18a06
jmp 0x557a
leaq 0x1349d(%rip), %rdi     # 0x18a17
xorl %eax, %eax
callq 0xf258
pushq $-0x1
popq %rbp
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x13488(%rip), %rdi     # 0x18a24
xorl %eax, %eax
callq 0xf258
jmp 0x5584
// File: /workspace/github_cpp_makefile_star2_O2/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 0x499c
leaq 0x1fcef(%rip), %r15     # 0x256f0
leaq 0x1f9b8(%rip), %rsi     # 0x253c0
movq %r15, %rdi
callq 0x1085a
testl %eax, %eax
js 0x5a37
movl %eax, %ecx
testl %r14d, %r14d
jne 0x5a2d
movq 0x28(%r15), %rdx
imulq $0xb0, %rcx, %rsi
testb $0x40, 0x29(%rdx,%rsi)
jne 0x5aaa
movq %rcx, (%rbx)
xorl %eax, %eax
jmp 0x5ade
movslq %ebp, %rax
movq 0x28(%r15), %rcx
imulq $0xb0, %rax, %rax
movswl 0x50(%rcx,%rax), %edi
testl %edi, %edi
jle 0x5a5d
movq %rbx, %rsi
movl %r14d, %edx
callq 0x59e1
testl %eax, %eax
je 0x5a30
movl (%rbx), %edx
leaq 0x1fc8a(%rip), %r14     # 0x256f0
leaq 0x8(%rsp), %rbx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x10864
movq (%rbx), %rbx
leaq 0x28(%rsp), %rdi
movq %r14, %rsi
movl %ebp, %edx
callq 0x10864
movq 0x28(%rsp), %rdx
leaq 0x12f9d(%rip), %rdi     # 0x18a31
movq %rbx, %rsi
xorl %eax, %eax
callq 0xf258
leaq 0x28(%rsp), %rdi
callq 0x31a0
jmp 0x5ad1
leaq 0x1fc3f(%rip), %rsi     # 0x256f0
leaq 0x8(%rsp), %rbx
movq %rbx, %rdi
movl %eax, %edx
callq 0x10864
movq (%rbx), %rsi
leaq 0x12fdb(%rip), %rdi     # 0x18aa5
xorl %eax, %eax
callq 0xf258
leaq 0x8(%rsp), %rdi
callq 0x31a0
pushq $-0x1
popq %rax
addq $0x48, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
jmp 0x5afa
movq %rax, %rbx
leaq 0x28(%rsp), %rdi
callq 0x31a0
jmp 0x5afd
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x31a0
movq %rbx, %rdi
callq 0x3560
// File: /workspace/github_cpp_makefile_star2_O2/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 0x1fbcc(%rip), %rsi     # 0x256f0
testl %eax, %eax
je 0x5b53
leaq 0x8(%rsp), %r14
movq %r14, %rdi
callq 0x10864
leaq 0x14eda(%rip), %rsi     # 0x1aa16
movq %rbx, %rdi
movq %r14, %rdx
callq 0xe8b1
leaq 0x8(%rsp), %rdi
callq 0x31a0
jmp 0x5b5b
movq %rbx, %rdi
callq 0x10864
movq %rbx, %rax
addq $0x28, %rsp
popq %rbx
popq %r14
retq
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x31a0
movq %rbx, %rdi
callq 0x3560
// File: /workspace/github_cpp_makefile_star2_O2/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 0xfc58
movq %rax, %rcx
xorl %eax, %eax
cmpq $-0x1, %rcx
jne 0x5d9b
movq %rbx, %rdi
callq 0xfc84
movl 0x14(%rbx), %eax
leaq 0x1fa28(%rip), %rcx     # 0x257b0
movl %eax, (%rcx)
leaq 0x12dc0(%rip), %rdi     # 0x18b51
xorl %eax, %eax
callq 0xf258
pushq $-0x1
popq %rax
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O2/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 0xfc58
leaq 0x1f934(%rip), %rdi     # 0x256f0
movl %eax, %esi
callq 0xfe60
xorl %ebx, %ebx
cmpl $0x19, %eax
jne 0x5e67
movq %r15, %rdi
callq 0xfc84
movq %r15, %rdi
callq 0xfc84
movq %rax, %r13
leaq 0x1f908(%rip), %rdi     # 0x256f0
movl %r13d, %esi
callq 0x10b48
movb (%rax), %r12b
cmpb $0x2d, %r12b
jne 0x5e04
movq %r15, %rdi
callq 0xfc84
movq %rax, %r13
xorl %edx, %edx
cmpb $0x2d, %r12b
sete %dl
leaq 0x12d54(%rip), %rcx     # 0x18b68
leaq 0x4(%rsp), %rsi
movl %r13d, %edi
callq 0x5b7b
testl %eax, %eax
js 0x5e64
movl 0x4(%rsp), %ecx
movslq %r14d, %rax
leaq 0x1f8bd(%rip), %rdx     # 0x256f0
movq 0x28(%rdx), %rdi
imulq $0xb0, %rax, %r8
pushq $0x64
popq %rsi
movl %ebp, %eax
cltd
idivl %esi
movslq %edx, %rsi
addq %r8, %rdi
addq $0x88, %rdi
movq -0x18(%rdi), %rax
movl %ecx, (%rax,%rsi,4)
callq 0xe96e
orq %rdx, (%rax)
jmp 0x5e67
pushq $-0x1
popq %rbx
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_O2/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 0xfc58
leaq 0x1f861(%rip), %rdi     # 0x256f0
movl %eax, %esi
callq 0xfe60
movl %eax, %ecx
xorl %eax, %eax
cmpl $0x7, %ecx
jne 0x5f10
movq %r14, %rdi
callq 0xfc84
movq %r14, %rdi
callq 0xfc84
leaq 0x1f83a(%rip), %r14     # 0x256f0
movq %r14, %rdi
movl %eax, %esi
callq 0xfe60
cmpl $0x8, %eax
jne 0x5eff
movslq %ebp, %rax
movq 0x28(%r14), %rcx
imulq $0xb0, %rax, %rax
movq 0x28(%rcx,%rax), %rcx
pushq $0x1
popq %rax
btl $0xa, %ecx
jae 0x5f10
shrl $0xc, %ecx
andl $0x1, %ecx
leaq 0x12cf3(%rip), %rdx     # 0x18be1
leaq 0x12cc7(%rip), %rdi     # 0x18bbc
cmovneq %rdx, %rdi
testb %bl, %cl
je 0x5f06
jmp 0x5f10
leaq 0x12c8a(%rip), %rdi     # 0x18b90
xorl %eax, %eax
callq 0xf258
pushq $-0x1
popq %rax
popq %rbx
popq %r14
popq %rbp
retq