// File: /workspace/github_cpp_makefile_star2_O3/jkingan[P]ladyheather/heathgps.cpp
// Function: decode_cs_msg()
void decode_cs_msg()
{
char c;
int i;

   start_msg_decode(0);

   nmea_msg[0] = 0;
   for(i=0; i<tsip_wptr; i++) {  // copy message from tsip buffer to nmea buffer
      c = tsip_byte();
      nmea_msg[i] = c;
      nmea_msg[i+1] = 0;
      if(i >= ((int)sizeof(nmea_msg)-12)) break;
   }

   tsip_wptr = tsip_rptr = 0;
   tsip_sync = 0;

   // get the response from the receiver and pass it to (HOPEFULLY) the routine
   // that expects it...

   strupr(nmea_msg);

if(debug_file) fprintf(debug_file, "Decode cs msg %d:%s\n", cs_msg_id, nmea_msg);

   if((nmea_msg[0] == 'E') && (nmea_msg[1] == '-') && isdigit(nmea_msg[2])) {  // message returned error
      queue_cs_cmd("*CLS", SCPI_CLS_MSG);  // reset the error
      cs_msg_id = 0;
      poll_next_cs();
      return;
   }
   else if((nmea_msg[0] == 'E') && (nmea_msg[1] == '+') && isdigit(nmea_msg[2])) {  // message returned error
      queue_cs_cmd("*CLS", SCPI_CLS_MSG);  // reset the error
      cs_msg_id = 0;
      poll_next_cs();
      return;
   }
   else if((nmea_msg[0] == 'S') && (nmea_msg[1] == 'C') && (nmea_msg[2] == 'P') && (nmea_msg[3] == 'I')) {  // message has no response to process
      cs_msg_id = 0;
      poll_next_cs();
      return;
   }

   if(cs_msg_id == 0) {  // get the echoed command and set the message id
if(debug_file) fprintf(debug_file, "response to:%s (status msg:%d) is next\n", nmea_msg, scpi_status);
      if     (strstr(nmea_msg, "PTIM:TIME?"))       cs_msg_id = CS_TIME_MSG;
      else if(strstr(nmea_msg, "PTIM:MJD?"))        cs_msg_id = CS_MJD_MSG;
      else if(strstr(nmea_msg, "DIAG:CBTS?"))       cs_msg_id = CS_CBTID_MSG;
      else if(strstr(nmea_msg, "DIAG:CONT:STAT?"))  cs_msg_id = CS_LAMP_MSG;
      else if(strstr(nmea_msg, "DIAG:CURR:BEAM?"))  cs_msg_id = CS_BEAM_MSG;
      else if(strstr(nmea_msg, "DIAG:CURR:CFI?"))   cs_msg_id = CS_CFIELD_MSG;
      else if(strstr(nmea_msg, "DIAG:CURR:PUMP?"))  cs_msg_id = CS_PUMP_MSG;
      else if(strstr(nmea_msg, "DIAG:GAIN?"))       cs_msg_id = CS_GAIN_MSG;
      else if(strstr(nmea_msg, "DIAG:RFAM?"))       cs_msg_id = CS_RFAM_MSG;
      else if(strstr(nmea_msg, "DIAG:STAT:GLOB?"))  cs_msg_id = CS_GLOB_MSG;
      else if(strstr(nmea_msg, "DIAG:STAT:SUPP?"))  cs_msg_id = CS_SUPPLY_MSG;
      else if(strstr(nmea_msg, "DIAG:TEMP?"))       cs_msg_id = CS_TEMP_MSG;
      else if(strstr(nmea_msg, "DIAG:VOLT:COV?"))   cs_msg_id = CS_COVEN_MSG;
      else if(strstr(nmea_msg, "DIAG:VOLT:EMUL?"))  cs_msg_id = CS_EMUL_MSG;
      else if(strstr(nmea_msg, "DIAG:VOLT:HWI?"))   cs_msg_id = CS_HWI_MSG;
      else if(strstr(nmea_msg, "DIAG:VOLT:MSP?"))   cs_msg_id = CS_MSP_MSG;
      else if(strstr(nmea_msg, "DIAG:VOLT:PLL?"))   cs_msg_id = CS_PLL_MSG;
      else if(strstr(nmea_msg, "DIAG:VOLT:ROSC?"))  cs_msg_id = CS_QOVEN_MSG;
      else if(strstr(nmea_msg, "DIAG:VOLT:SUPP?"))  cs_msg_id = CS_VOLT_MSG;
      else if(strstr(nmea_msg, "DIAG:LOG:COUN?"))   cs_msg_id = CS_LOGCOUNT_MSG;
      else if(strstr(nmea_msg, "DIAG:TEST?"))       cs_msg_id = SCPI_TEST_MSG;
      else if(strstr(nmea_msg, "DIAG:LOG?"))        cs_msg_id = CS_LOGINFO_MSG;
      else if(strstr(nmea_msg, "PTIM:SYNC?"))       cs_msg_id = CS_SYNC_MSG;
      else if(strstr(nmea_msg, "PTIM:STAN?"))       cs_msg_id = CS_STANDBY_MSG;
      else if(strstr(nmea_msg, "PTIM:SLEW?"))       cs_msg_id = CS_SLEW_MSG;   // !!!! HP5071A does not let us query this setting
      else if(strstr(nmea_msg, "PTIM:LEAP:STAT?"))  cs_msg_id = CS_LEAPSTAT_MSG;
      else if(strstr(nmea_msg, "PTIM:LEAP:DUR?"))   cs_msg_id = CS_LEAPDUR_MSG;
      else if(strstr(nmea_msg, "PTIM:LEAP:MJD?"))   cs_msg_id = CS_LEAPMJD_MSG;
      else if(strstr(nmea_msg, "ROSC:FREQ1?"))      cs_msg_id = CS_FREQ1_MSG;
      else if(strstr(nmea_msg, "ROSC:FREQ2?"))      cs_msg_id = CS_FREQ2_MSG;
      else if(strstr(nmea_msg, "ROSC:STE?"))        cs_msg_id = CS_STER_MSG;
      else if(strstr(nmea_msg, "ROSC:CONT?"))       cs_msg_id = SCPI_EFC_MSG;
      else if(strstr(nmea_msg, "DISP:ENAB?"))       cs_msg_id = CS_DISP_MSG;
      else if(strstr(nmea_msg, "SYST:REM?"))        cs_msg_id = CS_REM_MSG;
      else if(strstr(nmea_msg, "*IDN?"))            cs_msg_id = SCPI_ID_MSG;
      else if(strstr(nmea_msg, "*CLS"))             cs_msg_id = SCPI_CLS_MSG;

      return;
   }

if(debug_file) fprintf(debug_file, "cs %d response:%s\n", cs_msg_id, nmea_msg);
   msg_col = 0;
   if     (cs_msg_id == CS_TIME_MSG)     parse_cs_time();
   else if(cs_msg_id == CS_MJD_MSG)      parse_cs_mjd();
   else if(cs_msg_id == CS_CBTID_MSG)    parse_cs_cbtid();
   else if(cs_msg_id == CS_BEAM_MSG)     parse_cs_beam();
   else if(cs_msg_id == CS_CFIELD_MSG)   parse_cs_cfield();
   else if(cs_msg_id == CS_PUMP_MSG)     parse_cs_pump();
   else if(cs_msg_id == CS_GAIN_MSG)     parse_cs_gain();
   else if(cs_msg_id == CS_RFAM_MSG)     parse_cs_rfam();
   else if(cs_msg_id == CS_GLOB_MSG)     parse_cs_glob();
   else if(cs_msg_id == CS_SUPPLY_MSG)   parse_cs_supply();
   else if(cs_msg_id == CS_TEMP_MSG)     parse_cs_temp();
   else if(cs_msg_id == CS_COVEN_MSG)    parse_cs_coven();
   else if(cs_msg_id == CS_QOVEN_MSG)    parse_cs_qoven();
   else if(cs_msg_id == CS_EMUL_MSG)     parse_cs_emul();
   else if(cs_msg_id == CS_HWI_MSG)      parse_cs_hwi();
   else if(cs_msg_id == CS_MSP_MSG)      parse_cs_msp();
   else if(cs_msg_id == CS_PLL_MSG)      parse_cs_pll();
   else if(cs_msg_id == CS_VOLT_MSG)     parse_cs_volt();
   else if(cs_msg_id == CS_FREQ1_MSG)    parse_cs_freq1();
   else if(cs_msg_id == CS_FREQ2_MSG)    parse_cs_freq2();
   else if(cs_msg_id == CS_STER_MSG)     parse_cs_ster();
   else if(cs_msg_id == CS_SYNC_MSG)     parse_cs_sync();
   else if(cs_msg_id == CS_STANDBY_MSG)  parse_cs_standby();
   else if(cs_msg_id == CS_DISP_MSG)     parse_cs_disp();
   else if(cs_msg_id == CS_REM_MSG)      parse_cs_remote();
   else if(cs_msg_id == CS_LEAPSTAT_MSG) parse_cs_leapstat();
   else if(cs_msg_id == CS_LEAPDUR_MSG)  parse_cs_leapdur();
   else if(cs_msg_id == CS_LEAPMJD_MSG)  parse_cs_leapmjd();
   else if(cs_msg_id == CS_SLEW_MSG)     parse_cs_slew();   // !!!! HP5071A does not let us query this setting
   else if(cs_msg_id == CS_LOGCOUNT_MSG) parse_cs_logcount();
   else if(cs_msg_id == CS_LOGINFO_MSG)  parse_cs_loginfo();
   else if(cs_msg_id == CS_LAMP_MSG)     parse_cs_lamp();
   else if(cs_msg_id == SCPI_ID_MSG)     parse_scpi_id();
   else if(cs_msg_id == SCPI_TEST_MSG)   parse_scpi_test();
   else if(cs_msg_id == SCPI_EFC_MSG)    parse_scpi_efc();

   poll_next_cs();
   cs_msg_id = 0;

   if(sim_file && sim_delay) {  // throttle sim file messages
      Sleep(sim_delay);
   }
   saw_rcvr_msg = 1;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
xorl %ebx, %ebx
xorl %edi, %edi
callq 0x7f2b8
leaq 0x299abe(%rip), %r15    # 0x33b830
movb $0x0, (%r15)
leaq 0x2964d5(%rip), %r14    # 0x338252
leaq 0x19d1ec(%rip), %r12    # 0x23ef70
movzwl (%r14), %eax
cmpq %rax, %rbx
jae 0xa1db4
callq 0x587be
cmpl $0x100, %eax            # imm = 0x100
jb 0xa1d9e
orb $0x8, (%r12)
movb %al, (%rbx,%r15)
movb $0x0, 0x1(%rbx,%r15)
incq %rbx
cmpq $0x1f6, %rbx            # imm = 0x1F6
jne 0xa1d84
leaq 0x296499(%rip), %rax    # 0x338254
xorl %ecx, %ecx
movw %cx, (%rax)
movw %cx, (%r14)
leaq 0x29648b(%rip), %rax    # 0x338256
movw %cx, (%rax)
leaq 0x299a5b(%rip), %rbx    # 0x33b830
movq %rbx, %rdi
callq 0x9899
leaq 0x19c5ac(%rip), %r14    # 0x23e390
movq (%r14), %rdi
testq %rdi, %rdi
je 0xa1e07
movl 0x2d01fa(%rip), %edx    # 0x371fec
leaq 0x83b63(%rip), %rsi     # 0x12595c
leaq 0x299a30(%rip), %rcx    # 0x33b830
xorl %eax, %eax
callq 0x9560
movb (%rbx), %cl
movb 0x1(%rbx), %al
movl %ecx, %edx
xorb $0x45, %dl
movl %eax, %esi
xorb $0x2d, %sil
orb %dl, %sil
jne 0xa1e3d
movsbl 0x2(%rbx), %edx
movl %edx, %esi
addl $-0x30, %esi
cmpl $0x9, %esi
ja 0xa1e63
leaq 0x7f7eb(%rip), %rdi     # 0x12161c
movl $0x2, %esi
callq 0x5edda
jmp 0xa1e77
movl %eax, %esi
xorb $0x2b, %sil
orb %sil, %dl
sete %sil
movb 0x2(%rbx), %dl
movsbl %dl, %edi
addl $-0x30, %edi
cmpl $0xa, %edi
setb %dil
andb %sil, %dil
cmpb $0x1, %dil
je 0xa1e2a
cmpb $0x53, %cl
jne 0xa1e8e
cmpb $0x43, %al
jne 0xa1e8e
cmpb $0x50, %dl
jne 0xa1e8e
cmpb $0x49, 0x3(%rbx)
jne 0xa1e8e
movl $0x0, 0x2d016b(%rip)    # 0x371fec
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0x6e932
movl 0x2d0158(%rip), %edx    # 0x371fec
movq (%r14), %rdi
testl %edx, %edx
je 0xa1efd
testq %rdi, %rdi
je 0xa1ebb
leaq 0x83ae0(%rip), %rsi     # 0x125987
leaq 0x299982(%rip), %rcx    # 0x33b830
xorl %eax, %eax
callq 0x9560
movl 0x2d0131(%rip), %edx    # 0x371fec
leaq 0x299d82(%rip), %rax    # 0x33bc44
movl $0x0, (%rax)
cmpl $0x12b, %edx            # imm = 0x12B
jle 0xa1f6b
addl $0xfffffed4, %edx       # imm = 0xFFFFFED4
cmpl $0x21, %edx
ja 0xa20f1
leaq 0x7dba2(%rip), %rax     # 0x11fa8c
movslq (%rax,%rdx,4), %rcx
addq %rax, %rcx
jmpq *%rcx
callq 0xa2892
jmp 0xa20f1
testq %rdi, %rdi
je 0xa1f1d
movl 0x2ce0dc(%rip), %ecx    # 0x36ffe4
leaq 0x837b6(%rip), %rsi     # 0x1256c5
leaq 0x29991a(%rip), %rdx    # 0x33b830
xorl %eax, %eax
callq 0x9560
leaq 0x29990c(%rip), %rdi    # 0x33b830
leaq 0x7f70d(%rip), %rsi     # 0x121638
callq 0x9090
testq %rax, %rax
je 0xa1f44
movl $0x12c, 0x2d00ad(%rip)  # imm = 0x12C
jmp 0xa2137
leaq 0x2998e5(%rip), %rdi    # 0x33b830
leaq 0x7f6db(%rip), %rsi     # 0x12162d
callq 0x9090
testq %rax, %rax
je 0xa1f90
movl $0x12d, 0x2d0086(%rip)  # imm = 0x12D
jmp 0xa2137
cmpl $0xb, %edx
je 0xa20e5
cmpl $0x19, %edx
je 0xa20ec
cmpl $0x1c, %edx
jne 0xa20f1
callq 0x9e5de
jmp 0xa20f1
leaq 0x299899(%rip), %rdi    # 0x33b830
leaq 0x83864(%rip), %rsi     # 0x125802
callq 0x9090
testq %rax, %rax
je 0xa1fb7
movl $0x12e, 0x2d003a(%rip)  # imm = 0x12E
jmp 0xa2137
leaq 0x299872(%rip), %rdi    # 0x33b830
leaq 0x7e752(%rip), %rsi     # 0x120717
callq 0x9090
testq %rax, %rax
je 0xa2140
movl $0x14d, 0x2d000f(%rip)  # imm = 0x14D
jmp 0xa2137
callq 0xa2d66
jmp 0xa20f1
callq 0xa30f1
jmp 0xa20f1
callq 0xa336d
jmp 0xa20f1
callq 0xa2ce2
jmp 0xa20f1
callq 0xa2f11
jmp 0xa20f1
callq 0xa3239
jmp 0xa20f1
callq 0xa30be
jmp 0xa20f1
callq 0xa2e40
jmp 0xa20f1
callq 0xa2c16
jmp 0xa20f1
callq 0xa3436
jmp 0xa20f1
callq 0xa2bdb
jmp 0xa20f1
callq 0xa2b8b
jmp 0xa20f1
callq 0xa2ec6
jmp 0xa20f1
callq 0xa32f4
jmp 0xa20f1
callq 0xa2b15
jmp 0xa20f1
callq 0xa2f44
jmp 0xa20f1
callq 0xa2a6d
jmp 0xa20f1
callq 0xa2a3a
jmp 0xa20f1
callq 0xa308b
jmp 0xa20f1
callq 0xa3025
jmp 0xa20f1
callq 0xa2c80
jmp 0xa20f1
callq 0xa2f77
jmp 0xa20f1
callq 0xa3126
jmp 0xa20f1
callq 0xa2caf
jmp 0xa20f1
callq 0xa2d9b
jmp 0xa20f1
callq 0xa3058
jmp 0xa20f1
callq 0xa2b50
jmp 0xa20f1
callq 0xa2e93
jmp 0xa20f1
callq 0xa315b
jmp 0xa20f1
callq 0xa339e
jmp 0xa20f1
callq 0xa3204
jmp 0xa20f1
callq 0x9de10
jmp 0xa20f1
callq 0x9ed76
callq 0x6e932
leaq 0x19c2c3(%rip), %rax    # 0x23e3c0
cmpq $0x0, (%rax)
movl $0x0, 0x2cfee1(%rip)    # 0x371fec
setne %al
leaq 0x1814eb(%rip), %rcx    # 0x223600
movq (%rcx), %rdi
testq %rdi, %rdi
setne %cl
andb %al, %cl
cmpb $0x1, %cl
jne 0xa212a
callq 0xafe8
leaq 0x19ce6f(%rip), %rax    # 0x23efa0
movl $0x1, (%rax)
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
leaq 0x2996e9(%rip), %rdi    # 0x33b830
leaq 0x836bf(%rip), %rsi     # 0x12580d
callq 0x9090
testq %rax, %rax
je 0xa2164
movl $0x130, 0x2cfe8a(%rip)  # imm = 0x130
jmp 0xa2137
leaq 0x2996c5(%rip), %rdi    # 0x33b830
leaq 0x8375d(%rip), %rsi     # 0x1258cf
callq 0x9090
testq %rax, %rax
je 0xa2188
movl $0x13e, 0x2cfe66(%rip)  # imm = 0x13E
jmp 0xa2137
leaq 0x2996a1(%rip), %rdi    # 0x33b830
leaq 0x83687(%rip), %rsi     # 0x12581d
callq 0x9090
testq %rax, %rax
je 0xa21ac
movl $0x131, 0x2cfe42(%rip)  # imm = 0x131
jmp 0xa2137
leaq 0x29967d(%rip), %rdi    # 0x33b830
leaq 0x83673(%rip), %rsi     # 0x12582d
callq 0x9090
testq %rax, %rax
je 0xa21d3
movl $0x132, 0x2cfe1e(%rip)  # imm = 0x132
jmp 0xa2137
leaq 0x299656(%rip), %rdi    # 0x33b830
leaq 0x83657(%rip), %rsi     # 0x125838
callq 0x9090
testq %rax, %rax
je 0xa21fa
movl $0x133, 0x2cfdf7(%rip)  # imm = 0x133
jmp 0xa2137
leaq 0x29962f(%rip), %rdi    # 0x33b830
leaq 0x8363b(%rip), %rsi     # 0x125843
callq 0x9090
testq %rax, %rax
je 0xa2221
movl $0x134, 0x2cfdd0(%rip)  # imm = 0x134
jmp 0xa2137
leaq 0x299608(%rip), %rdi    # 0x33b830
leaq 0x83624(%rip), %rsi     # 0x125853
callq 0x9090
testq %rax, %rax
je 0xa2248
movl $0x135, 0x2cfda9(%rip)  # imm = 0x135
jmp 0xa2137
leaq 0x2995e1(%rip), %rdi    # 0x33b830
leaq 0x7f3cb(%rip), %rsi     # 0x121621
callq 0x9090
testq %rax, %rax
je 0xa226f
movl $0x136, 0x2cfd82(%rip)  # imm = 0x136
jmp 0xa2137
leaq 0x2995ba(%rip), %rdi    # 0x33b830
leaq 0x835e6(%rip), %rsi     # 0x125863
callq 0x9090
testq %rax, %rax
je 0xa2296
movl $0x137, 0x2cfd5b(%rip)  # imm = 0x137
jmp 0xa2137
leaq 0x299593(%rip), %rdi    # 0x33b830
leaq 0x835de(%rip), %rsi     # 0x125882
callq 0x9090
testq %rax, %rax
je 0xa22bd
movl $0x138, 0x2cfd34(%rip)  # imm = 0x138
jmp 0xa2137
leaq 0x29956c(%rip), %rdi    # 0x33b830
leaq 0x835c7(%rip), %rsi     # 0x125892
callq 0x9090
testq %rax, %rax
je 0xa22e4
movl $0x139, 0x2cfd0d(%rip)  # imm = 0x139
jmp 0xa2137
leaq 0x299545(%rip), %rdi    # 0x33b830
leaq 0x835af(%rip), %rsi     # 0x1258a1
callq 0x9090
testq %rax, %rax
je 0xa230b
movl $0x13a, 0x2cfce6(%rip)  # imm = 0x13A
jmp 0xa2137
leaq 0x29951e(%rip), %rdi    # 0x33b830
leaq 0x83597(%rip), %rsi     # 0x1258b0
callq 0x9090
testq %rax, %rax
je 0xa2332
movl $0x13b, 0x2cfcbf(%rip)  # imm = 0x13B
jmp 0xa2137
leaq 0x2994f7(%rip), %rdi    # 0x33b830
leaq 0x83532(%rip), %rsi     # 0x125872
callq 0x9090
testq %rax, %rax
je 0xa2359
movl $0x13c, 0x2cfc98(%rip)  # imm = 0x13C
jmp 0xa2137
leaq 0x2994d0(%rip), %rdi    # 0x33b830
leaq 0x83558(%rip), %rsi     # 0x1258bf
callq 0x9090
testq %rax, %rax
je 0xa2380
movl $0x13d, 0x2cfc71(%rip)  # imm = 0x13D
jmp 0xa2137
leaq 0x2994a9(%rip), %rdi    # 0x33b830
leaq 0x835b2(%rip), %rsi     # 0x125940
callq 0x9090
testq %rax, %rax
je 0xa23a7
movl $0x14a, 0x2cfc4a(%rip)  # imm = 0x14A
jmp 0xa2137
leaq 0x299482(%rip), %rdi    # 0x33b830
leaq 0x835bc(%rip), %rsi     # 0x125971
callq 0x9090
testq %rax, %rax
je 0xa23ce
movl $0x19, 0x2cfc23(%rip)   # 0x371fec
jmp 0xa2137
leaq 0x29945b(%rip), %rdi    # 0x33b830
leaq 0x833f5(%rip), %rsi     # 0x1257d1
callq 0x9090
testq %rax, %rax
je 0xa23f5
movl $0x14b, 0x2cfbfc(%rip)  # imm = 0x14B
jmp 0xa2137
leaq 0x299434(%rip), %rdi    # 0x33b830
leaq 0x83501(%rip), %rsi     # 0x125904
callq 0x9090
testq %rax, %rax
je 0xa241c
movl $0x142, 0x2cfbd5(%rip)  # imm = 0x142
jmp 0xa2137
leaq 0x29940d(%rip), %rdi    # 0x33b830
leaq 0x7f034(%rip), %rsi     # 0x12145e
callq 0x9090
testq %rax, %rax
je 0xa2443
movl $0x143, 0x2cfbae(%rip)  # imm = 0x143
jmp 0xa2137
leaq 0x2993e6(%rip), %rdi    # 0x33b830
leaq 0x8352b(%rip), %rsi     # 0x12597c
callq 0x9090
testq %rax, %rax
je 0xa246a
movl $0x144, 0x2cfb87(%rip)  # imm = 0x144
jmp 0xa2137
leaq 0x2993bf(%rip), %rdi    # 0x33b830
leaq 0x83498(%rip), %rsi     # 0x125910
callq 0x9090
testq %rax, %rax
je 0xa2491
movl $0x147, 0x2cfb60(%rip)  # imm = 0x147
jmp 0xa2137
leaq 0x299398(%rip), %rdi    # 0x33b830
leaq 0x83482(%rip), %rsi     # 0x125921
callq 0x9090
testq %rax, %rax
je 0xa24b8
movl $0x148, 0x2cfb39(%rip)  # imm = 0x148
jmp 0xa2137
leaq 0x299371(%rip), %rdi    # 0x33b830
leaq 0x8346b(%rip), %rsi     # 0x125931
callq 0x9090
testq %rax, %rax
je 0xa24df
movl $0x149, 0x2cfb12(%rip)  # imm = 0x149
jmp 0xa2137
leaq 0x29934a(%rip), %rdi    # 0x33b830
leaq 0x833f2(%rip), %rsi     # 0x1258df
callq 0x9090
testq %rax, %rax
je 0xa2506
movl $0x13f, 0x2cfaeb(%rip)  # imm = 0x13F
jmp 0xa2137
leaq 0x299323(%rip), %rdi    # 0x33b830
leaq 0x833d8(%rip), %rsi     # 0x1258ec
callq 0x9090
testq %rax, %rax
je 0xa252d
movl $0x140, 0x2cfac4(%rip)  # imm = 0x140
jmp 0xa2137
leaq 0x2992fc(%rip), %rdi    # 0x33b830
leaq 0x833be(%rip), %rsi     # 0x1258f9
callq 0x9090
testq %rax, %rax
je 0xa2554
movl $0x141, 0x2cfa9d(%rip)  # imm = 0x141
jmp 0xa2137
leaq 0x2992d5(%rip), %rdi    # 0x33b830
leaq 0x7edf1(%rip), %rsi     # 0x121353
callq 0x9090
testq %rax, %rax
je 0xa257b
movl $0xb, 0x2cfa76(%rip)    # 0x371fec
jmp 0xa2137
leaq 0x2992ae(%rip), %rdi    # 0x33b830
leaq 0x8326e(%rip), %rsi     # 0x1257f7
callq 0x9090
testq %rax, %rax
je 0xa25a2
movl $0x145, 0x2cfa4f(%rip)  # imm = 0x145
jmp 0xa2137
leaq 0x299287(%rip), %rdi    # 0x33b830
leaq 0x7e239(%rip), %rsi     # 0x1207e9
callq 0x9090
testq %rax, %rax
je 0xa25c9
movl $0x146, 0x2cfa28(%rip)  # imm = 0x146
jmp 0xa2137
leaq 0x299260(%rip), %rdi    # 0x33b830
leaq 0x7f0f0(%rip), %rsi     # 0x1216c7
callq 0x9090
testq %rax, %rax
je 0xa25f0
movl $0x1c, 0x2cfa01(%rip)   # 0x371fec
jmp 0xa2137
leaq 0x299239(%rip), %rdi    # 0x33b830
leaq 0x7f01e(%rip), %rsi     # 0x12161c
callq 0x9090
testq %rax, %rax
je 0xa2137
movl $0x2, 0x2cf9d6(%rip)    # 0x371fec
jmp 0xa2137