// File: jkingan[P]ladyheather/heather.cpp
// Function: reset_queues(int, int)
void reset_queues(int queue_type, int why)
{
#ifdef ADEV_STUFF
int i;
int k;

// sprintf(debug_text2, "reset queue:%04x  why:%d", queue_type, why);

   if(queue_type & RESET_ADEV_Q) { // reset adev queue
      adev_q_in = 0;
      adev_q_out = 0;
      adev_q_count = 0;
      adev_time = 0;
      last_bin_count = 0;

      pps_adev_q_in = 0;
      pps_adev_q_out = 0;
      pps_adev_q_count = 0;
      pps_adev_q_overflow = 0.0;
      pps_adev_disp = 0; // ADEV_DISPLAY_RATE;

      osc_adev_q_in = 0;
      osc_adev_q_out = 0;
      osc_adev_q_count = 0;
      osc_adev_q_overflow = 0.0;
      osc_adev_disp = 0; // ADEV_DISPLAY_RATE;

      chc_adev_q_in = 0;
      chc_adev_q_out = 0;
      chc_adev_q_count = 0;
      chc_adev_q_overflow = 0.0;
      chc_adev_disp = 0; // ADEV_DISPLAY_RATE;

      chd_adev_q_in = 0;
      chd_adev_q_out = 0;
      chd_adev_q_count = 0;
      chd_adev_q_overflow = 0.0;
      chd_adev_disp = 0; // ADEV_DISPLAY_RATE;

      last_pps_bin_count = 0;
      last_osc_bin_count = 0;
      last_chc_bin_count = 0;
      last_chd_bin_count = 0;

      pps_bins.adev_type = 0;
      pps_bins.bin_count = 0;
      pps_bins.adev_min = 0.0;
      pps_bins.adev_max = 0.0;

      osc_bins.adev_type = 0;
      osc_bins.bin_count = 0;
      osc_bins.adev_min = 0.0;
      osc_bins.adev_max = 0.0;

      chc_bins.adev_type = 0;
      chc_bins.bin_count = 0;
      chc_bins.adev_min = 0.0;
      chc_bins.adev_max = 0.0;

      chd_bins.adev_type = 0;
      chd_bins.bin_count = 0;
      chd_bins.adev_min = 0.0;
      chd_bins.adev_max = 0.0;

      for(i=0; i<MAX_ADEV_BINS; i++) {
         pps_bins.adev_on[i] = 0;
         pps_bins.adev_taus[i] = 0.0;
         pps_bins.adev_bins[i] = 0.0;

         osc_bins.adev_on[i] = 0;
         osc_bins.adev_taus[i] = 0.0;
         osc_bins.adev_bins[i] = 0.0;

         chc_bins.adev_on[i] = 0;
         chc_bins.adev_taus[i] = 0.0;
         chc_bins.adev_bins[i] = 0.0;

         chd_bins.adev_on[i] = 0;
         chd_bins.adev_taus[i] = 0.0;
         chd_bins.adev_bins[i] = 0.0;
      }

      global_adev_max = (-(BIG_NUM));
      global_adev_min = (BIG_NUM);

      pps_base_value = 0.0;
      osc_base_value = 0.0;
      chc_base_value = 0.0;
      chd_base_value = 0.0;

      have_pps_base = 0;
      have_osc_base = 0;
      have_chc_base = 0;
      have_chd_base = 0;

      cha_ts_ref = chb_ts_ref = chc_ts_ref = chd_ts_ref = 0.0;
      cha_ts_sum = chb_ts_sum = chc_ts_sum = chd_ts_sum = 0.0;

      pps_phase = osc_phase = cha_phase = chb_phase = chc_phase = chd_phase = 0.0;
      pps_count = osc_count = cha_count = chb_count = chc_count = chd_count = 0.0;
      if(dont_reset_phase == 0) {  // reloaing adev queue from plot queue data
         last_cha_ts = last_chb_ts = last_chc_ts = last_chd_ts = 0.0;
         last_ticc_v1 = last_ticc_v2 = last_ticc_v3 = last_ticc_v4 = 0.0;
      }
      if((dont_reset_phase == 0) || (dont_reset_phase == 2)) {
         cha_phase_wrap_adj = 0.0;
         cha_last_wrap_phase = 0.0;
         chb_phase_wrap_adj = 0.0;
         chb_last_wrap_phase = 0.0;
         chc_phase_wrap_adj = 0.0;
         chc_last_wrap_phase = 0.0;
         chd_phase_wrap_adj = 0.0;
         chd_last_wrap_phase = 0.0;
      }

      cha_time2_sum = chb_time2_sum = 0.0;
      cha_time2_count = chb_time2_count = 0.0;
      msgofs_phase = msgjit_phase = 0.0;


      fudge_sum = fudge_count = 0.0;

      first_show_bin = 0;
      max_adev_width = 0;
      max_bins_shown = 0;

      reset_adev_bins();
      pps_adevs_cleared = 1;
      osc_adevs_cleared = 1;
      chc_adevs_cleared = 1;
      chd_adevs_cleared = 1;

      pps_tie = 0.0;           // Time Interval Errors
      osc_tie = 0.0;
      chc_tie = 0.0;
      chd_tie = 0.0;

      pps_resid = 0.0;         // phase residuals
      osc_resid = 0.0;
      chc_resid = 0.0;
      chd_resid = 0.0;
      last_pps_resid = 0.0;
      last_osc_resid = 0.0;
      last_chc_resid = 0.0;
      last_chd_resid = 0.0;

      for(k=0; k<NUM_PLOTS+DERIVED_PLOTS; k++) {  // reset plot queue residuals
         resid[k].sum_x        = (DATA_SIZE) 0.0;
         resid[k].sum_y        = (DATA_SIZE) 0.0;
         resid[k].sum_xx       = (DATA_SIZE) 0.0;
         resid[k].sum_yy       = (DATA_SIZE) 0.0;
         resid[k].sum_xy       = (DATA_SIZE) 0.0;
         resid[k].a0           = (DATA_SIZE) 0.0;
         resid[k].a1           = (DATA_SIZE) 0.0;
         resid[k].resid_count  = (DATA_SIZE) 0.0;
      }

      if(rcvr_type == TICC_RCVR) {  // aaaacccc
////     dac_voltage = 0.0;
         temperature = 0.0;
         have_osc_offset = 0;
         have_pps_offset = 0;
         have_chc_offset = 0;
         have_chd_offset = 0;
      }
///if(dont_reset_queues == 0) ticc_packets = 0;
      if(screen_active()) {
         force_adev_redraw(666);
         need_redraw = 666;
      }
   }

   if(queue_type & RESET_MTIE_Q) {
      if(TICC_USED || mtie_allocated) alloc_mtie(1);  // reset MTIE data structures by re-allocating them
   }
#endif

   if(queue_type & RESET_PLOT_Q) {  // reset plot queue
      plot_q_in = plot_q_out = 0;
      plot_q_count = 0;
      plot_q_full = 0;
      plot_time = 0;
      plot_start = 0;
      plot_column = 0;
      stat_count = 0.0F;
      clear_plot_entry((long) plot_q_in);

      min_q_lat = 90.0;
      max_q_lat = (-90.0);
      min_q_lon = 180.0;
      max_q_lon = (-180.0);
      have_valid_lla = 0;
      last_lla_span = 1.0;

      if(sim_file == 0) plot_title[0] = 0;  // reset plot title
      title_type = NONE;
      greet_ok = 1;

      reset_marks();
      rebuild_lla_plot(0);
      if(dont_reset_queues == 0) {
         ticc_packets = 0;
      }
   }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movl %edi, -0x4(%rbp)
movl %esi, -0x8(%rbp)
movl -0x4(%rbp), %eax
andl $0x1, %eax
cmpl $0x0, %eax
je 0x14c65
movq $0x0, 0x2877f0(%rip) # 0x29bcd8
movq $0x0, 0x2877ed(%rip) # 0x29bce0
movq $0x0, 0x2877ea(%rip) # 0x29bce8
movl $0x0, 0x2877ec(%rip)    # 0x29bcf4
movl $0x0, 0x2877e6(%rip)    # 0x29bcf8
movq $0x0, 0x2877eb(%rip) # 0x29bd08
movq $0x0, 0x2877e8(%rip) # 0x29bd10
movq $0x0, 0x2877e5(%rip) # 0x29bd18
xorps %xmm0, %xmm0
movsd %xmm0, 0x2877e2(%rip)   # 0x29bd20
movl $0x0, 0x2877e8(%rip)    # 0x29bd30
movq $0x0, 0x287805(%rip) # 0x29bd58
movq $0x0, 0x287802(%rip) # 0x29bd60
movq $0x0, 0x2877ff(%rip) # 0x29bd68
xorps %xmm0, %xmm0
movsd %xmm0, 0x2877fc(%rip)   # 0x29bd70
movl $0x0, 0x287802(%rip)    # 0x29bd80
movq $0x0, 0x28781f(%rip) # 0x29bda8
movq $0x0, 0x28781c(%rip) # 0x29bdb0
movq $0x0, 0x287819(%rip) # 0x29bdb8
xorps %xmm0, %xmm0
movsd %xmm0, 0x287816(%rip)   # 0x29bdc0
movl $0x0, 0x28781c(%rip)    # 0x29bdd0
movq $0x0, 0x287839(%rip) # 0x29bdf8
movq $0x0, 0x287836(%rip) # 0x29be00
movq $0x0, 0x287833(%rip) # 0x29be08
xorps %xmm0, %xmm0
movsd %xmm0, 0x287830(%rip)   # 0x29be10
movl $0x0, 0x28782e(%rip)    # 0x29be18
movl $0x0, 0x287740(%rip)    # 0x29bd34
movl $0x0, 0x287786(%rip)    # 0x29bd84
movl $0x0, 0x2877cc(%rip)    # 0x29bdd4
movl $0x0, 0x287816(%rip)    # 0x29be28
movb $0x0, 0x26e1e7(%rip)    # 0x282800
movl $0x0, 0x26e825(%rip)    # 0x282e48
xorps %xmm0, %xmm0
movss %xmm0, 0x26e81e(%rip)   # 0x282e4c
xorps %xmm0, %xmm0
movss %xmm0, 0x26e817(%rip)   # 0x282e50
movb $0x0, 0x26e818(%rip)    # 0x282e58
movl $0x0, 0x26ee56(%rip)    # 0x2834a0
xorps %xmm0, %xmm0
movss %xmm0, 0x26ee4f(%rip)   # 0x2834a4
xorps %xmm0, %xmm0
movss %xmm0, 0x26ee48(%rip)   # 0x2834a8
movb $0x0, 0x26ee49(%rip)    # 0x2834b0
movl $0x0, 0x26f487(%rip)    # 0x283af8
xorps %xmm0, %xmm0
movss %xmm0, 0x26f480(%rip)   # 0x283afc
xorps %xmm0, %xmm0
movss %xmm0, 0x26f479(%rip)   # 0x283b00
movb $0x0, 0x26f47a(%rip)    # 0x283b08
movl $0x0, 0x26fab8(%rip)    # 0x284150
xorps %xmm0, %xmm0
movss %xmm0, 0x26fab1(%rip)   # 0x284154
xorps %xmm0, %xmm0
movss %xmm0, 0x26faaa(%rip)   # 0x284158
movl $0x0, -0xc(%rbp)
cmpl $0x64, -0xc(%rbp)
jge 0x147d5
movslq -0xc(%rbp), %rcx
leaq 0x26e136(%rip), %rax    # 0x282800
movq $0x0, 0x328(%rax,%rcx,8)
movslq -0xc(%rbp), %rcx
leaq 0x26e11f(%rip), %rax    # 0x282800
xorps %xmm0, %xmm0
movss %xmm0, 0x4(%rax,%rcx,4)
movslq -0xc(%rbp), %rcx
leaq 0x26e10b(%rip), %rax    # 0x282800
xorps %xmm0, %xmm0
movss %xmm0, 0x194(%rax,%rcx,4)
movslq -0xc(%rbp), %rcx
leaq 0x26e74c(%rip), %rax    # 0x282e58
movq $0x0, 0x328(%rax,%rcx,8)
movslq -0xc(%rbp), %rcx
leaq 0x26e735(%rip), %rax    # 0x282e58
xorps %xmm0, %xmm0
movss %xmm0, 0x4(%rax,%rcx,4)
movslq -0xc(%rbp), %rcx
leaq 0x26e721(%rip), %rax    # 0x282e58
xorps %xmm0, %xmm0
movss %xmm0, 0x194(%rax,%rcx,4)
movslq -0xc(%rbp), %rcx
leaq 0x26ed62(%rip), %rax    # 0x2834b0
movq $0x0, 0x328(%rax,%rcx,8)
movslq -0xc(%rbp), %rcx
leaq 0x26ed4b(%rip), %rax    # 0x2834b0
xorps %xmm0, %xmm0
movss %xmm0, 0x4(%rax,%rcx,4)
movslq -0xc(%rbp), %rcx
leaq 0x26ed37(%rip), %rax    # 0x2834b0
xorps %xmm0, %xmm0
movss %xmm0, 0x194(%rax,%rcx,4)
movslq -0xc(%rbp), %rcx
leaq 0x26f378(%rip), %rax    # 0x283b08
movq $0x0, 0x328(%rax,%rcx,8)
movslq -0xc(%rbp), %rcx
leaq 0x26f361(%rip), %rax    # 0x283b08
xorps %xmm0, %xmm0
movss %xmm0, 0x4(%rax,%rcx,4)
movslq -0xc(%rbp), %rcx
leaq 0x26f34d(%rip), %rax    # 0x283b08
xorps %xmm0, %xmm0
movss %xmm0, 0x194(%rax,%rcx,4)
movl -0xc(%rbp), %eax
addl $0x1, %eax
movl %eax, -0xc(%rbp)
jmp 0x146b5
movsd 0x15a883(%rip), %xmm0   # 0x16f060
movsd %xmm0, 0x2874e3(%rip)   # 0x29bcc8
movsd 0x15a86b(%rip), %xmm0   # 0x16f058
movsd %xmm0, 0x2874db(%rip)   # 0x29bcd0
xorps %xmm0, %xmm0
movsd %xmm0, 0x26de90(%rip)   # 0x282690
xorps %xmm0, %xmm0
movsd %xmm0, 0x26de8d(%rip)   # 0x282698
xorps %xmm0, %xmm0
movsd %xmm0, 0x26de8a(%rip)   # 0x2826a0
xorps %xmm0, %xmm0
movsd %xmm0, 0x26de87(%rip)   # 0x2826a8
movl $0x0, 0x26de85(%rip)    # 0x2826b0
movl $0x0, 0x26de7f(%rip)    # 0x2826b4
movl $0x0, 0x26de79(%rip)    # 0x2826b8
movl $0x0, 0x26de73(%rip)    # 0x2826bc
xorps %xmm0, %xmm0
movsd %xmm0, 0x3571cc(%rip)   # 0x36ba20
xorps %xmm0, %xmm0
movsd %xmm0, 0x3571b9(%rip)   # 0x36ba18
xorps %xmm0, %xmm0
movsd %xmm0, 0x3571a6(%rip)   # 0x36ba10
xorps %xmm0, %xmm0
movsd %xmm0, 0x357193(%rip)   # 0x36ba08
xorps %xmm0, %xmm0
movsd %xmm0, 0x3571c0(%rip)   # 0x36ba40
xorps %xmm0, %xmm0
movsd %xmm0, 0x3571ad(%rip)   # 0x36ba38
xorps %xmm0, %xmm0
movsd %xmm0, 0x35719a(%rip)   # 0x36ba30
xorps %xmm0, %xmm0
movsd %xmm0, 0x357187(%rip)   # 0x36ba28
xorps %xmm0, %xmm0
movsd %xmm0, 0x357154(%rip)   # 0x36ba00
xorps %xmm0, %xmm0
movsd %xmm0, 0x357141(%rip)   # 0x36b9f8
xorps %xmm0, %xmm0
movsd %xmm0, 0x35712e(%rip)   # 0x36b9f0
xorps %xmm0, %xmm0
movsd %xmm0, 0x35711b(%rip)   # 0x36b9e8
xorps %xmm0, %xmm0
movsd %xmm0, 0x357108(%rip)   # 0x36b9e0
xorps %xmm0, %xmm0
movsd %xmm0, 0x3570f5(%rip)   # 0x36b9d8
xorps %xmm0, %xmm0
movsd %xmm0, 0x357192(%rip)   # 0x36ba80
xorps %xmm0, %xmm0
movsd %xmm0, 0x35717f(%rip)   # 0x36ba78
xorps %xmm0, %xmm0
movsd %xmm0, 0x35716c(%rip)   # 0x36ba70
xorps %xmm0, %xmm0
movsd %xmm0, 0x357159(%rip)   # 0x36ba68
xorps %xmm0, %xmm0
movsd %xmm0, 0x357146(%rip)   # 0x36ba60
xorps %xmm0, %xmm0
movsd %xmm0, 0x357133(%rip)   # 0x36ba58
cmpl $0x0, 0x1bb518(%rip)    # 0x1cfe44
jne 0x14986
xorps %xmm0, %xmm0
movsd %xmm0, 0x3571c7(%rip)   # 0x36bb00
xorps %xmm0, %xmm0
movsd %xmm0, 0x3571b4(%rip)   # 0x36baf8
xorps %xmm0, %xmm0
movsd %xmm0, 0x3571a1(%rip)   # 0x36baf0
xorps %xmm0, %xmm0
movsd %xmm0, 0x35718e(%rip)   # 0x36bae8
xorps %xmm0, %xmm0
movsd %xmm0, 0x35717b(%rip)   # 0x36bae0
xorps %xmm0, %xmm0
movsd %xmm0, 0x357168(%rip)   # 0x36bad8
xorps %xmm0, %xmm0
movsd %xmm0, 0x357155(%rip)   # 0x36bad0
xorps %xmm0, %xmm0
movsd %xmm0, 0x357142(%rip)   # 0x36bac8
cmpl $0x0, 0x1bb4b7(%rip)    # 0x1cfe44
je 0x14998
cmpl $0x2, 0x1bb4ae(%rip)    # 0x1cfe44
jne 0x149f0
xorps %xmm0, %xmm0
movsd %xmm0, 0x3571e5(%rip)   # 0x36bb88
xorps %xmm0, %xmm0
movsd %xmm0, 0x3571e2(%rip)   # 0x36bb90
xorps %xmm0, %xmm0
movsd %xmm0, 0x3571df(%rip)   # 0x36bb98
xorps %xmm0, %xmm0
movsd %xmm0, 0x3571dc(%rip)   # 0x36bba0
xorps %xmm0, %xmm0
movsd %xmm0, 0x3571d9(%rip)   # 0x36bba8
xorps %xmm0, %xmm0
movsd %xmm0, 0x3571d6(%rip)   # 0x36bbb0
xorps %xmm0, %xmm0
movsd %xmm0, 0x3571d3(%rip)   # 0x36bbb8
xorps %xmm0, %xmm0
movsd %xmm0, 0x3571d0(%rip)   # 0x36bbc0
xorps %xmm0, %xmm0
movsd %xmm0, 0x357095(%rip)   # 0x36ba90
xorps %xmm0, %xmm0
movsd %xmm0, 0x357082(%rip)   # 0x36ba88
xorps %xmm0, %xmm0
movsd %xmm0, 0x357097(%rip)   # 0x36baa8
xorps %xmm0, %xmm0
movsd %xmm0, 0x357084(%rip)   # 0x36baa0
xorps %xmm0, %xmm0
movsd %xmm0, 0x357029(%rip)   # 0x36ba50
xorps %xmm0, %xmm0
movsd %xmm0, 0x357016(%rip)   # 0x36ba48
xorps %xmm0, %xmm0
movsd %xmm0, 0x357073(%rip)   # 0x36bab0
xorps %xmm0, %xmm0
movsd %xmm0, 0x357050(%rip)   # 0x36ba98
movl $0x0, 0x28740e(%rip)    # 0x29be60
movl $0x0, 0x287410(%rip)    # 0x29be6c
movl $0x0, 0x28740a(%rip)    # 0x29be70
callq 0x15ee40
movl $0x1, 0x2873d3(%rip)    # 0x29be48
movl $0x1, 0x2873cd(%rip)    # 0x29be4c
movl $0x1, 0x2873c7(%rip)    # 0x29be50
movl $0x1, 0x2873c1(%rip)    # 0x29be54
xorps %xmm0, %xmm0
movsd %xmm0, 0x2872aa(%rip)   # 0x29bd48
xorps %xmm0, %xmm0
movsd %xmm0, 0x2872ef(%rip)   # 0x29bd98
xorps %xmm0, %xmm0
movsd %xmm0, 0x287334(%rip)   # 0x29bde8
xorps %xmm0, %xmm0
movsd %xmm0, 0x287381(%rip)   # 0x29be40
xorps %xmm0, %xmm0
movsd %xmm0, 0x28726e(%rip)   # 0x29bd38
xorps %xmm0, %xmm0
movsd %xmm0, 0x2872b3(%rip)   # 0x29bd88
xorps %xmm0, %xmm0
movsd %xmm0, 0x2872f8(%rip)   # 0x29bdd8
xorps %xmm0, %xmm0
movsd %xmm0, 0x287345(%rip)   # 0x29be30
xorps %xmm0, %xmm0
movsd %xmm0, 0x28724a(%rip)   # 0x29bd40
xorps %xmm0, %xmm0
movsd %xmm0, 0x28728f(%rip)   # 0x29bd90
xorps %xmm0, %xmm0
movsd %xmm0, 0x2872d4(%rip)   # 0x29bde0
xorps %xmm0, %xmm0
movsd %xmm0, 0x287321(%rip)   # 0x29be38
movl $0x0, -0x10(%rbp)
cmpl $0x14, -0x10(%rbp)
jge 0x14c05
movslq -0x10(%rbp), %rcx
leaq 0x389efd(%rip), %rax    # 0x39ea30
shlq $0x6, %rcx
addq %rcx, %rax
xorps %xmm0, %xmm0
movsd %xmm0, (%rax)
movslq -0x10(%rbp), %rcx
leaq 0x389ee4(%rip), %rax    # 0x39ea30
shlq $0x6, %rcx
addq %rcx, %rax
xorps %xmm0, %xmm0
movsd %xmm0, 0x8(%rax)
movslq -0x10(%rbp), %rcx
leaq 0x389eca(%rip), %rax    # 0x39ea30
shlq $0x6, %rcx
addq %rcx, %rax
xorps %xmm0, %xmm0
movsd %xmm0, 0x10(%rax)
movslq -0x10(%rbp), %rcx
leaq 0x389eb0(%rip), %rax    # 0x39ea30
shlq $0x6, %rcx
addq %rcx, %rax
xorps %xmm0, %xmm0
movsd %xmm0, 0x18(%rax)
movslq -0x10(%rbp), %rcx
leaq 0x389e96(%rip), %rax    # 0x39ea30
shlq $0x6, %rcx
addq %rcx, %rax
xorps %xmm0, %xmm0
movsd %xmm0, 0x20(%rax)
movslq -0x10(%rbp), %rcx
leaq 0x389e7c(%rip), %rax    # 0x39ea30
shlq $0x6, %rcx
addq %rcx, %rax
xorps %xmm0, %xmm0
movsd %xmm0, 0x28(%rax)
movslq -0x10(%rbp), %rcx
leaq 0x389e62(%rip), %rax    # 0x39ea30
shlq $0x6, %rcx
addq %rcx, %rax
xorps %xmm0, %xmm0
movsd %xmm0, 0x30(%rax)
movslq -0x10(%rbp), %rcx
leaq 0x389e48(%rip), %rax    # 0x39ea30
shlq $0x6, %rcx
addq %rcx, %rax
xorps %xmm0, %xmm0
movsd %xmm0, 0x38(%rax)
movl -0x10(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x10(%rbp)
jmp 0x14b1e
cmpq $0x10000, 0x262ea0(%rip) # imm = 0x10000
jne 0x14c45
xorps %xmm0, %xmm0
movsd %xmm0, 0x356fdb(%rip)   # 0x36bbf8
movl $0x0, 0x3577ed(%rip)    # 0x36c414
movl $0x0, 0x3577e7(%rip)    # 0x36c418
movl $0x0, 0x3577e1(%rip)    # 0x36c41c
movl $0x0, 0x3577db(%rip)    # 0x36c420
callq 0xeac0
cmpl $0x0, %eax
je 0x14c63
movl $0x29a, %edi            # imm = 0x29A
callq 0x127cf0
movl $0x29a, 0x262dc1(%rip)  # imm = 0x29A
jmp 0x14c65
movl -0x4(%rbp), %eax
andl $0x4, %eax
cmpl $0x0, %eax
je 0x14c9c
cmpq $0x10000, 0x262e35(%rip) # imm = 0x10000
je 0x14c90
callq 0x992e0
cmpl $0x0, %eax
jne 0x14c90
cmpl $0x0, 0x287236(%rip)    # 0x29bec4
je 0x14c9a
movl $0x1, %edi
callq 0x126f10
jmp 0x14c9c
movl -0x4(%rbp), %eax
andl $0x2, %eax
cmpl $0x0, %eax
je 0x14da6
movq $0x0, 0x26585a(%rip) # 0x27a510
movq $0x0, 0x265847(%rip) # 0x27a508
movq $0x0, 0x26584c(%rip) # 0x27a518
movb $0x0, 0x26584d(%rip)    # 0x27a520
movl $0x0, 0x26588f(%rip)    # 0x27a56c
movq $0x0, 0x265840(%rip) # 0x27a528
movl $0x0, 0x2658ba(%rip)    # 0x27a5ac
xorps %xmm0, %xmm0
movsd %xmm0, 0x357473(%rip)   # 0x36c170
movq 0x265804(%rip), %rdi    # 0x27a508
callq 0x13f30
movsd 0x15a377(%rip), %xmm0   # 0x16f088
movsd %xmm0, 0x3574c7(%rip)   # 0x36c1e0
movsd 0x15a35f(%rip), %xmm0   # 0x16f080
movsd %xmm0, 0x3574bf(%rip)   # 0x36c1e8
movsd 0x15a347(%rip), %xmm0   # 0x16f078
movsd %xmm0, 0x3574b7(%rip)   # 0x36c1f0
movsd 0x15a32f(%rip), %xmm0   # 0x16f070
movsd %xmm0, 0x3574af(%rip)   # 0x36c1f8
movl $0x0, 0x357751(%rip)    # 0x36c4a4
movsd 0x15a30d(%rip), %xmm0   # 0x16f068
movsd %xmm0, 0x385735(%rip)   # 0x39a498
cmpq $0x0, 0x288835(%rip)    # 0x29d5a0
jne 0x14d74
movb $0x0, 0x388cbc(%rip)    # 0x39da30
movl $0x0, 0x38972e(%rip)    # 0x39e4ac
movb $0x1, 0x38972b(%rip)    # 0x39e4b0
callq 0x14db0
xorl %edi, %edi
callq 0x15b8f0
cmpl $0x0, 0x1bb0a8(%rip)    # 0x1cfe40
jne 0x14da4
movl $0x0, 0x2893b8(%rip)    # 0x29e15c
jmp 0x14da6
addq $0x10, %rsp
popq %rbp
retq
nopl (%rax)