// File: /workspace/github_cpp_makefile_star2_O3/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 %r13
pushq %r12
pushq %rbx
subq $0x158, %rsp            # imm = 0x158
movl %edx, 0x4(%rsp)
movq %rsi, %r13
movq %rdi, %r12
leaq 0x13684(%rip), %rsi     # 0x18940
leaq 0x118(%rsp), %rbx
movq %rbx, %rdi
callq 0x826e
leaq 0x138(%rsp), %r15
movq %rbx, -0x10(%r15)
movb $0x1, %r14b
movb %r14b, -0x8(%r15)
movl (%r13), %eax
movb $0x6, (%r15)
movq %rax, 0x8(%r15)
movq %r15, %rdi
callq 0x829a
movq %r15, %rdi
callq 0x829a
movq %r15, 0x10(%r15)
movb %r14b, 0x18(%r15)
leaq 0x78(%rsp), %rbp
movl $0x2, %edx
movq %rbp, %rdi
movq %rbx, %rsi
movl $0x1, %ecx
movl $0x2, %r8d
callq 0x7702
movq %r13, 0x8(%rsp)
leaq 0x78(%rsp), %rax
movq %rax, 0x10(%rax)
movb $0x1, 0x18(%rax)
leaq 0x98(%rsp), %rbp
leaq 0x13607(%rip), %rsi     # 0x1894b
leaq 0xd8(%rsp), %rbx
movq %rbx, %rdi
callq 0x83c6
movq %r12, 0x30(%rsp)
leaq 0xf8(%rsp), %r13
movq %rbx, -0x10(%r13)
movb $0x1, %r14b
movb %r14b, -0x8(%r13)
movq 0x8(%rsp), %rax
movl 0x4(%rax), %eax
movb $0x6, (%r13)
movq %rax, 0x8(%r13)
movq %r13, %rdi
callq 0x829a
movq %r13, %rdi
callq 0x829a
movq %r13, 0x10(%r13)
movb %r14b, 0x18(%r13)
movl $0x2, %edx
movq %rbp, %rdi
movq %rbx, %rsi
movl $0x1, %ecx
movl $0x2, %r8d
callq 0x7702
leaq 0xb8(%rsp), %r12
movq %rbp, -0x10(%r12)
movb $0x1, -0x8(%r12)
leaq 0x13596(%rip), %rsi     # 0x18960
leaq 0x38(%rsp), %rbx
movq %rbx, %rdi
callq 0x8448
movq %rbx, 0x48(%rsp)
movb $0x1, 0x50(%rsp)
leaq 0x20(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
xorl %ecx, %ecx
movl $0x2, %r8d
callq 0x7702
leaq 0x58(%rsp), %rbp
leaq 0x20(%rsp), %rbx
movb (%rbx), %al
movb %al, (%rbp)
movq 0x8(%rbx), %rax
movq %rax, 0x8(%rbp)
movq %rbx, %rdi
callq 0x829a
movb $0x0, (%rbx)
movq $0x0, 0x8(%rbx)
movq %rbp, %rdi
callq 0x829a
movq %rbp, 0x10(%rbp)
movb $0x1, 0x18(%rbp)
leaq 0x38(%rsp), %rsi
movl $0x2, %edx
movq %r12, %rdi
movl $0x1, %ecx
movl $0x2, %r8d
callq 0x7702
leaq 0x78(%rsp), %rsi
movq %r12, 0x50(%rsi)
movb $0x1, 0x58(%rsi)
leaq 0x10(%rsp), %rdi
movl $0x3, %edx
movl $0x1, %ecx
movl $0x2, %r8d
callq 0x7702
leaq 0x28(%rsp), %rbx
movq $-0x60, %r14
movq %r12, %rdi
callq 0x829a
leaq 0x8(%r12), %rdi
movzbl (%r12), %esi
callq 0x99e0
addq $-0x20, %r12
addq $0x20, %r14
jne 0x5481
movq $-0x40, %r14
movq %rbp, %rdi
callq 0x829a
leaq 0x8(%rbp), %rdi
movzbl (%rbp), %esi
callq 0x99e0
addq $-0x20, %rbp
addq $0x20, %r14
jne 0x54a9
leaq 0x20(%rsp), %r12
movq %r12, %rdi
callq 0x829a
movzbl (%r12), %esi
movq %rbx, %rdi
callq 0x99e0
movq $-0x40, %rbx
movq %r13, %rdi
callq 0x829a
leaq 0x8(%r13), %rdi
movzbl (%r13), %esi
callq 0x99e0
addq $-0x20, %r13
addq $0x20, %rbx
jne 0x54e9
movq $-0x40, %rbx
movq 0x30(%rsp), %r12
movq %r15, %rdi
callq 0x829a
leaq 0x8(%r15), %rdi
movzbl (%r15), %esi
callq 0x99e0
addq $-0x20, %r15
addq $0x20, %rbx
jne 0x5515
movq 0x8(%rsp), %rax
movq 0x8(%rax), %rbx
movq 0x10(%rax), %r15
cmpq %r15, %rbx
je 0x5562
leaq 0x10(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x787a
addq $0xb0, %rbx
cmpq %r15, %rbx
jne 0x554b
movswl 0x4(%rsp), %edx
leaq 0x10(%rsp), %rsi
movq %r12, %rdi
movl $0x20, %ecx
xorl %r8d, %r8d
xorl %r9d, %r9d
callq 0x810e
leaq 0x10(%rsp), %rdi
callq 0x829a
leaq 0x18(%rsp), %rdi
movzbl -0x8(%rdi), %esi
callq 0x99e0
movq %r12, %rax
addq $0x158, %rsp            # imm = 0x158
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x569e
movq %rax, %rbx
movl $0x40, %r14d
leaq (%rsp,%r14), %rdi
addq $0x78, %rdi
callq 0x76e8
addq $-0x20, %r14
cmpq $-0x20, %r14
jne 0x55ba
xorl %r14d, %r14d
jmp 0x55dc
movq %rax, %rbx
movb $0x1, %r14b
movl $0x20, %r15d
leaq (%rsp,%r15), %rdi
addq $0x38, %rdi
callq 0x76e8
addq $-0x20, %r15
cmpq $-0x20, %r15
jne 0x55e2
leaq 0x20(%rsp), %rdi
callq 0x7860
jmp 0x5622
movq %rax, %rbx
leaq 0x38(%rsp), %rdi
callq 0x76e8
jmp 0x5617
movq %rax, %rbx
movb $0x1, %r14b
jmp 0x5622
movq %rax, %rbx
movq %rbp, %r12
movl $0x20, %r15d
leaq (%rsp,%r15), %rdi
addq $0xd8, %rdi
callq 0x76e8
addq $-0x20, %r15
cmpq $-0x20, %r15
jne 0x5628
movq %r12, %rbp
movl $0x20, %r15d
leaq (%rsp,%r15), %rdi
addq $0x118, %rdi            # imm = 0x118
callq 0x76e8
addq $-0x20, %r15
cmpq $-0x20, %r15
jne 0x564b
leaq 0x78(%rsp), %r15
cmpq %rbp, %r15
setne %al
andb %al, %r14b
cmpb $0x1, %r14b
jne 0x56ab
addq $-0x20, %rbp
movq %rbp, %rdi
callq 0x76e8
cmpq %r15, %rbp
jne 0x5679
jmp 0x56ab
movq %rax, %rbx
movb $0x1, %r14b
jmp 0x5645
movq %rax, %rbx
jmp 0x5645
movq %rax, %rbx
jmp 0x56ab
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x7860
movq %rbx, %rdi
callq 0x3510
nop