// File: /workspace/github_cpp_makefile_star2_O1/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, %r15
movl $0x48, %edi
callq 0x2030
movq %rax, %rbx
movq $0x2, (%rax)
addq $0x18, %rax
xorl %ecx, %ecx
leaq (%rax,%rcx), %rdx
movq %rdx, -0x10(%rax,%rcx)
movq $0x0, -0x8(%rax,%rcx)
movb $0x0, (%rax,%rcx)
addq $0x20, %rcx
cmpq $0x40, %rcx
jne 0x3c4f
leaq 0x8(%rbx), %r14
movq 0x8(%r15), %rdx
cmpl %r12d, %edx
movq %rdx, -0x38(%rbp)
jle 0x3ca1
movslq %r12d, %rax
addq (%r15), %rax
movzbl (%rax), %ecx
cmpl $0x20, %ecx
je 0x3c93
cmpl $0x9, %ecx
jne 0x3ca1
incl %r12d
incq %rax
cmpl %r12d, %edx
jne 0x3c86
movl %edx, %r12d
movslq %r12d, %r12
movq %r15, %rdi
movl $0x2c, %esi
xorl %edx, %edx
callq 0x2240
subq %r12, %rax
leaq -0x70(%rbp), %r13
movq %r13, %rdi
movq %r15, %rsi
movq %r12, %rdx
movq %rax, %rcx
callq 0x2200
movq %r14, %rdi
movq %r13, %rsi
callq 0x2230
movq (%r13), %rdi
leaq -0x60(%rbp), %rax
cmpq %rax, %rdi
je 0x3cef
movq -0x60(%rbp), %rsi
incq %rsi
callq 0x21d0
movl 0x10(%rbx), %r13d
decl %r13d
js 0x3d27
movl %r13d, %r13d
movq (%r14), %rax
movzbl (%rax,%r13), %eax
cmpl $0x20, %eax
je 0x3d0d
cmpl $0x9, %eax
jne 0x3d27
movq %r14, %rdi
callq 0x2220
leaq -0x1(%r13), %rax
testq %r13, %r13
movq %rax, %r13
jg 0x3cfb
movl $0xffffffff, %r13d      # imm = 0xFFFFFFFF
xorl %r12d, %r12d
movq %r15, %rdi
movl $0x2c, %esi
xorl %edx, %edx
callq 0x2240
incl %eax
movq -0x38(%rbp), %rsi
cmpl %esi, %eax
jge 0x3dfe
movq %r15, -0x50(%rbp)
leaq 0x28(%rbx), %rdi
movslq %esi, %r8
xorl %r12d, %r12d
movabsq $0x800000000000401, %r9 # imm = 0x800000000000401
xorl %r10d, %r10d
movq -0x50(%rbp), %rcx
movq (%rcx), %rdx
movslq %eax, %r15
movzbl (%rdx,%r15), %ecx
cmpq $0x3b, %rcx
ja 0x3d81
btq %rcx, %r9
jb 0x3e01
testb $0x1, %r10b
jne 0x3d9e
cmpl $0x20, %ecx
je 0x3d91
cmpl $0x9, %ecx
jne 0x3d9b
incq %r15
cmpq %r8, %r15
jl 0x3d6c
jmp 0x3df7
movb $0x1, %r10b
cmpl $0x20, %ecx
je 0x3da8
cmpl $0x9, %ecx
jne 0x3dae
incl %r12d
movl %r15d, %r13d
testb $0x1, %r10b
je 0x3de9
movsbl %cl, %esi
movq %rdi, -0x30(%rbp)
movq -0x30(%rbp), %rdi
movq %r8, -0x48(%rbp)
movq %r10, -0x40(%rbp)
callq 0x2180
movq -0x40(%rbp), %r10
movabsq $0x800000000000401, %r9 # imm = 0x800000000000401
movq -0x48(%rbp), %r8
movq -0x30(%rbp), %rdi
movq -0x38(%rbp), %rsi
incl %r15d
movl %r15d, %eax
cmpl %esi, %r15d
jl 0x3d62
jmp 0x3e01
incl %eax
cmpl %esi, %eax
cmovlel %esi, %eax
movl %eax, %r15d
subl %r13d, %r15d
cmpl %r12d, %r15d
setne %al
testl %r12d, %r12d
setle %cl
orb %al, %cl
jne 0x3e2c
addq $0x28, %rbx
incl %r12d
movq %rbx, %rdi
callq 0x2220
decl %r12d
cmpl $0x1, %r12d
jg 0x3e1b
movq %r14, %rax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop