// File: /workspace/github_cpp_makefile_star2_O3/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, %rbx
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
movq %rdi, -0xa0(%rbp)
movq $0x0, 0x10(%rdi)
leaq -0x40(%rbp), %rax
movq %rax, -0x10(%rax)
leaq 0x318a(%rip), %rdx      # 0xeb12
leaq -0x50(%rbp), %rdi
movq %rdx, %rsi
callq 0x9ff0
movq (%rbx), %rax
movq %rbx, -0x98(%rbp)
cmpq %rax, 0x8(%rbx)
je 0xbf93
leaq -0x60(%rbp), %r13
xorl %r12d, %r12d
xorl %r14d, %r14d
movq $0x0, -0x30(%rbp)
shlq $0x5, %r12
leaq -0x138(%rbp), %rcx
movq %rcx, -0x148(%rbp)
movq (%rax,%r12), %rsi
movq 0x8(%rax,%r12), %rdx
addq %rsi, %rdx
leaq -0x148(%rbp), %rdi
callq 0x9f52
movq -0x148(%rbp), %rdi
movq -0x140(%rbp), %rax
testq %rax, %rax
je 0xba24
movl $0x1, %ecx
xorl %edx, %edx
movb (%rdi,%rdx), %dl
cmpl $0x1, %ecx
jne 0xba0d
cmpb $0x22, %dl
jne 0xba1b
jmp 0xba29
cmpb $0x22, %dl
jne 0xba1b
leal -0x2(%rcx), %edx
cmpb $0x5c, (%rdi,%rdx)
jne 0xba29
movl %ecx, %edx
incl %ecx
cmpq %rdx, %rax
ja 0xb9fe
xorl %r15d, %r15d
jmp 0xba2c
movb $0x1, %r15b
leaq -0x138(%rbp), %rax
cmpq %rax, %rdi
je 0xba47
movq -0x138(%rbp), %rsi
incq %rsi
callq 0x32c0
testb %r15b, %r15b
je 0xbae9
cmpl $0x0, -0x30(%rbp)
jne 0xba6f
movq -0x48(%rbp), %rdx
leaq -0x50(%rbp), %rdi
xorl %esi, %esi
leaq 0x30ab(%rip), %rcx      # 0xeb12
xorl %r8d, %r8d
callq 0x3460
leaq -0x80(%rbp), %rax
movq %rax, -0x90(%rbp)
movq -0x50(%rbp), %rsi
movq -0x48(%rbp), %rdx
addq %rsi, %rdx
leaq -0x90(%rbp), %r15
movq %r15, %rdi
callq 0x9f52
movq %r15, %rdi
leaq 0x1c84(%rip), %rsi      # 0xd722
callq 0x3570
movq -0x98(%rbp), %rax
movq (%rax), %rax
movq (%rax,%r12), %rsi
movq 0x8(%rax,%r12), %rdx
movq %r15, %rdi
callq 0x30c0
movq %r13, -0x70(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
leaq -0x70(%rbp), %rsi
je 0xbb8b
movq %rdx, -0x70(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x60(%rbp)
jmp 0xbb93
testb $0x1, -0x30(%rbp)
jne 0xbb11
movq -0x98(%rbp), %rax
addq (%rax), %r12
leaq -0x50(%rbp), %rdi
movq %r12, %rsi
callq 0x3180
leaq -0xe8(%rbp), %rdi
jmp 0xbda3
leaq -0x80(%rbp), %rax
movq %rax, -0x90(%rbp)
movq -0x50(%rbp), %rsi
movq -0x48(%rbp), %rdx
addq %rsi, %rdx
leaq -0x90(%rbp), %r15
movq %r15, %rdi
callq 0x9f52
movq %r15, %rdi
leaq 0x1be2(%rip), %rsi      # 0xd722
callq 0x3570
movq -0x98(%rbp), %rax
movq (%rax), %rax
movq (%rax,%r12), %rsi
movq 0x8(%rax,%r12), %rdx
movq %r15, %rdi
callq 0x30c0
movq %r13, -0x70(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
leaq -0x70(%rbp), %rsi
je 0xbcf7
movq %rdx, -0x70(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x60(%rbp)
jmp 0xbcff
movups (%rcx), %xmm0
movups %xmm0, (%r13)
movq %r14, -0xa8(%rbp)
movq 0x8(%rax), %rdx
movq %rdx, -0x68(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq -0x50(%rbp), %rdi
callq 0x3350
movq -0x70(%rbp), %rdi
cmpq %r13, %rdi
je 0xbbcf
movq -0x60(%rbp), %rsi
incq %rsi
callq 0x32c0
movq -0x98(%rbp), %rbx
movq -0x90(%rbp), %rdi
leaq -0x80(%rbp), %rax
cmpq %rax, %rdi
je 0xbbf2
movq -0x80(%rbp), %rsi
incq %rsi
callq 0x32c0
movq %r13, %r14
movq (%rbx), %rax
leaq -0x118(%rbp), %rcx
movq %rcx, -0x128(%rbp)
movq (%rax,%r12), %rsi
movq 0x8(%rax,%r12), %rdx
addq %rsi, %rdx
leaq -0x128(%rbp), %rdi
callq 0x9f52
leaq -0x128(%rbp), %rdi
callq 0xc735
movl %eax, %r13d
movq -0x128(%rbp), %rdi
leaq -0x118(%rbp), %rax
cmpq %rax, %rdi
je 0xbc4f
movq -0x118(%rbp), %rsi
incq %rsi
callq 0x32c0
movq -0x30(%rbp), %rax
leal 0x1(%rax), %r15d
movq (%rbx), %rsi
movq 0x8(%rsi,%r12), %rax
cmpq $0x2, %rax
setb %cl
movl %r13d, %edx
decq %rax
cmpq %rdx, %rax
sete %al
orb %cl, %al
je 0xbc85
movq %r14, %r13
movq -0xa8(%rbp), %r14
jmp 0xbd8a
addq %r12, %rsi
incl %r13d
leaq -0x168(%rbp), %rdi
movq %r13, %rdx
movq $-0x1, %rcx
callq 0x32d0
movq -0x168(%rbp), %rdi
movq -0x160(%rbp), %rax
testq %rax, %rax
movq %r14, %r13
je 0xbd51
movl $0x1, %ecx
xorl %edx, %edx
movq -0xa8(%rbp), %r14
movb (%rdi,%rdx), %dl
cmpl $0x1, %ecx
jne 0xbcdb
cmpb $0x22, %dl
jne 0xbce9
jmp 0xbd5d
cmpb $0x22, %dl
jne 0xbce9
leal -0x2(%rcx), %edx
cmpb $0x5c, (%rdi,%rdx)
jne 0xbd5d
movl %ecx, %edx
incl %ecx
cmpq %rdx, %rax
ja 0xbcc9
xorl %r12d, %r12d
jmp 0xbd60
movups (%rcx), %xmm0
movups %xmm0, (%r13)
movq 0x8(%rax), %rdx
movq %rdx, -0x68(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq -0x50(%rbp), %rdi
callq 0x3350
movq -0x70(%rbp), %rdi
cmpq %r13, %rdi
je 0xbd34
movq -0x60(%rbp), %rsi
incq %rsi
callq 0x32c0
movq -0x90(%rbp), %rdi
leaq -0x80(%rbp), %rax
cmpq %rax, %rdi
je 0xbf61
movq -0x80(%rbp), %rsi
jmp 0xbf59
xorl %r12d, %r12d
movq -0xa8(%rbp), %r14
jmp 0xbd60
movb $0x1, %r12b
leaq -0x158(%rbp), %rax
cmpq %rax, %rdi
je 0xbd7b
movq -0x158(%rbp), %rsi
incq %rsi
callq 0x32c0
testb %r12b, %r12b
je 0xbd8a
movq -0x30(%rbp), %rax
addl $0x2, %eax
movl %eax, %r15d
movq $0x0, -0x30(%rbp)
cmpl $0x2, %r15d
leaq -0xe8(%rbp), %rdi
jne 0xbf68
leaq -0xd8(%rbp), %r15
movq %r15, -0xe8(%rbp)
movq -0x50(%rbp), %rsi
movq -0x48(%rbp), %rdx
addq %rsi, %rdx
movq %rdi, %rbx
callq 0x9f52
leaq -0x70(%rbp), %r12
movq %r12, %rdi
movq %rbx, %rsi
callq 0xc512
leaq -0x50(%rbp), %rdi
movq %r12, %rsi
callq 0x3350
movq -0x70(%rbp), %rdi
cmpq %r13, %rdi
je 0xbdf4
movq -0x60(%rbp), %rsi
incq %rsi
callq 0x32c0
movq -0xe8(%rbp), %rdi
cmpq %r15, %rdi
leaq -0x108(%rbp), %rbx
je 0xbe16
movq -0xd8(%rbp), %rsi
incq %rsi
callq 0x32c0
movq %r13, -0x70(%rbp)
leaq -0x70(%rbp), %rdi
leaq 0x2ced(%rip), %rdx      # 0xeb12
movq %rdx, %rsi
callq 0x9ff0
cmpq $0x0, -0x48(%rbp)
je 0xbe72
movl $0x1, %r15d
xorl %ecx, %ecx
movq -0x50(%rbp), %rax
movb (%rax,%rcx), %cl
cmpb $0x22, %cl
jne 0xbe5a
cmpl $0x1, %r15d
je 0xbe66
leal -0x2(%r15), %edx
movb $0x22, %cl
cmpb $0x5c, (%rax,%rdx)
jne 0xbe66
movsbl %cl, %esi
leaq -0x70(%rbp), %rdi
callq 0x3250
movl %r15d, %ecx
incl %r15d
cmpq %rcx, -0x48(%rbp)
ja 0xbe3c
leaq -0xb8(%rbp), %rax
movq %rax, -0xc8(%rbp)
movq -0x70(%rbp), %rsi
movq -0x68(%rbp), %rdx
addq %rsi, %rdx
leaq -0xc8(%rbp), %rdi
callq 0x9f52
leaq -0xf8(%rbp), %r15
movq %r15, -0x108(%rbp)
movq %rbx, %rdi
leaq 0x2c9d(%rip), %rsi      # 0xeb4c
leaq 0x2c97(%rip), %rdx      # 0xeb4d
callq 0x9ff0
leaq -0x90(%rbp), %r12
movq %r12, %rdi
leaq -0xc8(%rbp), %rsi
movq %rbx, %rdx
callq 0xc5e7
leaq -0x70(%rbp), %rdi
movq %r12, %rsi
callq 0x3350
movq -0x90(%rbp), %rdi
leaq -0x80(%rbp), %rax
cmpq %rax, %rdi
je 0xbefc
movq -0x80(%rbp), %rsi
incq %rsi
callq 0x32c0
movq -0x108(%rbp), %rdi
cmpq %r15, %rdi
je 0xbf17
movq -0xf8(%rbp), %rsi
incq %rsi
callq 0x32c0
movq -0xc8(%rbp), %rdi
leaq -0xb8(%rbp), %rax
cmpq %rax, %rdi
leaq -0x70(%rbp), %r15
je 0xbf3d
movq -0xb8(%rbp), %rsi
incq %rsi
callq 0x32c0
movq -0xa0(%rbp), %rdi
movq %r15, %rsi
callq 0x9d2e
movq -0x70(%rbp), %rdi
cmpq %r13, %rdi
je 0xbf61
movq -0x60(%rbp), %rsi
incq %rsi
callq 0x32c0
movq -0x30(%rbp), %rax
movl %eax, %r15d
incl %r14d
movq -0x98(%rbp), %rcx
movq (%rcx), %rax
movq 0x8(%rcx), %rcx
subq %rax, %rcx
sarq $0x5, %rcx
movq %r14, %r12
movl %r15d, %edx
movq %rdx, -0x30(%rbp)
cmpq %r14, %rcx
ja 0xb9ba
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0xbfac
movq -0x40(%rbp), %rsi
incq %rsi
callq 0x32c0
movq -0xa0(%rbp), %rax
addq $0x148, %rsp            # imm = 0x148
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
jmp 0xc0a4
jmp 0xc01a
jmp 0xc01a
jmp 0xc06a
jmp 0xc06a
jmp 0xc01a
jmp 0xc073
movq %rax, %rbx
movq -0x108(%rbp), %rdi
cmpq %r15, %rdi
je 0xc03e
movq -0xf8(%rbp), %rsi
incq %rsi
callq 0x32c0
jmp 0xc03e
movq %rax, %rbx
movq -0xe8(%rbp), %rdi
cmpq %r15, %rdi
je 0xc06d
movq -0xd8(%rbp), %rsi
jmp 0xc031
movq %rax, %rbx
movq -0x90(%rbp), %rdi
leaq -0x80(%rbp), %rax
cmpq %rax, %rdi
je 0xc06d
movq -0x80(%rbp), %rsi
incq %rsi
callq 0x32c0
jmp 0xc06d
movq %rax, %rbx
movq -0xc8(%rbp), %rdi
leaq -0xb8(%rbp), %rax
cmpq %rax, %rdi
je 0xc076
movq -0xb8(%rbp), %rsi
incq %rsi
callq 0x32c0
jmp 0xc076
jmp 0xc073
jmp 0xc06a
jmp 0xc06a
jmp 0xc06a
movq %rax, %rbx
leaq -0x40(%rbp), %r14
jmp 0xc08f
movq %rax, %rbx
leaq -0x40(%rbp), %r14
movq -0x70(%rbp), %rdi
cmpq %r13, %rdi
je 0xc08f
movq -0x60(%rbp), %rsi
incq %rsi
callq 0x32c0
movq -0x50(%rbp), %rdi
cmpq %r14, %rdi
je 0xc0a4
movq -0x40(%rbp), %rsi
incq %rsi
callq 0x32c0
movq -0xa0(%rbp), %rdi
callq 0x9cc0
movq %rbx, %rdi
callq 0x3530