LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O3/mouda[P]LTE_random_access-simulate/alglibinternal.cpp
// Function: alglib_impl::copyrealmatrix(alglib_impl::ae_matrix*, alglib_impl::ae_matrix*, alglib_impl::ae_state*)
void copyrealmatrix(/* Real    */ ae_matrix* src,
     /* Real    */ ae_matrix* dst,
     ae_state *_state)
{
    ae_int_t i;
    ae_int_t j;

    ae_matrix_clear(dst);

    if( src->rows>0&&src->cols>0 )
    {
        ae_matrix_set_length(dst, src->rows, src->cols, _state);
        for(i=0; i<=src->rows-1; i++)
        {
            for(j=0; j<=src->cols-1; j++)
            {
                dst->ptr.pp_double[i][j] = src->ptr.pp_double[i][j];
            }
        }
    }
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %r15
movq %rsi, %rbx
movq %rdi, %r14
movq %rsi, %rdi
callq 0x257b9
movq (%r14), %rsi
testq %rsi, %rsi
jle 0x14ba0
movq 0x8(%r14), %rdx
testq %rdx, %rdx
jle 0x14ba0
movq %rbx, %rdi
movq %r15, %rcx
callq 0x256d1
movq (%r14), %rax
testq %rax, %rax
jle 0x14ba0
movq 0x8(%r14), %rcx
xorl %edx, %edx
testq %rcx, %rcx
jle 0x14b98
xorl %esi, %esi
movq 0x38(%r14), %rdi
movq (%rdi,%rdx,8), %rdi
movsd (%rdi,%rsi,8), %xmm0
movq 0x38(%rbx), %rdi
movq (%rdi,%rdx,8), %rdi
movsd %xmm0, (%rdi,%rsi,8)
incq %rsi
cmpq %rsi, %rcx
jne 0x14b76
incq %rdx
cmpq %rax, %rdx
jne 0x14b6f
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/mouda[P]LTE_random_access-simulate/alglibinternal.cpp
// Function: alglib_impl::_apbuffers_init(alglib_impl::apbuffers*, alglib_impl::ae_state*, bool)
ae_bool _apbuffers_init(apbuffers* p, ae_state *_state, ae_bool make_automatic)
{
    if( !ae_vector_init(&p->ia0, 0, DT_INT, _state, make_automatic) )
        return ae_false;
    if( !ae_vector_init(&p->ia1, 0, DT_INT, _state, make_automatic) )
        return ae_false;
    if( !ae_vector_init(&p->ia2, 0, DT_INT, _state, make_automatic) )
        return ae_false;
    if( !ae_vector_init(&p->ia3, 0, DT_INT, _state, make_automatic) )
        return ae_false;
    if( !ae_vector_init(&p->ra0, 0, DT_REAL, _state, make_automatic) )
        return ae_false;
    if( !ae_vector_init(&p->ra1, 0, DT_REAL, _state, make_automatic) )
        return ae_false;
    if( !ae_vector_init(&p->ra2, 0, DT_REAL, _state, make_automatic) )
        return ae_false;
    if( !ae_vector_init(&p->ra3, 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
movl $0x2, %edx
xorl %esi, %esi
movq %rbx, %rcx
movl %ebp, %r8d
callq 0x251ec
testb %al, %al
je 0x14d0e
leaq 0x30(%r14), %rdi
movzbl %bpl, %ebp
movl $0x2, %edx
xorl %esi, %esi
movq %rbx, %rcx
movl %ebp, %r8d
callq 0x251ec
testb %al, %al
je 0x14d0e
leaq 0x60(%r14), %rdi
movl $0x2, %edx
xorl %esi, %esi
movq %rbx, %rcx
movl %ebp, %r8d
callq 0x251ec
testb %al, %al
je 0x14d0e
leaq 0x90(%r14), %rdi
movl $0x2, %edx
xorl %esi, %esi
movq %rbx, %rcx
movl %ebp, %r8d
callq 0x251ec
testb %al, %al
je 0x14d0e
leaq 0xc0(%r14), %rdi
movl $0x3, %edx
xorl %esi, %esi
movq %rbx, %rcx
movl %ebp, %r8d
callq 0x251ec
testb %al, %al
je 0x14d0e
leaq 0xf0(%r14), %rdi
movl $0x3, %edx
xorl %esi, %esi
movq %rbx, %rcx
movl %ebp, %r8d
callq 0x251ec
testb %al, %al
je 0x14d0e
leaq 0x120(%r14), %rdi
movl $0x3, %edx
xorl %esi, %esi
movq %rbx, %rcx
movl %ebp, %r8d
callq 0x251ec
testb %al, %al
je 0x14d0e
addq $0x150, %r14            # imm = 0x150
movl $0x3, %edx
movq %r14, %rdi
xorl %esi, %esi
movq %rbx, %rcx
movl %ebp, %r8d
popq %rbx
popq %r14
popq %rbp
jmp 0x251ec
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/mouda[P]LTE_random_access-simulate/alglibinternal.cpp
// Function: alglib_impl::_apbuffers_init_copy(alglib_impl::apbuffers*, alglib_impl::apbuffers*, alglib_impl::ae_state*, bool)
ae_bool _apbuffers_init_copy(apbuffers* dst, apbuffers* src, ae_state *_state, ae_bool make_automatic)
{
    if( !ae_vector_init_copy(&dst->ia0, &src->ia0, _state, make_automatic) )
        return ae_false;
    if( !ae_vector_init_copy(&dst->ia1, &src->ia1, _state, make_automatic) )
        return ae_false;
    if( !ae_vector_init_copy(&dst->ia2, &src->ia2, _state, make_automatic) )
        return ae_false;
    if( !ae_vector_init_copy(&dst->ia3, &src->ia3, _state, make_automatic) )
        return ae_false;
    if( !ae_vector_init_copy(&dst->ra0, &src->ra0, _state, make_automatic) )
        return ae_false;
    if( !ae_vector_init_copy(&dst->ra1, &src->ra1, _state, make_automatic) )
        return ae_false;
    if( !ae_vector_init_copy(&dst->ra2, &src->ra2, _state, make_automatic) )
        return ae_false;
    if( !ae_vector_init_copy(&dst->ra3, &src->ra3, _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 0x25262
testb %al, %al
je 0x14df9
leaq 0x30(%r15), %rdi
leaq 0x30(%r14), %rsi
movzbl %bpl, %ebp
movq %rbx, %rdx
movl %ebp, %ecx
callq 0x25262
testb %al, %al
je 0x14df9
leaq 0x60(%r15), %rdi
leaq 0x60(%r14), %rsi
movq %rbx, %rdx
movl %ebp, %ecx
callq 0x25262
testb %al, %al
je 0x14df9
movl $0x90, %esi
leaq (%r15,%rsi), %rdi
addq %r14, %rsi
movq %rbx, %rdx
movl %ebp, %ecx
callq 0x25262
testb %al, %al
je 0x14df9
movl $0xc0, %esi
leaq (%r15,%rsi), %rdi
addq %r14, %rsi
movq %rbx, %rdx
movl %ebp, %ecx
callq 0x25262
testb %al, %al
je 0x14df9
movl $0xf0, %esi
leaq (%r15,%rsi), %rdi
addq %r14, %rsi
movq %rbx, %rdx
movl %ebp, %ecx
callq 0x25262
testb %al, %al
je 0x14df9
movl $0x120, %esi            # imm = 0x120
leaq (%r15,%rsi), %rdi
addq %r14, %rsi
movq %rbx, %rdx
movl %ebp, %ecx
callq 0x25262
testb %al, %al
je 0x14df9
movl $0x150, %eax            # imm = 0x150
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 0x25262
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/mouda[P]LTE_random_access-simulate/alglibinternal.cpp
// Function: alglib_impl::_apbuffers_clear(alglib_impl::apbuffers*)
void _apbuffers_clear(apbuffers* p)
{
    ae_vector_clear(&p->ia0);
    ae_vector_clear(&p->ia1);
    ae_vector_clear(&p->ia2);
    ae_vector_clear(&p->ia3);
    ae_vector_clear(&p->ra0);
    ae_vector_clear(&p->ra1);
    ae_vector_clear(&p->ra2);
    ae_vector_clear(&p->ra3);
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
callq 0x253a5
leaq 0x30(%rbx), %rdi
callq 0x253a5
leaq 0x60(%rbx), %rdi
callq 0x253a5
leaq 0x90(%rbx), %rdi
callq 0x253a5
leaq 0xc0(%rbx), %rdi
callq 0x253a5
leaq 0xf0(%rbx), %rdi
callq 0x253a5
leaq 0x120(%rbx), %rdi
callq 0x253a5
addq $0x150, %rbx            # imm = 0x150
movq %rbx, %rdi
popq %rbx
jmp 0x253a5
// File: /workspace/github_cpp_makefile_star2_O3/mouda[P]LTE_random_access-simulate/alglibinternal.cpp
// Function: alglib_impl::tagsort(alglib_impl::ae_vector*, long, alglib_impl::ae_vector*, alglib_impl::ae_vector*, alglib_impl::ae_state*)
void tagsort(/* Real    */ ae_vector* a,
     ae_int_t n,
     /* Integer */ ae_vector* p1,
     /* Integer */ ae_vector* p2,
     ae_state *_state)
{
    ae_frame _frame_block;
    apbuffers buf;

    ae_frame_make(_state, &_frame_block);
    ae_vector_clear(p1);
    ae_vector_clear(p2);
    _apbuffers_init(&buf, _state, ae_true);

    tagsortbuf(a, n, p1, p2, &buf, _state);
    ae_frame_leave(_state);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x198, %rsp            # imm = 0x198
movq %r8, %rbx
movq %rcx, %r14
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %r13
movq %rsp, %rsi
movq %r8, %rdi
callq 0x25055
movq %r15, %rdi
callq 0x253a5
movq %r14, %rdi
callq 0x253a5
leaq 0x18(%rsp), %rbp
movq %rbp, %rdi
movq %rbx, %rsi
movl $0x1, %edx
callq 0x14c14
movq %r13, %rdi
movq %r12, %rsi
movq %r15, %rdx
movq %r14, %rcx
movq %rbp, %r8
movq %rbx, %r9
callq 0x14ee2
movq %rbx, %rdi
callq 0x24ff2
addq $0x198, %rsp            # imm = 0x198
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/mouda[P]LTE_random_access-simulate/alglibinternal.cpp
// Function: alglib_impl::tagsortfast(alglib_impl::ae_vector*, alglib_impl::ae_vector*, long, alglib_impl::ae_state*)
void tagsortfast(/* Real    */ ae_vector* a,
     /* Real    */ ae_vector* bufa,
     ae_int_t n,
     ae_state *_state)
{
    ae_int_t i;
    ae_int_t j;
    ae_bool isascending;
    ae_bool isdescending;
    double tmpr;


    
    /*
     * Special case
     */
    if( n<=1 )
    {
        return;
    }
    
    /*
     * Test for already sorted set
     */
    isascending = ae_true;
    isdescending = ae_true;
    for(i=1; i<=n-1; i++)
    {
        isascending = isascending&&a->ptr.p_double[i]>=a->ptr.p_double[i-1];
        isdescending = isdescending&&a->ptr.p_double[i]<=a->ptr.p_double[i-1];
    }
    if( isascending )
    {
        return;
    }
    if( isdescending )
    {
        for(i=0; i<=n-1; i++)
        {
            j = n-1-i;
            if( j<=i )
            {
                break;
            }
            tmpr = a->ptr.p_double[i];
            a->ptr.p_double[i] = a->ptr.p_double[j];
            a->ptr.p_double[j] = tmpr;
        }
        return;
    }
    
    /*
     * General case
     */
    if( bufa->cnt<n )
    {
        ae_vector_set_length(bufa, n, _state);
    }
    tsort_tagsortfastrec(a, bufa, 0, n-1, _state);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
cmpq $0x2, %rdx
jl 0x15837
movq %rsi, %r14
movq %rdi, %rbx
movb $0x1, %al
movl $0x1, %esi
movb $0x1, %dil
testb $0x1, %dil
je 0x1580e
movq 0x28(%rbx), %rdi
movsd (%rdi,%rsi,8), %xmm0
ucomisd -0x8(%rdi,%rsi,8), %xmm0
setae %dil
jmp 0x15810
xorl %edi, %edi
testb $0x1, %al
je 0x15828
movq 0x28(%rbx), %rax
movsd -0x8(%rax,%rsi,8), %xmm0
ucomisd (%rax,%rsi,8), %xmm0
setae %al
jmp 0x1582a
xorl %eax, %eax
incq %rsi
cmpq %rsi, %rdx
jne 0x157f3
testb %dil, %dil
je 0x1583d
popq %rbx
popq %r14
popq %r15
retq
leaq -0x1(%rdx), %r15
testb %al, %al
je 0x15875
xorl %eax, %eax
cmpq %rax, %r15
jle 0x15837
movq 0x28(%rbx), %rcx
movsd (%rcx,%rax,8), %xmm0
movsd (%rcx,%r15,8), %xmm1
movsd %xmm1, (%rcx,%rax,8)
movq 0x28(%rbx), %rcx
movsd %xmm0, (%rcx,%r15,8)
incq %rax
addq $-0x1, %r15
jb 0x15847
jmp 0x15837
cmpq %rdx, (%r14)
jge 0x15888
movq %r14, %rdi
movq %rdx, %rsi
movq %rcx, %rdx
callq 0x25326
movq %rbx, %rdi
movq %r14, %rsi
xorl %edx, %edx
movq %r15, %rcx
popq %rbx
popq %r14
popq %r15
jmp 0x1589a
// File: /workspace/github_cpp_makefile_star2_O3/mouda[P]LTE_random_access-simulate/alglibinternal.cpp
// Function: alglib_impl::vectornorm2(alglib_impl::ae_vector*, long, long, alglib_impl::ae_state*)
double vectornorm2(/* Real    */ ae_vector* x,
     ae_int_t i1,
     ae_int_t i2,
     ae_state *_state)
{
    ae_int_t n;
    ae_int_t ix;
    double absxi;
    double scl;
    double ssq;
    double result;


    n = i2-i1+1;
    if( n<1 )
    {
        result = 0;
        return result;
    }
    if( n==1 )
    {
        result = ae_fabs(x->ptr.p_double[i1], _state);
        return result;
    }
    scl = 0;
    ssq = 1;
    for(ix=i1; ix<=i2; ix++)
    {
        if( ae_fp_neq(x->ptr.p_double[ix],0) )
        {
            absxi = ae_fabs(x->ptr.p_double[ix], _state);
            if( ae_fp_less(scl,absxi) )
            {
                ssq = 1+ssq*ae_sqr(scl/absxi, _state);
                scl = absxi;
            }
            else
            {
                ssq = ssq+ae_sqr(absxi/scl, _state);
            }
        }
    }
    result = scl*ae_sqrt(ssq, _state);
    return result;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x18, %rsp
xorpd %xmm0, %xmm0
cmpq %rsi, %rdx
jl 0x1616a
movq %rcx, %rbx
movq %rdx, %r14
movq %rdi, %r15
jne 0x1608b
movq 0x28(%r15), %rax
movsd (%rax,%r14,8), %xmm0
movq %rbx, %rdi
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x25e30
movq %rsi, %r12
incq %r14
movsd %xmm0, 0x8(%rsp)
movsd 0x1d141(%rip), %xmm0    # 0x331e0
movsd %xmm0, (%rsp)
movq 0x28(%r15), %rax
movsd (%rax,%r12,8), %xmm0
xorpd %xmm1, %xmm1
callq 0x25b97
testb %al, %al
je 0x16143
movq 0x28(%r15), %rax
movsd (%rax,%r12,8), %xmm0
movq %rbx, %rdi
callq 0x25e30
movaps %xmm0, %xmm1
movsd 0x8(%rsp), %xmm0
movsd %xmm1, 0x10(%rsp)
callq 0x25bb9
testb %al, %al
je 0x16121
movsd 0x8(%rsp), %xmm0
divsd 0x10(%rsp), %xmm0
movq %rbx, %rdi
callq 0x25e43
movsd (%rsp), %xmm1
mulsd %xmm0, %xmm1
addsd 0x1d0d2(%rip), %xmm1    # 0x331e0
movsd %xmm1, (%rsp)
movsd 0x10(%rsp), %xmm0
movsd %xmm0, 0x8(%rsp)
jmp 0x16143
movsd 0x10(%rsp), %xmm0
divsd 0x8(%rsp), %xmm0
movq %rbx, %rdi
callq 0x25e43
movsd (%rsp), %xmm1
addsd %xmm0, %xmm1
movsd %xmm1, (%rsp)
incq %r12
cmpq %r12, %r14
jne 0x160a4
movsd (%rsp), %xmm0
movq %rbx, %rdi
callq 0x25e48
movsd 0x8(%rsp), %xmm1
mulsd %xmm0, %xmm1
movapd %xmm1, %xmm0
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/mouda[P]LTE_random_access-simulate/alglibinternal.cpp
// Function: alglib_impl::vectoridxabsmax(alglib_impl::ae_vector*, long, long, alglib_impl::ae_state*)
ae_int_t vectoridxabsmax(/* Real    */ ae_vector* x,
     ae_int_t i1,
     ae_int_t i2,
     ae_state *_state)
{
    ae_int_t i;
    double a;
    ae_int_t result;


    result = i1;
    a = ae_fabs(x->ptr.p_double[result], _state);
    for(i=i1+1; i<=i2; i++)
    {
        if( ae_fp_greater(ae_fabs(x->ptr.p_double[i], _state),ae_fabs(x->ptr.p_double[result], _state)) )
        {
            result = i;
        }
    }
    return result;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rcx, %rbx
movq %rdx, %r14
movq %rsi, %r12
movq %rdi, %r15
movq 0x28(%rdi), %rax
movsd (%rax,%rsi,8), %xmm0
movq %rcx, %rdi
callq 0x25e30
cmpq %r14, %r12
jge 0x16206
negq %r14
leaq 0x1(%r12), %r13
movq 0x28(%r15), %rax
movsd (%rax,%r13,8), %xmm0
movq %rbx, %rdi
callq 0x25e30
movsd %xmm0, 0x8(%rsp)
movq 0x28(%r15), %rax
movsd (%rax,%r12,8), %xmm0
movq %rbx, %rdi
callq 0x25e30
movaps %xmm0, %xmm1
movsd 0x8(%rsp), %xmm0
callq 0x25bf9
movl %eax, %ecx
movq %r13, %rax
testb %cl, %cl
jne 0x161f1
movq %r12, %rax
leaq (%r14,%r13), %rcx
incq %rcx
incq %r13
movq %rax, %r12
cmpq $0x1, %rcx
jne 0x161ad
jmp 0x16209
movq %r12, %rax
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/mouda[P]LTE_random_access-simulate/alglibinternal.cpp
// Function: alglib_impl::columnidxabsmax(alglib_impl::ae_matrix*, long, long, long, alglib_impl::ae_state*)
ae_int_t columnidxabsmax(/* Real    */ ae_matrix* x,
     ae_int_t i1,
     ae_int_t i2,
     ae_int_t j,
     ae_state *_state)
{
    ae_int_t i;
    double a;
    ae_int_t result;


    result = i1;
    a = ae_fabs(x->ptr.pp_double[result][j], _state);
    for(i=i1+1; i<=i2; i++)
    {
        if( ae_fp_greater(ae_fabs(x->ptr.pp_double[i][j], _state),ae_fabs(x->ptr.pp_double[result][j], _state)) )
        {
            result = i;
        }
    }
    return result;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r8, %rbx
movq %rcx, %r14
movq %rdx, %r15
movq %rsi, %r13
movq %rdi, %r12
movq 0x38(%rdi), %rax
movq (%rax,%rsi,8), %rax
movsd (%rax,%rcx,8), %xmm0
movq %r8, %rdi
callq 0x25e30
cmpq %r15, %r13
jge 0x162b3
negq %r15
leaq 0x1(%r13), %rbp
movq 0x38(%r12), %rax
movq (%rax,%rbp,8), %rax
movsd (%rax,%r14,8), %xmm0
movq %rbx, %rdi
callq 0x25e30
movsd %xmm0, (%rsp)
movq 0x38(%r12), %rax
movq (%rax,%r13,8), %rax
movsd (%rax,%r14,8), %xmm0
movq %rbx, %rdi
callq 0x25e30
movaps %xmm0, %xmm1
movsd (%rsp), %xmm0
callq 0x25bf9
movl %eax, %ecx
movq %rbp, %rax
testb %cl, %cl
jne 0x1629e
movq %r13, %rax
leaq (%r15,%rbp), %rcx
incq %rcx
incq %rbp
movq %rax, %r13
cmpq $0x1, %rcx
jne 0x16252
jmp 0x162b6
movq %r13, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/mouda[P]LTE_random_access-simulate/alglibinternal.cpp
// Function: alglib_impl::rowidxabsmax(alglib_impl::ae_matrix*, long, long, long, alglib_impl::ae_state*)
ae_int_t rowidxabsmax(/* Real    */ ae_matrix* x,
     ae_int_t j1,
     ae_int_t j2,
     ae_int_t i,
     ae_state *_state)
{
    ae_int_t j;
    double a;
    ae_int_t result;


    result = j1;
    a = ae_fabs(x->ptr.pp_double[i][result], _state);
    for(j=j1+1; j<=j2; j++)
    {
        if( ae_fp_greater(ae_fabs(x->ptr.pp_double[i][j], _state),ae_fabs(x->ptr.pp_double[i][result], _state)) )
        {
            result = j;
        }
    }
    return result;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r8, %rbx
movq %rcx, %r14
movq %rdx, %r15
movq %rsi, %r13
movq %rdi, %r12
movq 0x38(%rdi), %rax
movq (%rax,%rcx,8), %rax
movsd (%rax,%rsi,8), %xmm0
movq %r8, %rdi
callq 0x25e30
cmpq %r15, %r13
jge 0x16360
negq %r15
leaq 0x1(%r13), %rbp
movq 0x38(%r12), %rax
movq (%rax,%r14,8), %rax
movsd (%rax,%rbp,8), %xmm0
movq %rbx, %rdi
callq 0x25e30
movsd %xmm0, (%rsp)
movq 0x38(%r12), %rax
movq (%rax,%r14,8), %rax
movsd (%rax,%r13,8), %xmm0
movq %rbx, %rdi
callq 0x25e30
movaps %xmm0, %xmm1
movsd (%rsp), %xmm0
callq 0x25bf9
movl %eax, %ecx
movq %rbp, %rax
testb %cl, %cl
jne 0x1634b
movq %r13, %rax
leaq (%r15,%rbp), %rcx
incq %rcx
incq %rbp
movq %rax, %r13
cmpq $0x1, %rcx
jne 0x16300
jmp 0x16363
movq %r13, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/mouda[P]LTE_random_access-simulate/alglibinternal.cpp
// Function: alglib_impl::upperhessenberg1norm(alglib_impl::ae_matrix*, long, long, long, long, alglib_impl::ae_vector*, alglib_impl::ae_state*)
double upperhessenberg1norm(/* Real    */ ae_matrix* a,
     ae_int_t i1,
     ae_int_t i2,
     ae_int_t j1,
     ae_int_t j2,
     /* Real    */ ae_vector* work,
     ae_state *_state)
{
    ae_int_t i;
    ae_int_t j;
    double result;


    ae_assert(i2-i1==j2-j1, "UpperHessenberg1Norm: I2-I1<>J2-J1!", _state);
    for(j=j1; j<=j2; j++)
    {
        work->ptr.p_double[j] = 0;
    }
    for(i=i1; i<=i2; i++)
    {
        for(j=ae_maxint(j1, j1+i-i1-1, _state); j<=j2; j++)
        {
            work->ptr.p_double[j] = work->ptr.p_double[j]+ae_fabs(a->ptr.pp_double[i][j], _state);
        }
    }
    result = 0;
    for(j=j1; j<=j2; j++)
    {
        result = ae_maxreal(result, work->ptr.p_double[j], _state);
    }
    return result;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %r9, %rbx
movq %r8, %r14
movq %rcx, %r15
movq %rdx, %rax
movq %rsi, %r13
movq %rdi, %rbp
movq 0x60(%rsp), %rdx
movq %rax, 0x10(%rsp)
subq %rsi, %rax
movq %r8, %rcx
subq %r15, %rcx
xorl %edi, %edi
cmpq %rcx, %rax
sete %dil
leaq 0x1fb1d(%rip), %rsi     # 0x35ed2
callq 0x2510e
cmpq %r15, %r14
jl 0x163da
leaq 0x1(%r14), %rax
movq %r15, %rcx
movq 0x28(%rbx), %rdx
movq $0x0, (%rdx,%rcx,8)
incq %rcx
cmpq %rcx, %rax
jne 0x163c6
movq %r15, (%rsp)
movq %r14, 0x8(%rsp)
cmpq %r13, 0x10(%rsp)
jl 0x16476
movq %r13, %rax
notq %rax
addq (%rsp), %rax
movq %rax, 0x18(%rsp)
movq 0x8(%rsp), %rax
leaq 0x1(%rax), %r12
movq 0x18(%rsp), %rax
leaq (%rax,%r13), %rsi
movq (%rsp), %rdi
movq 0x60(%rsp), %r15
movq %r15, %rdx
callq 0x25ec6
cmpq 0x8(%rsp), %rax
jg 0x16468
movq %rax, %r14
movq 0x28(%rbx), %rax
movsd (%rax,%r14,8), %xmm0
movsd %xmm0, 0x20(%rsp)
movq 0x38(%rbp), %rax
movq (%rax,%r13,8), %rax
movsd (%rax,%r14,8), %xmm0
movq %r15, %rdi
callq 0x25e30
addsd 0x20(%rsp), %xmm0
movq 0x28(%rbx), %rax
movsd %xmm0, (%rax,%r14,8)
incq %r14
cmpq %r14, %r12
jne 0x1642a
leaq 0x1(%r13), %rax
cmpq 0x10(%rsp), %r13
movq %rax, %r13
jne 0x16406
xorpd %xmm0, %xmm0
movq 0x8(%rsp), %r14
movq (%rsp), %r12
cmpq %r12, %r14
movq 0x60(%rsp), %r15
jl 0x164aa
incq %r14
movq 0x28(%rbx), %rax
movsd (%rax,%r12,8), %xmm1
movq %r15, %rdi
callq 0x25edc
incq %r12
cmpq %r12, %r14
jne 0x16490
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/mouda[P]LTE_random_access-simulate/alglibinternal.cpp
// Function: alglib_impl::copymatrix(alglib_impl::ae_matrix*, long, long, long, long, alglib_impl::ae_matrix*, long, long, long, long, alglib_impl::ae_state*)
void copymatrix(/* Real    */ ae_matrix* a,
     ae_int_t is1,
     ae_int_t is2,
     ae_int_t js1,
     ae_int_t js2,
     /* Real    */ ae_matrix* b,
     ae_int_t id1,
     ae_int_t id2,
     ae_int_t jd1,
     ae_int_t jd2,
     ae_state *_state)
{
    ae_int_t isrc;
    ae_int_t idst;


    if( is1>is2||js1>js2 )
    {
        return;
    }
    ae_assert(is2-is1==id2-id1, "CopyMatrix: different sizes!", _state);
    ae_assert(js2-js1==jd2-jd1, "CopyMatrix: different sizes!", _state);
    for(isrc=is1; isrc<=is2; isrc++)
    {
        idst = isrc-is1+id1;
        ae_v_move(&b->ptr.pp_double[idst][jd1], 1, &a->ptr.pp_double[isrc][js1], 1, ae_v_len(jd1,jd2));
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rsi, %r12
movq %rdx, (%rsp)
movq %rdx, %rax
subq %rsi, %rax
setl %sil
movq %rcx, 0x8(%rsp)
subq %rcx, %r8
setl %dl
orb %sil, %dl
jne 0x165b3
movq %r9, %rbx
movq %rdi, %r15
movq 0x70(%rsp), %rdx
movq 0x60(%rsp), %rbp
movq 0x58(%rsp), %rcx
movq 0x50(%rsp), %r13
subq %r13, %rcx
xorl %edi, %edi
cmpq %rcx, %rax
sete %dil
leaq 0x1f9dd(%rip), %rsi     # 0x35ef6
movq %r8, %r14
callq 0x2510e
movq 0x68(%rsp), %rax
subq %rbp, %rax
xorl %edi, %edi
cmpq %rax, %r14
sete %dil
leaq 0x1f9bd(%rip), %rsi     # 0x35ef6
movq 0x70(%rsp), %rdx
callq 0x2510e
incq (%rsp)
leaq (,%rbp,8), %rax
movq %rax, 0x10(%rsp)
shlq $0x3, 0x8(%rsp)
movq 0x38(%rbx), %rax
movq (%rax,%r13,8), %rbp
addq 0x10(%rsp), %rbp
movq 0x38(%r15), %rax
movq %r15, %r14
movq %rbx, %r15
movq (%rax,%r12,8), %rbx
addq 0x8(%rsp), %rbx
movq 0x60(%rsp), %rdi
movq 0x68(%rsp), %rsi
callq 0x2897c
movl $0x1, %esi
movl $0x1, %ecx
movq %rbp, %rdi
movq %rbx, %rdx
movq %r15, %rbx
movq %r14, %r15
movq %rax, %r8
callq 0x2860a
incq %r12
incq %r13
cmpq %r12, (%rsp)
jne 0x1655a
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/mouda[P]LTE_random_access-simulate/alglibinternal.cpp
// Function: alglib_impl::inplacetranspose(alglib_impl::ae_matrix*, long, long, long, long, alglib_impl::ae_vector*, alglib_impl::ae_state*)
void inplacetranspose(/* Real    */ ae_matrix* a,
     ae_int_t i1,
     ae_int_t i2,
     ae_int_t j1,
     ae_int_t j2,
     /* Real    */ ae_vector* work,
     ae_state *_state)
{
    ae_int_t i;
    ae_int_t j;
    ae_int_t ips;
    ae_int_t jps;
    ae_int_t l;


    if( i1>i2||j1>j2 )
    {
        return;
    }
    ae_assert(i1-i2==j1-j2, "InplaceTranspose error: incorrect array size!", _state);
    for(i=i1; i<=i2-1; i++)
    {
        j = j1+i-i1;
        ips = i+1;
        jps = j1+ips-i1;
        l = i2-i;
        ae_v_move(&work->ptr.p_double[1], 1, &a->ptr.pp_double[ips][j], a->stride, ae_v_len(1,l));
        ae_v_move(&a->ptr.pp_double[ips][j], a->stride, &a->ptr.pp_double[i][jps], 1, ae_v_len(ips,i2));
        ae_v_move(&a->ptr.pp_double[i][jps], 1, &work->ptr.p_double[1], 1, ae_v_len(jps,j2));
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %r9, 0x30(%rsp)
movq %rsi, %rbx
movq %rsi, %rax
movq %rdx, 0x10(%rsp)
subq %rdx, %rax
setg %dl
movq %rcx, %r9
movq %r8, 0x40(%rsp)
subq %r8, %r9
setg %sil
orb %dl, %sil
jne 0x16780
movq %rdi, %rbp
movq 0x80(%rsp), %rdx
xorl %edi, %edi
cmpq %r9, %rax
sete %dil
leaq 0x1f8fa(%rip), %rsi     # 0x35f13
movq %rcx, %r12
callq 0x2510e
cmpq 0x10(%rsp), %rbx
jge 0x16780
leaq (,%rbx,8), %rax
movq %rax, 0x20(%rsp)
movq 0x10(%rsp), %rax
subq %rbx, %rax
leaq 0x1(%r12), %rcx
movq %rcx, 0x18(%rsp)
shlq $0x3, %r12
incq %rbx
movq %rbx, 0x28(%rsp)
xorl %r13d, %r13d
movq %rax, 0x38(%rsp)
movq 0x30(%rsp), %rax
movq 0x28(%rax), %rbx
addq $0x8, %rbx
movq 0x38(%rbp), %rax
movq 0x20(%rsp), %r14
addq %r14, %rax
movq 0x8(%r13,%rax), %r15
addq %r12, %r15
addq %r13, %r15
movq 0x10(%rbp), %rax
movq %rax, 0x8(%rsp)
movl $0x1, %edi
movq 0x38(%rsp), %rsi
callq 0x2897c
movl $0x1, %esi
movq %rbx, %rdi
movq %r15, %rdx
movq 0x8(%rsp), %rcx
movq %rax, %r8
callq 0x2860a
movq 0x38(%rbp), %rax
addq %r14, %rax
movq 0x8(%r13,%rax), %rbx
addq %r12, %rbx
addq %r13, %rbx
movq 0x10(%rbp), %rcx
movq %rcx, 0x8(%rsp)
movq (%r13,%rax), %rax
addq %r12, %rax
leaq (%rax,%r13), %r15
addq $0x8, %r15
movq 0x28(%rsp), %r14
movq %r14, %rdi
movq 0x10(%rsp), %rsi
callq 0x2897c
movl $0x1, %ecx
movq %rbx, %rdi
movq 0x8(%rsp), %rsi
movq %r15, %rdx
movq %rax, %r8
callq 0x2860a
movq 0x38(%rbp), %rax
addq 0x20(%rsp), %rax
movq (%r13,%rax), %rax
addq %r12, %rax
addq %r13, %rax
addq $0x8, %rax
movq %rax, 0x8(%rsp)
movq 0x30(%rsp), %rax
movq 0x28(%rax), %r15
addq $0x8, %r15
movq 0x18(%rsp), %rbx
movq %rbx, %rdi
movq 0x40(%rsp), %rsi
callq 0x2897c
movl $0x1, %esi
movl $0x1, %ecx
movq 0x8(%rsp), %rdi
movq %r15, %rdx
movq %rax, %r8
callq 0x2860a
movq 0x38(%rsp), %rax
addq $0x8, %r13
incq %rbx
movq %rbx, 0x18(%rsp)
incq %r14
movq %r14, 0x28(%rsp)
decq %rax
jne 0x1665a
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/mouda[P]LTE_random_access-simulate/alglibinternal.cpp
// Function: alglib_impl::copyandtranspose(alglib_impl::ae_matrix*, long, long, long, long, alglib_impl::ae_matrix*, long, long, long, long, alglib_impl::ae_state*)
void copyandtranspose(/* Real    */ ae_matrix* a,
     ae_int_t is1,
     ae_int_t is2,
     ae_int_t js1,
     ae_int_t js2,
     /* Real    */ ae_matrix* b,
     ae_int_t id1,
     ae_int_t id2,
     ae_int_t jd1,
     ae_int_t jd2,
     ae_state *_state)
{
    ae_int_t isrc;
    ae_int_t jdst;


    if( is1>is2||js1>js2 )
    {
        return;
    }
    ae_assert(is2-is1==jd2-jd1, "CopyAndTranspose: different sizes!", _state);
    ae_assert(js2-js1==id2-id1, "CopyAndTranspose: different sizes!", _state);
    for(isrc=is1; isrc<=is2; isrc++)
    {
        jdst = isrc-is1+jd1;
        ae_v_move(&b->ptr.pp_double[id1][jdst], b->stride, &a->ptr.pp_double[isrc][js1], 1, ae_v_len(id1,id2));
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %r8, %r13
movq %rsi, %r12
movq %rdx, (%rsp)
movq %rdx, %rax
subq %rsi, %rax
setl %sil
movq %rcx, 0x8(%rsp)
subq %rcx, %r13
setl %dl
orb %sil, %dl
jne 0x16888
movq %r9, %rbx
movq %rdi, %r15
movq 0x70(%rsp), %rdx
movq 0x68(%rsp), %rcx
movq 0x60(%rsp), %rbp
movq 0x58(%rsp), %r14
subq %rbp, %rcx
xorl %edi, %edi
cmpq %rcx, %rax
sete %dil
leaq 0x1f74f(%rip), %rsi     # 0x35f41
callq 0x2510e
movq %r14, %rax
subq 0x50(%rsp), %rax
xorl %edi, %edi
cmpq %rax, %r13
sete %dil
leaq 0x1f732(%rip), %rsi     # 0x35f41
movq 0x70(%rsp), %rdx
callq 0x2510e
incq (%rsp)
shlq $0x3, %rbp
shlq $0x3, 0x8(%rsp)
movq 0x10(%rbx), %rax
movq %rax, 0x10(%rsp)
movq 0x38(%rbx), %rax
movq 0x50(%rsp), %rdi
movq (%rax,%rdi,8), %r14
addq %rbp, %r14
movq 0x38(%r15), %rax
movq %rbx, %r13
movq %r15, %rbx
movq (%rax,%r12,8), %r15
addq 0x8(%rsp), %r15
movq 0x58(%rsp), %rsi
callq 0x2897c
movl $0x1, %ecx
movq %r14, %rdi
movq 0x10(%rsp), %rsi
movq %r15, %rdx
movq %rbx, %r15
movq %r13, %rbx
movq %rax, %r8
callq 0x2860a
incq %r12
addq $0x8, %rbp
cmpq %r12, (%rsp)
jne 0x16827
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/mouda[P]LTE_random_access-simulate/alglibinternal.cpp
// Function: alglib_impl::applyreflectionfromtheleft(alglib_impl::ae_matrix*, double, alglib_impl::ae_vector*, long, long, long, long, alglib_impl::ae_vector*, alglib_impl::ae_state*)
void applyreflectionfromtheleft(/* Real    */ ae_matrix* c,
     double tau,
     /* Real    */ ae_vector* v,
     ae_int_t m1,
     ae_int_t m2,
     ae_int_t n1,
     ae_int_t n2,
     /* Real    */ ae_vector* work,
     ae_state *_state)
{
    double t;
    ae_int_t i;
    ae_int_t vm;


    if( (ae_fp_eq(tau,0)||n1>n2)||m1>m2 )
    {
        return;
    }
    
    /*
     * w := C' * v
     */
    vm = m2-m1+1;
    for(i=n1; i<=n2; i++)
    {
        work->ptr.p_double[i] = 0;
    }
    for(i=m1; i<=m2; i++)
    {
        t = v->ptr.p_double[i+1-m1];
        ae_v_addd(&work->ptr.p_double[n1], 1, &c->ptr.pp_double[i][n1], 1, ae_v_len(n1,n2), t);
    }
    
    /*
     * C := C - tau * v * w'
     */
    for(i=m1; i<=m2; i++)
    {
        t = v->ptr.p_double[i-m1+1]*tau;
        ae_v_subd(&c->ptr.pp_double[i][n1], 1, &work->ptr.p_double[n1], 1, ae_v_len(n1,n2), t);
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %r9, %rbx
movq %r8, %r14
movq %rcx, %r13
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %rbp
xorps %xmm1, %xmm1
movsd %xmm0, 0x30(%rsp)
callq 0x25b75
cmpq %r13, %r15
jg 0x18428
movq %r14, %rdi
movq %rbx, %rsi
cmpq %rbx, %r14
jg 0x18428
testb %al, %al
jne 0x18428
movq %r15, %r8
movq 0x70(%rsp), %r9
leaq 0x1(%rsi), %rax
movq %rdi, %rcx
movq 0x28(%r9), %rdx
movq $0x0, (%rdx,%rcx,8)
incq %rcx
cmpq %rcx, %rax
jne 0x182f3
subq %r8, %r13
incq %r13
shlq $0x3, %r8
xorl %r14d, %r14d
leaq (,%rdi,8), %rcx
movq %r12, %rax
movq %rbp, %rdx
movq %r13, 0x28(%rsp)
movq %r8, 0x20(%rsp)
movq %rcx, 0x18(%rsp)
movq %rbp, 0x10(%rsp)
movq %rax, %rbp
movq 0x28(%rax), %rax
movsd 0x8(%rax,%r14,8), %xmm0
movsd %xmm0, 0x8(%rsp)
movq 0x28(%r9), %r13
addq %rcx, %r13
movq 0x38(%rdx), %rax
addq %r8, %rax
movq (%rax,%r14,8), %rbx
addq %rcx, %rbx
movq %rdi, %r15
movq %rsi, %r12
callq 0x2897c
movl $0x1, %esi
movl $0x1, %ecx
movq %r13, %rdi
movq 0x28(%rsp), %r13
movq %rbx, %rdx
movq %rax, %r8
movsd 0x8(%rsp), %xmm0
callq 0x28815
movq 0x10(%rsp), %rdx
movq %rbp, %rax
movq 0x18(%rsp), %rcx
movq 0x70(%rsp), %r9
movq 0x20(%rsp), %r8
movq %r15, %rdi
movq %r12, %rsi
incq %r14
cmpq %r14, %r13
jne 0x18336
xorl %r14d, %r14d
movq 0x28(%rbp), %rax
movsd 0x8(%rax,%r14,8), %xmm0
mulsd 0x30(%rsp), %xmm0
movsd %xmm0, 0x8(%rsp)
movq 0x38(%rdx), %rax
addq %r8, %rax
movq (%rax,%r14,8), %rbx
addq %rcx, %rbx
movq 0x28(%r9), %r13
addq %rcx, %r13
movq %r15, %rdi
movq %r12, %rsi
callq 0x2897c
movl $0x1, %esi
movl $0x1, %ecx
movq %rbx, %rdi
movq %r13, %rdx
movq %rax, %r8
movsd 0x8(%rsp), %xmm0
callq 0x2892d
movq 0x10(%rsp), %rdx
movq 0x18(%rsp), %rcx
movq 0x70(%rsp), %r9
movq 0x20(%rsp), %r8
incq %r14
cmpq %r14, 0x28(%rsp)
jne 0x183b5
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/mouda[P]LTE_random_access-simulate/alglibinternal.cpp
// Function: alglib_impl::applyreflectionfromtheright(alglib_impl::ae_matrix*, double, alglib_impl::ae_vector*, long, long, long, long, alglib_impl::ae_vector*, alglib_impl::ae_state*)
void applyreflectionfromtheright(/* Real    */ ae_matrix* c,
     double tau,
     /* Real    */ ae_vector* v,
     ae_int_t m1,
     ae_int_t m2,
     ae_int_t n1,
     ae_int_t n2,
     /* Real    */ ae_vector* work,
     ae_state *_state)
{
    double t;
    ae_int_t i;
    ae_int_t vm;


    if( (ae_fp_eq(tau,0)||n1>n2)||m1>m2 )
    {
        return;
    }
    vm = n2-n1+1;
    for(i=m1; i<=m2; i++)
    {
        t = ae_v_dotproduct(&c->ptr.pp_double[i][n1], 1, &v->ptr.p_double[1], 1, ae_v_len(n1,n2));
        t = t*tau;
        ae_v_subd(&c->ptr.pp_double[i][n1], 1, &v->ptr.p_double[1], 1, ae_v_len(n1,n2), t);
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %r9, %rbx
movq %r8, %rbp
movq %rcx, %r15
movq %rdx, %r12
movq %rsi, 0x28(%rsp)
movq %rdi, %r13
xorps %xmm1, %xmm1
movsd %xmm0, 0x20(%rsp)
callq 0x25b75
cmpq %r15, %r12
jg 0x18540
movq %rbx, %r14
cmpq %rbx, %rbp
jg 0x18540
testb %al, %al
jne 0x18540
incq %r15
leaq (,%rbp,8), %rax
movq %rax, 0x8(%rsp)
movq %r15, 0x18(%rsp)
movq %r13, 0x10(%rsp)
movq 0x38(%r13), %rax
movq (%rax,%r12,8), %r15
addq 0x8(%rsp), %r15
movq 0x28(%rsp), %r13
movq 0x28(%r13), %rbx
addq $0x8, %rbx
movq %rbp, %rdi
movq %r14, %rsi
callq 0x2897c
movl $0x1, %esi
movl $0x1, %ecx
movq %r15, %rdi
movq %rbx, %rdx
movq %rax, %r8
callq 0x28519
mulsd 0x20(%rsp), %xmm0
movsd %xmm0, 0x30(%rsp)
movq 0x10(%rsp), %rax
movq 0x38(%rax), %rax
movq (%rax,%r12,8), %rbx
addq 0x8(%rsp), %rbx
movq 0x28(%r13), %r15
movq 0x10(%rsp), %r13
addq $0x8, %r15
movq %rbp, %rdi
movq %r14, %rsi
callq 0x2897c
movl $0x1, %esi
movl $0x1, %ecx
movq %rbx, %rdi
movq %r15, %rdx
movq 0x18(%rsp), %r15
movq %rax, %r8
movsd 0x30(%rsp), %xmm0
callq 0x2892d
incq %r12
cmpq %r12, %r15
jne 0x1849e
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/mouda[P]LTE_random_access-simulate/alglibinternal.cpp
// Function: alglib_impl::upperhessenbergschurdecomposition(alglib_impl::ae_matrix*, long, alglib_impl::ae_matrix*, alglib_impl::ae_state*)
ae_bool upperhessenbergschurdecomposition(/* Real    */ ae_matrix* h,
     ae_int_t n,
     /* Real    */ ae_matrix* s,
     ae_state *_state)
{
    ae_frame _frame_block;
    ae_vector wi;
    ae_vector wr;
    ae_int_t info;
    ae_bool result;

    ae_frame_make(_state, &_frame_block);
    ae_matrix_clear(s);
    ae_vector_init(&wi, 0, DT_REAL, _state, ae_true);
    ae_vector_init(&wr, 0, DT_REAL, _state, ae_true);

    internalschurdecomposition(h, n, 1, 2, &wr, &wi, s, &info, _state);
    result = info==0;
    ae_frame_leave(_state);
    return result;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq %rcx, %rbx
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %r12
leaq 0x40(%rsp), %rsi
movq %rcx, %rdi
callq 0x25055
movq %r14, %rdi
callq 0x257b9
leaq 0x10(%rsp), %rdi
movl $0x3, %edx
xorl %esi, %esi
movq %rbx, %rcx
movl $0x1, %r8d
callq 0x251ec
leaq 0x58(%rsp), %rbp
movl $0x3, %edx
movq %rbp, %rdi
xorl %esi, %esi
movq %rbx, %rcx
movl $0x1, %r8d
callq 0x251ec
subq $0x8, %rsp
leaq 0x10(%rsp), %r13
movl $0x1, %edx
movl $0x2, %ecx
movq %r12, %rdi
movq %r15, %rsi
movq %rbp, %r8
leaq 0x18(%rsp), %r9
pushq %rbx
pushq %r13
pushq %r14
callq 0x1a37b
addq $0x20, %rsp
cmpq $0x0, (%r13)
sete %bpl
movq %rbx, %rdi
callq 0x24ff2
movl %ebp, %eax
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/mouda[P]LTE_random_access-simulate/alglibinternal.cpp
// Function: alglib_impl::safesolve_cbasicsolveandupdate(alglib_impl::ae_complex, alglib_impl::ae_complex, double, double, double, double*, alglib_impl::ae_complex*, alglib_impl::ae_state*)
static ae_bool safesolve_cbasicsolveandupdate(ae_complex alpha,
     ae_complex beta,
     double lnmax,
     double bnorm,
     double maxgrowth,
     double* xnorm,
     ae_complex* x,
     ae_state *_state)
{
    double v;
    ae_bool result;

    x->x = 0;
    x->y = 0;

    result = ae_false;
    if( ae_c_eq_d(alpha,0) )
    {
        return result;
    }
    if( ae_c_neq_d(beta,0) )
    {
        
        /*
         * alpha*x[i]=beta
         */
        v = ae_log(ae_c_abs(beta, _state), _state)-ae_log(ae_c_abs(alpha, _state), _state);
        if( ae_fp_greater(v,lnmax) )
        {
            return result;
        }
        *x = ae_c_div(beta,alpha);
    }
    else
    {
        
        /*
         * alpha*x[i]=0
         */
        *x = ae_complex_from_d(0);
    }
    
    /*
     * update NrmX, test growth limit
     */
    *xnorm = ae_maxreal(*xnorm, ae_c_abs(*x, _state), _state);
    if( ae_fp_greater(*xnorm,maxgrowth*bnorm) )
    {
        return result;
    }
    result = ae_true;
    return result;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x40, %rsp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
movsd %xmm6, 0x30(%rsp)
movsd %xmm5, 0x38(%rsp)
movsd %xmm4, 0x28(%rsp)
movsd %xmm3, (%rsp)
movsd %xmm2, 0x8(%rsp)
xorps %xmm2, %xmm2
movups %xmm2, (%rsi)
xorps %xmm2, %xmm2
movsd %xmm0, 0x10(%rsp)
movsd %xmm1, 0x18(%rsp)
callq 0x2789e
testb %al, %al
je 0x1eb15
xorl %eax, %eax
jmp 0x1ebef
xorps %xmm2, %xmm2
movsd 0x8(%rsp), %xmm0
movsd (%rsp), %xmm1
callq 0x278e2
testb %al, %al
je 0x1eba4
movsd 0x8(%rsp), %xmm0
movsd (%rsp), %xmm1
movq %r14, %rdi
callq 0x276fb
movq %r14, %rdi
callq 0x25f91
movsd %xmm0, 0x20(%rsp)
movsd 0x10(%rsp), %xmm0
movsd 0x18(%rsp), %xmm1
movq %r14, %rdi
callq 0x276fb
movq %r14, %rdi
callq 0x25f91
movsd 0x20(%rsp), %xmm1
subsd %xmm0, %xmm1
movapd %xmm1, %xmm0
movsd 0x28(%rsp), %xmm1
callq 0x25bf9
testb %al, %al
jne 0x1eb0e
movsd 0x8(%rsp), %xmm0
movsd (%rsp), %xmm1
movsd 0x10(%rsp), %xmm2
movsd 0x18(%rsp), %xmm3
callq 0x2780d
jmp 0x1ebac
xorps %xmm0, %xmm0
callq 0x276c0
movsd %xmm0, (%r15)
movsd %xmm1, 0x8(%r15)
movsd (%rbx), %xmm2
movsd %xmm2, (%rsp)
movq %r14, %rdi
callq 0x276fb
movaps %xmm0, %xmm1
movsd (%rsp), %xmm0
movq %r14, %rdi
callq 0x25edc
movsd %xmm0, (%rbx)
movsd 0x38(%rsp), %xmm1
mulsd 0x30(%rsp), %xmm1
callq 0x25bf9
xorb $0x1, %al
addq $0x40, %rsp
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/mouda[P]LTE_random_access-simulate/alglibinternal.cpp
// Function: alglib_impl::xdot(alglib_impl::ae_vector*, alglib_impl::ae_vector*, long, alglib_impl::ae_vector*, double*, double*, alglib_impl::ae_state*)
void xdot(/* Real    */ ae_vector* a,
     /* Real    */ ae_vector* b,
     ae_int_t n,
     /* Real    */ ae_vector* temp,
     double* r,
     double* rerr,
     ae_state *_state)
{
    ae_int_t i;
    double mx;
    double v;

    *r = 0;
    *rerr = 0;

    
    /*
     * special cases:
     * * N=0
     */
    if( n==0 )
    {
        *r = 0;
        *rerr = 0;
        return;
    }
    mx = 0;
    for(i=0; i<=n-1; i++)
    {
        v = a->ptr.p_double[i]*b->ptr.p_double[i];
        temp->ptr.p_double[i] = v;
        mx = ae_maxreal(mx, ae_fabs(v, _state), _state);
    }
    if( ae_fp_eq(mx,0) )
    {
        *r = 0;
        *rerr = 0;
        return;
    }
    xblas_xsum(temp, mx, n, r, rerr, _state);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq 0x50(%rsp), %r12
xorl %eax, %eax
movq %rax, (%r8)
movq %rax, (%r9)
testq %rdx, %rdx
je 0x1f762
movq %rcx, %r13
movq %rdx, %r15
movq %r9, 0x10(%rsp)
movq %r8, 0x8(%rsp)
jle 0x1f76c
movq %rsi, %rbp
movq %rdi, %rbx
xorps %xmm0, %xmm0
xorl %r14d, %r14d
movsd %xmm0, (%rsp)
movq 0x28(%rbx), %rax
movsd (%rax,%r14,8), %xmm0
movq 0x28(%rbp), %rax
mulsd (%rax,%r14,8), %xmm0
movq 0x28(%r13), %rax
movsd %xmm0, (%rax,%r14,8)
movq %r12, %rdi
callq 0x25e30
movapd %xmm0, %xmm1
movsd (%rsp), %xmm0
movq %r12, %rdi
callq 0x25edc
incq %r14
cmpq %r14, %r15
jne 0x1f71c
jmp 0x1f76f
xorl %eax, %eax
movq %rax, (%r8)
movq %rax, (%r9)
jmp 0x1f793
xorps %xmm0, %xmm0
xorpd %xmm1, %xmm1
movsd %xmm0, (%rsp)
callq 0x25b75
testb %al, %al
je 0x1f7a2
xorl %eax, %eax
movq 0x8(%rsp), %rcx
movq %rax, (%rcx)
movq 0x10(%rsp), %rcx
movq %rax, (%rcx)
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %r13, %rdi
movsd (%rsp), %xmm0
movq %r15, %rsi
movq 0x8(%rsp), %rdx
movq 0x10(%rsp), %rcx
movq %r12, %r8
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x1f7ca
// File: /workspace/github_cpp_makefile_star2_O3/mouda[P]LTE_random_access-simulate/alglibinternal.cpp
// Function: alglib_impl::linminnormalized(alglib_impl::ae_vector*, double*, long, alglib_impl::ae_state*)
void linminnormalized(/* Real    */ ae_vector* d,
     double* stp,
     ae_int_t n,
     ae_state *_state)
{
    double mx;
    double s;
    ae_int_t i;


    
    /*
     * first, scale D to avoid underflow/overflow durng squaring
     */
    mx = 0;
    for(i=0; i<=n-1; i++)
    {
        mx = ae_maxreal(mx, ae_fabs(d->ptr.p_double[i], _state), _state);
    }
    if( ae_fp_eq(mx,0) )
    {
        return;
    }
    s = 1/mx;
    ae_v_muld(&d->ptr.p_double[0], 1, ae_v_len(0,n-1), s);
    *stp = *stp/s;
    
    /*
     * normalize D
     */
    s = ae_v_dotproduct(&d->ptr.p_double[0], 1, &d->ptr.p_double[0], 1, ae_v_len(0,n-1));
    s = 1/ae_sqrt(s, _state);
    ae_v_muld(&d->ptr.p_double[0], 1, ae_v_len(0,n-1), s);
    *stp = *stp/s;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rcx, %r12
movq %rdx, %r14
movq %rsi, %rbx
movq %rdi, %r15
xorpd %xmm0, %xmm0
testq %rdx, %rdx
jle 0x1feea
xorl %r13d, %r13d
movsd %xmm0, (%rsp)
movq 0x28(%r15), %rax
movsd (%rax,%r13,8), %xmm0
movq %r12, %rdi
callq 0x25e30
movapd %xmm0, %xmm1
movsd (%rsp), %xmm0
movq %r12, %rdi
callq 0x25edc
incq %r13
cmpq %r13, %r14
jne 0x1feba
xorpd %xmm1, %xmm1
movsd %xmm0, (%rsp)
callq 0x25b75
testb %al, %al
jne 0x1ffbb
decq %r14
movsd 0x132d5(%rip), %xmm0    # 0x331e0
movsd %xmm0, 0x8(%rsp)
divsd (%rsp), %xmm0
movsd %xmm0, (%rsp)
movq 0x28(%r15), %r13
xorl %edi, %edi
movq %r14, %rsi
callq 0x2897c
movl $0x1, %esi
movq %r13, %rdi
movq %rax, %rdx
movsd (%rsp), %xmm0
callq 0x28939
movsd (%rbx), %xmm0
divsd (%rsp), %xmm0
movsd %xmm0, (%rbx)
movq 0x28(%r15), %r13
xorl %edi, %edi
movq %r14, %rsi
callq 0x2897c
movl $0x1, %esi
movl $0x1, %ecx
movq %r13, %rdi
movq %r13, %rdx
movq %rax, %r8
callq 0x28519
movq %r12, %rdi
callq 0x25e48
movsd 0x8(%rsp), %xmm1
divsd %xmm0, %xmm1
movsd %xmm1, 0x8(%rsp)
movq 0x28(%r15), %r15
xorl %edi, %edi
movq %r14, %rsi
callq 0x2897c
movl $0x1, %esi
movq %r15, %rdi
movq %rax, %rdx
movsd 0x8(%rsp), %xmm0
callq 0x28939
movsd (%rbx), %xmm0
divsd 0x8(%rsp), %xmm0
movsd %xmm0, (%rbx)
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O3/mouda[P]LTE_random_access-simulate/alglibinternal.cpp
// Function: alglib_impl::armijocreate(long, alglib_impl::ae_vector*, double, alglib_impl::ae_vector*, double, double, long, alglib_impl::armijostate*, alglib_impl::ae_state*)
void armijocreate(ae_int_t n,
     /* Real    */ ae_vector* x,
     double f,
     /* Real    */ ae_vector* s,
     double stp,
     double stpmax,
     ae_int_t fmax,
     armijostate* state,
     ae_state *_state)
{


    if( state->x.cnt<n )
    {
        ae_vector_set_length(&state->x, n, _state);
    }
    if( state->xbase.cnt<n )
    {
        ae_vector_set_length(&state->xbase, n, _state);
    }
    if( state->s.cnt<n )
    {
        ae_vector_set_length(&state->s, n, _state);
    }
    state->stpmax = stpmax;
    state->fmax = fmax;
    state->stplen = stp;
    state->fcur = f;
    state->n = n;
    ae_v_move(&state->xbase.ptr.p_double[0], 1, &x->ptr.p_double[0], 1, ae_v_len(0,n-1));
    ae_v_move(&state->s.ptr.p_double[0], 1, &s->ptr.p_double[0], 1, ae_v_len(0,n-1));
    ae_vector_set_length(&state->rstate.ia, 0+1, _state);
    ae_vector_set_length(&state->rstate.ra, 0+1, _state);
    state->rstate.stage = -1;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %r9, %r14
movq %r8, %rbx
movq %rcx, %rbp
movsd %xmm2, (%rsp)
movsd %xmm1, 0x10(%rsp)
movq %rdx, %r15
movsd %xmm0, 0x8(%rsp)
movq %rsi, %r13
movq %rdi, %r12
cmpq %rdi, 0x8(%r8)
jge 0x2150e
leaq 0x8(%rbx), %rdi
movq %r12, %rsi
movq %r14, %rdx
callq 0x25326
cmpq %r12, 0x48(%rbx)
jge 0x21523
leaq 0x48(%rbx), %rdi
movq %r12, %rsi
movq %r14, %rdx
callq 0x25326
cmpq %r12, 0x78(%rbx)
jge 0x21538
leaq 0x78(%rbx), %rdi
movq %r12, %rsi
movq %r14, %rdx
callq 0x25326
movsd (%rsp), %xmm0
movsd %xmm0, 0xb8(%rbx)
movq %rbp, 0xc0(%rbx)
movsd 0x10(%rsp), %xmm0
movsd %xmm0, 0xa8(%rbx)
movsd 0x8(%rsp), %xmm0
movsd %xmm0, 0xb0(%rbx)
movq %r12, 0x40(%rbx)
movq 0x70(%rbx), %rbp
movq 0x28(%r13), %r13
decq %r12
xorl %edi, %edi
movq %r12, %rsi
callq 0x2897c
movl $0x1, %esi
movl $0x1, %ecx
movq %rbp, %rdi
movq %r13, %rdx
movq %rax, %r8
callq 0x2860a
movq 0xa0(%rbx), %r13
movq 0x28(%r15), %r15
xorl %edi, %edi
movq %r12, %rsi
callq 0x2897c
movl $0x1, %esi
movl $0x1, %ecx
movq %r13, %rdi
movq %r15, %rdx
movq %rax, %r8
callq 0x2860a
leaq 0xe0(%rbx), %rdi
movl $0x1, %esi
movq %r14, %rdx
callq 0x25326
leaq 0x140(%rbx), %rdi
movl $0x1, %esi
movq %r14, %rdx
callq 0x25326
movl $0xffffffff, 0xd8(%rbx) # imm = 0xFFFFFFFF
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/mouda[P]LTE_random_access-simulate/alglibinternal.cpp
// Function: alglib_impl::_armijostate_init(alglib_impl::armijostate*, alglib_impl::ae_state*, bool)
ae_bool _armijostate_init(armijostate* p, ae_state *_state, ae_bool make_automatic)
{
    if( !ae_vector_init(&p->x, 0, DT_REAL, _state, make_automatic) )
        return ae_false;
    if( !ae_vector_init(&p->xbase, 0, DT_REAL, _state, make_automatic) )
        return ae_false;
    if( !ae_vector_init(&p->s, 0, DT_REAL, _state, make_automatic) )
        return ae_false;
    if( !_rcommstate_init(&p->rstate, _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
addq $0x8, %rdi
movl $0x3, %edx
xorl %esi, %esi
movq %rbx, %rcx
movl %ebp, %r8d
callq 0x251ec
testb %al, %al
je 0x21ac4
leaq 0x48(%r14), %rdi
movzbl %bpl, %ebp
movl $0x3, %edx
xorl %esi, %esi
movq %rbx, %rcx
movl %ebp, %r8d
callq 0x251ec
testb %al, %al
je 0x21ac4
leaq 0x78(%r14), %rdi
movl $0x3, %edx
xorl %esi, %esi
movq %rbx, %rcx
movl %ebp, %r8d
callq 0x251ec
testb %al, %al
je 0x21ac4
addq $0xd8, %r14
movq %r14, %rdi
movq %rbx, %rsi
movl %ebp, %edx
popq %rbx
popq %r14
popq %rbp
jmp 0x28984
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O3/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 0x253a5
leaq 0x48(%rbx), %rdi
callq 0x253a5
leaq 0x78(%rbx), %rdi
callq 0x253a5
addq $0xd8, %rbx
movq %rbx, %rdi
popq %rbx
jmp 0x28b00
// File: /workspace/github_cpp_makefile_star2_O3/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 0x25c15
testb %al, %al
je 0x21c52
movsd 0x8(%rsp), %xmm0
movsd %xmm0, (%r15)
testq %rbx, %rbx
jle 0x21c52
xorl %eax, %eax
movq 0x28(%r14), %rcx
movq $0x0, (%rcx,%rax,8)
incq %rax
cmpq %rax, %rbx
jne 0x21c3e
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq