// File: DoubleString[P]RtConverter/src/Rtklib/rtcm3.cpp
// Function: bamboo::decode_type1045(bamboo::rtcm_t*)
static int decode_type1045(rtcm_t *rtcm)
{
    eph_t eph={0};
    double toc,sqrtA;
    char *msg;
    int i=24+12,prn,sat,week,e5a_hs,e5a_dvs,rsv,sys=SYS_GAL;
    
    if (i+484<=rtcm->len*8) {
        prn       =getbitu(rtcm->buff,i, 6);              i+= 6;
        week      =getbitu(rtcm->buff,i,12);              i+=12; /* gst-week */
        eph.iode  =getbitu(rtcm->buff,i,10);              i+=10;
        eph.sva   =getbitu(rtcm->buff,i, 8);              i+= 8;
        eph.idot  =getbits(rtcm->buff,i,14)*P2_43*SC2RAD; i+=14;
        toc       =getbitu(rtcm->buff,i,14)*60.0;         i+=14;
        eph.f2    =getbits(rtcm->buff,i, 6)*P2_59;        i+= 6;
        eph.f1    =getbits(rtcm->buff,i,21)*P2_46;        i+=21;
        eph.f0    =getbits(rtcm->buff,i,31)*P2_34;        i+=31;
        eph.crs   =getbits(rtcm->buff,i,16)*P2_5;         i+=16;
        eph.deln  =getbits(rtcm->buff,i,16)*P2_43*SC2RAD; i+=16;
        eph.M0    =getbits(rtcm->buff,i,32)*P2_31*SC2RAD; i+=32;
        eph.cuc   =getbits(rtcm->buff,i,16)*P2_29;        i+=16;
        eph.e     =getbitu(rtcm->buff,i,32)*P2_33;        i+=32;
        eph.cus   =getbits(rtcm->buff,i,16)*P2_29;        i+=16;
        sqrtA     =getbitu(rtcm->buff,i,32)*P2_19;        i+=32;
        eph.toes  =getbitu(rtcm->buff,i,14)*60.0;         i+=14;
        eph.cic   =getbits(rtcm->buff,i,16)*P2_29;        i+=16;
        eph.OMG0  =getbits(rtcm->buff,i,32)*P2_31*SC2RAD; i+=32;
        eph.cis   =getbits(rtcm->buff,i,16)*P2_29;        i+=16;
        eph.i0    =getbits(rtcm->buff,i,32)*P2_31*SC2RAD; i+=32;
        eph.crc   =getbits(rtcm->buff,i,16)*P2_5;         i+=16;
        eph.omg   =getbits(rtcm->buff,i,32)*P2_31*SC2RAD; i+=32;
        eph.OMGd  =getbits(rtcm->buff,i,24)*P2_43*SC2RAD; i+=24;
        eph.tgd[0]=getbits(rtcm->buff,i,10)*P2_32;        i+=10; /* E5a/E1 */
        e5a_hs    =getbitu(rtcm->buff,i, 2);              i+= 2; /* OSHS */
        e5a_dvs   =getbitu(rtcm->buff,i, 1);              i+= 1; /* OSDVS */
        rsv       =getbitu(rtcm->buff,i, 7);
    }
    else {
        trace(2,"rtcm3 1045 length error: len=%d\n",rtcm->len);
        return -1;
    }
    trace(4,"decode_type1045: prn=%d iode=%d toe=%.0f\n",prn,eph.iode,eph.toes);
    
    if (rtcm->outtype) {
        msg=rtcm->msgtype+strlen(rtcm->msgtype);
        sprintf(msg," prn=%2d iode=%3d week=%d toe=%6.0f toc=%6.0f hs=%d dvs=%d",
                prn,eph.iode,week,eph.toes,toc,e5a_hs,e5a_dvs);
    }
    if (!(sat=satno(sys,prn))) {
        trace(2,"rtcm3 1045 satellite number error: prn=%d\n",prn);
        return -1;
    }
    if (strstr(rtcm->opt,"-GALINAV")) {
        return 0;
    }
    eph.sat=sat;
    eph.week=week+1024; /* gal-week = gst-week + 1024 */
    eph.toe=gpst2time(eph.week,eph.toes);
    eph.toc=gpst2time(eph.week,toc);
    eph.ttr=rtcm->time;
    eph.A=sqrtA*sqrtA;
    eph.svh=(e5a_hs<<4)+(e5a_dvs<<3);
    eph.code=(1<<1)|(1<<8); /* data source = f/nav e5a + af0-2,toc,sisa for e5a-e1 */
    if (!strstr(rtcm->opt,"-EPHALL")) {
        if (eph.iode==rtcm->nav.eph[sat-1].iode) return 0; /* unchanged */
    }
    rtcm->nav.eph[sat-1]=eph;
    rtcm->ephsat=sat;
    return 2;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x1d0, %rsp            # imm = 0x1D0
movq %rdi, -0x10(%rbp)
leaq -0x130(%rbp), %rdi
xorl %esi, %esi
movl $0x120, %edx            # imm = 0x120
callq 0x93d0
movl $0x24, -0x14c(%rbp)
movl $0x8, -0x168(%rbp)
movl -0x14c(%rbp), %eax
addl $0x1e4, %eax            # imm = 0x1E4
movq -0x10(%rbp), %rcx
movl 0x9f0c0(%rcx), %ecx
shll $0x3, %ecx
cmpl %ecx, %eax
jg 0x742f3
movq -0x10(%rbp), %rdi
addq $0x9f0c4, %rdi          # imm = 0x9F0C4
movl -0x14c(%rbp), %esi
movl $0x6, %edx
movl %edx, -0x1b4(%rbp)
callq 0x8bfc0
movl %eax, -0x150(%rbp)
movl -0x14c(%rbp), %eax
addl $0x6, %eax
movl %eax, -0x14c(%rbp)
movq -0x10(%rbp), %rdi
addq $0x9f0c4, %rdi          # imm = 0x9F0C4
movl -0x14c(%rbp), %esi
movl $0xc, %edx
callq 0x8bfc0
movl %eax, -0x158(%rbp)
movl -0x14c(%rbp), %eax
addl $0xc, %eax
movl %eax, -0x14c(%rbp)
movq -0x10(%rbp), %rdi
addq $0x9f0c4, %rdi          # imm = 0x9F0C4
movl -0x14c(%rbp), %esi
movl $0xa, %edx
callq 0x8bfc0
movl %eax, -0x12c(%rbp)
movl -0x14c(%rbp), %eax
addl $0xa, %eax
movl %eax, -0x14c(%rbp)
movq -0x10(%rbp), %rdi
addq $0x9f0c4, %rdi          # imm = 0x9F0C4
movl -0x14c(%rbp), %esi
movl $0x8, %edx
callq 0x8bfc0
movl %eax, -0x124(%rbp)
movl -0x14c(%rbp), %eax
addl $0x8, %eax
movl %eax, -0x14c(%rbp)
movq -0x10(%rbp), %rdi
addq $0x9f0c4, %rdi          # imm = 0x9F0C4
movl -0x14c(%rbp), %esi
movl $0xe, %edx
movl %edx, -0x18c(%rbp)
callq 0x8c050
movl -0x18c(%rbp), %edx
cvtsi2sd %eax, %xmm0
movsd 0x4b1a9(%rip), %xmm1    # 0xbee68
movsd %xmm1, -0x1b0(%rbp)
mulsd %xmm1, %xmm0
movsd 0x4a085(%rip), %xmm1    # 0xbdd58
movsd %xmm1, -0x1a8(%rbp)
mulsd %xmm1, %xmm0
movsd %xmm0, -0xa0(%rbp)
movl -0x14c(%rbp), %eax
addl $0xe, %eax
movl %eax, -0x14c(%rbp)
movq -0x10(%rbp), %rdi
addq $0x9f0c4, %rdi          # imm = 0x9F0C4
movl -0x14c(%rbp), %esi
callq 0x8bfc0
movl -0x1b4(%rbp), %edx
movl %eax, %eax
cvtsi2sd %rax, %xmm0
movsd 0x490f7(%rip), %xmm1    # 0xbce18
mulsd %xmm1, %xmm0
movsd %xmm0, -0x138(%rbp)
movl -0x14c(%rbp), %eax
addl $0xe, %eax
movl %eax, -0x14c(%rbp)
movq -0x10(%rbp), %rdi
addq $0x9f0c4, %rdi          # imm = 0x9F0C4
movl -0x14c(%rbp), %esi
callq 0x8c050
cvtsi2sd %eax, %xmm0
movsd 0x4b0ea(%rip), %xmm1    # 0xbee48
mulsd %xmm1, %xmm0
movsd %xmm0, -0x48(%rbp)
movl -0x14c(%rbp), %eax
addl $0x6, %eax
movl %eax, -0x14c(%rbp)
movq -0x10(%rbp), %rdi
addq $0x9f0c4, %rdi          # imm = 0x9F0C4
movl -0x14c(%rbp), %esi
movl $0x15, %edx
callq 0x8c050
cvtsi2sd %eax, %xmm0
movsd 0x4b0b3(%rip), %xmm1    # 0xbee50
mulsd %xmm1, %xmm0
movsd %xmm0, -0x50(%rbp)
movl -0x14c(%rbp), %eax
addl $0x15, %eax
movl %eax, -0x14c(%rbp)
movq -0x10(%rbp), %rdi
addq $0x9f0c4, %rdi          # imm = 0x9F0C4
movl -0x14c(%rbp), %esi
movl $0x1f, %edx
callq 0x8c050
cvtsi2sd %eax, %xmm0
movsd 0x4b07c(%rip), %xmm1    # 0xbee58
mulsd %xmm1, %xmm0
movsd %xmm0, -0x58(%rbp)
movl -0x14c(%rbp), %eax
addl $0x1f, %eax
movl %eax, -0x14c(%rbp)
movq -0x10(%rbp), %rdi
addq $0x9f0c4, %rdi          # imm = 0x9F0C4
movl -0x14c(%rbp), %esi
movl $0x10, %edx
movl %edx, -0x19c(%rbp)
callq 0x8c050
movl -0x19c(%rbp), %edx
cvtsi2sd %eax, %xmm0
movsd 0x4b051(%rip), %xmm1    # 0xbee78
mulsd %xmm1, %xmm0
movsd %xmm0, -0x90(%rbp)
movl -0x14c(%rbp), %eax
addl $0x10, %eax
movl %eax, -0x14c(%rbp)
movq -0x10(%rbp), %rdi
addq $0x9f0c4, %rdi          # imm = 0x9F0C4
movl -0x14c(%rbp), %esi
callq 0x8c050
movsd -0x1b0(%rbp), %xmm2
movsd -0x1a8(%rbp), %xmm1
cvtsi2sd %eax, %xmm0
mulsd %xmm2, %xmm0
mulsd %xmm1, %xmm0
movsd %xmm0, -0xb0(%rbp)
movl -0x14c(%rbp), %eax
addl $0x10, %eax
movl %eax, -0x14c(%rbp)
movq -0x10(%rbp), %rdi
addq $0x9f0c4, %rdi          # imm = 0x9F0C4
movl -0x14c(%rbp), %esi
movl $0x20, %edx
movl %edx, -0x190(%rbp)
callq 0x8c050
movsd -0x1a8(%rbp), %xmm1
movl -0x19c(%rbp), %edx
cvtsi2sd %eax, %xmm0
movsd 0x49112(%rip), %xmm2    # 0xbcfd8
mulsd %xmm2, %xmm0
mulsd %xmm1, %xmm0
movsd %xmm0, -0xb8(%rbp)
movl -0x14c(%rbp), %eax
addl $0x20, %eax
movl %eax, -0x14c(%rbp)
movq -0x10(%rbp), %rdi
addq $0x9f0c4, %rdi          # imm = 0x9F0C4
movl -0x14c(%rbp), %esi
callq 0x8c050
movl -0x190(%rbp), %edx
cvtsi2sd %eax, %xmm0
movsd 0x4af63(%rip), %xmm1    # 0xbee70
movsd %xmm1, -0x198(%rbp)
mulsd %xmm1, %xmm0
movsd %xmm0, -0x88(%rbp)
movl -0x14c(%rbp), %eax
addl $0x10, %eax
movl %eax, -0x14c(%rbp)
movq -0x10(%rbp), %rdi
addq $0x9f0c4, %rdi          # imm = 0x9F0C4
movl -0x14c(%rbp), %esi
callq 0x8bfc0
movl -0x19c(%rbp), %edx
movl %eax, %eax
cvtsi2sd %rax, %xmm0
movsd 0x4af05(%rip), %xmm1    # 0xbee60
mulsd %xmm1, %xmm0
movsd %xmm0, -0xd8(%rbp)
movl -0x14c(%rbp), %eax
addl $0x20, %eax
movl %eax, -0x14c(%rbp)
movq -0x10(%rbp), %rdi
addq $0x9f0c4, %rdi          # imm = 0x9F0C4
movl -0x14c(%rbp), %esi
callq 0x8c050
movsd -0x198(%rbp), %xmm1
movl -0x190(%rbp), %edx
cvtsi2sd %eax, %xmm0
mulsd %xmm1, %xmm0
movsd %xmm0, -0x80(%rbp)
movl -0x14c(%rbp), %eax
addl $0x10, %eax
movl %eax, -0x14c(%rbp)
movq -0x10(%rbp), %rdi
addq $0x9f0c4, %rdi          # imm = 0x9F0C4
movl -0x14c(%rbp), %esi
callq 0x8bfc0
movl -0x18c(%rbp), %edx
movl %eax, %eax
cvtsi2sd %rax, %xmm0
movsd 0x48fff(%rip), %xmm1    # 0xbcfe0
mulsd %xmm1, %xmm0
movsd %xmm0, -0x140(%rbp)
movl -0x14c(%rbp), %eax
addl $0x20, %eax
movl %eax, -0x14c(%rbp)
movq -0x10(%rbp), %rdi
addq $0x9f0c4, %rdi          # imm = 0x9F0C4
movl -0x14c(%rbp), %esi
callq 0x8bfc0
movl %eax, %eax
cvtsi2sd %rax, %xmm0
movsd 0x48df7(%rip), %xmm1    # 0xbce18
mulsd %xmm1, %xmm0
movsd %xmm0, -0x68(%rbp)
movl -0x14c(%rbp), %eax
addl $0xe, %eax
movl %eax, -0x14c(%rbp)
movq -0x10(%rbp), %rdi
addq $0x9f0c4, %rdi          # imm = 0x9F0C4
movl -0x14c(%rbp), %esi
movl $0x10, %edx
callq 0x8c050
cvtsi2sd %eax, %xmm0
movsd 0x4ae10(%rip), %xmm1    # 0xbee70
mulsd %xmm1, %xmm0
movsd %xmm0, -0x78(%rbp)
movl -0x14c(%rbp), %eax
addl $0x10, %eax
movl %eax, -0x14c(%rbp)
movq -0x10(%rbp), %rdi
addq $0x9f0c4, %rdi          # imm = 0x9F0C4
movl -0x14c(%rbp), %esi
movl $0x20, %edx
callq 0x8c050
cvtsi2sd %eax, %xmm0
movsd 0x48f39(%rip), %xmm1    # 0xbcfd8
mulsd %xmm1, %xmm0
movsd 0x49cad(%rip), %xmm1    # 0xbdd58
mulsd %xmm1, %xmm0
movsd %xmm0, -0xc8(%rbp)
movl -0x14c(%rbp), %eax
addl $0x20, %eax
movl %eax, -0x14c(%rbp)
movq -0x10(%rbp), %rdi
addq $0x9f0c4, %rdi          # imm = 0x9F0C4
movl -0x14c(%rbp), %esi
movl $0x10, %edx
callq 0x8c050
cvtsi2sd %eax, %xmm0
movsd 0x4ad83(%rip), %xmm1    # 0xbee70
mulsd %xmm1, %xmm0
movsd %xmm0, -0x70(%rbp)
movl -0x14c(%rbp), %eax
addl $0x10, %eax
movl %eax, -0x14c(%rbp)
movq -0x10(%rbp), %rdi
addq $0x9f0c4, %rdi          # imm = 0x9F0C4
movl -0x14c(%rbp), %esi
movl $0x20, %edx
callq 0x8c050
cvtsi2sd %eax, %xmm0
movsd 0x48eac(%rip), %xmm1    # 0xbcfd8
mulsd %xmm1, %xmm0
movsd 0x49c20(%rip), %xmm1    # 0xbdd58
mulsd %xmm1, %xmm0
movsd %xmm0, -0xd0(%rbp)
movl -0x14c(%rbp), %eax
addl $0x20, %eax
movl %eax, -0x14c(%rbp)
movq -0x10(%rbp), %rdi
addq $0x9f0c4, %rdi          # imm = 0x9F0C4
movl -0x14c(%rbp), %esi
movl $0x10, %edx
callq 0x8c050
cvtsi2sd %eax, %xmm0
movsd 0x4acfe(%rip), %xmm1    # 0xbee78
mulsd %xmm1, %xmm0
movsd %xmm0, -0x98(%rbp)
movl -0x14c(%rbp), %eax
addl $0x10, %eax
movl %eax, -0x14c(%rbp)
movq -0x10(%rbp), %rdi
addq $0x9f0c4, %rdi          # imm = 0x9F0C4
movl -0x14c(%rbp), %esi
movl $0x20, %edx
callq 0x8c050
cvtsi2sd %eax, %xmm0
movsd 0x48e1c(%rip), %xmm1    # 0xbcfd8
mulsd %xmm1, %xmm0
movsd 0x49b90(%rip), %xmm1    # 0xbdd58
mulsd %xmm1, %xmm0
movsd %xmm0, -0xc0(%rbp)
movl -0x14c(%rbp), %eax
addl $0x20, %eax
movl %eax, -0x14c(%rbp)
movq -0x10(%rbp), %rdi
addq $0x9f0c4, %rdi          # imm = 0x9F0C4
movl -0x14c(%rbp), %esi
movl $0x18, %edx
callq 0x8c050
cvtsi2sd %eax, %xmm0
movsd 0x4ac5e(%rip), %xmm1    # 0xbee68
mulsd %xmm1, %xmm0
movsd 0x49b42(%rip), %xmm1    # 0xbdd58
mulsd %xmm1, %xmm0
movsd %xmm0, -0xa8(%rbp)
movl -0x14c(%rbp), %eax
addl $0x18, %eax
movl %eax, -0x14c(%rbp)
movq -0x10(%rbp), %rdi
addq $0x9f0c4, %rdi          # imm = 0x9F0C4
movl -0x14c(%rbp), %esi
movl $0xa, %edx
callq 0x8c050
cvtsi2sd %eax, %xmm0
movsd 0x4abe8(%rip), %xmm1    # 0xbee40
mulsd %xmm1, %xmm0
movsd %xmm0, -0x40(%rbp)
movl -0x14c(%rbp), %eax
addl $0xa, %eax
movl %eax, -0x14c(%rbp)
movq -0x10(%rbp), %rdi
addq $0x9f0c4, %rdi          # imm = 0x9F0C4
movl -0x14c(%rbp), %esi
movl $0x2, %edx
callq 0x8bfc0
movl %eax, -0x15c(%rbp)
movl -0x14c(%rbp), %eax
addl $0x2, %eax
movl %eax, -0x14c(%rbp)
movq -0x10(%rbp), %rdi
addq $0x9f0c4, %rdi          # imm = 0x9F0C4
movl -0x14c(%rbp), %esi
movl $0x1, %edx
callq 0x8bfc0
movl %eax, -0x160(%rbp)
movl -0x14c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x14c(%rbp)
movq -0x10(%rbp), %rdi
addq $0x9f0c4, %rdi          # imm = 0x9F0C4
movl -0x14c(%rbp), %esi
movl $0x7, %edx
callq 0x8bfc0
movl %eax, -0x164(%rbp)
jmp 0x7431c
movq -0x10(%rbp), %rax
movl 0x9f0c0(%rax), %edx
movl $0x2, %edi
leaq 0x4d581(%rip), %rsi     # 0xc188a
movb $0x0, %al
callq 0x8b980
movl $0xffffffff, -0x4(%rbp) # imm = 0xFFFFFFFF
jmp 0x745b6
movl -0x150(%rbp), %edx
movl -0x12c(%rbp), %ecx
movsd -0x68(%rbp), %xmm0
movl $0x4, %edi
leaq 0x4d572(%rip), %rsi     # 0xc18ab
movb $0x1, %al
callq 0x8b980
movq -0x10(%rbp), %rax
cmpl $0x0, 0xc(%rax)
je 0x743c4
movq -0x10(%rbp), %rax
addq $0x9b9d0, %rax          # imm = 0x9B9D0
movq %rax, -0x1c0(%rbp)
movq -0x10(%rbp), %rdi
addq $0x9b9d0, %rdi          # imm = 0x9B9D0
callq 0x92e0
movq %rax, %rcx
movq -0x1c0(%rbp), %rax
addq %rcx, %rax
movq %rax, -0x148(%rbp)
movq -0x148(%rbp), %rdi
movl -0x150(%rbp), %edx
movl -0x12c(%rbp), %ecx
movl -0x158(%rbp), %r8d
movsd -0x68(%rbp), %xmm0
movsd -0x138(%rbp), %xmm1
movl -0x15c(%rbp), %r9d
movl -0x160(%rbp), %eax
leaq 0x4d51b(%rip), %rsi     # 0xc18d5
movl %eax, (%rsp)
movb $0x2, %al
callq 0x9150
movl -0x168(%rbp), %edi
movl -0x150(%rbp), %esi
callq 0x8b1b0
movl %eax, -0x154(%rbp)
cmpl $0x0, %eax
jne 0x74405
movl -0x150(%rbp), %edx
movl $0x2, %edi
leaq 0x4d51e(%rip), %rsi     # 0xc1910
movb $0x0, %al
callq 0x8b980
movl $0xffffffff, -0x4(%rbp) # imm = 0xFFFFFFFF
jmp 0x745b6
movq -0x10(%rbp), %rdi
addq $0x9fd48, %rdi          # imm = 0x9FD48
leaq 0x4a52b(%rip), %rsi     # 0xbe942
callq 0x91b0
cmpq $0x0, %rax
je 0x7442e
movl $0x0, -0x4(%rbp)
jmp 0x745b6
movl -0x154(%rbp), %eax
movl %eax, -0x130(%rbp)
movl -0x158(%rbp), %eax
addl $0x400, %eax            # imm = 0x400
movl %eax, -0x11c(%rbp)
movl -0x11c(%rbp), %edi
movsd -0x68(%rbp), %xmm0
callq 0x8e4a0
movq %rax, -0x178(%rbp)
movsd %xmm0, -0x170(%rbp)
movq -0x178(%rbp), %rax
movq %rax, -0x110(%rbp)
movq -0x170(%rbp), %rax
movq %rax, -0x108(%rbp)
movl -0x11c(%rbp), %edi
movsd -0x138(%rbp), %xmm0
callq 0x8e4a0
movq %rax, -0x188(%rbp)
movsd %xmm0, -0x180(%rbp)
movq -0x188(%rbp), %rax
movq %rax, -0x100(%rbp)
movq -0x180(%rbp), %rax
movq %rax, -0xf8(%rbp)
movq -0x10(%rbp), %rax
movq 0x10(%rax), %rcx
movq %rcx, -0xf0(%rbp)
movq 0x18(%rax), %rax
movq %rax, -0xe8(%rbp)
movsd -0x140(%rbp), %xmm0
mulsd -0x140(%rbp), %xmm0
movsd %xmm0, -0xe0(%rbp)
movl -0x15c(%rbp), %eax
shll $0x4, %eax
movl -0x160(%rbp), %ecx
shll $0x3, %ecx
addl %ecx, %eax
movl %eax, -0x120(%rbp)
movl $0x102, -0x118(%rbp)    # imm = 0x102
movq -0x10(%rbp), %rdi
addq $0x9fd48, %rdi          # imm = 0x9FD48
leaq 0x4a333(%rip), %rsi     # 0xbe85f
callq 0x91b0
cmpq $0x0, %rax
jne 0x7456e
movl -0x12c(%rbp), %eax
movq -0x10(%rbp), %rcx
movq 0x80(%rcx), %rcx
movl -0x154(%rbp), %edx
subl $0x1, %edx
movslq %edx, %rdx
imulq $0x120, %rdx, %rdx      # imm = 0x120
addq %rdx, %rcx
cmpl 0x4(%rcx), %eax
jne 0x7456c
movl $0x0, -0x4(%rbp)
jmp 0x745b6
jmp 0x7456e
movq -0x10(%rbp), %rax
movq 0x80(%rax), %rdi
movl -0x154(%rbp), %eax
subl $0x1, %eax
cltq
imulq $0x120, %rax, %rax      # imm = 0x120
addq %rax, %rdi
leaq -0x130(%rbp), %rsi
movl $0x120, %edx            # imm = 0x120
callq 0x9610
movl -0x154(%rbp), %ecx
movq -0x10(%rbp), %rax
movl %ecx, 0x9bdd4(%rax)
movl $0x2, -0x4(%rbp)
movl -0x4(%rbp), %eax
addq $0x1d0, %rsp            # imm = 0x1D0
popq %rbp
retq
nopw %cs:(%rax,%rax)