// File: /workspace/github_cpp_makefile_star2_O3/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 0x940b
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
leaq 0x26d0e(%rip), %rdx     # 0x30109
movq %rbx, %rdi
movq %rdx, %rsi
callq 0xa246
jmp 0x9597
movq %rsi, %r14
leaq 0x18(%rsp), %rax
movq %rax, -0x10(%rax)
movq 0x50(%rsi), %rsi
movq 0x58(%r14), %rdx
addq %rsi, %rdx
leaq 0x8(%rsp), %r15
movq %r15, %rdi
callq 0xa1b0
movq 0x8(%r15), %r13
testq %r13, %r13
je 0x9566
leaq 0x8(%r14), %rax
movq %rax, 0x38(%rsp)
movq %r14, 0x40(%rsp)
leaq 0x30(%r14), %rax
movq %rax, 0x30(%rsp)
leaq 0x10(%rbx), %rax
movq %rax, 0x28(%rsp)
xorl %ebp, %ebp
movq 0x8(%rsp), %r14
leaq 0x1(%rbp), %r12
cmpb $0x24, (%r14,%rbp)
jne 0x9558
movq %r12, %r15
cmpq %r13, %r12
jae 0x9496
movq %r12, %r15
movsbl (%r14,%r15), %edi
callq 0x6650
testl %eax, %eax
je 0x9496
incq %r15
cmpq %r13, %r15
jb 0x947d
movq %r13, %r15
subq %rbp, %r15
leaq -0x1(%r15), %rcx
leaq 0x48(%rsp), %r14
movq %r14, %rdi
leaq 0x8(%rsp), %rsi
movq %r12, %rdx
callq 0x66d0
movq 0x40(%rsp), %rdi
movq %r14, %rsi
callq 0xaa3a
movq 0x38(%rsp), %r14
movq %rax, %r13
cmpq %r14, %rax
je 0x94e6
movq 0x40(%r13), %rcx
movq 0x48(%r13), %r8
leaq 0x8(%rsp), %rdi
movq %rbp, %rsi
movq %r15, %rdx
callq 0x6110
jmp 0x953a
leaq 0x68(%rsp), %r15
movq %r15, %rdi
leaq 0x26c15(%rip), %rsi     # 0x3010a
leaq 0x48(%rsp), %rdx
callq 0x9ed9
movq 0x30(%rsp), %rdi
movq %r15, %rsi
callq 0x6370
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0x9520
callq 0x63b0
movq 0x28(%rsp), %rax
movq %rax, (%rbx)
movq %rbx, %rdi
leaq 0x26bd7(%rip), %rdx     # 0x30109
movq %rdx, %rsi
callq 0xa246
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x954e
callq 0x63b0
cmpq %r14, %r13
je 0x95ac
movq 0x10(%rsp), %r13
movq %r12, %rbp
cmpq %r13, %r12
jb 0x945e
jmp 0x9569
xorl %r13d, %r13d
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
movq 0x8(%rsp), %rcx
leaq 0x18(%rsp), %rdx
cmpq %rdx, %rcx
je 0x958d
movq %rcx, (%rbx)
movq 0x18(%rsp), %rax
movq %rax, 0x10(%rbx)
jmp 0x9593
movups (%rdx), %xmm0
movups %xmm0, (%rax)
movq %r13, 0x8(%rbx)
movq %rbx, %rax
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x9597
callq 0x63b0
jmp 0x9597
jmp 0x95c8
jmp 0x95c8
jmp 0x95c8
movq %rax, %rbx
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x95e4
callq 0x63b0
jmp 0x95e4
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x95f8
callq 0x63b0
movq %rbx, %rdi
callq 0x6430