// File: /workspace/github_cpp_makefile_star2_O1/hzy1754785321[P]warehouse-manage-system/product.cpp
// Function: Products::deleteAll()
void Products::deleteAll()
{
		int flag,id;
		string scan;
		cout << "\t\t\t\t\tplease scan the qrencode!" << endl;
		cin >> scan;
		char name[32];
		cout << "\t\t\t\t\t1:by the id." << endl << "\t\t\t\t\t2:by the name." << endl << "\t\t\t\t\t3:exit" << endl << "\t\t\t\t\tplease the delete way:" ;
		cin >> flag;
		switch(flag)
		{
				case 1:
		            //   cout << "\t\t\t\t\tplease scan the qrencode!" << endl;
		            //   cin >> scan;
						cout << "\t\t\t\t\tplease input the id:" ;
						cin >> id;
						deleteId(id);
						sleep(1);
						break;
				case 2:
						cout << "\t\t\t\t\tplease input the name:" ;
						cin >> name;
						deleteName(name);
						sleep(1);
						break;
				case 3:return ;
				default:
						cout << "\t\t\t\t\tinput error!" << endl;
						break;
		}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x50, %rsp
movq %rdi, %rbx
leaq -0x38(%rbp), %r15
movq %r15, -0x10(%r15)
movq $0x0, -0x8(%r15)
movb $0x0, (%r15)
movq 0x8a07(%rip), %r14      # 0xefd0
leaq 0x3ff2(%rip), %rsi      # 0xa5c2
movl $0x1e, %edx
movq %r14, %rdi
callq 0x2240
movq (%r14), %rax
addq -0x18(%rax), %r14
movq %r14, %rdi
movl $0xa, %esi
callq 0x21c0
movsbl %al, %esi
movq 0x89d5(%rip), %rdi      # 0xefd0
callq 0x2030
movq %rax, %rdi
callq 0x2110
movq 0x89d1(%rip), %rdi      # 0xefe0
leaq -0x48(%rbp), %rsi
callq 0x2270
movq 0x89b1(%rip), %r14      # 0xefd0
leaq 0x3fbb(%rip), %rsi      # 0xa5e1
movl $0x11, %edx
movq %r14, %rdi
callq 0x2240
movq (%r14), %rax
addq -0x18(%rax), %r14
movq %r14, %rdi
movl $0xa, %esi
callq 0x21c0
movsbl %al, %esi
movq 0x897f(%rip), %rdi      # 0xefd0
callq 0x2030
movq %rax, %rdi
callq 0x2110
movq %rax, %r14
leaq 0x3f8b(%rip), %rsi      # 0xa5f3
movl $0x13, %edx
movq %rax, %rdi
callq 0x2240
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x21c0
movsbl %al, %esi
movq %r14, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2110
movq %rax, %r14
leaq 0x3f61(%rip), %rsi      # 0xa607
movl $0xb, %edx
movq %rax, %rdi
callq 0x2240
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x21c0
movsbl %al, %esi
movq %r14, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2110
leaq 0x3f32(%rip), %rsi      # 0xa613
movl $0x1b, %edx
movq %rax, %rdi
callq 0x2240
movq 0x88eb(%rip), %r14      # 0xefe0
leaq -0x28(%rbp), %rsi
movq %r14, %rdi
callq 0x20f0
movl -0x28(%rbp), %eax
cmpl $0x1, %eax
je 0x67d4
cmpl $0x2, %eax
je 0x6766
cmpl $0x3, %eax
je 0x6812
movq 0x88ae(%rip), %rbx      # 0xefd0
leaq 0x3a60(%rip), %rsi      # 0xa189
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 0x887c(%rip), %rdi      # 0xefd0
callq 0x2030
movq %rax, %rdi
callq 0x2110
jmp 0x6812
movq 0x8863(%rip), %rdi      # 0xefd0
leaq 0x396f(%rip), %rsi      # 0xa0e3
movl $0x1b, %edx
callq 0x2240
movq (%r14), %rax
movq -0x18(%rax), %rax
movq 0x10(%r14,%rax), %r12
leaq -0x70(%rbp), %rsi
movl $0x20, %edx
movq %r14, %rdi
callq 0x2330
movq (%r14), %rax
movq -0x18(%rax), %rax
cmpl $0x0, 0x20(%r14,%rax)
jne 0x67c6
addq $-0x21, %r12
cmpq $-0x21, %r12
ja 0x67c6
movq 0xe8(%r14,%rax), %rdi
movq 0x10(%rdi), %rax
cmpq 0x18(%rdi), %rax
jae 0x6834
leaq -0x70(%rbp), %rsi
movq %rbx, %rdi
callq 0x6450
jmp 0x6808
movq 0x87f5(%rip), %rdi      # 0xefd0
leaq 0x3be1(%rip), %rsi      # 0xa3c3
movl $0x19, %edx
callq 0x2240
movq 0x87ed(%rip), %rdi      # 0xefe0
leaq -0x24(%rbp), %rsi
callq 0x20f0
leaq -0x24(%rbp), %rsi
movq %rbx, %rdi
callq 0x6306
movl $0x1, %edi
callq 0x2130
movq -0x48(%rbp), %rdi
cmpq %r15, %rdi
je 0x6827
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x21f0
addq $0x50, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq (%rdi), %rax
callq *0x48(%rax)
cmpl $-0x1, %eax
jne 0x67c6
movq (%r14), %rax
movq -0x18(%rax), %rax
leaq (%r14,%rax), %rdi
movl 0x20(%r14,%rax), %esi
orl $0x2, %esi
callq 0x2310
jmp 0x67c6
jmp 0x685e
movq %rax, %rbx
movq -0x48(%rbp), %rdi
cmpq %r15, %rdi
je 0x6876
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x21f0
movq %rbx, %rdi
callq 0x2350