// File: brandoncanaday[P]1730sh/Input.cpp
// Function: Input::setSTDIN()
void Input::setSTDIN() {
  string fd = "STDIN_FILENO";
  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] == "<") {
	fd = processed_argv[i];
	break;
      } // if
    } // if 
  } // for
  this->fd_STDIN = fd;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x280, %rsp            # imm = 0x280
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x248(%rbp)
leaq -0x29(%rbp), %rdi
movq %rdi, -0x240(%rbp)
callq 0x3590
movq -0x240(%rbp), %rdx
leaq 0x3fd1(%rip), %rsi      # 0x14089
leaq -0x28(%rbp), %rdi
callq 0x3440
jmp 0x100c3
leaq -0x29(%rbp), %rdi
callq 0x3340
movq -0x248(%rbp), %rax
addq $0x10, %rax
movq %rax, -0x258(%rbp)
movl $0x10, %edi
movl $0x8, %esi
callq 0xb6f0
movl %eax, -0x24c(%rbp)
jmp 0x100f5
movl -0x24c(%rbp), %edx
movq -0x258(%rbp), %rsi
leaq -0x1c8(%rbp), %rdi
callq 0x3510
jmp 0x10110
leaq -0x1e0(%rbp), %rdi
callq 0xb710
leaq -0x200(%rbp), %rdi
callq 0x3450
leaq -0x1c8(%rbp), %rdi
leaq -0x200(%rbp), %rsi
callq 0x33e0
movq %rax, -0x260(%rbp)
jmp 0x10144
movq -0x260(%rbp), %rdi
movq (%rdi), %rax
movq -0x18(%rax), %rax
addq %rax, %rdi
callq 0x33d0
movb %al, -0x261(%rbp)
jmp 0x10162
movb -0x261(%rbp), %al
testb $0x1, %al
jne 0x1016e
jmp 0x101c1
leaq -0x1e0(%rbp), %rdi
leaq -0x200(%rbp), %rsi
callq 0xb730
jmp 0x10183
jmp 0x10128
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
leaq -0x29(%rbp), %rdi
callq 0x3340
jmp 0x1036b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
jmp 0x10362
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
jmp 0x1033e
leaq -0x230(%rbp), %rdi
leaq -0x1e0(%rbp), %rsi
callq 0xb530
jmp 0x101d6
leaq -0x218(%rbp), %rdi
leaq -0x230(%rbp), %rsi
callq 0x11360
jmp 0x101eb
leaq -0x230(%rbp), %rdi
callq 0xb620
movl $0x0, -0x234(%rbp)
movl -0x234(%rbp), %eax
movq %rax, -0x270(%rbp)
leaq -0x218(%rbp), %rdi
callq 0xb7a0
movq %rax, %rcx
movq -0x270(%rbp), %rax
cmpq %rcx, %rax
jae 0x102e6
cmpl $0x0, -0x234(%rbp)
jbe 0x102d0
movl -0x234(%rbp), %eax
decl %eax
movl %eax, %esi
leaq -0x218(%rbp), %rdi
callq 0xb4b0
movq %rax, %rdi
leaq 0x3e03(%rip), %rsi      # 0x1405d
callq 0xb390
movb %al, -0x271(%rbp)
jmp 0x10267
movb -0x271(%rbp), %al
testb $0x1, %al
jne 0x10273
jmp 0x102ce
movl -0x234(%rbp), %eax
movl %eax, %esi
leaq -0x218(%rbp), %rdi
callq 0xb4b0
movq %rax, %rsi
leaq -0x28(%rbp), %rdi
callq 0x3050
jmp 0x10295
jmp 0x102e6
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
leaq -0x230(%rbp), %rdi
callq 0xb620
jmp 0x1033e
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
leaq -0x218(%rbp), %rdi
callq 0xb620
jmp 0x1033e
jmp 0x102d0
jmp 0x102d2
movl -0x234(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x234(%rbp)
jmp 0x10201
movq -0x248(%rbp), %rdi
addq $0x48, %rdi
leaq -0x28(%rbp), %rsi
callq 0x3050
jmp 0x102fc
leaq -0x218(%rbp), %rdi
callq 0xb620
leaq -0x200(%rbp), %rdi
callq 0x31e0
leaq -0x1e0(%rbp), %rdi
callq 0xb620
leaq -0x1c8(%rbp), %rdi
callq 0x3230
leaq -0x28(%rbp), %rdi
callq 0x31e0
addq $0x280, %rsp            # imm = 0x280
popq %rbp
retq
leaq -0x200(%rbp), %rdi
callq 0x31e0
leaq -0x1e0(%rbp), %rdi
callq 0xb620
leaq -0x1c8(%rbp), %rdi
callq 0x3230
leaq -0x28(%rbp), %rdi
callq 0x31e0
movq -0x38(%rbp), %rdi
callq 0x3580
nopw %cs:(%rax,%rax)