// File: /workspace/github_cpp_makefile_star2_O3/hzy1754785321[P]warehouse-manage-system/people.cpp
// Function: People::readPeople()
void People::readPeople()
{
		ifstream in("people",ios::binary);
		if(!in)
		{
				cout << "\t\t\t\t\topen failed!" << endl;
				return ;
		}
		else
		{
				delAll();
				vector<Person*>::iterator it;
				it=begin();
				(*it)->number.clear();
				(*it)->peopleMax=0;
				Person *pe;
				while(1)
				{
						pe=new Person;
						in.read((char*)(pe),sizeof(Person));
						if(!in.eof())
						{
								this->push_back(pe);
								pe->number.push_back(pe->getNumber());
						}
						else
						{
								delete(pe);
								break;
						}
						(*it)->peopleMax=this->size();
				}
				in.close();
		}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x218, %rsp            # imm = 0x218
movq %rdi, %rbx
leaq 0x5cdb(%rip), %rsi      # 0xa407
leaq -0x240(%rbp), %r14
movq %r14, %rdi
movl $0x4, %edx
callq 0x2360
movq (%r14), %rax
movq -0x18(%rax), %rax
testb $0x5, -0x220(%rbp,%rax)
je 0x479c
movq 0xa878(%rip), %rbx      # 0xefd0
leaq 0x5b81(%rip), %rsi      # 0xa2e0
movl $0x11, %edx
movq %rbx, %rdi
callq 0x2240
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x21c0
movsbl %al, %esi
movq 0xa846(%rip), %rdi      # 0xefd0
callq 0x2030
movq %rax, %rdi
callq 0x2110
jmp 0x48fa
movq (%rbx), %rax
cmpq %rax, 0x8(%rbx)
je 0x47a9
movq %rax, 0x8(%rbx)
movq 0xaa48(%rip), %rax      # 0xf1f8
cmpq %rax, 0xaa49(%rip)      # 0xf200
je 0x47c0
movq %rax, 0xaa40(%rip)      # 0xf200
movl $0x0, 0xaa22(%rip)      # 0xf1ec
leaq 0xa3bf(%rip), %r15      # 0xeb90
leaq 0xaa20(%rip), %r12      # 0xf1f8
leaq -0x34(%rbp), %r13
movl $0xb8, %edi
callq 0x21e0
movq %r15, (%rax)
xorps %xmm1, %xmm1
movups %xmm1, 0x8(%rax)
movups %xmm1, 0x18(%rax)
movups 0x58b5(%rip), %xmm0     # 0xa0b0
movups %xmm0, 0x48(%rax)
movups 0x58ba(%rip), %xmm0     # 0xa0c0
movups %xmm0, 0x58(%rax)
movl $0x0, 0x6c(%rax)
movups 0x5820(%rip), %xmm0     # 0xa038
movups %xmm0, 0x70(%rax)
movups 0x5825(%rip), %xmm0     # 0xa048
movups %xmm0, 0x80(%rax)
movups 0x5827(%rip), %xmm0     # 0xa058
movups %xmm0, 0x90(%rax)
movw $0x0, 0xa0(%rax)
movups %xmm1, 0xa8(%rax)
movq %rax, -0x30(%rbp)
movl $0xb8, %edx
movq %r14, %rdi
movq %rax, %rsi
callq 0x2260
movq -0x240(%rbp), %rax
movq -0x18(%rax), %rax
testb $0x2, -0x220(%rbp,%rax)
jne 0x48df
movq 0x8(%rbx), %rsi
cmpq 0x10(%rbx), %rsi
je 0x4889
movq -0x30(%rbp), %rax
movq %rax, (%rsi)
addq $0x8, 0x8(%rbx)
jmp 0x4899
movq %rbx, %rdi
leaq -0x30(%rbp), %rdx
callq 0x5b3e
movq -0x30(%rbp), %rax
movl 0x68(%rax), %eax
movl %eax, -0x34(%rbp)
movq 0xa95a(%rip), %rsi      # 0xf200
cmpq 0xa95b(%rip), %rsi      # 0xf208
je 0x48be
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, 0xa944(%rip)      # 0xf200
jmp 0x48c9
movq %r12, %rdi
movq %r13, %rdx
callq 0x5c7e
movq 0x8(%rbx), %rax
subq (%rbx), %rax
shrq $0x3, %rax
movl %eax, 0xa912(%rip)      # 0xf1ec
jmp 0x47dc
movq -0x30(%rbp), %rdi
testq %rdi, %rdi
je 0x48ee
movq (%rdi), %rax
callq *0x8(%rax)
leaq -0x240(%rbp), %rdi
callq 0x2060
leaq -0x240(%rbp), %rdi
callq 0x2080
addq $0x218, %rsp            # imm = 0x218
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x491e
jmp 0x491e
jmp 0x491e
movq %rax, %rbx
leaq -0x240(%rbp), %rdi
callq 0x2080
movq %rbx, %rdi
callq 0x2350
nop