// File: /workspace/github_c_makefile_star2_O0/hyc[P]trek73c/trekx.c
// Function: DrawScr
void DrawScr()
{
  WINDOW *Radframe, *Repframe, *Disframe;
  int drow, dcol;

  Radwin = subwin(stdscr, 1, 6, 0, COLS - 29);
  Repwin = subwin(stdscr, Vessels+1, 44, 2, COLS - 45);
  Cmdwin = subwin(stdscr, Cmdrow, 0, Disrow, 0);
  scrollok(Cmdwin, true);
  Radframe = subwin(stdscr, 1, 25, 0, COLS - 46);
  Repframe = subwin(stdscr, Vessels+3, 46, 1, COLS - 46);
  Disframe = subwin(stdscr, Disrow, Discol, 0, 0);
  drow = Disrow - 2;
  dcol = Discol - 2;
  DisXmid = dcol / 2;
  DisYmid = drow / 2;
  Diswin = subwin(stdscr, drow, dcol, 1, 1);
  if (LINES - Vessels > 18)
  {
    Scnwin = newwin(14, 44, Vessels+4, COLS - 45);
    Prbwin = newwin(12, 44, Vessels+4, COLS - 45);
    HelpX = 22;
  } else {
    Scnwin = newwin(drow, dcol, 1, 1);
    Prbwin = newwin(12, 44, 3, COLS - 45);
    HelpX = DisXmid;
  }
  clear();

  attron(A_ALTCHARSET);
  wattron(Radframe, A_ALTCHARSET);
  wattron(Repframe, A_ALTCHARSET);
  wattron(Disframe, A_ALTCHARSET);
  DrawBox(Repframe, Vessels+3, 46);
  DrawBox(Disframe, Disrow, Discol);
  mvaddch(0,0,ACS_ULCORNER);
  mvaddch(0,COLS-46,ACS_URCORNER);
  mvaddch(1,COLS-46,ACS_LTEE);
  mvaddch(1,COLS-1,ACS_URCORNER);
  mvaddch(Vessels+3,COLS-46,ACS_LTEE);
  mvaddch(Vessels+3,COLS-1,ACS_LRCORNER);
  mvaddch(drow+1,0,ACS_LLCORNER);
  mvaddch(drow+1,dcol+1,ACS_LRCORNER);
  attroff(A_ALTCHARSET);
  wattroff(Radframe, A_ALTCHARSET);
  wattroff(Repframe, A_ALTCHARSET);
  wattroff(Disframe, A_ALTCHARSET);
  mvwaddch(Diswin,DisYmid,DisXmid,'+');
  mvwaddstr(Radframe,0,1,"Display Radius:");
  delwin(Radframe);
  delwin(Repframe);
  delwin(Disframe);
  DrawRep();
  wnoutrefresh(stdscr);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq 0x11309(%rip), %rax     # 0x14fe8
movq (%rax), %rdi
movq 0x112f7(%rip), %rax     # 0x14fe0
movl (%rax), %r8d
subl $0x1d, %r8d
movl $0x1, %esi
movl $0x6, %edx
xorl %ecx, %ecx
callq 0x2310
movq %rax, 0x11cd8(%rip)     # 0x159e0
movq 0x112d9(%rip), %rax     # 0x14fe8
movq (%rax), %rdi
movzbl 0x118b8(%rip), %esi     # 0x155d1
addl $0x1, %esi
movq 0x112bd(%rip), %rax     # 0x14fe0
movl (%rax), %r8d
subl $0x2d, %r8d
movl $0x2c, %edx
movl $0x2, %ecx
callq 0x2310
movq %rax, 0x11c98(%rip)     # 0x159d8
movq 0x112a1(%rip), %rax     # 0x14fe8
movq (%rax), %rdi
movl 0x11748(%rip), %esi     # 0x15498
movl 0x1173e(%rip), %ecx     # 0x15494
xorl %r8d, %r8d
movl %r8d, %edx
callq 0x2310
movq %rax, 0x11c80(%rip)     # 0x159e8
movq 0x11c79(%rip), %rdi     # 0x159e8
movl $0x1, %esi
callq 0x2250
movq 0x11268(%rip), %rax     # 0x14fe8
movq (%rax), %rdi
movq 0x11256(%rip), %rax     # 0x14fe0
movl (%rax), %r8d
subl $0x2e, %r8d
movl $0x1, %esi
movl $0x19, %edx
xorl %ecx, %ecx
callq 0x2310
movq %rax, -0x8(%rbp)
movq 0x1123b(%rip), %rax     # 0x14fe8
movq (%rax), %rdi
movzbl 0x1181a(%rip), %esi     # 0x155d1
addl $0x3, %esi
movq 0x1121f(%rip), %rax     # 0x14fe0
movl (%rax), %r8d
subl $0x2e, %r8d
movl $0x2e, %edx
movl $0x1, %ecx
callq 0x2310
movq %rax, -0x10(%rbp)
movq 0x11206(%rip), %rax     # 0x14fe8
movq (%rax), %rdi
movl 0x116a9(%rip), %esi     # 0x15494
movl 0x116ab(%rip), %edx     # 0x1549c
xorl %r8d, %r8d
movl %r8d, %ecx
callq 0x2310
movq %rax, -0x18(%rbp)
movl 0x1168e(%rip), %eax     # 0x15494
subl $0x2, %eax
movl %eax, -0x1c(%rbp)
movl 0x1168a(%rip), %eax     # 0x1549c
subl $0x2, %eax
movl %eax, -0x20(%rbp)
movl -0x20(%rbp), %eax
movl $0x2, %ecx
cltd
idivl %ecx
movl %eax, 0x11bc7(%rip)     # 0x159f0
movl -0x1c(%rbp), %eax
movl $0x2, %ecx
cltd
idivl %ecx
movl %eax, 0x11bba(%rip)     # 0x159f4
movq 0x111a7(%rip), %rax     # 0x14fe8
movq (%rax), %rdi
movl -0x1c(%rbp), %esi
movl -0x20(%rbp), %edx
movl $0x1, %r8d
movl %r8d, %ecx
callq 0x2310
movq %rax, 0x11b99(%rip)     # 0x159f8
movq 0x1115a(%rip), %rax     # 0x14fc0
movl (%rax), %eax
movzbl 0x11762(%rip), %ecx     # 0x155d1
subl %ecx, %eax
cmpl $0x12, %eax
jle 0x3eda
movzbl 0x11754(%rip), %edx     # 0x155d1
addl $0x4, %edx
movq 0x11159(%rip), %rax     # 0x14fe0
movl (%rax), %ecx
subl $0x2d, %ecx
movl $0xe, %edi
movl $0x2c, %esi
callq 0x21e0
movq %rax, 0x11b5e(%rip)     # 0x15a00
movzbl 0x11728(%rip), %edx     # 0x155d1
addl $0x4, %edx
movq 0x1112d(%rip), %rax     # 0x14fe0
movl (%rax), %ecx
subl $0x2d, %ecx
movl $0xc, %edi
movl $0x2c, %esi
callq 0x21e0
movq %rax, 0x11b3a(%rip)     # 0x15a08
movl $0x16, 0x11b38(%rip)    # 0x15a10
jmp 0x3f26
movl -0x1c(%rbp), %edi
movl -0x20(%rbp), %esi
movl $0x1, %ecx
movl %ecx, %edx
callq 0x21e0
movq %rax, 0x11b0d(%rip)     # 0x15a00
movq 0x110e6(%rip), %rax     # 0x14fe0
movl (%rax), %ecx
subl $0x2d, %ecx
movl $0xc, %edi
movl $0x2c, %esi
movl $0x3, %edx
callq 0x21e0
movq %rax, 0x11aee(%rip)     # 0x15a08
movl 0x11ad0(%rip), %eax     # 0x159f0
movl %eax, 0x11aea(%rip)     # 0x15a10
movq 0x110bb(%rip), %rax     # 0x14fe8
movq (%rax), %rdi
callq 0x2050
movq 0x110ac(%rip), %rax     # 0x14fe8
movq (%rax), %rdi
movl $0x400000, %esi         # imm = 0x400000
xorl %eax, %eax
movl %eax, %edx
callq 0x2290
movq -0x8(%rbp), %rdi
movl $0x400000, %esi         # imm = 0x400000
xorl %eax, %eax
movl %eax, %edx
callq 0x2290
movq -0x10(%rbp), %rdi
movl $0x400000, %esi         # imm = 0x400000
xorl %eax, %eax
movl %eax, %edx
callq 0x2290
movq -0x18(%rbp), %rdi
movl $0x400000, %esi         # imm = 0x400000
xorl %eax, %eax
movl %eax, %edx
callq 0x2290
movq -0x10(%rbp), %rdi
movzbl 0x11643(%rip), %esi     # 0x155d1
addl $0x3, %esi
movl $0x2e, %edx
callq 0x3ba0
movq -0x18(%rbp), %rdi
movl 0x114ef(%rip), %esi     # 0x15494
movl 0x114f1(%rip), %edx     # 0x1549c
callq 0x3ba0
movq 0x11031(%rip), %rax     # 0x14fe8
movq (%rax), %rdi
xorl %edx, %edx
movl %edx, %esi
callq 0x21d0
cmpl $-0x1, %eax
jne 0x3fca
jmp 0x3fe6
movq 0x11017(%rip), %rax     # 0x14fe8
movq (%rax), %rdi
movq 0x11015(%rip), %rax     # 0x14ff0
movl 0x1b0(%rax), %esi
callq 0x2150
movq 0x10ffb(%rip), %rax     # 0x14fe8
movq (%rax), %rdi
movq 0x10fe9(%rip), %rax     # 0x14fe0
movl (%rax), %edx
subl $0x2e, %edx
xorl %esi, %esi
callq 0x21d0
cmpl $-0x1, %eax
jne 0x400a
jmp 0x4026
movq 0x10fd7(%rip), %rax     # 0x14fe8
movq (%rax), %rdi
movq 0x10fd5(%rip), %rax     # 0x14ff0
movl 0x1ac(%rax), %esi
callq 0x2150
movq 0x10fbb(%rip), %rax     # 0x14fe8
movq (%rax), %rdi
movq 0x10fa9(%rip), %rax     # 0x14fe0
movl (%rax), %edx
subl $0x2e, %edx
movl $0x1, %esi
callq 0x21d0
cmpl $-0x1, %eax
jne 0x404d
jmp 0x4069
movq 0x10f94(%rip), %rax     # 0x14fe8
movq (%rax), %rdi
movq 0x10f92(%rip), %rax     # 0x14ff0
movl 0x1d0(%rax), %esi
callq 0x2150
movq 0x10f78(%rip), %rax     # 0x14fe8
movq (%rax), %rdi
movq 0x10f66(%rip), %rax     # 0x14fe0
movl (%rax), %edx
subl $0x1, %edx
movl $0x1, %esi
callq 0x21d0
cmpl $-0x1, %eax
jne 0x4090
jmp 0x40ac
movq 0x10f51(%rip), %rax     # 0x14fe8
movq (%rax), %rdi
movq 0x10f4f(%rip), %rax     # 0x14ff0
movl 0x1ac(%rax), %esi
callq 0x2150
movq 0x10f35(%rip), %rax     # 0x14fe8
movq (%rax), %rdi
movzbl 0x11514(%rip), %esi     # 0x155d1
addl $0x3, %esi
movq 0x10f19(%rip), %rax     # 0x14fe0
movl (%rax), %edx
subl $0x2e, %edx
callq 0x21d0
cmpl $-0x1, %eax
jne 0x40d8
jmp 0x40f4
movq 0x10f09(%rip), %rax     # 0x14fe8
movq (%rax), %rdi
movq 0x10f07(%rip), %rax     # 0x14ff0
movl 0x1d0(%rax), %esi
callq 0x2150
movq 0x10eed(%rip), %rax     # 0x14fe8
movq (%rax), %rdi
movzbl 0x114cc(%rip), %esi     # 0x155d1
addl $0x3, %esi
movq 0x10ed1(%rip), %rax     # 0x14fe0
movl (%rax), %edx
subl $0x1, %edx
callq 0x21d0
cmpl $-0x1, %eax
jne 0x4120
jmp 0x413c
movq 0x10ec1(%rip), %rax     # 0x14fe8
movq (%rax), %rdi
movq 0x10ebf(%rip), %rax     # 0x14ff0
movl 0x1a8(%rax), %esi
callq 0x2150
movq 0x10ea5(%rip), %rax     # 0x14fe8
movq (%rax), %rdi
movl -0x1c(%rbp), %esi
addl $0x1, %esi
xorl %edx, %edx
callq 0x21d0
cmpl $-0x1, %eax
jne 0x415a
jmp 0x4176
movq 0x10e87(%rip), %rax     # 0x14fe8
movq (%rax), %rdi
movq 0x10e85(%rip), %rax     # 0x14ff0
movl 0x1b4(%rax), %esi
callq 0x2150
movq 0x10e6b(%rip), %rax     # 0x14fe8
movq (%rax), %rdi
movl -0x1c(%rbp), %esi
addl $0x1, %esi
movl -0x20(%rbp), %edx
addl $0x1, %edx
callq 0x21d0
cmpl $-0x1, %eax
jne 0x4198
jmp 0x41b4
movq 0x10e49(%rip), %rax     # 0x14fe8
movq (%rax), %rdi
movq 0x10e47(%rip), %rax     # 0x14ff0
movl 0x1a8(%rax), %esi
callq 0x2150
movq 0x10e2d(%rip), %rax     # 0x14fe8
movq (%rax), %rdi
movl $0x400000, %esi         # imm = 0x400000
xorl %eax, %eax
movl %eax, %edx
callq 0x2080
movq -0x8(%rbp), %rdi
movl $0x400000, %esi         # imm = 0x400000
xorl %eax, %eax
movl %eax, %edx
callq 0x2080
movq -0x10(%rbp), %rdi
movl $0x400000, %esi         # imm = 0x400000
xorl %eax, %eax
movl %eax, %edx
callq 0x2080
movq -0x18(%rbp), %rdi
movl $0x400000, %esi         # imm = 0x400000
xorl %eax, %eax
movl %eax, %edx
callq 0x2080
movq 0x117ef(%rip), %rdi     # 0x159f8
movl 0x117e5(%rip), %esi     # 0x159f4
movl 0x117db(%rip), %edx     # 0x159f0
callq 0x21d0
cmpl $-0x1, %eax
jne 0x4221
jmp 0x4232
movq 0x117d0(%rip), %rdi     # 0x159f8
movl $0x2b, %esi
callq 0x2150
movq -0x8(%rbp), %rdi
xorl %esi, %esi
movl $0x1, %edx
callq 0x21d0
cmpl $-0x1, %eax
jne 0x4249
jmp 0x425e
movq -0x8(%rbp), %rdi
leaq 0xbda8(%rip), %rsi      # 0xfffc
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x2200
movq -0x8(%rbp), %rdi
callq 0x21b0
movq -0x10(%rbp), %rdi
callq 0x21b0
movq -0x18(%rbp), %rdi
callq 0x21b0
callq 0x3ab0
movq 0x10d63(%rip), %rax     # 0x14fe8
movq (%rax), %rdi
callq 0x21a0
addq $0x20, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)