// File: /workspace/github_cpp_makefile_star2_O3/disjukr[P]Tetris/Tetris.cc
// Function: Tetris::Render()
void Tetris::Render() {
    stage.Render(*currentPiece, true);
    this -> RenderPieceQueue();
    this -> RenderHoldPiece();
    int xOffset = 2;
    int xGap = 1;
    int ceilOffset = 1;
    int yOffset = ceilOffset + 1;
    Screen* mainScreen = Console::GetScreen();
    Screen* stageScreen = stage.GetScreen();
    mainScreen -> Clear(
        ' ', ColorUtil::GetComplementary(backgroundColor), backgroundColor);
    mainScreen -> RenderScreen(*holdPieceScreen, xOffset, ceilOffset);
    xOffset += holdPieceScreen -> GetWidth() + xGap;
    mainScreen -> RenderScreen(*stageScreen, xOffset, ceilOffset);
    xOffset += stageScreen -> GetWidth() + xGap;
    mainScreen -> RenderScreen(*queueScreen, xOffset, ceilOffset);
    xOffset += queueScreen -> GetWidth() + xGap;
    // statistics
    mainScreen -> WriteLine("STATISTICS", xOffset, ceilOffset);
    mainScreen -> FillLine(WHITE, xOffset, ceilOffset, 10, true);
    mainScreen -> FillLine(BLACK, xOffset, ceilOffset, 10, false);
    ++xOffset;
    mainScreen -> WriteLine("score:", xOffset, ++yOffset);
    mainScreen -> WriteLine(
        to_string(statistics.score), xOffset + 7, yOffset);
    mainScreen -> WriteLine("level:", xOffset, ++yOffset);
    mainScreen -> WriteLine(
        to_string(statistics.level), xOffset + 7, yOffset);
    ++yOffset;
    int valueOffset = xOffset + 8;
    mainScreen -> WriteLine("single:", xOffset, ++yOffset);
    mainScreen -> WriteLine(
        to_string(statistics._single), valueOffset, yOffset);
    mainScreen -> WriteLine("double:", xOffset, ++yOffset);
    mainScreen -> WriteLine(
        to_string(statistics._double), valueOffset, yOffset);
    mainScreen -> WriteLine("triple:", xOffset, ++yOffset);
    mainScreen -> WriteLine(
        to_string(statistics._triple), valueOffset, yOffset);
    mainScreen -> WriteLine("tetris:", xOffset, ++yOffset);
    mainScreen -> WriteLine(
        to_string(statistics._tetris), valueOffset, yOffset);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1c8, %rsp            # imm = 0x1C8
movq %rdi, %rbx
addq $0x38, %rdi
movq 0x420(%rbx), %rsi
movl $0x1, %edx
callq 0x4dc4
movq %rbx, %rdi
callq 0x4e12
movq %rbx, %rdi
callq 0x4fa6
callq 0x6eac
movq %rax, %r14
movq 0x3a8(%rbx), %r15
movq %rbx, -0x40(%rbp)
movl 0x3b0(%rbx), %ecx
leal -0x1(%rcx), %eax
xorl %edx, %edx
cmpl $0x8, %eax
ja 0x4547
movl %eax, %eax
leaq 0x3b98(%rip), %rdx      # 0x80dc
movl (%rdx,%rax,4), %edx
movq %r14, %rdi
movl $0x20, %esi
callq 0x6d1e
movq -0x40(%rbp), %r13
movq 0x3c0(%r13), %rsi
movq %r14, %rdi
movl $0x2, %edx
movl $0x1, %ecx
callq 0x6ba2
movq 0x3c0(%r13), %rdi
callq 0x698a
movl %eax, %r12d
leal 0x3(%r12), %edx
movq %r14, %rdi
movq %r15, %rsi
movl $0x1, %ecx
callq 0x6ba2
movq %r15, %rdi
callq 0x698a
movl %r12d, %ebx
addl %eax, %ebx
leal (%r12,%rax), %edx
addl $0x4, %edx
movq 0x3b8(%r13), %rsi
movq %r14, %rdi
movl $0x1, %ecx
callq 0x6ba2
movq 0x3b8(%r13), %rdi
callq 0x698a
leal (%rax,%rbx), %r12d
addl $0x5, %r12d
leaq -0x1e0(%rbp), %rbx
movq %rbx, -0x10(%rbx)
leaq 0x3cfb(%rip), %rsi      # 0x82de
leaq 0x3cfe(%rip), %rdx      # 0x82e8
leaq -0x1f0(%rbp), %r15
movq %r15, %rdi
callq 0x5b96
movq %r14, %rdi
movq %r15, %rsi
movq %r12, -0x38(%rbp)
movl %r12d, %edx
movl $0x1, %ecx
callq 0x6a70
movq -0x1f0(%rbp), %rdi
cmpq %rbx, %rdi
je 0x4621
callq 0x3110
movq %r14, %rdi
movl $0x1, %esi
movq -0x38(%rbp), %rbx
movl %ebx, %edx
movl $0x1, %ecx
movl $0xa, %r8d
movl $0x1, %r9d
callq 0x6b2a
movq %r14, %rdi
movl $0x3, %esi
movl %ebx, %edx
movl $0x1, %ecx
movl $0xa, %r8d
xorl %r9d, %r9d
callq 0x6b2a
leal 0x1(%rbx), %r12d
leaq -0x1c0(%rbp), %rbx
movq %rbx, -0x10(%rbx)
leaq 0x3c71(%rip), %rsi      # 0x82e9
leaq 0x3c70(%rip), %rdx      # 0x82ef
leaq -0x1d0(%rbp), %r15
movq %r15, %rdi
callq 0x5b96
movq %r14, %rdi
movq %r15, %rsi
movl %r12d, -0x2c(%rbp)
movl %r12d, %edx
movl $0x3, %ecx
callq 0x6a70
movq %r14, -0x48(%rbp)
movq -0x1d0(%rbp), %rdi
cmpq %rbx, %rdi
je 0x46ba
callq 0x3110
movq -0x40(%rbp), %rax
movl 0x20(%rax), %r14d
movl %r14d, %r13d
negl %r13d
cmovsl %r14d, %r13d
movl $0x1, %r12d
cmpl $0xa, %r13d
jb 0x4722
movl $0x4, %r12d
movl $0xd1b71759, %eax       # imm = 0xD1B71759
movl %r13d, %ecx
cmpl $0x63, %ecx
jbe 0x4719
cmpl $0x3e7, %ecx            # imm = 0x3E7
jbe 0x471f
cmpl $0x2710, %ecx           # imm = 0x2710
jb 0x4722
movl %ecx, %edx
imulq %rax, %rdx
shrq $0x2d, %rdx
addl $0x4, %r12d
cmpl $0x1869f, %ecx          # imm = 0x1869F
movl %edx, %ecx
ja 0x46e6
addl $-0x3, %r12d
jmp 0x4722
addl $-0x2, %r12d
jmp 0x4722
decl %r12d
shrl $0x1f, %r14d
movl %r14d, %esi
addl %r12d, %esi
leaq -0x1a0(%rbp), %rbx
movq %rbx, -0x10(%rbx)
leaq -0x1b0(%rbp), %r15
movq %r15, %rdi
movl $0x2d, %edx
callq 0x3160
movq (%r15), %rdi
addq %r14, %rdi
movl %r12d, %esi
movl %r13d, %edx
callq 0x5b24
movq -0x38(%rbp), %rax
leal 0x8(%rax), %r12d
movq -0x48(%rbp), %r14
movq %r14, %rdi
movq %r15, %rsi
movl %r12d, %edx
movl $0x3, %ecx
callq 0x6a70
movq -0x1b0(%rbp), %rdi
cmpq %rbx, %rdi
je 0x478c
callq 0x3110
leaq -0x180(%rbp), %rbx
movq %rbx, -0x10(%rbx)
leaq 0x3b52(%rip), %rsi      # 0x82f0
leaq 0x3b51(%rip), %rdx      # 0x82f6
leaq -0x190(%rbp), %r15
movq %r15, %rdi
callq 0x5b96
movq %r14, %rdi
movq %r15, %rsi
movl -0x2c(%rbp), %edx
movl $0x4, %ecx
callq 0x6a70
movl %r12d, -0x4c(%rbp)
movq -0x190(%rbp), %rdi
cmpq %rbx, %rdi
je 0x47dc
callq 0x3110
movq -0x40(%rbp), %rax
movl 0x24(%rax), %r14d
movl %r14d, %r12d
negl %r12d
cmovsl %r14d, %r12d
movl $0x1, %r15d
cmpl $0xa, %r12d
jb 0x4844
movl $0x4, %r15d
movl $0xd1b71759, %eax       # imm = 0xD1B71759
movl %r12d, %ecx
cmpl $0x63, %ecx
jbe 0x483b
cmpl $0x3e7, %ecx            # imm = 0x3E7
jbe 0x4841
cmpl $0x2710, %ecx           # imm = 0x2710
jb 0x4844
movl %ecx, %edx
imulq %rax, %rdx
shrq $0x2d, %rdx
addl $0x4, %r15d
cmpl $0x1869f, %ecx          # imm = 0x1869F
movl %edx, %ecx
ja 0x4808
addl $-0x3, %r15d
jmp 0x4844
addl $-0x2, %r15d
jmp 0x4844
decl %r15d
shrl $0x1f, %r14d
movl %r14d, %esi
addl %r15d, %esi
leaq -0x160(%rbp), %rbx
movq %rbx, -0x10(%rbx)
leaq -0x170(%rbp), %r13
movq %r13, %rdi
movl $0x2d, %edx
callq 0x3160
movq (%r13), %rdi
addq %r14, %rdi
movl %r15d, %esi
movl %r12d, %edx
callq 0x5b24
movq -0x48(%rbp), %r14
movq %r14, %rdi
movq %r13, %rsi
movl -0x4c(%rbp), %edx
movl $0x4, %ecx
callq 0x6a70
movq -0x170(%rbp), %rdi
cmpq %rbx, %rdi
je 0x48a7
callq 0x3110
leaq -0x140(%rbp), %rbx
movq %rbx, -0x10(%rbx)
leaq 0x3a3e(%rip), %rsi      # 0x82f7
leaq 0x3a3e(%rip), %rdx      # 0x82fe
leaq -0x150(%rbp), %r15
movq %r15, %rdi
callq 0x5b96
movq %r14, %rdi
movq %r15, %rsi
movl -0x2c(%rbp), %edx
movl $0x6, %ecx
callq 0x6a70
movq -0x150(%rbp), %rdi
cmpq %rbx, %rdi
je 0x48f3
callq 0x3110
movq -0x38(%rbp), %rax
addl $0x9, %eax
movq %rax, -0x38(%rbp)
movq -0x40(%rbp), %rax
movl 0x28(%rax), %r14d
movl %r14d, %r12d
negl %r12d
cmovsl %r14d, %r12d
movl $0x1, %r15d
cmpl $0xa, %r12d
jb 0x4966
movl $0x4, %r15d
movl $0xd1b71759, %eax       # imm = 0xD1B71759
movl %r12d, %ecx
cmpl $0x63, %ecx
jbe 0x495d
cmpl $0x3e7, %ecx            # imm = 0x3E7
jbe 0x4963
cmpl $0x2710, %ecx           # imm = 0x2710
jb 0x4966
movl %ecx, %edx
imulq %rax, %rdx
shrq $0x2d, %rdx
addl $0x4, %r15d
cmpl $0x1869f, %ecx          # imm = 0x1869F
movl %edx, %ecx
ja 0x492a
addl $-0x3, %r15d
jmp 0x4966
addl $-0x2, %r15d
jmp 0x4966
decl %r15d
shrl $0x1f, %r14d
movl %r14d, %esi
addl %r15d, %esi
leaq -0x120(%rbp), %rbx
movq %rbx, -0x10(%rbx)
leaq -0x130(%rbp), %r13
movq %r13, %rdi
movl $0x2d, %edx
callq 0x3160
movq (%r13), %rdi
addq %r14, %rdi
movl %r15d, %esi
movl %r12d, %edx
callq 0x5b24
movq -0x48(%rbp), %r14
movq %r14, %rdi
movq %r13, %rsi
movq -0x38(%rbp), %rdx
movl $0x6, %ecx
callq 0x6a70
movq -0x130(%rbp), %rdi
cmpq %rbx, %rdi
je 0x49ca
callq 0x3110
leaq -0x100(%rbp), %rbx
movq %rbx, -0x10(%rbx)
leaq 0x3923(%rip), %rsi      # 0x82ff
leaq 0x3923(%rip), %rdx      # 0x8306
leaq -0x110(%rbp), %r15
movq %r15, %rdi
callq 0x5b96
movq %r14, %rdi
movq %r15, %rsi
movl -0x2c(%rbp), %edx
movl $0x7, %ecx
callq 0x6a70
movq -0x110(%rbp), %rdi
cmpq %rbx, %rdi
je 0x4a16
callq 0x3110
movq -0x40(%rbp), %rax
movl 0x2c(%rax), %r14d
movl %r14d, %r12d
negl %r12d
cmovsl %r14d, %r12d
movl $0x1, %r15d
cmpl $0xa, %r12d
jb 0x4a7e
movl $0x4, %r15d
movl $0xd1b71759, %eax       # imm = 0xD1B71759
movl %r12d, %ecx
cmpl $0x63, %ecx
jbe 0x4a75
cmpl $0x3e7, %ecx            # imm = 0x3E7
jbe 0x4a7b
cmpl $0x2710, %ecx           # imm = 0x2710
jb 0x4a7e
movl %ecx, %edx
imulq %rax, %rdx
shrq $0x2d, %rdx
addl $0x4, %r15d
cmpl $0x1869f, %ecx          # imm = 0x1869F
movl %edx, %ecx
ja 0x4a42
addl $-0x3, %r15d
jmp 0x4a7e
addl $-0x2, %r15d
jmp 0x4a7e
decl %r15d
shrl $0x1f, %r14d
movl %r14d, %esi
addl %r15d, %esi
leaq -0xe0(%rbp), %rbx
movq %rbx, -0x10(%rbx)
leaq -0xf0(%rbp), %r13
movq %r13, %rdi
movl $0x2d, %edx
callq 0x3160
movq (%r13), %rdi
addq %r14, %rdi
movl %r15d, %esi
movl %r12d, %edx
callq 0x5b24
movq -0x48(%rbp), %r14
movq %r14, %rdi
movq %r13, %rsi
movq -0x38(%rbp), %rdx
movl $0x7, %ecx
callq 0x6a70
movq -0xf0(%rbp), %rdi
cmpq %rbx, %rdi
je 0x4ae2
callq 0x3110
leaq -0xc0(%rbp), %rbx
movq %rbx, -0x10(%rbx)
leaq 0x3813(%rip), %rsi      # 0x8307
leaq 0x3813(%rip), %rdx      # 0x830e
leaq -0xd0(%rbp), %r15
movq %r15, %rdi
callq 0x5b96
movq %r14, %rdi
movq %r15, %rsi
movl -0x2c(%rbp), %edx
movl $0x8, %ecx
callq 0x6a70
movq -0xd0(%rbp), %rdi
cmpq %rbx, %rdi
je 0x4b2e
callq 0x3110
movq -0x40(%rbp), %rax
movl 0x30(%rax), %r14d
movl %r14d, %r12d
negl %r12d
cmovsl %r14d, %r12d
movl $0x1, %r15d
cmpl $0xa, %r12d
jb 0x4b96
movl $0x4, %r15d
movl $0xd1b71759, %eax       # imm = 0xD1B71759
movl %r12d, %ecx
cmpl $0x63, %ecx
jbe 0x4b8d
cmpl $0x3e7, %ecx            # imm = 0x3E7
jbe 0x4b93
cmpl $0x2710, %ecx           # imm = 0x2710
jb 0x4b96
movl %ecx, %edx
imulq %rax, %rdx
shrq $0x2d, %rdx
addl $0x4, %r15d
cmpl $0x1869f, %ecx          # imm = 0x1869F
movl %edx, %ecx
ja 0x4b5a
addl $-0x3, %r15d
jmp 0x4b96
addl $-0x2, %r15d
jmp 0x4b96
decl %r15d
shrl $0x1f, %r14d
movl %r14d, %esi
addl %r15d, %esi
leaq -0xa0(%rbp), %rbx
movq %rbx, -0x10(%rbx)
leaq -0xb0(%rbp), %r13
movq %r13, %rdi
movl $0x2d, %edx
callq 0x3160
movq (%r13), %rdi
addq %r14, %rdi
movl %r15d, %esi
movl %r12d, %edx
callq 0x5b24
movq -0x48(%rbp), %r14
movq %r14, %rdi
movq %r13, %rsi
movq -0x38(%rbp), %rdx
movl $0x8, %ecx
callq 0x6a70
movq -0xb0(%rbp), %rdi
cmpq %rbx, %rdi
je 0x4bfa
callq 0x3110
leaq -0x80(%rbp), %rbx
movq %rbx, -0x10(%rbx)
leaq 0x3706(%rip), %rsi      # 0x830f
leaq 0x3706(%rip), %rdx      # 0x8316
leaq -0x90(%rbp), %r15
movq %r15, %rdi
callq 0x5b96
movq %r14, %rdi
movq %r15, %rsi
movl -0x2c(%rbp), %edx
movl $0x9, %ecx
callq 0x6a70
movq -0x90(%rbp), %rdi
cmpq %rbx, %rdi
je 0x4c43
callq 0x3110
movq -0x40(%rbp), %rax
movl 0x34(%rax), %r13d
movl %r13d, %r14d
negl %r14d
cmovsl %r13d, %r14d
movl $0x1, %r15d
cmpl $0xa, %r14d
jb 0x4cab
movl $0x4, %r15d
movl $0xd1b71759, %eax       # imm = 0xD1B71759
movl %r14d, %ecx
cmpl $0x63, %ecx
jbe 0x4ca2
cmpl $0x3e7, %ecx            # imm = 0x3E7
jbe 0x4ca8
cmpl $0x2710, %ecx           # imm = 0x2710
jb 0x4cab
movl %ecx, %edx
imulq %rax, %rdx
shrq $0x2d, %rdx
addl $0x4, %r15d
cmpl $0x1869f, %ecx          # imm = 0x1869F
movl %edx, %ecx
ja 0x4c6f
addl $-0x3, %r15d
jmp 0x4cab
addl $-0x2, %r15d
jmp 0x4cab
decl %r15d
shrl $0x1f, %r13d
movl %r13d, %esi
addl %r15d, %esi
leaq -0x60(%rbp), %rbx
movq %rbx, -0x10(%rbx)
leaq -0x70(%rbp), %r12
movq %r12, %rdi
movl $0x2d, %edx
callq 0x3160
movq (%r12), %rdi
addq %r13, %rdi
movl %r15d, %esi
movl %r14d, %edx
callq 0x5b24
movq -0x48(%rbp), %rdi
movq %r12, %rsi
movq -0x38(%rbp), %rdx
movl $0x9, %ecx
callq 0x6a70
movq -0x70(%rbp), %rdi
cmpq %rbx, %rdi
je 0x4d03
callq 0x3110
addq $0x1c8, %rsp            # imm = 0x1C8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movq -0x70(%rbp), %rdi
jmp 0x4db2
movq %rax, %r14
movq -0x90(%rbp), %rdi
jmp 0x4db2
movq %rax, %r14
movq -0xb0(%rbp), %rdi
jmp 0x4db2
movq %rax, %r14
movq -0xd0(%rbp), %rdi
jmp 0x4db2
movq %rax, %r14
movq -0xf0(%rbp), %rdi
jmp 0x4db2
movq %rax, %r14
movq -0x110(%rbp), %rdi
jmp 0x4db2
movq %rax, %r14
movq -0x130(%rbp), %rdi
jmp 0x4db2
movq %rax, %r14
movq -0x150(%rbp), %rdi
jmp 0x4db2
movq %rax, %r14
movq -0x170(%rbp), %rdi
jmp 0x4db2
movq %rax, %r14
movq -0x190(%rbp), %rdi
jmp 0x4db2
movq %rax, %r14
movq -0x1b0(%rbp), %rdi
jmp 0x4db2
movq %rax, %r14
movq -0x1d0(%rbp), %rdi
jmp 0x4db2
movq %rax, %r14
movq -0x1f0(%rbp), %rdi
cmpq %rbx, %rdi
je 0x4dbc
callq 0x3110
movq %r14, %rdi
callq 0x3220