// File: /workspace/github_cpp_makefile_star2_O3/brandoncanaday[P]1730sh/Input.cpp
// Function: Input::setSTDOUT()
void Input::setSTDOUT() {
  string fd = "STDOUT_FILENO";
  string type = "";
  stringstream ss(this->shellInput);
  vector<string> argv;
  string arg;
  while(ss >> arg) {
    argv.push_back(arg);
  } // while
  vector<string> processed_argv = processArgv(argv);
  for(unsigned int i = 0; i < processed_argv.size(); i++) {
    if(i > 0) {
      if(processed_argv[i-1] == ">>" || processed_argv[i-1] == ">") {
	fd = processed_argv[i];
	type = processed_argv[i-1];
	break;
      } // if
    } // if
  } // for
  this->fd_STDOUT = fd;
  this->type_STDOUT = type;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x238, %rsp            # imm = 0x238
movq %rdi, %rbx
leaq -0x70(%rbp), %rax
movq %rax, -0x10(%rax)
leaq 0x220e(%rip), %rsi      # 0xd0b2
leaq 0x2214(%rip), %rdx      # 0xd0bf
leaq -0x80(%rbp), %rdi
callq 0x9ff0
leaq -0x50(%rbp), %rax
movq %rax, -0x10(%rax)
leaq 0x3c4f(%rip), %rdx      # 0xeb12
leaq -0x60(%rbp), %rdi
movq %rdx, %rsi
callq 0x9ff0
leaq 0x10(%rbx), %rsi
leaq -0x260(%rbp), %rdi
movl $0x18, %edx
callq 0x3470
xorps %xmm0, %xmm0
leaq -0xc0(%rbp), %r14
movaps %xmm0, (%r14)
xorl %eax, %eax
movq %rax, 0x10(%r14)
leaq -0x98(%rbp), %r13
movq %r13, -0x10(%r13)
movq %rax, -0x8(%r13)
movb $0x0, (%r13)
leaq -0x260(%rbp), %r15
leaq -0xa8(%rbp), %r12
movq %r15, %rdi
movq %r12, %rsi
callq 0x3370
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
jne 0xaf40
movq %r14, %rdi
movq %r12, %rsi
callq 0x9d2e
jmp 0xaf1a
movq %rbx, -0x88(%rbp)
leaq -0xd8(%rbp), %rdi
leaq -0xc0(%rbp), %rsi
callq 0x9c2c
leaq -0x40(%rbp), %rdi
leaq -0xd8(%rbp), %rsi
callq 0xb94d
leaq -0xd8(%rbp), %rdi
callq 0x9cc0
movq -0x40(%rbp), %rdi
movq -0x38(%rbp), %rax
cmpq %rdi, %rax
je 0xb00e
movl $0x1, %ebx
xorl %r12d, %r12d
leaq 0x20cd(%rip), %r14      # 0xd063
leaq 0x20c7(%rip), %r15      # 0xd064
cmpl $0x1, %ebx
je 0xafd4
leal -0x2(%rbx), %r13d
shlq $0x5, %r13
addq %r13, %rdi
movq %r14, %rsi
callq 0x30b0
testl %eax, %eax
je 0xafea
movq -0x40(%rbp), %rdi
addq %r13, %rdi
movq %r15, %rsi
callq 0x30b0
testl %eax, %eax
je 0xafea
movq -0x40(%rbp), %rdi
movq -0x38(%rbp), %rax
movl %ebx, %r12d
movq %rax, %rcx
subq %rdi, %rcx
sarq $0x5, %rcx
incl %ebx
cmpq %r12, %rcx
ja 0xaf9d
jmp 0xb00e
shlq $0x5, %r12
addq -0x40(%rbp), %r12
leaq -0x80(%rbp), %rdi
movq %r12, %rsi
callq 0x3180
addq -0x40(%rbp), %r13
leaq -0x60(%rbp), %rdi
movq %r13, %rsi
callq 0x3180
movq -0x88(%rbp), %rbx
leaq 0x68(%rbx), %rdi
leaq -0x80(%rbp), %rsi
callq 0x3180
addq $0x88, %rbx
leaq -0x60(%rbp), %rsi
movq %rbx, %rdi
callq 0x3180
leaq -0x40(%rbp), %rdi
callq 0x9cc0
movq -0xa8(%rbp), %rdi
leaq -0x98(%rbp), %rax
cmpq %rax, %rdi
leaq -0x70(%rbp), %rbx
leaq -0x50(%rbp), %r14
je 0xb068
movq -0x98(%rbp), %rsi
incq %rsi
callq 0x32c0
leaq -0xc0(%rbp), %rdi
callq 0x9cc0
movq 0x6f2d(%rip), %rsi      # 0x11fa8
leaq -0x260(%rbp), %rdi
callq 0x31f0
leaq -0x1e0(%rbp), %rdi
callq 0x30e0
movq -0x60(%rbp), %rdi
cmpq %r14, %rdi
je 0xb0a8
movq -0x50(%rbp), %rsi
incq %rsi
callq 0x32c0
movq -0x80(%rbp), %rdi
cmpq %rbx, %rdi
je 0xb0bd
movq -0x70(%rbp), %rsi
incq %rsi
callq 0x32c0
addq $0x238, %rsp            # imm = 0x238
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0xb0ec
movq %rax, %rbx
leaq -0xd8(%rbp), %rdi
jmp 0xb0f3
movq %rax, %rbx
jmp 0xb0f8
movq %rax, %rbx
jmp 0xb14a
movq %rax, %rbx
jmp 0xb163
movq %rax, %rbx
leaq -0x40(%rbp), %rdi
callq 0x9cc0
leaq -0x98(%rbp), %r13
jmp 0xb104
movq %rax, %rbx
movq -0xa8(%rbp), %rdi
cmpq %r13, %rdi
je 0xb11f
movq -0x98(%rbp), %rsi
incq %rsi
callq 0x32c0
leaq -0xc0(%rbp), %rdi
callq 0x9cc0
movq 0x6e76(%rip), %rsi      # 0x11fa8
leaq -0x260(%rbp), %rdi
callq 0x31f0
leaq -0x1e0(%rbp), %rdi
callq 0x30e0
movq -0x60(%rbp), %rdi
leaq -0x50(%rbp), %rax
cmpq %rax, %rdi
je 0xb163
movq -0x50(%rbp), %rsi
incq %rsi
callq 0x32c0
movq -0x80(%rbp), %rdi
leaq -0x70(%rbp), %rax
cmpq %rax, %rdi
je 0xb17c
movq -0x70(%rbp), %rsi
incq %rsi
callq 0x32c0
movq %rbx, %rdi
callq 0x3530