// File: /workspace/github_cpp_makefile_star2_O3/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 %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movq 0x533a(%rip), %rsi      # 0x10448
movq 0x533b(%rip), %rcx      # 0x10450
movq %r14, %rdi
xorl %edx, %edx
callq 0x34e0
cmpq $-0x1, %rax
je 0xb4ad
leaq 0x28(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
movq %rax, %rdx
movq $-0x1, %rcx
callq 0x32b0
movq %r14, %rdi
movq %r15, %rsi
callq 0x3360
movq (%r15), %rdi
leaq 0x38(%rsp), %r13
cmpq %r13, %rdi
je 0xb168
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x3290
leaq 0x10c8(%rip), %rsi      # 0xc237
movl $0x1, %ecx
movq %r14, %rdi
xorl %edx, %edx
callq 0x3420
leaq 0x28(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
xorl %edx, %edx
movq %rax, %rcx
callq 0x32b0
movq %r14, %rdi
movq %r15, %rsi
callq 0x3360
movq (%r15), %rdi
cmpq %r13, %rdi
je 0xb1b3
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x3290
movq 0x528e(%rip), %rsi      # 0x10448
movq 0x528f(%rip), %rcx      # 0x10450
movq %r14, %rdi
movq $-0x1, %rdx
callq 0x34a0
leaq 0x1(%rax), %rcx
leaq 0x28(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
xorl %edx, %edx
callq 0x32b0
movq %r14, %rdi
movq %r15, %rsi
callq 0x3360
movq (%r15), %rdi
cmpq %r13, %rdi
je 0xb206
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x3290
cmpq $0x0, 0x8(%r14)
je 0xb4ad
leaq 0x18(%rsp), %rbp
movq %rbp, -0x10(%rbp)
xorl %eax, %eax
movq %rax, -0x8(%rbp)
movb %al, (%rbp)
leaq 0x78(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
movq 0x520f(%rip), %rsi      # 0x10448
movq 0x5210(%rip), %rcx      # 0x10450
movq %r14, %rdi
xorl %edx, %edx
callq 0x3420
cmpq $-0x1, %rax
je 0xb2ea
movq %rax, %r15
leaq 0x28(%rsp), %rdi
movq %r14, %rsi
xorl %edx, %edx
movq %rax, %rcx
callq 0x32b0
leaq 0x8(%rsp), %rdi
leaq 0x28(%rsp), %r12
movq %r12, %rsi
callq 0x3360
movq (%r12), %rdi
cmpq %r13, %rdi
je 0xb291
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x3290
movq 0x51b0(%rip), %rsi      # 0x10448
movq 0x51b1(%rip), %rcx      # 0x10450
movq %r14, %rdi
movq %r15, %rdx
callq 0x34e0
leaq 0x28(%rsp), %rdi
movq %r14, %rsi
movq %rax, %rdx
movq $-0x1, %rcx
callq 0x32b0
leaq 0x68(%rsp), %rdi
leaq 0x28(%rsp), %r14
movq %r14, %rsi
callq 0x3360
movq (%r14), %rdi
cmpq %r13, %rdi
je 0xb2f7
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x3290
jmp 0xb2f7
leaq 0x8(%rsp), %rdi
movq %r14, %rsi
callq 0x3190
movq 0x10(%rsp), %r14
cmpq 0x50ad(%rip), %r14      # 0x103b0
jne 0xb32a
testq %r14, %r14
je 0xb40b
movq 0x5093(%rip), %rsi      # 0x103a8
movq 0x8(%rsp), %rdi
movq %r14, %rdx
callq 0x32a0
testl %eax, %eax
je 0xb40b
cmpq 0x509f(%rip), %r14      # 0x103d0
jne 0xb358
testq %r14, %r14
je 0xb40b
movq 0x5085(%rip), %rsi      # 0x103c8
movq 0x8(%rsp), %rdi
movq %r14, %rdx
callq 0x32a0
testl %eax, %eax
je 0xb40b
cmpq 0x5091(%rip), %r14      # 0x103f0
jne 0xb386
testq %r14, %r14
je 0xb40b
movq 0x5077(%rip), %rsi      # 0x103e8
movq 0x8(%rsp), %rdi
movq %r14, %rdx
callq 0x32a0
testl %eax, %eax
je 0xb40b
cmpq 0x5083(%rip), %r14      # 0x10410
jne 0xb3ac
testq %r14, %r14
je 0xb40b
movq 0x506d(%rip), %rsi      # 0x10408
movq 0x8(%rsp), %rdi
movq %r14, %rdx
callq 0x32a0
testl %eax, %eax
je 0xb40b
cmpq 0x507d(%rip), %r14      # 0x10430
jne 0xb47a
testq %r14, %r14
je 0xb3da
movq 0x5063(%rip), %rsi      # 0x10428
movq 0x8(%rsp), %rdi
movq %r14, %rdx
callq 0x32a0
testl %eax, %eax
jne 0xb47a
leaq 0x28(%rsp), %rdi
leaq 0x8(%rsp), %rsi
leaq 0x68(%rsp), %rdx
callq 0x7640
addq $0x20, %rbx
leaq 0x28(%rsp), %rsi
movq %rbx, %rdi
callq 0x7770
leaq 0x28(%rsp), %rdi
callq 0x76a4
jmp 0xb47a
addq $0x20, %rbx
leaq 0x8(%rsp), %rsi
movq %rbx, %rdi
callq 0xb844
movq %rbx, %rdi
movq %rax, %rsi
callq 0xb8f8
leaq 0x28(%rsp), %rdi
leaq 0x8(%rsp), %rsi
leaq 0x68(%rsp), %rdx
callq 0x7640
leaq 0x28(%rsp), %rsi
movq %rbx, %rdi
callq 0x7770
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xb463
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x3290
movq 0x28(%rsp), %rdi
cmpq %r13, %rdi
je 0xb47a
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x3290
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0xb496
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x3290
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
je 0xb4ad
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3290
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0xb4c7
jmp 0xb4d8
jmp 0xb4d8
jmp 0xb4d8
movq %rax, %rbx
leaq 0x28(%rsp), %rdi
callq 0x76a4
jmp 0xb4db
jmp 0xb4d8
movq %rax, %rbx
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0xb4f7
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x3290
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
je 0xb50e
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3290
movq %rbx, %rdi
callq 0x3520