// File: /workspace/github_cpp_makefile_star2_O1/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 $0x70, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movb $0x0, (%rdi)
movq $0x0, 0x8(%rdi)
callq 0x48a06
movq %rbx, %rdi
callq 0x48a06
leaq 0x40(%r14), %rsi
leaq 0x60(%rsp), %rdi
callq 0x72ef8
leaq 0x1171c(%rip), %rsi     # 0x8b708
movq %rbx, %rdi
callq 0x416d6
movq %rax, %r15
leaq 0x60(%rsp), %r12
movq %r12, %rdi
callq 0x48a06
movb (%r15), %al
movb (%r12), %cl
movb %cl, (%r15)
movb %al, (%r12)
leaq 0x68(%rsp), %r13
movq 0x8(%r15), %rax
movq (%r13), %rcx
movq %rcx, 0x8(%r15)
movq %rax, (%r13)
movq %r15, %rdi
callq 0x48a06
movq %r12, %rdi
callq 0x48a06
movzbl -0x8(%r13), %esi
movq %r13, %rdi
callq 0x48aa8
leaq 0x20(%r14), %rsi
leaq 0x50(%rsp), %rdi
callq 0x72ef8
leaq 0x116b6(%rip), %rsi     # 0x8b70f
movq %rbx, %rdi
callq 0x416d6
movq %rax, %r15
leaq 0x50(%rsp), %r12
movq %r12, %rdi
callq 0x48a06
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 0x48a06
movq %r12, %rdi
callq 0x48a06
movzbl -0x8(%r13), %esi
movq %r13, %rdi
callq 0x48aa8
leaq 0x60(%r14), %rsi
leaq 0x40(%rsp), %rdi
callq 0x72ef8
leaq 0x11652(%rip), %rsi     # 0x8b718
movq %rbx, %rdi
callq 0x416d6
movq %rax, %r15
leaq 0x40(%rsp), %r12
movq %r12, %rdi
callq 0x48a06
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 0x48a06
movq %r12, %rdi
callq 0x48a06
movzbl -0x8(%r13), %esi
movq %r13, %rdi
callq 0x48aa8
leaq 0x30(%rsp), %r15
movb $0x0, (%r15)
movq $0x0, 0x8(%r15)
movsd 0x80(%r14), %xmm0
movb $0x7, (%r15)
movsd %xmm0, 0x8(%rsp)
movq 0x8(%rsp), %rax
movq %rax, 0x8(%r15)
movq %r15, %rdi
callq 0x48a06
movq %r15, %rdi
callq 0x48a06
leaq 0xa8ae(%rip), %rsi      # 0x84a10
movq %rbx, %rdi
callq 0x416d6
movq %rax, %r15
leaq 0x38(%rsp), %r12
leaq 0x30(%rsp), %r13
movq %r13, %rdi
callq 0x48a06
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 0x48a06
movq %r13, %rdi
callq 0x48a06
movzbl (%r13), %esi
movq %r12, %rdi
callq 0x48aa8
leaq 0x20(%rsp), %r15
movb $0x0, (%r15)
movq $0x0, 0x8(%r15)
movsd 0x88(%r14), %xmm0
movb $0x7, (%r15)
movsd %xmm0, 0x8(%rsp)
movq 0x8(%rsp), %rax
movq %rax, 0x8(%r15)
movq %r15, %rdi
callq 0x48a06
movq %r15, %rdi
callq 0x48a06
leaq 0x1152c(%rip), %rsi     # 0x8b72a
movq %rbx, %rdi
callq 0x416d6
movq %rax, %r15
leaq 0x28(%rsp), %r12
leaq 0x20(%rsp), %r13
movq %r13, %rdi
callq 0x48a06
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 0x48a06
movq %r13, %rdi
callq 0x48a06
movzbl (%r13), %esi
movq %r12, %rdi
callq 0x48aa8
movq 0x18(%r14), %rsi
testq %rsi, %rsi
je 0x7a2c8
movq (%rsi), %rax
leaq 0x10(%rsp), %rdi
callq *0x28(%rax)
leaq 0xa999(%rip), %rsi      # 0x84c0a
movq %rbx, %rdi
callq 0x416d6
movq %rax, %r14
leaq 0x10(%rsp), %r15
movq %r15, %rdi
callq 0x48a06
movb (%r14), %al
movb (%r15), %cl
movb %cl, (%r14)
movb %al, (%r15)
leaq 0x18(%rsp), %r12
movq 0x8(%r14), %rax
movq (%r12), %rcx
movq %rcx, 0x8(%r14)
movq %rax, (%r12)
movq %r14, %rdi
callq 0x48a06
movq %r15, %rdi
callq 0x48a06
movzbl -0x8(%r12), %esi
movq %r12, %rdi
callq 0x48aa8
movq %rbx, %rax
addq $0x70, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq %rax, %r14
leaq 0x10(%rsp), %rdi
jmp 0x7a313
movq %rax, %r14
leaq 0x20(%rsp), %rdi
jmp 0x7a313
movq %rax, %r14
leaq 0x30(%rsp), %rdi
jmp 0x7a313
movq %rax, %r14
leaq 0x40(%rsp), %rdi
jmp 0x7a313
movq %rax, %r14
leaq 0x50(%rsp), %rdi
jmp 0x7a313
movq %rax, %r14
leaq 0x60(%rsp), %rdi
callq 0x4191c
jmp 0x7a31d
movq %rax, %r14
movq %rbx, %rdi
callq 0x4191c
movq %r14, %rdi
callq 0x3a780
nop