LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O1/disjukr[P]Tetris/Tetris.cc
// Function: TetrisStage::TetrisStage()
TetrisStage::TetrisStage() {
    for (int i = 0; i < width; ++i)
        for (int j = 0; j < height; ++j)
            WriteBlock(NONE, i, j);
    this -> screen = new Screen(width * 2, height);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
xorl %eax, %eax
movq %rdi, %rcx
movq $-0x370, %rdx           # imm = 0xFC90
movl $0x0, 0x370(%rcx,%rdx)
addq $0x28, %rdx
jne 0x53d4
incq %rax
addq $0x4, %rcx
cmpq $0xa, %rax
jne 0x53cd
movl $0x20, %edi
callq 0x3130
movq %rax, %r14
movq %rax, %rdi
movl $0x14, %esi
movl $0x16, %edx
callq 0x69e8
movq %r14, 0x370(%rbx)
popq %rbx
popq %r14
popq %rbp
retq
movq %rax, %rbx
movq %r14, %rdi
callq 0x3110
movq %rbx, %rdi
callq 0x3220
// File: /workspace/github_cpp_makefile_star2_O1/disjukr[P]Tetris/Tetris.cc
// Function: TetrisStage::RenderStage()
void TetrisStage::RenderStage() {
    // render map
    for (int i = 0; i < width; ++i) {
        for (int j = 0; j < height; ++j) {
            Color color = this -> ReadBlock(i, j);
            int x = i * 2;
            int y = j;
            color = color == NONE ? BLACK : color;
            this -> screen -> FillCell(color, x, y, true);
            this -> screen -> FillCell(color, x + 1, y, true);
        }
    }
    // render dead line
    this -> screen -> WriteLine("____________________", 0, 1);
    this -> screen -> FillLine(RED, 0, 1, width * 2, false);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rdi, %rbx
xorl %eax, %eax
movl $0x3, %ecx
movq %rdi, %r14
leal (%rax,%rax), %edx
movl %edx, -0x2c(%rbp)
movq %rax, -0x40(%rbp)
leal 0x1(,%rax,2), %r15d
movq %r14, -0x38(%rbp)
xorl %r12d, %r12d
movl (%r14), %r13d
testl %r13d, %r13d
cmovel %ecx, %r13d
movq 0x370(%rbx), %rdi
movl %r13d, %esi
movl -0x2c(%rbp), %edx
movl %r12d, %ecx
movl $0x1, %r8d
callq 0x6bd0
movq 0x370(%rbx), %rdi
movl %r13d, %esi
movl %r15d, %edx
movl %r12d, %ecx
movl $0x1, %r8d
callq 0x6bd0
movl $0x3, %ecx
incq %r12
addq $0x28, %r14
cmpq $0x16, %r12
jne 0x5511
movq -0x40(%rbp), %rax
incq %rax
movq -0x38(%rbp), %r14
addq $0x4, %r14
cmpq $0xa, %rax
jne 0x54f8
movq 0x370(%rbx), %r14
leaq -0x50(%rbp), %r12
movq %r12, -0x10(%r12)
leaq 0x2d92(%rip), %rsi      # 0x8321
leaq 0x2d9f(%rip), %rdx      # 0x8335
leaq -0x60(%rbp), %r15
movq %r15, %rdi
callq 0x5c0e
movq %r14, %rdi
movq %r15, %rsi
xorl %edx, %edx
movl $0x1, %ecx
callq 0x6b50
movq -0x60(%rbp), %rdi
cmpq %r12, %rdi
je 0x55c2
callq 0x3110
movq 0x370(%rbx), %rdi
movl $0x8, %esi
xorl %edx, %edx
movl $0x1, %ecx
movl $0x14, %r8d
xorl %r9d, %r9d
callq 0x6c0a
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq -0x60(%rbp), %rdi
cmpq %r12, %rdi
je 0x5603
callq 0x3110
movq %rbx, %rdi
callq 0x3220
nop
// File: /workspace/github_cpp_makefile_star2_O1/disjukr[P]Tetris/Tetris.cc
// Function: TetrisStage::RenderGhostPiece(Tetromino&)
void TetrisStage::RenderGhostPiece(Tetromino& piece) {
    Tetromino* ghost = piece.Clone();
    ghost -> color = GREY;
    this -> CastPiece(*ghost);
    this -> RenderPiece(*ghost);
    delete ghost;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
movq (%rsi), %rax
movq %rsi, %rdi
callq *0x10(%rax)
movq %rax, %r14
movl $0x2, 0x8(%rax)
movq %rbx, %rdi
movq %rax, %rsi
callq 0x5314
movq 0x370(%rbx), %rsi
movl 0xc(%r14), %edx
addl %edx, %edx
movl 0x10(%r14), %ecx
movq (%r14), %rax
movq %r14, %rdi
callq *0x30(%rax)
movq (%r14), %rax
movq %r14, %rdi
popq %rbx
popq %r14
popq %rbp
jmpq *0x8(%rax)
nop
// File: /workspace/github_cpp_makefile_star2_O1/disjukr[P]Tetris/./Randomizer.hh
// Function: Lfsr113::Get()
virtual double Get() {
        unsigned int e = ((a << 6) ^ a) >> 13;
        a = ((a & 4294967294) << 18) ^ e;
        e  = ((b << 2) ^ b) >> 27;
        b = ((b & 4294967288) << 2) ^ e;
        e  = ((c << 13) ^ c) >> 21;
        c = ((c & 4294967280) << 7) ^ e;
        e  = ((d << 3) ^ d) >> 12;
        d = ((d & 4294967168) << 13) ^ e;
        return (a ^ b ^ c ^ d) * 2.3283064365386963e-10;
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
movl 0x8(%rdi), %eax
movl 0xc(%rdi), %edx
movl %eax, %ecx
shll $0x6, %ecx
xorl %eax, %ecx
shrl $0xd, %ecx
andl $-0x2, %eax
shll $0x12, %eax
orl %ecx, %eax
movl %eax, 0x8(%rdi)
leal (,%rdx,4), %ecx
xorl %ecx, %edx
shrl $0x1b, %edx
andl $-0x20, %ecx
orl %edx, %ecx
movl %ecx, 0xc(%rdi)
movl 0x10(%rdi), %edx
movl %edx, %esi
shll $0xd, %esi
xorl %edx, %esi
shrl $0x15, %esi
andl $-0x10, %edx
shll $0x7, %edx
orl %esi, %edx
movl %edx, 0x10(%rdi)
movl 0x14(%rdi), %esi
leal (,%rsi,8), %r8d
xorl %esi, %r8d
shrl $0xc, %r8d
andl $-0x80, %esi
shll $0xd, %esi
orl %r8d, %esi
movl %esi, 0x14(%rdi)
xorl %eax, %ecx
xorl %edx, %esi
xorl %ecx, %esi
cvtsi2sd %rsi, %xmm0
mulsd 0x2812(%rip), %xmm0     # 0x8010
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/disjukr[P]Tetris/./Randomizer.hh
// Function: Lfsr113::Set(int)
void Set(int seed) {
        int e;
        if (seed <= 0) seed = 1;
        e = seed / IQ;
        seed = IA * (seed - e * IQ) - IR * e;
        if (seed < 0) seed += IM;
        if (seed < 2) a = seed + 2; else a = seed;
        e = seed / IQ;
        seed = IA * (seed - e * IQ) - IR * e;
        if (seed < 0) seed += IM;
        if (seed < 8) b = seed + 8; else b = seed;
        e = seed / IQ;
        seed = IA * (seed - e * IQ) - IR * e;
        if (seed < 0) seed += IM;
        if (seed < 16) c = seed + 16; else c = seed;
        e = seed / IQ;
        seed = IA * (seed - e * IQ) - IR * e;
        if (seed < 0) seed += IM;
        if (seed < 128) d = seed + 128; else d = seed;
        this -> Get(); // mix
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
cmpl $0x2, %esi
movl $0x1, %eax
cmovgel %esi, %eax
movl $0x834e0b5f, %ecx       # imm = 0x834E0B5F
imulq %rax, %rcx
shrq $0x30, %rcx
imull $0xfffe0ce3, %ecx, %edx # imm = 0xFFFE0CE3
addl %eax, %edx
imull $0x41a7, %edx, %eax     # imm = 0x41A7
imull $0xfffff4ec, %ecx, %ecx # imm = 0xFFFFF4EC
addl %eax, %ecx
movl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
leal (%rcx,%rax), %edx
testl %ecx, %ecx
cmovnsl %ecx, %edx
leal 0x2(%rdx), %ecx
cmpl $0x2, %edx
cmovgel %edx, %ecx
movl %ecx, 0x8(%rdi)
movslq %edx, %rcx
imulq $-0x7cb1f4a1, %rcx, %rdx # imm = 0x834E0B5F
shrq $0x20, %rdx
addl %ecx, %edx
movl %edx, %esi
shrl $0x1f, %esi
sarl $0x10, %edx
addl %esi, %edx
imull $0xfffe0ce3, %edx, %esi # imm = 0xFFFE0CE3
addl %ecx, %esi
imull $0x41a7, %esi, %ecx     # imm = 0x41A7
imull $0xfffff4ec, %edx, %edx # imm = 0xFFFFF4EC
addl %ecx, %edx
leal (%rdx,%rax), %ecx
testl %edx, %edx
cmovnsl %edx, %ecx
leal 0x8(%rcx), %edx
cmpl $0x8, %ecx
cmovgel %ecx, %edx
movl %edx, 0xc(%rdi)
movslq %ecx, %rcx
imulq $-0x7cb1f4a1, %rcx, %rdx # imm = 0x834E0B5F
shrq $0x20, %rdx
addl %ecx, %edx
movl %edx, %esi
shrl $0x1f, %esi
sarl $0x10, %edx
addl %esi, %edx
imull $0xfffe0ce3, %edx, %esi # imm = 0xFFFE0CE3
addl %ecx, %esi
imull $0x41a7, %esi, %ecx     # imm = 0x41A7
imull $0xfffff4ec, %edx, %edx # imm = 0xFFFFF4EC
addl %ecx, %edx
leal (%rdx,%rax), %esi
testl %edx, %edx
cmovnsl %edx, %esi
leal 0x10(%rsi), %ecx
cmpl $0x10, %esi
cmovgel %esi, %ecx
movslq %esi, %rdx
imulq $-0x7cb1f4a1, %rdx, %rsi # imm = 0x834E0B5F
shrq $0x20, %rsi
addl %edx, %esi
movl %esi, %r8d
shrl $0x1f, %r8d
sarl $0x10, %esi
addl %r8d, %esi
imull $0xfffe0ce3, %esi, %r8d # imm = 0xFFFE0CE3
addl %edx, %r8d
imull $0x41a7, %r8d, %edx     # imm = 0x41A7
imull $0xfffff4ec, %esi, %esi # imm = 0xFFFFF4EC
addl %edx, %esi
addl %esi, %eax
testl %esi, %esi
cmovnsl %esi, %eax
movl $0x80, %edx
leal (%rax,%rdx), %esi
cmpl %edx, %eax
cmovgel %eax, %esi
movl %ecx, 0x10(%rdi)
movl %esi, 0x14(%rdi)
movq (%rdi), %rax
popq %rbp
jmpq *0x18(%rax)
nop
// File: /workspace/github_cpp_makefile_star2_O1/disjukr[P]Tetris/Randomizer.cc
// Function: PieceGenerator::Get()
Tetromino* PieceGenerator::Get() {
    switch (this -> random.Get(0, 6)) {
    case 0: return new IMino();
    case 1: return new OMino();
    case 2: return new TMino();
    case 3: return new SMino();
    case 4: return new ZMino();
    case 5: return new JMino();
    default: return new LMino();
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
movq 0x8(%rdi), %rax
addq $0x8, %rdi
callq *0x18(%rax)
mulsd 0x24ef(%rip), %xmm0     # 0x8470
callq 0x3200
cvttsd2si %xmm0, %ebx
movl $0x18, %edi
callq 0x3130
leaq 0x5b9d(%rip), %rcx      # 0xbb38
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movl $0x0, 0x10(%rax)
cmpl $0x5, %ebx
ja 0x603f
leaq 0x24c3(%rip), %rcx      # 0x8480
movslq (%rcx,%rbx,4), %rdx
addq %rcx, %rdx
jmpq *%rdx
leaq 0x5afb(%rip), %rcx      # 0xbac8
movq %rcx, (%rax)
movb $0x1, 0x14(%rax)
movl $0x5, %ecx
jmp 0x6054
leaq 0x5cbe(%rip), %rcx      # 0xbca0
movq %rcx, (%rax)
movb $0x1, 0x14(%rax)
movl $0x8, %ecx
jmp 0x6054
leaq 0x5be9(%rip), %rcx      # 0xbbe0
movq %rcx, (%rax)
movw $0x101, 0x14(%rax)      # imm = 0x101
movl $0x7, %ecx
jmp 0x6054
leaq 0x5c32(%rip), %rcx      # 0xbc40
movq %rcx, (%rax)
movb $0x1, 0x14(%rax)
movl $0x6, %ecx
jmp 0x6054
leaq 0x5b5d(%rip), %rcx      # 0xbb80
movq %rcx, (%rax)
jmp 0x604f
leaq 0x5cd1(%rip), %rcx      # 0xbd00
movq %rcx, (%rax)
movw $0x101, 0x14(%rax)      # imm = 0x101
movl $0x4, %ecx
jmp 0x6054
leaq 0x5d1a(%rip), %rcx      # 0xbd60
movq %rcx, (%rax)
movw $0x101, 0x14(%rax)      # imm = 0x101
movl $0x9, %ecx
movl %ecx, 0x8(%rax)
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/disjukr[P]Tetris/Randomizer.cc
// Function: TGM2Randomizer::TGM2Randomizer()
TGM2Randomizer::TGM2Randomizer() {
    history[0] = Z;
    history[1] = S;
    history[2] = Z;
    history[3] = S;
    first = true;
    pos = 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
leaq 0x5999(%rip), %rax      # 0xba08
movq %rax, (%rdi)
addq $0x8, %rdi
leaq 0x593b(%rip), %r14      # 0xb9b8
movq %r14, 0x8(%rbx)
movl $0xabcdef, %esi         # imm = 0xABCDEF
callq 0x58ec
leaq 0x599e(%rip), %rax      # 0xba30
movq %rax, (%rbx)
leaq 0x20(%rbx), %rdi
movq %r14, 0x20(%rbx)
movl $0xabcdef, %esi         # imm = 0xABCDEF
callq 0x58ec
movabsq $0x600000005, %rax      # imm = 0x600000005
movq %rax, 0x44(%rbx)
movl $0x5, 0x4c(%rbx)
movb $0x1, 0x38(%rbx)
movabsq $0x600000000, %rax      # imm = 0x600000000
movq %rax, 0x3c(%rbx)
popq %rbx
popq %r14
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/disjukr[P]Tetris/Randomizer.cc
// Function: TGM2Randomizer::CheckHistory(int)
bool TGM2Randomizer::CheckHistory(int pieceType) {
    for (int i = 0; i < historySize; ++i)
        if (pieceType == history[i])
            return true;
    return false;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movb $0x1, %al
cmpl %esi, 0x40(%rdi)
je 0x610b
xorl %ecx, %ecx
movq %rcx, %rax
cmpq $0x3, %rcx
je 0x6104
leaq 0x1(%rax), %rcx
cmpl %esi, 0x44(%rdi,%rax,4)
jne 0x60f1
cmpq $0x3, %rax
setb %al
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/disjukr[P]Tetris/Randomizer.cc
// Function: TGM2Randomizer::Get()
Tetromino* TGM2Randomizer::Get() {
    int type = random.Get(0, first ? 3 : 6); // exclude O, S, Z
    first = false;
    int i = 0;
    while (this -> CheckHistory(type) && i++ < tryCount)
        type = random.Get(0, 6);
    history[pos] = type;
    pos = (pos + 1) % 4;
    switch (type) {
    case I: return new IMino();
    case O: return new OMino();
    case T: return new TMino();
    case S: return new SMino();
    case Z: return new ZMino();
    case J: return new JMino();
    default: return new LMino();
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
leaq 0x20(%rdi), %r14
movq 0x20(%rdi), %rax
cmpb $0x0, 0x38(%rdi)
movsd 0x233c(%rip), %xmm0     # 0x8470
je 0x613e
movsd 0x233a(%rip), %xmm0     # 0x8478
movsd %xmm0, -0x28(%rbp)
movq %r14, %rdi
callq *0x18(%rax)
mulsd -0x28(%rbp), %xmm0
callq 0x3200
movb $0x0, 0x38(%rbx)
xorl %r12d, %r12d
cvttsd2si %xmm0, %r15d
movb $0x1, %al
cmpl %r15d, 0x40(%rbx)
je 0x6184
xorl %ecx, %ecx
movq %rcx, %rax
cmpq $0x3, %rcx
je 0x617d
leaq 0x1(%rax), %rcx
cmpl %r15d, 0x44(%rbx,%rax,4)
jne 0x6169
cmpq $0x3, %rax
setb %al
testb %al, %al
je 0x61a9
cmpl $0x5, %r12d
ja 0x61a9
incl %r12d
movq (%r14), %rax
movq %r14, %rdi
callq *0x18(%rax)
mulsd 0x22ce(%rip), %xmm0     # 0x8470
callq 0x3200
jmp 0x615a
movslq 0x3c(%rbx), %rax
movl %r15d, 0x40(%rbx,%rax,4)
movl 0x3c(%rbx), %eax
leal 0x1(%rax), %ecx
leal 0x4(%rax), %edx
testl %ecx, %ecx
cmovnsl %ecx, %edx
andl $-0x4, %edx
negl %edx
addl %edx, %eax
incl %eax
movl %eax, 0x3c(%rbx)
movl $0x18, %edi
callq 0x3130
leaq 0x595b(%rip), %rcx      # 0xbb38
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movl $0x0, 0x10(%rax)
cmpl $0x6, %r15d
ja 0x6249
movl %r15d, %ecx
leaq 0x2299(%rip), %rdx      # 0x8498
movslq (%rdx,%rcx,4), %rcx
addq %rdx, %rcx
jmpq *%rcx
leaq 0x58b9(%rip), %rcx      # 0xbac8
movq %rcx, (%rax)
movb $0x1, 0x14(%rax)
movl $0x5, %ecx
jmp 0x6296
leaq 0x5adc(%rip), %rcx      # 0xbd00
movq %rcx, (%rax)
movw $0x101, 0x14(%rax)      # imm = 0x101
movl $0x4, %ecx
jmp 0x6296
leaq 0x5a65(%rip), %rcx      # 0xbca0
movq %rcx, (%rax)
movb $0x1, 0x14(%rax)
movl $0x8, %ecx
jmp 0x6296
leaq 0x5b10(%rip), %rcx      # 0xbd60
movq %rcx, (%rax)
movw $0x101, 0x14(%rax)      # imm = 0x101
jmp 0x627c
leaq 0x597e(%rip), %rcx      # 0xbbe0
movq %rcx, (%rax)
movw $0x101, 0x14(%rax)      # imm = 0x101
movl $0x7, %ecx
jmp 0x6296
leaq 0x5907(%rip), %rcx      # 0xbb80
movq %rcx, (%rax)
movl $0x9, %ecx
jmp 0x6296
leaq 0x59b6(%rip), %rcx      # 0xbc40
movq %rcx, (%rax)
movb $0x1, 0x14(%rax)
movl $0x6, %ecx
movl %ecx, 0x8(%rax)
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/disjukr[P]Tetris/./Tetromino.hh
// Function: IMino::CheckBlock(int, int)
virtual bool CheckBlock(int x, int y) {
        if (!Tetromino::CheckBlock(x, y))
            return false;
        if (vertical)
            return x == 1;
        else
            return y == 2;
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
movl %edx, %eax
orl %esi, %eax
cmpl $0x3, %eax
ja 0x6322
cmpb $0x1, 0x14(%rdi)
jne 0x6326
cmpl $0x1, %esi
jmp 0x6329
xorl %eax, %eax
jmp 0x632c
cmpl $0x2, %edx
sete %al
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/disjukr[P]Tetris/./Tetromino.hh
// Function: Tetromino::Render(Screen&, int, int)
virtual void Render(Screen& screen, int x, int y) {
        for (int i = 0; i < size; ++i) {
            for (int j = 0; j < size; ++j) {
                int tx = i * 2 + x;
                int ty = j + y;
                if (this -> CheckBlock(i, j)) {
                    screen.FillCell(this -> color, tx, ty, true);
                    screen.FillCell(this -> color, tx + 1, ty, true);
                }
            }
        }
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rcx, -0x40(%rbp)
movq %rdx, -0x38(%rbp)
movq %rsi, %r15
movq %rdi, %r12
xorl %r13d, %r13d
movq -0x38(%rbp), %rax
leal (%rax,%r13,2), %ecx
movl %ecx, -0x30(%rbp)
leal (%rax,%r13,2), %eax
incl %eax
movl %eax, -0x2c(%rbp)
xorl %r14d, %r14d
movq (%r12), %rax
movq %r12, %rdi
movl %r13d, %esi
movl %r14d, %edx
callq *0x28(%rax)
testb %al, %al
je 0x63b3
movq -0x40(%rbp), %rax
leal (%rax,%r14), %ebx
movl 0x8(%r12), %esi
movq %r15, %rdi
movl -0x30(%rbp), %edx
movl %ebx, %ecx
movl $0x1, %r8d
callq 0x6bd0
movl 0x8(%r12), %esi
movq %r15, %rdi
movl -0x2c(%rbp), %edx
movl %ebx, %ecx
movl $0x1, %r8d
callq 0x6bd0
incl %r14d
cmpl $0x4, %r14d
jne 0x6367
incl %r13d
cmpl $0x4, %r13d
jne 0x6350
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/disjukr[P]Tetris/./Tetromino.hh
// Function: TMino::CheckBlock(int, int)
virtual bool CheckBlock(int x, int y) {
        if (!Tetromino::CheckBlock(x, y))
            return false;
        if (y == 0 || x == 3 ||
            ((y == 1 || y == 3) && (x == 0 || x == 2)))
            return false;
        if (vertical) {
            if (x == 1 &&
                ((tail && y == 1) || (!tail && y == 3)))
                return false;
        }
        else {
            if (y == 2 &&
                ((tail && x == 0) || (!tail && x == 2)))
                return false;
        }
        return true;
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
movl %edx, %eax
orl %esi, %eax
cmpl $0x3, %eax
ja 0x650c
testl %edx, %edx
sete %al
cmpl $0x3, %esi
sete %cl
orb %al, %cl
jne 0x650c
movl %edx, %eax
orl $0x2, %eax
cmpl $0x3, %eax
jne 0x6510
testb $0x1, %sil
jne 0x6510
xorl %eax, %eax
popq %rbp
retq
cmpb $0x1, 0x14(%rdi)
jne 0x652f
cmpl $0x1, %esi
jne 0x6541
movzbl 0x15(%rdi), %eax
xorl $0x1, %eax
leal 0x1(,%rax,2), %eax
cmpl %edx, %eax
je 0x650c
jmp 0x6541
cmpl $0x2, %edx
jne 0x6541
movzbl 0x15(%rdi), %eax
xorl $0x1, %eax
addl %eax, %eax
cmpl %esi, %eax
je 0x650c
movb $0x1, %al
jmp 0x650e
nop
// File: /workspace/github_cpp_makefile_star2_O1/disjukr[P]Tetris/./Tetromino.hh
// Function: SMino::CheckBlock(int, int)
virtual bool CheckBlock(int x, int y) {
        if (!Tetromino::CheckBlock(x, y))
            return false;
        if (y == 2 && (x == 1 || x == 2))
            return true;
        if (vertical)
            return (x == 1 && y == 1) || (x == 2 && y == 3);
        else
            return y == 3 && x < 2;
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
movl %edx, %eax
orl %esi, %eax
cmpl $0x3, %eax
ja 0x65ef
cmpl $0x2, %edx
sete %cl
leal -0x1(%rsi), %eax
cmpl $0x2, %eax
setb %r8b
movb $0x1, %al
testb %r8b, %cl
jne 0x65f1
cmpb $0x1, 0x14(%rdi)
jne 0x65f3
movl %esi, %ecx
xorl $0x1, %ecx
movl %edx, %edi
xorl $0x1, %edi
orl %ecx, %edi
je 0x65f1
xorl $0x2, %esi
xorl $0x3, %edx
orl %esi, %edx
sete %al
jmp 0x65f1
xorl %eax, %eax
popq %rbp
retq
cmpl $0x3, %edx
sete %cl
cmpl $0x2, %esi
setl %al
andb %cl, %al
jmp 0x65f1
nop
// File: /workspace/github_cpp_makefile_star2_O1/disjukr[P]Tetris/./Tetromino.hh
// Function: JMino::CheckBlock(int, int)
virtual bool CheckBlock(int x, int y) {
        if (!Tetromino::CheckBlock(x, y))
            return false;
        if (vertical) {
            if (x == 1 && y > 0)
                return true;
            if (tail && x == 0 && y == 3)
                return true;
            if (!tail && x == 2 && y == 1)
                return true;
        }
        else {
            if (y == 2 && x < 3 )
                return true;
            if (!tail && x == 0 && y == 1)
                return true;
            if (tail && x == 2 && y == 3)
                return true;
        }
        return false;
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
movl %edx, %eax
orl %esi, %eax
cmpl $0x3, %eax
ja 0x67c0
cmpb $0x1, 0x14(%rdi)
jne 0x678d
cmpl $0x1, %esi
sete %cl
testl %edx, %edx
setg %r8b
movb $0x1, %al
testb %r8b, %cl
jne 0x67c2
movb 0x15(%rdi), %cl
movl %edx, %edi
xorl $0x3, %edi
orl %esi, %edi
sete %dil
testb %cl, %dil
jne 0x67c2
cmpl $0x1, %edx
jne 0x67c0
cmpl $0x2, %esi
jne 0x67c0
testb %cl, %cl
je 0x67c2
jmp 0x67c0
cmpl $0x2, %edx
sete %cl
cmpl $0x3, %esi
setl %r8b
movb $0x1, %al
testb %cl, %r8b
jne 0x67c2
movb 0x15(%rdi), %cl
cmpl $0x1, %edx
jne 0x67b1
testl %esi, %esi
jne 0x67b1
testb %cl, %cl
je 0x67c2
xorl $0x2, %esi
xorl $0x3, %edx
orl %esi, %edx
sete %dl
testb %cl, %dl
jne 0x67c2
xorl %eax, %eax
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/disjukr[P]Tetris/Screen.cc
// Function: Screen::init(int, int)
void Screen::init(int width, int height) {
    this -> width = width;
    this -> height = height;
    this -> buffer = new Cell*[height];
    for (int i = 0; i < height; ++i) {
        buffer[i] = new Cell[width];
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %edx, %r13d
movq %rdi, %r15
movl %esi, -0x2c(%rbp)
movl %esi, (%rdi)
movl %edx, 0x4(%rdi)
movslq %edx, %r14
leaq (,%r14,8), %rdi
testl %r14d, %r14d
movq $-0x1, %rbx
cmovsq %rbx, %rdi
callq 0x3030
movq %r15, -0x38(%rbp)
movq %rax, 0x8(%r15)
testl %r14d, %r14d
jle 0x69d9
movslq -0x2c(%rbp), %r15
movl $0xc, %ecx
movq %r15, %rax
mulq %rcx
movq %rax, %r12
seto %al
addq $0x8, %r12
cmovbq %rbx, %r12
testb %al, %al
cmovneq %rbx, %r12
movl %r13d, %r13d
leaq (,%r15,4), %rax
leaq (%rax,%rax,2), %rbx
xorl %r14d, %r14d
movq %r12, %rdi
callq 0x3030
movq %r15, (%rax)
cmpl $0x0, -0x2c(%rbp)
je 0x69c1
xorl %ecx, %ecx
movb $0x20, 0x8(%rax,%rcx)
movq $0x0, 0xc(%rax,%rcx)
addq $0xc, %rcx
cmpq %rcx, %rbx
jne 0x69aa
addq $0x8, %rax
movq -0x38(%rbp), %rcx
movq 0x8(%rcx), %rcx
movq %rax, (%rcx,%r14,8)
incq %r14
cmpq %r13, %r14
jne 0x6997
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/disjukr[P]Tetris/Screen.cc
// Function: Screen::GetCell(int, int)
Cell* Screen::GetCell(int x, int y) {
    if (x < 0 || x >= this -> GetWidth() ||
        y < 0 || y >= this -> GetHeight())
        return &(this -> dummy);
    else
        return &(this -> buffer[y][x]);
}

// Assembly:
movq %rdi, %rax
testl %esi, %esi
js 0x6aaa
testl %edx, %edx
js 0x6aaa
cmpl %esi, (%rax)
jle 0x6aaa
cmpl %edx, 0x4(%rax)
jle 0x6aaa
pushq %rbp
movq %rsp, %rbp
movq 0x8(%rax), %rcx
movl %edx, %edx
movl %esi, %eax
leaq (%rax,%rax,2), %rax
shlq $0x2, %rax
addq (%rcx,%rdx,8), %rax
popq %rbp
retq
addq $0x10, %rax
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/disjukr[P]Tetris/Screen.cc
// Function: Screen::FillCell(Color, int, int, bool)
void Screen::FillCell(Color color, int x, int y, bool background) {
    Cell* cell = this -> GetCell(x, y);
    if (background)
        cell -> background = color;
    else
        cell -> foreground = color;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
testl %edx, %edx
js 0x6bfb
testl %ecx, %ecx
js 0x6bfb
cmpl %edx, (%rdi)
jle 0x6bfb
cmpl %ecx, 0x4(%rdi)
jle 0x6bfb
movq 0x8(%rdi), %rax
movl %ecx, %ecx
movl %edx, %edx
leaq (%rdx,%rdx,2), %rdi
shlq $0x2, %rdi
addq (%rax,%rcx,8), %rdi
jmp 0x6bff
addq $0x10, %rdi
movzbl %r8b, %eax
movl %esi, 0x4(%rdi,%rax,4)
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/disjukr[P]Tetris/Screen.cc
// Function: Screen::FillLine(Color, int, int, int, bool)
void Screen::FillLine(Color color, int x, int y, int length, bool background) {
    for (int i = 0; i < length; ++i) {
        Cell* cell = this -> GetCell(x + i, y);
        if (background)
            cell -> background = color;
        else
            cell -> foreground = color;
    }
}

// Assembly:
testl %r8d, %r8d
jle 0x6c80
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
movslq (%rdi), %rax
movq 0x8(%rdi), %r10
movl %ecx, %r11d
leaq 0x10(%rdi), %rbx
movslq %edx, %rdx
movl %r8d, %r8d
movzbl %r9b, %r9d
leaq 0x4(,%r9,4), %r9
leaq (,%rdx,4), %r14
leaq (%r14,%r14,2), %r14
movq %rbx, %r15
testq %rdx, %rdx
js 0x6c6a
movq %rbx, %r15
testl %ecx, %ecx
js 0x6c6a
movq %rbx, %r15
cmpq %rax, %rdx
jge 0x6c6a
movq %rbx, %r15
cmpl %ecx, 0x4(%rdi)
jle 0x6c6a
movq (%r10,%r11,8), %r15
addq %r14, %r15
movl %esi, (%r15,%r9)
addq $0xc, %r14
incq %rdx
decq %r8
jne 0x6c44
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/disjukr[P]Tetris/Screen.cc
// Function: Screen::RenderScreen(Screen&, int, int)
void Screen::RenderScreen(Screen& screen, int x, int y) {
    for (int j = 0; j < screen.height; ++j) {
        for (int i = 0; i < screen.width; ++i) {
            int tx = i + x;
            int ty = j + y;
            Cell* cell = screen.GetCell(i, j);
            this -> WriteCell(cell -> value, tx, ty);
            this -> FillCell(cell -> foreground, tx, ty, false);
            this -> FillCell(cell -> background, tx, ty, true);
        }
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rsi, -0x30(%rbp)
movslq 0x4(%rsi), %rax
movq %rax, -0x58(%rbp)
testq %rax, %rax
jle 0x6de6
movq -0x30(%rbp), %rax
movl (%rax), %r8d
leaq 0x10(%rax), %rsi
leaq 0x10(%rdi), %r12
movslq %edx, %rax
movslq %ecx, %rcx
movq %rcx, -0x40(%rbp)
movq %rax, -0x48(%rbp)
leaq (,%rax,4), %rax
leaq (%rax,%rax,2), %rax
movq %rax, -0x38(%rbp)
movq %r8, -0x50(%rbp)
movq %r8, %rax
shlq $0x2, %rax
leaq (%rax,%rax,2), %rbx
xorl %r14d, %r14d
cmpl $0x0, -0x50(%rbp)
jle 0x6dd9
movq -0x40(%rbp), %rax
leaq (%r14,%rax), %r15
movq -0x30(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, -0x60(%rbp)
movslq (%rdi), %r13
movq 0x8(%rdi), %rcx
xorl %r11d, %r11d
movq -0x48(%rbp), %rdx
movq -0x38(%rbp), %rax
movq -0x30(%rbp), %r8
movslq 0x4(%r8), %r10
movq %rsi, %r9
cmpq %r10, %r14
jge 0x6d2e
movq -0x60(%rbp), %r8
movq (%r8,%r14,8), %r9
addq %r11, %r9
movq %r12, %r10
testq %rdx, %rdx
js 0x6d59
movq %r12, %r10
testq %r15, %r15
js 0x6d59
movq %r12, %r10
cmpq %r13, %rdx
jge 0x6d59
movslq 0x4(%rdi), %r8
movq %r12, %r10
cmpq %r8, %r15
jge 0x6d59
movq (%rcx,%r15,8), %r10
addq %rax, %r10
movb (%r9), %r8b
movb %r8b, (%r10)
movq %r12, %r10
testq %rdx, %rdx
js 0x6d8a
movq %r12, %r10
testq %r15, %r15
js 0x6d8a
movq %r12, %r10
cmpq %r13, %rdx
jge 0x6d8a
movslq 0x4(%rdi), %r8
movq %r12, %r10
cmpq %r8, %r15
jge 0x6d8a
movq (%rcx,%r15,8), %r10
addq %rax, %r10
movl 0x4(%r9), %r8d
movl %r8d, 0x4(%r10)
movl 0x8(%r9), %r9d
movq %r12, %r10
testq %rdx, %rdx
js 0x6dc1
movq %r12, %r10
testq %r15, %r15
js 0x6dc1
movq %r12, %r10
cmpq %r13, %rdx
jge 0x6dc1
movslq 0x4(%rdi), %r8
movq %r12, %r10
cmpq %r8, %r15
jge 0x6dc1
movq (%rcx,%r15,8), %r10
addq %rax, %r10
movl %r9d, 0x8(%r10)
addq $0xc, %rax
incq %rdx
addq $0xc, %r11
cmpq %r11, %rbx
jne 0x6d13
incq %r14
cmpq -0x58(%rbp), %r14
jne 0x6ce3
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/disjukr[P]Tetris/Console.cc
// Function: Console::SetEcho(bool)
void Console::SetEcho(bool echo) {
#ifdef _WIN32
    echo;
#else
    struct termios stdIn;
    tcgetattr(STDIN_FILENO, &stdIn);
    stdIn.c_lflag &= ~ECHO;
    stdIn.c_lflag |= echo ? ECHO : 0;
    tcsetattr(STDIN_FILENO, TCSANOW, &stdIn);
#endif
    return;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x40, %rsp
movl %edi, %ebx
leaq -0x4c(%rbp), %r14
xorl %edi, %edi
movq %r14, %rsi
callq 0x3140
movl 0xc(%r14), %eax
andl $-0x9, %eax
leal (%rax,%rbx,8), %eax
movl %eax, 0xc(%r14)
xorl %edi, %edi
xorl %esi, %esi
movq %r14, %rdx
callq 0x3180
addq $0x40, %rsp
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/disjukr[P]Tetris/Console.cc
// Function: Console::SetCursor(bool)
void Console::SetCursor(bool visible) {
#ifdef _WIN32
    visible;
#else
    cout << "\x1B[?25" << (visible ? 'h' : 'l');
#endif
    return;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x10, %rsp
movl %edi, %ebx
movq 0x4ff8(%rip), %r14      # 0xbfd8
leaq 0x1585(%rip), %rsi      # 0x856c
movl $0x5, %edx
movq %r14, %rdi
callq 0x3150
xorb $0x1, %bl
shlb $0x2, %bl
orb $0x68, %bl
leaq -0x11(%rbp), %rsi
movb %bl, (%rsi)
movl $0x1, %edx
movq %r14, %rdi
callq 0x3150
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/disjukr[P]Tetris/Console.cc
// Function: Console::SetColor(Color, Color)
void Console::SetColor(Color foreground, Color background) {
#ifdef _WIN32
    SetConsoleTextAttribute(hStdout,
        GetAttributes(foreground, background));
#else
    int foregroundBegin;
    int backgroundBegin;
    switch (foreground) {
    default: case NONE:
        foregroundBegin = 0;
        break;
    case WHITE: foregroundBegin = 97; break;
    case GREY: foregroundBegin = 90; break;
    case BLACK: foregroundBegin = 30; break;
    case BLUE: foregroundBegin = 94; break;
    case CYAN: foregroundBegin = 96; break;
    case GREEN: foregroundBegin = 92; break;
    case MAGENTA: foregroundBegin = 95; break;
    case RED: foregroundBegin = 91; break;
    case YELLOW: foregroundBegin = 93; break;
    }
    switch (background) {
    default: case NONE:
        backgroundBegin = 0;
        break;
    case WHITE: backgroundBegin = 107; break;
    case GREY: backgroundBegin = 47; break;
    case BLACK: backgroundBegin = 40; break;
    case BLUE: backgroundBegin = 104; break;
    case CYAN: backgroundBegin = 106; break;
    case GREEN: backgroundBegin = 102; break;
    case MAGENTA: backgroundBegin = 105; break;
    case RED: backgroundBegin = 101; break;
    case YELLOW: backgroundBegin = 103; break;
    }
    cout << "\x1B[";
    if (foregroundBegin != 0)
        cout << foregroundBegin;
    if (backgroundBegin != 0)
        cout << ';' << backgroundBegin;
    cout << "m";
#endif
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
xorl %ebx, %ebx
movb $0x1, %r15b
decl %edi
movb $0x1, %r12b
movl $0x0, %r14d
cmpl $0x8, %edi
ja 0x70b5
leaq 0x14c1(%rip), %rax      # 0x8524
movslq (%rax,%rdi,4), %rcx
addq %rax, %rcx
jmpq *%rcx
movl $0x61, %r14d
jmp 0x70b2
movl $0x60, %r14d
jmp 0x70b2
movl $0x1e, %r14d
jmp 0x70b2
movl $0x5e, %r14d
jmp 0x70b2
movl $0x5b, %r14d
jmp 0x70b2
movl $0x5a, %r14d
jmp 0x70b2
movl $0x5c, %r14d
jmp 0x70b2
movl $0x5f, %r14d
jmp 0x70b2
movl $0x5d, %r14d
xorl %r12d, %r12d
decl %esi
cmpl $0x8, %esi
ja 0x710c
leaq 0x1485(%rip), %rax      # 0x8548
movslq (%rax,%rsi,4), %rcx
addq %rax, %rcx
jmpq *%rcx
movl $0x6b, %ebx
jmp 0x7109
movl $0x6a, %ebx
jmp 0x7109
movl $0x28, %ebx
jmp 0x7109
movl $0x68, %ebx
jmp 0x7109
movl $0x65, %ebx
jmp 0x7109
movl $0x2f, %ebx
jmp 0x7109
movl $0x66, %ebx
jmp 0x7109
movl $0x69, %ebx
jmp 0x7109
movl $0x67, %ebx
xorl %r15d, %r15d
movq 0x4ec5(%rip), %rdi      # 0xbfd8
leaq 0x1460(%rip), %rsi      # 0x857a
movl $0x2, %edx
callq 0x3150
testb %r12b, %r12b
jne 0x7138
movq 0x4ea8(%rip), %rdi      # 0xbfd8
movl %r14d, %esi
callq 0x3210
testb %r15b, %r15b
jne 0x715f
leaq -0x21(%rbp), %rsi
movb $0x3b, (%rsi)
movq 0x4e8d(%rip), %rdi      # 0xbfd8
movl $0x1, %edx
callq 0x3150
movq %rax, %rdi
movl %ebx, %esi
callq 0x3210
movq 0x4e72(%rip), %rdi      # 0xbfd8
leaq 0x1413(%rip), %rsi      # 0x8580
movl $0x1, %edx
callq 0x3150
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/disjukr[P]Tetris/Console.cc
// Function: Console::ShowScreen()
void Console::ShowScreen() {
#ifdef _WIN32
    hStdout = GetStdHandle(STD_OUTPUT_HANDLE);
    GetConsoleScreenBufferInfo(hStdout, &screenInfo);
    oldAttributes = screenInfo.wAttributes;
#endif
    int width = screen.GetWidth();
    int height = screen.GetHeight();
    for (int j = 0; j < height; ++j) {
        for (int i = 0; i < width; ++i) {
            SetColor(screen.GetColor(i, j, false),
                     screen.GetColor(i, j, true));
            cout.put(screen.GetChar(i, j));
            UnsetColor();
        }
        cout << endl;
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
leaq 0x4fa9(%rip), %r14      # 0xc160
movq %r14, %rdi
callq 0x6a6a
movl %eax, %ebx
movq %r14, %rdi
callq 0x6a72
movl %eax, -0x2c(%rbp)
testl %eax, %eax
jle 0x7291
xorl %r15d, %r15d
leaq 0x4f82(%rip), %r12      # 0xc160
movq 0x4df3(%rip), %r13      # 0xbfd8
testl %ebx, %ebx
jle 0x725c
xorl %r14d, %r14d
movq %r12, %rdi
movl %r14d, %esi
movl %r15d, %edx
xorl %ecx, %ecx
callq 0x6ae4
movl %ebx, %r13d
movl %eax, %ebx
movq %r12, %rdi
movl %r14d, %esi
movl %r15d, %edx
movl $0x1, %ecx
callq 0x6ae4
movl %ebx, %edi
movl %r13d, %ebx
movq 0x4db8(%rip), %r13      # 0xbfd8
movl %eax, %esi
callq 0x7038
movq %r12, %rdi
movl %r14d, %esi
movl %r15d, %edx
callq 0x6ab0
movsbl %al, %esi
movq %r13, %rdi
callq 0x3040
movl $0x4, %edx
movq %r13, %rdi
leaq 0x132e(%rip), %rsi      # 0x857d
callq 0x3150
incl %r14d
cmpl %r14d, %ebx
jne 0x71ec
movq (%r13), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x3120
movsbl %al, %esi
movq %r13, %rdi
callq 0x3040
movq %rax, %rdi
callq 0x30c0
incl %r15d
cmpl -0x2c(%rbp), %r15d
jne 0x71e5
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/disjukr[P]Tetris/Keyboard.cc
// Function: kbhit()
int _kbhit() {
    struct termios oldt, newt;
    int ch;
    int oldf;
    tcgetattr(STDIN_FILENO, &oldt);
    newt = oldt;
    newt.c_lflag &= ~(ICANON | ECHO);
    tcsetattr(STDIN_FILENO, TCSANOW, &newt);
    oldf = fcntl(STDIN_FILENO, F_GETFL, 0);
    fcntl(STDIN_FILENO, F_SETFL, oldf | O_NONBLOCK);
    ch = getchar();
    tcsetattr(STDIN_FILENO, TCSANOW, &oldt);
    fcntl(STDIN_FILENO, F_SETFL, oldf);
    if(ch != EOF) {
        ungetc(ch, stdin);
        return 1;
    }
    return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x80, %rsp
xorl %ebx, %ebx
leaq -0x9c(%rbp), %r14
xorl %edi, %edi
movq %r14, %rsi
callq 0x3140
movups (%r14), %xmm0
movups 0x10(%r14), %xmm1
movups 0x20(%r14), %xmm2
movups 0x2c(%r14), %xmm3
leaq -0x60(%rbp), %rdx
movaps %xmm0, (%rdx)
movaps %xmm1, 0x10(%rdx)
movaps %xmm2, 0x20(%rdx)
movups %xmm3, 0x2c(%rdx)
andb $-0xb, 0xc(%rdx)
xorl %edi, %edi
xorl %esi, %esi
callq 0x3180
xorl %edi, %edi
movl $0x3, %esi
xorl %edx, %edx
xorl %eax, %eax
callq 0x30b0
movl %eax, %r12d
movl %eax, %edx
orl $0x800, %edx            # imm = 0x800
xorl %edi, %edi
movl $0x4, %esi
xorl %eax, %eax
callq 0x30b0
callq 0x31a0
movl %eax, %r15d
xorl %edi, %edi
xorl %esi, %esi
movq %r14, %rdx
callq 0x3180
xorl %edi, %edi
movl $0x4, %esi
movl %r12d, %edx
xorl %eax, %eax
callq 0x30b0
cmpl $-0x1, %r15d
je 0x7633
movq 0x49ad(%rip), %rax      # 0xbfd0
movq (%rax), %rsi
movl %r15d, %edi
callq 0x3050
movl $0x1, %ebx
movl %ebx, %eax
addq $0x80, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/disjukr[P]Tetris/Keyboard.cc
// Function: Keyboard::code()
Key Keyboard::code() {
#ifdef _WIN32
    if (GetAsyncKeyState(VK_UP) & SHRT_MAX) return UP;
    else if (GetAsyncKeyState(VK_DOWN) & SHRT_MAX) return DOWN;
    else if (GetAsyncKeyState(VK_LEFT) & SHRT_MAX) return LEFT;
    else if (GetAsyncKeyState(VK_RIGHT) & SHRT_MAX) return RIGHT;
#endif
    if (_kbhit()) {
        switch (nonblockGetCh()) {
        case 27:
#ifdef _WIN32
            return ESC;
#else
            if (!_kbhit()) return ESC;
            if (nonblockGetCh() == 91) {
                switch (nonblockGetCh()) {
                case 65: return UP;
                case 66: return DOWN;
                case 68: return LEFT;
                case 67: return RIGHT;
                }
            }
#endif
        case 'q': case 'Q': return Q;
        case 'w': case 'W': return W;
        case 'a': case 'A': return A;
        case 's': case 'S': return S;
        case 'd': case 'D': return D;
        case 'e': case 'E': return E;
        case 'r': case 'R': return R;
        case 'f': case 'F': return F;
        case 'z': case 'Z': return Z;
        case 'x': case 'X': return X;
        case 'c': case 'C': return C;
        case ' ': return SPACE;
        }
    }
    return ETC;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
callq 0x7570
testl %eax, %eax
je 0x76ca
callq 0x31a0
movzbl %al, %ecx
movl $0x7, %eax
cmpl $0x70, %ecx
jg 0x769a
leal -0x41(%rcx), %edx
cmpl $0x25, %edx
ja 0x76b9
leaq 0xefa(%rip), %rcx       # 0x8584
movslq (%rcx,%rdx,4), %rdx
addq %rcx, %rdx
jmpq *%rdx
movl $0x8, %eax
jmp 0x76cf
addl $-0x71, %ecx
cmpl $0x9, %ecx
ja 0x76ca
leaq 0xf73(%rip), %rdx       # 0x861c
movslq (%rdx,%rcx,4), %rcx
addq %rdx, %rcx
jmpq *%rcx
movl $0xc, %eax
jmp 0x76cf
cmpl $0x1b, %ecx
je 0x7702
cmpl $0x20, %ecx
jne 0x76ca
movl $0x4, %eax
jmp 0x76cf
movl $0x11, %eax
popq %rbp
retq
movl $0xf, %eax
jmp 0x76cf
movl $0x9, %eax
jmp 0x76cf
movl $0xe, %eax
jmp 0x76cf
movl $0xa, %eax
jmp 0x76cf
movl $0x10, %eax
jmp 0x76cf
movl $0xb, %eax
jmp 0x76cf
movl $0xd, %eax
jmp 0x76cf
callq 0x7570
testl %eax, %eax
je 0x7735
callq 0x31a0
cmpb $0x5b, %al
jne 0x772e
callq 0x31a0
addb $-0x41, %al
cmpb $0x4, %al
jae 0x772e
movzbl %al, %eax
leaq 0xf1b(%rip), %rcx       # 0x8644
movl (%rcx,%rax,4), %eax
jmp 0x76cf
movl $0x6, %eax
jmp 0x76cf
movl $0x5, %eax
jmp 0x76cf
// File: /workspace/github_cpp_makefile_star2_O1/ssubrandon[P]460Project2/Project2.cpp
// Function: main
int main (int argc, char * argv[])
{
	if (argc < 2)
	{
		printf ("format: %s <filename>\n", argv[0]);
		exit (1);
	}
/*
	SetLimits ();
*/
	SyntacticalAnalyzer parse (argv[1]);

	return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
subq $0x848, %rsp            # imm = 0x848
cmpl $0x1, %edi
jle 0x2c24
movq 0x8(%rsi), %rsi
leaq -0x848(%rbp), %rbx
movq %rbx, %rdi
callq 0x4f6c
movq %rbx, %rdi
callq 0x5610
xorl %eax, %eax
addq $0x848, %rsp            # imm = 0x848
popq %rbx
popq %rbp
retq
movq (%rsi), %rsi
leaq 0x83d6(%rip), %rdi      # 0xb004
xorl %eax, %eax
callq 0x2050
movl $0x1, %edi
callq 0x2270
nop
// File: /workspace/github_cpp_makefile_star2_O1/ssubrandon[P]460Project2/SetLimits.cpp
// Function: SetLimits()
void SetLimits ()
{
	// Beginning of resource limit code
	int getrlimit(int resource, struct rlimit *rlim);
	int getrusage(int who, struct rusage *usage);
	int setrlimit(int resource, const struct rlimit *rlim);
	struct rlimit __trl1;
	const int __trl1r = getrlimit(RLIMIT_CPU, & __trl1);
	struct rlimit __trl2 = {20, __trl1.rlim_max};
	const int __trl2r = setrlimit(RLIMIT_CPU, & __trl2);
	struct rlimit __trl3;
	const int __trl3r = getrlimit(RLIMIT_FSIZE, & __trl3);
	struct rlimit __trl4 = {10000000, __trl3.rlim_max};
	const int __trl4r = setrlimit(RLIMIT_FSIZE, & __trl4);
	// End of time limit code
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
subq $0x48, %rsp
leaq -0x48(%rbp), %rbx
xorl %edi, %edi
movq %rbx, %rsi
callq 0x2290
leaq -0x38(%rbp), %rsi
movq $0x14, (%rsi)
movq 0x8(%rbx), %rax
movq %rax, 0x8(%rsi)
xorl %edi, %edi
callq 0x21d0
leaq -0x28(%rbp), %rbx
movl $0x1, %edi
movq %rbx, %rsi
callq 0x2290
leaq -0x18(%rbp), %rsi
movq $0x989680, (%rsi)       # imm = 0x989680
movq 0x8(%rbx), %rax
movq %rax, 0x8(%rsi)
movl $0x1, %edi
callq 0x21d0
addq $0x48, %rsp
popq %rbx
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/ssubrandon[P]460Project2/LexicalAnalyzer.cpp
// Function: LexicalAnalyzer::~LexicalAnalyzer()
LexicalAnalyzer::~LexicalAnalyzer ()
{
	input.close ();
	cout << errors << " Lexical errors found in input file\n";
	listing << errors << " Lexical errors found in input file\n";
	listing.close();
	debug << errors << " Lexical errors found in input file\n";
	debug.close();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rdi, %rbx
leaq 0x400(%rdi), %r14
movq %r14, %rdi
callq 0x2090
movl 0x854(%rbx), %esi
movq 0xb2a6(%rip), %rdi      # 0xefd8
callq 0x2330
leaq 0x793f(%rip), %rsi      # 0xb67d
movl $0x24, %edx
movq %rax, %rdi
callq 0x2260
leaq 0x200(%rbx), %r15
movl 0x854(%rbx), %esi
movq %r15, %rdi
callq 0x2330
leaq 0x7916(%rip), %rsi      # 0xb67d
movl $0x24, %edx
movq %rax, %rdi
callq 0x2260
movq %r15, %rdi
callq 0x22a0
movl 0x854(%rbx), %esi
movq %rbx, %rdi
callq 0x2330
leaq 0x78ec(%rip), %rsi      # 0xb67d
movl $0x24, %edx
movq %rax, %rdi
callq 0x2260
movq %rbx, %rdi
callq 0x22a0
leaq 0x858(%rbx), %rdi
callq 0x4b22
movq 0x830(%rbx), %rdi
leaq 0x840(%rbx), %rax
cmpq %rax, %rdi
je 0x3dd0
movq (%rax), %rsi
incq %rsi
callq 0x2210
movq 0x808(%rbx), %rdi
leaq 0x818(%rbx), %rax
cmpq %rax, %rdi
je 0x3dee
movq (%rax), %rsi
incq %rsi
callq 0x2210
movq 0xb1db(%rip), %rax      # 0xefd0
movq (%rax), %r15
movq 0x18(%rax), %r12
movq %r15, 0x608(%rbx)
movq -0x18(%r15), %rax
movq %r12, 0x608(%rbx,%rax)
leaq 0x610(%rbx), %rdi
callq 0x21a0
leaq 0x700(%rbx), %rdi
callq 0x20f0
movq %r14, %rdi
callq 0x20b0
movq %r15, 0x200(%rbx)
movq -0x18(%r15), %rax
movq %r12, 0x200(%rbx,%rax)
leaq 0x208(%rbx), %rdi
callq 0x21a0
leaq 0x2f8(%rbx), %rdi
callq 0x20f0
movq %r15, (%rbx)
movq -0x18(%r15), %rax
movq %r12, (%rbx,%rax)
leaq 0x8(%rbx), %rdi
callq 0x21a0
addq $0xf8, %rbx
movq %rbx, %rdi
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0x20f0
movq %rax, %rdi
callq 0x4b13
nop
// File: /workspace/github_cpp_makefile_star2_O1/ssubrandon[P]460Project2/SyntacticalAnalyzer.cpp
// Function: SyntacticalAnalyzer::SyntacticalAnalyzer(char*)
SyntacticalAnalyzer::SyntacticalAnalyzer (char * filename)
{
	lex = new LexicalAnalyzer (filename);
	token_type t;

	int i =0;
	string file = "";
	while( filename[i] != '.'){
		file += filename[i];
		i++;
	}
	token = lex -> GetToken();
	ruleFile.open(file + ".Zp2");

	errors = program();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rsi, %rbx
movq %rdi, %r12
addq $0x18, %rdi
movq %rdi, -0x88(%rbp)
callq 0x2250
leaq 0x220(%r12), %r14
movq %r14, %rdi
callq 0x2320
leaq 0x420(%r12), %r15
movq %r15, %rdi
movq %r14, -0x80(%rbp)
callq 0x2320
leaq 0x620(%r12), %rdi
movq %rdi, -0x78(%rbp)
callq 0x2320
leaq 0x830(%r12), %r13
movq %r13, 0x820(%r12)
movq $0x0, 0x828(%r12)
movb $0x0, 0x830(%r12)
movl $0x888, %edi            # imm = 0x888
callq 0x2200
movq %rax, %r14
movq %rax, %rdi
movq %rbx, %rsi
callq 0x2ca8
movq %r14, 0x8(%r12)
leaq -0x40(%rbp), %rax
movq %rax, -0x10(%rax)
leaq 0x65c7(%rip), %rdx      # 0xb5e0
leaq -0x50(%rbp), %rdi
movq %rdx, %rsi
callq 0x4c4c
movb (%rbx), %al
cmpb $0x2e, %al
je 0x5046
incq %rbx
leaq -0x50(%rbp), %r14
movsbl %al, %esi
movq %r14, %rdi
callq 0x21b0
movb (%rbx), %al
incq %rbx
cmpb $0x2e, %al
jne 0x5032
movq 0x8(%r12), %rdi
callq 0x3e8e
movl %eax, 0x10(%r12)
leaq -0x60(%rbp), %rbx
movq %rbx, -0x10(%rbx)
movq -0x50(%rbp), %rsi
movq -0x48(%rbp), %rdx
addq %rsi, %rdx
leaq -0x70(%rbp), %rdi
callq 0x4bb2
leaq 0x67c4(%rip), %rsi      # 0xb83c
leaq -0x70(%rbp), %rdi
callq 0x2380
leaq -0x70(%rbp), %rsi
movq %r15, %rdi
movl $0x10, %edx
callq 0x2120
movq -0x70(%rbp), %rdi
cmpq %rbx, %rdi
je 0x50a7
movq -0x60(%rbp), %rsi
incq %rsi
callq 0x2210
movq %r12, %rdi
callq 0x518a
movl %eax, (%r12)
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x50cc
movq -0x40(%rbp), %rsi
incq %rsi
callq 0x2210
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x50dd
movq %rax, -0x30(%rbp)
movq -0x70(%rbp), %rdi
cmpq %rbx, %rdi
je 0x5128
movq -0x60(%rbp), %rsi
incq %rsi
callq 0x2210
jmp 0x5128
jmp 0x5124
jmp 0x510a
movq %rax, -0x30(%rbp)
movl $0x888, %esi            # imm = 0x888
movq %r14, %rdi
jmp 0x513c
movq %rax, -0x30(%rbp)
jmp 0x5141
movq %rax, -0x30(%rbp)
jmp 0x5163
movq %rax, -0x30(%rbp)
jmp 0x516b
movq %rax, -0x30(%rbp)
jmp 0x5174
jmp 0x5124
movq %rax, -0x30(%rbp)
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x5141
movq -0x40(%rbp), %rsi
incq %rsi
callq 0x2210
movq 0x820(%r12), %rdi
cmpq %r13, %rdi
je 0x515a
movq (%r13), %rsi
incq %rsi
callq 0x2210
movq -0x78(%rbp), %rdi
callq 0x22c0
movq %r15, %rdi
callq 0x22c0
movq -0x80(%rbp), %rdi
callq 0x22c0
movq -0x88(%rbp), %rdi
callq 0x20b0
movq -0x30(%rbp), %rdi
callq 0x2340
nop
// File: /workspace/github_cpp_makefile_star2_O1/ssubrandon[P]460Project2/SyntacticalAnalyzer.cpp
// Function: SyntacticalAnalyzer::~SyntacticalAnalyzer()
SyntacticalAnalyzer::~SyntacticalAnalyzer ()
{// this is the deconstructor for the syntactical analyzer class
  cout << errors << " Syntactical errors found in input file\n";
	lex->listing << errors << " Syntactical errors found in input file\n";
	lex->debug << errors << " Syntactical errors found in input file\n";
  ruleFile.close();
	delete lex;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movl (%rdi), %esi
movq 0x99b2(%rip), %rdi      # 0xefd8
callq 0x2330
leaq 0x620f(%rip), %rsi      # 0xb841
movl $0x28, %edx
movq %rax, %rdi
callq 0x2260
movl $0x200, %edi            # imm = 0x200
addq 0x8(%rbx), %rdi
movl (%rbx), %esi
callq 0x2330
leaq 0x61eb(%rip), %rsi      # 0xb841
movl $0x28, %edx
movq %rax, %rdi
callq 0x2260
movq 0x8(%rbx), %rdi
movl (%rbx), %esi
callq 0x2330
leaq 0x61cc(%rip), %rsi      # 0xb841
movl $0x28, %edx
movq %rax, %rdi
callq 0x2260
leaq 0x420(%rbx), %rdi
callq 0x22a0
movq 0x8(%rbx), %r14
testq %r14, %r14
je 0x56ac
movq %r14, %rdi
callq 0x3d08
movl $0x888, %esi            # imm = 0x888
movq %r14, %rdi
callq 0x2210
movq 0x820(%rbx), %rdi
leaq 0x830(%rbx), %rax
cmpq %rax, %rdi
je 0x56ca
movq (%rax), %rsi
incq %rsi
callq 0x2210
movq 0x98ff(%rip), %rax      # 0xefd0
movq (%rax), %r14
movq 0x18(%rax), %r15
movq %r14, 0x620(%rbx)
movq -0x18(%r14), %rax
movq %r15, 0x620(%rbx,%rax)
leaq 0x628(%rbx), %rdi
callq 0x21a0
leaq 0x718(%rbx), %rdi
callq 0x20f0
movq %r14, 0x420(%rbx)
movq -0x18(%r14), %rax
movq %r15, 0x420(%rbx,%rax)
leaq 0x428(%rbx), %rdi
callq 0x21a0
leaq 0x518(%rbx), %rdi
callq 0x20f0
movq %r14, 0x220(%rbx)
movq -0x18(%r14), %rax
movq %r15, 0x220(%rbx,%rax)
leaq 0x228(%rbx), %rdi
callq 0x21a0
leaq 0x318(%rbx), %rdi
callq 0x20f0
addq $0x18, %rbx
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x20b0
movq %rax, %rdi
callq 0x4b13
nop
// File: /workspace/github_cpp_makefile_star2_O1/ssubrandon[P]460Project2/SyntacticalAnalyzer.cpp
// Function: SyntacticalAnalyzer::quoted_lit()
int SyntacticalAnalyzer::quoted_lit(){
   //This function deals with the quoted_lit rules (13) and will check for syntactical correctness,
  //this function will then, depending on the token seen, send the program to any other token.
	ruleFile << "Entering quoted_lit function; Current token is: " << lex ->GetTokenName(token) << ", lexeme: " << lex->GetLexeme() << endl;

	int errors = 0;
	ruleFile << "Using Rule 13" << endl;
	errors += any_other_token();
	ruleFile << "Exiting quoted_lit function; current token is: " << lex ->GetTokenName (token) << endl;

	return errors;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x40, %rsp
movq %rdi, %r14
leaq 0x420(%rdi), %rbx
leaq 0x315e(%rip), %rsi      # 0xbede
movl $0x30, %edx
movq %rbx, %rdi
callq 0x2260
movq 0x8(%r14), %rsi
movl 0x10(%r14), %edx
leaq -0x40(%rbp), %r15
movq %r15, %rdi
callq 0x4a1c
movq (%r15), %rsi
movq 0x8(%r15), %rdx
movq %rbx, %rdi
callq 0x2260
movq %rax, %r15
leaq 0x2ade(%rip), %rsi      # 0xb898
movl $0xa, %edx
movq %rax, %rdi
callq 0x2260
movq 0x8(%r14), %rsi
leaq -0x60(%rbp), %rdi
callq 0x4a56
movq -0x60(%rbp), %rsi
movq -0x58(%rbp), %rdx
movq %r15, %rdi
callq 0x2260
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x21e0
movsbl %al, %esi
movq %r15, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2170
leaq -0x50(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8e27
movq -0x50(%rbp), %rsi
incq %rsi
callq 0x2210
leaq -0x30(%rbp), %r12
movq -0x10(%r12), %rdi
cmpq %r12, %rdi
je 0x8e41
movq -0x30(%rbp), %rsi
incq %rsi
callq 0x2210
leaq 0x30c7(%rip), %rsi      # 0xbf0f
movl $0xd, %edx
movq %rbx, %rdi
callq 0x2260
movq 0x420(%r14), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x21e0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2170
movq %r14, %rdi
callq 0x92d0
movl %eax, %r15d
leaq 0x308b(%rip), %rsi      # 0xbf1d
movl $0x2f, %edx
movq %rbx, %rdi
callq 0x2260
movq 0x8(%r14), %rsi
movl 0x10(%r14), %edx
leaq -0x40(%rbp), %r14
movq %r14, %rdi
callq 0x4a1c
movq (%r14), %rsi
movq 0x8(%r14), %rdx
movq %rbx, %rdi
callq 0x2260
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x21e0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2170
movq -0x40(%rbp), %rdi
cmpq %r12, %rdi
je 0x8f01
movq -0x30(%rbp), %rsi
incq %rsi
callq 0x2210
movl %r15d, %eax
addq $0x40, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
jmp 0x8f13
movq %rax, %rbx
jmp 0x8f42
movq %rax, %rbx
movq -0x40(%rbp), %rdi
cmpq %r12, %rdi
jne 0x8f4f
jmp 0x8f5b
movq %rax, %rbx
leaq -0x50(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8f42
movq -0x50(%rbp), %rsi
incq %rsi
callq 0x2210
leaq -0x30(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8f5b
movq -0x30(%rbp), %rsi
incq %rsi
callq 0x2210
movq %rbx, %rdi
callq 0x2340
nop