// File: /workspace/github_cpp_makefile_star2_O3/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
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 0x3c4d
leaq 0x8(%rbx), %r14
movq 0x8(%r13), %r15
cmpl %r12d, %r15d
jle 0x3c9c
movslq %r12d, %rax
addq (%r13), %rax
movzbl (%rax), %ecx
cmpl $0x20, %ecx
je 0x3c8e
cmpl $0x9, %ecx
jne 0x3c9c
incl %r12d
incq %rax
cmpl %r12d, %r15d
jne 0x3c81
movl %r15d, %r12d
movslq %r12d, %r12
movq %r13, %rdi
movl $0x2c, %esi
xorl %edx, %edx
callq 0x2240
subq %r12, %rax
movq %r13, %rsi
leaq -0x68(%rbp), %r13
movq %r13, %rdi
movq %rsi, -0x38(%rbp)
movq %r12, %rdx
movq %rax, %rcx
callq 0x2200
movq %r14, %rdi
movq %r13, %rsi
callq 0x2230
movq (%r13), %rdi
leaq -0x58(%rbp), %rax
cmpq %rax, %rdi
je 0x3cee
movq -0x58(%rbp), %rsi
incq %rsi
callq 0x21d0
movl 0x10(%rbx), %r12d
decl %r12d
js 0x3d27
movl %r12d, %r12d
movq (%r14), %rax
movzbl (%rax,%r12), %eax
cmpl $0x20, %eax
je 0x3d0c
cmpl $0x9, %eax
jne 0x3d27
movq %r14, %rdi
callq 0x2220
leaq -0x1(%r12), %rax
testq %r12, %r12
movq %rax, %r12
jg 0x3cfa
movl $0xffffffff, %r12d      # imm = 0xFFFFFFFF
xorl %r13d, %r13d
movq -0x38(%rbp), %rdi
movl $0x2c, %esi
xorl %edx, %edx
callq 0x2240
incl %eax
cmpl %r15d, %eax
jge 0x3e11
addq $0x28, %rbx
movq %rbx, -0x30(%rbp)
movslq %r15d, %rsi
movabsq $0x800000000000401, %rdi # imm = 0x800000000000401
xorl %r8d, %r8d
movq -0x38(%rbp), %rcx
movq (%rcx), %rdx
movslq %eax, %rbx
movzbl (%rdx,%rbx), %ecx
cmpq $0x3b, %rcx
ja 0x3d77
btq %rcx, %rdi
jb 0x3de6
testb $0x1, %r8b
jne 0x3d94
cmpl $0x20, %ecx
je 0x3d87
cmpl $0x9, %ecx
jne 0x3d91
incq %rbx
cmpq %rsi, %rbx
jl 0x3d67
jmp 0x3ddb
movb $0x1, %r8b
cmpl $0x20, %ecx
je 0x3d9e
cmpl $0x9, %ecx
jne 0x3da4
incl %r13d
movl %ebx, %r12d
testb $0x1, %r8b
je 0x3dd2
movq %rsi, -0x48(%rbp)
movsbl %cl, %esi
movq -0x30(%rbp), %rdi
movq %r8, -0x40(%rbp)
callq 0x2180
movq -0x40(%rbp), %r8
movabsq $0x800000000000401, %rdi # imm = 0x800000000000401
movq -0x48(%rbp), %rsi
incl %ebx
movl %ebx, %eax
cmpl %r15d, %ebx
jl 0x3d5d
jmp 0x3de6
incl %eax
cmpl %r15d, %eax
cmovlel %r15d, %eax
movl %eax, %ebx
subl %r12d, %ebx
cmpl %r13d, %ebx
setne %al
testl %r13d, %r13d
setle %cl
orb %al, %cl
movq -0x30(%rbp), %rbx
jne 0x3e11
incl %r13d
movq %rbx, %rdi
callq 0x2220
decl %r13d
cmpl $0x1, %r13d
ja 0x3e00
movq %r14, %rax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop