// File: /workspace/github_cpp_makefile_star2_O2/night-shift[P]Srl/src/lib/PJson.cpp
// Function: Srl::PJson::throw_exception(Srl::PJson::State&, Srl::String const&)
void PJson::throw_exception(State& state, const String& info)
{
    auto name = state.name.size > 0
        ? string((const char*)state.name.ptr, state.name.size)
        : "";

    auto msg = "In field " + name + (state.value.data() && state.value.size() > 0
            ? "\' at \'" + string((const char*)state.value.data(), state.value.size()) + "\'."
            : "." );

    throw Exception("Unable to parse JSON document. " + info.unwrap<char>(false) + " " + msg);
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x100, %rsp            # imm = 0x100
movq %rdx, %rbx
movq %rsi, %r14
movq 0x8(%rsi), %rdx
testq %rdx, %rdx
jne 0x1a46a
leaq 0x7478(%rip), %rsi      # 0x218cb
leaq 0x80(%rsp), %rdi
leaq 0xa0(%rsp), %rdx
callq 0x128f0
jmp 0x1a489
movq (%r14), %rsi
leaq 0x90(%rsp), %rax
movq %rax, -0x10(%rax)
addq %rsi, %rdx
leaq 0x80(%rsp), %rdi
callq 0x11480
leaq 0x740b(%rip), %rsi      # 0x2189b
leaq 0x20(%rsp), %rdi
leaq 0x80(%rsp), %rdx
callq 0x11d50
cmpb $0x0, 0x26(%r14)
jne 0x1a4af
movq 0x18(%r14), %rsi
jmp 0x1a4b3
leaq 0x18(%r14), %rsi
testq %rsi, %rsi
je 0x1a4c5
movl 0x20(%r14), %edx
testq %rdx, %rdx
jne 0x1a5ae
leaq 0x73a6(%rip), %rsi      # 0x21872
movq %rsp, %rdi
leaq 0x60(%rsp), %rdx
callq 0x128f0
movb $0x1, %r14b
xorl %ebp, %ebp
leaq 0xa0(%rsp), %rdi
leaq 0x20(%rsp), %rsi
movq %rsp, %rdx
callq 0x11c70
movq %rsp, %rdi
callq 0x12cd8
testb %r14b, %r14b
testb %bpl, %bpl
je 0x1a517
leaq 0x60(%rsp), %rdi
callq 0x12cd8
leaq 0x40(%rsp), %rdi
callq 0x12cd8
leaq 0x20(%rsp), %rdi
callq 0x12cd8
pushq $0x28
popq %rdi
callq 0x115e0
movq %rax, %r14
leaq 0xc0(%rsp), %rdi
movq %rbx, %rsi
xorl %edx, %edx
callq 0x11f30
leaq 0x7367(%rip), %rsi      # 0x218ac
leaq 0xe0(%rsp), %rdi
leaq 0xc0(%rsp), %rdx
callq 0x128a0
leaq 0x7369(%rip), %rdx      # 0x218ca
movq %rsp, %rdi
leaq 0xe0(%rsp), %rsi
callq 0x11250
leaq 0x20(%rsp), %rdi
movq %rsp, %rsi
leaq 0xa0(%rsp), %rdx
callq 0x125a0
movb $0x1, %bpl
leaq 0x20(%rsp), %rsi
movq %r14, %rdi
callq 0x11300
xorl %ebp, %ebp
movq 0x11a49(%rip), %rsi     # 0x2bfe8
movq 0x119a2(%rip), %rdx     # 0x2bf48
movq %r14, %rdi
callq 0x12920
leaq 0x50(%rsp), %rax
movq %rax, -0x10(%rax)
addq %rsi, %rdx
leaq 0x40(%rsp), %rdi
callq 0x11480
leaq 0x72da(%rip), %rsi      # 0x218a5
leaq 0x60(%rsp), %rdi
leaq 0x40(%rsp), %rdx
callq 0x128a0
leaq 0x7290(%rip), %rdx      # 0x21871
movq %rsp, %rdi
leaq 0x60(%rsp), %rsi
callq 0x11250
movb $0x1, %bpl
xorl %r14d, %r14d
jmp 0x1a4de
movq %rax, %rbx
leaq 0x20(%rsp), %rdi
callq 0x12cd8
jmp 0x1a60e
movq %rax, %rbx
movb $0x1, %bpl
movq %rsp, %rdi
callq 0x12cd8
jmp 0x1a61e
movq %rax, %rbx
movb $0x1, %bpl
leaq 0xe0(%rsp), %rdi
callq 0x12cd8
jmp 0x1a638
movq %rax, %rbx
jmp 0x1a67b
movq %rax, %rbx
movb $0x1, %bpl
leaq 0xc0(%rsp), %rdi
callq 0x12cd8
testb %bpl, %bpl
jne 0x1a654
jmp 0x1a65c
movq %rax, %rbx
jmp 0x1a685
movq %rax, %rbx
movq %r14, %rdi
callq 0x119b0
leaq 0xa0(%rsp), %rdi
jmp 0x1a699
jmp 0x1a691
movq %rax, %rbx
movq %rsp, %rdi
callq 0x12cd8
testb %r14b, %r14b
testb %bpl, %bpl
je 0x1a694
leaq 0x60(%rsp), %rdi
callq 0x12cd8
leaq 0x40(%rsp), %rdi
callq 0x12cd8
jmp 0x1a694
movq %rax, %rbx
leaq 0x20(%rsp), %rdi
callq 0x12cd8
jmp 0x1a6a3
movq %rax, %rbx
leaq 0x80(%rsp), %rdi
callq 0x12cd8
movq %rbx, %rdi
callq 0x12990