// File: brandoncanaday[P]1730sh/Input.cpp
// Function: Input::setSTDERR()
void Input::setSTDERR() {
  string fd = "STDERR_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] == "e>" || processed_argv[i-1] == "e>>") {
	fd = processed_argv[i];
	type = processed_argv[i-1];
	break;
      } // if
    } // if
  } // for
  this->fd_STDERR = fd;
  this->type_STDERR = type;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x2b0, %rsp            # imm = 0x2B0
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x270(%rbp)
leaq -0x29(%rbp), %rdi
movq %rdi, -0x268(%rbp)
callq 0x3590
movq -0x268(%rbp), %rdx
leaq 0x3955(%rip), %rsi      # 0x140dd
leaq -0x28(%rbp), %rdi
callq 0x3440
jmp 0x10793
leaq -0x29(%rbp), %rdi
callq 0x3340
leaq -0x61(%rbp), %rdi
movq %rdi, -0x278(%rbp)
callq 0x3590
movq -0x278(%rbp), %rdx
leaq 0x5314(%rip), %rsi      # 0x15ace
leaq -0x60(%rbp), %rdi
callq 0x3440
jmp 0x107c5
leaq -0x61(%rbp), %rdi
callq 0x3340
movq -0x270(%rbp), %rax
addq $0x10, %rax
movq %rax, -0x288(%rbp)
movl $0x10, %edi
movl $0x8, %esi
callq 0xb6f0
movl %eax, -0x27c(%rbp)
jmp 0x107f7
movl -0x27c(%rbp), %edx
movq -0x288(%rbp), %rsi
leaq -0x1f0(%rbp), %rdi
callq 0x3510
jmp 0x10812
leaq -0x208(%rbp), %rdi
callq 0xb710
leaq -0x228(%rbp), %rdi
callq 0x3450
leaq -0x1f0(%rbp), %rdi
leaq -0x228(%rbp), %rsi
callq 0x33e0
movq %rax, -0x290(%rbp)
jmp 0x10846
movq -0x290(%rbp), %rdi
movq (%rdi), %rax
movq -0x18(%rax), %rax
addq %rax, %rdi
callq 0x33d0
movb %al, -0x291(%rbp)
jmp 0x10864
movb -0x291(%rbp), %al
testb $0x1, %al
jne 0x10870
jmp 0x108dd
leaq -0x208(%rbp), %rdi
leaq -0x228(%rbp), %rsi
callq 0xb730
jmp 0x10885
jmp 0x1082a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
leaq -0x29(%rbp), %rdi
callq 0x3340
jmp 0x10b18
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
leaq -0x61(%rbp), %rdi
callq 0x3340
jmp 0x10b0f
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
jmp 0x10b06
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
jmp 0x10ae2
leaq -0x258(%rbp), %rdi
leaq -0x208(%rbp), %rsi
callq 0xb530
jmp 0x108f2
leaq -0x240(%rbp), %rdi
leaq -0x258(%rbp), %rsi
callq 0x11360
jmp 0x10907
leaq -0x258(%rbp), %rdi
callq 0xb620
movl $0x0, -0x25c(%rbp)
movl -0x25c(%rbp), %eax
movq %rax, -0x2a0(%rbp)
leaq -0x240(%rbp), %rdi
callq 0xb7a0
movq %rax, %rcx
movq -0x2a0(%rbp), %rax
cmpq %rcx, %rax
jae 0x10a65
cmpl $0x0, -0x25c(%rbp)
jbe 0x10a4f
movl -0x25c(%rbp), %eax
decl %eax
movl %eax, %esi
leaq -0x240(%rbp), %rdi
callq 0xb4b0
movq %rax, %rdi
leaq 0x36e9(%rip), %rsi      # 0x1405f
callq 0xb390
movb %al, -0x2a1(%rbp)
jmp 0x10983
movb -0x2a1(%rbp), %al
testb $0x1, %al
jne 0x109cb
jmp 0x1098f
movl -0x25c(%rbp), %eax
decl %eax
movl %eax, %esi
leaq -0x240(%rbp), %rdi
callq 0xb4b0
movq %rax, %rdi
leaq 0x36b3(%rip), %rsi      # 0x14062
callq 0xb390
movb %al, -0x2a2(%rbp)
jmp 0x109bc
movb -0x2a2(%rbp), %al
testb $0x1, %al
jne 0x109cb
jmp 0x10a4d
movl -0x25c(%rbp), %eax
movl %eax, %esi
leaq -0x240(%rbp), %rdi
callq 0xb4b0
movq %rax, %rsi
leaq -0x28(%rbp), %rdi
callq 0x3050
jmp 0x109ed
movl -0x25c(%rbp), %eax
decl %eax
movl %eax, %esi
leaq -0x240(%rbp), %rdi
callq 0xb4b0
movq %rax, %rsi
leaq -0x60(%rbp), %rdi
callq 0x3050
jmp 0x10a11
jmp 0x10a65
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
leaq -0x258(%rbp), %rdi
callq 0xb620
jmp 0x10ae2
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
leaq -0x240(%rbp), %rdi
callq 0xb620
jmp 0x10ae2
jmp 0x10a4f
jmp 0x10a51
movl -0x25c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x25c(%rbp)
jmp 0x1091d
movq -0x270(%rbp), %rdi
addq $0xa8, %rdi
leaq -0x28(%rbp), %rsi
callq 0x3050
jmp 0x10a7e
movq -0x270(%rbp), %rdi
addq $0xc8, %rdi
leaq -0x60(%rbp), %rsi
callq 0x3050
jmp 0x10a97
leaq -0x240(%rbp), %rdi
callq 0xb620
leaq -0x228(%rbp), %rdi
callq 0x31e0
leaq -0x208(%rbp), %rdi
callq 0xb620
leaq -0x1f0(%rbp), %rdi
callq 0x3230
leaq -0x60(%rbp), %rdi
callq 0x31e0
leaq -0x28(%rbp), %rdi
callq 0x31e0
addq $0x2b0, %rsp            # imm = 0x2B0
popq %rbp
retq
leaq -0x228(%rbp), %rdi
callq 0x31e0
leaq -0x208(%rbp), %rdi
callq 0xb620
leaq -0x1f0(%rbp), %rdi
callq 0x3230
leaq -0x60(%rbp), %rdi
callq 0x31e0
leaq -0x28(%rbp), %rdi
callq 0x31e0
movq -0x38(%rbp), %rdi
callq 0x3580
nopw %cs:(%rax,%rax)