// File: tbonelaforge[P]gradebook/GradebookPrinter.cpp
// Function: GradebookPrinter::fillStudentRow(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>*, Student*)
void GradebookPrinter::fillStudentRow(string * studentRow, Student * student) {
    int i, j, k;
    string grade;
    setColumn(0, studentRow, " " + to_string(student->getId()) + " ");
    setColumn(1, studentRow, " " + student->getFirstName()  + " " + student->getLastName() + " ");
    for (i = 0; i < student->getNumPrograms(); i++) {
        grade =  " " + to_string(student->getProgramGrade(i)) + " ";
        setColumn(2 + i, studentRow, grade);
    }
    for (j = 0; j < student->getNumTests(); j++) {
        grade = " " + to_string(student->getTestGrade(j)) + " ";
        setColumn(2 + i + j, studentRow, grade);
    }
    for (k = 0; k < student->getNumFinals(); k++) {
        grade = " " + to_string(student->getFinalExamGrade()) + " ";
        setColumn(2 + i + j + k, studentRow, grade);
    }
    grade = " " + to_string(student->getFinalAverage()) + " ";
    setColumn(2 + i + j + k, studentRow, grade);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x450, %rsp            # imm = 0x450
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x390(%rbp)
leaq -0x48(%rbp), %rdi
callq 0x3350
movq -0x10(%rbp), %rax
movq %rax, -0x388(%rbp)
movq -0x18(%rbp), %rdi
callq 0x7540
movl %eax, -0x37c(%rbp)
jmp 0x87c7
movl -0x37c(%rbp), %esi
leaq -0xa8(%rbp), %rdi
callq 0x6f70
jmp 0x87db
leaq 0x1b45(%rip), %rsi      # 0xa327
leaq -0x88(%rbp), %rdi
leaq -0xa8(%rbp), %rdx
callq 0x6f20
jmp 0x87f7
leaq 0x1b29(%rip), %rdx      # 0xa327
leaq -0x68(%rbp), %rdi
leaq -0x88(%rbp), %rsi
callq 0x6ed0
jmp 0x8810
movq -0x388(%rbp), %rdx
movq -0x390(%rbp), %rdi
xorl %esi, %esi
leaq -0x68(%rbp), %rcx
callq 0x91a0
jmp 0x882b
leaq -0x68(%rbp), %rdi
callq 0x3498
leaq -0x88(%rbp), %rdi
callq 0x3498
leaq -0xa8(%rbp), %rdi
callq 0x3498
movq -0x10(%rbp), %rax
movq %rax, -0x398(%rbp)
movq -0x18(%rbp), %rsi
leaq -0x158(%rbp), %rdi
callq 0x7560
jmp 0x8869
leaq 0x1ab7(%rip), %rsi      # 0xa327
leaq -0x138(%rbp), %rdi
leaq -0x158(%rbp), %rdx
callq 0x6f20
jmp 0x8885
leaq 0x1a9b(%rip), %rdx      # 0xa327
leaq -0x118(%rbp), %rdi
leaq -0x138(%rbp), %rsi
callq 0x6ed0
jmp 0x88a1
movq -0x18(%rbp), %rsi
leaq -0x178(%rbp), %rdi
callq 0x7590
jmp 0x88b3
leaq -0xf8(%rbp), %rdi
leaq -0x118(%rbp), %rsi
leaq -0x178(%rbp), %rdx
callq 0x92e0
jmp 0x88cf
leaq 0x1a51(%rip), %rdx      # 0xa327
leaq -0xd8(%rbp), %rdi
leaq -0xf8(%rbp), %rsi
callq 0x6ed0
jmp 0x88eb
movq -0x398(%rbp), %rdx
movq -0x390(%rbp), %rdi
movl $0x1, %esi
leaq -0xd8(%rbp), %rcx
callq 0x91a0
jmp 0x890c
leaq -0xd8(%rbp), %rdi
callq 0x3498
leaq -0xf8(%rbp), %rdi
callq 0x3498
leaq -0x178(%rbp), %rdi
callq 0x3498
leaq -0x118(%rbp), %rdi
callq 0x3498
leaq -0x138(%rbp), %rdi
callq 0x3498
leaq -0x158(%rbp), %rdi
callq 0x3498
movl $0x0, -0x1c(%rbp)
movl -0x1c(%rbp), %eax
movl %eax, -0x3a0(%rbp)
movq -0x18(%rbp), %rdi
callq 0x75c0
movl %eax, -0x39c(%rbp)
jmp 0x8975
movl -0x3a0(%rbp), %eax
movl -0x39c(%rbp), %ecx
cmpl %ecx, %eax
jge 0x8c36
movq -0x18(%rbp), %rdi
movl -0x1c(%rbp), %esi
callq 0x7620
movl %eax, -0x3a4(%rbp)
jmp 0x899d
movl -0x3a4(%rbp), %esi
leaq -0x1d8(%rbp), %rdi
callq 0x6f70
jmp 0x89b1
leaq 0x196f(%rip), %rsi      # 0xa327
leaq -0x1b8(%rbp), %rdi
leaq -0x1d8(%rbp), %rdx
callq 0x6f20
jmp 0x89cd
leaq 0x1953(%rip), %rdx      # 0xa327
leaq -0x198(%rbp), %rdi
leaq -0x1b8(%rbp), %rsi
callq 0x6ed0
jmp 0x89e9
leaq -0x48(%rbp), %rdi
movq %rdi, -0x3c0(%rbp)
leaq -0x198(%rbp), %rsi
movq %rsi, -0x3c8(%rbp)
callq 0x32f0
movq -0x3c8(%rbp), %rdi
callq 0x3498
leaq -0x1b8(%rbp), %rdi
callq 0x3498
leaq -0x1d8(%rbp), %rdi
callq 0x3498
movq -0x3c0(%rbp), %rsi
movl -0x1c(%rbp), %eax
addl $0x2, %eax
movl %eax, -0x3b4(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x3b0(%rbp)
leaq -0x1f8(%rbp), %rdi
callq 0x30f0
jmp 0x8a57
movq -0x3b0(%rbp), %rdx
movl -0x3b4(%rbp), %esi
movq -0x390(%rbp), %rdi
leaq -0x1f8(%rbp), %rcx
callq 0x91a0
jmp 0x8a79
leaq -0x1f8(%rbp), %rdi
callq 0x3498
movl -0x1c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x1c(%rbp)
jmp 0x895b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xb0(%rbp)
movl %eax, -0xb4(%rbp)
jmp 0x910c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xb0(%rbp)
movl %eax, -0xb4(%rbp)
jmp 0x8af9
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xb0(%rbp)
movl %eax, -0xb4(%rbp)
jmp 0x8aed
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xb0(%rbp)
movl %eax, -0xb4(%rbp)
leaq -0x68(%rbp), %rdi
callq 0x3498
leaq -0x88(%rbp), %rdi
callq 0x3498
leaq -0xa8(%rbp), %rdi
callq 0x3498
jmp 0x910c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xb0(%rbp)
movl %eax, -0xb4(%rbp)
jmp 0x8bbf
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xb0(%rbp)
movl %eax, -0xb4(%rbp)
jmp 0x8bb3
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xb0(%rbp)
movl %eax, -0xb4(%rbp)
jmp 0x8ba7
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xb0(%rbp)
movl %eax, -0xb4(%rbp)
jmp 0x8b9b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xb0(%rbp)
movl %eax, -0xb4(%rbp)
jmp 0x8b8f
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xb0(%rbp)
movl %eax, -0xb4(%rbp)
leaq -0xd8(%rbp), %rdi
callq 0x3498
leaq -0xf8(%rbp), %rdi
callq 0x3498
leaq -0x178(%rbp), %rdi
callq 0x3498
leaq -0x118(%rbp), %rdi
callq 0x3498
leaq -0x138(%rbp), %rdi
callq 0x3498
leaq -0x158(%rbp), %rdi
callq 0x3498
jmp 0x910c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xb0(%rbp)
movl %eax, -0xb4(%rbp)
jmp 0x8c02
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xb0(%rbp)
movl %eax, -0xb4(%rbp)
leaq -0x1b8(%rbp), %rdi
callq 0x3498
leaq -0x1d8(%rbp), %rdi
callq 0x3498
jmp 0x910c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xb0(%rbp)
movl %eax, -0xb4(%rbp)
leaq -0x1f8(%rbp), %rdi
callq 0x3498
jmp 0x910c
movl $0x0, -0x20(%rbp)
movl -0x20(%rbp), %eax
movl %eax, -0x3d0(%rbp)
movq -0x18(%rbp), %rdi
callq 0x75e0
movl %eax, -0x3cc(%rbp)
jmp 0x8c57
movl -0x3d0(%rbp), %eax
movl -0x3cc(%rbp), %ecx
cmpl %ecx, %eax
jge 0x8de3
movq -0x18(%rbp), %rdi
movl -0x20(%rbp), %esi
callq 0x7670
movl %eax, -0x3d4(%rbp)
jmp 0x8c7f
movl -0x3d4(%rbp), %esi
leaq -0x258(%rbp), %rdi
callq 0x6f70
jmp 0x8c93
leaq 0x168d(%rip), %rsi      # 0xa327
leaq -0x238(%rbp), %rdi
leaq -0x258(%rbp), %rdx
callq 0x6f20
jmp 0x8caf
leaq 0x1671(%rip), %rdx      # 0xa327
leaq -0x218(%rbp), %rdi
leaq -0x238(%rbp), %rsi
callq 0x6ed0
jmp 0x8ccb
leaq -0x48(%rbp), %rdi
movq %rdi, -0x3f0(%rbp)
leaq -0x218(%rbp), %rsi
movq %rsi, -0x3f8(%rbp)
callq 0x32f0
movq -0x3f8(%rbp), %rdi
callq 0x3498
leaq -0x238(%rbp), %rdi
callq 0x3498
leaq -0x258(%rbp), %rdi
callq 0x3498
movq -0x3f0(%rbp), %rsi
movl -0x1c(%rbp), %edx
movl -0x20(%rbp), %eax
movl %eax, %ecx
movl %edx, %eax
leal 0x2(%rax,%rcx), %eax
movl %eax, -0x3e4(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x3e0(%rbp)
leaq -0x278(%rbp), %rdi
callq 0x30f0
jmp 0x8d41
movq -0x3e0(%rbp), %rdx
movl -0x3e4(%rbp), %esi
movq -0x390(%rbp), %rdi
leaq -0x278(%rbp), %rcx
callq 0x91a0
jmp 0x8d63
leaq -0x278(%rbp), %rdi
callq 0x3498
movl -0x20(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x20(%rbp)
jmp 0x8c3d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xb0(%rbp)
movl %eax, -0xb4(%rbp)
jmp 0x8daf
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xb0(%rbp)
movl %eax, -0xb4(%rbp)
leaq -0x238(%rbp), %rdi
callq 0x3498
leaq -0x258(%rbp), %rdi
callq 0x3498
jmp 0x910c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xb0(%rbp)
movl %eax, -0xb4(%rbp)
leaq -0x278(%rbp), %rdi
callq 0x3498
jmp 0x910c
movl $0x0, -0x24(%rbp)
movl -0x24(%rbp), %eax
movl %eax, -0x400(%rbp)
movq -0x18(%rbp), %rdi
callq 0x7600
movl %eax, -0x3fc(%rbp)
jmp 0x8e04
movl -0x400(%rbp), %eax
movl -0x3fc(%rbp), %ecx
cmpl %ecx, %eax
jge 0x8f92
movq -0x18(%rbp), %rdi
callq 0x76c0
movl %eax, -0x404(%rbp)
jmp 0x8e29
movl -0x404(%rbp), %esi
leaq -0x2d8(%rbp), %rdi
callq 0x6f70
jmp 0x8e3d
leaq 0x14e3(%rip), %rsi      # 0xa327
leaq -0x2b8(%rbp), %rdi
leaq -0x2d8(%rbp), %rdx
callq 0x6f20
jmp 0x8e59
leaq 0x14c7(%rip), %rdx      # 0xa327
leaq -0x298(%rbp), %rdi
leaq -0x2b8(%rbp), %rsi
callq 0x6ed0
jmp 0x8e75
leaq -0x48(%rbp), %rdi
movq %rdi, -0x420(%rbp)
leaq -0x298(%rbp), %rsi
movq %rsi, -0x428(%rbp)
callq 0x32f0
movq -0x428(%rbp), %rdi
callq 0x3498
leaq -0x2b8(%rbp), %rdi
callq 0x3498
leaq -0x2d8(%rbp), %rdi
callq 0x3498
movq -0x420(%rbp), %rsi
movl -0x1c(%rbp), %edx
movl -0x20(%rbp), %eax
addl %eax, %edx
movl -0x24(%rbp), %ecx
movl %ecx, %eax
movl %edx, %ecx
leal 0x2(%rax,%rcx), %eax
movl %eax, -0x414(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x410(%rbp)
leaq -0x2f8(%rbp), %rdi
callq 0x30f0
jmp 0x8ef0
movq -0x410(%rbp), %rdx
movl -0x414(%rbp), %esi
movq -0x390(%rbp), %rdi
leaq -0x2f8(%rbp), %rcx
callq 0x91a0
jmp 0x8f12
leaq -0x2f8(%rbp), %rdi
callq 0x3498
movl -0x24(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x24(%rbp)
jmp 0x8dea
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xb0(%rbp)
movl %eax, -0xb4(%rbp)
jmp 0x8f5e
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xb0(%rbp)
movl %eax, -0xb4(%rbp)
leaq -0x2b8(%rbp), %rdi
callq 0x3498
leaq -0x2d8(%rbp), %rdi
callq 0x3498
jmp 0x910c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xb0(%rbp)
movl %eax, -0xb4(%rbp)
leaq -0x2f8(%rbp), %rdi
callq 0x3498
jmp 0x910c
movq -0x18(%rbp), %rdi
callq 0x7700
movss %xmm0, -0x42c(%rbp)
jmp 0x8fa5
movss -0x42c(%rbp), %xmm0
leaq -0x358(%rbp), %rdi
callq 0x93b0
jmp 0x8fbb
leaq 0x1365(%rip), %rsi      # 0xa327
leaq -0x338(%rbp), %rdi
leaq -0x358(%rbp), %rdx
callq 0x6f20
jmp 0x8fd7
leaq 0x1349(%rip), %rdx      # 0xa327
leaq -0x318(%rbp), %rdi
leaq -0x338(%rbp), %rsi
callq 0x6ed0
jmp 0x8ff3
leaq -0x48(%rbp), %rdi
movq %rdi, -0x448(%rbp)
leaq -0x318(%rbp), %rsi
movq %rsi, -0x450(%rbp)
callq 0x32f0
movq -0x450(%rbp), %rdi
callq 0x3498
leaq -0x338(%rbp), %rdi
callq 0x3498
leaq -0x358(%rbp), %rdi
callq 0x3498
movq -0x448(%rbp), %rsi
movl -0x1c(%rbp), %edx
movl -0x20(%rbp), %eax
addl %eax, %edx
movl -0x24(%rbp), %ecx
movl %ecx, %eax
movl %edx, %ecx
leal 0x2(%rax,%rcx), %eax
movl %eax, -0x43c(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x438(%rbp)
leaq -0x378(%rbp), %rdi
callq 0x30f0
jmp 0x906e
movq -0x438(%rbp), %rdx
movl -0x43c(%rbp), %esi
movq -0x390(%rbp), %rdi
leaq -0x378(%rbp), %rcx
callq 0x91a0
jmp 0x9090
leaq -0x378(%rbp), %rdi
callq 0x3498
leaq -0x48(%rbp), %rdi
callq 0x3498
addq $0x450, %rsp            # imm = 0x450
popq %rbp
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xb0(%rbp)
movl %eax, -0xb4(%rbp)
jmp 0x90e0
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xb0(%rbp)
movl %eax, -0xb4(%rbp)
leaq -0x338(%rbp), %rdi
callq 0x3498
leaq -0x358(%rbp), %rdi
callq 0x3498
jmp 0x910c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0xb0(%rbp)
movl %eax, -0xb4(%rbp)
leaq -0x378(%rbp), %rdi
callq 0x3498
leaq -0x48(%rbp), %rdi
callq 0x3498
movq -0xb0(%rbp), %rdi
callq 0x33f0
nopw %cs:(%rax,%rax)