// File: /workspace/github_cpp_makefile_star2_O3/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 0x21f78(%rip), %rcx     # 0x2b580
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 0xacb6
movl $0x70, %edi
callq 0x7200
movq %rax, %r14
movq %rax, %rdi
movq %r15, %rsi
callq 0xf7aa
xorl %ebx, %ebx
xorps %xmm0, %xmm0
cvtsi2ss %ebx, %xmm0
movq %r14, %rdi
callq 0xf8b6
incl %ebx
cmpl $0x28, %ebx
jne 0x965c
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 0xf92c
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 0x21de7(%rip), %rax     # 0x2b4b0
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 0x21d71(%rip), %rax     # 0x2b4b0
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 0x11406
testb %al, %al
je 0x97fc
xorl %r15d, %r15d
movq %r14, %rdi
movq %r15, %rsi
callq 0xfe6a
xorps %xmm1, %xmm1
cvtsi2ss %r15d, %xmm1
ucomiss %xmm1, %xmm0
jne 0x97e2
jp 0x97e2
incq %r15
cmpq $0xa, %r15
jne 0x9781
leaq 0x16c36(%rip), %rsi     # 0x203e1
movq -0x30(%rbp), %rdi
callq 0x12738
movq -0x30(%rbp), %rdi
callq 0x7270
leaq 0x21dbc(%rip), %rax     # 0x2b580
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 0x16edb(%rip), %rsi     # 0x206c4
movq -0x30(%rbp), %rdi
callq 0x12738
movl $0x1, %edi
callq 0x7260
leaq 0x16ec1(%rip), %rsi     # 0x206c4
movq -0x30(%rbp), %rdi
callq 0x12738
jmp 0x97f2
jmp 0x986a
jmp 0x9849
jmp 0x9816
jmp 0x9849
movq %rax, %rbx
movq %r12, %rdi
jmp 0x983c
jmp 0x9849
jmp 0x9849
movq %rax, %rbx
movq %r14, %rdi
jmp 0x983c
jmp 0x9849
movq %rax, %rbx
movq %r15, %rdi
jmp 0x983c
jmp 0x9849
movq %rax, %rbx
movq %r13, %rdi
callq 0x71d0
jmp 0x984c
jmp 0x9849
jmp 0x9849
jmp 0x9849
movq %rax, %rbx
leaq 0x21d2d(%rip), %rax     # 0x2b580
movq %rax, -0x90(%rbp)
movl -0x68(%rbp), %edi
callq 0x7370
movq %rbx, %rdi
callq 0x7350
movq %rax, %rdi
callq 0x11518