LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O2/mouda[P]LTE_random_access-simulate/alglibinternal.cpp
// Function: alglib_impl::_armijostate_init_copy(alglib_impl::armijostate*, alglib_impl::armijostate*, alglib_impl::ae_state*, bool)
ae_bool _armijostate_init_copy(armijostate* dst, armijostate* src, ae_state *_state, ae_bool make_automatic)
{
    dst->needf = src->needf;
    if( !ae_vector_init_copy(&dst->x, &src->x, _state, make_automatic) )
        return ae_false;
    dst->f = src->f;
    dst->n = src->n;
    if( !ae_vector_init_copy(&dst->xbase, &src->xbase, _state, make_automatic) )
        return ae_false;
    if( !ae_vector_init_copy(&dst->s, &src->s, _state, make_automatic) )
        return ae_false;
    dst->stplen = src->stplen;
    dst->fcur = src->fcur;
    dst->stpmax = src->stpmax;
    dst->fmax = src->fmax;
    dst->nfev = src->nfev;
    dst->info = src->info;
    if( !_rcommstate_init_copy(&dst->rstate, &src->rstate, _state, make_automatic) )
        return ae_false;
    return ae_true;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %ecx, %ebp
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
movb (%rsi), %al
movb %al, (%rdi)
addq $0x8, %rdi
addq $0x8, %rsi
callq 0x23a2b
testb %al, %al
je 0x20546
movsd 0x38(%r14), %xmm0
movsd %xmm0, 0x38(%r15)
movq 0x40(%r14), %rax
movq %rax, 0x40(%r15)
leaq 0x48(%r15), %rdi
leaq 0x48(%r14), %rsi
movzbl %bpl, %ebp
movq %rbx, %rdx
movl %ebp, %ecx
callq 0x23a2b
testb %al, %al
je 0x20546
leaq 0x78(%r15), %rdi
leaq 0x78(%r14), %rsi
movq %rbx, %rdx
movl %ebp, %ecx
callq 0x23a2b
testb %al, %al
je 0x20546
movups 0xa8(%r14), %xmm0
movups %xmm0, 0xa8(%r15)
movsd 0xb8(%r14), %xmm0
movsd %xmm0, 0xb8(%r15)
movups 0xc0(%r14), %xmm0
movups %xmm0, 0xc0(%r15)
movq 0xd0(%r14), %rax
movq %rax, 0xd0(%r15)
movl $0xd8, %eax
addq %rax, %r15
addq %rax, %r14
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rdx
movl %ebp, %ecx
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x26bd2
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/mouda[P]LTE_random_access-simulate/alglibinternal.cpp
// Function: alglib_impl::_armijostate_clear(alglib_impl::armijostate*)
void _armijostate_clear(armijostate* p)
{
    ae_vector_clear(&p->x);
    ae_vector_clear(&p->xbase);
    ae_vector_clear(&p->s);
    _rcommstate_clear(&p->rstate);
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
addq $0x8, %rdi
callq 0x23b55
leaq 0x48(%rbx), %rdi
callq 0x23b55
leaq 0x78(%rbx), %rdi
callq 0x23b55
addq $0xd8, %rbx
movq %rbx, %rdi
popq %rbx
jmp 0x26c55
// File: /workspace/github_cpp_makefile_star2_O2/mouda[P]LTE_random_access-simulate/alglibinternal.cpp
// Function: alglib_impl::trimfunction(double*, alglib_impl::ae_vector*, long, double, alglib_impl::ae_state*)
void trimfunction(double* f,
     /* Real    */ ae_vector* g,
     ae_int_t n,
     double threshold,
     ae_state *_state)
{
    ae_int_t i;


    if( ae_fp_greater_eq(*f,threshold) )
    {
        *f = threshold;
        for(i=0; i<=n-1; i++)
        {
            g->ptr.p_double[i] = 0.0;
        }
    }
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movaps %xmm0, %xmm1
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
movsd (%rdi), %xmm0
movsd %xmm1, 0x8(%rsp)
callq 0x24295
testb %al, %al
je 0x205f7
movsd 0x8(%rsp), %xmm0
movsd %xmm0, (%r15)
xorl %eax, %eax
testq %rbx, %rbx
cmovleq %rax, %rbx
cmpq %rax, %rbx
je 0x205f7
movq 0x28(%r14), %rcx
andq $0x0, (%rcx,%rax,8)
incq %rax
jmp 0x205e4
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O2/mouda[P]LTE_random_access-simulate/alglibinternal.cpp
// Function: alglib_impl::ftbasegeneratecomplexfftplan(long, alglib_impl::ftplan*, alglib_impl::ae_state*)
void ftbasegeneratecomplexfftplan(ae_int_t n,
     ftplan* plan,
     ae_state *_state)
{
    ae_int_t planarraysize;
    ae_int_t plansize;
    ae_int_t precomputedsize;
    ae_int_t tmpmemsize;
    ae_int_t stackmemsize;
    ae_int_t stackptr;

    _ftplan_clear(plan);

    planarraysize = 1;
    plansize = 0;
    precomputedsize = 0;
    stackmemsize = 0;
    stackptr = 0;
    tmpmemsize = 2*n;
    ae_vector_set_length(&plan->plan, planarraysize, _state);
    ftbase_ftbasegenerateplanrec(n, ftbase_ftbasecffttask, plan, &plansize, &precomputedsize, &planarraysize, &tmpmemsize, &stackmemsize, stackptr, _state);
    ae_assert(stackptr==0, "Internal error in FTBaseGenerateComplexFFTPlan: stack ptr!", _state);
    ae_vector_set_length(&plan->stackbuf, ae_maxint(stackmemsize, 1, _state), _state);
    ae_vector_set_length(&plan->tmpbuf, ae_maxint(tmpmemsize, 1, _state), _state);
    ae_vector_set_length(&plan->precomputed, ae_maxint(precomputedsize, 1, _state), _state);
    stackptr = 0;
    ftbase_ftbaseprecomputeplanrec(plan, 0, stackptr, _state);
    ae_assert(stackptr==0, "Internal error in FTBaseGenerateComplexFFTPlan: stack ptr!", _state);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r13
movq %rsi, %rdi
callq 0x20746
leaq 0x30(%rsp), %rcx
leaq 0x28(%rsp), %rax
andq $0x0, (%rax)
leaq 0x20(%rsp), %r15
andq $0x0, (%r15)
leaq 0x38(%rsp), %rbp
andq $0x0, (%rbp)
movq $0x1, (%rcx)
leaq (,%r13,2), %rax
leaq 0x40(%rsp), %r12
movq %rax, (%r12)
pushq $0x1
popq %rsi
movq %r14, %rdi
movq %rbx, %rdx
callq 0x23add
movq %rbx, 0x18(%rsp)
andq $0x0, 0x10(%rsp)
movq %rbp, 0x8(%rsp)
movq %r12, (%rsp)
movq %r13, %rdi
xorl %esi, %esi
movq %r14, %rdx
leaq 0x28(%rsp), %rcx
movq %r15, %r8
leaq 0x30(%rsp), %r9
callq 0x20771
leaq 0x12a52(%rip), %rsi     # 0x330ee
pushq $0x1
popq %r13
movl %r13d, %edi
movq %rbx, %rdx
callq 0x238ca
leaq 0x90(%r14), %r15
movq (%rbp), %rdi
pushq $0x1
popq %rbp
movq %rbp, %rsi
movq %rbx, %rdx
callq 0x244a0
movq %r15, %rdi
movq %rax, %rsi
movq %rbx, %rdx
callq 0x23add
leaq 0x60(%r14), %r15
movq (%r12), %rdi
movq %rbp, %rsi
movq %rbx, %rdx
callq 0x244a0
movq %r15, %rdi
movq %rax, %rsi
movq %rbx, %rdx
callq 0x23add
leaq 0x30(%r14), %r15
leaq 0x20(%rsp), %rax
movq (%rax), %rdi
movq %rbp, %rsi
movq %rbx, %rdx
callq 0x244a0
movq %r15, %rdi
movq %rax, %rsi
movq %rbx, %rdx
callq 0x23add
movq %r14, %rdi
xorl %esi, %esi
movq %rbx, %rdx
callq 0x20d46
movl %r13d, %edi
leaq 0x129bf(%rip), %rsi     # 0x330ee
movq %rbx, %rdx
callq 0x238ca
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/mouda[P]LTE_random_access-simulate/alglibinternal.cpp
// Function: alglib_impl::_ftplan_clear(alglib_impl::ftplan*)
void _ftplan_clear(ftplan* p)
{
    ae_vector_clear(&p->plan);
    ae_vector_clear(&p->precomputed);
    ae_vector_clear(&p->tmpbuf);
    ae_vector_clear(&p->stackbuf);
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
callq 0x23b55
leaq 0x30(%rbx), %rdi
callq 0x23b55
leaq 0x60(%rbx), %rdi
callq 0x23b55
addq $0x90, %rbx
movq %rbx, %rdi
popq %rbx
jmp 0x23b55
// File: /workspace/github_cpp_makefile_star2_O2/mouda[P]LTE_random_access-simulate/alglibinternal.cpp
// Function: alglib_impl::ftbasegeneraterealfftplan(long, alglib_impl::ftplan*, alglib_impl::ae_state*)
void ftbasegeneraterealfftplan(ae_int_t n, ftplan* plan, ae_state *_state)
{
    ae_int_t planarraysize;
    ae_int_t plansize;
    ae_int_t precomputedsize;
    ae_int_t tmpmemsize;
    ae_int_t stackmemsize;
    ae_int_t stackptr;

    _ftplan_clear(plan);

    planarraysize = 1;
    plansize = 0;
    precomputedsize = 0;
    stackmemsize = 0;
    stackptr = 0;
    tmpmemsize = 2*n;
    ae_vector_set_length(&plan->plan, planarraysize, _state);
    ftbase_ftbasegenerateplanrec(n, ftbase_ftbaserffttask, plan, &plansize, &precomputedsize, &planarraysize, &tmpmemsize, &stackmemsize, stackptr, _state);
    ae_assert(stackptr==0, "Internal error in FTBaseGenerateRealFFTPlan: stack ptr!", _state);
    ae_vector_set_length(&plan->stackbuf, ae_maxint(stackmemsize, 1, _state), _state);
    ae_vector_set_length(&plan->tmpbuf, ae_maxint(tmpmemsize, 1, _state), _state);
    ae_vector_set_length(&plan->precomputed, ae_maxint(precomputedsize, 1, _state), _state);
    stackptr = 0;
    ftbase_ftbaseprecomputeplanrec(plan, 0, stackptr, _state);
    ae_assert(stackptr==0, "Internal error in FTBaseGenerateRealFFTPlan: stack ptr!", _state);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r13
movq %rsi, %rdi
callq 0x20746
leaq 0x10(%rsp), %rcx
leaq 0x20(%rsp), %r15
andq $0x0, (%r15)
leaq 0x8(%rsp), %rbp
andq $0x0, (%rbp)
movq %rsp, %rax
andq $0x0, (%rax)
movq $0x1, (%rcx)
leaq (,%r13,2), %rax
leaq 0x18(%rsp), %r12
movq %rax, (%r12)
pushq $0x1
popq %rsi
movq %r14, %rdi
movq %rbx, %rdx
callq 0x23add
pushq $0x2
popq %rsi
movq %r13, %rdi
movq %r14, %rdx
movq %r15, %rcx
movq %rbp, %r8
leaq 0x10(%rsp), %r9
pushq %rbx
pushq $0x0
leaq 0x10(%rsp), %rbp
pushq %rbp
pushq %r12
movq %r12, %r13
callq 0x20771
addq $0x20, %rsp
leaq 0x11f9b(%rip), %rsi     # 0x33129
pushq $0x1
popq %rdi
movq %rbx, %rdx
callq 0x238ca
leaq 0x90(%r14), %r15
movq (%rbp), %rdi
pushq $0x1
popq %r12
movq %r12, %rsi
movq %rbx, %rdx
callq 0x244a0
movq %r15, %rdi
movq %rax, %rsi
movq %rbx, %rdx
callq 0x23add
leaq 0x60(%r14), %r15
movq (%r13), %rdi
movq %r12, %rsi
movq %rbx, %rdx
callq 0x244a0
movq %r15, %rdi
movq %rax, %rsi
movq %rbx, %rdx
callq 0x23add
leaq 0x30(%r14), %r15
leaq 0x8(%rsp), %rax
movq (%rax), %rdi
movq %r12, %rsi
movq %rbx, %rdx
callq 0x244a0
movq %r15, %rdi
movq %rax, %rsi
movq %rbx, %rdx
callq 0x23add
movq %r14, %rdi
xorl %esi, %esi
movq %rbx, %rdx
callq 0x20d46
pushq $0x1
popq %rdi
leaq 0x11f0b(%rip), %rsi     # 0x33129
movq %rbx, %rdx
callq 0x238ca
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/mouda[P]LTE_random_access-simulate/alglibinternal.cpp
// Function: alglib_impl::ftbasegeneraterealfhtplan(long, alglib_impl::ftplan*, alglib_impl::ae_state*)
void ftbasegeneraterealfhtplan(ae_int_t n, ftplan* plan, ae_state *_state)
{
    ae_int_t planarraysize;
    ae_int_t plansize;
    ae_int_t precomputedsize;
    ae_int_t tmpmemsize;
    ae_int_t stackmemsize;
    ae_int_t stackptr;

    _ftplan_clear(plan);

    planarraysize = 1;
    plansize = 0;
    precomputedsize = 0;
    stackmemsize = 0;
    stackptr = 0;
    tmpmemsize = n;
    ae_vector_set_length(&plan->plan, planarraysize, _state);
    ftbase_ftbasegenerateplanrec(n, ftbase_ftbaserfhttask, plan, &plansize, &precomputedsize, &planarraysize, &tmpmemsize, &stackmemsize, stackptr, _state);
    ae_assert(stackptr==0, "Internal error in FTBaseGenerateRealFHTPlan: stack ptr!", _state);
    ae_vector_set_length(&plan->stackbuf, ae_maxint(stackmemsize, 1, _state), _state);
    ae_vector_set_length(&plan->tmpbuf, ae_maxint(tmpmemsize, 1, _state), _state);
    ae_vector_set_length(&plan->precomputed, ae_maxint(precomputedsize, 1, _state), _state);
    stackptr = 0;
    ftbase_ftbaseprecomputeplanrec(plan, 0, stackptr, _state);
    ae_assert(stackptr==0, "Internal error in FTBaseGenerateRealFHTPlan: stack ptr!", _state);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r13
movq %rsi, %rdi
callq 0x20746
leaq 0x18(%rsp), %rax
andq $0x0, (%rax)
leaq 0x10(%rsp), %rbp
andq $0x0, (%rbp)
movq %rsp, %rax
andq $0x0, (%rax)
leaq 0x20(%rsp), %r15
movq $0x1, (%r15)
leaq 0x8(%rsp), %rax
movq %r13, (%rax)
pushq $0x1
popq %r12
movq %r14, %rdi
movq %r12, %rsi
movq %rbx, %rdx
callq 0x23add
movq %r13, %rdi
movq %r12, %rsi
movq %r14, %rdx
leaq 0x18(%rsp), %rcx
movq %rbp, %r8
movq %r15, %r9
pushq %rbx
pushq $0x0
leaq 0x10(%rsp), %rax
pushq %rax
leaq 0x20(%rsp), %rax
pushq %rax
callq 0x20771
addq $0x20, %rsp
leaq 0x11e9a(%rip), %r13     # 0x33161
pushq $0x1
popq %rbp
movl %ebp, %edi
movq %r13, %rsi
movq %rbx, %rdx
callq 0x238ca
leaq 0x90(%r14), %r15
movq %rsp, %rax
movq (%rax), %rdi
movq %r12, %rsi
movq %rbx, %rdx
callq 0x244a0
movq %r15, %rdi
movq %rax, %rsi
movq %rbx, %rdx
callq 0x23add
leaq 0x60(%r14), %r15
leaq 0x8(%rsp), %rax
movq (%rax), %rdi
movq %r12, %rsi
movq %rbx, %rdx
callq 0x244a0
movq %r15, %rdi
movq %rax, %rsi
movq %rbx, %rdx
callq 0x23add
leaq 0x30(%r14), %r15
leaq 0x10(%rsp), %rax
movq (%rax), %rdi
movq %r12, %rsi
movq %rbx, %rdx
callq 0x244a0
movq %r15, %rdi
movq %rax, %rsi
movq %rbx, %rdx
callq 0x23add
movq %r14, %rdi
xorl %esi, %esi
movq %rbx, %rdx
callq 0x20d46
movl %ebp, %edi
movq %r13, %rsi
movq %rbx, %rdx
callq 0x238ca
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/mouda[P]LTE_random_access-simulate/alglibinternal.cpp
// Function: alglib_impl::ftbaseissmooth(long, alglib_impl::ae_state*)
ae_bool ftbaseissmooth(ae_int_t n, ae_state *_state)
{
    ae_int_t i;
    ae_bool result;


    for(i=2; i<=ftbase_ftbasemaxsmoothfactor; i++)
    {
        while(n%i==0)
        {
            n = n/i;
        }
    }
    result = n==1;
    return result;
}

// Assembly:
movq %rdi, %rax
pushq $0x2
popq %rsi
cmpq $0x6, %rsi
je 0x22b96
movq %rax, %rcx
cqto
idivq %rsi
testq %rdx, %rdx
je 0x22b81
incq %rsi
movq %rcx, %rax
jmp 0x22b7b
cmpq $0x1, %rax
sete %al
retq
// File: /workspace/github_cpp_makefile_star2_O2/mouda[P]LTE_random_access-simulate/alglibinternal.cpp
// Function: alglib_impl::ftbasefindsmooth(long, alglib_impl::ae_state*)
ae_int_t ftbasefindsmooth(ae_int_t n, ae_state *_state)
{
    ae_int_t best;
    ae_int_t result;


    best = 2;
    while(best<n)
    {
        best = 2*best;
    }
    ftbase_ftbasefindsmoothrec(n, 1, 2, &best, _state);
    result = best;
    return result;
}

// Assembly:
movq %rsi, %r8
pushq $0x2
popq %rcx
movq %rcx, %rax
addq %rcx, %rcx
cmpq %rdi, %rax
jl 0x22ba4
pushq %rbx
subq $0x10, %rsp
leaq 0x8(%rsp), %rbx
movq %rax, (%rbx)
pushq $0x1
popq %rsi
pushq $0x2
popq %rdx
movq %rbx, %rcx
callq 0x22bd3
movq (%rbx), %rax
addq $0x10, %rsp
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O2/mouda[P]LTE_random_access-simulate/alglibinternal.cpp
// Function: alglib_impl::ftbase_ftbasefindsmoothrec(long, long, long, long*, alglib_impl::ae_state*)
static void ftbase_ftbasefindsmoothrec(ae_int_t n,
     ae_int_t seed,
     ae_int_t leastfactor,
     ae_int_t* best,
     ae_state *_state)
{


    ae_assert(ftbase_ftbasemaxsmoothfactor<=5, "FTBaseFindSmoothRec: internal error!", _state);
    if( seed>=n )
    {
        *best = ae_minint(*best, seed, _state);
        return;
    }
    if( leastfactor<=2 )
    {
        ftbase_ftbasefindsmoothrec(n, seed*2, 2, best, _state);
    }
    if( leastfactor<=3 )
    {
        ftbase_ftbasefindsmoothrec(n, seed*3, 3, best, _state);
    }
    if( leastfactor<=5 )
    {
        ftbase_ftbasefindsmoothrec(n, seed*5, 5, best, _state);
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r8, %r14
movq %rcx, %rbx
movq %rdx, %r13
movq %rsi, %r15
movq %rdi, %r12
pushq $0x5
popq %rbp
pushq $0x1
popq %rdi
leaq 0x105c6(%rip), %rsi     # 0x331c0
movq %r14, %rdx
callq 0x238ca
cmpq %r12, %r15
jge 0x22c48
cmpq $0x2, %r13
jg 0x22c24
leaq (%r15,%r15), %rsi
movq %r12, %rdi
pushq $0x2
popq %rdx
movq %rbx, %rcx
movq %r14, %r8
callq 0x22bd3
jmp 0x22c2a
cmpq $0x3, %r13
jne 0x22c3f
leaq (%r15,%r15,2), %rsi
movq %r12, %rdi
pushq $0x3
popq %rdx
movq %rbx, %rcx
movq %r14, %r8
callq 0x22bd3
leaq (%r15,%r15,4), %r15
movq %rbp, %r13
jmp 0x22bf0
movq (%rbx), %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0x244ab
movq %rax, (%rbx)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/mouda[P]LTE_random_access-simulate/alglibinternal.cpp
// Function: alglib_impl::ftbasefindsmootheven(long, alglib_impl::ae_state*)
ae_int_t ftbasefindsmootheven(ae_int_t n, ae_state *_state)
{
    ae_int_t best;
    ae_int_t result;


    best = 2;
    while(best<n)
    {
        best = 2*best;
    }
    ftbase_ftbasefindsmoothrec(n, 2, 2, &best, _state);
    result = best;
    return result;
}

// Assembly:
movq %rsi, %r8
pushq $0x2
popq %rcx
movq %rcx, %rax
addq %rcx, %rcx
cmpq %rdi, %rax
jl 0x22c6e
pushq %rbx
subq $0x10, %rsp
leaq 0x8(%rsp), %rbx
movq %rax, (%rbx)
pushq $0x2
popq %rdx
movq %rdx, %rsi
movq %rbx, %rcx
callq 0x22bd3
movq (%rbx), %rax
addq $0x10, %rsp
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O2/mouda[P]LTE_random_access-simulate/alglibinternal.cpp
// Function: alglib_impl::_ftplan_init(alglib_impl::ftplan*, alglib_impl::ae_state*, bool)
ae_bool _ftplan_init(ftplan* p, ae_state *_state, ae_bool make_automatic)
{
    if( !ae_vector_init(&p->plan, 0, DT_INT, _state, make_automatic) )
        return ae_false;
    if( !ae_vector_init(&p->precomputed, 0, DT_REAL, _state, make_automatic) )
        return ae_false;
    if( !ae_vector_init(&p->tmpbuf, 0, DT_REAL, _state, make_automatic) )
        return ae_false;
    if( !ae_vector_init(&p->stackbuf, 0, DT_REAL, _state, make_automatic) )
        return ae_false;
    return ae_true;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movl %edx, %ebp
movq %rsi, %rbx
movq %rdi, %r14
pushq $0x2
popq %rdx
xorl %esi, %esi
movq %rbx, %rcx
movl %ebp, %r8d
callq 0x239a5
testb %al, %al
je 0x22d84
leaq 0x30(%r14), %rdi
movzbl %bpl, %ebp
pushq $0x3
popq %rdx
xorl %esi, %esi
movq %rbx, %rcx
movl %ebp, %r8d
callq 0x239a5
testb %al, %al
je 0x22d84
leaq 0x60(%r14), %rdi
pushq $0x3
popq %rdx
xorl %esi, %esi
movq %rbx, %rcx
movl %ebp, %r8d
callq 0x239a5
testb %al, %al
je 0x22d84
addq $0x90, %r14
pushq $0x3
popq %rdx
movq %r14, %rdi
xorl %esi, %esi
movq %rbx, %rcx
movl %ebp, %r8d
popq %rbx
popq %r14
popq %rbp
jmp 0x239a5
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/mouda[P]LTE_random_access-simulate/alglibinternal.cpp
// Function: alglib_impl::_ftplan_init_copy(alglib_impl::ftplan*, alglib_impl::ftplan*, alglib_impl::ae_state*, bool)
ae_bool _ftplan_init_copy(ftplan* dst, ftplan* src, ae_state *_state, ae_bool make_automatic)
{
    if( !ae_vector_init_copy(&dst->plan, &src->plan, _state, make_automatic) )
        return ae_false;
    if( !ae_vector_init_copy(&dst->precomputed, &src->precomputed, _state, make_automatic) )
        return ae_false;
    if( !ae_vector_init_copy(&dst->tmpbuf, &src->tmpbuf, _state, make_automatic) )
        return ae_false;
    if( !ae_vector_init_copy(&dst->stackbuf, &src->stackbuf, _state, make_automatic) )
        return ae_false;
    return ae_true;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %ecx, %ebp
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
callq 0x23a2b
testb %al, %al
je 0x22dfb
leaq 0x30(%r15), %rdi
leaq 0x30(%r14), %rsi
movzbl %bpl, %ebp
movq %rbx, %rdx
movl %ebp, %ecx
callq 0x23a2b
testb %al, %al
je 0x22dfb
leaq 0x60(%r15), %rdi
leaq 0x60(%r14), %rsi
movq %rbx, %rdx
movl %ebp, %ecx
callq 0x23a2b
testb %al, %al
je 0x22dfb
movl $0x90, %eax
addq %rax, %r15
addq %rax, %r14
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rdx
movl %ebp, %ecx
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x23a2b
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/mouda[P]LTE_random_access-simulate/alglibinternal.cpp
// Function: alglib_impl::nulog1p(double, alglib_impl::ae_state*)
double nulog1p(double x, ae_state *_state)
{
    double z;
    double lp;
    double lq;
    double result;


    z = 1.0+x;
    if( ae_fp_less(z,0.70710678118654752440)||ae_fp_greater(z,1.41421356237309504880) )
    {
        result = ae_log(z, _state);
        return result;
    }
    z = x*x;
    lp = 4.5270000862445199635215E-5;
    lp = lp*x+4.9854102823193375972212E-1;
    lp = lp*x+6.5787325942061044846969E0;
    lp = lp*x+2.9911919328553073277375E1;
    lp = lp*x+6.0949667980987787057556E1;
    lp = lp*x+5.7112963590585538103336E1;
    lp = lp*x+2.0039553499201281259648E1;
    lq = 1.0000000000000000000000E0;
    lq = lq*x+1.5062909083469192043167E1;
    lq = lq*x+8.3047565967967209469434E1;
    lq = lq*x+2.2176239823732856465394E2;
    lq = lq*x+3.0909872225312059774938E2;
    lq = lq*x+2.1642788614495947685003E2;
    lq = lq*x+6.0118660497603843919306E1;
    z = -0.5*z+x*(z*lp/lq);
    result = x+z;
    return result;
}

// Assembly:
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
movsd 0xd3e0(%rip), %xmm2     # 0x301f8
movsd %xmm0, 0x8(%rsp)
addsd %xmm0, %xmm2
movsd 0xfcce(%rip), %xmm1     # 0x32af8
movsd %xmm2, (%rsp)
movapd %xmm2, %xmm0
callq 0x24239
testb %al, %al
jne 0x22e52
movsd 0xd80c(%rip), %xmm1     # 0x30650
movsd (%rsp), %xmm0
callq 0x24279
testb %al, %al
je 0x22e64
movsd (%rsp), %xmm0
movq %rbx, %rdi
addq $0x10, %rsp
popq %rbx
jmp 0x2455f
movsd 0xfc94(%rip), %xmm1     # 0x32b00
movsd 0x8(%rsp), %xmm3
mulsd %xmm3, %xmm1
addsd 0xfc8a(%rip), %xmm1     # 0x32b08
mulsd %xmm3, %xmm1
addsd 0xfc86(%rip), %xmm1     # 0x32b10
mulsd %xmm3, %xmm1
addsd 0xfc82(%rip), %xmm1     # 0x32b18
mulsd %xmm3, %xmm1
addsd 0xfc7e(%rip), %xmm1     # 0x32b20
mulsd %xmm3, %xmm1
addsd 0xfc7a(%rip), %xmm1     # 0x32b28
mulsd %xmm3, %xmm1
addsd 0xfc76(%rip), %xmm1     # 0x32b30
movsd 0xfc76(%rip), %xmm2     # 0x32b38
addsd %xmm3, %xmm2
mulsd %xmm3, %xmm2
addsd 0xfc6e(%rip), %xmm2     # 0x32b40
mulsd %xmm3, %xmm2
addsd 0xfc6a(%rip), %xmm2     # 0x32b48
mulsd %xmm3, %xmm2
addsd 0xfc66(%rip), %xmm2     # 0x32b50
movapd %xmm3, %xmm0
mulsd %xmm3, %xmm2
addsd 0xfc5e(%rip), %xmm2     # 0x32b58
mulsd %xmm3, %xmm0
mulsd %xmm3, %xmm2
addsd 0xfc56(%rip), %xmm2     # 0x32b60
mulsd %xmm0, %xmm1
divsd %xmm2, %xmm1
mulsd 0xd58e(%rip), %xmm0     # 0x304a8
mulsd %xmm3, %xmm1
addsd %xmm1, %xmm0
addsd %xmm3, %xmm0
addq $0x10, %rsp
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O2/mouda[P]LTE_random_access-simulate/alglibinternal.cpp
// Function: alglib_impl::nuexpm1(double, alglib_impl::ae_state*)
double nuexpm1(double x, ae_state *_state)
{
    double r;
    double xx;
    double ep;
    double eq;
    double result;


    if( ae_fp_less(x,-0.5)||ae_fp_greater(x,0.5) )
    {
        result = ae_exp(x, _state)-1.0;
        return result;
    }
    xx = x*x;
    ep = 1.2617719307481059087798E-4;
    ep = ep*xx+3.0299440770744196129956E-2;
    ep = ep*xx+9.9999999999999999991025E-1;
    eq = 3.0019850513866445504159E-6;
    eq = eq*xx+2.5244834034968410419224E-3;
    eq = eq*xx+2.2726554820815502876593E-1;
    eq = eq*xx+2.0000000000000000000897E0;
    r = x*ep;
    r = r/(eq-r);
    result = r+r;
    return result;
}

// Assembly:
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
movsd 0xd56c(%rip), %xmm1     # 0x304a8
movsd %xmm0, 0x8(%rsp)
callq 0x24239
testb %al, %al
jne 0x22f62
movsd 0xd535(%rip), %xmm1     # 0x30488
movsd 0x8(%rsp), %xmm0
callq 0x24279
testb %al, %al
je 0x22f7a
movsd 0x8(%rsp), %xmm0
movq %rbx, %rdi
callq 0x24569
addsd 0xd288(%rip), %xmm0     # 0x30200
jmp 0x22fe4
movsd 0x8(%rsp), %xmm3
movapd %xmm3, %xmm1
mulsd %xmm3, %xmm1
movsd 0xfbd8(%rip), %xmm0     # 0x32b68
mulsd %xmm1, %xmm0
addsd 0xfbd4(%rip), %xmm0     # 0x32b70
mulsd %xmm1, %xmm0
addsd 0xd250(%rip), %xmm0     # 0x301f8
movsd 0xfbc8(%rip), %xmm2     # 0x32b78
mulsd %xmm1, %xmm2
addsd 0xfbc4(%rip), %xmm2     # 0x32b80
mulsd %xmm1, %xmm2
addsd 0xfbc0(%rip), %xmm2     # 0x32b88
mulsd %xmm1, %xmm2
addsd 0xd424(%rip), %xmm2     # 0x303f8
mulsd %xmm3, %xmm0
subsd %xmm0, %xmm2
divsd %xmm2, %xmm0
addsd %xmm0, %xmm0
addq $0x10, %rsp
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O2/mouda[P]LTE_random_access-simulate/alglibinternal.cpp
// Function: alglib_impl::nucosm1(double, alglib_impl::ae_state*)
double nucosm1(double x, ae_state *_state)
{
    double xx;
    double c;
    double result;


    if( ae_fp_less(x,-0.25*ae_pi)||ae_fp_greater(x,0.25*ae_pi) )
    {
        result = ae_cos(x, _state)-1;
        return result;
    }
    xx = x*x;
    c = 4.7377507964246204691685E-14;
    c = c*xx-1.1470284843425359765671E-11;
    c = c*xx+2.0876754287081521758361E-9;
    c = c*xx-2.7557319214999787979814E-7;
    c = c*xx+2.4801587301570552304991E-5;
    c = c*xx-1.3888888888888872993737E-3;
    c = c*xx+4.1666666666666666609054E-2;
    result = -0.5*xx+xx*xx*c;
    return result;
}

// Assembly:
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
movsd 0xdb46(%rip), %xmm1     # 0x30b40
movsd %xmm0, 0x8(%rsp)
callq 0x24239
testb %al, %al
jne 0x23020
movsd 0xd9d7(%rip), %xmm1     # 0x309e8
movsd 0x8(%rsp), %xmm0
callq 0x24279
testb %al, %al
je 0x23038
movsd 0x8(%rsp), %xmm0
movq %rbx, %rdi
callq 0x24532
addsd 0xd1ca(%rip), %xmm0     # 0x30200
jmp 0x230aa
movsd 0x8(%rsp), %xmm0
mulsd %xmm0, %xmm0
movsd 0xfb46(%rip), %xmm2     # 0x32b90
mulsd %xmm0, %xmm2
addsd 0xfb42(%rip), %xmm2     # 0x32b98
mulsd %xmm0, %xmm2
addsd 0xfb3e(%rip), %xmm2     # 0x32ba0
mulsd %xmm0, %xmm2
addsd 0xfb3a(%rip), %xmm2     # 0x32ba8
mulsd %xmm0, %xmm2
addsd 0xfb36(%rip), %xmm2     # 0x32bb0
mulsd %xmm0, %xmm2
addsd 0xfb32(%rip), %xmm2     # 0x32bb8
mulsd %xmm0, %xmm2
addsd 0xfb2e(%rip), %xmm2     # 0x32bc0
movapd %xmm0, %xmm1
mulsd %xmm0, %xmm1
mulsd %xmm2, %xmm1
mulsd 0xd402(%rip), %xmm0     # 0x304a8
addsd %xmm1, %xmm0
addq $0x10, %rsp
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O2/mouda[P]LTE_random_access-simulate/alglibinternal.cpp
// Function: alglib_impl::xblas_xfastpow(double, long, alglib_impl::ae_state*)
static double xblas_xfastpow(double r, ae_int_t n, ae_state *_state)
{
    double result;


    result = 0;
    if( n>0 )
    {
        if( n%2==0 )
        {
            result = ae_sqr(xblas_xfastpow(r, n/2, _state), _state);
        }
        else
        {
            result = r*xblas_xfastpow(r, n-1, _state);
        }
        return result;
    }
    if( n==0 )
    {
        result = 1;
    }
    if( n<0 )
    {
        result = xblas_xfastpow(1/r, -n, _state);
    }
    return result;
}

// Assembly:
pushq %rbx
subq $0x10, %rsp
movq %rsi, %rbx
movapd %xmm0, %xmm2
movsd 0xd0e4(%rip), %xmm0     # 0x301f8
testq %rdi, %rdi
jg 0x2312c
jns 0x23169
movapd %xmm0, %xmm1
divsd %xmm2, %xmm1
negq %rdi
movapd %xmm1, %xmm2
jmp 0x23114
testb $0x1, %dil
jne 0x2314e
shrq %rdi
movapd %xmm2, %xmm0
movq %rbx, %rsi
callq 0x23100
movq %rbx, %rdi
addq $0x10, %rsp
popq %rbx
jmp 0x2441f
decq %rdi
movapd %xmm2, %xmm0
movq %rbx, %rsi
movsd %xmm2, 0x8(%rsp)
callq 0x23100
mulsd 0x8(%rsp), %xmm0
addq $0x10, %rsp
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O2/mouda[P]LTE_random_access-simulate/ap.cpp
// Function: alglib_impl::ae_malloc(unsigned long, alglib_impl::ae_state*)
void* ae_malloc(size_t size, ae_state *state)
{
    void *result;
    if( size==0 )
        return NULL;
    result = aligned_malloc(size,AE_DATA_ALIGN);
    if( result==NULL && state!=NULL)
        ae_break(state, ERR_OUT_OF_MEMORY, "ae_malloc(): out of memory");
    return result;
}

// Assembly:
pushq %rbx
testq %rdi, %rdi
je 0x236f3
movq %rsi, %rbx
pushq $0x10
popq %rsi
callq 0x2364f
testq %rax, %rax
setne %cl
testq %rbx, %rbx
sete %dl
orb %cl, %dl
jne 0x236f5
leaq 0x100d4(%rip), %rdx     # 0x337bc
pushq $0x1
popq %rsi
movq %rbx, %rdi
callq 0x235f7
xorl %eax, %eax
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O2/mouda[P]LTE_random_access-simulate/ap.cpp
// Function: alglib_impl::ae_matrix_update_row_pointers(alglib_impl::ae_matrix*, void*)
void ae_matrix_update_row_pointers(ae_matrix *dst, void *storage)
{
    char *p_base;
    void **pp_ptr;
    ae_int_t i;
    if( dst->rows>0 && dst->cols>0 )
    {
        p_base = (char*)storage;
        pp_ptr = (void**)dst->data.ptr;
        dst->ptr.pp_void = pp_ptr;
        for(i=0; i<dst->rows; i++, p_base+=dst->stride*ae_sizeof(dst->datatype))
            pp_ptr[i] = p_base;
    }
    else
        dst->ptr.pp_void = NULL;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq (%rdi), %r14
testq %r14, %r14
jle 0x23747
cmpq $0x0, 0x8(%rdi)
jle 0x23747
movq %rsi, %rbx
movq 0x30(%rdi), %r15
movq %r15, 0x38(%rdi)
movq 0x10(%rdi), %r12
movq 0x18(%rdi), %rdi
callq 0x23758
imulq %r12, %rax
xorl %ecx, %ecx
cmpq %rcx, %r14
je 0x2374c
movq %rbx, (%r15,%rcx,8)
incq %rcx
addq %rax, %rbx
jmp 0x23736
andq $0x0, 0x38(%rdi)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O2/mouda[P]LTE_random_access-simulate/ap.cpp
// Function: alglib_impl::ae_frame_leave(alglib_impl::ae_state*)
void ae_frame_leave(ae_state *state)
{
    while( state->p_top_block->ptr!=DYN_FRAME && state->p_top_block->ptr!=DYN_BOTTOM)
    {
        if( state->p_top_block->ptr!=NULL && state->p_top_block->deallocator!=NULL)
            ((ae_deallocator)(state->p_top_block->deallocator))(state->p_top_block->ptr);
        state->p_top_block = state->p_top_block->p_next;
    }
    state->p_top_block = state->p_top_block->p_next;
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movq 0x20(%rbx), %rax
movq 0x10(%rax), %rax
cmpq $0x2, %rax
je 0x23808
movq 0x20(%rbx), %rax
movq 0x10(%rax), %rax
cmpq $0x1, %rax
je 0x23808
movq 0x20(%rbx), %rax
cmpq $0x0, 0x10(%rax)
je 0x237fb
movq 0x20(%rbx), %rax
cmpq $0x0, 0x8(%rax)
je 0x237fb
movq 0x20(%rbx), %rax
movq 0x20(%rbx), %rcx
movq 0x10(%rcx), %rdi
callq *0x8(%rax)
movq 0x20(%rbx), %rax
movq (%rax), %rax
movq %rax, 0x20(%rbx)
jmp 0x237ba
movq 0x20(%rbx), %rax
movq (%rax), %rax
movq %rax, 0x20(%rbx)
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O2/mouda[P]LTE_random_access-simulate/ap.cpp
// Function: alglib_impl::ae_frame_make(alglib_impl::ae_state*, alglib_impl::ae_frame*)
void ae_frame_make(ae_state *state, ae_frame *tmp)
{
    tmp->db_marker.p_next = state->p_top_block;
    tmp->db_marker.deallocator = NULL;
    tmp->db_marker.ptr = DYN_FRAME;
    state->p_top_block = &tmp->db_marker;
}

// Assembly:
movq 0x20(%rdi), %rax
movq %rax, (%rsi)
andq $0x0, 0x8(%rsi)
movq $0x2, 0x10(%rsi)
movq %rsi, 0x20(%rdi)
retq
// File: /workspace/github_cpp_makefile_star2_O2/mouda[P]LTE_random_access-simulate/ap.cpp
// Function: alglib_impl::ae_db_malloc(alglib_impl::ae_dyn_block*, long, alglib_impl::ae_state*, bool)
ae_bool ae_db_malloc(ae_dyn_block *block, ae_int_t size, ae_state *state, ae_bool make_automatic)
{
    /* ensure that size is >=0
       two ways to exit: 1) through ae_assert, if we have non-NULL state, 2) by returning ae_false */
    if( state!=NULL )
        ae_assert(size>=0, "ae_db_malloc(): negative size", state);
    if( size<0 )
        return ae_false;
    
    /* alloc */
    block->ptr = ae_malloc((size_t)size, state);
    if( block->ptr==NULL && size!=0 )
        return ae_false;
    if( make_automatic && state!=NULL )
        ae_db_attach(block, state);
    else
        block->p_next = NULL;
    block->deallocator = ae_free;
    return ae_true;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %ecx, %ebp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
testq %rdx, %rdx
je 0x23869
xorl %edi, %edi
testq %r15, %r15
setns %dil
leaq 0xff76(%rip), %rsi      # 0x337d7
movq %r14, %rdx
callq 0x238ca
testq %r15, %r15
js 0x2388b
movq %r15, %rdi
movq %r14, %rsi
callq 0x236c0
movq %rax, 0x10(%rbx)
movq 0x10(%rbx), %rax
testq %r15, %r15
je 0x2388f
testq %rax, %rax
jne 0x2388f
xorl %eax, %eax
jmp 0x238bf
testq %r14, %r14
sete %al
xorb $0x1, %bpl
orb %al, %bpl
jne 0x238ab
movq 0x20(%r14), %rax
movq %rax, (%rbx)
movq %rbx, 0x20(%r14)
jmp 0x238b2
movq $0x0, (%rbx)
leaq -0x1c2(%rip), %rax      # 0x236f7
movq %rax, 0x8(%rbx)
movb $0x1, %al
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/mouda[P]LTE_random_access-simulate/ap.cpp
// Function: alglib_impl::ae_db_realloc(alglib_impl::ae_dyn_block*, long, alglib_impl::ae_state*)
ae_bool ae_db_realloc(ae_dyn_block *block, ae_int_t size, ae_state *state)
{
    /* ensure that size is >=0
       two ways to exit: 1) through ae_assert, if we have non-NULL state, 2) by returning ae_false */
    if( state!=NULL )
        ae_assert(size>=0, "ae_db_realloc(): negative size", state);
    if( size<0 )
        return ae_false;
    
    /* realloc */
    if( block->ptr!=NULL )
        ((ae_deallocator)block->deallocator)(block->ptr);
    block->ptr = ae_malloc((size_t)size, state);
    if( block->ptr==NULL && size!=0 )
        return ae_false;
    block->deallocator = ae_free;
    return ae_true;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %r15
movq %rsi, %r14
movq %rdi, %rbx
testq %rdx, %rdx
je 0x2390c
xorl %edi, %edi
testq %r14, %r14
setns %dil
leaq 0xfef1(%rip), %rsi      # 0x337f5
movq %r15, %rdx
callq 0x238ca
testq %r14, %r14
js 0x2393c
cmpq $0x0, 0x10(%rbx)
je 0x2391f
movq 0x10(%rbx), %rdi
callq *0x8(%rbx)
movq %r14, %rdi
movq %r15, %rsi
callq 0x236c0
movq %rax, 0x10(%rbx)
movq 0x10(%rbx), %rax
testq %r14, %r14
je 0x23940
testq %rax, %rax
jne 0x23940
xorl %eax, %eax
jmp 0x2394d
leaq -0x250(%rip), %rax      # 0x236f7
movq %rax, 0x8(%rbx)
movb $0x1, %al
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O2/mouda[P]LTE_random_access-simulate/ap.cpp
// Function: alglib_impl::ae_db_free(alglib_impl::ae_dyn_block*)
void ae_db_free(ae_dyn_block *block)
{
    if( block->ptr!=NULL )
        ((ae_deallocator)block->deallocator)(block->ptr);
    block->ptr = NULL;
    block->deallocator = ae_free;
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
cmpq $0x0, 0x10(%rdi)
je 0x23965
movq 0x10(%rbx), %rdi
callq *0x8(%rbx)
movq $0x0, 0x10(%rbx)
leaq -0x27d(%rip), %rax      # 0x236f7
movq %rax, 0x8(%rbx)
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O2/mouda[P]LTE_random_access-simulate/ap.cpp
// Function: alglib_impl::ae_db_swap(alglib_impl::ae_dyn_block*, alglib_impl::ae_dyn_block*)
void ae_db_swap(ae_dyn_block *block1, ae_dyn_block *block2)
{
    void (*deallocator)(void*) = NULL;
    void * volatile ptr;
    ptr = block1->ptr;
    deallocator = block1->deallocator;
    block1->ptr = block2->ptr;
    block1->deallocator = block2->deallocator;
    block2->ptr = ptr;
    block2->deallocator = deallocator;
}

// Assembly:
movq 0x10(%rdi), %rax
movq %rax, -0x8(%rsp)
movq 0x8(%rdi), %rax
movq 0x10(%rsi), %rcx
movq %rcx, 0x10(%rdi)
movq 0x8(%rsi), %rcx
movq %rcx, 0x8(%rdi)
movq -0x8(%rsp), %rcx
movq %rcx, 0x10(%rsi)
movq %rax, 0x8(%rsi)
retq
// File: /workspace/github_cpp_makefile_star2_O2/mouda[P]LTE_random_access-simulate/ap.cpp
// Function: alglib_impl::ae_vector_init(alglib_impl::ae_vector*, long, long, alglib_impl::ae_state*, bool)
ae_bool ae_vector_init(ae_vector *dst, ae_int_t size, ae_datatype datatype, ae_state *state, ae_bool make_automatic)
{
    /* ensure that size is >=0
       two ways to exit: 1) through ae_assert, if we have non-NULL state, 2) by returning ae_false */
    if( state!=NULL )
        ae_assert(size>=0, "ae_vector_init(): negative size", state);
    if( size<0 )
        return ae_false;

    /* init */
    dst->cnt = size;
    dst->datatype = datatype;
    if( !ae_db_malloc(&dst->data, size*ae_sizeof(datatype), state, make_automatic) )
        return ae_false;
    dst->ptr.p_ptr = dst->data.ptr;
    return ae_true;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %r8d, %ebp
movq %rcx, %r14
movq %rdx, %r12
movq %rsi, %r15
movq %rdi, %rbx
testq %rcx, %rcx
je 0x239dc
xorl %edi, %edi
testq %r15, %r15
setns %dil
leaq 0xfe40(%rip), %rsi      # 0x33814
movq %r14, %rdx
callq 0x238ca
testq %r15, %r15
js 0x23a1a
movq %r15, (%rbx)
movq %r12, 0x8(%rbx)
leaq 0x10(%rbx), %r13
movq %r12, %rdi
callq 0x23758
imulq %rax, %r15
movzbl %bpl, %ecx
movq %r13, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0x2383a
testb %al, %al
je 0x23a1a
movq 0x20(%rbx), %rax
movq %rax, 0x28(%rbx)
movb $0x1, %al
jmp 0x23a1c
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/mouda[P]LTE_random_access-simulate/ap.cpp
// Function: alglib_impl::ae_vector_set_length(alglib_impl::ae_vector*, long, alglib_impl::ae_state*)
ae_bool ae_vector_set_length(ae_vector *dst, ae_int_t newsize, ae_state *state)
{
    /* ensure that size is >=0
       two ways to exit: 1) through ae_assert, if we have non-NULL state, 2) by returning ae_false */
    if( state!=NULL )
        ae_assert(newsize>=0, "ae_vector_set_length(): negative size", state);
    if( newsize<0 )
        return ae_false;

    /* set length */
    if( dst->cnt==newsize )
        return ae_true;
    dst->cnt = newsize;
    if( !ae_db_realloc(&dst->data, newsize*ae_sizeof(dst->datatype), state) )
        return ae_false;
    dst->ptr.p_ptr = dst->data.ptr;
    return ae_true;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
testq %rdx, %rdx
je 0x23b0b
xorl %edi, %edi
testq %r15, %r15
setns %dil
leaq 0xfd31(%rip), %rsi      # 0x33834
movq %r14, %rdx
callq 0x238ca
testq %r15, %r15
js 0x23b48
movb $0x1, %bpl
cmpq %r15, (%rbx)
je 0x23b4a
movq %r15, (%rbx)
leaq 0x10(%rbx), %r12
movq 0x8(%rbx), %rdi
callq 0x23758
imulq %rax, %r15
movq %r12, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0x238e1
testb %al, %al
je 0x23b48
movq 0x20(%rbx), %rax
movq %rax, 0x28(%rbx)
jmp 0x23b4a
xorl %ebp, %ebp
movl %ebp, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/mouda[P]LTE_random_access-simulate/ap.cpp
// Function: alglib_impl::ae_swap_vectors(alglib_impl::ae_vector*, alglib_impl::ae_vector*)
void ae_swap_vectors(ae_vector *vec1, ae_vector *vec2)
{
    ae_int_t cnt;
    ae_datatype datatype;
    void *p_ptr;
    
    ae_db_swap(&vec1->data, &vec2->data);
    
    cnt = vec1->cnt;
    datatype = vec1->datatype;
    p_ptr = vec1->ptr.p_ptr;
    vec1->cnt = vec2->cnt;
    vec1->datatype = vec2->datatype;
    vec1->ptr.p_ptr = vec2->ptr.p_ptr;
    vec2->cnt = cnt;
    vec2->datatype = datatype;
    vec2->ptr.p_ptr = p_ptr;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
addq $0x10, %rdi
addq $0x10, %rsi
callq 0x2397a
movq 0x28(%r14), %rax
movups (%rbx), %xmm0
movups (%r14), %xmm1
movups %xmm0, (%r14)
movq 0x28(%rbx), %rcx
movq %rcx, 0x28(%r14)
movups %xmm1, (%rbx)
movq %rax, 0x28(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_cpp_makefile_star2_O2/mouda[P]LTE_random_access-simulate/ap.cpp
// Function: alglib_impl::ae_matrix_init(alglib_impl::ae_matrix*, long, long, long, alglib_impl::ae_state*, bool)
ae_bool ae_matrix_init(ae_matrix *dst, ae_int_t rows, ae_int_t cols, ae_datatype datatype, ae_state *state, ae_bool make_automatic)
{
    /* ensure that size is >=0
       two ways to exit: 1) through ae_assert, if we have non-NULL state, 2) by returning ae_false */
    if( state!=NULL )
        ae_assert(rows>=0 && cols>=0, "ae_matrix_init(): negative length", state);
    if( rows<0 || cols<0 )
        return ae_false;

    /* if one of rows/cols is zero, another MUST be too */
    if( rows==0 || cols==0 )
    {
        rows = 0;
        cols = 0;
    }

    /* init */
    dst->rows = rows;
    dst->cols = cols;
    dst->stride = cols;
    while( dst->stride*ae_sizeof(datatype)%AE_DATA_ALIGN!=0 )
        dst->stride++;
    dst->datatype = datatype;
    if( !ae_db_malloc(&dst->data, dst->rows*((ae_int_t)sizeof(void*)+dst->stride*ae_sizeof(datatype))+AE_DATA_ALIGN-1, state, make_automatic) )
        return ae_false;
    ae_matrix_update_row_pointers(dst, ae_align((char*)dst->data.ptr+dst->rows*sizeof(void*),AE_DATA_ALIGN));
    return ae_true;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %r9d, 0x4(%rsp)
movq %r8, %r14
movq %rcx, %r15
movq %rdx, %rbp
movq %rsi, %r12
movq %rdi, %rbx
movq %rdx, %r13
orq %rsi, %r13
testq %r8, %r8
je 0x23bec
xorl %edi, %edi
testq %r13, %r13
setns %dil
leaq 0xfc76(%rip), %rsi      # 0x3385a
movq %r14, %rdx
callq 0x238ca
testq %r13, %r13
js 0x23c92
testq %r12, %r12
movq %rbp, %r13
cmoveq %r12, %r13
testq %rbp, %rbp
cmoveq %rbp, %r12
movq %r12, (%rbx)
movq %r13, 0x8(%rbx)
movq %r15, %rdi
callq 0x23758
leaq -0x1(%r13), %rcx
movq %rax, %rsi
imulq %rcx, %rsi
addq $0x8, %rsi
imulq %r12, %rsi
addq $0xf, %rsi
imulq %rax, %r12
imulq %rax, %r13
movq %r13, %rdx
addq %r12, %rsi
incq %rcx
addq %rax, %rdx
testb $0xf, %r13b
movq %rdx, %r13
jne 0x23c37
movq %rcx, 0x10(%rbx)
movq %r15, 0x18(%rbx)
leaq 0x20(%rbx), %rdi
movzbl 0x4(%rsp), %ecx
movq %r14, %rdx
callq 0x2383a
testb %al, %al
je 0x23c92
movq (%rbx), %rax
shlq $0x3, %rax
addq 0x30(%rbx), %rax
movl %eax, %ecx
andl $0xf, %ecx
pushq $0x10
popq %rsi
subq %rcx, %rsi
testq %rcx, %rcx
cmoveq %rcx, %rsi
addq %rax, %rsi
movq %rbx, %rdi
callq 0x23701
movb $0x1, %al
jmp 0x23c94
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/mouda[P]LTE_random_access-simulate/ap.cpp
// Function: alglib_impl::ae_matrix_init_copy(alglib_impl::ae_matrix*, alglib_impl::ae_matrix*, alglib_impl::ae_state*, bool)
ae_bool ae_matrix_init_copy(ae_matrix *dst, ae_matrix *src, ae_state *state, ae_bool make_automatic)
{
    ae_int_t i;
    if( !ae_matrix_init(dst, src->rows, src->cols, src->datatype, state, make_automatic) )
        return ae_false;
    if( src->rows!=0 && src->cols!=0 )
    {
        if( dst->stride==src->stride )
            memcpy(dst->ptr.pp_void[0], src->ptr.pp_void[0], (size_t)(src->rows*src->stride*ae_sizeof(src->datatype)));
        else
            for(i=0; i<dst->rows; i++)
                memcpy(dst->ptr.pp_void[i], src->ptr.pp_void[i], (size_t)(dst->cols*ae_sizeof(dst->datatype)));
    }
    return ae_true;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %ecx, %r9d
movq %rdx, %r8
movq %rsi, %r14
movq %rdi, %r15
movq (%rsi), %rsi
movq 0x8(%r14), %rdx
movq 0x18(%r14), %rcx
callq 0x23baa
movb %al, 0x7(%rsp)
testb %al, %al
je 0x23d18
movq (%r14), %rax
testq %rax, %rax
je 0x23d18
cmpq $0x0, 0x8(%r14)
je 0x23d18
movq 0x10(%r15), %r12
cmpq 0x10(%r14), %r12
jne 0x23d2b
movq 0x38(%r15), %rcx
movq (%rcx), %r15
movq 0x18(%r14), %rdi
movq 0x38(%r14), %rcx
movq (%rcx), %r14
imulq %rax, %r12
callq 0x23758
imulq %rax, %r12
movq %r15, %rdi
movq %r14, %rsi
movq %r12, %rdx
callq 0x31d0
movb 0x7(%rsp), %al
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
xorl %ebx, %ebx
cmpq (%r15), %rbx
jge 0x23d18
movq 0x38(%r15), %rax
movq (%rax,%rbx,8), %r12
movq 0x38(%r14), %rax
movq (%rax,%rbx,8), %r13
movq 0x8(%r15), %rbp
movq 0x18(%r15), %rdi
callq 0x23758
imulq %rax, %rbp
movq %r12, %rdi
movq %r13, %rsi
movq %rbp, %rdx
callq 0x31d0
incq %rbx
jmp 0x23d2d
// File: /workspace/github_cpp_makefile_star2_O2/mouda[P]LTE_random_access-simulate/ap.cpp
// Function: alglib_impl::ae_matrix_init_from_x(alglib_impl::ae_matrix*, alglib_impl::x_matrix*, alglib_impl::ae_state*, bool)
void ae_matrix_init_from_x(ae_matrix *dst, x_matrix *src, ae_state *state, ae_bool make_automatic)
{
    char *p_src_row;
    char *p_dst_row;
    ae_int_t row_size;
    ae_int_t i;
    ae_matrix_init(dst, (ae_int_t)src->rows, (ae_int_t)src->cols, (ae_datatype)src->datatype, state, make_automatic);
    if( src->rows!=0 && src->cols!=0 )
    {
        p_src_row = (char*)src->ptr;
        p_dst_row = (char*)(dst->ptr.pp_void[0]);
        row_size = ae_sizeof((ae_datatype)src->datatype)*(ae_int_t)src->cols;
        for(i=0; i<src->rows; i++, p_src_row+=src->stride*ae_sizeof((ae_datatype)src->datatype), p_dst_row+=dst->stride*ae_sizeof((ae_datatype)src->datatype))
            memcpy(p_dst_row, p_src_row, (size_t)(row_size));
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %ecx, %r9d
movq %rdx, %r8
movq %rsi, %rbx
movq (%rsi), %rsi
movq 0x8(%rbx), %rdx
movq 0x18(%rbx), %rcx
movq %rdi, (%rsp)
callq 0x23baa
movq (%rbx), %r14
testq %r14, %r14
je 0x23dfb
movq 0x8(%rbx), %rbp
testq %rbp, %rbp
je 0x23dfb
movq 0x18(%rbx), %rdi
movq 0x30(%rbx), %r15
movq (%rsp), %rax
movq 0x38(%rax), %rax
movq (%rax), %r12
callq 0x23758
movq %rax, %r13
imulq %rbp, %r13
xorl %ebp, %ebp
cmpq %r14, %rbp
jge 0x23dfb
movq %r12, %rdi
movq %r15, %rsi
movq %r13, %rdx
callq 0x31d0
incq %rbp
movq 0x10(%rbx), %r14
movq 0x18(%rbx), %rdi
callq 0x23758
imulq %rax, %r14
addq %r14, %r15
movq (%rsp), %rcx
imulq 0x10(%rcx), %rax
addq %rax, %r12
movq (%rbx), %r14
jmp 0x23dc0
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/mouda[P]LTE_random_access-simulate/ap.cpp
// Function: alglib_impl::ae_matrix_set_length(alglib_impl::ae_matrix*, long, long, alglib_impl::ae_state*)
ae_bool ae_matrix_set_length(ae_matrix *dst, ae_int_t rows, ae_int_t cols, ae_state *state)
{
    /* ensure that size is >=0
       two ways to exit: 1) through ae_assert, if we have non-NULL state, 2) by returning ae_false */
    if( state!=NULL )
        ae_assert(rows>=0 && cols>=0, "ae_matrix_set_length(): negative length", state);
    if( rows<0 || cols<0 )
        return ae_false;

    if( dst->rows==rows && dst->cols==cols )
        return ae_true;    
    dst->rows = rows;
    dst->cols = cols;
    dst->stride = cols;
    while( dst->stride*ae_sizeof(dst->datatype)%AE_DATA_ALIGN!=0 )
        dst->stride++;
    if( !ae_db_realloc(&dst->data, dst->rows*((ae_int_t)sizeof(void*)+dst->stride*ae_sizeof(dst->datatype))+AE_DATA_ALIGN-1, state) )
        return ae_false;
    ae_matrix_update_row_pointers(dst, ae_align((char*)dst->data.ptr+dst->rows*sizeof(void*),AE_DATA_ALIGN));
    return ae_true;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rcx, %r14
movq %rdx, %r12
movq %rsi, %r15
movq %rdi, %rbx
movq %rdx, %r13
orq %rsi, %r13
testq %rcx, %rcx
je 0x23e42
xorl %edi, %edi
testq %r13, %r13
setns %dil
leaq 0xfa42(%rip), %rsi      # 0x3387c
movq %r14, %rdx
callq 0x238ca
testq %r13, %r13
js 0x23ee1
cmpq %r15, (%rbx)
jne 0x23e5c
movb $0x1, %al
cmpq %r12, 0x8(%rbx)
je 0x23ee3
movq %r15, (%rbx)
movq %r12, 0x8(%rbx)
movq 0x18(%rbx), %rdi
callq 0x23758
leaq -0x1(%r12), %rcx
movq %rax, %rsi
imulq %rcx, %rsi
addq $0x8, %rsi
imulq %r15, %rsi
addq $0xf, %rsi
imulq %rax, %r15
imulq %rax, %r12
movq %r12, %rdx
addq %r15, %rsi
incq %rcx
addq %rax, %rdx
testb $0xf, %r12b
movq %rdx, %r12
jne 0x23e8f
movq %rcx, 0x10(%rbx)
leaq 0x20(%rbx), %rdi
movq %r14, %rdx
callq 0x238e1
testb %al, %al
je 0x23ee1
movq (%rbx), %rax
shlq $0x3, %rax
addq 0x30(%rbx), %rax
movl %eax, %ecx
andl $0xf, %ecx
pushq $0x10
popq %rsi
subq %rcx, %rsi
testq %rcx, %rcx
cmoveq %rcx, %rsi
addq %rax, %rsi
movq %rbx, %rdi
callq 0x23701
movb $0x1, %al
jmp 0x23ee3
xorl %eax, %eax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O2/mouda[P]LTE_random_access-simulate/ap.cpp
// Function: alglib_impl::ae_matrix_clear(alglib_impl::ae_matrix*)
void ae_matrix_clear(ae_matrix *dst)
{
    dst->rows = 0;
    dst->cols = 0;
    dst->stride = 0;
    ae_db_free(&dst->data);
    dst->ptr.p_ptr = 0;
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
addq $0x20, %rdi
xorps %xmm0, %xmm0
movups %xmm0, (%rbx)
andq $0x0, 0x10(%rbx)
callq 0x23953
andq $0x0, 0x38(%rbx)
popq %rbx
retq