// File: jkingan[P]ladyheather/heathgps.cpp
// Function: show_temp_info()
void show_temp_info()
{
DATA_SIZE val;
char *s;

   // show the current temperature related value in the screen receiver data block
   if(rcvr_type == NO_RCVR) return;
   val = (DATA_SIZE) temperature;

   // upper case indicates environmenal sensor is active
   if(luxor) s = "TEMP1:";
   else if(enviro_mode() && (have_temperature == 0)) {  // flag external temp sensor with upper case
      s = "TEMP1:";  // receiver has no temp sensor, showing environmental sensor data
   }
   else if((have_temperature == 0) && have_lars_temp) {
      s = "TEMPL:";
      val = lars_temp;
   }
   else if(rcvr_type == THERMO_RCVR) {
      s = "TEMP1:";  // showing environmental sensor data
   }
   else if(enviro_mode()) {
      s = "TEMP:";   // rcvr has temp sensor, showing that data
   }
   else if(0 && (ACUTIME || ACU_GG || ACU_360 || PALISADE)) {
      s = "Tval:";
   }
   else {  // using receiver temp sensor
      s = "Temp:";
   }

   if(rcvr_type == CS_RCVR) {
      sprintf(out, "%s     %s%c", s, fmt_temp((double) val), temp_dir);
      vidstr(VAL_ROW+1, VAL_COL, WHITE, out);
   }
   else if((rcvr_type == TIDE_RCVR) && enviro_mode()) {
      goto enviro_data;
   }
   else if((enviro_port_open() == 0) && (rcvr_type == UCCM_RCVR) && (scpi_type == UCCMP_TYPE) && (have_temperature == 0)) {   // samsung
      if(have_uccm_tcor == 0) return;
      s = "TCOR:";
      if((val >= 100000000.0) || (val <= (-10000000.0))) {
         sprintf(out, "%s%10.0f%s   ", s,val, ppt_string);
      }
      else if((val >= 10000000.0) || (val <= (-1000000.0))) {
         sprintf(out, "%s%10.1f%s   ", s,val, ppt_string);
      }
      else if((val >= 1000000.0) || (val <= (-100000.0))) {
         sprintf(out, "%s%10.2f%s   ", s,val, ppt_string);
      }
      else if((val >= 100000.0) || (val <= (-10000.0))) {
         sprintf(out, "%s%10.3f%s   ", s,val, ppt_string);
      }
      else if((val >= 10000.0) || (val <= (-1000.0))) {
         sprintf(out, "%s%10.4f%s   ", s,val, ppt_string);
      }
      else if((val >= 1000.0) || (val <= (-100.0))) {
         sprintf(out, "%s%10.5f%s   ", s,val, ppt_string);
      }
      else {
         sprintf(out, "%s%10.6f%s   ", s,val, ppt_string);
      }
      vidstr(VAL_ROW+1, VAL_COL, WHITE, out);
   }
   else if(!have_temperature && !have_lars_dac) {
      if(enviro_mode()) goto enviro_temp;
      vidstr(VAL_ROW+1, VAL_COL, GREY, "Temp: no sensor");
   }
   else if(ACUTIME || ACU_GG || ACU_360 || PALISADE) {
      sprintf(out, "%s %s%c   ", s, fmt_temp((double) val), temp_dir);
      vidstr(VAL_ROW+1, VAL_COL, WHITE, out);
   }
   else if(rcvr_type == THERMO_RCVR) {
      enviro_data:
      if(have_temperature0) {
         sprintf(out, "%s %s    ", "TEMP0:", fmt_temp((double) tc0));
      }
      else {
         sprintf(out, "                   ");      
      }
      vidstr(VAL_ROW+1, VAL_COL, WHITE, out);

      sprintf(out, "%s %s    ", "TEMP1:", fmt_temp((double) tc1));
      vidstr(VAL_ROW+2, VAL_COL, WHITE, out);

      if(have_temperature2) {
         sprintf(out, "%s %s    ", "TEMP2:", fmt_temp((double) tc2));
      }
      else {
         sprintf(out, "                   ");      
      }
      vidstr(VAL_ROW+3, VAL_COL, WHITE, out);

      if(have_humidity) {
         sprintf(out, "RH:  %10.5f %s ", humidity, plot[HUMIDITY].units);
      }
      else {
         sprintf(out, "                   ");      
      }
      vidstr(VAL_ROW+4, VAL_COL, WHITE, out);

      if(have_pressure) {
         if(HG_PRESS) sprintf(out, "Pres:%10.5f Hg", scale_pressure(pressure));
         else         sprintf(out, "Pres:%10.5f mb", scale_pressure(pressure));
      }
      else {
         sprintf(out, "                   ");      
      }
      vidstr(VAL_ROW+5, VAL_COL, WHITE, out);
   }
   else if((val > (-100.0)) && (val < 100.0)) {
      enviro_temp:
      sprintf(out, "%s %s%c   ", s, fmt_temp((double) val), temp_dir);
      if((rcvr_type == SCPI_RCVR) && (scpi_type == NORTEL_TYPE)) {
         if(val > 70.0)     sprintf(out, "%s >70C     ", s);
         else if(val < 0.0) sprintf(out, "%s <0C      ", s);
         else               sprintf(out, "%s OK       ", s);
      }

      if(rcvr_type == PRS_RCVR) {
         if((val < 0.0) || (val >= 80.0))  {
            vidstr(VAL_ROW+1, VAL_COL, RED, out);
         }
         else if((val < 30.0) || (val >= 80.0))  {
            vidstr(VAL_ROW+1, VAL_COL, YELLOW, out);
         }
         else {
            vidstr(VAL_ROW+1, VAL_COL, WHITE, out);
         }
      }
      else if(rcvr_type == X72_RCVR) {
         if(have_x72_dtemplo && have_x72_dtemphi) {  // thresholds from firmware
            if((val < (x72_dtemplo+5.0)) || (val >= (x72_dtemphi-5.0)))  {
               vidstr(VAL_ROW+1, VAL_COL, RED, out);
            }
            else if((val < (x72_dtemplo+10.0)) || (val >= (x72_dtemphi-10.0)))  {
               vidstr(VAL_ROW+1, VAL_COL, YELLOW, out);
            }
            else {
               vidstr(VAL_ROW+1, VAL_COL, WHITE, out);
            }
         }
         else if(x72_type == SA22_TYPE) {  // thresholds from data sheet
            if((val < -10.0) || (val >= 75.0))  {
               vidstr(VAL_ROW+1, VAL_COL, RED, out);
            }
            else if((val < -5.0) || (val >= 70.0))  {
               vidstr(VAL_ROW+1, VAL_COL, YELLOW, out);
            }
            else {
               vidstr(VAL_ROW+1, VAL_COL, WHITE, out);
            }
         }
         else {
            if((val < -25.0) || (val >= 80.0))  { // thresholds from data sheet 
               vidstr(VAL_ROW+1, VAL_COL, RED, out);
            }
            else if((val < -20.0) || (val >= 75.0))  {
               vidstr(VAL_ROW+1, VAL_COL, YELLOW, out);
            }
            else {
               vidstr(VAL_ROW+1, VAL_COL, WHITE, out);
            }
         }
      }
      else if(rcvr_type == MOTO_RCVR) {  // most Motorola compatible rcvrs mess this up
         vidstr(VAL_ROW+1, VAL_COL, WHITE, out);
      }
      else if((val < 0.0) || (val >= 60.0))  {
      }
      else if(rcvr_type == ZYFER_RCVR) {
         if((val < 5.0) || (val >= 60.0)) {
            vidstr(VAL_ROW+1, VAL_COL, YELLOW, out);
         }
         else {
            vidstr(VAL_ROW+1, VAL_COL, WHITE, out);
         }
      }
      else if((val < 5.0) || (val >= 55.0)) {
         vidstr(VAL_ROW+1, VAL_COL, YELLOW, out);
      }
      else if(1 && !tbolt_e && ((val < 10.0) || (val >= 50.0))) {
         vidstr(VAL_ROW+1, VAL_COL, YELLOW, out);
      }
      else {
         vidstr(VAL_ROW+1, VAL_COL, WHITE, out);
      }
   }
   else {
      sprintf(out, "%s %s%c   ", s, fmt_temp((double) val), temp_dir);
      vidstr(VAL_ROW+1, VAL_COL, RED, out);
   }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
leaq 0x173621(%rip), %rax    # 0x277ab0
cmpq $0x400, (%rax)          # imm = 0x400
jne 0x10449d
jmp 0x105185
leaq 0x267754(%rip), %rax    # 0x36bbf8
movsd (%rax), %xmm0
movsd %xmm0, -0x8(%rbp)
leaq 0x199c6a(%rip), %rax    # 0x29e11e
cmpb $0x0, (%rax)
je 0x1044c9
leaq 0x88f55(%rip), %rax     # 0x18d415
movq %rax, -0x10(%rbp)
jmp 0x104568
callq 0x83ad0
cmpl $0x0, %eax
je 0x1044ec
leaq 0x267f52(%rip), %rax    # 0x36c42c
cmpl $0x0, (%rax)
jne 0x1044ec
leaq 0x88f2f(%rip), %rax     # 0x18d415
movq %rax, -0x10(%rbp)
jmp 0x104566
leaq 0x267f39(%rip), %rax    # 0x36c42c
cmpl $0x0, (%rax)
jne 0x104521
leaq 0x267739(%rip), %rax    # 0x36bc38
cmpl $0x0, (%rax)
je 0x104521
leaq 0x88f11(%rip), %rax     # 0x18d41c
movq %rax, -0x10(%rbp)
leaq 0x267712(%rip), %rax    # 0x36bc28
movsd (%rax), %xmm0
movsd %xmm0, -0x8(%rbp)
jmp 0x104564
leaq 0x173588(%rip), %rax    # 0x277ab0
cmpq $0x80000, (%rax)        # imm = 0x80000
jne 0x10453e
leaq 0x88edd(%rip), %rax     # 0x18d415
movq %rax, -0x10(%rbp)
jmp 0x104562
callq 0x83ad0
cmpl $0x0, %eax
je 0x104555
leaq 0x88ed4(%rip), %rax     # 0x18d423
movq %rax, -0x10(%rbp)
jmp 0x104560
leaq 0x88ecd(%rip), %rax     # 0x18d429
movq %rax, -0x10(%rbp)
jmp 0x104562
jmp 0x104564
jmp 0x104566
jmp 0x104568
leaq 0x173541(%rip), %rax    # 0x277ab0
cmpq $0x20000, (%rax)        # imm = 0x20000
jne 0x1045ce
movq -0x10(%rbp), %rax
movq %rax, -0x18(%rbp)
movsd -0x8(%rbp), %xmm0
callq 0x18200
movq -0x18(%rbp), %rdx
movq %rax, %rcx
leaq 0x267bd0(%rip), %rax    # 0x36c168
movzbl (%rax), %r8d
leaq 0x296e5d(%rip), %rdi    # 0x39b400
leaq 0x88e85(%rip), %rsi     # 0x18d42f
movb $0x0, %al
callq 0x9060
movl $0x1, %edi
movl $0xf, %edx
leaq 0x296e3e(%rip), %rcx    # 0x39b400
movl %edx, %esi
callq 0x10ee0
jmp 0x105185
leaq 0x1734db(%rip), %rax    # 0x277ab0
cmpq $0x800000, (%rax)       # imm = 0x800000
jne 0x1045ed
callq 0x83ad0
cmpl $0x0, %eax
je 0x1045ed
jmp 0x1049a6
callq 0xe8440
cmpl $0x0, %eax
jne 0x10486b
leaq 0x1734ae(%rip), %rax    # 0x277ab0
cmpq $0x8, (%rax)
jne 0x10486b
leaq 0x175bad(%rip), %rax    # 0x27a1c0
cmpl $0x50, (%rax)
jne 0x10486b
leaq 0x267e09(%rip), %rax    # 0x36c42c
cmpl $0x0, (%rax)
jne 0x10486b
leaq 0x175bb1(%rip), %rax    # 0x27a1e4
cmpl $0x0, (%rax)
jne 0x10463d
jmp 0x105185
leaq 0x88df7(%rip), %rax     # 0x18d43b
movq %rax, -0x10(%rbp)
movsd -0x8(%rbp), %xmm0
movsd 0x7e57b(%rip), %xmm1    # 0x182bd0
ucomisd %xmm1, %xmm0
jae 0x10466a
movsd 0x7ec75(%rip), %xmm0    # 0x1832d8
ucomisd -0x8(%rbp), %xmm0
jb 0x104697
movq -0x10(%rbp), %rdx
movsd -0x8(%rbp), %xmm0
leaq 0x29a186(%rip), %rax    # 0x39e800
movq (%rax), %rcx
leaq 0x296d7c(%rip), %rdi    # 0x39b400
leaq 0x88db6(%rip), %rsi     # 0x18d441
movb $0x1, %al
callq 0x9060
jmp 0x10484e
movsd -0x8(%rbp), %xmm0
movsd 0x6ab0c(%rip), %xmm1    # 0x16f1b0
ucomisd %xmm1, %xmm0
jae 0x1046b9
movsd 0x7ea5e(%rip), %xmm0    # 0x183110
ucomisd -0x8(%rbp), %xmm0
jb 0x1046e6
movq -0x10(%rbp), %rdx
movsd -0x8(%rbp), %xmm0
leaq 0x29a137(%rip), %rax    # 0x39e800
movq (%rax), %rcx
leaq 0x296d2d(%rip), %rdi    # 0x39b400
leaq 0x88d75(%rip), %rsi     # 0x18d44f
movb $0x1, %al
callq 0x9060
jmp 0x10484c
movsd -0x8(%rbp), %xmm0
movsd 0x6a94d(%rip), %xmm1    # 0x16f040
ucomisd %xmm1, %xmm0
jae 0x104708
movsd 0x7ea17(%rip), %xmm0    # 0x183118
ucomisd -0x8(%rbp), %xmm0
jb 0x104735
movq -0x10(%rbp), %rdx
movsd -0x8(%rbp), %xmm0
leaq 0x29a0e8(%rip), %rax    # 0x39e800
movq (%rax), %rcx
leaq 0x296cde(%rip), %rdi    # 0x39b400
leaq 0x88d34(%rip), %rsi     # 0x18d45d
movb $0x1, %al
callq 0x9060
jmp 0x10484a
movsd -0x8(%rbp), %xmm0
movsd 0x6a9a6(%rip), %xmm1    # 0x16f0e8
ucomisd %xmm1, %xmm0
jae 0x104757
movsd 0x6a9a0(%rip), %xmm0    # 0x16f0f0
ucomisd -0x8(%rbp), %xmm0
jb 0x104784
movq -0x10(%rbp), %rdx
movsd -0x8(%rbp), %xmm0
leaq 0x29a099(%rip), %rax    # 0x39e800
movq (%rax), %rcx
leaq 0x296c8f(%rip), %rdi    # 0x39b400
leaq 0x88cf3(%rip), %rsi     # 0x18d46b
movb $0x1, %al
callq 0x9060
jmp 0x104848
movsd -0x8(%rbp), %xmm0
movsd 0x6a967(%rip), %xmm1    # 0x16f0f8
ucomisd %xmm1, %xmm0
jae 0x1047a6
movsd 0x6a961(%rip), %xmm0    # 0x16f100
ucomisd -0x8(%rbp), %xmm0
jb 0x1047d0
movq -0x10(%rbp), %rdx
movsd -0x8(%rbp), %xmm0
leaq 0x29a04a(%rip), %rax    # 0x39e800
movq (%rax), %rcx
leaq 0x296c40(%rip), %rdi    # 0x39b400
leaq 0x88cb2(%rip), %rsi     # 0x18d479
movb $0x1, %al
callq 0x9060
jmp 0x104846
movsd -0x8(%rbp), %xmm0
movsd 0x6a853(%rip), %xmm1    # 0x16f030
ucomisd %xmm1, %xmm0
jae 0x1047f2
movsd 0x6a91d(%rip), %xmm0    # 0x16f108
ucomisd -0x8(%rbp), %xmm0
jb 0x10481c
movq -0x10(%rbp), %rdx
movsd -0x8(%rbp), %xmm0
leaq 0x299ffe(%rip), %rax    # 0x39e800
movq (%rax), %rcx
leaq 0x296bf4(%rip), %rdi    # 0x39b400
leaq 0x88c74(%rip), %rsi     # 0x18d487
movb $0x1, %al
callq 0x9060
jmp 0x104844
movq -0x10(%rbp), %rdx
movsd -0x8(%rbp), %xmm0
leaq 0x299fd4(%rip), %rax    # 0x39e800
movq (%rax), %rcx
leaq 0x296bca(%rip), %rdi    # 0x39b400
leaq 0x88c58(%rip), %rsi     # 0x18d495
movb $0x1, %al
callq 0x9060
jmp 0x104846
jmp 0x104848
jmp 0x10484a
jmp 0x10484c
jmp 0x10484e
movl $0x1, %edi
movl $0xf, %edx
leaq 0x296ba1(%rip), %rcx    # 0x39b400
movl %edx, %esi
callq 0x10ee0
jmp 0x105181
leaq 0x267bba(%rip), %rax    # 0x36c42c
cmpl $0x0, (%rax)
jne 0x1048b2
leaq 0x2673b6(%rip), %rax    # 0x36bc34
cmpl $0x0, (%rax)
jne 0x1048b2
callq 0x83ad0
cmpl $0x0, %eax
je 0x104892
jmp 0x104bf4
movl $0x1, %edi
movl $0xf, %esi
movl $0x8, %edx
leaq 0x88bfb(%rip), %rcx     # 0x18d4a3
callq 0x10ee0
jmp 0x10517f
leaq 0x1731f7(%rip), %rax    # 0x277ab0
cmpq $0x1, (%rax)
jne 0x1048cb
leaq 0x1758ee(%rip), %rax    # 0x27a1b4
cmpl $0x41, (%rax)
je 0x10493a
leaq 0x1731de(%rip), %rax    # 0x277ab0
cmpq $0x1, (%rax)
jne 0x1048f0
leaq 0x1758d5(%rip), %rax    # 0x27a1b4
cmpl $0x41, (%rax)
jne 0x1048f0
leaq 0x1731ed(%rip), %rax    # 0x277ad8
cmpl $0x47, (%rax)
je 0x10493a
leaq 0x1731b9(%rip), %rax    # 0x277ab0
cmpq $0x1, (%rax)
jne 0x104921
leaq 0x1758b0(%rip), %rax    # 0x27a1b4
cmpl $0x41, (%rax)
jne 0x104921
leaq 0x1731c8(%rip), %rax    # 0x277ad8
cmpl $0x33, (%rax)
je 0x10493a
leaq 0x1731bc(%rip), %rax    # 0x277ad8
cmpl $0x47, (%rax)
je 0x10493a
leaq 0x173188(%rip), %rax    # 0x277ab0
cmpq $0x1, (%rax)
jne 0x104990
leaq 0x17587f(%rip), %rax    # 0x27a1b4
cmpl $0x50, (%rax)
jne 0x104990
movq -0x10(%rbp), %rax
movq %rax, -0x20(%rbp)
movsd -0x8(%rbp), %xmm0
callq 0x18200
movq -0x20(%rbp), %rdx
movq %rax, %rcx
leaq 0x26780e(%rip), %rax    # 0x36c168
movzbl (%rax), %r8d
leaq 0x296a9b(%rip), %rdi    # 0x39b400
leaq 0x88b47(%rip), %rsi     # 0x18d4b3
movb $0x0, %al
callq 0x9060
movl $0x1, %edi
movl $0xf, %edx
leaq 0x296a7c(%rip), %rcx    # 0x39b400
movl %edx, %esi
callq 0x10ee0
jmp 0x10517d
leaq 0x173119(%rip), %rax    # 0x277ab0
cmpq $0x80000, (%rax)        # imm = 0x80000
jne 0x104bc8
jmp 0x1049a6
leaq 0x267a83(%rip), %rax    # 0x36c430
cmpl $0x0, (%rax)
je 0x1049e3
leaq 0x2673cf(%rip), %rax    # 0x36bd88
movsd (%rax), %xmm0
callq 0x18200
movq %rax, %rcx
leaq 0x296a34(%rip), %rdi    # 0x39b400
leaq 0x88aeb(%rip), %rsi     # 0x18d4be
leaq 0x88aee(%rip), %rdx     # 0x18d4c8
movb $0x0, %al
callq 0x9060
jmp 0x1049f8
leaq 0x296a16(%rip), %rdi    # 0x39b400
leaq 0x91cc9(%rip), %rsi     # 0x1966ba
movb $0x0, %al
callq 0x9060
movl $0x1, %edi
movl $0xf, %edx
leaq 0x2969f7(%rip), %rcx    # 0x39b400
movl %edx, %esi
callq 0x10ee0
leaq 0x267379(%rip), %rax    # 0x36bd90
movsd (%rax), %xmm0
callq 0x18200
movq %rax, %rcx
leaq 0x2969d6(%rip), %rdi    # 0x39b400
leaq 0x88a8d(%rip), %rsi     # 0x18d4be
leaq 0x889dd(%rip), %rdx     # 0x18d415
movb $0x0, %al
callq 0x9060
movl $0x2, %edi
movl $0xf, %edx
leaq 0x2969b0(%rip), %rcx    # 0x39b400
movl %edx, %esi
callq 0x10ee0
leaq 0x2679da(%rip), %rax    # 0x36c438
cmpl $0x0, (%rax)
je 0x104a94
leaq 0x26732e(%rip), %rax    # 0x36bd98
movsd (%rax), %xmm0
callq 0x18200
movq %rax, %rcx
leaq 0x296983(%rip), %rdi    # 0x39b400
leaq 0x88a3a(%rip), %rsi     # 0x18d4be
leaq 0x88a44(%rip), %rdx     # 0x18d4cf
movb $0x0, %al
callq 0x9060
jmp 0x104aa9
leaq 0x296965(%rip), %rdi    # 0x39b400
leaq 0x91c18(%rip), %rsi     # 0x1966ba
movb $0x0, %al
callq 0x9060
movl $0x3, %edi
movl $0xf, %edx
leaq 0x296946(%rip), %rcx    # 0x39b400
movl %edx, %esi
callq 0x10ee0
leaq 0x267974(%rip), %rax    # 0x36c43c
cmpl $0x0, (%rax)
je 0x104afd
leaq 0x2672a4(%rip), %rax    # 0x36bd78
movsd (%rax), %xmm0
leaq 0xb8241(%rip), %rax     # 0x1bcd20
movq 0xda0(%rax), %rdx
leaq 0x296913(%rip), %rdi    # 0x39b400
leaq 0x889e2(%rip), %rsi     # 0x18d4d6
movb $0x1, %al
callq 0x9060
jmp 0x104b12
leaq 0x2968fc(%rip), %rdi    # 0x39b400
leaq 0x91baf(%rip), %rsi     # 0x1966ba
movb $0x0, %al
callq 0x9060
movl $0x4, %edi
movl $0xf, %edx
leaq 0x2968dd(%rip), %rcx    # 0x39b400
movl %edx, %esi
callq 0x10ee0
leaq 0x26790f(%rip), %rax    # 0x36c440
cmpl $0x0, (%rax)
je 0x104b96
leaq 0x26764b(%rip), %rax    # 0x36c188
movq (%rax), %rax
movsbl (%rax), %eax
cmpl $0x66, %eax
jne 0x104b6f
leaq 0x267231(%rip), %rax    # 0x36bd80
movsd (%rax), %xmm0
callq 0x183b0
leaq 0x2968a1(%rip), %rdi    # 0x39b400
leaq 0x88980(%rip), %rsi     # 0x18d4e6
movb $0x1, %al
callq 0x9060
jmp 0x104b94
leaq 0x26720a(%rip), %rax    # 0x36bd80
movsd (%rax), %xmm0
callq 0x183b0
leaq 0x29687a(%rip), %rdi    # 0x39b400
leaq 0x88968(%rip), %rsi     # 0x18d4f5
movb $0x1, %al
callq 0x9060
jmp 0x104bab
leaq 0x296863(%rip), %rdi    # 0x39b400
leaq 0x91b16(%rip), %rsi     # 0x1966ba
movb $0x0, %al
callq 0x9060
movl $0x5, %edi
movl $0xf, %edx
leaq 0x296844(%rip), %rcx    # 0x39b400
movl %edx, %esi
callq 0x10ee0
jmp 0x10517b
movsd -0x8(%rbp), %xmm0
movsd 0x6a533(%rip), %xmm1    # 0x16f108
ucomisd %xmm1, %xmm0
jbe 0x105125
movsd 0x6a469(%rip), %xmm0    # 0x16f050
ucomisd -0x8(%rbp), %xmm0
jbe 0x105125
jmp 0x104bf4
movq -0x10(%rbp), %rax
movq %rax, -0x28(%rbp)
movsd -0x8(%rbp), %xmm0
callq 0x18200
movq -0x28(%rbp), %rdx
movq %rax, %rcx
leaq 0x267554(%rip), %rax    # 0x36c168
movzbl (%rax), %r8d
leaq 0x2967e1(%rip), %rdi    # 0x39b400
leaq 0x8888d(%rip), %rsi     # 0x18d4b3
movb $0x0, %al
callq 0x9060
leaq 0x172e7c(%rip), %rax    # 0x277ab0
cmpq $0x10, (%rax)
jne 0x104cb6
leaq 0x17557f(%rip), %rax    # 0x27a1c0
cmpl $0x4e, (%rax)
jne 0x104cb6
movsd -0x8(%rbp), %xmm0
movsd 0x7e65d(%rip), %xmm1    # 0x1832b0
ucomisd %xmm1, %xmm0
jbe 0x104c74
movq -0x10(%rbp), %rdx
leaq 0x29679c(%rip), %rdi    # 0x39b400
leaq 0x88899(%rip), %rsi     # 0x18d504
movb $0x0, %al
callq 0x9060
jmp 0x104cb4
xorps %xmm0, %xmm0
ucomisd -0x8(%rbp), %xmm0
jbe 0x104c99
movq -0x10(%rbp), %rdx
leaq 0x296777(%rip), %rdi    # 0x39b400
leaq 0x88881(%rip), %rsi     # 0x18d511
movb $0x0, %al
callq 0x9060
jmp 0x104cb2
movq -0x10(%rbp), %rdx
leaq 0x29675c(%rip), %rdi    # 0x39b400
leaq 0x88873(%rip), %rsi     # 0x18d51e
movb $0x0, %al
callq 0x9060
jmp 0x104cb4
jmp 0x104cb6
leaq 0x172df3(%rip), %rax    # 0x277ab0
cmpq $0x1000000, (%rax)      # imm = 0x1000000
jne 0x104d62
xorps %xmm0, %xmm0
ucomisd -0x8(%rbp), %xmm0
ja 0x104ce7
movsd -0x8(%rbp), %xmm0
movsd 0x7e5e7(%rip), %xmm1    # 0x1832c8
ucomisd %xmm1, %xmm0
jb 0x104d04
movl $0x1, %edi
movl $0xf, %esi
movl $0xc, %edx
leaq 0x296703(%rip), %rcx    # 0x39b400
callq 0x10ee0
jmp 0x104d5d
movsd 0x6c974(%rip), %xmm0    # 0x171680
ucomisd -0x8(%rbp), %xmm0
ja 0x104d26
movsd -0x8(%rbp), %xmm0
movsd 0x7e5a8(%rip), %xmm1    # 0x1832c8
ucomisd %xmm1, %xmm0
jb 0x104d43
movl $0x1, %edi
movl $0xf, %esi
movl $0xe, %edx
leaq 0x2966c4(%rip), %rcx    # 0x39b400
callq 0x10ee0
jmp 0x104d5b
movl $0x1, %edi
movl $0xf, %edx
leaq 0x2966ac(%rip), %rcx    # 0x39b400
movl %edx, %esi
callq 0x10ee0
jmp 0x104d5d
jmp 0x105123
leaq 0x172d47(%rip), %rax    # 0x277ab0
cmpq $0x2000000, (%rax)      # imm = 0x2000000
jne 0x104fbd
leaq 0x175117(%rip), %rax    # 0x279e94
cmpl $0x0, (%rax)
je 0x104e6f
leaq 0x17510b(%rip), %rax    # 0x279e98
cmpl $0x0, (%rax)
je 0x104e6f
movsd -0x8(%rbp), %xmm1
movsd 0x6a3bd(%rip), %xmm0    # 0x16f160
leaq 0x1752a6(%rip), %rax    # 0x27a050
addsd (%rax), %xmm0
ucomisd %xmm1, %xmm0
ja 0x104dd6
movsd -0x8(%rbp), %xmm0
leaq 0x175298(%rip), %rax    # 0x27a058
movsd (%rax), %xmm1
movsd 0x6a394(%rip), %xmm2    # 0x16f160
subsd %xmm2, %xmm1
ucomisd %xmm1, %xmm0
jb 0x104df3
movl $0x1, %edi
movl $0xf, %esi
movl $0xc, %edx
leaq 0x296614(%rip), %rcx    # 0x39b400
callq 0x10ee0
jmp 0x104e6a
movsd -0x8(%rbp), %xmm1
movsd 0x6a2c0(%rip), %xmm0    # 0x16f0c0
leaq 0x175249(%rip), %rax    # 0x27a050
addsd (%rax), %xmm0
ucomisd %xmm1, %xmm0
ja 0x104e33
movsd -0x8(%rbp), %xmm0
leaq 0x17523b(%rip), %rax    # 0x27a058
movsd (%rax), %xmm1
movsd 0x6a297(%rip), %xmm2    # 0x16f0c0
subsd %xmm2, %xmm1
ucomisd %xmm1, %xmm0
jb 0x104e50
movl $0x1, %edi
movl $0xf, %esi
movl $0xe, %edx
leaq 0x2965b7(%rip), %rcx    # 0x39b400
callq 0x10ee0
jmp 0x104e68
movl $0x1, %edi
movl $0xf, %edx
leaq 0x29659f(%rip), %rcx    # 0x39b400
movl %edx, %esi
callq 0x10ee0
jmp 0x104e6a
jmp 0x104fb8
leaq 0x1750aa(%rip), %rax    # 0x279f20
cmpl $0x1, (%rax)
jne 0x104f1c
movsd 0x6a289(%rip), %xmm0    # 0x16f110
ucomisd -0x8(%rbp), %xmm0
ja 0x104ea1
movsd -0x8(%rbp), %xmm0
movsd 0x7e435(%rip), %xmm1    # 0x1832d0
ucomisd %xmm1, %xmm0
jb 0x104ebe
movl $0x1, %edi
movl $0xf, %esi
movl $0xc, %edx
leaq 0x296549(%rip), %rcx    # 0x39b400
callq 0x10ee0
jmp 0x104f17
movsd 0x6a312(%rip), %xmm0    # 0x16f1d8
ucomisd -0x8(%rbp), %xmm0
ja 0x104ee0
movsd -0x8(%rbp), %xmm0
movsd 0x7e3d6(%rip), %xmm1    # 0x1832b0
ucomisd %xmm1, %xmm0
jb 0x104efd
movl $0x1, %edi
movl $0xf, %esi
movl $0xe, %edx
leaq 0x29650a(%rip), %rcx    # 0x39b400
callq 0x10ee0
jmp 0x104f15
movl $0x1, %edi
movl $0xf, %edx
leaq 0x2964f2(%rip), %rcx    # 0x39b400
movl %edx, %esi
callq 0x10ee0
jmp 0x104f17
jmp 0x104fb6
movsd 0x7e39c(%rip), %xmm0    # 0x1832c0
ucomisd -0x8(%rbp), %xmm0
ja 0x104f3e
movsd -0x8(%rbp), %xmm0
movsd 0x7e390(%rip), %xmm1    # 0x1832c8
ucomisd %xmm1, %xmm0
jb 0x104f5b
movl $0x1, %edi
movl $0xf, %esi
movl $0xc, %edx
leaq 0x2964ac(%rip), %rcx    # 0x39b400
callq 0x10ee0
jmp 0x104fb4
movsd 0x7dd0d(%rip), %xmm0    # 0x182c70
ucomisd -0x8(%rbp), %xmm0
ja 0x104f7d
movsd -0x8(%rbp), %xmm0
movsd 0x7e359(%rip), %xmm1    # 0x1832d0
ucomisd %xmm1, %xmm0
jb 0x104f9a
movl $0x1, %edi
movl $0xf, %esi
movl $0xe, %edx
leaq 0x29646d(%rip), %rcx    # 0x39b400
callq 0x10ee0
jmp 0x104fb2
movl $0x1, %edi
movl $0xf, %edx
leaq 0x296455(%rip), %rcx    # 0x39b400
movl %edx, %esi
callq 0x10ee0
jmp 0x104fb4
jmp 0x104fb6
jmp 0x104fb8
jmp 0x105121
leaq 0x172aec(%rip), %rax    # 0x277ab0
cmpq $0x20, (%rax)
jne 0x104fe7
movl $0x1, %edi
movl $0xf, %edx
leaq 0x296425(%rip), %rcx    # 0x39b400
movl %edx, %esi
callq 0x10ee0
jmp 0x10511f
xorps %xmm0, %xmm0
ucomisd -0x8(%rbp), %xmm0
ja 0x105004
movsd -0x8(%rbp), %xmm0
movsd 0x6a01a(%rip), %xmm1    # 0x16f018
ucomisd %xmm1, %xmm0
jb 0x105009
jmp 0x10511d
leaq 0x172aa0(%rip), %rax    # 0x277ab0
cmpq $0x100000, (%rax)       # imm = 0x100000
jne 0x105075
movsd 0x6a13f(%rip), %xmm0    # 0x16f160
ucomisd -0x8(%rbp), %xmm0
ja 0x10503b
movsd -0x8(%rbp), %xmm0
movsd 0x69fe3(%rip), %xmm1    # 0x16f018
ucomisd %xmm1, %xmm0
jb 0x105058
movl $0x1, %edi
movl $0xf, %esi
movl $0xe, %edx
leaq 0x2963af(%rip), %rcx    # 0x39b400
callq 0x10ee0
jmp 0x105070
movl $0x1, %edi
movl $0xf, %edx
leaq 0x296397(%rip), %rcx    # 0x39b400
movl %edx, %esi
callq 0x10ee0
jmp 0x10511b
movsd 0x6a0e3(%rip), %xmm0    # 0x16f160
ucomisd -0x8(%rbp), %xmm0
ja 0x105097
movsd -0x8(%rbp), %xmm0
movsd 0x7e227(%rip), %xmm1    # 0x1832b8
ucomisd %xmm1, %xmm0
jb 0x1050b4
movl $0x1, %edi
movl $0xf, %esi
movl $0xe, %edx
leaq 0x296353(%rip), %rcx    # 0x39b400
callq 0x10ee0
jmp 0x105119
leaq 0x172a25(%rip), %rax    # 0x277ae0
cmpl $0x0, (%rax)
jne 0x1050ff
movsd 0x69ff8(%rip), %xmm0    # 0x16f0c0
ucomisd -0x8(%rbp), %xmm0
ja 0x1050e2
movsd -0x8(%rbp), %xmm0
movsd 0x6a0ec(%rip), %xmm1    # 0x16f1c8
ucomisd %xmm1, %xmm0
jb 0x1050ff
movl $0x1, %edi
movl $0xf, %esi
movl $0xe, %edx
leaq 0x296308(%rip), %rcx    # 0x39b400
callq 0x10ee0
jmp 0x105117
movl $0x1, %edi
movl $0xf, %edx
leaq 0x2962f0(%rip), %rcx    # 0x39b400
movl %edx, %esi
callq 0x10ee0
jmp 0x105119
jmp 0x10511b
jmp 0x10511d
jmp 0x10511f
jmp 0x105121
jmp 0x105123
jmp 0x105179
movq -0x10(%rbp), %rax
movq %rax, -0x30(%rbp)
movsd -0x8(%rbp), %xmm0
callq 0x18200
movq -0x30(%rbp), %rdx
movq %rax, %rcx
leaq 0x267023(%rip), %rax    # 0x36c168
movzbl (%rax), %r8d
leaq 0x2962b0(%rip), %rdi    # 0x39b400
leaq 0x8835c(%rip), %rsi     # 0x18d4b3
movb $0x0, %al
callq 0x9060
movl $0x1, %edi
movl $0xf, %esi
movl $0xc, %edx
leaq 0x29628c(%rip), %rcx    # 0x39b400
callq 0x10ee0
jmp 0x10517b
jmp 0x10517d
jmp 0x10517f
jmp 0x105181
jmp 0x105183
jmp 0x105185
addq $0x30, %rsp
popq %rbp
retq
nopl (%rax,%rax)