// File: /workspace/github_cpp_makefile_star2_O3/Konano[P]UselessDatabase/./json.hpp
// Function: void nlohmann::detail::from_json<nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::adl_serializer>, long double, 0>(nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::adl_serializer> const&, long double&)
void from_json(const BasicJsonType& j, ArithmeticType& val)
{
    switch (static_cast<value_t>(j))
    {
        case value_t::number_unsigned:
        {
            val = static_cast<ArithmeticType>(*j.template get_ptr<const typename BasicJsonType::number_unsigned_t*>());
            break;
        }
        case value_t::number_integer:
        {
            val = static_cast<ArithmeticType>(*j.template get_ptr<const typename BasicJsonType::number_integer_t*>());
            break;
        }
        case value_t::number_float:
        {
            val = static_cast<ArithmeticType>(*j.template get_ptr<const typename BasicJsonType::number_float_t*>());
            break;
        }
        case value_t::boolean:
        {
            val = static_cast<ArithmeticType>(*j.template get_ptr<const typename BasicJsonType::boolean_t*>());
            break;
        }

        default:
            JSON_THROW(type_error::create(302, "type must be number, but is " + std::string(j.type_name())));
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x58, %rsp
movq %rdi, %r14
movzbl (%rdi), %eax
addl $-0x4, %eax
cmpl $0x3, %eax
ja 0x285bd
leaq 0x1865d(%rip), %rcx     # 0x40bc0
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movsbl 0x8(%r14), %eax
movw %ax, 0x6(%rsp)
filds 0x6(%rsp)
jmp 0x285b0
movq 0x8(%r14), %rax
movq %rax, 0x8(%rsp)
xorl %ecx, %ecx
testq %rax, %rax
sets %cl
fildll 0x8(%rsp)
leaq 0x18620(%rip), %rax     # 0x40bb8
fadds (%rax,%rcx,4)
jmp 0x285b0
fldl 0x8(%r14)
jmp 0x285b0
movq 0x8(%r14), %rax
movq %rax, 0x10(%rsp)
fildll 0x10(%rsp)
fstpt (%rsi)
addq $0x58, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movl $0x20, %edi
callq 0x5210
movq %rax, %rbx
movzbl (%r14), %eax
cmpq $0x8, %rax
ja 0x285e1
leaq 0x2a6d5(%rip), %rcx     # 0x52cb0
movq (%rcx,%rax,8), %r14
jmp 0x285e8
leaq 0x14f0d(%rip), %r14     # 0x3d4f5
leaq 0x28(%rsp), %r15
movq %r15, -0x10(%r15)
movq %r14, %rdi
callq 0x51f0
leaq (%rax,%r14), %rdx
leaq 0x18(%rsp), %rdi
movq %r14, %rsi
callq 0xa960
leaq 0x14f08(%rip), %rsi     # 0x3d519
leaq 0x38(%rsp), %rdi
leaq 0x18(%rsp), %rdx
callq 0xbd1e
movb $0x1, %bpl
leaq 0x38(%rsp), %rdx
movq %rbx, %rdi
movl $0x12e, %esi            # imm = 0x12E
callq 0xbb5e
xorl %ebp, %ebp
leaq 0x2a1fa(%rip), %rsi     # 0x52838
leaq -0x16db3(%rip), %rdx    # 0x11892
movq %rbx, %rdi
callq 0x56b0
movq %rax, %r14
leaq 0x48(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2866b
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x53a0
movq 0x18(%rsp), %rdi
cmpq %r15, %rdi
je 0x28682
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x53a0
testb %bpl, %bpl
jne 0x286a8
jmp 0x286b0
movq %rax, %r14
movq 0x18(%rsp), %rdi
cmpq %r15, %rdi
je 0x286a8
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x53a0
jmp 0x286a8
movq %rax, %r14
movq %rbx, %rdi
callq 0x52d0
movq %r14, %rdi
callq 0x56e0