// File: /workspace/github_cpp_makefile_star2_O3/BohangZhang[P]Sorcery-C-Project/player.cc
// Function: Player::minion_slot_print()
void Player::minion_slot_print () {
    for (int i = 0; i < 11; i++) {
        cout << EXTERNAL_BORDER_CHAR_UP_DOWN;
        // print minion slot
        for (int j = 0; j < 5; j++) {
            if (j < slot->getSize()) {
                if (slot->getSlot()[j]->getType() == "Act_Minion") {
                    card_template_t active_m = display_minion_activated_ability(slot->getSlot()[j]->getName(), slot->getSlot()[j]->getCost(),slot->getSlot()[j]->getAttack(), slot->getSlot()[j]->getDefense(),  
                        slot->getSlot
                        ()[j]->getAbilityCost(), slot->getSlot()[j]->getEffect());
                    cout << active_m[i];
                }
                else if (slot->getSlot()[j]->getType() == "Tri_Minion") {
                    card_template_t tri_m = display_minion_triggered_ability(slot->getSlot()[j]->getName(), slot->getSlot()[j]->getCost(),slot->getSlot()[j]->getAttack(), slot->getSlot()[j]->getDefense(),     
                        slot->getSlot()[j]->getEffect());
                    cout << tri_m[i];
                }
                else if (slot->getSlot()[j]->getType() == "Enchantment") {
                    if (slot->getSlot()[j]->getOriginType() == "Act_Minion") {
                        card_template_t active_m = display_minion_activated_ability(slot->getSlot()[j]->getOriginName(), slot->getSlot()[j]->getOriginCost(),slot->getSlot()[j]->getAttack(), slot->getSlot()[j]->getDefense(),  
                            slot->getSlot()[j]->getAbilityCost(), slot->getSlot()[j]->getOriginEffect());
                        cout << active_m[i];
                    }
                    else if (slot->getSlot()[j]->getOriginType() == "Tri_Minion") {
                        card_template_t tri_m = display_minion_triggered_ability(slot->getSlot()[j]->getOriginName(), slot->getSlot()[j]->getOriginCost(),slot->getSlot()[j]->getAttack(), slot->getSlot()[j]->getDefense(),     
                            slot->getSlot()[j]->getOriginEffect());
                        cout << tri_m[i];
                    }
                    else {
                        card_template_t m = display_minion_no_ability(slot->getSlot()[j]->getOriginName(), slot->getSlot()[j]->getOriginCost(),slot->getSlot()[j]->getAttack(), slot->getSlot()[j]->getDefense());
                        cout << m[i];
                    }
                }
                else {
                    card_template_t m = display_minion_no_ability(slot->getSlot()[j]->getName(), slot->getSlot()[j]->getCost(),slot->getSlot()[j]->getAttack(), slot->getSlot()[j]->getDefense());
                    cout << m[i];
                }
            }
            else {
                cout << CARD_TEMPLATE_BORDER[i];
            }
        }
        cout << EXTERNAL_BORDER_CHAR_UP_DOWN <<endl;
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x178, %rsp            # imm = 0x178
movq %rdi, 0x8(%rsp)
movq $0x0, 0x10(%rsp)
leaq 0x15f34(%rip), %rbx     # 0x332e0
movq 0x15c15(%rip), %r15     # 0x32fc8
leaq 0x18(%rsp), %r13
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
movq %r15, %rdi
callq 0x5240
xorl %r15d, %r15d
xorl %ebx, %ebx
movq 0x8(%rsp), %r14
movq 0x48(%r14), %rdi
callq 0x243da
cltq
cmpq %rax, %rbx
jge 0x1d594
movq 0x48(%r14), %rdi
callq 0x243d6
movq (%rax), %rax
movq (%rax,%r15), %rsi
movq %r13, %rdi
callq 0xe5f6
movq %r13, %rdi
leaq 0xa4cf(%rip), %rsi      # 0x278d6
callq 0x50a0
movl %eax, %ebp
movq 0x18(%rsp), %rdi
leaq 0x28(%rsp), %r14
cmpq %r14, %rdi
je 0x1d42a
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x51f0
testl %ebp, %ebp
je 0x1d5c1
movq 0x8(%rsp), %rax
movq 0x48(%rax), %rdi
callq 0x243d6
movq (%rax), %rax
movq (%rax,%r15), %rsi
movq %r13, %rdi
callq 0xe5f6
movq %r13, %rdi
leaq 0xa488(%rip), %rsi      # 0x278e1
callq 0x50a0
movl %eax, %ebp
movq 0x18(%rsp), %rdi
cmpq %r14, %rdi
je 0x1d477
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x51f0
testl %ebp, %ebp
je 0x1d716
movq 0x8(%rsp), %rax
movq 0x48(%rax), %rdi
callq 0x243d6
movq (%rax), %rax
movq (%rax,%r15), %rsi
movq %r13, %rdi
callq 0xe5f6
movq %r13, %rdi
leaq 0xa3cc(%rip), %rsi      # 0x27872
callq 0x50a0
movl %eax, %ebp
movq 0x18(%rsp), %rdi
cmpq %r14, %rdi
je 0x1d4c4
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x51f0
testl %ebp, %ebp
je 0x1d85d
movq 0x8(%rsp), %r14
movq 0x48(%r14), %rdi
callq 0x243d6
movq (%rax), %rax
movq (%rax,%r15), %rsi
leaq 0x38(%rsp), %rdi
callq 0xe5d2
movq 0x48(%r14), %rdi
callq 0x243d6
movq (%rax), %rax
movq (%rax,%r15), %rdi
callq 0xe63e
movl %eax, %ebp
movq 0x8(%rsp), %rax
movq 0x48(%rax), %rdi
callq 0x243d6
movq (%rax), %rax
movq (%rax,%r15), %rdi
movq (%rdi), %rax
callq *0x20(%rax)
movl %eax, %r14d
movq 0x8(%rsp), %rax
movq 0x48(%rax), %rdi
callq 0x243d6
movq (%rax), %rax
movq (%rax,%r15), %rdi
movq (%rdi), %rax
callq *0x28(%rax)
movq %r13, %rdi
leaq 0x38(%rsp), %rsi
movl %ebp, %edx
movl %r14d, %ecx
movl %eax, %r8d
callq 0xc988
movq 0x38(%rsp), %rdi
leaq 0x48(%rsp), %rax
cmpq %rax, %rdi
je 0x1d56c
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x51f0
movq 0x18(%rsp), %rax
movq 0x10(%rsp), %rcx
shlq $0x5, %rcx
movq (%rax,%rcx), %rsi
movq 0x8(%rax,%rcx), %rdx
movq 0x15a3e(%rip), %rdi     # 0x32fc8
callq 0x5240
jmp 0x1d83a
leaq 0x15cfd(%rip), %rax     # 0x33298
movq (%rax), %rax
movq 0x10(%rsp), %rcx
shlq $0x5, %rcx
movq (%rax,%rcx), %rsi
movq 0x8(%rax,%rcx), %rdx
movq 0x15a11(%rip), %rdi     # 0x32fc8
callq 0x5240
jmp 0x1d842
movq 0x8(%rsp), %r14
movq 0x48(%r14), %rdi
callq 0x243d6
movq (%rax), %rax
movq (%rax,%r15), %rsi
leaq 0x158(%rsp), %rdi
callq 0xe5d2
movq 0x48(%r14), %rdi
callq 0x243d6
movq (%rax), %rax
movq (%rax,%r15), %rdi
callq 0xe63e
movl %eax, %r13d
movq 0x8(%rsp), %rax
movq 0x48(%rax), %rdi
callq 0x243d6
movq (%rax), %rax
movq (%rax,%r15), %rdi
movq (%rdi), %rax
callq *0x20(%rax)
movl %eax, %ebp
movq 0x8(%rsp), %rax
movq 0x48(%rax), %rdi
callq 0x243d6
movq (%rax), %rax
movq (%rax,%r15), %rdi
movq (%rdi), %rax
callq *0x28(%rax)
movl %eax, %r12d
movq 0x8(%rsp), %rax
movq 0x48(%rax), %rdi
callq 0x243d6
movq (%rax), %rax
movq (%rax,%r15), %rdi
movq (%rdi), %rax
callq *0x38(%rax)
movl %eax, %r14d
movq 0x8(%rsp), %rax
movq 0x48(%rax), %rdi
callq 0x243d6
movq (%rax), %rax
movq (%rax,%r15), %rsi
leaq 0x138(%rsp), %rdi
callq 0xe61a
leaq 0x138(%rsp), %rax
movq %rax, (%rsp)
leaq 0x18(%rsp), %rdi
leaq 0x158(%rsp), %rsi
movl %r13d, %edx
movl %ebp, %ecx
movl %r12d, %r8d
movl %r14d, %r9d
callq 0xcfd7
movq 0x138(%rsp), %rdi
leaq 0x148(%rsp), %rax
cmpq %rax, %rdi
je 0x1d6c4
movq 0x148(%rsp), %rsi
incq %rsi
callq 0x51f0
movq 0x158(%rsp), %rdi
leaq 0x168(%rsp), %rax
cmpq %rax, %rdi
leaq 0x18(%rsp), %r13
je 0x1d6ee
movq 0x168(%rsp), %rsi
incq %rsi
callq 0x51f0
movq 0x18(%rsp), %rax
movq 0x10(%rsp), %rcx
shlq $0x5, %rcx
movq (%rax,%rcx), %rsi
movq 0x8(%rax,%rcx), %rdx
movq 0x158bc(%rip), %rdi     # 0x32fc8
callq 0x5240
jmp 0x1d83a
movq 0x8(%rsp), %r14
movq 0x48(%r14), %rdi
callq 0x243d6
movq (%rax), %rax
movq (%rax,%r15), %rsi
leaq 0x118(%rsp), %rdi
callq 0xe5d2
movq 0x48(%r14), %rdi
callq 0x243d6
movq (%rax), %rax
movq (%rax,%r15), %rdi
callq 0xe63e
movl %eax, %ebp
movq 0x8(%rsp), %rax
movq 0x48(%rax), %rdi
callq 0x243d6
movq (%rax), %rax
movq (%rax,%r15), %rdi
movq (%rdi), %rax
callq *0x20(%rax)
movl %eax, %r12d
movq 0x8(%rsp), %rax
movq 0x48(%rax), %rdi
callq 0x243d6
movq (%rax), %rax
movq (%rax,%r15), %rdi
movq (%rdi), %rax
callq *0x28(%rax)
movl %eax, %r14d
movq 0x8(%rsp), %rax
movq 0x48(%rax), %rdi
callq 0x243d6
movq (%rax), %rax
movq (%rax,%r15), %rsi
leaq 0xf8(%rsp), %rdi
callq 0xe61a
movq %r13, %rdi
leaq 0x118(%rsp), %rsi
movl %ebp, %edx
movl %r12d, %ecx
movl %r14d, %r8d
leaq 0xf8(%rsp), %r9
callq 0xcea8
movq 0xf8(%rsp), %rdi
leaq 0x108(%rsp), %rax
cmpq %rax, %rdi
je 0x1d7f2
movq 0x108(%rsp), %rsi
incq %rsi
callq 0x51f0
movq 0x118(%rsp), %rdi
leaq 0x128(%rsp), %rax
cmpq %rax, %rdi
je 0x1d817
movq 0x128(%rsp), %rsi
incq %rsi
callq 0x51f0
movq 0x18(%rsp), %rax
movq 0x10(%rsp), %rcx
shlq $0x5, %rcx
movq (%rax,%rcx), %rsi
movq 0x8(%rax,%rcx), %rdx
movq 0x15793(%rip), %rdi     # 0x32fc8
callq 0x5240
movq %r13, %rdi
callq 0xc796
incq %rbx
addq $0x10, %r15
cmpq $0x50, %r15
movq 0x8(%rsp), %r14
jne 0x1d3d1
jmp 0x1dc4d
movq 0x8(%rsp), %rax
movq 0x48(%rax), %rdi
callq 0x243d6
movq (%rax), %rax
movq (%rax,%r15), %rsi
movq (%rsi), %rax
movq %r13, %rdi
callq *0x88(%rax)
movq %r13, %rdi
leaq 0xa04e(%rip), %rsi      # 0x278d6
callq 0x50a0
movl %eax, %ebp
movq 0x18(%rsp), %rdi
cmpq %r14, %rdi
je 0x1d8a6
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x51f0
testl %ebp, %ebp
je 0x1d9cc
movq 0x8(%rsp), %rax
movq 0x48(%rax), %rdi
callq 0x243d6
movq (%rax), %rax
movq (%rax,%r15), %rsi
movq (%rsi), %rax
movq %r13, %rdi
callq *0x88(%rax)
movq %r13, %rdi
leaq 0xa008(%rip), %rsi      # 0x278e1
callq 0x50a0
movl %eax, %ebp
movq 0x18(%rsp), %rdi
cmpq %r14, %rdi
je 0x1d8f7
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x51f0
testl %ebp, %ebp
je 0x1db27
movq 0x8(%rsp), %r14
movq 0x48(%r14), %rdi
callq 0x243d6
movq (%rax), %rax
movq (%rax,%r15), %rsi
movq (%rsi), %rax
leaq 0x58(%rsp), %rdi
callq *0x70(%rax)
movq 0x48(%r14), %rdi
callq 0x243d6
movq (%rax), %rax
movq (%rax,%r15), %rdi
movq (%rdi), %rax
callq *0x80(%rax)
movl %eax, %ebp
movq 0x8(%rsp), %rax
movq 0x48(%rax), %rdi
callq 0x243d6
movq (%rax), %rax
movq (%rax,%r15), %rdi
movq (%rdi), %rax
callq *0x20(%rax)
movl %eax, %r14d
movq 0x8(%rsp), %rax
movq 0x48(%rax), %rdi
callq 0x243d6
movq (%rax), %rax
movq (%rax,%r15), %rdi
movq (%rdi), %rax
callq *0x28(%rax)
movq %r13, %rdi
leaq 0x58(%rsp), %rsi
movl %ebp, %edx
movl %r14d, %ecx
movl %eax, %r8d
callq 0xc988
movq 0x58(%rsp), %rdi
leaq 0x68(%rsp), %rax
cmpq %rax, %rdi
je 0x1d9a4
movq 0x68(%rsp), %rsi
incq %rsi
callq 0x51f0
movq 0x18(%rsp), %rax
movq 0x10(%rsp), %rcx
shlq $0x5, %rcx
movq (%rax,%rcx), %rsi
movq 0x8(%rax,%rcx), %rdx
movq 0x15606(%rip), %rdi     # 0x32fc8
callq 0x5240
jmp 0x1d83a
movq 0x8(%rsp), %r14
movq 0x48(%r14), %rdi
callq 0x243d6
movq (%rax), %rax
movq (%rax,%r15), %rsi
movq (%rsi), %rax
leaq 0xd8(%rsp), %rdi
callq *0x70(%rax)
movq 0x48(%r14), %rdi
callq 0x243d6
movq (%rax), %rax
movq (%rax,%r15), %rdi
movq (%rdi), %rax
callq *0x80(%rax)
movl %eax, %r13d
movq 0x8(%rsp), %rax
movq 0x48(%rax), %rdi
callq 0x243d6
movq (%rax), %rax
movq (%rax,%r15), %rdi
movq (%rdi), %rax
callq *0x20(%rax)
movl %eax, %ebp
movq 0x8(%rsp), %rax
movq 0x48(%rax), %rdi
callq 0x243d6
movq (%rax), %rax
movq (%rax,%r15), %rdi
movq (%rdi), %rax
callq *0x28(%rax)
movl %eax, %r12d
movq 0x8(%rsp), %rax
movq 0x48(%rax), %rdi
callq 0x243d6
movq (%rax), %rax
movq (%rax,%r15), %rdi
movq (%rdi), %rax
callq *0x38(%rax)
movl %eax, %r14d
movq 0x8(%rsp), %rax
movq 0x48(%rax), %rdi
callq 0x243d6
movq (%rax), %rax
movq (%rax,%r15), %rsi
movq (%rsi), %rax
leaq 0xb8(%rsp), %rdi
callq *0x78(%rax)
leaq 0xb8(%rsp), %rax
movq %rax, (%rsp)
leaq 0x18(%rsp), %rdi
leaq 0xd8(%rsp), %rsi
movl %r13d, %edx
movl %ebp, %ecx
movl %r12d, %r8d
movl %r14d, %r9d
callq 0xcfd7
movq 0xb8(%rsp), %rdi
leaq 0xc8(%rsp), %rax
cmpq %rax, %rdi
je 0x1dad5
movq 0xc8(%rsp), %rsi
incq %rsi
callq 0x51f0
movq 0xd8(%rsp), %rdi
leaq 0xe8(%rsp), %rax
cmpq %rax, %rdi
leaq 0x18(%rsp), %r13
je 0x1daff
movq 0xe8(%rsp), %rsi
incq %rsi
callq 0x51f0
movq 0x18(%rsp), %rax
movq 0x10(%rsp), %rcx
shlq $0x5, %rcx
movq (%rax,%rcx), %rsi
movq 0x8(%rax,%rcx), %rdx
movq 0x154ab(%rip), %rdi     # 0x32fc8
callq 0x5240
jmp 0x1d83a
movq 0x8(%rsp), %r14
movq 0x48(%r14), %rdi
callq 0x243d6
movq (%rax), %rax
movq (%rax,%r15), %rsi
movq (%rsi), %rax
leaq 0x98(%rsp), %rdi
callq *0x70(%rax)
movq 0x48(%r14), %rdi
callq 0x243d6
movq (%rax), %rax
movq (%rax,%r15), %rdi
movq (%rdi), %rax
callq *0x80(%rax)
movl %eax, %ebp
movq 0x8(%rsp), %rax
movq 0x48(%rax), %rdi
callq 0x243d6
movq (%rax), %rax
movq (%rax,%r15), %rdi
movq (%rdi), %rax
callq *0x20(%rax)
movl %eax, %r12d
movq 0x8(%rsp), %rax
movq 0x48(%rax), %rdi
callq 0x243d6
movq (%rax), %rax
movq (%rax,%r15), %rdi
movq (%rdi), %rax
callq *0x28(%rax)
movl %eax, %r14d
movq 0x8(%rsp), %rax
movq 0x48(%rax), %rdi
callq 0x243d6
movq (%rax), %rax
movq (%rax,%r15), %rsi
movq (%rsi), %rax
leaq 0x78(%rsp), %rdi
callq *0x78(%rax)
movq %r13, %rdi
leaq 0x98(%rsp), %rsi
movl %ebp, %edx
movl %r12d, %ecx
movl %r14d, %r8d
leaq 0x78(%rsp), %r9
callq 0xcea8
movq 0x78(%rsp), %rdi
leaq 0x88(%rsp), %rax
cmpq %rax, %rdi
je 0x1dc00
movq 0x88(%rsp), %rsi
incq %rsi
callq 0x51f0
movq 0x98(%rsp), %rdi
leaq 0xa8(%rsp), %rax
cmpq %rax, %rdi
je 0x1dc25
movq 0xa8(%rsp), %rsi
incq %rsi
callq 0x51f0
movq 0x18(%rsp), %rax
movq 0x10(%rsp), %rcx
shlq $0x5, %rcx
movq (%rax,%rcx), %rsi
movq 0x8(%rax,%rcx), %rdx
movq 0x15385(%rip), %rdi     # 0x32fc8
callq 0x5240
jmp 0x1d83a
leaq 0x1568c(%rip), %rbx     # 0x332e0
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
movq 0x15366(%rip), %r15     # 0x32fc8
movq %r15, %rdi
callq 0x5240
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x51d0
movsbl %al, %esi
movq %r14, %rdi
callq 0x5030
movq %rax, %rdi
callq 0x5140
movq 0x10(%rsp), %rcx
incq %rcx
movq %rcx, 0x10(%rsp)
cmpq $0xb, %rcx
jne 0x1d3b8
addq $0x178, %rsp            # imm = 0x178
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0x78(%rsp), %rdi
leaq 0x88(%rsp), %rax
cmpq %rax, %rdi
je 0x1dd5a
movq 0x88(%rsp), %rsi
incq %rsi
callq 0x51f0
jmp 0x1dd5a
jmp 0x1dd80
movq %rax, %rbx
movq 0xb8(%rsp), %rdi
leaq 0xc8(%rsp), %rax
cmpq %rax, %rdi
je 0x1dde0
movq 0xc8(%rsp), %rsi
incq %rsi
callq 0x51f0
jmp 0x1dde0
jmp 0x1dd80
jmp 0x1dd80
movq %rax, %rbx
movq 0xf8(%rsp), %rdi
leaq 0x108(%rsp), %rax
cmpq %rax, %rdi
je 0x1de1b
movq 0x108(%rsp), %rsi
incq %rsi
callq 0x51f0
jmp 0x1de1b
jmp 0x1dd80
jmp 0x1dd80
movq %rax, %rbx
movq 0x98(%rsp), %rdi
leaq 0xa8(%rsp), %rax
cmpq %rax, %rdi
je 0x1de62
movq 0xa8(%rsp), %rsi
jmp 0x1de5a
movq %rax, %rbx
leaq 0x18(%rsp), %rdi
callq 0xc796
jmp 0x1de62
movq %rax, %rbx
movq 0x138(%rsp), %rdi
leaq 0x148(%rsp), %rax
cmpq %rax, %rdi
je 0x1de3d
movq 0x148(%rsp), %rsi
incq %rsi
callq 0x51f0
jmp 0x1de3d
movq %rax, %rbx
movq 0x58(%rsp), %rdi
leaq 0x68(%rsp), %rax
cmpq %rax, %rdi
je 0x1de62
movq 0x68(%rsp), %rsi
jmp 0x1de5a
movq %rax, %rbx
movq 0xd8(%rsp), %rdi
leaq 0xe8(%rsp), %rax
cmpq %rax, %rdi
je 0x1de62
movq 0xe8(%rsp), %rsi
jmp 0x1de5a
movq %rax, %rbx
movq 0x38(%rsp), %rdi
leaq 0x48(%rsp), %rax
cmpq %rax, %rdi
je 0x1de62
movq 0x48(%rsp), %rsi
jmp 0x1de5a
movq %rax, %rbx
movq 0x118(%rsp), %rdi
leaq 0x128(%rsp), %rax
cmpq %rax, %rdi
je 0x1de62
movq 0x128(%rsp), %rsi
jmp 0x1de5a
movq %rax, %rbx
movq 0x158(%rsp), %rdi
leaq 0x168(%rsp), %rax
cmpq %rax, %rdi
je 0x1de62
movq 0x168(%rsp), %rsi
incq %rsi
callq 0x51f0
movq %rbx, %rdi
callq 0x5320