// File: /workspace/github_cpp_makefile_star2_O1/MatthewZMD[P]TetrisDual/game.cc
// Function: Game::execAction(std::istream&)
void Game::execAction(std::istream & in) {
    std::cout << "Please unleash your special powers: ";
    std::string cmd;
    in >> cmd;
    if (cmd == "blind") {
        blind();
    }
    else if (cmd == "heavy") {
        heavy();
    }
    else if (cmd == "force") {
        std::string t;
        in >> t;

        CellType type = CellType::E;

        if (t == "I") {
            type = CellType::I;
        }
        else if (t == "J") {
            type = CellType::J;
        }
        else if (t == "L") {
            type = CellType::L;
        }
        else if (t == "O") {
            type = CellType::O;
        }
        else if (t == "S") {
            type = CellType::S;
        }
        else if (t == "Z") {
            type = CellType::Z;
        }
        else if (t == "T") {
            type = CellType::T;
        }

        force(type);
    } else {
        std::cout << "What are you talking about?" << std::endl;
        execAction(in);
    }
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movq 0xf6c4(%rip), %rdi      # 0x1bfb0
leaq 0x6c0f(%rip), %rsi      # 0x13502
movl $0x24, %edx
callq 0x5320
leaq 0x38(%rsp), %r12
movq %r12, -0x10(%r12)
movq $0x0, -0x8(%r12)
movb $0x0, (%r12)
leaq 0x28(%rsp), %rsi
movq %r14, %rdi
callq 0x5360
leaq 0x6bfe(%rip), %rsi      # 0x13527
leaq 0x28(%rsp), %rdi
callq 0x50d0
testl %eax, %eax
je 0xc9bb
leaq 0x6beb(%rip), %rsi      # 0x1352d
leaq 0x28(%rsp), %rdi
callq 0x50d0
testl %eax, %eax
je 0xc9c8
leaq 0x6bdc(%rip), %rsi      # 0x13533
leaq 0x28(%rsp), %rdi
callq 0x50d0
testl %eax, %eax
je 0xc9d5
movq 0xf644(%rip), %r15      # 0x1bfb0
leaq 0x68b2(%rip), %rsi      # 0x13225
movl $0x1b, %edx
movq %r15, %rdi
callq 0x5320
movq (%r15), %rax
addq -0x18(%rax), %r15
movq %r15, %rdi
movl $0xa, %esi
callq 0x52b0
movsbl %al, %esi
movq 0xf612(%rip), %rdi      # 0x1bfb0
callq 0x5040
movq %rax, %rdi
callq 0x5210
movq %rbx, %rdi
movq %r14, %rsi
callq 0xc8d4
jmp 0xcadb
movq %rbx, %rdi
callq 0xc5e6
jmp 0xcadb
movq %rbx, %rdi
callq 0xc528
jmp 0xcadb
leaq 0x18(%rsp), %r15
movq %r15, -0x10(%r15)
movq $0x0, -0x8(%r15)
movb $0x0, (%r15)
leaq 0x8(%rsp), %rsi
movq %r14, %rdi
callq 0x5360
leaq 0x6f4e(%rip), %rsi      # 0x1394c
leaq 0x8(%rsp), %rdi
callq 0x50d0
testl %eax, %eax
je 0xca97
leaq 0x6f39(%rip), %rsi      # 0x13950
leaq 0x8(%rsp), %rdi
callq 0x50d0
testl %eax, %eax
je 0xca9b
leaq 0x6f10(%rip), %rsi      # 0x1393c
leaq 0x8(%rsp), %rdi
callq 0x50d0
testl %eax, %eax
je 0xcaa2
leaq 0x6efe(%rip), %rsi      # 0x1393f
leaq 0x8(%rsp), %rdi
callq 0x50d0
testl %eax, %eax
je 0xcaa9
leaq 0x6eed(%rip), %rsi      # 0x13943
leaq 0x8(%rsp), %rdi
callq 0x50d0
testl %eax, %eax
je 0xcab0
leaq 0x6eed(%rip), %rsi      # 0x13958
leaq 0x8(%rsp), %rdi
callq 0x50d0
testl %eax, %eax
je 0xcab7
leaq 0x6edb(%rip), %rsi      # 0x1395b
leaq 0x8(%rsp), %rdi
callq 0x50d0
cmpl $0x1, %eax
movl $0x7, %esi
sbbl $0x0, %esi
jmp 0xcabc
xorl %esi, %esi
jmp 0xcabc
movl $0x1, %esi
jmp 0xcabc
movl $0x2, %esi
jmp 0xcabc
movl $0x3, %esi
jmp 0xcabc
movl $0x4, %esi
jmp 0xcabc
movl $0x5, %esi
movq %rbx, %rdi
callq 0xc6ce
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0xcadb
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x52e0
movq 0x28(%rsp), %rdi
cmpq %r12, %rdi
je 0xcaf2
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x52e0
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
jmp 0xcb00
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0xcb1f
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x52e0
jmp 0xcb1f
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %r12, %rdi
je 0xcb36
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x52e0
movq %rbx, %rdi
callq 0x54e0