// File: /workspace/github_cpp_makefile_star2_O1/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, 0x3326bb(%rip)    # 0x36b864
leaq 0x3326b4(%rip), %rax    # 0x36b864
leaq 0xe4b27(%rip), %rcx     # 0x11dcde
leaq 0x124b72(%rip), %rbx    # 0x15dd30
movq %rcx, 0xd98(%rbx)
movq %rax, 0xda0(%rbx)
movl $0x1, %r14d
movl %r14d, 0xdb4(%rbx)
leaq 0xd0dbc(%rip), %rcx     # 0x109f9c
movq %rcx, 0xe80(%rbx)
movq %rax, 0xe88(%rbx)
movl %r14d, 0xe9c(%rbx)
leaq 0x205cfc(%rip), %rax    # 0x23eef8
movq (%rax), %rax
movq %rax, 0xf68(%rbx)
movq %rax, 0xf70(%rbx)
movl %r14d, 0xf84(%rbx)
leaq 0x2d4129(%rip), %rax    # 0x30d344
leaq 0x2d4126(%rip), %rcx    # 0x30d348
cmpl $0x0, (%rcx)
leaq 0xe4a9e(%rip), %rcx     # 0x11dcca
leaq 0xe4ab2(%rip), %rdx     # 0x11dce5
cmoveq %rcx, %rdx
leaq 0xe4a91(%rip), %rcx     # 0x11dccf
leaq 0xde2bc(%rip), %rsi     # 0x117501
cmoveq %rcx, %rsi
cmpl $0x0, (%rax)
leaq 0xf468d(%rip), %rax     # 0x12d8e0
cmoveq %rdx, %rax
leaq 0xe4a83(%rip), %rcx     # 0x11dce1
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 0x1df615(%rip), %rax    # 0x2188d0
movq (%rax), %rax
cmpq $0x80000, %rax          # imm = 0x80000
je 0x392d7
cmpq $0x800000, %rax         # imm = 0x800000
jne 0x39321
callq 0x5f743
testl %eax, %eax
je 0x39321
leaq 0xe49f6(%rip), %rax     # 0x11dcd4
movq %rax, (%rbx)
leaq 0xf639c(%rip), %rax     # 0x12f684
movq %rax, 0x8(%rbx)
movabsq $0x3ff0000000000000, %rcx # imm = 0x3FF0000000000000
movq %rcx, 0x10(%rbx)
movl %r14d, 0x1c(%rbx)
leaq 0xe49d4(%rip), %rdx     # 0x11dcd9
movq %rdx, 0xe8(%rbx)
movq %rax, 0xf0(%rbx)
movq %rcx, 0xf8(%rbx)
movl %r14d, 0x104(%rbx)
popq %rbx
popq %r14
popq %rbp
retq