// File: /workspace/github_cpp_makefile_star2_O1/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 0x5ecf(%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 0x45a8
movq 0xaa6c(%rip), %rbx      # 0xefd0
leaq 0x5d75(%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 0xaa3a(%rip), %rdi      # 0xefd0
callq 0x2030
movq %rax, %rdi
callq 0x2110
jmp 0x4706
movq (%rbx), %rax
cmpq %rax, 0x8(%rbx)
je 0x45b5
movq %rax, 0x8(%rbx)
movq 0xac3c(%rip), %rax      # 0xf1f8
cmpq %rax, 0xac3d(%rip)      # 0xf200
je 0x45cc
movq %rax, 0xac34(%rip)      # 0xf200
movl $0x0, 0xac16(%rip)      # 0xf1ec
leaq 0xa5b3(%rip), %r15      # 0xeb90
leaq 0xac14(%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 0x5aa9(%rip), %xmm0     # 0xa0b0
movups %xmm0, 0x48(%rax)
movups 0x5aae(%rip), %xmm0     # 0xa0c0
movups %xmm0, 0x58(%rax)
movl $0x0, 0x6c(%rax)
movups 0x5a14(%rip), %xmm0     # 0xa038
movups %xmm0, 0x70(%rax)
movups 0x5a19(%rip), %xmm0     # 0xa048
movups %xmm0, 0x80(%rax)
movups 0x5a1b(%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 0x46eb
movq 0x8(%rbx), %rsi
cmpq 0x10(%rbx), %rsi
je 0x4695
movq -0x30(%rbp), %rax
movq %rax, (%rsi)
addq $0x8, 0x8(%rbx)
jmp 0x46a1
movq %rbx, %rdi
leaq -0x30(%rbp), %rdx
callq 0x5946
movq -0x30(%rbp), %rax
movl 0x68(%rax), %eax
movl %eax, -0x34(%rbp)
movq 0xab4e(%rip), %rsi      # 0xf200
cmpq 0xab4f(%rip), %rsi      # 0xf208
je 0x46ca
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, 0xab38(%rip)      # 0xf200
jmp 0x46d5
movq %r12, %rdi
movq %r13, %rdx
callq 0x5a86
movq 0x8(%rbx), %rax
subq (%rbx), %rax
shrq $0x3, %rax
movl %eax, 0xab06(%rip)      # 0xf1ec
jmp 0x45e8
movq -0x30(%rbp), %rdi
testq %rdi, %rdi
je 0x46fa
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 0x472a
jmp 0x472a
jmp 0x472a
movq %rax, %rbx
leaq -0x240(%rbp), %rdi
callq 0x2080
movq %rbx, %rdi
callq 0x2350
nop