// File: /workspace/github_cpp_makefile_star2_O3/tbonelaforge[P]gradebook/GradebookPrinter.cpp
// Function: GradebookPrinter::fillHeaders()
void GradebookPrinter::fillHeaders() {
    int i, j, k;
    string * headers = cellContents[0];
    headers[0] = " ID ";
    columnWidths[0] = headers[0].length();
    headers[1] = " Name ";
    columnWidths[1] = headers[1].length();
    for (i = 0; i < gradebook.getNumPrograms(); i++) {
        fillHeader(2 + i, " Program " + to_string(i + 1) + " ");
    }
    for (j = 0; j < gradebook.getNumTests(); j++) {
        fillHeader(2 + i + j, " Test " + to_string(j + 1) + " ");
    }
    for (k = 0; k < gradebook.getNumFinals(); k++) {
        fillHeader(2 + i + j + k, " Final Exam ");
    }
    fillHeader(2 + i + j + k, " Final Grade ");
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xd8, %rsp
movq %rdi, %r15
movq 0x10(%rdi), %rax
movq (%rax), %r14
movq 0x8(%r14), %rdx
leaq 0x323e(%rip), %rcx      # 0x9b69
xorl %ebx, %ebx
movl $0x4, %r8d
movq %r14, %rdi
xorl %esi, %esi
callq 0x22a0
movl 0x8(%r14), %eax
movq 0x18(%r15), %rcx
movl %eax, (%rcx)
leaq 0x20(%r14), %rdi
movq 0x28(%r14), %rdx
leaq 0x3218(%rip), %rcx      # 0x9b6e
movl $0x6, %r8d
xorl %esi, %esi
callq 0x22a0
movl 0x28(%r14), %eax
movq 0x18(%r15), %rcx
movl %eax, 0x4(%rcx)
movq (%r15), %rdi
callq 0x5314
testl %eax, %eax
jle 0x6b59
xorl %r12d, %r12d
leaq 0x1(%r12), %r14
movl $0x1, %r13d
cmpq $0x9, %r12
jb 0x69d9
movl $0x4, %r13d
movl %r14d, %eax
movl $0xd1b71759, %edx       # imm = 0xD1B71759
cmpl $0x63, %eax
jbe 0x69d0
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x69d6
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x69d9
movl %eax, %ecx
imulq %rdx, %rcx
shrq $0x2d, %rcx
addl $0x4, %r13d
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x69a0
addl $-0x3, %r13d
jmp 0x69d9
addl $-0x2, %r13d
jmp 0x69d9
decl %r13d
movl %r13d, %esi
leaq -0x68(%rbp), %rax
movq %rax, -0x78(%rbp)
leaq -0x78(%rbp), %rbx
movq %rbx, %rdi
movl $0x2d, %edx
callq 0x2220
movq -0x78(%rbp), %rdi
movl %r13d, %esi
movl %r14d, %edx
callq 0x60f2
movl $0x9, %r8d
movq %rbx, %rdi
xorl %esi, %esi
xorl %edx, %edx
leaq 0x315d(%rip), %rcx      # 0x9b75
callq 0x21f0
leaq -0x48(%rbp), %r13
movq %r13, -0x58(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x6a41
movq %rdx, -0x58(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x48(%rbp)
jmp 0x6a49
movups (%rcx), %xmm0
movups %xmm0, (%r13)
xorl %ebx, %ebx
movq 0x8(%rax), %rdx
movq %rdx, -0x50(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq -0x58(%rbp), %rdi
leaq 0x28ba(%rip), %rsi      # 0x9327
callq 0x2340
leaq -0x90(%rbp), %rsi
movq %rsi, -0xa0(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x6aa2
movq %rdx, -0xa0(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x90(%rbp)
jmp 0x6aa8
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
leaq 0x2(%r12), %rdi
movq 0x8(%rax), %rdx
movq %rdx, -0x98(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x10(%r15), %rax
shlq $0x5, %rdi
addq (%rax), %rdi
leaq -0xa0(%rbp), %rsi
callq 0x20f0
movl -0x98(%rbp), %eax
movq 0x18(%r15), %rcx
movl %eax, 0x8(%rcx,%r12,4)
movq -0xa0(%rbp), %rdi
leaq -0x90(%rbp), %rax
cmpq %rax, %rdi
je 0x6b0f
movq -0x90(%rbp), %rsi
incq %rsi
callq 0x21d0
movq -0x58(%rbp), %rdi
cmpq %r13, %rdi
je 0x6b24
movq -0x48(%rbp), %rsi
incq %rsi
callq 0x21d0
movq -0x78(%rbp), %rdi
leaq -0x68(%rbp), %rax
cmpq %rax, %rdi
je 0x6b3d
movq -0x68(%rbp), %rsi
incq %rsi
callq 0x21d0
movq (%r15), %rdi
callq 0x5314
cltq
movq %r14, %r12
cmpq %rax, %r14
jl 0x6981
leal 0x2(%r14), %eax
jmp 0x6b5e
movl $0x2, %eax
movq %rax, -0x30(%rbp)
movq (%r15), %rdi
callq 0x531c
testl %eax, %eax
movq %r15, -0x38(%rbp)
jle 0x6d5a
movl -0x30(%rbp), %eax
movq %rax, -0x80(%rbp)
xorl %r14d, %r14d
leaq 0x1(%r14), %rbx
movl $0x1, %r12d
cmpq $0x9, %r14
jb 0x6bd6
movl $0x4, %r12d
movl %ebx, %eax
movl $0xd1b71759, %edx       # imm = 0xD1B71759
cmpl $0x63, %eax
jbe 0x6bcd
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x6bd3
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x6bd6
movl %eax, %ecx
imulq %rdx, %rcx
shrq $0x2d, %rcx
addl $0x4, %r12d
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x6b9d
addl $-0x3, %r12d
jmp 0x6bd6
addl $-0x2, %r12d
jmp 0x6bd6
decl %r12d
movl %r12d, %esi
leaq -0x68(%rbp), %rax
movq %rax, -0x78(%rbp)
leaq -0x78(%rbp), %r15
movq %r15, %rdi
movl $0x2d, %edx
callq 0x2220
movq -0x78(%rbp), %rdi
movl %r12d, %esi
movq %rbx, %r13
movl %ebx, %edx
callq 0x60f2
movl $0x6, %r8d
movq %r15, %rdi
xorl %esi, %esi
xorl %edx, %edx
leaq 0x2763(%rip), %rcx      # 0x937a
callq 0x21f0
leaq -0x48(%rbp), %rsi
movq %rsi, -0x58(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
leaq -0xb0(%rbp), %r15
je 0x6c47
movq %rdx, -0x58(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x48(%rbp)
jmp 0x6c4d
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq %r13, %rbx
movq 0x8(%rax), %rdx
movq %rdx, -0x50(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq -0x58(%rbp), %rdi
leaq 0x26b5(%rip), %rsi      # 0x9327
callq 0x2340
movq %r15, -0xc0(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x6ca0
movq %rdx, -0xc0(%rbp)
movq (%rcx), %rdx
movq %rdx, -0xb0(%rbp)
jmp 0x6ca7
movups (%rcx), %xmm0
movups %xmm0, (%r15)
addq -0x80(%rbp), %r14
movq 0x8(%rax), %rdx
movq %rdx, -0xb8(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq -0x38(%rbp), %r12
movq 0x10(%r12), %rax
movq %r14, %rdi
shlq $0x5, %rdi
addq (%rax), %rdi
leaq -0xc0(%rbp), %rsi
callq 0x20f0
movl -0xb8(%rbp), %eax
movq 0x18(%r12), %rcx
movl %eax, (%rcx,%r14,4)
movq -0xc0(%rbp), %rdi
cmpq %r15, %rdi
je 0x6d0e
movq -0xb0(%rbp), %rsi
incq %rsi
callq 0x21d0
movq -0x58(%rbp), %rdi
leaq -0x48(%rbp), %rax
cmpq %rax, %rdi
je 0x6d27
movq -0x48(%rbp), %rsi
incq %rsi
callq 0x21d0
movq -0x78(%rbp), %rdi
leaq -0x68(%rbp), %rax
cmpq %rax, %rdi
movq -0x38(%rbp), %r15
je 0x6d44
movq -0x68(%rbp), %rsi
incq %rsi
callq 0x21d0
movq (%r15), %rdi
callq 0x531c
cltq
movq %rbx, %r14
cmpq %rax, %rbx
jl 0x6b80
movq (%r15), %rdi
callq 0x5326
testl %eax, %eax
jle 0x6e21
leaq -0xd0(%rbp), %r15
movq -0x30(%rbp), %r13
addl %ebx, %r13d
leaq (,%r13,4), %rax
movq %rax, -0x80(%rbp)
movq %r13, -0x30(%rbp)
shlq $0x5, %r13
xorl %r14d, %r14d
movq -0x38(%rbp), %rbx
movq %r15, -0xe0(%rbp)
leaq -0xe0(%rbp), %rdi
leaq 0x2dd7(%rip), %rsi      # 0x9b7f
leaq 0x2ddc(%rip), %rdx      # 0x9b8b
callq 0x841a
movq 0x10(%rbx), %rax
movq (%rax), %rdi
addq %r13, %rdi
leaq -0xe0(%rbp), %rsi
callq 0x20f0
movl -0xd8(%rbp), %eax
movq 0x18(%rbx), %rcx
addq -0x80(%rbp), %rcx
movl %eax, (%rcx,%r14,4)
movq -0xe0(%rbp), %rdi
movq %r15, %r12
cmpq %r15, %rdi
je 0x6dfa
movq -0xd0(%rbp), %rsi
incq %rsi
callq 0x21d0
incq %r14
movq -0x38(%rbp), %rbx
movq (%rbx), %rdi
callq 0x5326
cltq
addq $0x20, %r13
cmpq %rax, %r14
movq %r12, %r15
jl 0x6d93
movq -0x30(%rbp), %r12
jmp 0x6e2b
movq -0x30(%rbp), %r12
addl %ebx, %r12d
xorl %r14d, %r14d
addl %r14d, %r12d
leaq -0xf0(%rbp), %r15
movq %r15, -0x10(%r15)
leaq 0x2d4c(%rip), %rsi      # 0x9b8c
leaq 0x2d52(%rip), %rdx      # 0x9b99
leaq -0x100(%rbp), %r14
movq %r14, %rdi
callq 0x841a
movq -0x38(%rbp), %rbx
movq 0x10(%rbx), %rax
movq %r12, %rdi
shlq $0x5, %rdi
addq (%rax), %rdi
movq %r14, %rsi
callq 0x20f0
movl -0xf8(%rbp), %eax
movq 0x18(%rbx), %rcx
movl %eax, (%rcx,%r12,4)
movq -0x100(%rbp), %rdi
cmpq %r15, %rdi
je 0x6e99
movq -0xf0(%rbp), %rsi
incq %rsi
callq 0x21d0
addq $0xd8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq -0x100(%rbp), %rdi
cmpq %r15, %rdi
je 0x6f5f
movq -0xf0(%rbp), %rsi
jmp 0x6f57
jmp 0x6efe
jmp 0x6f03
movq %rax, %rbx
movq -0xc0(%rbp), %rdi
cmpq %r15, %rdi
je 0x6f2d
movq -0xb0(%rbp), %rsi
jmp 0x6f25
movq %rax, %rbx
movq -0xe0(%rbp), %rdi
cmpq %r15, %rdi
je 0x6f5f
movq -0xd0(%rbp), %rsi
jmp 0x6f57
movq %rax, %rbx
jmp 0x6f46
movq %rax, %rbx
jmp 0x6f2d
movq %rax, %rbx
movq -0xa0(%rbp), %rdi
leaq -0x90(%rbp), %rax
cmpq %rax, %rdi
je 0x6f2d
movq -0x90(%rbp), %rsi
incq %rsi
callq 0x21d0
movq -0x58(%rbp), %rdi
leaq -0x48(%rbp), %rax
cmpq %rax, %rdi
je 0x6f46
movq -0x48(%rbp), %rsi
incq %rsi
callq 0x21d0
movq -0x78(%rbp), %rdi
leaq -0x68(%rbp), %rax
cmpq %rax, %rdi
je 0x6f5f
movq -0x68(%rbp), %rsi
incq %rsi
callq 0x21d0
movq %rbx, %rdi
callq 0x2310
nop