// File: /workspace/github_cpp_makefile_star2_O3/jkingan[P]ladyheather/heathui.cpp
// Function: config_prn_plots(int)
void config_prn_plots(int enable)
{
static char degs[2];

    degs[0] = DEGREES;
    degs[1] = 0;

    plot[ELEVEN].plot_id = "AZ";
    plot[ELEVEN].units = &degs[0];
    plot[ELEVEN].float_center = 1;

    plot[TWELVE].plot_id = "EL";
    plot[TWELVE].units = &degs[0];
    plot[TWELVE].float_center = 1;

    plot[THIRTEEN].plot_id = level_type; //level_type;
    plot[THIRTEEN].units = level_type;   //level_type;
    plot[THIRTEEN].float_center = 1;

    if(have_phase) {
       plot[FOURTEEN].plot_id = "Phase";
       plot[FOURTEEN].units = "cyc";
    }
    else if(have_range) {
       plot[FOURTEEN].plot_id = "Range";
       plot[FOURTEEN].units = "m";
    }
    else {
       plot[FOURTEEN].plot_id = "Grav";
       plot[FOURTEEN].units = "uGal";
    }
    plot[FOURTEEN].float_center = 1;

    plot[ELEVEN].show_plot = enable;
    plot[TWELVE].show_plot = enable;
    plot[THIRTEEN].show_plot = enable;
    plot[FOURTEEN].show_plot = enable;

    plot[ELEVEN].plot_color = ELEVEN_COLOR;
    plot[TWELVE].plot_color = TWELVE_COLOR;
    plot[THIRTEEN].plot_color = THIRTEEN_COLOR;
    plot[FOURTEEN].plot_color = FOURTEEN_COLOR;

    if((rcvr_type == THERMO_RCVR) || ((rcvr_type == TIDE_RCVR) && enviro_mode())) {
       plot[ADC3].plot_id = "ADC3";
       plot[ADC3].units = "V";
       plot[ADC3].ref_scale = (DATA_SIZE) 1.0;
       plot[ADC3].float_center = 1;

       plot[ADC4].plot_id = "ADC4";
       plot[ADC4].units = "V";
       plot[ADC4].ref_scale = (DATA_SIZE) 1.0;
       plot[ADC4].float_center = 1;
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movw $0x1, 0x3325eb(%rip)    # 0x36b864
leaq 0x3325e4(%rip), %rax    # 0x36b864
leaq 0xe4aeb(%rip), %rcx     # 0x11dd72
leaq 0x124aa2(%rip), %rbx    # 0x15dd30
movq %rcx, 0xd98(%rbx)
movq %rax, 0xda0(%rbx)
movl $0x1, %r14d
movl %r14d, 0xdb4(%rbx)
leaq 0xd0cfc(%rip), %rcx     # 0x109fac
movq %rcx, 0xe80(%rbx)
movq %rax, 0xe88(%rbx)
movl %r14d, 0xe9c(%rbx)
leaq 0x205c2c(%rip), %rax    # 0x23eef8
movq (%rax), %rax
movq %rax, 0xf68(%rbx)
movq %rax, 0xf70(%rbx)
movl %r14d, 0xf84(%rbx)
leaq 0x2d4059(%rip), %rax    # 0x30d344
leaq 0x2d4056(%rip), %rcx    # 0x30d348
cmpl $0x0, (%rcx)
leaq 0xe4a62(%rip), %rcx     # 0x11dd5e
leaq 0xe4a76(%rip), %rdx     # 0x11dd79
cmoveq %rcx, %rdx
leaq 0xe4a55(%rip), %rcx     # 0x11dd63
leaq 0xde280(%rip), %rsi     # 0x117595
cmoveq %rcx, %rsi
cmpl $0x0, (%rax)
leaq 0xf46ad(%rip), %rax     # 0x12d9d0
cmoveq %rdx, %rax
leaq 0xe4a47(%rip), %rcx     # 0x11dd75
cmoveq %rsi, %rcx
movq %rax, 0x1050(%rbx)
movq %rcx, 0x1058(%rbx)
movl %r14d, 0x106c(%rbx)
movl %edi, 0xdb0(%rbx)
movl %edi, 0xe98(%rbx)
movl %edi, 0xf80(%rbx)
movl %edi, 0x1068(%rbx)
movl $0x3, 0xdb8(%rbx)
movl $0x2, 0xea0(%rbx)
movl %r14d, 0xf88(%rbx)
movl $0x8, 0x1070(%rbx)
leaq 0x1df545(%rip), %rax    # 0x2188d0
movq (%rax), %rax
cmpq $0x80000, %rax          # imm = 0x80000
je 0x393a7
cmpq $0x800000, %rax         # imm = 0x800000
jne 0x393f1
callq 0x5f6cb
testl %eax, %eax
je 0x393f1
leaq 0xe49ba(%rip), %rax     # 0x11dd68
movq %rax, (%rbx)
leaq 0xf63bc(%rip), %rax     # 0x12f774
movq %rax, 0x8(%rbx)
movabsq $0x3ff0000000000000, %rcx # imm = 0x3FF0000000000000
movq %rcx, 0x10(%rbx)
movl %r14d, 0x1c(%rbx)
leaq 0xe4998(%rip), %rdx     # 0x11dd6d
movq %rdx, 0xe8(%rbx)
movq %rax, 0xf0(%rbx)
movq %rcx, 0xf8(%rbx)
movl %r14d, 0x104(%rbx)
popq %rbx
popq %r14
popq %rbp
retq