// File: /workspace/github_cpp_makefile_star2_O1/jkingan[P]ladyheather/heathgps.cpp
// Function: parse_scpi_status_test()
void parse_scpi_status_test()
{

   // parse the STATUS message self test line

   scpi_self_test = 0;
   scpi_int_power = 0;
   scpi_oven_power = 0;
   scpi_ocxo = 0;
   scpi_efc = 0;
   scpi_gps = 0;

   if(strstr(scpi_status_line, "SELF TEST:")) {
      if(strstr(scpi_status_line, "SELF TEST: OK")) scpi_self_test = 1;
      have_scpi_self_test = 1;
   }

   if(strstr(scpi_status_line, "INT PWR:")) {
      if(strstr(scpi_status_line, "INT PWR: OK")) scpi_int_power = 1;
      have_scpi_int_power = 1;
   }

   if(strstr(scpi_status_line, "OVEN PWR:")) {
      if(strstr(scpi_status_line, "OVEN PWR: OK")) scpi_oven_power = 1;
      have_scpi_oven_power = 1;
   }

   if(strstr(scpi_status_line, "OCXO:")) {
      if(strstr(scpi_status_line, "OCXO: OK")) scpi_ocxo = 1;
      have_scpi_ocxo = 1;
   }

   if(strstr(scpi_status_line, "EFC:")) {
      if(strstr(scpi_status_line, "EFC: OK")) scpi_efc = 1;
      have_scpi_efc = 1;
   }

   if(strstr(scpi_status_line, "GPS RCV:")) {
      if(strstr(scpi_status_line, "GPS RCV: OK")) scpi_gps = 1;
      have_scpi_gps = 1;
   }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
leaq 0x26d6fe(%rip), %rbx    # 0x30d464
xorl %eax, %eax
movl %eax, (%rbx)
leaq 0x26d6f7(%rip), %r13    # 0x30d468
movl %eax, (%r13)
leaq 0x26d6f0(%rip), %r12    # 0x30d46c
movl %eax, (%r12)
leaq 0x26d6e9(%rip), %r15    # 0x30d470
movl %eax, (%r15)
leaq 0x26d6e3(%rip), %r14    # 0x30d474
movl %eax, (%r14)
leaq 0x26d6dd(%rip), %rcx    # 0x30d478
movl %eax, (%rcx)
leaq 0x2ccd9c(%rip), %rdi    # 0x36cb40
leaq 0x856af(%rip), %rsi     # 0x12545a
callq 0x9090
testq %rax, %rax
je 0x9fde0
leaq 0x2ccd84(%rip), %rdi    # 0x36cb40
leaq 0x856a2(%rip), %rsi     # 0x125465
callq 0x9090
testq %rax, %rax
je 0x9fdd3
movl $0x1, (%rbx)
leaq 0x26d6a2(%rip), %rax    # 0x30d47c
movl $0x1, (%rax)
leaq 0x2ccd59(%rip), %rdi    # 0x36cb40
leaq 0x85685(%rip), %rsi     # 0x125473
callq 0x9090
testq %rax, %rax
je 0x9fe25
leaq 0x2ccd41(%rip), %rdi    # 0x36cb40
leaq 0x85676(%rip), %rsi     # 0x12547c
callq 0x9090
testq %rax, %rax
je 0x9fe18
movl $0x1, (%r13)
leaq 0x26d661(%rip), %rax    # 0x30d480
movl $0x1, (%rax)
leaq 0x2ccd14(%rip), %rdi    # 0x36cb40
leaq 0x85655(%rip), %rsi     # 0x125488
callq 0x9090
testq %rax, %rax
je 0x9fe6a
leaq 0x2cccfc(%rip), %rdi    # 0x36cb40
leaq 0x85647(%rip), %rsi     # 0x125492
callq 0x9090
testq %rax, %rax
je 0x9fe5d
movl $0x1, (%r12)
leaq 0x26d620(%rip), %rax    # 0x30d484
movl $0x1, (%rax)
leaq 0x2ccccf(%rip), %rdi    # 0x36cb40
leaq 0x85627(%rip), %rsi     # 0x12549f
callq 0x9090
testq %rax, %rax
je 0x9feae
leaq 0x2cccb7(%rip), %rdi    # 0x36cb40
leaq 0x85615(%rip), %rsi     # 0x1254a5
callq 0x9090
testq %rax, %rax
je 0x9fea1
movl $0x1, (%r15)
leaq 0x26d5e0(%rip), %rax    # 0x30d488
movl $0x1, (%rax)
leaq 0x2ccc8b(%rip), %rdi    # 0x36cb40
leaq 0x855f2(%rip), %rsi     # 0x1254ae
callq 0x9090
testq %rax, %rax
je 0x9fef2
leaq 0x2ccc73(%rip), %rdi    # 0x36cb40
leaq 0x855df(%rip), %rsi     # 0x1254b3
callq 0x9090
testq %rax, %rax
je 0x9fee5
movl $0x1, (%r14)
leaq 0x26d5a0(%rip), %rax    # 0x30d48c
movl $0x1, (%rax)
leaq 0x2ccc47(%rip), %rdi    # 0x36cb40
leaq 0x855bb(%rip), %rsi     # 0x1254bb
callq 0x9090
testq %rax, %rax
je 0x9ff3c
leaq 0x2ccc2f(%rip), %rdi    # 0x36cb40
leaq 0x855ac(%rip), %rsi     # 0x1254c4
callq 0x9090
testq %rax, %rax
je 0x9ff2f
leaq 0x26d54f(%rip), %rax    # 0x30d478
movl $0x1, (%rax)
leaq 0x26d55a(%rip), %rax    # 0x30d490
movl $0x1, (%rax)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq