// File: /workspace/github_cpp_makefile_star2_O1/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 $0x68, %rsp
movl %ecx, (%rsp)
movzbl (%rdi), %eax
cmpq $0x7, %rax
ja 0x3b971
movl %r8d, %ebp
movl %edx, %r15d
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x5549(%rip), %rcx      # 0x40928
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x33f7(%rip), %rsi      # 0x3e7e6
movl $0x4, %edx
jmp 0x3b7df
movzbl 0x8(%r14), %edx
leaq 0x576f(%rip), %rax      # 0x40b74
leaq 0x576d(%rip), %rsi      # 0x40b79
testq %rdx, %rdx
cmovneq %rax, %rsi
xorq $0x5, %rdx
jmp 0x3b7df
movq 0x8(%r14), %rax
testq %rax, %rax
je 0x3b980
movq (%rax), %rcx
cmpq 0x8(%rax), %rcx
je 0x3b7ca
leaq 0x5735(%rip), %rsi      # 0x40b72
movl $0x1, %edx
movq %rbx, %rdi
callq 0x22480
testb %r15b, %r15b
movl %r15d, 0x4(%rsp)
je 0x3b7f5
addl (%rsp), %ebp
movl %ebp, 0x28(%rsp)
leaq 0x554d(%rip), %rsi      # 0x409b3
movl $0x1, %edx
movq %rbx, %rdi
callq 0x22480
jmp 0x3b7f9
cmpq $0x0, 0x8(%r14)
je 0x3b99f
leaq 0x18(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x4b9d(%rip), %rsi      # 0x40030
leaq 0x4b97(%rip), %rdx      # 0x40031
leaq 0x8(%rsp), %rdi
callq 0x215e0
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %rbx, %rdi
callq 0x22480
movq %rax, %rbx
movq 0x8(%r14), %rsi
leaq 0x40(%rsp), %r14
movq %r14, %rdi
callq 0x21c90
movq (%r14), %rsi
movq 0x8(%r14), %rdx
movq %rbx, %rdi
callq 0x22480
leaq 0x4b50(%rip), %rsi      # 0x40030
movl $0x1, %edx
movq %rax, %rdi
callq 0x22480
leaq 0x50(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3b500
callq 0x22130
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
jne 0x3b96c
jmp 0x3b971
leaq 0x5665(%rip), %rsi      # 0x40b7f
movl $0xb, %edx
jmp 0x3b7df
movq 0x8(%r14), %rax
testq %rax, %rax
je 0x3b9be
cmpq $0x0, 0x28(%rax)
je 0x3b7d3
leaq 0x5622(%rip), %rsi      # 0x40b65
movl $0x1, %edx
movq %rbx, %rdi
callq 0x22480
testb %r15b, %r15b
movl %r15d, 0x4(%rsp)
je 0x3b571
addl (%rsp), %ebp
leaq 0x544f(%rip), %rsi      # 0x409b3
movl $0x1, %edx
movq %rbx, %rdi
callq 0x22480
movq 0x8(%r14), %rax
movq 0x18(%rax), %r13
leaq 0x8(%rax), %rcx
cmpq %rcx, %r13
je 0x3b6ce
leaq 0x55da(%rip), %rcx      # 0x40b67
leaq 0x55d6(%rip), %rsi      # 0x40b6a
movl 0x4(%rsp), %edx
movzbl %dl, %r12d
leaq 0x1(%r12), %rdi
movq %rdi, 0x60(%rsp)
testb %dl, %dl
cmovneq %rcx, %rsi
movq %rsi, 0x30(%rsp)
movl %ebp, %ecx
movq %rcx, 0x28(%rsp)
leaq 0x3b41(%rip), %rcx      # 0x3f100
leaq 0x3090(%rip), %rdx      # 0x3e656
cmovneq %rcx, %rdx
movq %rdx, 0x38(%rsp)
cmpq 0x18(%rax), %r13
je 0x3b5e7
movq %rbx, %rdi
movq 0x30(%rsp), %rsi
movq 0x60(%rsp), %rdx
callq 0x22480
leaq 0x18(%rsp), %rax
movq %rax, 0x8(%rsp)
leaq 0x8(%rsp), %rdi
movq 0x28(%rsp), %rsi
movl $0x20, %edx
callq 0x22520
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %rbx, %rdi
callq 0x22480
movq %rax, %r15
movl $0x1, %edx
movq %rax, %rdi
leaq 0x4a07(%rip), %rsi      # 0x40030
callq 0x22480
leaq 0x20(%r13), %rsi
leaq 0x40(%rsp), %rdi
callq 0x21c90
movq 0x40(%rsp), %rsi
movq 0x48(%rsp), %rdx
movq %r15, %rdi
callq 0x22480
movq %rax, %r15
movl $0x2, %edx
movq %rax, %rdi
leaq 0x550c(%rip), %rsi      # 0x40b6c
callq 0x22480
movq %r15, %rdi
movq 0x38(%rsp), %rsi
movq %r12, %rdx
callq 0x22480
movq 0x40(%rsp), %rdi
leaq 0x50(%rsp), %rax
cmpq %rax, %rdi
je 0x3b689
callq 0x22130
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x3b69d
callq 0x22130
leaq 0x40(%r13), %rdi
movq %rbx, %rsi
movl %r12d, %edx
movl (%rsp), %ecx
movl %ebp, %r8d
callq 0x210c0
movq %r13, %rdi
callq 0x22510
movq %rax, %r13
movq 0x8(%r14), %rax
leaq 0x8(%rax), %rcx
cmpq %rcx, %r13
jne 0x3b5cf
cmpb $0x0, 0x4(%rsp)
je 0x3b6ec
subl (%rsp), %ebp
leaq 0x52d4(%rip), %rsi      # 0x409b3
movl $0x1, %edx
movq %rbx, %rdi
callq 0x22480
movl %ebp, %esi
leaq 0x50(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x40(%rsp), %rdi
movl $0x20, %edx
callq 0x22520
leaq 0x5456(%rip), %rsi      # 0x40b63
leaq 0x40(%rsp), %rdi
callq 0x233d0
leaq 0x18(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x3b920
movq %rdx, 0x8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x18(%rsp)
jmp 0x3b929
movq 0x8(%r14), %rsi
movq %rbx, %rdi
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x22140
vmovsd 0x8(%r14), %xmm0
vmovsd 0x51b3(%rip), %xmm1     # 0x40920
callq 0x22830
vxorpd %xmm1, %xmm1, %xmm1
vucomisd %xmm1, %xmm0
movq (%rbx), %rax
movq -0x18(%rax), %rcx
movl $0xfffffefb, %edx       # imm = 0xFFFFFEFB
jne 0x3b798
jp 0x3b798
andl 0x18(%rbx,%rcx), %edx
orl $0x4, %edx
movl $0x1, %esi
jmp 0x3b7a1
andl 0x18(%rbx,%rcx), %edx
movl $0xf, %esi
movl %edx, 0x18(%rbx,%rcx)
movq -0x18(%rax), %rax
movq %rsi, 0x8(%rbx,%rax)
vmovsd 0x8(%r14), %xmm0
movq %rbx, %rdi
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x22e60
leaq 0x539e(%rip), %rsi      # 0x40b6f
jmp 0x3b7da
leaq 0x5388(%rip), %rsi      # 0x40b62
movl $0x2, %edx
movq %rbx, %rdi
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x22480
movl %ebp, 0x28(%rsp)
movq 0x8(%r14), %rax
movq (%rax), %r12
cmpq 0x8(%rax), %r12
je 0x3b8b1
leaq 0x5356(%rip), %rcx      # 0x40b67
leaq 0x5352(%rip), %rsi      # 0x40b6a
movl 0x4(%rsp), %edx
testb %dl, %dl
cmovneq %rcx, %rsi
movq %rsi, 0x38(%rsp)
movzbl %dl, %r13d
leaq 0x1(%r13), %rcx
movq %rcx, 0x30(%rsp)
movl 0x28(%rsp), %r15d
leaq 0x18(%rsp), %rbp
cmpq (%rax), %r12
je 0x3b855
movq %rbx, %rdi
movq 0x38(%rsp), %rsi
movq 0x30(%rsp), %rdx
callq 0x22480
movq %rbp, 0x8(%rsp)
leaq 0x8(%rsp), %rdi
movq %r15, %rsi
movl $0x20, %edx
callq 0x22520
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %rbx, %rdi
callq 0x22480
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x3b88d
callq 0x22130
movq %r12, %rdi
movq %rbx, %rsi
movl %r13d, %edx
movl (%rsp), %ecx
movl 0x28(%rsp), %r8d
callq 0x210c0
addq $0x10, %r12
movq 0x8(%r14), %rax
cmpq 0x8(%rax), %r12
jne 0x3b83e
cmpb $0x0, 0x4(%rsp)
je 0x3b8d5
movl 0x28(%rsp), %ebp
subl (%rsp), %ebp
leaq 0x50ed(%rip), %rsi      # 0x409b3
movl $0x1, %edx
movq %rbx, %rdi
callq 0x22480
jmp 0x3b8d9
movl 0x28(%rsp), %ebp
movl %ebp, %esi
leaq 0x18(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x8(%rsp), %rdi
movl $0x20, %edx
callq 0x22520
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %rbx, %rdi
callq 0x22480
leaq 0x4c2b(%rip), %rsi      # 0x40537
movl $0x1, %edx
movq %rax, %rdi
callq 0x22480
movq 0x8(%rsp), %rdi
jmp 0x3b967
vmovups (%rcx), %xmm0
vmovups %xmm0, (%r15)
movq 0x8(%rax), %rdx
movq %rdx, 0x10(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %rbx, %rdi
callq 0x22480
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x3b962
callq 0x22130
movq 0x40(%rsp), %rdi
cmpq %r14, %rdi
je 0x3b971
callq 0x22130
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x339d(%rip), %rdi      # 0x3ed24
leaq 0x28b4(%rip), %rsi      # 0x3e242
leaq 0x50a2(%rip), %rcx      # 0x40a37
movl $0x15b2, %edx           # imm = 0x15B2
callq 0x21b40
leaq 0x339d(%rip), %rdi      # 0x3ed43
leaq 0x2895(%rip), %rsi      # 0x3e242
leaq 0x5083(%rip), %rcx      # 0x40a37
movl $0x15da, %edx           # imm = 0x15DA
callq 0x21b40
leaq 0x31e6(%rip), %rdi      # 0x3ebab
leaq 0x2876(%rip), %rsi      # 0x3e242
leaq 0x5064(%rip), %rcx      # 0x40a37
movl $0x1588, %edx           # imm = 0x1588
callq 0x21b40
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x3b9f4
callq 0x22130
jmp 0x3b9f4
movq %rax, %rbx
movq 0x40(%rsp), %rdi
jmp 0x3ba0e
jmp 0x3ba39
jmp 0x3ba39
movq %rax, %rbx
jmp 0x3ba2b
jmp 0x3ba39
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
jne 0x3ba78
jmp 0x3ba7d
movq %rax, %rbx
leaq 0x50(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3ba2b
callq 0x22130
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
jne 0x3ba78
jmp 0x3ba7d
jmp 0x3ba39
movq %rax, %rbx
jmp 0x3ba7d
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %rbp, %rdi
jne 0x3ba78
jmp 0x3ba7d
movq %rax, %rbx
jmp 0x3ba69
movq %rax, %rbx
movq 0x40(%rsp), %rdi
leaq 0x50(%rsp), %rax
cmpq %rax, %rdi
je 0x3ba69
callq 0x22130
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x3ba7d
callq 0x22130
movq %rbx, %rdi
callq 0x23170
nop