// File: /workspace/github_cpp_makefile_star2_O2/ncbi[P]amr/common.cpp
// Function: Common_sp::StringVector::StringVector(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, unsigned long, bool)
StringVector::StringVector (const string &fName,
                            size_t reserve_size,
                            bool trimP)
{
	searchSorted = true;
	
	reserve (reserve_size);
  try
  {
  	LineInput f (fName);
  	string prev;
    while (f. nextLine ())
    {
      if (trimP)
        trim (f. line);
      *this << f. line;
  	  if (f. line < prev)
  	  	searchSorted = false;
      prev = std::move (f. line);
    }
  }
  catch (const exception &e)
  {
    throw runtime_error ("Reading file " + shellQuote (fName) + "\n" + e. what ());
  }  
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x328, %rsp            # imm = 0x328
movl %ecx, %ebp
movq %rsi, %r12
movq %rdi, %rbx
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
andq $0x0, 0x10(%rdi)
movb $0x1, 0x18(%rdi)
movq %rdx, %rsi
callq 0x1e7ce
leaq 0x80(%rsp), %rdi
movq %r12, %rsi
xorl %edx, %edx
callq 0x1d20a
leaq 0x10(%rsp), %rax
movq %rax, -0x10(%rax)
andq $0x0, -0x8(%rax)
movb $0x0, (%rax)
leaq 0x2e8(%rsp), %r14
leaq 0x80(%rsp), %r15
movq %rsp, %r13
movq %r15, %rdi
callq 0x219d4
testb %al, %al
je 0x29b36
testb %bpl, %bpl
je 0x29b0b
movq %r14, %rdi
callq 0x3c32f
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1d1d0
movq %r14, %rdi
movq %r13, %rsi
callq 0x1c260
testb %al, %al
je 0x29b29
movb $0x0, 0x18(%rbx)
movq %r13, %rdi
movq %r14, %rsi
callq 0xb6f0
jmp 0x29af2
movq %rsp, %rdi
callq 0xbb68
leaq 0x80(%rsp), %rdi
callq 0x1d368
addq $0x328, %rsp            # imm = 0x328
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rdx, %r14
movq %rax, %r15
jmp 0x29b88
movq %rax, %r15
jmp 0x29ca2
movq %rdx, %r14
movq %rax, %r15
movq %rsp, %rdi
callq 0xbb68
leaq 0x80(%rsp), %rdi
callq 0x1d368
cmpl $0x1, %r14d
jne 0x29ca2
movq %r15, %rdi
callq 0xb270
movq %rax, %r15
pushq $0x10
popq %rdi
callq 0xb300
movq %rax, %r14
leaq 0x20(%rsp), %rdi
movq %r12, %rsi
callq 0xb7b0
leaq 0x40(%rsp), %rdi
leaq 0x20(%rsp), %rsi
callq 0x1c554
leaq 0x328a9(%rip), %rsi     # 0x5c474
leaq 0x60(%rsp), %rdi
leaq 0x40(%rsp), %rdx
callq 0x1b94c
leaq 0x33d13(%rip), %rdx     # 0x5d8f4
movq %rsp, %rdi
leaq 0x60(%rsp), %rsi
callq 0x1b92d
movq (%r15), %rax
movq %r15, %rdi
callq *0x10(%rax)
leaq 0x80(%rsp), %rdi
movq %rsp, %rsi
movq %rax, %rdx
callq 0x1b92d
movb $0x1, %bpl
leaq 0x80(%rsp), %rsi
movq %r14, %rdi
callq 0xb940
xorl %ebp, %ebp
movq 0x5a3c2(%rip), %rsi     # 0x83fe8
movq 0x5a333(%rip), %rdx     # 0x83f60
movq %r14, %rdi
callq 0xb9d0
movq %rax, %r15
leaq 0x80(%rsp), %rdi
callq 0xbb68
jmp 0x29c4d
movq %rax, %r15
movb $0x1, %bpl
movq %rsp, %rdi
callq 0xbb68
jmp 0x29c5d
movq %rax, %r15
movb $0x1, %bpl
leaq 0x60(%rsp), %rdi
callq 0xbb68
jmp 0x29c6f
movq %rax, %r15
movb $0x1, %bpl
leaq 0x40(%rsp), %rdi
callq 0xbb68
jmp 0x29c81
movq %rax, %r15
movb $0x1, %bpl
leaq 0x20(%rsp), %rdi
callq 0xbb68
testb %bpl, %bpl
jne 0x29c95
jmp 0x29c9d
movq %rax, %r15
movq %r14, %rdi
callq 0xb470
callq 0xb970
movq %rbx, %rdi
callq 0x20bee
movq %r15, %rdi
callq 0xba30
movq %rax, %rdi
callq 0x1bdcd