// File: obliviousram[P]oblivious-avl-tree/src/ServerStorage.cpp
// Function: ServerStorage::dumpAllValidBlocks()
void ServerStorage::dumpAllValidBlocks(){
    for (auto bu: buckets) {
        for (auto bl: bu.getBlocks()) {
            if (bl.id != -1) {
                cout << bl.id << " " << bl.data[0] << " "<< bl.data[1] << " "<< bl.data[2] << " "<< bl.data[3]  << " "<< bl.leftChildId  << " "<< bl.rightChildId << endl;
            }
        }
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x120, %rsp            # imm = 0x120
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
addq $0x8, %rax
movq %rax, -0x10(%rbp)
movq -0x10(%rbp), %rdi
callq 0x143f0
movq %rax, -0x18(%rbp)
movq -0x10(%rbp), %rdi
callq 0x14420
movq %rax, -0x20(%rbp)
leaq -0x18(%rbp), %rdi
leaq -0x20(%rbp), %rsi
callq 0x14450
testb $0x1, %al
jne 0x13e9b
jmp 0x1412a
leaq -0x18(%rbp), %rdi
callq 0x14490
movq %rax, %rsi
leaq -0x38(%rbp), %rdi
movq %rdi, -0xb0(%rbp)
callq 0xcfa0
movq -0xb0(%rbp), %rsi
leaq -0x58(%rbp), %rdi
callq 0x4700
jmp 0x13ec9
leaq -0x58(%rbp), %rax
movq %rax, -0x40(%rbp)
movq -0x40(%rbp), %rdi
callq 0x4a70
movq %rax, -0x70(%rbp)
movq -0x40(%rbp), %rdi
callq 0x4aa0
movq %rax, -0x78(%rbp)
leaq -0x70(%rbp), %rdi
leaq -0x78(%rbp), %rsi
callq 0x4ad0
testb $0x1, %al
jne 0x13f1b
leaq -0x58(%rbp), %rdi
callq 0x4900
jmp 0x14108
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x60(%rbp)
movl %eax, -0x64(%rbp)
jmp 0x1411f
leaq -0x70(%rbp), %rdi
callq 0x4b10
movq %rax, %rsi
leaq -0xa8(%rbp), %rdi
callq 0x3720
jmp 0x13f35
cmpl $-0x1, -0x9c(%rbp)
je 0x140e3
movl -0x9c(%rbp), %esi
movq 0xa089(%rip), %rdi      # 0x1dfd8
callq 0x3380
movq %rax, -0xb8(%rbp)
jmp 0x13f5d
movq -0xb8(%rbp), %rdi
leaq 0x20aa(%rip), %rsi      # 0x16015
callq 0x31f0
movq %rax, -0xc0(%rbp)
jmp 0x13f79
movq -0xc0(%rbp), %rdi
movl -0x98(%rbp), %esi
callq 0x3380
movq %rax, -0xc8(%rbp)
jmp 0x13f94
movq -0xc8(%rbp), %rdi
leaq 0x2073(%rip), %rsi      # 0x16015
callq 0x31f0
movq %rax, -0xd0(%rbp)
jmp 0x13fb0
movq -0xd0(%rbp), %rdi
movl -0x94(%rbp), %esi
callq 0x3380
movq %rax, -0xd8(%rbp)
jmp 0x13fcb
movq -0xd8(%rbp), %rdi
leaq 0x203c(%rip), %rsi      # 0x16015
callq 0x31f0
movq %rax, -0xe0(%rbp)
jmp 0x13fe7
movq -0xe0(%rbp), %rdi
movl -0x90(%rbp), %esi
callq 0x3380
movq %rax, -0xe8(%rbp)
jmp 0x14002
movq -0xe8(%rbp), %rdi
leaq 0x2005(%rip), %rsi      # 0x16015
callq 0x31f0
movq %rax, -0xf0(%rbp)
jmp 0x1401e
movq -0xf0(%rbp), %rdi
movl -0x8c(%rbp), %esi
callq 0x3380
movq %rax, -0xf8(%rbp)
jmp 0x14039
movq -0xf8(%rbp), %rdi
leaq 0x1fce(%rip), %rsi      # 0x16015
callq 0x31f0
movq %rax, -0x100(%rbp)
jmp 0x14055
movq -0x100(%rbp), %rdi
movl -0x84(%rbp), %esi
callq 0x3380
movq %rax, -0x108(%rbp)
jmp 0x14070
movq -0x108(%rbp), %rdi
leaq 0x1f97(%rip), %rsi      # 0x16015
callq 0x31f0
movq %rax, -0x110(%rbp)
jmp 0x1408c
movq -0x110(%rbp), %rdi
movl -0x7c(%rbp), %esi
callq 0x3380
movq %rax, -0x118(%rbp)
jmp 0x140a4
movq -0x118(%rbp), %rdi
movq 0x9f16(%rip), %rsi      # 0x1dfc8
callq 0x3230
jmp 0x140b9
jmp 0x140e3
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x60(%rbp)
movl %eax, -0x64(%rbp)
jmp 0x140fd
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x60(%rbp)
movl %eax, -0x64(%rbp)
leaq -0xa8(%rbp), %rdi
callq 0x3830
jmp 0x140fd
leaq -0xa8(%rbp), %rdi
callq 0x3830
leaq -0x70(%rbp), %rdi
callq 0x4b30
jmp 0x13eeb
leaq -0x58(%rbp), %rdi
callq 0x4900
jmp 0x1411f
leaq -0x38(%rbp), %rdi
callq 0xcfd0
leaq -0x18(%rbp), %rdi
callq 0x144b0
jmp 0x13e85
leaq -0x38(%rbp), %rdi
callq 0xcfd0
jmp 0x14133
addq $0x120, %rsp            # imm = 0x120
popq %rbp
retq
movq -0x60(%rbp), %rdi
callq 0x33a0
nopl (%rax)