LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O3/mouda[P]LTE_random_access-simulate/ap.cpp
// Function: alglib::operator/(alglib::complex const&, alglib::complex const&)
const alglib::complex alglib::operator/(const alglib::complex& lhs, const alglib::complex& rhs)
{
    alglib::complex result;
    double e;
    double f;
    if( fabs(rhs.y)<fabs(rhs.x) )
    {
        e = rhs.y/rhs.x;
        f = rhs.x+rhs.y*e;
        result.x = (lhs.x+lhs.y*e)/f;
        result.y = (lhs.y-lhs.x*e)/f;
    }
    else
    {
        e = rhs.x/rhs.y;
        f = rhs.y+rhs.x*e;
        result.x = (lhs.y+lhs.x*e)/f;
        result.y = (-lhs.x+lhs.y*e)/f;
    }
    return result;
}

// Assembly:
movq %rdi, %rax
movdqu (%rdx), %xmm1
movdqa 0xc8f1(%rip), %xmm0     # 0x36220
pand %xmm1, %xmm0
pshufd $0xee, %xmm0, %xmm2     # xmm2 = xmm0[2,3,2,3]
ucomisd %xmm2, %xmm0
jbe 0x29985
movapd %xmm1, %xmm2
unpckhpd %xmm1, %xmm2            # xmm2 = xmm2[1],xmm1[1]
movapd %xmm2, %xmm0
divsd %xmm1, %xmm0
mulsd %xmm0, %xmm2
addsd %xmm1, %xmm2
movupd (%rsi), %xmm1
movapd 0x984e(%rip), %xmm3     # 0x331b0
xorpd %xmm1, %xmm3
movapd %xmm1, %xmm4
shufpd $0x1, %xmm3, %xmm4      # xmm4 = xmm4[1],xmm3[0]
unpcklpd %xmm0, %xmm0            # xmm0 = xmm0[0,0]
mulpd %xmm4, %xmm0
addpd %xmm1, %xmm0
unpcklpd %xmm2, %xmm2            # xmm2 = xmm2[0,0]
divpd %xmm2, %xmm0
jmp 0x299c6
movdqa %xmm1, %xmm2
punpckhqdq %xmm1, %xmm2    # xmm2 = xmm2[1],xmm1[1]
movdqa %xmm1, %xmm0
divsd %xmm2, %xmm0
mulsd %xmm0, %xmm1
addsd %xmm2, %xmm1
movupd (%rsi), %xmm2
movapd 0x9807(%rip), %xmm3     # 0x331b0
xorpd %xmm2, %xmm3
unpcklpd %xmm0, %xmm0            # xmm0 = xmm0[0,0]
mulpd %xmm2, %xmm0
shufpd $0x1, %xmm3, %xmm2      # xmm2 = xmm2[1],xmm3[0]
addpd %xmm2, %xmm0
unpcklpd %xmm1, %xmm1            # xmm1 = xmm1[0,0]
divpd %xmm1, %xmm0
movupd %xmm0, (%rax)
retq
// File: /workspace/github_cpp_makefile_star2_O3/mouda[P]LTE_random_access-simulate/ap.cpp
// Function: alglib::operator/(double const&, alglib::complex const&)
const alglib::complex alglib::operator/(const double& lhs, const alglib::complex& rhs)
{
    alglib::complex result;
    double e;
    double f;
    if( fabs(rhs.y)<fabs(rhs.x) )
    {
        e = rhs.y/rhs.x;
        f = rhs.x+rhs.y*e;
        result.x = lhs/f;
        result.y = -lhs*e/f;
    }
    else
    {
        e = rhs.x/rhs.y;
        f = rhs.y+rhs.x*e;
        result.x = lhs*e/f;
        result.y = -lhs/f;
    }
    return result;
}

// Assembly:
movq %rdi, %rax
movdqu (%rdx), %xmm1
movdqa 0xc846(%rip), %xmm0     # 0x36220
pand %xmm1, %xmm0
pshufd $0xee, %xmm0, %xmm2     # xmm2 = xmm0[2,3,2,3]
ucomisd %xmm2, %xmm0
movsd (%rsi), %xmm0
movdqa %xmm1, %xmm2
punpckhqdq %xmm1, %xmm2    # xmm2 = xmm2[1],xmm1[1]
jbe 0x29a23
movapd %xmm2, %xmm3
divsd %xmm1, %xmm3
mulsd %xmm3, %xmm2
addsd %xmm1, %xmm2
movapd 0x97a3(%rip), %xmm1     # 0x331b0
xorpd %xmm0, %xmm1
mulsd %xmm3, %xmm1
unpcklpd %xmm1, %xmm0            # xmm0 = xmm0[0],xmm1[0]
unpcklpd %xmm2, %xmm2            # xmm2 = xmm2[0,0]
divpd %xmm2, %xmm0
jmp 0x29a4f
movdqa %xmm1, %xmm3
divsd %xmm2, %xmm3
mulsd %xmm3, %xmm1
addsd %xmm2, %xmm1
mulsd %xmm0, %xmm3
xorpd 0x9771(%rip), %xmm0     # 0x331b0
unpcklpd %xmm0, %xmm3            # xmm3 = xmm3[0],xmm0[0]
unpcklpd %xmm1, %xmm1            # xmm1 = xmm1[0,0]
divpd %xmm1, %xmm3
movapd %xmm3, %xmm0
movupd %xmm0, (%rax)
retq
// File: /workspace/github_cpp_makefile_star2_O3/mouda[P]LTE_random_access-simulate/ap.cpp
// Function: alglib::vmove(alglib::complex*, long, alglib::complex const*, long, char const*, long)
void alglib::vmove(alglib::complex *vdst, ae_int_t stride_dst, const alglib::complex* vsrc, ae_int_t stride_src, const char *conj_src, ae_int_t n)
{
    bool bconj = !((conj_src[0]=='N') || (conj_src[0]=='n'));
    ae_int_t i;
    if( stride_dst!=1 || stride_src!=1 )
    {
        //
        // general unoptimized case
        //
        if( bconj )
        {
            for(i=0; i<n; i++, vdst+=stride_dst, vsrc+=stride_src)
            {
                vdst->x =  vsrc->x;
                vdst->y = -vsrc->y;
            }
        }
        else
        {
            for(i=0; i<n; i++, vdst+=stride_dst, vsrc+=stride_src)
                *vdst = *vsrc;
        }
    }
    else
    {
        //
        // optimized case
        //
        if( bconj )
        {
            for(i=0; i<n; i++, vdst++, vsrc++)
            {
                vdst->x =  vsrc->x;
                vdst->y = -vsrc->y;
            }
        }
        else
        {
            for(i=0; i<n; i++, vdst++, vsrc++)
                *vdst = *vsrc;
        }
    }
}

// Assembly:
movb (%r8), %al
andb $-0x21, %al
movq %rsi, %r8
xorq $0x1, %r8
movq %rcx, %r10
xorq $0x1, %r10
orq %r8, %r10
je 0x29f1b
cmpb $0x4e, %al
jne 0x29f3d
testq %r9, %r9
jle 0x29fa9
shlq $0x4, %rsi
shlq $0x4, %rcx
movups (%rdx), %xmm0
movups %xmm0, (%rdi)
addq %rsi, %rdi
addq %rcx, %rdx
decq %r9
jne 0x29f05
jmp 0x29fa9
cmpb $0x4e, %al
jne 0x29f7a
testq %r9, %r9
jle 0x29fa9
xorl %eax, %eax
movups (%rdx,%rax), %xmm0
movups %xmm0, (%rdi,%rax)
addq $0x10, %rax
decq %r9
jne 0x29f2a
jmp 0x29fa9
testq %r9, %r9
jle 0x29fa9
addq $0x8, %rdi
shlq $0x4, %rsi
addq $0x8, %rdx
shlq $0x4, %rcx
movaps 0x9257(%rip), %xmm0     # 0x331b0
movsd -0x8(%rdx), %xmm1
movsd %xmm1, -0x8(%rdi)
movsd (%rdx), %xmm1
xorps %xmm0, %xmm1
movlps %xmm1, (%rdi)
addq %rsi, %rdi
addq %rcx, %rdx
decq %r9
jne 0x29f59
jmp 0x29fa9
testq %r9, %r9
jle 0x29fa9
xorl %eax, %eax
movaps 0x9228(%rip), %xmm0     # 0x331b0
movsd (%rdx,%rax), %xmm1
movsd %xmm1, (%rdi,%rax)
movsd 0x8(%rdx,%rax), %xmm1
xorps %xmm0, %xmm1
movlps %xmm1, 0x8(%rdi,%rax)
addq $0x10, %rax
decq %r9
jne 0x29f88
retq
// File: /workspace/github_cpp_makefile_star2_O3/mouda[P]LTE_random_access-simulate/ap.cpp
// Function: alglib::vmove(alglib::complex*, long, alglib::complex const*, long, char const*, long, double)
void alglib::vmove(alglib::complex *vdst, ae_int_t stride_dst, const alglib::complex* vsrc, ae_int_t stride_src, const char *conj_src, ae_int_t n, double alpha)
{
    bool bconj = !((conj_src[0]=='N') || (conj_src[0]=='n'));
    ae_int_t i;
    if( stride_dst!=1 || stride_src!=1 )
    {
        //
        // general unoptimized case
        //
        if( bconj )
        {
            for(i=0; i<n; i++, vdst+=stride_dst, vsrc+=stride_src)
            {
                vdst->x =  alpha*vsrc->x;
                vdst->y = -alpha*vsrc->y;
            }
        }
        else
        {
            for(i=0; i<n; i++, vdst+=stride_dst, vsrc+=stride_src)
            {
                vdst->x = alpha*vsrc->x;
                vdst->y = alpha*vsrc->y;
            }
        }
    }
    else
    {
        //
        // optimized case
        //
        if( bconj )
        {
            for(i=0; i<n; i++, vdst++, vsrc++)
            {
                vdst->x =  alpha*vsrc->x;
                vdst->y = -alpha*vsrc->y;
            }
        }
        else
        {
            for(i=0; i<n; i++, vdst++, vsrc++)
            {
                vdst->x = alpha*vsrc->x;
                vdst->y = alpha*vsrc->y;
            }
        }
    }
}

// Assembly:
movb (%r8), %al
andb $-0x21, %al
movq %rsi, %r8
xorq $0x1, %r8
movq %rcx, %r10
xorq $0x1, %r10
orq %r8, %r10
je 0x2a2be
cmpb $0x4e, %al
jne 0x2a2ea
testq %r9, %r9
jle 0x2a34e
unpcklpd %xmm0, %xmm0            # xmm0 = xmm0[0,0]
shlq $0x4, %rsi
shlq $0x4, %rcx
movupd (%rdx), %xmm1
mulpd %xmm0, %xmm1
movupd %xmm1, (%rdi)
addq %rsi, %rdi
addq %rcx, %rdx
decq %r9
jne 0x2a2a2
jmp 0x2a34e
cmpb $0x4e, %al
jne 0x2a320
testq %r9, %r9
jle 0x2a34e
unpcklpd %xmm0, %xmm0            # xmm0 = xmm0[0,0]
xorl %eax, %eax
movupd (%rdx,%rax), %xmm1
mulpd %xmm0, %xmm1
movupd %xmm1, (%rdi,%rax)
addq $0x10, %rax
decq %r9
jne 0x2a2d1
jmp 0x2a34e
testq %r9, %r9
jle 0x2a34e
movapd 0x8eb9(%rip), %xmm1     # 0x331b0
xorpd %xmm0, %xmm1
unpcklpd %xmm1, %xmm0            # xmm0 = xmm0[0],xmm1[0]
shlq $0x4, %rsi
shlq $0x4, %rcx
movupd (%rdx), %xmm1
mulpd %xmm0, %xmm1
movupd %xmm1, (%rdi)
addq %rsi, %rdi
addq %rcx, %rdx
decq %r9
jne 0x2a307
jmp 0x2a34e
testq %r9, %r9
jle 0x2a34e
movapd 0x8e83(%rip), %xmm1     # 0x331b0
xorpd %xmm0, %xmm1
unpcklpd %xmm1, %xmm0            # xmm0 = xmm0[0],xmm1[0]
xorl %eax, %eax
movupd (%rdx,%rax), %xmm1
mulpd %xmm0, %xmm1
movupd %xmm1, (%rdi,%rax)
addq $0x10, %rax
decq %r9
jne 0x2a337
retq
// File: /workspace/github_cpp_makefile_star2_O3/mouda[P]LTE_random_access-simulate/ap.cpp
// Function: alglib::vmul(double*, long, long, double)
void alglib::vmul(double *vdst,  ae_int_t stride_dst, ae_int_t n, double alpha)
{
    ae_int_t i;
    if( stride_dst!=1 )
    {
        //
        // general unoptimized case
        //
        for(i=0; i<n; i++, vdst+=stride_dst)
            *vdst *= alpha;
    }
    else
    {
        //
        // optimized case
        //
        for(i=0; i<n; i++, vdst++)
            *vdst *= alpha;
    }
}

// Assembly:
cmpq $0x1, %rsi
jne 0x2adab
testq %rdx, %rdx
jle 0x2adc8
xorl %eax, %eax
movsd (%rdi,%rax,8), %xmm1
mulsd %xmm0, %xmm1
movsd %xmm1, (%rdi,%rax,8)
incq %rax
cmpq %rax, %rdx
jne 0x2ad93
jmp 0x2adc8
testq %rdx, %rdx
jle 0x2adc8
shlq $0x3, %rsi
movsd (%rdi), %xmm1
mulsd %xmm0, %xmm1
movsd %xmm1, (%rdi)
addq %rsi, %rdi
decq %rdx
jne 0x2adb4
retq
// File: /workspace/github_cpp_makefile_star2_O3/mouda[P]LTE_random_access-simulate/ap.cpp
// Function: alglib::vmul(alglib::complex*, long, long, alglib::complex)
void alglib::vmul(alglib::complex *vdst, ae_int_t stride_dst, ae_int_t n, alglib::complex alpha)
{
    ae_int_t i;
    if( stride_dst!=1 )
    {
        //
        // general unoptimized case
        //
        double ax = alpha.x, ay = alpha.y;
        for(i=0; i<n; i++, vdst+=stride_dst)
        {
            double  dstx = vdst->x, dsty = vdst->y;
            vdst->x = ax*dstx-ay*dsty;
            vdst->y = ax*dsty+ay*dstx;
        }
    }
    else
    {
        //
        // optimized case
        //
        double ax = alpha.x, ay = alpha.y;
        for(i=0; i<n; i++, vdst++)
        {
            double  dstx = vdst->x, dsty = vdst->y;
            vdst->x = ax*dstx-ay*dsty;
            vdst->y = ax*dsty+ay*dstx;
        }
    }
}

// Assembly:
movsd (%rcx), %xmm0
movsd 0x8(%rcx), %xmm1
cmpq $0x1, %rsi
jne 0x2ae9e
testq %rdx, %rdx
jle 0x2aee0
movapd 0x8346(%rip), %xmm2     # 0x331b0
xorpd %xmm1, %xmm2
unpcklpd %xmm0, %xmm0            # xmm0 = xmm0[0,0]
unpcklpd %xmm2, %xmm1            # xmm1 = xmm1[0],xmm2[0]
movupd (%rdi), %xmm2
movapd %xmm2, %xmm3
mulpd %xmm1, %xmm3
shufpd $0x1, %xmm3, %xmm3      # xmm3 = xmm3[1,0]
mulpd %xmm0, %xmm2
addpd %xmm3, %xmm2
movupd %xmm2, (%rdi)
addq $0x10, %rdi
decq %rdx
jne 0x2ae76
jmp 0x2aee0
testq %rdx, %rdx
jle 0x2aee0
movapd 0x8305(%rip), %xmm2     # 0x331b0
xorpd %xmm1, %xmm2
unpcklpd %xmm0, %xmm0            # xmm0 = xmm0[0,0]
unpcklpd %xmm2, %xmm1            # xmm1 = xmm1[0],xmm2[0]
shlq $0x4, %rsi
movupd (%rdi), %xmm2
movapd %xmm2, %xmm3
mulpd %xmm1, %xmm3
shufpd $0x1, %xmm3, %xmm3      # xmm3 = xmm3[1,0]
mulpd %xmm0, %xmm2
addpd %xmm3, %xmm2
movupd %xmm2, (%rdi)
addq %rsi, %rdi
decq %rdx
jne 0x2aebb
retq
// File: /workspace/github_cpp_makefile_star2_O3/mouda[P]LTE_random_access-simulate/ap.cpp
// Function: alglib::ae_vector_wrapper::ae_vector_wrapper(alglib::ae_vector_wrapper const&)
alglib::ae_vector_wrapper::ae_vector_wrapper(const alglib::ae_vector_wrapper &rhs)
{
    if( rhs.p_vec!=NULL )
    {
        p_vec = &vec;
        if( !ae_vector_init_copy(p_vec, rhs.p_vec, NULL, ae_false) )
            throw alglib::ap_error("ALGLIB: malloc error!");
    }
    else
        p_vec = NULL;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
leaq 0x17bf3(%rip), %rax     # 0x42ba0
movq %rax, (%rdi)
cmpq $0x0, 0x8(%rsi)
je 0x2b005
leaq 0x10(%rdi), %rax
movq %rax, 0x8(%rdi)
movq 0x8(%rsi), %rsi
movq %rax, %rdi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x25262
testb %al, %al
jne 0x2b00d
movl $0x20, %edi
callq 0x3140
movq %rax, %rbx
leaq 0xba5c(%rip), %rsi      # 0x36a43
movq %rax, %rdi
callq 0x28d64
leaq 0x17b8a(%rip), %rsi     # 0x42b80
leaq -0x17d3b(%rip), %rdx    # 0x132c2
movq %rbx, %rdi
callq 0x33f0
movq $0x0, 0x8(%rdi)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movq %rax, %r14
movq %rbx, %rdi
callq 0x31c0
movq %r14, %rdi
callq 0x3420
// File: /workspace/github_cpp_makefile_star2_O3/mouda[P]LTE_random_access-simulate/ap.cpp
// Function: alglib::ae_vector_wrapper::operator=(alglib::ae_vector_wrapper const&)
const alglib::ae_vector_wrapper& alglib::ae_vector_wrapper::operator=(const alglib::ae_vector_wrapper &rhs)
{
    if( this==&rhs )
        return *this;
    if( p_vec==&vec )
        ae_vector_clear(p_vec);
    if( rhs.p_vec!=NULL )
    {
        p_vec = &vec;
        if( !ae_vector_init_copy(p_vec, rhs.p_vec, NULL, ae_false) )
            throw alglib::ap_error("ALGLIB: malloc error!");
    }
    else
        p_vec = NULL;
    return *this;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
cmpq %rsi, %rdi
je 0x2b0d7
movq %rsi, %r14
movq 0x8(%rbx), %r12
leaq 0x10(%rbx), %r15
cmpq %r15, %r12
jne 0x2b07e
movq $0x0, (%r12)
cmpq $0x0, 0x20(%r12)
je 0x2b066
movq 0x20(%r12), %rdi
callq *0x18(%r12)
xorl %eax, %eax
movq %rax, 0x20(%r12)
leaq -0x6150(%rip), %rcx     # 0x24f24
movq %rcx, 0x18(%r12)
movq %rax, 0x28(%r12)
cmpq $0x0, 0x8(%r14)
je 0x2b0cf
movq %r15, 0x8(%rbx)
movq 0x8(%r14), %rsi
movq %r15, %rdi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x25262
testb %al, %al
jne 0x2b0d7
movl $0x20, %edi
callq 0x3140
movq %rax, %rbx
leaq 0xb992(%rip), %rsi      # 0x36a43
movq %rax, %rdi
callq 0x28d64
leaq 0x17ac0(%rip), %rsi     # 0x42b80
leaq -0x17e05(%rip), %rdx    # 0x132c2
movq %rbx, %rdi
callq 0x33f0
movq $0x0, 0x8(%rbx)
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %r14
movq %rbx, %rdi
callq 0x31c0
movq %r14, %rdi
callq 0x3420
nop
// File: /workspace/github_cpp_makefile_star2_O3/mouda[P]LTE_random_access-simulate/ap.cpp
// Function: alglib::ae_vector_wrapper::setlength(long)
void alglib::ae_vector_wrapper::setlength(ae_int_t iLen)
{
    if( p_vec==NULL )
        throw alglib::ap_error("ALGLIB: setlength() error, p_vec==NULL (array was not correctly initialized)");
    if( p_vec!=&vec )
        throw alglib::ap_error("ALGLIB: setlength() error, p_vec!=&vec (attempt to resize frozen array)");
    if( !ae_vector_set_length(p_vec, iLen, NULL) )
        throw alglib::ap_error("ALGLIB: malloc error");
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rax
movq 0x8(%rdi), %rdi
testq %rdi, %rdi
je 0x2b126
addq $0x10, %rax
cmpq %rax, %rdi
jne 0x2b144
xorl %edx, %edx
callq 0x25326
testb %al, %al
je 0x2b162
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movl $0x20, %edi
callq 0x3140
movq %rax, %rbx
leaq 0xb91f(%rip), %rsi      # 0x36a59
movq %rax, %rdi
callq 0x28d64
jmp 0x2b17e
movl $0x20, %edi
callq 0x3140
movq %rax, %rbx
leaq 0xb94e(%rip), %rsi      # 0x36aa6
movq %rax, %rdi
callq 0x28d64
jmp 0x2b17e
movl $0x20, %edi
callq 0x3140
movq %rax, %rbx
leaq 0xb978(%rip), %rsi      # 0x36aee
movq %rax, %rdi
callq 0x28d64
leaq 0x179fb(%rip), %rsi     # 0x42b80
leaq -0x17eca(%rip), %rdx    # 0x132c2
movq %rbx, %rdi
callq 0x33f0
jmp 0x2b198
jmp 0x2b198
movq %rax, %r14
movq %rbx, %rdi
callq 0x31c0
movq %r14, %rdi
callq 0x3420
nop
// File: /workspace/github_cpp_makefile_star2_O3/mouda[P]LTE_random_access-simulate/ap.cpp
// Function: alglib::ae_vector_wrapper::attach_to(alglib_impl::ae_vector*)
void alglib::ae_vector_wrapper::attach_to(alglib_impl::ae_vector *ptr)
{
    if( ptr==&vec )
        throw alglib::ap_error("ALGLIB: attempt to attach vector to itself");
    if( p_vec==&vec )
        ae_vector_clear(p_vec);
    p_vec = ptr;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
leaq 0x10(%rdi), %rax
cmpq %rsi, %rax
je 0x2b20e
movq %rsi, %rbx
movq %rdi, %r14
movq 0x8(%rdi), %r15
cmpq %rax, %r15
jne 0x2b204
movq $0x0, (%r15)
cmpq $0x0, 0x20(%r15)
je 0x2b1ef
movq 0x20(%r15), %rdi
callq *0x18(%r15)
xorl %eax, %eax
movq %rax, 0x20(%r15)
leaq -0x62d8(%rip), %rcx     # 0x24f24
movq %rcx, 0x18(%r15)
movq %rax, 0x28(%r15)
movq %rbx, 0x8(%r14)
popq %rbx
popq %r14
popq %r15
retq
movl $0x20, %edi
callq 0x3140
movq %rax, %rbx
leaq 0xb8e1(%rip), %rsi      # 0x36b03
movq %rax, %rdi
callq 0x28d64
leaq 0x1794f(%rip), %rsi     # 0x42b80
leaq -0x17f76(%rip), %rdx    # 0x132c2
movq %rbx, %rdi
callq 0x33f0
movq %rax, %r14
movq %rbx, %rdi
callq 0x31c0
movq %r14, %rdi
callq 0x3420
nop
// File: /workspace/github_cpp_makefile_star2_O3/mouda[P]LTE_random_access-simulate/ap.cpp
// Function: alglib::ae_vector_wrapper::allocate_own(long, long)
void alglib::ae_vector_wrapper::allocate_own(ae_int_t size, alglib_impl::ae_datatype datatype)
{
    if( p_vec==&vec )
        ae_vector_clear(p_vec);
    p_vec = &vec;
    if( !ae_vector_init(p_vec, size, datatype, NULL, false) )
        throw alglib::ap_error("ALGLIB: malloc error");
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r12
movq 0x8(%rdi), %r13
leaq 0x10(%rdi), %r15
cmpq %r15, %r13
jne 0x2b29f
movq $0x0, (%r13)
cmpq $0x0, 0x20(%r13)
je 0x2b28a
movq 0x20(%r13), %rdi
callq *0x18(%r13)
xorl %eax, %eax
movq %rax, 0x20(%r13)
leaq -0x6373(%rip), %rcx     # 0x24f24
movq %rcx, 0x18(%r13)
movq %rax, 0x28(%r13)
movq %r15, 0x8(%r12)
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rdx
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x251ec
testb %al, %al
je 0x2b2c5
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movl $0x20, %edi
callq 0x3140
movq %rax, %rbx
leaq 0xb815(%rip), %rsi      # 0x36aee
movq %rax, %rdi
callq 0x28d64
leaq 0x17898(%rip), %rsi     # 0x42b80
leaq -0x1802d(%rip), %rdx    # 0x132c2
movq %rbx, %rdi
callq 0x33f0
movq %rax, %r14
movq %rbx, %rdi
callq 0x31c0
movq %r14, %rdi
callq 0x3420
// File: /workspace/github_cpp_makefile_star2_O3/mouda[P]LTE_random_access-simulate/ap.cpp
// Function: alglib::boolean_1d_array::boolean_1d_array(char const*)
alglib::boolean_1d_array::boolean_1d_array(const char *s)  
{
    std::vector<const char*> svec;
    size_t i;
    char *p = filter_spaces(s);
    try
    {
        str_vector_create(p, true, &svec);
        allocate_own((ae_int_t)(svec.size()), alglib_impl::DT_BOOL);
        for(i=0; i<svec.size(); i++)
            operator()((ae_int_t)i) = parse_bool_delim(svec[i],",]");
        alglib_impl::ae_free(p);
    }
    catch(...)
    {
        alglib_impl::ae_free(p);
        throw;
    }
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
xorl %eax, %eax
movq %rax, 0x8(%rdi)
leaq 0x1784f(%rip), %rcx     # 0x42bc0
movq %rcx, (%rdi)
movq %rax, 0x10(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, (%rsp)
movq %rsi, %rdi
callq 0x2b482
movq %rax, %r14
movq %rsp, %rdx
movq %rax, %rdi
movl $0x1, %esi
callq 0x2b52f
movq 0x8(%rsp), %rsi
subq (%rsp), %rsi
sarq $0x3, %rsi
movl $0x1, %edx
movq %rbx, %rdi
callq 0x2b254
movq (%rsp), %rdi
cmpq %rdi, 0x8(%rsp)
je 0x2b3fa
xorl %r12d, %r12d
leaq 0xb764(%rip), %r15      # 0x36b2e
movq (%rdi,%r12,8), %rdi
movq %r15, %rsi
callq 0x2b65d
movq 0x8(%rbx), %rcx
movq 0x28(%rcx), %rcx
movb %al, (%rcx,%r12)
incq %r12
movq (%rsp), %rdi
movq 0x8(%rsp), %rax
subq %rdi, %rax
sarq $0x3, %rax
cmpq %rax, %r12
jb 0x2b3ca
testq %r14, %r14
je 0x2b40c
movq -0x8(%r14), %rdi
callq 0x32e0
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x2b41e
movq 0x10(%rsp), %rsi
subq %rdi, %rsi
callq 0x32b0
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %r14
jmp 0x2b46a
jmp 0x2b431
movq %rax, %rdi
callq 0x3100
testq %r14, %r14
je 0x2b447
movq -0x8(%r14), %rdi
callq 0x32e0
callq 0x3360
movq %rax, %r14
callq 0x33c0
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x2b46a
movq 0x10(%rsp), %rsi
subq %rdi, %rsi
callq 0x32b0
movq %rbx, %rdi
callq 0x2af3e
movq %r14, %rdi
callq 0x3420
movq %rax, %rdi
callq 0x132b7
// File: /workspace/github_cpp_makefile_star2_O3/mouda[P]LTE_random_access-simulate/ap.cpp
// Function: alglib::filter_spaces(char const*)
char* alglib::filter_spaces(const char *s)
{
    size_t i, j, n;
    char *r;
    char *r0;
    n = strlen(s);
    r = (char*)alglib_impl::ae_malloc(n+1, NULL);
    if( r==NULL )
        throw ap_error("malloc error");
    for(i=0,j=0,r0=r; i<=n; i++,s++)
        if( !isspace(*s) )
        {
            *r0 = *s;
            r0++;
        }
    return r;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
callq 0x3110
movq %rax, %r14
incq %r14
je 0x2b4ea
movl $0x10, %esi
movq %r14, %rdi
callq 0x24e78
testq %rax, %rax
je 0x2b4ea
movq %rax, %r15
xorl %r12d, %r12d
movq %rax, %r13
movb (%rbx,%r12), %bpl
movsbl %bpl, %edi
callq 0x3050
testl %eax, %eax
jne 0x2b4d0
movb %bpl, (%r13)
incq %r13
incq %r12
cmpq %r12, %r14
jne 0x2b4b8
movq %r15, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x20, %edi
callq 0x3140
movq %rax, %rbx
leaq 0xb5f8(%rip), %rsi      # 0x36af6
movq %rax, %rdi
callq 0x28d64
leaq 0x17673(%rip), %rsi     # 0x42b80
leaq -0x18252(%rip), %rdx    # 0x132c2
movq %rbx, %rdi
callq 0x33f0
movq %rax, %r14
movq %rbx, %rdi
callq 0x31c0
movq %r14, %rdi
callq 0x3420
// File: /workspace/github_cpp_makefile_star2_O3/mouda[P]LTE_random_access-simulate/ap.cpp
// Function: alglib::str_vector_create(char const*, bool, std::vector<char const*, std::allocator<char const*>>*)
void alglib::str_vector_create(const char *src, bool match_head_only, std::vector<const char*> *p_vec)
{
    //
    // parse beginning of the string.
    // try to handle "[]" string
    //
    p_vec->clear();
    if( *src!='[' )
        throw alglib::ap_error("Incorrect initializer for vector");
    src++;
    if( *src==']' )
        return;
    p_vec->push_back(src);
    for(;;)
    {
        if( *src==0 )
            throw alglib::ap_error("Incorrect initializer for vector");
        if( *src==']' )
        {
            if( src[1]==0 || !match_head_only)
                return;
            throw alglib::ap_error("Incorrect initializer for vector");
        }
        if( *src==',' )
        {
            p_vec->push_back(src+1);
            src++;
            continue;
        }
        src++;
    }
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rdx, %r14
movl %esi, %ebx
movq (%rdx), %rax
movq 0x8(%rdx), %rsi
cmpq %rax, %rsi
je 0x2b550
movq %rax, 0x8(%r14)
movq %rax, %rsi
cmpb $0x5b, (%rdi)
jne 0x2b60a
leaq 0x1(%rdi), %rax
movq %rax, (%rsp)
cmpb $0x5d, 0x1(%rdi)
je 0x2b5ce
cmpq 0x10(%r14), %rsi
je 0x2b577
movq %rax, (%rsi)
addq $0x8, 0x8(%r14)
jmp 0x2b588
movq %rsp, %r15
movq %r14, %rdi
movq %r15, %rdx
callq 0x329a4
movq (%r15), %rax
leaq 0x8(%rsp), %r15
movzbl (%rax), %ecx
cmpl $0x2c, %ecx
je 0x2b5a0
cmpl $0x5d, %ecx
je 0x2b5c0
testl %ecx, %ecx
jne 0x2b5b7
jmp 0x2b5d8
incq %rax
movq %rax, 0x8(%rsp)
movq %r14, %rdi
movq %r15, %rsi
callq 0x32ae0
movq (%rsp), %rax
incq %rax
movq %rax, (%rsp)
jmp 0x2b58d
cmpb $0x0, 0x1(%rax)
sete %al
xorb $0x1, %bl
orb %al, %bl
je 0x2b628
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq
movl $0x20, %edi
callq 0x3140
movq %rax, %r14
leaq 0xb611(%rip), %rsi      # 0x36bfd
movq %rax, %rdi
callq 0x28d64
leaq 0x17585(%rip), %rsi     # 0x42b80
leaq -0x18340(%rip), %rdx    # 0x132c2
movq %r14, %rdi
callq 0x33f0
movl $0x20, %edi
callq 0x3140
movq %rax, %r14
leaq 0xb5df(%rip), %rsi      # 0x36bfd
movq %rax, %rdi
callq 0x28d64
jmp 0x2b5f4
movl $0x20, %edi
callq 0x3140
movq %rax, %r14
leaq 0xb5c1(%rip), %rsi      # 0x36bfd
movq %rax, %rdi
callq 0x28d64
jmp 0x2b5f4
jmp 0x2b64a
jmp 0x2b64a
movq %rax, %rbx
movq %r14, %rdi
callq 0x31c0
movq %rbx, %rdi
callq 0x3420
// File: /workspace/github_cpp_makefile_star2_O3/mouda[P]LTE_random_access-simulate/ap.cpp
// Function: alglib::parse_bool_delim(char const*, char const*)
ae_bool alglib::parse_bool_delim(const char *s, const char *delim)
{
    const char *p;
    char buf[8];
    
    // try to parse false
    p = "false";
    memset(buf, 0, sizeof(buf));
    strncpy(buf, s, strlen(p));
    if( my_stricmp(buf, p)==0 )
    {
        if( s[strlen(p)]==0 || strchr(delim,s[strlen(p)])==NULL )
            throw alglib::ap_error("Cannot parse value");
        return ae_false;
    }

    // try to parse true
    p = "true";
    memset(buf, 0, sizeof(buf));
    strncpy(buf, s, strlen(p));
    if( my_stricmp(buf, p)==0 )
    {
        if( s[strlen(p)]==0 || strchr(delim,s[strlen(p)])==NULL )
            throw alglib::ap_error("Cannot parse value");
        return ae_true;
    }

    // error
    throw alglib::ap_error("Cannot parse value");
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r15
movq %rsp, %r14
movq $0x0, (%r14)
movl $0x5, %edx
movq %r14, %rdi
movq %r15, %rsi
callq 0x3150
leaq 0xb5b3(%rip), %rsi      # 0x36c3f
movq %r14, %rdi
callq 0x2e2d4
movq %rax, %r14
testq %rax, %rax
je 0x2b6ff
movq %rsp, %r12
movq $0x0, (%r12)
movl $0x4, %edx
movq %r12, %rdi
movq %r15, %rsi
callq 0x3150
leaq 0xb59a(%rip), %rsi      # 0x36c58
movq %r12, %rdi
callq 0x2e2d4
testq %rax, %rax
jne 0x2b745
movsbl 0x4(%r15), %esi
testl %esi, %esi
je 0x2b6e1
movq %rbx, %rdi
callq 0x30f0
testq %rax, %rax
jne 0x2b715
movl $0x20, %edi
callq 0x3140
movq %rax, %rbx
leaq 0xb550(%rip), %rsi      # 0x36c45
movq %rax, %rdi
callq 0x28d64
jmp 0x2b761
movsbl 0x5(%r15), %esi
testl %esi, %esi
je 0x2b727
movq %rbx, %rdi
callq 0x30f0
testq %rax, %rax
je 0x2b727
testq %r14, %r14
setne %al
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movl $0x20, %edi
callq 0x3140
movq %rax, %rbx
leaq 0xb50a(%rip), %rsi      # 0x36c45
movq %rax, %rdi
callq 0x28d64
jmp 0x2b761
movl $0x20, %edi
callq 0x3140
movq %rax, %rbx
leaq 0xb4ec(%rip), %rsi      # 0x36c45
movq %rax, %rdi
callq 0x28d64
leaq 0x17418(%rip), %rsi     # 0x42b80
leaq -0x184ad(%rip), %rdx    # 0x132c2
movq %rbx, %rdi
callq 0x33f0
jmp 0x2b77b
jmp 0x2b77b
movq %rax, %r14
movq %rbx, %rdi
callq 0x31c0
movq %r14, %rdi
callq 0x3420
// File: /workspace/github_cpp_makefile_star2_O3/mouda[P]LTE_random_access-simulate/ap.cpp
// Function: alglib::boolean_1d_array::setcontent(long, bool const*)
void alglib::boolean_1d_array::setcontent(ae_int_t iLen, const bool *pContent )
{
    ae_int_t i;
    setlength(iLen);
    for(i=0; i<iLen; i++)
        p_vec->ptr.p_bool[i] = pContent[i];
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
callq 0x2b0fa
testq %r14, %r14
jle 0x2b840
movq 0x8(%r15), %rax
xorl %ecx, %ecx
movb (%rbx,%rcx), %dl
movq 0x28(%rax), %rsi
movb %dl, (%rsi,%rcx)
incq %rcx
cmpq %rcx, %r14
jne 0x2b82e
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/mouda[P]LTE_random_access-simulate/ap.cpp
// Function: alglib::arraytostring[abi:cxx11](bool const*, long)
std::string alglib::arraytostring(const bool *ptr, ae_int_t n)
{
    std::string result;
    ae_int_t i;
    result = "[";
    for(i=0; i<n; i++)
    {
        if( i!=0 )
            result += ",";
        result += ptr[i] ? "true" : "false";
    }
    result += "]";
    return result;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x10(%rdi), %rax
movq %rax, (%rsp)
movq %rax, (%rdi)
movq $0x0, 0x8(%rdi)
movb $0x0, 0x10(%rdi)
leaq 0xb328(%rip), %rcx      # 0x36bf9
movl $0x1, %r8d
xorl %esi, %esi
xorl %edx, %edx
callq 0x3380
testq %r14, %r14
jle 0x2b926
xorl %ebp, %ebp
leaq 0xb36a(%rip), %r13      # 0x36c58
leaq 0xb306(%rip), %r12      # 0x36bfb
testq %rbp, %rbp
je 0x2b905
movq %rbx, %rdi
movq %r12, %rsi
callq 0x3470
cmpb $0x0, (%r15,%rbp)
movq %r13, %rsi
jne 0x2b916
leaq 0xb329(%rip), %rsi      # 0x36c3f
movq %rbx, %rdi
callq 0x3470
incq %rbp
cmpq %rbp, %r14
jne 0x2b8f5
leaq 0xb202(%rip), %rsi      # 0x36b2f
movq %rbx, %rdi
callq 0x3470
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x2b949
movq %rax, %r14
movq (%rbx), %rdi
cmpq (%rsp), %rdi
je 0x2b964
movq (%rsp), %rax
movq (%rax), %rsi
incq %rsi
callq 0x32b0
movq %r14, %rdi
callq 0x3420
// File: /workspace/github_cpp_makefile_star2_O3/mouda[P]LTE_random_access-simulate/ap.cpp
// Function: alglib::integer_1d_array::integer_1d_array(char const*)
alglib::integer_1d_array::integer_1d_array(const char *s)  
{
    std::vector<const char*> svec;
    size_t i;
    char *p = filter_spaces(s);
    try
    {
        str_vector_create(p, true, &svec);
        allocate_own((ae_int_t)(svec.size()), alglib_impl::DT_INT);
        for(i=0; i<svec.size(); i++)
            operator()((ae_int_t)i) = parse_int_delim(svec[i],",]");
        alglib_impl::ae_free(p);
    }
    catch(...)
    {
        alglib_impl::ae_free(p);
        throw;
    }
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
xorl %eax, %eax
movq %rax, 0x8(%rdi)
leaq 0x171df(%rip), %rcx     # 0x42be0
movq %rcx, (%rdi)
movq %rax, 0x10(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, (%rsp)
movq %rsi, %rdi
callq 0x2b482
movq %rax, %r14
movq %rsp, %rdx
movq %rax, %rdi
movl $0x1, %esi
callq 0x2b52f
movq 0x8(%rsp), %rsi
subq (%rsp), %rsi
sarq $0x3, %rsi
movl $0x2, %edx
movq %rbx, %rdi
callq 0x2b254
movq (%rsp), %rdi
cmpq %rdi, 0x8(%rsp)
je 0x2ba8a
xorl %r12d, %r12d
leaq 0xb0d4(%rip), %r15      # 0x36b2e
movq (%rdi,%r12,8), %rdi
movq %r15, %rsi
callq 0x2bb12
movq 0x8(%rbx), %rcx
movq 0x28(%rcx), %rcx
movq %rax, (%rcx,%r12,8)
incq %r12
movq (%rsp), %rdi
movq 0x8(%rsp), %rax
subq %rdi, %rax
sarq $0x3, %rax
cmpq %rax, %r12
jb 0x2ba5a
testq %r14, %r14
je 0x2ba9c
movq -0x8(%r14), %rdi
callq 0x32e0
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x2baae
movq 0x10(%rsp), %rsi
subq %rdi, %rsi
callq 0x32b0
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %r14
jmp 0x2bafa
jmp 0x2bac1
movq %rax, %rdi
callq 0x3100
testq %r14, %r14
je 0x2bad7
movq -0x8(%r14), %rdi
callq 0x32e0
callq 0x3360
movq %rax, %r14
callq 0x33c0
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x2bafa
movq 0x10(%rsp), %rsi
subq %rdi, %rsi
callq 0x32b0
movq %rbx, %rdi
callq 0x2af3e
movq %r14, %rdi
callq 0x3420
movq %rax, %rdi
callq 0x132b7
// File: /workspace/github_cpp_makefile_star2_O3/mouda[P]LTE_random_access-simulate/ap.cpp
// Function: alglib::parse_int_delim(char const*, char const*)
alglib::ae_int_t alglib::parse_int_delim(const char *s, const char *delim)
{
    const char *p;
    long long_val;
    volatile ae_int_t ae_val;
    
    p = s;

    //
    // check string structure:
    // * leading sign
    // * at least one digit
    // * delimiter
    //
    if( *s=='-' || *s=='+' )
        s++;
    if( *s==0 || strchr("1234567890",*s)==NULL)
        throw alglib::ap_error("Cannot parse value");
    while( *s!=0 && strchr("1234567890",*s)!=NULL )
        s++;
    if( *s==0 || strchr(delim,*s)==NULL )
        throw alglib::ap_error("Cannot parse value");

    // convert and ensure that value fits into ae_int_t
    s = p;
    long_val = atol(s);
    ae_val = long_val;
    if( ae_val!=long_val )
        throw alglib::ap_error("Cannot parse value");
    return ae_val;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movzbl (%rdi), %ebp
cmpl $0x2d, %ebp
je 0x2bb34
movq %rbx, %r12
cmpl $0x2b, %ebp
jne 0x2bb3c
leaq 0x1(%rbx), %r12
movb 0x1(%rbx), %bpl
testb %bpl, %bpl
je 0x2bbfb
movsbl %bpl, %esi
leaq 0xb10d(%rip), %rdi      # 0x36c5d
movl $0xb, %edx
callq 0x32c0
testq %rax, %rax
je 0x2bbfb
incq %r12
leaq 0xb0f0(%rip), %r15      # 0x36c5d
movsbl %bpl, %ebp
movl $0xb, %edx
movq %r15, %rdi
movl %ebp, %esi
callq 0x32c0
testq %rax, %rax
je 0x2bbc3
movb (%r12), %bpl
incq %r12
testb %bpl, %bpl
jne 0x2bb6d
movl $0x20, %edi
callq 0x3140
movq %rax, %rbx
leaq 0xb0a0(%rip), %rsi      # 0x36c45
movq %rax, %rdi
callq 0x28d64
leaq 0x16fcc(%rip), %rsi     # 0x42b80
leaq -0x188f9(%rip), %rdx    # 0x132c2
movq %rbx, %rdi
callq 0x33f0
movq %r14, %rdi
movl %ebp, %esi
callq 0x30f0
testq %rax, %rax
je 0x2bb91
movq %rbx, %rdi
callq 0x32f0
movq %rax, 0x8(%rsp)
movq 0x8(%rsp), %rcx
cmpq %rax, %rcx
jne 0x2bc19
movq 0x8(%rsp), %rax
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movl $0x20, %edi
callq 0x3140
movq %rax, %rbx
leaq 0xb036(%rip), %rsi      # 0x36c45
movq %rax, %rdi
callq 0x28d64
jmp 0x2bbad
movl $0x20, %edi
callq 0x3140
movq %rax, %rbx
leaq 0xb018(%rip), %rsi      # 0x36c45
movq %rax, %rdi
callq 0x28d64
jmp 0x2bbad
jmp 0x2bc3e
jmp 0x2bc3e
movq %rax, %r14
movq %rbx, %rdi
callq 0x31c0
movq %r14, %rdi
callq 0x3420
nop
// File: /workspace/github_cpp_makefile_star2_O3/mouda[P]LTE_random_access-simulate/ap.cpp
// Function: alglib::integer_1d_array::setcontent(long, long const*)
void alglib::integer_1d_array::setcontent(ae_int_t iLen, const ae_int_t *pContent )
{
    ae_int_t i;
    setlength(iLen);
    for(i=0; i<iLen; i++)
        p_vec->ptr.p_int[i] = pContent[i];
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
callq 0x2b0fa
testq %r14, %r14
jle 0x2bce4
movq 0x8(%r15), %rax
xorl %ecx, %ecx
movq (%rbx,%rcx,8), %rdx
movq 0x28(%rax), %rsi
movq %rdx, (%rsi,%rcx,8)
incq %rcx
cmpq %rcx, %r14
jne 0x2bcd0
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/mouda[P]LTE_random_access-simulate/ap.cpp
// Function: alglib::arraytostring[abi:cxx11](long const*, long)
std::string alglib::arraytostring(const ae_int_t *ptr, ae_int_t n)
{
    std::string result;
    ae_int_t i;
    char buf[64];
    result = "[";
    for(i=0; i<n; i++)
    {
        if( sprintf(buf, i==0 ? "%ld" : ",%ld", long(ptr[i]))>=(int)sizeof(buf) )
            throw ap_error("arraytostring(): buffer overflow");
        result += buf;
    }
    result += "]";
    return result;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x10(%rdi), %rax
movq %rax, 0x8(%rsp)
movq %rax, (%rdi)
movq $0x0, 0x8(%rdi)
movb $0x0, 0x10(%rdi)
leaq 0xae80(%rip), %rcx      # 0x36bf9
movl $0x1, %r8d
xorl %esi, %esi
xorl %edx, %edx
callq 0x3380
testq %r14, %r14
jle 0x2bdd2
leaq 0xaedf(%rip), %r13      # 0x36c73
leaq 0x10(%rsp), %r12
xorl %ebp, %ebp
testq %rbp, %rbp
movq %r13, %rsi
leaq 0xaecc(%rip), %rax      # 0x36c74
cmoveq %rax, %rsi
movq (%r15,%rbp,8), %rdx
movq %r12, %rdi
xorl %eax, %eax
callq 0x3080
cmpl $0x40, %eax
jge 0x2bdf3
movq %rbx, %rdi
movq %r12, %rsi
callq 0x3470
incq %rbp
cmpq %rbp, %r14
jne 0x2bd9b
leaq 0xad56(%rip), %rsi      # 0x36b2f
movq %rbx, %rdi
callq 0x3470
movq %rbx, %rax
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x20, %edi
callq 0x3140
movq %rax, %r15
leaq 0xae71(%rip), %rsi      # 0x36c78
movq %rax, %rdi
callq 0x28d64
leaq 0x16d6a(%rip), %rsi     # 0x42b80
leaq -0x18b5b(%rip), %rdx    # 0x132c2
movq %r15, %rdi
callq 0x33f0
movq %rax, %r14
movq %r15, %rdi
callq 0x31c0
jmp 0x2be37
jmp 0x2be34
movq %rax, %r14
movq (%rbx), %rdi
cmpq 0x8(%rsp), %rdi
je 0x2be51
movq 0x8(%rsp), %rax
movq (%rax), %rsi
incq %rsi
callq 0x32b0
movq %r14, %rdi
callq 0x3420
nop
// File: /workspace/github_cpp_makefile_star2_O3/mouda[P]LTE_random_access-simulate/ap.cpp
// Function: alglib::real_1d_array::real_1d_array(char const*)
alglib::real_1d_array::real_1d_array(const char *s)  
{
    std::vector<const char*> svec;
    size_t i;
    char *p = filter_spaces(s);
    try
    {
        str_vector_create(p, true, &svec);
        allocate_own((ae_int_t)(svec.size()), alglib_impl::DT_REAL);
        for(i=0; i<svec.size(); i++)
            operator()((ae_int_t)i) = parse_real_delim(svec[i],",]");
        alglib_impl::ae_free(p);
    }
    catch(...)
    {
        alglib_impl::ae_free(p);
        throw;
    }
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
xorl %eax, %eax
movq %rax, 0x8(%rdi)
leaq 0x16d11(%rip), %rcx     # 0x42c00
movq %rcx, (%rdi)
movq %rax, 0x10(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, (%rsp)
movq %rsi, %rdi
callq 0x2b482
movq %rax, %r14
movq %rsp, %rdx
movq %rax, %rdi
movl $0x1, %esi
callq 0x2b52f
movq 0x8(%rsp), %rsi
subq (%rsp), %rsi
sarq $0x3, %rsi
movl $0x3, %edx
movq %rbx, %rdi
callq 0x2b254
movq (%rsp), %rdi
cmpq %rdi, 0x8(%rsp)
je 0x2bf7a
xorl %r12d, %r12d
leaq 0xabe6(%rip), %r15      # 0x36b2e
movq (%rdi,%r12,8), %rdi
movq %r15, %rsi
callq 0x2c002
movq 0x8(%rbx), %rax
movq 0x28(%rax), %rax
movsd %xmm0, (%rax,%r12,8)
incq %r12
movq (%rsp), %rdi
movq 0x8(%rsp), %rax
subq %rdi, %rax
sarq $0x3, %rax
cmpq %rax, %r12
jb 0x2bf48
testq %r14, %r14
je 0x2bf8c
movq -0x8(%r14), %rdi
callq 0x32e0
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x2bf9e
movq 0x10(%rsp), %rsi
subq %rdi, %rsi
callq 0x32b0
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %r14
jmp 0x2bfea
jmp 0x2bfb1
movq %rax, %rdi
callq 0x3100
testq %r14, %r14
je 0x2bfc7
movq -0x8(%r14), %rdi
callq 0x32e0
callq 0x3360
movq %rax, %r14
callq 0x33c0
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x2bfea
movq 0x10(%rsp), %rsi
subq %rdi, %rsi
callq 0x32b0
movq %rbx, %rdi
callq 0x2af3e
movq %r14, %rdi
callq 0x3420
movq %rax, %rdi
callq 0x132b7
// File: /workspace/github_cpp_makefile_star2_O3/mouda[P]LTE_random_access-simulate/ap.cpp
// Function: alglib::parse_real_delim(char const*, char const*)
double alglib::parse_real_delim(const char *s, const char *delim)
{
    double result;
    const char *new_s;
    if( !_parse_real_delim(s, delim, &result, &new_s) )
        throw alglib::ap_error("Cannot parse value");
    return result;
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x18, %rsp
leaq 0x8(%rsp), %rdx
leaq 0x10(%rsp), %rcx
callq 0x2e36d
testb %al, %al
je 0x2c02a
movsd 0x8(%rsp), %xmm0
addq $0x18, %rsp
popq %rbx
popq %r14
retq
movl $0x20, %edi
callq 0x3140
movq %rax, %rbx
leaq 0xac07(%rip), %rsi      # 0x36c45
movq %rax, %rdi
callq 0x28d64
leaq 0x16b33(%rip), %rsi     # 0x42b80
leaq -0x18d92(%rip), %rdx    # 0x132c2
movq %rbx, %rdi
callq 0x33f0
movq %rax, %r14
movq %rbx, %rdi
callq 0x31c0
movq %r14, %rdi
callq 0x3420
nop
// File: /workspace/github_cpp_makefile_star2_O3/mouda[P]LTE_random_access-simulate/ap.cpp
// Function: alglib::real_1d_array::setcontent(long, double const*)
void alglib::real_1d_array::setcontent(ae_int_t iLen, const double *pContent )
{
    ae_int_t i;
    setlength(iLen);
    for(i=0; i<iLen; i++)
        p_vec->ptr.p_double[i] = pContent[i];
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
callq 0x2b0fa
testq %r14, %r14
jle 0x2c104
movq 0x8(%r15), %rax
xorl %ecx, %ecx
movsd (%rbx,%rcx,8), %xmm0
movq 0x28(%rax), %rdx
movsd %xmm0, (%rdx,%rcx,8)
incq %rcx
cmpq %rcx, %r14
jne 0x2c0ee
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/mouda[P]LTE_random_access-simulate/ap.cpp
// Function: alglib::complex_1d_array::complex_1d_array(char const*)
alglib::complex_1d_array::complex_1d_array(const char *s)  
{
    std::vector<const char*> svec;
    size_t i;
    char *p = filter_spaces(s);
    try
    {
        str_vector_create(p, true, &svec);
        allocate_own((ae_int_t)(svec.size()), alglib_impl::DT_COMPLEX);
        for(i=0; i<svec.size(); i++)
            operator()((ae_int_t)i) = parse_complex_delim(svec[i],",]");
        alglib_impl::ae_free(p);
    }
    catch(...)
    {
        alglib_impl::ae_free(p);
        throw;
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rdi, %rbx
xorl %eax, %eax
movq %rax, 0x8(%rdi)
leaq 0x167b4(%rip), %rcx     # 0x42c20
movq %rcx, (%rdi)
movq %rax, 0x10(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, (%rsp)
movq %rsi, %rdi
callq 0x2b482
movq %rax, %r14
movq %rsp, %rdx
movq %rax, %rdi
movl $0x1, %esi
callq 0x2b52f
movq 0x8(%rsp), %rsi
subq (%rsp), %rsi
sarq $0x3, %rsi
movl $0x4, %edx
movq %rbx, %rdi
callq 0x2b254
movq (%rsp), %rdi
cmpq %rdi, 0x8(%rsp)
je 0x2c509
xorl %r13d, %r13d
leaq 0xa669(%rip), %r15      # 0x36b2e
leaq 0x20(%rsp), %r12
xorl %ebp, %ebp
movq (%rdi,%rbp,8), %rsi
movq %r12, %rdi
movq %r15, %rdx
callq 0x2c594
movq 0x8(%rbx), %rax
movq 0x28(%rax), %rax
movaps 0x20(%rsp), %xmm0
movups %xmm0, (%rax,%r13)
incq %rbp
movq (%rsp), %rdi
movq 0x8(%rsp), %rax
subq %rdi, %rax
sarq $0x3, %rax
addq $0x10, %r13
cmpq %rax, %rbp
jb 0x2c4cc
testq %r14, %r14
je 0x2c51b
movq -0x8(%r14), %rdi
callq 0x32e0
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x2c52d
movq 0x10(%rsp), %rsi
subq %rdi, %rsi
callq 0x32b0
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
jmp 0x2c57c
jmp 0x2c543
movq %rax, %rdi
callq 0x3100
testq %r14, %r14
je 0x2c559
movq -0x8(%r14), %rdi
callq 0x32e0
callq 0x3360
movq %rax, %r14
callq 0x33c0
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x2c57c
movq 0x10(%rsp), %rsi
subq %rdi, %rsi
callq 0x32b0
movq %rbx, %rdi
callq 0x2af3e
movq %r14, %rdi
callq 0x3420
movq %rax, %rdi
callq 0x132b7
// File: /workspace/github_cpp_makefile_star2_O3/mouda[P]LTE_random_access-simulate/ap.cpp
// Function: alglib::complex_1d_array::setcontent(long, alglib::complex const*)
void alglib::complex_1d_array::setcontent(ae_int_t iLen, const alglib::complex *pContent )
{
    ae_int_t i;
    setlength(iLen);
    for(i=0; i<iLen; i++)
    {
        p_vec->ptr.p_complex[i].x = pContent[i].x;
        p_vec->ptr.p_complex[i].y = pContent[i].y;
    }
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
callq 0x2b0fa
testq %r14, %r14
jle 0x2c85b
movq 0x8(%r15), %rax
xorl %ecx, %ecx
movsd (%rbx,%rcx), %xmm0
movq 0x28(%rax), %rdx
movsd %xmm0, (%rdx,%rcx)
movsd 0x8(%rbx,%rcx), %xmm0
movq 0x28(%rax), %rdx
movsd %xmm0, 0x8(%rdx,%rcx)
addq $0x10, %rcx
decq %r14
jne 0x2c834
popq %rbx
popq %r14
popq %r15
retq
nop
// File: /workspace/github_cpp_makefile_star2_O3/mouda[P]LTE_random_access-simulate/ap.cpp
// Function: alglib::arraytostring[abi:cxx11](alglib::complex const*, long, int)
std::string alglib::arraytostring(const alglib::complex *ptr, ae_int_t n, int dps)
{
    std::string result;
    ae_int_t i;
    result = "[";
    for(i=0; i<n; i++)
    {
        if( i!=0 )
            result += ",";
        result += ptr[i].tostring(dps);
    }
    result += "]";
    return result;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movl %ecx, %ebp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x10(%rdi), %rax
movq %rax, (%rsp)
movq %rax, (%rdi)
movq $0x0, 0x8(%rdi)
movb $0x0, 0x10(%rdi)
leaq 0xa305(%rip), %rcx      # 0x36bf9
movl $0x1, %r8d
xorl %esi, %esi
xorl %edx, %edx
callq 0x3380
testq %r14, %r14
jle 0x2c96b
xorl %r13d, %r13d
leaq 0x8(%rsp), %r12
testq %r13, %r13
je 0x2c924
movq %rbx, %rdi
leaq 0xa2dc(%rip), %rsi      # 0x36bfb
callq 0x3470
movq %r12, %rdi
movq %r15, %rsi
movl %ebp, %edx
callq 0x29012
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %rbx, %rdi
callq 0x30d0
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x2c95f
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x32b0
incq %r13
addq $0x10, %r15
cmpq %r13, %r14
jne 0x2c910
leaq 0xa1bd(%rip), %rsi      # 0x36b2f
movq %rbx, %rdi
callq 0x3470
movq %rbx, %rax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x2c990
jmp 0x2c990
movq %rax, %r14
jmp 0x2c9b4
movq %rax, %r14
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x2c9b4
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x32b0
movq (%rbx), %rdi
cmpq (%rsp), %rdi
je 0x2c9cc
movq (%rsp), %rax
movq (%rax), %rsi
incq %rsi
callq 0x32b0
movq %r14, %rdi
callq 0x3420
// File: /workspace/github_cpp_makefile_star2_O3/mouda[P]LTE_random_access-simulate/ap.cpp
// Function: alglib::ae_matrix_wrapper::ae_matrix_wrapper(alglib::ae_matrix_wrapper const&)
alglib::ae_matrix_wrapper::ae_matrix_wrapper(const alglib::ae_matrix_wrapper &rhs)
{
    if( rhs.p_mat!=NULL )
    {
        p_mat = &mat;
        if( !ae_matrix_init_copy(p_mat, rhs.p_mat, NULL, ae_false) )
            throw alglib::ap_error("ALGLIB: malloc error!");
    }
    else
        p_mat = NULL;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
leaq 0x161e1(%rip), %rax     # 0x42c40
movq %rax, (%rdi)
cmpq $0x0, 0x8(%rsi)
je 0x2cab7
leaq 0x10(%rdi), %rax
movq %rax, 0x8(%rdi)
movq 0x8(%rsi), %rsi
movq %rax, %rdi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x25509
testb %al, %al
jne 0x2cabf
movl $0x20, %edi
callq 0x3140
movq %rax, %rbx
leaq 0x9faa(%rip), %rsi      # 0x36a43
movq %rax, %rdi
callq 0x28d64
leaq 0x160d8(%rip), %rsi     # 0x42b80
leaq -0x197ed(%rip), %rdx    # 0x132c2
movq %rbx, %rdi
callq 0x33f0
movq $0x0, 0x8(%rdi)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movq %rax, %r14
movq %rbx, %rdi
callq 0x31c0
movq %r14, %rdi
callq 0x3420
// File: /workspace/github_cpp_makefile_star2_O3/mouda[P]LTE_random_access-simulate/ap.cpp
// Function: alglib::ae_matrix_wrapper::operator=(alglib::ae_matrix_wrapper const&)
const alglib::ae_matrix_wrapper& alglib::ae_matrix_wrapper::operator=(const alglib::ae_matrix_wrapper &rhs)
{
    if( this==&rhs )
        return *this;
    if( p_mat==&mat )
        ae_matrix_clear(p_mat);
    if( rhs.p_mat!=NULL )
    {
        p_mat = &mat;
        if( !ae_matrix_init_copy(p_mat, rhs.p_mat, NULL, ae_false) )
            throw alglib::ap_error("ALGLIB: malloc error!");
    }
    else
        p_mat = NULL;
    return *this;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
cmpq %rsi, %rdi
je 0x2cb92
movq %rsi, %r14
movq 0x8(%rbx), %r12
leaq 0x10(%rbx), %r15
cmpq %r15, %r12
jne 0x2cb39
xorps %xmm0, %xmm0
movups %xmm0, (%r12)
movq $0x0, 0x10(%r12)
cmpq $0x0, 0x30(%r12)
je 0x2cb21
movq 0x30(%r12), %rdi
callq *0x28(%r12)
xorl %eax, %eax
movq %rax, 0x30(%r12)
leaq -0x7c0b(%rip), %rcx     # 0x24f24
movq %rcx, 0x28(%r12)
movq %rax, 0x38(%r12)
cmpq $0x0, 0x8(%r14)
je 0x2cb8a
movq %r15, 0x8(%rbx)
movq 0x8(%r14), %rsi
movq %r15, %rdi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x25509
testb %al, %al
jne 0x2cb92
movl $0x20, %edi
callq 0x3140
movq %rax, %rbx
leaq 0x9ed7(%rip), %rsi      # 0x36a43
movq %rax, %rdi
callq 0x28d64
leaq 0x16005(%rip), %rsi     # 0x42b80
leaq -0x198c0(%rip), %rdx    # 0x132c2
movq %rbx, %rdi
callq 0x33f0
movq $0x0, 0x8(%rbx)
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %r14
movq %rbx, %rdi
callq 0x31c0
movq %r14, %rdi
callq 0x3420
// File: /workspace/github_cpp_makefile_star2_O3/mouda[P]LTE_random_access-simulate/ap.cpp
// Function: alglib::ae_matrix_wrapper::setlength(long, long)
void alglib::ae_matrix_wrapper::setlength(ae_int_t rows, ae_int_t cols)
{
    if( p_mat==NULL )
        throw alglib::ap_error("ALGLIB: setlength() error, p_mat==NULL (array was not correctly initialized)");
    if( p_mat!=&mat )
        throw alglib::ap_error("ALGLIB: setlength() error, p_mat!=&mat (attempt to resize frozen array)");
    if( !ae_matrix_set_length(p_mat, rows, cols, NULL) )
        throw alglib::ap_error("ALGLIB: malloc error");
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rax
movq 0x8(%rdi), %rdi
testq %rdi, %rdi
je 0x2cbe0
addq $0x10, %rax
cmpq %rax, %rdi
jne 0x2cbfe
xorl %ecx, %ecx
callq 0x256d1
testb %al, %al
je 0x2cc1c
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movl $0x20, %edi
callq 0x3140
movq %rax, %rbx
leaq 0x9f40(%rip), %rsi      # 0x36b34
movq %rax, %rdi
callq 0x28d64
jmp 0x2cc38
movl $0x20, %edi
callq 0x3140
movq %rax, %rbx
leaq 0x9f6f(%rip), %rsi      # 0x36b81
movq %rax, %rdi
callq 0x28d64
jmp 0x2cc38
movl $0x20, %edi
callq 0x3140
movq %rax, %rbx
leaq 0x9ebe(%rip), %rsi      # 0x36aee
movq %rax, %rdi
callq 0x28d64
leaq 0x15f41(%rip), %rsi     # 0x42b80
leaq -0x19984(%rip), %rdx    # 0x132c2
movq %rbx, %rdi
callq 0x33f0
jmp 0x2cc52
jmp 0x2cc52
movq %rax, %r14
movq %rbx, %rdi
callq 0x31c0
movq %r14, %rdi
callq 0x3420
nop