// File: /workspace/github_c_makefile_star2_O0/beejjorgensen[P]conquest/conqmp.c
// Function: printmap
void printmap(void)
{
    int i1, i2;
    cle2r_screen();
    for (i1 = bdsize; i1 >= 1; i1--) {
        if (((i1 == 1) || (((i1 / 5) * 5) == i1)))
            printw("%2d|", i1);
        else
            printw("  |");
        for (i2 = 1; i2 <= bdsize; i2++)
            printw("%c%c%c", board[i2][i1].enemy, board[i2][i1].star,
                   board[i2][i1].tf);
        printw("|\n");
    };
    printw("   ");
    for (i1 = 1; i1 <= bdsize; i1++)
        printw("---");
    addch('\n');
    printw("   ");
    for (i1 = 1; i1 <= bdsize; i1++) {
        if (((i1 == 1) || (((i1 / 5) * 5) == i1)))
            printw("%2d ", i1);
        else
            printw("   ");
    };
    addch('\n');
    point(33, 18);
    printw("Turn: %3d", turn);
    point(33, 19);
    printw("Production yr: %d", production_year);
    bottom_field = 0;
    for (i1 = 19; i1 <= 24; i1++)
        left_line[i1] = false;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
callq 0xa790
movl $0xf, -0x4(%rbp)
cmpl $0x1, -0x4(%rbp)
jl 0x8c49
cmpl $0x1, -0x4(%rbp)
je 0x8b77
movl -0x4(%rbp), %eax
movl $0x5, %ecx
cltd
idivl %ecx
imull $0x5, %eax, %eax
cmpl -0x4(%rbp), %eax
jne 0x8b8a
movl -0x4(%rbp), %esi
leaq 0x5dbc(%rip), %rdi      # 0xe93d
movb $0x0, %al
callq 0x2030
jmp 0x8b98
leaq 0x5db1(%rip), %rdi      # 0xe942
movb $0x0, %al
callq 0x2030
movl $0x1, -0x8(%rbp)
cmpl $0xf, -0x8(%rbp)
jg 0x8c2d
movslq -0x8(%rbp), %rcx
leaq 0xa1ec(%rip), %rax      # 0x12da0
imulq $0xc0, %rcx, %rcx
addq %rcx, %rax
movslq -0x4(%rbp), %rcx
imulq $0xc, %rcx, %rcx
addq %rcx, %rax
movl (%rax), %esi
movslq -0x8(%rbp), %rcx
leaq 0xa1ca(%rip), %rax      # 0x12da0
imulq $0xc0, %rcx, %rcx
addq %rcx, %rax
movslq -0x4(%rbp), %rcx
imulq $0xc, %rcx, %rcx
addq %rcx, %rax
movl 0x4(%rax), %edx
movslq -0x8(%rbp), %rcx
leaq 0xa1a7(%rip), %rax      # 0x12da0
imulq $0xc0, %rcx, %rcx
addq %rcx, %rax
movslq -0x4(%rbp), %rcx
imulq $0xc, %rcx, %rcx
addq %rcx, %rax
movl 0x8(%rax), %ecx
leaq 0x57b0(%rip), %rdi      # 0xe3c8
movb $0x0, %al
callq 0x2030
movl -0x8(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x8(%rbp)
jmp 0x8b9f
leaq 0x5d12(%rip), %rdi      # 0xe946
movb $0x0, %al
callq 0x2030
movl -0x4(%rbp), %eax
addl $-0x1, %eax
movl %eax, -0x4(%rbp)
jmp 0x8b54
leaq 0x5af1(%rip), %rdi      # 0xe741
movb $0x0, %al
callq 0x2030
movl $0x1, -0x4(%rbp)
cmpl $0xf, -0x4(%rbp)
jg 0x8c7d
leaq 0x5cde(%rip), %rdi      # 0xe949
movb $0x0, %al
callq 0x2030
movl -0x4(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x4(%rbp)
jmp 0x8c5e
movq 0x936c(%rip), %rax      # 0x11ff0
movq (%rax), %rdi
movl $0xa, %esi
callq 0x20a0
leaq 0x5aa9(%rip), %rdi      # 0xe741
movb $0x0, %al
callq 0x2030
movl $0x1, -0x4(%rbp)
cmpl $0xf, -0x4(%rbp)
jg 0x8cf3
cmpl $0x1, -0x4(%rbp)
je 0x8cc5
movl -0x4(%rbp), %eax
movl $0x5, %ecx
cltd
idivl %ecx
imull $0x5, %eax, %eax
cmpl -0x4(%rbp), %eax
jne 0x8cd8
movl -0x4(%rbp), %esi
leaq 0x5c7e(%rip), %rdi      # 0xe94d
movb $0x0, %al
callq 0x2030
jmp 0x8ce6
leaq 0x5a62(%rip), %rdi      # 0xe741
movb $0x0, %al
callq 0x2030
jmp 0x8ce8
movl -0x4(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x4(%rbp)
jmp 0x8ca6
movq 0x92f6(%rip), %rax      # 0x11ff0
movq (%rax), %rdi
movl $0xa, %esi
callq 0x20a0
movl $0x21, %edi
movl $0x12, %esi
callq 0x69f0
leaq 0xba77(%rip), %rax      # 0x14794
movl (%rax), %esi
leaq 0x5c2c(%rip), %rdi      # 0xe952
movb $0x0, %al
callq 0x2030
movl $0x21, %edi
movl $0x13, %esi
callq 0x69f0
leaq 0xba55(%rip), %rax      # 0x14798
movl (%rax), %esi
leaq 0x5c10(%rip), %rdi      # 0xe95c
movb $0x0, %al
callq 0x2030
leaq 0xbb62(%rip), %rax      # 0x148bc
movl $0x0, (%rax)
movl $0x13, -0x4(%rbp)
cmpl $0x18, -0x4(%rbp)
jg 0x8d8a
movslq -0x4(%rbp), %rcx
leaq 0xbb58(%rip), %rax      # 0x148d0
movl $0x0, (%rax,%rcx,4)
movl -0x4(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x4(%rbp)
jmp 0x8d67
addq $0x10, %rsp
popq %rbp
retq