// File: /workspace/github_cpp_makefile_star2_O3/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 0xf912(%rip), %rdi      # 0x1bfb0
leaq 0x6e5d(%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 0x6e4c(%rip), %rsi      # 0x13527
leaq 0x28(%rsp), %rdi
callq 0x50d0
testl %eax, %eax
je 0xc76d
leaq 0x6e39(%rip), %rsi      # 0x1352d
leaq 0x28(%rsp), %rdi
callq 0x50d0
testl %eax, %eax
je 0xc77a
leaq 0x6e2a(%rip), %rsi      # 0x13533
leaq 0x28(%rsp), %rdi
callq 0x50d0
testl %eax, %eax
je 0xc787
movq 0xf892(%rip), %r15      # 0x1bfb0
leaq 0x6b00(%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 0xf860(%rip), %rdi      # 0x1bfb0
callq 0x5040
movq %rax, %rdi
callq 0x5210
movq %rbx, %rdi
movq %r14, %rsi
callq 0xc686
jmp 0xc88d
movq %rbx, %rdi
callq 0xc3f8
jmp 0xc88d
movq %rbx, %rdi
callq 0xc36e
jmp 0xc88d
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 0x71b0(%rip), %rsi      # 0x13960
leaq 0x8(%rsp), %rdi
callq 0x50d0
testl %eax, %eax
je 0xc849
leaq 0x719b(%rip), %rsi      # 0x13964
leaq 0x8(%rsp), %rdi
callq 0x50d0
testl %eax, %eax
je 0xc84d
leaq 0x7172(%rip), %rsi      # 0x13950
leaq 0x8(%rsp), %rdi
callq 0x50d0
testl %eax, %eax
je 0xc854
leaq 0x7160(%rip), %rsi      # 0x13953
leaq 0x8(%rsp), %rdi
callq 0x50d0
testl %eax, %eax
je 0xc85b
leaq 0x714f(%rip), %rsi      # 0x13957
leaq 0x8(%rsp), %rdi
callq 0x50d0
testl %eax, %eax
je 0xc862
leaq 0x714f(%rip), %rsi      # 0x1396c
leaq 0x8(%rsp), %rdi
callq 0x50d0
testl %eax, %eax
je 0xc869
leaq 0x713d(%rip), %rsi      # 0x1396f
leaq 0x8(%rsp), %rdi
callq 0x50d0
cmpl $0x1, %eax
movl $0x7, %esi
sbbl $0x0, %esi
jmp 0xc86e
xorl %esi, %esi
jmp 0xc86e
movl $0x1, %esi
jmp 0xc86e
movl $0x2, %esi
jmp 0xc86e
movl $0x3, %esi
jmp 0xc86e
movl $0x4, %esi
jmp 0xc86e
movl $0x5, %esi
movq %rbx, %rdi
callq 0xc4b0
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0xc88d
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x52e0
movq 0x28(%rsp), %rdi
cmpq %r12, %rdi
je 0xc8a4
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x52e0
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
jmp 0xc8b2
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0xc8d1
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x52e0
jmp 0xc8d1
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %r12, %rdi
je 0xc8e8
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x52e0
movq %rbx, %rdi
callq 0x54e0