// File: /workspace/github_cpp_makefile_star2_O2/ncbi[P]amr/common.cpp
// Function: Common_sp::ShellApplication::uncompress(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) const
string ShellApplication::uncompress (const string &quotedFName,
                                     const string &suffix) const
{
  ASSERT (! tmp. empty ());
  const string res (shellQuote (tmp + "/" + suffix));
  QC_ASSERT (quotedFName != res);
  const string s (unQuote (quotedFName));
  if (isRight (s, ".gz"))  
  {
    exec ("gunzip -c " + quotedFName + " > " + res);
    return res;
  }
  return quotedFName;  
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x148, %rsp            # imm = 0x148
movq %rcx, %r12
movq %rdx, %r14
movq %rsi, %r13
movq %rdi, %rbx
callq 0xb060
andl $0x0, (%rax)
cmpq $0x0, 0x170(%r13)
je 0x3ba1c
movq %rax, %r15
addq $0x168, %r13            # imm = 0x168
leaq 0x20a17(%rip), %rdx     # 0x5c2db
leaq 0x28(%rsp), %rbp
movq %rbp, %rdi
movq %r13, %rsi
callq 0x1c88d
leaq 0x128(%rsp), %rdi
movq %rbp, %rsi
movq %r12, %rdx
callq 0x1cbaf
leaq 0x88(%rsp), %rdi
leaq 0x128(%rsp), %rsi
callq 0x1c554
leaq 0x128(%rsp), %rdi
callq 0xbb68
leaq 0x28(%rsp), %rdi
callq 0xbb68
andl $0x0, (%r15)
leaq 0x88(%rsp), %rsi
movq %r14, %rdi
callq 0x1d401
testb %al, %al
je 0x3baf3
leaq 0x28(%rsp), %rdi
movq %r14, %rsi
callq 0x1d1b7
leaq 0x22456(%rip), %rsi     # 0x5dd99
leaq 0x8(%rsp), %rdi
leaq 0x48(%rsp), %rdx
callq 0x1b7b6
leaq 0x28(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x234ab
movl %eax, %ebp
leaq 0x8(%rsp), %rdi
callq 0xbb68
testb %bpl, %bpl
je 0x3b9e5
leaq 0x22424(%rip), %rsi     # 0x5dd9d
leaq 0x68(%rsp), %rdi
movq %r14, %rdx
callq 0x1b8b7
leaq 0x1f2a7(%rip), %rdx     # 0x5ac34
leaq 0x48(%rsp), %rdi
leaq 0x68(%rsp), %rsi
callq 0x1b92d
leaq 0x8(%rsp), %rdi
leaq 0x48(%rsp), %rsi
leaq 0x88(%rsp), %r14
movq %r14, %rdx
callq 0x1cbaf
leaq 0x4913b(%rip), %rsi     # 0x84af8
leaq 0x8(%rsp), %rdi
callq 0x2812e
leaq 0x8(%rsp), %rdi
callq 0xbb68
leaq 0x48(%rsp), %rdi
callq 0xbb68
leaq 0x68(%rsp), %rdi
callq 0xbb68
movq %rbx, %rdi
movq %r14, %rsi
callq 0xb7b0
leaq 0x28(%rsp), %rdi
callq 0xbb68
leaq 0x88(%rsp), %rdi
callq 0xbb68
movq %rbx, %rax
addq $0x148, %rsp            # imm = 0x148
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0xb6c0
testl %eax, %eax
jne 0x3bbc7
leaq 0x1ff11(%rip), %rsi     # 0x5b941
leaq 0x68(%rsp), %rdi
leaq 0x108(%rsp), %rdx
callq 0x1b7b6
leaq 0xe8(%rsp), %rdi
movl $0x1137, %esi           # imm = 0x1137
callq 0x1caa3
leaq 0x48(%rsp), %rdi
leaq 0x68(%rsp), %rsi
leaq 0xe8(%rsp), %rdx
callq 0x1ca3c
leaq 0x1e171(%rip), %rdx     # 0x59be3
leaq 0x8(%rsp), %rdi
leaq 0x48(%rsp), %rsi
callq 0x1b92d
leaq 0x222a9(%rip), %rsi     # 0x5dd31
leaq 0xa8(%rsp), %rdi
leaq 0x6(%rsp), %rdx
callq 0x1b7b6
leaq 0x1fe9d(%rip), %rdx     # 0x5b93e
leaq 0xc8(%rsp), %rdi
leaq 0xa8(%rsp), %rsi
callq 0x1b92d
leaq 0x28(%rsp), %rdi
leaq 0x8(%rsp), %rsi
leaq 0xc8(%rsp), %rdx
callq 0x1ca3c
leaq 0x2221d(%rip), %rdx     # 0x5dcf1
leaq 0x88(%rsp), %rdi
leaq 0x28(%rsp), %rsi
callq 0x1b92d
leaq 0x88(%rsp), %rdi
callq 0x224fc
callq 0xb6c0
testl %eax, %eax
jne 0x3bbc7
leaq 0x1fe3a(%rip), %rsi     # 0x5b941
leaq 0xe8(%rsp), %rdi
leaq 0x6(%rsp), %rdx
callq 0x1b7b6
leaq 0xc8(%rsp), %rdi
movl $0x1139, %esi           # imm = 0x1139
callq 0x1caa3
leaq 0x68(%rsp), %rdi
leaq 0xe8(%rsp), %rsi
leaq 0xc8(%rsp), %rdx
callq 0x1ca3c
leaq 0x1e097(%rip), %rdx     # 0x59be3
leaq 0x48(%rsp), %rdi
leaq 0x68(%rsp), %rsi
callq 0x1b92d
leaq 0x221cf(%rip), %rsi     # 0x5dd31
leaq 0x108(%rsp), %rdi
leaq 0x7(%rsp), %rdx
callq 0x1b7b6
leaq 0x1fdc3(%rip), %rdx     # 0x5b93e
leaq 0xa8(%rsp), %rdi
leaq 0x108(%rsp), %rsi
callq 0x1b92d
leaq 0x8(%rsp), %rdi
leaq 0x48(%rsp), %rsi
leaq 0xa8(%rsp), %rdx
callq 0x1ca3c
leaq 0x221d8(%rip), %rdx     # 0x5dd86
leaq 0x28(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x1b92d
leaq 0x28(%rsp), %rdi
callq 0x224fc
pushq $0x1
popq %rdi
callq 0xb6d0
movq %rax, %rbx
leaq 0x28(%rsp), %rdi
callq 0xbb68
jmp 0x3bbe1
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0xbb68
jmp 0x3bc11
movq %rax, %rbx
leaq 0x88(%rsp), %rdi
callq 0xbb68
jmp 0x3bc02
movq %rax, %rbx
leaq 0x28(%rsp), %rdi
callq 0xbb68
jmp 0x3bc23
movq %rax, %rbx
leaq 0xa8(%rsp), %rdi
callq 0xbb68
jmp 0x3bc35
movq %rax, %rbx
leaq 0xc8(%rsp), %rdi
callq 0xbb68
jmp 0x3bc47
movq %rax, %rbx
leaq 0x108(%rsp), %rdi
callq 0xbb68
jmp 0x3bc59
movq %rax, %rbx
leaq 0xa8(%rsp), %rdi
callq 0xbb68
jmp 0x3bc68
movq %rax, %rbx
leaq 0x48(%rsp), %rdi
callq 0xbb68
jmp 0x3bc77
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0xbb68
jmp 0x3bc86
movq %rax, %rbx
leaq 0x68(%rsp), %rdi
callq 0xbb68
jmp 0x3bc95
movq %rax, %rbx
leaq 0x48(%rsp), %rdi
callq 0xbb68
jmp 0x3bca7
movq %rax, %rbx
leaq 0xc8(%rsp), %rdi
callq 0xbb68
jmp 0x3bcb9
movq %rax, %rbx
leaq 0xe8(%rsp), %rdi
callq 0xbb68
jmp 0x3bcc6
movq %rax, %rbx
leaq 0xe8(%rsp), %rdi
jmp 0x3bd17
movq %rax, %rbx
leaq 0x68(%rsp), %rdi
jmp 0x3bd45
jmp 0x3bd26
movq %rax, %rbx
jmp 0x3bd4a
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0xbb68
jmp 0x3bce6
movq %rax, %rbx
leaq 0x48(%rsp), %rdi
callq 0xbb68
jmp 0x3bcf5
movq %rax, %rbx
leaq 0x68(%rsp), %rdi
jmp 0x3bd08
jmp 0x3bd0f
jmp 0x3bd0f
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0xbb68
jmp 0x3bd12
movq %rax, %rbx
leaq 0x28(%rsp), %rdi
callq 0xbb68
leaq 0x88(%rsp), %rdi
jmp 0x3bd45
movq %rax, %rbx
jmp 0x3bd1c
movq %rax, %rbx
leaq 0x128(%rsp), %rdi
callq 0xbb68
jmp 0x3bd40
movq %rax, %rbx
leaq 0x28(%rsp), %rdi
callq 0xbb68
movq %rbx, %rdi
callq 0xba30