// File: /workspace/github_c_makefile_star2_O0/CkTD[P]btree/btree.c
// Function: bt_print
void bt_print(BTree *bt)
{
    printf("---------- Meta ----------\n");
    printf("order:    %lu\n", bt_get_order(bt));
    printf("blksize:  %lu\n", bt->meta->blk->blk_size);
    printf("blkcount: %lu\n", bt->meta->blk->blk_counts);
    printf("maxblkid: %lu\n", bt->meta->blk->max_blkid);
    printf("rootblk:  %lu\n", bt->meta->blk->root_blkid);
    bt_node_print(bt->root);

    BTreeNode *node;

    printf("new blks: ");
    list_for_each_entry(node, &bt->new_node_chain, chain)
    {
        printf("%lu ",node->blkid);
    }
    printf("\n");

    printf("dirty blks: ");
    list_for_each_entry(node, &bt->dirty_node_chain, chain)
    {
        printf("%lu ",node->blkid);
    }
    printf("\n");
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x8(%rbp)
leaq 0x1cbe(%rip), %rdi      # 0x4261
movb $0x0, %al
callq 0x1070
movq -0x8(%rbp), %rdi
callq 0x2780
movq %rax, %rsi
leaq 0x1cc0(%rip), %rdi      # 0x427d
movb $0x0, %al
callq 0x1070
movq -0x8(%rbp), %rax
movq 0x18(%rax), %rax
movq (%rax), %rax
movq 0x10(%rax), %rsi
leaq 0x1cb2(%rip), %rdi      # 0x428c
movb $0x0, %al
callq 0x1070
movq -0x8(%rbp), %rax
movq 0x18(%rax), %rax
movq (%rax), %rax
movq 0x20(%rax), %rsi
leaq 0x1ca4(%rip), %rdi      # 0x429b
movb $0x0, %al
callq 0x1070
movq -0x8(%rbp), %rax
movq 0x18(%rax), %rax
movq (%rax), %rax
movq 0x28(%rax), %rsi
leaq 0x1c96(%rip), %rdi      # 0x42aa
movb $0x0, %al
callq 0x1070
movq -0x8(%rbp), %rax
movq 0x18(%rax), %rax
movq (%rax), %rax
movq 0x18(%rax), %rsi
leaq 0x1c88(%rip), %rdi      # 0x42b9
movb $0x0, %al
callq 0x1070
movq -0x8(%rbp), %rax
movq 0x10(%rax), %rdi
callq 0x2240
leaq 0x1c7c(%rip), %rdi      # 0x42c8
movb $0x0, %al
callq 0x1070
movq -0x8(%rbp), %rax
movq 0x20(%rax), %rax
movq %rax, -0x18(%rbp)
xorl %eax, %eax
movq %rax, %rcx
addq $0x18, %rcx
subq %rcx, %rax
addq -0x18(%rbp), %rax
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x10(%rbp), %rax
addq $0x18, %rax
movq -0x8(%rbp), %rcx
addq $0x20, %rcx
cmpq %rcx, %rax
je 0x26d0
movq -0x10(%rbp), %rax
movq 0x10(%rax), %rsi
leaq 0x1c34(%rip), %rdi      # 0x42d3
movb $0x0, %al
callq 0x1070
movq -0x10(%rbp), %rax
movq 0x18(%rax), %rax
movq %rax, -0x28(%rbp)
xorl %eax, %eax
movq %rax, %rcx
addq $0x18, %rcx
subq %rcx, %rax
addq -0x28(%rbp), %rax
movq %rax, -0x30(%rbp)
movq -0x30(%rbp), %rax
movq %rax, -0x10(%rbp)
jmp 0x267b
leaq 0x22e6(%rip), %rdi      # 0x49bd
movb $0x0, %al
callq 0x1070
leaq 0x1bf3(%rip), %rdi      # 0x42d8
movb $0x0, %al
callq 0x1070
movq -0x8(%rbp), %rax
movq 0x40(%rax), %rax
movq %rax, -0x38(%rbp)
xorl %eax, %eax
movq %rax, %rcx
addq $0x18, %rcx
subq %rcx, %rax
addq -0x38(%rbp), %rax
movq %rax, -0x40(%rbp)
movq -0x40(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x10(%rbp), %rax
addq $0x18, %rax
movq -0x8(%rbp), %rcx
addq $0x40, %rcx
cmpq %rcx, %rax
je 0x2769
movq -0x10(%rbp), %rax
movq 0x10(%rax), %rsi
leaq 0x1b9b(%rip), %rdi      # 0x42d3
movb $0x0, %al
callq 0x1070
movq -0x10(%rbp), %rax
movq 0x18(%rax), %rax
movq %rax, -0x48(%rbp)
xorl %eax, %eax
movq %rax, %rcx
addq $0x18, %rcx
subq %rcx, %rax
addq -0x48(%rbp), %rax
movq %rax, -0x50(%rbp)
movq -0x50(%rbp), %rax
movq %rax, -0x10(%rbp)
jmp 0x2714
leaq 0x224d(%rip), %rdi      # 0x49bd
movb $0x0, %al
callq 0x1070
addq $0x50, %rsp
popq %rbp
retq
nopl (%rax)