// File: /workspace/github_cpp_makefile_star2_O1/mouda[P]LTE_random_access-simulate/specialfunctions.cpp
// Function: alglib_impl::incompletebeta(double, double, double, alglib_impl::ae_state*)
double incompletebeta(double a, double b, double x, ae_state *_state)
{
    double t;
    double xc;
    double w;
    double y;
    ae_int_t flag;
    double sg;
    double big;
    double biginv;
    double maxgam;
    double minlog;
    double maxlog;
    double result;


    big = 4.503599627370496e15;
    biginv = 2.22044604925031308085e-16;
    maxgam = 171.624376956302725;
    minlog = ae_log(ae_minrealnumber, _state);
    maxlog = ae_log(ae_maxrealnumber, _state);
    ae_assert(ae_fp_greater(a,0)&&ae_fp_greater(b,0), "Domain error in IncompleteBeta", _state);
    ae_assert(ae_fp_greater_eq(x,0)&&ae_fp_less_eq(x,1), "Domain error in IncompleteBeta", _state);
    if( ae_fp_eq(x,0) )
    {
        result = 0;
        return result;
    }
    if( ae_fp_eq(x,1) )
    {
        result = 1;
        return result;
    }
    flag = 0;
    if( ae_fp_less_eq(b*x,1.0)&&ae_fp_less_eq(x,0.95) )
    {
        result = ibetaf_incompletebetaps(a, b, x, maxgam, _state);
        return result;
    }
    w = 1.0-x;
    if( ae_fp_greater(x,a/(a+b)) )
    {
        flag = 1;
        t = a;
        a = b;
        b = t;
        xc = x;
        x = w;
    }
    else
    {
        xc = w;
    }
    if( (flag==1&&ae_fp_less_eq(b*x,1.0))&&ae_fp_less_eq(x,0.95) )
    {
        t = ibetaf_incompletebetaps(a, b, x, maxgam, _state);
        if( ae_fp_less_eq(t,ae_machineepsilon) )
        {
            result = 1.0-ae_machineepsilon;
        }
        else
        {
            result = 1.0-t;
        }
        return result;
    }
    y = x*(a+b-2.0)-(a-1.0);
    if( ae_fp_less(y,0.0) )
    {
        w = ibetaf_incompletebetafe(a, b, x, big, biginv, _state);
    }
    else
    {
        w = ibetaf_incompletebetafe2(a, b, x, big, biginv, _state)/xc;
    }
    y = a*ae_log(x, _state);
    t = b*ae_log(xc, _state);
    if( (ae_fp_less(a+b,maxgam)&&ae_fp_less(ae_fabs(y, _state),maxlog))&&ae_fp_less(ae_fabs(t, _state),maxlog) )
    {
        t = ae_pow(xc, b, _state);
        t = t*ae_pow(x, a, _state);
        t = t/a;
        t = t*w;
        t = t*(gammafunction(a+b, _state)/(gammafunction(a, _state)*gammafunction(b, _state)));
        if( flag==1 )
        {
            if( ae_fp_less_eq(t,ae_machineepsilon) )
            {
                result = 1.0-ae_machineepsilon;
            }
            else
            {
                result = 1.0-t;
            }
        }
        else
        {
            result = t;
        }
        return result;
    }
    y = y+t+lngamma(a+b, &sg, _state)-lngamma(a, &sg, _state)-lngamma(b, &sg, _state);
    y = y+ae_log(w/a, _state);
    if( ae_fp_less(y,minlog) )
    {
        t = 0.0;
    }
    else
    {
        t = ae_exp(y, _state);
    }
    if( flag==1 )
    {
        if( ae_fp_less_eq(t,ae_machineepsilon) )
        {
            t = 1.0-ae_machineepsilon;
        }
        else
        {
            t = 1.0-t;
        }
    }
    result = t;
    return result;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x110, %rsp            # imm = 0x110
movq %rdi, %rbx
movapd %xmm2, 0x10(%rsp)
movsd %xmm1, 0x40(%rsp)
movsd %xmm0, 0x8(%rsp)
movsd 0x2ae6c(%rip), %xmm0    # 0x35478
callq 0x266d6
movsd %xmm0, 0xe8(%rsp)
movsd 0x2a016(%rip), %xmm0    # 0x34638
movq %rbx, %rdi
callq 0x266d6
movsd %xmm0, 0xc8(%rsp)
xorpd %xmm1, %xmm1
movsd 0x8(%rsp), %xmm0
callq 0x2633e
testb %al, %al
je 0xa657
xorpd %xmm1, %xmm1
movsd 0x40(%rsp), %xmm0
callq 0x2633e
jmp 0xa659
xorl %eax, %eax
movzbl %al, %edi
leaq 0x2bf80(%rip), %rsi     # 0x365e3
movq %rbx, %rdx
callq 0x2581c
xorps %xmm0, %xmm0
movsd %xmm0, (%rsp)
xorpd %xmm1, %xmm1
movaps 0x10(%rsp), %xmm0
callq 0x2635a
testb %al, %al
je 0xa699
movsd 0x29b13(%rip), %xmm1    # 0x341a0
movaps 0x10(%rsp), %xmm0
callq 0x2631e
jmp 0xa69b
xorl %eax, %eax
movzbl %al, %edi
leaq 0x2bf3e(%rip), %rsi     # 0x365e3
movq %rbx, %rdx
callq 0x2581c
xorpd %xmm1, %xmm1
movapd 0x10(%rsp), %xmm0
callq 0x262ba
testb %al, %al
jne 0xb210
movsd 0x29ad4(%rip), %xmm1    # 0x341a0
movapd 0x10(%rsp), %xmm0
movsd %xmm1, (%rsp)
callq 0x262ba
testb %al, %al
jne 0xb210
movsd 0x40(%rsp), %xmm0
mulsd 0x10(%rsp), %xmm0
movsd 0x29aa8(%rip), %xmm1    # 0x341a0
callq 0x2631e
testb %al, %al
je 0xa73c
movsd 0x2ad77(%rip), %xmm1    # 0x35480
movapd 0x10(%rsp), %xmm0
callq 0x2631e
testb %al, %al
je 0xa73c
movsd 0x8(%rsp), %xmm0
movsd 0x40(%rsp), %xmm1
movaps 0x10(%rsp), %xmm2
movq %rbx, %rdi
addq $0x110, %rsp            # imm = 0x110
popq %rbx
popq %r14
popq %rbp
jmp 0x135b2
movsd 0x29a5c(%rip), %xmm1    # 0x341a0
movapd 0x10(%rsp), %xmm0
subsd %xmm0, %xmm1
movsd %xmm1, (%rsp)
movsd 0x8(%rsp), %xmm1
movapd %xmm1, %xmm2
addsd 0x40(%rsp), %xmm2
movsd %xmm2, 0x90(%rsp)
divsd %xmm2, %xmm1
callq 0x2633e
movl %eax, %ebp
testb %al, %al
jne 0xa7a3
movsd (%rsp), %xmm0
movsd %xmm0, 0xb0(%rsp)
movsd 0x40(%rsp), %xmm0
movsd %xmm0, 0x38(%rsp)
movsd 0x8(%rsp), %xmm3
movapd 0x10(%rsp), %xmm2
jmp 0xa7c8
movaps 0x10(%rsp), %xmm0
movsd %xmm0, 0xb0(%rsp)
movsd (%rsp), %xmm2
movsd 0x8(%rsp), %xmm0
movsd %xmm0, 0x38(%rsp)
movsd 0x40(%rsp), %xmm3
movapd %xmm2, 0x10(%rsp)
movsd %xmm3, 0x30(%rsp)
je 0xa864
movsd 0x38(%rsp), %xmm0
mulsd %xmm2, %xmm0
movsd 0x299b4(%rip), %xmm1    # 0x341a0
movsd %xmm1, (%rsp)
callq 0x2631e
movsd 0x30(%rsp), %xmm3
movapd 0x10(%rsp), %xmm2
testb %al, %al
je 0xa864
movsd 0x2ac72(%rip), %xmm1    # 0x35480
movapd %xmm2, %xmm0
callq 0x2631e
movsd 0x30(%rsp), %xmm3
movapd 0x10(%rsp), %xmm2
testb %al, %al
je 0xa864
movapd %xmm3, %xmm0
movsd 0x38(%rsp), %xmm1
movq %rbx, %rdi
callq 0x135b2
movsd 0x2a0df(%rip), %xmm1    # 0x34920
movsd %xmm0, 0x10(%rsp)
callq 0x2631e
testb %al, %al
jne 0xb1f4
movsd (%rsp), %xmm0
subsd 0x10(%rsp), %xmm0
jmp 0xb20b
movsd 0x29b84(%rip), %xmm0    # 0x343f0
addsd 0x90(%rsp), %xmm0
movsd 0x29953(%rip), %xmm1    # 0x341d0
addsd %xmm3, %xmm1
mulsd %xmm2, %xmm0
subsd %xmm1, %xmm0
xorpd %xmm1, %xmm1
movsd %xmm1, (%rsp)
callq 0x262fe
testb %al, %al
je 0xac1e
movsd 0x8(%rsp), %xmm1
addsd 0x40(%rsp), %xmm1
movsd 0x298ed(%rip), %xmm0    # 0x341a0
movsd 0x30(%rsp), %xmm11
movapd %xmm11, %xmm3
addsd %xmm0, %xmm3
movapd 0x29915(%rip), %xmm2    # 0x341e0
movapd 0x10(%rsp), %xmm14
xorpd %xmm14, %xmm2
movapd %xmm2, 0xd0(%rsp)
xorpd %xmm4, %xmm4
movl $0x12c, %r14d           # imm = 0x12C
movsd 0x29aee(%rip), %xmm5    # 0x343e0
movapd %xmm0, %xmm13
movapd %xmm0, %xmm2
movapd %xmm11, %xmm6
movapd %xmm11, %xmm7
movapd %xmm0, %xmm8
movsd 0x38(%rsp), %xmm9
movapd %xmm3, %xmm10
movsd %xmm0, 0x50(%rsp)
movsd %xmm0, 0x28(%rsp)
movapd %xmm0, %xmm12
movapd %xmm14, %xmm0
addsd 0x2989b(%rip), %xmm9    # 0x341d0
addsd %xmm5, %xmm11
movsd %xmm6, 0xa0(%rsp)
mulsd 0xd0(%rsp), %xmm6
movsd %xmm1, 0x8(%rsp)
mulsd %xmm1, %xmm6
movsd %xmm7, 0x98(%rsp)
movapd %xmm7, %xmm1
movsd %xmm3, 0xa8(%rsp)
mulsd %xmm3, %xmm1
divsd %xmm1, %xmm6
mulsd %xmm6, %xmm4
mulsd %xmm2, %xmm6
movsd %xmm8, 0x78(%rsp)
mulsd %xmm8, %xmm0
movsd %xmm9, 0x70(%rsp)
mulsd %xmm9, %xmm0
movsd %xmm10, 0xc0(%rsp)
movapd %xmm10, %xmm1
movsd %xmm11, 0xb8(%rsp)
mulsd %xmm11, %xmm1
divsd %xmm1, %xmm0
addsd %xmm12, %xmm4
addsd %xmm13, %xmm6
mulsd %xmm0, %xmm12
mulsd %xmm13, %xmm0
movsd %xmm4, 0x60(%rsp)
addsd %xmm4, %xmm12
movsd %xmm12, (%rsp)
movsd %xmm6, 0x58(%rsp)
addsd %xmm6, %xmm0
xorpd %xmm1, %xmm1
movapd %xmm0, 0x40(%rsp)
callq 0x262dc
movsd (%rsp), %xmm0
testb %al, %al
jne 0xaa05
movsd 0x50(%rsp), %xmm0
jmp 0xaa0b
divsd 0x40(%rsp), %xmm0
xorpd %xmm1, %xmm1
movsd %xmm0, 0x50(%rsp)
callq 0x262dc
testb %al, %al
je 0xaa48
movsd 0x28(%rsp), %xmm0
movsd 0x50(%rsp), %xmm1
subsd %xmm1, %xmm0
divsd %xmm1, %xmm0
movq %rbx, %rdi
callq 0x26575
movsd 0x50(%rsp), %xmm1
movsd %xmm1, 0x28(%rsp)
jmp 0xaa50
movsd 0x29750(%rip), %xmm0    # 0x341a0
movsd 0x2aa30(%rip), %xmm1    # 0x35488
callq 0x262fe
testb %al, %al
jne 0xafe0
movaps 0x40(%rsp), %xmm0
movq %rbx, %rdi
callq 0x26575
movsd %xmm0, 0x80(%rsp)
movsd (%rsp), %xmm0
movq %rbx, %rdi
callq 0x26575
addsd 0x80(%rsp), %xmm0
movsd 0x29d4f(%rip), %xmm1    # 0x347e8
callq 0x2633e
testb %al, %al
je 0xaaf2
movsd 0x60(%rsp), %xmm0
movsd 0x29d40(%rip), %xmm2    # 0x347f0
mulsd %xmm2, %xmm0
movsd %xmm0, 0x60(%rsp)
movsd (%rsp), %xmm0
mulsd %xmm2, %xmm0
movsd %xmm0, 0x68(%rsp)
movsd 0x58(%rsp), %xmm0
mulsd %xmm2, %xmm0
movsd %xmm0, 0x58(%rsp)
movapd 0x40(%rsp), %xmm1
movapd %xmm1, %xmm0
mulsd %xmm2, %xmm0
movapd %xmm0, 0x80(%rsp)
jmp 0xab0c
movapd 0x40(%rsp), %xmm1
movapd %xmm1, 0x80(%rsp)
movsd (%rsp), %xmm0
movsd %xmm0, 0x68(%rsp)
movapd %xmm1, %xmm0
movq %rbx, %rdi
callq 0x26575
movsd 0x29cd0(%rip), %xmm1    # 0x347f0
callq 0x262fe
testb %al, %al
jne 0xab47
movsd (%rsp), %xmm0
movq %rbx, %rdi
callq 0x26575
movsd 0x29cb2(%rip), %xmm1    # 0x347f0
callq 0x262fe
testb %al, %al
je 0xab80
movsd 0x60(%rsp), %xmm4
movsd 0x29c93(%rip), %xmm0    # 0x347e8
mulsd %xmm0, %xmm4
movsd 0x68(%rsp), %xmm12
mulsd %xmm0, %xmm12
movsd 0x58(%rsp), %xmm2
mulsd %xmm0, %xmm2
movapd 0x80(%rsp), %xmm13
mulsd %xmm0, %xmm13
jmp 0xab9d
movsd 0x60(%rsp), %xmm4
movsd 0x58(%rsp), %xmm2
movapd 0x80(%rsp), %xmm13
movsd 0x68(%rsp), %xmm12
movsd 0x295fb(%rip), %xmm0    # 0x341a0
movsd 0xa0(%rsp), %xmm6
addsd %xmm0, %xmm6
movsd 0x8(%rsp), %xmm1
addsd %xmm0, %xmm1
movsd 0x2981c(%rip), %xmm5    # 0x343e0
movsd 0x98(%rsp), %xmm7
addsd %xmm5, %xmm7
movsd 0xa8(%rsp), %xmm3
addsd %xmm5, %xmm3
movsd 0x78(%rsp), %xmm8
addsd %xmm0, %xmm8
movsd 0xc0(%rsp), %xmm10
addsd %xmm5, %xmm10
decq %r14
movapd 0x10(%rsp), %xmm0
movsd 0x70(%rsp), %xmm9
movsd 0xb8(%rsp), %xmm11
jne 0xa92c
jmp 0xafe6
movsd 0x30(%rsp), %xmm4
movapd %xmm4, %xmm2
movsd 0x29570(%rip), %xmm1    # 0x341a0
addsd %xmm1, %xmm2
movapd %xmm1, %xmm0
movapd 0x10(%rsp), %xmm3
subsd %xmm3, %xmm0
divsd %xmm0, %xmm3
movapd 0x29592(%rip), %xmm0    # 0x341e0
movapd %xmm3, 0xd0(%rsp)
xorpd %xmm3, %xmm0
movapd %xmm0, 0xf0(%rsp)
movl $0x12c, %r14d           # imm = 0x12C
movapd %xmm1, %xmm5
movapd %xmm1, %xmm0
movsd %xmm4, 0x58(%rsp)
movsd 0x38(%rsp), %xmm3
movsd %xmm3, 0xc0(%rsp)
movsd %xmm4, 0x50(%rsp)
movsd %xmm1, 0xa8(%rsp)
movsd 0x90(%rsp), %xmm3
movsd %xmm3, 0xa0(%rsp)
movsd %xmm2, 0x60(%rsp)
movsd %xmm2, 0x98(%rsp)
movsd %xmm4, 0xb8(%rsp)
movsd %xmm1, 0x70(%rsp)
movsd %xmm1, 0x28(%rsp)
movapd %xmm1, %xmm4
movsd 0xc0(%rsp), %xmm1
addsd 0x294ef(%rip), %xmm1    # 0x341d0
movsd 0xb8(%rsp), %xmm2
addsd 0x296ee(%rip), %xmm2    # 0x343e0
movsd 0x58(%rsp), %xmm3
mulsd 0xf0(%rsp), %xmm3
movsd %xmm1, 0xc0(%rsp)
mulsd %xmm1, %xmm3
movsd 0x50(%rsp), %xmm1
mulsd 0x60(%rsp), %xmm1
divsd %xmm1, %xmm3
movsd (%rsp), %xmm1
mulsd %xmm3, %xmm1
mulsd %xmm0, %xmm3
movapd 0xd0(%rsp), %xmm0
mulsd 0xa8(%rsp), %xmm0
mulsd 0xa0(%rsp), %xmm0
movsd 0x98(%rsp), %xmm6
movsd %xmm2, 0xb8(%rsp)
mulsd %xmm2, %xmm6
divsd %xmm6, %xmm0
addsd %xmm4, %xmm1
addsd %xmm5, %xmm3
mulsd %xmm0, %xmm4
mulsd %xmm5, %xmm0
movsd %xmm1, (%rsp)
addsd %xmm1, %xmm4
movsd %xmm4, 0x8(%rsp)
movsd %xmm3, 0x78(%rsp)
addsd %xmm3, %xmm0
xorpd %xmm1, %xmm1
movapd %xmm0, 0x40(%rsp)
callq 0x262dc
movsd 0x8(%rsp), %xmm0
testb %al, %al
jne 0xadaa
movsd 0x70(%rsp), %xmm0
jmp 0xadb0
divsd 0x40(%rsp), %xmm0
xorpd %xmm1, %xmm1
movsd %xmm0, 0x70(%rsp)
callq 0x262dc
testb %al, %al
je 0xaded
movsd 0x28(%rsp), %xmm0
movsd 0x70(%rsp), %xmm1
subsd %xmm1, %xmm0
divsd %xmm1, %xmm0
movq %rbx, %rdi
callq 0x26575
movsd 0x70(%rsp), %xmm1
movsd %xmm1, 0x28(%rsp)
jmp 0xadf5
movsd 0x293ab(%rip), %xmm0    # 0x341a0
movsd 0x2a68b(%rip), %xmm1    # 0x35488
callq 0x262fe
testb %al, %al
jne 0xafcb
movaps 0x40(%rsp), %xmm0
movq %rbx, %rdi
callq 0x26575
movsd %xmm0, 0x80(%rsp)
movsd 0x8(%rsp), %xmm0
movq %rbx, %rdi
callq 0x26575
addsd 0x80(%rsp), %xmm0
movsd 0x299a9(%rip), %xmm1    # 0x347e8
callq 0x2633e
testb %al, %al
je 0xae97
movsd (%rsp), %xmm0
movsd 0x2999b(%rip), %xmm2    # 0x347f0
mulsd %xmm2, %xmm0
movsd %xmm0, (%rsp)
movsd 0x8(%rsp), %xmm0
mulsd %xmm2, %xmm0
movsd %xmm0, 0x68(%rsp)
movsd 0x78(%rsp), %xmm0
mulsd %xmm2, %xmm0
movsd %xmm0, 0x78(%rsp)
movapd 0x40(%rsp), %xmm1
movapd %xmm1, %xmm0
mulsd %xmm2, %xmm0
movapd %xmm0, 0x80(%rsp)
jmp 0xaeb2
movapd 0x40(%rsp), %xmm1
movapd %xmm1, 0x80(%rsp)
movsd 0x8(%rsp), %xmm0
movsd %xmm0, 0x68(%rsp)
movapd %xmm1, %xmm0
movq %rbx, %rdi
callq 0x26575
movsd 0x2992a(%rip), %xmm1    # 0x347f0
callq 0x262fe
testb %al, %al
jne 0xaeee
movsd 0x8(%rsp), %xmm0
movq %rbx, %rdi
callq 0x26575
movsd 0x2990b(%rip), %xmm1    # 0x347f0
callq 0x262fe
testb %al, %al
je 0xaf27
movsd (%rsp), %xmm0
movsd 0x298ed(%rip), %xmm1    # 0x347e8
mulsd %xmm1, %xmm0
movsd %xmm0, (%rsp)
movsd 0x68(%rsp), %xmm4
mulsd %xmm1, %xmm4
movsd 0x78(%rsp), %xmm3
mulsd %xmm1, %xmm3
movapd 0x80(%rsp), %xmm5
mulsd %xmm1, %xmm5
jmp 0xaf3c
movsd 0x78(%rsp), %xmm3
movapd 0x80(%rsp), %xmm5
movsd 0x68(%rsp), %xmm4
movsd 0x2925c(%rip), %xmm0    # 0x341a0
movsd 0x58(%rsp), %xmm1
addsd %xmm0, %xmm1
movsd %xmm1, 0x58(%rsp)
movsd 0x29484(%rip), %xmm2    # 0x343e0
movsd 0x50(%rsp), %xmm1
addsd %xmm2, %xmm1
movsd %xmm1, 0x50(%rsp)
movsd 0x60(%rsp), %xmm1
addsd %xmm2, %xmm1
movsd %xmm1, 0x60(%rsp)
movsd 0xa8(%rsp), %xmm1
addsd %xmm0, %xmm1
movsd %xmm1, 0xa8(%rsp)
movsd 0xa0(%rsp), %xmm1
addsd %xmm0, %xmm1
movsd %xmm1, 0xa0(%rsp)
movsd 0x98(%rsp), %xmm0
addsd %xmm2, %xmm0
movsd %xmm0, 0x98(%rsp)
movapd %xmm3, %xmm0
decq %r14
jne 0xacd0
movsd 0x28(%rsp), %xmm0
divsd 0xb0(%rsp), %xmm0
movsd %xmm0, 0x28(%rsp)
movapd 0x10(%rsp), %xmm0
movq %rbx, %rdi
callq 0x266d6
mulsd 0x30(%rsp), %xmm0
movsd %xmm0, (%rsp)
movsd 0xb0(%rsp), %xmm0
movq %rbx, %rdi
callq 0x266d6
mulsd 0x38(%rsp), %xmm0
movsd %xmm0, 0x8(%rsp)
movsd 0x2a452(%rip), %xmm1    # 0x35470
movsd 0x90(%rsp), %xmm0
callq 0x262fe
testb %al, %al
je 0xb11c
movsd (%rsp), %xmm0
movq %rbx, %rdi
callq 0x26575
movsd 0xc8(%rsp), %xmm1
callq 0x262fe
testb %al, %al
je 0xb11c
movsd 0x8(%rsp), %xmm0
movq %rbx, %rdi
callq 0x26575
movsd 0xc8(%rsp), %xmm1
callq 0x262fe
testb %al, %al
je 0xb11c
movsd 0xb0(%rsp), %xmm0
movsd 0x38(%rsp), %xmm1
movq %rbx, %rdi
callq 0x266db
movsd %xmm0, (%rsp)
movapd 0x10(%rsp), %xmm0
movsd 0x30(%rsp), %xmm1
movq %rbx, %rdi
callq 0x266db
mulsd (%rsp), %xmm0
divsd 0x30(%rsp), %xmm0
movsd 0x28(%rsp), %xmm1
mulsd %xmm0, %xmm1
movsd %xmm1, 0x28(%rsp)
movsd 0x90(%rsp), %xmm0
movq %rbx, %rdi
callq 0x4a30
movsd %xmm0, (%rsp)
movsd 0x30(%rsp), %xmm0
movq %rbx, %rdi
callq 0x4a30
movsd %xmm0, 0x10(%rsp)
movsd 0x38(%rsp), %xmm0
movq %rbx, %rdi
callq 0x4a30
mulsd 0x10(%rsp), %xmm0
movsd (%rsp), %xmm1
divsd %xmm0, %xmm1
movapd %xmm1, %xmm0
mulsd 0x28(%rsp), %xmm0
jmp 0xb1d9
movsd (%rsp), %xmm0
addsd 0x8(%rsp), %xmm0
movsd %xmm0, (%rsp)
leaq 0x108(%rsp), %r14
movsd 0x90(%rsp), %xmm0
movq %r14, %rdi
movq %rbx, %rsi
callq 0x4e78
addsd (%rsp), %xmm0
movsd %xmm0, 0x10(%rsp)
movsd 0x30(%rsp), %xmm0
movq %r14, %rdi
movq %rbx, %rsi
callq 0x4e78
movsd 0x10(%rsp), %xmm1
subsd %xmm0, %xmm1
movsd %xmm1, 0x10(%rsp)
movsd 0x38(%rsp), %xmm0
movq %r14, %rdi
movq %rbx, %rsi
callq 0x4e78
movsd 0x10(%rsp), %xmm1
subsd %xmm0, %xmm1
movsd %xmm1, 0x10(%rsp)
movsd 0x28(%rsp), %xmm0
divsd 0x30(%rsp), %xmm0
movq %rbx, %rdi
callq 0x266d6
addsd 0x10(%rsp), %xmm0
movsd %xmm0, 0x10(%rsp)
movsd 0xe8(%rsp), %xmm1
callq 0x262fe
xorpd %xmm0, %xmm0
testb %al, %al
jne 0xb1d9
movsd 0x10(%rsp), %xmm0
movq %rbx, %rdi
callq 0x266e0
testb %bpl, %bpl
movsd %xmm0, (%rsp)
je 0xb210
movsd 0x29735(%rip), %xmm1    # 0x34920
callq 0x2631e
testb %al, %al
je 0xb1fe
movsd 0x2a294(%rip), %xmm0    # 0x35490
jmp 0xb20b
movsd 0x28f9a(%rip), %xmm0    # 0x341a0
subsd (%rsp), %xmm0
movsd %xmm0, (%rsp)
movsd (%rsp), %xmm0
addq $0x110, %rsp            # imm = 0x110
popq %rbx
popq %r14
popq %rbp
retq