// File: ncbi[P]amr/common.cpp
// Function: Common_sp::ShellApplication::initVar()
void ShellApplication::initVar () 
{
  ASSERT (tmp. empty ());  
  if (useTmp)
    tmp = makeTempDir ();
  
  stderr. quiet = getQuiet ();

  startTime = time (NULL);
  stderr << "Running: " << colorize_raw (getCommandLine (), Color::yellow, false, ! isRedirected (cerr)) << '\n';  

  // threads_max
  if (threadsUsed)
  {
    const size_t threads_max_max = get_threads_max_max ();
    if (threads_max > threads_max_max)
    {
      stderr << "The number of threads cannot be greater than " << threads_max_max << " on this computer" << '\n'
             << "The current number of threads is " << threads_max << ", reducing to " << threads_max_max << '\n';
      threads_max = threads_max_max;
    }
  }
}

// Assembly:
subq $0x1e8, %rsp            # imm = 0x1E8
movq %rdi, 0x1e0(%rsp)
movq 0x1e0(%rsp), %rax
movq %rax, 0x40(%rsp)
callq 0xc090
movq 0x40(%rsp), %rdi
movl $0x0, (%rax)
addq $0x168, %rdi            # imm = 0x168
callq 0xcc10
testb $0x1, %al
jne 0x6ffd7
callq 0xc8c0
cmpl $0x0, %eax
jne 0x6ffcd
leaq 0x13f(%rsp), %rdi
movq %rdi, 0x38(%rsp)
callq 0xcd00
movq 0x38(%rsp), %rdx
leaq 0x5dc9d(%rip), %rsi     # 0xcda19
leaq 0x140(%rsp), %rdi
callq 0x29fd0
jmp 0x6fd8b
leaq 0x108(%rsp), %rdi
movl $0x10d7, %esi           # imm = 0x10D7
callq 0x2ded0
jmp 0x6fd9f
leaq 0x160(%rsp), %rdi
leaq 0x140(%rsp), %rsi
leaq 0x108(%rsp), %rdx
callq 0x2dde0
jmp 0x6fdbe
leaq 0x5bddc(%rip), %rdx     # 0xcbba1
leaq 0x180(%rsp), %rdi
leaq 0x160(%rsp), %rsi
callq 0x2a2f0
jmp 0x6fddc
leaq 0xc7(%rsp), %rdi
movq %rdi, 0x30(%rsp)
callq 0xcd00
movq 0x30(%rsp), %rdx
leaq 0x5fdb0(%rip), %rsi     # 0xcfbaa
leaq 0xc8(%rsp), %rdi
callq 0x29fd0
jmp 0x6fe09
leaq 0x5dc06(%rip), %rdx     # 0xcda16
leaq 0xe8(%rsp), %rdi
leaq 0xc8(%rsp), %rsi
callq 0x2a2f0
jmp 0x6fe27
leaq 0x1a0(%rsp), %rdi
leaq 0x180(%rsp), %rsi
leaq 0xe8(%rsp), %rdx
callq 0x2dde0
jmp 0x6fe46
leaq 0x5ffcf(%rip), %rdx     # 0xcfe1c
leaq 0x1c0(%rsp), %rdi
leaq 0x1a0(%rsp), %rsi
callq 0x2a2f0
jmp 0x6fe64
leaq 0x1c0(%rsp), %rdi
callq 0x3e9b0
jmp 0x6fe73
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x130(%rsp)
movl %eax, 0x12c(%rsp)
jmp 0x6ffbb
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x130(%rsp)
movl %eax, 0x12c(%rsp)
jmp 0x6ffae
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x130(%rsp)
movl %eax, 0x12c(%rsp)
jmp 0x6ffa1
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x130(%rsp)
movl %eax, 0x12c(%rsp)
jmp 0x6ff94
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x130(%rsp)
movl %eax, 0x12c(%rsp)
jmp 0x6ff7a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x130(%rsp)
movl %eax, 0x12c(%rsp)
jmp 0x6ff6d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x130(%rsp)
movl %eax, 0x12c(%rsp)
jmp 0x6ff60
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x130(%rsp)
movl %eax, 0x12c(%rsp)
jmp 0x6ff53
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x130(%rsp)
movl %eax, 0x12c(%rsp)
leaq 0x1c0(%rsp), %rdi
callq 0xce98
leaq 0x1a0(%rsp), %rdi
callq 0xce98
leaq 0xe8(%rsp), %rdi
callq 0xce98
leaq 0xc8(%rsp), %rdi
callq 0xce98
leaq 0xc7(%rsp), %rdi
callq 0xc7a0
leaq 0x180(%rsp), %rdi
callq 0xce98
leaq 0x160(%rsp), %rdi
callq 0xce98
leaq 0x108(%rsp), %rdi
callq 0xce98
leaq 0x140(%rsp), %rdi
callq 0xce98
leaq 0x13f(%rsp), %rdi
callq 0xc7a0
jmp 0x7020a
movl $0x1, %edi
callq 0xc8d0
movq 0x40(%rsp), %rax
testb $0x1, 0x160(%rax)
je 0x70018
leaq 0xa0(%rsp), %rdi
callq 0x45ec0
movq 0x40(%rsp), %rdi
addq $0x168, %rdi            # imm = 0x168
leaq 0xa0(%rsp), %rsi
callq 0xc8f0
leaq 0xa0(%rsp), %rdi
callq 0xce98
callq 0x2e7b0
movb %al, %cl
movq 0x40(%rsp), %rax
movq %rax, %rdx
addq $0x1b8, %rdx            # imm = 0x1B8
movq %rdx, 0x10(%rsp)
movb %cl, 0x1b8(%rax)
xorl %eax, %eax
movl %eax, 0x2c(%rsp)
movl %eax, %edi
callq 0xc6c0
movq 0x10(%rsp), %rdi
movq %rax, %rcx
movq 0x40(%rsp), %rax
movq %rcx, 0x1c0(%rax)
leaq 0x5fb7d(%rip), %rsi     # 0xcfbde
callq 0x310a0
movq %rax, 0x18(%rsp)
leaq 0x60(%rsp), %rdi
movq %rdi, 0x20(%rsp)
callq 0x3ccf0
movq 0x95f67(%rip), %rdi     # 0x105fe8
callq 0x3ee30
movq 0x20(%rsp), %rsi
movl 0x2c(%rsp), %ecx
xorb $0x1, %al
movzbl %al, %r8d
leaq 0x80(%rsp), %rdi
movl $0x21, %edx
callq 0x30c40
jmp 0x700a9
movq 0x18(%rsp), %rdi
leaq 0x80(%rsp), %rsi
callq 0x2da80
movq %rax, 0x8(%rsp)
jmp 0x700c2
movq 0x8(%rsp), %rdi
movb $0xa, 0x5f(%rsp)
leaq 0x5f(%rsp), %rsi
callq 0x2db20
jmp 0x700d8
leaq 0x80(%rsp), %rdi
callq 0xce98
leaq 0x60(%rsp), %rdi
callq 0xce98
movq 0x40(%rsp), %rax
testb $0x1, 0xaa(%rax)
je 0x70202
callq 0x3d1d0
movq %rax, 0x50(%rsp)
movq 0x96666(%rip), %rax     # 0x106778
cmpq 0x50(%rsp), %rax
jbe 0x70200
movq 0x40(%rsp), %rdi
addq $0x1b8, %rdi            # imm = 0x1B8
leaq 0x5fab8(%rip), %rsi     # 0xcfbe8
callq 0x777d0
movq %rax, %rdi
leaq 0x50(%rsp), %rsi
callq 0x77820
movq %rax, %rdi
leaq 0x5faca(%rip), %rsi     # 0xcfc16
callq 0x77880
movq %rax, %rdi
movb $0xa, 0x4f(%rsp)
leaq 0x4f(%rsp), %rsi
callq 0x2db20
movq %rax, %rdi
leaq 0x5fabb(%rip), %rsi     # 0xcfc28
callq 0x778d0
movq %rax, %rdi
leaq 0x965fc(%rip), %rsi     # 0x106778
callq 0x77820
movq %rax, %rdi
leaq 0x5fabf(%rip), %rsi     # 0xcfc4a
callq 0x77920
movq %rax, %rdi
leaq 0x50(%rsp), %rsi
callq 0x77820
movq %rax, %rdi
movb $0xa, 0x4e(%rsp)
leaq 0x4e(%rsp), %rsi
callq 0x2db20
movq 0x50(%rsp), %rax
movq %rax, 0x965bd(%rip)     # 0x106778
jmp 0x70200
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x130(%rsp)
movl %eax, 0x12c(%rsp)
jmp 0x701f4
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x130(%rsp)
movl %eax, 0x12c(%rsp)
leaq 0x80(%rsp), %rdi
callq 0xce98
leaq 0x60(%rsp), %rdi
callq 0xce98
jmp 0x7020a
jmp 0x70202
addq $0x1e8, %rsp            # imm = 0x1E8
retq
movq 0x130(%rsp), %rdi
callq 0xccf0
nopw (%rax,%rax)