// File: 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:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movl %edi, -0x4(%rbp)
cmpl $0x13, -0x4(%rbp)
jb 0xeae06
jmp 0xeb9cd
movl $0x0, -0x8(%rbp)
movl $0x0, -0xc(%rbp)
movl -0x4(%rbp), %edi
callq 0xea9e0
cmpl $0x0, %eax
je 0xeae26
jmp 0xeb9cd
leaq 0x2e6653(%rip), %rdi    # 0x3d1480
callq 0x9890
leaq 0x1b2767(%rip), %rax    # 0x29d5a0
cmpq $0x0, (%rax)
je 0xeae44
jmp 0xeafbc
leaq 0x2e6635(%rip), %rdi    # 0x3d1480
leaq 0x98c85(%rip), %rsi     # 0x183ad7
callq 0x9090
cmpq $0x0, %rax
je 0xeae69
movl $0x1, -0xc(%rbp)
jmp 0xeafba
leaq 0x2e6610(%rip), %rdi    # 0x3d1480
leaq 0x9e8a6(%rip), %rsi     # 0x18971d
callq 0x9090
cmpq $0x0, %rax
je 0xeae8e
movl $0x2, -0xc(%rbp)
jmp 0xeafb8
leaq 0x2e65eb(%rip), %rdi    # 0x3d1480
leaq 0xa54fb(%rip), %rsi     # 0x190397
callq 0x9090
cmpq $0x0, %rax
je 0xeaeb3
movl $0x3, -0xc(%rbp)
jmp 0xeafb6
leaq 0x2e65c6(%rip), %rdi    # 0x3d1480
leaq 0x9e861(%rip), %rsi     # 0x189722
callq 0x9090
cmpq $0x0, %rax
je 0xeaed8
movl $0x4, -0xc(%rbp)
jmp 0xeafb4
leaq 0x2e65a1(%rip), %rdi    # 0x3d1480
leaq 0x9e84a(%rip), %rsi     # 0x189730
callq 0x9090
cmpq $0x0, %rax
je 0xeaefd
movl $0x4, -0xc(%rbp)
jmp 0xeafb2
leaq 0x2e657c(%rip), %rdi    # 0x3d1480
leaq 0x9e82a(%rip), %rsi     # 0x189735
callq 0x9090
cmpq $0x0, %rax
je 0xeaf22
movl $0x5, -0xc(%rbp)
jmp 0xeafb0
leaq 0x2e6557(%rip), %rdi    # 0x3d1480
leaq 0x9e80a(%rip), %rsi     # 0x18973a
callq 0x9090
cmpq $0x0, %rax
je 0xeaf44
movl $0x6, -0xc(%rbp)
jmp 0xeafae
leaq 0x2e6535(%rip), %rdi    # 0x3d1480
leaq 0x9e7ed(%rip), %rsi     # 0x18973f
callq 0x9090
cmpq $0x0, %rax
je 0xeaf66
movl $0x7, -0xc(%rbp)
jmp 0xeafac
leaq 0x2e6513(%rip), %rdi    # 0x3d1480
leaq 0x9e7d0(%rip), %rsi     # 0x189744
callq 0x9090
cmpq $0x0, %rax
je 0xeaf88
movl $0x8, -0xc(%rbp)
jmp 0xeafaa
leaq 0x2e64f1(%rip), %rdi    # 0x3d1480
leaq 0x9e7b8(%rip), %rsi     # 0x18974e
callq 0x9090
cmpq $0x0, %rax
je 0xeafa8
movl $0x9, -0xc(%rbp)
jmp 0xeafaa
jmp 0xeafac
jmp 0xeafae
jmp 0xeafb0
jmp 0xeafb2
jmp 0xeafb4
jmp 0xeafb6
jmp 0xeafb8
jmp 0xeafba
jmp 0xeafbc
cmpb $0x0, 0x2e64bd(%rip)    # 0x3d1480
je 0xeb15a
cmpl $0x0, -0xc(%rbp)
jne 0xeb15a
leaq 0x2e64a6(%rip), %rdi    # 0x3d1480
callq 0xb0a70
cmpl $0x0, %eax
je 0xeb158
leaq 0x18cafd(%rip), %rax    # 0x277aec
cmpl $0x0, (%rax)
jne 0xeb125
leaq 0x2e6481(%rip), %rdi    # 0x3d1480
xorl %edx, %edx
movl %edx, %esi
callq 0xeab30
cmpl $0x0, %eax
je 0xeb05f
leaq 0x18cad4(%rip), %rax    # 0x277ae8
movl $0x50, (%rax)
leaq 0x18cacb(%rip), %rax    # 0x277aec
movl $0x3, (%rax)
leaq 0x280ec6(%rip), %rax    # 0x36bef4
cmpl $0x0, (%rax)
jne 0xeb05a
leaq 0x280eb2(%rip), %rax    # 0x36beec
movl $0x54, (%rax)
leaq 0x280ead(%rip), %rax    # 0x36bef4
movl $0x3, (%rax)
leaq 0x280e9c(%rip), %rax    # 0x36bef0
movl $0x3, (%rax)
jmp 0xeb123
leaq 0x2e641a(%rip), %rdi    # 0x3d1480
callq 0xeacf0
cmpl $0x0, %eax
je 0xeb0c4
leaq 0x18ca71(%rip), %rax    # 0x277ae8
movl $0x4c, (%rax)
leaq 0x18ca68(%rip), %rax    # 0x277aec
movl $0xd, (%rax)
callq 0x64540
leaq 0x280e5e(%rip), %rax    # 0x36bef4
cmpl $0x0, (%rax)
jne 0xeb0c2
leaq 0x280e4a(%rip), %rax    # 0x36beec
movl $0x49, (%rax)
leaq 0x280e45(%rip), %rax    # 0x36bef4
movl $0xd, (%rax)
leaq 0x280e34(%rip), %rax    # 0x36bef0
movl $0xd, (%rax)
jmp 0xeb121
leaq 0x2e63b5(%rip), %rdi    # 0x3d1480
movl $0x2c, %esi
callq 0x9100
cmpq $0x0, %rax
je 0xeb0ea
leaq 0x18ca06(%rip), %rax    # 0x277ae8
movl $0x48, (%rax)
jmp 0xeb11f
leaq 0x2e638f(%rip), %rdi    # 0x3d1480
movl $0x3a, %esi
callq 0x9100
cmpq $0x0, %rax
je 0xeb110
leaq 0x18c9e0(%rip), %rax    # 0x277ae8
movl $0x48, (%rax)
jmp 0xeb11d
leaq 0x18c9d1(%rip), %rax    # 0x277ae8
movl $0x49, (%rax)
jmp 0xeb11f
jmp 0xeb121
jmp 0xeb123
jmp 0xeb125
leaq 0x281a28(%rip), %rax    # 0x36cb54
movl (%rax), %ecx
orl $0xf, %ecx
leaq 0x281a1c(%rip), %rax    # 0x36cb54
movl %ecx, (%rax)
leaq 0x280db3(%rip), %rax    # 0x36bef4
cmpl $0x0, (%rax)
jne 0xeb153
leaq 0x280d9f(%rip), %rax    # 0x36beec
movl $0x49, (%rax)
jmp 0xeb9cd
jmp 0xeb15a
leaq 0x2e631f(%rip), %rdi    # 0x3d1480
leaq 0x9e5f0(%rip), %rsi     # 0x189758
callq 0x9090
cmpq $0x0, %rax
je 0xeb178
jmp 0xeb9cd
leaq 0x2e6301(%rip), %rdi    # 0x3d1480
movl $0x3a, %esi
callq 0x9100
movq %rax, -0x18(%rbp)
cmpq $0x0, -0x18(%rbp)
je 0xeb1ba
movq -0x18(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rax
movsbl (%rax), %eax
cmpl $0x20, %eax
jne 0xeb1b8
movq -0x18(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x18(%rbp)
jmp 0xeb1ba
cmpq $0x0, -0x18(%rbp)
je 0xeb9c8
leaq 0x2e62b4(%rip), %rdi    # 0x3d1480
leaq 0xaaace(%rip), %rsi     # 0x195ca1
callq 0x9090
cmpq $0x0, %rax
je 0xeb215
movq -0x18(%rbp), %rdi
callq 0x9480
cvttsd2si %xmm0, %ecx
leaq 0x280d0e(%rip), %rax    # 0x36bf00
movl %ecx, (%rax)
leaq 0x280d09(%rip), %rax    # 0x36bf04
movl (%rax), %ecx
orl $0x1, %ecx
leaq 0x280cfd(%rip), %rax    # 0x36bf04
movl %ecx, (%rax)
movl $0xa, -0xc(%rbp)
jmp 0xeb9c6
leaq 0x2e6264(%rip), %rdi    # 0x3d1480
leaq 0x9e53e(%rip), %rsi     # 0x189761
callq 0x9090
cmpq $0x0, %rax
je 0xeb263
movq -0x18(%rbp), %rdi
callq 0x9480
leaq 0x280ce2(%rip), %rax    # 0x36bf20
movsd %xmm0, (%rax)
leaq 0x280cdf(%rip), %rax    # 0x36bf28
movl (%rax), %ecx
orl $0x1, %ecx
leaq 0x280cd3(%rip), %rax    # 0x36bf28
movl %ecx, (%rax)
movl $0xb, -0xc(%rbp)
jmp 0xeb9c4
leaq 0x2e6216(%rip), %rdi    # 0x3d1480
leaq 0x9e4f7(%rip), %rsi     # 0x189768
callq 0x9090
cmpq $0x0, %rax
je 0xeb316
movq -0x18(%rbp), %rdi
callq 0x9480
cvttsd2si %xmm0, %ecx
leaq 0x280ce8(%rip), %rax    # 0x36bf7c
movl %ecx, (%rax)
leaq 0x280cef(%rip), %rax    # 0x36bf8c
movl (%rax), %ecx
orl $0x1, %ecx
leaq 0x280ce3(%rip), %rax    # 0x36bf8c
movl %ecx, (%rax)
movl $0xc, -0xc(%rbp)
movq -0x18(%rbp), %rdi
movl $0x2c, %esi
callq 0x9100
movq %rax, -0x18(%rbp)
cmpq $0x0, -0x18(%rbp)
je 0xeb311
movq -0x18(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rax
cmpb $0x0, (%rax)
je 0xeb30f
movq -0x18(%rbp), %rdi
addq $0x1, %rdi
callq 0x9480
cvttsd2si %xmm0, %ecx
leaq 0x280c88(%rip), %rax    # 0x36bf80
movl %ecx, (%rax)
leaq 0x280c8b(%rip), %rax    # 0x36bf8c
movl (%rax), %ecx
orl $0x2, %ecx
leaq 0x280c7f(%rip), %rax    # 0x36bf8c
movl %ecx, (%rax)
jmp 0xeb311
jmp 0xeb9c2
leaq 0x2e6163(%rip), %rdi    # 0x3d1480
leaq 0x9e44d(%rip), %rsi     # 0x189771
callq 0x9090
cmpq $0x0, %rax
je 0xeb3d4
movq -0x18(%rbp), %rax
cmpb $0x0, (%rax)
je 0xeb368
movq -0x18(%rbp), %rax
movsbl (%rax), %ecx
leaq 0x280c0a(%rip), %rax    # 0x36bf54
movl %ecx, (%rax)
movl $0xd, -0xc(%rbp)
leaq 0x280c0a(%rip), %rax    # 0x36bf64
movl (%rax), %ecx
orl $0x1, %ecx
leaq 0x280bfe(%rip), %rax    # 0x36bf64
movl %ecx, (%rax)
movq -0x18(%rbp), %rdi
movl $0x2c, %esi
callq 0x9100
movq %rax, -0x18(%rbp)
cmpq $0x0, -0x18(%rbp)
je 0xeb3cf
movq -0x18(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rax
cmpb $0x0, (%rax)
je 0xeb3cd
movq -0x18(%rbp), %rax
cmpb $0x0, 0x1(%rax)
je 0xeb3cd
movq -0x18(%rbp), %rax
movsbl 0x1(%rax), %ecx
leaq 0x280ba9(%rip), %rax    # 0x36bf58
movl %ecx, (%rax)
leaq 0x280bac(%rip), %rax    # 0x36bf64
movl (%rax), %ecx
orl $0x2, %ecx
leaq 0x280ba0(%rip), %rax    # 0x36bf64
movl %ecx, (%rax)
movl $0xe, -0xc(%rbp)
jmp 0xeb3cf
jmp 0xeb9c0
leaq 0x2e60a5(%rip), %rdi    # 0x3d1480
leaq 0x872c9(%rip), %rsi     # 0x1726ab
callq 0x9090
cmpq $0x0, %rax
je 0xeb483
movq -0x18(%rbp), %rdi
callq 0x9480
cvttsd2si %xmm0, %ecx
leaq 0x280adb(%rip), %rax    # 0x36bee0
movl %ecx, (%rax)
leaq 0x280ad6(%rip), %rax    # 0x36bee4
movl $0x1, (%rax)
movl $0xf, -0xc(%rbp)
movq -0x18(%rbp), %rdi
movl $0x3a, %esi
callq 0x9100
movq %rax, -0x18(%rbp)
cmpq $0x0, -0x18(%rbp)
je 0xeb469
movq -0x18(%rbp), %rax
cmpb $0x0, 0x2(%rax)
je 0xeb467
movq -0x18(%rbp), %rax
movb $0x0, 0x6(%rax)
movq -0x18(%rbp), %rsi
addq $0x2, %rsi
leaq 0x280a6b(%rip), %rdi    # 0x36bec0
callq 0x9350
leaq 0x280a87(%rip), %rax    # 0x36bee8
movl $0x1, (%rax)
jmp 0xeb469
leaq 0x2816e4(%rip), %rax    # 0x36cb54
movl (%rax), %ecx
orl $0xf, %ecx
leaq 0x2816d8(%rip), %rax    # 0x36cb54
movl %ecx, (%rax)
jmp 0xeb9be
leaq 0x2e5ff6(%rip), %rdi    # 0x3d1480
leaq 0x9e2e5(%rip), %rsi     # 0x189776
callq 0x9090
cmpq $0x0, %rax
je 0xeb53a
movq -0x18(%rbp), %rdi
callq 0x9480
leaq 0x280a80(%rip), %rax    # 0x36bf30
movsd %xmm0, (%rax)
leaq 0x280a95(%rip), %rax    # 0x36bf50
movl (%rax), %ecx
orl $0x1, %ecx
leaq 0x280a89(%rip), %rax    # 0x36bf50
movl %ecx, (%rax)
movl $0x10, -0xc(%rbp)
movq -0x18(%rbp), %rdi
movl $0x2c, %esi
callq 0x9100
movq %rax, -0x18(%rbp)
cmpq $0x0, -0x18(%rbp)
je 0xeb535
movq -0x18(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rax
cmpb $0x0, (%rax)
je 0xeb533
movq -0x18(%rbp), %rdi
addq $0x1, %rdi
callq 0x9480
cvttsd2si %xmm0, %eax
cvtsi2sd %eax, %xmm0
leaq 0x280a1e(%rip), %rax    # 0x36bf38
movsd %xmm0, (%rax)
leaq 0x280a2b(%rip), %rax    # 0x36bf50
movl (%rax), %ecx
orl $0x2, %ecx
leaq 0x280a1f(%rip), %rax    # 0x36bf50
movl %ecx, (%rax)
jmp 0xeb535
jmp 0xeb9bc
leaq 0x2e5f3f(%rip), %rdi    # 0x3d1480
leaq 0x9e234(%rip), %rsi     # 0x18977c
callq 0x9090
cmpq $0x0, %rax
je 0xeb642
leaq 0x280996(%rip), %rax    # 0x36bef4
cmpl $0x0, (%rax)
jne 0xeb636
movq -0x18(%rbp), %rdi
leaq 0x9e216(%rip), %rsi     # 0x189788
callq 0x9090
cmpq $0x0, %rax
je 0xeb58f
leaq 0x280968(%rip), %rax    # 0x36beec
movl $0x54, (%rax)
jmp 0xeb629
movq -0x18(%rbp), %rdi
leaq 0x9e1f8(%rip), %rsi     # 0x189792
callq 0x9090
cmpq $0x0, %rax
je 0xeb5b4
leaq 0x280940(%rip), %rax    # 0x36beec
movl $0x4c, (%rax)
jmp 0xeb627
movq -0x18(%rbp), %rdi
leaq 0xaa651(%rip), %rsi     # 0x195c10
callq 0x9090
cmpq $0x0, %rax
je 0xeb5d9
leaq 0x28091b(%rip), %rax    # 0x36beec
movl $0x49, (%rax)
jmp 0xeb625
movq -0x18(%rbp), %rdi
leaq 0xaa636(%rip), %rsi     # 0x195c1a
callq 0x9090
cmpq $0x0, %rax
je 0xeb5fe
leaq 0x2808f6(%rip), %rax    # 0x36beec
movl $0x50, (%rax)
jmp 0xeb623
movq -0x18(%rbp), %rdi
leaq 0x9e191(%rip), %rsi     # 0x18979a
callq 0x9090
cmpq $0x0, %rax
je 0xeb621
leaq 0x2808d1(%rip), %rax    # 0x36beec
movl $0x44, (%rax)
jmp 0xeb623
jmp 0xeb625
jmp 0xeb627
jmp 0xeb629
leaq 0x2808c0(%rip), %rax    # 0x36bef0
movl $0x1, (%rax)
movl $0x11, -0xc(%rbp)
jmp 0xeb9ba
leaq 0x2e5e37(%rip), %rdi    # 0x3d1480
leaq 0x8f037(%rip), %rsi     # 0x17a687
callq 0x9090
cmpq $0x0, %rax
je 0xeb69d
movq -0x18(%rbp), %rax
movb $0x0, 0x8(%rax)
movq -0x18(%rbp), %rdx
leaq 0x280832(%rip), %rdi    # 0x36bea0
leaq 0xa54b8(%rip), %rsi     # 0x190b2d
movb $0x0, %al
callq 0x9060
movl $0x12, -0xc(%rbp)
leaq 0x2814ca(%rip), %rax    # 0x36cb54
movl (%rax), %ecx
orl $0xf, %ecx
leaq 0x2814be(%rip), %rax    # 0x36cb54
movl %ecx, (%rax)
jmp 0xeb9b8
leaq 0x2e5ddc(%rip), %rdi    # 0x3d1480
leaq 0x9e0f5(%rip), %rsi     # 0x1897a0
callq 0x9090
cmpq $0x0, %rax
je 0xeb6f8
movq -0x18(%rbp), %rax
movb $0x0, 0xc(%rax)
movq -0x18(%rbp), %rdx
leaq 0x2807b7(%rip), %rdi    # 0x36be80
leaq 0xa545d(%rip), %rsi     # 0x190b2d
movb $0x0, %al
callq 0x9060
movl $0x13, -0xc(%rbp)
leaq 0x28146f(%rip), %rax    # 0x36cb54
movl (%rax), %ecx
orl $0xf, %ecx
leaq 0x281463(%rip), %rax    # 0x36cb54
movl %ecx, (%rax)
jmp 0xeb9b6
leaq 0x2e5d81(%rip), %rdi    # 0x3d1480
leaq 0x9c276(%rip), %rsi     # 0x18797c
callq 0x9090
cmpq $0x0, %rax
je 0xeb746
movq -0x18(%rbp), %rdi
callq 0x9480
leaq 0x2807ef(%rip), %rax    # 0x36bf10
movsd %xmm0, (%rax)
leaq 0x2807ec(%rip), %rax    # 0x36bf18
movl (%rax), %ecx
orl $0x1, %ecx
leaq 0x2807e0(%rip), %rax    # 0x36bf18
movl %ecx, (%rax)
movl $0x14, -0xc(%rbp)
jmp 0xeb9b4
leaq 0x2e5d33(%rip), %rdi    # 0x3d1480
leaq 0x9e055(%rip), %rsi     # 0x1897a9
callq 0x9090
cmpq $0x0, %rax
je 0xeb799
movq -0x18(%rbp), %rax
cmpb $0x0, (%rax)
je 0xeb78d
movq -0x18(%rbp), %rax
movsbl (%rax), %ecx
leaq 0x280782(%rip), %rax    # 0x36bef8
movl %ecx, (%rax)
leaq 0x28077d(%rip), %rax    # 0x36befc
movl (%rax), %ecx
orl $0x1, %ecx
leaq 0x280771(%rip), %rax    # 0x36befc
movl %ecx, (%rax)
movl $0x15, -0xc(%rbp)
jmp 0xeb9b2
leaq 0x2e5ce0(%rip), %rdi    # 0x3d1480
leaq 0x9e00b(%rip), %rsi     # 0x1897b2
callq 0x9090
cmpq $0x0, %rax
je 0xeb7f0
movq -0x18(%rbp), %rax
cmpb $0x0, (%rax)
je 0xeb7e4
movq -0x18(%rbp), %rdi
callq 0x98d0
movl %eax, %ecx
leaq 0x28073b(%rip), %rax    # 0x36bf08
movl %ecx, (%rax)
leaq 0x280736(%rip), %rax    # 0x36bf0c
movl (%rax), %ecx
orl $0x1, %ecx
leaq 0x28072a(%rip), %rax    # 0x36bf0c
movl %ecx, (%rax)
movl $0x16, -0xc(%rbp)
jmp 0xeb9b0
leaq 0x2e5c89(%rip), %rdi    # 0x3d1480
leaq 0x9dfbc(%rip), %rsi     # 0x1897ba
callq 0x9090
cmpq $0x0, %rax
je 0xeb8a3
movq -0x18(%rbp), %rdi
callq 0x9480
cvttsd2si %xmm0, %ecx
leaq 0x280747(%rip), %rax    # 0x36bf68
movl %ecx, (%rax)
leaq 0x28074e(%rip), %rax    # 0x36bf78
movl (%rax), %ecx
orl $0x1, %ecx
leaq 0x280742(%rip), %rax    # 0x36bf78
movl %ecx, (%rax)
movl $0x17, -0xc(%rbp)
movq -0x18(%rbp), %rdi
movl $0x2c, %esi
callq 0x9100
movq %rax, -0x18(%rbp)
cmpq $0x0, -0x18(%rbp)
je 0xeb89e
movq -0x18(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rax
cmpb $0x0, (%rax)
je 0xeb89c
movq -0x18(%rbp), %rdi
addq $0x1, %rdi
callq 0x9480
cvttsd2si %xmm0, %ecx
leaq 0x2806e7(%rip), %rax    # 0x36bf6c
movl %ecx, (%rax)
leaq 0x2806ea(%rip), %rax    # 0x36bf78
movl (%rax), %ecx
orl $0x2, %ecx
leaq 0x2806de(%rip), %rax    # 0x36bf78
movl %ecx, (%rax)
jmp 0xeb89e
jmp 0xeb9ae
leaq 0x28064a(%rip), %rax    # 0x36bef4
cmpl $0x0, (%rax)
jne 0xeb9ac
leaq 0x2e5bc6(%rip), %rdi    # 0x3d1480
leaq 0x9ded9(%rip), %rsi     # 0x18979a
callq 0x9090
cmpq $0x0, %rax
je 0xeb8f2
leaq 0x280619(%rip), %rax    # 0x36beec
movl $0x44, (%rax)
leaq 0x280610(%rip), %rax    # 0x36bef0
movl $0x1, (%rax)
movl $0x33, -0xc(%rbp)
jmp 0xeb9aa
leaq 0x2e5b87(%rip), %rdi    # 0x3d1480
leaq 0xaa310(%rip), %rsi     # 0x195c10
callq 0x9090
cmpq $0x0, %rax
je 0xeb92e
leaq 0x2805da(%rip), %rax    # 0x36beec
movl $0x49, (%rax)
leaq 0x2805d1(%rip), %rax    # 0x36bef0
movl $0x1, (%rax)
movl $0x33, -0xc(%rbp)
jmp 0xeb9a8
leaq 0x2e5b4b(%rip), %rdi    # 0x3d1480
leaq 0xaa2de(%rip), %rsi     # 0x195c1a
callq 0x9090
cmpq $0x0, %rax
je 0xeb96a
leaq 0x28059e(%rip), %rax    # 0x36beec
movl $0x50, (%rax)
leaq 0x280595(%rip), %rax    # 0x36bef0
movl $0x1, (%rax)
movl $0x33, -0xc(%rbp)
jmp 0xeb9a6
leaq 0x2e5b0f(%rip), %rdi    # 0x3d1480
leaq 0x9de10(%rip), %rsi     # 0x189788
callq 0x9090
cmpq $0x0, %rax
je 0xeb9a4
leaq 0x280562(%rip), %rax    # 0x36beec
movl $0x54, (%rax)
leaq 0x280559(%rip), %rax    # 0x36bef0
movl $0x1, (%rax)
movl $0x32, -0xc(%rbp)
jmp 0xeb9a6
jmp 0xeb9a8
jmp 0xeb9aa
jmp 0xeb9ac
jmp 0xeb9ae
jmp 0xeb9b0
jmp 0xeb9b2
jmp 0xeb9b4
jmp 0xeb9b6
jmp 0xeb9b8
jmp 0xeb9ba
jmp 0xeb9bc
jmp 0xeb9be
jmp 0xeb9c0
jmp 0xeb9c2
jmp 0xeb9c4
jmp 0xeb9c6
jmp 0xeb9c8
jmp 0xeae14
addq $0x20, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)