// File: /workspace/github_cpp_makefile_star2_O1/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 0x16bea(%rip), %rbx     # 0x342e0
movq 0x168cb(%rip), %r15     # 0x33fc8
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 0x2470a
cltq
cmpq %rax, %rbx
jge 0x1d8de
movq 0x48(%r14), %rdi
callq 0x24706
movq (%rax), %rax
movq (%rax,%r15), %rsi
movq %r13, %rdi
callq 0xe816
movq %r13, %rdi
leaq 0xb185(%rip), %rsi      # 0x288d6
callq 0x50a0
movl %eax, %ebp
movq 0x18(%rsp), %rdi
leaq 0x28(%rsp), %r14
cmpq %r14, %rdi
je 0x1d774
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x51f0
testl %ebp, %ebp
je 0x1d90b
movq 0x8(%rsp), %rax
movq 0x48(%rax), %rdi
callq 0x24706
movq (%rax), %rax
movq (%rax,%r15), %rsi
movq %r13, %rdi
callq 0xe816
movq %r13, %rdi
leaq 0xb13e(%rip), %rsi      # 0x288e1
callq 0x50a0
movl %eax, %ebp
movq 0x18(%rsp), %rdi
cmpq %r14, %rdi
je 0x1d7c1
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x51f0
testl %ebp, %ebp
je 0x1da60
movq 0x8(%rsp), %rax
movq 0x48(%rax), %rdi
callq 0x24706
movq (%rax), %rax
movq (%rax,%r15), %rsi
movq %r13, %rdi
callq 0xe816
movq %r13, %rdi
leaq 0xb082(%rip), %rsi      # 0x28872
callq 0x50a0
movl %eax, %ebp
movq 0x18(%rsp), %rdi
cmpq %r14, %rdi
je 0x1d80e
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x51f0
testl %ebp, %ebp
je 0x1dba7
movq 0x8(%rsp), %r14
movq 0x48(%r14), %rdi
callq 0x24706
movq (%rax), %rax
movq (%rax,%r15), %rsi
leaq 0x38(%rsp), %rdi
callq 0xe7f2
movq 0x48(%r14), %rdi
callq 0x24706
movq (%rax), %rax
movq (%rax,%r15), %rdi
callq 0xe85e
movl %eax, %ebp
movq 0x8(%rsp), %rax
movq 0x48(%rax), %rdi
callq 0x24706
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 0x24706
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 0xcb5c
movq 0x38(%rsp), %rdi
leaq 0x48(%rsp), %rax
cmpq %rax, %rdi
je 0x1d8b6
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 0x166f4(%rip), %rdi     # 0x33fc8
callq 0x5240
jmp 0x1db84
leaq 0x169b3(%rip), %rax     # 0x34298
movq (%rax), %rax
movq 0x10(%rsp), %rcx
shlq $0x5, %rcx
movq (%rax,%rcx), %rsi
movq 0x8(%rax,%rcx), %rdx
movq 0x166c7(%rip), %rdi     # 0x33fc8
callq 0x5240
jmp 0x1db8c
movq 0x8(%rsp), %r14
movq 0x48(%r14), %rdi
callq 0x24706
movq (%rax), %rax
movq (%rax,%r15), %rsi
leaq 0x158(%rsp), %rdi
callq 0xe7f2
movq 0x48(%r14), %rdi
callq 0x24706
movq (%rax), %rax
movq (%rax,%r15), %rdi
callq 0xe85e
movl %eax, %r13d
movq 0x8(%rsp), %rax
movq 0x48(%rax), %rdi
callq 0x24706
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 0x24706
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 0x24706
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 0x24706
movq (%rax), %rax
movq (%rax,%r15), %rsi
leaq 0x138(%rsp), %rdi
callq 0xe83a
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 0xd1ab
movq 0x138(%rsp), %rdi
leaq 0x148(%rsp), %rax
cmpq %rax, %rdi
je 0x1da0e
movq 0x148(%rsp), %rsi
incq %rsi
callq 0x51f0
movq 0x158(%rsp), %rdi
leaq 0x168(%rsp), %rax
cmpq %rax, %rdi
leaq 0x18(%rsp), %r13
je 0x1da38
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 0x16572(%rip), %rdi     # 0x33fc8
callq 0x5240
jmp 0x1db84
movq 0x8(%rsp), %r14
movq 0x48(%r14), %rdi
callq 0x24706
movq (%rax), %rax
movq (%rax,%r15), %rsi
leaq 0x118(%rsp), %rdi
callq 0xe7f2
movq 0x48(%r14), %rdi
callq 0x24706
movq (%rax), %rax
movq (%rax,%r15), %rdi
callq 0xe85e
movl %eax, %ebp
movq 0x8(%rsp), %rax
movq 0x48(%rax), %rdi
callq 0x24706
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 0x24706
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 0x24706
movq (%rax), %rax
movq (%rax,%r15), %rsi
leaq 0xf8(%rsp), %rdi
callq 0xe83a
movq %r13, %rdi
leaq 0x118(%rsp), %rsi
movl %ebp, %edx
movl %r12d, %ecx
movl %r14d, %r8d
leaq 0xf8(%rsp), %r9
callq 0xd07c
movq 0xf8(%rsp), %rdi
leaq 0x108(%rsp), %rax
cmpq %rax, %rdi
je 0x1db3c
movq 0x108(%rsp), %rsi
incq %rsi
callq 0x51f0
movq 0x118(%rsp), %rdi
leaq 0x128(%rsp), %rax
cmpq %rax, %rdi
je 0x1db61
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 0x16449(%rip), %rdi     # 0x33fc8
callq 0x5240
movq %r13, %rdi
callq 0xc96c
incq %rbx
addq $0x10, %r15
cmpq $0x50, %r15
movq 0x8(%rsp), %r14
jne 0x1d71b
jmp 0x1df97
movq 0x8(%rsp), %rax
movq 0x48(%rax), %rdi
callq 0x24706
movq (%rax), %rax
movq (%rax,%r15), %rsi
movq (%rsi), %rax
movq %r13, %rdi
callq *0x88(%rax)
movq %r13, %rdi
leaq 0xad04(%rip), %rsi      # 0x288d6
callq 0x50a0
movl %eax, %ebp
movq 0x18(%rsp), %rdi
cmpq %r14, %rdi
je 0x1dbf0
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x51f0
testl %ebp, %ebp
je 0x1dd16
movq 0x8(%rsp), %rax
movq 0x48(%rax), %rdi
callq 0x24706
movq (%rax), %rax
movq (%rax,%r15), %rsi
movq (%rsi), %rax
movq %r13, %rdi
callq *0x88(%rax)
movq %r13, %rdi
leaq 0xacbe(%rip), %rsi      # 0x288e1
callq 0x50a0
movl %eax, %ebp
movq 0x18(%rsp), %rdi
cmpq %r14, %rdi
je 0x1dc41
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x51f0
testl %ebp, %ebp
je 0x1de71
movq 0x8(%rsp), %r14
movq 0x48(%r14), %rdi
callq 0x24706
movq (%rax), %rax
movq (%rax,%r15), %rsi
movq (%rsi), %rax
leaq 0x58(%rsp), %rdi
callq *0x70(%rax)
movq 0x48(%r14), %rdi
callq 0x24706
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 0x24706
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 0x24706
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 0xcb5c
movq 0x58(%rsp), %rdi
leaq 0x68(%rsp), %rax
cmpq %rax, %rdi
je 0x1dcee
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 0x162bc(%rip), %rdi     # 0x33fc8
callq 0x5240
jmp 0x1db84
movq 0x8(%rsp), %r14
movq 0x48(%r14), %rdi
callq 0x24706
movq (%rax), %rax
movq (%rax,%r15), %rsi
movq (%rsi), %rax
leaq 0xd8(%rsp), %rdi
callq *0x70(%rax)
movq 0x48(%r14), %rdi
callq 0x24706
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 0x24706
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 0x24706
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 0x24706
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 0x24706
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 0xd1ab
movq 0xb8(%rsp), %rdi
leaq 0xc8(%rsp), %rax
cmpq %rax, %rdi
je 0x1de1f
movq 0xc8(%rsp), %rsi
incq %rsi
callq 0x51f0
movq 0xd8(%rsp), %rdi
leaq 0xe8(%rsp), %rax
cmpq %rax, %rdi
leaq 0x18(%rsp), %r13
je 0x1de49
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 0x16161(%rip), %rdi     # 0x33fc8
callq 0x5240
jmp 0x1db84
movq 0x8(%rsp), %r14
movq 0x48(%r14), %rdi
callq 0x24706
movq (%rax), %rax
movq (%rax,%r15), %rsi
movq (%rsi), %rax
leaq 0x98(%rsp), %rdi
callq *0x70(%rax)
movq 0x48(%r14), %rdi
callq 0x24706
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 0x24706
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 0x24706
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 0x24706
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 0xd07c
movq 0x78(%rsp), %rdi
leaq 0x88(%rsp), %rax
cmpq %rax, %rdi
je 0x1df4a
movq 0x88(%rsp), %rsi
incq %rsi
callq 0x51f0
movq 0x98(%rsp), %rdi
leaq 0xa8(%rsp), %rax
cmpq %rax, %rdi
je 0x1df6f
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 0x1603b(%rip), %rdi     # 0x33fc8
callq 0x5240
jmp 0x1db84
leaq 0x16342(%rip), %rbx     # 0x342e0
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
movq 0x1601c(%rip), %r15     # 0x33fc8
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 0x1d702
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 0x1e0a4
movq 0x88(%rsp), %rsi
incq %rsi
callq 0x51f0
jmp 0x1e0a4
jmp 0x1e0ca
movq %rax, %rbx
movq 0xb8(%rsp), %rdi
leaq 0xc8(%rsp), %rax
cmpq %rax, %rdi
je 0x1e12a
movq 0xc8(%rsp), %rsi
incq %rsi
callq 0x51f0
jmp 0x1e12a
jmp 0x1e0ca
jmp 0x1e0ca
movq %rax, %rbx
movq 0xf8(%rsp), %rdi
leaq 0x108(%rsp), %rax
cmpq %rax, %rdi
je 0x1e165
movq 0x108(%rsp), %rsi
incq %rsi
callq 0x51f0
jmp 0x1e165
jmp 0x1e0ca
jmp 0x1e0ca
movq %rax, %rbx
movq 0x98(%rsp), %rdi
leaq 0xa8(%rsp), %rax
cmpq %rax, %rdi
je 0x1e1ac
movq 0xa8(%rsp), %rsi
jmp 0x1e1a4
movq %rax, %rbx
leaq 0x18(%rsp), %rdi
callq 0xc96c
jmp 0x1e1ac
movq %rax, %rbx
movq 0x138(%rsp), %rdi
leaq 0x148(%rsp), %rax
cmpq %rax, %rdi
je 0x1e187
movq 0x148(%rsp), %rsi
incq %rsi
callq 0x51f0
jmp 0x1e187
movq %rax, %rbx
movq 0x58(%rsp), %rdi
leaq 0x68(%rsp), %rax
cmpq %rax, %rdi
je 0x1e1ac
movq 0x68(%rsp), %rsi
jmp 0x1e1a4
movq %rax, %rbx
movq 0xd8(%rsp), %rdi
leaq 0xe8(%rsp), %rax
cmpq %rax, %rdi
je 0x1e1ac
movq 0xe8(%rsp), %rsi
jmp 0x1e1a4
movq %rax, %rbx
movq 0x38(%rsp), %rdi
leaq 0x48(%rsp), %rax
cmpq %rax, %rdi
je 0x1e1ac
movq 0x48(%rsp), %rsi
jmp 0x1e1a4
movq %rax, %rbx
movq 0x118(%rsp), %rdi
leaq 0x128(%rsp), %rax
cmpq %rax, %rdi
je 0x1e1ac
movq 0x128(%rsp), %rsi
jmp 0x1e1a4
movq %rax, %rbx
movq 0x158(%rsp), %rdi
leaq 0x168(%rsp), %rax
cmpq %rax, %rdi
je 0x1e1ac
movq 0x168(%rsp), %rsi
incq %rsi
callq 0x51f0
movq %rbx, %rdi
callq 0x5320