// File: /workspace/github_cpp_makefile_star2_O3/MechaDragonX[P]CPPCollections/main.cpp
// Function: doubleLinkedListStuff(Student, Student, Student, Student, Student)
DoubleLinkedList<Student> doubleLinkedListStuff(Student rags, Student syke1, Student syke2, Student surnameLacking, Student knob) {
    DoubleLinkedList<Student> list = DoubleLinkedList<Student>(rags);
    list.add(syke1);
    list.add(syke2);
    list.add(surnameLacking);
    list.add(knob);
    std::cout << list.toString() << std::endl;
    list.remove();
    std::cout << list.toString() << std::endl;
    list.remove(syke2);
    std::cout << list.toString() << std::endl;
    list.remove(rags);
    std::cout << list.toString() << std::endl;
    return list;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x2b8, %rsp            # imm = 0x2B8
movq %r9, -0x78(%rbp)
movq %r8, %r13
movq %rcx, -0x58(%rbp)
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, -0x50(%rbp)
leaq -0xc0(%rbp), %rax
movq %rax, -0x10(%rax)
movq (%rsi), %rsi
movq 0x8(%r15), %rdx
addq %rsi, %rdx
leaq -0xd0(%rbp), %rdi
callq 0x594c
leaq -0xb0(%rbp), %rdi
leaq -0xa0(%rbp), %r12
movq %r12, -0x10(%r12)
movq 0x20(%r15), %rsi
movq 0x28(%r15), %rdx
addq %rsi, %rdx
callq 0x594c
leaq -0x90(%rbp), %rbx
movq %r15, -0x68(%rbp)
leaq 0x40(%r15), %rsi
movq %rbx, %rdi
movq %rsi, -0x70(%rbp)
callq 0x59f8
leaq -0xd0(%rbp), %rsi
movq -0x50(%rbp), %rdi
callq 0x5204
movq %rbx, %rdi
callq 0x5b6e
movq -0xb0(%rbp), %rdi
cmpq %r12, %rdi
je 0xc973
movq -0xa0(%rbp), %rsi
incq %rsi
callq 0x3140
movq -0xd0(%rbp), %rdi
leaq -0xc0(%rbp), %rax
cmpq %rax, %rdi
je 0xc995
movq -0xc0(%rbp), %rsi
incq %rsi
callq 0x3140
leaq -0x2d0(%rbp), %r15
movq %r15, -0x10(%r15)
movq (%r14), %rsi
movq 0x8(%r14), %rdx
addq %rsi, %rdx
leaq -0x2e0(%rbp), %rdi
callq 0x594c
leaq -0x2c0(%rbp), %rdi
leaq -0x2b0(%rbp), %r12
movq %r12, -0x10(%r12)
movq 0x20(%r14), %rsi
movq 0x28(%r14), %rdx
addq %rsi, %rdx
callq 0x594c
leaq -0x2a0(%rbp), %rbx
addq $0x40, %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x59f8
leaq -0x2e0(%rbp), %rsi
movq -0x50(%rbp), %rdi
callq 0x5352
movq %rbx, %rdi
callq 0x5b6e
movq -0x2c0(%rbp), %rdi
cmpq %r12, %rdi
je 0xca22
movq -0x2b0(%rbp), %rsi
incq %rsi
callq 0x3140
movq -0x2e0(%rbp), %rdi
cmpq %r15, %rdi
movq -0x58(%rbp), %rbx
je 0xca41
movq -0x2d0(%rbp), %rsi
incq %rsi
callq 0x3140
leaq -0x278(%rbp), %r14
movq %r14, -0x10(%r14)
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
addq %rsi, %rdx
leaq -0x288(%rbp), %rdi
callq 0x594c
leaq -0x268(%rbp), %rdi
leaq -0x258(%rbp), %r12
movq %r12, -0x10(%r12)
movq 0x20(%rbx), %rsi
movq 0x28(%rbx), %rdx
addq %rsi, %rdx
callq 0x594c
leaq -0x248(%rbp), %r15
addq $0x40, %rbx
movq %r15, %rdi
movq %rbx, %rsi
callq 0x59f8
leaq -0x288(%rbp), %rsi
movq -0x50(%rbp), %rdi
callq 0x5352
movq %r15, %rdi
callq 0x5b6e
movq -0x268(%rbp), %rdi
cmpq %r12, %rdi
je 0xcace
movq -0x258(%rbp), %rsi
incq %rsi
callq 0x3140
movq -0x288(%rbp), %rdi
cmpq %r14, %rdi
movq -0x78(%rbp), %r15
je 0xcaed
movq -0x278(%rbp), %rsi
incq %rsi
callq 0x3140
movq %rbx, -0x60(%rbp)
leaq -0x220(%rbp), %r14
movq %r14, -0x10(%r14)
movq (%r13), %rsi
movq 0x8(%r13), %rdx
addq %rsi, %rdx
leaq -0x230(%rbp), %rdi
callq 0x594c
leaq -0x210(%rbp), %rdi
leaq -0x200(%rbp), %r12
movq %r12, -0x10(%r12)
movq 0x20(%r13), %rsi
movq 0x28(%r13), %rdx
addq %rsi, %rdx
callq 0x594c
leaq -0x1f0(%rbp), %rbx
addq $0x40, %r13
movq %rbx, %rdi
movq %r13, %rsi
callq 0x59f8
leaq -0x230(%rbp), %rsi
movq -0x50(%rbp), %r13
movq %r13, %rdi
callq 0x5352
movq %rbx, %rdi
callq 0x5b6e
movq -0x210(%rbp), %rdi
cmpq %r12, %rdi
je 0xcb82
movq -0x200(%rbp), %rsi
incq %rsi
callq 0x3140
movq -0x230(%rbp), %rdi
cmpq %r14, %rdi
je 0xcb9d
movq -0x220(%rbp), %rsi
incq %rsi
callq 0x3140
leaq -0x1c8(%rbp), %r14
movq %r14, -0x10(%r14)
movq (%r15), %rsi
movq 0x8(%r15), %rdx
addq %rsi, %rdx
leaq -0x1d8(%rbp), %rdi
callq 0x594c
leaq -0x1b8(%rbp), %rdi
leaq -0x1a8(%rbp), %r12
movq %r12, -0x10(%r12)
movq 0x20(%r15), %rsi
movq 0x28(%r15), %rdx
addq %rsi, %rdx
callq 0x594c
leaq -0x198(%rbp), %rbx
addq $0x40, %r15
movq %rbx, %rdi
movq %r15, %rsi
callq 0x59f8
leaq -0x1d8(%rbp), %rsi
movq %r13, %rdi
callq 0x5352
movq %rbx, %rdi
callq 0x5b6e
movq -0x1b8(%rbp), %rdi
cmpq %r12, %rdi
je 0xcc29
movq -0x1a8(%rbp), %rsi
incq %rsi
callq 0x3140
movq -0x1d8(%rbp), %rdi
cmpq %r14, %rdi
movq -0x58(%rbp), %r12
je 0xcc48
movq -0x1c8(%rbp), %rsi
incq %rsi
callq 0x3140
leaq -0x48(%rbp), %rbx
movq %rbx, %rdi
movq %r13, %rsi
callq 0x5688
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
movq 0xa373(%rip), %rdi      # 0x16fd8
callq 0x3160
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x3120
movsbl %al, %esi
movq %rbx, %rdi
callq 0x3030
movq %rax, %rdi
callq 0x30d0
leaq -0x38(%rbp), %r15
movq -0x10(%r15), %rdi
cmpq %r15, %rdi
je 0xccad
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3140
movq %r13, %rdi
callq 0x552a
leaq -0x48(%rbp), %rbx
movq %rbx, %rdi
movq %r13, %rsi
callq 0x5688
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
movq 0xa306(%rip), %rdi      # 0x16fd8
callq 0x3160
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x3120
movsbl %al, %esi
movq %rbx, %rdi
callq 0x3030
movq %rax, %rdi
callq 0x30d0
movq -0x70(%rbp), %r14
movq -0x48(%rbp), %rdi
cmpq %r15, %rdi
je 0xcd1a
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3140
leaq -0x170(%rbp), %r15
movq %r15, -0x10(%r15)
movq (%r12), %rsi
movq 0x8(%r12), %rdx
addq %rsi, %rdx
leaq -0x180(%rbp), %rdi
callq 0x594c
leaq -0x160(%rbp), %rdi
movq %r12, %rax
leaq -0x150(%rbp), %r12
movq %r12, -0x10(%r12)
movq 0x20(%rax), %rsi
movq 0x28(%rax), %rdx
addq %rsi, %rdx
callq 0x594c
leaq -0x140(%rbp), %rbx
movq %rbx, %rdi
movq -0x60(%rbp), %rsi
callq 0x59f8
leaq -0x180(%rbp), %rsi
movq %r13, %rdi
callq 0x5592
movq %rbx, %rdi
callq 0x5b6e
movq -0x160(%rbp), %rdi
cmpq %r12, %rdi
je 0xcda8
movq -0x150(%rbp), %rsi
incq %rsi
callq 0x3140
movq -0x180(%rbp), %rdi
cmpq %r15, %rdi
movq -0x68(%rbp), %r12
je 0xcdc7
movq -0x170(%rbp), %rsi
incq %rsi
callq 0x3140
leaq -0x48(%rbp), %rbx
movq %rbx, %rdi
movq %r13, %rsi
callq 0x5688
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
movq 0xa1f4(%rip), %rdi      # 0x16fd8
leaq -0x38(%rbp), %r15
callq 0x3160
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x3120
movsbl %al, %esi
movq %rbx, %rdi
callq 0x3030
movq %rax, %rdi
callq 0x30d0
movq -0x48(%rbp), %rdi
cmpq %r15, %rdi
je 0xce2c
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3140
leaq -0x118(%rbp), %r15
movq %r15, -0x10(%r15)
movq (%r12), %rsi
movq 0x8(%r12), %rdx
addq %rsi, %rdx
leaq -0x128(%rbp), %rdi
callq 0x594c
leaq -0x108(%rbp), %rdi
movq %r12, %rax
leaq -0xf8(%rbp), %r12
movq %r12, -0x10(%r12)
movq 0x20(%rax), %rsi
movq 0x28(%rax), %rdx
addq %rsi, %rdx
callq 0x594c
leaq -0xe8(%rbp), %rbx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x59f8
leaq -0x128(%rbp), %rsi
movq %r13, %rdi
callq 0x5592
movq %rbx, %rdi
callq 0x5b6e
movq -0x108(%rbp), %rdi
cmpq %r12, %rdi
je 0xceb9
movq -0xf8(%rbp), %rsi
incq %rsi
callq 0x3140
movq -0x128(%rbp), %rdi
cmpq %r15, %rdi
je 0xced4
movq -0x118(%rbp), %rsi
incq %rsi
callq 0x3140
leaq -0x48(%rbp), %rbx
movq %rbx, %rdi
movq %r13, %rsi
callq 0x5688
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
movq 0xa0e7(%rip), %rdi      # 0x16fd8
leaq -0x38(%rbp), %r14
callq 0x3160
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x3120
movsbl %al, %esi
movq %rbx, %rdi
callq 0x3030
movq %rax, %rdi
callq 0x30d0
movq -0x48(%rbp), %rdi
cmpq %r14, %rdi
je 0xcf39
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3140
movq %r13, %rax
addq $0x2b8, %rsp            # imm = 0x2B8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq -0x128(%rbp), %rdi
jmp 0xd129
movq %rax, %rbx
movq -0x108(%rbp), %rdi
cmpq %r12, %rdi
je 0xcf80
movq -0xf8(%rbp), %rsi
incq %rsi
callq 0x3140
jmp 0xcf80
movq %rax, %rbx
movq -0x128(%rbp), %rdi
cmpq %r15, %rdi
je 0xd1a9
movq -0x118(%rbp), %rsi
jmp 0xd1a1
movq %rax, %rbx
leaq -0x180(%rbp), %rdi
jmp 0xd129
movq %rax, %rbx
movq -0x160(%rbp), %rdi
cmpq %r12, %rdi
je 0xcfce
movq -0x150(%rbp), %rsi
incq %rsi
callq 0x3140
jmp 0xcfce
movq %rax, %rbx
movq -0x180(%rbp), %rdi
cmpq %r15, %rdi
je 0xd1a9
movq -0x170(%rbp), %rsi
jmp 0xd1a1
movq %rax, %rbx
leaq -0x1d8(%rbp), %rdi
jmp 0xd129
movq %rax, %rbx
movq -0x1b8(%rbp), %rdi
cmpq %r12, %rdi
je 0xd01c
movq -0x1a8(%rbp), %rsi
incq %rsi
callq 0x3140
jmp 0xd01c
movq %rax, %rbx
movq -0x1d8(%rbp), %rdi
cmpq %r14, %rdi
je 0xd1a9
movq -0x1c8(%rbp), %rsi
jmp 0xd1a1
movq %rax, %rbx
leaq -0x230(%rbp), %rdi
jmp 0xd129
movq %rax, %rbx
movq -0x210(%rbp), %rdi
cmpq %r12, %rdi
je 0xd06a
movq -0x200(%rbp), %rsi
incq %rsi
callq 0x3140
jmp 0xd06a
movq %rax, %rbx
movq -0x230(%rbp), %rdi
cmpq %r14, %rdi
je 0xd1a9
movq -0x220(%rbp), %rsi
jmp 0xd1a1
movq %rax, %rbx
leaq -0x288(%rbp), %rdi
jmp 0xd129
movq %rax, %rbx
movq -0x268(%rbp), %rdi
cmpq %r12, %rdi
je 0xd0b8
movq -0x258(%rbp), %rsi
incq %rsi
callq 0x3140
jmp 0xd0b8
movq %rax, %rbx
movq -0x288(%rbp), %rdi
cmpq %r14, %rdi
je 0xd1a9
movq -0x278(%rbp), %rsi
jmp 0xd1a1
movq %rax, %rbx
leaq -0x2e0(%rbp), %rdi
jmp 0xd129
movq %rax, %rbx
movq -0x2c0(%rbp), %rdi
cmpq %r12, %rdi
je 0xd103
movq -0x2b0(%rbp), %rsi
incq %rsi
callq 0x3140
jmp 0xd103
movq %rax, %rbx
movq -0x2e0(%rbp), %rdi
cmpq %r15, %rdi
je 0xd1a9
movq -0x2d0(%rbp), %rsi
jmp 0xd1a1
movq %rax, %rbx
leaq -0xd0(%rbp), %rdi
callq 0xfd9a
jmp 0xd1a9
movq %rax, %rbx
movq -0xb0(%rbp), %rdi
cmpq %r12, %rdi
je 0xd153
movq -0xa0(%rbp), %rsi
incq %rsi
callq 0x3140
jmp 0xd153
movq %rax, %rbx
movq -0xd0(%rbp), %rdi
leaq -0xc0(%rbp), %rax
cmpq %rax, %rdi
je 0xd1a9
movq -0xc0(%rbp), %rsi
jmp 0xd1a1
movq %rax, %rbx
movq -0x48(%rbp), %rdi
cmpq %r14, %rdi
jne 0xd19d
jmp 0xd1a9
jmp 0xd17f
movq %rax, %rbx
movq -0x48(%rbp), %rdi
cmpq %r15, %rdi
jne 0xd19d
jmp 0xd1a9
movq %rax, %rbx
leaq -0x38(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xd1a9
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3140
movq %rbx, %rdi
callq 0x31e0