// File: /workspace/github_cpp_makefile_star2_O2/ArthoPacini[P]blockchaincpp/./Blockchain.hpp
// Function: Blockchain::dump[abi:cxx11](short) const
std::string dump(std::int16_t indent = 4) const
    {
        //std::for_each(chain.begin(), chain.end(), std::bind(std::mem_fn(&Block::dump),std::placeholders::_1));
        nlohmann::json output_json = {{"difficulty", difficulty}, {"maxTransactionsCount",maxTransactionsCount}, {"blocks", nlohmann::json::array({})}};
        std::for_each(chain.begin(), chain.end(), std::bind(std::mem_fn(&Block::dump), std::placeholders::_1, std::ref(output_json)));
        return output_json.dump(indent);
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x160, %rsp            # imm = 0x160
movl %edx, %ebp
movq %rsi, %r15
movq %rdi, %r14
leaq 0x1020a(%rip), %rsi     # 0x15918
leaq 0x108(%rsp), %rdi
callq 0x6ea2
leaq 0x128(%rsp), %rdi
movq %r15, %rsi
callq 0x6eb6
leaq 0x68(%rsp), %rbx
leaq 0x108(%rsp), %rsi
pushq $0x2
popq %rdx
movq %rbx, %rdi
callq 0x6eca
leaq 0x88(%rsp), %rbx
leaq 0x101d1(%rip), %rsi     # 0x15923
leaq 0xc8(%rsp), %rdi
callq 0x6ee4
leaq 0xe8(%rsp), %rdi
leaq 0x4(%r15), %rsi
callq 0x6eb6
leaq 0xc8(%rsp), %rsi
pushq $0x2
popq %rdx
movq %rbx, %rdi
callq 0x6eca
leaq 0xa8(%rsp), %rbx
leaq 0x101a6(%rip), %rsi     # 0x15938
leaq 0x28(%rsp), %rdi
callq 0x6ef8
leaq 0x8(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x6f0c
leaq 0x48(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x6f20
leaq 0x28(%rsp), %rsi
pushq $0x2
popq %rdx
movq %rbx, %rdi
callq 0x6eca
leaq 0x18(%rsp), %r12
leaq 0x68(%rsp), %rsi
pushq $0x3
popq %rdx
pushq $0x1
popq %rcx
pushq $0x2
popq %r8
movq %r12, %rdi
callq 0x6f34
pushq $0x40
popq %rbx
leaq (%rsp,%rbx), %rdi
addq $0x68, %rdi
callq 0x7048
addq $-0x20, %rbx
cmpq $-0x20, %rbx
jne 0x57e8
pushq $0x20
popq %rbx
leaq (%rsp,%rbx), %rdi
addq $0x28, %rdi
callq 0x7048
addq $-0x20, %rbx
cmpq $-0x20, %rbx
jne 0x5802
leaq 0x8(%rsp), %rdi
callq 0x7048
pushq $0x20
popq %rbx
leaq (%rsp,%rbx), %rdi
addq $0xc8, %rdi
callq 0x7048
addq $-0x20, %rbx
cmpq $-0x20, %rbx
jne 0x5826
pushq $0x20
popq %rbx
leaq (%rsp,%rbx), %rdi
addq $0x108, %rdi            # imm = 0x108
callq 0x7048
addq $-0x20, %rbx
cmpq $-0x20, %rbx
jne 0x5843
movq 0x8(%r15), %rsi
movq 0x10(%r15), %rdx
leaq 0x1840(%rip), %rax      # 0x70ac
leaq 0x148(%rsp), %rcx
movq %rax, (%rcx)
andq $0x0, 0x8(%rcx)
movq %r12, 0x10(%rcx)
leaq 0x68(%rsp), %rdi
callq 0x7061
movswl %bp, %edx
leaq 0x18(%rsp), %rsi
pushq $0x20
popq %rcx
movq %r14, %rdi
xorl %r8d, %r8d
xorl %r9d, %r9d
callq 0x7652
leaq 0x18(%rsp), %rdi
callq 0x7048
movq %r14, %rax
addq $0x160, %rsp            # imm = 0x160
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
jmp 0x58c2
movq %rax, %r14
leaq 0x18(%rsp), %rdi
callq 0x7048
jmp 0x59aa
movq %rax, %r14
pushq $0x40
popq %r15
leaq (%rsp,%r15), %rdi
addq $0x68, %rdi
callq 0x7048
addq $-0x20, %r15
cmpq $-0x20, %r15
jne 0x58db
xorl %ebp, %ebp
jmp 0x58fc
movq %rax, %r14
movb $0x1, %bpl
pushq $0x20
popq %r15
leaq (%rsp,%r15), %rdi
addq $0x28, %rdi
callq 0x7048
addq $-0x20, %r15
cmpq $-0x20, %r15
jne 0x5900
leaq 0x8(%rsp), %rdi
callq 0x7048
jmp 0x593a
movq %rax, %r14
leaq 0x28(%rsp), %rdi
callq 0x7048
jmp 0x5937
jmp 0x5934
movq %rax, %r14
movb $0x1, %bpl
pushq $0x20
popq %r15
leaq (%rsp,%r15), %rdi
addq $0xc8, %rdi
callq 0x7048
addq $-0x20, %r15
cmpq $-0x20, %r15
jne 0x593e
jmp 0x5962
jmp 0x595c
movq %rax, %r14
movb $0x1, %bpl
pushq $0x20
popq %r15
leaq (%rsp,%r15), %rdi
addq $0x108, %rdi            # imm = 0x108
callq 0x7048
addq $-0x20, %r15
cmpq $-0x20, %r15
jne 0x5966
leaq 0x68(%rsp), %r15
cmpq %rbx, %r15
setne %al
andb %al, %bpl
cmpb $0x1, %bpl
jne 0x59aa
addq $-0x20, %rbx
movq %rbx, %rdi
callq 0x7048
cmpq %r15, %rbx
jne 0x5994
jmp 0x59aa
movq %rax, %r14
movq %r14, %rdi
callq 0x4570