// File: /workspace/github_cpp_makefile_star2_O2/alfanick[P]rest-cpp/src/rest/json.hpp
// Function: nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, double, std::allocator>::dump(std::ostream&, bool, unsigned int, unsigned int) const
void dump(std::ostream& o,
              const bool pretty_print,
              const unsigned int indent_step,
              const unsigned int current_indent = 0) const
    {
        // variable to hold indentation for recursive calls
        unsigned int new_indent = current_indent;

        switch (m_type)
        {
            case value_t::object:
            {
                assert(m_value.object != nullptr);

                if (m_value.object->empty())
                {
                    o << "{}";
                    return;
                }

                o << "{";

                // increase indentation
                if (pretty_print)
                {
                    new_indent += indent_step;
                    o << "\n";
                }

                for (auto i = m_value.object->cbegin(); i != m_value.object->cend(); ++i)
                {
                    if (i != m_value.object->cbegin())
                    {
                        o << (pretty_print ? ",\n" : ",");
                    }
                    o << string_t(new_indent, ' ') << "\""
                      << escape_string(i->first) << "\":"
                      << (pretty_print ? " " : "");
                    i->second.dump(o, pretty_print, indent_step, new_indent);
                }

                // decrease indentation
                if (pretty_print)
                {
                    new_indent -= indent_step;
                    o << "\n";
                }

                o << string_t(new_indent, ' ') + "}";
                return;
            }

            case value_t::array:
            {
                assert(m_value.array != nullptr);

                if (m_value.array->empty())
                {
                    o << "[]";
                    return;
                }

                o << "[";

                // increase indentation
                if (pretty_print)
                {
                    new_indent += indent_step;
                    o << "\n";
                }

                for (auto i = m_value.array->cbegin(); i != m_value.array->cend(); ++i)
                {
                    if (i != m_value.array->cbegin())
                    {
                        o << (pretty_print ? ",\n" : ",");
                    }
                    o << string_t(new_indent, ' ');
                    i->dump(o, pretty_print, indent_step, new_indent);
                }

                // decrease indentation
                if (pretty_print)
                {
                    new_indent -= indent_step;
                    o << "\n";
                }

                o << string_t(new_indent, ' ') << "]";
                return;
            }

            case value_t::string:
            {
                assert(m_value.string != nullptr);
                o << string_t("\"") << escape_string(*m_value.string) << "\"";
                return;
            }

            case value_t::boolean:
            {
                o << (m_value.boolean ? "true" : "false");
                return;
            }

            case value_t::number_integer:
            {
                o << m_value.number_integer;
                return;
            }

            case value_t::number_float:
            {
                // If the number is an integer then output as a fixed with with
                // precision 1 to output "0.0", "1.0" etc as expected for some
                // round trip tests otherwise  15 digits of precision allows
                // round-trip IEEE 754 string->double->string; to be safe, we
                // read this value from
                // std::numeric_limits<number_float_t>::digits10
                if (std::fmod(m_value.number_float, 1) == 0)
                {
                    o << std::fixed << std::setprecision(1);
                }
                else
                {
                    // std::defaultfloat not supported in gcc version < 5
                    o.unsetf(std::ios_base::floatfield);
                    o << std::setprecision(std::numeric_limits<double>::digits10);
                }
                o << m_value.number_float;
                return;
            }

            case value_t::discarded:
            {
                o << "<discarded>";
                return;
            }

            case value_t::null:
            {
                o << "null";
                return;
            }
        }
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x78, %rsp
movzbl (%rdi), %eax
movl %ecx, 0xc(%rsp)
movq %rdi, 0x10(%rsp)
cmpq $0x7, %rax
ja 0x483d8
leaq 0x48ff(%rip), %rcx      # 0x4c858
movl %r8d, %ebp
movl %edx, %r12d
movq %rsi, %rbx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x2844(%rip), %rsi      # 0x4a7b6
jmp 0x48170
movq 0x10(%rsp), %rcx
leaq 0x4b21(%rip), %rax      # 0x4caa4
leaq 0x4b1f(%rip), %rsi      # 0x4caa9
cmpb $0x0, 0x8(%rcx)
cmovneq %rax, %rsi
jmp 0x48170
movq 0x10(%rsp), %rax
movq 0x8(%rax), %rax
testq %rax, %rax
je 0x483e7
movq (%rax), %rcx
cmpq 0x8(%rax), %rcx
je 0x48160
leaq 0x4ae5(%rip), %rsi      # 0x4caa2
movq %rbx, %rdi
callq 0x31d30
testb %r12b, %r12b
je 0x48186
addl 0xc(%rsp), %ebp
leaq 0x490a(%rip), %rsi      # 0x4c8e3
movq %rbx, %rdi
callq 0x31d30
leaq 0x4aaf(%rip), %rax      # 0x4ca97
jmp 0x4818d
movq 0x10(%rsp), %rax
cmpq $0x0, 0x8(%rax)
je 0x48406
leaq 0x3ecd(%rip), %rsi      # 0x4bed1
leaq 0x28(%rsp), %rdi
leaq 0x1f(%rsp), %rdx
callq 0x30a10
leaq 0x28(%rsp), %rsi
movq %rbx, %rdi
callq 0x319a0
movq 0x10(%rsp), %rcx
leaq 0x58(%rsp), %r14
movq %rax, %rbx
movq %r14, %rdi
movq 0x8(%rcx), %rsi
callq 0x31470
movq %rbx, %rdi
movq %r14, %rsi
callq 0x319a0
leaq 0x3e86(%rip), %rsi      # 0x4bed1
movq %rax, %rdi
callq 0x31d30
leaq 0x58(%rsp), %rdi
callq 0x33b38
jmp 0x48260
leaq 0x4a46(%rip), %rsi      # 0x4caaf
jmp 0x48170
movq 0x10(%rsp), %rax
movq 0x8(%rax), %rax
testq %rax, %rax
je 0x48425
cmpq $0x0, 0x28(%rax)
je 0x48169
leaq 0x4a03(%rip), %rsi      # 0x4ca95
movq %rbx, %rdi
callq 0x31d30
movl %r12d, 0x18(%rsp)
testb %r12b, %r12b
je 0x4826a
addl 0xc(%rsp), %ebp
leaq 0x4830(%rip), %rsi      # 0x4c8e3
movq %rbx, %rdi
callq 0x31d30
leaq 0x49d5(%rip), %rax      # 0x4ca97
movq %rax, 0x50(%rsp)
leaq 0x2ed6(%rip), %rax      # 0x4afa4
jmp 0x4827d
movq 0x10(%rsp), %rax
movq %rbx, %rdi
movq 0x8(%rax), %rsi
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x31c10
movq 0x10(%rsp), %rax
vmovsd 0x4751(%rip), %xmm1     # 0x4c850
vmovsd 0x8(%rax), %xmm0
callq 0x32710
movq (%rbx), %rax
vxorpd %xmm1, %xmm1, %xmm1
movl $0xfffffefb, %edx       # imm = 0xFFFFFEFB
vucomisd %xmm1, %xmm0
movq -0x18(%rax), %rcx
jne 0x4812c
jp 0x4812c
andl 0x18(%rbx,%rcx), %edx
orl $0x4, %edx
pushq $0x1
jmp 0x48132
andl 0x18(%rbx,%rcx), %edx
pushq $0xf
popq %rsi
movl %edx, 0x18(%rbx,%rcx)
movq 0x10(%rsp), %rcx
movq %rbx, %rdi
movq -0x18(%rax), %rax
movq %rsi, 0x8(%rbx,%rax)
vmovsd 0x8(%rcx), %xmm0
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x33070
leaq 0x4938(%rip), %rsi      # 0x4ca9f
jmp 0x48170
leaq 0x4922(%rip), %rsi      # 0x4ca92
movq %rbx, %rdi
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x31d30
leaq 0x490d(%rip), %rax      # 0x4ca9a
movq %rax, 0x20(%rsp)
movl %ebp, %r15d
leaq 0x38(%rsp), %r14
leaq 0x28(%rsp), %rbp
movq 0x10(%rsp), %rax
movl %r12d, 0x18(%rsp)
movzbl %r12b, %r12d
movq 0x8(%rax), %rax
movq (%rax), %r13
cmpq 0x8(%rax), %r13
je 0x48216
cmpq (%rax), %r13
je 0x481cc
movq 0x20(%rsp), %rsi
movq %rbx, %rdi
callq 0x31d30
movq %r14, 0x28(%rsp)
movq %rbp, %rdi
movq %r15, %rsi
pushq $0x20
popq %rdx
callq 0x321e0
movq %rbx, %rdi
movq %rbp, %rsi
callq 0x319a0
movq %rbp, %rdi
callq 0x33b38
movl 0xc(%rsp), %ecx
movq %r13, %rdi
movq %rbx, %rsi
movl %r12d, %edx
movl %r15d, %r8d
callq 0x30120
movq 0x10(%rsp), %rax
addq $0x10, %r13
movq 0x8(%rax), %rax
jmp 0x481b4
cmpb $0x0, 0x18(%rsp)
je 0x48231
subl 0xc(%rsp), %r15d
leaq 0x46ba(%rip), %rsi      # 0x4c8e3
movq %rbx, %rdi
callq 0x31d30
leaq 0x28(%rsp), %rdi
movq %r14, (%rdi)
pushq $0x20
popq %rdx
movq %r15, %rsi
callq 0x321e0
leaq 0x28(%rsp), %rsi
movq %rbx, %rdi
callq 0x319a0
leaq 0x420d(%rip), %rsi      # 0x4c465
movq %rax, %rdi
callq 0x31d30
leaq 0x28(%rsp), %rdi
jmp 0x483d3
leaq 0x4829(%rip), %rax      # 0x4ca9a
movq %rax, 0x50(%rsp)
leaq 0x23a9(%rip), %rax      # 0x4a626
movq %rax, 0x20(%rsp)
movl %ebp, %r12d
leaq 0x28(%rsp), %r15
leaq 0x58(%rsp), %rbp
movq 0x10(%rsp), %rax
movzbl 0x18(%rsp), %ecx
movq 0x8(%rax), %rax
movl %ecx, 0x4c(%rsp)
movq 0x18(%rax), %r13
leaq 0x8(%rax), %rcx
cmpq %rcx, %r13
je 0x4836d
cmpq 0x18(%rax), %r13
je 0x482c5
movq 0x50(%rsp), %rsi
movq %rbx, %rdi
callq 0x31d30
leaq 0x38(%rsp), %rax
movq %rax, 0x28(%rsp)
movq %r15, %rdi
movq %r12, %rsi
pushq $0x20
popq %rdx
callq 0x321e0
movq %rbx, %rdi
movq %r15, %rsi
callq 0x319a0
leaq 0x3be2(%rip), %rsi      # 0x4bed1
movq %rax, %rdi
callq 0x31d30
leaq 0x20(%r13), %rsi
movq %rbp, %rdi
movq %rax, %r14
callq 0x31470
movq %r14, %rdi
movq %rbp, %rsi
callq 0x319a0
leaq 0x4784(%rip), %rsi      # 0x4ca9c
movq %rax, %rdi
callq 0x31d30
movq 0x20(%rsp), %rsi
movq %rax, %rdi
callq 0x31d30
movq %rbp, %rdi
callq 0x33b38
movq %r15, %rdi
callq 0x33b38
movl 0x4c(%rsp), %edx
movl 0xc(%rsp), %ecx
leaq 0x40(%r13), %rdi
movq %rbx, %rsi
movl %r12d, %r8d
callq 0x30120
movq %r13, %rdi
callq 0x321c0
movq 0x10(%rsp), %rcx
movq %rax, %r13
movq 0x8(%rcx), %rax
jmp 0x482a5
cmpb $0x0, 0x18(%rsp)
je 0x48388
subl 0xc(%rsp), %r12d
leaq 0x4563(%rip), %rsi      # 0x4c8e3
movq %rbx, %rdi
callq 0x31d30
leaq 0x68(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x58(%rsp), %rdi
pushq $0x20
popq %rdx
movq %r12, %rsi
callq 0x321e0
leaq 0x46eb(%rip), %rdx      # 0x4ca93
leaq 0x28(%rsp), %rdi
leaq 0x58(%rsp), %rsi
callq 0x30490
leaq 0x28(%rsp), %rsi
movq %rbx, %rdi
callq 0x319a0
leaq 0x28(%rsp), %rdi
callq 0x33b38
leaq 0x58(%rsp), %rdi
callq 0x33b38
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x2906(%rip), %rdi      # 0x4acf4
leaq 0x1e54(%rip), %rsi      # 0x4a249
leaq 0x456b(%rip), %rcx      # 0x4c967
movl $0x15b2, %edx           # imm = 0x15B2
callq 0x31260
leaq 0x2906(%rip), %rdi      # 0x4ad13
leaq 0x1e35(%rip), %rsi      # 0x4a249
leaq 0x454c(%rip), %rcx      # 0x4c967
movl $0x15da, %edx           # imm = 0x15DA
callq 0x31260
leaq 0x274f(%rip), %rdi      # 0x4ab7b
leaq 0x1e16(%rip), %rsi      # 0x4a249
leaq 0x452d(%rip), %rcx      # 0x4c967
movl $0x1588, %edx           # imm = 0x1588
callq 0x31260
leaq 0x28(%rsp), %rdi
movq %rax, %rbx
callq 0x33b38
jmp 0x48456
movq %rax, %rbx
leaq 0x58(%rsp), %rdi
jmp 0x48489
jmp 0x4846b
jmp 0x4846b
jmp 0x48472
jmp 0x4846b
jmp 0x48472
jmp 0x48477
jmp 0x4846b
movq %rax, %rbx
jmp 0x4848e
jmp 0x48472
movq %rax, %rbx
jmp 0x48484
leaq 0x58(%rsp), %rdi
movq %rax, %rbx
callq 0x33b38
leaq 0x28(%rsp), %rdi
callq 0x33b38
movq %rbx, %rdi
callq 0x33510