// File: /workspace/github_c_makefile_star2_O0/jrrk[P]cbzone/c_graphics.c
// Function: staticscreen
void staticscreen()
{
  static int window[2][2] = {70, 75, 860, 350};
  int pt[2], radius;
  char text[30];
  static short line[] = {58, 66, 66, 58, 56, 438, 68, 438, 938, 56,
                           938, 68, 942, 442, 934, 434, 56, 472, 68, 472,
                           934, 468, 942, 476, 58, 644, 66, 652, 932, 648,
                           944, 648};
  static short scan[] = {500, 495, 500, 500, 500, 625, 500, 620, 435, 560,
                           440, 560, 565, 560, 560, 560};
  static short scrn[] = {75, 64, 925, 64, 936, 75, 936, 425, 925, 436,
                           75, 436, 64, 425, 64, 75, 75, 64};

  gprsetclippingactive(False);
  gprsettextbackgroundvalue(opt->cpi[COLOR_BG]);
  gprsetdrawvalue(opt->cpi[COLOR_FG]);
  gprsettextvalue(opt->cpi[COLOR_TEXT]);
  drawrectangle(50, 50, 900, 400);      /* draw the outer top rectangle */
  drawrectangle(53, 53, 894, 394);      /*          inner top           */
  drawrectangle(50, 460, 900, 200);     /*          outer bottom        */
  drawrectangle(53, 463, 894, 194);     /*          inner bottom        */
  polyline(scrn, 9);                    /*       inner top frame        */
  pt[0] = 62;
  pt[1] = 62;
  radius = 6;
  gprcircle(pt, radius);                /* now let's draw some screws   */
  pt[0] = 938;
  gprcircle(pt, radius);
  pt[1] = 438;
  gprcircle(pt, radius);
  pt[0] = 62;
  gprcircle(pt, radius);
  pt[0] = 62;
  pt[1] = 472;
  gprcircle(pt, radius);
  pt[0] = 938;
  gprcircle(pt, radius);
  pt[1] = 648;
  gprcircle(pt, radius);
  pt[0] = 62;
  gprcircle(pt, radius);
  multiline(line, 8);                   /*        now the slots         */
  pt[0] = 500;
  pt[1] = 560;
  radius = 65;
  gprsetdrawvalue(opt->cpi[COLOR_SCANNER]);
  gprcircle(pt, radius);                /*      radar screen            */
  radius = 64;
  gprcircle(pt, radius);
  multiline(scan, 4);
  pt[0] = 855;
  pt[1] = 560;
  radius = 65;
  gprsetdrawvalue(opt->cpi[COLOR_JOYSTICK]);
  gprcircle(pt, radius);                /*      joystick screen         */
  radius = 64;
  gprcircle(pt, radius);
  gprsetdrawvalue(opt->cpi[COLOR_TEXT]);
  drawrectangle(590, 570, 55, 30);      /*      missile warning         */
  drawrectangle(655, 570, 55, 30);      /*      lander warning          */
  drawrectangle(590, 520, 120, 30);     /*         score box            */
  gprsettextfont(titlefont);
  strcpy(text, "BATTLEZONE V2.0c");
  printstring(50, 45, text, strlen(text));
  gprsettextvalue(opt->cpi[COLOR_JOYSTICK]);
  strcpy(text, "F");                    /* directions for the joystick  */
  printstring(850, 503, text, 1);
  strcpy(text, "B");
  printstring(850, 630, text, 1);
  strcpy(text, "R");
  printstring(913, 570, text, 1);
  strcpy(text, "L");
  printstring(785, 570, text, 1);
  gprsettextvalue(opt->cpi[COLOR_TEXT]);
  gprsettextfont(controlfont);
  strcpy(text, "Missile");              /*      warning messages        */
  printstring(595, 590, text, 7);
  strcpy(text, "Lander");
  printstring(664, 590, text, 6);
  strcpy(text, "H");                    /*      switch positions        */
  printstring(920, 608, text, 1);
  strcpy(text, "L");
  printstring(920, 642, text, 1);
  gprsetclipwindow(window);             /* define the playing field     */
  gprsettextfont(generalfont);
  pt[0] = 500;
  pt[1] = 355;
  gprsetcursorposition(pt);
  gprsetclippingactive(True);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
xorl %edi, %edi
movb $0x0, %al
callq 0x98e0
leaq 0xf518(%rip), %rax      # 0x19960
movq (%rax), %rax
movl 0xf0(%rax), %edi
movb $0x0, %al
callq 0x9e50
leaq 0xf501(%rip), %rax      # 0x19960
movq (%rax), %rax
movl 0xf4(%rax), %edi
movb $0x0, %al
callq 0x9e90
leaq 0xf4ea(%rip), %rax      # 0x19960
movq (%rax), %rax
movl 0x114(%rax), %edi
movb $0x0, %al
callq 0x9e10
movl $0x32, %esi
movl $0x384, %edx            # imm = 0x384
movl $0x190, %ecx            # imm = 0x190
movl %esi, %edi
movb $0x0, %al
callq 0x9720
movl $0x35, %esi
movl $0x37e, %edx            # imm = 0x37E
movl $0x18a, %ecx            # imm = 0x18A
movl %esi, %edi
movb $0x0, %al
callq 0x9720
movl $0x32, %edi
movl $0x1cc, %esi            # imm = 0x1CC
movl $0x384, %edx            # imm = 0x384
movl $0xc8, %ecx
movb $0x0, %al
callq 0x9720
movl $0x35, %edi
movl $0x1cf, %esi            # imm = 0x1CF
movl $0x37e, %edx            # imm = 0x37E
movl $0xc2, %ecx
movb $0x0, %al
callq 0x9720
leaq 0xef4d(%rip), %rdi      # 0x19440
movl $0x9, %esi
movb $0x0, %al
callq 0x9500
movl $0x3e, -0x8(%rbp)
movl $0x3e, -0x4(%rbp)
movl $0x6, -0xc(%rbp)
leaq -0x8(%rbp), %rdi
movl -0xc(%rbp), %esi
movb $0x0, %al
callq 0x9ed0
movl $0x3aa, -0x8(%rbp)      # imm = 0x3AA
leaq -0x8(%rbp), %rdi
movl -0xc(%rbp), %esi
movb $0x0, %al
callq 0x9ed0
movl $0x1b6, -0x4(%rbp)      # imm = 0x1B6
leaq -0x8(%rbp), %rdi
movl -0xc(%rbp), %esi
movb $0x0, %al
callq 0x9ed0
movl $0x3e, -0x8(%rbp)
leaq -0x8(%rbp), %rdi
movl -0xc(%rbp), %esi
movb $0x0, %al
callq 0x9ed0
movl $0x3e, -0x8(%rbp)
movl $0x1d8, -0x4(%rbp)      # imm = 0x1D8
leaq -0x8(%rbp), %rdi
movl -0xc(%rbp), %esi
movb $0x0, %al
callq 0x9ed0
movl $0x3aa, -0x8(%rbp)      # imm = 0x3AA
leaq -0x8(%rbp), %rdi
movl -0xc(%rbp), %esi
movb $0x0, %al
callq 0x9ed0
movl $0x288, -0x4(%rbp)      # imm = 0x288
leaq -0x8(%rbp), %rdi
movl -0xc(%rbp), %esi
movb $0x0, %al
callq 0x9ed0
movl $0x3e, -0x8(%rbp)
leaq -0x8(%rbp), %rdi
movl -0xc(%rbp), %esi
movb $0x0, %al
callq 0x9ed0
leaq 0xee1d(%rip), %rdi      # 0x193e0
movl $0x8, %esi
movb $0x0, %al
callq 0x95e0
movl $0x1f4, -0x8(%rbp)      # imm = 0x1F4
movl $0x230, -0x4(%rbp)      # imm = 0x230
movl $0x41, -0xc(%rbp)
leaq 0xf375(%rip), %rax      # 0x19960
movq (%rax), %rax
movl 0x11c(%rax), %edi
movb $0x0, %al
callq 0x9e90
leaq -0x8(%rbp), %rdi
movl -0xc(%rbp), %esi
movb $0x0, %al
callq 0x9ed0
movl $0x40, -0xc(%rbp)
leaq -0x8(%rbp), %rdi
movl -0xc(%rbp), %esi
movb $0x0, %al
callq 0x9ed0
leaq 0xedfb(%rip), %rdi      # 0x19420
movl $0x4, %esi
movb $0x0, %al
callq 0x95e0
movl $0x357, -0x8(%rbp)      # imm = 0x357
movl $0x230, -0x4(%rbp)      # imm = 0x230
movl $0x41, -0xc(%rbp)
leaq 0xf313(%rip), %rax      # 0x19960
movq (%rax), %rax
movl 0x118(%rax), %edi
movb $0x0, %al
callq 0x9e90
leaq -0x8(%rbp), %rdi
movl -0xc(%rbp), %esi
movb $0x0, %al
callq 0x9ed0
movl $0x40, -0xc(%rbp)
leaq -0x8(%rbp), %rdi
movl -0xc(%rbp), %esi
movb $0x0, %al
callq 0x9ed0
leaq 0xf2d9(%rip), %rax      # 0x19960
movq (%rax), %rax
movl 0x114(%rax), %edi
movb $0x0, %al
callq 0x9e90
movl $0x24e, %edi            # imm = 0x24E
movl $0x23a, %esi            # imm = 0x23A
movl $0x37, %edx
movl $0x1e, %ecx
movb $0x0, %al
callq 0x9720
movl $0x28f, %edi            # imm = 0x28F
movl $0x23a, %esi            # imm = 0x23A
movl $0x37, %edx
movl $0x1e, %ecx
movb $0x0, %al
callq 0x9720
movl $0x24e, %edi            # imm = 0x24E
movl $0x208, %esi            # imm = 0x208
movl $0x78, %edx
movl $0x1e, %ecx
movb $0x0, %al
callq 0x9720
movq 0xf4c9(%rip), %rdi      # 0x19bb8
movb $0x0, %al
callq 0x9460
leaq -0x30(%rbp), %rdi
leaq 0xa0e1(%rip), %rsi      # 0x147e2
callq 0x5460
leaq -0x30(%rbp), %rax
movq %rax, -0x38(%rbp)
leaq -0x30(%rbp), %rdi
callq 0x5270
movq -0x38(%rbp), %rdx
movq %rax, %rcx
movl $0x32, %edi
movl $0x2d, %esi
movb $0x0, %al
callq 0x9490
leaq 0xf22a(%rip), %rax      # 0x19960
movq (%rax), %rax
movl 0x118(%rax), %edi
movb $0x0, %al
callq 0x9e10
leaq -0x30(%rbp), %rdi
leaq 0xa0a2(%rip), %rsi      # 0x147f3
callq 0x5460
leaq -0x30(%rbp), %rdx
movl $0x352, %edi            # imm = 0x352
movl $0x1f7, %esi            # imm = 0x1F7
movl $0x1, %ecx
movb $0x0, %al
callq 0x9490
leaq -0x30(%rbp), %rdi
leaq 0xa07a(%rip), %rsi      # 0x147f5
callq 0x5460
leaq -0x30(%rbp), %rdx
movl $0x352, %edi            # imm = 0x352
movl $0x276, %esi            # imm = 0x276
movl $0x1, %ecx
movb $0x0, %al
callq 0x9490
leaq -0x30(%rbp), %rdi
leaq 0xa3b7(%rip), %rsi      # 0x14b5c
callq 0x5460
leaq -0x30(%rbp), %rdx
movl $0x391, %edi            # imm = 0x391
movl $0x23a, %esi            # imm = 0x23A
movl $0x1, %ecx
movb $0x0, %al
callq 0x9490
leaq -0x30(%rbp), %rdi
leaq 0xa028(%rip), %rsi      # 0x147f7
callq 0x5460
leaq -0x30(%rbp), %rdx
movl $0x311, %edi            # imm = 0x311
movl $0x23a, %esi            # imm = 0x23A
movl $0x1, %ecx
movb $0x0, %al
callq 0x9490
leaq 0xf16b(%rip), %rax      # 0x19960
movq (%rax), %rax
movl 0x114(%rax), %edi
movb $0x0, %al
callq 0x9e10
movq 0xf3a4(%rip), %rdi      # 0x19bb0
movb $0x0, %al
callq 0x9460
leaq -0x30(%rbp), %rdi
leaq 0x9fdb(%rip), %rsi      # 0x147f9
callq 0x5460
leaq -0x30(%rbp), %rdx
movl $0x253, %edi            # imm = 0x253
movl $0x24e, %esi            # imm = 0x24E
movl $0x7, %ecx
movb $0x0, %al
callq 0x9490
leaq -0x30(%rbp), %rdi
leaq 0x9fb9(%rip), %rsi      # 0x14801
callq 0x5460
leaq -0x30(%rbp), %rdx
movl $0x298, %edi            # imm = 0x298
movl $0x24e, %esi            # imm = 0x24E
movl $0x6, %ecx
movb $0x0, %al
callq 0x9490
leaq -0x30(%rbp), %rdi
leaq 0x9f96(%rip), %rsi      # 0x14808
callq 0x5460
leaq -0x30(%rbp), %rdx
movl $0x398, %edi            # imm = 0x398
movl $0x260, %esi            # imm = 0x260
movl $0x1, %ecx
movb $0x0, %al
callq 0x9490
leaq -0x30(%rbp), %rdi
leaq 0x9f5b(%rip), %rsi      # 0x147f7
callq 0x5460
leaq -0x30(%rbp), %rdx
movl $0x398, %edi            # imm = 0x398
movl $0x282, %esi            # imm = 0x282
movl $0x1, %ecx
movb $0x0, %al
callq 0x9490
leaq 0xeb0e(%rip), %rdi      # 0x193d0
movb $0x0, %al
callq 0xa030
movq 0xf2f0(%rip), %rdi      # 0x19bc0
movb $0x0, %al
callq 0x9460
movl $0x1f4, -0x8(%rbp)      # imm = 0x1F4
movl $0x163, -0x4(%rbp)      # imm = 0x163
leaq -0x8(%rbp), %rdi
movb $0x0, %al
callq 0x9d30
movl $0x1, %edi
movb $0x0, %al
callq 0x98e0
addq $0x40, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)