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

   disk_center = vec3( 3.0, 3.0, 0.0 );
   disk_radius = 2.2 ;
   draw_projectors = true ;
   flip_axes = true ;

   // 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 0x7e38(%rip), %xmm0     # 0xd090
movupd %xmm0, 0x88(%rbx)
movb $0x1, %al
movb %al, 0x98(%rbx)
movb %al, 0x6c(%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 0x5274
cvtsd2ss %xmm0, %xmm0
xorpd %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jb 0x52a0
sqrtss %xmm0, %xmm0
jmp 0x52a5
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 0x52a7
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 0x7d48(%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 0x5319
cvtsd2ss %xmm0, %xmm0
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jb 0x5345
sqrtss %xmm0, %xmm0
jmp 0x535c
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 0x535e
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 0x53d9
cvtsd2ss %xmm0, %xmm0
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jb 0x5405
sqrtss %xmm0, %xmm0
jmp 0x540a
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 0x540c
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 0x5459
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 0x5488
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 0x54e9
movq %rax, %r14
leaq 0x70(%rbx), %rdi
callq 0x5d78
addq $0x30, %rbx
movq %rbx, %rdi
callq 0xbe42
movq %r14, %rdi
callq 0x32b0