LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O1/Eronana[P]strawberry/src/ast_codegen.cpp
// Function: AST_WhileStatement::codeGen(Symbol*)
DEF_AST_METHOD(WhileStatement,AST_CODEGEN)
{
    int beginLabel=nextLabel();
    int endLabel=nextLabel();
    continueStack.push(beginLabel);
    breakStack.push(endLabel);
    GET_SCOPE();
    PRINTF("; while statement\n");
    PRINTF("label_%d:\n",beginLabel);
    PRINTF("; check expression\n");
    CODEGEN(expr);
    PRINTF("istrue\n");
    PRINTF("jmp label_%d\n",endLabel);
    PRINTF("; statement\n");
    CODEGEN(statement);
    PRINTF("jmp label_%d\n",beginLabel);
    PRINTF("label_%d:\n",endLabel);

    continueStack.pop();
    breakStack.pop();
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
callq 0xdb8f
movl %eax, 0x4(%rsp)
callq 0xdb8f
movl %eax, (%rsp)
leaq 0x10a0e(%rip), %rax     # 0x2f6b8
movq 0x30(%rax), %rcx
movq 0x40(%rax), %rdx
addq $-0x4, %rdx
cmpq %rdx, %rcx
je 0x1eccb
movl 0x4(%rsp), %edx
movl %edx, (%rcx)
addq $0x4, %rcx
movq %rcx, 0x30(%rax)
jmp 0x1ecdc
leaq 0x109e6(%rip), %rdi     # 0x2f6b8
leaq 0x4(%rsp), %rsi
callq 0x1f60a
leaq 0x10a25(%rip), %rax     # 0x2f708
movq 0x30(%rax), %rcx
movq 0x40(%rax), %rdx
addq $-0x4, %rdx
cmpq %rdx, %rcx
je 0x1ed03
movl (%rsp), %edx
movl %edx, (%rcx)
addq $0x4, %rcx
movq %rcx, 0x30(%rax)
jmp 0x1ed12
leaq 0x109fe(%rip), %rdi     # 0x2f708
movq %rsp, %rsi
callq 0x1f60a
leaq 0x8(%rsp), %rsi
movq %rbx, (%rsi)
leaq 0x10967(%rip), %rdi     # 0x2f688
callq 0x10aac
movq (%rax), %r14
incl 0x10e01(%rip)           # 0x2fb30
leaq 0x10ad2(%rip), %r13     # 0x2f808
movq (%r13), %rcx
leaq 0x2a69(%rip), %rdi      # 0x217aa
movl $0x12, %esi
movl $0x1, %edx
callq 0x64b0
incl 0x10dda(%rip)           # 0x2fb30
movq (%r13), %rdi
movl 0x4(%rsp), %edx
leaq 0x2985(%rip), %r15      # 0x216ea
movq %r15, %rsi
xorl %eax, %eax
callq 0x6390
incl 0x10dbb(%rip)           # 0x2fb30
movq (%r13), %rcx
leaq 0x29e6(%rip), %rdi      # 0x21766
movl $0x13, %esi
movl $0x1, %edx
callq 0x64b0
movq 0x8(%rbx), %rdi
movq (%rdi), %rax
movq %r14, %rsi
callq *0x18(%rax)
incl 0x10d8e(%rip)           # 0x2fb30
movq (%r13), %rcx
leaq 0x28d4(%rip), %rdi      # 0x21681
movl $0x7, %esi
movl $0x1, %edx
callq 0x64b0
incl 0x10d6e(%rip)           # 0x2fb30
movq (%r13), %rdi
movl (%rsp), %edx
leaq 0x28b9(%rip), %r12      # 0x21689
movq %r12, %rsi
xorl %eax, %eax
callq 0x6390
incl 0x10d50(%rip)           # 0x2fb30
movq (%r13), %rcx
leaq 0x298f(%rip), %rdi      # 0x2177a
movl $0xc, %esi
movl $0x1, %edx
callq 0x64b0
movq 0x10(%rbx), %rdi
movq (%rdi), %rax
movq %r14, %rsi
callq *0x18(%rax)
incl 0x10d23(%rip)           # 0x2fb30
movq (%r13), %rdi
movl 0x4(%rsp), %edx
movq %r12, %rsi
xorl %eax, %eax
callq 0x6390
incl 0x10d0b(%rip)           # 0x2fb30
movq (%r13), %rdi
movl (%rsp), %edx
movq %r15, %rsi
xorl %eax, %eax
callq 0x6390
leaq 0x1087b(%rip), %rdi     # 0x2f6b8
callq 0x1f81e
leaq 0x108bf(%rip), %rdi     # 0x2f708
callq 0x1f81e
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O1/Eronana[P]strawberry/src/ast_codegen.cpp
// Function: AST_CaseBlock::codeGen(Symbol*)
DEF_AST_METHOD(CaseBlock,AST_CODEGEN)
{
    int endLabel=nextLabel();
    breakStack.push(endLabel);
    defaultClauseStack.push(-1);
    CODEGEN(caseClausesList);
    int defaultLabel=defaultClauseStack.top();
    if(defaultLabel!=-1)PRINTF("jmp label_%d\n",defaultLabel);
    PRINTF("label_%d:\n",endLabel);
    breakStack.pop();
    defaultClauseStack.pop();
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rsi, %rbx
movq %rdi, %r14
callq 0xdb8f
movl %eax, 0x8(%rsp)
leaq 0x106bd(%rip), %rcx     # 0x2f708
movq 0x30(%rcx), %rdx
movq 0x40(%rcx), %rsi
addq $-0x4, %rsi
cmpq %rsi, %rdx
je 0x1f068
movl %eax, (%rdx)
addq $0x4, %rdx
movq %rdx, 0x30(%rcx)
jmp 0x1f079
leaq 0x10699(%rip), %rdi     # 0x2f708
leaq 0x8(%rsp), %rsi
callq 0x1f60a
leaq 0xc(%rsp), %rsi
movl $0xffffffff, (%rsi)     # imm = 0xFFFFFFFF
leaq 0x106cd(%rip), %r15     # 0x2f758
movq %r15, %rdi
callq 0x1f86a
movq 0x8(%r14), %rdi
movq (%rdi), %rax
movq %rbx, %rsi
callq *0x18(%rax)
movq 0x30(%r15), %rax
cmpq 0x38(%r15), %rax
jne 0x1f0b7
movq 0x48(%r15), %rcx
movl $0x200, %eax            # imm = 0x200
addq -0x8(%rcx), %rax
movl -0x4(%rax), %edx
cmpl $-0x1, %edx
je 0x1f0dd
incl 0x10a6b(%rip)           # 0x2fb30
leaq 0x1073c(%rip), %rax     # 0x2f808
movq (%rax), %rdi
leaq 0x25b3(%rip), %rsi      # 0x21689
xorl %eax, %eax
callq 0x6390
incl 0x10a4d(%rip)           # 0x2fb30
leaq 0x1071e(%rip), %rax     # 0x2f808
movq (%rax), %rdi
movl 0x8(%rsp), %edx
leaq 0x25f2(%rip), %rsi      # 0x216ea
xorl %eax, %eax
callq 0x6390
leaq 0x10602(%rip), %rdi     # 0x2f708
callq 0x1f81e
leaq 0x10646(%rip), %rdi     # 0x2f758
callq 0x1f81e
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/Eronana[P]strawberry/src/ast_codegen.cpp
// Function: AST_SwitchStatement::codeGen(Symbol*)
DEF_AST_METHOD(SwitchStatement,AST_CODEGEN)
{
    GET_SCOPE();
    PRINTF("; switch statement\n");
    CODEGEN(expr);
    CODEGEN(caseBlock);
    PRINTF("pop\n");
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
leaq 0x8(%rsp), %rsi
movq %rdi, (%rsi)
leaq 0x1054b(%rip), %rdi     # 0x2f688
callq 0x10aac
movq (%rax), %r14
incl 0x109e5(%rip)           # 0x2fb30
leaq 0x106b6(%rip), %r15     # 0x2f808
movq (%r15), %rcx
leaq 0x2673(%rip), %rdi      # 0x217cf
movl $0x13, %esi
movl $0x1, %edx
callq 0x64b0
movq 0x8(%rbx), %rdi
movq (%rdi), %rax
movq %r14, %rsi
callq *0x18(%rax)
movq 0x10(%rbx), %rdi
movq (%rdi), %rax
movq %r14, %rsi
callq *0x18(%rax)
incl 0x109a5(%rip)           # 0x2fb30
movq (%r15), %rcx
leaq 0x2456(%rip), %rdi      # 0x215eb
movl $0x4, %esi
movl $0x1, %edx
callq 0x64b0
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O1/Eronana[P]strawberry/src/ast_codegen.cpp
// Function: AST_Program::codeGen(Symbol*)
DEF_AST_METHOD(Program,AST_CODEGEN)
{
    GET_SCOPE();
    auto localCount=symbol->localCount;
    if(localCount)PRINTF("addsp %d\n",symbol->localCount);
    CODEGEN(stmtList);
    if(localCount)PRINTF("subsp %d\n",symbol->localCount);
    PRINTF("halt\n\n");
    for(FILE *x:func_tmpfile)copy_stream(AST::fp,x);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rdi, %r14
leaq 0x8(%rsp), %rsi
movq %rdi, (%rsi)
leaq 0x1014d(%rip), %rdi     # 0x2f688
callq 0x10aac
movq (%rax), %rbx
movl 0x3c(%rbx), %edx
testl %edx, %edx
je 0x1f591
incl 0x105e0(%rip)           # 0x2fb30
leaq 0x102b1(%rip), %r15     # 0x2f808
movq (%r15), %rdi
leaq 0x2299(%rip), %rsi      # 0x217fa
xorl %eax, %eax
callq 0x6390
movq 0x8(%r14), %rdi
movq (%rdi), %rax
movq %rbx, %rsi
callq *0x18(%rax)
incl 0x105b5(%rip)           # 0x2fb30
movq (%r15), %rdi
movl 0x3c(%rbx), %edx
leaq 0x22ab(%rip), %rsi      # 0x21833
xorl %eax, %eax
callq 0x6390
jmp 0x1f59e
movq 0x8(%r14), %rdi
movq (%rdi), %rax
movq %rbx, %rsi
callq *0x18(%rax)
incl 0x1058c(%rip)           # 0x2fb30
leaq 0x1025d(%rip), %rbx     # 0x2f808
movq (%rbx), %rcx
leaq 0x2288(%rip), %rdi      # 0x2183d
movl $0x6, %esi
movl $0x1, %edx
callq 0x64b0
movq 0x1056d(%rip), %r14     # 0x2fb38
movq 0x1056e(%rip), %r15     # 0x2fb40
cmpq %r15, %r14
je 0x1f5e8
movq (%r14), %rsi
movq (%rbx), %rdi
callq 0x1f4e1
addq $0x8, %r14
jmp 0x1f5d2
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O1/nightmeng[P]net/examples/echo/client.cpp
// Function: main
int main(){
	socket sock;

	if(!sock.connect("localhost", 1234)){
		std::cout << "connect failed!" << std::endl;
		return -1;
	}
	std::cout << "connect successfully" << std::endl;

	std::string msg;
	while(true){
		std::cout << "[send]: ";
		std::cin >> msg;

		sock.sync_write(msg.c_str(), msg.size());

		char buff[2049] = {0};
		sock.sync_read(buff, 2048);

		std::cout << "[recv]: " << buff << std::endl;
	}

	return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xa58, %rsp            # imm = 0xA58
leaq -0x270(%rbp), %rdi
callq 0x3840
leaq -0xa70(%rbp), %r14
movq %r14, -0x10(%r14)
leaq 0x4a46(%rip), %rsi      # 0x8004
leaq 0x4a48(%rip), %rdx      # 0x800d
leaq -0xa80(%rbp), %rdi
callq 0x37a4
leaq -0x270(%rbp), %rdi
leaq -0xa80(%rbp), %rsi
movl $0x4d2, %edx            # imm = 0x4D2
callq 0x401e
movl %eax, %ebx
movq -0xa80(%rbp), %rdi
cmpq %r14, %rdi
je 0x35fc
callq 0x31f0
testb %bl, %bl
jne 0x3669
movq 0x99c9(%rip), %rbx      # 0xcfd0
leaq 0x4a00(%rip), %rsi      # 0x800e
movl $0xf, %edx
movq %rbx, %rdi
callq 0x3230
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x3200
movsbl %al, %esi
movq 0x9997(%rip), %rdi      # 0xcfd0
callq 0x3030
movq %rax, %rdi
callq 0x3160
leaq -0x270(%rbp), %rdi
callq 0x3eba
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
addq $0xa58, %rsp            # imm = 0xA58
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x9960(%rip), %rdi      # 0xcfd0
leaq 0x49a7(%rip), %rsi      # 0x801e
movl $0x14, %edx
callq 0x3230
movq 0x9948(%rip), %rbx      # 0xcfd0
movq %rbx, %rdi
callq 0x3110
leaq -0x38(%rbp), %rax
movq %rax, -0x10(%rax)
movq $0x0, -0x8(%rax)
movb $0x0, (%rax)
leaq -0x48(%rbp), %r12
leaq -0x270(%rbp), %r13
leaq -0xa80(%rbp), %r14
leaq 0x4980(%rip), %r15      # 0x803c
movl $0x8, %edx
movq %rbx, %rdi
leaq 0x4968(%rip), %rsi      # 0x8033
callq 0x3230
movq 0x9909(%rip), %rdi      # 0xcfe0
movq %r12, %rsi
callq 0x3240
movq -0x48(%rbp), %rsi
movq -0x40(%rbp), %rdx
movq %r13, %rdi
callq 0x46fe
movl $0x801, %edx            # imm = 0x801
movq %r14, %rdi
xorl %esi, %esi
callq 0x3130
movl $0x800, %edx            # imm = 0x800
movq %r13, %rdi
movq %r14, %rsi
callq 0x4950
movl $0x8, %edx
movq %rbx, %rdi
movq %r15, %rsi
callq 0x3230
movq %r14, %rdi
callq 0x30e0
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x3230
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x3200
movsbl %al, %esi
movq %rbx, %rdi
callq 0x3030
movq %rax, %rdi
callq 0x3160
jmp 0x36bc
jmp 0x3762
movq %rax, %rbx
movq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
jne 0x3783
jmp 0x378f
movq %rax, %rbx
movq -0xa80(%rbp), %rdi
cmpq %r14, %rdi
je 0x378f
callq 0x31f0
jmp 0x378f
jmp 0x378c
movq %rax, %rbx
leaq -0x270(%rbp), %rdi
callq 0x3eba
movq %rbx, %rdi
callq 0x3320
nop
// File: /workspace/github_cpp_makefile_star2_O1/scattana[P]Crossword-Anagram-CPP/crossword.cpp
// Function: sortHighLow(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>&)
void sortHighLow(vector<string>& list){
	string temp;
	// run bubble sort algorithm
	for(int i=0; i<list.size()-1; i++){
		for(int j=0; j<list.size()-i-1; j++){
			if(list[j].size() < list[j+1].size()){
				temp = list[j];
				list[j] = list[j+1];
				list[j+1] = temp;
			}
		}
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
leaq -0x40(%rbp), %rax
movq %rax, -0x10(%rax)
movq $0x0, -0x8(%rax)
movb $0x0, (%rax)
movq 0x8(%rdi), %rax
subq (%rdi), %rax
cmpq $0x20, %rax
je 0x3b25
movq %rdi, %rbx
xorl %r13d, %r13d
leaq -0x50(%rbp), %r14
leaq 0x1(%r13), %rdx
movq (%rbx), %rax
movq 0x8(%rbx), %rcx
subq %rax, %rcx
sarq $0x5, %rcx
movq %rdx, -0x30(%rbp)
cmpq %rdx, %rcx
je 0x3b07
notq %r13
movl $0x20, %r15d
xorl %r12d, %r12d
movq -0x18(%rax,%r15), %rcx
cmpq 0x8(%rax,%r15), %rcx
jae 0x3aea
leaq (%rax,%r15), %rsi
addq $-0x20, %rsi
movq %r14, %rdi
callq 0x20f0
movq (%rbx), %rsi
leaq (%rsi,%r15), %rdi
addq $-0x20, %rdi
addq %r15, %rsi
callq 0x20f0
movq (%rbx), %rdi
addq %r15, %rdi
movq %r14, %rsi
callq 0x20f0
incq %r12
movq (%rbx), %rax
movq 0x8(%rbx), %rcx
subq %rax, %rcx
sarq $0x5, %rcx
addq %r13, %rcx
addq $0x20, %r15
cmpq %r12, %rcx
ja 0x3aad
movq 0x8(%rbx), %rax
subq (%rbx), %rax
sarq $0x5, %rax
decq %rax
movq -0x30(%rbp), %rcx
movq %rcx, %r13
cmpq %rcx, %rax
ja 0x3a86
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x3b37
callq 0x2180
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x3b5b
callq 0x2180
movq %rbx, %rdi
callq 0x2260
// File: /workspace/github_cpp_makefile_star2_O1/scattana[P]Crossword-Anagram-CPP/board.cpp
// Function: Board::Board()
Board::Board(){
	// make a 15x15 blank board, with blanks shown as underscores
	for(int i=0; i<15; i++){
		for(int j=0; j<15; j++){
			data[i][j] = '_';
		}
	}
	// make all locations (0,0) to begin with
	for(int row=0; row<20; row++){
		for(int col=0; col<2; col++){
			locations[row][col] = 0;
		}
	}
	// "place" keeps track of which word in list goes to which location
	// start at 1 because first (longest) word will be placed before the
	// method is called that places the next word on the board
	place = 1;

	// direction keeps track of the orientation of the words placed
	for(int i=0; i<20; i++){
		direction[i] = " ";
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rdi, %rbx
movl $0x198, %eax            # imm = 0x198
leaq (%rbx,%rax), %rcx
movq %rcx, -0x10(%rbx,%rax)
movq $0x0, -0x8(%rbx,%rax)
movb $0x0, (%rbx,%rax)
addq $0x20, %rax
cmpq $0x418, %rax            # imm = 0x418
jne 0x3f73
movl $0xe1, %edx
movq %rbx, %rdi
movl $0x5f, %esi
callq 0x2100
leaq 0xe4(%rbx), %rdi
xorl %r15d, %r15d
movl $0xa0, %edx
xorl %esi, %esi
callq 0x2100
leaq 0x188(%rbx), %r12
movl $0x1, 0x408(%rbx)
leaq 0x140e(%rip), %r14      # 0x53e3
leaq (%r12,%r15), %rdi
movq 0x190(%rbx,%r15), %rdx
movl $0x1, %r8d
xorl %esi, %esi
movq %r14, %rcx
callq 0x2220
addq $0x20, %r15
cmpq $0x280, %r15            # imm = 0x280
jne 0x3fd5
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movq %rbx, %rdi
callq 0x22c4
movq %r14, %rdi
callq 0x2260
// File: /workspace/github_cpp_makefile_star2_O1/scattana[P]Crossword-Anagram-CPP/board.cpp
// Function: Board::printBoard()
void Board::printBoard(){
	for(int i=0; i<15; i++){
		for(int j=0; j<15; j++){
			cout << data[i][j];
			// add a space in between for visual purposes
			cout << " ";
		}
		cout << endl;
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
xorl %eax, %eax
movq 0x2f5d(%rip), %r14      # 0x6fd0
leaq -0x29(%rbp), %r15
leaq 0x1365(%rip), %r12      # 0x53e3
movq %rax, -0x38(%rbp)
movq $-0xf, %r13
movb 0xf(%rbx,%r13), %al
movb %al, -0x29(%rbp)
movl $0x1, %edx
movq %r14, %rdi
movq %r15, %rsi
callq 0x21d0
movl $0x1, %edx
movq %r14, %rdi
movq %r12, %rsi
callq 0x21d0
incq %r13
jne 0x4089
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x2190
movsbl %al, %esi
movq %r14, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2110
movq -0x38(%rbp), %rax
incq %rax
addq $0xf, %rbx
cmpq $0xf, %rax
jne 0x407e
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/scattana[P]Crossword-Anagram-CPP/board.cpp
// Function: Board::printHidden()
void Board::printHidden(){
	for(int i=0; i<15; i++){
		for(int j=0; j<15; j++){
			if(data[i][j]=='_') cout << '#';
			else cout << '_';
			// add a space in between for visual purposes
			cout << " ";
		}
		cout << endl;
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
xorl %eax, %eax
movq 0x2eb5(%rip), %r14      # 0x6fd0
leaq 0x12c1(%rip), %r12      # 0x53e3
leaq -0x2a(%rbp), %r13
movq %rax, -0x38(%rbp)
movq $-0xf, %r15
cmpb $0x5f, 0xf(%rbx,%r15)
jne 0x414b
movb $0x23, -0x29(%rbp)
movl $0x1, %edx
movq %r14, %rdi
leaq -0x29(%rbp), %rsi
jmp 0x415a
movb $0x5f, -0x2a(%rbp)
movl $0x1, %edx
movq %r14, %rdi
movq %r13, %rsi
callq 0x21d0
movl $0x1, %edx
movq %r14, %rdi
movq %r12, %rsi
callq 0x21d0
incq %r15
jne 0x4131
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x2190
movsbl %al, %esi
movq %r14, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2110
movq -0x38(%rbp), %rax
incq %rax
addq $0xf, %rbx
cmpq $0xf, %rax
jne 0x4126
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/scattana[P]Crossword-Anagram-CPP/board.cpp
// Function: Board::findMatch(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
int Board::findMatch(string word){
	for(int i=0; i<15; i++){
		for(int j=0; j<15; j++){
			for(int k=0; k<word.size(); k++){
				if(word[k] == getSpot(i,j)) return 1 ;
			}
		}
	}
	return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq 0x8(%rsi), %rax
movq %rax, %rcx
addq $-0x1, %rcx
setb %dl
movb $0x1, %r8b
xorl %r9d, %r9d
xorl %r10d, %r10d
leaq (%r9,%r9,4), %r11
leaq (%r11,%r11,2), %r11
addq %rdi, %r11
xorl %ebx, %ebx
testq %rax, %rax
je 0x4ab8
movq (%rsi), %r14
movb (%r10,%r11), %r15b
movl %edx, %r12d
cmpb %r15b, (%r14)
je 0x4ab3
xorl %r12d, %r12d
cmpq %r12, %rcx
je 0x4ab8
leaq 0x1(%r12), %r13
cmpb %r15b, 0x1(%r14,%r12)
movq %r13, %r12
jne 0x4a98
cmpq %r13, %rax
seta %r12b
testb %r12b, %r12b
jne 0x4ace
cmpq $0xe, %r10
leaq 0x1(%r10), %r14
setae %bl
movq %r14, %r10
cmpq $0xf, %r14
jne 0x4a81
jmp 0x4ad3
testb $0x1, %bl
je 0x4ae8
cmpq $0xe, %r9
leaq 0x1(%r9), %r10
setb %r8b
movq %r10, %r9
cmpq $0xf, %r10
jne 0x4a71
movzbl %r8b, %eax
andl $0x1, %eax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/7shi[P]8086run/v2/bios.cpp
// Function: moveCursorToBottom()
void moveCursorToBottom() {
    if (cleared) {
        AH = 2, DL = 79, DH = 24;
        bios(0x10);
        AX = 0x0e0d;
        bios(0x10);
    }
}

// Assembly:
leaq 0x12971d(%rip), %rax    # 0x12b4f2
cmpb $0x1, (%rax)
jne 0x1e18
pushq %rax
leaq 0x1295be(%rip), %rax    # 0x12b3a0
movq 0x20(%rax), %rcx
movb $0x2, (%rcx)
movq 0x10(%rax), %rcx
movb $0x4f, (%rcx)
movq 0x30(%rax), %rax
movb $0x18, (%rax)
movl $0x10, %edi
callq 0x14c4
leaq 0x129588(%rip), %rax    # 0x12b390
movw $0xe0d, (%rax)          # imm = 0xE0D
movl $0x10, %edi
popq %rax
jmp 0x14c4
retq
nopl (%rax)
// File: /workspace/github_cpp_makefile_star2_O1/7shi[P]8086run/v2/utils.cpp
// Function: mclock()
int mclock() {
#ifdef _WIN32
    clock_t clk = clock();
    static clock_t clk0 = clk;
    clk -= clk0;
    return clk * 1000 / CLOCKS_PER_SEC;
#else
    struct timeval tv;
    gettimeofday(&tv, NULL);
    static time_t sec0 = tv.tv_sec;
    return (tv.tv_sec - sec0) * 1000 + tv.tv_usec / 1000;
#endif
}

// Assembly:
subq $0x18, %rsp
leaq 0x8(%rsp), %rdi
xorl %esi, %esi
callq 0x11f0
movb 0x1242f8(%rip), %al     # 0x12b5b8
testb %al, %al
je 0x72f7
movl 0x8(%rsp), %ecx
subl 0x1242e2(%rip), %ecx    # 0x12b5b0
movabsq $0x20c49ba5e353f7cf, %rax # imm = 0x20C49BA5E353F7CF
imulq 0x10(%rsp)
imull $0x3e8, %ecx, %ecx      # imm = 0x3E8
movq %rdx, %rax
shrq $0x3f, %rax
shrq $0x7, %rdx
addl %edx, %eax
addl %ecx, %eax
addq $0x18, %rsp
retq
leaq 0x8(%rsp), %rdi
callq 0x12ea
jmp 0x72c4
nopw %cs:(%rax,%rax)
nopl (%rax)
// File: /workspace/github_cpp_makefile_star2_O1/Rekran[P]HahTable-Chaining-/LinkedList.cpp
// Function: LinkedList::print()
void LinkedList::print(){
	Node *n = this->header.head;
	for(int i = 0;i < this->header.size; i++){
		std::cout<<"["<<i<<"]"<<n->word<<" ";
		n = n->Next;
		
		if(i%10 == 0 && i != 0)
			std::cout<<std::endl;	
 	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, -0x30(%rbp)
cmpl $0x0, 0x10(%rdi)
jle 0x252d
movq -0x30(%rbp), %rax
movq (%rax), %rbx
xorl %r14d, %r14d
movq 0x3b8b(%rip), %r15      # 0x5fd8
movl $0x1, %edx
movq %r15, %rdi
leaq 0x1ba8(%rip), %rsi      # 0x4004
callq 0x2160
movq %r15, %rdi
movl %r14d, %esi
callq 0x21d0
movq %rax, %r13
movl $0x1, %edx
movq %rax, %rdi
leaq 0x1b88(%rip), %rsi      # 0x4006
callq 0x2160
movq 0x8(%rbx), %r12
testq %r12, %r12
je 0x24a4
movq %r12, %rdi
callq 0x20b0
movq %r13, %rdi
movq %r12, %rsi
movq %rax, %rdx
callq 0x2160
jmp 0x24bf
movq (%r13), %rax
movq -0x18(%rax), %rax
movq %r13, %rdi
addq %rax, %rdi
movl 0x20(%r13,%rax), %esi
orl $0x1, %esi
callq 0x21c0
movl $0x1, %edx
movq %r13, %rdi
leaq 0x1b3f(%rip), %rsi      # 0x400d
callq 0x2160
movq (%rbx), %rbx
testl %r14d, %r14d
je 0x251c
movl %r14d, %eax
movl $0xcccccccd, %ecx       # imm = 0xCCCCCCCD
imulq %rcx, %rax
shrq $0x23, %rax
addl %eax, %eax
leal (%rax,%rax,4), %eax
cmpl %r14d, %eax
jne 0x251c
movq (%r15), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x2130
movsbl %al, %esi
movq %r15, %rdi
callq 0x2040
movq %rax, %rdi
callq 0x20d0
incl %r14d
movq -0x30(%rbp), %rax
cmpl 0x10(%rax), %r14d
jl 0x244d
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/Rekran[P]HahTable-Chaining-/LinkedList.cpp
// Function: LinkedList::prepend(char*)
void LinkedList::prepend(char *word){
	if(header.head == NULL){
		Node *N1 = new Node();
		N1->word = word;
		
		this->header.head = N1;
		this->header.tail = N1;
		
		this->header.size += 1;	
			
	}else{
		
		Node *N1 = new Node();
		N1->word = word;
		
		N1->Next = header.head;
		this->header.head = N1;
		
		this->header.size += 1;	
	}

}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rsi, %r15
movq %rdi, %r14
movq (%rdi), %r12
movl $0x18, %edi
callq 0x2140
movq %rax, %rbx
testq %r12, %r12
je 0x2579
movq %rbx, %rdi
callq 0x23bc
movq %r15, 0x8(%rbx)
movq (%r14), %rax
movq %rax, (%rbx)
movq %r14, %rax
jmp 0x258c
movq %rbx, %rdi
callq 0x23bc
movq %r15, 0x8(%rbx)
movq %rbx, (%r14)
leaq 0x8(%r14), %rax
movq %rbx, (%rax)
incl 0x10(%r14)
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
jmp 0x259e
movq %rax, %r14
movl $0x18, %esi
movq %rbx, %rdi
callq 0x2150
movq %r14, %rdi
callq 0x21e0
// File: /workspace/github_cpp_makefile_star2_O1/Rekran[P]HahTable-Chaining-/LinkedList.cpp
// Function: LinkedList::prepend(int)
void LinkedList::prepend(int value){
	if(header.head == NULL){
		Node *N1 = new Node();
		N1->Value = value;
		
		this->header.head = N1;
		this->header.tail = N1;
		
		this->header.size += 1;	
			
	}else{
		
		Node *N1 = new Node();
		N1->Value = value;
		
		N1->Next = header.head;
		this->header.head = N1;
		
		this->header.size += 1;	
	}

}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl %esi, %r15d
movq %rdi, %r14
movq (%rdi), %r12
movl $0x18, %edi
callq 0x2140
movq %rax, %rbx
testq %r12, %r12
je 0x25f3
movq %rbx, %rdi
callq 0x23bc
movl %r15d, 0x10(%rbx)
movq (%r14), %rax
movq %rax, (%rbx)
movq %r14, %rax
jmp 0x2606
movq %rbx, %rdi
callq 0x23bc
movl %r15d, 0x10(%rbx)
movq %rbx, (%r14)
leaq 0x8(%r14), %rax
movq %rbx, (%rax)
incl 0x10(%r14)
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
jmp 0x2618
movq %rax, %r14
movl $0x18, %esi
movq %rbx, %rdi
callq 0x2150
movq %r14, %rdi
callq 0x21e0
// File: /workspace/github_cpp_makefile_star2_O1/Rekran[P]HahTable-Chaining-/LinkedList.cpp
// Function: LinkedList::append(int)
void LinkedList::append(int value){
	
	if(this->header.head == NULL){
		
		Node *N1 = new Node();
		N1->Value = value;
		
		this->header.head = N1;
		this->header.tail = N1;
		
		this->header.size += 1;	
			
	}else{
		
		Node *N1 = new Node();
		N1->Value = value;
		
		this->header.tail->Next = N1;
		this->header.tail = N1;		
		this->header.size += 1;	
	}

}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl %esi, %r15d
movq %rdi, %r14
movq (%rdi), %r12
movl $0x18, %edi
callq 0x2140
movq %rax, %rbx
testq %r12, %r12
je 0x266b
movq %rbx, %rdi
callq 0x23bc
movl %r15d, 0x10(%rbx)
movq 0x8(%r14), %rax
movq %rbx, (%rax)
jmp 0x267a
movq %rbx, %rdi
callq 0x23bc
movl %r15d, 0x10(%rbx)
movq %rbx, (%r14)
movq %rbx, 0x8(%r14)
incl 0x10(%r14)
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
jmp 0x268d
movq %rax, %r14
movl $0x18, %esi
movq %rbx, %rdi
callq 0x2150
movq %r14, %rdi
callq 0x21e0
nopl (%rax)
// File: /workspace/github_cpp_makefile_star2_O1/Rekran[P]HahTable-Chaining-/HashTable.cpp
// Function: HashTable::search(char*)
bool HashTable::search(char *word){
	
	LinkedList &L = this->table[this->hash(word)];
	
	Node *aux = L.getHead();
	
while(aux != NULL){
	
	if(strcmp(aux->word,word) == 0){
		return true;
	}
	aux = aux->Next;
	
}
	
	
	return false;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq %rsi, %rdi
callq 0x20b0
testl %eax, %eax
jle 0x2766
andl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
movl $0x1505, %ecx           # imm = 0x1505
xorl %edx, %edx
movsbl (%rbx,%rdx), %esi
movl %ecx, %edi
shll $0x5, %edi
addl %edi, %ecx
addl %esi, %ecx
incq %rdx
cmpq %rdx, %rax
jne 0x2738
movl %ecx, %eax
movl $0xcccccccd, %edx       # imm = 0xCCCCCCCD
imulq %rax, %rdx
shrq $0x24, %rdx
shll $0x2, %edx
leal (%rdx,%rdx,4), %eax
subl %eax, %ecx
jmp 0x276b
movl $0x1, %ecx
leaq (%rcx,%rcx,2), %rax
leaq (%r14,%rax,8), %rdi
callq 0x2416
testq %rax, %rax
setne %r15b
je 0x27a0
movq %rax, %r14
movq 0x8(%r14), %rdi
movq %rbx, %rsi
callq 0x2180
testl %eax, %eax
je 0x27a0
movq (%r14), %r14
testq %r14, %r14
setne %r15b
jne 0x2784
movl %r15d, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/Rekran[P]HahTable-Chaining-/HashTable.cpp
// Function: HashTable::hash(char*)
unsigned int HashTable::hash(char *word){
	int size = strlen(word);
	int i;
	unsigned int value = 5381;
	
	for(i = 0;i< size;i++ ){
	
	value += (value << 5)  + word[i];
	
	}
	return value%MAX;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rsi, %rdi
callq 0x20b0
movq %rax, %rcx
testl %ecx, %ecx
jle 0x2801
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
movl $0x1505, %eax           # imm = 0x1505
xorl %edx, %edx
movsbl (%rbx,%rdx), %esi
movl %eax, %edi
shll $0x5, %edi
addl %edi, %eax
addl %esi, %eax
incq %rdx
cmpq %rdx, %rcx
jne 0x27d3
movl %eax, %ecx
movl $0xcccccccd, %edx       # imm = 0xCCCCCCCD
imulq %rcx, %rdx
shrq $0x24, %rdx
shll $0x2, %edx
leal (%rdx,%rdx,4), %ecx
subl %ecx, %eax
jmp 0x2806
movl $0x1, %eax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/Rekran[P]HahTable-Chaining-/HashTable.cpp
// Function: HashTable::loadDictionary(char*)
void HashTable::loadDictionary(char *path){
string line;
  
  ifstream myfile(path);
  if (myfile.is_open())
  {
    while ( myfile>>line )
    {
    
    	int n = line.length() + 1;
		char *char_array = new char[n];	
    	strcpy(char_array, line.c_str()); 
    	this->guarda(char_array);
    }
    myfile.close();
  }
	
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x228, %rsp            # imm = 0x228
movq %rdi, %rbx
leaq -0x38(%rbp), %r13
movq %r13, -0x10(%r13)
movq $0x0, -0x8(%r13)
movb $0x0, (%r13)
leaq -0x250(%rbp), %rdi
movl $0x8, %edx
callq 0x2200
leaq -0x1d8(%rbp), %rdi
callq 0x2060
testb %al, %al
je 0x28b4
leaq -0x250(%rbp), %r14
leaq -0x48(%rbp), %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0x2170
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
jne 0x28a8
movl -0x40(%rbp), %eax
incl %eax
movslq %eax, %rdi
callq 0x2030
movq %rax, %r12
movq -0x48(%rbp), %rsi
movq %rax, %rdi
callq 0x2120
movq %rbx, %rdi
movq %r12, %rsi
callq 0x291c
jmp 0x2866
leaq -0x250(%rbp), %rdi
callq 0x2050
leaq -0x250(%rbp), %rdi
callq 0x2070
movq -0x48(%rbp), %rdi
cmpq %r13, %rdi
je 0x28d5
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x2150
addq $0x228, %rsp            # imm = 0x228
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x28f0
movq %rax, %rbx
jmp 0x28ff
jmp 0x28f0
movq %rax, %rbx
leaq -0x250(%rbp), %rdi
callq 0x2070
movq -0x48(%rbp), %rdi
cmpq %r13, %rdi
je 0x2914
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x2150
movq %rbx, %rdi
callq 0x21e0
// File: /workspace/github_cpp_makefile_star2_O1/Rekran[P]HahTable-Chaining-/HashTable.cpp
// Function: HashTable::print()
void HashTable::print(){
	
	for(int i = 0; i < MAX ; i++){
		LinkedList &l = this->table[i];
		std::cout << "Index "<< i << std::endl; 
		l.print();
		std::cout << std::endl;
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
xorl %r14d, %r14d
movq 0x35b1(%rip), %r15      # 0x5fd8
leaq 0x15da(%rip), %r12      # 0x4008
movl $0x6, %edx
movq %r15, %rdi
movq %r12, %rsi
callq 0x2160
movq %r15, %rdi
movl %r14d, %esi
callq 0x21d0
movq %rax, %r13
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x2130
movsbl %al, %esi
movq %r13, %rdi
callq 0x2040
movq %rax, %rdi
callq 0x20d0
movq %rbx, %rdi
callq 0x2420
movq (%r15), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x2130
movsbl %al, %esi
movq %r15, %rdi
callq 0x2040
movq %rax, %rdi
callq 0x20d0
incq %r14
addq $0x18, %rbx
cmpq $0x14, %r14
jne 0x2a2e
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/Rekran[P]HahTable-Chaining-/main.cpp
// Function: main
int main(int argc, char** argv) {
vector<string>erros;
HashTable ht = HashTable();

ht.loadDictionary("dictionary.txt");

string word;
  ifstream myfile("text.txt");
  if (myfile.is_open())
  {
    while ( myfile>>word )
    {
    	if(!ht.search(&word[0]))
			erros.push_back(word);
    }
    myfile.close();
  }
for(int i = 0; i< erros.size();i++)
	cout<<erros[i]<<endl;

	return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x428, %rsp            # imm = 0x428
xorps %xmm0, %xmm0
movaps %xmm0, -0x40(%rbp)
movq $0x0, -0x30(%rbp)
leaq -0x448(%rbp), %rdi
callq 0x26bc
leaq 0x1515(%rip), %rsi      # 0x400f
leaq -0x448(%rbp), %rdi
callq 0x280e
leaq -0x50(%rbp), %r13
movq %r13, -0x10(%r13)
movq $0x0, -0x8(%r13)
movb $0x0, (%r13)
leaq 0x14fc(%rip), %rsi      # 0x401e
leaq -0x268(%rbp), %rdi
movl $0x8, %edx
callq 0x2200
leaq -0x1f0(%rbp), %rdi
callq 0x2060
testb %al, %al
je 0x2b9b
leaq -0x268(%rbp), %rbx
leaq -0x60(%rbp), %r14
leaq -0x448(%rbp), %r15
leaq -0x40(%rbp), %r12
movq %rbx, %rdi
movq %r14, %rsi
callq 0x2170
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
jne 0x2b8f
movq -0x60(%rbp), %rsi
movq %r15, %rdi
callq 0x2710
testb %al, %al
jne 0x2b59
movq %r12, %rdi
movq %r14, %rsi
callq 0x2caa
jmp 0x2b59
leaq -0x268(%rbp), %rdi
callq 0x2050
movq -0x40(%rbp), %rax
cmpq %rax, -0x38(%rbp)
je 0x2c0b
movl $0x8, %r15d
xorl %r12d, %r12d
movq 0x3423(%rip), %rbx      # 0x5fd8
movq -0x8(%rax,%r15), %rsi
movq (%rax,%r15), %rdx
movq %rbx, %rdi
callq 0x2160
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x2130
movsbl %al, %esi
movq %r14, %rdi
callq 0x2040
movq %rax, %rdi
callq 0x20d0
incq %r12
movq -0x40(%rbp), %rax
movq -0x38(%rbp), %rcx
subq %rax, %rcx
sarq $0x5, %rcx
addq $0x20, %r15
cmpq %r12, %rcx
ja 0x2bb5
leaq -0x268(%rbp), %rdi
callq 0x2070
movq -0x60(%rbp), %rdi
cmpq %r13, %rdi
je 0x2c2c
movq -0x50(%rbp), %rsi
incq %rsi
callq 0x2150
leaq -0x448(%rbp), %rdi
callq 0x2988
leaq -0x40(%rbp), %rdi
callq 0x2cf6
xorl %eax, %eax
addq $0x428, %rsp            # imm = 0x428
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x2c68
movq %rax, %rbx
jmp 0x2c77
movq %rax, %rbx
jmp 0x2c8c
movq %rax, %rbx
jmp 0x2c98
jmp 0x2c68
movq %rax, %rbx
leaq -0x268(%rbp), %rdi
callq 0x2070
movq -0x60(%rbp), %rdi
cmpq %r13, %rdi
je 0x2c8c
movq -0x50(%rbp), %rsi
incq %rsi
callq 0x2150
leaq -0x448(%rbp), %rdi
callq 0x2988
leaq -0x40(%rbp), %rdi
callq 0x2cf6
movq %rbx, %rdi
callq 0x21e0
nop
// File: /workspace/github_cpp_makefile_star2_O1/wichtounet[P]articles/src/linear_sorting/bench.cpp
// Function: fill_random(std::vector<unsigned long, std::allocator<unsigned long>>&, unsigned long)
void fill_random(std::vector<std::size_t>& vec, std::size_t size){
    std::mt19937 generator;
    std::uniform_int_distribution<std::size_t> distribution(0, MAX);

    for(std::size_t i = 0; i < size; ++i){
        vec.push_back(distribution(generator));
    }
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x13a0, %rsp           # imm = 0x13A0
movq %rsi, %rbx
movq %rdi, %r14
movq $0x1571, 0x18(%rsp)     # imm = 0x1571
movl $0x1, %eax
movl $0x1571, %ecx           # imm = 0x1571
movq %rcx, %rdx
shrq $0x1e, %rdx
xorl %ecx, %edx
imull $0x6c078965, %edx, %ecx # imm = 0x6C078965
addl %eax, %ecx
movq %rcx, 0x18(%rsp,%rax,8)
incq %rax
cmpq $0x270, %rax            # imm = 0x270
jne 0x12a5
movq $0x270, 0x1398(%rsp) # imm = 0x270
movq $0x0, 0x8(%rsp)
movq $0x2faf080, 0x10(%rsp)  # imm = 0x2FAF080
testq %rbx, %rbx
je 0x132f
leaq 0x18(%rsp), %r15
leaq 0x8(%rsp), %r12
movq %rsp, %r13
movq %r12, %rdi
movq %r15, %rsi
movq %r12, %rdx
callq 0x1a86
movq %rax, (%rsp)
movq 0x8(%r14), %rsi
cmpq 0x10(%r14), %rsi
je 0x131f
movq %rax, (%rsi)
addq $0x8, %rsi
movq %rsi, 0x8(%r14)
jmp 0x132a
movq %r14, %rdi
movq %r13, %rdx
callq 0x1d3a
decq %rbx
jne 0x12f6
addq $0x13a0, %rsp           # imm = 0x13A0
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O1/wichtounet[P]articles/src/linear_sorting/bench.cpp
// Function: in_place_counting_sort(std::vector<unsigned long, std::allocator<unsigned long>>&)
void in_place_counting_sort(std::vector<std::size_t>& A){
    std::vector<std::size_t> C(MAX + 1);

    for (std::size_t i = 0; i < SIZE; ++i){
        ++C[A[i]];
    }

    int current = 0;
    for (std::size_t i = 0; i < MAX; ++i){
        for(std::size_t j =0; j < C[i]; ++j){
            A[current++] = i;
        }
    }
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %r14
movl $0x17d78408, %edi       # imm = 0x17D78408
callq 0x10f0
movq %rax, %rbx
xorl %r15d, %r15d
movl $0x17d78408, %edx       # imm = 0x17D78408
movq %rax, %rdi
xorl %esi, %esi
callq 0x1070
movq (%r14), %rax
movq (%rax,%r15,8), %rcx
incq (%rbx,%rcx,8)
incq %r15
cmpq $0x4c4b40, %r15         # imm = 0x4C4B40
jne 0x147d
movq (%r14), %rax
xorl %ecx, %ecx
xorl %edx, %edx
cmpq $0x0, (%rbx,%rcx,8)
je 0x14b7
movslq %edx, %rsi
leaq (%rax,%rsi,8), %rdi
xorl %esi, %esi
movq %rcx, (%rdi,%rsi,8)
incq %rsi
cmpq (%rbx,%rcx,8), %rsi
jb 0x14a8
addl %esi, %edx
incq %rcx
cmpq $0x2faf080, %rcx        # imm = 0x2FAF080
jne 0x1498
movq %rbx, %rdi
popq %rbx
popq %r14
popq %r15
jmp 0x10c0
// File: /workspace/github_cpp_makefile_star2_O1/wichtounet[P]articles/src/linear_sorting/bench.cpp
// Function: counting_sort(std::vector<unsigned long, std::allocator<unsigned long>>&)
void counting_sort(std::vector<std::size_t>& A){
    std::vector<std::size_t> B(SIZE);
    std::vector<std::size_t> C(MAX);

    for (std::size_t i = 0; i < SIZE; ++i){
        ++C[A[i]];
    }

    for (std::size_t i = 1; i <= MAX; ++i){
        C[i] += C[i - 1];
    }

    for (long i = SIZE - 1; i >= 0; --i) {
        B[C[A[i]] - 1] = A[i];
        --C[A[i]];
    }

    for (std::size_t i = 0; i < SIZE; ++i){
        A[i] = B[i];
    }
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %r14
movl $0x2625a00, %edi        # imm = 0x2625A00
callq 0x10f0
movq %rax, %rbx
movl $0x2625a00, %edx        # imm = 0x2625A00
movq %rax, %rdi
xorl %esi, %esi
callq 0x1070
movl $0x17d78400, %edi       # imm = 0x17D78400
callq 0x10f0
movq %rax, %r15
xorl %r12d, %r12d
movl $0x17d78400, %edx       # imm = 0x17D78400
movq %rax, %rdi
xorl %esi, %esi
callq 0x1070
movq (%r14), %rax
movq (%rax,%r12,8), %rcx
incq (%r15,%rcx,8)
incq %r12
cmpq $0x4c4b40, %r12         # imm = 0x4C4B40
jne 0x1519
movq (%r15), %rax
movl $0x1, %ecx
addq (%r15,%rcx,8), %rax
movq %rax, (%r15,%rcx,8)
incq %rcx
cmpq $0x2faf081, %rcx        # imm = 0x2FAF081
jne 0x1535
movq (%r14), %rax
movl $0x4c4b3f, %ecx         # imm = 0x4C4B3F
movq (%rax,%rcx,8), %rdx
movq (%r15,%rdx,8), %rsi
movq %rdx, -0x8(%rbx,%rsi,8)
movq (%rax,%rcx,8), %rdx
decq (%r15,%rdx,8)
addq $-0x1, %rcx
jb 0x1551
movq (%r14), %rax
xorl %ecx, %ecx
movq (%rbx,%rcx,8), %rdx
movq %rdx, (%rax,%rcx,8)
incq %rcx
cmpq $0x4c4b40, %rcx         # imm = 0x4C4B40
jne 0x1571
movq %r15, %rdi
callq 0x10c0
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x10c0
movq %rax, %r14
movq %rbx, %rdi
callq 0x10c0
movq %r14, %rdi
callq 0x1130
// File: /workspace/github_cpp_makefile_star2_O1/wichtounet[P]articles/src/linear_sorting/bench.cpp
// Function: binsort(std::vector<unsigned long, std::allocator<unsigned long>>&)
void binsort(std::vector<std::size_t>& A){
    std::vector<std::vector<std::size_t>> B(MAX + 1);

    for(std::size_t i = 0; i < SIZE; ++i){
        B[A[i]].push_back(A[i]);
    }

    std::size_t current = 0;
    for(std::size_t i = 0; i < MAX; ++i){
        for(auto item : B[i]){
            A[current++] = item;
        }
    }
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rdi, %rbx
vxorps %xmm0, %xmm0, %xmm0
vmovaps %xmm0, (%rsp)
movq $0x0, 0x10(%rsp)
movl $0x47868c18, %edi       # imm = 0x47868C18
callq 0x10f0
movq %rax, (%rsp)
movq %rax, 0x8(%rsp)
leaq 0x47868c18(%rax), %r15
movq %r15, 0x10(%rsp)
xorl %r14d, %r14d
movl $0x47868c18, %edx       # imm = 0x47868C18
movq %rax, %rdi
xorl %esi, %esi
callq 0x1070
movq %r15, 0x8(%rsp)
movq (%rbx), %rdx
movq (%rdx,%r14), %rax
movq (%rsp), %rcx
leaq (%rax,%rax,2), %rsi
leaq (%rcx,%rsi,8), %rdi
movq 0x8(%rdi), %rsi
cmpq 0x10(%rdi), %rsi
je 0x1631
movq %rax, (%rsi)
addq $0x8, %rsi
movq %rsi, 0x8(%rdi)
jmp 0x1639
addq %r14, %rdx
callq 0x21d6
addq $0x8, %r14
cmpq $0x2625a00, %r14        # imm = 0x2625A00
jne 0x1607
movq (%rsp), %rax
movq (%rbx), %rcx
xorl %edx, %edx
xorl %esi, %esi
leaq (%rdx,%rdx,2), %r8
movq (%rax,%r8,8), %rdi
movq 0x8(%rax,%r8,8), %r8
cmpq %r8, %rdi
je 0x1673
movq (%rdi), %r9
movq %r9, (%rcx,%rsi,8)
incq %rsi
addq $0x8, %rdi
jmp 0x165e
incq %rdx
cmpq $0x2faf080, %rdx        # imm = 0x2FAF080
jne 0x1651
movq %rsp, %rdi
callq 0x1922
addq $0x20, %rsp
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %rbx
movq %rsp, %rdi
callq 0x1922
movq %rbx, %rdi
callq 0x1130
// File: /workspace/github_cpp_makefile_star2_O1/wichtounet[P]articles/src/linear_sorting/bench.cpp
// Function: radix_sort(std::vector<unsigned long, std::allocator<unsigned long>>&)
void radix_sort(std::vector<std::size_t>& A){
    std::vector<std::size_t> B(SIZE);
    std::vector<std::size_t> cnt(radix);

    for(std::size_t i = 0, shift = 0; i < digits; i++, shift += r){
        for(std::size_t j = 0; j < radix; ++j){
            cnt[j] = 0;
        }

        for(std::size_t j = 0; j < SIZE; ++j){
            ++cnt[(A[j] >> shift) & mask];
        }

        for(std::size_t j = 1; j < radix; ++j){
            cnt[j] += cnt[j - 1];
        }

        for(long j = SIZE - 1; j >= 0; --j){
            B[--cnt[(A[j] >> shift) & mask]] = A[j];
        }

        for(std::size_t j = 0; j < SIZE; ++j){
           A[j] = B[j];
        }
    }
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdi, %r15
movl $0x2625a00, %edi        # imm = 0x2625A00
callq 0x10f0
movq %rax, %rbx
movl $0x2625a00, %edx        # imm = 0x2625A00
movq %rax, %rdi
xorl %esi, %esi
callq 0x1070
movl $0x80000, %edi          # imm = 0x80000
callq 0x10f0
movq %rax, %r14
xorl %r12d, %r12d
movl $0x80000, %edx          # imm = 0x80000
movq %rax, %rdi
xorl %esi, %esi
callq 0x1070
movq (%r15), %r15
xorl %r13d, %r13d
movl $0x80000, %edx          # imm = 0x80000
movq %r14, %rdi
xorl %esi, %esi
callq 0x1070
xorl %eax, %eax
shrxq %r12, (%r15,%rax,8), %rcx
movzwl %cx, %ecx
incq (%r14,%rcx,8)
incq %rax
cmpq $0x4c4b40, %rax         # imm = 0x4C4B40
jne 0x1702
movq (%r14), %rax
movl $0x1, %ecx
addq (%r14,%rcx,8), %rax
movq %rax, (%r14,%rcx,8)
incq %rcx
cmpq $0x10000, %rcx          # imm = 0x10000
jne 0x1722
movl $0x4c4b3f, %eax         # imm = 0x4C4B3F
movq (%r15,%rax,8), %rcx
shrxq %r12, %rcx, %rdx
movzwl %dx, %edx
movq (%r14,%rdx,8), %rsi
leaq -0x1(%rsi), %rdi
movq %rdi, (%r14,%rdx,8)
movq %rcx, -0x8(%rbx,%rsi,8)
addq $-0x1, %rax
jb 0x173b
xorl %eax, %eax
movq (%rbx,%rax,8), %rcx
movq %rcx, (%r15,%rax,8)
incq %rax
cmpq $0x4c4b40, %rax         # imm = 0x4C4B40
jne 0x1760
leaq 0x1(%r13), %rax
addq $0x10, %r12
testq %r13, %r13
movq %rax, %r13
je 0x16f1
movq %r14, %rdi
callq 0x10c0
movq %rbx, %rdi
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
jmp 0x10c0
movq %rax, %r14
movq %rbx, %rdi
callq 0x10c0
movq %r14, %rdi
callq 0x1130
// File: /workspace/github_cpp_makefile_star2_O1/wichtounet[P]articles/src/linear_sorting/bench.cpp
// Function: main
int main(){
    std::cout << "std::sort" << std::endl;
    bench(&std_sort);

    std::cout << "counting_sort" << std::endl;
    bench(&counting_sort);

    std::cout << "in_place_counting_sort" << std::endl;
    bench(&in_place_counting_sort);

    std::cout << "binsort" << std::endl;
    bench(&::binsort);

    std::cout << "radix_sort" << std::endl;
    bench(&radix_sort);

    return 0;
}

// Assembly:
pushq %rbx
movq 0x381d(%rip), %rbx      # 0x4fd8
leaq 0x18f7(%rip), %rsi      # 0x30b9
movl $0x9, %edx
movq %rbx, %rdi
callq 0x1100
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x10e0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x1030
movq %rax, %rdi
callq 0x1090
leaq -0x3f4(%rip), %rdi      # 0x1409
callq 0x1961
leaq 0x18c3(%rip), %rsi      # 0x30cc
movl $0xd, %edx
movq %rbx, %rdi
callq 0x1100
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x10e0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x1030
movq %rax, %rdi
callq 0x1090
leaq -0x374(%rip), %rdi      # 0x14d0
callq 0x1961
leaq 0x1873(%rip), %rsi      # 0x30c3
movl $0x16, %edx
movq %rbx, %rdi
callq 0x1100
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x10e0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x1030
movq %rax, %rdi
callq 0x1090
leaq -0x438(%rip), %rdi      # 0x1453
callq 0x1961
leaq 0x1843(%rip), %rsi      # 0x30da
movl $0x7, %edx
movq %rbx, %rdi
callq 0x1100
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x10e0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x1030
movq %rax, %rdi
callq 0x1090
leaq -0x31f(%rip), %rdi      # 0x15b3
callq 0x1961
leaq 0x1804(%rip), %rsi      # 0x30e2
movl $0xa, %edx
movq %rbx, %rdi
callq 0x1100
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x10e0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x1030
movq %rax, %rdi
callq 0x1090
leaq -0x275(%rip), %rdi      # 0x16a4
callq 0x1961
xorl %eax, %eax
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O1/wichtounet[P]articles/src/linear_sorting/bench.cpp
// Function: void bench<void (*)(std::vector<unsigned long, std::allocator<unsigned long>>&)>(void (*)(std::vector<unsigned long, std::allocator<unsigned long>>&))
void bench(Function sort_function){
    std::array<std::vector<std::size_t>, REPEAT> vec;

    for(std::size_t i = 0; i < REPEAT; ++i){
        fill_random(vec[i], SIZE);
    }

    Clock::time_point t0 = Clock::now();

    for(std::size_t i = 0; i < REPEAT; ++i){
        sort_function(vec[i]);
    }

    Clock::time_point t1 = Clock::now();
    milliseconds ms = std::chrono::duration_cast<milliseconds>(t1 - t0);

    std::cout << ms.count() << "ms" << std::endl;

    if(DISPLAY){
        display_vec(vec[0]);
    }
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x260, %rsp            # imm = 0x260
movq %rdi, %rbx
leaq 0x8(%rsp), %rdi
xorl %r14d, %r14d
movl $0x258, %edx            # imm = 0x258
xorl %esi, %esi
callq 0x1070
leaq 0x8(%rsp,%r14), %rdi
movl $0x4c4b40, %esi         # imm = 0x4C4B40
callq 0x127c
addq $0x18, %r14
cmpq $0x258, %r14            # imm = 0x258
jne 0x1984
xorl %r15d, %r15d
callq 0x1040
movq %rax, %r14
leaq 0x8(%rsp,%r15), %rdi
callq *%rbx
addq $0x18, %r15
cmpq $0x258, %r15            # imm = 0x258
jne 0x19ab
callq 0x1040
subq %r14, %rax
movabsq $0x431bde82d7b634db, %rcx # imm = 0x431BDE82D7B634DB
imulq %rcx
movq %rdx, %rsi
shrq $0x3f, %rsi
sarq $0x12, %rdx
addq %rdx, %rsi
movq 0x35ef(%rip), %rdi      # 0x4fd8
callq 0x10d0
movq %rax, %rbx
leaq 0x170f(%rip), %rsi      # 0x3107
movl $0x2, %edx
movq %rax, %rdi
callq 0x1100
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x10e0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x1030
movq %rax, %rdi
callq 0x1090
movl $0x240, %ebx            # imm = 0x240
movq 0x8(%rsp,%rbx), %rdi
testq %rdi, %rdi
je 0x1a40
callq 0x10c0
addq $-0x18, %rbx
cmpq $-0x18, %rbx
jne 0x1a31
addq $0x260, %rsp            # imm = 0x260
popq %rbx
popq %r14
popq %r15
retq
jmp 0x1a5b
jmp 0x1a5b
movq %rax, %rbx
movl $0x240, %r14d           # imm = 0x240
movq 0x8(%rsp,%r14), %rdi
testq %rdi, %rdi
je 0x1a73
callq 0x10c0
addq $-0x18, %r14
cmpq $-0x18, %r14
jne 0x1a64
movq %rbx, %rdi
callq 0x1130
nop
// File: /workspace/github_cpp_makefile_star2_O1/mh0fm4[P]SCDC/test/units/dataprov_hook/hook_srv.c
// Function: cmd_handler
scdcint_t cmd_handler(void *data, const char *cmd, const char *params, scdcint_t params_size)
{
  printf(PREFIX "cmd_handler: cmd: '%s', data: %p\n", cmd, data);

  if (strcmp(cmd, "quit") == 0)
  {
    printf(PREFIX "quiting server\n");
    sighandler(0);

  } else
  {
    printf(PREFIX "unkown server command: '%s'\n", cmd);
  }

  return SCDC_SUCCESS;
}

// Assembly:
pushq %rbx
movq %rsi, %rbx
movq %rdi, %rdx
leaq 0x4fb81(%rip), %rdi     # 0x5c023
xorl %eax, %eax
callq 0xb080
leaq 0x4fb9f(%rip), %rsi     # 0x5c04f
movq %rbx, %rdi
callq 0xb770
testl %eax, %eax
je 0xc4cf
leaq 0x4fb91(%rip), %rdi     # 0x5c054
movq %rbx, %rsi
xorl %eax, %eax
callq 0xb080
jmp 0xc4f9
leaq 0x4fbde(%rip), %rdi     # 0x5c0b4
callq 0xb860
leaq 0x4fb22(%rip), %rdi     # 0x5c004
xorl %esi, %esi
xorl %eax, %eax
callq 0xb080
movq 0x6d0a6(%rip), %rdi     # 0x79598
xorl %esi, %esi
callq 0xd46b
movl $0x1, %eax
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O1/eschwabe[P]interview-practice/src/parenthesization.cpp
// Function: BuildString(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, int, int, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>*)
void BuildString(const string current, int left_rem, int right_rem, vector<string>* list) {
    if(left_rem == 0 && right_rem == 0) {
        list->push_back(current);
    } else {
        if(left_rem > 0) {
            BuildString(current+"(", left_rem-1, right_rem, list);
        }
        if(right_rem > left_rem) {
            BuildString(current+")", left_rem, right_rem-1, list);
        }
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rcx, %rbx
movq %rdi, %r15
movl %edx, %eax
orl %esi, %eax
je 0x139a
movl %edx, %ebp
movl %esi, %r14d
testl %esi, %esi
jle 0x132c
leaq 0x38(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%r15), %rsi
movq 0x8(%r15), %rdx
addq %rsi, %rdx
leaq 0x28(%rsp), %r12
movq %r12, %rdi
callq 0x15e6
leaq 0xd0a(%rip), %rsi       # 0x2004
movq %r12, %rdi
callq 0x1160
leal -0x1(%r14), %esi
leaq 0x28(%rsp), %rdi
movl %ebp, %edx
movq %rbx, %rcx
callq 0x12ac
movq 0x28(%rsp), %rdi
cmpq %r13, %rdi
je 0x132c
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x10f0
cmpl %r14d, %ebp
jle 0x138b
leaq 0x18(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%r15), %rsi
movq 0x8(%r15), %rdx
addq %rsi, %rdx
leaq 0x8(%rsp), %r15
movq %r15, %rdi
callq 0x15e6
leaq 0xcae(%rip), %rsi       # 0x2006
movq %r15, %rdi
callq 0x1160
decl %ebp
leaq 0x8(%rsp), %rdi
movl %r14d, %esi
movl %ebp, %edx
movq %rbx, %rcx
callq 0x12ac
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
je 0x138b
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x10f0
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rbx, %rdi
movq %r15, %rsi
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x1542
jmp 0x13b5
movq %rax, %rbx
movq 0x8(%rsp), %rdi
jmp 0x13c9
jmp 0x13c1
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %r13, %rdi
je 0x13da
movq (%r13), %rsi
incq %rsi
callq 0x10f0
movq %rbx, %rdi
callq 0x1140