// File: /workspace/github_cpp_makefile_star2_O3/jkingan[P]ladyheather/heathgps.cpp
// Function: set_luxor_config()
void set_luxor_config()
{
   if(luxor == 0) return;

   send_tsip_start(LUXOR_ID); 
   send_byte(0x07);
   send_single((float) batt_lvc);
   send_single((float) batt_hvc);
   send_single((float) batt_ovc);
   send_single((float) batt_watts);
   send_single((float) load_lvc);
   send_single((float) load_hvc);
   send_single((float) load_ovc);
   send_single((float) load_watts);
   send_single((float) auxv_lvc);
   send_single((float) auxv_hvc);
   send_single((float) tc1_ovt);
   send_single((float) tc2_ovt);
   send_single((float) msg_timeout);

   send_single((float) lux1_time);
   send_single((float) lux2_time);
   send_single((float) emis1);
   send_single((float) emis2);

   send_byte(batt_pwm_res);
   send_tsip_end();

   set_pwm_step();

   Sleep(500);   // !!!!!! allow time for message to be processed
}

// Assembly:
leaq 0x1c08b4(%rip), %rax    # 0x23ef3e
cmpb $0x0, (%rax)
je 0x7e827
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movl $0xdc, %edi
callq 0x5e6be
movl $0x7, %edi
callq 0x590f7
leaq 0x19ca6c(%rip), %rax    # 0x21b120
cvtsd2ss (%rax), %xmm0
callq 0x59376
leaq 0x19ca54(%rip), %rax    # 0x21b118
xorps %xmm0, %xmm0
cvtsd2ss (%rax), %xmm0
callq 0x59376
leaq 0x19ca39(%rip), %rax    # 0x21b110
xorps %xmm0, %xmm0
cvtsd2ss (%rax), %xmm0
callq 0x59376
leaq 0x19ca3e(%rip), %rax    # 0x21b128
xorps %xmm0, %xmm0
cvtsd2ss (%rax), %xmm0
callq 0x59376
leaq 0x19ca03(%rip), %rax    # 0x21b100
xorps %xmm0, %xmm0
cvtsd2ss (%rax), %xmm0
callq 0x59376
leaq 0x19c9e8(%rip), %rax    # 0x21b0f8
xorps %xmm0, %xmm0
cvtsd2ss (%rax), %xmm0
callq 0x59376
leaq 0x19c9cd(%rip), %rax    # 0x21b0f0
xorps %xmm0, %xmm0
cvtsd2ss (%rax), %xmm0
callq 0x59376
leaq 0x19c9d2(%rip), %rax    # 0x21b108
xorps %xmm0, %xmm0
cvtsd2ss (%rax), %xmm0
callq 0x59376
leaq 0x19c9ef(%rip), %rax    # 0x21b138
xorps %xmm0, %xmm0
cvtsd2ss (%rax), %xmm0
callq 0x59376
leaq 0x19c9d4(%rip), %rax    # 0x21b130
xorps %xmm0, %xmm0
cvtsd2ss (%rax), %xmm0
callq 0x59376
leaq 0x19c9d1(%rip), %rax    # 0x21b140
xorps %xmm0, %xmm0
cvtsd2ss (%rax), %xmm0
callq 0x59376
leaq 0x19c9c6(%rip), %rax    # 0x21b148
xorps %xmm0, %xmm0
cvtsd2ss (%rax), %xmm0
callq 0x59376
leaq 0x19c9bb(%rip), %rax    # 0x21b150
xorps %xmm0, %xmm0
cvtsd2ss (%rax), %xmm0
callq 0x59376
leaq 0x28e668(%rip), %rax    # 0x30ce10
movzbl (%rax), %eax
xorps %xmm0, %xmm0
cvtsi2ss %eax, %xmm0
callq 0x59376
leaq 0x28e653(%rip), %rax    # 0x30ce11
movzbl (%rax), %eax
xorps %xmm0, %xmm0
cvtsi2ss %eax, %xmm0
callq 0x59376
leaq 0x28e60c(%rip), %rax    # 0x30cde0
xorps %xmm0, %xmm0
cvtsd2ss (%rax), %xmm0
callq 0x59376
leaq 0x28e601(%rip), %rax    # 0x30cde8
xorps %xmm0, %xmm0
cvtsd2ss (%rax), %xmm0
callq 0x59376
leaq 0x28e61a(%rip), %rbx    # 0x30ce14
movzbl (%rbx), %edi
callq 0x590f7
callq 0x5e73c
movzbl (%rbx), %eax
cmpl $0x9, %eax
je 0x7e828
cmpl $0x8, %eax
jne 0x7e83e
leaq 0x28e5fd(%rip), %rax    # 0x30ce18
movabsq $0x3f70000000000000, %rcx # imm = 0x3F70000000000000
jmp 0x7e839
retq
leaq 0x28e5e9(%rip), %rax    # 0x30ce18
movabsq $0x3f60000000000000, %rcx # imm = 0x3F60000000000000
movq %rcx, (%rax)
jmp 0x7e855
leaq 0x28e5d3(%rip), %rax    # 0x30ce18
movabsq $0x3f50000000000000, %rcx # imm = 0x3F50000000000000
movq %rcx, (%rax)
movb $0xa, (%rbx)
movl $0x1f4, %edi            # imm = 0x1F4
addq $0x8, %rsp
popq %rbx
popq %rbp
jmp 0xafe8