// File: /workspace/github_cpp_makefile_star2_O1/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 0x218a(%rip), %rsi      # 0xd0b2
leaq 0x2190(%rip), %rdx      # 0xd0bf
leaq -0x80(%rbp), %rdi
callq 0xa038
leaq -0x50(%rbp), %rax
movq %rax, -0x10(%rax)
leaq 0x3bcb(%rip), %rdx      # 0xeb12
leaq -0x60(%rbp), %rdi
movq %rdx, %rsi
callq 0xa038
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 0xafc4
movq %r14, %rdi
movq %r12, %rsi
callq 0x9d80
jmp 0xaf9e
movq %rbx, -0x88(%rbp)
leaq -0xd8(%rbp), %rdi
leaq -0xc0(%rbp), %rsi
callq 0x9c82
leaq -0x40(%rbp), %rdi
leaq -0xd8(%rbp), %rsi
callq 0xb9c5
leaq -0xd8(%rbp), %rdi
callq 0x9d16
movq -0x40(%rbp), %rdi
cmpq %rdi, -0x38(%rbp)
je 0xb08c
movl $0x1, %ebx
xorl %r14d, %r14d
leaq 0x204c(%rip), %r15      # 0xd063
leaq 0x2046(%rip), %r12      # 0xd064
cmpl $0x1, %ebx
je 0xb04d
leal -0x2(%rbx), %r13d
shlq $0x5, %r13
addq %r13, %rdi
movq %r15, %rsi
callq 0x30b0
testl %eax, %eax
je 0xb068
movq -0x40(%rbp), %rdi
addq %r13, %rdi
movq %r12, %rsi
callq 0x30b0
testl %eax, %eax
je 0xb068
movl %ebx, %r14d
movq -0x40(%rbp), %rdi
movq -0x38(%rbp), %rax
subq %rdi, %rax
sarq $0x5, %rax
incl %ebx
cmpq %r14, %rax
ja 0xb01e
jmp 0xb08c
shlq $0x5, %r14
addq -0x40(%rbp), %r14
leaq -0x80(%rbp), %rdi
movq %r14, %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 0x9d16
movq -0xa8(%rbp), %rdi
leaq -0x98(%rbp), %rax
cmpq %rax, %rdi
leaq -0x70(%rbp), %rbx
leaq -0x50(%rbp), %r14
je 0xb0e6
movq -0x98(%rbp), %rsi
incq %rsi
callq 0x32c0
leaq -0xc0(%rbp), %rdi
callq 0x9d16
movq 0x6eaf(%rip), %rsi      # 0x11fa8
leaq -0x260(%rbp), %rdi
callq 0x31f0
leaq -0x1e0(%rbp), %rdi
callq 0x30e0
movq -0x60(%rbp), %rdi
cmpq %r14, %rdi
je 0xb126
movq -0x50(%rbp), %rsi
incq %rsi
callq 0x32c0
movq -0x80(%rbp), %rdi
cmpq %rbx, %rdi
je 0xb13b
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 0xb16a
movq %rax, %rbx
leaq -0xd8(%rbp), %rdi
jmp 0xb171
movq %rax, %rbx
jmp 0xb176
movq %rax, %rbx
jmp 0xb1c8
movq %rax, %rbx
jmp 0xb1e1
movq %rax, %rbx
leaq -0x40(%rbp), %rdi
callq 0x9d16
leaq -0x98(%rbp), %r13
jmp 0xb182
movq %rax, %rbx
movq -0xa8(%rbp), %rdi
cmpq %r13, %rdi
je 0xb19d
movq -0x98(%rbp), %rsi
incq %rsi
callq 0x32c0
leaq -0xc0(%rbp), %rdi
callq 0x9d16
movq 0x6df8(%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 0xb1e1
movq -0x50(%rbp), %rsi
incq %rsi
callq 0x32c0
movq -0x80(%rbp), %rdi
leaq -0x70(%rbp), %rax
cmpq %rax, %rdi
je 0xb1fa
movq -0x70(%rbp), %rsi
incq %rsi
callq 0x32c0
movq %rbx, %rdi
callq 0x3530