// File: BohangZhang[P]Sorcery-C-Project/enchantment.cc
// Function: Enchantment::print()
void Enchantment::print() {
    if (this->getOriginType() == "Act_Minion") {
        card_template_t s = display_minion_activated_ability(this->getOriginName(), this->getOriginCost(), this->getAttack(), this->getDefense(), this->getAbilityCost(), this->getOriginEffect());
        for (auto it = s.begin(); it != s.end(); ++it) {
            cout << *it << endl;
        }
    }
    else if (this->getOriginType() == "Tri_Minion") {
        card_template_t s = display_minion_triggered_ability(this->getOriginName(), this->getOriginCost(), this->getAttack(), this->getDefense(), this->getOriginEffect());
        for (auto it = s.begin(); it != s.end(); ++it) {
            cout << *it << endl;
        }
    } else {
        card_template_t s = display_minion_no_ability(this->getOriginName(), this->getOriginCost(), this->getAttack(), this->getDefense());
        for (auto it = s.begin(); it != s.end(); ++it) {
            cout << *it << endl;
        }
    }
    return;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x1f0, %rsp            # imm = 0x1F0
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rsi
movq %rsi, -0x188(%rbp)
movq (%rsi), %rax
movq 0x88(%rax), %rax
leaq -0x28(%rbp), %rdi
movq %rdi, -0x180(%rbp)
callq *%rax
movq -0x180(%rbp), %rdi
leaq 0x2150f(%rip), %rsi     # 0x4181e
callq 0x12920
movb %al, -0x171(%rbp)
jmp 0x2031c
leaq -0x28(%rbp), %rdi
callq 0x64c8
movb -0x171(%rbp), %al
testb $0x1, %al
jne 0x20334
jmp 0x2050a
movq -0x188(%rbp), %rsi
movq (%rsi), %rax
movq 0x70(%rax), %rax
leaq -0x70(%rbp), %rdi
callq *%rax
movq -0x188(%rbp), %rdi
movq (%rdi), %rax
movq 0x80(%rax), %rax
callq *%rax
movl %eax, -0x18c(%rbp)
jmp 0x20363
movq -0x188(%rbp), %rdi
movq (%rdi), %rax
movq 0x20(%rax), %rax
callq *%rax
movl %eax, -0x190(%rbp)
jmp 0x2037b
movq -0x188(%rbp), %rdi
movq (%rdi), %rax
movq 0x28(%rax), %rax
callq *%rax
movl %eax, -0x194(%rbp)
jmp 0x20393
movq -0x188(%rbp), %rdi
movq (%rdi), %rax
movq 0x38(%rax), %rax
callq *%rax
movl %eax, -0x198(%rbp)
jmp 0x203ab
movq -0x188(%rbp), %rsi
movq (%rsi), %rax
movq 0x78(%rax), %rax
leaq -0x90(%rbp), %rdi
callq *%rax
jmp 0x203c4
movl -0x198(%rbp), %r9d
movl -0x194(%rbp), %r8d
movl -0x190(%rbp), %ecx
movl -0x18c(%rbp), %edx
movq %rsp, %rax
leaq -0x90(%rbp), %rsi
movq %rsi, (%rax)
leaq -0x50(%rbp), %rdi
leaq -0x70(%rbp), %rsi
callq 0x16fa0
jmp 0x203fa
leaq -0x90(%rbp), %rdi
callq 0x64c8
leaq -0x70(%rbp), %rdi
callq 0x64c8
leaq -0x50(%rbp), %rdi
callq 0x15cb0
movq %rax, -0x98(%rbp)
leaq -0x50(%rbp), %rdi
callq 0x15d20
movq %rax, -0xa0(%rbp)
leaq -0x98(%rbp), %rdi
leaq -0xa0(%rbp), %rsi
callq 0x15ce0
testb $0x1, %al
jne 0x2044b
jmp 0x204fc
leaq -0x98(%rbp), %rdi
callq 0x15d50
movq %rax, %rsi
movq 0x33b67(%rip), %rdi     # 0x53fc8
callq 0x6250
movq %rax, -0x1a0(%rbp)
jmp 0x2046f
movq -0x1a0(%rbp), %rdi
movq 0x33b2b(%rip), %rsi     # 0x53fa8
callq 0x62d0
jmp 0x20484
jmp 0x20486
leaq -0x98(%rbp), %rdi
callq 0x15d70
jmp 0x2041f
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
leaq -0x28(%rbp), %rdi
callq 0x64c8
jmp 0x20899
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
jmp 0x204d4
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
leaq -0x90(%rbp), %rdi
callq 0x64c8
leaq -0x70(%rbp), %rdi
callq 0x64c8
jmp 0x20899
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
leaq -0x50(%rbp), %rdi
callq 0x15d90
jmp 0x20899
leaq -0x50(%rbp), %rdi
callq 0x15d90
jmp 0x20890
movq -0x188(%rbp), %rsi
movq (%rsi), %rax
movq 0x88(%rax), %rax
leaq -0xc0(%rbp), %rdi
movq %rdi, -0x1b0(%rbp)
callq *%rax
movq -0x1b0(%rbp), %rdi
leaq 0x212f0(%rip), %rsi     # 0x41829
callq 0x12920
movb %al, -0x1a1(%rbp)
jmp 0x20546
leaq -0xc0(%rbp), %rdi
callq 0x64c8
movb -0x1a1(%rbp), %al
testb $0x1, %al
jne 0x20561
jmp 0x20730
movq -0x188(%rbp), %rsi
movq (%rsi), %rax
movq 0x70(%rax), %rax
leaq -0xf8(%rbp), %rdi
callq *%rax
movq -0x188(%rbp), %rdi
movq (%rdi), %rax
movq 0x80(%rax), %rax
callq *%rax
movl %eax, -0x1b4(%rbp)
jmp 0x20593
movq -0x188(%rbp), %rdi
movq (%rdi), %rax
movq 0x20(%rax), %rax
callq *%rax
movl %eax, -0x1b8(%rbp)
jmp 0x205ab
movq -0x188(%rbp), %rdi
movq (%rdi), %rax
movq 0x28(%rax), %rax
callq *%rax
movl %eax, -0x1bc(%rbp)
jmp 0x205c3
movq -0x188(%rbp), %rsi
movq (%rsi), %rax
movq 0x78(%rax), %rax
leaq -0x118(%rbp), %rdi
callq *%rax
jmp 0x205dc
movl -0x1bc(%rbp), %r8d
movl -0x1b8(%rbp), %ecx
movl -0x1b4(%rbp), %edx
leaq -0xd8(%rbp), %rdi
leaq -0xf8(%rbp), %rsi
leaq -0x118(%rbp), %r9
callq 0x16e50
jmp 0x2060b
leaq -0x118(%rbp), %rdi
callq 0x64c8
leaq -0xf8(%rbp), %rdi
callq 0x64c8
leaq -0xd8(%rbp), %rdi
callq 0x15cb0
movq %rax, -0x120(%rbp)
leaq -0xd8(%rbp), %rdi
callq 0x15d20
movq %rax, -0x128(%rbp)
leaq -0x120(%rbp), %rdi
leaq -0x128(%rbp), %rsi
callq 0x15ce0
testb $0x1, %al
jne 0x20665
jmp 0x2071f
leaq -0x120(%rbp), %rdi
callq 0x15d50
movq %rax, %rsi
movq 0x3394d(%rip), %rdi     # 0x53fc8
callq 0x6250
movq %rax, -0x1c8(%rbp)
jmp 0x20689
movq -0x1c8(%rbp), %rdi
movq 0x33911(%rip), %rsi     # 0x53fa8
callq 0x62d0
jmp 0x2069e
jmp 0x206a0
leaq -0x120(%rbp), %rdi
callq 0x15d70
jmp 0x20636
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
leaq -0xc0(%rbp), %rdi
callq 0x64c8
jmp 0x20899
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
jmp 0x206f1
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
leaq -0x118(%rbp), %rdi
callq 0x64c8
leaq -0xf8(%rbp), %rdi
callq 0x64c8
jmp 0x20899
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
leaq -0xd8(%rbp), %rdi
callq 0x15d90
jmp 0x20899
leaq -0xd8(%rbp), %rdi
callq 0x15d90
jmp 0x2088e
movq -0x188(%rbp), %rsi
movq (%rsi), %rax
movq 0x70(%rax), %rax
leaq -0x160(%rbp), %rdi
callq *%rax
movq -0x188(%rbp), %rdi
movq (%rdi), %rax
movq 0x80(%rax), %rax
callq *%rax
movl %eax, -0x1cc(%rbp)
jmp 0x20762
movq -0x188(%rbp), %rdi
movq (%rdi), %rax
movq 0x20(%rax), %rax
callq *%rax
movl %eax, -0x1d0(%rbp)
jmp 0x2077a
movq -0x188(%rbp), %rdi
movq (%rdi), %rax
movq 0x28(%rax), %rax
callq *%rax
movl %eax, -0x1d4(%rbp)
jmp 0x20792
movl -0x1d4(%rbp), %r8d
movl -0x1d0(%rbp), %ecx
movl -0x1cc(%rbp), %edx
leaq -0x140(%rbp), %rdi
leaq -0x160(%rbp), %rsi
callq 0x16710
jmp 0x207ba
leaq -0x160(%rbp), %rdi
callq 0x64c8
leaq -0x140(%rbp), %rdi
callq 0x15cb0
movq %rax, -0x168(%rbp)
leaq -0x140(%rbp), %rdi
callq 0x15d20
movq %rax, -0x170(%rbp)
leaq -0x168(%rbp), %rdi
leaq -0x170(%rbp), %rsi
callq 0x15ce0
testb $0x1, %al
jne 0x20805
jmp 0x20882
leaq -0x168(%rbp), %rdi
callq 0x15d50
movq %rax, %rsi
movq 0x337ad(%rip), %rdi     # 0x53fc8
callq 0x6250
movq %rax, -0x1e0(%rbp)
jmp 0x20829
movq -0x1e0(%rbp), %rdi
movq 0x33771(%rip), %rsi     # 0x53fa8
callq 0x62d0
jmp 0x2083e
jmp 0x20840
leaq -0x168(%rbp), %rdi
callq 0x15d70
jmp 0x207d9
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
leaq -0x160(%rbp), %rdi
callq 0x64c8
jmp 0x20899
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
leaq -0x140(%rbp), %rdi
callq 0x15d90
jmp 0x20899
leaq -0x140(%rbp), %rdi
callq 0x15d90
jmp 0x20890
addq $0x1f0, %rsp            # imm = 0x1F0
popq %rbp
retq
movq -0x30(%rbp), %rdi
callq 0x6460
nopw %cs:(%rax,%rax)