// File: /workspace/github_cpp_makefile_star2_O1/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 0x4e12
movq %rbx, %rdi
callq 0x4e60
movq %rbx, %rdi
callq 0x5000
callq 0x6f80
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 0x4595
movl %eax, %eax
leaq 0x3b4a(%rip), %rdx      # 0x80dc
movl (%rdx,%rax,4), %edx
movq %r14, %rdi
movl $0x20, %esi
callq 0x6df2
movq -0x40(%rbp), %r13
movq 0x3c0(%r13), %rsi
movq %r14, %rdi
movl $0x2, %edx
movl $0x1, %ecx
callq 0x6c82
movq 0x3c0(%r13), %rdi
callq 0x6a6a
movl %eax, %r12d
leal 0x3(%r12), %edx
movq %r14, %rdi
movq %r15, %rsi
movl $0x1, %ecx
callq 0x6c82
movq %r15, %rdi
callq 0x6a6a
movl %r12d, %ebx
addl %eax, %ebx
leal (%r12,%rax), %edx
addl $0x4, %edx
movq 0x3b8(%r13), %rsi
movq %r14, %rdi
movl $0x1, %ecx
callq 0x6c82
movq 0x3b8(%r13), %rdi
callq 0x6a6a
leal (%rax,%rbx), %r12d
addl $0x5, %r12d
leaq -0x1e0(%rbp), %rbx
movq %rbx, -0x10(%rbx)
leaq 0x3cad(%rip), %rsi      # 0x82de
leaq 0x3cb0(%rip), %rdx      # 0x82e8
leaq -0x1f0(%rbp), %r15
movq %r15, %rdi
callq 0x5c0e
movq %r14, %rdi
movq %r15, %rsi
movq %r12, -0x38(%rbp)
movl %r12d, %edx
movl $0x1, %ecx
callq 0x6b50
movq -0x1f0(%rbp), %rdi
cmpq %rbx, %rdi
je 0x466f
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 0x6c0a
movq %r14, %rdi
movl $0x3, %esi
movl %ebx, %edx
movl $0x1, %ecx
movl $0xa, %r8d
xorl %r9d, %r9d
callq 0x6c0a
leal 0x1(%rbx), %r12d
leaq -0x1c0(%rbp), %rbx
movq %rbx, -0x10(%rbx)
leaq 0x3c23(%rip), %rsi      # 0x82e9
leaq 0x3c22(%rip), %rdx      # 0x82ef
leaq -0x1d0(%rbp), %r15
movq %r15, %rdi
callq 0x5c0e
movq %r14, %rdi
movq %r15, %rsi
movl %r12d, -0x2c(%rbp)
movl %r12d, %edx
movl $0x3, %ecx
callq 0x6b50
movq %r14, -0x48(%rbp)
movq -0x1d0(%rbp), %rdi
cmpq %rbx, %rdi
je 0x4708
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 0x4770
movl $0x4, %r12d
movl $0xd1b71759, %eax       # imm = 0xD1B71759
movl %r13d, %ecx
cmpl $0x63, %ecx
jbe 0x4767
cmpl $0x3e7, %ecx            # imm = 0x3E7
jbe 0x476d
cmpl $0x2710, %ecx           # imm = 0x2710
jb 0x4770
movl %ecx, %edx
imulq %rax, %rdx
shrq $0x2d, %rdx
addl $0x4, %r12d
cmpl $0x1869f, %ecx          # imm = 0x1869F
movl %edx, %ecx
ja 0x4734
addl $-0x3, %r12d
jmp 0x4770
addl $-0x2, %r12d
jmp 0x4770
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 0x5b9c
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 0x6b50
movq -0x1b0(%rbp), %rdi
cmpq %rbx, %rdi
je 0x47da
callq 0x3110
leaq -0x180(%rbp), %rbx
movq %rbx, -0x10(%rbx)
leaq 0x3b04(%rip), %rsi      # 0x82f0
leaq 0x3b03(%rip), %rdx      # 0x82f6
leaq -0x190(%rbp), %r15
movq %r15, %rdi
callq 0x5c0e
movq %r14, %rdi
movq %r15, %rsi
movl -0x2c(%rbp), %edx
movl $0x4, %ecx
callq 0x6b50
movl %r12d, -0x4c(%rbp)
movq -0x190(%rbp), %rdi
cmpq %rbx, %rdi
je 0x482a
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 0x4892
movl $0x4, %r15d
movl $0xd1b71759, %eax       # imm = 0xD1B71759
movl %r12d, %ecx
cmpl $0x63, %ecx
jbe 0x4889
cmpl $0x3e7, %ecx            # imm = 0x3E7
jbe 0x488f
cmpl $0x2710, %ecx           # imm = 0x2710
jb 0x4892
movl %ecx, %edx
imulq %rax, %rdx
shrq $0x2d, %rdx
addl $0x4, %r15d
cmpl $0x1869f, %ecx          # imm = 0x1869F
movl %edx, %ecx
ja 0x4856
addl $-0x3, %r15d
jmp 0x4892
addl $-0x2, %r15d
jmp 0x4892
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 0x5b9c
movq -0x48(%rbp), %r14
movq %r14, %rdi
movq %r13, %rsi
movl -0x4c(%rbp), %edx
movl $0x4, %ecx
callq 0x6b50
movq -0x170(%rbp), %rdi
cmpq %rbx, %rdi
je 0x48f5
callq 0x3110
leaq -0x140(%rbp), %rbx
movq %rbx, -0x10(%rbx)
leaq 0x39f0(%rip), %rsi      # 0x82f7
leaq 0x39f0(%rip), %rdx      # 0x82fe
leaq -0x150(%rbp), %r15
movq %r15, %rdi
callq 0x5c0e
movq %r14, %rdi
movq %r15, %rsi
movl -0x2c(%rbp), %edx
movl $0x6, %ecx
callq 0x6b50
movq -0x150(%rbp), %rdi
cmpq %rbx, %rdi
je 0x4941
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 0x49b4
movl $0x4, %r15d
movl $0xd1b71759, %eax       # imm = 0xD1B71759
movl %r12d, %ecx
cmpl $0x63, %ecx
jbe 0x49ab
cmpl $0x3e7, %ecx            # imm = 0x3E7
jbe 0x49b1
cmpl $0x2710, %ecx           # imm = 0x2710
jb 0x49b4
movl %ecx, %edx
imulq %rax, %rdx
shrq $0x2d, %rdx
addl $0x4, %r15d
cmpl $0x1869f, %ecx          # imm = 0x1869F
movl %edx, %ecx
ja 0x4978
addl $-0x3, %r15d
jmp 0x49b4
addl $-0x2, %r15d
jmp 0x49b4
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 0x5b9c
movq -0x48(%rbp), %r14
movq %r14, %rdi
movq %r13, %rsi
movq -0x38(%rbp), %rdx
movl $0x6, %ecx
callq 0x6b50
movq -0x130(%rbp), %rdi
cmpq %rbx, %rdi
je 0x4a18
callq 0x3110
leaq -0x100(%rbp), %rbx
movq %rbx, -0x10(%rbx)
leaq 0x38d5(%rip), %rsi      # 0x82ff
leaq 0x38d5(%rip), %rdx      # 0x8306
leaq -0x110(%rbp), %r15
movq %r15, %rdi
callq 0x5c0e
movq %r14, %rdi
movq %r15, %rsi
movl -0x2c(%rbp), %edx
movl $0x7, %ecx
callq 0x6b50
movq -0x110(%rbp), %rdi
cmpq %rbx, %rdi
je 0x4a64
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 0x4acc
movl $0x4, %r15d
movl $0xd1b71759, %eax       # imm = 0xD1B71759
movl %r12d, %ecx
cmpl $0x63, %ecx
jbe 0x4ac3
cmpl $0x3e7, %ecx            # imm = 0x3E7
jbe 0x4ac9
cmpl $0x2710, %ecx           # imm = 0x2710
jb 0x4acc
movl %ecx, %edx
imulq %rax, %rdx
shrq $0x2d, %rdx
addl $0x4, %r15d
cmpl $0x1869f, %ecx          # imm = 0x1869F
movl %edx, %ecx
ja 0x4a90
addl $-0x3, %r15d
jmp 0x4acc
addl $-0x2, %r15d
jmp 0x4acc
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 0x5b9c
movq -0x48(%rbp), %r14
movq %r14, %rdi
movq %r13, %rsi
movq -0x38(%rbp), %rdx
movl $0x7, %ecx
callq 0x6b50
movq -0xf0(%rbp), %rdi
cmpq %rbx, %rdi
je 0x4b30
callq 0x3110
leaq -0xc0(%rbp), %rbx
movq %rbx, -0x10(%rbx)
leaq 0x37c5(%rip), %rsi      # 0x8307
leaq 0x37c5(%rip), %rdx      # 0x830e
leaq -0xd0(%rbp), %r15
movq %r15, %rdi
callq 0x5c0e
movq %r14, %rdi
movq %r15, %rsi
movl -0x2c(%rbp), %edx
movl $0x8, %ecx
callq 0x6b50
movq -0xd0(%rbp), %rdi
cmpq %rbx, %rdi
je 0x4b7c
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 0x4be4
movl $0x4, %r15d
movl $0xd1b71759, %eax       # imm = 0xD1B71759
movl %r12d, %ecx
cmpl $0x63, %ecx
jbe 0x4bdb
cmpl $0x3e7, %ecx            # imm = 0x3E7
jbe 0x4be1
cmpl $0x2710, %ecx           # imm = 0x2710
jb 0x4be4
movl %ecx, %edx
imulq %rax, %rdx
shrq $0x2d, %rdx
addl $0x4, %r15d
cmpl $0x1869f, %ecx          # imm = 0x1869F
movl %edx, %ecx
ja 0x4ba8
addl $-0x3, %r15d
jmp 0x4be4
addl $-0x2, %r15d
jmp 0x4be4
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 0x5b9c
movq -0x48(%rbp), %r14
movq %r14, %rdi
movq %r13, %rsi
movq -0x38(%rbp), %rdx
movl $0x8, %ecx
callq 0x6b50
movq -0xb0(%rbp), %rdi
cmpq %rbx, %rdi
je 0x4c48
callq 0x3110
leaq -0x80(%rbp), %rbx
movq %rbx, -0x10(%rbx)
leaq 0x36b8(%rip), %rsi      # 0x830f
leaq 0x36b8(%rip), %rdx      # 0x8316
leaq -0x90(%rbp), %r15
movq %r15, %rdi
callq 0x5c0e
movq %r14, %rdi
movq %r15, %rsi
movl -0x2c(%rbp), %edx
movl $0x9, %ecx
callq 0x6b50
movq -0x90(%rbp), %rdi
cmpq %rbx, %rdi
je 0x4c91
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 0x4cf9
movl $0x4, %r15d
movl $0xd1b71759, %eax       # imm = 0xD1B71759
movl %r14d, %ecx
cmpl $0x63, %ecx
jbe 0x4cf0
cmpl $0x3e7, %ecx            # imm = 0x3E7
jbe 0x4cf6
cmpl $0x2710, %ecx           # imm = 0x2710
jb 0x4cf9
movl %ecx, %edx
imulq %rax, %rdx
shrq $0x2d, %rdx
addl $0x4, %r15d
cmpl $0x1869f, %ecx          # imm = 0x1869F
movl %edx, %ecx
ja 0x4cbd
addl $-0x3, %r15d
jmp 0x4cf9
addl $-0x2, %r15d
jmp 0x4cf9
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 0x5b9c
movq -0x48(%rbp), %rdi
movq %r12, %rsi
movq -0x38(%rbp), %rdx
movl $0x9, %ecx
callq 0x6b50
movq -0x70(%rbp), %rdi
cmpq %rbx, %rdi
je 0x4d51
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 0x4e00
movq %rax, %r14
movq -0x90(%rbp), %rdi
jmp 0x4e00
movq %rax, %r14
movq -0xb0(%rbp), %rdi
jmp 0x4e00
movq %rax, %r14
movq -0xd0(%rbp), %rdi
jmp 0x4e00
movq %rax, %r14
movq -0xf0(%rbp), %rdi
jmp 0x4e00
movq %rax, %r14
movq -0x110(%rbp), %rdi
jmp 0x4e00
movq %rax, %r14
movq -0x130(%rbp), %rdi
jmp 0x4e00
movq %rax, %r14
movq -0x150(%rbp), %rdi
jmp 0x4e00
movq %rax, %r14
movq -0x170(%rbp), %rdi
jmp 0x4e00
movq %rax, %r14
movq -0x190(%rbp), %rdi
jmp 0x4e00
movq %rax, %r14
movq -0x1b0(%rbp), %rdi
jmp 0x4e00
movq %rax, %r14
movq -0x1d0(%rbp), %rdi
jmp 0x4e00
movq %rax, %r14
movq -0x1f0(%rbp), %rdi
cmpq %rbx, %rdi
je 0x4e0a
callq 0x3110
movq %r14, %rdi
callq 0x3220