// File: 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>, int, 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&, int&)
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
movq %rsp, %rbp
subq $0x90, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rdi
callq 0x1cfb0
addb $-0x4, %al
movzbl %al, %ecx
movq %rcx, -0x70(%rbp)
subb $0x3, %al
ja 0x1ceb2
movq -0x70(%rbp), %rax
leaq 0x612c8(%rip), %rcx     # 0x7e10c
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq -0x8(%rbp), %rdi
callq 0x1cfc0
movq (%rax), %rax
movl %eax, %ecx
movq -0x10(%rbp), %rax
movl %ecx, (%rax)
jmp 0x1cf9a
movq -0x8(%rbp), %rdi
callq 0x1cfe0
movq (%rax), %rax
movl %eax, %ecx
movq -0x10(%rbp), %rax
movl %ecx, (%rax)
jmp 0x1cf9a
movq -0x8(%rbp), %rdi
callq 0x1d000
cvttsd2si (%rax), %ecx
movq -0x10(%rbp), %rax
movl %ecx, (%rax)
jmp 0x1cf9a
movq -0x8(%rbp), %rdi
callq 0x1d020
movb (%rax), %al
andb $0x1, %al
movzbl %al, %ecx
movq -0x10(%rbp), %rax
movl %ecx, (%rax)
jmp 0x1cf9a
movb $0x1, -0x65(%rbp)
movl $0x20, %edi
callq 0x62a0
movq %rax, -0x88(%rbp)
movq -0x8(%rbp), %rdi
callq 0x1b400
movq %rax, -0x80(%rbp)
leaq -0x51(%rbp), %rdi
movq %rdi, -0x78(%rbp)
callq 0x68a0
movq -0x80(%rbp), %rsi
movq -0x78(%rbp), %rdx
leaq -0x50(%rbp), %rdi
callq 0xc020
jmp 0x1cef4
leaq 0x63096(%rip), %rsi     # 0x7ff91
leaq -0x30(%rbp), %rdi
leaq -0x50(%rbp), %rdx
callq 0x150c0
jmp 0x1cf0a
movq -0x88(%rbp), %rdi
movl $0x12e, %esi            # imm = 0x12E
leaq -0x30(%rbp), %rdx
callq 0x14ed0
jmp 0x1cf21
movq -0x88(%rbp), %rdi
movb $0x0, -0x65(%rbp)
leaq 0x93a05(%rip), %rsi     # 0xb0938
leaq -0x7d4a(%rip), %rdx     # 0x151f0
callq 0x6850
jmp 0x1cfac
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x60(%rbp)
movl %eax, -0x64(%rbp)
jmp 0x1cf7b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x60(%rbp)
movl %eax, -0x64(%rbp)
jmp 0x1cf72
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x60(%rbp)
movl %eax, -0x64(%rbp)
leaq -0x30(%rbp), %rdi
callq 0x6340
leaq -0x50(%rbp), %rdi
callq 0x6340
leaq -0x51(%rbp), %rdi
callq 0x6530
testb $0x1, -0x65(%rbp)
jne 0x1cf8c
jmp 0x1cf98
movq -0x88(%rbp), %rdi
callq 0x63a0
jmp 0x1cfa3
addq $0x90, %rsp
popq %rbp
retq
movq -0x60(%rbp), %rdi
callq 0x6890
nopl (%rax)