// File: /workspace/github_cpp_makefile_star2_O1/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 0x9e91(%rip), %rax      # 0x28d28
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 0x171c8
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 0x2a9a(%rip), %rsi      # 0x21994
movl $0x9, %edx
movq %r12, %rdi
callq 0xb290
movq 0x10(%rbx), %rax
testq %rax, %rax
je 0x1ef63
cmpb $0x0, (%rax)
je 0x1ef63
leaq 0x2a82(%rip), %rsi      # 0x2199e
movl $0x4, %edx
movq %r12, %rdi
callq 0xb290
movq 0x10(%rbx), %r13
testq %r13, %r13
je 0x1ef4a
movq %r13, %rdi
callq 0xb0d0
movq %r12, %rdi
movq %r13, %rsi
movq %rax, %rdx
callq 0xb290
jmp 0x1ef63
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 0x1efdf
cmpb $0x0, (%rax)
je 0x1efdf
leaq 0x2a2b(%rip), %rsi      # 0x219a3
movl $0x4, %edx
movq %r12, %rdi
callq 0xb290
movq 0x8(%rbx), %r13
testq %r13, %r13
je 0x1efa6
movq %r13, %rdi
callq 0xb0d0
movq %r12, %rdi
movq %r13, %rsi
movq %rax, %rdx
callq 0xb290
jmp 0x1efbf
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 0x1f00a
leaq 0x29bb(%rip), %rsi      # 0x219a8
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 0x1f043
movq 0x20(%rsp), %rsi
incq %rsi
callq 0xb260
movq 0x9f66(%rip), %rsi      # 0x28fb0
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 0x1f07f
movq %rax, %r12
jmp 0x1f0a0
movq %rax, %r12
jmp 0x1f0ce
movq %rax, %r12
movq 0x9f27(%rip), %rsi      # 0x28fb0
leaq 0x30(%rsp), %rdi
callq 0xb1d0
leaq 0xb0(%rsp), %rdi
callq 0xb090
movq (%r15), %rdi
cmpq %rbp, %rdi
je 0x1f0b4
movq (%rbp), %rsi
incq %rsi
callq 0xb260
movq (%r14), %rdi
cmpq 0x8(%rsp), %rdi
je 0x1f0ce
movq 0x8(%rsp), %rax
movq (%rax), %rsi
incq %rsi
callq 0xb260
movq %rbx, %rdi
callq 0xb3d0
movq %r12, %rdi
callq 0xb3b0