// File: /workspace/github_cpp_makefile_star2_O1/carlos-urena[P]svg-gen/figures.cpp
// Function: Figure10_PSA_lune::Figure10_PSA_lune()
Figure10_PSA_lune::Figure10_PSA_lune()
{
   // configure base class

   disk_center = vec3( 3.0, -1.0, 0.0 );
   disk_radius = 5.0 ;
   draw_projectors = false ;

   // create original disk
   const vec3
      disk_center_norm = disk_center.normalized(),
      disk_axis_1      = disk_center.cross( {0.0,1.0,0.0} ).normalized(),
      disk_axis_2      = disk_axis_1.cross( disk_center_norm  ).normalized() ;

   original_pol = new Ellipse( 256, disk_center, disk_radius*disk_axis_1,
                                                 disk_radius*disk_axis_2 );

   // initilize base class
   initialize();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x58, %rsp
movq %rdi, %rbx
callq 0xa55a
leaq 0x88(%rbx), %r14
movapd 0x75f2(%rip), %xmm0     # 0xd0c0
movupd %xmm0, 0x88(%rbx)
movb $0x0, 0x98(%rbx)
xorpd %xmm0, %xmm0
movl $0x22, %eax
xorps %xmm1, %xmm1
cvtss2sd (%rbx,%rax,4), %xmm1
mulsd %xmm1, %xmm1
addsd %xmm1, %xmm0
incq %rax
cmpq $0x25, %rax
jne 0x5ae6
cvtsd2ss %xmm0, %xmm0
xorpd %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jb 0x5b12
sqrtss %xmm0, %xmm0
jmp 0x5b17
callq 0x32d0
xorl %eax, %eax
movss 0x88(%rbx,%rax,4), %xmm1
divss %xmm0, %xmm1
movss %xmm1, -0x28(%rbp,%rax,4)
incq %rax
cmpq $0x3, %rax
jne 0x5b19
movsd -0x28(%rbp), %xmm6
movss -0x20(%rbp), %xmm7
movss 0x88(%rbx), %xmm0
movss 0x90(%rbx), %xmm1
xorps %xmm2, %xmm2
movss 0x8c(%rbx), %xmm3
mulss %xmm2, %xmm3
movss 0x74d6(%rip), %xmm4     # 0xd03c
mulss %xmm0, %xmm4
subss %xmm3, %xmm0
subss %xmm1, %xmm3
mulss %xmm2, %xmm1
addss %xmm4, %xmm1
unpcklps %xmm1, %xmm3            # xmm3 = xmm3[0],xmm1[0],xmm3[1],xmm1[1]
movlps %xmm3, -0x38(%rbp)
movss %xmm0, -0x30(%rbp)
xorps %xmm0, %xmm0
xorl %eax, %eax
xorps %xmm1, %xmm1
cvtss2sd -0x38(%rbp,%rax,4), %xmm1
mulsd %xmm1, %xmm1
addsd %xmm1, %xmm0
incq %rax
cmpq $0x3, %rax
jne 0x5b8b
cvtsd2ss %xmm0, %xmm0
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jb 0x5bb7
sqrtss %xmm0, %xmm0
jmp 0x5bce
movaps %xmm6, -0x70(%rbp)
movss %xmm7, -0x4c(%rbp)
callq 0x32d0
movss -0x4c(%rbp), %xmm7
movaps -0x70(%rbp), %xmm6
xorl %eax, %eax
movss -0x38(%rbp,%rax,4), %xmm1
divss %xmm0, %xmm1
movss %xmm1, -0x28(%rbp,%rax,4)
incq %rax
cmpq $0x3, %rax
jne 0x5bd0
movaps %xmm6, %xmm0
shufps $0x55, %xmm6, %xmm0     # xmm0 = xmm0[1,1],xmm6[1,1]
movsd -0x28(%rbp), %xmm1
movss -0x20(%rbp), %xmm2
movss %xmm1, -0x58(%rbp)
movaps %xmm1, %xmm3
shufps $0x55, %xmm1, %xmm3     # xmm3 = xmm3[1,1],xmm1[1,1]
movss %xmm3, -0x54(%rbp)
movss %xmm2, -0x50(%rbp)
movaps %xmm0, %xmm4
mulss %xmm2, %xmm4
movaps %xmm3, %xmm5
mulss %xmm7, %xmm5
subss %xmm4, %xmm5
mulss %xmm1, %xmm7
mulss %xmm6, %xmm2
subss %xmm7, %xmm2
unpcklps %xmm2, %xmm5            # xmm5 = xmm5[0],xmm2[0],xmm5[1],xmm2[1]
mulss %xmm6, %xmm3
mulss %xmm1, %xmm0
subss %xmm3, %xmm0
movlps %xmm5, -0x48(%rbp)
movss %xmm0, -0x40(%rbp)
xorps %xmm0, %xmm0
xorl %eax, %eax
xorps %xmm1, %xmm1
cvtss2sd -0x48(%rbp,%rax,4), %xmm1
mulsd %xmm1, %xmm1
addsd %xmm1, %xmm0
incq %rax
cmpq $0x3, %rax
jne 0x5c4b
cvtsd2ss %xmm0, %xmm0
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jb 0x5c77
sqrtss %xmm0, %xmm0
jmp 0x5c7c
callq 0x32d0
xorl %eax, %eax
movss -0x48(%rbp,%rax,4), %xmm1
divss %xmm0, %xmm1
movss %xmm1, -0x28(%rbp,%rax,4)
incq %rax
cmpq $0x3, %rax
jne 0x5c7e
movsd -0x28(%rbp), %xmm0
movss -0x20(%rbp), %xmm1
movss %xmm0, -0x38(%rbp)
shufps $0x55, %xmm0, %xmm0     # xmm0 = xmm0[1,1,1,1]
movss %xmm0, -0x34(%rbp)
movss %xmm1, -0x30(%rbp)
movl $0x98, %edi
callq 0x31d0
movq %rax, %r15
movss 0x94(%rbx), %xmm0
xorl %eax, %eax
movss -0x58(%rbp,%rax,4), %xmm1
mulss %xmm0, %xmm1
movss %xmm1, -0x28(%rbp,%rax,4)
incq %rax
cmpq $0x3, %rax
jne 0x5ccb
movsd -0x28(%rbp), %xmm1
movss -0x20(%rbp), %xmm2
movsd %xmm1, -0x48(%rbp)
movss %xmm2, -0x40(%rbp)
xorl %eax, %eax
movss -0x38(%rbp,%rax,4), %xmm1
mulss %xmm0, %xmm1
movss %xmm1, -0x28(%rbp,%rax,4)
incq %rax
cmpq $0x3, %rax
jne 0x5cfa
movsd -0x28(%rbp), %xmm0
movss -0x20(%rbp), %xmm1
leaq -0x48(%rbp), %rcx
movq %r15, %rdi
movl $0x100, %esi            # imm = 0x100
movq %r14, %rdx
callq 0x8636
movq %r15, 0xa0(%rbx)
movq %rbx, %rdi
callq 0x4f5c
addq $0x58, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movq %r15, %rdi
callq 0x31a0
jmp 0x5d5b
movq %rax, %r14
leaq 0x70(%rbx), %rdi
callq 0x5d78
addq $0x30, %rbx
movq %rbx, %rdi
callq 0xbe42
movq %r14, %rdi
callq 0x32b0