// File: /workspace/github_cpp_makefile_star2_O1/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 %r12
pushq %rbx
subq $0x30, %rsp
movss %xmm0, -0x24(%rbp)
movq %rdi, %rbx
movb $0x0, 0x8(%rdi)
xorps %xmm0, %xmm0
movups %xmm0, 0x20(%rdi)
xorl %eax, %eax
movq %rax, 0x30(%rdi)
leaq 0x8107(%rip), %rcx      # 0x119b0
movq %rcx, (%rdi)
movq %rax, -0x30(%rbp)
movl $0x0, -0x28(%rbp)
testl %esi, %esi
je 0x99d5
movl $0x98, %edi
callq 0x31d0
movq %rax, %r15
leaq -0x48(%rbp), %rdx
movq $0x3f800000, (%rdx)     # imm = 0x3F800000
movl $0x0, 0x8(%rdx)
movabsq $0x3f3333333f800000, %rax # imm = 0x3F3333333F800000
leaq -0x3c(%rbp), %rcx
movq %rax, (%rcx)
movl $0x3f333333, 0x8(%rcx)  # imm = 0x3F333333
movb $0x1, %r12b
leaq -0x30(%rbp), %rsi
movq %r15, %rdi
movss -0x24(%rbp), %xmm0
callq 0x8322
xorl %r12d, %r12d
movq %rbx, %rdi
movq %r15, %rsi
callq 0x7568
movl $0x98, %edi
callq 0x31d0
movq %rax, %r15
leaq -0x48(%rbp), %rdx
movq $0x0, (%rdx)
movl $0xbf800000, 0x8(%rdx)  # imm = 0xBF800000
movabsq $0x3f3333333f19999a, %rax # imm = 0x3F3333333F19999A
leaq -0x3c(%rbp), %rcx
movq %rax, (%rcx)
movl $0x3f19999a, 0x8(%rcx)  # imm = 0x3F19999A
movb $0x1, %r12b
leaq -0x30(%rbp), %rsi
movq %r15, %rdi
movss -0x24(%rbp), %xmm0
callq 0x8322
xorl %r12d, %r12d
movq %rbx, %rdi
movq %r15, %rsi
callq 0x7568
movl $0x98, %edi
callq 0x31d0
movq %rax, %r15
movabsq $0x3f80000000000000, %rax # imm = 0x3F80000000000000
leaq -0x48(%rbp), %rdx
movq %rax, (%rdx)
movl $0x0, 0x8(%rdx)
movabsq $0x3f3333333f333333, %rax # imm = 0x3F3333333F333333
leaq -0x3c(%rbp), %rcx
movq %rax, (%rcx)
movl $0x3f800000, 0x8(%rcx)  # imm = 0x3F800000
movb $0x1, %r12b
leaq -0x30(%rbp), %rsi
movq %r15, %rdi
movss -0x24(%rbp), %xmm0
callq 0x8322
xorl %r12d, %r12d
movq %rbx, %rdi
movq %r15, %rsi
callq 0x7568
jmp 0x9ac2
movl $0x98, %edi
callq 0x31d0
movq %rax, %r15
movl $0x3f800000, %eax       # imm = 0x3F800000
leaq -0x48(%rbp), %rdx
movq %rax, (%rdx)
xorl %esi, %esi
movl %esi, 0x8(%rdx)
leaq -0x3c(%rbp), %rcx
movq %rax, (%rcx)
movl %esi, 0x8(%rcx)
movb $0x1, %r12b
leaq -0x30(%rbp), %rsi
movq %r15, %rdi
movss -0x24(%rbp), %xmm0
callq 0x8322
xorl %r12d, %r12d
movq %rbx, %rdi
movq %r15, %rsi
callq 0x7568
movl $0x98, %edi
callq 0x31d0
movq %rax, %r15
movabsq $0x3f80000000000000, %rax # imm = 0x3F80000000000000
leaq -0x48(%rbp), %rdx
movq %rax, (%rdx)
xorl %eax, %eax
movl %eax, 0x8(%rdx)
movabsq $0x3f00000000000000, %rsi # imm = 0x3F00000000000000
leaq -0x3c(%rbp), %rcx
movq %rsi, (%rcx)
movl %eax, 0x8(%rcx)
movb $0x1, %r12b
leaq -0x30(%rbp), %rsi
movq %r15, %rdi
movss -0x24(%rbp), %xmm0
callq 0x8322
xorl %r12d, %r12d
movq %rbx, %rdi
movq %r15, %rsi
callq 0x7568
movl $0x98, %edi
callq 0x31d0
movq %rax, %r15
xorl %eax, %eax
leaq -0x48(%rbp), %rdx
movq %rax, (%rdx)
movl $0x3f800000, %esi       # imm = 0x3F800000
movl %esi, 0x8(%rdx)
leaq -0x3c(%rbp), %rcx
movq %rax, (%rcx)
movl %esi, 0x8(%rcx)
movb $0x1, %r12b
leaq -0x30(%rbp), %rsi
movq %r15, %rdi
movss -0x24(%rbp), %xmm0
callq 0x8322
xorl %r12d, %r12d
movq %rbx, %rdi
movq %r15, %rsi
callq 0x7568
addq $0x30, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
jmp 0x9ad9
jmp 0x9ad9
jmp 0x9ad9
jmp 0x9ad9
jmp 0x9ad9
movq %rax, %r14
testb %r12b, %r12b
je 0x9aee
movq %r15, %rdi
callq 0x31a0
jmp 0x9aee
movq %rax, %r14
leaq 0x7c9b(%rip), %rax      # 0x11790
movq %rax, (%rbx)
movq 0x20(%rbx), %rdi
testq %rdi, %rdi
je 0x9b06
callq 0x31a0
movq %r14, %rdi
callq 0x32b0