// File: /workspace/github_cpp_makefile_star2_O2/lindorx[P]train/assistFun.cpp
// Function: CS(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, int)
std::string *CS(const std::string& str, int k)
{
	using namespace std;
	string *ch=new string[2];
	bool w=false;
	int str_size = str.size(),i=0,j=0;
	while (k < str_size && (str[k] == 0x20 || str[k] == '\t'))k++;
	ch[0] = str.substr(k, str.find(',') - k); 
	for (i = ch[0].size() - 1; i >= 0; --i){
		if (ch[0][i] == 0x20 || ch[0][i] == '\t'){ 
			ch[0].pop_back();
			continue;
		}
		break;
	}
	k = str.find(',')+1;
	while (k < str_size && str[k] != '\n' && str[k] != 0x00 && str[k] != ';'){
		if (!w && (str[k] == 0x20 || str[k] == '\t')){k++; continue; }
		if (!w){
			w = true;
		}
		if (str[k] == 0x20 || str[k] == '\t'){ i = k; j++; }
		if(w){
			ch[1].push_back(str[k]); k++;
		}
	}
	if (k - i == j){
		for (j; j>0;j--)ch[1].pop_back();
	}
	return ch;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movl %esi, %r12d
movq %rdi, %r13
pushq $0x48
popq %rdi
callq 0x2030
movq %rax, %rbx
movq $0x2, (%rax)
addq $0x18, %rax
xorl %ecx, %ecx
leaq (%rax,%rcx), %rdx
movq %rdx, -0x10(%rax,%rcx)
andq $0x0, -0x8(%rax,%rcx)
movb $0x0, (%rax,%rcx)
addq $0x20, %rcx
cmpq $0x40, %rcx
jne 0x36fe
leaq 0x8(%rbx), %r14
movq (%r13), %rax
movq 0x8(%r13), %rdx
movslq %r12d, %rcx
movslq %edx, %r15
cmpl %r15d, %ecx
movq %rdx, -0x48(%rbp)
cmovgl %ecx, %edx
cmpq %r15, %rcx
jge 0x3751
movzbl (%rax,%rcx), %esi
cmpl $0x20, %esi
je 0x374a
cmpl $0x9, %esi
jne 0x374f
incq %rcx
jmp 0x3737
movl %ecx, %edx
movslq %edx, %r12
pushq $0x2c
popq %rsi
movq %r13, %rdi
xorl %edx, %edx
callq 0x2240
subq %r12, %rax
movq %r13, %rsi
leaq -0x68(%rbp), %r13
movq %r13, %rdi
movq %rsi, -0x30(%rbp)
movq %r12, %rdx
movq %rax, %rcx
callq 0x21f0
movq %r14, %rdi
movq %r13, %rsi
callq 0x2220
movq %r13, %rdi
callq 0x2358
movq %rbx, -0x38(%rbp)
movl 0x10(%rbx), %ebx
leaq -0x1(%rbx), %r12
testl %r12d, %r12d
js 0x37c6
movl %r12d, %eax
andl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
movq (%r14), %rcx
movzbl (%rcx,%rax), %eax
cmpl $0x20, %eax
je 0x37b9
cmpl $0x9, %eax
jne 0x37c6
movq %r14, %rdi
callq 0x2210
movq %r12, %rbx
jmp 0x3797
pushq $0x2c
popq %rsi
movq -0x30(%rbp), %r12
movq %r12, %rdi
xorl %edx, %edx
callq 0x2240
movq %r12, %rdx
xorl %esi, %esi
incl %eax
addq $0x28, -0x38(%rbp)
decl %ebx
movabsq $0x800000000000401, %rdi # imm = 0x800000000000401
xorl %r13d, %r13d
movq (%rdx), %rdx
movslq %eax, %r12
cmpq %r15, %r12
jge 0x386c
movzbl (%rdx,%r12), %ecx
cmpq $0x3b, %rcx
ja 0x380e
btq %rcx, %rdi
jb 0x3877
testb $0x1, %sil
jne 0x3826
cmpl $0x20, %ecx
je 0x381e
cmpl $0x9, %ecx
jne 0x3823
incq %r12
jmp 0x37f8
movb $0x1, %sil
cmpl $0x20, %ecx
je 0x3830
cmpl $0x9, %ecx
jne 0x3836
incl %r13d
movl %r12d, %ebx
movl %r12d, %eax
testb $0x1, %sil
movq -0x30(%rbp), %rdx
je 0x37f2
movq %rsi, -0x40(%rbp)
movsbl %cl, %esi
movq -0x38(%rbp), %rdi
callq 0x2170
movq -0x30(%rbp), %rdx
movabsq $0x800000000000401, %rdi # imm = 0x800000000000401
movq -0x40(%rbp), %rsi
leal 0x1(%r12), %eax
jmp 0x37f2
movq -0x48(%rbp), %r12
cmpl %r12d, %eax
cmovgl %eax, %r12d
subl %ebx, %r12d
cmpl %r13d, %r12d
setne %al
testl %r13d, %r13d
setle %cl
orb %al, %cl
movq -0x38(%rbp), %rbx
jne 0x38a2
incl %r13d
movq %rbx, %rdi
callq 0x2210
decl %r13d
cmpl $0x1, %r13d
ja 0x3891
movq %r14, %rax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq