// File: /workspace/github_cpp_makefile_star2_O1/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 0x28cb9
leaq 0x18f31(%rip), %rcx     # 0x41b90
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movsbl 0x8(%r14), %eax
movw %ax, 0x6(%rsp)
filds 0x6(%rsp)
jmp 0x28cac
movq 0x8(%r14), %rax
movq %rax, 0x8(%rsp)
xorl %ecx, %ecx
testq %rax, %rax
sets %cl
fildll 0x8(%rsp)
leaq 0x18ef4(%rip), %rax     # 0x41b88
fadds (%rax,%rcx,4)
jmp 0x28cac
fldl 0x8(%r14)
jmp 0x28cac
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 0x28cdd
leaq 0x2afd9(%rip), %rcx     # 0x53cb0
movq (%rcx,%rax,8), %r14
jmp 0x28ce4
leaq 0x15814(%rip), %r14     # 0x3e4f8
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 0xaccc
leaq 0x1580f(%rip), %rsi     # 0x3e51c
leaq 0x38(%rsp), %rdi
leaq 0x18(%rsp), %rdx
callq 0xc0ee
movb $0x1, %bpl
leaq 0x38(%rsp), %rdx
movq %rbx, %rdi
movl $0x12e, %esi            # imm = 0x12E
callq 0xbf2e
xorl %ebp, %ebp
leaq 0x2aafe(%rip), %rsi     # 0x53838
leaq -0x16f35(%rip), %rdx    # 0x11e0c
movq %rbx, %rdi
callq 0x56b0
movq %rax, %r14
leaq 0x48(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x28d6f
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x53a0
jmp 0x28d6f
movq %rax, %r14
movb $0x1, %bpl
movq 0x18(%rsp), %rdi
cmpq %r15, %rdi
je 0x28d8e
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x53a0
jmp 0x28d8e
movq %rax, %r14
movb $0x1, %bpl
testb %bpl, %bpl
je 0x28d9b
movq %rbx, %rdi
callq 0x52d0
movq %r14, %rdi
callq 0x56e0
nop