// File: /workspace/github_c_makefile_star2_O2/beejjorgensen[P]conquest/conqd3.c
// Function: print_col
void print_col(void)
{
    int i;
    boolean see;
    tplanet *pplanet;
    printw("olonies:");
    point(50, 1);
    for (i = 1; i <= nstars; i++) {
        pplanet = stars[i].first_planet;
        while (pplanet != nil) {
            if ((pplanet->team) == player) {
                addch(i + 'A' - 1);
                see = true;
                if (((y_cursor > 21) && (x_cursor >= 50)) ||
                    (y_cursor > 24)) {
                    pause();
                    clear_field();
                    point(50, 1);
                };
                printw("%d:%2d                         ", pplanet->number,
                       pplanet->psee_capacity);
                point(x_cursor + 5, y_cursor);
                x_cursor = x_cursor - 5;
                if (pplanet->psee_capacity == 0)
                    printw(" Decimated");
                else if ((pplanet->team == none) && see)
                    printw(" No colony");
                else if (pplanet->team == player) {
                    printw("(%2d,/%3d)", pplanet->inhabitants,
                           pplanet->iu);
                    if (pplanet->conquered)
                        printw("Con");
                    else
                        printw("   ");
                    if (pplanet->mb != 0)
                        printw("%2dmb", pplanet->mb);
                    else
                        printw("    ");
                    if (pplanet->amb != 0)
                        printw("%2damb", pplanet->amb);
                } else if ((pplanet->team == ENEMY) && see) {
                    printw("*EN*");
                    if (see && pplanet->conquered) {
                        printw("Conquered");
                    } else
                        printw("   ");
                    if (pplanet->under_attack) {
                        if (pplanet->mb != 0)
                            printw("%2dmb", pplanet->mb);
                        else
                            printw("    ");
                        if (pplanet->amb != 0)
                            printw("%2damb", pplanet->amb);
                    };
                };
                point(x_cursor, y_cursor + 1);

            };
            pplanet = pplanet->next;
        };
    };
    clear_field();
    cle3r_left();
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
leaq 0x55fa(%rip), %rdi      # 0x94c0
xorl %eax, %eax
callq 0x2030
pushq $0x32
popq %rdi
pushq $0x1
popq %rsi
callq 0x4dbd
pushq $0x1
popq %rcx
movq 0xa106(%rip), %r15      # 0xdfe8
leaq 0xc9cb(%rip), %rbx      # 0x108b4
leaq 0xc9c0(%rip), %rbp      # 0x108b0
leaq 0x55d2(%rip), %r14      # 0x94c9
cmpq $0x16, %rcx
je 0x409c
imulq $0x18, %rcx, %rax
leaq 0xc584(%rip), %rdx      # 0x10490
leaq (%rdx,%rax), %r12
addq $0x8, %r12
movq %rcx, (%rsp)
movl %ecx, %r13d
orl $0x40, %r13d
movq (%r12), %r12
testq %r12, %r12
je 0x4090
cmpl $0x1, 0xc(%r12)
jne 0x4087
movq (%r15), %rdi
movl %r13d, %esi
callq 0x2090
movl (%rbx), %edx
cmpl $0x16, %edx
setge %al
cmpl $0x32, (%rbp)
setge %cl
cmpl $0x18, %edx
jg 0x3f5b
andb %cl, %al
je 0x3f70
callq 0x71b1
callq 0x6eef
pushq $0x32
popq %rdi
pushq $0x1
popq %rsi
callq 0x4dbd
movl (%r12), %esi
movl 0x8(%r12), %edx
movq %r14, %rdi
xorl %eax, %eax
callq 0x2030
movl (%rbp), %edi
addl $0x5, %edi
movl (%rbx), %esi
callq 0x4dbd
addl $-0x5, (%rbp)
cmpl $0x0, 0x8(%r12)
je 0x3fbc
movl 0xc(%r12), %eax
testl %eax, %eax
je 0x4008
cmpl $0x1, %eax
je 0x3fcf
cmpl $0x2, %eax
jne 0x407b
leaq 0x553a(%rip), %rdi      # 0x94f4
jmp 0x3fc3
leaq 0x5526(%rip), %rdi      # 0x94e9
xorl %eax, %eax
callq 0x2030
jmp 0x407b
movl 0x10(%r12), %esi
movl 0x14(%r12), %edx
leaq 0x551f(%rip), %rdi      # 0x94ff
xorl %eax, %eax
callq 0x2030
cmpl $0x0, 0x20(%r12)
leaq 0x5516(%rip), %rdi      # 0x950a
leaq 0x55ea(%rip), %rax      # 0x95e5
cmoveq %rax, %rdi
xorl %eax, %eax
callq 0x2030
jmp 0x403d
leaq 0x550c(%rip), %rdi      # 0x951b
xorl %eax, %eax
callq 0x2030
cmpl $0x0, 0x20(%r12)
leaq 0x54fd(%rip), %rdi      # 0x9520
leaq 0x55bb(%rip), %rax      # 0x95e5
cmoveq %rax, %rdi
xorl %eax, %eax
callq 0x2030
cmpl $0x0, 0x24(%r12)
je 0x407b
movl 0x18(%r12), %esi
testl %esi, %esi
je 0x4056
leaq 0x54c1(%rip), %rdi      # 0x950e
xorl %eax, %eax
callq 0x2030
jmp 0x4064
leaq 0x5587(%rip), %rdi      # 0x95e4
xorl %eax, %eax
callq 0x2030
movl 0x1c(%r12), %esi
testl %esi, %esi
je 0x407b
leaq 0x54a0(%rip), %rdi      # 0x9514
xorl %eax, %eax
callq 0x2030
movl (%rbp), %edi
movl (%rbx), %esi
incl %esi
callq 0x4dbd
addq $0x38, %r12
jmp 0x3f1f
movq (%rsp), %rcx
incq %rcx
jmp 0x3ef7
callq 0x6eef
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x6f4d