// File: /workspace/github_cpp_makefile_star2_O1/jliesch[P]ofxget/ofxget.cc
// Function: ofxget::OfxGetContext::request[abi:cxx11]()
string OfxGetContext::request() {
  if (is_error()) return "";
  string subbed = request_template_;
  for (std::size_t i = 0; i < subbed.size(); i++) {
    if (subbed[i] == '$') {
      std::size_t j;
      for (j = i + 1; j < subbed.size(); j++) {
        if (!isupper(subbed[j])) {
          break;
        }
      }
      string var = subbed.substr(i + 1, j - i - 1);
      VarsMap::const_iterator it = vars_map_.find(var);
      if (it != vars_map_.end()) {
        subbed.replace(i, j - i, it->second);
      } else {
        error_string_ = "Unspecified variable: " + var;
        return "";
      }
    }
  }
  return subbed;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq %rdi, %rbx
cmpq $0x0, 0x38(%rsi)
je 0x923f
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
leaq 0x27eda(%rip), %rdx     # 0x31109
movq %rbx, %rdi
movq %rdx, %rsi
callq 0xa06a
jmp 0x93f8
movq %rsi, %rcx
leaq 0x18(%rsp), %rax
movq %rax, -0x10(%rax)
movq 0x50(%rsi), %rsi
movq %rcx, 0x28(%rsp)
movq 0x58(%rcx), %rdx
addq %rsi, %rdx
leaq 0x8(%rsp), %r15
movq %r15, %rdi
callq 0x9fda
movq 0x8(%r15), %r14
testq %r14, %r14
je 0x939e
movq 0x28(%rsp), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x30(%rsp)
addq $0x30, %rax
movq %rax, 0x40(%rsp)
leaq 0x10(%rbx), %rax
movq %rax, 0x38(%rsp)
xorl %r12d, %r12d
movq 0x8(%rsp), %r13
cmpb $0x24, (%r13,%r12)
jne 0x938d
leaq 0x1(%r12), %r15
movq %r15, %rbp
cmpq %r14, %r15
jae 0x92d3
movq %r15, %rbp
movsbl (%r13,%rbp), %edi
callq 0x6650
testl %eax, %eax
je 0x92d3
incq %rbp
cmpq %r14, %rbp
jb 0x92b9
movq %r14, %rbp
subq %r12, %rbp
leaq -0x1(%rbp), %rcx
leaq 0x48(%rsp), %r14
movq %r14, %rdi
leaq 0x8(%rsp), %rsi
movq %r15, %rdx
callq 0x66d0
movq 0x28(%rsp), %rdi
movq %r14, %rsi
callq 0xa858
leaq 0x68(%rsp), %r13
movq %rax, %r15
cmpq 0x30(%rsp), %rax
je 0x9325
movq 0x40(%r15), %rcx
movq 0x48(%r15), %r8
leaq 0x8(%rsp), %rdi
movq %r12, %rsi
movq %rbp, %rdx
callq 0x6110
jmp 0x9372
movq %r13, %rdi
leaq 0x27ddb(%rip), %rsi     # 0x3110a
movq %r14, %rdx
callq 0x9d0b
movq 0x40(%rsp), %rdi
movq %r13, %rsi
callq 0x6370
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0x9358
callq 0x63b0
movq 0x38(%rsp), %rax
movq %rax, (%rbx)
movq %rbx, %rdi
leaq 0x27d9f(%rip), %rdx     # 0x31109
movq %rdx, %rsi
callq 0xa06a
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x9386
callq 0x63b0
cmpq 0x30(%rsp), %r15
je 0x93e4
incq %r12
movq 0x10(%rsp), %r14
cmpq %r14, %r12
jb 0x9298
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
movq 0x8(%rsp), %rcx
leaq 0x18(%rsp), %rdx
cmpq %rdx, %rcx
je 0x93c2
movq %rcx, (%rbx)
movq 0x18(%rsp), %rax
movq %rax, 0x10(%rbx)
jmp 0x93c8
movups (%rdx), %xmm0
movups %xmm0, (%rax)
movq 0x10(%rsp), %rax
movq %rax, 0x8(%rbx)
movq %rdx, 0x8(%rsp)
movq $0x0, 0x10(%rsp)
movb $0x0, 0x18(%rsp)
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x93f8
callq 0x63b0
movq %rbx, %rax
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x9413
jmp 0x9413
jmp 0x9413
movq %rax, %rbx
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x942f
callq 0x63b0
jmp 0x942f
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x9443
callq 0x63b0
movq %rbx, %rdi
callq 0x6430
nop