// File: /workspace/github_cpp_makefile_star2_O1/jkingan[P]ladyheather/heathmsc.cpp
// Function: show_all_adevs()
void show_all_adevs()
{
struct ADEV_INFO bins;
COORD row,col;
char *s;
int i;
int color;
int mask;

   // show all adev tables on the screen at the same time
   adevs_shown = 0;
   adev_cols_shown = 0;
   if(adevs_active(1) == 0) return;
   find_global_max();
   mask = 0xFFFF;

   if(TEXT_HEIGHT <= 8) row = ALL_ROW+5;
   else if((TEXT_HEIGHT <= 16) && (PLOT_ROW >= 576)) row = ALL_ROW+5;
   else if((TEXT_HEIGHT <= 14) && big_plot) row = ALL_ROW+5;
   else if((TEXT_HEIGHT <= 12) && (SCREEN_WIDTH >= WIDE_WIDTH)) row = ALL_ROW+5;
   else if((TEXT_HEIGHT <= 14) && (SCREEN_WIDTH >= MEDIUM_WIDTH)) row = ALL_ROW+3;
   else {
      row = ALL_ROW;
//    if(osc_params || (osc_discipline == 0)) ++row;
      if(osc_params) ++row;
   }

   all_adev_row = row;
   adev_page_size = adev_table_rows = (adev_bottom_row - all_adev_row);
   if(adev_decades_shown && (adev_decades_shown < adev_page_size)) adev_page_size = adev_decades_shown;
//sprintf(debug_text, "arow:%d  abr:%d  aps:%d  ads:%d", ADEV_ROW, adev_bottom_row, adev_page_size, adev_decades_shown);

   col = 0;

   i = 0;
   s = "ADEV";
   if     (all_adevs == ALL_PPS)   { i = 0x01; s = "chA"; }
   else if(all_adevs == ALL_OSC)   { i = 0x02; s = "chB"; }
   else if(all_adevs == ALL_CHC)   { i = 0x04; s = "chC"; }
   else if(all_adevs == ALL_CHD)   { i = 0x08; s = "chD"; }
   else if(all_adevs == ALL_CHANS) { i = 0x0F; s = "TICC"; }

   if(text_mode) ;
   else if(rcvr_type == TICC_RCVR) {
      if((i & adevs_active(1)) == 0) {
         sprintf(out, "No %s ADEV data available   ", s);
      }
      else {
         sprintf(out, "Collecting %s data          ", s);
      }
   }

   if(zoom_screen == 0) {
      vidstr(row, col, RED, out);
   }

   // all_adevs == 1  -  OSC
   // all_adevs == 2  -  PPS
   // all_adevs == 3  -  CHC
   // all_adevs == 4  -  CHD
   // all_adevs == 5  -  all channels

   mask = DISPLAY_ADEV;
   if(all_adevs == ALL_OSC) {  // showing OSC adevs
      fetch_adev_info(OSC_ADEV, &bins);
      adev_cols_shown += show_adev_table(&bins, row, col, OSC_ADEV_COLOR, 1);
      if(mixed_adevs != MIXED_REGULAR) {
         if(adev_display_mask & DISPLAY_CHB) plot_adev_curve(&bins, OSC_ADEV_COLOR, mask);
      }
   }
   else if(all_adevs == ALL_PPS) {   // showing PPS adevs
      fetch_adev_info(PPS_ADEV, &bins);
      adev_cols_shown += show_adev_table(&bins, row, col, PPS_ADEV_COLOR, 2);
      if(mixed_adevs != MIXED_REGULAR) {
         if(adev_display_mask & DISPLAY_CHA) plot_adev_curve(&bins, PPS_ADEV_COLOR, mask);
      }
   }
   else if(all_adevs == ALL_CHC) {   // showing CHC adevs
      fetch_adev_info(CHC_ADEV, &bins);
      adev_cols_shown += show_adev_table(&bins, row, col, CHC_ADEV_COLOR, 3);
      if(mixed_adevs != MIXED_REGULAR) {
         if(adev_display_mask & DISPLAY_CHC) plot_adev_curve(&bins, CHC_ADEV_COLOR, mask);
      }
   }
   else if(all_adevs == ALL_CHD) {   // showing selected adev type for all channels
      fetch_adev_info(CHD_ADEV, &bins);
      adev_cols_shown += show_adev_table(&bins, row, col, CHD_ADEV_COLOR, 4);
      if(mixed_adevs != MIXED_REGULAR) {
         if(adev_display_mask & DISPLAY_CHD) plot_adev_curve(&bins, CHD_ADEV_COLOR, mask);
      }
   }
   else if(all_adevs == ALL_CHANS) {
      if     (ATYPE == OSC_ADEV) { fetch_adev_info(PPS_ADEV, &bins); mask = DISPLAY_ADEV; }
      else if(ATYPE == OSC_HDEV) { fetch_adev_info(PPS_HDEV, &bins); mask = DISPLAY_HDEV; } 
      else if(ATYPE == OSC_MDEV) { fetch_adev_info(PPS_MDEV, &bins); mask = DISPLAY_MDEV; } 
      else if(ATYPE == OSC_TDEV) { fetch_adev_info(PPS_TDEV, &bins); mask = DISPLAY_TDEV; } 
//    else if(ATYPE == A_MTIE)   { fetch_adev_info(A_MTIE, &bins);   mask = DISPLAY_MTIE; } 
else if(ATYPE == A_MTIE)   { fetch_adev_info(A_MTIE, &bins);   mask = DISPLAY_CHA; } 
      adev_cols_shown += show_adev_table(&bins, row, col, PPS_ADEV_COLOR, 5);
      if(mixed_adevs != MIXED_REGULAR) {
         if(adev_display_mask & DISPLAY_CHA) plot_adev_curve(&bins, PPS_ADEV_COLOR, mask);
      }
   }

   color = GREEN;
   if(SCREEN_WIDTH < NARROW_SCREEN) col = (TEXT_COLS*1)/4;
   else if(SCREEN_WIDTH < MEDIUM_WIDTH) col += 25;
   else                                 col += 32;

   mask = DISPLAY_HDEV;
   if     (all_adevs == ALL_OSC) fetch_adev_info(OSC_HDEV, &bins);
   else if(all_adevs == ALL_PPS) fetch_adev_info(PPS_HDEV, &bins);
   else if(all_adevs == ALL_CHC) fetch_adev_info(CHC_HDEV, &bins);
   else if(all_adevs == ALL_CHD) fetch_adev_info(CHD_HDEV, &bins);
   else if(all_adevs == ALL_CHANS) {  // channel B
      if     (ATYPE == OSC_ADEV) { fetch_adev_info(OSC_ADEV, &bins); mask = DISPLAY_ADEV; }  
      else if(ATYPE == OSC_HDEV) { fetch_adev_info(OSC_HDEV, &bins); mask = DISPLAY_HDEV; }  
      else if(ATYPE == OSC_MDEV) { fetch_adev_info(OSC_MDEV, &bins); mask = DISPLAY_MDEV; }  
      else if(ATYPE == OSC_TDEV) { fetch_adev_info(OSC_TDEV, &bins); mask = DISPLAY_TDEV; }  
//    else if(ATYPE == A_MTIE)   { fetch_adev_info(B_MTIE, &bins);   mask = DISPLAY_MTIE; } 
else if(ATYPE == A_MTIE)   { fetch_adev_info(B_MTIE, &bins);   mask = DISPLAY_CHB; } 
      color = OSC_ADEV_COLOR;
   }
   adev_cols_shown += show_adev_table(&bins, row, col, color, 6);
   if(mixed_adevs != MIXED_REGULAR) {
      if(adev_display_mask & DISPLAY_CHB) plot_adev_curve(&bins, color, mask);
   }

   if(SCREEN_WIDTH >= WIDE_WIDTH) col = FILTER_COL+20;
   else                           col = (TEXT_COLS*2)/4;
   mask = DISPLAY_MDEV;
   if     (all_adevs == ALL_OSC) fetch_adev_info(OSC_MDEV, &bins);
   else if(all_adevs == ALL_PPS) fetch_adev_info(PPS_MDEV, &bins);
   else if(all_adevs == ALL_CHC) fetch_adev_info(CHC_MDEV, &bins);
   else if(all_adevs == ALL_CHD) fetch_adev_info(CHD_MDEV, &bins);
   else if(all_adevs == ALL_CHANS) {
      if     (ATYPE == OSC_ADEV) { fetch_adev_info(CHC_ADEV, &bins); mask = DISPLAY_ADEV; }  
      else if(ATYPE == OSC_HDEV) { fetch_adev_info(CHC_HDEV, &bins); mask = DISPLAY_HDEV; }  
      else if(ATYPE == OSC_MDEV) { fetch_adev_info(CHC_MDEV, &bins); mask = DISPLAY_MDEV; }  
      else if(ATYPE == OSC_TDEV) { fetch_adev_info(CHC_TDEV, &bins); mask = DISPLAY_TDEV; }  
//    else if(ATYPE == A_MTIE)   { fetch_adev_info(C_MTIE, &bins);   mask = DISPLAY_MTIE; } 
      else if(ATYPE == A_MTIE)   { fetch_adev_info(C_MTIE, &bins);   mask = DISPLAY_CHC; } 
   }
   adev_cols_shown += show_adev_table(&bins, row, col, MAGENTA, 7);
   if(mixed_adevs != MIXED_REGULAR) {
      if(adev_display_mask & DISPLAY_CHC) plot_adev_curve(&bins, MAGENTA, mask);
   }

   if(SCREEN_WIDTH >= WIDE_WIDTH) col += 32;
   else                           col = (TEXT_COLS*3)/4;
   mask = DISPLAY_TDEV;
   if     (all_adevs == ALL_OSC) fetch_adev_info(OSC_TDEV, &bins);
   else if(all_adevs == ALL_PPS) fetch_adev_info(PPS_TDEV, &bins);
   else if(all_adevs == ALL_CHC) fetch_adev_info(CHC_TDEV, &bins);
   else if(all_adevs == ALL_CHD) fetch_adev_info(CHD_TDEV, &bins);
   else if(all_adevs == ALL_CHANS) {
      if     (ATYPE == OSC_ADEV) { fetch_adev_info(CHD_ADEV, &bins); mask = DISPLAY_ADEV; }  
      else if(ATYPE == OSC_HDEV) { fetch_adev_info(CHD_HDEV, &bins); mask = DISPLAY_HDEV; }  
      else if(ATYPE == OSC_MDEV) { fetch_adev_info(CHD_MDEV, &bins); mask = DISPLAY_MDEV; }  
      else if(ATYPE == OSC_TDEV) { fetch_adev_info(CHD_TDEV, &bins); mask = DISPLAY_TDEV; }  
//    else if(ATYPE == A_MTIE)   { fetch_adev_info(D_MTIE, &bins);   mask = DISPLAY_MTIE; } 
      else if(ATYPE == A_MTIE)   { fetch_adev_info(D_MTIE, &bins);   mask = DISPLAY_CHD; } 
   }
   adev_cols_shown += show_adev_table(&bins, row, col, YELLOW, 8);

   if(mixed_adevs != MIXED_REGULAR) {
      if(adev_display_mask & DISPLAY_CHD) plot_adev_curve(&bins, YELLOW, mask);
   }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x658, %rsp            # imm = 0x658
leaq 0x139ea7(%rip), %rax    # 0x23cc84
xorl %ecx, %ecx
movl %ecx, (%rax)
leaq 0x139ea0(%rip), %r12    # 0x23cc88
movl %ecx, (%r12)
movl $0x1, %edi
callq 0xd84d7
testl %eax, %eax
je 0x103541
callq 0xd801e
leaq 0x115a0a(%rip), %rax    # 0x218814
movl (%rax), %eax
movl $0xc, %ebx
cmpl $0x9, %eax
jl 0x102e83
cmpl $0x10, %eax
jg 0x102e2a
leaq 0x115a5a(%rip), %rcx    # 0x21887c
cmpl $0x23f, (%rcx)          # imm = 0x23F
jg 0x102e83
cmpl $0xe, %eax
jg 0x102e3b
leaq 0x1159fa(%rip), %rcx    # 0x218830
cmpb $0x0, (%rcx)
jne 0x102e83
cmpl $0xd, %eax
setl %dl
leaq 0x1159b8(%rip), %rcx    # 0x218800
movl (%rcx), %ecx
cmpl $0x4fa, %ecx            # imm = 0x4FA
setge %sil
testb %sil, %dl
jne 0x102e83
cmpl $0xf, %eax
setl %al
cmpl $0x3e2, %ecx            # imm = 0x3E2
setge %cl
movl $0xa, %ebx
testb %cl, %al
jne 0x102e83
leaq 0x20a274(%rip), %rax    # 0x30d0ec
cmpb $0x1, (%rax)
movl $0x8, %ebx
sbbl $0x0, %ebx
leaq 0x11592a(%rip), %rax    # 0x2187b4
movl %ebx, (%rax)
leaq 0x115925(%rip), %rax    # 0x2187b8
movl (%rax), %eax
subl %ebx, %eax
leaq 0x115922(%rip), %rcx    # 0x2187c0
movl %eax, (%rcx)
leaq 0x115915(%rip), %rcx    # 0x2187bc
leaq 0x115916(%rip), %rdx    # 0x2187c4
movl (%rdx), %edx
cmpl %eax, %edx
movl %eax, %esi
cmovll %edx, %esi
testl %edx, %edx
cmovel %eax, %esi
movl %esi, (%rcx)
leaq 0x139e79(%rip), %r13    # 0x23cd3e
movb (%r13), %al
decb %al
cmpb $0x4, %al
ja 0x102ef0
leaq 0x28772(%rip), %rcx     # 0x12b648
movzbl %al, %eax
shll $0x2, %eax
movslq (%rax,%rcx), %r14
addq %rcx, %r14
leaq 0x28772(%rip), %rcx     # 0x12b65c
movl (%rax,%rcx), %r15d
jmp 0x102efa
xorl %r15d, %r15d
leaq 0x32acf(%rip), %r14     # 0x1359c9
leaq 0x1158d7(%rip), %rax    # 0x2187d8
cmpl $0x0, (%rax)
jne 0x102f46
leaq 0x1159c3(%rip), %rax    # 0x2188d0
cmpq $0x10000, (%rax)        # imm = 0x10000
jne 0x102f46
movl $0x1, %edi
callq 0xd84d7
testl %r15d, %eax
leaq 0x32b4b(%rip), %rax     # 0x135a75
leaq 0x32b61(%rip), %rsi     # 0x135a92
cmoveq %rax, %rsi
leaq 0x2392e4(%rip), %rdi    # 0x33c220
movq %r14, %rdx
xorl %eax, %eax
callq 0x9060
leaq 0x20985b(%rip), %rax    # 0x30c7a8
cmpb $0x0, (%rax)
jne 0x102f67
leaq 0x2392c7(%rip), %rcx    # 0x33c220
movl %ebx, %edi
xorl %esi, %esi
movl $0xc, %edx
callq 0xe7d0
movzbl (%r13), %eax
decl %eax
cmpl $0x4, %eax
ja 0x1031c6
leaq 0x283ca(%rip), %rcx     # 0x12b348
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq -0x680(%rbp), %r14
xorl %edi, %edi
movq %r14, %rsi
callq 0x100c0d
movq %r14, %rdi
movl %ebx, %esi
xorl %edx, %edx
movl $0x6, %ecx
callq 0x1016b5
addl %eax, (%r12)
leaq 0x139d89(%rip), %rax    # 0x23cd3d
cmpb $0x2, (%rax)
je 0x1031c6
leaq 0x120654(%rip), %rax    # 0x223618
testb $0x2, 0x1(%rax)
je 0x1031c6
leaq -0x680(%rbp), %rdi
movl $0x6, %esi
jmp 0x103122
leaq 0x12062a(%rip), %rax    # 0x223610
movl (%rax), %eax
movl $0x1, %r14d
cmpq $0x9, %rax
ja 0x103190
leaq 0x2835d(%rip), %rcx     # 0x12b35c
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq -0x680(%rbp), %rsi
movl $0x5, %edi
jmp 0x103175
leaq -0x680(%rbp), %r14
movl $0xa, %edi
movq %r14, %rsi
callq 0x100c0d
movq %r14, %rdi
movl %ebx, %esi
xorl %edx, %edx
movl $0xb, %ecx
callq 0x1016b5
addl %eax, (%r12)
leaq 0x139cf4(%rip), %rax    # 0x23cd3d
cmpb $0x2, (%rax)
je 0x1031c6
leaq 0x1205bf(%rip), %rax    # 0x223618
testb $0x4, 0x1(%rax)
je 0x1031c6
leaq -0x680(%rbp), %rdi
movl $0xb, %esi
jmp 0x103122
leaq -0x680(%rbp), %r14
movl $0xf, %edi
movq %r14, %rsi
callq 0x100c0d
movq %r14, %rdi
movl %ebx, %esi
xorl %edx, %edx
movl $0xf, %ecx
callq 0x1016b5
addl %eax, (%r12)
leaq 0x139c99(%rip), %rax    # 0x23cd3d
cmpb $0x2, (%rax)
je 0x1031c6
leaq 0x120564(%rip), %rax    # 0x223618
testb $0x8, 0x1(%rax)
je 0x1031c6
leaq -0x680(%rbp), %rdi
movl $0xf, %esi
jmp 0x103122
leaq -0x680(%rbp), %r14
movl $0x5, %edi
movq %r14, %rsi
callq 0x100c0d
movq %r14, %rdi
movl %ebx, %esi
xorl %edx, %edx
movl $0x9, %ecx
callq 0x1016b5
addl %eax, (%r12)
leaq 0x139c41(%rip), %rax    # 0x23cd3d
cmpb $0x2, (%rax)
je 0x1031c6
leaq 0x12050c(%rip), %rax    # 0x223618
testb $0x1, 0x1(%rax)
je 0x1031c6
leaq -0x680(%rbp), %rdi
movl $0x9, %esi
movl $0x1, %edx
callq 0x1024ca
jmp 0x1031c6
leaq -0x680(%rbp), %rsi
movl $0x7, %edi
callq 0x100c0d
movl $0x4, %r14d
jmp 0x103190
leaq -0x680(%rbp), %rsi
movl $0x6, %edi
callq 0x100c0d
movl $0x2, %r14d
jmp 0x103190
movl $0x8, %r14d
leaq -0x680(%rbp), %rsi
movl $0x8, %edi
callq 0x100c0d
jmp 0x103190
leaq -0x680(%rbp), %rsi
xorl %edi, %edi
callq 0xfdee3
movl $0x100, %r14d           # imm = 0x100
leaq -0x680(%rbp), %rdi
movl %ebx, %esi
xorl %edx, %edx
movl $0x9, %ecx
callq 0x1016b5
addl %eax, (%r12)
leaq 0x139b8d(%rip), %rax    # 0x23cd3d
cmpb $0x2, (%rax)
je 0x1031c6
leaq 0x12045c(%rip), %rax    # 0x223618
testb $0x1, 0x1(%rax)
jne 0x103553
leaq 0x115633(%rip), %rdx    # 0x218800
leaq 0x120370(%rip), %rax    # 0x223544
imull $0x31a, (%rax), %ecx    # imm = 0x31A
movl (%rdx), %eax
movslq %ecx, %rcx
imulq $0x51eb851f, %rcx, %rcx # imm = 0x51EB851F
movq %rcx, %rdx
shrq $0x3f, %rdx
sarq $0x25, %rcx
addl %edx, %ecx
movq %r12, %r13
cmpl %ecx, %eax
jge 0x103213
leaq 0x115607(%rip), %rax    # 0x218808
movl (%rax), %eax
leal 0x3(%rax), %r14d
testl %eax, %eax
cmovnsl %eax, %r14d
sarl $0x2, %r14d
jmp 0x103227
cmpl $0x3e2, %eax            # imm = 0x3E2
movl $0x19, %eax
movl $0x20, %r14d
cmovll %eax, %r14d
leaq 0x139b10(%rip), %rax    # 0x23cd3e
movzbl (%rax), %eax
movl $0x2, %r15d
movb $0xa, %r12b
decl %eax
cmpl $0x4, %eax
ja 0x1032c8
leaq 0x28138(%rip), %rcx     # 0x12b384
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq -0x680(%rbp), %rsi
movl $0x1, %edi
jmp 0x1032c3
leaq 0x1203a6(%rip), %rax    # 0x223610
movl (%rax), %eax
movb $0x6, %r12b
cmpq $0x9, %rax
ja 0x1032c8
leaq 0x2811c(%rip), %rcx     # 0x12b398
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq -0x680(%rbp), %rsi
xorl %edi, %edi
callq 0x100c0d
movl $0x1, %r15d
jmp 0x1032c8
leaq -0x680(%rbp), %rsi
movl $0xb, %edi
jmp 0x1032c3
leaq -0x680(%rbp), %rsi
movl $0x10, %edi
jmp 0x1032c3
leaq -0x680(%rbp), %rsi
movl $0x6, %edi
callq 0x100c0d
movzbl %r12b, %r12d
leaq -0x680(%rbp), %rdi
movl %ebx, %esi
movl %r14d, %edx
movl %r12d, %ecx
callq 0x1016b5
addl %eax, (%r13)
leaq 0x139a52(%rip), %rax    # 0x23cd3d
cmpb $0x2, (%rax)
je 0x10330f
leaq 0x120321(%rip), %rax    # 0x223618
testb $0x2, 0x1(%rax)
je 0x10330f
leaq -0x680(%rbp), %rdi
movl %r12d, %esi
movl %r15d, %edx
callq 0x1024ca
leaq 0x1154ea(%rip), %rax    # 0x218800
cmpl $0x4fa, (%rax)          # imm = 0x4FA
jl 0x10332e
leaq 0x11547f(%rip), %rax    # 0x2187a4
movl (%rax), %r14d
addl $0x14, %r14d
jmp 0x103344
leaq 0x1154d3(%rip), %rax    # 0x218808
movl (%rax), %eax
movl %eax, %r14d
shrl $0x1f, %r14d
addl %eax, %r14d
sarl %r14d
movq %r13, %r12
leaq 0x1399f0(%rip), %r13    # 0x23cd3e
movzbl (%r13), %eax
movl $0x4, %r15d
decl %eax
cmpl $0x4, %eax
ja 0x1033e7
leaq 0x28055(%rip), %rcx     # 0x12b3c0
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq -0x680(%rbp), %rsi
movl $0x2, %edi
jmp 0x1033e2
leaq 0x120287(%rip), %rax    # 0x223610
movl (%rax), %eax
cmpq $0x9, %rax
ja 0x1033e7
leaq 0x2803c(%rip), %rcx     # 0x12b3d4
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq -0x680(%rbp), %rsi
movl $0xa, %edi
callq 0x100c0d
movl $0x1, %r15d
jmp 0x1033e7
leaq -0x680(%rbp), %rsi
movl $0xc, %edi
jmp 0x1033e2
leaq -0x680(%rbp), %rsi
movl $0x11, %edi
jmp 0x1033e2
leaq -0x680(%rbp), %rsi
movl $0x7, %edi
callq 0x100c0d
leaq -0x680(%rbp), %rdi
movl %ebx, %esi
movl %r14d, %edx
movl $0xd, %ecx
callq 0x1016b5
addl %eax, (%r12)
leaq 0x139935(%rip), %rax    # 0x23cd3d
cmpb $0x2, (%rax)
je 0x10342e
leaq 0x120204(%rip), %rax    # 0x223618
testb $0x4, 0x1(%rax)
je 0x10342e
leaq -0x680(%rbp), %rdi
movl $0xd, %esi
movl %r15d, %edx
callq 0x1024ca
leaq 0x1153cb(%rip), %rax    # 0x218800
cmpl $0x4fa, (%rax)          # imm = 0x4FA
jl 0x103443
addl $0x20, %r14d
jmp 0x103461
leaq 0x1153be(%rip), %rax    # 0x218808
movl (%rax), %eax
leal (%rax,%rax,2), %ecx
leal (%rax,%rax,2), %r14d
addl $0x3, %r14d
testl %ecx, %ecx
cmovnsl %ecx, %r14d
sarl $0x2, %r14d
movzbl (%r13), %eax
movl $0x8, %r15d
decl %eax
cmpl $0x4, %eax
ja 0x1034fa
leaq 0x27f7e(%rip), %rcx     # 0x12b3fc
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq -0x680(%rbp), %rsi
movl $0x3, %edi
jmp 0x1034f5
leaq 0x120174(%rip), %rax    # 0x223610
movl (%rax), %eax
cmpq $0x9, %rax
ja 0x1034fa
leaq 0x27f65(%rip), %rcx     # 0x12b410
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq -0x680(%rbp), %rsi
movl $0xf, %edi
callq 0x100c0d
movl $0x1, %r15d
jmp 0x1034fa
leaq -0x680(%rbp), %rsi
movl $0x12, %edi
jmp 0x1034f5
leaq -0x680(%rbp), %rsi
movl $0xd, %edi
jmp 0x1034f5
leaq -0x680(%rbp), %rsi
movl $0x8, %edi
callq 0x100c0d
leaq -0x680(%rbp), %rdi
movl %ebx, %esi
movl %r14d, %edx
movl $0xe, %ecx
callq 0x1016b5
addl %eax, (%r12)
leaq 0x139822(%rip), %rax    # 0x23cd3d
cmpb $0x2, (%rax)
je 0x103541
leaq 0x1200f1(%rip), %rax    # 0x223618
testb $0x8, 0x1(%rax)
je 0x103541
leaq -0x680(%rbp), %rdi
movl $0xe, %esi
movl %r15d, %edx
callq 0x1024ca
addq $0x658, %rsp            # imm = 0x658
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq -0x680(%rbp), %rdi
movl $0x9, %esi
movl %r14d, %edx
jmp 0x103127
leaq -0x680(%rbp), %rsi
movl $0x2, %edi
callq 0x100c0d
movl $0x4, %r15d
jmp 0x1032c8
leaq -0x680(%rbp), %rsi
movl $0xb, %edi
callq 0x100c0d
movl $0x2, %r15d
jmp 0x1033e7
leaq -0x680(%rbp), %rsi
movl $0x10, %edi
callq 0x100c0d
movl $0x2, %r15d
jmp 0x1034fa
leaq -0x680(%rbp), %rsi
movl $0x3, %edi
callq 0x100c0d
movl $0x8, %r15d
jmp 0x1032c8
leaq -0x680(%rbp), %rsi
movl $0xd, %edi
callq 0x100c0d
movl $0x8, %r15d
jmp 0x1033e7
leaq -0x680(%rbp), %rsi
movl $0x11, %edi
callq 0x100c0d
movl $0x4, %r15d
jmp 0x1034fa
leaq -0x680(%rbp), %rsi
movl $0x1, %edi
callq 0xfdee3
movl $0x200, %r15d           # imm = 0x200
jmp 0x1032c8
leaq -0x680(%rbp), %rsi
movl $0x2, %edi
callq 0xfdee3
movl $0x400, %r15d           # imm = 0x400
jmp 0x1033e7
leaq -0x680(%rbp), %rsi
movl $0x3, %edi
callq 0xfdee3
movl $0x800, %r15d           # imm = 0x800
jmp 0x1034fa