// File: /workspace/github_cpp_makefile_star2_O2/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
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r15
movq %rdi, %r14
movq 0x665f(%rip), %rdi      # 0xafd0
leaq 0x3bb8(%rip), %rsi      # 0x8530
callq 0x2220
movq %rax, %rdi
callq 0x20e0
leaq 0x5(%r14), %rax
xorl %ebx, %ebx
subq $0x1, %r15
jb 0x49a1
movzbl (%rax), %ecx
cmpq %rcx, %rbx
cmovbeq %rcx, %rbx
addq $0x6, %rax
jmp 0x498b
leaq 0x6918(%rip), %rax      # 0xb2c0
movq (%rax), %rcx
movq 0x68ce(%rip), %rsi      # 0xb280
xorl %r15d, %r15d
pushq $0x6
popq %rdi
xorl %r8d, %r8d
cmpq %rcx, %r8
je 0x4a2b
imulq $0x18, %r8, %rax
movq (%rsi,%rax), %r9
movq 0x8(%rsi,%rax), %r10
subq %r9, %r10
sarq $0x5, %r10
imulq $0x6, %r8, %rax
leaq (%r14,%rax), %r11
addq $0x5, %r11
xorl %r12d, %r12d
cmpq %r10, %r12
je 0x4a26
movq %r12, %rax
shlq $0x5, %rax
movq 0x8(%r9,%rax), %r13
movq 0x10(%r9,%rax), %rax
subq %r13, %rax
cqto
idivq %rdi
addq $0x5, %r13
subq $0x1, %rax
jb 0x4a21
movzbl (%r13), %edx
movzbl (%r11), %ebp
cmpq %rbp, %r15
cmovbq %rdx, %r15
addq $0x6, %r13
jmp 0x4a05
incq %r12
jmp 0x49e3
incq %r8
jmp 0x49bb
movq 0x659e(%rip), %r14      # 0xafd0
leaq 0x3b11(%rip), %rsi      # 0x854a
movq %r14, %rdi
callq 0x2220
movq %rax, %rdi
callq 0x20e0
leaq 0x3b0b(%rip), %rsi      # 0x855b
movq %r14, %rdi
callq 0x2220
movq %rax, %rdi
movq %rbx, %rsi
callq 0x2170
movq %rax, %rdi
callq 0x20e0
leaq 0x3b06(%rip), %rsi      # 0x8578
movq %r14, %rdi
callq 0x2220
movq %rax, %rdi
movq %r15, %rsi
callq 0x2170
movq %rax, %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x20e0