// File: /workspace/github_cpp_makefile_star2_O2/hzy1754785321[P]warehouse-manage-system/people.cpp
// Function: People::add()
void People::add()
{
		Person *p;
		int flag;
		while(1)
		{
			cout << "\t\t\t\t\t1:inPeople" << endl << "\t\t\t\t\t2:outPeople" << endl << "\t\t\t\t\t3:commonPeople" << endl << "\t\t\t\t\t4:exit" << endl << "\t\t\t\t\tplease input the your choice:" ;
			cin >> flag;
			switch(flag)
			{
				case 1:p=new InPeople;
					   break;
				case 2:p=new OutPeople;
					   break;
				case 3:p=new CommonPeople;
					   break;
				case 4:return ;
				default:p=NULL;
						cout << "\t\t\t\t\tinput error!" << endl;
						break;
			}
			if(p!=NULL)
			{
	//			cout << "123213" << endl;
				p->setNumber();
				p->setName();
				p->setPasswd();
				p->setStop();
				this->push_back(p);
				break;
			}
		}
		return ;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, -0x40(%rbp)
movq 0xa5b2(%rip), %r14      # 0xcfd0
leaq 0x57ab(%rip), %rbx      # 0x81d0
leaq 0x57b0(%rip), %r15      # 0x81dc
movq 0xa5ad(%rip), %r12      # 0xcfe0
leaq -0x34(%rbp), %r13
movq %r14, %rdi
leaq 0x575a(%rip), %rsi      # 0x819b
callq 0x21c0
movq %rax, %rdi
callq 0x20e0
movq %rax, %rdi
leaq 0x5753(%rip), %rsi      # 0x81ab
callq 0x21c0
movq %rax, %rdi
callq 0x20e0
movq %rax, %rdi
leaq 0x574d(%rip), %rsi      # 0x81bc
callq 0x21c0
movq %rax, %rdi
callq 0x20e0
movq %rax, %rdi
movq %rbx, %rsi
callq 0x21c0
movq %rax, %rdi
callq 0x20e0
movq %rax, %rdi
movq %r15, %rsi
callq 0x21c0
movq %r12, %rdi
movq %r13, %rsi
callq 0x2100
movl -0x34(%rbp), %eax
decl %eax
cmpl $0x3, %eax
jbe 0x2ad0
andq $0x0, -0x30(%rbp)
movq %r14, %rdi
leaq 0x56b8(%rip), %rsi      # 0x8176
callq 0x21c0
movq %rax, %rdi
callq 0x20e0
jmp 0x2a37
leaq 0x552d(%rip), %rcx      # 0x8004
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movl $0xb8, %edi
callq 0x21d0
movq %rax, %r14
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rax)
movups %xmm0, 0x18(%rax)
movups 0x559e(%rip), %xmm1     # 0x809d
movups %xmm1, 0x48(%rax)
movups 0x55a3(%rip), %xmm1     # 0x80ad
movups %xmm1, 0x58(%rax)
andl $0x0, 0x6c(%rax)
movups 0x551f(%rip), %xmm1     # 0x8038
movups %xmm1, 0x70(%rax)
movups 0x5524(%rip), %xmm1     # 0x8048
movups %xmm1, 0x80(%rax)
movups 0x5526(%rip), %xmm1     # 0x8058
andw $0x0, 0xa0(%rax)
movups %xmm1, 0x90(%rax)
movups %xmm0, 0xa8(%rax)
leaq 0xa069(%rip), %rax      # 0xcbb8
movq %rax, (%r14)
movabsq $0x656c706f65506e49, %rax # imm = 0x656C706F65506E49
movq %rax, 0x48(%r14)
movb $0x0, 0x50(%r14)
jmp 0x2c84
movl $0xb8, %edi
callq 0x21d0
movq %rax, %r14
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rax)
movups %xmm0, 0x18(%rax)
movups 0x5514(%rip), %xmm1     # 0x809d
movups %xmm1, 0x48(%rax)
movups 0x5519(%rip), %xmm1     # 0x80ad
movups %xmm1, 0x58(%rax)
andl $0x0, 0x6c(%rax)
movups 0x5495(%rip), %xmm1     # 0x8038
movups %xmm1, 0x70(%rax)
movups 0x549a(%rip), %xmm1     # 0x8048
movups %xmm1, 0x80(%rax)
movups 0x549c(%rip), %xmm1     # 0x8058
andw $0x0, 0xa0(%rax)
movups %xmm1, 0x90(%rax)
movups %xmm0, 0xa8(%rax)
leaq 0x9fff(%rip), %rax      # 0xcbd8
movq %rax, (%r14)
movabsq $0x6c706f655074754f, %rax # imm = 0x6C706F655074754F
movq %rax, 0x48(%r14)
movw $0x65, 0x50(%r14)
jmp 0x2c84
movl $0xb8, %edi
callq 0x21d0
movq %rax, %r14
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rax)
movups %xmm0, 0x18(%rax)
movups 0x5488(%rip), %xmm1     # 0x809d
movups %xmm1, 0x48(%rax)
movups 0x548d(%rip), %xmm1     # 0x80ad
movups %xmm1, 0x58(%rax)
andl $0x0, 0x6c(%rax)
movups 0x5409(%rip), %xmm1     # 0x8038
movups %xmm1, 0x70(%rax)
movups 0x540e(%rip), %xmm1     # 0x8048
movups %xmm1, 0x80(%rax)
movups 0x5410(%rip), %xmm1     # 0x8058
movups %xmm1, 0x90(%rax)
andw $0x0, 0xa0(%rax)
movups %xmm0, 0xa8(%rax)
leaq 0x9f93(%rip), %rax      # 0xcbf8
movq %rax, (%r14)
movabsq $0x656c706f65506e, %rax # imm = 0x656C706F65506E
movq %rax, 0x4d(%r14)
movabsq $0x65506e6f6d6d6f43, %rax # imm = 0x65506E6F6D6D6F43
movq %rax, 0x48(%r14)
movq %r14, -0x30(%rbp)
movq %r14, %rdi
callq 0x26bc
movq %r14, %rdi
callq 0x27a4
movq %r14, %rdi
callq 0x2856
andl $0x0, 0x6c(%r14)
leaq -0x30(%rbp), %rsi
movq -0x40(%rbp), %rdi
callq 0x3fe4
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop