// File: /workspace/github_cpp_makefile_star2_O3/jkingan[P]ladyheather/heathui.cpp
// Function: change_plot_param(int, int)
int change_plot_param(int c, int cmd_line)
{
    // this routine acts upon the plot control commands

    if(c < 0x0100) c = tolower(c);

    if(getting_plot == (-1)) {  // changing location mode - GL commands
       new_lla_mode = 1;
       if(c == 'a') {   // auto-scale LLA scattergram
          autoscale_lla ^= 1;
          change_lla_scale();
          rebuild_lla_plot(0);
//        plot_loc = 1;
          need_redraw = 4327;
       }
       else if(c == 'd') {  // decimal location
          dms = DECIMAL_FMT;
          plot_loc = 1;
          need_redraw = 1204;
       }
       else if(c == 'e') { // ECEF location
          dms = ECEF_FMT;
          plot_loc = 1;
          need_redraw = 1204;
       }
       else if(c == 'f') {  // scale in feet
          alt_scale = "ft";
          LLA_SPAN = last_lla_span = 10.0;  // lla plot scale in feet per division
          ANGLE_SCALE = DEG_PER_FOOT;       // degrees per foot
          angle_units = "ft";
          rebuild_lla_plot(0);
          plot_loc = 1;
          need_redraw = 1201;
       }
       else if(c == 'g') {   // Grads
          dms = GRAD_FMT;
          plot_loc = 1;
          need_redraw = 1208;
       }
       else if(c == 'h') {   // Ham radio Maidenhead grid square
          dms = GRIDSQ_FMT;
          plot_loc = 1;
          need_redraw = 1202;
       }
       else if(c == 'i') {   // Mils (6400 per cicrle)
          dms = MIL_FMT;
          plot_loc = 1;
          need_redraw = 1202;
       }
       else if(c == 'l') {
          alt_scale = "lg";
          LLA_SPAN = last_lla_span = 3.0;
          ANGLE_SCALE = ((DEG_PER_FOOT)*LG_PER_METER); // degrees per meter
          angle_units = "lg";
          rebuild_lla_plot(0);
          plot_loc = 1;
          need_redraw = 1291;
       }
       else if(c == 'm') {
          alt_scale = "m";
          LLA_SPAN = last_lla_span = 3.0;
          ANGLE_SCALE = ((DEG_PER_FOOT)*FEET_PER_METER); // degrees per meter
          angle_units = "m";
          rebuild_lla_plot(0);
          plot_loc = 1;
          need_redraw = 1201;
       }
       else if(c == 'n') {   // NATO (MGRS)
          dms = NATO_FMT;
          plot_loc = 1;
          need_redraw = 1203;
       }
       else if(c == 'p') {   // GLP - engage privacy mode
          plot_loc = toggle_value(plot_loc);
          need_redraw = 7723;
       }
       else if(c == 'r') {   // radians
          dms = RADIAN_FMT;
          plot_loc = 1;
          need_redraw = 1203;
       }
       else if(c == 's') {   // degrees minutes seconds
          dms = DMS_FMT;
          plot_loc = 1;
          need_redraw = 1204;
       }
       else if(c == 't') {   // show earth tides
          show_tides ^= 1;
          user_show_tides = 1;
          plot_loc = 1;
          need_redraw = 7724;
rebuild_lla_plot(0);  // ckckckck
       }
       else if(c == 'u') {   // UTM
          dms = UTM_FMT;
          plot_loc = 1;
          need_redraw = 1205;
       }
       else if((c == ESC_CHAR) || (c == ' ')) {
       }
       else if(cmd_line) return 1;
       else {
          getting_plot = 0;
          sprintf(out, "Invalid location display command: %c", c);
          edit_error(out);
       }
       if(cmd_line) return 0;
    }
    else if((c == 0x0D) || (c == getting_plot)) {  // toggle plot
//!!!!!if(selected_plot == FFT) plot[selected_plot].show_plot = 1;
       toggle_plot(selected_plot);
    }
    else if(c == 'a') {  // autoscale (all plots)
       auto_scale = toggle_value(auto_scale);
       auto_center = auto_scale;
       set_auto_scale();
    }
    else if(c == 'c') {  // graph color
       getting_plot = 0;
       edit_buffer[0] = 0;
       sprintf(edit_buffer, "%d", plot[selected_plot].plot_color);
       sprintf(out, "Enter color for %s graph (0-15):", plot[selected_plot].plot_id);
       start_edit(COLOR_CMD, out);
       return 1;
    }
#ifdef FFT_STUFF
    else if(c == 'f') {
       fft_type = FFT_TYPE;
       if(selected_plot != FFT) {
          plot[FFT].show_plot = 1;
          calc_fft(selected_plot);
          dump_fft_plot();
       }
    }
#endif
    else if(c == 'g') {  // g acts like an ignore
    }
    else if(c == 'h') {
       fft_type = HIST_TYPE;
       plot[FFT].show_plot = 1;
       calc_fft(selected_plot);
       dump_hist_plot();
    }
    else if(c == 'i') {  // invert plot
       plot[selected_plot].invert_plot *= (-1.0F);
    }
    else if(c == 'l') {  // trend line
       plot[selected_plot].show_trend = toggle_value(plot[selected_plot].show_trend);
       if(plot[selected_plot].show_trend) {
          plot[selected_plot].show_deriv = 0;    // turn off derivatice mode
          plot[selected_plot].show_freq = 0;
          plot[selected_plot].drift_rate = 0.0;  // turn off trend line mode
          show_trend_info(selected_plot);
       }
       else if(title_type == OTHER) {
          plot_title[0] = 0;
          title_type = NONE;
       }
    }
    else if(c == '/') {
       getting_plot = 0;
       all_plots = 0;
       edit_buffer[0] = 0;
       edit_info1 =         "                             miN)   maX)   sP)an      ?)all";
       start_edit(STAT_CMD, "Select statistic to display: A)vg   R)ms   S)td dev   V)ar   <cr>=hide");
       return 1;
    }
    else if((c == 'm') || (c == 's') || (c == 'f')) {  // modify scale factor
       getting_plot = 0;
       edit_scale();
       return 1;
    }
    else if(c == 'x') {  // toggle scale modes
       plot[selected_plot].user_scale = toggle_value(plot[selected_plot].user_scale);
       plot[selected_plot].float_center = toggle_value(plot[selected_plot].float_center);
       plot[selected_plot].user_set_float = 1;
    }
    else if((c == 'z') || (c == 'r')) {  // zero reference line
       getting_plot = 0;
       edit_ref();
       return 1;
    }
    else if(c == '+') {  // move graph up
       move_plot_up();
    }
    else if(c == '-') {  // move graph down
       move_plot_down();
    }
    else if(c == '{') {  // make plot smaller
       shrink_plot();
    }
    else if(c == '}') {  // make plot bigger
       grow_plot();
    }
    else if(c == '=') {  // remove dift rate
       getting_plot = 0;
       edit_drift();
       return 1;
    }
    else if(c == '*') {  // show plot derivative
       plot[selected_plot].show_deriv ^= 1;
       plot[selected_plot].show_freq = 0;
       if(plot[selected_plot].show_deriv) plot[selected_plot].drift_rate = 0.0;
    }
    else if(c == '#') {  // show frequency
       if(tie_plot(selected_plot)) {
          plot[selected_plot].show_freq ^= 1;
          plot[selected_plot].show_deriv = 0;
          if(plot[selected_plot].show_deriv) plot[selected_plot].drift_rate = 0.0;
       }
       else {
          getting_plot = 0;
          if(rcvr_type == PRS_RCVR) {
             edit_error("Can only display OSC plot as frequency");
          }
          else if(rcvr_type == TICC_RCVR) {
             edit_error("Can only display TIE plots as frequency");
          }
          else {
             edit_error("Cannot display plot as frequency");
          }
       }
    }
//  else if((c == '&') && luxor && cal_mode) {
    else if((c == '&') && luxor) {
       getting_plot = 0;
       edit_cal();
       return 1;
    }
    else if(c == '~') {  // deglitch plot
       getting_plot = 0;
       sprintf(edit_buffer, "%g", DEFAULT_DEGLITCH_SIGMA);
       sprintf(out, "Enter %s plot deglitch standard deviation sigma threshold. (ESC ESC to abort)", plot[selected_plot].plot_id);
       start_edit(DEGLITCH_CMD, out);
       return 1;
    }
    else if(c == '?') {
       show_all_stats ^= 1;
       erase_debug_info();
    }
    else if((c == ESC_CHAR) || (c == ' ')) {
    }
    else {
       getting_plot = 0;
       sprintf(out, "Invalid plot command: %c", c);
       edit_error(out);
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movl %esi, %ebx
movl %edi, %edx
cmpl $0xff, %edi
jg 0x3a0b3
movl %edx, %edi
callq 0x9580
movl %eax, %edx
movl 0x308883(%rip), %eax    # 0x34293c
cmpl $-0x1, %eax
je 0x3a0e0
cmpl $0xd, %edx
setne %cl
cmpl %eax, %edx
setne %al
testb %al, %cl
jne 0x3a12a
leaq 0x305c84(%rip), %rax    # 0x33fd58
movl (%rax), %edi
callq 0x32f37
jmp 0x3a6bd
leaq 0x1e12fc(%rip), %rax    # 0x21b3e3
movb $0x1, (%rax)
leal -0x61(%rdx), %eax
cmpl $0x14, %eax
ja 0x3a156
leaq 0xd249f(%rip), %rcx     # 0x10c598
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x3011ab(%rip), %rax    # 0x33b2b4
xorb $0x1, (%rax)
callq 0xfc28e
xorl %edi, %edi
callq 0xfc4c8
leaq 0x1de725(%rip), %rax    # 0x218844
movl $0x10e7, (%rax)         # imm = 0x10E7
jmp 0x3a6b7
leal -0x61(%rdx), %eax
cmpl $0x17, %eax
ja 0x3a1a4
leaq 0xd23ff(%rip), %rcx     # 0x10c538
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movl $0x0, 0x3087f0(%rip)    # 0x34293c
callq 0x2eead
jmp 0x3a36c
cmpl $0x1b, %edx
je 0x3a6b7
cmpl $0x20, %edx
je 0x3a6b7
movl $0x1, %eax
testl %ebx, %ebx
jne 0x3a6ce
movl $0x0, 0x3087bd(%rip)    # 0x34293c
leaq 0x30209a(%rip), %rbx    # 0x33c220
leaq 0xdcb26(%rip), %rsi     # 0x116cb3
movq %rbx, %rdi
xorl %eax, %eax
callq 0x9060
movq %rbx, %rdi
callq 0x23027
jmp 0x3a6bd
cmpl $0x2f, %edx
jne 0x3a1e3
xorl %eax, %eax
movl %eax, 0x30878b(%rip)    # 0x34293c
movl %eax, 0x308679(%rip)    # 0x342830
leaq 0x305122(%rip), %rax    # 0x33f2e0
movb $0x0, (%rax)
leaq 0xdcb31(%rip), %rax     # 0x116cf9
leaq 0x305411(%rip), %rcx    # 0x33f5e0
movq %rax, (%rcx)
leaq 0xdcb5c(%rip), %rsi     # 0x116d35
movl $0x7e, %edi
jmp 0x3a367
movl %edx, %eax
andl $-0x9, %eax
cmpl $0x72, %eax
jne 0x3a6d3
movl $0x0, 0x308741(%rip)    # 0x34293c
callq 0x2f056
jmp 0x3a36c
leaq 0x1e11c8(%rip), %rbx    # 0x21b3d4
movzbl (%rbx), %edi
callq 0x34013
movb %al, (%rbx)
leaq 0x1e11b8(%rip), %rcx    # 0x21b3d5
movb %al, (%rcx)
xorl %ecx, %ecx
leaq 0x123b08(%rip), %rdx    # 0x15dd30
testb %al, %al
je 0x3a240
movl $0x1, 0xdc(%rdx,%rcx)
movl $0x1, %edi
xorl %esi, %esi
jmp 0x3a247
movl $0x1, %esi
xorl %edi, %edi
movl %esi, 0x30(%rdx,%rcx)
movl %edi, 0x1c(%rdx,%rcx)
addq $0xe8, %rcx
cmpq $0x1220, %rcx           # imm = 0x1220
jne 0x3a228
jmp 0x3a6bd
leaq 0x1e1212(%rip), %rax    # 0x21b47d
movb $0x1, (%rax)
leaq 0x123abb(%rip), %rax    # 0x15dd30
movl $0x1, 0xcc8(%rax)
leaq 0x305ad2(%rip), %rax    # 0x33fd58
movl (%rax), %edi
callq 0x10881f
callq 0x108da1
jmp 0x3a6bd
leaq 0x305aba(%rip), %rbx    # 0x33fd58
movslq (%rbx), %rax
imulq $0xe8, %rax, %rax
leaq 0x123a81(%rip), %r14    # 0x15dd30
movzbl 0x30(%r14,%rax), %edi
callq 0x34013
movzbl %al, %eax
movslq (%rbx), %rcx
imulq $0xe8, %rcx, %rcx
movl %eax, 0x30(%r14,%rcx)
movzbl 0x1c(%r14,%rcx), %edi
callq 0x34013
movzbl %al, %eax
movslq (%rbx), %rcx
imulq $0xe8, %rcx, %rcx
movl %eax, 0x1c(%r14,%rcx)
movl $0x1, 0xdc(%r14,%rcx)
jmp 0x3a6bd
movl $0x0, 0x308638(%rip)    # 0x34293c
leaq 0x304fd5(%rip), %rdi    # 0x33f2e0
movb $0x0, (%rdi)
leaq 0x305a43(%rip), %rbx    # 0x33fd58
movslq (%rbx), %rax
imulq $0xe8, %rax, %rax
leaq 0x123a0a(%rip), %r14    # 0x15dd30
movl 0x20(%r14,%rax), %edx
leaq 0xe9c22(%rip), %rsi     # 0x123f54
xorl %eax, %eax
callq 0x9060
movslq (%rbx), %rax
imulq $0xe8, %rax, %rax
movq (%r14,%rax), %rdx
leaq 0x301ed2(%rip), %rbx    # 0x33c220
leaq 0xdc983(%rip), %rsi     # 0x116cd8
movq %rbx, %rdi
xorl %eax, %eax
callq 0x9060
movl $0x67, %edi
movq %rbx, %rsi
callq 0x2bf98
movl $0x1, %eax
jmp 0x3a6ce
leaq 0x3059db(%rip), %rax    # 0x33fd58
movslq (%rax), %rax
imulq $0xe8, %rax, %rax
leaq 0x1239a2(%rip), %rcx    # 0x15dd30
movsd 0x48(%rcx,%rax), %xmm0
xorpd 0xcee14(%rip), %xmm0    # 0x1091b0
movlpd %xmm0, 0x48(%rcx,%rax)
jmp 0x3a6bd
leaq 0x1e10cf(%rip), %rax    # 0x21b47d
movb $0x0, (%rax)
leaq 0x3059a0(%rip), %rax    # 0x33fd58
movl (%rax), %edi
cmpl $0xe, %edi
je 0x3a6bd
leaq 0x123966(%rip), %rax    # 0x15dd30
movl $0x1, 0xcc8(%rax)
callq 0x10881f
callq 0x108649
jmp 0x3a6bd
leaq 0x30596e(%rip), %r14    # 0x33fd58
movslq (%r14), %rax
imulq $0xe8, %rax, %rax
leaq 0x123935(%rip), %rbx    # 0x15dd30
movzbl 0xc8(%rbx,%rax), %edi
callq 0x34013
movzbl %al, %ecx
movslq (%r14), %rdi
imulq $0xe8, %rdi, %rax
movl %ecx, 0xc8(%rbx,%rax)
testb %cl, %cl
je 0x3a707
xorl %ecx, %ecx
movq %rcx, 0xcc(%rbx,%rax)
movq %rcx, 0xa0(%rbx,%rax)
callq 0x39e1a
jmp 0x3a6bd
leaq 0x2d2b69(%rip), %rax    # 0x30cfb0
movb $0x4, (%rax)
jmp 0x3a6a0
leaq 0x2d2b5a(%rip), %rax    # 0x30cfb0
movb $0x1, %cl
movb %cl, (%rax)
leaq 0x1e0f81(%rip), %rax    # 0x21b3e2
movb %cl, (%rax)
jmp 0x3a53c
leaq 0xdd126(%rip), %rax     # 0x117595
leaq 0x2d2b32(%rip), %rcx    # 0x30cfa8
movq %rax, (%rcx)
leaq 0x300e38(%rip), %rcx    # 0x33b2b8
movabsq $0x4008000000000000, %rdx # imm = 0x4008000000000000
movq %rdx, (%rcx)
leaq 0x300dfc(%rip), %rcx    # 0x33b290
movq %rdx, (%rcx)
leaq 0x2d2b1a(%rip), %rcx    # 0x30cfb8
movabsq $0x3ee2d6cb21b5f0ac, %rdx # imm = 0x3EE2D6CB21B5F0AC
jmp 0x3a58e
leaq 0x2d2afc(%rip), %rax    # 0x30cfb0
movb $0x0, (%rax)
jmp 0x3a532
leaq 0x2d2af0(%rip), %rax    # 0x30cfb0
movb $0x3, (%rax)
leaq 0x1e0f18(%rip), %rax    # 0x21b3e2
movb $0x1, (%rax)
leaq 0x1de370(%rip), %rax    # 0x218844
movl $0x4b5, (%rax)          # imm = 0x4B5
jmp 0x3a6b7
leaq 0x2d2b9a(%rip), %rax    # 0x30d080
xorb $0x1, (%rax)
leaq 0x2d2b98(%rip), %rax    # 0x30d088
movl $0x1, (%rax)
leaq 0x1e0ee5(%rip), %rax    # 0x21b3e2
movb $0x1, (%rax)
leaq 0x1de33d(%rip), %rax    # 0x218844
movl $0x1e2c, (%rax)         # imm = 0x1E2C
xorl %edi, %edi
callq 0xfc4c8
jmp 0x3a6b7
leaq 0x2d2a90(%rip), %rax    # 0x30cfb0
movb $0x7, (%rax)
jmp 0x3a65b
leaq 0x2d2a81(%rip), %rax    # 0x30cfb0
movb $0x8, (%rax)
leaq 0x1e0ea9(%rip), %rax    # 0x21b3e2
movb $0x1, (%rax)
leaq 0x1de301(%rip), %rax    # 0x218844
movl $0x4b4, (%rax)          # imm = 0x4B4
jmp 0x3a6b7
leaq 0xea565(%rip), %rax     # 0x124aba
leaq 0x2d2a4c(%rip), %rcx    # 0x30cfa8
movq %rax, (%rcx)
leaq 0x300d52(%rip), %rcx    # 0x33b2b8
movabsq $0x4024000000000000, %rdx # imm = 0x4024000000000000
movq %rdx, (%rcx)
leaq 0x300d16(%rip), %rcx    # 0x33b290
movq %rdx, (%rcx)
leaq 0x2d2a34(%rip), %rcx    # 0x30cfb8
movabsq $0x3ec6f7f3270dbac6, %rdx # imm = 0x3EC6F7F3270DBAC6
movq %rdx, (%rcx)
leaq 0x2d2a28(%rip), %rcx    # 0x30cfc0
movq %rax, (%rcx)
xorl %edi, %edi
callq 0xfc4c8
leaq 0x1e0e39(%rip), %rax    # 0x21b3e2
movb $0x1, (%rax)
leaq 0x1de291(%rip), %rax    # 0x218844
movl $0x4b1, (%rax)          # imm = 0x4B1
jmp 0x3a6b7
leaq 0x2d29eb(%rip), %rax    # 0x30cfb0
movb $0x5, (%rax)
leaq 0x1e0e13(%rip), %rax    # 0x21b3e2
movb $0x1, (%rax)
leaq 0x1de26b(%rip), %rax    # 0x218844
movl $0x4b8, (%rax)          # imm = 0x4B8
jmp 0x3a6b7
leaq 0xf8b1a(%rip), %rax     # 0x133105
leaq 0x2d29b6(%rip), %rcx    # 0x30cfa8
movq %rax, (%rcx)
leaq 0x300cbc(%rip), %rcx    # 0x33b2b8
movabsq $0x4008000000000000, %rdx # imm = 0x4008000000000000
movq %rdx, (%rcx)
leaq 0x300c80(%rip), %rcx    # 0x33b290
movq %rdx, (%rcx)
leaq 0x2d299e(%rip), %rcx    # 0x30cfb8
movabsq $0x3ef481fc97ce9f99, %rdx # imm = 0x3EF481FC97CE9F99
movq %rdx, (%rcx)
leaq 0x2d2992(%rip), %rcx    # 0x30cfc0
movq %rax, (%rcx)
xorl %edi, %edi
callq 0xfc4c8
leaq 0x1e0da3(%rip), %rax    # 0x21b3e2
movb $0x1, (%rax)
leaq 0x1de1fb(%rip), %rax    # 0x218844
movl $0x50b, (%rax)          # imm = 0x50B
jmp 0x3a6b7
leaq 0x2d2958(%rip), %rax    # 0x30cfb0
movb $0x2, (%rax)
leaq 0x1e0d80(%rip), %rax    # 0x21b3e2
movb $0x1, (%rax)
leaq 0x1de1d8(%rip), %rax    # 0x218844
movl $0x4b2, (%rax)          # imm = 0x4B2
jmp 0x3a6b7
leaq 0x1e0d67(%rip), %r14    # 0x21b3e2
movzbl (%r14), %edi
callq 0x34013
movb %al, (%r14)
leaq 0x1de1b6(%rip), %rax    # 0x218844
movl $0x1e2b, (%rax)         # imm = 0x1E2B
jmp 0x3a6b7
leaq 0x2d2913(%rip), %rax    # 0x30cfb0
movb $0x6, (%rax)
leaq 0x1e0d3b(%rip), %rax    # 0x21b3e2
movb $0x1, (%rax)
leaq 0x1de193(%rip), %rax    # 0x218844
movl $0x4b3, (%rax)          # imm = 0x4B3
xorl %eax, %eax
testl %ebx, %ebx
jne 0x3a6ce
callq 0xab54
movl $0x0, 0x308270(%rip)    # 0x34293c
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
cmpl $0x2c, %edx
jle 0x3a725
cmpl $0x7a, %edx
jg 0x3a77a
cmpl $0x2d, %edx
je 0x3a828
cmpl $0x3d, %edx
jne 0x3a7fb
movl $0x0, 0x30823f(%rip)    # 0x34293c
callq 0x2ef7a
jmp 0x3a36c
leaq 0x304bbe(%rip), %rax    # 0x33f2cc
cmpl $0x3, (%rax)
jne 0x3a6bd
leaq 0x304136(%rip), %rcx    # 0x33e850
movb $0x0, (%rcx)
movl $0x0, (%rax)
jmp 0x3a6bd
cmpl $0x23, %edx
je 0x3a7bc
cmpl $0x2a, %edx
je 0x3a8a8
cmpl $0x2b, %edx
jne 0x3a7fb
leaq 0x305611(%rip), %rax    # 0x33fd58
movslq (%rax), %rax
imulq $0xe8, %rax, %rax
leaq 0x1235d8(%rip), %rcx    # 0x15dd30
movl $0x1, %edx
movl %edx, 0x30(%rcx,%rax)
movsd 0x28(%rcx,%rax), %xmm0
subsd 0x3081f1(%rip), %xmm0   # 0x342960
movsd %xmm0, 0x28(%rcx,%rax)
jmp 0x3a894
cmpl $0x7b, %edx
je 0x3a85f
cmpl $0x7d, %edx
jne 0x3a7fb
leaq 0x3055c9(%rip), %rax    # 0x33fd58
movslq (%rax), %rax
imulq $0xe8, %rax, %rax
leaq 0x123590(%rip), %rcx    # 0x15dd30
movl $0x1, %edx
movl %edx, 0x30(%rcx,%rax)
movsd 0x38(%rcx,%rax), %xmm0
subsd 0x3081a1(%rip), %xmm0   # 0x342958
jmp 0x3a88e
leaq 0x305595(%rip), %rbx    # 0x33fd58
movl (%rbx), %edi
callq 0x13c3e
testl %eax, %eax
je 0x3a914
movslq (%rbx), %rax
imulq $0xe8, %rax, %rax
leaq 0x12354d(%rip), %rcx    # 0x15dd30
xorl $0x1, 0xd0(%rcx,%rax)
movl $0x0, 0xcc(%rcx,%rax)
jmp 0x3a6bd
cmpl $0x26, %edx
jne 0x3a8f8
leaq 0x204733(%rip), %rax    # 0x23ef3e
cmpb $0x0, (%rax)
je 0x3a8f8
movl $0x0, 0x30811e(%rip)    # 0x34293c
callq 0x2f136
jmp 0x3a36c
movsd 0x308130(%rip), %xmm0   # 0x342960
leaq 0x305521(%rip), %rax    # 0x33fd58
movslq (%rax), %rax
imulq $0xe8, %rax, %rax
leaq 0x1234e8(%rip), %rcx    # 0x15dd30
addsd 0x28(%rcx,%rax), %xmm0
movsd %xmm0, 0x28(%rcx,%rax)
movl $0x1, %edx
movl %edx, 0x30(%rcx,%rax)
jmp 0x3a894
leaq 0x3054f2(%rip), %rax    # 0x33fd58
movslq (%rax), %rax
imulq $0xe8, %rax, %rax
leaq 0x1234b9(%rip), %rcx    # 0x15dd30
movl $0x1, %edx
movl %edx, 0x30(%rcx,%rax)
movsd 0x3080d0(%rip), %xmm0   # 0x342958
addsd 0x38(%rcx,%rax), %xmm0
movsd %xmm0, 0x38(%rcx,%rax)
movl $0x0, 0x1c(%rcx,%rax)
movl %edx, 0xdc(%rcx,%rax)
jmp 0x3a6bd
leaq 0x3054a9(%rip), %rax    # 0x33fd58
movslq (%rax), %rax
imulq $0xe8, %rax, %rax
leaq 0x123470(%rip), %rcx    # 0x15dd30
movl 0xcc(%rcx,%rax), %edx
movl %edx, %esi
xorl $0x1, %esi
movl %esi, 0xcc(%rcx,%rax)
movl $0x0, 0xd0(%rcx,%rax)
cmpl $0x1, %edx
je 0x3a6bd
movq $0x0, 0xa0(%rcx,%rax)
jmp 0x3a6bd
cmpl $0x3e, %edx
jg 0x3a94c
cmpl $0x1b, %edx
je 0x3a6bd
cmpl $0x20, %edx
je 0x3a6bd
jmp 0x3a9d7
movl $0x0, 0x30801e(%rip)    # 0x34293c
leaq 0x1ddfab(%rip), %rax    # 0x2188d0
movq (%rax), %rax
cmpq $0x10000, %rax          # imm = 0x10000
je 0x3a9bf
cmpq $0x1000000, %rax        # imm = 0x1000000
jne 0x3a9cb
leaq 0xdc435(%rip), %rdi     # 0x116d7c
jmp 0x3a19a
cmpl $0x3f, %edx
je 0x3a9f4
cmpl $0x7e, %edx
jne 0x3a9d7
movl $0x0, 0x307fd8(%rip)    # 0x34293c
leaq 0x304975(%rip), %rdi    # 0x33f2e0
leaq 0xf4b65(%rip), %rsi     # 0x12f4d7
movsd 0xd108e(%rip), %xmm0    # 0x10ba08
movb $0x1, %al
callq 0x9060
leaq 0x3053d0(%rip), %rax    # 0x33fd58
movslq (%rax), %rax
imulq $0xe8, %rax, %rax
leaq 0x123397(%rip), %rcx    # 0x15dd30
movq (%rcx,%rax), %rdx
leaq 0x30187c(%rip), %rbx    # 0x33c220
leaq 0xdc441(%rip), %rsi     # 0x116dec
movq %rbx, %rdi
xorl %eax, %eax
callq 0x9060
movl $0x161, %edi            # imm = 0x161
jmp 0x3a364
leaq 0xdc3dd(%rip), %rdi     # 0x116da3
jmp 0x3a19a
leaq 0xdc3f9(%rip), %rdi     # 0x116dcb
jmp 0x3a19a
movl $0x0, 0x307f5b(%rip)    # 0x34293c
leaq 0x301838(%rip), %rbx    # 0x33c220
leaq 0xdc44b(%rip), %rsi     # 0x116e3a
jmp 0x3a18d
leaq 0x305365(%rip), %rax    # 0x33fd60
xorb $0x1, (%rax)
leaq 0x303f9b(%rip), %rax    # 0x33e9a0
xorl %ecx, %ecx
movb %cl, (%rax)
leaq 0x3040e0(%rip), %rax    # 0x33eaf0
movb %cl, (%rax)
leaq 0x304227(%rip), %rax    # 0x33ec40
movb %cl, (%rax)
leaq 0x30436e(%rip), %rax    # 0x33ed90
movb %cl, (%rax)
leaq 0x3044b5(%rip), %rax    # 0x33eee0
movb %cl, (%rax)
leaq 0x3045fc(%rip), %rax    # 0x33f030
movb %cl, (%rax)
leaq 0x304743(%rip), %rax    # 0x33f180
movb %cl, (%rax)
jmp 0x3a6bd