// File: DoubleString[P]RtConverter/src/Rtklib/rtcm3e.cpp
// Function: bamboo::encode_type1045(bamboo::rtcm_t*, int)
static int encode_type1045(rtcm_t *rtcm, int sync)
{
    eph_t *eph;
    unsigned int sqrtA,e;
    int i=24,prn,week,toe,toc,i0,OMG0,omg,M0,deln,idot,OMGd,crs,crc;
    int cus,cuc,cis,cic,af0,af1,af2,bgd1,bgd2,oshs,osdvs;
    
    trace(3,"encode_type1045: sync=%d\n",sync);
    
    if (satsys(rtcm->ephsat,&prn)!=SYS_GAL) return 0;
    eph=rtcm->nav.eph+rtcm->ephsat-1;
    if (eph->sat!=rtcm->ephsat) return 0;
    week=(eph->week-1024)%4096; /* gst-week = gal-week - 1024 */
    toe  =ROUND(eph->toes/60.0);
    toc  =ROUND(time2gpst(eph->toc,NULL)/60.0);
    sqrtA=ROUND_U(sqrt(eph->A)/P2_19);
    e    =ROUND_U(eph->e/P2_33);
    i0   =ROUND(eph->i0  /P2_31/SC2RAD);
    OMG0 =ROUND(eph->OMG0/P2_31/SC2RAD);
    omg  =ROUND(eph->omg /P2_31/SC2RAD);
    M0   =ROUND(eph->M0  /P2_31/SC2RAD);
    deln =ROUND(eph->deln/P2_43/SC2RAD);
    idot =ROUND(eph->idot/P2_43/SC2RAD);
    OMGd =ROUND(eph->OMGd/P2_43/SC2RAD);
    crs  =ROUND(eph->crs/P2_5 );
    crc  =ROUND(eph->crc/P2_5 );
    cus  =ROUND(eph->cus/P2_29);
    cuc  =ROUND(eph->cuc/P2_29);
    cis  =ROUND(eph->cis/P2_29);
    cic  =ROUND(eph->cic/P2_29);
    af0  =ROUND(eph->f0 /P2_34);
    af1  =ROUND(eph->f1 /P2_46);
    af2  =ROUND(eph->f2 /P2_59);
    bgd1 =ROUND(eph->tgd[0]/P2_32); /* E5a/E1 */
    bgd2 =ROUND(eph->tgd[1]/P2_32); /* E5b/E1 */
    oshs =(eph->svh>>4)&3;          /* E5a SVH */
    osdvs=(eph->svh>>3)&1;          /* E5a DVS */
    setbitu(rtcm->buff,i,12,1045     ); i+=12;
    setbitu(rtcm->buff,i, 6,prn      ); i+= 6;
    setbitu(rtcm->buff,i,12,week     ); i+=12;
    setbitu(rtcm->buff,i,10,eph->iode); i+=10;
    setbitu(rtcm->buff,i, 8,eph->sva ); i+= 8;
    setbits(rtcm->buff,i,14,idot     ); i+=14;
    setbitu(rtcm->buff,i,14,toc      ); i+=14;
    setbits(rtcm->buff,i, 6,af2      ); i+= 6;
    setbits(rtcm->buff,i,21,af1      ); i+=21;
    setbits(rtcm->buff,i,31,af0      ); i+=31;
    setbits(rtcm->buff,i,16,crs      ); i+=16;
    setbits(rtcm->buff,i,16,deln     ); i+=16;
    setbits(rtcm->buff,i,32,M0       ); i+=32;
    setbits(rtcm->buff,i,16,cuc      ); i+=16;
    setbitu(rtcm->buff,i,32,e        ); i+=32;
    setbits(rtcm->buff,i,16,cus      ); i+=16;
    setbitu(rtcm->buff,i,32,sqrtA    ); i+=32;
    setbitu(rtcm->buff,i,14,toe      ); i+=14;
    setbits(rtcm->buff,i,16,cic      ); i+=16;
    setbits(rtcm->buff,i,32,OMG0     ); i+=32;
    setbits(rtcm->buff,i,16,cis      ); i+=16;
    setbits(rtcm->buff,i,32,i0       ); i+=32;
    setbits(rtcm->buff,i,16,crc      ); i+=16;
    setbits(rtcm->buff,i,32,omg      ); i+=32;
    setbits(rtcm->buff,i,24,OMGd     ); i+=24;
    setbits(rtcm->buff,i,10,bgd1     ); i+=10;
    setbitu(rtcm->buff,i, 2,oshs     ); i+= 2; /* E5a SVH */
    setbitu(rtcm->buff,i, 1,osdvs    ); i+= 1; /* E5a DVS */
    setbitu(rtcm->buff,i, 7,0        ); i+= 7; /* reserved */
    rtcm->nbit=i;
    return 1;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xb0, %rsp
movq %rdi, -0x10(%rbp)
movl %esi, -0x14(%rbp)
movl $0x18, -0x2c(%rbp)
movl -0x14(%rbp), %edx
movl $0x3, %edi
leaq 0x3fda2(%rip), %rsi     # 0xc279a
movb $0x0, %al
callq 0x8b980
movq -0x10(%rbp), %rax
movl 0x9bdd4(%rax), %edi
leaq -0x30(%rbp), %rsi
callq 0x8b3b0
cmpl $0x8, %eax
je 0x82a23
movl $0x0, -0x4(%rbp)
jmp 0x8338f
movq -0x10(%rbp), %rax
movq 0x80(%rax), %rax
movq -0x10(%rbp), %rcx
movslq 0x9bdd4(%rcx), %rcx
imulq $0x120, %rcx, %rcx      # imm = 0x120
addq %rcx, %rax
addq $-0x120, %rax           # imm = 0xFEE0
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rax
movl (%rax), %eax
movq -0x10(%rbp), %rcx
cmpl 0x9bdd4(%rcx), %eax
je 0x82a6b
movl $0x0, -0x4(%rbp)
jmp 0x8338f
movq -0x20(%rbp), %rax
movl 0x14(%rax), %edx
movl %edx, %eax
addl $0xfffffc00, %eax       # imm = 0xFFFFFC00
movl %edx, %ecx
addl $0xbff, %ecx            # imm = 0xBFF
testl %eax, %eax
cmovsl %ecx, %eax
andl $0xfffff000, %eax       # imm = 0xFFFFF000
negl %eax
movl %eax, %ecx
movl %edx, %eax
leal -0x400(%rax,%rcx), %eax
movl %eax, -0x34(%rbp)
movq -0x20(%rbp), %rax
movsd 0xc8(%rax), %xmm0
movsd 0x3a369(%rip), %xmm1    # 0xbce18
movsd %xmm1, -0xb0(%rbp)
divsd %xmm1, %xmm0
movsd 0x3a3bd(%rip), %xmm1    # 0xbce80
movsd %xmm1, -0xa8(%rbp)
addsd %xmm1, %xmm0
callq 0x9c90
cvttsd2si %xmm0, %eax
movl %eax, -0x38(%rbp)
movq -0x20(%rbp), %rax
movups 0x30(%rax), %xmm0
movaps %xmm0, -0xa0(%rbp)
movq -0xa0(%rbp), %rdi
movsd -0x98(%rbp), %xmm0
xorl %eax, %eax
movl %eax, %esi
callq 0x8e540
movsd -0xb0(%rbp), %xmm2
movsd -0xa8(%rbp), %xmm1
divsd %xmm2, %xmm0
addsd %xmm1, %xmm0
callq 0x9c90
cvttsd2si %xmm0, %eax
movl %eax, -0x3c(%rbp)
movq -0x20(%rbp), %rax
movsd 0x50(%rax), %xmm0
callq 0x95e0
movsd -0xa8(%rbp), %xmm1
movsd 0x3f264(%rip), %xmm2    # 0xc1da8
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
callq 0x9c90
movsd -0xa8(%rbp), %xmm1
cvttsd2si %xmm0, %rax
movl %eax, -0x24(%rbp)
movq -0x20(%rbp), %rax
movsd 0x58(%rax), %xmm0
movsd 0x3c2ee(%rip), %xmm2    # 0xbee60
divsd %xmm2, %xmm0
addsd %xmm1, %xmm0
callq 0x9c90
cvttsd2si %xmm0, %rax
movl %eax, -0x28(%rbp)
movq -0x20(%rbp), %rax
movsd 0x60(%rax), %xmm0
movsd 0x3a440(%rip), %xmm1    # 0xbcfd8
divsd %xmm1, %xmm0
movsd 0x3b1b4(%rip), %xmm1    # 0xbdd58
divsd %xmm1, %xmm0
movsd 0x3a2d0(%rip), %xmm1    # 0xbce80
addsd %xmm1, %xmm0
callq 0x9c90
cvttsd2si %xmm0, %eax
movl %eax, -0x40(%rbp)
movq -0x20(%rbp), %rax
movsd 0x68(%rax), %xmm0
movsd 0x3a407(%rip), %xmm1    # 0xbcfd8
divsd %xmm1, %xmm0
movsd 0x3b17b(%rip), %xmm1    # 0xbdd58
divsd %xmm1, %xmm0
movsd 0x3a297(%rip), %xmm1    # 0xbce80
addsd %xmm1, %xmm0
callq 0x9c90
cvttsd2si %xmm0, %eax
movl %eax, -0x44(%rbp)
movq -0x20(%rbp), %rax
movsd 0x70(%rax), %xmm0
movsd 0x3a3ce(%rip), %xmm1    # 0xbcfd8
divsd %xmm1, %xmm0
movsd 0x3b142(%rip), %xmm1    # 0xbdd58
divsd %xmm1, %xmm0
movsd 0x3a25e(%rip), %xmm1    # 0xbce80
addsd %xmm1, %xmm0
callq 0x9c90
cvttsd2si %xmm0, %eax
movl %eax, -0x48(%rbp)
movq -0x20(%rbp), %rax
movsd 0x78(%rax), %xmm0
movsd 0x3a395(%rip), %xmm1    # 0xbcfd8
divsd %xmm1, %xmm0
movsd 0x3b109(%rip), %xmm1    # 0xbdd58
divsd %xmm1, %xmm0
movsd 0x3a225(%rip), %xmm1    # 0xbce80
addsd %xmm1, %xmm0
callq 0x9c90
cvttsd2si %xmm0, %eax
movl %eax, -0x4c(%rbp)
movq -0x20(%rbp), %rax
movsd 0x80(%rax), %xmm0
movsd 0x3c1e9(%rip), %xmm1    # 0xbee68
divsd %xmm1, %xmm0
movsd 0x3b0cd(%rip), %xmm1    # 0xbdd58
divsd %xmm1, %xmm0
movsd 0x3a1e9(%rip), %xmm1    # 0xbce80
addsd %xmm1, %xmm0
callq 0x9c90
cvttsd2si %xmm0, %eax
movl %eax, -0x50(%rbp)
movq -0x20(%rbp), %rax
movsd 0x90(%rax), %xmm0
movsd 0x3c1ad(%rip), %xmm1    # 0xbee68
divsd %xmm1, %xmm0
movsd 0x3b091(%rip), %xmm1    # 0xbdd58
divsd %xmm1, %xmm0
movsd 0x3a1ad(%rip), %xmm1    # 0xbce80
addsd %xmm1, %xmm0
callq 0x9c90
cvttsd2si %xmm0, %eax
movl %eax, -0x54(%rbp)
movq -0x20(%rbp), %rax
movsd 0x88(%rax), %xmm0
movsd 0x3c171(%rip), %xmm1    # 0xbee68
divsd %xmm1, %xmm0
movsd 0x3b055(%rip), %xmm1    # 0xbdd58
divsd %xmm1, %xmm0
movsd 0x3a171(%rip), %xmm1    # 0xbce80
addsd %xmm1, %xmm0
callq 0x9c90
cvttsd2si %xmm0, %eax
movl %eax, -0x58(%rbp)
movq -0x20(%rbp), %rax
movsd 0xa0(%rax), %xmm0
movsd 0x3c145(%rip), %xmm1    # 0xbee78
divsd %xmm1, %xmm0
movsd 0x3a141(%rip), %xmm1    # 0xbce80
addsd %xmm1, %xmm0
callq 0x9c90
cvttsd2si %xmm0, %eax
movl %eax, -0x5c(%rbp)
movq -0x20(%rbp), %rax
movsd 0x98(%rax), %xmm0
movsd 0x3c115(%rip), %xmm1    # 0xbee78
divsd %xmm1, %xmm0
movsd 0x3a111(%rip), %xmm1    # 0xbce80
addsd %xmm1, %xmm0
callq 0x9c90
cvttsd2si %xmm0, %eax
movl %eax, -0x60(%rbp)
movq -0x20(%rbp), %rax
movsd 0xb0(%rax), %xmm0
movsd 0x3c0dd(%rip), %xmm1    # 0xbee70
divsd %xmm1, %xmm0
movsd 0x3a0e1(%rip), %xmm1    # 0xbce80
addsd %xmm1, %xmm0
callq 0x9c90
cvttsd2si %xmm0, %eax
movl %eax, -0x64(%rbp)
movq -0x20(%rbp), %rax
movsd 0xa8(%rax), %xmm0
movsd 0x3c0ad(%rip), %xmm1    # 0xbee70
divsd %xmm1, %xmm0
movsd 0x3a0b1(%rip), %xmm1    # 0xbce80
addsd %xmm1, %xmm0
callq 0x9c90
cvttsd2si %xmm0, %eax
movl %eax, -0x68(%rbp)
movq -0x20(%rbp), %rax
movsd 0xc0(%rax), %xmm0
movsd 0x3c07d(%rip), %xmm1    # 0xbee70
divsd %xmm1, %xmm0
movsd 0x3a081(%rip), %xmm1    # 0xbce80
addsd %xmm1, %xmm0
callq 0x9c90
cvttsd2si %xmm0, %eax
movl %eax, -0x6c(%rbp)
movq -0x20(%rbp), %rax
movsd 0xb8(%rax), %xmm0
movsd 0x3c04d(%rip), %xmm1    # 0xbee70
divsd %xmm1, %xmm0
movsd 0x3a051(%rip), %xmm1    # 0xbce80
addsd %xmm1, %xmm0
callq 0x9c90
cvttsd2si %xmm0, %eax
movl %eax, -0x70(%rbp)
movq -0x20(%rbp), %rax
movsd 0xd8(%rax), %xmm0
movsd 0x3c005(%rip), %xmm1    # 0xbee58
divsd %xmm1, %xmm0
movsd 0x3a021(%rip), %xmm1    # 0xbce80
addsd %xmm1, %xmm0
callq 0x9c90
cvttsd2si %xmm0, %eax
movl %eax, -0x74(%rbp)
movq -0x20(%rbp), %rax
movsd 0xe0(%rax), %xmm0
movsd 0x3bfcd(%rip), %xmm1    # 0xbee50
divsd %xmm1, %xmm0
movsd 0x39ff1(%rip), %xmm1    # 0xbce80
addsd %xmm1, %xmm0
callq 0x9c90
cvttsd2si %xmm0, %eax
movl %eax, -0x78(%rbp)
movq -0x20(%rbp), %rax
movsd 0xe8(%rax), %xmm0
movsd 0x3bf95(%rip), %xmm1    # 0xbee48
divsd %xmm1, %xmm0
movsd 0x39fc1(%rip), %xmm1    # 0xbce80
addsd %xmm1, %xmm0
callq 0x9c90
cvttsd2si %xmm0, %eax
movl %eax, -0x7c(%rbp)
movq -0x20(%rbp), %rax
movsd 0xf0(%rax), %xmm0
movsd 0x3bf5d(%rip), %xmm1    # 0xbee40
divsd %xmm1, %xmm0
movsd 0x39f91(%rip), %xmm1    # 0xbce80
addsd %xmm1, %xmm0
callq 0x9c90
cvttsd2si %xmm0, %eax
movl %eax, -0x80(%rbp)
movq -0x20(%rbp), %rax
movsd 0xf8(%rax), %xmm0
movsd 0x3bf2d(%rip), %xmm1    # 0xbee40
divsd %xmm1, %xmm0
movsd 0x39f61(%rip), %xmm1    # 0xbce80
addsd %xmm1, %xmm0
callq 0x9c90
cvttsd2si %xmm0, %eax
movl %eax, -0x84(%rbp)
movq -0x20(%rbp), %rax
movl 0x10(%rax), %eax
sarl $0x4, %eax
andl $0x3, %eax
movl %eax, -0x88(%rbp)
movq -0x20(%rbp), %rax
movl 0x10(%rax), %eax
sarl $0x3, %eax
andl $0x1, %eax
movl %eax, -0x8c(%rbp)
movq -0x10(%rbp), %rdi
addq $0x9f0c4, %rdi          # imm = 0x9F0C4
movl -0x2c(%rbp), %esi
movl $0xc, %edx
movl $0x415, %ecx            # imm = 0x415
callq 0x8c0d0
movl -0x2c(%rbp), %eax
addl $0xc, %eax
movl %eax, -0x2c(%rbp)
movq -0x10(%rbp), %rdi
addq $0x9f0c4, %rdi          # imm = 0x9F0C4
movl -0x2c(%rbp), %esi
movl -0x30(%rbp), %ecx
movl $0x6, %edx
callq 0x8c0d0
movl -0x2c(%rbp), %eax
addl $0x6, %eax
movl %eax, -0x2c(%rbp)
movq -0x10(%rbp), %rdi
addq $0x9f0c4, %rdi          # imm = 0x9F0C4
movl -0x2c(%rbp), %esi
movl -0x34(%rbp), %ecx
movl $0xc, %edx
callq 0x8c0d0
movl -0x2c(%rbp), %eax
addl $0xc, %eax
movl %eax, -0x2c(%rbp)
movq -0x10(%rbp), %rdi
addq $0x9f0c4, %rdi          # imm = 0x9F0C4
movl -0x2c(%rbp), %esi
movq -0x20(%rbp), %rax
movl 0x4(%rax), %ecx
movl $0xa, %edx
callq 0x8c0d0
movl -0x2c(%rbp), %eax
addl $0xa, %eax
movl %eax, -0x2c(%rbp)
movq -0x10(%rbp), %rdi
addq $0x9f0c4, %rdi          # imm = 0x9F0C4
movl -0x2c(%rbp), %esi
movq -0x20(%rbp), %rax
movl 0xc(%rax), %ecx
movl $0x8, %edx
callq 0x8c0d0
movl -0x2c(%rbp), %eax
addl $0x8, %eax
movl %eax, -0x2c(%rbp)
movq -0x10(%rbp), %rdi
addq $0x9f0c4, %rdi          # imm = 0x9F0C4
movl -0x2c(%rbp), %esi
movl -0x54(%rbp), %ecx
movl $0xe, %edx
callq 0x8c1d0
movl -0x2c(%rbp), %eax
addl $0xe, %eax
movl %eax, -0x2c(%rbp)
movq -0x10(%rbp), %rdi
addq $0x9f0c4, %rdi          # imm = 0x9F0C4
movl -0x2c(%rbp), %esi
movl -0x3c(%rbp), %ecx
movl $0xe, %edx
callq 0x8c0d0
movl -0x2c(%rbp), %eax
addl $0xe, %eax
movl %eax, -0x2c(%rbp)
movq -0x10(%rbp), %rdi
addq $0x9f0c4, %rdi          # imm = 0x9F0C4
movl -0x2c(%rbp), %esi
movl -0x7c(%rbp), %ecx
movl $0x6, %edx
callq 0x8c1d0
movl -0x2c(%rbp), %eax
addl $0x6, %eax
movl %eax, -0x2c(%rbp)
movq -0x10(%rbp), %rdi
addq $0x9f0c4, %rdi          # imm = 0x9F0C4
movl -0x2c(%rbp), %esi
movl -0x78(%rbp), %ecx
movl $0x15, %edx
callq 0x8c1d0
movl -0x2c(%rbp), %eax
addl $0x15, %eax
movl %eax, -0x2c(%rbp)
movq -0x10(%rbp), %rdi
addq $0x9f0c4, %rdi          # imm = 0x9F0C4
movl -0x2c(%rbp), %esi
movl -0x74(%rbp), %ecx
movl $0x1f, %edx
callq 0x8c1d0
movl -0x2c(%rbp), %eax
addl $0x1f, %eax
movl %eax, -0x2c(%rbp)
movq -0x10(%rbp), %rdi
addq $0x9f0c4, %rdi          # imm = 0x9F0C4
movl -0x2c(%rbp), %esi
movl -0x5c(%rbp), %ecx
movl $0x10, %edx
callq 0x8c1d0
movl -0x2c(%rbp), %eax
addl $0x10, %eax
movl %eax, -0x2c(%rbp)
movq -0x10(%rbp), %rdi
addq $0x9f0c4, %rdi          # imm = 0x9F0C4
movl -0x2c(%rbp), %esi
movl -0x50(%rbp), %ecx
movl $0x10, %edx
callq 0x8c1d0
movl -0x2c(%rbp), %eax
addl $0x10, %eax
movl %eax, -0x2c(%rbp)
movq -0x10(%rbp), %rdi
addq $0x9f0c4, %rdi          # imm = 0x9F0C4
movl -0x2c(%rbp), %esi
movl -0x4c(%rbp), %ecx
movl $0x20, %edx
callq 0x8c1d0
movl -0x2c(%rbp), %eax
addl $0x20, %eax
movl %eax, -0x2c(%rbp)
movq -0x10(%rbp), %rdi
addq $0x9f0c4, %rdi          # imm = 0x9F0C4
movl -0x2c(%rbp), %esi
movl -0x68(%rbp), %ecx
movl $0x10, %edx
callq 0x8c1d0
movl -0x2c(%rbp), %eax
addl $0x10, %eax
movl %eax, -0x2c(%rbp)
movq -0x10(%rbp), %rdi
addq $0x9f0c4, %rdi          # imm = 0x9F0C4
movl -0x2c(%rbp), %esi
movl -0x28(%rbp), %ecx
movl $0x20, %edx
callq 0x8c0d0
movl -0x2c(%rbp), %eax
addl $0x20, %eax
movl %eax, -0x2c(%rbp)
movq -0x10(%rbp), %rdi
addq $0x9f0c4, %rdi          # imm = 0x9F0C4
movl -0x2c(%rbp), %esi
movl -0x64(%rbp), %ecx
movl $0x10, %edx
callq 0x8c1d0
movl -0x2c(%rbp), %eax
addl $0x10, %eax
movl %eax, -0x2c(%rbp)
movq -0x10(%rbp), %rdi
addq $0x9f0c4, %rdi          # imm = 0x9F0C4
movl -0x2c(%rbp), %esi
movl -0x24(%rbp), %ecx
movl $0x20, %edx
callq 0x8c0d0
movl -0x2c(%rbp), %eax
addl $0x20, %eax
movl %eax, -0x2c(%rbp)
movq -0x10(%rbp), %rdi
addq $0x9f0c4, %rdi          # imm = 0x9F0C4
movl -0x2c(%rbp), %esi
movl -0x38(%rbp), %ecx
movl $0xe, %edx
callq 0x8c0d0
movl -0x2c(%rbp), %eax
addl $0xe, %eax
movl %eax, -0x2c(%rbp)
movq -0x10(%rbp), %rdi
addq $0x9f0c4, %rdi          # imm = 0x9F0C4
movl -0x2c(%rbp), %esi
movl -0x70(%rbp), %ecx
movl $0x10, %edx
callq 0x8c1d0
movl -0x2c(%rbp), %eax
addl $0x10, %eax
movl %eax, -0x2c(%rbp)
movq -0x10(%rbp), %rdi
addq $0x9f0c4, %rdi          # imm = 0x9F0C4
movl -0x2c(%rbp), %esi
movl -0x44(%rbp), %ecx
movl $0x20, %edx
callq 0x8c1d0
movl -0x2c(%rbp), %eax
addl $0x20, %eax
movl %eax, -0x2c(%rbp)
movq -0x10(%rbp), %rdi
addq $0x9f0c4, %rdi          # imm = 0x9F0C4
movl -0x2c(%rbp), %esi
movl -0x6c(%rbp), %ecx
movl $0x10, %edx
callq 0x8c1d0
movl -0x2c(%rbp), %eax
addl $0x10, %eax
movl %eax, -0x2c(%rbp)
movq -0x10(%rbp), %rdi
addq $0x9f0c4, %rdi          # imm = 0x9F0C4
movl -0x2c(%rbp), %esi
movl -0x40(%rbp), %ecx
movl $0x20, %edx
callq 0x8c1d0
movl -0x2c(%rbp), %eax
addl $0x20, %eax
movl %eax, -0x2c(%rbp)
movq -0x10(%rbp), %rdi
addq $0x9f0c4, %rdi          # imm = 0x9F0C4
movl -0x2c(%rbp), %esi
movl -0x60(%rbp), %ecx
movl $0x10, %edx
callq 0x8c1d0
movl -0x2c(%rbp), %eax
addl $0x10, %eax
movl %eax, -0x2c(%rbp)
movq -0x10(%rbp), %rdi
addq $0x9f0c4, %rdi          # imm = 0x9F0C4
movl -0x2c(%rbp), %esi
movl -0x48(%rbp), %ecx
movl $0x20, %edx
callq 0x8c1d0
movl -0x2c(%rbp), %eax
addl $0x20, %eax
movl %eax, -0x2c(%rbp)
movq -0x10(%rbp), %rdi
addq $0x9f0c4, %rdi          # imm = 0x9F0C4
movl -0x2c(%rbp), %esi
movl -0x58(%rbp), %ecx
movl $0x18, %edx
callq 0x8c1d0
movl -0x2c(%rbp), %eax
addl $0x18, %eax
movl %eax, -0x2c(%rbp)
movq -0x10(%rbp), %rdi
addq $0x9f0c4, %rdi          # imm = 0x9F0C4
movl -0x2c(%rbp), %esi
movl -0x80(%rbp), %ecx
movl $0xa, %edx
callq 0x8c1d0
movl -0x2c(%rbp), %eax
addl $0xa, %eax
movl %eax, -0x2c(%rbp)
movq -0x10(%rbp), %rdi
addq $0x9f0c4, %rdi          # imm = 0x9F0C4
movl -0x2c(%rbp), %esi
movl -0x88(%rbp), %ecx
movl $0x2, %edx
callq 0x8c0d0
movl -0x2c(%rbp), %eax
addl $0x2, %eax
movl %eax, -0x2c(%rbp)
movq -0x10(%rbp), %rdi
addq $0x9f0c4, %rdi          # imm = 0x9F0C4
movl -0x2c(%rbp), %esi
movl -0x8c(%rbp), %ecx
movl $0x1, %edx
callq 0x8c0d0
movl -0x2c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x2c(%rbp)
movq -0x10(%rbp), %rdi
addq $0x9f0c4, %rdi          # imm = 0x9F0C4
movl -0x2c(%rbp), %esi
movl $0x7, %edx
xorl %ecx, %ecx
callq 0x8c0d0
movl -0x2c(%rbp), %eax
addl $0x7, %eax
movl %eax, -0x2c(%rbp)
movl -0x2c(%rbp), %ecx
movq -0x10(%rbp), %rax
movl %ecx, 0x9f0bc(%rax)
movl $0x1, -0x4(%rbp)
movl -0x4(%rbp), %eax
addq $0xb0, %rsp
popq %rbp
retq
nopl (%rax,%rax)