// File: /workspace/github_cpp_makefile_star2_O3/swxlion[P]swxJson/src/swxJsonUtils.cpp
// Function: swxJson::JsonError::JsonError(char const*, char const*, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
JsonError::JsonError(const char *filename, const char* function, int32_t lineNumber, const std::string& message):
	_filename(filename), _function(function), _lineNumber(lineNumber), _message(message)
{
	std::stringstream ss;
	ss << "Exception";

	if (_function && _function[0])
		ss << " at " << _function;

	if (_filename && _filename[0])
		ss << " in " << _filename << ':' << _lineNumber;
	
	if (!_message.empty())
		ss << " --- " << _message;

	_what = ss.str();
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1b8, %rsp            # imm = 0x1B8
movq %rdi, %rbx
leaq 0x91e1(%rip), %rax      # 0x27d28
addq $0x10, %rax
movq %rax, (%rdi)
movq %rsi, 0x8(%rdi)
movq %rdx, 0x10(%rdi)
movl %ecx, 0x18(%rdi)
leaq 0x20(%rdi), %r14
leaq 0x30(%rdi), %rax
movq %rax, 0x8(%rsp)
movq %rax, 0x20(%rdi)
movq (%r8), %rsi
movq 0x8(%r8), %rdx
addq %rsi, %rdx
movq %r14, %rdi
callq 0x16f4e
leaq 0x40(%rbx), %r15
leaq 0x50(%rbx), %rbp
movq %rbp, 0x40(%rbx)
movq $0x0, 0x48(%rbx)
movb $0x0, 0x50(%rbx)
leaq 0x30(%rsp), %rdi
callq 0xb1a0
leaq 0x40(%rsp), %r12
leaq 0x1dea(%rip), %rsi      # 0x20994
movl $0x9, %edx
movq %r12, %rdi
callq 0xb290
movq 0x10(%rbx), %rax
testq %rax, %rax
je 0x1ec13
cmpb $0x0, (%rax)
je 0x1ec13
leaq 0x1dd2(%rip), %rsi      # 0x2099e
movl $0x4, %edx
movq %r12, %rdi
callq 0xb290
movq 0x10(%rbx), %r13
testq %r13, %r13
je 0x1ebfa
movq %r13, %rdi
callq 0xb0d0
movq %r12, %rdi
movq %r13, %rsi
movq %rax, %rdx
callq 0xb290
jmp 0x1ec13
movq 0x40(%rsp), %rax
movq -0x18(%rax), %rax
leaq (%r12,%rax), %rdi
movl 0x60(%rsp,%rax), %esi
orl $0x1, %esi
callq 0xb380
movq 0x8(%rbx), %rax
testq %rax, %rax
je 0x1ec8f
cmpb $0x0, (%rax)
je 0x1ec8f
leaq 0x1d7b(%rip), %rsi      # 0x209a3
movl $0x4, %edx
movq %r12, %rdi
callq 0xb290
movq 0x8(%rbx), %r13
testq %r13, %r13
je 0x1ec56
movq %r13, %rdi
callq 0xb0d0
movq %r12, %rdi
movq %r13, %rsi
movq %rax, %rdx
callq 0xb290
jmp 0x1ec6f
movq 0x40(%rsp), %rax
movq -0x18(%rax), %rax
leaq (%r12,%rax), %rdi
movl 0x60(%rsp,%rax), %esi
orl $0x1, %esi
callq 0xb380
leaq 0x10(%rsp), %rsi
movb $0x3a, (%rsi)
movl $0x1, %edx
movq %r12, %rdi
callq 0xb290
movl 0x18(%rbx), %esi
movq %rax, %rdi
callq 0xb3a0
cmpq $0x0, 0x28(%rbx)
je 0x1ecba
leaq 0x1d0b(%rip), %rsi      # 0x209a8
movl $0x5, %edx
movq %r12, %rdi
callq 0xb290
movq 0x20(%rbx), %rsi
movq 0x28(%rbx), %rdx
movq %r12, %rdi
callq 0xb290
leaq 0x48(%rsp), %rsi
leaq 0x10(%rsp), %rdi
callq 0xb320
leaq 0x10(%rsp), %rbx
movq %r15, %rdi
movq %rbx, %rsi
callq 0xb2c0
movq (%rbx), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x1ecf3
movq 0x20(%rsp), %rsi
incq %rsi
callq 0xb260
movq 0x92b6(%rip), %rsi      # 0x27fb0
leaq 0x30(%rsp), %rdi
callq 0xb1d0
leaq 0xb0(%rsp), %rdi
callq 0xb090
addq $0x1b8, %rsp            # imm = 0x1B8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x1ed2f
movq %rax, %r12
jmp 0x1ed50
movq %rax, %r12
jmp 0x1ed7e
movq %rax, %r12
movq 0x9277(%rip), %rsi      # 0x27fb0
leaq 0x30(%rsp), %rdi
callq 0xb1d0
leaq 0xb0(%rsp), %rdi
callq 0xb090
movq (%r15), %rdi
cmpq %rbp, %rdi
je 0x1ed64
movq (%rbp), %rsi
incq %rsi
callq 0xb260
movq (%r14), %rdi
cmpq 0x8(%rsp), %rdi
je 0x1ed7e
movq 0x8(%rsp), %rax
movq (%rax), %rsi
incq %rsi
callq 0xb260
movq %rbx, %rdi
callq 0xb3d0
movq %r12, %rdi
callq 0xb3b0