LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O3/ratulSharker[P]Havec/src/main.cpp
// Function: main
int main(int argc,char **argv){
	
	bool cutOff = false;
	
	/*
	* check for the availability of the cut-off value
	*/
	if(strcmp("C",argv[4]) == 0 ||  strcmp("c",argv[4]) == 0 ){
		cutOff = true;
	}
	else{
		cutOff = false;
	}

	/*
	 * create the output directory
	 */
	 createDirectory(OUTPUT_DIRECTORY_NAME);

	//now call the 5 byte or the 6 byte functionalities :)
	if(cutOff){
		//call 6 byte code -- if valid values are given in the cutOffSection
		main6Byte(argc,argv);
	}else{
		//cutOffValue 1 assumed -- so call the 5 byte functionality
		main5Byte(argc,argv);
	}
	
	return 0;
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
movq %rsi, %rbx
movl %edi, %ebp
movq 0x20(%rsi), %rcx
movzbl (%rcx), %eax
cmpl $0x43, %eax
jne 0x36ce
cmpb $0x0, 0x1(%rcx)
jne 0x36dd
leaq 0x7947(%rip), %rdi      # 0xb004
callq 0xa625
movl %ebp, %edi
movq %rbx, %rsi
callq 0x84e4
jmp 0x36f3
subl $0x63, %eax
jne 0x36d7
movzbl 0x1(%rcx), %eax
negl %eax
testl %eax, %eax
je 0x36b6
leaq 0x7920(%rip), %rdi      # 0xb004
callq 0xa625
movl %ebp, %edi
movq %rbx, %rsi
callq 0x55bc
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/ratulSharker[P]Havec/src/common.cpp
// Function: is_prime(unsigned long long)
bool is_prime(unsigned long long n)
{
 //checks if a number is prime

   if (n < 2)
      return false;
   if (n == 2)
	   return true;
   if (n % 2 == 0)
      return false;
   for (unsigned long long x =  3 ; x < sqrt((double)n)+1; x+= 2)
   {
      if ( n % x == 0)
         return false;
   }
   return true;
}

// Assembly:
cmpq $0x2, %rdi
jae 0xa085
xorl %eax, %eax
retq
movb $0x1, %al
jne 0xa08a
retq
testb $0x1, %dil
je 0xa082
movq %rdi, %xmm0
punpckldq 0xfd3(%rip), %xmm0 # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1]
subpd 0xfdb(%rip), %xmm0      # 0xb080
movapd %xmm0, %xmm1
unpckhpd %xmm0, %xmm1            # xmm1 = xmm1[1],xmm0[1]
addsd %xmm0, %xmm1
xorps %xmm0, %xmm0
sqrtsd %xmm1, %xmm0
addsd 0x15e0(%rip), %xmm0     # 0xb6a0
ucomisd 0x15e0(%rip), %xmm0     # 0xb6a8
jbe 0xa089
movl $0x3, %ecx
movq 0xf99(%rip), %xmm1      # 0xb070
movapd 0xfa1(%rip), %xmm2      # 0xb080
movq %rdi, %rax
xorl %edx, %edx
divq %rcx
testq %rdx, %rdx
setne %al
je 0xa089
addq $0x2, %rcx
movq %rcx, %xmm3
punpckldq %xmm1, %xmm3    # xmm3 = xmm3[0],xmm1[0],xmm3[1],xmm1[1]
subpd %xmm2, %xmm3
movapd %xmm3, %xmm4
unpckhpd %xmm3, %xmm4            # xmm4 = xmm4[1],xmm3[1]
addsd %xmm3, %xmm4
ucomisd %xmm4, %xmm0
ja 0xa0df
jmp 0xa089
// File: /workspace/github_cpp_makefile_star2_O3/ratulSharker[P]Havec/src/common.cpp
// Function: get_a_prime_above_x(unsigned long long)
unsigned long long get_a_prime_above_x(unsigned long long x)
{

  // steps backward until n primes (other than 2) have been
  // found that are smaller than x.
	  if(is_prime(x)){
		return x;
	  }
   unsigned long long i = x+1;
   if (i % 2 == 0)
      i += 1;
   while ( i > 0)
   {
      if (is_prime(i))
		  return i;
      i += 2;
   }
   return x;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
callq 0xa07c
testb %al, %al
jne 0xa14d
movl %ebx, %r14d
andl $0x1, %r14d
addq %rbx, %r14
incq %r14
je 0xa14d
movq %r14, %rdi
callq 0xa07c
testb %al, %al
jne 0xa14a
addq $0x2, %r14
jne 0xa136
jmp 0xa14d
movq %r14, %rbx
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O3/ratulSharker[P]Havec/src/common.cpp
// Function: currentDateTime()
void currentDateTime() {
    time_t     now = time(0);
    struct tm  tstruct;
    char       buf[80];
    tstruct = *localtime(&now);
    // Visit http://en.cppreference.com/w/cpp/chrono/c/strftime
    // for more information about date/time format
    strftime(buf, sizeof(buf), "%Y-%m-%d.%X", &tstruct);

    cout<<std::endl<<"current time ::"<<buf<<endl;
}

// Assembly:
pushq %r14
pushq %rbx
subq $0xa8, %rsp
xorl %edi, %edi
callq 0x3200
leaq 0x8(%rsp), %rdi
movq %rax, (%rdi)
callq 0x31a0
movups (%rax), %xmm0
movups 0x10(%rax), %xmm1
movups 0x20(%rax), %xmm2
leaq 0x10(%rsp), %rcx
movaps %xmm0, (%rcx)
movaps %xmm1, 0x10(%rcx)
movaps %xmm2, 0x20(%rcx)
movq 0x30(%rax), %rax
movq %rax, 0x30(%rcx)
leaq 0x1520(%rip), %rdx      # 0xb6c0
leaq 0x50(%rsp), %rbx
movl $0x50, %esi
movq %rbx, %rdi
callq 0x31c0
movq 0x3e1f(%rip), %r14      # 0xdfd8
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x3220
movsbl %al, %esi
movq %r14, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x3180
movq %rax, %r14
leaq 0x14e2(%rip), %rsi      # 0xb6cc
movl $0xf, %edx
movq %rax, %rdi
callq 0x32c0
movq %rbx, %rdi
callq 0x30c0
movq %r14, %rdi
movq %rbx, %rsi
movq %rax, %rdx
callq 0x32c0
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x3220
movsbl %al, %esi
movq %r14, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x3180
addq $0xa8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O3/ratulSharker[P]Havec/src/common.cpp
// Function: fullHasher(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, unsigned int)
unsigned long long fullHasher(std::string khmer,unsigned int whichHashFunc){

	unsigned char map_byte = two_bit_repr[whichHashFunc]; // A T G C
	unsigned long long hashed_val = 0;
	
	//decide the hash values
	unsigned char hashA = ((map_byte & 0XC0)>>6),
				  hashT = ((map_byte & 0X30)>>4),
				  hashG = ((map_byte & 0X0C)>>2),
				  hashC = ((map_byte & 0X03));
	
	neucleotide_status = NEUCLEOTIDE_CHAIN_IS_OK;//at first assume every neucleotide is ok
	
	for(unsigned int i=0;i < khmer.length() &&
						(neucleotide_status != N_FOUND_IN_NEUCLEOTIDE);i++){
		//iterate through each & every char
		switch(toupper(khmer[i])){
			case 'A': //A = whichHashFunc % 4
				hashed_val = (hashed_val << 2) | hashA;
				break;

			case 'T'://T = (whichHashFunc + 1) % 4
				hashed_val = (hashed_val << 2) | hashT;
				break;

			case 'G'://G = (whichHashFunc + 2) % 4
				hashed_val = (hashed_val << 2) | hashG;
				break;

			case 'C'://C = (whichHashFunc + 3) % 4
				hashed_val = (hashed_val << 2) | hashC;
				break;
			
			default://N found no need to compute further
				neucleotide_status = N_FOUND_IN_NEUCLEOTIDE;
				return 0; //now check at the call side of full hasher
				break;
				
		}
	}
	
	return hashed_val;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %esi, %eax
leaq 0x405b(%rip), %rcx      # 0xe2c0
movb (%rax,%rcx), %bpl
movl $0x8, 0x4065(%rip)      # 0xe2d8
movq 0x8(%rdi), %r14
testq %r14, %r14
je 0xa2fb
movl %ebp, %eax
andb $0x3, %al
movb %al, 0x7(%rsp)
movl %ebp, %r12d
shrb $0x2, %r12b
andb $0x3, %r12b
movl %ebp, %eax
shrb $0x4, %al
andb $0x3, %al
movb %al, 0x6(%rsp)
shrb $0x6, %bpl
movq (%rdi), %r15
movl $0x1, %r13d
xorl %eax, %eax
xorl %ebx, %ebx
movsbl (%r15,%rax), %edi
callq 0x3470
cmpl $0x46, %eax
jg 0xa2cc
movl %ebp, %ecx
cmpl $0x41, %eax
je 0xa2dd
movb 0x7(%rsp), %cl
cmpl $0x43, %eax
je 0xa2dd
jmp 0xa2f1
movl %r12d, %ecx
cmpl $0x47, %eax
je 0xa2dd
movb 0x6(%rsp), %cl
cmpl $0x54, %eax
jne 0xa2f1
movzbl %cl, %eax
leaq (%rax,%rbx,4), %rbx
movl %r13d, %eax
incl %r13d
cmpq %rax, %r14
ja 0xa2ab
jmp 0xa2fd
movl $0x7, 0x3fdd(%rip)      # 0xe2d8
xorl %ebx, %ebx
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/ratulSharker[P]Havec/src/common.cpp
// Function: partialHasher(unsigned long long, char, unsigned short, unsigned int)
unsigned long long partialHasher(unsigned long long hashVal, char lastNeucleotide, unsigned short int kSize,unsigned int whichHashFunc){
	
	//security checking -- can be stopped when releasing
	if(whichHashFunc > LAST_HASH_FUNC){ //|| whichHashFunc < 0){ // un-necessay checking is removed because whichHashFunc is unsigned which value would never be negative, caught by osx g++.
		std::cout<<"invalid hash function requested :: "<<whichHashFunc<<std::endl;
		std::cout<<"Exiting..."<<std::endl;
		exit(0);
	}
	
	unsigned char map_byte = two_bit_repr[whichHashFunc]; // A T G C
	//decide the hash values
	unsigned char hashA = ((map_byte & 0XC0)>>6),
				  hashT = ((map_byte & 0X30)>>4),
				  hashG = ((map_byte & 0X0C)>>2),
				  hashC = ((map_byte & 0X03));
	//unsigned int hByte = whichHashFunc;
	unsigned int hByte;
	
	neucleotide_status = NEUCLEOTIDE_CHAIN_IS_OK;//at first assume every neucleotide is ok
	
	switch(toupper(lastNeucleotide)){
				case 'A': //A = whichHashFunc % 4
					hByte = hashA;
					break;

				case 'T'://T (whichHashFunc + 1)  % 4
					hByte = hashT;
					break;

				case 'G'://G (whichHashFunc + 2)  % 4
					hByte = hashG;
					break;

				case 'C'://C (whichHashFunc + 3)  % 4
					hByte = hashC;
					break;
				
				default://N found no need to compute further
					neucleotide_status = N_FOUND_IN_NEUCLEOTIDE;
					return 0;
					
					break;
					
	}

	hashVal = (hashVal << 2) | hByte; //actual hashing
	
	//if the khmer size is less than 32 bit -> then the hash bit at the index > 2k is invalid -- clean them man :P
	unsigned long long bitmusk = 0xFFFFFFFFFFFFFFFF; //here assumed that unsigned long long is 64 bit long
	bitmusk = bitmusk >> ((sizeof(unsigned long long) * 8 )- (2 * kSize));

	hashVal = hashVal & bitmusk;

	return hashVal ;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movl %ecx, %ebp
cmpl %ecx, 0x3f99(%rip)      # 0xe2b4
jb 0xa398
movl %edx, %ebx
movq %rdi, %r14
movl %ebp, %eax
leaq 0x3f95(%rip), %rcx      # 0xe2c0
movb (%rax,%rcx), %bpl
movl $0x8, 0x3f9f(%rip)      # 0xe2d8
movsbl %sil, %edi
callq 0x3470
cmpl $0x46, %eax
jg 0xa353
cmpl $0x41, %eax
je 0xa371
cmpl $0x43, %eax
je 0xa37b
jmp 0xa363
cmpl $0x47, %eax
je 0xa377
cmpl $0x54, %eax
jne 0xa363
shrb $0x4, %bpl
jmp 0xa37b
movl $0x7, 0x3f6b(%rip)      # 0xe2d8
xorl %eax, %eax
jmp 0xa393
shrb $0x6, %bpl
jmp 0xa37f
shrb $0x2, %bpl
andb $0x3, %bpl
movzbl %bpl, %eax
leaq (%rax,%r14,4), %rax
addl %ebx, %ebx
negb %bl
movl %ebx, %ecx
shlq %cl, %rax
shrq %cl, %rax
popq %rbx
popq %r14
popq %rbp
retq
movq 0x3c39(%rip), %rbx      # 0xdfd8
leaq 0x1336(%rip), %rsi      # 0xb6dc
movq %rbx, %rdi
callq 0x3230
movq %rax, %rdi
movl %ebp, %esi
callq 0x3350
movq %rax, %rdi
callq 0x30e0
leaq 0x1339(%rip), %rsi      # 0xb700
movq %rbx, %rdi
callq 0x3230
movq %rax, %rdi
callq 0x30e0
xorl %edi, %edi
callq 0x32e0
// File: /workspace/github_cpp_makefile_star2_O3/ratulSharker[P]Havec/src/common.cpp
// Function: revhash[abi:cxx11](unsigned long long, unsigned short, unsigned int)
string _revhash(unsigned long long hashed,unsigned short hashFunc, unsigned int kSize){
	string ans="";
	for(int i=0;i< kSize ;i++){
		ans = rev_two_bit_repr((hashed) & 3,(hashFunc)) + ans;
		hashed = hashed >> 2;
	}
	return ans;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movl %ecx, %ebp
movl %edx, %r14d
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x10(%rdi), %rax
movq %rax, (%rsp)
movq %rax, (%rdi)
leaq 0x11bf(%rip), %rdx      # 0xb5c8
movq %rdx, %rsi
callq 0x6334
testl %ebp, %ebp
je 0xa5f0
leaq 0x18(%rsp), %r13
leaq 0x8(%rsp), %r12
testw %r14w, %r14w
sete %dl
movq %r15, %rcx
andq $0x3, %rcx
sete %sil
movb $0x41, %al
testb %sil, %dl
jne 0xa50e
testw %r14w, %r14w
sete %dl
cmpq $0x1, %rcx
sete %sil
testb %sil, %dl
je 0xa45b
movb $0x54, %al
jmp 0xa50e
testw %r14w, %r14w
sete %dl
cmpq $0x2, %rcx
sete %sil
testb %sil, %dl
je 0xa476
movb $0x47, %al
jmp 0xa50e
testq %rcx, %rcx
sete %dl
cmpw $0x1, %r14w
sete %sil
testw %r14w, %r14w
sete %dil
cmpq $0x3, %rcx
sete %r8b
testb %r8b, %dil
jne 0xa50c
andb %dl, %sil
jne 0xa50c
cmpq $0x1, %rcx
sete %dl
cmpw $0x1, %r14w
sete %sil
testb %dl, %sil
jne 0xa50e
cmpq $0x2, %rcx
sete %dl
cmpw $0x1, %r14w
sete %sil
testb %dl, %sil
jne 0xa454
cmpq $0x3, %rcx
sete %dil
testq %rcx, %rcx
sete %dl
cmpw $0x2, %r14w
sete %sil
cmpw $0x1, %r14w
sete %r8b
testb %dil, %r8b
jne 0xa46f
andb %dl, %sil
jne 0xa46f
cmpq $0x1, %rcx
sete %dl
cmpw $0x2, %r14w
sete %sil
testb %dl, %sil
je 0xa54f
movb $0x43, %al
movzbl %al, %esi
movq %r12, %rdi
movq %rbx, %rdx
callq 0xa678
movq %rbx, %rdi
movq %r12, %rsi
callq 0x32f0
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
je 0xa53e
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3260
shrq $0x2, %r15
decl %ebp
jne 0xa423
jmp 0xa5f0
cmpq $0x2, %rcx
sete %dl
cmpw $0x2, %r14w
sete %sil
testb %dl, %sil
jne 0xa50e
cmpq $0x3, %rcx
sete %al
testq %rcx, %rcx
sete %dl
cmpw $0x3, %r14w
sete %sil
cmpw $0x2, %r14w
sete %dil
testb %al, %dil
jne 0xa454
movb $0x54, %al
andb %dl, %sil
jne 0xa50e
cmpq $0x1, %rcx
sete %dl
cmpw $0x3, %r14w
sete %sil
movb $0x47, %al
testb %dl, %sil
jne 0xa50e
cmpq $0x2, %rcx
sete %dl
cmpw $0x3, %r14w
sete %sil
movb $0x43, %al
testb %dl, %sil
jne 0xa50e
cmpq $0x3, %rcx
movl $0x5a, %eax
movl $0x41, %ecx
cmovel %ecx, %eax
cmpw $0x3, %r14w
movl $0x5a, %ecx
cmovnel %ecx, %eax
jmp 0xa50e
movq %rbx, %rax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movq (%rbx), %rdi
cmpq (%rsp), %rdi
je 0xa61d
movq (%rsp), %rax
movq (%rax), %rsi
incq %rsi
callq 0x3260
movq %r14, %rdi
callq 0x3430
// File: /workspace/github_cpp_makefile_star2_O3/danish241194[P]Linux-Terminal-Based-File-Explorer/start_page.cpp
// Function: removeDirectory(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
void removeDirectory(string dirname){
	infinite_loop++;
	if(infinite_loop>100){
		return;		
	}

	struct dirent ** list;
	int nn=scandir(dirname.c_str(),&list,NULL,alphasort);
	
	for(int i = 2;i<nn;i++){
		string ss  =dirname+"/"+list[i]->d_name;
		if((int)list[i]->d_type==4){
			removeDirectory(ss.c_str());
			remove(ss.c_str());		
		}
		else if((int)list[i]->d_type==8){
			
			remove(ss.c_str());	
		}
	}

}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movl 0xfea8(%rip), %eax      # 0x1561c
leal 0x1(%rax), %ecx
movl %ecx, 0xfe9f(%rip)      # 0x1561c
cmpl $0x63, %eax
jg 0x58e1
movq %rdi, %rbx
movq (%rdi), %rdi
movq 0xf82d(%rip), %rcx      # 0x14fc0
leaq 0x40(%rsp), %rsi
xorl %edx, %edx
callq 0x3080
cmpl $0x3, %eax
jl 0x58e1
movl %eax, %r12d
movl $0x2, %r15d
leaq 0x20(%rsp), %r14
leaq 0x48(%rsp), %rbp
movq %rbp, %r13
leaq 0x30(%rsp), %rax
movq %rax, 0x20(%rsp)
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
addq %rsi, %rdx
movq %r14, %rdi
callq 0xfc98
movq %r14, %rdi
leaq 0xb8b5(%rip), %rsi      # 0x11099
callq 0x3480
movq 0x40(%rsp), %rax
movq (%rax,%r15,8), %rsi
addq $0x13, %rsi
movq %r14, %rdi
callq 0x3480
leaq 0x10(%rsp), %rsi
movq %rsi, (%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x5824
movq %rdx, (%rsp)
movq (%rcx), %rdx
movq %rdx, 0x10(%rsp)
jmp 0x582a
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0x8(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x585e
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x3260
movq 0x40(%rsp), %rax
movq (%rax,%r15,8), %rax
movzbl 0x12(%rax), %eax
cmpl $0x8, %eax
je 0x58ab
cmpl $0x4, %eax
movq %r13, %rbp
jne 0x58b7
movq (%rsp), %rsi
movq %rbp, %rdi
movq %r14, %rdx
callq 0xf6fa
movq %rbp, %rdi
callq 0x5760
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x58ab
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x3260
movq (%rsp), %rdi
callq 0x3470
movq %r13, %rbp
movq (%rsp), %rdi
leaq 0x10(%rsp), %rcx
cmpq %rcx, %rdi
je 0x58d5
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3260
movq %r13, %rbp
incq %r15
cmpq %r15, %r12
jne 0x57bb
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x5914
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x3260
jmp 0x5914
movq %rax, %rbx
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x594a
movq 0x10(%rsp), %rsi
jmp 0x5942
jmp 0x592b
movq %rax, %rbx
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x594a
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x3260
movq %rbx, %rdi
callq 0x3450
// File: /workspace/github_cpp_makefile_star2_O3/danish241194[P]Linux-Terminal-Based-File-Explorer/start_page.cpp
// Function: copy_file(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
void copy_file(string sr,string dt){

	FILE *source, *target;
	int i;
 
	source = fopen(sr.c_str(), "r"); 



	fseek(source, 0, SEEK_END);
	int length = ftell(source);

	fseek(source, 0, SEEK_SET);
	target = fopen(dt.c_str(), "w"); 


	for(i = 0; i < length; i++){
    		fputc(fgetc(source), target);
	}

	 
	fclose(source); 
	fclose(target);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %r15
movq (%rdi), %rdi
leaq 0xad10(%rip), %rsi      # 0x11195
callq 0x32f0
movq %rax, %rbx
movq %rax, %rdi
xorl %esi, %esi
movl $0x2, %edx
callq 0x3290
movq %rbx, %rdi
callq 0x3030
movq %rax, %r14
movq %rbx, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x3290
movq (%r15), %rdi
leaq 0xac5d(%rip), %rsi      # 0x1111a
callq 0x32f0
movq %rax, %r15
testl %r14d, %r14d
jle 0x64e1
movq %rbx, %rdi
callq 0x33e0
movl %eax, %edi
movq %r15, %rsi
callq 0x3340
decl %r14d
jne 0x64ca
movq %rbx, %rdi
callq 0x3240
movq %r15, %rdi
popq %rbx
popq %r14
popq %r15
jmp 0x3240
// File: /workspace/github_cpp_makefile_star2_O3/danish241194[P]Linux-Terminal-Based-File-Explorer/start_page.cpp
// Function: split(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&, 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)
int split(string &txt, vector<string> &strs, char ch)
{
	strs.clear();
	int i = 0;
	int ip=0,which;
	while(i<txt.size()){

		if(txt[i]=='\''){
			i++;
			ip=i;
			while(txt[i]!='\''){
				if(txt[i]=='\\'){
					txt.erase(i,1);			
				}			
			i++;
			}
	
			strs.push_back(txt.substr(ip,i-ip));
			i=i+2;
			ip=i;
			which=1;
		}
	
		else if(txt[i]==' '){

			strs.push_back(txt.substr(ip,i-ip));
			i++;	
			ip=i;
			which=2;
		}else{
			i++;	
			which=3;
		}
	}
	if(which==3){
		strs.push_back(txt.substr(ip,i-ip));
	}


	return strs.size();

}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rsi, %r13
movq %rdi, %r14
movq (%rsi), %rsi
movq %r13, %rdi
callq 0x10148
cmpq $0x0, 0x8(%r14)
je 0x6686
leaq 0x10(%rsp), %rbx
xorl %edx, %edx
xorl %eax, %eax
xorl %ebp, %ebp
movq %r13, 0x20(%rsp)
movq (%r14), %rcx
movzbl (%rcx,%rdx), %edx
cmpl $0x20, %edx
je 0x662e
cmpl $0x27, %edx
jne 0x666f
leal 0x1(%rbp), %eax
movslq %eax, %r12
xorl %r15d, %r15d
movq %r12, %r13
movzbl (%rcx,%r13), %eax
cmpl $0x5c, %eax
je 0x65cc
cmpl $0x27, %eax
jne 0x65df
jmp 0x65e7
movl $0x1, %edx
movq %r14, %rdi
movq %r13, %rsi
callq 0x3090
movq (%r14), %rcx
incq %r13
incl %r15d
jmp 0x65bb
movslq %r15d, %rcx
movq %rsp, %rbx
movq %rbx, %rdi
movq %r14, %rsi
movq %r12, %rdx
callq 0x3270
movq 0x20(%rsp), %r13
movq %r13, %rdi
movq %rbx, %rsi
callq 0x1019a
movq (%rsp), %rdi
leaq 0x10(%rsp), %rbx
cmpq %rbx, %rdi
je 0x6626
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3260
addl %r15d, %ebp
addl $0x3, %ebp
jmp 0x6669
movslq %eax, %rdx
movl %ebp, %eax
subl %edx, %eax
movslq %eax, %rcx
movq %rsp, %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0x3270
movq %r13, %rdi
movq %r15, %rsi
callq 0x1019a
movq (%rsp), %rdi
cmpq %rbx, %rdi
je 0x6667
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3260
incl %ebp
xorl %ecx, %ecx
movl %ebp, %eax
jmp 0x6673
incl %ebp
movb $0x1, %cl
movslq %ebp, %rdx
cmpq %rdx, 0x8(%r14)
ja 0x6596
testb %cl, %cl
jne 0x668a
jmp 0x66c6
xorl %eax, %eax
xorl %ebp, %ebp
movslq %eax, %rdx
subl %edx, %ebp
movslq %ebp, %rcx
movq %rsp, %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0x3270
movq %r13, %rdi
movq %r15, %rsi
callq 0x1019a
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x66c6
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3260
movq 0x8(%r13), %rax
subq (%r13), %rax
shrq $0x5, %rax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
jmp 0x6709
movq %rax, %r14
movq (%rsp), %rdi
cmpq %rbx, %rdi
jne 0x670e
jmp 0x671b
movq %rax, %r14
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x671b
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3260
movq %r14, %rdi
callq 0x3450
// File: /workspace/github_cpp_makefile_star2_O3/danish241194[P]Linux-Terminal-Based-File-Explorer/start_page.cpp
// Function: init_Screen()
void init_Screen(){
	gotoxy(1,1);
	cout << "\e[1m\tName\e[0m" ;
	printf("\033[1;28H");
	cout << "\e[1mSize\e[0m" ;
	printf("\033[1;36H");
	cout << "\e[1mPermissions\e[0m" ;
	printf("\033[1;50H");
	cout << "\e[1mOwner & Group\e[0m" ;
	printf("\033[1;66H");
	cout << "\e[1mLast Modified\e[0m" ;
	gotoxy(2,1);
	for(int j = 1;j<78;j++){
		cout<<"=";
	}
	gotoxy(height+3,1);
	for(int i =1;i<78;i++){
		cout<<"=";
	}
	gotoxy(height+5,1);
	for(int i =1;i<78;i++){
		cout<<"=";
	}
	gotoxy(height+4,1);

	cout<<mode_name[mode_num];
	gotoxy(start_x,start_y);
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
leaq 0xa95a(%rip), %r14      # 0x11088
movq %r14, %rdi
movl $0x1, %esi
movl $0x1, %edx
xorl %eax, %eax
callq 0x3060
movq 0xe87f(%rip), %rbx      # 0x14fc8
leaq 0xa94f(%rip), %rsi      # 0x1109f
movl $0xd, %edx
movq %rbx, %rdi
callq 0x32c0
leaq 0xa949(%rip), %rdi      # 0x110ad
xorl %eax, %eax
callq 0x3060
leaq 0xa9b2(%rip), %rsi      # 0x11124
movl $0xc, %edx
movq %rbx, %rdi
callq 0x32c0
leaq 0xa9ab(%rip), %rdi      # 0x11131
xorl %eax, %eax
callq 0x3060
leaq 0xa9a5(%rip), %rsi      # 0x11139
movl $0x13, %edx
movq %rbx, %rdi
callq 0x32c0
leaq 0xa9a5(%rip), %rdi      # 0x1114d
xorl %eax, %eax
callq 0x3060
leaq 0xa99f(%rip), %rsi      # 0x11155
movl $0x15, %edx
movq %rbx, %rdi
callq 0x32c0
leaq 0xa9a1(%rip), %rdi      # 0x1116b
xorl %eax, %eax
callq 0x3060
leaq 0xa99b(%rip), %rsi      # 0x11173
movl $0x15, %edx
movq %rbx, %rdi
callq 0x32c0
movq %r14, %rdi
movl $0x2, %esi
movl $0x1, %edx
xorl %eax, %eax
callq 0x3060
movl $0x4d, %ebp
leaq 0xa8bd(%rip), %r14      # 0x110c2
movl $0x1, %edx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x32c0
decl %ebp
jne 0x6805
movl 0xea51(%rip), %esi      # 0x15270
addl $0x3, %esi
leaq 0xa85f(%rip), %rdi      # 0x11088
movl $0x1, %edx
xorl %eax, %eax
callq 0x3060
movl $0x4d, %ebp
movq 0xe787(%rip), %rbx      # 0x14fc8
leaq 0xa87a(%rip), %r14      # 0x110c2
movl $0x1, %edx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x32c0
decl %ebp
jne 0x6848
movl 0xea0e(%rip), %esi      # 0x15270
addl $0x5, %esi
leaq 0xa81c(%rip), %rdi      # 0x11088
movl $0x1, %edx
xorl %eax, %eax
callq 0x3060
movl $0x4d, %ebp
movq 0xe744(%rip), %rbx      # 0x14fc8
leaq 0xa837(%rip), %r14      # 0x110c2
movl $0x1, %edx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x32c0
decl %ebp
jne 0x688b
movl 0xe9cb(%rip), %esi      # 0x15270
addl $0x4, %esi
leaq 0xa7d9(%rip), %rbx      # 0x11088
movq %rbx, %rdi
movl $0x1, %edx
xorl %eax, %eax
callq 0x3060
movslq 0xecdb(%rip), %rax      # 0x155a0
shlq $0x5, %rax
leaq 0xec90(%rip), %rcx      # 0x15560
movq (%rax,%rcx), %rsi
movq 0x8(%rax,%rcx), %rdx
movq 0xe6e8(%rip), %rdi      # 0x14fc8
callq 0x32c0
movl 0xe989(%rip), %esi      # 0x15274
movl 0xe987(%rip), %edx      # 0x15278
movq %rbx, %rdi
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
jmp 0x3060
// File: /workspace/github_cpp_makefile_star2_O3/danish241194[P]Linux-Terminal-Based-File-Explorer/start_page.cpp
// Function: print_command_mode_Scroll(int)
void print_command_mode_Scroll(int p){
	gotoxy(height+6,1);
	for(int i = 0;i<=command_mode_height+2;i++){
		gotoxy(height+6+i,1);
		for(int j=1;j<80;j++){
			cout<<" ";
		}
	}
	gotoxy(height+6,1);
	if(p==1){
		if(display_commands.size()>command_mode_height){
			scroll_command_position+=2;
		}
	}
	for(int i = scroll_command_position;i<display_commands.size();i++){
		if(i%2==0){
			cout<<"> "<<display_commands[i]<<endl;
		}else{
			cout<<"  "<<display_commands[i]<<endl;
		}
		
	}
	cout<<"> ";
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %edi, %ebx
movl 0xe95e(%rip), %esi      # 0x15270
addl $0x6, %esi
leaq 0xa76c(%rip), %rdi      # 0x11088
movl $0x1, %edx
xorl %eax, %eax
callq 0x3060
cmpl $-0x2, 0xe951(%rip)     # 0x15280
jl 0x6993
leaq 0xa750(%rip), %r14      # 0x11088
movq 0xe689(%rip), %r15      # 0x14fc8
leaq 0xa7dc(%rip), %r12      # 0x11122
xorl %r13d, %r13d
movl 0xe921(%rip), %eax      # 0x15270
leal (%rax,%r13), %esi
addl $0x6, %esi
movq %r14, %rdi
movl $0x1, %edx
xorl %eax, %eax
callq 0x3060
movl $0x4f, %ebp
movl $0x1, %edx
movq %r15, %rdi
movq %r12, %rsi
callq 0x32c0
decl %ebp
jne 0x696a
leal 0x1(%r13), %eax
movl 0xe8f8(%rip), %ecx      # 0x15280
addl $0x2, %ecx
cmpl %ecx, %r13d
movl %eax, %r13d
jl 0x6949
movl 0xe8d7(%rip), %esi      # 0x15270
addl $0x6, %esi
leaq 0xa6e5(%rip), %rdi      # 0x11088
movl $0x1, %edx
xorl %eax, %eax
callq 0x3060
cmpl $0x1, %ebx
jne 0x69e3
movq 0xec2d(%rip), %rax      # 0x155e8
subq 0xec1e(%rip), %rax      # 0x155e0
sarq $0x5, %rax
movslq 0xe8b3(%rip), %rdx      # 0x15280
movl 0xec45(%rip), %ecx      # 0x15618
cmpq %rdx, %rax
jbe 0x69fb
addl $0x2, %ecx
movl %ecx, 0xec37(%rip)      # 0x15618
jmp 0x69fb
movl 0xec2f(%rip), %ecx      # 0x15618
movq 0xebf8(%rip), %rax      # 0x155e8
subq 0xebe9(%rip), %rax      # 0x155e0
sarq $0x5, %rax
movslq %ecx, %r15
cmpq %r15, %rax
jbe 0x6a9f
leaq 0xa77b(%rip), %r12      # 0x11189
movq %r15, %r13
shlq $0x5, %r13
orq $0x8, %r13
leaq 0xa701(%rip), %rbp      # 0x11121
movq 0xe5a1(%rip), %rbx      # 0x14fc8
testb $0x1, %r15b
movq %rbp, %rsi
cmoveq %r12, %rsi
movl $0x2, %edx
movq %rbx, %rdi
callq 0x32c0
movq 0xeb9a(%rip), %rax      # 0x155e0
movq -0x8(%rax,%r13), %rsi
movq (%rax,%r13), %rdx
movq %rbx, %rdi
callq 0x32c0
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x3230
movsbl %al, %esi
movq %r14, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x3190
movq 0xeb60(%rip), %rax      # 0x155e8
subq 0xeb51(%rip), %rax      # 0x155e0
incq %r15
sarq $0x5, %rax
addq $0x20, %r13
cmpq %r15, %rax
ja 0x6a27
movq 0xe522(%rip), %rdi      # 0x14fc8
leaq 0xa6dc(%rip), %rsi      # 0x11189
movl $0x2, %edx
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x32c0
// File: /workspace/github_cpp_makefile_star2_O3/danish241194[P]Linux-Terminal-Based-File-Explorer/start_page.cpp
// Function: check_file_exists(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
int check_file_exists(string file_name){
int flag = 0;
for(int i=2;i<n;i++){
	if(file_name.compare(namelist[i]->d_name)==0){
			flag=namelist[i]->d_type;	
			break;		
		}
}
return flag;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
xorl %ebx, %ebx
cmpl $0x3, 0xea81(%rip)      # 0x15554
jl 0x6b19
movq %rdi, %r14
movl $0x2, %r15d
movq 0xe9a3(%rip), %rax      # 0x15488
movq (%rax,%r15,8), %rsi
addq $0x13, %rsi
movq %r14, %rdi
callq 0x30c0
testl %eax, %eax
je 0x6b0a
incq %r15
movslq 0xea51(%rip), %rax      # 0x15554
cmpq %rax, %r15
jl 0x6ade
jmp 0x6b19
movq 0xe977(%rip), %rax      # 0x15488
movq (%rax,%r15,8), %rax
movzbl 0x12(%rax), %ebx
movl %ebx, %eax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/tanakh[P]icfpc2015/main.cpp
// Function: init_by_array(unsigned long*, int)
void init_genrand(unsigned long s)
{
    mt[0]= s & 0xffffffffUL;
    for (mti=1; mti<N; mti++) {
        mt[mti] =
            (1812433253UL * (mt[mti-1] ^ (mt[mti-1] >> 30)) + mti);
        /* See Knuth TAOCP Vol2. 3rd Ed. P.106 for multiplier. */
        /* In the previous versions, MSBs of the seed affect   */
        /* only MSBs of the array mt[].                        */
        /* 2002/01/09 modified by Makoto Matsumoto             */
        mt[mti] &= 0xffffffffUL;
        /* for >32 bit machines */
    }
}

// Assembly:
movq $0x12bd6aa, 0x19988(%rip) # imm = 0x12BD6AA
movl $0x1, %ecx
movl $0x12bd6aa, %edx        # imm = 0x12BD6AA
leaq 0x19977(%rip), %rax     # 0x1d2d0
movq %rdx, %r8
shrq $0x1e, %r8
xorl %edx, %r8d
imull $0x6c078965, %r8d, %edx # imm = 0x6C078965
addl %ecx, %edx
movq %rdx, (%rax,%rcx,8)
incq %rcx
cmpq $0x270, %rcx            # imm = 0x270
jne 0x3959
pushq %r14
pushq %rbx
movl $0x270, %edx            # imm = 0x270
movl %edx, 0x19916(%rip)     # 0x1d2a0
cmpl $0x271, %esi            # imm = 0x271
cmovgel %esi, %edx
movl $0x1, %ecx
xorl %r8d, %r8d
xorl %r9d, %r9d
movslq %ecx, %r10
movq -0x8(%rax,%r10,8), %r11
movq %r11, %rbx
shrq $0x1e, %rbx
xorl %r11d, %ebx
imull $0x19660d, %ebx, %r11d  # imm = 0x19660D
xorl (%rax,%r10,8), %r11d
movslq %r9d, %rbx
movl (%rdi,%rbx,8), %r14d
addl %ebx, %r14d
addl %r11d, %r14d
movq %r14, (%rax,%r10,8)
cmpl $0x26f, %ecx            # imm = 0x26F
jge 0x39d8
incl %ecx
jmp 0x39eb
movq 0x1ac69(%rip), %rcx     # 0x1e648
movq %rcx, 0x198ea(%rip)     # 0x1d2d0
movl $0x1, %ecx
incl %r9d
cmpl %esi, %r9d
cmovgel %r8d, %r9d
decl %edx
jne 0x399e
movl $0xfffffd91, %edx       # imm = 0xFFFFFD91
popq %rbx
popq %r14
movslq %ecx, %rsi
movq -0x8(%rax,%rsi,8), %rdi
movq %rdi, %r8
shrq $0x1e, %r8
xorl %edi, %r8d
imull $0x5d588b65, %r8d, %edi # imm = 0x5D588B65
xorl (%rax,%rsi,8), %edi
subl %esi, %edi
movq %rdi, (%rax,%rsi,8)
cmpl $0x26f, %ecx            # imm = 0x26F
jge 0x3a2f
incl %ecx
jmp 0x3a42
movq 0x1ac12(%rip), %rcx     # 0x1e648
movq %rcx, 0x19893(%rip)     # 0x1d2d0
movl $0x1, %ecx
incl %edx
jne 0x3a01
movl $0x80000000, %eax       # imm = 0x80000000
movq %rax, 0x1987e(%rip)     # 0x1d2d0
retq
// File: /workspace/github_cpp_makefile_star2_O3/tanakh[P]icfpc2015/main.cpp
// Function: to_ans[abi:cxx11](std::vector<int, std::allocator<int>> const&)
ostream &operator<<(ostream &os, const unit &u)
{
  os << "{ " << u.pivot << ", [";
  for (auto &i: u.members)
    os << i << ", ";
  os << "] }";
  return os;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
leaq 0x10(%rdi), %rax
movq %rax, 0x10(%rsp)
movq %rax, (%rdi)
movq $0x0, 0x8(%rdi)
movq %rdi, (%rsp)
movb $0x0, 0x10(%rdi)
movq (%rsi), %rax
movq 0x8(%rsi), %rcx
subq %rax, %rcx
shrq $0x2, %rcx
testl %ecx, %ecx
jle 0x5f10
movq %rsi, %r14
xorl %r13d, %r13d
movq 0x18823(%rip), %r15     # 0x1e668
movslq %r13d, %rdx
leaq 0x18809(%rip), %rcx     # 0x1e658
cmpq %rcx, %r15
je 0x5eca
movq %rdx, 0x8(%rsp)
movq 0x28(%r15), %rdx
testl %edx, %edx
jle 0x5ee5
movq 0x8(%rsp), %r12
xorl %ebp, %ebp
movq (%r14), %rax
movq 0x8(%r14), %rcx
subq %rax, %rcx
shrq $0x2, %rcx
movslq %ecx, %rcx
cmpq %rcx, %r12
jge 0x5eab
movl (%rax,%r12,4), %ebx
movq 0x20(%r15), %rax
movsbl (%rax,%rbp), %edi
callq 0x4cdd
cmpl %eax, %ebx
jne 0x5eab
incq %rbp
movq 0x28(%r15), %rdx
movslq %edx, %rax
incq %r12
cmpq %rax, %rbp
jl 0x5e6c
jmp 0x5ee5
movq %r15, %rdi
callq 0x3360
movq %rax, %r15
leaq 0x1879b(%rip), %rax     # 0x1e658
cmpq %rax, %r15
jne 0x5e59
movq (%r14), %rax
movq 0x8(%rsp), %rdx
movl (%rax,%rdx,4), %edi
callq 0x4b86
movl $0x1, %ebx
movsbl %al, %esi
movq (%rsp), %rdi
callq 0x32c0
jmp 0x5ef6
movq 0x20(%r15), %rsi
movq (%rsp), %rdi
callq 0x30d0
movl 0x28(%r15), %ebx
addl %ebx, %r13d
movq (%r14), %rax
movq 0x8(%r14), %rcx
subq %rax, %rcx
shrq $0x2, %rcx
cmpl %ecx, %r13d
jl 0x5e3e
movq (%rsp), %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x5f27
jmp 0x5f27
movq %rax, %r14
movq (%rsp), %rax
movq (%rax), %rdi
cmpq 0x10(%rsp), %rdi
je 0x5f3d
callq 0x32f0
movq %r14, %rdi
callq 0x34a0
// File: /workspace/github_cpp_makefile_star2_O3/tanakh[P]icfpc2015/main.cpp
// Function: to_cell(picojson::value&)
problem read_problem(const string &file)
{
  ifstream ifs(file.c_str());
  value v;
  parse(v, ifs);
  return to_problem(v);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
cmpl $0x5, (%rdi)
jne 0x40f4
movq %rdi, %rbx
movq 0x8(%rdi), %r14
leaq 0x10(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x11796(%rip), %rsi     # 0x157e6
leaq 0x11790(%rip), %rdx     # 0x157e7
movq %rsp, %rdi
callq 0xfa08
movq %rsp, %rsi
movq %r14, %rdi
callq 0xb84a
cmpl $0x6, (%rax)
jne 0x4112
movq 0x8(%rax), %r14
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x4085
callq 0x32f0
cmpl $0x5, (%rbx)
jne 0x4144
movq 0x8(%rbx), %rbx
movq %rsp, %rdi
movq %r15, (%rdi)
leaq 0x1176b(%rip), %rsi     # 0x1580a
leaq 0x11765(%rip), %rdx     # 0x1580b
callq 0xfa08
movq %rsp, %rsi
movq %rbx, %rdi
callq 0xb84a
cmpl $0x6, (%rax)
jne 0x4176
movq 0x8(%rax), %rbx
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x40d1
callq 0x32f0
movl %ebx, %eax
shrl $0x1f, %eax
addl %ebx, %eax
andl $-0x2, %eax
movl %ebx, %ecx
subl %eax, %ecx
leal (%rcx,%r14,2), %eax
shlq $0x20, %rbx
orq %rbx, %rax
addq $0x20, %rsp
popq %rbx
popq %r14
popq %r15
retq
movl $0x10, %edi
callq 0x3150
movq %rax, %r14
leaq 0x115cd(%rip), %rsi     # 0x156d5
movq %rax, %rdi
callq 0x3100
jmp 0x4160
movl $0x10, %edi
callq 0x3150
movq %rax, %r14
leaq 0x115f3(%rip), %rsi     # 0x15719
movq %rax, %rdi
callq 0x3100
movq 0x18ebb(%rip), %rsi     # 0x1cff0
movq 0x18e7c(%rip), %rdx     # 0x1cfb8
movq %r14, %rdi
callq 0x3480
movl $0x10, %edi
callq 0x3150
movq %rax, %r14
leaq 0x1157d(%rip), %rsi     # 0x156d5
movq %rax, %rdi
callq 0x3100
movq 0x18e89(%rip), %rsi     # 0x1cff0
movq 0x18e4a(%rip), %rdx     # 0x1cfb8
movq %r14, %rdi
callq 0x3480
movl $0x10, %edi
callq 0x3150
movq %rax, %r14
leaq 0x1158f(%rip), %rsi     # 0x15719
movq %rax, %rdi
callq 0x3100
movq 0x18e57(%rip), %rsi     # 0x1cff0
movq 0x18e18(%rip), %rdx     # 0x1cfb8
movq %r14, %rdi
callq 0x3480
jmp 0x41ac
jmp 0x41b9
movq %rax, %rbx
movq %r14, %rdi
callq 0x3250
jmp 0x41d2
movq %rax, %rbx
movq %r14, %rdi
callq 0x3250
jmp 0x41e0
jmp 0x41c8
movq %rax, %rbx
jmp 0x41e0
jmp 0x41cf
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x41e0
callq 0x32f0
movq %rbx, %rdi
callq 0x34a0
// File: /workspace/github_cpp_makefile_star2_O3/tanakh[P]icfpc2015/main.cpp
// Function: to_char(command)
char to_char(command m) {
  switch (m) {
  case W:   return "p'!.03"[genrand_int31()%1];
  case E:   return "bcefy2"[genrand_int31()%5];
  case SW:  return "aghij4"[genrand_int31()%5];
  case SE:  return "lmno 5"[genrand_int31()%4];
  case CW:  return "dqrvz1"[genrand_int31()%5];
  case CCW: return "kstuwx"[genrand_int31()%6];
  }
}

// Assembly:
pushq %rbx
movl %edi, %ebx
callq 0x3a53
movq %rax, %rcx
movl %ebx, %eax
leaq 0x10566(%rip), %rdx     # 0x15100
movslq (%rdx,%rax,4), %rax
addq %rdx, %rax
jmpq *%rax
movb $0x70, %al
jmp 0x4c53
shrq %rcx
movabsq $0x6666666666666667, %rdx # imm = 0x6666666666666667
movq %rcx, %rax
mulq %rdx
shrq %rdx
leaq (%rdx,%rdx,4), %rax
subq %rax, %rcx
leaq 0x10801(%rip), %rax     # 0x153cf
jmp 0x4c4e
shrq %rcx
movabsq $0x6666666666666667, %rdx # imm = 0x6666666666666667
movq %rcx, %rax
mulq %rdx
shrq %rdx
leaq (%rdx,%rdx,4), %rax
subq %rax, %rcx
leaq 0x107cd(%rip), %rax     # 0x153c1
jmp 0x4c4e
shrl %ecx
andl $0x3, %ecx
leaq 0x107c6(%rip), %rax     # 0x153c8
jmp 0x4c4e
shrq %rcx
movabsq $0x6666666666666667, %rdx # imm = 0x6666666666666667
movq %rcx, %rax
mulq %rdx
shrq %rdx
leaq (%rdx,%rdx,4), %rax
subq %rax, %rcx
leaq 0x10792(%rip), %rax     # 0x153ba
jmp 0x4c4e
shrq %rcx
movabsq $0x2aaaaaaaaaaaaaab, %rdx # imm = 0x2AAAAAAAAAAAAAAB
movq %rcx, %rax
mulq %rdx
addq %rdx, %rdx
leaq (%rdx,%rdx,2), %rax
subq %rax, %rcx
leaq 0x10788(%rip), %rax     # 0x153d6
addq %rcx, %rax
movb (%rax), %al
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O3/tanakh[P]icfpc2015/main.cpp
// Function: show_command[abi:cxx11](command)
string show_command(command m) {
  switch (m) {
  case W:   return "W";
  case E:   return "E";
  case SW:  return "SW";
  case SE:  return "SE";
  case CW:  return "CW";
  case CCW: return "CCW";
  }
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
leaq 0x10(%rdi), %rax
movq %rax, (%rdi)
movl %esi, %eax
leaq 0x104af(%rip), %rcx     # 0x15118
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x1076c(%rip), %rsi     # 0x153e5
leaq 0x10766(%rip), %rdx     # 0x153e6
jmp 0x4cd0
leaq 0x1075b(%rip), %rsi     # 0x153e4
leaq 0x10756(%rip), %rdx     # 0x153e6
jmp 0x4cd0
leaq 0x10744(%rip), %rsi     # 0x153dd
leaq 0x1073f(%rip), %rdx     # 0x153df
jmp 0x4cd0
leaq 0x10737(%rip), %rsi     # 0x153e0
leaq 0x10732(%rip), %rdx     # 0x153e2
jmp 0x4cd0
leaq 0x10728(%rip), %rsi     # 0x153e1
leaq 0x10722(%rip), %rdx     # 0x153e2
jmp 0x4cd0
leaq 0x1071a(%rip), %rsi     # 0x153e3
leaq 0x10716(%rip), %rdx     # 0x153e6
movq %rbx, %rdi
callq 0xfa08
movq %rbx, %rax
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O3/tanakh[P]icfpc2015/main.cpp
// Function: check(std::vector<std::vector<int, std::allocator<int>>, std::allocator<std::vector<int, std::allocator<int>>>> const&, std::complex<int> const&, unit const&, int)
bool check(const vector<vector<int>> &bd, const pt &pos, const unit &u, int rot)
{
  for (auto &c: u.members)
    if (!check_one(bd, pos, u.pivot, c, rot))
      return false;
  return true;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %ecx, 0x4(%rsp)
movq (%rdx), %rbp
movq 0x8(%rdx), %rax
movq %rax, 0x8(%rsp)
cmpq %rax, %rbp
je 0x5120
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %r12
movq (%rbp), %rax
movl (%r15), %ecx
leal (%rcx,%rax), %edx
shrq $0x20, %rax
movl 0x4(%r15), %esi
addl %esi, %eax
movq 0x18(%r14), %r13
leal (%rcx,%r13), %ebx
shrq $0x20, %r13
addl %esi, %r13d
subl %ebx, %edx
subl %r13d, %eax
shlq $0x20, %rax
orq %rax, %rdx
movq %rdx, 0x10(%rsp)
leaq 0x10(%rsp), %rdi
movl 0x4(%rsp), %esi
callq 0xc93e
movq %rax, %rcx
movq %rax, %rdx
shrq $0x20, %rdx
xorl %eax, %eax
addl %r13d, %edx
js 0x5126
addl %ecx, %ebx
js 0x5126
movq (%r12), %rcx
movq 0x8(%rcx), %rsi
subq (%rcx), %rsi
shrq $0x2, %rsi
cmpl %esi, %ebx
jge 0x5126
movq 0x8(%r12), %rsi
subq %rcx, %rsi
shrq $0x3, %rsi
imull $0xaaaaaaab, %esi, %esi # imm = 0xAAAAAAAB
cmpl %esi, %edx
jge 0x5126
movl %edx, %eax
leaq (%rax,%rax,2), %rax
movl %ebx, %edx
movq (%rcx,%rax,8), %rax
cmpl $0x0, (%rax,%rdx,4)
jne 0x5124
addq $0x8, %rbp
cmpq 0x8(%rsp), %rbp
jne 0x507f
movb $0x1, %al
jmp 0x5126
xorl %eax, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/tanakh[P]icfpc2015/main.cpp
// Function: print_board_(std::vector<std::vector<int, std::allocator<int>>, std::allocator<std::vector<int, std::allocator<int>>>> const&, std::complex<int> const&, unit const&, int)
void print_board_(const vector<vector<int>> &bd_, const pt &pos, const unit &u, int rot)
{
  vector<vector<int>> bd = bd_;

  for (auto &c: u.members) {
    pt p = pos + rot_pivot(c, u.pivot, rot);
    assert(p.imag()>=0&&p.imag()<bd.size()&&p.real()>=0&&p.real()<bd[0].size());
    bd[p.imag()][p.real()] = 2;
  }
  pt q = pos + u.pivot;
  if (q.real() >= 0 && q.real() < (int)bd[0].size() &&
      q.imag() >= 0 && q.imag() < (int)bd.size())
    bd[q.imag()][q.real()] = 3;
  print_board(bd);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movl %ecx, %ebp
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %rsi
leaq 0x8(%rsp), %rdi
callq 0xbb1c
movq (%rbx), %r12
movq 0x8(%rbx), %r13
cmpq %r13, %r12
je 0x575c
leaq 0x20(%rsp), %r15
movq (%r12), %rax
movq %rax, %rcx
shrq $0x20, %rcx
movl 0x18(%rbx), %edx
subl 0x1c(%rbx), %ecx
subl %edx, %eax
shlq $0x20, %rcx
orq %rcx, %rax
movq %rax, 0x20(%rsp)
movq %r15, %rdi
movl %ebp, %esi
callq 0xc93e
movq %rax, %rdx
shrq $0x20, %rdx
addl 0x1c(%rbx), %edx
movq (%r14), %rsi
movq %rsi, %rcx
shrq $0x20, %rcx
addl %edx, %ecx
js 0x57cf
movl %ecx, %ecx
movq 0x8(%rsp), %rdx
movq 0x10(%rsp), %rdi
subq %rdx, %rdi
sarq $0x3, %rdi
movabsq $-0x5555555555555555, %r8 # imm = 0xAAAAAAAAAAAAAAAB
imulq %r8, %rdi
cmpq %rcx, %rdi
jbe 0x57cf
addl 0x18(%rbx), %eax
addl %eax, %esi
js 0x57cf
movl %esi, %eax
movq 0x8(%rdx), %rsi
subq (%rdx), %rsi
sarq $0x2, %rsi
cmpq %rax, %rsi
jbe 0x57cf
leaq (%rcx,%rcx,2), %rcx
movq (%rdx,%rcx,8), %rcx
movl $0x2, (%rcx,%rax,4)
addq $0x8, %r12
cmpq %r13, %r12
jne 0x56b0
movq (%r14), %rcx
movl 0x18(%rbx), %eax
addl %ecx, %eax
js 0x57ac
shrq $0x20, %rcx
addl 0x1c(%rbx), %ecx
js 0x57ac
movq 0x8(%rsp), %rdx
movq 0x8(%rdx), %rsi
subq (%rdx), %rsi
shrq $0x2, %rsi
cmpl %esi, %eax
jge 0x57ac
movq 0x10(%rsp), %rsi
subq %rdx, %rsi
shrq $0x3, %rsi
imull $0xaaaaaaab, %esi, %esi # imm = 0xAAAAAAAB
cmpl %esi, %ecx
jge 0x57ac
movl %ecx, %ecx
leaq (%rcx,%rcx,2), %rcx
movl %eax, %eax
movq (%rdx,%rcx,8), %rcx
movl $0x3, (%rcx,%rax,4)
leaq 0x8(%rsp), %rdi
callq 0x54ac
leaq 0x8(%rsp), %rdi
callq 0xbbae
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0xfc11(%rip), %rdi      # 0x153e7
leaq 0xfc4e(%rip), %rsi      # 0x1542b
leaq 0xfca9(%rip), %rcx      # 0x1548d
movl $0x1cc, %edx            # imm = 0x1CC
callq 0x31d0
jmp 0x57f0
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0xbbae
movq %rbx, %rdi
callq 0x34a0
// File: /workspace/github_cpp_makefile_star2_O3/tanakh[P]icfpc2015/main.cpp
// Function: make_board(problem const&)
vector<vector<int>> make_board(const problem &prob)
{
  vector<vector<int>> bd(prob.height, vector<int>(prob.width*2, 1));

  for (int y = 0; y < prob.height; y++)
    for (int x = 0; x < prob.width; x++)
      bd[y][x*2+y%2] = 0;

  for (auto &p: prob.filled)
    bd[p.imag()][p.real()] = 1;

  return bd;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movslq 0x24(%rsi), %r15
movslq 0x20(%rsi), %rsi
addq %rsi, %rsi
leaq 0xc(%rsp), %rdx
movl $0x1, (%rdx)
leaq 0x10(%rsp), %r12
leaq 0xb(%rsp), %rcx
movq %r12, %rdi
callq 0xbea0
leaq 0xa(%rsp), %rcx
movq %rbx, %rdi
movq %r15, %rsi
movq %r12, %rdx
callq 0xc01c
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x666c
callq 0x32f0
movl 0x24(%r14), %esi
testl %esi, %esi
jle 0x66b5
movq (%rbx), %rax
movl 0x20(%r14), %edx
xorl %ecx, %ecx
testl %edx, %edx
jle 0x66aa
movl %ecx, %esi
andl $0x1, %esi
shll $0x2, %esi
leaq (%rcx,%rcx,2), %rdx
addq (%rax,%rdx,8), %rsi
xorl %edi, %edi
movl $0x0, (%rsi,%rdi,8)
incq %rdi
movslq 0x20(%r14), %rdx
cmpq %rdx, %rdi
jl 0x6693
movl 0x24(%r14), %esi
incq %rcx
movslq %esi, %rdi
cmpq %rdi, %rcx
jl 0x667d
movq 0x28(%r14), %rax
movq 0x30(%r14), %rcx
cmpq %rcx, %rax
je 0x66e4
movq (%rbx), %rdx
movslq 0x4(%rax), %rsi
leaq (%rsi,%rsi,2), %rsi
movslq (%rax), %rdi
movq (%rdx,%rsi,8), %rsi
movl $0x1, (%rsi,%rdi,4)
addq $0x8, %rax
cmpq %rcx, %rax
jne 0x66c5
movq %rbx, %rax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %rbx
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x6705
callq 0x32f0
movq %rbx, %rdi
callq 0x34a0
// File: /workspace/github_cpp_makefile_star2_O3/tanakh[P]icfpc2015/main.cpp
// Function: get_words[abi:cxx11]()
vector<string> get_words()
{
  vector<string> words;
  {
    vector<pair<int, string>> ws;
    for (auto &w: ppw)
      ws.emplace_back(-w.length(), w);
    sort(ws.begin(), ws.end());
    for (auto &it: ws)
      words.push_back(it.second);
  }
  return words;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x20, %rsp
movq %rdi, %rbx
xorl %eax, %eax
movq %rax, 0x10(%rdi)
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
movq %rax, 0x10(%rsp)
movaps %xmm0, (%rsp)
movq 0x17f2f(%rip), %r14     # 0x1e668
leaq 0x17f18(%rip), %r13     # 0x1e658
cmpq %r13, %r14
je 0x67ca
movq %rsp, %r15
leaq 0x18(%rsp), %r12
leaq 0x20(%r14), %rdx
xorl %eax, %eax
subq 0x28(%r14), %rax
movq %rax, 0x18(%rsp)
movq %r15, %rdi
movq %r12, %rsi
callq 0xc0ac
movq %r14, %rdi
callq 0x3360
movq %rax, %r14
cmpq %r13, %rax
jne 0x6751
movq (%rsp), %r14
movq 0x8(%rsp), %r15
cmpq %r15, %r14
je 0x67cd
movq %r15, %rax
subq %r14, %rax
sarq $0x3, %rax
movabsq $-0x3333333333333333, %rcx # imm = 0xCCCCCCCCCCCCCCCD
imulq %rax, %rcx
bsrq %rcx, %rdx
xorl $0x3f, %edx
addl %edx, %edx
xorq $0x7e, %rdx
movq %r14, %rdi
movq %r15, %rsi
callq 0x11223
movq %r14, %rdi
movq %r15, %rsi
callq 0x11300
movq (%rsp), %r14
jmp 0x67cd
xorl %r14d, %r14d
movq 0x8(%rsp), %r15
cmpq %r15, %r14
je 0x67e9
leaq 0x8(%r14), %rsi
movq %rbx, %rdi
callq 0xc0f0
addq $0x28, %r14
jmp 0x67d2
movq %rsp, %rdi
callq 0xc12e
movq %rbx, %rax
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
jmp 0x6806
jmp 0x6806
movq %rax, %r14
movq %rsp, %rdi
callq 0xc12e
movq %rbx, %rdi
callq 0xc178
movq %r14, %rdi
callq 0x34a0
// File: /workspace/github_cpp_makefile_star2_O3/tanakh[P]icfpc2015/main.cpp
// Function: power_score(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
int power_score(const string &cmds)
{
  int ret = 0;

  auto words = get_words();

  for (auto &word: words) {
    int reps = 0;
    for (int i = 0; i < (int)cmds.size(); i++) {
      bool ok = true;
      for (int j = 0; j < (int)word.size(); j++) {
        if (!(i + j < (int)cmds.size() && tolower(cmds[i+j]) == tolower(word[j]))) {
          ok = false;
          break;
        }
      }
      if (ok) reps++;
    }

    if (reps > 0) ret += 300;
    ret += 2 * word.length() * reps;
  }

  return ret;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x78, %rsp
movq %rdi, %rbx
leaq 0x60(%rsp), %r14
movq %r14, %rdi
callq 0x670d
movq (%r14), %rcx
movq 0x8(%r14), %rax
movq %rax, 0x20(%rsp)
cmpq %rax, %rcx
je 0x697f
movq (%rbx), %rax
movq %rax, 0x18(%rsp)
movq 0x8(%rbx), %r12
movl %r12d, %esi
andl $0x7fffffff, %esi       # imm = 0x7FFFFFFF
xorl %ebx, %ebx
movq %r12, 0x10(%rsp)
movq %rsi, 0x30(%rsp)
movq 0x8(%rcx), %rdi
testl %r12d, %r12d
jle 0x6964
movq %rbx, 0x28(%rsp)
movslq %edi, %rax
movq %rax, 0x58(%rsp)
andl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
movq %rax, 0x50(%rsp)
xorl %edx, %edx
movq 0x18(%rsp), %r14
xorl %r8d, %r8d
movq %rcx, 0x40(%rsp)
movq %rdi, 0x38(%rsp)
movl %r12d, %r12d
testl %edi, %edi
jle 0x6929
testq %r12, %r12
je 0x6930
movq %rdx, 0x48(%rsp)
movl %r8d, 0xc(%rsp)
movq (%rcx), %rbx
movl $0x1, %r13d
xorl %r15d, %r15d
movsbl -0x1(%r14,%r13), %edi
callq 0x33c0
movl %eax, %ebp
movsbl -0x1(%rbx,%r13), %edi
callq 0x33c0
cmpl %eax, %ebp
jne 0x6907
cmpq 0x58(%rsp), %r13
setge %r15b
cmpq %r13, 0x50(%rsp)
je 0x6907
leaq 0x1(%r13), %rax
cmpq %r13, %r12
movq %rax, %r13
jne 0x68cf
movzbl %r15b, %eax
andl $0x1, %eax
movq 0x40(%rsp), %rcx
movq 0x30(%rsp), %rsi
movq 0x38(%rsp), %rdi
movl 0xc(%rsp), %r8d
movq 0x48(%rsp), %rdx
jmp 0x6932
movl $0x1, %eax
jmp 0x6932
xorl %eax, %eax
addl %eax, %r8d
incq %rdx
decl %r12d
incq %r14
cmpq %rsi, %rdx
jne 0x68ad
movq 0x28(%rsp), %rdx
leal 0x12c(%rdx), %eax
testl %r8d, %r8d
cmovel %edx, %eax
addl %r8d, %r8d
movl %eax, %ebx
movq 0x10(%rsp), %r12
jmp 0x6967
xorl %r8d, %r8d
imull %edi, %r8d
addl %r8d, %ebx
addq $0x20, %rcx
cmpq 0x20(%rsp), %rcx
jne 0x6875
jmp 0x6981
xorl %ebx, %ebx
leaq 0x60(%rsp), %rdi
callq 0xc178
movl %ebx, %eax
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/tanakh[P]icfpc2015/main.cpp
// Function: uposs(unit const&, std::complex<int> const&, int)
pair<pair<int,int>, set<pair<int,int>>> uposs(const unit &u, const pt &pos, int rot)
{
  set<pair<int,int>> ss;
  for (auto &c: u.members) {
    auto d = rot_pivot(c + pos, u.pivot + pos, rot);
    ss.insert(make_pair(d.real(), d.imag()));
  }
  return make_pair(pt2pair(u.pivot + pos), ss);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movl %ecx, 0xc(%rsp)
movq %rdx, %r14
movq %rdi, 0x20(%rsp)
leaq 0x30(%rsp), %rax
movl $0x0, (%rax)
xorl %ecx, %ecx
movq %rcx, 0x8(%rax)
movq %rax, 0x10(%rax)
movq %rax, 0x18(%rax)
movq %rcx, 0x20(%rax)
movq (%rsi), %rbx
movq %rsi, 0x10(%rsp)
movq 0x8(%rsi), %r13
cmpq %r13, %rbx
je 0x710b
leaq 0x18(%rsp), %r15
movq (%rbx), %rax
movl (%r14), %ecx
leal (%rcx,%rax), %edx
shrq $0x20, %rax
movl 0x4(%r14), %esi
addl %esi, %eax
movq 0x10(%rsp), %rdi
movq 0x18(%rdi), %r12
leal (%r12,%rcx), %ebp
shrq $0x20, %r12
addl %esi, %r12d
subl %ebp, %edx
subl %r12d, %eax
shlq $0x20, %rax
orq %rax, %rdx
movq %rdx, 0x18(%rsp)
movq %r15, %rdi
movl 0xc(%rsp), %esi
callq 0xc93e
movq %rax, %rcx
shrq $0x20, %rcx
addl %eax, %ebp
addl %ecx, %r12d
shlq $0x20, %r12
orq %r12, %rbp
movq %rbp, 0x18(%rsp)
leaq 0x28(%rsp), %rdi
movq %r15, %r12
movq %r15, %rsi
callq 0xfd3c
addq $0x8, %rbx
cmpq %r13, %rbx
movq %r12, %r15
jne 0x7093
movq 0x10(%rsp), %rax
movq 0x18(%rax), %rax
movl (%r14), %ecx
addl %eax, %ecx
shrq $0x20, %rax
addl 0x4(%r14), %eax
shlq $0x20, %rax
orq %rax, %rcx
movq 0x20(%rsp), %rbx
movq %rcx, (%rbx)
leaq 0x8(%rbx), %rdi
leaq 0x28(%rsp), %rsi
callq 0xef6e
leaq 0x28(%rsp), %rdi
callq 0xc97e
movq %rbx, %rax
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x715e
jmp 0x715e
movq %rax, %rbx
leaq 0x28(%rsp), %rdi
callq 0xc97e
movq %rbx, %rdi
callq 0x34a0