// File: /workspace/github_cpp_makefile_star2_O3/carlos-urena[P]svg-gen/svgobjects.cpp
// Function: Axes::Axes(float, bool)
Axes::Axes( real widthl, bool flip   )  // widthl = width de línea
{
  vec3 o = vec3(0.0,0.0,0.0);

  if ( flip )  // draw X and Y in the horizontal plane
  {
    add( new Segment( o, vec3(1.0,0.0,0.0),  vec3(1.0,0.7,0.7), widthl ) );
    add( new Segment( o, vec3(0.0,0.0,-1.0), vec3(0.6,0.7,0.6), widthl ) );
    add( new Segment( o, vec3(0.0,1.0,0.0),  vec3(0.7,0.7,1.0), widthl ) );
  }
  else
  {
    add( new Segment( o, vec3(1.0,0.0,0.0), vec3(1.0,0.0,0.0), widthl ) );
    add( new Segment( o, vec3(0.0,1.0,0.0), vec3(0.0,0.5,0.0), widthl ) );
    add( new Segment( o, vec3(0.0,0.0,1.0), vec3(0.0,0.0,1.0), widthl ) );
  }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x28, %rsp
movss %xmm0, -0x1c(%rbp)
movq %rdi, %rbx
movb $0x0, 0x8(%rdi)
xorps %xmm0, %xmm0
movups %xmm0, 0x20(%rdi)
xorl %eax, %eax
movq %rax, 0x30(%rdi)
leaq 0x8217(%rip), %rcx      # 0x119b0
movq %rcx, (%rdi)
movq %rax, -0x28(%rbp)
movl $0x0, -0x20(%rbp)
testl %esi, %esi
je 0x98b3
movl $0x98, %edi
callq 0x31d0
movq %rax, %r15
leaq -0x40(%rbp), %rdx
movq $0x3f800000, (%rdx)     # imm = 0x3F800000
movl $0x0, 0x8(%rdx)
movabsq $0x3f3333333f800000, %rax # imm = 0x3F3333333F800000
leaq -0x34(%rbp), %rcx
movq %rax, (%rcx)
movl $0x3f333333, 0x8(%rcx)  # imm = 0x3F333333
leaq -0x28(%rbp), %rsi
movq %r15, %rdi
movss -0x1c(%rbp), %xmm0
callq 0x82c8
movq %rbx, %rdi
movq %r15, %rsi
callq 0x7554
movl $0x98, %edi
callq 0x31d0
movq %rax, %r15
leaq -0x40(%rbp), %rdx
movq $0x0, (%rdx)
movl $0xbf800000, 0x8(%rdx)  # imm = 0xBF800000
movabsq $0x3f3333333f19999a, %rax # imm = 0x3F3333333F19999A
leaq -0x34(%rbp), %rcx
movq %rax, (%rcx)
movl $0x3f19999a, 0x8(%rcx)  # imm = 0x3F19999A
leaq -0x28(%rbp), %rsi
movq %r15, %rdi
movss -0x1c(%rbp), %xmm0
callq 0x82c8
movq %rbx, %rdi
movq %r15, %rsi
callq 0x7554
movl $0x98, %edi
callq 0x31d0
movq %rax, %r15
movabsq $0x3f80000000000000, %rax # imm = 0x3F80000000000000
leaq -0x40(%rbp), %rdx
movq %rax, (%rdx)
movl $0x0, 0x8(%rdx)
movabsq $0x3f3333333f333333, %rax # imm = 0x3F3333333F333333
leaq -0x34(%rbp), %rcx
movq %rax, (%rcx)
movl $0x3f800000, 0x8(%rcx)  # imm = 0x3F800000
leaq -0x28(%rbp), %rsi
movq %r15, %rdi
movss -0x1c(%rbp), %xmm0
callq 0x82c8
movq %rbx, %rdi
movq %r15, %rsi
callq 0x7554
jmp 0x998e
movl $0x98, %edi
callq 0x31d0
movq %rax, %r15
movl $0x3f800000, %eax       # imm = 0x3F800000
leaq -0x40(%rbp), %rdx
movq %rax, (%rdx)
xorl %esi, %esi
movl %esi, 0x8(%rdx)
leaq -0x34(%rbp), %rcx
movq %rax, (%rcx)
movl %esi, 0x8(%rcx)
leaq -0x28(%rbp), %rsi
movq %r15, %rdi
movss -0x1c(%rbp), %xmm0
callq 0x82c8
movq %rbx, %rdi
movq %r15, %rsi
callq 0x7554
movl $0x98, %edi
callq 0x31d0
movq %rax, %r15
movabsq $0x3f80000000000000, %rax # imm = 0x3F80000000000000
leaq -0x40(%rbp), %rdx
movq %rax, (%rdx)
xorl %eax, %eax
movl %eax, 0x8(%rdx)
movabsq $0x3f00000000000000, %rsi # imm = 0x3F00000000000000
leaq -0x34(%rbp), %rcx
movq %rsi, (%rcx)
movl %eax, 0x8(%rcx)
leaq -0x28(%rbp), %rsi
movq %r15, %rdi
movss -0x1c(%rbp), %xmm0
callq 0x82c8
movq %rbx, %rdi
movq %r15, %rsi
callq 0x7554
movl $0x98, %edi
callq 0x31d0
movq %rax, %r15
xorl %eax, %eax
leaq -0x40(%rbp), %rdx
movq %rax, (%rdx)
movl $0x3f800000, %esi       # imm = 0x3F800000
movl %esi, 0x8(%rdx)
leaq -0x34(%rbp), %rcx
movq %rax, (%rcx)
movl %esi, 0x8(%rcx)
leaq -0x28(%rbp), %rsi
movq %r15, %rdi
movss -0x1c(%rbp), %xmm0
callq 0x82c8
movq %rbx, %rdi
movq %r15, %rsi
callq 0x7554
addq $0x28, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
jmp 0x99bc
jmp 0x99bc
jmp 0x99af
jmp 0x99af
jmp 0x99bc
jmp 0x99bc
jmp 0x99af
jmp 0x99af
jmp 0x99bc
jmp 0x99bc
jmp 0x99af
movq %rax, %r14
movq %r15, %rdi
callq 0x31a0
jmp 0x99bf
movq %rax, %r14
leaq 0x7dca(%rip), %rax      # 0x11790
movq %rax, (%rbx)
movq 0x20(%rbx), %rdi
testq %rdi, %rdi
je 0x99d7
callq 0x31a0
movq %r14, %rdi
callq 0x32b0
nop