LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O2/mouda[P]LTE_random_access-simulate/ap.cpp
// Function: alglib_impl::_rcommstate_clear(alglib_impl::rcommstate*)
void _rcommstate_clear(rcommstate* p)
{
    ae_vector_clear(&p->ba);
    ae_vector_clear(&p->ia);
    ae_vector_clear(&p->ra);
    ae_vector_clear(&p->ca);
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
addq $0x38, %rdi
callq 0x23b55
leaq 0x8(%rbx), %rdi
callq 0x23b55
leaq 0x68(%rbx), %rdi
callq 0x23b55
addq $0x98, %rbx
movq %rbx, %rdi
popq %rbx
jmp 0x23b55
// File: /workspace/github_cpp_makefile_star2_O2/mouda[P]LTE_random_access-simulate/ap.cpp
// Function: alglib::get_aenv_nan()
double alglib::get_aenv_nan()
{
    double r;
    alglib_impl::ae_state _alglib_env_state;
    alglib_impl::ae_state_init(&_alglib_env_state);
    r = _alglib_env_state.v_nan;
    alglib_impl::ae_state_clear(&_alglib_env_state);
    return r;
}

// Assembly:
pushq %rbx
subq $0x60, %rsp
leaq 0x10(%rsp), %rbx
movq %rbx, %rdi
callq 0x23772
movsd 0x8(%rbx), %xmm0
movsd %xmm0, 0x8(%rsp)
movq %rbx, %rdi
callq 0x23631
movsd 0x8(%rsp), %xmm0
addq $0x60, %rsp
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O2/mouda[P]LTE_random_access-simulate/ap.cpp
// Function: alglib::get_aenv_neginf()
double alglib::get_aenv_neginf()
{
    double r;
    alglib_impl::ae_state _alglib_env_state;
    alglib_impl::ae_state_init(&_alglib_env_state);
    r = _alglib_env_state.v_neginf;
    alglib_impl::ae_state_clear(&_alglib_env_state);
    return r;
}

// Assembly:
pushq %rbx
subq $0x60, %rsp
leaq 0x10(%rsp), %rbx
movq %rbx, %rdi
callq 0x23772
movsd 0x18(%rbx), %xmm0
movsd %xmm0, 0x8(%rsp)
movq %rbx, %rdi
callq 0x23631
movsd 0x8(%rsp), %xmm0
addq $0x60, %rsp
popq %rbx
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/mouda[P]LTE_random_access-simulate/ap.cpp
// Function: alglib::complex::operator/=(alglib::complex const&)
alglib::complex& alglib::complex::operator/=(const alglib::complex& z)
{
    alglib::complex result;
    double e;
    double f;
    if( fabs(z.y)<fabs(z.x) )
    {
        e = z.y/z.x;
        f = z.x+z.y*e;
        result.x = (x+y*e)/f;
        result.y = (y-x*e)/f;
    }
    else
    {
        e = z.x/z.y;
        f = z.y+z.x*e;
        result.x = (y+x*e)/f;
        result.y = (-x+y*e)/f;
    }
    *this = result;
    return *this;
}

// Assembly:
movq %rdi, %rax
movdqu (%rsi), %xmm1
movdqa 0xc30f(%rip), %xmm0     # 0x33210
pand %xmm1, %xmm0
pshufd $0xee, %xmm0, %xmm2     # xmm2 = xmm0[2,3,2,3]
ucomisd %xmm2, %xmm0
jbe 0x26f57
movapd %xmm1, %xmm2
unpckhpd %xmm1, %xmm2            # xmm2 = xmm2[1],xmm1[1]
movapd %xmm2, %xmm0
divsd %xmm1, %xmm0
mulsd %xmm0, %xmm2
addsd %xmm1, %xmm2
movupd (%rax), %xmm1
movapd 0x927c(%rip), %xmm3     # 0x301b0
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 0x26f98
movdqa %xmm1, %xmm2
punpckhqdq %xmm1, %xmm2    # xmm2 = xmm2[1],xmm1[1]
movdqa %xmm1, %xmm0
divsd %xmm2, %xmm0
mulsd %xmm0, %xmm1
addsd %xmm2, %xmm1
movupd (%rax), %xmm2
movapd 0x9235(%rip), %xmm3     # 0x301b0
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
nop
// File: /workspace/github_cpp_makefile_star2_O2/mouda[P]LTE_random_access-simulate/ap.cpp
// Function: alglib::operator==(alglib::complex const&, alglib::complex const&)
const bool alglib::operator==(const alglib::complex& lhs, const alglib::complex& rhs)
{
    volatile double x1 = lhs.x;
    volatile double x2 = rhs.x;
    volatile double y1 = lhs.y;
    volatile double y2 = rhs.y;
    return x1==x2 && y1==y2;
}

// Assembly:
movsd (%rdi), %xmm0
movsd %xmm0, -0x8(%rsp)
movsd (%rsi), %xmm0
movsd %xmm0, -0x10(%rsp)
movsd 0x8(%rdi), %xmm0
movsd %xmm0, -0x18(%rsp)
movsd 0x8(%rsi), %xmm0
movsd %xmm0, -0x20(%rsp)
movsd -0x8(%rsp), %xmm0
ucomisd -0x10(%rsp), %xmm0
jne 0x27463
jp 0x27463
movsd -0x18(%rsp), %xmm0
cmpeqsd -0x20(%rsp), %xmm0
movq %xmm0, %rax
andl $0x1, %eax
retq
xorl %eax, %eax
retq
// File: /workspace/github_cpp_makefile_star2_O2/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 0xbc82(%rip), %xmm0     # 0x33210
pand %xmm1, %xmm0
pshufd $0xee, %xmm0, %xmm2     # xmm2 = xmm0[2,3,2,3]
ucomisd %xmm2, %xmm0
jbe 0x275e4
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 0x8bef(%rip), %xmm3     # 0x301b0
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 0x27625
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 0x8ba8(%rip), %xmm3     # 0x301b0
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_O2/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 0xbbd7(%rip), %xmm0     # 0x33210
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 0x27682
movapd %xmm2, %xmm3
divsd %xmm1, %xmm3
mulsd %xmm3, %xmm2
addsd %xmm1, %xmm2
movapd 0x8b44(%rip), %xmm1     # 0x301b0
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 0x276ae
movdqa %xmm1, %xmm3
divsd %xmm2, %xmm3
mulsd %xmm3, %xmm1
addsd %xmm2, %xmm1
mulsd %xmm0, %xmm3
xorpd 0x8b12(%rip), %xmm0     # 0x301b0
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_O2/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), %r8b
andb $-0x21, %r8b
movq %rsi, %r10
xorq $0x1, %r10
movq %rcx, %r11
xorq $0x1, %r11
xorl %eax, %eax
testq %r9, %r9
cmovgq %r9, %rax
orq %r10, %r11
je 0x27b5d
cmpb $0x4e, %r8b
jne 0x27b79
shlq $0x4, %rcx
shlq $0x4, %rsi
subq $0x1, %rax
jb 0x27bdd
movups (%rdx), %xmm0
movups %xmm0, (%rdi)
addq %rcx, %rdx
addq %rsi, %rdi
jmp 0x27b45
xorl %ecx, %ecx
cmpb $0x4e, %r8b
jne 0x27bb2
subq $0x1, %rax
jb 0x27bdd
movups (%rdx,%rcx), %xmm0
movups %xmm0, (%rdi,%rcx)
addq $0x10, %rcx
jmp 0x27b65
addq $0x8, %rdx
shlq $0x4, %rcx
addq $0x8, %rdi
shlq $0x4, %rsi
movaps 0x8620(%rip), %xmm0     # 0x301b0
subq $0x1, %rax
jb 0x27bdd
movsd -0x8(%rdx), %xmm1
movsd %xmm1, -0x8(%rdi)
movsd (%rdx), %xmm1
xorps %xmm0, %xmm1
movlps %xmm1, (%rdi)
addq %rcx, %rdx
addq %rsi, %rdi
jmp 0x27b90
movaps 0x85f7(%rip), %xmm0     # 0x301b0
subq $0x1, %rax
jb 0x27bdd
movsd (%rdx,%rcx), %xmm1
movsd %xmm1, (%rdi,%rcx)
movsd 0x8(%rdx,%rcx), %xmm1
xorps %xmm0, %xmm1
movlps %xmm1, 0x8(%rdi,%rcx)
addq $0x10, %rcx
jmp 0x27bb9
retq
// File: /workspace/github_cpp_makefile_star2_O2/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 0x27e8c
cmpb $0x4e, %al
jne 0x27ebb
xorl %eax, %eax
testq %r9, %r9
cmovgq %r9, %rax
unpcklpd %xmm0, %xmm0            # xmm0 = xmm0[0,0]
shlq $0x4, %rcx
shlq $0x4, %rsi
subq $0x1, %rax
jb 0x27f29
movupd (%rdx), %xmm1
mulpd %xmm0, %xmm1
movupd %xmm1, (%rdi)
addq %rcx, %rdx
addq %rsi, %rdi
jmp 0x27e6e
cmpb $0x4e, %al
jne 0x27ef6
xorl %eax, %eax
testq %r9, %r9
cmovleq %rax, %r9
unpcklpd %xmm0, %xmm0            # xmm0 = xmm0[0,0]
subq $0x1, %r9
jb 0x27f29
movupd (%rdx,%rax), %xmm1
mulpd %xmm0, %xmm1
movupd %xmm1, (%rdi,%rax)
addq $0x10, %rax
jmp 0x27e9d
movapd 0x82ed(%rip), %xmm1     # 0x301b0
xorl %eax, %eax
testq %r9, %r9
cmovgq %r9, %rax
xorpd %xmm0, %xmm1
unpcklpd %xmm1, %xmm0            # xmm0 = xmm0[0],xmm1[0]
shlq $0x4, %rcx
shlq $0x4, %rsi
subq $0x1, %rax
jb 0x27f29
movupd (%rdx), %xmm1
mulpd %xmm0, %xmm1
movupd %xmm1, (%rdi)
addq %rcx, %rdx
addq %rsi, %rdi
jmp 0x27edc
movapd 0x82b2(%rip), %xmm1     # 0x301b0
xorpd %xmm0, %xmm1
xorl %eax, %eax
testq %r9, %r9
cmovleq %rax, %r9
unpcklpd %xmm1, %xmm0            # xmm0 = xmm0[0],xmm1[0]
subq $0x1, %r9
jb 0x27f29
movupd (%rdx,%rax), %xmm1
mulpd %xmm0, %xmm1
movupd %xmm1, (%rdi,%rax)
addq $0x10, %rax
jmp 0x27f0f
retq
// File: /workspace/github_cpp_makefile_star2_O2/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:
xorl %eax, %eax
testq %rdx, %rdx
cmovgq %rdx, %rax
cmpq $0x1, %rsi
jne 0x288ae
xorl %ecx, %ecx
cmpq %rcx, %rax
je 0x288c9
movsd (%rdi,%rcx,8), %xmm1
mulsd %xmm0, %xmm1
movsd %xmm1, (%rdi,%rcx,8)
incq %rcx
jmp 0x28896
shlq $0x3, %rsi
subq $0x1, %rax
jb 0x288c9
movsd (%rdi), %xmm1
mulsd %xmm0, %xmm1
movsd %xmm1, (%rdi)
addq %rsi, %rdi
jmp 0x288b2
retq
// File: /workspace/github_cpp_makefile_star2_O2/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:
xorl %eax, %eax
testq %rdx, %rdx
cmovgq %rdx, %rax
movsd (%rcx), %xmm0
movsd 0x8(%rcx), %xmm1
movapd 0x786f(%rip), %xmm2     # 0x301b0
xorpd %xmm1, %xmm2
unpcklpd %xmm2, %xmm1            # xmm1 = xmm1[0],xmm2[0]
unpcklpd %xmm0, %xmm0            # xmm0 = xmm0[0,0]
cmpq $0x1, %rsi
jne 0x2897c
subq $0x1, %rax
jb 0x289a8
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
jmp 0x28953
shlq $0x4, %rsi
subq $0x1, %rax
jb 0x289a8
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
jmp 0x28980
retq
// File: /workspace/github_cpp_makefile_star2_O2/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 0x1817b(%rip), %rax     # 0x40ba0
movq %rax, (%rdi)
cmpq $0x0, 0x8(%rsi)
je 0x28a7b
leaq 0x10(%rdi), %rax
movq %rax, 0x8(%rdi)
movq 0x8(%rsi), %rsi
movq %rax, %rdi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x23a2b
testb %al, %al
jne 0x28a80
pushq $0x20
popq %rdi
callq 0x3130
movq %rax, %rbx
leaq 0xaf7a(%rip), %rsi      # 0x339d7
movq %rax, %rdi
callq 0x26d2a
leaq 0x18114(%rip), %rsi     # 0x40b80
leaq -0x1635b(%rip), %rdx    # 0x12718
movq %rbx, %rdi
callq 0x33b0
andq $0x0, 0x8(%rdi)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movq %rax, %r14
movq %rbx, %rdi
callq 0x3190
movq %r14, %rdi
callq 0x33e0
nop
// File: /workspace/github_cpp_makefile_star2_O2/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 %rbx
movq %rdi, %rbx
cmpq %rsi, %rdi
je 0x28b12
movq %rsi, %r14
movq 0x8(%rbx), %rdi
leaq 0x10(%rbx), %r15
cmpq %r15, %rdi
jne 0x28abe
callq 0x23b55
cmpq $0x0, 0x8(%r14)
je 0x28b0d
movq %r15, 0x8(%rbx)
movq 0x8(%r14), %rsi
movq %r15, %rdi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x23a2b
testb %al, %al
jne 0x28b12
pushq $0x20
popq %rdi
callq 0x3130
movq %rax, %rbx
leaq 0xaee8(%rip), %rsi      # 0x339d7
movq %rax, %rdi
callq 0x26d2a
leaq 0x18082(%rip), %rsi     # 0x40b80
leaq -0x163ed(%rip), %rdx    # 0x12718
movq %rbx, %rdi
callq 0x33b0
andq $0x0, 0x8(%rbx)
movq %rbx, %rax
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %r14
movq %rbx, %rdi
callq 0x3190
movq %r14, %rdi
callq 0x33e0
// File: /workspace/github_cpp_makefile_star2_O2/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 0x28b5a
addq $0x10, %rax
cmpq %rax, %rdi
jne 0x28b76
xorl %edx, %edx
callq 0x23add
testb %al, %al
je 0x28b92
addq $0x8, %rsp
popq %rbx
popq %r14
retq
pushq $0x20
popq %rdi
callq 0x3130
movq %rax, %rbx
leaq 0xae81(%rip), %rsi      # 0x339ed
movq %rax, %rdi
callq 0x26d2a
jmp 0x28bac
pushq $0x20
popq %rdi
callq 0x3130
movq %rax, %rbx
leaq 0xaeb2(%rip), %rsi      # 0x33a3a
movq %rax, %rdi
callq 0x26d2a
jmp 0x28bac
pushq $0x20
popq %rdi
callq 0x3130
movq %rax, %rbx
leaq 0xaede(%rip), %rsi      # 0x33a82
movq %rax, %rdi
callq 0x26d2a
leaq 0x17fcd(%rip), %rsi     # 0x40b80
leaq -0x164a2(%rip), %rdx    # 0x12718
movq %rbx, %rdi
callq 0x33b0
jmp 0x28bc6
jmp 0x28bc6
movq %rax, %r14
movq %rbx, %rdi
callq 0x3190
movq %r14, %rdi
callq 0x33e0
nop
// File: /workspace/github_cpp_makefile_star2_O2/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 %r14
pushq %rbx
pushq %rax
leaq 0x10(%rdi), %rax
cmpq %rsi, %rax
je 0x28c17
movq %rsi, %rbx
movq %rdi, %r14
movq 0x8(%rdi), %rdi
cmpq %rax, %rdi
jne 0x28c0b
callq 0x23b55
movq %rbx, 0x8(%r14)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
pushq $0x20
popq %rdi
callq 0x3130
movq %rax, %rbx
leaq 0xae6e(%rip), %rsi      # 0x33a97
movq %rax, %rdi
callq 0x26d2a
leaq 0x17f48(%rip), %rsi     # 0x40b80
leaq -0x16527(%rip), %rdx    # 0x12718
movq %rbx, %rdi
callq 0x33b0
movq %rax, %r14
movq %rbx, %rdi
callq 0x3190
movq %r14, %rdi
callq 0x33e0
// File: /workspace/github_cpp_makefile_star2_O2/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 %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r12
movq 0x8(%rdi), %rdi
leaq 0x10(%r12), %r15
cmpq %r15, %rdi
jne 0x28c7e
callq 0x23b55
movq %r15, 0x8(%r12)
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rdx
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x239a5
testb %al, %al
je 0x28ca6
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
pushq $0x20
popq %rdi
callq 0x3130
movq %rax, %rbx
leaq 0xadca(%rip), %rsi      # 0x33a82
movq %rax, %rdi
callq 0x26d2a
leaq 0x17eb9(%rip), %rsi     # 0x40b80
leaq -0x165b6(%rip), %rdx    # 0x12718
movq %rbx, %rdi
callq 0x33b0
movq %rax, %r14
movq %rbx, %rdi
callq 0x3190
movq %r14, %rdi
callq 0x33e0
nop
// File: /workspace/github_cpp_makefile_star2_O2/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
andq $0x0, 0x8(%rdi)
movq %rsi, %rdi
leaq 0x17e71(%rip), %rax     # 0x40bc0
movq %rax, (%rbx)
xorps %xmm0, %xmm0
movaps %xmm0, (%rsp)
andq $0x0, 0x10(%rsp)
callq 0x28e29
movq %rax, %r14
pushq $0x1
popq %rsi
movq %rsp, %rdx
movq %rax, %rdi
callq 0x28ed1
movq 0x8(%rsp), %rsi
subq (%rsp), %rsi
sarq $0x3, %rsi
pushq $0x1
popq %rdx
movq %rbx, %rdi
callq 0x28c5a
xorl %r12d, %r12d
leaq 0xad2b(%rip), %r15      # 0x33ac2
movq (%rsp), %rax
movq 0x8(%rsp), %rcx
subq %rax, %rcx
sarq $0x3, %rcx
cmpq %rcx, %r12
jae 0x28dc9
movq (%rax,%r12,8), %rdi
movq %r15, %rsi
callq 0x28fe3
movq 0x8(%rbx), %rcx
movq 0x28(%rcx), %rcx
movb %al, (%rcx,%r12)
incq %r12
jmp 0x28d97
movq %r14, %rdi
callq 0x236f7
movq %rsp, %rdi
callq 0x2ef7a
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %r14
jmp 0x28e09
jmp 0x28dec
movq %rax, %rdi
callq 0x30e0
movq %r14, %rdi
callq 0x236f7
callq 0x3330
movq %rax, %r14
callq 0x3380
movq %rsp, %rdi
callq 0x2ef7a
movq %rbx, %rdi
callq 0x289da
movq %r14, %rdi
callq 0x33e0
movq %rax, %rdi
callq 0x1270d
// File: /workspace/github_cpp_makefile_star2_O2/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 0x30f0
movq %rax, %r14
incq %r14
movq %r14, %rdi
xorl %esi, %esi
callq 0x236c0
testq %rax, %rax
je 0x28e8e
movq %rax, %r15
xorl %r12d, %r12d
movq %rax, %r13
cmpq %r12, %r14
je 0x28e7c
movb (%rbx,%r12), %bpl
movsbl %bpl, %edi
callq 0x3040
testl %eax, %eax
jne 0x28e77
movb %bpl, (%r13)
incq %r13
incq %r12
jmp 0x28e5a
movq %r15, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
pushq $0x20
popq %rdi
callq 0x3130
movq %rax, %rbx
leaq 0xabea(%rip), %rsi      # 0x33a8a
movq %rax, %rdi
callq 0x26d2a
leaq 0x17cd1(%rip), %rsi     # 0x40b80
leaq -0x1679e(%rip), %rdx    # 0x12718
movq %rbx, %rdi
callq 0x33b0
movq %rax, %r14
movq %rbx, %rdi
callq 0x3190
movq %r14, %rdi
callq 0x33e0
// File: /workspace/github_cpp_makefile_star2_O2/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
cmpq %rax, 0x8(%rdx)
je 0x28eec
movq %rax, 0x8(%r14)
cmpb $0x5b, (%rdi)
jne 0x28f94
leaq 0x1(%rdi), %rax
movq %rax, (%rsp)
cmpb $0x5d, 0x1(%rdi)
je 0x28f5a
movq %rsp, %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0x2eebe
movq (%r15), %rax
leaq 0x8(%rsp), %r15
movzbl (%rax), %ecx
cmpl $0x2c, %ecx
je 0x28f2c
cmpl $0x5d, %ecx
je 0x28f4c
testl %ecx, %ecx
jne 0x28f43
jmp 0x28f64
incq %rax
movq %rax, 0x8(%rsp)
movq %r14, %rdi
movq %r15, %rsi
callq 0x2f154
movq (%rsp), %rax
incq %rax
movq %rax, (%rsp)
jmp 0x28f19
cmpb $0x0, 0x1(%rax)
sete %al
xorb $0x1, %bl
orb %al, %bl
je 0x28fb0
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq
pushq $0x20
popq %rdi
callq 0x3130
movq %rax, %r14
leaq 0xac1b(%rip), %rsi      # 0x33b91
movq %rax, %rdi
callq 0x26d2a
leaq 0x17bfb(%rip), %rsi     # 0x40b80
leaq -0x16874(%rip), %rdx    # 0x12718
movq %r14, %rdi
callq 0x33b0
pushq $0x20
popq %rdi
callq 0x3130
movq %rax, %r14
leaq 0xabeb(%rip), %rsi      # 0x33b91
movq %rax, %rdi
callq 0x26d2a
jmp 0x28f7e
pushq $0x20
popq %rdi
callq 0x3130
movq %rax, %r14
leaq 0xabcf(%rip), %rsi      # 0x33b91
movq %rax, %rdi
callq 0x26d2a
jmp 0x28f7e
jmp 0x28fd0
jmp 0x28fd0
movq %rax, %rbx
movq %r14, %rdi
callq 0x3190
movq %rbx, %rdi
callq 0x33e0
// File: /workspace/github_cpp_makefile_star2_O2/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
andq $0x0, (%r14)
pushq $0x5
popq %rdx
movq %r14, %rdi
movq %r15, %rsi
callq 0x3140
leaq 0xabc6(%rip), %rsi      # 0x33bd3
movq %r14, %rdi
callq 0x2b6af
movq %rax, %r14
testq %rax, %rax
je 0x29079
movq %rsp, %r12
andq $0x0, (%r12)
pushq $0x4
popq %rdx
movq %r12, %rdi
movq %r15, %rsi
callq 0x3140
leaq 0xabb2(%rip), %rsi      # 0x33bec
movq %r12, %rdi
callq 0x2b6af
testq %rax, %rax
jne 0x290bd
movsbl 0x4(%r15), %esi
testl %esi, %esi
je 0x2905d
movq %rbx, %rdi
callq 0x30d0
testq %rax, %rax
jne 0x2908f
pushq $0x20
popq %rdi
callq 0x3130
movq %rax, %rbx
leaq 0xab6a(%rip), %rsi      # 0x33bd9
movq %rax, %rdi
callq 0x26d2a
jmp 0x290d7
movsbl 0x5(%r15), %esi
testl %esi, %esi
je 0x290a1
movq %rbx, %rdi
callq 0x30d0
testq %rax, %rax
je 0x290a1
testq %r14, %r14
setne %al
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
pushq $0x20
popq %rdi
callq 0x3130
movq %rax, %rbx
leaq 0xab26(%rip), %rsi      # 0x33bd9
movq %rax, %rdi
callq 0x26d2a
jmp 0x290d7
pushq $0x20
popq %rdi
callq 0x3130
movq %rax, %rbx
leaq 0xab0a(%rip), %rsi      # 0x33bd9
movq %rax, %rdi
callq 0x26d2a
leaq 0x17aa2(%rip), %rsi     # 0x40b80
leaq -0x169cd(%rip), %rdx    # 0x12718
movq %rbx, %rdi
callq 0x33b0
jmp 0x290f1
jmp 0x290f1
movq %rax, %r14
movq %rbx, %rdi
callq 0x3190
movq %r14, %rdi
callq 0x33e0
// File: /workspace/github_cpp_makefile_star2_O2/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 0x28b2e
movq 0x8(%r15), %rax
xorl %ecx, %ecx
testq %r14, %r14
cmovleq %rcx, %r14
cmpq %rcx, %r14
je 0x291b4
movb (%rbx,%rcx), %dl
movq 0x28(%rax), %rsi
movb %dl, (%rsi,%rcx)
incq %rcx
jmp 0x291a0
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O2/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, (%rdi)
andq $0x0, 0x8(%rdi)
movb $0x0, 0x10(%rdi)
leaq 0xa950(%rip), %rsi      # 0x33b8d
callq 0x3440
xorl %r13d, %r13d
testq %r14, %r14
cmovleq %r13, %r14
leaq 0xa999(%rip), %rbp      # 0x33bec
leaq 0xa935(%rip), %r12      # 0x33b8f
cmpq %r13, %r14
je 0x2928d
testq %r13, %r13
je 0x2926f
movq %rbx, %rdi
movq %r12, %rsi
callq 0x3430
cmpb $0x0, (%r15,%r13)
movq %rbp, %rsi
jne 0x29280
leaq 0xa953(%rip), %rsi      # 0x33bd3
movq %rbx, %rdi
callq 0x3430
incq %r13
jmp 0x2925a
leaq 0xa82f(%rip), %rsi      # 0x33ac3
movq %rbx, %rdi
callq 0x3430
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x292b0
movq %rax, %r14
movq %rbx, %rdi
callq 0x3100
movq %r14, %rdi
callq 0x33e0
nop
// File: /workspace/github_cpp_makefile_star2_O2/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
andq $0x0, 0x8(%rdi)
movq %rsi, %rdi
leaq 0x1788d(%rip), %rax     # 0x40be0
movq %rax, (%rbx)
xorps %xmm0, %xmm0
movaps %xmm0, (%rsp)
andq $0x0, 0x10(%rsp)
callq 0x28e29
movq %rax, %r14
pushq $0x1
popq %rsi
movq %rsp, %rdx
movq %rax, %rdi
callq 0x28ed1
movq 0x8(%rsp), %rsi
subq (%rsp), %rsi
sarq $0x3, %rsi
pushq $0x2
popq %rdx
movq %rbx, %rdi
callq 0x28c5a
xorl %r12d, %r12d
leaq 0xa727(%rip), %r15      # 0x33ac2
movq (%rsp), %rax
movq 0x8(%rsp), %rcx
subq %rax, %rcx
sarq $0x3, %rcx
cmpq %rcx, %r12
jae 0x293cd
movq (%rax,%r12,8), %rdi
movq %r15, %rsi
callq 0x2942d
movq 0x8(%rbx), %rcx
movq 0x28(%rcx), %rcx
movq %rax, (%rcx,%r12,8)
incq %r12
jmp 0x2939b
movq %r14, %rdi
callq 0x236f7
movq %rsp, %rdi
callq 0x2ef7a
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %r14
jmp 0x2940d
jmp 0x293f0
movq %rax, %rdi
callq 0x30e0
movq %r14, %rdi
callq 0x236f7
callq 0x3330
movq %rax, %r14
callq 0x3380
movq %rsp, %rdi
callq 0x2ef7a
movq %rbx, %rdi
callq 0x289da
movq %r14, %rdi
callq 0x33e0
movq %rax, %rdi
callq 0x1270d
// File: /workspace/github_cpp_makefile_star2_O2/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 %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
movzbl (%rdi), %eax
cmpl $0x2d, %eax
je 0x2944e
movq %rbx, %r13
cmpl $0x2b, %eax
jne 0x29455
leaq 0x1(%rbx), %r13
movb 0x1(%rbx), %al
testb %al, %al
je 0x29508
movsbl %al, %esi
leaq 0xa78a(%rip), %rdi      # 0x33bf1
pushq $0xb
popq %rdx
callq 0x3290
testq %rax, %rax
je 0x29508
leaq 0xa772(%rip), %r15      # 0x33bf1
pushq $0xb
popq %r12
movsbl (%r13), %ebp
testl %ebp, %ebp
je 0x294d8
movq %r15, %rdi
movl %ebp, %esi
movq %r12, %rdx
callq 0x3290
incq %r13
testq %rax, %rax
jne 0x29483
movq %r14, %rdi
movl %ebp, %esi
callq 0x30d0
testq %rax, %rax
je 0x294d8
movq %rbx, %rdi
callq 0x32b0
movq %rax, (%rsp)
movq (%rsp), %rcx
cmpq %rax, %rcx
jne 0x29524
movq (%rsp), %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
pushq $0x20
popq %rdi
callq 0x3130
movq %rax, %rbx
leaq 0xa6ef(%rip), %rsi      # 0x33bd9
movq %rax, %rdi
callq 0x26d2a
leaq 0x17687(%rip), %rsi     # 0x40b80
leaq -0x16de8(%rip), %rdx    # 0x12718
movq %rbx, %rdi
callq 0x33b0
pushq $0x20
popq %rdi
callq 0x3130
movq %rax, %rbx
leaq 0xa6bf(%rip), %rsi      # 0x33bd9
movq %rax, %rdi
callq 0x26d2a
jmp 0x294f2
pushq $0x20
popq %rdi
callq 0x3130
movq %rax, %rbx
leaq 0xa6a3(%rip), %rsi      # 0x33bd9
movq %rax, %rdi
callq 0x26d2a
jmp 0x294f2
jmp 0x29544
jmp 0x29544
movq %rax, %r14
movq %rbx, %rdi
callq 0x3190
movq %r14, %rdi
callq 0x33e0
nop
// File: /workspace/github_cpp_makefile_star2_O2/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 0x28b2e
movq 0x8(%r15), %rax
xorl %ecx, %ecx
testq %r14, %r14
cmovleq %rcx, %r14
cmpq %rcx, %r14
je 0x295ec
movq (%rbx,%rcx,8), %rdx
movq 0x28(%rax), %rsi
movq %rdx, (%rsi,%rcx,8)
incq %rcx
jmp 0x295d6
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O2/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 $0x48, %rsp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x10(%rdi), %rax
movq %rax, (%rdi)
andq $0x0, 0x8(%rdi)
movb $0x0, 0x10(%rdi)
leaq 0xa515(%rip), %rsi      # 0x33b8d
callq 0x3440
xorl %eax, %eax
testq %r14, %r14
cmovleq %rax, %r14
leaq 0xa57a(%rip), %rbp      # 0x33c07
movq %rsp, %r12
xorl %r13d, %r13d
cmpq %r13, %r14
je 0x296cc
testq %r13, %r13
movq %rbp, %rsi
leaq 0xa563(%rip), %rax      # 0x33c08
cmoveq %rax, %rsi
movq (%r15,%r13,8), %rdx
movq %r12, %rdi
xorl %eax, %eax
callq 0x3070
cmpl $0x40, %eax
jge 0x296ed
movq %rbx, %rdi
movq %r12, %rsi
callq 0x3430
incq %r13
jmp 0x29693
leaq 0xa3f0(%rip), %rsi      # 0x33ac3
movq %rbx, %rdi
callq 0x3430
movq %rbx, %rax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
pushq $0x20
popq %rdi
callq 0x3130
movq %rax, %r15
leaq 0xa50d(%rip), %rsi      # 0x33c0c
movq %rax, %rdi
callq 0x26d2a
leaq 0x17472(%rip), %rsi     # 0x40b80
leaq -0x16ffd(%rip), %rdx    # 0x12718
movq %r15, %rdi
callq 0x33b0
movq %rax, %r14
movq %r15, %rdi
callq 0x3190
jmp 0x2972f
jmp 0x2972c
movq %rax, %r14
movq %rbx, %rdi
callq 0x3100
movq %r14, %rdi
callq 0x33e0
nop
// File: /workspace/github_cpp_makefile_star2_O2/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
andq $0x0, 0x8(%rdi)
movq %rsi, %rdi
leaq 0x17431(%rip), %rax     # 0x40c00
movq %rax, (%rbx)
xorps %xmm0, %xmm0
movaps %xmm0, (%rsp)
andq $0x0, 0x10(%rsp)
callq 0x28e29
movq %rax, %r14
pushq $0x1
popq %rsi
movq %rsp, %rdx
movq %rax, %rdi
callq 0x28ed1
movq 0x8(%rsp), %rsi
subq (%rsp), %rsi
sarq $0x3, %rsi
pushq $0x3
popq %rdx
movq %rbx, %rdi
callq 0x28c5a
xorl %r12d, %r12d
leaq 0xa2ab(%rip), %r15      # 0x33ac2
movq (%rsp), %rax
movq 0x8(%rsp), %rcx
subq %rax, %rcx
sarq $0x3, %rcx
cmpq %rcx, %r12
jae 0x2984b
movq (%rax,%r12,8), %rdi
movq %r15, %rsi
callq 0x298ab
movq 0x8(%rbx), %rax
movq 0x28(%rax), %rax
movsd %xmm0, (%rax,%r12,8)
incq %r12
jmp 0x29817
movq %r14, %rdi
callq 0x236f7
movq %rsp, %rdi
callq 0x2ef7a
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %r14
jmp 0x2988b
jmp 0x2986e
movq %rax, %rdi
callq 0x30e0
movq %r14, %rdi
callq 0x236f7
callq 0x3330
movq %rax, %r14
callq 0x3380
movq %rsp, %rdi
callq 0x2ef7a
movq %rbx, %rdi
callq 0x289da
movq %r14, %rdi
callq 0x33e0
movq %rax, %rdi
callq 0x1270d
// File: /workspace/github_cpp_makefile_star2_O2/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 0x2b748
testb %al, %al
je 0x298d3
movsd 0x8(%rsp), %xmm0
addq $0x18, %rsp
popq %rbx
popq %r14
retq
pushq $0x20
popq %rdi
callq 0x3130
movq %rax, %rbx
leaq 0xa2f4(%rip), %rsi      # 0x33bd9
movq %rax, %rdi
callq 0x26d2a
leaq 0x1728c(%rip), %rsi     # 0x40b80
leaq -0x171e3(%rip), %rdx    # 0x12718
movq %rbx, %rdi
callq 0x33b0
movq %rax, %r14
movq %rbx, %rdi
callq 0x3190
movq %r14, %rdi
callq 0x33e0
// File: /workspace/github_cpp_makefile_star2_O2/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 0x28b2e
movq 0x8(%r15), %rax
xorl %ecx, %ecx
testq %r14, %r14
cmovleq %rcx, %r14
cmpq %rcx, %r14
je 0x299ac
movsd (%rbx,%rcx,8), %xmm0
movq 0x28(%rax), %rdx
movsd %xmm0, (%rdx,%rcx,8)
incq %rcx
jmp 0x29994
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O2/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
andq $0x0, 0x8(%rdi)
movq %rsi, %rdi
leaq 0x16f50(%rip), %rax     # 0x40c20
movq %rax, (%rbx)
xorps %xmm0, %xmm0
movaps %xmm0, (%rsp)
andq $0x0, 0x10(%rsp)
callq 0x28e29
movq %rax, %r14
pushq $0x1
popq %rsi
movq %rsp, %rdx
movq %rax, %rdi
callq 0x28ed1
movq 0x8(%rsp), %rsi
subq (%rsp), %rsi
sarq $0x3, %rsi
pushq $0x4
popq %rdx
movq %rbx, %rdi
callq 0x28c5a
xorl %r13d, %r13d
leaq 0x9daa(%rip), %r15      # 0x33ac2
leaq 0x20(%rsp), %r12
xorl %ebp, %ebp
movq (%rsp), %rax
movq 0x8(%rsp), %rcx
subq %rax, %rcx
sarq $0x3, %rcx
cmpq %rcx, %rbp
jae 0x29d5e
movq (%rax,%rbp,8), %rsi
movq %r12, %rdi
movq %r15, %rdx
callq 0x29dc1
movq 0x8(%rbx), %rax
movq 0x28(%rax), %rax
movaps 0x20(%rsp), %xmm0
movups %xmm0, (%rax,%r13)
incq %rbp
addq $0x10, %r13
jmp 0x29d1f
movq %r14, %rdi
callq 0x236f7
movq %rsp, %rdi
callq 0x2ef7a
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
jmp 0x29da1
jmp 0x29d84
movq %rax, %rdi
callq 0x30e0
movq %r14, %rdi
callq 0x236f7
callq 0x3330
movq %rax, %r14
callq 0x3380
movq %rsp, %rdi
callq 0x2ef7a
movq %rbx, %rdi
callq 0x289da
movq %r14, %rdi
callq 0x33e0
movq %rax, %rdi
callq 0x1270d
// File: /workspace/github_cpp_makefile_star2_O2/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 0x28b2e
movq 0x8(%r15), %rax
xorl %ecx, %ecx
testq %r14, %r14
cmovleq %rcx, %r14
subq $0x1, %r14
jb 0x2a07a
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
jmp 0x2a050
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O2/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, (%rdi)
andq $0x0, 0x8(%rdi)
movb $0x0, 0x10(%rdi)
leaq 0x9a83(%rip), %rsi      # 0x33b8d
callq 0x3440
xorl %r13d, %r13d
testq %r14, %r14
cmovleq %r13, %r14
leaq 0x8(%rsp), %r12
cmpq %r13, %r14
je 0x2a160
testq %r13, %r13
je 0x2a137
movq %rbx, %rdi
leaq 0x9a5d(%rip), %rsi      # 0x33b8f
callq 0x3430
movq %r12, %rdi
movq %r15, %rsi
movl %ebp, %edx
callq 0x26fa6
movq %rbx, %rdi
movq %r12, %rsi
callq 0x3460
movq %r12, %rdi
callq 0x3100
incq %r13
addq $0x10, %r15
jmp 0x2a11e
leaq 0x995c(%rip), %rsi      # 0x33ac3
movq %rbx, %rdi
callq 0x3430
movq %rbx, %rax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x2a185
jmp 0x2a185
movq %rax, %r14
jmp 0x2a197
movq %rax, %r14
leaq 0x8(%rsp), %rdi
callq 0x3100
movq %rbx, %rdi
callq 0x3100
movq %r14, %rdi
callq 0x33e0
nop
// File: /workspace/github_cpp_makefile_star2_O2/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 0x16a3d(%rip), %rax     # 0x40c40
movq %rax, (%rdi)
cmpq $0x0, 0x8(%rsi)
je 0x2a259
leaq 0x10(%rdi), %rax
movq %rax, 0x8(%rdi)
movq 0x8(%rsi), %rsi
movq %rax, %rdi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x23ca3
testb %al, %al
jne 0x2a25e
pushq $0x20
popq %rdi
callq 0x3130
movq %rax, %rbx
leaq 0x979c(%rip), %rsi      # 0x339d7
movq %rax, %rdi
callq 0x26d2a
leaq 0x16936(%rip), %rsi     # 0x40b80
leaq -0x17b39(%rip), %rdx    # 0x12718
movq %rbx, %rdi
callq 0x33b0
andq $0x0, 0x8(%rdi)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movq %rax, %r14
movq %rbx, %rdi
callq 0x3190
movq %r14, %rdi
callq 0x33e0
nop
// File: /workspace/github_cpp_makefile_star2_O2/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 %rbx
movq %rdi, %rbx
cmpq %rsi, %rdi
je 0x2a2f0
movq %rsi, %r14
movq 0x8(%rbx), %rdi
leaq 0x10(%rbx), %r15
cmpq %r15, %rdi
jne 0x2a29c
callq 0x23eed
cmpq $0x0, 0x8(%r14)
je 0x2a2eb
movq %r15, 0x8(%rbx)
movq 0x8(%r14), %rsi
movq %r15, %rdi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x23ca3
testb %al, %al
jne 0x2a2f0
pushq $0x20
popq %rdi
callq 0x3130
movq %rax, %rbx
leaq 0x970a(%rip), %rsi      # 0x339d7
movq %rax, %rdi
callq 0x26d2a
leaq 0x168a4(%rip), %rsi     # 0x40b80
leaq -0x17bcb(%rip), %rdx    # 0x12718
movq %rbx, %rdi
callq 0x33b0
andq $0x0, 0x8(%rbx)
movq %rbx, %rax
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %r14
movq %rbx, %rdi
callq 0x3190
movq %r14, %rdi
callq 0x33e0