// File: /workspace/github_cpp_makefile_star2_O1/IsaacLaw12[P]RayTracer/./src/Scene.cpp
// Function: Scene::edit_camera(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
void Scene::edit_camera(std::string driver_line){
    std::string eye = "eye";
    std::string look = "look";
    std::string up = "up";
    std::string focal_length = "d";
    std::string bounds = "bounds";
    std::string res = "res";
    std::string frames = "frames";
    std::string start_frame = "start_frame";
    std::string recursion = "recursionLevel";
    std::string focus_blur = "focus_blur";
    std::string anti_alias = "anti_alias";
    std::stringstream d_line(driver_line);

    std::string line_type;
    d_line >> line_type;
    double d1, d2, d3, d4;
    if (!driver_line.compare(0, eye.size(), eye)){
        d_line >> d1 >> d2 >> d3;
        scene_camera.set_eye(d1, d2, d3);
    }else if(!driver_line.compare(0, look.size(), look)){
        d_line >> d1 >> d2 >> d3;
        scene_camera.set_look(d1, d2, d3);
    }else if (!driver_line.compare(0, up.size(), up)){
        d_line >> d1 >> d2 >> d3;
        scene_camera.set_up(d1, d2, d3);
    }else if(!driver_line.compare(0, focal_length.size(), focal_length)){
        d_line >> d1;
        scene_camera.set_focal_length(d1);
    }else if(!driver_line.compare(0, bounds.size(), bounds)){
        d_line >> d1 >> d2 >> d3 >> d4;
        scene_camera.set_bounds(d1,d2,d3,d4);
    }else if(!driver_line.compare(0, res.size(), res)){
        d_line >> d1 >> d2;
        scene_camera.set_resolution(d1, d2);
        destination_image.set_dimensions(d1, d2);
    }else if(!driver_line.compare(0, focus_blur.size(), focus_blur)){
        d_line >> d1 >> d2 >> d3;
        destination_image.set_focus_blur(d1, d2, d3);
    }else if(!driver_line.compare(0, anti_alias.size(), anti_alias)){
        d_line >> d1;
        scene_camera.set_anti_alias(d1);
        destination_image.set_anti_alias(d1);
    }else if(!driver_line.compare(0, recursion.size(), recursion)){
        d_line >> recursion_level;
    }else if(!driver_line.compare(0, frames.size(), frames)) {
        d_line >> number_frames;
        if (number_frames < 1){
            number_frames = 1;
        }
    }else if(!driver_line.compare(0, start_frame.size(), start_frame)) {
        d_line >> current_frame;
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x328, %rsp            # imm = 0x328
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x170(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x8782(%rip), %rsi      # 0x17e78
leaq 0x877e(%rip), %rdx      # 0x17e7b
leaq 0x160(%rsp), %rdi
callq 0x5be2
leaq 0x150(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x875e(%rip), %rsi      # 0x17e7c
leaq 0x875b(%rip), %rdx      # 0x17e80
leaq 0x140(%rsp), %rdi
callq 0x5be2
leaq 0x130(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x873c(%rip), %rsi      # 0x17e81
leaq 0x8737(%rip), %rdx      # 0x17e83
leaq 0x120(%rsp), %rdi
callq 0x5be2
leaq 0x108(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x71bc(%rip), %rsi      # 0x16928
leaq 0x71b6(%rip), %rdx      # 0x16929
leaq 0xf8(%rsp), %rdi
callq 0x5be2
leaq 0xe8(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x86f1(%rip), %rsi      # 0x17e84
leaq 0x86f0(%rip), %rdx      # 0x17e8a
leaq 0xd8(%rsp), %rdi
callq 0x5be2
leaq 0xc8(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x86d1(%rip), %rsi      # 0x17e8b
leaq 0x86cd(%rip), %rdx      # 0x17e8e
leaq 0xb8(%rsp), %rdi
callq 0x5be2
leaq 0xa8(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x86ae(%rip), %rsi      # 0x17e8f
leaq 0x86ad(%rip), %rdx      # 0x17e95
leaq 0x98(%rsp), %rdi
callq 0x5be2
leaq 0x88(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x868e(%rip), %rsi      # 0x17e96
leaq 0x8692(%rip), %rdx      # 0x17ea1
leaq 0x78(%rsp), %rdi
callq 0x5be2
leaq 0x68(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x8679(%rip), %rsi      # 0x17ea2
leaq 0x8680(%rip), %rdx      # 0x17eb0
leaq 0x58(%rsp), %rdi
callq 0x5be2
leaq 0x48(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x8667(%rip), %rsi      # 0x17eb1
leaq 0x866a(%rip), %rdx      # 0x17ebb
leaq 0x38(%rsp), %rdi
callq 0x5be2
leaq 0x28(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x8651(%rip), %rsi      # 0x17ebc
leaq 0x8654(%rip), %rdx      # 0x17ec6
leaq 0x18(%rsp), %rdi
callq 0x5be2
leaq 0x1a0(%rsp), %rdi
movq %r14, %rsi
movl $0x18, %edx
callq 0x3400
leaq 0x190(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq $0x0, -0x8(%rbp)
movb $0x0, (%rbp)
leaq 0x1a0(%rsp), %rdi
leaq 0x180(%rsp), %rsi
callq 0x3340
leaq 0x160(%rsp), %rcx
movq 0x8(%rcx), %rdx
movq %r14, %rdi
xorl %esi, %esi
callq 0x3350
testl %eax, %eax
je 0xfa06
leaq 0x140(%rsp), %rcx
movq 0x8(%rcx), %rdx
movq %r14, %rdi
xorl %esi, %esi
callq 0x3350
testl %eax, %eax
je 0xfa52
leaq 0x120(%rsp), %rcx
movq 0x8(%rcx), %rdx
movq %r14, %rdi
xorl %esi, %esi
callq 0x3350
testl %eax, %eax
je 0xfa9e
leaq 0xf8(%rsp), %rcx
movq 0x8(%rcx), %rdx
movq %r14, %rdi
xorl %esi, %esi
callq 0x3350
testl %eax, %eax
je 0xfaea
leaq 0xd8(%rsp), %rcx
movq 0x8(%rcx), %rdx
movq %r14, %rdi
xorl %esi, %esi
callq 0x3350
testl %eax, %eax
je 0xfb10
leaq 0xb8(%rsp), %rcx
movq 0x8(%rcx), %rdx
movq %r14, %rdi
xorl %esi, %esi
callq 0x3350
testl %eax, %eax
je 0xfb75
leaq 0x38(%rsp), %rcx
movq 0x8(%rcx), %rdx
movq %r14, %rdi
xorl %esi, %esi
callq 0x3350
testl %eax, %eax
je 0xfbc5
leaq 0x18(%rsp), %rcx
movq 0x8(%rcx), %rdx
movq %r14, %rdi
xorl %esi, %esi
callq 0x3350
testl %eax, %eax
je 0xfc11
leaq 0x58(%rsp), %rcx
movq 0x8(%rcx), %rdx
movq %r14, %rdi
xorl %esi, %esi
callq 0x3350
testl %eax, %eax
je 0xfc45
leaq 0x98(%rsp), %rcx
movq 0x8(%rcx), %rdx
movq %r14, %rdi
xorl %esi, %esi
callq 0x3350
testl %eax, %eax
je 0xfc5f
leaq 0x78(%rsp), %rcx
movq 0x8(%rcx), %rdx
movq %r14, %rdi
xorl %esi, %esi
callq 0x3350
testl %eax, %eax
jne 0xfc81
movl $0x234, %eax            # imm = 0x234
jmp 0xfc4a
leaq 0x1a0(%rsp), %rdi
movq %rsp, %rsi
callq 0x31b0
leaq 0x8(%rsp), %rsi
movq %rax, %rdi
callq 0x31b0
leaq 0x10(%rsp), %rsi
movq %rax, %rdi
callq 0x31b0
addq $0x20, %rbx
movsd (%rsp), %xmm0
movsd 0x8(%rsp), %xmm1
movsd 0x10(%rsp), %xmm2
movq %rbx, %rdi
callq 0x52e4
jmp 0xfc81
leaq 0x1a0(%rsp), %rdi
movq %rsp, %rsi
callq 0x31b0
leaq 0x8(%rsp), %rsi
movq %rax, %rdi
callq 0x31b0
leaq 0x10(%rsp), %rsi
movq %rax, %rdi
callq 0x31b0
addq $0x20, %rbx
movsd (%rsp), %xmm0
movsd 0x8(%rsp), %xmm1
movsd 0x10(%rsp), %xmm2
movq %rbx, %rdi
callq 0x52f2
jmp 0xfc81
leaq 0x1a0(%rsp), %rdi
movq %rsp, %rsi
callq 0x31b0
leaq 0x8(%rsp), %rsi
movq %rax, %rdi
callq 0x31b0
leaq 0x10(%rsp), %rsi
movq %rax, %rdi
callq 0x31b0
addq $0x20, %rbx
movsd (%rsp), %xmm0
movsd 0x8(%rsp), %xmm1
movsd 0x10(%rsp), %xmm2
movq %rbx, %rdi
callq 0x5300
jmp 0xfc81
leaq 0x1a0(%rsp), %rdi
movq %rsp, %rsi
callq 0x31b0
addq $0x20, %rbx
movsd (%rsp), %xmm0
movq %rbx, %rdi
callq 0x534e
jmp 0xfc81
leaq 0x1a0(%rsp), %rdi
movq %rsp, %rsi
callq 0x31b0
leaq 0x8(%rsp), %rsi
movq %rax, %rdi
callq 0x31b0
leaq 0x10(%rsp), %rsi
movq %rax, %rdi
callq 0x31b0
leaq 0x118(%rsp), %rsi
movq %rax, %rdi
callq 0x31b0
addq $0x20, %rbx
movsd (%rsp), %xmm0
movsd 0x8(%rsp), %xmm1
movsd 0x10(%rsp), %xmm2
movsd 0x118(%rsp), %xmm3
movq %rbx, %rdi
callq 0x5358
jmp 0xfc81
leaq 0x1a0(%rsp), %rdi
movq %rsp, %rsi
callq 0x31b0
leaq 0x8(%rsp), %rsi
movq %rax, %rdi
callq 0x31b0
cvttsd2si (%rsp), %esi
leaq 0x20(%rbx), %rdi
cvttsd2si 0x8(%rsp), %edx
callq 0x537a
cvttsd2si (%rsp), %esi
addq $0xe8, %rbx
cvttsd2si 0x8(%rsp), %edx
movq %rbx, %rdi
callq 0x3b2e
jmp 0xfc81
leaq 0x1a0(%rsp), %rdi
movq %rsp, %rsi
callq 0x31b0
leaq 0x8(%rsp), %rsi
movq %rax, %rdi
callq 0x31b0
leaq 0x10(%rsp), %rsi
movq %rax, %rdi
callq 0x31b0
addq $0xe8, %rbx
movsd (%rsp), %xmm0
movsd 0x8(%rsp), %xmm1
movsd 0x10(%rsp), %xmm2
movq %rbx, %rdi
callq 0x46a0
jmp 0xfc81
leaq 0x1a0(%rsp), %rdi
movq %rsp, %rsi
callq 0x31b0
leaq 0x20(%rbx), %rdi
cvttsd2si (%rsp), %esi
callq 0x538e
addq $0xe8, %rbx
cvttsd2si (%rsp), %esi
movq %rbx, %rdi
callq 0x46be
jmp 0xfc81
movl $0x238, %eax            # imm = 0x238
addq %rax, %rbx
leaq 0x1a0(%rsp), %rdi
movq %rbx, %rsi
callq 0x3190
jmp 0xfc81
addq $0x230, %rbx            # imm = 0x230
leaq 0x1a0(%rsp), %rdi
movq %rbx, %rsi
callq 0x3190
cmpl $0x0, (%rbx)
jg 0xfc81
movl $0x1, (%rbx)
movq 0x180(%rsp), %rdi
cmpq %rbp, %rdi
je 0xfc9e
movq 0x190(%rsp), %rsi
incq %rsi
callq 0x32d0
movq 0x102f3(%rip), %rsi     # 0x1ff98
leaq 0x1a0(%rsp), %rdi
callq 0x3210
leaq 0x220(%rsp), %rdi
callq 0x30e0
movq 0x18(%rsp), %rdi
leaq 0x28(%rsp), %rax
cmpq %rax, %rdi
leaq 0x108(%rsp), %rbx
leaq 0xe8(%rsp), %r14
leaq 0xc8(%rsp), %rbp
je 0xfcf3
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x32d0
movq 0x38(%rsp), %rdi
leaq 0x48(%rsp), %rax
cmpq %rax, %rdi
je 0xfd0f
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x32d0
movq 0x58(%rsp), %rdi
leaq 0x68(%rsp), %rax
cmpq %rax, %rdi
je 0xfd2b
movq 0x68(%rsp), %rsi
incq %rsi
callq 0x32d0
movq 0x78(%rsp), %rdi
leaq 0x88(%rsp), %rax
cmpq %rax, %rdi
je 0xfd4d
movq 0x88(%rsp), %rsi
incq %rsi
callq 0x32d0
movq 0x98(%rsp), %rdi
leaq 0xa8(%rsp), %rax
cmpq %rax, %rdi
je 0xfd72
movq 0xa8(%rsp), %rsi
incq %rsi
callq 0x32d0
movq 0xb8(%rsp), %rdi
cmpq %rbp, %rdi
je 0xfd8f
movq 0xc8(%rsp), %rsi
incq %rsi
callq 0x32d0
movq 0xd8(%rsp), %rdi
cmpq %r14, %rdi
je 0xfdac
movq 0xe8(%rsp), %rsi
incq %rsi
callq 0x32d0
movq 0xf8(%rsp), %rdi
cmpq %rbx, %rdi
je 0xfdc9
movq 0x108(%rsp), %rsi
incq %rsi
callq 0x32d0
movq 0x120(%rsp), %rdi
cmpq %r13, %rdi
je 0xfde6
movq 0x130(%rsp), %rsi
incq %rsi
callq 0x32d0
movq 0x140(%rsp), %rdi
cmpq %r12, %rdi
je 0xfe03
movq 0x150(%rsp), %rsi
incq %rsi
callq 0x32d0
movq 0x160(%rsp), %rdi
cmpq %r15, %rdi
je 0xfe20
movq 0x170(%rsp), %rsi
incq %rsi
callq 0x32d0
addq $0x328, %rsp            # imm = 0x328
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0xfe8c
movq %rax, %rbx
jmp 0xfecd
movq %rax, %rbx
jmp 0xfee9
movq %rax, %rbx
jmp 0xff05
movq %rax, %rbx
jmp 0xff21
movq %rax, %rbx
jmp 0xff43
movq %rax, %rbx
jmp 0xff68
movq %rax, %rbx
jmp 0xff8d
movq %rax, %rbx
jmp 0xffb2
movq %rax, %rbx
jmp 0xffd7
movq %rax, %rbx
jmp 0xfff4
movq %rax, %rbx
jmp 0x10011
movq %rax, %rbx
movq 0x180(%rsp), %rdi
cmpq %rbp, %rdi
je 0xfeac
movq 0x190(%rsp), %rsi
incq %rsi
callq 0x32d0
movq 0x100e5(%rip), %rsi     # 0x1ff98
leaq 0x1a0(%rsp), %rdi
callq 0x3210
leaq 0x220(%rsp), %rdi
callq 0x30e0
movq 0x18(%rsp), %rdi
leaq 0x28(%rsp), %rax
cmpq %rax, %rdi
je 0xfee9
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x32d0
movq 0x38(%rsp), %rdi
leaq 0x48(%rsp), %rax
cmpq %rax, %rdi
je 0xff05
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x32d0
movq 0x58(%rsp), %rdi
leaq 0x68(%rsp), %rax
cmpq %rax, %rdi
je 0xff21
movq 0x68(%rsp), %rsi
incq %rsi
callq 0x32d0
movq 0x78(%rsp), %rdi
leaq 0x88(%rsp), %rax
cmpq %rax, %rdi
je 0xff43
movq 0x88(%rsp), %rsi
incq %rsi
callq 0x32d0
movq 0x98(%rsp), %rdi
leaq 0xa8(%rsp), %rax
cmpq %rax, %rdi
je 0xff68
movq 0xa8(%rsp), %rsi
incq %rsi
callq 0x32d0
movq 0xb8(%rsp), %rdi
leaq 0xc8(%rsp), %rax
cmpq %rax, %rdi
je 0xff8d
movq 0xc8(%rsp), %rsi
incq %rsi
callq 0x32d0
movq 0xd8(%rsp), %rdi
leaq 0xe8(%rsp), %rax
cmpq %rax, %rdi
je 0xffb2
movq 0xe8(%rsp), %rsi
incq %rsi
callq 0x32d0
movq 0xf8(%rsp), %rdi
leaq 0x108(%rsp), %rax
cmpq %rax, %rdi
je 0xffd7
movq 0x108(%rsp), %rsi
incq %rsi
callq 0x32d0
movq 0x120(%rsp), %rdi
cmpq %r13, %rdi
je 0xfff4
movq 0x130(%rsp), %rsi
incq %rsi
callq 0x32d0
movq 0x140(%rsp), %rdi
cmpq %r12, %rdi
je 0x10011
movq 0x150(%rsp), %rsi
incq %rsi
callq 0x32d0
movq 0x160(%rsp), %rdi
cmpq %r15, %rdi
je 0x1002e
movq 0x170(%rsp), %rsi
incq %rsi
callq 0x32d0
movq %rbx, %rdi
callq 0x34b0