// File: /workspace/github_cpp_makefile_star2_O1/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 0x157dd
leaq 0xc8(%rsp), %rdi
movq %r15, (%rdi)
leaq 0xa0d3(%rip), %rdx      # 0x1f8ab
movq %rdx, %rsi
jmp 0x157ee
movq (%r14), %rsi
leaq 0xc8(%rsp), %rdi
movq %r15, (%rdi)
addq %rsi, %rdx
callq 0xb2e0
leaq 0xa081(%rip), %rsi      # 0x1f87b
leaq 0x28(%rsp), %rdi
leaq 0xc8(%rsp), %rdx
callq 0xb850
cmpb $0x0, 0x26(%r14)
jne 0x15819
movq 0x18(%r14), %rsi
jmp 0x1581d
leaq 0x18(%r14), %rsi
testq %rsi, %rsi
je 0x1582b
movl 0x20(%r14), %edx
testq %rdx, %rdx
jne 0x158a6
leaq 0x10(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0xa017(%rip), %rsi      # 0x1f852
leaq 0xa011(%rip), %rdx      # 0x1f853
movq %rsp, %rdi
callq 0xb2e0
xorl %ebp, %ebp
leaq 0x38(%rsp), %r12
movq -0x10(%r12), %rcx
movq -0x8(%r12), %r8
movq 0x8(%rsp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %esi
cmpq %r12, %rcx
je 0x15873
movq 0x38(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x15896
leaq 0x10(%rsp), %rdi
movl $0xf, %esi
cmpq %rdi, -0x10(%rdi)
je 0x1588d
movq 0x10(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x15919
movq (%rsp), %rsi
leaq 0x28(%rsp), %rdi
callq 0xb240
jmp 0x15925
leaq 0x98(%rsp), %rax
movq %rax, -0x10(%rax)
addq %rsi, %rdx
leaq 0x88(%rsp), %rdi
callq 0xb2e0
leaq 0x9fbc(%rip), %rsi      # 0x1f885
leaq 0xa8(%rsp), %rdi
leaq 0x88(%rsp), %rdx
callq 0xbe10
leaq 0x9f6c(%rip), %rsi      # 0x1f851
leaq 0xa8(%rsp), %rdi
callq 0xc000
leaq 0x10(%rsp), %rdx
movq %rdx, -0x10(%rdx)
movq (%rax), %rsi
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rsi
jne 0x15ad4
movups (%rcx), %xmm0
movups %xmm0, (%rdx)
jmp 0x15ae0
movq %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 0x15942
movups (%rcx), %xmm0
movups %xmm0, (%rdx)
jmp 0x1594f
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 0x10(%rsp), %r13
movq -0x10(%r13), %rdi
cmpq %r13, %rdi
je 0x15987
movq 0x10(%rsp), %rsi
incq %rsi
callq 0xb940
testb %bpl, %bpl
je 0x159ce
leaq 0xb8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x159ad
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0xb940
leaq 0x98(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x159ce
movq 0x98(%rsp), %rsi
incq %rsi
callq 0xb940
movq 0x28(%rsp), %rdi
cmpq %r12, %rdi
je 0x159e5
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xb940
movl $0x28, %edi
callq 0xb3b0
movq %rax, 0x20(%rsp)
cmpl $0x0, 0x8(%rbx)
leaq 0x78(%rsp), %rax
jne 0x15a17
movq %rax, %r14
movq %rax, 0x68(%rsp)
movq $0x0, 0x70(%rsp)
movb $0x0, 0x78(%rsp)
jmp 0x15a29
movq %rax, %r14
leaq 0x68(%rsp), %rdi
movq %rbx, %rsi
xorl %edx, %edx
callq 0xb9a0
leaq 0x9e5c(%rip), %rsi      # 0x1f88c
leaq 0xe8(%rsp), %rdi
leaq 0x68(%rsp), %rdx
callq 0xbe10
leaq 0x9e61(%rip), %rsi      # 0x1f8aa
leaq 0xe8(%rsp), %rdi
callq 0xc000
movq %r13, (%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
jne 0x15a73
movups (%rcx), %xmm0
movups %xmm0, (%r13)
jmp 0x15a7f
movq %rdx, (%rsp)
movq (%rcx), %rdx
movq %rdx, 0x10(%rsp)
movq 0x8(%rax), %rdx
movq %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 0x20(%rsp), %rdi
callq 0xb1d0
xorl %ebp, %ebp
movq 0x12525(%rip), %rsi     # 0x27fe8
movq 0x1247e(%rip), %rdx     # 0x27f48
movq 0x20(%rsp), %rdi
callq 0xbe60
movq %rsi, (%rsp)
movq (%rcx), %rdx
movq %rdx, 0x10(%rsp)
movq 0x8(%rax), %rdx
movq %rdx, 0x8(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movb $0x1, %bpl
jmp 0x1584c
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %r12, %rdi
je 0x15b22
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xb940
jmp 0x15b22
movq %rax, %rbx
movb $0x1, %bpl
movq (%rsp), %rdi
cmpq %r13, %rdi
je 0x15b4b
movq 0x10(%rsp), %rsi
incq %rsi
callq 0xb940
jmp 0x15b4b
movq %rax, %rbx
movb $0x1, %bpl
jmp 0x15bf6
movq %rax, %rbx
movb $0x1, %bpl
leaq 0xf8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x15b87
movq 0xf8(%rsp), %rsi
incq %rsi
callq 0xb940
jmp 0x15b87
movq %rax, %rbx
movb $0x1, %bpl
jmp 0x15b9e
movq %rax, %rbx
movb $0x1, %bpl
jmp 0x15c1c
movq %rax, %rbx
movb $0x1, %bpl
movq 0x68(%rsp), %rdi
cmpq %r14, %rdi
je 0x15b9e
movq 0x78(%rsp), %rsi
incq %rsi
callq 0xb940
testb %bpl, %bpl
je 0x15bad
movq 0x20(%rsp), %rdi
callq 0xb610
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x15c65
movq 0x58(%rsp), %rsi
jmp 0x15c58
movq %rax, %rbx
movb $0x1, %bpl
jmp 0x15c42
movq %rax, %rbx
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x15bf6
movq 0x10(%rsp), %rsi
incq %rsi
callq 0xb940
jmp 0x15bf6
movq %rax, %rbx
xorl %ebp, %ebp
testb %bpl, %bpl
je 0x15c1c
leaq 0xb8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x15c1c
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0xb940
testb %bpl, %bpl
je 0x15c42
leaq 0x98(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x15c42
movq 0x98(%rsp), %rsi
incq %rsi
callq 0xb940
testb %bpl, %bpl
leaq 0x38(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x15c65
movq 0x38(%rsp), %rsi
incq %rsi
callq 0xb940
jmp 0x15c65
movq %rax, %rbx
movq 0xc8(%rsp), %rdi
cmpq %r15, %rdi
je 0x15c82
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0xb940
movq %rbx, %rdi
callq 0xbe90