// File: /workspace/github_cpp_makefile_star2_O1/jkingan[P]ladyheather/heathgps.cpp
// Function: show_ticc_config(int)
int show_ticc_config(int row)
{
int col;
int i;
int max_row;

   if(text_mode && first_key) return row;
   if(zoom_screen) return row;
   if(luxor) return row;
   if(rcvr_type == NO_RCVR) return row;
   if(rcvr_type == TIDE_RCVR) return row;

   max_row = queue_row;
   row = MINOR_ROW;
   col = MINOR_COL;
   if(!have_critical_alarms) row = CRIT_ROW;

   for(i=row; i<max_row; i++) {  // clear out old info
      sprintf(out, "                 ");
      vidstr(i,col, WHITE, out);
   }

   if(ticc_type == LARS_TICC) {
      sprintf(out,    "Lars config:     ");
   }
   else if(ticc_type != TAPR_TICC) {
      sprintf(out,    "Counter config:  ");
   }
   else if(user_set_ticc_mode) {
      sprintf(out,    "TICC config not available");
   }
   else {
      sprintf(out,    "TICC Config:     ");
   }

   vidstr(row,col, WHITE, out);
   ++row;
   if(osc_params && all_adevs) {
      if(first_key == 0) {
         vidstr(row,col, YELLOW, "Press key for normal display");
      }
      else {
         vidstr(row,col, YELLOW, "                            ");
      }
   }

   if(have_ticc_edges & 0x01) {
      sprintf(out,      "chA edge:  %c", edge_a);
      if(++row >= max_row) return row;
      vidstr(row,col, WHITE, out);
   }
   if(have_ticc_edges & 0x02) {
      sprintf(out,      "chB edge:  %c", edge_b);
      if(++row >= max_row) return row;
      vidstr(row,col, WHITE, out);
   }
   if(have_ticc_edges & 0x04) {
      sprintf(out,      "chC edge:  %c", edge_c);
      if(++row >= max_row) return row;
      vidstr(row,col, WHITE, out);
   }
   if(have_ticc_edges & 0x08) {
      sprintf(out,      "chD edge:  %c", edge_d);
      if(++row >= max_row) return row;
      vidstr(row,col, WHITE, out);
   }

   if(have_ticc_fudge & 0x01) {
      sprintf(out,      "chA Fudge: %g ps", fudge_a);
      if(++row >= max_row) return row;
      vidstr(row,col, WHITE, out);
   }
   if(have_ticc_fudge & 0x02) {
      sprintf(out,      "chB Fudge: %g ps", fudge_b);
      if(++row >= max_row) return row;
      vidstr(row,col, WHITE, out);
   }
   if(have_ticc_fudge & 0x04) {
      sprintf(out,      "chC Fudge: %g ps", fudge_c);
      if(++row >= max_row) return row;
      vidstr(row,col, WHITE, out);
   }
   if(have_ticc_fudge & 0x08) {
      sprintf(out,      "chD Fudge: %g ps", fudge_d);
      if(++row >= max_row) return row;
      vidstr(row,col, WHITE, out);
   }

   if(have_ticc_time2 & 0x01) {
      sprintf(out,      "chA TIME2: %d", time2_a);
      if(++row >= max_row) return row;
      vidstr(row,col, WHITE, out);
   }
   if(have_ticc_time2 & 0x02) {
      sprintf(out,      "chB TIME2: %d", time2_b);
      if(++row >= max_row) return row;
      vidstr(row,col, WHITE, out);
   }
   if(have_ticc_time2 & 0x04) {
      sprintf(out,      "chC TIME2: %d", time2_c);
      if(++row >= max_row) return row;
      vidstr(row,col, WHITE, out);
   }
   if(have_ticc_time2 & 0x08) {
      sprintf(out,      "chD TIME2: %d", time2_d);
      if(++row >= max_row) return row;
      vidstr(row,col, WHITE, out);
   }

   if(have_ticc_dilat & 0x01) {
      sprintf(out,      "chA Dilat: %d", dilat_a);
      if(++row >= max_row) return row;
      vidstr(row,col, WHITE, out);
   }
   if(have_ticc_dilat & 0x02) {
      sprintf(out,      "chB Dilat: %d", dilat_b);
      if(++row >= max_row) return row;
      vidstr(row,col, WHITE, out);
   }
   if(have_ticc_dilat & 0x04) {
      sprintf(out,      "chC Dilat: %d", dilat_c);
      if(++row >= max_row) return row;
      vidstr(row,col, WHITE, out);
   }
   if(have_ticc_dilat & 0x08) {
      sprintf(out,      "chD Dilat: %d", dilat_d);
      if(++row >= max_row) return row;
      vidstr(row,col, WHITE, out);
   }

   if(have_ticc_timeout) {
      sprintf(out,      "Timeout:   %d", ticc_timeout);
      if(++row >= max_row) return row;
      vidstr(row,col, WHITE, out);
   }
   if(have_ticc_syncmode) {
      sprintf(out,      "Sync mode: %c", ticc_syncmode);
      if(++row >= max_row) return row;
      vidstr(row,col, WHITE, out);
   }
   if(have_ticc_cal) {
      sprintf(out,      "Cal periods: %d", ticc_cal);
      if(++row >= max_row) return row;
      vidstr(row,col, WHITE, out);
   }
   if(have_ticc_speed) {
      sprintf(out,      "Clock: %.3f MHz", ticc_speed);
      if(++row >= max_row) return row;
      vidstr(row,col, WHITE, out);
   }
   if(have_ticc_coarse) {
      sprintf(out,      "Coarse: %.1f us", ticc_coarse);
      if(++row >= max_row) return row;
      vidstr(row,col, WHITE, out);
   }


   sprintf(out,         "chA NomF: %g Hz", nominal_cha_freq);
   if(++row >= max_row) return row;
   vidstr(row,col, WHITE, out);

   if(ticc_mode == 'I') {
      sprintf(out,      "chA wrap: %g sec", cha_phase_wrap_interval);
      if(++row >= max_row) return row;
      vidstr(row,col, WHITE, out);
   }

   if(two_ticc_mode()) {
      sprintf(out,      "chB nomF: %g Hz", nominal_chb_freq);
      if(++row >= max_row) return row;
      vidstr(row,col, WHITE, out);

      if(ticc_mode == 'I') {
         sprintf(out,      "chB wrap: %g sec", chb_phase_wrap_interval);
         if(++row >= max_row) return row;
         vidstr(row,col, WHITE, out);
      }
   }

   if(ticc_type == LARS_TICC) {
      sprintf(out,      "OSC gain: %g Hz/V", lars_gain);
      if(++row >= max_row) return row;
      vidstr(row,col, WHITE, out);

      sprintf(out,      "DACinitv: %g     ", lars_initv);
      if(++row >= max_row) return row;
      vidstr(row,col, WHITE, out);
   }

   return row;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
leaq 0x168701(%rip), %rax    # 0x2187d8
cmpl $0x0, (%rax)
sete %al
leaq 0x18ee74(%rip), %rbx    # 0x23ef58
cmpl $0x0, (%rbx)
movl %edi, %r15d
sete %cl
orb %al, %cl
cmpb $0x1, %cl
jne 0xb09ec
leaq 0x25c6a9(%rip), %rax    # 0x30c7a8
cmpb $0x0, (%rax)
jne 0xb09ec
leaq 0x18ee2f(%rip), %rax    # 0x23ef3e
cmpb $0x0, (%rax)
jne 0xb09ec
leaq 0x1687b1(%rip), %rax    # 0x2188d0
movq (%rax), %rax
cmpq $0x400, %rax            # imm = 0x400
je 0xb09ec
cmpq $0x800000, %rax         # imm = 0x800000
je 0xb09ec
leaq 0x16868f(%rip), %rax    # 0x2187d0
movl (%rax), %r13d
leaq 0x168651(%rip), %rax    # 0x21879c
movl (%rax), %esi
leaq 0x25d154(%rip), %rax    # 0x30d2a8
movl (%rax), %eax
testl %eax, %eax
movl $0x6, %r15d
cmovel %eax, %r15d
cmpl %r13d, %r15d
movl %esi, -0x2c(%rbp)
jge 0xb01a4
leaq 0x28c0af(%rip), %r14    # 0x33c220
movl %r15d, %r12d
movups 0x838e9(%rip), %xmm0    # 0x133a64
movaps %xmm0, (%r14)
movw $0x20, 0x10(%r14)
movl %r12d, %edi
movl -0x2c(%rbp), %esi
movl $0xf, %edx
movq %r14, %rcx
callq 0xe7d0
movl -0x2c(%rbp), %esi
incl %r12d
cmpl %r12d, %r13d
jne 0xb0174
movl %r13d, %r12d
leaq 0x16875a(%rip), %r13    # 0x218908
movl (%r13), %eax
cmpl $0x54, %eax
je 0xb01c5
cmpl $0x4c, %eax
jne 0xb01ef
movups 0x784f0(%rip), %xmm0    # 0x1286b3
jmp 0xb01ff
leaq 0x25cb48(%rip), %rax    # 0x30cd14
cmpl $0x0, (%rax)
je 0xb01f8
movups 0x78509(%rip), %xmm0    # 0x1286e1
leaq 0x28c041(%rip), %rax    # 0x33c220
movups %xmm0, 0xa(%rax)
movups 0x784ed(%rip), %xmm0    # 0x1286d7
movaps %xmm0, (%rax)
jmp 0xb020f
movups 0x784cf(%rip), %xmm0    # 0x1286c5
jmp 0xb01ff
movups 0x784f2(%rip), %xmm0    # 0x1286f1
leaq 0x28c01a(%rip), %rax    # 0x33c220
movaps %xmm0, (%rax)
movw $0x20, 0x10(%rax)
leaq 0x28c00a(%rip), %rcx    # 0x33c220
movl %r15d, %edi
movl $0xf, %edx
callq 0xe7d0
movl %r15d, %r14d
orl $0x1, %r14d
leaq 0x25cebb(%rip), %rax    # 0x30d0ec
cmpb $0x0, (%rax)
je 0xb0267
leaq 0x18cb01(%rip), %rax    # 0x23cd3e
cmpb $0x0, (%rax)
je 0xb0267
cmpl $0x0, (%rbx)
leaq 0x784b7(%rip), %rax     # 0x128703
leaq 0x83806(%rip), %rcx     # 0x133a59
cmoveq %rax, %rcx
movl %r14d, %edi
movl -0x2c(%rbp), %esi
movl $0xe, %edx
callq 0xe7d0
leaq 0x25cb16(%rip), %rbx    # 0x30cd84
testb $0x1, (%rbx)
je 0xb02b8
leaq 0x25cafa(%rip), %rax    # 0x30cd74
movl (%rax), %edx
leaq 0x28bf9d(%rip), %rdi    # 0x33c220
leaq 0x78496(%rip), %rsi     # 0x128720
xorl %eax, %eax
callq 0x9060
addl $0x2, %r15d
cmpl %r12d, %r15d
jge 0xb09ec
leaq 0x28bf7b(%rip), %rcx    # 0x33c220
movl %r15d, %edi
movl -0x2c(%rbp), %esi
movl $0xf, %edx
callq 0xe7d0
movl %r15d, %r14d
testb $0x2, (%rbx)
jne 0xb02c2
movl %r12d, %r15d
jmp 0xb0306
leaq 0x25caaf(%rip), %rax    # 0x30cd78
movl (%rax), %edx
leaq 0x28bf4e(%rip), %rdi    # 0x33c220
leaq 0x78455(%rip), %rsi     # 0x12872e
xorl %eax, %eax
callq 0x9060
incl %r14d
cmpl %r12d, %r14d
jge 0xb09e9
movl %r12d, %r15d
leaq 0x28bf2a(%rip), %rcx    # 0x33c220
movl %r14d, %edi
movl -0x2c(%rbp), %esi
movl $0xf, %edx
callq 0xe7d0
testb $0x4, (%rbx)
je 0xb034c
leaq 0x25ca6a(%rip), %rax    # 0x30cd7c
movl (%rax), %edx
leaq 0x28bf05(%rip), %rdi    # 0x33c220
leaq 0x7841a(%rip), %rsi     # 0x12873c
xorl %eax, %eax
callq 0x9060
incl %r14d
cmpl %r15d, %r14d
jge 0xb09e9
leaq 0x28bee4(%rip), %rcx    # 0x33c220
movl %r14d, %edi
movl -0x2c(%rbp), %esi
movl $0xf, %edx
callq 0xe7d0
testb $0x8, (%rbx)
je 0xb0392
leaq 0x25ca28(%rip), %rax    # 0x30cd80
movl (%rax), %edx
leaq 0x28bebf(%rip), %rdi    # 0x33c220
leaq 0x783e2(%rip), %rsi     # 0x12874a
xorl %eax, %eax
callq 0x9060
incl %r14d
cmpl %r15d, %r14d
jge 0xb09e9
leaq 0x28be9e(%rip), %rcx    # 0x33c220
movl %r14d, %edi
movl -0x2c(%rbp), %esi
movl $0xf, %edx
callq 0xe7d0
leaq 0x25c9d7(%rip), %rbx    # 0x30cd70
testb $0x1, (%rbx)
je 0xb03e1
leaq 0x25c9ab(%rip), %rax    # 0x30cd50
movsd (%rax), %xmm0
leaq 0x28be70(%rip), %rdi    # 0x33c220
leaq 0x783a1(%rip), %rsi     # 0x128758
movb $0x1, %al
callq 0x9060
incl %r14d
cmpl %r15d, %r14d
jge 0xb09e9
leaq 0x28be4f(%rip), %rcx    # 0x33c220
movl %r14d, %edi
movl -0x2c(%rbp), %esi
movl $0xf, %edx
callq 0xe7d0
testb $0x2, (%rbx)
je 0xb0429
leaq 0x25c96b(%rip), %rax    # 0x30cd58
movsd (%rax), %xmm0
leaq 0x28be28(%rip), %rdi    # 0x33c220
leaq 0x7836a(%rip), %rsi     # 0x128769
movb $0x1, %al
callq 0x9060
incl %r14d
cmpl %r15d, %r14d
jge 0xb09e9
leaq 0x28be07(%rip), %rcx    # 0x33c220
movl %r14d, %edi
movl -0x2c(%rbp), %esi
movl $0xf, %edx
callq 0xe7d0
testb $0x4, (%rbx)
je 0xb0471
leaq 0x25c92b(%rip), %rax    # 0x30cd60
movsd (%rax), %xmm0
leaq 0x28bde0(%rip), %rdi    # 0x33c220
leaq 0x78333(%rip), %rsi     # 0x12877a
movb $0x1, %al
callq 0x9060
incl %r14d
cmpl %r15d, %r14d
jge 0xb09e9
leaq 0x28bdbf(%rip), %rcx    # 0x33c220
movl %r14d, %edi
movl -0x2c(%rbp), %esi
movl $0xf, %edx
callq 0xe7d0
testb $0x8, (%rbx)
je 0xb04b9
leaq 0x25c8eb(%rip), %rax    # 0x30cd68
movsd (%rax), %xmm0
leaq 0x28bd98(%rip), %rdi    # 0x33c220
leaq 0x782fc(%rip), %rsi     # 0x12878b
movb $0x1, %al
callq 0x9060
incl %r14d
cmpl %r15d, %r14d
jge 0xb09e9
leaq 0x28bd77(%rip), %rcx    # 0x33c220
movl %r14d, %edi
movl -0x2c(%rbp), %esi
movl $0xf, %edx
callq 0xe7d0
leaq 0x25c8d8(%rip), %rbx    # 0x30cd98
testb $0x1, (%rbx)
je 0xb0506
leaq 0x25c8bc(%rip), %rax    # 0x30cd88
movl (%rax), %edx
leaq 0x28bd4b(%rip), %rdi    # 0x33c220
leaq 0x782c0(%rip), %rsi     # 0x12879c
xorl %eax, %eax
callq 0x9060
incl %r14d
cmpl %r15d, %r14d
jge 0xb09e9
leaq 0x28bd2a(%rip), %rcx    # 0x33c220
movl %r14d, %edi
movl -0x2c(%rbp), %esi
movl $0xf, %edx
callq 0xe7d0
testb $0x2, (%rbx)
je 0xb054c
leaq 0x25c87a(%rip), %rax    # 0x30cd8c
movl (%rax), %edx
leaq 0x28bd05(%rip), %rdi    # 0x33c220
leaq 0x78288(%rip), %rsi     # 0x1287aa
xorl %eax, %eax
callq 0x9060
incl %r14d
cmpl %r15d, %r14d
jge 0xb09e9
leaq 0x28bce4(%rip), %rcx    # 0x33c220
movl %r14d, %edi
movl -0x2c(%rbp), %esi
movl $0xf, %edx
callq 0xe7d0
testb $0x4, (%rbx)
je 0xb0592
leaq 0x25c838(%rip), %rax    # 0x30cd90
movl (%rax), %edx
leaq 0x28bcbf(%rip), %rdi    # 0x33c220
leaq 0x78250(%rip), %rsi     # 0x1287b8
xorl %eax, %eax
callq 0x9060
incl %r14d
cmpl %r15d, %r14d
jge 0xb09e9
leaq 0x28bc9e(%rip), %rcx    # 0x33c220
movl %r14d, %edi
movl -0x2c(%rbp), %esi
movl $0xf, %edx
callq 0xe7d0
testb $0x8, (%rbx)
je 0xb05d8
leaq 0x25c7f6(%rip), %rax    # 0x30cd94
movl (%rax), %edx
leaq 0x28bc79(%rip), %rdi    # 0x33c220
leaq 0x78218(%rip), %rsi     # 0x1287c6
xorl %eax, %eax
callq 0x9060
incl %r14d
cmpl %r15d, %r14d
jge 0xb09e9
leaq 0x28bc58(%rip), %rcx    # 0x33c220
movl %r14d, %edi
movl -0x2c(%rbp), %esi
movl $0xf, %edx
callq 0xe7d0
leaq 0x25c7cd(%rip), %rbx    # 0x30cdac
testb $0x1, (%rbx)
je 0xb0625
leaq 0x25c7b1(%rip), %rax    # 0x30cd9c
movl (%rax), %edx
leaq 0x28bc2c(%rip), %rdi    # 0x33c220
leaq 0x781d9(%rip), %rsi     # 0x1287d4
xorl %eax, %eax
callq 0x9060
incl %r14d
cmpl %r15d, %r14d
jge 0xb09e9
leaq 0x28bc0b(%rip), %rcx    # 0x33c220
movl %r14d, %edi
movl -0x2c(%rbp), %esi
movl $0xf, %edx
callq 0xe7d0
testb $0x2, (%rbx)
je 0xb066b
leaq 0x25c76f(%rip), %rax    # 0x30cda0
movl (%rax), %edx
leaq 0x28bbe6(%rip), %rdi    # 0x33c220
leaq 0x781a1(%rip), %rsi     # 0x1287e2
xorl %eax, %eax
callq 0x9060
incl %r14d
cmpl %r15d, %r14d
jge 0xb09e9
leaq 0x28bbc5(%rip), %rcx    # 0x33c220
movl %r14d, %edi
movl -0x2c(%rbp), %esi
movl $0xf, %edx
callq 0xe7d0
testb $0x4, (%rbx)
je 0xb06b1
leaq 0x25c72d(%rip), %rax    # 0x30cda4
movl (%rax), %edx
leaq 0x28bba0(%rip), %rdi    # 0x33c220
leaq 0x78169(%rip), %rsi     # 0x1287f0
xorl %eax, %eax
callq 0x9060
incl %r14d
cmpl %r15d, %r14d
jge 0xb09e9
leaq 0x28bb7f(%rip), %rcx    # 0x33c220
movl %r14d, %edi
movl -0x2c(%rbp), %esi
movl $0xf, %edx
callq 0xe7d0
testb $0x8, (%rbx)
je 0xb06f7
leaq 0x25c6eb(%rip), %rax    # 0x30cda8
movl (%rax), %edx
leaq 0x28bb5a(%rip), %rdi    # 0x33c220
leaq 0x78131(%rip), %rsi     # 0x1287fe
xorl %eax, %eax
callq 0x9060
incl %r14d
cmpl %r15d, %r14d
jge 0xb09e9
leaq 0x28bb39(%rip), %rcx    # 0x33c220
movl %r14d, %edi
movl -0x2c(%rbp), %esi
movl $0xf, %edx
callq 0xe7d0
leaq 0x25c62e(%rip), %rax    # 0x30cd2c
cmpl $0x0, (%rax)
je 0xb0744
leaq 0x25c61e(%rip), %rax    # 0x30cd28
movl (%rax), %edx
leaq 0x28bb0d(%rip), %rdi    # 0x33c220
leaq 0x780f2(%rip), %rsi     # 0x12880c
xorl %eax, %eax
callq 0x9060
incl %r14d
cmpl %r15d, %r14d
jge 0xb09e9
leaq 0x28baec(%rip), %rcx    # 0x33c220
movl %r14d, %edi
movl -0x2c(%rbp), %esi
movl $0xf, %edx
callq 0xe7d0
leaq 0x25c5d1(%rip), %rax    # 0x30cd1c
cmpl $0x0, (%rax)
je 0xb0791
leaq 0x25c5c1(%rip), %rax    # 0x30cd18
movl (%rax), %edx
leaq 0x28bac0(%rip), %rdi    # 0x33c220
leaq 0x780b3(%rip), %rsi     # 0x12881a
xorl %eax, %eax
callq 0x9060
incl %r14d
cmpl %r15d, %r14d
jge 0xb09e9
leaq 0x28ba9f(%rip), %rcx    # 0x33c220
movl %r14d, %edi
movl -0x2c(%rbp), %esi
movl $0xf, %edx
callq 0xe7d0
leaq 0x25c58c(%rip), %rax    # 0x30cd24
cmpl $0x0, (%rax)
je 0xb07de
leaq 0x25c57c(%rip), %rax    # 0x30cd20
movl (%rax), %edx
leaq 0x28ba73(%rip), %rdi    # 0x33c220
leaq 0x78074(%rip), %rsi     # 0x128828
xorl %eax, %eax
callq 0x9060
incl %r14d
cmpl %r15d, %r14d
jge 0xb09e9
leaq 0x28ba52(%rip), %rcx    # 0x33c220
movl %r14d, %edi
movl -0x2c(%rbp), %esi
movl $0xf, %edx
callq 0xe7d0
leaq 0x25c553(%rip), %rax    # 0x30cd38
cmpl $0x0, (%rax)
je 0xb082d
leaq 0x25c53f(%rip), %rax    # 0x30cd30
movsd (%rax), %xmm0
leaq 0x28ba24(%rip), %rdi    # 0x33c220
leaq 0x78035(%rip), %rsi     # 0x128838
movb $0x1, %al
callq 0x9060
incl %r14d
cmpl %r15d, %r14d
jge 0xb09e9
leaq 0x28ba03(%rip), %rcx    # 0x33c220
movl %r14d, %edi
movl -0x2c(%rbp), %esi
movl $0xf, %edx
callq 0xe7d0
leaq 0x25c514(%rip), %rax    # 0x30cd48
cmpl $0x0, (%rax)
je 0xb087c
leaq 0x25c500(%rip), %rax    # 0x30cd40
movsd (%rax), %xmm0
leaq 0x28b9d5(%rip), %rdi    # 0x33c220
leaq 0x77ff6(%rip), %rsi     # 0x128848
movb $0x1, %al
callq 0x9060
incl %r14d
cmpl %r15d, %r14d
jge 0xb09e9
leaq 0x28b9b4(%rip), %rcx    # 0x33c220
movl %r14d, %edi
movl -0x2c(%rbp), %esi
movl $0xf, %edx
callq 0xe7d0
leaq 0x25c0e5(%rip), %rax    # 0x30c968
movsd (%rax), %xmm0
leaq 0x28b992(%rip), %rdi    # 0x33c220
leaq 0x77fc3(%rip), %rsi     # 0x128858
movb $0x1, %al
callq 0x9060
leal 0x1(%r14), %edi
cmpl %r15d, %edi
jge 0xb09fe
leaq 0x28b970(%rip), %rcx    # 0x33c220
movq %rdi, %rbx
movl -0x2c(%rbp), %esi
movl $0xf, %edx
callq 0xe7d0
leaq 0x25c445(%rip), %rax    # 0x30cd0c
cmpl $0x49, (%rax)
jne 0xb0913
leaq 0x25c0b5(%rip), %rax    # 0x30c988
movsd (%rax), %xmm0
leaq 0x28b942(%rip), %rdi    # 0x33c220
leaq 0x77f83(%rip), %rsi     # 0x128868
movb $0x1, %al
callq 0x9060
addl $0x2, %r14d
cmpl %r15d, %r14d
jge 0xb09e9
leaq 0x28b920(%rip), %rcx    # 0x33c220
movl %r14d, %edi
movl -0x2c(%rbp), %esi
movl $0xf, %edx
callq 0xe7d0
movl %r14d, %ebx
leaq 0x167fb6(%rip), %rax    # 0x2188d0
cmpq $0x10000, (%rax)        # imm = 0x10000
jne 0xb0a03
leaq 0x18da6a(%rip), %rax    # 0x23e398
cmpq $0x0, (%rax)
jne 0xb0955
leaq 0x25d9a5(%rip), %rax    # 0x30e2e0
cmpl $0x0, 0x1e114(%rax)
je 0xb0a03
cmpl $0x0, 0x1e110(%rax)
jle 0xb0a03
leaq 0x25c014(%rip), %rax    # 0x30c970
movsd (%rax), %xmm0
leaq 0x28b8b9(%rip), %rdi    # 0x33c220
leaq 0x77f0b(%rip), %rsi     # 0x128879
movb $0x1, %al
callq 0x9060
leal 0x1(%rbx), %r15d
cmpl %r12d, %r15d
jge 0xb09ec
leaq 0x28b89b(%rip), %rcx    # 0x33c220
movl %r15d, %edi
movl -0x2c(%rbp), %esi
movl $0xf, %edx
callq 0xe7d0
leaq 0x25c370(%rip), %rax    # 0x30cd0c
cmpl $0x49, (%rax)
jne 0xb0a06
leaq 0x25bfe8(%rip), %rax    # 0x30c990
movsd (%rax), %xmm0
leaq 0x28b86d(%rip), %rdi    # 0x33c220
leaq 0x77ecf(%rip), %rsi     # 0x128889
movb $0x1, %al
callq 0x9060
addl $0x2, %ebx
movq %rbx, %r15
cmpl %r12d, %ebx
jge 0xb0a9a
leaq 0x28b849(%rip), %rcx    # 0x33c220
movl %r15d, %edi
movl -0x2c(%rbp), %esi
movl $0xf, %edx
callq 0xe7d0
jmp 0xb0a06
movl %r14d, %r15d
movl %r15d, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl %edi, %r15d
jmp 0xb09ec
movl %ebx, %r15d
cmpl $0x4c, (%r13)
jne 0xb09ec
leaq 0x25c6fc(%rip), %rax    # 0x30d110
movsd (%rax), %xmm0
leaq 0x28b801(%rip), %rdi    # 0x33c220
leaq 0x77e74(%rip), %rsi     # 0x12889a
movb $0x1, %al
callq 0x9060
leal 0x1(%r15), %edi
cmpl %r12d, %edi
jge 0xb0a92
leaq 0x28b7e3(%rip), %r14    # 0x33c220
movl -0x2c(%rbp), %esi
movl $0xf, %edx
movq %r14, %rcx
callq 0xe7d0
leaq 0x25c704(%rip), %rax    # 0x30d158
movsd (%rax), %xmm0
leaq 0x77e4d(%rip), %rsi     # 0x1288ac
movq %r14, %rdi
movb $0x1, %al
callq 0x9060
addl $0x2, %r15d
cmpl %r12d, %r15d
jge 0xb09ec
leaq 0x28b7a3(%rip), %rcx    # 0x33c220
movl %r15d, %edi
movl -0x2c(%rbp), %esi
movl $0xf, %edx
callq 0xe7d0
jmp 0xb09ec
movl %edi, %r15d
jmp 0xb09ec
jmp 0xb09ec