LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O2/Konano[P]UselessDatabase/./json.hpp
// Function: 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>::operator[](unsigned long)
reference operator[](size_type idx)
    {
        // implicitly convert null value to an empty array
        if (is_null())
        {
            m_type = value_t::array;
            m_value.array = create<array_t>();
            assert_invariant();
        }

        // operator[] only works for arrays
        if (JSON_HEDLEY_LIKELY(is_array()))
        {
            // fill up array with null values if given idx is outside range
            if (idx >= m_value.array->size())
            {
                m_value.array->insert(m_value.array->end(),
                                      idx - m_value.array->size() + 1,
                                      basic_json());
            }

            return m_value.array->operator[](idx);
        }

        JSON_THROW(type_error::create(305, "cannot use operator[] with a numeric argument with " + std::string(type_name())));
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rsi, %rbx
movq %rdi, %r14
movb (%rdi), %al
testb %al, %al
jne 0x7fc0
movb $0x2, (%r14)
callq 0xc470
movq %rax, 0x8(%r14)
movq %r14, %rdi
callq 0xbd38
movb (%r14), %al
cmpb $0x2, %al
jne 0x8031
movq 0x8(%r14), %r15
movq (%r15), %rax
movq 0x8(%r15), %r12
movq %r12, %rcx
subq %rax, %rcx
sarq $0x4, %rcx
cmpq %rbx, %rcx
ja 0x8018
movq %rbx, %r13
subq %rcx, %r13
incq %r13
leaq 0x8(%rsp), %rbp
movq %rbp, %rdi
xorl %esi, %esi
callq 0x7c48
movq %r15, %rdi
movq %r12, %rsi
movq %r13, %rdx
movq %rbp, %rcx
callq 0xcd56
leaq 0x8(%rsp), %rdi
callq 0x7de0
movq 0x8(%r14), %rax
movq (%rax), %rax
shlq $0x4, %rbx
addq %rax, %rbx
movq %rbx, %rax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
pushq $0x20
popq %rdi
callq 0x5240
movq %rax, %rbx
movq %r14, %rdi
callq 0xc6cc
leaq 0x28(%rsp), %rdi
leaq 0x7(%rsp), %rdx
movq %rax, %rsi
callq 0x84b8
leaq 0x2c89e(%rip), %rsi     # 0x348fb
leaq 0x8(%rsp), %rdi
leaq 0x28(%rsp), %rdx
callq 0xaa7f
movb $0x1, %bpl
leaq 0x8(%rsp), %rdx
movq %rbx, %rdi
movl $0x131, %esi            # imm = 0x131
callq 0xa98c
xorl %ebp, %ebp
leaq 0x4790e(%rip), %rsi     # 0x4f998
leaq 0x78d7(%rip), %rdx      # 0xf968
movq %rbx, %rdi
callq 0x56c0
movq %rax, %r14
leaq 0x8(%rsp), %rdi
callq 0x7de0
jmp 0x80d9
movq %rax, %r14
leaq 0x8(%rsp), %rdi
callq 0x5200
jmp 0x80bd
movq %rax, %r14
movb $0x1, %bpl
leaq 0x28(%rsp), %rdi
callq 0x5200
testb %bpl, %bpl
jne 0x80d1
jmp 0x80d9
movq %rax, %r14
movq %rbx, %rdi
callq 0x5300
movq %r14, %rdi
callq 0x56f0
nop
// File: /workspace/github_cpp_makefile_star2_O2/Konano[P]UselessDatabase/Database.cpp
// Function: getch()
inline char getch() {
    struct termios tm, tm_old;
    int fd = 0, ch;
    if (tcgetattr(fd, &tm) < 0) return -1;
    tm_old = tm;
    cfmakeraw(&tm);
    if (tcsetattr(fd, TCSANOW, &tm) < 0) return -1;
    ch = getchar();
    if (tcsetattr(fd, TCSANOW, &tm_old) < 0) return -1;
    return ch;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x80, %rsp
leaq 0x44(%rsp), %rsi
xorl %edi, %edi
callq 0x5460
movb $-0x1, %bl
testl %eax, %eax
js 0x893a
leaq 0x44(%rsp), %r14
movups (%r14), %xmm0
movups 0x10(%r14), %xmm1
movups 0x20(%r14), %xmm2
movups 0x2c(%r14), %xmm3
movups %xmm3, 0x2c(%rsp)
movaps %xmm2, 0x20(%rsp)
movaps %xmm1, 0x10(%rsp)
movaps %xmm0, (%rsp)
movq %r14, %rdi
callq 0x5550
xorl %edi, %edi
xorl %esi, %esi
movq %r14, %rdx
callq 0x54e0
testl %eax, %eax
js 0x893a
callq 0x5540
movl %eax, %ebp
movq %rsp, %rdx
xorl %edi, %edi
xorl %esi, %esi
callq 0x54e0
testl %eax, %eax
movl $0xff, %ebx
cmovnsl %ebp, %ebx
movl %ebx, %eax
addq $0x80, %rsp
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/Konano[P]UselessDatabase/./Any.h
// Function: Any::operator==(Any const&) const
bool operator==(const Any &b) const
    {
        if (isNull() || b.isNull()) {
            if (isNull() && b.isNull()) return true;
            if (isNull() && !b.isNull()) return false;
            if (!isNull() && b.isNull()) return false;
        } else if (b.anyCast<char*>() != nullptr) {
            return *this == (const char*)*b.anyCast<char*>();
        } else if (b.anyCast<int>() != nullptr) {
            return *this == *b.anyCast<int>();
        } else if (b.anyCast<long double>() != nullptr) {
            return *this == *b.anyCast<long double>();
        } else if (b.anyCast<uint32_t>() != nullptr) {
            return *this == *b.anyCast<uint32_t>();
        }
        return false;
    }

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq (%rdi), %rax
testq %rax, %rax
sete %cl
movq (%rsi), %rdx
testq %rdx, %rdx
sete %sil
orb %cl, %sil
orq %rdx, %rax
sete %al
testb %sil, %sil
je 0x92f2
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movq %rdi, %rbx
movq %r14, %rdi
callq 0x9398
testq %rax, %rax
je 0x931c
movq %r14, %rdi
callq 0x9398
movq (%rax), %rsi
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x93ce
movq %r14, %rdi
callq 0x9410
testq %rax, %rax
je 0x9343
movq %r14, %rdi
callq 0x9410
movq %rbx, %rdi
movq %rax, %rsi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x9446
movq %r14, %rdi
callq 0x947e
testq %rax, %rax
je 0x936a
movq %r14, %rdi
callq 0x947e
movq %rbx, %rdi
movq %rax, %rsi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x94b4
movq %r14, %rdi
callq 0x94f8
testq %rax, %rax
je 0x9391
movq %r14, %rdi
callq 0x94f8
movq %rbx, %rdi
movq %rax, %rsi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x952e
xorl %eax, %eax
jmp 0x92ea
// File: /workspace/github_cpp_makefile_star2_O2/Konano[P]UselessDatabase/./json.hpp
// Function: void nlohmann::detail::dtoa_impl::grisu2<double>(char*, int&, int&, double)
JSON_HEDLEY_NON_NULL(1)
void grisu2(char* buf, int& len, int& decimal_exponent, FloatType value)
{
    static_assert(diyfp::kPrecision >= std::numeric_limits<FloatType>::digits + 3,
                  "internal error: not enough precision");

    assert(std::isfinite(value));
    assert(value > 0);

    // If the neighbors (and boundaries) of 'value' are always computed for double-precision
    // numbers, all float's can be recovered using strtod (and strtof). However, the resulting
    // decimal representations are not exactly "short".
    //
    // The documentation for 'std::to_chars' (https://en.cppreference.com/w/cpp/utility/to_chars)
    // says "value is converted to a string as if by std::sprintf in the default ("C") locale"
    // and since sprintf promotes float's to double's, I think this is exactly what 'std::to_chars'
    // does.
    // On the other hand, the documentation for 'std::to_chars' requires that "parsing the
    // representation using the corresponding std::from_chars function recovers value exactly". That
    // indicates that single precision floating-point numbers should be recovered using
    // 'std::strtof'.
    //
    // NB: If the neighbors are computed for single-precision numbers, there is a single float
    //     (7.0385307e-26f) which can't be recovered using strtod. The resulting double precision
    //     value is off by 1 ulp.
#if 0
    const boundaries w = compute_boundaries(static_cast<double>(value));
#else
    const boundaries w = compute_boundaries(value);
#endif

    grisu2(buf, len, decimal_exponent, w.minus, w.w, w.plus);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %xmm0, %rax
btrq $0x3f, %rax
movabsq $0x7ff0000000000000, %rcx # imm = 0x7FF0000000000000
cmpq %rcx, %rax
jge 0xb17b
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jbe 0xb19a
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
leaq 0x28(%rsp), %r12
movq %r12, %rdi
callq 0xb34c
movq 0x10(%r12), %rcx
movl 0x18(%r12), %r8d
movups (%r12), %xmm0
movups 0x20(%r12), %xmm1
movups %xmm1, 0x10(%rsp)
movups %xmm0, (%rsp)
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq 0xb495
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
leaq 0x28ad9(%rip), %rdi     # 0x33c5b
leaq 0x28671(%rip), %rsi     # 0x337fa
leaq 0x28c3b(%rip), %rcx     # 0x33dcb
movl $0x34e1, %edx           # imm = 0x34E1
callq 0x52c0
leaq 0x28c89(%rip), %rdi     # 0x33e2a
leaq 0x28652(%rip), %rsi     # 0x337fa
leaq 0x28c1c(%rip), %rcx     # 0x33dcb
movl $0x34e2, %edx           # imm = 0x34E2
callq 0x52c0
// File: /workspace/github_cpp_makefile_star2_O2/Konano[P]UselessDatabase/./json.hpp
// Function: nlohmann::detail::dtoa_impl::diyfp::normalize(nlohmann::detail::dtoa_impl::diyfp)
static diyfp normalize(diyfp x) noexcept
    {
        assert(x.f != 0);

        while ((x.f >> 63u) == 0)
        {
            x.f <<= 1u;
            x.e--;
        }

        return x;
    }

// Assembly:
testq %rdi, %rdi
jne 0xb5ee
pushq %rax
leaq 0x288be(%rip), %rdi     # 0x33e8f
leaq 0x28222(%rip), %rsi     # 0x337fa
leaq 0x288b9(%rip), %rcx     # 0x33e98
movl $0x31f7, %edx           # imm = 0x31F7
callq 0x52c0
addq %rdi, %rdi
decl %esi
testq %rdi, %rdi
jns 0xb5e9
movq %rdi, %rax
movl %esi, %edx
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/Konano[P]UselessDatabase/./json.hpp
// Function: nlohmann::detail::dtoa_impl::diyfp::normalize_to(nlohmann::detail::dtoa_impl::diyfp const&, int)
static diyfp normalize_to(const diyfp& x, const int target_exponent) noexcept
    {
        const int delta = x.e - target_exponent;

        assert(delta >= 0);
        assert(((x.f << delta) >> delta) == x.f);

        return {x.f << delta, target_exponent};
    }

// Assembly:
pushq %rax
movl 0x8(%rdi), %ecx
subl %esi, %ecx
js 0xb61a
movq (%rdi), %rdx
movq %rdx, %rax
shlq %cl, %rax
movq %rax, %rdi
shrq %cl, %rdi
cmpq %rdx, %rdi
jne 0xb639
movl %esi, %edx
popq %rcx
retq
leaq 0x288b9(%rip), %rdi     # 0x33eda
leaq 0x281d2(%rip), %rsi     # 0x337fa
leaq 0x288b6(%rip), %rcx     # 0x33ee5
movl $0x320a, %edx           # imm = 0x320A
callq 0x52c0
leaq 0x288fd(%rip), %rdi     # 0x33f3d
leaq 0x281b3(%rip), %rsi     # 0x337fa
leaq 0x28897(%rip), %rcx     # 0x33ee5
movl $0x320b, %edx           # imm = 0x320B
callq 0x52c0
// File: /workspace/github_cpp_makefile_star2_O2/Konano[P]UselessDatabase/./json.hpp
// Function: nlohmann::detail::dtoa_impl::find_largest_pow10(unsigned int, unsigned int&)
inline int find_largest_pow10(const std::uint32_t n, std::uint32_t& pow10)
{
    // LCOV_EXCL_START
    if (n >= 1000000000)
    {
        pow10 = 1000000000;
        return 10;
    }
    // LCOV_EXCL_STOP
    else if (n >= 100000000)
    {
        pow10 = 100000000;
        return  9;
    }
    else if (n >= 10000000)
    {
        pow10 = 10000000;
        return  8;
    }
    else if (n >= 1000000)
    {
        pow10 = 1000000;
        return  7;
    }
    else if (n >= 100000)
    {
        pow10 = 100000;
        return  6;
    }
    else if (n >= 10000)
    {
        pow10 = 10000;
        return  5;
    }
    else if (n >= 1000)
    {
        pow10 = 1000;
        return  4;
    }
    else if (n >= 100)
    {
        pow10 = 100;
        return  3;
    }
    else if (n >= 10)
    {
        pow10 = 10;
        return  2;
    }
    else
    {
        pow10 = 1;
        return 1;
    }
}

// Assembly:
cmpl $0x3b9ac9ff, %edi       # imm = 0x3B9AC9FF
jbe 0xbadc
pushq $0xa
popq %rax
movl $0x3b9aca00, %ecx       # imm = 0x3B9ACA00
jmp 0xbb64
cmpl $0x5f5e0ff, %edi        # imm = 0x5F5E0FF
jbe 0xbaee
pushq $0x9
popq %rax
movl $0x5f5e100, %ecx        # imm = 0x5F5E100
jmp 0xbb64
cmpl $0x98967f, %edi         # imm = 0x98967F
jbe 0xbb00
pushq $0x8
popq %rax
movl $0x989680, %ecx         # imm = 0x989680
jmp 0xbb64
cmpl $0xf423f, %edi          # imm = 0xF423F
jbe 0xbb12
pushq $0x7
popq %rax
movl $0xf4240, %ecx          # imm = 0xF4240
jmp 0xbb64
cmpl $0x1869f, %edi          # imm = 0x1869F
jbe 0xbb24
pushq $0x6
popq %rax
movl $0x186a0, %ecx          # imm = 0x186A0
jmp 0xbb64
cmpl $0x270f, %edi           # imm = 0x270F
jbe 0xbb36
pushq $0x5
popq %rax
movl $0x2710, %ecx           # imm = 0x2710
jmp 0xbb64
cmpl $0x3e7, %edi            # imm = 0x3E7
jbe 0xbb48
pushq $0x4
popq %rax
movl $0x3e8, %ecx            # imm = 0x3E8
jmp 0xbb64
cmpl $0x63, %edi
jbe 0xbb55
pushq $0x3
popq %rax
pushq $0x64
popq %rcx
jmp 0xbb64
xorl %eax, %eax
cmpl $0xa, %edi
setae %al
leal (%rax,%rax,8), %ecx
incl %ecx
incl %eax
movl %ecx, (%rsi)
retq
// File: /workspace/github_cpp_makefile_star2_O2/Konano[P]UselessDatabase/./json.hpp
// Function: nlohmann::detail::dtoa_impl::grisu2_round(char*, int, unsigned long, unsigned long, unsigned long, unsigned long)
inline void grisu2_round(char* buf, int len, std::uint64_t dist, std::uint64_t delta,
                         std::uint64_t rest, std::uint64_t ten_k)
{
    assert(len >= 1);
    assert(dist <= delta);
    assert(rest <= delta);
    assert(ten_k > 0);

    //               <--------------------------- delta ---->
    //                                  <---- dist --------->
    // --------------[------------------+-------------------]--------------
    //               M-                 w                   M+
    //
    //                                  ten_k
    //                                <------>
    //                                       <---- rest ---->
    // --------------[------------------+----+--------------]--------------
    //                                  w    V
    //                                       = buf * 10^k
    //
    // ten_k represents a unit-in-the-last-place in the decimal representation
    // stored in buf.
    // Decrement buf by ten_k while this takes buf closer to w.

    // The tests are written in this order to avoid overflow in unsigned
    // integer arithmetic.

    while (rest < dist
            and delta - rest >= ten_k
            and (rest + ten_k < dist or dist - rest > rest + ten_k - dist))
    {
        assert(buf[len - 1] != '0');
        buf[len - 1]--;
        rest += ten_k;
    }
}

// Assembly:
pushq %rax
testl %esi, %esi
jle 0xbbf0
cmpq %rcx, %rdx
ja 0xbc0f
subq %r8, %rcx
jb 0xbc2e
testq %r9, %r9
je 0xbc4d
movl %esi, %eax
movq %r9, %rsi
subq %rdx, %rsi
movq %rdx, %r10
subq %r8, %r10
cmpq %rdx, %r8
jae 0xbbcf
subq %r9, %rcx
jb 0xbbcf
leaq (%r8,%r9), %r11
cmpq %rdx, %r11
jb 0xbbb4
addq %rsi, %r8
cmpq %r8, %r10
jbe 0xbbcf
movb -0x1(%rdi,%rax), %r8b
cmpb $0x30, %r8b
je 0xbbd1
decb %r8b
movb %r8b, -0x1(%rdi,%rax)
subq %r9, %r10
movq %r11, %r8
jmp 0xbb99
popq %rax
retq
leaq 0x286c7(%rip), %rdi     # 0x3429f
leaq 0x27c1b(%rip), %rsi     # 0x337fa
leaq 0x2861b(%rip), %rcx     # 0x34201
movl $0x33a5, %edx           # imm = 0x33A5
callq 0x52c0
leaq 0x28601(%rip), %rdi     # 0x341f8
leaq 0x27bfc(%rip), %rsi     # 0x337fa
leaq 0x285fc(%rip), %rcx     # 0x34201
movl $0x3389, %edx           # imm = 0x3389
callq 0x52c0
leaq 0x28663(%rip), %rdi     # 0x34279
leaq 0x27bdd(%rip), %rsi     # 0x337fa
leaq 0x285dd(%rip), %rcx     # 0x34201
movl $0x338a, %edx           # imm = 0x338A
callq 0x52c0
leaq 0x28652(%rip), %rdi     # 0x34287
leaq 0x27bbe(%rip), %rsi     # 0x337fa
leaq 0x285be(%rip), %rcx     # 0x34201
movl $0x338b, %edx           # imm = 0x338B
callq 0x52c0
leaq 0x28641(%rip), %rdi     # 0x34295
leaq 0x27b9f(%rip), %rsi     # 0x337fa
leaq 0x2859f(%rip), %rcx     # 0x34201
movl $0x338c, %edx           # imm = 0x338C
callq 0x52c0
// File: /workspace/github_cpp_makefile_star2_O2/Konano[P]UselessDatabase/./json.hpp
// Function: nlohmann::detail::dtoa_impl::append_exponent(char*, int)
inline char* append_exponent(char* buf, int e)
{
    assert(e > -1000);
    assert(e <  1000);

    if (e < 0)
    {
        e = -e;
        *buf++ = '-';
    }
    else
    {
        *buf++ = '+';
    }

    auto k = static_cast<std::uint32_t>(e);
    if (k < 10)
    {
        // Always print at least two digits in the exponent.
        // This is for compatibility with printf("%g").
        *buf++ = '0';
        *buf++ = static_cast<char>('0' + k);
    }
    else if (k < 100)
    {
        *buf++ = static_cast<char>('0' + k / 10);
        k %= 10;
        *buf++ = static_cast<char>('0' + k);
    }
    else
    {
        *buf++ = static_cast<char>('0' + k / 100);
        k %= 100;
        *buf++ = static_cast<char>('0' + k / 10);
        k %= 10;
        *buf++ = static_cast<char>('0' + k);
    }

    return buf;
}

// Assembly:
pushq %rax
cmpl $0xfffffc18, %esi       # imm = 0xFFFFFC18
jle 0xbcf9
cmpl $0x3e8, %esi            # imm = 0x3E8
jge 0xbd18
movl %esi, %ecx
shrl $0x1f, %ecx
addb %cl, %cl
addb $0x2b, %cl
movl %esi, %eax
negl %eax
cmovsl %esi, %eax
movb %cl, (%rdi)
cmpl $0x9, %eax
ja 0xbca7
leaq 0x2(%rdi), %rdx
movb $0x30, 0x1(%rdi)
jmp 0xbcc2
cmpl $0x63, %eax
ja 0xbcc6
movzbl %al, %eax
movb $0xa, %cl
divb %cl
movl %eax, %ecx
movzbl %ah, %eax
orb $0x30, %cl
leaq 0x2(%rdi), %rdx
movb %cl, 0x1(%rdi)
pushq $0x3
jmp 0xbcec
movw $0x64, %cx
xorl %edx, %edx
divw %cx
addb $0x30, %al
movb %al, 0x1(%rdi)
movzbl %dl, %eax
movb $0xa, %cl
divb %cl
movl %eax, %ecx
movzbl %ah, %eax
orb $0x30, %cl
leaq 0x3(%rdi), %rdx
movb %cl, 0x2(%rdi)
pushq $0x4
popq %rcx
orb $0x30, %al
addq %rcx, %rdi
movb %al, (%rdx)
movq %rdi, %rax
popq %rcx
retq
leaq 0x2861e(%rip), %rdi     # 0x3431e
leaq 0x27af3(%rip), %rsi     # 0x337fa
leaq 0x2861a(%rip), %rcx     # 0x34328
movl $0x3506, %edx           # imm = 0x3506
callq 0x52c0
leaq 0x28649(%rip), %rdi     # 0x34368
leaq 0x27ad4(%rip), %rsi     # 0x337fa
leaq 0x285fb(%rip), %rcx     # 0x34328
movl $0x3507, %edx           # imm = 0x3507
callq 0x52c0
nop
// File: /workspace/github_cpp_makefile_star2_O2/Konano[P]UselessDatabase/./json.hpp
// Function: 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>::basic_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>&&)
basic_json(basic_json&& other) noexcept
        : m_type(std::move(other.m_type)),
          m_value(std::move(other.m_value))
    {
        // check that passed value is valid
        other.assert_invariant();

        // invalidate payload
        other.m_type = value_t::null;
        other.m_value = {};

        assert_invariant();
    }

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movb (%rsi), %al
movb %al, (%rdi)
movq 0x8(%rsi), %rax
movq %rax, 0x8(%rdi)
movq %rsi, %rdi
callq 0xbd38
movb $0x0, (%rbx)
andq $0x0, 0x8(%rbx)
movq %r14, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0xbd38
nop
// File: /workspace/github_cpp_makefile_star2_O2/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 %r14
pushq %rbx
subq $0x60, %rsp
movq %rdi, %r14
movzbl (%rdi), %eax
addl $-0x4, %eax
cmpl $0x3, %eax
ja 0x2170d
leaq 0x168f3(%rip), %rcx     # 0x37fa8
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movsbl 0x8(%r14), %eax
movw %ax, 0xc(%rsp)
filds 0xc(%rsp)
jmp 0x21702
movq 0x8(%r14), %rax
movq %rax, 0x10(%rsp)
xorl %ecx, %ecx
testq %rax, %rax
sets %cl
fildll 0x10(%rsp)
leaq 0x168b6(%rip), %rax     # 0x37fa0
fadds (%rax,%rcx,4)
jmp 0x21702
fldl 0x8(%r14)
jmp 0x21702
movq 0x8(%r14), %rax
movq %rax, 0x18(%rsp)
fildll 0x18(%rsp)
fstpt (%rsi)
addq $0x60, %rsp
popq %rbx
popq %r14
popq %rbp
retq
pushq $0x20
popq %rdi
callq 0x5240
movq %rax, %rbx
movq %r14, %rdi
callq 0xc6cc
leaq 0x20(%rsp), %rdi
leaq 0xf(%rsp), %rdx
movq %rax, %rsi
callq 0x84b8
leaq 0x131a5(%rip), %rsi     # 0x348de
leaq 0x40(%rsp), %rdi
leaq 0x20(%rsp), %rdx
callq 0xaa7f
movb $0x1, %bpl
leaq 0x40(%rsp), %rdx
movq %rbx, %rdi
movl $0x12e, %esi            # imm = 0x12E
callq 0xa98c
xorl %ebp, %ebp
leaq 0x2e232(%rip), %rsi     # 0x4f998
leaq -0x11e05(%rip), %rdx    # 0xf968
movq %rbx, %rdi
callq 0x56c0
movq %rax, %r14
leaq 0x40(%rsp), %rdi
callq 0x5200
jmp 0x2178a
movq %rax, %r14
movb $0x1, %bpl
leaq 0x20(%rsp), %rdi
callq 0x5200
testb %bpl, %bpl
jne 0x2179e
jmp 0x217a6
movq %rax, %r14
movq %rbx, %rdi
callq 0x5300
movq %r14, %rdi
callq 0x56f0
// File: /workspace/github_cpp_makefile_star2_O2/Konano[P]UselessDatabase/./json.hpp
// Function: void nlohmann::detail::get_arithmetic_value<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>, unsigned long, 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&, unsigned long&)
void get_arithmetic_value(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;
        }

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

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x50, %rsp
movq %rdi, %r14
movzbl (%rdi), %eax
cmpl $0x5, %eax
je 0xd5a9
cmpl $0x7, %eax
je 0xd5af
cmpl $0x6, %eax
jne 0xd5e0
movq 0x8(%r14), %rax
jmp 0xd5d4
movsd 0x8(%r14), %xmm0
cvttsd2si %xmm0, %rcx
movq %rcx, %rdx
sarq $0x3f, %rdx
subsd 0x25bf7(%rip), %xmm0    # 0x331c0
cvttsd2si %xmm0, %rax
andq %rdx, %rax
orq %rcx, %rax
movq %rax, (%rsi)
addq $0x50, %rsp
popq %rbx
popq %r14
popq %rbp
retq
pushq $0x20
popq %rdi
callq 0x5240
movq %rax, %rbx
movq %r14, %rdi
callq 0xc6cc
leaq 0x10(%rsp), %rdi
leaq 0xf(%rsp), %rdx
movq %rax, %rsi
callq 0x84b8
leaq 0x272d2(%rip), %rsi     # 0x348de
leaq 0x30(%rsp), %rdi
leaq 0x10(%rsp), %rdx
callq 0xaa7f
movb $0x1, %bpl
leaq 0x30(%rsp), %rdx
movq %rbx, %rdi
movl $0x12e, %esi            # imm = 0x12E
callq 0xa98c
xorl %ebp, %ebp
leaq 0x4235f(%rip), %rsi     # 0x4f998
leaq 0x2328(%rip), %rdx      # 0xf968
movq %rbx, %rdi
callq 0x56c0
movq %rax, %r14
leaq 0x30(%rsp), %rdi
callq 0x5200
jmp 0xd65d
movq %rax, %r14
movb $0x1, %bpl
leaq 0x10(%rsp), %rdi
callq 0x5200
testb %bpl, %bpl
jne 0xd671
jmp 0xd679
movq %rax, %r14
movq %rbx, %rdi
callq 0x5300
movq %r14, %rdi
callq 0x56f0
nop
// File: /workspace/github_cpp_makefile_star2_O2/Konano[P]UselessDatabase/./json.hpp
// Function: nlohmann::detail::lexer<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>>::get()
std::char_traits<char>::int_type get()
    {
        ++position.chars_read_total;
        ++position.chars_read_current_line;

        if (next_unget)
        {
            // just reset the next_unget variable and work with current
            next_unget = false;
        }
        else
        {
            current = ia->get_character();
        }

        if (JSON_HEDLEY_LIKELY(current != std::char_traits<char>::eof()))
        {
            token_string.push_back(std::char_traits<char>::to_char_type(current));
        }

        if (current == '\n')
        {
            ++position.lines_read;
            position.chars_read_current_line = 0;
        }

        return current;
    }

// Assembly:
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
movdqu 0x18(%rdi), %xmm0
pcmpeqd %xmm1, %xmm1
psubq %xmm1, %xmm0
movdqu %xmm0, 0x18(%rdi)
cmpb $0x1, 0x14(%rdi)
jne 0xdd51
movb $0x0, 0x14(%rbx)
movl 0x10(%rbx), %eax
jmp 0xdd5c
movq (%rbx), %rdi
movq (%rdi), %rax
callq *(%rax)
movl %eax, 0x10(%rbx)
cmpl $-0x1, %eax
je 0xdd8b
leaq 0x30(%rbx), %rdi
leaq 0xf(%rsp), %rsi
movb %al, (%rsi)
callq 0xe60a
movl 0x10(%rbx), %eax
cmpl $0xa, %eax
jne 0xdd85
incq 0x28(%rbx)
andq $0x0, 0x20(%rbx)
pushq $0xa
popq %rax
addq $0x10, %rsp
popq %rbx
retq
pushq $-0x1
jmp 0xdd84
nop
// File: /workspace/github_cpp_makefile_star2_O2/Konano[P]UselessDatabase/./json.hpp
// Function: nlohmann::detail::lexer<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>>::scan_literal(char const*, unsigned long, nlohmann::detail::lexer<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>>::token_type)
JSON_HEDLEY_NON_NULL(2)
    token_type scan_literal(const char* literal_text, const std::size_t length,
                            token_type return_type)
    {
        assert(current == literal_text[0]);
        for (std::size_t i = 1; i < length; ++i)
        {
            if (JSON_HEDLEY_UNLIKELY(get() != literal_text[i]))
            {
                error_message = "invalid literal";
                return token_type::parse_error;
            }
        }
        return return_type;
    }

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movsbl (%rsi), %eax
cmpl %eax, 0x10(%rdi)
jne 0xdde3
movl %ecx, %ebx
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %r14
pushq $0x1
popq %r13
cmpq %r15, %r13
jae 0xddd7
movq %r14, %rdi
callq 0xdd28
movsbl (%r12,%r13), %ecx
incq %r13
cmpl %ecx, %eax
je 0xddb0
leaq 0x26c49(%rip), %rax     # 0x34a19
movq %rax, 0x68(%r14)
pushq $0xe
popq %rbx
movl %ebx, %eax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
leaq 0x26cbf(%rip), %rdi     # 0x34aa9
leaq 0x25a09(%rip), %rsi     # 0x337fa
leaq 0x26ccc(%rip), %rcx     # 0x34ac4
movl $0x2097, %edx           # imm = 0x2097
callq 0x52c0
// File: /workspace/github_cpp_makefile_star2_O2/Konano[P]UselessDatabase/./json.hpp
// Function: nlohmann::detail::lexer<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>>::unget()
void unget()
    {
        next_unget = true;

        --position.chars_read_total;

        // in case we "unget" a newline, we have to also decrement the lines_read
        if (position.chars_read_current_line == 0)
        {
            if (position.lines_read > 0)
            {
                --position.lines_read;
            }
        }
        else
        {
            --position.chars_read_current_line;
        }

        if (JSON_HEDLEY_LIKELY(current != std::char_traits<char>::eof()))
        {
            assert(not token_string.empty());
            token_string.pop_back();
        }
    }

// Assembly:
movb $0x1, 0x14(%rdi)
decq 0x18(%rdi)
movq 0x20(%rdi), %rax
testq %rax, %rax
je 0xe5bf
leaq 0x20(%rdi), %rcx
jmp 0xe5cc
movq 0x28(%rdi), %rax
testq %rax, %rax
je 0xe5d2
leaq 0x28(%rdi), %rcx
decq %rax
movq %rax, (%rcx)
cmpl $-0x1, 0x10(%rdi)
je 0xe5e9
movq 0x38(%rdi), %rax
cmpq %rax, 0x30(%rdi)
je 0xe5ea
decq %rax
movq %rax, 0x38(%rdi)
retq
pushq %rax
leaq 0x26437(%rip), %rdi     # 0x34a29
leaq 0x25201(%rip), %rsi     # 0x337fa
leaq 0x26442(%rip), %rcx     # 0x34a42
movl $0x20f3, %edx           # imm = 0x20F3
callq 0x52c0
// File: /workspace/github_cpp_makefile_star2_O2/Konano[P]UselessDatabase/./json.hpp
// Function: nlohmann::detail::lexer<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>>::get_codepoint()
int get_codepoint()
    {
        // this function only makes sense after reading `\u`
        assert(current == 'u');
        int codepoint = 0;

        const auto factors = { 12u, 8u, 4u, 0u };
        for (const auto factor : factors)
        {
            get();

            if (current >= '0' and current <= '9')
            {
                codepoint += static_cast<int>((static_cast<unsigned int>(current) - 0x30u) << factor);
            }
            else if (current >= 'A' and current <= 'F')
            {
                codepoint += static_cast<int>((static_cast<unsigned int>(current) - 0x37u) << factor);
            }
            else if (current >= 'a' and current <= 'f')
            {
                codepoint += static_cast<int>((static_cast<unsigned int>(current) - 0x57u) << factor);
            }
            else
            {
                return -1;
            }
        }

        assert(0x0000 <= codepoint and codepoint <= 0xFFFF);
        return codepoint;
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
cmpl $0x75, 0x10(%rdi)
jne 0xe837
movq %rdi, %rbx
movaps 0x249b6(%rip), %xmm0    # 0x33180
movaps %xmm0, (%rsp)
xorl %r15d, %r15d
pushq $-0x1
popq %r12
xorl %ebp, %ebp
cmpq $0x10, %r15
je 0xe81b
movl (%rsp,%r15), %r14d
movq %rbx, %rdi
callq 0xdd28
movl 0x10(%rbx), %eax
leal -0x30(%rax), %edx
cmpl $0xa, %edx
jb 0xe80e
leal -0x41(%rax), %ecx
cmpl $0x5, %ecx
ja 0xe801
addl $-0x37, %eax
jmp 0xe80c
leal -0x61(%rax), %ecx
cmpl $0x5, %ecx
ja 0xe832
addl $-0x57, %eax
movl %eax, %edx
movl %r14d, %ecx
shll %cl, %edx
addl %edx, %ebp
addq $0x4, %r15
jmp 0xe7d7
cmpl $0x10000, %ebp          # imm = 0x10000
jae 0xe856
movl %ebp, %eax
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movl %r12d, %ebp
jmp 0xe823
leaq 0x26e4b(%rip), %rdi     # 0x35689
leaq 0x24fb5(%rip), %rsi     # 0x337fa
leaq 0x26e4c(%rip), %rcx     # 0x35698
movl $0x1c73, %edx           # imm = 0x1C73
callq 0x52c0
leaq 0x26ea9(%rip), %rdi     # 0x35706
leaq 0x24f96(%rip), %rsi     # 0x337fa
leaq 0x26e2d(%rip), %rcx     # 0x35698
movl $0x1c8d, %edx           # imm = 0x1C8D
callq 0x52c0
nop
// File: /workspace/github_cpp_makefile_star2_O2/Konano[P]UselessDatabase/./json.hpp
// Function: nlohmann::detail::lexer<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>>::next_byte_in_range(std::initializer_list<int>)
bool next_byte_in_range(std::initializer_list<int> ranges)
    {
        assert(ranges.size() == 2 or ranges.size() == 4 or ranges.size() == 6);
        add(current);

        for (auto range = ranges.begin(); range != ranges.end(); ++range)
        {
            get();
            if (JSON_HEDLEY_LIKELY(*range <= current and current <= *(++range)))
            {
                add(current);
            }
            else
            {
                error_message = "invalid string: ill-formed UTF-8 byte";
                return false;
            }
        }

        return true;
    }

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
cmpq $0x6, %rdx
ja 0xe8f8
movq %rdx, %rbx
pushq $0x54
popq %rax
btq %rdx, %rax
jae 0xe8f8
movq %rsi, %r15
movq %rdi, %r14
movsbl 0x10(%rdi), %esi
leaq 0x48(%rdi), %r12
movq %r12, %rdi
callq 0x5370
shlq $0x2, %rbx
testq %rbx, %rbx
je 0xe8e6
movq %r14, %rdi
callq 0xdd28
movl 0x10(%r14), %eax
cmpl %eax, (%r15)
jg 0xe8db
cmpl 0x4(%r15), %eax
jg 0xe8db
movsbl %al, %esi
movq %r12, %rdi
callq 0x5370
addq $0x8, %r15
addq $-0x8, %rbx
jmp 0xe8aa
leaq 0x26d81(%rip), %rax     # 0x35663
movq %rax, 0x68(%r14)
testq %rbx, %rbx
sete %al
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
leaq 0x26e33(%rip), %rdi     # 0x35732
leaq 0x24ef4(%rip), %rsi     # 0x337fa
leaq 0x26e64(%rip), %rcx     # 0x35771
movl $0x1ca2, %edx           # imm = 0x1CA2
callq 0x52c0
nop
// File: /workspace/github_cpp_makefile_star2_O2/Konano[P]UselessDatabase/./json.hpp
// Function: nlohmann::detail::json_sax_dom_callback_parser<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>>::parse_error(unsigned long, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, nlohmann::detail::exception const&)
bool parse_error(std::size_t /*unused*/, const std::string& /*unused*/,
                     const detail::exception& ex)
    {
        errored = true;
        if (allow_exceptions)
        {
            // determine the proper exception type from the id
            switch ((ex.id / 100) % 100)
            {
                case 1:
                    JSON_THROW(*static_cast<const detail::parse_error*>(&ex));
                case 4:
                    JSON_THROW(*static_cast<const detail::out_of_range*>(&ex));
                // LCOV_EXCL_START
                case 2:
                    JSON_THROW(*static_cast<const detail::invalid_iterator*>(&ex));
                case 3:
                    JSON_THROW(*static_cast<const detail::type_error*>(&ex));
                case 5:
                    JSON_THROW(*static_cast<const detail::other_error*>(&ex));
                default:
                    assert(false);
                    // LCOV_EXCL_STOP
            }
        }
        return false;
    }

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movb $0x1, 0x78(%rdi)
cmpb $0x1, 0xa0(%rdi)
je 0xf3b5
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movq %rcx, %rbx
movl 0x8(%rcx), %eax
pushq $0x64
popq %rcx
cltd
idivl %ecx
cltd
idivl %ecx
decl %edx
cmpl $0x4, %edx
ja 0xf487
leaq 0x2428e(%rip), %rax     # 0x33664
movslq (%rax,%rdx,4), %rcx
addq %rax, %rcx
jmpq *%rcx
pushq $0x28
popq %rdi
callq 0x5240
movq %rax, %r14
movq %rax, %rdi
movq %rbx, %rsi
callq 0x12bd4
leaq 0x406c4(%rip), %rsi     # 0x4fac0
jmp 0xf478
pushq $0x20
popq %rdi
callq 0x5240
movq %rax, %r14
movq %rax, %rdi
movq %rbx, %rsi
callq 0x12c40
leaq 0x405e5(%rip), %rsi     # 0x4fa00
jmp 0xf478
pushq $0x20
popq %rdi
callq 0x5240
movq %rax, %r14
movq %rax, %rdi
movq %rbx, %rsi
callq 0x12c2a
leaq 0x4055e(%rip), %rsi     # 0x4f998
jmp 0xf478
pushq $0x20
popq %rdi
callq 0x5240
movq %rax, %r14
movq %rax, %rdi
movq %rbx, %rsi
callq 0x12bfe
leaq 0x405e7(%rip), %rsi     # 0x4fa40
jmp 0xf478
pushq $0x20
popq %rdi
callq 0x5240
movq %rax, %r14
movq %rax, %rdi
movq %rbx, %rsi
callq 0x12c14
leaq 0x405e0(%rip), %rsi     # 0x4fa58
leaq 0x4e9(%rip), %rdx       # 0xf968
movq %r14, %rdi
callq 0x56c0
leaq 0x2448f(%rip), %rdi     # 0x3391d
leaq 0x24365(%rip), %rsi     # 0x337fa
leaq 0x27101(%rip), %rcx     # 0x3659d
movl $0x12db, %edx           # imm = 0x12DB
callq 0x52c0
// File: /workspace/github_cpp_makefile_star2_O2/Konano[P]UselessDatabase/./json.hpp
// Function: nlohmann::detail::lexer<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>>::get_token_string() const
std::string get_token_string() const
    {
        // escape control characters
        std::string result;
        for (const auto c : token_string)
        {
            if ('\x00' <= c and c <= '\x1F')
            {
                // escape control characters
                std::array<char, 9> cs{{}};
                (std::snprintf)(cs.data(), cs.size(), "<U+%.4X>", static_cast<unsigned char>(c));
                result += cs.data();
            }
            else
            {
                // add character as is
                result.push_back(c);
            }
        }

        return result;
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
leaq 0x10(%rdi), %rax
movq %rax, (%rdi)
andq $0x0, 0x8(%rdi)
movb $0x0, 0x10(%rdi)
movq 0x30(%rsi), %r13
movq 0x38(%rsi), %rbp
leaq 0x27186(%rip), %r14     # 0x3665c
leaq 0x8(%rsp), %r15
pushq $0x9
popq %r12
cmpq %rbp, %r13
je 0xf526
movzbl (%r13), %ecx
cmpl $0x1f, %ecx
ja 0xf516
movb $0x0, 0x10(%rsp)
andq $0x0, 0x8(%rsp)
movq %r15, %rdi
movq %r12, %rsi
movq %r14, %rdx
xorl %eax, %eax
callq 0x5630
movq %rbx, %rdi
movq %r15, %rsi
callq 0x5780
jmp 0xf521
movsbl %cl, %esi
movq %rbx, %rdi
callq 0x5370
incq %r13
jmp 0xf4df
movq %rbx, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0xf53a
movq %rax, %r14
movq %rbx, %rdi
callq 0x5200
movq %r14, %rdi
callq 0x56f0
nop
// File: /workspace/github_cpp_makefile_star2_O2/Konano[P]UselessDatabase/./json.hpp
// Function: nlohmann::detail::json_sax_dom_callback_parser<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>>::start_object(unsigned long)
bool start_object(std::size_t len)
    {
        // check callback for object start
        const bool keep = callback(static_cast<int>(ref_stack.size()), parse_event_t::object_start, discarded);
        keep_stack.push_back(keep);

        auto val = handle_value(BasicJsonType::value_t::object, true);
        ref_stack.push_back(val.second);

        // check object limit
        if (ref_stack.back() and JSON_HEDLEY_UNLIKELY(len != std::size_t(-1) and len > ref_stack.back()->max_size()))
        {
            JSON_THROW(out_of_range::create(408, "excessive object size: " + std::to_string(len)));
        }

        return true;
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x58, %rsp
movq %rsi, %r14
movq %rdi, %rbx
addq $0x80, %rdi
leaq 0x8(%rbx), %r15
movq 0x10(%rbx), %rsi
subq 0x8(%rbx), %rsi
shrq $0x3, %rsi
leaq 0xa8(%rbx), %rcx
xorl %edx, %edx
callq 0x1112e
leaq 0x20(%rbx), %rdi
movzbl %al, %esi
callq 0x10498
leaq 0x8(%rsp), %rsi
movb $0x1, (%rsi)
pushq $0x1
popq %rdx
movq %rbx, %rdi
callq 0x11152
leaq 0x50(%rsp), %rsi
movb %al, -0x8(%rsi)
movq %rdx, (%rsi)
movq %r15, %rdi
callq 0x11364
movq 0x10(%rbx), %rax
movq -0x8(%rax), %rdi
testq %rdi, %rdi
sete %al
cmpq $-0x1, %r14
sete %cl
orb %al, %cl
jne 0x10ac2
callq 0x11382
cmpq %r14, %rax
jb 0x10acf
movb $0x1, %al
addq $0x58, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
pushq $0x20
popq %rdi
callq 0x5240
movq %rax, %rbx
leaq 0x28(%rsp), %rdi
movq %r14, %rsi
callq 0xaaa3
leaq 0x24fa5(%rip), %rsi     # 0x35a93
leaq 0x8(%rsp), %rdi
leaq 0x28(%rsp), %rdx
callq 0xaa7f
movb $0x1, %bpl
leaq 0x8(%rsp), %rdx
movq %rbx, %rdi
movl $0x198, %esi            # imm = 0x198
callq 0x10fd2
xorl %ebp, %ebp
leaq 0x3ef25(%rip), %rsi     # 0x4fa40
leaq -0x11ba(%rip), %rdx     # 0xf968
movq %rbx, %rdi
callq 0x56c0
movq %rax, %r14
leaq 0x8(%rsp), %rdi
callq 0x5200
jmp 0x10b3f
movq %rax, %r14
movb $0x1, %bpl
leaq 0x28(%rsp), %rdi
callq 0x5200
testb %bpl, %bpl
jne 0x10b53
jmp 0x10b5b
movq %rax, %r14
movq %rbx, %rdi
callq 0x5300
movq %r14, %rdi
callq 0x56f0
nop
// File: /workspace/github_cpp_makefile_star2_O2/Konano[P]UselessDatabase/./json.hpp
// Function: nlohmann::detail::json_sax_dom_callback_parser<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>>::end_object()
bool end_object()
    {
        if (ref_stack.back() and not callback(static_cast<int>(ref_stack.size()) - 1, parse_event_t::object_end, *ref_stack.back()))
        {
            // discard object
            *ref_stack.back() = discarded;
        }

        assert(not ref_stack.empty());
        assert(not keep_stack.empty());
        ref_stack.pop_back();
        keep_stack.pop_back();

        if (not ref_stack.empty() and ref_stack.back() and ref_stack.back()->is_object())
        {
            // remove discarded value
            for (auto it = ref_stack.back()->begin(); it != ref_stack.back()->end(); ++it)
            {
                if (it->is_discarded())
                {
                    ref_stack.back()->erase(it);
                    break;
                }
            }
        }

        return true;
    }

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x70, %rsp
movq %rdi, %rbx
movq 0x10(%rdi), %rsi
movq -0x8(%rsi), %rcx
testq %rcx, %rcx
je 0x10bc6
leaq 0x80(%rbx), %rdi
subq 0x8(%rbx), %rsi
shrq $0x3, %rsi
decl %esi
pushq $0x1
popq %rdx
callq 0x1112e
testb %al, %al
jne 0x10bc6
leaq 0xa8(%rbx), %rsi
leaq 0x40(%rsp), %r14
movq %r14, %rdi
callq 0x80e2
movq 0x10(%rbx), %rax
movq -0x8(%rax), %rdi
movq %r14, %rsi
callq 0x7da0
movq %r14, %rdi
callq 0x7de0
movq 0x10(%rbx), %rax
cmpq %rax, 0x8(%rbx)
je 0x10c97
movq 0x20(%rbx), %rcx
cmpq 0x30(%rbx), %rcx
jne 0x10be8
cmpl $0x0, 0x38(%rbx)
je 0x10cb6
leaq 0x30(%rbx), %rdi
addq $-0x8, %rax
movq %rax, 0x10(%rbx)
callq 0x1085a
movq 0x10(%rbx), %rax
cmpq %rax, 0x8(%rbx)
je 0x10c8b
movq -0x8(%rax), %rsi
testq %rsi, %rsi
je 0x10c8b
cmpb $0x1, (%rsi)
jne 0x10c8b
movq %rsp, %r14
movq %r14, %rdi
callq 0x1151c
leaq 0x20(%rsp), %r15
movq 0x10(%rbx), %rax
movq -0x8(%rax), %rsi
movq %r15, %rdi
callq 0x1154c
movq %r14, %rdi
movq %r15, %rsi
callq 0x11542
testb %al, %al
je 0x10c8b
movq %r14, %rdi
callq 0x11572
cmpb $0x8, (%rax)
je 0x10c5b
movq %r14, %rdi
callq 0x11898
jmp 0x10c25
movq 0x10(%rbx), %rax
movq -0x8(%rax), %rsi
movq (%rsp), %rax
leaq 0x50(%rsp), %rdx
movq %rax, (%rdx)
movups 0x8(%rsp), %xmm0
movups %xmm0, 0x8(%rdx)
movq 0x18(%rsp), %rax
movq %rax, 0x18(%rdx)
leaq 0x20(%rsp), %rdi
callq 0x1169e
movb $0x1, %al
addq $0x70, %rsp
popq %rbx
popq %r14
popq %r15
retq
leaq 0x24f64(%rip), %rdi     # 0x35c02
leaq 0x22b55(%rip), %rsi     # 0x337fa
leaq 0x24f6c(%rip), %rcx     # 0x35c18
movl $0x1284, %edx           # imm = 0x1284
callq 0x52c0
leaq 0x24dee(%rip), %rdi     # 0x35aab
leaq 0x22b36(%rip), %rsi     # 0x337fa
leaq 0x24f4d(%rip), %rcx     # 0x35c18
movl $0x1285, %edx           # imm = 0x1285
callq 0x52c0
nop
// File: /workspace/github_cpp_makefile_star2_O2/Konano[P]UselessDatabase/./json.hpp
// Function: nlohmann::detail::json_sax_dom_callback_parser<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>>::key(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&)
bool key(string_t& val)
    {
        BasicJsonType k = BasicJsonType(val);

        // check callback for key
        const bool keep = callback(static_cast<int>(ref_stack.size()), parse_event_t::key, k);
        key_keep_stack.push_back(keep);

        // add discarded value at given key and store the reference for later
        if (keep and ref_stack.back())
        {
            object_element = &(ref_stack.back()->m_value.object->operator[](val) = discarded);
        }

        return true;
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x18(%rsp), %r15
movq %r15, %rdi
callq 0x11c9c
leaq 0x80(%rbx), %rdi
movq 0x10(%rbx), %rsi
subq 0x8(%rbx), %rsi
shrq $0x3, %rsi
pushq $0x4
popq %rdx
movq %r15, %rcx
callq 0x1112e
movl %eax, %ebp
leaq 0x48(%rbx), %rdi
movzbl %al, %esi
callq 0x10498
testb %bpl, %bpl
je 0x10d70
movq 0x10(%rbx), %rax
cmpq $0x0, -0x8(%rax)
je 0x10d70
leaq 0xa8(%rbx), %rsi
leaq 0x8(%rsp), %rdi
callq 0x80e2
movq 0x10(%rbx), %rax
movq -0x8(%rax), %rax
movq 0x8(%rax), %rdi
movq %r14, %rsi
callq 0x11cb6
leaq 0x8(%rsp), %r14
movq %rax, %rdi
movq %r14, %rsi
callq 0x7da0
movq %rax, 0x70(%rbx)
movq %r14, %rdi
callq 0x7de0
leaq 0x18(%rsp), %rdi
callq 0x7de0
movb $0x1, %al
addq $0x28, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x7de0
jmp 0x10d99
movq %rax, %rbx
leaq 0x18(%rsp), %rdi
callq 0x7de0
movq %rbx, %rdi
callq 0x56f0
nop
// File: /workspace/github_cpp_makefile_star2_O2/Konano[P]UselessDatabase/./json.hpp
// Function: nlohmann::detail::json_sax_dom_callback_parser<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>>::start_array(unsigned long)
bool start_array(std::size_t len)
    {
        const bool keep = callback(static_cast<int>(ref_stack.size()), parse_event_t::array_start, discarded);
        keep_stack.push_back(keep);

        auto val = handle_value(BasicJsonType::value_t::array, true);
        ref_stack.push_back(val.second);

        // check array limit
        if (ref_stack.back() and JSON_HEDLEY_UNLIKELY(len != std::size_t(-1) and len > ref_stack.back()->max_size()))
        {
            JSON_THROW(out_of_range::create(408, "excessive array size: " + std::to_string(len)));
        }

        return true;
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x58, %rsp
movq %rsi, %r14
movq %rdi, %rbx
addq $0x80, %rdi
leaq 0x8(%rbx), %r15
movq 0x10(%rbx), %rsi
subq 0x8(%rbx), %rsi
shrq $0x3, %rsi
leaq 0xa8(%rbx), %rcx
pushq $0x2
popq %rdx
callq 0x1112e
leaq 0x20(%rbx), %rdi
movzbl %al, %esi
callq 0x10498
leaq 0x8(%rsp), %rsi
movb $0x2, (%rsi)
pushq $0x1
popq %rdx
movq %rbx, %rdi
callq 0x11152
leaq 0x50(%rsp), %rsi
movb %al, -0x8(%rsi)
movq %rdx, (%rsi)
movq %r15, %rdi
callq 0x11364
movq 0x10(%rbx), %rax
movq -0x8(%rax), %rdi
testq %rdi, %rdi
sete %al
cmpq $-0x1, %r14
sete %cl
orb %al, %cl
jne 0x10e37
callq 0x11382
cmpq %r14, %rax
jb 0x10e44
movb $0x1, %al
addq $0x58, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
pushq $0x20
popq %rdi
callq 0x5240
movq %rax, %rbx
leaq 0x28(%rsp), %rdi
movq %r14, %rsi
callq 0xaaa3
leaq 0x251d0(%rip), %rsi     # 0x36033
leaq 0x8(%rsp), %rdi
leaq 0x28(%rsp), %rdx
callq 0xaa7f
movb $0x1, %bpl
leaq 0x8(%rsp), %rdx
movq %rbx, %rdi
movl $0x198, %esi            # imm = 0x198
callq 0x10fd2
xorl %ebp, %ebp
leaq 0x3ebb0(%rip), %rsi     # 0x4fa40
leaq -0x152f(%rip), %rdx     # 0xf968
movq %rbx, %rdi
callq 0x56c0
movq %rax, %r14
leaq 0x8(%rsp), %rdi
callq 0x5200
jmp 0x10eb4
movq %rax, %r14
movb $0x1, %bpl
leaq 0x28(%rsp), %rdi
callq 0x5200
testb %bpl, %bpl
jne 0x10ec8
jmp 0x10ed0
movq %rax, %r14
movq %rbx, %rdi
callq 0x5300
movq %r14, %rdi
callq 0x56f0