// File: /workspace/github_cpp_makefile_star2_O2/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, 0x31f71a(%rip)    # 0x355864
leaq 0x31f713(%rip), %rax    # 0x355864
leaq 0xd1c9a(%rip), %rcx     # 0x107df2
leaq 0x111bd1(%rip), %rbx    # 0x147d30
movq %rcx, 0xd98(%rbx)
movq %rax, 0xda0(%rbx)
pushq $0x1
popq %r14
movl %r14d, 0xdb4(%rbx)
leaq 0xbde7d(%rip), %rcx     # 0xf3ffc
movq %rcx, 0xe80(%rbx)
movq %rax, 0xe88(%rbx)
movl %r14d, 0xe9c(%rbx)
leaq 0x1f2d5d(%rip), %rax    # 0x228ef8
movq (%rax), %rax
movq %rax, 0xf68(%rbx)
movq %rax, 0xf70(%rbx)
movl %r14d, 0xf84(%rbx)
leaq 0x2c118a(%rip), %rax    # 0x2f7344
leaq 0x2c1187(%rip), %rcx    # 0x2f7348
cmpl $0x0, (%rcx)
leaq 0xd1c13(%rip), %rcx     # 0x107dde
leaq 0xd1c27(%rip), %rdx     # 0x107df9
cmoveq %rcx, %rdx
leaq 0xd1c06(%rip), %rcx     # 0x107de3
leaq 0xcb431(%rip), %rsi     # 0x101615
cmoveq %rcx, %rsi
cmpl $0x0, (%rax)
leaq 0xe16fe(%rip), %rax     # 0x1178f0
cmoveq %rdx, %rax
leaq 0xd1bf8(%rip), %rcx     # 0x107df5
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 0x1cc676(%rip), %rax    # 0x2028d0
movq (%rax), %rax
cmpq $0x80000, %rax          # imm = 0x80000
je 0x36276
cmpq $0x800000, %rax         # imm = 0x800000
jne 0x362c0
callq 0x57eca
testl %eax, %eax
je 0x362c0
leaq 0xd1b6b(%rip), %rax     # 0x107de8
movq %rax, (%rbx)
leaq 0xe340d(%rip), %rax     # 0x119694
movq %rax, 0x8(%rbx)
movabsq $0x3ff0000000000000, %rcx # imm = 0x3FF0000000000000
movq %rcx, 0x10(%rbx)
movl %r14d, 0x1c(%rbx)
leaq 0xd1b49(%rip), %rdx     # 0x107ded
movq %rdx, 0xe8(%rbx)
movq %rax, 0xf0(%rbx)
movq %rcx, 0xf8(%rbx)
movl %r14d, 0x104(%rbx)
popq %rbx
popq %r14
popq %rbp
retq