// File: jkingan[P]ladyheather/heathgps.cpp
// Function: request_utc_info()
void request_utc_info()
{
   if(luxor) return;
   if(no_poll) return;

   if(rcvr_type == BRANDY_RCVR) {
      queue_brandy_cmd("j", BRANDY_LEAP_MSG);
   }
   else if(rcvr_type == FURUNO_RCVR) {
//    send_furuno_cmp("GPint,tlp00");  // we get this from GPtps message
   }
   else if(rcvr_type == TSIP_RCVR) {
      if(saw_version == 0) return;
      if(res_t == RES_T) return;   // this message can hose up this receiver for 3 seconds
      if(SV6_FAMILY) {
         send_tsip_start(0x2F);       // get UTC (leapsecond) info from sat data
         send_tsip_end();
      }
      else {
         send_tsip_start(0x38);       // get UTC (leapsecond) info from sat data
         send_byte(0x01);
         send_byte(0x05);
         send_byte(0x00);
         send_tsip_end();
      }
   }
   else if(rcvr_type == MOTO_RCVR) {
      request_moto_leap(0);
   }
   else if(rcvr_type == NVS_RCVR) {
      send_nvs_start(0x2B);
      send_nvs_end();
   }
   else if(rcvr_type == SS_RCVR) {  // get leapsecond info
//    request_ss_msg(75);           // ... now set in conig_rcvr
   }
   else if(rcvr_type == UBX_RCVR) {  // get leapsecond info
      request_ubx_msg(UBX_LEAP);
   }
   else if(rcvr_type == ZYFER_RCVR) {  // get leapsecond info
      send_zyfer_cmd("$LEAP");
   }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
leaq 0x218613(%rip), %rax    # 0x29e11e
cmpb $0x0, (%rax)
je 0x85b15
jmp 0x85ca6
leaq 0x3106e4(%rip), %rax    # 0x396200
cmpb $0x0, (%rax)
je 0x85b26
jmp 0x85ca6
leaq 0x1f1f83(%rip), %rax    # 0x277ab0
cmpq $0x40000, (%rax)        # imm = 0x40000
jne 0x85b4c
leaq 0x10238e(%rip), %rdi    # 0x187ecb
movl $0x195, %esi            # imm = 0x195
callq 0x82fd0
jmp 0x85ca6
leaq 0x1f1f5d(%rip), %rax    # 0x277ab0
cmpq $0x20000000, (%rax)     # imm = 0x20000000
jne 0x85b61
jmp 0x85ca4
leaq 0x1f1f48(%rip), %rax    # 0x277ab0
cmpq $0x1, (%rax)
jne 0x85c14
leaq 0x2e6a6f(%rip), %rax    # 0x36c5e8
cmpl $0x0, (%rax)
jne 0x85b83
jmp 0x85ca6
leaq 0x1f1f5a(%rip), %rax    # 0x277ae4
movzbl (%rax), %eax
cmpl $0x1, %eax
jne 0x85b97
jmp 0x85ca6
leaq 0x1f1f12(%rip), %rax    # 0x277ab0
cmpq $0x1, (%rax)
jne 0x85be5
leaq 0x1f4609(%rip), %rax    # 0x27a1b4
cmpl $0x36, (%rax)
je 0x85bd4
leaq 0x1f45fd(%rip), %rax    # 0x27a1b4
cmpl $0x33, (%rax)
je 0x85bd4
leaq 0x1f45f1(%rip), %rax    # 0x27a1b4
cmpl $0x50, (%rax)
je 0x85bd4
leaq 0x1f45e5(%rip), %rax    # 0x27a1b4
cmpl $0x41, (%rax)
jne 0x85be5
movl $0x2f, %edi
callq 0x824f0
callq 0x82590
jmp 0x85c0f
movl $0x38, %edi
callq 0x824f0
movl $0x1, %edi
callq 0x7b210
movl $0x5, %edi
callq 0x7b210
xorl %edi, %edi
callq 0x7b210
callq 0x82590
jmp 0x85ca2
leaq 0x1f1e95(%rip), %rax    # 0x277ab0
cmpq $0x20, (%rax)
jne 0x85c2a
xorl %edi, %edi
callq 0x85cb0
jmp 0x85ca0
leaq 0x1f1e7f(%rip), %rax    # 0x277ab0
cmpq $0x800, (%rax)          # imm = 0x800
jne 0x85c4b
movl $0x2b, %edi
callq 0x824f0
callq 0x82630
jmp 0x85c9e
movabsq $0x800000000, %rcx      # imm = 0x800000000
leaq 0x1f1e54(%rip), %rax    # 0x277ab0
cmpq %rcx, (%rax)
jne 0x85c63
jmp 0x85c9c
leaq 0x1f1e46(%rip), %rax    # 0x277ab0
cmpq $0x4, (%rax)
jne 0x85c7c
movl $0xb02, %edi            # imm = 0xB02
callq 0x85d00
jmp 0x85c9a
leaq 0x1f1e2d(%rip), %rax    # 0x277ab0
cmpq $0x100000, (%rax)       # imm = 0x100000
jne 0x85c98
leaq 0xfdbc0(%rip), %rdi     # 0x183853
callq 0x85d30
jmp 0x85c9a
jmp 0x85c9c
jmp 0x85c9e
jmp 0x85ca0
jmp 0x85ca2
jmp 0x85ca4
jmp 0x85ca6
popq %rbp
retq
nopl (%rax,%rax)