// File: hzy1754785321[P]warehouse-manage-system/menu.cpp
// Function: MenuOut::menuShow()
void MenuOut::menuShow()
{
		int flag;
		pp.readPeople();
		system("clear");
		showTime();
		outPeople->pp->writePeople();
		while(1)
		{
				system("clear");
		cout << "\t\t\t\t\t◎◎◎◎◎◎◎◎◎◎◎◎◎◎◎◎◎◎◎◎◎◎◎\n"
			 <<	"\t\t\t\t\t◎ 1:delete Product    ◎\n"
			 << "\t\t\t\t\t◎ 2:show information  ◎\n"
			 << "\t\t\t\t\t◎ 3:change passwd     ◎\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:outPeople->deleteProduct();
					   break;
				case 2:outPeople->show();
					   system_pause();
					   break;
				case 3:outPeople->setPasswd();
					   break;
				case 4:outPeople->pp->writePeople();
					   outPeople->writeProductInfo();
					   changeFlag=0;
					   break;
				case 5:if(askForSave())
					   {
							   outPeople->pp->writePeople();
							   outPeople->writeProductInfo();
							   changeFlag=0;
					   }
					   return ;
				default:cout << "input error!" << endl;
						break;
		}
		}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x18(%rbp)
addq $0x18, %rdi
callq 0x3cc0
leaq 0x1aec(%rip), %rdi      # 0xe820
callq 0x2190
movq -0x18(%rbp), %rdi
callq 0xb940
movq -0x18(%rbp), %rax
movq 0x10(%rax), %rax
movq 0xb0(%rax), %rdi
callq 0x3b10
leaq 0x1ac3(%rip), %rdi      # 0xe820
callq 0x2190
movq 0x8267(%rip), %rdi      # 0x14fd0
leaq 0x2175(%rip), %rsi      # 0xeee5
movq %rsi, -0x28(%rbp)
callq 0x21e0
movq %rax, %rdi
leaq 0x21ae(%rip), %rsi      # 0xef31
callq 0x21e0
movq %rax, %rdi
leaq 0x21c1(%rip), %rsi      # 0xef53
callq 0x21e0
movq %rax, %rdi
leaq 0x21d4(%rip), %rsi      # 0xef75
callq 0x21e0
movq %rax, %rdi
leaq 0x21e7(%rip), %rsi      # 0xef97
callq 0x21e0
movq %rax, %rdi
leaq 0x21fa(%rip), %rsi      # 0xefb9
callq 0x21e0
movq -0x28(%rbp), %rsi
movq %rax, %rdi
callq 0x21e0
movq %rax, %rdi
leaq 0x20da(%rip), %rsi      # 0xeeb4
callq 0x21e0
movq 0x81fa(%rip), %rdi      # 0x14fe0
leaq -0xc(%rbp), %rsi
callq 0x20f0
movl -0xc(%rbp), %eax
decl %eax
movl %eax, %ecx
movq %rcx, -0x20(%rbp)
subl $0x4, %eax
ja 0xcec4
movq -0x20(%rbp), %rax
leaq 0x1982(%rip), %rcx      # 0xe790
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq -0x18(%rbp), %rax
movq 0x10(%rax), %rdi
callq 0x4d50
jmp 0xcee6
movq -0x18(%rbp), %rax
movq 0x10(%rax), %rdi
callq 0x2d90
movq -0x18(%rbp), %rdi
callq 0xd530
jmp 0xcee6
movq -0x18(%rbp), %rax
movq 0x10(%rax), %rdi
callq 0x2c20
jmp 0xcee6
movq -0x18(%rbp), %rax
movq 0x10(%rax), %rax
movq 0xb0(%rax), %rdi
callq 0x3b10
movq -0x18(%rbp), %rax
movq 0x10(%rax), %rdi
callq 0x5110
leaq 0x836a(%rip), %rax      # 0x151e8
movl $0x0, (%rax)
jmp 0xcee6
callq 0xafc0
cmpl $0x0, %eax
je 0xcebe
movq -0x18(%rbp), %rax
movq 0x10(%rax), %rax
movq 0xb0(%rax), %rdi
callq 0x3b10
movq -0x18(%rbp), %rax
movq 0x10(%rax), %rdi
callq 0x5110
leaq 0x8330(%rip), %rax      # 0x151e8
movl $0x0, (%rax)
addq $0x30, %rsp
popq %rbp
retq
movq 0x8105(%rip), %rdi      # 0x14fd0
leaq 0x12dc(%rip), %rsi      # 0xe1ae
callq 0x21e0
movq %rax, %rdi
movq 0x80df(%rip), %rsi      # 0x14fc0
callq 0x2210
jmp 0xcd56
nopl (%rax,%rax)