// File: /workspace/github_cpp_makefile_star2_O3/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 %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x108, %rsp            # imm = 0x108
movq %rdx, %rbx
movq %rsi, %r14
movq 0x8(%rsi), %rdx
leaq 0xd8(%rsp), %r15
testq %rdx, %rdx
jne 0x1568d
leaq 0xc8(%rsp), %rdi
movq %r15, (%rdi)
leaq 0x9223(%rip), %rdx      # 0x1e8ab
movq %rdx, %rsi
jmp 0x1569e
movq (%r14), %rsi
leaq 0xc8(%rsp), %rdi
movq %r15, (%rdi)
addq %rsi, %rdx
callq 0xb2e0
leaq 0x91d1(%rip), %rsi      # 0x1e87b
leaq 0x28(%rsp), %rdi
leaq 0xc8(%rsp), %rdx
callq 0xb850
cmpb $0x0, 0x26(%r14)
jne 0x156c9
movq 0x18(%r14), %rsi
jmp 0x156cd
leaq 0x18(%r14), %rsi
testq %rsi, %rsi
je 0x156df
movl 0x20(%r14), %edx
testq %rdx, %rdx
jne 0x1575f
leaq 0x18(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x9163(%rip), %rsi      # 0x1e852
leaq 0x915d(%rip), %rdx      # 0x1e853
leaq 0x8(%rsp), %rdi
callq 0xb2e0
xorl %ebp, %ebp
leaq 0x38(%rsp), %r12
movq -0x10(%r12), %rcx
movq -0x8(%r12), %r8
movq 0x10(%rsp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %edi
cmpq %r12, %rcx
je 0x15729
movq 0x38(%rsp), %rdi
movq 0x8(%rsp), %rsi
cmpq %rdi, %rax
jbe 0x15750
leaq 0x18(%rsp), %r9
movl $0xf, %edi
cmpq %r9, %rsi
je 0x15747
movq 0x18(%rsp), %rdi
cmpq %rdi, %rax
jbe 0x157d2
leaq 0x28(%rsp), %rdi
callq 0xb240
jmp 0x157e0
leaq 0x98(%rsp), %rax
movq %rax, -0x10(%rax)
addq %rsi, %rdx
leaq 0x88(%rsp), %rdi
callq 0xb2e0
leaq 0x9103(%rip), %rsi      # 0x1e885
leaq 0xa8(%rsp), %rdi
leaq 0x88(%rsp), %rdx
callq 0xbe10
leaq 0x90b3(%rip), %rsi      # 0x1e851
leaq 0xa8(%rsp), %rdi
callq 0xc000
leaq 0x18(%rsp), %rdx
movq %rdx, -0x10(%rdx)
movq (%rax), %rsi
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rsi
jne 0x15983
movups (%rcx), %xmm0
movups %xmm0, (%rdx)
jmp 0x15990
leaq 0x8(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0xba00
leaq 0x58(%rsp), %rdx
movq %rdx, -0x10(%rdx)
movq (%rax), %rsi
leaq 0x10(%rax), %rcx
cmpq %rcx, %rsi
jne 0x157fd
movups (%rcx), %xmm0
movups %xmm0, (%rdx)
jmp 0x1580a
movq %rsi, 0x48(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x58(%rsp)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x50(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0x18(%rsp), %r13
movq -0x10(%r13), %rdi
cmpq %r13, %rdi
je 0x15842
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xb940
testb %bpl, %bpl
je 0x15889
leaq 0xb8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x15868
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0xb940
leaq 0x98(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x15889
movq 0x98(%rsp), %rsi
incq %rsi
callq 0xb940
movq 0x28(%rsp), %rdi
cmpq %r12, %rdi
je 0x158a0
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xb940
movl $0x28, %edi
callq 0xb3b0
movq %rax, %r14
cmpl $0x0, 0x8(%rbx)
jne 0x158c9
leaq 0x78(%rsp), %rax
movq %rax, -0x10(%rax)
movq $0x0, -0x8(%rax)
movb $0x0, (%rax)
jmp 0x158d8
leaq 0x68(%rsp), %rdi
movq %rbx, %rsi
xorl %edx, %edx
callq 0xb9a0
leaq 0x8fad(%rip), %rsi      # 0x1e88c
leaq 0xe8(%rsp), %rdi
leaq 0x68(%rsp), %rdx
callq 0xbe10
leaq 0x8fb2(%rip), %rsi      # 0x1e8aa
leaq 0xe8(%rsp), %rdi
callq 0xc000
movq %r13, 0x8(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x15923
movups (%rcx), %xmm0
movups %xmm0, (%r13)
jmp 0x15930
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
movq 0x8(%rax), %rdx
leaq 0x8(%rsp), %rsi
movq %rdx, 0x8(%rsi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x28(%rsp), %rdi
leaq 0x48(%rsp), %rdx
callq 0xbc70
movb $0x1, %bpl
leaq 0x28(%rsp), %rsi
movq %r14, %rdi
callq 0xb1d0
xorl %ebp, %ebp
movq 0x11674(%rip), %rsi     # 0x26fe8
movq 0x115cd(%rip), %rdx     # 0x26f48
movq %r14, %rdi
callq 0xbe60
movq %rsi, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
movq 0x8(%rax), %rdx
movq %rdx, 0x10(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movb $0x1, %bpl
jmp 0x15702
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %r12, %rdi
je 0x159d2
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xb940
jmp 0x159d2
movq %rax, %rbx
movb $0x1, %bpl
movq 0x8(%rsp), %rdi
cmpq %r13, %rdi
je 0x159f9
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xb940
jmp 0x159f9
movq %rax, %rbx
jmp 0x15aad
movq %rax, %rbx
movb $0x1, %bpl
leaq 0xf8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x15a1a
movq 0xf8(%rsp), %rsi
incq %rsi
callq 0xb940
leaq 0x78(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x15a35
movq 0x78(%rsp), %rsi
incq %rsi
callq 0xb940
testb %bpl, %bpl
jne 0x15a67
jmp 0x15a6f
movq %rax, %rbx
jmp 0x15a67
movq %rax, %rbx
jmp 0x15ace
movq %rax, %rbx
leaq 0x78(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x15a67
movq 0x78(%rsp), %rsi
incq %rsi
callq 0xb940
movq %r14, %rdi
callq 0xb610
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x15b14
movq 0x58(%rsp), %rsi
jmp 0x15b07
jmp 0x15af1
movq %rax, %rbx
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x15aa8
movq 0x18(%rsp), %rsi
incq %rsi
callq 0xb940
testb %bpl, %bpl
je 0x15af4
leaq 0xb8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x15ace
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0xb940
leaq 0x98(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x15af4
movq 0x98(%rsp), %rsi
incq %rsi
callq 0xb940
jmp 0x15af4
movq %rax, %rbx
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x15b14
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xb940
jmp 0x15b14
movq %rax, %rbx
movq 0xc8(%rsp), %rdi
cmpq %r15, %rdi
je 0x15b31
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0xb940
movq %rbx, %rdi
callq 0xbe90
nop