LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O1/DoubleString[P]RtConverter/src/Rtklib/rtcm3e.cpp
// Function: bamboo::to_sigid(int, unsigned char, int*)
static int to_sigid(int sys, unsigned char code, int *freq)
{
    const char **msm_sig;
    char *sig;
    int i;
    
    /* signal conversion for undefined signal by rtcm */
    if (sys==SYS_GPS) {
        if      (code==CODE_L1Y) code=CODE_L1P;
        else if (code==CODE_L1M) code=CODE_L1P;
        else if (code==CODE_L1N) code=CODE_L1P;
        else if (code==CODE_L2D) code=CODE_L2P;
        else if (code==CODE_L2Y) code=CODE_L2P;
        else if (code==CODE_L2M) code=CODE_L2P;
        else if (code==CODE_L2N) code=CODE_L2P;
    }
    if (!*(sig=code2obs(code,freq))) return 0;
    
    switch (sys) {
        case SYS_GPS: msm_sig=msm_sig_gps; break;
        case SYS_GLO: msm_sig=msm_sig_glo; break;
        case SYS_GAL: msm_sig=msm_sig_gal; break;
        case SYS_QZS: msm_sig=msm_sig_qzs; break;
        case SYS_SBS: msm_sig=msm_sig_sbs; break;
        case SYS_CMP: msm_sig=msm_sig_cmp; break;
        default: return 0;
    }
    /* freqency index for beidou and galileo */
    if (sys==SYS_CMP) {
        if      (*freq==5) *freq=2; /* B2 */
        else if (*freq==4) *freq=3; /* B3 */
    }
    else if (sys==SYS_GAL) {
        if (*freq==5) *freq=2; /* E5b */
    }
    for (i=0;i<32;i++) {
        if (!strcmp(sig,msm_sig[i])) return i+1;
    }
    return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movl %edi, %r14d
cmpl $0x1, %edi
jne 0x4cf7d
movzbl %sil, %eax
cmpl $0xe, %eax
jg 0x4cf5f
movb $0x2, %sil
leal -0x4(%rax), %ecx
cmpl $0x3, %ecx
jb 0x4cf7d
jmp 0x4cf73
cmpl $0x16, %eax
je 0x4cf6e
cmpl $0x15, %eax
je 0x4cf6e
cmpl $0xf, %eax
jne 0x4cf73
movb $0x13, %sil
jmp 0x4cf7d
cmpb $0x17, %al
movl $0x13, %esi
cmovnel %eax, %esi
movzbl %sil, %edi
movq %rbx, %rsi
callq 0x4e015
xorl %r12d, %r12d
cmpb $0x0, (%rax)
je 0x4d04c
movq %rax, %r15
leal -0x1(%r14), %eax
cmpl $0x7, %eax
ja 0x4cfba
leaq 0x22fa4(%rip), %rcx     # 0x6ff4c
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x41698(%rip), %r13     # 0x8e650
jmp 0x4cff5
cmpl $0x10, %r14d
je 0x4cfee
cmpl $0x20, %r14d
jne 0x4d04c
leaq 0x41b7f(%rip), %r13     # 0x8eb50
jmp 0x4cff5
leaq 0x41876(%rip), %r13     # 0x8e850
jmp 0x4cff5
leaq 0x41a6d(%rip), %r13     # 0x8ea50
jmp 0x4cff5
leaq 0x41764(%rip), %r13     # 0x8e750
jmp 0x4cff5
leaq 0x4195b(%rip), %r13     # 0x8e950
cmpl $0x8, %r14d
je 0x4d014
cmpl $0x20, %r14d
jne 0x4d027
movl (%rbx), %eax
cmpl $0x5, %eax
je 0x4d020
cmpl $0x4, %eax
jne 0x4d027
movl $0x3, %eax
jmp 0x4d025
movl $0x2, %eax
cmpl $0x5, (%rbx)
je 0x4d025
jmp 0x4d027
movl $0x2, %eax
movl %eax, (%rbx)
xorl %r12d, %r12d
movq (%r13,%r12,8), %rsi
movq %r15, %rdi
callq 0x8890
testl %eax, %eax
je 0x4d049
incq %r12
cmpq $0x20, %r12
jne 0x4d02a
xorl %r12d, %r12d
jmp 0x4d04c
incl %r12d
movl %r12d, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/DoubleString[P]RtConverter/src/Rtklib/rtcm3e.cpp
// Function: bamboo::encode_msm_phrng(bamboo::rtcm_t*, int, double const*, int)
static int encode_msm_phrng(rtcm_t *rtcm, int i, const double *phrng, int ncell)
{
    int j,phrng_val;
    
    for (j=0;j<ncell;j++) {
        if (phrng[j]==0.0) {
            phrng_val=-2097152;
        }
        else if (fabs(phrng[j])>1171.0) {
            trace(2,"msm fine phase-range overflow %s phrng=%.3f\n",
                 time_str(rtcm->time,0),phrng[j]);
            phrng_val=-2097152;
        }
        else {
            phrng_val=ROUND(phrng[j]/RANGE_MS/P2_29);
        }
        setbits(rtcm->buff,i,22,phrng_val); i+=22;
    }
    return i;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %esi, %ebx
testl %ecx, %ecx
jle 0x4d134
movq %rdx, %r14
movq %rdi, -0x30(%rbp)
leaq 0x9f0c4(%rdi), %r12
movl %ecx, %eax
movq %rax, -0x38(%rbp)
xorl %r15d, %r15d
movsd (%r14,%r15,8), %xmm0
movl $0xffe00000, %r13d      # imm = 0xFFE00000
ucomisd 0x1d864(%rip), %xmm0    # 0x6a908
jne 0x4d0a8
jnp 0x4d112
movapd %xmm0, %xmm1
andpd 0x1c87c(%rip), %xmm1    # 0x69930
ucomisd 0x230f4(%rip), %xmm1    # 0x701b0
jbe 0x4d0f0
movq -0x30(%rbp), %rax
movq 0x10(%rax), %rdi
movsd 0x18(%rax), %xmm0
xorl %esi, %esi
callq 0x5077f
movsd (%r14,%r15,8), %xmm0
movl $0x2, %edi
leaq 0x2356a(%rip), %rsi     # 0x7064e
movq %rax, %rdx
movb $0x1, %al
callq 0x4ded0
jmp 0x4d112
divsd 0x21d08(%rip), %xmm0    # 0x6ee00
mulsd 0x23040(%rip), %xmm0    # 0x70140
addsd 0x1eb70(%rip), %xmm0    # 0x6bc78
callq 0x8ad0
cvttsd2si %xmm0, %r13d
movq %r12, %rdi
movl %ebx, %esi
movl $0x16, %edx
movl %r13d, %ecx
callq 0x4e47b
addl $0x16, %ebx
incq %r15
cmpq %r15, -0x38(%rbp)
jne 0x4d090
movl %ebx, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/DoubleString[P]RtConverter/src/Rtklib/rtcm3e.cpp
// Function: bamboo::encode_msm_lock(bamboo::rtcm_t*, int, double const*, int)
static int encode_msm_lock(rtcm_t *rtcm, int i, const double *lock, int ncell)
{
    int j,lock_val;
    
    for (j=0;j<ncell;j++) {
        lock_val=to_msm_lock(lock[j]);
        setbitu(rtcm->buff,i,4,lock_val); i+=4;
    }
    return i;
}

// Assembly:
movl %esi, %eax
testl %ecx, %ecx
jle 0x4d2ef
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rdi, %r15
addq $0x9f0c4, %r15          # imm = 0x9F0C4
movl %ecx, %r12d
shlq $0x2, %r12
movl %eax, -0x2c(%rbp)
movl %eax, %ebx
xorl %r13d, %r13d
movsd (%r14,%r13,2), %xmm0
movsd 0x23049(%rip), %xmm1    # 0x701d0
ucomisd %xmm0, %xmm1
movl $0x0, %ecx
ja 0x4d2bd
movl $0x1, %ecx
movsd 0x1ebed(%rip), %xmm1    # 0x6bd90
ucomisd %xmm0, %xmm1
ja 0x4d2bd
movl $0x2, %ecx
movsd 0x2301e(%rip), %xmm1    # 0x701d8
ucomisd %xmm0, %xmm1
ja 0x4d2bd
movl $0x3, %ecx
movsd 0x2300f(%rip), %xmm1    # 0x701e0
ucomisd %xmm0, %xmm1
ja 0x4d2bd
movl $0x4, %ecx
movsd 0x23000(%rip), %xmm1    # 0x701e8
ucomisd %xmm0, %xmm1
ja 0x4d2bd
movl $0x5, %ecx
movsd 0x22ff1(%rip), %xmm1    # 0x701f0
ucomisd %xmm0, %xmm1
ja 0x4d2bd
movl $0x6, %ecx
movsd 0x22fe2(%rip), %xmm1    # 0x701f8
ucomisd %xmm0, %xmm1
ja 0x4d2bd
movl $0x7, %ecx
movsd 0x22fd3(%rip), %xmm1    # 0x70200
ucomisd %xmm0, %xmm1
ja 0x4d2bd
movl $0x8, %ecx
movsd 0x22fc4(%rip), %xmm1    # 0x70208
ucomisd %xmm0, %xmm1
ja 0x4d2bd
movl $0x9, %ecx
movsd 0x22fb9(%rip), %xmm1    # 0x70210
ucomisd %xmm0, %xmm1
ja 0x4d2bd
movl $0xa, %ecx
movsd 0x22fae(%rip), %xmm1    # 0x70218
ucomisd %xmm0, %xmm1
ja 0x4d2bd
movl $0xb, %ecx
movsd 0x22fa3(%rip), %xmm1    # 0x70220
ucomisd %xmm0, %xmm1
ja 0x4d2bd
movl $0xc, %ecx
movsd 0x22f98(%rip), %xmm1    # 0x70228
ucomisd %xmm0, %xmm1
ja 0x4d2bd
movl $0xd, %ecx
movsd 0x22f8d(%rip), %xmm1    # 0x70230
ucomisd %xmm0, %xmm1
ja 0x4d2bd
xorl %ecx, %ecx
movsd 0x22f85(%rip), %xmm1    # 0x70238
ucomisd %xmm0, %xmm1
seta %cl
xorl $0xf, %ecx
leaq (%rbx,%r13), %rsi
movq %r15, %rdi
movl $0x4, %edx
callq 0x4e403
addq $0x4, %r13
cmpq %r13, %r12
jne 0x4d179
movl -0x2c(%rbp), %eax
addl %r13d, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/DoubleString[P]RtConverter/src/Rtklib/rtcm3e.cpp
// Function: bamboo::encode_msm_int_rrng(bamboo::rtcm_t*, int, double const*, int)
static int encode_msm_int_rrng(rtcm_t *rtcm, int i, const double *rrng,
                               int nsat)
{
    unsigned int int_ms;
    int j;
    
    for (j=0;j<nsat;j++) {
        if (rrng[j]==0.0) {
            int_ms=255;
        }
        else if (rrng[j]<0.0||rrng[j]>RANGE_MS*255.0) {
            trace(2,"msm rough range overflow %s rrng=%.3f\n",
                 time_str(rtcm->time,0),rrng[j]);
            int_ms=255;
        }
        else {
            int_ms=ROUND_U(rrng[j]/RANGE_MS/P2_10)>>10;
        }
        setbitu(rtcm->buff,i,8,int_ms); i+=8;
    }
    return i;
}

// Assembly:
movl %esi, %eax
testl %ecx, %ecx
jle 0x4d3e6
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdx, %r14
movq %rdi, -0x38(%rbp)
leaq 0x9f0c4(%rdi), %rdx
movq %rdx, -0x40(%rbp)
movl %ecx, %ebx
shlq $0x3, %rbx
movl %eax, -0x2c(%rbp)
movl %eax, %r12d
xorl %r15d, %r15d
xorpd %xmm1, %xmm1
movsd (%r14,%r15), %xmm0
movl $0xff, %r13d
ucomisd %xmm1, %xmm0
jne 0x4d344
jnp 0x4d3ac
ucomisd %xmm0, %xmm1
ja 0x4d37c
ucomisd 0x22e66(%rip), %xmm0    # 0x701b8
ja 0x4d37c
divsd 0x21aa4(%rip), %xmm0    # 0x6ee00
mulsd 0x22e44(%rip), %xmm0    # 0x701a8
addsd 0x1e90c(%rip), %xmm0    # 0x6bc78
callq 0x8ad0
cvttsd2si %xmm0, %r13
shrl $0xa, %r13d
jmp 0x4d3ac
movq -0x38(%rbp), %rax
movq 0x10(%rax), %rdi
movsd 0x18(%rax), %xmm0
xorl %esi, %esi
callq 0x5077f
movsd (%r14,%r15), %xmm0
movl $0x2, %edi
leaq 0x23313(%rip), %rsi     # 0x706b5
movq %rax, %rdx
movb $0x1, %al
callq 0x4ded0
leaq (%r12,%r15), %rsi
movq -0x40(%rbp), %rdi
movl $0x8, %edx
movl %r13d, %ecx
callq 0x4e403
addq $0x8, %r15
cmpq %r15, %rbx
xorpd %xmm1, %xmm1
jne 0x4d330
movl -0x2c(%rbp), %eax
addl %r15d, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/DoubleString[P]RtConverter/src/Rtklib/rtcm3e.cpp
// Function: bamboo::encode_msm_cnr(bamboo::rtcm_t*, int, float const*, int)
static int encode_msm_cnr(rtcm_t *rtcm, int i, const float *cnr, int ncell)
{
    int j,cnr_val;
    
    for (j=0;j<ncell;j++) {
        cnr_val=ROUND(cnr[j]/1.0);
        setbitu(rtcm->buff,i,6,cnr_val); i+=6;
    }
    return i;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %esi, %ebx
testl %ecx, %ecx
jle 0x4d442
movq %rdx, %r14
movq %rdi, %r15
addq $0x9f0c4, %r15          # imm = 0x9F0C4
movl %ecx, %r12d
xorl %r13d, %r13d
xorps %xmm0, %xmm0
cvtss2sd (%r14,%r13,4), %xmm0
addsd 0x1e859(%rip), %xmm0    # 0x6bc78
callq 0x8ad0
cvttsd2si %xmm0, %ecx
movq %r15, %rdi
movl %ebx, %esi
movl $0x6, %edx
callq 0x4e403
addl $0x6, %ebx
incq %r13
cmpq %r13, %r12
jne 0x4d40e
movl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/DoubleString[P]RtConverter/src/Rtklib/rtcm3e.cpp
// Function: bamboo::encode_msm_rrate(bamboo::rtcm_t*, int, double const*, int)
static int encode_msm_rrate(rtcm_t *rtcm, int i, const double *rrate, int nsat)
{
    int j,rrate_val;
    
    for (j=0;j<nsat;j++) {
        if (fabs(rrate[j])>8191.0) {
            trace(2,"msm rough phase-range-rate overflow %s rrate=%.4f\n",
                 time_str(rtcm->time,0),rrate[j]);
            rrate_val=-8192;
        }
        else {
            rrate_val=ROUND(rrate[j]/1.0);
        }
        setbits(rtcm->buff,i,14,rrate_val); i+=14;
    }
    return i;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %esi, %ebx
testl %ecx, %ecx
jle 0x4d4fe
movq %rdx, %r14
movq %rdi, %r15
leaq 0x9f0c4(%rdi), %rax
movq %rax, -0x30(%rbp)
movl %ecx, %r13d
xorl %r12d, %r12d
movsd (%r14,%r12,8), %xmm0
movapd %xmm0, %xmm1
andpd 0x1c49c(%rip), %xmm1    # 0x69930
ucomisd 0x22da4(%rip), %xmm1    # 0x70240
jbe 0x4d4d2
movq 0x10(%r15), %rdi
movsd 0x18(%r15), %xmm0
xorl %esi, %esi
callq 0x5077f
movsd (%r14,%r12,8), %xmm0
movl $0x2, %edi
leaq 0x23238(%rip), %rsi     # 0x706f9
movq %rax, %rdx
movb $0x1, %al
callq 0x4ded0
movl $0xffffe000, %ecx       # imm = 0xFFFFE000
jmp 0x4d4e3
addsd 0x1e79e(%rip), %xmm0    # 0x6bc78
callq 0x8ad0
cvttsd2si %xmm0, %ecx
movq -0x30(%rbp), %rdi
movl %ebx, %esi
movl $0xe, %edx
callq 0x4e47b
addl $0xe, %ebx
incq %r12
cmpq %r12, %r13
jne 0x4d482
movl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/DoubleString[P]RtConverter/src/Rtklib/rtcm3e.cpp
// Function: bamboo::encode_msm_rate(bamboo::rtcm_t*, int, double const*, int)
static int encode_msm_rate(rtcm_t *rtcm, int i, const double *rate, int ncell)
{
    int j,rate_val;
    
    for (j=0;j<ncell;j++) {
        if (rate[j]==0.0) {
            rate_val=-16384;
        }
        else if (fabs(rate[j])>1.6384) {
            trace(2,"msm fine phase-range-rate overflow %s rate=%.3f\n",
                 time_str(rtcm->time,0),rate[j]);
            rate_val=-16384;
        }
        else {
            rate_val=ROUND(rate[j]/0.0001);
        }
        setbitu(rtcm->buff,i,15,rate_val); i+=15;
    }
    return i;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %esi, %ebx
testl %ecx, %ecx
jle 0x4d5dd
movq %rdx, %r14
movq %rdi, -0x30(%rbp)
leaq 0x9f0c4(%rdi), %r12
movl %ecx, %eax
movq %rax, -0x38(%rbp)
xorl %r15d, %r15d
movsd (%r14,%r15,8), %xmm0
movl $0xffffc000, %r13d      # imm = 0xFFFFC000
ucomisd 0x1d3b3(%rip), %xmm0    # 0x6a908
jne 0x4d559
jnp 0x4d5bb
movapd %xmm0, %xmm1
andpd 0x1c3cb(%rip), %xmm1    # 0x69930
ucomisd 0x22cdb(%rip), %xmm1    # 0x70248
jbe 0x4d5a1
movq -0x30(%rbp), %rax
movq 0x10(%rax), %rdi
movsd 0x18(%rax), %xmm0
xorl %esi, %esi
callq 0x5077f
movsd (%r14,%r15,8), %xmm0
movl $0x2, %edi
leaq 0x23197(%rip), %rsi     # 0x7072c
movq %rax, %rdx
movb $0x1, %al
callq 0x4ded0
jmp 0x4d5bb
divsd 0x1d377(%rip), %xmm0    # 0x6a920
addsd 0x1e6c7(%rip), %xmm0    # 0x6bc78
callq 0x8ad0
cvttsd2si %xmm0, %r13d
movq %r12, %rdi
movl %ebx, %esi
movl $0xf, %edx
movl %r13d, %ecx
callq 0x4e403
addl $0xf, %ebx
incq %r15
cmpq %r15, -0x38(%rbp)
jne 0x4d541
movl %ebx, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/DoubleString[P]RtConverter/src/Rtklib/rtcm3e.cpp
// Function: bamboo::encode_msm_psrng_ex(bamboo::rtcm_t*, int, double const*, int)
static int encode_msm_psrng_ex(rtcm_t *rtcm, int i, const double *psrng,
                               int ncell)
{
    int j,psrng_val;
    
    for (j=0;j<ncell;j++) {
        if (psrng[j]==0.0) {
            psrng_val=-524288;
        }
        else if (fabs(psrng[j])>292.7) {
            trace(2,"msm fine pseudorange ext overflow %s psrng=%.3f\n",
                 time_str(rtcm->time,0),psrng[j]);
            psrng_val=-524288;
        }
        else {
            psrng_val=ROUND(psrng[j]/RANGE_MS/P2_29);
        }
        setbits(rtcm->buff,i,20,psrng_val); i+=20;
    }
    return i;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %esi, %ebx
testl %ecx, %ecx
jle 0x4d6c4
movq %rdx, %r14
movq %rdi, -0x30(%rbp)
leaq 0x9f0c4(%rdi), %r12
movl %ecx, %eax
movq %rax, -0x38(%rbp)
xorl %r15d, %r15d
movsd (%r14,%r15,8), %xmm0
movl $0xfff80000, %r13d      # imm = 0xFFF80000
ucomisd 0x1d2d4(%rip), %xmm0    # 0x6a908
jne 0x4d638
jnp 0x4d6a2
movapd %xmm0, %xmm1
andpd 0x1c2ec(%rip), %xmm1    # 0x69930
ucomisd 0x22b74(%rip), %xmm1    # 0x701c0
jbe 0x4d680
movq -0x30(%rbp), %rax
movq 0x10(%rax), %rdi
movsd 0x18(%rax), %xmm0
xorl %esi, %esi
callq 0x5077f
movsd (%r14,%r15,8), %xmm0
movl $0x2, %edi
leaq 0x23106(%rip), %rsi     # 0x7077a
movq %rax, %rdx
movb $0x1, %al
callq 0x4ded0
jmp 0x4d6a2
divsd 0x21778(%rip), %xmm0    # 0x6ee00
mulsd 0x22ab0(%rip), %xmm0    # 0x70140
addsd 0x1e5e0(%rip), %xmm0    # 0x6bc78
callq 0x8ad0
cvttsd2si %xmm0, %r13d
movq %r12, %rdi
movl %ebx, %esi
movl $0x14, %edx
movl %r13d, %ecx
callq 0x4e47b
addl $0x14, %ebx
incq %r15
cmpq %r15, -0x38(%rbp)
jne 0x4d620
movl %ebx, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/DoubleString[P]RtConverter/src/Rtklib/rtcm3e.cpp
// Function: bamboo::encode_msm_phrng_ex(bamboo::rtcm_t*, int, double const*, int)
static int encode_msm_phrng_ex(rtcm_t *rtcm, int i, const double *phrng,
                               int ncell)
{
    int j,phrng_val;
    
    for (j=0;j<ncell;j++) {
        if (phrng[j]==0.0) {
            phrng_val=-8388608;
        }
        else if (fabs(phrng[j])>1171.0) {
            trace(2,"msm fine phase-range ext overflow %s phrng=%.3f\n",
                 time_str(rtcm->time,0),phrng[j]);
            phrng_val=-8388608;
        }
        else {
            phrng_val=ROUND(phrng[j]/RANGE_MS/P2_31);
        }
        setbits(rtcm->buff,i,24,phrng_val); i+=24;
    }
    return i;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %esi, %ebx
testl %ecx, %ecx
jle 0x4d7ab
movq %rdx, %r14
movq %rdi, -0x30(%rbp)
leaq 0x9f0c4(%rdi), %r12
movl %ecx, %eax
movq %rax, -0x38(%rbp)
xorl %r15d, %r15d
movsd (%r14,%r15,8), %xmm0
movl $0xff800000, %r13d      # imm = 0xFF800000
ucomisd 0x1d1ed(%rip), %xmm0    # 0x6a908
jne 0x4d71f
jnp 0x4d789
movapd %xmm0, %xmm1
andpd 0x1c205(%rip), %xmm1    # 0x69930
ucomisd 0x22a7d(%rip), %xmm1    # 0x701b0
jbe 0x4d767
movq -0x30(%rbp), %rax
movq 0x10(%rax), %rdi
movsd 0x18(%rax), %xmm0
xorl %esi, %esi
callq 0x5077f
movsd (%r14,%r15,8), %xmm0
movl $0x2, %edi
leaq 0x23050(%rip), %rsi     # 0x707ab
movq %rax, %rdx
movb $0x1, %al
callq 0x4ded0
jmp 0x4d789
divsd 0x21691(%rip), %xmm0    # 0x6ee00
mulsd 0x1d329(%rip), %xmm0    # 0x6aaa0
addsd 0x1e4f9(%rip), %xmm0    # 0x6bc78
callq 0x8ad0
cvttsd2si %xmm0, %r13d
movq %r12, %rdi
movl %ebx, %esi
movl $0x18, %edx
movl %r13d, %ecx
callq 0x4e47b
addl $0x18, %ebx
incq %r15
cmpq %r15, -0x38(%rbp)
jne 0x4d707
movl %ebx, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/DoubleString[P]RtConverter/src/Rtklib/rtcm3e.cpp
// Function: bamboo::encode_msm_cnr_ex(bamboo::rtcm_t*, int, float const*, int)
static int encode_msm_cnr_ex(rtcm_t *rtcm, int i, const float *cnr, int ncell)
{
    int j,cnr_val;
    
    for (j=0;j<ncell;j++) {
        cnr_val=ROUND(cnr[j]/0.0625);
        setbitu(rtcm->buff,i,10,cnr_val); i+=10;
    }
    return i;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %esi, %ebx
testl %ecx, %ecx
jle 0x4dba6
movq %rdx, %r14
movq %rdi, %r15
addq $0x9f0c4, %r15          # imm = 0x9F0C4
movl %ecx, %r12d
xorl %r13d, %r13d
xorps %xmm0, %xmm0
cvtss2sd (%r14,%r13,4), %xmm0
mulsd 0x1f1fd(%rip), %xmm0    # 0x6cd78
addsd 0x1e0f5(%rip), %xmm0    # 0x6bc78
callq 0x8ad0
cvttsd2si %xmm0, %ecx
movq %r15, %rdi
movl %ebx, %esi
movl $0xa, %edx
callq 0x4e403
addl $0xa, %ebx
incq %r13
cmpq %r13, %r12
jne 0x4db6a
movl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/DoubleString[P]RtConverter/src/Rtklib/rtkcmn.cpp
// Function: bamboo::satno(int, int)
extern int satno(int sys, int prn)
{
    if (prn<=0) return 0;
    switch (sys) {
        case SYS_GPS:
            if (prn<MINPRNGPS||MAXPRNGPS<prn) return 0;
            return prn-MINPRNGPS+1;
        case SYS_GLO:
            if (prn<MINPRNGLO||MAXPRNGLO<prn) return 0;
            return NSATGPS+prn-MINPRNGLO+1;
        case SYS_GAL:
            if (prn<MINPRNGAL||MAXPRNGAL<prn) return 0;
            return NSATGPS+NSATGLO+prn-MINPRNGAL+1;
        case SYS_QZS:
            if (prn<MINPRNQZS||MAXPRNQZS<prn) return 0;
            return NSATGPS+NSATGLO+NSATGAL+prn-MINPRNQZS+1;
        case SYS_CMP:
            if (prn<MINPRNCMP||MAXPRNCMP<prn) return 0;
            return NSATGPS+NSATGLO+NSATGAL+NSATQZS+prn-MINPRNCMP+1;
        case SYS_IRN:
            if (prn<MINPRNIRN||MAXPRNIRN<prn) return 0;
            return NSATGPS+NSATGLO+NSATGAL+NSATQZS+NSATCMP+prn-MINPRNIRN+1;
        case SYS_LEO:
            if (prn<MINPRNLEO||MAXPRNLEO<prn) return 0;
            return NSATGPS+NSATGLO+NSATGAL+NSATQZS+NSATCMP+NSATIRN+
                   prn-MINPRNLEO+1;
        case SYS_SBS:
            if (prn<MINPRNSBS||MAXPRNSBS<prn) return 0;
            return NSATGPS+NSATGLO+NSATGAL+NSATQZS+NSATCMP+NSATIRN+NSATLEO+
                   prn-MINPRNSBS+1;
    }
    return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
xorl %eax, %eax
testl %esi, %esi
jle 0x4dc28
leal -0x1(%rdi), %ecx
cmpl $0x7, %ecx
ja 0x4dbf1
leaq 0x22c42(%rip), %rdx     # 0x70820
movslq (%rdx,%rcx,4), %rcx
addq %rdx, %rcx
jmpq *%rcx
xorl %eax, %eax
cmpl $0x21, %esi
cmovll %esi, %eax
jmp 0x4dc28
cmpl $0x20, %edi
jne 0x4dc28
leal 0x5f(%rsi), %ecx
xorl %eax, %eax
cmpl $0x26, %esi
jmp 0x4dc12
leal 0x20(%rsi), %ecx
xorl %eax, %eax
cmpl $0x1c, %esi
jmp 0x4dc12
leal 0x3b(%rsi), %ecx
xorl %eax, %eax
cmpl $0x25, %esi
cmovll %ecx, %eax
jmp 0x4dc28
leal -0x8f(%rsi), %ecx
addl $0xd, %esi
xorl %eax, %eax
cmpl $-0x17, %ecx
cmovael %esi, %eax
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/DoubleString[P]RtConverter/src/Rtklib/rtkcmn.cpp
// Function: bamboo::satexclude(int, double, int, bamboo::prcopt_t const*)
extern int satsys(int sat, int *prn)
{
    int sys=SYS_NONE;
    if (sat<=0||MAXRTKSAT<sat) sat=0;
    else if (sat<=NSATGPS) {
        sys=SYS_GPS; sat+=MINPRNGPS-1;
    }
    else if ((sat-=NSATGPS)<=NSATGLO) {
        sys=SYS_GLO; sat+=MINPRNGLO-1;
    }
    else if ((sat-=NSATGLO)<=NSATGAL) {
        sys=SYS_GAL; sat+=MINPRNGAL-1;
    }
    else if ((sat-=NSATGAL)<=NSATQZS) {
        sys=SYS_QZS; sat+=MINPRNQZS-1; 
    }
    else if ((sat-=NSATQZS)<=NSATCMP) {
        sys=SYS_CMP; sat+=MINPRNCMP-1; 
    }
    else if ((sat-=NSATCMP)<=NSATIRN) {
        sys=SYS_IRN; sat+=MINPRNIRN-1; 
    }
    else if ((sat-=NSATIRN)<=NSATLEO) {
        sys=SYS_LEO; sat+=MINPRNLEO-1; 
    }
    else if ((sat-=NSATLEO)<=NSATSBS) {
        sys=SYS_SBS; sat+=MINPRNSBS-1; 
    }
    else sat=0;
    if (prn) *prn=sat;
    return sys;
}

// Assembly:
leal -0x9c(%rdi), %eax
xorl %ecx, %ecx
cmpl $0xffffff65, %eax       # imm = 0xFFFFFF65
jb 0x4de74
movl $0x1, %ecx
cmpl $0x21, %edi
jl 0x4de74
movl $0x4, %ecx
cmpl $0x3c, %edi
jl 0x4de74
movl $0x8, %ecx
cmpl $0x60, %edi
jl 0x4de74
cmpl $0x85, %edi
movl $0x20, %eax
movl $0x2, %ecx
cmovll %eax, %ecx
testl %esi, %esi
js 0x4deba
testq %rdx, %rdx
je 0x4de95
movslq %edi, %rax
movzbl 0x8a7(%rax,%rdx), %eax
cmpl $0x1, %eax
je 0x4decf
cmpl $0x2, %eax
jne 0x4de9b
xorl %eax, %eax
retq
testl %esi, %esi
jne 0x4deba
jmp 0x4dea4
testl %esi, %esi
jne 0x4deba
andl 0xc(%rdx), %ecx
je 0x4deba
xorl %eax, %eax
ucomisd 0x26cea(%rip), %xmm0    # 0x74b98
jbe 0x4decf
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb 0x4dec0
movl $0x1, %eax
retq
pushq %rbp
movq %rsp, %rbp
callq 0x84e0
movl $0x1, %eax
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/DoubleString[P]RtConverter/src/Rtklib/rtkcmn.cpp
// Function: bamboo::satid2no(char const*)
extern int satid2no(const char *id)
{
    int sys,prn;
    char code;
    
    if (sscanf(id,"%d",&prn)==1) {
        if      (MINPRNGPS<=prn&&prn<=MAXPRNGPS) sys=SYS_GPS;
        else if (MINPRNSBS<=prn&&prn<=MAXPRNSBS) sys=SYS_SBS;
        else if (MINPRNQZS<=prn&&prn<=MAXPRNQZS) sys=SYS_QZS;
        else return 0;
        return satno(sys,prn);
    }
    if (sscanf(id,"%c%d",&code,&prn)<2) return 0;
    
    switch (code) {
        case 'G': sys=SYS_GPS; prn+=MINPRNGPS-1; break;
        case 'R': sys=SYS_GLO; prn+=MINPRNGLO-1; break;
        case 'E': sys=SYS_GAL; prn+=MINPRNGAL-1; break;
        case 'J': sys=SYS_QZS; prn+=MINPRNQZS-1; break;
        case 'C': sys=SYS_CMP; prn+=MINPRNCMP-1; break;
        case 'I': sys=SYS_IRN; prn+=MINPRNIRN-1; break;
        case 'L': sys=SYS_LEO; prn+=MINPRNLEO-1; break;
        case 'S': sys=SYS_SBS; prn+=100; break;
        default: return 0;
    }
    return satno(sys,prn);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rdi, %r14
leaq 0x284ff(%rip), %rsi     # 0x761a6
xorl %ebx, %ebx
leaq -0x14(%rbp), %rdx
xorl %eax, %eax
callq 0x8610
cmpl $0x1, %eax
jne 0x4dce8
movl -0x14(%rbp), %esi
leal -0x1(%rsi), %eax
movl $0x1, %edi
cmpl $0x20, %eax
jb 0x4dce3
leal -0x78(%rsi), %eax
movl $0x2, %edi
cmpl $0x17, %eax
jb 0x4dce3
testl %esi, %esi
jne 0x4dd6f
movl $0x10, %edi
jmp 0x4dd68
leaq 0x27312(%rip), %rsi     # 0x75001
leaq -0x15(%rbp), %rdx
leaq -0x14(%rbp), %rcx
movq %r14, %rdi
xorl %eax, %eax
callq 0x8610
cmpl $0x2, %eax
jl 0x4dd6f
movzbl -0x15(%rbp), %eax
addl $-0x43, %eax
cmpl $0x10, %eax
ja 0x4dd6f
leaq 0x22b27(%rip), %rcx     # 0x70840
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movl $0x20, %edi
jmp 0x4dd65
decl -0x14(%rbp)
movl $0x80, %edi
jmp 0x4dd65
movl $0x8, %edi
jmp 0x4dd65
movl $0x4, %edi
jmp 0x4dd65
addl $0x64, -0x14(%rbp)
movl $0x2, %edi
jmp 0x4dd65
movl $0x1, %edi
jmp 0x4dd65
decl -0x14(%rbp)
movl $0x40, %edi
jmp 0x4dd65
decl -0x14(%rbp)
movl $0x10, %edi
movl -0x14(%rbp), %esi
callq 0x4dbc5
movl %eax, %ebx
movl %ebx, %eax
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/DoubleString[P]RtConverter/src/Rtklib/rtkcmn.cpp
// Function: bamboo::satno2id(int, char*)
extern void satno2id(int sat, char *id)
{
    int prn;
    switch (satsys(sat,&prn)) {
        case SYS_GPS: sprintf(id,"G%02d",prn-MINPRNGPS+1); return;
        case SYS_GLO: sprintf(id,"R%02d",prn-MINPRNGLO+1); return;
        case SYS_GAL: sprintf(id,"E%02d",prn-MINPRNGAL+1); return;
        case SYS_QZS: sprintf(id,"J%02d",prn-MINPRNQZS+1); return;
        case SYS_CMP: sprintf(id,"C%02d",prn-MINPRNCMP+1); return;
        case SYS_IRN: sprintf(id,"I%02d",prn-MINPRNIRN+1); return;
        case SYS_LEO: sprintf(id,"L%02d",prn-MINPRNLEO+1); return;
        case SYS_SBS: sprintf(id,"%03d" ,prn); return;
    }
    strcpy(id,"");
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
leal -0x9c(%rdi), %ecx
xorl %edx, %edx
movl $0x0, %eax
cmpl $0xffffff65, %ecx       # imm = 0xFFFFFF65
jb 0x4ddbb
movl $0x1, %eax
cmpl $0x21, %edi
jl 0x4ddb9
cmpl $0x3b, %edi
jg 0x4ddac
addl $-0x20, %edi
movl $0x4, %eax
jmp 0x4ddb9
cmpl $0x5f, %edi
jg 0x4de16
addl $-0x3b, %edi
movl $0x8, %eax
movl %edi, %edx
leal -0x1(%rax), %ecx
cmpl $0x7, %ecx
ja 0x4dddc
leaq 0x22aba(%rip), %rax     # 0x70884
movslq (%rax,%rcx,4), %rcx
addq %rax, %rcx
jmpq *%rcx
leaq 0x2722c(%rip), %rax     # 0x75006
jmp 0x4de08
cmpl $0x20, %eax
jne 0x4ddea
leaq 0x27230(%rip), %rax     # 0x75018
jmp 0x4de08
movb $0x0, (%rsi)
popq %rbp
retq
leaq 0x27216(%rip), %rax     # 0x7500c
jmp 0x4de08
leaq 0x27213(%rip), %rax     # 0x75012
jmp 0x4de08
leaq 0x27216(%rip), %rax     # 0x7501e
movq %rsi, %rdi
movq %rax, %rsi
xorl %eax, %eax
popq %rbp
jmp 0x8120
leal -0xd(%rdi), %eax
leal -0x5f(%rdi), %edx
cmpl $0x85, %edi
cmovgel %eax, %edx
movl $0x20, %ecx
movl $0x2, %eax
cmovll %ecx, %eax
jmp 0x4ddbb
// File: /workspace/github_cpp_makefile_star2_O1/DoubleString[P]RtConverter/src/Rtklib/rtkcmn.cpp
// Function: bamboo::testsnr(int, int, double, double, bamboo::snrmask_t const*)
extern int testsnr(int base, int freq, double el, double snr,
                   const snrmask_t *mask)
{
    double minsnr,a;
    int i;
    
    if (!mask->ena[base]||freq<0||freq>=NFREQ) return 0;
    
    a=(el*R2D+5.0)/10.0;
    i=(int)floor(a); a-=i;
    if      (i<1) minsnr=mask->mask[freq][0];
    else if (i>8) minsnr=mask->mask[freq][8];
    else minsnr=(1.0-a)*mask->mask[freq][i-1]+a*mask->mask[freq][i];
    
    return snr<minsnr;
}

// Assembly:
xorl %eax, %eax
cmpl $0x2, %esi
ja 0x4dfa8
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rdx, %rbx
movslq %edi, %rcx
cmpl $0x0, (%rdx,%rcx,4)
je 0x4dfa0
movl %esi, %r14d
movsd %xmm1, -0x18(%rbp)
mulsd 0x20f2c(%rip), %xmm0    # 0x6ee38
addsd 0x1d8b4(%rip), %xmm0    # 0x6b7c8
divsd 0x1cbac(%rip), %xmm0    # 0x6aac8
movsd %xmm0, -0x20(%rbp)
callq 0x8ad0
cvttsd2si %xmm0, %eax
testl %eax, %eax
jle 0x4df47
cmpl $0x9, %eax
movsd -0x18(%rbp), %xmm1
jl 0x4df5b
movl %r14d, %eax
leaq (%rax,%rax,8), %rax
movsd 0x48(%rbx,%rax,8), %xmm0
jmp 0x4df97
movl %r14d, %eax
leaq (%rax,%rax,8), %rax
movsd 0x8(%rbx,%rax,8), %xmm0
movsd -0x18(%rbp), %xmm1
jmp 0x4df97
cvttpd2dq %xmm0, %xmm0
cvtdq2pd %xmm0, %xmm0
movsd -0x20(%rbp), %xmm2
subsd %xmm0, %xmm2
movsd 0x1b9ac(%rip), %xmm0    # 0x69920
subsd %xmm2, %xmm0
movl %r14d, %ecx
leaq (%rcx,%rcx,8), %rcx
leaq (%rbx,%rcx,8), %rcx
movl %eax, %edx
mulsd 0x8(%rcx,%rdx,8), %xmm2
decl %eax
mulsd 0x8(%rcx,%rax,8), %xmm0
addsd %xmm2, %xmm0
xorl %eax, %eax
ucomisd %xmm1, %xmm0
seta %al
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/DoubleString[P]RtConverter/src/Rtklib/rtkcmn.cpp
// Function: bamboo::obs2code(char const*, int*)
extern unsigned char obs2code(const char *obs, int *freq)
{
    int i;
    if (freq) *freq=0;
    for (i=1;*obscodes[i];i++) {
        if (strcmp(obscodes[i],obs)) continue;
        if (freq) *freq=obsfreqs[i];
        return (unsigned char)i;
    }
    return CODE_NONE;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rsi, %r14
movq %rdi, %r15
testq %rsi, %rsi
je 0x4dfc6
movl $0x0, (%r14)
leaq 0x20ecb(%rip), %rdi     # 0x6ee98
xorl %ebx, %ebx
leaq 0x3f77a(%rip), %r12     # 0x8d750
movq %r15, %rsi
callq 0x8890
testl %eax, %eax
je 0x4dff4
movq 0x10(%r12,%rbx,8), %rdi
incq %rbx
cmpq $0x37, %rbx
jne 0x4dfd6
xorl %ebx, %ebx
jmp 0x4e00a
testq %r14, %r14
je 0x4e008
leaq 0x23f70(%rip), %rax     # 0x71f70
movzbl 0x1(%rbx,%rax), %eax
movl %eax, (%r14)
incb %bl
movl %ebx, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/DoubleString[P]RtConverter/src/Rtklib/rtkcmn.cpp
// Function: bamboo::code2obs(unsigned char, int*)
extern char *code2obs(unsigned char code, int *freq)
{
    if (freq) *freq=0;
    if (code<=CODE_NONE||MAXCODE<code) return "";
    if (freq) *freq=obsfreqs[code];
    return obscodes[code];
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
testq %rsi, %rsi
je 0x4e024
movl $0x0, (%rsi)
leal -0x38(%rdi), %eax
cmpb $-0x37, %al
jae 0x4e034
leaq 0x1c5c3(%rip), %rax     # 0x6a5f5
jmp 0x4e055
movzbl %dil, %eax
testq %rsi, %rsi
je 0x4e04a
leaq 0x23f2c(%rip), %rcx     # 0x71f70
movzbl (%rax,%rcx), %ecx
movl %ecx, (%rsi)
leaq 0x3f6ff(%rip), %rcx     # 0x8d750
movq (%rcx,%rax,8), %rax
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/DoubleString[P]RtConverter/src/Rtklib/rtkcmn.cpp
// Function: bamboo::setcodepri(int, int, char const*)
extern void setcodepri(int sys, int freq, const char *pri)
{
    trace(3,"setcodepri:sys=%d freq=%d pri=%s\n",sys,freq,pri);
    
    if (freq<=0||MAXRTKFREQ<freq) return;
    if (sys&SYS_GPS) strcpy(codepris[0][freq-1],pri);
    if (sys&SYS_GLO) strcpy(codepris[1][freq-1],pri);
    if (sys&SYS_GAL) strcpy(codepris[2][freq-1],pri);
    if (sys&SYS_QZS) strcpy(codepris[3][freq-1],pri);
    if (sys&SYS_SBS) strcpy(codepris[4][freq-1],pri);
    if (sys&SYS_CMP) strcpy(codepris[5][freq-1],pri);
    if (sys&SYS_IRN) strcpy(codepris[6][freq-1],pri);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %esi, %r14d
leal -0x8(%r14), %eax
cmpl $-0x7, %eax
jb 0x4e162
movq %rdx, %rbx
movl %edi, %r15d
testb $0x1, %r15b
je 0x4e097
leal -0x1(%r14), %eax
shlq $0x4, %rax
leaq 0x40cc4(%rip), %rdi     # 0x8ed50
addq %rax, %rdi
movq %rbx, %rsi
callq 0x85c0
testb $0x4, %r15b
je 0x4e0bc
leal -0x1(%r14), %eax
shlq $0x4, %rax
leaq 0x40ca4(%rip), %rcx     # 0x8ed50
leaq (%rax,%rcx), %rdi
addq $0x70, %rdi
movq %rbx, %rsi
callq 0x85c0
testb $0x8, %r15b
je 0x4e0e4
leal -0x1(%r14), %eax
shlq $0x4, %rax
leaq 0x40c7f(%rip), %rcx     # 0x8ed50
leaq (%rax,%rcx), %rdi
addq $0xe0, %rdi
movq %rbx, %rsi
callq 0x85c0
testb $0x10, %r15b
je 0x4e10c
leal -0x1(%r14), %eax
shlq $0x4, %rax
leaq 0x40c57(%rip), %rcx     # 0x8ed50
leaq (%rax,%rcx), %rdi
addq $0x150, %rdi            # imm = 0x150
movq %rbx, %rsi
callq 0x85c0
testb $0x2, %r15b
je 0x4e134
leal -0x1(%r14), %eax
shlq $0x4, %rax
leaq 0x40c2f(%rip), %rcx     # 0x8ed50
leaq (%rax,%rcx), %rdi
addq $0x1c0, %rdi            # imm = 0x1C0
movq %rbx, %rsi
callq 0x85c0
testb $0x20, %r15b
je 0x4e15c
leal -0x1(%r14), %eax
shlq $0x4, %rax
leaq 0x40c07(%rip), %rcx     # 0x8ed50
leaq (%rax,%rcx), %rdi
addq $0x230, %rdi            # imm = 0x230
movq %rbx, %rsi
callq 0x85c0
testb $0x40, %r15b
jne 0x4e16d
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
decl %r14d
shlq $0x4, %r14
leaq 0x40bd5(%rip), %rax     # 0x8ed50
leaq (%r14,%rax), %rdi
addq $0x2a0, %rdi            # imm = 0x2A0
movq %rbx, %rsi
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x85c0
// File: /workspace/github_cpp_makefile_star2_O1/DoubleString[P]RtConverter/src/Rtklib/rtkcmn.cpp
// Function: bamboo::getcodepri(int, unsigned char, char const*)
extern int getcodepri(int sys, unsigned char code, const char *opt)
{
    const char *p,*optstr;
    char *obs,str[8]="";
    int i,j;
    
    switch (sys) {
        case SYS_GPS: i=0; optstr="-GL%2s"; break;
        case SYS_GLO: i=1; optstr="-RL%2s"; break;
        case SYS_GAL: i=2; optstr="-EL%2s"; break;
        case SYS_QZS: i=3; optstr="-JL%2s"; break;
        case SYS_SBS: i=4; optstr="-SL%2s"; break;
        case SYS_CMP: i=5; optstr="-CL%2s"; break;
        case SYS_IRN: i=6; optstr="-IL%2s"; break;
        default: return 0;
    }
    obs=code2obs(code,&j);
    
    /* parse code options */
    for (p=opt;p&&(p=strchr(p,'-'));p++) {
        if (sscanf(p,optstr,str)<1||str[0]!=obs[0]) continue;
        return str[1]==obs[1]?15:0;
    }
    /* search code priority */
    return (p=strchr(codepris[i][j-1],obs[1]))?14-(int)(p-codepris[i][j-1]):0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq $0x0, -0x38(%rbp)
xorl %r8d, %r8d
cmpl $0xf, %edi
jg 0x4e1e5
decl %edi
cmpl $0x7, %edi
ja 0x4e31b
leaq 0x226d9(%rip), %rax     # 0x708a4
movslq (%rax,%rdi,4), %rcx
addq %rax, %rcx
jmpq *%rcx
movq $0x0, -0x30(%rbp)
leaq 0x26e40(%rip), %r14     # 0x75023
jmp 0x4e262
cmpl $0x10, %edi
je 0x4e240
cmpl $0x20, %edi
je 0x4e252
cmpl $0x40, %edi
jne 0x4e31b
movl $0x6, %eax
movq %rax, -0x30(%rbp)
leaq 0x26e45(%rip), %r14     # 0x7504d
jmp 0x4e262
movl $0x1, %eax
movq %rax, -0x30(%rbp)
leaq 0x26e10(%rip), %r14     # 0x7502a
jmp 0x4e262
movl $0x2, %eax
movq %rax, -0x30(%rbp)
leaq 0x26e05(%rip), %r14     # 0x75031
jmp 0x4e262
movl $0x4, %eax
movq %rax, -0x30(%rbp)
leaq 0x26e01(%rip), %r14     # 0x7503f
jmp 0x4e262
movl $0x3, %eax
movq %rax, -0x30(%rbp)
leaq 0x26de8(%rip), %r14     # 0x75038
jmp 0x4e262
movl $0x5, %eax
movq %rax, -0x30(%rbp)
leaq 0x26de4(%rip), %r14     # 0x75046
leal -0x38(%rsi), %eax
cmpb $-0x37, %al
jae 0x4e279
leaq 0x1c385(%rip), %rbx     # 0x6a5f5
movq $-0x1, %r15
jmp 0x4e297
movzbl %sil, %eax
leaq 0x23cec(%rip), %rcx     # 0x71f70
movzbl (%rax,%rcx), %r15d
leaq 0x3f4c0(%rip), %rcx     # 0x8d750
movq (%rcx,%rax,8), %rbx
decq %r15
testq %rdx, %rdx
je 0x4e2e8
movq %rdx, %rdi
movl $0x2d, %esi
callq 0x8250
testq %rax, %rax
je 0x4e2e8
movq %rax, %r12
leaq -0x38(%rbp), %r13
movq %r12, %rdi
movq %r14, %rsi
movq %r13, %rdx
xorl %eax, %eax
callq 0x8610
testl %eax, %eax
jle 0x4e2d0
movb -0x38(%rbp), %al
cmpb (%rbx), %al
je 0x4e32d
incq %r12
movq %r12, %rdi
movl $0x2d, %esi
callq 0x8250
movq %rax, %r12
testq %rax, %rax
jne 0x4e2b5
imulq $0x70, -0x30(%rbp), %rax
leaq 0x40a5c(%rip), %rcx     # 0x8ed50
shlq $0x4, %r15
addq %rcx, %r15
addq %rax, %r15
movsbl 0x1(%rbx), %esi
movq %r15, %rdi
callq 0x8250
subl %eax, %r15d
addl $0xe, %r15d
xorl %r8d, %r8d
testq %rax, %rax
cmovnel %r15d, %r8d
movl %r8d, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movb -0x37(%rbp), %al
xorl %ecx, %ecx
cmpb 0x1(%rbx), %al
movl $0xf, %r8d
cmovnel %ecx, %r8d
jmp 0x4e31b
// File: /workspace/github_cpp_makefile_star2_O1/DoubleString[P]RtConverter/src/Rtklib/rtkcmn.cpp
// Function: bamboo::setbitu(unsigned char*, int, int, unsigned int)
extern void setbitu(unsigned char *buff, int pos, int len, unsigned int data)
{
    unsigned int mask=1u<<(len-1);
    int i;
    if (len<=0||32<len) return;
    for (i=pos;i<pos+len;i++,mask>>=1) {
        if (data&mask) buff[i/8]|=1u<<(7-i%8); else buff[i/8]&=~(1u<<(7-i%8));
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movl %ecx, %eax
leal -0x21(%rdx), %ecx
cmpl $-0x20, %ecx
jb 0x4e479
testl %edx, %edx
jle 0x4e479
leal (%rdx,%rsi), %r8d
decb %dl
movl $0x1, %r9d
movl %edx, %ecx
shll %cl, %r9d
leal 0x7(%rsi), %edx
testl %esi, %esi
cmovnsl %esi, %edx
movl %edx, %ecx
andl $-0x8, %ecx
movl %esi, %r10d
subl %ecx, %r10d
movb $0x7, %cl
subb %r10b, %cl
movl $0x1, %r10d
shll %cl, %r10d
sarl $0x3, %edx
movslq %edx, %rcx
movb (%rdi,%rcx), %dl
movl %edx, %r11d
orb %r10b, %r11b
notb %r10b
andb %dl, %r10b
testl %eax, %r9d
movzbl %r11b, %edx
movzbl %r10b, %r10d
cmovnel %edx, %r10d
movb %r10b, (%rdi,%rcx)
incl %esi
shrl %r9d
cmpl %r8d, %esi
jl 0x4e426
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/DoubleString[P]RtConverter/src/Rtklib/rtkcmn.cpp
// Function: bamboo::rtk_crc32(unsigned char const*, int)
extern unsigned int rtk_crc32(const unsigned char *buff, int len)
{
    unsigned int crc=0;
    int i,j;
    
    trace(4,"rtk_crc32: len=%d\n",len);
    
    for (i=0;i<len;i++) {
        crc^=buff[i];
        for (j=0;j<8;j++) {
            if (crc&1) crc=(crc>>1)^POLYCRC32; else crc>>=1;
        }
    }
    return crc;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
testl %esi, %esi
jle 0x4e4de
movl %esi, %ecx
xorl %edx, %edx
xorl %eax, %eax
movzbl (%rdi,%rdx), %esi
xorl %esi, %eax
movl $0x8, %esi
movl %eax, %r8d
shrl %r8d
movl %r8d, %r9d
xorl $0xedb88320, %r9d       # imm = 0xEDB88320
testb $0x1, %al
movl %r9d, %eax
cmovel %r8d, %eax
decl %esi
jne 0x4e4b7
incq %rdx
cmpq %rcx, %rdx
jne 0x4e4ac
jmp 0x4e4e0
xorl %eax, %eax
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/DoubleString[P]RtConverter/src/Rtklib/rtkcmn.cpp
// Function: bamboo::rtk_crc24q(unsigned char const*, int)
extern unsigned int rtk_crc24q(const unsigned char *buff, int len)
{
    unsigned int crc=0;
    int i;
    
    trace(4,"rtk_crc24q: len=%d\n",len);
    
    for (i=0;i<len;i++) crc=((crc<<8)&0xFFFFFF)^tbl_CRC24Q[(crc>>16)^buff[i]];
    return crc;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
testl %esi, %esi
jle 0x4e51c
movl %esi, %ecx
xorl %edx, %edx
leaq 0x23abb(%rip), %rsi     # 0x71fb0
xorl %r8d, %r8d
movzwl %r8w, %eax
shll $0x8, %eax
shrl $0x10, %r8d
movzbl (%rdi,%rdx), %r9d
xorl %r8d, %r9d
xorl (%rsi,%r9,4), %eax
incq %rdx
movl %eax, %r8d
cmpq %rdx, %rcx
jne 0x4e4f8
jmp 0x4e51e
xorl %eax, %eax
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/DoubleString[P]RtConverter/src/Rtklib/rtkcmn.cpp
// Function: bamboo::rtk_crc16(unsigned char const*, int)
extern unsigned short rtk_crc16(const unsigned char *buff, int len)
{
    unsigned short crc=0;
    int i;
    
    trace(4,"rtk_crc16: len=%d\n",len);
    
    for (i=0;i<len;i++) {
        crc=(crc<<8)^tbl_CRC16[((crc>>8)^buff[i])&0xFF];
    }
    return crc;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
testl %esi, %esi
jle 0x4e55e
movl %esi, %ecx
xorl %edx, %edx
leaq 0x23e7d(%rip), %rsi     # 0x723b0
xorl %r8d, %r8d
movl %r8d, %eax
shll $0x8, %eax
movzwl %r8w, %r8d
shrl $0x8, %r8d
movzbl (%rdi,%rdx), %r9d
xorl %r8d, %r9d
xorw (%rsi,%r9,2), %ax
incq %rdx
movl %eax, %r8d
cmpq %rdx, %rcx
jne 0x4e536
jmp 0x4e560
xorl %eax, %eax
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/DoubleString[P]RtConverter/src/Rtklib/rtkcmn.cpp
// Function: bamboo::decode_word(unsigned int, unsigned char*)
extern int decode_word(unsigned int word, unsigned char *data)
{
    const unsigned int hamming[]={
        0xBB1F3480,0x5D8F9A40,0xAEC7CD00,0x5763E680,0x6BB1F340,0x8B7A89C0
    };
    unsigned int parity=0,w;
    int i;
    
    trace(5,"decodeword: word=%08x\n",word);
    
    if (word&0x40000000) word^=0x3FFFFFC0;
    
    for (i=0;i<6;i++) {
        parity<<=1;
        for (w=(word&hamming[i])>>6;w;w>>=1) parity^=w&1;
    }
    if (parity!=(word&0x3F)) return 0;
    
    for (i=0;i<3;i++) data[i]=(unsigned char)(word>>(22-i*8));
    return 1;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movl %edi, %edx
xorl $0x3fffffc0, %edx       # imm = 0x3FFFFFC0
btl $0x1e, %edi
cmovael %edi, %edx
xorl %eax, %eax
leaq 0x24032(%rip), %rdi     # 0x725b0
xorl %ecx, %ecx
addl %ecx, %ecx
movl (%rdi,%rax,4), %r8d
andl %edx, %r8d
cmpl $0x40, %r8d
jb 0x4e5ac
shrl $0x6, %r8d
movl %r8d, %r9d
movl %r8d, %r10d
andl $0x1, %r10d
xorl %r10d, %ecx
shrl %r9d
cmpl $0x1, %r8d
movl %r9d, %r8d
ja 0x4e596
incq %rax
cmpq $0x6, %rax
jne 0x4e580
movl %edx, %edi
andl $0x3f, %edi
xorl %eax, %eax
cmpl %edi, %ecx
jne 0x4e5e0
movl $0x16, %ecx
xorl %eax, %eax
movl %edx, %edi
shrl %cl, %edi
movb %dil, (%rsi,%rax)
incq %rax
addl $-0x8, %ecx
cmpq $0x3, %rax
jne 0x4e5c7
movl $0x1, %eax
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/DoubleString[P]RtConverter/src/Rtklib/rtkcmn.cpp
// Function: bamboo::mat(int, int)
extern double *mat(int n, int m)
{
    double *p;
    
    if (n<=0||m<=0) return NULL;
    if (!(p=(double *)malloc(sizeof(double)*n*m))) {
        fatalerr("matrix memory allocation error: n=%d,m=%d\n",n,m);
    }
    return p;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
testl %edi, %edi
setle %al
testl %esi, %esi
setle %cl
orb %al, %cl
je 0x4e5fb
xorl %eax, %eax
jmp 0x4e616
movl %esi, %ebx
movl %edi, %r14d
movl %edi, %eax
movl %esi, %edi
imulq %rax, %rdi
shlq $0x3, %rdi
callq 0x8850
testq %rax, %rax
je 0x4e61b
popq %rbx
popq %r14
popq %rbp
retq
leaq 0x26a3a(%rip), %rdi     # 0x7505c
movl %r14d, %esi
movl %ebx, %edx
xorl %eax, %eax
callq 0x4e62e
// File: /workspace/github_cpp_makefile_star2_O1/DoubleString[P]RtConverter/src/Rtklib/rtkcmn.cpp
// Function: bamboo::fatalerr(char const*, ...)
static void fatalerr(const char *format, ...)
{
    char msg[1024];
    va_list ap;
    va_start(ap,format); vsprintf(msg,format,ap); va_end(ap);
    if (fatalfunc) fatalfunc(msg);
    else fprintf(stderr,"%s",msg);
    exit(-9);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x4d0, %rsp            # imm = 0x4D0
movq %rdi, %r10
leaq -0xd0(%rbp), %rdi
movq %rsi, 0x8(%rdi)
movq %rdx, 0x10(%rdi)
movq %rcx, 0x18(%rdi)
movq %r8, 0x20(%rdi)
movq %r9, 0x28(%rdi)
testb %al, %al
je 0x4e681
movaps %xmm0, -0xa0(%rbp)
movaps %xmm1, -0x90(%rbp)
movaps %xmm2, -0x80(%rbp)
movaps %xmm3, -0x70(%rbp)
movaps %xmm4, -0x60(%rbp)
movaps %xmm5, -0x50(%rbp)
movaps %xmm6, -0x40(%rbp)
movaps %xmm7, -0x30(%rbp)
leaq -0x20(%rbp), %rdx
movq %rdi, 0x10(%rdx)
leaq 0x10(%rbp), %rax
movq %rax, 0x8(%rdx)
movabsq $0x3000000008, %rax     # imm = 0x3000000008
movq %rax, (%rdx)
leaq -0x4d0(%rbp), %rdi
movq %r10, %rsi
callq 0x82e0
movq 0x4392c(%rip), %rax     # 0x91fe0
testq %rax, %rax
jne 0x4e6d9
movq 0x3f910(%rip), %rax     # 0x8dfd0
movq (%rax), %rsi
leaq -0x4d0(%rbp), %rdi
callq 0x86e0
movl $0xfffffff7, %edi       # imm = 0xFFFFFFF7
callq 0x87c0
leaq -0x4d0(%rbp), %rdi
callq *%rax
jmp 0x4e6cf
// File: /workspace/github_cpp_makefile_star2_O1/DoubleString[P]RtConverter/src/Rtklib/rtkcmn.cpp
// Function: bamboo::imat(int, int)
extern int *imat(int n, int m)
{
    int *p;
    
    if (n<=0||m<=0) return NULL;
    if (!(p=(int *)malloc(sizeof(int)*n*m))) {
        fatalerr("integer matrix memory allocation error: n=%d,m=%d\n",n,m);
    }
    return p;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
testl %edi, %edi
setle %al
testl %esi, %esi
setle %cl
orb %al, %cl
je 0x4e6fd
xorl %eax, %eax
jmp 0x4e718
movl %esi, %ebx
movl %edi, %r14d
movl %edi, %eax
movl %esi, %edi
imulq %rax, %rdi
shlq $0x2, %rdi
callq 0x8850
testq %rax, %rax
je 0x4e71d
popq %rbx
popq %r14
popq %rbp
retq
leaq 0x26930(%rip), %rdi     # 0x75054
movl %r14d, %esi
movl %ebx, %edx
xorl %eax, %eax
callq 0x4e62e
// File: /workspace/github_cpp_makefile_star2_O1/DoubleString[P]RtConverter/src/Rtklib/rtkcmn.cpp
// Function: bamboo::zeros(int, int)
extern double *zeros(int n, int m)
{
    double *p;
    
#if NOCALLOC
    if ((p=mat(n,m))) for (n=n*m-1;n>=0;n--) p[n]=0.0;
#else
    if (n<=0||m<=0) return NULL;
    if (!(p=(double *)calloc(sizeof(double),n*m))) {
        fatalerr("matrix memory allocation error: n=%d,m=%d\n",n,m);
    }
#endif
    return p;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
testl %edi, %edi
setle %al
testl %esi, %esi
setle %cl
orb %al, %cl
je 0x4e749
xorl %eax, %eax
jmp 0x4e760
movl %esi, %ebx
movl %edi, %r14d
imull %edi, %esi
movl $0x8, %edi
callq 0x8440
testq %rax, %rax
je 0x4e765
popq %rbx
popq %r14
popq %rbp
retq
leaq 0x268f0(%rip), %rdi     # 0x7505c
movl %r14d, %esi
movl %ebx, %edx
xorl %eax, %eax
callq 0x4e62e
// File: /workspace/github_cpp_makefile_star2_O1/DoubleString[P]RtConverter/src/Rtklib/rtkcmn.cpp
// Function: bamboo::eye(int)
extern double *eye(int n)
{
    double *p;
    int i;
    
    if ((p=zeros(n,n))) for (i=0;i<n;i++) p[i+i*n]=1.0;
    return p;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movl %edi, %ebx
movl %edi, %esi
callq 0x4e730
testq %rax, %rax
sete %cl
testl %ebx, %ebx
setle %dl
orb %cl, %dl
jne 0x4e7b4
movl %ebx, %ecx
incl %ebx
xorl %edx, %edx
movabsq $0x3ff0000000000000, %rsi # imm = 0x3FF0000000000000
movslq %edx, %rdx
movq %rsi, (%rax,%rdx,8)
addl %ebx, %edx
decq %rcx
jne 0x4e7a6
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/DoubleString[P]RtConverter/src/Rtklib/rtkcmn.cpp
// Function: bamboo::normv3(double const*, double*)
extern int normv3(const double *a, double *b)
{
    double r;
    if ((r=norm(a,3))<=0.0) return 0;
    b[0]=a[0]/r;
    b[1]=a[1]/r;
    b[2]=a[2]/r;
    return 1;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
xorpd %xmm0, %xmm0
movl $0x4, %eax
movsd -0x10(%r14,%rax,8), %xmm1
mulsd %xmm1, %xmm1
addsd %xmm1, %xmm0
decq %rax
cmpq $0x1, %rax
ja 0x4e899
xorpd %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb 0x4e8c1
sqrtsd %xmm0, %xmm0
jmp 0x4e8ca
callq 0x84e0
xorpd %xmm1, %xmm1
xorl %eax, %eax
ucomisd %xmm0, %xmm1
jae 0x4e902
movsd (%r14), %xmm1
divsd %xmm0, %xmm1
movsd %xmm1, (%rbx)
movsd 0x8(%r14), %xmm1
divsd %xmm0, %xmm1
movsd %xmm1, 0x8(%rbx)
movsd 0x10(%r14), %xmm1
divsd %xmm0, %xmm1
movsd %xmm1, 0x10(%rbx)
movl $0x1, %eax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/DoubleString[P]RtConverter/src/Rtklib/rtkcmn.cpp
// Function: bamboo::solve(char const*, double const*, double const*, int, int, double*)
extern int solve(const char *tr, const double *A, const double *Y, int n,
                 int m, double *X)
{
    double *B=mat(n,n);
    int info;
    
    matcpy(B,A,n,n);
    if (!(info=matinv(B,n))) matmul(tr[0]=='N'?"NN":"TN",n,m,n,1.0,B,Y,0.0,X);
    free(B);
    return info;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %r9, -0x38(%rbp)
movl %r8d, -0x2c(%rbp)
movl %ecx, %r14d
movq %rdx, -0x40(%rbp)
movq %rsi, %rbx
movq %rdi, %r15
movl %ecx, %edi
movl %ecx, %esi
callq 0x4e5e2
movq %rax, %r12
movslq %r14d, %r13
movq %r13, %rdx
imulq %r13, %rdx
shlq $0x3, %rdx
movq %rax, %rdi
movq %rbx, %rsi
callq 0x84f0
movq %r12, %rdi
movl %r13d, %esi
callq 0x4eb12
movl %eax, %ebx
testl %eax, %eax
jne 0x4f026
cmpb $0x4e, (%r15)
leaq 0x26094(%rip), %rax     # 0x75087
leaq 0x1dc66(%rip), %rdi     # 0x6cc60
cmoveq %rax, %rdi
movq -0x38(%rbp), %rax
movq %rax, (%rsp)
movsd 0x1a912(%rip), %xmm0    # 0x69920
xorps %xmm1, %xmm1
movl %r14d, %esi
movl -0x2c(%rbp), %edx
movl %r14d, %ecx
movq %r12, %r8
movq -0x40(%rbp), %r9
callq 0x4e91f
movq %r12, %rdi
callq 0x87b0
movl %ebx, %eax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq