// File: tomfunkhouser[P]gaps/pkgs/RNBasics/json.cpp
// Function: Json::Reader::getFormattedErrorMessages[abi:cxx11]() const
std::string Reader::getFormattedErrorMessages() const {
  std::string formattedMessage;
  for (Errors::const_iterator itError = errors_.begin();
       itError != errors_.end();
       ++itError) {
    const ErrorInfo& error = *itError;
    formattedMessage +=
        "* " + getLocationLineAndColumn(error.token_.start_) + "\n";
    formattedMessage += "  " + error.message_ + "\n";
    if (error.extra_)
      formattedMessage +=
          "See " + getLocationLineAndColumn(error.extra_) + " for detail.\n";
  }
  return formattedMessage;
}

// Assembly:
subq $0x188, %rsp            # imm = 0x188
movq %rdi, (%rsp)
movq %rdi, %rax
movq %rax, 0x8(%rsp)
movq %rdi, 0x180(%rsp)
movq %rsi, 0x178(%rsp)
movq 0x178(%rsp), %rax
movq %rax, 0x10(%rsp)
movb $0x0, 0x177(%rsp)
callq 0x129f0
movq 0x10(%rsp), %rsi
addq $0x50, %rsi
leaq 0x150(%rsp), %rdi
callq 0xf9520
movq 0x10(%rsp), %rsi
addq $0x50, %rsi
leaq 0x130(%rsp), %rdi
callq 0xf9580
leaq 0x150(%rsp), %rdi
leaq 0x130(%rsp), %rsi
callq 0xf9550
testb $0x1, %al
jne 0xe4427
jmp 0xe4708
leaq 0x150(%rsp), %rdi
callq 0xf95b0
movq 0x10(%rsp), %rsi
movq %rax, 0x128(%rsp)
movq 0x128(%rsp), %rax
movq 0x8(%rax), %rdx
leaq 0xc8(%rsp), %rdi
callq 0xe42a0
jmp 0xe445c
leaq 0x860aa(%rip), %rsi     # 0x16a50d
leaq 0xe8(%rsp), %rdi
leaq 0xc8(%rsp), %rdx
callq 0xf93a0
jmp 0xe447a
leaq 0x88ac1(%rip), %rdx     # 0x16cf42
leaq 0x108(%rsp), %rdi
leaq 0xe8(%rsp), %rsi
callq 0x228f0
jmp 0xe4498
movq (%rsp), %rdi
leaq 0x108(%rsp), %rsi
callq 0x12910
jmp 0xe44ab
leaq 0x108(%rsp), %rdi
callq 0x12430
leaq 0xe8(%rsp), %rdi
callq 0x12430
leaq 0xc8(%rsp), %rdi
callq 0x12430
movq 0x128(%rsp), %rdx
addq $0x18, %rdx
leaq 0x84dc9(%rip), %rsi     # 0x1692ae
leaq 0x78(%rsp), %rdi
callq 0xf95c0
jmp 0xe44f1
leaq 0x88a4a(%rip), %rdx     # 0x16cf42
leaq 0x98(%rsp), %rdi
leaq 0x78(%rsp), %rsi
callq 0x228f0
jmp 0xe450c
movq (%rsp), %rdi
leaq 0x98(%rsp), %rsi
callq 0x12910
jmp 0xe451f
leaq 0x98(%rsp), %rdi
callq 0x12430
leaq 0x78(%rsp), %rdi
callq 0x12430
movq 0x128(%rsp), %rax
cmpq $0x0, 0x38(%rax)
je 0xe46f4
movq 0x10(%rsp), %rsi
movq 0x128(%rsp), %rax
movq 0x38(%rax), %rdx
leaq 0x18(%rsp), %rdi
callq 0xe42a0
jmp 0xe4566
leaq 0x85fa3(%rip), %rsi     # 0x16a510
leaq 0x38(%rsp), %rdi
leaq 0x18(%rsp), %rdx
callq 0xf93a0
jmp 0xe457e
leaq 0x85f90(%rip), %rdx     # 0x16a515
leaq 0x58(%rsp), %rdi
leaq 0x38(%rsp), %rsi
callq 0x228f0
jmp 0xe4596
movq (%rsp), %rdi
leaq 0x58(%rsp), %rsi
callq 0x12910
jmp 0xe45a6
leaq 0x58(%rsp), %rdi
callq 0x12430
leaq 0x38(%rsp), %rdi
callq 0x12430
leaq 0x18(%rsp), %rdi
callq 0x12430
jmp 0xe46f4
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xc0(%rsp)
movl %eax, 0xbc(%rsp)
jmp 0xe4730
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xc0(%rsp)
movl %eax, 0xbc(%rsp)
jmp 0xe463c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xc0(%rsp)
movl %eax, 0xbc(%rsp)
jmp 0xe462f
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xc0(%rsp)
movl %eax, 0xbc(%rsp)
leaq 0x108(%rsp), %rdi
callq 0x12430
leaq 0xe8(%rsp), %rdi
callq 0x12430
leaq 0xc8(%rsp), %rdi
callq 0x12430
jmp 0xe4730
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xc0(%rsp)
movl %eax, 0xbc(%rsp)
jmp 0xe4685
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xc0(%rsp)
movl %eax, 0xbc(%rsp)
leaq 0x98(%rsp), %rdi
callq 0x12430
leaq 0x78(%rsp), %rdi
callq 0x12430
jmp 0xe4730
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xc0(%rsp)
movl %eax, 0xbc(%rsp)
jmp 0xe46e8
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xc0(%rsp)
movl %eax, 0xbc(%rsp)
jmp 0xe46de
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xc0(%rsp)
movl %eax, 0xbc(%rsp)
leaq 0x58(%rsp), %rdi
callq 0x12430
leaq 0x38(%rsp), %rdi
callq 0x12430
leaq 0x18(%rsp), %rdi
callq 0x12430
jmp 0xe4730
jmp 0xe46f6
leaq 0x150(%rsp), %rdi
callq 0xf96f0
jmp 0xe43f3
movb $0x1, 0x177(%rsp)
testb $0x1, 0x177(%rsp)
jne 0xe4723
movq (%rsp), %rdi
callq 0x12430
movq 0x8(%rsp), %rax
addq $0x188, %rsp            # imm = 0x188
retq
movq (%rsp), %rdi
callq 0x12430
movq 0xc0(%rsp), %rdi
callq 0x12c20
nopw %cs:(%rax,%rax)