// File: lindorx[P]train/assistFun.cpp
// Function: CutStr(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, int)
std::string CutStr(const std::string& str, int num = 0)
{
	std::string m;
	bool w = false;
	if (num < 2)w = true;
	//��ȥ��ͷ���ֿ��ܴ��ڵ��޹��ַ���0x20Ϊ�ո�
	while(num<(int)str.size()){
		if (str[num] != 0x20 
			&& str[num]!='\t' 
			&& str[num]!=','
			&& str[num]!='"')break;
		num++;
	}
	//��ȡ�ַ���
	while (num<(int)str.size() && (isalnum(str[num]) || str[num] == '$' || str[num] == '+' || str[num] == '-' || str[num] == '*' || str[num] == '/')){
		m.push_back(str[num]);num++;
	}
	return m;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x38(%rbp)
movq %rdi, %rax
movq %rax, -0x30(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl %edx, -0x14(%rbp)
movb $0x0, -0x15(%rbp)
callq 0x3330
movb $0x0, -0x16(%rbp)
cmpl $0x2, -0x14(%rbp)
jge 0x6805
movb $0x1, -0x16(%rbp)
jmp 0x6807
movl -0x14(%rbp), %eax
movl %eax, -0x3c(%rbp)
movq -0x10(%rbp), %rdi
callq 0x3160
movq %rax, %rcx
movl -0x3c(%rbp), %eax
cmpl %ecx, %eax
jge 0x6881
movq -0x10(%rbp), %rdi
movslq -0x14(%rbp), %rsi
callq 0x3280
movsbl (%rax), %eax
cmpl $0x20, %eax
je 0x6876
movq -0x10(%rbp), %rdi
movslq -0x14(%rbp), %rsi
callq 0x3280
movsbl (%rax), %eax
cmpl $0x9, %eax
je 0x6876
movq -0x10(%rbp), %rdi
movslq -0x14(%rbp), %rsi
callq 0x3280
movsbl (%rax), %eax
cmpl $0x2c, %eax
je 0x6876
movq -0x10(%rbp), %rdi
movslq -0x14(%rbp), %rsi
callq 0x3280
movsbl (%rax), %eax
cmpl $0x22, %eax
je 0x6876
jmp 0x6881
movl -0x14(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x14(%rbp)
jmp 0x6807
jmp 0x6883
movl -0x14(%rbp), %eax
movl %eax, -0x44(%rbp)
movq -0x10(%rbp), %rdi
callq 0x3160
movl -0x44(%rbp), %ecx
movl %eax, %edx
xorl %eax, %eax
cmpl %edx, %ecx
movb %al, -0x3d(%rbp)
jge 0x6950
movq -0x10(%rbp), %rdi
movslq -0x14(%rbp), %rsi
callq 0x3280
movsbl (%rax), %edi
callq 0x3220
movl %eax, %ecx
movb $0x1, %al
cmpl $0x0, %ecx
movb %al, -0x45(%rbp)
jne 0x694a
movq -0x10(%rbp), %rdi
movslq -0x14(%rbp), %rsi
callq 0x3280
movsbl (%rax), %ecx
movb $0x1, %al
cmpl $0x24, %ecx
movb %al, -0x45(%rbp)
je 0x694a
movq -0x10(%rbp), %rdi
movslq -0x14(%rbp), %rsi
callq 0x3280
movsbl (%rax), %ecx
movb $0x1, %al
cmpl $0x2b, %ecx
movb %al, -0x45(%rbp)
je 0x694a
movq -0x10(%rbp), %rdi
movslq -0x14(%rbp), %rsi
callq 0x3280
movsbl (%rax), %ecx
movb $0x1, %al
cmpl $0x2d, %ecx
movb %al, -0x45(%rbp)
je 0x694a
movq -0x10(%rbp), %rdi
movslq -0x14(%rbp), %rsi
callq 0x3280
movsbl (%rax), %ecx
movb $0x1, %al
cmpl $0x2a, %ecx
movb %al, -0x45(%rbp)
je 0x694a
movq -0x10(%rbp), %rdi
movslq -0x14(%rbp), %rsi
callq 0x3280
movsbl (%rax), %eax
cmpl $0x2f, %eax
sete %al
movb %al, -0x45(%rbp)
movb -0x45(%rbp), %al
movb %al, -0x3d(%rbp)
movb -0x3d(%rbp), %al
testb $0x1, %al
jne 0x6959
jmp 0x6999
movq -0x10(%rbp), %rdi
movslq -0x14(%rbp), %rsi
callq 0x3280
movq -0x38(%rbp), %rdi
movsbl (%rax), %esi
callq 0x31c0
jmp 0x6974
movl -0x14(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x14(%rbp)
jmp 0x6883
movq -0x38(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x20(%rbp)
movl %eax, -0x24(%rbp)
callq 0x3468
jmp 0x69b6
movb $0x1, -0x15(%rbp)
testb $0x1, -0x15(%rbp)
jne 0x69ac
movq -0x38(%rbp), %rdi
callq 0x3468
movq -0x30(%rbp), %rax
addq $0x50, %rsp
popq %rbp
retq
movq -0x20(%rbp), %rdi
callq 0x33f0
nop