// File: /workspace/github_cpp_makefile_star2_O2/DoubleString[P]RtConverter/src/Rtklib/rtcm2.cpp
// Function: bamboo::decode_rtcm2(bamboo::rtcm_t*)
extern int decode_rtcm2(rtcm_t *rtcm)
{
    double zcnt;
    int staid,seqno,stah,ret=0,type=getbitu(rtcm->buff,8,6);
    
    trace(3,"decode_rtcm2: type=%2d len=%3d\n",type,rtcm->len);
    
    if ((zcnt=getbitu(rtcm->buff,24,13)*0.6)>=3600.0) {
        trace(2,"rtcm2 modified z-count error: zcnt=%.1f\n",zcnt);
        return -1;
    }
    adjhour(rtcm,zcnt);
    staid=getbitu(rtcm->buff,14,10);
    seqno=getbitu(rtcm->buff,37, 3);
    stah =getbitu(rtcm->buff,45, 3);
    if (seqno-rtcm->seqno!=1&&seqno-rtcm->seqno!=-7) {
        trace(2,"rtcm2 message outage: seqno=%d->%d\n",rtcm->seqno,seqno);
    }
    rtcm->seqno=seqno;
    rtcm->stah =stah;
    
    if (rtcm->outtype) {
        sprintf(rtcm->msgtype,"RTCM %2d (%4d) zcnt=%7.1f staid=%3d seqno=%d",
                type,rtcm->len,zcnt,staid,seqno);
    }
    if (type==3||type==22||type==23||type==24) {
        if (rtcm->staid!=0&&staid!=rtcm->staid) {
           trace(2,"rtcm2 station id changed: %d->%d\n",rtcm->staid,staid);
        }
        rtcm->staid=staid;
    }
    if (rtcm->staid!=0&&staid!=rtcm->staid) {
        trace(2,"rtcm2 station id invalid: %d %d\n",staid,rtcm->staid);
        return -1;
    }
    switch (type) {
        case  1: ret=decode_type1 (rtcm); break;
        case  3: ret=decode_type3 (rtcm); break;
        case  9: ret=decode_type1 (rtcm); break;
        case 14: ret=decode_type14(rtcm); break;
        case 16: ret=decode_type16(rtcm); break;
        case 17: ret=decode_type17(rtcm); break;
        case 18: ret=decode_type18(rtcm); break;
        case 19: ret=decode_type19(rtcm); break;
        case 22: ret=decode_type22(rtcm); break;
        case 23: ret=decode_type23(rtcm); break; /* not supported */
        case 24: ret=decode_type24(rtcm); break; /* not supported */
        case 31: ret=decode_type31(rtcm); break; /* not supported */
        case 32: ret=decode_type32(rtcm); break; /* not supported */
        case 34: ret=decode_type34(rtcm); break; /* not supported */
        case 36: ret=decode_type36(rtcm); break; /* not supported */
        case 37: ret=decode_type37(rtcm); break; /* not supported */
        case 59: ret=decode_type59(rtcm); break; /* not supported */
    }
    if (ret>=0) {
        if (1<=type&&type<=99) rtcm->nmsg2[type]++; else rtcm->nmsg2[0]++;
    }
    return ret;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x128, %rsp            # imm = 0x128
movq %rdi, %rbx
leaq 0x9f0c4(%rdi), %r15
pushq $0x8
popq %rsi
pushq $0x6
popq %rdx
movq %r15, %rdi
callq 0x459f7
movl %eax, %r14d
movl 0x9f0c0(%rbx), %ecx
leaq 0x3133c(%rip), %rsi     # 0x643b8
pushq $0x3
popq %rdi
movl %eax, %edx
xorl %eax, %eax
callq 0x455bc
pushq $0x18
popq %rsi
pushq $0xd
popq %rdx
movq %r15, %rdi
callq 0x459f7
movl %eax, %eax
cvtsi2sd %rax, %xmm0
mulsd 0x31263(%rip), %xmm0    # 0x64308
ucomisd 0x2d803(%rip), %xmm0    # 0x608b0
jae 0x330c4
movsd %xmm0, -0x30(%rbp)
movq 0x10(%rbx), %rdi
testq %rdi, %rdi
je 0x330de
movsd 0x18(%rbx), %xmm0
jmp 0x330f7
leaq 0x3130d(%rip), %rsi     # 0x643d8
pushq $0x2
popq %rdi
movb $0x1, %al
callq 0x455bc
pushq $-0x1
popq %r12
jmp 0x34232
callq 0x47349
movq %rax, %rdi
callq 0x477da
movq %rax, %rdi
movq %rax, 0x10(%rbx)
movsd %xmm0, 0x18(%rbx)
leaq -0xe0(%rbp), %rsi
callq 0x470f1
movsd %xmm0, -0x38(%rbp)
divsd 0x2d7a0(%rip), %xmm0    # 0x608b0
callq 0x8ac0
movsd -0x38(%rbp), %xmm3
movsd 0x2d78e(%rip), %xmm1    # 0x608b0
mulsd %xmm0, %xmm1
subsd %xmm1, %xmm3
movsd 0x311de(%rip), %xmm1    # 0x64310
addsd %xmm3, %xmm1
movsd -0x30(%rbp), %xmm2
ucomisd %xmm2, %xmm1
movq %r14, -0x80(%rbp)
jbe 0x3314f
movsd 0x2d763(%rip), %xmm1    # 0x608b0
jmp 0x33169
addsd 0x311c1(%rip), %xmm3    # 0x64318
ucomisd %xmm3, %xmm2
movapd %xmm2, %xmm1
jbe 0x3316d
movsd 0x311b7(%rip), %xmm1    # 0x64320
addsd %xmm2, %xmm1
movl -0xe0(%rbp), %edi
mulsd 0x2d735(%rip), %xmm0    # 0x608b0
addsd %xmm1, %xmm0
callq 0x4708a
movq %rax, 0x10(%rbx)
movsd %xmm0, 0x18(%rbx)
pushq $0xe
popq %rsi
pushq $0xa
popq %rdx
movq %r15, %rdi
callq 0x459f7
movl %eax, %r12d
pushq $0x25
popq %rsi
pushq $0x3
popq %r13
movq %r15, %rdi
movl %r13d, %edx
callq 0x459f7
movl %eax, %r14d
pushq $0x2d
popq %rsi
movq %r15, -0x38(%rbp)
movq %r15, %rdi
movl %r13d, %edx
callq 0x459f7
movl %eax, %r15d
movl 0x8(%rbx), %edx
movl %r14d, %eax
subl %edx, %eax
cmpl $-0x7, %eax
je 0x331ee
cmpl $0x1, %eax
je 0x331ee
leaq 0x31220(%rip), %rsi     # 0x64401
pushq $0x2
popq %rdi
movl %r14d, %ecx
xorl %eax, %eax
callq 0x455bc
movl %r14d, 0x8(%rbx)
movl %r15d, 0x4(%rbx)
cmpl $0x0, 0xc(%rbx)
movq -0x80(%rbp), %r15
movsd -0x30(%rbp), %xmm0
je 0x33229
leaq 0x9b9d0(%rbx), %rdi
movl 0x9f0c0(%rbx), %ecx
leaq 0x3120c(%rip), %rsi     # 0x64425
movl %r15d, %edx
movl %r12d, %r8d
movl %r14d, %r9d
movb $0x1, %al
callq 0x8110
cmpl $0x18, %r15d
ja 0x33292
movl $0x1c00008, %eax        # imm = 0x1C00008
btl %r15d, %eax
jae 0x33292
movl (%rbx), %edx
testl %edx, %edx
sete %al
cmpl %edx, %r12d
sete %cl
orb %al, %cl
jne 0x3325f
leaq 0x31200(%rip), %rsi     # 0x64452
pushq $0x2
popq %rdi
movl %r12d, %ecx
xorl %eax, %eax
callq 0x455bc
movl %r12d, (%rbx)
xorl %r12d, %r12d
leal -0x1(%r15), %r13d
cmpl $0x15, %r13d
ja 0x34214
leaq 0x310e6(%rip), %rax     # 0x64360
movslq (%rax,%r13,4), %rcx
addq %rax, %rcx
jmpq *%rcx
movq %rbx, %rdi
callq 0x34247
pushq $0x7
jmp 0x33352
movl (%rbx), %ecx
testl %ecx, %ecx
sete %al
cmpl %ecx, %r12d
sete %dl
orb %al, %dl
jne 0x33262
leaq 0x311ca(%rip), %rsi     # 0x64474
pushq $0x2
popq %rdi
movl %r12d, %edx
xorl %eax, %eax
callq 0x455bc
jmp 0x330d5
movl 0x9f0c0(%rbx), %edx
leaq 0x311e2(%rip), %rsi     # 0x644ab
pushq $0x4
popq %rdi
xorl %eax, %eax
callq 0x455bc
movl 0x9f0c0(%rbx), %edx
cmpl $0x12, %edx
jl 0x3408d
pushq $0x30
popq %rsi
pushq $0x20
popq %r14
movq -0x38(%rbp), %r12
movq %r12, %rdi
movl %r14d, %edx
callq 0x45a39
cvtsi2sd %eax, %xmm0
mulsd 0x2e4b4(%rip), %xmm0    # 0x617b8
movsd %xmm0, 0x6f108(%rbx)
pushq $0x50
popq %rsi
movq %r12, %rdi
movl %r14d, %edx
callq 0x45a39
cvtsi2sd %eax, %xmm0
mulsd 0x2e492(%rip), %xmm0    # 0x617b8
movsd %xmm0, 0x6f110(%rbx)
pushq $0x70
popq %rsi
movq %r12, %rdi
movl %r14d, %edx
callq 0x45a39
cvtsi2sd %eax, %xmm0
mulsd 0x2e470(%rip), %xmm0    # 0x617b8
movsd %xmm0, 0x6f118(%rbx)
pushq $0x5
popq %r13
jmp 0x3421d
movl 0x9f0c0(%rbx), %edx
leaq 0x311dc(%rip), %rsi     # 0x64542
pushq $0x4
popq %rdi
xorl %eax, %eax
callq 0x455bc
movl 0x9f0c0(%rbx), %edx
cmpl $0x42, %edx
jl 0x34096
leaq 0x10(%rbx), %rax
movq %rax, -0x60(%rbp)
pushq $0x30
popq %rsi
pushq $0xa
popq %rdx
movq -0x38(%rbp), %r14
movq %r14, %rdi
callq 0x459f7
movl %eax, -0x50(%rbp)
pushq $0x3a
popq %rsi
pushq $0xe
popq %rdx
movq %r14, %rdi
callq 0x45a39
cvtsi2sd %eax, %xmm0
mulsd 0x2f91a(%rip), %xmm0    # 0x62cd0
mulsd 0x2e9ea(%rip), %xmm0    # 0x61da8
movsd %xmm0, -0x78(%rbp)
pushq $0x48
popq %rsi
pushq $0x8
popq %rdx
movq %r14, %rdi
callq 0x459f7
movl %eax, -0x3c(%rbp)
pushq $0x50
popq %rsi
pushq $0x10
popq %r12
movq %r14, %rdi
movl %r12d, %edx
callq 0x459f7
movl %eax, %eax
cvtsi2sd %rax, %xmm0
mulsd 0x2f983(%rip), %xmm0    # 0x62d78
movsd %xmm0, -0x98(%rbp)
pushq $0x60
popq %rsi
movq %r14, %rdi
movl %r12d, %edx
callq 0x45a39
cvtsi2sd %eax, %xmm0
mulsd 0x2f8b9(%rip), %xmm0    # 0x62cd0
movsd %xmm0, -0x70(%rbp)
pushq $0x70
popq %rsi
movq %r14, %rdi
pushq $0x8
popq %rdx
callq 0x45a39
cvtsi2sd %eax, %xmm0
mulsd 0x2f94a(%rip), %xmm0    # 0x62d80
movsd %xmm0, -0x58(%rbp)
pushq $0x78
popq %rsi
movq %r14, %rdi
movl %r12d, %edx
callq 0x45a39
cvtsi2sd %eax, %xmm0
mulsd 0x2f88b(%rip), %xmm0    # 0x62ce0
movsd %xmm0, -0x68(%rbp)
movq %r14, %rdi
movl $0x88, %esi
movl %r12d, %edx
callq 0x45a39
cvtsi2sd %eax, %xmm0
mulsd 0x2f85a(%rip), %xmm0    # 0x62cd0
mulsd 0x2e92a(%rip), %xmm0    # 0x61da8
movsd %xmm0, -0x90(%rbp)
movq %r14, %rdi
movl $0x98, %esi
movl %r12d, %edx
callq 0x45a39
cvtsi2sd %eax, %xmm0
mulsd 0x2f836(%rip), %xmm0    # 0x62cd8
movsd %xmm0, -0x88(%rbp)
pushq $0x20
popq %r12
movq %r14, %rdi
movl $0xa8, %esi
movl %r12d, %edx
callq 0x459f7
movl %eax, %eax
cvtsi2sd %rax, %xmm0
mulsd 0x2f7f3(%rip), %xmm0    # 0x62cc0
movsd %xmm0, -0x148(%rbp)
movq %r14, %rdi
movl $0xc8, %esi
pushq $0x10
popq %rdx
callq 0x45a39
cvtsi2sd %eax, %xmm0
movsd %xmm0, -0x150(%rbp)
movq %r14, %rdi
movl $0xd8, %esi
movl %r12d, %edx
callq 0x459f7
movl %eax, %eax
cvtsi2sd %rax, %xmm0
mulsd 0x2f7b8(%rip), %xmm0    # 0x62cc8
movsd %xmm0, -0x140(%rbp)
movq %r14, %rdi
movl $0xf8, %esi
pushq $0x10
popq %rdx
callq 0x459f7
movl %eax, %eax
cvtsi2sd %rax, %xmm0
movsd %xmm0, -0x30(%rbp)
movq %r14, %rdi
movl $0x108, %esi            # imm = 0x108
movl %r12d, %edx
callq 0x45a39
cvtsi2sd %eax, %xmm0
mulsd 0x2f768(%rip), %xmm0    # 0x62cb8
mulsd 0x2e850(%rip), %xmm0    # 0x61da8
movsd %xmm0, -0x138(%rbp)
movq %r14, %rdi
movl $0x128, %esi            # imm = 0x128
pushq $0x10
popq %rdx
callq 0x45a39
cvtsi2sd %eax, %xmm0
mulsd 0x2f75c(%rip), %xmm0    # 0x62cd8
movsd %xmm0, -0x130(%rbp)
movq %r14, %rdi
movl $0x138, %esi            # imm = 0x138
movl %r12d, %edx
callq 0x45a39
cvtsi2sd %eax, %xmm0
mulsd 0x2f718(%rip), %xmm0    # 0x62cb8
mulsd 0x2e800(%rip), %xmm0    # 0x61da8
movsd %xmm0, -0x120(%rbp)
movq %r14, %rdi
movl $0x158, %esi            # imm = 0x158
pushq $0x10
popq %rdx
callq 0x45a39
cvtsi2sd %eax, %xmm0
mulsd 0x2f70c(%rip), %xmm0    # 0x62cd8
movsd %xmm0, -0x128(%rbp)
movq %r14, %rdi
movl $0x168, %esi            # imm = 0x168
movl %r12d, %edx
callq 0x45a39
cvtsi2sd %eax, %xmm0
mulsd 0x2f6c8(%rip), %xmm0    # 0x62cb8
mulsd 0x2e7b0(%rip), %xmm0    # 0x61da8
movsd %xmm0, -0x118(%rbp)
movq %r14, %rdi
movl $0x188, %esi            # imm = 0x188
pushq $0x10
popq %rdx
callq 0x45a39
cvtsi2sd %eax, %xmm0
mulsd 0x2f6c4(%rip), %xmm0    # 0x62ce0
movsd %xmm0, -0x110(%rbp)
pushq $0x18
popq %rdx
movq %r14, %rdi
movl $0x198, %esi            # imm = 0x198
callq 0x45a39
cvtsi2sd %eax, %xmm0
mulsd 0x2f690(%rip), %xmm0    # 0x62cd0
mulsd 0x2e760(%rip), %xmm0    # 0x61da8
movsd %xmm0, -0x108(%rbp)
movq %r14, %rdi
movl $0x1b0, %esi            # imm = 0x1B0
movl %r12d, %edx
callq 0x45a39
cvtsi2sd %eax, %xmm0
mulsd 0x2f64c(%rip), %xmm0    # 0x62cb8
mulsd 0x2e734(%rip), %xmm0    # 0x61da8
movsd %xmm0, -0x100(%rbp)
movq %r14, %rdi
movl $0x1d0, %esi            # imm = 0x1D0
pushq $0xa
popq %rdx
callq 0x459f7
movl %eax, -0xa8(%rbp)
pushq $0x16
popq %rdx
movq %r14, %rdi
movl $0x1da, %esi            # imm = 0x1DA
callq 0x45a39
cvtsi2sd %eax, %xmm0
mulsd 0x2f60a(%rip), %xmm0    # 0x62cb8
movsd %xmm0, -0xf8(%rbp)
pushq $0x5
popq %rdx
movq %r14, %rdi
movl $0x1f0, %esi            # imm = 0x1F0
callq 0x459f7
movq %r13, -0x48(%rbp)
movl %eax, %r13d
movq %r14, %rdi
movl $0x1f8, %esi            # imm = 0x1F8
pushq $0x8
popq %rdx
callq 0x45a39
cvtsi2sd %eax, %xmm0
mulsd 0x2f5cf(%rip), %xmm0    # 0x62cb8
movsd %xmm0, -0xf0(%rbp)
pushq $0x2
popq %r12
movq %r14, %rdi
movl $0x200, %esi            # imm = 0x200
movl %r12d, %edx
callq 0x459f7
movl %eax, -0xa4(%rbp)
pushq $0x4
popq %rdx
movq %r14, %rdi
movl $0x202, %esi            # imm = 0x202
callq 0x459f7
movl %eax, -0xa0(%rbp)
pushq $0x6
popq %rdx
movq %r14, %rdi
movl $0x206, %esi            # imm = 0x206
callq 0x459f7
movl %eax, -0x9c(%rbp)
pushq $0x1
popq %rdx
movq %r14, %rdi
movl $0x20c, %esi            # imm = 0x20C
movl %edx, %r14d
callq 0x459f7
movl %eax, -0x38(%rbp)
testl %r13d, %r13d
pushq $0x20
popq %rax
cmovel %eax, %r13d
movl %r14d, %edi
movl %r13d, %esi
callq 0x452fd
movl %eax, %r14d
movl -0x50(%rbp), %edi
callq 0x47baa
movl %eax, %r13d
movl %eax, %edi
movsd -0x30(%rbp), %xmm0
callq 0x4708a
movq %rax, -0x50(%rbp)
movsd %xmm0, -0xe8(%rbp)
movl %r13d, %edi
movsd -0x98(%rbp), %xmm0
callq 0x4708a
movq -0x60(%rbp), %rcx
movups (%rcx), %xmm1
movaps %xmm1, -0xe0(%rbp)
movq 0x80(%rbx), %rcx
movslq %r14d, %rdx
imulq $0x120, %rdx, %rsi      # imm = 0x120
movl %edx, -0x120(%rcx,%rsi)
movl -0x3c(%rbp), %edi
movl %edi, -0x11c(%rcx,%rsi)
movl -0xa8(%rbp), %edi
movl %edi, -0x118(%rcx,%rsi)
movl -0xa0(%rbp), %edi
movl %edi, -0x114(%rcx,%rsi)
movl -0x9c(%rbp), %edi
movl %edi, -0x110(%rcx,%rsi)
movl %r13d, -0x10c(%rcx,%rsi)
movq -0x48(%rbp), %r13
movl -0xa4(%rbp), %edi
movl %edi, -0x108(%rcx,%rsi)
movl -0x38(%rbp), %edi
movl %edi, -0x104(%rcx,%rsi)
movq -0x50(%rbp), %rdi
movq %rdi, -0x100(%rcx,%rsi)
movsd -0xe8(%rbp), %xmm1
movsd %xmm1, -0xf8(%rcx,%rsi)
movq %rax, -0xf0(%rcx,%rsi)
movsd %xmm0, -0xe8(%rcx,%rsi)
movaps -0xe0(%rbp), %xmm0
movups %xmm0, -0xe0(%rcx,%rsi)
movsd -0x140(%rbp), %xmm0
mulsd %xmm0, %xmm0
movsd %xmm0, -0xd0(%rcx,%rsi)
movsd -0x148(%rbp), %xmm0
movsd %xmm0, -0xc8(%rcx,%rsi)
movsd -0x120(%rbp), %xmm0
movsd %xmm0, -0xc0(%rcx,%rsi)
movsd -0x138(%rbp), %xmm0
movsd %xmm0, -0xb8(%rcx,%rsi)
movsd -0x118(%rbp), %xmm0
movsd %xmm0, -0xb0(%rcx,%rsi)
movsd -0x100(%rbp), %xmm0
movsd %xmm0, -0xa8(%rcx,%rsi)
movsd -0x90(%rbp), %xmm0
movsd %xmm0, -0xa0(%rcx,%rsi)
movsd -0x108(%rbp), %xmm0
movsd %xmm0, -0x98(%rcx,%rsi)
movsd -0x78(%rbp), %xmm0
movsd %xmm0, -0x90(%rcx,%rsi)
movsd -0x110(%rbp), %xmm0
movsd %xmm0, -0x88(%rcx,%rsi)
movsd -0x68(%rbp), %xmm0
movsd %xmm0, -0x80(%rcx,%rsi)
movsd -0x88(%rbp), %xmm0
movsd %xmm0, -0x78(%rcx,%rsi)
movsd -0x150(%rbp), %xmm0
movsd %xmm0, -0x70(%rcx,%rsi)
movsd -0x130(%rbp), %xmm0
movsd %xmm0, -0x68(%rcx,%rsi)
movsd -0x128(%rbp), %xmm0
movsd %xmm0, -0x60(%rcx,%rsi)
movsd -0x30(%rbp), %xmm0
movsd %xmm0, -0x58(%rcx,%rsi)
andq $0x0, -0x50(%rcx,%rsi)
movsd -0xf8(%rbp), %xmm0
movsd %xmm0, -0x48(%rcx,%rsi)
movsd -0x70(%rbp), %xmm0
movsd %xmm0, -0x40(%rcx,%rsi)
movsd -0x58(%rbp), %xmm0
movsd %xmm0, -0x38(%rcx,%rsi)
movsd -0xf0(%rbp), %xmm0
movsd %xmm0, -0x30(%rcx,%rsi)
xorpd %xmm0, %xmm0
movupd %xmm0, -0x18(%rcx,%rsi)
movupd %xmm0, -0x28(%rcx,%rsi)
andq $0x0, -0x8(%rcx,%rsi)
movl %edx, 0x9bdd4(%rbx)
jmp 0x3420b
movl 0x9f0c0(%rbx), %edx
leaq 0x30bca(%rip), %rsi     # 0x64578
pushq $0x4
popq %rdi
xorl %eax, %eax
callq 0x455bc
movl 0x9f0c0(%rbx), %edx
cmpl $0x9, %edx
jl 0x3409f
pushq $0x30
popq %rsi
pushq $0x2
popq %rdx
movq -0x38(%rbp), %r14
movq %r14, %rdi
callq 0x459f7
movl %eax, %r15d
pushq $0x34
popq %rsi
pushq $0x14
popq %rdx
movq %r14, %rdi
callq 0x459f7
testb $0x1, %r15b
jne 0x340df
movq %r13, -0x48(%rbp)
movl %eax, %eax
cvtsi2sd %rax, %xmm0
movl %r15d, -0x98(%rbp)
sarl %r15d
leaq 0x30(%rbx), %rcx
movq %rcx, -0x60(%rbp)
mulsd 0x2f227(%rip), %xmm0    # 0x62c40
movsd %xmm0, -0x68(%rbp)
movslq %r15d, %rax
movq %rax, -0x90(%rbp)
leaq 0x9d002(%rbx), %rax
movq %rax, -0x88(%rbp)
pushq $0x1
popq %rax
pushq $0x78
popq %r15
movl %eax, -0x58(%rbp)
movl 0x9f0c0(%rbx), %eax
shll $0x3, %eax
cmpl %eax, %r15d
jg 0x340e8
movq -0x60(%rbp), %rax
cmpl $0x3f, (%rax)
jg 0x340e8
leal -0x30(%r15), %esi
movq -0x38(%rbp), %r13
movq %r13, %rdi
pushq $0x1
popq %r14
movl %r14d, %edx
callq 0x459f7
movl %eax, -0x58(%rbp)
leal -0x2f(%r15), %esi
movq %r13, %rdi
movl %r14d, %edx
callq 0x459f7
movl %eax, -0x70(%rbp)
leal -0x2e(%r15), %esi
movq %r13, %rdi
movl %r14d, %edx
callq 0x459f7
movl %eax, -0x78(%rbp)
leal -0x2d(%r15), %esi
movq %r13, %rdi
pushq $0x5
popq %r12
movl %r12d, %edx
callq 0x459f7
movl %eax, %r14d
leal -0x25(%r15), %esi
movq %r13, %rdi
movl %r12d, %edx
callq 0x459f7
movl %eax, -0x3c(%rbp)
movq %r15, -0x30(%rbp)
leal -0x20(%r15), %esi
movq %r13, %rdi
pushq $0x20
popq %r12
movl %r12d, %edx
callq 0x45a39
movl %eax, -0x50(%rbp)
testl %r14d, %r14d
cmovel %r12d, %r14d
movl -0x78(%rbp), %r12d
xorl %eax, %eax
testl %r12d, %r12d
setne %al
leal (%rax,%rax,2), %edi
incl %edi
movl %r14d, %esi
callq 0x452fd
testl %eax, %eax
je 0x33c1b
movl %eax, %r13d
movq 0x10(%rbx), %rdi
movsd 0x18(%rbx), %xmm0
movsd -0x68(%rbp), %xmm1
callq 0x472ee
movq %rax, %r14
movapd %xmm0, %xmm1
testl %r12d, %r12d
je 0x33b3c
movq %r14, %rdi
movapd %xmm1, %xmm0
callq 0x477da
movq %rax, %r14
movapd %xmm0, %xmm1
movq -0x30(%rbp), %r15
movq 0x38(%rbx), %rax
movq (%rax), %rdi
movsd 0x8(%rax), %xmm0
movq %r14, %rsi
movsd %xmm1, -0x30(%rbp)
callq 0x47322
cmpl $0x0, 0x9bdd0(%rbx)
jne 0x33b74
andpd 0x2bdc6(%rip), %xmm0    # 0x5f930
ucomisd 0x2f196(%rip), %xmm0    # 0x62d08
jbe 0x33b7f
andl $0x0, 0x9bdd0(%rbx)
andl $0x0, 0x30(%rbx)
movq -0x60(%rbp), %rdi
movq %r14, %rsi
movsd -0x30(%rbp), %xmm0
movl %r13d, %edx
callq 0x343dc
testl %eax, %eax
js 0x33c36
cvtsi2sdl -0x50(%rbp), %xmm0
mulsd 0x30790(%rip), %xmm0    # 0x64338
movl %eax, %eax
imulq $0x60, %rax, %rax
movq 0x38(%rbx), %rcx
addq %rax, %rcx
movq -0x90(%rbp), %r8
movsd %xmm0, 0x20(%rcx,%r8,8)
decl %r13d
movslq %r13d, %rdx
imulq $0x6, %rdx, %rdx
addq -0x88(%rbp), %rdx
movzwl (%rdx,%r8,2), %esi
movl -0x3c(%rbp), %r9d
cmpl %esi, %r9d
setne 0x15(%r8,%rcx)
xorl %ecx, %ecx
cmpl $0x0, -0x70(%rbp)
sete %sil
setne %cl
movb $0x2, %dil
subb %sil, %dil
cmpl $0x0, -0x98(%rbp)
leal 0xe(%rcx,%rcx,4), %ecx
movzbl %dil, %esi
cmovnel %ecx, %esi
addq 0x38(%rbx), %rax
movb %sil, 0x18(%r8,%rax)
movw %r9w, (%rdx,%r8,2)
jmp 0x33c36
pushq $0x2
popq %rdi
leaq 0x309b4(%rip), %rsi     # 0x645d9
movl %r12d, %edx
movl %r14d, %ecx
xorl %eax, %eax
callq 0x455bc
movq -0x30(%rbp), %r15
addl $0x30, %r15d
jmp 0x33a40
movl 0x9f0c0(%rbx), %edx
leaq 0x309bd(%rip), %rsi     # 0x64609
pushq $0x4
popq %rdi
xorl %eax, %eax
callq 0x455bc
movl 0x9f0c0(%rbx), %edx
cmpl $0x9, %edx
jl 0x340a8
pushq $0x30
popq %rsi
pushq $0x2
popq %rdx
movq -0x38(%rbp), %r14
movq %r14, %rdi
callq 0x459f7
movl %eax, %r15d
pushq $0x34
popq %rsi
pushq $0x14
popq %rdx
movq %r14, %rdi
callq 0x459f7
testb $0x1, %r15b
jne 0x340f1
movq %r13, -0x48(%rbp)
movl %eax, %eax
cvtsi2sd %rax, %xmm0
movl %r15d, -0x58(%rbp)
sarl %r15d
mulsd 0x2ef94(%rip), %xmm0    # 0x62c40
movsd %xmm0, -0x50(%rbp)
leaq 0x30(%rbx), %rcx
movq %rcx, -0x30(%rbp)
movslq %r15d, %rax
movq %rax, -0x68(%rbp)
pushq $0x1
popq %rax
pushq $0x78
popq %r15
movl %eax, -0x3c(%rbp)
movl 0x9f0c0(%rbx), %eax
shll $0x3, %eax
cmpl %eax, %r15d
jg 0x34100
movq -0x30(%rbp), %rax
cmpl $0x3f, (%rax)
jg 0x34100
leal -0x30(%r15), %esi
movq -0x38(%rbp), %r12
movq %r12, %rdi
pushq $0x1
popq %r14
movl %r14d, %edx
callq 0x459f7
movl %eax, -0x3c(%rbp)
leal -0x2f(%r15), %esi
movq %r12, %rdi
movl %r14d, %edx
callq 0x459f7
movl %eax, -0x78(%rbp)
leal -0x2e(%r15), %esi
movq %r12, %rdi
movl %r14d, %edx
callq 0x459f7
movl %eax, %r13d
leal -0x2d(%r15), %esi
movq %r12, %rdi
pushq $0x5
popq %rdx
callq 0x459f7
movl %eax, %r14d
leal -0x20(%r15), %esi
movq %r12, %rdi
pushq $0x20
popq %r12
movl %r12d, %edx
callq 0x459f7
movl %eax, -0x60(%rbp)
testl %r14d, %r14d
cmovel %r12d, %r14d
xorl %eax, %eax
testl %r13d, %r13d
setne %al
leal (%rax,%rax,2), %edi
incl %edi
movl %r14d, %esi
callq 0x452fd
testl %eax, %eax
je 0x33e4a
movl %eax, %r12d
movq 0x10(%rbx), %rdi
movsd 0x18(%rbx), %xmm0
movsd -0x50(%rbp), %xmm1
callq 0x472ee
movq %rax, %r14
movapd %xmm0, %xmm1
testl %r13d, %r13d
je 0x33da8
movq %r14, %rdi
movapd %xmm1, %xmm0
callq 0x477da
movq %rax, %r14
movapd %xmm0, %xmm1
movq 0x38(%rbx), %rax
movq (%rax), %rdi
movsd 0x8(%rax), %xmm0
movq %r14, %rsi
movsd %xmm1, -0x70(%rbp)
callq 0x47322
cmpl $0x0, 0x9bdd0(%rbx)
jne 0x33ddc
andpd 0x2bb5e(%rip), %xmm0    # 0x5f930
ucomisd 0x2ef2e(%rip), %xmm0    # 0x62d08
jbe 0x33de7
andl $0x0, 0x9bdd0(%rbx)
andl $0x0, 0x30(%rbx)
movq -0x30(%rbp), %rdi
movq %r14, %rsi
movsd -0x70(%rbp), %xmm0
movl %r12d, %edx
callq 0x343dc
testl %eax, %eax
js 0x33e61
movl -0x60(%rbp), %ecx
cvtsi2sd %rcx, %xmm0
movl %eax, %eax
imulq $0x60, %rax, %rax
addq 0x38(%rbx), %rax
xorl %ecx, %ecx
cmpl $0x0, -0x78(%rbp)
sete %dl
setne %cl
movb $0x2, %sil
subb %dl, %sil
cmpl $0x0, -0x58(%rbp)
mulsd 0x2dfe1(%rip), %xmm0    # 0x61e10
movq -0x68(%rbp), %rdi
movsd %xmm0, 0x38(%rax,%rdi,8)
leal 0xe(%rcx,%rcx,4), %ecx
movzbl %sil, %edx
cmovnel %ecx, %edx
movb %dl, 0x18(%rdi,%rax)
jmp 0x33e61
pushq $0x2
popq %rdi
leaq 0x30816(%rip), %rsi     # 0x6466a
movl %r13d, %edx
movl %r14d, %ecx
xorl %eax, %eax
callq 0x455bc
addl $0x30, %r15d
jmp 0x33cca
movl 0x9f0c0(%rbx), %edx
leaq 0x30668(%rip), %rsi     # 0x644df
pushq $0x4
popq %rdi
xorl %eax, %eax
callq 0x455bc
pushq $0x18
popq %rsi
pushq $0xd
popq %rdx
movq -0x38(%rbp), %r15
movq %r15, %rdi
callq 0x459f7
movl 0x9f0c0(%rbx), %edx
cmpl $0x9, %edx
jl 0x340b1
movl %eax, %eax
cvtsi2sd %rax, %xmm0
movsd %xmm0, -0x30(%rbp)
pushq $0x30
popq %rsi
pushq $0xa
popq %rdx
movq %r15, %rdi
callq 0x459f7
movl %eax, %r14d
pushq $0x3a
popq %rsi
pushq $0x8
popq %rdx
movq %r15, %rdi
callq 0x459f7
movq %r15, %rdi
movl %eax, %r15d
pushq $0x42
popq %rsi
pushq $0x6
popq %r13
movl %r13d, %edx
callq 0x459f7
movl %eax, %r12d
movl %r14d, %edi
callq 0x47baa
cvtsi2sd %r15d, %xmm0
movq -0x80(%rbp), %r15
movsd -0x30(%rbp), %xmm1
mulsd 0x30405(%rip), %xmm1    # 0x64308
mulsd 0x2c9a5(%rip), %xmm0    # 0x608b0
addsd %xmm1, %xmm0
movl %eax, %edi
callq 0x4708a
movq %rax, 0x10(%rbx)
movsd %xmm0, 0x18(%rbx)
movl %r12d, 0x2d0(%rbx)
jmp 0x3421d
movq %r13, -0x48(%rbp)
movl 0x9f0c0(%rbx), %edx
leaq 0x305d9(%rip), %rsi     # 0x64515
xorl %r15d, %r15d
pushq $0x4
popq %rdi
xorl %eax, %eax
callq 0x455bc
leaq 0x9b950(%rbx), %r14
pushq $0x30
popq %rsi
pushq $0x8
popq %r12
leal 0x8(%rsi), %r13d
movl 0x9f0c0(%rbx), %eax
shll $0x3, %eax
cmpl %eax, %r13d
jg 0x33f87
cmpq $0x59, %r15
ja 0x33f87
movq -0x38(%rbp), %rdi
movl %r12d, %edx
callq 0x459f7
movb %al, (%r14,%r15)
incq %r15
movl %r13d, %esi
jmp 0x33f57
movb $0x0, (%r14,%r15)
leaq 0x30599(%rip), %rsi     # 0x6452c
pushq $0x3
popq %rdi
movq %r14, %rdx
xorl %eax, %eax
callq 0x455bc
pushq $0x9
popq %r12
jmp 0x34112
xorpd %xmm0, %xmm0
movapd %xmm0, -0xc0(%rbp)
movapd %xmm0, -0xd0(%rbp)
movl 0x9f0c0(%rbx), %edx
leaq 0x306d0(%rip), %rsi     # 0x6469a
pushq $0x4
popq %rdi
xorl %eax, %eax
callq 0x455bc
movl 0x9f0c0(%rbx), %edx
cmpl $0x9, %edx
jl 0x340c7
movq %r13, -0x48(%rbp)
pushq $0x30
popq %rsi
pushq $0x8
popq %r14
movq -0x38(%rbp), %r13
movq %r13, %rdi
movl %r14d, %edx
callq 0x45a39
cvtsi2sd %eax, %xmm0
divsd 0x3031f(%rip), %xmm0    # 0x64328
movsd %xmm0, -0xe0(%rbp)
pushq $0x38
popq %rsi
movq %r13, %rdi
movl %r14d, %edx
callq 0x45a39
cvtsi2sd %eax, %xmm0
divsd 0x302fd(%rip), %xmm0    # 0x64328
movsd %xmm0, -0xd8(%rbp)
pushq $0x40
popq %rsi
movq %r13, %rdi
movl %r14d, %edx
callq 0x45a39
cvtsi2sd %eax, %xmm0
divsd 0x302db(%rip), %xmm0    # 0x64328
movsd %xmm0, -0xd0(%rbp)
xorpd %xmm1, %xmm1
cmpl $0xb, 0x9f0c0(%rbx)
jle 0x3411f
pushq $0x4d
popq %rsi
pushq $0x1
popq %rdx
movq %r13, %rdi
callq 0x45a39
pushq $0x60
popq %r12
testl %eax, %eax
je 0x34125
movq -0x48(%rbp), %r13
xorpd %xmm1, %xmm1
jmp 0x34146
leaq 0x3042d(%rip), %rsi     # 0x644c1
jmp 0x340b8
leaq 0x304bc(%rip), %rsi     # 0x64559
jmp 0x340ce
leaq 0x304e9(%rip), %rsi     # 0x6458f
jmp 0x340b8
leaq 0x30571(%rip), %rsi     # 0x64620
jmp 0x340b8
leaq 0x3043e(%rip), %rsi     # 0x644f6
pushq $0x2
popq %rdi
xorl %eax, %eax
callq 0x455bc
jmp 0x330d5
leaq 0x305e3(%rip), %rsi     # 0x646b1
pushq $0x2
popq %rdi
xorl %eax, %eax
callq 0x455bc
pushq $-0x1
jmp 0x34209
leaq 0x304c8(%rip), %rsi     # 0x645ae
jmp 0x340f8
xorl %r12d, %r12d
cmpl $0x0, -0x58(%rbp)
jmp 0x34107
leaq 0x30547(%rip), %rsi     # 0x6463f
pushq $0x2
popq %rdi
movl %r15d, %edx
jmp 0x340bb
xorl %r12d, %r12d
cmpl $0x0, -0x3c(%rbp)
sete %r12b
movl %r12d, 0x9bdd0(%rbx)
movq -0x80(%rbp), %r15
movq -0x48(%rbp), %r13
jmp 0x34214
pushq $0x48
popq %r12
jmp 0x34142
pushq $0x4e
popq %rsi
pushq $0x12
popq %rdx
movq %r13, %rdi
callq 0x459f7
movl %eax, %eax
cvtsi2sd %rax, %xmm1
divsd 0x301e6(%rip), %xmm1    # 0x64328
movq -0x48(%rbp), %r13
leal 0x18(%r12), %eax
movl 0x9f0c0(%rbx), %ecx
shll $0x3, %ecx
cmpl %ecx, %eax
jg 0x341d6
movq -0x38(%rbp), %r13
movq %r13, %rdi
movl %r12d, %esi
movl %r14d, %edx
movsd %xmm1, -0x30(%rbp)
callq 0x45a39
cvtsi2sd %eax, %xmm0
divsd 0x301b5(%rip), %xmm0    # 0x64330
movsd %xmm0, -0xc8(%rbp)
leal 0x8(%r12), %esi
movq %r13, %rdi
movl %r14d, %edx
callq 0x45a39
cvtsi2sd %eax, %xmm0
divsd 0x30191(%rip), %xmm0    # 0x64330
movsd %xmm0, -0xc0(%rbp)
orl $0x10, %r12d
movq %r13, %rdi
movq -0x48(%rbp), %r13
movl %r12d, %esi
movl %r14d, %edx
callq 0x45a39
movsd -0x30(%rbp), %xmm1
cvtsi2sd %eax, %xmm0
divsd 0x30162(%rip), %xmm0    # 0x64330
movsd %xmm0, -0xb8(%rbp)
movl $0x1, 0x6f100(%rbx)
xorl %eax, %eax
cmpq $0x3, %rax
je 0x341ff
movsd -0xe0(%rbp,%rax,8), %xmm0
movsd %xmm0, 0x6f120(%rbx,%rax,8)
incq %rax
jmp 0x341e2
movsd %xmm1, 0x6f138(%rbx)
pushq $0x5
popq %r12
testl %r12d, %r12d
js 0x330d5
cmpl $0x62, %r13d
ja 0x3422c
movl %r12d, %r13d
movl %r15d, %eax
incl 0x9f578(%rbx,%rax,4)
movl %r13d, %r12d
jmp 0x34232
incl 0x9f578(%rbx)
movl %r12d, %eax
addq $0x128, %rsp            # imm = 0x128
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq