// File: /workspace/github_c_makefile_star2_O3/CkTD[P]btree/btree.c
// Function: bt_node_print
void bt_node_print(BTreeNode* node)
{
    uint64_t i;
    printf("---------- Node(id: %lu, %p) ----------\n[", node->blkid, node);
    if(node->blk->type & BT_NODE_TYPE_INTERNAL)
        printf("INTERNAL ");
    if(node->blk->type & BT_NODE_TYPE_LEAF)
        printf("LEAF ");
    if(node->blk->type & BT_NODE_TYPE_ROOT)
        printf("ROOT");


    printf("]P: %lu, L: %lu, R: %lu, #K: %lu\n|",node->blk->parent_blkid, node->blk->left_sibling_blkid, node->blk->right_sibling_blkid, node->blk->key_counts);
    if(!(node->blk->type & BT_NODE_TYPE_LEAF)) 
    {
        for (i = 0; i < node->blk->key_counts; i++)
        {
            printf(" I_%lu (%lu) K_%lu (%lu) | ", i, bt_node_get_blkid(bt_node_get_child(node, i)), i, bt_node_get_key(node, i));
        }

        printf("I_%lu (%lu) |\n", node->blk->key_counts, bt_node_get_blkid(bt_node_get_child(node, i)));
        if(node->blk->key_counts)
        for(i=0;i <= node->blk->key_counts;i++)
        {
            bt_node_print(bt_node_get_child(node, i));
        }
    }
    else
    {
        for (i = 0; i < node->blk->key_counts; i++)
        {
            printf(" V_%lu (%lu) K_%lu (%lu) | ", i, bt_node_get_value(node, i), i, bt_node_get_key(node, i));
        }
        printf("\n");
    }
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdi, %rbx
movq 0x10(%rdi), %rsi
leaq 0x157a(%rip), %rdi      # 0x31bd
movq %rbx, %rdx
xorl %eax, %eax
callq 0x1090
movq 0x8(%rbx), %rax
movq (%rax), %rcx
testb $0x2, %cl
je 0x1c6e
leaq 0x1587(%rip), %rdi      # 0x31e7
xorl %eax, %eax
callq 0x1090
movq 0x8(%rbx), %rax
movq (%rax), %rcx
testb $0x4, %cl
je 0x1c88
leaq 0x1577(%rip), %rdi      # 0x31f1
xorl %eax, %eax
callq 0x1090
movq 0x8(%rbx), %rax
movq (%rax), %rcx
testb $0x1, %cl
je 0x1c9f
leaq 0x13ff(%rip), %rdi      # 0x3093
xorl %eax, %eax
callq 0x1090
movq 0x8(%rbx), %rax
movq 0x8(%rax), %r8
movq 0x10(%rax), %rsi
movq 0x18(%rax), %rdx
movq 0x20(%rax), %rcx
leaq 0x1541(%rip), %rdi      # 0x31f7
xorl %eax, %eax
callq 0x1090
movq 0x8(%rbx), %rdi
testb $0x4, (%rdi)
movq 0x8(%rdi), %rax
jne 0x1d2a
testq %rax, %rax
je 0x1d90
movl $0x30, %r13d
leaq 0x153a(%rip), %r15      # 0x321a
xorl %r14d, %r14d
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1e0d
movq 0x8(%rbx), %rcx
cmpq %r14, 0x8(%rcx)
jbe 0x1dee
movq 0x10(%rax), %rdx
movq (%rcx,%r13), %r8
movq %r15, %rdi
movq %r14, %rsi
movq %r14, %rcx
xorl %eax, %eax
callq 0x1090
incq %r14
movq 0x8(%rbx), %rax
movq 0x8(%rax), %r12
addq $0x10, %r13
cmpq %r12, %r14
jb 0x1ce3
jmp 0x1d96
testq %rax, %rax
je 0x1d7d
movl $0x30, %r12d
leaq 0x1509(%rip), %r14      # 0x3245
xorl %r15d, %r15d
movq %r15, %rsi
callq 0x14d6
movq 0x8(%rbx), %rcx
cmpq %r15, 0x8(%rcx)
jbe 0x1dee
movq (%rcx,%r12), %r8
movq %r14, %rdi
movq %r15, %rsi
movq %rax, %rdx
movq %r15, %rcx
xorl %eax, %eax
callq 0x1090
incq %r15
movq 0x8(%rbx), %rdi
addq $0x10, %r12
cmpq 0x8(%rdi), %r15
jb 0x1d3f
movl $0xa, %edi
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
jmp 0x1040
xorl %r14d, %r14d
xorl %r12d, %r12d
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1e0d
movq 0x10(%rax), %rdx
leaq 0x148a(%rip), %rdi      # 0x3236
movq %r12, %rsi
xorl %eax, %eax
callq 0x1090
movq 0x8(%rbx), %rax
cmpq $0x0, 0x8(%rax)
je 0x1de4
xorl %r14d, %r14d
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1e0d
movq %rax, %rdi
callq 0x1c2c
incq %r14
movq 0x8(%rbx), %rax
cmpq 0x8(%rax), %r14
jbe 0x1dc4
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
leaq 0x152a(%rip), %rdi      # 0x331f
leaq 0x1229(%rip), %rsi      # 0x3025
leaq 0x154a(%rip), %rcx      # 0x334d
movl $0x148, %edx            # imm = 0x148
callq 0x10b0