// File: /workspace/github_cpp_makefile_star2_O1/jkingan[P]ladyheather/heathgps.cpp
// Function: decode_uccm_msg(int)
void decode_uccm_msg(int why)
{
char c;
int i, j;

   start_msg_decode(0);

   nmea_msg[0] = 0;
   j = 0;
   for(i=0; i<tsip_wptr; i++) {  // copy message from tsip buffer to nmea buffer
      c = tsip_byte();
      nmea_msg[j++] = c;
      nmea_msg[j] = 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 uccm msg %d:%s\n", uccm_msg_id, nmea_msg);

   if(strstr(nmea_msg, "UCCM-L")) {  // samsung ID message (-LPK, -L8)
   }
   else if(strstr(nmea_msg, "UCCM-P")) {  // UCCM error response?
      if(user_set_scpi_type == 0) scpi_type = UCCMP_TYPE; // samsung
      uccm_msg_id = 0;
      return;
   }
   else if(strstr(nmea_msg, "UCCM")) {  // UCCM error response?
      uccm_msg_id = 0;
      return;
   }
   else if(strstr(nmea_msg, "COMMAND COMPLETE")) {
      if(uccm_msg_id == SCPI_IGNORE_MSG) {  // null response to ignore message - no sats exclued
         sats_enabled = 0xFFFFFFFF;
         update_disable_list(sats_enabled);
      }
      uccm_msg_id = 0;
      return;
   }
   else if(strstr(nmea_msg, "COMMAND ERROR")) {
      uccm_msg_id = 0;
      return;
   }
   else if(strstr(nmea_msg, "UNDEFINED HEADER")) {
      uccm_msg_id = 0;
      return;
   }
   else if(strstr(nmea_msg, "INVALID PARAMETER")) {
      uccm_msg_id = 0;
      return;
   }
   else if(strstr(nmea_msg, "DATA OUT OF RANGE")) {  // samsung
      uccm_msg_id = 0;
      return;
   }
   else if(strstr(nmea_msg, "CORRUPT")) {  // "Data corrupt or stale" uccmp
      uccm_msg_id = 0;
      return;
   }
   else if((nmea_msg[0] == 'C') && (nmea_msg[1] == '5')) {  // time string 132 bytes (44 values) long
      parse_uccm_time(123);

      uccm_time:
if(1 || have_uccm_loop) {
   send_polled_cmd("SYNC:TINT?", SCPI_TINT_MSG);
   poll_next_uccm();
}

if(1 || (scpi_type != UCCMP_TYPE)) {  //kkkkkkkkkkkkk
   poll_next_uccm();
   poll_next_uccm();
   poll_next_uccm();
//poll_next_uccm();
//poll_next_uccm();
//poll_next_uccm();
}
      return;
   }
   else if(uccm_msg_id == 0) {
if(debug_file) fprintf(debug_file, "response to:%s (status msg:%d) is next\n", nmea_msg, scpi_status);
      if     (strstr(nmea_msg, "GPS:POS?"))                uccm_msg_id = SCPI_POSN_MSG;
      else if(strstr(nmea_msg, "SYNC:TINT?"))              uccm_msg_id = SCPI_TINT_MSG;
      else if(strstr(nmea_msg, "ALARM:HARD?"))             uccm_msg_id = UCCM_GET_HW_ALARM;
      else if(strstr(nmea_msg, "ALARM:OPER?"))             uccm_msg_id = UCCM_GET_OPER_ALARM;
      else if(strstr(nmea_msg, "DIAG:ROSC:EFC:REL?"))      uccm_msg_id = SCPI_EFC_MSG;
      else if(strstr(nmea_msg, "LED:GPSL?"))               uccm_msg_id = UCCM_LED_MSG;
      else if(strstr(nmea_msg, ":GPS:POS:SURV:STAT?"))     uccm_msg_id = SCPI_SURVEY_MSG;
      else if(strstr(nmea_msg, ":GPS:POS:SURV:PROG?"))     uccm_msg_id = SCPI_PROGRESS_MSG;
      else if(strstr(nmea_msg, ":GPS:POS:SURV:STAT ONCE")) uccm_msg_id = SCPI_SURVEY_MSG;
      else if(strstr(nmea_msg, "ROSC:HOLD:DUR?"))          uccm_msg_id = SCPI_HOLDOVER_MSG;
      else if(strstr(nmea_msg, "SYNC:IMM"))                uccm_msg_id = SCPI_JAMSYNC_MSG;
      else if(strstr(nmea_msg, "DIAG:ROSC:EFC:DATA?"))     uccm_msg_id = UCCM_EFC_MSG;
      else if(strstr(nmea_msg, "GPS:SAT:TRAC:EMAN?"))      uccm_msg_id = SCPI_ELEV_MSG;
      else if(strstr(nmea_msg, "GPS:SAT:TRAC:IGN?"))       uccm_msg_id = SCPI_IGNORE_MSG;
      else if(strstr(nmea_msg, "GPS:REF:ADEL?"))           uccm_msg_id = SCPI_GET_CABLE_MSG;
      else if(strstr(nmea_msg, "GPS:REF:ADEL "))           uccm_msg_id = SCPI_SET_CABLE_MSG;
      else if(strstr(nmea_msg, "PULLINRANGE?"))            uccm_msg_id = UCCM_GET_PULLIN_MSG;
      else if(strstr(nmea_msg, "PULLINRANGE"))             uccm_msg_id = UCCM_SET_PULLIN_MSG;
      else if(strstr(nmea_msg, "OUTP:TP:SEL?"))            uccm_msg_id = UCCM_RATE_MSG;
      else if(strstr(nmea_msg, "OUTP:STAT?"))              uccm_msg_id = UCCM_STATE_MSG;
      else if(strstr(nmea_msg, "*IDN?"))                   uccm_msg_id = SCPI_ID_MSG;
      else if(strstr(nmea_msg, "*TST?"))                   uccm_msg_id = SCPI_TEST_MSG;
      else if(strstr(nmea_msg, "SYST:STAT?")) {
         uccm_msg_id = UCCM_STATUS_MSG;
         parse_scpi_status();
      }
      else if(strstr(nmea_msg, "DIAG:LOOP?")) {
         uccm_msg_id = SCPI_EFC_MSG;
         parse_uccm_loop();
      }
      else if(strstr(nmea_msg, "C5")) {  //kkkkkkkkk
         uccm_msg_id = 0;
         parse_uccm_time(144);
         goto uccm_time;
      }
      return;
   }

if(debug_file) fprintf(debug_file, "uccm %d response:%s\n", uccm_msg_id, nmea_msg);
   if     (uccm_msg_id == SCPI_POSN_MSG)       parse_scpi_posn();
   else if(uccm_msg_id == SCPI_TINT_MSG)       parse_scpi_tint();
   else if(uccm_msg_id == SCPI_EFC_MSG)        parse_scpi_efc();
   else if(uccm_msg_id == UCCM_LED_MSG)        parse_uccm_led();
   else if(uccm_msg_id == UCCM_EFC_MSG)        parse_uccm_efc();
   else if(uccm_msg_id == SCPI_TEST_MSG)       parse_scpi_test();
   else if(uccm_msg_id == SCPI_ELEV_MSG)       parse_scpi_elev();
   else if(uccm_msg_id == SCPI_IGNORE_MSG)     parse_scpi_ignore();
   else if(uccm_msg_id == SCPI_GET_CABLE_MSG)  parse_scpi_cable();
   else if(uccm_msg_id == SCPI_SET_CABLE_MSG)  parse_scpi_cable();
   else if(uccm_msg_id == SCPI_ID_MSG)         parse_scpi_id();
   else if(uccm_msg_id == SCPI_SURVEY_MSG)     parse_scpi_survey();
   else if(uccm_msg_id == SCPI_PROGRESS_MSG)   parse_scpi_progress();
   else if(uccm_msg_id == SCPI_JAMSYNC_MSG)    parse_scpi_jamsync();
   else if(uccm_msg_id == SCPI_HOLDOVER_MSG)   parse_scpi_holdover();
   else if(uccm_msg_id == UCCM_RATE_MSG)       parse_uccm_rate();
   else if(uccm_msg_id == UCCM_STATE_MSG)      parse_uccm_state();
   else if(uccm_msg_id == UCCM_GET_PULLIN_MSG) parse_uccm_pullin();
   else if(uccm_msg_id == UCCM_GET_HW_ALARM)   parse_uccm_hw_alarm();
   else if(uccm_msg_id == UCCM_GET_OPER_ALARM) parse_uccm_oper_alarm();
   else if(uccm_msg_id == UCCM_STATUS_MSG) {
      if(strstr(nmea_msg, "TEMP = ")) {  // samsung temperature value
         parse_uccm_temp();
      }
   }
   uccm_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 %edi, %edi
callq 0x7f47d
leaq 0x29b258(%rip), %r14    # 0x33b830
movb $0x0, (%r14)
leaq 0x297c6f(%rip), %rbx    # 0x338252
cmpw $0x0, (%rbx)
je 0xa0629
movl $0x1, %r12d
leaq 0x19e97a(%rip), %r15    # 0x23ef70
callq 0x587d1
cmpl $0x100, %eax            # imm = 0x100
jb 0xa0606
orb $0x8, (%r15)
movb %al, -0x1(%r14,%r12)
movb $0x0, (%r14,%r12)
cmpq $0x1f6, %r12            # imm = 0x1F6
je 0xa0629
leaq 0x1(%r12), %rax
movzwl (%rbx), %ecx
cmpl %ecx, %r12d
movq %rax, %r12
jb 0xa05f6
leaq 0x297c24(%rip), %rax    # 0x338254
xorl %ecx, %ecx
movw %cx, (%rax)
movw %cx, (%rbx)
leaq 0x297c17(%rip), %rax    # 0x338256
movw %cx, (%rax)
leaq 0x29b1e7(%rip), %rdi    # 0x33b830
callq 0x9899
leaq 0x19dd3b(%rip), %r14    # 0x23e390
movq (%r14), %rdi
testq %rdi, %rdi
je 0xa0678
movl 0x2d1879(%rip), %edx    # 0x371edc
leaq 0x84ef9(%rip), %rsi     # 0x125563
leaq 0x29b1bf(%rip), %rcx    # 0x33b830
xorl %eax, %eax
callq 0x9560
leaq 0x29b1b1(%rip), %rdi    # 0x33b830
leaq 0x848dc(%rip), %rsi     # 0x124f62
callq 0x9090
testq %rax, %rax
je 0xa06db
movq (%r14), %rdi
testq %rdi, %rdi
je 0xa06b3
movl 0x2d183e(%rip), %edx    # 0x371edc
leaq 0x84f85(%rip), %rsi     # 0x12562a
leaq 0x29b184(%rip), %rcx    # 0x33b830
xorl %eax, %eax
callq 0x9560
movl 0x2d1823(%rip), %eax    # 0x371edc
leal -0xa(%rax), %ecx
cmpl $0x1c, %ecx
ja 0xa070e
leaq 0x7f248(%rip), %rax     # 0x11f910
movslq (%rax,%rcx,4), %rcx
addq %rax, %rcx
jmpq *%rcx
callq 0x9de04
jmp 0xa0873
leaq 0x29b14e(%rip), %rdi    # 0x33b830
leaq 0x84e91(%rip), %rsi     # 0x12557a
callq 0x9090
testq %rax, %rax
je 0xa0734
leaq 0x1781f2(%rip), %rax    # 0x2188ec
cmpl $0x0, (%rax)
jne 0xa074c
leaq 0x17a8da(%rip), %rax    # 0x21afe0
movl $0x50, (%rax)
jmp 0xa074c
addl $-0x64, %eax
cmpl $0xb, %eax
ja 0xa0873
leaq 0x7f263(%rip), %rcx     # 0x11f984
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
callq 0x9f386
jmp 0xa0873
leaq 0x29b0f5(%rip), %rdi    # 0x33b830
leaq 0x84e3f(%rip), %rsi     # 0x125581
callq 0x9090
testq %rax, %rax
je 0xa075b
movl $0x0, 0x2d1786(%rip)    # 0x371edc
jmp 0xa08b4
leaq 0x29b0ce(%rip), %rdi    # 0x33b830
leaq 0x84e1d(%rip), %rsi     # 0x125586
callq 0x9090
testq %rax, %rax
je 0xa08bd
cmpl $0x1e, 0x2d175e(%rip)   # 0x371edc
jne 0xa074c
leaq 0x26c95d(%rip), %rax    # 0x30d0e4
movl $0xffffffff, (%rax)     # imm = 0xFFFFFFFF
movl $0x349, %eax            # imm = 0x349
leaq 0x19e817(%rip), %rcx    # 0x23efb0
movb $0x0, (%rcx,%rax)
addq $0x348, %rax            # imm = 0x348
cmpq $0x6c49, %rax           # imm = 0x6C49
jne 0xa0799
jmp 0xa074c
callq 0x9ee67
jmp 0xa0873
callq 0x9e8cc
jmp 0xa0873
callq 0x9e404
jmp 0xa0873
callq 0x9e7ca
jmp 0xa0873
callq 0x9de78
jmp 0xa0873
callq 0x9e74f
jmp 0xa0873
leaq 0x847f3(%rip), %rdi     # 0x124fe3
callq 0x58e77
jmp 0xa0873
callq 0x9e83f
jmp 0xa0873
callq 0x9eb9c
jmp 0xa0873
callq 0x9dc36
jmp 0xa0873
callq 0x9f095
jmp 0xa0873
callq 0x9f3f8
jmp 0xa0873
callq 0x9f44d
jmp 0xa0873
callq 0x9dca6
jmp 0xa0873
callq 0x9dd40
jmp 0xa0873
leaq 0x29affa(%rip), %rdi    # 0x33b830
leaq 0x84d1e(%rip), %rsi     # 0x12555b
callq 0x9090
testq %rax, %rax
je 0xa0873
callq 0xa04fc
jmp 0xa0873
callq 0x9f4cb
jmp 0xa0873
leaq 0x8491f(%rip), %rdi     # 0x12517b
callq 0x58e77
leaq 0x29b3dc(%rip), %rax    # 0x33bc44
movl $0x0, (%rax)
callq 0x811da
leaq 0x19db46(%rip), %rax    # 0x23e3c0
cmpq $0x0, (%rax)
movl $0x0, 0x2d1654(%rip)    # 0x371edc
setne %al
leaq 0x182d6e(%rip), %rcx    # 0x223600
movq (%rcx), %rdi
testq %rdi, %rdi
setne %cl
andb %al, %cl
cmpb $0x1, %cl
jne 0xa08a7
callq 0xaff7
leaq 0x19e6f2(%rip), %rax    # 0x23efa0
movl $0x1, (%rax)
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
leaq 0x29af6c(%rip), %rdi    # 0x33b830
leaq 0x84ccc(%rip), %rsi     # 0x125597
callq 0x9090
testq %rax, %rax
jne 0xa074c
leaq 0x29af50(%rip), %rdi    # 0x33b830
leaq 0x84cbe(%rip), %rsi     # 0x1255a5
callq 0x9090
testq %rax, %rax
jne 0xa074c
leaq 0x29af34(%rip), %rdi    # 0x33b830
leaq 0x84cb3(%rip), %rsi     # 0x1255b6
callq 0x9090
testq %rax, %rax
jne 0xa074c
leaq 0x29af18(%rip), %rdi    # 0x33b830
leaq 0x84ca9(%rip), %rsi     # 0x1255c8
callq 0x9090
testq %rax, %rax
jne 0xa074c
leaq 0x29aefc(%rip), %rbx    # 0x33b830
leaq 0x87fea(%rip), %rsi     # 0x128925
movq %rbx, %rdi
callq 0x9090
testq %rax, %rax
jne 0xa074c
cmpb $0x43, (%rbx)
jne 0xa098e
movl $0x7b, %edi
cmpb $0x35, 0x1(%rbx)
jne 0xa098e
callq 0xa0216
leaq 0x84c72(%rip), %rdi     # 0x1255da
movl $0x10, %esi
callq 0x6e3bc
callq 0x6fe5f
callq 0x6fe5f
callq 0x6fe5f
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0x6fe5f
cmpl $0x0, 0x2d1547(%rip)    # 0x371edc
jne 0xa0690
movq (%r14), %rdi
testq %rdi, %rdi
je 0xa09be
movl 0x2cf63b(%rip), %ecx    # 0x36ffe4
leaq 0x84c35(%rip), %rsi     # 0x1255e5
leaq 0x29ae79(%rip), %rdx    # 0x33b830
xorl %eax, %eax
callq 0x9560
leaq 0x29ae6b(%rip), %rdi    # 0x33b830
leaq 0x8493d(%rip), %rsi     # 0x125309
callq 0x9090
testq %rax, %rax
je 0xa09e5
movl $0x15, 0x2d14fc(%rip)   # 0x371edc
jmp 0xa08b4
leaq 0x29ae44(%rip), %rdi    # 0x33b830
leaq 0x84be7(%rip), %rsi     # 0x1255da
callq 0x9090
testq %rax, %rax
je 0xa0a0c
movl $0x10, 0x2d14d5(%rip)   # 0x371edc
jmp 0xa08b4
leaq 0x29ae1d(%rip), %rdi    # 0x33b830
leaq 0x84aed(%rip), %rsi     # 0x125507
callq 0x9090
testq %rax, %rax
je 0xa0a33
movl $0x6e, 0x2d14ae(%rip)   # 0x371edc
jmp 0xa08b4
leaq 0x29adf6(%rip), %rdi    # 0x33b830
leaq 0x84ad2(%rip), %rsi     # 0x125513
callq 0x9090
testq %rax, %rax
je 0xa0a5a
movl $0x6f, 0x2d1487(%rip)   # 0x371edc
jmp 0xa08b4
leaq 0x29adcf(%rip), %rdi    # 0x33b830
leaq 0x84a8c(%rip), %rsi     # 0x1254f4
callq 0x9090
testq %rax, %rax
je 0xa0a81
movl $0xb, 0x2d1460(%rip)    # 0x371edc
jmp 0xa08b4
leaq 0x29ada8(%rip), %rdi    # 0x33b830
leaq 0x80cbc(%rip), %rsi     # 0x12174b
callq 0x9090
testq %rax, %rax
je 0xa0aa8
movl $0x69, 0x2d1439(%rip)   # 0x371edc
jmp 0xa08b4
leaq 0x29ad81(%rip), %rdi    # 0x33b830
leaq 0x80b8f(%rip), %rsi     # 0x121645
callq 0x9090
testq %rax, %rax
je 0xa0acf
movl $0x13, 0x2d1412(%rip)   # 0x371edc
jmp 0xa08b4
leaq 0x29ad5a(%rip), %rdi    # 0x33b830
leaq 0x848ab(%rip), %rsi     # 0x125388
callq 0x9090
testq %rax, %rax
je 0xa0af6
movl $0x12, 0x2d13eb(%rip)   # 0x371edc
jmp 0xa08b4
leaq 0x29ad33(%rip), %rdi    # 0x33b830
leaq 0x80ddb(%rip), %rsi     # 0x1218df
callq 0x9090
testq %rax, %rax
jne 0xa0ac0
leaq 0x29ad1b(%rip), %rdi    # 0x33b830
leaq 0x808f2(%rip), %rsi     # 0x12140e
callq 0x9090
testq %rax, %rax
je 0xa0b35
movl $0x16, 0x2d13ac(%rip)   # 0x371edc
jmp 0xa08b4
leaq 0x29acf4(%rip), %rdi    # 0x33b830
leaq 0x808c1(%rip), %rsi     # 0x121404
callq 0x9090
testq %rax, %rax
je 0xa0b5c
movl $0x21, 0x2d1385(%rip)   # 0x371edc
jmp 0xa08b4
leaq 0x29accd(%rip), %rdi    # 0x33b830
leaq 0x80732(%rip), %rsi     # 0x12129c
callq 0x9090
testq %rax, %rax
je 0xa0b83
movl $0x67, 0x2d135e(%rip)   # 0x371edc
jmp 0xa08b4
leaq 0x29aca6(%rip), %rdi    # 0x33b830
leaq 0x80305(%rip), %rsi     # 0x120e96
callq 0x9090
testq %rax, %rax
je 0xa0baa
movl $0xa, 0x2d1337(%rip)    # 0x371edc
jmp 0xa08b4
leaq 0x29ac7f(%rip), %rdi    # 0x33b830
leaq 0x7ffea(%rip), %rsi     # 0x120ba2
callq 0x9090
testq %rax, %rax
je 0xa0bd1
movl $0x1e, 0x2d1310(%rip)   # 0x371edc
jmp 0xa08b4
leaq 0x29ac58(%rip), %rdi    # 0x33b830
leaq 0x8049b(%rip), %rsi     # 0x12107a
callq 0x9090
testq %rax, %rax
je 0xa0bf8
movl $0xe, 0x2d12e9(%rip)    # 0x371edc
jmp 0xa08b4
leaq 0x29ac31(%rip), %rdi    # 0x33b830
leaq 0x84a07(%rip), %rsi     # 0x12560d
callq 0x9090
testq %rax, %rax
je 0xa0c1f
movl $0x26, 0x2d12c2(%rip)   # 0x371edc
jmp 0xa08b4
leaq 0x29ac0a(%rip), %rdi    # 0x33b830
leaq 0x80112(%rip), %rsi     # 0x120d3f
callq 0x9090
testq %rax, %rax
je 0xa0c46
movl $0x6d, 0x2d129b(%rip)   # 0x371edc
jmp 0xa08b4
leaq 0x29abe3(%rip), %rdi    # 0x33b830
leaq 0x849c7(%rip), %rsi     # 0x12561b
callq 0x9090
testq %rax, %rax
je 0xa0c6d
movl $0x6c, 0x2d1274(%rip)   # 0x371edc
jmp 0xa08b4
leaq 0x29abbc(%rip), %rdi    # 0x33b830
leaq 0x80561(%rip), %rsi     # 0x1211dc
callq 0x9090
testq %rax, %rax
je 0xa0c94
movl $0x64, 0x2d124d(%rip)   # 0x371edc
jmp 0xa08b4
leaq 0x29ab95(%rip), %rdi    # 0x33b830
leaq 0x80092(%rip), %rsi     # 0x120d34
callq 0x9090
testq %rax, %rax
je 0xa0cbb
movl $0x6b, 0x2d1226(%rip)   # 0x371edc
jmp 0xa08b4
leaq 0x29ab6e(%rip), %rdi    # 0x33b830
leaq 0x8091e(%rip), %rsi     # 0x1215e7
callq 0x9090
testq %rax, %rax
je 0xa0ce2
movl $0x1c, 0x2d11ff(%rip)   # 0x371edc
jmp 0xa08b4
leaq 0x29ab47(%rip), %rdi    # 0x33b830
leaq 0x7f978(%rip), %rsi     # 0x120668
callq 0x9090
testq %rax, %rax
je 0xa0d09
movl $0x19, 0x2d11d8(%rip)   # 0x371edc
jmp 0xa08b4
leaq 0x29ab20(%rip), %rdi    # 0x33b830
leaq 0x83397(%rip), %rsi     # 0x1240ae
callq 0x9090
testq %rax, %rax
je 0xa0d70
movl $0x65, 0x2d11b1(%rip)   # 0x371edc
leaq 0x84459(%rip), %rdi     # 0x12518b
callq 0x58e77
movl $0x1, 0x2cf2a3(%rip)    # 0x36ffe4
leaq 0x17a2d0(%rip), %rax    # 0x21b018
xorl %ecx, %ecx
movl %ecx, (%rax)
movl %ecx, 0x2d1182(%rip)    # 0x371ed4
movl %ecx, 0x2d1178(%rip)    # 0x371ed0
movl %ecx, 0x2cbe66(%rip)    # 0x36cbc4
movb $0x0, 0x2cbddb(%rip)    # 0x36cb40
movl %ecx, 0x2cf27d(%rip)    # 0x36ffe8
jmp 0xa08b4
leaq 0x29aab9(%rip), %rdi    # 0x33b830
leaq 0x8476b(%rip), %rsi     # 0x1254e9
callq 0x9090
testq %rax, %rax
je 0xa0dc2
movl $0xb, 0x2d114a(%rip)    # 0x371edc
leaq 0x84746(%rip), %rdi     # 0x1254df
callq 0x58e77
movl $0x1, 0x2cf244(%rip)    # 0x36ffec
xorl %eax, %eax
movl %eax, 0x2cf240(%rip)    # 0x36fff0
movl %eax, 0x2cbe0e(%rip)    # 0x36cbc4
movb $0x0, 0x2cbd83(%rip)    # 0x36cb40
jmp 0xa08b4
leaq 0x29aa67(%rip), %rdi    # 0x33b830
leaq 0x84857(%rip), %rsi     # 0x125627
callq 0x9090
testq %rax, %rax
je 0xa08b4
movl $0x0, 0x2d10f4(%rip)    # 0x371edc
movl $0x90, %edi
jmp 0xa095c