// File: /workspace/github_cpp_makefile_star2_O3/nikhilYadala[P]Python_to_cpp/Source/src/convert_to_cpp.cpp
// Function: break_into_words(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>>>>&)
void break_into_words(std::string& line,std::vector< std::string >& tokens)
{
	int flag=1;	//to check if a symbol has been pushed and tokens.end()-1 isn't a continuing token
	for(std::string::iterator itr=line.begin();itr!=line.end();++itr)
	{   
		if(*itr=='"'){
			tokens.push_back("");
			(tokens.end()-1)->push_back('"');
			while(*(++itr)!='"')
				(tokens.end()-1)->push_back(*itr);
			(tokens.end()-1)->push_back('"');
			continue;
			flag=1;
		}
		if(is_symbol(*itr))
		{
			if(*itr!=' '&&*itr!='\n')
			{
				std::string emp(1,*itr);	
				tokens.push_back(emp);
			}
			flag=1;
			continue;
		}	
		if(flag)
			tokens.push_back("");
		(tokens.end()-1)->push_back(*itr);
		flag=0;
	}
	
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
cmpq $0x0, 0x8(%rdi)
je 0x2cc1
movq %rsi, %rbx
movq %rdi, %r14
movq (%rdi), %r15
movl $0x1, -0x2c(%rbp)
leaq 0x865e(%rip), %r13      # 0xb1c0
movzbl (%r15), %eax
cmpl $0x22, %eax
jne 0x2bd0
leaq -0x40(%rbp), %rax
movq %rax, -0x50(%rbp)
leaq -0x50(%rbp), %r12
movq %r12, %rdi
leaq 0x869d(%rip), %rdx      # 0xb21e
movq %rdx, %rsi
callq 0x4e32
movq %rbx, %rdi
movq %r12, %rsi
callq 0x532e
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x2ba6
callq 0x21c0
movq 0x8(%rbx), %rdi
addq $-0x20, %rdi
movl $0x22, %esi
callq 0x21a0
movb 0x1(%r15), %al
incq %r15
cmpb $0x22, %al
je 0x2c3f
movq 0x8(%rbx), %rdi
addq $-0x20, %rdi
movsbl %al, %esi
jmp 0x2bb3
xorl %ecx, %ecx
movb (%rcx,%r13), %dl
cmpb %al, %dl
je 0x2be7
leaq 0x1(%rcx), %rsi
cmpq $0x15, %rcx
movq %rsi, %rcx
jne 0x2bd2
cmpb %al, %dl
jne 0x2c53
movl $0x1, -0x2c(%rbp)
cmpl $0xa, %eax
je 0x2cae
cmpl $0x20, %eax
je 0x2cae
leaq -0x40(%rbp), %rcx
movq %rcx, -0x50(%rbp)
movsbl %al, %edx
movl $0x1, %esi
leaq -0x50(%rbp), %r12
movq %r12, %rdi
callq 0x2260
movq %rbx, %rdi
movq %r12, %rsi
callq 0x4c42
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x2cae
callq 0x21c0
jmp 0x2cae
movq 0x8(%rbx), %rdi
addq $-0x20, %rdi
movl $0x22, %esi
callq 0x21a0
jmp 0x2cae
cmpl $0x0, -0x2c(%rbp)
je 0x2c97
leaq -0x40(%rbp), %rax
movq %rax, -0x50(%rbp)
leaq -0x50(%rbp), %r12
movq %r12, %rdi
leaq 0x85af(%rip), %rdx      # 0xb21e
movq %rdx, %rsi
callq 0x4e32
movq %rbx, %rdi
movq %r12, %rsi
callq 0x532e
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x2c94
callq 0x21c0
movb (%r15), %al
movq 0x8(%rbx), %rdi
addq $-0x20, %rdi
movsbl %al, %esi
callq 0x21a0
movl $0x0, -0x2c(%rbp)
incq %r15
movq (%r14), %rax
addq 0x8(%r14), %rax
cmpq %rax, %r15
jne 0x2b62
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x2cdd
jmp 0x2cd8
jmp 0x2cdd
jmp 0x2cd8
movq %rax, %rbx
jmp 0x2cf2
movq %rax, %rbx
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x2cf2
callq 0x21c0
movq %rbx, %rdi
callq 0x2370