// File: DoubleString[P]RtConverter/src/Rtklib/rcvraw.cpp
// Function: bamboo::decode_bds_d1(unsigned char const*, bamboo::eph_t*)
extern int decode_bds_d1(const unsigned char *buff, eph_t *eph)
{
    double toc_bds,sqrtA;
    unsigned int toe1,toe2,sow1,sow2,sow3;
    int i,frn1,frn2,frn3;
    
    trace(3,"decode_bds_d1:\n");
    
    i=8*38*0; /* subframe 1 */
    frn1       =getbitu (buff,i+ 15, 3);
    sow1       =getbitu2(buff,i+ 18, 8,i+30,12);
    eph->svh   =getbitu (buff,i+ 42, 1); /* SatH1 */
    eph->iodc  =getbitu (buff,i+ 43, 5); /* AODC */
    eph->sva   =getbitu (buff,i+ 48, 4);
    eph->week  =getbitu (buff,i+ 60,13); /* week in BDT */
    toc_bds    =getbitu2(buff,i+ 73, 9,i+ 90, 8)*8.0;
    eph->tgd[0]=getbits (buff,i+ 98,10)*0.1*1E-9;
    eph->tgd[1]=getbits2(buff,i+108, 4,i+120, 6)*0.1*1E-9;
    eph->f2    =getbits (buff,i+214,11)*P2_66;
    eph->f0    =getbits2(buff,i+225, 7,i+240,17)*P2_33;
    eph->f1    =getbits2(buff,i+257, 5,i+270,17)*P2_50;
    eph->iode  =getbitu (buff,i+287, 5); /* AODE */
    
    i=8*38*1; /* subframe 2 */
    frn2       =getbitu (buff,i+ 15, 3);
    sow2       =getbitu2(buff,i+ 18, 8,i+30,12);
    eph->deln  =getbits2(buff,i+ 42,10,i+ 60, 6)*P2_43*SC2RAD;
    eph->cuc   =getbits2(buff,i+ 66,16,i+ 90, 2)*P2_31;
    eph->M0    =getbits2(buff,i+ 92,20,i+120,12)*P2_31*SC2RAD;
    eph->e     =getbitu2(buff,i+132,10,i+150,22)*P2_33;
    eph->cus   =getbits (buff,i+180,18)*P2_31;
    eph->crc   =getbits2(buff,i+198, 4,i+210,14)*P2_6;
    eph->crs   =getbits2(buff,i+224, 8,i+240,10)*P2_6;
    sqrtA      =getbitu2(buff,i+250,12,i+270,20)*P2_19;
    toe1       =getbitu (buff,i+290, 2); /* TOE 2-MSB */
    eph->A     =sqrtA*sqrtA;
    
    i=8*38*2; /* subframe 3 */
    frn3       =getbitu (buff,i+ 15, 3);
    sow3       =getbitu2(buff,i+ 18, 8,i+30,12);
    toe2       =getbitu2(buff,i+ 42,10,i+ 60, 5); /* TOE 5-LSB */
    eph->i0    =getbits2(buff,i+ 65,17,i+ 90,15)*P2_31*SC2RAD;
    eph->cic   =getbits2(buff,i+105, 7,i+120,11)*P2_31;
    eph->OMGd  =getbits2(buff,i+131,11,i+150,13)*P2_43*SC2RAD;
    eph->cis   =getbits2(buff,i+163, 9,i+180, 9)*P2_31;
    eph->idot  =getbits2(buff,i+189,13,i+210, 1)*P2_43*SC2RAD;
    eph->OMG0  =getbits2(buff,i+211,21,i+240,11)*P2_31*SC2RAD;
    eph->omg   =getbits2(buff,i+251,11,i+270,21)*P2_31*SC2RAD;
    eph->toes  =merge_two_u(toe1,toe2,15)*8.0;
    
    /* check consistency of subframe numbers, sows and toe/toc */
    if (frn1!=1||frn2!=2||frn3!=3) {
        trace(3,"decode_bds_d1 error: frn=%d %d %d\n",frn1,frn2,frn3);
        return 0;
    }
    if (sow2!=sow1+6||sow3!=sow2+6) {
        trace(3,"decode_bds_d1 error: sow=%d %d %d\n",sow1,sow2,sow3);
        return 0;
    }
    if (toc_bds!=eph->toes) {
        trace(3,"decode_bds_d1 error: toe=%.0f toc=%.0f\n",eph->toes,toc_bds);
        return 0;
    }
    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=1; /* nav type = IGSO/MEO */
    return 1;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x140, %rsp            # imm = 0x140
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
leaq 0x5c0f2(%rip), %rsi     # 0xbf18c
xorl %eax, %eax
movl $0x3, %edi
movl %edi, -0x100(%rbp)
callq 0x8b980
movl -0x100(%rbp), %edx
movl $0x0, -0x40(%rbp)
movq -0x10(%rbp), %rdi
movl -0x40(%rbp), %esi
addl $0xf, %esi
callq 0x8bfc0
movl %eax, -0x44(%rbp)
movq -0x10(%rbp), %rdi
movl -0x40(%rbp), %ecx
movl %ecx, %esi
addl $0x12, %esi
addl $0x1e, %ecx
movl $0x8, %edx
movl %edx, -0xfc(%rbp)
movl $0xc, %r8d
movl %r8d, -0xf8(%rbp)
callq 0x63ae0
movl %eax, -0x34(%rbp)
movq -0x10(%rbp), %rdi
movl -0x40(%rbp), %esi
addl $0x2a, %esi
movl $0x1, %edx
movl %edx, -0xdc(%rbp)
callq 0x8bfc0
movl %eax, %ecx
movq -0x18(%rbp), %rax
movl %ecx, 0x10(%rax)
movq -0x10(%rbp), %rdi
movl -0x40(%rbp), %esi
addl $0x2b, %esi
movl $0x5, %edx
movl %edx, -0xf0(%rbp)
callq 0x8bfc0
movl %eax, %ecx
movq -0x18(%rbp), %rax
movl %ecx, 0x8(%rax)
movq -0x10(%rbp), %rdi
movl -0x40(%rbp), %esi
addl $0x30, %esi
movl $0x4, %edx
movl %edx, -0x114(%rbp)
callq 0x8bfc0
movl %eax, %ecx
movq -0x18(%rbp), %rax
movl %ecx, 0xc(%rax)
movq -0x10(%rbp), %rdi
movl -0x40(%rbp), %esi
addl $0x3c, %esi
movl $0xd, %edx
movl %edx, -0xe0(%rbp)
callq 0x8bfc0
movl -0xfc(%rbp), %r8d
movl %eax, %ecx
movq -0x18(%rbp), %rax
movl %ecx, 0x14(%rax)
movq -0x10(%rbp), %rdi
movl -0x40(%rbp), %ecx
movl %ecx, %esi
addl $0x49, %esi
addl $0x5a, %ecx
movl $0x9, %edx
movl %edx, -0xe4(%rbp)
callq 0x63ae0
movl %eax, %eax
cvtsi2sd %rax, %xmm0
movsd 0x59dbd(%rip), %xmm1    # 0xbcf78
mulsd %xmm1, %xmm0
movsd %xmm0, -0x20(%rbp)
movq -0x10(%rbp), %rdi
movl -0x40(%rbp), %esi
addl $0x62, %esi
movl $0xa, %edx
movl %edx, -0xf4(%rbp)
callq 0x8c050
movl -0x114(%rbp), %edx
cvtsi2sd %eax, %xmm0
movsd 0x5ab60(%rip), %xmm1    # 0xbdd50
movsd %xmm1, -0x138(%rbp)
mulsd %xmm1, %xmm0
movsd 0x5ab9c(%rip), %xmm1    # 0xbdda0
movsd %xmm1, -0x130(%rbp)
mulsd %xmm1, %xmm0
movq -0x18(%rbp), %rax
movsd %xmm0, 0xf0(%rax)
movq -0x10(%rbp), %rdi
movl -0x40(%rbp), %ecx
movl %ecx, %esi
addl $0x6c, %esi
addl $0x78, %ecx
movl $0x6, %r8d
movl %r8d, -0x124(%rbp)
callq 0x63b30
movsd -0x138(%rbp), %xmm2
movsd -0x130(%rbp), %xmm1
cvtsi2sd %eax, %xmm0
mulsd %xmm2, %xmm0
mulsd %xmm1, %xmm0
movq -0x18(%rbp), %rax
movsd %xmm0, 0xf8(%rax)
movq -0x10(%rbp), %rdi
movl -0x40(%rbp), %esi
addl $0xd6, %esi
movl $0xb, %edx
movl %edx, -0xd0(%rbp)
callq 0x8c050
cvtsi2sd %eax, %xmm0
movsd 0x5bbfa(%rip), %xmm1    # 0xbee88
mulsd %xmm1, %xmm0
movq -0x18(%rbp), %rax
movsd %xmm0, 0xe8(%rax)
movq -0x10(%rbp), %rdi
movl -0x40(%rbp), %ecx
movl %ecx, %esi
addl $0xe1, %esi
addl $0xf0, %ecx
movl $0x7, %edx
movl %edx, -0xe8(%rbp)
movl $0x11, %r8d
movl %r8d, -0xec(%rbp)
callq 0x63b30
movl -0xf0(%rbp), %edx
movl -0xec(%rbp), %r8d
cvtsi2sd %eax, %xmm0
movsd 0x5bb77(%rip), %xmm1    # 0xbee60
movsd %xmm1, -0x120(%rbp)
mulsd %xmm1, %xmm0
movq -0x18(%rbp), %rax
movsd %xmm0, 0xd8(%rax)
movq -0x10(%rbp), %rdi
movl -0x40(%rbp), %ecx
movl %ecx, %esi
addl $0x101, %esi            # imm = 0x101
addl $0x10e, %ecx            # imm = 0x10E
callq 0x63b30
movl -0xf0(%rbp), %edx
cvtsi2sd %eax, %xmm0
movsd 0x59c8b(%rip), %xmm1    # 0xbcfb8
mulsd %xmm1, %xmm0
movq -0x18(%rbp), %rax
movsd %xmm0, 0xe0(%rax)
movq -0x10(%rbp), %rdi
movl -0x40(%rbp), %esi
addl $0x11f, %esi            # imm = 0x11F
callq 0x8bfc0
movl -0x100(%rbp), %edx
movl %eax, %ecx
movq -0x18(%rbp), %rax
movl %ecx, 0x4(%rax)
movl $0x130, -0x40(%rbp)     # imm = 0x130
movq -0x10(%rbp), %rdi
movl -0x40(%rbp), %esi
addl $0xf, %esi
callq 0x8bfc0
movl -0xfc(%rbp), %edx
movl -0xf8(%rbp), %r8d
movl %eax, -0x48(%rbp)
movq -0x10(%rbp), %rdi
movl -0x40(%rbp), %ecx
movl %ecx, %esi
addl $0x12, %esi
addl $0x1e, %ecx
callq 0x63ae0
movl -0x124(%rbp), %r8d
movl -0xf4(%rbp), %edx
movl %eax, -0x38(%rbp)
movq -0x10(%rbp), %rdi
movl -0x40(%rbp), %ecx
movl %ecx, %esi
addl $0x2a, %esi
addl $0x3c, %ecx
callq 0x63b30
cvtsi2sd %eax, %xmm0
movsd 0x5baa0(%rip), %xmm1    # 0xbee68
movsd %xmm1, -0xd8(%rbp)
mulsd %xmm1, %xmm0
movsd 0x5a97c(%rip), %xmm1    # 0xbdd58
movsd %xmm1, -0xc0(%rbp)
mulsd %xmm1, %xmm0
movq -0x18(%rbp), %rax
movsd %xmm0, 0x80(%rax)
movq -0x10(%rbp), %rdi
movl -0x40(%rbp), %ecx
movl %ecx, %esi
addl $0x42, %esi
addl $0x5a, %ecx
movl $0x10, %edx
movl $0x2, %r8d
movl %r8d, -0x104(%rbp)
callq 0x63b30
movl -0xf8(%rbp), %r8d
cvtsi2sd %eax, %xmm0
movsd 0x59bab(%rip), %xmm1    # 0xbcfd8
movsd %xmm1, -0xc8(%rbp)
mulsd %xmm1, %xmm0
movq -0x18(%rbp), %rax
movsd %xmm0, 0xa8(%rax)
movq -0x10(%rbp), %rdi
movl -0x40(%rbp), %ecx
movl %ecx, %esi
addl $0x5c, %esi
addl $0x78, %ecx
movl $0x14, %edx
movl %edx, -0x108(%rbp)
callq 0x63b30
movl -0xf4(%rbp), %edx
movsd -0xc8(%rbp), %xmm2
movsd -0xc0(%rbp), %xmm1
cvtsi2sd %eax, %xmm0
mulsd %xmm2, %xmm0
mulsd %xmm1, %xmm0
movq -0x18(%rbp), %rax
movsd %xmm0, 0x78(%rax)
movq -0x10(%rbp), %rdi
movl -0x40(%rbp), %ecx
movl %ecx, %esi
addl $0x84, %esi
addl $0x96, %ecx
movl $0x16, %r8d
callq 0x63ae0
movsd -0x120(%rbp), %xmm1
movl %eax, %eax
cvtsi2sd %rax, %xmm0
mulsd %xmm1, %xmm0
movq -0x18(%rbp), %rax
movsd %xmm0, 0x58(%rax)
movq -0x10(%rbp), %rdi
movl -0x40(%rbp), %esi
addl $0xb4, %esi
movl $0x12, %edx
callq 0x8c050
movl -0x114(%rbp), %edx
movsd -0xc8(%rbp), %xmm1
cvtsi2sd %eax, %xmm0
mulsd %xmm1, %xmm0
movq -0x18(%rbp), %rax
movsd %xmm0, 0xb0(%rax)
movq -0x10(%rbp), %rdi
movl -0x40(%rbp), %ecx
movl %ecx, %esi
addl $0xc6, %esi
addl $0xd2, %ecx
movl $0xe, %r8d
callq 0x63b30
movl -0xfc(%rbp), %edx
movl -0xf4(%rbp), %r8d
cvtsi2sd %eax, %xmm0
movsd 0x59a8b(%rip), %xmm1    # 0xbcfc8
movsd %xmm1, -0x110(%rbp)
mulsd %xmm1, %xmm0
movq -0x18(%rbp), %rax
movsd %xmm0, 0x98(%rax)
movq -0x10(%rbp), %rdi
movl -0x40(%rbp), %ecx
movl %ecx, %esi
addl $0xe0, %esi
addl $0xf0, %ecx
callq 0x63b30
movsd -0x110(%rbp), %xmm1
movl -0x108(%rbp), %r8d
movl -0xf8(%rbp), %edx
cvtsi2sd %eax, %xmm0
mulsd %xmm1, %xmm0
movq -0x18(%rbp), %rax
movsd %xmm0, 0xa0(%rax)
movq -0x10(%rbp), %rdi
movl -0x40(%rbp), %ecx
movl %ecx, %esi
addl $0xfa, %esi
addl $0x10e, %ecx            # imm = 0x10E
callq 0x63ae0
movl -0x104(%rbp), %edx
movl %eax, %eax
cvtsi2sd %rax, %xmm0
movsd 0x59a19(%rip), %xmm1    # 0xbcfe0
mulsd %xmm1, %xmm0
movsd %xmm0, -0x28(%rbp)
movq -0x10(%rbp), %rdi
movl -0x40(%rbp), %esi
addl $0x122, %esi            # imm = 0x122
callq 0x8bfc0
movl -0x100(%rbp), %edx
movl %eax, -0x2c(%rbp)
movsd -0x28(%rbp), %xmm0
mulsd %xmm0, %xmm0
movq -0x18(%rbp), %rax
movsd %xmm0, 0x50(%rax)
movl $0x260, -0x40(%rbp)     # imm = 0x260
movq -0x10(%rbp), %rdi
movl -0x40(%rbp), %esi
addl $0xf, %esi
callq 0x8bfc0
movl -0xfc(%rbp), %edx
movl -0xf8(%rbp), %r8d
movl %eax, -0x4c(%rbp)
movq -0x10(%rbp), %rdi
movl -0x40(%rbp), %ecx
movl %ecx, %esi
addl $0x12, %esi
addl $0x1e, %ecx
callq 0x63ae0
movl -0xf4(%rbp), %edx
movl -0xf0(%rbp), %r8d
movl %eax, -0x3c(%rbp)
movq -0x10(%rbp), %rdi
movl -0x40(%rbp), %ecx
movl %ecx, %esi
addl $0x2a, %esi
addl $0x3c, %ecx
callq 0x63ae0
movl -0xec(%rbp), %edx
movl %eax, -0x30(%rbp)
movq -0x10(%rbp), %rdi
movl -0x40(%rbp), %ecx
movl %ecx, %esi
addl $0x41, %esi
addl $0x5a, %ecx
movl $0xf, %r8d
movl %r8d, -0xb4(%rbp)
callq 0x63b30
movl -0xe8(%rbp), %edx
movl -0xd0(%rbp), %r8d
movsd -0xc8(%rbp), %xmm2
movsd -0xc0(%rbp), %xmm1
cvtsi2sd %eax, %xmm0
mulsd %xmm2, %xmm0
mulsd %xmm1, %xmm0
movq -0x18(%rbp), %rax
movsd %xmm0, 0x60(%rax)
movq -0x10(%rbp), %rdi
movl -0x40(%rbp), %ecx
movl %ecx, %esi
addl $0x69, %esi
addl $0x78, %ecx
callq 0x63b30
movl -0xe0(%rbp), %r8d
movl -0xd0(%rbp), %edx
movsd -0xc8(%rbp), %xmm1
cvtsi2sd %eax, %xmm0
mulsd %xmm1, %xmm0
movq -0x18(%rbp), %rax
movsd %xmm0, 0xb8(%rax)
movq -0x10(%rbp), %rdi
movl -0x40(%rbp), %ecx
movl %ecx, %esi
addl $0x83, %esi
addl $0x96, %ecx
callq 0x63b30
movl -0xe4(%rbp), %r8d
movsd -0xd8(%rbp), %xmm2
movsd -0xc0(%rbp), %xmm1
cvtsi2sd %eax, %xmm0
mulsd %xmm2, %xmm0
mulsd %xmm1, %xmm0
movq -0x18(%rbp), %rax
movsd %xmm0, 0x88(%rax)
movq -0x10(%rbp), %rdi
movl -0x40(%rbp), %ecx
movl %ecx, %esi
addl $0xa3, %esi
addl $0xb4, %ecx
movl %r8d, %edx
callq 0x63b30
movl -0xe0(%rbp), %edx
movl -0xdc(%rbp), %r8d
movsd -0xc8(%rbp), %xmm1
cvtsi2sd %eax, %xmm0
mulsd %xmm1, %xmm0
movq -0x18(%rbp), %rax
movsd %xmm0, 0xc0(%rax)
movq -0x10(%rbp), %rdi
movl -0x40(%rbp), %ecx
movl %ecx, %esi
addl $0xbd, %esi
addl $0xd2, %ecx
callq 0x63b30
movsd -0xd8(%rbp), %xmm2
movl -0xd0(%rbp), %r8d
movsd -0xc0(%rbp), %xmm1
cvtsi2sd %eax, %xmm0
mulsd %xmm2, %xmm0
mulsd %xmm1, %xmm0
movq -0x18(%rbp), %rax
movsd %xmm0, 0x90(%rax)
movq -0x10(%rbp), %rdi
movl -0x40(%rbp), %ecx
movl %ecx, %esi
addl $0xd3, %esi
addl $0xf0, %ecx
movl $0x15, %edx
movl %edx, -0xcc(%rbp)
callq 0x63b30
movl -0xd0(%rbp), %edx
movl -0xcc(%rbp), %r8d
movsd -0xc8(%rbp), %xmm2
movsd -0xc0(%rbp), %xmm1
cvtsi2sd %eax, %xmm0
mulsd %xmm2, %xmm0
mulsd %xmm1, %xmm0
movq -0x18(%rbp), %rax
movsd %xmm0, 0x68(%rax)
movq -0x10(%rbp), %rdi
movl -0x40(%rbp), %ecx
movl %ecx, %esi
addl $0xfb, %esi
addl $0x10e, %ecx            # imm = 0x10E
callq 0x63b30
movsd -0xc8(%rbp), %xmm2
movsd -0xc0(%rbp), %xmm1
movl -0xb4(%rbp), %edx
cvtsi2sd %eax, %xmm0
mulsd %xmm2, %xmm0
mulsd %xmm1, %xmm0
movq -0x18(%rbp), %rax
movsd %xmm0, 0x70(%rax)
movl -0x2c(%rbp), %edi
movl -0x30(%rbp), %esi
callq 0x63bc0
movl %eax, %eax
cvtsi2sd %rax, %xmm0
movsd 0x596f6(%rip), %xmm1    # 0xbcf78
mulsd %xmm1, %xmm0
movq -0x18(%rbp), %rax
movsd %xmm0, 0xc8(%rax)
cmpl $0x1, -0x44(%rbp)
jne 0x638a4
cmpl $0x2, -0x48(%rbp)
jne 0x638a4
cmpl $0x3, -0x4c(%rbp)
je 0x638cd
movl -0x44(%rbp), %edx
movl -0x48(%rbp), %ecx
movl -0x4c(%rbp), %r8d
movl $0x3, %edi
leaq 0x5b8e2(%rip), %rsi     # 0xbf19c
movb $0x0, %al
callq 0x8b980
movl $0x0, -0x4(%rbp)
jmp 0x63ad3
movl -0x38(%rbp), %eax
movl -0x34(%rbp), %ecx
addl $0x6, %ecx
cmpl %ecx, %eax
jne 0x638e7
movl -0x3c(%rbp), %eax
movl -0x38(%rbp), %ecx
addl $0x6, %ecx
cmpl %ecx, %eax
je 0x63910
movl -0x34(%rbp), %edx
movl -0x38(%rbp), %ecx
movl -0x3c(%rbp), %r8d
movl $0x3, %edi
leaq 0x5b8c2(%rip), %rsi     # 0xbf1bf
movb $0x0, %al
callq 0x8b980
movl $0x0, -0x4(%rbp)
jmp 0x63ad3
movsd -0x20(%rbp), %xmm0
movq -0x18(%rbp), %rax
ucomisd 0xc8(%rax), %xmm0
jne 0x63927
jp 0x63927
jmp 0x63957
movq -0x18(%rbp), %rax
movsd 0xc8(%rax), %xmm0
movsd -0x20(%rbp), %xmm1
movl $0x3, %edi
leaq 0x5b89e(%rip), %rsi     # 0xbf1e2
movb $0x2, %al
callq 0x8b980
movl $0x0, -0x4(%rbp)
jmp 0x63ad3
movq -0x18(%rbp), %rax
movl 0x14(%rax), %edi
movl -0x34(%rbp), %eax
cvtsi2sd %rax, %xmm0
callq 0x8e720
movq %rax, -0x70(%rbp)
movsd %xmm0, -0x68(%rbp)
movq -0x70(%rbp), %rdi
movsd -0x68(%rbp), %xmm0
callq 0x8f210
movq %rax, -0x60(%rbp)
movsd %xmm0, -0x58(%rbp)
movq -0x18(%rbp), %rax
movups -0x60(%rbp), %xmm0
movups %xmm0, 0x40(%rax)
movq -0x18(%rbp), %rax
movsd 0xc8(%rax), %xmm0
movl -0x34(%rbp), %eax
cvtsi2sd %rax, %xmm1
movsd 0x5a3ad(%rip), %xmm2    # 0xbdd60
addsd %xmm2, %xmm1
ucomisd %xmm1, %xmm0
jbe 0x639cc
movq -0x18(%rbp), %rax
movl 0x14(%rax), %ecx
addl $0x1, %ecx
movl %ecx, 0x14(%rax)
jmp 0x63a01
movq -0x18(%rbp), %rax
movsd 0xc8(%rax), %xmm1
movl -0x34(%rbp), %eax
cvtsi2sd %rax, %xmm0
movsd 0x5a378(%rip), %xmm2    # 0xbdd60
subsd %xmm2, %xmm0
ucomisd %xmm1, %xmm0
jbe 0x639ff
movq -0x18(%rbp), %rax
movl 0x14(%rax), %ecx
addl $-0x1, %ecx
movl %ecx, 0x14(%rax)
jmp 0x63a01
movq -0x18(%rbp), %rax
movl 0x14(%rax), %edi
movq -0x18(%rbp), %rax
movsd 0xc8(%rax), %xmm0
callq 0x8e720
movq %rax, -0x90(%rbp)
movsd %xmm0, -0x88(%rbp)
movq -0x90(%rbp), %rdi
movsd -0x88(%rbp), %xmm0
callq 0x8f210
movq %rax, -0x80(%rbp)
movsd %xmm0, -0x78(%rbp)
movq -0x18(%rbp), %rax
movq -0x80(%rbp), %rcx
movq %rcx, 0x20(%rax)
movq -0x78(%rbp), %rcx
movq %rcx, 0x28(%rax)
movq -0x18(%rbp), %rax
movl 0x14(%rax), %edi
movsd -0x20(%rbp), %xmm0
callq 0x8e720
movq %rax, -0xb0(%rbp)
movsd %xmm0, -0xa8(%rbp)
movq -0xb0(%rbp), %rdi
movsd -0xa8(%rbp), %xmm0
callq 0x8f210
movq %rax, -0xa0(%rbp)
movsd %xmm0, -0x98(%rbp)
movq -0x18(%rbp), %rax
movq -0xa0(%rbp), %rcx
movq %rcx, 0x30(%rax)
movq -0x98(%rbp), %rcx
movq %rcx, 0x38(%rax)
movq -0x18(%rbp), %rax
movl $0x0, 0x18(%rax)
movq -0x18(%rbp), %rax
movl $0x1, 0x1c(%rax)
movl $0x1, -0x4(%rbp)
movl -0x4(%rbp), %eax
addq $0x140, %rsp            # imm = 0x140
popq %rbp
retq
nop