// File: jkingan[P]ladyheather/heathgps.cpp
// Function: request_pps_mode()
void request_pps_mode()
{
   if(read_only) return;    // !!!Resolution-T, RES360 only
   if(no_poll) return;
   if(luxor) return;
   if(saw_ntpx) return;

   if(rcvr_type == BRANDY_RCVR) {
      queue_brandy_cmd("c", BRANDY_PULSE_MSG);
      queue_brandy_cmd("e", BRANDY_CODE_MSG);
   }
   else if(rcvr_type == FURUNO_RCVR) {
   }
   else if(rcvr_type == MOTO_RCVR) {
      send_moto_start("Gc");
      send_byte(0xFF);
      send_moto_end();

      send_moto_start("AP");   // get pps rate
      send_byte(0xFF);
      send_moto_end();
   }
   else if(rcvr_type == TSIP_RCVR) {
      if(ACU_GG) ;
      else if(ACU_360) ;
      else if(ACUTIME) ;
      else if(PALISADE) return;
      else if(SV6_FAMILY) return;
      send_tsip_start(0x8E);
      send_byte(0x4E);
      send_tsip_end();
   }
   else if(rcvr_type == UBX_RCVR) {
      if(saw_ubx_tp5) request_ubx_tp5(0);
      else            request_ubx_msg(UBX_PPS);
   }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
leaq 0x302fbf(%rip), %rax    # 0x3961fa
cmpb $0x0, (%rax)
je 0x93245
jmp 0x9344b
leaq 0x302fb4(%rip), %rax    # 0x396200
cmpb $0x0, (%rax)
je 0x93256
jmp 0x9344b
leaq 0x20aec1(%rip), %rax    # 0x29e11e
cmpb $0x0, (%rax)
je 0x93267
jmp 0x9344b
leaq 0x20aeae(%rip), %rax    # 0x29e11c
cmpb $0x0, (%rax)
je 0x93278
jmp 0x9344b
leaq 0x1e4831(%rip), %rax    # 0x277ab0
cmpq $0x40000, (%rax)        # imm = 0x40000
jne 0x932af
leaq 0xfd374(%rip), %rdi     # 0x190603
movl $0x191, %esi            # imm = 0x191
callq 0x82fd0
leaq 0xe2312(%rip), %rdi     # 0x1755b2
movl $0x192, %esi            # imm = 0x192
callq 0x82fd0
jmp 0x9344b
leaq 0x1e47fa(%rip), %rax    # 0x277ab0
cmpq $0x20000000, (%rax)     # imm = 0x20000000
jne 0x932c4
jmp 0x93449
leaq 0x1e47e5(%rip), %rax    # 0x277ab0
cmpq $0x20, (%rax)
jne 0x9330c
leaq 0xf0f81(%rip), %rdi     # 0x184259
callq 0x86190
movl $0xff, %edi
callq 0x7b210
callq 0x86230
leaq 0xdd8cc(%rip), %rdi     # 0x170bbf
callq 0x86190
movl $0xff, %edi
callq 0x7b210
callq 0x86230
jmp 0x93447
leaq 0x1e479d(%rip), %rax    # 0x277ab0
cmpq $0x1, (%rax)
jne 0x93415
leaq 0x1e478c(%rip), %rax    # 0x277ab0
cmpq $0x1, (%rax)
jne 0x93347
leaq 0x1e6e83(%rip), %rax    # 0x27a1b4
cmpl $0x41, (%rax)
jne 0x93347
leaq 0x1e479b(%rip), %rax    # 0x277ad8
cmpl $0x47, (%rax)
jne 0x93347
jmp 0x933fa
leaq 0x1e4762(%rip), %rax    # 0x277ab0
cmpq $0x1, (%rax)
jne 0x9337a
leaq 0x1e6e59(%rip), %rax    # 0x27a1b4
cmpl $0x41, (%rax)
jne 0x9337a
leaq 0x1e4771(%rip), %rax    # 0x277ad8
cmpl $0x33, (%rax)
je 0x93378
leaq 0x1e4765(%rip), %rax    # 0x277ad8
cmpl $0x47, (%rax)
jne 0x9337a
jmp 0x933f8
leaq 0x1e472f(%rip), %rax    # 0x277ab0
cmpq $0x1, (%rax)
jne 0x93395
leaq 0x1e6e26(%rip), %rax    # 0x27a1b4
cmpl $0x41, (%rax)
jne 0x93395
jmp 0x933f6
leaq 0x1e4714(%rip), %rax    # 0x277ab0
cmpq $0x1, (%rax)
jne 0x933b3
leaq 0x1e6e0b(%rip), %rax    # 0x27a1b4
cmpl $0x50, (%rax)
jne 0x933b3
jmp 0x9344b
leaq 0x1e46f6(%rip), %rax    # 0x277ab0
cmpq $0x1, (%rax)
jne 0x933f2
leaq 0x1e6ded(%rip), %rax    # 0x27a1b4
cmpl $0x36, (%rax)
je 0x933f0
leaq 0x1e6de1(%rip), %rax    # 0x27a1b4
cmpl $0x33, (%rax)
je 0x933f0
leaq 0x1e6dd5(%rip), %rax    # 0x27a1b4
cmpl $0x50, (%rax)
je 0x933f0
leaq 0x1e6dc9(%rip), %rax    # 0x27a1b4
cmpl $0x41, (%rax)
jne 0x933f2
jmp 0x9344b
jmp 0x933f4
jmp 0x933f6
jmp 0x933f8
jmp 0x933fa
movl $0x8e, %edi
callq 0x824f0
movl $0x4e, %edi
callq 0x7b210
callq 0x82590
jmp 0x93445
leaq 0x1e4694(%rip), %rax    # 0x277ab0
cmpq $0x4, (%rax)
jne 0x93443
leaq 0x2d91e3(%rip), %rax    # 0x36c60c
cmpl $0x0, (%rax)
je 0x93437
xorl %edi, %edi
callq 0x91ae0
jmp 0x93441
movl $0x607, %edi            # imm = 0x607
callq 0x85d00
jmp 0x93443
jmp 0x93445
jmp 0x93447
jmp 0x93449
jmp 0x9344b
popq %rbp
retq
nopl (%rax)