// File: 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
subq $0x240, %rsp            # imm = 0x240
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x158(%rbp)
callq 0x8f20
movl $0x40400000, -0x18(%rbp) # imm = 0x40400000
movl $0x40400000, -0x1c(%rbp) # imm = 0x40400000
movl $0x0, -0x20(%rbp)
leaq -0x14(%rbp), %rdi
leaq -0x18(%rbp), %rsi
leaq -0x1c(%rbp), %rdx
leaq -0x20(%rbp), %rcx
callq 0x8c30
jmp 0x7b8b
movq -0x158(%rbp), %rax
movq %rax, %rdi
addq $0x88, %rdi
movl -0xc(%rbp), %ecx
movl %ecx, 0x90(%rax)
movq -0x14(%rbp), %rcx
movq %rcx, 0x88(%rax)
movl $0x400ccccd, 0x94(%rax) # imm = 0x400CCCCD
movb $0x1, 0x98(%rax)
movb $0x1, 0x6c(%rax)
callq 0x8ea0
movss %xmm1, -0x174(%rbp)
movaps %xmm0, -0x170(%rbp)
jmp 0x7bdb
movss -0x174(%rbp), %xmm0
movaps -0x170(%rbp), %xmm1
movlpd %xmm1, -0x58(%rbp)
movss %xmm0, -0x50(%rbp)
movl -0x50(%rbp), %eax
movl %eax, -0x40(%rbp)
movq -0x58(%rbp), %rax
movq %rax, -0x48(%rbp)
leaq -0x38(%rbp), %rdi
leaq -0x48(%rbp), %rsi
callq 0x8e00
jmp 0x7c11
movq -0x158(%rbp), %rax
addq $0x88, %rax
movq %rax, -0x180(%rbp)
movl $0x0, -0x90(%rbp)
movl $0x3f800000, -0x94(%rbp) # imm = 0x3F800000
movl $0x0, -0x98(%rbp)
leaq -0x8c(%rbp), %rdi
leaq -0x90(%rbp), %rsi
leaq -0x94(%rbp), %rdx
leaq -0x98(%rbp), %rcx
callq 0x8c30
jmp 0x7c66
movq -0x180(%rbp), %rdi
leaq -0x8c(%rbp), %rsi
callq 0x8f70
movss %xmm1, -0x194(%rbp)
movaps %xmm0, -0x190(%rbp)
jmp 0x7c8a
movss -0x194(%rbp), %xmm0
movaps -0x190(%rbp), %xmm1
movlpd %xmm1, -0xa8(%rbp)
movss %xmm0, -0xa0(%rbp)
movl -0xa0(%rbp), %eax
movl %eax, -0x78(%rbp)
movq -0xa8(%rbp), %rax
movq %rax, -0x80(%rbp)
leaq -0x80(%rbp), %rdi
callq 0x8ea0
movss %xmm1, -0x1b4(%rbp)
movaps %xmm0, -0x1b0(%rbp)
jmp 0x7cd7
movss -0x1b4(%rbp), %xmm0
movaps -0x1b0(%rbp), %xmm1
movlpd %xmm1, -0xb8(%rbp)
movss %xmm0, -0xb0(%rbp)
movl -0xb0(%rbp), %eax
movl %eax, -0x68(%rbp)
movq -0xb8(%rbp), %rax
movq %rax, -0x70(%rbp)
leaq -0x64(%rbp), %rdi
leaq -0x70(%rbp), %rsi
callq 0x8e00
jmp 0x7d19
leaq -0x64(%rbp), %rdi
leaq -0x38(%rbp), %rsi
callq 0x8f70
movss %xmm1, -0x1d4(%rbp)
movaps %xmm0, -0x1d0(%rbp)
jmp 0x7d37
movss -0x1d4(%rbp), %xmm0
movaps -0x1d0(%rbp), %xmm1
movlpd %xmm1, -0xf0(%rbp)
movss %xmm0, -0xe8(%rbp)
movl -0xe8(%rbp), %eax
movl %eax, -0xd8(%rbp)
movq -0xf0(%rbp), %rax
movq %rax, -0xe0(%rbp)
leaq -0xe0(%rbp), %rdi
callq 0x8ea0
movss %xmm1, -0x1f4(%rbp)
movaps %xmm0, -0x1f0(%rbp)
jmp 0x7d8d
movss -0x1f4(%rbp), %xmm0
movaps -0x1f0(%rbp), %xmm1
movlpd %xmm1, -0x100(%rbp)
movss %xmm0, -0xf8(%rbp)
movl -0xf8(%rbp), %eax
movl %eax, -0xc8(%rbp)
movq -0x100(%rbp), %rax
movq %rax, -0xd0(%rbp)
leaq -0xc4(%rbp), %rdi
leaq -0xd0(%rbp), %rsi
callq 0x8e00
jmp 0x7ddb
movl $0x98, %edi
callq 0x31b0
movq %rax, -0x200(%rbp)
jmp 0x7dee
movq -0x158(%rbp), %rax
movq %rax, %rcx
addq $0x88, %rcx
movq %rcx, -0x220(%rbp)
movss 0x94(%rax), %xmm0
leaq -0x64(%rbp), %rdi
callq 0x8cf0
movss %xmm1, -0x214(%rbp)
movaps %xmm0, -0x210(%rbp)
jmp 0x7e28
movq -0x158(%rbp), %rax
movss -0x214(%rbp), %xmm0
movaps -0x210(%rbp), %xmm1
movlpd %xmm1, -0x120(%rbp)
movss %xmm0, -0x118(%rbp)
movl -0x118(%rbp), %ecx
movl %ecx, -0x108(%rbp)
movq -0x120(%rbp), %rcx
movq %rcx, -0x110(%rbp)
movss 0x94(%rax), %xmm0
leaq -0xc4(%rbp), %rdi
callq 0x8cf0
movss %xmm1, -0x234(%rbp)
movaps %xmm0, -0x230(%rbp)
jmp 0x7e8d
movq -0x220(%rbp), %rdx
movq -0x200(%rbp), %rdi
movss -0x234(%rbp), %xmm0
movaps -0x230(%rbp), %xmm1
movlpd %xmm1, -0x140(%rbp)
movss %xmm0, -0x138(%rbp)
movl -0x138(%rbp), %eax
movl %eax, -0x128(%rbp)
movq -0x140(%rbp), %rax
movq %rax, -0x130(%rbp)
movl -0x128(%rbp), %eax
movl %eax, -0x148(%rbp)
movq -0x130(%rbp), %rax
movq %rax, -0x150(%rbp)
movsd -0x150(%rbp), %xmm0
movss -0x148(%rbp), %xmm1
movl $0x100, %esi            # imm = 0x100
leaq -0x110(%rbp), %rcx
callq 0xcd30
jmp 0x7f11
movq -0x158(%rbp), %rdi
movq -0x200(%rbp), %rax
movq %rax, 0xa0(%rdi)
callq 0x7570
jmp 0x7f2d
addq $0x240, %rsp            # imm = 0x240
popq %rbp
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
jmp 0x7f5c
movq -0x200(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
callq 0x3190
movq -0x158(%rbp), %rdi
callq 0x9120
movq -0x28(%rbp), %rdi
callq 0x3280
nopw %cs:(%rax,%rax)