// File: ratulSharker[P]Havec/src/vector_with_rehash_8_hash_with_N_detection_6_bytes.cpp
// Function: show_count_status(khmerInfo6Byte*, long)
void show_count_status(struct khmerInfo6Byte * memBlock,long int size){
	
	long int TotalNumberOfKhmer_in_memblock = 0;
	long int TotalNumberofkhmer_in_vector = 0;
	unsigned long Maximum_count_in_memBlock = 0;
	unsigned long Maximum_count_in_vector = 0;	

	cout<<"calculating count info..."<<endl;
	
	//counting in the map table
	for(unsigned long long i=0;i<size;i++){
		//traversing all the element in the map
		TotalNumberOfKhmer_in_memblock += memBlock[i].count;
		
		if(memBlock[i].count > Maximum_count_in_memBlock){
			Maximum_count_in_memBlock = memBlock[i].count;
		}
	}
	
	//cout<<"counting memblock status is completed ....."<<endl<<"counting vector status ... "<<endl;
	

	//counting in the vector table
	for(unsigned long long i=0;i<num_of_vector;i++)
	{
		for(int j=0;j<mapPointer6Byte[i].size();j++)
		{

			for(int p=0;p<mapPointer6Byte[i][j].vect.size();p++)
			{
				TotalNumberofkhmer_in_vector+=mapPointer6Byte[i][j].vect[p].count;
				
				if(memBlock[i].count > Maximum_count_in_vector){
					Maximum_count_in_vector = mapPointer6Byte[i][j].vect[p].count;
				}

			}
		}
		
	}
	
	//cout<<"counting vcector status is complete ..."<<endl;
	
	cout<<"count status  :)"<<endl;
/*	cout<<"number of khmer listed in memblock count :: "<<TotalNumberOfKhmer_in_memblock<<endl;
	cout<<"number of khmer not listed in memblock count ::" <<number_of_khmer_not_listed_in_memblock_count_variable<<endl;
	cout<<"number of khmer listed in vector count :: "<<TotalNumberofkhmer_in_vector<<endl;
	cout<<"number of khmer not listed in vector count :: "<<number_of_khmer_not_listed_in_vector_count_variable<<endl;
*/
	cout<<"max count value in memblock "<<Maximum_count_in_memBlock<<endl;
	cout<<"max count value in vector "<<Maximum_count_in_vector<<endl;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq $0x0, -0x18(%rbp)
movq $0x0, -0x20(%rbp)
movq $0x0, -0x28(%rbp)
movq $0x0, -0x30(%rbp)
movq 0xd489(%rip), %rdi      # 0x16fd0
leaq 0x7b1a(%rip), %rsi      # 0x11668
callq 0x32f0
movq %rax, %rdi
movq 0xd463(%rip), %rsi      # 0x16fc0
callq 0x3340
movq $0x0, -0x38(%rbp)
movq -0x38(%rbp), %rax
cmpq -0x10(%rbp), %rax
jae 0x9bc6
movq -0x8(%rbp), %rax
imulq $0x6, -0x38(%rbp), %rcx
addq %rcx, %rax
movzbl 0x5(%rax), %eax
addq -0x18(%rbp), %rax
movq %rax, -0x18(%rbp)
movq -0x8(%rbp), %rax
imulq $0x6, -0x38(%rbp), %rcx
addq %rcx, %rax
movzbl 0x5(%rax), %eax
cmpq -0x28(%rbp), %rax
jbe 0x9bb6
movq -0x8(%rbp), %rax
imulq $0x6, -0x38(%rbp), %rcx
addq %rcx, %rax
movzbl 0x5(%rax), %eax
movq %rax, -0x28(%rbp)
jmp 0x9bb8
movq -0x38(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x38(%rbp)
jmp 0x9b6a
movq $0x0, -0x40(%rbp)
movq -0x40(%rbp), %rax
leaq 0xd7a7(%rip), %rcx      # 0x17380
cmpq (%rcx), %rax
jae 0x9d05
movl $0x0, -0x44(%rbp)
movslq -0x44(%rbp), %rax
movq %rax, -0x50(%rbp)
movq 0xd748(%rip), %rdi      # 0x17340
imulq $0x18, -0x40(%rbp), %rax
addq %rax, %rdi
callq 0xd8a0
movq %rax, %rcx
movq -0x50(%rbp), %rax
cmpq %rcx, %rax
jae 0x9cf2
movl $0x0, -0x48(%rbp)
movslq -0x48(%rbp), %rax
movq %rax, -0x58(%rbp)
movq 0xd715(%rip), %rdi      # 0x17340
imulq $0x18, -0x40(%rbp), %rax
addq %rax, %rdi
movslq -0x44(%rbp), %rsi
callq 0xd8c0
movq %rax, %rdi
addq $0x8, %rdi
callq 0xd8e0
movq %rax, %rcx
movq -0x58(%rbp), %rax
cmpq %rcx, %rax
jae 0x9ce2
movq 0xd6e1(%rip), %rdi      # 0x17340
imulq $0x18, -0x40(%rbp), %rax
addq %rax, %rdi
movslq -0x44(%rbp), %rsi
callq 0xd8c0
movq %rax, %rdi
addq $0x8, %rdi
movslq -0x48(%rbp), %rsi
callq 0xd910
movzbl 0x5(%rax), %eax
addq -0x20(%rbp), %rax
movq %rax, -0x20(%rbp)
movq -0x8(%rbp), %rax
imulq $0x6, -0x40(%rbp), %rcx
addq %rcx, %rax
movzbl 0x5(%rax), %eax
cmpq -0x30(%rbp), %rax
jbe 0x9cd2
movq 0xd697(%rip), %rdi      # 0x17340
imulq $0x18, -0x40(%rbp), %rax
addq %rax, %rdi
movslq -0x44(%rbp), %rsi
callq 0xd8c0
movq %rax, %rdi
addq $0x8, %rdi
movslq -0x48(%rbp), %rsi
callq 0xd910
movzbl 0x5(%rax), %eax
movq %rax, -0x30(%rbp)
jmp 0x9cd4
movl -0x48(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x48(%rbp)
jmp 0x9c1c
jmp 0x9ce4
movl -0x44(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x44(%rbp)
jmp 0x9be9
jmp 0x9cf4
movq -0x40(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x40(%rbp)
jmp 0x9bce
movq 0xd2c4(%rip), %rdi      # 0x16fd0
leaq 0x796f(%rip), %rsi      # 0x11682
callq 0x32f0
movq %rax, %rdi
movq 0xd29e(%rip), %rsi      # 0x16fc0
callq 0x3340
movq 0xd2a2(%rip), %rdi      # 0x16fd0
leaq 0x795e(%rip), %rsi      # 0x11693
callq 0x32f0
movq %rax, %rdi
movq -0x28(%rbp), %rsi
callq 0x30b0
movq %rax, %rdi
movq 0xd270(%rip), %rsi      # 0x16fc0
callq 0x3340
movq 0xd274(%rip), %rdi      # 0x16fd0
leaq 0x794d(%rip), %rsi      # 0x116b0
callq 0x32f0
movq %rax, %rdi
movq -0x30(%rbp), %rsi
callq 0x30b0
movq %rax, %rdi
movq 0xd242(%rip), %rsi      # 0x16fc0
callq 0x3340
addq $0x60, %rsp
popq %rbp
retq
nopl (%rax)