// File: /workspace/github_cpp_makefile_star2_O2/jkingan[P]ladyheather/heathgps.cpp
// Function: show_critical_alarms()
void show_critical_alarms()
{
   did_crit = 0;

   if(have_scpi_test) {
      if(scpi_test) {
         sprintf(out, "FAIL: %04X", scpi_test);
         vidstr(info_row++, CRIT_COL, RED, out); 
      }
      else vidstr(info_row++, CRIT_COL, GREEN, "TEST:   OK"); 
      --info_avail;
      did_crit = 1;
//    return;
   }

   if(rcvr_type == RT17_RCVR) {
      if(critical_alarms & CRIT_PWR) vidstr(info_row++, CRIT_COL, RED,   "Power: LOW");
      else                           vidstr(info_row++, CRIT_COL, GREEN, "Power:  OK");
      --info_avail;
      return;
   }
   else if(rcvr_type == SCPI_RCVR) {  // Z3801A STATUS message self test results
      if(have_scpi_self_test) {
         if(scpi_self_test) vidstr(info_row++, CRIT_COL, GREEN, "TEST: PASS"); 
         else               vidstr(info_row++, CRIT_COL, RED,   "TEST: FAIL"); 
         --info_avail;
         did_crit = 1;
      }
      if(have_scpi_int_power) {
         if(scpi_int_power) vidstr(info_row++, CRIT_COL, GREEN, "INTPWR: OK"); 
         else               vidstr(info_row++, CRIT_COL, RED,   "INTPWR:BAD"); 
         --info_avail;
         did_crit = 1;
      }
      if(have_scpi_oven_power) {
         if(scpi_oven_power) vidstr(info_row++, CRIT_COL, GREEN, "OVEN:   OK"); 
         else                vidstr(info_row++, CRIT_COL, RED,   "OVEN:  BAD"); 
         --info_avail;
         did_crit = 1;
      }
      if(have_scpi_ocxo) {
         if(scpi_ocxo) vidstr(info_row++, CRIT_COL, GREEN, "OCXO:   OK"); 
         else          vidstr(info_row++, CRIT_COL, RED,   "OCXO: FAIL"); 
         --info_avail;
         did_crit = 1;
      }
      if(have_scpi_efc) {
         if(scpi_efc) vidstr(info_row++, CRIT_COL, GREEN, "EFC:    OK"); 
         else         vidstr(info_row++, CRIT_COL, RED,   "EFC:  FAIL"); 
         --info_avail;
         did_crit = 1;
      }
      if(have_scpi_gps) {
         if(scpi_gps) vidstr(info_row++, CRIT_COL, GREEN, "GPS:    OK"); 
         else         vidstr(info_row++, CRIT_COL, RED,   "GPS:  FAIL"); 
         --info_avail;
         did_crit = 1;
      }
   }

   if(!have_critical_alarms) return;
   if(all_adevs && (SCREEN_WIDTH < MEDIUM_WIDTH)) return;

   did_crit = 1;
   if(rcvr_type == NVS_RCVR) {
      if((critical_alarms & CRIT_GPS) && (nvs_test & 0x10)) vidstr(info_row++, CRIT_COL, RED,   "GPS:   BAD");
      else vidstr(info_row++, CRIT_COL, GREEN, "GPS:    OK");
      --info_avail;

      if((critical_alarms & CRIT_GPS) && (nvs_test & 0x20)) vidstr(info_row++, CRIT_COL, RED,   "GLO:   BAD");
      else vidstr(info_row++, CRIT_COL, GREEN, "GLO:    OK");
      --info_avail;
      return;
   }
   else if(rcvr_type == STAR_RCVR) {
      if(critical_alarms & CRIT_GPS)  {
         vidstr(info_row++, CRIT_COL, RED,   "GPS: ALARM");
      }
      else {
         vidstr(info_row++, CRIT_COL, GREEN, "GPS:    OK");
      }
      --info_avail;

      if(critical_alarms & CRIT_OCXO) vidstr(info_row++, CRIT_COL, RED,   "OSC:   BAD");
      else                            vidstr(info_row++, CRIT_COL, GREEN, "OSC:    OK");
      --info_avail;
      return;
   }
   else if(rcvr_type == VENUS_RCVR) {
      if(critical_alarms & CRIT_ROM)  vidstr(info_row++, CRIT_COL, RED,   "FLASH: BAD");
      else if(no_eeprom_writes || (eeprom_save == 0))  vidstr(info_row++, CRIT_COL, GREEN, "FLASH:  OK");
      else vidstr(info_row++, CRIT_COL, GREEN, "FLASH: WRT");
      --info_avail;

      if(lte_lite) {
         if(critical_alarms & CRIT_OCXO)  vidstr(info_row++, CRIT_COL, RED,   "TCXO:  DAC");
         else                             vidstr(info_row++, CRIT_COL, GREEN, "TCXO:  OK ");
         --info_avail;
      }
      return;
   }
   else if(rcvr_type == UCCM_RCVR) {
   }
   else {
      if(critical_alarms & CRIT_ROM) vidstr(info_row++, CRIT_COL, RED,   "ROM:   BAD");
      else                           vidstr(info_row++, CRIT_COL, GREEN, "ROM:    OK");
      --info_avail;

      if(critical_alarms & CRIT_RAM) vidstr(info_row++, CRIT_COL, RED,   "RAM:   BAD");
      else                           vidstr(info_row++, CRIT_COL, GREEN, "RAM:    OK");
      --info_avail;
   }


   if(rcvr_type == ZODIAC_RCVR) {
      if(critical_alarms & CRIT_RTC) vidstr(info_row++, CRIT_COL, RED,   "RTC:   BAD");
      else                           vidstr(info_row++, CRIT_COL, GREEN, "RTC:    OK");
      --info_avail;
   }
   else if((rcvr_type == NMEA_RCVR) && (nmea_type == GARMIN_NMEA)) {  // Garmin
      if(critical_alarms & CRIT_RTC) vidstr(info_row++, CRIT_COL, RED,   "RTC:   BAD");
      else                           vidstr(info_row++, CRIT_COL, GREEN, "RTC:    OK");
      --info_avail;
   }
   else if(rcvr_type == UCCM_RCVR) {
   }
   else if(have_scpi_ocxo == 0) {
      if(critical_alarms & CRIT_OCXO) vidstr(info_row++, CRIT_COL, RED,   "OSC:   BAD");
      else                            vidstr(info_row++, CRIT_COL, GREEN, "OSC:    OK");
      --info_avail;
   }

   if(rcvr_type == BRANDY_RCVR) {
      if(critical_alarms & CRIT_FPGA) vidstr(info_row++, CRIT_COL, RED,   "HW:    BAD");
      else                            vidstr(info_row++, CRIT_COL, GREEN, "HW:     OK");
      --info_avail;
   }
   else if(rcvr_type == RFTG_RCVR) {
      if(critical_alarms & CRIT_FPGA) vidstr(info_row++, CRIT_COL, RED,   "TEMP:  BAD");
      else                            vidstr(info_row++, CRIT_COL, GREEN, "TEMP:   OK");
      --info_avail;

      if(critical_alarms & CRIT_GPS) vidstr(info_row++, CRIT_COL, RED,   "GPS:   BAD");
      else                           vidstr(info_row++, CRIT_COL, GREEN, "GPS:    OK");
      --info_avail;
      return;
   }
   else if((rcvr_type == SCPI_RCVR) && (scpi_type != NORTEL_TYPE) && (have_scpi_gps == 0)) {
      if(critical_alarms & CRIT_GPS) vidstr(info_row++, CRIT_COL, RED,   "GPS:   BAD");
      else                           vidstr(info_row++, CRIT_COL, GREEN, "GPS:    OK");
      --info_avail;
   }
   else if(rcvr_type == UCCM_RCVR) { 
//    if(critical_alarms & CRIT_GPS) vidstr(info_row++, CRIT_COL, RED,   "GPS:   BAD");
//    else                           vidstr(info_row++, CRIT_COL, GREEN, "GPS:    OK");
//    --info_avail;
   }
   else if(rcvr_type == ZODIAC_RCVR) {
      if(critical_alarms & CRIT_FPGA) vidstr(info_row++, CRIT_COL, RED,   "DSP:   BAD");
      else                            vidstr(info_row++, CRIT_COL, GREEN, "DSP:    OK");
      --info_avail;
   }
   else {
      if(critical_alarms & CRIT_FPGA) vidstr(info_row++, CRIT_COL, RED,   "FPGA:  BAD");
      else                            vidstr(info_row++, CRIT_COL, GREEN, "FPGA:   OK");
      --info_avail;
   }

   if(have_scpi_int_power == 0) {
      if(critical_alarms & CRIT_PWR)     vidstr(info_row++, CRIT_COL, RED,   "Power: BAD");
      else                               vidstr(info_row++, CRIT_COL, GREEN, "Power:  OK");
      --info_avail;
   }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
andl $0x0, 0x2b1ddf(%rip)    # 0x355da8
leaq 0x253430(%rip), %rax    # 0x2f7400
cmpl $0x0, (%rax)
je 0xa4051
leaq 0x25345c(%rip), %rax    # 0x2f7438
movl (%rax), %edx
testl %edx, %edx
je 0xa401a
leaq 0x282237(%rip), %rbx    # 0x326220
leaq 0x6d3f0(%rip), %rsi     # 0x1113e0
movq %rbx, %rdi
xorl %eax, %eax
callq 0x9060
movl 0x2b1d9c(%rip), %edi    # 0x355d9c
leal 0x1(%rdi), %eax
movl %eax, 0x2b1d93(%rip)    # 0x355d9c
leaq 0x15e78c(%rip), %rax    # 0x20279c
movl (%rax), %esi
pushq $0xc
popq %rdx
movq %rbx, %rcx
jmp 0xa403c
movl 0x2b1d7c(%rip), %edi    # 0x355d9c
leal 0x1(%rdi), %eax
movl %eax, 0x2b1d73(%rip)    # 0x355d9c
leaq 0x15e76c(%rip), %rax    # 0x20279c
movl (%rax), %esi
leaq 0x6d3b2(%rip), %rcx     # 0x1113eb
pushq $0xa
popq %rdx
callq 0xe2d2
decl 0x2b1d59(%rip)          # 0x355da0
movl $0x1, 0x2b1d57(%rip)    # 0x355da8
leaq 0x15e878(%rip), %rbx    # 0x2028d0
movq (%rbx), %rax
cmpq $0x10, %rax
je 0xa40a3
movabsq $0x200000000, %rcx      # imm = 0x200000000
cmpq %rcx, %rax
jne 0xa42d9
leaq 0x253155(%rip), %rax    # 0x2f71d0
movl 0x2b1d1b(%rip), %edi    # 0x355d9c
testb $0x4, (%rax)
leal 0x1(%rdi), %eax
movl %eax, 0x2b1d0f(%rip)    # 0x355d9c
leaq 0x15e708(%rip), %rax    # 0x20279c
movl (%rax), %esi
jne 0xa40de
leaq 0x6d362(%rip), %rcx     # 0x111401
pushq $0xa
jmp 0xa40e7
leaq 0x2533d2(%rip), %rax    # 0x2f747c
cmpl $0x0, (%rax)
je 0xa4117
leaq 0x2533ae(%rip), %rax    # 0x2f7464
movl 0x2b1ce0(%rip), %edi    # 0x355d9c
cmpl $0x0, (%rax)
leal 0x1(%rdi), %eax
movl %eax, 0x2b1cd4(%rip)    # 0x355d9c
leaq 0x15e6cd(%rip), %rax    # 0x20279c
movl (%rax), %esi
je 0xa40f8
leaq 0x6d332(%rip), %rcx     # 0x11140c
pushq $0xa
jmp 0xa4101
leaq 0x6d311(%rip), %rcx     # 0x1113f6
pushq $0xc
popq %rdx
callq 0xe2d2
decl 0x2b1cad(%rip)          # 0x355da0
jmp 0xa4300
leaq 0x6d318(%rip), %rcx     # 0x111417
pushq $0xc
popq %rdx
callq 0xe2d2
decl 0x2b1c93(%rip)          # 0x355da0
movl $0x1, 0x2b1c91(%rip)    # 0x355da8
leaq 0x253362(%rip), %rax    # 0x2f7480
cmpl $0x0, (%rax)
je 0xa4171
leaq 0x25333e(%rip), %rax    # 0x2f7468
movl 0x2b1c6c(%rip), %edi    # 0x355d9c
cmpl $0x0, (%rax)
leal 0x1(%rdi), %eax
movl %eax, 0x2b1c60(%rip)    # 0x355d9c
leaq 0x15e659(%rip), %rax    # 0x20279c
movl (%rax), %esi
je 0xa4152
leaq 0x6d2d4(%rip), %rcx     # 0x111422
pushq $0xa
jmp 0xa415b
leaq 0x6d2d4(%rip), %rcx     # 0x11142d
pushq $0xc
popq %rdx
callq 0xe2d2
decl 0x2b1c39(%rip)          # 0x355da0
movl $0x1, 0x2b1c37(%rip)    # 0x355da8
leaq 0x25330c(%rip), %rax    # 0x2f7484
cmpl $0x0, (%rax)
je 0xa41cb
leaq 0x2532e8(%rip), %rax    # 0x2f746c
movl 0x2b1c12(%rip), %edi    # 0x355d9c
cmpl $0x0, (%rax)
leal 0x1(%rdi), %eax
movl %eax, 0x2b1c06(%rip)    # 0x355d9c
leaq 0x15e5ff(%rip), %rax    # 0x20279c
movl (%rax), %esi
je 0xa41ac
leaq 0x6d290(%rip), %rcx     # 0x111438
pushq $0xa
jmp 0xa41b5
leaq 0x6d290(%rip), %rcx     # 0x111443
pushq $0xc
popq %rdx
callq 0xe2d2
decl 0x2b1bdf(%rip)          # 0x355da0
movl $0x1, 0x2b1bdd(%rip)    # 0x355da8
leaq 0x2532b6(%rip), %rax    # 0x2f7488
cmpl $0x0, (%rax)
je 0xa4225
leaq 0x253292(%rip), %rax    # 0x2f7470
movl 0x2b1bb8(%rip), %edi    # 0x355d9c
cmpl $0x0, (%rax)
leal 0x1(%rdi), %eax
movl %eax, 0x2b1bac(%rip)    # 0x355d9c
leaq 0x15e5a5(%rip), %rax    # 0x20279c
movl (%rax), %esi
je 0xa4206
leaq 0x6d24c(%rip), %rcx     # 0x11144e
pushq $0xa
jmp 0xa420f
leaq 0x6d24c(%rip), %rcx     # 0x111459
pushq $0xc
popq %rdx
callq 0xe2d2
decl 0x2b1b85(%rip)          # 0x355da0
movl $0x1, 0x2b1b83(%rip)    # 0x355da8
leaq 0x253260(%rip), %rax    # 0x2f748c
cmpl $0x0, (%rax)
je 0xa427f
leaq 0x25323c(%rip), %rax    # 0x2f7474
movl 0x2b1b5e(%rip), %edi    # 0x355d9c
cmpl $0x0, (%rax)
leal 0x1(%rdi), %eax
movl %eax, 0x2b1b52(%rip)    # 0x355d9c
leaq 0x15e54b(%rip), %rax    # 0x20279c
movl (%rax), %esi
je 0xa4260
leaq 0x6d208(%rip), %rcx     # 0x111464
pushq $0xa
jmp 0xa4269
leaq 0x6d208(%rip), %rcx     # 0x11146f
pushq $0xc
popq %rdx
callq 0xe2d2
decl 0x2b1b2b(%rip)          # 0x355da0
movl $0x1, 0x2b1b29(%rip)    # 0x355da8
leaq 0x25320a(%rip), %rax    # 0x2f7490
cmpl $0x0, (%rax)
je 0xa42d9
leaq 0x2531e6(%rip), %rax    # 0x2f7478
movl 0x2b1b04(%rip), %edi    # 0x355d9c
cmpl $0x0, (%rax)
leal 0x1(%rdi), %eax
movl %eax, 0x2b1af8(%rip)    # 0x355d9c
leaq 0x15e4f1(%rip), %rax    # 0x20279c
movl (%rax), %esi
je 0xa42ba
leaq 0x6d1c4(%rip), %rcx     # 0x11147a
pushq $0xa
jmp 0xa42c3
leaq 0x6d1c4(%rip), %rcx     # 0x111485
pushq $0xc
popq %rdx
callq 0xe2d2
decl 0x2b1ad1(%rip)          # 0x355da0
movl $0x1, 0x2b1acf(%rip)    # 0x355da8
leaq 0x252fc8(%rip), %rax    # 0x2f72a8
cmpl $0x0, (%rax)
je 0xa4300
leaq 0x182a52(%rip), %rax    # 0x226d3e
cmpb $0x0, (%rax)
je 0xa430b
leaq 0x15e508(%rip), %rax    # 0x202800
cmpl $0x3e2, (%rax)          # imm = 0x3E2
jge 0xa430b
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movl $0x1, 0x2b1a93(%rip)    # 0x355da8
movq (%rbx), %rax
cmpq $0x8, %rax
je 0xa451d
cmpq $0x80, %rax
je 0xa4381
cmpq $0x1000, %rax           # imm = 0x1000
je 0xa43d6
cmpq $0x800, %rax            # imm = 0x800
jne 0xa4406
leaq 0x252e87(%rip), %rbx    # 0x2f71d0
testb $0x8, (%rbx)
je 0xa435b
testb $0x10, 0x2b27b3(%rip)   # 0x356b08
jne 0xa4606
movl 0x2b1a3b(%rip), %edi    # 0x355d9c
leal 0x1(%rdi), %eax
movl %eax, 0x2b1a32(%rip)    # 0x355d9c
leaq 0x15e42b(%rip), %rax    # 0x20279c
movl (%rax), %esi
leaq 0x6d100(%rip), %rcx     # 0x11147a
pushq $0xa
jmp 0xa4627
leaq 0x252e48(%rip), %rbx    # 0x2f71d0
testb $0x1, (%rbx)
jne 0xa4437
leaq 0x160e9e(%rip), %rax    # 0x205236
movl 0x2b19fe(%rip), %edi    # 0x355d9c
leal 0x1(%rdi), %ecx
cmpb $0x0, (%rax)
leaq 0x252d29(%rip), %rax    # 0x2f70d4
movl (%rax), %eax
movl %ecx, 0x2b19e9(%rip)    # 0x355d9c
leaq 0x15e3e2(%rip), %rcx    # 0x20279c
movl (%rcx), %esi
jne 0xa45ac
testl %eax, %eax
je 0xa45ac
leaq 0x6d117(%rip), %rcx     # 0x1114e8
jmp 0xa45b3
leaq 0x252df3(%rip), %rbx    # 0x2f71d0
movl 0x2b19b9(%rip), %edi    # 0x355d9c
testb $0x8, (%rbx)
leal 0x1(%rdi), %eax
movl %eax, 0x2b19ad(%rip)    # 0x355d9c
leaq 0x15e3a6(%rip), %r14    # 0x20279c
movl (%r14), %esi
jne 0xa445d
leaq 0x6d078(%rip), %rcx     # 0x11147a
pushq $0xa
jmp 0xa4466
leaq 0x252dc3(%rip), %r14    # 0x2f71d0
movl 0x2b1989(%rip), %edi    # 0x355d9c
testb $0x1, (%r14)
leal 0x1(%rdi), %eax
movl %eax, 0x2b197c(%rip)    # 0x355d9c
leaq 0x15e375(%rip), %r15    # 0x20279c
movl (%r15), %esi
jne 0xa44a1
leaq 0x6d0e1(%rip), %rcx     # 0x111514
pushq $0xa
jmp 0xa44aa
movl 0x2b195f(%rip), %edi    # 0x355d9c
leal 0x1(%rdi), %eax
movl %eax, 0x2b1956(%rip)    # 0x355d9c
leaq 0x15e34f(%rip), %rax    # 0x20279c
movl (%rax), %esi
leaq 0x6d07c(%rip), %rcx     # 0x1114d2
pushq $0xc
jmp 0xa45b5
leaq 0x6d04d(%rip), %rcx     # 0x1114b1
pushq $0xc
popq %rdx
callq 0xe2d2
decl 0x2b192e(%rip)          # 0x355da0
movl 0x2b1924(%rip), %edi    # 0x355d9c
leal 0x1(%rdi), %eax
testb $0x10, (%rbx)
movl %eax, 0x2b1918(%rip)    # 0x355d9c
movl (%r14), %esi
jne 0xa4495
leaq 0x6d037(%rip), %rcx     # 0x1114c7
jmp 0xa409f
leaq 0x6d020(%rip), %rcx     # 0x1114bc
jmp 0xa40e5
leaq 0x6d061(%rip), %rcx     # 0x111509
pushq $0xc
popq %rdx
callq 0xe2d2
decl 0x2b18ea(%rip)          # 0x355da0
movl 0x2b18e0(%rip), %edi    # 0x355d9c
leal 0x1(%rdi), %eax
testb $0x2, (%r14)
movl %eax, 0x2b18d3(%rip)    # 0x355d9c
movl (%r15), %esi
jne 0xa44d9
leaq 0x6d055(%rip), %rcx     # 0x11152a
pushq $0xa
jmp 0xa44e2
leaq 0x6d03f(%rip), %rcx     # 0x11151f
pushq $0xc
popq %rdx
callq 0xe2d2
decl 0x2b18b2(%rip)          # 0x355da0
movq (%rbx), %rax
cmpq $0x100, %rax            # imm = 0x100
jne 0xa451d
movl 0x2b189d(%rip), %edi    # 0x355d9c
leal 0x1(%rdi), %eax
testb $0x10, (%r14)
movl %eax, 0x2b1890(%rip)    # 0x355d9c
movl (%r15), %esi
je 0xa4553
leaq 0x6d01d(%rip), %rcx     # 0x111535
jmp 0xa4690
cmpq $0x2, %rax
jne 0xa455c
leaq 0x160aba(%rip), %rcx    # 0x204fe4
cmpl $0x47, (%rcx)
jne 0xa455c
leaq 0x252c9a(%rip), %rax    # 0x2f71d0
movl 0x2b1860(%rip), %edi    # 0x355d9c
testb $0x10, (%rax)
leal 0x1(%rdi), %eax
movl %eax, 0x2b1854(%rip)    # 0x355d9c
leaq 0x15e24d(%rip), %rax    # 0x20279c
movl (%rax), %esi
jne 0xa4511
leaq 0x6cfe6(%rip), %rcx     # 0x111540
jmp 0xa45a5
cmpq $0x8, %rax
je 0xa469e
leaq 0x252f1b(%rip), %rax    # 0x2f7488
cmpl $0x0, (%rax)
jne 0xa469e
leaq 0x252c53(%rip), %rax    # 0x2f71d0
movl 0x2b1819(%rip), %edi    # 0x355d9c
testb $0x10, (%rax)
leal 0x1(%rdi), %eax
movl %eax, 0x2b180d(%rip)    # 0x355d9c
leaq 0x15e206(%rip), %rax    # 0x20279c
movl (%rax), %esi
jne 0xa4689
leaq 0x6cf22(%rip), %rcx     # 0x1114c7
pushq $0xa
jmp 0xa4692
leaq 0x6cf2a(%rip), %rcx     # 0x1114dd
pushq $0xa
popq %rdx
callq 0xe2d2
decl 0x2b17df(%rip)          # 0x355da0
leaq 0x160a08(%rip), %rax    # 0x204fd0
cmpl $0x0, (%rax)
je 0xa4300
movl 0x2b17c5(%rip), %edi    # 0x355d9c
testb $0x10, (%rbx)
leal 0x1(%rdi), %eax
movl %eax, 0x2b17b9(%rip)    # 0x355d9c
leaq 0x15e1b2(%rip), %rax    # 0x20279c
movl (%rax), %esi
jne 0xa45fa
leaq 0x6cf09(%rip), %rcx     # 0x1114fe
jmp 0xa409f
leaq 0x6cef2(%rip), %rcx     # 0x1114f3
jmp 0xa40e5
movl 0x2b1790(%rip), %edi    # 0x355d9c
leal 0x1(%rdi), %eax
movl %eax, 0x2b1787(%rip)    # 0x355d9c
leaq 0x15e180(%rip), %rax    # 0x20279c
movl (%rax), %esi
leaq 0x6ce6b(%rip), %rcx     # 0x111490
pushq $0xc
popq %rdx
callq 0xe2d2
decl 0x2b176d(%rip)          # 0x355da0
testb $0x8, (%rbx)
je 0xa4641
testb $0x20, 0x2b24c9(%rip)   # 0x356b08
jne 0xa4665
movl 0x2b1755(%rip), %edi    # 0x355d9c
leal 0x1(%rdi), %eax
movl %eax, 0x2b174c(%rip)    # 0x355d9c
leaq 0x15e145(%rip), %rax    # 0x20279c
movl (%rax), %esi
leaq 0x6ce46(%rip), %rcx     # 0x1114a6
jmp 0xa409f
movl 0x2b1731(%rip), %edi    # 0x355d9c
leal 0x1(%rdi), %eax
movl %eax, 0x2b1728(%rip)    # 0x355d9c
leaq 0x15e121(%rip), %rax    # 0x20279c
movl (%rax), %esi
leaq 0x6ce17(%rip), %rcx     # 0x11149b
jmp 0xa40e5
leaq 0x6ce2c(%rip), %rcx     # 0x1114bc
pushq $0xc
popq %rdx
callq 0xe2d2
decl 0x2b1702(%rip)          # 0x355da0
movq (%rbx), %rax
cmpq $0x400000, %rax         # imm = 0x400000
je 0xa46e5
cmpq $0x40000, %rax          # imm = 0x40000
jne 0xa4715
leaq 0x252b18(%rip), %rax    # 0x2f71d0
movl 0x2b16de(%rip), %edi    # 0x355d9c
testb $0x8, (%rax)
leal 0x1(%rdi), %eax
movl %eax, 0x2b16d2(%rip)    # 0x355d9c
leaq 0x15e0cb(%rip), %rax    # 0x20279c
movl (%rax), %esi
jne 0xa4773
leaq 0x6ce76(%rip), %rcx     # 0x111556
jmp 0xa4836
leaq 0x252ae4(%rip), %rbx    # 0x2f71d0
movl 0x2b16aa(%rip), %edi    # 0x355d9c
testb $0x8, (%rbx)
leal 0x1(%rdi), %eax
movl %eax, 0x2b169e(%rip)    # 0x355d9c
leaq 0x15e097(%rip), %r14    # 0x20279c
movl (%r14), %esi
jne 0xa477f
leaq 0x6ce5b(%rip), %rcx     # 0x11156c
pushq $0xa
jmp 0xa4788
cmpq $0x10, %rax
jne 0xa47c3
leaq 0x1608ba(%rip), %rcx    # 0x204fe0
cmpl $0x4e, (%rcx)
je 0xa47c3
leaq 0x252d5a(%rip), %rcx    # 0x2f7490
cmpl $0x0, (%rcx)
jne 0xa47c3
leaq 0x252a8a(%rip), %rax    # 0x2f71d0
movl 0x2b1650(%rip), %edi    # 0x355d9c
testb $0x8, (%rax)
leal 0x1(%rdi), %eax
movl %eax, 0x2b1644(%rip)    # 0x355d9c
leaq 0x15e03d(%rip), %rax    # 0x20279c
movl (%rax), %esi
jne 0xa4802
leaq 0x6cd0c(%rip), %rcx     # 0x11147a
jmp 0xa4836
leaq 0x6cdd1(%rip), %rcx     # 0x11154b
jmp 0xa484a
leaq 0x6cddb(%rip), %rcx     # 0x111561
pushq $0xc
popq %rdx
callq 0xe2d2
decl 0x2b160c(%rip)          # 0x355da0
movl 0x2b1602(%rip), %edi    # 0x355d9c
leal 0x1(%rdi), %eax
testb $0x8, (%rbx)
movl %eax, 0x2b15f6(%rip)    # 0x355d9c
movl (%r14), %esi
jne 0xa47b7
leaq 0x6ccc8(%rip), %rcx     # 0x11147a
jmp 0xa409f
leaq 0x6ccd2(%rip), %rcx     # 0x111490
jmp 0xa40e5
cmpq $0x8, %rax
je 0xa4858
cmpq $0x100, %rax            # imm = 0x100
jne 0xa480b
leaq 0x2529f4(%rip), %rax    # 0x2f71d0
movl 0x2b15ba(%rip), %edi    # 0x355d9c
testb $0x8, (%rax)
leal 0x1(%rdi), %eax
movl %eax, 0x2b15ae(%rip)    # 0x355d9c
leaq 0x15dfa7(%rip), %rax    # 0x20279c
movl (%rax), %esi
jne 0xa483a
leaq 0x6cd82(%rip), %rcx     # 0x111582
jmp 0xa4836
leaq 0x6cc87(%rip), %rcx     # 0x111490
jmp 0xa484a
leaq 0x2529be(%rip), %rax    # 0x2f71d0
movl 0x2b1584(%rip), %edi    # 0x355d9c
testb $0x8, (%rax)
leal 0x1(%rdi), %eax
movl %eax, 0x2b1578(%rip)    # 0x355d9c
leaq 0x15df71(%rip), %rax    # 0x20279c
movl (%rax), %esi
jne 0xa4843
leaq 0x6cd62(%rip), %rcx     # 0x111598
pushq $0xa
jmp 0xa484c
leaq 0x6cd36(%rip), %rcx     # 0x111577
jmp 0xa484a
leaq 0x6cd43(%rip), %rcx     # 0x11158d
pushq $0xc
popq %rdx
callq 0xe2d2
decl 0x2b1548(%rip)          # 0x355da0
leaq 0x252c21(%rip), %rax    # 0x2f7480
cmpl $0x0, (%rax)
jne 0xa4300
leaq 0x252961(%rip), %rax    # 0x2f71d0
movl 0x2b1527(%rip), %edi    # 0x355d9c
testb $0x4, (%rax)
leal 0x1(%rdi), %eax
movl %eax, 0x2b151b(%rip)    # 0x355d9c
leaq 0x15df14(%rip), %rax    # 0x20279c
movl (%rax), %esi
je 0xa4098
leaq 0x6cd0c(%rip), %rcx     # 0x1115a3
jmp 0xa40e5