// File: /workspace/github_cpp_makefile_star2_O1/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 0x15a77c(%rip), %rax    # 0x21b030
movl (%rax), %edi
testl %edi, %edi
je 0xc08c4
movl $0x1, %esi
callq 0x61765
leaq 0x17db0d(%rip), %rax    # 0x23e3d8
cmpl $0x0, (%rax)
je 0xc08f6
leaq 0x27a9dd(%rip), %rax    # 0x33b2b4
cmpl $0x0, (%rax)
je 0xc08f6
movl $0xc8, %edi
callq 0xaff7
callq 0xfb85c
movl $0x1, %edi
popq %rbp
jmp 0x785ce
leaq 0x157fd3(%rip), %rax    # 0x2188d0
movq (%rax), %rax
cmpq $0x3ffff, %rax          # imm = 0x3FFFF
jg 0xc093e
cmpq $0x1ff, %rax            # imm = 0x1FF
jg 0xc098b
cmpq $0x1f, %rax
jg 0xc0a2c
leaq -0x1(%rax), %rcx
cmpq $0x7, %rcx
ja 0xc0b8e
leaq 0x5f5bd(%rip), %rax     # 0x11feec
movslq (%rax,%rcx,4), %rcx
addq %rax, %rcx
jmpq *%rcx
popq %rbp
jmp 0x95a89
cmpq $0xfffffff, %rax        # imm = 0xFFFFFFF
jg 0xc09cd
cmpq $0x3fffff, %rax         # imm = 0x3FFFFF
jle 0xc0a50
cmpq $0xffffff, %rax         # imm = 0xFFFFFF
jle 0xc0b34
cmpq $0x1000000, %rax        # imm = 0x1000000
je 0xc0ac1
cmpq $0x2000000, %rax        # imm = 0x2000000
je 0xc0bd6
cmpq $0x8000000, %rax        # imm = 0x8000000
je 0xc0ac1
jmp 0xc0ba0
cmpq $0x1fff, %rax           # imm = 0x1FFF
jle 0xc0a7f
cmpq $0x7fff, %rax           # imm = 0x7FFF
jle 0xc0b4e
cmpq $0x8000, %rax           # imm = 0x8000
je 0xc0bed
cmpq $0x10000, %rax          # imm = 0x10000
je 0xc0bdc
cmpq $0x20000, %rax          # imm = 0x20000
jne 0xc0ba0
popq %rbp
jmp 0xa1a4d
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
cmpq %rcx, %rax
jle 0xc0aa4
movabsq $0x3ffffffff, %rcx      # imm = 0x3FFFFFFFF
cmpq %rcx, %rax
jle 0xc0b64
movabsq $0x400000000, %rcx      # imm = 0x400000000
cmpq %rcx, %rax
je 0xc0bf3
movabsq $0x800000000, %rcx      # imm = 0x800000000
cmpq %rcx, %rax
je 0xc0be7
movabsq $0x1000000000, %rcx     # imm = 0x1000000000
cmpq %rcx, %rax
je 0xc0ac1
jmp 0xc0ba0
cmpq $0x7f, %rax
jg 0xc0ac7
cmpq $0x20, %rax
je 0xc0ba6
cmpq $0x40, %rax
jne 0xc0ba0
popq %rbp
jmp 0x96af9
cmpq $0xfffff, %rax          # imm = 0xFFFFF
jg 0xc0ae5
cmpq $0x40000, %rax          # imm = 0x40000
je 0xc0bac
cmpq $0x80000, %rax          # imm = 0x80000
jne 0xc0ba0
movl $0xa, %edi
popq %rbp
jmp 0xac600
cmpq $0x7ff, %rax            # imm = 0x7FF
jg 0xc0afa
cmpq $0x200, %rax            # imm = 0x200
je 0xc0bb2
cmpq $0x400, %rax            # imm = 0x400
je 0xc0b48
jmp 0xc0ba0
cmpq $0x3fffffff, %rax       # imm = 0x3FFFFFFF
jg 0xc0b18
cmpq $0x10000000, %rax       # imm = 0x10000000
je 0xc0ac1
cmpq $0x20000000, %rax       # imm = 0x20000000
je 0xc0b2e
jmp 0xc0ba0
popq %rbp
jmp 0x8dde2
cmpq $0x80, %rax
je 0xc0bb8
cmpq $0x100, %rax            # imm = 0x100
jne 0xc0ba0
popq %rbp
jmp 0x99d99
cmpq $0x100000, %rax         # imm = 0x100000
je 0xc0b2e
cmpq $0x200000, %rax         # imm = 0x200000
je 0xc0b2e
jmp 0xc0ba0
cmpq $0x800, %rax            # imm = 0x800
je 0xc0bbe
cmpq $0x1000, %rax           # imm = 0x1000
jne 0xc0ba0
popq %rbp
jmp 0x932e3
cmpq $0x40000000, %rax       # imm = 0x40000000
je 0xc0bc4
movl $0x80000000, %ecx       # imm = 0x80000000
cmpq %rcx, %rax
jne 0xc0ba0
popq %rbp
jmp 0x86504
cmpq $0x400000, %rax         # imm = 0x400000
je 0xc0bca
cmpq $0x800000, %rax         # imm = 0x800000
jne 0xc0ba0
popq %rbp
jmp 0x82578
cmpq $0x2000, %rax           # imm = 0x2000
je 0xc0b88
cmpq $0x4000, %rax           # imm = 0x4000
jne 0xc0ba0
popq %rbp
jmp 0xa6298
movabsq $0x100000000, %rcx      # imm = 0x100000000
cmpq %rcx, %rax
je 0xc0bd0
movabsq $0x200000000, %rcx      # imm = 0x200000000
cmpq %rcx, %rax
jne 0xc0ba0
popq %rbp
jmp 0x80eb6
popq %rbp
jmp 0x7f842
cmpq $0x10, %rax
jne 0xc0ba0
popq %rbp
jmp 0xa00c9
popq %rbp
jmp 0xa1764
popq %rbp
jmp 0x58740
popq %rbp
jmp 0x9d336
popq %rbp
jmp 0x8ae12
popq %rbp
jmp 0xa7c98
popq %rbp
jmp 0x989f3
popq %rbp
jmp 0xa9377
popq %rbp
jmp 0xa4483
popq %rbp
jmp 0x8991a
popq %rbp
jmp 0x84a22
popq %rbp
jmp 0x8f9f5
movl $0xa, %edi
popq %rbp
jmp 0xadb25
popq %rbp
jmp 0x884aa
popq %rbp
jmp 0xa4067
popq %rbp
jmp 0xa5946