// File: /workspace/github_cpp_makefile_star2_O2/jkingan[P]ladyheather/heathgps.cpp
// Function: get_ticc_info(unsigned int)
void get_ticc_info(unsigned port)
{
int i;
int flag;
char *s;

   // parse the ticc config data from the TICC menu header.

   if(port >= NUM_COM_PORTS) return;

   // !!!!!! do something here   aaaaahhhhh
   i = 0;
   flag = 0;
   while(1) {
      if(get_ticc_line(port)) break;
      strupr(cfg_buf);

// aaaaaahhhhhh aaattt
if(sim_file) ; 
else if(strstr(cfg_buf, "DEFAULT")) flag = 1;    // things that should only occur in TAPR_TYPE output
else if(strstr(cfg_buf, "TAPR")) flag = 2;
else if(strstr(cfg_buf, "TICC")) flag = 3;
else if(strstr(cfg_buf, "ANY CHARACTER")) flag = 4;
else if(strstr(cfg_buf, " CHA")) flag = 4;
else if(strstr(cfg_buf, " CHB")) flag = 5;
else if(strstr(cfg_buf, " CHC")) flag = 6;
else if(strstr(cfg_buf, " CHD")) flag = 7;
else if(strstr(cfg_buf, " TI(A->B)")) flag = 8;
else if(strstr(cfg_buf, " TI(C->D)")) flag = 9;
//sprintf(debug_text2, "<<%s>>  flag:%d  ustt:%d  ticc_type:%c\n", cfg_buf, flag, user_set_ticc_type, ticc_type);

if(1 && cfg_buf[0] && (flag == 0)) {  // see if we are a TAPR TICC, if not assume generic time interval mode
// sprintf(debug_text, "Checking cfgbuf [%s] ustt:%d  petdata:%d", cfg_buf, user_set_ticc_type, pet_data((unsigned char *) &cfg_buf[0], 0, 0));
   if(is_numeric(cfg_buf)) {    // line that starts with a number should be a TICC reading
      if(user_set_ticc_type == 0) {
         if(pet_data((unsigned char *) &cfg_buf[0], 0, 0)) {
            ticc_type = PICPET_TICC;
            user_set_ticc_type = 3;
            if(user_set_ticc_mode == 0) {
               ticc_mode = 'T';
               user_set_ticc_mode = 3;
               have_ticc_mode = 3;
            }
         }
         else if(lars_data(&cfg_buf[0])) {
            ticc_type = LARS_TICC;
            user_set_ticc_type = 13;
            config_rcvr_plots();
            if(user_set_ticc_mode == 0) {
               ticc_mode = 'I';
               user_set_ticc_mode = 13;
               have_ticc_mode = 13;
            }
         }
         else if(strchr(cfg_buf, ',')) ticc_type = HP_TICC;
         else if(strchr(cfg_buf, ':')) ticc_type = HP_TICC;
         else                          ticc_type = COUNTER_TICC;  // generic counter
      }
      have_info |= ALL_ID_INFO;

      if(user_set_ticc_mode == 0) {
         ticc_mode = DEFAULT_TICC_MODE;
      }
//sprintf(debug_text, "cfg_buf [%s]", cfg_buf);
      break;
   }
}

      if(strstr(cfg_buf, "TYPE ANY")) break;  // end of the menu

      s = strchr(cfg_buf, ':');
      if(s) {
         ++s;   // eat the ':'
         if(*s == ' ') ++s;  // eat the ' '
      }

      if(s) {
         if(strstr(cfg_buf, "CAL")) {   // aaaacccc
            ticc_cal = (int) atof(s);
            have_ticc_cal |= 0x01;
            flag = 10;
         }
         else if(strstr(cfg_buf, "COARSE")) {
            ticc_coarse = atof(s);
            have_ticc_coarse |= 0x01;
            flag = 11;
         }
         else if(strstr(cfg_buf, "DILATION")) {   // aaaacccc
            dilat_a = (int) atof(s);
            have_ticc_dilat |= 0x01;
            flag = 12;
            s = strchr(s, ',');
            if(s) {
               ++s;
               if(s[0]) {
                  dilat_b = (int) atof(s+1);
                  have_ticc_dilat |= 0x02;
               }
            }
//sprintf(debug_text3, "dilat %d %d  have:%02X", dilat_a,dilat_b, have_ticc_dilat);
         }
         else if(strstr(cfg_buf, "EDGE")) {   // aaaacccc
            if(s[0]) {
               edge_a = s[0];
               flag = 13;
               have_ticc_edges |= 0x01;
            }
            s = strchr(s, ',');
            if(s) {
               ++s;
               if(s[0] && s[1]) {
                  edge_b = s[1];
                  have_ticc_edges |= 0x02;
                  flag = 14;
               }
            }
//sprintf(debug_text2, "edge %c %c  have:%02X", edge_a,edge_b, have_ticc_edges);
         }
         else if(strstr(cfg_buf, "EEPROM")) {
            ticc_eeprom = (int) atof(s);
            have_ticc_eeprom = 1;
            flag = 15;
            s = strchr(s, ':');
            if(s) {
               if(s[2]) {
                  s[6] = 0;
                  strcpy(ticc_board, &s[2]);
                  have_ticc_board = 1;
               }
            }
            have_info |= ALL_ID_INFO;
//sprintf(debug_text2, "ticc ee:%d  board:%s", ticc_eeprom,ticc_board);
         }
         else if(strstr(cfg_buf, "FUDGE")) {   // aaaacccc
            fudge_a = atof(s);
            have_ticc_fudge |= 0x01;
            flag = 16;
            s = strchr(s, ',');
            if(s) {
               ++s;
               if(s[0]) {
                  fudge_b = (int) atof(s+1);
                  have_ticc_fudge |= 0x02;
               }
            }
//sprintf(debug_text, "fudge %g %g  have:%02X", fudge_a,fudge_b, have_ticc_fudge);
         }
         else if(strstr(cfg_buf, "MEASUREMENT")) {  // aaaacccc - user_set_ticc_mode
            if(user_set_ticc_mode == 0) {
               if     (strstr(s, "TIMESTAMP")) ticc_mode = 'T';
               else if(strstr(s, "TIMELAB"))   ticc_mode = 'L';
               else if(strstr(s, "INTERVAL"))  ticc_mode = 'I';
               else if(strstr(s, "PERIOD"))    ticc_mode = 'P';
               else if(strstr(s, "DEBUG"))     ticc_mode = 'D';
               have_ticc_mode = 1;
            }
            flag = 17;
         }
         else if(strstr(cfg_buf, "SERIAL")) {
            s[8] = 0;
            sprintf(ticc_sn, "%s", s);
            flag = 18;
            have_info |= ALL_ID_INFO;
         }
         else if(strstr(cfg_buf, "SOFTWARE")) {
            s[12] = 0;
            sprintf(ticc_fw, "%s", s);
            flag = 19;
            have_info |= ALL_ID_INFO;
         }
         else if(strstr(cfg_buf, "SPEED")) {
            ticc_speed = atof(s);
            have_ticc_speed |= 0x01;
            flag = 20;
         }
         else if(strstr(cfg_buf, "SYNCMODE")) {
            if(s[0]) {
               ticc_syncmode = s[0];
               have_ticc_syncmode |= 0x01;
            }
            flag = 21;
         }
         else if(strstr(cfg_buf, "TIMEOUT")) {
            if(s[0]) {
               ticc_timeout = atohex(s);
               have_ticc_timeout |= 0x01;
            }
            flag = 22;
         }
         else if(strstr(cfg_buf, "TIME2")) {   // aaaacccc
            time2_a = (int) atof(s);
            have_ticc_time2 |= 0x01;
            flag = 23;
            s = strchr(s, ',');
            if(s) {
               ++s;
               if(s[0]) {
                  time2_b = (int) atof(s+1);
                  have_ticc_time2 |= 0x02;
               }
            }
//sprintf(debug_text3, "time2 %d %d  have:%02X", time2_a,time2_b, have_ticc_time2);
         }
else if(user_set_ticc_mode == 0) {
   if(strstr(cfg_buf, "DEBUG")) {
      ticc_mode = 'D';
      have_ticc_mode = 1;
      flag = 51;
   }
   else if(strstr(cfg_buf, "INTERVAL")) {
      ticc_mode = 'I';
      have_ticc_mode = 1;
      flag = 51;
   }
   else if(strstr(cfg_buf, "PERIOD")) {
      ticc_mode = 'P';
      have_ticc_mode = 1;
      flag = 51;
   }
   else if(strstr(cfg_buf, "TIMESTAMP")) {
      ticc_mode = 'T';
      have_ticc_mode = 1;
      flag = 50;
   }
}
      }
   }
}

// Assembly:
cmpl $0x12, %edi
ja 0x9d972
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %edi, %ebx
xorl %r13d, %r13d
leaq 0x2bf11e(%rip), %r14    # 0x35c260
movl %ebx, %edi
callq 0x9cee4
testl %eax, %eax
jne 0x9d964
movq %r14, %rdi
callq 0x988f
leaq 0x18b260(%rip), %rax    # 0x2283c0
cmpq $0x0, (%rax)
je 0x9d16e
movl %r13d, %r12d
jmp 0x9d252
movq %r14, %rdi
leaq 0x6d627(%rip), %rsi     # 0x10a79f
callq 0x9090
pushq $0x1
popq %r12
testq %rax, %rax
jne 0x9d252
movq %r14, %rdi
leaq 0x7314f(%rip), %rsi     # 0x1102e3
callq 0x9090
pushq $0x2
popq %r12
testq %rax, %rax
jne 0x9d252
movq %r14, %rdi
leaq 0x7a60b(%rip), %rsi     # 0x1177bb
callq 0x9090
pushq $0x3
popq %r12
testq %rax, %rax
jne 0x9d252
movq %r14, %rdi
leaq 0x7311c(%rip), %rsi     # 0x1102e8
callq 0x9090
pushq $0x4
popq %r12
testq %rax, %rax
jne 0x9d252
movq %r14, %rdi
leaq 0x73112(%rip), %rsi     # 0x1102f6
callq 0x9090
testq %rax, %rax
jne 0x9d252
movq %r14, %rdi
leaq 0x73103(%rip), %rsi     # 0x1102fb
callq 0x9090
pushq $0x5
popq %r12
testq %rax, %rax
jne 0x9d252
movq %r14, %rdi
leaq 0x730f0(%rip), %rsi     # 0x110300
callq 0x9090
pushq $0x6
popq %r12
testq %rax, %rax
jne 0x9d252
movq %r14, %rdi
leaq 0x730dd(%rip), %rsi     # 0x110305
callq 0x9090
pushq $0x7
popq %r12
testq %rax, %rax
jne 0x9d252
movq %r14, %rdi
leaq 0x730ca(%rip), %rsi     # 0x11030a
callq 0x9090
pushq $0x8
popq %r12
testq %rax, %rax
je 0x9d6a7
cmpb $0x0, 0x2bf007(%rip)    # 0x35c260
je 0x9d270
testl %r12d, %r12d
jne 0x9d270
movq %r14, %rdi
callq 0x756f2
testl %eax, %eax
jne 0x9d89a
movq %r14, %rdi
leaq 0x730a4(%rip), %rsi     # 0x11031e
callq 0x9090
testq %rax, %rax
jne 0x9d964
movq %r14, %rdi
pushq $0x3a
popq %rsi
callq 0x9100
movl %r12d, %r13d
testq %rax, %rax
je 0x9d142
leaq 0x1(%rax), %rcx
movq %rax, %r15
addq $0x2, %r15
cmpb $0x20, 0x1(%rax)
cmovneq %rcx, %r15
movq %r14, %rdi
leaq 0x7fd9d(%rip), %rsi     # 0x11d059
callq 0x9090
testq %rax, %rax
je 0x9d2ee
movq %r15, %rdi
callq 0x9470
cvttsd2si %xmm0, %eax
leaq 0x259a47(%rip), %rcx    # 0x2f6d20
movl %eax, (%rcx)
leaq 0x259a42(%rip), %rax    # 0x2f6d24
orb $0x1, (%rax)
pushq $0xa
popq %r13
jmp 0x9d142
movq %r14, %rdi
leaq 0x7302f(%rip), %rsi     # 0x110327
callq 0x9090
testq %rax, %rax
je 0x9d328
movq %r15, %rdi
callq 0x9470
leaq 0x259a2f(%rip), %rax    # 0x2f6d40
movsd %xmm0, (%rax)
leaq 0x259a2c(%rip), %rax    # 0x2f6d48
orb $0x1, (%rax)
pushq $0xb
popq %r13
jmp 0x9d142
movq %r14, %rdi
leaq 0x72ffc(%rip), %rsi     # 0x11032e
callq 0x9090
testq %rax, %rax
je 0x9d3b1
movq %r15, %rdi
callq 0x9470
cvttsd2si %xmm0, %eax
leaq 0x259a4d(%rip), %rcx    # 0x2f6d9c
movl %eax, (%rcx)
leaq 0x259a54(%rip), %rcx    # 0x2f6dac
movl (%rcx), %r12d
movl %r12d, %eax
orl $0x1, %eax
movl %eax, (%rcx)
movq %r15, %rdi
pushq $0x2c
popq %rsi
callq 0x9100
pushq $0xc
popq %r13
testq %rax, %rax
je 0x9d142
cmpb $0x0, 0x1(%rax)
je 0x9d142
addq $0x2, %rax
movq %rax, %rdi
callq 0x9470
cvttsd2si %xmm0, %eax
leaq 0x259a04(%rip), %rcx    # 0x2f6da0
movl %eax, (%rcx)
orl $0x3, %r12d
leaq 0x259a03(%rip), %rax    # 0x2f6dac
movl %r12d, (%rax)
jmp 0x9d142
movq %r14, %rdi
leaq 0x72f7c(%rip), %rsi     # 0x110337
callq 0x9090
testq %rax, %rax
je 0x9d42d
movsbl (%r15), %eax
movl %r12d, %r13d
testl %eax, %eax
je 0x9d3e7
leaq 0x25999d(%rip), %rcx    # 0x2f6d74
movl %eax, (%rcx)
leaq 0x2599a4(%rip), %rax    # 0x2f6d84
orb $0x1, (%rax)
pushq $0xd
popq %r13
movq %r15, %rdi
pushq $0x2c
popq %rsi
callq 0x9100
testq %rax, %rax
je 0x9d142
cmpb $0x0, 0x1(%rax)
je 0x9d142
movsbl 0x2(%rax), %eax
testl %eax, %eax
je 0x9d142
leaq 0x259960(%rip), %rcx    # 0x2f6d78
movl %eax, (%rcx)
leaq 0x259963(%rip), %rax    # 0x2f6d84
orb $0x2, (%rax)
pushq $0xe
popq %r13
jmp 0x9d142
movq %r14, %rdi
leaq 0x5a997(%rip), %rsi     # 0xf7dce
callq 0x9090
testq %rax, %rax
je 0x9d4b0
movq %r15, %rdi
callq 0x9470
cvttsd2si %xmm0, %eax
leaq 0x2598ac(%rip), %rcx    # 0x2f6d00
movl %eax, (%rcx)
leaq 0x2598a7(%rip), %rax    # 0x2f6d04
movl $0x1, (%rax)
movq %r15, %rdi
pushq $0x3a
popq %rsi
callq 0x9100
testq %rax, %rax
je 0x9d49d
cmpb $0x0, 0x2(%rax)
je 0x9d49d
movq %rax, %rsi
addq $0x2, %rsi
movb $0x0, 0x6(%rax)
leaq 0x259855(%rip), %rdi    # 0x2f6ce0
callq 0x9330
leaq 0x259871(%rip), %rax    # 0x2f6d08
movl $0x1, (%rax)
leaq 0x25a4d0(%rip), %rax    # 0x2f7974
orb $0xf, (%rax)
pushq $0xf
popq %r13
jmp 0x9d142
movq %r14, %rdi
leaq 0x72e82(%rip), %rsi     # 0x11033c
callq 0x9090
testq %rax, %rax
je 0x9d53d
movq %r15, %rdi
callq 0x9470
leaq 0x25987d(%rip), %rax    # 0x2f6d50
movsd %xmm0, (%rax)
leaq 0x259892(%rip), %rcx    # 0x2f6d70
movl (%rcx), %r12d
movl %r12d, %eax
orl $0x1, %eax
movl %eax, (%rcx)
movq %r15, %rdi
pushq $0x2c
popq %rsi
callq 0x9100
pushq $0x10
popq %r13
testq %rax, %rax
je 0x9d142
cmpb $0x0, 0x1(%rax)
je 0x9d142
addq $0x2, %rax
movq %rax, %rdi
callq 0x9470
cvttpd2dq %xmm0, %xmm0
cvtdq2pd %xmm0, %xmm0
leaq 0x259832(%rip), %rax    # 0x2f6d58
movlpd %xmm0, (%rax)
orl $0x3, %r12d
leaq 0x25983b(%rip), %rax    # 0x2f6d70
movl %r12d, (%rax)
jmp 0x9d142
movq %r14, %rdi
leaq 0x72dfb(%rip), %rsi     # 0x110342
callq 0x9090
testq %rax, %rax
je 0x9d5f7
leaq 0x2597b8(%rip), %rax    # 0x2f6d14
cmpl $0x0, (%rax)
pushq $0x11
popq %r13
jne 0x9d142
movq %r15, %rdi
leaq 0x72ddb(%rip), %rsi     # 0x11034e
callq 0x9090
pushq $0x54
popq %rcx
testq %rax, %rax
jne 0x9d5dc
movq %r15, %rdi
leaq 0x72dce(%rip), %rsi     # 0x110358
callq 0x9090
pushq $0x4c
popq %rcx
testq %rax, %rax
jne 0x9d5dc
movq %r15, %rdi
leaq 0x7fa2b(%rip), %rsi     # 0x11cfcc
callq 0x9090
pushq $0x49
popq %rcx
testq %rax, %rax
jne 0x9d5dc
movq %r15, %rdi
leaq 0x7fa1e(%rip), %rsi     # 0x11cfd6
callq 0x9090
pushq $0x50
popq %rcx
testq %rax, %rax
jne 0x9d5dc
movq %r15, %rdi
leaq 0x72d91(%rip), %rsi     # 0x110360
callq 0x9090
pushq $0x44
popq %rcx
testq %rax, %rax
je 0x9d5e5
leaq 0x259729(%rip), %rax    # 0x2f6d0c
movl %ecx, (%rax)
leaq 0x259724(%rip), %rax    # 0x2f6d10
movl $0x1, (%rax)
jmp 0x9d142
movq %r14, %rdi
leaq 0x62759(%rip), %rsi     # 0xffd5a
callq 0x9090
testq %rax, %rax
je 0x9d632
movb $0x0, 0x8(%r15)
leaq 0x2596a9(%rip), %rdi    # 0x2f6cc0
movq %r15, %rsi
callq 0x9330
leaq 0x25a34e(%rip), %rax    # 0x2f7974
orb $0xf, (%rax)
pushq $0x12
popq %r13
jmp 0x9d142
movq %r14, %rdi
leaq 0x72d2a(%rip), %rsi     # 0x110366
callq 0x9090
testq %rax, %rax
je 0x9d66d
movb $0x0, 0xc(%r15)
leaq 0x25964e(%rip), %rdi    # 0x2f6ca0
movq %r15, %rsi
callq 0x9330
leaq 0x25a313(%rip), %rax    # 0x2f7974
orb $0xf, (%rax)
pushq $0x13
popq %r13
jmp 0x9d142
movq %r14, %rdi
leaq 0x70f61(%rip), %rsi     # 0x10e5d8
callq 0x9090
testq %rax, %rax
je 0x9d6c5
movq %r15, %rdi
callq 0x9470
leaq 0x2596a0(%rip), %rax    # 0x2f6d30
movsd %xmm0, (%rax)
leaq 0x25969d(%rip), %rax    # 0x2f6d38
orb $0x1, (%rax)
pushq $0x14
popq %r13
jmp 0x9d142
movq %r14, %rdi
leaq 0x72c63(%rip), %rsi     # 0x110314
callq 0x9090
testq %rax, %rax
pushq $0x9
popq %rax
cmovnel %eax, %r13d
jmp 0x9d166
movq %r14, %rdi
leaq 0x72ca0(%rip), %rsi     # 0x11036f
callq 0x9090
testq %rax, %rax
je 0x9d701
movsbl (%r15), %eax
pushq $0x15
popq %r13
testl %eax, %eax
je 0x9d142
leaq 0x259628(%rip), %rcx    # 0x2f6d18
movl %eax, (%rcx)
leaq 0x259623(%rip), %rax    # 0x2f6d1c
orb $0x1, (%rax)
jmp 0x9d142
movq %r14, %rdi
leaq 0x72c6d(%rip), %rsi     # 0x110378
callq 0x9090
testq %rax, %rax
je 0x9d743
cmpb $0x0, (%r15)
pushq $0x16
popq %r13
je 0x9d142
movq %r15, %rdi
callq 0x98b2
leaq 0x2595f6(%rip), %rcx    # 0x2f6d28
movl %eax, (%rcx)
leaq 0x2595f1(%rip), %rax    # 0x2f6d2c
orb $0x1, (%rax)
jmp 0x9d142
movq %r14, %rdi
leaq 0x72c33(%rip), %rsi     # 0x110380
callq 0x9090
testq %rax, %rax
je 0x9d7cc
movq %r15, %rdi
callq 0x9470
cvttsd2si %xmm0, %eax
leaq 0x25961e(%rip), %rcx    # 0x2f6d88
movl %eax, (%rcx)
leaq 0x259625(%rip), %rcx    # 0x2f6d98
movl (%rcx), %r12d
movl %r12d, %eax
orl $0x1, %eax
movl %eax, (%rcx)
movq %r15, %rdi
pushq $0x2c
popq %rsi
callq 0x9100
pushq $0x17
popq %r13
testq %rax, %rax
je 0x9d142
cmpb $0x0, 0x1(%rax)
je 0x9d142
addq $0x2, %rax
movq %rax, %rdi
callq 0x9470
cvttsd2si %xmm0, %eax
leaq 0x2595d5(%rip), %rcx    # 0x2f6d8c
movl %eax, (%rcx)
orl $0x3, %r12d
leaq 0x2595d4(%rip), %rax    # 0x2f6d98
movl %r12d, (%rax)
jmp 0x9d142
leaq 0x259541(%rip), %rax    # 0x2f6d14
cmpl $0x0, (%rax)
movl %r12d, %r13d
jne 0x9d142
movq %r14, %rdi
leaq 0x72b77(%rip), %rsi     # 0x110360
callq 0x9090
testq %rax, %rax
je 0x9d802
leaq 0x259512(%rip), %rax    # 0x2f6d0c
movl $0x44, (%rax)
jmp 0x9d846
movq %r14, %rdi
leaq 0x7f7c0(%rip), %rsi     # 0x11cfcc
callq 0x9090
testq %rax, %rax
je 0x9d825
leaq 0x2594ef(%rip), %rax    # 0x2f6d0c
movl $0x49, (%rax)
jmp 0x9d846
movq %r14, %rdi
leaq 0x7f7a7(%rip), %rsi     # 0x11cfd6
callq 0x9090
testq %rax, %rax
je 0x9d85c
leaq 0x2594cc(%rip), %rax    # 0x2f6d0c
movl $0x50, (%rax)
leaq 0x2594c3(%rip), %rax    # 0x2f6d10
movl $0x1, (%rax)
pushq $0x33
popq %r13
jmp 0x9d142
movq %r14, %rdi
leaq 0x72ae8(%rip), %rsi     # 0x11034e
callq 0x9090
movl %r12d, %r13d
testq %rax, %rax
je 0x9d142
leaq 0x25948e(%rip), %rax    # 0x2f6d0c
movl $0x54, (%rax)
leaq 0x259485(%rip), %rax    # 0x2f6d10
movl $0x1, (%rax)
pushq $0x32
popq %r13
jmp 0x9d142
leaq 0x16506b(%rip), %rbx    # 0x20290c
cmpl $0x0, (%rbx)
je 0x9d8d2
leaq 0x25a0c7(%rip), %rax    # 0x2f7974
orb $0xf, (%rax)
leaq 0x25945d(%rip), %rax    # 0x2f6d14
cmpl $0x0, (%rax)
jne 0x9d964
leaq 0x259445(%rip), %rax    # 0x2f6d0c
movl $0x49, (%rax)
jmp 0x9d964
leaq 0x2be987(%rip), %rdi    # 0x35c260
xorl %esi, %esi
xorl %edx, %edx
callq 0x9cfa2
testl %eax, %eax
je 0x9d90c
leaq 0x16501b(%rip), %rax    # 0x202908
movl $0x50, (%rax)
movl $0x3, (%rbx)
leaq 0x259414(%rip), %rdx    # 0x2f6d14
cmpl $0x0, (%rdx)
jne 0x9d95a
pushq $0x3
popq %rax
pushq $0x54
jmp 0x9d945
leaq 0x2be94d(%rip), %rdi    # 0x35c260
callq 0x9d054
testl %eax, %eax
je 0x9d973
leaq 0x164fe5(%rip), %rax    # 0x202908
movl $0x4c, (%rax)
movl $0xd, (%rbx)
callq 0x43cec
leaq 0x2593d9(%rip), %rdx    # 0x2f6d14
cmpl $0x0, (%rdx)
jne 0x9d95a
pushq $0xd
popq %rax
pushq $0x49
popq %rcx
leaq 0x2593bf(%rip), %rsi    # 0x2f6d0c
movl %ecx, (%rsi)
movl %eax, (%rdx)
leaq 0x2593b8(%rip), %rcx    # 0x2f6d10
movl %eax, (%rcx)
leaq 0x25a013(%rip), %rax    # 0x2f7974
orb $0xf, (%rax)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x2be8e6(%rip), %rdi    # 0x35c260
pushq $0x2c
popq %rsi
callq 0x9100
testq %rax, %rax
je 0x9d98c
pushq $0x48
popq %rcx
jmp 0x9d9a4
leaq 0x2be8cd(%rip), %rdi    # 0x35c260
pushq $0x3a
popq %rsi
callq 0x9100
xorl %ecx, %ecx
cmpq $0x1, %rax
adcl $0x48, %ecx
leaq 0x164f5d(%rip), %rax    # 0x202908
movl %ecx, (%rax)
jmp 0x9d8a6