// File: /workspace/github_cpp_makefile_star2_O2/hzy1754785321[P]warehouse-manage-system/menu.cpp
// Function: MenuCommon::menuShow()
void MenuCommon::menuShow()
{
		int flag;
		pp.readPeople();
		system("clear");
		showTime();
		commonPeople->pp->writePeople();
		while(1)
		{
				system("clear");
		cout   << "\t\t\t\t\t✪✪✪✪✪✪✪✪✪✪✪✪✪✪✪✪✪✪✪✪✪✪✪✪✪✪✪✪✪\n"
			   << "\t\t\t\t\t✪      1:search             ✪\n"
	//		   << "\t\t\t\t\t✪      2:show product       ✪\n"
			   << "\t\t\t\t\t✪      2:change passwd      ✪\n"
			   << "\t\t\t\t\t✪      3:show information   ✪\n"
			   << "\t\t\t\t\t✪      4:save               ✪\n"
			   << "\t\t\t\t\t✪      5:exit               ✪\n"
			   << "\t\t\t\t\t✪✪✪✪✪✪✪✪✪✪✪✪✪✪✪✪✪✪✪✪✪✪✪✪✪✪✪✪✪\n"
			   << "\t\t\t\t\tplease input your choice(1-5):";
		cin >> flag;
		switch(flag)
		{
				case 1:commonPeople->searchProduct();
					   system_pause();
					   break;
		//		case 2:commonPeople->showProduct();
		//			   system_pause();
		//			   break;
				case 2:commonPeople->setPasswd();
					   break;
				case 3:commonPeople->show();
					   system_pause();
					   break;
				case 4:commonPeople->pp->writePeople();
					   commonPeople->writeProductInfo();
					   changeFlag=0;
					   break;
				case 5:if(askForSave())
					   {
							   commonPeople->pp->writePeople();
							   commonPeople->writeProductInfo();
							   changeFlag=0;
					   }
					   return ;
				default:cout << "\t\t\t\t\tinput error!" << endl ;
						break;
		}
		}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
addq $0x18, %rdi
callq 0x3380
leaq 0x1a49(%rip), %rdi      # 0x881c
callq 0x2170
callq 0x5dec
movq 0x10(%rbx), %rax
movq 0xb0(%rax), %rdi
callq 0x32b4
movq 0x61dc(%rip), %r15      # 0xcfd0
leaq 0x21dc(%rip), %r12      # 0x8fd7
leaq -0x2c(%rbp), %r14
leaq 0x199a(%rip), %r13      # 0x87a0
leaq 0x1a0f(%rip), %rdi      # 0x881c
callq 0x2170
movq %r15, %rdi
movq %r12, %rsi
callq 0x21c0
movq %rax, %rdi
leaq 0x220e(%rip), %rsi      # 0x9035
callq 0x21c0
movq %rax, %rdi
leaq 0x2227(%rip), %rsi      # 0x905d
callq 0x21c0
movq %rax, %rdi
leaq 0x2240(%rip), %rsi      # 0x9085
callq 0x21c0
movq %rax, %rdi
leaq 0x2259(%rip), %rsi      # 0x90ad
callq 0x21c0
movq %rax, %rdi
leaq 0x2272(%rip), %rsi      # 0x90d5
callq 0x21c0
movq %rax, %rdi
movq %r12, %rsi
callq 0x21c0
movq %rax, %rdi
leaq 0x2033(%rip), %rsi      # 0x8eb0
callq 0x21c0
movq 0x6157(%rip), %rdi      # 0xcfe0
movq %r14, %rsi
callq 0x2100
movl -0x2c(%rbp), %eax
decl %eax
cmpl $0x4, %eax
ja 0x6f01
movslq (%r13,%rax,4), %rax
addq %r13, %rax
jmpq *%rax
movq 0x10(%rbx), %rdi
callq 0x3da0
callq 0x7266
jmp 0x6e06
movq 0x10(%rbx), %rdi
callq 0x2976
callq 0x7266
jmp 0x6e06
movq 0x10(%rbx), %rax
movq 0xb0(%rax), %rdi
callq 0x32b4
movq 0x10(%rbx), %rdi
callq 0x3ee2
leaq 0x62dd(%rip), %rax      # 0xd1c8
andl $0x0, (%rax)
jmp 0x6e06
movq 0x10(%rbx), %rdi
callq 0x2856
jmp 0x6e06
movq %r15, %rdi
leaq 0x126b(%rip), %rsi      # 0x8176
callq 0x21c0
movq %rax, %rdi
callq 0x20e0
jmp 0x6e06
callq 0x57f8
testl %eax, %eax
je 0x6f49
movq 0x10(%rbx), %rax
movq 0xb0(%rax), %rdi
callq 0x32b4
movq 0x10(%rbx), %rdi
callq 0x3ee2
leaq 0x6282(%rip), %rax      # 0xd1c8
andl $0x0, (%rax)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq