// File: /workspace/github_cpp_makefile_star2_O2/tylerkaraszewski[P]Argyle/Config.cpp
// Function: Config::parseLine(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
void Config::parseLine(string line)
{
  size_t front = line.find_first_not_of(S_WHITESPACE);
  if (front == line.npos)
  {
    return;
  }
  line = line.substr(front);
  line = line.substr(0, line.find_first_of("#"));
  line = line.substr(0, line.find_last_not_of(S_WHITESPACE) + 1);
  if (line.empty())
  {
    return;
  }

  // Now leading/trailing whitespace and comments are removed.

  string key;
  string value;
  size_t ws = line.find_first_of(S_WHITESPACE);
  if (ws == line.npos)
  {
    key = line;
  }
  else
  {
    key = line.substr(0, ws);
    value = line.substr(line.find_first_not_of(S_WHITESPACE, ws));
  }

  if ((key == S_KEY_ACCESS_FILE_PATH) ||
      (key == S_KEY_ERROR_FILE_PATH) ||
      (key == S_KEY_RUN_AS_USERNAME) ||
      (key == S_KEY_BASE_PATH)
  )
  {
    m_configValues.erase(key);
    m_configValues.insert(pair<string, string>(key, value));
  }
  else if(key == S_KEY_GONE_PATH)
  {
    m_configValues.insert(pair<string, string>(key, value));
  }
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x5ef5(%rip), %rsi      # 0xe460
movq %r14, %rdi
xorl %edx, %edx
callq 0x3240
cmpq $-0x1, %rax
je 0x8785
leaq 0x28(%rsp), %r12
pushq $-0x1
popq %r15
movq %r12, %rdi
movq %r14, %rsi
movq %rax, %rdx
movq %r15, %rcx
callq 0x32e0
movq %r14, %rdi
movq %r12, %rsi
callq 0x3380
movq %r12, %rdi
callq 0x35d8
leaq 0xc86(%rip), %rsi       # 0x9239
movq %r14, %rdi
xorl %edx, %edx
callq 0x3180
leaq 0x28(%rsp), %r12
movq %r12, %rdi
movq %r14, %rsi
xorl %edx, %edx
movq %rax, %rcx
callq 0x32e0
movq %r14, %rdi
movq %r12, %rsi
callq 0x3380
movq %r12, %rdi
callq 0x35d8
leaq 0x5e74(%rip), %rsi      # 0xe460
movq %r14, %rdi
movq %r15, %rdx
callq 0x3540
leaq 0x1(%rax), %rcx
leaq 0x28(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
xorl %edx, %edx
callq 0x32e0
movq %r14, %rdi
movq %r15, %rsi
callq 0x3380
movq %r15, %rdi
callq 0x35d8
cmpq $0x0, 0x8(%r14)
je 0x8785
leaq 0x18(%rsp), %rax
movq %rax, -0x10(%rax)
andq $0x0, -0x8(%rax)
xorl %ecx, %ecx
movb %cl, (%rax)
leaq 0x78(%rsp), %rax
movq %rax, -0x10(%rax)
andq $0x0, -0x8(%rax)
movb %cl, (%rax)
leaq 0x5e0c(%rip), %rsi      # 0xe460
movq %r14, %rdi
xorl %edx, %edx
callq 0x3280
cmpq $-0x1, %rax
je 0x86d4
movq %rax, %r15
leaq 0x28(%rsp), %rdi
movq %r14, %rsi
xorl %edx, %edx
movq %rax, %rcx
callq 0x32e0
leaq 0x8(%rsp), %rdi
leaq 0x28(%rsp), %r12
movq %r12, %rsi
callq 0x3380
movq %r12, %rdi
callq 0x35d8
leaq 0x5dc6(%rip), %rsi      # 0xe460
movq %r14, %rdi
movq %r15, %rdx
callq 0x3240
leaq 0x28(%rsp), %rdi
pushq $-0x1
popq %rcx
movq %r14, %rsi
movq %rax, %rdx
callq 0x32e0
leaq 0x68(%rsp), %rdi
leaq 0x28(%rsp), %r14
movq %r14, %rsi
callq 0x3380
movq %r14, %rdi
callq 0x35d8
jmp 0x86e1
leaq 0x8(%rsp), %rdi
movq %r14, %rsi
callq 0x31a0
leaq 0x5cd8(%rip), %rsi      # 0xe3c0
leaq 0x8(%rsp), %rdi
callq 0x8879
testb %al, %al
jne 0x8735
leaq 0x5ce3(%rip), %rsi      # 0xe3e0
leaq 0x8(%rsp), %rdi
callq 0x8879
testb %al, %al
jne 0x8735
leaq 0x5cee(%rip), %rsi      # 0xe400
leaq 0x8(%rsp), %rdi
callq 0x8879
testb %al, %al
jne 0x8735
leaq 0x5cf9(%rip), %rsi      # 0xe420
leaq 0x8(%rsp), %rdi
callq 0x8879
testb %al, %al
je 0x8794
addq $0x20, %rbx
leaq 0x8(%rsp), %rsi
movq %rbx, %rdi
callq 0x8ad0
leaq 0x28(%rsp), %rdi
leaq 0x8(%rsp), %rsi
leaq 0x68(%rsp), %rdx
callq 0x5f5c
leaq 0x28(%rsp), %rsi
movq %rbx, %rdi
callq 0x5fa8
leaq 0x28(%rsp), %rdi
callq 0x5f92
leaq 0x68(%rsp), %rdi
callq 0x35d8
leaq 0x8(%rsp), %rdi
callq 0x35d8
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
leaq 0x5ca5(%rip), %rsi      # 0xe440
leaq 0x8(%rsp), %rdi
callq 0x8879
testb %al, %al
je 0x8771
leaq 0x28(%rsp), %rdi
leaq 0x8(%rsp), %rsi
leaq 0x68(%rsp), %rdx
callq 0x5f5c
addq $0x20, %rbx
leaq 0x28(%rsp), %rsi
movq %rbx, %rdi
callq 0x5fa8
jmp 0x8767
jmp 0x87d8
jmp 0x87e9
jmp 0x87e9
jmp 0x87e9
movq %rax, %rbx
leaq 0x28(%rsp), %rdi
callq 0x5f92
jmp 0x87ec
jmp 0x87e9
movq %rax, %rbx
leaq 0x68(%rsp), %rdi
callq 0x35d8
leaq 0x8(%rsp), %rdi
callq 0x35d8
movq %rbx, %rdi
callq 0x3510