// File: /workspace/github_cpp_makefile_star2_O1/IsaacLaw12[P]RayTracer/./src/AnimatedSphere.cpp
// Function: AnimatedSphere::load_animation()
void AnimatedSphere::load_animation(){
    std::vector<std::string> animation_steps = extract_file_lines(animation_file);
    int section_start = 0;
    int section_end = 0;
    for (std::string animation_step:animation_steps){
        std::stringstream driver(animation_step);
        driver >> section_end;
        std::vector<double> transform_floats;
        double temp = 0;
        while (driver >> temp){
            transform_floats.push_back(temp);
        }
        add_animation_section(section_start, section_end, transform_floats);
        section_start = section_end;
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x248, %rsp            # imm = 0x248
movq %rdi, %r15
leaq 0xb0(%rsp), %r14
movq %r14, -0x10(%r14)
movq 0x10(%rdi), %rsi
movq 0x18(%rdi), %rdx
addq %rsi, %rdx
leaq 0xa0(%rsp), %rbx
movq %rbx, %rdi
callq 0x5760
leaq 0x88(%rsp), %rdi
movq %r15, 0x60(%rsp)
movq %r15, %rsi
movq %rbx, %rdx
callq 0x73de
movq 0xa0(%rsp), %rdi
cmpq %r14, %rdi
je 0x13f30
movq 0xb0(%rsp), %rsi
incq %rsi
callq 0x32d0
movl $0x0, 0xc(%rsp)
movq 0x88(%rsp), %rcx
movq 0x90(%rsp), %rax
movq %rax, 0x58(%rsp)
cmpq %rax, %rcx
je 0x140b7
leaq 0x38(%rsp), %rbx
leaq 0xc0(%rsp), %r12
leaq 0x30(%rsp), %rbp
leaq 0x70(%rsp), %r14
xorl %r13d, %r13d
leaq 0x48(%rsp), %rax
movq %rax, 0x38(%rsp)
movq (%rcx), %rsi
movq %rcx, 0x68(%rsp)
movq 0x8(%rcx), %rdx
addq %rsi, %rdx
movq %rbx, %rdi
callq 0x5760
movq %r12, %rdi
movq %rbx, %rsi
movl $0x18, %edx
callq 0x3400
movq %r12, %rdi
leaq 0xc(%rsp), %rsi
callq 0x3190
xorps %xmm0, %xmm0
movaps %xmm0, 0x10(%rsp)
xorl %eax, %eax
movq %rax, 0x20(%rsp)
movq %rax, 0x30(%rsp)
movq %r12, %rdi
movq %rbp, %rsi
callq 0x31b0
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
jne 0x1400b
movq 0x18(%rsp), %rsi
cmpq 0x20(%rsp), %rsi
je 0x13ffc
movsd 0x30(%rsp), %xmm0
movsd %xmm0, (%rsi)
addq $0x8, %rsi
movq %rsi, 0x18(%rsp)
jmp 0x13fc2
leaq 0x10(%rsp), %rdi
movq %rbp, %rdx
callq 0x7c5c
jmp 0x13fc2
movl 0xc(%rsp), %r15d
movq %r14, %rdi
leaq 0x10(%rsp), %rsi
callq 0x7a96
movq 0x60(%rsp), %rdi
movl %r13d, %esi
movl %r15d, %edx
movq %r14, %rcx
callq 0x1419c
movq 0x70(%rsp), %rdi
testq %rdi, %rdi
je 0x1404a
movq 0x80(%rsp), %rsi
subq %rdi, %rsi
callq 0x32d0
movl 0xc(%rsp), %r13d
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x14066
movq 0x20(%rsp), %rsi
subq %rdi, %rsi
callq 0x32d0
movq %r12, %rdi
movq 0xbf28(%rip), %rsi      # 0x1ff98
callq 0x3210
leaq 0x140(%rsp), %rdi
callq 0x30e0
movq 0x38(%rsp), %rdi
leaq 0x48(%rsp), %rax
cmpq %rax, %rdi
je 0x1409e
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x32d0
movq 0x68(%rsp), %rcx
addq $0x20, %rcx
cmpq 0x58(%rsp), %rcx
leaq 0x38(%rsp), %rbx
jne 0x13f70
leaq 0x88(%rsp), %rdi
callq 0x7b16
addq $0x248, %rsp            # imm = 0x248
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0xa0(%rsp), %rdi
cmpq %r14, %rdi
je 0x14193
movq 0xb0(%rsp), %rsi
incq %rsi
callq 0x32d0
jmp 0x14193
jmp 0x1412f
movq %rax, %rbx
movq 0x70(%rsp), %rdi
testq %rdi, %rdi
je 0x14132
movq 0x80(%rsp), %rsi
subq %rdi, %rsi
callq 0x32d0
jmp 0x14132
movq %rax, %rbx
jmp 0x14186
movq %rax, %rbx
jmp 0x1416a
movq %rax, %rbx
jmp 0x14149
movq %rax, %rbx
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x14149
movq 0x20(%rsp), %rsi
subq %rdi, %rsi
callq 0x32d0
movq 0xbe48(%rip), %rsi      # 0x1ff98
leaq 0xc0(%rsp), %rdi
callq 0x3210
leaq 0x140(%rsp), %rdi
callq 0x30e0
movq 0x38(%rsp), %rdi
leaq 0x48(%rsp), %rax
cmpq %rax, %rdi
je 0x14186
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x32d0
leaq 0x88(%rsp), %rdi
callq 0x7b16
movq %rbx, %rdi
callq 0x34b0
nop