// File: /workspace/github_cpp_makefile_star2_O3/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 0x8844(%rip), %rsi      # 0x17e78
leaq 0x8840(%rip), %rdx      # 0x17e7b
leaq 0x160(%rsp), %rdi
callq 0x5bde
leaq 0x150(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x8820(%rip), %rsi      # 0x17e7c
leaq 0x881d(%rip), %rdx      # 0x17e80
leaq 0x140(%rsp), %rdi
callq 0x5bde
leaq 0x130(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x87fe(%rip), %rsi      # 0x17e81
leaq 0x87f9(%rip), %rdx      # 0x17e83
leaq 0x120(%rsp), %rdi
callq 0x5bde
leaq 0x108(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x727e(%rip), %rsi      # 0x16928
leaq 0x7278(%rip), %rdx      # 0x16929
leaq 0xf8(%rsp), %rdi
callq 0x5bde
leaq 0xe8(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x87b3(%rip), %rsi      # 0x17e84
leaq 0x87b2(%rip), %rdx      # 0x17e8a
leaq 0xd8(%rsp), %rdi
callq 0x5bde
leaq 0xc8(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x8793(%rip), %rsi      # 0x17e8b
leaq 0x878f(%rip), %rdx      # 0x17e8e
leaq 0xb8(%rsp), %rdi
callq 0x5bde
leaq 0xa8(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x8770(%rip), %rsi      # 0x17e8f
leaq 0x876f(%rip), %rdx      # 0x17e95
leaq 0x98(%rsp), %rdi
callq 0x5bde
leaq 0x88(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x8750(%rip), %rsi      # 0x17e96
leaq 0x8754(%rip), %rdx      # 0x17ea1
leaq 0x78(%rsp), %rdi
callq 0x5bde
leaq 0x68(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x873b(%rip), %rsi      # 0x17ea2
leaq 0x8742(%rip), %rdx      # 0x17eb0
leaq 0x58(%rsp), %rdi
callq 0x5bde
leaq 0x48(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x8729(%rip), %rsi      # 0x17eb1
leaq 0x872c(%rip), %rdx      # 0x17ebb
leaq 0x38(%rsp), %rdi
callq 0x5bde
leaq 0x28(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x8713(%rip), %rsi      # 0x17ebc
leaq 0x8716(%rip), %rdx      # 0x17ec6
leaq 0x18(%rsp), %rdi
callq 0x5bde
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 0xf944
leaq 0x140(%rsp), %rcx
movq 0x8(%rcx), %rdx
movq %r14, %rdi
xorl %esi, %esi
callq 0x3350
testl %eax, %eax
je 0xf990
leaq 0x120(%rsp), %rcx
movq 0x8(%rcx), %rdx
movq %r14, %rdi
xorl %esi, %esi
callq 0x3350
testl %eax, %eax
je 0xf9dc
leaq 0xf8(%rsp), %rcx
movq 0x8(%rcx), %rdx
movq %r14, %rdi
xorl %esi, %esi
callq 0x3350
testl %eax, %eax
je 0xfa28
leaq 0xd8(%rsp), %rcx
movq 0x8(%rcx), %rdx
movq %r14, %rdi
xorl %esi, %esi
callq 0x3350
testl %eax, %eax
je 0xfa4e
leaq 0xb8(%rsp), %rcx
movq 0x8(%rcx), %rdx
movq %r14, %rdi
xorl %esi, %esi
callq 0x3350
testl %eax, %eax
je 0xfab3
leaq 0x38(%rsp), %rcx
movq 0x8(%rcx), %rdx
movq %r14, %rdi
xorl %esi, %esi
callq 0x3350
testl %eax, %eax
je 0xfb03
leaq 0x18(%rsp), %rcx
movq 0x8(%rcx), %rdx
movq %r14, %rdi
xorl %esi, %esi
callq 0x3350
testl %eax, %eax
je 0xfb4f
leaq 0x58(%rsp), %rcx
movq 0x8(%rcx), %rdx
movq %r14, %rdi
xorl %esi, %esi
callq 0x3350
testl %eax, %eax
je 0xfb83
leaq 0x98(%rsp), %rcx
movq 0x8(%rcx), %rdx
movq %r14, %rdi
xorl %esi, %esi
callq 0x3350
testl %eax, %eax
je 0xfb9d
leaq 0x78(%rsp), %rcx
movq 0x8(%rcx), %rdx
movq %r14, %rdi
xorl %esi, %esi
callq 0x3350
testl %eax, %eax
jne 0xfbbf
movl $0x234, %eax            # imm = 0x234
jmp 0xfb88
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 0x52d0
jmp 0xfbbf
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 0x52de
jmp 0xfbbf
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 0x52ec
jmp 0xfbbf
leaq 0x1a0(%rsp), %rdi
movq %rsp, %rsi
callq 0x31b0
addq $0x20, %rbx
movsd (%rsp), %xmm0
movq %rbx, %rdi
callq 0x533a
jmp 0xfbbf
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 0x5344
jmp 0xfbbf
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 0x5366
cvttsd2si (%rsp), %esi
addq $0xe8, %rbx
cvttsd2si 0x8(%rsp), %edx
movq %rbx, %rdi
callq 0x3b2e
jmp 0xfbbf
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 0x46a6
jmp 0xfbbf
leaq 0x1a0(%rsp), %rdi
movq %rsp, %rsi
callq 0x31b0
leaq 0x20(%rbx), %rdi
cvttsd2si (%rsp), %esi
callq 0x537a
addq $0xe8, %rbx
cvttsd2si (%rsp), %esi
movq %rbx, %rdi
callq 0x46c4
jmp 0xfbbf
movl $0x238, %eax            # imm = 0x238
addq %rax, %rbx
leaq 0x1a0(%rsp), %rdi
movq %rbx, %rsi
callq 0x3190
jmp 0xfbbf
addq $0x230, %rbx            # imm = 0x230
leaq 0x1a0(%rsp), %rdi
movq %rbx, %rsi
callq 0x3190
cmpl $0x0, (%rbx)
jg 0xfbbf
movl $0x1, (%rbx)
movq 0x180(%rsp), %rdi
cmpq %rbp, %rdi
je 0xfbdc
movq 0x190(%rsp), %rsi
incq %rsi
callq 0x32d0
movq 0x103b5(%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 0xfc31
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x32d0
movq 0x38(%rsp), %rdi
leaq 0x48(%rsp), %rax
cmpq %rax, %rdi
je 0xfc4d
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x32d0
movq 0x58(%rsp), %rdi
leaq 0x68(%rsp), %rax
cmpq %rax, %rdi
je 0xfc69
movq 0x68(%rsp), %rsi
incq %rsi
callq 0x32d0
movq 0x78(%rsp), %rdi
leaq 0x88(%rsp), %rax
cmpq %rax, %rdi
je 0xfc8b
movq 0x88(%rsp), %rsi
incq %rsi
callq 0x32d0
movq 0x98(%rsp), %rdi
leaq 0xa8(%rsp), %rax
cmpq %rax, %rdi
je 0xfcb0
movq 0xa8(%rsp), %rsi
incq %rsi
callq 0x32d0
movq 0xb8(%rsp), %rdi
cmpq %rbp, %rdi
je 0xfccd
movq 0xc8(%rsp), %rsi
incq %rsi
callq 0x32d0
movq 0xd8(%rsp), %rdi
cmpq %r14, %rdi
je 0xfcea
movq 0xe8(%rsp), %rsi
incq %rsi
callq 0x32d0
movq 0xf8(%rsp), %rdi
cmpq %rbx, %rdi
je 0xfd07
movq 0x108(%rsp), %rsi
incq %rsi
callq 0x32d0
movq 0x120(%rsp), %rdi
cmpq %r13, %rdi
je 0xfd24
movq 0x130(%rsp), %rsi
incq %rsi
callq 0x32d0
movq 0x140(%rsp), %rdi
cmpq %r12, %rdi
je 0xfd41
movq 0x150(%rsp), %rsi
incq %rsi
callq 0x32d0
movq 0x160(%rsp), %rdi
cmpq %r15, %rdi
je 0xfd5e
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 0xfdca
movq %rax, %rbx
jmp 0xfe0b
movq %rax, %rbx
jmp 0xfe27
movq %rax, %rbx
jmp 0xfe43
movq %rax, %rbx
jmp 0xfe5f
movq %rax, %rbx
jmp 0xfe81
movq %rax, %rbx
jmp 0xfea6
movq %rax, %rbx
jmp 0xfecb
movq %rax, %rbx
jmp 0xfef0
movq %rax, %rbx
jmp 0xff15
movq %rax, %rbx
jmp 0xff32
movq %rax, %rbx
jmp 0xff4f
movq %rax, %rbx
movq 0x180(%rsp), %rdi
cmpq %rbp, %rdi
je 0xfdea
movq 0x190(%rsp), %rsi
incq %rsi
callq 0x32d0
movq 0x101a7(%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 0xfe27
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x32d0
movq 0x38(%rsp), %rdi
leaq 0x48(%rsp), %rax
cmpq %rax, %rdi
je 0xfe43
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x32d0
movq 0x58(%rsp), %rdi
leaq 0x68(%rsp), %rax
cmpq %rax, %rdi
je 0xfe5f
movq 0x68(%rsp), %rsi
incq %rsi
callq 0x32d0
movq 0x78(%rsp), %rdi
leaq 0x88(%rsp), %rax
cmpq %rax, %rdi
je 0xfe81
movq 0x88(%rsp), %rsi
incq %rsi
callq 0x32d0
movq 0x98(%rsp), %rdi
leaq 0xa8(%rsp), %rax
cmpq %rax, %rdi
je 0xfea6
movq 0xa8(%rsp), %rsi
incq %rsi
callq 0x32d0
movq 0xb8(%rsp), %rdi
leaq 0xc8(%rsp), %rax
cmpq %rax, %rdi
je 0xfecb
movq 0xc8(%rsp), %rsi
incq %rsi
callq 0x32d0
movq 0xd8(%rsp), %rdi
leaq 0xe8(%rsp), %rax
cmpq %rax, %rdi
je 0xfef0
movq 0xe8(%rsp), %rsi
incq %rsi
callq 0x32d0
movq 0xf8(%rsp), %rdi
leaq 0x108(%rsp), %rax
cmpq %rax, %rdi
je 0xff15
movq 0x108(%rsp), %rsi
incq %rsi
callq 0x32d0
movq 0x120(%rsp), %rdi
cmpq %r13, %rdi
je 0xff32
movq 0x130(%rsp), %rsi
incq %rsi
callq 0x32d0
movq 0x140(%rsp), %rdi
cmpq %r12, %rdi
je 0xff4f
movq 0x150(%rsp), %rsi
incq %rsi
callq 0x32d0
movq 0x160(%rsp), %rdi
cmpq %r15, %rdi
je 0xff6c
movq 0x170(%rsp), %rsi
incq %rsi
callq 0x32d0
movq %rbx, %rdi
callq 0x34b0