// File: /workspace/github_cpp_makefile_star2_O2/brandoncanaday[P]1730sh/Input.cpp
// Function: processArgv(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>>>>)
vector<string> processArgv(vector<string> argv) {
  vector<string> processed_argv;
  int quote_count = 0;
  string arg = "";
  for(unsigned int i = 0; i < argv.size(); i++) { 
    if(hasQuotes(argv[i])) { 
      if(quote_count == 0) { arg = ""; } // if
      quote_count++;
      arg = arg + " " + argv[i];
      unsigned int q_pos = pos_of_first_quote(argv[i]);
      if(argv[i].length() > 1 && q_pos != argv[i].length()-1 && hasQuotes(argv[i].substr(q_pos+1))) quote_count++;
      if(quote_count == 2) {
	quote_count = 0;
      } else {
	continue;
      } // if/else
    } else {
      if(quote_count % 2 == 0) {
	arg = argv[i];
      } else {
	arg = arg + " " + argv[i];
	continue;
      } // if/else
    } // if/else
    arg = trim(arg);
    // remove beginning/end quotes
    string proc_arg = "";
    for(unsigned int i = 0; i < arg.length(); i++) {
      if(arg[i] == '"') {
	if(i > 0) {
	  if(arg[i-1] == '\\') proc_arg += arg[i];
	} // if
      } else {
	proc_arg += arg[i];
      } // if/else
    } // for
    proc_arg = sanitize(proc_arg,"\\");
    processed_argv.push_back(proc_arg);
  } // for
  return processed_argv;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x148, %rsp            # imm = 0x148
movq %rsi, %r15
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
movq %rdi, -0x48(%rbp)
andq $0x0, 0x10(%rdi)
leaq 0x282a(%rip), %rsi      # 0xbae2
leaq -0x68(%rbp), %rdi
leaq -0xb0(%rbp), %rdx
callq 0x3100
movq $0x0, -0x30(%rbp)
leaq -0xb0(%rbp), %rbx
xorl %r13d, %r13d
movq %r15, -0x40(%rbp)
movl %r13d, %r13d
movq (%r15), %rsi
movq 0x8(%r15), %rax
subq %rsi, %rax
sarq $0x5, %rax
cmpq %r13, %rax
jbe 0x95c9
movq %r13, -0x70(%rbp)
shlq $0x5, %r13
addq %r13, %rsi
leaq -0x170(%rbp), %rdi
callq 0x3380
leaq -0x170(%rbp), %r12
movq %r12, %rdi
callq 0x9ab9
movl %eax, %r15d
movq %r12, %rdi
callq 0x3120
testb %r15b, %r15b
je 0x9448
cmpl $0x0, -0x30(%rbp)
movq -0x40(%rbp), %r15
jne 0x934c
leaq -0x68(%rbp), %rdi
leaq 0x279b(%rip), %rsi      # 0xbae2
callq 0x34f0
leaq -0x90(%rbp), %r12
movq %r12, %rdi
leaq -0x68(%rbp), %rsi
leaq 0x13c1(%rip), %rdx      # 0xa722
callq 0x761b
movq (%r15), %rdx
addq %r13, %rdx
movq %rbx, %rdi
movq %r12, %rsi
callq 0x75f2
leaq -0x68(%rbp), %rdi
movq %rbx, %rsi
callq 0x3310
movq %rbx, %rdi
callq 0x3120
movq %r12, %rdi
callq 0x3120
movq (%r15), %rsi
addq %r13, %rsi
leaq -0x150(%rbp), %rdi
callq 0x3380
movq -0x30(%rbp), %rax
leal 0x1(%rax), %r12d
leaq -0x150(%rbp), %rbx
movq %rbx, %rdi
callq 0x9af9
movl %eax, %r15d
movq %rbx, %rdi
callq 0x3120
movq -0x40(%rbp), %rax
movq (%rax), %rsi
movq 0x8(%rsi,%r13), %rax
cmpq $0x2, %rax
setb %cl
movl %r15d, %edx
decq %rax
cmpq %rdx, %rax
sete %al
orb %cl, %al
jne 0x942a
addq %r13, %rsi
incl %r15d
leaq -0x130(%rbp), %rdi
movq %r15, %rdx
pushq $-0x1
popq %rcx
callq 0x32b0
leaq -0x130(%rbp), %rbx
movq %rbx, %rdi
callq 0x9ab9
movl %eax, %r15d
movq %rbx, %rdi
callq 0x3120
movq -0x30(%rbp), %rax
addl $0x2, %eax
testb %r15b, %r15b
cmovnel %eax, %r12d
leaq -0xb0(%rbp), %rbx
movq $0x0, -0x30(%rbp)
cmpl $0x2, %r12d
movq -0x40(%rbp), %r15
je 0x9465
jmp 0x95b6
testb $0x1, -0x30(%rbp)
movq -0x40(%rbp), %r15
jne 0x9568
addq (%r15), %r13
leaq -0x68(%rbp), %rdi
movq %r13, %rsi
callq 0x3170
leaq -0x110(%rbp), %r15
movq %r15, %rdi
leaq -0x68(%rbp), %rsi
callq 0x3380
movq %rbx, %rdi
movq %r15, %rsi
callq 0x9983
leaq -0x90(%rbp), %r12
leaq -0x68(%rbp), %rdi
movq %rbx, %rsi
callq 0x3310
movq %rbx, %rdi
callq 0x3120
movq %r15, %rdi
callq 0x3120
movq %rbx, %rdi
leaq 0x2632(%rip), %rsi      # 0xbae2
movq %r12, %rdx
callq 0x3100
xorl %r15d, %r15d
movl %r15d, %r15d
cmpq %r15, -0x60(%rbp)
jbe 0x94f2
movq -0x68(%rbp), %rax
movb (%rax,%r15), %cl
cmpb $0x22, %cl
jne 0x94e2
testq %r15, %r15
je 0x94ed
leal -0x1(%r15), %edx
movb $0x22, %cl
cmpb $0x5c, (%rax,%rdx)
jne 0x94ed
movsbl %cl, %esi
movq %rbx, %rdi
callq 0x3230
incl %r15d
jmp 0x94bb
leaq -0xd0(%rbp), %rdi
movq %rbx, %rsi
callq 0x3380
leaq -0xf0(%rbp), %r14
movq %r14, %rdi
leaq 0x260a(%rip), %rsi      # 0xbb1c
leaq -0x31(%rbp), %rdx
callq 0x3100
movq -0x40(%rbp), %r15
movq %r12, %rdi
leaq -0xd0(%rbp), %r13
movq %r13, %rsi
movq %r14, %rdx
callq 0x9a06
movq %rbx, %rdi
movq %r12, %rsi
callq 0x3310
movq %r12, %rdi
callq 0x3120
movq %r14, %rdi
callq 0x3120
movq %r13, %rdi
callq 0x3120
movq -0x48(%rbp), %rdi
movq %rbx, %rsi
callq 0x7776
movq %rbx, %rdi
jmp 0x95aa
leaq -0x90(%rbp), %r12
movq %r12, %rdi
leaq -0x68(%rbp), %rsi
leaq 0x11a5(%rip), %rdx      # 0xa722
callq 0x761b
addq (%r15), %r13
movq %rbx, %rdi
movq %r12, %rsi
movq %r13, %rdx
callq 0x75f2
leaq -0x68(%rbp), %rdi
movq %rbx, %rsi
callq 0x3310
movq %rbx, %rdi
callq 0x3120
movq %r12, %rdi
callq 0x3120
movq -0x30(%rbp), %rax
movl %eax, %r12d
movq -0x70(%rbp), %r13
incl %r13d
movl %r12d, %eax
movq %rax, -0x30(%rbp)
jmp 0x92de
leaq -0x68(%rbp), %rdi
callq 0x3120
movq -0x48(%rbp), %rax
addq $0x148, %rsp            # imm = 0x148
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
jmp 0x9654
jmp 0x9637
jmp 0x95f3
jmp 0x9637
movq %rax, %rbx
leaq -0x90(%rbp), %rdi
jmp 0x9646
movq %rax, %rbx
leaq -0xf0(%rbp), %rdi
callq 0x3120
jmp 0x9615
jmp 0x963c
movq %rax, %rbx
leaq -0xd0(%rbp), %rdi
callq 0x3120
jmp 0x963f
jmp 0x963c
movq %rax, %rbx
leaq -0x110(%rbp), %rdi
jmp 0x9646
jmp 0x9637
jmp 0x9637
jmp 0x9637
movq %rax, %rbx
jmp 0x964b
movq %rax, %rbx
leaq -0xb0(%rbp), %rdi
callq 0x3120
leaq -0x68(%rbp), %rdi
callq 0x3120
movq -0x48(%rbp), %rdi
callq 0x7726
movq %rbx, %rdi
callq 0x34b0
nop