// File: /workspace/github_cpp_makefile_star2_O1/yasz24[P]eau2/tests/testSerialize.cpp
// Function: testFloatDistributedArrays()
void testFloatDistributedArrays() {
    Sys* system = new Sys();
    NetworkIP network;
    KVStore* kvs1 = new KVStore(1, 0, &network);
    FloatDistributedArray* fda = new FloatDistributedArray(kvs1);
    for(int i = 0; i < 40; i++) {
        fda->pushBack(i);
    }
    char* serialized = fda->serialize();   
    FloatDistributedArray* fda2 = new FloatDistributedArray(serialized, kvs1);
    String* s = new String(serialized);
    char* serial = fda2->serialize();
    String* s2 = new String(fda2->serialize());
    system->t_true(s2->equals(s));
    for(int i = 0; i < 10; i++) {
        system->t_true(fda->get(i) == i);
    }
    system->OK("Passed FloatDistributedArray");
    delete [] system;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movl $0x1, %edi
callq 0x7200
movq %rax, -0x30(%rbp)
xorl %eax, %eax
movq %rax, -0x88(%rbp)
leaq 0x21ed3(%rip), %rcx     # 0x2b548
movq %rcx, -0x90(%rbp)
movq $0x1, -0x78(%rbp)
movq %rax, -0x70(%rbp)
movq %rax, -0x50(%rbp)
movl $0x118, %edi            # imm = 0x118
callq 0x7200
movq %rax, %r15
leaq -0x90(%rbp), %rcx
movl $0x1, %esi
movq %rax, %rdi
xorl %edx, %edx
callq 0xad26
movl $0x70, %edi
callq 0x7200
movq %rax, %r14
movq %rax, %rdi
movq %r15, %rsi
callq 0xf846
xorl %ebx, %ebx
xorps %xmm0, %xmm0
cvtsi2ss %ebx, %xmm0
movq %r14, %rdi
callq 0xf952
incl %ebx
cmpl $0x28, %ebx
jne 0x96c9
movq (%r14), %rax
movq %r14, %rdi
callq *0x38(%rax)
movq %rax, %rbx
movl $0x70, %edi
callq 0x7200
movq %rax, %r12
movq %rax, %rdi
movq %rbx, %rsi
movq %r15, %rdx
callq 0xf9a8
movq %r12, -0x38(%rbp)
movl $0x20, %edi
callq 0x7200
movq %rax, %r12
movq %rbx, %rdi
callq 0x70f0
movq %rbx, -0x48(%rbp)
movq %rax, %rbx
movq $0x0, 0x8(%r12)
leaq 0x21d42(%rip), %rax     # 0x2b478
movq %rax, (%r12)
movq %rbx, 0x10(%r12)
leaq 0x1(%rbx), %r13
movq %r13, %rdi
callq 0x7030
movq %rax, %r15
movq %r12, -0x40(%rbp)
movq %rax, 0x18(%r12)
movq %rax, %rdi
movq -0x48(%rbp), %rsi
movq %r13, %rdx
callq 0x7180
movb $0x0, (%r15,%rbx)
movq -0x38(%rbp), %rbx
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x38(%rax)
movl $0x20, %edi
callq 0x7200
movq %rax, %r13
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x38(%rax)
movq %rax, %rdi
movq %rax, -0x38(%rbp)
callq 0x70f0
movq %rax, %rbx
movq $0x0, 0x8(%r13)
leaq 0x21ccc(%rip), %rax     # 0x2b478
movq %rax, (%r13)
movq %rbx, 0x10(%r13)
leaq 0x1(%rbx), %r15
movq %r15, %rdi
callq 0x7030
movq -0x38(%rbp), %rsi
movq %rax, %r12
movq %rax, 0x18(%r13)
movq %rax, %rdi
movq %r15, %rdx
callq 0x7180
movb $0x0, (%r12,%rbx)
movq %r13, %rdi
movq -0x40(%rbp), %rsi
callq 0x1149c
testb %al, %al
je 0x9869
xorl %r15d, %r15d
movq %r14, %rdi
movq %r15, %rsi
callq 0xfefe
xorps %xmm1, %xmm1
cvtsi2ss %r15d, %xmm1
ucomiss %xmm1, %xmm0
jne 0x984f
jp 0x984f
incq %r15
cmpq $0xa, %r15
jne 0x97ee
leaq 0x16be3(%rip), %rsi     # 0x203fb
movq -0x30(%rbp), %rdi
callq 0x127ec
movq -0x30(%rbp), %rdi
callq 0x7270
leaq 0x21d17(%rip), %rax     # 0x2b548
movq %rax, -0x90(%rbp)
movl -0x68(%rbp), %edi
callq 0x7370
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x16e88(%rip), %rsi     # 0x206de
movq -0x30(%rbp), %rdi
callq 0x127ec
movl $0x1, %edi
callq 0x7260
leaq 0x16e6e(%rip), %rsi     # 0x206de
movq -0x30(%rbp), %rdi
callq 0x127ec
jmp 0x985f
jmp 0x98d7
jmp 0x98b6
jmp 0x9883
jmp 0x98b6
movq %rax, %rbx
movq %r12, %rdi
jmp 0x98a9
jmp 0x98b6
jmp 0x98b6
movq %rax, %rbx
movq %r14, %rdi
jmp 0x98a9
jmp 0x98b6
movq %rax, %rbx
movq %r15, %rdi
jmp 0x98a9
jmp 0x98b6
movq %rax, %rbx
movq %r13, %rdi
callq 0x71d0
jmp 0x98b9
jmp 0x98b6
jmp 0x98b6
jmp 0x98b6
movq %rax, %rbx
leaq 0x21c88(%rip), %rax     # 0x2b548
movq %rax, -0x90(%rbp)
movl -0x68(%rbp), %edi
callq 0x7370
movq %rbx, %rdi
callq 0x7350
movq %rax, %rdi
callq 0x115b8