// File: danish241194[P]Linux-Terminal-Based-File-Explorer/start_page.cpp
// Function: split(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>&, char)
int split(string &txt, vector<string> &strs, char ch)
{
	strs.clear();
	int i = 0;
	int ip=0,which;
	while(i<txt.size()){

		if(txt[i]=='\''){
			i++;
			ip=i;
			while(txt[i]!='\''){
				if(txt[i]=='\\'){
					txt.erase(i,1);			
				}			
			i++;
			}
	
			strs.push_back(txt.substr(ip,i-ip));
			i=i+2;
			ip=i;
			which=1;
		}
	
		else if(txt[i]==' '){

			strs.push_back(txt.substr(ip,i-ip));
			i++;	
			ip=i;
			which=2;
		}else{
			i++;	
			which=3;
		}
	}
	if(which==3){
		strs.push_back(txt.substr(ip,i-ip));
	}


	return strs.size();

}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xd0, %rsp
movb %dl, %al
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movb %al, -0x11(%rbp)
movq -0x10(%rbp), %rdi
callq 0xe4f0
movl $0x0, -0x18(%rbp)
movl $0x0, -0x1c(%rbp)
movslq -0x18(%rbp), %rax
movq %rax, -0x98(%rbp)
movq -0x8(%rbp), %rdi
callq 0x3200
movq %rax, %rcx
movq -0x98(%rbp), %rax
cmpq %rcx, %rax
jae 0x68fe
movq -0x8(%rbp), %rdi
movslq -0x18(%rbp), %rsi
callq 0x3600
movsbl (%rax), %eax
cmpl $0x27, %eax
jne 0x6855
movl -0x18(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x18(%rbp)
movl -0x18(%rbp), %eax
movl %eax, -0x1c(%rbp)
movq -0x8(%rbp), %rdi
movslq -0x18(%rbp), %rsi
callq 0x3600
movsbl (%rax), %eax
cmpl $0x27, %eax
je 0x67d5
movq -0x8(%rbp), %rdi
movslq -0x18(%rbp), %rsi
callq 0x3600
movsbl (%rax), %eax
cmpl $0x5c, %eax
jne 0x67ca
movq -0x8(%rbp), %rdi
movslq -0x18(%rbp), %rsi
movl $0x1, %edx
callq 0x30b0
movl -0x18(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x18(%rbp)
jmp 0x678e
movq -0x10(%rbp), %rax
movq %rax, -0xa8(%rbp)
movq -0x8(%rbp), %rsi
movslq -0x1c(%rbp), %rdx
movl %edx, %ecx
movl -0x18(%rbp), %eax
subl %ecx, %eax
movslq %eax, %rcx
leaq -0x40(%rbp), %rdi
movq %rdi, -0xa0(%rbp)
callq 0x3320
movq -0xa8(%rbp), %rdi
movq -0xa0(%rbp), %rsi
callq 0xe510
jmp 0x6817
leaq -0x40(%rbp), %rdi
callq 0x3628
movl -0x18(%rbp), %eax
addl $0x2, %eax
movl %eax, -0x18(%rbp)
movl -0x18(%rbp), %eax
movl %eax, -0x1c(%rbp)
movl $0x1, -0x20(%rbp)
jmp 0x68f9
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
leaq -0x40(%rbp), %rdi
callq 0x3628
jmp 0x6983
movq -0x8(%rbp), %rdi
movslq -0x18(%rbp), %rsi
callq 0x3600
movsbl (%rax), %eax
cmpl $0x20, %eax
jne 0x68e7
movq -0x10(%rbp), %rax
movq %rax, -0xb8(%rbp)
movq -0x8(%rbp), %rsi
movslq -0x1c(%rbp), %rdx
movl %edx, %ecx
movl -0x18(%rbp), %eax
subl %ecx, %eax
movslq %eax, %rcx
leaq -0x70(%rbp), %rdi
movq %rdi, -0xb0(%rbp)
callq 0x3320
movq -0xb8(%rbp), %rdi
movq -0xb0(%rbp), %rsi
callq 0xe510
jmp 0x68ac
leaq -0x70(%rbp), %rdi
callq 0x3628
movl -0x18(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x18(%rbp)
movl -0x18(%rbp), %eax
movl %eax, -0x1c(%rbp)
movl $0x2, -0x20(%rbp)
jmp 0x68f7
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
leaq -0x70(%rbp), %rdi
callq 0x3628
jmp 0x6983
movl -0x18(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x18(%rbp)
movl $0x3, -0x20(%rbp)
jmp 0x68f9
jmp 0x673f
cmpl $0x3, -0x20(%rbp)
jne 0x6971
movq -0x10(%rbp), %rax
movq %rax, -0xc8(%rbp)
movq -0x8(%rbp), %rsi
movslq -0x1c(%rbp), %rdx
movl %edx, %ecx
movl -0x18(%rbp), %eax
subl %ecx, %eax
movslq %eax, %rcx
leaq -0x90(%rbp), %rdi
movq %rdi, -0xc0(%rbp)
callq 0x3320
movq -0xc8(%rbp), %rdi
movq -0xc0(%rbp), %rsi
callq 0xe510
jmp 0x6949
leaq -0x90(%rbp), %rdi
callq 0x3628
jmp 0x6971
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
leaq -0x90(%rbp), %rdi
callq 0x3628
jmp 0x6983
movq -0x10(%rbp), %rdi
callq 0xe1c0
addq $0xd0, %rsp
popq %rbp
retq
movq -0x48(%rbp), %rdi
callq 0x3570
nopl (%rax)