// File: /workspace/github_cpp_makefile_star2_O2/DoubleString[P]RtConverter/src/Rtklib/rcvraw.cpp
// Function: bamboo::decode_bds_d2(unsigned char const*, bamboo::eph_t*)
extern int decode_bds_d2(const unsigned char *buff, eph_t *eph)
{
    double toc_bds,sqrtA;
    unsigned int f1p4,cucp5,ep6,cicp7,i0p8,OMGdp9,omgp10;
    unsigned int sow1,sow3,sow4,sow5,sow6,sow7,sow8,sow9,sow10;
    int i,f1p3,cucp4,ep5,cicp6,i0p7,OMGdp8,omgp9;
    int pgn1,pgn3,pgn4,pgn5,pgn6,pgn7,pgn8,pgn9,pgn10;
    
    trace(3,"decode_bds_d2:\n");
    
    i=8*38*0; /* page 1 */
    pgn1       =getbitu (buff,i+ 42, 4);
    sow1       =getbitu2(buff,i+ 18, 8,i+ 30,12);
    eph->svh   =getbitu (buff,i+ 46, 1); /* SatH1 */
    eph->iodc  =getbitu (buff,i+ 47, 5); /* AODC */
    eph->sva   =getbitu (buff,i+ 60, 4);
    eph->week  =getbitu (buff,i+ 64,13); /* week in BDT */
    toc_bds    =getbitu2(buff,i+ 77, 5,i+ 90,12)*8.0;
    eph->tgd[0]=getbits (buff,i+102,10)*0.1*1E-9;
    eph->tgd[1]=getbits (buff,i+120,10)*0.1*1E-9;
    
    i=8*38*2; /* page 3 */
    pgn3       =getbitu (buff,i+ 42, 4);
    sow3       =getbitu2(buff,i+ 18, 8,i+ 30,12);
    eph->f0    =getbits2(buff,i+100,12,i+120,12)*P2_33;
    f1p3       =getbits (buff,i+132,4);
    
    i=8*38*3; /* page 4 */
    pgn4       =getbitu (buff,i+ 42, 4);
    sow4       =getbitu2(buff,i+ 18, 8,i+ 30,12);
    f1p4       =getbitu2(buff,i+ 46, 6,i+ 60,12);
    eph->f2    =getbits2(buff,i+ 72,10,i+ 90, 1)*P2_66;
    eph->iode  =getbitu (buff,i+ 91, 5); /* AODE */
    eph->deln  =getbits (buff,i+ 96,16)*P2_43*SC2RAD;
    cucp4      =getbits (buff,i+120,14);
    
    i=8*38*4; /* page 5 */
    pgn5       =getbitu (buff,i+ 42, 4);
    sow5       =getbitu2(buff,i+ 18, 8,i+ 30,12);
    cucp5      =getbitu (buff,i+ 46, 4);
    eph->M0    =getbits3(buff,i+ 50, 2,i+ 60,22,i+ 90, 8)*P2_31*SC2RAD;
    eph->cus   =getbits2(buff,i+ 98,14,i+120, 4)*P2_31;
    ep5        =getbits (buff,i+124,10);
    
    i=8*38*5; /* page 6 */
    pgn6       =getbitu (buff,i+ 42, 4);
    sow6       =getbitu2(buff,i+ 18, 8,i+ 30,12);
    ep6        =getbitu2(buff,i+ 46, 6,i+ 60,16);
    sqrtA      =getbitu3(buff,i+ 76, 6,i+ 90,22,i+120,4)*P2_19;
    cicp6      =getbits (buff,i+124,10);
    eph->A     =sqrtA*sqrtA;
    
    i=8*38*6; /* page 7 */
    pgn7       =getbitu (buff,i+ 42, 4);
    sow7       =getbitu2(buff,i+ 18, 8,i+ 30,12);
    cicp7      =getbitu2(buff,i+ 46, 6,i+ 60, 2);
    eph->cis   =getbits (buff,i+ 62,18)*P2_31;
    eph->toes  =getbitu2(buff,i+ 80, 2,i+ 90,15)*8.0;
    i0p7       =getbits2(buff,i+105, 7,i+120,14);
    
    i=8*38*7; /* page 8 */
    pgn8       =getbitu (buff,i+ 42, 4);
    sow8       =getbitu2(buff,i+ 18, 8,i+ 30,12);
    i0p8       =getbitu2(buff,i+ 46, 6,i+ 60, 5);
    eph->crc   =getbits2(buff,i+ 65,17,i+ 90, 1)*P2_6;
    eph->crs   =getbits (buff,i+ 91,18)*P2_6;
    OMGdp8     =getbits2(buff,i+109, 3,i+120,16);
    
    i=8*38*8; /* page 9 */
    pgn9       =getbitu (buff,i+ 42, 4);
    sow9       =getbitu2(buff,i+ 18, 8,i+ 30,12);
    OMGdp9     =getbitu (buff,i+ 46, 5);
    eph->OMG0  =getbits3(buff,i+ 51, 1,i+ 60,22,i+ 90, 9)*P2_31*SC2RAD;
    omgp9      =getbits2(buff,i+ 99,13,i+120,14);
    
    i=8*38*9; /* page 10 */
    pgn10      =getbitu (buff,i+ 42, 4);
    sow10      =getbitu2(buff,i+ 18, 8,i+ 30,12);
    omgp10     =getbitu (buff,i+ 46, 5);
    eph->idot  =getbits2(buff,i+ 51, 1,i+ 60,13)*P2_43*SC2RAD;
    
    /* check consistency of page numbers, sows and toe/toc */
    if (pgn1!=1||pgn3!=3||pgn4!=4||pgn5!=5||pgn6!=6||pgn7!=7||pgn8!=8||pgn9!=9||
        pgn10!=10) {
        trace(3,"decode_bds_d2 error: pgn=%d %d %d %d %d %d %d %d %d\n",
              pgn1,pgn3,pgn4,pgn5,pgn6,pgn7,pgn8,pgn9,pgn10);
        return 0;
    }
    if (sow3!=sow1+6||sow4!=sow3+3||sow5!=sow4+3||sow6!=sow5+3||
        sow7!=sow6+3||sow8!=sow7+3||sow9!=sow8+3||sow10!=sow9+3) {
        trace(3,"decode_bds_d2 error: sow=%d %d %d %d %d %d %d %d %d\n",
              sow1,sow3,sow4,sow5,sow6,sow7,sow8,sow9,sow10);
        return 0;
    }
    if (toc_bds!=eph->toes) {
        trace(3,"decode_bds_d2 error: toe=%.0f toc=%.0f\n",eph->toes,toc_bds);
        return 0;
    }
    eph->f1  =merge_two_s(f1p3  ,f1p4  ,18)*P2_50;
    eph->cuc =merge_two_s(cucp4 ,cucp5 , 4)*P2_31;
    eph->e   =merge_two_s(ep5   ,ep6   ,22)*P2_33;
    eph->cic =merge_two_s(cicp6 ,cicp7 , 8)*P2_31;
    eph->i0  =merge_two_s(i0p7  ,i0p8  ,11)*P2_31*SC2RAD;
    eph->OMGd=merge_two_s(OMGdp8,OMGdp9, 5)*P2_43*SC2RAD;
    eph->omg =merge_two_s(omgp9 ,omgp10, 5)*P2_31*SC2RAD;
    
    eph->ttr=bdt2gpst(bdt2time(eph->week,sow1));      /* bdt -> gpst */
    if      (eph->toes>sow1+302400.0) eph->week++;
    else if (eph->toes<sow1-302400.0) eph->week--;
    eph->toe=bdt2gpst(bdt2time(eph->week,eph->toes)); /* bdt -> gpst */
    eph->toc=bdt2gpst(bdt2time(eph->week,toc_bds));   /* bdt -> gpst */
    eph->code=0; /* data source = unknown */
    eph->flag=2; /* nav type = GEO */
    return 1;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xb8, %rsp
movq %rsi, %rbx
movq %rdi, %r13
leaq 0x3486d(%rip), %rsi     # 0x630aa
pushq $0x3
popq %rdi
xorl %eax, %eax
callq 0x455bc
pushq $0x2a
popq %rsi
pushq $0x4
popq %r15
movq %r13, %rdi
movl %r15d, %edx
callq 0x459f7
movl %eax, -0x40(%rbp)
pushq $0x12
popq %rsi
pushq $0x8
popq %rdx
pushq $0x1e
popq %rcx
pushq $0xc
popq %r14
movq %r13, %rdi
movl %r14d, %r8d
callq 0x2e762
movq %rax, -0xd0(%rbp)
pushq $0x2e
popq %rsi
pushq $0x1
popq %rdx
movq %r13, %rdi
callq 0x459f7
movl %eax, 0x10(%rbx)
pushq $0x2f
popq %rsi
pushq $0x5
popq %r12
movq %r13, %rdi
movl %r12d, %edx
callq 0x459f7
movl %eax, 0x8(%rbx)
pushq $0x3c
popq %rsi
movq %r13, %rdi
movl %r15d, %edx
callq 0x459f7
movl %eax, 0xc(%rbx)
pushq $0x40
popq %rsi
pushq $0xd
popq %rdx
movq %r13, %rdi
callq 0x459f7
movl %eax, 0x14(%rbx)
pushq $0x4d
popq %rsi
pushq $0x5a
popq %rcx
movq %r13, %rdi
movl %r12d, %edx
movl %r14d, %r8d
callq 0x2e762
movl %eax, -0x7c(%rbp)
pushq $0x66
popq %rsi
pushq $0xa
popq %r12
movq %r13, %rdi
movl %r12d, %edx
callq 0x45a39
cvtsi2sd %eax, %xmm0
mulsd 0x33490(%rip), %xmm0    # 0x61d88
mulsd 0x34408(%rip), %xmm0    # 0x62d08
movsd %xmm0, 0xf0(%rbx)
pushq $0x78
popq %rsi
movq %r13, %rdi
movl %r12d, %edx
callq 0x45a39
cvtsi2sd %eax, %xmm0
mulsd 0x33466(%rip), %xmm0    # 0x61d88
mulsd 0x343de(%rip), %xmm0    # 0x62d08
movsd %xmm0, 0xf8(%rbx)
movq %r13, %rdi
movl $0x28a, %esi            # imm = 0x28A
movl %r15d, %edx
callq 0x459f7
movl %eax, -0x38(%rbp)
movq %r13, %rdi
movl $0x272, %esi            # imm = 0x272
pushq $0x8
popq %r12
movl %r12d, %edx
movl $0x27e, %ecx            # imm = 0x27E
movl %r14d, %r8d
callq 0x2e762
movq %rax, -0xc8(%rbp)
movq %r13, %rdi
movl $0x2c4, %esi            # imm = 0x2C4
movl %r14d, %edx
movl $0x2d8, %ecx            # imm = 0x2D8
movl %r14d, %r8d
callq 0x2e79c
cvtsi2sd %eax, %xmm0
mulsd 0x34334(%rip), %xmm0    # 0x62cc0
movsd %xmm0, 0xd8(%rbx)
movq %r13, %rdi
movl $0x2e4, %esi            # imm = 0x2E4
movl %r15d, %edx
callq 0x45a39
movl %eax, -0x78(%rbp)
movq %r13, %rdi
movl $0x3ba, %esi            # imm = 0x3BA
movl %r15d, %edx
callq 0x459f7
movl %eax, -0x84(%rbp)
movq %r13, %rdi
movl $0x3a2, %esi            # imm = 0x3A2
movl %r12d, %edx
movl $0x3ae, %ecx            # imm = 0x3AE
movl %r14d, %r8d
callq 0x2e762
movq %rax, -0xc0(%rbp)
pushq $0x6
popq %rdx
movq %r13, %rdi
movl $0x3be, %esi            # imm = 0x3BE
movl $0x3cc, %ecx            # imm = 0x3CC
movl %r14d, %r8d
callq 0x2e762
movl %eax, -0x74(%rbp)
movq %r13, %rdi
movl $0x3d8, %esi            # imm = 0x3D8
pushq $0xa
popq %rdx
movl $0x3ea, %ecx            # imm = 0x3EA
pushq $0x1
popq %r8
callq 0x2e79c
cvtsi2sd %eax, %xmm0
mulsd 0x342f4(%rip), %xmm0    # 0x62d10
movsd %xmm0, 0xe8(%rbx)
movq %r13, %rdi
movl $0x3eb, %esi            # imm = 0x3EB
pushq $0x5
popq %rdx
callq 0x459f7
movl %eax, 0x4(%rbx)
pushq $0x10
popq %rdx
movq %r13, %rdi
movl $0x3f0, %esi            # imm = 0x3F0
callq 0x45a39
cvtsi2sd %eax, %xmm0
mulsd 0x3427d(%rip), %xmm0    # 0x62cd0
mulsd 0x3334d(%rip), %xmm0    # 0x61da8
movsd %xmm0, 0x80(%rbx)
pushq $0xe
popq %r14
movq %r13, %rdi
movl $0x408, %esi            # imm = 0x408
movl %r14d, %edx
callq 0x45a39
movl %eax, -0x70(%rbp)
movq %r13, %rdi
movl $0x4ea, %esi            # imm = 0x4EA
movl %r15d, %edx
callq 0x459f7
movl %eax, -0x80(%rbp)
movq %r13, %rdi
movl $0x4d2, %esi            # imm = 0x4D2
movl %r12d, %edx
movl $0x4de, %ecx            # imm = 0x4DE
pushq $0xc
popq %r8
callq 0x2e762
movq %rax, -0xb8(%rbp)
movq %r13, %rdi
movl $0x4ee, %esi            # imm = 0x4EE
movl %r15d, %edx
callq 0x459f7
movl %eax, -0x6c(%rbp)
pushq $0x2
popq %rdx
movq %r13, %rdi
movl $0x4f2, %esi            # imm = 0x4F2
movl $0x4fc, %ecx            # imm = 0x4FC
movl $0x51a, %r8d            # imm = 0x51A
movl %r12d, %r9d
callq 0x2f1a2
cvtsi2sd %eax, %xmm0
mulsd 0x341ce(%rip), %xmm0    # 0x62cb8
mulsd 0x332b6(%rip), %xmm0    # 0x61da8
movsd %xmm0, 0x78(%rbx)
movq %r13, %rdi
movl $0x522, %esi            # imm = 0x522
movl %r14d, %edx
movl $0x538, %ecx            # imm = 0x538
movl %r15d, %r8d
callq 0x2e79c
cvtsi2sd %eax, %xmm0
mulsd 0x3419d(%rip), %xmm0    # 0x62cb8
movsd %xmm0, 0xb0(%rbx)
movq %r13, %rdi
movl $0x53c, %esi            # imm = 0x53C
pushq $0xa
popq %rdx
callq 0x45a39
movl %eax, -0x68(%rbp)
movq %r13, %rdi
movl $0x61a, %esi            # imm = 0x61A
movl %r15d, %edx
callq 0x459f7
movq %rax, -0xe0(%rbp)
movq %r13, %rdi
movl $0x602, %esi            # imm = 0x602
movl %r12d, %edx
movl $0x60e, %ecx            # imm = 0x60E
pushq $0xc
popq %r15
movl %r15d, %r8d
callq 0x2e762
movq %rax, -0xb0(%rbp)
movq %r13, %rdi
movl $0x61e, %esi            # imm = 0x61E
pushq $0x6
popq %r14
movl %r14d, %edx
movl $0x62c, %ecx            # imm = 0x62C
pushq $0x10
popq %r8
callq 0x2e762
movl %eax, -0x64(%rbp)
movq %r13, %rdi
movl $0x63c, %esi            # imm = 0x63C
movl %r14d, %edx
movl $0x64a, %ecx            # imm = 0x64A
movl $0x668, %r8d            # imm = 0x668
pushq $0x4
popq %r14
movl %r14d, %r9d
callq 0x2f241
movl %eax, %eax
cvtsi2sd %rax, %xmm0
mulsd 0x34107(%rip), %xmm0    # 0x62cc8
movsd %xmm0, -0x30(%rbp)
movq %r13, %rdi
movl $0x66c, %esi            # imm = 0x66C
pushq $0xa
popq %rdx
callq 0x45a39
movl %eax, -0x60(%rbp)
movsd -0x30(%rbp), %xmm0
mulsd %xmm0, %xmm0
movsd %xmm0, 0x50(%rbx)
movq %r13, %rdi
movl $0x74a, %esi            # imm = 0x74A
movl %r14d, %edx
callq 0x459f7
movq %rax, -0x30(%rbp)
movq %r13, %rdi
movl $0x732, %esi            # imm = 0x732
movl %r12d, %r14d
movl %r12d, %edx
movl $0x73e, %ecx            # imm = 0x73E
movl %r15d, %r8d
callq 0x2e762
movq %rax, -0xa8(%rbp)
movq %r13, %rdi
movl $0x74e, %esi            # imm = 0x74E
pushq $0x6
popq %rdx
movl $0x75c, %ecx            # imm = 0x75C
pushq $0x2
popq %r12
movl %r12d, %r8d
callq 0x2e762
movl %eax, -0x5c(%rbp)
movq %r13, %rdi
movl $0x75e, %esi            # imm = 0x75E
pushq $0x12
popq %rdx
callq 0x45a39
cvtsi2sd %eax, %xmm0
mulsd 0x34060(%rip), %xmm0    # 0x62cb8
movsd %xmm0, 0xc0(%rbx)
pushq $0xf
popq %r8
movq %r13, %rdi
movl $0x770, %esi            # imm = 0x770
movl %r12d, %edx
movl $0x77a, %ecx            # imm = 0x77A
callq 0x2e762
movl %eax, %eax
cvtsi2sd %rax, %xmm0
mulsd 0x31da8(%rip), %xmm0    # 0x60a30
movsd %xmm0, 0xc8(%rbx)
pushq $0x7
popq %rdx
movq %r13, %rdi
movl $0x789, %esi            # imm = 0x789
movl $0x798, %ecx            # imm = 0x798
pushq $0xe
popq %r8
callq 0x2e79c
movl %eax, -0x58(%rbp)
movq %r13, %rdi
movl $0x87a, %esi            # imm = 0x87A
pushq $0x4
popq %r12
movl %r12d, %edx
callq 0x459f7
movq %rax, -0xd8(%rbp)
movq %r13, %rdi
movl $0x862, %esi            # imm = 0x862
movl %r14d, %edx
movl $0x86e, %ecx            # imm = 0x86E
movl %r15d, %r8d
callq 0x2e762
movq %rax, -0xa0(%rbp)
movq %r13, %rdi
movl $0x87e, %esi            # imm = 0x87E
pushq $0x6
popq %rdx
movl $0x88c, %ecx            # imm = 0x88C
pushq $0x5
popq %r15
movl %r15d, %r8d
callq 0x2e762
movl %eax, -0x54(%rbp)
pushq $0x11
popq %rdx
movq %r13, %rdi
movl $0x891, %esi            # imm = 0x891
movl $0x8aa, %ecx            # imm = 0x8AA
pushq $0x1
popq %r14
movl %r14d, %r8d
callq 0x2e79c
cvtsi2sd %eax, %xmm0
mulsd 0x33ff3(%rip), %xmm0    # 0x62d20
movsd %xmm0, 0x98(%rbx)
movq %r13, %rdi
movl $0x8ab, %esi            # imm = 0x8AB
pushq $0x12
popq %rdx
callq 0x45a39
cvtsi2sd %eax, %xmm0
mulsd 0x33fcf(%rip), %xmm0    # 0x62d20
movsd %xmm0, 0xa0(%rbx)
movq %r13, %rdi
movl $0x8bd, %esi            # imm = 0x8BD
pushq $0x3
popq %rdx
movl $0x8c8, %ecx            # imm = 0x8C8
pushq $0x10
popq %r8
callq 0x2e79c
movl %eax, -0x50(%rbp)
movq %r13, %rdi
movl $0x9aa, %esi            # imm = 0x9AA
movl %r12d, %edx
callq 0x459f7
movl %eax, %r12d
movq %r13, %rdi
movl $0x992, %esi            # imm = 0x992
pushq $0x8
popq %rdx
movl $0x99e, %ecx            # imm = 0x99E
pushq $0xc
popq %r8
callq 0x2e762
movq %rax, -0x98(%rbp)
movq %r13, %rdi
movl $0x9ae, %esi            # imm = 0x9AE
movl %r15d, %edx
callq 0x459f7
movl %eax, -0x4c(%rbp)
pushq $0x9
popq %r9
movq %r13, %rdi
movl $0x9b3, %esi            # imm = 0x9B3
movl %r14d, %edx
movl $0x9bc, %ecx            # imm = 0x9BC
movl $0x9da, %r8d            # imm = 0x9DA
callq 0x2f1a2
cvtsi2sd %eax, %xmm0
mulsd 0x33ed2(%rip), %xmm0    # 0x62cb8
mulsd 0x32fba(%rip), %xmm0    # 0x61da8
movsd %xmm0, 0x68(%rbx)
movq %r13, %rdi
movl $0x9e3, %esi            # imm = 0x9E3
pushq $0xd
popq %r14
movl %r14d, %edx
movl $0x9f8, %ecx            # imm = 0x9F8
pushq $0xe
popq %r8
callq 0x2e79c
movl %eax, -0x48(%rbp)
movq %r13, %rdi
movl $0xada, %esi            # imm = 0xADA
pushq $0x4
popq %rdx
callq 0x459f7
movl %eax, %r15d
movq %r13, %rdi
movl $0xac2, %esi            # imm = 0xAC2
pushq $0x8
popq %rdx
movl $0xace, %ecx            # imm = 0xACE
pushq $0xc
popq %r8
callq 0x2e762
movq %rax, -0x90(%rbp)
movq %r13, %rdi
movl $0xade, %esi            # imm = 0xADE
pushq $0x5
popq %rdx
callq 0x459f7
movl %eax, -0x44(%rbp)
movq %r13, %rdi
pushq $0x1
popq %r13
movl $0xae3, %esi            # imm = 0xAE3
movl %r13d, %edx
movl $0xaec, %ecx            # imm = 0xAEC
movl %r14d, %r8d
movq -0xd8(%rbp), %r14
callq 0x2e79c
movq -0x30(%rbp), %r11
movq -0xe0(%rbp), %r10
movl -0x80(%rbp), %r9d
movl -0x84(%rbp), %r8d
movl -0x38(%rbp), %ecx
movsd 0x32f0b(%rip), %xmm7    # 0x61da8
movl -0x40(%rbp), %edx
cvtsi2sd %eax, %xmm0
mulsd 0x33e24(%rip), %xmm0    # 0x62cd0
mulsd %xmm7, %xmm0
movsd %xmm0, 0x90(%rbx)
movl %edx, %eax
xorl $0x1, %eax
movl %ecx, %edi
xorl $0x3, %edi
orl %eax, %edi
movl %r8d, %eax
xorl $0x4, %eax
movl %r9d, %esi
xorl $0x5, %esi
orl %eax, %esi
orl %edi, %esi
movl %r10d, %eax
xorl $0x6, %eax
movl %r11d, %edi
xorl $0x7, %edi
orl %eax, %edi
movl %r14d, %eax
xorl $0x8, %eax
orl %edi, %eax
orl %esi, %eax
movl %r12d, %esi
xorl $0x9, %esi
orl %eax, %esi
movl %r15d, %eax
xorl $0xa, %eax
orl %esi, %eax
je 0x2ef26
subq $0x8, %rsp
leaq 0x341b1(%rip), %rsi     # 0x630ba
pushq $0x3
popq %rdi
xorl %eax, %eax
pushq %r15
pushq %r12
pushq %r14
pushq %r11
pushq %r10
callq 0x455bc
addq $0x30, %rsp
jmp 0x2efde
movq -0xd0(%rbp), %rsi
leal 0x6(%rsi), %eax
movq -0xc8(%rbp), %rcx
xorl %ecx, %eax
leal 0x3(%rcx), %edi
movq -0xc0(%rbp), %r8
xorl %r8d, %edi
orl %eax, %edi
leal 0x3(%r8), %eax
movq -0xb8(%rbp), %r9
xorl %r9d, %eax
leal 0x3(%r9), %edx
movq -0xb0(%rbp), %r10
xorl %r10d, %edx
orl %eax, %edx
orl %edi, %edx
leal 0x3(%r10), %eax
movq -0xa8(%rbp), %r11
xorl %r11d, %eax
leal 0x3(%r11), %edi
movq -0xa0(%rbp), %r14
xorl %r14d, %edi
orl %eax, %edi
leal 0x3(%r14), %eax
movq -0x98(%rbp), %r15
xorl %r15d, %eax
orl %edi, %eax
orl %edx, %eax
leal 0x3(%r15), %edx
movq -0x90(%rbp), %r12
xorl %r12d, %edx
orl %eax, %edx
movq %rsi, %rdx
jne 0x2efe6
movl -0x7c(%rbp), %eax
cvtsi2sd %rax, %xmm1
mulsd 0x31a73(%rip), %xmm1    # 0x60a30
movsd 0xc8(%rbx), %xmm0
ucomisd %xmm0, %xmm1
jne 0x2efcd
jnp 0x2f011
leaq 0x34150(%rip), %rsi     # 0x63124
pushq $0x3
popq %rdi
movb $0x2, %al
callq 0x455bc
xorl %r13d, %r13d
jmp 0x2f18d
subq $0x8, %rsp
leaq 0x340fe(%rip), %rsi     # 0x630ef
xorl %r13d, %r13d
pushq $0x3
popq %rdi
xorl %eax, %eax
pushq %r12
pushq %r15
pushq %r14
pushq %r11
pushq %r10
callq 0x455bc
addq $0x30, %rsp
jmp 0x2f18d
movsd %xmm1, -0x40(%rbp)
movl -0x78(%rbp), %eax
shll $0x12, %eax
movl -0x74(%rbp), %ecx
addl %eax, %ecx
cvtsi2sd %ecx, %xmm0
movl -0x70(%rbp), %eax
shll $0x4, %eax
movl -0x6c(%rbp), %ecx
addl %eax, %ecx
cvtsi2sd %ecx, %xmm1
movl -0x68(%rbp), %eax
shll $0x16, %eax
movl -0x64(%rbp), %ecx
addl %eax, %ecx
cvtsi2sd %ecx, %xmm2
movl -0x60(%rbp), %eax
shll $0x8, %eax
movl -0x5c(%rbp), %ecx
addl %eax, %ecx
cvtsi2sd %ecx, %xmm3
movl -0x58(%rbp), %eax
shll $0xb, %eax
movl -0x54(%rbp), %ecx
addl %eax, %ecx
cvtsi2sd %ecx, %xmm4
movl -0x50(%rbp), %eax
shll $0x5, %eax
movl -0x4c(%rbp), %ecx
addl %eax, %ecx
cvtsi2sd %ecx, %xmm5
movl -0x48(%rbp), %eax
shll $0x5, %eax
movl -0x44(%rbp), %ecx
addl %eax, %ecx
cvtsi2sd %ecx, %xmm6
mulsd 0x33c91(%rip), %xmm0    # 0x62d18
movsd %xmm0, 0xe0(%rbx)
movsd 0x33c21(%rip), %xmm0    # 0x62cb8
mulsd %xmm0, %xmm1
movsd %xmm1, 0xa8(%rbx)
mulsd 0x33c15(%rip), %xmm2    # 0x62cc0
movsd %xmm2, 0x58(%rbx)
mulsd %xmm0, %xmm3
movsd %xmm3, 0xb8(%rbx)
mulsd %xmm0, %xmm4
mulsd %xmm7, %xmm4
movsd %xmm4, 0x60(%rbx)
mulsd 0x33bff(%rip), %xmm5    # 0x62cd0
mulsd %xmm7, %xmm5
movsd %xmm5, 0x88(%rbx)
mulsd %xmm0, %xmm6
mulsd %xmm7, %xmm6
movsd %xmm6, 0x70(%rbx)
movl %edx, %eax
cvtsi2sd %rax, %xmm0
movsd %xmm0, -0x38(%rbp)
movl 0x14(%rbx), %edi
callq 0x47222
movq %rax, %rdi
callq 0x478a9
movsd -0x38(%rbp), %xmm2
movq %rax, 0x40(%rbx)
movsd %xmm0, 0x48(%rbx)
movsd 0xc8(%rbx), %xmm0
movsd 0x32ca4(%rip), %xmm1    # 0x61dc8
addsd %xmm2, %xmm1
ucomisd %xmm1, %xmm0
jbe 0x2f135
movl 0x14(%rbx), %edi
incl %edi
jmp 0x2f148
addsd 0x32c83(%rip), %xmm2    # 0x61dc0
ucomisd %xmm0, %xmm2
movl 0x14(%rbx), %edi
jbe 0x2f14b
decl %edi
movl %edi, 0x14(%rbx)
callq 0x47222
movq %rax, %rdi
callq 0x478a9
movq %rax, 0x20(%rbx)
movsd %xmm0, 0x28(%rbx)
movl 0x14(%rbx), %edi
movsd -0x40(%rbp), %xmm0
callq 0x47222
movq %rax, %rdi
callq 0x478a9
movq %rax, 0x30(%rbx)
movsd %xmm0, 0x38(%rbx)
movabsq $0x200000000, %rax      # imm = 0x200000000
movq %rax, 0x18(%rbx)
movl %r13d, %eax
addq $0xb8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq