// File: /workspace/github_cpp_makefile_star2_O2/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 $0x298, %rsp            # imm = 0x298
movq %r9, -0x58(%rbp)
movq %r8, %r13
movq %rcx, %r12
movq %rdx, %r14
movq %rdi, %rbx
leaq -0x2c0(%rbp), %r15
movq %r15, %rdi
movq %rsi, -0x50(%rbp)
callq 0x49b4
movq %rbx, %rdi
movq %r15, %rsi
callq 0x4946
leaq -0x2c0(%rbp), %rdi
callq 0x507a
leaq -0x268(%rbp), %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0x49b4
movq %rbx, %rdi
movq %r15, %rsi
callq 0x4a66
leaq -0x268(%rbp), %rdi
callq 0x507a
leaq -0x210(%rbp), %r14
movq %r14, %rdi
movq %r12, %rsi
callq 0x49b4
movq %rbx, %rdi
movq %r14, %rsi
callq 0x4a66
leaq -0x210(%rbp), %rdi
callq 0x507a
leaq -0x1b8(%rbp), %r14
movq %r14, %rdi
movq %r13, %rsi
callq 0x49b4
movq %rbx, %rdi
movq %r14, %rsi
callq 0x4a66
leaq -0x1b8(%rbp), %rdi
callq 0x507a
leaq -0x160(%rbp), %r14
movq %r14, %rdi
movq -0x58(%rbp), %rsi
callq 0x49b4
movq %rbx, %rdi
movq %r14, %rsi
callq 0x4a66
leaq -0x160(%rbp), %rdi
callq 0x507a
leaq -0x48(%rbp), %r14
movq %r14, %rdi
movq %rbx, %rsi
callq 0x4bf4
movq 0x8793(%rip), %rdi      # 0x11fd8
movq %r14, %rsi
callq 0x3120
movq %rax, %rdi
callq 0x30b0
leaq -0x48(%rbp), %rdi
callq 0x30a0
movq %rbx, %rdi
callq 0x4b26
movq %r14, %rdi
movq %rbx, %rsi
callq 0x4bf4
movq 0x8760(%rip), %rdi      # 0x11fd8
movq %r14, %rsi
callq 0x3120
movq %rax, %rdi
callq 0x30b0
leaq -0x48(%rbp), %rdi
callq 0x30a0
leaq -0x108(%rbp), %r14
movq %r14, %rdi
movq %r12, %rsi
callq 0x49b4
movq %rbx, %rdi
movq %r14, %rsi
callq 0x4b5a
leaq -0x108(%rbp), %rdi
callq 0x507a
leaq -0x48(%rbp), %r14
movq %r14, %rdi
movq %rbx, %rsi
callq 0x4bf4
movq 0x8708(%rip), %rdi      # 0x11fd8
movq %r14, %rsi
callq 0x3120
movq %rax, %rdi
callq 0x30b0
leaq -0x48(%rbp), %rdi
callq 0x30a0
leaq -0xb0(%rbp), %r14
movq %r14, %rdi
movq -0x50(%rbp), %rsi
callq 0x49b4
movq %rbx, %rdi
movq %r14, %rsi
callq 0x4b5a
leaq -0xb0(%rbp), %rdi
callq 0x507a
leaq -0x48(%rbp), %r14
movq %r14, %rdi
movq %rbx, %rsi
callq 0x4bf4
movq 0x86af(%rip), %rdi      # 0x11fd8
movq %r14, %rsi
callq 0x3120
movq %rax, %rdi
callq 0x30b0
leaq -0x48(%rbp), %rdi
callq 0x30a0
movq %rbx, %rax
addq $0x298, %rsp            # imm = 0x298
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq -0xb0(%rbp), %rdi
jmp 0x99a9
movq %rax, %rbx
leaq -0x108(%rbp), %rdi
jmp 0x99a9
movq %rax, %rbx
leaq -0x160(%rbp), %rdi
jmp 0x99a9
movq %rax, %rbx
leaq -0x1b8(%rbp), %rdi
jmp 0x99a9
movq %rax, %rbx
leaq -0x210(%rbp), %rdi
jmp 0x99a9
movq %rax, %rbx
leaq -0x268(%rbp), %rdi
jmp 0x99a9
movq %rax, %rbx
leaq -0x2c0(%rbp), %rdi
callq 0x507a
jmp 0x99c2
jmp 0x99b6
jmp 0x99b6
jmp 0x99b6
movq %rax, %rbx
leaq -0x48(%rbp), %rdi
callq 0x30a0
movq %rbx, %rdi
callq 0x31e0