LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O3/MechaDragonX[P]CPPCollections/queue.cpp
// Function: Queue<Student>::add(Student)
void Queue<T>::add(T value) {
    if(head_ == nullptr)
        head_ = new DoubleListNode<T>{ value, nullptr, tail_ };
        // tail = nullptr in this case
    else if(size_ == 1) {
        // Set tail to new value
        tail_ = new DoubleListNode<T>{ value, head_, nullptr };
        // Make head => tail (forward link)
        head_->next = tail_;
    }
    else {
        // Make a new node with the passed value that is forward linked to nullptr
        DoubleListNode<T>* neo = new DoubleListNode<T>{ value, tail_, nullptr };
        // Make tail => neo
        tail_->next = neo;
        // Make neo the new tail
        tail_ = neo;
    }

    size_++;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r15
movq %rdi, %r14
cmpq $0x0, 0x8(%rdi)
je 0x9a6a
movl 0x18(%r14), %r12d
movl $0x68, %edi
callq 0x3130
movq %rax, %rbx
addq $0x10, %rax
movq %rax, -0x30(%rbp)
movq %rax, (%rbx)
movq (%r15), %rsi
movq 0x8(%r15), %rdx
addq %rsi, %rdx
cmpl $0x1, %r12d
jne 0x9adc
movq %rbx, %rdi
callq 0x594c
leaq 0x20(%rbx), %r12
leaq 0x30(%rbx), %r13
movq %r13, 0x20(%rbx)
movq 0x20(%r15), %rsi
movq 0x28(%r15), %rdx
addq %rsi, %rdx
movq %r12, %rdi
callq 0x594c
movq %rbx, %rdi
addq $0x40, %rdi
addq $0x40, %r15
movq %r15, %rsi
callq 0x59f8
movq 0x8(%r14), %rax
movq %rax, 0x58(%rbx)
movq $0x0, 0x60(%rbx)
movq %rbx, 0x10(%r14)
movq %rbx, 0x60(%rax)
jmp 0x9b2e
movl $0x68, %edi
callq 0x3130
movq %rax, %rbx
addq $0x10, %rax
movq %rax, -0x30(%rbp)
movq %rax, (%rbx)
movq (%r15), %rsi
movq 0x8(%r15), %rdx
addq %rsi, %rdx
movq %rbx, %rdi
callq 0x594c
leaq 0x20(%rbx), %r12
leaq 0x30(%rbx), %r13
movq %r13, 0x20(%rbx)
movq 0x20(%r15), %rsi
movq 0x28(%r15), %rdx
addq %rsi, %rdx
movq %r12, %rdi
callq 0x594c
movq %rbx, %rdi
addq $0x40, %rdi
addq $0x40, %r15
movq %r15, %rsi
callq 0x59f8
movq $0x0, 0x58(%rbx)
movq 0x10(%r14), %rax
movq %rax, 0x60(%rbx)
movq %rbx, 0x8(%r14)
jmp 0x9b2e
movq %rbx, %rdi
callq 0x594c
leaq 0x20(%rbx), %r12
leaq 0x30(%rbx), %r13
movq %r13, 0x20(%rbx)
movq 0x20(%r15), %rsi
movq 0x28(%r15), %rdx
addq %rsi, %rdx
movq %r12, %rdi
callq 0x594c
movq %rbx, %rdi
addq $0x40, %rdi
addq $0x40, %r15
movq %r15, %rsi
callq 0x59f8
movq 0x10(%r14), %rax
movq %rax, 0x58(%rbx)
movq $0x0, 0x60(%rbx)
movq %rbx, 0x60(%rax)
movq %rbx, 0x10(%r14)
incl 0x18(%r14)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x9b4d
jmp 0x9b4d
jmp 0x9b67
jmp 0x9b67
jmp 0x9b84
jmp 0x9b84
movq %rax, %r14
movq (%r12), %rdi
cmpq %r13, %rdi
je 0x9b6a
movq (%r13), %rsi
incq %rsi
callq 0x3140
jmp 0x9b6a
movq %rax, %r14
movq (%rbx), %rdi
cmpq -0x30(%rbp), %rdi
je 0x9b87
movq -0x30(%rbp), %rax
movq (%rax), %rsi
incq %rsi
callq 0x3140
jmp 0x9b87
movq %rax, %r14
movl $0x68, %esi
movq %rbx, %rdi
callq 0x3140
movq %r14, %rdi
callq 0x31e0
// File: /workspace/github_cpp_makefile_star2_O3/MechaDragonX[P]CPPCollections/queue.cpp
// Function: Queue<Student>::remove()
void Queue<T>::remove() {
    DoubleListNode<T>* oldHead = head_;
    // Make value after head point back to nullptr
    head_->next->previous = nullptr;
    delete oldHead;

    size_--;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
movq 0x8(%rdi), %r14
movq 0x60(%r14), %rax
movq $0x0, 0x58(%rax)
leaq 0x40(%r14), %rdi
callq 0x5b6e
movq 0x20(%r14), %rdi
leaq 0x30(%r14), %rax
cmpq %rax, %rdi
je 0x9bd7
movq (%rax), %rsi
incq %rsi
callq 0x3140
movq (%r14), %rdi
leaq 0x10(%r14), %rax
cmpq %rax, %rdi
je 0x9bee
movq (%rax), %rsi
incq %rsi
callq 0x3140
movl $0x68, %esi
movq %r14, %rdi
callq 0x3140
decl 0x18(%rbx)
popq %rbx
popq %r14
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/MechaDragonX[P]CPPCollections/student.cpp
// Function: Student::Student()
Student::Student() {
    // Initialize RNG with current time as seed
    // srand(time(nullptr));

    // id_ = rand() % 10000 + 1;
    givenName_ = "";
    surname_ = "";
    coursesTaken_ = {};
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %r14
leaq 0x10(%rdi), %rbx
movq %rbx, (%rdi)
xorl %eax, %eax
movq %rax, 0x8(%rdi)
movb %al, 0x10(%rdi)
leaq 0x20(%rdi), %r15
leaq 0x30(%rdi), %r13
movq %r13, 0x20(%rdi)
movq %rax, 0x28(%rdi)
movb %al, 0x30(%rdi)
leaq 0x40(%rdi), %r12
xorps %xmm0, %xmm0
movups %xmm0, 0x40(%rdi)
movq %rax, 0x50(%rdi)
leaq 0x4b78(%rip), %rcx      # 0x103be
xorl %esi, %esi
xorl %edx, %edx
xorl %r8d, %r8d
callq 0x31b0
movq 0x28(%r14), %rdx
leaq 0x4b61(%rip), %rcx      # 0x103be
movq %r15, %rdi
xorl %esi, %esi
xorl %r8d, %r8d
callq 0x31b0
movq %r12, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0xc22e
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, -0x30(%rbp)
movq %r12, %rdi
callq 0x5b6e
movq (%r15), %rdi
cmpq %r13, %rdi
je 0xb8a5
movq (%r13), %rsi
incq %rsi
callq 0x3140
movq %r14, %rdi
movq %rbx, %rsi
callq 0x3270
movq -0x30(%rbp), %rdi
callq 0x31e0
nop
// File: /workspace/github_cpp_makefile_star2_O3/MechaDragonX[P]CPPCollections/student.cpp
// Function: Student::removeCourse(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
bool Student::removeCourse(std::string courseId) {
    if(std::find(coursesTaken_.begin(), coursesTaken_.end(), courseId) != coursesTaken_.end()) {
        coursesTaken_.erase(std::find(coursesTaken_.begin(), coursesTaken_.end(), courseId));
        return true;
    }

    return false;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rsi, %r14
movq %rdi, %rbx
movq 0x40(%rdi), %rdi
movq 0x48(%rbx), %rsi
movq %r14, %rdx
callq 0xc4f7
movq %rax, %r15
movq 0x48(%rbx), %r12
cmpq %r12, %rax
je 0xbad2
addq $0x40, %rbx
movq (%rbx), %rdi
movq %r12, %rsi
movq %r14, %rdx
callq 0xc4f7
movq %rbx, %rdi
movq %rax, %rsi
callq 0xc83c
cmpq %r12, %r15
setne %al
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/Sweet-john[P]Linux_bash/OS.cpp
// Function: checkSpecialOrder(char* const*)
bool checkSpecialOrder(char *const argv[])
{
 bool check = false;
 if (strcmp(argv[0],"go")==0)
	 {check = true ; go(argv);}
 else if
	 (strcmp(argv[0],"history")==0) {check = true ; printHistory();}
 else if
	 (strcmp(argv[0],"pid")==0) {check = true ; printPid();}
 else if 
	 (strcmp(argv[0],"continue")==0) {check = true ; cont(argv[1]);}
 else if 
	 (strcmp(argv[0],"jobs")==0) {check = true ; printJobs();}
 else if 
	 (strcmp(argv[0],"status")==0) {check = true ; printStatus();}
 return check;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rdi, %r14
movq (%rdi), %rbx
cmpb $0x67, (%rbx)
jne 0x24fa
cmpb $0x6f, 0x1(%rbx)
jne 0x24fa
cmpb $0x0, 0x2(%rbx)
je 0x2576
leaq 0x1b1f(%rip), %rsi      # 0x4020
movq %rbx, %rdi
callq 0x21d0
testl %eax, %eax
je 0x255d
leaq 0x1b14(%rip), %rsi      # 0x4028
movq %rbx, %rdi
callq 0x21d0
testl %eax, %eax
je 0x2564
leaq 0x1b05(%rip), %rsi      # 0x402c
movq %rbx, %rdi
callq 0x21d0
testl %eax, %eax
je 0x256b
leaq 0x1afb(%rip), %rsi      # 0x4035
movq %rbx, %rdi
callq 0x21d0
testl %eax, %eax
je 0x2580
leaq 0x1aed(%rip), %rsi      # 0x403a
movq %rbx, %rdi
callq 0x21d0
testl %eax, %eax
je 0x2587
xorl %eax, %eax
jmp 0x258e
callq 0x25ca
jmp 0x258c
callq 0x2667
jmp 0x258c
movq 0x8(%r14), %rdi
callq 0x3381
jmp 0x258c
movq %r14, %rdi
callq 0x2593
jmp 0x258c
callq 0x342c
jmp 0x258c
callq 0x348f
movb $0x1, %al
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/Sweet-john[P]Linux_bash/OS.cpp
// Function: printPid()
void printPid()
{
 int i = 0;
 int size = pidList.size();
 int j = 1;
 if (i<size-5)
  i = size - 5; 
  while(i<size)
  {
   cout<<"["<<size-i<<"] "<<pidList[size-j]<<"\n";
   i++;
   j++;
  }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq 0xd774(%rip), %r12      # 0xfdf0
subq 0xd765(%rip), %r12      # 0xfde8
shrq $0x2, %r12
leal -0x5(%r12), %eax
xorl %r13d, %r13d
cmpl $0x6, %r12d
cmovgel %eax, %r13d
cmpl %r12d, %r13d
jge 0x272c
movslq %r12d, %r14
decq %r14
cmpl $0x6, %r12d
movl $0x5, %eax
cmovgel %r12d, %eax
negl %eax
leal (%r12,%rax), %ebx
addl $0x5, %ebx
movl $0x1, %edx
movq 0x3908(%rip), %r15      # 0x5fd0
movq %r15, %rdi
leaq 0x199f(%rip), %rsi      # 0x4071
callq 0x2170
movq %r15, %rdi
movl %ebx, %esi
callq 0x2280
movq %rax, %r15
movl $0x2, %edx
movq %rax, %rdi
leaq 0x1980(%rip), %rsi      # 0x4073
callq 0x2170
movq 0xd6e9(%rip), %rax      # 0xfde8
movl (%rax,%r14,4), %esi
movq %r15, %rdi
callq 0x2280
movl $0x1, %edx
movq %rax, %rdi
leaq 0x19db(%rip), %rsi      # 0x40f5
callq 0x2170
incl %r13d
decq %r14
decl %ebx
cmpl %r12d, %r13d
jl 0x26bc
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/Sweet-john[P]Linux_bash/OS.cpp
// Function: execute(char* const*)
void execute(char *const argv[])
{ 
 pid=fork();
 int success;
 if (pid!=0)
 { /*waitpid(pid,&success,0);
   if (WEXITSTATUS(success)==0)
	{
	setPid(pid);
	}*/
	waitid(P_PID,pid,&info,WEXITED|WSTOPPED);
	setPid(pid);
 }
 else
 {
	if (execvp(argv[0],argv)<0)
        {
		perror("Exec error ");
		exit(-1);
	}
 }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
callq 0x2040
movl %eax, 0xd67b(%rip)      # 0xfe50
testl %eax, %eax
je 0x2802
leaq 0xd678(%rip), %rdx      # 0xfe58
movl $0x1, %edi
movl %eax, %esi
movl $0x6, %ecx
callq 0x2050
movl 0xd659(%rip), %edi      # 0xfe50
addq $0x8, %rsp
popq %rbx
popq %rbp
jmp 0x2781
movq (%rbx), %rdi
movq %rbx, %rsi
callq 0x20d0
testl %eax, %eax
js 0x2818
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
callq 0x22d0
// File: /workspace/github_cpp_makefile_star2_O3/Sweet-john[P]Linux_bash/OS.cpp
// Function: prompt()
void prompt()
{
 char host[50];
 char cwd[50];
 gethostname(host,sizeof(host));
 getcwd(cwd,sizeof(cwd));
 cout<<"["<<host<<":"<<cwd<<"] $ ";
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x78, %rsp
leaq -0x90(%rbp), %r15
movl $0x32, %esi
movq %r15, %rdi
callq 0x2200
leaq -0x50(%rbp), %r14
movl $0x32, %esi
movq %r14, %rdi
callq 0x2090
movq 0x377a(%rip), %rbx      # 0x5fd0
leaq 0x1814(%rip), %rsi      # 0x4071
movl $0x1, %edx
movq %rbx, %rdi
callq 0x2170
movq %r15, %rdi
callq 0x2080
movq %rbx, %rdi
movq %r15, %rsi
movq %rax, %rdx
callq 0x2170
leaq 0x17fb(%rip), %rsi      # 0x4082
movl $0x1, %edx
movq %rbx, %rdi
callq 0x2170
movq %r14, %rdi
callq 0x2080
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x2170
leaq 0x17d3(%rip), %rsi      # 0x4084
movl $0x4, %edx
movq %rbx, %rdi
callq 0x2170
addq $0x78, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/Sweet-john[P]Linux_bash/OS.cpp
// Function: main
int main()
{

 signal(SIGINT,kill_sig_handler);
 signal(SIGTSTP,stp_sig_handler);

 while(1)
 {
 prompt();
 cin.getline(Command,80);

 if (strcmp(Command,"exit")==0)
	{
	freeMemory();
	exit(0);
	}
 else if (Command == NULL)
 continue;
 
 setHistory();
 //check space
 char *temp = strtok(Command," ");
 vector<char*>obj;
 while (temp)
 	{
  	obj.push_back(temp);
  	temp = strtok(NULL," ");
 	}
 
 //obj to char
 char* a[obj.size()];
 int s;
 for (s = 0; s < obj.size() ;s++ )
	{
	  a[s]=obj[s];
 	}
 a[s]=NULL;

 multiple(a,obj.size());
 }
return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
leaq 0x941(%rip), %rsi       # 0x325c
movl $0x2, %edi
callq 0x2180
leaq 0x995(%rip), %rsi       # 0x32c1
movl $0x14, %edi
callq 0x2180
movq 0x36a3(%rip), %rbx      # 0x5fe0
leaq 0xd4bc(%rip), %r14      # 0xfe00
leaq 0x173c(%rip), %r15      # 0x4087
leaq -0x40(%rbp), %r12
leaq -0x48(%rbp), %r13
callq 0x281d
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x2140
movsbl %al, %ecx
movl $0x50, %edx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x22a0
movl 0xd47b(%rip), %eax      # 0xfe00
movl $0x74697865, %ecx       # imm = 0x74697865
xorl %ecx, %eax
movzbl 0xd471(%rip), %ecx      # 0xfe04
orl %eax, %ecx
je 0x2a86
callq 0x273b
movq %r14, %rdi
movq %r15, %rsi
callq 0x2250
movq %rax, -0x48(%rbp)
xorps %xmm0, %xmm0
movaps %xmm0, -0x40(%rbp)
movq $0x0, -0x30(%rbp)
testq %rax, %rax
je 0x2a03
movq -0x38(%rbp), %rsi
cmpq -0x30(%rbp), %rsi
je 0x29d7
movq %rax, (%rsi)
addq $0x8, -0x38(%rbp)
jmp 0x29e2
movq %r12, %rdi
movq %r13, %rdx
callq 0x2c12
xorl %edi, %edi
movq %r15, %rsi
callq 0x2250
movq %rax, -0x48(%rbp)
testq %rax, %rax
jne 0x29c3
movq -0x38(%rbp), %rax
subq -0x40(%rbp), %rax
sarq $0x3, %rax
jmp 0x2a05
xorl %eax, %eax
movq %rsp, %r14
movq %rsp, %rdi
leaq 0xf(,%rax,8), %rax
andq $-0x10, %rax
subq %rax, %rdi
movq %rdi, %rsp
movq -0x40(%rbp), %rax
movq -0x38(%rbp), %rcx
movq %rcx, %rsi
subq %rax, %rsi
sarq $0x3, %rsi
cmpq %rax, %rcx
je 0x2a53
cmpq $0x1, %rsi
movq %rsi, %rcx
adcq $0x0, %rcx
xorl %edx, %edx
movq (%rax,%rdx,8), %r8
movq %r8, (%rdi,%rdx,8)
incq %rdx
cmpq %rdx, %rcx
jne 0x2a41
jmp 0x2a55
xorl %ecx, %ecx
movq $0x0, (%rdi,%rcx,8)
callq 0x2d54
movq %r14, %rsp
movq -0x40(%rbp), %rdi
testq %rdi, %rdi
je 0x2a7a
movq -0x30(%rbp), %rsi
subq %rdi, %rsi
callq 0x2160
leaq 0xd37f(%rip), %r14      # 0xfe00
jmp 0x2953
callq 0x28c9
xorl %edi, %edi
callq 0x21a0
jmp 0x2a94
movq %rax, %rbx
movq -0x40(%rbp), %rdi
testq %rdi, %rdi
je 0x2aac
movq -0x30(%rbp), %rsi
subq %rdi, %rsi
callq 0x2160
movq %rbx, %rdi
callq 0x2290
// File: /workspace/github_cpp_makefile_star2_O3/Sweet-john[P]Linux_bash/OS2.cpp
// Function: multiple(char**, int)
bool multiple(char*argv[],int size)
{
 int n = 1;
 bool check = false;
	for (int i = 0; i<size; i++)
	{
	 	if (strchr(argv[i],';')!=NULL||i==size-1)
		{
		check = true;
		char* temp[20];
		int j;
		char *out;
		if (strcmp(argv[i],";")!=0)
		out = strtok(argv[i],";");
		for (j = 0; j < n; j++)
			{
			if (j == n-1 && strcmp(argv[i],";")!=0)
			temp[j] = out;
			else if (j == n-1 && strcmp(argv[i],";")==0)
			temp[j] = NULL;
			else
			temp[j] = argv[i+j-n+1];
			}
		temp[j]=NULL;
		if (Redirection(temp,n)) 
			{
			n = 1;
			continue;
			}
		n = 0;
		bool isSpecial = checkSpecialOrder(temp);
		if (!isSpecial)
		execute(temp);
		}
	 n++;
	}
 return check;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xc8, %rsp
xorl %r15d, %r15d
testl %esi, %esi
jle 0x2ead
movq %rdi, %rbx
leal -0x1(%rsi), %eax
movq %rax, -0x48(%rbp)
movl %esi, %eax
movq %rax, -0x40(%rbp)
movl $0x1, %r12d
xorl %r13d, %r13d
movq $0x0, -0x30(%rbp)
movq (%rbx,%r13,8), %r14
movq %r14, %rdi
movl $0x3b, %esi
callq 0x2070
testq %rax, %rax
setne %al
cmpq -0x48(%rbp), %r13
sete %cl
orb %al, %cl
cmpb $0x1, %cl
jne 0x2e98
cmpb $0x3b, (%r14)
movq -0x38(%rbp), %rax
jne 0x2dce
cmpb $0x0, 0x1(%r14)
je 0x2ddd
movq %r14, %rdi
leaq 0x12d0(%rip), %rsi      # 0x40a8
callq 0x2250
testl %r12d, %r12d
movq %rax, -0x38(%rbp)
jle 0x2e48
leal -0x1(%r12), %ecx
movl %r12d, %r9d
movl %r15d, %edx
subl %r12d, %edx
xorl %r8d, %r8d
leaq -0xf0(%rbp), %r14
cmpq %r8, %rcx
jne 0x2e1c
movq (%rbx,%r13,8), %rdi
cmpb $0x3b, (%rdi)
jne 0x2e12
cmpb $0x0, 0x1(%rdi)
je 0x2e3a
movq %rax, -0xf0(%rbp,%rcx,8)
jmp 0x2e30
leal (%rdx,%r8), %edi
movslq %edi, %rdi
movq 0x8(%rbx,%rdi,8), %rdi
movq %rdi, -0xf0(%rbp,%r8,8)
incq %r8
cmpq %r8, %r9
jne 0x2dfe
jmp 0x2e52
movq $0x0, -0xf0(%rbp,%rcx,8)
jmp 0x2e30
xorl %r9d, %r9d
leaq -0xf0(%rbp), %r14
movq $0x0, -0xf0(%rbp,%r9,8)
movq %r14, %rdi
movl %r12d, %esi
callq 0x2ecd
testb %al, %al
je 0x2e7b
movl $0x1, %r12d
movb $0x1, %cl
movq %rcx, -0x30(%rbp)
jmp 0x2e9b
movq %r14, %rdi
callq 0x24dc
testb %al, %al
jne 0x2e8f
movq %r14, %rdi
callq 0x27c1
xorl %r12d, %r12d
movb $0x1, %cl
movq %rcx, -0x30(%rbp)
incl %r12d
incq %r13
incl %r15d
cmpq -0x40(%rbp), %r13
jne 0x2d94
jmp 0x2eb5
movq $0x0, -0x30(%rbp)
movq -0x30(%rbp), %rax
andb $0x1, %al
addq $0xc8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/Sweet-john[P]Linux_bash/OS2.cpp
// Function: pipe(char**, char**)
void pipe(char* input[], char* output[])
{
int fd[2];
 pipe(fd);
 if (fork()!=0)
 {
  close(fd[0]);
  int fdo = dup(STDOUT_FILENO);
  close(1);
  dup(fd[1]);
  close(fd[1]);
  bool isSpecial = checkSpecialOrder(input);
  if (!isSpecial)
  execute(input);
  dup2(fdo,STDOUT_FILENO);
  wait(NULL);
 }
else
 {
  close(fd[1]);
  close(0);
  dup(fd[0]);
  close(fd[0]);
  bool isSpecial = checkSpecialOrder(output);
  if (!isSpecial)
  execute(output);
  exit(0); 
 }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq -0x18(%rbp), %rdi
callq 0x21c0
callq 0x2040
testl %eax, %eax
je 0x3221
movl -0x18(%rbp), %edi
callq 0x22b0
movl $0x1, %edi
callq 0x2210
movl %eax, %r14d
movl $0x1, %edi
callq 0x22b0
movl -0x14(%rbp), %edi
callq 0x2210
movl -0x14(%rbp), %edi
callq 0x22b0
movq %rbx, %rdi
callq 0x24dc
testb %al, %al
jne 0x3204
movq %rbx, %rdi
callq 0x27c1
movl %r14d, %edi
movl $0x1, %esi
callq 0x2120
xorl %edi, %edi
callq 0x21b0
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
retq
movl -0x14(%rbp), %edi
callq 0x22b0
xorl %edi, %edi
callq 0x22b0
movl -0x18(%rbp), %edi
callq 0x2210
movl -0x18(%rbp), %edi
callq 0x22b0
movq %r14, %rdi
callq 0x24dc
testb %al, %al
jne 0x3254
movq %r14, %rdi
callq 0x27c1
xorl %edi, %edi
callq 0x21a0
nop
// File: /workspace/github_cpp_makefile_star2_O3/Sweet-john[P]Linux_bash/OS3.cpp
// Function: kill_sig_handler(int)
void kill_sig_handler(int sig)
{
	kill(pid,SIGINT);
	
	for (int i=0; i<jobList.size();i++)
	{
		if (pid==jobList[i].id)
			jobList[i].status = TERMINATE;
	}
	printf("\nThe current process has been killed\n");	
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
leaq 0xcbe7(%rip), %rbx      # 0xfe50
movl (%rbx), %edi
movl $0x2, %esi
callq 0x21e0
movq 0xcc6c(%rip), %rax      # 0xfee8
movq 0xcc5d(%rip), %rcx      # 0xfee0
subq %rcx, %rax
je 0x32af
sarq $0x3, %rax
cmpq $0x1, %rax
adcq $0x0, %rax
movl (%rbx), %esi
xorl %edx, %edx
cmpl (%rcx,%rdx,8), %esi
jne 0x32a7
movl $0x3, 0x4(%rcx,%rdx,8)
movl (%rbx), %esi
incq %rdx
cmpq %rdx, %rax
jne 0x3298
leaq 0xe41(%rip), %rdi       # 0x40f7
addq $0x8, %rsp
popq %rbx
popq %rbp
jmp 0x2230
// File: /workspace/github_cpp_makefile_star2_O3/Sweet-john[P]Linux_bash/OS3.cpp
// Function: stp_sig_handler(int)
void stp_sig_handler(int sig)
{
	bool check = false;
	int sus;
	kill(pid,SIGSTOP);
	
	for (int i=0; i<jobList.size();i++)
	{
		if (pid!=jobList[i].id)
			continue;
		else
			{check = true; jobList[i].status = SUSPEND; sus = i+1; break;}
	}
	
	if (check == false)	
	{
		job temp;
		temp.id = pid;
		temp.status = SUSPEND;
		jobList.push_back(temp);
		sus = jobList.size();
	}
	printf("[%d] Suspend\n",sus);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
leaq 0xcb82(%rip), %rbx      # 0xfe50
movl (%rbx), %edi
movl $0x13, %esi
callq 0x21e0
movq 0xcc07(%rip), %rax      # 0xfee8
movq 0xcbf8(%rip), %rcx      # 0xfee0
movq %rax, %rdx
movl (%rbx), %edi
subq %rcx, %rdx
je 0x330d
sarq $0x3, %rdx
cmpq $0x1, %rdx
adcq $0x0, %rdx
xorl %esi, %esi
cmpl (%rcx,%rsi,8), %edi
je 0x333b
incq %rsi
cmpq %rsi, %rdx
jne 0x3300
movl %edi, -0x10(%rbp)
movl $0x2, -0xc(%rbp)
cmpq 0xcbd2(%rip), %rax      # 0xfef0
je 0x3347
movq -0x10(%rbp), %rcx
movq %rcx, (%rax)
movq 0xcbba(%rip), %rsi      # 0xfee8
addq $0x8, %rsi
movq %rsi, 0xcbaf(%rip)      # 0xfee8
jmp 0x3361
movl $0x2, 0x4(%rcx,%rsi,8)
incl %esi
jmp 0x336c
leaq 0xcb92(%rip), %rdi      # 0xfee0
leaq -0x10(%rbp), %rdx
movq %rax, %rsi
callq 0x34d6
movq 0xcb87(%rip), %rsi      # 0xfee8
subq 0xcb78(%rip), %rsi      # 0xfee0
shrq $0x3, %rsi
leaq 0xd43(%rip), %rdi       # 0x40b6
xorl %eax, %eax
callq 0x2030
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/Sweet-john[P]Linux_bash/OS3.cpp
// Function: cont(char*)
void cont(char *arg)
{
	int i = atoi(arg);
	
	if (jobList[i-1].status == SUSPEND)
	{
	
	kill(jobList[i-1].id,SIGCONT);
	pid = jobList[i-1].id;
	jobList[i-1].status = RUN;
	
	waitid(P_PID,jobList[i-1].id,&info,WEXITED|WSTOPPED);
	
	if (info.si_code == CLD_STOPPED)
	jobList[i-1].status = SUSPEND;
	else if (info.si_code == CLD_EXITED || info.si_code == CLD_KILLED)
	jobList[i-1].status = TERMINATE;
	
	}
	else
	printf("Not a suspend job!\n");	
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
callq 0x2240
movslq %eax, %r14
movq 0xcb49(%rip), %rax      # 0xfee0
cmpl $0x2, -0x4(%rax,%r14,8)
jne 0x3400
decq %r14
movl (%rax,%r14,8), %edi
movl $0x12, %esi
callq 0x21e0
movq 0xcb29(%rip), %rax      # 0xfee0
movl (%rax,%r14,8), %esi
leaq 0xca8e(%rip), %rcx      # 0xfe50
movl %esi, (%rcx)
movl $0x1, 0x4(%rax,%r14,8)
leaq 0xca84(%rip), %rbx      # 0xfe58
movl $0x1, %edi
movq %rbx, %rdx
movl $0x6, %ecx
callq 0x2050
movl 0x8(%rbx), %eax
cmpl $0x5, %eax
jne 0x3410
movq 0xcaeb(%rip), %rax      # 0xfee0
movl $0x2, 0x4(%rax,%r14,8)
jmp 0x3427
leaq 0xd15(%rip), %rdi       # 0x411c
popq %rbx
popq %r14
popq %rbp
jmp 0x2230
decl %eax
cmpl $0x1, %eax
ja 0x3427
movq 0xcac2(%rip), %rax      # 0xfee0
movl $0x3, 0x4(%rax,%r14,8)
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/s0sasaki[P]ExecutableBlockchain/compiler.cpp
// Function: Compiler::read(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>>>>&, char const*) const
void Compiler::read(std::vector<std::string> &strtable, const char *src_data) const{
    int32_t c;
    int32_t idx = 0;
    char buf[256];
    bool iscomment = false;
    while((c = *src_data++)) {
        c = toupper(c);
        if(isSep(c, (char *)" \t\r\n()")) {
            if(c == '(') iscomment = true;
            if(c == ')') iscomment = false;
            if(!idx) continue;
            buf[idx] = 0;
            strtable.push_back(buf);
            idx = 0;
            continue;
        }
        if(!iscomment) buf[idx++] = c;
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x138, %rsp            # imm = 0x138
movq %rsi, -0x38(%rbp)
movb (%rdx), %al
testb %al, %al
je 0x2cd3
movq %rdx, %rbx
xorl %r15d, %r15d
leaq 0x4514(%rip), %r13      # 0x7127
xorl %r12d, %r12d
movsbl %al, %edi
callq 0x2300
movq %r13, %rdx
movb (%rdx), %cl
cmpb %al, %cl
je 0x2c2e
incq %rdx
testb %cl, %cl
jne 0x2c21
incq %rbx
testb %cl, %cl
jne 0x2c53
testb $0x1, %r15b
jne 0x2c48
movslq %r12d, %rcx
incl %r12d
movb %al, -0x160(%rbp,%rcx)
movb (%rbx), %al
testb %al, %al
jne 0x2c16
jmp 0x2cd3
cmpl $0x28, %eax
sete %r14b
cmpl $0x29, %eax
setne %cl
testl %r12d, %r12d
je 0x2cc0
movb %cl, -0x29(%rbp)
movslq %r12d, %rax
movb $0x0, -0x160(%rbp,%rax)
leaq -0x48(%rbp), %r12
movq %r12, -0x58(%rbp)
leaq -0x160(%rbp), %rdi
callq 0x20d0
leaq (%rax,%rbp), %rdx
addq $-0x160, %rdx           # imm = 0xFEA0
leaq -0x58(%rbp), %rdi
leaq -0x160(%rbp), %rsi
callq 0x3cd4
movq -0x38(%rbp), %rdi
leaq -0x58(%rbp), %rsi
callq 0x3a6a
movq -0x58(%rbp), %rdi
cmpq %r12, %rdi
je 0x2cbd
callq 0x21d0
movb -0x29(%rbp), %cl
orb %r15b, %r14b
andb %r14b, %cl
movb (%rbx), %al
movl %ecx, %r15d
testb %al, %al
jne 0x2c13
addq $0x138, %rsp            # imm = 0x138
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq -0x58(%rbp), %rdi
cmpq %r12, %rdi
je 0x2cf6
callq 0x21d0
movq %rbx, %rdi
callq 0x22e0
// File: /workspace/github_cpp_makefile_star2_O3/s0sasaki[P]ExecutableBlockchain/block.cpp
// Function: Block::Block(int const (&) [1024])
Block::Block(const int32_t (&data)[DATA_SIZE]){
    nonce = 0;
    timestamp = time(nullptr);
    for(int32_t i=0; i<sizeof(data)/sizeof(int32_t); i++) 
        this->data[i] = data[i];
    hash = calculateHash();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x10(%rdi), %r15
movq %r15, (%rdi)
xorl %r13d, %r13d
movq %r13, 0x8(%rdi)
movb %r13b, 0x10(%rdi)
leaq 0x30(%rdi), %r12
movq %r12, 0x20(%rdi)
movq %r13, 0x28(%rdi)
movb %r13b, 0x30(%rdi)
movl $0x0, 0x1040(%rdi)
xorl %edi, %edi
callq 0x21c0
movq %rax, 0x1048(%rbx)
movl (%r14,%r13,4), %eax
movl %eax, 0x40(%rbx,%r13,4)
incq %r13
cmpq $0x400, %r13            # imm = 0x400
jne 0x4749
leaq -0x48(%rbp), %rdi
movq %rbx, %rsi
callq 0x497e
leaq -0x48(%rbp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x2250
movq (%r14), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0x478a
callq 0x21d0
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movq 0x20(%rbx), %rdi
cmpq %r12, %rdi
je 0x47aa
callq 0x21d0
movq (%rbx), %rdi
cmpq %r15, %rdi
je 0x47b7
callq 0x21d0
movq %r14, %rdi
callq 0x22e0
nop
// File: /workspace/github_cpp_makefile_star2_O3/s0sasaki[P]ExecutableBlockchain/block.cpp
// Function: Block::mineBlock(unsigned int const&)
void Block::mineBlock(const uint32_t &difficulty){
    char cstr[difficulty + 1];
    for (uint32_t i = 0; i < difficulty; ++i)
        cstr[i] = '0';
    cstr[difficulty] = '\0';
    std::string str(cstr);

    //std::cout << "Mining block... " << std::flush;
    do{
        nonce++;
        hash = calculateHash();
    }while (hash.substr(0, difficulty) != str);
    //std::cout << hash << std::endl;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rdi, %r14
movq %rsi, -0x30(%rbp)
movl (%rsi), %r12d
leal 0x1(%r12), %eax
movq %rsp, %r15
addq $0xf, %rax
andq $-0x10, %rax
subq %rax, %r15
movq %r15, %rsp
testq %r12, %r12
je 0x4808
movq %r15, %rdi
movl $0x30, %esi
movq %r12, %rdx
callq 0x2110
jmp 0x480b
xorl %r12d, %r12d
movb $0x0, (%r15,%r12)
leaq -0x40(%rbp), %rax
movq %rax, -0x10(%rax)
movq %r15, %rdi
callq 0x20d0
leaq (%rax,%r15), %rdx
leaq -0x50(%rbp), %rdi
movq %r15, %rsi
callq 0x3cd4
leaq -0x60(%rbp), %r13
leaq -0x70(%rbp), %r15
incl 0x1040(%r14)
movq %r15, %rdi
movq %r14, %rsi
callq 0x497e
movq %r14, %rdi
movq %r15, %rsi
callq 0x2250
movq -0x70(%rbp), %rdi
cmpq %r13, %rdi
je 0x4863
callq 0x21d0
movq -0x30(%rbp), %rax
movl (%rax), %ecx
movq %r15, %rdi
movq %r14, %rsi
xorl %edx, %edx
callq 0x2220
movq -0x68(%rbp), %rdx
cmpq -0x48(%rbp), %rdx
jne 0x489c
movq -0x70(%rbp), %r12
testq %rdx, %rdx
je 0x48a4
movq -0x50(%rbp), %rsi
movq %r12, %rdi
callq 0x2210
testl %eax, %eax
setne %bl
jmp 0x48a6
movb $0x1, %bl
movq -0x70(%rbp), %r12
jmp 0x48a6
xorl %ebx, %ebx
cmpq %r13, %r12
je 0x48b3
movq %r12, %rdi
callq 0x21d0
testb %bl, %bl
jne 0x4838
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x48c9
callq 0x21d0
leaq -0x28(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x48da
movq %rax, %rbx
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x48ef
callq 0x21d0
movq %rbx, %rdi
callq 0x22e0
nop
// File: /workspace/github_cpp_makefile_star2_O3/s0sasaki[P]ExecutableBlockchain/block.cpp
// Function: Block::calculateHash[abi:cxx11]() const
inline std::string Block::calculateHash() const{
    std::stringstream ss;
    ss << prev_hash << timestamp << nonce;
    for(uint32_t i=0; i<DATA_SIZE; i++)
        ss << data[i];
    return sha256(ss.str());
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x1b0, %rsp            # imm = 0x1B0
movq %rsi, %r14
movq %rdi, %rbx
leaq -0x1c8(%rbp), %rdi
callq 0x2160
leaq -0x1b8(%rbp), %r15
movq 0x20(%r14), %rsi
movq 0x28(%r14), %rdx
movq %r15, %rdi
callq 0x2240
movq 0x1048(%r14), %rsi
movq %rax, %rdi
callq 0x21e0
movl 0x1040(%r14), %esi
movq %rax, %rdi
callq 0x2130
xorl %r12d, %r12d
movl 0x40(%r14,%r12,4), %esi
movq %r15, %rdi
callq 0x22d0
incq %r12
cmpq $0x400, %r12            # imm = 0x400
jne 0x49da
leaq -0x1b0(%rbp), %rsi
leaq -0x40(%rbp), %rdi
callq 0x22b0
leaq -0x40(%rbp), %rsi
movq %rbx, %rdi
callq 0x56b2
leaq -0x30(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4a21
callq 0x21d0
movq 0x5598(%rip), %rsi      # 0x9fc0
leaq -0x1c8(%rbp), %rdi
callq 0x2180
leaq -0x148(%rbp), %rdi
callq 0x20a0
movq %rbx, %rax
addq $0x1b0, %rsp            # imm = 0x1B0
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq -0x30(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4a6f
callq 0x21d0
jmp 0x4a6f
jmp 0x4a6c
movq %rax, %rbx
movq 0x554a(%rip), %rsi      # 0x9fc0
leaq -0x1c8(%rbp), %rdi
callq 0x2180
leaq -0x148(%rbp), %rdi
callq 0x20a0
movq %rbx, %rdi
callq 0x22e0
nop
// File: /workspace/github_cpp_makefile_star2_O3/s0sasaki[P]ExecutableBlockchain/blockchain.cpp
// Function: Blockchain::Blockchain()
Blockchain::Blockchain(){
    int32_t genesis_data[Block::DATA_SIZE];
    Block genesis_block(genesis_data);
    genesis_block.mineBlock(difficulty);
    chain.emplace_back(genesis_block);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x2050, %rsp           # imm = 0x2050
movq %rdi, %rbx
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
movq $0x0, 0x10(%rdi)
movl $0x3, 0x18(%rdi)
leaq -0x1060(%rbp), %rdi
leaq -0x2060(%rbp), %rsi
callq 0x46f8
leaq 0x18(%rbx), %rsi
leaq -0x1060(%rbp), %rdi
callq 0x47c0
leaq -0x1060(%rbp), %rsi
movq %rbx, %rdi
callq 0x4d96
leaq -0x1030(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4b05
callq 0x21d0
leaq -0x1050(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x4b1a
callq 0x21d0
addq $0x2050, %rsp           # imm = 0x2050
popq %rbx
popq %r14
popq %rbp
retq
movq %rax, %r14
jmp 0x4b3a
movq %rax, %r14
leaq -0x1060(%rbp), %rdi
callq 0x2a50
movq %rbx, %rdi
callq 0x2b68
movq %r14, %rdi
callq 0x22e0
// File: /workspace/github_cpp_makefile_star2_O3/s0sasaki[P]ExecutableBlockchain/blockchain.cpp
// Function: Blockchain::isValid() const
bool Blockchain::isValid() const{
    for (auto block: chain)
        if(!block.isValid(difficulty)) return false;
    std::string prev_hash = chain.front().hash;
    for(uint32_t i=1; i<chain.size(); i++){
        if(prev_hash != chain[i].prev_hash) return false;
        prev_hash = chain[i].hash;
    }
    return true;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1058, %rsp           # imm = 0x1058
movq %rdi, %r14
movq (%rdi), %r15
movq 0x8(%rdi), %rbx
cmpq %rbx, %r15
movq %rdi, -0x30(%rbp)
je 0x4c38
leaq 0x18(%r14), %r12
leaq -0x1080(%rbp), %r13
leaq -0x1070(%rbp), %rax
movq %rax, -0x1080(%rbp)
movq (%r15), %rsi
movq 0x8(%r15), %rdx
addq %rsi, %rdx
movq %r13, %rdi
callq 0x39cc
leaq -0x1050(%rbp), %rax
movq %rax, -0x1060(%rbp)
movq 0x20(%r15), %rsi
movq 0x28(%r15), %rdx
addq %rsi, %rdx
leaq -0x1060(%rbp), %rdi
callq 0x39cc
leaq 0x40(%r15), %rsi
movl $0x1010, %edx           # imm = 0x1010
leaq -0x1040(%rbp), %rdi
callq 0x21a0
movq %r13, %rdi
movq %r12, %rsi
callq 0x48f8
movl %eax, %r14d
movq -0x1060(%rbp), %rdi
leaq -0x1050(%rbp), %rax
cmpq %rax, %rdi
je 0x4c00
callq 0x21d0
movq -0x1080(%rbp), %rdi
leaq -0x1070(%rbp), %rax
cmpq %rax, %rdi
je 0x4c18
callq 0x21d0
testb %r14b, %r14b
je 0x4cef
addq $0x1050, %r15           # imm = 0x1050
cmpq %rbx, %r15
jne 0x4b80
movq -0x30(%rbp), %r14
movq (%r14), %r15
leaq -0x1070(%rbp), %rax
movq %rax, -0x10(%rax)
movq (%r15), %rsi
movq 0x8(%r15), %rdx
addq %rsi, %rdx
leaq -0x1080(%rbp), %rdi
callq 0x39cc
movq (%r14), %r15
movq 0x8(%r14), %rax
subq %r15, %rax
sarq $0x4, %rax
movabsq $0x77a9af922545a3cd, %rbx # imm = 0x77A9AF922545A3CD
imulq %rbx, %rax
movb $0x1, %r14b
cmpq $0x2, %rax
jb 0x4cf7
movl $0x1, %eax
movl $0x2, %r13d
leaq -0x1080(%rbp), %r12
imulq $0x1050, %rax, %rax     # imm = 0x1050
movq -0x1078(%rbp), %rdx
cmpq 0x28(%r15,%rax), %rdx
jne 0x4cf4
addq %rax, %r15
testq %rdx, %rdx
je 0x4cc1
movq 0x20(%r15), %rsi
movq -0x1080(%rbp), %rdi
callq 0x2210
testl %eax, %eax
jne 0x4cf4
movq %r12, %rdi
movq %r15, %rsi
callq 0x2100
movl %r13d, %eax
movq -0x30(%rbp), %rcx
movq (%rcx), %r15
movq 0x8(%rcx), %rcx
subq %r15, %rcx
sarq $0x4, %rcx
imulq %rbx, %rcx
incl %r13d
cmpq %rax, %rcx
ja 0x4c90
jmp 0x4cf7
xorl %r14d, %r14d
jmp 0x4d0f
xorl %r14d, %r14d
movq -0x1080(%rbp), %rdi
leaq -0x1070(%rbp), %rax
cmpq %rax, %rdi
je 0x4d0f
callq 0x21d0
movl %r14d, %eax
addq $0x1058, %rsp           # imm = 0x1058
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x4d26
movq %rax, %r14
movq -0x1080(%rbp), %rdi
leaq -0x1070(%rbp), %rax
cmpq %rax, %rdi
je 0x4d52
callq 0x21d0
jmp 0x4d52
movq %rax, %r14
leaq -0x1080(%rbp), %rdi
callq 0x2a50
movq %r14, %rdi
callq 0x22e0
// File: /workspace/github_cpp_makefile_star2_O3/s0sasaki[P]ExecutableBlockchain/sha256.cpp
// Function: SHA256::update(unsigned char const*, unsigned int)
void SHA256::update(const unsigned char *message, unsigned int len)
{
    unsigned int block_nb;
    unsigned int new_len, rem_len, tmp_len;
    const unsigned char *shifted_message;
    tmp_len = SHA224_256_BLOCK_SIZE - m_len;
    rem_len = len < tmp_len ? len : tmp_len;
    memcpy(&m_block[m_len], message, rem_len);
    if (m_len + len < SHA224_256_BLOCK_SIZE) {
        m_len += len;
        return;
    }
    new_len = len - rem_len;
    block_nb = new_len / SHA224_256_BLOCK_SIZE;
    shifted_message = message + rem_len;
    transform(m_block, 1);
    transform(shifted_message, block_nb);
    rem_len = new_len % SHA224_256_BLOCK_SIZE;
    memcpy(m_block, &shifted_message[block_nb << 6], rem_len);
    m_len = rem_len;
    m_tot_len += (block_nb + 1) << 6;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %edx, %r14d
movq %rsi, %r15
movq %rdi, %rbx
movl 0x4(%rdi), %eax
movl $0x40, %r12d
subl %eax, %r12d
cmpl %edx, %r12d
cmovael %edx, %r12d
addq %rax, %rdi
addq $0x8, %rdi
movq %r12, %rdx
callq 0x21a0
movl 0x4(%rbx), %r13d
addl %r14d, %r13d
cmpl $0x40, %r13d
jb 0x55af
leaq 0x8(%rbx), %rsi
subl %r12d, %r14d
movl %r14d, %r13d
shrl $0x6, %r13d
addq %r12, %r15
movq %rbx, %rdi
movq %rsi, %r12
movl $0x1, %edx
callq 0x52fc
movq %rbx, %rdi
movq %r15, %rsi
movl %r13d, %edx
callq 0x52fc
movl %r14d, %r13d
andl $0x3f, %r13d
andl $-0x40, %r14d
leaq (%r14,%r15), %rsi
movq %r12, %rdi
movq %r13, %rdx
callq 0x21a0
movl (%rbx), %eax
addl %r14d, %eax
addl $0x40, %eax
movl %eax, (%rbx)
movl %r13d, 0x4(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/s0sasaki[P]ExecutableBlockchain/sha256.cpp
// Function: sha256(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
std::string sha256(std::string input)
{
    unsigned char digest[SHA256::DIGEST_SIZE];
    memset(digest,0,SHA256::DIGEST_SIZE);

    SHA256 ctx = SHA256();
    ctx.init();
    ctx.update( (unsigned char*)input.c_str(), input.length());
    ctx.final(digest);

    char buf[2*SHA256::DIGEST_SIZE+1];
    buf[2*SHA256::DIGEST_SIZE] = 0;
    for (int i = 0; i < SHA256::DIGEST_SIZE; i++)
        sprintf(buf+i*2, "%02x", digest[i]);
    return std::string(buf);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x120, %rsp            # imm = 0x120
movq %rdi, %rbx
xorps %xmm0, %xmm0
leaq -0x40(%rbp), %r14
movaps %xmm0, 0x10(%r14)
movaps %xmm0, (%r14)
leaq -0x138(%rbp), %r15
movups %xmm0, 0x78(%r15)
movups %xmm0, 0x68(%r15)
movups %xmm0, 0x58(%r15)
movups %xmm0, 0x48(%r15)
movups %xmm0, 0x38(%r15)
movups %xmm0, 0x28(%r15)
movups %xmm0, 0x18(%r15)
movups %xmm0, 0x8(%r15)
movaps 0x1ad3(%rip), %xmm0     # 0x71e0
movups %xmm0, 0x88(%r15)
movaps 0x1ad4(%rip), %xmm0     # 0x71f0
movups %xmm0, 0x98(%r15)
movq $0x0, (%r15)
movq (%rsi), %rax
movl 0x8(%rsi), %edx
movq %r15, %rdi
movq %rax, %rsi
callq 0x5516
movq %r15, %rdi
movq %r14, %rsi
callq 0x55c2
leaq -0x90(%rbp), %r14
movb $0x0, 0x40(%r14)
leaq 0x1ba6(%rip), %r15      # 0x7300
xorl %r12d, %r12d
movzbl -0x40(%rbp,%r12), %edx
movq %r14, %rdi
movq %r15, %rsi
xorl %eax, %eax
callq 0x2070
incq %r12
addq $0x2, %r14
cmpq $0x20, %r12
jne 0x575d
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
leaq -0x90(%rbp), %r14
movq %r14, %rdi
callq 0x20d0
leaq (%rax,%rbp), %rdx
addq $-0x90, %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x3cd4
movq %rbx, %rax
addq $0x120, %rsp            # imm = 0x120
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/s0sasaki[P]ExecutableBlockchain/vm.cpp
// Function: VM::funcOpRet()
void VM::funcOpRet () { 
    if(rsp == 0) is_halt = true; 
    ip = return_stack[rsp--];  
    ib = return_stack[rsp--];  
    load();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movslq 0x8(%rdi), %rax
testq %rax, %rax
jne 0x59cd
movb $0x1, 0x10(%rdi)
leal -0x1(%rax), %ecx
movl %ecx, 0x8(%rdi)
movl 0x3020(%rdi,%rax,4), %ecx
movl %ecx, 0x4(%rdi)
leal -0x2(%rax), %ecx
movl %ecx, 0x8(%rdi)
movslq 0x301c(%rdi,%rax,4), %rcx
movl %ecx, (%rdi)
movq 0x18(%rdi), %rax
movq (%rax), %rdx
movq 0x8(%rax), %rax
subq %rdx, %rax
sarq $0x4, %rax
movabsq $0x77a9af922545a3cd, %rsi # imm = 0x77A9AF922545A3CD
imulq %rax, %rsi
leaq 0x1020(%rdi), %rax
addq $0x20, %rdi
imulq $0x1050, %rcx, %r8      # imm = 0x1050
cmpq %rcx, %rsi
leaq 0x40(%rdx,%r8), %rsi
cmovbeq %rdi, %rsi
movl $0x1000, %edx           # imm = 0x1000
movq %rax, %rdi
popq %rbp
jmp 0x21a0
nop
// File: /workspace/github_cpp_makefile_star2_O3/s0sasaki[P]ExecutableBlockchain/vm.cpp
// Function: VM::funcOpCall()
void VM::funcOpCall() { 
    return_stack[++rsp] = ib; 
    return_stack[++rsp] = ip + 2; 
    ib = mem[ip++];  
    ip = mem[ip];  
    load();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movl (%rdi), %eax
movslq 0x8(%rdi), %rcx
leaq 0x1(%rcx), %rdx
movl %edx, 0x8(%rdi)
movl %eax, 0x3024(%rdi,%rcx,4)
movl 0x4(%rdi), %eax
addl $0x2, %eax
movslq 0x8(%rdi), %rcx
leaq 0x1(%rcx), %rdx
movl %edx, 0x8(%rdi)
movl %eax, 0x3024(%rdi,%rcx,4)
movslq 0x4(%rdi), %rax
leaq 0x1(%rax), %rcx
movl %ecx, 0x4(%rdi)
movslq 0x1020(%rdi,%rax,4), %rcx
movl %ecx, (%rdi)
movl 0x1024(%rdi,%rax,4), %eax
movl %eax, 0x4(%rdi)
movq 0x18(%rdi), %rax
movq (%rax), %rdx
movq 0x8(%rax), %rax
subq %rdx, %rax
sarq $0x4, %rax
movabsq $0x77a9af922545a3cd, %rsi # imm = 0x77A9AF922545A3CD
imulq %rax, %rsi
leaq 0x20(%rdi), %rax
imulq $0x1050, %rcx, %r8      # imm = 0x1050
cmpq %rcx, %rsi
leaq 0x40(%rdx,%r8), %rsi
cmovbeq %rax, %rsi
addq $0x1020, %rdi           # imm = 0x1020
movl $0x1000, %edx           # imm = 0x1000
popq %rbp
jmp 0x21a0
// File: /workspace/github_cpp_makefile_star2_O3/s0sasaki[P]ExecutableBlockchain/vm.cpp
// Function: VM::exec(int const*, Blockchain const&)
void VM::exec(const int32_t *bin_data, const Blockchain &blockchain) {
    refresh(bin_data, blockchain);
    while(is_halt == false) {
#ifdef DEBUG
        displayState();
#endif
        (this->*func_table[mem[ip++]])();
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rsi, %r14
movq %rdi, %rbx
movq 0x8(%rdx), %rax
subq (%rdx), %rax
shrq $0x4, %rax
imull $0x2545a3cd, %eax, %eax # imm = 0x2545A3CD
movl %eax, (%rdi)
xorl %eax, %eax
movq %rax, 0x4(%rdi)
movq %rax, 0x9(%rdi)
movq %rdx, 0x18(%rdi)
addq $0x1020, %rdi           # imm = 0x1020
movl $0x1000, %edx           # imm = 0x1000
callq 0x21a0
leaq 0x20(%rbx), %rdi
movl $0x1000, %edx           # imm = 0x1000
movq %r14, %rsi
callq 0x21a0
leaq 0x3020(%rbx), %rdi
movl $0x2000, %edx           # imm = 0x2000
xorl %esi, %esi
callq 0x2110
leaq 0x5020(%rbx), %r14
movslq 0x4(%rbx), %rax
leal 0x1(%rax), %ecx
movl %ecx, 0x4(%rbx)
movslq 0x1020(%rbx,%rax,4), %rcx
shlq $0x4, %rcx
movq (%r14,%rcx), %rax
movq 0x8(%r14,%rcx), %rdi
addq %rbx, %rdi
testb $0x1, %al
je 0x5e34
movq (%rdi), %rcx
movq -0x1(%rcx,%rax), %rax
callq *%rax
cmpb $0x0, 0x10(%rbx)
je 0x5e06
popq %rbx
popq %r14
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/s0sasaki[P]ExecutableBlockchain/vm.cpp
// Function: VM::displayOp(int const&) const
void VM::displayOp(const int32_t &idx) const{
    switch(idx) {
        case OP_RET    : std::cout << "OP_RET  " << std::endl; break;
        case OP_CALL   : std::cout << "OP_CALL " << std::endl; break;
        case OP_JMP    : std::cout << "OP_JMP  " << std::endl; break;
        case OP_JZ     : std::cout << "OP_JZ   " << std::endl; break;
        case OP_EQ     : std::cout << "OP_EQ   " << std::endl; break;
        case OP_GE     : std::cout << "OP_GE   " << std::endl; break;
        case OP_LE     : std::cout << "OP_LE   " << std::endl; break;
        case OP_GNE    : std::cout << "OP_GNE  " << std::endl; break;
        case OP_LNE    : std::cout << "OP_LNE  " << std::endl; break;
        case OP_PUSH   : std::cout << "OP_PUSH " << std::endl; break;
        case OP_POP    : std::cout << "OP_POP  " << std::endl; break;
        case OP_DUP    : std::cout << "OP_DUP  " << std::endl; break;
        case OP_OVER   : std::cout << "OP_OVER " << std::endl; break;
        case OP_SWAP   : std::cout << "OP_SWAP " << std::endl; break;
        case OP_DROP   : std::cout << "OP_DROP " << std::endl; break;
        case OP_ADD    : std::cout << "OP_ADD  " << std::endl; break;
        case OP_SUB    : std::cout << "OP_SUB  " << std::endl; break;
        case OP_MUL    : std::cout << "OP_MUL  " << std::endl; break;
        case OP_DIV    : std::cout << "OP_DIV  " << std::endl; break;
        case OP_NOP    : std::cout << "OP_NOP  " << std::endl; break;
        case OP_DOT    : std::cout << "OP_DOT  " << std::endl; break;
        case OP_HALT   : std::cout << "OP_HALT " << std::endl; break;
        case OP_LOAD   : std::cout << "OP_LOAD " << std::endl; break;
        case OP_STORE  : std::cout << "OP_STORE" << std::endl; break;
        default        : std::cout << "UNKNOWN " << std::endl; break;
    }
}

// Assembly:
movl (%rsi), %eax
cmpq $0x17, %rax
ja 0x5ed6
leaq 0x1537(%rip), %rcx      # 0x7404
movslq (%rcx,%rax,4), %rsi
addq %rcx, %rsi
jmp 0x5edd
leaq 0x1500(%rip), %rsi      # 0x73dd
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq 0x40ee(%rip), %rbx      # 0x9fd8
movl $0x8, %edx
movq %rbx, %rdi
callq 0x2240
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x21f0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
addq $0x8, %rsp
popq %rbx
popq %rbp
jmp 0x2140
// File: /workspace/github_cpp_makefile_star2_O3/big-data-lab-team[P]OrpailleCC/main.cpp
// Function: main
int main(){
	CoarseMondrianForest<double, funct, KappaMetrics<LABEL_COUNT>, FEATURE_COUNT, LABEL_COUNT, 6000> classifier(0.6, 0.0001, 0.0, 10);
	//CoarseMondrianForest<double, funct, ErrorMetrics<FEATURE_COUNT, LABEL_COUNT>, FEATURE_COUNT, LABEL_COUNT, 6000> classifier(0.6, 0.0001, 0.0, 10);
	classifier.train(dt[0], labels[0]);
	classifier.train(dt[2], labels[2]);

	double scores[2];
	int result = classifier.predict(dt[0], scores);
#ifdef DEBUG
	cout << "Prediction: " << result << endl;
	cout << "True Label: " << labels[0] << endl;
#endif
	//result = classifier.predict(dt[2], scores);
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x1858, %rsp           # imm = 0x1858
xorl %eax, %eax
movl $0x1, %r10d
leaq 0x10(%rsp), %rbx
movsd 0x4ded(%rip), %xmm0     # 0x6008
movsd 0x4ded(%rip), %xmm1     # 0x6010
movsd 0x4ded(%rip), %xmm3     # 0x6018
xorps %xmm2, %xmm2
movq %rbx, %rdi
movl $0xa, %esi
movl $0x0, %edx
movl $0x1, %ecx
movl $0xffffffff, %r8d       # imm = 0xFFFFFFFF
movl $0x0, %r9d
movaps %xmm3, %xmm4
movaps %xmm3, %xmm5
movaps %xmm3, %xmm6
pushq %rax
pushq %rax
pushq %rax
pushq %r10
pushq %r10
pushq %rax
pushq %rax
pushq %rax
callq 0x12b6
addq $0x40, %rsp
movl 0x6fd2(%rip), %edx      # 0x8240
leaq 0x6e0b(%rip), %r14      # 0x8080
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1528
movl 0x6fc2(%rip), %edx      # 0x8248
leaq 0x6e33(%rip), %rsi      # 0x80c0
movq %rbx, %rdi
callq 0x1528
movq %rsp, %rdx
movq %rbx, %rdi
movq %r14, %rsi
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
callq 0x1766
xorl %eax, %eax
addq $0x1858, %rsp           # imm = 0x1858
popq %rbx
popq %r14
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/big-data-lab-team[P]OrpailleCC/./src/mondrian_coarse.hpp
// Function: CoarseMondrianForest<double, funct, KappaMetrics<2, false>, 4, 2, 6000>::predict(double const*, double*, int)
int predict(feature_type const* features, double* scores = nullptr, int tree_to_use = -1){
	if(tree_to_use < 0)
		tree_to_use = tree_count;
	//Update internal count
	//NOTE uncomment for bound and trim, just to be safer
	#ifndef UNBOUND_OPTIMIZE
	if(extend_type != EXTEND_GHOST)
		update_posterior_count();
	#endif
	//The posterior mean of the forest will be the average posterior means over all trees
	//We start by computing the sum
	double tree_used = 0;
	double sum_posterior_mean[label_count] = {0};
	for(int i = 0; i < tree_to_use; ++i){
		double posterior_mean[label_count];
		//Get the  posterior means of the leaf of the data point in tree *i*
		predict_tree(features, i, posterior_mean);
		tree_used += 1;
		//Update the sum of posterior means
		for(int k = 0; k < label_count; ++k)
			sum_posterior_mean[k] += posterior_mean[k];
	}
	//Then we divide by the number trees.
	for(int k = 0; k < label_count; ++k)
		sum_posterior_mean[k] /= tree_used;

	//Finally, we look for the best label
	return Utils::index_max(sum_posterior_mean, label_count);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x30, %rsp
movl %ecx, %ebp
movq %rsi, %rbx
movq %rdi, %r14
testl %ecx, %ecx
jns 0x1785
movl 0x17dc(%r14), %ebp
cmpl $0x2, 0x3c(%r14)
je 0x1794
movq %r14, %rdi
callq 0x1d14
xorpd %xmm0, %xmm0
testl %ebp, %ebp
jle 0x17ed
xorl %r15d, %r15d
xorpd %xmm1, %xmm1
leaq 0x20(%rsp), %r12
movapd %xmm0, (%rsp)
movapd %xmm1, 0x10(%rsp)
movq %r14, %rdi
movq %rbx, %rsi
movl %r15d, %edx
movq %r12, %rcx
movl $0xffffffff, %r8d       # imm = 0xFFFFFFFF
callq 0x1d68
movapd (%rsp), %xmm0
movapd 0x10(%rsp), %xmm1
addpd 0x20(%rsp), %xmm1
addsd 0x4835(%rip), %xmm0     # 0x6018
incl %r15d
cmpl %r15d, %ebp
jne 0x17a8
jmp 0x17f1
xorpd %xmm1, %xmm1
unpcklpd %xmm0, %xmm0            # xmm0 = xmm0[0,0]
divpd %xmm0, %xmm1
movapd %xmm1, %xmm0
unpckhpd %xmm1, %xmm0            # xmm0 = xmm0[1],xmm1[1]
xorl %eax, %eax
ucomisd %xmm1, %xmm0
seta %al
addq $0x30, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/big-data-lab-team[P]OrpailleCC/./src/mondrian_coarse.hpp
// Function: CoarseMondrianForest<double, funct, KappaMetrics<2, false>, 4, 2, 6000>::tree_trim()
void tree_trim(){
	if(trim_type == TRIM_NONE)
		return;
	for(int i = 0; i < tree_count; ++i){
		int id = tree_trim(i);
		if(tree_bases()[i].root != id && id >= 0 && id < node_count) //Can't cut the root
			cut_block(id, i);
	}
}

// Assembly:
cmpl $0x0, 0x40(%rdi)
je 0x1b1e
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
cmpl $0x0, 0x17dc(%rdi)
jle 0x1b19
leaq 0x17bc(%rbx), %r15
xorl %r14d, %r14d
movq %rbx, %rdi
movl %r14d, %esi
callq 0x220e
movslq 0x17dc(%rbx), %rcx
testl %eax, %eax
js 0x1b0d
imulq $-0x38, %rcx, %rdx
cmpl %eax, (%r15,%rdx)
je 0x1b0d
cmpl 0x17d4(%rbx), %eax
jge 0x1b0d
movq %rbx, %rdi
movl %eax, %esi
movl %r14d, %edx
callq 0x23ac
movslq 0x17dc(%rbx), %rcx
incq %r14
addq $0x38, %r15
cmpq %rcx, %r14
jl 0x1ad1
popq %rbx
popq %r14
popq %r15
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/big-data-lab-team[P]OrpailleCC/./src/mondrian_coarse.hpp
// Function: CoarseMondrianForest<double, funct, KappaMetrics<2, false>, 4, 2, 6000>::update_posterior_count(int)
void update_posterior_count(int const node_id){
	Node& node = nodes()[node_id];
	if(node.is_leaf()){
		//A leaf should already has its count right
		return;
	}
	else{ //This is an internal node
		//Compute the posterior count for the two children
		update_posterior_count(node.child_left);
		update_posterior_count(node.child_right);
	}
	//Update each count
	for(int i = 0; i < label_count; ++i){
		int const c_left = Utils::min(1, nodes()[node.child_left].counters[i]);
		int const c_right = Utils::min(1, nodes()[node.child_right].counters[i]);
		node.counters[i] = c_left + c_right;
	}
}

// Assembly:
movslq %esi, %rax
shlq $0x7, %rax
cmpl $-0x1, 0x44(%rdi,%rax)
je 0x203e
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
leaq 0x44(%rdi), %r15
leaq (%rdi,%rax), %r14
addq $0x44, %r14
movl 0x50(%r14), %esi
callq 0x1fa6
movl 0x54(%r14), %esi
movq %rbx, %rdi
callq 0x1fa6
movslq 0x50(%r14), %rax
movslq 0x54(%r14), %rcx
shlq $0x7, %rax
shlq $0x7, %rcx
movq 0x68(%r15,%rax), %xmm0
movdqa 0x4090(%rip), %xmm1     # 0x6090
movdqa %xmm1, %xmm2
pcmpgtd %xmm0, %xmm2
pand %xmm2, %xmm0
pandn %xmm1, %xmm2
por %xmm0, %xmm2
movq 0x68(%r15,%rcx), %xmm0
movdqa %xmm1, %xmm3
pcmpgtd %xmm0, %xmm3
pand %xmm3, %xmm0
pandn %xmm1, %xmm3
por %xmm0, %xmm3
paddd %xmm2, %xmm3
movq %xmm3, 0x68(%r14)
popq %rbx
popq %r14
popq %r15
retq
nop