// File: /workspace/github_cpp_makefile_star2_O1/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, %r12
movq %rdi, %r15
movq 0x7a6a(%rip), %rbx      # 0xdfd8
leaq 0x4f23(%rip), %rsi      # 0xb498
movl $0x19, %edx
movq %rbx, %rdi
callq 0x32d0
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x3230
movsbl %al, %esi
movq %rbx, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x3180
testq %r12, %r12
je 0x65cd
leaq 0x5(%r15), %rax
xorl %ecx, %ecx
movzbl (%rax), %r14d
cmpq %r14, %rcx
cmovaq %rcx, %r14
addq $0x6, %rax
movq %r14, %rcx
decq %r12
jne 0x65b4
jmp 0x65d0
xorl %r14d, %r14d
leaq 0x7d19(%rip), %rax      # 0xe2f0
movq (%rax), %rax
testq %rax, %rax
je 0x668d
movq 0x7cc6(%rip), %rcx      # 0xe2b0
xorl %edx, %edx
movabsq $-0x5555555555555555, %rsi # imm = 0xAAAAAAAAAAAAAAAB
xorl %r9d, %r9d
leaq (%rdx,%rdx,2), %r10
movq (%rcx,%r10,8), %rdi
movq 0x8(%rcx,%r10,8), %r8
subq %rdi, %r8
je 0x6679
sarq $0x5, %r8
leaq (%r15,%r10,2), %r10
addq $0x5, %r10
cmpq $0x1, %r8
adcq $0x0, %r8
xorl %r11d, %r11d
movq %r11, %rbx
shlq $0x5, %rbx
movq 0x8(%rdi,%rbx), %r13
movq 0x10(%rdi,%rbx), %rbp
subq %r13, %rbp
je 0x6669
sarq %rbp
imulq %rsi, %rbp
movzbl (%r10), %ebx
cmpq $0x1, %rbp
adcq $0x0, %rbp
addq $0x5, %r13
movzbl (%r13), %r12d
cmpq %rbx, %r9
cmovaeq %r9, %r12
addq $0x6, %r13
movq %r12, %r9
decq %rbp
jne 0x664f
jmp 0x666c
movq %r9, %r12
incq %r11
movq %r12, %r9
cmpq %r8, %r11
jne 0x6622
jmp 0x667c
movq %r9, %r12
incq %rdx
movq %r12, %r9
cmpq %rax, %rdx
jne 0x65f9
jmp 0x6690
xorl %r12d, %r12d
leaq 0x4e1b(%rip), %rsi      # 0xb4b2
movl $0x10, %edx
movq 0x7935(%rip), %rbx      # 0xdfd8
movq %rbx, %rdi
callq 0x32d0
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x3230
movsbl %al, %esi
movq %rbx, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x3180
leaq 0x4dea(%rip), %rsi      # 0xb4c3
movl $0x1c, %edx
movq %rbx, %rdi
callq 0x32d0
movq %rbx, %rdi
movq %r14, %rsi
callq 0x3170
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 0x3180
leaq 0x4dbe(%rip), %rsi      # 0xb4e0
movl $0x1a, %edx
movq %rbx, %rdi
callq 0x32d0
movq %rbx, %rdi
movq %r12, %rsi
callq 0x3170
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x3230
movsbl %al, %esi
movq %rbx, %rdi
callq 0x3040
movq %rax, %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x3180