// File: /workspace/github_cpp_makefile_star2_O1/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 0x1c06cb(%rip), %rax    # 0x23ef3e
cmpb $0x0, (%rax)
je 0x7ea10
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movl $0xdc, %edi
callq 0x5e740
movl $0x7, %edi
callq 0x591af
leaq 0x19c883(%rip), %rax    # 0x21b120
cvtsd2ss (%rax), %xmm0
callq 0x59440
leaq 0x19c86b(%rip), %rax    # 0x21b118
xorps %xmm0, %xmm0
cvtsd2ss (%rax), %xmm0
callq 0x59440
leaq 0x19c850(%rip), %rax    # 0x21b110
xorps %xmm0, %xmm0
cvtsd2ss (%rax), %xmm0
callq 0x59440
leaq 0x19c855(%rip), %rax    # 0x21b128
xorps %xmm0, %xmm0
cvtsd2ss (%rax), %xmm0
callq 0x59440
leaq 0x19c81a(%rip), %rax    # 0x21b100
xorps %xmm0, %xmm0
cvtsd2ss (%rax), %xmm0
callq 0x59440
leaq 0x19c7ff(%rip), %rax    # 0x21b0f8
xorps %xmm0, %xmm0
cvtsd2ss (%rax), %xmm0
callq 0x59440
leaq 0x19c7e4(%rip), %rax    # 0x21b0f0
xorps %xmm0, %xmm0
cvtsd2ss (%rax), %xmm0
callq 0x59440
leaq 0x19c7e9(%rip), %rax    # 0x21b108
xorps %xmm0, %xmm0
cvtsd2ss (%rax), %xmm0
callq 0x59440
leaq 0x19c806(%rip), %rax    # 0x21b138
xorps %xmm0, %xmm0
cvtsd2ss (%rax), %xmm0
callq 0x59440
leaq 0x19c7eb(%rip), %rax    # 0x21b130
xorps %xmm0, %xmm0
cvtsd2ss (%rax), %xmm0
callq 0x59440
leaq 0x19c7e8(%rip), %rax    # 0x21b140
xorps %xmm0, %xmm0
cvtsd2ss (%rax), %xmm0
callq 0x59440
leaq 0x19c7dd(%rip), %rax    # 0x21b148
xorps %xmm0, %xmm0
cvtsd2ss (%rax), %xmm0
callq 0x59440
leaq 0x19c7d2(%rip), %rax    # 0x21b150
xorps %xmm0, %xmm0
cvtsd2ss (%rax), %xmm0
callq 0x59440
leaq 0x28e47f(%rip), %rax    # 0x30ce10
movzbl (%rax), %eax
xorps %xmm0, %xmm0
cvtsi2ss %eax, %xmm0
callq 0x59440
leaq 0x28e46a(%rip), %rax    # 0x30ce11
movzbl (%rax), %eax
xorps %xmm0, %xmm0
cvtsi2ss %eax, %xmm0
callq 0x59440
leaq 0x28e423(%rip), %rax    # 0x30cde0
xorps %xmm0, %xmm0
cvtsd2ss (%rax), %xmm0
callq 0x59440
leaq 0x28e418(%rip), %rax    # 0x30cde8
xorps %xmm0, %xmm0
cvtsd2ss (%rax), %xmm0
callq 0x59440
leaq 0x28e431(%rip), %rbx    # 0x30ce14
movzbl (%rbx), %edi
callq 0x591af
callq 0x5e7c0
movzbl (%rbx), %eax
cmpl $0x9, %eax
je 0x7ea11
cmpl $0x8, %eax
jne 0x7ea27
leaq 0x28e414(%rip), %rax    # 0x30ce18
movabsq $0x3f70000000000000, %rcx # imm = 0x3F70000000000000
jmp 0x7ea22
retq
leaq 0x28e400(%rip), %rax    # 0x30ce18
movabsq $0x3f60000000000000, %rcx # imm = 0x3F60000000000000
movq %rcx, (%rax)
jmp 0x7ea3e
leaq 0x28e3ea(%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 0xaff7