// File: DoubleString[P]RtConverter/src/Rtklib/skytraq.cpp
// Function: bamboo::decode_stqrawx(bamboo::raw_t*)
static int decode_stqrawx(raw_t *raw)
{
    unsigned char *p=raw->buff+4,ind;
    double tow,peri,pr1,cp1;
    int i,j,ver,week,nsat,sys,sig,prn,sat,n=0;
    int gnss_type, signal_type;
    
    trace(4,"decode_stqraw: len=%d\n",raw->len);
    
    if (raw->outtype) {
        sprintf(raw->msgtype,"SKYTRAQ RAWX  (%4d): nsat=%2d",raw->len,U1(p+13));
    }
    ver=U1(p+1);
    raw->iod=U1(p+2);
    week=U2(p+3);
    tow =U4(p+5)*0.001;
    raw->time=gpst2time(week,tow);
    peri=U2(p+9)*0.001;
    nsat=U1(p+13);
    if (raw->len<19+31*nsat) {
        trace(2,"stq raw length error: len=%d nsat=%d\n",raw->len,nsat);
        return -1;
    }
    for (i=0,p+=14;i<nsat&&i<MAXOBS;i++,p+=31) {
        gnss_type=U1(p)&0xF;
        signal_type=(U1(p)>>4)&0xF;
        if (gnss_type==0) { /* GPS */
            sys=SYS_GPS;
            switch (signal_type) {
                case  1: sig=CODE_L1X; break;
                case  2: sig=CODE_L2X; break;
                case  4: sig=CODE_L5X; break;
                default: sig=CODE_L1C; break;
            }
            prn=U1(p+1);
        }
        else if (gnss_type==1) { /* SBAS */
            sys=SYS_SBS;
            sig=CODE_L1C;
            prn=U1(p+1);
        }
        else if (gnss_type==2) { /* GLONASS */
            sys=SYS_GLO;
            switch (signal_type) {
                case  2: sig=CODE_L2C; break;
                case  4: sig=CODE_L3X; break;
                default: sig=CODE_L1C; break;
            }
            prn=U1(p+1);
        }
        else if (gnss_type==3) { /* Galileo */
            sys=SYS_GAL;
            switch (signal_type) {
                case  4: sig=CODE_L5X; break;
                case  5: sig=CODE_L7X; break;
                case  6: sig=CODE_L6X; break;
                default: sig=CODE_L1C; break;
            }
            prn=U1(p+1);
        }
        else if (gnss_type==4) { /* QZSS */
            sys=SYS_QZS;
            switch (signal_type) {
                case  1: sig=CODE_L1X; break;
                case  2: sig=CODE_L2X; break;
                case  4: sig=CODE_L5X; break;
                case  6: sig=CODE_L6X; break;
                default: sig=CODE_L1C; break;
            }
            prn=U1(p+1);
        }
        else if (gnss_type==5) { /* BeiDou */
            sys=SYS_CMP;
            switch (signal_type) {
                case  4: sig=CODE_L7I; break;
                case  6: sig=CODE_L6I; break;
                default: sig=CODE_L2I; break;
            }
            prn=U1(p+1);
        }
        else {
            trace(2,"stq rawx gnss type error: type=%d\n",U1(p));
            continue;
        }
        if (!(sat=satno(sys,prn))) {
            trace(2,"stq raw satellite number error: sys=%d prn=%d\n",sys,prn);
            continue;
        }
        /* set glonass freq channel number */
        if (gnss_type==2) {
            raw->nav.geph[prn-1].frq=(int)(U1(p+2)&0xF)-7;
        }
        ind=U2(p+27);
        pr1=!(ind&1)?0.0:R8(p+ 4);
        cp1=!(ind&4)?0.0:R8(p+12);
        cp1-=floor((cp1+1E9)/2E9)*2E9; /* -10^9 < cp1 < 10^9 */
        
        raw->obs.data[n].P[0]=pr1;
        raw->obs.data[n].L[0]=cp1;
        raw->obs.data[n].D[0]=!(ind&2)?0.0:R4(p+20);
        raw->obs.data[n].SNR[0]=U1(p+3)*4;
        raw->obs.data[n].LLI[0]=0;
        raw->obs.data[n].code[0]=sys==SYS_CMP?CODE_L1I:CODE_L1C;
        
        raw->lockt[sat-1][0]=ind&8?1:0; /* cycle slip */
        
        if (raw->obs.data[n].L[0]!=0.0) {
            raw->obs.data[n].LLI[0]=(unsigned char)raw->lockt[sat-1][0];
            raw->lockt[sat-1][0]=0;
        }
        /* receiver dependent options */
        if (strstr(raw->opt,"-INVCP")) {
            raw->obs.data[n].L[0]*=-1.0;
        }
        raw->obs.data[n].time=raw->time;
        raw->obs.data[n].sat =sat;
        
        for (j=1;j<NFREQ+NEXOBS;j++) {
            raw->obs.data[n].L[j]=raw->obs.data[n].P[j]=0.0;
            raw->obs.data[n].D[j]=0.0;
            raw->obs.data[n].SNR[j]=raw->obs.data[n].LLI[j]=0;
            raw->obs.data[n].code[j]=CODE_NONE;
        }
        n++;
    }
    raw->obs.n=n;
    return n>0?1:0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xc0, %rsp
movq %rdi, -0x10(%rbp)
movq -0x10(%rbp), %rax
addq $0x81a90, %rax          # imm = 0x81A90
addq $0x4, %rax
movq %rax, -0x18(%rbp)
movl $0x0, -0x68(%rbp)
movq -0x10(%rbp), %rax
movl 0x81a78(%rax), %edx
movl $0x4, %edi
leaq 0x2d20a(%rip), %rsi     # 0xc8488
movb $0x0, %al
callq 0x8b980
movq -0x10(%rbp), %rax
cmpl $0x0, 0x81a8c(%rax)
je 0x9b2bd
movq -0x10(%rbp), %rdi
addq $0x70e70, %rdi          # imm = 0x70E70
movq -0x10(%rbp), %rax
movl 0x81a78(%rax), %edx
movq -0x18(%rbp), %rax
movzbl 0xd(%rax), %ecx
leaq 0x2d2a8(%rip), %rsi     # 0xc855e
movb $0x0, %al
callq 0x9150
movq -0x18(%rbp), %rax
movzbl 0x1(%rax), %eax
movl %eax, -0x4c(%rbp)
movq -0x18(%rbp), %rax
movzbl 0x2(%rax), %ecx
movq -0x10(%rbp), %rax
movl %ecx, 0x81a7c(%rax)
movq -0x18(%rbp), %rdi
addq $0x3, %rdi
callq 0x99e70
movzwl %ax, %eax
movl %eax, -0x50(%rbp)
movq -0x18(%rbp), %rdi
addq $0x5, %rdi
callq 0x9c8b0
movl %eax, %eax
cvtsi2sd %rax, %xmm0
movsd 0x22a3f(%rip), %xmm1    # 0xbdd48
mulsd %xmm1, %xmm0
movsd %xmm0, -0x28(%rbp)
movl -0x50(%rbp), %edi
movsd -0x28(%rbp), %xmm0
callq 0x8e4a0
movq %rax, -0x80(%rbp)
movsd %xmm0, -0x78(%rbp)
movq -0x10(%rbp), %rax
movq -0x80(%rbp), %rcx
movq %rcx, (%rax)
movq -0x78(%rbp), %rcx
movq %rcx, 0x8(%rax)
movq -0x18(%rbp), %rdi
addq $0x9, %rdi
callq 0x99e70
movzwl %ax, %eax
cvtsi2sd %eax, %xmm0
movsd 0x229f1(%rip), %xmm1    # 0xbdd48
mulsd %xmm1, %xmm0
movsd %xmm0, -0x30(%rbp)
movq -0x18(%rbp), %rax
movzbl 0xd(%rax), %eax
movl %eax, -0x54(%rbp)
movq -0x10(%rbp), %rax
movl 0x81a78(%rax), %eax
imull $0x1f, -0x54(%rbp), %ecx
addl $0x13, %ecx
cmpl %ecx, %eax
jge 0x9b3ac
movq -0x10(%rbp), %rax
movl 0x81a78(%rax), %edx
movl -0x54(%rbp), %ecx
movl $0x2, %edi
leaq 0x2d141(%rip), %rsi     # 0xc84da
movb $0x0, %al
callq 0x8b980
movl $0xffffffff, -0x4(%rbp) # imm = 0xFFFFFFFF
jmp 0x9bae1
movl $0x0, -0x44(%rbp)
movq -0x18(%rbp), %rax
addq $0xe, %rax
movq %rax, -0x18(%rbp)
movl -0x44(%rbp), %ecx
xorl %eax, %eax
cmpl -0x54(%rbp), %ecx
movb %al, -0x81(%rbp)
jge 0x9b3dc
cmpl $0x40, -0x44(%rbp)
setl %al
movb %al, -0x81(%rbp)
movb -0x81(%rbp), %al
testb $0x1, %al
jne 0x9b3eb
jmp 0x9bac1
movq -0x18(%rbp), %rax
movzbl (%rax), %eax
andl $0xf, %eax
movl %eax, -0x6c(%rbp)
movq -0x18(%rbp), %rax
movzbl (%rax), %eax
sarl $0x4, %eax
andl $0xf, %eax
movl %eax, -0x70(%rbp)
cmpl $0x0, -0x6c(%rbp)
jne 0x9b471
movl $0x1, -0x58(%rbp)
movl -0x70(%rbp), %eax
movl %eax, -0x88(%rbp)
subl $0x1, %eax
je 0x9b43f
jmp 0x9b425
movl -0x88(%rbp), %eax
subl $0x2, %eax
je 0x9b448
jmp 0x9b432
movl -0x88(%rbp), %eax
subl $0x4, %eax
je 0x9b451
jmp 0x9b45a
movl $0xc, -0x5c(%rbp)
jmp 0x9b461
movl $0x12, -0x5c(%rbp)
jmp 0x9b461
movl $0x1a, -0x5c(%rbp)
jmp 0x9b461
movl $0x1, -0x5c(%rbp)
movq -0x18(%rbp), %rax
movzbl 0x1(%rax), %eax
movl %eax, -0x60(%rbp)
jmp 0x9b639
cmpl $0x1, -0x6c(%rbp)
jne 0x9b495
movl $0x2, -0x58(%rbp)
movl $0x1, -0x5c(%rbp)
movq -0x18(%rbp), %rax
movzbl 0x1(%rax), %eax
movl %eax, -0x60(%rbp)
jmp 0x9b637
cmpl $0x2, -0x6c(%rbp)
jne 0x9b4e8
movl $0x4, -0x58(%rbp)
movl -0x70(%rbp), %eax
movl %eax, -0x8c(%rbp)
subl $0x2, %eax
je 0x9b4bf
jmp 0x9b4b2
movl -0x8c(%rbp), %eax
subl $0x4, %eax
je 0x9b4c8
jmp 0x9b4d1
movl $0xe, -0x5c(%rbp)
jmp 0x9b4d8
movl $0x2e, -0x5c(%rbp)
jmp 0x9b4d8
movl $0x1, -0x5c(%rbp)
movq -0x18(%rbp), %rax
movzbl 0x1(%rax), %eax
movl %eax, -0x60(%rbp)
jmp 0x9b635
cmpl $0x3, -0x6c(%rbp)
jne 0x9b551
movl $0x8, -0x58(%rbp)
movl -0x70(%rbp), %eax
movl %eax, -0x90(%rbp)
subl $0x4, %eax
je 0x9b51f
jmp 0x9b505
movl -0x90(%rbp), %eax
subl $0x5, %eax
je 0x9b528
jmp 0x9b512
movl -0x90(%rbp), %eax
subl $0x6, %eax
je 0x9b531
jmp 0x9b53a
movl $0x1a, -0x5c(%rbp)
jmp 0x9b541
movl $0x1d, -0x5c(%rbp)
jmp 0x9b541
movl $0x21, -0x5c(%rbp)
jmp 0x9b541
movl $0x1, -0x5c(%rbp)
movq -0x18(%rbp), %rax
movzbl 0x1(%rax), %eax
movl %eax, -0x60(%rbp)
jmp 0x9b633
cmpl $0x4, -0x6c(%rbp)
jne 0x9b5c0
movl $0x10, -0x58(%rbp)
movl -0x70(%rbp), %eax
decl %eax
movl %eax, %ecx
movq %rcx, -0x98(%rbp)
subl $0x5, %eax
ja 0x9b5ac
movq -0x98(%rbp), %rax
leaq 0x2cd89(%rip), %rcx     # 0xc8308
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movl $0xc, -0x5c(%rbp)
jmp 0x9b5b3
movl $0x12, -0x5c(%rbp)
jmp 0x9b5b3
movl $0x1a, -0x5c(%rbp)
jmp 0x9b5b3
movl $0x21, -0x5c(%rbp)
jmp 0x9b5b3
movl $0x1, -0x5c(%rbp)
movq -0x18(%rbp), %rax
movzbl 0x1(%rax), %eax
movl %eax, -0x60(%rbp)
jmp 0x9b631
cmpl $0x5, -0x6c(%rbp)
jne 0x9b610
movl $0x20, -0x58(%rbp)
movl -0x70(%rbp), %eax
movl %eax, -0x9c(%rbp)
subl $0x4, %eax
je 0x9b5ea
jmp 0x9b5dd
movl -0x9c(%rbp), %eax
subl $0x6, %eax
je 0x9b5f3
jmp 0x9b5fc
movl $0x1b, -0x5c(%rbp)
jmp 0x9b603
movl $0x2a, -0x5c(%rbp)
jmp 0x9b603
movl $0x28, -0x5c(%rbp)
movq -0x18(%rbp), %rax
movzbl 0x1(%rax), %eax
movl %eax, -0x60(%rbp)
jmp 0x9b62f
movq -0x18(%rbp), %rax
movzbl (%rax), %edx
movl $0x2, %edi
leaq 0x2cf59(%rip), %rsi     # 0xc857c
movb $0x0, %al
callq 0x8b980
jmp 0x9baa7
jmp 0x9b631
jmp 0x9b633
jmp 0x9b635
jmp 0x9b637
jmp 0x9b639
movl -0x58(%rbp), %edi
movl -0x60(%rbp), %esi
callq 0x8b1b0
movl %eax, -0x64(%rbp)
cmpl $0x0, %eax
jne 0x9b66a
movl -0x58(%rbp), %edx
movl -0x60(%rbp), %ecx
movl $0x2, %edi
leaq 0x2ceca(%rip), %rsi     # 0xc8528
movb $0x0, %al
callq 0x8b980
jmp 0x9baa7
cmpl $0x2, -0x6c(%rbp)
jne 0x9b69f
movq -0x18(%rbp), %rax
movzbl 0x2(%rax), %ecx
andl $0xf, %ecx
subl $0x7, %ecx
movq -0x10(%rbp), %rax
movq 0x1d88(%rax), %rax
movl -0x60(%rbp), %edx
subl $0x1, %edx
movslq %edx, %rdx
imulq $0x98, %rdx, %rdx
addq %rdx, %rax
movl %ecx, 0x8(%rax)
movq -0x18(%rbp), %rdi
addq $0x1b, %rdi
callq 0x99e70
movb %al, -0x19(%rbp)
movzbl -0x19(%rbp), %eax
andl $0x1, %eax
cmpl $0x0, %eax
jne 0x9b6c8
xorps %xmm0, %xmm0
movsd %xmm0, -0xa8(%rbp)
jmp 0x9b6dd
movq -0x18(%rbp), %rdi
addq $0x4, %rdi
callq 0x9c910
movsd %xmm0, -0xa8(%rbp)
movsd -0xa8(%rbp), %xmm0
movsd %xmm0, -0x38(%rbp)
movzbl -0x19(%rbp), %eax
andl $0x4, %eax
cmpl $0x0, %eax
jne 0x9b703
xorps %xmm0, %xmm0
movsd %xmm0, -0xb0(%rbp)
jmp 0x9b718
movq -0x18(%rbp), %rdi
addq $0xc, %rdi
callq 0x9c910
movsd %xmm0, -0xb0(%rbp)
movsd -0xb0(%rbp), %xmm0
movsd %xmm0, -0x40(%rbp)
movsd 0x2bcbb(%rip), %xmm0    # 0xc73e8
addsd -0x40(%rbp), %xmm0
movsd 0x2cbc6(%rip), %xmm1    # 0xc8300
divsd %xmm1, %xmm0
callq 0x9c90
movsd -0x40(%rbp), %xmm1
movq %xmm0, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
movsd 0x2cb99(%rip), %xmm2    # 0xc8300
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, -0x40(%rbp)
movsd -0x38(%rbp), %xmm0
movq -0x10(%rbp), %rax
movq 0x1d28(%rax), %rax
movslq -0x68(%rbp), %rcx
imulq $0x60, %rcx, %rcx
addq %rcx, %rax
movsd %xmm0, 0x38(%rax)
movsd -0x40(%rbp), %xmm0
movq -0x10(%rbp), %rax
movq 0x1d28(%rax), %rax
movslq -0x68(%rbp), %rcx
imulq $0x60, %rcx, %rcx
addq %rcx, %rax
movsd %xmm0, 0x20(%rax)
movzbl -0x19(%rbp), %eax
andl $0x2, %eax
cmpl $0x0, %eax
jne 0x9b7cd
xorps %xmm0, %xmm0
movsd %xmm0, -0xb8(%rbp)
jmp 0x9b7e6
movq -0x18(%rbp), %rdi
addq $0x14, %rdi
callq 0x9c970
cvtss2sd %xmm0, %xmm0
movsd %xmm0, -0xb8(%rbp)
movsd -0xb8(%rbp), %xmm0
cvtsd2ss %xmm0, %xmm0
movq -0x10(%rbp), %rax
movq 0x1d28(%rax), %rax
movslq -0x68(%rbp), %rcx
imulq $0x60, %rcx, %rcx
addq %rcx, %rax
movss %xmm0, 0x50(%rax)
movq -0x18(%rbp), %rax
movzbl 0x3(%rax), %eax
shll $0x2, %eax
movb %al, %cl
movq -0x10(%rbp), %rax
movq 0x1d28(%rax), %rax
movslq -0x68(%rbp), %rdx
imulq $0x60, %rdx, %rdx
addq %rdx, %rax
movb %cl, 0x12(%rax)
movq -0x10(%rbp), %rax
movq 0x1d28(%rax), %rax
movslq -0x68(%rbp), %rcx
imulq $0x60, %rcx, %rcx
addq %rcx, %rax
movb $0x0, 0x15(%rax)
movl -0x58(%rbp), %edx
movl $0x1, %eax
movl $0x2f, %ecx
cmpl $0x20, %edx
cmovel %ecx, %eax
movb %al, %cl
movq -0x10(%rbp), %rax
movq 0x1d28(%rax), %rax
movslq -0x68(%rbp), %rdx
imulq $0x60, %rdx, %rdx
addq %rdx, %rax
movb %cl, 0x18(%rax)
movzbl -0x19(%rbp), %edx
andl $0x8, %edx
xorl %eax, %eax
movl $0x1, %ecx
cmpl $0x0, %edx
cmovnel %ecx, %eax
cvtsi2sd %eax, %xmm0
movq -0x10(%rbp), %rax
addq $0x7f670, %rax          # imm = 0x7F670
movl -0x64(%rbp), %ecx
subl $0x1, %ecx
movslq %ecx, %rcx
imulq $0x18, %rcx, %rcx
addq %rcx, %rax
movsd %xmm0, (%rax)
movq -0x10(%rbp), %rax
movq 0x1d28(%rax), %rax
movslq -0x68(%rbp), %rcx
imulq $0x60, %rcx, %rcx
addq %rcx, %rax
movsd 0x20(%rax), %xmm0
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jne 0x9b8d9
jp 0x9b8d9
jmp 0x9b92e
movq -0x10(%rbp), %rax
movl -0x64(%rbp), %ecx
decl %ecx
movslq %ecx, %rcx
leaq (%rcx,%rcx,2), %rcx
cvttsd2si 0x7f670(%rax,%rcx,8), %eax
movb %al, %cl
movq -0x10(%rbp), %rax
movq 0x1d28(%rax), %rax
movslq -0x68(%rbp), %rdx
imulq $0x60, %rdx, %rdx
addq %rdx, %rax
movb %cl, 0x15(%rax)
movq -0x10(%rbp), %rax
addq $0x7f670, %rax          # imm = 0x7F670
movl -0x64(%rbp), %ecx
subl $0x1, %ecx
movslq %ecx, %rcx
imulq $0x18, %rcx, %rcx
addq %rcx, %rax
xorps %xmm0, %xmm0
movsd %xmm0, (%rax)
movq -0x10(%rbp), %rdi
addq $0x82a90, %rdi          # imm = 0x82A90
leaq 0x2cc17(%rip), %rsi     # 0xc8557
callq 0x91b0
cmpq $0x0, %rax
je 0x9b973
movq -0x10(%rbp), %rax
movq 0x1d28(%rax), %rax
movslq -0x68(%rbp), %rcx
imulq $0x60, %rcx, %rcx
addq %rcx, %rax
movsd 0x2346f(%rip), %xmm0    # 0xbedd8
mulsd 0x20(%rax), %xmm0
movsd %xmm0, 0x20(%rax)
movq -0x10(%rbp), %rcx
movq -0x10(%rbp), %rax
movq 0x1d28(%rax), %rax
movslq -0x68(%rbp), %rdx
imulq $0x60, %rdx, %rdx
addq %rdx, %rax
movq (%rcx), %rdx
movq %rdx, (%rax)
movq 0x8(%rcx), %rcx
movq %rcx, 0x8(%rax)
movl -0x64(%rbp), %eax
movb %al, %cl
movq -0x10(%rbp), %rax
movq 0x1d28(%rax), %rax
movslq -0x68(%rbp), %rdx
imulq $0x60, %rdx, %rdx
addq %rdx, %rax
movb %cl, 0x10(%rax)
movl $0x1, -0x48(%rbp)
cmpl $0x3, -0x48(%rbp)
jge 0x9ba9e
movq -0x10(%rbp), %rax
movq 0x1d28(%rax), %rax
movslq -0x68(%rbp), %rcx
imulq $0x60, %rcx, %rcx
addq %rcx, %rax
movslq -0x48(%rbp), %rcx
xorps %xmm0, %xmm0
movsd %xmm0, 0x38(%rax,%rcx,8)
movq -0x10(%rbp), %rax
movq 0x1d28(%rax), %rax
movslq -0x68(%rbp), %rcx
imulq $0x60, %rcx, %rcx
addq %rcx, %rax
movslq -0x48(%rbp), %rcx
xorps %xmm0, %xmm0
movsd %xmm0, 0x20(%rax,%rcx,8)
movq -0x10(%rbp), %rax
movq 0x1d28(%rax), %rax
movslq -0x68(%rbp), %rcx
imulq $0x60, %rcx, %rcx
addq %rcx, %rax
movslq -0x48(%rbp), %rcx
xorps %xmm0, %xmm0
movss %xmm0, 0x50(%rax,%rcx,4)
movq -0x10(%rbp), %rax
movq 0x1d28(%rax), %rax
movslq -0x68(%rbp), %rcx
imulq $0x60, %rcx, %rcx
addq %rcx, %rax
movslq -0x48(%rbp), %rcx
movb $0x0, 0x15(%rax,%rcx)
movq -0x10(%rbp), %rax
movq 0x1d28(%rax), %rax
movslq -0x68(%rbp), %rcx
imulq $0x60, %rcx, %rcx
addq %rcx, %rax
movslq -0x48(%rbp), %rcx
movb $0x0, 0x12(%rax,%rcx)
movq -0x10(%rbp), %rax
movq 0x1d28(%rax), %rax
movslq -0x68(%rbp), %rcx
imulq $0x60, %rcx, %rcx
addq %rcx, %rax
movslq -0x48(%rbp), %rcx
movb $0x0, 0x18(%rax,%rcx)
movl -0x48(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x48(%rbp)
jmp 0x9b9c0
movl -0x68(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x68(%rbp)
movl -0x44(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x44(%rbp)
movq -0x18(%rbp), %rax
addq $0x1f, %rax
movq %rax, -0x18(%rbp)
jmp 0x9b3bf
movl -0x68(%rbp), %ecx
movq -0x10(%rbp), %rax
movl %ecx, 0x1d20(%rax)
movl -0x68(%rbp), %edx
xorl %eax, %eax
movl $0x1, %ecx
cmpl $0x0, %edx
cmovgl %ecx, %eax
movl %eax, -0x4(%rbp)
movl -0x4(%rbp), %eax
addq $0xc0, %rsp
popq %rbp
retq
nopl (%rax)