// File: /workspace/github_cpp_makefile_star2_O3/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 0x8961(%rip), %r14      # 0xefd0
leaq 0x3f4c(%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 0x892f(%rip), %rdi      # 0xefd0
callq 0x2030
movq %rax, %rdi
callq 0x2110
movq 0x892b(%rip), %rdi      # 0xefe0
leaq -0x48(%rbp), %rsi
callq 0x2270
movq 0x890b(%rip), %r14      # 0xefd0
leaq 0x3f15(%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 0x88d9(%rip), %rdi      # 0xefd0
callq 0x2030
movq %rax, %rdi
callq 0x2110
movq %rax, %r14
leaq 0x3ee5(%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 0x3ebb(%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 0x3e8c(%rip), %rsi      # 0xa613
movl $0x1b, %edx
movq %rax, %rdi
callq 0x2240
movq 0x8845(%rip), %r14      # 0xefe0
leaq -0x28(%rbp), %rsi
movq %r14, %rdi
callq 0x20f0
movl -0x28(%rbp), %eax
cmpl $0x1, %eax
je 0x687a
cmpl $0x2, %eax
je 0x680c
cmpl $0x3, %eax
je 0x68b8
movq 0x8808(%rip), %rbx      # 0xefd0
leaq 0x39ba(%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 0x87d6(%rip), %rdi      # 0xefd0
callq 0x2030
movq %rax, %rdi
callq 0x2110
jmp 0x68b8
movq 0x87bd(%rip), %rdi      # 0xefd0
leaq 0x38c9(%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 0x686c
addq $-0x21, %r12
cmpq $-0x21, %r12
ja 0x686c
movq 0xe8(%r14,%rax), %rdi
movq 0x10(%rdi), %rax
cmpq 0x18(%rdi), %rax
jae 0x68da
leaq -0x70(%rbp), %rsi
movq %rbx, %rdi
callq 0x64e0
jmp 0x68ae
movq 0x874f(%rip), %rdi      # 0xefd0
leaq 0x3b3b(%rip), %rsi      # 0xa3c3
movl $0x19, %edx
callq 0x2240
movq 0x8747(%rip), %rdi      # 0xefe0
leaq -0x24(%rbp), %rsi
callq 0x20f0
leaq -0x24(%rbp), %rsi
movq %rbx, %rdi
callq 0x638e
movl $0x1, %edi
callq 0x2130
movq -0x48(%rbp), %rdi
cmpq %r15, %rdi
je 0x68cd
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 0x686c
movq (%r14), %rax
movq -0x18(%rax), %rax
leaq (%r14,%rax), %rdi
movl 0x20(%r14,%rax), %esi
orl $0x2, %esi
callq 0x2310
jmp 0x686c
jmp 0x6904
movq %rax, %rbx
movq -0x48(%rbp), %rdi
cmpq %r15, %rdi
je 0x691c
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x21f0
movq %rbx, %rdi
callq 0x2350