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

   if(rcvr_type == FURUNO_RCVR) {
   }
   else if(rcvr_type == MOTO_RCVR) {
      send_moto_start("Aw");  // get GPS/UTC mode
      send_byte(0xFF);
      send_moto_end();

      send_moto_start("Bo");  // get UTC offset command
      send_byte(0);
      send_moto_end();
   }
   else if(rcvr_type == NVS_RCVR) {
      send_nvs_start(0x1E);  // !!!! gets leapsecond info, timing mode comes from request_pps_info()
      send_nvs_end();
   }
   else if(rcvr_type == TM4_RCVR) {
      request_tm4_msg("57");  // timing mode
   }
   else if(rcvr_type == TSIP_RCVR) {
      if(ACU_GG) ;
      else if(ACU_360) ;
      else if(ACUTIME) return;
      else if(PALISADE) return;
      else if(SV6_FAMILY) return;

      send_tsip_start(0x8E);
      send_byte(0xA2);
      send_tsip_end();
   }
   else if(rcvr_type == ZYFER_RCVR) {
      send_zyfer_cmd("$TIMM");
   }

   request_traim_info();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
leaq 0x2094c3(%rip), %rax    # 0x29e11e
cmpb $0x0, (%rax)
je 0x94c65
jmp 0x94e55
leaq 0x301594(%rip), %rax    # 0x396200
cmpb $0x0, (%rax)
je 0x94c76
jmp 0x94e55
leaq 0x1e2e33(%rip), %rax    # 0x277ab0
cmpq $0x20000000, (%rax)     # imm = 0x20000000
jne 0x94c8b
jmp 0x94e50
leaq 0x1e2e1e(%rip), %rax    # 0x277ab0
cmpq $0x20, (%rax)
jne 0x94cd0
leaq 0xef9ab(%rip), %rdi     # 0x18464a
callq 0x86190
movl $0xff, %edi
callq 0x7b210
callq 0x86230
leaq 0xef993(%rip), %rdi     # 0x18464d
callq 0x86190
xorl %edi, %edi
callq 0x7b210
callq 0x86230
jmp 0x94e4e
leaq 0x1e2dd9(%rip), %rax    # 0x277ab0
cmpq $0x800, (%rax)          # imm = 0x800
jne 0x94cf4
movl $0x1e, %edi
callq 0x824f0
callq 0x82630
jmp 0x94e4c
movabsq $0x400000000, %rcx      # imm = 0x400000000
leaq 0x1e2dab(%rip), %rax    # 0x277ab0
cmpq %rcx, (%rax)
jne 0x94d1b
leaq 0xef355(%rip), %rdi     # 0x184066
callq 0x83970
jmp 0x94e4a
leaq 0x1e2d8e(%rip), %rax    # 0x277ab0
cmpq $0x1, (%rax)
jne 0x94e2a
leaq 0x1e2d7d(%rip), %rax    # 0x277ab0
cmpq $0x1, (%rax)
jne 0x94d56
leaq 0x1e5474(%rip), %rax    # 0x27a1b4
cmpl $0x41, (%rax)
jne 0x94d56
leaq 0x1e2d8c(%rip), %rax    # 0x277ad8
cmpl $0x47, (%rax)
jne 0x94d56
jmp 0x94e0f
leaq 0x1e2d53(%rip), %rax    # 0x277ab0
cmpq $0x1, (%rax)
jne 0x94d8c
leaq 0x1e544a(%rip), %rax    # 0x27a1b4
cmpl $0x41, (%rax)
jne 0x94d8c
leaq 0x1e2d62(%rip), %rax    # 0x277ad8
cmpl $0x33, (%rax)
je 0x94d87
leaq 0x1e2d56(%rip), %rax    # 0x277ad8
cmpl $0x47, (%rax)
jne 0x94d8c
jmp 0x94e0d
leaq 0x1e2d1d(%rip), %rax    # 0x277ab0
cmpq $0x1, (%rax)
jne 0x94daa
leaq 0x1e5414(%rip), %rax    # 0x27a1b4
cmpl $0x41, (%rax)
jne 0x94daa
jmp 0x94e55
leaq 0x1e2cff(%rip), %rax    # 0x277ab0
cmpq $0x1, (%rax)
jne 0x94dc8
leaq 0x1e53f6(%rip), %rax    # 0x27a1b4
cmpl $0x50, (%rax)
jne 0x94dc8
jmp 0x94e55
leaq 0x1e2ce1(%rip), %rax    # 0x277ab0
cmpq $0x1, (%rax)
jne 0x94e07
leaq 0x1e53d8(%rip), %rax    # 0x27a1b4
cmpl $0x36, (%rax)
je 0x94e05
leaq 0x1e53cc(%rip), %rax    # 0x27a1b4
cmpl $0x33, (%rax)
je 0x94e05
leaq 0x1e53c0(%rip), %rax    # 0x27a1b4
cmpl $0x50, (%rax)
je 0x94e05
leaq 0x1e53b4(%rip), %rax    # 0x27a1b4
cmpl $0x41, (%rax)
jne 0x94e07
jmp 0x94e55
jmp 0x94e09
jmp 0x94e0b
jmp 0x94e0d
jmp 0x94e0f
movl $0x8e, %edi
callq 0x824f0
movl $0xa2, %edi
callq 0x7b210
callq 0x82590
jmp 0x94e48
leaq 0x1e2c7f(%rip), %rax    # 0x277ab0
cmpq $0x100000, (%rax)       # imm = 0x100000
jne 0x94e46
leaq 0xef80f(%rip), %rdi     # 0x184650
callq 0x85d30
jmp 0x94e48
jmp 0x94e4a
jmp 0x94e4c
jmp 0x94e4e
jmp 0x94e50
callq 0x94bb0
popq %rbp
retq
nopw (%rax,%rax)