// File: /workspace/github_cpp_makefile_star2_O2/jkingan[P]ladyheather/heathgps.cpp
// Function: get_rcvr_message()
void get_rcvr_message()
{
   // get bytes from serial port and build up a receiver message.  When message
   // is complete, parse it and to what it says.
//NEW_RCVR

   if(need_msg_init) {
      init_messages(need_msg_init, 1);
   }

   if(1 && sim_eof && autoscale_lla) {  //llascale
      Sleep(200);
      show_mouse_lla();
      show_param_values(1); //simeof
   }  
   else if(rcvr_type == ACRON_RCVR)  get_acron_message();
   else if(rcvr_type == BRANDY_RCVR) get_brandy_message(); 
   else if(rcvr_type == CS_RCVR)     get_cs_message(); 
   else if(rcvr_type == ESIP_RCVR)   get_nmea_message();
   else if(rcvr_type == FURUNO_RCVR) get_nmea_message();
   else if(rcvr_type == GPSD_RCVR)   get_gpsd_message();
   else if(rcvr_type == LUXOR_RCVR)  get_tsip_message();
   else if(rcvr_type == LPFRS_RCVR)  get_prs_message(); 
   else if(rcvr_type == MOTO_RCVR)   get_moto_message();
   else if(rcvr_type == RT17_RCVR)   get_rt17_message();
   else if(rcvr_type == NMEA_RCVR)   get_nmea_message();
   else if(rcvr_type == NO_RCVR)     get_norcvr_message();
   else if(rcvr_type == NVS_RCVR)    get_nvs_message();    // NVS format is basically TSIP
   else if(rcvr_type == PRS_RCVR)    get_prs_message(); 
   else if(rcvr_type == RFTG_RCVR)   get_rftg_message(); 
   else if(rcvr_type == SCPI_RCVR)   get_scpi_message(); 
   else if(rcvr_type == SIRF_RCVR)   get_sirf_message(); 
   else if(rcvr_type == SA35_RCVR)   get_prs_message(); 
   else if(rcvr_type == SRO_RCVR)    get_prs_message(); 
   else if(rcvr_type == STAR_RCVR)   get_star_message(); 
   else if(rcvr_type == SS_RCVR)     get_ss_message(); 
   else if(rcvr_type == TAIP_RCVR)   get_taip_message();
   else if(rcvr_type == THERMO_RCVR) get_rcvr_enviro_message(RCVR_PORT);
   else if(rcvr_type == TICC_RCVR)   get_rcvr_ticc_message(RCVR_PORT);
   else if(rcvr_type == TIDE_RCVR)   get_norcvr_message(); 
   else if(rcvr_type == TM4_RCVR)    get_tm4_message(); 
   else if(rcvr_type == TRUE_RCVR)   get_nmea_message();
   else if(rcvr_type == TSERVE_RCVR) get_tserve_message();
   else if(rcvr_type == TSIP_RCVR)   get_tsip_message();
   else if(rcvr_type == UCCM_RCVR)   get_uccm_message();
   else if(rcvr_type == UBX_RCVR)    get_ubx_message();
   else if(rcvr_type == VENUS_RCVR)  get_venus_message();
   else if(rcvr_type == X72_RCVR)    get_x72_message(); 
   else if(rcvr_type == Z12_RCVR)    get_z12_message();
   else if(rcvr_type == ZODIAC_RCVR) get_zod_message();
   else if(rcvr_type == ZYFER_RCVR)  get_nmea_message();
   else                              get_unkn_message();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
leaq 0x15505a(%rip), %rax    # 0x205030
movl (%rax), %edi
testl %edi, %edi
je 0xaffe4
pushq $0x1
popq %rsi
callq 0x59afe
leaq 0x1783ed(%rip), %rax    # 0x2283d8
cmpl $0x0, (%rax)
je 0xb0014
leaq 0x2752bd(%rip), %rax    # 0x3252b4
cmpl $0x0, (%rax)
je 0xb0014
movl $0xc8, %edi
callq 0xae83
callq 0xe649e
pushq $0x1
popq %rdi
popq %rbp
jmp 0x6de0d
leaq 0x1528b5(%rip), %rax    # 0x2028d0
movq (%rax), %rax
leaq -0x1(%rax), %rcx
cmpq $0x7, %rcx
jbe 0xb01c9
cmpq $0x10, %rax
je 0xb0209
cmpq $0x20, %rax
je 0xb0203
cmpq $0x40, %rax
je 0xb020f
cmpq $0x80, %rax
je 0xb023c
cmpq $0x100, %rax            # imm = 0x100
je 0xb0248
cmpq $0x200, %rax            # imm = 0x200
je 0xb027b
cmpq $0x400, %rax            # imm = 0x400
je 0xb01eb
cmpq $0x800, %rax            # imm = 0x800
je 0xb0215
cmpq $0x1000, %rax           # imm = 0x1000
je 0xb022d
cmpq $0x2000, %rax           # imm = 0x2000
je 0xb01d9
movabsq $0x1000000000, %rcx     # imm = 0x1000000000
cmpq %rcx, %rax
je 0xb01e5
cmpq $0x8000, %rax           # imm = 0x8000
je 0xb026c
cmpq $0x10000, %rax          # imm = 0x10000
je 0xb0272
cmpq $0x20000, %rax          # imm = 0x20000
je 0xb0227
cmpq $0x40000, %rax          # imm = 0x40000
je 0xb0221
cmpq $0x80000, %rax          # imm = 0x80000
je 0xb0233
cmpq $0x100000, %rax         # imm = 0x100000
je 0xb01df
cmpq $0x200000, %rax         # imm = 0x200000
je 0xb01df
cmpq $0x400000, %rax         # imm = 0x400000
je 0xb0254
cmpq $0x800000, %rax         # imm = 0x800000
je 0xb01eb
cmpq $0x1000000, %rax        # imm = 0x1000000
je 0xb01e5
cmpq $0x2000000, %rax        # imm = 0x2000000
je 0xb021b
cmpq $0x8000000, %rax        # imm = 0x8000000
je 0xb01e5
cmpq $0x10000000, %rax       # imm = 0x10000000
je 0xb01e5
cmpq $0x20000000, %rax       # imm = 0x20000000
je 0xb01df
cmpq $0x40000000, %rax       # imm = 0x40000000
je 0xb0242
movl $0x80000000, %ecx       # imm = 0x80000000
cmpq %rcx, %rax
je 0xb01df
movabsq $0x100000000, %rcx      # imm = 0x100000000
cmpq %rcx, %rax
je 0xb024e
movabsq $0x200000000, %rcx      # imm = 0x200000000
cmpq %rcx, %rax
je 0xb025a
movabsq $0x400000000, %rcx      # imm = 0x400000000
cmpq %rcx, %rax
je 0xb0260
movabsq $0x800000000, %rcx      # imm = 0x800000000
cmpq %rcx, %rax
je 0xb0266
cmpq $0x4000, %rax           # imm = 0x4000
jne 0xb01fd
popq %rbp
jmp 0x96ee0
leaq 0x59d38(%rip), %rax     # 0x109f08
movslq (%rax,%rcx,4), %rcx
addq %rax, %rcx
jmpq *%rcx
popq %rbp
jmp 0x74115
popq %rbp
jmp 0x7a6ee
popq %rbp
jmp 0x8118b
popq %rbp
jmp 0x76a3e
popq %rbp
jmp 0x927c7
popq %rbp
jmp 0x8839d
popq %rbp
jmp 0x51aea
popq %rbp
jmp 0x8e797
popq %rbp
jmp 0x9129f
popq %rbp
jmp 0x88fd6
popq %rbp
jmp 0x99956
popq %rbp
jmp 0x82d40
popq %rbp
jmp 0x7e2c2
popq %rbp
jmp 0x92a96
popq %rbp
jmp 0x863bd
pushq $0xa
popq %rdi
popq %rbp
jmp 0x9c92d
popq %rbp
jmp 0x8a94f
popq %rbp
jmp 0x95205
popq %rbp
jmp 0x8bb09
popq %rbp
jmp 0x78cf4
popq %rbp
jmp 0x7cf4f
popq %rbp
jmp 0x7546c
popq %rbp
jmp 0x965df
popq %rbp
jmp 0x7bf4e
popq %rbp
jmp 0x94e47
pushq $0xa
popq %rdi
popq %rbp
jmp 0x9dd81
popq %rbp
jmp 0x9864e