// File: /workspace/github_cpp_makefile_star2_O2/jkingan[P]ladyheather/heathmsc.cpp
// Function: show_log_state()
void show_log_state()
{
char *mode;
char c;
int row;
int shown;
int needed;
int avail;
char s[32];
#define MAX_LOG_NAMES 2


   if(text_mode && first_key) return;
   if(zoom_screen) return;

   show_serial_info();

   if(luxor) row = VER_ROW+6;
   else      row = VER_ROW+5;

   shown = 0;
   hide_op_mode = 0;
   avail = (6-4) + 1;
///if(all_adevs && (all_adev_row > row)) avail = all_adev_row - row;

   needed = 0;
   if(log_file) ++needed;
   else if(log_loaded) ++needed;
   else if(log_stream & LOG_HEX_STREAM) ++needed;

   if(raw_file) ++needed;
   if(prn_file) ++needed;
   if(ticc_file) ++needed;
   if(debug_file) ++needed;
if(ticc_port_open()) ++needed;
if(enviro_port_open()) ++needed;

   if(needed > avail) 

   vidstr(row, VER_COL, WHITE, "                       ");
   if(log_file) {
      ++shown;

      if(log_wrap) {
         vidstr(row, VER_COL, WHITE, "Log: on queue wrap");
      }
      else if(log_date || log_time) {
         vidstr(row, VER_COL, WHITE, "Log: timed");
      }
      else {
         if(log_mode[0] == 'a')               strcpy(s, "Cat");
         else if(log_stream & LOG_HEX_STREAM) strcpy(s, "Hex");
         else                                 strcpy(s, "Log");
         if(log_flush_mode) strupr(s);
         mode = &s[0];

         if((int)strlen(log_name) > 16) {
            sprintf(out, "%s:...%s", mode, &log_name[strlen(log_name)-16]);
         }
         else {
            sprintf(out, "%s: %s", mode, log_name);
         }
         vidstr(row, VER_COL, WHITE, out);
      }
      ++row;
   }
   else if(log_stream & LOG_HEX_STREAM) {  // debug packet dump mode
      ++shown;
      if(log_loaded) vidstr(row, VER_COL, WHITE, "Hex: loaded       ");
      else           vidstr(row, VER_COL, WHITE, "Hex: OFF          ");
      ++row;
   }
   else if(log_loaded) {
      ++shown;
      vidstr(row, VER_COL, WHITE, "Log: loaded       ");
      ++row;
   }
   else if(needed <= avail) {
      ++shown;
      vidstr(row, VER_COL, WHITE, "Log: OFF          ");
      ++row;
   }

   // show raw/debug file names
   // We only have room to show two file names.  If more than one is needed, 
   // the name is followed by an '*'
   if(shown >= avail) {
      ++hide_op_mode;
      return;
   }

   vidstr(row, VER_COL, WHITE, "                       ");
   if(rinex_file && rinex_name[0]) {
      strcpy(s, "Rnx");
      if(rinex_flush_mode) strupr(s);
      c = ':';
      ++shown;
      if((shown == avail) && (raw_file || prn_file || debug_file || ticc_file)) c = '+';

      if(strlen(rinex_name) > 16) {
         sprintf(out, "%s%c...%s", s,c, &rinex_name[strlen(rinex_name)-16]);
      }
      else {
         sprintf(out, "%s%c %s", s,c, rinex_name);
      }

      vidstr(row, VER_COL, WHITE, out);
      ++row;
   }
   if(shown >= avail) {
      ++hide_op_mode;
      return;
   }

   vidstr(row, VER_COL, WHITE, "                       ");
   if(ticc_file && ticc_name[0]) {
      mode = "TIC";
      c = ':';
      ++shown;
      if((shown == avail) && (raw_file || prn_file || debug_file)) c = '+';

      if(strlen(ticc_name) > 16) {
         sprintf(out, "%s%c...%s", mode,c, &ticc_name[strlen(ticc_name)-16]);
      }
      else {
         sprintf(out, "%s%c %s", mode,c, ticc_name);
      }

      vidstr(row, VER_COL, WHITE, out);
      ++row;
   }
   if(shown >= avail) {
      ++hide_op_mode;
      return;
   }

   vidstr(row, VER_COL, WHITE, "                       ");
   if(raw_file && raw_name[0]) {
      if(raw_flush_mode) mode = "CAP";
      else               mode = "Cap";
      c = ':';
      ++shown;
      if((shown == avail) && (prn_file || debug_file)) c = '+';

      if(strlen(raw_name) > 16) {
         sprintf(out, "%s%c...%s", mode,c, &raw_name[strlen(raw_name)-16]);
      }
      else {
         sprintf(out, "%s%c %s", mode,c, raw_name);
      }

      vidstr(row, VER_COL, WHITE, out);
      ++row;
   }
   if(shown >= avail) {
      ++hide_op_mode;
      return;
   }

   vidstr(row, VER_COL, WHITE, "                       ");
   if(debug_file && debug_name[0]) {
      if(dbg_flush_mode) mode = "DBG";
      else mode = "Dbg";
      c = ':';
      ++shown;
      if((shown == avail) && (prn_file)) c = '+';

      if((int)strlen(debug_name) > 16) {
         sprintf(out, "%s%c...%s", mode,c, &debug_name[strlen(debug_name)-16]);
      }
      else {
         sprintf(out, "%s%c %s", mode,c, debug_name);
      }

      vidstr(row, VER_COL, WHITE, out);
      ++row;
   }
   if(shown >= avail) {
      ++hide_op_mode;
      return;
   }

   vidstr(row, VER_COL, WHITE, "                       ");
   if(prn_file && prn_name[0]) {
      if(prn_flush_mode) mode = "PRN";
      else mode = "Prn";
      c = ':';
      ++shown;

      if((int)strlen(prn_name) > 16) {
         sprintf(out, "%s%c...%s", mode,c, &prn_name[strlen(prn_name)-16]);
      }
      else {
         sprintf(out, "%s%c %s", mode,c, prn_name);
      }

      vidstr(row, VER_COL, WHITE, out);
      ++row;
   }
   if(shown >= avail) {
      ++hide_op_mode;
      return;
   }

   vidstr(row, VER_COL, WHITE, "                       ");
   if(ticc_port_open()) {  // TICC is an auxiliary input device
      ++shown;

      if(ticc_sim_file && ticc_sim_eof)                 sprintf(out, "TIC: end of sim file  "); // simulation file eof
      else if(ticc_sim_file)                            sprintf(out, "TIC: simulation file  "); // simulation file
      else if(com[TICC_PORT].usb_port == USE_IDEV_NAME) sprintf(out, "TIC: %-17.17s", com[TICC_PORT].com_dev); // user specified device
      else if(com[TICC_PORT].usb_port == USE_DEV_NAME)  sprintf(out, "TIC: %-17.17s", com[TICC_PORT].com_dev); // symlink to /dev/heather
      else if(com[TICC_PORT].usb_port >= 10)            sprintf(out, "TIC: %-2d               ", com[TICC_PORT].usb_port-1);
      else if(com[TICC_PORT].usb_port)                  sprintf(out, "TIC: %-2d               ", com[TICC_PORT].usb_port-1);
#ifdef WINDOWS
      else if(com[TICC_PORT].com_port >= 10) sprintf(out, "TIC: %-2d               ", com[TICC_PORT].com_port);
      else if(com[TICC_PORT].com_port)       sprintf(out, "TIC: %-2d               ", com[TICC_PORT].com_port);
#else   // __linux__  __MACH__  __FreeBSD__
      else if(com[TICC_PORT].com_port >= 10) sprintf(out, "TIC: %-2d               ", com[TICC_PORT].com_port-1);
      else if(com[TICC_PORT].com_port)       sprintf(out, "TIC: %-2d               ", com[TICC_PORT].com_port-1);
#endif
#ifdef TCP_IP 
      else                              sprintf(out," TIC:%-17.17s", com[TICC_PORT].IP_addr); // TCP, no room for sernum
#else
      else                              sprintf(out, "TIC:none              ");
#endif
      if(strlen(out) > 25) strcpy(&out[25-3],"...");   // don't hit 'Power' label
      vidstr(row, VER_COL, WHITE, out);
      ++row;
   }
   if(shown >= avail) {
      ++hide_op_mode;
      return;
   }

   vidstr(row, VER_COL, WHITE, "                       ");
   if(enviro_port_open()) {  // envionmental sensor is an auxiliary input device
      ++shown;

      if(com[THERMO_PORT].usb_port == USE_IDEV_NAME)     sprintf(out, "ENV: %-17.17s", com[THERMO_PORT].com_dev); // user specified device
      else if(com[THERMO_PORT].usb_port == USE_DEV_NAME) sprintf(out, "ENV: %-17.17s", com[THERMO_PORT].com_dev); // symlink to /dev/heather
      else if(com[THERMO_PORT].usb_port >= 10)           sprintf(out, "ENV: %-2d               ", com[THERMO_PORT].usb_port-1);
      else if(com[THERMO_PORT].usb_port)                 sprintf(out, "ENV: %-2d               ", com[THERMO_PORT].usb_port-1);
#ifdef WINDOWS
      else if(com[THERMO_PORT].com_port >= 10) sprintf(out, "ENV: %-2d               ", com[THERMO_PORT].com_port);
      else if(com[THERMO_PORT].com_port)       sprintf(out, "ENV: %-2d               ", com[THERMO_PORT].com_port);
#else   // __linux__  __MACH__  __FreeBSD__
      else if(com[THERMO_PORT].com_port >= 10) sprintf(out, "ENV: %-2d               ", com[THERMO_PORT].com_port-1);
      else if(com[THERMO_PORT].com_port)       sprintf(out, "ENV: %-2d               ", com[THERMO_PORT].com_port-1);
#endif
#ifdef TCP_IP 
      else                              sprintf(out," ENV:%-17.17s", com[TICC_PORT].IP_addr); // TCP, no room for sernum
#else
      else                              sprintf(out, "ENV:none              ");
#endif
      if(strlen(out) > 25) strcpy(&out[25-3],"...");   // don't hit 'Power' label
      vidstr(row, VER_COL, WHITE, out);
      ++row;
   }
   if(shown >= avail) {
      ++hide_op_mode;
      return;
   }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
leaq 0x1517a8(%rip), %rax    # 0x2027d8
cmpl $0x0, (%rax)
sete %al
leaq 0x177f1b(%rip), %rcx    # 0x228f58
cmpl $0x0, (%rcx)
sete %cl
orb %al, %cl
cmpb $0x1, %cl
jne 0xb1886
leaq 0x245753(%rip), %rax    # 0x2f67a8
cmpb $0x0, (%rax)
jne 0xb1886
callq 0xa9e16
leaq 0x177ed4(%rip), %rax    # 0x228f3e
leaq 0x151723(%rip), %rcx    # 0x202794
movl (%rcx), %ebx
cmpb $0x1, (%rax)
sbbl $0x0, %ebx
leaq 0x177ec4(%rip), %rax    # 0x228f44
andl $0x0, (%rax)
addl $0x6, %ebx
leaq 0x1772d3(%rip), %r14    # 0x228360
leaq 0x177366(%rip), %r15    # 0x2283fa
leaq 0x177375(%rip), %rax    # 0x228410
pushq $0x1
popq %r13
movl (%rax), %r12d
andl %r13d, %r12d
cmpb $0x0, (%r15)
cmovnel %r13d, %r12d
cmpq $0x0, (%r14)
cmovnel %r13d, %r12d
leaq 0x1772b4(%rip), %rax    # 0x228370
cmpq $0x1, (%rax)
sbbl $-0x1, %r12d
leaq 0x1772ad(%rip), %rax    # 0x228378
cmpq $0x1, (%rax)
sbbl $-0x1, %r12d
leaq 0x1772ae(%rip), %rax    # 0x228388
cmpq $0x1, (%rax)
sbbl $-0x1, %r12d
leaq 0x1772a7(%rip), %rax    # 0x228390
cmpq $0x1, (%rax)
sbbl $-0x1, %r12d
callq 0x66b41
cmpl $0x1, %eax
sbbl $-0x1, %r12d
callq 0x9b743
cmpl $0x1, %eax
sbbl $-0x1, %r12d
cmpl $0x4, %r12d
jb 0xb1129
leaq 0x151682(%rip), %rax    # 0x202798
movl (%rax), %esi
leaq 0x6c94f(%rip), %rcx     # 0x11da6e
pushq $0xf
popq %rdx
movl %ebx, %edi
callq 0xe2d2
cmpq $0x0, (%r14)
je 0xb1150
leaq 0x246ebd(%rip), %rax    # 0x2f7ff3
cmpb $0x0, (%rax)
je 0xb1178
leaq 0x151656(%rip), %rax    # 0x202798
movl (%rax), %esi
leaq 0x657f7(%rip), %rcx     # 0x116942
jmp 0xb128b
leaq 0x1772b9(%rip), %rax    # 0x228410
testb $0x1, (%rax)
movb (%r15), %al
jne 0xb11a1
testb %al, %al
je 0xb11db
leaq 0x15162e(%rip), %rax    # 0x202798
movl (%rax), %esi
leaq 0x65823(%rip), %rcx     # 0x116996
jmp 0xb128b
leaq 0x246e35(%rip), %rax    # 0x2f7fb4
leaq 0x246e1e(%rip), %rcx    # 0x2f7fa4
movl (%rcx), %ecx
orl (%rax), %ecx
je 0xb11c3
leaq 0x151605(%rip), %rax    # 0x202798
movl (%rax), %esi
leaq 0x657b9(%rip), %rcx     # 0x116955
jmp 0xb128b
testb %al, %al
leaq 0x1515ee(%rip), %rax    # 0x202798
movl (%rax), %esi
leaq 0x657d0(%rip), %rax     # 0x116983
leaq 0x657b6(%rip), %rcx     # 0x116970
cmoveq %rax, %rcx
jmp 0xb128b
leaq 0x17718e(%rip), %rax    # 0x228358
movq (%rax), %rax
cmpb $0x61, (%rax)
jne 0xb11f6
movl $0x746143, -0x50(%rbp)  # imm = 0x746143
jmp 0xb121a
cmpl $0x3, %r12d
ja 0xb120b
leaq 0x1515b0(%rip), %rax    # 0x202798
movl (%rax), %esi
leaq 0x657b8(%rip), %rcx     # 0x1169a9
jmp 0xb128b
leaq 0x177213(%rip), %rax    # 0x228410
testb $0x1, (%rax)
jne 0xb1213
movl $0x676f4c, -0x50(%rbp)  # imm = 0x676F4C
jmp 0xb121a
xorl %r13d, %r13d
jmp 0xb1297
movl $0x786548, -0x50(%rbp)  # imm = 0x786548
leaq 0x1771ff(%rip), %rax    # 0x228420
cmpl $0x0, (%rax)
je 0xb122f
leaq -0x50(%rbp), %rdi
callq 0x988f
leaq 0x175c2a(%rip), %r14    # 0x226e60
movq %r14, %rdi
callq 0x9120
cmpl $0x11, %eax
jl 0xb125b
leaq (%rax,%r14), %rcx
addq $-0x10, %rcx
leaq 0x274fce(%rip), %rdi    # 0x326220
leaq 0x65707(%rip), %rsi     # 0x116960
jmp 0xb1270
leaq 0x274fbe(%rip), %rdi    # 0x326220
leaq 0x65700(%rip), %rsi     # 0x116969
leaq 0x175bf0(%rip), %rcx    # 0x226e60
leaq -0x50(%rbp), %rdx
xorl %eax, %eax
callq 0x9060
leaq 0x151516(%rip), %rax    # 0x202798
movl (%rax), %esi
leaq 0x274f95(%rip), %rcx    # 0x326220
pushq $0xf
popq %rdx
movl %ebx, %edi
callq 0xe2d2
incl %ebx
leaq 0x1514fa(%rip), %r12    # 0x202798
movl (%r12), %esi
leaq 0x6c7c5(%rip), %rcx     # 0x11da6e
pushq $0xf
popq %rdx
movl %ebx, %edi
callq 0xe2d2
leaq 0x1770ae(%rip), %rax    # 0x228368
cmpq $0x0, (%rax)
je 0xb135a
leaq 0x175c95(%rip), %rax    # 0x226f60
cmpb $0x0, (%rax)
je 0xb135a
movl $0x786e52, -0x50(%rbp)  # imm = 0x786E52
leaq 0x177142(%rip), %rax    # 0x228424
cmpl $0x0, (%rax)
je 0xb12f0
leaq -0x50(%rbp), %rdi
callq 0x988f
leaq 0x175c69(%rip), %r14    # 0x226f60
movq %r14, %rdi
callq 0x9120
cmpq $0x11, %rax
jb 0xb131d
leaq (%rax,%r14), %r8
addq $-0x10, %r8
leaq 0x274f0c(%rip), %rdi    # 0x326220
leaq 0x656a1(%rip), %rsi     # 0x1169bc
jmp 0xb1332
leaq 0x274efc(%rip), %rdi    # 0x326220
leaq 0x43471(%rip), %rsi     # 0xf479c
leaq 0x175c2e(%rip), %r8     # 0x226f60
leaq -0x50(%rbp), %rdx
pushq $0x3a
popq %rcx
xorl %eax, %eax
callq 0x9060
incl %r13d
movl (%r12), %esi
leaq 0x274ed2(%rip), %rcx    # 0x326220
pushq $0xf
popq %rdx
movl %ebx, %edi
callq 0xe2d2
incl %ebx
movl (%r12), %esi
leaq 0x6c709(%rip), %rcx     # 0x11da6e
pushq $0xf
popq %rdx
movl %ebx, %edi
callq 0xe2d2
leaq 0x177012(%rip), %rax    # 0x228388
cmpq $0x0, (%rax)
je 0xb13bd
leaq 0x175edd(%rip), %rax    # 0x227260
cmpb $0x0, (%rax)
je 0xb13bd
leal 0x1(%r13), %r14d
cmpl $0x3, %r14d
jne 0xb13c5
leaq 0x176fdf(%rip), %rax    # 0x228378
movq (%rax), %rax
leaq 0x176fcd(%rip), %rcx    # 0x228370
orq (%rcx), %rax
leaq 0x176fe3(%rip), %rcx    # 0x228390
orq (%rcx), %rax
pushq $0x3a
popq %r15
pushq $0x2b
popq %rax
cmovnel %eax, %r15d
jmp 0xb13c9
movl %r13d, %r14d
jmp 0xb144b
pushq $0x3a
popq %r15
leaq 0x175e90(%rip), %r12    # 0x227260
movq %r12, %rdi
callq 0x9120
cmpq $0x11, %rax
jb 0xb13fd
leaq (%rax,%r12), %r8
addq $-0x10, %r8
leaq 0x274e33(%rip), %rdi    # 0x326220
leaq 0x655c8(%rip), %rsi     # 0x1169bc
leaq 0x66495(%rip), %rdx     # 0x117890
jmp 0xb1419
leaq 0x274e1c(%rip), %rdi    # 0x326220
leaq 0x43391(%rip), %rsi     # 0xf479c
leaq 0x6647e(%rip), %rdx     # 0x117890
leaq 0x175e47(%rip), %r8     # 0x227260
movl %r15d, %ecx
xorl %eax, %eax
callq 0x9060
leaq 0x15136e(%rip), %r12    # 0x202798
movl (%r12), %esi
leaq 0x274deb(%rip), %rcx    # 0x326220
pushq $0xf
popq %rdx
movl %ebx, %edi
callq 0xe2d2
cmpl $0x1, %r13d
ja 0xb187d
incl %ebx
pushq $0x3a
popq %r13
movl (%r12), %esi
leaq 0x6c614(%rip), %rcx     # 0x11da6e
pushq $0xf
popq %rdx
movl %ebx, %edi
callq 0xe2d2
leaq 0x176f05(%rip), %rax    # 0x228370
cmpq $0x0, (%rax)
je 0xb14f9
leaq 0x175be4(%rip), %rax    # 0x227060
cmpb $0x0, (%rax)
je 0xb14f9
leaq 0x176f94(%rip), %rax    # 0x22841c
cmpl $0x0, (%rax)
leaq 0x65534(%rip), %rax     # 0x1169c6
leaq 0x437b3(%rip), %r15     # 0xf4c4c
cmoveq %rax, %r15
leal 0x1(%r14), %eax
movl %r13d, %r12d
movq %rax, -0x30(%rbp)
cmpl $0x3, %eax
jne 0xb14cc
leaq 0x176edc(%rip), %rax    # 0x228390
movq (%rax), %rax
leaq 0x176eba(%rip), %rcx    # 0x228378
orq (%rcx), %rax
pushq $0x3a
popq %r12
pushq $0x2b
popq %rax
cmovnel %eax, %r12d
leaq 0x175b8d(%rip), %r13    # 0x227060
movq %r13, %rdi
callq 0x9120
cmpq $0x11, %rax
jb 0xb14fb
leaq (%rax,%r13), %r8
addq $-0x10, %r8
leaq 0x274d30(%rip), %rdi    # 0x326220
leaq 0x654c5(%rip), %rsi     # 0x1169bc
jmp 0xb1510
jmp 0xb154d
leaq 0x274d1e(%rip), %rdi    # 0x326220
leaq 0x43293(%rip), %rsi     # 0xf479c
leaq 0x175b50(%rip), %r8     # 0x227060
movq %r15, %rdx
movl %r12d, %ecx
xorl %eax, %eax
callq 0x9060
leaq 0x151274(%rip), %r12    # 0x202798
movl (%r12), %esi
leaq 0x274cf1(%rip), %rcx    # 0x326220
pushq $0xf
popq %rdx
movl %ebx, %edi
callq 0xe2d2
cmpl $0x1, %r14d
pushq $0x3a
popq %r13
ja 0xb187d
incl %ebx
movq -0x30(%rbp), %r14
movl (%r12), %esi
leaq 0x6c516(%rip), %rcx     # 0x11da6e
pushq $0xf
popq %rdx
movl %ebx, %edi
callq 0xe2d2
leaq 0x176e27(%rip), %rax    # 0x228390
cmpq $0x0, (%rax)
je 0xb15eb
leaq 0x1764ea(%rip), %rax    # 0x227a60
cmpb $0x0, (%rax)
je 0xb15eb
leaq 0x176ea6(%rip), %rax    # 0x228428
cmpl $0x0, (%rax)
leaq 0x6543e(%rip), %rax     # 0x1169ca
leaq 0x5ec46(%rip), %r15     # 0x1101d9
cmoveq %rax, %r15
leaq 0x176dda(%rip), %rax    # 0x228378
cmpq $0x0, (%rax)
movl %r13d, %ecx
pushq $0x2b
popq %r13
cmovel %ecx, %r13d
movq %r14, -0x30(%rbp)
leal 0x1(%r14), %eax
movl %eax, %r14d
cmpl $0x3, %eax
cmovnel %ecx, %r13d
leaq 0x17649a(%rip), %r12    # 0x227a60
movq %r12, %rdi
callq 0x9120
cmpl $0x11, %eax
jl 0xb15f0
leaq (%rax,%r12), %r8
addq $-0x10, %r8
leaq 0x274c3e(%rip), %rdi    # 0x326220
leaq 0x653d3(%rip), %rsi     # 0x1169bc
jmp 0xb1605
movl %r14d, %r13d
jmp 0xb163d
leaq 0x274c29(%rip), %rdi    # 0x326220
leaq 0x4319e(%rip), %rsi     # 0xf479c
leaq 0x17645b(%rip), %r8     # 0x227a60
movq %r15, %rdx
movl %r13d, %ecx
xorl %eax, %eax
callq 0x9060
leaq 0x15117f(%rip), %r12    # 0x202798
movl (%r12), %esi
leaq 0x274bfc(%rip), %rcx    # 0x326220
pushq $0xf
popq %rdx
movl %ebx, %edi
callq 0xe2d2
cmpl $0x1, -0x30(%rbp)
ja 0xb187d
movl %r14d, %r13d
incl %ebx
movl (%r12), %esi
leaq 0x6c426(%rip), %rcx     # 0x11da6e
pushq $0xf
popq %rdx
movl %ebx, %edi
callq 0xe2d2
leaq 0x176d1f(%rip), %rax    # 0x228378
cmpq $0x0, (%rax)
je 0xb1701
leaq 0x175af6(%rip), %rax    # 0x227160
cmpb $0x0, (%rax)
je 0xb1701
leaq 0x176db2(%rip), %rax    # 0x22842c
cmpl $0x0, (%rax)
leaq 0x6534a(%rip), %rax     # 0x1169ce
leaq 0x6ba04(%rip), %r14     # 0x11d08f
cmoveq %rax, %r14
leaq 0x175aca(%rip), %r15    # 0x227160
movq %r15, %rdi
callq 0x9120
cmpl $0x11, %eax
jl 0xb16bb
leaq (%rax,%r15), %r8
addq $-0x10, %r8
leaq 0x274b6e(%rip), %rdi    # 0x326220
leaq 0x65303(%rip), %rsi     # 0x1169bc
jmp 0xb16d0
leaq 0x274b5e(%rip), %rdi    # 0x326220
leaq 0x430d3(%rip), %rsi     # 0xf479c
leaq 0x175a90(%rip), %r8     # 0x227160
pushq $0x3a
popq %rcx
movq %r14, %rdx
xorl %eax, %eax
callq 0x9060
movl (%r12), %esi
leaq 0x274b38(%rip), %rcx    # 0x326220
pushq $0xf
popq %rdx
movl %ebx, %edi
callq 0xe2d2
cmpl $0x1, %r13d
ja 0xb187d
incl %r13d
incl %ebx
movl (%r12), %esi
leaq 0x6c362(%rip), %rcx     # 0x11da6e
pushq $0xf
popq %rdx
movl %ebx, %edi
callq 0xe2d2
callq 0x66b41
testl %eax, %eax
je 0xb17b0
leaq 0x176c6e(%rip), %rax    # 0x228398
movq (%rax), %rax
testq %rax, %rax
je 0xb1747
leaq 0x176ca3(%rip), %rcx    # 0x2283dc
cmpl $0x0, (%rcx)
je 0xb1747
movups 0x6528d(%rip), %xmm0    # 0x1169d2
jmp 0xb1757
testq %rax, %rax
je 0xb1895
movups 0x65292(%rip), %xmm0    # 0x1169e9
leaq 0x274ac2(%rip), %rax    # 0x326220
movaps %xmm0, (%rax)
movabsq $0x2020656c696620, %rcx # imm = 0x2020656C696620
movq %rcx, 0xf(%rax)
leaq 0x274aaa(%rip), %r14    # 0x326220
movq %r14, %rdi
callq 0x9120
cmpq $0x1a, %rax
jb 0xb178c
movl $0x2e2e2e, 0x16(%r14)   # imm = 0x2E2E2E
movl (%r12), %esi
leaq 0x274a89(%rip), %rcx    # 0x326220
pushq $0xf
popq %rdx
movl %ebx, %edi
callq 0xe2d2
cmpl $0x1, %r13d
ja 0xb187d
incl %r13d
incl %ebx
movl (%r12), %esi
leaq 0x6c2b3(%rip), %rcx     # 0x11da6e
pushq $0xf
popq %rdx
movl %ebx, %edi
callq 0xe2d2
callq 0x9b743
testl %eax, %eax
je 0xb1886
leaq 0x246b07(%rip), %rax    # 0x2f82e0
movl 0x203a4(%rax), %edx
cmpl $0x3e7, %edx            # imm = 0x3E7
je 0xb17ef
cmpl $0x270f, %edx           # imm = 0x270F
jne 0xb1812
movl $0x203ac, %edx          # imm = 0x203AC
addq 0x887e5(%rip), %rdx     # 0x139fe0
leaq 0x274a1e(%rip), %rdi    # 0x326220
leaq 0x6522c(%rip), %rsi     # 0x116a35
xorl %eax, %eax
callq 0x9060
jmp 0xb1845
cmpl $0xa, %edx
jge 0xb182e
testl %edx, %edx
jne 0xb182e
movl 0x203a0(%rax), %edx
cmpl $0xa, %edx
jge 0xb182e
testl %edx, %edx
je 0xb190c
decl %edx
leaq 0x2749e9(%rip), %rdi    # 0x326220
leaq 0x65205(%rip), %rsi     # 0x116a43
xorl %eax, %eax
callq 0x9060
leaq 0x2749d4(%rip), %r14    # 0x326220
movq %r14, %rdi
callq 0x9120
cmpq $0x1a, %rax
jb 0xb1862
movl $0x2e2e2e, 0x16(%r14)   # imm = 0x2E2E2E
movl (%r12), %esi
leaq 0x2749b3(%rip), %rcx    # 0x326220
pushq $0xf
popq %rdx
movl %ebx, %edi
callq 0xe2d2
cmpl $0x2, %r13d
jne 0xb1886
leaq 0x1776c0(%rip), %rax    # 0x228f44
incl (%rax)
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x246a44(%rip), %rax    # 0x2f82e0
movl 0x1bee4(%rax), %edx
cmpl $0x3e7, %edx            # imm = 0x3E7
je 0xb18b2
cmpl $0x270f, %edx           # imm = 0x270F
jne 0xb18d8
movl $0x1beec, %edx          # imm = 0x1BEEC
addq 0x88722(%rip), %rdx     # 0x139fe0
leaq 0x27495b(%rip), %rdi    # 0x326220
leaq 0x65134(%rip), %rsi     # 0x116a00
xorl %eax, %eax
callq 0x9060
jmp 0xb176f
cmpl $0xa, %edx
jge 0xb18f0
testl %edx, %edx
jne 0xb18f0
movl 0x1bee0(%rax), %edx
cmpl $0xa, %edx
jge 0xb18f0
testl %edx, %edx
je 0xb192b
decl %edx
leaq 0x274927(%rip), %rdi    # 0x326220
leaq 0x6510e(%rip), %rsi     # 0x116a0e
xorl %eax, %eax
callq 0x9060
jmp 0xb176f
movl $0x1bfed, %edx          # imm = 0x1BFED
addq 0x886c8(%rip), %rdx     # 0x139fe0
leaq 0x274901(%rip), %rdi    # 0x326220
leaq 0x65136(%rip), %rsi     # 0x116a5c
jmp 0xb1809
movl $0x1bfed, %edx          # imm = 0x1BFED
addq 0x886a9(%rip), %rdx     # 0x139fe0
leaq 0x2748e2(%rip), %rdi    # 0x326220
leaq 0x650e2(%rip), %rsi     # 0x116a27
jmp 0xb18cc