// File: /workspace/github_cpp_makefile_star2_O1/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 $0xe8, %rsp
movq %rdi, %rbx
movq 0x10(%rdi), %rax
movq (%rax), %r15
movq 0x8(%r15), %rdx
leaq 0x3274(%rip), %rcx      # 0x9b69
movl $0x4, %r8d
movq %r15, %rdi
xorl %esi, %esi
callq 0x22a0
movl 0x8(%r15), %eax
movq 0x18(%rbx), %rcx
movl %eax, (%rcx)
leaq 0x20(%r15), %rdi
movq 0x28(%r15), %rdx
leaq 0x3250(%rip), %rcx      # 0x9b6e
movl $0x6, %r8d
xorl %esi, %esi
callq 0x22a0
movl 0x28(%r15), %eax
movq 0x18(%rbx), %rcx
movl %eax, 0x4(%rcx)
movq %rbx, -0x30(%rbp)
movq (%rbx), %rdi
callq 0x52f8
testl %eax, %eax
jle 0x6b39
xorl %r15d, %r15d
movl $0xd1b71759, %edx       # imm = 0xD1B71759
leaq 0x1(%r15), %r12
movl $0x1, %r13d
cmpq $0x9, %r15
jb 0x69a4
movl $0x4, %r13d
movl %r12d, %eax
cmpl $0x63, %eax
jbe 0x699b
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x69a1
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x69a4
movl %eax, %ecx
imulq %rdx, %rcx
shrq $0x2d, %rcx
addl $0x4, %r13d
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x696b
addl $-0x3, %r13d
jmp 0x69a4
addl $-0x2, %r13d
jmp 0x69a4
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
movq %r12, %r13
movl %r12d, %edx
callq 0x60b4
movl $0x9, %r8d
movq %rbx, %rdi
xorl %esi, %esi
xorl %edx, %edx
leaq 0x318f(%rip), %rcx      # 0x9b75
callq 0x21f0
leaq -0x40(%rbp), %r12
movq %r12, -0x50(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x6a0f
movq %rdx, -0x50(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x40(%rbp)
jmp 0x6a17
movups (%rcx), %xmm0
movups %xmm0, (%r12)
movq 0x8(%rax), %rdx
movq %rdx, -0x48(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq -0x50(%rbp), %rdi
leaq 0x28ee(%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 0x6a6e
movq %rdx, -0xa0(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x90(%rbp)
jmp 0x6a74
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
leaq 0x2(%r15), %rdi
movq 0x8(%rax), %rdx
movq %rdx, -0x98(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq -0x30(%rbp), %rax
movq 0x10(%rax), %rax
shlq $0x5, %rdi
addq (%rax), %rdi
leaq -0xa0(%rbp), %rsi
callq 0x20f0
movl -0x98(%rbp), %eax
movq -0x30(%rbp), %rcx
movq 0x18(%rcx), %rcx
movl %eax, 0x8(%rcx,%r15,4)
movq -0xa0(%rbp), %rdi
leaq -0x90(%rbp), %rax
cmpq %rax, %rdi
je 0x6ae2
movq -0x90(%rbp), %rsi
incq %rsi
callq 0x21d0
movq -0x50(%rbp), %rdi
cmpq %r12, %rdi
je 0x6af7
movq -0x40(%rbp), %rsi
incq %rsi
callq 0x21d0
movq -0x78(%rbp), %rdi
leaq -0x68(%rbp), %rax
cmpq %rax, %rdi
je 0x6b10
movq -0x68(%rbp), %rsi
incq %rsi
callq 0x21d0
movq -0x30(%rbp), %rax
movq (%rax), %rdi
callq 0x52f8
cltq
movq %r13, %r15
cmpq %rax, %r13
movl $0xd1b71759, %edx       # imm = 0xD1B71759
jl 0x6952
addl $0x2, %r13d
movq %r13, -0x58(%rbp)
jmp 0x6b42
movl $0x2, %eax
movq %rax, -0x58(%rbp)
xorl %r15d, %r15d
movq -0x30(%rbp), %rax
movq (%rax), %rdi
callq 0x5300
testl %eax, %eax
jle 0x6d3d
movl -0x58(%rbp), %eax
movq %rax, -0x80(%rbp)
xorl %r14d, %r14d
leaq 0x1(%r14), %rbx
movl $0x1, %r13d
cmpq $0x9, %r14
jb 0x6bb9
movl $0x4, %r13d
movl %ebx, %eax
movl $0xd1b71759, %edx       # imm = 0xD1B71759
cmpl $0x63, %eax
jbe 0x6bb0
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x6bb6
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x6bb9
movl %eax, %ecx
imulq %rdx, %rcx
shrq $0x2d, %rcx
addl $0x4, %r13d
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x6b80
addl $-0x3, %r13d
jmp 0x6bb9
addl $-0x2, %r13d
jmp 0x6bb9
decl %r13d
movl %r13d, %esi
leaq -0x68(%rbp), %rax
movq %rax, -0x78(%rbp)
leaq -0x78(%rbp), %r12
movq %r12, %rdi
movl $0x2d, %edx
callq 0x2220
movq -0x78(%rbp), %rdi
movl %r13d, %esi
movq %rbx, %r15
movl %ebx, %edx
callq 0x60b4
movl $0x6, %r8d
movq %r12, %rdi
xorl %esi, %esi
xorl %edx, %edx
leaq 0x2780(%rip), %rcx      # 0x937a
callq 0x21f0
leaq -0x40(%rbp), %rsi
movq %rsi, -0x50(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
leaq -0xb0(%rbp), %r12
je 0x6c2a
movq %rdx, -0x50(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x40(%rbp)
jmp 0x6c30
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, -0x48(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq -0x50(%rbp), %rdi
leaq 0x26d5(%rip), %rsi      # 0x9327
callq 0x2340
movq %r12, -0xc0(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x6c80
movq %rdx, -0xc0(%rbp)
movq (%rcx), %rdx
movq %rdx, -0xb0(%rbp)
jmp 0x6c88
movups (%rcx), %xmm0
movups %xmm0, (%r12)
addq -0x80(%rbp), %r14
movq 0x8(%rax), %rdx
movq %rdx, -0xb8(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq -0x30(%rbp), %rax
movq 0x10(%rax), %rax
movq %r14, %rdi
shlq $0x5, %rdi
addq (%rax), %rdi
leaq -0xc0(%rbp), %rsi
callq 0x20f0
movl -0xb8(%rbp), %eax
movq -0x30(%rbp), %rcx
movq 0x18(%rcx), %rcx
movl %eax, (%rcx,%r14,4)
movq -0xc0(%rbp), %rdi
cmpq %r12, %rdi
je 0x6cf1
movq -0xb0(%rbp), %rsi
incq %rsi
callq 0x21d0
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x6d0a
movq -0x40(%rbp), %rsi
incq %rsi
callq 0x21d0
movq -0x78(%rbp), %rdi
leaq -0x68(%rbp), %rax
cmpq %rax, %rdi
je 0x6d23
movq -0x68(%rbp), %rsi
incq %rsi
callq 0x21d0
movq -0x30(%rbp), %rax
movq (%rax), %rdi
callq 0x5300
cltq
movq %r15, %r14
cmpq %rax, %r15
jl 0x6b63
movq -0x30(%rbp), %rax
movq (%rax), %rdi
callq 0x530a
testl %eax, %eax
movq %r15, -0xc8(%rbp)
jle 0x6e1b
leaq -0xe0(%rbp), %r12
movq -0x58(%rbp), %rax
leal (%rax,%r15), %ebx
leaq (,%rbx,4), %rax
movq %rax, -0xd0(%rbp)
shlq $0x5, %rbx
xorl %r14d, %r14d
movq %r14, %r15
movq %r12, -0xf0(%rbp)
movq -0x30(%rbp), %r13
leaq -0xf0(%rbp), %r14
movq %r14, %rdi
leaq 0x2de3(%rip), %rsi      # 0x9b7f
leaq 0x2de8(%rip), %rdx      # 0x9b8b
callq 0x844a
movq 0x10(%r13), %rax
movq (%rax), %rdi
movq %rbx, -0x80(%rbp)
addq %rbx, %rdi
movq %r14, %rsi
callq 0x20f0
movl -0xe8(%rbp), %eax
movq 0x18(%r13), %rcx
addq -0xd0(%rbp), %rcx
movl %eax, (%rcx,%r15,4)
movq -0xf0(%rbp), %rdi
movq %r12, %r13
cmpq %r12, %rdi
je 0x6df1
movq -0xe0(%rbp), %rsi
incq %rsi
callq 0x21d0
movq %r15, %r14
incq %r14
movq -0x30(%rbp), %rax
movq (%rax), %rdi
callq 0x530a
cltq
movq -0x80(%rbp), %rbx
addq $0x20, %rbx
cmpq %rax, %r14
movq %r13, %r12
jl 0x6d7d
jmp 0x6e1e
xorl %r14d, %r14d
leaq -0x100(%rbp), %r15
movq %r15, -0x10(%r15)
leaq 0x2d5c(%rip), %rsi      # 0x9b8c
leaq 0x2d62(%rip), %rdx      # 0x9b99
leaq -0x110(%rbp), %r12
movq %r12, %rdi
callq 0x844a
movq -0x58(%rbp), %r13
addl -0xc8(%rbp), %r13d
addl %r14d, %r13d
movq -0x30(%rbp), %rax
movq 0x10(%rax), %rax
movq %r13, %rdi
shlq $0x5, %rdi
addq (%rax), %rdi
movq %r12, %rsi
callq 0x20f0
movl -0x108(%rbp), %eax
movq -0x30(%rbp), %rcx
movq 0x18(%rcx), %rcx
movl %eax, (%rcx,%r13,4)
movq -0x110(%rbp), %rdi
cmpq %r15, %rdi
je 0x6e9b
movq -0x100(%rbp), %rsi
incq %rsi
callq 0x21d0
addq $0xe8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq -0x110(%rbp), %rdi
cmpq %r15, %rdi
je 0x6f61
movq -0x100(%rbp), %rsi
jmp 0x6f59
jmp 0x6f00
jmp 0x6f05
movq %rax, %rbx
movq -0xc0(%rbp), %rdi
cmpq %r12, %rdi
je 0x6f2f
movq -0xb0(%rbp), %rsi
jmp 0x6f27
movq %rax, %rbx
movq -0xf0(%rbp), %rdi
cmpq %r12, %rdi
je 0x6f61
movq -0xe0(%rbp), %rsi
jmp 0x6f59
movq %rax, %rbx
jmp 0x6f48
movq %rax, %rbx
jmp 0x6f2f
movq %rax, %rbx
movq -0xa0(%rbp), %rdi
leaq -0x90(%rbp), %rax
cmpq %rax, %rdi
je 0x6f2f
movq -0x90(%rbp), %rsi
incq %rsi
callq 0x21d0
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x6f48
movq -0x40(%rbp), %rsi
incq %rsi
callq 0x21d0
movq -0x78(%rbp), %rdi
leaq -0x68(%rbp), %rax
cmpq %rax, %rdi
je 0x6f61
movq -0x68(%rbp), %rsi
incq %rsi
callq 0x21d0
movq %rbx, %rdi
callq 0x2310
nop