// File: /workspace/github_cpp_makefile_star2_O3/Lut99[P]RayTracer/src/lib/Camera.cpp
// Function: RayTracer::Camera::to_json[abi:cxx11]() const
json Camera::to_json() const {
    json j;
    j["lookat"] = this->lookat.to_json();
    j["lookfrom"] = this->lookfrom.to_json();
    j["up"] = this->up.to_json();
    j["vfov"] = this->vfov;
    j["aperture"] = this->aperture;
    if (this->animation != nullptr) {
        j["animation"] = this->animation->to_json();
    }
    return j;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x60, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movb $0x0, (%rdi)
movq $0x0, 0x8(%rdi)
callq 0x4861e
movq %rbx, %rdi
callq 0x4861e
leaq 0x40(%r14), %rsi
leaq 0x50(%rsp), %rdi
callq 0x723e4
leaq 0x11108(%rip), %rsi     # 0x8a728
movq %rbx, %rdi
callq 0x41392
movq %rax, %r15
leaq 0x50(%rsp), %r12
movq %r12, %rdi
callq 0x4861e
movb (%r15), %al
movb (%r12), %cl
movb %cl, (%r15)
movb %al, (%r12)
leaq 0x58(%rsp), %r13
movq 0x8(%r15), %rax
movq (%r13), %rcx
movq %rcx, 0x8(%r15)
movq %rax, (%r13)
movq %r15, %rdi
callq 0x4861e
movq %r12, %rdi
callq 0x4861e
movzbl -0x8(%r13), %esi
movq %r13, %rdi
callq 0x486c0
leaq 0x20(%r14), %rsi
leaq 0x40(%rsp), %rdi
callq 0x723e4
leaq 0x110a2(%rip), %rsi     # 0x8a72f
movq %rbx, %rdi
callq 0x41392
movq %rax, %r15
leaq 0x40(%rsp), %r12
movq %r12, %rdi
callq 0x4861e
movb (%r15), %al
movb (%r12), %cl
movb %cl, (%r15)
movb %al, (%r12)
leaq 0x48(%rsp), %r13
movq 0x8(%r15), %rax
movq (%r13), %rcx
movq %rcx, 0x8(%r15)
movq %rax, (%r13)
movq %r15, %rdi
callq 0x4861e
movq %r12, %rdi
callq 0x4861e
movzbl -0x8(%r13), %esi
movq %r13, %rdi
callq 0x486c0
leaq 0x60(%r14), %rsi
leaq 0x30(%rsp), %rdi
callq 0x723e4
leaq 0x1103e(%rip), %rsi     # 0x8a738
movq %rbx, %rdi
callq 0x41392
movq %rax, %r15
leaq 0x30(%rsp), %r12
movq %r12, %rdi
callq 0x4861e
movb (%r15), %al
movb (%r12), %cl
movb %cl, (%r15)
movb %al, (%r12)
leaq 0x38(%rsp), %r13
movq 0x8(%r15), %rax
movq (%r13), %rcx
movq %rcx, 0x8(%r15)
movq %rax, (%r13)
movq %r15, %rdi
callq 0x4861e
movq %r12, %rdi
callq 0x4861e
movzbl -0x8(%r13), %esi
movq %r13, %rdi
callq 0x486c0
movsd 0x80(%r14), %xmm0
leaq 0x20(%rsp), %r15
movb $0x7, (%r15)
movsd %xmm0, 0x8(%r15)
movq %r15, %rdi
callq 0x4861e
movq %r15, %rdi
callq 0x4861e
leaq 0xa28f(%rip), %rsi      # 0x83a10
movq %rbx, %rdi
callq 0x41392
movq %rax, %r15
leaq 0x28(%rsp), %r12
leaq 0x20(%rsp), %r13
movq %r13, %rdi
callq 0x4861e
movb (%r15), %al
movb (%r13), %cl
movb %cl, (%r15)
movb %al, (%r13)
movq 0x8(%r15), %rax
movq 0x8(%r13), %rcx
movq %rcx, 0x8(%r15)
movq %rax, 0x8(%r13)
movq %r15, %rdi
callq 0x4861e
movq %r13, %rdi
callq 0x4861e
movzbl (%r13), %esi
movq %r12, %rdi
callq 0x486c0
movsd 0x88(%r14), %xmm0
leaq 0x10(%rsp), %r15
movb $0x7, (%r15)
movsd %xmm0, 0x8(%r15)
movq %r15, %rdi
callq 0x4861e
movq %r15, %rdi
callq 0x4861e
leaq 0x10f42(%rip), %rsi     # 0x8a74a
movq %rbx, %rdi
callq 0x41392
movq %rax, %r15
leaq 0x18(%rsp), %r12
leaq 0x10(%rsp), %r13
movq %r13, %rdi
callq 0x4861e
movb (%r15), %al
movb (%r13), %cl
movb %cl, (%r15)
movb %al, (%r13)
movq 0x8(%r15), %rax
movq 0x8(%r13), %rcx
movq %rcx, 0x8(%r15)
movq %rax, 0x8(%r13)
movq %r15, %rdi
callq 0x4861e
movq %r13, %rdi
callq 0x4861e
movzbl (%r13), %esi
movq %r12, %rdi
callq 0x486c0
movq 0x18(%r14), %rsi
testq %rsi, %rsi
je 0x798ce
movq (%rsi), %rax
movq %rsp, %rdi
callq *0x28(%rax)
leaq 0xa391(%rip), %rsi      # 0x83c0a
movq %rbx, %rdi
callq 0x41392
movq %rax, %r14
movq %rsp, %r15
movq %r15, %rdi
callq 0x4861e
movb (%r14), %al
movb (%r15), %cl
movb %cl, (%r14)
movb %al, (%r15)
leaq 0x8(%rsp), %r12
movq 0x8(%r14), %rax
movq (%r12), %rcx
movq %rcx, 0x8(%r14)
movq %rax, (%r12)
movq %r14, %rdi
callq 0x4861e
movq %r15, %rdi
callq 0x4861e
movzbl -0x8(%r12), %esi
movq %r12, %rdi
callq 0x486c0
movq %rbx, %rax
addq $0x60, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq %rax, %r14
movq %rsp, %rdi
jmp 0x79917
movq %rax, %r14
leaq 0x10(%rsp), %rdi
jmp 0x79917
movq %rax, %r14
leaq 0x20(%rsp), %rdi
jmp 0x79917
movq %rax, %r14
leaq 0x30(%rsp), %rdi
jmp 0x79917
movq %rax, %r14
leaq 0x40(%rsp), %rdi
jmp 0x79917
movq %rax, %r14
leaq 0x50(%rsp), %rdi
callq 0x415d4
jmp 0x79921
movq %rax, %r14
movq %rbx, %rdi
callq 0x415d4
movq %r14, %rdi
callq 0x3a790
nop